Lines Matching refs:pstate
33 } pstate;
47 static int get_did(union core_pstate pstate)
52 t = pstate.pstatedef.did;
54 t = pstate.val & 0xf;
56 t = pstate.pstate.did;
61 static int get_cof(union core_pstate pstate)
66 did = get_did(pstate);
68 fid = pstate.pstatedef.fid;
72 fid = pstate.pstate.fid;
96 union core_pstate pstate;
116 if (read_msr(cpu, MSR_AMD_PSTATE + i, &pstate.val))
120 if (!pstate.pstatedef.en)
123 pstates[i] = get_cof(pstate);
202 * frequency. So we read it back from amd-pstate sysfs entry.