Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/enet/
Dfsl_enet.c457 const enet_buffer_config_t *buffCfg = bufferConfig; in ENET_SetHandler() local
464 assert(buffCfg->rxBuffSizeAlign * buffCfg->rxBdNumber > config->rxMaxFrameLen); in ENET_SetHandler()
466 handle->rxBdRing[count].rxBdBase = buffCfg->rxBdStartAddrAlign; in ENET_SetHandler()
467 handle->rxBuffSizeAlign[count] = buffCfg->rxBuffSizeAlign; in ENET_SetHandler()
468 handle->rxBdRing[count].rxRingLen = buffCfg->rxBdNumber; in ENET_SetHandler()
469 handle->rxMaintainEnable[count] = buffCfg->rxMaintainEnable; in ENET_SetHandler()
470 handle->txBdRing[count].txBdBase = buffCfg->txBdStartAddrAlign; in ENET_SetHandler()
471 handle->txBuffSizeAlign[count] = buffCfg->txBuffSizeAlign; in ENET_SetHandler()
472 handle->txBdRing[count].txRingLen = buffCfg->txBdNumber; in ENET_SetHandler()
473 handle->txMaintainEnable[count] = buffCfg->txMaintainEnable; in ENET_SetHandler()
[all …]
/hal_nxp-3.7.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.7.0/mcux/mcux-sdk/drivers/mcx_enet/
Dfsl_enet.c322 const enet_buffer_config_t *buffCfg = bufferConfig; in ENET_TxDescriptorsInit() local
324 if (buffCfg == NULL) in ENET_TxDescriptorsInit()
330 if (buffCfg->txRingLen < ENET_MIN_RINGLEN) in ENET_TxDescriptorsInit()
336 (uint32_t)buffCfg->txDescStartAddrAlign & ENET_DMA_CH_DMA_CHX_TXDESC_LIST_ADDR_TDESLA_MASK; in ENET_TxDescriptorsInit()
338 (uint32_t)buffCfg->txDescTailAddrAlign & ENET_DMA_CH_DMA_CHX_TXDESC_TAIL_PTR_TDTP_MASK; in ENET_TxDescriptorsInit()
341 ((uint32_t)buffCfg->txRingLen - 1U) & ENET_DMA_CH_DMA_CHX_TXDESC_RING_LENGTH_TDRL_MASK; in ENET_TxDescriptorsInit()
344 txbdPtr = (enet_tx_bd_struct_t *)(buffCfg->txDescStartAddrAlign); in ENET_TxDescriptorsInit()
345 for (j = 0; j < buffCfg->txRingLen; j++) in ENET_TxDescriptorsInit()
367 const enet_buffer_config_t *buffCfg = bufferConfig; in ENET_RxDescriptorsInit() local
370 if (buffCfg == NULL) in ENET_RxDescriptorsInit()
[all …]
/hal_nxp-3.7.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 …]