Lines Matching refs:new_bmcr
789 u32 new_bmcr; in bnx2_setup_serdes_phy() local
805 new_bmcr = bmcr & ~BMCR_ANENABLE; in bnx2_setup_serdes_phy()
806 new_bmcr |= BMCR_SPEED1000; in bnx2_setup_serdes_phy()
809 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
813 new_bmcr &= ~BMCR_FULLDPLX; in bnx2_setup_serdes_phy()
815 if ((new_bmcr != bmcr) || (force_link_down)) { in bnx2_setup_serdes_phy()
825 bnx2_write_phy(bp, MII_BMCR, new_bmcr); in bnx2_setup_serdes_phy()
828 bnx2_write_phy(bp, MII_BMCR, new_bmcr); in bnx2_setup_serdes_phy()
899 u32 new_bmcr; in bnx2_setup_copper_phy() local
949 new_bmcr = 0; in bnx2_setup_copper_phy()
951 new_bmcr |= BMCR_SPEED100; in bnx2_setup_copper_phy()
954 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_copper_phy()
956 if (new_bmcr != bmcr) { in bnx2_setup_copper_phy()
974 bnx2_write_phy(bp, MII_BMCR, new_bmcr); in bnx2_setup_copper_phy()