Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dsensors.c110 s->currentRate = SENSOR_RATE_OFF; in sensorRegisterEx()
355 else if (s->currentRate == SENSOR_RATE_OFF) { in sensorReconfig()
370 else if (newHwRate > SENSOR_RATE_OFF || newHwLatency < SENSOR_LATENCY_INVALID) { in sensorReconfig()
429 removedRate = SENSOR_RATE_OFF; in sensorCalcHwRate()
449 return SENSOR_RATE_OFF; in sensorCalcHwRate()
505 s->currentRate = SENSOR_RATE_OFF; in sensorInternalPowerStateChanged()
526 if (s && s->currentRate != SENSOR_RATE_OFF && s->currentRate < SENSOR_RATE_POWERING_ON) { in sensorInternalRateChanged()
622 req->rate = SENSOR_RATE_OFF; in sensorDeleteRequestor()
809 return s ? s->currentRate : SENSOR_RATE_OFF; in sensorGetCurRate()
823 return req ? req->rate : SENSOR_RATE_OFF; in sensorGetReqRate()
Dnanohub_chre.c269 if (s->currentRate == SENSOR_RATE_OFF in osChreSensorGetSamplingStatus()
334 if (sensorGetReqRate(sensorHandle) == SENSOR_RATE_OFF) { in osChreSensorConfigure()
346 else if (sensorGetReqRate(sensorHandle) == SENSOR_RATE_OFF) in osChreSensorConfigure()
351 if (sensorGetReqRate(sensorHandle) != SENSOR_RATE_OFF) { in osChreSensorConfigure()
/device/google/contexthub/firmware/os/inc/
Dsensors_priv.h61 #define SENSOR_RATE_OFF UINT32_C(0x00000000) /* used in sensor state machine */ macro