Home
last modified time | relevance | path

Searched refs:sw_bmcr (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/sun/
Dsunbmac.c496 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 …]
Dsunhme.c488 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in try_next_permutation()
493 if (hp->sw_bmcr & BMCR_FULLDPLX) { in try_next_permutation()
494 hp->sw_bmcr &= ~(BMCR_FULLDPLX); in try_next_permutation()
495 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation()
500 if (hp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation()
501 hp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation()
502 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation()
523 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in display_forced_link_mode()
528 hp->sw_bmcr & BMCR_SPEED100 ? 100 : 10, in display_forced_link_mode()
529 hp->sw_bmcr & BMCR_FULLDPLX ? "Full" : "Half"); in display_forced_link_mode()
[all …]
Dsunbmac.h310 unsigned short sw_bmcr; /* SW copy of PHY BMCR */ member
Dsunhme.h439 unsigned short sw_bmcr; /* SW copy of BMCR */ member