Lines Matching refs:advertising
20 int advertising; member
143 static inline u32 linkmode_adv_to_mii_adv_t(unsigned long *advertising) in linkmode_adv_to_mii_adv_t() argument
147 if (linkmode_test_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
149 if (linkmode_test_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
151 if (linkmode_test_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
153 if (linkmode_test_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
155 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
157 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertising)) in linkmode_adv_to_mii_adv_t()
218 static inline u32 linkmode_adv_to_mii_ctrl1000_t(unsigned long *advertising) in linkmode_adv_to_mii_ctrl1000_t() argument
223 advertising)) in linkmode_adv_to_mii_ctrl1000_t()
226 advertising)) in linkmode_adv_to_mii_ctrl1000_t()
299 static inline void mii_stat1000_mod_linkmode_lpa_t(unsigned long *advertising, in mii_stat1000_mod_linkmode_lpa_t() argument
303 advertising, lpa & LPA_1000HALF); in mii_stat1000_mod_linkmode_lpa_t()
306 advertising, lpa & LPA_1000FULL); in mii_stat1000_mod_linkmode_lpa_t()
365 static inline void mii_adv_mod_linkmode_adv_t(unsigned long *advertising, in mii_adv_mod_linkmode_adv_t() argument
369 advertising, adv & ADVERTISE_10HALF); in mii_adv_mod_linkmode_adv_t()
372 advertising, adv & ADVERTISE_10FULL); in mii_adv_mod_linkmode_adv_t()
375 advertising, adv & ADVERTISE_100HALF); in mii_adv_mod_linkmode_adv_t()
378 advertising, adv & ADVERTISE_100FULL); in mii_adv_mod_linkmode_adv_t()
380 linkmode_mod_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertising, in mii_adv_mod_linkmode_adv_t()
384 advertising, adv & ADVERTISE_PAUSE_ASYM); in mii_adv_mod_linkmode_adv_t()
396 static inline void mii_adv_to_linkmode_adv_t(unsigned long *advertising, in mii_adv_to_linkmode_adv_t() argument
399 linkmode_zero(advertising); in mii_adv_to_linkmode_adv_t()
401 mii_adv_mod_linkmode_adv_t(advertising, adv); in mii_adv_to_linkmode_adv_t()
440 static inline void mii_ctrl1000_mod_linkmode_adv_t(unsigned long *advertising, in mii_ctrl1000_mod_linkmode_adv_t() argument
443 linkmode_mod_bit(ETHTOOL_LINK_MODE_1000baseT_Half_BIT, advertising, in mii_ctrl1000_mod_linkmode_adv_t()
445 linkmode_mod_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, advertising, in mii_ctrl1000_mod_linkmode_adv_t()
456 static inline u32 linkmode_adv_to_lcl_adv_t(unsigned long *advertising) in linkmode_adv_to_lcl_adv_t() argument
461 advertising)) in linkmode_adv_to_lcl_adv_t()
464 advertising)) in linkmode_adv_to_lcl_adv_t()