Lines Matching full:advertising

297  * @advertising: the linkmode advertisement settings
303 static inline u32 linkmode_adv_to_mii_10gbt_adv_t(unsigned long *advertising) in linkmode_adv_to_mii_10gbt_adv_t() argument
308 advertising)) in linkmode_adv_to_mii_10gbt_adv_t()
311 advertising)) in linkmode_adv_to_mii_10gbt_adv_t()
314 advertising)) in linkmode_adv_to_mii_10gbt_adv_t()
322 * @advertising: target the linkmode advertisement settings
326 * to linkmode advertisement settings. Other bits in advertising aren't changed.
328 static inline void mii_10gbt_stat_mod_linkmode_lpa_t(unsigned long *advertising, in mii_10gbt_stat_mod_linkmode_lpa_t() argument
332 advertising, lpa & MDIO_AN_10GBT_STAT_LP2_5G); in mii_10gbt_stat_mod_linkmode_lpa_t()
334 advertising, lpa & MDIO_AN_10GBT_STAT_LP5G); in mii_10gbt_stat_mod_linkmode_lpa_t()
336 advertising, lpa & MDIO_AN_10GBT_STAT_LP10G); in mii_10gbt_stat_mod_linkmode_lpa_t()
341 * @advertising: target the linkmode advertisement settings
346 * Other bits in advertising aren't changed.
348 static inline void mii_t1_adv_l_mod_linkmode_t(unsigned long *advertising, u32 lpa) in mii_t1_adv_l_mod_linkmode_t() argument
350 linkmode_mod_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertising, in mii_t1_adv_l_mod_linkmode_t()
352 linkmode_mod_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertising, in mii_t1_adv_l_mod_linkmode_t()
358 * @advertising: target the linkmode advertisement settings
363 * Other bits in advertising aren't changed.
365 static inline void mii_t1_adv_m_mod_linkmode_t(unsigned long *advertising, u32 lpa) in mii_t1_adv_m_mod_linkmode_t() argument
368 advertising, lpa & MDIO_AN_T1_ADV_M_B10L); in mii_t1_adv_m_mod_linkmode_t()
370 advertising, lpa & MDIO_AN_T1_ADV_M_100BT1); in mii_t1_adv_m_mod_linkmode_t()
372 advertising, lpa & MDIO_AN_T1_ADV_M_1000BT1); in mii_t1_adv_m_mod_linkmode_t()
377 * @advertising: the linkmode advertisement settings
383 static inline u32 linkmode_adv_to_mii_t1_adv_l_t(unsigned long *advertising) in linkmode_adv_to_mii_t1_adv_l_t() argument
387 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, advertising)) in linkmode_adv_to_mii_t1_adv_l_t()
389 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, advertising)) in linkmode_adv_to_mii_t1_adv_l_t()
397 * @advertising: the linkmode advertisement settings
403 static inline u32 linkmode_adv_to_mii_t1_adv_m_t(unsigned long *advertising) in linkmode_adv_to_mii_t1_adv_m_t() argument
407 if (linkmode_test_bit(ETHTOOL_LINK_MODE_10baseT1L_Full_BIT, advertising)) in linkmode_adv_to_mii_t1_adv_m_t()
409 if (linkmode_test_bit(ETHTOOL_LINK_MODE_100baseT1_Full_BIT, advertising)) in linkmode_adv_to_mii_t1_adv_m_t()
411 if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseT1_Full_BIT, advertising)) in linkmode_adv_to_mii_t1_adv_m_t()