Lines Matching refs:rxFrame

1665 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()
1820 rxFrame->rxBuffArray[index].length = buff1Len; in ENET_GetRxFrame()
1827 rxFrame->rxBuffArray[index].buffer = (void *)(uint32_t *)buff2Addr; in ENET_GetRxFrame()
1828 rxFrame->rxBuffArray[index].length = buff2Len; in ENET_GetRxFrame()
1872 rxFrame->rxAttribute.timestamp.second = rxDesc->rdes1; in ENET_GetRxFrame()
1877rxFrame->rxAttribute.timestamp.nanosecond = ENET_BINARY_ROLLOVER_SCALE(timerCount); in ENET_GetRxFrame()
1881 rxFrame->rxAttribute.timestamp.nanosecond = timerCount; in ENET_GetRxFrame()
1883 rxFrame->rxAttribute.isTsAvail = true; in ENET_GetRxFrame()
1902 rxFrame->rxAttribute.isTsAvail = false; in ENET_GetRxFrame()
1916 … handle->rxBuffFree(base, &rxFrame->rxBuffArray[index].buffer, handle->userData, channel); in ENET_GetRxFrame()