Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
DnanohubPacket.h61 #define NANOHUB_PACKET_SIZE(len) \ macro
65 #define NANOHUB_PACKET_SIZE_MAX NANOHUB_PACKET_SIZE(NANOHUB_PACKET_PAYLOAD_MAX)
66 #define NANOHUB_PACKET_SIZE_MIN NANOHUB_PACKET_SIZE(0)
/device/google/contexthub/firmware/os/core/
DhostIntfSpi.c42 callback(NANOHUB_PACKET_SIZE(packet->len), err); in hostIntfSpiRxCallback()
DhostIntf.c244 if (size < NANOHUB_PACKET_SIZE(0)) { in hostIntfFindHandler()
249 if (size != NANOHUB_PACKET_SIZE(packet->len)) { in hostIntfFindHandler()
308 hostIntfTxBuf(1+NANOHUB_PACKET_SIZE(len), &mTxBuf.prePreamble, callback); in hostIntfTxPacket()