Searched refs:src_q (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-mem2mem.c | 556 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll() local 572 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll() 580 if ((!src_q->streaming || list_empty(&src_q->queued_list)) in v4l2_m2m_poll() 586 spin_lock_irqsave(&src_q->done_lock, flags); in v4l2_m2m_poll() 587 if (list_empty(&src_q->done_list)) in v4l2_m2m_poll() 588 poll_wait(file, &src_q->done_wq, wait); in v4l2_m2m_poll() 589 spin_unlock_irqrestore(&src_q->done_lock, flags); in v4l2_m2m_poll() 606 spin_lock_irqsave(&src_q->done_lock, flags); in v4l2_m2m_poll() 607 if (!list_empty(&src_q->done_list)) in v4l2_m2m_poll() 608 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in v4l2_m2m_poll() [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 947 struct vb2_queue *src_q, *dst_q; in s5p_mfc_poll() local 953 src_q = &ctx->vq_src; in s5p_mfc_poll() 960 if ((!src_q->streaming || list_empty(&src_q->queued_list)) in s5p_mfc_poll() 967 poll_wait(file, &src_q->done_wq, wait); in s5p_mfc_poll() 972 spin_lock_irqsave(&src_q->done_lock, flags); in s5p_mfc_poll() 973 if (!list_empty(&src_q->done_list)) in s5p_mfc_poll() 974 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll() 979 spin_unlock_irqrestore(&src_q->done_lock, flags); in s5p_mfc_poll()
|