Lines Matching defs:fe_substream
1302 struct snd_pcm_substream *fe_substream;
1313 fe_substream = snd_soc_dpcm_get_substream(fe, stream);
1316 if (!fe_substream->pcm->nonatomic && be_substream->pcm->nonatomic)
1321 if (fe_substream->pcm->nonatomic && !be_substream->pcm->nonatomic) {
1333 snd_pcm_stream_lock_irq(fe_substream);
1336 snd_pcm_stream_unlock_irq(fe_substream);
1352 struct snd_pcm_substream *fe_substream, *be_substream;
1371 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, stream);
1372 be_substream->runtime = fe_substream->runtime;
1565 struct snd_pcm_substream *fe_substream = snd_soc_dpcm_get_substream(fe, stream);
1569 if (!fe_substream->runtime && !fe->fe_compr)
1681 struct snd_pcm_substream *fe_substream = snd_soc_dpcm_get_substream(fe, stream);
1721 be_substream->runtime = fe_substream->runtime;
1898 static int dpcm_apply_symmetry(struct snd_pcm_substream *fe_substream,
1902 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
1908 soc_pcm_update_symmetry(fe_substream);
1912 err = soc_pcm_apply_symmetry(fe_substream, fe_cpu_dai);
1937 err = soc_pcm_apply_symmetry(fe_substream, dai);
1946 static int dpcm_fe_dai_startup(struct snd_pcm_substream *fe_substream)
1948 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
1949 int stream = fe_substream->stream, ret = 0;
1960 ret = __soc_pcm_open(fe, fe_substream);
1966 dpcm_runtime_setup_fe(fe_substream);
1968 dpcm_runtime_setup_be_format(fe_substream);
1969 dpcm_runtime_setup_be_chan(fe_substream);
1970 dpcm_runtime_setup_be_rate(fe_substream);
1972 ret = dpcm_apply_symmetry(fe_substream, stream);
2731 static void dpcm_fe_dai_cleanup(struct snd_pcm_substream *fe_substream)
2733 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
2735 int stream = fe_substream->stream;
2746 static int dpcm_fe_dai_close(struct snd_pcm_substream *fe_substream)
2748 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
2752 ret = dpcm_fe_dai_shutdown(fe_substream);
2754 dpcm_fe_dai_cleanup(fe_substream);
2760 static int dpcm_fe_dai_open(struct snd_pcm_substream *fe_substream)
2762 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream);
2765 int stream = fe_substream->stream;
2787 ret = dpcm_fe_dai_startup(fe_substream);
2789 dpcm_fe_dai_cleanup(fe_substream);