Home
last modified time | relevance | path

Searched refs:s_tidx (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/uts/common/io/audio/impl/
H A Daudio_client.c162 return (sp->s_tidx); in auclnt_get_tidx()
198 sp->s_tidx += n; in auclnt_consume()
199 if (sp->s_tidx >= sp->s_nframes) { in auclnt_consume()
200 sp->s_tidx -= sp->s_nframes; in auclnt_consume()
226 ASSERT(sp->s_tidx < nframes); in auclnt_consume_data()
230 data = sp->s_data + (sp->s_tidx * framesz); in auclnt_consume_data()
234 nf = min(nframes - sp->s_tidx, n); in auclnt_consume_data()
243 sp->s_tidx += nf; in auclnt_consume_data()
244 if (sp->s_tidx == nframes) { in auclnt_consume_data()
245 sp->s_tidx = 0; in auclnt_consume_data()
[all …]
H A Daudio_output.c252 n = min(nframes - sp->s_tidx, count); in auimpl_consume_fragment()
254 bcopy(sp->s_data + (sp->s_tidx * framesz), cnvbuf, nbytes); in auimpl_consume_fragment()
259 sp->s_tidx += n; in auimpl_consume_fragment()
260 if (sp->s_tidx >= nframes) in auimpl_consume_fragment()
261 sp->s_tidx -= nframes; in auimpl_consume_fragment()
H A Daudio_input.c106 ASSERT(sp->s_tidx < nframes); in auimpl_produce_data()
H A Daudio_impl.h79 #define s_tidx s_buf.b_tidx macro
H A Daudio_format.c909 sp->s_tidx = sp->s_hidx = 0; in auimpl_format_setup()