Lines Matching refs:dbs_info
68 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in generic_powersave_bias_target() local
74 dbs_info->freq_lo = 0; in generic_powersave_bias_target()
75 dbs_info->freq_lo_delay_us = 0; in generic_powersave_bias_target()
94 dbs_info->freq_lo = 0; in generic_powersave_bias_target()
95 dbs_info->freq_lo_delay_us = 0; in generic_powersave_bias_target()
101 dbs_info->freq_hi_delay_us = delay_hi_us; in generic_powersave_bias_target()
102 dbs_info->freq_lo = freq_lo; in generic_powersave_bias_target()
103 dbs_info->freq_lo_delay_us = dbs_data->sampling_rate - delay_hi_us; in generic_powersave_bias_target()
109 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy->governor_data); in ondemand_powersave_bias_init() local
111 dbs_info->freq_lo = 0; in ondemand_powersave_bias_init()
138 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in od_update() local
143 dbs_info->freq_lo = 0; in od_update()
175 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in od_dbs_update() local
176 int sample_type = dbs_info->sample_type; in od_dbs_update()
179 dbs_info->sample_type = OD_NORMAL_SAMPLE; in od_dbs_update()
185 __cpufreq_driver_target(policy, dbs_info->freq_lo, in od_dbs_update()
187 return dbs_info->freq_lo_delay_us; in od_dbs_update()
192 if (dbs_info->freq_lo) { in od_dbs_update()
194 dbs_info->sample_type = OD_SUB_SAMPLE; in od_dbs_update()
195 return dbs_info->freq_hi_delay_us; in od_dbs_update()
345 struct od_policy_dbs_info *dbs_info; in od_alloc() local
347 dbs_info = kzalloc(sizeof(*dbs_info), GFP_KERNEL); in od_alloc()
348 return dbs_info ? &dbs_info->policy_dbs : NULL; in od_alloc()
392 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy->governor_data); in od_start() local
394 dbs_info->sample_type = OD_NORMAL_SAMPLE; in od_start()