/drivers/cpufreq/ |
D | cpufreq.c | 40 static inline bool policy_is_inactive(struct cpufreq_policy *policy) in policy_is_inactive() 130 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy) in get_governor_parent_kobj() 181 int cpufreq_generic_init(struct cpufreq_policy *policy, in cpufreq_generic_init() 207 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_cpu_get_raw() local 215 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in cpufreq_generic_get() local 242 struct cpufreq_policy *policy = NULL; in cpufreq_cpu_get() local 272 void cpufreq_cpu_put(struct cpufreq_policy *policy) in cpufreq_cpu_put() 400 static void __cpufreq_notify_transition(struct cpufreq_policy *policy, in __cpufreq_notify_transition() 455 static void cpufreq_notify_transition(struct cpufreq_policy *policy, in cpufreq_notify_transition() 463 static void cpufreq_notify_post_transition(struct cpufreq_policy *policy, in cpufreq_notify_post_transition() [all …]
|
D | freq_table.c | 21 bool policy_has_boost_freq(struct cpufreq_policy *policy) in policy_has_boost_freq() 36 int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy, in cpufreq_frequency_table_cpuinfo() 67 int cpufreq_frequency_table_verify(struct cpufreq_policy *policy, in cpufreq_frequency_table_verify() 107 int cpufreq_generic_frequency_table_verify(struct cpufreq_policy *policy) in cpufreq_generic_frequency_table_verify() 116 int cpufreq_table_index_unsorted(struct cpufreq_policy *policy, in cpufreq_table_index_unsorted() 210 int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy, in cpufreq_frequency_table_get_index() 231 static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf, in show_available_freqs() 271 static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy, in scaling_available_frequencies_show() 283 static ssize_t scaling_boost_frequencies_show(struct cpufreq_policy *policy, in scaling_boost_frequencies_show() 300 static int set_freq_table_sorted(struct cpufreq_policy *policy) in set_freq_table_sorted() [all …]
|
D | cpufreq_userspace.c | 32 static int cpufreq_set(struct cpufreq_policy *policy, unsigned int freq) in cpufreq_set() 51 static ssize_t show_speed(struct cpufreq_policy *policy, char *buf) in show_speed() 56 static int cpufreq_userspace_policy_init(struct cpufreq_policy *policy) in cpufreq_userspace_policy_init() 68 static void cpufreq_userspace_policy_exit(struct cpufreq_policy *policy) in cpufreq_userspace_policy_exit() 76 static int cpufreq_userspace_policy_start(struct cpufreq_policy *policy) in cpufreq_userspace_policy_start() 90 static void cpufreq_userspace_policy_stop(struct cpufreq_policy *policy) in cpufreq_userspace_policy_stop() 102 static void cpufreq_userspace_policy_limits(struct cpufreq_policy *policy) in cpufreq_userspace_policy_limits()
|
D | cpufreq_governor.c | 115 unsigned int dbs_update(struct cpufreq_policy *policy) in dbs_update() 228 struct cpufreq_policy *policy; in dbs_work_handler() local 315 struct cpufreq_policy *policy = policy_dbs->policy; in gov_set_update_util() local 329 static inline void gov_clear_update_util(struct cpufreq_policy *policy) in gov_clear_update_util() 339 static struct policy_dbs_info *alloc_policy_dbs_info(struct cpufreq_policy *policy, in alloc_policy_dbs_info() 381 int cpufreq_dbs_governor_init(struct cpufreq_policy *policy) in cpufreq_dbs_governor_init() 468 void cpufreq_dbs_governor_exit(struct cpufreq_policy *policy) in cpufreq_dbs_governor_exit() 496 int cpufreq_dbs_governor_start(struct cpufreq_policy *policy) in cpufreq_dbs_governor_start() 534 void cpufreq_dbs_governor_stop(struct cpufreq_policy *policy) in cpufreq_dbs_governor_stop() 546 void cpufreq_dbs_governor_limits(struct cpufreq_policy *policy) in cpufreq_dbs_governor_limits()
|
D | sh-cpufreq.c | 34 struct cpufreq_policy *policy; member 46 struct cpufreq_policy *policy = target->policy; in __sh_cpufreq_target() local 81 static int sh_cpufreq_target(struct cpufreq_policy *policy, in sh_cpufreq_target() 90 static int sh_cpufreq_verify(struct cpufreq_policy *policy) in sh_cpufreq_verify() 108 static int sh_cpufreq_cpu_init(struct cpufreq_policy *policy) in sh_cpufreq_cpu_init() 150 static int sh_cpufreq_cpu_exit(struct cpufreq_policy *policy) in sh_cpufreq_cpu_exit()
|
D | tegra20-cpufreq.c | 50 static unsigned int tegra_get_intermediate(struct cpufreq_policy *policy, in tegra_get_intermediate() 66 static int tegra_target_intermediate(struct cpufreq_policy *policy, in tegra_target_intermediate() 92 static int tegra_target(struct cpufreq_policy *policy, unsigned int index) in tegra_target() 137 static int tegra_cpu_init(struct cpufreq_policy *policy) in tegra_cpu_init() 160 static int tegra_cpu_exit(struct cpufreq_policy *policy) in tegra_cpu_exit()
|
D | cpufreq_stats.c | 44 static ssize_t show_total_trans(struct cpufreq_policy *policy, char *buf) in show_total_trans() 49 static ssize_t show_time_in_state(struct cpufreq_policy *policy, char *buf) in show_time_in_state() 68 static ssize_t show_trans_table(struct cpufreq_policy *policy, char *buf) in show_trans_table() 139 void cpufreq_stats_free_table(struct cpufreq_policy *policy) in cpufreq_stats_free_table() 155 void cpufreq_stats_create_table(struct cpufreq_policy *policy) in cpufreq_stats_create_table() 219 void cpufreq_stats_record_transition(struct cpufreq_policy *policy, in cpufreq_stats_record_transition()
|
D | acpi-cpufreq.c | 149 static ssize_t show_freqdomain_cpus(struct cpufreq_policy *policy, char *buf) in show_freqdomain_cpus() 162 static ssize_t store_cpb(struct cpufreq_policy *policy, const char *buf, in store_cpb() 180 static ssize_t show_cpb(struct cpufreq_policy *policy, char *buf) in show_cpb() 202 static unsigned extract_io(struct cpufreq_policy *policy, u32 value) in extract_io() 217 static unsigned extract_msr(struct cpufreq_policy *policy, u32 msr) in extract_msr() 236 static unsigned extract_freq(struct cpufreq_policy *policy, u32 val) in extract_freq() 369 struct cpufreq_policy *policy; in get_cur_freq_on_cpu() local 398 static unsigned int check_freqs(struct cpufreq_policy *policy, in check_freqs() 414 static int acpi_cpufreq_target(struct cpufreq_policy *policy, in acpi_cpufreq_target() 465 unsigned int acpi_cpufreq_fast_switch(struct cpufreq_policy *policy, in acpi_cpufreq_fast_switch() [all …]
|
D | unicore2-cpufreq.c | 28 static int ucv2_verify_speed(struct cpufreq_policy *policy) in ucv2_verify_speed() 37 static int ucv2_target(struct cpufreq_policy *policy, in ucv2_target() 54 static int __init ucv2_cpu_init(struct cpufreq_policy *policy) in ucv2_cpu_init()
|
D | longrun.c | 36 static void longrun_get_policy(struct cpufreq_policy *policy) in longrun_get_policy() 72 static int longrun_set_policy(struct cpufreq_policy *policy) in longrun_set_policy() 126 static int longrun_verify_policy(struct cpufreq_policy *policy) in longrun_verify_policy() 257 static int longrun_cpu_init(struct cpufreq_policy *policy) in longrun_cpu_init()
|
D | cppc_cpufreq.c | 77 static int cppc_cpufreq_set_target(struct cpufreq_policy *policy, in cppc_cpufreq_set_target() 108 static int cppc_verify_policy(struct cpufreq_policy *policy) in cppc_verify_policy() 114 static void cppc_cpufreq_stop_cpu(struct cpufreq_policy *policy) in cppc_cpufreq_stop_cpu() 128 static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy) in cppc_cpufreq_cpu_init()
|
D | cpufreq_ondemand.c | 63 static unsigned int generic_powersave_bias_target(struct cpufreq_policy *policy, in generic_powersave_bias_target() 108 static void ondemand_powersave_bias_init(struct cpufreq_policy *policy) in ondemand_powersave_bias_init() 115 static void dbs_freq_increase(struct cpufreq_policy *policy, unsigned int freq) in dbs_freq_increase() 136 static void od_update(struct cpufreq_policy *policy) in od_update() 172 static unsigned int od_dbs_timer(struct cpufreq_policy *policy) in od_dbs_timer() 403 static void od_start(struct cpufreq_policy *policy) in od_start() 438 struct cpufreq_policy *policy; in od_set_powersave_bias() local
|
D | e_powersaver.c | 80 static int eps_acpi_exit(struct cpufreq_policy *policy) in eps_acpi_exit() 109 struct cpufreq_policy *policy, in eps_set_state() 154 static int eps_target(struct cpufreq_policy *policy, unsigned int index) in eps_target() 173 static int eps_cpu_init(struct cpufreq_policy *policy) in eps_cpu_init() 372 static int eps_cpu_exit(struct cpufreq_policy *policy) in eps_cpu_exit()
|
D | qoriq-cpufreq.c | 125 static void set_affected_cpus(struct cpufreq_policy *policy) in set_affected_cpus() 199 static int qoriq_cpufreq_cpu_init(struct cpufreq_policy *policy) in qoriq_cpufreq_cpu_init() 304 static int qoriq_cpufreq_cpu_exit(struct cpufreq_policy *policy) in qoriq_cpufreq_cpu_exit() 317 static int qoriq_cpufreq_target(struct cpufreq_policy *policy, in qoriq_cpufreq_target() 328 static void qoriq_cpufreq_ready(struct cpufreq_policy *policy) in qoriq_cpufreq_ready()
|
D | pmac32-cpufreq.c | 336 static int do_set_cpu_speed(struct cpufreq_policy *policy, int speed_mode) in do_set_cpu_speed() 366 static int pmac_cpufreq_target( struct cpufreq_policy *policy, in pmac_cpufreq_target() 377 static int pmac_cpufreq_cpu_init(struct cpufreq_policy *policy) in pmac_cpufreq_cpu_init() 401 static int pmac_cpufreq_suspend(struct cpufreq_policy *policy) in pmac_cpufreq_suspend() 417 static int pmac_cpufreq_resume(struct cpufreq_policy *policy) in pmac_cpufreq_resume()
|
D | ia64-acpi-cpufreq.c | 139 struct cpufreq_policy *policy, in processor_set_freq() 210 struct cpufreq_policy *policy, in acpi_cpufreq_target() 218 struct cpufreq_policy *policy) in acpi_cpufreq_cpu_init() 327 struct cpufreq_policy *policy) in acpi_cpufreq_cpu_exit()
|
D | cpufreq-dt.c | 43 static int set_target(struct cpufreq_policy *policy, unsigned int index) in set_target() 144 static int cpufreq_init(struct cpufreq_policy *policy) in cpufreq_init() 306 static int cpufreq_exit(struct cpufreq_policy *policy) in cpufreq_exit() 322 static void cpufreq_ready(struct cpufreq_policy *policy) in cpufreq_ready()
|
D | omap-cpufreq.c | 45 static int omap_target(struct cpufreq_policy *policy, unsigned int index) in omap_target() 116 static int omap_cpu_init(struct cpufreq_policy *policy) in omap_cpu_init() 147 static int omap_cpu_exit(struct cpufreq_policy *policy) in omap_cpu_exit()
|
D | cpufreq-nforce2.c | 252 static int nforce2_target(struct cpufreq_policy *policy, in nforce2_target() 296 static int nforce2_verify(struct cpufreq_policy *policy) in nforce2_verify() 309 static int nforce2_cpu_init(struct cpufreq_policy *policy) in nforce2_cpu_init() 365 static int nforce2_cpu_exit(struct cpufreq_policy *policy) in nforce2_cpu_exit()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | nrs.c | 51 static int nrs_policy_init(struct ptlrpc_nrs_policy *policy) in nrs_policy_init() 57 static void nrs_policy_fini(struct ptlrpc_nrs_policy *policy) in nrs_policy_fini() 66 static int nrs_policy_ctl_locked(struct ptlrpc_nrs_policy *policy, in nrs_policy_ctl_locked() 83 static void nrs_policy_stop0(struct ptlrpc_nrs_policy *policy) in nrs_policy_stop0() 107 static int nrs_policy_stop_locked(struct ptlrpc_nrs_policy *policy) in nrs_policy_stop_locked() 181 static int nrs_policy_start_locked(struct ptlrpc_nrs_policy *policy) in nrs_policy_start_locked() 290 static inline void nrs_policy_get_locked(struct ptlrpc_nrs_policy *policy) in nrs_policy_get_locked() 301 static void nrs_policy_put_locked(struct ptlrpc_nrs_policy *policy) in nrs_policy_put_locked() 311 static void nrs_policy_put(struct ptlrpc_nrs_policy *policy) in nrs_policy_put() 342 struct ptlrpc_nrs_policy *policy = res->res_policy; in nrs_resource_put() local [all …]
|
D | nrs_fifo.c | 75 static int nrs_fifo_start(struct ptlrpc_nrs_policy *policy) in nrs_fifo_start() 99 static void nrs_fifo_stop(struct ptlrpc_nrs_policy *policy) in nrs_fifo_stop() 127 static int nrs_fifo_res_get(struct ptlrpc_nrs_policy *policy, in nrs_fifo_res_get() 158 struct ptlrpc_nrs_request *nrs_fifo_req_get(struct ptlrpc_nrs_policy *policy, in nrs_fifo_req_get() 192 static int nrs_fifo_req_add(struct ptlrpc_nrs_policy *policy, in nrs_fifo_req_add() 214 static void nrs_fifo_req_del(struct ptlrpc_nrs_policy *policy, in nrs_fifo_req_del() 231 static void nrs_fifo_req_stop(struct ptlrpc_nrs_policy *policy, in nrs_fifo_req_stop()
|
D | sec.c | 62 int sptlrpc_register_policy(struct ptlrpc_sec_policy *policy) in sptlrpc_register_policy() 86 int sptlrpc_unregister_policy(struct ptlrpc_sec_policy *policy) in sptlrpc_unregister_policy() 113 struct ptlrpc_sec_policy *policy; in sptlrpc_wireflavor2policy() local 1181 struct ptlrpc_sec_policy *policy = sec->ps_policy; in sec_cop_flush_ctx_cache() local 1191 struct ptlrpc_sec_policy *policy = sec->ps_policy; in sec_cop_destroy_sec() local 1244 struct ptlrpc_sec_policy *policy; in sptlrpc_sec_create() local 1494 struct ptlrpc_sec_policy *policy; in sptlrpc_cli_alloc_reqbuf() local 1524 struct ptlrpc_sec_policy *policy; in sptlrpc_cli_free_reqbuf() local 1621 struct ptlrpc_sec_policy *policy; in sptlrpc_cli_alloc_repbuf() local 1641 struct ptlrpc_sec_policy *policy; in sptlrpc_cli_free_repbuf() local [all …]
|
D | ptlrpc_internal.h | 168 static inline int nrs_pol2cptid(const struct ptlrpc_nrs_policy *policy) in nrs_pol2cptid() 174 struct ptlrpc_service *nrs_pol2svc(struct ptlrpc_nrs_policy *policy) in nrs_pol2svc() 180 struct ptlrpc_service_part *nrs_pol2svcpt(struct ptlrpc_nrs_policy *policy) in nrs_pol2svcpt() 186 struct cfs_cpt_table *nrs_pol2cptab(struct ptlrpc_nrs_policy *policy) in nrs_pol2cptab()
|
/drivers/md/ |
D | dm-cache-policy-cleaner.c | 38 struct policy { struct 39 struct dm_cache_policy policy; argument 40 spinlock_t lock; 42 struct list_head free; 66 static struct policy *to_policy(struct dm_cache_policy *p) in to_policy() argument
|
/drivers/hwtracing/stm/ |
D | policy.c | 39 struct stp_policy *policy; member 197 struct stp_policy *policy; in stp_policy_node_make() local 252 struct stp_policy *policy = to_stp_policy(item); in stp_policy_device_show() local 270 void stp_policy_unbind(struct stp_policy *policy) in stp_policy_unbind() 292 struct stp_policy *policy = to_stp_policy(item); in stp_policy_release() local 401 __stp_policy_node_lookup(struct stp_policy *policy, char *s) in __stp_policy_node_lookup()
|