Lines Matching refs:bs
1631 struct snd_dbuf *bs = rdch->bufsoft;
1634 a->bytes = sndbuf_getready(bs);
1635 a->fragments = a->bytes / sndbuf_getblksz(bs);
1636 a->fragstotal = sndbuf_getblkcnt(bs);
1637 a->fragsize = sndbuf_getblksz(bs);
1649 struct snd_dbuf *bs = wrch->bufsoft;
1653 a->bytes = sndbuf_getfree(bs);
1654 a->fragments = a->bytes / sndbuf_getblksz(bs);
1655 a->fragstotal = sndbuf_getblkcnt(bs);
1656 a->fragsize = sndbuf_getblksz(bs);
1667 struct snd_dbuf *bs = rdch->bufsoft;
1671 a->bytes = sndbuf_gettotal(bs);
1672 a->blocks = sndbuf_getblocks(bs) - rdch->blocks;
1673 a->ptr = sndbuf_getfreeptr(bs);
1674 rdch->blocks = sndbuf_getblocks(bs);
1685 struct snd_dbuf *bs = wrch->bufsoft;
1689 a->bytes = sndbuf_gettotal(bs);
1690 a->blocks = sndbuf_getblocks(bs) - wrch->blocks;
1691 a->ptr = sndbuf_getreadyptr(bs);
1692 wrch->blocks = sndbuf_getblocks(bs);
1777 struct snd_dbuf *bs = wrch->bufsoft;
1781 *arg_i = sndbuf_getready(bs);
1913 struct snd_dbuf *bs;
1917 bs = wrch->bufsoft;
1918 if ((bs->shadbuf != NULL) && (sndbuf_getready(bs) > 0)) {
1919 bs->sl = sndbuf_getready(bs);
1920 sndbuf_dispose(bs, bs->shadbuf, sndbuf_getready(bs));
1921 sndbuf_fillsilence(bs);
1937 struct snd_dbuf *bs;
1941 bs = wrch->bufsoft;
1942 if ((bs->shadbuf != NULL) && (bs->sl > 0)) {
1943 sndbuf_softreset(bs);
1944 sndbuf_acquire(bs, bs->shadbuf, bs->sl);
1945 bs->sl = 0;
1970 struct snd_dbuf *bs;
1976 bs = chn->bufsoft;
1982 oc->samples = sndbuf_gettotal(bs) / sndbuf_getalign(bs);
1983 oc->fifo_samples = sndbuf_getready(bs) / sndbuf_getalign(bs);