Lines Matching refs:phy_ctrl
4679 u16 phy_ctrl; in e1000_smartspeed() local
4695 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed()
4696 if (phy_ctrl & CR_1000T_MS_ENABLE) { in e1000_smartspeed()
4697 phy_ctrl &= ~CR_1000T_MS_ENABLE; in e1000_smartspeed()
4699 phy_ctrl); in e1000_smartspeed()
4703 &phy_ctrl)) { in e1000_smartspeed()
4704 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed()
4707 phy_ctrl); in e1000_smartspeed()
4713 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed()
4714 phy_ctrl |= CR_1000T_MS_ENABLE; in e1000_smartspeed()
4715 e1000_write_phy_reg(hw, PHY_1000T_CTRL, phy_ctrl); in e1000_smartspeed()
4717 !e1000_read_phy_reg(hw, PHY_CTRL, &phy_ctrl)) { in e1000_smartspeed()
4718 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed()
4720 e1000_write_phy_reg(hw, PHY_CTRL, phy_ctrl); in e1000_smartspeed()