Lines Matching defs:substream
61 struct snd_pcm_substream *substream;
71 substream = cxsc->capture_pcm_substream;
72 if (substream == NULL) {
73 dprintk("substream was NULL\n");
77 runtime = substream->runtime;
112 snd_pcm_stream_lock(substream);
128 snd_pcm_stream_unlock(substream);
131 snd_pcm_period_elapsed(substream);
134 static int snd_cx18_pcm_capture_open(struct snd_pcm_substream *substream)
136 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream);
137 struct snd_pcm_runtime *runtime = substream->runtime;
169 cxsc->capture_pcm_substream = substream;
182 static int snd_cx18_pcm_capture_close(struct snd_pcm_substream *substream)
184 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream);
203 static int snd_cx18_pcm_prepare(struct snd_pcm_substream *substream)
205 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream);
213 static int snd_cx18_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
219 snd_pcm_uframes_t snd_cx18_pcm_pointer(struct snd_pcm_substream *substream)
223 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream);
251 1, /* 1 capture substream */