Home
last modified time | relevance | path

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

/linux/drivers/cpufreq/
H A Damd-pstate.c183 static s16 amd_pstate_get_epp(struct amd_cpudata *cpudata, u64 cppc_req_cached) in amd_pstate_get_epp() argument
189 if (!cppc_req_cached) { in amd_pstate_get_epp()
191 &cppc_req_cached); in amd_pstate_get_epp()
195 epp = (cppc_req_cached >> 24) & 0xFF; in amd_pstate_get_epp()
240 wrmsrl(MSR_AMD_CPPC_REQ, READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
243 READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
262 u64 value = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_set_epp()
266 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_set_epp()
481 u64 prev = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_update()
521 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_update()
[all …]
H A Damd-pstate.h72 u64 cppc_req_cached; member