Lines Matching refs:substream
24 int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream);
25 int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream);
30 int pcm_lib_apply_appl_ptr(struct snd_pcm_substream *substream,
32 int snd_pcm_update_state(struct snd_pcm_substream *substream,
34 int snd_pcm_update_hw_ptr(struct snd_pcm_substream *substream);
36 void snd_pcm_playback_silence(struct snd_pcm_substream *substream,
40 snd_pcm_avail(struct snd_pcm_substream *substream) in snd_pcm_avail() argument
42 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_avail()
43 return snd_pcm_playback_avail(substream->runtime); in snd_pcm_avail()
45 return snd_pcm_capture_avail(substream->runtime); in snd_pcm_avail()
49 snd_pcm_hw_avail(struct snd_pcm_substream *substream) in snd_pcm_hw_avail() argument
51 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_hw_avail()
52 return snd_pcm_playback_hw_avail(substream->runtime); in snd_pcm_hw_avail()
54 return snd_pcm_capture_hw_avail(substream->runtime); in snd_pcm_hw_avail()
58 void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream);
59 void snd_pcm_timer_init(struct snd_pcm_substream *substream);
60 void snd_pcm_timer_done(struct snd_pcm_substream *substream);
63 snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) {} in snd_pcm_timer_resolution_change() argument
64 static inline void snd_pcm_timer_init(struct snd_pcm_substream *substream) {} in snd_pcm_timer_init() argument
65 static inline void snd_pcm_timer_done(struct snd_pcm_substream *substream) {} in snd_pcm_timer_done() argument
68 void __snd_pcm_xrun(struct snd_pcm_substream *substream);