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/venc_drv_if.c venc_if_deinit() -> mtk_venc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->drv_handle | 1-u64max |
| PARAM_VALUE | 0 | ctx->m2m_ctx | 4096-ptr_max |
| 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 |
| CAPPED_DATA | 0 | ctx->m2m_ctx | 1 |
| 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 | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->dev_mutex |
drivers/media/platform/mediatek/vcodec/encoder/venc_drv_if.c venc_if_encode() -> mtk_venc_lock()
| 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->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| 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,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,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/encoder/venc_drv_if.c venc_if_init() -> mtk_venc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->dev->venc_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->enc_if | 1806648280252276736,4615465167865245696 |
| PARAM_VALUE | 0 | ctx->state | 0 |
| BUF_SIZE | 0 | ctx->enc_if | 32 |
| DATA_SOURCE | 0 | ctx | $0 |
| BIT_INFO | 0 | ctx->enc_if | 0x109c281e000,0x591fed1dfbcbf000 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/mediatek/vcodec/encoder/venc_drv_if.c venc_if_set_param() -> mtk_venc_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->enc_if->set_param | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |