Searched refs:hashIndex (Results 1 – 3 of 3) sorted by relevance
| /hal_nxp-latest/mcux/mcux-sdk/drivers/netc/netc_hw/ |
| D | fsl_netc_hw_enetc.c | 200 …_EnetcAddMacAddrHash(NETC_ENETC_Type *base, uint8_t si, netc_packet_type_t type, uint8_t hashIndex) in NETC_EnetcAddMacAddrHash() argument 206 if (hashIndex < 32U) in NETC_EnetcAddMacAddrHash() 208 base->NUM_SI[si].PSIUMHFR0 |= ((uint32_t)1U << hashIndex); in NETC_EnetcAddMacAddrHash() 212 base->NUM_SI[si].PSIUMHFR1 |= ((uint32_t)1U << (hashIndex - 32U)); in NETC_EnetcAddMacAddrHash() 217 if (hashIndex < 32U) in NETC_EnetcAddMacAddrHash() 219 base->NUM_SI[si].PSIMMHFR0 |= ((uint32_t)1U << hashIndex); in NETC_EnetcAddMacAddrHash() 223 base->NUM_SI[si].PSIMMHFR1 |= ((uint32_t)1U << (hashIndex - 32U)); in NETC_EnetcAddMacAddrHash() 228 …_EnetcDelMacAddrHash(NETC_ENETC_Type *base, uint8_t si, netc_packet_type_t type, uint8_t hashIndex) in NETC_EnetcDelMacAddrHash() argument 234 if (hashIndex < 32U) in NETC_EnetcDelMacAddrHash() 236 base->NUM_SI[si].PSIUMHFR0 &= ~((uint32_t)1U << hashIndex); in NETC_EnetcDelMacAddrHash() [all …]
|
| D | fsl_netc_hw_enetc.h | 156 …EnetcAddMacAddrHash(NETC_ENETC_Type *base, uint8_t si, netc_packet_type_t type, uint8_t hashIndex); 166 …EnetcDelMacAddrHash(NETC_ENETC_Type *base, uint8_t si, netc_packet_type_t type, uint8_t hashIndex); 175 void NETC_EnetcAddVlanHash(NETC_ENETC_Type *base, uint8_t si, uint8_t hashIndex); 184 void NETC_EnetcDelVlanHash(NETC_ENETC_Type *base, uint8_t si, uint8_t hashIndex);
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/netc/ |
| D | fsl_netc_endpoint.c | 1848 uint8_t hashIndex = 0; in EP_RxL2MFAddHashEntry() local 1859 hashIndex ^= (uint8_t)(mac & 0x3FU); in EP_RxL2MFAddHashEntry() 1863 NETC_EnetcAddMacAddrHash(handle->hw.base, siNum, type, hashIndex); in EP_RxL2MFAddHashEntry() 1868 handle->unicastHashCount[hashIndex]++; in EP_RxL2MFAddHashEntry() 1872 handle->multicastHashCount[hashIndex]++; in EP_RxL2MFAddHashEntry() 1883 uint8_t hashIndex = 0; in EP_RxL2MFDelHashEntry() local 1894 hashIndex ^= (uint8_t)(mac & 0x3FU); in EP_RxL2MFDelHashEntry() 1900 if (handle->unicastHashCount[hashIndex] == 0U) in EP_RxL2MFDelHashEntry() 1907 if (--handle->unicastHashCount[hashIndex] == 0U) in EP_RxL2MFDelHashEntry() 1909 NETC_EnetcDelMacAddrHash(handle->hw.base, siNum, type, hashIndex); in EP_RxL2MFDelHashEntry() [all …]
|