Lines Matching refs:new_bmcr
1766 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()
1821 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
2078 u32 new_bmcr; in bnx2_setup_copper_phy() local
2121 new_bmcr = 0; in bnx2_setup_copper_phy()
2123 new_bmcr |= BMCR_SPEED100; in bnx2_setup_copper_phy()
2126 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_copper_phy()
2128 if (new_bmcr != bmcr) { in bnx2_setup_copper_phy()
2145 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_copper_phy()