• Home
  • Raw
  • Download

Lines Matching refs:time

65 static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time)  in sugov_should_update_freq()  argument
93 delta_ns = time - sg_policy->last_freq_update_time; in sugov_should_update_freq()
98 static bool sugov_update_next_freq(struct sugov_policy *sg_policy, u64 time, in sugov_update_next_freq() argument
107 sg_policy->last_freq_update_time = time; in sugov_update_next_freq()
186 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
189 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
215 static void sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_boost() argument
222 sugov_iowait_reset(sg_cpu, time, set_iowait_boost)) in sugov_iowait_boost()
262 static void sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time) in sugov_iowait_apply() argument
271 if (sugov_iowait_reset(sg_cpu, time, false)) in sugov_iowait_apply()
321 u64 time, unsigned int flags) in sugov_update_single_common() argument
323 sugov_iowait_boost(sg_cpu, time, flags); in sugov_update_single_common()
324 sg_cpu->last_update = time; in sugov_update_single_common()
328 if (!sugov_should_update_freq(sg_cpu->sg_policy, time)) in sugov_update_single_common()
332 sugov_iowait_apply(sg_cpu, time); in sugov_update_single_common()
337 static void sugov_update_single_freq(struct update_util_data *hook, u64 time, in sugov_update_single_freq() argument
345 if (!sugov_update_single_common(sg_cpu, time, flags)) in sugov_update_single_freq()
364 if (!sugov_update_next_freq(sg_policy, time, next_f)) in sugov_update_single_freq()
381 static void sugov_update_single_perf(struct update_util_data *hook, u64 time, in sugov_update_single_perf() argument
393 sugov_update_single_freq(hook, time, flags); in sugov_update_single_perf()
397 if (!sugov_update_single_common(sg_cpu, time, flags)) in sugov_update_single_perf()
413 sg_cpu->sg_policy->last_freq_update_time = time; in sugov_update_single_perf()
416 static unsigned int sugov_next_freq_shared(struct sugov_cpu *sg_cpu, u64 time) in sugov_next_freq_shared() argument
428 sugov_iowait_apply(j_sg_cpu, time); in sugov_next_freq_shared()
442 sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags) in sugov_update_shared() argument
450 sugov_iowait_boost(sg_cpu, time, flags); in sugov_update_shared()
451 sg_cpu->last_update = time; in sugov_update_shared()
455 if (sugov_should_update_freq(sg_policy, time)) { in sugov_update_shared()
456 next_f = sugov_next_freq_shared(sg_cpu, time); in sugov_update_shared()
458 if (!sugov_update_next_freq(sg_policy, time, next_f)) in sugov_update_shared()
764 void (*uu)(struct update_util_data *data, u64 time, unsigned int flags); in sugov_start()