• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _UAPI_MSM_AUDIO_CALIBRATION_H
20 #define _UAPI_MSM_AUDIO_CALIBRATION_H
21 #include <linux/types.h>
22 #include <linux/ioctl.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define CAL_IOCTL_MAGIC 'a'
25 #define AUDIO_ALLOCATE_CALIBRATION _IOWR(CAL_IOCTL_MAGIC, 200, void *)
26 #define AUDIO_DEALLOCATE_CALIBRATION _IOWR(CAL_IOCTL_MAGIC, 201, void *)
27 #define AUDIO_PREPARE_CALIBRATION _IOWR(CAL_IOCTL_MAGIC, 202, void *)
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define AUDIO_SET_CALIBRATION _IOWR(CAL_IOCTL_MAGIC, 203, void *)
30 #define AUDIO_GET_CALIBRATION _IOWR(CAL_IOCTL_MAGIC, 204, void *)
31 #define AUDIO_POST_CALIBRATION _IOWR(CAL_IOCTL_MAGIC, 205, void *)
32 #define AUDIO_GET_RTAC_ADM_INFO _IOR(CAL_IOCTL_MAGIC, 207, void *)
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define AUDIO_GET_RTAC_VOICE_INFO _IOR(CAL_IOCTL_MAGIC, 208, void *)
35 #define AUDIO_GET_RTAC_ADM_CAL _IOWR(CAL_IOCTL_MAGIC, 209, void *)
36 #define AUDIO_SET_RTAC_ADM_CAL _IOWR(CAL_IOCTL_MAGIC, 210, void *)
37 #define AUDIO_GET_RTAC_ASM_CAL _IOWR(CAL_IOCTL_MAGIC, 211, void *)
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define AUDIO_SET_RTAC_ASM_CAL _IOWR(CAL_IOCTL_MAGIC, 212, void *)
40 #define AUDIO_GET_RTAC_CVS_CAL _IOWR(CAL_IOCTL_MAGIC, 213, void *)
41 #define AUDIO_SET_RTAC_CVS_CAL _IOWR(CAL_IOCTL_MAGIC, 214, void *)
42 #define AUDIO_GET_RTAC_CVP_CAL _IOWR(CAL_IOCTL_MAGIC, 215, void *)
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define AUDIO_SET_RTAC_CVP_CAL _IOWR(CAL_IOCTL_MAGIC, 216, void *)
45 #define AUDIO_GET_RTAC_AFE_CAL _IOWR(CAL_IOCTL_MAGIC, 217, void *)
46 #define AUDIO_SET_RTAC_AFE_CAL _IOWR(CAL_IOCTL_MAGIC, 218, void *)
47 enum {
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49   CVP_VOC_RX_TOPOLOGY_CAL_TYPE = 0,
50   CVP_VOC_TX_TOPOLOGY_CAL_TYPE,
51   CVP_VOCPROC_STATIC_CAL_TYPE,
52   CVP_VOCPROC_DYNAMIC_CAL_TYPE,
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54   CVS_VOCSTRM_STATIC_CAL_TYPE,
55   CVP_VOCDEV_CFG_CAL_TYPE,
56   CVP_VOCPROC_STATIC_COL_CAL_TYPE,
57   CVP_VOCPROC_DYNAMIC_COL_CAL_TYPE,
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59   CVS_VOCSTRM_STATIC_COL_CAL_TYPE,
60   ADM_TOPOLOGY_CAL_TYPE,
61   ADM_CUST_TOPOLOGY_CAL_TYPE,
62   ADM_AUDPROC_CAL_TYPE,
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   ADM_AUDVOL_CAL_TYPE,
65   ASM_TOPOLOGY_CAL_TYPE,
66   ASM_CUST_TOPOLOGY_CAL_TYPE,
67   ASM_AUDSTRM_CAL_TYPE,
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69   AFE_COMMON_RX_CAL_TYPE,
70   AFE_COMMON_TX_CAL_TYPE,
71   AFE_ANC_CAL_TYPE,
72   AFE_AANC_CAL_TYPE,
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74   AFE_FB_SPKR_PROT_CAL_TYPE,
75   AFE_HW_DELAY_CAL_TYPE,
76   AFE_SIDETONE_CAL_TYPE,
77   AFE_TOPOLOGY_CAL_TYPE,
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79   AFE_CUST_TOPOLOGY_CAL_TYPE,
80   LSM_CUST_TOPOLOGY_CAL_TYPE,
81   LSM_TOPOLOGY_CAL_TYPE,
82   LSM_CAL_TYPE,
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84   ADM_RTAC_INFO_CAL_TYPE,
85   VOICE_RTAC_INFO_CAL_TYPE,
86   ADM_RTAC_APR_CAL_TYPE,
87   ASM_RTAC_APR_CAL_TYPE,
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89   VOICE_RTAC_APR_CAL_TYPE,
90   MAD_CAL_TYPE,
91   ULP_AFE_CAL_TYPE,
92   ULP_LSM_CAL_TYPE,
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94   DTS_EAGLE_CAL_TYPE,
95   AUDIO_CORE_METAINFO_CAL_TYPE,
96   SRS_TRUMEDIA_CAL_TYPE,
97   ADM_RTAC_AUDVOL_CAL_TYPE,
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99   MAX_CAL_TYPES,
100 };
101 enum {
102   VERSION_0_0,
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 };
105 enum {
106   PER_VOCODER_CAL_BIT_MASK = 0x10000,
107 };
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 #define MAX_IOCTL_CMD_SIZE 512
110 struct audio_cal_header {
111   int32_t data_size;
112   int32_t version;
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114   int32_t cal_type;
115   int32_t cal_type_size;
116 };
117 struct audio_cal_type_header {
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119   int32_t version;
120   int32_t buffer_number;
121 };
122 struct audio_cal_data {
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124   int32_t cal_size;
125   int32_t mem_handle;
126 };
127 struct audio_cal_type_alloc {
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129   struct audio_cal_type_header cal_hdr;
130   struct audio_cal_data cal_data;
131 };
132 struct audio_cal_alloc {
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134   struct audio_cal_header hdr;
135   struct audio_cal_type_alloc cal_type;
136 };
137 struct audio_cal_type_dealloc {
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139   struct audio_cal_type_header cal_hdr;
140   struct audio_cal_data cal_data;
141 };
142 struct audio_cal_dealloc {
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144   struct audio_cal_header hdr;
145   struct audio_cal_type_dealloc cal_type;
146 };
147 struct audio_cal_type_prepare {
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149   struct audio_cal_type_header cal_hdr;
150   struct audio_cal_data cal_data;
151 };
152 struct audio_cal_prepare {
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154   struct audio_cal_header hdr;
155   struct audio_cal_type_prepare cal_type;
156 };
157 struct audio_cal_type_post {
158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159   struct audio_cal_type_header cal_hdr;
160   struct audio_cal_data cal_data;
161 };
162 struct audio_cal_post {
163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164   struct audio_cal_header hdr;
165   struct audio_cal_type_post cal_type;
166 };
167 struct audio_cal_info_metainfo {
168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169   uint32_t nKey;
170 };
171 enum {
172   RX_DEVICE,
173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174   TX_DEVICE,
175   MAX_PATH_TYPE
176 };
177 struct audio_cal_info_adm_top {
178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179   int32_t topology;
180   int32_t acdb_id;
181   int32_t path;
182   int32_t app_type;
183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184   int32_t sample_rate;
185 };
186 struct audio_cal_info_audproc {
187   int32_t acdb_id;
188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189   int32_t path;
190   int32_t app_type;
191   int32_t sample_rate;
192 };
193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194 struct audio_cal_info_audvol {
195   int32_t acdb_id;
196   int32_t path;
197   int32_t app_type;
198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199   int32_t vol_index;
200 };
201 struct audio_cal_info_afe {
202   int32_t acdb_id;
203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204   int32_t path;
205   int32_t sample_rate;
206 };
207 struct audio_cal_info_afe_top {
208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209   int32_t topology;
210   int32_t acdb_id;
211   int32_t path;
212   int32_t sample_rate;
213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214 };
215 struct audio_cal_info_asm_top {
216   int32_t topology;
217   int32_t app_type;
218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219 };
220 struct audio_cal_info_audstrm {
221   int32_t app_type;
222 };
223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224 struct audio_cal_info_aanc {
225   int32_t acdb_id;
226 };
227 #define MAX_HW_DELAY_ENTRIES 25
228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229 struct audio_cal_hw_delay_entry {
230   uint32_t sample_rate;
231   uint32_t delay_usec;
232 };
233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234 struct audio_cal_hw_delay_data {
235   uint32_t num_entries;
236   struct audio_cal_hw_delay_entry entry[MAX_HW_DELAY_ENTRIES];
237 };
238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239 struct audio_cal_info_hw_delay {
240   int32_t acdb_id;
241   int32_t path;
242   int32_t property_type;
243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
244   struct audio_cal_hw_delay_data data;
245 };
246 enum msm_spkr_prot_states {
247   MSM_SPKR_PROT_CALIBRATED,
248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
249   MSM_SPKR_PROT_CALIBRATION_IN_PROGRESS,
250   MSM_SPKR_PROT_DISABLED,
251   MSM_SPKR_PROT_NOT_CALIBRATED,
252   MSM_SPKR_PROT_PRE_CALIBRATED,
253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254 };
255 enum msm_spkr_count {
256   SP_V2_SPKR_1,
257   SP_V2_SPKR_2,
258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259   SP_V2_NUM_MAX_SPKRS
260 };
261 struct audio_cal_info_spk_prot_cfg {
262   int32_t r0[SP_V2_NUM_MAX_SPKRS];
263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264   int32_t t0[SP_V2_NUM_MAX_SPKRS];
265   uint32_t quick_calib_flag;
266   uint32_t mode;
267 };
268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269 struct audio_cal_info_msm_spk_prot_status {
270   int32_t r0[SP_V2_NUM_MAX_SPKRS];
271   int32_t status;
272 };
273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274 struct audio_cal_info_sidetone {
275   uint16_t enable;
276   uint16_t gain;
277   int32_t tx_acdb_id;
278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279   int32_t rx_acdb_id;
280   int32_t mid;
281   int32_t pid;
282 };
283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
284 struct audio_cal_info_lsm_top {
285   int32_t topology;
286   int32_t acdb_id;
287   int32_t app_type;
288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289 };
290 struct audio_cal_info_lsm {
291   int32_t acdb_id;
292   int32_t path;
293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294   int32_t app_type;
295 };
296 struct audio_cal_info_voc_top {
297   int32_t topology;
298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299   int32_t acdb_id;
300 };
301 struct audio_cal_info_vocproc {
302   int32_t tx_acdb_id;
303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304   int32_t rx_acdb_id;
305   int32_t tx_sample_rate;
306   int32_t rx_sample_rate;
307 };
308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
309 enum {
310   DEFAULT_FEATURE_SET,
311   VOL_BOOST_FEATURE_SET,
312 };
313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
314 struct audio_cal_info_vocvol {
315   int32_t tx_acdb_id;
316   int32_t rx_acdb_id;
317   int32_t feature_set;
318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
319 };
320 struct audio_cal_info_vocdev_cfg {
321   int32_t tx_acdb_id;
322   int32_t rx_acdb_id;
323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
324 };
325 #define MAX_VOICE_COLUMNS 20
326 union audio_cal_col_na {
327   uint8_t val8;
328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
329   uint16_t val16;
330   uint32_t val32;
331   uint64_t val64;
332 } __packed;
333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
334 struct audio_cal_col {
335   uint32_t id;
336   uint32_t type;
337   union audio_cal_col_na na_value;
338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
339 } __packed;
340 struct audio_cal_col_data {
341   uint32_t num_columns;
342   struct audio_cal_col column[MAX_VOICE_COLUMNS];
343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344 } __packed;
345 struct audio_cal_info_voc_col {
346   int32_t table_id;
347   int32_t tx_acdb_id;
348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
349   int32_t rx_acdb_id;
350   struct audio_cal_col_data data;
351 };
352 struct audio_cal_type_basic {
353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
354   struct audio_cal_type_header cal_hdr;
355   struct audio_cal_data cal_data;
356 };
357 struct audio_cal_basic {
358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359   struct audio_cal_header hdr;
360   struct audio_cal_type_basic cal_type;
361 };
362 struct audio_cal_type_adm_top {
363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
364   struct audio_cal_type_header cal_hdr;
365   struct audio_cal_data cal_data;
366   struct audio_cal_info_adm_top cal_info;
367 };
368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
369 struct audio_cal_adm_top {
370   struct audio_cal_header hdr;
371   struct audio_cal_type_adm_top cal_type;
372 };
373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
374 struct audio_cal_type_metainfo {
375   struct audio_cal_type_header cal_hdr;
376   struct audio_cal_data cal_data;
377   struct audio_cal_info_metainfo cal_info;
378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
379 };
380 struct audio_core_metainfo {
381   struct audio_cal_header hdr;
382   struct audio_cal_type_metainfo cal_type;
383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
384 };
385 struct audio_cal_type_audproc {
386   struct audio_cal_type_header cal_hdr;
387   struct audio_cal_data cal_data;
388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
389   struct audio_cal_info_audproc cal_info;
390 };
391 struct audio_cal_audproc {
392   struct audio_cal_header hdr;
393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
394   struct audio_cal_type_audproc cal_type;
395 };
396 struct audio_cal_type_audvol {
397   struct audio_cal_type_header cal_hdr;
398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
399   struct audio_cal_data cal_data;
400   struct audio_cal_info_audvol cal_info;
401 };
402 struct audio_cal_audvol {
403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
404   struct audio_cal_header hdr;
405   struct audio_cal_type_audvol cal_type;
406 };
407 struct audio_cal_type_asm_top {
408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
409   struct audio_cal_type_header cal_hdr;
410   struct audio_cal_data cal_data;
411   struct audio_cal_info_asm_top cal_info;
412 };
413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
414 struct audio_cal_asm_top {
415   struct audio_cal_header hdr;
416   struct audio_cal_type_asm_top cal_type;
417 };
418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
419 struct audio_cal_type_audstrm {
420   struct audio_cal_type_header cal_hdr;
421   struct audio_cal_data cal_data;
422   struct audio_cal_info_audstrm cal_info;
423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
424 };
425 struct audio_cal_audstrm {
426   struct audio_cal_header hdr;
427   struct audio_cal_type_audstrm cal_type;
428 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
429 };
430 struct audio_cal_type_afe {
431   struct audio_cal_type_header cal_hdr;
432   struct audio_cal_data cal_data;
433 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
434   struct audio_cal_info_afe cal_info;
435 };
436 struct audio_cal_afe {
437   struct audio_cal_header hdr;
438 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
439   struct audio_cal_type_afe cal_type;
440 };
441 struct audio_cal_type_afe_top {
442   struct audio_cal_type_header cal_hdr;
443 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
444   struct audio_cal_data cal_data;
445   struct audio_cal_info_afe_top cal_info;
446 };
447 struct audio_cal_afe_top {
448 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
449   struct audio_cal_header hdr;
450   struct audio_cal_type_afe_top cal_type;
451 };
452 struct audio_cal_type_aanc {
453 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
454   struct audio_cal_type_header cal_hdr;
455   struct audio_cal_data cal_data;
456   struct audio_cal_info_aanc cal_info;
457 };
458 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
459 struct audio_cal_aanc {
460   struct audio_cal_header hdr;
461   struct audio_cal_type_aanc cal_type;
462 };
463 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
464 struct audio_cal_type_fb_spk_prot_cfg {
465   struct audio_cal_type_header cal_hdr;
466   struct audio_cal_data cal_data;
467   struct audio_cal_info_spk_prot_cfg cal_info;
468 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
469 };
470 struct audio_cal_fb_spk_prot_cfg {
471   struct audio_cal_header hdr;
472   struct audio_cal_type_fb_spk_prot_cfg cal_type;
473 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
474 };
475 struct audio_cal_type_hw_delay {
476   struct audio_cal_type_header cal_hdr;
477   struct audio_cal_data cal_data;
478 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
479   struct audio_cal_info_hw_delay cal_info;
480 };
481 struct audio_cal_hw_delay {
482   struct audio_cal_header hdr;
483 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
484   struct audio_cal_type_hw_delay cal_type;
485 };
486 struct audio_cal_type_sidetone {
487   struct audio_cal_type_header cal_hdr;
488 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
489   struct audio_cal_data cal_data;
490   struct audio_cal_info_sidetone cal_info;
491 };
492 struct audio_cal_sidetone {
493 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
494   struct audio_cal_header hdr;
495   struct audio_cal_type_sidetone cal_type;
496 };
497 struct audio_cal_type_lsm_top {
498 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
499   struct audio_cal_type_header cal_hdr;
500   struct audio_cal_data cal_data;
501   struct audio_cal_info_lsm_top cal_info;
502 };
503 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
504 struct audio_cal_lsm_top {
505   struct audio_cal_header hdr;
506   struct audio_cal_type_lsm_top cal_type;
507 };
508 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
509 struct audio_cal_type_lsm {
510   struct audio_cal_type_header cal_hdr;
511   struct audio_cal_data cal_data;
512   struct audio_cal_info_lsm cal_info;
513 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
514 };
515 struct audio_cal_lsm {
516   struct audio_cal_header hdr;
517   struct audio_cal_type_lsm cal_type;
518 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
519 };
520 struct audio_cal_type_voc_top {
521   struct audio_cal_type_header cal_hdr;
522   struct audio_cal_data cal_data;
523 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
524   struct audio_cal_info_voc_top cal_info;
525 };
526 struct audio_cal_voc_top {
527   struct audio_cal_header hdr;
528 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
529   struct audio_cal_type_voc_top cal_type;
530 };
531 struct audio_cal_type_vocproc {
532   struct audio_cal_type_header cal_hdr;
533 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
534   struct audio_cal_data cal_data;
535   struct audio_cal_info_vocproc cal_info;
536 };
537 struct audio_cal_vocproc {
538 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
539   struct audio_cal_header hdr;
540   struct audio_cal_type_vocproc cal_type;
541 };
542 struct audio_cal_type_vocvol {
543 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
544   struct audio_cal_type_header cal_hdr;
545   struct audio_cal_data cal_data;
546   struct audio_cal_info_vocvol cal_info;
547 };
548 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
549 struct audio_cal_vocvol {
550   struct audio_cal_header hdr;
551   struct audio_cal_type_vocvol cal_type;
552 };
553 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
554 struct audio_cal_type_vocdev_cfg {
555   struct audio_cal_type_header cal_hdr;
556   struct audio_cal_data cal_data;
557   struct audio_cal_info_vocdev_cfg cal_info;
558 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
559 };
560 struct audio_cal_vocdev_cfg {
561   struct audio_cal_header hdr;
562   struct audio_cal_type_vocdev_cfg cal_type;
563 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
564 };
565 struct audio_cal_type_voc_col {
566   struct audio_cal_type_header cal_hdr;
567   struct audio_cal_data cal_data;
568 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
569   struct audio_cal_info_voc_col cal_info;
570 };
571 struct audio_cal_voc_col {
572   struct audio_cal_header hdr;
573 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
574   struct audio_cal_type_voc_col cal_type;
575 };
576 struct audio_cal_type_fb_spk_prot_status {
577   struct audio_cal_type_header cal_hdr;
578 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
579   struct audio_cal_data cal_data;
580   struct audio_cal_info_msm_spk_prot_status cal_info;
581 };
582 struct audio_cal_fb_spk_prot_status {
583 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
584   struct audio_cal_header hdr;
585   struct audio_cal_type_fb_spk_prot_status cal_type;
586 };
587 #endif
588 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
589 
590