• Home
  • Raw
  • Download

Lines Matching refs:mac

90 	struct ixgbe_mac_info *mac = &hw->mac;  in ixgbe_init_mac_link_ops_82599()  local
95 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599()
97 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599()
99 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599()
101 mac->ops.flap_tx_laser = &ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599()
103 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
104 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
105 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
110 mac->ops.setup_link = &ixgbe_setup_mac_link_multispeed_fiber; in ixgbe_init_mac_link_ops_82599()
111 mac->ops.setup_mac_link = ixgbe_setup_mac_link_82599; in ixgbe_init_mac_link_ops_82599()
112 mac->ops.set_rate_select_speed = in ixgbe_init_mac_link_ops_82599()
115 if ((mac->ops.get_media_type(hw) == in ixgbe_init_mac_link_ops_82599()
120 mac->ops.setup_link = &ixgbe_setup_mac_link_smartspeed; in ixgbe_init_mac_link_ops_82599()
122 mac->ops.setup_link = &ixgbe_setup_mac_link_82599; in ixgbe_init_mac_link_ops_82599()
142 ret_val = hw->mac.ops.acquire_swfw_sync(hw, in ixgbe_setup_sfp_modules_82599()
157 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_MAC_CSR_SM); in ixgbe_setup_sfp_modules_82599()
166 ret_val = hw->mac.ops.prot_autoc_write(hw, in ixgbe_setup_sfp_modules_82599()
167 hw->mac.orig_autoc | IXGBE_AUTOC_LMS_10G_SERIAL, in ixgbe_setup_sfp_modules_82599()
180 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_MAC_CSR_SM); in ixgbe_setup_sfp_modules_82599()
209 ret_val = hw->mac.ops.acquire_swfw_sync(hw, in prot_autoc_read_82599()
244 ret_val = hw->mac.ops.acquire_swfw_sync(hw, in prot_autoc_write_82599()
260 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_MAC_CSR_SM); in prot_autoc_write_82599()
267 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_82599() local
271 mac->mcft_size = IXGBE_82599_MC_TBL_SIZE; in ixgbe_get_invariants_82599()
272 mac->vft_size = IXGBE_82599_VFT_TBL_SIZE; in ixgbe_get_invariants_82599()
273 mac->num_rar_entries = IXGBE_82599_RAR_ENTRIES; in ixgbe_get_invariants_82599()
274 mac->rx_pb_size = IXGBE_82599_RX_PB_SIZE; in ixgbe_get_invariants_82599()
275 mac->max_rx_queues = IXGBE_82599_MAX_RX_QUEUES; in ixgbe_get_invariants_82599()
276 mac->max_tx_queues = IXGBE_82599_MAX_TX_QUEUES; in ixgbe_get_invariants_82599()
277 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); in ixgbe_get_invariants_82599()
293 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_phy_ops_82599() local
323 if (mac->ops.get_media_type(hw) == ixgbe_media_type_copper) { in ixgbe_init_phy_ops_82599()
324 mac->ops.setup_link = &ixgbe_setup_copper_link_82599; in ixgbe_init_phy_ops_82599()
325 mac->ops.get_link_capabilities = in ixgbe_init_phy_ops_82599()
375 if (hw->mac.orig_link_settings_stored) in ixgbe_get_link_capabilities_82599()
376 autoc = hw->mac.orig_autoc; in ixgbe_get_link_capabilities_82599()
540 status = hw->mac.ops.acquire_swfw_sync(hw, in ixgbe_start_mac_link_82599()
552 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_MAC_CSR_SM); in ixgbe_start_mac_link_82599()
643 if (hw->mac.autotry_restart) { in ixgbe_flap_tx_laser_multispeed_fiber()
646 hw->mac.autotry_restart = false; in ixgbe_flap_tx_laser_multispeed_fiber()
734 status = hw->mac.ops.check_link(hw, &link_speed, in ixgbe_setup_mac_link_smartspeed()
769 status = hw->mac.ops.check_link(hw, &link_speed, in ixgbe_setup_mac_link_smartspeed()
816 status = hw->mac.ops.get_link_capabilities(hw, &link_capabilities, in ixgbe_setup_mac_link_82599()
827 if (hw->mac.orig_link_settings_stored) in ixgbe_setup_mac_link_82599()
828 orig_autoc = hw->mac.orig_autoc; in ixgbe_setup_mac_link_82599()
873 status = hw->mac.ops.prot_autoc_write(hw, autoc, false); in ixgbe_setup_mac_link_82599()
945 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_82599()
962 status = hw->mac.ops.setup_sfp(hw); in ixgbe_reset_hw_82599()
985 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_82599()
1015 if (hw->mac.flags & IXGBE_FLAGS_DOUBLE_RESET_REQUIRED) { in ixgbe_reset_hw_82599()
1016 hw->mac.flags &= ~IXGBE_FLAGS_DOUBLE_RESET_REQUIRED; in ixgbe_reset_hw_82599()
1035 if (hw->mac.orig_link_settings_stored == false) { in ixgbe_reset_hw_82599()
1036 hw->mac.orig_autoc = autoc; in ixgbe_reset_hw_82599()
1037 hw->mac.orig_autoc2 = autoc2; in ixgbe_reset_hw_82599()
1038 hw->mac.orig_link_settings_stored = true; in ixgbe_reset_hw_82599()
1049 hw->mac.orig_autoc = in ixgbe_reset_hw_82599()
1050 (hw->mac.orig_autoc & ~IXGBE_AUTOC_LMS_MASK) | in ixgbe_reset_hw_82599()
1053 if (autoc != hw->mac.orig_autoc) { in ixgbe_reset_hw_82599()
1054 status = hw->mac.ops.prot_autoc_write(hw, in ixgbe_reset_hw_82599()
1055 hw->mac.orig_autoc, in ixgbe_reset_hw_82599()
1062 (hw->mac.orig_autoc2 & IXGBE_AUTOC2_UPPER_MASK)) { in ixgbe_reset_hw_82599()
1064 autoc2 |= (hw->mac.orig_autoc2 & in ixgbe_reset_hw_82599()
1071 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_82599()
1078 hw->mac.num_rar_entries = 128; in ixgbe_reset_hw_82599()
1079 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_82599()
1082 hw->mac.ops.get_san_mac_addr(hw, hw->mac.san_addr); in ixgbe_reset_hw_82599()
1085 if (is_valid_ether_addr(hw->mac.san_addr)) { in ixgbe_reset_hw_82599()
1087 hw->mac.san_mac_rar_index = hw->mac.num_rar_entries - 1; in ixgbe_reset_hw_82599()
1089 hw->mac.ops.set_rar(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_82599()
1090 hw->mac.san_addr, 0, IXGBE_RAH_AV); in ixgbe_reset_hw_82599()
1093 hw->mac.ops.clear_vmdq(hw, hw->mac.san_mac_rar_index, in ixgbe_reset_hw_82599()
1097 hw->mac.num_rar_entries--; in ixgbe_reset_hw_82599()
1101 hw->mac.ops.get_wwn_prefix(hw, &hw->mac.wwnn_prefix, in ixgbe_reset_hw_82599()
1102 &hw->mac.wwpn_prefix); in ixgbe_reset_hw_82599()
1633 switch (hw->mac.type) { in ixgbe_fdir_set_input_mask_82599()
1814 hw->mac.autotry_restart = true; in ixgbe_start_hw_82599()
1835 if (hw->mac.ops.get_media_type(hw) == ixgbe_media_type_copper) in ixgbe_identify_phy_82599()
1868 hw->mac.ops.disable_rx_buff(hw); in ixgbe_enable_rx_dma_82599()
1871 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx_dma_82599()
1873 hw->mac.ops.disable_rx(hw); in ixgbe_enable_rx_dma_82599()
1875 hw->mac.ops.enable_rx_buff(hw); in ixgbe_enable_rx_dma_82599()
2267 .mac = ixgbe_mac_82599EB,