Lines Matching defs:policy

319 static int amd_pstate_set_energy_pref_index(struct cpufreq_policy *policy,  in amd_pstate_set_energy_pref_index()
538 struct cpufreq_policy *policy = cpufreq_cpu_get(cpudata->cpu); in amd_pstate_update() local
578 struct cpufreq_policy *policy = cpufreq_cpu_get(policy_data->cpu); in amd_pstate_verify() local
595 static int amd_pstate_update_min_max_limit(struct cpufreq_policy *policy) in amd_pstate_update_min_max_limit()
617 static int amd_pstate_update_freq(struct cpufreq_policy *policy, in amd_pstate_update_freq()
657 static int amd_pstate_target(struct cpufreq_policy *policy, in amd_pstate_target()
664 static unsigned int amd_pstate_fast_switch(struct cpufreq_policy *policy, in amd_pstate_fast_switch()
678 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in amd_pstate_adjust_perf() local
715 static int amd_pstate_cpu_boost_update(struct cpufreq_policy *policy, bool on) in amd_pstate_cpu_boost_update()
740 static int amd_pstate_set_boost(struct cpufreq_policy *policy, int state) in amd_pstate_set_boost()
826 struct cpufreq_policy *policy = NULL; in amd_pstate_update_limits() local
963 static int amd_pstate_cpu_init(struct cpufreq_policy *policy) in amd_pstate_cpu_init()
1049 static void amd_pstate_cpu_exit(struct cpufreq_policy *policy) in amd_pstate_cpu_exit()
1059 static int amd_pstate_cpu_resume(struct cpufreq_policy *policy) in amd_pstate_cpu_resume()
1070 static int amd_pstate_cpu_suspend(struct cpufreq_policy *policy) in amd_pstate_cpu_suspend()
1088 static ssize_t show_amd_pstate_max_freq(struct cpufreq_policy *policy, in show_amd_pstate_max_freq()
1101 static ssize_t show_amd_pstate_lowest_nonlinear_freq(struct cpufreq_policy *policy, in show_amd_pstate_lowest_nonlinear_freq()
1118 static ssize_t show_amd_pstate_highest_perf(struct cpufreq_policy *policy, in show_amd_pstate_highest_perf()
1129 static ssize_t show_amd_pstate_prefcore_ranking(struct cpufreq_policy *policy, in show_amd_pstate_prefcore_ranking()
1140 static ssize_t show_amd_pstate_hw_prefcore(struct cpufreq_policy *policy, in show_amd_pstate_hw_prefcore()
1152 struct cpufreq_policy *policy, char *buf) in show_energy_performance_available_preferences()
1171 struct cpufreq_policy *policy, const char *buf, size_t count) in store_energy_performance_preference()
1192 struct cpufreq_policy *policy, char *buf) in show_energy_performance_preference()
1454 static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_init()
1542 static void amd_pstate_epp_cpu_exit(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_exit()
1554 static int amd_pstate_epp_update_limit(struct cpufreq_policy *policy) in amd_pstate_epp_update_limit()
1577 static int amd_pstate_epp_set_policy(struct cpufreq_policy *policy) in amd_pstate_epp_set_policy()
1603 static int amd_pstate_epp_reenable(struct cpufreq_policy *policy) in amd_pstate_epp_reenable()
1625 static int amd_pstate_epp_cpu_online(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_online()
1640 static int amd_pstate_epp_cpu_offline(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_offline()
1662 static int amd_pstate_epp_suspend(struct cpufreq_policy *policy) in amd_pstate_epp_suspend()
1685 static int amd_pstate_epp_resume(struct cpufreq_policy *policy) in amd_pstate_epp_resume()