Home
last modified time | relevance | path

Searched refs:ethtool_cap (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dmcdi_port_common.c326 u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap) in ethtool_fec_caps_to_mcdi() argument
330 if (ethtool_cap & ETHTOOL_FEC_OFF) in ethtool_fec_caps_to_mcdi()
333 if (ethtool_cap & ETHTOOL_FEC_AUTO) in ethtool_fec_caps_to_mcdi()
337 if (ethtool_cap & ETHTOOL_FEC_RS && in ethtool_fec_caps_to_mcdi()
341 if (ethtool_cap & ETHTOOL_FEC_BASER) { in ethtool_fec_caps_to_mcdi()
670 static int ethtool_fec_supported(u32 supported_cap, u32 ethtool_cap) in ethtool_fec_supported() argument
672 if (ethtool_cap & ETHTOOL_FEC_OFF) in ethtool_fec_supported()
675 if (ethtool_cap && in ethtool_fec_supported()
676 !ethtool_fec_caps_to_mcdi(supported_cap, ethtool_cap)) in ethtool_fec_supported()
H A Dmcdi_port_common.h44 u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap);
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dmcdi_port_common.c324 u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap) in ethtool_fec_caps_to_mcdi() argument
328 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() argument
670 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()
H A Dmcdi_port_common.h44 u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap);
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dmcdi_port_common.c325 static u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap) in ethtool_fec_caps_to_mcdi() argument
329 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() argument
675 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()

Completed in 6 milliseconds