Lines Matching refs:dbs_data

63 	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()
183 struct dbs_data *dbs_data = to_dbs_data(attr_set); in down_threshold_store() local
184 struct cs_dbs_tuners *cs_tuners = dbs_data->tuners; in down_threshold_store()
191 input >= dbs_data->up_threshold) in down_threshold_store()
201 struct dbs_data *dbs_data = to_dbs_data(attr_set); in ignore_nice_load_store() local
212 if (input == dbs_data->ignore_nice_load) /* nothing to do */ in ignore_nice_load_store()
215 dbs_data->ignore_nice_load = input; in ignore_nice_load_store()
218 gov_update_cpu_data(dbs_data); in ignore_nice_load_store()
226 struct dbs_data *dbs_data = to_dbs_data(attr_set); in freq_step_store() local
227 struct cs_dbs_tuners *cs_tuners = dbs_data->tuners; in freq_step_store()
286 static int cs_init(struct dbs_data *dbs_data) in cs_init() argument
296 dbs_data->up_threshold = DEF_FREQUENCY_UP_THRESHOLD; in cs_init()
297 dbs_data->sampling_down_factor = DEF_SAMPLING_DOWN_FACTOR; in cs_init()
298 dbs_data->ignore_nice_load = 0; in cs_init()
299 dbs_data->tuners = tuners; in cs_init()
304 static void cs_exit(struct dbs_data *dbs_data) in cs_exit() argument
306 kfree(dbs_data->tuners); in cs_exit()