Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/devfreq/devfreq.c, line 1031 (as a function)
- include/linux/devfreq.h, line 358 (as a function)
Referenced in 15 files:
- drivers/devfreq/devfreq.c, line 1053
- drivers/devfreq/exynos-bus.c
- drivers/devfreq/hisi_uncore_freq.c
- drivers/devfreq/imx-bus.c, line 125
- drivers/devfreq/imx8m-ddrc.c, line 424
- drivers/devfreq/mtk-cci-devfreq.c, line 362
- drivers/devfreq/rk3399_dmc.c, line 440
- drivers/devfreq/tegra30-devfreq.c, line 934
- drivers/gpu/drm/lima/lima_devfreq.c, line 159
- drivers/gpu/drm/msm/msm_gpu_devfreq.c, line 179
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c, line 290
- drivers/gpu/drm/panfrost/panfrost_devfreq.c, line 208
- drivers/gpu/drm/panthor/panthor_devfreq.c, line 249
- drivers/memory/samsung/exynos5422-dmc.c, line 1517
- drivers/memory/tegra/tegra20-emc.c, line 1073
Smatch caller information:
drivers/gpu/drm/lima/lima_devfreq.c lima_devfreq_init() -> devm_devfreq_add_device()
| 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->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | profile | 9003998757583147008 |
| PARAM_VALUE | 2 | governor_name | 1072439485764546560 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | governor_name | 16 |
| BUF_SIZE | 3 | data | 8 |
| CAPPED_DATA | 0 | dev | 1 |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 2 | governor_name | 1 |
| MEM_ZERO | 3 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/panfrost/panfrost_devfreq.c panfrost_devfreq_init() -> devm_devfreq_add_device()
| 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->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | profile | 8338340060546809856 |
| PARAM_VALUE | 2 | governor_name | 1072439485764546560 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 2 | governor_name | 16 |
| BUF_SIZE | 3 | data | 8 |
| CAPPED_DATA | 0 | dev | 1 |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 2 | governor_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/gpu/drm/msm/msm_gpu_devfreq.c msm_devfreq_init() -> devm_devfreq_add_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos | 1-ptr_max |
| PARAM_VALUE | 1 | profile | 5771718686922387456 |
| PARAM_VALUE | 1 | profile->freq_table | 0 |
| PARAM_VALUE | 1 | profile->initial_freq | 0-u32max |
| PARAM_VALUE | 1 | profile->max_state | 0 |
| PARAM_VALUE | 2 | governor_name | 1072439485764546560 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 2 | governor_name | 16 |
| BUF_SIZE | 3 | data | 8 |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 2 | governor_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/panthor/panthor_devfreq.c panthor_devfreq_init() -> devm_devfreq_add_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | profile | 4687876088761368576 |
| PARAM_VALUE | 2 | governor_name | 1072439485764546560 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 2 | governor_name | 16 |
| BUF_SIZE | 3 | data | 8 |
| CAPPED_DATA | 0 | dev | 1 |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 2 | governor_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/memory/samsung/exynos5422-dmc.c exynos5_dmc_probe() -> devm_devfreq_add_device()
| 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->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | profile | 7311323877802254336 |
| PARAM_VALUE | 1 | profile->polling_ms | 100 |
| PARAM_VALUE | 2 | governor_name | 1072439485764546560 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | governor_name | 16 |
| BUF_SIZE | 3 | data | 8 |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 2 | governor_name | 1 |
| MEM_ZERO | 3 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/memory/tegra/tegra20-emc.c tegra20_emc_devfreq_init() -> devm_devfreq_add_device()
| 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->devres_head.prev | 0 |
| 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 |
| PARAM_VALUE | 0 | dev->of_node | 0 |
| PARAM_VALUE | 1 | profile | 6161867207390679040 |
| PARAM_VALUE | 2 | governor_name | 1072439485764546560 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | governor_name | 16 |
| BUF_SIZE | 3 | data | 8 |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 2 | governor_name | 1 |
| MEM_ZERO | 0 | dev | |
| MEM_ZERO | 3 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c gk20a_devfreq_init() -> devm_devfreq_add_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | profile | 59250303802314752 |
| PARAM_VALUE | 1 | profile->initial_freq | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | governor_name | 1072439485764546560 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 2 | governor_name | 16 |
| BUF_SIZE | 3 | data | 8 |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 2 | governor_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subdev->use.mutex | ||
| HALF_LOCKED2 | flags |
drivers/devfreq/exynos-bus.c exynos_bus_profile_init() -> devm_devfreq_add_device()
| 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->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 |
| PARAM_VALUE | 0 | dev->of_node | 0 |
| PARAM_VALUE | 1 | profile | 4096-ptr_max |
| PARAM_VALUE | 1 | profile->exit | 4424764315833245696 |
| PARAM_VALUE | 1 | profile->get_dev_status | 5188357231186325504 |
| PARAM_VALUE | 1 | profile->polling_ms | 50 |
| PARAM_VALUE | 1 | profile->target | 7999424422883946496 |
| PARAM_VALUE | 2 | governor_name | 1072439485764546560 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | profile | 72 |
| BUF_SIZE | 2 | governor_name | 16 |
| BUF_SIZE | 3 | data | 8 |
| DATA_SOURCE | 1 | profile | $1 |
| DATA_SOURCE | 3 | data | r devm_kzalloc |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 2 | governor_name | 1 |
| MEM_ZERO | 1 | profile | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/devfreq/exynos-bus.c exynos_bus_profile_init_passive() -> devm_devfreq_add_device()
| 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->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 |
| PARAM_VALUE | 0 | dev->of_node | 0 |
| PARAM_VALUE | 1 | profile | 4096-ptr_max |
| PARAM_VALUE | 1 | profile->exit | 7524524352206036992 |
| PARAM_VALUE | 1 | profile->target | 7999424422883946496 |
| PARAM_VALUE | 2 | governor_name | 4012458279350149120 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | profile | 72 |
| BUF_SIZE | 2 | governor_name | 8 |
| BUF_SIZE | 3 | data | 72 |
| DATA_SOURCE | 1 | profile | $1 |
| DATA_SOURCE | 3 | data | r devm_kzalloc |
| STR_LEN | 0 | dev | 7 |
| TERMINATED | 2 | governor_name | 1 |
| MEM_ZERO | 1 | profile | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/devfreq/imx-bus.c imx_bus_probe() -> devm_devfreq_add_device()
| 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 | 1 | profile | 4096-ptr_max |
| PARAM_VALUE | 1 | profile->exit | 3637248250303389696 |
| PARAM_VALUE | 1 | profile->get_cur_freq | 1377666239354318848 |
| PARAM_VALUE | 1 | profile->target | 2821466625799266304 |
| PARAM_VALUE | 2 | governor_name | 8392059808842416128 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | governor_name | 10 |
| BUF_SIZE | 2 | governor_name | 10 |
| STR_LEN | 0 | dev | 9 |
| STR_LEN | 2 | governor_name | 9 |
| TERMINATED | 2 | governor_name | 1 |
| MEM_ZERO | 1 | profile | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/devfreq/tegra30-devfreq.c tegra_devfreq_probe() -> devm_devfreq_add_device()
| 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->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | profile | 2669103198700150784 |
| PARAM_VALUE | 2 | governor_name | 8025925379598286848 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 2 | governor_name | 13 |
| STR_LEN | 0 | dev | 12 |
| TERMINATED | 2 | governor_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/devfreq/mtk-cci-devfreq.c mtk_ccifreq_probe() -> devm_devfreq_add_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | profile | 475865495498178560 |
| PARAM_VALUE | 2 | governor_name | 4012458279350149120 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | governor_name | 8 |
| BUF_SIZE | 3 | data | 72 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 3 | data | r devm_kzalloc |
| STR_LEN | 0 | dev | 7 |
| TERMINATED | 2 | governor_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |