Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/media/platform/qcom/venus/venc.c venc_release_session() -> venus_pm_load_scale()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->buf_count 0
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_enc 4096-ptr_max
PARAM_VALUE 0 inst->core->dev_enc->power.request 0-4
PARAM_VALUE 0 inst->core->dev_enc->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 inst->core->dev_enc->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.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->lock.wait_lock.dep_map->name 0-255
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 &inst->lock 1
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &q->mmap_lock

drivers/media/platform/qcom/venus/vdec.c vdec_session_release() -> venus_pm_load_scale()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->buf_count 0
PARAM_VALUE 0 inst->codec_state 0
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
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->ops->isr 4096-ptr_max
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->core->res 4096-ptr_max
PARAM_VALUE 0 inst->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 inst->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev->prev 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.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->lock.first_waiter->task->usage.refs.counter s32min-s32max
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
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 inst->core->dev->cma_area->nranges 1
CAPPED_DATA 0 &inst->lock 1
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &inst->lock
HALF_LOCKED2 &q->mmap_lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/vdec.c vdec_start_capture() -> venus_pm_load_scale()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->codec_state 3,6
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->codecs_count 1-u32max
PARAM_VALUE 0 inst->core->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 inst->core->priv->last_packet_type 0-4294967295
PARAM_VALUE 0 inst->core->priv->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->priv->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->core->res 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 inst->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpb_buftype 0,2-3
PARAM_VALUE 0 inst->dpb_fmt 0,2-3,16387,32770-32771,49154-49155,65538,81922
PARAM_VALUE 0 inst->fmt_cap->pixfmt 808530000,825382478,842094158,1127231825,1127755857
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->opb_buftype 2-3
PARAM_VALUE 0 inst->opb_fmt 0,2-3,16387,32770-32771,49154-49155,65538,81922
PARAM_VALUE 0 inst->output2_buf_size 0,4096-u32max
PARAM_VALUE 0 inst->output_buf_size 0,4096-u32max
PARAM_VALUE 0 inst->state 3-5
PARAM_VALUE 0 inst->streamon_out 1-u32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 inst->core->codecs_count 1
CAPPED_DATA 0 inst->core->dev->cma_area->nranges 1
CAPPED_DATA 0 inst->hfi_codec 1
CAPPED_DATA 0 inst->output2_buf_size 1
CAPPED_DATA 0 inst->output_buf_size 1
DATA_SOURCE 0 inst $0
FUZZY_MAX 0 inst->codec_state 6
BIT_INFO 0 inst->codec_state 0x2,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/helpers.c session_process_buf() -> venus_pm_load_scale()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 inst->core->dev_dec->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->core->ops->isr 4096-ptr_max
PARAM_VALUE 0 inst->fmt_cap->pixfmt 875,808530000,808996950,809062486,842094158,843534413,859189832,875967048,877088845,1127231825,1127755857,1129727304,1145656920,1194410838,1278296918
PARAM_VALUE 0 inst->fmt_out->pixfmt 875,808530000,808996950,809062486,842094158,843534413,859189832,875967048,877088845,1127231825,1127755857,1129727304,1145656920,1194410838,1278296918
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
NOCHECK_CALL
HALF_LOCKED2 &inst->lock
HALF_LOCKED2 0 &inst->lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/helpers.c venus_helper_vb2_start_streaming() -> venus_pm_load_scale()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->clk_data.core_id 0-2
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 inst->core->dev_dec->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->core->dev_enc->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 inst->core->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 inst->core->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->core->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->core->ops->isr 4096-ptr_max
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->core->pm_ops 0,4096-ptr_max
PARAM_VALUE 0 inst->core->priv->last_packet_type 0-4294967295
PARAM_VALUE 0 inst->core->priv->lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 inst->core->priv->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 inst->core->priv->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 inst->core->priv->state 0,2-4294967295
PARAM_VALUE 0 inst->core->res 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.next 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.next->next 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.prev 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->delayed_process.prev->prev 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 inst->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->error 0
PARAM_VALUE 0 inst->fmt_cap->pixfmt 808530000,808996950,809062486,825382478,842094158,843534413,859189832,875967048,877088845,1127231825,1127755857,1129727304,1145656920,1194410838,1278296918
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->num_input_bufs 1-u32max
PARAM_VALUE 0 inst->num_output_bufs 1-u32max
PARAM_VALUE 0 inst->sequence_out 0
PARAM_VALUE 0 inst->state 3-5
BUF_SIZE 0 inst s32min-(-2),1-s32max
BUF_SIZE 0 inst s32min-(-2),1-s32max
CAPPED_DATA 0 inst 1
CAPPED_DATA 0 inst->core->dev->cma_area->nranges 1
CAPPED_DATA 0 inst->hfi_codec 1
CAPPED_DATA 0 inst->num_input_bufs 1
CAPPED_DATA 0 inst->num_output_bufs 1
DATA_SOURCE 0 inst $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 q->lock
TYPE_LOCK (struct venus_inst)->lock

drivers/media/platform/qcom/venus/helpers.c venus_helper_vb2_stop_streaming() -> venus_pm_load_scale()

Type Parameter Key Value
PARAM_VALUE 0 inst 4096-ptr_max
PARAM_VALUE 0 inst->core 4096-ptr_max
PARAM_VALUE 0 inst->core->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inst->core->ops->isr 4096-ptr_max
PARAM_VALUE 0 inst->core->res 4096-ptr_max
PARAM_VALUE 0 inst->done.done 0-4294967293,u32max
PARAM_VALUE 0 inst->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 inst->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.next->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev->next 4096-ptr_max
PARAM_VALUE 0 inst->dpbbufs.prev->prev 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
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
CAPPED_DATA 0 inst->core->dev->cma_area->nranges 1
CAPPED_DATA 0 &inst->lock 1
STR_LEN 0 inst (-1),5-9,12
STR_LEN 0 inst (-1),5-9,12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &inst->lock
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 &q->mmap_lock
TYPE_LOCK (struct venus_inst)->lock