Home
last modified time | relevance | path

Searched refs:policy_dbs (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/cpufreq/
Dcpufreq_governor.c48 struct policy_dbs_info *policy_dbs; in sampling_rate_store() local
62 list_for_each_entry(policy_dbs, &attr_set->policy_list, list) { in sampling_rate_store()
63 mutex_lock(&policy_dbs->update_mutex); in sampling_rate_store()
77 gov_update_sample_delay(policy_dbs, 0); in sampling_rate_store()
78 mutex_unlock(&policy_dbs->update_mutex); in sampling_rate_store()
97 struct policy_dbs_info *policy_dbs; in gov_update_cpu_data() local
99 list_for_each_entry(policy_dbs, &dbs_data->attr_set.policy_list, list) { in gov_update_cpu_data()
102 for_each_cpu(j, policy_dbs->policy->cpus) { in gov_update_cpu_data()
116 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_update() local
117 struct dbs_data *dbs_data = policy_dbs->dbs_data; in dbs_update()
[all …]
Dcpufreq_ondemand.c68 struct policy_dbs_info *policy_dbs = policy->governor_data; in generic_powersave_bias_target() local
69 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in generic_powersave_bias_target()
70 struct dbs_data *dbs_data = policy_dbs->dbs_data; in generic_powersave_bias_target()
117 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_freq_increase() local
118 struct dbs_data *dbs_data = policy_dbs->dbs_data; in dbs_freq_increase()
138 struct policy_dbs_info *policy_dbs = policy->governor_data; in od_update() local
139 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in od_update()
140 struct dbs_data *dbs_data = policy_dbs->dbs_data; in od_update()
150 policy_dbs->rate_mult = dbs_data->sampling_down_factor; in od_update()
161 policy_dbs->rate_mult = 1; in od_update()
[all …]
Dcpufreq_conservative.c15 struct policy_dbs_info policy_dbs; member
20 static inline struct cs_policy_dbs_info *to_dbs_info(struct policy_dbs_info *policy_dbs) in to_dbs_info() argument
22 return container_of(policy_dbs, struct cs_policy_dbs_info, policy_dbs); in to_dbs_info()
60 struct policy_dbs_info *policy_dbs = policy->governor_data; in cs_dbs_update() local
61 struct cs_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in cs_dbs_update()
63 struct dbs_data *dbs_data = policy_dbs->dbs_data; in cs_dbs_update()
91 if (policy_dbs->idle_periods < UINT_MAX) { in cs_dbs_update()
92 unsigned int freq_steps = policy_dbs->idle_periods * freq_step; in cs_dbs_update()
99 policy_dbs->idle_periods = UINT_MAX; in cs_dbs_update()
278 return dbs_info ? &dbs_info->policy_dbs : NULL; in cs_alloc()
[all …]
Dcpufreq_ondemand.h12 struct policy_dbs_info policy_dbs; member
19 static inline struct od_policy_dbs_info *to_dbs_info(struct policy_dbs_info *policy_dbs) in to_dbs_info() argument
21 return container_of(policy_dbs, struct od_policy_dbs_info, policy_dbs); in to_dbs_info()
Dcpufreq_governor.h102 static inline void gov_update_sample_delay(struct policy_dbs_info *policy_dbs, in gov_update_sample_delay() argument
105 policy_dbs->sample_delay_ns = delay_us * NSEC_PER_USEC; in gov_update_sample_delay()
121 struct policy_dbs_info *policy_dbs; member
137 void (*free)(struct policy_dbs_info *policy_dbs);
Damd_freq_sensitivity.c47 struct policy_dbs_info *policy_dbs = policy->governor_data; in amd_powersave_bias_target() local
48 struct dbs_data *od_data = policy_dbs->dbs_data; in amd_powersave_bias_target()