Lines Matching refs:tx
118 static uint32_t getOsHwVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getOsHwVersion() argument
120 struct NanohubOsHwVersionsResponse *resp = tx; in getOsHwVersion()
130 static uint32_t getAppVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getAppVersion() argument
133 struct NanohubAppVersionsResponse *resp = tx; in getAppVersion()
144 static uint32_t queryAppInfo(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in queryAppInfo() argument
147 struct NanohubAppInfoResponse *resp = tx; in queryAppInfo()
299 static uint32_t startFirmwareUpload(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in startFirmwareUpload() argument
302 struct NanohubStartFirmwareUploadResponse *resp = tx; in startFirmwareUpload()
576 static uint32_t firmwareChunk(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in firmwareChunk() argument
579 struct NanohubFirmwareChunkResponse *resp = tx; in firmwareChunk()
603 static uint32_t finishFirmwareUpload(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in finishFirmwareUpload() argument
605 struct NanohubFinishFirmwareUploadResponse *resp = tx; in finishFirmwareUpload()
612 static uint32_t getInterrupt(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getInterrupt() argument
615 struct NanohubGetInterruptResponse *resp = tx; in getInterrupt()
630 static uint32_t maskInterrupt(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in maskInterrupt() argument
633 struct NanohubMaskInterruptResponse *resp = tx; in maskInterrupt()
641 static uint32_t unmaskInterrupt(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in unmaskInterrupt() argument
644 struct NanohubUnmaskInterruptResponse *resp = tx; in unmaskInterrupt()
687 static int fillBuffer(void *tx, uint32_t totLength, uint32_t *wakeup, uint32_t *nonwakeup) in fillBuffer() argument
690 struct HostIntfDataBuffer *firstPacket = tx; in fillBuffer()
691 uint8_t *buf = tx; in fillBuffer()
819 static uint32_t readEventFast(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in readEventFast() argument
831 memcpy(tx, &mTxCurr, ret); in readEventFast()
844 static uint32_t readEvent(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in readEvent() argument
847 uint8_t *buf = tx; in readEvent()
854 memcpy(tx, &mTxCurr, totLength); in readEvent()
883 static uint32_t writeEvent(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in writeEvent() argument
886 struct NanohubWriteEventResponse *resp = tx; in writeEvent()