Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/media/platform/qcom/iris/iris_platform_vpu2.c
- drivers/media/platform/qcom/iris/iris_platform_vpu3x.c
- drivers/media/platform/qcom/iris/iris_vpu_buffer.c, line 2141
Smatch caller information:
drivers/media/platform/qcom/iris/iris_vpu_buffer.c iris_vpu33_buf_size() -> iris_vpu_buf_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->command_queue.qhdr->write_idx | 0-1073741823 |
| PARAM_VALUE | 0 | inst->core->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | inst->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_input_config_params_av1_size | 0,10 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_input_config_params_default_size | 8-9 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_input_config_params_hevc_size | 0,8 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_input_config_params_vp9_size | 0,6 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_ip_int_buf_tbl_size | 2,5 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_op_int_buf_tbl_size | 1 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_output_config_params_size | 0,4 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->enc_input_config_params_size | 5 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->enc_ip_int_buf_tbl_size | 1,3 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->enc_op_int_buf_tbl_size | 0,5 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->enc_output_config_params_size | 0,3 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->iris_firmware_desc->get_vpu_buffer_size | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->max_frame_height | 4096,8192 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->max_frame_width | 4096,8192 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->max_mbpf | 34816,138240,139264 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->min_frame_height | 96,128 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->min_frame_width | 96,128 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->list.prev->next | 5159360019465732096 |
| 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->domain | 2 |
| PARAM_VALUE | 0 | inst->fmt_src->fmt.pix_mp.height | 96-8192 |
| PARAM_VALUE | 0 | inst->fmt_src->fmt.pix_mp.width | 96-8192 |
| PARAM_VALUE | 0 | inst->hfi_session_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->hfi_session_ops->session_set_config_params | 4096-ptr_max |
| 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.owner | (-1) |
| PARAM_VALUE | 0 | inst->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inst->state | 0-4,6-u32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | inst->core->dev | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->max_frame_height | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->max_frame_width | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->max_mbpf | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->min_frame_height | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->min_frame_width | 1 |
| CAPPED_DATA | 0 | inst->fmt_src->fmt.pix_mp.height | 1 |
| CAPPED_DATA | 0 | inst->fmt_src->fmt.pix_mp.width | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| DATA_SOURCE | 1 | buffer_type | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct iris_inst)->lock |
drivers/media/platform/qcom/iris/iris_buffer.c iris_fill_internal_buf_info() -> (struct iris_firmware_desc)->get_vpu_buffer_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->buffers | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->command_queue.qhdr->write_idx | 0-1073741823 |
| PARAM_VALUE | 0 | inst->core->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | inst->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_input_config_params_av1_size | 0,10 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_input_config_params_default_size | 8-9 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_input_config_params_hevc_size | 0,8 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_input_config_params_vp9_size | 0,6 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_ip_int_buf_tbl_size | 2,5 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_op_int_buf_tbl_size | 1 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->dec_output_config_params_size | 0,4 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->enc_input_config_params_size | 5 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->enc_ip_int_buf_tbl_size | 1,3 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->enc_op_int_buf_tbl_size | 0,5 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data->enc_output_config_params_size | 0,3 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->iris_firmware_desc->get_vpu_buffer_size | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->max_frame_height | 4096,8192 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->max_frame_width | 4096,8192 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->max_mbpf | 34816,138240,139264 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->min_frame_height | 96,128 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->min_frame_width | 96,128 |
| PARAM_VALUE | 0 | inst->core->lock.first_waiter->list.prev->next | 5159360019465732096 |
| 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->fmt_src->fmt.pix_mp.height | 96-8192 |
| PARAM_VALUE | 0 | inst->fmt_src->fmt.pix_mp.width | 96-8192 |
| PARAM_VALUE | 0 | inst->hfi_session_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->hfi_session_ops->session_set_config_params | 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->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inst->state | 0-4,6-u32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | inst->core->dev | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->max_frame_height | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->max_frame_width | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->max_mbpf | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->min_frame_height | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->min_frame_width | 1 |
| CAPPED_DATA | 0 | inst->fmt_src->fmt.pix_mp.height | 1 |
| CAPPED_DATA | 0 | inst->fmt_src->fmt.pix_mp.width | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| DATA_SOURCE | 1 | buffer_type | $1 |
| CONTAINER | 0 | -8-344-16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct iris_inst)->lock |
drivers/media/platform/qcom/iris/iris_hfi_gen1_command.c iris_hfi_gen1_set_bufsize() -> (struct iris_firmware_desc)->get_vpu_buffer_size()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | inst->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | inst->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | inst->core->iris_firmware_data | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->iris_firmware_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->max_frame_height | 4096,8192 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->max_frame_width | 4096,8192 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->max_mbpf | 34816,138240,139264 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->min_frame_height | 96,128 |
| PARAM_VALUE | 0 | inst->core->iris_platform_data->inst_caps->min_frame_width | 96,128 |
| 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->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->fmt_dst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fmt_dst->fmt.pix_mp.pixelformat | 808530000,842094158,1127231825,1127755857 |
| PARAM_VALUE | 0 | inst->fmt_src->fmt.pix_mp.height | 96-8192 |
| PARAM_VALUE | 0 | inst->fmt_src->fmt.pix_mp.width | 96-8192 |
| PARAM_VALUE | 0 | inst->hfi_session_ops | 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->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->state | 0-4,6-u32max |
| PARAM_VALUE | 1 | buffer_type | 8 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | inst->core->dev | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->max_frame_height | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->max_frame_width | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->max_mbpf | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->min_frame_height | 1 |
| CAPPED_DATA | 0 | inst->core->iris_platform_data->inst_caps->min_frame_width | 1 |
| CAPPED_DATA | 0 | inst->fmt_src->fmt.pix_mp.height | 1 |
| CAPPED_DATA | 0 | inst->fmt_src->fmt.pix_mp.width | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| CONTAINER | 0 | -8-344-16+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct iris_inst)->lock |