Searched refs:nr_opp (Results 1 – 3 of 3) sorted by relevance
/drivers/cpufreq/ |
D | scmi-cpufreq.c | 25 int nr_opp; member 123 int ret, nr_opp; in scmi_cpufreq_init() local 171 nr_opp = dev_pm_opp_get_opp_count(cpu_dev); in scmi_cpufreq_init() 172 if (nr_opp <= 0) { in scmi_cpufreq_init() 179 nr_opp = dev_pm_opp_get_opp_count(cpu_dev); in scmi_cpufreq_init() 180 if (nr_opp <= 0) { in scmi_cpufreq_init() 182 __func__, nr_opp); in scmi_cpufreq_init() 196 priv->nr_opp = nr_opp; in scmi_cpufreq_init() 262 if (!priv->nr_opp) in scmi_cpufreq_register_em() 265 em_dev_register_perf_domain(get_cpu_device(policy->cpu), priv->nr_opp, in scmi_cpufreq_register_em()
|
D | mediatek-cpufreq-hw.c | 43 int nr_opp; member 69 for (i = 0; i < data->nr_opp; i++) { in mtk_cpufreq_get_cpu_power() 152 data->nr_opp = i; in mtk_cpu_create_freq_table() 252 em_dev_register_perf_domain(get_cpu_device(policy->cpu), data->nr_opp, in mtk_cpufreq_register_em()
|
/drivers/opp/ |
D | of.c | 1431 int ret, nr_opp; in dev_pm_opp_of_register_em() local 1439 nr_opp = dev_pm_opp_get_opp_count(dev); in dev_pm_opp_of_register_em() 1440 if (nr_opp <= 0) { in dev_pm_opp_of_register_em() 1466 ret = em_dev_register_perf_domain(dev, nr_opp, &em_cb, cpus, true); in dev_pm_opp_of_register_em()
|