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()
565 unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy, in cpufreq_driver_resolve_freq()
572 unsigned int cpufreq_policy_transition_delay_us(struct cpufreq_policy *policy) in cpufreq_policy_transition_delay_us()
618 static ssize_t show_local_boost(struct cpufreq_policy *policy, char *buf) in show_local_boost()
623 static ssize_t store_local_boost(struct cpufreq_policy *policy, in store_local_boost()
741 static inline bool cpufreq_avg_freq_supported(struct cpufreq_policy *policy) in cpufreq_avg_freq_supported()
746 static ssize_t show_scaling_cur_freq(struct cpufreq_policy *policy, char *buf) in show_scaling_cur_freq()
788 static ssize_t show_cpuinfo_cur_freq(struct cpufreq_policy *policy, in show_cpuinfo_cur_freq()
802 static ssize_t show_cpuinfo_avg_freq(struct cpufreq_policy *policy, in show_cpuinfo_avg_freq()
815 static ssize_t show_scaling_governor(struct cpufreq_policy *policy, char *buf) in show_scaling_governor()
829 static ssize_t store_scaling_governor(struct cpufreq_policy *policy, in store_scaling_governor()
866 static ssize_t show_scaling_driver(struct cpufreq_policy *policy, char *buf) in show_scaling_driver()
874 static ssize_t show_scaling_available_governors(struct cpufreq_policy *policy, in show_scaling_available_governors()
921 static ssize_t show_related_cpus(struct cpufreq_policy *policy, char *buf) in show_related_cpus()
929 static ssize_t show_affected_cpus(struct cpufreq_policy *policy, char *buf) in show_affected_cpus()
934 static ssize_t store_scaling_setspeed(struct cpufreq_policy *policy, in store_scaling_setspeed()
952 static ssize_t show_scaling_setspeed(struct cpufreq_policy *policy, char *buf) in show_scaling_setspeed()
963 static ssize_t show_bios_limit(struct cpufreq_policy *policy, char *buf) in show_bios_limit()
1010 struct cpufreq_policy *policy = to_policy(kobj); in show() local
1028 struct cpufreq_policy *policy = to_policy(kobj); in store() local
1045 struct cpufreq_policy *policy = to_policy(kobj); in cpufreq_sysfs_release() local
1061 static void add_cpu_dev_symlink(struct cpufreq_policy *policy, unsigned int cpu, in add_cpu_dev_symlink()
1075 static void remove_cpu_dev_symlink(struct cpufreq_policy *policy, int cpu, in remove_cpu_dev_symlink()
1083 static int cpufreq_add_dev_interface(struct cpufreq_policy *policy) in cpufreq_add_dev_interface()
1142 static int cpufreq_init_policy(struct cpufreq_policy *policy) in cpufreq_init_policy()
1190 static int cpufreq_add_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_add_policy_cpu()
1213 void refresh_frequency_limits(struct cpufreq_policy *policy) in refresh_frequency_limits()
1225 struct cpufreq_policy *policy = in handle_update() local
1237 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_min); in cpufreq_notifier_min() local
1246 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_max); in cpufreq_notifier_max() local
1252 static void cpufreq_policy_put_kobj(struct cpufreq_policy *policy) in cpufreq_policy_put_kobj()
1276 struct cpufreq_policy *policy; in cpufreq_policy_alloc() local
1357 static void cpufreq_policy_free(struct cpufreq_policy *policy) in cpufreq_policy_free()
1408 struct cpufreq_policy *policy; in cpufreq_online() local
1664 struct cpufreq_policy *policy; in cpufreq_add_dev() local
1684 static void __cpufreq_offline(unsigned int cpu, struct cpufreq_policy *policy) in __cpufreq_offline()
1734 struct cpufreq_policy *policy; in cpufreq_offline() local
1760 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_remove_dev() local
1803 static void cpufreq_out_of_sync(struct cpufreq_policy *policy, in cpufreq_out_of_sync()
1818 static unsigned int cpufreq_verify_current_freq(struct cpufreq_policy *policy, bool update) in cpufreq_verify_current_freq()
1861 struct cpufreq_policy *policy; in cpufreq_quick_get() local
1893 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_quick_get_max() local
1913 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get_hw_max_freq() local
1925 static unsigned int __cpufreq_get(struct cpufreq_policy *policy) in __cpufreq_get()
1941 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get() local
1968 int cpufreq_generic_suspend(struct cpufreq_policy *policy) in cpufreq_generic_suspend()
2000 struct cpufreq_policy *policy; in cpufreq_suspend() local
2034 struct cpufreq_policy *policy; in cpufreq_resume() local
2226 unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy, in cpufreq_driver_fast_switch()
2293 static int __target_intermediate(struct cpufreq_policy *policy, in __target_intermediate()
2318 static int __target_index(struct cpufreq_policy *policy, int index) in __target_index()
2378 int __cpufreq_driver_target(struct cpufreq_policy *policy, in __cpufreq_driver_target()
2420 int cpufreq_driver_target(struct cpufreq_policy *policy, in cpufreq_driver_target()
2441 static int cpufreq_init_governor(struct cpufreq_policy *policy) in cpufreq_init_governor()
2487 static void cpufreq_exit_governor(struct cpufreq_policy *policy) in cpufreq_exit_governor()
2500 int cpufreq_start_governor(struct cpufreq_policy *policy) in cpufreq_start_governor()
2527 void cpufreq_stop_governor(struct cpufreq_policy *policy) in cpufreq_stop_governor()
2538 static void cpufreq_governor_limits(struct cpufreq_policy *policy) in cpufreq_governor_limits()
2574 struct cpufreq_policy *policy; in cpufreq_unregister_governor() local
2612 int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_get_policy()
2637 static void cpufreq_update_pressure(struct cpufreq_policy *policy) in cpufreq_update_pressure()
2678 static int cpufreq_set_policy(struct cpufreq_policy *policy, in cpufreq_set_policy()
2783 struct cpufreq_policy *policy = cpufreq_cpu_acquire(cpu); in cpufreq_update_policy() local
2822 int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state) in cpufreq_boost_set_sw()
2845 struct cpufreq_policy *policy; in cpufreq_boost_trigger_state() local