Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c177 struct sun6i_csi_buffer *next_buf; in sun6i_video_start_streaming() local
226 next_buf = list_next_entry(buf, list); in sun6i_video_start_streaming()
227 sun6i_video_buffer_configure(csi_dev, next_buf); in sun6i_video_start_streaming()
282 struct sun6i_csi_buffer *next_buf; in sun6i_video_frame_done() local
294 next_buf = list_next_entry(buf, list); in sun6i_video_frame_done()
300 if (!next_buf->queued_to_csi) { in sun6i_video_frame_done()
301 sun6i_video_buffer_configure(csi_dev, next_buf); in sun6i_video_frame_done()
313 if (!list_is_last(&next_buf->list, &video->dma_queue)) { in sun6i_video_frame_done()
314 next_buf = list_next_entry(next_buf, list); in sun6i_video_frame_done()
315 sun6i_video_buffer_configure(csi_dev, next_buf); in sun6i_video_frame_done()
/Linux-v6.1/arch/x86/events/intel/
Dbts.c378 unsigned int next_buf; in bts_buffer_reset() local
396 next_buf = buf->cur_buf + 1; in bts_buffer_reset()
397 if (next_buf >= buf->nr_bufs) in bts_buffer_reset()
398 next_buf = 0; in bts_buffer_reset()
399 next_phys = &buf->buf[next_buf]; in bts_buffer_reset()
424 buf->cur_buf = next_buf; in bts_buffer_reset()
/Linux-v6.1/drivers/net/arcnet/
Darcnet.c299 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in release_arcbuf()
318 if (lp->next_buf >= 5) in get_arcbuf()
319 lp->next_buf -= 5; in get_arcbuf()
321 if (lp->next_buf == lp->first_free_buf) { in get_arcbuf()
324 buf = lp->buf_queue[lp->next_buf++]; in get_arcbuf()
325 lp->next_buf %= 5; in get_arcbuf()
332 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in get_arcbuf()
564 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
Darcdevice.h291 int next_buf, first_free_buf; member
/Linux-v6.1/drivers/gpu/drm/mxsfb/
Dmxsfb_drv.c50 .next_buf = LCDC_V3_NEXT_BUF,
60 .next_buf = LCDC_V4_NEXT_BUF,
70 .next_buf = LCDC_V4_NEXT_BUF,
Dmxsfb_drv.h21 unsigned int next_buf; member
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()
/Linux-v6.1/drivers/media/platform/marvell/
Dmcam-core.h161 int next_buf; /* Next to consume (dev_lock) */ member
Dmcam-core.c241 cam->next_buf = -1; in mcam_reset_buffers()
451 int bufno = cam->next_buf; in mcam_frame_tasklet()
455 if (++(cam->next_buf) >= cam->nbufs) in mcam_frame_tasklet()
456 cam->next_buf = 0; in mcam_frame_tasklet()
1689 cam->next_buf = frame; in mcam_frame_complete()
/Linux-v6.1/drivers/crypto/
Dixp4xx_crypto.c874 struct buffer_desc *next_buf; in chainup_buffers() local
880 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers()
881 if (!next_buf) { in chainup_buffers()
886 buf->next = next_buf; in chainup_buffers()
888 buf = next_buf; in chainup_buffers()
/Linux-v6.1/drivers/s390/cio/
Dqdio.h318 #define next_buf(bufnr) add_buf(bufnr, 1) macro
Dqdio_main.c223 bufnr = next_buf(bufnr); in get_buf_states()
255 bufnr = next_buf(bufnr); in set_buf_states()
/Linux-v6.1/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c238 const unsigned char *next_buf; member
668 if (!decoder->next_buf) in intel_pt_get_next_data()
671 decoder->buf = decoder->next_buf; in intel_pt_get_next_data()
673 decoder->next_buf = 0; in intel_pt_get_next_data()
703 decoder->next_buf = decoder->buf; in intel_pt_get_split_packet()
710 decoder->next_buf = decoder->buf + (ret - old_len); in intel_pt_get_split_packet()
1033 decoder->len < INTEL_PT_PKT_MAX_SZ && !decoder->next_buf) { in intel_pt_get_next_packet()
3858 decoder->next_buf = decoder->buf + rest_psb; in intel_pt_get_split_psb()
/Linux-v6.1/drivers/comedi/drivers/
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()