Lines Matching defs:substream
82 static int acp5x_i2s_hwparams(struct snd_pcm_substream *substream,
98 prtd = snd_soc_substream_to_rtd(substream);
99 rtd = substream->runtime->private_data;
104 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
128 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
232 static int acp5x_i2s_trigger(struct snd_pcm_substream *substream,
241 rtd = substream->runtime->private_data;
242 period_bytes = frames_to_bytes(substream->runtime,
243 substream->runtime->period_size);
244 buf_size = frames_to_bytes(substream->runtime,
245 substream->runtime->buffer_size);
251 substream->stream);
252 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
300 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {