Home
last modified time | relevance | path

Searched refs:sndbuf_xbytes (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/sound/pcm/
H A Dchannel.c406 want = min(b->bufsize, imax(0, sndbuf_xbytes(bs->bufsize, bs, b) - in chn_wrfeed()
629 i = sndbuf_xbytes(sndbuf_getready(bs), bs, pb); in chn_start()
653 sndbuf_xbytes(bs->bufsize, bs, b)); in chn_start()
721 minflush = threshold + sndbuf_xbytes(sndbuf_getready(b), b, bs); in chn_sync()
726 minflush += sndbuf_xbytes(b->bufsize, b, bs); in chn_sync()
759 count = sndbuf_xbytes(minflush + resid, bs, b) / blksz; in chn_sync()
1906 sndbuf_xbytes(pb->bufsize, pb, bs) : 0; in chn_resizebuf()
1909 sndbuf_xbytes(pb->blksz, pb, bs) * 2 : 0; in chn_resizebuf()
1923 hblksz = round_blksz(sndbuf_xbytes(sblksz, bs, b), in chn_resizebuf()
1954 sndbuf_xbytes(b->blksz, b, bs), bs->align, in chn_resizebuf()
[all …]
H A Dbuffer.h93 unsigned int sndbuf_xbytes(unsigned int v, struct snd_dbuf *from, struct snd_dbuf *to);
H A Dbuffer.c450 sndbuf_xbytes(unsigned int v, struct snd_dbuf *from, struct snd_dbuf *to) in sndbuf_xbytes() function