Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/intel/e1000/
De1000_hw.c1688 u16 mii_ctrl_reg; in e1000_phy_force_speed_duplex() local
1711 ret_val = e1000_read_phy_reg(hw, PHY_CTRL, &mii_ctrl_reg); in e1000_phy_force_speed_duplex()
1717 mii_ctrl_reg &= ~MII_CR_AUTO_NEG_EN; in e1000_phy_force_speed_duplex()
1726 mii_ctrl_reg |= MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex()
1733 mii_ctrl_reg &= ~MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex()
1742 mii_ctrl_reg |= MII_CR_SPEED_100; in e1000_phy_force_speed_duplex()
1743 mii_ctrl_reg &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_10); in e1000_phy_force_speed_duplex()
1748 mii_ctrl_reg |= MII_CR_SPEED_10; in e1000_phy_force_speed_duplex()
1749 mii_ctrl_reg &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_100); in e1000_phy_force_speed_duplex()
1776 mii_ctrl_reg |= MII_CR_RESET; in e1000_phy_force_speed_duplex()
[all …]