Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/video/
Dcafe_ccic.c167 int next_buf; /* Next to consume (dev_lock) */ member
264 cam->next_buf = -1; in cafe_reset_buffers()
956 if (cam->next_buf < 0) { in cafe_deliver_buffer()
961 bufno = cam->next_buf; in cafe_deliver_buffer()
963 if (++(cam->next_buf) >= cam->nbufs) in cafe_deliver_buffer()
964 cam->next_buf = 0; in cafe_deliver_buffer()
965 if (! test_bit(cam->next_buf, &cam->flags)) in cafe_deliver_buffer()
966 cam->next_buf = -1; in cafe_deliver_buffer()
1026 if (cam->next_buf >= 0) { in cafe_v4l_read()
1061 wait_event_timeout(cam->iowait, cam->next_buf >= 0, HZ); in cafe_v4l_read()
[all …]
Dvia-camera.c91 int next_buf; member
563 cam->next_buf = 0; in viacam_start_engine()
/linux-2.6.39/drivers/net/arcnet/
Darcnet.c252 for (i = lp->next_buf; i != lp->first_free_buf; i = (i+1) % 5) in release_arcbuf()
274 if (lp->next_buf >= 5) in get_arcbuf()
275 lp->next_buf -= 5; in get_arcbuf()
277 if (lp->next_buf == lp->first_free_buf) in get_arcbuf()
280 buf = lp->buf_queue[lp->next_buf++]; in get_arcbuf()
281 lp->next_buf %= 5; in get_arcbuf()
288 for (i = lp->next_buf; i != lp->first_free_buf; i = (i+1) % 5) in get_arcbuf()
414 lp->next_buf = lp->first_free_buf = 0; in arcnet_open()
/linux-2.6.39/drivers/video/
Dmxsfb.c150 unsigned next_buf; member
177 .next_buf = LCDC_V3_NEXT_BUF,
186 .next_buf = LCDC_V4_NEXT_BUF,
486 host->base + host->devdata->next_buf); in mxsfb_set_par()
568 host->base + host->devdata->next_buf); in mxsfb_pan_display()
664 writel(fb_info->fix.smem_start, host->base + host->devdata->next_buf); in mxsfb_restore_mode()
/linux-2.6.39/include/linux/
Darcdevice.h281 int next_buf, first_free_buf; member
/linux-2.6.39/drivers/crypto/
Dixp4xx_crypto.c800 struct buffer_desc *next_buf; in chainup_buffers() local
806 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers()
807 if (!next_buf) { in chainup_buffers()
812 buf->next = next_buf; in chainup_buffers()
814 buf = next_buf; in chainup_buffers()
/linux-2.6.39/drivers/infiniband/hw/ehca/
Dehca_classes.h321 u64 next_buf; member
Dehca_mrmw.c2068 pbuf = pginfo->u.phy.phys_buf_array + pginfo->u.phy.next_buf; in ehca_set_pagebuf_phys()
2110 (pginfo->u.phy.next_buf)++; in ehca_set_pagebuf_phys()
/linux-2.6.39/drivers/s390/cio/
Dqdio.h411 #define next_buf(bufnr) \ macro
Dqdio_main.c231 bufnr = next_buf(bufnr); in get_buf_states()
257 bufnr = next_buf(bufnr); in set_buf_states()