Lines Matching refs:substream

235 			     struct snd_pcm_substream *substream)  in aica_dma_transfer()  argument
242 dreamcastcard = substream->pcm->private_data; in aica_dma_transfer()
245 runtime = substream->runtime; in aica_dma_transfer()
281 runtime = dreamcastcard->substream->runtime; in run_spu_dma()
288 dreamcastcard->substream); in run_spu_dma()
296 dreamcastcard->substream); in run_spu_dma()
297 snd_pcm_period_elapsed(dreamcastcard->substream); in run_spu_dma()
310 struct snd_pcm_substream *substream; in aica_period_elapsed() local
312 substream = (struct snd_pcm_substream *) timer_var; in aica_period_elapsed()
313 runtime = substream->runtime; in aica_period_elapsed()
314 dreamcastcard = substream->pcm->private_data; in aica_period_elapsed()
333 static void spu_begin_dma(struct snd_pcm_substream *substream) in spu_begin_dma() argument
337 runtime = substream->runtime; in spu_begin_dma()
338 dreamcastcard = substream->pcm->private_data; in spu_begin_dma()
347 (unsigned long) substream); in spu_begin_dma()
352 *substream) in snd_aicapcm_pcm_open()
359 dreamcastcard = substream->pcm->private_data; in snd_aicapcm_pcm_open()
371 runtime = substream->runtime; in snd_aicapcm_pcm_open()
381 *substream) in snd_aicapcm_pcm_close()
383 struct snd_card_aica *dreamcastcard = substream->pcm->private_data; in snd_aicapcm_pcm_close()
393 *substream) in snd_aicapcm_pcm_hw_free()
396 return snd_pcm_lib_free_pages(substream); in snd_aicapcm_pcm_hw_free()
400 *substream, struct snd_pcm_hw_params in snd_aicapcm_pcm_hw_params()
405 snd_pcm_lib_malloc_pages(substream, in snd_aicapcm_pcm_hw_params()
410 *substream) in snd_aicapcm_pcm_prepare()
412 struct snd_card_aica *dreamcastcard = substream->pcm->private_data; in snd_aicapcm_pcm_prepare()
413 if ((substream->runtime)->format == SNDRV_PCM_FORMAT_S16_LE) in snd_aicapcm_pcm_prepare()
415 dreamcastcard->channel->freq = substream->runtime->rate; in snd_aicapcm_pcm_prepare()
416 dreamcastcard->substream = substream; in snd_aicapcm_pcm_prepare()
421 *substream, int cmd) in snd_aicapcm_pcm_trigger()
425 spu_begin_dma(substream); in snd_aicapcm_pcm_trigger()
437 *substream) in snd_aicapcm_pcm_pointer()