Searched refs:new_hw_ptr (Results 1 – 3 of 3) sorted by relevance
45 void snd_pcm_playback_silence(struct snd_pcm_substream *substream, snd_pcm_uframes_t new_hw_ptr) in snd_pcm_playback_silence() argument73 if (new_hw_ptr == ULONG_MAX) { /* initialization */ in snd_pcm_playback_silence()83 frames = new_hw_ptr - ofs; in snd_pcm_playback_silence()89 runtime->silence_start = new_hw_ptr; in snd_pcm_playback_silence()252 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() local303 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()308 if (delta > new_hw_ptr) { in snd_pcm_update_hw_ptr0()317 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()324 if (new_hw_ptr < old_hw_ptr) { in snd_pcm_update_hw_ptr0()330 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()[all …]
36 snd_pcm_uframes_t new_hw_ptr);
580 snd_pcm_uframes_t delta, new_hw_ptr, cur_frame; in xen_snd_front_alsa_handle_cur_pos() local587 new_hw_ptr = (snd_pcm_uframes_t)atomic_read(&stream->hw_ptr); in xen_snd_front_alsa_handle_cur_pos()588 new_hw_ptr = (new_hw_ptr + delta) % substream->runtime->buffer_size; in xen_snd_front_alsa_handle_cur_pos()589 atomic_set(&stream->hw_ptr, (int)new_hw_ptr); in xen_snd_front_alsa_handle_cur_pos()