Defined in 8 files as a member:
- sound/pci/ctxfi/ctmixer.h, line 48 (as a member)
- sound/soc/intel/atom/sst-atom-controls.h, line 372 (as a member)
- sound/soc/intel/atom/sst-atom-controls.h, line 379 (as a member)
- sound/soc/intel/atom/sst-atom-controls.h, line 390 (as a member)
- sound/soc/intel/atom/sst-atom-controls.h, line 431 (as a member)
- sound/soc/intel/atom/sst-atom-controls.h, line 438 (as a member)
- sound/soc/intel/atom/sst-atom-controls.h, line 485 (as a member)
- tools/perf/util/intel-pt.c, line 200 (as a member)
Defined in 2 files as a function:
- drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c, line 109 (as a function)
- drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c, line 112 (as a function)
Defined in 1 files as a enum:
Referenced in 5 files:
- drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c
- drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c
- sound/pci/ctxfi/ctmixer.c
- sound/soc/intel/atom/sst-atom-controls.c
- tools/perf/util/intel-pt.c
Smatch caller information:
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c start_encode() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->src_fmt.pixelformat | 808,808530000,808530004,808530521,808534338,808534599,808535106 |
| PARAM_VALUE | 0 | inst->src_fmt.plane_fmt | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 3 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | state | 4 |
| BUF_SIZE | 0 | inst | 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,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | inst | 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,4104,4824,7552,7944,8768,116088 |
| CAPPED_DATA | 0 | inst->src_fmt.pixelformat | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c wave5_vpu_enc_start_streaming() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.cycle_per_tick | 256 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.line_buf_int_en | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.line_buf_int_en | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.packed_format | 1-4 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.src_format | 0-1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.decoding_refresh_type | 0-2 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.gop_preset_idx | 9 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.hvs_max_delta_qp | 10 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.hvs_qp_scale | 2 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.initial_rc_qp | (-1) |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.intra_mb_refresh_arg | 0-268435455 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.intra_nx_n_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.intra_refresh_arg | 0-67108863 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.lambda_scaling_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.nr_inter_weight_cb | 4 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.nr_inter_weight_cr | 4 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.nr_inter_weight_y | 4 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.nr_intra_weight_cb | 7 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.nr_intra_weight_cr | 7 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.nr_intra_weight_y | 7 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.rc_weight_buf | 128 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.rc_weight_param | 16 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.rdo_skip | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.open_param.wave_param.skip_intra_trans | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.sec_axi_info.use_enc_lf_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.sec_axi_info.use_enc_rdo_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.stride | 0 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_work.size | 131072 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_work.vaddr | 1-ptr_max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->id | s32min-31 |
| PARAM_VALUE | 0 | inst->src_fmt.pixelformat | 808,808530000,808530004,808530521,808534338,808534599,808535106 |
| PARAM_VALUE | 0 | inst->state | 0 |
| PARAM_VALUE | 0 | inst->std | 1,3 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->last_src_buf | 0 |
| PARAM_VALUE | 1 | state | 1 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | inst->codec_info->enc_info.open_param.frame_rate_info | 1 |
| CAPPED_DATA | 0 | inst->src_fmt.pixelformat | 1 |
| HARD_MAX | 0 | inst->id | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | inst->codec_info->enc_info.product_code | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_rd_ptr | 0 |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_wr_ptr | 0 |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c wave5_vpu_enc_start_streaming() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.initial_info_obtained | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.instance_queue_count | 0-255 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.report_queue_count | 0-u16max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->irq_done.done | 0 |
| PARAM_VALUE | 0 | inst->irq_done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->irq_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->irq_done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inst->irq_done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->irq_done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 1 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->last_src_buf | 0 |
| PARAM_VALUE | 1 | state | 2 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.min_frame_buffer_count | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.min_src_frame_count | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.param_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.vlc_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.warn_info | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.instance_queue_count | 0-255 |
| HOST_DATA | 0 | inst->codec_info->enc_info.param_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.product_code | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.report_queue_count | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_rd_ptr | 0 |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_wr_ptr | 0 |
| HOST_DATA | 0 | inst->codec_info->enc_info.vlc_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->fbc_buf_count | 0-u32max |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c wave5_vpu_enc_start_streaming() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.sec_axi_info.use_bit_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.sec_axi_info.use_ip_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.initial_info.min_frame_buffer_count | 0-s32max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.initial_info_obtained | 1 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.instance_queue_count | 0-255 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.num_frame_buffers | 0-s32max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.report_queue_count | 0-u16max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.stride | 32-u32max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_fbc_c_tbl.size | 4096 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_fbc_c_tbl.vaddr | 1-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_fbc_y_tbl.size | 4096 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_fbc_y_tbl.vaddr | 1-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_mv.size | 4096 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_mv.vaddr | 1-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_sub_sam_buf.size | 4096 |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_sub_sam_buf.vaddr | 1-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_task.size | 1-u64max |
| PARAM_VALUE | 0 | inst->codec_info->enc_info.vb_task.vaddr | 1-ptr_max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->fbc_buf_count | 0-s32max |
| PARAM_VALUE | 0 | inst->irq_done.done | 0 |
| PARAM_VALUE | 0 | inst->irq_done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->irq_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->irq_done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inst->irq_done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->irq_done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 2 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->v4l2_ctrl_hdl.lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->last_src_buf | 0 |
| PARAM_VALUE | 1 | state | 3 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | inst->codec_info->enc_info.initial_info.min_frame_buffer_count | 1 |
| CAPPED_DATA | 0 | inst->dev->dev | 1 |
| CAPPED_DATA | 0 | inst->fbc_buf_count | 1 |
| PARAM_COMPARE | 0 | inst->codec_info->enc_info.initial_info.min_frame_buffer_count | <= $0->fbc_buf_count |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.min_frame_buffer_count | 0-s32max[c] |
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.min_src_frame_count | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.param_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.vlc_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.initial_info.warn_info | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.instance_queue_count | 0-255 |
| HOST_DATA | 0 | inst->codec_info->enc_info.param_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.product_code | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.report_queue_count | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_rd_ptr | 0 |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_wr_ptr | 0 |
| HOST_DATA | 0 | inst->codec_info->enc_info.vb_fbc_c_tbl.size | 4096[c] |
| HOST_DATA | 0 | inst->codec_info->enc_info.vb_fbc_y_tbl.size | 4096[c] |
| HOST_DATA | 0 | inst->codec_info->enc_info.vb_mv.size | 4096[c] |
| HOST_DATA | 0 | inst->codec_info->enc_info.vb_sub_sam_buf.size | 4096[c] |
| HOST_DATA | 0 | inst->codec_info->enc_info.vlc_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->fbc_buf_count | 0-s32max[c] |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c wave5_vpu_enc_stop_streaming() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4 |
| 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 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c set_instance_state() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 2-4 |
| 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,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,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | inst | $0 |
| DATA_SOURCE | 1 | state | $1 |
| HARD_MAX | 1 | state | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | inst->codec_info->dec_info.frame_display_flag | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.instance_queue_count | 0-255 |
| HOST_DATA | 0 | inst->codec_info->dec_info.report_queue_count | 0-u16max |
| HOST_DATA | 0 | inst->dev->last_performance_cycles | 0-u32max |
| LOCK2 | flags | ||
| LOCK2 | 0 | &inst->state_spinlock | |
| TYPE_LOCK | (struct vpu_instance)->state_spinlock |
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c streamoff_capture() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->needs_reallocation | 0 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->has_stopped | 1 |
| PARAM_VALUE | 1 | state | 2 |
| 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 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| STR_LEN | 0 | inst | (-1),5-9,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c wave5_vpu_dec_device_run() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->state | 1 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->last_src_buf | 1-u64max |
| PARAM_VALUE | 1 | state | 4 |
| BUF_SIZE | 0 | inst | 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,4104,4824,7552,7944,8768,116088 |
| BUF_SIZE | 0 | inst | 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,4104,4824,7552,7944,8768,116088 |
| DATA_SOURCE | 0 | inst | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | inst->codec_info->dec_info.frame_display_flag | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.luma_bitdepth | 0-15 |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.min_frame_buffer_count | 0 |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.param_buf_size | 0 |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.pic_crop_rect.bottom | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.pic_crop_rect.right | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.rd_ptr | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.seq_init_err_reason | 0 |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.vlc_buf_size | 0 |
| HOST_DATA | 0 | inst->codec_info->dec_info.param_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.stream_rd_ptr | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.vlc_buf_size | 0-u32max |
| LOCK2 | flags | ||
| LOCK2 | 0 | &inst->state_spinlock | |
| TYPE_LOCK | (struct vpu_instance)->state_spinlock |
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c wave5_vpu_dec_finish_decode() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.instance_queue_count | 0-255 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.new_seq_info.chroma_bitdepth | 0-15 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.new_seq_info.luma_bitdepth | 0-15 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.new_seq_info.pic_crop_rect.bottom | 0-u16max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.new_seq_info.pic_crop_rect.left | 0-u16max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.new_seq_info.pic_crop_rect.right | 0-u16max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.new_seq_info.pic_crop_rect.top | 0-u16max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.new_seq_info.pic_height | 0-u16max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.new_seq_info.pic_width | 0-u16max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.new_seq_info.rd_ptr | 0-u32max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.report_queue_count | 0-u16max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->has_stopped | 0 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->last_src_buf | 0 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | state | 4 |
| CAPPED_DATA | 0 | inst->codec_info->dec_info.num_of_decoding_fbs | 1 |
| DATA_SOURCE | 0 | inst | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | inst->codec_info->dec_info.frame_display_flag | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.chroma_bitdepth | 0-15 |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.luma_bitdepth | 0-15 |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.min_frame_buffer_count | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.param_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.pic_crop_rect.bottom | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.pic_crop_rect.left | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.pic_crop_rect.right | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.pic_crop_rect.top | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.pic_height | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.pic_width | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.profile | 0-u32max[c] |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.rd_ptr | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.seq_init_err_reason | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.initial_info.vlc_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.chroma_bitdepth | 0-15 |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.luma_bitdepth | 0-15 |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.min_frame_buffer_count | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.param_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.pic_crop_rect.bottom | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.pic_crop_rect.left | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.pic_crop_rect.right | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.pic_crop_rect.top | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.pic_height | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.pic_width | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.profile | 0-u32max[c] |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.rd_ptr | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.seq_init_err_reason | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.new_seq_info.vlc_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.param_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.report_queue_count | 0-u16max |
| HOST_DATA | 0 | inst->codec_info->dec_info.stream_rd_ptr | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->dec_info.vlc_buf_size | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_rd_ptr | 0-u32max |
| HOST_DATA | 0 | inst->codec_info->enc_info.stream_wr_ptr | 0-u32max |
| HOST_DATA | 0 | inst->dev->last_performance_cycles | 0-u32max |
| HOST_DATA | 0 | inst->last_rd_ptr | 0-u32max |
| LOCK2 | &dev->irq_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &inst->state_spinlock | |
| HALF_LOCKED2 | &dev->irq_sem | ||
| TYPE_LOCK | (struct vpu_device)->irq_lock | ||
| TYPE_LOCK | (struct vpu_instance)->state_spinlock |
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c wave5_vpu_dec_start_streaming() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->bitstream_vbuf.daddr | 0 |
| PARAM_VALUE | 0 | inst->bitstream_vbuf.size | 1024-4294966272 |
| PARAM_VALUE | 0 | inst->bitstream_vbuf.vaddr | 1-ptr_max |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.cycle_per_tick | 256 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.open_param.bitstream_buffer_size | 1024-4294966272 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.reorder_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.sec_axi_info.use_bit_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.sec_axi_info.use_ip_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.sec_axi_info.use_lf_row_enable | 1 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.seq_change_mask | 852000,548208640 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.stream_buf_end_addr | 1024-4294966272 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.stream_buf_size | 1024-4294966272 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.vb_work.size | 1826816,2097152 |
| PARAM_VALUE | 0 | inst->codec_info->dec_info.vb_work.vaddr | 1-ptr_max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inst->dev->hw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inst->id | s32min-31 |
| PARAM_VALUE | 0 | inst->state | 0 |
| PARAM_VALUE | 0 | inst->std | 0,2 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->last_src_buf | 0 |
| PARAM_VALUE | 1 | state | 1 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | inst->dev->dev | 1 |
| HARD_MAX | 0 | inst->id | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | inst->codec_info->dec_info.product_code | 0-u32max |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c wave5_vpu_dec_start_streaming() -> switch_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 4 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->last_src_buf | 0 |
| PARAM_VALUE | 1 | state | 2 |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | inst | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |