Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/netc_hw/
Dfsl_netc_hw_si.c9 …atus_t NETC_SIConfigTxBDR(ENETC_SI_Type *base, uint8_t ring, const netc_tx_bdr_config_t *bdrConfig) in NETC_SIConfigTxBDR() argument
14 base->SIMSITRVR[ring] = bdrConfig->msixEntryIdx; in NETC_SIConfigTxBDR()
17 address = (uintptr_t)bdrConfig->bdArray; in NETC_SIConfigTxBDR()
27 base->BDR[ring].TBLENR = ENETC_SI_TBLENR_LENGTH((uint32_t)bdrConfig->len / 8U); in NETC_SIConfigTxBDR()
28 …base->BDR[ring].TBIER = ENETC_SI_TBIER_TXFIE(bdrConfig->enIntr) | ENETC_SI_TBIER_TXTIE(bdrConfig-… in NETC_SIConfigTxBDR()
29 base->BDR[ring].TBMR = ENETC_SI_TBMR_EN_MASK | ENETC_SI_TBMR_WRR(bdrConfig->wrrWeight) | in NETC_SIConfigTxBDR()
30 … ENETC_SI_TBMR_PRIO(bdrConfig->priority) | ENETC_SI_TBMR_VIH(bdrConfig->isVlanInsert); in NETC_SIConfigTxBDR()
35 …atus_t NETC_SIConfigRxBDR(ENETC_SI_Type *base, uint8_t ring, const netc_rx_bdr_config_t *bdrConfig) in NETC_SIConfigRxBDR() argument
41 …if ((bdrConfig->extendDescEn && (((bdrConfig->len & 0xFU) != 0U) || ((bdrConfig->len / 2U) > 65536… in NETC_SIConfigRxBDR()
42 … ((!bdrConfig->extendDescEn) && (((bdrConfig->len & 0x7U) != 0U) || (bdrConfig->len > 65536U)))) in NETC_SIConfigRxBDR()
[all …]
Dfsl_netc_hw_si.h189 …tus_t NETC_SIConfigTxBDR(ENETC_SI_Type *base, uint8_t ring, const netc_tx_bdr_config_t *bdrConfig);
199 …tus_t NETC_SIConfigRxBDR(ENETC_SI_Type *base, uint8_t ring, const netc_rx_bdr_config_t *bdrConfig);
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/
Dfsl_netc_endpoint.c106 …xBufferAllocAll(ep_handle_t *handle, const ep_config_t *config, const netc_bdr_config_t *bdrConfig) in EP_RxBufferAllocAll() argument
118 rxRingConfig = &bdrConfig->rxBdrConfig[ring]; in EP_RxBufferAllocAll()
182 …_DescriptorInit(ep_handle_t *handle, const ep_config_t *config, const netc_bdr_config_t *bdrConfig) in EP_DescriptorInit() argument
184 assert(bdrConfig != NULL); in EP_DescriptorInit()
198 …if (NETC_SIConfigTxBDR(handle->hw.si, ring + idxStart, &bdrConfig->txBdrConfig[ring]) != kStatus_S… in EP_DescriptorInit()
202 handle->txBdRing[ring].bdBase = bdrConfig->txBdrConfig[ring].bdArray; in EP_DescriptorInit()
203 handle->txBdRing[ring].dirtyBase = bdrConfig->txBdrConfig[ring].dirtyArray; in EP_DescriptorInit()
204 handle->txBdRing[ring].len = bdrConfig->txBdrConfig[ring].len; in EP_DescriptorInit()
208 … if (NETC_SIConfigRxBDR(handle->hw.si, ring, &bdrConfig->rxBdrConfig[ring]) != kStatus_Success) in EP_DescriptorInit()
212 handle->rxBdRing[ring].extendDesc = bdrConfig->rxBdrConfig[ring].extendDescEn; in EP_DescriptorInit()
[all …]
Dfsl_netc_endpoint.h365 …handle_t *handle, uint8_t *macAddr, const ep_config_t *config, const netc_bdr_config_t *bdrConfig);