Lines Matching refs:pstate_funcs

283 struct pstate_funcs {  struct
295 static struct pstate_funcs pstate_funcs __read_mostly; argument
525 int perf_ctl_turbo = pstate_funcs.get_turbo(cpu->cpu); in intel_pstate_hybrid_hwp_adjust()
1971 pstate_funcs.get_val(cpu, pstate)); in intel_pstate_set_pstate()
1989 int perf_ctl_max_phys = pstate_funcs.get_max_physical(cpu->cpu); in intel_pstate_get_cpu_pstates()
1990 int perf_ctl_scaling = pstate_funcs.get_scaling(); in intel_pstate_get_cpu_pstates()
1992 cpu->pstate.min_pstate = pstate_funcs.get_min(cpu->cpu); in intel_pstate_get_cpu_pstates()
1999 if (pstate_funcs.get_cpu_scaling) { in intel_pstate_get_cpu_pstates()
2000 cpu->pstate.scaling = pstate_funcs.get_cpu_scaling(cpu->cpu); in intel_pstate_get_cpu_pstates()
2008 cpu->pstate.max_pstate = pstate_funcs.get_max(cpu->cpu); in intel_pstate_get_cpu_pstates()
2009 cpu->pstate.turbo_pstate = pstate_funcs.get_turbo(cpu->cpu); in intel_pstate_get_cpu_pstates()
2018 if (pstate_funcs.get_aperf_mperf_shift) in intel_pstate_get_cpu_pstates()
2019 cpu->aperf_mperf_shift = pstate_funcs.get_aperf_mperf_shift(); in intel_pstate_get_cpu_pstates()
2021 if (pstate_funcs.get_vid) in intel_pstate_get_cpu_pstates()
2022 pstate_funcs.get_vid(cpu); in intel_pstate_get_cpu_pstates()
2247 wrmsrl(MSR_IA32_PERF_CTL, pstate_funcs.get_val(cpu, pstate)); in intel_pstate_update_pstate()
2313 static struct pstate_funcs core_funcs = {
2322 static const struct pstate_funcs silvermont_funcs = {
2332 static const struct pstate_funcs airmont_funcs = {
2342 static const struct pstate_funcs knl_funcs = {
2837 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_perf_ctl_update()
2840 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_perf_ctl_update()
3185 if (!pstate_funcs.get_max(0) || in intel_pstate_msrs_not_valid()
3186 !pstate_funcs.get_min(0) || in intel_pstate_msrs_not_valid()
3187 !pstate_funcs.get_turbo(0)) in intel_pstate_msrs_not_valid()
3193 static void __init copy_cpu_funcs(struct pstate_funcs *funcs) in copy_cpu_funcs()
3195 pstate_funcs.get_max = funcs->get_max; in copy_cpu_funcs()
3196 pstate_funcs.get_max_physical = funcs->get_max_physical; in copy_cpu_funcs()
3197 pstate_funcs.get_min = funcs->get_min; in copy_cpu_funcs()
3198 pstate_funcs.get_turbo = funcs->get_turbo; in copy_cpu_funcs()
3199 pstate_funcs.get_scaling = funcs->get_scaling; in copy_cpu_funcs()
3200 pstate_funcs.get_val = funcs->get_val; in copy_cpu_funcs()
3201 pstate_funcs.get_vid = funcs->get_vid; in copy_cpu_funcs()
3202 pstate_funcs.get_aperf_mperf_shift = funcs->get_aperf_mperf_shift; in copy_cpu_funcs()
3414 pstate_funcs.get_cpu_scaling = hybrid_get_cpu_scaling; in intel_pstate_init()
3429 copy_cpu_funcs((struct pstate_funcs *)id->driver_data); in intel_pstate_init()