Lines Matching full:phy_ctrl
1121 u16 phy_ctrl; in e1000_copper_link_autoneg() local
1145 ret_val = e1e_rphy(hw, MII_BMCR, &phy_ctrl); in e1000_copper_link_autoneg()
1149 phy_ctrl |= (BMCR_ANENABLE | BMCR_ANRESTART); in e1000_copper_link_autoneg()
1150 ret_val = e1e_wphy(hw, MII_BMCR, phy_ctrl); in e1000_copper_link_autoneg()
1458 * @phy_ctrl: pointer to current value of MII_BMCR
1467 void e1000e_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl) in e1000e_phy_force_speed_duplex_setup() argument
1484 *phy_ctrl &= ~BMCR_ANENABLE; in e1000e_phy_force_speed_duplex_setup()
1489 *phy_ctrl &= ~BMCR_FULLDPLX; in e1000e_phy_force_speed_duplex_setup()
1493 *phy_ctrl |= BMCR_FULLDPLX; in e1000e_phy_force_speed_duplex_setup()
1500 *phy_ctrl |= BMCR_SPEED100; in e1000e_phy_force_speed_duplex_setup()
1501 *phy_ctrl &= ~BMCR_SPEED1000; in e1000e_phy_force_speed_duplex_setup()
1505 *phy_ctrl &= ~(BMCR_SPEED1000 | BMCR_SPEED100); in e1000e_phy_force_speed_duplex_setup()
2113 u16 phy_ctrl; in e1000e_phy_sw_reset() local
2115 ret_val = e1e_rphy(hw, MII_BMCR, &phy_ctrl); in e1000e_phy_sw_reset()
2119 phy_ctrl |= BMCR_RESET; in e1000e_phy_sw_reset()
2120 ret_val = e1e_wphy(hw, MII_BMCR, phy_ctrl); in e1000e_phy_sw_reset()
2694 (!(er32(PHY_CTRL) & E1000_PHY_CTRL_GBE_DISABLE))) in e1000_access_phy_wakeup_reg_bm()