Lines Matching refs:policy
87 int sa11x0_verify_speed(struct cpufreq_policy *policy)
90 if (policy->cpu)
93 cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq, policy->cpuinfo.max_freq);
95 /* make sure that at least one frequency is within the policy */
96 tmp = cclk_frequency_100khz[sa11x0_freq_to_ppcr(policy->min)] * 100;
97 if (tmp > policy->max)
98 policy->max = tmp;
100 cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq, policy->cpuinfo.max_freq);