Lines Matching refs:bmcr
112 uint16_t anar, bmcr, bmsr; in atphy_service() local
125 bmcr = 0; in atphy_service()
128 bmcr = BMCR_S100; in atphy_service()
131 bmcr = BMCR_S10; in atphy_service()
134 bmcr = PHY_READ(sc, MII_BMCR); in atphy_service()
143 PHY_WRITE(sc, MII_BMCR, bmcr | BMCR_ISO); in atphy_service()
151 bmcr |= BMCR_FDX; in atphy_service()
165 PHY_WRITE(sc, MII_BMCR, bmcr | BMCR_RESET | BMCR_AUTOEN | in atphy_service()
212 uint32_t bmsr, bmcr, ssr; in atphy_status() local
221 bmcr = PHY_READ(sc, MII_BMCR); in atphy_status()
222 if ((bmcr & BMCR_ISO) != 0) { in atphy_status()
228 if ((bmcr & BMCR_LOOP) != 0) in atphy_status()