/drivers/media/usb/em28xx/ |
D | em28xx-vbi.c | 35 unsigned int *nbuffers, unsigned int *nplanes, in vbi_queue_setup() argument 48 if (0 == *nbuffers) in vbi_queue_setup() 49 *nbuffers = 32; in vbi_queue_setup() 50 if (*nbuffers < 2) in vbi_queue_setup() 51 *nbuffers = 2; in vbi_queue_setup() 52 if (*nbuffers > 32) in vbi_queue_setup() 53 *nbuffers = 32; in vbi_queue_setup()
|
/drivers/media/pci/saa7134/ |
D | saa7134-ts.c | 120 unsigned int *nbuffers, unsigned int *nplanes, in saa7134_ts_queue_setup() argument 127 if (0 == *nbuffers) in saa7134_ts_queue_setup() 128 *nbuffers = dev->ts.nr_bufs; in saa7134_ts_queue_setup() 129 *nbuffers = saa7134_buffer_count(size, *nbuffers); in saa7134_ts_queue_setup() 130 if (*nbuffers < 3) in saa7134_ts_queue_setup() 131 *nbuffers = 3; in saa7134_ts_queue_setup()
|
D | saa7134-vbi.c | 142 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 155 *nbuffers = saa7134_buffer_count(size, *nbuffers); in queue_setup()
|
/drivers/media/platform/vivid/ |
D | vivid-vbi-out.c | 31 unsigned *nbuffers, unsigned *nplanes, in vbi_out_queue_setup() argument 45 if (vq->num_buffers + *nbuffers < 2) in vbi_out_queue_setup() 46 *nbuffers = 2 - vq->num_buffers; in vbi_out_queue_setup()
|
D | vivid-vbi-cap.c | 141 unsigned *nbuffers, unsigned *nplanes, in vbi_cap_queue_setup() argument 155 if (vq->num_buffers + *nbuffers < 2) in vbi_cap_queue_setup() 156 *nbuffers = 2 - vq->num_buffers; in vbi_cap_queue_setup()
|
D | vivid-vid-out.c | 35 unsigned *nbuffers, unsigned *nplanes, in vid_out_queue_setup() argument 95 if (vq->num_buffers + *nbuffers < 2) in vid_out_queue_setup() 96 *nbuffers = 2 - vq->num_buffers; in vid_out_queue_setup() 105 dprintk(dev, 1, "%s: count=%d\n", __func__, *nbuffers); in vid_out_queue_setup()
|
/drivers/usb/gadget/function/ |
D | uvc_queue.c | 45 unsigned int *nbuffers, unsigned int *nplanes, in uvc_queue_setup() argument 51 if (*nbuffers > UVC_MAX_VIDEO_BUFFERS) in uvc_queue_setup() 52 *nbuffers = UVC_MAX_VIDEO_BUFFERS; in uvc_queue_setup()
|
/drivers/media/platform/soc_camera/ |
D | atmel-isi.c | 249 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 259 if (!*nbuffers || *nbuffers > MAX_BUFFER_NUM) in queue_setup() 260 *nbuffers = MAX_BUFFER_NUM; in queue_setup() 262 if (size * *nbuffers > VID_LIMIT_BYTES) in queue_setup() 263 *nbuffers = VID_LIMIT_BYTES / size; in queue_setup() 273 *nbuffers, size); in queue_setup()
|
/drivers/media/usb/pwc/ |
D | pwc-if.c | 576 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 582 if (*nbuffers < MIN_FRAMES) in queue_setup() 583 *nbuffers = MIN_FRAMES; in queue_setup() 584 else if (*nbuffers > MAX_FRAMES) in queue_setup() 585 *nbuffers = MAX_FRAMES; in queue_setup()
|
/drivers/media/usb/stk1160/ |
D | stk1160-v4l.c | 668 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 680 *nbuffers = clamp_t(unsigned int, *nbuffers, in queue_setup() 689 __func__, *nbuffers, size); in queue_setup()
|
/drivers/media/usb/airspy/ |
D | airspy.c | 491 const void *parg, unsigned int *nbuffers, in airspy_queue_setup() argument 496 dev_dbg(s->dev, "nbuffers=%d\n", *nbuffers); in airspy_queue_setup() 499 if (vq->num_buffers + *nbuffers < 8) in airspy_queue_setup() 500 *nbuffers = 8 - vq->num_buffers; in airspy_queue_setup() 504 dev_dbg(s->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); in airspy_queue_setup()
|
/drivers/media/usb/au0828/ |
D | au0828-vbi.c | 34 unsigned int *nbuffers, unsigned int *nplanes, in vbi_queue_setup() argument
|
/drivers/media/usb/msi2500/ |
D | msi2500.c | 620 unsigned int *nbuffers, in msi2500_queue_setup() argument 626 dev_dbg(dev->dev, "nbuffers=%d\n", *nbuffers); in msi2500_queue_setup() 629 *nbuffers = clamp_t(unsigned int, *nbuffers, 8, 32); in msi2500_queue_setup() 632 dev_dbg(dev->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); in msi2500_queue_setup()
|
/drivers/media/pci/dt3155/ |
D | dt3155.c | 135 unsigned int *nbuffers, unsigned int *num_planes, in dt3155_queue_setup() argument 143 if (vq->num_buffers + *nbuffers < 2) in dt3155_queue_setup() 144 *nbuffers = 2 - vq->num_buffers; in dt3155_queue_setup()
|
/drivers/media/usb/usbtv/ |
D | usbtv-video.c | 602 const void *parg, unsigned int *nbuffers, in usbtv_queue_setup() argument 609 if (vq->num_buffers + *nbuffers < 2) in usbtv_queue_setup() 610 *nbuffers = 2 - vq->num_buffers; in usbtv_queue_setup()
|
/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 269 unsigned int *nbuffers, unsigned int *nplanes, in queue_setup() argument 274 if (!(*nbuffers) || *nbuffers < MAX_FRAMES) in queue_setup() 275 *nbuffers = MAX_FRAMES; in queue_setup()
|
/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_core.c | 286 unsigned int *nbuffers, in netup_unidvb_queue_setup() argument 296 if (vq->num_buffers + *nbuffers < VIDEO_MAX_FRAME) in netup_unidvb_queue_setup() 297 *nbuffers = VIDEO_MAX_FRAME - vq->num_buffers; in netup_unidvb_queue_setup() 300 __func__, *nbuffers, sizes[0]); in netup_unidvb_queue_setup()
|
/drivers/input/touchscreen/ |
D | sur40.c | 651 unsigned int *nbuffers, unsigned int *nplanes, in sur40_queue_setup() argument 657 if (q->num_buffers + *nbuffers < 3) in sur40_queue_setup() 658 *nbuffers = 3 - q->num_buffers; in sur40_queue_setup()
|
/drivers/media/platform/ |
D | sh_veu.c | 869 unsigned int *nbuffers, unsigned int *nplanes, in sh_veu_queue_setup() argument 875 unsigned int size, count = *nbuffers; in sh_veu_queue_setup() 896 *nbuffers = count = 2; in sh_veu_queue_setup() 900 *nbuffers = count; in sh_veu_queue_setup()
|
D | mx2_emmaprp.c | 693 unsigned int *nbuffers, unsigned int *nplanes, in emmaprp_queue_setup() argument 698 unsigned int size, count = *nbuffers; in emmaprp_queue_setup() 711 *nbuffers = count; in emmaprp_queue_setup()
|
/drivers/staging/lustre/lnet/lnet/ |
D | router.c | 1269 int nbuffers = 0; in lnet_rtrpool_free_bufs() local 1285 nbuffers++; in lnet_rtrpool_free_bufs() 1288 LASSERT(rbp->rbp_nbuffers == nbuffers); in lnet_rtrpool_free_bufs() 1289 LASSERT(rbp->rbp_credits == nbuffers); in lnet_rtrpool_free_bufs()
|
/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 105 unsigned int *nbuffers, unsigned int *nplanes, in g2d_queue_setup() argument 118 if (*nbuffers == 0) in g2d_queue_setup() 119 *nbuffers = 1; in g2d_queue_setup()
|
/drivers/media/usb/hackrf/ |
D | hackrf.c | 762 const void *parg, unsigned int *nbuffers, in hackrf_queue_setup() argument 767 dev_dbg(dev->dev, "nbuffers=%d\n", *nbuffers); in hackrf_queue_setup() 770 if (vq->num_buffers + *nbuffers < 8) in hackrf_queue_setup() 771 *nbuffers = 8 - vq->num_buffers; in hackrf_queue_setup() 775 dev_dbg(dev->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); in hackrf_queue_setup()
|
/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 493 const void *parg, unsigned int *nbuffers, in rtl2832_sdr_queue_setup() argument 499 dev_dbg(&pdev->dev, "nbuffers=%d\n", *nbuffers); in rtl2832_sdr_queue_setup() 502 if (vq->num_buffers + *nbuffers < 8) in rtl2832_sdr_queue_setup() 503 *nbuffers = 8 - vq->num_buffers; in rtl2832_sdr_queue_setup() 506 dev_dbg(&pdev->dev, "nbuffers=%d sizes[0]=%d\n", *nbuffers, sizes[0]); in rtl2832_sdr_queue_setup()
|
/drivers/staging/media/davinci_vpfe/ |
D | vpfe_video.c | 1085 unsigned int *nbuffers, unsigned int *nplanes, in vpfe_buffer_queue_setup() argument 1096 if (vq->num_buffers + *nbuffers < 3) in vpfe_buffer_queue_setup() 1097 *nbuffers = 3 - vq->num_buffers; in vpfe_buffer_queue_setup() 1103 "nbuffers=%d, size=%lu\n", *nbuffers, size); in vpfe_buffer_queue_setup()
|