Home
last modified time | relevance | path

Searched refs:atomicReadByte (Results 1 – 10 of 10) sorted by relevance

/device/google/contexthub/firmware/os/inc/
Datomic.h42 static inline uint32_t atomicReadByte(volatile uint8_t *byte) in atomicReadByte() function
/device/google/contexthub/firmware/os/platform/stm32/
Di2c.c626 if (atomicReadByte(&state->masterState) == STM_I2C_MASTER_START) { in stmI2cMasterSentStart()
642 uint8_t masterState = atomicReadByte(&state->masterState); in stmI2cMasterSentAddr()
665 uint8_t masterState = atomicReadByte(&state->masterState); in stmI2cMasterNakRxed()
891 if (atomicReadByte(&state->masterState) == STM_I2C_MASTER_IDLE) { in i2cMasterRelease()
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c832 if (atomicReadByte(&mTxCurrLength) == 0 && mTxNextLength > 0) { in nanohubPrefetchTx()
839 …atomicWriteByte(&mTxCurrLength, fillBuffer(&mTxCurr, atomicReadByte(&mTxCurrLength), &wakeup, &non… in nanohubPrefetchTx()
846 if (atomicReadByte(&mPrefetchTx)) { in nanohubPrefetchTx()
851 hostIntfTxAck(&mTxCurr, atomicReadByte(&mTxCurrLength)); in nanohubPrefetchTx()
874 if (atomicReadByte(&mPrefetchActive)) { in readEventFast()
878 if ((ret = atomicReadByte(&mTxCurrLength))) { in readEventFast()
903 if ((totLength = atomicReadByte(&mTxCurrLength))) { in readEvent()
DhostIntf.c378 } else if (atomicReadByte(&mActiveWrite)) { in hostIntfRxPacket()
386 } else if (wakeupActive && !atomicReadByte(&mActiveWrite)) in hostIntfRxPacket()
487 if (atomicReadByte(&mRestartRx)) in hostIntfTxAckDone()
492 } else if (atomicReadByte(&mRestartRx)) { in hostIntfTxAckDone()
523 if (atomicReadByte(&mRestartRx)) in hostIntfTxPayloadDone()
Dseos.c90 return (atomicReadByte(&task->flags) & mask) != 0; in osTaskTestFlags()
113 uint8_t flags = atomicReadByte(&task->flags); in osTaskClrSetFlags()
131 return atomicReadByte(&task->ioCount); in osTaskGetIoCount()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c278 #define GET_STATE() (atomicReadByte(&mTask.state))
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c264 #define GET_STATE() (atomicReadByte(&mTask.state))
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c749 #define GET_STATE() (atomicReadByte(&(_task->state)))
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c716 #define GET_STATE() (atomicReadByte(&(_task->state)))
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c944 #define GET_STATE() (atomicReadByte(&(_task->state)))