Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/cpufreq/
Damd-pstate.c125 static s16 amd_pstate_get_epp(struct amd_cpudata *cpudata, u64 cppc_req_cached) in amd_pstate_get_epp() argument
131 if (!cppc_req_cached) { in amd_pstate_get_epp()
133 &cppc_req_cached); in amd_pstate_get_epp()
137 epp = (cppc_req_cached >> 24) & 0xFF; in amd_pstate_get_epp()
184 u64 value = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_set_epp()
188 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_set_epp()
367 wrmsrl(MSR_AMD_CPPC_REQ, READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
370 READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
432 u64 prev = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_update()
460 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_update()
[all …]
/Linux-v6.6/include/linux/
Damd-pstate.h67 u64 cppc_req_cached; member