Searched refs:nr_opp (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/cpufreq/ |
H A D | scmi-cpufreq.c | 26 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()
|
H A 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() 153 data->nr_opp = i; in mtk_cpu_create_freq_table() 282 em_dev_register_perf_domain(get_cpu_device(policy->cpu), data->nr_opp, in mtk_cpufreq_register_em()
|
/openbmc/linux/Documentation/translations/zh_CN/power/ |
H A D | energy-model.rst | 196 27 int nr_opp; 201 32 nr_opp = foo_get_nr_opp(policy); 204 35 em_dev_register_perf_domain(cpu_dev, nr_opp, &em_cb, policy->cpus,
|
/openbmc/linux/Documentation/power/ |
H A D | energy-model.rst | 230 27 int nr_opp; 235 32 nr_opp = foo_get_nr_opp(policy); 238 35 em_dev_register_perf_domain(cpu_dev, nr_opp, &em_cb, policy->cpus,
|
/openbmc/linux/drivers/opp/ |
H A D | of.c | 1544 int ret, nr_opp; in dev_pm_opp_of_register_em() local 1552 nr_opp = dev_pm_opp_get_opp_count(dev); in dev_pm_opp_of_register_em() 1553 if (nr_opp <= 0) { in dev_pm_opp_of_register_em() 1588 ret = em_dev_register_perf_domain(dev, nr_opp, &em_cb, cpus, true); in dev_pm_opp_of_register_em()
|