Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/amphion/vpu_cmds.c vpu_alloc_cmd() -> vpu_iface_pack_cmd()

Type Parameter Key Value
PARAM_VALUE 0 core 1-u64max
PARAM_VALUE 0 core->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 core->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 core->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 core->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 core->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 pkt 4096-ptr_max
PARAM_VALUE 2 index 0-s32max
PARAM_VALUE 3 id 1-6,8-9,16-19
BUF_SIZE 1 pkt 524
BUF_SIZE 4 data (-1),8,152
BUF_SIZE 4 data (-1),8,152
DATA_SOURCE 1 pkt r _kzalloc_noprof
DATA_SOURCE 3 id $1
DATA_SOURCE 4 data $2
HARD_MAX 3 id 19
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &core->lock
HALF_LOCKED2 &inst->lock

drivers/media/platform/amphion/vpu_cmds.c vpu_core_keep_active() -> vpu_iface_pack_cmd()

Type Parameter Key Value
PARAM_VALUE 0 core 4096-ptr_max
PARAM_VALUE 0 core->cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 core->cmd_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 core->cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 core->cmd_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 core->cmd_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 core->cmd_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 core->cmd_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 core->cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 core->cmd_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 core->cmd_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 core->dev 4096-ptr_max
PARAM_VALUE 0 core->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 core->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 core->dev->power.request 0-4
PARAM_VALUE 0 core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 core->iface->cmd_desc->wptr 0-4294967295
PARAM_VALUE 0 core->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 core->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 core->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 core->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 core->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 core->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 core->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 core->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 core->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 core->state 1
PARAM_VALUE 0 core->tx_type.ch->con_priv->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 core->tx_type.ch->con_priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 core->tx_type.ch->con_priv->response->resp_size 0-1,32-33
PARAM_VALUE 0 core->tx_type.ch->con_priv->response->resp_status 0-u16max
PARAM_VALUE 0 core->tx_type.ch->mbox->poll_hrt.base->index 0-7
PARAM_VALUE 0 core->tx_type.ch->mbox->poll_hrt.node.expires 0-s64max
PARAM_VALUE 0 core->tx_type.ch->tx_complete.done 0-4294967293,u32max
PARAM_VALUE 0 core->type 0-16
PARAM_VALUE 0 core->vpu 4096-ptr_max
PARAM_VALUE 0 core->vpu->debugfs->d_children.first 4096-ptr_max
PARAM_VALUE 0 core->vpu->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 core->vpu->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 core->vpu->debugfs->d_sb 4096-ptr_max
PARAM_VALUE 0 core->vpu->res 4096-ptr_max
PARAM_VALUE 0 core->vpu->res->plat_type 0-1
PARAM_VALUE 0 *core->lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *core->tx_type.ch->msg_data 0-s64max
PARAM_VALUE 0 *core->vpu->debugfs->d_children.first->pprev 1-u64max
PARAM_VALUE 1 pkt 505810406665830400
PARAM_VALUE 2 index 0
PARAM_VALUE 3 id 0
PARAM_VALUE 4 data 0
CAPPED_DATA 0 core->dev 1
DATA_SOURCE 0 core $0
MEM_ZERO 1 pkt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct vpu_inst)->lock

drivers/media/platform/amphion/vpu_cmds.c vpu_core_sw_reset() -> vpu_iface_pack_cmd()

Type Parameter Key Value
PARAM_VALUE 0 core 4096-ptr_max
PARAM_VALUE 0 core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 core->lock.dep_map->name 0-255
PARAM_VALUE 0 core->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 core->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 core->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 core->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 core->vpu 4096-ptr_max
PARAM_VALUE 0 core->vpu->res 4096-ptr_max
PARAM_VALUE 1 pkt 7437984600936108032
PARAM_VALUE 2 index 0
PARAM_VALUE 3 id 7
PARAM_VALUE 4 data 0
BUF_SIZE 0 core s32min-(-1),1-s32max
BUF_SIZE 0 core s32min-(-1),1-s32max
DATA_SOURCE 0 core $0
MEM_ZERO 1 pkt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &vpu->lock
HALF_LOCKED2 0 &core->lock