Lines Matching full:phy_ctrl
12 u16 *phy_ctrl);
865 u16 phy_ctrl; in igb_copper_link_autoneg() local
889 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in igb_copper_link_autoneg()
893 phy_ctrl |= (MII_CR_AUTO_NEG_EN | MII_CR_RESTART_AUTO_NEG); in igb_copper_link_autoneg()
894 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in igb_copper_link_autoneg()
1323 * @phy_ctrl: pointer to current value of PHY_CONTROL
1333 u16 *phy_ctrl) in igb_phy_force_speed_duplex_setup() argument
1350 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in igb_phy_force_speed_duplex_setup()
1355 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in igb_phy_force_speed_duplex_setup()
1359 *phy_ctrl |= MII_CR_FULL_DUPLEX; in igb_phy_force_speed_duplex_setup()
1366 *phy_ctrl |= MII_CR_SPEED_100; in igb_phy_force_speed_duplex_setup()
1367 *phy_ctrl &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_10); in igb_phy_force_speed_duplex_setup()
1371 *phy_ctrl |= MII_CR_SPEED_10; in igb_phy_force_speed_duplex_setup()
1372 *phy_ctrl &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_100); in igb_phy_force_speed_duplex_setup()
2050 u16 phy_ctrl; in igb_phy_sw_reset() local
2055 ret_val = hw->phy.ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in igb_phy_sw_reset()
2059 phy_ctrl |= MII_CR_RESET; in igb_phy_sw_reset()
2060 ret_val = hw->phy.ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in igb_phy_sw_reset()