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