/drivers/cpufreq/ |
D | cpufreq.c | 117 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy) in get_governor_parent_kobj() 171 void cpufreq_generic_init(struct cpufreq_policy *policy, in cpufreq_generic_init() 188 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_cpu_get_raw() local 196 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in cpufreq_generic_get() local 221 struct cpufreq_policy *policy = NULL; in cpufreq_cpu_get() local 247 void cpufreq_cpu_put(struct cpufreq_policy *policy) in cpufreq_cpu_put() 257 void cpufreq_cpu_release(struct cpufreq_policy *policy) in cpufreq_cpu_release() 283 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_cpu_acquire() local 346 static void cpufreq_notify_transition(struct cpufreq_policy *policy, in cpufreq_notify_transition() 400 static void cpufreq_notify_post_transition(struct cpufreq_policy *policy, in cpufreq_notify_post_transition() [all …]
|
D | freq_table.c | 18 bool policy_has_boost_freq(struct cpufreq_policy *policy) in policy_has_boost_freq() 33 int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy, in cpufreq_frequency_table_cpuinfo() 71 int cpufreq_frequency_table_verify(struct cpufreq_policy_data *policy, in cpufreq_frequency_table_verify() 111 int cpufreq_generic_frequency_table_verify(struct cpufreq_policy_data *policy) in cpufreq_generic_frequency_table_verify() 120 int cpufreq_table_index_unsorted(struct cpufreq_policy *policy, in cpufreq_table_index_unsorted() 213 int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy, in cpufreq_frequency_table_get_index() 235 static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf, in show_available_freqs() 275 static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy, in scaling_available_frequencies_show() 287 static ssize_t scaling_boost_frequencies_show(struct cpufreq_policy *policy, in scaling_boost_frequencies_show() 301 static int set_freq_table_sorted(struct cpufreq_policy *policy) in set_freq_table_sorted() [all …]
|
D | cpufreq_userspace.c | 28 static int cpufreq_set(struct cpufreq_policy *policy, unsigned int freq) in cpufreq_set() 47 static ssize_t show_speed(struct cpufreq_policy *policy, char *buf) in show_speed() 52 static int cpufreq_userspace_policy_init(struct cpufreq_policy *policy) in cpufreq_userspace_policy_init() 64 static void cpufreq_userspace_policy_exit(struct cpufreq_policy *policy) in cpufreq_userspace_policy_exit() 72 static int cpufreq_userspace_policy_start(struct cpufreq_policy *policy) in cpufreq_userspace_policy_start() 86 static void cpufreq_userspace_policy_stop(struct cpufreq_policy *policy) in cpufreq_userspace_policy_stop() 98 static void cpufreq_userspace_policy_limits(struct cpufreq_policy *policy) in cpufreq_userspace_policy_limits()
|
D | cpufreq_governor.c | 114 unsigned int dbs_update(struct cpufreq_policy *policy) in dbs_update() 235 struct cpufreq_policy *policy; in dbs_work_handler() local 325 struct cpufreq_policy *policy = policy_dbs->policy; in gov_set_update_util() local 339 static inline void gov_clear_update_util(struct cpufreq_policy *policy) in gov_clear_update_util() 349 static struct policy_dbs_info *alloc_policy_dbs_info(struct cpufreq_policy *policy, in alloc_policy_dbs_info() 391 int cpufreq_dbs_governor_init(struct cpufreq_policy *policy) in cpufreq_dbs_governor_init() 477 void cpufreq_dbs_governor_exit(struct cpufreq_policy *policy) in cpufreq_dbs_governor_exit() 505 int cpufreq_dbs_governor_start(struct cpufreq_policy *policy) in cpufreq_dbs_governor_start() 543 void cpufreq_dbs_governor_stop(struct cpufreq_policy *policy) in cpufreq_dbs_governor_stop() 555 void cpufreq_dbs_governor_limits(struct cpufreq_policy *policy) in cpufreq_dbs_governor_limits()
|
D | cppc_cpufreq.c | 155 static void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_init() 196 static void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_exit() 257 static inline void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_init() 261 static inline void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_fie_exit() 361 static int cppc_cpufreq_set_target(struct cpufreq_policy *policy, in cppc_cpufreq_set_target() 392 static int cppc_verify_policy(struct cpufreq_policy_data *policy) in cppc_verify_policy() 472 static void cppc_cpufreq_put_cpu_data(struct cpufreq_policy *policy) in cppc_cpufreq_put_cpu_data() 482 static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_init() 565 static int cppc_cpufreq_cpu_exit(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_exit() 617 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cppc_cpufreq_get_rate() local [all …]
|
D | sh-cpufreq.c | 33 struct cpufreq_policy *policy; member 45 struct cpufreq_policy *policy = target->policy; in __sh_cpufreq_target() local 80 static int sh_cpufreq_target(struct cpufreq_policy *policy, in sh_cpufreq_target() 89 static int sh_cpufreq_verify(struct cpufreq_policy_data *policy) in sh_cpufreq_verify() 107 static int sh_cpufreq_cpu_init(struct cpufreq_policy *policy) in sh_cpufreq_cpu_init() 138 static int sh_cpufreq_cpu_exit(struct cpufreq_policy *policy) in sh_cpufreq_cpu_exit()
|
D | mediatek-cpufreq-hw.c | 60 struct cpufreq_policy *policy; in mtk_cpufreq_get_cpu_power() local 82 static int mtk_cpufreq_hw_target_index(struct cpufreq_policy *policy, in mtk_cpufreq_hw_target_index() 95 struct cpufreq_policy *policy; in mtk_cpufreq_hw_get() local 110 static unsigned int mtk_cpufreq_hw_fast_switch(struct cpufreq_policy *policy, in mtk_cpufreq_hw_fast_switch() 158 struct cpufreq_policy *policy, in mtk_cpu_resources_init() 196 static int mtk_cpufreq_hw_cpu_init(struct cpufreq_policy *policy) in mtk_cpufreq_hw_cpu_init() 237 static int mtk_cpufreq_hw_cpu_exit(struct cpufreq_policy *policy) in mtk_cpufreq_hw_cpu_exit() 247 static void mtk_cpufreq_register_em(struct cpufreq_policy *policy) in mtk_cpufreq_register_em()
|
D | cpufreq_stats.c | 58 static ssize_t show_total_trans(struct cpufreq_policy *policy, char *buf) in show_total_trans() 69 static ssize_t show_time_in_state(struct cpufreq_policy *policy, char *buf) in show_time_in_state() 103 static ssize_t store_reset(struct cpufreq_policy *policy, const char *buf, in store_reset() 124 static ssize_t show_trans_table(struct cpufreq_policy *policy, char *buf) in show_trans_table() 196 void cpufreq_stats_free_table(struct cpufreq_policy *policy) in cpufreq_stats_free_table() 212 void cpufreq_stats_create_table(struct cpufreq_policy *policy) in cpufreq_stats_create_table() 266 void cpufreq_stats_record_transition(struct cpufreq_policy *policy, in cpufreq_stats_record_transition()
|
D | acpi-cpufreq.c | 130 static int set_boost(struct cpufreq_policy *policy, int val) in set_boost() 140 static ssize_t show_freqdomain_cpus(struct cpufreq_policy *policy, char *buf) in show_freqdomain_cpus() 153 static ssize_t store_cpb(struct cpufreq_policy *policy, const char *buf, in store_cpb() 173 static ssize_t show_cpb(struct cpufreq_policy *policy, char *buf) in show_cpb() 195 static unsigned extract_io(struct cpufreq_policy *policy, u32 value) in extract_io() 210 static unsigned extract_msr(struct cpufreq_policy *policy, u32 msr) in extract_msr() 231 static unsigned extract_freq(struct cpufreq_policy *policy, u32 val) in extract_freq() 364 struct cpufreq_policy *policy; in get_cur_freq_on_cpu() local 393 static unsigned int check_freqs(struct cpufreq_policy *policy, in check_freqs() 409 static int acpi_cpufreq_target(struct cpufreq_policy *policy, in acpi_cpufreq_target() [all …]
|
D | qcom-cpufreq-hw.c | 55 struct cpufreq_policy *policy; member 61 static int qcom_cpufreq_set_bw(struct cpufreq_policy *policy, in qcom_cpufreq_set_bw() 102 static int qcom_cpufreq_hw_target_index(struct cpufreq_policy *policy, in qcom_cpufreq_hw_target_index() 121 struct cpufreq_policy *policy; in qcom_cpufreq_hw_get() local 137 static unsigned int qcom_cpufreq_hw_fast_switch(struct cpufreq_policy *policy, in qcom_cpufreq_hw_fast_switch() 151 struct cpufreq_policy *policy) in qcom_cpufreq_hw_read_lut() 289 struct cpufreq_policy *policy = data->policy; in qcom_lmh_dcvs_notify() local 389 static int qcom_cpufreq_hw_lmh_init(struct cpufreq_policy *policy, int index) in qcom_cpufreq_hw_lmh_init() 434 static int qcom_cpufreq_hw_cpu_init(struct cpufreq_policy *policy) in qcom_cpufreq_hw_cpu_init() 543 static int qcom_cpufreq_hw_cpu_exit(struct cpufreq_policy *policy) in qcom_cpufreq_hw_cpu_exit()
|
D | scmi-cpufreq.c | 35 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in scmi_cpufreq_get_rate() local 52 scmi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index) in scmi_cpufreq_set_target() 60 static unsigned int scmi_cpufreq_fast_switch(struct cpufreq_policy *policy, in scmi_cpufreq_fast_switch() 121 static int scmi_cpufreq_init(struct cpufreq_policy *policy) in scmi_cpufreq_init() 237 static int scmi_cpufreq_exit(struct cpufreq_policy *policy) in scmi_cpufreq_exit() 249 static void scmi_cpufreq_register_em(struct cpufreq_policy *policy) in scmi_cpufreq_register_em()
|
D | intel_pstate.c | 229 unsigned int policy; member 405 static void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy) in intel_pstate_init_acpi_perf_limits() 461 static void intel_pstate_exit_perf_limits(struct cpufreq_policy *policy) in intel_pstate_exit_perf_limits() 472 static inline void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy) in intel_pstate_init_acpi_perf_limits() 476 static inline void intel_pstate_exit_perf_limits(struct cpufreq_policy *policy) in intel_pstate_exit_perf_limits() 763 struct cpufreq_policy *policy, char *buf) in show_energy_performance_available_preferences() 781 struct cpufreq_policy *policy, const char *buf, size_t count) in store_energy_performance_preference() 849 struct cpufreq_policy *policy, char *buf) in show_energy_performance_preference() 866 static ssize_t show_base_frequency(struct cpufreq_policy *policy, char *buf) in show_base_frequency() 1059 static int intel_pstate_suspend(struct cpufreq_policy *policy) in intel_pstate_suspend() [all …]
|
D | cpufreq-dt.c | 57 static int set_target(struct cpufreq_policy *policy, unsigned int index) in set_target() 103 static int cpufreq_init(struct cpufreq_policy *policy) in cpufreq_init() 154 static int cpufreq_online(struct cpufreq_policy *policy) in cpufreq_online() 160 static int cpufreq_offline(struct cpufreq_policy *policy) in cpufreq_offline() 169 static int cpufreq_exit(struct cpufreq_policy *policy) in cpufreq_exit()
|
D | longrun.c | 35 static void longrun_get_policy(struct cpufreq_policy *policy) in longrun_get_policy() 71 static int longrun_set_policy(struct cpufreq_policy *policy) in longrun_set_policy() 125 static int longrun_verify_policy(struct cpufreq_policy_data *policy) in longrun_verify_policy() 252 static int longrun_cpu_init(struct cpufreq_policy *policy) in longrun_cpu_init()
|
D | scpi-cpufreq.c | 40 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in scpi_cpufreq_get_rate() local 48 scpi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index) in scpi_cpufreq_set_target() 91 static int scpi_cpufreq_init(struct cpufreq_policy *policy) in scpi_cpufreq_init() 178 static int scpi_cpufreq_exit(struct cpufreq_policy *policy) in scpi_cpufreq_exit()
|
D | cpufreq_ondemand.c | 61 static unsigned int generic_powersave_bias_target(struct cpufreq_policy *policy, in generic_powersave_bias_target() 106 static void ondemand_powersave_bias_init(struct cpufreq_policy *policy) in ondemand_powersave_bias_init() 113 static void dbs_freq_increase(struct cpufreq_policy *policy, unsigned int freq) in dbs_freq_increase() 134 static void od_update(struct cpufreq_policy *policy) in od_update() 170 static unsigned int od_dbs_update(struct cpufreq_policy *policy) in od_dbs_update() 388 static void od_start(struct cpufreq_policy *policy) in od_start() 423 struct cpufreq_policy *policy; in od_set_powersave_bias() local
|
D | e_powersaver.c | 79 static int eps_acpi_exit(struct cpufreq_policy *policy) in eps_acpi_exit() 108 struct cpufreq_policy *policy, in eps_set_state() 153 static int eps_target(struct cpufreq_policy *policy, unsigned int index) in eps_target() 172 static int eps_cpu_init(struct cpufreq_policy *policy) in eps_cpu_init() 363 static int eps_cpu_exit(struct cpufreq_policy *policy) in eps_cpu_exit()
|
D | bmips-cpufreq.c | 66 bmips_cpufreq_get_freq_table(const struct cpufreq_policy *policy) in bmips_cpufreq_get_freq_table() 105 static int bmips_cpufreq_target_index(struct cpufreq_policy *policy, in bmips_cpufreq_target_index() 124 static int bmips_cpufreq_exit(struct cpufreq_policy *policy) in bmips_cpufreq_exit() 131 static int bmips_cpufreq_init(struct cpufreq_policy *policy) in bmips_cpufreq_init()
|
D | brcmstb-avs-cpufreq.c | 483 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in brcm_avs_cpufreq_get() local 491 static int brcm_avs_target_index(struct cpufreq_policy *policy, in brcm_avs_target_index() 498 static int brcm_avs_suspend(struct cpufreq_policy *policy) in brcm_avs_suspend() 523 static int brcm_avs_resume(struct cpufreq_policy *policy) in brcm_avs_resume() 614 static int brcm_avs_cpufreq_init(struct cpufreq_policy *policy) in brcm_avs_cpufreq_init() 656 static ssize_t show_brcm_avs_pstate(struct cpufreq_policy *policy, char *buf) in show_brcm_avs_pstate() 667 static ssize_t show_brcm_avs_mode(struct cpufreq_policy *policy, char *buf) in show_brcm_avs_mode() 679 static ssize_t show_brcm_avs_pmap(struct cpufreq_policy *policy, char *buf) in show_brcm_avs_pmap() 697 static ssize_t show_brcm_avs_voltage(struct cpufreq_policy *policy, char *buf) in show_brcm_avs_voltage() 704 static ssize_t show_brcm_avs_frequency(struct cpufreq_policy *policy, char *buf) in show_brcm_avs_frequency()
|
D | pmac32-cpufreq.c | 332 static int do_set_cpu_speed(struct cpufreq_policy *policy, int speed_mode) in do_set_cpu_speed() 362 static int pmac_cpufreq_target( struct cpufreq_policy *policy, in pmac_cpufreq_target() 373 static int pmac_cpufreq_cpu_init(struct cpufreq_policy *policy) in pmac_cpufreq_cpu_init() 398 static int pmac_cpufreq_suspend(struct cpufreq_policy *policy) in pmac_cpufreq_suspend() 414 static int pmac_cpufreq_resume(struct cpufreq_policy *policy) in pmac_cpufreq_resume()
|
D | ppc_cbe_cpufreq.c | 55 static int cbe_cpufreq_cpu_init(struct cpufreq_policy *policy) in cbe_cpufreq_cpu_init() 117 static int cbe_cpufreq_cpu_exit(struct cpufreq_policy *policy) in cbe_cpufreq_cpu_exit() 123 static int cbe_cpufreq_target(struct cpufreq_policy *policy, in cbe_cpufreq_target()
|
D | ppc_cbe_cpufreq_pmi.c | 67 struct cpufreq_policy *policy; in cbe_cpufreq_handle_pmi() local 104 void cbe_cpufreq_pmi_policy_init(struct cpufreq_policy *policy) in cbe_cpufreq_pmi_policy_init() 128 void cbe_cpufreq_pmi_policy_exit(struct cpufreq_policy *policy) in cbe_cpufreq_pmi_policy_exit()
|
/drivers/thermal/ |
D | cpufreq_cooling.c | 75 struct cpufreq_policy *policy; member 219 struct cpufreq_policy *policy = cpufreq_cdev->policy; in cpufreq_get_requested_power() local 321 struct cpufreq_policy *policy = cpufreq_cdev->policy; in cpufreq_power2state() local 337 struct cpufreq_policy *policy; in em_is_sane() local 396 struct cpufreq_policy *policy; in get_state_freq() local 518 struct cpufreq_policy *policy, in __cpufreq_cooling_register() 627 cpufreq_cooling_register(struct cpufreq_policy *policy) in cpufreq_cooling_register() 653 of_cpufreq_cooling_register(struct cpufreq_policy *policy) in of_cpufreq_cooling_register()
|
/drivers/hwtracing/stm/ |
D | policy.c | 31 struct stp_policy *policy; member 228 struct stp_policy *policy; in stp_policy_node_make() local 291 struct stp_policy *policy = to_stp_policy(item); in stp_policy_device_show() local 307 struct stp_policy *policy = to_stp_policy(item); in stp_policy_protocol_show() local 326 void stp_policy_unbind(struct stp_policy *policy) in stp_policy_unbind() 353 struct stp_policy *policy = to_stp_policy(item); in stp_policy_release() local 491 __stp_policy_node_lookup(struct stp_policy *policy, char *s) in __stp_policy_node_lookup()
|
/drivers/acpi/ |
D | processor_thermal.c | 56 struct cpufreq_policy policy; in cpu_has_cpufreq() local 80 struct cpufreq_policy *policy; in cpufreq_set_cur_state() local 122 void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy) in acpi_thermal_cpufreq_init() 142 void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy) in acpi_thermal_cpufreq_exit()
|