1/****************************************************************************
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 _UAPI__SOUND_ASOUND_H
20#define _UAPI__SOUND_ASOUND_H
21#ifdef __linux__
22#include <linux/types.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#else
25#include <sys/ioctl.h>
26#endif
27#include <stdlib.h>
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define SNDRV_PROTOCOL_VERSION(major,minor,subminor) (((major) << 16) | ((minor) << 8) | (subminor))
30#define SNDRV_PROTOCOL_MAJOR(version) (((version) >> 16) & 0xffff)
31#define SNDRV_PROTOCOL_MINOR(version) (((version) >> 8) & 0xff)
32#define SNDRV_PROTOCOL_MICRO(version) ((version) & 0xff)
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define SNDRV_PROTOCOL_INCOMPATIBLE(kversion,uversion) (SNDRV_PROTOCOL_MAJOR(kversion) != SNDRV_PROTOCOL_MAJOR(uversion) || (SNDRV_PROTOCOL_MAJOR(kversion) == SNDRV_PROTOCOL_MAJOR(uversion) && SNDRV_PROTOCOL_MINOR(kversion) != SNDRV_PROTOCOL_MINOR(uversion)))
35struct snd_aes_iec958 {
36  unsigned char status[24];
37  unsigned char subcode[147];
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  unsigned char pad;
40  unsigned char dig_subframe[4];
41};
42struct snd_cea_861_aud_if {
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  unsigned char db1_ct_cc;
45  unsigned char db2_sf_ss;
46  unsigned char db3;
47  unsigned char db4_ca;
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49  unsigned char db5_dminh_lsv;
50};
51#define SNDRV_HWDEP_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 1)
52enum {
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54  SNDRV_HWDEP_IFACE_OPL2 = 0,
55  SNDRV_HWDEP_IFACE_OPL3,
56  SNDRV_HWDEP_IFACE_OPL4,
57  SNDRV_HWDEP_IFACE_SB16CSP,
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59  SNDRV_HWDEP_IFACE_EMU10K1,
60  SNDRV_HWDEP_IFACE_YSS225,
61  SNDRV_HWDEP_IFACE_ICS2115,
62  SNDRV_HWDEP_IFACE_SSCAPE,
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64  SNDRV_HWDEP_IFACE_VX,
65  SNDRV_HWDEP_IFACE_MIXART,
66  SNDRV_HWDEP_IFACE_USX2Y,
67  SNDRV_HWDEP_IFACE_EMUX_WAVETABLE,
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69  SNDRV_HWDEP_IFACE_BLUETOOTH,
70  SNDRV_HWDEP_IFACE_USX2Y_PCM,
71  SNDRV_HWDEP_IFACE_PCXHR,
72  SNDRV_HWDEP_IFACE_SB_RC,
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74  SNDRV_HWDEP_IFACE_HDA,
75  SNDRV_HWDEP_IFACE_USB_STREAM,
76  SNDRV_HWDEP_IFACE_FW_DICE,
77  SNDRV_HWDEP_IFACE_FW_FIREWORKS,
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79  SNDRV_HWDEP_IFACE_FW_BEBOB,
80  SNDRV_HWDEP_IFACE_FW_OXFW,
81  SNDRV_HWDEP_IFACE_FW_DIGI00X,
82  SNDRV_HWDEP_IFACE_FW_TASCAM,
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84  SNDRV_HWDEP_IFACE_LINE6,
85  SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_LINE6
86};
87struct snd_hwdep_info {
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89  unsigned int device;
90  int card;
91  unsigned char id[64];
92  unsigned char name[80];
93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94  int iface;
95  unsigned char reserved[64];
96};
97struct snd_hwdep_dsp_status {
98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99  unsigned int version;
100  unsigned char id[32];
101  unsigned int num_dsps;
102  unsigned int dsp_loaded;
103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104  unsigned int chip_ready;
105  unsigned char reserved[16];
106};
107struct snd_hwdep_dsp_image {
108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109  unsigned int index;
110  unsigned char name[64];
111  unsigned char __user * image;
112  size_t length;
113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114  unsigned long driver_data;
115};
116#define SNDRV_HWDEP_IOCTL_PVERSION _IOR('H', 0x00, int)
117#define SNDRV_HWDEP_IOCTL_INFO _IOR('H', 0x01, struct snd_hwdep_info)
118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119#define SNDRV_HWDEP_IOCTL_DSP_STATUS _IOR('H', 0x02, struct snd_hwdep_dsp_status)
120#define SNDRV_HWDEP_IOCTL_DSP_LOAD _IOW('H', 0x03, struct snd_hwdep_dsp_image)
121#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 13)
122typedef unsigned long snd_pcm_uframes_t;
123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124typedef signed long snd_pcm_sframes_t;
125enum {
126  SNDRV_PCM_CLASS_GENERIC = 0,
127  SNDRV_PCM_CLASS_MULTI,
128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129  SNDRV_PCM_CLASS_MODEM,
130  SNDRV_PCM_CLASS_DIGITIZER,
131  SNDRV_PCM_CLASS_LAST = SNDRV_PCM_CLASS_DIGITIZER,
132};
133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134enum {
135  SNDRV_PCM_SUBCLASS_GENERIC_MIX = 0,
136  SNDRV_PCM_SUBCLASS_MULTI_MIX,
137  SNDRV_PCM_SUBCLASS_LAST = SNDRV_PCM_SUBCLASS_MULTI_MIX,
138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139};
140enum {
141  SNDRV_PCM_STREAM_PLAYBACK = 0,
142  SNDRV_PCM_STREAM_CAPTURE,
143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144  SNDRV_PCM_STREAM_LAST = SNDRV_PCM_STREAM_CAPTURE,
145};
146typedef int __bitwise snd_pcm_access_t;
147#define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0)
148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149#define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1)
150#define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2)
151#define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3)
152#define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4)
153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154#define SNDRV_PCM_ACCESS_LAST SNDRV_PCM_ACCESS_RW_NONINTERLEAVED
155typedef int __bitwise snd_pcm_format_t;
156#define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
157#define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159#define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
160#define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
161#define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
162#define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164#define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6)
165#define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7)
166#define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8)
167#define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9)
168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169#define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10)
170#define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11)
171#define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12)
172#define SNDRV_PCM_FORMAT_U32_BE ((__force snd_pcm_format_t) 13)
173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174#define SNDRV_PCM_FORMAT_FLOAT_LE ((__force snd_pcm_format_t) 14)
175#define SNDRV_PCM_FORMAT_FLOAT_BE ((__force snd_pcm_format_t) 15)
176#define SNDRV_PCM_FORMAT_FLOAT64_LE ((__force snd_pcm_format_t) 16)
177#define SNDRV_PCM_FORMAT_FLOAT64_BE ((__force snd_pcm_format_t) 17)
178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE ((__force snd_pcm_format_t) 18)
180#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE ((__force snd_pcm_format_t) 19)
181#define SNDRV_PCM_FORMAT_MU_LAW ((__force snd_pcm_format_t) 20)
182#define SNDRV_PCM_FORMAT_A_LAW ((__force snd_pcm_format_t) 21)
183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184#define SNDRV_PCM_FORMAT_IMA_ADPCM ((__force snd_pcm_format_t) 22)
185#define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23)
186#define SNDRV_PCM_FORMAT_GSM ((__force snd_pcm_format_t) 24)
187#define SNDRV_PCM_FORMAT_SPECIAL ((__force snd_pcm_format_t) 31)
188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189#define SNDRV_PCM_FORMAT_S24_3LE ((__force snd_pcm_format_t) 32)
190#define SNDRV_PCM_FORMAT_S24_3BE ((__force snd_pcm_format_t) 33)
191#define SNDRV_PCM_FORMAT_U24_3LE ((__force snd_pcm_format_t) 34)
192#define SNDRV_PCM_FORMAT_U24_3BE ((__force snd_pcm_format_t) 35)
193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194#define SNDRV_PCM_FORMAT_S20_3LE ((__force snd_pcm_format_t) 36)
195#define SNDRV_PCM_FORMAT_S20_3BE ((__force snd_pcm_format_t) 37)
196#define SNDRV_PCM_FORMAT_U20_3LE ((__force snd_pcm_format_t) 38)
197#define SNDRV_PCM_FORMAT_U20_3BE ((__force snd_pcm_format_t) 39)
198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199#define SNDRV_PCM_FORMAT_S18_3LE ((__force snd_pcm_format_t) 40)
200#define SNDRV_PCM_FORMAT_S18_3BE ((__force snd_pcm_format_t) 41)
201#define SNDRV_PCM_FORMAT_U18_3LE ((__force snd_pcm_format_t) 42)
202#define SNDRV_PCM_FORMAT_U18_3BE ((__force snd_pcm_format_t) 43)
203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204#define SNDRV_PCM_FORMAT_G723_24 ((__force snd_pcm_format_t) 44)
205#define SNDRV_PCM_FORMAT_G723_24_1B ((__force snd_pcm_format_t) 45)
206#define SNDRV_PCM_FORMAT_G723_40 ((__force snd_pcm_format_t) 46)
207#define SNDRV_PCM_FORMAT_G723_40_1B ((__force snd_pcm_format_t) 47)
208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209#define SNDRV_PCM_FORMAT_DSD_U8 ((__force snd_pcm_format_t) 48)
210#define SNDRV_PCM_FORMAT_DSD_U16_LE ((__force snd_pcm_format_t) 49)
211#define SNDRV_PCM_FORMAT_DSD_U32_LE ((__force snd_pcm_format_t) 50)
212#define SNDRV_PCM_FORMAT_DSD_U16_BE ((__force snd_pcm_format_t) 51)
213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214#define SNDRV_PCM_FORMAT_DSD_U32_BE ((__force snd_pcm_format_t) 52)
215#define SNDRV_PCM_FORMAT_LAST SNDRV_PCM_FORMAT_DSD_U32_BE
216#ifdef SNDRV_LITTLE_ENDIAN
217#define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_LE
218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219#define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_LE
220#define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_LE
221#define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_LE
222#define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_LE
223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224#define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_LE
225#define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_LE
226#define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_LE
227#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE
228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229#endif
230#ifdef SNDRV_BIG_ENDIAN
231#define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_BE
232#define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_BE
233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234#define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_BE
235#define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_BE
236#define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_BE
237#define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_BE
238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239#define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_BE
240#define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_BE
241#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE
242#endif
243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
244typedef int __bitwise snd_pcm_subformat_t;
245#define SNDRV_PCM_SUBFORMAT_STD ((__force snd_pcm_subformat_t) 0)
246#define SNDRV_PCM_SUBFORMAT_LAST SNDRV_PCM_SUBFORMAT_STD
247#define SNDRV_PCM_INFO_MMAP 0x00000001
248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
249#define SNDRV_PCM_INFO_MMAP_VALID 0x00000002
250#define SNDRV_PCM_INFO_DOUBLE 0x00000004
251#define SNDRV_PCM_INFO_BATCH 0x00000010
252#define SNDRV_PCM_INFO_INTERLEAVED 0x00000100
253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254#define SNDRV_PCM_INFO_NONINTERLEAVED 0x00000200
255#define SNDRV_PCM_INFO_COMPLEX 0x00000400
256#define SNDRV_PCM_INFO_BLOCK_TRANSFER 0x00010000
257#define SNDRV_PCM_INFO_OVERRANGE 0x00020000
258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259#define SNDRV_PCM_INFO_RESUME 0x00040000
260#define SNDRV_PCM_INFO_PAUSE 0x00080000
261#define SNDRV_PCM_INFO_HALF_DUPLEX 0x00100000
262#define SNDRV_PCM_INFO_JOINT_DUPLEX 0x00200000
263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264#define SNDRV_PCM_INFO_SYNC_START 0x00400000
265#define SNDRV_PCM_INFO_NO_PERIOD_WAKEUP 0x00800000
266#define SNDRV_PCM_INFO_HAS_WALL_CLOCK 0x01000000
267#define SNDRV_PCM_INFO_HAS_LINK_ATIME 0x01000000
268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269#define SNDRV_PCM_INFO_HAS_LINK_ABSOLUTE_ATIME 0x02000000
270#define SNDRV_PCM_INFO_HAS_LINK_ESTIMATED_ATIME 0x04000000
271#define SNDRV_PCM_INFO_HAS_LINK_SYNCHRONIZED_ATIME 0x08000000
272#define SNDRV_PCM_INFO_DRAIN_TRIGGER 0x40000000
273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274#define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000
275typedef int __bitwise snd_pcm_state_t;
276#define SNDRV_PCM_STATE_OPEN ((__force snd_pcm_state_t) 0)
277#define SNDRV_PCM_STATE_SETUP ((__force snd_pcm_state_t) 1)
278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279#define SNDRV_PCM_STATE_PREPARED ((__force snd_pcm_state_t) 2)
280#define SNDRV_PCM_STATE_RUNNING ((__force snd_pcm_state_t) 3)
281#define SNDRV_PCM_STATE_XRUN ((__force snd_pcm_state_t) 4)
282#define SNDRV_PCM_STATE_DRAINING ((__force snd_pcm_state_t) 5)
283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
284#define SNDRV_PCM_STATE_PAUSED ((__force snd_pcm_state_t) 6)
285#define SNDRV_PCM_STATE_SUSPENDED ((__force snd_pcm_state_t) 7)
286#define SNDRV_PCM_STATE_DISCONNECTED ((__force snd_pcm_state_t) 8)
287#define SNDRV_PCM_STATE_LAST SNDRV_PCM_STATE_DISCONNECTED
288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289enum {
290  SNDRV_PCM_MMAP_OFFSET_DATA = 0x00000000,
291  SNDRV_PCM_MMAP_OFFSET_STATUS = 0x80000000,
292  SNDRV_PCM_MMAP_OFFSET_CONTROL = 0x81000000,
293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294};
295union snd_pcm_sync_id {
296  unsigned char id[16];
297  unsigned short id16[8];
298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299  unsigned int id32[4];
300};
301struct snd_pcm_info {
302  unsigned int device;
303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304  unsigned int subdevice;
305  int stream;
306  int card;
307  unsigned char id[64];
308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
309  unsigned char name[80];
310  unsigned char subname[32];
311  int dev_class;
312  int dev_subclass;
313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
314  unsigned int subdevices_count;
315  unsigned int subdevices_avail;
316  union snd_pcm_sync_id sync;
317  unsigned char reserved[64];
318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
319};
320typedef int snd_pcm_hw_param_t;
321#define SNDRV_PCM_HW_PARAM_ACCESS 0
322#define SNDRV_PCM_HW_PARAM_FORMAT 1
323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
324#define SNDRV_PCM_HW_PARAM_SUBFORMAT 2
325#define SNDRV_PCM_HW_PARAM_FIRST_MASK SNDRV_PCM_HW_PARAM_ACCESS
326#define SNDRV_PCM_HW_PARAM_LAST_MASK SNDRV_PCM_HW_PARAM_SUBFORMAT
327#define SNDRV_PCM_HW_PARAM_SAMPLE_BITS 8
328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
329#define SNDRV_PCM_HW_PARAM_FRAME_BITS 9
330#define SNDRV_PCM_HW_PARAM_CHANNELS 10
331#define SNDRV_PCM_HW_PARAM_RATE 11
332#define SNDRV_PCM_HW_PARAM_PERIOD_TIME 12
333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
334#define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13
335#define SNDRV_PCM_HW_PARAM_PERIOD_BYTES 14
336#define SNDRV_PCM_HW_PARAM_PERIODS 15
337#define SNDRV_PCM_HW_PARAM_BUFFER_TIME 16
338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
339#define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17
340#define SNDRV_PCM_HW_PARAM_BUFFER_BYTES 18
341#define SNDRV_PCM_HW_PARAM_TICK_TIME 19
342#define SNDRV_PCM_HW_PARAM_FIRST_INTERVAL SNDRV_PCM_HW_PARAM_SAMPLE_BITS
343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344#define SNDRV_PCM_HW_PARAM_LAST_INTERVAL SNDRV_PCM_HW_PARAM_TICK_TIME
345#define SNDRV_PCM_HW_PARAMS_NORESAMPLE (1 << 0)
346#define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER (1 << 1)
347#define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1 << 2)
348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
349struct snd_interval {
350  unsigned int min, max;
351  unsigned int openmin : 1, openmax : 1, integer : 1, empty : 1;
352};
353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
354#define SNDRV_MASK_MAX 256
355struct snd_mask {
356  __u32 bits[(SNDRV_MASK_MAX + 31) / 32];
357};
358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359struct snd_pcm_hw_params {
360  unsigned int flags;
361  struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - SNDRV_PCM_HW_PARAM_FIRST_MASK + 1];
362  struct snd_mask mres[5];
363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
364  struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL + 1];
365  struct snd_interval ires[9];
366  unsigned int rmask;
367  unsigned int cmask;
368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
369  unsigned int info;
370  unsigned int msbits;
371  unsigned int rate_num;
372  unsigned int rate_den;
373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
374  snd_pcm_uframes_t fifo_size;
375  unsigned char reserved[64];
376};
377enum {
378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
379  SNDRV_PCM_TSTAMP_NONE = 0,
380  SNDRV_PCM_TSTAMP_ENABLE,
381  SNDRV_PCM_TSTAMP_LAST = SNDRV_PCM_TSTAMP_ENABLE,
382};
383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
384struct snd_pcm_sw_params {
385  int tstamp_mode;
386  unsigned int period_step;
387  unsigned int sleep_min;
388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
389  snd_pcm_uframes_t avail_min;
390  snd_pcm_uframes_t xfer_align;
391  snd_pcm_uframes_t start_threshold;
392  snd_pcm_uframes_t stop_threshold;
393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
394  snd_pcm_uframes_t silence_threshold;
395  snd_pcm_uframes_t silence_size;
396  snd_pcm_uframes_t boundary;
397  unsigned int proto;
398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
399  unsigned int tstamp_type;
400  unsigned char reserved[56];
401};
402struct snd_pcm_channel_info {
403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
404  unsigned int channel;
405  __kernel_off_t offset;
406  unsigned int first;
407  unsigned int step;
408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
409};
410enum {
411  SNDRV_PCM_AUDIO_TSTAMP_TYPE_COMPAT = 0,
412  SNDRV_PCM_AUDIO_TSTAMP_TYPE_DEFAULT = 1,
413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
414  SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK = 2,
415  SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ABSOLUTE = 3,
416  SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ESTIMATED = 4,
417  SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED = 5,
418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
419  SNDRV_PCM_AUDIO_TSTAMP_TYPE_LAST = SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED
420};
421struct snd_pcm_status {
422  snd_pcm_state_t state;
423/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
424  struct timespec trigger_tstamp;
425  struct timespec tstamp;
426  snd_pcm_uframes_t appl_ptr;
427  snd_pcm_uframes_t hw_ptr;
428/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
429  snd_pcm_sframes_t delay;
430  snd_pcm_uframes_t avail;
431  snd_pcm_uframes_t avail_max;
432  snd_pcm_uframes_t overrange;
433/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
434  snd_pcm_state_t suspended_state;
435  __u32 audio_tstamp_data;
436  struct timespec audio_tstamp;
437  struct timespec driver_tstamp;
438/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
439  __u32 audio_tstamp_accuracy;
440  unsigned char reserved[52 - 2 * sizeof(struct timespec)];
441};
442struct snd_pcm_mmap_status {
443/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
444  snd_pcm_state_t state;
445  int pad1;
446  snd_pcm_uframes_t hw_ptr;
447  struct timespec tstamp;
448/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
449  snd_pcm_state_t suspended_state;
450  struct timespec audio_tstamp;
451};
452struct snd_pcm_mmap_control {
453/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
454  snd_pcm_uframes_t appl_ptr;
455  snd_pcm_uframes_t avail_min;
456};
457#define SNDRV_PCM_SYNC_PTR_HWSYNC (1 << 0)
458/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
459#define SNDRV_PCM_SYNC_PTR_APPL (1 << 1)
460#define SNDRV_PCM_SYNC_PTR_AVAIL_MIN (1 << 2)
461struct snd_pcm_sync_ptr {
462  unsigned int flags;
463/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
464  union {
465    struct snd_pcm_mmap_status status;
466    unsigned char reserved[64];
467  } s;
468/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
469  union {
470    struct snd_pcm_mmap_control control;
471    unsigned char reserved[64];
472  } c;
473/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
474};
475struct snd_xferi {
476  snd_pcm_sframes_t result;
477  void __user * buf;
478/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
479  snd_pcm_uframes_t frames;
480};
481struct snd_xfern {
482  snd_pcm_sframes_t result;
483/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
484  void __user * __user * bufs;
485  snd_pcm_uframes_t frames;
486};
487enum {
488/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
489  SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY = 0,
490  SNDRV_PCM_TSTAMP_TYPE_MONOTONIC,
491  SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW,
492  SNDRV_PCM_TSTAMP_TYPE_LAST = SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW,
493/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
494};
495enum {
496  SNDRV_CHMAP_UNKNOWN = 0,
497  SNDRV_CHMAP_NA,
498/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
499  SNDRV_CHMAP_MONO,
500  SNDRV_CHMAP_FL,
501  SNDRV_CHMAP_FR,
502  SNDRV_CHMAP_RL,
503/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
504  SNDRV_CHMAP_RR,
505  SNDRV_CHMAP_FC,
506  SNDRV_CHMAP_LFE,
507  SNDRV_CHMAP_SL,
508/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
509  SNDRV_CHMAP_SR,
510  SNDRV_CHMAP_RC,
511  SNDRV_CHMAP_FLC,
512  SNDRV_CHMAP_FRC,
513/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
514  SNDRV_CHMAP_RLC,
515  SNDRV_CHMAP_RRC,
516  SNDRV_CHMAP_FLW,
517  SNDRV_CHMAP_FRW,
518/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
519  SNDRV_CHMAP_FLH,
520  SNDRV_CHMAP_FCH,
521  SNDRV_CHMAP_FRH,
522  SNDRV_CHMAP_TC,
523/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
524  SNDRV_CHMAP_TFL,
525  SNDRV_CHMAP_TFR,
526  SNDRV_CHMAP_TFC,
527  SNDRV_CHMAP_TRL,
528/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
529  SNDRV_CHMAP_TRR,
530  SNDRV_CHMAP_TRC,
531  SNDRV_CHMAP_TFLC,
532  SNDRV_CHMAP_TFRC,
533/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
534  SNDRV_CHMAP_TSL,
535  SNDRV_CHMAP_TSR,
536  SNDRV_CHMAP_LLFE,
537  SNDRV_CHMAP_RLFE,
538/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
539  SNDRV_CHMAP_BC,
540  SNDRV_CHMAP_BLC,
541  SNDRV_CHMAP_BRC,
542  SNDRV_CHMAP_LAST = SNDRV_CHMAP_BRC,
543/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
544};
545#define SNDRV_CHMAP_POSITION_MASK 0xffff
546#define SNDRV_CHMAP_PHASE_INVERSE (0x01 << 16)
547#define SNDRV_CHMAP_DRIVER_SPEC (0x02 << 16)
548/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
549#define SNDRV_PCM_IOCTL_PVERSION _IOR('A', 0x00, int)
550#define SNDRV_PCM_IOCTL_INFO _IOR('A', 0x01, struct snd_pcm_info)
551#define SNDRV_PCM_IOCTL_TSTAMP _IOW('A', 0x02, int)
552#define SNDRV_PCM_IOCTL_TTSTAMP _IOW('A', 0x03, int)
553/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
554#define SNDRV_PCM_IOCTL_HW_REFINE _IOWR('A', 0x10, struct snd_pcm_hw_params)
555#define SNDRV_PCM_IOCTL_HW_PARAMS _IOWR('A', 0x11, struct snd_pcm_hw_params)
556#define SNDRV_PCM_IOCTL_HW_FREE _IO('A', 0x12)
557#define SNDRV_PCM_IOCTL_SW_PARAMS _IOWR('A', 0x13, struct snd_pcm_sw_params)
558/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
559#define SNDRV_PCM_IOCTL_STATUS _IOR('A', 0x20, struct snd_pcm_status)
560#define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
561#define SNDRV_PCM_IOCTL_HWSYNC _IO('A', 0x22)
562#define SNDRV_PCM_IOCTL_SYNC_PTR _IOWR('A', 0x23, struct snd_pcm_sync_ptr)
563/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
564#define SNDRV_PCM_IOCTL_STATUS_EXT _IOWR('A', 0x24, struct snd_pcm_status)
565#define SNDRV_PCM_IOCTL_CHANNEL_INFO _IOR('A', 0x32, struct snd_pcm_channel_info)
566#define SNDRV_PCM_IOCTL_PREPARE _IO('A', 0x40)
567#define SNDRV_PCM_IOCTL_RESET _IO('A', 0x41)
568/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
569#define SNDRV_PCM_IOCTL_START _IO('A', 0x42)
570#define SNDRV_PCM_IOCTL_DROP _IO('A', 0x43)
571#define SNDRV_PCM_IOCTL_DRAIN _IO('A', 0x44)
572#define SNDRV_PCM_IOCTL_PAUSE _IOW('A', 0x45, int)
573/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
574#define SNDRV_PCM_IOCTL_REWIND _IOW('A', 0x46, snd_pcm_uframes_t)
575#define SNDRV_PCM_IOCTL_RESUME _IO('A', 0x47)
576#define SNDRV_PCM_IOCTL_XRUN _IO('A', 0x48)
577#define SNDRV_PCM_IOCTL_FORWARD _IOW('A', 0x49, snd_pcm_uframes_t)
578/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
579#define SNDRV_PCM_IOCTL_WRITEI_FRAMES _IOW('A', 0x50, struct snd_xferi)
580#define SNDRV_PCM_IOCTL_READI_FRAMES _IOR('A', 0x51, struct snd_xferi)
581#define SNDRV_PCM_IOCTL_WRITEN_FRAMES _IOW('A', 0x52, struct snd_xfern)
582#define SNDRV_PCM_IOCTL_READN_FRAMES _IOR('A', 0x53, struct snd_xfern)
583/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
584#define SNDRV_PCM_IOCTL_LINK _IOW('A', 0x60, int)
585#define SNDRV_PCM_IOCTL_UNLINK _IO('A', 0x61)
586#define SNDRV_RAWMIDI_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 0)
587enum {
588/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
589  SNDRV_RAWMIDI_STREAM_OUTPUT = 0,
590  SNDRV_RAWMIDI_STREAM_INPUT,
591  SNDRV_RAWMIDI_STREAM_LAST = SNDRV_RAWMIDI_STREAM_INPUT,
592};
593/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
594#define SNDRV_RAWMIDI_INFO_OUTPUT 0x00000001
595#define SNDRV_RAWMIDI_INFO_INPUT 0x00000002
596#define SNDRV_RAWMIDI_INFO_DUPLEX 0x00000004
597struct snd_rawmidi_info {
598/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
599  unsigned int device;
600  unsigned int subdevice;
601  int stream;
602  int card;
603/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
604  unsigned int flags;
605  unsigned char id[64];
606  unsigned char name[80];
607  unsigned char subname[32];
608/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
609  unsigned int subdevices_count;
610  unsigned int subdevices_avail;
611  unsigned char reserved[64];
612};
613/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
614struct snd_rawmidi_params {
615  int stream;
616  size_t buffer_size;
617  size_t avail_min;
618/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
619  unsigned int no_active_sensing : 1;
620  unsigned char reserved[16];
621};
622struct snd_rawmidi_status {
623/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
624  int stream;
625  struct timespec tstamp;
626  size_t avail;
627  size_t xruns;
628/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
629  unsigned char reserved[16];
630};
631#define SNDRV_RAWMIDI_IOCTL_PVERSION _IOR('W', 0x00, int)
632#define SNDRV_RAWMIDI_IOCTL_INFO _IOR('W', 0x01, struct snd_rawmidi_info)
633/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
634#define SNDRV_RAWMIDI_IOCTL_PARAMS _IOWR('W', 0x10, struct snd_rawmidi_params)
635#define SNDRV_RAWMIDI_IOCTL_STATUS _IOWR('W', 0x20, struct snd_rawmidi_status)
636#define SNDRV_RAWMIDI_IOCTL_DROP _IOW('W', 0x30, int)
637#define SNDRV_RAWMIDI_IOCTL_DRAIN _IOW('W', 0x31, int)
638/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
639#define SNDRV_TIMER_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 6)
640enum {
641  SNDRV_TIMER_CLASS_NONE = - 1,
642  SNDRV_TIMER_CLASS_SLAVE = 0,
643/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
644  SNDRV_TIMER_CLASS_GLOBAL,
645  SNDRV_TIMER_CLASS_CARD,
646  SNDRV_TIMER_CLASS_PCM,
647  SNDRV_TIMER_CLASS_LAST = SNDRV_TIMER_CLASS_PCM,
648/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
649};
650enum {
651  SNDRV_TIMER_SCLASS_NONE = 0,
652  SNDRV_TIMER_SCLASS_APPLICATION,
653/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
654  SNDRV_TIMER_SCLASS_SEQUENCER,
655  SNDRV_TIMER_SCLASS_OSS_SEQUENCER,
656  SNDRV_TIMER_SCLASS_LAST = SNDRV_TIMER_SCLASS_OSS_SEQUENCER,
657};
658/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
659#define SNDRV_TIMER_GLOBAL_SYSTEM 0
660#define SNDRV_TIMER_GLOBAL_RTC 1
661#define SNDRV_TIMER_GLOBAL_HPET 2
662#define SNDRV_TIMER_GLOBAL_HRTIMER 3
663/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
664#define SNDRV_TIMER_FLG_SLAVE (1 << 0)
665struct snd_timer_id {
666  int dev_class;
667  int dev_sclass;
668/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
669  int card;
670  int device;
671  int subdevice;
672};
673/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
674struct snd_timer_ginfo {
675  struct snd_timer_id tid;
676  unsigned int flags;
677  int card;
678/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
679  unsigned char id[64];
680  unsigned char name[80];
681  unsigned long reserved0;
682  unsigned long resolution;
683/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
684  unsigned long resolution_min;
685  unsigned long resolution_max;
686  unsigned int clients;
687  unsigned char reserved[32];
688/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
689};
690struct snd_timer_gparams {
691  struct snd_timer_id tid;
692  unsigned long period_num;
693/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
694  unsigned long period_den;
695  unsigned char reserved[32];
696};
697struct snd_timer_gstatus {
698/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
699  struct snd_timer_id tid;
700  unsigned long resolution;
701  unsigned long resolution_num;
702  unsigned long resolution_den;
703/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
704  unsigned char reserved[32];
705};
706struct snd_timer_select {
707  struct snd_timer_id id;
708/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
709  unsigned char reserved[32];
710};
711struct snd_timer_info {
712  unsigned int flags;
713/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
714  int card;
715  unsigned char id[64];
716  unsigned char name[80];
717  unsigned long reserved0;
718/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
719  unsigned long resolution;
720  unsigned char reserved[64];
721};
722#define SNDRV_TIMER_PSFLG_AUTO (1 << 0)
723/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
724#define SNDRV_TIMER_PSFLG_EXCLUSIVE (1 << 1)
725#define SNDRV_TIMER_PSFLG_EARLY_EVENT (1 << 2)
726struct snd_timer_params {
727  unsigned int flags;
728/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
729  unsigned int ticks;
730  unsigned int queue_size;
731  unsigned int reserved0;
732  unsigned int filter;
733/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
734  unsigned char reserved[60];
735};
736struct snd_timer_status {
737  struct timespec tstamp;
738/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
739  unsigned int resolution;
740  unsigned int lost;
741  unsigned int overrun;
742  unsigned int queue;
743/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
744  unsigned char reserved[64];
745};
746#define SNDRV_TIMER_IOCTL_PVERSION _IOR('T', 0x00, int)
747#define SNDRV_TIMER_IOCTL_NEXT_DEVICE _IOWR('T', 0x01, struct snd_timer_id)
748/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
749#define SNDRV_TIMER_IOCTL_TREAD _IOW('T', 0x02, int)
750#define SNDRV_TIMER_IOCTL_GINFO _IOWR('T', 0x03, struct snd_timer_ginfo)
751#define SNDRV_TIMER_IOCTL_GPARAMS _IOW('T', 0x04, struct snd_timer_gparams)
752#define SNDRV_TIMER_IOCTL_GSTATUS _IOWR('T', 0x05, struct snd_timer_gstatus)
753/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
754#define SNDRV_TIMER_IOCTL_SELECT _IOW('T', 0x10, struct snd_timer_select)
755#define SNDRV_TIMER_IOCTL_INFO _IOR('T', 0x11, struct snd_timer_info)
756#define SNDRV_TIMER_IOCTL_PARAMS _IOW('T', 0x12, struct snd_timer_params)
757#define SNDRV_TIMER_IOCTL_STATUS _IOR('T', 0x14, struct snd_timer_status)
758/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
759#define SNDRV_TIMER_IOCTL_START _IO('T', 0xa0)
760#define SNDRV_TIMER_IOCTL_STOP _IO('T', 0xa1)
761#define SNDRV_TIMER_IOCTL_CONTINUE _IO('T', 0xa2)
762#define SNDRV_TIMER_IOCTL_PAUSE _IO('T', 0xa3)
763/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
764struct snd_timer_read {
765  unsigned int resolution;
766  unsigned int ticks;
767};
768/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
769enum {
770  SNDRV_TIMER_EVENT_RESOLUTION = 0,
771  SNDRV_TIMER_EVENT_TICK,
772  SNDRV_TIMER_EVENT_START,
773/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
774  SNDRV_TIMER_EVENT_STOP,
775  SNDRV_TIMER_EVENT_CONTINUE,
776  SNDRV_TIMER_EVENT_PAUSE,
777  SNDRV_TIMER_EVENT_EARLY,
778/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
779  SNDRV_TIMER_EVENT_SUSPEND,
780  SNDRV_TIMER_EVENT_RESUME,
781  SNDRV_TIMER_EVENT_MSTART = SNDRV_TIMER_EVENT_START + 10,
782  SNDRV_TIMER_EVENT_MSTOP = SNDRV_TIMER_EVENT_STOP + 10,
783/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
784  SNDRV_TIMER_EVENT_MCONTINUE = SNDRV_TIMER_EVENT_CONTINUE + 10,
785  SNDRV_TIMER_EVENT_MPAUSE = SNDRV_TIMER_EVENT_PAUSE + 10,
786  SNDRV_TIMER_EVENT_MSUSPEND = SNDRV_TIMER_EVENT_SUSPEND + 10,
787  SNDRV_TIMER_EVENT_MRESUME = SNDRV_TIMER_EVENT_RESUME + 10,
788/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
789};
790struct snd_timer_tread {
791  int event;
792  struct timespec tstamp;
793/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
794  unsigned int val;
795};
796#define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 7)
797struct snd_ctl_card_info {
798/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
799  int card;
800  int pad;
801  unsigned char id[16];
802  unsigned char driver[16];
803/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
804  unsigned char name[32];
805  unsigned char longname[80];
806  unsigned char reserved_[16];
807  unsigned char mixername[80];
808/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
809  unsigned char components[128];
810};
811typedef int __bitwise snd_ctl_elem_type_t;
812#define SNDRV_CTL_ELEM_TYPE_NONE ((__force snd_ctl_elem_type_t) 0)
813/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
814#define SNDRV_CTL_ELEM_TYPE_BOOLEAN ((__force snd_ctl_elem_type_t) 1)
815#define SNDRV_CTL_ELEM_TYPE_INTEGER ((__force snd_ctl_elem_type_t) 2)
816#define SNDRV_CTL_ELEM_TYPE_ENUMERATED ((__force snd_ctl_elem_type_t) 3)
817#define SNDRV_CTL_ELEM_TYPE_BYTES ((__force snd_ctl_elem_type_t) 4)
818/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
819#define SNDRV_CTL_ELEM_TYPE_IEC958 ((__force snd_ctl_elem_type_t) 5)
820#define SNDRV_CTL_ELEM_TYPE_INTEGER64 ((__force snd_ctl_elem_type_t) 6)
821#define SNDRV_CTL_ELEM_TYPE_LAST SNDRV_CTL_ELEM_TYPE_INTEGER64
822typedef int __bitwise snd_ctl_elem_iface_t;
823/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
824#define SNDRV_CTL_ELEM_IFACE_CARD ((__force snd_ctl_elem_iface_t) 0)
825#define SNDRV_CTL_ELEM_IFACE_HWDEP ((__force snd_ctl_elem_iface_t) 1)
826#define SNDRV_CTL_ELEM_IFACE_MIXER ((__force snd_ctl_elem_iface_t) 2)
827#define SNDRV_CTL_ELEM_IFACE_PCM ((__force snd_ctl_elem_iface_t) 3)
828/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
829#define SNDRV_CTL_ELEM_IFACE_RAWMIDI ((__force snd_ctl_elem_iface_t) 4)
830#define SNDRV_CTL_ELEM_IFACE_TIMER ((__force snd_ctl_elem_iface_t) 5)
831#define SNDRV_CTL_ELEM_IFACE_SEQUENCER ((__force snd_ctl_elem_iface_t) 6)
832#define SNDRV_CTL_ELEM_IFACE_LAST SNDRV_CTL_ELEM_IFACE_SEQUENCER
833/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
834#define SNDRV_CTL_ELEM_ACCESS_READ (1 << 0)
835#define SNDRV_CTL_ELEM_ACCESS_WRITE (1 << 1)
836#define SNDRV_CTL_ELEM_ACCESS_READWRITE (SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_WRITE)
837#define SNDRV_CTL_ELEM_ACCESS_VOLATILE (1 << 2)
838/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
839#define SNDRV_CTL_ELEM_ACCESS_TIMESTAMP (1 << 3)
840#define SNDRV_CTL_ELEM_ACCESS_TLV_READ (1 << 4)
841#define SNDRV_CTL_ELEM_ACCESS_TLV_WRITE (1 << 5)
842#define SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE (SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_TLV_WRITE)
843/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
844#define SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND (1 << 6)
845#define SNDRV_CTL_ELEM_ACCESS_INACTIVE (1 << 8)
846#define SNDRV_CTL_ELEM_ACCESS_LOCK (1 << 9)
847#define SNDRV_CTL_ELEM_ACCESS_OWNER (1 << 10)
848/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
849#define SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK (1 << 28)
850#define SNDRV_CTL_ELEM_ACCESS_USER (1 << 29)
851#define SNDRV_CTL_POWER_D0 0x0000
852#define SNDRV_CTL_POWER_D1 0x0100
853/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
854#define SNDRV_CTL_POWER_D2 0x0200
855#define SNDRV_CTL_POWER_D3 0x0300
856#define SNDRV_CTL_POWER_D3hot (SNDRV_CTL_POWER_D3 | 0x0000)
857#define SNDRV_CTL_POWER_D3cold (SNDRV_CTL_POWER_D3 | 0x0001)
858/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
859#define SNDRV_CTL_ELEM_ID_NAME_MAXLEN 44
860struct snd_ctl_elem_id {
861  unsigned int numid;
862  snd_ctl_elem_iface_t iface;
863/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
864  unsigned int device;
865  unsigned int subdevice;
866  unsigned char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
867  unsigned int index;
868/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
869};
870struct snd_ctl_elem_list {
871  unsigned int offset;
872  unsigned int space;
873/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
874  unsigned int used;
875  unsigned int count;
876  struct snd_ctl_elem_id __user * pids;
877  unsigned char reserved[50];
878/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
879};
880struct snd_ctl_elem_info {
881  struct snd_ctl_elem_id id;
882  snd_ctl_elem_type_t type;
883/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
884  unsigned int access;
885  unsigned int count;
886  __kernel_pid_t owner;
887  union {
888/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
889    struct {
890      long min;
891      long max;
892      long step;
893/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
894    } integer;
895    struct {
896      long long min;
897      long long max;
898/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
899      long long step;
900    } integer64;
901    struct {
902      unsigned int items;
903/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
904      unsigned int item;
905      char name[64];
906      __u64 names_ptr;
907      unsigned int names_length;
908/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
909    } enumerated;
910    unsigned char reserved[128];
911  } value;
912  union {
913/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
914    unsigned short d[4];
915    unsigned short * d_ptr;
916  } dimen;
917  unsigned char reserved[64 - 4 * sizeof(unsigned short)];
918/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
919};
920struct snd_ctl_elem_value {
921  struct snd_ctl_elem_id id;
922  unsigned int indirect : 1;
923/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
924  union {
925    union {
926      long value[128];
927      long * value_ptr;
928/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
929    } integer;
930    union {
931      long long value[64];
932      long long * value_ptr;
933/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
934    } integer64;
935    union {
936      unsigned int item[128];
937      unsigned int * item_ptr;
938/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
939    } enumerated;
940    union {
941      unsigned char data[512];
942      unsigned char * data_ptr;
943/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
944    } bytes;
945    struct snd_aes_iec958 iec958;
946  } value;
947  struct timespec tstamp;
948/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
949  unsigned char reserved[128 - sizeof(struct timespec)];
950};
951struct snd_ctl_tlv {
952  unsigned int numid;
953/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
954  unsigned int length;
955  unsigned int tlv[0];
956};
957#define SNDRV_CTL_IOCTL_PVERSION _IOR('U', 0x00, int)
958/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
959#define SNDRV_CTL_IOCTL_CARD_INFO _IOR('U', 0x01, struct snd_ctl_card_info)
960#define SNDRV_CTL_IOCTL_ELEM_LIST _IOWR('U', 0x10, struct snd_ctl_elem_list)
961#define SNDRV_CTL_IOCTL_ELEM_INFO _IOWR('U', 0x11, struct snd_ctl_elem_info)
962#define SNDRV_CTL_IOCTL_ELEM_READ _IOWR('U', 0x12, struct snd_ctl_elem_value)
963/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
964#define SNDRV_CTL_IOCTL_ELEM_WRITE _IOWR('U', 0x13, struct snd_ctl_elem_value)
965#define SNDRV_CTL_IOCTL_ELEM_LOCK _IOW('U', 0x14, struct snd_ctl_elem_id)
966#define SNDRV_CTL_IOCTL_ELEM_UNLOCK _IOW('U', 0x15, struct snd_ctl_elem_id)
967#define SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS _IOWR('U', 0x16, int)
968/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
969#define SNDRV_CTL_IOCTL_ELEM_ADD _IOWR('U', 0x17, struct snd_ctl_elem_info)
970#define SNDRV_CTL_IOCTL_ELEM_REPLACE _IOWR('U', 0x18, struct snd_ctl_elem_info)
971#define SNDRV_CTL_IOCTL_ELEM_REMOVE _IOWR('U', 0x19, struct snd_ctl_elem_id)
972#define SNDRV_CTL_IOCTL_TLV_READ _IOWR('U', 0x1a, struct snd_ctl_tlv)
973/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
974#define SNDRV_CTL_IOCTL_TLV_WRITE _IOWR('U', 0x1b, struct snd_ctl_tlv)
975#define SNDRV_CTL_IOCTL_TLV_COMMAND _IOWR('U', 0x1c, struct snd_ctl_tlv)
976#define SNDRV_CTL_IOCTL_HWDEP_NEXT_DEVICE _IOWR('U', 0x20, int)
977#define SNDRV_CTL_IOCTL_HWDEP_INFO _IOR('U', 0x21, struct snd_hwdep_info)
978/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
979#define SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE _IOR('U', 0x30, int)
980#define SNDRV_CTL_IOCTL_PCM_INFO _IOWR('U', 0x31, struct snd_pcm_info)
981#define SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE _IOW('U', 0x32, int)
982#define SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE _IOWR('U', 0x40, int)
983/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
984#define SNDRV_CTL_IOCTL_RAWMIDI_INFO _IOWR('U', 0x41, struct snd_rawmidi_info)
985#define SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE _IOW('U', 0x42, int)
986#define SNDRV_CTL_IOCTL_POWER _IOWR('U', 0xd0, int)
987#define SNDRV_CTL_IOCTL_POWER_STATE _IOR('U', 0xd1, int)
988/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
989enum sndrv_ctl_event_type {
990  SNDRV_CTL_EVENT_ELEM = 0,
991  SNDRV_CTL_EVENT_LAST = SNDRV_CTL_EVENT_ELEM,
992};
993/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
994#define SNDRV_CTL_EVENT_MASK_VALUE (1 << 0)
995#define SNDRV_CTL_EVENT_MASK_INFO (1 << 1)
996#define SNDRV_CTL_EVENT_MASK_ADD (1 << 2)
997#define SNDRV_CTL_EVENT_MASK_TLV (1 << 3)
998/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
999#define SNDRV_CTL_EVENT_MASK_REMOVE (~0U)
1000struct snd_ctl_event {
1001  int type;
1002  union {
1003/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1004    struct {
1005      unsigned int mask;
1006      struct snd_ctl_elem_id id;
1007    } elem;
1008/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1009    unsigned char data8[60];
1010  } data;
1011};
1012#define SNDRV_CTL_NAME_NONE ""
1013/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1014#define SNDRV_CTL_NAME_PLAYBACK "Playback "
1015#define SNDRV_CTL_NAME_CAPTURE "Capture "
1016#define SNDRV_CTL_NAME_IEC958_NONE ""
1017#define SNDRV_CTL_NAME_IEC958_SWITCH "Switch"
1018/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1019#define SNDRV_CTL_NAME_IEC958_VOLUME "Volume"
1020#define SNDRV_CTL_NAME_IEC958_DEFAULT "Default"
1021#define SNDRV_CTL_NAME_IEC958_MASK "Mask"
1022#define SNDRV_CTL_NAME_IEC958_CON_MASK "Con Mask"
1023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1024#define SNDRV_CTL_NAME_IEC958_PRO_MASK "Pro Mask"
1025#define SNDRV_CTL_NAME_IEC958_PCM_STREAM "PCM Stream"
1026#define SNDRV_CTL_NAME_IEC958(expl,direction,what) "IEC958 " expl SNDRV_CTL_NAME_ ##direction SNDRV_CTL_NAME_IEC958_ ##what
1027#endif
1028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1029