root/include/linux/mfd/madera/registers.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * Madera register definitions
   4  *
   5  * Copyright (C) 2015-2018 Cirrus Logic
   6  */
   7 
   8 #ifndef MADERA_REGISTERS_H
   9 #define MADERA_REGISTERS_H
  10 
  11 /*
  12  * Register Addresses.
  13  */
  14 #define MADERA_SOFTWARE_RESET                           0x00
  15 #define MADERA_HARDWARE_REVISION                        0x01
  16 #define MADERA_CTRL_IF_CFG_1                            0x08
  17 #define MADERA_CTRL_IF_CFG_2                            0x09
  18 #define MADERA_CTRL_IF_CFG_3                            0x0A
  19 #define MADERA_WRITE_SEQUENCER_CTRL_0                   0x16
  20 #define MADERA_WRITE_SEQUENCER_CTRL_1                   0x17
  21 #define MADERA_WRITE_SEQUENCER_CTRL_2                   0x18
  22 #define MADERA_TONE_GENERATOR_1                         0x20
  23 #define MADERA_TONE_GENERATOR_2                         0x21
  24 #define MADERA_TONE_GENERATOR_3                         0x22
  25 #define MADERA_TONE_GENERATOR_4                         0x23
  26 #define MADERA_TONE_GENERATOR_5                         0x24
  27 #define MADERA_PWM_DRIVE_1                              0x30
  28 #define MADERA_PWM_DRIVE_2                              0x31
  29 #define MADERA_PWM_DRIVE_3                              0x32
  30 #define MADERA_SEQUENCE_CONTROL                         0x41
  31 #define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_1            0x61
  32 #define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_2            0x62
  33 #define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_3            0x63
  34 #define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_4            0x64
  35 #define MADERA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_1     0x66
  36 #define MADERA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_2     0x67
  37 #define MADERA_HAPTICS_CONTROL_1                        0x90
  38 #define MADERA_HAPTICS_CONTROL_2                        0x91
  39 #define MADERA_HAPTICS_PHASE_1_INTENSITY                0x92
  40 #define MADERA_HAPTICS_PHASE_1_DURATION                 0x93
  41 #define MADERA_HAPTICS_PHASE_2_INTENSITY                0x94
  42 #define MADERA_HAPTICS_PHASE_2_DURATION                 0x95
  43 #define MADERA_HAPTICS_PHASE_3_INTENSITY                0x96
  44 #define MADERA_HAPTICS_PHASE_3_DURATION                 0x97
  45 #define MADERA_HAPTICS_STATUS                           0x98
  46 #define MADERA_COMFORT_NOISE_GENERATOR                  0xA0
  47 #define MADERA_CLOCK_32K_1                              0x100
  48 #define MADERA_SYSTEM_CLOCK_1                           0x101
  49 #define MADERA_SAMPLE_RATE_1                            0x102
  50 #define MADERA_SAMPLE_RATE_2                            0x103
  51 #define MADERA_SAMPLE_RATE_3                            0x104
  52 #define MADERA_SAMPLE_RATE_1_STATUS                     0x10A
  53 #define MADERA_SAMPLE_RATE_2_STATUS                     0x10B
  54 #define MADERA_SAMPLE_RATE_3_STATUS                     0x10C
  55 #define MADERA_ASYNC_CLOCK_1                            0x112
  56 #define MADERA_ASYNC_SAMPLE_RATE_1                      0x113
  57 #define MADERA_ASYNC_SAMPLE_RATE_2                      0x114
  58 #define MADERA_ASYNC_SAMPLE_RATE_1_STATUS               0x11B
  59 #define MADERA_ASYNC_SAMPLE_RATE_2_STATUS               0x11C
  60 #define MADERA_DSP_CLOCK_1                              0x120
  61 #define MADERA_DSP_CLOCK_2                              0x122
  62 #define MADERA_OUTPUT_SYSTEM_CLOCK                      0x149
  63 #define MADERA_OUTPUT_ASYNC_CLOCK                       0x14A
  64 #define MADERA_RATE_ESTIMATOR_1                         0x152
  65 #define MADERA_RATE_ESTIMATOR_2                         0x153
  66 #define MADERA_RATE_ESTIMATOR_3                         0x154
  67 #define MADERA_RATE_ESTIMATOR_4                         0x155
  68 #define MADERA_RATE_ESTIMATOR_5                         0x156
  69 #define MADERA_FLL1_CONTROL_1                           0x171
  70 #define MADERA_FLL1_CONTROL_2                           0x172
  71 #define MADERA_FLL1_CONTROL_3                           0x173
  72 #define MADERA_FLL1_CONTROL_4                           0x174
  73 #define MADERA_FLL1_CONTROL_5                           0x175
  74 #define MADERA_FLL1_CONTROL_6                           0x176
  75 #define CS47L92_FLL1_CONTROL_7                          0x177
  76 #define CS47L92_FLL1_CONTROL_8                          0x178
  77 #define MADERA_FLL1_CONTROL_7                           0x179
  78 #define CS47L92_FLL1_CONTROL_9                          0x179
  79 #define MADERA_FLL1_EFS_2                               0x17A
  80 #define CS47L92_FLL1_CONTROL_10                         0x17A
  81 #define MADERA_FLL1_CONTROL_11                          0x17B
  82 #define MADERA_FLL1_DIGITAL_TEST_1                      0x17D
  83 #define CS47L35_FLL1_SYNCHRONISER_1                     0x17F
  84 #define CS47L35_FLL1_SYNCHRONISER_2                     0x180
  85 #define CS47L35_FLL1_SYNCHRONISER_3                     0x181
  86 #define CS47L35_FLL1_SYNCHRONISER_4                     0x182
  87 #define CS47L35_FLL1_SYNCHRONISER_5                     0x183
  88 #define CS47L35_FLL1_SYNCHRONISER_6                     0x184
  89 #define CS47L35_FLL1_SYNCHRONISER_7                     0x185
  90 #define CS47L35_FLL1_SPREAD_SPECTRUM                    0x187
  91 #define CS47L35_FLL1_GPIO_CLOCK                         0x188
  92 #define MADERA_FLL1_SYNCHRONISER_1                      0x181
  93 #define MADERA_FLL1_SYNCHRONISER_2                      0x182
  94 #define MADERA_FLL1_SYNCHRONISER_3                      0x183
  95 #define MADERA_FLL1_SYNCHRONISER_4                      0x184
  96 #define MADERA_FLL1_SYNCHRONISER_5                      0x185
  97 #define MADERA_FLL1_SYNCHRONISER_6                      0x186
  98 #define MADERA_FLL1_SYNCHRONISER_7                      0x187
  99 #define MADERA_FLL1_SPREAD_SPECTRUM                     0x189
 100 #define MADERA_FLL1_GPIO_CLOCK                          0x18A
 101 #define CS47L92_FLL1_GPIO_CLOCK                         0x18E
 102 #define MADERA_FLL2_CONTROL_1                           0x191
 103 #define MADERA_FLL2_CONTROL_2                           0x192
 104 #define MADERA_FLL2_CONTROL_3                           0x193
 105 #define MADERA_FLL2_CONTROL_4                           0x194
 106 #define MADERA_FLL2_CONTROL_5                           0x195
 107 #define MADERA_FLL2_CONTROL_6                           0x196
 108 #define CS47L92_FLL2_CONTROL_7                          0x197
 109 #define CS47L92_FLL2_CONTROL_8                          0x198
 110 #define MADERA_FLL2_CONTROL_7                           0x199
 111 #define CS47L92_FLL2_CONTROL_9                          0x199
 112 #define MADERA_FLL2_EFS_2                               0x19A
 113 #define CS47L92_FLL2_CONTROL_10                         0x19A
 114 #define MADERA_FLL2_CONTROL_11                          0x19B
 115 #define MADERA_FLL2_DIGITAL_TEST_1                      0x19D
 116 #define MADERA_FLL2_SYNCHRONISER_1                      0x1A1
 117 #define MADERA_FLL2_SYNCHRONISER_2                      0x1A2
 118 #define MADERA_FLL2_SYNCHRONISER_3                      0x1A3
 119 #define MADERA_FLL2_SYNCHRONISER_4                      0x1A4
 120 #define MADERA_FLL2_SYNCHRONISER_5                      0x1A5
 121 #define MADERA_FLL2_SYNCHRONISER_6                      0x1A6
 122 #define MADERA_FLL2_SYNCHRONISER_7                      0x1A7
 123 #define MADERA_FLL2_SPREAD_SPECTRUM                     0x1A9
 124 #define MADERA_FLL2_GPIO_CLOCK                          0x1AA
 125 #define CS47L92_FLL2_GPIO_CLOCK                         0x1AE
 126 #define MADERA_FLL3_CONTROL_1                           0x1B1
 127 #define MADERA_FLL3_CONTROL_2                           0x1B2
 128 #define MADERA_FLL3_CONTROL_3                           0x1B3
 129 #define MADERA_FLL3_CONTROL_4                           0x1B4
 130 #define MADERA_FLL3_CONTROL_5                           0x1B5
 131 #define MADERA_FLL3_CONTROL_6                           0x1B6
 132 #define MADERA_FLL3_CONTROL_7                           0x1B9
 133 #define MADERA_FLL3_SYNCHRONISER_1                      0x1C1
 134 #define MADERA_FLL3_SYNCHRONISER_2                      0x1C2
 135 #define MADERA_FLL3_SYNCHRONISER_3                      0x1C3
 136 #define MADERA_FLL3_SYNCHRONISER_4                      0x1C4
 137 #define MADERA_FLL3_SYNCHRONISER_5                      0x1C5
 138 #define MADERA_FLL3_SYNCHRONISER_6                      0x1C6
 139 #define MADERA_FLL3_SYNCHRONISER_7                      0x1C7
 140 #define MADERA_FLL3_SPREAD_SPECTRUM                     0x1C9
 141 #define MADERA_FLL3_GPIO_CLOCK                          0x1CA
 142 #define MADERA_FLLAO_CONTROL_1                          0x1D1
 143 #define MADERA_FLLAO_CONTROL_2                          0x1D2
 144 #define MADERA_FLLAO_CONTROL_3                          0x1D3
 145 #define MADERA_FLLAO_CONTROL_4                          0x1D4
 146 #define MADERA_FLLAO_CONTROL_5                          0x1D5
 147 #define MADERA_FLLAO_CONTROL_6                          0x1D6
 148 #define MADERA_FLLAO_CONTROL_7                          0x1D8
 149 #define MADERA_FLLAO_CONTROL_8                          0x1DA
 150 #define MADERA_FLLAO_CONTROL_9                          0x1DB
 151 #define MADERA_FLLAO_CONTROL_10                         0x1DC
 152 #define MADERA_FLLAO_CONTROL_11                         0x1DD
 153 #define MADERA_MIC_CHARGE_PUMP_1                        0x200
 154 #define MADERA_HP_CHARGE_PUMP_8                         0x20B
 155 #define MADERA_LDO1_CONTROL_1                           0x210
 156 #define MADERA_LDO2_CONTROL_1                           0x213
 157 #define MADERA_MIC_BIAS_CTRL_1                          0x218
 158 #define MADERA_MIC_BIAS_CTRL_2                          0x219
 159 #define MADERA_MIC_BIAS_CTRL_3                          0x21A
 160 #define MADERA_MIC_BIAS_CTRL_4                          0x21B
 161 #define MADERA_MIC_BIAS_CTRL_5                          0x21C
 162 #define MADERA_MIC_BIAS_CTRL_6                          0x21E
 163 #define MADERA_HP_CTRL_1L                               0x225
 164 #define MADERA_HP_CTRL_1R                               0x226
 165 #define MADERA_HP_CTRL_2L                               0x227
 166 #define MADERA_HP_CTRL_2R                               0x228
 167 #define MADERA_HP_CTRL_3L                               0x229
 168 #define MADERA_HP_CTRL_3R                               0x22A
 169 #define MADERA_DCS_HP1L_CONTROL                         0x232
 170 #define MADERA_DCS_HP1R_CONTROL                         0x238
 171 #define MADERA_EDRE_HP_STEREO_CONTROL                   0x27E
 172 #define MADERA_ACCESSORY_DETECT_MODE_1                  0x293
 173 #define MADERA_HEADPHONE_DETECT_0                       0x299
 174 #define MADERA_HEADPHONE_DETECT_1                       0x29B
 175 #define MADERA_HEADPHONE_DETECT_2                       0x29C
 176 #define MADERA_HEADPHONE_DETECT_3                       0x29D
 177 #define MADERA_HEADPHONE_DETECT_4                       0x29E
 178 #define MADERA_HEADPHONE_DETECT_5                       0x29F
 179 #define MADERA_MIC_DETECT_1_CONTROL_0                   0x2A2
 180 #define MADERA_MIC_DETECT_1_CONTROL_1                   0x2A3
 181 #define MADERA_MIC_DETECT_1_CONTROL_2                   0x2A4
 182 #define MADERA_MIC_DETECT_1_CONTROL_3                   0x2A5
 183 #define MADERA_MIC_DETECT_1_LEVEL_1                     0x2A6
 184 #define MADERA_MIC_DETECT_1_LEVEL_2                     0x2A7
 185 #define MADERA_MIC_DETECT_1_LEVEL_3                     0x2A8
 186 #define MADERA_MIC_DETECT_1_LEVEL_4                     0x2A9
 187 #define MADERA_MIC_DETECT_1_CONTROL_4                   0x2AB
 188 #define MADERA_MIC_DETECT_2_CONTROL_0                   0x2B2
 189 #define MADERA_MIC_DETECT_2_CONTROL_1                   0x2B3
 190 #define MADERA_MIC_DETECT_2_CONTROL_2                   0x2B4
 191 #define MADERA_MIC_DETECT_2_CONTROL_3                   0x2B5
 192 #define MADERA_MIC_DETECT_2_LEVEL_1                     0x2B6
 193 #define MADERA_MIC_DETECT_2_LEVEL_2                     0x2B7
 194 #define MADERA_MIC_DETECT_2_LEVEL_3                     0x2B8
 195 #define MADERA_MIC_DETECT_2_LEVEL_4                     0x2B9
 196 #define MADERA_MIC_DETECT_2_CONTROL_4                   0x2BB
 197 #define MADERA_MICD_CLAMP_CONTROL                       0x2C6
 198 #define MADERA_GP_SWITCH_1                              0x2C8
 199 #define MADERA_JACK_DETECT_ANALOGUE                     0x2D3
 200 #define MADERA_INPUT_ENABLES                            0x300
 201 #define MADERA_INPUT_ENABLES_STATUS                     0x301
 202 #define MADERA_INPUT_RATE                               0x308
 203 #define MADERA_INPUT_VOLUME_RAMP                        0x309
 204 #define MADERA_HPF_CONTROL                              0x30C
 205 #define MADERA_IN1L_CONTROL                             0x310
 206 #define MADERA_ADC_DIGITAL_VOLUME_1L                    0x311
 207 #define MADERA_DMIC1L_CONTROL                           0x312
 208 #define MADERA_IN1L_RATE_CONTROL                        0x313
 209 #define MADERA_IN1R_CONTROL                             0x314
 210 #define MADERA_ADC_DIGITAL_VOLUME_1R                    0x315
 211 #define MADERA_DMIC1R_CONTROL                           0x316
 212 #define MADERA_IN1R_RATE_CONTROL                        0x317
 213 #define MADERA_IN2L_CONTROL                             0x318
 214 #define MADERA_ADC_DIGITAL_VOLUME_2L                    0x319
 215 #define MADERA_DMIC2L_CONTROL                           0x31A
 216 #define MADERA_IN2L_RATE_CONTROL                        0x31B
 217 #define MADERA_IN2R_CONTROL                             0x31C
 218 #define MADERA_ADC_DIGITAL_VOLUME_2R                    0x31D
 219 #define MADERA_DMIC2R_CONTROL                           0x31E
 220 #define MADERA_IN2R_RATE_CONTROL                        0x31F
 221 #define MADERA_IN3L_CONTROL                             0x320
 222 #define MADERA_ADC_DIGITAL_VOLUME_3L                    0x321
 223 #define MADERA_DMIC3L_CONTROL                           0x322
 224 #define MADERA_IN3L_RATE_CONTROL                        0x323
 225 #define MADERA_IN3R_CONTROL                             0x324
 226 #define MADERA_ADC_DIGITAL_VOLUME_3R                    0x325
 227 #define MADERA_DMIC3R_CONTROL                           0x326
 228 #define MADERA_IN3R_RATE_CONTROL                        0x327
 229 #define MADERA_IN4L_CONTROL                             0x328
 230 #define MADERA_ADC_DIGITAL_VOLUME_4L                    0x329
 231 #define MADERA_DMIC4L_CONTROL                           0x32A
 232 #define MADERA_IN4L_RATE_CONTROL                        0x32B
 233 #define MADERA_IN4R_CONTROL                             0x32C
 234 #define MADERA_ADC_DIGITAL_VOLUME_4R                    0x32D
 235 #define MADERA_DMIC4R_CONTROL                           0x32E
 236 #define MADERA_IN4R_RATE_CONTROL                        0x32F
 237 #define MADERA_IN5L_CONTROL                             0x330
 238 #define MADERA_ADC_DIGITAL_VOLUME_5L                    0x331
 239 #define MADERA_DMIC5L_CONTROL                           0x332
 240 #define MADERA_IN5L_RATE_CONTROL                        0x333
 241 #define MADERA_IN5R_CONTROL                             0x334
 242 #define MADERA_ADC_DIGITAL_VOLUME_5R                    0x335
 243 #define MADERA_DMIC5R_CONTROL                           0x336
 244 #define MADERA_IN5R_RATE_CONTROL                        0x337
 245 #define MADERA_IN6L_CONTROL                             0x338
 246 #define MADERA_ADC_DIGITAL_VOLUME_6L                    0x339
 247 #define MADERA_DMIC6L_CONTROL                           0x33A
 248 #define MADERA_IN6R_CONTROL                             0x33C
 249 #define MADERA_ADC_DIGITAL_VOLUME_6R                    0x33D
 250 #define MADERA_DMIC6R_CONTROL                           0x33E
 251 #define CS47L15_ADC_INT_BIAS                            0x3A8
 252 #define CS47L15_PGA_BIAS_SEL                            0x3C4
 253 #define MADERA_OUTPUT_ENABLES_1                         0x400
 254 #define MADERA_OUTPUT_STATUS_1                          0x401
 255 #define MADERA_RAW_OUTPUT_STATUS_1                      0x406
 256 #define MADERA_OUTPUT_RATE_1                            0x408
 257 #define MADERA_OUTPUT_VOLUME_RAMP                       0x409
 258 #define MADERA_OUTPUT_PATH_CONFIG_1L                    0x410
 259 #define MADERA_DAC_DIGITAL_VOLUME_1L                    0x411
 260 #define MADERA_OUTPUT_PATH_CONFIG_1                     0x412
 261 #define MADERA_NOISE_GATE_SELECT_1L                     0x413
 262 #define MADERA_OUTPUT_PATH_CONFIG_1R                    0x414
 263 #define MADERA_DAC_DIGITAL_VOLUME_1R                    0x415
 264 #define MADERA_NOISE_GATE_SELECT_1R                     0x417
 265 #define MADERA_OUTPUT_PATH_CONFIG_2L                    0x418
 266 #define MADERA_DAC_DIGITAL_VOLUME_2L                    0x419
 267 #define MADERA_OUTPUT_PATH_CONFIG_2                     0x41A
 268 #define MADERA_NOISE_GATE_SELECT_2L                     0x41B
 269 #define MADERA_OUTPUT_PATH_CONFIG_2R                    0x41C
 270 #define MADERA_DAC_DIGITAL_VOLUME_2R                    0x41D
 271 #define MADERA_NOISE_GATE_SELECT_2R                     0x41F
 272 #define MADERA_OUTPUT_PATH_CONFIG_3L                    0x420
 273 #define MADERA_DAC_DIGITAL_VOLUME_3L                    0x421
 274 #define MADERA_OUTPUT_PATH_CONFIG_3                     0x422
 275 #define MADERA_NOISE_GATE_SELECT_3L                     0x423
 276 #define MADERA_OUTPUT_PATH_CONFIG_3R                    0x424
 277 #define MADERA_DAC_DIGITAL_VOLUME_3R                    0x425
 278 #define MADERA_NOISE_GATE_SELECT_3R                     0x427
 279 #define MADERA_OUTPUT_PATH_CONFIG_4L                    0x428
 280 #define MADERA_DAC_DIGITAL_VOLUME_4L                    0x429
 281 #define MADERA_NOISE_GATE_SELECT_4L                     0x42B
 282 #define MADERA_OUTPUT_PATH_CONFIG_4R                    0x42C
 283 #define MADERA_DAC_DIGITAL_VOLUME_4R                    0x42D
 284 #define MADERA_NOISE_GATE_SELECT_4R                     0x42F
 285 #define MADERA_OUTPUT_PATH_CONFIG_5L                    0x430
 286 #define MADERA_DAC_DIGITAL_VOLUME_5L                    0x431
 287 #define MADERA_NOISE_GATE_SELECT_5L                     0x433
 288 #define MADERA_OUTPUT_PATH_CONFIG_5R                    0x434
 289 #define MADERA_DAC_DIGITAL_VOLUME_5R                    0x435
 290 #define MADERA_NOISE_GATE_SELECT_5R                     0x437
 291 #define MADERA_OUTPUT_PATH_CONFIG_6L                    0x438
 292 #define MADERA_DAC_DIGITAL_VOLUME_6L                    0x439
 293 #define MADERA_NOISE_GATE_SELECT_6L                     0x43B
 294 #define MADERA_OUTPUT_PATH_CONFIG_6R                    0x43C
 295 #define MADERA_DAC_DIGITAL_VOLUME_6R                    0x43D
 296 #define MADERA_NOISE_GATE_SELECT_6R                     0x43F
 297 #define MADERA_DAC_AEC_CONTROL_1                        0x450
 298 #define MADERA_DAC_AEC_CONTROL_2                        0x451
 299 #define MADERA_NOISE_GATE_CONTROL                       0x458
 300 #define MADERA_PDM_SPK1_CTRL_1                          0x490
 301 #define MADERA_PDM_SPK1_CTRL_2                          0x491
 302 #define MADERA_PDM_SPK2_CTRL_1                          0x492
 303 #define MADERA_PDM_SPK2_CTRL_2                          0x493
 304 #define MADERA_HP1_SHORT_CIRCUIT_CTRL                   0x4A0
 305 #define MADERA_HP2_SHORT_CIRCUIT_CTRL                   0x4A1
 306 #define MADERA_HP3_SHORT_CIRCUIT_CTRL                   0x4A2
 307 #define MADERA_HP_TEST_CTRL_1                           0x4A4
 308 #define MADERA_HP_TEST_CTRL_5                           0x4A8
 309 #define MADERA_HP_TEST_CTRL_6                           0x4A9
 310 #define MADERA_AIF1_BCLK_CTRL                           0x500
 311 #define MADERA_AIF1_TX_PIN_CTRL                         0x501
 312 #define MADERA_AIF1_RX_PIN_CTRL                         0x502
 313 #define MADERA_AIF1_RATE_CTRL                           0x503
 314 #define MADERA_AIF1_FORMAT                              0x504
 315 #define MADERA_AIF1_RX_BCLK_RATE                        0x506
 316 #define MADERA_AIF1_FRAME_CTRL_1                        0x507
 317 #define MADERA_AIF1_FRAME_CTRL_2                        0x508
 318 #define MADERA_AIF1_FRAME_CTRL_3                        0x509
 319 #define MADERA_AIF1_FRAME_CTRL_4                        0x50A
 320 #define MADERA_AIF1_FRAME_CTRL_5                        0x50B
 321 #define MADERA_AIF1_FRAME_CTRL_6                        0x50C
 322 #define MADERA_AIF1_FRAME_CTRL_7                        0x50D
 323 #define MADERA_AIF1_FRAME_CTRL_8                        0x50E
 324 #define MADERA_AIF1_FRAME_CTRL_9                        0x50F
 325 #define MADERA_AIF1_FRAME_CTRL_10                       0x510
 326 #define MADERA_AIF1_FRAME_CTRL_11                       0x511
 327 #define MADERA_AIF1_FRAME_CTRL_12                       0x512
 328 #define MADERA_AIF1_FRAME_CTRL_13                       0x513
 329 #define MADERA_AIF1_FRAME_CTRL_14                       0x514
 330 #define MADERA_AIF1_FRAME_CTRL_15                       0x515
 331 #define MADERA_AIF1_FRAME_CTRL_16                       0x516
 332 #define MADERA_AIF1_FRAME_CTRL_17                       0x517
 333 #define MADERA_AIF1_FRAME_CTRL_18                       0x518
 334 #define MADERA_AIF1_TX_ENABLES                          0x519
 335 #define MADERA_AIF1_RX_ENABLES                          0x51A
 336 #define MADERA_AIF1_FORCE_WRITE                         0x51B
 337 #define MADERA_AIF2_BCLK_CTRL                           0x540
 338 #define MADERA_AIF2_TX_PIN_CTRL                         0x541
 339 #define MADERA_AIF2_RX_PIN_CTRL                         0x542
 340 #define MADERA_AIF2_RATE_CTRL                           0x543
 341 #define MADERA_AIF2_FORMAT                              0x544
 342 #define MADERA_AIF2_RX_BCLK_RATE                        0x546
 343 #define MADERA_AIF2_FRAME_CTRL_1                        0x547
 344 #define MADERA_AIF2_FRAME_CTRL_2                        0x548
 345 #define MADERA_AIF2_FRAME_CTRL_3                        0x549
 346 #define MADERA_AIF2_FRAME_CTRL_4                        0x54A
 347 #define MADERA_AIF2_FRAME_CTRL_5                        0x54B
 348 #define MADERA_AIF2_FRAME_CTRL_6                        0x54C
 349 #define MADERA_AIF2_FRAME_CTRL_7                        0x54D
 350 #define MADERA_AIF2_FRAME_CTRL_8                        0x54E
 351 #define MADERA_AIF2_FRAME_CTRL_9                        0x54F
 352 #define MADERA_AIF2_FRAME_CTRL_10                       0x550
 353 #define MADERA_AIF2_FRAME_CTRL_11                       0x551
 354 #define MADERA_AIF2_FRAME_CTRL_12                       0x552
 355 #define MADERA_AIF2_FRAME_CTRL_13                       0x553
 356 #define MADERA_AIF2_FRAME_CTRL_14                       0x554
 357 #define MADERA_AIF2_FRAME_CTRL_15                       0x555
 358 #define MADERA_AIF2_FRAME_CTRL_16                       0x556
 359 #define MADERA_AIF2_FRAME_CTRL_17                       0x557
 360 #define MADERA_AIF2_FRAME_CTRL_18                       0x558
 361 #define MADERA_AIF2_TX_ENABLES                          0x559
 362 #define MADERA_AIF2_RX_ENABLES                          0x55A
 363 #define MADERA_AIF2_FORCE_WRITE                         0x55B
 364 #define MADERA_AIF3_BCLK_CTRL                           0x580
 365 #define MADERA_AIF3_TX_PIN_CTRL                         0x581
 366 #define MADERA_AIF3_RX_PIN_CTRL                         0x582
 367 #define MADERA_AIF3_RATE_CTRL                           0x583
 368 #define MADERA_AIF3_FORMAT                              0x584
 369 #define MADERA_AIF3_RX_BCLK_RATE                        0x586
 370 #define MADERA_AIF3_FRAME_CTRL_1                        0x587
 371 #define MADERA_AIF3_FRAME_CTRL_2                        0x588
 372 #define MADERA_AIF3_FRAME_CTRL_3                        0x589
 373 #define MADERA_AIF3_FRAME_CTRL_4                        0x58A
 374 #define MADERA_AIF3_FRAME_CTRL_5                        0x58B
 375 #define MADERA_AIF3_FRAME_CTRL_6                        0x58C
 376 #define MADERA_AIF3_FRAME_CTRL_7                        0x58D
 377 #define MADERA_AIF3_FRAME_CTRL_8                        0x58E
 378 #define MADERA_AIF3_FRAME_CTRL_9                        0x58F
 379 #define MADERA_AIF3_FRAME_CTRL_10                       0x590
 380 #define MADERA_AIF3_FRAME_CTRL_11                       0x591
 381 #define MADERA_AIF3_FRAME_CTRL_12                       0x592
 382 #define MADERA_AIF3_FRAME_CTRL_13                       0x593
 383 #define MADERA_AIF3_FRAME_CTRL_14                       0x594
 384 #define MADERA_AIF3_FRAME_CTRL_15                       0x595
 385 #define MADERA_AIF3_FRAME_CTRL_16                       0x596
 386 #define MADERA_AIF3_FRAME_CTRL_17                       0x597
 387 #define MADERA_AIF3_FRAME_CTRL_18                       0x598
 388 #define MADERA_AIF3_TX_ENABLES                          0x599
 389 #define MADERA_AIF3_RX_ENABLES                          0x59A
 390 #define MADERA_AIF3_FORCE_WRITE                         0x59B
 391 #define MADERA_AIF4_BCLK_CTRL                           0x5A0
 392 #define MADERA_AIF4_TX_PIN_CTRL                         0x5A1
 393 #define MADERA_AIF4_RX_PIN_CTRL                         0x5A2
 394 #define MADERA_AIF4_RATE_CTRL                           0x5A3
 395 #define MADERA_AIF4_FORMAT                              0x5A4
 396 #define MADERA_AIF4_RX_BCLK_RATE                        0x5A6
 397 #define MADERA_AIF4_FRAME_CTRL_1                        0x5A7
 398 #define MADERA_AIF4_FRAME_CTRL_2                        0x5A8
 399 #define MADERA_AIF4_FRAME_CTRL_3                        0x5A9
 400 #define MADERA_AIF4_FRAME_CTRL_4                        0x5AA
 401 #define MADERA_AIF4_FRAME_CTRL_11                       0x5B1
 402 #define MADERA_AIF4_FRAME_CTRL_12                       0x5B2
 403 #define MADERA_AIF4_TX_ENABLES                          0x5B9
 404 #define MADERA_AIF4_RX_ENABLES                          0x5BA
 405 #define MADERA_AIF4_FORCE_WRITE                         0x5BB
 406 #define MADERA_SPD1_TX_CONTROL                          0x5C2
 407 #define MADERA_SPD1_TX_CHANNEL_STATUS_1                 0x5C3
 408 #define MADERA_SPD1_TX_CHANNEL_STATUS_2                 0x5C4
 409 #define MADERA_SPD1_TX_CHANNEL_STATUS_3                 0x5C5
 410 #define MADERA_SLIMBUS_FRAMER_REF_GEAR                  0x5E3
 411 #define MADERA_SLIMBUS_RATES_1                          0x5E5
 412 #define MADERA_SLIMBUS_RATES_2                          0x5E6
 413 #define MADERA_SLIMBUS_RATES_3                          0x5E7
 414 #define MADERA_SLIMBUS_RATES_4                          0x5E8
 415 #define MADERA_SLIMBUS_RATES_5                          0x5E9
 416 #define MADERA_SLIMBUS_RATES_6                          0x5EA
 417 #define MADERA_SLIMBUS_RATES_7                          0x5EB
 418 #define MADERA_SLIMBUS_RATES_8                          0x5EC
 419 #define MADERA_SLIMBUS_RX_CHANNEL_ENABLE                0x5F5
 420 #define MADERA_SLIMBUS_TX_CHANNEL_ENABLE                0x5F6
 421 #define MADERA_SLIMBUS_RX_PORT_STATUS                   0x5F7
 422 #define MADERA_SLIMBUS_TX_PORT_STATUS                   0x5F8
 423 #define MADERA_PWM1MIX_INPUT_1_SOURCE                   0x640
 424 #define MADERA_PWM1MIX_INPUT_1_VOLUME                   0x641
 425 #define MADERA_PWM1MIX_INPUT_2_SOURCE                   0x642
 426 #define MADERA_PWM1MIX_INPUT_2_VOLUME                   0x643
 427 #define MADERA_PWM1MIX_INPUT_3_SOURCE                   0x644
 428 #define MADERA_PWM1MIX_INPUT_3_VOLUME                   0x645
 429 #define MADERA_PWM1MIX_INPUT_4_SOURCE                   0x646
 430 #define MADERA_PWM1MIX_INPUT_4_VOLUME                   0x647
 431 #define MADERA_PWM2MIX_INPUT_1_SOURCE                   0x648
 432 #define MADERA_PWM2MIX_INPUT_1_VOLUME                   0x649
 433 #define MADERA_PWM2MIX_INPUT_2_SOURCE                   0x64A
 434 #define MADERA_PWM2MIX_INPUT_2_VOLUME                   0x64B
 435 #define MADERA_PWM2MIX_INPUT_3_SOURCE                   0x64C
 436 #define MADERA_PWM2MIX_INPUT_3_VOLUME                   0x64D
 437 #define MADERA_PWM2MIX_INPUT_4_SOURCE                   0x64E
 438 #define MADERA_PWM2MIX_INPUT_4_VOLUME                   0x64F
 439 #define MADERA_OUT1LMIX_INPUT_1_SOURCE                  0x680
 440 #define MADERA_OUT1LMIX_INPUT_1_VOLUME                  0x681
 441 #define MADERA_OUT1LMIX_INPUT_2_SOURCE                  0x682
 442 #define MADERA_OUT1LMIX_INPUT_2_VOLUME                  0x683
 443 #define MADERA_OUT1LMIX_INPUT_3_SOURCE                  0x684
 444 #define MADERA_OUT1LMIX_INPUT_3_VOLUME                  0x685
 445 #define MADERA_OUT1LMIX_INPUT_4_SOURCE                  0x686
 446 #define MADERA_OUT1LMIX_INPUT_4_VOLUME                  0x687
 447 #define MADERA_OUT1RMIX_INPUT_1_SOURCE                  0x688
 448 #define MADERA_OUT1RMIX_INPUT_1_VOLUME                  0x689
 449 #define MADERA_OUT1RMIX_INPUT_2_SOURCE                  0x68A
 450 #define MADERA_OUT1RMIX_INPUT_2_VOLUME                  0x68B
 451 #define MADERA_OUT1RMIX_INPUT_3_SOURCE                  0x68C
 452 #define MADERA_OUT1RMIX_INPUT_3_VOLUME                  0x68D
 453 #define MADERA_OUT1RMIX_INPUT_4_SOURCE                  0x68E
 454 #define MADERA_OUT1RMIX_INPUT_4_VOLUME                  0x68F
 455 #define MADERA_OUT2LMIX_INPUT_1_SOURCE                  0x690
 456 #define MADERA_OUT2LMIX_INPUT_1_VOLUME                  0x691
 457 #define MADERA_OUT2LMIX_INPUT_2_SOURCE                  0x692
 458 #define MADERA_OUT2LMIX_INPUT_2_VOLUME                  0x693
 459 #define MADERA_OUT2LMIX_INPUT_3_SOURCE                  0x694
 460 #define MADERA_OUT2LMIX_INPUT_3_VOLUME                  0x695
 461 #define MADERA_OUT2LMIX_INPUT_4_SOURCE                  0x696
 462 #define MADERA_OUT2LMIX_INPUT_4_VOLUME                  0x697
 463 #define MADERA_OUT2RMIX_INPUT_1_SOURCE                  0x698
 464 #define MADERA_OUT2RMIX_INPUT_1_VOLUME                  0x699
 465 #define MADERA_OUT2RMIX_INPUT_2_SOURCE                  0x69A
 466 #define MADERA_OUT2RMIX_INPUT_2_VOLUME                  0x69B
 467 #define MADERA_OUT2RMIX_INPUT_3_SOURCE                  0x69C
 468 #define MADERA_OUT2RMIX_INPUT_3_VOLUME                  0x69D
 469 #define MADERA_OUT2RMIX_INPUT_4_SOURCE                  0x69E
 470 #define MADERA_OUT2RMIX_INPUT_4_VOLUME                  0x69F
 471 #define MADERA_OUT3LMIX_INPUT_1_SOURCE                  0x6A0
 472 #define MADERA_OUT3LMIX_INPUT_1_VOLUME                  0x6A1
 473 #define MADERA_OUT3LMIX_INPUT_2_SOURCE                  0x6A2
 474 #define MADERA_OUT3LMIX_INPUT_2_VOLUME                  0x6A3
 475 #define MADERA_OUT3LMIX_INPUT_3_SOURCE                  0x6A4
 476 #define MADERA_OUT3LMIX_INPUT_3_VOLUME                  0x6A5
 477 #define MADERA_OUT3LMIX_INPUT_4_SOURCE                  0x6A6
 478 #define MADERA_OUT3LMIX_INPUT_4_VOLUME                  0x6A7
 479 #define MADERA_OUT3RMIX_INPUT_1_SOURCE                  0x6A8
 480 #define MADERA_OUT3RMIX_INPUT_1_VOLUME                  0x6A9
 481 #define MADERA_OUT3RMIX_INPUT_2_SOURCE                  0x6AA
 482 #define MADERA_OUT3RMIX_INPUT_2_VOLUME                  0x6AB
 483 #define MADERA_OUT3RMIX_INPUT_3_SOURCE                  0x6AC
 484 #define MADERA_OUT3RMIX_INPUT_3_VOLUME                  0x6AD
 485 #define MADERA_OUT3RMIX_INPUT_4_SOURCE                  0x6AE
 486 #define MADERA_OUT3RMIX_INPUT_4_VOLUME                  0x6AF
 487 #define MADERA_OUT4LMIX_INPUT_1_SOURCE                  0x6B0
 488 #define MADERA_OUT4LMIX_INPUT_1_VOLUME                  0x6B1
 489 #define MADERA_OUT4LMIX_INPUT_2_SOURCE                  0x6B2
 490 #define MADERA_OUT4LMIX_INPUT_2_VOLUME                  0x6B3
 491 #define MADERA_OUT4LMIX_INPUT_3_SOURCE                  0x6B4
 492 #define MADERA_OUT4LMIX_INPUT_3_VOLUME                  0x6B5
 493 #define MADERA_OUT4LMIX_INPUT_4_SOURCE                  0x6B6
 494 #define MADERA_OUT4LMIX_INPUT_4_VOLUME                  0x6B7
 495 #define MADERA_OUT4RMIX_INPUT_1_SOURCE                  0x6B8
 496 #define MADERA_OUT4RMIX_INPUT_1_VOLUME                  0x6B9
 497 #define MADERA_OUT4RMIX_INPUT_2_SOURCE                  0x6BA
 498 #define MADERA_OUT4RMIX_INPUT_2_VOLUME                  0x6BB
 499 #define MADERA_OUT4RMIX_INPUT_3_SOURCE                  0x6BC
 500 #define MADERA_OUT4RMIX_INPUT_3_VOLUME                  0x6BD
 501 #define MADERA_OUT4RMIX_INPUT_4_SOURCE                  0x6BE
 502 #define MADERA_OUT4RMIX_INPUT_4_VOLUME                  0x6BF
 503 #define MADERA_OUT5LMIX_INPUT_1_SOURCE                  0x6C0
 504 #define MADERA_OUT5LMIX_INPUT_1_VOLUME                  0x6C1
 505 #define MADERA_OUT5LMIX_INPUT_2_SOURCE                  0x6C2
 506 #define MADERA_OUT5LMIX_INPUT_2_VOLUME                  0x6C3
 507 #define MADERA_OUT5LMIX_INPUT_3_SOURCE                  0x6C4
 508 #define MADERA_OUT5LMIX_INPUT_3_VOLUME                  0x6C5
 509 #define MADERA_OUT5LMIX_INPUT_4_SOURCE                  0x6C6
 510 #define MADERA_OUT5LMIX_INPUT_4_VOLUME                  0x6C7
 511 #define MADERA_OUT5RMIX_INPUT_1_SOURCE                  0x6C8
 512 #define MADERA_OUT5RMIX_INPUT_1_VOLUME                  0x6C9
 513 #define MADERA_OUT5RMIX_INPUT_2_SOURCE                  0x6CA
 514 #define MADERA_OUT5RMIX_INPUT_2_VOLUME                  0x6CB
 515 #define MADERA_OUT5RMIX_INPUT_3_SOURCE                  0x6CC
 516 #define MADERA_OUT5RMIX_INPUT_3_VOLUME                  0x6CD
 517 #define MADERA_OUT5RMIX_INPUT_4_SOURCE                  0x6CE
 518 #define MADERA_OUT5RMIX_INPUT_4_VOLUME                  0x6CF
 519 #define MADERA_OUT6LMIX_INPUT_1_SOURCE                  0x6D0
 520 #define MADERA_OUT6LMIX_INPUT_1_VOLUME                  0x6D1
 521 #define MADERA_OUT6LMIX_INPUT_2_SOURCE                  0x6D2
 522 #define MADERA_OUT6LMIX_INPUT_2_VOLUME                  0x6D3
 523 #define MADERA_OUT6LMIX_INPUT_3_SOURCE                  0x6D4
 524 #define MADERA_OUT6LMIX_INPUT_3_VOLUME                  0x6D5
 525 #define MADERA_OUT6LMIX_INPUT_4_SOURCE                  0x6D6
 526 #define MADERA_OUT6LMIX_INPUT_4_VOLUME                  0x6D7
 527 #define MADERA_OUT6RMIX_INPUT_1_SOURCE                  0x6D8
 528 #define MADERA_OUT6RMIX_INPUT_1_VOLUME                  0x6D9
 529 #define MADERA_OUT6RMIX_INPUT_2_SOURCE                  0x6DA
 530 #define MADERA_OUT6RMIX_INPUT_2_VOLUME                  0x6DB
 531 #define MADERA_OUT6RMIX_INPUT_3_SOURCE                  0x6DC
 532 #define MADERA_OUT6RMIX_INPUT_3_VOLUME                  0x6DD
 533 #define MADERA_OUT6RMIX_INPUT_4_SOURCE                  0x6DE
 534 #define MADERA_OUT6RMIX_INPUT_4_VOLUME                  0x6DF
 535 #define MADERA_AIF1TX1MIX_INPUT_1_SOURCE                0x700
 536 #define MADERA_AIF1TX1MIX_INPUT_1_VOLUME                0x701
 537 #define MADERA_AIF1TX1MIX_INPUT_2_SOURCE                0x702
 538 #define MADERA_AIF1TX1MIX_INPUT_2_VOLUME                0x703
 539 #define MADERA_AIF1TX1MIX_INPUT_3_SOURCE                0x704
 540 #define MADERA_AIF1TX1MIX_INPUT_3_VOLUME                0x705
 541 #define MADERA_AIF1TX1MIX_INPUT_4_SOURCE                0x706
 542 #define MADERA_AIF1TX1MIX_INPUT_4_VOLUME                0x707
 543 #define MADERA_AIF1TX2MIX_INPUT_1_SOURCE                0x708
 544 #define MADERA_AIF1TX2MIX_INPUT_1_VOLUME                0x709
 545 #define MADERA_AIF1TX2MIX_INPUT_2_SOURCE                0x70A
 546 #define MADERA_AIF1TX2MIX_INPUT_2_VOLUME                0x70B
 547 #define MADERA_AIF1TX2MIX_INPUT_3_SOURCE                0x70C
 548 #define MADERA_AIF1TX2MIX_INPUT_3_VOLUME                0x70D
 549 #define MADERA_AIF1TX2MIX_INPUT_4_SOURCE                0x70E
 550 #define MADERA_AIF1TX2MIX_INPUT_4_VOLUME                0x70F
 551 #define MADERA_AIF1TX3MIX_INPUT_1_SOURCE                0x710
 552 #define MADERA_AIF1TX3MIX_INPUT_1_VOLUME                0x711
 553 #define MADERA_AIF1TX3MIX_INPUT_2_SOURCE                0x712
 554 #define MADERA_AIF1TX3MIX_INPUT_2_VOLUME                0x713
 555 #define MADERA_AIF1TX3MIX_INPUT_3_SOURCE                0x714
 556 #define MADERA_AIF1TX3MIX_INPUT_3_VOLUME                0x715
 557 #define MADERA_AIF1TX3MIX_INPUT_4_SOURCE                0x716
 558 #define MADERA_AIF1TX3MIX_INPUT_4_VOLUME                0x717
 559 #define MADERA_AIF1TX4MIX_INPUT_1_SOURCE                0x718
 560 #define MADERA_AIF1TX4MIX_INPUT_1_VOLUME                0x719
 561 #define MADERA_AIF1TX4MIX_INPUT_2_SOURCE                0x71A
 562 #define MADERA_AIF1TX4MIX_INPUT_2_VOLUME                0x71B
 563 #define MADERA_AIF1TX4MIX_INPUT_3_SOURCE                0x71C
 564 #define MADERA_AIF1TX4MIX_INPUT_3_VOLUME                0x71D
 565 #define MADERA_AIF1TX4MIX_INPUT_4_SOURCE                0x71E
 566 #define MADERA_AIF1TX4MIX_INPUT_4_VOLUME                0x71F
 567 #define MADERA_AIF1TX5MIX_INPUT_1_SOURCE                0x720
 568 #define MADERA_AIF1TX5MIX_INPUT_1_VOLUME                0x721
 569 #define MADERA_AIF1TX5MIX_INPUT_2_SOURCE                0x722
 570 #define MADERA_AIF1TX5MIX_INPUT_2_VOLUME                0x723
 571 #define MADERA_AIF1TX5MIX_INPUT_3_SOURCE                0x724
 572 #define MADERA_AIF1TX5MIX_INPUT_3_VOLUME                0x725
 573 #define MADERA_AIF1TX5MIX_INPUT_4_SOURCE                0x726
 574 #define MADERA_AIF1TX5MIX_INPUT_4_VOLUME                0x727
 575 #define MADERA_AIF1TX6MIX_INPUT_1_SOURCE                0x728
 576 #define MADERA_AIF1TX6MIX_INPUT_1_VOLUME                0x729
 577 #define MADERA_AIF1TX6MIX_INPUT_2_SOURCE                0x72A
 578 #define MADERA_AIF1TX6MIX_INPUT_2_VOLUME                0x72B
 579 #define MADERA_AIF1TX6MIX_INPUT_3_SOURCE                0x72C
 580 #define MADERA_AIF1TX6MIX_INPUT_3_VOLUME                0x72D
 581 #define MADERA_AIF1TX6MIX_INPUT_4_SOURCE                0x72E
 582 #define MADERA_AIF1TX6MIX_INPUT_4_VOLUME                0x72F
 583 #define MADERA_AIF1TX7MIX_INPUT_1_SOURCE                0x730
 584 #define MADERA_AIF1TX7MIX_INPUT_1_VOLUME                0x731
 585 #define MADERA_AIF1TX7MIX_INPUT_2_SOURCE                0x732
 586 #define MADERA_AIF1TX7MIX_INPUT_2_VOLUME                0x733
 587 #define MADERA_AIF1TX7MIX_INPUT_3_SOURCE                0x734
 588 #define MADERA_AIF1TX7MIX_INPUT_3_VOLUME                0x735
 589 #define MADERA_AIF1TX7MIX_INPUT_4_SOURCE                0x736
 590 #define MADERA_AIF1TX7MIX_INPUT_4_VOLUME                0x737
 591 #define MADERA_AIF1TX8MIX_INPUT_1_SOURCE                0x738
 592 #define MADERA_AIF1TX8MIX_INPUT_1_VOLUME                0x739
 593 #define MADERA_AIF1TX8MIX_INPUT_2_SOURCE                0x73A
 594 #define MADERA_AIF1TX8MIX_INPUT_2_VOLUME                0x73B
 595 #define MADERA_AIF1TX8MIX_INPUT_3_SOURCE                0x73C
 596 #define MADERA_AIF1TX8MIX_INPUT_3_VOLUME                0x73D
 597 #define MADERA_AIF1TX8MIX_INPUT_4_SOURCE                0x73E
 598 #define MADERA_AIF1TX8MIX_INPUT_4_VOLUME                0x73F
 599 #define MADERA_AIF2TX1MIX_INPUT_1_SOURCE                0x740
 600 #define MADERA_AIF2TX1MIX_INPUT_1_VOLUME                0x741
 601 #define MADERA_AIF2TX1MIX_INPUT_2_SOURCE                0x742
 602 #define MADERA_AIF2TX1MIX_INPUT_2_VOLUME                0x743
 603 #define MADERA_AIF2TX1MIX_INPUT_3_SOURCE                0x744
 604 #define MADERA_AIF2TX1MIX_INPUT_3_VOLUME                0x745
 605 #define MADERA_AIF2TX1MIX_INPUT_4_SOURCE                0x746
 606 #define MADERA_AIF2TX1MIX_INPUT_4_VOLUME                0x747
 607 #define MADERA_AIF2TX2MIX_INPUT_1_SOURCE                0x748
 608 #define MADERA_AIF2TX2MIX_INPUT_1_VOLUME                0x749
 609 #define MADERA_AIF2TX2MIX_INPUT_2_SOURCE                0x74A
 610 #define MADERA_AIF2TX2MIX_INPUT_2_VOLUME                0x74B
 611 #define MADERA_AIF2TX2MIX_INPUT_3_SOURCE                0x74C
 612 #define MADERA_AIF2TX2MIX_INPUT_3_VOLUME                0x74D
 613 #define MADERA_AIF2TX2MIX_INPUT_4_SOURCE                0x74E
 614 #define MADERA_AIF2TX2MIX_INPUT_4_VOLUME                0x74F
 615 #define MADERA_AIF2TX3MIX_INPUT_1_SOURCE                0x750
 616 #define MADERA_AIF2TX3MIX_INPUT_1_VOLUME                0x751
 617 #define MADERA_AIF2TX3MIX_INPUT_2_SOURCE                0x752
 618 #define MADERA_AIF2TX3MIX_INPUT_2_VOLUME                0x753
 619 #define MADERA_AIF2TX3MIX_INPUT_3_SOURCE                0x754
 620 #define MADERA_AIF2TX3MIX_INPUT_3_VOLUME                0x755
 621 #define MADERA_AIF2TX3MIX_INPUT_4_SOURCE                0x756
 622 #define MADERA_AIF2TX3MIX_INPUT_4_VOLUME                0x757
 623 #define MADERA_AIF2TX4MIX_INPUT_1_SOURCE                0x758
 624 #define MADERA_AIF2TX4MIX_INPUT_1_VOLUME                0x759
 625 #define MADERA_AIF2TX4MIX_INPUT_2_SOURCE                0x75A
 626 #define MADERA_AIF2TX4MIX_INPUT_2_VOLUME                0x75B
 627 #define MADERA_AIF2TX4MIX_INPUT_3_SOURCE                0x75C
 628 #define MADERA_AIF2TX4MIX_INPUT_3_VOLUME                0x75D
 629 #define MADERA_AIF2TX4MIX_INPUT_4_SOURCE                0x75E
 630 #define MADERA_AIF2TX4MIX_INPUT_4_VOLUME                0x75F
 631 #define MADERA_AIF2TX5MIX_INPUT_1_SOURCE                0x760
 632 #define MADERA_AIF2TX5MIX_INPUT_1_VOLUME                0x761
 633 #define MADERA_AIF2TX5MIX_INPUT_2_SOURCE                0x762
 634 #define MADERA_AIF2TX5MIX_INPUT_2_VOLUME                0x763
 635 #define MADERA_AIF2TX5MIX_INPUT_3_SOURCE                0x764
 636 #define MADERA_AIF2TX5MIX_INPUT_3_VOLUME                0x765
 637 #define MADERA_AIF2TX5MIX_INPUT_4_SOURCE                0x766
 638 #define MADERA_AIF2TX5MIX_INPUT_4_VOLUME                0x767
 639 #define MADERA_AIF2TX6MIX_INPUT_1_SOURCE                0x768
 640 #define MADERA_AIF2TX6MIX_INPUT_1_VOLUME                0x769
 641 #define MADERA_AIF2TX6MIX_INPUT_2_SOURCE                0x76A
 642 #define MADERA_AIF2TX6MIX_INPUT_2_VOLUME                0x76B
 643 #define MADERA_AIF2TX6MIX_INPUT_3_SOURCE                0x76C
 644 #define MADERA_AIF2TX6MIX_INPUT_3_VOLUME                0x76D
 645 #define MADERA_AIF2TX6MIX_INPUT_4_SOURCE                0x76E
 646 #define MADERA_AIF2TX6MIX_INPUT_4_VOLUME                0x76F
 647 #define MADERA_AIF2TX7MIX_INPUT_1_SOURCE                0x770
 648 #define MADERA_AIF2TX7MIX_INPUT_1_VOLUME                0x771
 649 #define MADERA_AIF2TX7MIX_INPUT_2_SOURCE                0x772
 650 #define MADERA_AIF2TX7MIX_INPUT_2_VOLUME                0x773
 651 #define MADERA_AIF2TX7MIX_INPUT_3_SOURCE                0x774
 652 #define MADERA_AIF2TX7MIX_INPUT_3_VOLUME                0x775
 653 #define MADERA_AIF2TX7MIX_INPUT_4_SOURCE                0x776
 654 #define MADERA_AIF2TX7MIX_INPUT_4_VOLUME                0x777
 655 #define MADERA_AIF2TX8MIX_INPUT_1_SOURCE                0x778
 656 #define MADERA_AIF2TX8MIX_INPUT_1_VOLUME                0x779
 657 #define MADERA_AIF2TX8MIX_INPUT_2_SOURCE                0x77A
 658 #define MADERA_AIF2TX8MIX_INPUT_2_VOLUME                0x77B
 659 #define MADERA_AIF2TX8MIX_INPUT_3_SOURCE                0x77C
 660 #define MADERA_AIF2TX8MIX_INPUT_3_VOLUME                0x77D
 661 #define MADERA_AIF2TX8MIX_INPUT_4_SOURCE                0x77E
 662 #define MADERA_AIF2TX8MIX_INPUT_4_VOLUME                0x77F
 663 #define MADERA_AIF3TX1MIX_INPUT_1_SOURCE                0x780
 664 #define MADERA_AIF3TX1MIX_INPUT_1_VOLUME                0x781
 665 #define MADERA_AIF3TX1MIX_INPUT_2_SOURCE                0x782
 666 #define MADERA_AIF3TX1MIX_INPUT_2_VOLUME                0x783
 667 #define MADERA_AIF3TX1MIX_INPUT_3_SOURCE                0x784
 668 #define MADERA_AIF3TX1MIX_INPUT_3_VOLUME                0x785
 669 #define MADERA_AIF3TX1MIX_INPUT_4_SOURCE                0x786
 670 #define MADERA_AIF3TX1MIX_INPUT_4_VOLUME                0x787
 671 #define MADERA_AIF3TX2MIX_INPUT_1_SOURCE                0x788
 672 #define MADERA_AIF3TX2MIX_INPUT_1_VOLUME                0x789
 673 #define MADERA_AIF3TX2MIX_INPUT_2_SOURCE                0x78A
 674 #define MADERA_AIF3TX2MIX_INPUT_2_VOLUME                0x78B
 675 #define MADERA_AIF3TX2MIX_INPUT_3_SOURCE                0x78C
 676 #define MADERA_AIF3TX2MIX_INPUT_3_VOLUME                0x78D
 677 #define MADERA_AIF3TX2MIX_INPUT_4_SOURCE                0x78E
 678 #define MADERA_AIF3TX2MIX_INPUT_4_VOLUME                0x78F
 679 #define MADERA_AIF3TX3MIX_INPUT_1_SOURCE                0x790
 680 #define MADERA_AIF3TX3MIX_INPUT_1_VOLUME                0x791
 681 #define MADERA_AIF3TX3MIX_INPUT_2_SOURCE                0x792
 682 #define MADERA_AIF3TX3MIX_INPUT_2_VOLUME                0x793
 683 #define MADERA_AIF3TX3MIX_INPUT_3_SOURCE                0x794
 684 #define MADERA_AIF3TX3MIX_INPUT_3_VOLUME                0x795
 685 #define MADERA_AIF3TX3MIX_INPUT_4_SOURCE                0x796
 686 #define MADERA_AIF3TX3MIX_INPUT_4_VOLUME                0x797
 687 #define MADERA_AIF3TX4MIX_INPUT_1_SOURCE                0x798
 688 #define MADERA_AIF3TX4MIX_INPUT_1_VOLUME                0x799
 689 #define MADERA_AIF3TX4MIX_INPUT_2_SOURCE                0x79A
 690 #define MADERA_AIF3TX4MIX_INPUT_2_VOLUME                0x79B
 691 #define MADERA_AIF3TX4MIX_INPUT_3_SOURCE                0x79C
 692 #define MADERA_AIF3TX4MIX_INPUT_3_VOLUME                0x79D
 693 #define MADERA_AIF3TX4MIX_INPUT_4_SOURCE                0x79E
 694 #define MADERA_AIF3TX4MIX_INPUT_4_VOLUME                0x79F
 695 #define CS47L92_AIF3TX5MIX_INPUT_1_SOURCE               0x7A0
 696 #define CS47L92_AIF3TX5MIX_INPUT_1_VOLUME               0x7A1
 697 #define CS47L92_AIF3TX5MIX_INPUT_2_SOURCE               0x7A2
 698 #define CS47L92_AIF3TX5MIX_INPUT_2_VOLUME               0x7A3
 699 #define CS47L92_AIF3TX5MIX_INPUT_3_SOURCE               0x7A4
 700 #define CS47L92_AIF3TX5MIX_INPUT_3_VOLUME               0x7A5
 701 #define CS47L92_AIF3TX5MIX_INPUT_4_SOURCE               0x7A6
 702 #define CS47L92_AIF3TX5MIX_INPUT_4_VOLUME               0x7A7
 703 #define CS47L92_AIF3TX6MIX_INPUT_1_SOURCE               0x7A8
 704 #define CS47L92_AIF3TX6MIX_INPUT_1_VOLUME               0x7A9
 705 #define CS47L92_AIF3TX6MIX_INPUT_2_SOURCE               0x7AA
 706 #define CS47L92_AIF3TX6MIX_INPUT_2_VOLUME               0x7AB
 707 #define CS47L92_AIF3TX6MIX_INPUT_3_SOURCE               0x7AC
 708 #define CS47L92_AIF3TX6MIX_INPUT_3_VOLUME               0x7AD
 709 #define CS47L92_AIF3TX6MIX_INPUT_4_SOURCE               0x7AE
 710 #define CS47L92_AIF3TX6MIX_INPUT_4_VOLUME               0x7AF
 711 #define CS47L92_AIF3TX7MIX_INPUT_1_SOURCE               0x7B0
 712 #define CS47L92_AIF3TX7MIX_INPUT_1_VOLUME               0x7B1
 713 #define CS47L92_AIF3TX7MIX_INPUT_2_SOURCE               0x7B2
 714 #define CS47L92_AIF3TX7MIX_INPUT_2_VOLUME               0x7B3
 715 #define CS47L92_AIF3TX7MIX_INPUT_3_SOURCE               0x7B4
 716 #define CS47L92_AIF3TX7MIX_INPUT_3_VOLUME               0x7B5
 717 #define CS47L92_AIF3TX7MIX_INPUT_4_SOURCE               0x7B6
 718 #define CS47L92_AIF3TX7MIX_INPUT_4_VOLUME               0x7B7
 719 #define CS47L92_AIF3TX8MIX_INPUT_1_SOURCE               0x7B8
 720 #define CS47L92_AIF3TX8MIX_INPUT_1_VOLUME               0x7B9
 721 #define CS47L92_AIF3TX8MIX_INPUT_2_SOURCE               0x7BA
 722 #define CS47L92_AIF3TX8MIX_INPUT_2_VOLUME               0x7BB
 723 #define CS47L92_AIF3TX8MIX_INPUT_3_SOURCE               0x7BC
 724 #define CS47L92_AIF3TX8MIX_INPUT_3_VOLUME               0x7BD
 725 #define CS47L92_AIF3TX8MIX_INPUT_4_SOURCE               0x7BE
 726 #define CS47L92_AIF3TX8MIX_INPUT_4_VOLUME               0x7BF
 727 #define MADERA_AIF4TX1MIX_INPUT_1_SOURCE                0x7A0
 728 #define MADERA_AIF4TX1MIX_INPUT_1_VOLUME                0x7A1
 729 #define MADERA_AIF4TX1MIX_INPUT_2_SOURCE                0x7A2
 730 #define MADERA_AIF4TX1MIX_INPUT_2_VOLUME                0x7A3
 731 #define MADERA_AIF4TX1MIX_INPUT_3_SOURCE                0x7A4
 732 #define MADERA_AIF4TX1MIX_INPUT_3_VOLUME                0x7A5
 733 #define MADERA_AIF4TX1MIX_INPUT_4_SOURCE                0x7A6
 734 #define MADERA_AIF4TX1MIX_INPUT_4_VOLUME                0x7A7
 735 #define MADERA_AIF4TX2MIX_INPUT_1_SOURCE                0x7A8
 736 #define MADERA_AIF4TX2MIX_INPUT_1_VOLUME                0x7A9
 737 #define MADERA_AIF4TX2MIX_INPUT_2_SOURCE                0x7AA
 738 #define MADERA_AIF4TX2MIX_INPUT_2_VOLUME                0x7AB
 739 #define MADERA_AIF4TX2MIX_INPUT_3_SOURCE                0x7AC
 740 #define MADERA_AIF4TX2MIX_INPUT_3_VOLUME                0x7AD
 741 #define MADERA_AIF4TX2MIX_INPUT_4_SOURCE                0x7AE
 742 #define MADERA_AIF4TX2MIX_INPUT_4_VOLUME                0x7AF
 743 #define MADERA_SLIMTX1MIX_INPUT_1_SOURCE                0x7C0
 744 #define MADERA_SLIMTX1MIX_INPUT_1_VOLUME                0x7C1
 745 #define MADERA_SLIMTX1MIX_INPUT_2_SOURCE                0x7C2
 746 #define MADERA_SLIMTX1MIX_INPUT_2_VOLUME                0x7C3
 747 #define MADERA_SLIMTX1MIX_INPUT_3_SOURCE                0x7C4
 748 #define MADERA_SLIMTX1MIX_INPUT_3_VOLUME                0x7C5
 749 #define MADERA_SLIMTX1MIX_INPUT_4_SOURCE                0x7C6
 750 #define MADERA_SLIMTX1MIX_INPUT_4_VOLUME                0x7C7
 751 #define MADERA_SLIMTX2MIX_INPUT_1_SOURCE                0x7C8
 752 #define MADERA_SLIMTX2MIX_INPUT_1_VOLUME                0x7C9
 753 #define MADERA_SLIMTX2MIX_INPUT_2_SOURCE                0x7CA
 754 #define MADERA_SLIMTX2MIX_INPUT_2_VOLUME                0x7CB
 755 #define MADERA_SLIMTX2MIX_INPUT_3_SOURCE                0x7CC
 756 #define MADERA_SLIMTX2MIX_INPUT_3_VOLUME                0x7CD
 757 #define MADERA_SLIMTX2MIX_INPUT_4_SOURCE                0x7CE
 758 #define MADERA_SLIMTX2MIX_INPUT_4_VOLUME                0x7CF
 759 #define MADERA_SLIMTX3MIX_INPUT_1_SOURCE                0x7D0
 760 #define MADERA_SLIMTX3MIX_INPUT_1_VOLUME                0x7D1
 761 #define MADERA_SLIMTX3MIX_INPUT_2_SOURCE                0x7D2
 762 #define MADERA_SLIMTX3MIX_INPUT_2_VOLUME                0x7D3
 763 #define MADERA_SLIMTX3MIX_INPUT_3_SOURCE                0x7D4
 764 #define MADERA_SLIMTX3MIX_INPUT_3_VOLUME                0x7D5
 765 #define MADERA_SLIMTX3MIX_INPUT_4_SOURCE                0x7D6
 766 #define MADERA_SLIMTX3MIX_INPUT_4_VOLUME                0x7D7
 767 #define MADERA_SLIMTX4MIX_INPUT_1_SOURCE                0x7D8
 768 #define MADERA_SLIMTX4MIX_INPUT_1_VOLUME                0x7D9
 769 #define MADERA_SLIMTX4MIX_INPUT_2_SOURCE                0x7DA
 770 #define MADERA_SLIMTX4MIX_INPUT_2_VOLUME                0x7DB
 771 #define MADERA_SLIMTX4MIX_INPUT_3_SOURCE                0x7DC
 772 #define MADERA_SLIMTX4MIX_INPUT_3_VOLUME                0x7DD
 773 #define MADERA_SLIMTX4MIX_INPUT_4_SOURCE                0x7DE
 774 #define MADERA_SLIMTX4MIX_INPUT_4_VOLUME                0x7DF
 775 #define MADERA_SLIMTX5MIX_INPUT_1_SOURCE                0x7E0
 776 #define MADERA_SLIMTX5MIX_INPUT_1_VOLUME                0x7E1
 777 #define MADERA_SLIMTX5MIX_INPUT_2_SOURCE                0x7E2
 778 #define MADERA_SLIMTX5MIX_INPUT_2_VOLUME                0x7E3
 779 #define MADERA_SLIMTX5MIX_INPUT_3_SOURCE                0x7E4
 780 #define MADERA_SLIMTX5MIX_INPUT_3_VOLUME                0x7E5
 781 #define MADERA_SLIMTX5MIX_INPUT_4_SOURCE                0x7E6
 782 #define MADERA_SLIMTX5MIX_INPUT_4_VOLUME                0x7E7
 783 #define MADERA_SLIMTX6MIX_INPUT_1_SOURCE                0x7E8
 784 #define MADERA_SLIMTX6MIX_INPUT_1_VOLUME                0x7E9
 785 #define MADERA_SLIMTX6MIX_INPUT_2_SOURCE                0x7EA
 786 #define MADERA_SLIMTX6MIX_INPUT_2_VOLUME                0x7EB
 787 #define MADERA_SLIMTX6MIX_INPUT_3_SOURCE                0x7EC
 788 #define MADERA_SLIMTX6MIX_INPUT_3_VOLUME                0x7ED
 789 #define MADERA_SLIMTX6MIX_INPUT_4_SOURCE                0x7EE
 790 #define MADERA_SLIMTX6MIX_INPUT_4_VOLUME                0x7EF
 791 #define MADERA_SLIMTX7MIX_INPUT_1_SOURCE                0x7F0
 792 #define MADERA_SLIMTX7MIX_INPUT_1_VOLUME                0x7F1
 793 #define MADERA_SLIMTX7MIX_INPUT_2_SOURCE                0x7F2
 794 #define MADERA_SLIMTX7MIX_INPUT_2_VOLUME                0x7F3
 795 #define MADERA_SLIMTX7MIX_INPUT_3_SOURCE                0x7F4
 796 #define MADERA_SLIMTX7MIX_INPUT_3_VOLUME                0x7F5
 797 #define MADERA_SLIMTX7MIX_INPUT_4_SOURCE                0x7F6
 798 #define MADERA_SLIMTX7MIX_INPUT_4_VOLUME                0x7F7
 799 #define MADERA_SLIMTX8MIX_INPUT_1_SOURCE                0x7F8
 800 #define MADERA_SLIMTX8MIX_INPUT_1_VOLUME                0x7F9
 801 #define MADERA_SLIMTX8MIX_INPUT_2_SOURCE                0x7FA
 802 #define MADERA_SLIMTX8MIX_INPUT_2_VOLUME                0x7FB
 803 #define MADERA_SLIMTX8MIX_INPUT_3_SOURCE                0x7FC
 804 #define MADERA_SLIMTX8MIX_INPUT_3_VOLUME                0x7FD
 805 #define MADERA_SLIMTX8MIX_INPUT_4_SOURCE                0x7FE
 806 #define MADERA_SLIMTX8MIX_INPUT_4_VOLUME                0x7FF
 807 #define MADERA_SPDIF1TX1MIX_INPUT_1_SOURCE              0x800
 808 #define MADERA_SPDIF1TX1MIX_INPUT_1_VOLUME              0x801
 809 #define MADERA_SPDIF1TX2MIX_INPUT_1_SOURCE              0x808
 810 #define MADERA_SPDIF1TX2MIX_INPUT_1_VOLUME              0x809
 811 #define MADERA_EQ1MIX_INPUT_1_SOURCE                    0x880
 812 #define MADERA_EQ1MIX_INPUT_1_VOLUME                    0x881
 813 #define MADERA_EQ1MIX_INPUT_2_SOURCE                    0x882
 814 #define MADERA_EQ1MIX_INPUT_2_VOLUME                    0x883
 815 #define MADERA_EQ1MIX_INPUT_3_SOURCE                    0x884
 816 #define MADERA_EQ1MIX_INPUT_3_VOLUME                    0x885
 817 #define MADERA_EQ1MIX_INPUT_4_SOURCE                    0x886
 818 #define MADERA_EQ1MIX_INPUT_4_VOLUME                    0x887
 819 #define MADERA_EQ2MIX_INPUT_1_SOURCE                    0x888
 820 #define MADERA_EQ2MIX_INPUT_1_VOLUME                    0x889
 821 #define MADERA_EQ2MIX_INPUT_2_SOURCE                    0x88A
 822 #define MADERA_EQ2MIX_INPUT_2_VOLUME                    0x88B
 823 #define MADERA_EQ2MIX_INPUT_3_SOURCE                    0x88C
 824 #define MADERA_EQ2MIX_INPUT_3_VOLUME                    0x88D
 825 #define MADERA_EQ2MIX_INPUT_4_SOURCE                    0x88E
 826 #define MADERA_EQ2MIX_INPUT_4_VOLUME                    0x88F
 827 #define MADERA_EQ3MIX_INPUT_1_SOURCE                    0x890
 828 #define MADERA_EQ3MIX_INPUT_1_VOLUME                    0x891
 829 #define MADERA_EQ3MIX_INPUT_2_SOURCE                    0x892
 830 #define MADERA_EQ3MIX_INPUT_2_VOLUME                    0x893
 831 #define MADERA_EQ3MIX_INPUT_3_SOURCE                    0x894
 832 #define MADERA_EQ3MIX_INPUT_3_VOLUME                    0x895
 833 #define MADERA_EQ3MIX_INPUT_4_SOURCE                    0x896
 834 #define MADERA_EQ3MIX_INPUT_4_VOLUME                    0x897
 835 #define MADERA_EQ4MIX_INPUT_1_SOURCE                    0x898
 836 #define MADERA_EQ4MIX_INPUT_1_VOLUME                    0x899
 837 #define MADERA_EQ4MIX_INPUT_2_SOURCE                    0x89A
 838 #define MADERA_EQ4MIX_INPUT_2_VOLUME                    0x89B
 839 #define MADERA_EQ4MIX_INPUT_3_SOURCE                    0x89C
 840 #define MADERA_EQ4MIX_INPUT_3_VOLUME                    0x89D
 841 #define MADERA_EQ4MIX_INPUT_4_SOURCE                    0x89E
 842 #define MADERA_EQ4MIX_INPUT_4_VOLUME                    0x89F
 843 #define MADERA_DRC1LMIX_INPUT_1_SOURCE                  0x8C0
 844 #define MADERA_DRC1LMIX_INPUT_1_VOLUME                  0x8C1
 845 #define MADERA_DRC1LMIX_INPUT_2_SOURCE                  0x8C2
 846 #define MADERA_DRC1LMIX_INPUT_2_VOLUME                  0x8C3
 847 #define MADERA_DRC1LMIX_INPUT_3_SOURCE                  0x8C4
 848 #define MADERA_DRC1LMIX_INPUT_3_VOLUME                  0x8C5
 849 #define MADERA_DRC1LMIX_INPUT_4_SOURCE                  0x8C6
 850 #define MADERA_DRC1LMIX_INPUT_4_VOLUME                  0x8C7
 851 #define MADERA_DRC1RMIX_INPUT_1_SOURCE                  0x8C8
 852 #define MADERA_DRC1RMIX_INPUT_1_VOLUME                  0x8C9
 853 #define MADERA_DRC1RMIX_INPUT_2_SOURCE                  0x8CA
 854 #define MADERA_DRC1RMIX_INPUT_2_VOLUME                  0x8CB
 855 #define MADERA_DRC1RMIX_INPUT_3_SOURCE                  0x8CC
 856 #define MADERA_DRC1RMIX_INPUT_3_VOLUME                  0x8CD
 857 #define MADERA_DRC1RMIX_INPUT_4_SOURCE                  0x8CE
 858 #define MADERA_DRC1RMIX_INPUT_4_VOLUME                  0x8CF
 859 #define MADERA_DRC2LMIX_INPUT_1_SOURCE                  0x8D0
 860 #define MADERA_DRC2LMIX_INPUT_1_VOLUME                  0x8D1
 861 #define MADERA_DRC2LMIX_INPUT_2_SOURCE                  0x8D2
 862 #define MADERA_DRC2LMIX_INPUT_2_VOLUME                  0x8D3
 863 #define MADERA_DRC2LMIX_INPUT_3_SOURCE                  0x8D4
 864 #define MADERA_DRC2LMIX_INPUT_3_VOLUME                  0x8D5
 865 #define MADERA_DRC2LMIX_INPUT_4_SOURCE                  0x8D6
 866 #define MADERA_DRC2LMIX_INPUT_4_VOLUME                  0x8D7
 867 #define MADERA_DRC2RMIX_INPUT_1_SOURCE                  0x8D8
 868 #define MADERA_DRC2RMIX_INPUT_1_VOLUME                  0x8D9
 869 #define MADERA_DRC2RMIX_INPUT_2_SOURCE                  0x8DA
 870 #define MADERA_DRC2RMIX_INPUT_2_VOLUME                  0x8DB
 871 #define MADERA_DRC2RMIX_INPUT_3_SOURCE                  0x8DC
 872 #define MADERA_DRC2RMIX_INPUT_3_VOLUME                  0x8DD
 873 #define MADERA_DRC2RMIX_INPUT_4_SOURCE                  0x8DE
 874 #define MADERA_DRC2RMIX_INPUT_4_VOLUME                  0x8DF
 875 #define MADERA_HPLP1MIX_INPUT_1_SOURCE                  0x900
 876 #define MADERA_HPLP1MIX_INPUT_1_VOLUME                  0x901
 877 #define MADERA_HPLP1MIX_INPUT_2_SOURCE                  0x902
 878 #define MADERA_HPLP1MIX_INPUT_2_VOLUME                  0x903
 879 #define MADERA_HPLP1MIX_INPUT_3_SOURCE                  0x904
 880 #define MADERA_HPLP1MIX_INPUT_3_VOLUME                  0x905
 881 #define MADERA_HPLP1MIX_INPUT_4_SOURCE                  0x906
 882 #define MADERA_HPLP1MIX_INPUT_4_VOLUME                  0x907
 883 #define MADERA_HPLP2MIX_INPUT_1_SOURCE                  0x908
 884 #define MADERA_HPLP2MIX_INPUT_1_VOLUME                  0x909
 885 #define MADERA_HPLP2MIX_INPUT_2_SOURCE                  0x90A
 886 #define MADERA_HPLP2MIX_INPUT_2_VOLUME                  0x90B
 887 #define MADERA_HPLP2MIX_INPUT_3_SOURCE                  0x90C
 888 #define MADERA_HPLP2MIX_INPUT_3_VOLUME                  0x90D
 889 #define MADERA_HPLP2MIX_INPUT_4_SOURCE                  0x90E
 890 #define MADERA_HPLP2MIX_INPUT_4_VOLUME                  0x90F
 891 #define MADERA_HPLP3MIX_INPUT_1_SOURCE                  0x910
 892 #define MADERA_HPLP3MIX_INPUT_1_VOLUME                  0x911
 893 #define MADERA_HPLP3MIX_INPUT_2_SOURCE                  0x912
 894 #define MADERA_HPLP3MIX_INPUT_2_VOLUME                  0x913
 895 #define MADERA_HPLP3MIX_INPUT_3_SOURCE                  0x914
 896 #define MADERA_HPLP3MIX_INPUT_3_VOLUME                  0x915
 897 #define MADERA_HPLP3MIX_INPUT_4_SOURCE                  0x916
 898 #define MADERA_HPLP3MIX_INPUT_4_VOLUME                  0x917
 899 #define MADERA_HPLP4MIX_INPUT_1_SOURCE                  0x918
 900 #define MADERA_HPLP4MIX_INPUT_1_VOLUME                  0x919
 901 #define MADERA_HPLP4MIX_INPUT_2_SOURCE                  0x91A
 902 #define MADERA_HPLP4MIX_INPUT_2_VOLUME                  0x91B
 903 #define MADERA_HPLP4MIX_INPUT_3_SOURCE                  0x91C
 904 #define MADERA_HPLP4MIX_INPUT_3_VOLUME                  0x91D
 905 #define MADERA_HPLP4MIX_INPUT_4_SOURCE                  0x91E
 906 #define MADERA_HPLP4MIX_INPUT_4_VOLUME                  0x91F
 907 #define MADERA_DSP1LMIX_INPUT_1_SOURCE                  0x940
 908 #define MADERA_DSP1LMIX_INPUT_1_VOLUME                  0x941
 909 #define MADERA_DSP1LMIX_INPUT_2_SOURCE                  0x942
 910 #define MADERA_DSP1LMIX_INPUT_2_VOLUME                  0x943
 911 #define MADERA_DSP1LMIX_INPUT_3_SOURCE                  0x944
 912 #define MADERA_DSP1LMIX_INPUT_3_VOLUME                  0x945
 913 #define MADERA_DSP1LMIX_INPUT_4_SOURCE                  0x946
 914 #define MADERA_DSP1LMIX_INPUT_4_VOLUME                  0x947
 915 #define MADERA_DSP1RMIX_INPUT_1_SOURCE                  0x948
 916 #define MADERA_DSP1RMIX_INPUT_1_VOLUME                  0x949
 917 #define MADERA_DSP1RMIX_INPUT_2_SOURCE                  0x94A
 918 #define MADERA_DSP1RMIX_INPUT_2_VOLUME                  0x94B
 919 #define MADERA_DSP1RMIX_INPUT_3_SOURCE                  0x94C
 920 #define MADERA_DSP1RMIX_INPUT_3_VOLUME                  0x94D
 921 #define MADERA_DSP1RMIX_INPUT_4_SOURCE                  0x94E
 922 #define MADERA_DSP1RMIX_INPUT_4_VOLUME                  0x94F
 923 #define MADERA_DSP1AUX1MIX_INPUT_1_SOURCE               0x950
 924 #define MADERA_DSP1AUX2MIX_INPUT_1_SOURCE               0x958
 925 #define MADERA_DSP1AUX3MIX_INPUT_1_SOURCE               0x960
 926 #define MADERA_DSP1AUX4MIX_INPUT_1_SOURCE               0x968
 927 #define MADERA_DSP1AUX5MIX_INPUT_1_SOURCE               0x970
 928 #define MADERA_DSP1AUX6MIX_INPUT_1_SOURCE               0x978
 929 #define MADERA_DSP2LMIX_INPUT_1_SOURCE                  0x980
 930 #define MADERA_DSP2LMIX_INPUT_1_VOLUME                  0x981
 931 #define MADERA_DSP2LMIX_INPUT_2_SOURCE                  0x982
 932 #define MADERA_DSP2LMIX_INPUT_2_VOLUME                  0x983
 933 #define MADERA_DSP2LMIX_INPUT_3_SOURCE                  0x984
 934 #define MADERA_DSP2LMIX_INPUT_3_VOLUME                  0x985
 935 #define MADERA_DSP2LMIX_INPUT_4_SOURCE                  0x986
 936 #define MADERA_DSP2LMIX_INPUT_4_VOLUME                  0x987
 937 #define MADERA_DSP2RMIX_INPUT_1_SOURCE                  0x988
 938 #define MADERA_DSP2RMIX_INPUT_1_VOLUME                  0x989
 939 #define MADERA_DSP2RMIX_INPUT_2_SOURCE                  0x98A
 940 #define MADERA_DSP2RMIX_INPUT_2_VOLUME                  0x98B
 941 #define MADERA_DSP2RMIX_INPUT_3_SOURCE                  0x98C
 942 #define MADERA_DSP2RMIX_INPUT_3_VOLUME                  0x98D
 943 #define MADERA_DSP2RMIX_INPUT_4_SOURCE                  0x98E
 944 #define MADERA_DSP2RMIX_INPUT_4_VOLUME                  0x98F
 945 #define MADERA_DSP2AUX1MIX_INPUT_1_SOURCE               0x990
 946 #define MADERA_DSP2AUX2MIX_INPUT_1_SOURCE               0x998
 947 #define MADERA_DSP2AUX3MIX_INPUT_1_SOURCE               0x9A0
 948 #define MADERA_DSP2AUX4MIX_INPUT_1_SOURCE               0x9A8
 949 #define MADERA_DSP2AUX5MIX_INPUT_1_SOURCE               0x9B0
 950 #define MADERA_DSP2AUX6MIX_INPUT_1_SOURCE               0x9B8
 951 #define MADERA_DSP3LMIX_INPUT_1_SOURCE                  0x9C0
 952 #define MADERA_DSP3LMIX_INPUT_1_VOLUME                  0x9C1
 953 #define MADERA_DSP3LMIX_INPUT_2_SOURCE                  0x9C2
 954 #define MADERA_DSP3LMIX_INPUT_2_VOLUME                  0x9C3
 955 #define MADERA_DSP3LMIX_INPUT_3_SOURCE                  0x9C4
 956 #define MADERA_DSP3LMIX_INPUT_3_VOLUME                  0x9C5
 957 #define MADERA_DSP3LMIX_INPUT_4_SOURCE                  0x9C6
 958 #define MADERA_DSP3LMIX_INPUT_4_VOLUME                  0x9C7
 959 #define MADERA_DSP3RMIX_INPUT_1_SOURCE                  0x9C8
 960 #define MADERA_DSP3RMIX_INPUT_1_VOLUME                  0x9C9
 961 #define MADERA_DSP3RMIX_INPUT_2_SOURCE                  0x9CA
 962 #define MADERA_DSP3RMIX_INPUT_2_VOLUME                  0x9CB
 963 #define MADERA_DSP3RMIX_INPUT_3_SOURCE                  0x9CC
 964 #define MADERA_DSP3RMIX_INPUT_3_VOLUME                  0x9CD
 965 #define MADERA_DSP3RMIX_INPUT_4_SOURCE                  0x9CE
 966 #define MADERA_DSP3RMIX_INPUT_4_VOLUME                  0x9CF
 967 #define MADERA_DSP3AUX1MIX_INPUT_1_SOURCE               0x9D0
 968 #define MADERA_DSP3AUX2MIX_INPUT_1_SOURCE               0x9D8
 969 #define MADERA_DSP3AUX3MIX_INPUT_1_SOURCE               0x9E0
 970 #define MADERA_DSP3AUX4MIX_INPUT_1_SOURCE               0x9E8
 971 #define MADERA_DSP3AUX5MIX_INPUT_1_SOURCE               0x9F0
 972 #define MADERA_DSP3AUX6MIX_INPUT_1_SOURCE               0x9F8
 973 #define MADERA_DSP4LMIX_INPUT_1_SOURCE                  0xA00
 974 #define MADERA_DSP4LMIX_INPUT_1_VOLUME                  0xA01
 975 #define MADERA_DSP4LMIX_INPUT_2_SOURCE                  0xA02
 976 #define MADERA_DSP4LMIX_INPUT_2_VOLUME                  0xA03
 977 #define MADERA_DSP4LMIX_INPUT_3_SOURCE                  0xA04
 978 #define MADERA_DSP4LMIX_INPUT_3_VOLUME                  0xA05
 979 #define MADERA_DSP4LMIX_INPUT_4_SOURCE                  0xA06
 980 #define MADERA_DSP4LMIX_INPUT_4_VOLUME                  0xA07
 981 #define MADERA_DSP4RMIX_INPUT_1_SOURCE                  0xA08
 982 #define MADERA_DSP4RMIX_INPUT_1_VOLUME                  0xA09
 983 #define MADERA_DSP4RMIX_INPUT_2_SOURCE                  0xA0A
 984 #define MADERA_DSP4RMIX_INPUT_2_VOLUME                  0xA0B
 985 #define MADERA_DSP4RMIX_INPUT_3_SOURCE                  0xA0C
 986 #define MADERA_DSP4RMIX_INPUT_3_VOLUME                  0xA0D
 987 #define MADERA_DSP4RMIX_INPUT_4_SOURCE                  0xA0E
 988 #define MADERA_DSP4RMIX_INPUT_4_VOLUME                  0xA0F
 989 #define MADERA_DSP4AUX1MIX_INPUT_1_SOURCE               0xA10
 990 #define MADERA_DSP4AUX2MIX_INPUT_1_SOURCE               0xA18
 991 #define MADERA_DSP4AUX3MIX_INPUT_1_SOURCE               0xA20
 992 #define MADERA_DSP4AUX4MIX_INPUT_1_SOURCE               0xA28
 993 #define MADERA_DSP4AUX5MIX_INPUT_1_SOURCE               0xA30
 994 #define MADERA_DSP4AUX6MIX_INPUT_1_SOURCE               0xA38
 995 #define MADERA_DSP5LMIX_INPUT_1_SOURCE                  0xA40
 996 #define MADERA_DSP5LMIX_INPUT_1_VOLUME                  0xA41
 997 #define MADERA_DSP5LMIX_INPUT_2_SOURCE                  0xA42
 998 #define MADERA_DSP5LMIX_INPUT_2_VOLUME                  0xA43
 999 #define MADERA_DSP5LMIX_INPUT_3_SOURCE                  0xA44
1000 #define MADERA_DSP5LMIX_INPUT_3_VOLUME                  0xA45
1001 #define MADERA_DSP5LMIX_INPUT_4_SOURCE                  0xA46
1002 #define MADERA_DSP5LMIX_INPUT_4_VOLUME                  0xA47
1003 #define MADERA_DSP5RMIX_INPUT_1_SOURCE                  0xA48
1004 #define MADERA_DSP5RMIX_INPUT_1_VOLUME                  0xA49
1005 #define MADERA_DSP5RMIX_INPUT_2_SOURCE                  0xA4A
1006 #define MADERA_DSP5RMIX_INPUT_2_VOLUME                  0xA4B
1007 #define MADERA_DSP5RMIX_INPUT_3_SOURCE                  0xA4C
1008 #define MADERA_DSP5RMIX_INPUT_3_VOLUME                  0xA4D
1009 #define MADERA_DSP5RMIX_INPUT_4_SOURCE                  0xA4E
1010 #define MADERA_DSP5RMIX_INPUT_4_VOLUME                  0xA4F
1011 #define MADERA_DSP5AUX1MIX_INPUT_1_SOURCE               0xA50
1012 #define MADERA_DSP5AUX2MIX_INPUT_1_SOURCE               0xA58
1013 #define MADERA_DSP5AUX3MIX_INPUT_1_SOURCE               0xA60
1014 #define MADERA_DSP5AUX4MIX_INPUT_1_SOURCE               0xA68
1015 #define MADERA_DSP5AUX5MIX_INPUT_1_SOURCE               0xA70
1016 #define MADERA_DSP5AUX6MIX_INPUT_1_SOURCE               0xA78
1017 #define MADERA_ASRC1_1LMIX_INPUT_1_SOURCE               0xA80
1018 #define MADERA_ASRC1_1RMIX_INPUT_1_SOURCE               0xA88
1019 #define MADERA_ASRC1_2LMIX_INPUT_1_SOURCE               0xA90
1020 #define MADERA_ASRC1_2RMIX_INPUT_1_SOURCE               0xA98
1021 #define MADERA_ASRC2_1LMIX_INPUT_1_SOURCE               0xAA0
1022 #define MADERA_ASRC2_1RMIX_INPUT_1_SOURCE               0xAA8
1023 #define MADERA_ASRC2_2LMIX_INPUT_1_SOURCE               0xAB0
1024 #define MADERA_ASRC2_2RMIX_INPUT_1_SOURCE               0xAB8
1025 #define MADERA_ISRC1DEC1MIX_INPUT_1_SOURCE              0xB00
1026 #define MADERA_ISRC1DEC2MIX_INPUT_1_SOURCE              0xB08
1027 #define MADERA_ISRC1DEC3MIX_INPUT_1_SOURCE              0xB10
1028 #define MADERA_ISRC1DEC4MIX_INPUT_1_SOURCE              0xB18
1029 #define MADERA_ISRC1INT1MIX_INPUT_1_SOURCE              0xB20
1030 #define MADERA_ISRC1INT2MIX_INPUT_1_SOURCE              0xB28
1031 #define MADERA_ISRC1INT3MIX_INPUT_1_SOURCE              0xB30
1032 #define MADERA_ISRC1INT4MIX_INPUT_1_SOURCE              0xB38
1033 #define MADERA_ISRC2DEC1MIX_INPUT_1_SOURCE              0xB40
1034 #define MADERA_ISRC2DEC2MIX_INPUT_1_SOURCE              0xB48
1035 #define MADERA_ISRC2DEC3MIX_INPUT_1_SOURCE              0xB50
1036 #define MADERA_ISRC2DEC4MIX_INPUT_1_SOURCE              0xB58
1037 #define MADERA_ISRC2INT1MIX_INPUT_1_SOURCE              0xB60
1038 #define MADERA_ISRC2INT2MIX_INPUT_1_SOURCE              0xB68
1039 #define MADERA_ISRC2INT3MIX_INPUT_1_SOURCE              0xB70
1040 #define MADERA_ISRC2INT4MIX_INPUT_1_SOURCE              0xB78
1041 #define MADERA_ISRC3DEC1MIX_INPUT_1_SOURCE              0xB80
1042 #define MADERA_ISRC3DEC2MIX_INPUT_1_SOURCE              0xB88
1043 #define MADERA_ISRC3DEC3MIX_INPUT_1_SOURCE              0xB90
1044 #define MADERA_ISRC3DEC4MIX_INPUT_1_SOURCE              0xB98
1045 #define MADERA_ISRC3INT1MIX_INPUT_1_SOURCE              0xBA0
1046 #define MADERA_ISRC3INT2MIX_INPUT_1_SOURCE              0xBA8
1047 #define MADERA_ISRC3INT3MIX_INPUT_1_SOURCE              0xBB0
1048 #define MADERA_ISRC3INT4MIX_INPUT_1_SOURCE              0xBB8
1049 #define MADERA_ISRC4DEC1MIX_INPUT_1_SOURCE              0xBC0
1050 #define MADERA_ISRC4DEC2MIX_INPUT_1_SOURCE              0xBC8
1051 #define MADERA_ISRC4INT1MIX_INPUT_1_SOURCE              0xBE0
1052 #define MADERA_ISRC4INT2MIX_INPUT_1_SOURCE              0xBE8
1053 #define MADERA_DSP6LMIX_INPUT_1_SOURCE                  0xC00
1054 #define MADERA_DSP6LMIX_INPUT_1_VOLUME                  0xC01
1055 #define MADERA_DSP6LMIX_INPUT_2_SOURCE                  0xC02
1056 #define MADERA_DSP6LMIX_INPUT_2_VOLUME                  0xC03
1057 #define MADERA_DSP6LMIX_INPUT_3_SOURCE                  0xC04
1058 #define MADERA_DSP6LMIX_INPUT_3_VOLUME                  0xC05
1059 #define MADERA_DSP6LMIX_INPUT_4_SOURCE                  0xC06
1060 #define MADERA_DSP6LMIX_INPUT_4_VOLUME                  0xC07
1061 #define MADERA_DSP6RMIX_INPUT_1_SOURCE                  0xC08
1062 #define MADERA_DSP6RMIX_INPUT_1_VOLUME                  0xC09
1063 #define MADERA_DSP6RMIX_INPUT_2_SOURCE                  0xC0A
1064 #define MADERA_DSP6RMIX_INPUT_2_VOLUME                  0xC0B
1065 #define MADERA_DSP6RMIX_INPUT_3_SOURCE                  0xC0C
1066 #define MADERA_DSP6RMIX_INPUT_3_VOLUME                  0xC0D
1067 #define MADERA_DSP6RMIX_INPUT_4_SOURCE                  0xC0E
1068 #define MADERA_DSP6RMIX_INPUT_4_VOLUME                  0xC0F
1069 #define MADERA_DSP6AUX1MIX_INPUT_1_SOURCE               0xC10
1070 #define MADERA_DSP6AUX2MIX_INPUT_1_SOURCE               0xC18
1071 #define MADERA_DSP6AUX3MIX_INPUT_1_SOURCE               0xC20
1072 #define MADERA_DSP6AUX4MIX_INPUT_1_SOURCE               0xC28
1073 #define MADERA_DSP6AUX5MIX_INPUT_1_SOURCE               0xC30
1074 #define MADERA_DSP6AUX6MIX_INPUT_1_SOURCE               0xC38
1075 #define MADERA_DSP7LMIX_INPUT_1_SOURCE                  0xC40
1076 #define MADERA_DSP7LMIX_INPUT_1_VOLUME                  0xC41
1077 #define MADERA_DSP7LMIX_INPUT_2_SOURCE                  0xC42
1078 #define MADERA_DSP7LMIX_INPUT_2_VOLUME                  0xC43
1079 #define MADERA_DSP7LMIX_INPUT_3_SOURCE                  0xC44
1080 #define MADERA_DSP7LMIX_INPUT_3_VOLUME                  0xC45
1081 #define MADERA_DSP7LMIX_INPUT_4_SOURCE                  0xC46
1082 #define MADERA_DSP7LMIX_INPUT_4_VOLUME                  0xC47
1083 #define MADERA_DSP7RMIX_INPUT_1_SOURCE                  0xC48
1084 #define MADERA_DSP7RMIX_INPUT_1_VOLUME                  0xC49
1085 #define MADERA_DSP7RMIX_INPUT_2_SOURCE                  0xC4A
1086 #define MADERA_DSP7RMIX_INPUT_2_VOLUME                  0xC4B
1087 #define MADERA_DSP7RMIX_INPUT_3_SOURCE                  0xC4C
1088 #define MADERA_DSP7RMIX_INPUT_3_VOLUME                  0xC4D
1089 #define MADERA_DSP7RMIX_INPUT_4_SOURCE                  0xC4E
1090 #define MADERA_DSP7RMIX_INPUT_4_VOLUME                  0xC4F
1091 #define MADERA_DSP7AUX1MIX_INPUT_1_SOURCE               0xC50
1092 #define MADERA_DSP7AUX2MIX_INPUT_1_SOURCE               0xC58
1093 #define MADERA_DSP7AUX3MIX_INPUT_1_SOURCE               0xC60
1094 #define MADERA_DSP7AUX4MIX_INPUT_1_SOURCE               0xC68
1095 #define MADERA_DSP7AUX5MIX_INPUT_1_SOURCE               0xC70
1096 #define MADERA_DSP7AUX6MIX_INPUT_1_SOURCE               0xC78
1097 #define MADERA_DFC1MIX_INPUT_1_SOURCE                   0xDC0
1098 #define MADERA_DFC2MIX_INPUT_1_SOURCE                   0xDC8
1099 #define MADERA_DFC3MIX_INPUT_1_SOURCE                   0xDD0
1100 #define MADERA_DFC4MIX_INPUT_1_SOURCE                   0xDD8
1101 #define MADERA_DFC5MIX_INPUT_1_SOURCE                   0xDE0
1102 #define MADERA_DFC6MIX_INPUT_1_SOURCE                   0xDE8
1103 #define MADERA_DFC7MIX_INPUT_1_SOURCE                   0xDF0
1104 #define MADERA_DFC8MIX_INPUT_1_SOURCE                   0xDF8
1105 #define MADERA_FX_CTRL1                                 0xE00
1106 #define MADERA_FX_CTRL2                                 0xE01
1107 #define MADERA_EQ1_1                                    0xE10
1108 #define MADERA_EQ1_2                                    0xE11
1109 #define MADERA_EQ1_21                                   0xE24
1110 #define MADERA_EQ2_1                                    0xE26
1111 #define MADERA_EQ2_2                                    0xE27
1112 #define MADERA_EQ2_21                                   0xE3A
1113 #define MADERA_EQ3_1                                    0xE3C
1114 #define MADERA_EQ3_2                                    0xE3D
1115 #define MADERA_EQ3_21                                   0xE50
1116 #define MADERA_EQ4_1                                    0xE52
1117 #define MADERA_EQ4_2                                    0xE53
1118 #define MADERA_EQ4_21                                   0xE66
1119 #define MADERA_DRC1_CTRL1                               0xE80
1120 #define MADERA_DRC1_CTRL2                               0xE81
1121 #define MADERA_DRC1_CTRL3                               0xE82
1122 #define MADERA_DRC1_CTRL4                               0xE83
1123 #define MADERA_DRC1_CTRL5                               0xE84
1124 #define MADERA_DRC2_CTRL1                               0xE88
1125 #define MADERA_DRC2_CTRL2                               0xE89
1126 #define MADERA_DRC2_CTRL3                               0xE8A
1127 #define MADERA_DRC2_CTRL4                               0xE8B
1128 #define MADERA_DRC2_CTRL5                               0xE8C
1129 #define MADERA_HPLPF1_1                                 0xEC0
1130 #define MADERA_HPLPF1_2                                 0xEC1
1131 #define MADERA_HPLPF2_1                                 0xEC4
1132 #define MADERA_HPLPF2_2                                 0xEC5
1133 #define MADERA_HPLPF3_1                                 0xEC8
1134 #define MADERA_HPLPF3_2                                 0xEC9
1135 #define MADERA_HPLPF4_1                                 0xECC
1136 #define MADERA_HPLPF4_2                                 0xECD
1137 #define MADERA_ASRC2_ENABLE                             0xED0
1138 #define MADERA_ASRC2_STATUS                             0xED1
1139 #define MADERA_ASRC2_RATE1                              0xED2
1140 #define MADERA_ASRC2_RATE2                              0xED3
1141 #define MADERA_ASRC1_ENABLE                             0xEE0
1142 #define MADERA_ASRC1_STATUS                             0xEE1
1143 #define MADERA_ASRC1_RATE1                              0xEE2
1144 #define MADERA_ASRC1_RATE2                              0xEE3
1145 #define MADERA_ISRC_1_CTRL_1                            0xEF0
1146 #define MADERA_ISRC_1_CTRL_2                            0xEF1
1147 #define MADERA_ISRC_1_CTRL_3                            0xEF2
1148 #define MADERA_ISRC_2_CTRL_1                            0xEF3
1149 #define MADERA_ISRC_2_CTRL_2                            0xEF4
1150 #define MADERA_ISRC_2_CTRL_3                            0xEF5
1151 #define MADERA_ISRC_3_CTRL_1                            0xEF6
1152 #define MADERA_ISRC_3_CTRL_2                            0xEF7
1153 #define MADERA_ISRC_3_CTRL_3                            0xEF8
1154 #define MADERA_ISRC_4_CTRL_1                            0xEF9
1155 #define MADERA_ISRC_4_CTRL_2                            0xEFA
1156 #define MADERA_ISRC_4_CTRL_3                            0xEFB
1157 #define MADERA_CLOCK_CONTROL                            0xF00
1158 #define MADERA_ANC_SRC                                  0xF01
1159 #define MADERA_DSP_STATUS                               0xF02
1160 #define MADERA_ANC_COEFF_START                          0xF08
1161 #define MADERA_ANC_COEFF_END                            0xF12
1162 #define MADERA_FCL_FILTER_CONTROL                       0xF15
1163 #define MADERA_FCL_ADC_REFORMATTER_CONTROL              0xF17
1164 #define MADERA_FCL_COEFF_START                          0xF18
1165 #define MADERA_FCL_COEFF_END                            0xF69
1166 #define MADERA_FCR_FILTER_CONTROL                       0xF71
1167 #define MADERA_FCR_ADC_REFORMATTER_CONTROL              0xF73
1168 #define MADERA_FCR_COEFF_START                          0xF74
1169 #define MADERA_FCR_COEFF_END                            0xFC5
1170 #define MADERA_AUXPDM1_CTRL_0                           0x10C0
1171 #define MADERA_AUXPDM1_CTRL_1                           0x10C1
1172 #define MADERA_DFC1_CTRL                                0x1480
1173 #define MADERA_DFC1_RX                                  0x1482
1174 #define MADERA_DFC1_TX                                  0x1484
1175 #define MADERA_DFC2_CTRL                                0x1486
1176 #define MADERA_DFC2_RX                                  0x1488
1177 #define MADERA_DFC2_TX                                  0x148A
1178 #define MADERA_DFC3_CTRL                                0x148C
1179 #define MADERA_DFC3_RX                                  0x148E
1180 #define MADERA_DFC3_TX                                  0x1490
1181 #define MADERA_DFC4_CTRL                                0x1492
1182 #define MADERA_DFC4_RX                                  0x1494
1183 #define MADERA_DFC4_TX                                  0x1496
1184 #define MADERA_DFC5_CTRL                                0x1498
1185 #define MADERA_DFC5_RX                                  0x149A
1186 #define MADERA_DFC5_TX                                  0x149C
1187 #define MADERA_DFC6_CTRL                                0x149E
1188 #define MADERA_DFC6_RX                                  0x14A0
1189 #define MADERA_DFC6_TX                                  0x14A2
1190 #define MADERA_DFC7_CTRL                                0x14A4
1191 #define MADERA_DFC7_RX                                  0x14A6
1192 #define MADERA_DFC7_TX                                  0x14A8
1193 #define MADERA_DFC8_CTRL                                0x14AA
1194 #define MADERA_DFC8_RX                                  0x14AC
1195 #define MADERA_DFC8_TX                                  0x14AE
1196 #define MADERA_DFC_STATUS                               0x14B6
1197 #define MADERA_ADSP2_IRQ0                               0x1600
1198 #define MADERA_ADSP2_IRQ1                               0x1601
1199 #define MADERA_ADSP2_IRQ2                               0x1602
1200 #define MADERA_ADSP2_IRQ3                               0x1603
1201 #define MADERA_ADSP2_IRQ4                               0x1604
1202 #define MADERA_ADSP2_IRQ5                               0x1605
1203 #define MADERA_ADSP2_IRQ6                               0x1606
1204 #define MADERA_ADSP2_IRQ7                               0x1607
1205 #define MADERA_GPIO1_CTRL_1                             0x1700
1206 #define MADERA_GPIO1_CTRL_2                             0x1701
1207 #define MADERA_GPIO2_CTRL_1                             0x1702
1208 #define MADERA_GPIO2_CTRL_2                             0x1703
1209 #define MADERA_GPIO15_CTRL_1                            0x171C
1210 #define MADERA_GPIO15_CTRL_2                            0x171D
1211 #define MADERA_GPIO16_CTRL_1                            0x171E
1212 #define MADERA_GPIO16_CTRL_2                            0x171F
1213 #define MADERA_GPIO38_CTRL_1                            0x174A
1214 #define MADERA_GPIO38_CTRL_2                            0x174B
1215 #define MADERA_GPIO40_CTRL_1                            0x174E
1216 #define MADERA_GPIO40_CTRL_2                            0x174F
1217 #define MADERA_IRQ1_STATUS_1                            0x1800
1218 #define MADERA_IRQ1_STATUS_2                            0x1801
1219 #define MADERA_IRQ1_STATUS_6                            0x1805
1220 #define MADERA_IRQ1_STATUS_7                            0x1806
1221 #define MADERA_IRQ1_STATUS_9                            0x1808
1222 #define MADERA_IRQ1_STATUS_11                           0x180A
1223 #define MADERA_IRQ1_STATUS_12                           0x180B
1224 #define MADERA_IRQ1_STATUS_15                           0x180E
1225 #define MADERA_IRQ1_STATUS_33                           0x1820
1226 #define MADERA_IRQ1_MASK_1                              0x1840
1227 #define MADERA_IRQ1_MASK_2                              0x1841
1228 #define MADERA_IRQ1_MASK_6                              0x1845
1229 #define MADERA_IRQ1_MASK_33                             0x1860
1230 #define MADERA_IRQ1_RAW_STATUS_1                        0x1880
1231 #define MADERA_IRQ1_RAW_STATUS_2                        0x1881
1232 #define MADERA_IRQ1_RAW_STATUS_7                        0x1886
1233 #define MADERA_IRQ1_RAW_STATUS_15                       0x188E
1234 #define MADERA_IRQ1_RAW_STATUS_33                       0x18A0
1235 #define MADERA_INTERRUPT_DEBOUNCE_7                     0x1A06
1236 #define MADERA_INTERRUPT_DEBOUNCE_15                    0x1A0E
1237 #define MADERA_IRQ1_CTRL                                0x1A80
1238 #define MADERA_IRQ2_CTRL                                0x1A82
1239 #define MADERA_INTERRUPT_RAW_STATUS_1                   0x1AA0
1240 #define MADERA_WSEQ_SEQUENCE_1                          0x3000
1241 #define MADERA_WSEQ_SEQUENCE_225                        0x31C0
1242 #define MADERA_WSEQ_SEQUENCE_252                        0x31F6
1243 #define CS47L35_OTP_HPDET_CAL_1                         0x31F8
1244 #define CS47L35_OTP_HPDET_CAL_2                         0x31FA
1245 #define MADERA_WSEQ_SEQUENCE_508                        0x33F6
1246 #define CS47L85_OTP_HPDET_CAL_1                         0x33F8
1247 #define CS47L85_OTP_HPDET_CAL_2                         0x33FA
1248 #define MADERA_OTP_HPDET_CAL_1                          0x20004
1249 #define MADERA_OTP_HPDET_CAL_2                          0x20006
1250 #define MADERA_DSP1_CONFIG_1                            0x0FFE00
1251 #define MADERA_DSP1_CONFIG_2                            0x0FFE02
1252 #define MADERA_DSP1_SCRATCH_1                           0x0FFE40
1253 #define MADERA_DSP1_SCRATCH_2                           0x0FFE42
1254 #define MADERA_DSP1_PMEM_ERR_ADDR___XMEM_ERR_ADDR       0xFFE7C
1255 #define MADERA_DSP2_CONFIG_1                            0x17FE00
1256 #define MADERA_DSP2_CONFIG_2                            0x17FE02
1257 #define MADERA_DSP2_SCRATCH_1                           0x17FE40
1258 #define MADERA_DSP2_SCRATCH_2                           0x17FE42
1259 #define MADERA_DSP2_PMEM_ERR_ADDR___XMEM_ERR_ADDR       0x17FE7C
1260 #define MADERA_DSP3_CONFIG_1                            0x1FFE00
1261 #define MADERA_DSP3_CONFIG_2                            0x1FFE02
1262 #define MADERA_DSP3_SCRATCH_1                           0x1FFE40
1263 #define MADERA_DSP3_SCRATCH_2                           0x1FFE42
1264 #define MADERA_DSP3_PMEM_ERR_ADDR___XMEM_ERR_ADDR       0x1FFE7C
1265 #define MADERA_DSP4_CONFIG_1                            0x27FE00
1266 #define MADERA_DSP4_CONFIG_2                            0x27FE02
1267 #define MADERA_DSP4_SCRATCH_1                           0x27FE40
1268 #define MADERA_DSP4_SCRATCH_2                           0x27FE42
1269 #define MADERA_DSP4_PMEM_ERR_ADDR___XMEM_ERR_ADDR       0x27FE7C
1270 #define MADERA_DSP5_CONFIG_1                            0x2FFE00
1271 #define MADERA_DSP5_CONFIG_2                            0x2FFE02
1272 #define MADERA_DSP5_SCRATCH_1                           0x2FFE40
1273 #define MADERA_DSP5_SCRATCH_2                           0x2FFE42
1274 #define MADERA_DSP5_PMEM_ERR_ADDR___XMEM_ERR_ADDR       0x2FFE7C
1275 #define MADERA_DSP6_CONFIG_1                            0x37FE00
1276 #define MADERA_DSP6_CONFIG_2                            0x37FE02
1277 #define MADERA_DSP6_SCRATCH_1                           0x37FE40
1278 #define MADERA_DSP6_SCRATCH_2                           0x37FE42
1279 #define MADERA_DSP6_PMEM_ERR_ADDR___XMEM_ERR_ADDR       0x37FE7C
1280 #define MADERA_DSP7_CONFIG_1                            0x3FFE00
1281 #define MADERA_DSP7_CONFIG_2                            0x3FFE02
1282 #define MADERA_DSP7_SCRATCH_1                           0x3FFE40
1283 #define MADERA_DSP7_SCRATCH_2                           0x3FFE42
1284 #define MADERA_DSP7_PMEM_ERR_ADDR___XMEM_ERR_ADDR       0x3FFE7C
1285 
1286 /* (0x0000)  Software_Reset */
1287 #define MADERA_SW_RST_DEV_ID1_MASK                      0xFFFF
1288 #define MADERA_SW_RST_DEV_ID1_SHIFT                          0
1289 #define MADERA_SW_RST_DEV_ID1_WIDTH                         16
1290 
1291 /* (0x0001)  Hardware_Revision */
1292 #define MADERA_HW_REVISION_MASK                         0x00FF
1293 #define MADERA_HW_REVISION_SHIFT                             0
1294 #define MADERA_HW_REVISION_WIDTH                             8
1295 
1296 /* (0x0020)  Tone_Generator_1 */
1297 #define MADERA_TONE2_ENA                                0x0002
1298 #define MADERA_TONE2_ENA_MASK                           0x0002
1299 #define MADERA_TONE2_ENA_SHIFT                               1
1300 #define MADERA_TONE2_ENA_WIDTH                               1
1301 #define MADERA_TONE1_ENA                                0x0001
1302 #define MADERA_TONE1_ENA_MASK                           0x0001
1303 #define MADERA_TONE1_ENA_SHIFT                               0
1304 #define MADERA_TONE1_ENA_WIDTH                               1
1305 
1306 /* (0x0021)  Tone_Generator_2 */
1307 #define MADERA_TONE1_LVL_0_MASK                         0xFFFF
1308 #define MADERA_TONE1_LVL_0_SHIFT                             0
1309 #define MADERA_TONE1_LVL_0_WIDTH                            16
1310 
1311 /* (0x0022)  Tone_Generator_3 */
1312 #define MADERA_TONE1_LVL_MASK                           0x00FF
1313 #define MADERA_TONE1_LVL_SHIFT                               0
1314 #define MADERA_TONE1_LVL_WIDTH                               8
1315 
1316 /* (0x0023)  Tone_Generator_4 */
1317 #define MADERA_TONE2_LVL_0_MASK                         0xFFFF
1318 #define MADERA_TONE2_LVL_0_SHIFT                             0
1319 #define MADERA_TONE2_LVL_0_WIDTH                            16
1320 
1321 /* (0x0024)  Tone_Generator_5 */
1322 #define MADERA_TONE2_LVL_MASK                           0x00FF
1323 #define MADERA_TONE2_LVL_SHIFT                               0
1324 #define MADERA_TONE2_LVL_WIDTH                               8
1325 
1326 /* (0x0030)  PWM_Drive_1 */
1327 #define MADERA_PWM2_ENA                                 0x0002
1328 #define MADERA_PWM2_ENA_MASK                            0x0002
1329 #define MADERA_PWM2_ENA_SHIFT                                1
1330 #define MADERA_PWM2_ENA_WIDTH                                1
1331 #define MADERA_PWM1_ENA                                 0x0001
1332 #define MADERA_PWM1_ENA_MASK                            0x0001
1333 #define MADERA_PWM1_ENA_SHIFT                                0
1334 #define MADERA_PWM1_ENA_WIDTH                                1
1335 
1336 /* (0x00A0)  Comfort_Noise_Generator */
1337 #define MADERA_NOISE_GEN_ENA                            0x0020
1338 #define MADERA_NOISE_GEN_ENA_MASK                       0x0020
1339 #define MADERA_NOISE_GEN_ENA_SHIFT                           5
1340 #define MADERA_NOISE_GEN_ENA_WIDTH                           1
1341 #define MADERA_NOISE_GEN_GAIN_MASK                      0x001F
1342 #define MADERA_NOISE_GEN_GAIN_SHIFT                          0
1343 #define MADERA_NOISE_GEN_GAIN_WIDTH                          5
1344 
1345 /* (0x0100)  Clock_32k_1 */
1346 #define MADERA_CLK_32K_ENA                              0x0040
1347 #define MADERA_CLK_32K_ENA_MASK                         0x0040
1348 #define MADERA_CLK_32K_ENA_SHIFT                             6
1349 #define MADERA_CLK_32K_ENA_WIDTH                             1
1350 #define MADERA_CLK_32K_SRC_MASK                         0x0003
1351 #define MADERA_CLK_32K_SRC_SHIFT                             0
1352 #define MADERA_CLK_32K_SRC_WIDTH                             2
1353 
1354 /* (0x0101)  System_Clock_1 */
1355 #define MADERA_SYSCLK_FRAC                              0x8000
1356 #define MADERA_SYSCLK_FRAC_MASK                         0x8000
1357 #define MADERA_SYSCLK_FRAC_SHIFT                            15
1358 #define MADERA_SYSCLK_FRAC_WIDTH                             1
1359 #define MADERA_SYSCLK_FREQ_MASK                         0x0700
1360 #define MADERA_SYSCLK_FREQ_SHIFT                             8
1361 #define MADERA_SYSCLK_FREQ_WIDTH                             3
1362 #define MADERA_SYSCLK_ENA                               0x0040
1363 #define MADERA_SYSCLK_ENA_MASK                          0x0040
1364 #define MADERA_SYSCLK_ENA_SHIFT                              6
1365 #define MADERA_SYSCLK_ENA_WIDTH                              1
1366 #define MADERA_SYSCLK_SRC_MASK                          0x000F
1367 #define MADERA_SYSCLK_SRC_SHIFT                              0
1368 #define MADERA_SYSCLK_SRC_WIDTH                              4
1369 
1370 /* (0x0102)  Sample_rate_1 */
1371 #define MADERA_SAMPLE_RATE_1_MASK                       0x001F
1372 #define MADERA_SAMPLE_RATE_1_SHIFT                           0
1373 #define MADERA_SAMPLE_RATE_1_WIDTH                           5
1374 
1375 /* (0x0103)  Sample_rate_2 */
1376 #define MADERA_SAMPLE_RATE_2_MASK                       0x001F
1377 #define MADERA_SAMPLE_RATE_2_SHIFT                           0
1378 #define MADERA_SAMPLE_RATE_2_WIDTH                           5
1379 
1380 /* (0x0104)  Sample_rate_3 */
1381 #define MADERA_SAMPLE_RATE_3_MASK                       0x001F
1382 #define MADERA_SAMPLE_RATE_3_SHIFT                           0
1383 #define MADERA_SAMPLE_RATE_3_WIDTH                           5
1384 
1385 /* (0x0112)  Async_clock_1 */
1386 #define MADERA_ASYNC_CLK_FREQ_MASK                      0x0700
1387 #define MADERA_ASYNC_CLK_FREQ_SHIFT                          8
1388 #define MADERA_ASYNC_CLK_FREQ_WIDTH                          3
1389 #define MADERA_ASYNC_CLK_ENA                            0x0040
1390 #define MADERA_ASYNC_CLK_ENA_MASK                       0x0040
1391 #define MADERA_ASYNC_CLK_ENA_SHIFT                           6
1392 #define MADERA_ASYNC_CLK_ENA_WIDTH                           1
1393 #define MADERA_ASYNC_CLK_SRC_MASK                       0x000F
1394 #define MADERA_ASYNC_CLK_SRC_SHIFT                           0
1395 #define MADERA_ASYNC_CLK_SRC_WIDTH                           4
1396 
1397 /* (0x0113)  Async_sample_rate_1 */
1398 #define MADERA_ASYNC_SAMPLE_RATE_1_MASK                 0x001F
1399 #define MADERA_ASYNC_SAMPLE_RATE_1_SHIFT                     0
1400 #define MADERA_ASYNC_SAMPLE_RATE_1_WIDTH                     5
1401 
1402 /* (0x0114)  Async_sample_rate_2 */
1403 #define MADERA_ASYNC_SAMPLE_RATE_2_MASK                 0x001F
1404 #define MADERA_ASYNC_SAMPLE_RATE_2_SHIFT                     0
1405 #define MADERA_ASYNC_SAMPLE_RATE_2_WIDTH                     5
1406 
1407 /* (0x0120)  DSP_Clock_1 */
1408 #define MADERA_DSP_CLK_FREQ_LEGACY                      0x0700
1409 #define MADERA_DSP_CLK_FREQ_LEGACY_MASK                 0x0700
1410 #define MADERA_DSP_CLK_FREQ_LEGACY_SHIFT                     8
1411 #define MADERA_DSP_CLK_FREQ_LEGACY_WIDTH                     3
1412 #define MADERA_DSP_CLK_ENA                              0x0040
1413 #define MADERA_DSP_CLK_ENA_MASK                         0x0040
1414 #define MADERA_DSP_CLK_ENA_SHIFT                             6
1415 #define MADERA_DSP_CLK_ENA_WIDTH                             1
1416 #define MADERA_DSP_CLK_SRC                              0x000F
1417 #define MADERA_DSP_CLK_SRC_MASK                         0x000F
1418 #define MADERA_DSP_CLK_SRC_SHIFT                             0
1419 #define MADERA_DSP_CLK_SRC_WIDTH                             4
1420 
1421 /* (0x0122)  DSP_Clock_2 */
1422 #define MADERA_DSP_CLK_FREQ_MASK                        0x03FF
1423 #define MADERA_DSP_CLK_FREQ_SHIFT                            0
1424 #define MADERA_DSP_CLK_FREQ_WIDTH                           10
1425 
1426 /* (0x0149)  Output_system_clock */
1427 #define MADERA_OPCLK_ENA                                0x8000
1428 #define MADERA_OPCLK_ENA_MASK                           0x8000
1429 #define MADERA_OPCLK_ENA_SHIFT                              15
1430 #define MADERA_OPCLK_ENA_WIDTH                               1
1431 #define MADERA_OPCLK_DIV_MASK                           0x00F8
1432 #define MADERA_OPCLK_DIV_SHIFT                               3
1433 #define MADERA_OPCLK_DIV_WIDTH                               5
1434 #define MADERA_OPCLK_SEL_MASK                           0x0007
1435 #define MADERA_OPCLK_SEL_SHIFT                               0
1436 #define MADERA_OPCLK_SEL_WIDTH                               3
1437 
1438 /* (0x014A)  Output_async_clock */
1439 #define MADERA_OPCLK_ASYNC_ENA                          0x8000
1440 #define MADERA_OPCLK_ASYNC_ENA_MASK                     0x8000
1441 #define MADERA_OPCLK_ASYNC_ENA_SHIFT                        15
1442 #define MADERA_OPCLK_ASYNC_ENA_WIDTH                         1
1443 #define MADERA_OPCLK_ASYNC_DIV_MASK                     0x00F8
1444 #define MADERA_OPCLK_ASYNC_DIV_SHIFT                         3
1445 #define MADERA_OPCLK_ASYNC_DIV_WIDTH                         5
1446 #define MADERA_OPCLK_ASYNC_SEL_MASK                     0x0007
1447 #define MADERA_OPCLK_ASYNC_SEL_SHIFT                         0
1448 #define MADERA_OPCLK_ASYNC_SEL_WIDTH                         3
1449 
1450 /* (0x0171)  FLL1_Control_1 */
1451 #define CS47L92_FLL1_REFCLK_SRC_MASK                    0xF000
1452 #define CS47L92_FLL1_REFCLK_SRC_SHIFT                       12
1453 #define CS47L92_FLL1_REFCLK_SRC_WIDTH                        4
1454 #define MADERA_FLL1_HOLD_MASK                           0x0004
1455 #define MADERA_FLL1_HOLD_SHIFT                               2
1456 #define MADERA_FLL1_HOLD_WIDTH                               1
1457 #define MADERA_FLL1_FREERUN                             0x0002
1458 #define MADERA_FLL1_FREERUN_MASK                        0x0002
1459 #define MADERA_FLL1_FREERUN_SHIFT                            1
1460 #define MADERA_FLL1_FREERUN_WIDTH                            1
1461 #define MADERA_FLL1_ENA                                 0x0001
1462 #define MADERA_FLL1_ENA_MASK                            0x0001
1463 #define MADERA_FLL1_ENA_SHIFT                                0
1464 #define MADERA_FLL1_ENA_WIDTH                                1
1465 
1466 /* (0x0172)  FLL1_Control_2 */
1467 #define MADERA_FLL1_CTRL_UPD                            0x8000
1468 #define MADERA_FLL1_CTRL_UPD_MASK                       0x8000
1469 #define MADERA_FLL1_CTRL_UPD_SHIFT                          15
1470 #define MADERA_FLL1_CTRL_UPD_WIDTH                           1
1471 #define MADERA_FLL1_N_MASK                              0x03FF
1472 #define MADERA_FLL1_N_SHIFT                                  0
1473 #define MADERA_FLL1_N_WIDTH                                 10
1474 
1475 /* (0x0173)  FLL1_Control_3 */
1476 #define MADERA_FLL1_THETA_MASK                          0xFFFF
1477 #define MADERA_FLL1_THETA_SHIFT                              0
1478 #define MADERA_FLL1_THETA_WIDTH                             16
1479 
1480 /* (0x0174)  FLL1_Control_4 */
1481 #define MADERA_FLL1_LAMBDA_MASK                         0xFFFF
1482 #define MADERA_FLL1_LAMBDA_SHIFT                             0
1483 #define MADERA_FLL1_LAMBDA_WIDTH                            16
1484 
1485 /* (0x0175)  FLL1_Control_5 */
1486 #define MADERA_FLL1_FRATIO_MASK                         0x0F00
1487 #define MADERA_FLL1_FRATIO_SHIFT                             8
1488 #define MADERA_FLL1_FRATIO_WIDTH                             4
1489 #define MADERA_FLL1_FB_DIV_MASK                         0x03FF
1490 #define MADERA_FLL1_FB_DIV_SHIFT                             0
1491 #define MADERA_FLL1_FB_DIV_WIDTH                            10
1492 
1493 /* (0x0176)  FLL1_Control_6 */
1494 #define MADERA_FLL1_REFCLK_DIV_MASK                     0x00C0
1495 #define MADERA_FLL1_REFCLK_DIV_SHIFT                         6
1496 #define MADERA_FLL1_REFCLK_DIV_WIDTH                         2
1497 #define MADERA_FLL1_REFCLK_SRC_MASK                     0x000F
1498 #define MADERA_FLL1_REFCLK_SRC_SHIFT                         0
1499 #define MADERA_FLL1_REFCLK_SRC_WIDTH                         4
1500 
1501 /* (0x0179)  FLL1_Control_7 */
1502 #define MADERA_FLL1_GAIN_MASK                           0x003c
1503 #define MADERA_FLL1_GAIN_SHIFT                               2
1504 #define MADERA_FLL1_GAIN_WIDTH                               4
1505 
1506 /* (0x017A)  FLL1_EFS_2 */
1507 #define MADERA_FLL1_PHASE_GAIN_MASK                     0xF000
1508 #define MADERA_FLL1_PHASE_GAIN_SHIFT                        12
1509 #define MADERA_FLL1_PHASE_GAIN_WIDTH                         4
1510 #define MADERA_FLL1_PHASE_ENA_MASK                      0x0800
1511 #define MADERA_FLL1_PHASE_ENA_SHIFT                         11
1512 #define MADERA_FLL1_PHASE_ENA_WIDTH                          1
1513 
1514 /* (0x017A)  FLL1_Control_10 */
1515 #define MADERA_FLL1_HP_MASK                             0xC000
1516 #define MADERA_FLL1_HP_SHIFT                                14
1517 #define MADERA_FLL1_HP_WIDTH                                 2
1518 #define MADERA_FLL1_PHASEDET_ENA_MASK                   0x1000
1519 #define MADERA_FLL1_PHASEDET_ENA_SHIFT                      12
1520 #define MADERA_FLL1_PHASEDET_ENA_WIDTH                       1
1521 
1522 /* (0x017B)  FLL1_Control_11 */
1523 #define MADERA_FLL1_LOCKDET_THR_MASK                    0x001E
1524 #define MADERA_FLL1_LOCKDET_THR_SHIFT                        1
1525 #define MADERA_FLL1_LOCKDET_THR_WIDTH                        4
1526 #define MADERA_FLL1_LOCKDET_MASK                        0x0001
1527 #define MADERA_FLL1_LOCKDET_SHIFT                            0
1528 #define MADERA_FLL1_LOCKDET_WIDTH                            1
1529 
1530 /* (0x017D)  FLL1_Digital_Test_1 */
1531 #define MADERA_FLL1_SYNC_EFS_ENA_MASK                   0x0100
1532 #define MADERA_FLL1_SYNC_EFS_ENA_SHIFT                       8
1533 #define MADERA_FLL1_SYNC_EFS_ENA_WIDTH                       1
1534 #define MADERA_FLL1_CLK_VCO_FAST_SRC_MASK               0x0003
1535 #define MADERA_FLL1_CLK_VCO_FAST_SRC_SHIFT                   0
1536 #define MADERA_FLL1_CLK_VCO_FAST_SRC_WIDTH                   2
1537 
1538 /* (0x0181)  FLL1_Synchroniser_1 */
1539 #define MADERA_FLL1_SYNC_ENA                            0x0001
1540 #define MADERA_FLL1_SYNC_ENA_MASK                       0x0001
1541 #define MADERA_FLL1_SYNC_ENA_SHIFT                           0
1542 #define MADERA_FLL1_SYNC_ENA_WIDTH                           1
1543 
1544 /* (0x0182)  FLL1_Synchroniser_2 */
1545 #define MADERA_FLL1_SYNC_N_MASK                         0x03FF
1546 #define MADERA_FLL1_SYNC_N_SHIFT                             0
1547 #define MADERA_FLL1_SYNC_N_WIDTH                            10
1548 
1549 /* (0x0183)  FLL1_Synchroniser_3 */
1550 #define MADERA_FLL1_SYNC_THETA_MASK                     0xFFFF
1551 #define MADERA_FLL1_SYNC_THETA_SHIFT                         0
1552 #define MADERA_FLL1_SYNC_THETA_WIDTH                        16
1553 
1554 /* (0x0184)  FLL1_Synchroniser_4 */
1555 #define MADERA_FLL1_SYNC_LAMBDA_MASK                    0xFFFF
1556 #define MADERA_FLL1_SYNC_LAMBDA_SHIFT                        0
1557 #define MADERA_FLL1_SYNC_LAMBDA_WIDTH                       16
1558 
1559 /* (0x0185)  FLL1_Synchroniser_5 */
1560 #define MADERA_FLL1_SYNC_FRATIO_MASK                    0x0700
1561 #define MADERA_FLL1_SYNC_FRATIO_SHIFT                        8
1562 #define MADERA_FLL1_SYNC_FRATIO_WIDTH                        3
1563 
1564 /* (0x0186)  FLL1_Synchroniser_6 */
1565 #define MADERA_FLL1_SYNCCLK_DIV_MASK                    0x00C0
1566 #define MADERA_FLL1_SYNCCLK_DIV_SHIFT                        6
1567 #define MADERA_FLL1_SYNCCLK_DIV_WIDTH                        2
1568 #define MADERA_FLL1_SYNCCLK_SRC_MASK                    0x000F
1569 #define MADERA_FLL1_SYNCCLK_SRC_SHIFT                        0
1570 #define MADERA_FLL1_SYNCCLK_SRC_WIDTH                        4
1571 
1572 /* (0x0187)  FLL1_Synchroniser_7 */
1573 #define MADERA_FLL1_SYNC_GAIN_MASK                      0x003c
1574 #define MADERA_FLL1_SYNC_GAIN_SHIFT                          2
1575 #define MADERA_FLL1_SYNC_GAIN_WIDTH                          4
1576 #define MADERA_FLL1_SYNC_DFSAT                          0x0001
1577 #define MADERA_FLL1_SYNC_DFSAT_MASK                     0x0001
1578 #define MADERA_FLL1_SYNC_DFSAT_SHIFT                         0
1579 #define MADERA_FLL1_SYNC_DFSAT_WIDTH                         1
1580 
1581 /* (0x01D1)  FLL_AO_Control_1 */
1582 #define MADERA_FLL_AO_HOLD                              0x0004
1583 #define MADERA_FLL_AO_HOLD_MASK                         0x0004
1584 #define MADERA_FLL_AO_HOLD_SHIFT                             2
1585 #define MADERA_FLL_AO_HOLD_WIDTH                             1
1586 #define MADERA_FLL_AO_FREERUN                           0x0002
1587 #define MADERA_FLL_AO_FREERUN_MASK                      0x0002
1588 #define MADERA_FLL_AO_FREERUN_SHIFT                          1
1589 #define MADERA_FLL_AO_FREERUN_WIDTH                          1
1590 #define MADERA_FLL_AO_ENA                               0x0001
1591 #define MADERA_FLL_AO_ENA_MASK                          0x0001
1592 #define MADERA_FLL_AO_ENA_SHIFT                              0
1593 #define MADERA_FLL_AO_ENA_WIDTH                              1
1594 
1595 /* (0x01D2)  FLL_AO_Control_2 */
1596 #define MADERA_FLL_AO_CTRL_UPD                          0x8000
1597 #define MADERA_FLL_AO_CTRL_UPD_MASK                     0x8000
1598 #define MADERA_FLL_AO_CTRL_UPD_SHIFT                        15
1599 #define MADERA_FLL_AO_CTRL_UPD_WIDTH                         1
1600 
1601 /* (0x01D6)  FLL_AO_Control_6 */
1602 #define MADERA_FLL_AO_REFCLK_SRC_MASK                   0x000F
1603 #define MADERA_FLL_AO_REFCLK_SRC_SHIFT                       0
1604 #define MADERA_FLL_AO_REFCLK_SRC_WIDTH                       4
1605 
1606 /* (0x0200)  Mic_Charge_Pump_1 */
1607 #define MADERA_CPMIC_BYPASS                             0x0002
1608 #define MADERA_CPMIC_BYPASS_MASK                        0x0002
1609 #define MADERA_CPMIC_BYPASS_SHIFT                            1
1610 #define MADERA_CPMIC_BYPASS_WIDTH                            1
1611 #define MADERA_CPMIC_ENA                                0x0001
1612 #define MADERA_CPMIC_ENA_MASK                           0x0001
1613 #define MADERA_CPMIC_ENA_SHIFT                               0
1614 #define MADERA_CPMIC_ENA_WIDTH                               1
1615 
1616 /* (0x0210)  LDO1_Control_1 */
1617 #define MADERA_LDO1_VSEL_MASK                           0x07E0
1618 #define MADERA_LDO1_VSEL_SHIFT                               5
1619 #define MADERA_LDO1_VSEL_WIDTH                               6
1620 #define MADERA_LDO1_FAST                                0x0010
1621 #define MADERA_LDO1_FAST_MASK                           0x0010
1622 #define MADERA_LDO1_FAST_SHIFT                               4
1623 #define MADERA_LDO1_FAST_WIDTH                               1
1624 #define MADERA_LDO1_DISCH                               0x0004
1625 #define MADERA_LDO1_DISCH_MASK                          0x0004
1626 #define MADERA_LDO1_DISCH_SHIFT                              2
1627 #define MADERA_LDO1_DISCH_WIDTH                              1
1628 #define MADERA_LDO1_BYPASS                              0x0002
1629 #define MADERA_LDO1_BYPASS_MASK                         0x0002
1630 #define MADERA_LDO1_BYPASS_SHIFT                             1
1631 #define MADERA_LDO1_BYPASS_WIDTH                             1
1632 #define MADERA_LDO1_ENA                                 0x0001
1633 #define MADERA_LDO1_ENA_MASK                            0x0001
1634 #define MADERA_LDO1_ENA_SHIFT                                0
1635 #define MADERA_LDO1_ENA_WIDTH                                1
1636 
1637 /* (0x0213)  LDO2_Control_1 */
1638 #define MADERA_LDO2_VSEL_MASK                           0x07E0
1639 #define MADERA_LDO2_VSEL_SHIFT                               5
1640 #define MADERA_LDO2_VSEL_WIDTH                               6
1641 #define MADERA_LDO2_FAST                                0x0010
1642 #define MADERA_LDO2_FAST_MASK                           0x0010
1643 #define MADERA_LDO2_FAST_SHIFT                               4
1644 #define MADERA_LDO2_FAST_WIDTH                               1
1645 #define MADERA_LDO2_DISCH                               0x0004
1646 #define MADERA_LDO2_DISCH_MASK                          0x0004
1647 #define MADERA_LDO2_DISCH_SHIFT                              2
1648 #define MADERA_LDO2_DISCH_WIDTH                              1
1649 #define MADERA_LDO2_BYPASS                              0x0002
1650 #define MADERA_LDO2_BYPASS_MASK                         0x0002
1651 #define MADERA_LDO2_BYPASS_SHIFT                             1
1652 #define MADERA_LDO2_BYPASS_WIDTH                             1
1653 #define MADERA_LDO2_ENA                                 0x0001
1654 #define MADERA_LDO2_ENA_MASK                            0x0001
1655 #define MADERA_LDO2_ENA_SHIFT                                0
1656 #define MADERA_LDO2_ENA_WIDTH                                1
1657 
1658 /* (0x0218)  Mic_Bias_Ctrl_1 */
1659 #define MADERA_MICB1_EXT_CAP                            0x8000
1660 #define MADERA_MICB1_EXT_CAP_MASK                       0x8000
1661 #define MADERA_MICB1_EXT_CAP_SHIFT                          15
1662 #define MADERA_MICB1_EXT_CAP_WIDTH                           1
1663 #define MADERA_MICB1_LVL_MASK                           0x01E0
1664 #define MADERA_MICB1_LVL_SHIFT                               5
1665 #define MADERA_MICB1_LVL_WIDTH                               4
1666 #define MADERA_MICB1_ENA                                0x0001
1667 #define MADERA_MICB1_ENA_MASK                           0x0001
1668 #define MADERA_MICB1_ENA_SHIFT                               0
1669 #define MADERA_MICB1_ENA_WIDTH                               1
1670 
1671 /* (0x021C)  Mic_Bias_Ctrl_5 */
1672 #define MADERA_MICB1D_ENA                               0x1000
1673 #define MADERA_MICB1D_ENA_MASK                          0x1000
1674 #define MADERA_MICB1D_ENA_SHIFT                             12
1675 #define MADERA_MICB1D_ENA_WIDTH                              1
1676 #define MADERA_MICB1C_ENA                               0x0100
1677 #define MADERA_MICB1C_ENA_MASK                          0x0100
1678 #define MADERA_MICB1C_ENA_SHIFT                              8
1679 #define MADERA_MICB1C_ENA_WIDTH                              1
1680 #define MADERA_MICB1B_ENA                               0x0010
1681 #define MADERA_MICB1B_ENA_MASK                          0x0010
1682 #define MADERA_MICB1B_ENA_SHIFT                              4
1683 #define MADERA_MICB1B_ENA_WIDTH                              1
1684 #define MADERA_MICB1A_ENA                               0x0001
1685 #define MADERA_MICB1A_ENA_MASK                          0x0001
1686 #define MADERA_MICB1A_ENA_SHIFT                              0
1687 #define MADERA_MICB1A_ENA_WIDTH                              1
1688 
1689 /* (0x021E)  Mic_Bias_Ctrl_6 */
1690 #define MADERA_MICB2D_ENA                               0x1000
1691 #define MADERA_MICB2D_ENA_MASK                          0x1000
1692 #define MADERA_MICB2D_ENA_SHIFT                             12
1693 #define MADERA_MICB2D_ENA_WIDTH                              1
1694 #define MADERA_MICB2C_ENA                               0x0100
1695 #define MADERA_MICB2C_ENA_MASK                          0x0100
1696 #define MADERA_MICB2C_ENA_SHIFT                              8
1697 #define MADERA_MICB2C_ENA_WIDTH                              1
1698 #define MADERA_MICB2B_ENA                               0x0010
1699 #define MADERA_MICB2B_ENA_MASK                          0x0010
1700 #define MADERA_MICB2B_ENA_SHIFT                              4
1701 #define MADERA_MICB2B_ENA_WIDTH                              1
1702 #define MADERA_MICB2A_ENA                               0x0001
1703 #define MADERA_MICB2A_ENA_MASK                          0x0001
1704 #define MADERA_MICB2A_ENA_SHIFT                              0
1705 #define MADERA_MICB2A_ENA_WIDTH                              1
1706 
1707 /* (0x0225) - HP Ctrl 1L */
1708 #define MADERA_RMV_SHRT_HP1L                            0x4000
1709 #define MADERA_RMV_SHRT_HP1L_MASK                       0x4000
1710 #define MADERA_RMV_SHRT_HP1L_SHIFT                          14
1711 #define MADERA_RMV_SHRT_HP1L_WIDTH                           1
1712 #define MADERA_HP1L_FLWR                                0x0004
1713 #define MADERA_HP1L_FLWR_MASK                           0x0004
1714 #define MADERA_HP1L_FLWR_SHIFT                               2
1715 #define MADERA_HP1L_FLWR_WIDTH                               1
1716 #define MADERA_HP1L_SHRTI                               0x0002
1717 #define MADERA_HP1L_SHRTI_MASK                          0x0002
1718 #define MADERA_HP1L_SHRTI_SHIFT                              1
1719 #define MADERA_HP1L_SHRTI_WIDTH                              1
1720 #define MADERA_HP1L_SHRTO                               0x0001
1721 #define MADERA_HP1L_SHRTO_MASK                          0x0001
1722 #define MADERA_HP1L_SHRTO_SHIFT                              0
1723 #define MADERA_HP1L_SHRTO_WIDTH                              1
1724 
1725 /* (0x0226) - HP Ctrl 1R */
1726 #define MADERA_RMV_SHRT_HP1R                            0x4000
1727 #define MADERA_RMV_SHRT_HP1R_MASK                       0x4000
1728 #define MADERA_RMV_SHRT_HP1R_SHIFT                          14
1729 #define MADERA_RMV_SHRT_HP1R_WIDTH                           1
1730 #define MADERA_HP1R_FLWR                                0x0004
1731 #define MADERA_HP1R_FLWR_MASK                           0x0004
1732 #define MADERA_HP1R_FLWR_SHIFT                               2
1733 #define MADERA_HP1R_FLWR_WIDTH                               1
1734 #define MADERA_HP1R_SHRTI                               0x0002
1735 #define MADERA_HP1R_SHRTI_MASK                          0x0002
1736 #define MADERA_HP1R_SHRTI_SHIFT                              1
1737 #define MADERA_HP1R_SHRTI_WIDTH                              1
1738 #define MADERA_HP1R_SHRTO                               0x0001
1739 #define MADERA_HP1R_SHRTO_MASK                          0x0001
1740 #define MADERA_HP1R_SHRTO_SHIFT                              0
1741 #define MADERA_HP1R_SHRTO_WIDTH                              1
1742 
1743 /* (0x0293)  Accessory_Detect_Mode_1 */
1744 #define MADERA_ACCDET_SRC                               0x2000
1745 #define MADERA_ACCDET_SRC_MASK                          0x2000
1746 #define MADERA_ACCDET_SRC_SHIFT                             13
1747 #define MADERA_ACCDET_SRC_WIDTH                              1
1748 #define MADERA_ACCDET_POLARITY_INV_ENA                  0x0080
1749 #define MADERA_ACCDET_POLARITY_INV_ENA_MASK             0x0080
1750 #define MADERA_ACCDET_POLARITY_INV_ENA_SHIFT                 7
1751 #define MADERA_ACCDET_POLARITY_INV_ENA_WIDTH                 1
1752 #define MADERA_ACCDET_MODE_MASK                         0x0007
1753 #define MADERA_ACCDET_MODE_SHIFT                             0
1754 #define MADERA_ACCDET_MODE_WIDTH                             3
1755 
1756 /* (0x0299)  Headphone_Detect_0 */
1757 #define MADERA_HPD_GND_SEL                              0x0007
1758 #define MADERA_HPD_GND_SEL_MASK                         0x0007
1759 #define MADERA_HPD_GND_SEL_SHIFT                             0
1760 #define MADERA_HPD_GND_SEL_WIDTH                             3
1761 #define MADERA_HPD_SENSE_SEL                            0x00F0
1762 #define MADERA_HPD_SENSE_SEL_MASK                       0x00F0
1763 #define MADERA_HPD_SENSE_SEL_SHIFT                           4
1764 #define MADERA_HPD_SENSE_SEL_WIDTH                           4
1765 #define MADERA_HPD_FRC_SEL                              0x0F00
1766 #define MADERA_HPD_FRC_SEL_MASK                         0x0F00
1767 #define MADERA_HPD_FRC_SEL_SHIFT                             8
1768 #define MADERA_HPD_FRC_SEL_WIDTH                             4
1769 #define MADERA_HPD_OUT_SEL                              0x7000
1770 #define MADERA_HPD_OUT_SEL_MASK                         0x7000
1771 #define MADERA_HPD_OUT_SEL_SHIFT                            12
1772 #define MADERA_HPD_OUT_SEL_WIDTH                             3
1773 #define MADERA_HPD_OVD_ENA_SEL                          0x8000
1774 #define MADERA_HPD_OVD_ENA_SEL_MASK                     0x8000
1775 #define MADERA_HPD_OVD_ENA_SEL_SHIFT                        15
1776 #define MADERA_HPD_OVD_ENA_SEL_WIDTH                         1
1777 
1778 /* (0x029B)  Headphone_Detect_1 */
1779 #define MADERA_HP_IMPEDANCE_RANGE_MASK                  0x0600
1780 #define MADERA_HP_IMPEDANCE_RANGE_SHIFT                      9
1781 #define MADERA_HP_IMPEDANCE_RANGE_WIDTH                      2
1782 #define MADERA_HP_STEP_SIZE                             0x0100
1783 #define MADERA_HP_STEP_SIZE_MASK                        0x0100
1784 #define MADERA_HP_STEP_SIZE_SHIFT                            8
1785 #define MADERA_HP_STEP_SIZE_WIDTH                            1
1786 #define MADERA_HP_CLK_DIV_MASK                          0x0018
1787 #define MADERA_HP_CLK_DIV_SHIFT                              3
1788 #define MADERA_HP_CLK_DIV_WIDTH                              2
1789 #define MADERA_HP_RATE_MASK                             0x0006
1790 #define MADERA_HP_RATE_SHIFT                                 1
1791 #define MADERA_HP_RATE_WIDTH                                 2
1792 #define MADERA_HP_POLL                                  0x0001
1793 #define MADERA_HP_POLL_MASK                             0x0001
1794 #define MADERA_HP_POLL_SHIFT                                 0
1795 #define MADERA_HP_POLL_WIDTH                                 1
1796 
1797 /* (0x029C)  Headphone_Detect_2 */
1798 #define MADERA_HP_DONE_MASK                             0x8000
1799 #define MADERA_HP_DONE_SHIFT                                15
1800 #define MADERA_HP_DONE_WIDTH                                 1
1801 #define MADERA_HP_LVL_MASK                              0x7FFF
1802 #define MADERA_HP_LVL_SHIFT                                  0
1803 #define MADERA_HP_LVL_WIDTH                                 15
1804 
1805 /* (0x029D)  Headphone_Detect_3 */
1806 #define MADERA_HP_DACVAL_MASK                           0x03FF
1807 #define MADERA_HP_DACVAL_SHIFT                               0
1808 #define MADERA_HP_DACVAL_WIDTH                              10
1809 
1810 /* (0x029F) - Headphone Detect 5 */
1811 #define MADERA_HP_DACVAL_DOWN_MASK                      0x03FF
1812 #define MADERA_HP_DACVAL_DOWN_SHIFT                          0
1813 #define MADERA_HP_DACVAL_DOWN_WIDTH                         10
1814 
1815 /* (0x02A2)  Mic_Detect_1_Control_0 */
1816 #define MADERA_MICD1_GND_MASK                           0x0007
1817 #define MADERA_MICD1_GND_SHIFT                               0
1818 #define MADERA_MICD1_GND_WIDTH                               3
1819 #define MADERA_MICD1_SENSE_MASK                         0x00F0
1820 #define MADERA_MICD1_SENSE_SHIFT                             4
1821 #define MADERA_MICD1_SENSE_WIDTH                             4
1822 #define MADERA_MICD1_ADC_MODE_MASK                      0x8000
1823 #define MADERA_MICD1_ADC_MODE_SHIFT                         15
1824 #define MADERA_MICD1_ADC_MODE_WIDTH                          1
1825 
1826 /* (0x02A3)  Mic_Detect_1_Control_1 */
1827 #define MADERA_MICD_BIAS_STARTTIME_MASK                 0xF000
1828 #define MADERA_MICD_BIAS_STARTTIME_SHIFT                    12
1829 #define MADERA_MICD_BIAS_STARTTIME_WIDTH                     4
1830 #define MADERA_MICD_RATE_MASK                           0x0F00
1831 #define MADERA_MICD_RATE_SHIFT                               8
1832 #define MADERA_MICD_RATE_WIDTH                               4
1833 #define MADERA_MICD_BIAS_SRC_MASK                       0x00F0
1834 #define MADERA_MICD_BIAS_SRC_SHIFT                           4
1835 #define MADERA_MICD_BIAS_SRC_WIDTH                           4
1836 #define MADERA_MICD_DBTIME                              0x0002
1837 #define MADERA_MICD_DBTIME_MASK                         0x0002
1838 #define MADERA_MICD_DBTIME_SHIFT                             1
1839 #define MADERA_MICD_DBTIME_WIDTH                             1
1840 #define MADERA_MICD_ENA                                 0x0001
1841 #define MADERA_MICD_ENA_MASK                            0x0001
1842 #define MADERA_MICD_ENA_SHIFT                                0
1843 #define MADERA_MICD_ENA_WIDTH                                1
1844 
1845 /* (0x02A4)  Mic_Detect_1_Control_2 */
1846 #define MADERA_MICD_LVL_SEL_MASK                        0x00FF
1847 #define MADERA_MICD_LVL_SEL_SHIFT                            0
1848 #define MADERA_MICD_LVL_SEL_WIDTH                            8
1849 
1850 /* (0x02A5)  Mic_Detect_1_Control_3 */
1851 #define MADERA_MICD_LVL_0                               0x0004
1852 #define MADERA_MICD_LVL_1                               0x0008
1853 #define MADERA_MICD_LVL_2                               0x0010
1854 #define MADERA_MICD_LVL_3                               0x0020
1855 #define MADERA_MICD_LVL_4                               0x0040
1856 #define MADERA_MICD_LVL_5                               0x0080
1857 #define MADERA_MICD_LVL_6                               0x0100
1858 #define MADERA_MICD_LVL_7                               0x0200
1859 #define MADERA_MICD_LVL_8                               0x0400
1860 #define MADERA_MICD_LVL_MASK                            0x07FC
1861 #define MADERA_MICD_LVL_SHIFT                                2
1862 #define MADERA_MICD_LVL_WIDTH                                9
1863 #define MADERA_MICD_VALID                               0x0002
1864 #define MADERA_MICD_VALID_MASK                          0x0002
1865 #define MADERA_MICD_VALID_SHIFT                              1
1866 #define MADERA_MICD_VALID_WIDTH                              1
1867 #define MADERA_MICD_STS                                 0x0001
1868 #define MADERA_MICD_STS_MASK                            0x0001
1869 #define MADERA_MICD_STS_SHIFT                                0
1870 #define MADERA_MICD_STS_WIDTH                                1
1871 
1872 /* (0x02AB)  Mic_Detect_1_Control_4 */
1873 #define MADERA_MICDET_ADCVAL_DIFF_MASK                  0xFF00
1874 #define MADERA_MICDET_ADCVAL_DIFF_SHIFT                      8
1875 #define MADERA_MICDET_ADCVAL_DIFF_WIDTH                      8
1876 #define MADERA_MICDET_ADCVAL_MASK                       0x007F
1877 #define MADERA_MICDET_ADCVAL_SHIFT                           0
1878 #define MADERA_MICDET_ADCVAL_WIDTH                           7
1879 
1880 /* (0x02C6)  Micd_Clamp_control */
1881 #define MADERA_MICD_CLAMP_OVD                           0x0010
1882 #define MADERA_MICD_CLAMP_OVD_MASK                      0x0010
1883 #define MADERA_MICD_CLAMP_OVD_SHIFT                          4
1884 #define MADERA_MICD_CLAMP_OVD_WIDTH                          1
1885 #define MADERA_MICD_CLAMP_MODE_MASK                     0x000F
1886 #define MADERA_MICD_CLAMP_MODE_SHIFT                         0
1887 #define MADERA_MICD_CLAMP_MODE_WIDTH                         4
1888 
1889 /* (0x02C8)  GP_Switch_1 */
1890 #define MADERA_SW2_MODE_MASK                            0x000C
1891 #define MADERA_SW2_MODE_SHIFT                                2
1892 #define MADERA_SW2_MODE_WIDTH                                2
1893 #define MADERA_SW1_MODE_MASK                            0x0003
1894 #define MADERA_SW1_MODE_SHIFT                                0
1895 #define MADERA_SW1_MODE_WIDTH                                2
1896 
1897 /* (0x02D3)  Jack_detect_analogue */
1898 #define MADERA_JD2_ENA                                  0x0002
1899 #define MADERA_JD2_ENA_MASK                             0x0002
1900 #define MADERA_JD2_ENA_SHIFT                                 1
1901 #define MADERA_JD2_ENA_WIDTH                                 1
1902 #define MADERA_JD1_ENA                                  0x0001
1903 #define MADERA_JD1_ENA_MASK                             0x0001
1904 #define MADERA_JD1_ENA_SHIFT                                 0
1905 #define MADERA_JD1_ENA_WIDTH                                 1
1906 
1907 /* (0x0300)  Input_Enables */
1908 #define MADERA_IN6L_ENA                                 0x0800
1909 #define MADERA_IN6L_ENA_MASK                            0x0800
1910 #define MADERA_IN6L_ENA_SHIFT                               11
1911 #define MADERA_IN6L_ENA_WIDTH                                1
1912 #define MADERA_IN6R_ENA                                 0x0400
1913 #define MADERA_IN6R_ENA_MASK                            0x0400
1914 #define MADERA_IN6R_ENA_SHIFT                               10
1915 #define MADERA_IN6R_ENA_WIDTH                                1
1916 #define MADERA_IN5L_ENA                                 0x0200
1917 #define MADERA_IN5L_ENA_MASK                            0x0200
1918 #define MADERA_IN5L_ENA_SHIFT                                9
1919 #define MADERA_IN5L_ENA_WIDTH                                1
1920 #define MADERA_IN5R_ENA                                 0x0100
1921 #define MADERA_IN5R_ENA_MASK                            0x0100
1922 #define MADERA_IN5R_ENA_SHIFT                                8
1923 #define MADERA_IN5R_ENA_WIDTH                                1
1924 #define MADERA_IN4L_ENA                                 0x0080
1925 #define MADERA_IN4L_ENA_MASK                            0x0080
1926 #define MADERA_IN4L_ENA_SHIFT                                7
1927 #define MADERA_IN4L_ENA_WIDTH                                1
1928 #define MADERA_IN4R_ENA                                 0x0040
1929 #define MADERA_IN4R_ENA_MASK                            0x0040
1930 #define MADERA_IN4R_ENA_SHIFT                                6
1931 #define MADERA_IN4R_ENA_WIDTH                                1
1932 #define MADERA_IN3L_ENA                                 0x0020
1933 #define MADERA_IN3L_ENA_MASK                            0x0020
1934 #define MADERA_IN3L_ENA_SHIFT                                5
1935 #define MADERA_IN3L_ENA_WIDTH                                1
1936 #define MADERA_IN3R_ENA                                 0x0010
1937 #define MADERA_IN3R_ENA_MASK                            0x0010
1938 #define MADERA_IN3R_ENA_SHIFT                                4
1939 #define MADERA_IN3R_ENA_WIDTH                                1
1940 #define MADERA_IN2L_ENA                                 0x0008
1941 #define MADERA_IN2L_ENA_MASK                            0x0008
1942 #define MADERA_IN2L_ENA_SHIFT                                3
1943 #define MADERA_IN2L_ENA_WIDTH                                1
1944 #define MADERA_IN2R_ENA                                 0x0004
1945 #define MADERA_IN2R_ENA_MASK                            0x0004
1946 #define MADERA_IN2R_ENA_SHIFT                                2
1947 #define MADERA_IN2R_ENA_WIDTH                                1
1948 #define MADERA_IN1L_ENA                                 0x0002
1949 #define MADERA_IN1L_ENA_MASK                            0x0002
1950 #define MADERA_IN1L_ENA_SHIFT                                1
1951 #define MADERA_IN1L_ENA_WIDTH                                1
1952 #define MADERA_IN1R_ENA                                 0x0001
1953 #define MADERA_IN1R_ENA_MASK                            0x0001
1954 #define MADERA_IN1R_ENA_SHIFT                                0
1955 #define MADERA_IN1R_ENA_WIDTH                                1
1956 
1957 /* (0x0308)  Input_Rate */
1958 #define MADERA_IN_RATE_MASK                             0xF800
1959 #define MADERA_IN_RATE_SHIFT                                11
1960 #define MADERA_IN_RATE_WIDTH                                 5
1961 #define MADERA_IN_MODE_MASK                             0x0400
1962 #define MADERA_IN_MODE_SHIFT                                10
1963 #define MADERA_IN_MODE_WIDTH                                 1
1964 
1965 /* (0x0309)  Input_Volume_Ramp */
1966 #define MADERA_IN_VD_RAMP_MASK                          0x0070
1967 #define MADERA_IN_VD_RAMP_SHIFT                              4
1968 #define MADERA_IN_VD_RAMP_WIDTH                              3
1969 #define MADERA_IN_VI_RAMP_MASK                          0x0007
1970 #define MADERA_IN_VI_RAMP_SHIFT                              0
1971 #define MADERA_IN_VI_RAMP_WIDTH                              3
1972 
1973 /* (0x030C)  HPF_Control */
1974 #define MADERA_IN_HPF_CUT_MASK                          0x0007
1975 #define MADERA_IN_HPF_CUT_SHIFT                              0
1976 #define MADERA_IN_HPF_CUT_WIDTH                              3
1977 
1978 /* (0x0310)  IN1L_Control */
1979 #define MADERA_IN1L_HPF_MASK                            0x8000
1980 #define MADERA_IN1L_HPF_SHIFT                               15
1981 #define MADERA_IN1L_HPF_WIDTH                                1
1982 #define MADERA_IN1_DMIC_SUP_MASK                        0x1800
1983 #define MADERA_IN1_DMIC_SUP_SHIFT                           11
1984 #define MADERA_IN1_DMIC_SUP_WIDTH                            2
1985 #define MADERA_IN1_MODE_MASK                            0x0400
1986 #define MADERA_IN1_MODE_SHIFT                               10
1987 #define MADERA_IN1_MODE_WIDTH                                1
1988 #define MADERA_IN1L_PGA_VOL_MASK                        0x00FE
1989 #define MADERA_IN1L_PGA_VOL_SHIFT                            1
1990 #define MADERA_IN1L_PGA_VOL_WIDTH                            7
1991 
1992 /* (0x0311)  ADC_Digital_Volume_1L */
1993 #define MADERA_IN1L_SRC_MASK                            0x4000
1994 #define MADERA_IN1L_SRC_SHIFT                               14
1995 #define MADERA_IN1L_SRC_WIDTH                                1
1996 #define MADERA_IN1L_SRC_SE_MASK                         0x2000
1997 #define MADERA_IN1L_SRC_SE_SHIFT                            13
1998 #define MADERA_IN1L_SRC_SE_WIDTH                             1
1999 #define MADERA_IN1L_LP_MODE                             0x0800
2000 #define MADERA_IN1L_LP_MODE_MASK                        0x0800
2001 #define MADERA_IN1L_LP_MODE_SHIFT                           11
2002 #define MADERA_IN1L_LP_MODE_WIDTH                            1
2003 #define MADERA_IN_VU                                    0x0200
2004 #define MADERA_IN_VU_MASK                               0x0200
2005 #define MADERA_IN_VU_SHIFT                                   9
2006 #define MADERA_IN_VU_WIDTH                                   1
2007 #define MADERA_IN1L_MUTE                                0x0100
2008 #define MADERA_IN1L_MUTE_MASK                           0x0100
2009 #define MADERA_IN1L_MUTE_SHIFT                               8
2010 #define MADERA_IN1L_MUTE_WIDTH                               1
2011 #define MADERA_IN1L_DIG_VOL_MASK                        0x00FF
2012 #define MADERA_IN1L_DIG_VOL_SHIFT                            0
2013 #define MADERA_IN1L_DIG_VOL_WIDTH                            8
2014 
2015 /* (0x0312)  DMIC1L_Control */
2016 #define MADERA_IN1_OSR_MASK                             0x0700
2017 #define MADERA_IN1_OSR_SHIFT                                 8
2018 #define MADERA_IN1_OSR_WIDTH                                 3
2019 
2020 /* (0x0313)  IN1L_Rate_Control */
2021 #define MADERA_IN1L_RATE_MASK                           0xF800
2022 #define MADERA_IN1L_RATE_SHIFT                              11
2023 #define MADERA_IN1L_RATE_WIDTH                               5
2024 
2025 /* (0x0314)  IN1R_Control */
2026 #define MADERA_IN1R_HPF_MASK                            0x8000
2027 #define MADERA_IN1R_HPF_SHIFT                               15
2028 #define MADERA_IN1R_HPF_WIDTH                                1
2029 #define MADERA_IN1R_PGA_VOL_MASK                        0x00FE
2030 #define MADERA_IN1R_PGA_VOL_SHIFT                            1
2031 #define MADERA_IN1R_PGA_VOL_WIDTH                            7
2032 #define MADERA_IN1_DMICCLK_SRC_MASK                     0x1800
2033 #define MADERA_IN1_DMICCLK_SRC_SHIFT                        11
2034 #define MADERA_IN1_DMICCLK_SRC_WIDTH                         2
2035 
2036 /* (0x0315)  ADC_Digital_Volume_1R */
2037 #define MADERA_IN1R_SRC_MASK                            0x4000
2038 #define MADERA_IN1R_SRC_SHIFT                               14
2039 #define MADERA_IN1R_SRC_WIDTH                                1
2040 #define MADERA_IN1R_SRC_SE_MASK                         0x2000
2041 #define MADERA_IN1R_SRC_SE_SHIFT                            13
2042 #define MADERA_IN1R_SRC_SE_WIDTH                             1
2043 #define MADERA_IN1R_LP_MODE                             0x0800
2044 #define MADERA_IN1R_LP_MODE_MASK                        0x0800
2045 #define MADERA_IN1R_LP_MODE_SHIFT                           11
2046 #define MADERA_IN1R_LP_MODE_WIDTH                            1
2047 #define MADERA_IN1R_MUTE                                0x0100
2048 #define MADERA_IN1R_MUTE_MASK                           0x0100
2049 #define MADERA_IN1R_MUTE_SHIFT                               8
2050 #define MADERA_IN1R_MUTE_WIDTH                               1
2051 #define MADERA_IN1R_DIG_VOL_MASK                        0x00FF
2052 #define MADERA_IN1R_DIG_VOL_SHIFT                            0
2053 #define MADERA_IN1R_DIG_VOL_WIDTH                            8
2054 
2055 /* (0x0317)  IN1R_Rate_Control */
2056 #define MADERA_IN1R_RATE_MASK                           0xF800
2057 #define MADERA_IN1R_RATE_SHIFT                              11
2058 #define MADERA_IN1R_RATE_WIDTH                               5
2059 
2060 /* (0x0318)  IN2L_Control */
2061 #define MADERA_IN2L_HPF_MASK                            0x8000
2062 #define MADERA_IN2L_HPF_SHIFT                               15
2063 #define MADERA_IN2L_HPF_WIDTH                                1
2064 #define MADERA_IN2_DMIC_SUP_MASK                        0x1800
2065 #define MADERA_IN2_DMIC_SUP_SHIFT                           11
2066 #define MADERA_IN2_DMIC_SUP_WIDTH                            2
2067 #define MADERA_IN2_MODE_MASK                            0x0400
2068 #define MADERA_IN2_MODE_SHIFT                               10
2069 #define MADERA_IN2_MODE_WIDTH                                1
2070 #define MADERA_IN2L_PGA_VOL_MASK                        0x00FE
2071 #define MADERA_IN2L_PGA_VOL_SHIFT                            1
2072 #define MADERA_IN2L_PGA_VOL_WIDTH                            7
2073 
2074 /* (0x0319)  ADC_Digital_Volume_2L */
2075 #define MADERA_IN2L_SRC_MASK                            0x4000
2076 #define MADERA_IN2L_SRC_SHIFT                               14
2077 #define MADERA_IN2L_SRC_WIDTH                                1
2078 #define MADERA_IN2L_SRC_SE_MASK                         0x2000
2079 #define MADERA_IN2L_SRC_SE_SHIFT                            13
2080 #define MADERA_IN2L_SRC_SE_WIDTH                             1
2081 #define MADERA_IN2L_LP_MODE                             0x0800
2082 #define MADERA_IN2L_LP_MODE_MASK                        0x0800
2083 #define MADERA_IN2L_LP_MODE_SHIFT                           11
2084 #define MADERA_IN2L_LP_MODE_WIDTH                            1
2085 #define MADERA_IN2L_MUTE                                0x0100
2086 #define MADERA_IN2L_MUTE_MASK                           0x0100
2087 #define MADERA_IN2L_MUTE_SHIFT                               8
2088 #define MADERA_IN2L_MUTE_WIDTH                               1
2089 #define MADERA_IN2L_DIG_VOL_MASK                        0x00FF
2090 #define MADERA_IN2L_DIG_VOL_SHIFT                            0
2091 #define MADERA_IN2L_DIG_VOL_WIDTH                            8
2092 
2093 /* (0x031A)  DMIC2L_Control */
2094 #define MADERA_IN2_OSR_MASK                             0x0700
2095 #define MADERA_IN2_OSR_SHIFT                                 8
2096 #define MADERA_IN2_OSR_WIDTH                                 3
2097 
2098 /* (0x031C)  IN2R_Control */
2099 #define MADERA_IN2R_HPF_MASK                            0x8000
2100 #define MADERA_IN2R_HPF_SHIFT                               15
2101 #define MADERA_IN2R_HPF_WIDTH                                1
2102 #define MADERA_IN2R_PGA_VOL_MASK                        0x00FE
2103 #define MADERA_IN2R_PGA_VOL_SHIFT                            1
2104 #define MADERA_IN2R_PGA_VOL_WIDTH                            7
2105 #define MADERA_IN2_DMICCLK_SRC_MASK                     0x1800
2106 #define MADERA_IN2_DMICCLK_SRC_SHIFT                        11
2107 #define MADERA_IN2_DMICCLK_SRC_WIDTH                         2
2108 
2109 /* (0x031D)  ADC_Digital_Volume_2R */
2110 #define MADERA_IN2R_SRC_MASK                            0x4000
2111 #define MADERA_IN2R_SRC_SHIFT                               14
2112 #define MADERA_IN2R_SRC_WIDTH                                1
2113 #define MADERA_IN2R_SRC_SE_MASK                         0x2000
2114 #define MADERA_IN2R_SRC_SE_SHIFT                            13
2115 #define MADERA_IN2R_SRC_SE_WIDTH                             1
2116 #define MADERA_IN2R_LP_MODE                             0x0800
2117 #define MADERA_IN2R_LP_MODE_MASK                        0x0800
2118 #define MADERA_IN2R_LP_MODE_SHIFT                           11
2119 #define MADERA_IN2R_LP_MODE_WIDTH                            1
2120 #define MADERA_IN2R_MUTE                                0x0100
2121 #define MADERA_IN2R_MUTE_MASK                           0x0100
2122 #define MADERA_IN2R_MUTE_SHIFT                               8
2123 #define MADERA_IN2R_MUTE_WIDTH                               1
2124 #define MADERA_IN2R_DIG_VOL_MASK                        0x00FF
2125 #define MADERA_IN2R_DIG_VOL_SHIFT                            0
2126 #define MADERA_IN2R_DIG_VOL_WIDTH                            8
2127 
2128 /* (0x0320)  IN3L_Control */
2129 #define MADERA_IN3L_HPF_MASK                            0x8000
2130 #define MADERA_IN3L_HPF_SHIFT                               15
2131 #define MADERA_IN3L_HPF_WIDTH                                1
2132 #define MADERA_IN3_DMIC_SUP_MASK                        0x1800
2133 #define MADERA_IN3_DMIC_SUP_SHIFT                           11
2134 #define MADERA_IN3_DMIC_SUP_WIDTH                            2
2135 #define MADERA_IN3_MODE_MASK                            0x0400
2136 #define MADERA_IN3_MODE_SHIFT                               10
2137 #define MADERA_IN3_MODE_WIDTH                                1
2138 #define MADERA_IN3L_PGA_VOL_MASK                        0x00FE
2139 #define MADERA_IN3L_PGA_VOL_SHIFT                            1
2140 #define MADERA_IN3L_PGA_VOL_WIDTH                            7
2141 
2142 /* (0x0321)  ADC_Digital_Volume_3L */
2143 #define MADERA_IN3L_MUTE                                0x0100
2144 #define MADERA_IN3L_MUTE_MASK                           0x0100
2145 #define MADERA_IN3L_MUTE_SHIFT                               8
2146 #define MADERA_IN3L_MUTE_WIDTH                               1
2147 #define MADERA_IN3L_DIG_VOL_MASK                        0x00FF
2148 #define MADERA_IN3L_DIG_VOL_SHIFT                            0
2149 #define MADERA_IN3L_DIG_VOL_WIDTH                            8
2150 
2151 /* (0x0322)  DMIC3L_Control */
2152 #define MADERA_IN3_OSR_MASK                             0x0700
2153 #define MADERA_IN3_OSR_SHIFT                                 8
2154 #define MADERA_IN3_OSR_WIDTH                                 3
2155 
2156 /* (0x0324)  IN3R_Control */
2157 #define MADERA_IN3R_HPF_MASK                            0x8000
2158 #define MADERA_IN3R_HPF_SHIFT                               15
2159 #define MADERA_IN3R_HPF_WIDTH                                1
2160 #define MADERA_IN3R_PGA_VOL_MASK                        0x00FE
2161 #define MADERA_IN3R_PGA_VOL_SHIFT                            1
2162 #define MADERA_IN3R_PGA_VOL_WIDTH                            7
2163 #define MADERA_IN3_DMICCLK_SRC_MASK                     0x1800
2164 #define MADERA_IN3_DMICCLK_SRC_SHIFT                        11
2165 #define MADERA_IN3_DMICCLK_SRC_WIDTH                         2
2166 
2167 /* (0x0325)  ADC_Digital_Volume_3R */
2168 #define MADERA_IN3R_MUTE                                0x0100
2169 #define MADERA_IN3R_MUTE_MASK                           0x0100
2170 #define MADERA_IN3R_MUTE_SHIFT                               8
2171 #define MADERA_IN3R_MUTE_WIDTH                               1
2172 #define MADERA_IN3R_DIG_VOL_MASK                        0x00FF
2173 #define MADERA_IN3R_DIG_VOL_SHIFT                            0
2174 #define MADERA_IN3R_DIG_VOL_WIDTH                            8
2175 
2176 /* (0x0328)  IN4L_Control */
2177 #define MADERA_IN4L_HPF_MASK                            0x8000
2178 #define MADERA_IN4L_HPF_SHIFT                               15
2179 #define MADERA_IN4L_HPF_WIDTH                                1
2180 #define MADERA_IN4_DMIC_SUP_MASK                        0x1800
2181 #define MADERA_IN4_DMIC_SUP_SHIFT                           11
2182 #define MADERA_IN4_DMIC_SUP_WIDTH                            2
2183 
2184 /* (0x0329)  ADC_Digital_Volume_4L */
2185 #define MADERA_IN4L_MUTE                                0x0100
2186 #define MADERA_IN4L_MUTE_MASK                           0x0100
2187 #define MADERA_IN4L_MUTE_SHIFT                               8
2188 #define MADERA_IN4L_MUTE_WIDTH                               1
2189 #define MADERA_IN4L_DIG_VOL_MASK                        0x00FF
2190 #define MADERA_IN4L_DIG_VOL_SHIFT                            0
2191 #define MADERA_IN4L_DIG_VOL_WIDTH                            8
2192 
2193 /* (0x032A)  DMIC4L_Control */
2194 #define MADERA_IN4_OSR_MASK                             0x0700
2195 #define MADERA_IN4_OSR_SHIFT                                 8
2196 #define MADERA_IN4_OSR_WIDTH                                 3
2197 
2198 /* (0x032C)  IN4R_Control */
2199 #define MADERA_IN4R_HPF_MASK                            0x8000
2200 #define MADERA_IN4R_HPF_SHIFT                               15
2201 #define MADERA_IN4R_HPF_WIDTH                                1
2202 #define MADERA_IN4_DMICCLK_SRC_MASK                     0x1800
2203 #define MADERA_IN4_DMICCLK_SRC_SHIFT                        11
2204 #define MADERA_IN4_DMICCLK_SRC_WIDTH                         2
2205 
2206 /* (0x032D)  ADC_Digital_Volume_4R */
2207 #define MADERA_IN4R_MUTE                                0x0100
2208 #define MADERA_IN4R_MUTE_MASK                           0x0100
2209 #define MADERA_IN4R_MUTE_SHIFT                               8
2210 #define MADERA_IN4R_MUTE_WIDTH                               1
2211 #define MADERA_IN4R_DIG_VOL_MASK                        0x00FF
2212 #define MADERA_IN4R_DIG_VOL_SHIFT                            0
2213 #define MADERA_IN4R_DIG_VOL_WIDTH                            8
2214 
2215 /* (0x0330)  IN5L_Control */
2216 #define MADERA_IN5L_HPF_MASK                            0x8000
2217 #define MADERA_IN5L_HPF_SHIFT                               15
2218 #define MADERA_IN5L_HPF_WIDTH                                1
2219 #define MADERA_IN5_DMIC_SUP_MASK                        0x1800
2220 #define MADERA_IN5_DMIC_SUP_SHIFT                           11
2221 #define MADERA_IN5_DMIC_SUP_WIDTH                            2
2222 
2223 /* (0x0331)  ADC_Digital_Volume_5L */
2224 #define MADERA_IN5L_MUTE                                0x0100
2225 #define MADERA_IN5L_MUTE_MASK                           0x0100
2226 #define MADERA_IN5L_MUTE_SHIFT                               8
2227 #define MADERA_IN5L_MUTE_WIDTH                               1
2228 #define MADERA_IN5L_DIG_VOL_MASK                        0x00FF
2229 #define MADERA_IN5L_DIG_VOL_SHIFT                            0
2230 #define MADERA_IN5L_DIG_VOL_WIDTH                            8
2231 
2232 /* (0x0332)  DMIC5L_Control */
2233 #define MADERA_IN5_OSR_MASK                             0x0700
2234 #define MADERA_IN5_OSR_SHIFT                                 8
2235 #define MADERA_IN5_OSR_WIDTH                                 3
2236 
2237 /* (0x0334)  IN5R_Control */
2238 #define MADERA_IN5R_HPF_MASK                            0x8000
2239 #define MADERA_IN5R_HPF_SHIFT                               15
2240 #define MADERA_IN5R_HPF_WIDTH                                1
2241 #define MADERA_IN5_DMICCLK_SRC_MASK                     0x1800
2242 #define MADERA_IN5_DMICCLK_SRC_SHIFT                        11
2243 #define MADERA_IN5_DMICCLK_SRC_WIDTH                         2
2244 
2245 /* (0x0335)  ADC_Digital_Volume_5R */
2246 #define MADERA_IN5R_MUTE                                0x0100
2247 #define MADERA_IN5R_MUTE_MASK                           0x0100
2248 #define MADERA_IN5R_MUTE_SHIFT                               8
2249 #define MADERA_IN5R_MUTE_WIDTH                               1
2250 #define MADERA_IN5R_DIG_VOL_MASK                        0x00FF
2251 #define MADERA_IN5R_DIG_VOL_SHIFT                            0
2252 #define MADERA_IN5R_DIG_VOL_WIDTH                            8
2253 
2254 /* (0x0338)  IN6L_Control */
2255 #define MADERA_IN6L_HPF_MASK                            0x8000
2256 #define MADERA_IN6L_HPF_SHIFT                               15
2257 #define MADERA_IN6L_HPF_WIDTH                                1
2258 #define MADERA_IN6_DMIC_SUP_MASK                        0x1800
2259 #define MADERA_IN6_DMIC_SUP_SHIFT                           11
2260 #define MADERA_IN6_DMIC_SUP_WIDTH                            2
2261 
2262 /* (0x0339)  ADC_Digital_Volume_6L */
2263 #define MADERA_IN6L_MUTE                                0x0100
2264 #define MADERA_IN6L_MUTE_MASK                           0x0100
2265 #define MADERA_IN6L_MUTE_SHIFT                               8
2266 #define MADERA_IN6L_MUTE_WIDTH                               1
2267 #define MADERA_IN6L_DIG_VOL_MASK                        0x00FF
2268 #define MADERA_IN6L_DIG_VOL_SHIFT                            0
2269 #define MADERA_IN6L_DIG_VOL_WIDTH                            8
2270 
2271 /* (0x033A)  DMIC6L_Control */
2272 #define MADERA_IN6_OSR_MASK                             0x0700
2273 #define MADERA_IN6_OSR_SHIFT                                 8
2274 #define MADERA_IN6_OSR_WIDTH                                 3
2275 
2276 /* (0x033C)  IN6R_Control */
2277 #define MADERA_IN6R_HPF_MASK                            0x8000
2278 #define MADERA_IN6R_HPF_SHIFT                               15
2279 #define MADERA_IN6R_HPF_WIDTH                                1
2280 
2281 /* (0x033D)  ADC_Digital_Volume_6R */
2282 #define MADERA_IN6R_MUTE                                0x0100
2283 #define MADERA_IN6R_MUTE_MASK                           0x0100
2284 #define MADERA_IN6R_MUTE_SHIFT                               8
2285 #define MADERA_IN6R_MUTE_WIDTH                               1
2286 #define MADERA_IN6R_DIG_VOL_MASK                        0x00FF
2287 #define MADERA_IN6R_DIG_VOL_SHIFT                            0
2288 #define MADERA_IN6R_DIG_VOL_WIDTH                            8
2289 
2290 /* (0x033E)  DMIC6R_Control */
2291 #define MADERA_IN6_DMICCLK_SRC_MASK                     0x1800
2292 #define MADERA_IN6_DMICCLK_SRC_SHIFT                        11
2293 #define MADERA_IN6_DMICCLK_SRC_WIDTH                         2
2294 
2295 /* (0x0400)  Output_Enables_1 */
2296 #define MADERA_EP_SEL                                   0x8000
2297 #define MADERA_EP_SEL_MASK                              0x8000
2298 #define MADERA_EP_SEL_SHIFT                                 15
2299 #define MADERA_EP_SEL_WIDTH                                  1
2300 #define MADERA_OUT6L_ENA                                0x0800
2301 #define MADERA_OUT6L_ENA_MASK                           0x0800
2302 #define MADERA_OUT6L_ENA_SHIFT                              11
2303 #define MADERA_OUT6L_ENA_WIDTH                               1
2304 #define MADERA_OUT6R_ENA                                0x0400
2305 #define MADERA_OUT6R_ENA_MASK                           0x0400
2306 #define MADERA_OUT6R_ENA_SHIFT                              10
2307 #define MADERA_OUT6R_ENA_WIDTH                               1
2308 #define MADERA_OUT5L_ENA                                0x0200
2309 #define MADERA_OUT5L_ENA_MASK                           0x0200
2310 #define MADERA_OUT5L_ENA_SHIFT                               9
2311 #define MADERA_OUT5L_ENA_WIDTH                               1
2312 #define MADERA_OUT5R_ENA                                0x0100
2313 #define MADERA_OUT5R_ENA_MASK                           0x0100
2314 #define MADERA_OUT5R_ENA_SHIFT                               8
2315 #define MADERA_OUT5R_ENA_WIDTH                               1
2316 #define MADERA_OUT4L_ENA                                0x0080
2317 #define MADERA_OUT4L_ENA_MASK                           0x0080
2318 #define MADERA_OUT4L_ENA_SHIFT                               7
2319 #define MADERA_OUT4L_ENA_WIDTH                               1
2320 #define MADERA_OUT4R_ENA                                0x0040
2321 #define MADERA_OUT4R_ENA_MASK                           0x0040
2322 #define MADERA_OUT4R_ENA_SHIFT                               6
2323 #define MADERA_OUT4R_ENA_WIDTH                               1
2324 #define MADERA_OUT3L_ENA                                0x0020
2325 #define MADERA_OUT3L_ENA_MASK                           0x0020
2326 #define MADERA_OUT3L_ENA_SHIFT                               5
2327 #define MADERA_OUT3L_ENA_WIDTH                               1
2328 #define MADERA_OUT3R_ENA                                0x0010
2329 #define MADERA_OUT3R_ENA_MASK                           0x0010
2330 #define MADERA_OUT3R_ENA_SHIFT                               4
2331 #define MADERA_OUT3R_ENA_WIDTH                               1
2332 #define MADERA_OUT2L_ENA                                0x0008
2333 #define MADERA_OUT2L_ENA_MASK                           0x0008
2334 #define MADERA_OUT2L_ENA_SHIFT                               3
2335 #define MADERA_OUT2L_ENA_WIDTH                               1
2336 #define MADERA_OUT2R_ENA                                0x0004
2337 #define MADERA_OUT2R_ENA_MASK                           0x0004
2338 #define MADERA_OUT2R_ENA_SHIFT                               2
2339 #define MADERA_OUT2R_ENA_WIDTH                               1
2340 #define MADERA_OUT1L_ENA                                0x0002
2341 #define MADERA_OUT1L_ENA_MASK                           0x0002
2342 #define MADERA_OUT1L_ENA_SHIFT                               1
2343 #define MADERA_OUT1L_ENA_WIDTH                               1
2344 #define MADERA_OUT1R_ENA                                0x0001
2345 #define MADERA_OUT1R_ENA_MASK                           0x0001
2346 #define MADERA_OUT1R_ENA_SHIFT                               0
2347 #define MADERA_OUT1R_ENA_WIDTH                               1
2348 
2349 /* (0x0408)  Output_Rate_1 */
2350 #define MADERA_CP_DAC_MODE_MASK                         0x0040
2351 #define MADERA_CP_DAC_MODE_SHIFT                             6
2352 #define MADERA_CP_DAC_MODE_WIDTH                             1
2353 #define MADERA_OUT_EXT_CLK_DIV_MASK                     0x0030
2354 #define MADERA_OUT_EXT_CLK_DIV_SHIFT                         4
2355 #define MADERA_OUT_EXT_CLK_DIV_WIDTH                         2
2356 #define MADERA_OUT_CLK_SRC_MASK                         0x0007
2357 #define MADERA_OUT_CLK_SRC_SHIFT                             0
2358 #define MADERA_OUT_CLK_SRC_WIDTH                             3
2359 
2360 /* (0x0409)  Output_Volume_Ramp */
2361 #define MADERA_OUT_VD_RAMP_MASK                         0x0070
2362 #define MADERA_OUT_VD_RAMP_SHIFT                             4
2363 #define MADERA_OUT_VD_RAMP_WIDTH                             3
2364 #define MADERA_OUT_VI_RAMP_MASK                         0x0007
2365 #define MADERA_OUT_VI_RAMP_SHIFT                             0
2366 #define MADERA_OUT_VI_RAMP_WIDTH                             3
2367 
2368 /* (0x0410)  Output_Path_Config_1L */
2369 #define MADERA_OUT1_MONO                                0x1000
2370 #define MADERA_OUT1_MONO_MASK                           0x1000
2371 #define MADERA_OUT1_MONO_SHIFT                              12
2372 #define MADERA_OUT1_MONO_WIDTH                               1
2373 #define MADERA_OUT1L_ANC_SRC_MASK                       0x0C00
2374 #define MADERA_OUT1L_ANC_SRC_SHIFT                          10
2375 #define MADERA_OUT1L_ANC_SRC_WIDTH                           2
2376 
2377 /* (0x0411)  DAC_Digital_Volume_1L */
2378 #define MADERA_OUT1L_VU                                 0x0200
2379 #define MADERA_OUT1L_VU_MASK                            0x0200
2380 #define MADERA_OUT1L_VU_SHIFT                                9
2381 #define MADERA_OUT1L_VU_WIDTH                                1
2382 #define MADERA_OUT1L_MUTE                               0x0100
2383 #define MADERA_OUT1L_MUTE_MASK                          0x0100
2384 #define MADERA_OUT1L_MUTE_SHIFT                              8
2385 #define MADERA_OUT1L_MUTE_WIDTH                              1
2386 #define MADERA_OUT1L_VOL_MASK                           0x00FF
2387 #define MADERA_OUT1L_VOL_SHIFT                               0
2388 #define MADERA_OUT1L_VOL_WIDTH                               8
2389 
2390 /* (0x0412)  Output_Path_Config_1 */
2391 #define MADERA_HP1_GND_SEL_MASK                         0x0007
2392 #define MADERA_HP1_GND_SEL_SHIFT                             0
2393 #define MADERA_HP1_GND_SEL_WIDTH                             3
2394 
2395 /* (0x0414)  Output_Path_Config_1R */
2396 #define MADERA_OUT1R_ANC_SRC_MASK                       0x0C00
2397 #define MADERA_OUT1R_ANC_SRC_SHIFT                          10
2398 #define MADERA_OUT1R_ANC_SRC_WIDTH                           2
2399 
2400 /* (0x0415)  DAC_Digital_Volume_1R */
2401 #define MADERA_OUT1R_MUTE                               0x0100
2402 #define MADERA_OUT1R_MUTE_MASK                          0x0100
2403 #define MADERA_OUT1R_MUTE_SHIFT                              8
2404 #define MADERA_OUT1R_MUTE_WIDTH                              1
2405 #define MADERA_OUT1R_VOL_MASK                           0x00FF
2406 #define MADERA_OUT1R_VOL_SHIFT                               0
2407 #define MADERA_OUT1R_VOL_WIDTH                               8
2408 
2409 /* (0x0418)  Output_Path_Config_2L */
2410 #define MADERA_OUT2L_ANC_SRC_MASK                       0x0C00
2411 #define MADERA_OUT2L_ANC_SRC_SHIFT                          10
2412 #define MADERA_OUT2L_ANC_SRC_WIDTH                           2
2413 
2414 /* (0x0419)  DAC_Digital_Volume_2L */
2415 #define MADERA_OUT2L_MUTE                               0x0100
2416 #define MADERA_OUT2L_MUTE_MASK                          0x0100
2417 #define MADERA_OUT2L_MUTE_SHIFT                              8
2418 #define MADERA_OUT2L_MUTE_WIDTH                              1
2419 #define MADERA_OUT2L_VOL_MASK                           0x00FF
2420 #define MADERA_OUT2L_VOL_SHIFT                               0
2421 #define MADERA_OUT2L_VOL_WIDTH                               8
2422 
2423 /* (0x041A)  Output_Path_Config_2 */
2424 #define MADERA_HP2_GND_SEL_MASK                         0x0007
2425 #define MADERA_HP2_GND_SEL_SHIFT                             0
2426 #define MADERA_HP2_GND_SEL_WIDTH                             3
2427 
2428 /* (0x041C)  Output_Path_Config_2R */
2429 #define MADERA_OUT2R_ANC_SRC_MASK                       0x0C00
2430 #define MADERA_OUT2R_ANC_SRC_SHIFT                          10
2431 #define MADERA_OUT2R_ANC_SRC_WIDTH                           2
2432 
2433 /* (0x041D)  DAC_Digital_Volume_2R */
2434 #define MADERA_OUT2R_MUTE                               0x0100
2435 #define MADERA_OUT2R_MUTE_MASK                          0x0100
2436 #define MADERA_OUT2R_MUTE_SHIFT                              8
2437 #define MADERA_OUT2R_MUTE_WIDTH                              1
2438 #define MADERA_OUT2R_VOL_MASK                           0x00FF
2439 #define MADERA_OUT2R_VOL_SHIFT                               0
2440 #define MADERA_OUT2R_VOL_WIDTH                               8
2441 
2442 /* (0x0420)  Output_Path_Config_3L */
2443 #define MADERA_OUT3L_ANC_SRC_MASK                       0x0C00
2444 #define MADERA_OUT3L_ANC_SRC_SHIFT                          10
2445 #define MADERA_OUT3L_ANC_SRC_WIDTH                           2
2446 
2447 /* (0x0421)  DAC_Digital_Volume_3L */
2448 #define MADERA_OUT3L_MUTE                               0x0100
2449 #define MADERA_OUT3L_MUTE_MASK                          0x0100
2450 #define MADERA_OUT3L_MUTE_SHIFT                              8
2451 #define MADERA_OUT3L_MUTE_WIDTH                              1
2452 #define MADERA_OUT3L_VOL_MASK                           0x00FF
2453 #define MADERA_OUT3L_VOL_SHIFT                               0
2454 #define MADERA_OUT3L_VOL_WIDTH                               8
2455 
2456 /* (0x0424)  Output_Path_Config_3R */
2457 #define MADERA_OUT3R_ANC_SRC_MASK                       0x0C00
2458 #define MADERA_OUT3R_ANC_SRC_SHIFT                          10
2459 #define MADERA_OUT3R_ANC_SRC_WIDTH                           2
2460 
2461 /* (0x0425)  DAC_Digital_Volume_3R */
2462 #define MADERA_OUT3R_MUTE                               0x0100
2463 #define MADERA_OUT3R_MUTE_MASK                          0x0100
2464 #define MADERA_OUT3R_MUTE_SHIFT                              8
2465 #define MADERA_OUT3R_MUTE_WIDTH                              1
2466 #define MADERA_OUT3R_VOL_MASK                           0x00FF
2467 #define MADERA_OUT3R_VOL_SHIFT                               0
2468 #define MADERA_OUT3R_VOL_WIDTH                               8
2469 
2470 /* (0x0428)  Output_Path_Config_4L */
2471 #define MADERA_OUT4L_ANC_SRC_MASK                       0x0C00
2472 #define MADERA_OUT4L_ANC_SRC_SHIFT                          10
2473 #define MADERA_OUT4L_ANC_SRC_WIDTH                           2
2474 
2475 /* (0x0429)  DAC_Digital_Volume_4L */
2476 #define MADERA_OUT4L_MUTE                               0x0100
2477 #define MADERA_OUT4L_MUTE_MASK                          0x0100
2478 #define MADERA_OUT4L_MUTE_SHIFT                              8
2479 #define MADERA_OUT4L_MUTE_WIDTH                              1
2480 #define MADERA_OUT4L_VOL_MASK                           0x00FF
2481 #define MADERA_OUT4L_VOL_SHIFT                               0
2482 #define MADERA_OUT4L_VOL_WIDTH                               8
2483 
2484 /* (0x042C)  Output_Path_Config_4R */
2485 #define MADERA_OUT4R_ANC_SRC_MASK                       0x0C00
2486 #define MADERA_OUT4R_ANC_SRC_SHIFT                          10
2487 #define MADERA_OUT4R_ANC_SRC_WIDTH                           2
2488 
2489 /* (0x042D)  DAC_Digital_Volume_4R */
2490 #define MADERA_OUT4R_MUTE                               0x0100
2491 #define MADERA_OUT4R_MUTE_MASK                          0x0100
2492 #define MADERA_OUT4R_MUTE_SHIFT                              8
2493 #define MADERA_OUT4R_MUTE_WIDTH                              1
2494 #define MADERA_OUT4R_VOL_MASK                           0x00FF
2495 #define MADERA_OUT4R_VOL_SHIFT                               0
2496 #define MADERA_OUT4R_VOL_WIDTH                               8
2497 
2498 /* (0x0430)  Output_Path_Config_5L */
2499 #define MADERA_OUT5_OSR                                 0x2000
2500 #define MADERA_OUT5_OSR_MASK                            0x2000
2501 #define MADERA_OUT5_OSR_SHIFT                               13
2502 #define MADERA_OUT5_OSR_WIDTH                                1
2503 #define MADERA_OUT5L_ANC_SRC_MASK                       0x0C00
2504 #define MADERA_OUT5L_ANC_SRC_SHIFT                          10
2505 #define MADERA_OUT5L_ANC_SRC_WIDTH                           2
2506 
2507 /* (0x0431)  DAC_Digital_Volume_5L */
2508 #define MADERA_OUT5L_MUTE                               0x0100
2509 #define MADERA_OUT5L_MUTE_MASK                          0x0100
2510 #define MADERA_OUT5L_MUTE_SHIFT                              8
2511 #define MADERA_OUT5L_MUTE_WIDTH                              1
2512 #define MADERA_OUT5L_VOL_MASK                           0x00FF
2513 #define MADERA_OUT5L_VOL_SHIFT                               0
2514 #define MADERA_OUT5L_VOL_WIDTH                               8
2515 
2516 /* (0x0434)  Output_Path_Config_5R */
2517 #define MADERA_OUT5R_ANC_SRC_MASK                       0x0C00
2518 #define MADERA_OUT5R_ANC_SRC_SHIFT                          10
2519 #define MADERA_OUT5R_ANC_SRC_WIDTH                           2
2520 
2521 /* (0x0435)  DAC_Digital_Volume_5R */
2522 #define MADERA_OUT5R_MUTE                               0x0100
2523 #define MADERA_OUT5R_MUTE_MASK                          0x0100
2524 #define MADERA_OUT5R_MUTE_SHIFT                              8
2525 #define MADERA_OUT5R_MUTE_WIDTH                              1
2526 #define MADERA_OUT5R_VOL_MASK                           0x00FF
2527 #define MADERA_OUT5R_VOL_SHIFT                               0
2528 #define MADERA_OUT5R_VOL_WIDTH                               8
2529 
2530 /* (0x0438)  Output_Path_Config_6L */
2531 #define MADERA_OUT6_OSR                                 0x2000
2532 #define MADERA_OUT6_OSR_MASK                            0x2000
2533 #define MADERA_OUT6_OSR_SHIFT                               13
2534 #define MADERA_OUT6_OSR_WIDTH                                1
2535 #define MADERA_OUT6L_ANC_SRC_MASK                       0x0C00
2536 #define MADERA_OUT6L_ANC_SRC_SHIFT                          10
2537 #define MADERA_OUT6L_ANC_SRC_WIDTH                           2
2538 
2539 /* (0x0439)  DAC_Digital_Volume_6L */
2540 #define MADERA_OUT6L_MUTE                               0x0100
2541 #define MADERA_OUT6L_MUTE_MASK                          0x0100
2542 #define MADERA_OUT6L_MUTE_SHIFT                              8
2543 #define MADERA_OUT6L_MUTE_WIDTH                              1
2544 #define MADERA_OUT6L_VOL_MASK                           0x00FF
2545 #define MADERA_OUT6L_VOL_SHIFT                               0
2546 #define MADERA_OUT6L_VOL_WIDTH                               8
2547 
2548 /* (0x043C)  Output_Path_Config_6R */
2549 #define MADERA_OUT6R_ANC_SRC_MASK                       0x0C00
2550 #define MADERA_OUT6R_ANC_SRC_SHIFT                          10
2551 #define MADERA_OUT6R_ANC_SRC_WIDTH                           2
2552 
2553 /* (0x043D)  DAC_Digital_Volume_6R */
2554 #define MADERA_OUT6R_MUTE                               0x0100
2555 #define MADERA_OUT6R_MUTE_MASK                          0x0100
2556 #define MADERA_OUT6R_MUTE_SHIFT                              8
2557 #define MADERA_OUT6R_MUTE_WIDTH                              1
2558 #define MADERA_OUT6R_VOL_MASK                           0x00FF
2559 #define MADERA_OUT6R_VOL_SHIFT                               0
2560 #define MADERA_OUT6R_VOL_WIDTH                               8
2561 
2562 /* (0x0450) - DAC AEC Control 1 */
2563 #define MADERA_AEC1_LOOPBACK_SRC_MASK                   0x003C
2564 #define MADERA_AEC1_LOOPBACK_SRC_SHIFT                       2
2565 #define MADERA_AEC1_LOOPBACK_SRC_WIDTH                       4
2566 #define MADERA_AEC1_ENA_STS                             0x0002
2567 #define MADERA_AEC1_ENA_STS_MASK                        0x0002
2568 #define MADERA_AEC1_ENA_STS_SHIFT                            1
2569 #define MADERA_AEC1_ENA_STS_WIDTH                            1
2570 #define MADERA_AEC1_LOOPBACK_ENA                        0x0001
2571 #define MADERA_AEC1_LOOPBACK_ENA_MASK                   0x0001
2572 #define MADERA_AEC1_LOOPBACK_ENA_SHIFT                       0
2573 #define MADERA_AEC1_LOOPBACK_ENA_WIDTH                       1
2574 
2575 /* (0x0451)  DAC_AEC_Control_2 */
2576 #define MADERA_AEC2_LOOPBACK_SRC_MASK                   0x003C
2577 #define MADERA_AEC2_LOOPBACK_SRC_SHIFT                       2
2578 #define MADERA_AEC2_LOOPBACK_SRC_WIDTH                       4
2579 #define MADERA_AEC2_ENA_STS                             0x0002
2580 #define MADERA_AEC2_ENA_STS_MASK                        0x0002
2581 #define MADERA_AEC2_ENA_STS_SHIFT                            1
2582 #define MADERA_AEC2_ENA_STS_WIDTH                            1
2583 #define MADERA_AEC2_LOOPBACK_ENA                        0x0001
2584 #define MADERA_AEC2_LOOPBACK_ENA_MASK                   0x0001
2585 #define MADERA_AEC2_LOOPBACK_ENA_SHIFT                       0
2586 #define MADERA_AEC2_LOOPBACK_ENA_WIDTH                       1
2587 
2588 /* (0x0458)  Noise_Gate_Control */
2589 #define MADERA_NGATE_HOLD_MASK                          0x0030
2590 #define MADERA_NGATE_HOLD_SHIFT                              4
2591 #define MADERA_NGATE_HOLD_WIDTH                              2
2592 #define MADERA_NGATE_THR_MASK                           0x000E
2593 #define MADERA_NGATE_THR_SHIFT                               1
2594 #define MADERA_NGATE_THR_WIDTH                               3
2595 #define MADERA_NGATE_ENA                                0x0001
2596 #define MADERA_NGATE_ENA_MASK                           0x0001
2597 #define MADERA_NGATE_ENA_SHIFT                               0
2598 #define MADERA_NGATE_ENA_WIDTH                               1
2599 
2600 /* (0x0490)  PDM_SPK1_CTRL_1 */
2601 #define MADERA_SPK1R_MUTE                               0x2000
2602 #define MADERA_SPK1R_MUTE_MASK                          0x2000
2603 #define MADERA_SPK1R_MUTE_SHIFT                             13
2604 #define MADERA_SPK1R_MUTE_WIDTH                              1
2605 #define MADERA_SPK1L_MUTE                               0x1000
2606 #define MADERA_SPK1L_MUTE_MASK                          0x1000
2607 #define MADERA_SPK1L_MUTE_SHIFT                             12
2608 #define MADERA_SPK1L_MUTE_WIDTH                              1
2609 #define MADERA_SPK1_MUTE_ENDIAN                         0x0100
2610 #define MADERA_SPK1_MUTE_ENDIAN_MASK                    0x0100
2611 #define MADERA_SPK1_MUTE_ENDIAN_SHIFT                        8
2612 #define MADERA_SPK1_MUTE_ENDIAN_WIDTH                        1
2613 #define MADERA_SPK1_MUTE_SEQ1_MASK                      0x00FF
2614 #define MADERA_SPK1_MUTE_SEQ1_SHIFT                          0
2615 #define MADERA_SPK1_MUTE_SEQ1_WIDTH                          8
2616 
2617 /* (0x0491)  PDM_SPK1_CTRL_2 */
2618 #define MADERA_SPK1_FMT                                 0x0001
2619 #define MADERA_SPK1_FMT_MASK                            0x0001
2620 #define MADERA_SPK1_FMT_SHIFT                                0
2621 #define MADERA_SPK1_FMT_WIDTH                                1
2622 
2623 /* (0x0492)  PDM_SPK2_CTRL_1 */
2624 #define MADERA_SPK2R_MUTE                               0x2000
2625 #define MADERA_SPK2R_MUTE_MASK                          0x2000
2626 #define MADERA_SPK2R_MUTE_SHIFT                             13
2627 #define MADERA_SPK2R_MUTE_WIDTH                              1
2628 #define MADERA_SPK2L_MUTE                               0x1000
2629 #define MADERA_SPK2L_MUTE_MASK                          0x1000
2630 #define MADERA_SPK2L_MUTE_SHIFT                             12
2631 #define MADERA_SPK2L_MUTE_WIDTH                              1
2632 
2633 /* (0x04A0) - HP1 Short Circuit Ctrl */
2634 #define MADERA_HP1_SC_ENA                               0x1000
2635 #define MADERA_HP1_SC_ENA_MASK                          0x1000
2636 #define MADERA_HP1_SC_ENA_SHIFT                             12
2637 #define MADERA_HP1_SC_ENA_WIDTH                              1
2638 
2639 /* (0x04A1) - HP2 Short Circuit Ctrl */
2640 #define MADERA_HP2_SC_ENA                               0x1000
2641 #define MADERA_HP2_SC_ENA_MASK                          0x1000
2642 #define MADERA_HP2_SC_ENA_SHIFT                             12
2643 #define MADERA_HP2_SC_ENA_WIDTH                              1
2644 
2645 /* (0x04A2) - HP3 Short Circuit Ctrl */
2646 #define MADERA_HP3_SC_ENA                               0x1000
2647 #define MADERA_HP3_SC_ENA_MASK                          0x1000
2648 #define MADERA_HP3_SC_ENA_SHIFT                             12
2649 #define MADERA_HP3_SC_ENA_WIDTH                              1
2650 
2651 /* (0x04A8) - HP_Test_Ctrl_5 */
2652 #define MADERA_HP1L_ONEFLT                              0x0100
2653 #define MADERA_HP1L_ONEFLT_MASK                         0x0100
2654 #define MADERA_HP1L_ONEFLT_SHIFT                             8
2655 #define MADERA_HP1L_ONEFLT_WIDTH                             1
2656 
2657 /* (0x04A9) - HP_Test_Ctrl_6 */
2658 #define MADERA_HP1R_ONEFLT                              0x0100
2659 #define MADERA_HP1R_ONEFLT_MASK                         0x0100
2660 #define MADERA_HP1R_ONEFLT_SHIFT                             8
2661 #define MADERA_HP1R_ONEFLT_WIDTH                             1
2662 
2663 /* (0x0500)  AIF1_BCLK_Ctrl */
2664 #define MADERA_AIF1_BCLK_INV                            0x0080
2665 #define MADERA_AIF1_BCLK_INV_MASK                       0x0080
2666 #define MADERA_AIF1_BCLK_INV_SHIFT                           7
2667 #define MADERA_AIF1_BCLK_INV_WIDTH                           1
2668 #define MADERA_AIF1_BCLK_MSTR                           0x0020
2669 #define MADERA_AIF1_BCLK_MSTR_MASK                      0x0020
2670 #define MADERA_AIF1_BCLK_MSTR_SHIFT                          5
2671 #define MADERA_AIF1_BCLK_MSTR_WIDTH                          1
2672 #define MADERA_AIF1_BCLK_FREQ_MASK                      0x001F
2673 #define MADERA_AIF1_BCLK_FREQ_SHIFT                          0
2674 #define MADERA_AIF1_BCLK_FREQ_WIDTH                          5
2675 
2676 /* (0x0501)  AIF1_Tx_Pin_Ctrl */
2677 #define MADERA_AIF1TX_LRCLK_SRC                         0x0008
2678 #define MADERA_AIF1TX_LRCLK_SRC_MASK                    0x0008
2679 #define MADERA_AIF1TX_LRCLK_SRC_SHIFT                        3
2680 #define MADERA_AIF1TX_LRCLK_SRC_WIDTH                        1
2681 #define MADERA_AIF1TX_LRCLK_INV                         0x0004
2682 #define MADERA_AIF1TX_LRCLK_INV_MASK                    0x0004
2683 #define MADERA_AIF1TX_LRCLK_INV_SHIFT                        2
2684 #define MADERA_AIF1TX_LRCLK_INV_WIDTH                        1
2685 #define MADERA_AIF1TX_LRCLK_MSTR                        0x0001
2686 #define MADERA_AIF1TX_LRCLK_MSTR_MASK                   0x0001
2687 #define MADERA_AIF1TX_LRCLK_MSTR_SHIFT                       0
2688 #define MADERA_AIF1TX_LRCLK_MSTR_WIDTH                       1
2689 
2690 /* (0x0502)  AIF1_Rx_Pin_Ctrl */
2691 #define MADERA_AIF1RX_LRCLK_INV                         0x0004
2692 #define MADERA_AIF1RX_LRCLK_INV_MASK                    0x0004
2693 #define MADERA_AIF1RX_LRCLK_INV_SHIFT                        2
2694 #define MADERA_AIF1RX_LRCLK_INV_WIDTH                        1
2695 #define MADERA_AIF1RX_LRCLK_FRC                         0x0002
2696 #define MADERA_AIF1RX_LRCLK_FRC_MASK                    0x0002
2697 #define MADERA_AIF1RX_LRCLK_FRC_SHIFT                        1
2698 #define MADERA_AIF1RX_LRCLK_FRC_WIDTH                        1
2699 #define MADERA_AIF1RX_LRCLK_MSTR                        0x0001
2700 #define MADERA_AIF1RX_LRCLK_MSTR_MASK                   0x0001
2701 #define MADERA_AIF1RX_LRCLK_MSTR_SHIFT                       0
2702 #define MADERA_AIF1RX_LRCLK_MSTR_WIDTH                       1
2703 
2704 /* (0x0503)  AIF1_Rate_Ctrl */
2705 #define MADERA_AIF1_RATE_MASK                           0xF800
2706 #define MADERA_AIF1_RATE_SHIFT                              11
2707 #define MADERA_AIF1_RATE_WIDTH                               5
2708 #define MADERA_AIF1_TRI                                 0x0040
2709 #define MADERA_AIF1_TRI_MASK                            0x0040
2710 #define MADERA_AIF1_TRI_SHIFT                                6
2711 #define MADERA_AIF1_TRI_WIDTH                                1
2712 
2713 /* (0x0504)  AIF1_Format */
2714 #define MADERA_AIF1_FMT_MASK                            0x0007
2715 #define MADERA_AIF1_FMT_SHIFT                                0
2716 #define MADERA_AIF1_FMT_WIDTH                                3
2717 
2718 /* (0x0506)  AIF1_Rx_BCLK_Rate */
2719 #define MADERA_AIF1RX_BCPF_MASK                         0x1FFF
2720 #define MADERA_AIF1RX_BCPF_SHIFT                             0
2721 #define MADERA_AIF1RX_BCPF_WIDTH                            13
2722 
2723 /* (0x0507)  AIF1_Frame_Ctrl_1 */
2724 #define MADERA_AIF1TX_WL_MASK                           0x3F00
2725 #define MADERA_AIF1TX_WL_SHIFT                               8
2726 #define MADERA_AIF1TX_WL_WIDTH                               6
2727 #define MADERA_AIF1TX_SLOT_LEN_MASK                     0x00FF
2728 #define MADERA_AIF1TX_SLOT_LEN_SHIFT                         0
2729 #define MADERA_AIF1TX_SLOT_LEN_WIDTH                         8
2730 
2731 /* (0x0508)  AIF1_Frame_Ctrl_2 */
2732 #define MADERA_AIF1RX_WL_MASK                           0x3F00
2733 #define MADERA_AIF1RX_WL_SHIFT                               8
2734 #define MADERA_AIF1RX_WL_WIDTH                               6
2735 #define MADERA_AIF1RX_SLOT_LEN_MASK                     0x00FF
2736 #define MADERA_AIF1RX_SLOT_LEN_SHIFT                         0
2737 #define MADERA_AIF1RX_SLOT_LEN_WIDTH                         8
2738 
2739 /* (0x0509)  AIF1_Frame_Ctrl_3 */
2740 #define MADERA_AIF1TX1_SLOT_MASK                        0x003F
2741 #define MADERA_AIF1TX1_SLOT_SHIFT                            0
2742 #define MADERA_AIF1TX1_SLOT_WIDTH                            6
2743 
2744 /* (0x0519)  AIF1_Tx_Enables */
2745 #define MADERA_AIF1TX8_ENA                              0x0080
2746 #define MADERA_AIF1TX8_ENA_MASK                         0x0080
2747 #define MADERA_AIF1TX8_ENA_SHIFT                             7
2748 #define MADERA_AIF1TX8_ENA_WIDTH                             1
2749 #define MADERA_AIF1TX7_ENA                              0x0040
2750 #define MADERA_AIF1TX7_ENA_MASK                         0x0040
2751 #define MADERA_AIF1TX7_ENA_SHIFT                             6
2752 #define MADERA_AIF1TX7_ENA_WIDTH                             1
2753 #define MADERA_AIF1TX6_ENA                              0x0020
2754 #define MADERA_AIF1TX6_ENA_MASK                         0x0020
2755 #define MADERA_AIF1TX6_ENA_SHIFT                             5
2756 #define MADERA_AIF1TX6_ENA_WIDTH                             1
2757 #define MADERA_AIF1TX5_ENA                              0x0010
2758 #define MADERA_AIF1TX5_ENA_MASK                         0x0010
2759 #define MADERA_AIF1TX5_ENA_SHIFT                             4
2760 #define MADERA_AIF1TX5_ENA_WIDTH                             1
2761 #define MADERA_AIF1TX4_ENA                              0x0008
2762 #define MADERA_AIF1TX4_ENA_MASK                         0x0008
2763 #define MADERA_AIF1TX4_ENA_SHIFT                             3
2764 #define MADERA_AIF1TX4_ENA_WIDTH                             1
2765 #define MADERA_AIF1TX3_ENA                              0x0004
2766 #define MADERA_AIF1TX3_ENA_MASK                         0x0004
2767 #define MADERA_AIF1TX3_ENA_SHIFT                             2
2768 #define MADERA_AIF1TX3_ENA_WIDTH                             1
2769 #define MADERA_AIF1TX2_ENA                              0x0002
2770 #define MADERA_AIF1TX2_ENA_MASK                         0x0002
2771 #define MADERA_AIF1TX2_ENA_SHIFT                             1
2772 #define MADERA_AIF1TX2_ENA_WIDTH                             1
2773 #define MADERA_AIF1TX1_ENA                              0x0001
2774 #define MADERA_AIF1TX1_ENA_MASK                         0x0001
2775 #define MADERA_AIF1TX1_ENA_SHIFT                             0
2776 #define MADERA_AIF1TX1_ENA_WIDTH                             1
2777 
2778 /* (0x051A)  AIF1_Rx_Enables */
2779 #define MADERA_AIF1RX8_ENA                              0x0080
2780 #define MADERA_AIF1RX8_ENA_MASK                         0x0080
2781 #define MADERA_AIF1RX8_ENA_SHIFT                             7
2782 #define MADERA_AIF1RX8_ENA_WIDTH                             1
2783 #define MADERA_AIF1RX7_ENA                              0x0040
2784 #define MADERA_AIF1RX7_ENA_MASK                         0x0040
2785 #define MADERA_AIF1RX7_ENA_SHIFT                             6
2786 #define MADERA_AIF1RX7_ENA_WIDTH                             1
2787 #define MADERA_AIF1RX6_ENA                              0x0020
2788 #define MADERA_AIF1RX6_ENA_MASK                         0x0020
2789 #define MADERA_AIF1RX6_ENA_SHIFT                             5
2790 #define MADERA_AIF1RX6_ENA_WIDTH                             1
2791 #define MADERA_AIF1RX5_ENA                              0x0010
2792 #define MADERA_AIF1RX5_ENA_MASK                         0x0010
2793 #define MADERA_AIF1RX5_ENA_SHIFT                             4
2794 #define MADERA_AIF1RX5_ENA_WIDTH                             1
2795 #define MADERA_AIF1RX4_ENA                              0x0008
2796 #define MADERA_AIF1RX4_ENA_MASK                         0x0008
2797 #define MADERA_AIF1RX4_ENA_SHIFT                             3
2798 #define MADERA_AIF1RX4_ENA_WIDTH                             1
2799 #define MADERA_AIF1RX3_ENA                              0x0004
2800 #define MADERA_AIF1RX3_ENA_MASK                         0x0004
2801 #define MADERA_AIF1RX3_ENA_SHIFT                             2
2802 #define MADERA_AIF1RX3_ENA_WIDTH                             1
2803 #define MADERA_AIF1RX2_ENA                              0x0002
2804 #define MADERA_AIF1RX2_ENA_MASK                         0x0002
2805 #define MADERA_AIF1RX2_ENA_SHIFT                             1
2806 #define MADERA_AIF1RX2_ENA_WIDTH                             1
2807 #define MADERA_AIF1RX1_ENA                              0x0001
2808 #define MADERA_AIF1RX1_ENA_MASK                         0x0001
2809 #define MADERA_AIF1RX1_ENA_SHIFT                             0
2810 #define MADERA_AIF1RX1_ENA_WIDTH                             1
2811 
2812 /* (0x0559)  AIF2_Tx_Enables */
2813 #define MADERA_AIF2TX8_ENA                              0x0080
2814 #define MADERA_AIF2TX8_ENA_MASK                         0x0080
2815 #define MADERA_AIF2TX8_ENA_SHIFT                             7
2816 #define MADERA_AIF2TX8_ENA_WIDTH                             1
2817 #define MADERA_AIF2TX7_ENA                              0x0040
2818 #define MADERA_AIF2TX7_ENA_MASK                         0x0040
2819 #define MADERA_AIF2TX7_ENA_SHIFT                             6
2820 #define MADERA_AIF2TX7_ENA_WIDTH                             1
2821 #define MADERA_AIF2TX6_ENA                              0x0020
2822 #define MADERA_AIF2TX6_ENA_MASK                         0x0020
2823 #define MADERA_AIF2TX6_ENA_SHIFT                             5
2824 #define MADERA_AIF2TX6_ENA_WIDTH                             1
2825 #define MADERA_AIF2TX5_ENA                              0x0010
2826 #define MADERA_AIF2TX5_ENA_MASK                         0x0010
2827 #define MADERA_AIF2TX5_ENA_SHIFT                             4
2828 #define MADERA_AIF2TX5_ENA_WIDTH                             1
2829 #define MADERA_AIF2TX4_ENA                              0x0008
2830 #define MADERA_AIF2TX4_ENA_MASK                         0x0008
2831 #define MADERA_AIF2TX4_ENA_SHIFT                             3
2832 #define MADERA_AIF2TX4_ENA_WIDTH                             1
2833 #define MADERA_AIF2TX3_ENA                              0x0004
2834 #define MADERA_AIF2TX3_ENA_MASK                         0x0004
2835 #define MADERA_AIF2TX3_ENA_SHIFT                             2
2836 #define MADERA_AIF2TX3_ENA_WIDTH                             1
2837 #define MADERA_AIF2TX2_ENA                              0x0002
2838 #define MADERA_AIF2TX2_ENA_MASK                         0x0002
2839 #define MADERA_AIF2TX2_ENA_SHIFT                             1
2840 #define MADERA_AIF2TX2_ENA_WIDTH                             1
2841 #define MADERA_AIF2TX1_ENA                              0x0001
2842 #define MADERA_AIF2TX1_ENA_MASK                         0x0001
2843 #define MADERA_AIF2TX1_ENA_SHIFT                             0
2844 #define MADERA_AIF2TX1_ENA_WIDTH                             1
2845 
2846 /* (0x055A)  AIF2_Rx_Enables */
2847 #define MADERA_AIF2RX8_ENA                              0x0080
2848 #define MADERA_AIF2RX8_ENA_MASK                         0x0080
2849 #define MADERA_AIF2RX8_ENA_SHIFT                             7
2850 #define MADERA_AIF2RX8_ENA_WIDTH                             1
2851 #define MADERA_AIF2RX7_ENA                              0x0040
2852 #define MADERA_AIF2RX7_ENA_MASK                         0x0040
2853 #define MADERA_AIF2RX7_ENA_SHIFT                             6
2854 #define MADERA_AIF2RX7_ENA_WIDTH                             1
2855 #define MADERA_AIF2RX6_ENA                              0x0020
2856 #define MADERA_AIF2RX6_ENA_MASK                         0x0020
2857 #define MADERA_AIF2RX6_ENA_SHIFT                             5
2858 #define MADERA_AIF2RX6_ENA_WIDTH                             1
2859 #define MADERA_AIF2RX5_ENA                              0x0010
2860 #define MADERA_AIF2RX5_ENA_MASK                         0x0010
2861 #define MADERA_AIF2RX5_ENA_SHIFT                             4
2862 #define MADERA_AIF2RX5_ENA_WIDTH                             1
2863 #define MADERA_AIF2RX4_ENA                              0x0008
2864 #define MADERA_AIF2RX4_ENA_MASK                         0x0008
2865 #define MADERA_AIF2RX4_ENA_SHIFT                             3
2866 #define MADERA_AIF2RX4_ENA_WIDTH                             1
2867 #define MADERA_AIF2RX3_ENA                              0x0004
2868 #define MADERA_AIF2RX3_ENA_MASK                         0x0004
2869 #define MADERA_AIF2RX3_ENA_SHIFT                             2
2870 #define MADERA_AIF2RX3_ENA_WIDTH                             1
2871 #define MADERA_AIF2RX2_ENA                              0x0002
2872 #define MADERA_AIF2RX2_ENA_MASK                         0x0002
2873 #define MADERA_AIF2RX2_ENA_SHIFT                             1
2874 #define MADERA_AIF2RX2_ENA_WIDTH                             1
2875 #define MADERA_AIF2RX1_ENA                              0x0001
2876 #define MADERA_AIF2RX1_ENA_MASK                         0x0001
2877 #define MADERA_AIF2RX1_ENA_SHIFT                             0
2878 #define MADERA_AIF2RX1_ENA_WIDTH                             1
2879 
2880 /* (0x0599)  AIF3_Tx_Enables */
2881 #define MADERA_AIF3TX8_ENA                              0x0080
2882 #define MADERA_AIF3TX8_ENA_MASK                         0x0080
2883 #define MADERA_AIF3TX8_ENA_SHIFT                             7
2884 #define MADERA_AIF3TX8_ENA_WIDTH                             1
2885 #define MADERA_AIF3TX7_ENA                              0x0040
2886 #define MADERA_AIF3TX7_ENA_MASK                         0x0040
2887 #define MADERA_AIF3TX7_ENA_SHIFT                             6
2888 #define MADERA_AIF3TX7_ENA_WIDTH                             1
2889 #define MADERA_AIF3TX6_ENA                              0x0020
2890 #define MADERA_AIF3TX6_ENA_MASK                         0x0020
2891 #define MADERA_AIF3TX6_ENA_SHIFT                             5
2892 #define MADERA_AIF3TX6_ENA_WIDTH                             1
2893 #define MADERA_AIF3TX5_ENA                              0x0010
2894 #define MADERA_AIF3TX5_ENA_MASK                         0x0010
2895 #define MADERA_AIF3TX5_ENA_SHIFT                             4
2896 #define MADERA_AIF3TX5_ENA_WIDTH                             1
2897 #define MADERA_AIF3TX4_ENA                              0x0008
2898 #define MADERA_AIF3TX4_ENA_MASK                         0x0008
2899 #define MADERA_AIF3TX4_ENA_SHIFT                             3
2900 #define MADERA_AIF3TX4_ENA_WIDTH                             1
2901 #define MADERA_AIF3TX3_ENA                              0x0004
2902 #define MADERA_AIF3TX3_ENA_MASK                         0x0004
2903 #define MADERA_AIF3TX3_ENA_SHIFT                             2
2904 #define MADERA_AIF3TX3_ENA_WIDTH                             1
2905 #define MADERA_AIF3TX2_ENA                              0x0002
2906 #define MADERA_AIF3TX2_ENA_MASK                         0x0002
2907 #define MADERA_AIF3TX2_ENA_SHIFT                             1
2908 #define MADERA_AIF3TX2_ENA_WIDTH                             1
2909 #define MADERA_AIF3TX1_ENA                              0x0001
2910 #define MADERA_AIF3TX1_ENA_MASK                         0x0001
2911 #define MADERA_AIF3TX1_ENA_SHIFT                             0
2912 #define MADERA_AIF3TX1_ENA_WIDTH                             1
2913 
2914 /* (0x059A)  AIF3_Rx_Enables */
2915 #define MADERA_AIF3RX8_ENA                              0x0080
2916 #define MADERA_AIF3RX8_ENA_MASK                         0x0080
2917 #define MADERA_AIF3RX8_ENA_SHIFT                             7
2918 #define MADERA_AIF3RX8_ENA_WIDTH                             1
2919 #define MADERA_AIF3RX7_ENA                              0x0040
2920 #define MADERA_AIF3RX7_ENA_MASK                         0x0040
2921 #define MADERA_AIF3RX7_ENA_SHIFT                             6
2922 #define MADERA_AIF3RX7_ENA_WIDTH                             1
2923 #define MADERA_AIF3RX6_ENA                              0x0020
2924 #define MADERA_AIF3RX6_ENA_MASK                         0x0020
2925 #define MADERA_AIF3RX6_ENA_SHIFT                             5
2926 #define MADERA_AIF3RX6_ENA_WIDTH                             1
2927 #define MADERA_AIF3RX5_ENA                              0x0010
2928 #define MADERA_AIF3RX5_ENA_MASK                         0x0010
2929 #define MADERA_AIF3RX5_ENA_SHIFT                             4
2930 #define MADERA_AIF3RX5_ENA_WIDTH                             1
2931 #define MADERA_AIF3RX4_ENA                              0x0008
2932 #define MADERA_AIF3RX4_ENA_MASK                         0x0008
2933 #define MADERA_AIF3RX4_ENA_SHIFT                             3
2934 #define MADERA_AIF3RX4_ENA_WIDTH                             1
2935 #define MADERA_AIF3RX3_ENA                              0x0004
2936 #define MADERA_AIF3RX3_ENA_MASK                         0x0004
2937 #define MADERA_AIF3RX3_ENA_SHIFT                             2
2938 #define MADERA_AIF3RX3_ENA_WIDTH                             1
2939 #define MADERA_AIF3RX2_ENA                              0x0002
2940 #define MADERA_AIF3RX2_ENA_MASK                         0x0002
2941 #define MADERA_AIF3RX2_ENA_SHIFT                             1
2942 #define MADERA_AIF3RX2_ENA_WIDTH                             1
2943 #define MADERA_AIF3RX1_ENA                              0x0001
2944 #define MADERA_AIF3RX1_ENA_MASK                         0x0001
2945 #define MADERA_AIF3RX1_ENA_SHIFT                             0
2946 #define MADERA_AIF3RX1_ENA_WIDTH                             1
2947 
2948 /* (0x05B9)  AIF4_Tx_Enables */
2949 #define MADERA_AIF4TX2_ENA                              0x0002
2950 #define MADERA_AIF4TX2_ENA_MASK                         0x0002
2951 #define MADERA_AIF4TX2_ENA_SHIFT                             1
2952 #define MADERA_AIF4TX2_ENA_WIDTH                             1
2953 #define MADERA_AIF4TX1_ENA                              0x0001
2954 #define MADERA_AIF4TX1_ENA_MASK                         0x0001
2955 #define MADERA_AIF4TX1_ENA_SHIFT                             0
2956 #define MADERA_AIF4TX1_ENA_WIDTH                             1
2957 
2958 /* (0x05BA)  AIF4_Rx_Enables */
2959 #define MADERA_AIF4RX2_ENA                              0x0002
2960 #define MADERA_AIF4RX2_ENA_MASK                         0x0002
2961 #define MADERA_AIF4RX2_ENA_SHIFT                             1
2962 #define MADERA_AIF4RX2_ENA_WIDTH                             1
2963 #define MADERA_AIF4RX1_ENA                              0x0001
2964 #define MADERA_AIF4RX1_ENA_MASK                         0x0001
2965 #define MADERA_AIF4RX1_ENA_SHIFT                             0
2966 #define MADERA_AIF4RX1_ENA_WIDTH                             1
2967 
2968 /* (0x05C2)  SPD1_TX_Control */
2969 #define MADERA_SPD1_VAL2                                0x2000
2970 #define MADERA_SPD1_VAL2_MASK                           0x2000
2971 #define MADERA_SPD1_VAL2_SHIFT                              13
2972 #define MADERA_SPD1_VAL2_WIDTH                               1
2973 #define MADERA_SPD1_VAL1                                0x1000
2974 #define MADERA_SPD1_VAL1_MASK                           0x1000
2975 #define MADERA_SPD1_VAL1_SHIFT                              12
2976 #define MADERA_SPD1_VAL1_WIDTH                               1
2977 #define MADERA_SPD1_RATE_MASK                           0x00F0
2978 #define MADERA_SPD1_RATE_SHIFT                               4
2979 #define MADERA_SPD1_RATE_WIDTH                               4
2980 #define MADERA_SPD1_ENA                                 0x0001
2981 #define MADERA_SPD1_ENA_MASK                            0x0001
2982 #define MADERA_SPD1_ENA_SHIFT                                0
2983 #define MADERA_SPD1_ENA_WIDTH                                1
2984 
2985 /* (0x05F5)  SLIMbus_RX_Channel_Enable */
2986 #define MADERA_SLIMRX8_ENA                              0x0080
2987 #define MADERA_SLIMRX8_ENA_MASK                         0x0080
2988 #define MADERA_SLIMRX8_ENA_SHIFT                             7
2989 #define MADERA_SLIMRX8_ENA_WIDTH                             1
2990 #define MADERA_SLIMRX7_ENA                              0x0040
2991 #define MADERA_SLIMRX7_ENA_MASK                         0x0040
2992 #define MADERA_SLIMRX7_ENA_SHIFT                             6
2993 #define MADERA_SLIMRX7_ENA_WIDTH                             1
2994 #define MADERA_SLIMRX6_ENA                              0x0020
2995 #define MADERA_SLIMRX6_ENA_MASK                         0x0020
2996 #define MADERA_SLIMRX6_ENA_SHIFT                             5
2997 #define MADERA_SLIMRX6_ENA_WIDTH                             1
2998 #define MADERA_SLIMRX5_ENA                              0x0010
2999 #define MADERA_SLIMRX5_ENA_MASK                         0x0010
3000 #define MADERA_SLIMRX5_ENA_SHIFT                             4
3001 #define MADERA_SLIMRX5_ENA_WIDTH                             1
3002 #define MADERA_SLIMRX4_ENA                              0x0008
3003 #define MADERA_SLIMRX4_ENA_MASK                         0x0008
3004 #define MADERA_SLIMRX4_ENA_SHIFT                             3
3005 #define MADERA_SLIMRX4_ENA_WIDTH                             1
3006 #define MADERA_SLIMRX3_ENA                              0x0004
3007 #define MADERA_SLIMRX3_ENA_MASK                         0x0004
3008 #define MADERA_SLIMRX3_ENA_SHIFT                             2
3009 #define MADERA_SLIMRX3_ENA_WIDTH                             1
3010 #define MADERA_SLIMRX2_ENA                              0x0002
3011 #define MADERA_SLIMRX2_ENA_MASK                         0x0002
3012 #define MADERA_SLIMRX2_ENA_SHIFT                             1
3013 #define MADERA_SLIMRX2_ENA_WIDTH                             1
3014 #define MADERA_SLIMRX1_ENA                              0x0001
3015 #define MADERA_SLIMRX1_ENA_MASK                         0x0001
3016 #define MADERA_SLIMRX1_ENA_SHIFT                             0
3017 #define MADERA_SLIMRX1_ENA_WIDTH                             1
3018 
3019 /* (0x05F6)  SLIMbus_TX_Channel_Enable */
3020 #define MADERA_SLIMTX8_ENA                              0x0080
3021 #define MADERA_SLIMTX8_ENA_MASK                         0x0080
3022 #define MADERA_SLIMTX8_ENA_SHIFT                             7
3023 #define MADERA_SLIMTX8_ENA_WIDTH                             1
3024 #define MADERA_SLIMTX7_ENA                              0x0040
3025 #define MADERA_SLIMTX7_ENA_MASK                         0x0040
3026 #define MADERA_SLIMTX7_ENA_SHIFT                             6
3027 #define MADERA_SLIMTX7_ENA_WIDTH                             1
3028 #define MADERA_SLIMTX6_ENA                              0x0020
3029 #define MADERA_SLIMTX6_ENA_MASK                         0x0020
3030 #define MADERA_SLIMTX6_ENA_SHIFT                             5
3031 #define MADERA_SLIMTX6_ENA_WIDTH                             1
3032 #define MADERA_SLIMTX5_ENA                              0x0010
3033 #define MADERA_SLIMTX5_ENA_MASK                         0x0010
3034 #define MADERA_SLIMTX5_ENA_SHIFT                             4
3035 #define MADERA_SLIMTX5_ENA_WIDTH                             1
3036 #define MADERA_SLIMTX4_ENA                              0x0008
3037 #define MADERA_SLIMTX4_ENA_MASK                         0x0008
3038 #define MADERA_SLIMTX4_ENA_SHIFT                             3
3039 #define MADERA_SLIMTX4_ENA_WIDTH                             1
3040 #define MADERA_SLIMTX3_ENA                              0x0004
3041 #define MADERA_SLIMTX3_ENA_MASK                         0x0004
3042 #define MADERA_SLIMTX3_ENA_SHIFT                             2
3043 #define MADERA_SLIMTX3_ENA_WIDTH                             1
3044 #define MADERA_SLIMTX2_ENA                              0x0002
3045 #define MADERA_SLIMTX2_ENA_MASK                         0x0002
3046 #define MADERA_SLIMTX2_ENA_SHIFT                             1
3047 #define MADERA_SLIMTX2_ENA_WIDTH                             1
3048 #define MADERA_SLIMTX1_ENA                              0x0001
3049 #define MADERA_SLIMTX1_ENA_MASK                         0x0001
3050 #define MADERA_SLIMTX1_ENA_SHIFT                             0
3051 #define MADERA_SLIMTX1_ENA_WIDTH                             1
3052 
3053 /* (0x0E10)  EQ1_1 */
3054 #define MADERA_EQ1_B1_GAIN_MASK                         0xF800
3055 #define MADERA_EQ1_B1_GAIN_SHIFT                            11
3056 #define MADERA_EQ1_B1_GAIN_WIDTH                             5
3057 #define MADERA_EQ1_B2_GAIN_MASK                         0x07C0
3058 #define MADERA_EQ1_B2_GAIN_SHIFT                             6
3059 #define MADERA_EQ1_B2_GAIN_WIDTH                             5
3060 #define MADERA_EQ1_B3_GAIN_MASK                         0x003E
3061 #define MADERA_EQ1_B3_GAIN_SHIFT                             1
3062 #define MADERA_EQ1_B3_GAIN_WIDTH                             5
3063 #define MADERA_EQ1_ENA                                  0x0001
3064 #define MADERA_EQ1_ENA_MASK                             0x0001
3065 #define MADERA_EQ1_ENA_SHIFT                                 0
3066 #define MADERA_EQ1_ENA_WIDTH                                 1
3067 
3068 /* (0x0E11)  EQ1_2 */
3069 #define MADERA_EQ1_B4_GAIN_MASK                         0xF800
3070 #define MADERA_EQ1_B4_GAIN_SHIFT                            11
3071 #define MADERA_EQ1_B4_GAIN_WIDTH                             5
3072 #define MADERA_EQ1_B5_GAIN_MASK                         0x07C0
3073 #define MADERA_EQ1_B5_GAIN_SHIFT                             6
3074 #define MADERA_EQ1_B5_GAIN_WIDTH                             5
3075 #define MADERA_EQ1_B1_MODE                              0x0001
3076 #define MADERA_EQ1_B1_MODE_MASK                         0x0001
3077 #define MADERA_EQ1_B1_MODE_SHIFT                             0
3078 #define MADERA_EQ1_B1_MODE_WIDTH                             1
3079 
3080 /* (0x0E26)  EQ2_1 */
3081 #define MADERA_EQ2_B1_GAIN_MASK                         0xF800
3082 #define MADERA_EQ2_B1_GAIN_SHIFT                            11
3083 #define MADERA_EQ2_B1_GAIN_WIDTH                             5
3084 #define MADERA_EQ2_B2_GAIN_MASK                         0x07C0
3085 #define MADERA_EQ2_B2_GAIN_SHIFT                             6
3086 #define MADERA_EQ2_B2_GAIN_WIDTH                             5
3087 #define MADERA_EQ2_B3_GAIN_MASK                         0x003E
3088 #define MADERA_EQ2_B3_GAIN_SHIFT                             1
3089 #define MADERA_EQ2_B3_GAIN_WIDTH                             5
3090 #define MADERA_EQ2_ENA                                  0x0001
3091 #define MADERA_EQ2_ENA_MASK                             0x0001
3092 #define MADERA_EQ2_ENA_SHIFT                                 0
3093 #define MADERA_EQ2_ENA_WIDTH                                 1
3094 
3095 /* (0x0E27)  EQ2_2 */
3096 #define MADERA_EQ2_B4_GAIN_MASK                         0xF800
3097 #define MADERA_EQ2_B4_GAIN_SHIFT                            11
3098 #define MADERA_EQ2_B4_GAIN_WIDTH                             5
3099 #define MADERA_EQ2_B5_GAIN_MASK                         0x07C0
3100 #define MADERA_EQ2_B5_GAIN_SHIFT                             6
3101 #define MADERA_EQ2_B5_GAIN_WIDTH                             5
3102 #define MADERA_EQ2_B1_MODE                              0x0001
3103 #define MADERA_EQ2_B1_MODE_MASK                         0x0001
3104 #define MADERA_EQ2_B1_MODE_SHIFT                             0
3105 #define MADERA_EQ2_B1_MODE_WIDTH                             1
3106 
3107 /* (0x0E3C)  EQ3_1 */
3108 #define MADERA_EQ3_B1_GAIN_MASK                         0xF800
3109 #define MADERA_EQ3_B1_GAIN_SHIFT                            11
3110 #define MADERA_EQ3_B1_GAIN_WIDTH                             5
3111 #define MADERA_EQ3_B2_GAIN_MASK                         0x07C0
3112 #define MADERA_EQ3_B2_GAIN_SHIFT                             6
3113 #define MADERA_EQ3_B2_GAIN_WIDTH                             5
3114 #define MADERA_EQ3_B3_GAIN_MASK                         0x003E
3115 #define MADERA_EQ3_B3_GAIN_SHIFT                             1
3116 #define MADERA_EQ3_B3_GAIN_WIDTH                             5
3117 #define MADERA_EQ3_ENA                                  0x0001
3118 #define MADERA_EQ3_ENA_MASK                             0x0001
3119 #define MADERA_EQ3_ENA_SHIFT                                 0
3120 #define MADERA_EQ3_ENA_WIDTH                                 1
3121 
3122 /* (0x0E3D)  EQ3_2 */
3123 #define MADERA_EQ3_B4_GAIN_MASK                         0xF800
3124 #define MADERA_EQ3_B4_GAIN_SHIFT                            11
3125 #define MADERA_EQ3_B4_GAIN_WIDTH                             5
3126 #define MADERA_EQ3_B5_GAIN_MASK                         0x07C0
3127 #define MADERA_EQ3_B5_GAIN_SHIFT                             6
3128 #define MADERA_EQ3_B5_GAIN_WIDTH                             5
3129 #define MADERA_EQ3_B1_MODE                              0x0001
3130 #define MADERA_EQ3_B1_MODE_MASK                         0x0001
3131 #define MADERA_EQ3_B1_MODE_SHIFT                             0
3132 #define MADERA_EQ3_B1_MODE_WIDTH                             1
3133 
3134 /* (0x0E52)  EQ4_1 */
3135 #define MADERA_EQ4_B1_GAIN_MASK                         0xF800
3136 #define MADERA_EQ4_B1_GAIN_SHIFT                            11
3137 #define MADERA_EQ4_B1_GAIN_WIDTH                             5
3138 #define MADERA_EQ4_B2_GAIN_MASK                         0x07C0
3139 #define MADERA_EQ4_B2_GAIN_SHIFT                             6
3140 #define MADERA_EQ4_B2_GAIN_WIDTH                             5
3141 #define MADERA_EQ4_B3_GAIN_MASK                         0x003E
3142 #define MADERA_EQ4_B3_GAIN_SHIFT                             1
3143 #define MADERA_EQ4_B3_GAIN_WIDTH                             5
3144 #define MADERA_EQ4_ENA                                  0x0001
3145 #define MADERA_EQ4_ENA_MASK                             0x0001
3146 #define MADERA_EQ4_ENA_SHIFT                                 0
3147 #define MADERA_EQ4_ENA_WIDTH                                 1
3148 
3149 /* (0x0E53)  EQ4_2 */
3150 #define MADERA_EQ4_B4_GAIN_MASK                         0xF800
3151 #define MADERA_EQ4_B4_GAIN_SHIFT                            11
3152 #define MADERA_EQ4_B4_GAIN_WIDTH                             5
3153 #define MADERA_EQ4_B5_GAIN_MASK                         0x07C0
3154 #define MADERA_EQ4_B5_GAIN_SHIFT                             6
3155 #define MADERA_EQ4_B5_GAIN_WIDTH                             5
3156 #define MADERA_EQ4_B1_MODE                              0x0001
3157 #define MADERA_EQ4_B1_MODE_MASK                         0x0001
3158 #define MADERA_EQ4_B1_MODE_SHIFT                             0
3159 #define MADERA_EQ4_B1_MODE_WIDTH                             1
3160 
3161 /* (0x0E80)  DRC1_ctrl1 */
3162 #define MADERA_DRC1L_ENA                                0x0002
3163 #define MADERA_DRC1L_ENA_MASK                           0x0002
3164 #define MADERA_DRC1L_ENA_SHIFT                               1
3165 #define MADERA_DRC1L_ENA_WIDTH                               1
3166 #define MADERA_DRC1R_ENA                                0x0001
3167 #define MADERA_DRC1R_ENA_MASK                           0x0001
3168 #define MADERA_DRC1R_ENA_SHIFT                               0
3169 #define MADERA_DRC1R_ENA_WIDTH                               1
3170 
3171 /* (0x0E88)  DRC2_ctrl1 */
3172 #define MADERA_DRC2L_ENA                                0x0002
3173 #define MADERA_DRC2L_ENA_MASK                           0x0002
3174 #define MADERA_DRC2L_ENA_SHIFT                               1
3175 #define MADERA_DRC2L_ENA_WIDTH                               1
3176 #define MADERA_DRC2R_ENA                                0x0001
3177 #define MADERA_DRC2R_ENA_MASK                           0x0001
3178 #define MADERA_DRC2R_ENA_SHIFT                               0
3179 #define MADERA_DRC2R_ENA_WIDTH                               1
3180 
3181 /* (0x0EC0)  HPLPF1_1 */
3182 #define MADERA_LHPF1_MODE                               0x0002
3183 #define MADERA_LHPF1_MODE_MASK                          0x0002
3184 #define MADERA_LHPF1_MODE_SHIFT                              1
3185 #define MADERA_LHPF1_MODE_WIDTH                              1
3186 #define MADERA_LHPF1_ENA                                0x0001
3187 #define MADERA_LHPF1_ENA_MASK                           0x0001
3188 #define MADERA_LHPF1_ENA_SHIFT                               0
3189 #define MADERA_LHPF1_ENA_WIDTH                               1
3190 
3191 /* (0x0EC1)  HPLPF1_2 */
3192 #define MADERA_LHPF1_COEFF_MASK                         0xFFFF
3193 #define MADERA_LHPF1_COEFF_SHIFT                             0
3194 #define MADERA_LHPF1_COEFF_WIDTH                            16
3195 
3196 /* (0x0EC4)  HPLPF2_1 */
3197 #define MADERA_LHPF2_MODE                               0x0002
3198 #define MADERA_LHPF2_MODE_MASK                          0x0002
3199 #define MADERA_LHPF2_MODE_SHIFT                              1
3200 #define MADERA_LHPF2_MODE_WIDTH                              1
3201 #define MADERA_LHPF2_ENA                                0x0001
3202 #define MADERA_LHPF2_ENA_MASK                           0x0001
3203 #define MADERA_LHPF2_ENA_SHIFT                               0
3204 #define MADERA_LHPF2_ENA_WIDTH                               1
3205 
3206 /* (0x0EC5)  HPLPF2_2 */
3207 #define MADERA_LHPF2_COEFF_MASK                         0xFFFF
3208 #define MADERA_LHPF2_COEFF_SHIFT                             0
3209 #define MADERA_LHPF2_COEFF_WIDTH                            16
3210 
3211 /* (0x0EC8)  HPLPF3_1 */
3212 #define MADERA_LHPF3_MODE                               0x0002
3213 #define MADERA_LHPF3_MODE_MASK                          0x0002
3214 #define MADERA_LHPF3_MODE_SHIFT                              1
3215 #define MADERA_LHPF3_MODE_WIDTH                              1
3216 #define MADERA_LHPF3_ENA                                0x0001
3217 #define MADERA_LHPF3_ENA_MASK                           0x0001
3218 #define MADERA_LHPF3_ENA_SHIFT                               0
3219 #define MADERA_LHPF3_ENA_WIDTH                               1
3220 
3221 /* (0x0EC9)  HPLPF3_2 */
3222 #define MADERA_LHPF3_COEFF_MASK                         0xFFFF
3223 #define MADERA_LHPF3_COEFF_SHIFT                             0
3224 #define MADERA_LHPF3_COEFF_WIDTH                            16
3225 
3226 /* (0x0ECC)  HPLPF4_1 */
3227 #define MADERA_LHPF4_MODE                               0x0002
3228 #define MADERA_LHPF4_MODE_MASK                          0x0002
3229 #define MADERA_LHPF4_MODE_SHIFT                              1
3230 #define MADERA_LHPF4_MODE_WIDTH                              1
3231 #define MADERA_LHPF4_ENA                                0x0001
3232 #define MADERA_LHPF4_ENA_MASK                           0x0001
3233 #define MADERA_LHPF4_ENA_SHIFT                               0
3234 #define MADERA_LHPF4_ENA_WIDTH                               1
3235 
3236 /* (0x0ECD)  HPLPF4_2 */
3237 #define MADERA_LHPF4_COEFF_MASK                         0xFFFF
3238 #define MADERA_LHPF4_COEFF_SHIFT                             0
3239 #define MADERA_LHPF4_COEFF_WIDTH                            16
3240 
3241 /* (0x0ED0)  ASRC2_ENABLE */
3242 #define MADERA_ASRC2_IN2L_ENA                           0x0008
3243 #define MADERA_ASRC2_IN2L_ENA_MASK                      0x0008
3244 #define MADERA_ASRC2_IN2L_ENA_SHIFT                          3
3245 #define MADERA_ASRC2_IN2L_ENA_WIDTH                          1
3246 #define MADERA_ASRC2_IN2R_ENA                           0x0004
3247 #define MADERA_ASRC2_IN2R_ENA_MASK                      0x0004
3248 #define MADERA_ASRC2_IN2R_ENA_SHIFT                          2
3249 #define MADERA_ASRC2_IN2R_ENA_WIDTH                          1
3250 #define MADERA_ASRC2_IN1L_ENA                           0x0002
3251 #define MADERA_ASRC2_IN1L_ENA_MASK                      0x0002
3252 #define MADERA_ASRC2_IN1L_ENA_SHIFT                          1
3253 #define MADERA_ASRC2_IN1L_ENA_WIDTH                          1
3254 #define MADERA_ASRC2_IN1R_ENA                           0x0001
3255 #define MADERA_ASRC2_IN1R_ENA_MASK                      0x0001
3256 #define MADERA_ASRC2_IN1R_ENA_SHIFT                          0
3257 #define MADERA_ASRC2_IN1R_ENA_WIDTH                          1
3258 
3259 /* (0x0ED2)  ASRC2_RATE1 */
3260 #define MADERA_ASRC2_RATE1_MASK                         0xF800
3261 #define MADERA_ASRC2_RATE1_SHIFT                            11
3262 #define MADERA_ASRC2_RATE1_WIDTH                             5
3263 
3264 /* (0x0ED3)  ASRC2_RATE2 */
3265 #define MADERA_ASRC2_RATE2_MASK                         0xF800
3266 #define MADERA_ASRC2_RATE2_SHIFT                            11
3267 #define MADERA_ASRC2_RATE2_WIDTH                             5
3268 
3269 /* (0x0EE0)  ASRC1_ENABLE */
3270 #define MADERA_ASRC1_IN2L_ENA                           0x0008
3271 #define MADERA_ASRC1_IN2L_ENA_MASK                      0x0008
3272 #define MADERA_ASRC1_IN2L_ENA_SHIFT                          3
3273 #define MADERA_ASRC1_IN2L_ENA_WIDTH                          1
3274 #define MADERA_ASRC1_IN2R_ENA                           0x0004
3275 #define MADERA_ASRC1_IN2R_ENA_MASK                      0x0004
3276 #define MADERA_ASRC1_IN2R_ENA_SHIFT                          2
3277 #define MADERA_ASRC1_IN2R_ENA_WIDTH                          1
3278 #define MADERA_ASRC1_IN1L_ENA                           0x0002
3279 #define MADERA_ASRC1_IN1L_ENA_MASK                      0x0002
3280 #define MADERA_ASRC1_IN1L_ENA_SHIFT                          1
3281 #define MADERA_ASRC1_IN1L_ENA_WIDTH                          1
3282 #define MADERA_ASRC1_IN1R_ENA                           0x0001
3283 #define MADERA_ASRC1_IN1R_ENA_MASK                      0x0001
3284 #define MADERA_ASRC1_IN1R_ENA_SHIFT                          0
3285 #define MADERA_ASRC1_IN1R_ENA_WIDTH                          1
3286 
3287 /* (0x0EE2)  ASRC1_RATE1 */
3288 #define MADERA_ASRC1_RATE1_MASK                         0xF800
3289 #define MADERA_ASRC1_RATE1_SHIFT                            11
3290 #define MADERA_ASRC1_RATE1_WIDTH                             5
3291 
3292 /* (0x0EE3)  ASRC1_RATE2 */
3293 #define MADERA_ASRC1_RATE2_MASK                         0xF800
3294 #define MADERA_ASRC1_RATE2_SHIFT                            11
3295 #define MADERA_ASRC1_RATE2_WIDTH                             5
3296 
3297 /* (0x0EF0) - ISRC1 CTRL 1 */
3298 #define MADERA_ISRC1_FSH_MASK                           0xF800
3299 #define MADERA_ISRC1_FSH_SHIFT                              11
3300 #define MADERA_ISRC1_FSH_WIDTH                               5
3301 #define MADERA_ISRC1_CLK_SEL_MASK                       0x0700
3302 #define MADERA_ISRC1_CLK_SEL_SHIFT                           8
3303 #define MADERA_ISRC1_CLK_SEL_WIDTH                           3
3304 
3305 /* (0x0EF1)  ISRC1_CTRL_2 */
3306 #define MADERA_ISRC1_FSL_MASK                           0xF800
3307 #define MADERA_ISRC1_FSL_SHIFT                              11
3308 #define MADERA_ISRC1_FSL_WIDTH                               5
3309 
3310 /* (0x0EF2)  ISRC1_CTRL_3 */
3311 #define MADERA_ISRC1_INT1_ENA                           0x8000
3312 #define MADERA_ISRC1_INT1_ENA_MASK                      0x8000
3313 #define MADERA_ISRC1_INT1_ENA_SHIFT                         15
3314 #define MADERA_ISRC1_INT1_ENA_WIDTH                          1
3315 #define MADERA_ISRC1_INT2_ENA                           0x4000
3316 #define MADERA_ISRC1_INT2_ENA_MASK                      0x4000
3317 #define MADERA_ISRC1_INT2_ENA_SHIFT                         14
3318 #define MADERA_ISRC1_INT2_ENA_WIDTH                          1
3319 #define MADERA_ISRC1_INT3_ENA                           0x2000
3320 #define MADERA_ISRC1_INT3_ENA_MASK                      0x2000
3321 #define MADERA_ISRC1_INT3_ENA_SHIFT                         13
3322 #define MADERA_ISRC1_INT3_ENA_WIDTH                          1
3323 #define MADERA_ISRC1_INT4_ENA                           0x1000
3324 #define MADERA_ISRC1_INT4_ENA_MASK                      0x1000
3325 #define MADERA_ISRC1_INT4_ENA_SHIFT                         12
3326 #define MADERA_ISRC1_INT4_ENA_WIDTH                          1
3327 #define MADERA_ISRC1_DEC1_ENA                           0x0200
3328 #define MADERA_ISRC1_DEC1_ENA_MASK                      0x0200
3329 #define MADERA_ISRC1_DEC1_ENA_SHIFT                          9
3330 #define MADERA_ISRC1_DEC1_ENA_WIDTH                          1
3331 #define MADERA_ISRC1_DEC2_ENA                           0x0100
3332 #define MADERA_ISRC1_DEC2_ENA_MASK                      0x0100
3333 #define MADERA_ISRC1_DEC2_ENA_SHIFT                          8
3334 #define MADERA_ISRC1_DEC2_ENA_WIDTH                          1
3335 #define MADERA_ISRC1_DEC3_ENA                           0x0080
3336 #define MADERA_ISRC1_DEC3_ENA_MASK                      0x0080
3337 #define MADERA_ISRC1_DEC3_ENA_SHIFT                          7
3338 #define MADERA_ISRC1_DEC3_ENA_WIDTH                          1
3339 #define MADERA_ISRC1_DEC4_ENA                           0x0040
3340 #define MADERA_ISRC1_DEC4_ENA_MASK                      0x0040
3341 #define MADERA_ISRC1_DEC4_ENA_SHIFT                          6
3342 #define MADERA_ISRC1_DEC4_ENA_WIDTH                          1
3343 #define MADERA_ISRC1_NOTCH_ENA                          0x0001
3344 #define MADERA_ISRC1_NOTCH_ENA_MASK                     0x0001
3345 #define MADERA_ISRC1_NOTCH_ENA_SHIFT                         0
3346 #define MADERA_ISRC1_NOTCH_ENA_WIDTH                         1
3347 
3348 /* (0x0EF3)  ISRC2_CTRL_1 */
3349 #define MADERA_ISRC2_FSH_MASK                           0xF800
3350 #define MADERA_ISRC2_FSH_SHIFT                              11
3351 #define MADERA_ISRC2_FSH_WIDTH                               5
3352 #define MADERA_ISRC2_CLK_SEL_MASK                       0x0700
3353 #define MADERA_ISRC2_CLK_SEL_SHIFT                           8
3354 #define MADERA_ISRC2_CLK_SEL_WIDTH                           3
3355 
3356 /* (0x0EF4)  ISRC2_CTRL_2 */
3357 #define MADERA_ISRC2_FSL_MASK                           0xF800
3358 #define MADERA_ISRC2_FSL_SHIFT                              11
3359 #define MADERA_ISRC2_FSL_WIDTH                               5
3360 
3361 /* (0x0EF5)  ISRC2_CTRL_3 */
3362 #define MADERA_ISRC2_INT1_ENA                           0x8000
3363 #define MADERA_ISRC2_INT1_ENA_MASK                      0x8000
3364 #define MADERA_ISRC2_INT1_ENA_SHIFT                         15
3365 #define MADERA_ISRC2_INT1_ENA_WIDTH                          1
3366 #define MADERA_ISRC2_INT2_ENA                           0x4000
3367 #define MADERA_ISRC2_INT2_ENA_MASK                      0x4000
3368 #define MADERA_ISRC2_INT2_ENA_SHIFT                         14
3369 #define MADERA_ISRC2_INT2_ENA_WIDTH                          1
3370 #define MADERA_ISRC2_INT3_ENA                           0x2000
3371 #define MADERA_ISRC2_INT3_ENA_MASK                      0x2000
3372 #define MADERA_ISRC2_INT3_ENA_SHIFT                         13
3373 #define MADERA_ISRC2_INT3_ENA_WIDTH                          1
3374 #define MADERA_ISRC2_INT4_ENA                           0x1000
3375 #define MADERA_ISRC2_INT4_ENA_MASK                      0x1000
3376 #define MADERA_ISRC2_INT4_ENA_SHIFT                         12
3377 #define MADERA_ISRC2_INT4_ENA_WIDTH                          1
3378 #define MADERA_ISRC2_DEC1_ENA                           0x0200
3379 #define MADERA_ISRC2_DEC1_ENA_MASK                      0x0200
3380 #define MADERA_ISRC2_DEC1_ENA_SHIFT                          9
3381 #define MADERA_ISRC2_DEC1_ENA_WIDTH                          1
3382 #define MADERA_ISRC2_DEC2_ENA                           0x0100
3383 #define MADERA_ISRC2_DEC2_ENA_MASK                      0x0100
3384 #define MADERA_ISRC2_DEC2_ENA_SHIFT                          8
3385 #define MADERA_ISRC2_DEC2_ENA_WIDTH                          1
3386 #define MADERA_ISRC2_DEC3_ENA                           0x0080
3387 #define MADERA_ISRC2_DEC3_ENA_MASK                      0x0080
3388 #define MADERA_ISRC2_DEC3_ENA_SHIFT                          7
3389 #define MADERA_ISRC2_DEC3_ENA_WIDTH                          1
3390 #define MADERA_ISRC2_DEC4_ENA                           0x0040
3391 #define MADERA_ISRC2_DEC4_ENA_MASK                      0x0040
3392 #define MADERA_ISRC2_DEC4_ENA_SHIFT                          6
3393 #define MADERA_ISRC2_DEC4_ENA_WIDTH                          1
3394 #define MADERA_ISRC2_NOTCH_ENA                          0x0001
3395 #define MADERA_ISRC2_NOTCH_ENA_MASK                     0x0001
3396 #define MADERA_ISRC2_NOTCH_ENA_SHIFT                         0
3397 #define MADERA_ISRC2_NOTCH_ENA_WIDTH                         1
3398 
3399 /* (0x0EF6)  ISRC3_CTRL_1 */
3400 #define MADERA_ISRC3_FSH_MASK                           0xF800
3401 #define MADERA_ISRC3_FSH_SHIFT                              11
3402 #define MADERA_ISRC3_FSH_WIDTH                               5
3403 #define MADERA_ISRC3_CLK_SEL_MASK                       0x0700
3404 #define MADERA_ISRC3_CLK_SEL_SHIFT                           8
3405 #define MADERA_ISRC3_CLK_SEL_WIDTH                           3
3406 
3407 /* (0x0EF7)  ISRC3_CTRL_2 */
3408 #define MADERA_ISRC3_FSL_MASK                           0xF800
3409 #define MADERA_ISRC3_FSL_SHIFT                              11
3410 #define MADERA_ISRC3_FSL_WIDTH                               5
3411 
3412 /* (0x0EF8)  ISRC3_CTRL_3 */
3413 #define MADERA_ISRC3_INT1_ENA                           0x8000
3414 #define MADERA_ISRC3_INT1_ENA_MASK                      0x8000
3415 #define MADERA_ISRC3_INT1_ENA_SHIFT                         15
3416 #define MADERA_ISRC3_INT1_ENA_WIDTH                          1
3417 #define MADERA_ISRC3_INT2_ENA                           0x4000
3418 #define MADERA_ISRC3_INT2_ENA_MASK                      0x4000
3419 #define MADERA_ISRC3_INT2_ENA_SHIFT                         14
3420 #define MADERA_ISRC3_INT2_ENA_WIDTH                          1
3421 #define MADERA_ISRC3_INT3_ENA                           0x2000
3422 #define MADERA_ISRC3_INT3_ENA_MASK                      0x2000
3423 #define MADERA_ISRC3_INT3_ENA_SHIFT                         13
3424 #define MADERA_ISRC3_INT3_ENA_WIDTH                          1
3425 #define MADERA_ISRC3_INT4_ENA                           0x1000
3426 #define MADERA_ISRC3_INT4_ENA_MASK                      0x1000
3427 #define MADERA_ISRC3_INT4_ENA_SHIFT                         12
3428 #define MADERA_ISRC3_INT4_ENA_WIDTH                          1
3429 #define MADERA_ISRC3_DEC1_ENA                           0x0200
3430 #define MADERA_ISRC3_DEC1_ENA_MASK                      0x0200
3431 #define MADERA_ISRC3_DEC1_ENA_SHIFT                          9
3432 #define MADERA_ISRC3_DEC1_ENA_WIDTH                          1
3433 #define MADERA_ISRC3_DEC2_ENA                           0x0100
3434 #define MADERA_ISRC3_DEC2_ENA_MASK                      0x0100
3435 #define MADERA_ISRC3_DEC2_ENA_SHIFT                          8
3436 #define MADERA_ISRC3_DEC2_ENA_WIDTH                          1
3437 #define MADERA_ISRC3_DEC3_ENA                           0x0080
3438 #define MADERA_ISRC3_DEC3_ENA_MASK                      0x0080
3439 #define MADERA_ISRC3_DEC3_ENA_SHIFT                          7
3440 #define MADERA_ISRC3_DEC3_ENA_WIDTH                          1
3441 #define MADERA_ISRC3_DEC4_ENA                           0x0040
3442 #define MADERA_ISRC3_DEC4_ENA_MASK                      0x0040
3443 #define MADERA_ISRC3_DEC4_ENA_SHIFT                          6
3444 #define MADERA_ISRC3_DEC4_ENA_WIDTH                          1
3445 #define MADERA_ISRC3_NOTCH_ENA                          0x0001
3446 #define MADERA_ISRC3_NOTCH_ENA_MASK                     0x0001
3447 #define MADERA_ISRC3_NOTCH_ENA_SHIFT                         0
3448 #define MADERA_ISRC3_NOTCH_ENA_WIDTH                         1
3449 
3450 /* (0x0EF9)  ISRC4_CTRL_1 */
3451 #define MADERA_ISRC4_FSH_MASK                           0xF800
3452 #define MADERA_ISRC4_FSH_SHIFT                              11
3453 #define MADERA_ISRC4_FSH_WIDTH                               5
3454 #define MADERA_ISRC4_CLK_SEL_MASK                       0x0700
3455 #define MADERA_ISRC4_CLK_SEL_SHIFT                           8
3456 #define MADERA_ISRC4_CLK_SEL_WIDTH                           3
3457 
3458 /* (0x0EFA)  ISRC4_CTRL_2 */
3459 #define MADERA_ISRC4_FSL_MASK                           0xF800
3460 #define MADERA_ISRC4_FSL_SHIFT                              11
3461 #define MADERA_ISRC4_FSL_WIDTH                               5
3462 
3463 /* (0x0EFB)  ISRC4_CTRL_3 */
3464 #define MADERA_ISRC4_INT1_ENA                           0x8000
3465 #define MADERA_ISRC4_INT1_ENA_MASK                      0x8000
3466 #define MADERA_ISRC4_INT1_ENA_SHIFT                         15
3467 #define MADERA_ISRC4_INT1_ENA_WIDTH                          1
3468 #define MADERA_ISRC4_INT2_ENA                           0x4000
3469 #define MADERA_ISRC4_INT2_ENA_MASK                      0x4000
3470 #define MADERA_ISRC4_INT2_ENA_SHIFT                         14
3471 #define MADERA_ISRC4_INT2_ENA_WIDTH                          1
3472 #define MADERA_ISRC4_INT3_ENA                           0x2000
3473 #define MADERA_ISRC4_INT3_ENA_MASK                      0x2000
3474 #define MADERA_ISRC4_INT3_ENA_SHIFT                         13
3475 #define MADERA_ISRC4_INT3_ENA_WIDTH                          1
3476 #define MADERA_ISRC4_INT4_ENA                           0x1000
3477 #define MADERA_ISRC4_INT4_ENA_MASK                      0x1000
3478 #define MADERA_ISRC4_INT4_ENA_SHIFT                         12
3479 #define MADERA_ISRC4_INT4_ENA_WIDTH                          1
3480 #define MADERA_ISRC4_DEC1_ENA                           0x0200
3481 #define MADERA_ISRC4_DEC1_ENA_MASK                      0x0200
3482 #define MADERA_ISRC4_DEC1_ENA_SHIFT                          9
3483 #define MADERA_ISRC4_DEC1_ENA_WIDTH                          1
3484 #define MADERA_ISRC4_DEC2_ENA                           0x0100
3485 #define MADERA_ISRC4_DEC2_ENA_MASK                      0x0100
3486 #define MADERA_ISRC4_DEC2_ENA_SHIFT                          8
3487 #define MADERA_ISRC4_DEC2_ENA_WIDTH                          1
3488 #define MADERA_ISRC4_DEC3_ENA                           0x0080
3489 #define MADERA_ISRC4_DEC3_ENA_MASK                      0x0080
3490 #define MADERA_ISRC4_DEC3_ENA_SHIFT                          7
3491 #define MADERA_ISRC4_DEC3_ENA_WIDTH                          1
3492 #define MADERA_ISRC4_DEC4_ENA                           0x0040
3493 #define MADERA_ISRC4_DEC4_ENA_MASK                      0x0040
3494 #define MADERA_ISRC4_DEC4_ENA_SHIFT                          6
3495 #define MADERA_ISRC4_DEC4_ENA_WIDTH                          1
3496 #define MADERA_ISRC4_NOTCH_ENA                          0x0001
3497 #define MADERA_ISRC4_NOTCH_ENA_MASK                     0x0001
3498 #define MADERA_ISRC4_NOTCH_ENA_SHIFT                         0
3499 #define MADERA_ISRC4_NOTCH_ENA_WIDTH                         1
3500 
3501 /* (0x0F00)  Clock_Control */
3502 #define MADERA_EXT_NG_SEL_CLR                           0x0080
3503 #define MADERA_EXT_NG_SEL_CLR_MASK                      0x0080
3504 #define MADERA_EXT_NG_SEL_CLR_SHIFT                          7
3505 #define MADERA_EXT_NG_SEL_CLR_WIDTH                          1
3506 #define MADERA_EXT_NG_SEL_SET                           0x0040
3507 #define MADERA_EXT_NG_SEL_SET_MASK                      0x0040
3508 #define MADERA_EXT_NG_SEL_SET_SHIFT                          6
3509 #define MADERA_EXT_NG_SEL_SET_WIDTH                          1
3510 #define MADERA_CLK_R_ENA_CLR                            0x0020
3511 #define MADERA_CLK_R_ENA_CLR_MASK                       0x0020
3512 #define MADERA_CLK_R_ENA_CLR_SHIFT                           5
3513 #define MADERA_CLK_R_ENA_CLR_WIDTH                           1
3514 #define MADERA_CLK_R_ENA_SET                            0x0010
3515 #define MADERA_CLK_R_ENA_SET_MASK                       0x0010
3516 #define MADERA_CLK_R_ENA_SET_SHIFT                           4
3517 #define MADERA_CLK_R_ENA_SET_WIDTH                           1
3518 #define MADERA_CLK_NG_ENA_CLR                           0x0008
3519 #define MADERA_CLK_NG_ENA_CLR_MASK                      0x0008
3520 #define MADERA_CLK_NG_ENA_CLR_SHIFT                          3
3521 #define MADERA_CLK_NG_ENA_CLR_WIDTH                          1
3522 #define MADERA_CLK_NG_ENA_SET                           0x0004
3523 #define MADERA_CLK_NG_ENA_SET_MASK                      0x0004
3524 #define MADERA_CLK_NG_ENA_SET_SHIFT                          2
3525 #define MADERA_CLK_NG_ENA_SET_WIDTH                          1
3526 #define MADERA_CLK_L_ENA_CLR                            0x0002
3527 #define MADERA_CLK_L_ENA_CLR_MASK                       0x0002
3528 #define MADERA_CLK_L_ENA_CLR_SHIFT                           1
3529 #define MADERA_CLK_L_ENA_CLR_WIDTH                           1
3530 #define MADERA_CLK_L_ENA_SET                            0x0001
3531 #define MADERA_CLK_L_ENA_SET_MASK                       0x0001
3532 #define MADERA_CLK_L_ENA_SET_SHIFT                           0
3533 #define MADERA_CLK_L_ENA_SET_WIDTH                           1
3534 
3535 /* (0x0F01)  ANC_SRC */
3536 #define MADERA_IN_RXANCR_SEL_MASK                       0x0070
3537 #define MADERA_IN_RXANCR_SEL_SHIFT                           4
3538 #define MADERA_IN_RXANCR_SEL_WIDTH                           3
3539 #define MADERA_IN_RXANCL_SEL_MASK                       0x0007
3540 #define MADERA_IN_RXANCL_SEL_SHIFT                           0
3541 #define MADERA_IN_RXANCL_SEL_WIDTH                           3
3542 
3543 /* (0x0F17)  FCL_ADC_reformatter_control */
3544 #define MADERA_FCL_MIC_MODE_SEL                         0x000C
3545 #define MADERA_FCL_MIC_MODE_SEL_SHIFT                        2
3546 #define MADERA_FCL_MIC_MODE_SEL_WIDTH                        2
3547 
3548 /* (0x0F73)  FCR_ADC_reformatter_control */
3549 #define MADERA_FCR_MIC_MODE_SEL                         0x000C
3550 #define MADERA_FCR_MIC_MODE_SEL_SHIFT                        2
3551 #define MADERA_FCR_MIC_MODE_SEL_WIDTH                        2
3552 
3553 /* (0x10C0)  AUXPDM1_CTRL_0 */
3554 #define MADERA_AUXPDM1_SRC_MASK                         0x0F00
3555 #define MADERA_AUXPDM1_SRC_SHIFT                             8
3556 #define MADERA_AUXPDM1_SRC_WIDTH                             4
3557 #define MADERA_AUXPDM1_TXEDGE_MASK                      0x0010
3558 #define MADERA_AUXPDM1_TXEDGE_SHIFT                          4
3559 #define MADERA_AUXPDM1_TXEDGE_WIDTH                          1
3560 #define MADERA_AUXPDM1_MSTR_MASK                        0x0008
3561 #define MADERA_AUXPDM1_MSTR_SHIFT                            3
3562 #define MADERA_AUXPDM1_MSTR_WIDTH                            1
3563 #define MADERA_AUXPDM1_ENABLE_MASK                      0x0001
3564 #define MADERA_AUXPDM1_ENABLE_SHIFT                          0
3565 #define MADERA_AUXPDM1_ENABLE_WIDTH                          1
3566 
3567 /* (0x10C1)  AUXPDM1_CTRL_1 */
3568 #define MADERA_AUXPDM1_CLK_FREQ_MASK                    0xC000
3569 #define MADERA_AUXPDM1_CLK_FREQ_SHIFT                       14
3570 #define MADERA_AUXPDM1_CLK_FREQ_WIDTH                        2
3571 
3572 /* (0x1480)  DFC1_CTRL_W0 */
3573 #define MADERA_DFC1_RATE_MASK                           0x007C
3574 #define MADERA_DFC1_RATE_SHIFT                               2
3575 #define MADERA_DFC1_RATE_WIDTH                               5
3576 #define MADERA_DFC1_DITH_ENA                            0x0002
3577 #define MADERA_DFC1_DITH_ENA_MASK                       0x0002
3578 #define MADERA_DFC1_DITH_ENA_SHIFT                           1
3579 #define MADERA_DFC1_DITH_ENA_WIDTH                           1
3580 #define MADERA_DFC1_ENA                                 0x0001
3581 #define MADERA_DFC1_ENA_MASK                            0x0001
3582 #define MADERA_DFC1_ENA_SHIFT                                0
3583 #define MADERA_DFC1_ENA_WIDTH                                1
3584 
3585 /* (0x1482)  DFC1_RX_W0 */
3586 #define MADERA_DFC1_RX_DATA_WIDTH_MASK                  0x1F00
3587 #define MADERA_DFC1_RX_DATA_WIDTH_SHIFT                      8
3588 #define MADERA_DFC1_RX_DATA_WIDTH_WIDTH                      5
3589 
3590 #define MADERA_DFC1_RX_DATA_TYPE_MASK                   0x0007
3591 #define MADERA_DFC1_RX_DATA_TYPE_SHIFT                       0
3592 #define MADERA_DFC1_RX_DATA_TYPE_WIDTH                       3
3593 
3594 /* (0x1484)  DFC1_TX_W0 */
3595 #define MADERA_DFC1_TX_DATA_WIDTH_MASK                  0x1F00
3596 #define MADERA_DFC1_TX_DATA_WIDTH_SHIFT                      8
3597 #define MADERA_DFC1_TX_DATA_WIDTH_WIDTH                      5
3598 
3599 #define MADERA_DFC1_TX_DATA_TYPE_MASK                   0x0007
3600 #define MADERA_DFC1_TX_DATA_TYPE_SHIFT                       0
3601 #define MADERA_DFC1_TX_DATA_TYPE_WIDTH                       3
3602 
3603 /* (0x1600)  ADSP2_IRQ0 */
3604 #define MADERA_DSP_IRQ2                                 0x0002
3605 #define MADERA_DSP_IRQ1                                 0x0001
3606 
3607 /* (0x1601)  ADSP2_IRQ1 */
3608 #define MADERA_DSP_IRQ4                                 0x0002
3609 #define MADERA_DSP_IRQ3                                 0x0001
3610 
3611 /* (0x1602)  ADSP2_IRQ2 */
3612 #define MADERA_DSP_IRQ6                                 0x0002
3613 #define MADERA_DSP_IRQ5                                 0x0001
3614 
3615 /* (0x1603)  ADSP2_IRQ3 */
3616 #define MADERA_DSP_IRQ8                                 0x0002
3617 #define MADERA_DSP_IRQ7                                 0x0001
3618 
3619 /* (0x1604)  ADSP2_IRQ4 */
3620 #define MADERA_DSP_IRQ10                                0x0002
3621 #define MADERA_DSP_IRQ9                                 0x0001
3622 
3623 /* (0x1605)  ADSP2_IRQ5 */
3624 #define MADERA_DSP_IRQ12                                0x0002
3625 #define MADERA_DSP_IRQ11                                0x0001
3626 
3627 /* (0x1606)  ADSP2_IRQ6 */
3628 #define MADERA_DSP_IRQ14                                0x0002
3629 #define MADERA_DSP_IRQ13                                0x0001
3630 
3631 /* (0x1607)  ADSP2_IRQ7 */
3632 #define MADERA_DSP_IRQ16                                0x0002
3633 #define MADERA_DSP_IRQ15                                0x0001
3634 
3635 /* (0x1700)  GPIO1_CTRL_1 */
3636 #define MADERA_GP1_LVL                                  0x8000
3637 #define MADERA_GP1_LVL_MASK                             0x8000
3638 #define MADERA_GP1_LVL_SHIFT                                15
3639 #define MADERA_GP1_LVL_WIDTH                                 1
3640 #define MADERA_GP1_OP_CFG                               0x4000
3641 #define MADERA_GP1_OP_CFG_MASK                          0x4000
3642 #define MADERA_GP1_OP_CFG_SHIFT                             14
3643 #define MADERA_GP1_OP_CFG_WIDTH                              1
3644 #define MADERA_GP1_DB                                   0x2000
3645 #define MADERA_GP1_DB_MASK                              0x2000
3646 #define MADERA_GP1_DB_SHIFT                                 13
3647 #define MADERA_GP1_DB_WIDTH                                  1
3648 #define MADERA_GP1_POL                                  0x1000
3649 #define MADERA_GP1_POL_MASK                             0x1000
3650 #define MADERA_GP1_POL_SHIFT                                12
3651 #define MADERA_GP1_POL_WIDTH                                 1
3652 #define MADERA_GP1_IP_CFG                               0x0800
3653 #define MADERA_GP1_IP_CFG_MASK                          0x0800
3654 #define MADERA_GP1_IP_CFG_SHIFT                             11
3655 #define MADERA_GP1_IP_CFG_WIDTH                              1
3656 #define MADERA_GP1_FN_MASK                              0x03FF
3657 #define MADERA_GP1_FN_SHIFT                                  0
3658 #define MADERA_GP1_FN_WIDTH                                 10
3659 
3660 /* (0x1701)  GPIO1_CTRL_2 */
3661 #define MADERA_GP1_DIR                                  0x8000
3662 #define MADERA_GP1_DIR_MASK                             0x8000
3663 #define MADERA_GP1_DIR_SHIFT                                15
3664 #define MADERA_GP1_DIR_WIDTH                                 1
3665 #define MADERA_GP1_PU                                   0x4000
3666 #define MADERA_GP1_PU_MASK                              0x4000
3667 #define MADERA_GP1_PU_SHIFT                                 14
3668 #define MADERA_GP1_PU_WIDTH                                  1
3669 #define MADERA_GP1_PD                                   0x2000
3670 #define MADERA_GP1_PD_MASK                              0x2000
3671 #define MADERA_GP1_PD_SHIFT                                 13
3672 #define MADERA_GP1_PD_WIDTH                                  1
3673 #define MADERA_GP1_DRV_STR_MASK                         0x1800
3674 #define MADERA_GP1_DRV_STR_SHIFT                            11
3675 #define MADERA_GP1_DRV_STR_WIDTH                             2
3676 
3677 /* (0x1800)  IRQ1_Status_1 */
3678 #define MADERA_CTRLIF_ERR_EINT1                         0x1000
3679 #define MADERA_CTRLIF_ERR_EINT1_MASK                    0x1000
3680 #define MADERA_CTRLIF_ERR_EINT1_SHIFT                       12
3681 #define MADERA_CTRLIF_ERR_EINT1_WIDTH                        1
3682 #define MADERA_SYSCLK_FAIL_EINT1                        0x0200
3683 #define MADERA_SYSCLK_FAIL_EINT1_MASK                   0x0200
3684 #define MADERA_SYSCLK_FAIL_EINT1_SHIFT                       9
3685 #define MADERA_SYSCLK_FAIL_EINT1_WIDTH                       1
3686 #define MADERA_CLOCK_DETECT_EINT1                       0x0100
3687 #define MADERA_CLOCK_DETECT_EINT1_MASK                  0x0100
3688 #define MADERA_CLOCK_DETECT_EINT1_SHIFT                      8
3689 #define MADERA_CLOCK_DETECT_EINT1_WIDTH                      1
3690 #define MADERA_BOOT_DONE_EINT1                          0x0080
3691 #define MADERA_BOOT_DONE_EINT1_MASK                     0x0080
3692 #define MADERA_BOOT_DONE_EINT1_SHIFT                         7
3693 #define MADERA_BOOT_DONE_EINT1_WIDTH                         1
3694 
3695 /* (0x1801)  IRQ1_Status_2 */
3696 #define MADERA_FLLAO_LOCK_EINT1                         0x0800
3697 #define MADERA_FLLAO_LOCK_EINT1_MASK                    0x0800
3698 #define MADERA_FLLAO_LOCK_EINT1_SHIFT                       11
3699 #define MADERA_FLLAO_LOCK_EINT1_WIDTH                        1
3700 #define MADERA_FLL3_LOCK_EINT1                          0x0400
3701 #define MADERA_FLL3_LOCK_EINT1_MASK                     0x0400
3702 #define MADERA_FLL3_LOCK_EINT1_SHIFT                        10
3703 #define MADERA_FLL3_LOCK_EINT1_WIDTH                         1
3704 #define MADERA_FLL2_LOCK_EINT1                          0x0200
3705 #define MADERA_FLL2_LOCK_EINT1_MASK                     0x0200
3706 #define MADERA_FLL2_LOCK_EINT1_SHIFT                         9
3707 #define MADERA_FLL2_LOCK_EINT1_WIDTH                         1
3708 #define MADERA_FLL1_LOCK_EINT1                          0x0100
3709 #define MADERA_FLL1_LOCK_EINT1_MASK                     0x0100
3710 #define MADERA_FLL1_LOCK_EINT1_SHIFT                         8
3711 #define MADERA_FLL1_LOCK_EINT1_WIDTH                         1
3712 
3713 /* (0x1805)  IRQ1_Status_6 */
3714 #define MADERA_MICDET2_EINT1                            0x0200
3715 #define MADERA_MICDET2_EINT1_MASK                       0x0200
3716 #define MADERA_MICDET2_EINT1_SHIFT                           9
3717 #define MADERA_MICDET2_EINT1_WIDTH                           1
3718 #define MADERA_MICDET1_EINT1                            0x0100
3719 #define MADERA_MICDET1_EINT1_MASK                       0x0100
3720 #define MADERA_MICDET1_EINT1_SHIFT                           8
3721 #define MADERA_MICDET1_EINT1_WIDTH                           1
3722 #define MADERA_HPDET_EINT1                              0x0001
3723 #define MADERA_HPDET_EINT1_MASK                         0x0001
3724 #define MADERA_HPDET_EINT1_SHIFT                             0
3725 #define MADERA_HPDET_EINT1_WIDTH                             1
3726 
3727 /* (0x1806)  IRQ1_Status_7 */
3728 #define MADERA_MICD_CLAMP_FALL_EINT1                    0x0020
3729 #define MADERA_MICD_CLAMP_FALL_EINT1_MASK               0x0020
3730 #define MADERA_MICD_CLAMP_FALL_EINT1_SHIFT                   5
3731 #define MADERA_MICD_CLAMP_FALL_EINT1_WIDTH                   1
3732 #define MADERA_MICD_CLAMP_RISE_EINT1                    0x0010
3733 #define MADERA_MICD_CLAMP_RISE_EINT1_MASK               0x0010
3734 #define MADERA_MICD_CLAMP_RISE_EINT1_SHIFT                   4
3735 #define MADERA_MICD_CLAMP_RISE_EINT1_WIDTH                   1
3736 #define MADERA_JD2_FALL_EINT1                           0x0008
3737 #define MADERA_JD2_FALL_EINT1_MASK                      0x0008
3738 #define MADERA_JD2_FALL_EINT1_SHIFT                          3
3739 #define MADERA_JD2_FALL_EINT1_WIDTH                          1
3740 #define MADERA_JD2_RISE_EINT1                           0x0004
3741 #define MADERA_JD2_RISE_EINT1_MASK                      0x0004
3742 #define MADERA_JD2_RISE_EINT1_SHIFT                          2
3743 #define MADERA_JD2_RISE_EINT1_WIDTH                          1
3744 #define MADERA_JD1_FALL_EINT1                           0x0002
3745 #define MADERA_JD1_FALL_EINT1_MASK                      0x0002
3746 #define MADERA_JD1_FALL_EINT1_SHIFT                          1
3747 #define MADERA_JD1_FALL_EINT1_WIDTH                          1
3748 #define MADERA_JD1_RISE_EINT1                           0x0001
3749 #define MADERA_JD1_RISE_EINT1_MASK                      0x0001
3750 #define MADERA_JD1_RISE_EINT1_SHIFT                          0
3751 #define MADERA_JD1_RISE_EINT1_WIDTH                          1
3752 
3753 /* (0x1808)  IRQ1_Status_9 */
3754 #define MADERA_ASRC2_IN2_LOCK_EINT1                     0x0800
3755 #define MADERA_ASRC2_IN2_LOCK_EINT1_MASK                0x0800
3756 #define MADERA_ASRC2_IN2_LOCK_EINT1_SHIFT                   11
3757 #define MADERA_ASRC2_IN2_LOCK_EINT1_WIDTH                    1
3758 #define MADERA_ASRC2_IN1_LOCK_EINT1                     0x0400
3759 #define MADERA_ASRC2_IN1_LOCK_EINT1_MASK                0x0400
3760 #define MADERA_ASRC2_IN1_LOCK_EINT1_SHIFT                   10
3761 #define MADERA_ASRC2_IN1_LOCK_EINT1_WIDTH                    1
3762 #define MADERA_ASRC1_IN2_LOCK_EINT1                     0x0200
3763 #define MADERA_ASRC1_IN2_LOCK_EINT1_MASK                0x0200
3764 #define MADERA_ASRC1_IN2_LOCK_EINT1_SHIFT                    9
3765 #define MADERA_ASRC1_IN2_LOCK_EINT1_WIDTH                    1
3766 #define MADERA_ASRC1_IN1_LOCK_EINT1                     0x0100
3767 #define MADERA_ASRC1_IN1_LOCK_EINT1_MASK                0x0100
3768 #define MADERA_ASRC1_IN1_LOCK_EINT1_SHIFT                    8
3769 #define MADERA_ASRC1_IN1_LOCK_EINT1_WIDTH                    1
3770 #define MADERA_DRC2_SIG_DET_EINT1                       0x0002
3771 #define MADERA_DRC2_SIG_DET_EINT1_MASK                  0x0002
3772 #define MADERA_DRC2_SIG_DET_EINT1_SHIFT                      1
3773 #define MADERA_DRC2_SIG_DET_EINT1_WIDTH                      1
3774 #define MADERA_DRC1_SIG_DET_EINT1                       0x0001
3775 #define MADERA_DRC1_SIG_DET_EINT1_MASK                  0x0001
3776 #define MADERA_DRC1_SIG_DET_EINT1_SHIFT                      0
3777 #define MADERA_DRC1_SIG_DET_EINT1_WIDTH                      1
3778 
3779 /* (0x180A)  IRQ1_Status_11 */
3780 #define MADERA_DSP_IRQ16_EINT1                          0x8000
3781 #define MADERA_DSP_IRQ16_EINT1_MASK                     0x8000
3782 #define MADERA_DSP_IRQ16_EINT1_SHIFT                        15
3783 #define MADERA_DSP_IRQ16_EINT1_WIDTH                         1
3784 #define MADERA_DSP_IRQ15_EINT1                          0x4000
3785 #define MADERA_DSP_IRQ15_EINT1_MASK                     0x4000
3786 #define MADERA_DSP_IRQ15_EINT1_SHIFT                        14
3787 #define MADERA_DSP_IRQ15_EINT1_WIDTH                         1
3788 #define MADERA_DSP_IRQ14_EINT1                          0x2000
3789 #define MADERA_DSP_IRQ14_EINT1_MASK                     0x2000
3790 #define MADERA_DSP_IRQ14_EINT1_SHIFT                        13
3791 #define MADERA_DSP_IRQ14_EINT1_WIDTH                         1
3792 #define MADERA_DSP_IRQ13_EINT1                          0x1000
3793 #define MADERA_DSP_IRQ13_EINT1_MASK                     0x1000
3794 #define MADERA_DSP_IRQ13_EINT1_SHIFT                        12
3795 #define MADERA_DSP_IRQ13_EINT1_WIDTH                         1
3796 #define MADERA_DSP_IRQ12_EINT1                          0x0800
3797 #define MADERA_DSP_IRQ12_EINT1_MASK                     0x0800
3798 #define MADERA_DSP_IRQ12_EINT1_SHIFT                        11
3799 #define MADERA_DSP_IRQ12_EINT1_WIDTH                         1
3800 #define MADERA_DSP_IRQ11_EINT1                          0x0400
3801 #define MADERA_DSP_IRQ11_EINT1_MASK                     0x0400
3802 #define MADERA_DSP_IRQ11_EINT1_SHIFT                        10
3803 #define MADERA_DSP_IRQ11_EINT1_WIDTH                         1
3804 #define MADERA_DSP_IRQ10_EINT1                          0x0200
3805 #define MADERA_DSP_IRQ10_EINT1_MASK                     0x0200
3806 #define MADERA_DSP_IRQ10_EINT1_SHIFT                         9
3807 #define MADERA_DSP_IRQ10_EINT1_WIDTH                         1
3808 #define MADERA_DSP_IRQ9_EINT1                           0x0100
3809 #define MADERA_DSP_IRQ9_EINT1_MASK                      0x0100
3810 #define MADERA_DSP_IRQ9_EINT1_SHIFT                          8
3811 #define MADERA_DSP_IRQ9_EINT1_WIDTH                          1
3812 #define MADERA_DSP_IRQ8_EINT1                           0x0080
3813 #define MADERA_DSP_IRQ8_EINT1_MASK                      0x0080
3814 #define MADERA_DSP_IRQ8_EINT1_SHIFT                          7
3815 #define MADERA_DSP_IRQ8_EINT1_WIDTH                          1
3816 #define MADERA_DSP_IRQ7_EINT1                           0x0040
3817 #define MADERA_DSP_IRQ7_EINT1_MASK                      0x0040
3818 #define MADERA_DSP_IRQ7_EINT1_SHIFT                          6
3819 #define MADERA_DSP_IRQ7_EINT1_WIDTH                          1
3820 #define MADERA_DSP_IRQ6_EINT1                           0x0020
3821 #define MADERA_DSP_IRQ6_EINT1_MASK                      0x0020
3822 #define MADERA_DSP_IRQ6_EINT1_SHIFT                          5
3823 #define MADERA_DSP_IRQ6_EINT1_WIDTH                          1
3824 #define MADERA_DSP_IRQ5_EINT1                           0x0010
3825 #define MADERA_DSP_IRQ5_EINT1_MASK                      0x0010
3826 #define MADERA_DSP_IRQ5_EINT1_SHIFT                          4
3827 #define MADERA_DSP_IRQ5_EINT1_WIDTH                          1
3828 #define MADERA_DSP_IRQ4_EINT1                           0x0008
3829 #define MADERA_DSP_IRQ4_EINT1_MASK                      0x0008
3830 #define MADERA_DSP_IRQ4_EINT1_SHIFT                          3
3831 #define MADERA_DSP_IRQ4_EINT1_WIDTH                          1
3832 #define MADERA_DSP_IRQ3_EINT1                           0x0004
3833 #define MADERA_DSP_IRQ3_EINT1_MASK                      0x0004
3834 #define MADERA_DSP_IRQ3_EINT1_SHIFT                          2
3835 #define MADERA_DSP_IRQ3_EINT1_WIDTH                          1
3836 #define MADERA_DSP_IRQ2_EINT1                           0x0002
3837 #define MADERA_DSP_IRQ2_EINT1_MASK                      0x0002
3838 #define MADERA_DSP_IRQ2_EINT1_SHIFT                          1
3839 #define MADERA_DSP_IRQ2_EINT1_WIDTH                          1
3840 #define MADERA_DSP_IRQ1_EINT1                           0x0001
3841 #define MADERA_DSP_IRQ1_EINT1_MASK                      0x0001
3842 #define MADERA_DSP_IRQ1_EINT1_SHIFT                          0
3843 #define MADERA_DSP_IRQ1_EINT1_WIDTH                          1
3844 
3845 /* (0x180B)  IRQ1_Status_12 */
3846 #define MADERA_SPKOUTR_SC_EINT1                         0x0080
3847 #define MADERA_SPKOUTR_SC_EINT1_MASK                    0x0080
3848 #define MADERA_SPKOUTR_SC_EINT1_SHIFT                        7
3849 #define MADERA_SPKOUTR_SC_EINT1_WIDTH                        1
3850 #define MADERA_SPKOUTL_SC_EINT1                         0x0040
3851 #define MADERA_SPKOUTL_SC_EINT1_MASK                    0x0040
3852 #define MADERA_SPKOUTL_SC_EINT1_SHIFT                        6
3853 #define MADERA_SPKOUTL_SC_EINT1_WIDTH                        1
3854 #define MADERA_HP3R_SC_EINT1                            0x0020
3855 #define MADERA_HP3R_SC_EINT1_MASK                       0x0020
3856 #define MADERA_HP3R_SC_EINT1_SHIFT                           5
3857 #define MADERA_HP3R_SC_EINT1_WIDTH                           1
3858 #define MADERA_HP3L_SC_EINT1                            0x0010
3859 #define MADERA_HP3L_SC_EINT1_MASK                       0x0010
3860 #define MADERA_HP3L_SC_EINT1_SHIFT                           4
3861 #define MADERA_HP3L_SC_EINT1_WIDTH                           1
3862 #define MADERA_HP2R_SC_EINT1                            0x0008
3863 #define MADERA_HP2R_SC_EINT1_MASK                       0x0008
3864 #define MADERA_HP2R_SC_EINT1_SHIFT                           3
3865 #define MADERA_HP2R_SC_EINT1_WIDTH                           1
3866 #define MADERA_HP2L_SC_EINT1                            0x0004
3867 #define MADERA_HP2L_SC_EINT1_MASK                       0x0004
3868 #define MADERA_HP2L_SC_EINT1_SHIFT                           2
3869 #define MADERA_HP2L_SC_EINT1_WIDTH                           1
3870 #define MADERA_HP1R_SC_EINT1                            0x0002
3871 #define MADERA_HP1R_SC_EINT1_MASK                       0x0002
3872 #define MADERA_HP1R_SC_EINT1_SHIFT                           1
3873 #define MADERA_HP1R_SC_EINT1_WIDTH                           1
3874 #define MADERA_HP1L_SC_EINT1                            0x0001
3875 #define MADERA_HP1L_SC_EINT1_MASK                       0x0001
3876 #define MADERA_HP1L_SC_EINT1_SHIFT                           0
3877 #define MADERA_HP1L_SC_EINT1_WIDTH                           1
3878 
3879 /* (0x180E)  IRQ1_Status_15 */
3880 #define MADERA_SPK_OVERHEAT_WARN_EINT1                  0x0004
3881 #define MADERA_SPK_OVERHEAT_WARN_EINT1_MASK             0x0004
3882 #define MADERA_SPK_OVERHEAT_WARN_EINT1_SHIFT                 2
3883 #define MADERA_SPK_OVERHEAT_WARN_EINT1_WIDTH                 1
3884 #define MADERA_SPK_OVERHEAT_EINT1                       0x0002
3885 #define MADERA_SPK_OVERHEAT_EINT1_MASK                  0x0002
3886 #define MADERA_SPK_OVERHEAT_EINT1_SHIFT                      1
3887 #define MADERA_SPK_OVERHEAT_EINT1_WIDTH                      1
3888 #define MADERA_SPK_SHUTDOWN_EINT1                       0x0001
3889 #define MADERA_SPK_SHUTDOWN_EINT1_MASK                  0x0001
3890 #define MADERA_SPK_SHUTDOWN_EINT1_SHIFT                      0
3891 #define MADERA_SPK_SHUTDOWN_EINT1_WIDTH                      1
3892 
3893 /* (0x1820) - IRQ1 Status 33 */
3894 #define MADERA_DSP7_BUS_ERR_EINT1                       0x0040
3895 #define MADERA_DSP7_BUS_ERR_EINT1_MASK                  0x0040
3896 #define MADERA_DSP7_BUS_ERR_EINT1_SHIFT                      6
3897 #define MADERA_DSP7_BUS_ERR_EINT1_WIDTH                      1
3898 #define MADERA_DSP6_BUS_ERR_EINT1                       0x0020
3899 #define MADERA_DSP6_BUS_ERR_EINT1_MASK                  0x0020
3900 #define MADERA_DSP6_BUS_ERR_EINT1_SHIFT                      5
3901 #define MADERA_DSP6_BUS_ERR_EINT1_WIDTH                      1
3902 #define MADERA_DSP5_BUS_ERR_EINT1                       0x0010
3903 #define MADERA_DSP5_BUS_ERR_EINT1_MASK                  0x0010
3904 #define MADERA_DSP5_BUS_ERR_EINT1_SHIFT                      4
3905 #define MADERA_DSP5_BUS_ERR_EINT1_WIDTH                      1
3906 #define MADERA_DSP4_BUS_ERR_EINT1                       0x0008
3907 #define MADERA_DSP4_BUS_ERR_EINT1_MASK                  0x0008
3908 #define MADERA_DSP4_BUS_ERR_EINT1_SHIFT                      3
3909 #define MADERA_DSP4_BUS_ERR_EINT1_WIDTH                      1
3910 #define MADERA_DSP3_BUS_ERR_EINT1                       0x0004
3911 #define MADERA_DSP3_BUS_ERR_EINT1_MASK                  0x0004
3912 #define MADERA_DSP3_BUS_ERR_EINT1_SHIFT                      2
3913 #define MADERA_DSP3_BUS_ERR_EINT1_WIDTH                      1
3914 #define MADERA_DSP2_BUS_ERR_EINT1                       0x0002
3915 #define MADERA_DSP2_BUS_ERR_EINT1_MASK                  0x0002
3916 #define MADERA_DSP2_BUS_ERR_EINT1_SHIFT                      1
3917 #define MADERA_DSP2_BUS_ERR_EINT1_WIDTH                      1
3918 #define MADERA_DSP1_BUS_ERR_EINT1                       0x0001
3919 #define MADERA_DSP1_BUS_ERR_EINT1_MASK                  0x0001
3920 #define MADERA_DSP1_BUS_ERR_EINT1_SHIFT                      0
3921 #define MADERA_DSP1_BUS_ERR_EINT1_WIDTH                      1
3922 
3923 /* (0x1845)  IRQ1_Mask_6 */
3924 #define MADERA_IM_MICDET2_EINT1                         0x0200
3925 #define MADERA_IM_MICDET2_EINT1_MASK                    0x0200
3926 #define MADERA_IM_MICDET2_EINT1_SHIFT                        9
3927 #define MADERA_IM_MICDET2_EINT1_WIDTH                        1
3928 #define MADERA_IM_MICDET1_EINT1                         0x0100
3929 #define MADERA_IM_MICDET1_EINT1_MASK                    0x0100
3930 #define MADERA_IM_MICDET1_EINT1_SHIFT                        8
3931 #define MADERA_IM_MICDET1_EINT1_WIDTH                        1
3932 #define MADERA_IM_HPDET_EINT1                           0x0001
3933 #define MADERA_IM_HPDET_EINT1_MASK                      0x0001
3934 #define MADERA_IM_HPDET_EINT1_SHIFT                          0
3935 #define MADERA_IM_HPDET_EINT1_WIDTH                          1
3936 /* (0x184E)  IRQ1_Mask_15 */
3937 #define MADERA_IM_SPK_OVERHEAT_WARN_EINT1               0x0004
3938 #define MADERA_IM_SPK_OVERHEAT_WARN_EINT1_MASK          0x0004
3939 #define MADERA_IM_SPK_OVERHEAT_WARN_EINT1_SHIFT              2
3940 #define MADERA_IM_SPK_OVERHEAT_WARN_EINT1_WIDTH              1
3941 #define MADERA_IM_SPK_OVERHEAT_EINT1                    0x0002
3942 #define MADERA_IM_SPK_OVERHEAT_EINT1_MASK               0x0002
3943 #define MADERA_IM_SPK_OVERHEAT_EINT1_SHIFT                   1
3944 #define MADERA_IM_SPK_OVERHEAT_EINT1_WIDTH                   1
3945 #define MADERA_IM_SPK_SHUTDOWN_EINT1                    0x0001
3946 #define MADERA_IM_SPK_SHUTDOWN_EINT1_MASK               0x0001
3947 #define MADERA_IM_SPK_SHUTDOWN_EINT1_SHIFT                   0
3948 #define MADERA_IM_SPK_SHUTDOWN_EINT1_WIDTH                   1
3949 
3950 /* (0x1880) - IRQ1 Raw Status 1 */
3951 #define MADERA_CTRLIF_ERR_STS1                          0x1000
3952 #define MADERA_CTRLIF_ERR_STS1_MASK                     0x1000
3953 #define MADERA_CTRLIF_ERR_STS1_SHIFT                        12
3954 #define MADERA_CTRLIF_ERR_STS1_WIDTH                         1
3955 #define MADERA_SYSCLK_FAIL_STS1                         0x0200
3956 #define MADERA_SYSCLK_FAIL_STS1_MASK                    0x0200
3957 #define MADERA_SYSCLK_FAIL_STS1_SHIFT                        9
3958 #define MADERA_SYSCLK_FAIL_STS1_WIDTH                        1
3959 #define MADERA_CLOCK_DETECT_STS1                        0x0100
3960 #define MADERA_CLOCK_DETECT_STS1_MASK                   0x0100
3961 #define MADERA_CLOCK_DETECT_STS1_SHIFT                       8
3962 #define MADERA_CLOCK_DETECT_STS1_WIDTH                       1
3963 #define MADERA_BOOT_DONE_STS1                           0x0080
3964 #define MADERA_BOOT_DONE_STS1_MASK                      0x0080
3965 #define MADERA_BOOT_DONE_STS1_SHIFT                          7
3966 #define MADERA_BOOT_DONE_STS1_WIDTH                          1
3967 
3968 /* (0x1881) - IRQ1 Raw Status 2 */
3969 #define MADERA_FLL3_LOCK_STS1                           0x0400
3970 #define MADERA_FLL3_LOCK_STS1_MASK                      0x0400
3971 #define MADERA_FLL3_LOCK_STS1_SHIFT                         10
3972 #define MADERA_FLL3_LOCK_STS1_WIDTH                          1
3973 #define MADERA_FLL2_LOCK_STS1                           0x0200
3974 #define MADERA_FLL2_LOCK_STS1_MASK                      0x0200
3975 #define MADERA_FLL2_LOCK_STS1_SHIFT                          9
3976 #define MADERA_FLL2_LOCK_STS1_WIDTH                          1
3977 #define MADERA_FLL1_LOCK_STS1                           0x0100
3978 #define MADERA_FLL1_LOCK_STS1_MASK                      0x0100
3979 #define MADERA_FLL1_LOCK_STS1_SHIFT                          8
3980 #define MADERA_FLL1_LOCK_STS1_WIDTH                          1
3981 
3982 /* (0x1886) - IRQ1 Raw Status 7 */
3983 #define MADERA_MICD_CLAMP_FALL_STS1                     0x0020
3984 #define MADERA_MICD_CLAMP_FALL_STS1_MASK                0x0020
3985 #define MADERA_MICD_CLAMP_FALL_STS1_SHIFT                    5
3986 #define MADERA_MICD_CLAMP_FALL_STS1_WIDTH                    1
3987 #define MADERA_MICD_CLAMP_RISE_STS1                     0x0010
3988 #define MADERA_MICD_CLAMP_RISE_STS1_MASK                0x0010
3989 #define MADERA_MICD_CLAMP_RISE_STS1_SHIFT                    4
3990 #define MADERA_MICD_CLAMP_RISE_STS1_WIDTH                    1
3991 #define MADERA_JD2_FALL_STS1                            0x0008
3992 #define MADERA_JD2_FALL_STS1_MASK                       0x0008
3993 #define MADERA_JD2_FALL_STS1_SHIFT                           3
3994 #define MADERA_JD2_FALL_STS1_WIDTH                           1
3995 #define MADERA_JD2_RISE_STS1                            0x0004
3996 #define MADERA_JD2_RISE_STS1_MASK                       0x0004
3997 #define MADERA_JD2_RISE_STS1_SHIFT                           2
3998 #define MADERA_JD2_RISE_STS1_WIDTH                           1
3999 #define MADERA_JD1_FALL_STS1                            0x0002
4000 #define MADERA_JD1_FALL_STS1_MASK                       0x0002
4001 #define MADERA_JD1_FALL_STS1_SHIFT                           1
4002 #define MADERA_JD1_FALL_STS1_WIDTH                           1
4003 #define MADERA_JD1_RISE_STS1                            0x0001
4004 #define MADERA_JD1_RISE_STS1_MASK                       0x0001
4005 #define MADERA_JD1_RISE_STS1_SHIFT                           0
4006 #define MADERA_JD1_RISE_STS1_WIDTH                           1
4007 
4008 /* (0x188E) - IRQ1 Raw Status 15 */
4009 #define MADERA_SPK_OVERHEAT_WARN_STS1                   0x0004
4010 #define MADERA_SPK_OVERHEAT_WARN_STS1_MASK              0x0004
4011 #define MADERA_SPK_OVERHEAT_WARN_STS1_SHIFT                  2
4012 #define MADERA_SPK_OVERHEAT_WARN_STS1_WIDTH                  1
4013 #define MADERA_SPK_OVERHEAT_STS1                        0x0002
4014 #define MADERA_SPK_OVERHEAT_STS1_MASK                   0x0002
4015 #define MADERA_SPK_OVERHEAT_STS1_SHIFT                       1
4016 #define MADERA_SPK_OVERHEAT_STS1_WIDTH                       1
4017 #define MADERA_SPK_SHUTDOWN_STS1                        0x0001
4018 #define MADERA_SPK_SHUTDOWN_STS1_MASK                   0x0001
4019 #define MADERA_SPK_SHUTDOWN_STS1_SHIFT                       0
4020 #define MADERA_SPK_SHUTDOWN_STS1_WIDTH                       1
4021 
4022 /* (0x1A06)  Interrupt_Debounce_7 */
4023 #define MADERA_MICD_CLAMP_DB                            0x0010
4024 #define MADERA_MICD_CLAMP_DB_MASK                       0x0010
4025 #define MADERA_MICD_CLAMP_DB_SHIFT                           4
4026 #define MADERA_MICD_CLAMP_DB_WIDTH                           1
4027 #define MADERA_JD2_DB                                   0x0004
4028 #define MADERA_JD2_DB_MASK                              0x0004
4029 #define MADERA_JD2_DB_SHIFT                                  2
4030 #define MADERA_JD2_DB_WIDTH                                  1
4031 #define MADERA_JD1_DB                                   0x0001
4032 #define MADERA_JD1_DB_MASK                              0x0001
4033 #define MADERA_JD1_DB_SHIFT                                  0
4034 #define MADERA_JD1_DB_WIDTH                                  1
4035 
4036 /* (0x1A0E)  Interrupt_Debounce_15 */
4037 #define MADERA_SPK_OVERHEAT_WARN_DB                     0x0004
4038 #define MADERA_SPK_OVERHEAT_WARN_DB_MASK                0x0004
4039 #define MADERA_SPK_OVERHEAT_WARN_DB_SHIFT                    2
4040 #define MADERA_SPK_OVERHEAT_WARN_DB_WIDTH                    1
4041 #define MADERA_SPK_OVERHEAT_DB                          0x0002
4042 #define MADERA_SPK_OVERHEAT_DB_MASK                     0x0002
4043 #define MADERA_SPK_OVERHEAT_DB_SHIFT                         1
4044 #define MADERA_SPK_OVERHEAT_DB_WIDTH                         1
4045 
4046 /* (0x1A80)  IRQ1_CTRL */
4047 #define MADERA_IM_IRQ1                                  0x0800
4048 #define MADERA_IM_IRQ1_MASK                             0x0800
4049 #define MADERA_IM_IRQ1_SHIFT                                11
4050 #define MADERA_IM_IRQ1_WIDTH                                 1
4051 #define MADERA_IRQ_POL                                  0x0400
4052 #define MADERA_IRQ_POL_MASK                             0x0400
4053 #define MADERA_IRQ_POL_SHIFT                                10
4054 #define MADERA_IRQ_POL_WIDTH                                 1
4055 
4056 /* (0x20004)  OTP_HPDET_Cal_1 */
4057 #define MADERA_OTP_HPDET_CALIB_OFFSET_11            0xFF000000
4058 #define MADERA_OTP_HPDET_CALIB_OFFSET_11_MASK       0xFF000000
4059 #define MADERA_OTP_HPDET_CALIB_OFFSET_11_SHIFT              24
4060 #define MADERA_OTP_HPDET_CALIB_OFFSET_11_WIDTH               8
4061 #define MADERA_OTP_HPDET_CALIB_OFFSET_10            0x00FF0000
4062 #define MADERA_OTP_HPDET_CALIB_OFFSET_10_MASK       0x00FF0000
4063 #define MADERA_OTP_HPDET_CALIB_OFFSET_10_SHIFT              16
4064 #define MADERA_OTP_HPDET_CALIB_OFFSET_10_WIDTH               8
4065 #define MADERA_OTP_HPDET_CALIB_OFFSET_01            0x0000FF00
4066 #define MADERA_OTP_HPDET_CALIB_OFFSET_01_MASK       0x0000FF00
4067 #define MADERA_OTP_HPDET_CALIB_OFFSET_01_SHIFT               8
4068 #define MADERA_OTP_HPDET_CALIB_OFFSET_01_WIDTH               8
4069 #define MADERA_OTP_HPDET_CALIB_OFFSET_00            0x000000FF
4070 #define MADERA_OTP_HPDET_CALIB_OFFSET_00_MASK       0x000000FF
4071 #define MADERA_OTP_HPDET_CALIB_OFFSET_00_SHIFT               0
4072 #define MADERA_OTP_HPDET_CALIB_OFFSET_00_WIDTH               8
4073 
4074 /* (0x20006)  OTP_HPDET_Cal_2 */
4075 #define MADERA_OTP_HPDET_GRADIENT_1X                0x0000FF00
4076 #define MADERA_OTP_HPDET_GRADIENT_1X_MASK           0x0000FF00
4077 #define MADERA_OTP_HPDET_GRADIENT_1X_SHIFT                   8
4078 #define MADERA_OTP_HPDET_GRADIENT_1X_WIDTH                   8
4079 #define MADERA_OTP_HPDET_GRADIENT_0X                0x000000FF
4080 #define MADERA_OTP_HPDET_GRADIENT_0X_MASK           0x000000FF
4081 #define MADERA_OTP_HPDET_GRADIENT_0X_SHIFT                   0
4082 #define MADERA_OTP_HPDET_GRADIENT_0X_WIDTH                   8
4083 
4084 #endif

/* [<][>][^][v][top][bottom][index][help] */