Lines Matching refs:advertising
91 ecmd->advertising = ADVERTISED_TP | ADVERTISED_MII; in mii_ethtool_gset()
100 ecmd->advertising |= ADVERTISED_Autoneg; in mii_ethtool_gset()
103 ecmd->advertising |= mii_get_an(mii, MII_ADVERTISE); in mii_ethtool_gset()
105 ecmd->advertising |= ADVERTISED_1000baseT_Half; in mii_ethtool_gset()
107 ecmd->advertising |= ADVERTISED_1000baseT_Full; in mii_ethtool_gset()
121 nego = ecmd->advertising & ecmd->lp_advertising; in mii_ethtool_gset()
185 if ((ecmd->advertising & (ADVERTISED_10baseT_Half | in mii_ethtool_sset()
200 if (ecmd->advertising & ADVERTISED_10baseT_Half) in mii_ethtool_sset()
202 if (ecmd->advertising & ADVERTISED_10baseT_Full) in mii_ethtool_sset()
204 if (ecmd->advertising & ADVERTISED_100baseT_Half) in mii_ethtool_sset()
206 if (ecmd->advertising & ADVERTISED_100baseT_Full) in mii_ethtool_sset()
209 if (ecmd->advertising & ADVERTISED_1000baseT_Half) in mii_ethtool_sset()
211 if (ecmd->advertising & ADVERTISED_1000baseT_Full) in mii_ethtool_sset()
216 mii->advertising = tmp; in mii_ethtool_sset()
371 if ((!init_media) && (mii->advertising)) in mii_check_media()
372 advertise = mii->advertising; in mii_check_media()
375 mii->advertising = advertise; in mii_check_media()
458 mii_if->advertising = val; in generic_mii_ioctl()