Searched refs:mii_reg (Results 1 – 2 of 2) sorted by relevance
| /f-stack/dpdk/drivers/net/e1000/base/ |
| H A D | e1000_phy.c | 3479 u16 mii_reg = 0; in e1000_power_up_phy_copper() local 3482 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in e1000_power_up_phy_copper() 3483 mii_reg &= ~MII_CR_POWER_DOWN; in e1000_power_up_phy_copper() 3484 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in e1000_power_up_phy_copper() 3497 u16 mii_reg = 0; in e1000_power_down_phy_copper() local 3500 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in e1000_power_down_phy_copper() 3501 mii_reg |= MII_CR_POWER_DOWN; in e1000_power_down_phy_copper() 3502 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in e1000_power_down_phy_copper()
|
| /f-stack/dpdk/drivers/net/igc/base/ |
| H A D | igc_phy.c | 3522 u16 mii_reg = 0; in igc_power_up_phy_copper() local 3525 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in igc_power_up_phy_copper() 3526 mii_reg &= ~MII_CR_POWER_DOWN; in igc_power_up_phy_copper() 3527 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_up_phy_copper() 3540 u16 mii_reg = 0; in igc_power_down_phy_copper() local 3543 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in igc_power_down_phy_copper() 3544 mii_reg |= MII_CR_POWER_DOWN; in igc_power_down_phy_copper() 3545 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_down_phy_copper()
|