Lines Matching refs:resp
371 static void hostIntfTxSendAck(uint32_t resp) in hostIntfTxSendAck() argument
375 if (resp == NANOHUB_FAST_UNHANDLED_ACK) { in hostIntfTxSendAck()
378 } else if (resp == NANOHUB_FAST_DONT_ACK) { in hostIntfTxSendAck()
381 hostIntfTxPacket(mRxCmd->reason, resp, mTxRetrans.seq, hostIntfTxPayloadDone); in hostIntfTxSendAck()
400 uint32_t resp = NANOHUB_FAST_UNHANDLED_ACK; in hostIntfGenerateAck() local
413 resp = mRxCmd->fastHandler(rxPayload, rx_len, txPayload, mRxTimestamp); in hostIntfGenerateAck()
415 hostIntfTxSendAck(resp); in hostIntfGenerateAck()
999 struct NanohubHalRebootTx *resp = heapAlloc(sizeof(*resp)); in hostIntfNotifyReboot() local
1002 if (resp) { in hostIntfNotifyReboot()
1003 resp->hdr = (struct NanohubHalHdr){ in hostIntfNotifyReboot()
1005 .len = sizeof(*resp) - sizeof(resp->hdr) + sizeof(resp->hdr.msg), in hostIntfNotifyReboot()
1008 memcpy(&resp->reason, &raw_reason, sizeof(resp->reason)); in hostIntfNotifyReboot()
1009 osEnqueueEvtOrFree(EVT_APP_TO_HOST, resp, heapFree); in hostIntfNotifyReboot()