| /Linux-v5.4/drivers/media/platform/sunxi/sun6i-csi/ |
| D | sun6i_video.c | 136 struct sun6i_csi_buffer *next_buf; in sun6i_video_start_streaming() local 193 next_buf = list_next_entry(buf, list); in sun6i_video_start_streaming() 194 next_buf->queued_to_csi = true; in sun6i_video_start_streaming() 195 sun6i_csi_update_buf_addr(video->csi, next_buf->dma_addr); in sun6i_video_start_streaming() 259 struct sun6i_csi_buffer *next_buf; in sun6i_video_frame_done() local 271 next_buf = list_next_entry(buf, list); in sun6i_video_frame_done() 277 if (!next_buf->queued_to_csi) { in sun6i_video_frame_done() 278 next_buf->queued_to_csi = true; in sun6i_video_frame_done() 279 sun6i_csi_update_buf_addr(video->csi, next_buf->dma_addr); in sun6i_video_frame_done() 291 if (!list_is_last(&next_buf->list, &video->dma_queue)) { in sun6i_video_frame_done() [all …]
|
| /Linux-v5.4/arch/x86/events/intel/ |
| D | bts.c | 366 unsigned int next_buf; in bts_buffer_reset() local 384 next_buf = buf->cur_buf + 1; in bts_buffer_reset() 385 if (next_buf >= buf->nr_bufs) in bts_buffer_reset() 386 next_buf = 0; in bts_buffer_reset() 387 next_phys = &buf->buf[next_buf]; in bts_buffer_reset() 412 buf->cur_buf = next_buf; in bts_buffer_reset()
|
| /Linux-v5.4/drivers/gpu/drm/mxsfb/ |
| D | mxsfb_drv.h | 14 unsigned int next_buf; member
|
| D | mxsfb_crtc.c | 290 writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_crtc_enable() 326 writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_plane_atomic_update()
|
| D | mxsfb_drv.c | 50 .next_buf = LCDC_V3_NEXT_BUF, 59 .next_buf = LCDC_V4_NEXT_BUF,
|
| /Linux-v5.4/drivers/net/arcnet/ |
| D | arcnet.c | 299 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() 518 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
|
| D | arcdevice.h | 291 int next_buf, first_free_buf; member
|
| /Linux-v5.4/drivers/crypto/caam/ |
| D | caamhash.c | 791 u8 *next_buf = alt_buf(state); in ahash_update_ctx() local 872 scatterwalk_map_and_copy(next_buf, req->src, in ahash_update_ctx() 910 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, in ahash_update_ctx() 1213 u8 *next_buf = alt_buf(state); in ahash_update_no_ctx() local 1282 scatterwalk_map_and_copy(next_buf, req->src, in ahash_update_no_ctx() 1326 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, *next_buflen, in ahash_update_no_ctx() 1431 u8 *next_buf = alt_buf(state); in ahash_update_first() local 1495 scatterwalk_map_and_copy(next_buf, req->src, to_hash, in ahash_update_first() 1520 scatterwalk_map_and_copy(next_buf, req->src, 0, in ahash_update_first() 1526 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, *next_buflen, in ahash_update_first()
|
| D | caamalg_qi2.c | 3469 u8 *next_buf = alt_buf(state); in ahash_update_ctx() local 3528 scatterwalk_map_and_copy(next_buf, req->src, in ahash_update_ctx() 3575 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, *next_buflen, in ahash_update_ctx() 3930 u8 *next_buf = alt_buf(state); in ahash_update_no_ctx() local 3981 scatterwalk_map_and_copy(next_buf, req->src, in ahash_update_no_ctx() 4038 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, *next_buflen, in ahash_update_no_ctx() 4154 u8 *next_buf = alt_buf(state); in ahash_update_first() local 4224 scatterwalk_map_and_copy(next_buf, req->src, to_hash, in ahash_update_first() 4260 scatterwalk_map_and_copy(next_buf, req->src, 0, in ahash_update_first() 4266 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, *next_buflen, in ahash_update_first()
|
| /Linux-v5.4/drivers/media/platform/marvell-ccic/ |
| D | mcam-core.h | 162 int next_buf; /* Next to consume (dev_lock) */ member
|
| D | mcam-core.c | 240 cam->next_buf = -1; in mcam_reset_buffers() 450 int bufno = cam->next_buf; in mcam_frame_tasklet() 454 if (++(cam->next_buf) >= cam->nbufs) in mcam_frame_tasklet() 455 cam->next_buf = 0; in mcam_frame_tasklet() 1703 cam->next_buf = frame; in mcam_frame_complete()
|
| /Linux-v5.4/tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-decoder.c | 187 const unsigned char *next_buf; member 535 if (!decoder->next_buf) in intel_pt_get_next_data() 538 decoder->buf = decoder->next_buf; in intel_pt_get_next_data() 540 decoder->next_buf = 0; in intel_pt_get_next_data() 570 decoder->next_buf = decoder->buf; in intel_pt_get_split_packet() 577 decoder->next_buf = decoder->buf + (ret - old_len); in intel_pt_get_split_packet() 897 decoder->len < INTEL_PT_PKT_MAX_SZ && !decoder->next_buf) { in intel_pt_get_next_packet() 2479 decoder->next_buf = decoder->buf + rest_psb; in intel_pt_get_split_psb()
|
| /Linux-v5.4/drivers/crypto/ |
| D | ixp4xx_crypto.c | 787 struct buffer_desc *next_buf; in chainup_buffers() local 793 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers() 794 if (!next_buf) { in chainup_buffers() 799 buf->next = next_buf; in chainup_buffers() 801 buf = next_buf; in chainup_buffers()
|
| /Linux-v5.4/drivers/s390/cio/ |
| D | qdio.h | 360 #define next_buf(bufnr) \ macro
|
| D | qdio_main.c | 224 bufnr = next_buf(bufnr); in get_buf_states() 259 bufnr = next_buf(bufnr); in set_buf_states() 613 b = next_buf(b); in qdio_handle_aobs()
|
| /Linux-v5.4/drivers/staging/comedi/drivers/ |
| D | adl_pci9118.c | 391 unsigned int next_buf) in pci9118_ai_mode4_switch() argument 394 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[next_buf]; in pci9118_ai_mode4_switch()
|