Home
last modified time | relevance | path

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

/Linux-v4.19/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.c549 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in try_next_permutation()
554 if (hp->sw_bmcr & BMCR_FULLDPLX) { in try_next_permutation()
555 hp->sw_bmcr &= ~(BMCR_FULLDPLX); in try_next_permutation()
556 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation()
561 if (hp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation()
562 hp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation()
563 happy_meal_tcvr_write(hp, tregs, MII_BMCR, hp->sw_bmcr); in try_next_permutation()
601 hp->sw_bmcr = happy_meal_tcvr_read(hp, tregs, MII_BMCR); in display_forced_link_mode()
602 if (hp->sw_bmcr & BMCR_SPEED100) in display_forced_link_mode()
606 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