• Home
  • Raw
  • Download

Lines Matching full:modes

16 	void (*modes)(const struct sfp_eeprom_id *id, unsigned long *modes);  member
42 unsigned long *modes) in sfp_quirk_2500basex() argument
44 phylink_set(modes, 2500baseX_Full); in sfp_quirk_2500basex()
48 unsigned long *modes) in sfp_quirk_ubnt_uf_instant() argument
52 * modes and set only one mode which module supports: 1000baseX_Full. in sfp_quirk_ubnt_uf_instant()
54 phylink_zero(modes); in sfp_quirk_ubnt_uf_instant()
55 phylink_set(modes, 1000baseX_Full); in sfp_quirk_ubnt_uf_instant()
64 .modes = sfp_quirk_2500basex,
70 .modes = sfp_quirk_2500basex,
76 .modes = sfp_quirk_2500basex,
82 .modes = sfp_quirk_2500basex,
86 .modes = sfp_quirk_ubnt_uf_instant,
231 * sfp_parse_support() - Parse the eeprom id for supported link modes
237 * ethtool link modes for the module.
243 __ETHTOOL_DECLARE_LINK_MODE_MASK(modes) = { 0, }; in sfp_parse_support()
268 phylink_set(modes, 10000baseSR_Full); in sfp_parse_support()
270 phylink_set(modes, 10000baseLR_Full); in sfp_parse_support()
272 phylink_set(modes, 10000baseLRM_Full); in sfp_parse_support()
274 phylink_set(modes, 10000baseER_Full); in sfp_parse_support()
278 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
280 phylink_set(modes, 1000baseT_Half); in sfp_parse_support()
281 phylink_set(modes, 1000baseT_Full); in sfp_parse_support()
287 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
289 /* For active or passive cables, select the link modes in sfp_parse_support()
295 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
297 phylink_set(modes, 2500baseX_Full); in sfp_parse_support()
299 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
303 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
308 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
316 phylink_set(modes, 100000baseSR4_Full); in sfp_parse_support()
317 phylink_set(modes, 25000baseSR_Full); in sfp_parse_support()
321 phylink_set(modes, 100000baseLR4_ER4_Full); in sfp_parse_support()
324 phylink_set(modes, 100000baseCR4_Full); in sfp_parse_support()
328 phylink_set(modes, 25000baseCR_Full); in sfp_parse_support()
332 phylink_set(modes, 10000baseT_Full); in sfp_parse_support()
335 phylink_set(modes, 5000baseT_Full); in sfp_parse_support()
338 phylink_set(modes, 2500baseT_Full); in sfp_parse_support()
347 /* For fibre channel SFP, derive possible BaseX modes */ in sfp_parse_support()
352 phylink_set(modes, 2500baseX_Full); in sfp_parse_support()
354 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
357 /* If we haven't discovered any modes that this module supports, try in sfp_parse_support()
358 * the bitrate to determine supported modes. Some BiDi modules (eg, in sfp_parse_support()
362 if (bitmap_empty(modes, __ETHTOOL_LINK_MODE_MASK_NBITS)) { in sfp_parse_support()
365 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
369 bus->sfp_quirk->modes(id, modes); in sfp_parse_support()
371 bitmap_or(support, support, modes, __ETHTOOL_LINK_MODE_MASK_NBITS); in sfp_parse_support()
382 * @link_modes: ethtool link modes mask
385 * modes mask.