Home
last modified time | relevance | path

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

/drivers/net/arcnet/
Darcnet.c298 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in release_arcbuf()
317 if (lp->next_buf >= 5) in get_arcbuf()
318 lp->next_buf -= 5; in get_arcbuf()
320 if (lp->next_buf == lp->first_free_buf) { in get_arcbuf()
323 buf = lp->buf_queue[lp->next_buf++]; in get_arcbuf()
324 lp->next_buf %= 5; in get_arcbuf()
331 for (i = lp->next_buf; i != lp->first_free_buf; i = (i + 1) % 5) in get_arcbuf()
468 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
Darcdevice.h292 int next_buf, first_free_buf; member
/drivers/video/fbdev/
Dmxsfb.c164 unsigned next_buf; member
194 .next_buf = LCDC_V3_NEXT_BUF,
203 .next_buf = LCDC_V4_NEXT_BUF,
520 host->base + host->devdata->next_buf); in mxsfb_set_par()
606 host->base + host->devdata->next_buf); in mxsfb_pan_display()
713 writel(fb_info->fix.smem_start, host->base + host->devdata->next_buf); in mxsfb_restore_mode()
/drivers/crypto/caam/
Dcaamhash.c842 u8 *next_buf = state->current_buf ? state->buf_0 : state->buf_1; in ahash_update_ctx() local
908 scatterwalk_map_and_copy(next_buf, req->src, in ahash_update_ctx()
955 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, in ahash_update_ctx()
1283 u8 *next_buf = state->current_buf ? state->buf_0 : state->buf_1; in ahash_update_no_ctx() local
1340 scatterwalk_map_and_copy(next_buf, req->src, in ahash_update_no_ctx()
1388 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, in ahash_update_no_ctx()
1501 u8 *next_buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_update_first() local
1556 scatterwalk_map_and_copy(next_buf, req->src, to_hash, in ahash_update_first()
1583 scatterwalk_map_and_copy(next_buf, req->src, 0, in ahash_update_first()
1588 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, in ahash_update_first()
/drivers/crypto/
Dixp4xx_crypto.c804 struct buffer_desc *next_buf; in chainup_buffers() local
810 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers()
811 if (!next_buf) { in chainup_buffers()
816 buf->next = next_buf; in chainup_buffers()
818 buf = next_buf; in chainup_buffers()
/drivers/media/platform/marvell-ccic/
Dmcam-core.c254 cam->next_buf = -1; in mcam_reset_buffers()
464 int bufno = cam->next_buf; in mcam_frame_tasklet()
468 if (++(cam->next_buf) >= cam->nbufs) in mcam_frame_tasklet()
469 cam->next_buf = 0; in mcam_frame_tasklet()
1669 cam->next_buf = frame; in mcam_frame_complete()
Dmcam-core.h163 int next_buf; /* Next to consume (dev_lock) */ member
/drivers/s390/cio/
Dqdio.h364 #define next_buf(bufnr) \ macro
Dqdio_main.c228 bufnr = next_buf(bufnr); in get_buf_states()
261 bufnr = next_buf(bufnr); in set_buf_states()
633 b = next_buf(b); in qdio_handle_aobs()
/drivers/media/platform/
Dvia-camera.c87 int next_buf; member
557 cam->next_buf = 0; in viacam_start_engine()
/drivers/staging/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()