Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 9 files:
- drivers/base/power/common.c, line 259
- drivers/cpufreq/airoha-cpufreq.c, line 60
- drivers/cpufreq/qcom-cpufreq-nvmem.c, line 547
- drivers/cpufreq/sti-cpufreq.c, line 221
- drivers/cpufreq/sun50i-cpufreq-nvmem.c, line 278
- drivers/cpufreq/ti-cpufreq.c, line 575
- drivers/opp/core.c
- drivers/pmdomain/core.c, line 3331
- include/linux/pm_opp.h
Smatch caller information:
drivers/cpufreq/qcom-cpufreq-nvmem.c qcom_cpufreq_probe() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 1 | config | 750538722584690688 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0,1768128460195004416 |
| PARAM_VALUE | 1 | config->regulator_names | 0 |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 4096-ptr_max |
| PARAM_VALUE | 1 | config->supported_hw_count | 1 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/ti-cpufreq.c ti_cpufreq_probe() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0 |
| PARAM_VALUE | 0 | dev->class | 0 |
| PARAM_VALUE | 0 | dev->driver | 0 |
| PARAM_VALUE | 1 | config | 645385739265695744 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 1606493059990372352 |
| PARAM_VALUE | 1 | config->supported_hw_count | 2 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| MEM_ZERO | 0 | dev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pmdomain/core.c genpd_set_required_opp_dev() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm_domain | 0 |
| PARAM_VALUE | 1 | config | 1458006313900052480 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->regulator_names | 0 |
| PARAM_VALUE | 1 | config->required_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 0 |
| PARAM_VALUE | 1 | config->supported_hw_count | 0 |
| BUF_SIZE | 0 | dev | (-1)-0,24-s32max |
| BUF_SIZE | 0 | dev | (-1)-0,24-s32max |
| BUF_SIZE | 0 | dev->driver | (-1),152 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| STR_LEN | 0 | dev | (-1),2-6,8 |
| STR_LEN | 0 | dev | (-1),2-6,8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->flags | 4096-u32max |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | 0 | &dev->mutex |
drivers/cpufreq/tegra20-cpufreq.c dev_pm_opp_set_supported_hw() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 1 | config | 6241400803000225792 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->regulator_names | 0 |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 4096-ptr_max |
| PARAM_VALUE | 1 | config->supported_hw_count | 2 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/memory/tegra/tegra124-emc.c dev_pm_opp_set_supported_hw() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | config | 3449602296952963072 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->regulator_names | 0 |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 2386512607609630720 |
| PARAM_VALUE | 1 | config->supported_hw_count | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/airoha-cpufreq.c airoha_cpufreq_probe() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 1 | config | 963249834277994496 |
| PARAM_VALUE | 1 | config->clk_names | 6669206824523907072 |
| PARAM_VALUE | 1 | config->config_clks | 3402123326960353280 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->regulator_names | 0 |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 0 |
| PARAM_VALUE | 1 | config->supported_hw_count | 0 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/devfreq/exynos-bus.c dev_pm_opp_set_regulators() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | config | 6044435484362780672 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->regulator_names | 4096-ptr_max |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 0 |
| PARAM_VALUE | 1 | config->supported_hw_count | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/imx-cpufreq-dt.c dev_pm_opp_set_supported_hw() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | config | 6544925650225205248 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->regulator_names | 0 |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 4096-ptr_max |
| PARAM_VALUE | 1 | config->supported_hw_count | 2 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/power/common.c dev_pm_domain_attach_list() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | config | 4555446822766854144 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->regulator_names | 0 |
| PARAM_VALUE | 1 | config->required_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | config->required_dev_index | 0-s32max |
| PARAM_VALUE | 1 | config->supported_hw | 0 |
| PARAM_VALUE | 1 | config->supported_hw_count | 0 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | config->required_dev_index | |
| UNITS | 0 | dev | unit_byte |
drivers/cpufreq/sti-cpufreq.c sti_cpufreq_set_opp_info() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 0,4096-ptr_max |
| PARAM_VALUE | 1 | config | 3203986449497272320 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 7407683647200854016 |
| PARAM_VALUE | 1 | config->regulator_names | 0 |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 7072306900884987904 |
| PARAM_VALUE | 1 | config->supported_hw_count | 3 |
drivers/opp/ti-opp-supply.c dev_pm_opp_set_config_regulators() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | config | 134982248351010816 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 3970711560127991808 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->regulator_names | 0 |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 0 |
| PARAM_VALUE | 1 | config->supported_hw_count | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/cpufreq-dt.c dev_pm_opp_set_regulators() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | config | 109613901552345088 |
| PARAM_VALUE | 1 | config->clk_names | 0 |
| PARAM_VALUE | 1 | config->config_clks | 0 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->regulator_names | 4096-ptr_max |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 0 |
| PARAM_VALUE | 1 | config->supported_hw_count | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/opp/core.c devm_pm_opp_set_config() -> dev_pm_opp_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 1 | config | 4096-ptr_max |
| PARAM_VALUE | 1 | config->config_clks | 0,232099266144165888,5220440303299035136,7298618857205813248 |
| PARAM_VALUE | 1 | config->config_regulators | 0 |
| PARAM_VALUE | 1 | config->prop_name | 0 |
| PARAM_VALUE | 1 | config->required_dev | 0 |
| PARAM_VALUE | 1 | config->required_dev_index | 0 |
| PARAM_VALUE | 1 | config->supported_hw | 0,6669232116301824,1679660119048142848,1928751305811513344,6395704508960903168 |
| PARAM_VALUE | 1 | config->supported_hw_count | 0-1 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | config | $1 |
| STR_LEN | 0 | dev | (-1),2,4,8-9 |
| STR_LEN | 0 | dev | (-1),2,4,8-9 |
| HARD_MAX | 1 | config->supported_hw_count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |