Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/amphion/vdec.c vdec_event_resolution_change() -> vdec_handle_resolution_change()
| 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->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.available.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fh.available.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fh.available.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fh.vdev->fh_lock.rlock.dep_map->name | 0-255 |
| 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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->priv->dcp.max_count | 32 |
| PARAM_VALUE | 0 | inst->priv->dcp.size | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->dcp.tag | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->dcp.type | 2 |
| PARAM_VALUE | 0 | inst->priv->mbi.max_count | 32 |
| PARAM_VALUE | 0 | inst->priv->mbi.size | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->mbi.tag | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->mbi.type | 1 |
| PARAM_VALUE | 0 | inst->priv->slot_count | 0-s32max |
| PARAM_VALUE | 0 | inst->priv->source_change | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->state | 5,9 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 0 | *inst->priv->dcp.name | 0-255 |
| PARAM_VALUE | 0 | *inst->priv->mbi.name | 0-255 |
| CAPPED_DATA | 0 | inst->priv->slot_count | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &inst->lock | |
| TYPE_LOCK | (struct vpu_inst)->lock |
drivers/media/platform/amphion/vdec.c vdec_event_seq_hdr() -> vdec_handle_resolution_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->cap_format->bytesperline | 0-u32max |
| PARAM_VALUE | 0 | inst->cap_format->sizeimage | 4096-u32max |
| PARAM_VALUE | 0 | inst->cap_format.field | 1-u32max |
| PARAM_VALUE | 0 | inst->cap_format.pixfmt | 1-u32max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| 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.available.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fh.available.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fh.available.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fh.m2m_ctx | 1-u64max |
| PARAM_VALUE | 0 | inst->fh.vdev->fh_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->formats->pixfmt | 1-u32max |
| PARAM_VALUE | 0 | inst->formats->sibling | 1-u32max |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | inst->out_format.pixfmt | 0-1129727305 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->priv->codec_info.decoded_height | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->codec_info.decoded_width | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->codec_info.pixfmt | 1-4294967295 |
| PARAM_VALUE | 0 | inst->priv->dcp.max_count | 32 |
| PARAM_VALUE | 0 | inst->priv->dcp.size | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->dcp.tag | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->dcp.type | 2 |
| PARAM_VALUE | 0 | inst->priv->mbi.max_count | 32 |
| PARAM_VALUE | 0 | inst->priv->mbi.size | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->mbi.tag | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->mbi.type | 1 |
| PARAM_VALUE | 0 | inst->priv->reset_codec | 0 |
| PARAM_VALUE | 0 | inst->priv->source_change | 0-4294967295 |
| PARAM_VALUE | 0 | inst->priv->state | 5,9 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| PARAM_VALUE | 0 | *inst->priv->dcp.name | 0-255 |
| PARAM_VALUE | 0 | *inst->priv->mbi.name | 0-255 |
| DATA_SOURCE | 0 | inst | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &inst->lock | |
| TYPE_LOCK | (struct vpu_inst)->lock |
drivers/media/platform/amphion/vdec.c vdec_on_queue_empty() -> vdec_handle_resolution_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->on_queue_empty | 1746466042332659712,1894932820323328000 |
| 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 | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dmxdev->mutex |
drivers/media/platform/amphion/vdec.c vdec_update_state() -> vdec_handle_resolution_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 1-u64max |
| 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->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->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->ops->check_ready | 2461682757149356032,4547532583366561792 |
| PARAM_VALUE | 0 | inst->ops->event_notify | 2905576554795573248,7158010066138472448 |
| PARAM_VALUE | 0 | inst->ops->input_done | 0,6381637251430338560 |
| PARAM_VALUE | 0 | inst->ops->on_queue_empty | 1746466042332659712,1894932820323328000 |
| PARAM_VALUE | 0 | inst->ops->process_output | 6107898096095506432,7363482639959166976 |
| 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->ops->stop_done | 5117714811796262912,6682669895540494336 |
| PARAM_VALUE | 0 | inst->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 9 |
| PARAM_VALUE | 0 | *inst->flows | 0-4294967295 |
| 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 | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vpu_inst)->lock |