blob: d0bab8bd45e9424545705d7a3d2b069f5d7f13c4 [file] [log] [blame]
Christopher Ferris05d08e92016-02-04 13:16:38 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __LINUX_UAPI_SND_ASOC_H
20#define __LINUX_UAPI_SND_ASOC_H
21#include <linux/types.h>
22#include <sound/asound.h>
Christopher Ferris05d08e92016-02-04 13:16:38 -080023#define SND_SOC_TPLG_MAX_CHAN 8
Christopher Ferris05d08e92016-02-04 13:16:38 -080024#define SND_SOC_TPLG_MAX_FORMATS 16
25#define SND_SOC_TPLG_STREAM_CONFIG_MAX 8
Christopher Ferris48af7cb2017-02-21 12:35:09 -080026#define SND_SOC_TPLG_HW_CONFIG_MAX 8
Christopher Ferris48af7cb2017-02-21 12:35:09 -080027#define SND_SOC_TPLG_CTL_VOLSW 1
Christopher Ferris6a9755d2017-01-13 14:09:31 -080028#define SND_SOC_TPLG_CTL_VOLSW_SX 2
Christopher Ferris05d08e92016-02-04 13:16:38 -080029#define SND_SOC_TPLG_CTL_VOLSW_XR_SX 3
30#define SND_SOC_TPLG_CTL_ENUM 4
Christopher Ferris48af7cb2017-02-21 12:35:09 -080031#define SND_SOC_TPLG_CTL_BYTES 5
Christopher Ferris6a9755d2017-01-13 14:09:31 -080032#define SND_SOC_TPLG_CTL_ENUM_VALUE 6
Christopher Ferris05d08e92016-02-04 13:16:38 -080033#define SND_SOC_TPLG_CTL_RANGE 7
34#define SND_SOC_TPLG_CTL_STROBE 8
Christopher Ferris48af7cb2017-02-21 12:35:09 -080035#define SND_SOC_TPLG_DAPM_CTL_VOLSW 64
Christopher Ferris6a9755d2017-01-13 14:09:31 -080036#define SND_SOC_TPLG_DAPM_CTL_ENUM_DOUBLE 65
Christopher Ferris05d08e92016-02-04 13:16:38 -080037#define SND_SOC_TPLG_DAPM_CTL_ENUM_VIRT 66
38#define SND_SOC_TPLG_DAPM_CTL_ENUM_VALUE 67
Christopher Ferris48af7cb2017-02-21 12:35:09 -080039#define SND_SOC_TPLG_DAPM_CTL_PIN 68
Christopher Ferris6a9755d2017-01-13 14:09:31 -080040#define SND_SOC_TPLG_DAPM_INPUT 0
Christopher Ferris05d08e92016-02-04 13:16:38 -080041#define SND_SOC_TPLG_DAPM_OUTPUT 1
42#define SND_SOC_TPLG_DAPM_MUX 2
Christopher Ferris48af7cb2017-02-21 12:35:09 -080043#define SND_SOC_TPLG_DAPM_MIXER 3
Christopher Ferris6a9755d2017-01-13 14:09:31 -080044#define SND_SOC_TPLG_DAPM_PGA 4
Christopher Ferris05d08e92016-02-04 13:16:38 -080045#define SND_SOC_TPLG_DAPM_OUT_DRV 5
46#define SND_SOC_TPLG_DAPM_ADC 6
Christopher Ferris48af7cb2017-02-21 12:35:09 -080047#define SND_SOC_TPLG_DAPM_DAC 7
Christopher Ferris6a9755d2017-01-13 14:09:31 -080048#define SND_SOC_TPLG_DAPM_SWITCH 8
Christopher Ferris05d08e92016-02-04 13:16:38 -080049#define SND_SOC_TPLG_DAPM_PRE 9
50#define SND_SOC_TPLG_DAPM_POST 10
Christopher Ferris48af7cb2017-02-21 12:35:09 -080051#define SND_SOC_TPLG_DAPM_AIF_IN 11
Christopher Ferris6a9755d2017-01-13 14:09:31 -080052#define SND_SOC_TPLG_DAPM_AIF_OUT 12
Christopher Ferris05d08e92016-02-04 13:16:38 -080053#define SND_SOC_TPLG_DAPM_DAI_IN 13
54#define SND_SOC_TPLG_DAPM_DAI_OUT 14
Christopher Ferris48af7cb2017-02-21 12:35:09 -080055#define SND_SOC_TPLG_DAPM_DAI_LINK 15
Christopher Ferris1308ad32017-11-14 17:32:13 -080056#define SND_SOC_TPLG_DAPM_BUFFER 16
57#define SND_SOC_TPLG_DAPM_SCHEDULER 17
58#define SND_SOC_TPLG_DAPM_EFFECT 18
59#define SND_SOC_TPLG_DAPM_SIGGEN 19
60#define SND_SOC_TPLG_DAPM_SRC 20
61#define SND_SOC_TPLG_DAPM_ASRC 21
62#define SND_SOC_TPLG_DAPM_ENCODER 22
63#define SND_SOC_TPLG_DAPM_DECODER 23
64#define SND_SOC_TPLG_DAPM_LAST SND_SOC_TPLG_DAPM_DECODER
Christopher Ferris05d08e92016-02-04 13:16:38 -080065#define SND_SOC_TPLG_MAGIC 0x41536F43
66#define SND_SOC_TPLG_NUM_TEXTS 16
Christopher Ferris48af7cb2017-02-21 12:35:09 -080067#define SND_SOC_TPLG_ABI_VERSION 0x5
68#define SND_SOC_TPLG_ABI_VERSION_MIN 0x4
Christopher Ferris6a9755d2017-01-13 14:09:31 -080069#define SND_SOC_TPLG_TLV_SIZE 32
Christopher Ferris05d08e92016-02-04 13:16:38 -080070#define SND_SOC_TPLG_TYPE_MIXER 1
71#define SND_SOC_TPLG_TYPE_BYTES 2
72#define SND_SOC_TPLG_TYPE_ENUM 3
Christopher Ferris6a9755d2017-01-13 14:09:31 -080073#define SND_SOC_TPLG_TYPE_DAPM_GRAPH 4
Christopher Ferris05d08e92016-02-04 13:16:38 -080074#define SND_SOC_TPLG_TYPE_DAPM_WIDGET 5
75#define SND_SOC_TPLG_TYPE_DAI_LINK 6
76#define SND_SOC_TPLG_TYPE_PCM 7
Christopher Ferris6a9755d2017-01-13 14:09:31 -080077#define SND_SOC_TPLG_TYPE_MANIFEST 8
Christopher Ferris05d08e92016-02-04 13:16:38 -080078#define SND_SOC_TPLG_TYPE_CODEC_LINK 9
79#define SND_SOC_TPLG_TYPE_BACKEND_LINK 10
80#define SND_SOC_TPLG_TYPE_PDATA 11
Christopher Ferris48af7cb2017-02-21 12:35:09 -080081#define SND_SOC_TPLG_TYPE_DAI 12
82#define SND_SOC_TPLG_TYPE_MAX SND_SOC_TPLG_TYPE_DAI
Christopher Ferris05d08e92016-02-04 13:16:38 -080083#define SND_SOC_TPLG_TYPE_VENDOR_FW 1000
84#define SND_SOC_TPLG_TYPE_VENDOR_CONFIG 1001
85#define SND_SOC_TPLG_TYPE_VENDOR_COEFF 1002
86#define SND_SOC_TPLG_TYPEVENDOR_CODEC 1003
Christopher Ferris05d08e92016-02-04 13:16:38 -080087#define SND_SOC_TPLG_STREAM_PLAYBACK 0
88#define SND_SOC_TPLG_STREAM_CAPTURE 1
Christopher Ferris106b3a82016-08-24 12:15:38 -070089#define SND_SOC_TPLG_TUPLE_TYPE_UUID 0
90#define SND_SOC_TPLG_TUPLE_TYPE_STRING 1
Christopher Ferris106b3a82016-08-24 12:15:38 -070091#define SND_SOC_TPLG_TUPLE_TYPE_BOOL 2
92#define SND_SOC_TPLG_TUPLE_TYPE_BYTE 3
93#define SND_SOC_TPLG_TUPLE_TYPE_WORD 4
94#define SND_SOC_TPLG_TUPLE_TYPE_SHORT 5
Christopher Ferris6a9755d2017-01-13 14:09:31 -080095#define SND_SOC_TPLG_DAI_FLGBIT_SYMMETRIC_RATES (1 << 0)
96#define SND_SOC_TPLG_DAI_FLGBIT_SYMMETRIC_CHANNELS (1 << 1)
Christopher Ferris6a9755d2017-01-13 14:09:31 -080097#define SND_SOC_TPLG_DAI_FLGBIT_SYMMETRIC_SAMPLEBITS (1 << 2)
Christopher Ferris48af7cb2017-02-21 12:35:09 -080098#define SND_SOC_DAI_FORMAT_I2S 1
Christopher Ferris48af7cb2017-02-21 12:35:09 -080099#define SND_SOC_DAI_FORMAT_RIGHT_J 2
100#define SND_SOC_DAI_FORMAT_LEFT_J 3
101#define SND_SOC_DAI_FORMAT_DSP_A 4
102#define SND_SOC_DAI_FORMAT_DSP_B 5
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800103#define SND_SOC_DAI_FORMAT_AC97 6
104#define SND_SOC_DAI_FORMAT_PDM 7
105#define SND_SOC_DAI_FORMAT_MSB SND_SOC_DAI_FORMAT_LEFT_J
106#define SND_SOC_DAI_FORMAT_LSB SND_SOC_DAI_FORMAT_RIGHT_J
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800107#define SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_RATES (1 << 0)
108#define SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_CHANNELS (1 << 1)
109#define SND_SOC_TPLG_LNK_FLGBIT_SYMMETRIC_SAMPLEBITS (1 << 2)
110#define SND_SOC_TPLG_LNK_FLGBIT_VOICE_WAKEUP (1 << 3)
Christopher Ferris05d08e92016-02-04 13:16:38 -0800111struct snd_soc_tplg_hdr {
112 __le32 magic;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800113 __le32 abi;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800114 __le32 version;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800115 __le32 type;
116 __le32 size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800117 __le32 vendor_type;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800118 __le32 payload_size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800119 __le32 index;
120 __le32 count;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700121} __attribute__((packed));
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800122struct snd_soc_tplg_vendor_uuid_elem {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700123 __le32 token;
124 char uuid[16];
125} __attribute__((packed));
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800126struct snd_soc_tplg_vendor_value_elem {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700127 __le32 token;
128 __le32 value;
129} __attribute__((packed));
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800130struct snd_soc_tplg_vendor_string_elem {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700131 __le32 token;
132 char string[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
133} __attribute__((packed));
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800134struct snd_soc_tplg_vendor_array {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700135 __le32 size;
136 __le32 type;
137 __le32 num_elems;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800138 union {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700139 struct snd_soc_tplg_vendor_uuid_elem uuid[0];
140 struct snd_soc_tplg_vendor_value_elem value[0];
141 struct snd_soc_tplg_vendor_string_elem string[0];
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800142 };
Christopher Ferris05d08e92016-02-04 13:16:38 -0800143} __attribute__((packed));
144struct snd_soc_tplg_private {
145 __le32 size;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800146 union {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700147 char data[0];
148 struct snd_soc_tplg_vendor_array array[0];
149 };
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800150} __attribute__((packed));
Christopher Ferris05d08e92016-02-04 13:16:38 -0800151struct snd_soc_tplg_tlv_dbscale {
152 __le32 min;
153 __le32 step;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800154 __le32 mute;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800155} __attribute__((packed));
156struct snd_soc_tplg_ctl_tlv {
157 __le32 size;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800158 __le32 type;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800159 union {
160 __le32 data[SND_SOC_TPLG_TLV_SIZE];
161 struct snd_soc_tplg_tlv_dbscale scale;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800162 };
Christopher Ferris05d08e92016-02-04 13:16:38 -0800163} __attribute__((packed));
164struct snd_soc_tplg_channel {
165 __le32 size;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800166 __le32 reg;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800167 __le32 shift;
168 __le32 id;
169} __attribute__((packed));
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800170struct snd_soc_tplg_io_ops {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800171 __le32 get;
172 __le32 put;
173 __le32 info;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800174} __attribute__((packed));
Christopher Ferris05d08e92016-02-04 13:16:38 -0800175struct snd_soc_tplg_ctl_hdr {
176 __le32 size;
177 __le32 type;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800178 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800179 __le32 access;
180 struct snd_soc_tplg_io_ops ops;
181 struct snd_soc_tplg_ctl_tlv tlv;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800182} __attribute__((packed));
Christopher Ferris05d08e92016-02-04 13:16:38 -0800183struct snd_soc_tplg_stream_caps {
184 __le32 size;
185 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800186 __le64 formats;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800187 __le32 rates;
188 __le32 rate_min;
189 __le32 rate_max;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800190 __le32 channels_min;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800191 __le32 channels_max;
192 __le32 periods_min;
193 __le32 periods_max;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800194 __le32 period_size_min;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800195 __le32 period_size_max;
196 __le32 buffer_size_min;
197 __le32 buffer_size_max;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800198 __le32 sig_bits;
199} __attribute__((packed));
Christopher Ferris05d08e92016-02-04 13:16:38 -0800200struct snd_soc_tplg_stream {
201 __le32 size;
202 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800203 __le64 format;
204 __le32 rate;
205 __le32 period_bytes;
206 __le32 buffer_bytes;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800207 __le32 channels;
208} __attribute__((packed));
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800209struct snd_soc_tplg_hw_config {
210 __le32 size;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800211 __le32 id;
212 __le32 fmt;
213 __u8 clock_gated;
214 __u8 invert_bclk;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800215 __u8 invert_fsync;
216 __u8 bclk_master;
217 __u8 fsync_master;
218 __u8 mclk_direction;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800219 __le16 reserved;
220 __le32 mclk_rate;
221 __le32 bclk_rate;
222 __le32 fsync_rate;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800223 __le32 tdm_slots;
224 __le32 tdm_slot_width;
225 __le32 tx_slots;
226 __le32 rx_slots;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800227 __le32 tx_channels;
228 __le32 tx_chanmap[SND_SOC_TPLG_MAX_CHAN];
229 __le32 rx_channels;
230 __le32 rx_chanmap[SND_SOC_TPLG_MAX_CHAN];
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800231} __attribute__((packed));
232struct snd_soc_tplg_manifest {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800233 __le32 size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800234 __le32 control_elems;
235 __le32 widget_elems;
236 __le32 graph_elems;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700237 __le32 pcm_elems;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800238 __le32 dai_link_elems;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800239 __le32 dai_elems;
240 __le32 reserved[20];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800241 struct snd_soc_tplg_private priv;
242} __attribute__((packed));
243struct snd_soc_tplg_mixer_control {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800244 struct snd_soc_tplg_ctl_hdr hdr;
245 __le32 size;
246 __le32 min;
247 __le32 max;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800248 __le32 platform_max;
249 __le32 invert;
250 __le32 num_channels;
251 struct snd_soc_tplg_channel channel[SND_SOC_TPLG_MAX_CHAN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800252 struct snd_soc_tplg_private priv;
253} __attribute__((packed));
254struct snd_soc_tplg_enum_control {
255 struct snd_soc_tplg_ctl_hdr hdr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800256 __le32 size;
257 __le32 num_channels;
258 struct snd_soc_tplg_channel channel[SND_SOC_TPLG_MAX_CHAN];
259 __le32 items;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800260 __le32 mask;
261 __le32 count;
262 char texts[SND_SOC_TPLG_NUM_TEXTS][SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
263 __le32 values[SND_SOC_TPLG_NUM_TEXTS * SNDRV_CTL_ELEM_ID_NAME_MAXLEN / 4];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800264 struct snd_soc_tplg_private priv;
265} __attribute__((packed));
266struct snd_soc_tplg_bytes_control {
267 struct snd_soc_tplg_ctl_hdr hdr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800268 __le32 size;
269 __le32 max;
270 __le32 mask;
271 __le32 base;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800272 __le32 num_regs;
273 struct snd_soc_tplg_io_ops ext_ops;
274 struct snd_soc_tplg_private priv;
275} __attribute__((packed));
Christopher Ferris05d08e92016-02-04 13:16:38 -0800276struct snd_soc_tplg_dapm_graph_elem {
277 char sink[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
278 char control[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
279 char source[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800280} __attribute__((packed));
281struct snd_soc_tplg_dapm_widget {
282 __le32 size;
283 __le32 id;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800284 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
285 char sname[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
286 __le32 reg;
287 __le32 shift;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800288 __le32 mask;
289 __le32 subseq;
290 __le32 invert;
291 __le32 ignore_suspend;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800292 __le16 event_flags;
293 __le16 event_type;
294 __le32 num_kcontrols;
295 struct snd_soc_tplg_private priv;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800296} __attribute__((packed));
297struct snd_soc_tplg_pcm {
298 __le32 size;
299 char pcm_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800300 char dai_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
301 __le32 pcm_id;
302 __le32 dai_id;
303 __le32 playback;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800304 __le32 capture;
305 __le32 compress;
306 struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX];
307 __le32 num_streams;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800308 struct snd_soc_tplg_stream_caps caps[2];
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800309 __le32 flag_mask;
310 __le32 flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800311 struct snd_soc_tplg_private priv;
312} __attribute__((packed));
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800313struct snd_soc_tplg_link_config {
314 __le32 size;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800315 __le32 id;
316 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
317 char stream_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
318 struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX];
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800319 __le32 num_streams;
320 struct snd_soc_tplg_hw_config hw_config[SND_SOC_TPLG_HW_CONFIG_MAX];
321 __le32 num_hw_configs;
322 __le32 default_hw_config_id;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800323 __le32 flag_mask;
324 __le32 flags;
325 struct snd_soc_tplg_private priv;
326} __attribute__((packed));
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800327struct snd_soc_tplg_dai {
328 __le32 size;
329 char dai_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
330 __le32 dai_id;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800331 __le32 playback;
332 __le32 capture;
333 struct snd_soc_tplg_stream_caps caps[2];
334 __le32 flag_mask;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800335 __le32 flags;
336 struct snd_soc_tplg_private priv;
337} __attribute__((packed));
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800338#endif