Searched refs:TEST_BIT (Results 1 – 3 of 3) sorted by relevance
191 #define TEST_BIT(name) test_bit(ETHTOOL_LINK_MODE_ ## name ## _BIT, \ in ethtool_linkset_to_mcdi_cap() macro194 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 …]
192 #define TEST_BIT(name) test_bit(ETHTOOL_LINK_MODE_ ## name ## _BIT, \ in ethtool_linkset_to_mcdi_cap() macro195 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 …]
22 #define TEST_BIT(t) (1U << (t)) macro79 return test_flags & TEST_BIT(t); in check_test_flags()