Lines Matching defs:policy
122 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy) in get_governor_parent_kobj()
176 void cpufreq_generic_init(struct cpufreq_policy *policy, in cpufreq_generic_init()
193 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_cpu_get_raw() local
201 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in cpufreq_generic_get() local
226 struct cpufreq_policy *policy = NULL; in cpufreq_cpu_get() local
252 void cpufreq_cpu_put(struct cpufreq_policy *policy) in cpufreq_cpu_put()
262 void cpufreq_cpu_release(struct cpufreq_policy *policy) in cpufreq_cpu_release()
288 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_cpu_acquire() local
351 static void cpufreq_notify_transition(struct cpufreq_policy *policy, in cpufreq_notify_transition()
403 static void cpufreq_notify_post_transition(struct cpufreq_policy *policy, in cpufreq_notify_post_transition()
415 void cpufreq_freq_transition_begin(struct cpufreq_policy *policy, in cpufreq_freq_transition_begin()
449 void cpufreq_freq_transition_end(struct cpufreq_policy *policy, in cpufreq_freq_transition_end()
502 void cpufreq_enable_fast_switch(struct cpufreq_policy *policy) in cpufreq_enable_fast_switch()
526 void cpufreq_disable_fast_switch(struct cpufreq_policy *policy) in cpufreq_disable_fast_switch()
538 static unsigned int __resolve_freq(struct cpufreq_policy *policy, in __resolve_freq()
567 unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy, in cpufreq_driver_resolve_freq()
588 unsigned int cpufreq_policy_transition_delay_us(struct cpufreq_policy *policy) in cpufreq_policy_transition_delay_us()
634 static ssize_t show_local_boost(struct cpufreq_policy *policy, char *buf) in show_local_boost()
639 static ssize_t store_local_boost(struct cpufreq_policy *policy, in store_local_boost()
757 static inline bool cpufreq_avg_freq_supported(struct cpufreq_policy *policy) in cpufreq_avg_freq_supported()
762 static ssize_t show_scaling_cur_freq(struct cpufreq_policy *policy, char *buf) in show_scaling_cur_freq()
804 static ssize_t show_cpuinfo_cur_freq(struct cpufreq_policy *policy, in show_cpuinfo_cur_freq()
818 static ssize_t show_cpuinfo_avg_freq(struct cpufreq_policy *policy, in show_cpuinfo_avg_freq()
831 static ssize_t show_scaling_governor(struct cpufreq_policy *policy, char *buf) in show_scaling_governor()
845 static ssize_t store_scaling_governor(struct cpufreq_policy *policy, in store_scaling_governor()
882 static ssize_t show_scaling_driver(struct cpufreq_policy *policy, char *buf) in show_scaling_driver()
890 static ssize_t show_scaling_available_governors(struct cpufreq_policy *policy, in show_scaling_available_governors()
937 static ssize_t show_related_cpus(struct cpufreq_policy *policy, char *buf) in show_related_cpus()
945 static ssize_t show_affected_cpus(struct cpufreq_policy *policy, char *buf) in show_affected_cpus()
950 static ssize_t store_scaling_setspeed(struct cpufreq_policy *policy, in store_scaling_setspeed()
968 static ssize_t show_scaling_setspeed(struct cpufreq_policy *policy, char *buf) in show_scaling_setspeed()
979 static ssize_t show_bios_limit(struct cpufreq_policy *policy, char *buf) in show_bios_limit()
1026 struct cpufreq_policy *policy = to_policy(kobj); in show() local
1044 struct cpufreq_policy *policy = to_policy(kobj); in store() local
1061 struct cpufreq_policy *policy = to_policy(kobj); in cpufreq_sysfs_release() local
1077 static void add_cpu_dev_symlink(struct cpufreq_policy *policy, unsigned int cpu, in add_cpu_dev_symlink()
1091 static void remove_cpu_dev_symlink(struct cpufreq_policy *policy, int cpu, in remove_cpu_dev_symlink()
1099 static int cpufreq_add_dev_interface(struct cpufreq_policy *policy) in cpufreq_add_dev_interface()
1158 static int cpufreq_init_policy(struct cpufreq_policy *policy) in cpufreq_init_policy()
1206 static int cpufreq_add_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_add_policy_cpu()
1229 void refresh_frequency_limits(struct cpufreq_policy *policy) in refresh_frequency_limits()
1241 struct cpufreq_policy *policy = in handle_update() local
1253 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_min); in cpufreq_notifier_min() local
1262 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_max); in cpufreq_notifier_max() local
1268 static void cpufreq_policy_put_kobj(struct cpufreq_policy *policy) in cpufreq_policy_put_kobj()
1292 struct cpufreq_policy *policy; in cpufreq_policy_alloc() local
1373 static void cpufreq_policy_free(struct cpufreq_policy *policy) in cpufreq_policy_free()
1424 struct cpufreq_policy *policy; in cpufreq_online() local
1680 struct cpufreq_policy *policy; in cpufreq_add_dev() local
1700 static void __cpufreq_offline(unsigned int cpu, struct cpufreq_policy *policy) in __cpufreq_offline()
1750 struct cpufreq_policy *policy; in cpufreq_offline() local
1776 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_remove_dev() local
1819 static void cpufreq_out_of_sync(struct cpufreq_policy *policy, in cpufreq_out_of_sync()
1834 static unsigned int cpufreq_verify_current_freq(struct cpufreq_policy *policy, bool update) in cpufreq_verify_current_freq()
1877 struct cpufreq_policy *policy; in cpufreq_quick_get() local
1909 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_quick_get_max() local
1929 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get_hw_max_freq() local
1941 static unsigned int __cpufreq_get(struct cpufreq_policy *policy) in __cpufreq_get()
1957 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get() local
1984 int cpufreq_generic_suspend(struct cpufreq_policy *policy) in cpufreq_generic_suspend()
2016 struct cpufreq_policy *policy; in cpufreq_suspend() local
2050 struct cpufreq_policy *policy; in cpufreq_resume() local
2242 unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy, in cpufreq_driver_fast_switch()
2309 static int __target_intermediate(struct cpufreq_policy *policy, in __target_intermediate()
2334 static int __target_index(struct cpufreq_policy *policy, int index) in __target_index()
2394 int __cpufreq_driver_target(struct cpufreq_policy *policy, in __cpufreq_driver_target()
2437 int cpufreq_driver_target(struct cpufreq_policy *policy, in cpufreq_driver_target()
2458 static int cpufreq_init_governor(struct cpufreq_policy *policy) in cpufreq_init_governor()
2504 static void cpufreq_exit_governor(struct cpufreq_policy *policy) in cpufreq_exit_governor()
2517 int cpufreq_start_governor(struct cpufreq_policy *policy) in cpufreq_start_governor()
2544 void cpufreq_stop_governor(struct cpufreq_policy *policy) in cpufreq_stop_governor()
2555 static void cpufreq_governor_limits(struct cpufreq_policy *policy) in cpufreq_governor_limits()
2591 struct cpufreq_policy *policy; in cpufreq_unregister_governor() local
2629 int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_get_policy()
2654 static void cpufreq_update_pressure(struct cpufreq_policy *policy) in cpufreq_update_pressure()
2695 static int cpufreq_set_policy(struct cpufreq_policy *policy, in cpufreq_set_policy()
2807 struct cpufreq_policy *policy = cpufreq_cpu_acquire(cpu); in cpufreq_update_policy() local
2852 int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state) in cpufreq_boost_set_sw()
2875 struct cpufreq_policy *policy; in cpufreq_boost_trigger_state() local