Lines Matching refs:freq
263 uint32_t freq;
272 freq = cpufreq_get_raw(ci);
275 return freq;
304 uint32_t freq = 0;
310 xc = xc_unicast(0, (*cf->cf_get_freq), cf->cf_cookie, &freq, ci);
313 return freq;
335 cpufreq_get_state(uint32_t freq, struct cpufreq_state *cfs)
346 cpufreq_get_state_raw(freq, cfs);
376 cpufreq_get_state_raw(uint32_t freq, struct cpufreq_state *cfs)
392 if (freq == f)
394 else if (freq > f)
405 cpufreq_set(struct cpu_info *ci, uint32_t freq)
416 cpufreq_set_raw(ci, freq);
421 cpufreq_set_raw(struct cpu_info *ci, uint32_t freq)
429 xc = xc_unicast(0, (*cf->cf_set_freq), cf->cf_cookie, &freq, ci);
434 cpufreq_set_all(uint32_t freq)
445 cpufreq_set_all_raw(freq);
450 cpufreq_set_all_raw(uint32_t freq)
458 xc = xc_broadcast(0, (*cf->cf_set_freq), cf->cf_cookie, &freq);
480 uint32_t freq;
490 freq = cpufreq_get_raw(ci);
492 if (__predict_false(freq == 0)) {
497 cpufreq_get_state_raw(freq, &cfs);