Lines Matching defs:substream
58 struct snd_pcm_substream *substream;
68 substream = itvsc->capture_pcm_substream;
69 if (substream == NULL) {
70 dprintk("substream was NULL\n");
74 runtime = substream->runtime;
109 snd_pcm_stream_lock(substream);
125 snd_pcm_stream_unlock(substream);
128 snd_pcm_period_elapsed(substream);
131 static int snd_ivtv_pcm_capture_open(struct snd_pcm_substream *substream)
133 struct snd_ivtv_card *itvsc = snd_pcm_substream_chip(substream);
134 struct snd_pcm_runtime *runtime = substream->runtime;
173 itvsc->capture_pcm_substream = substream;
186 static int snd_ivtv_pcm_capture_close(struct snd_pcm_substream *substream)
188 struct snd_ivtv_card *itvsc = snd_pcm_substream_chip(substream);
207 static int snd_ivtv_pcm_prepare(struct snd_pcm_substream *substream)
209 struct snd_ivtv_card *itvsc = snd_pcm_substream_chip(substream);
217 static int snd_ivtv_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
223 snd_pcm_uframes_t snd_ivtv_pcm_pointer(struct snd_pcm_substream *substream)
227 struct snd_ivtv_card *itvsc = snd_pcm_substream_chip(substream);
255 1, /* 1 capture substream */