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_output_conf() -> venus_helper_set_raw_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_state | 0,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_dec->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->ops->isr | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->res | 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 | 4096-ptr_max |
| 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.first_waiter->list.prev->prev | 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 | 1 | hfi_format | 0,2-3,16387,32770-32771,49154-49155,65538,81922 |
| PARAM_VALUE | 2 | buftype | 2-3 |
| 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->codecs_count | 1 |
| CAPPED_DATA | 0 | inst->hfi_codec | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| FUZZY_MAX | 0 | inst->codec_state | 6 |
| FUZZY_MAX | 0 | inst->dpb_buftype | 3 |
| FUZZY_MAX | 0 | inst->dpb_fmt | 0 |
| FUZZY_MAX | 0 | inst->opb_buftype | 3 |
| FUZZY_MAX | 2 | buftype | 3 |
| BIT_INFO | 0 | inst->opb_buftype | 0x2,0x3 |
| BIT_INFO | 2 | buftype | 0x2,0x3 |
| HARD_MAX | 0 | inst->dpb_buftype | 3 |
| HARD_MAX | 0 | inst->opb_buftype | 3 |
| HARD_MAX | 2 | buftype | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct venus_inst)->lock |
drivers/media/platform/qcom/venus/vdec.c vdec_output_conf() -> venus_helper_set_raw_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_state | 0,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_dec->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->ops->isr | 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 | 0-s32max |
| PARAM_VALUE | 0 | inst->core->priv->lock.first_waiter->task->blocked_on | 0 |
| 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->dpb_buftype | 2-3 |
| PARAM_VALUE | 0 | inst->dpb_fmt | 2-3,16387,32770-32771,49154-49155,65538,81922 |
| PARAM_VALUE | 0 | inst->fmt_cap | 4096-ptr_max |
| 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.first_waiter->list.prev->prev | 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 | 1 | hfi_format | 2-3,16387,32770-32771,49154-49155,65538,81922 |
| PARAM_VALUE | 2 | buftype | 2-3 |
| 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->codecs_count | 1 |
| CAPPED_DATA | 0 | inst->hfi_codec | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| FUZZY_MAX | 0 | inst->codec_state | 6 |
| FUZZY_MAX | 0 | inst->dpb_buftype | 3 |
| FUZZY_MAX | 0 | inst->opb_buftype | 3 |
| FUZZY_MAX | 2 | buftype | 3 |
| BIT_INFO | 0 | inst->dpb_buftype | 0x2,0xffffffffffffffff |
| BIT_INFO | 0 | inst->opb_buftype | 0x2,0xffffffffffffffff |
| BIT_INFO | 2 | buftype | 0x2,0x3 |
| HARD_MAX | 0 | inst->dpb_buftype | 3 |
| HARD_MAX | 0 | inst->opb_buftype | 3 |
| HARD_MAX | 2 | buftype | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_set_color_format() -> venus_helper_set_raw_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->clk_data.low_power_freq | 0,200,320,440,675 |
| PARAM_VALUE | 0 | inst->clk_data.vpp_freq | 0,200,440,675 |
| PARAM_VALUE | 0 | inst->clk_data.vsp_freq | 0,10,25,60 |
| 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->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 | 0-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 | 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->list.prev->prev | 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->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->blocked_on | 0 |
| 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->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | inst->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inst->done.wait.lock.raw_lock.val.counter | 0-s32max |
| 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 | 875,808530000,808996950,809062486,842094158,843534413,859189832 |
| PARAM_VALUE | 0 | inst->fmt_out | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fmt_out->pixfmt | 875,808530000,808996950,809062486,842094158,843534413,859189832 |
| PARAM_VALUE | 0 | inst->hfi_codec | 2,4,8,16,32,128,256,4096,8192,16384 |
| 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->list.prev->prev | 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->session_type | 1-2 |
| PARAM_VALUE | 0 | inst->state | 3 |
| PARAM_VALUE | 1 | hfi_format | 2,16387 |
| PARAM_VALUE | 2 | buftype | 1-2 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | inst | $0 |
| DATA_SOURCE | 1 | hfi_format | r to_hfi_raw_fmt |
| FUZZY_MAX | 0 | inst->session_type | 2 |
| FUZZY_MAX | 2 | buftype | 2 |
| STR_LEN | 0 | inst | (-1) |
| STR_LEN | 0 | inst | (-1) |
| HARD_MAX | 2 | buftype | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| TYPE_LOCK | (struct venus_inst)->lock |