Searched refs:sw_bmcr (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
H A D | sunbmac.c | 496 if (bp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation() 500 bp->sw_bmcr = (BMCR_ISOLATE | BMCR_PDOWN | BMCR_LOOPBACK); in try_next_permutation() 501 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in try_next_permutation() 502 bp->sw_bmcr = (BMCR_RESET); in try_next_permutation() 503 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in try_next_permutation() 507 bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); in try_next_permutation() 508 if ((bp->sw_bmcr & BMCR_RESET) == 0) in try_next_permutation() 515 bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); in try_next_permutation() 518 bp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation() 519 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in try_next_permutation() [all...] |
H A 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 in display_forced_link_mode() [all...] |
H A D | sunbmac.h | 310 unsigned short sw_bmcr; /* SW copy of PHY BMCR */ member
|
H A D | sunhme.h | 439 unsigned short sw_bmcr; /* SW copy of BMCR */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
H A D | sunbmac.c | 496 if (bp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation() 500 bp->sw_bmcr = (BMCR_ISOLATE | BMCR_PDOWN | BMCR_LOOPBACK); in try_next_permutation() 501 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in try_next_permutation() 502 bp->sw_bmcr = (BMCR_RESET); in try_next_permutation() 503 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in try_next_permutation() 507 bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); in try_next_permutation() 508 if ((bp->sw_bmcr & BMCR_RESET) == 0) in try_next_permutation() 515 bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); in try_next_permutation() 518 bp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation() 519 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in try_next_permutation() [all...] |
H A D | sunhme.c | 485 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in try_next_permutation() 490 if (hp->sw_bmcr & BMCR_FULLDPLX) { in try_next_permutation() 491 hp->sw_bmcr &= ~(BMCR_FULLDPLX); in try_next_permutation() 492 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation() 497 if (hp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation() 498 hp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation() 499 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation() 520 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in display_forced_link_mode() 525 hp->sw_bmcr & BMCR_SPEED100 ? 100 : 10, in display_forced_link_mode() 526 hp->sw_bmcr in display_forced_link_mode() [all...] |
H A D | sunbmac.h | 310 unsigned short sw_bmcr; /* SW copy of PHY BMCR */ member
|
H A D | sunhme.h | 439 unsigned short sw_bmcr; /* SW copy of BMCR */ member
|
Completed in 16 milliseconds