Lines Matching full:buffers
26 * enum vb2_memory - type of memory model used to make the buffers visible
31 * @VB2_MEMORY_MMAP: The buffers are allocated by the Kernel and it is
33 * also used when the user is using the buffers via
35 * @VB2_MEMORY_USERPTR: The buffers was allocated in userspace and it is
37 * @VB2_MEMORY_DMABUF: The buffers are passed to userspace via DMA buffer.
270 * queued_entry: entry on the queued buffers list, which holds
271 * all buffers queued from userspace
272 * done_entry: entry on the list that stores all buffers ready
328 * twice: if the original number of requested buffers
331 * buffers to verify if that is OK.
332 * The driver should return the required number of buffers
340 * number of buffers that are being allocated. When called
379 * buffers are being returned to their default %DEQUEUED
386 * receive buffers with @buf_queue callback
388 * number of already queued buffers in count parameter;
390 * case all buffers that have been already given by
393 * If you need a minimum number of buffers before you can
397 * that many buffers have been queued up by userspace.
400 * finish and give back all buffers it got from &buf_queue
409 * if user pre-queued buffers before calling
475 * @bidirectional: when this flag is set the DMA direction for the buffers of
496 * If this is 1, then you cannot queue buffers from a request.
499 * If this is 1, then you cannot queue buffers directly.
508 * @owner: The filehandle that 'owns' the buffers, i.e. the filehandle
528 * @gfp_flags: additional gfp flags used when allocating the buffers.
531 * @min_buffers_needed: the minimum number of buffers needed before
533 * cannot be started unless at least this number of buffers
538 * @mmap_lock: private mutex used when buffers are allocated/freed/mmapped
542 * @num_buffers: number of allocated/used buffers
543 * @queued_list: list of buffers currently queued from userspace
544 * @queued_count: number of buffers queued and ready for streaming.
545 * @owned_by_drv_count: number of buffers owned by the driver
546 * @done_list: list of buffers ready to be dequeued to userspace
548 * @done_wq: waitqueue for processes waiting for buffers ready to be dequeued
554 * buffers. Only set for capture queues if qbuf has not yet been
690 * by the means of &vb2_ops->buf_queue callback. Only buffers previously queued
695 * cannot be started for some reason. In that case the buffers should be
701 * vb2_discard_done() - discard all buffers marked as DONE.
705 * discards all 'done' buffers as they would be too old to be requested after
715 * vb2_wait_for_all_buffers() - wait until all buffers are given back to vb2.
718 * This function will wait until all buffers that have been given to the driver
756 * #) negotiates number of buffers and planes per buffer with the driver
774 * vb2_core_create_bufs() - Allocate buffers and any required auxiliary structs
856 * buffers ready for dequeuing are present. Normally the driver
958 * buffers will return %-EIO.
968 * vb2_mmap() - map video buffers into application address space.
974 * This function maps one plane of one of the available video buffers to
993 * vb2_get_unmapped_area - map video buffers into application address space.
1122 * This function checks if queue has any buffers allocated.
1267 * vb2_request_buffer_cnt() - return the number of buffers in the request