Home
last modified time | relevance | path

Searched refs:num_buffers (Results 1 – 18 of 18) sorted by relevance

/linux-2.6.39/drivers/media/video/
Dvideobuf2-core.c119 for (buffer = 0; buffer < q->num_buffers; ++buffer) { in __setup_offsets()
144 unsigned int num_buffers, unsigned int num_planes, in __vb2_queue_alloc() argument
151 for (buffer = 0; buffer < num_buffers; ++buffer) { in __vb2_queue_alloc()
197 q->num_buffers = buffer; in __vb2_queue_alloc()
202 q->num_buffers, num_planes); in __vb2_queue_alloc()
215 for (buffer = 0; buffer < q->num_buffers; ++buffer) { in __vb2_free_mem()
239 for (buffer = 0; buffer < q->num_buffers; ++buffer) { in __vb2_queue_free()
250 for (buffer = 0; buffer < q->num_buffers; ++buffer) { in __vb2_queue_free()
255 q->num_buffers = 0; in __vb2_queue_free()
368 if (b->index >= q->num_buffers) { in vb2_querybuf()
[all …]
/linux-2.6.39/include/media/
Dvideobuf2-core.h213 int (*queue_setup)(struct vb2_queue *q, unsigned int *num_buffers,
269 unsigned int num_buffers; member
328 return (q->num_buffers > 0); in vb2_is_busy()
/linux-2.6.39/drivers/media/dvb/siano/
Dsmscoreapi.c363 dev->common_buffer_size = params->buffer_size * params->num_buffers; in smscore_register_device()
374 dev->num_buffers < params->num_buffers; in smscore_register_device()
375 dev->num_buffers++, buffer += params->buffer_size) { in smscore_register_device()
387 sms_info("allocated %d buffers", dev->num_buffers); in smscore_register_device()
685 int num_buffers = 0; in smscore_unregister_device() local
704 num_buffers++; in smscore_unregister_device()
706 if (num_buffers == coredev->num_buffers) in smscore_unregister_device()
715 coredev->num_buffers - num_buffers); in smscore_unregister_device()
719 sms_info("freed %d buffers", num_buffers); in smscore_unregister_device()
Dsmscoreapi.h99 int num_buffers; member
131 int num_buffers; member
Dsmssdio.c247 params.num_buffers = 22; /* ?? */ in smssdio_probe()
Dsmsusb.c351 params.num_buffers = MAX_BUFFERS; in smsusb_init_device()
/linux-2.6.39/drivers/media/video/cpia2/
Dcpia2_v4l.c55 static int num_buffers = 3; variable
56 module_param(num_buffers, int, 0);
57 MODULE_PARM_DESC(num_buffers, "Number of frame buffers (1-"
1392 cam->num_frames = num_buffers; in reset_camera_struct_v4l()
1517 if(num_buffers < 1) { in check_parameters()
1518 num_buffers = 1; in check_parameters()
1519 LOG("num_buffers too small, setting to %d\n", num_buffers); in check_parameters()
1520 } else if(num_buffers > VIDEO_MAX_FRAME) { in check_parameters()
1521 num_buffers = VIDEO_MAX_FRAME; in check_parameters()
1522 LOG("num_buffers too large, setting to %d\n", num_buffers); in check_parameters()
[all …]
/linux-2.6.39/include/linux/
Dvirtio_net.h60 __u16 num_buffers; /* Number of merged rx buffers */ member
/linux-2.6.39/drivers/media/video/zoran/
Dzoran_driver.c197 fh->buffers.num_buffers = v4l_nbufs; in map_mode_raw()
203 fh->buffers.num_buffers = jpg_nbufs; in map_mode_jpg()
222 for (i = 0; i < fh->buffers.num_buffers; i++) { in v4l_fbuffer_alloc()
267 for (i = 0; i < fh->buffers.num_buffers; i++) { in v4l_fbuffer_free()
316 for (i = 0; i < fh->buffers.num_buffers; i++) { in jpg_fbuffer_alloc()
380 (fh->buffers.num_buffers * fh->buffers.buffer_size) >> 10); in jpg_fbuffer_alloc()
399 i < fh->buffers.num_buffers; i++, buffer++) { in jpg_fbuffer_free()
502 if (num >= fh->buffers.num_buffers || num < 0) { in zoran_v4l_queue_frame()
580 if (frame >= fh->buffers.num_buffers || frame < 0) { in v4l_sync()
649 if (num >= fh->buffers.num_buffers || num < 0) { in zoran_jpg_queue_frame()
[all …]
Dzoran.h210 unsigned int num_buffers, buffer_size; member
Dzoran_device.c715 for (i = 0; i < zr->jpg_buffers.num_buffers; i++) { in init_jpeg_queue()
1242 zr->jpg_dma_tail - zr->jpg_que_tail >= zr->jpg_buffers.num_buffers) { in error_handler()
1294 for (i = 0; i < zr->jpg_buffers.num_buffers; i++) { in error_handler()
/linux-2.6.39/Documentation/video4linux/
DREADME.cpia258 num_buffers Number of frame buffers (1-32, default 3)
69 options cpia2 num_buffers=3 buffer_size=65535
73 cpia2.num_buffers=3 cpia2.buffer_size=65535
/linux-2.6.39/drivers/media/video/omap/
Domap_vout.c1016 int num_buffers = 0, i; in omap_vout_free_allbuffers() local
1018 num_buffers = (vout->vid == OMAP_VIDEO1) ? in omap_vout_free_allbuffers()
1021 for (i = num_buffers; i < vout->buffer_allocated; i++) { in omap_vout_free_allbuffers()
1043 vout->buffer_allocated = num_buffers; in omap_vout_free_allbuffers()
1791 unsigned int i, num_buffers = 0; in vidioc_reqbufs() local
1816 num_buffers = (vout->vid == OMAP_VIDEO1) ? in vidioc_reqbufs()
1818 for (i = num_buffers; i < vout->buffer_allocated; i++) { in vidioc_reqbufs()
1824 vout->buffer_allocated = num_buffers; in vidioc_reqbufs()
/linux-2.6.39/drivers/net/
Diseries_veth.c112 u16 num_buffers; member
608 if ( (remote_caps->num_buffers == 0) || in veth_process_caps()
617 num_acks_needed = (remote_caps->num_buffers in veth_process_caps()
871 cnx->local_caps.num_buffers = VETH_NUMBUFFERS; in veth_init_connection()
Dvirtio_net.c204 num_buf = hdr->mhdr.num_buffers; in receive_mergeable()
216 skb->dev->name, hdr->mhdr.num_buffers); in receive_mergeable()
561 hdr->mhdr.num_buffers = 0; in xmit_skb()
/linux-2.6.39/drivers/vhost/
Dnet.c377 offsetof(typeof(hdr), num_buffers), in handle_rx()
378 sizeof hdr.num_buffers)) { in handle_rx()
/linux-2.6.39/drivers/media/video/s5p-fimc/
Dfimc-capture.c273 static int queue_setup(struct vb2_queue *vq, unsigned int *num_buffers, in queue_setup() argument
287 __func__, *num_buffers, *num_planes); in queue_setup()
Dfimc-core.c703 static int fimc_queue_setup(struct vb2_queue *vq, unsigned int *num_buffers, in fimc_queue_setup() argument
727 if (*num_buffers == 0) in fimc_queue_setup()
728 *num_buffers = 1; in fimc_queue_setup()