/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_bts.c | 303 unsigned int next_buf; in bts_buffer_reset() local 323 next_buf = buf->cur_buf + 1; in bts_buffer_reset() 324 if (next_buf >= buf->nr_bufs) in bts_buffer_reset() 325 next_buf = 0; in bts_buffer_reset() 326 next_phys = &buf->buf[next_buf]; in bts_buffer_reset() 351 buf->cur_buf = next_buf; in bts_buffer_reset()
|
/linux-4.4.14/drivers/net/arcnet/ |
D | arcnet.c | 298 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()
|
D | arcdevice.h | 292 int next_buf, first_free_buf; member
|
/linux-4.4.14/drivers/video/fbdev/ |
D | mxsfb.c | 164 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()
|
/linux-4.4.14/drivers/crypto/caam/ |
D | caamhash.c | 788 u8 *next_buf = state->current_buf ? state->buf_0 : state->buf_1; in ahash_update_ctx() local 841 scatterwalk_map_and_copy(next_buf, req->src, in ahash_update_ctx() 893 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, in ahash_update_ctx() 1220 u8 *next_buf = state->current_buf ? state->buf_0 : state->buf_1; in ahash_update_no_ctx() local 1263 scatterwalk_map_and_copy(next_buf, req->src, in ahash_update_no_ctx() 1316 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, in ahash_update_no_ctx() 1414 u8 *next_buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_update_first() local 1473 scatterwalk_map_and_copy(next_buf, req->src, to_hash, in ahash_update_first() 1509 scatterwalk_map_and_copy(next_buf, req->src, 0, in ahash_update_first() 1514 DUMP_PREFIX_ADDRESS, 16, 4, next_buf, in ahash_update_first()
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 145 const unsigned char *next_buf; member 476 if (!decoder->next_buf) in intel_pt_get_next_data() 479 decoder->buf = decoder->next_buf; in intel_pt_get_next_data() 481 decoder->next_buf = 0; in intel_pt_get_next_data() 510 decoder->next_buf = decoder->buf; in intel_pt_get_split_packet() 517 decoder->next_buf = decoder->buf + (ret - old_len); in intel_pt_get_split_packet() 781 decoder->len < INTEL_PT_PKT_MAX_SZ && !decoder->next_buf) { in intel_pt_get_next_packet() 1919 decoder->next_buf = decoder->buf + rest_psb; in intel_pt_get_split_psb()
|
/linux-4.4.14/drivers/media/platform/marvell-ccic/ |
D | mcam-core.h | 163 int next_buf; /* Next to consume (dev_lock) */ member
|
D | mcam-core.c | 254 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() 1689 cam->next_buf = frame; in mcam_frame_complete()
|
/linux-4.4.14/drivers/crypto/ |
D | ixp4xx_crypto.c | 805 struct buffer_desc *next_buf; in chainup_buffers() local 811 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers() 812 if (!next_buf) { in chainup_buffers() 817 buf->next = next_buf; in chainup_buffers() 819 buf = next_buf; in chainup_buffers()
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | ehca_classes.h | 321 u64 next_buf; member
|
D | ehca_mrmw.c | 2011 pbuf = pginfo->u.phy.phys_buf_array + pginfo->u.phy.next_buf; in ehca_set_pagebuf_phys() 2052 (pginfo->u.phy.next_buf)++; in ehca_set_pagebuf_phys()
|
/linux-4.4.14/drivers/s390/cio/ |
D | qdio.h | 364 #define next_buf(bufnr) \ macro
|
D | qdio_main.c | 236 bufnr = next_buf(bufnr); in get_buf_states() 259 bufnr = next_buf(bufnr); in set_buf_states() 631 b = next_buf(b); in qdio_handle_aobs()
|
/linux-4.4.14/drivers/media/platform/ |
D | via-camera.c | 87 int next_buf; member 557 cam->next_buf = 0; in viacam_start_engine()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | adl_pci9118.c | 390 unsigned int next_buf) in pci9118_ai_mode4_switch() argument 393 struct pci9118_dmabuf *dmabuf = &devpriv->dmabuf[next_buf]; in pci9118_ai_mode4_switch()
|