Lines Matching refs:sugov_policy
16 struct sugov_policy { struct
42 struct sugov_policy *sg_policy; argument
62 static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time) in sugov_should_update_freq()
95 static bool sugov_update_next_freq(struct sugov_policy *sg_policy, u64 time, in sugov_update_next_freq()
109 static void sugov_deferred_update(struct sugov_policy *sg_policy) in sugov_deferred_update()
165 static unsigned int get_next_freq(struct sugov_policy *sg_policy, in get_next_freq()
395 struct sugov_policy *sg_policy = sg_cpu->sg_policy; in sugov_update_single_freq()
465 struct sugov_policy *sg_policy = sg_cpu->sg_policy; in sugov_next_freq_shared()
489 struct sugov_policy *sg_policy = sg_cpu->sg_policy; in sugov_update_shared()
516 struct sugov_policy *sg_policy = container_of(work, struct sugov_policy, work); in sugov_work()
542 struct sugov_policy *sg_policy; in sugov_irq_work()
544 sg_policy = container_of(irq_work, struct sugov_policy, irq_work); in sugov_irq_work()
570 struct sugov_policy *sg_policy; in rate_limit_us_store()
634 static struct sugov_policy *sugov_policy_alloc(struct cpufreq_policy *policy) in sugov_policy_alloc()
636 struct sugov_policy *sg_policy; in sugov_policy_alloc()
647 static void sugov_policy_free(struct sugov_policy *sg_policy) in sugov_policy_free()
652 static int sugov_kthread_create(struct sugov_policy *sg_policy) in sugov_kthread_create()
703 static void sugov_kthread_stop(struct sugov_policy *sg_policy) in sugov_kthread_stop()
714 static struct sugov_tunables *sugov_tunables_alloc(struct sugov_policy *sg_policy) in sugov_tunables_alloc()
735 struct sugov_policy *sg_policy; in sugov_init()
813 struct sugov_policy *sg_policy = policy->governor_data; in sugov_exit()
835 struct sugov_policy *sg_policy = policy->governor_data; in sugov_start()
868 struct sugov_policy *sg_policy = policy->governor_data; in sugov_stop()
884 struct sugov_policy *sg_policy = policy->governor_data; in sugov_limits()