Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c mtk_vdec_worker() -> mtk_vdec_stateless_cap_to_disp()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *ctx->dev->vdec_racing_info 0-4294967295
PARAM_VALUE 1 error s32min-(-12),(-10)-s32max
PARAM_VALUE 2 mreq 4096-ptr_max
PARAM_VALUE 2 mreq->lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 &ctx->ctrl_hdl 1
DATA_SOURCE 1 error r vdec_if_decode
PARAM_COMPARE 0 &ctx->m2m_ctx->out_q_ctx.rdy_queue != $0->m2m_ctx->out_q_ctx.rdy_queue.next
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c vdec_h264_slice_core_decode() -> (struct mtk_vcodec_dec_pdata)->cap_to_disp()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 ctx->drv_handle 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 error 0-1
FUZZY_MAX 1 error 1
CONTAINER 0 -40-1344-8+0 $(-1)
HARD_MAX 1 error 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c vdec_h264_slice_core_decode_ext() -> (struct mtk_vcodec_dec_pdata)->cap_to_disp()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 ctx->drv_handle 4096-ptr_max
PARAM_VALUE 1 error 0-1
FUZZY_MAX 1 error 1
CONTAINER 0 -40-1344-8+0 $(-1)
HARD_MAX 1 error 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c vdec_av1_slice_core_decode() -> (struct mtk_vcodec_dec_pdata)->cap_to_disp()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 ctx->drv_handle 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->msg_queue.lat_ctx.ready_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 error 0
CONTAINER 0 -40-1344-8+0 $(-1)
PARAM_COMPARE 0 &ctx->m2m_ctx->cap_q_ctx.rdy_queue != $0->m2m_ctx->cap_q_ctx.rdy_queue.next
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c vdec_av1_slice_core_decode() -> (struct mtk_vcodec_dec_pdata)->cap_to_disp()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 ctx->drv_handle 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->msg_queue.lat_ctx.ready_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 error 1
CONTAINER 0 -40-1344-8+0 $(-1)
PARAM_COMPARE 0 &ctx->m2m_ctx->cap_q_ctx.rdy_queue != $0->m2m_ctx->cap_q_ctx.rdy_queue.next
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c vdec_hevc_slice_core_decode() -> (struct mtk_vcodec_dec_pdata)->cap_to_disp()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 ctx->drv_handle 4096-ptr_max
PARAM_VALUE 1 error 0-1
FUZZY_MAX 1 error 1
CONTAINER 0 -40-1344-8+0 $(-1)
HARD_MAX 1 error 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c vdec_vp9_slice_core_decode() -> (struct mtk_vcodec_dec_pdata)->cap_to_disp()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 ctx->drv_handle 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->msg_queue.lat_ctx.ready_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 error 0
CONTAINER 0 -40-1344-8+0 $(-1)
PARAM_COMPARE 0 &ctx->m2m_ctx->cap_q_ctx.rdy_queue != $0->m2m_ctx->cap_q_ctx.rdy_queue.next
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c vdec_vp9_slice_core_decode() -> (struct mtk_vcodec_dec_pdata)->cap_to_disp()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev 4096-ptr_max
PARAM_VALUE 0 ctx->dev->vdec_pdata 4096-ptr_max
PARAM_VALUE 0 ctx->drv_handle 4096-ptr_max
PARAM_VALUE 0 ctx->m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->msg_queue.lat_ctx.ready_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 error 1
CONTAINER 0 -40-1344-8+0 $(-1)
PARAM_COMPARE 0 &ctx->m2m_ctx->cap_q_ctx.rdy_queue != $0->m2m_ctx->cap_q_ctx.rdy_queue.next
NOCHECK_CALL
HALF_LOCKED2 &pool->lock