Lines Matching refs:freq
262 uint32_t freq;
271 freq = cpufreq_get_raw(ci);
274 return freq;
303 uint32_t freq = 0;
309 xc = xc_unicast(0, (*cf->cf_get_freq), cf->cf_cookie, &freq, ci);
312 return freq;
334 cpufreq_get_state(uint32_t freq, struct cpufreq_state *cfs)
345 cpufreq_get_state_raw(freq, cfs);
375 cpufreq_get_state_raw(uint32_t freq, struct cpufreq_state *cfs)
391 if (freq == f)
393 else if (freq > f)
404 cpufreq_set(struct cpu_info *ci, uint32_t freq)
415 cpufreq_set_raw(ci, freq);
420 cpufreq_set_raw(struct cpu_info *ci, uint32_t freq)
428 xc = xc_unicast(0, (*cf->cf_set_freq), cf->cf_cookie, &freq, ci);
433 cpufreq_set_all(uint32_t freq)
444 cpufreq_set_all_raw(freq);
449 cpufreq_set_all_raw(uint32_t freq)
457 xc = xc_broadcast(0, (*cf->cf_set_freq), cf->cf_cookie, &freq);
479 uint32_t freq;
489 freq = cpufreq_get_raw(ci);
491 if (__predict_false(freq == 0)) {
496 cpufreq_get_state_raw(freq, &cfs);