Lines Matching refs:new_bmcr
1772 u32 new_bmcr; in bnx2_setup_serdes_phy() local
1786 new_bmcr = bmcr & ~BMCR_ANENABLE; in bnx2_setup_serdes_phy()
1787 new_bmcr |= BMCR_SPEED1000; in bnx2_setup_serdes_phy()
1794 new_bmcr &= ~0x2000; in bnx2_setup_serdes_phy()
1799 new_bmcr |= BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1801 new_bmcr = bmcr & ~BCM5708S_BMCR_FORCE_2500; in bnx2_setup_serdes_phy()
1806 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1810 new_bmcr &= ~BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
1812 if ((new_bmcr != bmcr) || (force_link_down)) { in bnx2_setup_serdes_phy()
1823 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
1827 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_serdes_phy()
2084 u32 new_bmcr; in bnx2_setup_copper_phy() local
2127 new_bmcr = 0; in bnx2_setup_copper_phy()
2129 new_bmcr |= BMCR_SPEED100; in bnx2_setup_copper_phy()
2132 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_copper_phy()
2134 if (new_bmcr != bmcr) { in bnx2_setup_copper_phy()
2151 bnx2_write_phy(bp, bp->mii_bmcr, new_bmcr); in bnx2_setup_copper_phy()