Lines Matching refs:hw_base
285 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() local
335 hw_base = runtime->hw_ptr_base; in snd_pcm_update_hw_ptr0()
336 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
345 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0()
346 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
347 hw_base = 0; in snd_pcm_update_hw_ptr0()
350 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
358 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0()
359 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
360 hw_base = 0; in snd_pcm_update_hw_ptr0()
363 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
383 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0()
384 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
385 hw_base = 0; in snd_pcm_update_hw_ptr0()
388 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
424 hw_base = delta; in snd_pcm_update_hw_ptr0()
440 ((hdelta * HZ) / runtime->rate), hw_base, in snd_pcm_update_hw_ptr0()
445 hw_base = new_hw_ptr - (new_hw_ptr % runtime->buffer_size); in snd_pcm_update_hw_ptr0()
477 runtime->hw_ptr_base = hw_base; in snd_pcm_update_hw_ptr0()