Lines Matching defs:policy
466 static int amd_pstate_verify(struct cpufreq_policy_data *policy) in amd_pstate_verify()
473 static int amd_pstate_update_freq(struct cpufreq_policy *policy, in amd_pstate_update_freq()
511 static int amd_pstate_target(struct cpufreq_policy *policy, in amd_pstate_target()
518 static unsigned int amd_pstate_fast_switch(struct cpufreq_policy *policy, in amd_pstate_fast_switch()
531 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in amd_pstate_adjust_perf() local
635 static int amd_pstate_set_boost(struct cpufreq_policy *policy, int state) in amd_pstate_set_boost()
679 static int amd_pstate_cpu_init(struct cpufreq_policy *policy) in amd_pstate_cpu_init()
766 static int amd_pstate_cpu_exit(struct cpufreq_policy *policy) in amd_pstate_cpu_exit()
778 static int amd_pstate_cpu_resume(struct cpufreq_policy *policy) in amd_pstate_cpu_resume()
789 static int amd_pstate_cpu_suspend(struct cpufreq_policy *policy) in amd_pstate_cpu_suspend()
807 static ssize_t show_amd_pstate_max_freq(struct cpufreq_policy *policy, in show_amd_pstate_max_freq()
820 static ssize_t show_amd_pstate_lowest_nonlinear_freq(struct cpufreq_policy *policy, in show_amd_pstate_lowest_nonlinear_freq()
837 static ssize_t show_amd_pstate_highest_perf(struct cpufreq_policy *policy, in show_amd_pstate_highest_perf()
849 struct cpufreq_policy *policy, char *buf) in show_energy_performance_available_preferences()
863 struct cpufreq_policy *policy, const char *buf, size_t count) in store_energy_performance_preference()
885 struct cpufreq_policy *policy, char *buf) in show_energy_performance_preference()
1094 static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_init()
1180 static int amd_pstate_epp_cpu_exit(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_exit()
1188 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in amd_pstate_epp_init() local
1243 static int amd_pstate_epp_set_policy(struct cpufreq_policy *policy) in amd_pstate_epp_set_policy()
1282 static int amd_pstate_epp_cpu_online(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_online()
1296 static void amd_pstate_epp_offline(struct cpufreq_policy *policy) in amd_pstate_epp_offline()
1325 static int amd_pstate_epp_cpu_offline(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_offline()
1340 static int amd_pstate_epp_verify_policy(struct cpufreq_policy_data *policy) in amd_pstate_epp_verify_policy()
1347 static int amd_pstate_epp_suspend(struct cpufreq_policy *policy) in amd_pstate_epp_suspend()
1367 static int amd_pstate_epp_resume(struct cpufreq_policy *policy) in amd_pstate_epp_resume()