Lines Matching defs:bs
1635 struct snd_dbuf *bs = rdch->bufsoft;
1638 a->bytes = sndbuf_getready(bs);
1639 a->fragments = a->bytes / sndbuf_getblksz(bs);
1640 a->fragstotal = sndbuf_getblkcnt(bs);
1641 a->fragsize = sndbuf_getblksz(bs);
1653 struct snd_dbuf *bs = wrch->bufsoft;
1657 a->bytes = sndbuf_getfree(bs);
1658 a->fragments = a->bytes / sndbuf_getblksz(bs);
1659 a->fragstotal = sndbuf_getblkcnt(bs);
1660 a->fragsize = sndbuf_getblksz(bs);
1671 struct snd_dbuf *bs = rdch->bufsoft;
1675 a->bytes = sndbuf_gettotal(bs);
1676 a->blocks = sndbuf_getblocks(bs) - rdch->blocks;
1677 a->ptr = sndbuf_getfreeptr(bs);
1678 rdch->blocks = sndbuf_getblocks(bs);
1689 struct snd_dbuf *bs = wrch->bufsoft;
1693 a->bytes = sndbuf_gettotal(bs);
1694 a->blocks = sndbuf_getblocks(bs) - wrch->blocks;
1695 a->ptr = sndbuf_getreadyptr(bs);
1696 wrch->blocks = sndbuf_getblocks(bs);
1781 struct snd_dbuf *bs = wrch->bufsoft;
1785 *arg_i = sndbuf_getready(bs);
1917 struct snd_dbuf *bs;
1921 bs = wrch->bufsoft;
1922 if ((bs->shadbuf != NULL) && (sndbuf_getready(bs) > 0)) {
1923 bs->sl = sndbuf_getready(bs);
1924 sndbuf_dispose(bs, bs->shadbuf, sndbuf_getready(bs));
1925 sndbuf_fillsilence(bs);
1941 struct snd_dbuf *bs;
1945 bs = wrch->bufsoft;
1946 if ((bs->shadbuf != NULL) && (bs->sl > 0)) {
1947 sndbuf_softreset(bs);
1948 sndbuf_acquire(bs, bs->shadbuf, bs->sl);
1949 bs->sl = 0;
1974 struct snd_dbuf *bs;
1980 bs = chn->bufsoft;
1986 oc->samples = sndbuf_gettotal(bs) / sndbuf_getalign(bs);
1987 oc->fifo_samples = sndbuf_getready(bs) / sndbuf_getalign(bs);