Lines Matching refs:substream

67 	struct snd_pcm_substream	*substream;  member
208 static int snd_at73c213_pcm_open(struct snd_pcm_substream *substream) in snd_at73c213_pcm_open() argument
210 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_open()
211 struct snd_pcm_runtime *runtime = substream->runtime; in snd_at73c213_pcm_open()
222 chip->substream = substream; in snd_at73c213_pcm_open()
227 static int snd_at73c213_pcm_close(struct snd_pcm_substream *substream) in snd_at73c213_pcm_close() argument
229 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_close()
230 chip->substream = NULL; in snd_at73c213_pcm_close()
234 static int snd_at73c213_pcm_hw_params(struct snd_pcm_substream *substream, in snd_at73c213_pcm_hw_params() argument
237 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_hw_params()
245 return snd_pcm_lib_malloc_pages(substream, in snd_at73c213_pcm_hw_params()
249 static int snd_at73c213_pcm_hw_free(struct snd_pcm_substream *substream) in snd_at73c213_pcm_hw_free() argument
251 return snd_pcm_lib_free_pages(substream); in snd_at73c213_pcm_hw_free()
254 static int snd_at73c213_pcm_prepare(struct snd_pcm_substream *substream) in snd_at73c213_pcm_prepare() argument
256 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_prepare()
257 struct snd_pcm_runtime *runtime = substream->runtime; in snd_at73c213_pcm_prepare()
276 static int snd_at73c213_pcm_trigger(struct snd_pcm_substream *substream, in snd_at73c213_pcm_trigger() argument
279 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_trigger()
305 snd_at73c213_pcm_pointer(struct snd_pcm_substream *substream) in snd_at73c213_pcm_pointer() argument
307 struct snd_at73c213 *chip = snd_pcm_substream_chip(substream); in snd_at73c213_pcm_pointer()
308 struct snd_pcm_runtime *runtime = substream->runtime; in snd_at73c213_pcm_pointer()
360 struct snd_pcm_runtime *runtime = chip->substream->runtime; in snd_at73c213_interrupt()
393 snd_pcm_period_elapsed(chip->substream); in snd_at73c213_interrupt()