tag | line | file | source code |
nbufs | 96 | drivers/sound/dev_table.h | int nbufs; |
nbufs | 139 | drivers/sound/dev_table.h | int (*prepare_for_input) (int dev, int bufsize, int nbufs); |
nbufs | 140 | drivers/sound/dev_table.h | int (*prepare_for_output) (int dev, int bufsize, int nbufs); |
nbufs | 141 | drivers/sound/dmabuf.c | dmap->nbufs = n; |
nbufs | 144 | drivers/sound/dmabuf.c | for (i = 0; i < dmap->nbufs; i++) |
nbufs | 329 | drivers/sound/dmabuf.c | dmap->fragment_size, dmap->nbufs)) < 0) |
nbufs | 385 | drivers/sound/dmabuf.c | if (dmap->qlen <= 0 || dmap->qlen > dmap->nbufs) |
nbufs | 387 | drivers/sound/dmabuf.c | dev, dmap->qlen, dmap->nbufs); |
nbufs | 389 | drivers/sound/dmabuf.c | dmap->qhead = (dmap->qhead + 1) % dmap->nbufs; |
nbufs | 514 | drivers/sound/dmabuf.c | if (dmap->qlen == dmap->nbufs) /* No space at all */ |
nbufs | 569 | drivers/sound/dmabuf.c | dmap->fragment_size, dmap->nbufs)) < 0) |
nbufs | 623 | drivers/sound/dmabuf.c | if (dmap->qlen <= 0 || dmap->qlen > dmap->nbufs) |
nbufs | 625 | drivers/sound/dmabuf.c | dev, dmap->qlen, dmap->nbufs); |
nbufs | 636 | drivers/sound/dmabuf.c | dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; |
nbufs | 800 | drivers/sound/dmabuf.c | if (dmap->qlen <= 0 || dmap->qlen > dmap->nbufs) |
nbufs | 803 | drivers/sound/dmabuf.c | dev, dmap->qlen, dmap->nbufs); |
nbufs | 808 | drivers/sound/dmabuf.c | dmap->qhead = (dmap->qhead + 1) % dmap->nbufs; |
nbufs | 848 | drivers/sound/dmabuf.c | if (dmap->qlen == (dmap->nbufs - 1)) |
nbufs | 862 | drivers/sound/dmabuf.c | if (dmap->qlen <= 0 || dmap->qlen > dmap->nbufs) |
nbufs | 864 | drivers/sound/dmabuf.c | dev, dmap->qlen, dmap->nbufs); |
nbufs | 865 | drivers/sound/dmabuf.c | dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; |