Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c257 static void setMode(bool on, uint8_t state) in setMode() function
294 setMode(newMode, (on ? STATE_ENABLING_BARO : STATE_DISABLING_BARO)); in sensorPowerBaro()
358 setMode(newMode, (on ? STATE_ENABLING_TEMP : STATE_DISABLING_TEMP)); in sensorPowerTemp()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c305 static void setMode(bool alsOn, bool proxOn, uint8_t state) in setMode() function
333 setMode(on, mData.proxOn, (on ? SENSOR_STATE_ENABLING_ALS : SENSOR_STATE_DISABLING_ALS)); in sensorPowerAls()
388 setMode(mData.alsOn, on, (on ? SENSOR_STATE_ENABLING_PROX : SENSOR_STATE_DISABLING_PROX)); in sensorPowerProx()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c371 static void setMode(bool alsOn, bool proxOn, uint8_t state) in setMode() function
400 setMode(on, mTask.proxOn, (on ? SENSOR_STATE_ENABLING_ALS : SENSOR_STATE_DISABLING_ALS)); in sensorPowerAls()
450 setMode(mTask.alsOn, on, (on ? SENSOR_STATE_ENABLING_PROX : SENSOR_STATE_DISABLING_PROX)); in sensorPowerProx()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c468 static void setMode(bool alsOn, bool proxOn, uint8_t state) in setMode() function
496 setMode(on, mTask.proxOn, (on) ? SENSOR_STATE_ENABLING_ALS : SENSOR_STATE_DISABLING_ALS); in sensorPowerAls()
583 setMode(mTask.alsOn, on, (on) ? SENSOR_STATE_ENABLING_PROX : SENSOR_STATE_DISABLING_PROX); in sensorPowerProx()