Lines Matching refs:PHY_READ
248 if (PHY_READ(sc, BRGPHY_MII_SHADOW_1C) & in brgphy_attach()
281 sc->mii_capabilities = PHY_READ(sc, MII_BMSR) & sc->mii_capmask; in brgphy_attach()
283 sc->mii_extcapabilities = PHY_READ(sc, MII_EXTSR); in brgphy_attach()
368 val = PHY_READ(sc, MII_BMSR) | PHY_READ(sc, MII_BMSR); in brgphy_service()
496 bmsr = PHY_READ(sc, BRGPHY_MII_BMSR) | PHY_READ(sc, BRGPHY_MII_BMSR); in brgphy_status()
497 bmcr = PHY_READ(sc, BRGPHY_MII_BMCR); in brgphy_status()
517 xstat = PHY_READ(sc, BRGPHY_MII_1000STS); in brgphy_status()
518 aux = PHY_READ(sc, BRGPHY_MII_AUXSTS); in brgphy_status()
562 val = PHY_READ(sc, BRGPHY_SERDES_ANAR) & PHY_READ(sc, BRGPHY_SERDES_ANLPAR); in brgphy_status()
570 xstat = PHY_READ(sc, BRGPHY_5708S_PG0_1000X_STAT1); in brgphy_status()
592 xstat = PHY_READ(sc, BRGPHY_GP_STATUS_TOP_ANEG_STATUS); in brgphy_status()
635 PHY_READ(sc, BRGPHY_MII_1000CTL); in brgphy_mii_phy_auto()
657 if (!(PHY_READ(sc, BRGPHY_MII_BMSR) & BRGPHY_BMSR_LINK)) in brgphy_enable_loopback()
849 val = PHY_READ(sc, BRGPHY_MII_DSP_RW_PORT); in brgphy_fixup_disable_early_dac()
862 val = PHY_READ(sc, BRGPHY_MII_AUXCTL); in brgphy_ethernet_wirespeed()
878 val = PHY_READ(sc, BRGPHY_MII_AUXCTL); in brgphy_jumbo_settings()
883 val = PHY_READ(sc, BRGPHY_MII_PHY_EXTCTL); in brgphy_jumbo_settings()
888 val = PHY_READ(sc, BRGPHY_MII_AUXCTL); in brgphy_jumbo_settings()
892 val = PHY_READ(sc, BRGPHY_MII_PHY_EXTCTL); in brgphy_jumbo_settings()
916 if ((PHY_READ(sc, BRGPHY_MII_BMCR) & BRGPHY_BMCR_RESET) == 0) in brgphy_reset()
985 PHY_READ(sc, BRGPHY_MII_PHY_EXTCTL) & in brgphy_reset()
1004 PHY_READ(sc, BRGPHY_5708S_PG0_1000X_CTL1) | in brgphy_reset()
1010 PHY_READ(sc, BRGPHY_5708S_PG0_1000X_CTL2) | in brgphy_reset()
1016 PHY_READ(sc, BRGPHY_5708S_ANEG_NXT_PG_XMIT1) | in brgphy_reset()
1026 PHY_READ(sc, BRGPHY_5708S_PG5_TXACTL1) & ~0x30); in brgphy_reset()
1047 val = PHY_READ(sc, BRGPHY_SERDES_DIG_1000X_CTL1); in brgphy_reset()
1056 val = PHY_READ(sc, BRGPHY_OVER_1G_UNFORMAT_PG1); in brgphy_reset()
1067 val = PHY_READ(sc, BRGPHY_MRBE_MSG_PG5_NP); in brgphy_reset()