Lines Matching defs:substream
85 struct snd_pcm_substream *substream,
89 struct hdac_stream *hstream = substream->runtime->private_data;
101 hstream->substream = substream;
103 dmab = substream->runtime->dma_buffer_p;
139 struct snd_pcm_substream *substream, int cmd)
141 struct hdac_stream *hstream = substream->runtime->private_data;
148 struct snd_pcm_substream *substream)
150 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
152 struct hdac_stream *hstream = substream->runtime->private_data;
166 pos = spcm->stream[substream->stream].posn.host_posn;
178 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
208 pos = bytes_to_frames(substream->runtime, pos);
211 hstream->index, substream->stream, pos);
216 struct snd_pcm_substream *substream)
219 int direction = substream->stream;
228 /* binding pcm substream to hda stream */
229 substream->runtime->private_data = &dsp_stream->hstream;
234 struct snd_pcm_substream *substream)
236 struct hdac_stream *hstream = substream->runtime->private_data;
237 int direction = substream->stream;
243 dev_dbg(sdev->dev, "stream %s not opened!\n", substream->name);
247 /* unbinding pcm substream to hda stream */
248 substream->runtime->private_data = NULL;