Lines Matching refs:fe_substream
1193 struct snd_pcm_substream *fe_substream, *be_substream; in dpcm_be_reparent() local
1210 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, stream); in dpcm_be_reparent()
1211 be_substream->runtime = fe_substream->runtime; in dpcm_be_reparent()
1826 static int dpcm_apply_symmetry(struct snd_pcm_substream *fe_substream, in dpcm_apply_symmetry() argument
1830 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_apply_symmetry()
1835 if (soc_pcm_has_symmetry(fe_substream)) in dpcm_apply_symmetry()
1836 fe_substream->runtime->hw.info |= SNDRV_PCM_INFO_JOINT_DUPLEX; in dpcm_apply_symmetry()
1840 err = soc_pcm_apply_symmetry(fe_substream, fe_cpu_dai); in dpcm_apply_symmetry()
1867 err = soc_pcm_apply_symmetry(fe_substream, in dpcm_apply_symmetry()
1875 err = soc_pcm_apply_symmetry(fe_substream, in dpcm_apply_symmetry()
1886 static int dpcm_fe_dai_startup(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_startup() argument
1888 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_startup()
1889 struct snd_pcm_runtime *runtime = fe_substream->runtime; in dpcm_fe_dai_startup()
1890 int stream = fe_substream->stream, ret = 0; in dpcm_fe_dai_startup()
1894 ret = dpcm_be_dai_startup(fe, fe_substream->stream); in dpcm_fe_dai_startup()
1903 ret = soc_pcm_open(fe_substream); in dpcm_fe_dai_startup()
1911 dpcm_set_fe_runtime(fe_substream); in dpcm_fe_dai_startup()
1914 ret = dpcm_apply_symmetry(fe_substream, stream); in dpcm_fe_dai_startup()
1925 dpcm_be_dai_startup_unwind(fe, fe_substream->stream); in dpcm_fe_dai_startup()
2753 static int dpcm_fe_dai_open(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_open() argument
2755 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_open()
2759 int stream = fe_substream->stream; in dpcm_fe_dai_open()
2762 fe->dpcm[stream].runtime = fe_substream->runtime; in dpcm_fe_dai_open()
2776 ret = dpcm_fe_dai_startup(fe_substream); in dpcm_fe_dai_open()
2792 static int dpcm_fe_dai_close(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_close() argument
2794 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_close()
2796 int stream = fe_substream->stream, ret; in dpcm_fe_dai_close()
2799 ret = dpcm_fe_dai_shutdown(fe_substream); in dpcm_fe_dai_close()