• Home
  • Raw
  • Download

Lines Matching +full:fe +full:- +full:dai +full:- +full:link

1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dpcm.h -- ALSA SoC Dynamic PCM Support
18 * Types of runtime_update to perform. e.g. originated from FE PCM ops
28 * Dynamic PCM Frontend -> Backend link management states.
31 SND_SOC_DPCM_LINK_STATE_NEW = 0, /* newly created link */
32 SND_SOC_DPCM_LINK_STATE_FREE, /* link to be dismantled */
36 * Dynamic PCM Frontend -> Backend link PCM states.
65 * Dynamic PCM link
66 * This links together a FE and BE DAI at runtime and stores the link
70 /* FE and BE DAIs*/
72 struct snd_soc_pcm_runtime *fe; member
74 /* link state */
77 /* list of BE and FE for this DPCM link */
81 /* hw params for this link - may be different for each link */
107 list_for_each_entry(_dpcm, &(be)->dpcm[stream].fe_clients, list_fe)
109 #define for_each_dpcm_be(fe, stream, _dpcm) \ argument
110 list_for_each_entry(_dpcm, &(fe)->dpcm[stream].be_clients, list_be)
111 #define for_each_dpcm_be_safe(fe, stream, _dpcm, __dpcm) \ argument
112 list_for_each_entry_safe(_dpcm, __dpcm, &(fe)->dpcm[stream].be_clients, list_be)
113 #define for_each_dpcm_be_rollback(fe, stream, _dpcm) \ argument
114 list_for_each_entry_continue_reverse(_dpcm, &(fe)->dpcm[stream].be_clients, list_be)
117 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe,
121 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe,
125 int snd_soc_dpcm_can_be_prepared(struct snd_soc_pcm_runtime *fe,
128 /* is the current PCM operation for this FE ? */
129 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream);
132 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe,
139 /* update audio routing between PCMs and any DAI links */
150 int dpcm_path_get(struct snd_soc_pcm_runtime *fe,
153 int dpcm_process_paths(struct snd_soc_pcm_runtime *fe,
155 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream);
156 int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream);
157 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream);
158 void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream);
159 int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream);
160 int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int tream);
161 int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, int cmd);
162 int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream);
163 int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir,