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() -> wave5_is_draining_or_eos()
| 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 |
| 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 | |||
| 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_job_ready() -> wave5_is_draining_or_eos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 1 |
| 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 | |||
| LOCK2 | &m2m_dev->job_spinlock | ||
| LOCK2 | flags | ||
| LOCK2 | flags_job | ||
| LOCK2 | 0 | &inst->state_spinlock | |
| TYPE_LOCK | (struct v4l2_m2m_dev)->job_spinlock | ||
| TYPE_LOCK | (struct vpu_instance)->state_spinlock |
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c wave5_vpu_dec_job_ready() -> wave5_is_draining_or_eos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->state | 2-3 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->cap_q_ctx.q.streaming | 1 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| 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 | |||
| LOCK2 | &m2m_dev->job_spinlock | ||
| LOCK2 | flags | ||
| LOCK2 | flags_job | ||
| LOCK2 | 0 | &inst->state_spinlock | |
| TYPE_LOCK | (struct v4l2_m2m_dev)->job_spinlock | ||
| TYPE_LOCK | (struct vpu_instance)->state_spinlock |
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c wave5_vpu_dec_job_ready() -> wave5_is_draining_or_eos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inst | 4096-ptr_max |
| PARAM_VALUE | 0 | inst->eos | 0 |
| 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.q.streaming | 1 |
| 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->is_draining | 0 |
| PARAM_VALUE | 0 | inst->v4l2_fh.m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| 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 | |||
| LOCK2 | &m2m_dev->job_spinlock | ||
| LOCK2 | flags | ||
| LOCK2 | flags_job | ||
| LOCK2 | 0 | &inst->state_spinlock | |
| TYPE_LOCK | (struct v4l2_m2m_dev)->job_spinlock | ||
| TYPE_LOCK | (struct vpu_instance)->state_spinlock |