Searched refs:max_cstate (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/acpi/
H A Dprocessor_idle.c52 static unsigned int max_cstate __read_mostly = ACPI_PROCESSOR_MAX_POWER;
53 module_param(max_cstate, uint, 0000);
77 * To skip this limit, boot/load with a large max_cstate limit.
81 if (max_cstate > ACPI_PROCESSOR_MAX_POWER) set_max_cstate()
84 printk(KERN_NOTICE PREFIX "%s detected - limiting to C%ld max_cstate." set_max_cstate()
85 " Override with \"processor.max_cstate=%d\"\n", id->ident, set_max_cstate()
88 max_cstate = (long)id->driver_data; set_max_cstate()
582 for (i = 1; i < ACPI_PROCESSOR_MAX_POWER && i <= max_cstate; i++) { acpi_processor_power_verify()
877 if (max_cstate == 0) acpi_processor_setup_cpuidle_cx()
878 max_cstate = 1; acpi_processor_setup_cpuidle_cx()
880 for (i = 1; i < ACPI_PROCESSOR_MAX_POWER && i <= max_cstate; i++) { acpi_processor_setup_cpuidle_cx()
924 if (max_cstate == 0) acpi_processor_setup_cpuidle_states()
925 max_cstate = 1; acpi_processor_setup_cpuidle_states()
927 for (i = 1; i < ACPI_PROCESSOR_MAX_POWER && i <= max_cstate; i++) { acpi_processor_setup_cpuidle_states()
1068 max_cstate = acpi_processor_cstate_check(max_cstate); acpi_processor_power_init()
1069 if (max_cstate < ACPI_C_STATES_MAX) acpi_processor_power_init()
1072 max_cstate); acpi_processor_power_init()
/linux-4.4.14/arch/x86/include/asm/
H A Dacpi.h84 static inline unsigned int acpi_processor_cstate_check(unsigned int max_cstate) acpi_processor_cstate_check() argument
100 return max_cstate; acpi_processor_cstate_check()
/linux-4.4.14/drivers/idle/
H A Dintel_idle.c75 /* intel_idle.max_cstate=0 disables driver */
76 static int max_cstate = CPUIDLE_STATE_MAX - 1; variable
936 if (max_cstate == 0) { intel_idle_probe()
1036 /* if PC10 disabled via cmdline intel_idle.max_cstate=7 or shallower */ sklh_idle_state_table_update()
1037 if (max_cstate <= 7) sklh_idle_state_table_update()
1105 if (cstate + 1 > max_cstate) { intel_idle_cpuidle_driver_init()
1106 printk(PREFIX "max_cstate %d reached\n", intel_idle_cpuidle_driver_init()
1107 max_cstate); intel_idle_cpuidle_driver_init()
1245 module_param(max_cstate, int, 0444);
/linux-4.4.14/tools/power/cpupower/utils/
H A Dcpuidle-info.c112 printf(_("max_cstate: C%u\n"), cstates-1); proc_cpuidle_cpu_output()
/linux-4.4.14/drivers/platform/x86/
H A Dintel_menlow.c60 * In that case max_cstate would be n-1
/linux-4.4.14/tools/power/x86/turbostat/
H A Dturbostat.c737 "or just the deep ones with \"processor.max_cstate=1\""); delta_thread()

Completed in 594 milliseconds