Searched refs:ethtool_cap (Results 1 – 3 of 3) sorted by relevance
325 static u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap) in ethtool_fec_caps_to_mcdi() argument329 if (ethtool_cap & ETHTOOL_FEC_OFF) in ethtool_fec_caps_to_mcdi()332 if (ethtool_cap & ETHTOOL_FEC_AUTO) in ethtool_fec_caps_to_mcdi()336 if (ethtool_cap & ETHTOOL_FEC_RS && in ethtool_fec_caps_to_mcdi()340 if (ethtool_cap & ETHTOOL_FEC_BASER) { in ethtool_fec_caps_to_mcdi()673 static int ethtool_fec_supported(u32 supported_cap, u32 ethtool_cap) in ethtool_fec_supported() argument675 if (ethtool_cap & ETHTOOL_FEC_OFF) in ethtool_fec_supported()678 if (ethtool_cap && in ethtool_fec_supported()679 !ethtool_fec_caps_to_mcdi(supported_cap, ethtool_cap)) in ethtool_fec_supported()
324 u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap) in ethtool_fec_caps_to_mcdi() argument328 if (ethtool_cap & ETHTOOL_FEC_OFF) in ethtool_fec_caps_to_mcdi()331 if (ethtool_cap & ETHTOOL_FEC_AUTO) in ethtool_fec_caps_to_mcdi()335 if (ethtool_cap & ETHTOOL_FEC_RS && in ethtool_fec_caps_to_mcdi()339 if (ethtool_cap & ETHTOOL_FEC_BASER) { in ethtool_fec_caps_to_mcdi()668 static int ethtool_fec_supported(u32 supported_cap, u32 ethtool_cap) in ethtool_fec_supported() argument670 if (ethtool_cap & ETHTOOL_FEC_OFF) in ethtool_fec_supported()673 if (ethtool_cap && in ethtool_fec_supported()674 !ethtool_fec_caps_to_mcdi(supported_cap, ethtool_cap)) in ethtool_fec_supported()
44 u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap);