Lines Matching defs:pstate
33 } pstate;
57 static int get_did(union core_pstate pstate)
66 t = pstate.pstatedef.did;
68 t = pstate.val & 0xf;
70 t = pstate.pstate.did;
75 static int get_cof(union core_pstate pstate)
80 did = get_did(pstate);
83 fid = pstate.pstatedef2.fid;
87 fid = pstate.pstatedef.fid;
92 fid = pstate.pstate.fid;
116 union core_pstate pstate;
136 if (read_msr(cpu, MSR_AMD_PSTATE + i, &pstate.val))
140 if (!pstate.pstatedef.en)
143 pstates[i] = get_cof(pstate);
223 printf(_(" amd-pstate limits:\n"));
228 * frequency. So we read it back from amd-pstate sysfs entry.