Lines Matching defs:bs
1239 struct snd_dbuf *bs = rdch->bufsoft;
1242 a->bytes = sndbuf_getready(bs);
1243 a->fragments = a->bytes / sndbuf_getblksz(bs);
1244 a->fragstotal = sndbuf_getblkcnt(bs);
1245 a->fragsize = sndbuf_getblksz(bs);
1257 struct snd_dbuf *bs = wrch->bufsoft;
1260 a->bytes = sndbuf_getfree(bs);
1261 a->fragments = a->bytes / sndbuf_getblksz(bs);
1262 a->fragstotal = sndbuf_getblkcnt(bs);
1263 a->fragsize = sndbuf_getblksz(bs);
1274 struct snd_dbuf *bs = rdch->bufsoft;
1277 a->bytes = sndbuf_gettotal(bs);
1278 a->blocks = sndbuf_getblocks(bs) - rdch->blocks;
1279 a->ptr = sndbuf_getfreeptr(bs);
1280 rdch->blocks = sndbuf_getblocks(bs);
1291 struct snd_dbuf *bs = wrch->bufsoft;
1294 a->bytes = sndbuf_gettotal(bs);
1295 a->blocks = sndbuf_getblocks(bs) - wrch->blocks;
1296 a->ptr = sndbuf_getreadyptr(bs);
1297 wrch->blocks = sndbuf_getblocks(bs);
1382 struct snd_dbuf *bs = wrch->bufsoft;
1385 *arg_i = sndbuf_getready(bs);
1517 struct snd_dbuf *bs;
1521 bs = wrch->bufsoft;
1522 if ((bs->shadbuf != NULL) && (sndbuf_getready(bs) > 0)) {
1523 bs->sl = sndbuf_getready(bs);
1524 sndbuf_dispose(bs, bs->shadbuf, sndbuf_getready(bs));
1525 sndbuf_fillsilence(bs);
1541 struct snd_dbuf *bs;
1545 bs = wrch->bufsoft;
1546 if ((bs->shadbuf != NULL) && (bs->sl > 0)) {
1547 sndbuf_softreset(bs);
1548 sndbuf_acquire(bs, bs->shadbuf, bs->sl);
1549 bs->sl = 0;
1574 struct snd_dbuf *bs;
1580 bs = chn->bufsoft;
1581 oc->samples = sndbuf_gettotal(bs) / sndbuf_getalign(bs);
1582 oc->fifo_samples = sndbuf_getready(bs) / sndbuf_getalign(bs);