Home
last modified time | relevance | path

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

/drivers/net/ethernet/dec/tulip/
Dmedia.c450 unsigned int to_advert, new_bmcr, ane_switch; in tulip_find_mii() local
504 new_bmcr = mii_reg0 | BMCR_ANENABLE; in tulip_find_mii()
505 if (new_bmcr != mii_reg0) { in tulip_find_mii()
506 new_bmcr |= BMCR_ANRESTART; in tulip_find_mii()
512 new_bmcr = mii_reg0 & ~BMCR_ANENABLE; in tulip_find_mii()
513 if (new_bmcr != mii_reg0) in tulip_find_mii()
518 new_bmcr &= ~(BMCR_CTST | BMCR_FULLDPLX | BMCR_ISOLATE | in tulip_find_mii()
523 new_bmcr |= BMCR_FULLDPLX; in tulip_find_mii()
525 new_bmcr |= BMCR_SPEED100; in tulip_find_mii()
527 if (new_bmcr != mii_reg0) { in tulip_find_mii()
[all …]
/drivers/net/ethernet/broadcom/
Dbnx2.c1766 u32 new_bmcr; in bnx2_setup_serdes_phy() local
1780 new_bmcr = bmcr & ~BMCR_ANENABLE; in bnx2_setup_serdes_phy()
1781 new_bmcr |= BMCR_SPEED1000; in bnx2_setup_serdes_phy()
1788 new_bmcr &= ~0x2000; in bnx2_setup_serdes_phy()
1793 new_bmcr |= BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1795 new_bmcr = bmcr & ~BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1800 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1804 new_bmcr &= ~BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1806 if ((new_bmcr != bmcr) || (force_link_down)) { in bnx2_setup_serdes_phy()
1817 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
[all …]
Dtg3.c5913 u32 new_bmcr; in tg3_setup_fiber_mii_phy() local
5916 new_bmcr = bmcr & ~(BMCR_ANENABLE | BMCR_FULLDPLX); in tg3_setup_fiber_mii_phy()
5919 new_bmcr |= BMCR_FULLDPLX; in tg3_setup_fiber_mii_phy()
5921 if (new_bmcr != bmcr) { in tg3_setup_fiber_mii_phy()
5925 new_bmcr |= BMCR_SPEED1000; in tg3_setup_fiber_mii_phy()
5942 tg3_writephy(tp, MII_BMCR, new_bmcr); in tg3_setup_fiber_mii_phy()
5943 bmcr = new_bmcr; in tg3_setup_fiber_mii_phy()