Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
DnanohubPacket.h51 struct NanohubPacketFooter { struct
56 static inline struct NanohubPacketFooter *nanohubGetPacketFooter(struct NanohubPacket *packet) in nanohubGetPacketFooter() argument
58 return (struct NanohubPacketFooter *)(packet->data + packet->len); in nanohubGetPacketFooter()
62 (sizeof(struct NanohubPacket) + (len) + sizeof(struct NanohubPacketFooter))
/device/google/contexthub/firmware/os/core/
DhostIntf.c202 static inline struct NanohubPacketFooter *hostIntfGetFooter(uint8_t *buf) in hostIntfGetFooter()
205 return (struct NanohubPacketFooter *)(buf + sizeof(*packet) + packet->len); in hostIntfGetFooter()
240 struct NanohubPacketFooter *footer; in hostIntfFindHandler()
305 struct NanohubPacketFooter *txFooter = hostIntfGetFooter(mTxBuf.buf); in hostIntfTxPacket()
321 struct NanohubPacketFooter *txFooter = hostIntfGetFooter(mTxNakBuf.buf); in hostIntfTxNakPacket()