Lines Matching refs:spcm
290 struct snd_sof_pcm *spcm;
296 spcm = snd_sof_find_spcm_dai(component, rtd);
297 if (!spcm)
300 pipeline_list = &spcm->stream[substream->stream].pipeline_list;
582 static void sof_ipc4_pcm_free(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm)
588 pipeline_list = &spcm->stream[stream].pipeline_list;
591 kfree(spcm->stream[stream].private);
592 spcm->stream[stream].private = NULL;
596 static int sof_ipc4_pcm_setup(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm)
614 pipeline_list = &spcm->stream[stream].pipeline_list;
620 sof_ipc4_pcm_free(sdev, spcm);
629 sof_ipc4_pcm_free(sdev, spcm);
633 spcm->stream[stream].private = stream_info;
639 static void sof_ipc4_build_time_info(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *spcm)
650 for_each_dapm_widgets(spcm->list, i, widget) {
670 info = spcm->private;
720 struct snd_sof_pcm *spcm;
722 spcm = snd_sof_find_spcm_dai(component, rtd);
723 if (!spcm)
726 time_info = spcm->stream[substream->stream].private;
734 sof_ipc4_build_time_info(sdev, &spcm->stream[substream->stream]);
784 struct snd_sof_pcm *spcm;
788 spcm = snd_sof_find_spcm_dai(component, rtd);
789 if (!spcm)
792 stream = &spcm->stream[substream->stream];