Lines Matching full:bmcr
1312 * published in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR
1322 * standard phy_init_hw() which will zero all the other bits in the BMCR
2301 * __genphy_config_aneg - restart auto-negotiation or write BMCR
2307 * enabled, then we write the BMCR.
2358 * genphy_c37_config_aneg - restart auto-negotiation or write BMCR
2363 * enabled, then we write the BMCR. This function is intended
2431 int status = 0, bmcr;
2433 bmcr = phy_read(phydev, MII_BMCR);
2434 if (bmcr < 0)
2435 return bmcr;
2440 if (bmcr & BMCR_ANRESTART)
2530 int bmcr = phy_read(phydev, MII_BMCR);
2532 if (bmcr < 0)
2533 return bmcr;
2535 if (bmcr & BMCR_FULLDPLX)
2540 if (bmcr & BMCR_SPEED1000)
2542 else if (bmcr & BMCR_SPEED100)
2651 int bmcr = phy_read(phydev, MII_BMCR);
2653 if (bmcr < 0)
2654 return bmcr;
2656 if (bmcr & BMCR_FULLDPLX)
2697 /* BMCR may be reset to defaults */