Home
last modified time | relevance | path

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

/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c136 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 …]
/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()
518 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
Darcdevice.h291 int next_buf, first_free_buf; member
/drivers/gpu/drm/mxsfb/
Dmxsfb_drv.h14 unsigned int next_buf; member
Dmxsfb_crtc.c290 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()
Dmxsfb_drv.c50 .next_buf = LCDC_V3_NEXT_BUF,
59 .next_buf = LCDC_V4_NEXT_BUF,
/drivers/crypto/caam/
Dcaamhash.c791 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()
Dcaamalg_qi2.c3469 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()
/drivers/crypto/
Dixp4xx_crypto.c787 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()
/drivers/media/platform/marvell-ccic/
Dmcam-core.h162 int next_buf; /* Next to consume (dev_lock) */ member
Dmcam-core.c240 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()
/drivers/s390/cio/
Dqdio.h360 #define next_buf(bufnr) \ macro
Dqdio_main.c224 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()
/drivers/staging/comedi/drivers/
Dadl_pci9118.c391 unsigned int next_buf) in pci9118_ai_mode4_switch() argument
394 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[next_buf]; in pci9118_ai_mode4_switch()