Lines Matching refs:reason
158 enum hostIntfIntErrReason reason; member
163 static void hostIntfTxPacket(uint32_t reason, uint8_t len, uint32_t seq,
202 osLog(msg->level, "%s failed with: %d\n", msg->func, msg->reason); in hostIntfPrintErrMsg()
206 static void hostIntfDeferErrLog(enum LogLevel level, enum hostIntfIntErrReason reason, const char *… in hostIntfDeferErrLog() argument
213 mIntErrMsg[mIntErrMsgIdx].reason = reason; in hostIntfDeferErrLog()
258 packetReason = le32toh(packet->reason); in hostIntfFindHandler()
280 static void hostIntfTxPacket(__le32 reason, uint8_t len, uint32_t seq, in hostIntfTxPacket() argument
284 txPacket->reason = reason; in hostIntfTxPacket()
381 hostIntfTxPacket(mRxCmd->reason, resp, mTxRetrans.seq, hostIntfTxPayloadDone); in hostIntfTxSendAck()
472 hostIntfTxPacket(mRxCmd->reason, respLen, mTxRetrans.seq, hostIntfTxPayloadDone); in hostIntfGenerateResponse()
997 static void hostIntfNotifyReboot(uint32_t reason) in hostIntfNotifyReboot() argument
1000 __le32 raw_reason = htole32(reason); in hostIntfNotifyReboot()
1008 memcpy(&resp->reason, &raw_reason, sizeof(resp->reason)); in hostIntfNotifyReboot()
1055 uint32_t reason; in hostIntfHandleEvent() local
1067 reason = pwrResetReason(); in hostIntfHandleEvent()
1068 data = alloca(sizeof(uint32_t) + sizeof(reason)); in hostIntfHandleEvent()
1070 data->length = sizeof(reason); in hostIntfHandleEvent()
1073 memcpy(data->buffer, &reason, sizeof(reason)); in hostIntfHandleEvent()
1076 hostIntfNotifyReboot(reason); in hostIntfHandleEvent()