Home
last modified time | relevance | path

Searched refs:new_bmcr (Results 1 – 3 of 3) sorted by relevance

/drivers/net/tulip/
Dmedia.c464 unsigned int to_advert, new_bmcr, ane_switch; in tulip_find_mii() local
520 new_bmcr = mii_reg0 | BMCR_ANENABLE; in tulip_find_mii()
521 if (new_bmcr != mii_reg0) { in tulip_find_mii()
522 new_bmcr |= BMCR_ANRESTART; in tulip_find_mii()
528 new_bmcr = mii_reg0 & ~BMCR_ANENABLE; in tulip_find_mii()
529 if (new_bmcr != mii_reg0) in tulip_find_mii()
534 new_bmcr &= ~(BMCR_CTST | BMCR_FULLDPLX | BMCR_ISOLATE | in tulip_find_mii()
539 new_bmcr |= BMCR_FULLDPLX; in tulip_find_mii()
541 new_bmcr |= BMCR_SPEED100; in tulip_find_mii()
543 if (new_bmcr != mii_reg0) { in tulip_find_mii()
[all …]
/drivers/net/
Dbnx2.c1565 u32 new_bmcr; in bnx2_setup_serdes_phy() local
1579 new_bmcr = bmcr & ~BMCR_ANENABLE; in bnx2_setup_serdes_phy()
1580 new_bmcr |= BMCR_SPEED1000; in bnx2_setup_serdes_phy()
1587 new_bmcr &= ~0x2000; in bnx2_setup_serdes_phy()
1592 new_bmcr |= BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1594 new_bmcr = bmcr & ~BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1599 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1603 new_bmcr &= ~BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1605 if ((new_bmcr != bmcr) || (force_link_down)) { in bnx2_setup_serdes_phy()
1616 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
[all …]
Dtg3.c3786 u32 new_bmcr; in tg3_setup_fiber_mii_phy() local
3789 new_bmcr = bmcr & ~(BMCR_ANENABLE | BMCR_FULLDPLX); in tg3_setup_fiber_mii_phy()
3792 new_bmcr |= BMCR_FULLDPLX; in tg3_setup_fiber_mii_phy()
3794 if (new_bmcr != bmcr) { in tg3_setup_fiber_mii_phy()
3798 new_bmcr |= BMCR_SPEED1000; in tg3_setup_fiber_mii_phy()
3815 tg3_writephy(tp, MII_BMCR, new_bmcr); in tg3_setup_fiber_mii_phy()
3816 bmcr = new_bmcr; in tg3_setup_fiber_mii_phy()