blob: 49052000ef99ea122f183f1640bfa00fcad6379d [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>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#error This API is an early revision and not enabled in the current
25#error kernel release , it will be enabled in a future kernel version
26#error with incompatible changes to what is here .
27#define SND_SOC_TPLG_MAX_CHAN 8
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define SND_SOC_TPLG_MAX_FORMATS 16
30#define SND_SOC_TPLG_STREAM_CONFIG_MAX 8
31#define SND_SOC_TPLG_CTL_VOLSW 1
32#define SND_SOC_TPLG_CTL_VOLSW_SX 2
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define SND_SOC_TPLG_CTL_VOLSW_XR_SX 3
35#define SND_SOC_TPLG_CTL_ENUM 4
36#define SND_SOC_TPLG_CTL_BYTES 5
37#define SND_SOC_TPLG_CTL_ENUM_VALUE 6
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define SND_SOC_TPLG_CTL_RANGE 7
40#define SND_SOC_TPLG_CTL_STROBE 8
41#define SND_SOC_TPLG_DAPM_CTL_VOLSW 64
42#define SND_SOC_TPLG_DAPM_CTL_ENUM_DOUBLE 65
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define SND_SOC_TPLG_DAPM_CTL_ENUM_VIRT 66
45#define SND_SOC_TPLG_DAPM_CTL_ENUM_VALUE 67
46#define SND_SOC_TPLG_DAPM_CTL_PIN 68
47#define SND_SOC_TPLG_DAPM_INPUT 0
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define SND_SOC_TPLG_DAPM_OUTPUT 1
50#define SND_SOC_TPLG_DAPM_MUX 2
51#define SND_SOC_TPLG_DAPM_MIXER 3
52#define SND_SOC_TPLG_DAPM_PGA 4
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define SND_SOC_TPLG_DAPM_OUT_DRV 5
55#define SND_SOC_TPLG_DAPM_ADC 6
56#define SND_SOC_TPLG_DAPM_DAC 7
57#define SND_SOC_TPLG_DAPM_SWITCH 8
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#define SND_SOC_TPLG_DAPM_PRE 9
60#define SND_SOC_TPLG_DAPM_POST 10
61#define SND_SOC_TPLG_DAPM_AIF_IN 11
62#define SND_SOC_TPLG_DAPM_AIF_OUT 12
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64#define SND_SOC_TPLG_DAPM_DAI_IN 13
65#define SND_SOC_TPLG_DAPM_DAI_OUT 14
66#define SND_SOC_TPLG_DAPM_DAI_LINK 15
67#define SND_SOC_TPLG_DAPM_LAST SND_SOC_TPLG_DAPM_DAI_LINK
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69#define SND_SOC_TPLG_MAGIC 0x41536F43
70#define SND_SOC_TPLG_NUM_TEXTS 16
71#define SND_SOC_TPLG_ABI_VERSION 0x4
72#define SND_SOC_TPLG_TLV_SIZE 32
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#define SND_SOC_TPLG_TYPE_MIXER 1
75#define SND_SOC_TPLG_TYPE_BYTES 2
76#define SND_SOC_TPLG_TYPE_ENUM 3
77#define SND_SOC_TPLG_TYPE_DAPM_GRAPH 4
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define SND_SOC_TPLG_TYPE_DAPM_WIDGET 5
80#define SND_SOC_TPLG_TYPE_DAI_LINK 6
81#define SND_SOC_TPLG_TYPE_PCM 7
82#define SND_SOC_TPLG_TYPE_MANIFEST 8
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84#define SND_SOC_TPLG_TYPE_CODEC_LINK 9
85#define SND_SOC_TPLG_TYPE_BACKEND_LINK 10
86#define SND_SOC_TPLG_TYPE_PDATA 11
87#define SND_SOC_TPLG_TYPE_MAX SND_SOC_TPLG_TYPE_PDATA
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89#define SND_SOC_TPLG_TYPE_VENDOR_FW 1000
90#define SND_SOC_TPLG_TYPE_VENDOR_CONFIG 1001
91#define SND_SOC_TPLG_TYPE_VENDOR_COEFF 1002
92#define SND_SOC_TPLG_TYPEVENDOR_CODEC 1003
93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94#define SND_SOC_TPLG_STREAM_PLAYBACK 0
95#define SND_SOC_TPLG_STREAM_CAPTURE 1
Christopher Ferris106b3a82016-08-24 12:15:38 -070096#define SND_SOC_TPLG_TUPLE_TYPE_UUID 0
97#define SND_SOC_TPLG_TUPLE_TYPE_STRING 1
98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99#define SND_SOC_TPLG_TUPLE_TYPE_BOOL 2
100#define SND_SOC_TPLG_TUPLE_TYPE_BYTE 3
101#define SND_SOC_TPLG_TUPLE_TYPE_WORD 4
102#define SND_SOC_TPLG_TUPLE_TYPE_SHORT 5
103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800104struct snd_soc_tplg_hdr {
105 __le32 magic;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800106 __le32 abi;
107 __le32 version;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800109 __le32 type;
110 __le32 size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800111 __le32 vendor_type;
112 __le32 payload_size;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800114 __le32 index;
115 __le32 count;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700116} __attribute__((packed));
117struct snd_soc_tplg_vendor_uuid_elem {
118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119 __le32 token;
120 char uuid[16];
121} __attribute__((packed));
122struct snd_soc_tplg_vendor_value_elem {
123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124 __le32 token;
125 __le32 value;
126} __attribute__((packed));
127struct snd_soc_tplg_vendor_string_elem {
128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129 __le32 token;
130 char string[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
131} __attribute__((packed));
132struct snd_soc_tplg_vendor_array {
133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134 __le32 size;
135 __le32 type;
136 __le32 num_elems;
137 union {
138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139 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];
142 };
Christopher Ferris05d08e92016-02-04 13:16:38 -0800143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144} __attribute__((packed));
145struct snd_soc_tplg_private {
146 __le32 size;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700147 union {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700149 char data[0];
150 struct snd_soc_tplg_vendor_array array[0];
151 };
Christopher Ferris05d08e92016-02-04 13:16:38 -0800152} __attribute__((packed));
Christopher Ferris106b3a82016-08-24 12:15:38 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800154struct snd_soc_tplg_tlv_dbscale {
155 __le32 min;
156 __le32 step;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800157 __le32 mute;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800159} __attribute__((packed));
160struct snd_soc_tplg_ctl_tlv {
161 __le32 size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800162 __le32 type;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800164 union {
165 __le32 data[SND_SOC_TPLG_TLV_SIZE];
166 struct snd_soc_tplg_tlv_dbscale scale;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800167 };
Christopher Ferris106b3a82016-08-24 12:15:38 -0700168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800169} __attribute__((packed));
170struct snd_soc_tplg_channel {
171 __le32 size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800172 __le32 reg;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800174 __le32 shift;
175 __le32 id;
176} __attribute__((packed));
Christopher Ferris05d08e92016-02-04 13:16:38 -0800177struct snd_soc_tplg_io_ops {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800179 __le32 get;
180 __le32 put;
181 __le32 info;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800182} __attribute__((packed));
Christopher Ferris106b3a82016-08-24 12:15:38 -0700183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800184struct snd_soc_tplg_ctl_hdr {
185 __le32 size;
186 __le32 type;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800187 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800189 __le32 access;
190 struct snd_soc_tplg_io_ops ops;
191 struct snd_soc_tplg_ctl_tlv tlv;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800192} __attribute__((packed));
Christopher Ferris106b3a82016-08-24 12:15:38 -0700193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800194struct snd_soc_tplg_stream_caps {
195 __le32 size;
196 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800197 __le64 formats;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800199 __le32 rates;
200 __le32 rate_min;
201 __le32 rate_max;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800202 __le32 channels_min;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800204 __le32 channels_max;
205 __le32 periods_min;
206 __le32 periods_max;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800207 __le32 period_size_min;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800209 __le32 period_size_max;
210 __le32 buffer_size_min;
211 __le32 buffer_size_max;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800212} __attribute__((packed));
Christopher Ferris106b3a82016-08-24 12:15:38 -0700213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800214struct snd_soc_tplg_stream {
215 __le32 size;
216 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800217 __le64 format;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800219 __le32 rate;
220 __le32 period_bytes;
221 __le32 buffer_bytes;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800222 __le32 channels;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800224} __attribute__((packed));
225struct snd_soc_tplg_manifest {
226 __le32 size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800227 __le32 control_elems;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800229 __le32 widget_elems;
230 __le32 graph_elems;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700231 __le32 pcm_elems;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800232 __le32 dai_link_elems;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800234 struct snd_soc_tplg_private priv;
235} __attribute__((packed));
236struct snd_soc_tplg_mixer_control {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800237 struct snd_soc_tplg_ctl_hdr hdr;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800239 __le32 size;
240 __le32 min;
241 __le32 max;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800242 __le32 platform_max;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800244 __le32 invert;
245 __le32 num_channels;
246 struct snd_soc_tplg_channel channel[SND_SOC_TPLG_MAX_CHAN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800247 struct snd_soc_tplg_private priv;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800249} __attribute__((packed));
250struct snd_soc_tplg_enum_control {
251 struct snd_soc_tplg_ctl_hdr hdr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800252 __le32 size;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800254 __le32 num_channels;
255 struct snd_soc_tplg_channel channel[SND_SOC_TPLG_MAX_CHAN];
256 __le32 items;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800257 __le32 mask;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800259 __le32 count;
260 char texts[SND_SOC_TPLG_NUM_TEXTS][SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
261 __le32 values[SND_SOC_TPLG_NUM_TEXTS * SNDRV_CTL_ELEM_ID_NAME_MAXLEN / 4];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800262 struct snd_soc_tplg_private priv;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800264} __attribute__((packed));
265struct snd_soc_tplg_bytes_control {
266 struct snd_soc_tplg_ctl_hdr hdr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800267 __le32 size;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800269 __le32 max;
270 __le32 mask;
271 __le32 base;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800272 __le32 num_regs;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800274 struct snd_soc_tplg_io_ops ext_ops;
275 struct snd_soc_tplg_private priv;
276} __attribute__((packed));
Christopher Ferris05d08e92016-02-04 13:16:38 -0800277struct snd_soc_tplg_dapm_graph_elem {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800279 char sink[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
280 char control[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
281 char source[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800282} __attribute__((packed));
Christopher Ferris106b3a82016-08-24 12:15:38 -0700283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800284struct snd_soc_tplg_dapm_widget {
285 __le32 size;
286 __le32 id;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800287 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800289 char sname[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
290 __le32 reg;
291 __le32 shift;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800292 __le32 mask;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800294 __le32 subseq;
295 __le32 invert;
296 __le32 ignore_suspend;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800297 __le16 event_flags;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800299 __le16 event_type;
300 __le32 num_kcontrols;
301 struct snd_soc_tplg_private priv;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800302} __attribute__((packed));
Christopher Ferris106b3a82016-08-24 12:15:38 -0700303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800304struct snd_soc_tplg_pcm {
305 __le32 size;
306 char pcm_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800307 char dai_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800309 __le32 pcm_id;
310 __le32 dai_id;
311 __le32 playback;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800312 __le32 capture;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800314 __le32 compress;
315 struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX];
316 __le32 num_streams;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800317 struct snd_soc_tplg_stream_caps caps[2];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800319} __attribute__((packed));
320struct snd_soc_tplg_link_config {
321 __le32 size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800322 __le32 id;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800324 struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX];
325 __le32 num_streams;
326} __attribute__((packed));
Christopher Ferris05d08e92016-02-04 13:16:38 -0800327#endif
Christopher Ferris106b3a82016-08-24 12:15:38 -0700328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */