Lines Matching refs:pstate
30 } pstate; member
44 static int get_did(union core_pstate pstate) in get_did() argument
49 t = pstate.pstatedef.did; in get_did()
51 t = pstate.val & 0xf; in get_did()
53 t = pstate.pstate.did; in get_did()
58 static int get_cof(union core_pstate pstate) in get_cof() argument
63 did = get_did(pstate); in get_cof()
65 fid = pstate.pstatedef.fid; in get_cof()
69 fid = pstate.pstate.fid; in get_cof()
93 union core_pstate pstate; in decode_pstates() local
113 if (read_msr(cpu, MSR_AMD_PSTATE + i, &pstate.val)) in decode_pstates()
117 if (!pstate.pstatedef.en) in decode_pstates()
120 pstates[i] = get_cof(pstate); in decode_pstates()