Lines Matching refs:adv
4206 u32 adv, new_adv; in tg3_setup_fiber_mii_phy() local
4208 err |= tg3_readphy(tp, MII_ADVERTISE, &adv); in tg3_setup_fiber_mii_phy()
4209 new_adv = adv & ~(ADVERTISE_1000XFULL | ADVERTISE_1000XHALF | in tg3_setup_fiber_mii_phy()
4221 if ((new_adv != adv) || !(bmcr & BMCR_ANENABLE)) { in tg3_setup_fiber_mii_phy()
4249 u32 adv; in tg3_setup_fiber_mii_phy() local
4251 err |= tg3_readphy(tp, MII_ADVERTISE, &adv); in tg3_setup_fiber_mii_phy()
4252 adv &= ~(ADVERTISE_1000XFULL | in tg3_setup_fiber_mii_phy()
4255 tg3_writephy(tp, MII_ADVERTISE, adv); in tg3_setup_fiber_mii_phy()
12561 u32 adv = ADVERTISED_Autoneg | in tg3_phy_init_link_config() local
12565 adv |= ADVERTISED_1000baseT_Half | in tg3_phy_init_link_config()
12569 adv |= ADVERTISED_100baseT_Half | in tg3_phy_init_link_config()
12575 adv |= ADVERTISED_FIBRE; in tg3_phy_init_link_config()
12577 tp->link_config.advertising = adv; in tg3_phy_init_link_config()