Lines Matching refs:x86_leaf
100 static __always_inline void reverse_cpuid_check(unsigned int x86_leaf) in reverse_cpuid_check() argument
103 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); in reverse_cpuid_check()
104 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); in reverse_cpuid_check()
105 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); in reverse_cpuid_check()
106 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); in reverse_cpuid_check()
107 BUILD_BUG_ON(x86_leaf == CPUID_LNX_5); in reverse_cpuid_check()
108 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); in reverse_cpuid_check()
109 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0); in reverse_cpuid_check()
138 u32 x86_leaf = __feature_translate(x86_feature) / 32; in __feature_leaf() local
140 reverse_cpuid_check(x86_leaf); in __feature_leaf()
141 return x86_leaf; in __feature_leaf()
162 unsigned int x86_leaf = __feature_leaf(x86_feature); in x86_feature_cpuid() local
164 return reverse_cpuid[x86_leaf]; in x86_feature_cpuid()