Searched refs:SENSOR_IDLE (Results 1 – 5 of 5) sorted by relevance
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 181 SENSOR_IDLE, enumerator 288 bool ret = atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState() 289 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); in trySwitchState() 294 return atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState() 753 case SENSOR_IDLE: in st_acc44_handleCommDoneEvt() 761 SET_STATE(SENSOR_IDLE); in st_acc44_handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 91 SENSOR_IDLE, enumerator 275 bool ret = atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState() 276 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); in trySwitchState() 281 return atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState() 952 case SENSOR_IDLE: in handleCommDoneEvt() 960 SET_STATE(SENSOR_IDLE); in handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 496 SENSOR_IDLE, enumerator 760 bool ret = atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); 761 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); 766 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); 3069 SET_STATE(SENSOR_IDLE);
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 392 SENSOR_IDLE, enumerator 727 bool ret = atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); 728 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); 733 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); 3671 SET_STATE(SENSOR_IDLE);
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 530 SENSOR_IDLE, enumerator 954 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); in trySwitchState_() 4069 SET_STATE(SENSOR_IDLE); in lsm6dsm_processPendingEvt()
|