Searched refs:GET_STATE (Results 1 – 5 of 5) sorted by relevance
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 278 #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/ |
D | bosch_bmi160.c | 709 #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/ |
D | st_mag40.c | 264 #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/ |
D | invensense_icm40600.c | 749 #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/ |
D | st_lsm6dsm.c | 944 #define GET_STATE() (atomicReadByte(&(_task->state))) macro 4589 switch (GET_STATE()) { in lsm6dsm_handleSpiDoneEvt()
|