Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/media/platform/qcom/iris/iris_hfi_gen1_command.c
- drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c, line 440
- drivers/media/platform/qcom/iris/iris_hfi_gen2_command.c, line 465
- drivers/media/platform/qcom/iris/iris_vpu_buffer.c
Smatch caller information:
drivers/media/platform/qcom/iris/iris_vpu_buffer.c iris_vpu4x_dec_line_size() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| 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 |
drivers/media/platform/qcom/iris/iris_vpu_buffer.c iris_vpu_dec_dpb_size() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| 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 |
drivers/media/platform/qcom/iris/iris_vpu_buffer.c iris_vpu_dec_line_size() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| 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 |
drivers/media/platform/qcom/iris/iris_vpu_buffer.c iris_vpu_dpb_count() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| 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 |
| 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_vpu_buffer.c output_min_count() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst->core | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | inst->fmt_dst | (-1),208 |
| BUF_SIZE | 0 | inst->fmt_src | (-1),208 |
| BUF_SIZE | 0 | inst->m2m_ctx | (-1),1616 |
| BUF_SIZE | 0 | inst->m2m_ctx->m2m_dev | (-1),712 |
| BUF_SIZE | 0 | inst->m2m_ctx->priv | (-1),7552 |
| BUF_SIZE | 0 | inst->m2m_dev | (-1),712 |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inst->codec | 0-1129727303,1129727305-u32max[c] |
| HALF_LOCKED2 | 0 | &inst->lock |
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c iris_hfi_gen1_session_ftb_done() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| CAPPED_DATA | 0 | inst->session_id | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct iris_inst)->lock |
drivers/media/platform/qcom/iris/iris_hfi_gen1_command.c iris_hfi_gen1_queue_output_buffer() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| 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->state | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| TYPE_LOCK | (struct iris_inst)->lock |
drivers/media/platform/qcom/iris/iris_hfi_gen1_command.c iris_hfi_gen1_set_bufsize() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| 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 |
| 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_multistream() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| 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 |
| 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_num_bufs() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| 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 |
| 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_raw_format() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->fmt_dst | 4096-ptr_max |
| 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 |
| 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_gen2_command.c iris_hfi_gen2_set_opb_enable() -> iris_split_mode_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inst->lock | |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct iris_inst)->lock |