Home
last modified time | relevance | path

Searched refs:next_buf (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_video.c136 struct sun6i_csi_buffer *next_buf; in sun6i_video_start_streaming() local
195 next_buf = list_next_entry(buf, list); in sun6i_video_start_streaming()
196 next_buf->queued_to_csi = true; in sun6i_video_start_streaming()
197 sun6i_csi_update_buf_addr(video->csi, next_buf->dma_addr); in sun6i_video_start_streaming()
261 struct sun6i_csi_buffer *next_buf; in sun6i_video_frame_done() local
273 next_buf = list_next_entry(buf, list); in sun6i_video_frame_done()
274 /* If a new buffer (#next_buf) had not been queued to CSI, the old in sun6i_video_frame_done()
276 * frame. So, we queue a new buffer (#next_buf) to CSI then wait in sun6i_video_frame_done()
279 if (!next_buf->queued_to_csi) { in sun6i_video_frame_done()
280 next_buf in sun6i_video_frame_done()
[all...]
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dbts.c372 unsigned int next_buf; in bts_buffer_reset() local
390 next_buf = buf->cur_buf + 1; in bts_buffer_reset()
391 if (next_buf >= buf->nr_bufs) in bts_buffer_reset()
392 next_buf = 0; in bts_buffer_reset()
393 next_phys = &buf->buf[next_buf]; in bts_buffer_reset()
418 buf->cur_buf = next_buf; in bts_buffer_reset()
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/mxsfb/
H A Dmxsfb_drv.c50 .next_buf = LCDC_V3_NEXT_BUF,
59 .next_buf = LCDC_V4_NEXT_BUF,
68 .next_buf = LCDC_V4_NEXT_BUF,
H A Dmxsfb_drv.h21 unsigned int next_buf; member
H A Dmxsfb_kms.c363 writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_crtc_atomic_enable()
465 writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_plane_primary_atomic_update()
/kernel/linux/linux-6.6/drivers/gpu/drm/mxsfb/
H A Dmxsfb_drv.h21 unsigned int next_buf; member
H A Dmxsfb_drv.c50 .next_buf = LCDC_V3_NEXT_BUF,
60 .next_buf = LCDC_V4_NEXT_BUF,
70 .next_buf = LCDC_V4_NEXT_BUF,
H 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()
/kernel/linux/linux-5.10/drivers/net/arcnet/
H A 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()
565 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
H A Darcdevice.h288 * If next_buf == first_free_buf, the queue is empty. Since there are
293 int next_buf, first_free_buf; member
/kernel/linux/linux-6.6/drivers/net/arcnet/
H A Darcnet.c295 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in release_arcbuf()
314 if (lp->next_buf >= 5) in get_arcbuf()
315 lp->next_buf -= 5; in get_arcbuf()
317 if (lp->next_buf == lp->first_free_buf) { in get_arcbuf()
320 buf = lp->buf_queue[lp->next_buf++]; in get_arcbuf()
321 lp->next_buf %= 5; in get_arcbuf()
328 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in get_arcbuf()
560 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
H A Darcdevice.h288 * If next_buf == first_free_buf, the queue is empty. Since there are
293 int next_buf, first_free_buf; member
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
H 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()
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-decoder.c201 const unsigned char *next_buf; member
565 if (!decoder->next_buf) in intel_pt_get_next_data()
568 decoder->buf = decoder->next_buf; in intel_pt_get_next_data()
570 decoder->next_buf = 0; in intel_pt_get_next_data()
600 decoder->next_buf = decoder->buf; in intel_pt_get_split_packet()
607 decoder->next_buf = decoder->buf + (ret - old_len); in intel_pt_get_split_packet()
927 decoder->len < INTEL_PT_PKT_MAX_SZ && !decoder->next_buf) { in intel_pt_get_next_packet()
2700 decoder->next_buf = decoder->buf + rest_psb; in intel_pt_get_split_psb()
/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/
H A Dmcam-core.h162 int next_buf; /* Next to consume (dev_lock) */ member
H A 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()
1686 cam->next_buf = frame; in mcam_frame_complete()
/kernel/linux/linux-6.6/drivers/media/platform/marvell/
H A Dmcam-core.h161 int next_buf; /* Next to consume (dev_lock) */ member
H A 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()
/kernel/linux/linux-5.10/drivers/crypto/
H A Dixp4xx_crypto.c810 struct buffer_desc *next_buf; in chainup_buffers() local
816 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers()
817 if (!next_buf) { in chainup_buffers()
822 buf->next = next_buf; in chainup_buffers()
824 buf = next_buf; in chainup_buffers()
/kernel/linux/linux-6.6/drivers/crypto/intel/ixp4xx/
H A Dixp4xx_crypto.c876 struct buffer_desc *next_buf; in chainup_buffers() local
882 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers()
883 if (!next_buf) { in chainup_buffers()
888 buf->next = next_buf; in chainup_buffers()
890 buf = next_buf; in chainup_buffers()
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dqdio.h347 #define next_buf(bufnr) add_buf(bufnr, 1) macro
H A Dqdio_main.c228 bufnr = next_buf(bufnr); in get_buf_states()
266 bufnr = next_buf(bufnr); in set_buf_states()
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dqdio.h318 #define next_buf(bufnr) add_buf(bufnr, 1) macro
/kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/
H A 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()
3860 decoder->next_buf = decoder->buf + rest_psb; in intel_pt_get_split_psb()

Completed in 35 milliseconds

12