Searched refs:_tfa_hal_msg (Results 1 – 2 of 2) sorted by relevance
33 struct _tfa_hal_msg *msg = (struct _tfa_hal_msg *)rcvBuffer; in TFA_Hal_CollectMsg()44 if (totalRcv < sizeof(struct _tfa_hal_msg)) in TFA_Hal_CollectMsg()50 else if (totalRcv < sizeof(struct _tfa_hal_msg) + msg->wlength) in TFA_Hal_CollectMsg()79 struct _tfa_hal_msg *msg = (struct _tfa_hal_msg *)inBuffer; in TFA_Hal_ProcessMsg()80 struct _tfa_hal_msg *rmsg = (struct _tfa_hal_msg *)outBuffer; in TFA_Hal_ProcessMsg()90 msgSize = (int16_t)msg->wlength + sizeof(struct _tfa_hal_msg); in TFA_Hal_ProcessMsg()92 memcpy(rmsg, msg, sizeof(struct _tfa_hal_msg)); in TFA_Hal_ProcessMsg()122 msgSize = (int16_t)msg->rlength + sizeof(struct _tfa_hal_msg); in TFA_Hal_ProcessMsg()142 struct _tfa_hal_msg *rmsg = (struct _tfa_hal_msg *)(g_TfaDeviceMessageStatus.sndBuffer); in TFA_Hal_GetNextChunkLength()143 …int32_t remaining = rmsg->rlength + sizeof(struct _tfa_hal_msg) - g_TfaDeviceMessageStatus… in TFA_Hal_GetNextChunkLength()[all …]
32 struct _tfa_hal_msg struct97 int32_t TFA_Hal_CheckMsgCRC(struct _tfa_hal_msg *msg, uint32_t msgSize);105 void TFA_Hal_AddMsgCRC(struct _tfa_hal_msg *msg, uint32_t msgSize);139 void TFA_Hal_DumpMsg(struct _tfa_hal_msg *msg, uint8_t rcv);