Lines Matching refs:bmcr
906 int bmcr, cfg1; in smc_phy_fixed() local
919 bmcr = 0; in smc_phy_fixed()
922 bmcr |= BMCR_FULLDPLX; in smc_phy_fixed()
925 bmcr |= BMCR_SPEED100; in smc_phy_fixed()
928 smc_phy_write(dev, phyaddr, MII_BMCR, bmcr); in smc_phy_fixed()
954 unsigned int bmcr; in smc_phy_reset() local
964 bmcr = smc_phy_read(dev, phy, MII_BMCR); in smc_phy_reset()
965 if (!(bmcr & BMCR_RESET)) in smc_phy_reset()
969 return bmcr & BMCR_RESET; in smc_phy_reset()
981 unsigned int bmcr; in smc_phy_powerdown() local
992 bmcr = smc_phy_read(dev, phy, MII_BMCR); in smc_phy_powerdown()
993 smc_phy_write(dev, phy, MII_BMCR, bmcr | BMCR_PDOWN); in smc_phy_powerdown()