Searched refs:max_num_buffers (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 437 WARN_ON(index >= q->max_num_buffers || test_bit(index, q->bufs_bitmap) || vb->vb2_queue); in vb2_queue_add_buffer() 472 unsigned long index = q->max_num_buffers; in __vb2_queue_alloc() 480 q->max_num_buffers - vb2_get_num_buffers(q)); in __vb2_queue_alloc() 483 index = bitmap_find_next_zero_area(q->bufs_bitmap, q->max_num_buffers, in __vb2_queue_alloc() 486 if (index < q->max_num_buffers) in __vb2_queue_alloc() 719 for (buffer = 0; buffer < q->max_num_buffers; ++buffer) { in __buffers_in_use() 844 q->bufs = kzalloc_objs(*q->bufs, q->max_num_buffers); in vb2_core_allocated_buffers_storage() 849 q->bufs_bitmap = bitmap_zalloc(q->max_num_buffers, GFP_KERNEL); in vb2_core_allocated_buffers_storage() 905 __vb2_queue_free(q, 0, q->max_num_buffers); in vb2_core_reqbufs() 921 num_buffers = min_t(unsigned int, num_buffers, q->max_num_buffers); in vb2_core_reqbufs() [all …]
|
| /linux/include/media/ |
| H A D | videobuf2-core.h | 570 * @max_num_buffers: upper limit of number of allocated/used buffers. 641 unsigned int max_num_buffers; 1178 return bitmap_weight(q->bufs_bitmap, q->max_num_buffers); 1286 if (index >= q->max_num_buffers) 651 unsigned int max_num_buffers; global() member
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-compat-ioctl32.c | 131 __u32 max_num_buffers; member 182 if (copy_from_user(&p64->max_num_buffers, &p32->max_num_buffers, in get_v4l2_create32() 183 sizeof(p32->max_num_buffers))) in get_v4l2_create32() 231 put_user(p64->max_num_buffers, &p32->max_num_buffers) || in put_v4l2_create32()
|
| H A D | v4l2-ioctl.c | 489 p->capabilities, p->max_num_buffers); in v4l_print_create_buffers()
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | hantro_postproc.c | 188 for (i = 0; i < queue->max_num_buffers; ++i) { in hantro_postproc_free()
|
| H A D | hantro_drv.c | 240 dst_vq->max_num_buffers = MAX_POSTPROC_BUFFERS; in queue_init()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-create-bufs.rst | 120 - ``max_num_buffers``
|
| H A D | vidioc-reqbufs.rst | 165 - If set, then the ``max_num_buffers`` field in ``struct v4l2_create_buffers``
|
| /linux/drivers/media/test-drivers/vivid/ |
| H A D | vivid-core.c | 915 q->max_num_buffers = MAX_VID_CAP_BUFFERS; in vivid_create_queue() 917 q->max_num_buffers = 1024; in vivid_create_queue() 919 q->max_num_buffers = 32768; in vivid_create_queue()
|
| /linux/include/uapi/linux/ |
| H A D | videodev2.h | 2696 * @max_num_buffers: if V4L2_BUF_CAP_SUPPORTS_MAX_NUM_BUFFERS capability flag is set 2708 __u32 max_num_buffers; 2705 __u32 max_num_buffers; global() member
|
| /linux/drivers/media/test-drivers/vicodec/ |
| H A D | vicodec-core.c | 1728 dst_vq->max_num_buffers = 64; in queue_init()
|