Home
last modified time | relevance | path

Searched refs:policy_dbs (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/cpufreq/
A Dcpufreq_governor.c239 policy = policy_dbs->policy; in dbs_work_handler()
273 struct policy_dbs_info *policy_dbs = cdbs->policy_dbs; in dbs_update_util_handler() local
356 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 …]
A Dcpufreq_ondemand.c161 policy_dbs->rate_mult = 1; in od_update()
244 struct policy_dbs_info *policy_dbs; in store_sampling_down_factor() local
260 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() local
353 kfree(to_dbs_info(policy_dbs)); in od_free()
426 struct policy_dbs_info *policy_dbs; in od_set_powersave_bias() local
437 policy_dbs = policy->governor_data; in od_set_powersave_bias()
438 if (!policy_dbs) in od_set_powersave_bias()
[all …]
A Dcpufreq_conservative.c15 struct policy_dbs_info policy_dbs; member
22 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() local
61 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 …]
A Dcpufreq_ondemand.h12 struct policy_dbs_info policy_dbs; member
19 static inline struct od_policy_dbs_info *to_dbs_info(struct policy_dbs_info *policy_dbs) in to_dbs_info() argument
21 return container_of(policy_dbs, struct od_policy_dbs_info, policy_dbs); in to_dbs_info()
A Dcpufreq_governor.h103 static inline void gov_update_sample_delay(struct policy_dbs_info *policy_dbs, in gov_update_sample_delay() argument
106 policy_dbs->sample_delay_ns = delay_us * NSEC_PER_USEC; in gov_update_sample_delay()
122 struct policy_dbs_info *policy_dbs; member
138 void (*free)(struct policy_dbs_info *policy_dbs);
A Damd_freq_sensitivity.c47 struct policy_dbs_info *policy_dbs = policy->governor_data; in amd_powersave_bias_target() local
48 struct dbs_data *od_data = policy_dbs->dbs_data; in amd_powersave_bias_target()

Completed in 12 milliseconds