Lines Matching refs:dst_q
621 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll() local
638 dst_q = v4l2_m2m_get_dst_vq(m2m_ctx); in v4l2_m2m_poll()
646 && (!dst_q->streaming || list_empty(&dst_q->queued_list))) { in v4l2_m2m_poll()
656 spin_lock_irqsave(&dst_q->done_lock, flags); in v4l2_m2m_poll()
657 if (list_empty(&dst_q->done_list)) { in v4l2_m2m_poll()
662 if (dst_q->last_buffer_dequeued) { in v4l2_m2m_poll()
663 spin_unlock_irqrestore(&dst_q->done_lock, flags); in v4l2_m2m_poll()
667 poll_wait(file, &dst_q->done_wq, wait); in v4l2_m2m_poll()
669 spin_unlock_irqrestore(&dst_q->done_lock, flags); in v4l2_m2m_poll()
680 spin_lock_irqsave(&dst_q->done_lock, flags); in v4l2_m2m_poll()
681 if (!list_empty(&dst_q->done_list)) in v4l2_m2m_poll()
682 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in v4l2_m2m_poll()
687 spin_unlock_irqrestore(&dst_q->done_lock, flags); in v4l2_m2m_poll()