Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c281 #define SET_STATE(s) do{\ macro
692 SET_STATE(SENSOR_VERIFY_ID); in st_acc44_handleCommDoneEvt()
708 SET_STATE(SENSOR_INIT); in st_acc44_handleCommDoneEvt()
761 SET_STATE(SENSOR_IDLE); in st_acc44_handleCommDoneEvt()
775 SET_STATE(SENSOR_BOOT); in st_acc44_handleEvent()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c267 #define SET_STATE(s) do{\ macro
892 SET_STATE(SENSOR_VERIFY_ID); in handleCommDoneEvt()
903 SET_STATE(SENSOR_BOOT); in handleCommDoneEvt()
910 SET_STATE(SENSOR_INITIALIZATION); in handleCommDoneEvt()
960 SET_STATE(SENSOR_IDLE); in handleCommDoneEvt()
972 SET_STATE(SENSOR_BOOT); in handleEvent()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c947 #define SET_STATE(s) \ macro
4069 SET_STATE(SENSOR_IDLE); in lsm6dsm_processPendingEvt()
4591 SET_STATE(SENSOR_VERIFY_WAI); in lsm6dsm_handleSpiDoneEvt()
4604 SET_STATE(SENSOR_BOOT); in lsm6dsm_handleSpiDoneEvt()
4607 SET_STATE(SENSOR_INITIALIZATION); in lsm6dsm_handleSpiDoneEvt()
4754 SET_STATE(SENSOR_INVALID_STATE); in lsm6dsm_handleSpiDoneEvt()
4762 SET_STATE(SENSOR_INT1_OUTPUT_DATA_HANDLING); in lsm6dsm_handleSpiDoneEvt()
4901 SET_STATE(SENSOR_BOOT); in lsm6dsm_handleEvent()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c752 #define SET_STATE(s) do{\ macro
2940 SET_STATE(SENSOR_VERIFY_ID);
2951 SET_STATE(SENSOR_INITIALIZING);
3069 SET_STATE(SENSOR_IDLE);
3098 SET_STATE(SENSOR_BOOT);
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c712 #define SET_STATE(s) do{\ macro
3510 SET_STATE(SENSOR_VERIFY_ID);
3525 SET_STATE(SENSOR_BOOT);
3531 SET_STATE(SENSOR_INITIALIZING);
3664 SET_STATE(SENSOR_IDLE);
3741 SET_STATE(SENSOR_BOOT);