Lines Matching refs:phy_ctrl
815 u16 phy_ctrl; in e1000_copper_link_autoneg() local
842 ret_val = e1e_rphy(hw, PHY_CONTROL, &phy_ctrl); in e1000_copper_link_autoneg()
846 phy_ctrl |= (MII_CR_AUTO_NEG_EN | MII_CR_RESTART_AUTO_NEG); in e1000_copper_link_autoneg()
847 ret_val = e1e_wphy(hw, PHY_CONTROL, phy_ctrl); in e1000_copper_link_autoneg()
1111 void e1000e_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl) in e1000e_phy_force_speed_duplex_setup() argument
1128 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in e1000e_phy_force_speed_duplex_setup()
1133 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in e1000e_phy_force_speed_duplex_setup()
1137 *phy_ctrl |= MII_CR_FULL_DUPLEX; in e1000e_phy_force_speed_duplex_setup()
1144 *phy_ctrl |= MII_CR_SPEED_100; in e1000e_phy_force_speed_duplex_setup()
1145 *phy_ctrl &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_10); in e1000e_phy_force_speed_duplex_setup()
1149 *phy_ctrl |= MII_CR_SPEED_10; in e1000e_phy_force_speed_duplex_setup()
1150 *phy_ctrl &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_100); in e1000e_phy_force_speed_duplex_setup()
1669 u16 phy_ctrl; in e1000e_phy_sw_reset() local
1671 ret_val = e1e_rphy(hw, PHY_CONTROL, &phy_ctrl); in e1000e_phy_sw_reset()
1675 phy_ctrl |= MII_CR_RESET; in e1000e_phy_sw_reset()
1676 ret_val = e1e_wphy(hw, PHY_CONTROL, phy_ctrl); in e1000e_phy_sw_reset()