Home
last modified time | relevance | path

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

/linux-6.8/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()
368 wrmsrl(MSR_AMD_CPPC_REQ, READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
371 READ_ONCE(cpudata->cppc_req_cached)); in pstate_update_perf()
433 u64 prev = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_update()
465 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_update()
[all …]
/linux-6.8/include/linux/
Damd-pstate.h67 u64 cppc_req_cached; member