Lines Matching refs:new_adv
1760 u32 new_adv = 0; in bnx2_setup_serdes_phy() local
1832 new_adv |= ADVERTISE_1000XFULL; in bnx2_setup_serdes_phy()
1834 new_adv |= bnx2_phy_get_pause_adv(bp); in bnx2_setup_serdes_phy()
1840 if ((adv != new_adv) || ((bmcr & BMCR_ANENABLE) == 0)) { in bnx2_setup_serdes_phy()
1849 bnx2_write_phy(bp, bp->mii_adv, new_adv); in bnx2_setup_serdes_phy()
2077 u32 bmcr, adv_reg, new_adv = 0; in bnx2_setup_copper_phy() local
2086 new_adv = ADVERTISE_CSMA | ethtool_adv_to_mii_adv_t(bp->advertising); in bnx2_setup_copper_phy()
2092 new_adv |= bnx2_phy_get_pause_adv(bp); in bnx2_setup_copper_phy()
2099 (adv_reg != new_adv) || in bnx2_setup_copper_phy()
2102 bnx2_write_phy(bp, bp->mii_adv, new_adv); in bnx2_setup_copper_phy()
2118 if (adv_reg != new_adv) in bnx2_setup_copper_phy()
2119 bnx2_write_phy(bp, bp->mii_adv, new_adv); in bnx2_setup_copper_phy()