Lines Matching refs:phy_ctrl
4683 u16 phy_ctrl; in e1000_smartspeed() local
4699 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed()
4700 if (phy_ctrl & CR_1000T_MS_ENABLE) { in e1000_smartspeed()
4701 phy_ctrl &= ~CR_1000T_MS_ENABLE; in e1000_smartspeed()
4703 phy_ctrl); in e1000_smartspeed()
4707 &phy_ctrl)) { in e1000_smartspeed()
4708 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed()
4711 phy_ctrl); in e1000_smartspeed()
4717 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed()
4718 phy_ctrl |= CR_1000T_MS_ENABLE; in e1000_smartspeed()
4719 e1000_write_phy_reg(hw, PHY_1000T_CTRL, phy_ctrl); in e1000_smartspeed()
4721 !e1000_read_phy_reg(hw, PHY_CTRL, &phy_ctrl)) { in e1000_smartspeed()
4722 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed()
4724 e1000_write_phy_reg(hw, PHY_CTRL, phy_ctrl); in e1000_smartspeed()