Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/enet_qos/
Dfsl_enet_qos.c332 enet_qos_multiqueue_config_t *multiqCfg = config->multiqueueCfg; in ENET_QOS_SetMTL() local
347 if (multiqCfg == NULL) in ENET_QOS_SetMTL()
359 base->MTL_OPERATION_MODE = ENET_QOS_MTL_OPERATION_MODE_SCHALG(multiqCfg->mtltxSche) | in ENET_QOS_SetMTL()
360 ENET_QOS_MTL_OPERATION_MODE_RAA(multiqCfg->mtlrxSche); in ENET_QOS_SetMTL()
362 for (index = 0; index < multiqCfg->txQueueUse; index++) in ENET_QOS_SetMTL()
365 …((uint32_t)ENET_QOS_MTL_TXFIFOSIZE / ((uint32_t)multiqCfg->txQueueUse * ENET_QOS_FIFOSIZE_UNIT)) -… in ENET_QOS_SetMTL()
367 … txqOpreg | ENET_QOS_MTL_TXQX_OP_MODE_TXQEN((uint32_t)multiqCfg->txQueueConfig[index].mode); in ENET_QOS_SetMTL()
368 if (multiqCfg->txQueueConfig[index].mode == kENET_QOS_AVB_Mode) in ENET_QOS_SetMTL()
370 ENET_QOS_AVBConfigure(base, multiqCfg->txQueueConfig[index].cbsConfig, index); in ENET_QOS_SetMTL()
374 base->MTL_QUEUE[index].MTL_TXQX_QNTM_WGHT = multiqCfg->txQueueConfig[index].weight; in ENET_QOS_SetMTL()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpc_enet/
Dfsl_enet.c233 enet_multiqueue_config_t *multiqCfg = config->multiqueueCfg; in ENET_SetMTL() local
253 if (multiqCfg != NULL) in ENET_SetMTL()
255 …base->MTL_OP_MODE = ENET_MTL_OP_MODE_SCHALG(multiqCfg->mtltxSche) | ENET_MTL_OP_MODE_RAA(multiqCfg in ENET_SetMTL()
257 base->MTL_RXQ_DMA_MAP = (uint32_t)multiqCfg->mtlrxQuemap; in ENET_SetMTL()
265 base->MTL_QUEUE[index].MTL_TXQX_QNTM_WGHT = multiqCfg->txqueweight[index]; in ENET_SetMTL()
266 …base->MTL_QUEUE[index].MTL_RXQX_CTRL = ENET_MTL_QUEUE_MTL_RXQX_CTRL_RXQ_WEGT(multiqCfg->rxqueweigh… in ENET_SetMTL()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/mcx_enet/
Dfsl_enet.c234 enet_multiqueue_config_t *multiqCfg = config->multiqueueCfg; in ENET_SetMTL() local
254 if (multiqCfg != NULL) in ENET_SetMTL()
257 …ENET_MTL_OPERATION_MODE_SCHALG(multiqCfg->mtltxSche) | ENET_MTL_OPERATION_MODE_RAA(multiqCfg->mtlr… in ENET_SetMTL()
259 base->MTL_RXQ_DMA_MAP0 = (uint32_t)multiqCfg->mtlrxQuemap; in ENET_SetMTL()
267 base->MTL_QUEUE[index].MTL_TXQX_QNTM_WGHT = multiqCfg->txqueweight[index]; in ENET_SetMTL()
268 …base->MTL_QUEUE[index].MTL_RXQX_CTRL = ENET_MTL_QUEUE_MTL_RXQX_CTRL_RXQ_WEGT(multiqCfg->rxqueweigh… in ENET_SetMTL()