Home
last modified time | relevance | path

Searched refs:governor (Results 1 – 9 of 9) sorted by relevance

/xen-4.10.0-shim-comet/xen/include/acpi/cpufreq/
A Dcpufreq.h68 struct cpufreq_governor *governor; member
107 int (*governor)(struct cpufreq_policy *policy, member
121 extern int cpufreq_register_governor(struct cpufreq_governor *governor);
122 extern struct cpufreq_governor *__find_governor(const char *governor);
144 return policy->governor->governor(policy, event); in __cpufreq_governor()
/xen-4.10.0-shim-comet/xen/drivers/cpufreq/
A Dutility.c463 if (policy->governor != data->governor) { in __cpufreq_set_policy()
465 struct cpufreq_governor *old_gov = data->governor; in __cpufreq_set_policy()
468 if (data->governor) in __cpufreq_set_policy()
472 data->governor = policy->governor; in __cpufreq_set_policy()
475 data->governor->name); in __cpufreq_set_policy()
478 data->governor = old_gov; in __cpufreq_set_policy()
482 data->governor->name); in __cpufreq_set_policy()
A Dcpufreq.c105 struct cpufreq_governor *__find_governor(const char *governor) in __find_governor() argument
109 if (!governor) in __find_governor()
113 if (!strnicmp(governor, t->name, CPUFREQ_NAME_LEN)) in __find_governor()
119 int __init cpufreq_register_governor(struct cpufreq_governor *governor) in cpufreq_register_governor() argument
121 if (!governor) in cpufreq_register_governor()
124 if (__find_governor(governor->name) != NULL) in cpufreq_register_governor()
127 list_add(&governor->governor_list, &cpufreq_governor_list); in cpufreq_register_governor()
270 policy->governor = NULL; in cpufreq_add_cpu()
276 if (new_policy.governor == CPUFREQ_DEFAULT_GOVERNOR) in cpufreq_add_cpu()
283 new_policy.governor = CPUFREQ_DEFAULT_GOVERNOR; in cpufreq_add_cpu()
A Dcpufreq_misc_governors.c115 .governor = cpufreq_governor_userspace,
160 .governor = cpufreq_governor_performance,
199 .governor = cpufreq_governor_powersave,
A Dcpufreq_ondemand.c348 .governor = cpufreq_governor_dbs,
/xen-4.10.0-shim-comet/xen/drivers/acpi/
A Dpmstat.c204 !policy || !policy->governor ) in get_cpufreq_para()
271 if ( policy->governor->name[0] ) in get_cpufreq_para()
273 policy->governor->name, CPUFREQ_NAME_LEN); in get_cpufreq_para()
308 new_policy.governor = __find_governor(op->u.set_gov.scaling_governor); in set_cpufreq_gov()
309 if (new_policy.governor == NULL) in set_cpufreq_gov()
322 if ( !policy || !policy->governor ) in set_cpufreq_para()
353 if ( !strnicmp(policy->governor->name, in set_cpufreq_para()
366 if ( !strnicmp(policy->governor->name, in set_cpufreq_para()
379 if ( !strnicmp(policy->governor->name, in set_cpufreq_para()
/xen-4.10.0-shim-comet/xen/arch/x86/acpi/cpufreq/
A Dpowernow.c294 policy->governor = cpufreq_opt_governor ? : CPUFREQ_DEFAULT_GOVERNOR; in powernow_cpufreq_cpu_init()
A Dcpufreq.c570 policy->governor = cpufreq_opt_governor ? : CPUFREQ_DEFAULT_GOVERNOR; in acpi_cpufreq_cpu_init()
/xen-4.10.0-shim-comet/docs/misc/
A Dxen-command-line.markdown456 * Default governor policy is ondemand.

Completed in 15 milliseconds