sw_bmcr 496 drivers/net/ethernet/sun/sunbmac.c if (bp->sw_bmcr & BMCR_SPEED100) { sw_bmcr 500 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = (BMCR_ISOLATE | BMCR_PDOWN | BMCR_LOOPBACK); sw_bmcr 501 drivers/net/ethernet/sun/sunbmac.c bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); sw_bmcr 502 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = (BMCR_RESET); sw_bmcr 503 drivers/net/ethernet/sun/sunbmac.c bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); sw_bmcr 507 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); sw_bmcr 508 drivers/net/ethernet/sun/sunbmac.c if ((bp->sw_bmcr & BMCR_RESET) == 0) sw_bmcr 515 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); sw_bmcr 518 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr &= ~(BMCR_SPEED100); sw_bmcr 519 drivers/net/ethernet/sun/sunbmac.c bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); sw_bmcr 536 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); sw_bmcr 540 drivers/net/ethernet/sun/sunbmac.c (bp->sw_bmcr & BMCR_SPEED100) ? sw_bmcr 590 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); sw_bmcr 593 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = (BMCR_ISOLATE | BMCR_PDOWN | BMCR_LOOPBACK); sw_bmcr 594 drivers/net/ethernet/sun/sunbmac.c bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); sw_bmcr 595 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = (BMCR_RESET); sw_bmcr 596 drivers/net/ethernet/sun/sunbmac.c bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); sw_bmcr 600 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); sw_bmcr 601 drivers/net/ethernet/sun/sunbmac.c if ((bp->sw_bmcr & BMCR_RESET) == 0) sw_bmcr 608 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); sw_bmcr 611 drivers/net/ethernet/sun/sunbmac.c bp->sw_bmcr |= BMCR_SPEED100; sw_bmcr 612 drivers/net/ethernet/sun/sunbmac.c bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); sw_bmcr 310 drivers/net/ethernet/sun/sunbmac.h unsigned short sw_bmcr; /* SW copy of PHY BMCR */ sw_bmcr 549 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); sw_bmcr 554 drivers/net/ethernet/sun/sunhme.c if (hp->sw_bmcr & BMCR_FULLDPLX) { sw_bmcr 555 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr &= ~(BMCR_FULLDPLX); sw_bmcr 556 drivers/net/ethernet/sun/sunhme.c happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); sw_bmcr 561 drivers/net/ethernet/sun/sunhme.c if (hp->sw_bmcr & BMCR_SPEED100) { sw_bmcr 562 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr &= ~(BMCR_SPEED100); sw_bmcr 563 drivers/net/ethernet/sun/sunhme.c happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); sw_bmcr 601 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); sw_bmcr 602 drivers/net/ethernet/sun/sunhme.c if (hp->sw_bmcr & BMCR_SPEED100) sw_bmcr 606 drivers/net/ethernet/sun/sunhme.c if (hp->sw_bmcr & BMCR_FULLDPLX) sw_bmcr 633 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); sw_bmcr 634 drivers/net/ethernet/sun/sunhme.c if (hp->sw_bmcr & BMCR_FULLDPLX) sw_bmcr 706 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); sw_bmcr 709 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = BMCR_SPEED100; sw_bmcr 710 drivers/net/ethernet/sun/sunhme.c happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); sw_bmcr 1043 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = result; sw_bmcr 1061 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr &= ~(BMCR_ISOLATE); sw_bmcr 1062 drivers/net/ethernet/sun/sunhme.c happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); sw_bmcr 1307 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); sw_bmcr 1354 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr |= BMCR_ANENABLE; sw_bmcr 1355 drivers/net/ethernet/sun/sunhme.c happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); sw_bmcr 1358 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr |= BMCR_ANRESTART; sw_bmcr 1359 drivers/net/ethernet/sun/sunhme.c happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); sw_bmcr 1365 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); sw_bmcr 1366 drivers/net/ethernet/sun/sunhme.c if (!(hp->sw_bmcr & BMCR_ANRESTART)) sw_bmcr 1372 drivers/net/ethernet/sun/sunhme.c "BMCR=0x%04x\n", hp->dev->name, hp->sw_bmcr); sw_bmcr 1390 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = BMCR_SPEED100; sw_bmcr 1393 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = BMCR_SPEED100; sw_bmcr 1395 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = 0; sw_bmcr 1397 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr |= BMCR_FULLDPLX; sw_bmcr 1399 drivers/net/ethernet/sun/sunhme.c happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); sw_bmcr 1890 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); sw_bmcr 1896 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr |= (BMCR_FULLDPLX | BMCR_SPEED100); sw_bmcr 1899 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr |= BMCR_SPEED100; sw_bmcr 1902 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr |= BMCR_FULLDPLX; sw_bmcr 1906 drivers/net/ethernet/sun/sunhme.c happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); sw_bmcr 2455 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = happy_meal_tcvr_read(hp, hp->tcvregs, MII_BMCR); sw_bmcr 2459 drivers/net/ethernet/sun/sunhme.c if (hp->sw_bmcr & BMCR_ANENABLE) { sw_bmcr 2473 drivers/net/ethernet/sun/sunhme.c speed = (hp->sw_bmcr & BMCR_SPEED100) ? SPEED_100 : SPEED_10; sw_bmcr 2475 drivers/net/ethernet/sun/sunhme.c (hp->sw_bmcr & BMCR_FULLDPLX) ? sw_bmcr 2538 drivers/net/ethernet/sun/sunhme.c hp->sw_bmcr = happy_meal_tcvr_read(hp, hp->tcvregs, MII_BMCR); sw_bmcr 439 drivers/net/ethernet/sun/sunhme.h unsigned short sw_bmcr; /* SW copy of BMCR */