Searched refs:em_cb (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/include/linux/ |
D | energy_model.h | 162 #define EM_SET_ACTIVE_POWER_CB(em_cb, cb) ((em_cb).active_power = cb) argument 317 #define EM_SET_ACTIVE_POWER_CB(em_cb, cb) do { } while (0) argument
|
/linux-6.1.9/Documentation/translations/zh_CN/power/ |
D | energy-model.rst | 174 25 struct em_data_callback em_cb = EM_DATA_CB(est_power); 184 35 em_dev_register_perf_domain(cpu_dev, nr_opp, &em_cb, policy->cpus,
|
/linux-6.1.9/drivers/cpufreq/ |
D | scmi-cpufreq.c | 257 struct em_data_callback em_cb = EM_DATA_CB(scmi_get_cpu_power); in scmi_cpufreq_register_em() local 277 &em_cb, priv->opp_shared_cpus, in scmi_cpufreq_register_em()
|
D | mediatek-cpufreq-hw.c | 273 struct em_data_callback em_cb = EM_DATA_CB(mtk_cpufreq_get_cpu_power); in mtk_cpufreq_register_em() local 277 &em_cb, policy->cpus, true); in mtk_cpufreq_register_em()
|
D | cppc_cpufreq.c | 639 struct em_data_callback em_cb = in cppc_cpufreq_register_em() local 644 get_perf_level_count(policy), &em_cb, in cppc_cpufreq_register_em()
|
/linux-6.1.9/drivers/opp/ |
D | of.c | 1565 struct em_data_callback em_cb; in dev_pm_opp_of_register_em() local 1583 EM_SET_ACTIVE_POWER_CB(em_cb, _get_dt_power); in dev_pm_opp_of_register_em() 1608 EM_SET_ACTIVE_POWER_CB(em_cb, _get_power); 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()
|
/linux-6.1.9/Documentation/power/ |
D | energy-model.rst | 228 25 struct em_data_callback em_cb = EM_DATA_CB(est_power); 238 35 em_dev_register_perf_domain(cpu_dev, nr_opp, &em_cb, policy->cpus,
|