Lines Matching refs:new_bmcr
1743 u32 new_bmcr; in bnx2_setup_serdes_phy() local
1757 new_bmcr = bmcr & ~BMCR_ANENABLE; in bnx2_setup_serdes_phy()
1758 new_bmcr |= BMCR_SPEED1000; in bnx2_setup_serdes_phy()
1765 new_bmcr &= ~0x2000; in bnx2_setup_serdes_phy()
1770 new_bmcr |= BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1772 new_bmcr = bmcr & ~BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1777 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1781 new_bmcr &= ~BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1783 if ((new_bmcr != bmcr) || (force_link_down)) { in bnx2_setup_serdes_phy()
1794 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
1798 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
2051 u32 new_bmcr; in bnx2_setup_copper_phy() local
2092 new_bmcr = 0; in bnx2_setup_copper_phy()
2094 new_bmcr |= BMCR_SPEED100; in bnx2_setup_copper_phy()
2097 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_copper_phy()
2099 if (new_bmcr != bmcr) { in bnx2_setup_copper_phy()
2116 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_copper_phy()