Lines Matching defs:fe_substream

1226 	struct snd_pcm_substream *fe_substream;
1238 fe_substream = snd_soc_dpcm_get_substream(fe, stream);
1241 if (!fe_substream->pcm->nonatomic && be_substream->pcm->nonatomic) {
1246 if (fe_substream->pcm->nonatomic && !be_substream->pcm->nonatomic) {
1277 struct snd_pcm_substream *fe_substream, *be_substream;
1296 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, stream);
1297 be_substream->runtime = fe_substream->runtime;
1491 struct snd_pcm_substream *fe_substream = snd_soc_dpcm_get_substream(fe, stream);
1495 if (!fe_substream->runtime && !fe->fe_compr)
1617 struct snd_pcm_substream *fe_substream = snd_soc_dpcm_get_substream(fe, stream);
1657 be_substream->runtime = fe_substream->runtime;
1838 static int dpcm_apply_symmetry(struct snd_pcm_substream *fe_substream,
1842 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
1848 soc_pcm_update_symmetry(fe_substream);
1852 err = soc_pcm_apply_symmetry(fe_substream, fe_cpu_dai);
1877 err = soc_pcm_apply_symmetry(fe_substream, dai);
1886 static int dpcm_fe_dai_startup(struct snd_pcm_substream *fe_substream)
1888 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
1889 int stream = fe_substream->stream, ret = 0;
1900 ret = __soc_pcm_open(fe, fe_substream);
1906 dpcm_runtime_setup_fe(fe_substream);
1908 dpcm_runtime_setup_be_format(fe_substream);
1909 dpcm_runtime_setup_be_chan(fe_substream);
1910 dpcm_runtime_setup_be_rate(fe_substream);
1912 ret = dpcm_apply_symmetry(fe_substream, stream);
2718 static void dpcm_fe_dai_cleanup(struct snd_pcm_substream *fe_substream)
2720 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
2722 int stream = fe_substream->stream;
2733 static int dpcm_fe_dai_close(struct snd_pcm_substream *fe_substream)
2735 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
2739 ret = dpcm_fe_dai_shutdown(fe_substream);
2741 dpcm_fe_dai_cleanup(fe_substream);
2747 static int dpcm_fe_dai_open(struct snd_pcm_substream *fe_substream)
2749 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
2752 int stream = fe_substream->stream;
2763 ret = dpcm_fe_dai_startup(fe_substream);
2765 dpcm_fe_dai_cleanup(fe_substream);