Home
last modified time | relevance | path

Searched refs:dbs_data (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/cpufreq/
Dcpufreq_ondemand.c70 struct dbs_data *dbs_data = policy_dbs->dbs_data; in generic_powersave_bias_target() local
71 struct od_dbs_tuners *od_tuners = dbs_data->tuners; in generic_powersave_bias_target()
99 delay_hi_us = (freq_avg - freq_lo) * dbs_data->sampling_rate; in generic_powersave_bias_target()
104 dbs_info->freq_lo_delay_us = dbs_data->sampling_rate - delay_hi_us; in generic_powersave_bias_target()
118 struct dbs_data *dbs_data = policy_dbs->dbs_data; in dbs_freq_increase() local
119 struct od_dbs_tuners *od_tuners = dbs_data->tuners; in dbs_freq_increase()
140 struct dbs_data *dbs_data = policy_dbs->dbs_data; in od_update() local
141 struct od_dbs_tuners *od_tuners = dbs_data->tuners; in od_update()
147 if (load > dbs_data->up_threshold) { in od_update()
150 policy_dbs->rate_mult = dbs_data->sampling_down_factor; in od_update()
[all …]
Dcpufreq_conservative.c63 struct dbs_data *dbs_data = policy_dbs->dbs_data; in cs_dbs_update() local
64 struct cs_dbs_tuners *cs_tuners = dbs_data->tuners; in cs_dbs_update()
103 if (load > dbs_data->up_threshold) { in cs_dbs_update()
121 if (++dbs_info->down_skip < dbs_data->sampling_down_factor) in cs_dbs_update()
144 return dbs_data->sampling_rate; in cs_dbs_update()
152 struct dbs_data *dbs_data = to_dbs_data(attr_set); in sampling_down_factor_store() local
160 dbs_data->sampling_down_factor = input; in sampling_down_factor_store()
167 struct dbs_data *dbs_data = to_dbs_data(attr_set); in up_threshold_store() local
168 struct cs_dbs_tuners *cs_tuners = dbs_data->tuners; in up_threshold_store()
176 dbs_data->up_threshold = input; in up_threshold_store()
[all …]
Dcpufreq_governor.c47 struct dbs_data *dbs_data = to_dbs_data(attr_set); in sampling_rate_store() local
56 dbs_data->sampling_rate = sampling_interval; in sampling_rate_store()
95 void gov_update_cpu_data(struct dbs_data *dbs_data) in gov_update_cpu_data() argument
99 list_for_each_entry(policy_dbs, &dbs_data->attr_set.policy_list, list) { in gov_update_cpu_data()
106 dbs_data->io_is_busy); in gov_update_cpu_data()
107 if (dbs_data->ignore_nice_load) in gov_update_cpu_data()
117 struct dbs_data *dbs_data = policy_dbs->dbs_data; in dbs_update() local
118 unsigned int ignore_nice = dbs_data->ignore_nice_load; in dbs_update()
128 sampling_rate = dbs_data->sampling_rate * policy_dbs->rate_mult; in dbs_update()
134 io_busy = dbs_data->io_is_busy; in dbs_update()
[all …]
Dcpufreq_governor.h38 struct dbs_data { struct
49 static inline struct dbs_data *to_dbs_data(struct gov_attr_set *attr_set) in to_dbs_data() argument
51 return container_of(attr_set, struct dbs_data, attr_set); in to_dbs_data()
58 struct dbs_data *dbs_data = to_dbs_data(attr_set); \
59 struct _gov##_dbs_tuners *tuners = dbs_data->tuners; \
67 struct dbs_data *dbs_data = to_dbs_data(attr_set); \
68 return sprintf(buf, "%u\n", dbs_data->file_name); \
92 struct dbs_data *dbs_data; member
133 struct dbs_data *gdbs_data;
138 int (*init)(struct dbs_data *dbs_data);
[all …]
Damd_freq_sensitivity.c48 struct dbs_data *od_data = policy_dbs->dbs_data; in amd_powersave_bias_target()