Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c913 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll_for_data() local
917 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll_for_data()
925 if ((!vb2_is_streaming(src_q) || src_q->error || in v4l2_m2m_poll_for_data()
926 list_empty(&src_q->queued_list)) && in v4l2_m2m_poll_for_data()
931 spin_lock_irqsave(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
932 if (!list_empty(&src_q->done_list)) in v4l2_m2m_poll_for_data()
934 spin_unlock_irqrestore(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
952 struct vb2_queue *src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll() local
964 poll_wait(file, &src_q in v4l2_m2m_poll()
[all...]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c912 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll_for_data() local
916 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll_for_data()
919 poll_wait(file, &src_q->done_wq, wait); in v4l2_m2m_poll_for_data()
927 if ((!src_q->streaming || src_q->error || in v4l2_m2m_poll_for_data()
928 list_empty(&src_q->queued_list)) && in v4l2_m2m_poll_for_data()
933 spin_lock_irqsave(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
934 if (!list_empty(&src_q->done_list)) in v4l2_m2m_poll_for_data()
936 spin_unlock_irqrestore(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A 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()
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c1011 struct vb2_queue *src_q, *dst_q; in s5p_mfc_poll() local
1017 src_q = &ctx->vq_src; in s5p_mfc_poll()
1024 if ((!vb2_is_streaming(src_q) || list_empty(&src_q->queued_list)) && in s5p_mfc_poll()
1031 poll_wait(file, &src_q->done_wq, wait); in s5p_mfc_poll()
1036 spin_lock_irqsave(&src_q->done_lock, flags); in s5p_mfc_poll()
1037 if (!list_empty(&src_q->done_list)) in s5p_mfc_poll()
1038 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
1043 spin_unlock_irqrestore(&src_q->done_lock, flags); in s5p_mfc_poll()

Completed in 14 milliseconds