Lines Matching refs:phy_ctrl
4680 u16 phy_ctrl; in e1000_smartspeed() local
4694 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed()
4695 if (phy_ctrl & CR_1000T_MS_ENABLE) { in e1000_smartspeed()
4696 phy_ctrl &= ~CR_1000T_MS_ENABLE; in e1000_smartspeed()
4698 phy_ctrl); in e1000_smartspeed()
4702 &phy_ctrl)) { in e1000_smartspeed()
4703 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed()
4706 phy_ctrl); in e1000_smartspeed()
4712 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed()
4713 phy_ctrl |= CR_1000T_MS_ENABLE; in e1000_smartspeed()
4714 e1000_write_phy_reg(hw, PHY_1000T_CTRL, phy_ctrl); in e1000_smartspeed()
4716 !e1000_read_phy_reg(hw, PHY_CTRL, &phy_ctrl)) { in e1000_smartspeed()
4717 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed()
4719 e1000_write_phy_reg(hw, PHY_CTRL, phy_ctrl); in e1000_smartspeed()