Lines Matching defs:sg_policy
49 struct sugov_policy *sg_policy; member
69 static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 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()
118 static void sugov_fast_switch(struct sugov_policy *sg_policy, u64 time, in sugov_fast_switch()
125 static void sugov_deferred_update(struct sugov_policy *sg_policy, u64 time, in sugov_deferred_update()
159 static unsigned int get_next_freq(struct sugov_policy *sg_policy, in get_next_freq()
433 static inline void ignore_dl_rate_limit(struct sugov_cpu *sg_cpu, struct sugov_policy *sg_policy) in ignore_dl_rate_limit()
443 struct sugov_policy *sg_policy = sg_cpu->sg_policy; in sugov_update_single() local
487 struct sugov_policy *sg_policy = sg_cpu->sg_policy; in sugov_next_freq_shared() local
513 struct sugov_policy *sg_policy = sg_cpu->sg_policy; in sugov_update_shared() local
537 struct sugov_policy *sg_policy = container_of(work, struct sugov_policy, work); in sugov_work() local
563 struct sugov_policy *sg_policy; in sugov_irq_work() local
591 struct sugov_policy *sg_policy; in rate_limit_us_store() local
624 struct sugov_policy *sg_policy; in sugov_policy_alloc() local
635 static void sugov_policy_free(struct sugov_policy *sg_policy) in sugov_policy_free()
640 static int sugov_kthread_create(struct sugov_policy *sg_policy) in sugov_kthread_create()
691 static void sugov_kthread_stop(struct sugov_policy *sg_policy) in sugov_kthread_stop()
702 static struct sugov_tunables *sugov_tunables_alloc(struct sugov_policy *sg_policy) in sugov_tunables_alloc()
725 struct sugov_policy *sg_policy; in sugov_init() local
801 struct sugov_policy *sg_policy = policy->governor_data; in sugov_exit() local
821 struct sugov_policy *sg_policy = policy->governor_data; in sugov_start() local
854 struct sugov_policy *sg_policy = policy->governor_data; in sugov_stop() local
870 struct sugov_policy *sg_policy = policy->governor_data; in sugov_limits() local