Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 19 files:
- drivers/clk/qcom/a53-pll.c, line 69
- drivers/clk/tegra/clk-device.c, line 36
- drivers/clk/tegra/clk-dfll.c
- drivers/cpufreq/imx6q-cpufreq.c, line 71
- drivers/cpufreq/mediatek-cpufreq.c
- drivers/cpufreq/qcom-cpufreq-hw.c
- drivers/cpufreq/tegra186-cpufreq.c, line 131
- drivers/cpufreq/tegra194-cpufreq.c, line 453
- drivers/devfreq/imx8m-ddrc.c, line 341
- drivers/devfreq/mtk-cci-devfreq.c, line 329
- drivers/gpu/drm/msm/adreno/a6xx_gmu.c, line 1898
- drivers/gpu/drm/msm/adreno/a6xx_gpu.c, line 2175
- drivers/gpu/drm/msm/dsi/dsi_manager.c, line 420
- drivers/gpu/drm/panfrost/panfrost_device.c, line 503
- drivers/gpu/drm/tegra/dc.c, line 1993
- drivers/media/platform/qcom/venus/pm_helpers.c
- drivers/opp/core.c, line 795
- drivers/opp/cpu.c, line 61
- drivers/opp/of.c
Smatch caller information:
drivers/opp/of.c _get_dt_power() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->em_pd | 0 |
| PARAM_VALUE | 1 | freq | 2179866029050884096 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | (-1),7,9,12,15 |
| STR_LEN | 0 | dev | (-1),7,9,12,15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &em_pd_mutex |
drivers/opp/of.c _of_has_opp_microwatt_property() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | freq | 8009982269571379200 |
| PARAM_VALUE | 1 | *freq | 0 |
| 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 | |||
| UNITS | 0 | dev | unit_byte |
drivers/opp/of.c dev_pm_opp_calc_power() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->em_pd->nr_perf_states | 1-s32max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | freq | 1425686563417763840 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | (-1),7,9,12,15 |
| STR_LEN | 0 | dev | (-1),7,9,12,15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &em_pd_mutex |
drivers/cpufreq/mediatek-cpufreq.c mtk_cpu_dvfs_info_init() -> dev_pm_opp_find_freq_ceil()
| 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 | 0 | dev->kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | freq | 1262883140174487552 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_opp_notifier() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | freq | 1704484557609369600 |
| PARAM_VALUE | 1 | *freq | 1 |
drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_set_target() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | freq | 4996554042757038080 |
| PARAM_VALUE | 1 | *freq | 0-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &info->reg_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sg_policy->work_lock | ||
| HALF_LOCKED2 | &userspace->mutex | ||
| HALF_LOCKED2 | global &gov_dbs_data_mutex | ||
| TYPE_LOCK | (struct mtk_cpu_dvfs_info)->reg_lock |
drivers/gpu/drm/tegra/dc.c tegra_dc_update_voltage_state() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | freq | 9174033210280177664 |
| 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/opp/cpu.c dev_pm_opp_init_cpufreq_table() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-ptr_max |
| PARAM_VALUE | 1 | freq | 4439605935765942272 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &policy->rwsem |
drivers/gpu/drm/msm/dsi/dsi_manager.c dsi_mgr_bridge_mode_valid() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | freq | 6527765556679839744 |
| PARAM_VALUE | 1 | *freq | 0-2305844087787350574 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/gpu/drm/msm/adreno/a6xx_gmu.c a6xx_gmu_build_freq_table() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-ptr_max |
| PARAM_VALUE | 1 | freq | 1112105718602424320 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
drivers/gpu/drm/panfrost/panfrost_device.c panfrost_device_resume() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | freq | 6590276243443732480 |
| BUF_SIZE | 0 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 0 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &dev->mutex |
drivers/media/platform/qcom/venus/pm_helpers.c core_clks_enable() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | freq | 7445923303587971072 |
| PARAM_VALUE | 1 | *freq | 0 |
drivers/media/platform/qcom/venus/pm_helpers.c load_scale_v4() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0-ptr_max |
| PARAM_VALUE | 1 | freq | 2003000663677075456 |
| CAPPED_DATA | 0 | dev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &core->lock | ||
| HALF_LOCKED2 | &inst->lock | ||
| TYPE_LOCK | (struct venus_core)->lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c a6xx_pm_resume() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | freq | 2078942282450538496 |
| PARAM_VALUE | 1 | *freq | 0-u32max |
| LOCK2 | &a6xx_gpu->gmu.lock | ||
| HALF_LOCKED2 | &gpu->lock | ||
| TYPE_LOCK | (struct a6xx_gmu)->lock |
drivers/clk/qcom/a53-pll.c qcom_a53pll_get_freq_tbl() -> dev_pm_opp_find_freq_ceil()
| 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 | 1 | freq | 9100724638064017408 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/qcom-cpufreq-hw.c qcom_cpufreq_hw_read_lut() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 1 | freq | 4692875688322949120 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| 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 |
drivers/cpufreq/qcom-cpufreq-hw.c qcom_lmh_dcvs_notify() -> dev_pm_opp_find_freq_ceil()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0-ptr_max |
| PARAM_VALUE | 1 | freq | 5090349090360856576 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | r get_cpu_device |
| HALF_LOCKED2 | &pool->lock |
drivers/devfreq/mtk-cci-devfreq.c mtk_ccifreq_probe() -> dev_pm_opp_find_freq_ceil()
| 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 | freq | 5092843693865684992 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |