Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/qcom/venus/pm_helpers.c poweroff_coreid() -> vcodec_control_v4()
| 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 | 1 | coreid | 1 |
| PARAM_VALUE | 2 | enable | 1 |
| DATA_SOURCE | 0 | core | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &core->lock | ||
| HALF_LOCKED2 | &inst->lock | ||
| HALF_LOCKED2 | &q->mmap_lock | ||
| TYPE_LOCK | (struct venus_core)->lock |
drivers/media/platform/qcom/venus/pm_helpers.c poweroff_coreid() -> vcodec_control_v4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core | 4096-ptr_max |
| PARAM_VALUE | 0 | core->hwmode_dev | 0 |
| 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->pmdomains | 4096-ptr_max |
| PARAM_VALUE | 0 | core->pmdomains->pd_devs | 4096-ptr_max |
| PARAM_VALUE | 0 | core->res | 4096-ptr_max |
| PARAM_VALUE | 1 | coreid | 1 |
| PARAM_VALUE | 2 | enable | 0 |
| DATA_SOURCE | 0 | core | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &core->lock | ||
| HALF_LOCKED2 | &inst->lock | ||
| HALF_LOCKED2 | &q->mmap_lock | ||
| TYPE_LOCK | (struct venus_core)->lock |
drivers/media/platform/qcom/venus/pm_helpers.c poweroff_coreid() -> vcodec_control_v4()
| 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 | 1 | coreid | 2 |
| PARAM_VALUE | 2 | enable | 1 |
| DATA_SOURCE | 0 | core | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &core->lock | ||
| HALF_LOCKED2 | &inst->lock | ||
| HALF_LOCKED2 | &q->mmap_lock | ||
| TYPE_LOCK | (struct venus_core)->lock |
drivers/media/platform/qcom/venus/pm_helpers.c poweroff_coreid() -> vcodec_control_v4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core | 4096-ptr_max |
| PARAM_VALUE | 0 | core->hwmode_dev | 0 |
| 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->pmdomains | 4096-ptr_max |
| PARAM_VALUE | 0 | core->pmdomains->pd_devs | 4096-ptr_max |
| PARAM_VALUE | 0 | core->res | 4096-ptr_max |
| PARAM_VALUE | 1 | coreid | 2 |
| PARAM_VALUE | 2 | enable | 0 |
| DATA_SOURCE | 0 | core | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &core->lock | ||
| HALF_LOCKED2 | &inst->lock | ||
| HALF_LOCKED2 | &q->mmap_lock | ||
| TYPE_LOCK | (struct venus_core)->lock |
drivers/media/platform/qcom/venus/pm_helpers.c poweron_coreid() -> vcodec_control_v4()
| 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 |
| PARAM_VALUE | 1 | coreid | 1 |
| PARAM_VALUE | 2 | enable | 1 |
| 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_control_v4()
| 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 |
| PARAM_VALUE | 0 | core->res | 4096-ptr_max |
| PARAM_VALUE | 1 | coreid | 1 |
| PARAM_VALUE | 2 | enable | 0 |
| CAPPED_DATA | 0 | core->res->vcodec_clks_num | 1 |
| 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_control_v4()
| 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 |
| PARAM_VALUE | 1 | coreid | 2 |
| PARAM_VALUE | 2 | enable | 1 |
| 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_control_v4()
| 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 |
| PARAM_VALUE | 0 | core->res | 4096-ptr_max |
| PARAM_VALUE | 1 | coreid | 2 |
| PARAM_VALUE | 2 | enable | 0 |
| CAPPED_DATA | 0 | core->res->vcodec_clks_num | 1 |
| 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_v4() -> vcodec_control_v4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | coreid | 1 |
| PARAM_VALUE | 2 | enable | 1 |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| UNITS | 0 | core | unit_byte |
drivers/media/platform/qcom/venus/pm_helpers.c vdec_power_v4() -> vcodec_control_v4()
| 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 |
| PARAM_VALUE | 0 | core->res | 4096-ptr_max |
| PARAM_VALUE | 1 | coreid | 1 |
| PARAM_VALUE | 2 | enable | 0 |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| UNITS | 0 | core | unit_byte |
drivers/media/platform/qcom/venus/pm_helpers.c venc_power_v4() -> vcodec_control_v4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | coreid | 2 |
| PARAM_VALUE | 2 | enable | 1 |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| UNITS | 0 | core | unit_byte |
drivers/media/platform/qcom/venus/pm_helpers.c venc_power_v4() -> vcodec_control_v4()
| 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 |
| PARAM_VALUE | 0 | core->res | 4096-ptr_max |
| PARAM_VALUE | 1 | coreid | 2 |
| PARAM_VALUE | 2 | enable | 0 |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | core | s32min-(-2),1-s32max |
| UNITS | 0 | core | unit_byte |