Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/boot/
H A Dmkcpustr.c28 for (i = 0; i < NCAPINTS; i++) { in main()
32 if (i == NCAPINTS-1 && j == 31) { in main()
H A Dcpucheck.c32 static u32 err_flags[NCAPINTS];
36 static const u32 req_flags[NCAPINTS] =
94 for (i = 0; i < NCAPINTS; i++) { in check_cpuflags()
H A Dcpuflags.h12 u32 flags[NCAPINTS];
H A Dcpu.c37 for (i = 0; i < NCAPINTS; i++) { in show_cap_strs()
/openbmc/linux/arch/x86/include/asm/
H A Dcpufeature.h43 extern const char * const x86_cap_flags[NCAPINTS*32];
98 BUILD_BUG_ON_ZERO(NCAPINTS != 22))
124 BUILD_BUG_ON_ZERO(NCAPINTS != 22))
208 #define MAX_CPU_FEATURES (NCAPINTS * 32)
H A Dprocessor.h124 __u32 x86_capability[NCAPINTS + NBUGINTS];
185 extern __u32 cpu_caps_cleared[NCAPINTS + NBUGINTS];
186 extern __u32 cpu_caps_set[NCAPINTS + NBUGINTS];
H A Drequired-features.h103 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 22)
H A Dcpufeatures.h16 #define NCAPINTS 22 /* N 32-bit words worth of info */ macro
475 #define X86_BUG(x) (NCAPINTS*32 + (x))
H A Ddisabled-features.h147 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 22)
/openbmc/linux/arch/x86/kvm/
H A Dreverse_cpuid.h15 CPUID_12_EAX = NCAPINTS,
22 NKVMCAPINTS = NR_KVM_CPU_CAPS - NCAPINTS,
105 BUILD_BUG_ON(NR_CPUID_WORDS != NCAPINTS); in reverse_cpuid_check()
H A Dcpuid.c581 BUILD_BUG_ON(leaf < NCAPINTS); in kvm_cpu_cap_init_kvm_defined()
591 BUILD_BUG_ON(leaf >= NCAPINTS); in kvm_cpu_cap_mask()
/openbmc/linux/arch/um/include/asm/
H A Dcpufeature.h12 extern const char * const x86_cap_flags[NCAPINTS*32];
134 #define MAX_CPU_FEATURES (NCAPINTS * 32)
H A Dprocessor-generic.h87 __u32 x86_capability[NCAPINTS + NBUGINTS];
/openbmc/linux/arch/x86/kernel/cpu/
H A Dproc.c102 for (i = 0; i < 32*NCAPINTS; i++) in show_cpuinfo()
119 unsigned int bug_bit = 32*NCAPINTS + i; in show_cpuinfo()
H A Dcommon.c707 __u32 cpu_caps_cleared[NCAPINTS + NBUGINTS] __aligned(sizeof(unsigned long));
708 __u32 cpu_caps_set[NCAPINTS + NBUGINTS] __aligned(sizeof(unsigned long));
985 for (i = 0; i < NCAPINTS + NBUGINTS; i++) { in apply_forced_caps()
1573 if (bit < NCAPINTS * 32) { in cpu_parse_early_param()
1591 for (bit = 0; bit < 32 * NCAPINTS; bit++) { in cpu_parse_early_param()
1986 for (i = 0; i < NCAPINTS; i++) in identify_cpu()
1990 for (i = NCAPINTS; i < NCAPINTS + NBUGINTS; i++) in identify_cpu()
H A Dcpuid-deps.c104 #define MAX_FEATURE_BITS ((NCAPINTS + NBUGINTS) * sizeof(u32) * 8)
/openbmc/linux/tools/arch/x86/include/asm/
H A Dcpufeatures.h16 #define NCAPINTS 21 /* N 32-bit words worth of info */ macro
449 #define X86_BUG(x) (NCAPINTS*32 + (x))
H A Drequired-features.h102 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 21)
H A Ddisabled-features.h134 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 21)
/openbmc/linux/arch/um/kernel/
H A Dum_arch.c85 for (i = 0; i < 32*NCAPINTS; i++) in show_cpuinfo()
286 for (i = 0; i < 32*NCAPINTS; i++) { in parse_host_cpu_flags()
/openbmc/linux/arch/x86/kernel/
H A Dalternative.c442 BUG_ON(a->cpuid >= (NCAPINTS + NBUGINTS) * 32); in apply_alternatives()