Lines Matching defs:policy
72 /* Use the turbo mode frequencies for the CPUFREQ_POLICY_POWERSAVE policy */
188 static int pxa_set_target(struct cpufreq_policy *policy, unsigned int idx)
196 /* Get the current policy */
203 policy->cur / 1000, new_freq_cpu / 1000);
205 if (vcc_core && new_freq_cpu > policy->cur) {
222 if (vcc_core && new_freq_cpu < policy->cur)
228 static int pxa_cpufreq_init(struct cpufreq_policy *policy)
241 /* set default policy and cpuinfo */
242 policy->cpuinfo.transition_latency = 1000; /* FIXME: 1 ms, assumed */
273 * Set the policy's minimum and maximum frequencies from the tables
281 policy->freq_table = pxa255_freq_table;
284 policy->freq_table = pxa27x_freq_table;