Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c wave5_vpu_dec_device_run() -> flag_last_buffer_done()
| 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 | 4 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->last_src_buf | 1-u64max |
| 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.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->conf_win.height | 0-u16max,4294901761-u32max |
| HOST_DATA | 0 | inst->conf_win.left | 0-u16max |
| HOST_DATA | 0 | inst->conf_win.top | 0-u16max |
| HOST_DATA | 0 | inst->conf_win.width | 0-u16max,4294901761-u32max |
| HOST_DATA | 0 | inst->dst_fmt.height | 0-u16max |
| HOST_DATA | 0 | inst->dst_fmt.width | 0-u16max |
| HOST_DATA | 0 | inst->src_fmt.height | 0-u16max |
| HOST_DATA | 0 | inst->src_fmt.width | 0-u16max |
| 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() -> flag_last_buffer_done()
| 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->eos | 0 |
| PARAM_VALUE | 0 | inst->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->sent_eos | 1 |
| PARAM_VALUE | 0 | inst->state | 4 |
| 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 | 0 | inst->v4l2_fh.vdev | 4096-ptr_max |
| 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->conf_win.height | 0-u16max,4294901761-u32max |
| HOST_DATA | 0 | inst->conf_win.left | 0-u16max |
| HOST_DATA | 0 | inst->conf_win.top | 0-u16max |
| HOST_DATA | 0 | inst->conf_win.width | 0-u16max,4294901761-u32max |
| HOST_DATA | 0 | inst->dev->last_performance_cycles | 0-u32max |
| HOST_DATA | 0 | inst->dst_fmt.height | 0-u16max |
| HOST_DATA | 0 | inst->dst_fmt.width | 0-u16max |
| HOST_DATA | 0 | inst->last_rd_ptr | 0-u32max |
| HOST_DATA | 0 | inst->src_fmt.height | 0-u16max |
| HOST_DATA | 0 | inst->src_fmt.width | 0-u16max |
| 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_stop() -> flag_last_buffer_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->eos | 0 |
| PARAM_VALUE | 0 | inst->sent_eos | 1 |
| PARAM_VALUE | 0 | inst->state | 0 |
| PARAM_VALUE | 0 | inst->v4l2_fh.available.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.available.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.available.prev->next->next | 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->is_draining | 1 |
| 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 | 0 | inst->v4l2_fh.vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.vdev->fh_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | inst | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &inst->state_spinlock | |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| TYPE_LOCK | (struct vpu_instance)->state_spinlock |