Home
last modified time | relevance | path

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

/openbmc/qemu/hw/audio/
H A Dhda-codec.c299 int64_t wanted_wpos; in hda_audio_output_timer() local
306 wanted_wpos = muldiv64(uptime, hda_bytes_per_second(st), in hda_audio_output_timer()
308 wanted_wpos &= -4; /* IMPORTANT! clip to frames */ in hda_audio_output_timer()
310 if (wanted_wpos <= wpos) { in hda_audio_output_timer()
315 int64_t to_transfer = MIN(B_SIZE - (wpos - rpos), wanted_wpos - wpos); in hda_audio_output_timer()