Lines Matching refs:bmcr
478 u32 bmcr; in b44_setup_phy() local
480 if ((err = b44_readphy(bp, MII_BMCR, &bmcr)) != 0) in b44_setup_phy()
482 bmcr &= ~(BMCR_FULLDPLX | BMCR_ANENABLE | BMCR_SPEED100); in b44_setup_phy()
484 bmcr |= BMCR_SPEED100; in b44_setup_phy()
486 bmcr |= BMCR_FULLDPLX; in b44_setup_phy()
487 if ((err = b44_writephy(bp, MII_BMCR, bmcr)) != 0) in b44_setup_phy()
1811 u32 bmcr; in b44_nway_reset() local
1815 b44_readphy(bp, MII_BMCR, &bmcr); in b44_nway_reset()
1816 b44_readphy(bp, MII_BMCR, &bmcr); in b44_nway_reset()
1818 if (bmcr & BMCR_ANENABLE) { in b44_nway_reset()
1820 bmcr | BMCR_ANRESTART); in b44_nway_reset()