Home
last modified time | relevance | path

Searched refs:xi (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/inc/variant/nucleo/
Dvariant.h43 int32_t xi = x, yi = y, zi = z; \
44 x = xi; y = yi; z = zi; \
49 int32_t xi = x, yi = y, zi = z; \
50 x = xi; y = -yi; z = -zi; \
/device/google/contexthub/firmware/inc/variant/lunchbox/
Dvariant.h59 int32_t xi = x, yi = y, zi = z; \
60 x = -yi; y = xi; z = zi; \
65 int32_t xi = x, yi = y, zi = z; \
66 x = xi; y = -yi; z = -zi; \
/device/google/contexthub/firmware/src/algos/
Dmag_cal.c256 void magCalRemoveBias(struct MagCal *moc, float xi, float yi, float zi, in magCalRemoveBias() argument
259 *xo = xi - moc->x_bias; in magCalRemoveBias()
274 void magCalRemoveSoftiron(struct MagCal *moc, float xi, float yi, float zi, in magCalRemoveSoftiron() argument
277 *xo = moc->c00 * xi + moc->c01 * yi + moc->c02 * zi; in magCalRemoveSoftiron()
278 *yo = moc->c10 * xi + moc->c11 * yi + moc->c12 * zi; in magCalRemoveSoftiron()
279 *zo = moc->c20 * xi + moc->c21 * yi + moc->c22 * zi; in magCalRemoveSoftiron()
/device/google/contexthub/firmware/inc/algos/
Dmag_cal.h60 void magCalRemoveBias(struct MagCal *moc, float xi, float yi, float zi,
68 void magCalRemoveSoftiron(struct MagCal *moc, float xi, float yi, float zi,
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c1772 float xi, yi, zi; in parseRawData() local
1773 magCalRemoveSoftiron(&mTask.moc, x, y, z, &xi, &yi, &zi); in parseRawData()
1775 newMagBias |= magCalUpdate(&mTask.moc, sensorTime * kSensorTimerIntervalUs, xi, yi, zi); in parseRawData()
1777 magCalRemoveBias(&mTask.moc, xi, yi, zi, &x, &y, &z); in parseRawData()