Home
last modified time | relevance | path

Searched refs:s_hidx (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/io/audio/impl/
H A Daudio_input.c105 ASSERT(sp->s_hidx < nframes); in auimpl_produce_data()
113 data = sp->s_data + (sp->s_hidx * framesz); in auimpl_produce_data()
118 nf = min(nframes - sp->s_hidx, count); in auimpl_produce_data()
124 sp->s_hidx += nf; in auimpl_produce_data()
128 if (sp->s_hidx == nframes) { in auimpl_produce_data()
129 sp->s_hidx = 0; in auimpl_produce_data()
135 ASSERT(sp->s_hidx < nframes); in auimpl_produce_data()
H A Daudio_client.c156 return (sp->s_hidx); in auclnt_get_hidx()
204 ASSERT(sp->s_hidx < sp->s_nframes); in auclnt_consume()
227 ASSERT(sp->s_hidx < nframes); in auclnt_consume_data()
266 sp->s_hidx += n; in auclnt_produce()
267 if (sp->s_hidx >= sp->s_nframes) { in auclnt_produce()
268 sp->s_hidx -= sp->s_nframes; in auclnt_produce()
272 ASSERT(sp->s_hidx < sp->s_nframes); in auclnt_produce()
295 ASSERT(sp->s_hidx < nframes); in auclnt_produce_data()
298 data = sp->s_data + (sp->s_hidx * framesz); in auclnt_produce_data()
302 nf = min(nframes - sp->s_hidx, n); in auclnt_produce_data()
[all …]
H A Daudio_impl.h80 #define s_hidx s_buf.b_hidx macro
H A Daudio_format.c909 sp->s_tidx = sp->s_hidx = 0; in auimpl_format_setup()