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 | 507 | drivers/sound/dmabuf.c | info->fragments = dmap->nbufs - dmap->qlen; |
nbufs | 523 | drivers/sound/dmabuf.c | else if (info->fragments > dmap->nbufs) |
nbufs | 524 | drivers/sound/dmabuf.c | info->fragments = dmap->nbufs; |
nbufs | 546 | drivers/sound/dmabuf.c | if (dmap->qlen >= dmap->nbufs) /* No space at all */ |
nbufs | 601 | drivers/sound/dmabuf.c | dmap->fragment_size, dmap->nbufs)) < 0) |
nbufs | 655 | drivers/sound/dmabuf.c | if (dmap->qlen <= 0 || dmap->qlen > dmap->nbufs) |
nbufs | 657 | drivers/sound/dmabuf.c | dev, dmap->qlen, dmap->nbufs); |
nbufs | 668 | drivers/sound/dmabuf.c | dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; |
nbufs | 832 | drivers/sound/dmabuf.c | if (dmap->qlen <= 0 || dmap->qlen > dmap->nbufs) |
nbufs | 835 | drivers/sound/dmabuf.c | dev, dmap->qlen, dmap->nbufs); |
nbufs | 840 | drivers/sound/dmabuf.c | dmap->qhead = (dmap->qhead + 1) % dmap->nbufs; |
nbufs | 880 | drivers/sound/dmabuf.c | if (dmap->qlen == (dmap->nbufs - 1)) |
nbufs | 894 | drivers/sound/dmabuf.c | if (dmap->qlen <= 0 || dmap->qlen > dmap->nbufs) |
nbufs | 896 | drivers/sound/dmabuf.c | dev, dmap->qlen, dmap->nbufs); |
nbufs | 897 | drivers/sound/dmabuf.c | dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; |