Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-mem2mem.c883 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll_for_data() local
887 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll_for_data()
890 poll_wait(file, &src_q->done_wq, wait); in v4l2_m2m_poll_for_data()
898 if ((!src_q->streaming || src_q->error || in v4l2_m2m_poll_for_data()
899 list_empty(&src_q->queued_list)) && in v4l2_m2m_poll_for_data()
904 spin_lock_irqsave(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
905 if (!list_empty(&src_q->done_list)) in v4l2_m2m_poll_for_data()
907 spin_unlock_irqrestore(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
/Linux-v5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c996 struct vb2_queue *src_q, *dst_q; in s5p_mfc_poll() local
1002 src_q = &ctx->vq_src; in s5p_mfc_poll()
1009 if ((!src_q->streaming || list_empty(&src_q->queued_list)) in s5p_mfc_poll()
1016 poll_wait(file, &src_q->done_wq, wait); in s5p_mfc_poll()
1021 spin_lock_irqsave(&src_q->done_lock, flags); in s5p_mfc_poll()
1022 if (!list_empty(&src_q->done_list)) in s5p_mfc_poll()
1023 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
1028 spin_unlock_irqrestore(&src_q->done_lock, flags); in s5p_mfc_poll()