Lines Matching refs:new_bmcr
1750 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()
1805 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
2062 u32 new_bmcr; in bnx2_setup_copper_phy() local
2105 new_bmcr = 0; in bnx2_setup_copper_phy()
2107 new_bmcr |= BMCR_SPEED100; in bnx2_setup_copper_phy()
2110 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_copper_phy()
2112 if (new_bmcr != bmcr) { in bnx2_setup_copper_phy()
2129 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_copper_phy()