Lines Matching full:buffers
27 * enum vb2_memory - type of memory model used to make the buffers visible
32 * @VB2_MEMORY_MMAP: The buffers are allocated by the Kernel and it is
34 * also used when the user is using the buffers via
36 * @VB2_MEMORY_USERPTR: The buffers was allocated in userspace and it is
38 * @VB2_MEMORY_DMABUF: The buffers are passed to userspace via DMA buffer.
278 * queued_entry: entry on the queued buffers list, which holds
279 * all buffers queued from userspace
280 * done_entry: entry on the list that stores all buffers ready
335 * twice: if the original number of requested buffers
338 * buffers to verify if that is OK.
339 * The driver should return the required number of buffers
347 * number of buffers that are being allocated. When called
352 * the buffers already allocated. If either \*num_planes
386 * buffers are being returned to their default %DEQUEUED
399 * receive buffers with @buf_queue callback
401 * number of already queued buffers in count parameter;
403 * case all buffers that have been already given by
406 * If you need a minimum number of buffers before you can
410 * that many buffers have been queued up by userspace.
413 * finish and give back all buffers it got from &buf_queue
426 * if user pre-queued buffers before calling
493 * @bidirectional: when this flag is set the DMA direction for the buffers of
514 * If this is 1, then you cannot queue buffers from a request.
517 * If this is 1, then you cannot queue buffers directly.
521 * @non_coherent_mem: when set queue will attempt to allocate buffers using
528 * @owner: The filehandle that 'owns' the buffers, i.e. the filehandle
548 * @gfp_flags: additional gfp flags used when allocating the buffers.
551 * @min_queued_buffers: the minimum number of queued buffers needed before
553 * cannot be started unless at least this number of buffers
556 * buffers will be allocated. Note that VIDIOC_CREATE_BUFS will not
558 * @min_reqbufs_allocation: the minimum number of buffers to be allocated when
562 * buffers available for the hardware to work effectively.
574 * @mmap_lock: private mutex used when buffers are allocated/freed/mmapped
580 * @max_num_buffers: upper limit of number of allocated/used buffers.
583 * @queued_list: list of buffers currently queued from userspace
584 * @queued_count: number of buffers queued and ready for streaming.
585 * @owned_by_drv_count: number of buffers owned by the driver
586 * @done_list: list of buffers ready to be dequeued to userspace
588 * @done_wq: waitqueue for processes waiting for buffers ready to be dequeued
594 * buffers. Only set for capture queues if qbuf has not yet been
740 * by the means of &vb2_ops->buf_queue callback. Only buffers previously queued
745 * cannot be started for some reason. In that case the buffers should be
751 * vb2_discard_done() - discard all buffers marked as DONE.
755 * discards all 'done' buffers as they would be too old to be requested after
765 * vb2_wait_for_all_buffers() - wait until all buffers are given back to vb2.
768 * This function will wait until all buffers that have been given to the driver
808 * #) negotiates number of buffers and planes per buffer with the driver
826 * vb2_core_create_bufs() - Allocate buffers and any required auxiliary structs
833 * @first_index: index of the first created buffer, all allocated buffers have
879 * @start: first index of the range of buffers to remove.
880 * @count: number of buffers to remove.
922 * buffers ready for dequeuing are present. Normally the driver
1024 * buffers will return %-EIO.
1034 * vb2_mmap() - map video buffers into application address space.
1040 * This function maps one plane of one of the available video buffers to
1059 * vb2_get_unmapped_area - map video buffers into application address space.
1200 * This function checks if queue has any buffers allocated.
1342 * vb2_request_buffer_cnt() - return the number of buffers in the request