Lines Matching refs:new_bmcr
1768 u32 new_bmcr; in bnx2_setup_serdes_phy() local
1782 new_bmcr = bmcr & ~BMCR_ANENABLE; in bnx2_setup_serdes_phy()
1783 new_bmcr |= BMCR_SPEED1000; in bnx2_setup_serdes_phy()
1790 new_bmcr &= ~0x2000; in bnx2_setup_serdes_phy()
1795 new_bmcr |= BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1797 new_bmcr = bmcr & ~BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1802 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1806 new_bmcr &= ~BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1808 if ((new_bmcr != bmcr) || (force_link_down)) { in bnx2_setup_serdes_phy()
1819 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
1823 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
2080 u32 new_bmcr; in bnx2_setup_copper_phy() local
2123 new_bmcr = 0; in bnx2_setup_copper_phy()
2125 new_bmcr |= BMCR_SPEED100; in bnx2_setup_copper_phy()
2128 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_copper_phy()
2130 if (new_bmcr != bmcr) { in bnx2_setup_copper_phy()
2147 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_copper_phy()