Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c
- drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c
Smatch caller information:
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c mtk_vdec_flush_decoder() -> vdec_if_decode()
| 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->state | 2-u32max |
| PARAM_VALUE | 1 | bs | 0 |
| PARAM_VALUE | 2 | fb | 0 |
| PARAM_VALUE | 3 | res_chg | 1189951445828820992 |
| BUF_SIZE | 0 | ctx | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| FUZZY_MAX | 0 | ctx->state | 2 |
| STR_LEN | 0 | ctx | (-1),5-9,12 |
| STR_LEN | 0 | ctx | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c mtk_vdec_worker() -> vdec_if_decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 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 | 1 | bs | 4096-ptr_max |
| PARAM_VALUE | 1 | bs->va | 1-u64max |
| PARAM_VALUE | 2 | fb | 0 |
| PARAM_VALUE | 3 | res_chg | 8283873099601612800 |
| PARAM_VALUE | 3 | *res_chg | 0 |
| BUF_SIZE | 1 | bs | 24 |
| BUF_SIZE | 1 | bs->va | s32min-s32max |
| CAPPED_DATA | 0 | &ctx->ctrl_hdl | 1 |
| PARAM_COMPARE | 0 | &ctx->m2m_ctx->out_q_ctx.rdy_queue | != $0->m2m_ctx->out_q_ctx.rdy_queue.next |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c mtk_vdec_flush_decoder() -> vdec_if_decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | *ctx->dev->vdec_racing_info | 0-4294967295 |
| PARAM_VALUE | 1 | bs | 0 |
| PARAM_VALUE | 2 | fb | 0 |
| PARAM_VALUE | 3 | res_chg | 8946425701943062528 |
| BUF_SIZE | 0 | ctx | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | (-1),360,392,488,768,776,784,816,856,872,880,920,928,976,1000,1016,1088,1120,1128,1144,1152,1184,1248,1288,1312,1328,1344,1352,1368,1392,1552,2416,2728,2888,3040,3256,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| STR_LEN | 0 | ctx | (-1),5-9,12 |
| STR_LEN | 0 | ctx | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c mtk_vdec_worker() -> vdec_if_decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->picinfo.fb_sz | 4096-ptr_max |
| PARAM_VALUE | 1 | bs | 0 |
| PARAM_VALUE | 2 | fb | 0 |
| PARAM_VALUE | 3 | res_chg | 6668593871210323968 |
| PARAM_VALUE | 3 | *res_chg | 0 |
| CAPPED_DATA | 0 | &ctx->empty_flush_buf.vb | 1 |
| CAPPED_DATA | 0 | &ctx->lock | 1 |
| PARAM_COMPARE | 0 | &ctx->m2m_ctx->cap_q_ctx.rdy_queue | != $0->m2m_ctx->cap_q_ctx.rdy_queue.next |
| 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/mtk_vcodec_dec_stateful.c mtk_vdec_worker() -> vdec_if_decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->picinfo.fb_sz | 4096-ptr_max |
| PARAM_VALUE | 1 | bs | 7072064140970205184 |
| PARAM_VALUE | 1 | bs->va | 1-u64max |
| PARAM_VALUE | 2 | fb | 4096-ptr_max |
| PARAM_VALUE | 2 | fb->base_c.size | 0-u32max |
| PARAM_VALUE | 2 | fb->base_y.size | 0-u32max |
| PARAM_VALUE | 2 | fb->status | 0 |
| PARAM_VALUE | 3 | res_chg | 6668593871210323968 |
| PARAM_VALUE | 3 | *res_chg | 0 |
| BUF_SIZE | 2 | fb | 56 |
| BUF_SIZE | 2 | fb->base_c.va | s32min-s32max |
| BUF_SIZE | 2 | fb->base_y.va | s32min-s32max |
| CAPPED_DATA | 0 | &ctx->lock | 1 |
| PARAM_COMPARE | 0 | &ctx->m2m_ctx->cap_q_ctx.rdy_queue | != $0->m2m_ctx->cap_q_ctx.rdy_queue.next |
| PARAM_COMPARE | 0 | &ctx->m2m_ctx->out_q_ctx.rdy_queue | != $0->m2m_ctx->out_q_ctx.rdy_queue.next |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c vb2ops_vdec_stateful_buf_queue() -> vdec_if_decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 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->state | 1 |
| PARAM_VALUE | 1 | bs | 1817205243558580224 |
| PARAM_VALUE | 2 | fb | 0 |
| PARAM_VALUE | 3 | res_chg | 8092966826739691520 |
| PARAM_VALUE | 3 | *res_chg | 0 |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| PARAM_COMPARE | 0 | &ctx->m2m_ctx->out_q_ctx.rdy_queue | != $0->m2m_ctx->out_q_ctx.rdy_queue.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |