Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/qcom/venus/pm_helpers.c core_power_v1() -> vcodec_clks_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core | 4096-ptr_max |
| PARAM_VALUE | 0 | core->cpucfg_path | 0,4096-u64max |
| PARAM_VALUE | 0 | core->dev | 0-ptr_max |
| PARAM_VALUE | 0 | core->pm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core->pm_ops->core_power | 2740780145821724672,4676083123601702912 |
| PARAM_VALUE | 0 | core->res | 4096-ptr_max |
| PARAM_VALUE | 0 | core->res->vcodec_pmdomains | 1-u64max |
| PARAM_VALUE | 0 | core->res->vcodec_pmdomains_num | 0-s32max |
| PARAM_VALUE | 0 | core->video_path | 0,4096-u64max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | clks | 16 |
| CAPPED_DATA | 0 | core->dev | 1 |
| CAPPED_DATA | 0 | core->res->clks_num | 1 |
| CAPPED_DATA | 0 | core->res->vcodec_pmdomains_num | 1 |
| DATA_SOURCE | 0 | core | $0 |
drivers/media/platform/qcom/venus/pm_helpers.c poweron_coreid() -> vcodec_clks_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core | 4096-ptr_max |
| PARAM_VALUE | 0 | core->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | core->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | core->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | core->pm_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core->pm_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | core->pmdomains | 4096-ptr_max |
| PARAM_VALUE | 0 | core->pmdomains->pd_devs | 4096-ptr_max |
| BUF_SIZE | 1 | clks | 16 |
| DATA_SOURCE | 0 | core | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &core->lock | ||
| LOCK2 | &inst->lock | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct venus_core)->lock | ||
| TYPE_LOCK | (struct venus_inst)->lock |
drivers/media/platform/qcom/venus/pm_helpers.c poweron_coreid() -> vcodec_clks_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core | 4096-ptr_max |
| PARAM_VALUE | 0 | core->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | core->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | core->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | core->pm_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core->pm_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | core->pmdomains | 4096-ptr_max |
| PARAM_VALUE | 0 | core->pmdomains->pd_devs | 4096-ptr_max |
| BUF_SIZE | 1 | clks | 16 |
| DATA_SOURCE | 0 | core | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &core->lock | ||
| LOCK2 | &inst->lock | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct venus_core)->lock | ||
| TYPE_LOCK | (struct venus_inst)->lock |
drivers/media/platform/qcom/venus/pm_helpers.c vdec_power_v3() -> vcodec_clks_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core | 4096-ptr_max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | clks | 16 |
| UNITS | 0 | core | unit_byte |
drivers/media/platform/qcom/venus/pm_helpers.c vdec_power_v4() -> vcodec_clks_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core | 4096-ptr_max |
| PARAM_VALUE | 0 | core->pmdomains | 4096-ptr_max |
| PARAM_VALUE | 0 | core->pmdomains->pd_devs | 4096-ptr_max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | clks | 16 |
| UNITS | 0 | core | unit_byte |
drivers/media/platform/qcom/venus/pm_helpers.c venc_power_v3() -> vcodec_clks_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core | 4096-ptr_max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | clks | 16 |
| UNITS | 0 | core | unit_byte |
drivers/media/platform/qcom/venus/pm_helpers.c venc_power_v4() -> vcodec_clks_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core | 4096-ptr_max |
| PARAM_VALUE | 0 | core->pmdomains | 4096-ptr_max |
| PARAM_VALUE | 0 | core->pmdomains->pd_devs | 4096-ptr_max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | clks | 16 |
| UNITS | 0 | core | unit_byte |