bmcr 183 drivers/net/ethernet/amd/amd8111e.c u32 bmcr,advert,tmp; bmcr 212 drivers/net/ethernet/amd/amd8111e.c bmcr = amd8111e_mdio_read(dev, lp->ext_phy_addr, MII_BMCR); bmcr 213 drivers/net/ethernet/amd/amd8111e.c bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); bmcr 214 drivers/net/ethernet/amd/amd8111e.c amd8111e_mdio_write(dev, lp->ext_phy_addr, MII_BMCR, bmcr); bmcr 2199 drivers/net/ethernet/amd/pcnet32.c u16 bmcr; bmcr 2235 drivers/net/ethernet/amd/pcnet32.c bmcr = mdio_read(dev, i, MII_BMCR); bmcr 2239 drivers/net/ethernet/amd/pcnet32.c bmcr & ~BMCR_ISOLATE); bmcr 2242 drivers/net/ethernet/amd/pcnet32.c bmcr | BMCR_ISOLATE); bmcr 2806 drivers/net/ethernet/amd/pcnet32.c u16 bmcr; bmcr 2820 drivers/net/ethernet/amd/pcnet32.c bmcr = bmcr 2823 drivers/net/ethernet/amd/pcnet32.c bmcr | BMCR_ISOLATE); bmcr 2826 drivers/net/ethernet/amd/pcnet32.c bmcr = mdio_read(dev, i, MII_BMCR); bmcr 2828 drivers/net/ethernet/amd/pcnet32.c bmcr & ~BMCR_ISOLATE); bmcr 479 drivers/net/ethernet/broadcom/b44.c u32 bmcr; bmcr 481 drivers/net/ethernet/broadcom/b44.c if ((err = b44_readphy(bp, MII_BMCR, &bmcr)) != 0) bmcr 483 drivers/net/ethernet/broadcom/b44.c bmcr &= ~(BMCR_FULLDPLX | BMCR_ANENABLE | BMCR_SPEED100); bmcr 485 drivers/net/ethernet/broadcom/b44.c bmcr |= BMCR_SPEED100; bmcr 487 drivers/net/ethernet/broadcom/b44.c bmcr |= BMCR_FULLDPLX; bmcr 488 drivers/net/ethernet/broadcom/b44.c if ((err = b44_writephy(bp, MII_BMCR, bmcr)) != 0) bmcr 1815 drivers/net/ethernet/broadcom/b44.c u32 bmcr; bmcr 1819 drivers/net/ethernet/broadcom/b44.c b44_readphy(bp, MII_BMCR, &bmcr); bmcr 1820 drivers/net/ethernet/broadcom/b44.c b44_readphy(bp, MII_BMCR, &bmcr); bmcr 1822 drivers/net/ethernet/broadcom/b44.c if (bmcr & BMCR_ANENABLE) { bmcr 1824 drivers/net/ethernet/broadcom/b44.c bmcr | BMCR_ANRESTART); bmcr 1183 drivers/net/ethernet/broadcom/bnx2.c u32 bmcr, local_adv, remote_adv, common; bmcr 1188 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 1189 drivers/net/ethernet/broadcom/bnx2.c if (bmcr & BMCR_FULLDPLX) { bmcr 1196 drivers/net/ethernet/broadcom/bnx2.c if (!(bmcr & BMCR_ANENABLE)) { bmcr 1220 drivers/net/ethernet/broadcom/bnx2.c u32 bmcr; bmcr 1224 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 1225 drivers/net/ethernet/broadcom/bnx2.c if (bmcr & BMCR_ANENABLE) { bmcr 1268 drivers/net/ethernet/broadcom/bnx2.c if (bmcr & BMCR_SPEED100) { bmcr 1274 drivers/net/ethernet/broadcom/bnx2.c if (bmcr & BMCR_FULLDPLX) { bmcr 1464 drivers/net/ethernet/broadcom/bnx2.c u32 uninitialized_var(bmcr); bmcr 1484 drivers/net/ethernet/broadcom/bnx2.c err = bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 1487 drivers/net/ethernet/broadcom/bnx2.c err = bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 1489 drivers/net/ethernet/broadcom/bnx2.c bmcr |= BCM5708S_BMCR_FORCE_2500; bmcr 1498 drivers/net/ethernet/broadcom/bnx2.c bmcr &= ~BMCR_ANENABLE; bmcr 1500 drivers/net/ethernet/broadcom/bnx2.c bmcr |= BMCR_FULLDPLX; bmcr 1502 drivers/net/ethernet/broadcom/bnx2.c bnx2_write_phy(bp, bp->mii_bmcr, bmcr); bmcr 1508 drivers/net/ethernet/broadcom/bnx2.c u32 uninitialized_var(bmcr); bmcr 1526 drivers/net/ethernet/broadcom/bnx2.c err = bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 1529 drivers/net/ethernet/broadcom/bnx2.c err = bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 1531 drivers/net/ethernet/broadcom/bnx2.c bmcr &= ~BCM5708S_BMCR_FORCE_2500; bmcr 1540 drivers/net/ethernet/broadcom/bnx2.c bmcr |= BMCR_SPEED1000 | BMCR_ANENABLE | BMCR_ANRESTART; bmcr 1541 drivers/net/ethernet/broadcom/bnx2.c bnx2_write_phy(bp, bp->mii_bmcr, bmcr); bmcr 1621 drivers/net/ethernet/broadcom/bnx2.c u32 bmcr; bmcr 1623 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 1624 drivers/net/ethernet/broadcom/bnx2.c bmcr |= BMCR_ANENABLE; bmcr 1625 drivers/net/ethernet/broadcom/bnx2.c bnx2_write_phy(bp, bp->mii_bmcr, bmcr); bmcr 1765 drivers/net/ethernet/broadcom/bnx2.c u32 adv, bmcr; bmcr 1785 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 1786 drivers/net/ethernet/broadcom/bnx2.c new_bmcr = bmcr & ~BMCR_ANENABLE; bmcr 1801 drivers/net/ethernet/broadcom/bnx2.c new_bmcr = bmcr & ~BCM5708S_BMCR_FORCE_2500; bmcr 1812 drivers/net/ethernet/broadcom/bnx2.c if ((new_bmcr != bmcr) || (force_link_down)) { bmcr 1818 drivers/net/ethernet/broadcom/bnx2.c bnx2_write_phy(bp, bp->mii_bmcr, bmcr | bmcr 1843 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 1846 drivers/net/ethernet/broadcom/bnx2.c if ((adv != new_adv) || ((bmcr & BMCR_ANENABLE) == 0)) { bmcr 1856 drivers/net/ethernet/broadcom/bnx2.c bnx2_write_phy(bp, bp->mii_bmcr, bmcr | BMCR_ANRESTART | bmcr 2083 drivers/net/ethernet/broadcom/bnx2.c u32 bmcr, adv_reg, new_adv = 0; bmcr 2086 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 2106 drivers/net/ethernet/broadcom/bnx2.c ((bmcr & BMCR_ANENABLE) == 0)) { bmcr 2134 drivers/net/ethernet/broadcom/bnx2.c if (new_bmcr != bmcr) { bmcr 6099 drivers/net/ethernet/broadcom/bnx2.c u32 bmcr; bmcr 6103 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 6105 drivers/net/ethernet/broadcom/bnx2.c if (bmcr & BMCR_ANENABLE) { bmcr 6107 drivers/net/ethernet/broadcom/bnx2.c bmcr &= ~BMCR_ANENABLE; bmcr 6108 drivers/net/ethernet/broadcom/bnx2.c bmcr |= BMCR_SPEED1000 | BMCR_FULLDPLX; bmcr 6109 drivers/net/ethernet/broadcom/bnx2.c bnx2_write_phy(bp, bp->mii_bmcr, bmcr); bmcr 6121 drivers/net/ethernet/broadcom/bnx2.c u32 bmcr; bmcr 6123 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 6124 drivers/net/ethernet/broadcom/bnx2.c bmcr |= BMCR_ANENABLE; bmcr 6125 drivers/net/ethernet/broadcom/bnx2.c bnx2_write_phy(bp, bp->mii_bmcr, bmcr); bmcr 6166 drivers/net/ethernet/broadcom/bnx2.c u32 bmcr; bmcr 6168 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 6169 drivers/net/ethernet/broadcom/bnx2.c if (bmcr & BMCR_ANENABLE) { bmcr 7162 drivers/net/ethernet/broadcom/bnx2.c u32 bmcr; bmcr 7195 drivers/net/ethernet/broadcom/bnx2.c bnx2_read_phy(bp, bp->mii_bmcr, &bmcr); bmcr 7196 drivers/net/ethernet/broadcom/bnx2.c bmcr &= ~BMCR_LOOPBACK; bmcr 7197 drivers/net/ethernet/broadcom/bnx2.c bnx2_write_phy(bp, bp->mii_bmcr, bmcr | BMCR_ANRESTART | BMCR_ANENABLE); bmcr 184 drivers/net/ethernet/broadcom/genet/bcmmii.c int bmcr = -1; bmcr 195 drivers/net/ethernet/broadcom/genet/bcmmii.c bmcr = ret; bmcr 197 drivers/net/ethernet/broadcom/genet/bcmmii.c bmcr | BMCR_ISOLATE); bmcr 248 drivers/net/ethernet/broadcom/genet/bcmmii.c if (bmcr >= 0) bmcr 249 drivers/net/ethernet/broadcom/genet/bcmmii.c phy_write(phydev, MII_BMCR, bmcr); bmcr 4461 drivers/net/ethernet/broadcom/tg3.c u32 bmcr, orig_bmcr; bmcr 4474 drivers/net/ethernet/broadcom/tg3.c bmcr = 0; bmcr 4481 drivers/net/ethernet/broadcom/tg3.c bmcr |= BMCR_SPEED100; bmcr 4485 drivers/net/ethernet/broadcom/tg3.c bmcr |= BMCR_SPEED1000; bmcr 4490 drivers/net/ethernet/broadcom/tg3.c bmcr |= BMCR_FULLDPLX; bmcr 4493 drivers/net/ethernet/broadcom/tg3.c (bmcr != orig_bmcr)) { bmcr 4507 drivers/net/ethernet/broadcom/tg3.c tg3_writephy(tp, MII_BMCR, bmcr); bmcr 4905 drivers/net/ethernet/broadcom/tg3.c u32 aux_stat, bmcr; bmcr 4919 drivers/net/ethernet/broadcom/tg3.c bmcr = 0; bmcr 4921 drivers/net/ethernet/broadcom/tg3.c tg3_readphy(tp, MII_BMCR, &bmcr); bmcr 4922 drivers/net/ethernet/broadcom/tg3.c if (tg3_readphy(tp, MII_BMCR, &bmcr)) bmcr 4924 drivers/net/ethernet/broadcom/tg3.c if (bmcr && bmcr != 0x7fff) bmcr 4938 drivers/net/ethernet/broadcom/tg3.c if ((bmcr & BMCR_ANENABLE) && bmcr 4955 drivers/net/ethernet/broadcom/tg3.c if (!(bmcr & BMCR_ANENABLE) && bmcr 5824 drivers/net/ethernet/broadcom/tg3.c u32 bmsr, bmcr; bmcr 5889 drivers/net/ethernet/broadcom/tg3.c err |= tg3_readphy(tp, MII_BMCR, &bmcr); bmcr 5906 drivers/net/ethernet/broadcom/tg3.c if ((newadv != adv) || !(bmcr & BMCR_ANENABLE)) { bmcr 5908 drivers/net/ethernet/broadcom/tg3.c bmcr |= BMCR_ANENABLE | BMCR_ANRESTART; bmcr 5909 drivers/net/ethernet/broadcom/tg3.c tg3_writephy(tp, MII_BMCR, bmcr); bmcr 5920 drivers/net/ethernet/broadcom/tg3.c bmcr &= ~BMCR_SPEED1000; bmcr 5921 drivers/net/ethernet/broadcom/tg3.c new_bmcr = bmcr & ~(BMCR_ANENABLE | BMCR_FULLDPLX); bmcr 5926 drivers/net/ethernet/broadcom/tg3.c if (new_bmcr != bmcr) { bmcr 5941 drivers/net/ethernet/broadcom/tg3.c tg3_writephy(tp, MII_BMCR, bmcr | bmcr 5948 drivers/net/ethernet/broadcom/tg3.c bmcr = new_bmcr; bmcr 5964 drivers/net/ethernet/broadcom/tg3.c if (bmcr & BMCR_FULLDPLX) bmcr 5972 drivers/net/ethernet/broadcom/tg3.c if (bmcr & BMCR_ANENABLE) { bmcr 6025 drivers/net/ethernet/broadcom/tg3.c u32 bmcr; bmcr 6027 drivers/net/ethernet/broadcom/tg3.c tg3_readphy(tp, MII_BMCR, &bmcr); bmcr 6028 drivers/net/ethernet/broadcom/tg3.c if (bmcr & BMCR_ANENABLE) { bmcr 6047 drivers/net/ethernet/broadcom/tg3.c bmcr &= ~BMCR_ANENABLE; bmcr 6048 drivers/net/ethernet/broadcom/tg3.c bmcr |= BMCR_SPEED1000 | BMCR_FULLDPLX; bmcr 6049 drivers/net/ethernet/broadcom/tg3.c tg3_writephy(tp, MII_BMCR, bmcr); bmcr 6063 drivers/net/ethernet/broadcom/tg3.c u32 bmcr; bmcr 6066 drivers/net/ethernet/broadcom/tg3.c tg3_readphy(tp, MII_BMCR, &bmcr); bmcr 6067 drivers/net/ethernet/broadcom/tg3.c tg3_writephy(tp, MII_BMCR, bmcr | BMCR_ANENABLE); bmcr 8205 drivers/net/ethernet/broadcom/tg3.c u32 val, bmcr, mac_mode, ptest = 0; bmcr 8213 drivers/net/ethernet/broadcom/tg3.c bmcr = BMCR_FULLDPLX; bmcr 8218 drivers/net/ethernet/broadcom/tg3.c bmcr |= BMCR_SPEED100; bmcr 8224 drivers/net/ethernet/broadcom/tg3.c bmcr |= BMCR_SPEED100; bmcr 8227 drivers/net/ethernet/broadcom/tg3.c bmcr |= BMCR_SPEED1000; bmcr 8243 drivers/net/ethernet/broadcom/tg3.c bmcr |= BMCR_LOOPBACK; bmcr 8245 drivers/net/ethernet/broadcom/tg3.c tg3_writephy(tp, MII_BMCR, bmcr); bmcr 8249 drivers/net/ethernet/broadcom/tg3.c tg3_readphy(tp, MII_BMCR, &bmcr); bmcr 12392 drivers/net/ethernet/broadcom/tg3.c u32 bmcr; bmcr 12396 drivers/net/ethernet/broadcom/tg3.c tg3_readphy(tp, MII_BMCR, &bmcr); bmcr 12397 drivers/net/ethernet/broadcom/tg3.c if (!tg3_readphy(tp, MII_BMCR, &bmcr) && bmcr 12398 drivers/net/ethernet/broadcom/tg3.c ((bmcr & BMCR_ANENABLE) || bmcr 12400 drivers/net/ethernet/broadcom/tg3.c tg3_writephy(tp, MII_BMCR, bmcr | BMCR_ANRESTART | bmcr 133 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c unsigned int bmcr, status, lpa, adv; bmcr 136 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMCR, &bmcr); bmcr 154 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c if (!(bmcr & BMCR_ANENABLE)) { bmcr 155 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; bmcr 156 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c if (bmcr & BMCR_SPEED1000) bmcr 158 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c else if (bmcr & BMCR_SPEED100) bmcr 209 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c unsigned int bmcr, status, lpa, adv; bmcr 212 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMCR, &bmcr); bmcr 230 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c if (!(bmcr & BMCR_ANENABLE)) { bmcr 231 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; bmcr 232 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c if (bmcr & BMCR_SPEED1000) bmcr 234 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c else if (bmcr & BMCR_SPEED100) bmcr 1555 drivers/net/ethernet/dlink/dl2k.c __u16 bmcr = mii_read (dev, phy_addr, MII_BMCR); bmcr 1556 drivers/net/ethernet/dlink/dl2k.c switch (bmcr & (BMCR_SPEED100 | BMCR_SPEED1000)) { bmcr 1566 drivers/net/ethernet/dlink/dl2k.c if (bmcr & BMCR_FULLDPLX) { bmcr 1588 drivers/net/ethernet/dlink/dl2k.c __u16 bmcr; bmcr 1624 drivers/net/ethernet/dlink/dl2k.c bmcr = BMCR_ANENABLE | BMCR_ANRESTART | BMCR_RESET; bmcr 1625 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); bmcr 1635 drivers/net/ethernet/dlink/dl2k.c bmcr = mii_read (dev, phy_addr, MII_BMCR); bmcr 1636 drivers/net/ethernet/dlink/dl2k.c bmcr |= BMCR_RESET; bmcr 1637 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); bmcr 1640 drivers/net/ethernet/dlink/dl2k.c bmcr = 0x1940; /* must be 0x1940 */ bmcr 1641 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); bmcr 1648 drivers/net/ethernet/dlink/dl2k.c bmcr = BMCR_PDOWN; bmcr 1650 drivers/net/ethernet/dlink/dl2k.c bmcr |= BMCR_SPEED100; bmcr 1656 drivers/net/ethernet/dlink/dl2k.c bmcr |= BMCR_FULLDPLX; bmcr 1667 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); bmcr 1709 drivers/net/ethernet/dlink/dl2k.c __u16 bmcr = mii_read (dev, phy_addr, PCS_BMCR); bmcr 1711 drivers/net/ethernet/dlink/dl2k.c if (bmcr & BMCR_FULLDPLX) { bmcr 1732 drivers/net/ethernet/dlink/dl2k.c __u16 bmcr; bmcr 1756 drivers/net/ethernet/dlink/dl2k.c bmcr = BMCR_ANENABLE | BMCR_ANRESTART | BMCR_RESET; bmcr 1757 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); bmcr 1762 drivers/net/ethernet/dlink/dl2k.c bmcr = BMCR_RESET; bmcr 1763 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); bmcr 1766 drivers/net/ethernet/dlink/dl2k.c bmcr = BMCR_FULLDPLX; bmcr 1769 drivers/net/ethernet/dlink/dl2k.c bmcr = 0; bmcr 1772 drivers/net/ethernet/dlink/dl2k.c mii_write (dev, phy_addr, MII_BMCR, bmcr); bmcr 259 drivers/net/ethernet/ibm/emac/phy.c int bmcr = phy_read(phy, MII_BMCR); bmcr 260 drivers/net/ethernet/ibm/emac/phy.c if (bmcr < 0) bmcr 261 drivers/net/ethernet/ibm/emac/phy.c return bmcr; bmcr 263 drivers/net/ethernet/ibm/emac/phy.c if (bmcr & BMCR_FULLDPLX) bmcr 267 drivers/net/ethernet/ibm/emac/phy.c if (bmcr & BMCR_SPEED1000) bmcr 269 drivers/net/ethernet/ibm/emac/phy.c else if (bmcr & BMCR_SPEED100) bmcr 1441 drivers/net/ethernet/intel/e100.c u16 bmcr, stat, id_lo, id_hi, cong; bmcr 1446 drivers/net/ethernet/intel/e100.c bmcr = mdio_read(netdev, nic->mii.phy_id, MII_BMCR); bmcr 1449 drivers/net/ethernet/intel/e100.c if (!((bmcr == 0xFFFF) || ((stat == 0) && (bmcr == 0)))) bmcr 1481 drivers/net/ethernet/intel/e100.c bmcr = mdio_read(netdev, addr, MII_BMCR); bmcr 1483 drivers/net/ethernet/intel/e100.c bmcr & ~BMCR_ISOLATE); bmcr 1493 drivers/net/ethernet/intel/e100.c bmcr & ~BMCR_ISOLATE); bmcr 1516 drivers/net/ethernet/intel/e100.c bmcr = mdio_read(netdev, nic->mii.phy_id, MII_BMCR); bmcr 1517 drivers/net/ethernet/intel/e100.c bmcr |= BMCR_RESET; bmcr 1518 drivers/net/ethernet/intel/e100.c mdio_write(netdev, nic->mii.phy_id, MII_BMCR, bmcr); bmcr 176 drivers/net/ethernet/intel/e1000e/e1000.h u16 bmcr; /* basic mode control register */ bmcr 5037 drivers/net/ethernet/intel/e1000e/netdev.c ret_val = e1e_rphy(hw, MII_BMCR, &phy->bmcr); bmcr 5051 drivers/net/ethernet/intel/e1000e/netdev.c phy->bmcr = (BMCR_SPEED1000 | BMCR_ANENABLE | BMCR_FULLDPLX); bmcr 6097 drivers/net/ethernet/intel/e1000e/netdev.c data->val_out = adapter->phy_regs.bmcr; bmcr 413 drivers/net/ethernet/jme.c u32 phylink, cnt = JME_SPDRSV_TIMEOUT, bmcr; bmcr 432 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(jme->dev, bmcr 436 drivers/net/ethernet/jme.c phylink |= ((bmcr & BMCR_SPEED1000) && bmcr 437 drivers/net/ethernet/jme.c (bmcr & BMCR_SPEED100) == 0) ? bmcr 439 drivers/net/ethernet/jme.c (bmcr & BMCR_SPEED100) ? bmcr 443 drivers/net/ethernet/jme.c phylink |= (bmcr & BMCR_FULLDPLX) ? bmcr 1611 drivers/net/ethernet/jme.c u32 bmcr; bmcr 1614 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_BMCR); bmcr 1615 drivers/net/ethernet/jme.c bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); bmcr 1616 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_BMCR, bmcr); bmcr 1699 drivers/net/ethernet/jme.c u32 bmcr; bmcr 1701 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_BMCR); bmcr 1702 drivers/net/ethernet/jme.c bmcr &= ~BMCR_PDOWN; bmcr 1703 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_BMCR, bmcr); bmcr 1712 drivers/net/ethernet/jme.c u32 bmcr; bmcr 1714 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_BMCR); bmcr 1715 drivers/net/ethernet/jme.c bmcr |= BMCR_PDOWN; bmcr 1716 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_BMCR, bmcr); bmcr 1872 drivers/net/ethernet/jme.c u32 bmcr, tmp; bmcr 1875 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_BMCR); bmcr 1876 drivers/net/ethernet/jme.c tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | bmcr 1880 drivers/net/ethernet/jme.c if (bmcr != tmp) bmcr 2933 drivers/net/ethernet/jme.c u16 bmcr, bmsr; bmcr 3085 drivers/net/ethernet/jme.c bmcr = jme_mdio_read(netdev, i, MII_BMCR); bmcr 3087 drivers/net/ethernet/jme.c if (bmcr != 0xFFFFU && (bmcr != 0 || bmsr != 0)) { bmcr 1298 drivers/net/ethernet/natsemi/natsemi.c u16 bmcr; bmcr 1315 drivers/net/ethernet/natsemi/natsemi.c bmcr = readw(ioaddr+BasicControl+(MII_BMCR<<2)); bmcr 1316 drivers/net/ethernet/natsemi/natsemi.c writel(bmcr | BMCR_RESET, ioaddr+BasicControl+(MII_BMCR<<2)); bmcr 1320 drivers/net/ethernet/natsemi/natsemi.c bmcr = readw(ioaddr+BasicControl+(MII_BMCR<<2)); bmcr 1321 drivers/net/ethernet/natsemi/natsemi.c if (!(bmcr & BMCR_RESET)) bmcr 3355 drivers/net/ethernet/nvidia/forcedeth.c u32 bmcr; bmcr 3364 drivers/net/ethernet/nvidia/forcedeth.c bmcr = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); bmcr 3365 drivers/net/ethernet/nvidia/forcedeth.c if (bmcr & BMCR_LOOPBACK) { bmcr 4444 drivers/net/ethernet/nvidia/forcedeth.c int adv, bmcr; bmcr 4475 drivers/net/ethernet/nvidia/forcedeth.c bmcr = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); bmcr 4477 drivers/net/ethernet/nvidia/forcedeth.c bmcr |= BMCR_ANENABLE; bmcr 4480 drivers/net/ethernet/nvidia/forcedeth.c if (phy_reset(dev, bmcr)) { bmcr 4485 drivers/net/ethernet/nvidia/forcedeth.c bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); bmcr 4486 drivers/net/ethernet/nvidia/forcedeth.c mii_rw(dev, np->phyaddr, MII_BMCR, bmcr); bmcr 4489 drivers/net/ethernet/nvidia/forcedeth.c int adv, bmcr; bmcr 4521 drivers/net/ethernet/nvidia/forcedeth.c bmcr = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); bmcr 4522 drivers/net/ethernet/nvidia/forcedeth.c bmcr &= ~(BMCR_ANENABLE|BMCR_SPEED100|BMCR_SPEED1000|BMCR_FULLDPLX); bmcr 4524 drivers/net/ethernet/nvidia/forcedeth.c bmcr |= BMCR_FULLDPLX; bmcr 4526 drivers/net/ethernet/nvidia/forcedeth.c bmcr |= BMCR_SPEED100; bmcr 4529 drivers/net/ethernet/nvidia/forcedeth.c if (phy_reset(dev, bmcr)) { bmcr 4534 drivers/net/ethernet/nvidia/forcedeth.c mii_rw(dev, np->phyaddr, MII_BMCR, bmcr); bmcr 4579 drivers/net/ethernet/nvidia/forcedeth.c int bmcr; bmcr 4595 drivers/net/ethernet/nvidia/forcedeth.c bmcr = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); bmcr 4597 drivers/net/ethernet/nvidia/forcedeth.c bmcr |= BMCR_ANENABLE; bmcr 4599 drivers/net/ethernet/nvidia/forcedeth.c if (phy_reset(dev, bmcr)) { bmcr 4604 drivers/net/ethernet/nvidia/forcedeth.c bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); bmcr 4605 drivers/net/ethernet/nvidia/forcedeth.c mii_rw(dev, np->phyaddr, MII_BMCR, bmcr); bmcr 4767 drivers/net/ethernet/nvidia/forcedeth.c int adv, bmcr; bmcr 4811 drivers/net/ethernet/nvidia/forcedeth.c bmcr = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); bmcr 4812 drivers/net/ethernet/nvidia/forcedeth.c bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); bmcr 4813 drivers/net/ethernet/nvidia/forcedeth.c mii_rw(dev, np->phyaddr, MII_BMCR, bmcr); bmcr 607 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c u16 bmcr, stat; bmcr 612 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c bmcr = pch_gbe_mdio_read(netdev, adapter->mii.phy_id, MII_BMCR); bmcr 615 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (!((bmcr == 0xFFFF) || ((stat == 0) && (bmcr == 0)))) bmcr 628 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c bmcr = pch_gbe_mdio_read(netdev, addr, MII_BMCR); bmcr 630 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c bmcr & ~BMCR_ISOLATE); bmcr 1315 drivers/net/ethernet/silan/sc92031.c u16 bmcr; bmcr 1319 drivers/net/ethernet/silan/sc92031.c bmcr = _sc92031_mii_read(port_base, MII_BMCR); bmcr 1320 drivers/net/ethernet/silan/sc92031.c if (!(bmcr & BMCR_ANENABLE)) { bmcr 1325 drivers/net/ethernet/silan/sc92031.c _sc92031_mii_write(port_base, MII_BMCR, bmcr | BMCR_ANRESTART); bmcr 737 drivers/net/ethernet/smsc/smc911x.c int bmcr; bmcr 742 drivers/net/ethernet/smsc/smc911x.c SMC_GET_PHY_BMCR(lp, phyaddr, bmcr); bmcr 743 drivers/net/ethernet/smsc/smc911x.c bmcr |= BMCR_PDOWN; bmcr 744 drivers/net/ethernet/smsc/smc911x.c SMC_SET_PHY_BMCR(lp, phyaddr, bmcr); bmcr 750 drivers/net/ethernet/smsc/smc911x.c bmcr &= ~BMCR_ANENABLE; bmcr 752 drivers/net/ethernet/smsc/smc911x.c bmcr |= BMCR_FULLDPLX; bmcr 755 drivers/net/ethernet/smsc/smc911x.c bmcr |= BMCR_SPEED100; bmcr 758 drivers/net/ethernet/smsc/smc911x.c SMC_SET_PHY_BMCR(lp, phyaddr, bmcr); bmcr 761 drivers/net/ethernet/smsc/smc911x.c bmcr &= ~BMCR_PDOWN; bmcr 762 drivers/net/ethernet/smsc/smc911x.c SMC_SET_PHY_BMCR(lp, phyaddr, bmcr); bmcr 823 drivers/net/ethernet/smsc/smc911x.c unsigned int bmcr; bmcr 826 drivers/net/ethernet/smsc/smc911x.c SMC_GET_PHY_BMCR(lp, phy, bmcr); bmcr 827 drivers/net/ethernet/smsc/smc911x.c bmcr |= BMCR_PDOWN; bmcr 828 drivers/net/ethernet/smsc/smc911x.c SMC_SET_PHY_BMCR(lp, phy, bmcr); bmcr 843 drivers/net/ethernet/smsc/smc911x.c unsigned int bmcr, cr; bmcr 849 drivers/net/ethernet/smsc/smc911x.c SMC_GET_PHY_BMCR(lp, phyaddr, bmcr); bmcr 853 drivers/net/ethernet/smsc/smc911x.c bmcr |= BMCR_FULLDPLX; bmcr 857 drivers/net/ethernet/smsc/smc911x.c bmcr &= ~BMCR_FULLDPLX; bmcr 860 drivers/net/ethernet/smsc/smc911x.c SMC_SET_PHY_BMCR(lp, phyaddr, bmcr); bmcr 905 drivers/net/ethernet/smsc/smc91x.c int bmcr, cfg1; bmcr 918 drivers/net/ethernet/smsc/smc91x.c bmcr = 0; bmcr 921 drivers/net/ethernet/smsc/smc91x.c bmcr |= BMCR_FULLDPLX; bmcr 924 drivers/net/ethernet/smsc/smc91x.c bmcr |= BMCR_SPEED100; bmcr 927 drivers/net/ethernet/smsc/smc91x.c smc_phy_write(dev, phyaddr, MII_BMCR, bmcr); bmcr 953 drivers/net/ethernet/smsc/smc91x.c unsigned int bmcr; bmcr 963 drivers/net/ethernet/smsc/smc91x.c bmcr = smc_phy_read(dev, phy, MII_BMCR); bmcr 964 drivers/net/ethernet/smsc/smc91x.c if (!(bmcr & BMCR_RESET)) bmcr 968 drivers/net/ethernet/smsc/smc91x.c return bmcr & BMCR_RESET; bmcr 980 drivers/net/ethernet/smsc/smc91x.c unsigned int bmcr; bmcr 991 drivers/net/ethernet/smsc/smc91x.c bmcr = smc_phy_read(dev, phy, MII_BMCR); bmcr 992 drivers/net/ethernet/smsc/smc91x.c smc_phy_write(dev, phy, MII_BMCR, bmcr | BMCR_PDOWN); bmcr 4524 drivers/net/ethernet/sun/cassini.c u16 bmcr; bmcr 4539 drivers/net/ethernet/sun/cassini.c bmcr = 0; bmcr 4559 drivers/net/ethernet/sun/cassini.c bmcr = cas_phy_read(cp, MII_BMCR); bmcr 4573 drivers/net/ethernet/sun/cassini.c bmcr = readl(cp->regs + REG_PCS_MII_CTRL); bmcr 4580 drivers/net/ethernet/sun/cassini.c if (bmcr & BMCR_ANENABLE) { bmcr 4590 drivers/net/ethernet/sun/cassini.c cmd->base.speed = ((bmcr & CAS_BMCR_SPEED1000) ? bmcr 4592 drivers/net/ethernet/sun/cassini.c ((bmcr & BMCR_SPEED100) ? bmcr 4594 drivers/net/ethernet/sun/cassini.c cmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? bmcr 1097 drivers/net/ethernet/sun/niu.c int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; bmcr 1103 drivers/net/ethernet/sun/niu.c bmcr = err; bmcr 1158 drivers/net/ethernet/sun/niu.c if (bmcr & BMCR_ANENABLE) { bmcr 1185 drivers/net/ethernet/sun/niu.c if ((bmcr & BMCR_SPEED1000) && !(bmcr & BMCR_SPEED100)) bmcr 1187 drivers/net/ethernet/sun/niu.c else if (bmcr & BMCR_SPEED100) bmcr 1192 drivers/net/ethernet/sun/niu.c if (bmcr & BMCR_FULLDPLX) bmcr 1657 drivers/net/ethernet/sun/niu.c u16 bmcr, bmsr, estat; bmcr 1680 drivers/net/ethernet/sun/niu.c bmcr = 0; bmcr 1681 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); bmcr 1695 drivers/net/ethernet/sun/niu.c bmcr = (BMCR_SPEED1000 | BMCR_FULLDPLX); bmcr 1697 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); bmcr 1704 drivers/net/ethernet/sun/niu.c bmcr = mii_read(np, np->phy_addr, MII_BMCR); bmcr 1716 drivers/net/ethernet/sun/niu.c u16 bmcr, bmsr, adv, estat; bmcr 1736 drivers/net/ethernet/sun/niu.c bmcr = 0; bmcr 1737 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); bmcr 1742 drivers/net/ethernet/sun/niu.c bmcr |= BMCR_LOOPBACK; bmcr 1744 drivers/net/ethernet/sun/niu.c bmcr |= BMCR_SPEED1000; bmcr 1746 drivers/net/ethernet/sun/niu.c bmcr |= BMCR_FULLDPLX; bmcr 1793 drivers/net/ethernet/sun/niu.c bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); bmcr 1799 drivers/net/ethernet/sun/niu.c bmcr |= BMCR_FULLDPLX; bmcr 1812 drivers/net/ethernet/sun/niu.c bmcr |= BMCR_SPEED1000; bmcr 1817 drivers/net/ethernet/sun/niu.c bmcr |= BMCR_SPEED100; bmcr 1826 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); bmcr 1834 drivers/net/ethernet/sun/niu.c bmcr = err; bmcr 1842 drivers/net/ethernet/sun/niu.c np->port, bmcr, bmsr); bmcr 926 drivers/net/ethernet/xilinx/xilinx_emaclite.c u32 bmcr; bmcr 947 drivers/net/ethernet/xilinx/xilinx_emaclite.c bmcr = phy_read(lp->phy_dev, MII_BMCR); bmcr 948 drivers/net/ethernet/xilinx/xilinx_emaclite.c bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); bmcr 949 drivers/net/ethernet/xilinx/xilinx_emaclite.c phy_write(lp->phy_dev, MII_BMCR, bmcr); bmcr 58 drivers/net/mii.c u16 bmcr, bmsr, ctrl1000 = 0, stat1000 = 0; bmcr 81 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); bmcr 87 drivers/net/mii.c if (bmcr & BMCR_ANENABLE) { bmcr 122 drivers/net/mii.c ((bmcr & BMCR_SPEED1000 && bmcr 123 drivers/net/mii.c (bmcr & BMCR_SPEED100) == 0) ? bmcr 125 drivers/net/mii.c ((bmcr & BMCR_SPEED100) ? bmcr 127 drivers/net/mii.c ecmd->duplex = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; bmcr 149 drivers/net/mii.c u16 bmcr, bmsr, ctrl1000 = 0, stat1000 = 0; bmcr 168 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); bmcr 174 drivers/net/mii.c if (bmcr & BMCR_ANENABLE) { bmcr 207 drivers/net/mii.c cmd->base.speed = ((bmcr & BMCR_SPEED1000 && bmcr 208 drivers/net/mii.c (bmcr & BMCR_SPEED100) == 0) ? bmcr 210 drivers/net/mii.c ((bmcr & BMCR_SPEED100) ? bmcr 212 drivers/net/mii.c cmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? bmcr 262 drivers/net/mii.c u32 bmcr, advert, tmp; bmcr 293 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); bmcr 294 drivers/net/mii.c bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); bmcr 295 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_BMCR, bmcr); bmcr 299 drivers/net/mii.c u32 bmcr, tmp; bmcr 302 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); bmcr 303 drivers/net/mii.c tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | bmcr 314 drivers/net/mii.c if (bmcr != tmp) bmcr 354 drivers/net/mii.c u32 bmcr, advert, tmp; bmcr 390 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); bmcr 391 drivers/net/mii.c bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); bmcr 392 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_BMCR, bmcr); bmcr 396 drivers/net/mii.c u32 bmcr, tmp; bmcr 399 drivers/net/mii.c bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); bmcr 400 drivers/net/mii.c tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | bmcr 412 drivers/net/mii.c if (bmcr != tmp) bmcr 461 drivers/net/mii.c int bmcr; bmcr 465 drivers/net/mii.c bmcr = mii->mdio_read(mii->dev, mii->phy_id, MII_BMCR); bmcr 467 drivers/net/mii.c if (bmcr & BMCR_ANENABLE) { bmcr 468 drivers/net/mii.c bmcr |= BMCR_ANRESTART; bmcr 469 drivers/net/mii.c mii->mdio_write(mii->dev, mii->phy_id, MII_BMCR, bmcr); bmcr 79 drivers/net/phy/at803x.c u16 bmcr; bmcr 143 drivers/net/phy/at803x.c context->bmcr = phy_read(phydev, MII_BMCR); bmcr 155 drivers/net/phy/at803x.c phy_write(phydev, MII_BMCR, context->bmcr); bmcr 121 drivers/net/phy/icplus.c int bmcr; bmcr 124 drivers/net/phy/icplus.c bmcr = phy_read(phydev, MII_BMCR); bmcr 125 drivers/net/phy/icplus.c if (bmcr < 0) bmcr 126 drivers/net/phy/icplus.c return bmcr; bmcr 127 drivers/net/phy/icplus.c bmcr |= BMCR_RESET; bmcr 128 drivers/net/phy/icplus.c bmcr = phy_write(phydev, MII_BMCR, bmcr); bmcr 129 drivers/net/phy/icplus.c if (bmcr < 0) bmcr 130 drivers/net/phy/icplus.c return bmcr; bmcr 133 drivers/net/phy/icplus.c bmcr = phy_read(phydev, MII_BMCR); bmcr 134 drivers/net/phy/icplus.c if (bmcr < 0) bmcr 135 drivers/net/phy/icplus.c return bmcr; bmcr 136 drivers/net/phy/icplus.c } while (bmcr & BMCR_RESET); bmcr 198 drivers/net/phy/lxt.c int bmcr = phy_read(phydev, MII_BMCR); bmcr 200 drivers/net/phy/lxt.c if (bmcr < 0) bmcr 201 drivers/net/phy/lxt.c return bmcr; bmcr 203 drivers/net/phy/lxt.c if (bmcr & BMCR_FULLDPLX) bmcr 208 drivers/net/phy/lxt.c if (bmcr & BMCR_SPEED1000) bmcr 210 drivers/net/phy/lxt.c else if (bmcr & BMCR_SPEED100) bmcr 1289 drivers/net/phy/marvell.c int bmcr = phy_read(phydev, MII_BMCR); bmcr 1291 drivers/net/phy/marvell.c if (bmcr < 0) bmcr 1292 drivers/net/phy/marvell.c return bmcr; bmcr 1294 drivers/net/phy/marvell.c if (bmcr & BMCR_FULLDPLX) bmcr 1299 drivers/net/phy/marvell.c if (bmcr & BMCR_SPEED1000) bmcr 1301 drivers/net/phy/marvell.c else if (bmcr & BMCR_SPEED100) bmcr 94 drivers/net/phy/national.c int bmcr = phy_read(phydev, MII_BMCR); bmcr 96 drivers/net/phy/national.c phy_write(phydev, MII_BMCR, (bmcr | BMCR_PDOWN)); bmcr 102 drivers/net/phy/national.c phy_write(phydev, MII_BMCR, (bmcr & ~BMCR_PDOWN)); bmcr 1752 drivers/net/phy/phy_device.c int status = 0, bmcr; bmcr 1754 drivers/net/phy/phy_device.c bmcr = phy_read(phydev, MII_BMCR); bmcr 1755 drivers/net/phy/phy_device.c if (bmcr < 0) bmcr 1756 drivers/net/phy/phy_device.c return bmcr; bmcr 1761 drivers/net/phy/phy_device.c if (bmcr & BMCR_ANRESTART) bmcr 1875 drivers/net/phy/phy_device.c int bmcr = phy_read(phydev, MII_BMCR); bmcr 1877 drivers/net/phy/phy_device.c if (bmcr < 0) bmcr 1878 drivers/net/phy/phy_device.c return bmcr; bmcr 1880 drivers/net/phy/phy_device.c if (bmcr & BMCR_FULLDPLX) bmcr 1885 drivers/net/phy/phy_device.c if (bmcr & BMCR_SPEED1000) bmcr 1887 drivers/net/phy/phy_device.c else if (bmcr & BMCR_SPEED100) bmcr 3873 drivers/net/usb/r8152.c u16 bmcr; bmcr 3882 drivers/net/usb/r8152.c bmcr = BMCR_SPEED10; bmcr 3884 drivers/net/usb/r8152.c bmcr |= BMCR_FULLDPLX; bmcr 3891 drivers/net/usb/r8152.c bmcr = BMCR_SPEED100; bmcr 3893 drivers/net/usb/r8152.c bmcr |= BMCR_FULLDPLX; bmcr 3901 drivers/net/usb/r8152.c bmcr = BMCR_SPEED1000 | BMCR_FULLDPLX; bmcr 3972 drivers/net/usb/r8152.c bmcr = BMCR_ANENABLE | BMCR_ANRESTART; bmcr 3978 drivers/net/usb/r8152.c bmcr |= BMCR_RESET; bmcr 3980 drivers/net/usb/r8152.c r8152_mdio_write(tp, MII_BMCR, bmcr); bmcr 3982 drivers/net/usb/r8152.c if (bmcr & BMCR_RESET) { bmcr 793 drivers/net/usb/rtl8150.c short lpa, bmcr; bmcr 804 drivers/net/usb/rtl8150.c get_registers(dev, BMCR, 2, &bmcr); bmcr 806 drivers/net/usb/rtl8150.c if (bmcr & BMCR_ANENABLE) { bmcr 819 drivers/net/usb/rtl8150.c ecmd->base.speed = ((bmcr & BMCR_SPEED100) ? bmcr 821 drivers/net/usb/rtl8150.c ecmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? bmcr 819 drivers/net/usb/smsc75xx.c int bmcr, ret, timeout = 0; bmcr 835 drivers/net/usb/smsc75xx.c bmcr = smsc75xx_mdio_read(dev->net, dev->mii.phy_id, MII_BMCR); bmcr 836 drivers/net/usb/smsc75xx.c if (bmcr < 0) { bmcr 838 drivers/net/usb/smsc75xx.c return bmcr; bmcr 841 drivers/net/usb/smsc75xx.c } while ((bmcr & BMCR_RESET) && (timeout < 100)); bmcr 977 drivers/net/usb/smsc95xx.c int bmcr, ret, timeout = 0; bmcr 992 drivers/net/usb/smsc95xx.c bmcr = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, MII_BMCR); bmcr 994 drivers/net/usb/smsc95xx.c } while ((bmcr & BMCR_RESET) && (timeout < 100));