Lines Matching refs:policy
70 /* Use the turbo mode frequencies for the CPUFREQ_POLICY_POWERSAVE policy */
184 static int pxa_set_target(struct cpufreq_policy *policy, unsigned int idx)
192 /* Get the current policy */
199 policy->cur / 1000, new_freq_cpu / 1000);
201 if (vcc_core && new_freq_cpu > policy->cur) {
218 if (vcc_core && new_freq_cpu < policy->cur)
224 static int pxa_cpufreq_init(struct cpufreq_policy *policy)
237 /* set default policy and cpuinfo */
238 policy->cpuinfo.transition_latency = 1000; /* FIXME: 1 ms, assumed */
269 * Set the policy's minimum and maximum frequencies from the tables
277 policy->freq_table = pxa255_freq_table;
280 policy->freq_table = pxa27x_freq_table;