Home
last modified time | relevance | path

Searched refs:src_q (Results 1 – 4 of 4) sorted by relevance

/drivers/media/platform/qcom/iris/
A Diris_state.c262 struct vb2_queue *src_q = v4l2_m2m_get_src_vq(inst->m2m_ctx); in iris_allow_cmd() local
266 if (vb2_is_streaming(src_q) || vb2_is_streaming(dst_q)) in iris_allow_cmd()
270 if (vb2_is_streaming(src_q)) in iris_allow_cmd()
A Diris_vdec.c147 struct vb2_queue *src_q; in iris_vdec_try_fmt() local
168 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in iris_vdec_try_fmt()
169 if (vb2_is_streaming(src_q)) { in iris_vdec_try_fmt()
293 struct vb2_queue *src_q; in iris_vdec_src_change() local
295 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in iris_vdec_src_change()
296 if (!vb2_is_streaming(src_q)) in iris_vdec_src_change()
/drivers/media/v4l2-core/
A Dv4l2-mem2mem.c916 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll_for_data() local
920 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll_for_data()
928 if ((!vb2_is_streaming(src_q) || src_q->error || in v4l2_m2m_poll_for_data()
929 list_empty(&src_q->queued_list)) && in v4l2_m2m_poll_for_data()
934 spin_lock_irqsave(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
935 if (!list_empty(&src_q->done_list)) in v4l2_m2m_poll_for_data()
937 spin_unlock_irqrestore(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
955 struct vb2_queue *src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll() local
967 poll_wait(file, &src_q->done_wq, wait); in v4l2_m2m_poll()
/drivers/media/platform/samsung/s5p-mfc/
A Ds5p_mfc.c1032 struct vb2_queue *src_q, *dst_q; in s5p_mfc_poll() local
1038 src_q = &ctx->vq_src; in s5p_mfc_poll()
1045 if ((!vb2_is_streaming(src_q) || list_empty(&src_q->queued_list)) && in s5p_mfc_poll()
1052 poll_wait(file, &src_q->done_wq, wait); in s5p_mfc_poll()
1057 spin_lock_irqsave(&src_q->done_lock, flags); in s5p_mfc_poll()
1058 if (!list_empty(&src_q->done_list)) in s5p_mfc_poll()
1059 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
1064 spin_unlock_irqrestore(&src_q->done_lock, flags); in s5p_mfc_poll()

Completed in 14 milliseconds