Lines Matching refs:mac
31 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X550_x() local
37 if (mac->ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_get_invariants_X550_x()
281 status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227()
297 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227()
302 status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227()
321 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227()
323 status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227()
341 hw->mac.ops.release_swfw_sync(hw, swfw_mask); in ixgbe_check_cs4227()
462 ret = hw->mac.ops.acquire_swfw_sync(hw, gssr); in ixgbe_read_iosf_sb_reg_x550()
489 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_read_iosf_sb_reg_x550()
547 status = hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_read_ee_hostif_buffer_X550()
595 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_read_ee_hostif_buffer_X550()
768 if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) == 0) { in ixgbe_read_ee_hostif_X550()
770 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_read_ee_hostif_X550()
868 if (hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM) == 0) { in ixgbe_write_ee_hostif_X550()
870 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_write_ee_hostif_X550()
913 hw->mac.ops.set_lan_id(hw); in ixgbe_get_bus_info_X550em()
934 hw->mac.set_lben = true; in ixgbe_disable_rx_x550()
936 hw->mac.set_lben = false; in ixgbe_disable_rx_x550()
1014 status = hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_write_ee_hostif_buffer_X550()
1029 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_EEP_SM); in ixgbe_write_ee_hostif_buffer_X550()
1049 ret = hw->mac.ops.acquire_swfw_sync(hw, gssr); in ixgbe_write_iosf_sb_reg_x550()
1076 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_write_iosf_sb_reg_x550()
1341 if (hw->mac.ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_check_link_t_X550em()
1372 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_X550em() local
1374 switch (mac->ops.get_media_type(hw)) { in ixgbe_init_mac_link_ops_X550em()
1379 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_X550em()
1380 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_X550em()
1381 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_X550em()
1382 mac->ops.setup_link = ixgbe_setup_mac_link_multispeed_fiber; in ixgbe_init_mac_link_ops_X550em()
1383 mac->ops.setup_mac_link = ixgbe_setup_mac_link_sfp_x550em; in ixgbe_init_mac_link_ops_X550em()
1384 mac->ops.set_rate_select_speed = in ixgbe_init_mac_link_ops_X550em()
1388 mac->ops.setup_link = ixgbe_setup_mac_link_t_X550em; in ixgbe_init_mac_link_ops_X550em()
1389 mac->ops.check_link = ixgbe_check_link_t_X550em; in ixgbe_init_mac_link_ops_X550em()
1765 if (hw->mac.ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_setup_internal_phy_t_x550em()
1954 status = hw->mac.ops.setup_link(hw, lcd_speed, false); in ixgbe_enter_lplu_t_x550em()
1975 hw->mac.ops.set_lan_id(hw); in ixgbe_init_phy_ops_X550em()
1977 if (hw->mac.ops.get_media_type(hw) == ixgbe_media_type_fiber) { in ixgbe_init_phy_ops_X550em()
2133 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X550em()
2154 status = hw->mac.ops.setup_sfp(hw); in ixgbe_reset_hw_X550em()
2171 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_X550em()
2199 if (hw->mac.flags & IXGBE_FLAGS_DOUBLE_RESET_REQUIRED) { in ixgbe_reset_hw_X550em()
2200 hw->mac.flags &= ~IXGBE_FLAGS_DOUBLE_RESET_REQUIRED; in ixgbe_reset_hw_X550em()
2205 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X550em()
2211 hw->mac.num_rar_entries = 128; in ixgbe_reset_hw_X550em()
2212 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_X550em()
2466 .mac = ixgbe_mac_X550,
2476 .mac = ixgbe_mac_X550EM_x,