Searched refs:src_q (Results 1 – 2 of 2) sorted by relevance
/drivers/media/v4l2-core/ |
D | v4l2-mem2mem.c | 530 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll() local 546 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll() 554 if ((!src_q->streaming || list_empty(&src_q->queued_list)) in v4l2_m2m_poll() 565 if (list_empty(&src_q->done_list)) in v4l2_m2m_poll() 566 poll_wait(file, &src_q->done_wq, wait); in v4l2_m2m_poll() 579 spin_lock_irqsave(&src_q->done_lock, flags); in v4l2_m2m_poll() 580 if (!list_empty(&src_q->done_list)) in v4l2_m2m_poll() 581 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in v4l2_m2m_poll() 586 spin_unlock_irqrestore(&src_q->done_lock, flags); in v4l2_m2m_poll()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 927 struct vb2_queue *src_q, *dst_q; in s5p_mfc_poll() local 933 src_q = &ctx->vq_src; in s5p_mfc_poll() 940 if ((!src_q->streaming || list_empty(&src_q->queued_list)) in s5p_mfc_poll() 947 poll_wait(file, &src_q->done_wq, wait); in s5p_mfc_poll() 952 spin_lock_irqsave(&src_q->done_lock, flags); in s5p_mfc_poll() 953 if (!list_empty(&src_q->done_list)) in s5p_mfc_poll() 954 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll() 959 spin_unlock_irqrestore(&src_q->done_lock, flags); in s5p_mfc_poll()
|