Searched refs:ethtool_cap (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.c | 326 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 D | mcdi_port_common.h | 44 u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.c | 324 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 D | mcdi_port_common.h | 44 u32 ethtool_fec_caps_to_mcdi(u32 supported_cap, u32 ethtool_cap);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_port_common.c | 325 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 5 milliseconds