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

/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_intel_bts.c305 unsigned int next_buf; bts_buffer_reset() local
325 next_buf = buf->cur_buf + 1; bts_buffer_reset()
326 if (next_buf >= buf->nr_bufs) bts_buffer_reset()
327 next_buf = 0; bts_buffer_reset()
328 next_phys = &buf->buf[next_buf]; bts_buffer_reset()
353 buf->cur_buf = next_buf; bts_buffer_reset()
/linux-4.1.27/drivers/net/arcnet/
H A Darcnet.c251 for (i = lp->next_buf; i != lp->first_free_buf; i = (i+1) % 5) BUGLVL()
273 if (lp->next_buf >= 5) get_arcbuf()
274 lp->next_buf -= 5; get_arcbuf()
276 if (lp->next_buf == lp->first_free_buf) get_arcbuf()
279 buf = lp->buf_queue[lp->next_buf++]; get_arcbuf()
280 lp->next_buf %= 5; get_arcbuf()
287 for (i = lp->next_buf; i != lp->first_free_buf; i = (i+1) % 5) BUGLVL()
413 lp->next_buf = lp->first_free_buf = 0;
/linux-4.1.27/drivers/video/fbdev/
H A Dmxsfb.c164 unsigned next_buf; member in struct:mxsfb_devdata
194 .next_buf = LCDC_V3_NEXT_BUF,
203 .next_buf = LCDC_V4_NEXT_BUF,
520 host->base + host->devdata->next_buf); mxsfb_set_par()
606 host->base + host->devdata->next_buf); mxsfb_pan_display()
713 writel(fb_info->fix.smem_start, host->base + host->devdata->next_buf); mxsfb_restore_mode()
/linux-4.1.27/drivers/crypto/caam/
H A Dcaamhash.c783 u8 *next_buf = state->current_buf ? state->buf_0 : state->buf_1; ahash_update_ctx() local
839 scatterwalk_map_and_copy(next_buf, req->src, ahash_update_ctx()
891 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, ahash_update_ctx()
1224 u8 *next_buf = state->current_buf ? state->buf_0 : state->buf_1; ahash_update_no_ctx() local
1269 scatterwalk_map_and_copy(next_buf, req->src, ahash_update_no_ctx()
1321 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, ahash_update_no_ctx()
1422 u8 *next_buf = state->current_buf ? state->buf_1 : state->buf_0; ahash_update_first() local
1485 scatterwalk_map_and_copy(next_buf, req->src, to_hash, ahash_update_first()
1521 scatterwalk_map_and_copy(next_buf, req->src, 0, ahash_update_first()
1526 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, ahash_update_first()
/linux-4.1.27/drivers/crypto/
H A Dixp4xx_crypto.c789 struct buffer_desc *next_buf; chainup_buffers() local
795 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); chainup_buffers()
796 if (!next_buf) { chainup_buffers()
801 buf->next = next_buf; chainup_buffers()
803 buf = next_buf; chainup_buffers()
/linux-4.1.27/include/linux/
H A Darcdevice.h273 * If next_buf == first_free_buf, the queue is empty. Since there are
278 int next_buf, first_free_buf; member in struct:arcnet_local
/linux-4.1.27/drivers/media/platform/marvell-ccic/
H A Dmcam-core.h164 int next_buf; /* Next to consume (dev_lock) */ member in struct:mcam_camera
H A Dmcam-core.c264 cam->next_buf = -1; mcam_reset_buffers()
438 int bufno = cam->next_buf; mcam_frame_tasklet()
442 if (++(cam->next_buf) >= cam->nbufs) mcam_frame_tasklet()
443 cam->next_buf = 0; mcam_frame_tasklet()
1813 cam->next_buf = frame; mcam_frame_complete()
/linux-4.1.27/drivers/s390/cio/
H A Dqdio.h364 #define next_buf(bufnr) \ macro
H A Dqdio_main.c236 bufnr = next_buf(bufnr); get_buf_states()
259 bufnr = next_buf(bufnr); set_buf_states()
631 b = next_buf(b); qdio_handle_aobs()
/linux-4.1.27/drivers/infiniband/hw/ehca/
H A Dehca_classes.h321 u64 next_buf; member in struct:ehca_mr_pginfo::__anon4837::__anon4838
H A Dehca_mrmw.c2011 pbuf = pginfo->u.phy.phys_buf_array + pginfo->u.phy.next_buf; ehca_set_pagebuf_phys()
2052 (pginfo->u.phy.next_buf)++; ehca_set_pagebuf_phys()
/linux-4.1.27/drivers/media/platform/
H A Dvia-camera.c87 int next_buf; member in struct:via_camera
555 cam->next_buf = 0; viacam_start_engine()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dadl_pci9118.c410 unsigned int next_buf) interrupt_pci9118_ai_mode4_switch()
413 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[next_buf]; interrupt_pci9118_ai_mode4_switch()
409 interrupt_pci9118_ai_mode4_switch(struct comedi_device *dev, unsigned int next_buf) interrupt_pci9118_ai_mode4_switch() argument

Completed in 501 milliseconds