/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 | 514 return cpu_has(c, X86_FEATURE_MCE) && cpu_has(c, X86_FEATURE_MCA); in mce_available()
|
/arch/x86/include/asm/ |
D | acpi.h | 161 if (cpu_has(c, X86_FEATURE_EST)) in arch_acpi_set_pdc_bits() 164 if (cpu_has(c, X86_FEATURE_ACPI)) in arch_acpi_set_pdc_bits() 170 if (!cpu_has(c, X86_FEATURE_MWAIT)) in arch_acpi_set_pdc_bits()
|
D | cpufeature.h | 234 #define cpu_has(c, bit) \ macro 242 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, 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() 79 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_evntsel_msr_to_bit()
|
D | amd.c | 207 if (!cpu_has(c, X86_FEATURE_XMM)) { in init_amd_k7() 274 if (cpu_has(c, X86_FEATURE_TOPOEXT)) { in amd_get_topology() 285 } else if (cpu_has(c, X86_FEATURE_NODEID_MSR)) { in amd_get_topology() 424 if (cpu_has(c, X86_FEATURE_CONSTANT_TSC)) { in bsp_init_amd() 528 if (c->x86_model < 0x14 && cpu_has(c, X86_FEATURE_LAHF_LM)) { in init_amd() 586 !cpu_has(c, X86_FEATURE_TOPOEXT)) { in init_amd() 806 cpu_has(cpu, X86_FEATURE_OSVW)) { in cpu_has_amd_erratum()
|
D | rdrand.c | 61 if (!cpu_has(c, X86_FEATURE_RDRAND)) in x86_init_rdrand()
|
D | intel.c | 50 if (c->x86 >= 6 && !cpu_has(c, X86_FEATURE_IA64)) { in early_init_intel() 443 if (!cpu_has(c, X86_FEATURE_XTOPOLOGY)) { in init_intel() 457 if (cpu_has(c, X86_FEATURE_VMX)) in init_intel() 464 if (cpu_has(c, X86_FEATURE_EPB)) { in init_intel()
|
D | common.c | 223 if (!cpu_has(c, X86_FEATURE_PN) || !disable_x86_serial_nr) in squash_the_stupid_serial_number() 270 if (cpu_has(c, X86_FEATURE_SMEP)) { in setup_smep() 303 if (!cpu_has(c, df->feature)) in filter_cpuid_features() 462 if (!cpu_has(c, X86_FEATURE_HT)) in detect_ht() 465 if (cpu_has(c, X86_FEATURE_CMP_LEGACY)) in detect_ht() 468 if (cpu_has(c, X86_FEATURE_XTOPOLOGY)) in detect_ht() 604 else if (cpu_has(c, X86_FEATURE_PAE) || cpu_has(c, X86_FEATURE_PSE36)) in get_cpu_cap() 897 if (cpu_has(&boot_cpu_data, X86_FEATURE_RDTSCP)) in vgetcpu_set_mode()
|
D | proc.c | 89 if (cpu_has(c, X86_FEATURE_TSC)) { in show_cpuinfo() 107 if (cpu_has(c, i) && x86_cap_flags[i] != NULL) in show_cpuinfo()
|
D | match.c | 43 if (m->feature != X86_FEATURE_ANY && !cpu_has(c, m->feature)) in x86_match_cpu()
|
D | perf_event_intel.c | 1710 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 | tsc.c | 692 if (cpu_has(&cpu_data(freq->cpu), X86_FEATURE_CONSTANT_TSC)) in time_cpufreq_notifier() 1018 if (!tsc_disabled && !cpu_has(&cpu_data(cpu), X86_FEATURE_CONSTANT_TSC)) in calibrate_delay_is_known()
|
D | msr.c | 185 if (!cpu_has(c, X86_FEATURE_MSR)) in msr_open()
|
D | vsyscall_64.c | 296 if (cpu_has(&cpu_data(cpu), X86_FEATURE_RDTSCP)) in vsyscall_set_cpu()
|
D | microcode_intel.c | 463 cpu_has(c, X86_FEATURE_IA64)) { in init_intel_microcode()
|
D | smpboot.c | 342 if (cpu_has(c, X86_FEATURE_TOPOEXT)) { in set_cpu_sibling_map() 404 !(cpu_has(c, X86_FEATURE_AMD_DCM))) in cpu_coregroup_mask()
|
D | process.c | 675 if (cpu_has(c, X86_FEATURE_MWAIT) && mwait_usable(c)) { in select_idle_routine()
|
/arch/x86/kvm/ |
D | svm.c | 665 if (cpu_has(&boot_cpu_data, X86_FEATURE_OSVW)) { in svm_hardware_enable()
|