Defined in 1 files as a function:
Referenced in 13 files:
- arch/arm/mach-versatile/spc.c, line 432
- drivers/clk/tegra/cvb.c, line 76
- drivers/cpufreq/armada-37xx-cpufreq.c, line 487
- drivers/cpufreq/armada-8k-cpufreq.c, line 92
- drivers/cpufreq/mvebu-cpufreq.c
- drivers/cpufreq/qcom-cpufreq-hw.c, line 104
- drivers/cpufreq/raspberrypi-cpufreq.c, line 48
- drivers/devfreq/hisi_uncore_freq.c, line 336
- drivers/devfreq/sun8i-a33-mbus.c, line 408
- drivers/firmware/arm_scpi.c, line 705
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c, line 278
- drivers/media/platform/qcom/venus/pm_helpers.c, line 1142
- drivers/ufs/core/ufshcd.c
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_devfreq_init() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 2 | u_volt | 0 |
| NOCHECK_CALL |
drivers/ufs/core/ufshcd.c ufshcd_devfreq_init() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 2 | u_volt | 0 |
| NOCHECK_CALL |
drivers/cpufreq/armada-37xx-cpufreq.c armada37xx_cpufreq_driver_init() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| 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->mmap | 0,5761417605877342208,7694740394750603264 |
| 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 | 1 | freq | 100000000-1200000000 |
| PARAM_VALUE | 2 | u_volt | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| BIT_INFO | 2 | u_volt | 0x0,0x7fffffff |
| BIT_INFO | 2 | u_volt | 0x0,0x7fffffff |
drivers/devfreq/sun8i-a33-mbus.c sun8i_a33_mbus_probe() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 2 | u_volt | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/armada-8k-cpufreq.c armada_8k_add_opp() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 0 | dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 2 | u_volt | 0 |
| DATA_SOURCE | 0 | dev | $1 |
drivers/gpu/drm/msm/adreno/adreno_gpu.c adreno_get_pwrlevels() -> dev_pm_opp_add()
| 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->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | freq | 200000000 |
| PARAM_VALUE | 2 | u_volt | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/adreno/adreno_gpu.c adreno_get_pwrlevels() -> dev_pm_opp_add()
| 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->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | freq | 450000000 |
| PARAM_VALUE | 2 | u_volt | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c gk20a_devfreq_init() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | freq | 0-u32max |
| PARAM_VALUE | 2 | u_volt | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &subdev->use.mutex | ||
| HALF_LOCKED2 | flags |
drivers/cpufreq/raspberrypi-cpufreq.c raspberrypi_cpufreq_probe() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| 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->mmap | 0,5761417605877342208,7694740394750603264 |
| 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 | 2 | u_volt | 0 |
| CAPPED_DATA | 1 | freq | 1 |
| CAPPED_DATA | 1 | freq | 1 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/firmware/arm_scpi.c scpi_dvfs_add_opps_to_device() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 2 | u_volt | 0-u32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/media/platform/qcom/venus/pm_helpers.c core_get_v4() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 2 | u_volt | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/qcom-cpufreq-hw.c qcom_cpufreq_update_opp() -> dev_pm_opp_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | u_volt | $2 |
| STR_LEN | 0 | dev | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | dev | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |