Searched refs:s_tidx (Results 1 – 5 of 5) sorted by relevance
162 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 …]
252 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()
106 ASSERT(sp->s_tidx < nframes); in auimpl_produce_data()
79 #define s_tidx s_buf.b_tidx macro
909 sp->s_tidx = sp->s_hidx = 0; in auimpl_format_setup()