Lines Matching refs:fe_substream

1324 	struct snd_pcm_substream *fe_substream;  in dpcm_be_connect()  local
1336 fe_substream = snd_soc_dpcm_get_substream(fe, stream); in dpcm_be_connect()
1339 if (!fe_substream->pcm->nonatomic && be_substream->pcm->nonatomic) { in dpcm_be_connect()
1344 if (fe_substream->pcm->nonatomic && !be_substream->pcm->nonatomic) { in dpcm_be_connect()
1356 snd_pcm_stream_lock_irq(fe_substream); in dpcm_be_connect()
1359 snd_pcm_stream_unlock_irq(fe_substream); in dpcm_be_connect()
1375 struct snd_pcm_substream *fe_substream, *be_substream; in dpcm_be_reparent() local
1394 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, stream); in dpcm_be_reparent()
1395 be_substream->runtime = fe_substream->runtime; in dpcm_be_reparent()
1590 struct snd_pcm_substream *fe_substream = snd_soc_dpcm_get_substream(fe, stream); in dpcm_add_paths() local
1594 if (!fe_substream->runtime && !fe->fe_compr) in dpcm_add_paths()
1716 struct snd_pcm_substream *fe_substream = snd_soc_dpcm_get_substream(fe, stream); in dpcm_be_dai_startup() local
1756 be_substream->runtime = fe_substream->runtime; in dpcm_be_dai_startup()
1939 static int dpcm_apply_symmetry(struct snd_pcm_substream *fe_substream, in dpcm_apply_symmetry() argument
1943 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); in dpcm_apply_symmetry()
1949 soc_pcm_update_symmetry(fe_substream); in dpcm_apply_symmetry()
1953 err = soc_pcm_apply_symmetry(fe_substream, fe_cpu_dai); in dpcm_apply_symmetry()
1978 err = soc_pcm_apply_symmetry(fe_substream, dai); in dpcm_apply_symmetry()
1987 static int dpcm_fe_dai_startup(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_startup() argument
1989 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); in dpcm_fe_dai_startup()
1990 int stream = fe_substream->stream, ret = 0; in dpcm_fe_dai_startup()
2001 ret = __soc_pcm_open(fe, fe_substream); in dpcm_fe_dai_startup()
2007 dpcm_runtime_setup_fe(fe_substream); in dpcm_fe_dai_startup()
2009 dpcm_runtime_setup_be_format(fe_substream); in dpcm_fe_dai_startup()
2010 dpcm_runtime_setup_be_chan(fe_substream); in dpcm_fe_dai_startup()
2011 dpcm_runtime_setup_be_rate(fe_substream); in dpcm_fe_dai_startup()
2013 ret = dpcm_apply_symmetry(fe_substream, stream); in dpcm_fe_dai_startup()
2780 static void dpcm_fe_dai_cleanup(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_cleanup() argument
2782 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); in dpcm_fe_dai_cleanup()
2784 int stream = fe_substream->stream; in dpcm_fe_dai_cleanup()
2795 static int dpcm_fe_dai_close(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_close() argument
2797 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); in dpcm_fe_dai_close()
2801 ret = dpcm_fe_dai_shutdown(fe_substream); in dpcm_fe_dai_close()
2803 dpcm_fe_dai_cleanup(fe_substream); in dpcm_fe_dai_close()
2809 static int dpcm_fe_dai_open(struct snd_pcm_substream *fe_substream) in dpcm_fe_dai_open() argument
2811 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); in dpcm_fe_dai_open()
2814 int stream = fe_substream->stream; in dpcm_fe_dai_open()
2825 ret = dpcm_fe_dai_startup(fe_substream); in dpcm_fe_dai_open()
2827 dpcm_fe_dai_cleanup(fe_substream); in dpcm_fe_dai_open()