nbuffers 276 drivers/input/rmi4/rmi_f54.c static int rmi_f54_queue_setup(struct vb2_queue *q, unsigned int *nbuffers, nbuffers 2334 drivers/input/touchscreen/atmel_mxt_ts.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 833 drivers/input/touchscreen/sur40.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 838 drivers/input/touchscreen/sur40.c if (q->num_buffers + *nbuffers < 3) nbuffers 839 drivers/input/touchscreen/sur40.c *nbuffers = 3 - q->num_buffers; nbuffers 34 drivers/media/dvb-core/dvb_vb2.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 39 drivers/media/dvb-core/dvb_vb2.c ctx->buf_cnt = *nbuffers; nbuffers 49 drivers/media/dvb-core/dvb_vb2.c *nbuffers, sizes[0]); nbuffers 434 drivers/media/dvb-frontends/rtl2832_sdr.c unsigned int *nbuffers, nbuffers 440 drivers/media/dvb-frontends/rtl2832_sdr.c dev_dbg(&pdev->dev, "nbuffers=%d\n", *nbuffers); nbuffers 443 drivers/media/dvb-frontends/rtl2832_sdr.c if (vq->num_buffers + *nbuffers < 8) nbuffers 444 drivers/media/dvb-frontends/rtl2832_sdr.c *nbuffers = 8 - vq->num_buffers; nbuffers 447 drivers/media/dvb-frontends/rtl2832_sdr.c dev_dbg(&pdev->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); nbuffers 398 drivers/media/i2c/video-i2c.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 404 drivers/media/i2c/video-i2c.c if (vq->num_buffers + *nbuffers < 2) nbuffers 405 drivers/media/i2c/video-i2c.c *nbuffers = 2; nbuffers 124 drivers/media/pci/dt3155/dt3155.c unsigned int *nbuffers, unsigned int *num_planes, nbuffers 131 drivers/media/pci/dt3155/dt3155.c if (vq->num_buffers + *nbuffers < 2) nbuffers 132 drivers/media/pci/dt3155/dt3155.c *nbuffers = 2 - vq->num_buffers; nbuffers 285 drivers/media/pci/netup_unidvb/netup_unidvb_core.c unsigned int *nbuffers, nbuffers 295 drivers/media/pci/netup_unidvb/netup_unidvb_core.c if (vq->num_buffers + *nbuffers < VIDEO_MAX_FRAME) nbuffers 296 drivers/media/pci/netup_unidvb/netup_unidvb_core.c *nbuffers = VIDEO_MAX_FRAME - vq->num_buffers; nbuffers 299 drivers/media/pci/netup_unidvb/netup_unidvb_core.c __func__, *nbuffers, sizes[0]); nbuffers 107 drivers/media/pci/saa7134/saa7134-ts.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 114 drivers/media/pci/saa7134/saa7134-ts.c if (0 == *nbuffers) nbuffers 115 drivers/media/pci/saa7134/saa7134-ts.c *nbuffers = dev->ts.nr_bufs; nbuffers 116 drivers/media/pci/saa7134/saa7134-ts.c *nbuffers = saa7134_buffer_count(size, *nbuffers); nbuffers 117 drivers/media/pci/saa7134/saa7134-ts.c if (*nbuffers < 3) nbuffers 118 drivers/media/pci/saa7134/saa7134-ts.c *nbuffers = 3; nbuffers 129 drivers/media/pci/saa7134/saa7134-vbi.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 142 drivers/media/pci/saa7134/saa7134-vbi.c *nbuffers = saa7134_buffer_count(size, *nbuffers); nbuffers 938 drivers/media/pci/saa7134/saa7134-video.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 953 drivers/media/pci/saa7134/saa7134-video.c *nbuffers = saa7134_buffer_count(size, *nbuffers); nbuffers 845 drivers/media/pci/saa7134/saa7134.h unsigned int *nbuffers, unsigned int *nplanes, nbuffers 253 drivers/media/pci/sta2x11/sta2x11_vip.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 258 drivers/media/pci/sta2x11/sta2x11_vip.c if (!(*nbuffers) || *nbuffers < MAX_FRAMES) nbuffers 259 drivers/media/pci/sta2x11/sta2x11_vip.c *nbuffers = MAX_FRAMES; nbuffers 423 drivers/media/pci/tw686x/tw686x-video.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 434 drivers/media/pci/tw686x/tw686x-video.c if (vq->num_buffers + *nbuffers < 3) nbuffers 435 drivers/media/pci/tw686x/tw686x-video.c *nbuffers = 3 - vq->num_buffers; nbuffers 1897 drivers/media/platform/am437x/am437x-vpfe.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 1903 drivers/media/platform/am437x/am437x-vpfe.c if (vq->num_buffers + *nbuffers < 3) nbuffers 1904 drivers/media/platform/am437x/am437x-vpfe.c *nbuffers = 3 - vq->num_buffers; nbuffers 1916 drivers/media/platform/am437x/am437x-vpfe.c "nbuffers=%d, size=%u\n", *nbuffers, sizes[0]); nbuffers 534 drivers/media/platform/atmel/atmel-isc-base.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 272 drivers/media/platform/atmel/atmel-isi.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 290 drivers/media/platform/atmel/atmel-isi.c *nbuffers, size); nbuffers 1576 drivers/media/platform/coda/coda-common.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 1592 drivers/media/platform/coda/coda-common.c coda_dbg(1, ctx, "get %d buffer(s) of size %d each.\n", *nbuffers, nbuffers 223 drivers/media/platform/davinci/vpbe_display.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 234 drivers/media/platform/davinci/vpbe_display.c if (vq->num_buffers + *nbuffers < VPBE_DEFAULT_NUM_BUFS) nbuffers 235 drivers/media/platform/davinci/vpbe_display.c *nbuffers = VPBE_DEFAULT_NUM_BUFS - vq->num_buffers; nbuffers 110 drivers/media/platform/davinci/vpif_capture.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 125 drivers/media/platform/davinci/vpif_capture.c if (vq->num_buffers + *nbuffers < 3) nbuffers 126 drivers/media/platform/davinci/vpif_capture.c *nbuffers = 3 - vq->num_buffers; nbuffers 112 drivers/media/platform/davinci/vpif_display.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 125 drivers/media/platform/davinci/vpif_display.c if (vq->num_buffers + *nbuffers < 3) nbuffers 126 drivers/media/platform/davinci/vpif_display.c *nbuffers = 3 - vq->num_buffers; nbuffers 1368 drivers/media/platform/imx-pxp.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 1373 drivers/media/platform/imx-pxp.c unsigned int size, count = *nbuffers; nbuffers 1379 drivers/media/platform/imx-pxp.c *nbuffers = count; nbuffers 732 drivers/media/platform/m2m-deinterlace.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 737 drivers/media/platform/m2m-deinterlace.c unsigned int size, count = *nbuffers; nbuffers 751 drivers/media/platform/m2m-deinterlace.c *nbuffers = count; nbuffers 1060 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c unsigned int *nbuffers, nbuffers 1093 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c ctx->id, vq->type, *nplanes, *nbuffers, nbuffers 747 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c unsigned int *nbuffers, nbuffers 621 drivers/media/platform/mx2_emmaprp.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 626 drivers/media/platform/mx2_emmaprp.c unsigned int size, count = *nbuffers; nbuffers 639 drivers/media/platform/mx2_emmaprp.c *nbuffers = count; nbuffers 993 drivers/media/platform/rcar-vin/rcar-dma.c static int rvin_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, nbuffers 1764 drivers/media/platform/rcar_fdp1.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 1009 drivers/media/platform/rcar_jpu.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 20 drivers/media/platform/rockchip/rga/rga-buf.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 96 drivers/media/platform/s5p-g2d/g2d.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 108 drivers/media/platform/s5p-g2d/g2d.c if (*nbuffers == 0) nbuffers 109 drivers/media/platform/s5p-g2d/g2d.c *nbuffers = 1; nbuffers 2463 drivers/media/platform/s5p-jpeg/jpeg-core.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 2468 drivers/media/platform/s5p-jpeg/jpeg-core.c unsigned int size, count = *nbuffers; nbuffers 2482 drivers/media/platform/s5p-jpeg/jpeg-core.c *nbuffers = count; nbuffers 854 drivers/media/platform/sh_veu.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 859 drivers/media/platform/sh_veu.c unsigned int count = *nbuffers; nbuffers 864 drivers/media/platform/sh_veu.c *nbuffers = count = 2; nbuffers 868 drivers/media/platform/sh_veu.c *nbuffers = count; nbuffers 238 drivers/media/platform/sh_vou.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 493 drivers/media/platform/stm32/stm32-dcmi.c unsigned int *nbuffers, nbuffers 511 drivers/media/platform/stm32/stm32-dcmi.c *nbuffers, size); nbuffers 47 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c unsigned int *nbuffers, nbuffers 92 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c unsigned int *nbuffers, nbuffers 1212 drivers/media/platform/ti-vpe/cal.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 1218 drivers/media/platform/ti-vpe/cal.c if (vq->num_buffers + *nbuffers < 3) nbuffers 1219 drivers/media/platform/ti-vpe/cal.c *nbuffers = 3 - vq->num_buffers; nbuffers 1230 drivers/media/platform/ti-vpe/cal.c ctx_dbg(3, ctx, "nbuffers=%d, size=%d\n", *nbuffers, sizes[0]); nbuffers 2006 drivers/media/platform/ti-vpe/vpe.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 2020 drivers/media/platform/ti-vpe/vpe.c vpe_dbg(ctx->dev, "get %d buffer(s) of size %d", *nbuffers, nbuffers 1411 drivers/media/platform/vicodec/vicodec-core.c static int vicodec_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, nbuffers 991 drivers/media/platform/vim2m.c unsigned int *nbuffers, nbuffers 998 drivers/media/platform/vim2m.c unsigned int size, count = *nbuffers; nbuffers 1008 drivers/media/platform/vim2m.c *nbuffers = count; nbuffers 288 drivers/media/platform/vimc/vimc-capture.c static int vimc_cap_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, nbuffers 211 drivers/media/platform/vivid/vivid-sdr-cap.c unsigned *nbuffers, unsigned *nplanes, nbuffers 123 drivers/media/platform/vivid/vivid-vbi-cap.c unsigned *nbuffers, unsigned *nplanes, nbuffers 137 drivers/media/platform/vivid/vivid-vbi-cap.c if (vq->num_buffers + *nbuffers < 2) nbuffers 138 drivers/media/platform/vivid/vivid-vbi-cap.c *nbuffers = 2 - vq->num_buffers; nbuffers 19 drivers/media/platform/vivid/vivid-vbi-out.c unsigned *nbuffers, unsigned *nplanes, nbuffers 33 drivers/media/platform/vivid/vivid-vbi-out.c if (vq->num_buffers + *nbuffers < 2) nbuffers 34 drivers/media/platform/vivid/vivid-vbi-out.c *nbuffers = 2 - vq->num_buffers; nbuffers 83 drivers/media/platform/vivid/vivid-vid-cap.c unsigned *nbuffers, unsigned *nplanes, nbuffers 127 drivers/media/platform/vivid/vivid-vid-cap.c if (vq->num_buffers + *nbuffers < 2) nbuffers 128 drivers/media/platform/vivid/vivid-vid-cap.c *nbuffers = 2 - vq->num_buffers; nbuffers 132 drivers/media/platform/vivid/vivid-vid-cap.c dprintk(dev, 1, "%s: count=%d\n", __func__, *nbuffers); nbuffers 24 drivers/media/platform/vivid/vivid-vid-out.c unsigned *nbuffers, unsigned *nplanes, nbuffers 76 drivers/media/platform/vivid/vivid-vid-out.c if (vq->num_buffers + *nbuffers < 2) nbuffers 77 drivers/media/platform/vivid/vivid-vid-out.c *nbuffers = 2 - vq->num_buffers; nbuffers 81 drivers/media/platform/vivid/vivid-vid-out.c dprintk(dev, 1, "%s: count=%d\n", __func__, *nbuffers); nbuffers 83 drivers/media/platform/vsp1/vsp1_histo.c static int histo_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, nbuffers 708 drivers/media/platform/vsp1/vsp1_video.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 317 drivers/media/platform/xilinx/xilinx-dma.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 478 drivers/media/usb/airspy/airspy.c unsigned int *nbuffers, nbuffers 483 drivers/media/usb/airspy/airspy.c dev_dbg(s->dev, "nbuffers=%d\n", *nbuffers); nbuffers 486 drivers/media/usb/airspy/airspy.c if (vq->num_buffers + *nbuffers < 8) nbuffers 487 drivers/media/usb/airspy/airspy.c *nbuffers = 8 - vq->num_buffers; nbuffers 491 drivers/media/usb/airspy/airspy.c dev_dbg(s->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); nbuffers 21 drivers/media/usb/au0828/au0828-vbi.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 684 drivers/media/usb/au0828/au0828-video.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 32 drivers/media/usb/em28xx/em28xx-vbi.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 39 drivers/media/usb/em28xx/em28xx-vbi.c if (*nbuffers < 2) nbuffers 40 drivers/media/usb/em28xx/em28xx-vbi.c *nbuffers = 2; nbuffers 1039 drivers/media/usb/em28xx/em28xx-video.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 1288 drivers/media/usb/gspca/gspca.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 752 drivers/media/usb/hackrf/hackrf.c unsigned int *nbuffers, nbuffers 757 drivers/media/usb/hackrf/hackrf.c dev_dbg(dev->dev, "nbuffers=%d\n", *nbuffers); nbuffers 760 drivers/media/usb/hackrf/hackrf.c if (vq->num_buffers + *nbuffers < 8) nbuffers 761 drivers/media/usb/hackrf/hackrf.c *nbuffers = 8 - vq->num_buffers; nbuffers 765 drivers/media/usb/hackrf/hackrf.c dev_dbg(dev->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); nbuffers 599 drivers/media/usb/msi2500/msi2500.c unsigned int *nbuffers, nbuffers 605 drivers/media/usb/msi2500/msi2500.c dev_dbg(dev->dev, "nbuffers=%d\n", *nbuffers); nbuffers 608 drivers/media/usb/msi2500/msi2500.c *nbuffers = clamp_t(unsigned int, *nbuffers, 8, 32); nbuffers 611 drivers/media/usb/msi2500/msi2500.c dev_dbg(dev->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); nbuffers 606 drivers/media/usb/pwc/pwc-if.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 612 drivers/media/usb/pwc/pwc-if.c if (*nbuffers < MIN_FRAMES) nbuffers 613 drivers/media/usb/pwc/pwc-if.c *nbuffers = MIN_FRAMES; nbuffers 614 drivers/media/usb/pwc/pwc-if.c else if (*nbuffers > MAX_FRAMES) nbuffers 615 drivers/media/usb/pwc/pwc-if.c *nbuffers = MAX_FRAMES; nbuffers 645 drivers/media/usb/s2255/s2255drv.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 649 drivers/media/usb/s2255/s2255drv.c if (*nbuffers < S2255_MIN_BUFS) nbuffers 650 drivers/media/usb/s2255/s2255drv.c *nbuffers = S2255_MIN_BUFS; nbuffers 651 drivers/media/usb/stk1160/stk1160-v4l.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 663 drivers/media/usb/stk1160/stk1160-v4l.c *nbuffers = clamp_t(unsigned int, *nbuffers, nbuffers 675 drivers/media/usb/stk1160/stk1160-v4l.c __func__, *nbuffers, size); nbuffers 721 drivers/media/usb/usbtv/usbtv-video.c unsigned int *nbuffers, nbuffers 727 drivers/media/usb/usbtv/usbtv-video.c if (vq->num_buffers + *nbuffers < 2) nbuffers 728 drivers/media/usb/usbtv/usbtv-video.c *nbuffers = 2 - vq->num_buffers; nbuffers 73 drivers/media/usb/uvc/uvc_queue.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 466 drivers/net/thunderbolt.c static int tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) nbuffers 471 drivers/net/thunderbolt.c while (nbuffers--) { nbuffers 2076 drivers/staging/media/allegro-dvt/allegro-core.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 460 drivers/staging/media/imx/imx-media-capture.c unsigned int *nbuffers, nbuffers 467 drivers/staging/media/imx/imx-media-capture.c unsigned int count = *nbuffers; nbuffers 481 drivers/staging/media/imx/imx-media-capture.c *nbuffers = (count < vq->num_buffers) ? 0 : nbuffers 484 drivers/staging/media/imx/imx-media-capture.c *nbuffers = count; nbuffers 416 drivers/staging/media/imx/imx-media-csc-scaler.c unsigned int *nbuffers, nbuffers 423 drivers/staging/media/imx/imx-media-csc-scaler.c unsigned int size, count = *nbuffers; nbuffers 429 drivers/staging/media/imx/imx-media-csc-scaler.c *nbuffers = count; nbuffers 201 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 237 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (*nbuffers < dev->capture.port->minimum_buffer.num) nbuffers 238 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c *nbuffers = dev->capture.port->minimum_buffer.num; nbuffers 240 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->capture.port->current_buffer.num = *nbuffers; nbuffers 41 drivers/usb/gadget/function/uvc_queue.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 47 drivers/usb/gadget/function/uvc_queue.c if (*nbuffers > UVC_MAX_VIDEO_BUFFERS) nbuffers 48 drivers/usb/gadget/function/uvc_queue.c *nbuffers = UVC_MAX_VIDEO_BUFFERS; nbuffers 166 samples/v4l/v4l2-pci-skeleton.c unsigned int *nbuffers, unsigned int *nplanes, nbuffers 182 samples/v4l/v4l2-pci-skeleton.c if (vq->num_buffers + *nbuffers < 3) nbuffers 183 samples/v4l/v4l2-pci-skeleton.c *nbuffers = 3 - vq->num_buffers;