Lines Matching refs:cpu_has
477 if (cpu_has(c, X86_FEATURE_PLN) && int_pln_enable) { in thermal_throttle_add_dev()
485 if (cpu_has(c, X86_FEATURE_PTS)) { in thermal_throttle_add_dev()
504 if (cpu_has(c, X86_FEATURE_PLN) && int_pln_enable) { in thermal_throttle_add_dev()
695 if (!cpu_has(c, X86_FEATURE_ACPI) || !cpu_has(c, X86_FEATURE_ACC)) in intel_thermal_supported()
754 if (cpu_has(c, X86_FEATURE_TM2)) { in intel_init_thermal()
771 if (cpu_has(c, X86_FEATURE_PLN) && !int_pln_enable) in intel_init_thermal()
775 else if (cpu_has(c, X86_FEATURE_PLN) && int_pln_enable) in intel_init_thermal()
783 if (cpu_has(c, X86_FEATURE_PTS)) { in intel_init_thermal()
785 if (cpu_has(c, X86_FEATURE_PLN) && !int_pln_enable) in intel_init_thermal()
790 else if (cpu_has(c, X86_FEATURE_PLN) && int_pln_enable) in intel_init_thermal()
800 if (cpu_has(c, X86_FEATURE_HFI)) { in intel_init_thermal()