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__LINUX_USB_AUDIO_H
20 #define _UAPI__LINUX_USB_AUDIO_H
21 #include <linux/types.h>
22 #define UAC_VERSION_1 0x00
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define UAC_VERSION_2 0x20
25 #define USB_SUBCLASS_AUDIOCONTROL 0x01
26 #define USB_SUBCLASS_AUDIOSTREAMING 0x02
27 #define USB_SUBCLASS_MIDISTREAMING 0x03
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define UAC_HEADER 0x01
30 #define UAC_INPUT_TERMINAL 0x02
31 #define UAC_OUTPUT_TERMINAL 0x03
32 #define UAC_MIXER_UNIT 0x04
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define UAC_SELECTOR_UNIT 0x05
35 #define UAC_FEATURE_UNIT 0x06
36 #define UAC1_PROCESSING_UNIT 0x07
37 #define UAC1_EXTENSION_UNIT 0x08
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define UAC_AS_GENERAL 0x01
40 #define UAC_FORMAT_TYPE 0x02
41 #define UAC_FORMAT_SPECIFIC 0x03
42 #define UAC_PROCESS_UNDEFINED 0x00
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define UAC_PROCESS_UP_DOWNMIX 0x01
45 #define UAC_PROCESS_DOLBY_PROLOGIC 0x02
46 #define UAC_PROCESS_STEREO_EXTENDER 0x03
47 #define UAC_PROCESS_REVERB 0x04
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define UAC_PROCESS_CHORUS 0x05
50 #define UAC_PROCESS_DYN_RANGE_COMP 0x06
51 #define UAC_EP_GENERAL 0x01
52 #define UAC_SET_ 0x00
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define UAC_GET_ 0x80
55 #define UAC__CUR 0x1
56 #define UAC__MIN 0x2
57 #define UAC__MAX 0x3
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define UAC__RES 0x4
60 #define UAC__MEM 0x5
61 #define UAC_SET_CUR (UAC_SET_ | UAC__CUR)
62 #define UAC_GET_CUR (UAC_GET_ | UAC__CUR)
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 #define UAC_SET_MIN (UAC_SET_ | UAC__MIN)
65 #define UAC_GET_MIN (UAC_GET_ | UAC__MIN)
66 #define UAC_SET_MAX (UAC_SET_ | UAC__MAX)
67 #define UAC_GET_MAX (UAC_GET_ | UAC__MAX)
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 #define UAC_SET_RES (UAC_SET_ | UAC__RES)
70 #define UAC_GET_RES (UAC_GET_ | UAC__RES)
71 #define UAC_SET_MEM (UAC_SET_ | UAC__MEM)
72 #define UAC_GET_MEM (UAC_GET_ | UAC__MEM)
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 #define UAC_GET_STAT 0xff
75 #define UAC_TERM_COPY_PROTECT 0x01
76 #define UAC_FU_MUTE 0x01
77 #define UAC_FU_VOLUME 0x02
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 #define UAC_FU_BASS 0x03
80 #define UAC_FU_MID 0x04
81 #define UAC_FU_TREBLE 0x05
82 #define UAC_FU_GRAPHIC_EQUALIZER 0x06
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 #define UAC_FU_AUTOMATIC_GAIN 0x07
85 #define UAC_FU_DELAY 0x08
86 #define UAC_FU_BASS_BOOST 0x09
87 #define UAC_FU_LOUDNESS 0x0a
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 #define UAC_CONTROL_BIT(CS) (1 << ((CS) - 1))
90 #define UAC_UD_ENABLE 0x01
91 #define UAC_UD_MODE_SELECT 0x02
92 #define UAC_DP_ENABLE 0x01
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 #define UAC_DP_MODE_SELECT 0x02
95 #define UAC_3D_ENABLE 0x01
96 #define UAC_3D_SPACE 0x02
97 #define UAC_REVERB_ENABLE 0x01
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 #define UAC_REVERB_LEVEL 0x02
100 #define UAC_REVERB_TIME 0x03
101 #define UAC_REVERB_FEEDBACK 0x04
102 #define UAC_CHORUS_ENABLE 0x01
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 #define UAC_CHORUS_LEVEL 0x02
105 #define UAC_CHORUS_RATE 0x03
106 #define UAC_CHORUS_DEPTH 0x04
107 #define UAC_DCR_ENABLE 0x01
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 #define UAC_DCR_RATE 0x02
110 #define UAC_DCR_MAXAMPL 0x03
111 #define UAC_DCR_THRESHOLD 0x04
112 #define UAC_DCR_ATTACK_TIME 0x05
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114 #define UAC_DCR_RELEASE_TIME 0x06
115 #define UAC_XU_ENABLE 0x01
116 #define UAC_MS_HEADER 0x01
117 #define UAC_MIDI_IN_JACK 0x02
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119 #define UAC_MIDI_OUT_JACK 0x03
120 #define UAC_MS_GENERAL 0x01
121 #define UAC_TERMINAL_UNDEFINED 0x100
122 #define UAC_TERMINAL_STREAMING 0x101
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124 #define UAC_TERMINAL_VENDOR_SPEC 0x1FF
125 struct uac1_ac_header_descriptor {
126  __u8 bLength;
127  __u8 bDescriptorType;
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129  __u8 bDescriptorSubtype;
130  __le16 bcdADC;
131  __le16 wTotalLength;
132  __u8 bInCollection;
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134  __u8 baInterfaceNr[];
135 } __attribute__ ((packed));
136 #define UAC_DT_AC_HEADER_SIZE(n) (8 + (n))
137 #define DECLARE_UAC_AC_HEADER_DESCRIPTOR(n)  struct uac1_ac_header_descriptor_##n {   __u8 bLength;   __u8 bDescriptorType;   __u8 bDescriptorSubtype;   __le16 bcdADC;   __le16 wTotalLength;   __u8 bInCollection;   __u8 baInterfaceNr[n];  } __attribute__ ((packed))
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139 struct uac_input_terminal_descriptor {
140  __u8 bLength;
141  __u8 bDescriptorType;
142  __u8 bDescriptorSubtype;
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144  __u8 bTerminalID;
145  __le16 wTerminalType;
146  __u8 bAssocTerminal;
147  __u8 bNrChannels;
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149  __le16 wChannelConfig;
150  __u8 iChannelNames;
151  __u8 iTerminal;
152 } __attribute__ ((packed));
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154 #define UAC_DT_INPUT_TERMINAL_SIZE 12
155 #define UAC_INPUT_TERMINAL_UNDEFINED 0x200
156 #define UAC_INPUT_TERMINAL_MICROPHONE 0x201
157 #define UAC_INPUT_TERMINAL_DESKTOP_MICROPHONE 0x202
158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159 #define UAC_INPUT_TERMINAL_PERSONAL_MICROPHONE 0x203
160 #define UAC_INPUT_TERMINAL_OMNI_DIR_MICROPHONE 0x204
161 #define UAC_INPUT_TERMINAL_MICROPHONE_ARRAY 0x205
162 #define UAC_INPUT_TERMINAL_PROC_MICROPHONE_ARRAY 0x206
163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164 #define UAC_TERMINAL_CS_COPY_PROTECT_CONTROL 0x01
165 struct uac1_output_terminal_descriptor {
166  __u8 bLength;
167  __u8 bDescriptorType;
168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169  __u8 bDescriptorSubtype;
170  __u8 bTerminalID;
171  __le16 wTerminalType;
172  __u8 bAssocTerminal;
173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174  __u8 bSourceID;
175  __u8 iTerminal;
176 } __attribute__ ((packed));
177 #define UAC_DT_OUTPUT_TERMINAL_SIZE 9
178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179 #define UAC_OUTPUT_TERMINAL_UNDEFINED 0x300
180 #define UAC_OUTPUT_TERMINAL_SPEAKER 0x301
181 #define UAC_OUTPUT_TERMINAL_HEADPHONES 0x302
182 #define UAC_OUTPUT_TERMINAL_HEAD_MOUNTED_DISPLAY_AUDIO 0x303
183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184 #define UAC_OUTPUT_TERMINAL_DESKTOP_SPEAKER 0x304
185 #define UAC_OUTPUT_TERMINAL_ROOM_SPEAKER 0x305
186 #define UAC_OUTPUT_TERMINAL_COMMUNICATION_SPEAKER 0x306
187 #define UAC_OUTPUT_TERMINAL_LOW_FREQ_EFFECTS_SPEAKER 0x307
188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189 #define UAC_DT_FEATURE_UNIT_SIZE(ch) (7 + ((ch) + 1) * 2)
190 #define DECLARE_UAC_FEATURE_UNIT_DESCRIPTOR(ch)  struct uac_feature_unit_descriptor_##ch {   __u8 bLength;   __u8 bDescriptorType;   __u8 bDescriptorSubtype;   __u8 bUnitID;   __u8 bSourceID;   __u8 bControlSize;   __le16 bmaControls[ch + 1];   __u8 iFeature;  } __attribute__ ((packed))
191 struct uac_mixer_unit_descriptor {
192  __u8 bLength;
193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194  __u8 bDescriptorType;
195  __u8 bDescriptorSubtype;
196  __u8 bUnitID;
197  __u8 bNrInPins;
198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199  __u8 baSourceID[];
200 } __attribute__ ((packed));
201 struct uac_selector_unit_descriptor {
202  __u8 bLength;
203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204  __u8 bDescriptorType;
205  __u8 bDescriptorSubtype;
206  __u8 bUintID;
207  __u8 bNrInPins;
208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209  __u8 baSourceID[];
210 } __attribute__ ((packed));
211 struct uac_feature_unit_descriptor {
212  __u8 bLength;
213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214  __u8 bDescriptorType;
215  __u8 bDescriptorSubtype;
216  __u8 bUnitID;
217  __u8 bSourceID;
218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219  __u8 bControlSize;
220  __u8 bmaControls[0];
221 } __attribute__((packed));
222 struct uac_processing_unit_descriptor {
223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224  __u8 bLength;
225  __u8 bDescriptorType;
226  __u8 bDescriptorSubtype;
227  __u8 bUnitID;
228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229  __u16 wProcessType;
230  __u8 bNrInPins;
231  __u8 baSourceID[];
232 } __attribute__ ((packed));
233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234 struct uac1_as_header_descriptor {
235  __u8 bLength;
236  __u8 bDescriptorType;
237  __u8 bDescriptorSubtype;
238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239  __u8 bTerminalLink;
240  __u8 bDelay;
241  __le16 wFormatTag;
242 } __attribute__ ((packed));
243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
244 #define UAC_DT_AS_HEADER_SIZE 7
245 #define UAC_FORMAT_TYPE_I_UNDEFINED 0x0
246 #define UAC_FORMAT_TYPE_I_PCM 0x1
247 #define UAC_FORMAT_TYPE_I_PCM8 0x2
248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
249 #define UAC_FORMAT_TYPE_I_IEEE_FLOAT 0x3
250 #define UAC_FORMAT_TYPE_I_ALAW 0x4
251 #define UAC_FORMAT_TYPE_I_MULAW 0x5
252 struct uac_format_type_i_continuous_descriptor {
253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254  __u8 bLength;
255  __u8 bDescriptorType;
256  __u8 bDescriptorSubtype;
257  __u8 bFormatType;
258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259  __u8 bNrChannels;
260  __u8 bSubframeSize;
261  __u8 bBitResolution;
262  __u8 bSamFreqType;
263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264  __u8 tLowerSamFreq[3];
265  __u8 tUpperSamFreq[3];
266 } __attribute__ ((packed));
267 #define UAC_FORMAT_TYPE_I_CONTINUOUS_DESC_SIZE 14
268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269 struct uac_format_type_i_discrete_descriptor {
270  __u8 bLength;
271  __u8 bDescriptorType;
272  __u8 bDescriptorSubtype;
273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274  __u8 bFormatType;
275  __u8 bNrChannels;
276  __u8 bSubframeSize;
277  __u8 bBitResolution;
278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279  __u8 bSamFreqType;
280  __u8 tSamFreq[][3];
281 } __attribute__ ((packed));
282 #define DECLARE_UAC_FORMAT_TYPE_I_DISCRETE_DESC(n)  struct uac_format_type_i_discrete_descriptor_##n {   __u8 bLength;   __u8 bDescriptorType;   __u8 bDescriptorSubtype;   __u8 bFormatType;   __u8 bNrChannels;   __u8 bSubframeSize;   __u8 bBitResolution;   __u8 bSamFreqType;   __u8 tSamFreq[n][3];  } __attribute__ ((packed))
283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
284 #define UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(n) (8 + (n * 3))
285 struct uac_format_type_i_ext_descriptor {
286  __u8 bLength;
287  __u8 bDescriptorType;
288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289  __u8 bDescriptorSubtype;
290  __u8 bFormatType;
291  __u8 bSubslotSize;
292  __u8 bBitResolution;
293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294  __u8 bHeaderLength;
295  __u8 bControlSize;
296  __u8 bSideBandProtocol;
297 } __attribute__((packed));
298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299 #define UAC_FORMAT_TYPE_II_MPEG 0x1001
300 #define UAC_FORMAT_TYPE_II_AC3 0x1002
301 struct uac_format_type_ii_discrete_descriptor {
302  __u8 bLength;
303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304  __u8 bDescriptorType;
305  __u8 bDescriptorSubtype;
306  __u8 bFormatType;
307  __le16 wMaxBitRate;
308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
309  __le16 wSamplesPerFrame;
310  __u8 bSamFreqType;
311  __u8 tSamFreq[][3];
312 } __attribute__((packed));
313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
314 struct uac_format_type_ii_ext_descriptor {
315  __u8 bLength;
316  __u8 bDescriptorType;
317  __u8 bDescriptorSubtype;
318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
319  __u8 bFormatType;
320  __u16 wMaxBitRate;
321  __u16 wSamplesPerFrame;
322  __u8 bHeaderLength;
323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
324  __u8 bSideBandProtocol;
325 } __attribute__((packed));
326 #define UAC_FORMAT_TYPE_III_IEC1937_AC3 0x2001
327 #define UAC_FORMAT_TYPE_III_IEC1937_MPEG1_LAYER1 0x2002
328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
329 #define UAC_FORMAT_TYPE_III_IEC1937_MPEG2_NOEXT 0x2003
330 #define UAC_FORMAT_TYPE_III_IEC1937_MPEG2_EXT 0x2004
331 #define UAC_FORMAT_TYPE_III_IEC1937_MPEG2_LAYER1_LS 0x2005
332 #define UAC_FORMAT_TYPE_III_IEC1937_MPEG2_LAYER23_LS 0x2006
333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
334 #define UAC_FORMAT_TYPE_UNDEFINED 0x0
335 #define UAC_FORMAT_TYPE_I 0x1
336 #define UAC_FORMAT_TYPE_II 0x2
337 #define UAC_FORMAT_TYPE_III 0x3
338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
339 #define UAC_EXT_FORMAT_TYPE_I 0x81
340 #define UAC_EXT_FORMAT_TYPE_II 0x82
341 #define UAC_EXT_FORMAT_TYPE_III 0x83
342 struct uac_iso_endpoint_descriptor {
343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344  __u8 bLength;
345  __u8 bDescriptorType;
346  __u8 bDescriptorSubtype;
347  __u8 bmAttributes;
348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
349  __u8 bLockDelayUnits;
350  __le16 wLockDelay;
351 } __attribute__((packed));
352 #define UAC_ISO_ENDPOINT_DESC_SIZE 7
353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
354 #define UAC_EP_CS_ATTR_SAMPLE_RATE 0x01
355 #define UAC_EP_CS_ATTR_PITCH_CONTROL 0x02
356 #define UAC_EP_CS_ATTR_FILL_MAX 0x80
357 #define UAC1_STATUS_TYPE_ORIG_MASK 0x0f
358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359 #define UAC1_STATUS_TYPE_ORIG_AUDIO_CONTROL_IF 0x0
360 #define UAC1_STATUS_TYPE_ORIG_AUDIO_STREAM_IF 0x1
361 #define UAC1_STATUS_TYPE_ORIG_AUDIO_STREAM_EP 0x2
362 #define UAC1_STATUS_TYPE_IRQ_PENDING (1 << 7)
363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
364 #define UAC1_STATUS_TYPE_MEM_CHANGED (1 << 6)
365 struct uac1_status_word {
366  __u8 bStatusType;
367  __u8 bOriginator;
368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
369 } __attribute__((packed));
370 #endif
371