Lines Matching refs:ops
96 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599()
98 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599()
100 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599()
102 mac->ops.flap_tx_laser = &ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599()
104 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
105 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
106 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
111 mac->ops.setup_link = &ixgbe_setup_mac_link_multispeed_fiber; in ixgbe_init_mac_link_ops_82599()
113 if ((mac->ops.get_media_type(hw) == in ixgbe_init_mac_link_ops_82599()
118 mac->ops.setup_link = &ixgbe_setup_mac_link_smartspeed; in ixgbe_init_mac_link_ops_82599()
120 mac->ops.setup_link = &ixgbe_setup_mac_link_82599; in ixgbe_init_mac_link_ops_82599()
132 hw->phy.ops.reset = NULL; in ixgbe_setup_sfp_modules_82599()
140 ret_val = hw->mac.ops.acquire_swfw_sync(hw, in ixgbe_setup_sfp_modules_82599()
145 if (hw->eeprom.ops.read(hw, ++data_offset, &data_value)) in ixgbe_setup_sfp_modules_82599()
150 if (hw->eeprom.ops.read(hw, ++data_offset, &data_value)) in ixgbe_setup_sfp_modules_82599()
155 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_MAC_CSR_SM); in ixgbe_setup_sfp_modules_82599()
164 ret_val = hw->mac.ops.prot_autoc_write(hw, in ixgbe_setup_sfp_modules_82599()
178 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_MAC_CSR_SM); in ixgbe_setup_sfp_modules_82599()
207 ret_val = hw->mac.ops.acquire_swfw_sync(hw, in prot_autoc_read_82599()
242 ret_val = hw->mac.ops.acquire_swfw_sync(hw, in prot_autoc_write_82599()
258 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_MAC_CSR_SM); in prot_autoc_write_82599()
310 phy->ops.read_i2c_byte = &ixgbe_read_i2c_byte_82599; in ixgbe_init_phy_ops_82599()
311 phy->ops.write_i2c_byte = &ixgbe_write_i2c_byte_82599; in ixgbe_init_phy_ops_82599()
315 ret_val = phy->ops.identify(hw); in ixgbe_init_phy_ops_82599()
321 if (mac->ops.get_media_type(hw) == ixgbe_media_type_copper) { in ixgbe_init_phy_ops_82599()
322 mac->ops.setup_link = &ixgbe_setup_copper_link_82599; in ixgbe_init_phy_ops_82599()
323 mac->ops.get_link_capabilities = in ixgbe_init_phy_ops_82599()
330 phy->ops.check_link = &ixgbe_check_phy_link_tnx; in ixgbe_init_phy_ops_82599()
331 phy->ops.setup_link = &ixgbe_setup_phy_link_tnx; in ixgbe_init_phy_ops_82599()
332 phy->ops.get_firmware_version = in ixgbe_init_phy_ops_82599()
510 hw->eeprom.ops.read(hw, IXGBE_EEPROM_CTRL_2, &ee_ctrl_2); in ixgbe_stop_mac_link_on_d3_82599()
542 status = hw->mac.ops.acquire_swfw_sync(hw, in ixgbe_start_mac_link_82599()
554 hw->mac.ops.release_swfw_sync(hw, IXGBE_GSSR_MAC_CSR_SM); in ixgbe_start_mac_link_82599()
674 status = hw->mac.ops.get_link_capabilities(hw, &link_speed, in ixgbe_setup_mac_link_multispeed_fiber()
690 status = hw->mac.ops.check_link(hw, &link_speed, &link_up, in ixgbe_setup_mac_link_multispeed_fiber()
723 if (hw->mac.ops.flap_tx_laser) in ixgbe_setup_mac_link_multispeed_fiber()
724 hw->mac.ops.flap_tx_laser(hw); in ixgbe_setup_mac_link_multispeed_fiber()
736 status = hw->mac.ops.check_link(hw, &link_speed, in ixgbe_setup_mac_link_multispeed_fiber()
752 status = hw->mac.ops.check_link(hw, &link_speed, &link_up, in ixgbe_setup_mac_link_multispeed_fiber()
786 if (hw->mac.ops.flap_tx_laser) in ixgbe_setup_mac_link_multispeed_fiber()
787 hw->mac.ops.flap_tx_laser(hw); in ixgbe_setup_mac_link_multispeed_fiber()
793 status = hw->mac.ops.check_link(hw, &link_speed, &link_up, in ixgbe_setup_mac_link_multispeed_fiber()
880 status = hw->mac.ops.check_link(hw, &link_speed, in ixgbe_setup_mac_link_smartspeed()
915 status = hw->mac.ops.check_link(hw, &link_speed, in ixgbe_setup_mac_link_smartspeed()
962 status = hw->mac.ops.get_link_capabilities(hw, &link_capabilities, in ixgbe_setup_mac_link_82599()
1019 status = hw->mac.ops.prot_autoc_write(hw, autoc, false); in ixgbe_setup_mac_link_82599()
1066 status = hw->phy.ops.setup_link_speed(hw, speed, in ixgbe_setup_copper_link_82599()
1091 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_82599()
1101 status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82599()
1108 status = hw->mac.ops.setup_sfp(hw); in ixgbe_reset_hw_82599()
1116 if (hw->phy.reset_disable == false && hw->phy.ops.reset != NULL) in ixgbe_reset_hw_82599()
1117 hw->phy.ops.reset(hw); in ixgbe_reset_hw_82599()
1131 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_82599()
1199 status = hw->mac.ops.prot_autoc_write(hw, in ixgbe_reset_hw_82599()
1216 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_82599()
1224 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_82599()
1227 hw->mac.ops.get_san_mac_addr(hw, hw->mac.san_addr); in ixgbe_reset_hw_82599()
1231 hw->mac.ops.set_rar(hw, hw->mac.num_rar_entries - 1, in ixgbe_reset_hw_82599()
1242 hw->mac.ops.get_wwn_prefix(hw, &hw->mac.wwnn_prefix, in ixgbe_reset_hw_82599()
1945 if (hw->mac.ops.get_media_type(hw) == ixgbe_media_type_copper) in ixgbe_identify_phy_82599()
1978 hw->mac.ops.disable_rx_buff(hw); in ixgbe_enable_rx_dma_82599()
1981 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx_dma_82599()
1983 hw->mac.ops.disable_rx(hw); in ixgbe_enable_rx_dma_82599()
1985 hw->mac.ops.enable_rx_buff(hw); in ixgbe_enable_rx_dma_82599()
2013 if (hw->eeprom.ops.read(hw, offset, &fw_offset)) in ixgbe_verify_fw_version_82599()
2021 if (hw->eeprom.ops.read(hw, offset, &fw_ptp_cfg_offset)) in ixgbe_verify_fw_version_82599()
2029 if (hw->eeprom.ops.read(hw, offset, &fw_version)) in ixgbe_verify_fw_version_82599()
2055 status = hw->eeprom.ops.read(hw, IXGBE_FW_PTR, &fw_offset); in ixgbe_verify_lesm_fw_enabled_82599()
2061 status = hw->eeprom.ops.read(hw, (fw_offset + in ixgbe_verify_lesm_fw_enabled_82599()
2070 status = hw->eeprom.ops.read(hw, (fw_lesm_param_offset + in ixgbe_verify_lesm_fw_enabled_82599()