Home
last modified time | relevance | path

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

/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()
97 delay_hi_us = (freq_avg - freq_lo) * dbs_data->sampling_rate; in generic_powersave_bias_target()
102 dbs_info->freq_lo_delay_us = dbs_data->sampling_rate - delay_hi_us; in generic_powersave_bias_target()
116 struct dbs_data *dbs_data = policy_dbs->dbs_data; in dbs_freq_increase() local
117 struct od_dbs_tuners *od_tuners = dbs_data->tuners; in dbs_freq_increase()
138 struct dbs_data *dbs_data = policy_dbs->dbs_data; in od_update() local
139 struct od_dbs_tuners *od_tuners = dbs_data->tuners; in od_update()
145 if (load > dbs_data->up_threshold) { in od_update()
148 policy_dbs->rate_mult = dbs_data->sampling_down_factor; in od_update()
[all …]
Dcpufreq_governor.c47 struct dbs_data *dbs_data = to_dbs_data(attr_set); in store_sampling_rate() local
56 dbs_data->sampling_rate = sampling_interval; in store_sampling_rate()
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_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()
120 if (++dbs_info->down_skip < dbs_data->sampling_down_factor) in cs_dbs_update()
142 return dbs_data->sampling_rate; in cs_dbs_update()
150 struct dbs_data *dbs_data = to_dbs_data(attr_set); in store_sampling_down_factor() local
158 dbs_data->sampling_down_factor = input; in store_sampling_down_factor()
165 struct dbs_data *dbs_data = to_dbs_data(attr_set); in store_up_threshold() local
166 struct cs_dbs_tuners *cs_tuners = dbs_data->tuners; in store_up_threshold()
174 dbs_data->up_threshold = input; in store_up_threshold()
[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); \
94 struct dbs_data *dbs_data; member
135 struct dbs_data *gdbs_data;
140 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()