Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
Datomic.h54 static inline void atomicWriteByte(volatile uint8_t *byte, uint32_t val) in atomicWriteByte() function
/device/google/contexthub/firmware/os/platform/stm32/
Di2c.c526 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START); in stmI2cMasterTxRxDone()
535 atomicWriteByte(&state->masterState, STM_I2C_MASTER_IDLE); in stmI2cMasterTxRxDone()
553 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START); in stmI2cMasterDmaTxDone()
618 atomicWriteByte(&state->masterState, STM_I2C_MASTER_TX_ADDR); in stmI2cMasterSentStart()
621 atomicWriteByte(&state->masterState, STM_I2C_MASTER_RX_ADDR); in stmI2cMasterSentStart()
638 atomicWriteByte(&state->masterState, STM_I2C_MASTER_TX_DATA); in stmI2cMasterSentAddr()
647 atomicWriteByte(&state->masterState, STM_I2C_MASTER_RX_DATA); in stmI2cMasterSentAddr()
860 atomicWriteByte(&state->masterState, STM_I2C_MASTER_IDLE); in i2cMasterRequest()
Dspi.c189 atomicWriteByte(&state->xferEnable, false); in stmSpiEnable()
303 atomicWriteByte(&state->xferEnable, false); in stmSpiRxDone()
318 atomicWriteByte(&state->xferEnable, false); in stmSpiTxDone()
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c826 atomicWriteByte(&mPrefetchActive, 1); in nanohubPrefetchTx()
834 atomicWriteByte(&mTxCurrLength, mTxNextLength); in nanohubPrefetchTx()
839atomicWriteByte(&mTxCurrLength, fillBuffer(&mTxCurr, atomicReadByte(&mTxCurrLength), &wakeup, &non… in nanohubPrefetchTx()
844 atomicWriteByte(&mPrefetchActive, 0); in nanohubPrefetchTx()
852 atomicWriteByte(&mPrefetchTx, 0); in nanohubPrefetchTx()
853 atomicWriteByte(&mTxCurrLength, 0); in nanohubPrefetchTx()
875 atomicWriteByte(&mPrefetchTx, 1); in readEventFast()
882 atomicWriteByte(&mTxCurrLength, 0); in readEventFast()
905 atomicWriteByte(&mTxCurrLength, 0); in readEvent()
DhostIntf.c379 atomicWriteByte(&mRestartRx, true); in hostIntfRxPacket()
436 atomicWriteByte(&mActiveWrite, true); in hostIntfGenerateAck()
464 atomicWriteByte(&mActiveWrite, false); in hostIntfTxComplete()
465 atomicWriteByte(&mRestartRx, false); in hostIntfTxComplete()
470 atomicWriteByte(&mRxIdle, true); in hostIntfTxComplete()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c282 atomicWriteByte(&mTask.state, (s));\
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c269 atomicWriteByte(&mTask.state, (s));\
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c754 atomicWriteByte(&(_task->state), (s));\
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c714 atomicWriteByte(&(_task->state), (s));\
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c949 atomicWriteByte(&(_task->state), (s)); \