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 = pstate_funcs.get_max(); in intel_pstate_get_cpu_pstates()
1728 cpu->pstate.max_pstate_physical = pstate_funcs.get_max_physical(); in intel_pstate_get_cpu_pstates()
1729 cpu->pstate.turbo_pstate = pstate_funcs.get_turbo(); in intel_pstate_get_cpu_pstates()
1730 cpu->pstate.scaling = pstate_funcs.get_scaling(); in intel_pstate_get_cpu_pstates()
1743 if (pstate_funcs.get_aperf_mperf_shift) in intel_pstate_get_cpu_pstates()
1744 cpu->aperf_mperf_shift = pstate_funcs.get_aperf_mperf_shift(); in intel_pstate_get_cpu_pstates()
1746 if (pstate_funcs.get_vid) in intel_pstate_get_cpu_pstates()
1747 pstate_funcs.get_vid(cpu); in intel_pstate_get_cpu_pstates()
1971 wrmsrl(MSR_IA32_PERF_CTL, pstate_funcs.get_val(cpu, pstate)); in intel_pstate_update_pstate()
2037 static struct pstate_funcs core_funcs = {
2046 static const struct pstate_funcs silvermont_funcs = {
2056 static const struct pstate_funcs airmont_funcs = {
2066 static const struct pstate_funcs knl_funcs = {
2559 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_adjust_perf_ctl()
2562 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_adjust_perf_ctl()
2838 if (!pstate_funcs.get_max() || in intel_pstate_msrs_not_valid()
2839 !pstate_funcs.get_min() || in intel_pstate_msrs_not_valid()
2840 !pstate_funcs.get_turbo()) in intel_pstate_msrs_not_valid()
2846 static void __init copy_cpu_funcs(struct pstate_funcs *funcs) in copy_cpu_funcs()
2848 pstate_funcs.get_max = funcs->get_max; in copy_cpu_funcs()
2849 pstate_funcs.get_max_physical = funcs->get_max_physical; in copy_cpu_funcs()
2850 pstate_funcs.get_min = funcs->get_min; in copy_cpu_funcs()
2851 pstate_funcs.get_turbo = funcs->get_turbo; in copy_cpu_funcs()
2852 pstate_funcs.get_scaling = funcs->get_scaling; in copy_cpu_funcs()
2853 pstate_funcs.get_val = funcs->get_val; in copy_cpu_funcs()
2854 pstate_funcs.get_vid = funcs->get_vid; in copy_cpu_funcs()
2855 pstate_funcs.get_aperf_mperf_shift = funcs->get_aperf_mperf_shift; in copy_cpu_funcs()
3048 copy_cpu_funcs((struct pstate_funcs *)id->driver_data); in intel_pstate_init()