Searched refs:policy_dbs (Results 1 – 6 of 6) sorted by relevance
239 policy = policy_dbs->policy; in dbs_work_handler()273 struct policy_dbs_info *policy_dbs = cdbs->policy_dbs; in dbs_update_util_handler() local356 policy_dbs = gov->alloc(); in alloc_policy_dbs_info()357 if (!policy_dbs) in alloc_policy_dbs_info()370 j_cdbs->policy_dbs = policy_dbs; in alloc_policy_dbs_info()372 return policy_dbs; in alloc_policy_dbs_info()385 j_cdbs->policy_dbs = NULL; in free_policy_dbs_info()388 gov->free(policy_dbs); in free_policy_dbs_info()403 if (!policy_dbs) in cpufreq_dbs_governor_init()517 policy_dbs->rate_mult = 1; in cpufreq_dbs_governor_start()[all …]
161 policy_dbs->rate_mult = 1; in od_update()244 struct policy_dbs_info *policy_dbs; in store_sampling_down_factor() local260 mutex_lock(&policy_dbs->update_mutex); in store_sampling_down_factor()261 policy_dbs->rate_mult = 1; in store_sampling_down_factor()262 mutex_unlock(&policy_dbs->update_mutex); in store_sampling_down_factor()298 struct policy_dbs_info *policy_dbs; in store_powersave_bias() local353 kfree(to_dbs_info(policy_dbs)); in od_free()426 struct policy_dbs_info *policy_dbs; in od_set_powersave_bias() local437 policy_dbs = policy->governor_data; in od_set_powersave_bias()438 if (!policy_dbs) in od_set_powersave_bias()[all …]
15 struct policy_dbs_info policy_dbs; member22 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() local61 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()277 return dbs_info ? &dbs_info->policy_dbs : NULL; in cs_alloc()280 static void cs_free(struct policy_dbs_info *policy_dbs) in cs_free() argument[all …]
12 struct policy_dbs_info policy_dbs; member19 static inline struct od_policy_dbs_info *to_dbs_info(struct policy_dbs_info *policy_dbs) in to_dbs_info() argument21 return container_of(policy_dbs, struct od_policy_dbs_info, policy_dbs); in to_dbs_info()
103 static inline void gov_update_sample_delay(struct policy_dbs_info *policy_dbs, in gov_update_sample_delay() argument106 policy_dbs->sample_delay_ns = delay_us * NSEC_PER_USEC; in gov_update_sample_delay()122 struct policy_dbs_info *policy_dbs; member138 void (*free)(struct policy_dbs_info *policy_dbs);
47 struct policy_dbs_info *policy_dbs = policy->governor_data; in amd_powersave_bias_target() local48 struct dbs_data *od_data = policy_dbs->dbs_data; in amd_powersave_bias_target()
Completed in 12 milliseconds