Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/audio/impl/
H A Daudio_client.c150 return (sp->s_tail); in auclnt_get_tail()
183 ASSERT((sp->s_head - sp->s_tail) <= sp->s_nframes); in auclnt_get_count()
184 count = (uint_t)(sp->s_head - sp->s_tail); in auclnt_get_count()
196 n = max(n, sp->s_head - sp->s_tail); in auclnt_consume()
197 sp->s_tail += n; in auclnt_consume()
203 ASSERT(sp->s_tail <= sp->s_head); in auclnt_consume()
225 ASSERT(sp->s_head >= sp->s_tail); in auclnt_consume_data()
229 cnt = n = min(n, sp->s_head - sp->s_tail); in auclnt_consume_data()
242 sp->s_tail += nf; in auclnt_consume_data()
250 ASSERT(sp->s_tail <= sp->s_head); in auclnt_consume_data()
[all …]
H A Daudio_input.c104 ASSERT(sp->s_head >= sp->s_tail); in auimpl_produce_data()
134 ASSERT(sp->s_tail <= sp->s_head); in auimpl_produce_data()
225 ASSERT(sp->s_head >= sp->s_tail); in auimpl_input_callback()
226 space = sp->s_nframes - (sp->s_head - sp->s_tail); in auimpl_input_callback()
H A Daudio_output.c237 ASSERT(sp->s_head >= sp->s_tail); in auimpl_consume_fragment()
239 avail = sp->s_head - sp->s_tail; in auimpl_consume_fragment()
258 sp->s_tail += n; in auimpl_consume_fragment()
H A Daudio_impl.h76 #define s_tail s_buf.b_tail macro
H A Daudio_format.c908 sp->s_tail = sp->s_head = 0; in auimpl_format_setup()