Home
last modified time | relevance | path

Searched refs:governor_data (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/cpufreq/
Dcpufreq_userspace.c34 struct userspace_policy *userspace = policy->governor_data; in cpufreq_set()
65 policy->governor_data = userspace; in cpufreq_userspace_policy_init()
75 kfree(policy->governor_data); in cpufreq_userspace_policy_exit()
76 policy->governor_data = NULL; in cpufreq_userspace_policy_exit()
81 struct userspace_policy *userspace = policy->governor_data; in cpufreq_userspace_policy_start()
95 struct userspace_policy *userspace = policy->governor_data; in cpufreq_userspace_policy_stop()
107 struct userspace_policy *userspace = policy->governor_data; in cpufreq_userspace_policy_limits()
Dcpufreq_governor.c116 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_update()
408 if (policy->governor_data) in cpufreq_dbs_governor_init()
425 policy->governor_data = policy_dbs; in cpufreq_dbs_governor_init()
457 policy->governor_data = policy_dbs; in cpufreq_dbs_governor_init()
472 policy->governor_data = NULL; in cpufreq_dbs_governor_init()
493 struct policy_dbs_info *policy_dbs = policy->governor_data; in cpufreq_dbs_governor_exit()
502 policy->governor_data = NULL; in cpufreq_dbs_governor_exit()
516 struct policy_dbs_info *policy_dbs = policy->governor_data; in cpufreq_dbs_governor_start()
553 struct policy_dbs_info *policy_dbs = policy->governor_data; in cpufreq_dbs_governor_stop()
569 policy_dbs = policy->governor_data; in cpufreq_dbs_governor_limits()
Dcpufreq_ondemand.c67 struct policy_dbs_info *policy_dbs = policy->governor_data; in generic_powersave_bias_target()
109 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy->governor_data); in ondemand_powersave_bias_init()
116 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_freq_increase()
137 struct policy_dbs_info *policy_dbs = policy->governor_data; in od_update()
173 struct policy_dbs_info *policy_dbs = policy->governor_data; in od_dbs_update()
392 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy->governor_data); in od_start()
440 policy_dbs = policy->governor_data; in od_set_powersave_bias()
Dcpufreq_conservative.c60 struct policy_dbs_info *policy_dbs = policy->governor_data; in cs_dbs_update()
310 struct cs_policy_dbs_info *dbs_info = to_dbs_info(policy->governor_data); in cs_start()
Damd_freq_sensitivity.c47 struct policy_dbs_info *policy_dbs = policy->governor_data; in amd_powersave_bias_target()
/linux-6.12.1/drivers/devfreq/
Dgovernor_userspace.c24 struct userspace_data *data = df->governor_data; in devfreq_userspace_func()
43 data = devfreq->governor_data; in set_freq_store()
63 data = devfreq->governor_data; in set_freq_show()
94 devfreq->governor_data = data; in userspace_init()
110 kfree(devfreq->governor_data); in userspace_exit()
111 devfreq->governor_data = NULL; in userspace_exit()
/linux-6.12.1/drivers/thermal/
Dgov_power_allocator.c120 struct power_allocator_params *params = tz->governor_data; in estimate_sustainable_power()
244 struct power_allocator_params *params = tz->governor_data; in pid_controller()
402 struct power_allocator_params *params = tz->governor_data; in allocate_power()
540 struct power_allocator_params *params = tz->governor_data; in allow_maximum_power()
637 struct power_allocator_params *params = tz->governor_data; in power_allocator_update_tz()
721 tz->governor_data = params; in power_allocator_bind()
734 struct power_allocator_params *params = tz->governor_data; in power_allocator_unbind()
744 kfree(tz->governor_data); in power_allocator_unbind()
745 tz->governor_data = NULL; in power_allocator_unbind()
750 struct power_allocator_params *params = tz->governor_data; in power_allocator_manage()
Dgov_bang_bang.c90 if (tz->governor_data) in bang_bang_manage()
113 tz->governor_data = (void *)true; in bang_bang_manage()
124 tz->governor_data = NULL; in bang_bang_update_tz()
Dthermal_core.h130 void *governor_data; member
/linux-6.12.1/kernel/sched/
Dcpufreq_schedutil.c740 if (policy->governor_data) in sugov_init()
762 policy->governor_data = sg_policy; in sugov_init()
777 policy->governor_data = sg_policy; in sugov_init()
794 policy->governor_data = NULL; in sugov_init()
813 struct sugov_policy *sg_policy = policy->governor_data; in sugov_exit()
820 policy->governor_data = NULL; 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()
/linux-6.12.1/include/linux/
Ddevfreq.h198 void *governor_data; member
Dcpufreq.h77 void *governor_data; member