Lines Matching defs:phy
40 struct e1000_phy_info *phy = &hw->phy;
43 if (hw->phy.media_type != e1000_media_type_copper) {
44 phy->type = e1000_phy_none;
47 phy->ops.power_up = e1000_power_up_phy_copper;
48 phy->ops.power_down = e1000_power_down_phy_copper_80003es2lan;
51 phy->addr = 1;
52 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT;
53 phy->reset_delay_us = 100;
54 phy->type = e1000_phy_gg82563;
59 /* Verify phy id */
60 if (phy->id != GG82563_E_PHY_ID)
122 hw->phy.media_type = e1000_media_type_internal_serdes;
128 hw->phy.media_type = e1000_media_type_copper;
146 /* set lan id for port to determine which phy lock to use */
490 * This is a function pointer entry point called by the phy module.
519 * function pointer entry point called by the phy module.
547 /* Reset the phy to commit changes. */
556 if (hw->phy.autoneg_wait_to_complete) {
557 e_dbg("Waiting for forced speed/duplex link on GG82563 phy.\n");
584 /* Resetting the phy means we need to verify the TX_CLK corresponds
607 * This is a function pointer entry point called by the phy module.
611 struct e1000_phy_info *phy = &hw->phy;
624 phy->min_cable_length = e1000_gg82563_cable_length_table[index];
625 phy->max_cable_length = e1000_gg82563_cable_length_table[index + 5];
627 phy->cable_length = (phy->min_cable_length + phy->max_cable_length) / 2;
645 if (hw->phy.media_type == e1000_media_type_copper) {
647 hw->phy.ops.cfg_on_link_up(hw);
854 if (hw->phy.media_type != e1000_media_type_copper)
882 struct e1000_phy_info *phy = &hw->phy;
912 switch (phy->mdix) {
932 if (phy->disable_polarity_correction)
940 ret_val = hw->phy.ops.commit(hw);
1036 * polling the phy; this fixes erroneous timeouts at 10Mbps.
1085 if (hw->phy.media_type == e1000_media_type_copper) {
1289 hw->phy.ops.check_reset_block(hw)))