Home
last modified time | relevance | path

Searched refs:cppc_req_cached (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Damd-pstate.c129 static s16 amd_pstate_get_epp(struct amd_cpudata *cpudata, u64 cppc_req_cached) in amd_pstate_get_epp() argument
135 if (!cppc_req_cached) { in amd_pstate_get_epp()
137 &cppc_req_cached); in amd_pstate_get_epp()
141 epp = (cppc_req_cached >> 24) & 0xFF; in amd_pstate_get_epp()
186 wrmsrl(MSR_AMD_CPPC_REQ, READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
189 READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
208 u64 value = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_set_epp()
212 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_set_epp()
457 u64 prev = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_update()
489 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_update()
[all …]
/openbmc/linux/include/linux/
H A Damd-pstate.h70 u64 cppc_req_cached; member