Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c278 #define GET_STATE() (atomicReadByte(&mTask.state)) macro
289 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); in trySwitchState()
690 switch (GET_STATE()) { in st_acc44_handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c709 #define GET_STATE() (atomicReadByte(&(_task->state))) macro
721 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE();
1287 VERBOSE_PRINT("accPower: on=%d, state=%" PRI_STATE "\n", on, getStateName(GET_STATE()));
1310 VERBOSE_PRINT("gyrPower: on=%d, state=%" PRI_STATE "\n", on, getStateName(GET_STATE()));
1343 VERBOSE_PRINT("magPower: on=%d, state=%" PRI_STATE "\n", on, getStateName(GET_STATE()));
1433 on, mTask.active_oneshot_sensor_cnt, getStateName(GET_STATE()));
1456 on, mTask.active_oneshot_sensor_cnt, getStateName(GET_STATE()));
1574 rate, latency, getStateName(GET_STATE()));
1640 rate, latency, getStateName(GET_STATE()));
1707 rate, latency, getStateName(GET_STATE()));
[all …]
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c264 #define GET_STATE() (atomicReadByte(&mTask.state)) macro
276 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); in trySwitchState()
890 switch (GET_STATE()) { in handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c749 #define GET_STATE() (atomicReadByte(&(_task->state))) macro
761 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE();
2268 …n=%d, state=%" PRI_STATE "\n", mSensorInfo[sensor_type].sensorName, on, getStateName(GET_STATE()));
2293 mSensorInfo[sensor_type].sensorName, rate, latency, getStateName(GET_STATE()));
2938 switch (GET_STATE()) {
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c944 #define GET_STATE() (atomicReadByte(&(_task->state))) macro
4589 switch (GET_STATE()) { in lsm6dsm_handleSpiDoneEvt()