Searched refs:sw_bmcr (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | sunbmac.c | 495 if (bp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation() 499 bp->sw_bmcr = (BMCR_ISOLATE | BMCR_PDOWN | BMCR_LOOPBACK); in try_next_permutation() 500 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in try_next_permutation() 501 bp->sw_bmcr = (BMCR_RESET); in try_next_permutation() 502 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in try_next_permutation() 506 bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); in try_next_permutation() 507 if ((bp->sw_bmcr & BMCR_RESET) == 0) in try_next_permutation() 514 bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); in try_next_permutation() 517 bp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation() 518 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in try_next_permutation() [all …]
|
D | sunhme.c | 548 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in try_next_permutation() 553 if (hp->sw_bmcr & BMCR_FULLDPLX) { in try_next_permutation() 554 hp->sw_bmcr &= ~(BMCR_FULLDPLX); in try_next_permutation() 555 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation() 560 if (hp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation() 561 hp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation() 562 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation() 600 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in display_forced_link_mode() 601 if (hp->sw_bmcr & BMCR_SPEED100) in display_forced_link_mode() 605 if (hp->sw_bmcr & BMCR_FULLDPLX) in display_forced_link_mode() [all …]
|
D | sunbmac.h | 309 unsigned short sw_bmcr; /* SW copy of PHY BMCR */ member
|
D | sunhme.h | 440 unsigned short sw_bmcr; /* SW copy of BMCR */ member
|