Lines Matching refs:ops

37 	if (mac->ops.get_media_type(hw) != ixgbe_media_type_copper)  in ixgbe_get_invariants_X550_x()
38 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x()
69 return hw->phy.ops.read_i2c_combined_unlocked(hw, IXGBE_CS4227, reg, in ixgbe_read_cs4227()
83 return hw->phy.ops.write_i2c_combined_unlocked(hw, IXGBE_CS4227, reg, in ixgbe_write_cs4227()
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()
684 hw->eeprom.ops.init_params(hw); in ixgbe_calc_checksum_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()
796 status = hw->eeprom.ops.read(hw, 0, &checksum); in ixgbe_validate_eeprom_checksum_X550()
802 status = hw->eeprom.ops.calc_checksum(hw); in ixgbe_validate_eeprom_checksum_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()
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()
1322 return hw->phy.ops.setup_link_speed(hw, speed, autoneg_wait); in ixgbe_setup_mac_link_t_X550em()
1341 if (hw->mac.ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_check_link_t_X550em()
1354 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_STATUS, in ixgbe_check_link_t_X550em()
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()
1410 hw->phy.ops.reset = NULL; in ixgbe_setup_sfp_modules_X550em()
1469 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_CHIP_STD_INT_FLAG, in ixgbe_get_lasi_ext_t_x550em()
1477 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_VEN_FLAG, in ixgbe_get_lasi_ext_t_x550em()
1486 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_ALARM_1, in ixgbe_get_lasi_ext_t_x550em()
1501 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_CHIP_STD_INT_FLAG, in ixgbe_get_lasi_ext_t_x550em()
1508 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_VENDOR_TX_ALARM2, in ixgbe_get_lasi_ext_t_x550em()
1540 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_PMA_TX_VEN_LASI_INT_MASK, in ixgbe_enable_lasi_ext_t_x550em()
1547 status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_PMA_TX_VEN_LASI_INT_MASK, in ixgbe_enable_lasi_ext_t_x550em()
1553 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_INT_MASK, in ixgbe_enable_lasi_ext_t_x550em()
1561 status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_GLOBAL_INT_MASK, in ixgbe_enable_lasi_ext_t_x550em()
1568 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_VEN_MASK, in ixgbe_enable_lasi_ext_t_x550em()
1577 status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_VEN_MASK, in ixgbe_enable_lasi_ext_t_x550em()
1584 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_STD_MASK, in ixgbe_enable_lasi_ext_t_x550em()
1592 status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_STD_MASK, in ixgbe_enable_lasi_ext_t_x550em()
1620 if (lsc && phy->ops.setup_internal_link) in ixgbe_handle_lasi_ext_t_x550em()
1621 return phy->ops.setup_internal_link(hw); in ixgbe_handle_lasi_ext_t_x550em()
1730 ret = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_STATUS, in ixgbe_ext_phy_t_x550em_get_link()
1736 ret = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_STATUS, in ixgbe_ext_phy_t_x550em_get_link()
1765 if (hw->mac.ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_setup_internal_phy_t_x550em()
1776 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_VENDOR_STAT, in ixgbe_setup_internal_phy_t_x550em()
1839 status = hw->phy.ops.read_reg(hw, IXGBE_AUTO_NEG_LP_STATUS, in ixgbe_get_lcd_t_x550em()
1888 status = hw->eeprom.ops.read(hw, NVM_INIT_CTRL_3, in ixgbe_enter_lplu_t_x550em()
1910 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_VENDOR_STAT, in ixgbe_enter_lplu_t_x550em()
1932 status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_VENDOR_TX_ALARM, in ixgbe_enter_lplu_t_x550em()
1938 status = hw->phy.ops.read_reg(hw, IXGBE_MII_10GBASE_T_AUTONEG_CTRL_REG, in ixgbe_enter_lplu_t_x550em()
1944 status = hw->phy.ops.read_reg(hw, in ixgbe_enter_lplu_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()
1995 ret_val = phy->ops.identify(hw); in ixgbe_init_phy_ops_X550em()
2000 phy->ops.reset = NULL; in ixgbe_init_phy_ops_X550em()
2005 phy->ops.setup_link = ixgbe_setup_kx4_x550em; in ixgbe_init_phy_ops_X550em()
2006 phy->ops.read_reg = ixgbe_read_phy_reg_x550em; in ixgbe_init_phy_ops_X550em()
2007 phy->ops.write_reg = ixgbe_write_phy_reg_x550em; in ixgbe_init_phy_ops_X550em()
2010 phy->ops.setup_link = ixgbe_setup_kr_x550em; in ixgbe_init_phy_ops_X550em()
2011 phy->ops.read_reg = ixgbe_read_phy_reg_x550em; in ixgbe_init_phy_ops_X550em()
2012 phy->ops.write_reg = ixgbe_write_phy_reg_x550em; in ixgbe_init_phy_ops_X550em()
2024 phy->ops.setup_internal_link = in ixgbe_init_phy_ops_X550em()
2035 phy->ops.enter_lplu = ixgbe_enter_lplu_t_x550em; in ixgbe_init_phy_ops_X550em()
2037 phy->ops.handle_lasi = ixgbe_handle_lasi_ext_t_x550em; in ixgbe_init_phy_ops_X550em()
2038 phy->ops.reset = ixgbe_reset_phy_t_X550em; in ixgbe_init_phy_ops_X550em()
2085 status = hw->phy.ops.read_reg(hw, in ixgbe_init_ext_t_x550em()
2096 status = hw->phy.ops.read_reg(hw, in ixgbe_init_ext_t_x550em()
2105 status = hw->phy.ops.write_reg(hw, in ixgbe_init_ext_t_x550em()
2133 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X550em()
2143 status = hw->phy.ops.init(hw); in ixgbe_reset_hw_X550em()
2154 status = hw->mac.ops.setup_sfp(hw); in ixgbe_reset_hw_X550em()
2159 if (!hw->phy.reset_disable && hw->phy.ops.reset) in ixgbe_reset_hw_X550em()
2160 hw->phy.ops.reset(hw); in ixgbe_reset_hw_X550em()
2171 hw->mac.ops.check_link(hw, &link_speed, &link_up, false); in ixgbe_reset_hw_X550em()
2205 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X550em()
2212 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_X550em()