Home
last modified time | relevance | path

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

/drivers/net/ethernet/dec/tulip/
Dmedia.c455 unsigned int to_advert, new_bmcr, ane_switch; in tulip_find_mii() local
509 new_bmcr = mii_reg0 | BMCR_ANENABLE; in tulip_find_mii()
510 if (new_bmcr != mii_reg0) { in tulip_find_mii()
511 new_bmcr |= BMCR_ANRESTART; in tulip_find_mii()
517 new_bmcr = mii_reg0 & ~BMCR_ANENABLE; in tulip_find_mii()
518 if (new_bmcr != mii_reg0) in tulip_find_mii()
523 new_bmcr &= ~(BMCR_CTST | BMCR_FULLDPLX | BMCR_ISOLATE | in tulip_find_mii()
528 new_bmcr |= BMCR_FULLDPLX; in tulip_find_mii()
530 new_bmcr |= BMCR_SPEED100; in tulip_find_mii()
532 if (new_bmcr != mii_reg0) { in tulip_find_mii()
[all …]
/drivers/net/ethernet/broadcom/
Dbnx2.c1750 u32 new_bmcr; in bnx2_setup_serdes_phy() local
1764 new_bmcr = bmcr & ~BMCR_ANENABLE; in bnx2_setup_serdes_phy()
1765 new_bmcr |= BMCR_SPEED1000; in bnx2_setup_serdes_phy()
1772 new_bmcr &= ~0x2000; in bnx2_setup_serdes_phy()
1777 new_bmcr |= BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1779 new_bmcr = bmcr & ~BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1784 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1788 new_bmcr &= ~BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1790 if ((new_bmcr != bmcr) || (force_link_down)) { in bnx2_setup_serdes_phy()
1801 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
[all …]
Dtg3.c5902 u32 new_bmcr; in tg3_setup_fiber_mii_phy() local
5905 new_bmcr = bmcr & ~(BMCR_ANENABLE | BMCR_FULLDPLX); in tg3_setup_fiber_mii_phy()
5908 new_bmcr |= BMCR_FULLDPLX; in tg3_setup_fiber_mii_phy()
5910 if (new_bmcr != bmcr) { in tg3_setup_fiber_mii_phy()
5914 new_bmcr |= BMCR_SPEED1000; in tg3_setup_fiber_mii_phy()
5931 tg3_writephy(tp, MII_BMCR, new_bmcr); in tg3_setup_fiber_mii_phy()
5932 bmcr = new_bmcr; in tg3_setup_fiber_mii_phy()