Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c496 if (bp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation()
502 bp->sw_bmcr = (BMCR_RESET); in try_next_permutation()
508 if ((bp->sw_bmcr & BMCR_RESET) == 0) in try_next_permutation()
518 bp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation()
540 (bp->sw_bmcr & BMCR_SPEED100) ? in bigmac_timer()
590 bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); in bigmac_begin_auto_negotiation()
594 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in bigmac_begin_auto_negotiation()
595 bp->sw_bmcr = (BMCR_RESET); in bigmac_begin_auto_negotiation()
596 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in bigmac_begin_auto_negotiation()
601 if ((bp->sw_bmcr & BMCR_RESET) == 0) in bigmac_begin_auto_negotiation()
[all …]
H A Dsunhme.c491 hp->sw_bmcr &= ~(BMCR_FULLDPLX); in try_next_permutation()
655 hp->sw_bmcr |= BMCR_ANENABLE; in happy_meal_begin_auto_negotiation()
659 hp->sw_bmcr |= BMCR_ANRESTART; in happy_meal_begin_auto_negotiation()
674 hp->sw_bmcr); in happy_meal_begin_auto_negotiation()
692 hp->sw_bmcr = BMCR_SPEED100; in happy_meal_begin_auto_negotiation()
695 hp->sw_bmcr = BMCR_SPEED100; in happy_meal_begin_auto_negotiation()
697 hp->sw_bmcr = 0; in happy_meal_begin_auto_negotiation()
699 hp->sw_bmcr |= BMCR_FULLDPLX; in happy_meal_begin_auto_negotiation()
742 hp->sw_bmcr = BMCR_SPEED100; in happy_meal_timer()
1038 hp->sw_bmcr = result; in happy_meal_tcvr_reset()
[all …]
H A Dsunbmac.h310 unsigned short sw_bmcr; /* SW copy of PHY BMCR */ member
H A Dsunhme.h439 unsigned short sw_bmcr; /* SW copy of BMCR */ member