Lines Matching defs:substream
19 int acp_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream,
23 struct snd_pcm_runtime *runtime = substream->runtime;
31 stream->dmab = substream->runtime->dma_buffer_p;
57 int acp_pcm_open(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream)
65 substream->runtime->private_data = stream;
66 stream->substream = substream;
72 int acp_pcm_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream)
76 stream = substream->runtime->private_data;
82 stream->substream = NULL;
83 substream->runtime->private_data = NULL;
90 struct snd_pcm_substream *substream)
92 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
107 stream = &spcm->stream[substream->stream];
115 pos = spcm->stream[substream->stream].posn.host_posn;
116 pos = bytes_to_frames(substream->runtime, pos);