Lines Matching refs:policy
319 static int g5_cpufreq_verify(struct cpufreq_policy *policy)
321 return cpufreq_frequency_table_verify(policy, g5_cpu_freqs);
324 static int g5_cpufreq_target(struct cpufreq_policy *policy,
331 if (cpufreq_frequency_table_target(policy, g5_cpu_freqs,
358 static int g5_cpufreq_cpu_init(struct cpufreq_policy *policy)
360 policy->cpuinfo.transition_latency = transition_latency;
361 policy->cur = g5_cpu_freqs[g5_query_freq()].frequency;
363 * cpufreq core if in the secondary policy we tell it that
364 * it actually must be one policy together with all others. */
365 cpumask_copy(policy->cpus, cpu_online_mask);
366 cpufreq_frequency_table_get_attr(g5_cpu_freqs, policy->cpu);
368 return cpufreq_frequency_table_cpuinfo(policy,