Lines Matching refs:cppc_req_cached
183 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()
678 u64 value = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_cpu_boost_update()
682 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_cpu_boost_update()
1480 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_epp_cpu_init()
1535 value = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_epp_update_limit()
1572 WRITE_ONCE(cpudata->cppc_req_cached, value); in amd_pstate_epp_update_limit()
1612 value = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_epp_reenable()
1646 value = READ_ONCE(cpudata->cppc_req_cached); in amd_pstate_epp_offline()