Home
last modified time | relevance | path

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

/linux/drivers/cpufreq/
H A Dgx-suspmod.c223 int tmp_freq; in gx_validate_speed() local
231 tmp_freq = (stock_freq * tmp_off) / i; in gx_validate_speed()
234 if (abs(tmp_freq - khz) <= abs(old_tmp_freq - khz)) { in gx_validate_speed()
237 old_tmp_freq = tmp_freq; in gx_validate_speed()
333 unsigned int tmp_freq = 0; in cpufreq_gx_verify() local
349 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2); in cpufreq_gx_verify()
350 if (tmp_freq < policy->min) in cpufreq_gx_verify()
351 tmp_freq += stock_freq / max_duration; in cpufreq_gx_verify()
352 policy->min = tmp_freq; in cpufreq_gx_verify()
354 policy->max = tmp_freq; in cpufreq_gx_verify()
[all …]