/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 78 static bool dpaa2_mac_phy_mode_mismatch(struct dpaa2_mac *mac, in dpaa2_mac_phy_mode_mismatch() argument 90 return (interface != mac->if_mode); in dpaa2_mac_phy_mode_mismatch() 100 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_validate() local 104 dpaa2_mac_phy_mode_mismatch(mac, state->interface)) { in dpaa2_mac_validate() 149 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_config() local 150 struct dpmac_link_state *dpmac_state = &mac->state; in dpaa2_mac_config() 158 err = dpmac_set_link_state(mac->mc_io, 0, in dpaa2_mac_config() 159 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_config() 161 netdev_err(mac->net_dev, "%s: dpmac_set_link_state() = %d\n", in dpaa2_mac_config() 171 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_link_up() local [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 42 struct qtnf_wmac *mac = NULL; in qtnf_core_get_mac() local 50 mac = bus->mac[macid]; in qtnf_core_get_mac() 52 if (unlikely(!mac)) { in qtnf_core_get_mac() 57 return mac; in qtnf_core_get_mac() 84 queue_work(vif->mac->bus->hprio_workqueue, &vif->high_pri_tx_work); in qtnf_packet_send_hi_pri() 93 struct qtnf_wmac *mac; in qtnf_netdev_hard_start_xmit() local 109 mac = vif->mac; in qtnf_netdev_hard_start_xmit() 110 if (unlikely(!mac)) { in qtnf_netdev_hard_start_xmit() 133 return qtnf_bus_data_tx(mac->bus, skb, mac->macid, vif->vifid); in qtnf_netdev_hard_start_xmit() 156 struct qtnf_wmac *mac; in qtnf_netdev_tx_timeout() local [all …]
|
D | cfg80211.c | 78 struct qtnf_wmac *mac; in qtnf_validate_iface_combinations() local 86 mac = wiphy_priv(wiphy); in qtnf_validate_iface_combinations() 87 if (!mac) in qtnf_validate_iface_combinations() 91 vif = &mac->iflist[i]; in qtnf_validate_iface_combinations() 112 vif = qtnf_mac_get_base_vif(mac); in qtnf_validate_iface_combinations() 117 mac->macid); in qtnf_validate_iface_combinations() 137 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 146 qtnf_scan_done(vif->mac, true); in qtnf_change_virtual_intf() 151 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 170 qtnf_scan_done(vif->mac, true); in qtnf_del_virtual_intf() [all …]
|
D | commands.c | 215 vif->mac->macid, vif->vifid, len); in qtnf_cmd_start_ap_can_fit() 248 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_start_ap() 356 qtnf_bus_lock(vif->mac->bus); in qtnf_cmd_send_start_ap() 357 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_start_ap() 364 qtnf_bus_unlock(vif->mac->bus); in qtnf_cmd_send_start_ap() 374 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_stop_ap() 380 qtnf_bus_lock(vif->mac->bus); in qtnf_cmd_send_stop_ap() 381 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_stop_ap() 386 qtnf_bus_unlock(vif->mac->bus); in qtnf_cmd_send_stop_ap() 397 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_register_mgmt() [all …]
|
D | event.c | 19 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() 102 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() argument 111 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth() 118 mac->macid, vif->vifid); in qtnf_event_handle_sta_deauth() 125 pr_debug("VIF%u.%u: MAC:%pM reason:%x\n", mac->macid, vif->vifid, in qtnf_event_handle_sta_deauth() 140 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_bss_join() 154 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_join() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | hwif.c | 40 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk() local 45 mac->mode = &chain_mode_ops; in stmmac_dwmac_mode_quirk() 49 mac->mode = &ring_mode_ops; in stmmac_dwmac_mode_quirk() 55 struct mac_device_info *mac = priv->hw; in stmmac_dwmac1_quirks() local 68 mac->desc = &enh_desc_ops; in stmmac_dwmac1_quirks() 71 mac->desc = &ndesc_ops; in stmmac_dwmac1_quirks() 99 const void *mac; member 119 .mac = &dwmac100_ops, 137 .mac = &dwmac1000_ops, 155 .mac = &dwmac4_ops, [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 150 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local 171 mac->link_state = MAC80211_NOLINK; in rtl_op_stop() 172 eth_zero_addr(mac->bssid); in rtl_op_stop() 173 mac->vendor = PEER_UNKNOWN; in rtl_op_stop() 214 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local 218 if (mac->vif) { in rtl_op_add_interface() 220 "vif has been set!! mac->vif = 0x%p\n", mac->vif); in rtl_op_add_interface() 231 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface() 234 if (mac->beacon_enabled == 1) { in rtl_op_add_interface() 237 mac->beacon_enabled = 0; in rtl_op_add_interface() [all …]
|
/kernel/linux/linux-5.10/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[], 99 static void ccm_update_mac(struct crypto_aes_ctx *key, u8 mac[], u8 const in[], in ccm_update_mac() argument 104 ce_aes_ccm_auth_data(mac, in, abytes, macp, key->key_enc, in ccm_update_mac() 111 crypto_xor(&mac[*macp], in, added); in ccm_update_mac() 119 aes_encrypt(key, mac, mac); in ccm_update_mac() 120 crypto_xor(mac, in, AES_BLOCK_SIZE); in ccm_update_mac() 127 aes_encrypt(key, mac, mac); in ccm_update_mac() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_tc_tunnel.sh | 108 for mac in none mpls eth ; do 109 echo "ip gre $mac" 110 $0 ipv4 gre $mac 100 112 echo "ip6 gre $mac" 113 $0 ipv6 ip6gre $mac 100 115 echo "ip gre $mac gso" 116 $0 ipv4 gre $mac 2000 118 echo "ip6 gre $mac gso" 119 $0 ipv6 ip6gre $mac 2000 121 echo "ip udp $mac" [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 214 struct mtk_mac *mac = container_of(config, struct mtk_mac, in mtk_mac_config() local 216 struct mtk_eth *eth = mac->hw; in mtk_mac_config() 222 mac->interface != state->interface) { in mtk_mac_config() 226 if (mac->id) in mtk_mac_config() 228 if (!MTK_HAS_CAPS(mac->hw->soc->caps, in mtk_mac_config() 240 err = mtk_gmac_rgmii_path_setup(eth, mac->id); in mtk_mac_config() 249 err = mtk_gmac_sgmii_path_setup(eth, mac->id); in mtk_mac_config() 256 err = mtk_gmac_gephy_path_setup(eth, mac->id); in mtk_mac_config() 266 if (!mac->id && state->interface != PHY_INTERFACE_MODE_SGMII && in mtk_mac_config() 268 MTK_HAS_CAPS(mac->hw->soc->caps, MTK_GMAC1_TRGMII)) { in mtk_mac_config() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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() 240 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set() 271 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set() 297 if (hw->mac.type >= e1000_82580) in igb_check_alt_mac_addr() 341 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); in igb_check_alt_mac_addr() 406 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set() 432 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in igb_hash_mc_addr() 465 switch (hw->mac.mc_filter_type) { in igb_hash_mc_addr() [all …]
|