Lines Matching refs:high_freq
26 * performance_pctg = (current_freq - low_freq)/(high_freq - low_freq)
161 * @high_freq: an int to put the highest frequency into
166 * performance_pctg = (target_freq - low_freq)/(high_freq - low_freq)
169 unsigned int *high_freq)
177 if (!low_freq || !high_freq)
197 *high_freq = msr_lo * 1000; /* to kHz */
200 *low_freq, *high_freq);
202 if (*low_freq > *high_freq)
203 *low_freq = *high_freq;
208 *high_freq = (cpu_khz / 1000);
209 *high_freq = *high_freq * 1000;
210 dprintk("high frequency is %u kHz\n", *high_freq);
238 /* performance_pctg = (current_freq - low_freq)/(high_freq - low_freq)
240 * low_freq * (1 - perf_pctg) = (cur_freq - high_freq * perf_pctg)
242 * high_freq * perf_pctg is stored tempoarily into "ebx".
254 if (*low_freq > *high_freq)
255 *low_freq = *high_freq;