Searched refs:mTxCurrLength (Results 1 – 1 of 1) sorted by relevance
/device/google/contexthub/firmware/os/core/ |
D | nanohubCommand.c | 103 static uint8_t mTxCurrLength, mTxNextLength; variable 832 if (atomicReadByte(&mTxCurrLength) == 0 && mTxNextLength > 0) { in nanohubPrefetchTx() 834 atomicWriteByte(&mTxCurrLength, mTxNextLength); in nanohubPrefetchTx() 839 …atomicWriteByte(&mTxCurrLength, fillBuffer(&mTxCurr, atomicReadByte(&mTxCurrLength), &wakeup, &non… in nanohubPrefetchTx() 851 hostIntfTxAck(&mTxCurr, atomicReadByte(&mTxCurrLength)); in nanohubPrefetchTx() 853 atomicWriteByte(&mTxCurrLength, 0); in nanohubPrefetchTx() 878 if ((ret = atomicReadByte(&mTxCurrLength))) { in readEventFast() 882 atomicWriteByte(&mTxCurrLength, 0); in readEventFast() 903 if ((totLength = atomicReadByte(&mTxCurrLength))) { in readEvent() 905 atomicWriteByte(&mTxCurrLength, 0); in readEvent()
|