Home
last modified time | relevance | path

Searched refs:addn_macs (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-hw.c299 unsigned int addn_macs; in xlgmac_set_mac_addn_addrs() local
303 addn_macs = pdata->hw_feat.addn_mac; in xlgmac_set_mac_addn_addrs()
305 if (netdev_uc_count(netdev) > addn_macs) { in xlgmac_set_mac_addn_addrs()
310 addn_macs--; in xlgmac_set_mac_addn_addrs()
313 if (netdev_mc_count(netdev) > addn_macs) { in xlgmac_set_mac_addn_addrs()
318 addn_macs--; in xlgmac_set_mac_addn_addrs()
324 while (addn_macs--) in xlgmac_set_mac_addn_addrs()
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c1017 unsigned int addn_macs; in xgbe_set_mac_addn_addrs() local
1020 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs()
1022 if (netdev_uc_count(netdev) > addn_macs) { in xgbe_set_mac_addn_addrs()
1027 addn_macs--; in xgbe_set_mac_addn_addrs()
1030 if (netdev_mc_count(netdev) > addn_macs) { in xgbe_set_mac_addn_addrs()
1035 addn_macs--; in xgbe_set_mac_addn_addrs()
1041 while (addn_macs--) in xgbe_set_mac_addn_addrs()