Home
last modified time | relevance | path

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

/openbmc/qemu/hw/audio/
H A Dhda-codec.c135 #define B_SIZE sizeof(st->buf) macro
200 int64_t limit = B_SIZE / 8; in hda_timer_sync_adjust()
248 uint32_t chunk = MIN(B_SIZE - start, to_transfer); in hda_audio_input_timer()
273 int64_t to_transfer = MIN(B_SIZE - (wpos - rpos), avail); in hda_audio_input_cb()
277 uint32_t chunk = (uint32_t) MIN(B_SIZE - start, to_transfer); in hda_audio_input_cb()
287 hda_timer_sync_adjust(st, -((wpos - rpos) - (B_SIZE >> 1))); in hda_audio_input_cb()
315 int64_t to_transfer = MIN(B_SIZE - (wpos - rpos), wanted_wpos - wpos); in hda_audio_output_timer()
318 uint32_t chunk = MIN(B_SIZE - start, to_transfer); in hda_audio_output_timer()
345 if (wpos - rpos == B_SIZE) { in hda_audio_output_cb()
356 uint32_t chunk = (uint32_t) MIN(B_SIZE - start, to_transfer); in hda_audio_output_cb()
[all …]