Lines Matching defs:substream
53 void (*fixup_early)(struct snd_pcm_substream *substream,
55 void (*fixup_late)(struct snd_pcm_substream *substream,
118 void (*fixup_early)(struct snd_pcm_substream *substream,
120 void (*fixup_late)(struct snd_pcm_substream *substream,
727 static int i2s_hw_params(struct snd_pcm_substream *substream,
749 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
755 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
823 /* We set constraints on the substream according to the version of I2S */
824 static int i2s_startup(struct snd_pcm_substream *substream,
851 static void i2s_shutdown(struct snd_pcm_substream *substream,
937 static int i2s_trigger(struct snd_pcm_substream *substream,
941 int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
942 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
953 priv->fixup_early(substream, dai);
963 priv->fixup_late(substream, dai);
1022 i2s_delay(struct snd_pcm_substream *substream, struct snd_soc_dai *dai)
1031 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
1580 static void fsd_i2s_fixup_early(struct snd_pcm_substream *substream,
1583 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
1593 static void fsd_i2s_fixup_late(struct snd_pcm_substream *substream,
1596 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);