Home
last modified time | relevance | path

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

/arch/x86/kernel/acpi/
Dprocessor.c53 if (cpu_has(c, X86_FEATURE_EST)) in init_intel_pdc()
56 if (cpu_has(c, X86_FEATURE_ACPI)) in init_intel_pdc()
62 if (!cpu_has(c, X86_FEATURE_MWAIT)) in init_intel_pdc()
/arch/x86/kernel/cpu/mcheck/
Dmce_intel_64.c39 if (!cpu_has(c, X86_FEATURE_ACPI)) in intel_init_thermal()
42 if (!cpu_has(c, X86_FEATURE_ACC)) in intel_init_thermal()
57 if (cpu_has(c, X86_FEATURE_TM2) && (l & (1 << 13))) in intel_init_thermal()
Dnon-fatal.c71 if (!cpu_has(c, X86_FEATURE_MCE)) in init_nonfatal_mce_checker()
75 if (!cpu_has(c, X86_FEATURE_MCA)) in init_nonfatal_mce_checker()
Dp6.c91 if (!cpu_has(c, X86_FEATURE_MCE)) in intel_p6_mcheck_init()
95 if (!cpu_has(c, X86_FEATURE_MCA)) in intel_p6_mcheck_init()
Dp5.c36 if (!cpu_has(c, X86_FEATURE_MCE)) in intel_p5_mcheck_init()
Dp4.c75 if (!cpu_has(c, X86_FEATURE_ACPI)) in intel_init_thermal()
79 if (!cpu_has(c, X86_FEATURE_ACC)) in intel_init_thermal()
Dk7.c78 if (!cpu_has(c, X86_FEATURE_MCE)) in amd_mcheck_init()
Dmce_64.c154 return cpu_has(c, X86_FEATURE_MCE) && cpu_has(c, X86_FEATURE_MCA); in mce_available()
/arch/x86/kernel/
Dprocess.c183 if (cpu_has(&current_cpu_data, X86_FEATURE_CLFLUSH_MONITOR)) in mwait_idle_with_hints()
200 if (cpu_has(&current_cpu_data, X86_FEATURE_CLFLUSH_MONITOR)) in mwait_idle()
362 if (cpu_has(c, X86_FEATURE_MWAIT) && mwait_usable(c)) { in select_idle_routine()
Dtsc.c638 if (cpu_has(&cpu_data(freq->cpu), X86_FEATURE_CONSTANT_TSC)) in time_cpufreq_notifier()
847 if (cpu_has(&boot_cpu_data, X86_FEATURE_CONSTANT_TSC) && in tsc_init()
Dmsr.c144 if (!cpu_has(c, X86_FEATURE_MSR)) in msr_open()
Dvsyscall_64.c270 if (cpu_has(&cpu_data(cpu), X86_FEATURE_RDTSCP)) in vsyscall_set_cpu()
Dmicrocode_intel.c164 cpu_has(c, X86_FEATURE_IA64)) { in collect_cpu_info()
/arch/x86/kernel/cpu/mtrr/
Dif.c420 if ((!cpu_has(c, X86_FEATURE_MTRR)) && in mtrr_if_init()
421 (!cpu_has(c, X86_FEATURE_K6_MTRR)) && in mtrr_if_init()
422 (!cpu_has(c, X86_FEATURE_CYRIX_ARR)) && in mtrr_if_init()
423 (!cpu_has(c, X86_FEATURE_CENTAUR_MCR))) in mtrr_if_init()
/arch/x86/kernel/cpu/
Dproc.c105 if (cpu_has(c, X86_FEATURE_TSC)) { in show_cpuinfo()
123 if (cpu_has(c, i) && x86_cap_flags[i] != NULL) in show_cpuinfo()
Dintel.c344 if (!cpu_has(c, X86_FEATURE_XTOPOLOGY)) { in init_intel()
358 if (cpu_has(c, X86_FEATURE_VMX)) in init_intel()
Dcommon.c180 if (cpu_has(c, X86_FEATURE_PN) && disable_x86_serial_nr) { in squash_the_stupid_serial_number()
361 if (!cpu_has(c, X86_FEATURE_HT)) in detect_ht()
364 if (cpu_has(c, X86_FEATURE_CMP_LEGACY)) in detect_ht()
367 if (cpu_has(c, X86_FEATURE_XTOPOLOGY)) in detect_ht()
759 if (cpu_has(&boot_cpu_data, X86_FEATURE_RDTSCP)) in vgetcpu_set_mode()
Dperfctr-watchdog.c73 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_perfctr_msr_to_bit()
97 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_evntsel_msr_to_bit()
727 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) { in probe_nmi_watchdog()
Damd.c156 if (!cpu_has(c, X86_FEATURE_XMM)) { in init_amd_k7()
/arch/x86/include/asm/
Dcpufeature.h175 #define cpu_has(c, bit) \ macro
188 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit)
/arch/x86/kernel/cpu/cpufreq/
Dlongrun.c180 if (cpu_has(c, X86_FEATURE_LRTI)) { in longrun_determine_freqs()
304 !cpu_has(c, X86_FEATURE_LONGRUN)) in longrun_init()
Dp4-clockmod.c155 if (cpu_has(c, X86_FEATURE_EST)) in cpufreq_p4_get_frequency()
175 if (!cpu_has(c, X86_FEATURE_EST)) in cpufreq_p4_get_frequency()
Dspeedstep-centrino.c362 !cpu_has(cpu, X86_FEATURE_EST)) in centrino_cpu_init()
365 if (cpu_has(cpu, X86_FEATURE_CONSTANT_TSC)) in centrino_cpu_init()
645 if (!cpu_has(cpu, X86_FEATURE_EST)) in centrino_init()
De_powersaver.c346 if (!cpu_has(c, X86_FEATURE_EST)) in eps_init()
Dacpi-cpufreq.c85 !cpu_has(cpu, X86_FEATURE_EST)) in check_est_cpu()
607 if (cpu_has(c, X86_FEATURE_CONSTANT_TSC)) in acpi_cpufreq_cpu_init()