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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/
H A Dcafe_ccic.c165 int next_buf; /* Next to consume (dev_lock) */ member in struct:cafe_camera
218 cam->next_buf = -1;
910 if (cam->next_buf < 0) {
915 bufno = cam->next_buf;
917 if (++(cam->next_buf) >= cam->nbufs)
918 cam->next_buf = 0;
919 if (! test_bit(cam->next_buf, &cam->flags))
920 cam->next_buf = -1;
980 if (cam->next_buf >= 0) {
1011 wait_event_timeout(cam->iowait, cam->next_buf >
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/arcnet/
H A Darcnet.c252 for (i = lp->next_buf; i != lp->first_free_buf; i = (i+1) % 5)
274 if (lp->next_buf >= 5)
275 lp->next_buf -= 5;
277 if (lp->next_buf == lp->first_free_buf)
280 buf = lp->buf_queue[lp->next_buf++];
281 lp->next_buf %= 5;
288 for (i = lp->next_buf; i != lp->first_free_buf; i = (i+1) % 5)
414 lp->next_buf = lp->first_free_buf = 0;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Darcdevice.h276 * If next_buf == first_free_buf, the queue is empty. Since there are
281 int next_buf, first_free_buf; member in struct:arcnet_local
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/cio/
H A Dqdio.h401 #define next_buf(bufnr) \ macro
H A Dqdio_main.c230 bufnr = next_buf(bufnr);
256 bufnr = next_buf(bufnr);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ehca/
H A Dehca_classes.h321 u64 next_buf; member in struct:ehca_mr_pginfo::__anon11577::__anon11578
H A Dehca_mrmw.c2068 pbuf = pginfo->u.phy.phys_buf_array + pginfo->u.phy.next_buf;
2110 (pginfo->u.phy.next_buf)++;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/crypto/
H A Dixp4xx_crypto.c800 struct buffer_desc *next_buf; local
806 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys);
807 if (!next_buf) {
812 buf->next = next_buf;
814 buf = next_buf;

Completed in 204 milliseconds