next_buf
unsigned int next_buf;
next_buf = bb->cur_buf + 1;
if (next_buf >= bb->nr_bufs)
next_buf = 0;
next_phys = &bb->buf[next_buf];
bb->cur_buf = next_buf;
unsigned int next_buf)
struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[next_buf];
struct buffer_desc *next_buf;
next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys);
if (!next_buf) {
buf->next = next_buf;
buf = next_buf;
.next_buf = LCDC_V3_NEXT_BUF,
.next_buf = LCDC_V4_NEXT_BUF,
.next_buf = LCDC_V4_NEXT_BUF,
unsigned int next_buf;
writel(dma_addr, mxsfb->base + mxsfb->devdata->next_buf);
writel(dma_addr, mxsfb->base + mxsfb->devdata->next_buf);
cam->next_buf = frame;
cam->next_buf = -1;
int bufno = cam->next_buf;
if (++(cam->next_buf) >= cam->nbufs)
cam->next_buf = 0;
int next_buf; /* Next to consume (dev_lock) */
struct mxc_isi_buffer *next_buf;
next_buf = list_first_entry_or_null(&video->out_pending,
if (!next_buf) {
next_buf = list_first_entry_or_null(&video->out_discard,
if (!next_buf) {
mxc_isi_channel_set_outbuf(pipe, next_buf->dma_addrs, buf_id);
next_buf->id = buf_id;
list_move_tail(&next_buf->list, &video->out_active);
struct hdmirx_buffer *next_buf;
if (stream->next_buf && stream->next_buf != stream->curr_buf)
list_add_tail(&stream->next_buf->queue, &stream->buf_head);
stream->next_buf = NULL;
stream->next_buf = NULL;
stream->next_buf = NULL;
if (stream->next_buf) {
if (stream->next_buf) {
stream->curr_buf = stream->next_buf;
stream->next_buf = NULL;
if (!stream->next_buf) {
stream->next_buf = list_first_entry(&stream->buf_head,
list_del(&stream->next_buf->queue);
stream->next_buf = NULL;
if (stream->next_buf) {
stream->next_buf->buff_addr[HDMIRX_PLANE_Y]);
stream->next_buf->buff_addr[HDMIRX_PLANE_CBCR]);
int next_buf, first_free_buf;
for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5)
if (lp->next_buf >= 5)
lp->next_buf -= 5;
if (lp->next_buf == lp->first_free_buf) {
buf = lp->buf_queue[lp->next_buf++];
lp->next_buf %= 5;
for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5)
lp->next_buf = lp->first_free_buf = 0;
bufnr = next_buf(bufnr);
bufnr = next_buf(bufnr);
decoder->len < INTEL_PT_PKT_MAX_SZ && !decoder->next_buf) {
const unsigned char *next_buf;
decoder->next_buf = decoder->buf + rest_psb;
if (!decoder->next_buf)
decoder->buf = decoder->next_buf;
decoder->next_buf = 0;
decoder->next_buf = decoder->buf;
decoder->next_buf = decoder->buf + (ret - old_len);