• Home
  • Raw
  • Download

Lines Matching refs:fe_substream

1155 	struct snd_pcm_substream *fe_substream, *be_substream;  in dpcm_be_reparent()  local
1172 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, stream); in dpcm_be_reparent()
1173 be_substream->runtime = fe_substream->runtime; in dpcm_be_reparent()
1735 static int dpcm_apply_symmetry(struct snd_pcm_substream *fe_substream, in dpcm_apply_symmetry() argument
1739 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_apply_symmetry()
1745 if (soc_pcm_has_symmetry(fe_substream)) in dpcm_apply_symmetry()
1746 fe_substream->runtime->hw.info |= SNDRV_PCM_INFO_JOINT_DUPLEX; in dpcm_apply_symmetry()
1751 err = soc_pcm_apply_symmetry(fe_substream, fe_cpu_dai); in dpcm_apply_symmetry()
1780 err = soc_pcm_apply_symmetry(fe_substream, dai); in dpcm_apply_symmetry()
1790 static int dpcm_fe_dai_startup(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_startup() argument
1792 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_startup()
1793 struct snd_pcm_runtime *runtime = fe_substream->runtime; in dpcm_fe_dai_startup()
1794 int stream = fe_substream->stream, ret = 0; in dpcm_fe_dai_startup()
1807 ret = soc_pcm_open(fe_substream); in dpcm_fe_dai_startup()
1815 dpcm_set_fe_runtime(fe_substream); in dpcm_fe_dai_startup()
1818 ret = dpcm_apply_symmetry(fe_substream, stream); in dpcm_fe_dai_startup()
2626 static void dpcm_fe_dai_cleanup(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_cleanup() argument
2628 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_cleanup()
2630 int stream = fe_substream->stream; in dpcm_fe_dai_cleanup()
2641 static int dpcm_fe_dai_close(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_close() argument
2643 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_close()
2647 ret = dpcm_fe_dai_shutdown(fe_substream); in dpcm_fe_dai_close()
2649 dpcm_fe_dai_cleanup(fe_substream); in dpcm_fe_dai_close()
2655 static int dpcm_fe_dai_open(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_open() argument
2657 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_open()
2660 int stream = fe_substream->stream; in dpcm_fe_dai_open()
2663 fe->dpcm[stream].runtime = fe_substream->runtime; in dpcm_fe_dai_open()
2676 ret = dpcm_fe_dai_startup(fe_substream); in dpcm_fe_dai_open()
2678 dpcm_fe_dai_cleanup(fe_substream); in dpcm_fe_dai_open()