Lines Matching refs:max
53 unsigned long max; member
143 unsigned long util, unsigned long max) in get_next_freq() argument
151 trace_android_vh_map_util_freq(util, freq, max, &next_freq, policy, in get_next_freq()
156 freq = map_util_freq(util, freq, max); in get_next_freq()
169 sg_cpu->max = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_get_util()
291 boost = (sg_cpu->iowait_boost * sg_cpu->max) >> SCHED_CAPACITY_SHIFT; in sugov_iowait_apply()
348 next_f = get_next_freq(sg_policy, sg_cpu->util, sg_cpu->max); in sugov_update_single_freq()
411 map_util_perf(sg_cpu->util), sg_cpu->max); in sugov_update_single_perf()
420 unsigned long util = 0, max = 1; in sugov_next_freq_shared() local
430 j_max = j_sg_cpu->max; in sugov_next_freq_shared()
432 if (j_util * max > j_max * util) { in sugov_next_freq_shared()
434 max = j_max; in sugov_next_freq_shared()
438 return get_next_freq(sg_policy, util, max); in sugov_next_freq_shared()