Lines Matching defs:substream

377 				      struct snd_pcm_substream *substream, int state, int cmd)
380 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
398 pipeline_list = &spcm->stream[substream->stream].pipeline_list;
410 * trigger function that handles the rest for the substream.
413 return sof_ipc4_chain_dma_trigger(sdev, spcm, substream->stream,
487 time_info = sof_ipc4_sps_to_time_info(&spcm->stream[substream->stream]);
526 struct snd_pcm_substream *substream, int cmd)
548 return sof_ipc4_trigger_pipelines(component, substream, state, cmd);
552 struct snd_pcm_substream *substream)
555 return sof_ipc4_trigger_pipelines(component, substream, SOF_IPC4_PIPE_RESET, 0);
884 struct snd_pcm_substream *substream,
889 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
897 time_info = sof_ipc4_sps_to_time_info(&spcm->stream[substream->stream]);
905 sof_ipc4_build_time_info(sdev, &spcm->stream[substream->stream]);
911 struct snd_pcm_substream *substream,
950 frames_to_bytes(substream->runtime, 1));
958 struct snd_pcm_substream *substream,
962 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
975 sps = &spcm->stream[substream->stream];
986 ret = sof_ipc4_get_stream_start_offset(sdev, substream, sps, time_info);
992 host_cnt = snd_sof_pcm_get_host_byte_counter(sdev, component, substream);
996 host_cnt = div64_u64(host_cnt, frames_to_bytes(substream->runtime, 1));
1004 dai_cnt = snd_sof_pcm_get_dai_frame_counter(sdev, component, substream);
1047 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
1067 div64_u64_rem(host_ptr, snd_pcm_lib_buffer_bytes(substream), &host_ptr);
1068 *pointer = bytes_to_frames(substream->runtime, host_ptr);
1074 struct snd_pcm_substream *substream)
1076 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
1084 time_info = sof_ipc4_sps_to_time_info(&spcm->stream[substream->stream]);