Home
last modified time | relevance | path

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

/openbmc/qemu/hw/audio/
H A Dhda-codec.c229 int64_t wanted_rpos; in hda_audio_input_timer() local
236 wanted_rpos = muldiv64(uptime, hda_bytes_per_second(st), in hda_audio_input_timer()
238 wanted_rpos &= -4; /* IMPORTANT! clip to frames */ in hda_audio_input_timer()
240 if (wanted_rpos <= rpos) { in hda_audio_input_timer()
245 int64_t to_transfer = MIN(wpos - rpos, wanted_rpos - rpos); in hda_audio_input_timer()