/linux-master/drivers/media/platform/ti/omap/ |
H A D | omap_voutdef.h | 177 struct vb2_queue vq; member in struct:omap_vout_device
|
/linux-master/drivers/crypto/virtio/ |
H A D | virtio_crypto_common.h | 23 struct virtqueue *vq; member in struct:data_queue 25 /* To protect the vq operations for the dataq */ 43 /* To protect the vq operations for the controlq */
|
/linux-master/drivers/media/platform/st/stm32/dma2d/ |
H A D | dma2d.c | 108 static int dma2d_queue_setup(struct vb2_queue *vq, argument 112 struct dma2d_ctx *ctx = vb2_get_drv_priv(vq); 113 struct dma2d_frame *f = get_frame(ctx, vq->type); 358 struct vb2_queue *vq; local 361 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 362 if (!vq) 426 struct vb2_queue *vq; local 438 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 439 if (vb2_is_busy(vq))
|
/linux-master/drivers/media/platform/samsung/s5p-g2d/ |
H A D | g2d.c | 95 static int g2d_queue_setup(struct vb2_queue *vq, argument 99 struct g2d_ctx *ctx = vb2_get_drv_priv(vq); 100 struct g2d_frame *f = get_frame(ctx, vq->type); 311 struct vb2_queue *vq; local 314 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 315 if (!vq) 364 struct vb2_queue *vq; local 374 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 375 if (vb2_is_busy(vq)) {
|
/linux-master/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-m2m.c | 207 struct vb2_queue *vq = vb2->vb2_queue; local 211 mxc_isi_m2m_ctx_qdata(ctx, vq->type); 221 struct vb2_queue *vq = vb2->vb2_queue; local 222 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(vq); 224 mxc_isi_m2m_ctx_qdata(ctx, vq->type); 459 struct vb2_queue *vq; local 461 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 462 if (!vq) 465 if (vb2_is_busy(vq))
|
/linux-master/drivers/media/test-drivers/ |
H A D | vim2m.c | 721 struct vb2_queue *vq; local 724 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 725 if (!vq) 836 struct vb2_queue *vq; local 838 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 839 if (!vq) 846 if (vb2_is_busy(vq)) { 976 static int vim2m_queue_setup(struct vb2_queue *vq, argument 982 struct vim2m_ctx *ctx = vb2_get_drv_priv(vq); 986 q_data = get_q_data(ctx, vq [all...] |
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-v4l2.c | 386 static int imgu_vb2_queue_setup(struct vb2_queue *vq, argument 392 struct imgu_device *imgu = vb2_get_drv_priv(vq); 394 container_of(vq, struct imgu_video_device, vbq); 401 if (vq->type == V4L2_BUF_TYPE_META_CAPTURE || 402 vq->type == V4L2_BUF_TYPE_META_OUTPUT) 467 static int imgu_vb2_start_streaming(struct vb2_queue *vq, unsigned int count) argument 470 struct imgu_device *imgu = vb2_get_drv_priv(vq); 473 container_of(vq, struct imgu_video_device, vbq); 529 static void imgu_vb2_stop_streaming(struct vb2_queue *vq) argument 532 struct imgu_device *imgu = vb2_get_drv_priv(vq); [all...] |
/linux-master/drivers/media/platform/intel/ |
H A D | pxa_camera.c | 1436 static int pxac_vb2_queue_setup(struct vb2_queue *vq, argument 1441 struct pxa_camera_dev *pcdev = vb2_get_drv_priv(vq); 1445 "%s(vq=%p nbufs=%d num_planes=%d size=%d)\n", 1446 __func__, vq, *nbufs, *num_planes, size); local 1471 static int pxac_vb2_start_streaming(struct vb2_queue *vq, unsigned int count) argument 1473 struct pxa_camera_dev *pcdev = vb2_get_drv_priv(vq); 1485 static void pxac_vb2_stop_streaming(struct vb2_queue *vq) argument 1487 struct pxa_camera_dev *pcdev = vb2_get_drv_priv(vq); 1513 struct vb2_queue *vq = &pcdev->vb2_vq; local 1515 memset(vq, 1529 "vb2_queue_init(vq=%p): %d\\n", vq, ret); local [all...] |
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cpt_hw_types.h | 186 * vq:8 [7:0](RO) Number of VQs. 197 u64 vq:8; member in struct:cptx_pf_constants::cptx_pf_constants_s 199 u64 vq:8;
|
/linux-master/drivers/media/common/saa7146/ |
H A D | saa7146_video.c | 574 struct vb2_queue *vq = vb->vb2_queue; local 575 struct saa7146_dev *dev = vb2_get_drv_priv(vq); 589 struct vb2_queue *vq = vb->vb2_queue; local 590 struct saa7146_dev *dev = vb2_get_drv_priv(vq); 614 struct vb2_queue *vq = vb->vb2_queue; local 615 struct saa7146_dev *dev = vb2_get_drv_priv(vq); 629 struct vb2_queue *vq = vb->vb2_queue; local 630 struct saa7146_dev *dev = vb2_get_drv_priv(vq);
|
/linux-master/drivers/media/pci/zoran/ |
H A D | zoran.h | 203 struct vb2_queue vq; member in struct:zoran 326 int zoran_queue_init(struct zoran *zr, struct vb2_queue *vq, int dir);
|
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-streams.c | 103 static int cx18_queue_setup(struct vb2_queue *vq, argument 107 unsigned int q_num_bufs = vb2_get_num_buffers(vq); 108 struct cx18_stream *s = vb2_get_drv_priv(vq); 187 static int cx18_start_streaming(struct vb2_queue *vq, unsigned int count) argument 189 struct v4l2_fh *owner = vq->owner; 190 struct cx18_stream *s = vb2_get_drv_priv(vq); 214 static void cx18_stop_streaming(struct vb2_queue *vq) argument 216 struct cx18_stream *s = vb2_get_drv_priv(vq);
|
/linux-master/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-m2m.c | 136 struct vb2_queue *vq; local 147 vq = v4l2_m2m_get_src_vq(ctx->m2m_ctx); 148 out_streaming = vb2_is_streaming(vq); 149 vq = v4l2_m2m_get_dst_vq(ctx->m2m_ctx); 150 cap_streaming = vb2_is_streaming(vq); 320 struct vb2_queue *vq; local 326 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); 327 if (vb2_is_busy(vq))
|
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc.c | 419 struct vb2_queue *vq; local 424 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); 425 if (!vq) { 426 mtk_v4l2_venc_err(ctx, "fail to get vq"); 430 if (vb2_is_busy(vq)) { 474 struct vb2_queue *vq; local 479 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); 480 if (!vq) { 481 mtk_v4l2_venc_err(ctx, "fail to get vq"); 485 if (vb2_is_busy(vq)) { 528 struct vb2_queue *vq; local 798 vb2ops_venc_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], struct device *alloc_devs[]) argument [all...] |
/linux-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-stats.c | 91 static int rkisp1_stats_vb2_queue_setup(struct vb2_queue *vq, argument 112 struct vb2_queue *vq = vb->vb2_queue; local 113 struct rkisp1_stats *stats_dev = vq->drv_priv; 131 static void rkisp1_stats_vb2_stop_streaming(struct vb2_queue *vq) argument 133 struct rkisp1_stats *stats = vq->drv_priv;
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-sdr-cap.c | 217 static int sdr_cap_queue_setup(struct vb2_queue *vq, argument 265 static int sdr_cap_start_streaming(struct vb2_queue *vq, unsigned count) argument 267 struct vivid_dev *dev = vb2_get_drv_priv(vq); 298 static void sdr_cap_stop_streaming(struct vb2_queue *vq) argument 300 struct vivid_dev *dev = vb2_get_drv_priv(vq);
|
/linux-master/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_net.c | 69 static void vdpasim_net_complete(struct vdpasim_virtqueue *vq, size_t len) argument 74 vringh_complete_iotlb(&vq->vring, vq->head, len); 80 if (vringh_need_notify_iotlb(&vq->vring) > 0) 81 vringh_notify(&vq->vring);
|
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | vec-syscfg.c | 562 int ret, vq, vl, new_vl, i; local 578 for (vq = SVE_VQ_MIN; vq <= SVE_VQ_MAX; vq++) { 579 vl = sve_vl_from_vq(vq);
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_histo.c | 83 static int histo_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, argument 87 struct vsp1_histogram *histo = vb2_get_drv_priv(vq); 134 static int histo_start_streaming(struct vb2_queue *vq, unsigned int count) argument 139 static void histo_stop_streaming(struct vb2_queue *vq) argument 141 struct vsp1_histogram *histo = vb2_get_drv_priv(vq);
|
/linux-master/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_enc.c | 2417 static int s5p_mfc_queue_setup(struct vb2_queue *vq, argument 2421 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); 2424 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { 2440 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { 2470 mfc_err("invalid queue type: %d\n", vq->type); 2479 struct vb2_queue *vq = vb->vb2_queue; local 2480 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); 2484 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { 2493 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { 2510 mfc_err("invalid queue type: %d\n", vq 2518 struct vb2_queue *vq = vb->vb2_queue; local 2619 struct vb2_queue *vq = vb->vb2_queue; local [all...] |
/linux-master/drivers/media/platform/renesas/ |
H A D | rcar_jpu.c | 836 struct vb2_queue *vq; local 843 vq = v4l2_m2m_get_vq(m2m_ctx, f->type); 844 if (!vq) 847 if (vb2_is_busy(vq)) { 996 static int jpu_queue_setup(struct vb2_queue *vq, argument 1000 struct jpu_ctx *ctx = vb2_get_drv_priv(vq); 1004 q_data = jpu_get_q_data(ctx, vq->type); 1139 static int jpu_start_streaming(struct vb2_queue *vq, unsigned count) argument 1141 struct jpu_ctx *ctx = vb2_get_drv_priv(vq); 1142 struct jpu_q_data *q_data = jpu_get_q_data(ctx, vq 1148 jpu_stop_streaming(struct vb2_queue *vq) argument [all...] |
/linux-master/drivers/media/platform/ti/cal/ |
H A D | cal-video.c | 600 static int cal_queue_setup(struct vb2_queue *vq, argument 604 struct cal_ctx *ctx = vb2_get_drv_priv(vq); 606 unsigned int q_num_bufs = vb2_get_num_buffers(vq); 721 static int cal_start_streaming(struct vb2_queue *vq, unsigned int count) argument 723 struct cal_ctx *ctx = vb2_get_drv_priv(vq); 788 static void cal_stop_streaming(struct vb2_queue *vq) argument 790 struct cal_ctx *ctx = vb2_get_drv_priv(vq);
|
/linux-master/drivers/media/usb/airspy/ |
H A D | airspy.c | 480 static int airspy_queue_setup(struct vb2_queue *vq, argument 484 struct airspy *s = vb2_get_drv_priv(vq); 485 unsigned int q_num_bufs = vb2_get_num_buffers(vq); 518 static int airspy_start_streaming(struct vb2_queue *vq, unsigned int count) argument 520 struct airspy *s = vb2_get_drv_priv(vq); 579 static void airspy_stop_streaming(struct vb2_queue *vq) argument 581 struct airspy *s = vb2_get_drv_priv(vq);
|
/linux-master/drivers/media/usb/usbtv/ |
H A D | usbtv-video.c | 723 static int usbtv_queue_setup(struct vb2_queue *vq, argument 727 struct usbtv *usbtv = vb2_get_drv_priv(vq); 729 unsigned int q_num_bufs = vb2_get_num_buffers(vq); 758 static int usbtv_start_streaming(struct vb2_queue *vq, unsigned int count) argument 760 struct usbtv *usbtv = vb2_get_drv_priv(vq); 770 static void usbtv_stop_streaming(struct vb2_queue *vq) argument 772 struct usbtv *usbtv = vb2_get_drv_priv(vq);
|
/linux-master/drivers/gpu/drm/virtio/ |
H A D | virtgpu_drv.h | 198 struct virtqueue *vq; member in struct:virtio_gpu_queue 398 void virtio_gpu_ctrl_ack(struct virtqueue *vq); 399 void virtio_gpu_cursor_ack(struct virtqueue *vq);
|