Home
last modified time | relevance | path

Searched refs:cpufreq_policy (Results 1 – 8 of 8) sorted by relevance

/xen/xen/include/acpi/cpufreq/
A Dcpufreq.h56 struct cpufreq_policy { struct
77 DECLARE_PER_CPU(struct cpufreq_policy *, cpufreq_cpu_policy); argument
79 extern int __cpufreq_set_policy(struct cpufreq_policy *data,
80 struct cpufreq_policy *policy);
107 int (*governor)(struct cpufreq_policy *policy,
157 int (*init)(struct cpufreq_policy *policy);
158 int (*verify)(struct cpufreq_policy *policy);
159 int (*setpolicy)(struct cpufreq_policy *policy);
161 int (*target)(struct cpufreq_policy *policy,
166 int (*exit)(struct cpufreq_policy *policy);
[all …]
/xen/xen/drivers/cpufreq/
A Dutility.c36 DEFINE_PER_CPU_READ_MOSTLY(struct cpufreq_policy *, cpufreq_cpu_policy);
207 int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy, in cpufreq_frequency_table_cpuinfo()
247 int cpufreq_frequency_table_verify(struct cpufreq_policy *policy, in cpufreq_frequency_table_verify()
279 int cpufreq_frequency_table_target(struct cpufreq_policy *policy, in cpufreq_frequency_table_target()
357 int __cpufreq_driver_target(struct cpufreq_policy *policy, in __cpufreq_driver_target()
378 struct cpufreq_policy *policy; in cpufreq_driver_getavg()
396 struct cpufreq_policy *policy; in cpufreq_update_turbo()
429 struct cpufreq_policy *policy; in cpufreq_get_turbo_status()
443 int __cpufreq_set_policy(struct cpufreq_policy *data, in __cpufreq_set_policy()
444 struct cpufreq_policy *policy) in __cpufreq_set_policy()
A Dcpufreq_misc_governors.c29 static int cpufreq_governor_userspace(struct cpufreq_policy *policy, in cpufreq_governor_userspace()
69 struct cpufreq_policy *policy; in write_userspace_scaling_setspeed()
134 static int cpufreq_governor_performance(struct cpufreq_policy *policy, in cpufreq_governor_performance()
173 static int cpufreq_governor_powersave(struct cpufreq_policy *policy, in cpufreq_governor_powersave()
A Dcpufreq.c51 static void cpufreq_cmdline_common_para(struct cpufreq_policy *new_policy);
135 struct cpufreq_policy *data; in cpufreq_limit_change()
136 struct cpufreq_policy policy; in cpufreq_limit_change()
147 memcpy(&policy, data, sizeof(struct cpufreq_policy)); in cpufreq_limit_change()
163 struct cpufreq_policy new_policy; in cpufreq_add_cpu()
164 struct cpufreq_policy *policy; in cpufreq_add_cpu()
228 policy = xzalloc(struct cpufreq_policy); in cpufreq_add_cpu()
270 memcpy(&new_policy, policy, sizeof(struct cpufreq_policy)); in cpufreq_add_cpu()
283 memcpy(&new_policy, policy, sizeof(struct cpufreq_policy)); in cpufreq_add_cpu()
322 struct cpufreq_policy *policy; in cpufreq_del_cpu()
[all …]
A Dcpufreq_ondemand.c101 struct cpufreq_policy *policy; in dbs_check_cpu()
218 int cpufreq_governor_dbs(struct cpufreq_policy *policy, unsigned int event) in cpufreq_governor_dbs()
/xen/xen/arch/x86/acpi/cpufreq/
A Dpowernow.c61 struct cpufreq_policy *policy = data; in update_cpb()
78 struct cpufreq_policy *policy) in powernow_cpufreq_update()
88 static int powernow_cpufreq_target(struct cpufreq_policy *policy, in powernow_cpufreq_target()
190 static int powernow_cpufreq_verify(struct cpufreq_policy *policy) in powernow_cpufreq_verify()
209 struct cpufreq_policy *policy = info; in feature_detect()
228 static int powernow_cpufreq_cpu_init(struct cpufreq_policy *policy) in powernow_cpufreq_cpu_init()
334 static int powernow_cpufreq_cpu_exit(struct cpufreq_policy *policy) in powernow_cpufreq_cpu_exit()
A Dcpufreq.c197 struct cpufreq_policy *policy; in get_cur_val()
270 struct cpufreq_policy *policy; in get_measured_perf()
325 struct cpufreq_policy *policy; in get_cur_freq_on_cpu()
345 struct cpufreq_policy *policy = info; in feature_detect()
378 static int acpi_cpufreq_target(struct cpufreq_policy *policy, in acpi_cpufreq_target()
458 static int acpi_cpufreq_verify(struct cpufreq_policy *policy) in acpi_cpufreq_verify()
504 acpi_cpufreq_cpu_init(struct cpufreq_policy *policy) in acpi_cpufreq_cpu_init()
618 static int acpi_cpufreq_cpu_exit(struct cpufreq_policy *policy) in acpi_cpufreq_cpu_exit()
/xen/xen/drivers/acpi/
A Dpmstat.c192 struct cpufreq_policy *policy; in get_cpufreq_para()
300 struct cpufreq_policy new_policy, *old_policy; in set_cpufreq_gov()
306 memcpy(&new_policy, old_policy, sizeof(struct cpufreq_policy)); in set_cpufreq_gov()
318 struct cpufreq_policy *policy; in set_cpufreq_para()
329 struct cpufreq_policy new_policy; in set_cpufreq_para()
331 memcpy(&new_policy, policy, sizeof(struct cpufreq_policy)); in set_cpufreq_para()
340 struct cpufreq_policy new_policy; in set_cpufreq_para()
342 memcpy(&new_policy, policy, sizeof(struct cpufreq_policy)); in set_cpufreq_para()

Completed in 12 milliseconds