Lines Matching defs:discard
547 * In addition to this, we need to use discard buffers if no pending
548 * buffers are available. To simplify handling of discard buffer, we
551 * could be improved to use two buffers only, but as all discard
604 dev_warn(dev, "trying to access empty discard list\n");
639 if (!buf->discard) {
687 "discard buffer plane %u: %zu bytes @%pad (CPU address %p)\n",
691 /* Fill the DMA addresses in the discard buffers. */
695 buf->discard = true;
744 if (buf->discard)
772 unsigned int discard;
781 * use discard buffers to fill the remaining slots.
784 /* How many discard buffers do we need to queue first ? */
785 discard = list_empty(&video->out_pending) ? 2
795 list = i < discard ? &video->out_discard : &video->out_pending;
948 /* Add the discard buffers to the out_discard list. */
1187 /* Allocate buffers for discard operation. */
1368 * Move the active buffers back to the pending or discard list. We must
1377 if (buf->discard)