Symbol: cpufreq_policy
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
9908
struct cpufreq_policy *policy;
drivers/acpi/processor_driver.c
222
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 int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/acpi-cpufreq.c
931
static void acpi_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/acpi-cpufreq.c
946
static int acpi_cpufreq_resume(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate-ut.c
122
struct cpufreq_policy *policy __free(put_cpufreq_policy) = NULL;
drivers/cpufreq/amd-pstate-ut.c
194
struct cpufreq_policy *policy __free(put_cpufreq_policy) = NULL;
drivers/cpufreq/amd-pstate.c
1069
static void amd_pstate_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1090
static ssize_t show_amd_pstate_max_freq(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1103
static ssize_t show_amd_pstate_lowest_nonlinear_freq(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1120
static ssize_t show_amd_pstate_highest_perf(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1130
static ssize_t show_amd_pstate_prefcore_ranking(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1141
static ssize_t show_amd_pstate_hw_prefcore(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
1153
struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/amd-pstate.c
1171
struct cpufreq_policy *policy, const char *buf, size_t count)
drivers/cpufreq/amd-pstate.c
1197
struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/amd-pstate.c
1465
static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1548
static void amd_pstate_epp_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1565
static int amd_pstate_epp_update_limit(struct cpufreq_policy *policy, bool policy_change)
drivers/cpufreq/amd-pstate.c
1587
static int amd_pstate_epp_set_policy(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1610
static int amd_pstate_cpu_online(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1615
static int amd_pstate_cpu_offline(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1632
static int amd_pstate_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1657
static int amd_pstate_resume(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
1668
static int amd_pstate_epp_resume(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
232
static int msr_update_perf(struct cpufreq_policy *policy, u8 min_perf,
drivers/cpufreq/amd-pstate.c
279
static inline int amd_pstate_update_perf(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
288
static int msr_set_epp(struct cpufreq_policy *policy, u8 epp)
drivers/cpufreq/amd-pstate.c
328
static inline int amd_pstate_set_epp(struct cpufreq_policy *policy, u8 epp)
drivers/cpufreq/amd-pstate.c
333
static int shmem_set_epp(struct cpufreq_policy *policy, u8 epp)
drivers/cpufreq/amd-pstate.c
374
static inline int msr_cppc_enable(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
379
static int shmem_cppc_enable(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
386
static inline int amd_pstate_cppc_enable(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
483
static int shmem_update_perf(struct cpufreq_policy *policy, u8 min_perf,
drivers/cpufreq/amd-pstate.c
571
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpudata->cpu);
drivers/cpufreq/amd-pstate.c
607
struct cpufreq_policy *policy __free(put_cpufreq_policy) =
drivers/cpufreq/amd-pstate.c
630
static void amd_pstate_update_min_max_limit(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
662
static int amd_pstate_update_freq(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
701
static int amd_pstate_target(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
708
static unsigned int amd_pstate_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/amd-pstate.c
722
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/amd-pstate.c
757
static int amd_pstate_cpu_boost_update(struct cpufreq_policy *policy, bool on)
drivers/cpufreq/amd-pstate.c
783
static int amd_pstate_set_boost(struct cpufreq_policy *policy, int state)
drivers/cpufreq/amd-pstate.c
857
static void amd_pstate_update_limits(struct cpufreq_policy *policy)
drivers/cpufreq/amd-pstate.c
980
static int amd_pstate_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/amd_freq_sensitivity.c
39
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
201
static unsigned int apple_soc_cpufreq_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/apple-soc-cpufreq.c
210
static int apple_soc_cpufreq_find_cluster(struct cpufreq_policy *policy,
drivers/cpufreq/apple-soc-cpufreq.c
238
static int apple_soc_cpufreq_init(struct cpufreq_policy *policy)
drivers/cpufreq/apple-soc-cpufreq.c
332
static void apple_soc_cpufreq_exit(struct cpufreq_policy *policy)
drivers/cpufreq/armada-37xx-cpufreq.c
362
static int armada37xx_cpufreq_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/armada-37xx-cpufreq.c
375
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
147
static void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
191
static void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
273
static inline void cppc_cpufreq_cpu_fie_init(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
277
static inline void cppc_cpufreq_cpu_fie_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
290
static int cppc_cpufreq_set_target(struct cpufreq_policy *policy,
drivers/cpufreq/cppc_cpufreq.c
315
static unsigned int cppc_cpufreq_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/cppc_cpufreq.c
395
static unsigned int get_perf_level_count(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
429
struct cpufreq_policy *policy;
drivers/cpufreq/cppc_cpufreq.c
499
struct cpufreq_policy *policy;
drivers/cpufreq/cppc_cpufreq.c
521
static void cppc_cpufreq_register_em(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
607
static void cppc_cpufreq_put_cpu_data(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
616
static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
699
static void cppc_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cppc_cpufreq.c
766
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cppc_cpufreq.c
806
static int cppc_cpufreq_set_boost(struct cpufreq_policy *policy, int state)
drivers/cpufreq/cppc_cpufreq.c
825
static ssize_t show_freqdomain_cpus(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cppc_cpufreq.c
832
static ssize_t show_auto_select(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cppc_cpufreq.c
849
static ssize_t store_auto_select(struct cpufreq_policy *policy,
drivers/cpufreq/cppc_cpufreq.c
899
static ssize_t show_##_name(struct cpufreq_policy *policy, char *buf) \
drivers/cpufreq/cppc_cpufreq.c
903
static ssize_t store_##_name(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
1013
struct cpufreq_policy *policy = to_policy(kobj);
drivers/cpufreq/cpufreq.c
1029
struct cpufreq_policy *policy = to_policy(kobj);
drivers/cpufreq/cpufreq.c
1045
static void add_cpu_dev_symlink(struct cpufreq_policy *policy, unsigned int cpu,
drivers/cpufreq/cpufreq.c
1059
static void remove_cpu_dev_symlink(struct cpufreq_policy *policy, int cpu,
drivers/cpufreq/cpufreq.c
1067
static int cpufreq_add_dev_interface(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1122
static int cpufreq_init_policy(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1171
static int cpufreq_add_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu)
drivers/cpufreq/cpufreq.c
1195
void refresh_frequency_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1207
struct cpufreq_policy *policy =
drivers/cpufreq/cpufreq.c
1208
container_of(work, struct cpufreq_policy, update);
drivers/cpufreq/cpufreq.c
1220
struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_min);
drivers/cpufreq/cpufreq.c
1229
struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_max);
drivers/cpufreq/cpufreq.c
1235
static void cpufreq_policy_put_kobj(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
124
struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1257
static struct cpufreq_policy *cpufreq_policy_alloc(unsigned int cpu)
drivers/cpufreq/cpufreq.c
1259
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
1340
static void cpufreq_policy_free(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1389
static int cpufreq_policy_online(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
1595
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
1660
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
1680
static void __cpufreq_offline(unsigned int cpu, struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1729
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
1754
struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);
drivers/cpufreq/cpufreq.c
178
void cpufreq_generic_init(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
1793
static void cpufreq_out_of_sync(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
1808
static unsigned int cpufreq_verify_current_freq(struct cpufreq_policy *policy, bool update)
drivers/cpufreq/cpufreq.c
1868
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
1884
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
1900
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
1908
static unsigned int __cpufreq_get(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
1924
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
193
struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
drivers/cpufreq/cpufreq.c
1945
int cpufreq_generic_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
195
struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);
drivers/cpufreq/cpufreq.c
1977
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
201
struct cpufreq_policy *cpufreq_cpu_policy(unsigned int cpu)
drivers/cpufreq/cpufreq.c
2011
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
209
struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu);
drivers/cpufreq/cpufreq.c
2203
unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2270
static int __target_intermediate(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2295
static int __target_index(struct cpufreq_policy *policy, int index)
drivers/cpufreq/cpufreq.c
232
struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu)
drivers/cpufreq/cpufreq.c
234
struct cpufreq_policy *policy = NULL;
drivers/cpufreq/cpufreq.c
2355
int __cpufreq_driver_target(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2398
int cpufreq_driver_target(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2413
static int cpufreq_init_governor(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2459
static void cpufreq_exit_governor(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2472
int cpufreq_start_governor(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2498
void cpufreq_stop_governor(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2509
static void cpufreq_governor_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2545
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
2583
static void cpufreq_update_pressure(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
260
void cpufreq_cpu_put(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2624
static int cpufreq_set_policy(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
2727
static void cpufreq_policy_refresh(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
2753
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
2770
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
2784
int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state)
drivers/cpufreq/cpufreq.c
2807
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq.c
3054
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/cpufreq.c
314
static void cpufreq_notify_transition(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
366
static void cpufreq_notify_post_transition(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
378
void cpufreq_freq_transition_begin(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
412
void cpufreq_freq_transition_end(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
465
void cpufreq_enable_fast_switch(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
489
void cpufreq_disable_fast_switch(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
501
static unsigned int __resolve_freq(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
530
unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
551
unsigned int cpufreq_policy_transition_delay_us(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
597
static ssize_t show_local_boost(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
60
static DEFINE_PER_CPU(struct cpufreq_policy *, cpufreq_cpu_data);
drivers/cpufreq/cpufreq.c
602
static int policy_set_boost(struct cpufreq_policy *policy, bool enable)
drivers/cpufreq/cpufreq.c
618
static ssize_t store_local_boost(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
710
(struct cpufreq_policy *policy, char *buf) \
drivers/cpufreq/cpufreq.c
726
static inline bool cpufreq_avg_freq_supported(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq.c
731
static ssize_t show_scaling_cur_freq(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
754
(struct cpufreq_policy *policy, const char *buf, size_t count) \
drivers/cpufreq/cpufreq.c
773
static ssize_t show_cpuinfo_cur_freq(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
787
static ssize_t show_cpuinfo_avg_freq(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
800
static ssize_t show_scaling_governor(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
814
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
84
static int cpufreq_init_governor(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq.c
85
static void cpufreq_exit_governor(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq.c
851
static ssize_t show_scaling_driver(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
859
static ssize_t show_scaling_available_governors(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
906
static ssize_t show_related_cpus(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
914
static ssize_t show_affected_cpus(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
919
static ssize_t store_scaling_setspeed(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq.c
937
static ssize_t show_scaling_setspeed(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
948
static ssize_t show_bios_limit(struct cpufreq_policy *policy, char *buf)
drivers/cpufreq/cpufreq.c
991
#define to_policy(k) container_of(k, struct cpufreq_policy, kobj)
drivers/cpufreq/cpufreq.c
996
struct cpufreq_policy *policy = to_policy(kobj);
drivers/cpufreq/cpufreq_conservative.c
308
static void cs_start(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_conservative.c
316
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
114
unsigned int dbs_update(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
236
struct cpufreq_policy *policy;
drivers/cpufreq/cpufreq_governor.c
326
struct cpufreq_policy *policy = policy_dbs->policy;
drivers/cpufreq/cpufreq_governor.c
340
static inline void gov_clear_update_util(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
350
static struct policy_dbs_info *alloc_policy_dbs_info(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq_governor.c
401
int cpufreq_dbs_governor_init(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
491
void cpufreq_dbs_governor_exit(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
514
int cpufreq_dbs_governor_start(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
552
void cpufreq_dbs_governor_stop(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.c
564
void cpufreq_dbs_governor_limits(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.h
135
unsigned int (*gov_dbs_update)(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
140
void (*start)(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
141
void (*limits)(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
144
static inline struct dbs_governor *dbs_governor_of(struct cpufreq_policy *policy)
drivers/cpufreq/cpufreq_governor.h
150
int cpufreq_dbs_governor_init(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
151
void cpufreq_dbs_governor_exit(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
152
int cpufreq_dbs_governor_start(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
153
void cpufreq_dbs_governor_stop(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
154
void cpufreq_dbs_governor_limits(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
170
unsigned int (*powersave_bias_target)(struct cpufreq_policy *policy,
drivers/cpufreq/cpufreq_governor.h
174
unsigned int dbs_update(struct cpufreq_policy *policy);
drivers/cpufreq/cpufreq_governor.h
176
(struct cpufreq_policy *, unsigned int, unsigned int),
drivers/cpufreq/cpufreq_governor.h
79
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/elanfreq.c
104
static int elanfreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/elanfreq.c
143
static int elanfreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/freq_table.c
115
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
208
int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy,
drivers/cpufreq/freq_table.c
230
static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf,
drivers/cpufreq/freq_table.c
270
static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy,
drivers/cpufreq/freq_table.c
281
static ssize_t scaling_boost_frequencies_show(struct cpufreq_policy *policy,
drivers/cpufreq/freq_table.c
288
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
343
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
1417
static int intel_pstate_suspend(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
1431
static int intel_pstate_resume(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
1465
static void __intel_pstate_update_max_freq(struct cpufreq_policy *policy,
drivers/cpufreq/intel_pstate.c
1481
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/intel_pstate.c
1490
static void intel_pstate_update_limits(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
1653
struct cpufreq_policy *policy __free(put_cpufreq_policy) = cpufreq_cpu_get(cpu);
drivers/cpufreq/intel_pstate.c
2885
static int intel_pstate_set_policy(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
2972
static int intel_cpufreq_cpu_offline(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
2997
static int intel_pstate_cpu_online(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3019
static int intel_pstate_cpu_offline(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3026
static void intel_pstate_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3033
static int __intel_pstate_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3062
static int intel_pstate_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3181
static int intel_cpufreq_update_pstate(struct cpufreq_policy *policy,
drivers/cpufreq/intel_pstate.c
3206
static int intel_cpufreq_target(struct cpufreq_policy *policy,
drivers/cpufreq/intel_pstate.c
3229
static unsigned int intel_cpufreq_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/intel_pstate.c
3287
static int intel_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3361
static void intel_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/intel_pstate.c
3374
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
252
static int longrun_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/longrun.c
35
static void longrun_get_policy(struct cpufreq_policy *policy)
drivers/cpufreq/longrun.c
71
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
538
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
248
static int powernow_target(struct cpufreq_policy *policy, unsigned int index)
drivers/cpufreq/powernow-k7.c
593
static int powernow_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/powernow-k7.c
647
static void powernow_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/powernow-k8.c
1022
static int powernowk8_cpu_init(struct cpufreq_policy *pol)
drivers/cpufreq/powernow-k8.c
1092
static void powernowk8_cpu_exit(struct cpufreq_policy *pol)
drivers/cpufreq/powernow-k8.c
882
struct cpufreq_policy *policy)
drivers/cpufreq/powernow-k8.c
923
struct cpufreq_policy *pol;
drivers/cpufreq/powernow-k8.c
930
struct cpufreq_policy *pol = pta->pol;
drivers/cpufreq/powernow-k8.c
984
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
113
static int qcom_cpufreq_hw_target_index(struct cpufreq_policy *policy,
drivers/cpufreq/qcom-cpufreq-hw.c
146
static unsigned int qcom_cpufreq_get_freq(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
164
static unsigned int __qcom_cpufreq_hw_get(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
184
static unsigned int qcom_cpufreq_hw_fast_switch(struct cpufreq_policy *policy,
drivers/cpufreq/qcom-cpufreq-hw.c
203
struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
328
struct cpufreq_policy *policy = data->policy;
drivers/cpufreq/qcom-cpufreq-hw.c
428
static int qcom_cpufreq_hw_lmh_init(struct cpufreq_policy *policy, int index)
drivers/cpufreq/qcom-cpufreq-hw.c
465
static int qcom_cpufreq_hw_cpu_online(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
486
static int qcom_cpufreq_hw_cpu_offline(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
512
static int qcom_cpufreq_hw_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
572
static void qcom_cpufreq_hw_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
58
struct cpufreq_policy *policy;
drivers/cpufreq/qcom-cpufreq-hw.c
584
static void qcom_cpufreq_ready(struct cpufreq_policy *policy)
drivers/cpufreq/qcom-cpufreq-hw.c
72
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/sc520_freq.c
52
static int sc520_freq_target(struct cpufreq_policy *policy, unsigned int state)
drivers/cpufreq/sc520_freq.c
71
static int sc520_freq_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
136
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
187
static int virt_cpufreq_cpu_init(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
232
static void virt_cpufreq_cpu_exit(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
238
static int virt_cpufreq_online(struct cpufreq_policy *policy)
drivers/cpufreq/virtual-cpufreq.c
244
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
32
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
323
void acpi_processor_ppc_init(struct cpufreq_policy *policy);
include/acpi/processor.h
324
void acpi_processor_ppc_exit(struct cpufreq_policy *policy);
include/acpi/processor.h
332
static inline void acpi_processor_ppc_init(struct cpufreq_policy *policy)
include/acpi/processor.h
336
static inline void acpi_processor_ppc_exit(struct cpufreq_policy *policy)
include/acpi/processor.h
438
void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy);
include/acpi/processor.h
439
void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy);
include/acpi/processor.h
441
static inline void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy)
include/acpi/processor.h
445
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
1026
static inline int find_index_c(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1042
static inline int cpufreq_table_find_index_c(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1049
static inline bool cpufreq_is_in_limits(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1063
static inline int cpufreq_frequency_table_target(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1104
static inline int cpufreq_table_count_valid_entries(const struct cpufreq_policy *policy)
include/linux/cpufreq.h
1129
cpufreq_table_set_inefficient(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1201
static inline int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state)
include/linux/cpufreq.h
1207
cpufreq_table_set_inefficient(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1235
int cpufreq_table_validate_and_sort(struct cpufreq_policy *policy);
include/linux/cpufreq.h
1238
void cpufreq_generic_init(struct cpufreq_policy *policy,
include/linux/cpufreq.h
1244
static inline void cpufreq_register_em_with_opp(struct cpufreq_policy *policy)
include/linux/cpufreq.h
171
DEFINE_GUARD(cpufreq_policy_write, struct cpufreq_policy *,
include/linux/cpufreq.h
174
DEFINE_GUARD(cpufreq_policy_read, struct cpufreq_policy *,
include/linux/cpufreq.h
192
struct cpufreq_policy *policy;
include/linux/cpufreq.h
205
struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu);
include/linux/cpufreq.h
206
struct cpufreq_policy *cpufreq_cpu_policy(unsigned int cpu);
include/linux/cpufreq.h
207
struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu);
include/linux/cpufreq.h
208
void cpufreq_cpu_put(struct cpufreq_policy *policy);
include/linux/cpufreq.h
210
static inline struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
include/linux/cpufreq.h
214
static inline struct cpufreq_policy *cpufreq_cpu_policy(unsigned int cpu)
include/linux/cpufreq.h
218
static inline struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu)
include/linux/cpufreq.h
222
static inline void cpufreq_cpu_put(struct cpufreq_policy *policy) { }
include/linux/cpufreq.h
226
DEFINE_FREE(put_cpufreq_policy, struct cpufreq_policy *, if (_T) cpufreq_cpu_put(_T))
include/linux/cpufreq.h
228
static inline bool policy_is_inactive(struct cpufreq_policy *policy)
include/linux/cpufreq.h
233
static inline bool policy_is_shared(struct cpufreq_policy *policy)
include/linux/cpufreq.h
247
void refresh_frequency_limits(struct cpufreq_policy *policy);
include/linux/cpufreq.h
252
struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy);
include/linux/cpufreq.h
253
void cpufreq_enable_fast_switch(struct cpufreq_policy *policy);
include/linux/cpufreq.h
254
void cpufreq_disable_fast_switch(struct cpufreq_policy *policy);
include/linux/cpufreq.h
292
void cpufreq_stats_create_table(struct cpufreq_policy *policy);
include/linux/cpufreq.h
293
void cpufreq_stats_free_table(struct cpufreq_policy *policy);
include/linux/cpufreq.h
294
void cpufreq_stats_record_transition(struct cpufreq_policy *policy,
include/linux/cpufreq.h
297
static inline void cpufreq_stats_create_table(struct cpufreq_policy *policy) { }
include/linux/cpufreq.h
298
static inline void cpufreq_stats_free_table(struct cpufreq_policy *policy) { }
include/linux/cpufreq.h
299
static inline void cpufreq_stats_record_transition(struct cpufreq_policy *policy,
include/linux/cpufreq.h
319
ssize_t (*show)(struct cpufreq_policy *, char *);
include/linux/cpufreq.h
320
ssize_t (*store)(struct cpufreq_policy *, const char *, size_t count);
include/linux/cpufreq.h
354
int (*init)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
358
int (*setpolicy)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
360
int (*target)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
363
int (*target_index)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
365
unsigned int (*fast_switch)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
395
unsigned int (*get_intermediate)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
397
int (*target_intermediate)(struct cpufreq_policy *policy,
include/linux/cpufreq.h
404
void (*update_limits)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
409
int (*online)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
410
int (*offline)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
411
void (*exit)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
412
int (*suspend)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
413
int (*resume)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
416
void (*ready)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
422
int (*set_boost)(struct cpufreq_policy *policy, int state);
include/linux/cpufreq.h
428
void (*register_em)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
511
int cpufreq_generic_suspend(struct cpufreq_policy *policy);
include/linux/cpufreq.h
536
void cpufreq_freq_transition_begin(struct cpufreq_policy *policy,
include/linux/cpufreq.h
538
void cpufreq_freq_transition_end(struct cpufreq_policy *policy,
include/linux/cpufreq.h
594
int (*init)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
595
void (*exit)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
596
int (*start)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
597
void (*stop)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
598
void (*limits)(struct cpufreq_policy *policy);
include/linux/cpufreq.h
599
ssize_t (*show_setspeed) (struct cpufreq_policy *policy,
include/linux/cpufreq.h
601
int (*store_setspeed) (struct cpufreq_policy *policy,
include/linux/cpufreq.h
618
unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy,
include/linux/cpufreq.h
625
int cpufreq_driver_target(struct cpufreq_policy *policy,
include/linux/cpufreq.h
628
int __cpufreq_driver_target(struct cpufreq_policy *policy,
include/linux/cpufreq.h
631
unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy,
include/linux/cpufreq.h
633
unsigned int cpufreq_policy_transition_delay_us(struct cpufreq_policy *policy);
include/linux/cpufreq.h
636
int cpufreq_start_governor(struct cpufreq_policy *policy);
include/linux/cpufreq.h
637
void cpufreq_stop_governor(struct cpufreq_policy *policy);
include/linux/cpufreq.h
657
bool sugov_is_governor(struct cpufreq_policy *policy);
include/linux/cpufreq.h
659
static inline bool sugov_is_governor(struct cpufreq_policy *policy)
include/linux/cpufreq.h
665
static inline void cpufreq_policy_apply_limits(struct cpufreq_policy *policy)
include/linux/cpufreq.h
786
int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy);
include/linux/cpufreq.h
792
int cpufreq_table_index_unsorted(struct cpufreq_policy *policy,
include/linux/cpufreq.h
795
int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy,
include/linux/cpufreq.h
802
int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state);
include/linux/cpufreq.h
805
static inline int cpufreq_table_find_index_al(struct cpufreq_policy *policy,
include/linux/cpufreq.h
827
static inline int cpufreq_table_find_index_dl(struct cpufreq_policy *policy,
include/linux/cpufreq.h
857
static inline int find_index_l(struct cpufreq_policy *policy,
include/linux/cpufreq.h
873
static inline int cpufreq_table_find_index_l(struct cpufreq_policy *policy,
include/linux/cpufreq.h
881
static inline int cpufreq_table_find_index_ah(struct cpufreq_policy *policy,
include/linux/cpufreq.h
912
static inline int cpufreq_table_find_index_dh(struct cpufreq_policy *policy,
include/linux/cpufreq.h
933
static inline int find_index_h(struct cpufreq_policy *policy,
include/linux/cpufreq.h
949
static inline int cpufreq_table_find_index_h(struct cpufreq_policy *policy,
include/linux/cpufreq.h
957
static inline int cpufreq_table_find_index_ac(struct cpufreq_policy *policy,
include/linux/cpufreq.h
992
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
494
struct cpufreq_policy *policy = sg_policy->policy;
kernel/sched/cpufreq_schedutil.c
637
static struct sugov_policy *sugov_policy_alloc(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
672
struct cpufreq_policy *policy = sg_policy->policy;
kernel/sched/cpufreq_schedutil.c
740
static int sugov_init(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
821
static void sugov_exit(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
843
static int sugov_start(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
876
static void sugov_stop(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
892
static void sugov_limits(struct cpufreq_policy *policy)
kernel/sched/cpufreq_schedutil.c
932
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
206
struct cpufreq_policy new_pol = {