Lines Matching defs:x86_leaf
103 static __always_inline void reverse_cpuid_check(unsigned int x86_leaf)
106 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1);
107 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2);
108 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3);
109 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4);
110 BUILD_BUG_ON(x86_leaf == CPUID_LNX_5);
111 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid));
112 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0);
160 unsigned int x86_leaf = __feature_leaf(x86_feature);
162 reverse_cpuid_check(x86_leaf);
163 return reverse_cpuid[x86_leaf];