Lines Matching refs:ops
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()
134 hw->phy.ops.reset = NULL; in ixgbe_setup_sfp_modules_82599()
142 ret_val = hw->mac.ops.acquire_swfw_sync(hw, in ixgbe_setup_sfp_modules_82599()
147 if (hw->eeprom.ops.read(hw, ++data_offset, &data_value)) in ixgbe_setup_sfp_modules_82599()
152 if (hw->eeprom.ops.read(hw, ++data_offset, &data_value)) 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()
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()
312 phy->ops.read_i2c_byte = &ixgbe_read_i2c_byte_82599; in ixgbe_init_phy_ops_82599()
313 phy->ops.write_i2c_byte = &ixgbe_write_i2c_byte_82599; in ixgbe_init_phy_ops_82599()
317 ret_val = phy->ops.identify(hw); in ixgbe_init_phy_ops_82599()
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()
332 phy->ops.check_link = &ixgbe_check_phy_link_tnx; in ixgbe_init_phy_ops_82599()
333 phy->ops.setup_link = &ixgbe_setup_phy_link_tnx; in ixgbe_init_phy_ops_82599()
334 phy->ops.get_firmware_version = in ixgbe_init_phy_ops_82599()
512 hw->eeprom.ops.read(hw, IXGBE_EEPROM_CTRL_2, &ee_ctrl_2); in ixgbe_stop_mac_link_on_d3_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()
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()
873 status = hw->mac.ops.prot_autoc_write(hw, autoc, false); in ixgbe_setup_mac_link_82599()
920 status = hw->phy.ops.setup_link_speed(hw, speed, in ixgbe_setup_copper_link_82599()
945 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_82599()
955 status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82599()
962 status = hw->mac.ops.setup_sfp(hw); in ixgbe_reset_hw_82599()
970 if (hw->phy.reset_disable == false && hw->phy.ops.reset != NULL) in ixgbe_reset_hw_82599()
971 hw->phy.ops.reset(hw); in ixgbe_reset_hw_82599()
985 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_82599()
1053 status = hw->mac.ops.prot_autoc_write(hw, in ixgbe_reset_hw_82599()
1070 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_82599()
1078 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_82599()
1081 hw->mac.ops.get_san_mac_addr(hw, hw->mac.san_addr); in ixgbe_reset_hw_82599()
1085 hw->mac.ops.set_rar(hw, hw->mac.num_rar_entries - 1, in ixgbe_reset_hw_82599()
1096 hw->mac.ops.get_wwn_prefix(hw, &hw->mac.wwnn_prefix, in ixgbe_reset_hw_82599()
1832 if (hw->mac.ops.get_media_type(hw) == ixgbe_media_type_copper) in ixgbe_identify_phy_82599()
1865 hw->mac.ops.disable_rx_buff(hw); in ixgbe_enable_rx_dma_82599()
1868 hw->mac.ops.enable_rx(hw); in ixgbe_enable_rx_dma_82599()
1870 hw->mac.ops.disable_rx(hw); in ixgbe_enable_rx_dma_82599()
1872 hw->mac.ops.enable_rx_buff(hw); in ixgbe_enable_rx_dma_82599()
1900 if (hw->eeprom.ops.read(hw, offset, &fw_offset)) in ixgbe_verify_fw_version_82599()
1908 if (hw->eeprom.ops.read(hw, offset, &fw_ptp_cfg_offset)) in ixgbe_verify_fw_version_82599()
1916 if (hw->eeprom.ops.read(hw, offset, &fw_version)) in ixgbe_verify_fw_version_82599()
1942 status = hw->eeprom.ops.read(hw, IXGBE_FW_PTR, &fw_offset); in ixgbe_verify_lesm_fw_enabled_82599()
1948 status = hw->eeprom.ops.read(hw, (fw_offset + in ixgbe_verify_lesm_fw_enabled_82599()
1957 status = hw->eeprom.ops.read(hw, (fw_lesm_param_offset + in ixgbe_verify_lesm_fw_enabled_82599()