Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c fops_vcodec_open() -> mtk_vcodec_get_hw_count()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->dev_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->dev->dev_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->dev->dev_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->dev->dev_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 ctx->dev->vdec_pdata->is_subdev_supported 1
PARAM_VALUE 0 ctx->fh.available.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.available.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.available.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.available.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.available.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.prio 1-3
PARAM_VALUE 0 ctx->fh.sequence u32max
PARAM_VALUE 0 ctx->fh.subscribe_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->fh.subscribe_lock.first_waiter 0
PARAM_VALUE 0 ctx->fh.subscribe_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribe_lock.osq.tail.counter 0
PARAM_VALUE 0 ctx->fh.subscribe_lock.owner.counter 0
PARAM_VALUE 0 ctx->fh.subscribed.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribed.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribed.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribed.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.subscribed.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev->fh_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev->fh_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev->fh_list.next->prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.vdev->fh_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->fh.wait.head.next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ctx->fh.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->fh.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->list.next 4096-ptr_max
PARAM_VALUE 0 ctx->list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->dev_mutex.dep_map->name 0-255
PARAM_VALUE 1 dev->dev_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 dev->dev_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dev->dev_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 dev->dev_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 dev->dev_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 dev->dev_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 1 dev->vdec_pdata->is_subdev_supported 1
BUF_SIZE 0 ctx 8768
BUF_SIZE 0 ctx->dev s32min-(-2),1-s32max
BUF_SIZE 1 dev s32min-(-2),1-s32max
BUF_SIZE 1 dev s32min-(-2),1-s32max
CAPPED_DATA 1 &dev->dev_mutex 1
DATA_SOURCE 0 ctx r _kzalloc_noprof
DATA_SOURCE 1 dev r video_drvdata
RX_PATH
TASK_NOT_RUNNING
LOCK2 1 &dev->dev_mutex
TYPE_LOCK (struct mtk_vcodec_dec_dev)->dev_mutex