/arch/x86/kernel/cpu/mcheck/ |
D | therm_throt.c | 234 if (cpu_has(c, X86_FEATURE_PLN)) in thermal_throttle_add_dev() 238 if (cpu_has(c, X86_FEATURE_PTS)) { in thermal_throttle_add_dev() 242 if (cpu_has(c, X86_FEATURE_PLN)) in thermal_throttle_add_dev() 397 if (!cpu_has(c, X86_FEATURE_ACPI) || !cpu_has(c, X86_FEATURE_ACC)) in intel_thermal_supported() 459 if (cpu_has(c, X86_FEATURE_TM2)) { in intel_init_thermal() 473 if (cpu_has(c, X86_FEATURE_PLN)) in intel_init_thermal() 481 if (cpu_has(c, X86_FEATURE_PTS)) { in intel_init_thermal() 483 if (cpu_has(c, X86_FEATURE_PLN)) in intel_init_thermal()
|
D | p5.c | 49 if (!cpu_has(c, X86_FEATURE_MCE)) in intel_p5_mcheck_init()
|
D | mce.c | 510 return cpu_has(c, X86_FEATURE_MCE) && cpu_has(c, X86_FEATURE_MCA); in mce_available()
|
/arch/x86/include/asm/ |
D | acpi.h | 154 if (cpu_has(c, X86_FEATURE_EST)) in arch_acpi_set_pdc_bits() 157 if (cpu_has(c, X86_FEATURE_ACPI)) in arch_acpi_set_pdc_bits() 163 if (!cpu_has(c, X86_FEATURE_MWAIT)) in arch_acpi_set_pdc_bits()
|
D | cpufeature.h | 257 #define cpu_has(c, bit) \ macro 265 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) 421 #define cpu_has_bug(c, bit) cpu_has(c, (bit))
|
/arch/x86/kernel/cpu/ |
D | perfctr-watchdog.c | 53 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_perfctr_msr_to_bit() 81 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_evntsel_msr_to_bit()
|
D | rdrand.c | 61 if (!cpu_has(c, X86_FEATURE_RDRAND)) in x86_init_rdrand()
|
D | proc.c | 82 if (cpu_has(c, X86_FEATURE_TSC)) { in show_cpuinfo() 100 if (cpu_has(c, i) && x86_cap_flags[i] != NULL) in show_cpuinfo()
|
D | common.c | 227 if (!cpu_has(c, X86_FEATURE_PN) || !disable_x86_serial_nr) in squash_the_stupid_serial_number() 268 if (cpu_has(c, X86_FEATURE_SMEP)) in setup_smep() 287 if (cpu_has(c, X86_FEATURE_SMAP)) in setup_smap() 315 if (!cpu_has(c, df->feature)) in filter_cpuid_features() 503 if (!cpu_has(c, X86_FEATURE_HT)) in detect_ht() 506 if (cpu_has(c, X86_FEATURE_CMP_LEGACY)) in detect_ht() 509 if (cpu_has(c, X86_FEATURE_XTOPOLOGY)) in detect_ht() 645 else if (cpu_has(c, X86_FEATURE_PAE) || cpu_has(c, X86_FEATURE_PSE36)) in get_cpu_cap() 942 if (cpu_has(&boot_cpu_data, X86_FEATURE_RDTSCP)) in vgetcpu_set_mode()
|
D | amd.c | 235 if (!cpu_has(c, X86_FEATURE_XMM)) { in init_amd_k7() 313 } else if (cpu_has(c, X86_FEATURE_NODEID_MSR)) { in amd_get_topology() 452 if (cpu_has(c, X86_FEATURE_CONSTANT_TSC)) { in bsp_init_amd() 559 if (c->x86_model < 0x14 && cpu_has(c, X86_FEATURE_LAHF_LM)) { in init_amd() 615 !cpu_has(c, X86_FEATURE_TOPOEXT)) { in init_amd() 900 cpu_has(cpu, X86_FEATURE_OSVW)) { in cpu_has_amd_erratum()
|
D | match.c | 43 if (m->feature != X86_FEATURE_ANY && !cpu_has(c, m->feature)) in x86_match_cpu()
|
D | intel.c | 49 if (c->x86 >= 6 && !cpu_has(c, X86_FEATURE_IA64)) { in early_init_intel() 438 if (!cpu_has(c, X86_FEATURE_XTOPOLOGY)) { in init_intel() 452 if (cpu_has(c, X86_FEATURE_VMX)) in init_intel() 459 if (cpu_has(c, X86_FEATURE_EPB)) { in init_intel()
|
D | perf_event_intel.c | 1978 if (!cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) { in intel_pmu_init()
|
/arch/x86/kernel/cpu/mtrr/ |
D | if.c | 441 if ((!cpu_has(c, X86_FEATURE_MTRR)) && in mtrr_if_init() 442 (!cpu_has(c, X86_FEATURE_K6_MTRR)) && in mtrr_if_init() 443 (!cpu_has(c, X86_FEATURE_CYRIX_ARR)) && in mtrr_if_init() 444 (!cpu_has(c, X86_FEATURE_CENTAUR_MCR))) in mtrr_if_init()
|
/arch/x86/kernel/ |
D | microcode_intel.c | 326 cpu_has(c, X86_FEATURE_IA64)) { in init_intel_microcode()
|
D | tsc.c | 697 if (cpu_has(&cpu_data(freq->cpu), X86_FEATURE_CONSTANT_TSC)) in time_cpufreq_notifier() 1027 if (!tsc_disabled && !cpu_has(&cpu_data(cpu), X86_FEATURE_CONSTANT_TSC)) in calibrate_delay_is_known()
|
D | msr.c | 184 if (!cpu_has(c, X86_FEATURE_MSR)) in msr_open()
|
D | vsyscall_64.c | 341 if (cpu_has(&cpu_data(cpu), X86_FEATURE_RDTSCP)) in vsyscall_set_cpu()
|
D | smpboot.c | 372 if (cpu_has(c, X86_FEATURE_AMD_DCM)) in match_mc()
|
/arch/x86/kvm/ |
D | svm.c | 670 if (cpu_has(&boot_cpu_data, X86_FEATURE_OSVW)) { in svm_hardware_enable()
|