Lines Matching defs:policy
113 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy) in get_governor_parent_kobj()
167 void cpufreq_generic_init(struct cpufreq_policy *policy, in cpufreq_generic_init()
184 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_cpu_get_raw() local
192 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in cpufreq_generic_get() local
217 struct cpufreq_policy *policy = NULL; in cpufreq_cpu_get() local
243 void cpufreq_cpu_put(struct cpufreq_policy *policy) in cpufreq_cpu_put()
253 void cpufreq_cpu_release(struct cpufreq_policy *policy) in cpufreq_cpu_release()
279 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_cpu_acquire() local
342 static void cpufreq_notify_transition(struct cpufreq_policy *policy, in cpufreq_notify_transition()
394 static void cpufreq_notify_post_transition(struct cpufreq_policy *policy, in cpufreq_notify_post_transition()
406 void cpufreq_freq_transition_begin(struct cpufreq_policy *policy, in cpufreq_freq_transition_begin()
440 void cpufreq_freq_transition_end(struct cpufreq_policy *policy, in cpufreq_freq_transition_end()
491 void cpufreq_enable_fast_switch(struct cpufreq_policy *policy) in cpufreq_enable_fast_switch()
515 void cpufreq_disable_fast_switch(struct cpufreq_policy *policy) in cpufreq_disable_fast_switch()
527 static unsigned int __resolve_freq(struct cpufreq_policy *policy, in __resolve_freq()
554 unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy, in cpufreq_driver_resolve_freq()
561 unsigned int cpufreq_policy_transition_delay_us(struct cpufreq_policy *policy) in cpufreq_policy_transition_delay_us()
702 static ssize_t show_scaling_cur_freq(struct cpufreq_policy *policy, char *buf) in show_scaling_cur_freq()
741 static ssize_t show_cpuinfo_cur_freq(struct cpufreq_policy *policy, in show_cpuinfo_cur_freq()
755 static ssize_t show_scaling_governor(struct cpufreq_policy *policy, char *buf) in show_scaling_governor()
770 static ssize_t store_scaling_governor(struct cpufreq_policy *policy, in store_scaling_governor()
807 static ssize_t show_scaling_driver(struct cpufreq_policy *policy, char *buf) in show_scaling_driver()
815 static ssize_t show_scaling_available_governors(struct cpufreq_policy *policy, in show_scaling_available_governors()
860 static ssize_t show_related_cpus(struct cpufreq_policy *policy, char *buf) in show_related_cpus()
868 static ssize_t show_affected_cpus(struct cpufreq_policy *policy, char *buf) in show_affected_cpus()
873 static ssize_t store_scaling_setspeed(struct cpufreq_policy *policy, in store_scaling_setspeed()
891 static ssize_t show_scaling_setspeed(struct cpufreq_policy *policy, char *buf) in show_scaling_setspeed()
902 static ssize_t show_bios_limit(struct cpufreq_policy *policy, char *buf) in show_bios_limit()
947 struct cpufreq_policy *policy = to_policy(kobj); in show() local
964 struct cpufreq_policy *policy = to_policy(kobj); in store() local
991 struct cpufreq_policy *policy = to_policy(kobj); in cpufreq_sysfs_release() local
1007 static void add_cpu_dev_symlink(struct cpufreq_policy *policy, unsigned int cpu, in add_cpu_dev_symlink()
1021 static void remove_cpu_dev_symlink(struct cpufreq_policy *policy, in remove_cpu_dev_symlink()
1028 static int cpufreq_add_dev_interface(struct cpufreq_policy *policy) in cpufreq_add_dev_interface()
1060 static int cpufreq_init_policy(struct cpufreq_policy *policy) in cpufreq_init_policy()
1108 static int cpufreq_add_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_add_policy_cpu()
1131 void refresh_frequency_limits(struct cpufreq_policy *policy) in refresh_frequency_limits()
1143 struct cpufreq_policy *policy = in handle_update() local
1155 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_min); in cpufreq_notifier_min() local
1164 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_max); in cpufreq_notifier_max() local
1170 static void cpufreq_policy_put_kobj(struct cpufreq_policy *policy) in cpufreq_policy_put_kobj()
1194 struct cpufreq_policy *policy; in cpufreq_policy_alloc() local
1275 static void cpufreq_policy_free(struct cpufreq_policy *policy) in cpufreq_policy_free()
1319 struct cpufreq_policy *policy; in cpufreq_online() local
1553 struct cpufreq_policy *policy; in cpufreq_add_dev() local
1575 struct cpufreq_policy *policy; in cpufreq_offline() local
1646 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_remove_dev() local
1674 static void cpufreq_out_of_sync(struct cpufreq_policy *policy, in cpufreq_out_of_sync()
1689 static unsigned int cpufreq_verify_current_freq(struct cpufreq_policy *policy, bool update) in cpufreq_verify_current_freq()
1722 struct cpufreq_policy *policy; in cpufreq_quick_get() local
1754 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_quick_get_max() local
1774 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get_hw_max_freq() local
1786 static unsigned int __cpufreq_get(struct cpufreq_policy *policy) in __cpufreq_get()
1802 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get() local
1829 int cpufreq_generic_suspend(struct cpufreq_policy *policy) in cpufreq_generic_suspend()
1861 struct cpufreq_policy *policy; in cpufreq_suspend() local
1895 struct cpufreq_policy *policy; in cpufreq_resume() local
2087 unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy, in cpufreq_driver_fast_switch()
2154 static int __target_intermediate(struct cpufreq_policy *policy, in __target_intermediate()
2179 static int __target_index(struct cpufreq_policy *policy, int index) in __target_index()
2239 int __cpufreq_driver_target(struct cpufreq_policy *policy, in __cpufreq_driver_target()
2281 int cpufreq_driver_target(struct cpufreq_policy *policy, in cpufreq_driver_target()
2302 static int cpufreq_init_governor(struct cpufreq_policy *policy) in cpufreq_init_governor()
2348 static void cpufreq_exit_governor(struct cpufreq_policy *policy) in cpufreq_exit_governor()
2361 int cpufreq_start_governor(struct cpufreq_policy *policy) in cpufreq_start_governor()
2388 void cpufreq_stop_governor(struct cpufreq_policy *policy) in cpufreq_stop_governor()
2399 static void cpufreq_governor_limits(struct cpufreq_policy *policy) in cpufreq_governor_limits()
2435 struct cpufreq_policy *policy; in cpufreq_unregister_governor() local
2473 int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_get_policy()
2505 static int cpufreq_set_policy(struct cpufreq_policy *policy, in cpufreq_set_policy()
2609 struct cpufreq_policy *policy = cpufreq_cpu_acquire(cpu); in cpufreq_update_policy() local
2648 static int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state) in cpufreq_boost_set_sw()
2670 struct cpufreq_policy *policy; in cpufreq_boost_trigger_state() local