Lines Matching defs:policy

116 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy)  in get_governor_parent_kobj()
170 void cpufreq_generic_init(struct cpufreq_policy *policy, in cpufreq_generic_init()
187 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_cpu_get_raw() local
195 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in cpufreq_generic_get() local
220 struct cpufreq_policy *policy = NULL; in cpufreq_cpu_get() local
246 void cpufreq_cpu_put(struct cpufreq_policy *policy) in cpufreq_cpu_put()
256 void cpufreq_cpu_release(struct cpufreq_policy *policy) in cpufreq_cpu_release()
282 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_cpu_acquire() local
343 static void cpufreq_notify_transition(struct cpufreq_policy *policy, in cpufreq_notify_transition()
395 static void cpufreq_notify_post_transition(struct cpufreq_policy *policy, in cpufreq_notify_post_transition()
407 void cpufreq_freq_transition_begin(struct cpufreq_policy *policy, in cpufreq_freq_transition_begin()
441 void cpufreq_freq_transition_end(struct cpufreq_policy *policy, in cpufreq_freq_transition_end()
492 void cpufreq_enable_fast_switch(struct cpufreq_policy *policy) in cpufreq_enable_fast_switch()
516 void cpufreq_disable_fast_switch(struct cpufreq_policy *policy) in cpufreq_disable_fast_switch()
539 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()
1022 static void remove_cpu_dev_symlink(struct cpufreq_policy *policy, in remove_cpu_dev_symlink()
1029 static int cpufreq_add_dev_interface(struct cpufreq_policy *policy) in cpufreq_add_dev_interface()
1061 static int cpufreq_init_policy(struct cpufreq_policy *policy) in cpufreq_init_policy()
1109 static int cpufreq_add_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_add_policy_cpu()
1132 void refresh_frequency_limits(struct cpufreq_policy *policy) in refresh_frequency_limits()
1144 struct cpufreq_policy *policy = in handle_update() local
1156 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_min); in cpufreq_notifier_min() local
1165 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_max); in cpufreq_notifier_max() local
1171 static void cpufreq_policy_put_kobj(struct cpufreq_policy *policy) in cpufreq_policy_put_kobj()
1195 struct cpufreq_policy *policy; in cpufreq_policy_alloc() local
1276 static void cpufreq_policy_free(struct cpufreq_policy *policy) in cpufreq_policy_free()
1319 struct cpufreq_policy *policy; in cpufreq_online() local
1532 struct cpufreq_policy *policy; in cpufreq_add_dev() local
1554 struct cpufreq_policy *policy; in cpufreq_offline() local
1628 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_remove_dev() local
1657 static void cpufreq_out_of_sync(struct cpufreq_policy *policy, in cpufreq_out_of_sync()
1672 static unsigned int cpufreq_verify_current_freq(struct cpufreq_policy *policy, bool update) in cpufreq_verify_current_freq()
1705 struct cpufreq_policy *policy; in cpufreq_quick_get() local
1737 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_quick_get_max() local
1757 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get_hw_max_freq() local
1769 static unsigned int __cpufreq_get(struct cpufreq_policy *policy) in __cpufreq_get()
1785 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get() local
1812 int cpufreq_generic_suspend(struct cpufreq_policy *policy) in cpufreq_generic_suspend()
1844 struct cpufreq_policy *policy; in cpufreq_suspend() local
1878 struct cpufreq_policy *policy; in cpufreq_resume() local
2071 unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy, in cpufreq_driver_fast_switch()
2098 static int __target_intermediate(struct cpufreq_policy *policy, in __target_intermediate()
2123 static int __target_index(struct cpufreq_policy *policy, int index) in __target_index()
2180 int __cpufreq_driver_target(struct cpufreq_policy *policy, in __cpufreq_driver_target()
2221 int cpufreq_driver_target(struct cpufreq_policy *policy, in cpufreq_driver_target()
2242 static int cpufreq_init_governor(struct cpufreq_policy *policy) in cpufreq_init_governor()
2288 static void cpufreq_exit_governor(struct cpufreq_policy *policy) in cpufreq_exit_governor()
2301 int cpufreq_start_governor(struct cpufreq_policy *policy) in cpufreq_start_governor()
2328 void cpufreq_stop_governor(struct cpufreq_policy *policy) in cpufreq_stop_governor()
2339 static void cpufreq_governor_limits(struct cpufreq_policy *policy) in cpufreq_governor_limits()
2375 struct cpufreq_policy *policy; in cpufreq_unregister_governor() local
2413 int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_get_policy()
2445 static int cpufreq_set_policy(struct cpufreq_policy *policy, in cpufreq_set_policy()
2542 struct cpufreq_policy *policy = cpufreq_cpu_acquire(cpu); in cpufreq_update_policy() local
2581 static int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state) in cpufreq_boost_set_sw()
2603 struct cpufreq_policy *policy; in cpufreq_boost_trigger_state() local