Home
last modified time | relevance | path

Searched refs:mii_ctrl_reg (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/intel/e1000/
De1000_hw.c1645 u16 mii_ctrl_reg; in e1000_phy_force_speed_duplex() local
1666 ret_val = e1000_read_phy_reg(hw, PHY_CTRL, &mii_ctrl_reg); in e1000_phy_force_speed_duplex()
1672 mii_ctrl_reg &= ~MII_CR_AUTO_NEG_EN; in e1000_phy_force_speed_duplex()
1681 mii_ctrl_reg |= MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex()
1688 mii_ctrl_reg &= ~MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex()
1697 mii_ctrl_reg |= MII_CR_SPEED_100; in e1000_phy_force_speed_duplex()
1698 mii_ctrl_reg &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_10); in e1000_phy_force_speed_duplex()
1703 mii_ctrl_reg |= MII_CR_SPEED_10; in e1000_phy_force_speed_duplex()
1704 mii_ctrl_reg &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_100); in e1000_phy_force_speed_duplex()
1731 mii_ctrl_reg |= MII_CR_RESET; in e1000_phy_force_speed_duplex()
[all …]