Searched refs:sensorCalcHwRate (Results 1 – 1 of 1) sorted by relevance
/device/google/contexthub/firmware/os/core/ |
D | sensors.c | 402 static uint32_t sensorCalcHwRate(struct Sensor* s, uint32_t extraReqedRate, uint32_t removedRate) in sensorCalcHwRate() function 483 sensorReconfig(s, sensorCalcHwRate(s, 0, 0), sensorCalcHwLatency(s)); in sensorInternalFwStateChanged() 529 sensorReconfig(s, sensorCalcHwRate(s, 0, 0), sensorCalcHwLatency(s)); in sensorInternalRateChanged() 648 newSensorRate = sensorCalcHwRate(s, rate, 0); in sensorRequest() 688 newSensorRate = sensorCalcHwRate(s, newRate, oldRate); in sensorRequestRateChange() 719 sensorReconfig(s, sensorCalcHwRate(s, 0, 0), sensorCalcHwLatency(s)); in sensorRelease() 733 sensorReconfig(s, sensorCalcHwRate(s, 0, 0), sensorCalcHwLatency(s)); in sensorFreeAll() 822 return s ? sensorCalcHwRate(s, 0, 0) : SENSOR_RATE_OFF; in sensorGetHwRate()
|