Lines Matching refs:bmcr
2281 int status = 0, bmcr; in genphy_update_link() local
2283 bmcr = phy_read(phydev, MII_BMCR); in genphy_update_link()
2284 if (bmcr < 0) in genphy_update_link()
2285 return bmcr; in genphy_update_link()
2290 if (bmcr & BMCR_ANRESTART) in genphy_update_link()
2380 int bmcr = phy_read(phydev, MII_BMCR); in genphy_read_status_fixed() local
2382 if (bmcr < 0) in genphy_read_status_fixed()
2383 return bmcr; in genphy_read_status_fixed()
2385 if (bmcr & BMCR_FULLDPLX) in genphy_read_status_fixed()
2390 if (bmcr & BMCR_SPEED1000) in genphy_read_status_fixed()
2392 else if (bmcr & BMCR_SPEED100) in genphy_read_status_fixed()
2494 int bmcr = phy_read(phydev, MII_BMCR); in genphy_c37_read_status() local
2496 if (bmcr < 0) in genphy_c37_read_status()
2497 return bmcr; in genphy_c37_read_status()
2499 if (bmcr & BMCR_FULLDPLX) in genphy_c37_read_status()