Home
last modified time | relevance | path

Searched refs:next_buf (Results 1 – 13 of 13) sorted by relevance

/drivers/media/platform/synopsys/hdmirx/
A Dsnps_hdmirx.c110 struct hdmirx_buffer *next_buf; member
1496 if (stream->next_buf && stream->next_buf != stream->curr_buf) in return_all_buffers()
1499 stream->next_buf = NULL; in return_all_buffers()
1546 stream->next_buf = NULL; in hdmirx_start_streaming()
1699 stream->next_buf = NULL; in hdmirx_register_stream_vdev()
1945 if (stream->next_buf) { in dma_idle_int_handler()
1962 if (stream->next_buf) { in dma_idle_int_handler()
1964 stream->next_buf = NULL; in dma_idle_int_handler()
2004 if (!stream->next_buf) { in line_flag_int_handler()
2012 stream->next_buf = NULL; in line_flag_int_handler()
[all …]
/drivers/net/arcnet/
A Darcnet.c297 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in release_arcbuf()
316 if (lp->next_buf >= 5) in get_arcbuf()
317 lp->next_buf -= 5; in get_arcbuf()
319 if (lp->next_buf == lp->first_free_buf) { in get_arcbuf()
322 buf = lp->buf_queue[lp->next_buf++]; in get_arcbuf()
323 lp->next_buf %= 5; in get_arcbuf()
330 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in get_arcbuf()
562 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
A Darcdevice.h294 int next_buf, first_free_buf; member
/drivers/media/platform/nxp/imx8-isi/
A Dimx8-isi-video.c496 struct mxc_isi_buffer *next_buf; in mxc_isi_video_frame_write_done() local
596 next_buf = list_first_entry_or_null(&video->out_pending, in mxc_isi_video_frame_write_done()
598 if (!next_buf) { in mxc_isi_video_frame_write_done()
599 next_buf = list_first_entry_or_null(&video->out_discard, in mxc_isi_video_frame_write_done()
603 if (!next_buf) { in mxc_isi_video_frame_write_done()
609 mxc_isi_channel_set_outbuf(pipe, next_buf->dma_addrs, buf_id); in mxc_isi_video_frame_write_done()
610 next_buf->id = buf_id; in mxc_isi_video_frame_write_done()
637 list_move_tail(&next_buf->list, &video->out_active); in mxc_isi_video_frame_write_done()
/drivers/gpu/drm/mxsfb/
A Dmxsfb_drv.c53 .next_buf = LCDC_V3_NEXT_BUF,
63 .next_buf = LCDC_V4_NEXT_BUF,
73 .next_buf = LCDC_V4_NEXT_BUF,
A Dmxsfb_drv.h21 unsigned int next_buf; member
A Dmxsfb_kms.c394 writel(dma_addr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_crtc_atomic_enable()
548 writel(dma_addr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_plane_primary_atomic_update()
/drivers/media/platform/marvell/
A Dmcam-core.h162 int next_buf; /* Next to consume (dev_lock) */ member
A Dmcam-core.c241 cam->next_buf = -1; in mcam_reset_buffers()
451 int bufno = cam->next_buf; in mcam_frame_work()
455 if (++(cam->next_buf) >= cam->nbufs) in mcam_frame_work()
456 cam->next_buf = 0; in mcam_frame_work()
1690 cam->next_buf = frame; in mcam_frame_complete()
/drivers/crypto/intel/ixp4xx/
A Dixp4xx_crypto.c879 struct buffer_desc *next_buf; in chainup_buffers() local
885 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers()
886 if (!next_buf) { in chainup_buffers()
891 buf->next = next_buf; in chainup_buffers()
893 buf = next_buf; in chainup_buffers()
/drivers/s390/cio/
A Dqdio.h317 #define next_buf(bufnr) add_buf(bufnr, 1) macro
A Dqdio_main.c223 bufnr = next_buf(bufnr); in get_buf_states()
255 bufnr = next_buf(bufnr); in set_buf_states()
/drivers/comedi/drivers/
A Dadl_pci9118.c390 unsigned int next_buf) in pci9118_ai_mode4_switch() argument
393 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[next_buf]; in pci9118_ai_mode4_switch()

Completed in 40 milliseconds