Searched refs:hw_base (Results 1 – 1 of 1) sorted by relevance
285 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() local335 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()[all …]