Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/platform/qcom/venus/vdec.c vdec_event_change() -> hfi_session_flush()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_state 7
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec 4096-ptr_max
PARAM_VALUE 0 inst->error 0,4105
PARAM_VALUE 0 inst->fmt_cap 4096-ptr_max
PARAM_VALUE 0 inst->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 inst->next_buf_last 1
PARAM_VALUE 0 inst->ops 4096-ptr_max
PARAM_VALUE 1 type 16777218
PARAM_VALUE 2 block 0
BUF_SIZE 0 inst->fmt_cap (-1),176,224
CAPPED_DATA 0 &inst->lock 1
DATA_SOURCE 0 inst $0
HARD_MAX 0 inst->error 4105
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &inst->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/vdec.c vdec_stop_capture() -> hfi_session_flush()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_state 6
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec->power.request 0-4
PARAM_VALUE 0 inst->core->dev_dec->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 inst->core->dev_dec->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->core->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->pm_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->pm_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 type 16777220
PARAM_VALUE 2 block 1
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
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 &q->mmap_lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/vdec.c vdec_stop_capture() -> hfi_session_flush()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_state 7
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec->power.request 0-4
PARAM_VALUE 0 inst->core->dev_dec->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 inst->core->dev_dec->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->core->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->pm_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->pm_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 type 16777218
PARAM_VALUE 2 block 1
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
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 &q->mmap_lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/vdec.c vdec_stop_output() -> hfi_session_flush()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_state 3,5-7
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec->power.request 0-4
PARAM_VALUE 0 inst->core->dev_dec->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 inst->core->dev_dec->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->core->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->pm_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->pm_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 type 16777220
PARAM_VALUE 2 block 1
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
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 &q->mmap_lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/vdec.c vdec_stop_output() -> hfi_session_flush()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_state 1-2
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_dec->power.request 0-4
PARAM_VALUE 0 inst->core->dev_dec->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 inst->core->dev_dec->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->core->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->pm_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->pm_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->pm_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.wait_lock.owner (-1)
PARAM_VALUE 0 inst->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 type 16777220
PARAM_VALUE 2 block 1
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
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 &q->mmap_lock
TYPE_LOCK (struct venus_inst)->lock