Home
last modified time | relevance | path

Searched refs:tmp_freq (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/arch/x86/kernel/cpu/cpufreq/
Dgx-suspmod.c235 int tmp_freq; in gx_validate_speed() local
243 tmp_freq = (stock_freq * tmp_off) / i; in gx_validate_speed()
246 if (abs(tmp_freq - khz) <= abs(old_tmp_freq - khz)) { in gx_validate_speed()
249 old_tmp_freq = tmp_freq; in gx_validate_speed()
348 unsigned int tmp_freq = 0; in cpufreq_gx_verify() local
364 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2); in cpufreq_gx_verify()
365 if (tmp_freq < policy->min) in cpufreq_gx_verify()
366 tmp_freq += stock_freq / max_duration; in cpufreq_gx_verify()
367 policy->min = tmp_freq; in cpufreq_gx_verify()
369 policy->max = tmp_freq; in cpufreq_gx_verify()
[all …]
/linux-2.6.39/arch/mips/ar7/
Dclock.c131 int tmp_gcd, tmp_base, tmp_freq; in calculate() local
146 tmp_freq = base / *prediv * *mul / *postdiv; in calculate()
149 target, tmp_freq); in calculate()