Searched refs:x86_feature (Results 1 – 1 of 1) sorted by relevance
92 static __always_inline u32 __feature_bit(int x86_feature) in __feature_bit() argument94 reverse_cpuid_check(x86_feature / 32); in __feature_bit()95 return 1 << (x86_feature & 31); in __feature_bit()100 static __always_inline struct cpuid_reg x86_feature_cpuid(unsigned int x86_feature) in x86_feature_cpuid() argument102 unsigned int x86_leaf = x86_feature / 32; in x86_feature_cpuid()127 unsigned int x86_feature) in cpuid_entry_get_reg() argument129 const struct cpuid_reg cpuid = x86_feature_cpuid(x86_feature); in cpuid_entry_get_reg()135 unsigned int x86_feature) in cpuid_entry_get() argument137 u32 *reg = cpuid_entry_get_reg(entry, x86_feature); in cpuid_entry_get()139 return *reg & __feature_bit(x86_feature); in cpuid_entry_get()[all …]