Home
last modified time | relevance | path

Searched refs:new_policy (Results 1 – 2 of 2) sorted by relevance

/xen-4.10.0-shim-comet/xen/drivers/acpi/
A Dpmstat.c300 struct cpufreq_policy new_policy, *old_policy; in set_cpufreq_gov() local
306 memcpy(&new_policy, old_policy, sizeof(struct cpufreq_policy)); in set_cpufreq_gov()
309 if (new_policy.governor == NULL) in set_cpufreq_gov()
312 return __cpufreq_set_policy(old_policy, &new_policy); in set_cpufreq_gov()
329 struct cpufreq_policy new_policy; in set_cpufreq_para() local
331 memcpy(&new_policy, policy, sizeof(struct cpufreq_policy)); in set_cpufreq_para()
332 new_policy.max = op->u.set_para.ctrl_value; in set_cpufreq_para()
333 ret = __cpufreq_set_policy(policy, &new_policy); in set_cpufreq_para()
340 struct cpufreq_policy new_policy; in set_cpufreq_para() local
343 new_policy.min = op->u.set_para.ctrl_value; in set_cpufreq_para()
[all …]
/xen-4.10.0-shim-comet/xen/drivers/cpufreq/
A Dcpufreq.c50 static void cpufreq_cmdline_common_para(struct cpufreq_policy *new_policy);
162 struct cpufreq_policy new_policy; in cpufreq_add_cpu() local
269 memcpy(&new_policy, policy, sizeof(struct cpufreq_policy)); in cpufreq_add_cpu()
272 cpufreq_cmdline_common_para(&new_policy); in cpufreq_add_cpu()
274 ret = __cpufreq_set_policy(policy, &new_policy); in cpufreq_add_cpu()
276 if (new_policy.governor == CPUFREQ_DEFAULT_GOVERNOR) in cpufreq_add_cpu()
282 memcpy(&new_policy, policy, sizeof(struct cpufreq_policy)); in cpufreq_add_cpu()
283 new_policy.governor = CPUFREQ_DEFAULT_GOVERNOR; in cpufreq_add_cpu()
284 ret = __cpufreq_set_policy(policy, &new_policy); in cpufreq_add_cpu()
553 new_policy->max = usr_max_freq; in cpufreq_cmdline_common_para()
[all …]

Completed in 4 milliseconds