Home
last modified time | relevance | path

Searched refs:ipv (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/netc_hw/
Dfsl_netc_hw_si.h208 static inline void NETC_SIMapVlanToIpv(ENETC_SI_Type *base, uint8_t pcpDei, uint8_t ipv) in NETC_SIMapVlanToIpv() argument
212 base->SIVLANIPVMR0 |= ENETC_SI_SIVLANIPVMR0_PCP_DEI_0(ipv) << (pcpDei * 4U); in NETC_SIMapVlanToIpv()
217 base->SIVLANIPVMR1 |= ENETC_SI_SIVLANIPVMR1_PCP_DEI_8(ipv) << (pcpDei * 4U); in NETC_SIMapVlanToIpv()
247 static inline void NETC_SIMapIpvToRing(ENETC_SI_Type *base, uint8_t ipv, uint8_t ring) in NETC_SIMapIpvToRing() argument
249 base->SIIPVBDRMR0 |= ENETC_SI_SIIPVBDRMR0_IPV0BDR(ring) << (ipv * 4U); in NETC_SIMapIpvToRing()
Dfsl_netc_hw.c98 uint32_t ipv[2] = {0}; in NETC_RxQosCInit() local
102ipv[0] |= ((uint32_t)profile->ipv[i] & NETC_SW_ENETC_VLANIPVMPR0_PCP_DEI_0_MASK) << (4U * i); in NETC_RxQosCInit()
103ipv[1] |= ((uint32_t)profile->ipv[i + 8U] & NETC_SW_ENETC_VLANIPVMPR0_PCP_DEI_0_MASK) << (4U * i); in NETC_RxQosCInit()
113 base->NUM_PROFILE[1].VLANIPVMPR0 = ipv[0]; in NETC_RxQosCInit()
114 base->NUM_PROFILE[1].VLANIPVMPR1 = ipv[1]; in NETC_RxQosCInit()
120 base->NUM_PROFILE[0].VLANIPVMPR0 = ipv[0]; in NETC_RxQosCInit()
121 base->NUM_PROFILE[0].VLANIPVMPR1 = ipv[1]; in NETC_RxQosCInit()
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/
Dfsl_netc_endpoint.h1077 static inline status_t EP_RxMapVlanToIpv(ep_handle_t *handle, netc_vlan_t vlan, uint8_t ipv) in EP_RxMapVlanToIpv() argument
1081 if (ipv > 7U) in EP_RxMapVlanToIpv()
1087 NETC_SIMapVlanToIpv(handle->hw.si, (uint8_t)(vlan.pcp << 1U | vlan.dei), ipv); in EP_RxMapVlanToIpv()
1101 static inline status_t EP_RxMapIpvToRing(ep_handle_t *handle, uint8_t ipv, uint8_t ring) in EP_RxMapIpvToRing() argument
1103 if ((ipv > 7U) || (ring >= handle->cfg.ringPerBdrGroup)) in EP_RxMapIpvToRing()
1109 NETC_SIMapIpvToRing(handle->hw.si, ipv, ring); in EP_RxMapIpvToRing()
Dfsl_netc.h380 …uint8_t ipv[16]; /*!< Index is created from PCP (3 bits) + DEI (1 bit) field. Value is the mapped … member
1307 uint32_t ipv : 4; /*!< Internal Priority Value */ member
1495 uint32_t ipv : 4; /*!< Internal Priority Value, active when opiv is set to 1 */ member
1586 uint32_t ipv : 4; /*!< Internal Priority Value, active when opiv is set to 1 */ member
1867 uint8_t ipv : 4; /*!< Internal Priority Value (IPV), Valid if oipv is 1 */ member
1953 uint32_t ipv : 4; /*!< Internal Priority Value for Gate Entry */ member
3840 uint8_t ipv; /*!< Mirrored packet's IPV (internal priority value) */ member
Dfsl_netc_switch.c229 config->rxqosCfg.profiles[i].ipv[j * 2U] = (uint8_t)j; in SWT_GetDefaultConfig()
230 config->rxqosCfg.profiles[i].ipv[j * 2U + 1U] = (uint8_t)j; in SWT_GetDefaultConfig()
561 NETC_SW_IMDCR0_DR(config->dr) | NETC_SW_IMDCR0_IPV(config->ipv) | in SWT_RxMirrorConfig()
729 … NETC_SI_TXDESCRIP_RD_PORT(swtPort) | NETC_SI_TXDESCRIP_RD_IPV(ringOrQueue.ipv) | in SWT_SendFrame()
Dfsl_netc_switch.h250 uint8_t ipv : 3; /*!< Internal Priority Value, use for Direct Switch Enqueue Tx option */ member