Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
| 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef __LINUX_UAPI_SND_ASOC_H |
| 20 | #define __LINUX_UAPI_SND_ASOC_H |
| 21 | #include <linux/types.h> |
| 22 | #include <sound/asound.h> |
| 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 24 | #error This API is an early revision and not enabled in the current |
| 25 | #error kernel release , it will be enabled in a future kernel version |
| 26 | #error with incompatible changes to what is here . |
| 27 | #define SND_SOC_TPLG_MAX_CHAN 8 |
| 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 29 | #define SND_SOC_TPLG_MAX_FORMATS 16 |
| 30 | #define SND_SOC_TPLG_STREAM_CONFIG_MAX 8 |
| 31 | #define SND_SOC_TPLG_CTL_VOLSW 1 |
| 32 | #define SND_SOC_TPLG_CTL_VOLSW_SX 2 |
| 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 34 | #define SND_SOC_TPLG_CTL_VOLSW_XR_SX 3 |
| 35 | #define SND_SOC_TPLG_CTL_ENUM 4 |
| 36 | #define SND_SOC_TPLG_CTL_BYTES 5 |
| 37 | #define SND_SOC_TPLG_CTL_ENUM_VALUE 6 |
| 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 39 | #define SND_SOC_TPLG_CTL_RANGE 7 |
| 40 | #define SND_SOC_TPLG_CTL_STROBE 8 |
| 41 | #define SND_SOC_TPLG_DAPM_CTL_VOLSW 64 |
| 42 | #define SND_SOC_TPLG_DAPM_CTL_ENUM_DOUBLE 65 |
| 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 44 | #define SND_SOC_TPLG_DAPM_CTL_ENUM_VIRT 66 |
| 45 | #define SND_SOC_TPLG_DAPM_CTL_ENUM_VALUE 67 |
| 46 | #define SND_SOC_TPLG_DAPM_CTL_PIN 68 |
| 47 | #define SND_SOC_TPLG_DAPM_INPUT 0 |
| 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 49 | #define SND_SOC_TPLG_DAPM_OUTPUT 1 |
| 50 | #define SND_SOC_TPLG_DAPM_MUX 2 |
| 51 | #define SND_SOC_TPLG_DAPM_MIXER 3 |
| 52 | #define SND_SOC_TPLG_DAPM_PGA 4 |
| 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 54 | #define SND_SOC_TPLG_DAPM_OUT_DRV 5 |
| 55 | #define SND_SOC_TPLG_DAPM_ADC 6 |
| 56 | #define SND_SOC_TPLG_DAPM_DAC 7 |
| 57 | #define SND_SOC_TPLG_DAPM_SWITCH 8 |
| 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 59 | #define SND_SOC_TPLG_DAPM_PRE 9 |
| 60 | #define SND_SOC_TPLG_DAPM_POST 10 |
| 61 | #define SND_SOC_TPLG_DAPM_AIF_IN 11 |
| 62 | #define SND_SOC_TPLG_DAPM_AIF_OUT 12 |
| 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 64 | #define SND_SOC_TPLG_DAPM_DAI_IN 13 |
| 65 | #define SND_SOC_TPLG_DAPM_DAI_OUT 14 |
| 66 | #define SND_SOC_TPLG_DAPM_DAI_LINK 15 |
| 67 | #define SND_SOC_TPLG_DAPM_LAST SND_SOC_TPLG_DAPM_DAI_LINK |
| 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 69 | #define SND_SOC_TPLG_MAGIC 0x41536F43 |
| 70 | #define SND_SOC_TPLG_NUM_TEXTS 16 |
| 71 | #define SND_SOC_TPLG_ABI_VERSION 0x4 |
| 72 | #define SND_SOC_TPLG_TLV_SIZE 32 |
| 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 74 | #define SND_SOC_TPLG_TYPE_MIXER 1 |
| 75 | #define SND_SOC_TPLG_TYPE_BYTES 2 |
| 76 | #define SND_SOC_TPLG_TYPE_ENUM 3 |
| 77 | #define SND_SOC_TPLG_TYPE_DAPM_GRAPH 4 |
| 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 79 | #define SND_SOC_TPLG_TYPE_DAPM_WIDGET 5 |
| 80 | #define SND_SOC_TPLG_TYPE_DAI_LINK 6 |
| 81 | #define SND_SOC_TPLG_TYPE_PCM 7 |
| 82 | #define SND_SOC_TPLG_TYPE_MANIFEST 8 |
| 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 84 | #define SND_SOC_TPLG_TYPE_CODEC_LINK 9 |
| 85 | #define SND_SOC_TPLG_TYPE_BACKEND_LINK 10 |
| 86 | #define SND_SOC_TPLG_TYPE_PDATA 11 |
| 87 | #define SND_SOC_TPLG_TYPE_MAX SND_SOC_TPLG_TYPE_PDATA |
| 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 89 | #define SND_SOC_TPLG_TYPE_VENDOR_FW 1000 |
| 90 | #define SND_SOC_TPLG_TYPE_VENDOR_CONFIG 1001 |
| 91 | #define SND_SOC_TPLG_TYPE_VENDOR_COEFF 1002 |
| 92 | #define SND_SOC_TPLG_TYPEVENDOR_CODEC 1003 |
| 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 94 | #define SND_SOC_TPLG_STREAM_PLAYBACK 0 |
| 95 | #define SND_SOC_TPLG_STREAM_CAPTURE 1 |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 96 | #define SND_SOC_TPLG_TUPLE_TYPE_UUID 0 |
| 97 | #define SND_SOC_TPLG_TUPLE_TYPE_STRING 1 |
| 98 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 99 | #define SND_SOC_TPLG_TUPLE_TYPE_BOOL 2 |
| 100 | #define SND_SOC_TPLG_TUPLE_TYPE_BYTE 3 |
| 101 | #define SND_SOC_TPLG_TUPLE_TYPE_WORD 4 |
| 102 | #define SND_SOC_TPLG_TUPLE_TYPE_SHORT 5 |
| 103 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 104 | struct snd_soc_tplg_hdr { |
| 105 | __le32 magic; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 106 | __le32 abi; |
| 107 | __le32 version; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 108 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 109 | __le32 type; |
| 110 | __le32 size; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 111 | __le32 vendor_type; |
| 112 | __le32 payload_size; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 113 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 114 | __le32 index; |
| 115 | __le32 count; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 116 | } __attribute__((packed)); |
| 117 | struct snd_soc_tplg_vendor_uuid_elem { |
| 118 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 119 | __le32 token; |
| 120 | char uuid[16]; |
| 121 | } __attribute__((packed)); |
| 122 | struct snd_soc_tplg_vendor_value_elem { |
| 123 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 124 | __le32 token; |
| 125 | __le32 value; |
| 126 | } __attribute__((packed)); |
| 127 | struct snd_soc_tplg_vendor_string_elem { |
| 128 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 129 | __le32 token; |
| 130 | char string[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
| 131 | } __attribute__((packed)); |
| 132 | struct snd_soc_tplg_vendor_array { |
| 133 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 134 | __le32 size; |
| 135 | __le32 type; |
| 136 | __le32 num_elems; |
| 137 | union { |
| 138 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 139 | struct snd_soc_tplg_vendor_uuid_elem uuid[0]; |
| 140 | struct snd_soc_tplg_vendor_value_elem value[0]; |
| 141 | struct snd_soc_tplg_vendor_string_elem string[0]; |
| 142 | }; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 143 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 144 | } __attribute__((packed)); |
| 145 | struct snd_soc_tplg_private { |
| 146 | __le32 size; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 147 | union { |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 148 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 149 | char data[0]; |
| 150 | struct snd_soc_tplg_vendor_array array[0]; |
| 151 | }; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 152 | } __attribute__((packed)); |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 153 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 154 | struct snd_soc_tplg_tlv_dbscale { |
| 155 | __le32 min; |
| 156 | __le32 step; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 157 | __le32 mute; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 158 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 159 | } __attribute__((packed)); |
| 160 | struct snd_soc_tplg_ctl_tlv { |
| 161 | __le32 size; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 162 | __le32 type; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 163 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 164 | union { |
| 165 | __le32 data[SND_SOC_TPLG_TLV_SIZE]; |
| 166 | struct snd_soc_tplg_tlv_dbscale scale; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 167 | }; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 168 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 169 | } __attribute__((packed)); |
| 170 | struct snd_soc_tplg_channel { |
| 171 | __le32 size; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 172 | __le32 reg; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 173 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 174 | __le32 shift; |
| 175 | __le32 id; |
| 176 | } __attribute__((packed)); |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 177 | struct snd_soc_tplg_io_ops { |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 178 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 179 | __le32 get; |
| 180 | __le32 put; |
| 181 | __le32 info; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 182 | } __attribute__((packed)); |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 183 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 184 | struct snd_soc_tplg_ctl_hdr { |
| 185 | __le32 size; |
| 186 | __le32 type; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 187 | char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 188 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 189 | __le32 access; |
| 190 | struct snd_soc_tplg_io_ops ops; |
| 191 | struct snd_soc_tplg_ctl_tlv tlv; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 192 | } __attribute__((packed)); |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 193 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 194 | struct snd_soc_tplg_stream_caps { |
| 195 | __le32 size; |
| 196 | char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 197 | __le64 formats; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 198 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 199 | __le32 rates; |
| 200 | __le32 rate_min; |
| 201 | __le32 rate_max; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 202 | __le32 channels_min; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 203 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 204 | __le32 channels_max; |
| 205 | __le32 periods_min; |
| 206 | __le32 periods_max; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 207 | __le32 period_size_min; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 208 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 209 | __le32 period_size_max; |
| 210 | __le32 buffer_size_min; |
| 211 | __le32 buffer_size_max; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 212 | } __attribute__((packed)); |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 213 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 214 | struct snd_soc_tplg_stream { |
| 215 | __le32 size; |
| 216 | char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 217 | __le64 format; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 218 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 219 | __le32 rate; |
| 220 | __le32 period_bytes; |
| 221 | __le32 buffer_bytes; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 222 | __le32 channels; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 223 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 224 | } __attribute__((packed)); |
| 225 | struct snd_soc_tplg_manifest { |
| 226 | __le32 size; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 227 | __le32 control_elems; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 228 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 229 | __le32 widget_elems; |
| 230 | __le32 graph_elems; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 231 | __le32 pcm_elems; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 232 | __le32 dai_link_elems; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 233 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 234 | struct snd_soc_tplg_private priv; |
| 235 | } __attribute__((packed)); |
| 236 | struct snd_soc_tplg_mixer_control { |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 237 | struct snd_soc_tplg_ctl_hdr hdr; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 238 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 239 | __le32 size; |
| 240 | __le32 min; |
| 241 | __le32 max; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 242 | __le32 platform_max; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 243 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 244 | __le32 invert; |
| 245 | __le32 num_channels; |
| 246 | struct snd_soc_tplg_channel channel[SND_SOC_TPLG_MAX_CHAN]; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 247 | struct snd_soc_tplg_private priv; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 248 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 249 | } __attribute__((packed)); |
| 250 | struct snd_soc_tplg_enum_control { |
| 251 | struct snd_soc_tplg_ctl_hdr hdr; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 252 | __le32 size; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 253 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 254 | __le32 num_channels; |
| 255 | struct snd_soc_tplg_channel channel[SND_SOC_TPLG_MAX_CHAN]; |
| 256 | __le32 items; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 257 | __le32 mask; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 258 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 259 | __le32 count; |
| 260 | char texts[SND_SOC_TPLG_NUM_TEXTS][SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
| 261 | __le32 values[SND_SOC_TPLG_NUM_TEXTS * SNDRV_CTL_ELEM_ID_NAME_MAXLEN / 4]; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 262 | struct snd_soc_tplg_private priv; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 263 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 264 | } __attribute__((packed)); |
| 265 | struct snd_soc_tplg_bytes_control { |
| 266 | struct snd_soc_tplg_ctl_hdr hdr; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 267 | __le32 size; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 268 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 269 | __le32 max; |
| 270 | __le32 mask; |
| 271 | __le32 base; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 272 | __le32 num_regs; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 273 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 274 | struct snd_soc_tplg_io_ops ext_ops; |
| 275 | struct snd_soc_tplg_private priv; |
| 276 | } __attribute__((packed)); |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 277 | struct snd_soc_tplg_dapm_graph_elem { |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 278 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 279 | char sink[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
| 280 | char control[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
| 281 | char source[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 282 | } __attribute__((packed)); |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 283 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 284 | struct snd_soc_tplg_dapm_widget { |
| 285 | __le32 size; |
| 286 | __le32 id; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 287 | char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 288 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 289 | char sname[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
| 290 | __le32 reg; |
| 291 | __le32 shift; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 292 | __le32 mask; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 293 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 294 | __le32 subseq; |
| 295 | __le32 invert; |
| 296 | __le32 ignore_suspend; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 297 | __le16 event_flags; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 298 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 299 | __le16 event_type; |
| 300 | __le32 num_kcontrols; |
| 301 | struct snd_soc_tplg_private priv; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 302 | } __attribute__((packed)); |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 303 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 304 | struct snd_soc_tplg_pcm { |
| 305 | __le32 size; |
| 306 | char pcm_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 307 | char dai_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 308 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 309 | __le32 pcm_id; |
| 310 | __le32 dai_id; |
| 311 | __le32 playback; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 312 | __le32 capture; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 313 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 314 | __le32 compress; |
| 315 | struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; |
| 316 | __le32 num_streams; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 317 | struct snd_soc_tplg_stream_caps caps[2]; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 318 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 319 | } __attribute__((packed)); |
| 320 | struct snd_soc_tplg_link_config { |
| 321 | __le32 size; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 322 | __le32 id; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 323 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 324 | struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; |
| 325 | __le32 num_streams; |
| 326 | } __attribute__((packed)); |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 327 | #endif |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame^] | 328 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |