Lines Matching refs:substream

356 static int snd_usX2Y_usbpcm_hw_free(struct snd_pcm_substream *substream)  in snd_usX2Y_usbpcm_hw_free()  argument
358 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usX2Y_usbpcm_hw_free()
362 snd_printdd("snd_usX2Y_usbpcm_hw_free(%p)\n", substream); in snd_usX2Y_usbpcm_hw_free()
364 if (SNDRV_PCM_STREAM_PLAYBACK == substream->stream) { in snd_usX2Y_usbpcm_hw_free()
391 return snd_pcm_lib_free_pages(substream); in snd_usX2Y_usbpcm_hw_free()
481 static int snd_usX2Y_usbpcm_prepare(struct snd_pcm_substream *substream) in snd_usX2Y_usbpcm_prepare() argument
483 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usX2Y_usbpcm_prepare()
488 snd_printdd("snd_usX2Y_pcm_prepare(%p)\n", substream); in snd_usX2Y_usbpcm_prepare()
562 static int snd_usX2Y_usbpcm_open(struct snd_pcm_substream *substream) in snd_usX2Y_usbpcm_open() argument
565 snd_pcm_substream_chip(substream))[substream->stream]; in snd_usX2Y_usbpcm_open()
566 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usX2Y_usbpcm_open()
571 runtime->hw = SNDRV_PCM_STREAM_PLAYBACK == substream->stream ? snd_usX2Y_2c : in snd_usX2Y_usbpcm_open()
574 subs->pcm_substream = substream; in snd_usX2Y_usbpcm_open()
580 static int snd_usX2Y_usbpcm_close(struct snd_pcm_substream *substream) in snd_usX2Y_usbpcm_close() argument
582 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usX2Y_usbpcm_close()
740 if (0 > (err = snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream, in usX2Y_hwdep_pcm_new()
744 0 > (err = snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream, in usX2Y_hwdep_pcm_new()