/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 125 static void housekeeping_init(struct zd_mac *mac); 126 static void housekeeping_enable(struct zd_mac *mac); 127 static void housekeeping_disable(struct zd_mac *mac); 128 static void beacon_init(struct zd_mac *mac); 129 static void beacon_enable(struct zd_mac *mac); 130 static void beacon_disable(struct zd_mac *mac); 131 static void set_rts_cts(struct zd_mac *mac, unsigned int short_preamble); 152 struct zd_mac *mac = zd_hw_mac(hw); in zd_check_signal() local 154 dev_dbg_f_cond(zd_mac_dev(mac), signal < 0 || signal > 100, in zd_check_signal() 170 struct zd_mac *mac = zd_hw_mac(hw); in zd_mac_preinit_hw() local [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/ |
D | xgmac.c | 41 static inline int macidx(const struct cmac *mac) in macidx() argument 43 return mac->offset / (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR); in macidx() 46 static void xaui_serdes_reset(struct cmac *mac) in xaui_serdes_reset() argument 54 struct adapter *adap = mac->adapter; in xaui_serdes_reset() 55 u32 ctrl = A_XGM_SERDES_CTRL0 + mac->offset; in xaui_serdes_reset() 57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset() 70 void t3b_pcs_reset(struct cmac *mac) in t3b_pcs_reset() argument 72 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, in t3b_pcs_reset() 75 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, 0, in t3b_pcs_reset() 79 int t3_mac_reset(struct cmac *mac) in t3_mac_reset() argument [all …]
|
/Linux-v5.4/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 83 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg) in read_mac_reg() argument 85 return pasemi_read_mac_reg(mac->dma_if, reg); in read_mac_reg() 88 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg, in write_mac_reg() argument 91 pasemi_write_mac_reg(mac->dma_if, reg, val); in write_mac_reg() 104 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac) in rx_ring() argument 106 return mac->rx; in rx_ring() 109 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac) in tx_ring() argument 111 return mac->tx; in tx_ring() 124 static int mac_to_intf(struct pasemi_mac *mac) in mac_to_intf() argument 126 struct pci_dev *pdev = mac->pdev; in mac_to_intf() [all …]
|
D | pasemi_mac_ethtool.c | 57 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_get_msglevel() local 58 return mac->msg_enable; in pasemi_mac_ethtool_get_msglevel() 65 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_set_msglevel() local 66 mac->msg_enable = level; in pasemi_mac_ethtool_set_msglevel() 74 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_get_ringparam() local 77 ering->tx_pending = RING_USED(mac->tx)/2; in pasemi_mac_ethtool_get_ringparam() 79 ering->rx_pending = RING_USED(mac->rx)/4; in pasemi_mac_ethtool_get_ringparam() 95 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_get_ethtool_stats() local 98 data[0] = pasemi_read_dma_reg(PAS_DMA_RXINT_RCMDSTA(mac->dma_if)) in pasemi_mac_get_ethtool_stats() 101 data[1+i] = pasemi_read_mac_reg(mac->dma_if, PAS_MAC_RMON(i)); in pasemi_mac_get_ethtool_stats()
|
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 34 struct qtnf_wmac *mac = NULL; in qtnf_core_get_mac() local 41 mac = bus->mac[macid]; in qtnf_core_get_mac() 43 if (unlikely(!mac)) { in qtnf_core_get_mac() 48 return mac; in qtnf_core_get_mac() 76 struct qtnf_wmac *mac; in qtnf_netdev_hard_start_xmit() local 92 mac = vif->mac; in qtnf_netdev_hard_start_xmit() 93 if (unlikely(!mac)) { in qtnf_netdev_hard_start_xmit() 110 return qtnf_bus_data_tx(mac->bus, skb); in qtnf_netdev_hard_start_xmit() 154 struct qtnf_wmac *mac; in qtnf_netdev_tx_timeout() local 157 if (unlikely(!vif || !vif->mac || !vif->mac->bus)) in qtnf_netdev_tx_timeout() [all …]
|
D | cfg80211.c | 77 struct qtnf_wmac *mac; in qtnf_validate_iface_combinations() local 85 mac = wiphy_priv(wiphy); in qtnf_validate_iface_combinations() 86 if (!mac) in qtnf_validate_iface_combinations() 90 vif = &mac->iflist[i]; in qtnf_validate_iface_combinations() 121 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 130 qtnf_scan_done(vif->mac, true); in qtnf_change_virtual_intf() 135 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 154 qtnf_scan_done(vif->mac, true); in qtnf_del_virtual_intf() 170 pr_err("VIF%u.%u: failed to delete VIF\n", vif->mac->macid, in qtnf_del_virtual_intf() 186 struct qtnf_wmac *mac; in qtnf_add_virtual_intf() local [all …]
|
D | commands.c | 208 vif->mac->macid, vif->vifid, len); in qtnf_cmd_start_ap_can_fit() 227 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_start_ap() 321 qtnf_bus_lock(vif->mac->bus); in qtnf_cmd_send_start_ap() 322 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_start_ap() 329 qtnf_bus_unlock(vif->mac->bus); in qtnf_cmd_send_start_ap() 339 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_stop_ap() 345 qtnf_bus_lock(vif->mac->bus); in qtnf_cmd_send_stop_ap() 346 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_stop_ap() 351 qtnf_bus_unlock(vif->mac->bus); in qtnf_cmd_send_stop_ap() 362 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_register_mgmt() [all …]
|
D | event.c | 18 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() argument 34 mac->macid, vif->vifid, len, sizeof(*sta_assoc)); in qtnf_event_handle_sta_assoc() 40 mac->macid, vif->vifid); in qtnf_event_handle_sta_assoc() 51 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, in qtnf_event_handle_sta_assoc() 110 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() argument 119 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth() 126 mac->macid, vif->vifid); in qtnf_event_handle_sta_deauth() 133 pr_debug("VIF%u.%u: MAC:%pM reason:%x\n", mac->macid, vif->vifid, in qtnf_event_handle_sta_deauth() 148 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_bss_join() 163 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_join() [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326.c | 361 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler() argument 366 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable() argument 371 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable() argument 376 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear() argument 382 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address() argument 385 int port = mac->instance->index; in mac_set_address() 387 vsc_write(mac->adapter, REG_MAC_LOW_ADDR(port), in mac_set_address() 389 vsc_write(mac->adapter, REG_MAC_HIGH_ADDR(port), in mac_set_address() 392 vsc_read(mac->adapter, REG_ING_FFILT_UM_EN, &val); in mac_set_address() 394 vsc_write(mac->adapter, REG_ING_FFILT_UM_EN, val | (port << 28)); in mac_set_address() [all …]
|
/Linux-v5.4/drivers/staging/netlogic/ |
D | platform_net.c | 67 int mac; in gmac_controller2_init() local 92 for (mac = 0; mac < 4; mac++) { in gmac_controller2_init() 93 ndata1.tx_stnid[mac] = FMN_STNID_GMAC1_TX0 + mac; in gmac_controller2_init() 94 ndata1.phy_addr[mac] = mac + 4 + 0x10; in gmac_controller2_init() 96 xlr_resource_init(&xlr_net1_res[mac * 2], in gmac_controller2_init() 97 xlr_gmac_offsets[mac + 4], in gmac_controller2_init() 98 xlr_gmac_irqs[mac + 4]); in gmac_controller2_init() 107 int mac; in xls_gmac_init() local 155 for (mac = 0; mac < 4; mac++) { in xls_gmac_init() 156 ndata0.tx_stnid[mac] = FMN_STNID_GMAC0_TX0 + mac; in xls_gmac_init() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 16 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() local 33 mac->ops.set_lan_id(hw); in e1000e_get_bus_info_pcie() 120 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in e1000e_init_rx_addrs() 125 hw->mac.ops.rar_set(hw, mac_addr, i); in e1000e_init_rx_addrs() 152 if (hw->mac.type == e1000_82573) in e1000_check_alt_mac_addr_generic() 191 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); in e1000_check_alt_mac_addr_generic() 198 return hw->mac.rar_entry_count; in e1000e_rar_get_count_generic() 252 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in e1000_hash_mc_addr() 285 switch (hw->mac.mc_filter_type) { in e1000_hash_mc_addr() 322 memset(&hw->mac.mta_shadow, 0, sizeof(hw->mac.mta_shadow)); in e1000e_update_mc_addr_list_generic() [all …]
|
D | 82571.c | 62 switch (hw->mac.type) { in e1000_init_phy_params_82571() 90 switch (hw->mac.type) { in e1000_init_phy_params_82571() 143 switch (hw->mac.type) { in e1000_init_nvm_params_82571() 175 switch (hw->mac.type) { in e1000_init_nvm_params_82571() 194 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82571() local 205 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571() 207 mac->ops.check_for_link = e1000e_check_for_fiber_link; in e1000_init_mac_params_82571() 208 mac->ops.get_link_up_info = in e1000_init_mac_params_82571() 216 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571() 218 mac->ops.check_for_link = e1000_check_for_serdes_link_82571; in e1000_init_mac_params_82571() [all …]
|
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/ |
D | hwif.c | 28 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk() local 33 mac->mode = &chain_mode_ops; in stmmac_dwmac_mode_quirk() 37 mac->mode = &ring_mode_ops; in stmmac_dwmac_mode_quirk() 43 struct mac_device_info *mac = priv->hw; in stmmac_dwmac1_quirks() local 56 mac->desc = &enh_desc_ops; in stmmac_dwmac1_quirks() 59 mac->desc = &ndesc_ops; in stmmac_dwmac1_quirks() 80 const void *mac; member 100 .mac = &dwmac100_ops, 118 .mac = &dwmac1000_ops, 136 .mac = &dwmac4_ops, [all …]
|
/Linux-v5.4/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_param.c | 324 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() 328 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options() 329 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options() 336 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() 339 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options() 340 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options() 347 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() 351 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options() 352 hw->mac.link_duplex = DUPLEX_FULL; in pch_gbe_check_copper_options() 359 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() [all …]
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 148 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local 169 mac->link_state = MAC80211_NOLINK; in rtl_op_stop() 170 eth_zero_addr(mac->bssid); in rtl_op_stop() 171 mac->vendor = PEER_UNKNOWN; in rtl_op_stop() 212 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local 216 if (mac->vif) { in rtl_op_add_interface() 218 "vif has been set!! mac->vif = 0x%p\n", mac->vif); in rtl_op_add_interface() 229 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface() 232 if (mac->beacon_enabled == 1) { in rtl_op_add_interface() 235 mac->beacon_enabled = 0; in rtl_op_add_interface() [all …]
|
/Linux-v5.4/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 32 asmlinkage void ce_aes_ccm_auth_data(u8 mac[], u8 const in[], u32 abytes, 36 u32 const rk[], u32 rounds, u8 mac[], 40 u32 const rk[], u32 rounds, u8 mac[], 43 asmlinkage void ce_aes_ccm_final(u8 mac[], u8 const ctr[], u32 const rk[], 105 static void ccm_update_mac(struct crypto_aes_ctx *key, u8 mac[], u8 const in[], in ccm_update_mac() argument 110 ce_aes_ccm_auth_data(mac, in, abytes, macp, key->key_enc, in ccm_update_mac() 117 crypto_xor(&mac[*macp], in, added); in ccm_update_mac() 125 aes_encrypt(key, mac, mac); in ccm_update_mac() 126 crypto_xor(mac, in, AES_BLOCK_SIZE); in ccm_update_mac() 133 aes_encrypt(key, mac, mac); in ccm_update_mac() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/ |
D | vf.c | 51 s32 status = hw->mac.ops.start_hw(hw); in ixgbevf_init_hw_vf() 53 hw->mac.ops.get_mac_addr(hw, hw->mac.addr); in ixgbevf_init_hw_vf() 74 hw->mac.ops.stop_adapter(hw); in ixgbevf_reset_hw_vf() 116 ether_addr_copy(hw->mac.perm_addr, addr); in ixgbevf_reset_hw_vf() 118 hw->mac.mc_filter_type = msgbuf[IXGBE_VF_MC_TYPE_WORD]; in ixgbevf_reset_hw_vf() 137 &hw->mac.perm_addr[i]); in ixgbevf_hv_reset_hw_vf() 166 number_of_queues = hw->mac.max_rx_queues; in ixgbevf_stop_hw_vf() 184 number_of_queues = hw->mac.max_tx_queues; in ixgbevf_stop_hw_vf() 212 switch (hw->mac.mc_filter_type) { in ixgbevf_mta_vector() 241 ether_addr_copy(mac_addr, hw->mac.perm_addr); in ixgbevf_get_mac_addr_vf() [all …]
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | test_tc_tunnel.sh | 103 for mac in none mpls eth ; do 104 echo "ip gre $mac" 105 $0 ipv4 gre $mac 100 107 echo "ip6 gre $mac" 108 $0 ipv6 ip6gre $mac 100 110 echo "ip gre $mac gso" 111 $0 ipv4 gre $mac 2000 113 echo "ip6 gre $mac gso" 114 $0 ipv6 ip6gre $mac 2000 116 echo "ip udp $mac" [all …]
|
/Linux-v5.4/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 193 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_config() local 195 struct mtk_eth *eth = mac->hw; in mtk_mac_config() 201 mac->interface != state->interface) { in mtk_mac_config() 205 if (mac->id) in mtk_mac_config() 207 if (!MTK_HAS_CAPS(mac->hw->soc->caps, in mtk_mac_config() 219 err = mtk_gmac_rgmii_path_setup(eth, mac->id); in mtk_mac_config() 228 err = mtk_gmac_sgmii_path_setup(eth, mac->id); in mtk_mac_config() 235 err = mtk_gmac_gephy_path_setup(eth, mac->id); in mtk_mac_config() 245 if (!mac->id && state->interface != PHY_INTERFACE_MODE_SGMII && in mtk_mac_config() 247 MTK_HAS_CAPS(mac->hw->soc->caps, MTK_GMAC1_TRGMII)) { in mtk_mac_config() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_vf.c | 13 u8 *perm_addr = hw->mac.perm_addr; in fm10k_stop_hw_vf() 35 tdlen = hw->mac.itr_scale << FM10K_TDLEN_ITR_SCALE_SHIFT; in fm10k_stop_hw_vf() 40 for (i = 0; i < hw->mac.max_queues; i++) { in fm10k_stop_hw_vf() 70 hw->mac.reset_while_pending++; in fm10k_reset_hw_vf() 126 hw->mac.max_queues = i; in fm10k_init_hw_vf() 129 hw->mac.default_vid = (fm10k_read_reg(hw, FM10K_TXQCTL(0)) & in fm10k_init_hw_vf() 135 hw->mac.itr_scale = (fm10k_read_reg(hw, FM10K_TDLEN(0)) & in fm10k_init_hw_vf() 142 hw->mac.max_queues = 0; in fm10k_init_hw_vf() 214 ether_addr_copy(hw->mac.perm_addr, perm_addr); in fm10k_msg_mac_vlan_vf() 215 hw->mac.default_vid = vid & (FM10K_VLAN_TABLE_VID_MAX - 1); in fm10k_msg_mac_vlan_vf() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x540.c | 31 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X540() local 37 mac->mcft_size = IXGBE_X540_MC_TBL_SIZE; in ixgbe_get_invariants_X540() 38 mac->vft_size = IXGBE_X540_VFT_TBL_SIZE; in ixgbe_get_invariants_X540() 39 mac->num_rar_entries = IXGBE_X540_RAR_ENTRIES; in ixgbe_get_invariants_X540() 40 mac->rx_pb_size = IXGBE_X540_RX_PB_SIZE; in ixgbe_get_invariants_X540() 41 mac->max_rx_queues = IXGBE_X540_MAX_RX_QUEUES; in ixgbe_get_invariants_X540() 42 mac->max_tx_queues = IXGBE_X540_MAX_TX_QUEUES; in ixgbe_get_invariants_X540() 43 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); in ixgbe_get_invariants_X540() 76 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X540() 84 status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask); in ixgbe_reset_hw_X540() [all …]
|
D | ixgbe_82599.c | 65 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599() local 70 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599() 72 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599() 74 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599() 76 mac->ops.flap_tx_laser = &ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599() 78 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 79 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 80 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 85 mac->ops.setup_link = &ixgbe_setup_mac_link_multispeed_fiber; in ixgbe_init_mac_link_ops_82599() 86 mac->ops.setup_mac_link = ixgbe_setup_mac_link_82599; in ixgbe_init_mac_link_ops_82599() [all …]
|
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | cpsw.h | 13 #define mac_hi(mac) (((mac)[0] << 0) | ((mac)[1] << 8) | \ argument 14 ((mac)[2] << 16) | ((mac)[3] << 24)) 15 #define mac_lo(mac) (((mac)[4] << 0) | ((mac)[5] << 8)) argument
|
/Linux-v5.4/drivers/net/ethernet/intel/igbvf/ |
D | vf.c | 25 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_vf() local 28 mac->mta_reg_count = 128; in e1000_init_mac_params_vf() 30 mac->rar_entry_count = 1; in e1000_init_mac_params_vf() 34 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf() 36 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf() 38 mac->ops.check_for_link = e1000_check_for_link_vf; in e1000_init_mac_params_vf() 40 mac->ops.get_link_up_info = e1000_get_link_up_info_vf; in e1000_init_mac_params_vf() 42 mac->ops.update_mc_addr_list = e1000_update_mc_addr_list_vf; in e1000_init_mac_params_vf() 44 mac->ops.rar_set = e1000_rar_set_vf; in e1000_init_mac_params_vf() 46 mac->ops.read_mac_addr = e1000_read_mac_addr_vf; in e1000_init_mac_params_vf() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 76 hw->mac.ops.write_vfta(hw, offset, 0); in igb_clear_vfta() 115 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in igb_init_rx_addrs() 120 hw->mac.ops.rar_set(hw, mac_addr, i); in igb_init_rx_addrs() 239 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set() 270 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set() 296 if (hw->mac.type >= e1000_82580) in igb_check_alt_mac_addr() 340 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); in igb_check_alt_mac_addr() 405 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set() 431 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in igb_hash_mc_addr() 464 switch (hw->mac.mc_filter_type) { in igb_hash_mc_addr() [all …]
|