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)
121 hw->phy.media_type = e1000_media_type_internal_serdes;
127 hw->phy.media_type = e1000_media_type_copper;
145 /* set lan id for port to determine which phy lock to use */
489 * This is a function pointer entry point called by the phy module.
518 * function pointer entry point called by the phy module.
546 /* Reset the phy to commit changes. */
555 if (hw->phy.autoneg_wait_to_complete) {
556 e_dbg("Waiting for forced speed/duplex link on GG82563 phy.\n");
583 /* Resetting the phy means we need to verify the TX_CLK corresponds
606 * This is a function pointer entry point called by the phy module.
610 struct e1000_phy_info *phy = &hw->phy;
623 phy->min_cable_length = e1000_gg82563_cable_length_table[index];
624 phy->max_cable_length = e1000_gg82563_cable_length_table[index + 5];
626 phy->cable_length = (phy->min_cable_length + phy->max_cable_length) / 2;
644 if (hw->phy.media_type == e1000_media_type_copper) {
646 hw->phy.ops.cfg_on_link_up(hw);
853 if (hw->phy.media_type != e1000_media_type_copper)
881 struct e1000_phy_info *phy = &hw->phy;
911 switch (phy->mdix) {
931 if (phy->disable_polarity_correction)
939 ret_val = hw->phy.ops.commit(hw);
1035 * polling the phy; this fixes erroneous timeouts at 10Mbps.
1085 if (hw->phy.media_type == e1000_media_type_copper) {
1288 hw->phy.ops.check_reset_block(hw)))