Lines Matching defs:new_hw_ptr
42 void snd_pcm_playback_silence(struct snd_pcm_substream *substream, snd_pcm_uframes_t new_hw_ptr)
68 if (new_hw_ptr == ULONG_MAX) { /* initialization */
76 frames = new_hw_ptr - ofs;
82 runtime->silence_start = new_hw_ptr;
189 snd_pcm_uframes_t new_hw_ptr, hw_ptr_interrupt;
199 new_hw_ptr = runtime->hw_ptr_base + pos;
202 delta = hw_ptr_interrupt - new_hw_ptr;
218 new_hw_ptr = runtime->hw_ptr_base + pos;
223 snd_pcm_playback_silence(substream, new_hw_ptr);
225 runtime->status->hw_ptr = new_hw_ptr;
226 runtime->hw_ptr_interrupt = new_hw_ptr - new_hw_ptr % runtime->period_size;
236 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr;
245 new_hw_ptr = runtime->hw_ptr_base + pos;
247 delta = old_hw_ptr - new_hw_ptr;
262 new_hw_ptr = runtime->hw_ptr_base + pos;
266 snd_pcm_playback_silence(substream, new_hw_ptr);
268 runtime->status->hw_ptr = new_hw_ptr;