Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
DnanohubCommand.c687 static int fillBuffer(void *tx, uint32_t totLength, uint32_t *wakeup, uint32_t *nonwakeup) in fillBuffer() argument
726 …if ((!totLength || (isSensorEvent(firstPacket->evtType) && isSensorEvent(packet->evtType))) && tot… in fillBuffer()
727 memcpy(buf + totLength, &mTxNext, length); in fillBuffer()
728 totLength += length; in fillBuffer()
742 return totLength; in fillBuffer()
849 uint32_t totLength = 0; in readEvent() local
853 if ((totLength = atomicReadByte(&mTxCurrLength))) { in readEvent()
854 memcpy(tx, &mTxCurr, totLength); in readEvent()
857 return totLength; in readEvent()
865 totLength = length; in readEvent()
[all …]