Searched refs:totLength (Results 1 – 1 of 1) sorted by relevance
680 static int fillBuffer(void *tx, uint32_t totLength, uint32_t *wakeup, uint32_t *nonwakeup) in fillBuffer() argument722 … if ((!totLength || (isSensorEvent(firstPacket->evtType) && isSensorEvent(packet->evtType))) && in fillBuffer()723 totLength + length <= sizeof(struct HostIntfDataBuffer)) { in fillBuffer()724 memcpy(buf + totLength, &mTxNext, length); in fillBuffer()725 totLength += length; in fillBuffer()739 return totLength; in fillBuffer()846 uint32_t totLength = 0; in readEvent() local850 if ((totLength = atomicReadByte(&mTxCurrLength))) { in readEvent()851 memcpy(tx, &mTxCurr, totLength); in readEvent()854 return totLength; in readEvent()[all …]