Home
last modified time | relevance | path

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

/openbmc/qemu/hw/audio/
H A Dhda-codec.c169 uint32_t compat_bpos; member
377 if (st->compat_bpos != sizeof(st->compat_buf)) { in hda_audio_compat_input_cb()
378 len = AUD_read(st->voice.in, st->compat_buf + st->compat_bpos, in hda_audio_compat_input_cb()
379 sizeof(st->compat_buf) - st->compat_bpos); in hda_audio_compat_input_cb()
380 st->compat_bpos += len; in hda_audio_compat_input_cb()
382 if (st->compat_bpos != sizeof(st->compat_buf)) { in hda_audio_compat_input_cb()
391 st->compat_bpos = 0; in hda_audio_compat_input_cb()
403 if (st->compat_bpos == sizeof(st->compat_buf)) { in hda_audio_compat_output_cb()
409 st->compat_bpos = 0; in hda_audio_compat_output_cb()
411 len = AUD_write(st->voice.out, st->compat_buf + st->compat_bpos, in hda_audio_compat_output_cb()
[all …]