Lines Matching refs:buffers

37  * we must have physically contiguous buffers to bring frames into.
38 * These parameters control how many buffers we use, whether we
43 * The controller can cycle through three buffers. We could use
51 "Non-zero value causes DMA buffers to be allocated when the "
54 "successfully getting those buffers. This parameter is "
60 "The number of DMA buffers to allocate. Can be either two "
66 "The size of the allocated DMA buffers. If actual operating "
67 "parameters require larger buffers, an attempt to reallocate "
349 * Allocate in-kernel DMA buffers for vmalloc mode.
381 cam_err(cam, "Insufficient DMA buffers, cannot operate\n");
386 cam_warn(cam, "Will limp along with only 2 buffers\n");
406 * Set up DMA buffers when operating in vmalloc mode
411 * Store the first two Y buffers (we aren't supporting
447 if (list_empty(&cam->buffers)) {
453 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer,
470 * Make sure our allocated buffers are up to the task.
539 * If there are no available buffers, go into single mode
541 if (list_empty(&cam->buffers)) {
549 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer,
628 buf = list_first_entry(&cam->buffers, struct mcam_vb_buffer, queue);
653 if (list_empty(&cam->buffers)) {
666 * a descriptor chain on the fly, since the controller buffers it
690 if (!list_empty(&cam->buffers)) {
1025 * Configuration. If we still don't have DMA buffers,
1095 start = (cam->state == S_BUFWAIT) && !list_empty(&cam->buffers);
1096 list_add(&mvb->queue, &cam->buffers);
1133 INIT_LIST_HEAD(&cam->buffers);
1138 * Videobuf2 sneakily hoards all the buffers and won't
1142 * give us buffers soon.
1144 if (cam->buffer_mode != B_vmalloc && list_empty(&cam->buffers)) {
1165 /* They never gave us buffers */
1179 * VB2 reclaims the buffers, so we need to forget
1183 INIT_LIST_HEAD(&cam->buffers);
1283 INIT_LIST_HEAD(&cam->buffers);
1473 * Also can't if there are streaming buffers in place.
1495 * Make sure we have appropriate DMA buffers.
1564 * the level which controls the number of read buffers.
1912 INIT_LIST_HEAD(&cam->buffers);
1949 * If so requested, try to get our DMA buffers now.
1953 cam_warn(cam, "Unable to alloc DMA buffers at load"
2029 list_add(&cam->vb_bufs[0]->queue, &cam->buffers);