1772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/**************************************************************************** 2772b7facf972926b14fe303d0348c200cb20a313Prashant Malani **************************************************************************** 3772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** 4772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** This header was automatically generated from a Linux kernel header 5772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** of the same name, to make information necessary for userspace to 6772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** call into the kernel available to libc. It contains only constants, 7772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** structures, and macros generated from the original header, and thus, 8772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** contains no copyrightable information. 9772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** 10772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** To edit the content of this header, modify the corresponding 11772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** source file (e.g. under external/kernel-headers/original/) then 12772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** run bionic/libc/kernel/tools/update_all.py 13772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** 14772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** Any manual change here will be lost the next time this script will 15772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** be run. You've been warned! 16772b7facf972926b14fe303d0348c200cb20a313Prashant Malani *** 17772b7facf972926b14fe303d0348c200cb20a313Prashant Malani **************************************************************************** 18772b7facf972926b14fe303d0348c200cb20a313Prashant Malani ****************************************************************************/ 19772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#ifndef _UAPI__SOUND_ASOUND_H 20772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define _UAPI__SOUND_ASOUND_H 21772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#include <linux/types.h> 22772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PROTOCOL_VERSION(major,minor,subminor) (((major) << 16) | ((minor) << 8) | (subminor)) 23772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PROTOCOL_MAJOR(version) (((version) >> 16) & 0xffff) 25772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PROTOCOL_MINOR(version) (((version) >> 8) & 0xff) 26772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PROTOCOL_MICRO(version) ((version) & 0xff) 27772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#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))) 28772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_aes_iec958 { 30772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char status[24]; 31772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char subcode[147]; 32772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char pad; 33772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char dig_subframe[4]; 35772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 36772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_cea_861_aud_if { 37772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char db1_ct_cc; 38772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char db2_sf_ss; 40772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char db3; 41772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char db4_ca; 42772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char db5_dminh_lsv; 43772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 45772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_HWDEP_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 1) 46772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 47772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_OPL2 = 0, 48772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_OPL3, 50772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_OPL4, 51772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_SB16CSP, 52772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_EMU10K1, 53772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_YSS225, 55772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_ICS2115, 56772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_SSCAPE, 57772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_VX, 58772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_MIXART, 60772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_USX2Y, 61772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_EMUX_WAVETABLE, 62772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_BLUETOOTH, 63772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_USX2Y_PCM, 65772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_PCXHR, 66772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_SB_RC, 67772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_HDA, 68772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_USB_STREAM, 70464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_HWDEP_IFACE_FW_DICE, 71464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_HWDEP_IFACE_FW_FIREWORKS, 72464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_HWDEP_IFACE_FW_BEBOB, 73464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_AUDIO_BE, 75772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_AUDIO_CODEC, 76772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_AUDIO_CODEC 77772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 78464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_hwdep_info { 80772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int device; 81772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int card; 82772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char id[64]; 83464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char name[80]; 85772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int iface; 86772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[64]; 87772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 88464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_hwdep_dsp_status { 90772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int version; 91772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char id[32]; 92772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int num_dsps; 93464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int dsp_loaded; 95772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int chip_ready; 96772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[16]; 97772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 98464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_hwdep_dsp_image { 100772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int index; 101772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char name[64]; 102772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char __user * image; 103464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104772b7facf972926b14fe303d0348c200cb20a313Prashant Malani size_t length; 105772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned long driver_data; 106772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 107772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_HWDEP_IOCTL_PVERSION _IOR('H', 0x00, int) 108464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_HWDEP_IOCTL_INFO _IOR('H', 0x01, struct snd_hwdep_info) 110772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_HWDEP_IOCTL_DSP_STATUS _IOR('H', 0x02, struct snd_hwdep_dsp_status) 111772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_HWDEP_IOCTL_DSP_LOAD _IOW('H', 0x03, struct snd_hwdep_dsp_image) 112464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 12) 113772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114772b7facf972926b14fe303d0348c200cb20a313Prashant Malanitypedef unsigned long snd_pcm_uframes_t; 115772b7facf972926b14fe303d0348c200cb20a313Prashant Malanitypedef signed long snd_pcm_sframes_t; 116772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 117772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_CLASS_GENERIC = 0, 118464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_CLASS_MULTI, 120772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_CLASS_MODEM, 121772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_CLASS_DIGITIZER, 122772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_CLASS_LAST = SNDRV_PCM_CLASS_DIGITIZER, 123464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 125772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 126772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_SUBCLASS_GENERIC_MIX = 0, 127772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_SUBCLASS_MULTI_MIX, 128464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_SUBCLASS_LAST = SNDRV_PCM_SUBCLASS_MULTI_MIX, 130772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 131772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 132772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_STREAM_PLAYBACK = 0, 133464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_STREAM_CAPTURE, 135772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_STREAM_LAST = SNDRV_PCM_STREAM_CAPTURE, 136772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 137772b7facf972926b14fe303d0348c200cb20a313Prashant Malanitypedef int __bitwise snd_pcm_access_t; 138464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) 140772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) 141772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) 142772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) 143464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) 145772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_ACCESS_LAST SNDRV_PCM_ACCESS_RW_NONINTERLEAVED 146772b7facf972926b14fe303d0348c200cb20a313Prashant Malanitypedef int __bitwise snd_pcm_format_t; 147772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0) 148464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1) 150772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2) 151772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3) 152772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4) 153464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5) 155772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) 156772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) 157772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) 158464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9) 160772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10) 161772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11) 162772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12) 163464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U32_BE ((__force snd_pcm_format_t) 13) 165772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_FLOAT_LE ((__force snd_pcm_format_t) 14) 166772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_FLOAT_BE ((__force snd_pcm_format_t) 15) 167772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_FLOAT64_LE ((__force snd_pcm_format_t) 16) 168464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_FLOAT64_BE ((__force snd_pcm_format_t) 17) 170772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE ((__force snd_pcm_format_t) 18) 171772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE ((__force snd_pcm_format_t) 19) 172772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_MU_LAW ((__force snd_pcm_format_t) 20) 173464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_A_LAW ((__force snd_pcm_format_t) 21) 175772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_IMA_ADPCM ((__force snd_pcm_format_t) 22) 176772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23) 177772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_GSM ((__force snd_pcm_format_t) 24) 178464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_SPECIAL ((__force snd_pcm_format_t) 31) 180772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S24_3LE ((__force snd_pcm_format_t) 32) 181772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S24_3BE ((__force snd_pcm_format_t) 33) 182772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U24_3LE ((__force snd_pcm_format_t) 34) 183464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U24_3BE ((__force snd_pcm_format_t) 35) 185772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S20_3LE ((__force snd_pcm_format_t) 36) 186772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S20_3BE ((__force snd_pcm_format_t) 37) 187772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U20_3LE ((__force snd_pcm_format_t) 38) 188464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U20_3BE ((__force snd_pcm_format_t) 39) 190772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S18_3LE ((__force snd_pcm_format_t) 40) 191772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S18_3BE ((__force snd_pcm_format_t) 41) 192772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U18_3LE ((__force snd_pcm_format_t) 42) 193464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U18_3BE ((__force snd_pcm_format_t) 43) 195772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_G723_24 ((__force snd_pcm_format_t) 44) 196772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_G723_24_1B ((__force snd_pcm_format_t) 45) 197772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_G723_40 ((__force snd_pcm_format_t) 46) 198464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 199772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_G723_40_1B ((__force snd_pcm_format_t) 47) 200772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_DSD_U8 ((__force snd_pcm_format_t) 48) 201772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_DSD_U16_LE ((__force snd_pcm_format_t) 49) 202464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_FORMAT_DSD_U32_LE ((__force snd_pcm_format_t) 50) 203772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 204464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_FORMAT_DSD_U16_BE ((__force snd_pcm_format_t) 51) 205464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_FORMAT_DSD_U32_BE ((__force snd_pcm_format_t) 52) 206464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_FORMAT_LAST SNDRV_PCM_FORMAT_DSD_U32_BE 207772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#ifdef SNDRV_LITTLE_ENDIAN 208464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 209772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_LE 210772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_LE 211772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_LE 212772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_LE 213464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 214772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_LE 215772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_LE 216772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_LE 217772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_LE 218464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 219772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE 220772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#endif 221772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#ifdef SNDRV_BIG_ENDIAN 222772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_BE 223464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 224772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_BE 225772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_BE 226772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_BE 227772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_BE 228464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 229772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_BE 230772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_BE 231772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_BE 232772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE 233464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 234772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#endif 235772b7facf972926b14fe303d0348c200cb20a313Prashant Malanitypedef int __bitwise snd_pcm_subformat_t; 236772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_SUBFORMAT_STD ((__force snd_pcm_subformat_t) 0) 237772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_SUBFORMAT_LAST SNDRV_PCM_SUBFORMAT_STD 238464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 239772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_MMAP 0x00000001 240772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_MMAP_VALID 0x00000002 241772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_DOUBLE 0x00000004 242772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_BATCH 0x00000010 243464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 244772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_INTERLEAVED 0x00000100 245772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_NONINTERLEAVED 0x00000200 246772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_COMPLEX 0x00000400 247772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_BLOCK_TRANSFER 0x00010000 248464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 249772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_OVERRANGE 0x00020000 250772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_RESUME 0x00040000 251772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_PAUSE 0x00080000 252772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_HALF_DUPLEX 0x00100000 253464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 254772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_JOINT_DUPLEX 0x00200000 255772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_SYNC_START 0x00400000 256772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_NO_PERIOD_WAKEUP 0x00800000 257772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_HAS_WALL_CLOCK 0x01000000 258464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 259772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 260772b7facf972926b14fe303d0348c200cb20a313Prashant Malanitypedef int __bitwise snd_pcm_state_t; 261772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_OPEN ((__force snd_pcm_state_t) 0) 262772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_SETUP ((__force snd_pcm_state_t) 1) 263464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 264772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_PREPARED ((__force snd_pcm_state_t) 2) 265772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_RUNNING ((__force snd_pcm_state_t) 3) 266772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_XRUN ((__force snd_pcm_state_t) 4) 267772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_DRAINING ((__force snd_pcm_state_t) 5) 268464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 269772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_PAUSED ((__force snd_pcm_state_t) 6) 270772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_SUSPENDED ((__force snd_pcm_state_t) 7) 271772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_DISCONNECTED ((__force snd_pcm_state_t) 8) 272772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_STATE_LAST SNDRV_PCM_STATE_DISCONNECTED 273464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 274772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 275772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_MMAP_OFFSET_DATA = 0x00000000, 276772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_MMAP_OFFSET_STATUS = 0x80000000, 277772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_MMAP_OFFSET_CONTROL = 0x81000000, 278464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 279772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 280772b7facf972926b14fe303d0348c200cb20a313Prashant Malaniunion snd_pcm_sync_id { 281772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char id[16]; 282772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned short id16[8]; 283464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 284772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int id32[4]; 285772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 286772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_pcm_info { 287772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int device; 288464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 289772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int subdevice; 290772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int stream; 291772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int card; 292772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char id[64]; 293464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 294772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char name[80]; 295772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char subname[32]; 296772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int dev_class; 297772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int dev_subclass; 298464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 299772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int subdevices_count; 300772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int subdevices_avail; 301772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union snd_pcm_sync_id sync; 302772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[64]; 303464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 304772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 305772b7facf972926b14fe303d0348c200cb20a313Prashant Malanitypedef int snd_pcm_hw_param_t; 306772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_ACCESS 0 307772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_FORMAT 1 308464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 309772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_SUBFORMAT 2 310772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_FIRST_MASK SNDRV_PCM_HW_PARAM_ACCESS 311772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_LAST_MASK SNDRV_PCM_HW_PARAM_SUBFORMAT 312772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_SAMPLE_BITS 8 313464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 314772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_FRAME_BITS 9 315772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_CHANNELS 10 316772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_RATE 11 317772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_PERIOD_TIME 12 318464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 319772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13 320772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_PERIOD_BYTES 14 321772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_PERIODS 15 322772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_BUFFER_TIME 16 323464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 324772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17 325772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_BUFFER_BYTES 18 326772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_TICK_TIME 19 327772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_FIRST_INTERVAL SNDRV_PCM_HW_PARAM_SAMPLE_BITS 328464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 329772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAM_LAST_INTERVAL SNDRV_PCM_HW_PARAM_TICK_TIME 330772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAMS_NORESAMPLE (1 << 0) 331772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER (1 << 1) 332772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1 << 2) 333464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 334772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_interval { 335772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int min, max; 336772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int openmin : 1, openmax : 1, integer : 1, empty : 1; 337772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 338464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 339772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_MASK_MAX 256 340772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_mask { 341772b7facf972926b14fe303d0348c200cb20a313Prashant Malani __u32 bits[(SNDRV_MASK_MAX + 31) / 32]; 342772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 343464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 344772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_pcm_hw_params { 345772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int flags; 346772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - SNDRV_PCM_HW_PARAM_FIRST_MASK + 1]; 347772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_mask mres[5]; 348464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 349772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL + 1]; 350772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_interval ires[9]; 351772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int rmask; 352772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int cmask; 353464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 354772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int info; 355772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int msbits; 356772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int rate_num; 357772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int rate_den; 358464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 359772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t fifo_size; 360772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[64]; 361772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 362772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 363464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 364772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_TSTAMP_NONE = 0, 365772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_TSTAMP_ENABLE, 366772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_TSTAMP_LAST = SNDRV_PCM_TSTAMP_ENABLE, 367772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 368464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 369772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_pcm_sw_params { 370772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int tstamp_mode; 371772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int period_step; 372772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int sleep_min; 373464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 374772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t avail_min; 375772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t xfer_align; 376772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t start_threshold; 377772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t stop_threshold; 378464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 379772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t silence_threshold; 380772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t silence_size; 381772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t boundary; 382464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned int proto; 383464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 384464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned int tstamp_type; 385464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned char reserved[56]; 386772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 387772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_pcm_channel_info { 388772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 389772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int channel; 390772b7facf972926b14fe303d0348c200cb20a313Prashant Malani __kernel_off_t offset; 391772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int first; 392772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int step; 393772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 394772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 395772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_pcm_status { 396772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_state_t state; 397772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct timespec trigger_tstamp; 398772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 399772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct timespec tstamp; 400772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t appl_ptr; 401772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t hw_ptr; 402772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_sframes_t delay; 403772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 404772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t avail; 405772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t avail_max; 406772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t overrange; 407772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_state_t suspended_state; 408772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 409772b7facf972926b14fe303d0348c200cb20a313Prashant Malani __u32 reserved_alignment; 410772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct timespec audio_tstamp; 411772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[56 - sizeof(struct timespec)]; 412772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 413772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 414772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_pcm_mmap_status { 415772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_state_t state; 416772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int pad1; 417772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t hw_ptr; 418772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 419772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct timespec tstamp; 420772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_state_t suspended_state; 421772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct timespec audio_tstamp; 422772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 423772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 424772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_pcm_mmap_control { 425772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t appl_ptr; 426772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t avail_min; 427772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 428772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 429772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_SYNC_PTR_HWSYNC (1 << 0) 430772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_SYNC_PTR_APPL (1 << 1) 431772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_SYNC_PTR_AVAIL_MIN (1 << 2) 432772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_pcm_sync_ptr { 433772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 434772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int flags; 435772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 436772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_pcm_mmap_status status; 437772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[64]; 438772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 439772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } s; 440772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 441772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_pcm_mmap_control control; 442772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[64]; 443772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 444772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } c; 445772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 446772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_xferi { 447772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_sframes_t result; 448772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 449772b7facf972926b14fe303d0348c200cb20a313Prashant Malani void __user * buf; 450772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t frames; 451772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 452772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_xfern { 453772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 454772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_sframes_t result; 455772b7facf972926b14fe303d0348c200cb20a313Prashant Malani void __user * __user * bufs; 456772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_pcm_uframes_t frames; 457772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 458772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 459772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 460772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY = 0, 461772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_PCM_TSTAMP_TYPE_MONOTONIC, 462464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW, 463772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 464464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_PCM_TSTAMP_TYPE_LAST = SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW, 465772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 466772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 467772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_UNKNOWN = 0, 468772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 469464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_NA, 470772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_MONO, 471772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_FL, 472772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_FR, 473772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 474464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_RL, 475772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_RR, 476772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_FC, 477772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_LFE, 478772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 479464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_SL, 480772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_SR, 481772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_RC, 482772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_FLC, 483772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 484464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_FRC, 485772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_RLC, 486772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_RRC, 487772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_FLW, 488772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 489464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_FRW, 490772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_FLH, 491772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_FCH, 492772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_FRH, 493772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 494464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_TC, 495772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_TFL, 496772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_TFR, 497772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_TFC, 498772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 499464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_TRL, 500772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_TRR, 501772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_TRC, 502772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_TFLC, 503772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 504464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_TFRC, 505772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_TSL, 506772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_TSR, 507772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_LLFE, 508772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 509464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_RLFE, 510772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_BC, 511772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_BLC, 512772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CHMAP_BRC, 513772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 514464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_CHMAP_LAST = SNDRV_CHMAP_BRC, 515772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 516772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CHMAP_POSITION_MASK 0xffff 517772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CHMAP_PHASE_INVERSE (0x01 << 16) 518772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 519464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CHMAP_DRIVER_SPEC (0x02 << 16) 520772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_PVERSION _IOR('A', 0x00, int) 521772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_INFO _IOR('A', 0x01, struct snd_pcm_info) 522772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_TSTAMP _IOW('A', 0x02, int) 523772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 524464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_IOCTL_TTSTAMP _IOW('A', 0x03, int) 525772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_HW_REFINE _IOWR('A', 0x10, struct snd_pcm_hw_params) 526772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_HW_PARAMS _IOWR('A', 0x11, struct snd_pcm_hw_params) 527772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_HW_FREE _IO('A', 0x12) 528772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 529464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_IOCTL_SW_PARAMS _IOWR('A', 0x13, struct snd_pcm_sw_params) 530772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_STATUS _IOR('A', 0x20, struct snd_pcm_status) 531772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t) 532772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_HWSYNC _IO('A', 0x22) 533772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 534464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_IOCTL_SYNC_PTR _IOWR('A', 0x23, struct snd_pcm_sync_ptr) 535772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_CHANNEL_INFO _IOR('A', 0x32, struct snd_pcm_channel_info) 536772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_PREPARE _IO('A', 0x40) 537772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_RESET _IO('A', 0x41) 538772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 539464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_IOCTL_START _IO('A', 0x42) 540772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_DROP _IO('A', 0x43) 541772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_DRAIN _IO('A', 0x44) 542772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_PAUSE _IOW('A', 0x45, int) 543772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 544464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_IOCTL_REWIND _IOW('A', 0x46, snd_pcm_uframes_t) 545772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_RESUME _IO('A', 0x47) 546772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_XRUN _IO('A', 0x48) 547772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_FORWARD _IOW('A', 0x49, snd_pcm_uframes_t) 548772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 549464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_IOCTL_WRITEI_FRAMES _IOW('A', 0x50, struct snd_xferi) 550772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_READI_FRAMES _IOR('A', 0x51, struct snd_xferi) 551772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_WRITEN_FRAMES _IOW('A', 0x52, struct snd_xfern) 552772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_READN_FRAMES _IOR('A', 0x53, struct snd_xfern) 553772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 554464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_PCM_IOCTL_LINK _IOW('A', 0x60, int) 555772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_PCM_IOCTL_UNLINK _IO('A', 0x61) 556772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_RAWMIDI_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 0) 557772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 558772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 559464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_RAWMIDI_STREAM_OUTPUT = 0, 560772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_RAWMIDI_STREAM_INPUT, 561772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_RAWMIDI_STREAM_LAST = SNDRV_RAWMIDI_STREAM_INPUT, 562772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 563772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 564464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_RAWMIDI_INFO_OUTPUT 0x00000001 565772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_RAWMIDI_INFO_INPUT 0x00000002 566772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_RAWMIDI_INFO_DUPLEX 0x00000004 567772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_rawmidi_info { 568772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 569464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned int device; 570772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int subdevice; 571772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int stream; 572772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int card; 573772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 574464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned int flags; 575772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char id[64]; 576772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char name[80]; 577772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char subname[32]; 578772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 579464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned int subdevices_count; 580772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int subdevices_avail; 581772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[64]; 582772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 583772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 584464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherrystruct snd_rawmidi_params { 585772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int stream; 586772b7facf972926b14fe303d0348c200cb20a313Prashant Malani size_t buffer_size; 587772b7facf972926b14fe303d0348c200cb20a313Prashant Malani size_t avail_min; 588772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 589464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned int no_active_sensing : 1; 590772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[16]; 591772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 592772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_rawmidi_status { 593772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 594464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry int stream; 595772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct timespec tstamp; 596772b7facf972926b14fe303d0348c200cb20a313Prashant Malani size_t avail; 597772b7facf972926b14fe303d0348c200cb20a313Prashant Malani size_t xruns; 598772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 599464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned char reserved[16]; 600772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 601772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_RAWMIDI_IOCTL_PVERSION _IOR('W', 0x00, int) 602772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_RAWMIDI_IOCTL_INFO _IOR('W', 0x01, struct snd_rawmidi_info) 603772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 604464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_RAWMIDI_IOCTL_PARAMS _IOWR('W', 0x10, struct snd_rawmidi_params) 605772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_RAWMIDI_IOCTL_STATUS _IOWR('W', 0x20, struct snd_rawmidi_status) 606772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_RAWMIDI_IOCTL_DROP _IOW('W', 0x30, int) 607772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_RAWMIDI_IOCTL_DRAIN _IOW('W', 0x31, int) 608772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 609464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_TIMER_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 6) 610772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 611772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_CLASS_NONE = - 1, 612772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_CLASS_SLAVE = 0, 613772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 614464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_TIMER_CLASS_GLOBAL, 615772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_CLASS_CARD, 616772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_CLASS_PCM, 617772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_CLASS_LAST = SNDRV_TIMER_CLASS_PCM, 618772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 619464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry}; 620772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum { 621772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_SCLASS_NONE = 0, 622772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_SCLASS_APPLICATION, 623772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 624464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_TIMER_SCLASS_SEQUENCER, 625772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_SCLASS_OSS_SEQUENCER, 626772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_SCLASS_LAST = SNDRV_TIMER_SCLASS_OSS_SEQUENCER, 627772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 628772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 629464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_TIMER_GLOBAL_SYSTEM 0 630772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_GLOBAL_RTC 1 631772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_GLOBAL_HPET 2 632772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_GLOBAL_HRTIMER 3 633772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 634464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_TIMER_FLG_SLAVE (1 << 0) 635772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_timer_id { 636772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int dev_class; 637772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int dev_sclass; 638772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 639464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry int card; 640772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int device; 641772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int subdevice; 642772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 643772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 644464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherrystruct snd_timer_ginfo { 645772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_timer_id tid; 646772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int flags; 647772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int card; 648772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 649464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned char id[64]; 650772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char name[80]; 651772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned long reserved0; 652772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned long resolution; 653772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 654464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned long resolution_min; 655772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned long resolution_max; 656772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int clients; 657772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[32]; 658772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 659464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry}; 660772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_timer_gparams { 661772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_timer_id tid; 662772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned long period_num; 663772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 664464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned long period_den; 665772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[32]; 666772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 667772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_timer_gstatus { 668772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 669464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry struct snd_timer_id tid; 670772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned long resolution; 671772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned long resolution_num; 672772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned long resolution_den; 673772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 674464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned char reserved[32]; 675772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 676772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_timer_select { 677772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_timer_id id; 678772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 679464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned char reserved[32]; 680772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 681772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_timer_info { 682772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int flags; 683772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 684464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry int card; 685772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char id[64]; 686772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char name[80]; 687772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned long reserved0; 688772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 689464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned long resolution; 690772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[64]; 691772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 692772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_PSFLG_AUTO (1 << 0) 693772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 694464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_TIMER_PSFLG_EXCLUSIVE (1 << 1) 695772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_PSFLG_EARLY_EVENT (1 << 2) 696772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_timer_params { 697772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int flags; 698772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 699464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned int ticks; 700772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int queue_size; 701772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int reserved0; 702772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int filter; 703772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 704464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned char reserved[60]; 705772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 706772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_timer_status { 707772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct timespec tstamp; 708772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 709464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned int resolution; 710772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int lost; 711772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int overrun; 712772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int queue; 713772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 714464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned char reserved[64]; 715772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 716772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_PVERSION _IOR('T', 0x00, int) 717772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_NEXT_DEVICE _IOWR('T', 0x01, struct snd_timer_id) 718772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 719464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_TIMER_IOCTL_TREAD _IOW('T', 0x02, int) 720772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_GINFO _IOWR('T', 0x03, struct snd_timer_ginfo) 721772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_GPARAMS _IOW('T', 0x04, struct snd_timer_gparams) 722772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_GSTATUS _IOWR('T', 0x05, struct snd_timer_gstatus) 723772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 724464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_TIMER_IOCTL_SELECT _IOW('T', 0x10, struct snd_timer_select) 725772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_INFO _IOR('T', 0x11, struct snd_timer_info) 726772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_PARAMS _IOW('T', 0x12, struct snd_timer_params) 727772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_STATUS _IOR('T', 0x14, struct snd_timer_status) 728772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 729464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_TIMER_IOCTL_START _IO('T', 0xa0) 730772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_STOP _IO('T', 0xa1) 731772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_CONTINUE _IO('T', 0xa2) 732772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_TIMER_IOCTL_PAUSE _IO('T', 0xa3) 733772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 734464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherrystruct snd_timer_read { 735772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int resolution; 736772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int ticks; 737772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 738772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 739464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherryenum { 740772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_RESOLUTION = 0, 741772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_TICK, 742772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_START, 743772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 744464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_TIMER_EVENT_STOP, 745772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_CONTINUE, 746772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_PAUSE, 747772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_EARLY, 748772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 749464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_TIMER_EVENT_SUSPEND, 750772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_RESUME, 751772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_MSTART = SNDRV_TIMER_EVENT_START + 10, 752772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_MSTOP = SNDRV_TIMER_EVENT_STOP + 10, 753772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 754464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry SNDRV_TIMER_EVENT_MCONTINUE = SNDRV_TIMER_EVENT_CONTINUE + 10, 755772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_MPAUSE = SNDRV_TIMER_EVENT_PAUSE + 10, 756772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_MSUSPEND = SNDRV_TIMER_EVENT_SUSPEND + 10, 757772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_TIMER_EVENT_MRESUME = SNDRV_TIMER_EVENT_RESUME + 10, 758772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 759464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry}; 760772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_timer_tread { 761772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int event; 762772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct timespec tstamp; 763772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 764464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned int val; 765772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 766772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 7) 767772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_ctl_card_info { 768772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 769464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry int card; 770772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int pad; 771772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char id[16]; 772772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char driver[16]; 773772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 774464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned char name[32]; 775772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char longname[80]; 776772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved_[16]; 777772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char mixername[80]; 778772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 779464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry unsigned char components[128]; 780772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 781772b7facf972926b14fe303d0348c200cb20a313Prashant Malanitypedef int __bitwise snd_ctl_elem_type_t; 782772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_TYPE_NONE ((__force snd_ctl_elem_type_t) 0) 783772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 784464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_ELEM_TYPE_BOOLEAN ((__force snd_ctl_elem_type_t) 1) 785772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_TYPE_INTEGER ((__force snd_ctl_elem_type_t) 2) 786772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_TYPE_ENUMERATED ((__force snd_ctl_elem_type_t) 3) 787772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_TYPE_BYTES ((__force snd_ctl_elem_type_t) 4) 788772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 789464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_ELEM_TYPE_IEC958 ((__force snd_ctl_elem_type_t) 5) 790772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_TYPE_INTEGER64 ((__force snd_ctl_elem_type_t) 6) 791772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_TYPE_LAST SNDRV_CTL_ELEM_TYPE_INTEGER64 792772b7facf972926b14fe303d0348c200cb20a313Prashant Malanitypedef int __bitwise snd_ctl_elem_iface_t; 793772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 794464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_ELEM_IFACE_CARD ((__force snd_ctl_elem_iface_t) 0) 795772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_IFACE_HWDEP ((__force snd_ctl_elem_iface_t) 1) 796772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_IFACE_MIXER ((__force snd_ctl_elem_iface_t) 2) 797772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_IFACE_PCM ((__force snd_ctl_elem_iface_t) 3) 798772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 799464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_ELEM_IFACE_RAWMIDI ((__force snd_ctl_elem_iface_t) 4) 800772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_IFACE_TIMER ((__force snd_ctl_elem_iface_t) 5) 801772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_IFACE_SEQUENCER ((__force snd_ctl_elem_iface_t) 6) 802772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_IFACE_LAST SNDRV_CTL_ELEM_IFACE_SEQUENCER 803772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 804464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_ELEM_ACCESS_READ (1 << 0) 805772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_WRITE (1 << 1) 806772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_READWRITE (SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_WRITE) 807772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_VOLATILE (1 << 2) 808772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 809464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_ELEM_ACCESS_TIMESTAMP (1 << 3) 810772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_TLV_READ (1 << 4) 811772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_TLV_WRITE (1 << 5) 812772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE (SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_TLV_WRITE) 813772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 814464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND (1 << 6) 815772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_INACTIVE (1 << 8) 816772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_LOCK (1 << 9) 817772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_OWNER (1 << 10) 818772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 819464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK (1 << 28) 820772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_ELEM_ACCESS_USER (1 << 29) 821772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_POWER_D0 0x0000 822772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_POWER_D1 0x0100 823772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 824464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_POWER_D2 0x0200 825772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_POWER_D3 0x0300 826772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_POWER_D3hot (SNDRV_CTL_POWER_D3 | 0x0000) 827772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_POWER_D3cold (SNDRV_CTL_POWER_D3 | 0x0001) 828772b7facf972926b14fe303d0348c200cb20a313Prashant Malani/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 829464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry#define SNDRV_CTL_ELEM_ID_NAME_MAXLEN 44 830464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherrystruct snd_ctl_elem_id { 831772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int numid; 832772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_ctl_elem_iface_t iface; 833464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 834772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int device; 835772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int subdevice; 836772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char name[44]; 837772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int index; 838464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 839772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 840772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_ctl_elem_list { 841772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int offset; 842772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int space; 843464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 844772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int used; 845772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int count; 846772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_ctl_elem_id __user * pids; 847772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[50]; 848464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 849772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 850772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_ctl_elem_info { 851772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_ctl_elem_id id; 852772b7facf972926b14fe303d0348c200cb20a313Prashant Malani snd_ctl_elem_type_t type; 853464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 854772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int access; 855772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int count; 856772b7facf972926b14fe303d0348c200cb20a313Prashant Malani __kernel_pid_t owner; 857772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 858464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 859772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct { 860772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long min; 861772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long max; 862772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long step; 863464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 864772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } integer; 865772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct { 866772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long long min; 867772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long long max; 868464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 869772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long long step; 870772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } integer64; 871772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct { 872772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int items; 873464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 874772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int item; 875772b7facf972926b14fe303d0348c200cb20a313Prashant Malani char name[64]; 876772b7facf972926b14fe303d0348c200cb20a313Prashant Malani __u64 names_ptr; 877772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int names_length; 878464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 879772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } enumerated; 880772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[128]; 881772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } value; 882772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 883464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 884772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned short d[4]; 885772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned short * d_ptr; 886772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } dimen; 887772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[64 - 4 * sizeof(unsigned short)]; 888464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 889772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 890772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_ctl_elem_value { 891772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_ctl_elem_id id; 892772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int indirect : 1; 893464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 894772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 895772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 896772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long value[128]; 897772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long * value_ptr; 898464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 899772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } integer; 900772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 901772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long long value[64]; 902772b7facf972926b14fe303d0348c200cb20a313Prashant Malani long long * value_ptr; 903464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 904772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } integer64; 905772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 906772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int item[128]; 907772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int * item_ptr; 908464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 909772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } enumerated; 910772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 911772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char data[512]; 912772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char * data_ptr; 913464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 914772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } bytes; 915772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_aes_iec958 iec958; 916772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } value; 917772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct timespec tstamp; 918464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 919772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char reserved[128 - sizeof(struct timespec)]; 920772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 921772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_ctl_tlv { 922772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int numid; 923464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 924772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int length; 925772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int tlv[0]; 926772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 927772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_PVERSION _IOR('U', 0x00, int) 928464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 929772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_CARD_INFO _IOR('U', 0x01, struct snd_ctl_card_info) 930772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_ELEM_LIST _IOWR('U', 0x10, struct snd_ctl_elem_list) 931772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_ELEM_INFO _IOWR('U', 0x11, struct snd_ctl_elem_info) 932772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_ELEM_READ _IOWR('U', 0x12, struct snd_ctl_elem_value) 933464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 934772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_ELEM_WRITE _IOWR('U', 0x13, struct snd_ctl_elem_value) 935772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_ELEM_LOCK _IOW('U', 0x14, struct snd_ctl_elem_id) 936772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_ELEM_UNLOCK _IOW('U', 0x15, struct snd_ctl_elem_id) 937772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS _IOWR('U', 0x16, int) 938464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 939772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_ELEM_ADD _IOWR('U', 0x17, struct snd_ctl_elem_info) 940772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_ELEM_REPLACE _IOWR('U', 0x18, struct snd_ctl_elem_info) 941772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_ELEM_REMOVE _IOWR('U', 0x19, struct snd_ctl_elem_id) 942772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_TLV_READ _IOWR('U', 0x1a, struct snd_ctl_tlv) 943464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 944772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_TLV_WRITE _IOWR('U', 0x1b, struct snd_ctl_tlv) 945772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_TLV_COMMAND _IOWR('U', 0x1c, struct snd_ctl_tlv) 946772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_HWDEP_NEXT_DEVICE _IOWR('U', 0x20, int) 947772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_HWDEP_INFO _IOR('U', 0x21, struct snd_hwdep_info) 948464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 949772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE _IOR('U', 0x30, int) 950772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_PCM_INFO _IOWR('U', 0x31, struct snd_pcm_info) 951772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE _IOW('U', 0x32, int) 952772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE _IOWR('U', 0x40, int) 953464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 954772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_RAWMIDI_INFO _IOWR('U', 0x41, struct snd_rawmidi_info) 955772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE _IOW('U', 0x42, int) 956772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_POWER _IOWR('U', 0xd0, int) 957772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_IOCTL_POWER_STATE _IOR('U', 0xd1, int) 958464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 959772b7facf972926b14fe303d0348c200cb20a313Prashant Malanienum sndrv_ctl_event_type { 960772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CTL_EVENT_ELEM = 0, 961772b7facf972926b14fe303d0348c200cb20a313Prashant Malani SNDRV_CTL_EVENT_LAST = SNDRV_CTL_EVENT_ELEM, 962772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 963464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 964772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_EVENT_MASK_VALUE (1 << 0) 965772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_EVENT_MASK_INFO (1 << 1) 966772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_EVENT_MASK_ADD (1 << 2) 967772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_EVENT_MASK_TLV (1 << 3) 968464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 969772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_EVENT_MASK_REMOVE (~0U) 970772b7facf972926b14fe303d0348c200cb20a313Prashant Malanistruct snd_ctl_event { 971772b7facf972926b14fe303d0348c200cb20a313Prashant Malani int type; 972772b7facf972926b14fe303d0348c200cb20a313Prashant Malani union { 973464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 974772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct { 975772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned int mask; 976772b7facf972926b14fe303d0348c200cb20a313Prashant Malani struct snd_ctl_elem_id id; 977772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } elem; 978464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 979772b7facf972926b14fe303d0348c200cb20a313Prashant Malani unsigned char data8[60]; 980772b7facf972926b14fe303d0348c200cb20a313Prashant Malani } data; 981772b7facf972926b14fe303d0348c200cb20a313Prashant Malani}; 982772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_NONE "" 983464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 984772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_PLAYBACK "Playback " 985772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_CAPTURE "Capture " 986772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_IEC958_NONE "" 987772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_IEC958_SWITCH "Switch" 988464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 989772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_IEC958_VOLUME "Volume" 990772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_IEC958_DEFAULT "Default" 991772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_IEC958_MASK "Mask" 992772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_IEC958_CON_MASK "Con Mask" 993464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 994772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_IEC958_PRO_MASK "Pro Mask" 995772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_IEC958_PCM_STREAM "PCM Stream" 996772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#define SNDRV_CTL_NAME_IEC958(expl,direction,what) "IEC958 " expl SNDRV_CTL_NAME_ ##direction SNDRV_CTL_NAME_IEC958_ ##what 997772b7facf972926b14fe303d0348c200cb20a313Prashant Malani#endif 998464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 999464aadab995fc0ef1616362ad795e9a3ba6c4f16Tom Cherry 1000