Lines Matching refs:ChppTransportState
40 static void chppSetRxState(struct ChppTransportState *context,
42 static size_t chppConsumePreamble(struct ChppTransportState *context,
44 static size_t chppConsumeHeader(struct ChppTransportState *context,
46 static size_t chppConsumePayload(struct ChppTransportState *context,
48 static size_t chppConsumeFooter(struct ChppTransportState *context,
50 static void chppAbortRxPacket(struct ChppTransportState *context);
53 struct ChppTransportState *context);
57 struct ChppTransportState *context);
59 static void chppSetResetComplete(struct ChppTransportState *context);
60 static void chppProcessResetAck(struct ChppTransportState *context);
61 static void chppProcessRxPacket(struct ChppTransportState *context);
62 static void chppProcessRxPayload(struct ChppTransportState *context);
63 static void chppClearRxDatagram(struct ChppTransportState *context);
64 static bool chppRxChecksumIsOk(const struct ChppTransportState *context);
66 const struct ChppTransportState *context);
67 static void chppRegisterRxAck(struct ChppTransportState *context);
69 static void chppEnqueueTxPacket(struct ChppTransportState *context,
73 struct ChppTransportState *context);
74 static void chppAddPayload(struct ChppTransportState *context);
76 size_t chppDequeueTxDatagram(struct ChppTransportState *context);
77 static void chppClearTxDatagramQueue(struct ChppTransportState *context);
78 static void chppTransportDoWork(struct ChppTransportState *context);
82 static bool chppEnqueueTxDatagram(struct ChppTransportState *context,
85 struct ChppTransportState *context);
87 static void chppResetTransportContext(struct ChppTransportState *context);
88 static void chppReset(struct ChppTransportState *context,
93 struct ChppTransportState *context);
108 static void chppSetRxState(struct ChppTransportState *context, in chppSetRxState()
131 static size_t chppConsumePreamble(struct ChppTransportState *context, in chppConsumePreamble()
178 static size_t chppConsumeHeader(struct ChppTransportState *context, in chppConsumeHeader()
244 static size_t chppConsumePayload(struct ChppTransportState *context, in chppConsumePayload()
273 static size_t chppConsumeFooter(struct ChppTransportState *context, in chppConsumeFooter()
366 static void chppAbortRxPacket(struct ChppTransportState *context) { in chppAbortRxPacket()
429 struct ChppTransportState *context) { in chppProcessTransportLoopbackRequest()
475 struct ChppTransportState *context) { in chppProcessTransportLoopbackResponse()
510 static void chppSetResetComplete(struct ChppTransportState *context) { in chppSetResetComplete()
522 static void chppProcessResetAck(struct ChppTransportState *context) { in chppProcessResetAck()
574 static void chppProcessRxPacket(struct ChppTransportState *context) { in chppProcessRxPacket()
615 static void chppProcessRxPayload(struct ChppTransportState *context) { in chppProcessRxPayload()
661 static void chppClearRxDatagram(struct ChppTransportState *context) { in chppClearRxDatagram()
674 static bool chppRxChecksumIsOk(const struct ChppTransportState *context) { in chppRxChecksumIsOk()
709 const struct ChppTransportState *context) { in chppRxHeaderCheck()
732 static void chppRegisterRxAck(struct ChppTransportState *context) { in chppRegisterRxAck()
800 static void chppEnqueueTxPacket(struct ChppTransportState *context, in chppEnqueueTxPacket()
833 struct ChppTransportState *context) { in chppAddHeader()
854 static void chppAddPayload(struct ChppTransportState *context) { in chppAddPayload()
914 size_t chppDequeueTxDatagram(struct ChppTransportState *context) { in chppDequeueTxDatagram()
946 static void chppClearTxDatagramQueue(struct ChppTransportState *context) { in chppClearTxDatagramQueue()
966 static void chppTransportDoWork(struct ChppTransportState *context) { in chppTransportDoWork()
1112 static bool chppEnqueueTxDatagram(struct ChppTransportState *context, in chppEnqueueTxDatagram()
1172 struct ChppTransportState *context) { in chppSendPendingPacket()
1187 static void chppResetTransportContext(struct ChppTransportState *context) { in chppResetTransportContext()
1214 static void chppReset(struct ChppTransportState *transportContext, in chppReset()
1271 struct ChppTransportState *context) { in chppTransportGetClientRequestTimeoutResponse()
1340 void chppTransportInit(struct ChppTransportState *transportContext, in chppTransportInit()
1360 void chppTransportDeinit(struct ChppTransportState *transportContext) { in chppTransportDeinit()
1376 struct ChppTransportState *transportContext, uint64_t timeoutMs) { in chppTransportWaitForResetComplete()
1388 bool chppRxDataCb(struct ChppTransportState *context, const uint8_t *buf, in chppRxDataCb()
1447 void chppRxPacketCompleteCb(struct ChppTransportState *context) { in chppRxPacketCompleteCb()
1460 bool chppEnqueueTxDatagramOrFail(struct ChppTransportState *context, void *buf, in chppEnqueueTxDatagramOrFail()
1485 void chppEnqueueTxErrorDatagram(struct ChppTransportState *context, in chppEnqueueTxErrorDatagram()
1512 struct ChppTransportState *context) { in chppTransportGetTimeUntilNextDoWorkNs()
1539 void chppWorkThreadStart(struct ChppTransportState *context) { in chppWorkThreadStart()
1558 bool chppWorkThreadHandleSignal(struct ChppTransportState *context, in chppWorkThreadHandleSignal()
1603 void chppWorkThreadStop(struct ChppTransportState *context) { in chppWorkThreadStop()
1613 struct ChppTransportState *context = in chppLinkSendDoneCb()
1614 container_of(params, struct ChppTransportState, linkParams); in chppLinkSendDoneCb()
1626 void chppDatagramProcessDoneCb(struct ChppTransportState *context, in chppDatagramProcessDoneCb()
1633 uint8_t chppRunTransportLoopback(struct ChppTransportState *context, in chppRunTransportLoopback()
1710 void chppTransportSendReset(struct ChppTransportState *context, in chppTransportSendReset()