Lines Matching refs:desired_reg
442 struct cpc_register_resource *desired_reg; in cppc_allow_fast_switch() local
448 desired_reg = &cpc_ptr->cpc_regs[DESIRED_PERF]; in cppc_allow_fast_switch()
449 if (!CPC_IN_SYSTEM_MEMORY(desired_reg) && in cppc_allow_fast_switch()
450 !CPC_IN_SYSTEM_IO(desired_reg)) in cppc_allow_fast_switch()
1587 struct cpc_register_resource *desired_reg, *min_perf_reg, *max_perf_reg; in cppc_set_perf() local
1597 desired_reg = &cpc_desc->cpc_regs[DESIRED_PERF]; in cppc_set_perf()
1608 if (CPC_IN_PCC(desired_reg) || CPC_IN_PCC(min_perf_reg) || CPC_IN_PCC(max_perf_reg)) { in cppc_set_perf()
1631 cpc_write(cpu, desired_reg, perf_ctrls->desired_perf); in cppc_set_perf()
1643 if (CPC_IN_PCC(desired_reg) || CPC_IN_PCC(min_perf_reg) || CPC_IN_PCC(max_perf_reg)) in cppc_set_perf()
1691 if (CPC_IN_PCC(desired_reg) || CPC_IN_PCC(min_perf_reg) || CPC_IN_PCC(max_perf_reg)) { in cppc_set_perf()
1736 struct cpc_register_resource *desired_reg; in cppc_get_transition_latency() local
1744 desired_reg = &cpc_desc->cpc_regs[DESIRED_PERF]; in cppc_get_transition_latency()
1745 if (CPC_IN_SYSTEM_MEMORY(desired_reg) || CPC_IN_SYSTEM_IO(desired_reg)) in cppc_get_transition_latency()
1747 else if (!CPC_IN_PCC(desired_reg)) in cppc_get_transition_latency()