Lines Matching refs:pstate_funcs
124 struct pstate_funcs { struct
135 struct pstate_funcs funcs; argument
139 static struct pstate_funcs pstate_funcs; variable
597 pstate_funcs.set(cpu, pstate); in intel_pstate_set_pstate()
602 cpu->pstate.min_pstate = pstate_funcs.get_min(); in intel_pstate_get_cpu_pstates()
603 cpu->pstate.max_pstate = pstate_funcs.get_max(); in intel_pstate_get_cpu_pstates()
604 cpu->pstate.turbo_pstate = pstate_funcs.get_turbo(); in intel_pstate_get_cpu_pstates()
605 cpu->pstate.scaling = pstate_funcs.get_scaling(); in intel_pstate_get_cpu_pstates()
607 if (pstate_funcs.get_vid) in intel_pstate_get_cpu_pstates()
608 pstate_funcs.get_vid(cpu); in intel_pstate_get_cpu_pstates()
881 if (!pstate_funcs.get_max() || in intel_pstate_msrs_not_valid()
882 !pstate_funcs.get_min() || in intel_pstate_msrs_not_valid()
883 !pstate_funcs.get_turbo()) in intel_pstate_msrs_not_valid()
907 static void copy_cpu_funcs(struct pstate_funcs *funcs) in copy_cpu_funcs()
909 pstate_funcs.get_max = funcs->get_max; in copy_cpu_funcs()
910 pstate_funcs.get_min = funcs->get_min; in copy_cpu_funcs()
911 pstate_funcs.get_turbo = funcs->get_turbo; in copy_cpu_funcs()
912 pstate_funcs.get_scaling = funcs->get_scaling; in copy_cpu_funcs()
913 pstate_funcs.set = funcs->set; in copy_cpu_funcs()
914 pstate_funcs.get_vid = funcs->get_vid; in copy_cpu_funcs()