Home
last modified time | relevance | path

Searched refs:cpu_has (Results 1 – 20 of 20) 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.c510 return cpu_has(c, X86_FEATURE_MCE) && cpu_has(c, X86_FEATURE_MCA); in mce_available()
/arch/x86/include/asm/
Dacpi.h154 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()
Dcpufeature.h257 #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/
Dperfctr-watchdog.c53 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()
Drdrand.c61 if (!cpu_has(c, X86_FEATURE_RDRAND)) in x86_init_rdrand()
Dproc.c82 if (cpu_has(c, X86_FEATURE_TSC)) { in show_cpuinfo()
100 if (cpu_has(c, i) && x86_cap_flags[i] != NULL) in show_cpuinfo()
Dcommon.c227 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()
Damd.c235 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()
Dmatch.c43 if (m->feature != X86_FEATURE_ANY && !cpu_has(c, m->feature)) in x86_match_cpu()
Dintel.c49 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()
Dperf_event_intel.c1978 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/
Dmicrocode_intel.c326 cpu_has(c, X86_FEATURE_IA64)) { in init_intel_microcode()
Dtsc.c697 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()
Dmsr.c184 if (!cpu_has(c, X86_FEATURE_MSR)) in msr_open()
Dvsyscall_64.c341 if (cpu_has(&cpu_data(cpu), X86_FEATURE_RDTSCP)) in vsyscall_set_cpu()
Dsmpboot.c372 if (cpu_has(c, X86_FEATURE_AMD_DCM)) in match_mc()
/arch/x86/kvm/
Dsvm.c670 if (cpu_has(&boot_cpu_data, X86_FEATURE_OSVW)) { in svm_hardware_enable()