Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/platform/amphion/vpu_core.c vpu_core_restore() -> vpu_core_sw_reset()

Type Parameter Key Value
PARAM_VALUE 0 core 4096-ptr_max
PARAM_VALUE 0 core->dev 4096-ptr_max
PARAM_VALUE 0 core->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 core->dev->class 0,4096-ptr_max
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 0,4096-ptr_max
PARAM_VALUE 0 core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 core->dev->type 0,4096-ptr_max
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->lock.wait_lock.owner (-1)
PARAM_VALUE 0 core->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 core->state 0
PARAM_VALUE 0 core->vpu 4096-ptr_max
PARAM_VALUE 0 core->vpu->res 4096-ptr_max
DATA_SOURCE 0 core $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vpu->lock
LOCK2 0 &core->lock
TYPE_LOCK (struct vpu_core)->lock
TYPE_LOCK (struct vpu_dev)->lock

drivers/media/platform/amphion/vpu_core.c vpu_core_resume() -> vpu_core_sw_reset()

Type Parameter Key Value
PARAM_VALUE 0 core 4096-ptr_max
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->lock.wait_lock.owner (-1)
PARAM_VALUE 0 core->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 core->request_count 1-u32max
PARAM_VALUE 0 core->vpu 4096-ptr_max
PARAM_VALUE 0 core->vpu->get_vpu 4096-ptr_max
PARAM_VALUE 0 core->vpu->res 4096-ptr_max
BUF_SIZE 0 core s32min-(-2),1-s32max
BUF_SIZE 0 core s32min-(-2),1-s32max
CAPPED_DATA 0 &core->lock 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 core unit_byte
LOCK2 0 &core->lock
TYPE_LOCK (struct vpu_core)->lock

drivers/media/platform/amphion/vpu_core.c vpu_inst_unregister() -> vpu_core_sw_reset()

Type Parameter Key Value
PARAM_VALUE 0 core 4096-ptr_max
PARAM_VALUE 0 core->dev 0,4096-ptr_max
PARAM_VALUE 0 core->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 core->dev->class 0,4096-ptr_max
PARAM_VALUE 0 core->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 core->instance_mask 0
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.first_waiter->task->blocked_lock.dep_map->name 0-255
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->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 core->state 2
PARAM_VALUE 0 core->vpu 4096-ptr_max
PARAM_VALUE 0 core->vpu->res 4096-ptr_max
CAPPED_DATA 0 &core->lock 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vdev->v4l2_dev->mdev->req_queue_mutex

drivers/media/platform/amphion/vpu_dbg.c vpu_dbg_core_write() -> vpu_core_sw_reset()

Type Parameter Key Value
PARAM_VALUE 0 core 4096-ptr_max
PARAM_VALUE 0 core->dev 4096-ptr_max
PARAM_VALUE 0 core->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 core->dev->class 0,4096-ptr_max
PARAM_VALUE 0 core->dev->driver 0,4096-ptr_max
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 0,4096-ptr_max
PARAM_VALUE 0 core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 core->dev->type 0,4096-ptr_max
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->lock.wait_lock.owner (-1)
PARAM_VALUE 0 core->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 core->request_count 0
PARAM_VALUE 0 core->vpu 4096-ptr_max
PARAM_VALUE 0 core->vpu->res 4096-ptr_max
BUF_SIZE 0 core s32min-(-2),1-s32max
BUF_SIZE 0 core s32min-(-2),1-s32max
CAPPED_DATA 0 &core->lock 1
UNITS 0 core unit_array_size
LOCK2 0 &core->lock
TYPE_LOCK (struct vpu_core)->lock