Home
last modified time | relevance | path

Searched refs:vb2_is_streaming (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/linux/drivers/media/pci/bt8xx/
H A Dbttv-vbi.c86 if (vb2_is_streaming(&btv->capq)) in buf_queue_vbi()
144 if (!vb2_is_streaming(&btv->capq)) { in start_streaming_vbi()
159 if (!vb2_is_streaming(&btv->capq)) { in stop_streaming_vbi()
/openbmc/linux/drivers/usb/gadget/function/
H A Duvc_queue.h63 return vb2_is_streaming(&queue->queue); in uvc_queue_streaming()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_v4l2.c524 if (vb2_is_streaming(vq) || (vb2_is_busy(vq) && in hantro_set_fmt_out()
697 if (vb2_is_streaming(vq)) in vidioc_s_selection()
740 if (!vb2_is_streaming(v4l2_m2m_get_src_vq(ctx->fh.m2m_ctx)) || in vidioc_encoder_cmd()
741 !vb2_is_streaming(v4l2_m2m_get_dst_vq(ctx->fh.m2m_ctx))) in vidioc_encoder_cmd()
885 vb2_is_streaming(vb->vb2_queue) && in hantro_buf_queue()
/openbmc/linux/drivers/staging/media/tegra-video/
H A Dvideo.c40 if (ev->type == V4L2_EVENT_SOURCE_CHANGE && vb2_is_streaming(&chan->queue)) in tegra_v4l2_dev_notify()
/openbmc/linux/drivers/media/platform/st/sti/hva/
H A Dhva-v4l2.c465 if (vb2_is_streaming(vq)) { in hva_s_fmt_stream()
496 if (vb2_is_streaming(vq)) { in hva_s_fmt_frame()
1089 vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)) || in hva_stop_streaming()
1091 vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q))) { in hva_stop_streaming()
1094 vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q), in hva_stop_streaming()
1095 vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)); in hva_stop_streaming()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc.c736 if (!vb2_is_streaming(src_vq)) { in vidioc_encoder_cmd()
740 if (!vb2_is_streaming(dst_vq)) { in vidioc_encoder_cmd()
981 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q)) || in vb2ops_venc_stop_streaming()
983 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q))) { in vb2ops_venc_stop_streaming()
986 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q), in vb2ops_venc_stop_streaming()
987 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q)); in vb2ops_venc_stop_streaming()
/openbmc/linux/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c720 !vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)) in enum_fmt()
1218 if (!vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q) || in vicodec_encoder_cmd()
1219 !vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q)) in vicodec_encoder_cmd()
1247 if (!vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q) || in vicodec_decoder_cmd()
1248 !vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q)) in vicodec_decoder_cmd()
1437 vb2_is_streaming(vb->vb2_queue) && in vicodec_buf_queue()
1463 if (vb2_is_streaming(vq_cap) && vb2_is_streaming(vq_out)) { in vicodec_buf_queue()
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_dbg.c89 vb2_is_streaming(vq), in vpu_dbg_instance()
113 vb2_is_streaming(vq), in vpu_dbg_instance()
/openbmc/linux/drivers/media/pci/sta2x11/
H A Dsta2x11_vip.c246 if (vb2_is_streaming(&vip->vb_vidq)) { /* streaming is on */ in vip_active_buf_next()
312 if (vb2_is_streaming(&vip->vb_vidq)) /* streaming is on */ in buffer_queue()
328 if (vb2_is_streaming(vb->vb2_queue)) in buffer_finish()
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-irq.c167 if ((edge & mask & dma_fifo_mask) && vb2_is_streaming(&s->q)) { in cobalt_irq_handler()
/openbmc/linux/drivers/media/pci/saa7134/
H A Dsaa7134-video.c822 if ((dmaq == &dev->video_q && !vb2_is_streaming(&dev->vbi_vbq)) || in saa7134_vb2_start_streaming()
823 (dmaq == &dev->vbi_q && !vb2_is_streaming(&dev->video_vbq))) in saa7134_vb2_start_streaming()
837 if ((dmaq == &dev->video_q && !vb2_is_streaming(&dev->vbi_vbq)) || in saa7134_vb2_stop_streaming()
838 (dmaq == &dev->vbi_q && !vb2_is_streaming(&dev->video_vbq))) in saa7134_vb2_stop_streaming()
1342 if (vb2_is_streaming(&dev->video_vbq)) in saa7134_s_selection()
H A Dsaa7134-go7007.c225 if (!vb2_is_streaming(&go->vidq)) in saa7134_go7007_irq_ts_done()
/openbmc/linux/include/media/
H A Dvideobuf2-core.h1119 static inline bool vb2_is_streaming(struct vb2_queue *q) in vb2_is_streaming() function
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_dec.c436 if (vb2_is_streaming(&ctx->vq_src) || vb2_is_streaming(&ctx->vq_dst)) { in vidioc_s_fmt()
850 if (!vb2_is_streaming(&ctx->vq_src)) in vidioc_decoder_cmd()
/openbmc/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-m2m.c133 out_streaming = vb2_is_streaming(vq); in mdp_m2m_start_streaming()
135 cap_streaming = vb2_is_streaming(vq); in mdp_m2m_start_streaming()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c787 vb2_is_streaming(vq) && !vb2_start_streaming_called(vq) && in v4l2_m2m_qbuf()
925 if ((!vb2_is_streaming(src_q) || src_q->error || in v4l2_m2m_poll_for_data()
927 (!vb2_is_streaming(dst_q) || dst_q->error || in v4l2_m2m_poll_for_data()
/openbmc/linux/drivers/media/common/saa7146/
H A Dsaa7146_vbi.c385 if (!vb2_is_streaming(&dev->vv_data->vbi_dmaq.q)) in start_streaming()
/openbmc/linux/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg.c1397 if (vb2_is_streaming(v4l2_m2m_get_dst_vq(ctx->fh.m2m_ctx))) in mxc_jpeg_source_change()
1532 if (!vb2_is_streaming(v4l2_m2m_get_src_vq(fh->m2m_ctx))) in mxc_jpeg_decoder_cmd()
1565 if (!vb2_is_streaming(v4l2_m2m_get_src_vq(fh->m2m_ctx)) || in mxc_jpeg_encoder_cmd()
1566 !vb2_is_streaming(v4l2_m2m_get_dst_vq(fh->m2m_ctx))) in mxc_jpeg_encoder_cmd()
1893 vb2_is_streaming(vb->vb2_queue) && in mxc_jpeg_buf_queue()
/openbmc/linux/drivers/media/usb/go7007/
H A Dgo7007-usb.c790 if (!vb2_is_streaming(&go->vidq)) { in go7007_usb_read_video_pipe_complete()
813 if (!vb2_is_streaming(&go->vidq)) in go7007_usb_read_audio_pipe_complete()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-sdr-cap.c399 if (vb2_is_streaming(&dev->vb_sdr_cap_q) && in vivid_sdr_s_frequency()
/openbmc/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_video.c384 if (vb2_is_streaming(vq) || (vb2_is_busy(vq) && in cedrus_s_fmt_vid_out()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec.c108 if (!vb2_is_streaming(src_vq)) { in vidioc_decoder_cmd()
112 if (!vb2_is_streaming(dst_vq)) { in vidioc_decoder_cmd()
/openbmc/linux/drivers/media/usb/s2255/
H A Ds2255drv.c1307 && vb2_is_streaming(&vc->vb_vidq)) in vidioc_s_parm()
1793 if (!vb2_is_streaming(&vc->vb_vidq)) { in save_frame()
1837 if (vb2_is_streaming(&vc->vb_vidq)) in save_frame()
2022 if (vb2_is_streaming(&dev->vc[i].vb_vidq)) in s2255_board_shutdown()
/openbmc/linux/drivers/media/platform/renesas/
H A Drenesas-ceu.c1166 if (vb2_is_streaming(&ceudev->vb2_vq)) in ceu_s_fmt_vid_cap()
1219 if (vb2_is_streaming(&ceudev->vb2_vq)) in ceu_s_input()
/openbmc/linux/drivers/media/usb/uvc/
H A Duvcvideo.h706 return vb2_is_streaming(&queue->queue); in uvc_queue_streaming()

123