Lines Matching defs:policy

121 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy)  in get_governor_parent_kobj()
175 void cpufreq_generic_init(struct cpufreq_policy *policy, in cpufreq_generic_init()
192 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_cpu_get_raw() local
200 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in cpufreq_generic_get() local
225 struct cpufreq_policy *policy = NULL; in cpufreq_cpu_get() local
251 void cpufreq_cpu_put(struct cpufreq_policy *policy) in cpufreq_cpu_put()
261 void cpufreq_cpu_release(struct cpufreq_policy *policy) in cpufreq_cpu_release()
287 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_cpu_acquire() local
350 static void cpufreq_notify_transition(struct cpufreq_policy *policy, in cpufreq_notify_transition()
402 static void cpufreq_notify_post_transition(struct cpufreq_policy *policy, in cpufreq_notify_post_transition()
414 void cpufreq_freq_transition_begin(struct cpufreq_policy *policy, in cpufreq_freq_transition_begin()
448 void cpufreq_freq_transition_end(struct cpufreq_policy *policy, in cpufreq_freq_transition_end()
501 void cpufreq_enable_fast_switch(struct cpufreq_policy *policy) in cpufreq_enable_fast_switch()
525 void cpufreq_disable_fast_switch(struct cpufreq_policy *policy) in cpufreq_disable_fast_switch()
537 static unsigned int __resolve_freq(struct cpufreq_policy *policy, in __resolve_freq()
564 unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy, in cpufreq_driver_resolve_freq()
571 unsigned int cpufreq_policy_transition_delay_us(struct cpufreq_policy *policy) in cpufreq_policy_transition_delay_us()
617 static ssize_t show_local_boost(struct cpufreq_policy *policy, char *buf) in show_local_boost()
622 static ssize_t store_local_boost(struct cpufreq_policy *policy, in store_local_boost()
737 static ssize_t show_scaling_cur_freq(struct cpufreq_policy *policy, char *buf) in show_scaling_cur_freq()
776 static ssize_t show_cpuinfo_cur_freq(struct cpufreq_policy *policy, in show_cpuinfo_cur_freq()
790 static ssize_t show_scaling_governor(struct cpufreq_policy *policy, char *buf) in show_scaling_governor()
804 static ssize_t store_scaling_governor(struct cpufreq_policy *policy, in store_scaling_governor()
841 static ssize_t show_scaling_driver(struct cpufreq_policy *policy, char *buf) in show_scaling_driver()
849 static ssize_t show_scaling_available_governors(struct cpufreq_policy *policy, in show_scaling_available_governors()
896 static ssize_t show_related_cpus(struct cpufreq_policy *policy, char *buf) in show_related_cpus()
904 static ssize_t show_affected_cpus(struct cpufreq_policy *policy, char *buf) in show_affected_cpus()
909 static ssize_t store_scaling_setspeed(struct cpufreq_policy *policy, in store_scaling_setspeed()
927 static ssize_t show_scaling_setspeed(struct cpufreq_policy *policy, char *buf) in show_scaling_setspeed()
938 static ssize_t show_bios_limit(struct cpufreq_policy *policy, char *buf) in show_bios_limit()
984 struct cpufreq_policy *policy = to_policy(kobj); in show() local
1002 struct cpufreq_policy *policy = to_policy(kobj); in store() local
1019 struct cpufreq_policy *policy = to_policy(kobj); in cpufreq_sysfs_release() local
1035 static void add_cpu_dev_symlink(struct cpufreq_policy *policy, unsigned int cpu, in add_cpu_dev_symlink()
1049 static void remove_cpu_dev_symlink(struct cpufreq_policy *policy, int cpu, in remove_cpu_dev_symlink()
1057 static int cpufreq_add_dev_interface(struct cpufreq_policy *policy) in cpufreq_add_dev_interface()
1095 static int cpufreq_init_policy(struct cpufreq_policy *policy) in cpufreq_init_policy()
1143 static int cpufreq_add_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_add_policy_cpu()
1166 void refresh_frequency_limits(struct cpufreq_policy *policy) in refresh_frequency_limits()
1178 struct cpufreq_policy *policy = in handle_update() local
1190 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_min); in cpufreq_notifier_min() local
1199 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_max); in cpufreq_notifier_max() local
1205 static void cpufreq_policy_put_kobj(struct cpufreq_policy *policy) in cpufreq_policy_put_kobj()
1229 struct cpufreq_policy *policy; in cpufreq_policy_alloc() local
1310 static void cpufreq_policy_free(struct cpufreq_policy *policy) in cpufreq_policy_free()
1361 struct cpufreq_policy *policy; in cpufreq_online() local
1617 struct cpufreq_policy *policy; in cpufreq_add_dev() local
1637 static void __cpufreq_offline(unsigned int cpu, struct cpufreq_policy *policy) in __cpufreq_offline()
1687 struct cpufreq_policy *policy; in cpufreq_offline() local
1713 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_remove_dev() local
1756 static void cpufreq_out_of_sync(struct cpufreq_policy *policy, in cpufreq_out_of_sync()
1771 static unsigned int cpufreq_verify_current_freq(struct cpufreq_policy *policy, bool update) in cpufreq_verify_current_freq()
1814 struct cpufreq_policy *policy; in cpufreq_quick_get() local
1846 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_quick_get_max() local
1866 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get_hw_max_freq() local
1878 static unsigned int __cpufreq_get(struct cpufreq_policy *policy) in __cpufreq_get()
1894 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_get() local
1921 int cpufreq_generic_suspend(struct cpufreq_policy *policy) in cpufreq_generic_suspend()
1953 struct cpufreq_policy *policy; in cpufreq_suspend() local
1987 struct cpufreq_policy *policy; in cpufreq_resume() local
2179 unsigned int cpufreq_driver_fast_switch(struct cpufreq_policy *policy, in cpufreq_driver_fast_switch()
2246 static int __target_intermediate(struct cpufreq_policy *policy, in __target_intermediate()
2271 static int __target_index(struct cpufreq_policy *policy, int index) in __target_index()
2331 int __cpufreq_driver_target(struct cpufreq_policy *policy, in __cpufreq_driver_target()
2373 int cpufreq_driver_target(struct cpufreq_policy *policy, in cpufreq_driver_target()
2394 static int cpufreq_init_governor(struct cpufreq_policy *policy) in cpufreq_init_governor()
2440 static void cpufreq_exit_governor(struct cpufreq_policy *policy) in cpufreq_exit_governor()
2453 int cpufreq_start_governor(struct cpufreq_policy *policy) in cpufreq_start_governor()
2480 void cpufreq_stop_governor(struct cpufreq_policy *policy) in cpufreq_stop_governor()
2491 static void cpufreq_governor_limits(struct cpufreq_policy *policy) in cpufreq_governor_limits()
2527 struct cpufreq_policy *policy; in cpufreq_unregister_governor() local
2565 int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu) in cpufreq_get_policy()
2590 static void cpufreq_update_pressure(struct cpufreq_policy *policy) in cpufreq_update_pressure()
2631 static int cpufreq_set_policy(struct cpufreq_policy *policy, in cpufreq_set_policy()
2736 struct cpufreq_policy *policy = cpufreq_cpu_acquire(cpu); in cpufreq_update_policy() local
2765 struct cpufreq_policy *policy; in cpufreq_update_limits() local
2783 static int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state) in cpufreq_boost_set_sw()
2805 struct cpufreq_policy *policy; in cpufreq_boost_trigger_state() local