Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/mcheck/
Dtherm_throt.c234 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()
Dp5.c49 if (!cpu_has(c, X86_FEATURE_MCE)) in intel_p5_mcheck_init()
Dmce.c514 return cpu_has(c, X86_FEATURE_MCE) && cpu_has(c, X86_FEATURE_MCA); in mce_available()
/arch/x86/include/asm/
Dacpi.h161 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()
Dcpufeature.h234 #define cpu_has(c, bit) \ macro
242 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit)
/arch/x86/kernel/cpu/
Dperfctr-watchdog.c53 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()
Damd.c207 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()
Drdrand.c61 if (!cpu_has(c, X86_FEATURE_RDRAND)) in x86_init_rdrand()
Dintel.c50 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()
Dcommon.c223 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()
Dproc.c89 if (cpu_has(c, X86_FEATURE_TSC)) { in show_cpuinfo()
107 if (cpu_has(c, i) && x86_cap_flags[i] != NULL) in show_cpuinfo()
Dmatch.c43 if (m->feature != X86_FEATURE_ANY && !cpu_has(c, m->feature)) in x86_match_cpu()
Dperf_event_intel.c1710 if (!cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) { in intel_pmu_init()
/arch/x86/kernel/cpu/mtrr/
Dif.c441 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/
Dtsc.c692 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()
Dmsr.c185 if (!cpu_has(c, X86_FEATURE_MSR)) in msr_open()
Dvsyscall_64.c296 if (cpu_has(&cpu_data(cpu), X86_FEATURE_RDTSCP)) in vsyscall_set_cpu()
Dmicrocode_intel.c463 cpu_has(c, X86_FEATURE_IA64)) { in init_intel_microcode()
Dsmpboot.c342 if (cpu_has(c, X86_FEATURE_TOPOEXT)) { in set_cpu_sibling_map()
404 !(cpu_has(c, X86_FEATURE_AMD_DCM))) in cpu_coregroup_mask()
Dprocess.c675 if (cpu_has(c, X86_FEATURE_MWAIT) && mwait_usable(c)) { in select_idle_routine()
/arch/x86/kvm/
Dsvm.c665 if (cpu_has(&boot_cpu_data, X86_FEATURE_OSVW)) { in svm_hardware_enable()