Searched refs:cpufreq_policy (Results 1 – 4 of 4) sorted by relevance
11 struct cpufreq_policy { struct100 struct cpufreq_policy *cpufreq_get_policy(unsigned int cpu);102 void cpufreq_put_policy(struct cpufreq_policy *policy);177 int cpufreq_set_policy(unsigned int cpu, struct cpufreq_policy *policy);
227 struct cpufreq_policy *cpufreq_get_policy(unsigned int cpu) in cpufreq_get_policy()229 struct cpufreq_policy *policy; in cpufreq_get_policy()231 policy = malloc(sizeof(struct cpufreq_policy)); in cpufreq_get_policy()251 void cpufreq_put_policy(struct cpufreq_policy *policy) in cpufreq_put_policy()531 int cpufreq_set_policy(unsigned int cpu, struct cpufreq_policy *policy) in cpufreq_set_policy()616 struct cpufreq_policy *pol = cpufreq_get_policy(cpu); in cpufreq_set_frequency()
140 static int do_new_policy(unsigned int cpu, struct cpufreq_policy *new_pol) in do_new_policy()142 struct cpufreq_policy *cur_pol = cpufreq_get_policy(cpu); in do_new_policy()167 static int do_one_cpu(unsigned int cpu, struct cpufreq_policy *new_pol, in do_one_cpu()202 struct cpufreq_policy new_pol = { in cmd_freq_set()
59 struct cpufreq_policy *policy; in proc_cpufreq_output()348 struct cpufreq_policy *policy = cpufreq_get_policy(cpu); in get_policy()