Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/platform/amphion/venc.c venc_drain() -> vpu_is_source_empty()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->fh.m2m_ctx 1-u64max
BUF_SIZE 0 inst (-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 inst (-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 inst $0
STR_LEN 0 inst (-1),5-9,12
STR_LEN 0 inst (-1),5-9,12
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &inst->lock

drivers/media/platform/amphion/vdec.c vdec_drain() -> vpu_is_source_empty()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->fh.m2m_ctx 1-u64max
BUF_SIZE 0 inst s32min-(-1),1-s32max
BUF_SIZE 0 inst s32min-(-1),1-s32max
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &inst->lock