Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/pmdomain/core.c, line 579 (as a function)
- include/linux/pm_domain.h, line 384 (as a function)
Referenced in 11 files:
- drivers/bus/qcom-ssc-block-bus.c
- drivers/clk/tegra/clk-device.c, line 58
- drivers/gpu/drm/tegra/dc.c
- drivers/media/platform/amd/isp4/isp4_subdev.c
- drivers/nvmem/qfprom.c
- drivers/pmdomain/core.c
- drivers/regulator/fixed.c
- drivers/remoteproc/qcom_q6v5_adsp.c
- drivers/remoteproc/qcom_q6v5_mss.c
- drivers/remoteproc/qcom_q6v5_pas.c
- drivers/remoteproc/qcom_wcnss.c
Smatch caller information:
drivers/nvmem/qfprom.c qfprom_disable_fuse_blowing() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm_domain | 0,4096-u64max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/nvmem/qfprom.c qfprom_enable_fuse_blowing() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | state | s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/pmdomain/core.c __genpd_dev_pm_attach() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 0 | dev->dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 0 | dev->dma_ops->cache_sync | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | dev->dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 0 | dev->dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 0 | dev->dma_ops->get_merge_boundary | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 0 | dev->dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | dev->dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->opt_mapping_size | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 0 | dev->iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->pm_domain | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm_domain->detach | 4576848636919369728 |
| PARAM_VALUE | 0 | dev->pm_domain->sync | 9206289131527999488 |
| PARAM_VALUE | 0 | dev->power.qos->flags.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->flags.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.default_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.target_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.type | 2 |
| PARAM_VALUE | 0 | dev->power.qos->freq.min_freq.notifiers->head | 1-u64max |
| PARAM_VALUE | 0 | dev->power.qos->latency_tolerance.no_constraint_value | (-1) |
| PARAM_VALUE | 0 | dev->power.qos->latency_tolerance.type | 2 |
| PARAM_VALUE | 0 | dev->power.qos->resume_latency.notifiers->head | 1-u64max |
| PARAM_VALUE | 0 | dev->power.subsys_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->domain_data | 0,4096-ptr_max |
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | dev | (-1)-0,4,16,24-s32max |
| BUF_SIZE | 0 | dev | (-1)-0,4,16,24-s32max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 0 | dev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->flags | 4096-u32max |
| HALF_LOCKED2 | &base_dev->mutex | ||
| HALF_LOCKED2 | 0 | &dev->mutex |
drivers/pmdomain/core.c genpd_dev_pm_detach() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 0 | dev->dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 0 | dev->dma_ops->cache_sync | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | dev->dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 0 | dev->dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 0 | dev->dma_ops->get_merge_boundary | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 0 | dev->dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | dev->dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->opt_mapping_size | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 0 | dev->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->pm_domain | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm_domain->detach | 1-u64max |
| PARAM_VALUE | 0 | dev->power.subsys_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | dev | (-1)-0,4,8,16,24-s32max |
| BUF_SIZE | 0 | dev | (-1)-0,4,8,16,24-s32max |
| BUF_SIZE | 0 | dev->bus | (-1),168 |
| BUF_SIZE | 0 | dev->driver | (-1),152 |
| BUF_SIZE | 0 | dev->groups | (-1),16 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->flags | 4096-u32max |
| NO_OVERFLOW_SIMPLE | 0 | dev->physical_location | |
| HALF_LOCKED2 | 0 | &dev->mutex |
drivers/pmdomain/core.c genpd_set_required_opp() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm_domain | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm_domain->detach | 4576848636919369728 |
| PARAM_VALUE | 0 | dev->pm_domain->sync | 9206289131527999488 |
| PARAM_VALUE | 0 | dev->power.qos->flags.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->flags.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.default_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.notifiers | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.target_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.type | 2 |
| PARAM_VALUE | 0 | dev->power.qos->latency_tolerance.no_constraint_value | (-1) |
| PARAM_VALUE | 0 | dev->power.qos->latency_tolerance.type | 2 |
| PARAM_VALUE | 0 | dev->power.qos->resume_latency.notifiers->head | 1-u64max |
| PARAM_VALUE | 0 | dev->power.subsys_data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->power.subsys_data->clock_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.subsys_data->domain_data | 0,4096-ptr_max |
| PARAM_VALUE | 1 | state | 1-s32max |
| BUF_SIZE | 0 | dev | (-1)-0,24-s32max |
| BUF_SIZE | 0 | dev | (-1)-0,24-s32max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | state | r of_get_required_opp_performance_state |
| 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 |
| HALF_LOCKED2 | 0 | &dev->mutex |
drivers/regulator/fixed.c reg_domain_disable() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/regulator/fixed.c reg_domain_enable() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/gpu/drm/tegra/dc.c tegra_crtc_atomic_disable() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/dc.c tegra_dc_update_voltage_state() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-ptr_max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 1 | state | r dev_pm_opp_get_required_pstate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/media/platform/amd/isp4/isp4_subdev.c isp4sd_pwroff_and_deinit() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &vq->mmap_lock |
drivers/media/platform/amd/isp4/isp4_subdev.c isp4sd_pwron_and_init() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vq->lock |
drivers/media/platform/amd/isp4/isp4_subdev.c isp4sd_pwron_and_init() -> dev_pm_genpd_set_performance_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vq->lock |