Lines Matching refs:max_cap
299 unsigned long max_cap) in sugov_iowait_apply() argument
326 return (sg_cpu->iowait_boost * max_cap) >> SCHED_CAPACITY_SHIFT; in sugov_iowait_apply()
372 u64 time, unsigned long max_cap, in sugov_update_single_common() argument
385 boost = sugov_iowait_apply(sg_cpu, time, max_cap); in sugov_update_single_common()
397 unsigned long max_cap; in sugov_update_single_freq() local
400 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_update_single_freq()
402 if (!sugov_update_single_common(sg_cpu, time, max_cap, flags)) in sugov_update_single_freq()
405 next_f = get_next_freq(sg_policy, sg_cpu->util, max_cap); in sugov_update_single_freq()
437 unsigned long max_cap; in sugov_update_single_perf() local
449 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_update_single_perf()
451 if (!sugov_update_single_common(sg_cpu, time, max_cap, flags)) in sugov_update_single_perf()
458 sg_cpu->util, max_cap); in sugov_update_single_perf()
467 unsigned long util = 0, max_cap; in sugov_next_freq_shared() local
470 max_cap = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_next_freq_shared()
476 boost = sugov_iowait_apply(j_sg_cpu, time, max_cap); in sugov_next_freq_shared()
482 return get_next_freq(sg_policy, util, max_cap); in sugov_next_freq_shared()