Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/amphion/vpu_cmds.c vpu_core_snapshot() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 6 |
| PARAM_VALUE | 2 | data | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &core->lock | ||
| HALF_LOCKED2 | &fsm->lock | ||
| TYPE_LOCK | (struct vpu_core)->lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_abort() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->stop | 4664844317685211136,7937231471050149888 |
| PARAM_VALUE | 1 | id | 4 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | inst | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | inst | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | inst | $0 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_alloc_fs() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->check_ready | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->cleanup | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | inst->ops->process_capture | 5873453715843440640,7798169779948142592 |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | id | 16 |
| PARAM_VALUE | 2 | data | 843885233538138112,3884337386622119936,5161136401313665024 |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| DATA_SOURCE | 2 | data | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inst->stream_buffer.length | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_configure_codec() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->act.length | 1-u32max |
| PARAM_VALUE | 0 | inst->act.virt | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | inst->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->core->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->core->state | 1 |
| PARAM_VALUE | 0 | inst->core->type | 0-16 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_children.first | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res->plat_type | 0-1 |
| PARAM_VALUE | 0 | inst->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->id | 0-s32max |
| PARAM_VALUE | 0 | inst->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->vpu->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | *inst->core->vpu->debugfs->d_children.first->pprev | 1-u64max |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct vpu_inst)->lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_debug() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst->ops->stop | 4664844317685211136,7937231471050149888 |
| PARAM_VALUE | 0 | inst->ops->wait_prepare | 4389490158867030016 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | id | 19 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| STR_LEN | 0 | inst | (-1) |
| STR_LEN | 0 | inst | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | inst | unit_array_size |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_encode_frame() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->type | 0-16 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res->plat_type | 0-1 |
| PARAM_VALUE | 0 | inst->fh.m2m_ctx | 1-u64max |
| PARAM_VALUE | 0 | inst->id | 0-s32max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->check_ready | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->input_done | 0,6381637251430338560 |
| PARAM_VALUE | 0 | inst->ops->process_output | 6107898096095506432,7363482639959166976 |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | id | 9 |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | data | 8 |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inst->stream_buffer.length | |
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_fill_timestamp() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | inst->core->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->type | 0-16 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res->plat_type | 0-1 |
| PARAM_VALUE | 0 | inst->extra_size | 0 |
| PARAM_VALUE | 0 | inst->fh.m2m_ctx | 1-u64max |
| PARAM_VALUE | 0 | inst->id | 0-s32max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->check_ready | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->cleanup | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->input_done | 0,6381637251430338560 |
| PARAM_VALUE | 0 | inst->ops->process_output | 6107898096095506432,7363482639959166976 |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->ops->wait_finish | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | id | 18 |
| PARAM_VALUE | 2 | data | 2238731565576474624 |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| DATA_SOURCE | 2 | data | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inst->stream_buffer.length | |
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_release_fs() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | inst->ops->release | 3119191099740717056,7159263913553412096 |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->ops->stop | 4664844317685211136,7937231471050149888 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | id | 17 |
| PARAM_VALUE | 2 | data | 8351147729653649408 |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| DATA_SOURCE | 2 | data | $1 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_rst_buf() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->cmd_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->cmd_q.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->cmd_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->core->cmd_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->cmd_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->cmd_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->core->cmd_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->core->cmd_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->core->cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->core->cmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->core->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->core->tx_type.ch->con_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->tx_type.ch->con_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | inst->core->tx_type.ch->con_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | inst->core->tx_type.ch->con_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | inst->core->tx_type.ch->con_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | inst->core->tx_type.ch->con_priv->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | inst->core->tx_type.ch->mbox->poll_hrt.is_queued | 1 |
| PARAM_VALUE | 0 | inst->core->tx_type.ch->tx_complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->tx_type.ch->tx_complete.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->stop | 4664844317685211136,7937231471050149888 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | id | 5 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | inst | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | inst | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | inst | $0 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_start() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->act.length | 1-u32max |
| PARAM_VALUE | 0 | inst->act.virt | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | inst->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->core->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->core->state | 1 |
| PARAM_VALUE | 0 | inst->core->type | 0-16 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_children.first | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->res->plat_type | 0-1 |
| PARAM_VALUE | 0 | inst->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->id | 0-s32max |
| PARAM_VALUE | 0 | inst->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 1-2 |
| PARAM_VALUE | 0 | inst->vpu->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->vpu->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->vpu->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | *inst->core->vpu->debugfs->d_children.first->pprev | 1-u64max |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| HARD_MAX | 0 | inst->state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct vpu_inst)->lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_stop() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inst->ops->check_ready | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->input_done | 0,6381637251430338560 |
| PARAM_VALUE | 0 | inst->ops->release | 3119191099740717056,7159263913553412096 |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->ops->stop | 4664844317685211136,7937231471050149888 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 0,2-u32max |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | id | 3 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/amphion/vpu_cmds.c vpu_session_update_parameters() -> vpu_session_send_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->vpu | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inst->core->vpu->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inst->core->vpu->res | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fh.m2m_ctx | 1-u64max |
| PARAM_VALUE | 0 | inst->id | 0-s32max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->check_ready | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->input_done | 0,6381637251430338560 |
| PARAM_VALUE | 0 | inst->ops->process_output | 6107898096095506432,7363482639959166976 |
| PARAM_VALUE | 0 | inst->ops->start | 3830545228717694976,7505058326117138432 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 0,2-3,5-u32max |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 1 | id | 8 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | data | 152 |
| BUF_SIZE | 2 | data | 152 |
| DATA_SOURCE | 0 | inst | $0 |
| DATA_SOURCE | 2 | data | $1 |
| FUZZY_MAX | 0 | inst->state | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &inst->lock |