Lines Matching defs:fe_substream

1150 	struct snd_pcm_substream *fe_substream, *be_substream;
1169 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, stream);
1170 be_substream->runtime = fe_substream->runtime;
1732 static int dpcm_apply_symmetry(struct snd_pcm_substream *fe_substream,
1736 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
1742 if (soc_pcm_has_symmetry(fe_substream))
1743 fe_substream->runtime->hw.info |= SNDRV_PCM_INFO_JOINT_DUPLEX;
1748 err = soc_pcm_apply_symmetry(fe_substream, fe_cpu_dai);
1777 err = soc_pcm_apply_symmetry(fe_substream, dai);
1787 static int dpcm_fe_dai_startup(struct snd_pcm_substream *fe_substream)
1789 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
1790 struct snd_pcm_runtime *runtime = fe_substream->runtime;
1791 int stream = fe_substream->stream, ret = 0;
1804 ret = soc_pcm_open(fe_substream);
1812 dpcm_set_fe_runtime(fe_substream);
1815 ret = dpcm_apply_symmetry(fe_substream, stream);
2626 static void dpcm_fe_dai_cleanup(struct snd_pcm_substream *fe_substream)
2628 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
2630 int stream = fe_substream->stream;
2641 static int dpcm_fe_dai_close(struct snd_pcm_substream *fe_substream)
2643 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
2647 ret = dpcm_fe_dai_shutdown(fe_substream);
2649 dpcm_fe_dai_cleanup(fe_substream);
2655 static int dpcm_fe_dai_open(struct snd_pcm_substream *fe_substream)
2657 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
2660 int stream = fe_substream->stream;
2663 fe->dpcm[stream].runtime = fe_substream->runtime;
2676 ret = dpcm_fe_dai_startup(fe_substream);
2678 dpcm_fe_dai_cleanup(fe_substream);