Lines Matching refs:PHY_READ
149 if (PHY_READ(sc, E1000_ESSR) & E1000_ESSR_FIBER_LINK) in e1000phy_attach()
171 sc->mii_capabilities = PHY_READ(sc, MII_BMSR) & sc->mii_capmask; in e1000phy_attach()
173 sc->mii_extcapabilities = PHY_READ(sc, MII_EXTSR); in e1000phy_attach()
191 reg = PHY_READ(sc, E1000_SCR); in e1000phy_reset()
197 page = PHY_READ(sc, E1000_EADR); in e1000phy_reset()
199 reg = PHY_READ(sc, E1000_SCR); in e1000phy_reset()
206 reg = PHY_READ(sc, E1000_SCR); in e1000phy_reset()
240 PHY_WRITE(sc, 0x1C, PHY_READ(sc, 0x1C) | 0x0001); in e1000phy_reset()
258 reg = PHY_READ(sc, E1000_SCR); in e1000phy_reset()
272 page = PHY_READ(sc, E1000_EADR); in e1000phy_reset()
294 reg = PHY_READ(sc, E1000_ESCR); in e1000phy_reset()
301 reg = PHY_READ(sc, E1000_CR); in e1000phy_reset()
343 reg = PHY_READ(sc, E1000_CR); in e1000phy_service()
357 reg = PHY_READ(sc, E1000_CR); in e1000phy_service()
385 reg = PHY_READ(sc, MII_BMSR) | PHY_READ(sc, MII_BMSR); in e1000phy_service()
420 bmsr = PHY_READ(sc, E1000_SR) | PHY_READ(sc, E1000_SR); in e1000phy_status()
421 bmcr = PHY_READ(sc, E1000_CR); in e1000phy_status()
422 ssr = PHY_READ(sc, E1000_SSR); in e1000phy_status()
468 if (((PHY_READ(sc, E1000_1GSR) | PHY_READ(sc, E1000_1GSR)) & in e1000phy_status()
480 reg = PHY_READ(sc, E1000_AR); in e1000phy_mii_phy_auto()