Lines Matching defs:high_freq
23 * performance_pctg = (current_freq - low_freq)/(high_freq - low_freq)
152 * @high_freq: an int to put the highest frequency into
157 * performance_pctg = (target_freq - low_freq)/(high_freq - low_freq)
160 unsigned int *high_freq)
168 if (!low_freq || !high_freq)
188 *high_freq = msr_lo * 1000; /* to kHz */
191 *low_freq, *high_freq);
193 if (*low_freq > *high_freq)
194 *low_freq = *high_freq;
199 *high_freq = (cpu_khz / 1000);
200 *high_freq = *high_freq * 1000;
201 pr_debug("high frequency is %u kHz\n", *high_freq);
229 /* performance_pctg = (current_freq - low_freq)/(high_freq - low_freq)
231 * low_freq * (1 - perf_pctg) = (cur_freq - high_freq * perf_pctg)
233 * high_freq * perf_pctg is stored tempoarily into "ebx".
245 if (*low_freq > *high_freq)
246 *low_freq = *high_freq;