Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 22 files:
- drivers/clk/qcom/a53-pll.c, line 58
- drivers/cpufreq/apple-soc-cpufreq.c, line 268
- drivers/cpufreq/cpufreq-dt.c, line 233
- drivers/cpufreq/imx6q-cpufreq.c, line 389
- drivers/cpufreq/qcom-cpufreq-hw.c, line 580
- drivers/cpufreq/scmi-cpufreq.c
- drivers/cpufreq/scpi-cpufreq.c, line 124
- drivers/cpufreq/tegra186-cpufreq.c, line 122
- drivers/cpufreq/tegra194-cpufreq.c, line 445
- drivers/cpufreq/vexpress-spc-cpufreq.c, line 329
- drivers/devfreq/devfreq.c, line 183
- drivers/devfreq/imx8m-ddrc.c, line 337
- drivers/gpu/drm/msm/adreno/a6xx_gmu.c
- drivers/gpu/drm/msm/dsi/dsi_manager.c, line 429
- drivers/memory/samsung/exynos5422-dmc.c, line 354
- drivers/opp/core.c, line 463
- drivers/opp/cpu.c, line 50
- drivers/opp/of.c, line 1559
- drivers/pmdomain/qcom/cpr.c, line 1480
- drivers/soc/mediatek/mtk-svs.c, line 1832
- drivers/soc/samsung/exynos-asv.c, line 152
- drivers/thermal/devfreq_cooling.c, line 431
Smatch caller information:
drivers/opp/of.c dev_pm_opp_of_register_em() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 0 | dev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/pmdomain/qcom/cpr.c cpr_pd_attach_dev() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &gpd_list_lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/opp/cpu.c dev_pm_opp_init_cpufreq_table() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &policy->rwsem |
drivers/thermal/devfreq_cooling.c of_devfreq_cooling_register_power() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-u64max |
| STR_LEN | 0 | dev | (-1) |
| STR_LEN | 0 | dev | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/memory/samsung/exynos5422-dmc.c exynos5_init_freq_table() -> dev_pm_opp_get_opp_count()
| 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 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/msm/dsi/dsi_manager.c dsi_mgr_bridge_mode_valid() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/soc/samsung/exynos-asv.c exynos_asv_init() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_build_bw_table() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_build_freq_table() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $0 |
drivers/cpufreq/apple-soc-cpufreq.c apple_soc_cpufreq_init() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/scmi-cpufreq.c scmi_cpufreq_init() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/scmi-cpufreq.c scmi_cpufreq_init() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/cpufreq-dt.c dt_cpufreq_early_init() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/devfreq/devfreq.c set_freq_table() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| STR_LEN | 0 | dev | 7,9,12,15 |
| STR_LEN | 0 | dev | 7,9,12,15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/cpufreq/scpi-cpufreq.c scpi_cpufreq_init() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/clk/qcom/a53-pll.c qcom_a53pll_get_freq_tbl() -> dev_pm_opp_get_opp_count()
| 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 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/qcom-cpufreq-hw.c qcom_cpufreq_hw_cpu_init() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/soc/mediatek/mtk-svs.c svs_bank_resource_setup() -> dev_pm_opp_get_opp_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING |