Home
last modified time | relevance | path

Searched refs:buffAddr (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/lpc_enet/
Dfsl_enet.c1457 uint32_t buffAddr; in ENET_RxBufferAllocAll() local
1483 buffAddr = (uint32_t)(uint32_t *)handle->rxBuffAlloc(base, handle->userData, channel); in ENET_RxBufferAllocAll()
1484 if (buffAddr == 0U) in ENET_RxBufferAllocAll()
1490 rxbdPtr->rdes0 = buffAddr; in ENET_RxBufferAllocAll()
1491 handle->rxBufferStartAddr[channel][index] = buffAddr; in ENET_RxBufferAllocAll()
1496buffAddr = (uint32_t)(uint32_t *)handle->rxBuffAlloc(base, handle->userData, channel); in ENET_RxBufferAllocAll()
1497 if (buffAddr == 0U) in ENET_RxBufferAllocAll()
1503 rxbdPtr->rdes2 = buffAddr; in ENET_RxBufferAllocAll()
1504 handle->rxBufferStartAddr[channel][index + 1U] = buffAddr; in ENET_RxBufferAllocAll()
1537 uint32_t buffAddr; in ENET_RxBufferFreeAll() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/mcx_enet/
Dfsl_enet.c1579 uint32_t buffAddr; in ENET_RxBufferAllocAll() local
1605 buffAddr = (uint32_t)(uint32_t *)handle->rxBuffAlloc(base, handle->userData, channel); in ENET_RxBufferAllocAll()
1606 if (buffAddr == 0U) in ENET_RxBufferAllocAll()
1612 rxbdPtr->rdes0 = buffAddr; in ENET_RxBufferAllocAll()
1613 handle->rxBufferStartAddr[channel][index] = buffAddr; in ENET_RxBufferAllocAll()
1618buffAddr = (uint32_t)(uint32_t *)handle->rxBuffAlloc(base, handle->userData, channel); in ENET_RxBufferAllocAll()
1619 if (buffAddr == 0U) in ENET_RxBufferAllocAll()
1625 rxbdPtr->rdes2 = buffAddr; in ENET_RxBufferAllocAll()
1626 handle->rxBufferStartAddr[channel][index + 1U] = buffAddr; in ENET_RxBufferAllocAll()
1659 uint32_t buffAddr; in ENET_RxBufferFreeAll() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/enet_qos/
Dfsl_enet_qos.c1175 uint32_t buffAddr; in ENET_QOS_RxBufferAllocAll() local
1200buffAddr = (uint32_t)(uintptr_t)(uint8_t *)handle->rxBuffAlloc(base, handle->userData, channel); in ENET_QOS_RxBufferAllocAll()
1201 if (buffAddr == 0U) in ENET_QOS_RxBufferAllocAll()
1208 buffAddr = (uint32_t)MEMORY_ConvertMemoryMapAddress(buffAddr, kMEMORY_Local2DMA); in ENET_QOS_RxBufferAllocAll()
1210 rxbdPtr->buff1Addr = buffAddr; in ENET_QOS_RxBufferAllocAll()
1211 handle->rxBufferStartAddr[channel][index] = buffAddr; in ENET_QOS_RxBufferAllocAll()
1216buffAddr = (uint32_t)(uintptr_t)(uint8_t *)handle->rxBuffAlloc(base, handle->userData, channel); in ENET_QOS_RxBufferAllocAll()
1217 if (buffAddr == 0U) in ENET_QOS_RxBufferAllocAll()
1224 buffAddr = (uint32_t)MEMORY_ConvertMemoryMapAddress(buffAddr, kMEMORY_Local2DMA); in ENET_QOS_RxBufferAllocAll()
1226 rxbdPtr->buff2Addr = buffAddr; in ENET_QOS_RxBufferAllocAll()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/
Dfsl_netc_endpoint.c111 uint64_t buffAddr; in EP_RxBufferAllocAll() local
141 buffAddr = handle->rxBdRing[ring].buffArray[buffIdx]; in EP_RxBufferAllocAll()
146 buffAddr = (uint64_t)(uintptr_t)(uint8_t *)handle->cfg.rxBuffAlloc( in EP_RxBufferAllocAll()
148 if (buffAddr == 0U) in EP_RxBufferAllocAll()
156 handle->rxBdRing[ring].buffArray[buffIdx] = buffAddr; in EP_RxBufferAllocAll()
160 buffAddr = MEMORY_ConvertMemoryMapAddress((uintptr_t)buffAddr, kMEMORY_Local2DMA); in EP_RxBufferAllocAll()
162 rxDesc->standard.addr = buffAddr; in EP_RxBufferAllocAll()
2370 status_t EP_PsiSetRxBuffer(ep_handle_t *handle, netc_vsi_number_t vsi, uint64_t buffAddr) in EP_PsiSetRxBuffer() argument
2374 return NETC_SIPsiSetRxBuffer(handle->hw.si, vsi, buffAddr); in EP_PsiSetRxBuffer()
Dfsl_netc_switch.c600 uint64_t buffAddr; in SWT_ManagementTxRxConfig() local
653 buffAddr = handle->mgmtRxBdRing.buffArray[buffIdx]; in SWT_ManagementTxRxConfig()
658 buffAddr = in SWT_ManagementTxRxConfig()
660 if (buffAddr == 0U) in SWT_ManagementTxRxConfig()
668 handle->mgmtRxBdRing.buffArray[buffIdx] = buffAddr; in SWT_ManagementTxRxConfig()
672 buffAddr = MEMORY_ConvertMemoryMapAddress((uintptr_t)buffAddr, kMEMORY_Local2DMA); in SWT_ManagementTxRxConfig()
674 rxDesc->standard.addr = buffAddr; in SWT_ManagementTxRxConfig()
Dfsl_netc_endpoint.h1604 status_t EP_PsiSetRxBuffer(ep_handle_t *handle, netc_vsi_number_t vsi, uint64_t buffAddr);
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/netc_hw/
Dfsl_netc_hw_si.c108 status_t NETC_SIPsiSetRxBuffer(ENETC_SI_Type *base, netc_vsi_number_t vsi, uint64_t buffAddr) in NETC_SIPsiSetRxBuffer() argument
112 uint64_t address = buffAddr; in NETC_SIPsiSetRxBuffer()
Dfsl_netc_hw_si.h367 status_t NETC_SIPsiSetRxBuffer(ENETC_SI_Type *base, netc_vsi_number_t vsi, uint64_t buffAddr);