Lines Matching refs:hw_base
288 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() local
338 hw_base = runtime->hw_ptr_base; in snd_pcm_update_hw_ptr0()
339 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
348 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0()
349 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
350 hw_base = 0; in snd_pcm_update_hw_ptr0()
353 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
361 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0()
362 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
363 hw_base = 0; in snd_pcm_update_hw_ptr0()
366 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
386 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0()
387 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
388 hw_base = 0; in snd_pcm_update_hw_ptr0()
391 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
427 hw_base = delta; in snd_pcm_update_hw_ptr0()
443 ((hdelta * HZ) / runtime->rate), hw_base, in snd_pcm_update_hw_ptr0()
448 hw_base = new_hw_ptr - (new_hw_ptr % runtime->buffer_size); in snd_pcm_update_hw_ptr0()
480 runtime->hw_ptr_base = hw_base; in snd_pcm_update_hw_ptr0()