Lines Matching defs:ethadv
109 * @ethadv: the ethtool advertisement settings
115 static inline u32 ethtool_adv_to_mii_adv_t(u32 ethadv)
119 if (ethadv & ADVERTISED_10baseT_Half)
121 if (ethadv & ADVERTISED_10baseT_Full)
123 if (ethadv & ADVERTISED_100baseT_Half)
125 if (ethadv & ADVERTISED_100baseT_Full)
127 if (ethadv & ADVERTISED_Pause)
129 if (ethadv & ADVERTISED_Asym_Pause)
192 * @ethadv: the ethtool advertisement settings
198 static inline u32 ethtool_adv_to_mii_ctrl1000_t(u32 ethadv)
202 if (ethadv & ADVERTISED_1000baseT_Half)
204 if (ethadv & ADVERTISED_1000baseT_Full)
311 * @ethadv: the ethtool advertisement settings
317 static inline u32 ethtool_adv_to_mii_adv_x(u32 ethadv)
321 if (ethadv & ADVERTISED_1000baseT_Half)
323 if (ethadv & ADVERTISED_1000baseT_Full)
325 if (ethadv & ADVERTISED_Pause)
327 if (ethadv & ADVERTISED_Asym_Pause)