Lines Matching defs:spcm

275 				      struct snd_sof_pcm *spcm, int direction,
285 stream_priv = spcm->stream[direction].private;
387 struct snd_sof_pcm *spcm;
394 spcm = snd_sof_find_spcm_dai(component, rtd);
395 if (!spcm)
398 pipeline_list = &spcm->stream[substream->stream].pipeline_list;
413 return sof_ipc4_chain_dma_trigger(sdev, spcm, substream->stream,
487 time_info = sof_ipc4_sps_to_time_info(&spcm->stream[substream->stream]);
738 static void sof_ipc4_pcm_free(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm)
745 pipeline_list = &spcm->stream[stream].pipeline_list;
749 stream_priv = spcm->stream[stream].private;
751 kfree(spcm->stream[stream].private);
752 spcm->stream[stream].private = NULL;
756 static int sof_ipc4_pcm_setup(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm)
779 pipeline_list = &spcm->stream[stream].pipeline_list;
785 sof_ipc4_pcm_free(sdev, spcm);
791 sof_ipc4_pcm_free(sdev, spcm);
795 spcm->stream[stream].private = stream_priv;
802 sof_ipc4_pcm_free(sdev, spcm);
891 struct snd_sof_pcm *spcm;
893 spcm = snd_sof_find_spcm_dai(component, rtd);
894 if (!spcm)
897 time_info = sof_ipc4_sps_to_time_info(&spcm->stream[substream->stream]);
905 sof_ipc4_build_time_info(sdev, &spcm->stream[substream->stream]);
968 struct snd_sof_pcm *spcm;
971 spcm = snd_sof_find_spcm_dai(component, rtd);
972 if (!spcm)
975 sps = &spcm->stream[substream->stream];
1078 struct snd_sof_pcm *spcm;
1080 spcm = snd_sof_find_spcm_dai(component, rtd);
1081 if (!spcm)
1084 time_info = sof_ipc4_sps_to_time_info(&spcm->stream[substream->stream]);