Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dsensors.c362 else if (s->currentRate == SENSOR_RATE_POWERING_OFF) { in sensorReconfig()
377 s->currentRate = SENSOR_RATE_POWERING_OFF; in sensorReconfig()
476 s->currentRate = SENSOR_RATE_POWERING_OFF; in sensorInternalFwStateChanged()
485 else if (s->currentRate == SENSOR_RATE_POWERING_OFF) { //we need to power off in sensorInternalFwStateChanged()
504 else if (s->currentRate == SENSOR_RATE_POWERING_OFF && !evt->value1) { //we're now off in sensorInternalPowerStateChanged()
513 …else if (s->currentRate == SENSOR_RATE_POWERING_OFF && evt->value1) { //we need to power back o… in sensorInternalPowerStateChanged()
/device/google/contexthub/firmware/os/inc/
Dsensors_priv.h64 #define SENSOR_RATE_POWERING_OFF UINT32_C(0xFFFFFFF1) /* used in sensor state machine */ macro