• Home
  • Raw
  • Download

Lines Matching full:modes

14 	void (*modes)(const struct sfp_eeprom_id *id, unsigned long *modes);  member
41 unsigned long *modes) in sfp_quirk_2500basex() argument
43 phylink_set(modes, 2500baseX_Full); in sfp_quirk_2500basex()
52 .modes = sfp_quirk_2500basex,
58 .modes = sfp_quirk_2500basex,
64 .modes = sfp_quirk_2500basex,
181 * sfp_parse_support() - Parse the eeprom id for supported link modes
187 * ethtool link modes for the module.
193 __ETHTOOL_DECLARE_LINK_MODE_MASK(modes) = { 0, }; in sfp_parse_support()
218 phylink_set(modes, 10000baseSR_Full); in sfp_parse_support()
220 phylink_set(modes, 10000baseLR_Full); in sfp_parse_support()
222 phylink_set(modes, 10000baseLRM_Full); in sfp_parse_support()
224 phylink_set(modes, 10000baseER_Full); in sfp_parse_support()
228 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
230 phylink_set(modes, 1000baseT_Half); in sfp_parse_support()
231 phylink_set(modes, 1000baseT_Full); in sfp_parse_support()
237 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
239 /* For active or passive cables, select the link modes in sfp_parse_support()
245 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
247 phylink_set(modes, 2500baseX_Full); in sfp_parse_support()
249 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
253 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
258 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
266 phylink_set(modes, 100000baseSR4_Full); in sfp_parse_support()
267 phylink_set(modes, 25000baseSR_Full); in sfp_parse_support()
271 phylink_set(modes, 100000baseLR4_ER4_Full); in sfp_parse_support()
276 phylink_set(modes, 100000baseCR4_Full); in sfp_parse_support()
277 phylink_set(modes, 25000baseCR_Full); in sfp_parse_support()
286 /* For fibre channel SFP, derive possible BaseX modes */ in sfp_parse_support()
291 phylink_set(modes, 2500baseX_Full); in sfp_parse_support()
293 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
296 /* If we haven't discovered any modes that this module supports, try in sfp_parse_support()
297 * the encoding and bitrate to determine supported modes. Some BiDi in sfp_parse_support()
301 if (bitmap_empty(modes, __ETHTOOL_LINK_MODE_MASK_NBITS)) { in sfp_parse_support()
305 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
309 bus->sfp_quirk->modes(id, modes); in sfp_parse_support()
311 bitmap_or(support, support, modes, __ETHTOOL_LINK_MODE_MASK_NBITS); in sfp_parse_support()
323 * @link_modes: ethtool link modes mask
326 * module's identifying EEPROM and the link modes mask. There is no