Lines Matching refs:phy

109 	if (hw->phy.multispeed_fiber) {  in ixgbe_init_mac_link_ops_82599()
115 (hw->phy.smart_speed == ixgbe_smart_speed_auto || in ixgbe_init_mac_link_ops_82599()
116 hw->phy.smart_speed == ixgbe_smart_speed_on) && in ixgbe_init_mac_link_ops_82599()
129 if (hw->phy.sfp_type != ixgbe_sfp_type_unknown) { in ixgbe_setup_sfp_modules_82599()
132 hw->phy.ops.reset = NULL; in ixgbe_setup_sfp_modules_82599()
292 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_init_phy_ops_82599() local
298 hw->phy.qsfp_shared_i2c_bus = true; in ixgbe_init_phy_ops_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()
328 switch (hw->phy.type) { 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()
357 if (hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core0 || in ixgbe_get_link_capabilities_82599()
358 hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core1 || in ixgbe_get_link_capabilities_82599()
359 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 || in ixgbe_get_link_capabilities_82599()
360 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1 || in ixgbe_get_link_capabilities_82599()
361 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 || in ixgbe_get_link_capabilities_82599()
362 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1) { in ixgbe_get_link_capabilities_82599()
431 if (hw->phy.multispeed_fiber) { in ixgbe_get_link_capabilities_82599()
436 if (hw->phy.media_type == ixgbe_media_type_fiber_qsfp) in ixgbe_get_link_capabilities_82599()
454 switch (hw->phy.type) { in ixgbe_get_media_type_82599()
699 switch (hw->phy.media_type) { in ixgbe_setup_mac_link_multispeed_fiber()
761 switch (hw->phy.media_type) { in ixgbe_setup_mac_link_multispeed_fiber()
814 hw->phy.autoneg_advertised = 0; in ixgbe_setup_mac_link_multispeed_fiber()
817 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_mac_link_multispeed_fiber()
820 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_mac_link_multispeed_fiber()
844 hw->phy.autoneg_advertised = 0; in ixgbe_setup_mac_link_smartspeed()
847 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_mac_link_smartspeed()
850 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_mac_link_smartspeed()
853 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_100_FULL; in ixgbe_setup_mac_link_smartspeed()
863 hw->phy.smart_speed_active = false; in ixgbe_setup_mac_link_smartspeed()
899 hw->phy.smart_speed_active = true; in ixgbe_setup_mac_link_smartspeed()
925 hw->phy.smart_speed_active = false; in ixgbe_setup_mac_link_smartspeed()
990 (hw->phy.smart_speed_active == false)) in ixgbe_setup_mac_link_82599()
1066 status = hw->phy.ops.setup_link_speed(hw, speed, in ixgbe_setup_copper_link_82599()
1101 status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82599()
1107 if (hw->phy.sfp_setup_needed) { in ixgbe_reset_hw_82599()
1109 hw->phy.sfp_setup_needed = false; 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()
1192 if ((hw->phy.multispeed_fiber && ixgbe_mng_enabled(hw)) || in ixgbe_reset_hw_82599()
1951 if (hw->phy.type == ixgbe_phy_unknown) { in ixgbe_identify_phy_82599()
1952 hw->phy.type = ixgbe_phy_none; in ixgbe_identify_phy_82599()
1957 if (hw->phy.type == ixgbe_phy_sfp_unsupported) in ixgbe_identify_phy_82599()
2008 if (hw->phy.media_type != ixgbe_media_type_fiber) in ixgbe_verify_fw_version_82599()
2202 if (hw->phy.qsfp_shared_i2c_bus == true) { in ixgbe_read_i2c_byte_82599()
2228 if (hw->phy.qsfp_shared_i2c_bus == true) { in ixgbe_read_i2c_byte_82599()
2255 if (hw->phy.qsfp_shared_i2c_bus == true) { in ixgbe_write_i2c_byte_82599()
2281 if (hw->phy.qsfp_shared_i2c_bus == true) { in ixgbe_write_i2c_byte_82599()