Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 25 of 87) sorted by relevance

1234

/drivers/cpufreq/
Dcpufreq.c137 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy) in get_governor_parent_kobj()
262 void __cpufreq_notify_transition(struct cpufreq_policy *policy, in __cpufreq_notify_transition()
315 void cpufreq_notify_transition(struct cpufreq_policy *policy, in cpufreq_notify_transition()
343 static int cpufreq_parse_governor(char *str_governor, unsigned int *policy, in cpufreq_parse_governor()
445 static ssize_t show_cpuinfo_cur_freq(struct cpufreq_policy *policy, in show_cpuinfo_cur_freq()
458 static ssize_t show_scaling_governor(struct cpufreq_policy *policy, char *buf) in show_scaling_governor()
474 static ssize_t store_scaling_governor(struct cpufreq_policy *policy, in store_scaling_governor()
509 static ssize_t show_scaling_driver(struct cpufreq_policy *policy, char *buf) in show_scaling_driver()
517 static ssize_t show_scaling_available_governors(struct cpufreq_policy *policy, in show_scaling_available_governors()
559 static ssize_t show_related_cpus(struct cpufreq_policy *policy, char *buf) in show_related_cpus()
[all …]
Dexynos-cpufreq.c34 static int exynos_verify_speed(struct cpufreq_policy *policy) in exynos_verify_speed()
65 struct cpufreq_policy *policy = cpufreq_cpu_get(0); in exynos_cpufreq_scale() local
154 static int exynos_target(struct cpufreq_policy *policy, in exynos_target()
185 static int exynos_cpufreq_suspend(struct cpufreq_policy *policy) in exynos_cpufreq_suspend()
190 static int exynos_cpufreq_resume(struct cpufreq_policy *policy) in exynos_cpufreq_resume()
242 static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy) in exynos_cpufreq_cpu_init()
256 static int exynos_cpufreq_cpu_exit(struct cpufreq_policy *policy) in exynos_cpufreq_cpu_exit()
Dtegra-cpufreq.c55 static int tegra_verify_speed(struct cpufreq_policy *policy) in tegra_verify_speed()
107 static int tegra_update_cpu_speed(struct cpufreq_policy *policy, in tegra_update_cpu_speed()
159 static int tegra_target(struct cpufreq_policy *policy, in tegra_target()
193 struct cpufreq_policy *policy = cpufreq_cpu_get(0); in tegra_pm_notify() local
211 static int tegra_cpu_init(struct cpufreq_policy *policy) in tegra_cpu_init()
235 static int tegra_cpu_exit(struct cpufreq_policy *policy) in tegra_cpu_exit()
Dsc520_freq.c56 static void sc520_freq_set_cpu_state(struct cpufreq_policy *policy, in sc520_freq_set_cpu_state()
81 static int sc520_freq_verify(struct cpufreq_policy *policy) in sc520_freq_verify()
86 static int sc520_freq_target(struct cpufreq_policy *policy, in sc520_freq_target()
106 static int sc520_freq_cpu_init(struct cpufreq_policy *policy) in sc520_freq_cpu_init()
130 static int sc520_freq_cpu_exit(struct cpufreq_policy *policy) in sc520_freq_cpu_exit()
Dcris-artpec3-cpufreq.c30 static void cris_freq_set_cpu_state(struct cpufreq_policy *policy, in cris_freq_set_cpu_state()
57 static int cris_freq_verify(struct cpufreq_policy *policy) in cris_freq_verify()
62 static int cris_freq_target(struct cpufreq_policy *policy, in cris_freq_target()
77 static int cris_freq_cpu_init(struct cpufreq_policy *policy) in cris_freq_cpu_init()
95 static int cris_freq_cpu_exit(struct cpufreq_policy *policy) in cris_freq_cpu_exit()
Dcris-etraxfs-cpufreq.c30 static void cris_freq_set_cpu_state(struct cpufreq_policy *policy, in cris_freq_set_cpu_state()
57 static int cris_freq_verify(struct cpufreq_policy *policy) in cris_freq_verify()
62 static int cris_freq_target(struct cpufreq_policy *policy, in cris_freq_target()
76 static int cris_freq_cpu_init(struct cpufreq_policy *policy) in cris_freq_cpu_init()
93 static int cris_freq_cpu_exit(struct cpufreq_policy *policy) in cris_freq_cpu_exit()
Dpowernow-k6.c71 static void powernow_k6_set_state(struct cpufreq_policy *policy, in powernow_k6_set_state()
114 static int powernow_k6_verify(struct cpufreq_policy *policy) in powernow_k6_verify()
129 static int powernow_k6_target(struct cpufreq_policy *policy, in powernow_k6_target()
145 static int powernow_k6_cpu_init(struct cpufreq_policy *policy) in powernow_k6_cpu_init()
180 static int powernow_k6_cpu_exit(struct cpufreq_policy *policy) in powernow_k6_cpu_exit()
Dfreq_table.c23 int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy, in cpufreq_frequency_table_cpuinfo()
56 int cpufreq_frequency_table_verify(struct cpufreq_policy *policy, in cpufreq_frequency_table_verify()
93 int cpufreq_frequency_table_target(struct cpufreq_policy *policy, in cpufreq_frequency_table_target()
174 static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf) in show_available_freqs()
224 void cpufreq_frequency_table_update_policy_cpu(struct cpufreq_policy *policy) in cpufreq_frequency_table_update_policy_cpu()
Delanfreq.c120 static void elanfreq_set_cpu_state(struct cpufreq_policy *policy, in elanfreq_set_cpu_state()
176 static int elanfreq_verify(struct cpufreq_policy *policy) in elanfreq_verify()
181 static int elanfreq_target(struct cpufreq_policy *policy, in elanfreq_target()
201 static int elanfreq_cpu_init(struct cpufreq_policy *policy) in elanfreq_cpu_init()
235 static int elanfreq_cpu_exit(struct cpufreq_policy *policy) in elanfreq_cpu_exit()
Dkirkwood-cpufreq.c58 static void kirkwood_cpufreq_set_cpu_state(struct cpufreq_policy *policy, in kirkwood_cpufreq_set_cpu_state()
105 static int kirkwood_cpufreq_verify(struct cpufreq_policy *policy) in kirkwood_cpufreq_verify()
110 static int kirkwood_cpufreq_target(struct cpufreq_policy *policy, in kirkwood_cpufreq_target()
126 static int kirkwood_cpufreq_cpu_init(struct cpufreq_policy *policy) in kirkwood_cpufreq_cpu_init()
143 static int kirkwood_cpufreq_cpu_exit(struct cpufreq_policy *policy) in kirkwood_cpufreq_cpu_exit()
Dppc_cbe_cpufreq.c71 static int cbe_cpufreq_cpu_init(struct cpufreq_policy *policy) in cbe_cpufreq_cpu_init()
133 static int cbe_cpufreq_cpu_exit(struct cpufreq_policy *policy) in cbe_cpufreq_cpu_exit()
139 static int cbe_cpufreq_verify(struct cpufreq_policy *policy) in cbe_cpufreq_verify()
144 static int cbe_cpufreq_target(struct cpufreq_policy *policy, in cbe_cpufreq_target()
Dspeedstep-ich.c260 static int speedstep_target(struct cpufreq_policy *policy, in speedstep_target()
299 static int speedstep_verify(struct cpufreq_policy *policy) in speedstep_verify()
305 struct cpufreq_policy *policy; member
321 static int speedstep_cpu_init(struct cpufreq_policy *policy) in speedstep_cpu_init()
362 static int speedstep_cpu_exit(struct cpufreq_policy *policy) in speedstep_cpu_exit()
Dsparc-us3-cpufreq.c96 static void us3_set_cpu_divider_index(struct cpufreq_policy *policy, in us3_set_cpu_divider_index()
141 static int us3_freq_target(struct cpufreq_policy *policy, in us3_freq_target()
159 static int us3_freq_verify(struct cpufreq_policy *policy) in us3_freq_verify()
165 static int __init us3_freq_cpu_init(struct cpufreq_policy *policy) in us3_freq_cpu_init()
187 static int us3_freq_cpu_exit(struct cpufreq_policy *policy) in us3_freq_cpu_exit()
Dsh-cpufreq.c41 static int sh_cpufreq_target(struct cpufreq_policy *policy, in sh_cpufreq_target()
81 static int sh_cpufreq_verify(struct cpufreq_policy *policy) in sh_cpufreq_verify()
102 static int sh_cpufreq_cpu_init(struct cpufreq_policy *policy) in sh_cpufreq_cpu_init()
146 static int sh_cpufreq_cpu_exit(struct cpufreq_policy *policy) in sh_cpufreq_cpu_exit()
De_powersaver.c78 static int eps_acpi_exit(struct cpufreq_policy *policy) in eps_acpi_exit()
107 struct cpufreq_policy *policy, in eps_set_state()
168 static int eps_target(struct cpufreq_policy *policy, in eps_target()
198 static int eps_verify(struct cpufreq_policy *policy) in eps_verify()
204 static int eps_cpu_init(struct cpufreq_policy *policy) in eps_cpu_init()
413 static int eps_cpu_exit(struct cpufreq_policy *policy) in eps_cpu_exit()
Domap-cpufreq.c43 static int omap_verify_speed(struct cpufreq_policy *policy) in omap_verify_speed()
61 static int omap_target(struct cpufreq_policy *policy, in omap_target()
168 static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy) in omap_cpu_init()
224 static int omap_cpu_exit(struct cpufreq_policy *policy) in omap_cpu_exit()
Dloongson2_cpufreq.c55 static int loongson2_cpufreq_target(struct cpufreq_policy *policy, in loongson2_cpufreq_target()
104 static int loongson2_cpufreq_cpu_init(struct cpufreq_policy *policy) in loongson2_cpufreq_cpu_init()
142 static int loongson2_cpufreq_verify(struct cpufreq_policy *policy) in loongson2_cpufreq_verify()
148 static int loongson2_cpufreq_exit(struct cpufreq_policy *policy) in loongson2_cpufreq_exit()
Dia64-acpi-cpufreq.c139 struct cpufreq_policy *policy, in processor_set_freq()
229 struct cpufreq_policy *policy, in acpi_cpufreq_target()
252 struct cpufreq_policy *policy) in acpi_cpufreq_verify()
268 struct cpufreq_policy *policy) in acpi_cpufreq_cpu_init()
381 struct cpufreq_policy *policy) in acpi_cpufreq_cpu_exit()
Dunicore2-cpufreq.c27 int ucv2_verify_speed(struct cpufreq_policy *policy) in ucv2_verify_speed()
47 static int ucv2_target(struct cpufreq_policy *policy, in ucv2_target()
67 static int __init ucv2_cpu_init(struct cpufreq_policy *policy) in ucv2_cpu_init()
Dat32ap-cpufreq.c25 static int at32_verify_speed(struct cpufreq_policy *policy) in at32_verify_speed()
46 static int at32_set_target(struct cpufreq_policy *policy, in at32_set_target()
86 static int __init at32_cpufreq_driver_init(struct cpufreq_policy *policy) in at32_cpufreq_driver_init()
Dlongrun.c36 static void __cpuinit 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()
259 static int __cpuinit longrun_cpu_init(struct cpufreq_policy *policy) in longrun_cpu_init()
Dcpufreq-cpu0.c32 static int cpu0_verify_speed(struct cpufreq_policy *policy) in cpu0_verify_speed()
42 static int cpu0_set_target(struct cpufreq_policy *policy, in cpu0_set_target()
127 static int cpu0_cpufreq_init(struct cpufreq_policy *policy) in cpu0_cpufreq_init()
152 static int cpu0_cpufreq_exit(struct cpufreq_policy *policy) in cpu0_cpufreq_exit()
Ddavinci-cpufreq.c41 static int davinci_verify_speed(struct cpufreq_policy *policy) in davinci_verify_speed()
71 static int davinci_target(struct cpufreq_policy *policy, in davinci_target()
122 static int davinci_cpu_init(struct cpufreq_policy *policy) in davinci_cpu_init()
159 static int davinci_cpu_exit(struct cpufreq_policy *policy) in davinci_cpu_exit()
Darm_big_little.c51 static int bL_cpufreq_verify_policy(struct cpufreq_policy *policy) in bL_cpufreq_verify_policy()
59 static int bL_cpufreq_set_target(struct cpufreq_policy *policy, in bL_cpufreq_set_target()
153 static int bL_cpufreq_init(struct cpufreq_policy *policy) in bL_cpufreq_init()
194 static int bL_cpufreq_exit(struct cpufreq_policy *policy) in bL_cpufreq_exit()
/drivers/md/
Ddm-cache-policy-cleaner.c38 struct policy { struct
39 struct dm_cache_policy policy; member
40 spinlock_t lock;
42 struct list_head free;
66 static struct policy *to_policy(struct dm_cache_policy *p) in to_policy() argument

1234