Home
last modified time | relevance | path

Searched refs:nr_opp (Results 1 – 3 of 3) sorted by relevance

/drivers/cpufreq/
Dscmi-cpufreq.c26 int nr_opp; member
129 int ret, nr_opp; in scmi_cpufreq_init() local
177 nr_opp = dev_pm_opp_get_opp_count(cpu_dev); in scmi_cpufreq_init()
178 if (nr_opp <= 0) { in scmi_cpufreq_init()
185 nr_opp = dev_pm_opp_get_opp_count(cpu_dev); in scmi_cpufreq_init()
186 if (nr_opp <= 0) { in scmi_cpufreq_init()
188 __func__, nr_opp); in scmi_cpufreq_init()
202 priv->nr_opp = nr_opp; in scmi_cpufreq_init()
269 if (!priv->nr_opp) in scmi_cpufreq_register_em()
276 em_dev_register_perf_domain(get_cpu_device(policy->cpu), priv->nr_opp, in scmi_cpufreq_register_em()
Dmediatek-cpufreq-hw.c41 int nr_opp; member
67 for (i = 0; i < data->nr_opp; i++) { in mtk_cpufreq_get_cpu_power()
151 data->nr_opp = i; in mtk_cpu_create_freq_table()
276 em_dev_register_perf_domain(get_cpu_device(policy->cpu), data->nr_opp, in mtk_cpufreq_register_em()
/drivers/opp/
Dof.c1567 int ret, nr_opp; in dev_pm_opp_of_register_em() local
1575 nr_opp = dev_pm_opp_get_opp_count(dev); in dev_pm_opp_of_register_em()
1576 if (nr_opp <= 0) { in dev_pm_opp_of_register_em()
1611 ret = em_dev_register_perf_domain(dev, nr_opp, &em_cb, cpus, true); in dev_pm_opp_of_register_em()