soc-dpcm.h (9ac669fc01dbfef707ecaa6b618c0d03294cca16) soc-dpcm.h (d2e24d64652bf9d272e5496ae8a562bc64facff3)
1/* SPDX-License-Identifier: GPL-2.0
2 *
3 * linux/sound/soc-dpcm.h -- ALSA SoC Dynamic PCM Support
4 *
5 * Author: Liam Girdwood <lrg@ti.com>
6 */
7
8#ifndef __LINUX_SND_SOC_DPCM_H

--- 89 unchanged lines hidden (view full) ---

98
99 /* state and update */
100 enum snd_soc_dpcm_update runtime_update;
101 enum snd_soc_dpcm_state state;
102
103 int trigger_pending; /* trigger cmd + 1 if pending, 0 if not */
104};
105
1/* SPDX-License-Identifier: GPL-2.0
2 *
3 * linux/sound/soc-dpcm.h -- ALSA SoC Dynamic PCM Support
4 *
5 * Author: Liam Girdwood <lrg@ti.com>
6 */
7
8#ifndef __LINUX_SND_SOC_DPCM_H

--- 89 unchanged lines hidden (view full) ---

98
99 /* state and update */
100 enum snd_soc_dpcm_update runtime_update;
101 enum snd_soc_dpcm_state state;
102
103 int trigger_pending; /* trigger cmd + 1 if pending, 0 if not */
104};
105
106#define for_each_dpcm_fe(be, stream, dpcm) \
107 list_for_each_entry(dpcm, &(be)->dpcm[stream].fe_clients, list_fe)
108
106/* can this BE stop and free */
107int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe,
108 struct snd_soc_pcm_runtime *be, int stream);
109
110/* can this BE perform a hw_params() */
111int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe,
112 struct snd_soc_pcm_runtime *be, int stream);
113

--- 46 unchanged lines hidden ---
109/* can this BE stop and free */
110int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe,
111 struct snd_soc_pcm_runtime *be, int stream);
112
113/* can this BE perform a hw_params() */
114int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe,
115 struct snd_soc_pcm_runtime *be, int stream);
116

--- 46 unchanged lines hidden ---