/linux-6.1.9/drivers/media/pci/saa7134/ |
D | saa7134-ts.c | 107 unsigned int *nbuffers, unsigned int *nplanes, in saa7134_ts_queue_setup() argument 114 if (0 == *nbuffers) in saa7134_ts_queue_setup() 115 *nbuffers = dev->ts.nr_bufs; in saa7134_ts_queue_setup() 116 *nbuffers = saa7134_buffer_count(size, *nbuffers); in saa7134_ts_queue_setup() 117 if (*nbuffers < 3) in saa7134_ts_queue_setup() 118 *nbuffers = 3; in saa7134_ts_queue_setup()
|
D | saa7134-vbi.c | 129 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 142 *nbuffers = saa7134_buffer_count(size, *nbuffers); in queue_setup()
|
/linux-6.1.9/drivers/media/usb/em28xx/ |
D | em28xx-vbi.c | 22 unsigned int *nbuffers, unsigned int *nplanes, in vbi_queue_setup() argument 29 if (*nbuffers < 2) in vbi_queue_setup() 30 *nbuffers = 2; in vbi_queue_setup()
|
/linux-6.1.9/drivers/media/test-drivers/vivid/ |
D | vivid-meta-out.c | 16 static int meta_out_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_out_queue_setup() argument 33 if (vq->num_buffers + *nbuffers < 2) in meta_out_queue_setup() 34 *nbuffers = 2 - vq->num_buffers; in meta_out_queue_setup()
|
D | vivid-meta-cap.c | 16 static int meta_cap_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_cap_queue_setup() argument 33 if (vq->num_buffers + *nbuffers < 2) in meta_cap_queue_setup() 34 *nbuffers = 2 - vq->num_buffers; in meta_cap_queue_setup()
|
D | vivid-vbi-out.c | 19 unsigned *nbuffers, unsigned *nplanes, in vbi_out_queue_setup() argument 33 if (vq->num_buffers + *nbuffers < 2) in vbi_out_queue_setup() 34 *nbuffers = 2 - vq->num_buffers; in vbi_out_queue_setup()
|
D | vivid-touch-cap.c | 11 static int touch_cap_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in touch_cap_queue_setup() argument 26 if (vq->num_buffers + *nbuffers < 2) in touch_cap_queue_setup() 27 *nbuffers = 2 - vq->num_buffers; in touch_cap_queue_setup()
|
D | vivid-vbi-cap.c | 123 unsigned *nbuffers, unsigned *nplanes, in vbi_cap_queue_setup() argument 137 if (vq->num_buffers + *nbuffers < 2) in vbi_cap_queue_setup() 138 *nbuffers = 2 - vq->num_buffers; in vbi_cap_queue_setup()
|
/linux-6.1.9/drivers/usb/gadget/function/ |
D | uvc_queue.c | 42 unsigned int *nbuffers, unsigned int *nplanes, in uvc_queue_setup() argument 50 if (*nbuffers > UVC_MAX_VIDEO_BUFFERS) in uvc_queue_setup() 51 *nbuffers = UVC_MAX_VIDEO_BUFFERS; in uvc_queue_setup()
|
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_dec.h | 91 int vb2ops_vdec_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers,
|
/linux-6.1.9/drivers/media/dvb-core/ |
D | dvb_vb2.c | 30 unsigned int *nbuffers, unsigned int *nplanes, in _queue_setup() argument 35 ctx->buf_cnt = *nbuffers; in _queue_setup() 45 *nbuffers, sizes[0]); in _queue_setup()
|
/linux-6.1.9/drivers/media/usb/au0828/ |
D | au0828-vbi.c | 21 unsigned int *nbuffers, unsigned int *nplanes, in vbi_queue_setup() argument
|
/linux-6.1.9/drivers/media/usb/stk1160/ |
D | stk1160-v4l.c | 655 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 667 *nbuffers = clamp_t(unsigned int, *nbuffers, in queue_setup() 679 __func__, *nbuffers, size); in queue_setup()
|
/linux-6.1.9/drivers/media/usb/pwc/ |
D | pwc-if.c | 618 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 624 if (*nbuffers < MIN_FRAMES) in queue_setup() 625 *nbuffers = MIN_FRAMES; in queue_setup() 626 else if (*nbuffers > MAX_FRAMES) in queue_setup() 627 *nbuffers = MAX_FRAMES; in queue_setup()
|
/linux-6.1.9/drivers/media/usb/airspy/ |
D | airspy.c | 481 unsigned int *nbuffers, in airspy_queue_setup() argument 486 dev_dbg(s->dev, "nbuffers=%d\n", *nbuffers); in airspy_queue_setup() 489 if (vq->num_buffers + *nbuffers < 8) in airspy_queue_setup() 490 *nbuffers = 8 - vq->num_buffers; in airspy_queue_setup() 494 dev_dbg(s->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); in airspy_queue_setup()
|
/linux-6.1.9/samples/v4l/ |
D | v4l2-pci-skeleton.c | 154 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 170 if (vq->num_buffers + *nbuffers < 3) in queue_setup() 171 *nbuffers = 3 - vq->num_buffers; in queue_setup()
|
/linux-6.1.9/drivers/media/usb/msi2500/ |
D | msi2500.c | 599 unsigned int *nbuffers, in msi2500_queue_setup() argument 605 dev_dbg(dev->dev, "nbuffers=%d\n", *nbuffers); in msi2500_queue_setup() 608 *nbuffers = clamp_t(unsigned int, *nbuffers, 8, 32); in msi2500_queue_setup() 611 dev_dbg(dev->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); in msi2500_queue_setup()
|
/linux-6.1.9/drivers/media/platform/rockchip/rga/ |
D | rga-buf.c | 20 unsigned int *nbuffers, unsigned int *nplanes, in rga_queue_setup() argument
|
/linux-6.1.9/drivers/media/pci/dt3155/ |
D | dt3155.c | 124 unsigned int *nbuffers, unsigned int *num_planes, in dt3155_queue_setup() argument 131 if (vq->num_buffers + *nbuffers < 2) in dt3155_queue_setup() 132 *nbuffers = 2 - vq->num_buffers; in dt3155_queue_setup()
|
/linux-6.1.9/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 253 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 258 if (!(*nbuffers) || *nbuffers < MAX_FRAMES) in queue_setup() 259 *nbuffers = MAX_FRAMES; in queue_setup()
|
/linux-6.1.9/drivers/staging/media/imx/ |
D | imx-media-capture.c | 599 unsigned int *nbuffers, in capture_queue_setup() argument 606 unsigned int count = *nbuffers; in capture_queue_setup() 620 *nbuffers = (count < vq->num_buffers) ? 0 : in capture_queue_setup() 623 *nbuffers = count; in capture_queue_setup()
|
/linux-6.1.9/drivers/media/platform/ti/cal/ |
D | cal-video.c | 598 unsigned int *nbuffers, unsigned int *nplanes, in cal_queue_setup() argument 604 if (vq->num_buffers + *nbuffers < 3) in cal_queue_setup() 605 *nbuffers = 3 - vq->num_buffers; in cal_queue_setup() 616 ctx_dbg(3, ctx, "nbuffers=%d, size=%d\n", *nbuffers, sizes[0]); in cal_queue_setup()
|
/linux-6.1.9/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_core.c | 290 unsigned int *nbuffers, in netup_unidvb_queue_setup() argument 300 if (vq->num_buffers + *nbuffers < VIDEO_MAX_FRAME) in netup_unidvb_queue_setup() 301 *nbuffers = VIDEO_MAX_FRAME - vq->num_buffers; in netup_unidvb_queue_setup() 304 __func__, *nbuffers, sizes[0]); in netup_unidvb_queue_setup()
|
/linux-6.1.9/drivers/media/pci/zoran/ |
D | zoran_driver.c | 742 static int zr_vb2_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, unsigned int *nplanes, in zr_vb2_queue_setup() argument 748 pci_dbg(zr->pci_dev, "%s nbuf=%u nplanes=%u", __func__, *nbuffers, *nplanes); in zr_vb2_queue_setup() 752 if (*nbuffers < vq->min_buffers_needed) in zr_vb2_queue_setup() 753 *nbuffers = vq->min_buffers_needed; in zr_vb2_queue_setup()
|
/linux-6.1.9/drivers/media/usb/usbtv/ |
D | usbtv-video.c | 724 unsigned int *nbuffers, in usbtv_queue_setup() argument 730 if (vq->num_buffers + *nbuffers < 2) in usbtv_queue_setup() 731 *nbuffers = 2 - vq->num_buffers; in usbtv_queue_setup()
|