/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 359 int mc_count = netdev_hw_addr_list_count(mc_list); in lbtf_op_prepare_multicast() local 361 if (!mc_count || mc_count > MRVDRV_MAX_MULTICAST_LIST_SIZE) in lbtf_op_prepare_multicast() 362 return mc_count; in lbtf_op_prepare_multicast() 364 priv->nr_of_multicastmacaddr = mc_count; in lbtf_op_prepare_multicast() 369 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 | 162 unsigned int mc_count; member
|
D | enic_main.c | 910 if (enic->mc_count == ENIC_MULTICAST_PERFECT_FILTERS) { in enic_mc_sync() 911 unsigned int mc_count = netdev_mc_count(netdev); in enic_mc_sync() local 914 ENIC_MULTICAST_PERFECT_FILTERS, mc_count); in enic_mc_sync() 920 enic->mc_count++; in enic_mc_sync() 930 enic->mc_count--; in enic_mc_unsync() 971 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/dec/tulip/ |
D | dmfe.c | 1040 int mc_count = netdev_mc_count(dev); in dmfe_set_filter_mode() local 1053 if (dev->flags & IFF_ALLMULTI || mc_count > DMFE_MAX_MULTICAST) { in dmfe_set_filter_mode() 1054 DMFE_DBUG(0, "Pass all multicast address", mc_count); in dmfe_set_filter_mode() 1061 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 | 1965 int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); in liquidio_set_mcast_list() local 1973 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list() 1974 nctrl.ncmd.s.more = mc_count; in liquidio_set_mcast_list() 1986 if (++mc > &nctrl.udd[mc_count]) in liquidio_set_mcast_list()
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 2073 int mc_count, i; in pch_gbe_set_multi() local 2088 mc_count = netdev_mc_count(netdev); in pch_gbe_set_multi() 2089 if ((netdev->flags & IFF_ALLMULTI) || mc_count >= PCH_GBE_MAR_ENTRIES) in pch_gbe_set_multi() 2121 ioread32(&hw->reg->RX_MODE), mc_count); in pch_gbe_set_multi()
|
/drivers/net/ |
D | virtio_net.c | 2044 int mc_count; in virtnet_set_rx_mode() local 2070 mc_count = netdev_mc_count(dev); in virtnet_set_rx_mode() 2072 buf = kzalloc(((uc_count + mc_count) * ETH_ALEN) + in virtnet_set_rx_mode() 2092 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode() 2098 sizeof(mac_data->entries) + (mc_count * ETH_ALEN)); in virtnet_set_rx_mode()
|
/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/staging/ks7010/ |
D | ks_hostif.c | 1892 int mc_count; in hostif_sme_multicast_set() local 1915 mc_count = netdev_mc_count(dev); in hostif_sme_multicast_set() 1923 ETH_ALEN * mc_count); in hostif_sme_multicast_set()
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 3158 int mc_count = netdev_mc_count(netdev); in bnad_set_rx_mcast_fltr() local 3168 if (mc_count > bna_attr(&bnad->bna)->num_mcmac) in bnad_set_rx_mcast_fltr() 3171 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr() 3180 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 | 616 u32 mc_count; member
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 2047 int mc_count = netdev_mc_count(net_dev); in dpaa2_eth_set_rx_mode() local 2067 if (mc_count + uc_count > max_mac) { in dpaa2_eth_set_rx_mode() 2070 uc_count + mc_count, max_mac); in dpaa2_eth_set_rx_mode()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 10699 int mc_count = 0; in bnxt_mc_list_updated() local 10704 if (mc_count >= BNXT_MAX_MC_ADDRS) { in bnxt_mc_list_updated() 10715 mc_count++; in bnxt_mc_list_updated() 10717 if (mc_count) in bnxt_mc_list_updated() 10720 if (mc_count != vnic->mc_list_count) { in bnxt_mc_list_updated() 10721 vnic->mc_list_count = mc_count; in bnxt_mc_list_updated()
|