Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/energy_model.h, line 354 (as a function)
- kernel/power/energy_model.c, line 588 (as a function)
Referenced in 5 files:
- drivers/cpufreq/cppc_cpufreq.c, line 562
- drivers/cpufreq/mediatek-cpufreq-hw.c, line 351
- drivers/cpufreq/scmi-cpufreq.c, line 378
- drivers/opp/of.c, line 1588
- kernel/power/energy_model.c, line 599
Smatch caller information:
drivers/opp/of.c dev_pm_opp_of_register_em() -> em_dev_register_perf_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | nr_states | 1-s32max |
| PARAM_VALUE | 2 | cb | 856926804404768768 |
| PARAM_VALUE | 2 | cb->active_power | 431456458289328128,4182095532106928128 |
| PARAM_VALUE | 3 | cpus | 0 |
| PARAM_VALUE | 4 | microwatts | 1 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | nr_states | r dev_pm_opp_get_opp_count |
| DATA_SOURCE | 3 | cpus | $1 |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 0 | dev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/cpufreq/scmi-cpufreq.c scmi_cpufreq_register_em() -> em_dev_register_perf_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nr_states | 1-u32max |
| PARAM_VALUE | 2 | cb | 6304146191061172224 |
| PARAM_VALUE | 2 | cb->active_power | 273928386749112320 |
| PARAM_VALUE | 2 | cb->get_cost | 0 |
| NOCHECK_CALL |
drivers/cpufreq/mediatek-cpufreq-hw.c mtk_cpufreq_register_em() -> em_dev_register_perf_domain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nr_states | 0-32 |
| PARAM_VALUE | 2 | cb | 506283064629043200 |
| PARAM_VALUE | 2 | cb->active_power | 4382815594377748480 |
| PARAM_VALUE | 2 | cb->get_cost | 0 |
| PARAM_VALUE | 4 | microwatts | 1 |
| NOCHECK_CALL |