Lines Matching refs:pstate_funcs
128 struct pstate_funcs { struct
140 struct pstate_funcs funcs; argument
144 static struct pstate_funcs pstate_funcs; variable
848 pstate_funcs.set(cpu, pstate); in intel_pstate_set_pstate()
853 cpu->pstate.min_pstate = pstate_funcs.get_min(); in intel_pstate_get_cpu_pstates()
854 cpu->pstate.max_pstate = pstate_funcs.get_max(); in intel_pstate_get_cpu_pstates()
855 cpu->pstate.max_pstate_physical = pstate_funcs.get_max_physical(); in intel_pstate_get_cpu_pstates()
856 cpu->pstate.turbo_pstate = pstate_funcs.get_turbo(); in intel_pstate_get_cpu_pstates()
857 cpu->pstate.scaling = pstate_funcs.get_scaling(); in intel_pstate_get_cpu_pstates()
859 if (pstate_funcs.get_vid) in intel_pstate_get_cpu_pstates()
860 pstate_funcs.get_vid(cpu); in intel_pstate_get_cpu_pstates()
1218 if (!pstate_funcs.get_max() || in intel_pstate_msrs_not_valid()
1219 !pstate_funcs.get_min() || in intel_pstate_msrs_not_valid()
1220 !pstate_funcs.get_turbo()) in intel_pstate_msrs_not_valid()
1236 static void copy_cpu_funcs(struct pstate_funcs *funcs) in copy_cpu_funcs()
1238 pstate_funcs.get_max = funcs->get_max; in copy_cpu_funcs()
1239 pstate_funcs.get_max_physical = funcs->get_max_physical; in copy_cpu_funcs()
1240 pstate_funcs.get_min = funcs->get_min; in copy_cpu_funcs()
1241 pstate_funcs.get_turbo = funcs->get_turbo; in copy_cpu_funcs()
1242 pstate_funcs.get_scaling = funcs->get_scaling; in copy_cpu_funcs()
1243 pstate_funcs.set = funcs->set; in copy_cpu_funcs()
1244 pstate_funcs.get_vid = funcs->get_vid; in copy_cpu_funcs()