Lines Matching refs:supported
126 const int *supported;
132 .supported = xpcs_usxgmii_features,
137 .supported = xpcs_10gkr_features,
142 .supported = xpcs_xlgmii_features,
290 static int xpcs_get_max_usxgmii_speed(const unsigned long *supported)
294 if (phylink_test(supported, 1000baseKX_Full))
296 if (phylink_test(supported, 2500baseX_Full))
298 if (phylink_test(supported, 10000baseKX4_Full))
300 if (phylink_test(supported, 10000baseKR_Full))
366 * default configuration we need to advertise all supported
372 if (phylink_test(xpcs->supported, 2500baseX_Full))
383 if (phylink_test(xpcs->supported, 1000baseKX_Full))
385 if (phylink_test(xpcs->supported, 10000baseKX4_Full))
387 if (phylink_test(xpcs->supported, 10000baseKR_Full))
396 if (phylink_test(xpcs->supported, Pause))
398 if (phylink_test(xpcs->supported, Asym_Pause))
580 unsigned long *supported,
583 linkmode_and(supported, supported, xpcs->supported);
584 linkmode_and(state->advertising, state->advertising, xpcs->supported);
676 for (i = 0; match->supported[i] != __ETHTOOL_LINK_MODE_MASK_NBITS; i++)
677 set_bit(match->supported[i], xpcs->supported);