Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
Dsensors.c31 #define SENSOR_RATE_OFF 0x00000000UL /* used in sensor state machine */ macro
141 s->currentRate = SENSOR_RATE_OFF; in sensorRegisterEx()
378 else if (s->currentRate == SENSOR_RATE_OFF) { in sensorReconfig()
393 else if (newHwRate > SENSOR_RATE_OFF || newHwLatency < SENSOR_LATENCY_INVALID) { in sensorReconfig()
452 removedRate = SENSOR_RATE_OFF; in sensorCalcHwRate()
472 return SENSOR_RATE_OFF; in sensorCalcHwRate()
523 s->currentRate = SENSOR_RATE_OFF; in sensorInternalPowerStateChanged()
542 if (s && s->currentRate != SENSOR_RATE_OFF && s->currentRate < SENSOR_RATE_POWERING_ON) { in sensorInternalRateChanged()
647 req->rate = SENSOR_RATE_OFF; in sensorDeleteRequestor()
808 return s ? s->currentRate : SENSOR_RATE_OFF; in sensorGetCurRate()