Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/acpi/
Dcppc_acpi.c70 struct rw_semaphore pcc_lock; member
847 init_rwsem(&pcc_data[pcc_subspace_id]->pcc_lock); in acpi_cppc_processor_probe()
1075 down_write(&pcc_ss_data->pcc_lock); in cppc_get_desired_perf()
1082 up_write(&pcc_ss_data->pcc_lock); in cppc_get_desired_perf()
1134 down_write(&pcc_ss_data->pcc_lock); in cppc_get_perf_caps()
1178 up_write(&pcc_ss_data->pcc_lock); in cppc_get_perf_caps()
1225 down_write(&pcc_ss_data->pcc_lock); in cppc_get_perf_ctrs()
1258 up_write(&pcc_ss_data->pcc_lock); in cppc_get_perf_ctrs()
1298 down_read(&pcc_ss_data->pcc_lock); /* BEGIN Phase-I */ in cppc_set_perf()
1302 up_read(&pcc_ss_data->pcc_lock); in cppc_set_perf()
[all …]
/Linux-v5.4/drivers/cpufreq/
Dpcc-cpufreq.c95 static DEFINE_SPINLOCK(pcc_lock);
149 spin_lock(&pcc_lock); in pcc_get_freq()
188 spin_unlock(&pcc_lock); in pcc_get_freq()
193 spin_unlock(&pcc_lock); in pcc_get_freq()
218 spin_lock(&pcc_lock); in pcc_cpufreq_target()
235 spin_unlock(&pcc_lock); in pcc_cpufreq_target()