Home
last modified time | relevance | path

Searched refs:buffCfg (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/enet/
Dfsl_enet.c449 const enet_buffer_config_t *buffCfg = bufferConfig; in ENET_SetHandler() local
456 assert(buffCfg->rxBuffSizeAlign * buffCfg->rxBdNumber > config->rxMaxFrameLen); in ENET_SetHandler()
458 handle->rxBdRing[count].rxBdBase = buffCfg->rxBdStartAddrAlign; in ENET_SetHandler()
459 handle->rxBuffSizeAlign[count] = buffCfg->rxBuffSizeAlign; in ENET_SetHandler()
460 handle->rxBdRing[count].rxRingLen = buffCfg->rxBdNumber; in ENET_SetHandler()
461 handle->rxMaintainEnable[count] = buffCfg->rxMaintainEnable; in ENET_SetHandler()
462 handle->txBdRing[count].txBdBase = buffCfg->txBdStartAddrAlign; in ENET_SetHandler()
463 handle->txBuffSizeAlign[count] = buffCfg->txBuffSizeAlign; in ENET_SetHandler()
464 handle->txBdRing[count].txRingLen = buffCfg->txBdNumber; in ENET_SetHandler()
465 handle->txMaintainEnable[count] = buffCfg->txMaintainEnable; in ENET_SetHandler()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpc_enet/
Dfsl_enet.c321 const enet_buffer_config_t *buffCfg = bufferConfig; in ENET_TxDescriptorsInit() local
323 if (buffCfg == NULL) in ENET_TxDescriptorsInit()
329 if (buffCfg->txRingLen < ENET_MIN_RINGLEN) in ENET_TxDescriptorsInit()
335 (uint32_t)buffCfg->txDescStartAddrAlign & ENET_DMA_CH_DMA_CHX_TXDESC_LIST_ADDR_STL_MASK; in ENET_TxDescriptorsInit()
337 (uint32_t)buffCfg->txDescTailAddrAlign & ENET_DMA_CH_DMA_CHX_TXDESC_LIST_ADDR_STL_MASK; in ENET_TxDescriptorsInit()
340 ((uint32_t)buffCfg->txRingLen - 1U) & ENET_DMA_CH_DMA_CHX_TXDESC_RING_LENGTH_TDRL_MASK; in ENET_TxDescriptorsInit()
343 txbdPtr = (enet_tx_bd_struct_t *)(buffCfg->txDescStartAddrAlign); in ENET_TxDescriptorsInit()
344 for (j = 0; j < buffCfg->txRingLen; j++) in ENET_TxDescriptorsInit()
366 const enet_buffer_config_t *buffCfg = bufferConfig; in ENET_RxDescriptorsInit() local
369 if (buffCfg == NULL) in ENET_RxDescriptorsInit()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/enet_qos/
Dfsl_enet_qos.c564 const enet_qos_buffer_config_t *buffCfg = bufferConfig; in ENET_QOS_TxDescriptorsInit() local
567 if (buffCfg == NULL) in ENET_QOS_TxDescriptorsInit()
573 if (buffCfg->txRingLen < ENET_QOS_MIN_RINGLEN) in ENET_QOS_TxDescriptorsInit()
578 …txDescAddr = (uint32_t)(uintptr_t)buffCfg->txDescStartAddrAlign & ENET_QOS_DMA_CHX_TXDESC_LIST_ADD… in ENET_QOS_TxDescriptorsInit()
579 …txDescTail = (uint32_t)(uintptr_t)buffCfg->txDescTailAddrAlign & ENET_QOS_DMA_CHX_TXDESC_TAIL_PTR_… in ENET_QOS_TxDescriptorsInit()
588 ((uint32_t)buffCfg->txRingLen - 1U) & ENET_QOS_DMA_CHX_TXDESC_RING_LENGTH_TDRL_MASK; in ENET_QOS_TxDescriptorsInit()
591 txbdPtr = (enet_qos_tx_bd_struct_t *)(buffCfg->txDescStartAddrAlign); in ENET_QOS_TxDescriptorsInit()
592 for (j = 0; j < buffCfg->txRingLen; j++) in ENET_QOS_TxDescriptorsInit()
615 const enet_qos_buffer_config_t *buffCfg = bufferConfig; in ENET_QOS_RxDescriptorsInit() local
619 if (buffCfg == NULL) in ENET_QOS_RxDescriptorsInit()
[all …]