Searched refs:atomicCmpXchgByte (Results 1 – 10 of 10) sorted by relevance
/device/google/contexthub/firmware/os/cpu/x86/ |
D | atomic.c | 36 } while (!atomicCmpXchgByte(val, old, old + addend)); in atomicAddByte() 75 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal) in atomicCmpXchgByte() function
|
/device/google/contexthub/firmware/os/inc/ |
D | atomic.h | 30 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal);
|
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | atomic.c | 89 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal) in atomicCmpXchgByte() function
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 288 bool ret = atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState() 294 return atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 275 bool ret = atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState() 281 return atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState()
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | i2c.c | 951 if (atomicCmpXchgByte((uint8_t *)&state->masterState, in i2cMasterTxRx()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 727 bool ret = atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); 733 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); 4331 if (atomicCmpXchgByte(&T(otcGyroUpdateBuffer).lock, false, true)) {
|
/device/google/contexthub/firmware/os/core/ |
D | seos.c | 115 if (atomicCmpXchgByte(&task->flags, flags, newFlags)) in osTaskClrSetFlags()
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 760 bool ret = atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); 766 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState);
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 954 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); in trySwitchState_()
|