Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dsensors.c636 uint32_t newSensorRate; in sensorRequest() local
648 newSensorRate = sensorCalcHwRate(s, rate, 0); in sensorRequest()
649 if (newSensorRate == SENSOR_RATE_IMPOSSIBLE) in sensorRequest()
661 sensorReconfig(s, newSensorRate, sensorCalcHwLatency(s)); in sensorRequest()
673 uint32_t oldRate, newSensorRate; in sensorRequestRateChange() local
688 newSensorRate = sensorCalcHwRate(s, newRate, oldRate); in sensorRequestRateChange()
689 if (newSensorRate == SENSOR_RATE_IMPOSSIBLE) in sensorRequestRateChange()
701 sensorReconfig(s, newSensorRate, sensorCalcHwLatency(s)); in sensorRequestRateChange()