/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 360 int mc_count = netdev_hw_addr_list_count(mc_list); in lbtf_op_prepare_multicast() local 362 if (!mc_count || mc_count > MRVDRV_MAX_MULTICAST_LIST_SIZE) in lbtf_op_prepare_multicast() 363 return mc_count; in lbtf_op_prepare_multicast() 365 priv->nr_of_multicastmacaddr = mc_count; in lbtf_op_prepare_multicast() 370 return mc_count; in lbtf_op_prepare_multicast()
|
/drivers/net/wireless/intersil/orinoco/ |
D | hw.c | 681 priv->mc_count = 0; in orinoco_hw_program_rids() 1075 int mc_count, int promisc) in __orinoco_hw_set_multicast_list() argument 1094 if (!promisc && (mc_count || priv->mc_count)) { in __orinoco_hw_set_multicast_list() 1100 if (i == mc_count) in __orinoco_hw_set_multicast_list() 1107 HERMES_BYTES_TO_RECLEN(mc_count * ETH_ALEN), in __orinoco_hw_set_multicast_list() 1113 priv->mc_count = mc_count; in __orinoco_hw_set_multicast_list()
|
D | hw.h | 47 int mc_count, int promisc);
|
D | orinoco.h | 142 int promiscuous, mc_count; member
|
D | main.c | 1701 int promisc, mc_count; in __orinoco_set_multicast_list() local 1708 mc_count = 0; in __orinoco_set_multicast_list() 1711 mc_count = netdev_mc_count(dev); in __orinoco_set_multicast_list() 1714 err = __orinoco_hw_set_multicast_list(priv, dev, mc_count, promisc); in __orinoco_set_multicast_list()
|
/drivers/net/ethernet/3com/ |
D | 3c509.c | 975 int mc_count = netdev_mc_count(dev); in set_multicast_list() local 979 if (old != mc_count) { in set_multicast_list() 980 old = mc_count; in set_multicast_list() 982 dev->name, mc_count); in set_multicast_list() 990 else if (mc_count || (dev->flags&IFF_ALLMULTI)) { in set_multicast_list()
|
/drivers/net/fddi/ |
D | defxx.c | 1484 bp->mc_count = 0; in dfx_open() 2301 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2306 bp->mc_count = netdev_mc_count(dev); /* Add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2322 …DBG_printk("%s: Multicast address table updated! Added %d addresses.\n", dev->name, bp->mc_count); in dfx_ctl_set_multicast_list() 2398 if ((bp->uc_count + bp->mc_count) > PI_CMD_ADDR_FILTER_K_SIZE) in dfx_ctl_set_mac_address() 2401 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_mac_address() 2497 for (i=0; i < (int)bp->mc_count; i++) in dfx_ctl_update_cam()
|
D | defxx.h | 1745 u32 mc_count; /* number of multicast addresses */ member
|
/drivers/net/ethernet/cisco/enic/ |
D | enic.h | 149 unsigned int mc_count; member
|
D | enic_main.c | 909 if (enic->mc_count == ENIC_MULTICAST_PERFECT_FILTERS) { in enic_mc_sync() 910 unsigned int mc_count = netdev_mc_count(netdev); in enic_mc_sync() local 913 ENIC_MULTICAST_PERFECT_FILTERS, mc_count); in enic_mc_sync() 919 enic->mc_count++; in enic_mc_sync() 929 enic->mc_count--; in enic_mc_unsync() 970 enic->mc_count = 0; in enic_reset_addr_lists()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1133 int rc = 0, mc_count; in qede_configure_mcast_filtering() local 1156 mc_count = netdev_mc_count(ndev); in qede_configure_mcast_filtering() 1157 if (mc_count <= 64) { in qede_configure_mcast_filtering() 1167 if ((ndev->flags & IFF_ALLMULTI) || (mc_count > 64)) { in qede_configure_mcast_filtering() 1173 mc_macs, mc_count); in qede_configure_mcast_filtering()
|
/drivers/net/wireless/ |
D | rndis_wlan.c | 1571 int mc_count; in set_multicast_list() local 1591 mc_count = netdev_mc_count(usbdev->net); in set_multicast_list() 1592 if (mc_count > priv->multicast_size) { in set_multicast_list() 1594 } else if (mc_count) { in set_multicast_list() 1597 mc_addrs = kmalloc_array(mc_count, ETH_ALEN, GFP_ATOMIC); in set_multicast_list() 1612 if (mc_count) { in set_multicast_list() 1615 mc_addrs, mc_count * ETH_ALEN); in set_multicast_list() 1623 mc_count, priv->multicast_size, ret); in set_multicast_list()
|
/drivers/net/ethernet/asix/ |
D | ax88796c_main.c | 94 int mc_count = netdev_mc_count(ndev); in ax88796c_set_hw_multicast() local 104 } else if (ndev->flags & IFF_ALLMULTI || mc_count > AX_MAX_MCAST) { in ax88796c_set_hw_multicast() 107 } else if (mc_count == 0) { in ax88796c_set_hw_multicast()
|
/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 1039 int mc_count = netdev_mc_count(dev); in dmfe_set_filter_mode() local 1052 if (dev->flags & IFF_ALLMULTI || mc_count > DMFE_MAX_MULTICAST) { in dmfe_set_filter_mode() 1053 DMFE_DBUG(0, "Pass all multicast address", mc_count); in dmfe_set_filter_mode() 1060 DMFE_DBUG(0, "Set multicast address", mc_count); in dmfe_set_filter_mode()
|
/drivers/net/usb/ |
D | aqc111.c | 532 int mc_count = 0; in aqc111_set_rx_mode() local 534 mc_count = netdev_mc_count(net); in aqc111_set_rx_mode() 541 } else if ((net->flags & IFF_ALLMULTI) || mc_count > AQ_MAX_MCAST) { in aqc111_set_rx_mode()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_main.c | 1080 int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); in liquidio_set_mcast_list() local 1094 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list() 1095 nctrl.ncmd.s.more = mc_count; in liquidio_set_mcast_list() 1105 if (++mc > &nctrl.udd[mc_count]) in liquidio_set_mcast_list()
|
D | lio_main.c | 1961 int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); in liquidio_set_mcast_list() local 1969 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list() 1970 nctrl.ncmd.s.more = mc_count; in liquidio_set_mcast_list() 1982 if (++mc > &nctrl.udd[mc_count]) in liquidio_set_mcast_list()
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 2068 int mc_count, i; in pch_gbe_set_multi() local 2083 mc_count = netdev_mc_count(netdev); in pch_gbe_set_multi() 2084 if ((netdev->flags & IFF_ALLMULTI) || mc_count >= PCH_GBE_MAR_ENTRIES) in pch_gbe_set_multi() 2116 ioread32(&hw->reg->RX_MODE), mc_count); in pch_gbe_set_multi()
|
/drivers/net/wireless/ath/ath6kl/ |
D | main.c | 1158 int mc_count = netdev_mc_count(ndev); in ath6kl_set_multicast_list() local 1172 !!(mc_count > ATH6K_MAX_MC_FILTERS_PER_LIST); in ath6kl_set_multicast_list()
|
/drivers/net/wireless/marvell/ |
D | mwl8k.c | 2691 int mc_count = 0; in __mwl8k_cmd_mac_multicast_adr() local 2694 mc_count = netdev_hw_addr_list_count(mc_list); in __mwl8k_cmd_mac_multicast_adr() 2696 if (allmulti || mc_count > priv->num_mcaddrs) { in __mwl8k_cmd_mac_multicast_adr() 2698 mc_count = 0; in __mwl8k_cmd_mac_multicast_adr() 2701 size = sizeof(*cmd) + mc_count * ETH_ALEN; in __mwl8k_cmd_mac_multicast_adr() 2714 } else if (mc_count) { in __mwl8k_cmd_mac_multicast_adr() 2719 cmd->numaddr = cpu_to_le16(mc_count); in __mwl8k_cmd_mac_multicast_adr()
|
/drivers/net/ |
D | virtio_net.c | 2205 int mc_count; in virtnet_set_rx_mode() local 2231 mc_count = netdev_mc_count(dev); in virtnet_set_rx_mode() 2233 buf = kzalloc(((uc_count + mc_count) * ETH_ALEN) + in virtnet_set_rx_mode() 2253 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode() 2259 sizeof(mac_data->entries) + (mc_count * ETH_ALEN)); in virtnet_set_rx_mode()
|
/drivers/staging/ks7010/ |
D | ks_hostif.c | 1888 int mc_count; in hostif_sme_multicast_set() local 1911 mc_count = netdev_mc_count(dev); in hostif_sme_multicast_set() 1919 ETH_ALEN * mc_count); in hostif_sme_multicast_set()
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 3156 int mc_count = netdev_mc_count(netdev); in bnad_set_rx_mcast_fltr() local 3166 if (mc_count > bna_attr(&bnad->bna)->num_mcmac) in bnad_set_rx_mcast_fltr() 3169 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr() 3178 ret = bna_rx_mcast_listset(bnad->rx_info[0].rx, mc_count + 1, mac_list); in bnad_set_rx_mcast_fltr()
|
/drivers/net/ethernet/emulex/benet/ |
D | be.h | 615 u32 mc_count; member
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 2330 int mc_count = netdev_mc_count(net_dev); in dpaa2_eth_set_rx_mode() local 2350 if (mc_count + uc_count > max_mac) { in dpaa2_eth_set_rx_mode() 2353 uc_count + mc_count, max_mac); in dpaa2_eth_set_rx_mode()
|