Home
last modified time | relevance | path

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

/Linux-v5.15/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.c524 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in try_next_permutation()
529 if (hp->sw_bmcr & BMCR_FULLDPLX) { in try_next_permutation()
530 hp->sw_bmcr &= ~(BMCR_FULLDPLX); in try_next_permutation()
531 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation()
536 if (hp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation()
537 hp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation()
538 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation()
576 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in display_forced_link_mode()
577 if (hp->sw_bmcr & BMCR_SPEED100) in display_forced_link_mode()
581 if (hp->sw_bmcr & BMCR_FULLDPLX) 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