Home
last modified time | relevance | path

Searched refs:TEST_BIT (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/sfc/
Dmcdi_port_common.c191 #define TEST_BIT(name) test_bit(ETHTOOL_LINK_MODE_ ## name ## _BIT, \ in ethtool_linkset_to_mcdi_cap() macro
194 if (TEST_BIT(10baseT_Half)) in ethtool_linkset_to_mcdi_cap()
196 if (TEST_BIT(10baseT_Full)) in ethtool_linkset_to_mcdi_cap()
198 if (TEST_BIT(100baseT_Half)) in ethtool_linkset_to_mcdi_cap()
200 if (TEST_BIT(100baseT_Full)) in ethtool_linkset_to_mcdi_cap()
202 if (TEST_BIT(1000baseT_Half)) in ethtool_linkset_to_mcdi_cap()
204 if (TEST_BIT(1000baseT_Full) || TEST_BIT(1000baseKX_Full) || in ethtool_linkset_to_mcdi_cap()
205 TEST_BIT(1000baseX_Full)) in ethtool_linkset_to_mcdi_cap()
207 if (TEST_BIT(10000baseT_Full) || TEST_BIT(10000baseKX4_Full) || in ethtool_linkset_to_mcdi_cap()
208 TEST_BIT(10000baseCR_Full) || TEST_BIT(10000baseLR_Full) || in ethtool_linkset_to_mcdi_cap()
[all …]
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dmcdi_port_common.c192 #define TEST_BIT(name) test_bit(ETHTOOL_LINK_MODE_ ## name ## _BIT, \ in ethtool_linkset_to_mcdi_cap() macro
195 if (TEST_BIT(10baseT_Half)) in ethtool_linkset_to_mcdi_cap()
197 if (TEST_BIT(10baseT_Full)) in ethtool_linkset_to_mcdi_cap()
199 if (TEST_BIT(100baseT_Half)) in ethtool_linkset_to_mcdi_cap()
201 if (TEST_BIT(100baseT_Full)) in ethtool_linkset_to_mcdi_cap()
203 if (TEST_BIT(1000baseT_Half)) in ethtool_linkset_to_mcdi_cap()
205 if (TEST_BIT(1000baseT_Full) || TEST_BIT(1000baseKX_Full) || in ethtool_linkset_to_mcdi_cap()
206 TEST_BIT(1000baseX_Full)) in ethtool_linkset_to_mcdi_cap()
208 if (TEST_BIT(10000baseT_Full) || TEST_BIT(10000baseKX4_Full) || in ethtool_linkset_to_mcdi_cap()
209 TEST_BIT(10000baseCR_Full) || TEST_BIT(10000baseLR_Full) || in ethtool_linkset_to_mcdi_cap()
[all …]
/linux-6.1.9/samples/bpf/
Dmap_perf_test_user.c22 #define TEST_BIT(t) (1U << (t)) macro
79 return test_flags & TEST_BIT(t); in check_test_flags()