Lines Matching refs:pstate_funcs
125 struct pstate_funcs { struct
136 struct pstate_funcs funcs; argument
140 static struct pstate_funcs pstate_funcs; variable
725 pstate_funcs.set(cpu, pstate); in intel_pstate_set_pstate()
730 cpu->pstate.min_pstate = pstate_funcs.get_min(); in intel_pstate_get_cpu_pstates()
731 cpu->pstate.max_pstate = pstate_funcs.get_max(); in intel_pstate_get_cpu_pstates()
732 cpu->pstate.turbo_pstate = pstate_funcs.get_turbo(); in intel_pstate_get_cpu_pstates()
733 cpu->pstate.scaling = pstate_funcs.get_scaling(); in intel_pstate_get_cpu_pstates()
735 if (pstate_funcs.get_vid) in intel_pstate_get_cpu_pstates()
736 pstate_funcs.get_vid(cpu); in intel_pstate_get_cpu_pstates()
1068 if (!pstate_funcs.get_max() || in intel_pstate_msrs_not_valid()
1069 !pstate_funcs.get_min() || in intel_pstate_msrs_not_valid()
1070 !pstate_funcs.get_turbo()) in intel_pstate_msrs_not_valid()
1086 static void copy_cpu_funcs(struct pstate_funcs *funcs) in copy_cpu_funcs()
1088 pstate_funcs.get_max = funcs->get_max; in copy_cpu_funcs()
1089 pstate_funcs.get_min = funcs->get_min; in copy_cpu_funcs()
1090 pstate_funcs.get_turbo = funcs->get_turbo; in copy_cpu_funcs()
1091 pstate_funcs.get_scaling = funcs->get_scaling; in copy_cpu_funcs()
1092 pstate_funcs.set = funcs->set; in copy_cpu_funcs()
1093 pstate_funcs.get_vid = funcs->get_vid; in copy_cpu_funcs()