Lines Matching full:modes
138 * sfp_parse_support() - Parse the eeprom id for supported link modes
142 * @interfaces: pointer to an array of unsigned long for phy interface modes
146 * ethtool link modes for the module.
152 __ETHTOOL_DECLARE_LINK_MODE_MASK(modes) = { 0, }; in sfp_parse_support()
177 phylink_set(modes, 10000baseSR_Full); in sfp_parse_support()
181 phylink_set(modes, 10000baseLR_Full); in sfp_parse_support()
185 phylink_set(modes, 10000baseLRM_Full); in sfp_parse_support()
189 phylink_set(modes, 10000baseER_Full); in sfp_parse_support()
195 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
199 phylink_set(modes, 1000baseT_Half); in sfp_parse_support()
200 phylink_set(modes, 1000baseT_Full); in sfp_parse_support()
208 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
214 phylink_set(modes, 100baseFX_Full); in sfp_parse_support()
218 phylink_set(modes, 100baseFX_Full); in sfp_parse_support()
222 /* For active or passive cables, select the link modes in sfp_parse_support()
228 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
232 phylink_set(modes, 2500baseX_Full); in sfp_parse_support()
236 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
242 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
249 phylink_set(modes, 10000baseCR_Full); in sfp_parse_support()
264 phylink_set(modes, 25000baseSR_Full); in sfp_parse_support()
268 phylink_set(modes, 100000baseSR4_Full); in sfp_parse_support()
269 phylink_set(modes, 25000baseSR_Full); in sfp_parse_support()
274 phylink_set(modes, 100000baseLR4_ER4_Full); in sfp_parse_support()
277 phylink_set(modes, 100000baseCR4_Full); in sfp_parse_support()
281 phylink_set(modes, 25000baseCR_Full); in sfp_parse_support()
286 phylink_set(modes, 10000baseT_Full); in sfp_parse_support()
290 phylink_set(modes, 5000baseT_Full); in sfp_parse_support()
294 phylink_set(modes, 2500baseT_Full); in sfp_parse_support()
304 /* For fibre channel SFP, derive possible BaseX modes */ in sfp_parse_support()
309 phylink_set(modes, 2500baseX_Full); in sfp_parse_support()
313 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
318 /* If we haven't discovered any modes that this module supports, try in sfp_parse_support()
319 * the bitrate to determine supported modes. Some BiDi modules (eg, in sfp_parse_support()
327 if (linkmode_empty(modes) && br_nom) { in sfp_parse_support()
329 phylink_set(modes, 1000baseX_Full); in sfp_parse_support()
333 phylink_set(modes, 2500baseX_Full); in sfp_parse_support()
338 phylink_set(modes, Autoneg); in sfp_parse_support()
339 phylink_set(modes, Pause); in sfp_parse_support()
340 phylink_set(modes, Asym_Pause); in sfp_parse_support()
342 if (bus->sfp_quirk && bus->sfp_quirk->modes) in sfp_parse_support()
343 bus->sfp_quirk->modes(id, modes, interfaces); in sfp_parse_support()
345 linkmode_or(support, support, modes); in sfp_parse_support()
352 * @link_modes: ethtool link modes mask
355 * modes mask.