Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_xmii.c261 uint16_t mii_reg; in nge_phy_restart() local
270 mii_reg = nge_mii_get16(ngep, in nge_phy_restart()
272 mii_reg &= ~(MII_CICADA_MODE_SELECT_BITS in nge_phy_restart()
274 mii_reg |= (MII_CICADA_MODE_SELECT_RGMII in nge_phy_restart()
276 nge_mii_put16(ngep, MII_CICADA_EXT_CONTROL, mii_reg); in nge_phy_restart()
278 mii_reg = nge_mii_get16(ngep, in nge_phy_restart()
280 mii_reg |= MII_CICADA_PIN_PRORITY_SETTING; in nge_phy_restart()
282 mii_reg); in nge_phy_restart()
284 mii_reg = nge_mii_get16(ngep, in nge_phy_restart()
286 mii_reg |= MII_CICADA_DISABLE_ECHO_MODE; in nge_phy_restart()
[all …]
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_phy.c907 u16 mii_reg = 0; in igc_power_up_phy_copper() local
910 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in igc_power_up_phy_copper()
911 mii_reg &= ~MII_CR_POWER_DOWN; in igc_power_up_phy_copper()
912 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_up_phy_copper()
926 u16 mii_reg = 0; in igc_power_down_phy_copper() local
929 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in igc_power_down_phy_copper()
930 mii_reg |= MII_CR_POWER_DOWN; in igc_power_down_phy_copper()
931 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_down_phy_copper()
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge.h67 uint32_t mii_reg; /* PHY register number [0..31] */ member
H A Dbge_chip2.c6314 if (miirwp->mii_reg > MII_MAXREG) in bge_mii_ioctl()
6324 miirwp->mii_data = bge_mii_get16(bgep, miirwp->mii_reg); in bge_mii_ioctl()
6328 bge_mii_put16(bgep, miirwp->mii_reg, miirwp->mii_data); in bge_mii_ioctl()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_phy.c3494 u16 mii_reg = 0; in e1000_power_up_phy_copper() local
3497 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in e1000_power_up_phy_copper()
3498 mii_reg &= ~MII_CR_POWER_DOWN; in e1000_power_up_phy_copper()
3499 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in e1000_power_up_phy_copper()
3512 u16 mii_reg = 0; in e1000_power_down_phy_copper() local
3515 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in e1000_power_down_phy_copper()
3516 mii_reg |= MII_CR_POWER_DOWN; in e1000_power_down_phy_copper()
3517 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in e1000_power_down_phy_copper()
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge.h102 uint32_t mii_reg; /* PHY register number [0..31] */ member
H A Drge_chip.c2199 if (miirwp->mii_reg > MII_MAXREG) in rge_mii_ioctl()
2209 miirwp->mii_data = rge_mii_get16(rgep, miirwp->mii_reg); in rge_mii_ioctl()
2213 rge_mii_put16(rgep, miirwp->mii_reg, miirwp->mii_data); in rge_mii_ioctl()