Lines Matching refs:phy_ctrl
4232 u16 phy_ctrl; in e1000_smartspeed() local
4245 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed()
4246 if (phy_ctrl & CR_1000T_MS_ENABLE) { in e1000_smartspeed()
4247 phy_ctrl &= ~CR_1000T_MS_ENABLE; in e1000_smartspeed()
4249 phy_ctrl); in e1000_smartspeed()
4253 &phy_ctrl)) { in e1000_smartspeed()
4254 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed()
4257 phy_ctrl); in e1000_smartspeed()
4263 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed()
4264 phy_ctrl |= CR_1000T_MS_ENABLE; in e1000_smartspeed()
4265 e1000_write_phy_reg(hw, PHY_1000T_CTRL, phy_ctrl); in e1000_smartspeed()
4267 !e1000_read_phy_reg(hw, PHY_CTRL, &phy_ctrl)) { in e1000_smartspeed()
4268 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed()
4270 e1000_write_phy_reg(hw, PHY_CTRL, phy_ctrl); in e1000_smartspeed()