Home
last modified time | relevance | path

Searched refs:pMsg (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-ieee_802.15.4/ieee_802_15_4/phy/source/SerialDevice/
DPhy.c90 phyMessageHeader_t *pMsg = (phyMessageHeader_t *)data; in PhyRpmsgRxCallback() local
92 if (pMsg->msgType == gPlmeGetReq_c) in PhyRpmsgRxCallback()
96 phy_get_rsp = ((macToPlmeMessage_t *)pMsg)->msgData.getReq; in PhyRpmsgRxCallback()
103 pMsg = (phyMessageHeader_t *)PHY_MSG_Alloc(len); in PhyRpmsgRxCallback()
104 if (!pMsg) in PhyRpmsgRxCallback()
108 memcpy(pMsg, data, len); in PhyRpmsgRxCallback()
110 if (pMsg->ctx_id >= CTX_NO) in PhyRpmsgRxCallback()
112 pMsg->ctx_id = 0; in PhyRpmsgRxCallback()
115 switch(pMsg->msgType) in PhyRpmsgRxCallback()
118 …((pdDataToMacMessage_t *)pMsg)->msgData.dataInd.pPsdu = (uint8_t *)pMsg + sizeof(pdDataToMacMessag… in PhyRpmsgRxCallback()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/rpmsg/
Dfsl_adapter_rfimu.c1219 IMU_Msg_t *pMsg = NULL, localImuMsg; in HAL_ImuReceive() local
1255 pMsg = (IMU_Msg_t *)IMU_RD_MSG(imuHandle->imuLink); in HAL_ImuReceive()
1256 if ((pMsg != NULL) && (IMU_RX_FIFO_LOCKED(imuHandle->imuLink))) in HAL_ImuReceive()
1263 if (pMsg != NULL) in HAL_ImuReceive()
1265 (void)memcpy((uint8_t *)&localImuMsg, (uint8_t *)pMsg, sizeof(IMU_Msg_t)); in HAL_ImuReceive()
1266 pMsg = &localImuMsg; in HAL_ImuReceive()
1267 msg_type = (imu_msg_type_t)pMsg->Hdr.type; in HAL_ImuReceive()
1272 rpmsgStatus = HAL_ImuCtrlHandler(imuHandle, pMsg, pMsg->Hdr.length); in HAL_ImuReceive()
1275 … rpmsgStatus = imuHandle->imuHandler[IMU_MSG_CONTROL]((IMU_Msg_t *)pMsg, pMsg->Hdr.length); in HAL_ImuReceive()
1282 … imuHandle->imuHandler[IMU_MSG_COMMAND_RESPONSE]((IMU_Msg_t *)pMsg, pMsg->Hdr.length); in HAL_ImuReceive()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/imu_adapter/
Dfsl_adapter_imu.c1222 IMU_Msg_t *pMsg = NULL, localImuMsg; in HAL_ImuReceive() local
1258 pMsg = (IMU_Msg_t *)IMU_RD_MSG(imuHandle->imuLink); in HAL_ImuReceive()
1259 if ((pMsg != NULL) && (IMU_RX_FIFO_LOCKED(imuHandle->imuLink))) in HAL_ImuReceive()
1266 if (pMsg != NULL) in HAL_ImuReceive()
1268 (void)memcpy((uint8_t *)&localImuMsg, (uint8_t *)pMsg, sizeof(IMU_Msg_t)); in HAL_ImuReceive()
1269 pMsg = &localImuMsg; in HAL_ImuReceive()
1270 msg_type = (imu_msg_type_t)pMsg->Hdr.type; in HAL_ImuReceive()
1275 imumcStatus = HAL_ImuCtrlHandler(imuHandle, pMsg, pMsg->Hdr.length); in HAL_ImuReceive()
1278 … imumcStatus = imuHandle->imuHandler[IMU_MSG_CONTROL]((IMU_Msg_t *)pMsg, pMsg->Hdr.length); in HAL_ImuReceive()
1285 … imuHandle->imuHandler[IMU_MSG_COMMAND_RESPONSE]((IMU_Msg_t *)pMsg, pMsg->Hdr.length); in HAL_ImuReceive()
[all …]
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-ieee_802.15.4/ieee_802_15_4/phy/interface/
DPhyInterface.h392 typedef phyStatus_t ( * PD_MAC_SapHandler_t)(pdDataToMacMessage_t * pMsg, instanceId_t instanceId);
395 typedef phyStatus_t ( * PLME_MAC_SapHandler_t)(plmeToMacMessage_t * pMsg, instanceId_t instanceId);
466 phyStatus_t MAC_PD_SapHandler(macToPdDataMessage_t * pMsg, instanceId_t phyInstance);
477 phyStatus_t MAC_PLME_SapHandler(macToPlmeMessage_t * pMsg, instanceId_t phyInstance);
DPhy.h1053 void ctx_set_tx(Phy_PhyLocalStruct_t *ctx, macToPdDataMessage_t *pMsg);
1069 #define ctx_set_tx(ctx, pMsg) argument
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-connectivity-framework/platform/rw61x/
Dfwk_platform_hdlc.c202 uint8_t * pMsg = msg; in PLATFORM_SendHdlcMessage() local
246 (void)memcpy(pRpmsgBuffer, pMsg, sizeToSend); in PLATFORM_SendHdlcMessage()
259 pMsg += sizeToSend; in PLATFORM_SendHdlcMessage()