Lines Matching defs:policy
230 static int msr_update_perf(struct cpufreq_policy *policy, u8 min_perf, in msr_update_perf()
277 static inline int amd_pstate_update_perf(struct cpufreq_policy *policy, in amd_pstate_update_perf()
286 static int msr_set_epp(struct cpufreq_policy *policy, u8 epp) in msr_set_epp()
326 static inline int amd_pstate_set_epp(struct cpufreq_policy *policy, u8 epp) in amd_pstate_set_epp()
331 static int shmem_set_epp(struct cpufreq_policy *policy, u8 epp) in shmem_set_epp()
372 static inline int msr_cppc_enable(struct cpufreq_policy *policy) in msr_cppc_enable()
377 static int shmem_cppc_enable(struct cpufreq_policy *policy) in shmem_cppc_enable()
384 static inline int amd_pstate_cppc_enable(struct cpufreq_policy *policy) in amd_pstate_cppc_enable()
463 static int shmem_update_perf(struct cpufreq_policy *policy, u8 min_perf, in shmem_update_perf()
604 static void amd_pstate_update_min_max_limit(struct cpufreq_policy *policy) in amd_pstate_update_min_max_limit()
623 static int amd_pstate_update_freq(struct cpufreq_policy *policy, in amd_pstate_update_freq()
662 static int amd_pstate_target(struct cpufreq_policy *policy, in amd_pstate_target()
669 static unsigned int amd_pstate_fast_switch(struct cpufreq_policy *policy, in amd_pstate_fast_switch()
718 static int amd_pstate_cpu_boost_update(struct cpufreq_policy *policy, bool on) in amd_pstate_cpu_boost_update()
744 static int amd_pstate_set_boost(struct cpufreq_policy *policy, int state) in amd_pstate_set_boost()
935 static int amd_pstate_cpu_init(struct cpufreq_policy *policy) in amd_pstate_cpu_init()
1024 static void amd_pstate_cpu_exit(struct cpufreq_policy *policy) in amd_pstate_cpu_exit()
1041 static ssize_t show_amd_pstate_max_freq(struct cpufreq_policy *policy, in show_amd_pstate_max_freq()
1054 static ssize_t show_amd_pstate_lowest_nonlinear_freq(struct cpufreq_policy *policy, in show_amd_pstate_lowest_nonlinear_freq()
1071 static ssize_t show_amd_pstate_highest_perf(struct cpufreq_policy *policy, in show_amd_pstate_highest_perf()
1081 static ssize_t show_amd_pstate_prefcore_ranking(struct cpufreq_policy *policy, in show_amd_pstate_prefcore_ranking()
1092 static ssize_t show_amd_pstate_hw_prefcore(struct cpufreq_policy *policy, in show_amd_pstate_hw_prefcore()
1104 struct cpufreq_policy *policy, char *buf) in show_energy_performance_available_preferences()
1123 struct cpufreq_policy *policy, const char *buf, size_t count) in store_energy_performance_preference()
1154 struct cpufreq_policy *policy, char *buf) in show_energy_performance_preference()
1417 static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_init()
1507 static void amd_pstate_epp_cpu_exit(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_exit()
1519 static int amd_pstate_epp_update_limit(struct cpufreq_policy *policy) in amd_pstate_epp_update_limit()
1539 static int amd_pstate_epp_set_policy(struct cpufreq_policy *policy) in amd_pstate_epp_set_policy()
1562 static int amd_pstate_epp_cpu_online(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_online()
1569 static int amd_pstate_epp_cpu_offline(struct cpufreq_policy *policy) in amd_pstate_epp_cpu_offline()
1574 static int amd_pstate_epp_suspend(struct cpufreq_policy *policy) in amd_pstate_epp_suspend()
1587 static int amd_pstate_epp_resume(struct cpufreq_policy *policy) in amd_pstate_epp_resume()