Devin Kim | d19c803 | 2015-03-04 14:52:59 -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 _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' |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 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 *) |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 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 *) |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 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 *) |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 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 *) |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 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 *) |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 47 | enum { |
| 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 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, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 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, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 59 | CVS_VOCSTRM_STATIC_COL_CAL_TYPE, |
| 60 | ADM_TOPOLOGY_CAL_TYPE, |
| 61 | ADM_CUST_TOPOLOGY_CAL_TYPE, |
| 62 | ADM_AUDPROC_CAL_TYPE, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 64 | ADM_AUDVOL_CAL_TYPE, |
| 65 | ASM_TOPOLOGY_CAL_TYPE, |
| 66 | ASM_CUST_TOPOLOGY_CAL_TYPE, |
| 67 | ASM_AUDSTRM_CAL_TYPE, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 69 | AFE_COMMON_RX_CAL_TYPE, |
| 70 | AFE_COMMON_TX_CAL_TYPE, |
| 71 | AFE_ANC_CAL_TYPE, |
| 72 | AFE_AANC_CAL_TYPE, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 74 | AFE_FB_SPKR_PROT_CAL_TYPE, |
| 75 | AFE_HW_DELAY_CAL_TYPE, |
| 76 | AFE_SIDETONE_CAL_TYPE, |
| 77 | LSM_CUST_TOPOLOGY_CAL_TYPE, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 79 | LSM_TOPOLOGY_CAL_TYPE, |
| 80 | LSM_CAL_TYPE, |
| 81 | ADM_RTAC_INFO_CAL_TYPE, |
| 82 | VOICE_RTAC_INFO_CAL_TYPE, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 84 | ADM_RTAC_APR_CAL_TYPE, |
| 85 | ASM_RTAC_APR_CAL_TYPE, |
| 86 | VOICE_RTAC_APR_CAL_TYPE, |
| 87 | MAD_CAL_TYPE, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 89 | ULP_AFE_CAL_TYPE, |
| 90 | ULP_LSM_CAL_TYPE, |
| 91 | DTS_EAGLE_CAL_TYPE, |
| 92 | AUDIO_CORE_METAINFO_CAL_TYPE, |
| 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 94 | MAX_CAL_TYPES, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 95 | }; |
| 96 | enum { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 97 | VERSION_0_0, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 98 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 99 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 100 | enum { |
| 101 | PER_VOCODER_CAL_BIT_MASK = 0x10000, |
| 102 | }; |
| 103 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 104 | #define MAX_IOCTL_CMD_SIZE 512 |
| 105 | struct audio_cal_header { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 106 | int32_t data_size; |
| 107 | int32_t version; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 108 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 109 | int32_t cal_type; |
| 110 | int32_t cal_type_size; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 111 | }; |
| 112 | struct audio_cal_type_header { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 113 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 114 | int32_t version; |
| 115 | int32_t buffer_number; |
| 116 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 117 | struct audio_cal_data { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 118 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 119 | int32_t cal_size; |
| 120 | int32_t mem_handle; |
| 121 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 122 | struct audio_cal_type_alloc { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 123 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 124 | struct audio_cal_type_header cal_hdr; |
| 125 | struct audio_cal_data cal_data; |
| 126 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 127 | struct audio_cal_alloc { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 128 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 129 | struct audio_cal_header hdr; |
| 130 | struct audio_cal_type_alloc cal_type; |
| 131 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 132 | struct audio_cal_type_dealloc { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 133 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 134 | struct audio_cal_type_header cal_hdr; |
| 135 | struct audio_cal_data cal_data; |
| 136 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 137 | struct audio_cal_dealloc { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 138 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 139 | struct audio_cal_header hdr; |
| 140 | struct audio_cal_type_dealloc cal_type; |
| 141 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 142 | struct audio_cal_type_prepare { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 143 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 144 | struct audio_cal_type_header cal_hdr; |
| 145 | struct audio_cal_data cal_data; |
| 146 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 147 | struct audio_cal_prepare { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 148 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 149 | struct audio_cal_header hdr; |
| 150 | struct audio_cal_type_prepare cal_type; |
| 151 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 152 | struct audio_cal_type_post { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 153 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 154 | struct audio_cal_type_header cal_hdr; |
| 155 | struct audio_cal_data cal_data; |
| 156 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 157 | struct audio_cal_post { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 158 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 159 | struct audio_cal_header hdr; |
| 160 | struct audio_cal_type_post cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 161 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 162 | struct audio_cal_info_metainfo { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 163 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 164 | uint32_t nKey; |
| 165 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 166 | enum { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 167 | RX_DEVICE, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 168 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 169 | TX_DEVICE, |
| 170 | MAX_PATH_TYPE |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 171 | }; |
| 172 | struct audio_cal_info_adm_top { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 173 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 174 | int32_t topology; |
| 175 | int32_t acdb_id; |
| 176 | int32_t path; |
| 177 | int32_t app_type; |
| 178 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 179 | }; |
| 180 | struct audio_cal_info_audproc { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 181 | int32_t acdb_id; |
| 182 | int32_t path; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 183 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 184 | int32_t app_type; |
| 185 | int32_t sample_rate; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 186 | }; |
| 187 | struct audio_cal_info_audvol { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 188 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 189 | int32_t acdb_id; |
| 190 | int32_t path; |
| 191 | int32_t app_type; |
| 192 | int32_t vol_index; |
| 193 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 194 | }; |
| 195 | struct audio_cal_info_afe { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 196 | int32_t acdb_id; |
| 197 | int32_t path; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 198 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 199 | int32_t sample_rate; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 200 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 201 | struct audio_cal_info_asm_top { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 202 | int32_t topology; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 203 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 204 | int32_t app_type; |
| 205 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 206 | struct audio_cal_info_audstrm { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 207 | int32_t app_type; |
| 208 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 209 | }; |
| 210 | struct audio_cal_info_aanc { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 211 | int32_t acdb_id; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 212 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 213 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 214 | #define MAX_HW_DELAY_ENTRIES 25 |
| 215 | struct audio_cal_hw_delay_entry { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 216 | uint32_t sample_rate; |
| 217 | uint32_t delay_usec; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 218 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 219 | }; |
| 220 | struct audio_cal_hw_delay_data { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 221 | uint32_t num_entries; |
| 222 | struct audio_cal_hw_delay_entry entry[MAX_HW_DELAY_ENTRIES]; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 223 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 224 | }; |
| 225 | struct audio_cal_info_hw_delay { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 226 | int32_t acdb_id; |
| 227 | int32_t path; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 228 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 229 | int32_t property_type; |
| 230 | struct audio_cal_hw_delay_data data; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 231 | }; |
| 232 | enum msm_spkr_prot_states { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 233 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 234 | MSM_SPKR_PROT_CALIBRATED, |
| 235 | MSM_SPKR_PROT_CALIBRATION_IN_PROGRESS, |
| 236 | MSM_SPKR_PROT_DISABLED, |
| 237 | MSM_SPKR_PROT_NOT_CALIBRATED |
| 238 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 239 | }; |
| 240 | struct audio_cal_info_spk_prot_cfg { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 241 | int32_t r0; |
| 242 | int32_t t0; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 243 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 244 | uint32_t mode; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 245 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 246 | struct audio_cal_info_msm_spk_prot_status { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 247 | int32_t r0; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 248 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 249 | int32_t status; |
| 250 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 251 | struct audio_cal_info_sidetone { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 252 | uint16_t enable; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 253 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 254 | uint16_t gain; |
| 255 | int32_t tx_acdb_id; |
| 256 | int32_t rx_acdb_id; |
| 257 | int32_t mid; |
| 258 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 259 | int32_t pid; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 260 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 261 | struct audio_cal_info_lsm_top { |
| 262 | int32_t topology; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 263 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 264 | int32_t acdb_id; |
| 265 | int32_t app_type; |
| 266 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 267 | struct audio_cal_info_lsm { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 268 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 269 | int32_t acdb_id; |
| 270 | int32_t path; |
| 271 | int32_t app_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 272 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 273 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 274 | struct audio_cal_info_voc_top { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 275 | int32_t topology; |
| 276 | int32_t acdb_id; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 277 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 278 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 279 | struct audio_cal_info_vocproc { |
| 280 | int32_t tx_acdb_id; |
| 281 | int32_t rx_acdb_id; |
| 282 | int32_t tx_sample_rate; |
| 283 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 284 | int32_t rx_sample_rate; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 285 | }; |
| 286 | enum { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 287 | DEFAULT_FEATURE_SET, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 288 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 289 | VOL_BOOST_FEATURE_SET, |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 290 | }; |
| 291 | struct audio_cal_info_vocvol { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 292 | int32_t tx_acdb_id; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 293 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 294 | int32_t rx_acdb_id; |
| 295 | int32_t feature_set; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 296 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 297 | struct audio_cal_info_vocdev_cfg { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 298 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 299 | int32_t tx_acdb_id; |
| 300 | int32_t rx_acdb_id; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 301 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 302 | #define MAX_VOICE_COLUMNS 20 |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 303 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 304 | union audio_cal_col_na { |
| 305 | uint8_t val8; |
| 306 | uint16_t val16; |
| 307 | uint32_t val32; |
| 308 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 309 | uint64_t val64; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 310 | } __packed; |
| 311 | struct audio_cal_col { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 312 | uint32_t id; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 313 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 314 | uint32_t type; |
| 315 | union audio_cal_col_na na_value; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 316 | } __packed; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 317 | struct audio_cal_col_data { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 318 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 319 | uint32_t num_columns; |
| 320 | struct audio_cal_col column[MAX_VOICE_COLUMNS]; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 321 | } __packed; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 322 | struct audio_cal_info_voc_col { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 323 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 324 | int32_t table_id; |
| 325 | int32_t tx_acdb_id; |
| 326 | int32_t rx_acdb_id; |
| 327 | struct audio_cal_col_data data; |
| 328 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 329 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 330 | struct audio_cal_type_basic { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 331 | struct audio_cal_type_header cal_hdr; |
| 332 | struct audio_cal_data cal_data; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 333 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 334 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 335 | struct audio_cal_basic { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 336 | struct audio_cal_header hdr; |
| 337 | struct audio_cal_type_basic cal_type; |
| 338 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 339 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 340 | struct audio_cal_type_adm_top { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 341 | struct audio_cal_type_header cal_hdr; |
| 342 | struct audio_cal_data cal_data; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 343 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 344 | struct audio_cal_info_adm_top cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 345 | }; |
| 346 | struct audio_cal_adm_top { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 347 | struct audio_cal_header hdr; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 348 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 349 | struct audio_cal_type_adm_top cal_type; |
| 350 | }; |
| 351 | struct audio_cal_type_metainfo { |
| 352 | struct audio_cal_type_header cal_hdr; |
| 353 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 354 | struct audio_cal_data cal_data; |
| 355 | struct audio_cal_info_metainfo cal_info; |
| 356 | }; |
| 357 | struct audio_core_metainfo { |
| 358 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 359 | struct audio_cal_header hdr; |
| 360 | struct audio_cal_type_metainfo cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 361 | }; |
| 362 | struct audio_cal_type_audproc { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 363 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 364 | struct audio_cal_type_header cal_hdr; |
| 365 | struct audio_cal_data cal_data; |
| 366 | struct audio_cal_info_audproc cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 367 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 368 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 369 | struct audio_cal_audproc { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 370 | struct audio_cal_header hdr; |
| 371 | struct audio_cal_type_audproc cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 372 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 373 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 374 | struct audio_cal_type_audvol { |
| 375 | struct audio_cal_type_header cal_hdr; |
| 376 | struct audio_cal_data cal_data; |
| 377 | struct audio_cal_info_audvol cal_info; |
| 378 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 379 | }; |
| 380 | struct audio_cal_audvol { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 381 | struct audio_cal_header hdr; |
| 382 | struct audio_cal_type_audvol cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 383 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 384 | }; |
| 385 | struct audio_cal_type_asm_top { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 386 | struct audio_cal_type_header cal_hdr; |
| 387 | struct audio_cal_data cal_data; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 388 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 389 | struct audio_cal_info_asm_top cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 390 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 391 | struct audio_cal_asm_top { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 392 | struct audio_cal_header hdr; |
| 393 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 394 | struct audio_cal_type_asm_top cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 395 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 396 | struct audio_cal_type_audstrm { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 397 | struct audio_cal_type_header cal_hdr; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 398 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 399 | struct audio_cal_data cal_data; |
| 400 | struct audio_cal_info_audstrm cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 401 | }; |
| 402 | struct audio_cal_audstrm { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 403 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 404 | struct audio_cal_header hdr; |
| 405 | struct audio_cal_type_audstrm cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 406 | }; |
| 407 | struct audio_cal_type_afe { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 408 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 409 | struct audio_cal_type_header cal_hdr; |
| 410 | struct audio_cal_data cal_data; |
| 411 | struct audio_cal_info_afe cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 412 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 413 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 414 | struct audio_cal_afe { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 415 | struct audio_cal_header hdr; |
| 416 | struct audio_cal_type_afe cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 417 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 418 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 419 | struct audio_cal_type_aanc { |
| 420 | struct audio_cal_type_header cal_hdr; |
| 421 | struct audio_cal_data cal_data; |
| 422 | struct audio_cal_info_aanc cal_info; |
| 423 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 424 | }; |
| 425 | struct audio_cal_aanc { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 426 | struct audio_cal_header hdr; |
| 427 | struct audio_cal_type_aanc cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 428 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 429 | }; |
| 430 | struct audio_cal_type_fb_spk_prot_cfg { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 431 | struct audio_cal_type_header cal_hdr; |
| 432 | struct audio_cal_data cal_data; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 433 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 434 | struct audio_cal_info_spk_prot_cfg cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 435 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 436 | struct audio_cal_fb_spk_prot_cfg { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 437 | struct audio_cal_header hdr; |
| 438 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 439 | struct audio_cal_type_fb_spk_prot_cfg cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 440 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 441 | struct audio_cal_type_hw_delay { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 442 | struct audio_cal_type_header cal_hdr; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 443 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 444 | struct audio_cal_data cal_data; |
| 445 | struct audio_cal_info_hw_delay cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 446 | }; |
| 447 | struct audio_cal_hw_delay { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 448 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 449 | struct audio_cal_header hdr; |
| 450 | struct audio_cal_type_hw_delay cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 451 | }; |
| 452 | struct audio_cal_type_sidetone { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 453 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 454 | struct audio_cal_type_header cal_hdr; |
| 455 | struct audio_cal_data cal_data; |
| 456 | struct audio_cal_info_sidetone cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 457 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 458 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 459 | struct audio_cal_sidetone { |
| 460 | struct audio_cal_header hdr; |
| 461 | struct audio_cal_type_sidetone cal_type; |
| 462 | }; |
| 463 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 464 | struct audio_cal_type_lsm_top { |
| 465 | struct audio_cal_type_header cal_hdr; |
| 466 | struct audio_cal_data cal_data; |
| 467 | struct audio_cal_info_lsm_top cal_info; |
| 468 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 469 | }; |
| 470 | struct audio_cal_lsm_top { |
| 471 | struct audio_cal_header hdr; |
| 472 | struct audio_cal_type_lsm_top cal_type; |
| 473 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 474 | }; |
| 475 | struct audio_cal_type_lsm { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 476 | struct audio_cal_type_header cal_hdr; |
| 477 | struct audio_cal_data cal_data; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 478 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 479 | struct audio_cal_info_lsm cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 480 | }; |
| 481 | struct audio_cal_lsm { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 482 | struct audio_cal_header hdr; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 483 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 484 | struct audio_cal_type_lsm cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 485 | }; |
| 486 | struct audio_cal_type_voc_top { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 487 | struct audio_cal_type_header cal_hdr; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 488 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 489 | struct audio_cal_data cal_data; |
| 490 | struct audio_cal_info_voc_top cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 491 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 492 | struct audio_cal_voc_top { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 493 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 494 | struct audio_cal_header hdr; |
| 495 | struct audio_cal_type_voc_top cal_type; |
| 496 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 497 | struct audio_cal_type_vocproc { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 498 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 499 | struct audio_cal_type_header cal_hdr; |
| 500 | struct audio_cal_data cal_data; |
| 501 | struct audio_cal_info_vocproc cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 502 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 503 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 504 | struct audio_cal_vocproc { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 505 | struct audio_cal_header hdr; |
| 506 | struct audio_cal_type_vocproc cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 507 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 508 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 509 | struct audio_cal_type_vocvol { |
| 510 | struct audio_cal_type_header cal_hdr; |
| 511 | struct audio_cal_data cal_data; |
| 512 | struct audio_cal_info_vocvol cal_info; |
| 513 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 514 | }; |
| 515 | struct audio_cal_vocvol { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 516 | struct audio_cal_header hdr; |
| 517 | struct audio_cal_type_vocvol cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 518 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 519 | }; |
| 520 | struct audio_cal_type_vocdev_cfg { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 521 | struct audio_cal_type_header cal_hdr; |
| 522 | struct audio_cal_data cal_data; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 523 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 524 | struct audio_cal_info_vocdev_cfg cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 525 | }; |
| 526 | struct audio_cal_vocdev_cfg { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 527 | struct audio_cal_header hdr; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 528 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 529 | struct audio_cal_type_vocdev_cfg cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 530 | }; |
| 531 | struct audio_cal_type_voc_col { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 532 | struct audio_cal_type_header cal_hdr; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 533 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 534 | struct audio_cal_data cal_data; |
| 535 | struct audio_cal_info_voc_col cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 536 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 537 | struct audio_cal_voc_col { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 538 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 539 | struct audio_cal_header hdr; |
| 540 | struct audio_cal_type_voc_col cal_type; |
| 541 | }; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 542 | struct audio_cal_type_fb_spk_prot_status { |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 543 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 544 | struct audio_cal_type_header cal_hdr; |
| 545 | struct audio_cal_data cal_data; |
| 546 | struct audio_cal_info_msm_spk_prot_status cal_info; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 547 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 548 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 549 | struct audio_cal_fb_spk_prot_status { |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 550 | struct audio_cal_header hdr; |
| 551 | struct audio_cal_type_fb_spk_prot_status cal_type; |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 552 | }; |
Prashant Malani | 8b098e3 | 2015-09-01 18:23:56 -0700 | [diff] [blame] | 553 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Devin Kim | d19c803 | 2015-03-04 14:52:59 -0800 | [diff] [blame] | 554 | #endif |