Lines Matching refs:max
59 unsigned long max; member
155 unsigned long util, unsigned long max) in get_next_freq() argument
163 trace_android_vh_map_util_freq(util, freq, max, &next_freq); in get_next_freq()
164 trace_android_vh_map_util_freq_new(util, freq, max, &next_freq, policy, in get_next_freq()
169 freq = map_util_freq(util, freq, max); in get_next_freq()
181 unsigned long max = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_get_util() local
183 sg_cpu->max = max; in sugov_get_util()
185 sg_cpu->util = effective_cpu_util(sg_cpu->cpu, cpu_util_cfs(rq), max, in sugov_get_util()
305 boost = (sg_cpu->iowait_boost * sg_cpu->max) >> SCHED_CAPACITY_SHIFT; in sugov_iowait_apply()
362 next_f = get_next_freq(sg_policy, sg_cpu->util, sg_cpu->max); in sugov_update_single_freq()
418 map_util_perf(sg_cpu->util), sg_cpu->max); in sugov_update_single_perf()
427 unsigned long util = 0, max = 1; in sugov_next_freq_shared() local
437 j_max = j_sg_cpu->max; in sugov_next_freq_shared()
439 if (j_util * max > j_max * util) { in sugov_next_freq_shared()
441 max = j_max; in sugov_next_freq_shared()
445 return get_next_freq(sg_policy, util, max); in sugov_next_freq_shared()