• Home
  • Raw
  • Download

Lines Matching refs:time

69 static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time)  in sugov_should_update_freq()  argument
97 delta_ns = time - sg_policy->last_freq_update_time; in sugov_should_update_freq()
102 static bool sugov_update_next_freq(struct sugov_policy *sg_policy, u64 time, in sugov_update_next_freq() argument
109 sg_policy->last_freq_update_time = time; in sugov_update_next_freq()
114 static void sugov_fast_switch(struct sugov_policy *sg_policy, u64 time, in sugov_fast_switch() argument
120 if (!sugov_update_next_freq(sg_policy, time, next_freq)) in sugov_fast_switch()
135 static void sugov_deferred_update(struct sugov_policy *sg_policy, u64 time, in sugov_deferred_update() argument
138 if (!sugov_update_next_freq(sg_policy, time, next_freq)) in sugov_deferred_update()
315 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
318 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
344 static void sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_boost() argument
351 sugov_iowait_reset(sg_cpu, time, set_iowait_boost)) in sugov_iowait_boost()
393 static unsigned long sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_apply() argument
403 if (sugov_iowait_reset(sg_cpu, time, false)) in sugov_iowait_apply()
450 static void sugov_update_single(struct update_util_data *hook, u64 time, in sugov_update_single() argument
459 sugov_iowait_boost(sg_cpu, time, flags); in sugov_update_single()
460 sg_cpu->last_update = time; in sugov_update_single()
464 if (!sugov_should_update_freq(sg_policy, time)) in sugov_update_single()
472 util = sugov_iowait_apply(sg_cpu, time, util, max); in sugov_update_single()
491 sugov_fast_switch(sg_policy, time, next_f); in sugov_update_single()
494 sugov_deferred_update(sg_policy, time, next_f); in sugov_update_single()
499 static unsigned int sugov_next_freq_shared(struct sugov_cpu *sg_cpu, u64 time) in sugov_next_freq_shared() argument
512 j_util = sugov_iowait_apply(j_sg_cpu, time, j_util, j_max); in sugov_next_freq_shared()
524 sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags) in sugov_update_shared() argument
532 sugov_iowait_boost(sg_cpu, time, flags); in sugov_update_shared()
533 sg_cpu->last_update = time; in sugov_update_shared()
537 if (sugov_should_update_freq(sg_policy, time)) { in sugov_update_shared()
538 next_f = sugov_next_freq_shared(sg_cpu, time); in sugov_update_shared()
541 sugov_fast_switch(sg_policy, time, next_f); in sugov_update_shared()
543 sugov_deferred_update(sg_policy, time, next_f); in sugov_update_shared()