Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpc_enet/
Dfsl_enet.c1665 status_t ENET_GetRxFrame(ENET_Type *base, enet_handle_t *handle, enet_rx_frame_struct_t *rxFrame, u… in ENET_GetRxFrame() argument
1712 ENET_GetRxFrameErr(rxDesc, &rxFrame->rxFrameError); in ENET_GetRxFrame()
1755 rxFrame->totLen = (uint16_t)(rxDesc->rdes3 & ENET_RXDESCRIP_WR_PACKETLEN_MASK); in ENET_GetRxFrame()
1757 if (rxFrame->totLen - offset > (uint16_t)rxBdRing->rxBuffSizeAlign) in ENET_GetRxFrame()
1762 … buff2Len = rxFrame->totLen - offset - (uint16_t)rxBdRing->rxBuffSizeAlign - ENET_FCS_LEN; in ENET_GetRxFrame()
1767 buff1Len = rxFrame->totLen - offset - ENET_FCS_LEN; in ENET_GetRxFrame()
1769 rxFrame->totLen -= ENET_FCS_LEN; in ENET_GetRxFrame()
1812 rxFrame->rxBuffArray[index].buffer = (void *)(uint32_t *)buff1Addr; in ENET_GetRxFrame()
1813 rxFrame->rxBuffArray[index].length = buff1Len; in ENET_GetRxFrame()
1819 rxFrame->rxBuffArray[index].buffer = (void *)(uint32_t *)buff1Addr; in ENET_GetRxFrame()
[all …]
Dfsl_enet.h1219 status_t ENET_GetRxFrame(ENET_Type *base, enet_handle_t *handle, enet_rx_frame_struct_t *rxFrame, u…
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/enet_qos/
Dfsl_enet_qos.c2858 enet_qos_rx_frame_struct_t *rxFrame, in ENET_QOS_GetRxFrame() argument
2928 ENET_QOS_GetRxFrameErr(rxDesc, &rxFrame->rxFrameError); in ENET_QOS_GetRxFrame()
2971 rxFrame->totLen = (uint16_t)(rxDesc->control & ENET_QOS_RXDESCRIP_WR_PACKETLEN_MASK); in ENET_QOS_GetRxFrame()
2973 if (rxFrame->totLen - offset > (uint16_t)rxBdRing->rxBuffSizeAlign) in ENET_QOS_GetRxFrame()
2978 … buff2Len = rxFrame->totLen - offset - (uint16_t)rxBdRing->rxBuffSizeAlign - ENET_QOS_FCS_LEN; in ENET_QOS_GetRxFrame()
2983 buff1Len = rxFrame->totLen - offset - ENET_QOS_FCS_LEN; in ENET_QOS_GetRxFrame()
2985 rxFrame->totLen -= ENET_QOS_FCS_LEN; in ENET_QOS_GetRxFrame()
3035 rxFrame->rxBuffArray[index].buffer = (void *)(uint8_t *)buff1Addr; in ENET_QOS_GetRxFrame()
3036 rxFrame->rxBuffArray[index].length = buff1Len; in ENET_QOS_GetRxFrame()
3049 rxFrame->rxBuffArray[index].buffer = (void *)(uint8_t *)buff1Addr; in ENET_QOS_GetRxFrame()
[all …]
Dfsl_enet_qos.h1847 enet_qos_rx_frame_struct_t *rxFrame,
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/enet/
Dfsl_enet.c2169 status_t ENET_GetRxFrame(ENET_Type *base, enet_handle_t *handle, enet_rx_frame_struct_t *rxFrame, u… in ENET_GetRxFrame() argument
2174 assert(rxFrame != NULL); in ENET_GetRxFrame()
2175 assert(rxFrame->rxBuffArray != NULL); in ENET_GetRxFrame()
2196 …result = ENET_GetRxFrameErr((enet_rx_bd_struct_t *)(uintptr_t)curBuffDescrip, &rxFrame->rxFrameErr… in ENET_GetRxFrame()
2263 rxBuffer = &rxFrame->rxBuffArray[index]; in ENET_GetRxFrame()
2284 rxFrame->totLen = curBuffDescrip->length; in ENET_GetRxFrame()
2287 rxFrame->rxAttribute.promiscuous = false; in ENET_GetRxFrame()
2292 rxFrame->rxAttribute.promiscuous = true; in ENET_GetRxFrame()
2296 rxFrame->rxAttribute.timestamp = curBuffDescrip->timestamp; in ENET_GetRxFrame()
2338 … handle->rxBuffFree(base, &rxFrame->rxBuffArray[index].buffer, handle->userData, ringId); in ENET_GetRxFrame()
Dfsl_enet.h1624 status_t ENET_GetRxFrame(ENET_Type *base, enet_handle_t *handle, enet_rx_frame_struct_t *rxFrame, u…