/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | cpufreq_governor.c | 48 struct policy_dbs_info *policy_dbs; in store_sampling_rate() local 62 list_for_each_entry(policy_dbs, &attr_set->policy_list, list) { in store_sampling_rate() 63 mutex_lock(&policy_dbs->update_mutex); in store_sampling_rate() 77 gov_update_sample_delay(policy_dbs, 0); in store_sampling_rate() 78 mutex_unlock(&policy_dbs->update_mutex); in store_sampling_rate() 97 struct policy_dbs_info *policy_dbs; in gov_update_cpu_data() local 99 list_for_each_entry(policy_dbs, &dbs_data->attr_set.policy_list, list) { in gov_update_cpu_data() 102 for_each_cpu(j, policy_dbs->policy->cpus) { in gov_update_cpu_data() 116 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_update() local 117 struct dbs_data *dbs_data = policy_dbs in dbs_update() 234 struct policy_dbs_info *policy_dbs; dbs_work_handler() local 263 struct policy_dbs_info *policy_dbs; dbs_irq_work() local 273 struct policy_dbs_info *policy_dbs = cdbs->policy_dbs; dbs_update_util_handler() local 322 gov_set_update_util(struct policy_dbs_info *policy_dbs, unsigned int delay_us) gov_set_update_util() argument 352 struct policy_dbs_info *policy_dbs; alloc_policy_dbs_info() local 375 free_policy_dbs_info(struct policy_dbs_info *policy_dbs, struct dbs_governor *gov) free_policy_dbs_info() argument 395 struct policy_dbs_info *policy_dbs; cpufreq_dbs_governor_init() local 480 struct policy_dbs_info *policy_dbs = policy->governor_data; cpufreq_dbs_governor_exit() local 508 struct policy_dbs_info *policy_dbs = policy->governor_data; cpufreq_dbs_governor_start() local 545 struct policy_dbs_info *policy_dbs = policy->governor_data; cpufreq_dbs_governor_stop() local 557 struct policy_dbs_info *policy_dbs; cpufreq_dbs_governor_limits() local [all...] |
H A D | cpufreq_ondemand.c | 68 struct policy_dbs_info *policy_dbs = policy->governor_data; in generic_powersave_bias_target() local 69 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in generic_powersave_bias_target() 70 struct dbs_data *dbs_data = policy_dbs->dbs_data; in generic_powersave_bias_target() 115 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_freq_increase() local 116 struct dbs_data *dbs_data = policy_dbs->dbs_data; in dbs_freq_increase() 136 struct policy_dbs_info *policy_dbs = policy->governor_data; in od_update() local 137 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in od_update() 138 struct dbs_data *dbs_data = policy_dbs->dbs_data; in od_update() 148 policy_dbs->rate_mult = dbs_data->sampling_down_factor; in od_update() 159 policy_dbs in od_update() 172 struct policy_dbs_info *policy_dbs = policy->governor_data; od_dbs_update() local 242 struct policy_dbs_info *policy_dbs; store_sampling_down_factor() local 296 struct policy_dbs_info *policy_dbs; store_powersave_bias() local 349 od_free(struct policy_dbs_info *policy_dbs) od_free() argument 424 struct policy_dbs_info *policy_dbs; od_set_powersave_bias() local [all...] |
H A D | cpufreq_conservative.c | 15 struct policy_dbs_info policy_dbs; member 20 static inline struct cs_policy_dbs_info *to_dbs_info(struct policy_dbs_info *policy_dbs) in to_dbs_info() argument 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 in cs_dbs_update() 278 cs_free(struct policy_dbs_info *policy_dbs) cs_free() argument [all...] |
H A D | cpufreq_ondemand.h | 12 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()
|
H A D | cpufreq_governor.h | 103 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);
|
H A D | amd_freq_sensitivity.c | 47 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()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | cpufreq_governor.c | 48 struct policy_dbs_info *policy_dbs; in sampling_rate_store() local 62 list_for_each_entry(policy_dbs, &attr_set->policy_list, list) { in sampling_rate_store() 63 mutex_lock(&policy_dbs->update_mutex); in sampling_rate_store() 77 gov_update_sample_delay(policy_dbs, 0); in sampling_rate_store() 78 mutex_unlock(&policy_dbs->update_mutex); in sampling_rate_store() 97 struct policy_dbs_info *policy_dbs; in gov_update_cpu_data() local 99 list_for_each_entry(policy_dbs, &dbs_data->attr_set.policy_list, list) { in gov_update_cpu_data() 102 for_each_cpu(j, policy_dbs->policy->cpus) { in gov_update_cpu_data() 116 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_update() local 117 struct dbs_data *dbs_data = policy_dbs in dbs_update() 234 struct policy_dbs_info *policy_dbs; dbs_work_handler() local 263 struct policy_dbs_info *policy_dbs; dbs_irq_work() local 273 struct policy_dbs_info *policy_dbs = cdbs->policy_dbs; dbs_update_util_handler() local 322 gov_set_update_util(struct policy_dbs_info *policy_dbs, unsigned int delay_us) gov_set_update_util() argument 352 struct policy_dbs_info *policy_dbs; alloc_policy_dbs_info() local 375 free_policy_dbs_info(struct policy_dbs_info *policy_dbs, struct dbs_governor *gov) free_policy_dbs_info() argument 404 struct policy_dbs_info *policy_dbs; cpufreq_dbs_governor_init() local 493 struct policy_dbs_info *policy_dbs = policy->governor_data; cpufreq_dbs_governor_exit() local 516 struct policy_dbs_info *policy_dbs = policy->governor_data; cpufreq_dbs_governor_start() local 553 struct policy_dbs_info *policy_dbs = policy->governor_data; cpufreq_dbs_governor_stop() local 565 struct policy_dbs_info *policy_dbs; cpufreq_dbs_governor_limits() local [all...] |
H A D | cpufreq_ondemand.c | 68 struct policy_dbs_info *policy_dbs = policy->governor_data; in generic_powersave_bias_target() local 69 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in generic_powersave_bias_target() 70 struct dbs_data *dbs_data = policy_dbs->dbs_data; in generic_powersave_bias_target() 117 struct policy_dbs_info *policy_dbs = policy->governor_data; in dbs_freq_increase() local 118 struct dbs_data *dbs_data = policy_dbs->dbs_data; in dbs_freq_increase() 138 struct policy_dbs_info *policy_dbs = policy->governor_data; in od_update() local 139 struct od_policy_dbs_info *dbs_info = to_dbs_info(policy_dbs); in od_update() 140 struct dbs_data *dbs_data = policy_dbs->dbs_data; in od_update() 150 policy_dbs->rate_mult = dbs_data->sampling_down_factor; in od_update() 161 policy_dbs in od_update() 174 struct policy_dbs_info *policy_dbs = policy->governor_data; od_dbs_update() local 244 struct policy_dbs_info *policy_dbs; sampling_down_factor_store() local 298 struct policy_dbs_info *policy_dbs; powersave_bias_store() local 352 od_free(struct policy_dbs_info *policy_dbs) od_free() argument 430 struct policy_dbs_info *policy_dbs; od_set_powersave_bias() local [all...] |
H A D | cpufreq_conservative.c | 15 struct policy_dbs_info policy_dbs; member 20 static inline struct cs_policy_dbs_info *to_dbs_info(struct policy_dbs_info *policy_dbs) in to_dbs_info() argument 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 in cs_dbs_update() 281 cs_free(struct policy_dbs_info *policy_dbs) cs_free() argument [all...] |
H A D | cpufreq_ondemand.h | 12 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()
|
H A D | cpufreq_governor.h | 102 static inline void gov_update_sample_delay(struct policy_dbs_info *policy_dbs, in gov_update_sample_delay() argument 105 policy_dbs->sample_delay_ns = delay_us * NSEC_PER_USEC; in gov_update_sample_delay() 121 struct policy_dbs_info *policy_dbs; member 137 void (*free)(struct policy_dbs_info *policy_dbs);
|
H A D | amd_freq_sensitivity.c | 47 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()
|