Home
last modified time | relevance | path

Searched refs:adv (Results 1 – 2 of 2) sorted by relevance

/include/linux/
Dmii.h170 static inline u32 mii_adv_to_ethtool_adv_t(u32 adv) in mii_adv_to_ethtool_adv_t() argument
174 if (adv & ADVERTISE_10HALF) in mii_adv_to_ethtool_adv_t()
176 if (adv & ADVERTISE_10FULL) in mii_adv_to_ethtool_adv_t()
178 if (adv & ADVERTISE_100HALF) in mii_adv_to_ethtool_adv_t()
180 if (adv & ADVERTISE_100FULL) in mii_adv_to_ethtool_adv_t()
182 if (adv & ADVERTISE_PAUSE_CAP) in mii_adv_to_ethtool_adv_t()
184 if (adv & ADVERTISE_PAUSE_ASYM) in mii_adv_to_ethtool_adv_t()
240 static inline u32 mii_ctrl1000_to_ethtool_adv_t(u32 adv) in mii_ctrl1000_to_ethtool_adv_t() argument
244 if (adv & ADVERTISE_1000HALF) in mii_ctrl1000_to_ethtool_adv_t()
246 if (adv & ADVERTISE_1000FULL) in mii_ctrl1000_to_ethtool_adv_t()
[all …]
Dmdio.h227 u32 adv = 0; in mmd_eee_adv_to_ethtool_adv_t() local
230 adv |= ADVERTISED_100baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
232 adv |= ADVERTISED_1000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
234 adv |= ADVERTISED_10000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
236 adv |= ADVERTISED_1000baseKX_Full; in mmd_eee_adv_to_ethtool_adv_t()
238 adv |= ADVERTISED_10000baseKX4_Full; in mmd_eee_adv_to_ethtool_adv_t()
240 adv |= ADVERTISED_10000baseKR_Full; in mmd_eee_adv_to_ethtool_adv_t()
242 return adv; in mmd_eee_adv_to_ethtool_adv_t()
253 static inline u16 ethtool_adv_to_mmd_eee_adv_t(u32 adv) in ethtool_adv_to_mmd_eee_adv_t() argument
257 if (adv & ADVERTISED_100baseT_Full) in ethtool_adv_to_mmd_eee_adv_t()
[all …]