Lines Matching full:supported

53 	__ETHTOOL_DECLARE_LINK_MODE_MASK(supported);
152 static int phylink_validate(struct phylink *pl, unsigned long *supported, in phylink_validate() argument
155 pl->ops->validate(pl->config, supported, state); in phylink_validate()
157 return phylink_is_empty_linkmode(supported) ? -EINVAL : 0; in phylink_validate()
227 bitmap_fill(pl->supported, __ETHTOOL_LINK_MODE_MASK_NBITS); in phylink_parse_fixedlink()
228 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_parse_fixedlink()
229 phylink_validate(pl, pl->supported, &pl->link_config); in phylink_parse_fixedlink()
232 pl->supported, true); in phylink_parse_fixedlink()
233 linkmode_zero(pl->supported); in phylink_parse_fixedlink()
234 phylink_set(pl->supported, MII); in phylink_parse_fixedlink()
235 phylink_set(pl->supported, Pause); in phylink_parse_fixedlink()
236 phylink_set(pl->supported, Asym_Pause); in phylink_parse_fixedlink()
238 __set_bit(s->bit, pl->supported); in phylink_parse_fixedlink()
246 pl->supported); in phylink_parse_fixedlink()
272 linkmode_zero(pl->supported); in phylink_parse_mode()
273 phylink_set(pl->supported, MII); in phylink_parse_mode()
274 phylink_set(pl->supported, Autoneg); in phylink_parse_mode()
275 phylink_set(pl->supported, Asym_Pause); in phylink_parse_mode()
276 phylink_set(pl->supported, Pause); in phylink_parse_mode()
282 phylink_set(pl->supported, 10baseT_Half); in phylink_parse_mode()
283 phylink_set(pl->supported, 10baseT_Full); in phylink_parse_mode()
284 phylink_set(pl->supported, 100baseT_Half); in phylink_parse_mode()
285 phylink_set(pl->supported, 100baseT_Full); in phylink_parse_mode()
286 phylink_set(pl->supported, 1000baseT_Half); in phylink_parse_mode()
287 phylink_set(pl->supported, 1000baseT_Full); in phylink_parse_mode()
291 phylink_set(pl->supported, 1000baseX_Full); in phylink_parse_mode()
295 phylink_set(pl->supported, 2500baseX_Full); in phylink_parse_mode()
299 phylink_set(pl->supported, 10baseT_Half); in phylink_parse_mode()
300 phylink_set(pl->supported, 10baseT_Full); in phylink_parse_mode()
301 phylink_set(pl->supported, 100baseT_Half); in phylink_parse_mode()
302 phylink_set(pl->supported, 100baseT_Full); in phylink_parse_mode()
303 phylink_set(pl->supported, 1000baseT_Half); in phylink_parse_mode()
304 phylink_set(pl->supported, 1000baseT_Full); in phylink_parse_mode()
305 phylink_set(pl->supported, 1000baseX_Full); in phylink_parse_mode()
306 phylink_set(pl->supported, 10000baseKR_Full); in phylink_parse_mode()
307 phylink_set(pl->supported, 10000baseCR_Full); in phylink_parse_mode()
308 phylink_set(pl->supported, 10000baseSR_Full); in phylink_parse_mode()
309 phylink_set(pl->supported, 10000baseLR_Full); in phylink_parse_mode()
310 phylink_set(pl->supported, 10000baseLRM_Full); in phylink_parse_mode()
311 phylink_set(pl->supported, 10000baseER_Full); in phylink_parse_mode()
321 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_parse_mode()
323 if (phylink_validate(pl, pl->supported, &pl->link_config)) { in phylink_parse_mode()
649 bitmap_fill(pl->supported, __ETHTOOL_LINK_MODE_MASK_NBITS); in phylink_create()
650 linkmode_copy(pl->link_config.advertising, pl->supported); in phylink_create()
651 phylink_validate(pl, pl->supported, &pl->link_config); in phylink_create()
726 __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); in phylink_bringup_phy()
730 linkmode_copy(supported, phy->supported); in phylink_bringup_phy()
739 * clearing the bits from both supported and advertising fields. in phylink_bringup_phy()
741 if (phylink_test(supported, Pause)) in phylink_bringup_phy()
743 if (phylink_test(supported, Asym_Pause)) in phylink_bringup_phy()
746 ret = phylink_validate(pl, supported, &config); in phylink_bringup_phy()
760 linkmode_copy(pl->supported, supported); in phylink_bringup_phy()
769 "phy: setting supported %*pb advertising %*pb\n", in phylink_bringup_phy()
770 __ETHTOOL_LINK_MODE_MASK_NBITS, pl->supported, in phylink_bringup_phy()
813 * This updates the phylink's ethtool supported and advertising link mode
1062 wol->supported = 0; in phylink_ethtool_get_wol()
1138 linkmode_copy(kset->link_modes.supported, pl->supported); in phylink_ethtool_ksettings_get()
1144 * represent the supported speeds/duplex/pause modes. in phylink_ethtool_ksettings_get()
1190 linkmode_copy(support, pl->supported); in phylink_ethtool_ksettings_set()
1330 if (!phylink_test(pl->supported, Pause) && in phylink_ethtool_set_pauseparam()
1331 !phylink_test(pl->supported, Asym_Pause)) in phylink_ethtool_set_pauseparam()
1334 if (!phylink_test(pl->supported, Asym_Pause) && in phylink_ethtool_set_pauseparam()
1758 changed = !bitmap_equal(pl->supported, support, in phylink_sfp_module_insert()
1761 linkmode_copy(pl->supported, support); in phylink_sfp_module_insert()