Lines Matching defs:fe_substream

1243 	struct snd_pcm_substream *fe_substream;
1255 fe_substream = snd_soc_dpcm_get_substream(fe, stream);
1258 if (!fe_substream->pcm->nonatomic && be_substream->pcm->nonatomic) {
1263 if (fe_substream->pcm->nonatomic && !be_substream->pcm->nonatomic) {
1294 struct snd_pcm_substream *fe_substream, *be_substream;
1313 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, stream);
1314 be_substream->runtime = fe_substream->runtime;
1508 struct snd_pcm_substream *fe_substream = snd_soc_dpcm_get_substream(fe, stream);
1512 if (!fe_substream->runtime && !fe->fe_compr)
1634 struct snd_pcm_substream *fe_substream = snd_soc_dpcm_get_substream(fe, stream);
1674 be_substream->runtime = fe_substream->runtime;
1857 static int dpcm_apply_symmetry(struct snd_pcm_substream *fe_substream,
1861 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
1867 soc_pcm_update_symmetry(fe_substream);
1871 err = soc_pcm_apply_symmetry(fe_substream, fe_cpu_dai);
1896 err = soc_pcm_apply_symmetry(fe_substream, dai);
1905 static int dpcm_fe_dai_startup(struct snd_pcm_substream *fe_substream)
1907 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
1908 int stream = fe_substream->stream, ret = 0;
1919 ret = __soc_pcm_open(fe, fe_substream);
1925 dpcm_runtime_setup_fe(fe_substream);
1927 dpcm_runtime_setup_be_format(fe_substream);
1928 dpcm_runtime_setup_be_chan(fe_substream);
1929 dpcm_runtime_setup_be_rate(fe_substream);
1931 ret = dpcm_apply_symmetry(fe_substream, stream);
2737 static void dpcm_fe_dai_cleanup(struct snd_pcm_substream *fe_substream)
2739 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
2741 int stream = fe_substream->stream;
2752 static int dpcm_fe_dai_close(struct snd_pcm_substream *fe_substream)
2754 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
2758 ret = dpcm_fe_dai_shutdown(fe_substream);
2760 dpcm_fe_dai_cleanup(fe_substream);
2766 static int dpcm_fe_dai_open(struct snd_pcm_substream *fe_substream)
2768 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
2771 int stream = fe_substream->stream;
2782 ret = dpcm_fe_dai_startup(fe_substream);
2784 dpcm_fe_dai_cleanup(fe_substream);