Searched refs:atomicWriteByte (Results 1 – 7 of 7) sorted by relevance
/device/google/contexthub/firmware/os/inc/ |
D | atomic.h | 54 static inline void atomicWriteByte(volatile uint8_t *byte, uint32_t val) in atomicWriteByte() function
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | i2c.c | 525 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START); in stmI2cMasterTxRxDone() 534 atomicWriteByte(&state->masterState, STM_I2C_MASTER_IDLE); in stmI2cMasterTxRxDone() 547 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START); in stmI2cMasterDmaTxDone() 615 atomicWriteByte(&state->masterState, STM_I2C_MASTER_TX_ADDR); in stmI2cMasterSentStart() 618 atomicWriteByte(&state->masterState, STM_I2C_MASTER_RX_ADDR); in stmI2cMasterSentStart() 635 atomicWriteByte(&state->masterState, STM_I2C_MASTER_TX_DATA); in stmI2cMasterSentAddr() 644 atomicWriteByte(&state->masterState, STM_I2C_MASTER_RX_DATA); in stmI2cMasterSentAddr() 812 atomicWriteByte(&state->masterState, STM_I2C_MASTER_IDLE); in i2cMasterRequest()
|
D | spi.c | 189 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/ |
D | nanohubCommand.c | 773 atomicWriteByte(&mPrefetchActive, 1); in nanohubPrefetchTx() 781 atomicWriteByte(&mTxCurrLength, mTxNextLength); in nanohubPrefetchTx() 786 …atomicWriteByte(&mTxCurrLength, fillBuffer(&mTxCurr, atomicReadByte(&mTxCurrLength), &wakeup, &non… in nanohubPrefetchTx() 791 atomicWriteByte(&mPrefetchActive, 0); in nanohubPrefetchTx() 799 atomicWriteByte(&mPrefetchTx, 0); in nanohubPrefetchTx() 800 atomicWriteByte(&mTxCurrLength, 0); in nanohubPrefetchTx() 822 atomicWriteByte(&mPrefetchTx, 1); in readEventFast() 829 atomicWriteByte(&mTxCurrLength, 0); in readEventFast() 852 atomicWriteByte(&mTxCurrLength, 0); in readEvent()
|
D | hostIntf.c | 378 atomicWriteByte(&mRestartRx, true); in hostIntfRxPacket() 435 atomicWriteByte(&mActiveWrite, true); in hostIntfGenerateAck() 463 atomicWriteByte(&mActiveWrite, false); in hostIntfTxComplete() 464 atomicWriteByte(&mRestartRx, false); in hostIntfTxComplete() 469 atomicWriteByte(&mRxIdle, true); in hostIntfTxComplete()
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 690 atomicWriteByte(&(_task->state), (s)); \
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 658 atomicWriteByte(&(_task->state), (s));\
|