Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c mtk_venc_param_change() -> venc_if_set_param()
| 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->q_data | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| PARAM_VALUE | 2 | in | 7355088187834982400 |
| PARAM_VALUE | 2 | in->buf_height | 0 |
| PARAM_VALUE | 2 | in->buf_width | 0 |
| PARAM_VALUE | 2 | in->frm_rate | 0 |
| PARAM_VALUE | 2 | in->gop_size | 0 |
| PARAM_VALUE | 2 | in->height | 0 |
| PARAM_VALUE | 2 | in->input_yuv_fmt | 0 |
| PARAM_VALUE | 2 | in->intra_period | 0 |
| PARAM_VALUE | 2 | in->width | 0 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c mtk_venc_param_change() -> venc_if_set_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->enc_if->set_param | 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->q_data | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 2 | in | 7355088187834982400 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c mtk_venc_param_change() -> venc_if_set_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->enc_if->set_param | 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->q_data | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| PARAM_VALUE | 2 | in | 7355088187834982400 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c mtk_venc_param_change() -> venc_if_set_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->enc_if->set_param | 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->q_data | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | in | 0 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | ctx | 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,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c vb2ops_venc_start_streaming() -> venc_if_set_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->m2m_ctx->out_q_ctx.q.start_streaming_called | 1 |
| PARAM_VALUE | 0 | ctx->state | 1-3,5-u32max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | in | 468652401752997888 |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c vb2ops_venc_start_streaming() -> venc_if_set_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dev->enc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->dev->enc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->dev->enc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->dev->enc_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->dev->enc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->dev->enc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->dev->enc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->dev->enc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->drv_handle->frm_cnt | 0 |
| PARAM_VALUE | 0 | ctx->drv_handle->skip_frm_cnt | 0 |
| PARAM_VALUE | 0 | ctx->drv_handle->vpu_inst->ctx->dev->fw_handler->scp->ipi_id_ack | 0 |
| PARAM_VALUE | 0 | ctx->drv_handle->vpu_inst.ctx->dev->fw_handler->scp->clk->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | ctx->drv_handle->vpu_inst.failure | (-22),0-1 |
| PARAM_VALUE | 0 | ctx->drv_handle->vpu_inst.id | 1-254 |
| PARAM_VALUE | 0 | ctx->enc_if | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->enc_if->set_param | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->enc_params.seq_hdr_mode | 1-u32max |
| PARAM_VALUE | 0 | ctx->m2m_ctx->out_q_ctx.q.start_streaming_called | 1 |
| PARAM_VALUE | 0 | ctx->param_change | 0 |
| PARAM_VALUE | 0 | ctx->q_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->state | 1-3,5-u32max |
| PARAM_VALUE | 1 | type | 7 |
| PARAM_VALUE | 2 | in | 0 |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |