Home
last modified time | relevance | path

Searched refs:multicast_filter_bins (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c543 mac->multicast_filter_bins = priv->plat->multicast_filter_bins; in dwmac1000_setup()
547 if (mac->multicast_filter_bins) in dwmac1000_setup()
548 mac->mcast_bits_log2 = ilog2(mac->multicast_filter_bins); in dwmac1000_setup()
Ddwmac-loongson.c19 plat->multicast_filter_bins = HASH_TABLE_SIZE; in loongson_default_data()
44 plat->multicast_filter_bins = 256; in loongson_default_data()
Dstmmac_platform.c476 plat->multicast_filter_bins = HASH_TABLE_SIZE; in stmmac_probe_config_dt()
499 &plat->multicast_filter_bins); in stmmac_probe_config_dt()
504 plat->multicast_filter_bins = dwmac1000_validate_mcast_bins( in stmmac_probe_config_dt()
505 &pdev->dev, plat->multicast_filter_bins); in stmmac_probe_config_dt()
Ddwxgmac2_core.c458 (netdev_mc_count(dev) > hw->multicast_filter_bins)) { in dwxgmac2_set_filter()
1641 mac->multicast_filter_bins = priv->plat->multicast_filter_bins; in dwxgmac2_setup()
1645 if (mac->multicast_filter_bins) in dwxgmac2_setup()
1646 mac->mcast_bits_log2 = ilog2(mac->multicast_filter_bins); in dwxgmac2_setup()
1678 mac->multicast_filter_bins = priv->plat->multicast_filter_bins; in dwxlgmac2_setup()
1682 if (mac->multicast_filter_bins) in dwxlgmac2_setup()
1683 mac->mcast_bits_log2 = ilog2(mac->multicast_filter_bins); in dwxlgmac2_setup()
Dstmmac_pci.c31 plat->multicast_filter_bins = HASH_TABLE_SIZE; in common_default_data()
84 plat->multicast_filter_bins = HASH_TABLE_SIZE; in snps_gmac5_default_data()
Ddwmac4_core.c598 int numhashregs = (hw->multicast_filter_bins >> 5); in dwmac4_set_filter()
627 (netdev_mc_count(dev) > hw->multicast_filter_bins)) { in dwmac4_set_filter()
1311 mac->multicast_filter_bins = priv->plat->multicast_filter_bins; in dwmac4_setup()
1315 if (mac->multicast_filter_bins) in dwmac4_setup()
1316 mac->mcast_bits_log2 = ilog2(mac->multicast_filter_bins); in dwmac4_setup()
Ddwmac-generic.c43 plat_dat->multicast_filter_bins = HASH_TABLE_SIZE; in dwmac_generic_probe()
Dcommon.h524 unsigned int multicast_filter_bins; member
Ddwmac-ipq806x.c347 plat_dat->multicast_filter_bins = 0; in ipq806x_gmac_probe()
Ddwmac-intel.c429 plat->multicast_filter_bins = HASH_TABLE_SIZE; in common_default_data()
557 plat->multicast_filter_bins = HASH_TABLE_SIZE; in intel_mgbe_common_data()
Dstmmac_selftests.c543 if (netdev_mc_count(priv->dev) >= priv->hw->multicast_filter_bins) in stmmac_test_hfilt()
633 if (netdev_mc_count(priv->dev) >= priv->hw->multicast_filter_bins) in stmmac_test_mcfilt()
679 if (netdev_mc_count(priv->dev) >= priv->hw->multicast_filter_bins) in stmmac_test_ucfilt()
Dstmmac_main.c6780 priv->hw->multicast_filter_bins = in stmmac_hw_init()
6783 ilog2(priv->hw->multicast_filter_bins); in stmmac_hw_init()