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()
53 .modes = sfp_quirk_2500basex,
59 .modes = sfp_quirk_2500basex,
65 .modes = sfp_quirk_2500basex,
210 * sfp_parse_support() - Parse the eeprom id for supported link modes
216 * ethtool link modes for the module.
222 __ETHTOOL_DECLARE_LINK_MODE_MASK(modes) = { 0, }; in sfp_parse_support()
247 phylink_set(modes, 10000baseSR_Full); in sfp_parse_support()
249 phylink_set(modes, 10000baseLR_Full); in sfp_parse_support()
251 phylink_set(modes, 10000baseLRM_Full); in sfp_parse_support()
253 phylink_set(modes, 10000baseER_Full); in sfp_parse_support()
257 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
259 phylink_set(modes, 1000baseT_Half); in sfp_parse_support()
260 phylink_set(modes, 1000baseT_Full); in sfp_parse_support()
266 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
268 /* For active or passive cables, select the link modes in sfp_parse_support()
274 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
276 phylink_set(modes, 2500baseX_Full); in sfp_parse_support()
278 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
282 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
287 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
295 phylink_set(modes, 100000baseSR4_Full); in sfp_parse_support()
296 phylink_set(modes, 25000baseSR_Full); in sfp_parse_support()
300 phylink_set(modes, 100000baseLR4_ER4_Full); in sfp_parse_support()
303 phylink_set(modes, 100000baseCR4_Full); in sfp_parse_support()
307 phylink_set(modes, 25000baseCR_Full); in sfp_parse_support()
311 phylink_set(modes, 10000baseT_Full); in sfp_parse_support()
314 phylink_set(modes, 5000baseT_Full); in sfp_parse_support()
317 phylink_set(modes, 2500baseT_Full); in sfp_parse_support()
326 /* For fibre channel SFP, derive possible BaseX modes */ in sfp_parse_support()
331 phylink_set(modes, 2500baseX_Full); in sfp_parse_support()
333 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
336 /* If we haven't discovered any modes that this module supports, try in sfp_parse_support()
337 * the encoding and bitrate to determine supported modes. Some BiDi in sfp_parse_support()
341 if (bitmap_empty(modes, __ETHTOOL_LINK_MODE_MASK_NBITS)) { in sfp_parse_support()
345 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
349 bus->sfp_quirk->modes(id, modes); in sfp_parse_support()
351 bitmap_or(support, support, modes, __ETHTOOL_LINK_MODE_MASK_NBITS); in sfp_parse_support()
362 * @link_modes: ethtool link modes mask
365 * modes mask.