Searched refs:mii_reg (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/igc/ |
H A D | igc_phy.c | 908 u16 mii_reg = 0; in igc_power_up_phy_copper() local 911 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in igc_power_up_phy_copper() 912 mii_reg &= ~MII_CR_POWER_DOWN; in igc_power_up_phy_copper() 913 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_up_phy_copper() 927 u16 mii_reg = 0; in igc_power_down_phy_copper() local 930 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in igc_power_down_phy_copper() 931 mii_reg |= MII_CR_POWER_DOWN; in igc_power_down_phy_copper() 932 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_down_phy_copper()
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_phy.c | 3506 u16 mii_reg = 0; in e1000_power_up_phy_copper() local 3509 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in e1000_power_up_phy_copper() 3510 mii_reg &= ~MII_CR_POWER_DOWN; in e1000_power_up_phy_copper() 3511 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in e1000_power_up_phy_copper() 3524 u16 mii_reg = 0; in e1000_power_down_phy_copper() local 3527 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in e1000_power_down_phy_copper() 3528 mii_reg |= MII_CR_POWER_DOWN; in e1000_power_down_phy_copper() 3529 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in e1000_power_down_phy_copper()
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-phy-v2.c | 729 uint8_t mii_reg; in xgbe_phy_i2c_mii_read() local 736 mii_reg = reg; in xgbe_phy_i2c_mii_read() 738 &mii_reg, sizeof(mii_reg), in xgbe_phy_i2c_mii_read()
|