Lines Matching refs:util
51 unsigned long util; member
143 unsigned long util, unsigned long max) in get_next_freq() argument
150 util = map_util_perf(util); in get_next_freq()
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()
171 sg_cpu->util = effective_cpu_util(sg_cpu->cpu, cpu_util_cfs(sg_cpu->cpu), in sugov_get_util()
293 if (sg_cpu->util < boost) in sugov_iowait_apply()
294 sg_cpu->util = boost; in sugov_iowait_apply()
348 next_f = get_next_freq(sg_policy, sg_cpu->util, sg_cpu->max); in sugov_update_single_freq()
385 unsigned long prev_util = sg_cpu->util; in sugov_update_single_perf()
407 sugov_cpu_is_busy(sg_cpu) && sg_cpu->util < prev_util) in sugov_update_single_perf()
408 sg_cpu->util = prev_util; in sugov_update_single_perf()
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
429 j_util = j_sg_cpu->util; in sugov_next_freq_shared()
432 if (j_util * max > j_max * util) { in sugov_next_freq_shared()
433 util = j_util; in sugov_next_freq_shared()
438 return get_next_freq(sg_policy, util, max); in sugov_next_freq_shared()