Lines Matching refs:substream
94 struct snd_pcm_substream *substream = snd->substream;
123 snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DROP, NULL);
124 snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_HW_PARAMS, params);
126 result = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_PREPARE, NULL);
155 struct snd_pcm_substream *substream = snd->substream;
156 struct snd_pcm_runtime *runtime = substream->runtime;
163 result = snd_pcm_kernel_ioctl(substream,
173 result = snd_pcm_kernel_write(snd->substream, buf, frames);
221 /* Open PCM playback device and setup substream */
232 snd->substream = pcm_file->substream;
236 /* Open PCM capture device and setup substream */
241 snd->substream = NULL;
246 snd->substream = pcm_file->substream;
265 /* Close PCM playback device and setup substream */
270 /* Close PCM capture device and setup substream */