arch/arm64/kernel/topology.c
209
struct cpufreq_policy *policy = cpufreq_cpu_get(cpu);
arch/arm64/kernel/topology.c
284
struct cpufreq_policy *policy = data;
arch/arm64/kernel/topology.c
308
struct cpufreq_policy *policy = cpufreq_cpu_policy(cpu);
arch/arm64/kernel/watchdog_hld.c
56
struct cpufreq_policy *policy = data;
arch/x86/kvm/x86.c
9912
struct cpufreq_policy *policy;
drivers/acpi/processor_driver.c
216
struct cpufreq_policy *policy = data;
drivers/acpi/processor_perflib.c
172
void acpi_processor_ppc_init(struct cpufreq_policy *policy)
drivers/acpi/processor_perflib.c
210
void acpi_processor_ppc_exit(struct cpufreq_policy *policy)
drivers/acpi/processor_thermal.c
160
void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy)
drivers/acpi/processor_thermal.c
186
void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy)
drivers/acpi/processor_thermal.c
70
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/acpi/processor_thermal.c
96
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/base/arch_topology.c
394
struct cpufreq_policy *policy = data;
drivers/cpufreq/acpi-cpufreq.c
131
static int set_boost(struct cpufreq_policy *policy, int val)
drivers/cpufreq/acpi-cpufreq.c
141
static ssize_t show_freqdomain_cpus(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/acpi-cpufreq.c
154
static ssize_t store_cpb(struct cpufreq_policy *policy, const char *buf,
drivers/cpufreq/acpi-cpufreq.c
174
static ssize_t show_cpb(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/acpi-cpufreq.c
196
static unsigned extract_io(struct cpufreq_policy *policy, u32 value)
drivers/cpufreq/acpi-cpufreq.c
211
static unsigned extract_msr(struct cpufreq_policy *policy, u32 msr)
drivers/cpufreq/acpi-cpufreq.c
232
static unsigned extract_freq(struct cpufreq_policy *policy, u32 val)
drivers/cpufreq/acpi-cpufreq.c
358
struct cpufreq_policy *policy;
drivers/cpufreq/acpi-cpufreq.c
387
static unsigned int check_freqs(struct cpufreq_policy *policy,
drivers/cpufreq/acpi-cpufreq.c
403
static int acpi_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/acpi-cpufreq.c
453
static unsigned int acpi_cpufreq_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/acpi-cpufreq.c
678
static void acpi_cpufreq_resolve_max_freq(struct cpufreq_policy *policy,
drivers/cpufreq/acpi-cpufreq.c
701
static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/acpi-cpufreq.c
948
static void acpi_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/acpi-cpufreq.c
963
static int acpi_cpufreq_resume(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate-ut.c
153
struct cpufreq_policy *policy __free(put_cpufreq_policy) = NULL;
drivers/cpufreq/amd-pstate-ut.c
225
struct cpufreq_policy *policy __free(put_cpufreq_policy) = NULL;
drivers/cpufreq/amd-pstate-ut.c
284
struct cpufreq_policy *policy = NULL;
drivers/cpufreq/amd-pstate-ut.c
491
struct cpufreq_policy *policy __free(put_cpufreq_policy) = NULL;
drivers/cpufreq/amd-pstate.c
1043
static int amd_pstate_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1136
static void amd_pstate_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1151
static int amd_pstate_get_balanced_epp(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1165
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpudata->cpu);
drivers/cpufreq/amd-pstate.c
1208
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpudata->cpu);
drivers/cpufreq/amd-pstate.c
1244
void amd_pstate_clear_dynamic_epp(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1259
static int amd_pstate_set_dynamic_epp(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1321
static ssize_t show_amd_pstate_max_freq(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1329
static ssize_t show_amd_pstate_lowest_nonlinear_freq(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1346
static ssize_t show_amd_pstate_highest_perf(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1356
static ssize_t show_amd_pstate_prefcore_ranking(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1367
static ssize_t show_amd_pstate_hw_prefcore(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1379
struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/amd-pstate.c
1396
ssize_t store_energy_performance_preference(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1440
ssize_t show_energy_performance_preference(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/amd-pstate.c
1471
static ssize_t store_amd_pstate_floor_freq(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1496
static ssize_t show_amd_pstate_floor_freq(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/amd-pstate.c
1503
static ssize_t show_amd_pstate_floor_count(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/amd-pstate.c
1874
static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1967
static void amd_pstate_epp_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1988
static int amd_pstate_epp_update_limit(struct cpufreq_policy *policy, bool policy_change)
drivers/cpufreq/amd-pstate.c
2010
static int amd_pstate_epp_set_policy(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
2033
static int amd_pstate_cpu_online(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
2048
static int amd_pstate_cpu_offline(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
2070
static int amd_pstate_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
2099
static int amd_pstate_resume(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
2117
static int amd_pstate_epp_resume(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
237
static int msr_update_perf(struct cpufreq_policy *policy, u8 min_perf,
drivers/cpufreq/amd-pstate.c
281
static inline int amd_pstate_update_perf(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
290
static int msr_set_epp(struct cpufreq_policy *policy, u8 epp)
drivers/cpufreq/amd-pstate.c
329
static inline int amd_pstate_set_epp(struct cpufreq_policy *policy, u8 epp)
drivers/cpufreq/amd-pstate.c
334
static int amd_pstate_set_floor_perf(struct cpufreq_policy *policy, u8 perf)
drivers/cpufreq/amd-pstate.c
369
static int amd_pstate_init_floor_perf(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
404
static int shmem_set_epp(struct cpufreq_policy *policy, u8 epp)
drivers/cpufreq/amd-pstate.c
444
static inline int msr_cppc_enable(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
449
static int shmem_cppc_enable(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
456
static inline int amd_pstate_cppc_enable(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
554
static int shmem_update_perf(struct cpufreq_policy *policy, u8 min_perf,
drivers/cpufreq/amd-pstate.c
637
static void amd_pstate_update(struct cpufreq_policy *policy, u8 min_perf,
drivers/cpufreq/amd-pstate.c
673
struct cpufreq_policy *policy __free(put_cpufreq_policy) =
drivers/cpufreq/amd-pstate.c
696
static void amd_pstate_update_min_max_limit(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
728
static int amd_pstate_update_freq(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
767
static int amd_pstate_target(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
774
static unsigned int amd_pstate_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
782
static void amd_pstate_adjust_perf(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
822
static int amd_pstate_cpu_boost_update(struct cpufreq_policy *policy, bool on)
drivers/cpufreq/amd-pstate.c
844
static int amd_pstate_set_boost(struct cpufreq_policy *policy, int state)
drivers/cpufreq/amd-pstate.c
918
static void amd_pstate_update_limits(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.h
152
ssize_t store_energy_performance_preference(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.h
154
ssize_t show_energy_performance_preference(struct cpufreq_policy *policy, char *buf);
drivers/cpufreq/amd-pstate.h
155
void amd_pstate_clear_dynamic_epp(struct cpufreq_policy *policy);
drivers/cpufreq/amd_freq_sensitivity.c
38
static unsigned int amd_powersave_bias_target(struct cpufreq_policy *policy,
drivers/cpufreq/apple-soc-cpufreq.c
137
struct cpufreq_policy *policy;
drivers/cpufreq/apple-soc-cpufreq.c
171
static int apple_soc_cpufreq_set_target(struct cpufreq_policy *policy,
drivers/cpufreq/apple-soc-cpufreq.c
199
static unsigned int apple_soc_cpufreq_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/apple-soc-cpufreq.c
208
static int apple_soc_cpufreq_find_cluster(struct cpufreq_policy *policy,
drivers/cpufreq/apple-soc-cpufreq.c
236
static int apple_soc_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/apple-soc-cpufreq.c
330
static void apple_soc_cpufreq_exit(struct cpufreq_policy *policy)
drivers/cpufreq/armada-37xx-cpufreq.c
361
static int armada37xx_cpufreq_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/armada-37xx-cpufreq.c
374
static int armada37xx_cpufreq_resume(struct cpufreq_policy *policy)
drivers/cpufreq/bmips-cpufreq.c
105
static int bmips_cpufreq_target_index(struct cpufreq_policy *policy,
drivers/cpufreq/bmips-cpufreq.c
124
static void bmips_cpufreq_exit(struct cpufreq_policy *policy)
drivers/cpufreq/bmips-cpufreq.c
129
static int bmips_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/bmips-cpufreq.c
66
bmips_cpufreq_get_freq_table(const struct cpufreq_policy *policy)
drivers/cpufreq/brcmstb-avs-cpufreq.c
483
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/brcmstb-avs-cpufreq.c
494
static int brcm_avs_target_index(struct cpufreq_policy *policy,
drivers/cpufreq/brcmstb-avs-cpufreq.c
501
static int brcm_avs_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/brcmstb-avs-cpufreq.c
526
static int brcm_avs_resume(struct cpufreq_policy *policy)
drivers/cpufreq/brcmstb-avs-cpufreq.c
617
static int brcm_avs_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/brcmstb-avs-cpufreq.c
659
static ssize_t show_brcm_avs_pstate(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/brcmstb-avs-cpufreq.c
670
static ssize_t show_brcm_avs_mode(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/brcmstb-avs-cpufreq.c
682
static ssize_t show_brcm_avs_pmap(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/brcmstb-avs-cpufreq.c
700
static ssize_t show_brcm_avs_voltage(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/brcmstb-avs-cpufreq.c
707
static ssize_t show_brcm_avs_frequency(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cppc_cpufreq.c
150
static void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
194
static void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
276
static inline void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
280
static inline void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
294
struct cpufreq_policy *policy,
drivers/cpufreq/cppc_cpufreq.c
314
struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
321
static int cppc_cpufreq_set_target(struct cpufreq_policy *policy,
drivers/cpufreq/cppc_cpufreq.c
348
static unsigned int cppc_cpufreq_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/cppc_cpufreq.c
429
static unsigned int get_perf_level_count(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
463
struct cpufreq_policy *policy;
drivers/cpufreq/cppc_cpufreq.c
533
struct cpufreq_policy *policy;
drivers/cpufreq/cppc_cpufreq.c
555
static void cppc_cpufreq_register_em(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
647
static void cppc_cpufreq_put_cpu_data(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
656
static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
738
static void cppc_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
803
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cppc_cpufreq.c
845
static int cppc_cpufreq_set_boost(struct cpufreq_policy *policy, int state)
drivers/cpufreq/cppc_cpufreq.c
858
static ssize_t show_freqdomain_cpus(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cppc_cpufreq.c
865
static ssize_t show_auto_select(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cppc_cpufreq.c
882
static ssize_t store_auto_select(struct cpufreq_policy *policy,
drivers/cpufreq/cppc_cpufreq.c
956
static ssize_t show_##_name(struct cpufreq_policy *policy, char *buf) \
drivers/cpufreq/cppc_cpufreq.c
960
static ssize_t store_##_name(struct cpufreq_policy *policy, \
drivers/cpufreq/cppc_cpufreq.c
971
show_energy_performance_preference_val(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cppc_cpufreq.c
977
store_energy_performance_preference_val(struct cpufreq_policy *policy,
drivers/cpufreq/cppc_cpufreq.c
999
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq-dt.c
120
static int cpufreq_online(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq-dt.c
126
static int cpufreq_offline(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq-dt.c
135
static void cpufreq_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq-dt.c
51
static int set_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/cpufreq-dt.c
83
static int cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq-dt.h
12
struct cpufreq_policy;
drivers/cpufreq/cpufreq-dt.h
17
unsigned int (*get_intermediate)(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq-dt.h
19
int (*target_intermediate)(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq-dt.h
21
int (*suspend)(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq-dt.h
22
int (*resume)(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq-nforce2.c
252
static int nforce2_target(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq-nforce2.c
309
static int nforce2_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1011
struct cpufreq_policy *policy = to_policy(kobj);
drivers/cpufreq/cpufreq.c
1027
static void add_cpu_dev_symlink(struct cpufreq_policy *policy, unsigned int cpu,
drivers/cpufreq/cpufreq.c
1041
static void remove_cpu_dev_symlink(struct cpufreq_policy *policy, int cpu,
drivers/cpufreq/cpufreq.c
1049
static int cpufreq_add_dev_interface(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1104
static int cpufreq_init_policy(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1153
static int cpufreq_add_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu)
drivers/cpufreq/cpufreq.c
1177
void refresh_frequency_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1189
struct cpufreq_policy *policy =
drivers/cpufreq/cpufreq.c
1190
container_of(work, struct cpufreq_policy, update);
drivers/cpufreq/cpufreq.c
1202
struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_min);
drivers/cpufreq/cpufreq.c
1211
struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_max);
drivers/cpufreq/cpufreq.c
1217
static void cpufreq_policy_put_kobj(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1239
static struct cpufreq_policy *cpufreq_policy_alloc(unsigned int cpu)
drivers/cpufreq/cpufreq.c
124
struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1241
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
1322
static void cpufreq_policy_free(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1373
static int cpufreq_policy_init_qos(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1407
static int cpufreq_policy_online(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
151
void cpufreq_generic_init(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
1587
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
1652
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
166
struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
drivers/cpufreq/cpufreq.c
1672
static void __cpufreq_offline(unsigned int cpu, struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
168
struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);
drivers/cpufreq/cpufreq.c
1721
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
174
struct cpufreq_policy *cpufreq_cpu_policy(unsigned int cpu)
drivers/cpufreq/cpufreq.c
1746
struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);
drivers/cpufreq/cpufreq.c
1785
static void cpufreq_out_of_sync(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
1800
static unsigned int cpufreq_verify_current_freq(struct cpufreq_policy *policy, bool update)
drivers/cpufreq/cpufreq.c
182
struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu);
drivers/cpufreq/cpufreq.c
1860
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
1876
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
1892
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
1900
static unsigned int __cpufreq_get(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1916
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
1937
int cpufreq_generic_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1969
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
2005
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
205
struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu)
drivers/cpufreq/cpufreq.c
207
struct cpufreq_policy *policy = NULL;
drivers/cpufreq/cpufreq.c
2197
unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2244
void cpufreq_driver_adjust_perf(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2264
static int __target_intermediate(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2289
static int __target_index(struct cpufreq_policy *policy, int index)
drivers/cpufreq/cpufreq.c
233
void cpufreq_cpu_put(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2349
int __cpufreq_driver_target(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2396
int cpufreq_driver_target(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2411
static int cpufreq_init_governor(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2457
static void cpufreq_exit_governor(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2470
int cpufreq_start_governor(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2496
void cpufreq_stop_governor(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2507
static void cpufreq_governor_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2543
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
2581
static void cpufreq_update_pressure(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2625
static int cpufreq_set_policy(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2737
static void cpufreq_policy_refresh(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2763
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
2780
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
2794
int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state)
drivers/cpufreq/cpufreq.c
2811
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
287
static void cpufreq_notify_transition(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
3058
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
339
static void cpufreq_notify_post_transition(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
351
void cpufreq_freq_transition_begin(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
385
void cpufreq_freq_transition_end(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
438
void cpufreq_enable_fast_switch(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
462
void cpufreq_disable_fast_switch(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
474
static unsigned int __resolve_freq(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
503
unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
524
unsigned int cpufreq_policy_transition_delay_us(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
570
static ssize_t show_local_boost(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
575
static int policy_set_boost(struct cpufreq_policy *policy, bool enable)
drivers/cpufreq/cpufreq.c
60
static DEFINE_PER_CPU(struct cpufreq_policy *, cpufreq_cpu_data);
drivers/cpufreq/cpufreq.c
600
static ssize_t store_local_boost(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
692
(struct cpufreq_policy *policy, char *buf) \
drivers/cpufreq/cpufreq.c
708
static inline bool cpufreq_avg_freq_supported(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
713
static ssize_t show_scaling_cur_freq(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
736
(struct cpufreq_policy *policy, const char *buf, size_t count) \
drivers/cpufreq/cpufreq.c
755
static ssize_t show_cpuinfo_cur_freq(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
769
static ssize_t show_cpuinfo_avg_freq(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
782
static ssize_t show_scaling_governor(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
796
static ssize_t store_scaling_governor(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
83
static unsigned int __cpufreq_get(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq.c
833
static ssize_t show_scaling_driver(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
84
static int cpufreq_init_governor(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq.c
841
static ssize_t show_scaling_available_governors(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
85
static void cpufreq_exit_governor(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq.c
86
static void cpufreq_governor_limits(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq.c
87
static int cpufreq_set_policy(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
888
static ssize_t show_related_cpus(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
896
static ssize_t show_affected_cpus(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
901
static ssize_t store_scaling_setspeed(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
919
static ssize_t show_scaling_setspeed(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
930
static ssize_t show_bios_limit(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
973
#define to_policy(k) container_of(k, struct cpufreq_policy, kobj)
drivers/cpufreq/cpufreq.c
978
struct cpufreq_policy *policy = to_policy(kobj);
drivers/cpufreq/cpufreq.c
995
struct cpufreq_policy *policy = to_policy(kobj);
drivers/cpufreq/cpufreq_conservative.c
298
static void cs_start(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_conservative.c
306
static void cs_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_conservative.c
38
struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_conservative.c
58
static unsigned int cs_dbs_update(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
122
unsigned int dbs_update(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
251
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq_governor.c
341
struct cpufreq_policy *policy = policy_dbs->policy;
drivers/cpufreq/cpufreq_governor.c
355
static inline void gov_clear_update_util(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
365
static struct policy_dbs_info *alloc_policy_dbs_info(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq_governor.c
416
int cpufreq_dbs_governor_init(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
506
void cpufreq_dbs_governor_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
529
int cpufreq_dbs_governor_start(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
566
void cpufreq_dbs_governor_stop(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
578
void cpufreq_dbs_governor_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.h
136
unsigned int (*gov_dbs_update)(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
141
void (*start)(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
142
void (*limits)(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
145
static inline struct dbs_governor *dbs_governor_of(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.h
151
int cpufreq_dbs_governor_init(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
152
void cpufreq_dbs_governor_exit(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
153
int cpufreq_dbs_governor_start(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
154
void cpufreq_dbs_governor_stop(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
155
void cpufreq_dbs_governor_limits(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
171
unsigned int (*powersave_bias_target)(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq_governor.h
175
unsigned int dbs_update(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
177
(struct cpufreq_policy *, unsigned int, unsigned int),
drivers/cpufreq/cpufreq_governor.h
80
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq_ondemand.c
113
static void od_update(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_ondemand.c
149
static unsigned int od_dbs_update(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_ondemand.c
363
static void od_start(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_ondemand.c
37
static unsigned int generic_powersave_bias_target(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq_ondemand.c
401
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq_ondemand.c
429
(struct cpufreq_policy *, unsigned int, unsigned int),
drivers/cpufreq/cpufreq_ondemand.c
85
static void ondemand_powersave_bias_init(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_ondemand.c
92
static void dbs_freq_increase(struct cpufreq_policy *policy, unsigned int freq)
drivers/cpufreq/cpufreq_performance.c
14
static void cpufreq_gov_performance_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_powersave.c
14
static void cpufreq_gov_powersave_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_stats.c
103
static ssize_t store_reset(struct cpufreq_policy *policy, const char *buf,
drivers/cpufreq/cpufreq_stats.c
124
static ssize_t show_trans_table(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq_stats.c
194
void cpufreq_stats_free_table(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_stats.c
210
void cpufreq_stats_create_table(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_stats.c
265
void cpufreq_stats_record_transition(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq_stats.c
58
static ssize_t show_total_trans(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq_stats.c
69
static ssize_t show_time_in_state(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq_userspace.c
107
static void cpufreq_userspace_policy_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_userspace.c
31
static int cpufreq_set(struct cpufreq_policy *policy, unsigned int freq)
drivers/cpufreq/cpufreq_userspace.c
50
static ssize_t show_speed(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq_userspace.c
57
static int cpufreq_userspace_policy_init(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_userspace.c
75
static void cpufreq_userspace_policy_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_userspace.c
81
static int cpufreq_userspace_policy_start(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_userspace.c
95
static void cpufreq_userspace_policy_stop(struct cpufreq_policy *policy)
drivers/cpufreq/davinci-cpufreq.c
35
static int davinci_target(struct cpufreq_policy *policy, unsigned int idx)
drivers/cpufreq/davinci-cpufreq.c
69
static int davinci_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/e_powersaver.c
107
struct cpufreq_policy *policy,
drivers/cpufreq/e_powersaver.c
152
static int eps_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/e_powersaver.c
171
static int eps_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/e_powersaver.c
361
static void eps_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/e_powersaver.c
78
static int eps_acpi_exit(struct cpufreq_policy *policy)
drivers/cpufreq/freq_table.c
114
int cpufreq_table_index_unsorted(struct cpufreq_policy *policy,
drivers/cpufreq/freq_table.c
17
static bool policy_has_boost_freq(struct cpufreq_policy *policy)
drivers/cpufreq/freq_table.c
207
int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy,
drivers/cpufreq/freq_table.c
229
static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf,
drivers/cpufreq/freq_table.c
269
static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy,
drivers/cpufreq/freq_table.c
280
static ssize_t scaling_boost_frequencies_show(struct cpufreq_policy *policy,
drivers/cpufreq/freq_table.c
287
static int set_freq_table_sorted(struct cpufreq_policy *policy)
drivers/cpufreq/freq_table.c
31
int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy)
drivers/cpufreq/freq_table.c
342
int cpufreq_table_validate_and_sort(struct cpufreq_policy *policy)
drivers/cpufreq/gx-suspmod.c
250
static void gx_set_cpuspeed(struct cpufreq_policy *policy, unsigned int khz)
drivers/cpufreq/gx-suspmod.c
371
static int cpufreq_gx_target(struct cpufreq_policy *policy,
drivers/cpufreq/gx-suspmod.c
398
static int cpufreq_gx_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/imx-cpufreq-dt.c
55
static unsigned int imx7ulp_get_intermediate(struct cpufreq_policy *policy,
drivers/cpufreq/imx-cpufreq-dt.c
61
static int imx7ulp_target_intermediate(struct cpufreq_policy *policy,
drivers/cpufreq/imx6q-cpufreq.c
192
static int imx6q_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/imx6q-cpufreq.c
60
static int imx6q_set_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/intel_pstate.c
1419
static int intel_pstate_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
1433
static int intel_pstate_resume(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
1467
static void __intel_pstate_update_max_freq(struct cpufreq_policy *policy,
drivers/cpufreq/intel_pstate.c
1483
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/intel_pstate.c
1492
static void intel_pstate_update_limits(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
1655
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/intel_pstate.c
2887
static int intel_pstate_set_policy(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
2974
static int intel_cpufreq_cpu_offline(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3001
static int intel_pstate_cpu_online(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3023
static int intel_pstate_cpu_offline(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3030
static void intel_pstate_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3037
static int __intel_pstate_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3063
static int intel_pstate_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3182
static int intel_cpufreq_update_pstate(struct cpufreq_policy *policy,
drivers/cpufreq/intel_pstate.c
3207
static int intel_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/intel_pstate.c
3230
static unsigned int intel_cpufreq_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/intel_pstate.c
3243
static void intel_cpufreq_adjust_perf(struct cpufreq_policy *policy,
drivers/cpufreq/intel_pstate.c
3288
static int intel_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3362
static void intel_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3375
static int intel_cpufreq_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
442
static void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
498
static void intel_pstate_exit_perf_limits(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
509
static inline void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
513
static inline void intel_pstate_exit_perf_limits(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
777
struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/intel_pstate.c
795
struct cpufreq_policy *policy, const char *buf, size_t count)
drivers/cpufreq/intel_pstate.c
863
struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/intel_pstate.c
880
static ssize_t show_base_frequency(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/kirkwood-cpufreq.c
50
static int kirkwood_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/kirkwood-cpufreq.c
86
static int kirkwood_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/longhaul.c
246
static int longhaul_setstate(struct cpufreq_policy *policy,
drivers/cpufreq/longhaul.c
619
static int longhaul_target(struct cpufreq_policy *policy,
drivers/cpufreq/longhaul.c
759
static int longhaul_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/longhaul.c
952
struct cpufreq_policy *policy = cpufreq_cpu_get(0);
drivers/cpufreq/longrun.c
253
static int longrun_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/longrun.c
36
static void longrun_get_policy(struct cpufreq_policy *policy)
drivers/cpufreq/longrun.c
72
static int longrun_set_policy(struct cpufreq_policy *policy)
drivers/cpufreq/loongson2_cpufreq.c
49
static int loongson2_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/loongson2_cpufreq.c
64
static int loongson2_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/loongson3_cpufreq.c
229
static int loongson3_cpufreq_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/loongson3_cpufreq.c
284
static int loongson3_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/loongson3_cpufreq.c
305
static void loongson3_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/loongson3_cpufreq.c
312
static int loongson3_cpufreq_cpu_online(struct cpufreq_policy *policy)
drivers/cpufreq/loongson3_cpufreq.c
317
static int loongson3_cpufreq_cpu_offline(struct cpufreq_policy *policy)
drivers/cpufreq/mediatek-cpufreq-hw.c
100
struct cpufreq_policy *policy;
drivers/cpufreq/mediatek-cpufreq-hw.c
124
struct cpufreq_policy *policy)
drivers/cpufreq/mediatek-cpufreq-hw.c
136
static int mtk_cpufreq_hw_target_index(struct cpufreq_policy *policy,
drivers/cpufreq/mediatek-cpufreq-hw.c
155
struct cpufreq_policy *policy;
drivers/cpufreq/mediatek-cpufreq-hw.c
170
static unsigned int mtk_cpufreq_hw_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/mediatek-cpufreq-hw.c
221
struct cpufreq_policy *policy,
drivers/cpufreq/mediatek-cpufreq-hw.c
293
static int mtk_cpufreq_hw_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/mediatek-cpufreq-hw.c
334
static void mtk_cpufreq_hw_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/mediatek-cpufreq-hw.c
346
static void mtk_cpufreq_register_em(struct cpufreq_policy *policy)
drivers/cpufreq/mediatek-cpufreq.c
200
static int mtk_cpufreq_set_target(struct cpufreq_policy *policy,
drivers/cpufreq/mediatek-cpufreq.c
356
struct cpufreq_policy *policy __free(put_cpufreq_policy)
drivers/cpufreq/mediatek-cpufreq.c
581
static int mtk_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/mediatek-cpufreq.c
610
static void mtk_cpufreq_exit(struct cpufreq_policy *policy)
drivers/cpufreq/p4-clockmod.c
103
static int cpufreq_p4_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/p4-clockmod.c
155
static int cpufreq_p4_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/pasemi-cpufreq.c
124
static int pas_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/pasemi-cpufreq.c
207
static void pas_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/pasemi-cpufreq.c
222
static int pas_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/pcc-cpufreq.c
198
static int pcc_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/pcc-cpufreq.c
540
static int pcc_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/pmac32-cpufreq.c
333
static int do_set_cpu_speed(struct cpufreq_policy *policy, int speed_mode)
drivers/cpufreq/pmac32-cpufreq.c
363
static int pmac_cpufreq_target( struct cpufreq_policy *policy,
drivers/cpufreq/pmac32-cpufreq.c
374
static int pmac_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/pmac32-cpufreq.c
397
static int pmac_cpufreq_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/pmac32-cpufreq.c
413
static int pmac_cpufreq_resume(struct cpufreq_policy *policy)
drivers/cpufreq/pmac64-cpufreq.c
312
static int g5_cpufreq_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/pmac64-cpufreq.c
322
static int g5_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/powernow-k6.c
139
static int powernow_k6_target(struct cpufreq_policy *policy,
drivers/cpufreq/powernow-k6.c
153
static int powernow_k6_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/powernow-k6.c
222
static void powernow_k6_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/powernow-k7.c
249
static int powernow_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/powernow-k7.c
594
static int powernow_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/powernow-k7.c
648
static void powernow_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/powernow-k8.c
1023
static int powernowk8_cpu_init(struct cpufreq_policy *pol)
drivers/cpufreq/powernow-k8.c
1094
static void powernowk8_cpu_exit(struct cpufreq_policy *pol)
drivers/cpufreq/powernow-k8.c
883
struct cpufreq_policy *policy)
drivers/cpufreq/powernow-k8.c
924
struct cpufreq_policy *pol;
drivers/cpufreq/powernow-k8.c
931
struct cpufreq_policy *pol = pta->pol;
drivers/cpufreq/powernow-k8.c
985
static int powernowk8_target(struct cpufreq_policy *pol, unsigned index)
drivers/cpufreq/powernv-cpufreq.c
1017
static unsigned int powernv_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/powernv-cpufreq.c
219
static inline void reset_gpstates(struct cpufreq_policy *policy)
drivers/cpufreq/powernv-cpufreq.c
381
static ssize_t cpuinfo_nominal_freq_show(struct cpufreq_policy *policy,
drivers/cpufreq/powernv-cpufreq.c
397
static ssize_t name##_show(struct cpufreq_policy *policy, char *buf) \
drivers/cpufreq/powernv-cpufreq.c
674
struct cpufreq_policy *policy = gpstates->policy;
drivers/cpufreq/powernv-cpufreq.c
741
static int powernv_cpufreq_target_index(struct cpufreq_policy *policy,
drivers/cpufreq/powernv-cpufreq.c
828
static int powernv_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/powernv-cpufreq.c
877
static void powernv_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/powernv-cpufreq.c
88
struct cpufreq_policy *policy;
drivers/cpufreq/powernv-cpufreq.c
895
struct cpufreq_policy *cpu_policy;
drivers/cpufreq/powernv-cpufreq.c
916
struct cpufreq_policy *policy;
drivers/cpufreq/pxa2xx-cpufreq.c
184
static int pxa_set_target(struct cpufreq_policy *policy, unsigned int idx)
drivers/cpufreq/pxa2xx-cpufreq.c
224
static int pxa_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/pxa3xx-cpufreq.c
107
static int setup_freqs_table(struct cpufreq_policy *policy,
drivers/cpufreq/pxa3xx-cpufreq.c
165
static int pxa3xx_cpufreq_set(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/pxa3xx-cpufreq.c
183
static int pxa3xx_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
115
static int qcom_cpufreq_hw_target_index(struct cpufreq_policy *policy,
drivers/cpufreq/qcom-cpufreq-hw.c
148
static unsigned int qcom_cpufreq_get_freq(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
166
static unsigned int __qcom_cpufreq_hw_get(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
186
static unsigned int qcom_cpufreq_hw_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/qcom-cpufreq-hw.c
205
struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
330
struct cpufreq_policy *policy = data->policy;
drivers/cpufreq/qcom-cpufreq-hw.c
445
static int qcom_cpufreq_hw_lmh_init(struct cpufreq_policy *policy, int index)
drivers/cpufreq/qcom-cpufreq-hw.c
482
static int qcom_cpufreq_hw_cpu_online(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
503
static int qcom_cpufreq_hw_cpu_offline(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
529
static int qcom_cpufreq_hw_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
589
static void qcom_cpufreq_hw_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
60
struct cpufreq_policy *policy;
drivers/cpufreq/qcom-cpufreq-hw.c
600
static void qcom_cpufreq_ready(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
74
static int qcom_cpufreq_set_bw(struct cpufreq_policy *policy,
drivers/cpufreq/qoriq-cpufreq.c
155
static int qoriq_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/qoriq-cpufreq.c
228
static void qoriq_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/qoriq-cpufreq.c
238
static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/qoriq-cpufreq.c
86
static void set_affected_cpus(struct cpufreq_policy *policy)
drivers/cpufreq/s3c64xx-cpufreq.c
146
static int s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy)
drivers/cpufreq/s3c64xx-cpufreq.c
53
static int s3c64xx_cpufreq_set_target(struct cpufreq_policy *policy,
drivers/cpufreq/s5pv210-cpufreq.c
223
static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/s5pv210-cpufreq.c
498
static int s5pv210_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/s5pv210-cpufreq.c
559
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(0);
drivers/cpufreq/sa1110-cpufreq.c
229
static int sa1110_target(struct cpufreq_policy *policy, unsigned int ppcr)
drivers/cpufreq/sa1110-cpufreq.c
304
static int __init sa1110_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/scmi-cpufreq.c
198
static int scmi_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/scmi-cpufreq.c
341
static void scmi_cpufreq_exit(struct cpufreq_policy *policy)
drivers/cpufreq/scmi-cpufreq.c
357
static void scmi_cpufreq_register_em(struct cpufreq_policy *policy)
drivers/cpufreq/scmi-cpufreq.c
41
struct cpufreq_policy *policy;
drivers/cpufreq/scmi-cpufreq.c
64
scmi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/scmi-cpufreq.c
72
static unsigned int scmi_cpufreq_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/scpi-cpufreq.c
178
static void scpi_cpufreq_exit(struct cpufreq_policy *policy)
drivers/cpufreq/scpi-cpufreq.c
32
struct cpufreq_policy *policy;
drivers/cpufreq/scpi-cpufreq.c
47
scpi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/scpi-cpufreq.c
91
static int scpi_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/sh-cpufreq.c
105
static int sh_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/sh-cpufreq.c
134
static void sh_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/sh-cpufreq.c
33
struct cpufreq_policy *policy;
drivers/cpufreq/sh-cpufreq.c
45
struct cpufreq_policy *policy = target->policy;
drivers/cpufreq/sh-cpufreq.c
80
static int sh_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/sparc-us2e-cpufreq.c
265
static int us2e_freq_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/sparc-us2e-cpufreq.c
272
static int us2e_freq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/sparc-us2e-cpufreq.c
299
static void us2e_freq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/sparc-us3-cpufreq.c
120
static int us3_freq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/sparc-us3-cpufreq.c
143
static void us3_freq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/sparc-us3-cpufreq.c
93
static int us3_freq_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/spear-cpufreq.c
103
static int spear_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/spear-cpufreq.c
153
static int spear_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/speedstep-centrino.c
234
static int centrino_cpu_init_table(struct cpufreq_policy *policy)
drivers/cpufreq/speedstep-centrino.c
270
static inline int centrino_cpu_init_table(struct cpufreq_policy *policy)
drivers/cpufreq/speedstep-centrino.c
345
static int centrino_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/speedstep-centrino.c
403
static void centrino_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/speedstep-centrino.c
418
static int centrino_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/speedstep-ich.c
259
static int speedstep_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/speedstep-ich.c
273
struct cpufreq_policy *policy;
drivers/cpufreq/speedstep-ich.c
289
static int speedstep_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/speedstep-smi.c
221
static int speedstep_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/speedstep-smi.c
229
static int speedstep_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/speedstep-smi.c
280
static int speedstep_resume(struct cpufreq_policy *policy)
drivers/cpufreq/tegra186-cpufreq.c
174
static int tegra186_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/tegra186-cpufreq.c
209
static int tegra186_cpufreq_set_target(struct cpufreq_policy *policy,
drivers/cpufreq/tegra186-cpufreq.c
232
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/tegra186-cpufreq.c
74
static int tegra_cpufreq_set_bw(struct cpufreq_policy *policy, unsigned long freq_khz)
drivers/cpufreq/tegra186-cpufreq.c
96
static int tegra_cpufreq_init_cpufreq_table(struct cpufreq_policy *policy,
drivers/cpufreq/tegra194-cpufreq.c
133
static void tegra234_set_cpu_ndiv(struct cpufreq_policy *policy, u64 ndiv)
drivers/cpufreq/tegra194-cpufreq.c
380
static void tegra194_set_cpu_ndiv(struct cpufreq_policy *policy, u64 ndiv)
drivers/cpufreq/tegra194-cpufreq.c
423
static int tegra_cpufreq_init_cpufreq_table(struct cpufreq_policy *policy,
drivers/cpufreq/tegra194-cpufreq.c
500
static int tegra194_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/tegra194-cpufreq.c
538
static int tegra194_cpufreq_online(struct cpufreq_policy *policy)
drivers/cpufreq/tegra194-cpufreq.c
544
static int tegra194_cpufreq_offline(struct cpufreq_policy *policy)
drivers/cpufreq/tegra194-cpufreq.c
554
static void tegra194_cpufreq_exit(struct cpufreq_policy *policy)
drivers/cpufreq/tegra194-cpufreq.c
562
static int tegra194_cpufreq_set_target(struct cpufreq_policy *policy,
drivers/cpufreq/tegra194-cpufreq.c
61
void (*set_cpu_ndiv)(struct cpufreq_policy *policy, u64 ndiv);
drivers/cpufreq/tegra194-cpufreq.c
84
static int tegra_cpufreq_set_bw(struct cpufreq_policy *policy, unsigned long freq_khz)
drivers/cpufreq/vexpress-spc-cpufreq.c
177
static int ve_spc_cpufreq_set_target(struct cpufreq_policy *policy,
drivers/cpufreq/vexpress-spc-cpufreq.c
410
static int ve_spc_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/vexpress-spc-cpufreq.c
450
static void ve_spc_cpufreq_exit(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
100
static unsigned int virt_cpufreq_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/virtual-cpufreq.c
115
static int virt_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/virtual-cpufreq.c
132
static int virt_cpufreq_get_sharing_cpus(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
156
static int virt_cpufreq_get_freq_info(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
184
static int virt_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
229
static void virt_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
235
static int virt_cpufreq_online(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
241
static int virt_cpufreq_offline(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
92
static unsigned int virt_cpufreq_set_perf(struct cpufreq_policy *policy,
drivers/devfreq/governor_passive.c
108
struct cpufreq_policy *policy;
drivers/devfreq/governor_passive.c
284
struct cpufreq_policy *policy;
drivers/devfreq/governor_passive.c
47
struct cpufreq_policy *policy)
drivers/gpu/drm/i915/gt/intel_llc.c
34
struct cpufreq_policy *policy;
drivers/macintosh/windfarm_cpufreq_clamp.c
65
struct cpufreq_policy *policy;
drivers/powercap/dtpm_cpu.c
147
struct cpufreq_policy *policy;
drivers/powercap/dtpm_cpu.c
195
struct cpufreq_policy *policy;
drivers/thermal/cpufreq_cooling.c
237
struct cpufreq_policy *policy = cpufreq_cdev->policy;
drivers/thermal/cpufreq_cooling.c
320
struct cpufreq_policy *policy = cpufreq_cdev->policy;
drivers/thermal/cpufreq_cooling.c
334
struct cpufreq_policy *policy;
drivers/thermal/cpufreq_cooling.c
392
struct cpufreq_policy *policy;
drivers/thermal/cpufreq_cooling.c
516
struct cpufreq_policy *policy,
drivers/thermal/cpufreq_cooling.c
625
cpufreq_cooling_register(struct cpufreq_policy *policy)
drivers/thermal/cpufreq_cooling.c
648
of_cpufreq_cooling_register(struct cpufreq_policy *policy)
drivers/thermal/cpufreq_cooling.c
73
struct cpufreq_policy *policy;
drivers/thermal/imx_thermal.c
204
struct cpufreq_policy *policy;
drivers/thermal/ti-soc-thermal/ti-thermal-common.c
30
struct cpufreq_policy *policy;
include/acpi/processor.h
321
void acpi_processor_ppc_init(struct cpufreq_policy *policy);
include/acpi/processor.h
322
void acpi_processor_ppc_exit(struct cpufreq_policy *policy);
include/acpi/processor.h
330
static inline void acpi_processor_ppc_init(struct cpufreq_policy *policy)
include/acpi/processor.h
334
static inline void acpi_processor_ppc_exit(struct cpufreq_policy *policy)
include/acpi/processor.h
436
void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy);
include/acpi/processor.h
437
void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy);
include/acpi/processor.h
439
static inline void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy)
include/acpi/processor.h
443
static inline void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy)
include/linux/cpu_cooling.h
19
struct cpufreq_policy;
include/linux/cpu_cooling.h
27
cpufreq_cooling_register(struct cpufreq_policy *policy);
include/linux/cpu_cooling.h
40
of_cpufreq_cooling_register(struct cpufreq_policy *policy);
include/linux/cpu_cooling.h
44
cpufreq_cooling_register(struct cpufreq_policy *policy)
include/linux/cpu_cooling.h
56
of_cpufreq_cooling_register(struct cpufreq_policy *policy)
include/linux/cpufreq.h
1030
static inline int find_index_c(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1046
static inline int cpufreq_table_find_index_c(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1053
static inline bool cpufreq_is_in_limits(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1067
static inline int cpufreq_frequency_table_target(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1108
static inline int cpufreq_table_count_valid_entries(const struct cpufreq_policy *policy)
include/linux/cpufreq.h
1133
cpufreq_table_set_inefficient(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1205
static inline int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state)
include/linux/cpufreq.h
1211
cpufreq_table_set_inefficient(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1239
int cpufreq_table_validate_and_sort(struct cpufreq_policy *policy);
include/linux/cpufreq.h
1242
void cpufreq_generic_init(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1248
static inline void cpufreq_register_em_with_opp(struct cpufreq_policy *policy)
include/linux/cpufreq.h
175
DEFINE_GUARD(cpufreq_policy_write, struct cpufreq_policy *,
include/linux/cpufreq.h
178
DEFINE_GUARD(cpufreq_policy_read, struct cpufreq_policy *,
include/linux/cpufreq.h
196
struct cpufreq_policy *policy;
include/linux/cpufreq.h
209
struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu);
include/linux/cpufreq.h
210
struct cpufreq_policy *cpufreq_cpu_policy(unsigned int cpu);
include/linux/cpufreq.h
211
struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu);
include/linux/cpufreq.h
212
void cpufreq_cpu_put(struct cpufreq_policy *policy);
include/linux/cpufreq.h
214
static inline struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
include/linux/cpufreq.h
218
static inline struct cpufreq_policy *cpufreq_cpu_policy(unsigned int cpu)
include/linux/cpufreq.h
222
static inline struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu)
include/linux/cpufreq.h
226
static inline void cpufreq_cpu_put(struct cpufreq_policy *policy) { }
include/linux/cpufreq.h
230
DEFINE_FREE(put_cpufreq_policy, struct cpufreq_policy *, if (_T) cpufreq_cpu_put(_T))
include/linux/cpufreq.h
232
static inline bool policy_is_inactive(struct cpufreq_policy *policy)
include/linux/cpufreq.h
237
static inline bool policy_is_shared(struct cpufreq_policy *policy)
include/linux/cpufreq.h
251
void refresh_frequency_limits(struct cpufreq_policy *policy);
include/linux/cpufreq.h
256
struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy);
include/linux/cpufreq.h
257
void cpufreq_enable_fast_switch(struct cpufreq_policy *policy);
include/linux/cpufreq.h
258
void cpufreq_disable_fast_switch(struct cpufreq_policy *policy);
include/linux/cpufreq.h
296
void cpufreq_stats_create_table(struct cpufreq_policy *policy);
include/linux/cpufreq.h
297
void cpufreq_stats_free_table(struct cpufreq_policy *policy);
include/linux/cpufreq.h
298
void cpufreq_stats_record_transition(struct cpufreq_policy *policy,
include/linux/cpufreq.h
301
static inline void cpufreq_stats_create_table(struct cpufreq_policy *policy) { }
include/linux/cpufreq.h
302
static inline void cpufreq_stats_free_table(struct cpufreq_policy *policy) { }
include/linux/cpufreq.h
303
static inline void cpufreq_stats_record_transition(struct cpufreq_policy *policy,
include/linux/cpufreq.h
323
ssize_t (*show)(struct cpufreq_policy *, char *);
include/linux/cpufreq.h
324
ssize_t (*store)(struct cpufreq_policy *, const char *, size_t count);
include/linux/cpufreq.h
358
int (*init)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
362
int (*setpolicy)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
364
int (*target)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
367
int (*target_index)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
369
unsigned int (*fast_switch)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
379
void (*adjust_perf)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
399
unsigned int (*get_intermediate)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
401
int (*target_intermediate)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
408
void (*update_limits)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
413
int (*online)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
414
int (*offline)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
415
void (*exit)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
416
int (*suspend)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
417
int (*resume)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
420
void (*ready)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
426
int (*set_boost)(struct cpufreq_policy *policy, int state);
include/linux/cpufreq.h
432
void (*register_em)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
515
int cpufreq_generic_suspend(struct cpufreq_policy *policy);
include/linux/cpufreq.h
540
void cpufreq_freq_transition_begin(struct cpufreq_policy *policy,
include/linux/cpufreq.h
542
void cpufreq_freq_transition_end(struct cpufreq_policy *policy,
include/linux/cpufreq.h
598
int (*init)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
599
void (*exit)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
600
int (*start)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
601
void (*stop)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
602
void (*limits)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
603
ssize_t (*show_setspeed) (struct cpufreq_policy *policy,
include/linux/cpufreq.h
605
int (*store_setspeed) (struct cpufreq_policy *policy,
include/linux/cpufreq.h
622
unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy,
include/linux/cpufreq.h
624
void cpufreq_driver_adjust_perf(struct cpufreq_policy *policy,
include/linux/cpufreq.h
629
int cpufreq_driver_target(struct cpufreq_policy *policy,
include/linux/cpufreq.h
632
int __cpufreq_driver_target(struct cpufreq_policy *policy,
include/linux/cpufreq.h
635
unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy,
include/linux/cpufreq.h
637
unsigned int cpufreq_policy_transition_delay_us(struct cpufreq_policy *policy);
include/linux/cpufreq.h
640
int cpufreq_start_governor(struct cpufreq_policy *policy);
include/linux/cpufreq.h
641
void cpufreq_stop_governor(struct cpufreq_policy *policy);
include/linux/cpufreq.h
661
bool sugov_is_governor(struct cpufreq_policy *policy);
include/linux/cpufreq.h
663
static inline bool sugov_is_governor(struct cpufreq_policy *policy)
include/linux/cpufreq.h
669
static inline void cpufreq_policy_apply_limits(struct cpufreq_policy *policy)
include/linux/cpufreq.h
790
int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy);
include/linux/cpufreq.h
796
int cpufreq_table_index_unsorted(struct cpufreq_policy *policy,
include/linux/cpufreq.h
799
int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy,
include/linux/cpufreq.h
806
int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state);
include/linux/cpufreq.h
809
static inline int cpufreq_table_find_index_al(struct cpufreq_policy *policy,
include/linux/cpufreq.h
831
static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
include/linux/cpufreq.h
861
static inline int find_index_l(struct cpufreq_policy *policy,
include/linux/cpufreq.h
877
static inline int cpufreq_table_find_index_l(struct cpufreq_policy *policy,
include/linux/cpufreq.h
885
static inline int cpufreq_table_find_index_ah(struct cpufreq_policy *policy,
include/linux/cpufreq.h
916
static inline int cpufreq_table_find_index_dh(struct cpufreq_policy *policy,
include/linux/cpufreq.h
937
static inline int find_index_h(struct cpufreq_policy *policy,
include/linux/cpufreq.h
953
static inline int cpufreq_table_find_index_h(struct cpufreq_policy *policy,
include/linux/cpufreq.h
961
static inline int cpufreq_table_find_index_ac(struct cpufreq_policy *policy,
include/linux/cpufreq.h
996
static inline int cpufreq_table_find_index_dc(struct cpufreq_policy *policy,
include/linux/sched/cpufreq.h
14
struct cpufreq_policy;
include/linux/sched/cpufreq.h
24
bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy);
include/trace/events/power.h
194
TP_PROTO(struct cpufreq_policy *policy),
kernel/power/energy_model.c
490
struct cpufreq_policy *policy;
kernel/power/energy_model.c
863
struct cpufreq_policy *policy;
kernel/sched/cpufreq.c
70
bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
154
unsigned long get_capacity_ref_freq(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
19
struct cpufreq_policy *policy;
kernel/sched/cpufreq_schedutil.c
196
struct cpufreq_policy *policy = sg_policy->policy;
kernel/sched/cpufreq_schedutil.c
496
struct cpufreq_policy *policy = sg_policy->policy;
kernel/sched/cpufreq_schedutil.c
639
static struct sugov_policy *sugov_policy_alloc(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
674
struct cpufreq_policy *policy = sg_policy->policy;
kernel/sched/cpufreq_schedutil.c
742
static int sugov_init(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
823
static void sugov_exit(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
845
static int sugov_start(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
889
static void sugov_stop(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
905
static void sugov_limits(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
945
bool sugov_is_governor(struct cpufreq_policy *policy)
rust/helpers/cpufreq.c
7
rust_helper_cpufreq_register_em_with_opp(struct cpufreq_policy *policy)
tools/power/cpupower/lib/cpufreq.c
254
struct cpufreq_policy *cpufreq_get_policy(unsigned int cpu)
tools/power/cpupower/lib/cpufreq.c
256
struct cpufreq_policy *policy;
tools/power/cpupower/lib/cpufreq.c
258
policy = malloc(sizeof(struct cpufreq_policy));
tools/power/cpupower/lib/cpufreq.c
278
void cpufreq_put_policy(struct cpufreq_policy *policy)
tools/power/cpupower/lib/cpufreq.c
616
int cpufreq_set_policy(unsigned int cpu, struct cpufreq_policy *policy)
tools/power/cpupower/lib/cpufreq.c
701
struct cpufreq_policy *pol = cpufreq_get_policy(cpu);
tools/power/cpupower/lib/cpufreq.h
108
struct cpufreq_policy *cpufreq_get_policy(unsigned int cpu);
tools/power/cpupower/lib/cpufreq.h
110
void cpufreq_put_policy(struct cpufreq_policy *policy);
tools/power/cpupower/lib/cpufreq.h
191
int cpufreq_set_policy(unsigned int cpu, struct cpufreq_policy *policy);
tools/power/cpupower/utils/cpufreq-info.c
331
struct cpufreq_policy *policy = cpufreq_get_policy(cpu);
tools/power/cpupower/utils/cpufreq-info.c
59
struct cpufreq_policy *policy;
tools/power/cpupower/utils/cpufreq-set.c
144
static int do_new_policy(unsigned int cpu, struct cpufreq_policy *new_pol)
tools/power/cpupower/utils/cpufreq-set.c
146
struct cpufreq_policy *cur_pol = cpufreq_get_policy(cpu);
tools/power/cpupower/utils/cpufreq-set.c
171
static int do_one_cpu(unsigned int cpu, struct cpufreq_policy *new_pol,
tools/power/cpupower/utils/cpufreq-set.c
204
struct cpufreq_policy new_pol = {