Lines Matching refs:pstate_funcs

285 struct pstate_funcs {  struct
296 static struct pstate_funcs pstate_funcs __read_mostly; argument
1708 pstate_funcs.get_val(cpu, pstate)); in intel_pstate_set_pstate()
1726 cpu->pstate.min_pstate = pstate_funcs.get_min(); in intel_pstate_get_cpu_pstates()
1727 cpu->pstate.max_pstate_physical = pstate_funcs.get_max_physical(); in intel_pstate_get_cpu_pstates()
1728 cpu->pstate.turbo_pstate = pstate_funcs.get_turbo(); in intel_pstate_get_cpu_pstates()
1729 cpu->pstate.scaling = pstate_funcs.get_scaling(); in intel_pstate_get_cpu_pstates()
1740 cpu->pstate.max_pstate = pstate_funcs.get_max(); in intel_pstate_get_cpu_pstates()
1744 if (pstate_funcs.get_aperf_mperf_shift) in intel_pstate_get_cpu_pstates()
1745 cpu->aperf_mperf_shift = pstate_funcs.get_aperf_mperf_shift(); in intel_pstate_get_cpu_pstates()
1747 if (pstate_funcs.get_vid) in intel_pstate_get_cpu_pstates()
1748 pstate_funcs.get_vid(cpu); in intel_pstate_get_cpu_pstates()
1972 wrmsrl(MSR_IA32_PERF_CTL, pstate_funcs.get_val(cpu, pstate)); in intel_pstate_update_pstate()
2038 static struct pstate_funcs core_funcs = {
2047 static const struct pstate_funcs silvermont_funcs = {
2057 static const struct pstate_funcs airmont_funcs = {
2067 static const struct pstate_funcs knl_funcs = {
2570 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_adjust_perf_ctl()
2573 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_adjust_perf_ctl()
2849 if (!pstate_funcs.get_max() || in intel_pstate_msrs_not_valid()
2850 !pstate_funcs.get_min() || in intel_pstate_msrs_not_valid()
2851 !pstate_funcs.get_turbo()) in intel_pstate_msrs_not_valid()
2857 static void __init copy_cpu_funcs(struct pstate_funcs *funcs) in copy_cpu_funcs()
2859 pstate_funcs.get_max = funcs->get_max; in copy_cpu_funcs()
2860 pstate_funcs.get_max_physical = funcs->get_max_physical; in copy_cpu_funcs()
2861 pstate_funcs.get_min = funcs->get_min; in copy_cpu_funcs()
2862 pstate_funcs.get_turbo = funcs->get_turbo; in copy_cpu_funcs()
2863 pstate_funcs.get_scaling = funcs->get_scaling; in copy_cpu_funcs()
2864 pstate_funcs.get_val = funcs->get_val; in copy_cpu_funcs()
2865 pstate_funcs.get_vid = funcs->get_vid; in copy_cpu_funcs()
2866 pstate_funcs.get_aperf_mperf_shift = funcs->get_aperf_mperf_shift; in copy_cpu_funcs()
3078 copy_cpu_funcs((struct pstate_funcs *)id->driver_data); in intel_pstate_init()