Home
last modified time | relevance | path

Searched refs:atomicReadByte (Results 1 – 7 of 7) 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/core/
DnanohubCommand.c779 if (atomicReadByte(&mTxCurrLength) == 0 && mTxNextLength > 0) { in nanohubPrefetchTx()
786 …atomicWriteByte(&mTxCurrLength, fillBuffer(&mTxCurr, atomicReadByte(&mTxCurrLength), &wakeup, &non… in nanohubPrefetchTx()
793 if (atomicReadByte(&mPrefetchTx)) { in nanohubPrefetchTx()
798 hostIntfTxAck(&mTxCurr, atomicReadByte(&mTxCurrLength)); in nanohubPrefetchTx()
821 if (atomicReadByte(&mPrefetchActive)) { in readEventFast()
825 if ((ret = atomicReadByte(&mTxCurrLength))) { in readEventFast()
850 if ((totLength = atomicReadByte(&mTxCurrLength))) { in readEvent()
DhostIntf.c377 } else if (atomicReadByte(&mActiveWrite)) { in hostIntfRxPacket()
385 } else if (wakeupActive && !atomicReadByte(&mActiveWrite)) in hostIntfRxPacket()
486 if (atomicReadByte(&mRestartRx)) in hostIntfTxAckDone()
491 } else if (atomicReadByte(&mRestartRx)) { in hostIntfTxAckDone()
522 if (atomicReadByte(&mRestartRx)) in hostIntfTxPayloadDone()
Dseos.c90 return (atomicReadByte(&task->flags) & mask) != 0; in osTaskTestFlags()
103 uint8_t flags = atomicReadByte(&task->flags); in osTaskClrSetFlags()
121 return atomicReadByte(&task->ioCount); in osTaskGetIoCount()
/device/google/contexthub/firmware/os/platform/stm32/
Di2c.c613 if (atomicReadByte(&state->masterState) == STM_I2C_MASTER_START) { in stmI2cMasterSentStart()
629 uint8_t masterState = atomicReadByte(&state->masterState); in stmI2cMasterSentAddr()
652 uint8_t masterState = atomicReadByte(&state->masterState); in stmI2cMasterNakRxed()
834 if (atomicReadByte(&state->masterState) == STM_I2C_MASTER_IDLE) { in i2cMasterRelease()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c685 #define GET_STATE() (atomicReadByte(&(_task->state)))
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c653 #define GET_STATE() (atomicReadByte(&(_task->state)))