Lines Matching refs:pstate
33 } pstate; member
47 static int get_did(union core_pstate pstate) in get_did() argument
52 t = pstate.pstatedef.did; in get_did()
54 t = pstate.val & 0xf; in get_did()
56 t = pstate.pstate.did; in get_did()
61 static int get_cof(union core_pstate pstate) in get_cof() argument
66 did = get_did(pstate); in get_cof()
68 fid = pstate.pstatedef.fid; in get_cof()
72 fid = pstate.pstate.fid; in get_cof()
96 union core_pstate pstate; in decode_pstates() local
116 if (read_msr(cpu, MSR_AMD_PSTATE + i, &pstate.val)) in decode_pstates()
120 if (!pstate.pstatedef.en) in decode_pstates()
123 pstates[i] = get_cof(pstate); in decode_pstates()