Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/
Dcpuid.h92 static __always_inline u32 __feature_bit(int x86_feature) in __feature_bit() argument
94 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() argument
102 unsigned int x86_leaf = x86_feature / 32; in x86_feature_cpuid()
127 unsigned int x86_feature) in cpuid_entry_get_reg() argument
129 const struct cpuid_reg cpuid = x86_feature_cpuid(x86_feature); in cpuid_entry_get_reg()
135 unsigned int x86_feature) in cpuid_entry_get() argument
137 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 …]