Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/tfa9xxx/
Dtfa_device_hal.c33 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 …]
Dtfa_device_hal.h32 struct _tfa_hal_msg struct
97 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);