Lines Matching refs:mii_ctrl_reg
2288 uint16_t mii_ctrl_reg; in e1000_phy_force_speed_duplex() local
2311 ret_val = e1000_read_phy_reg(hw, PHY_CTRL, &mii_ctrl_reg); in e1000_phy_force_speed_duplex()
2317 mii_ctrl_reg &= ~MII_CR_AUTO_NEG_EN; in e1000_phy_force_speed_duplex()
2326 mii_ctrl_reg |= MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex()
2333 mii_ctrl_reg &= ~MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex()
2342 mii_ctrl_reg |= MII_CR_SPEED_100; in e1000_phy_force_speed_duplex()
2343 mii_ctrl_reg &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_10); in e1000_phy_force_speed_duplex()
2348 mii_ctrl_reg |= MII_CR_SPEED_10; in e1000_phy_force_speed_duplex()
2349 mii_ctrl_reg &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_100); in e1000_phy_force_speed_duplex()
2375 mii_ctrl_reg |= MII_CR_RESET; in e1000_phy_force_speed_duplex()
2407 ret_val = e1000_write_phy_reg(hw, PHY_CTRL, mii_ctrl_reg); in e1000_phy_force_speed_duplex()