Home
last modified time | relevance | path

Searched refs:samplesToDiscard (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c242 uint8_t samplesToDiscard; member
420 mTask.samplesToDiscard = 2; in st_acc44_SetRate()
643 if (mTask.samplesToDiscard > 0) { in parseRawData()
644 if (num_of_smpl > mTask.samplesToDiscard) { in parseRawData()
645 num_of_smpl -= mTask.samplesToDiscard; in parseRawData()
646 mTask.samplesToDiscard = 0; in parseRawData()
648 mTask.samplesToDiscard -= num_of_smpl; in parseRawData()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c219 uint8_t samplesToDiscard; member
489 mTask.samplesToDiscard = 2; in magSetRate()
727 if (mTask.samplesToDiscard > 0) { in parseRawData()
728 mTask.samplesToDiscard--; in parseRawData()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c692 uint8_t samplesToDiscard; member
2457 T(sensors[ACCEL]).samplesToDiscard = LSM6DSMAccelRatesSamplesToDiscard[i] / in lsm6dsm_updateOdrs()
2460 if (T(sensors[ACCEL]).samplesToDiscard == 0) in lsm6dsm_updateOdrs()
2461 T(sensors[ACCEL]).samplesToDiscard = 1; in lsm6dsm_updateOdrs()
2478 T(sensors[GYRO]).samplesToDiscard = LSM6DSMGyroRatesSamplesToDiscard[i]; in lsm6dsm_updateOdrs()
2481 T(sensors[GYRO]).samplesToDiscard += LSM6DSMRatesSamplesToDiscardGyroPowerOn[i]; in lsm6dsm_updateOdrs()
2483 …T(sensors[GYRO]).samplesToDiscard /= (T(sensors[GYRO]).hwRate / (T(fifoCntl).triggerRate / T(fifoC… in lsm6dsm_updateOdrs()
2485 if (T(sensors[GYRO]).samplesToDiscard == 0) in lsm6dsm_updateOdrs()
2486 T(sensors[GYRO]).samplesToDiscard = 1; in lsm6dsm_updateOdrs()
3177 T(sensors[MAGN]).samplesToDiscard = 3; in lsm6dsm_setMagnRate()
[all …]