1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* 3 * wm8400 private definitions for audio 4 * 5 * Copyright 2008 Wolfson Microelectronics plc 6 */ 7 8 #ifndef __LINUX_MFD_WM8400_AUDIO_H 9 #define __LINUX_MFD_WM8400_AUDIO_H 10 11 #include <linux/mfd/wm8400-audio.h> 12 13 /* 14 * R2 (0x02) - Power Management (1) 15 */ 16 #define WM8400_CODEC_ENA 17 #define WM8400_CODEC_ENA_MASK 18 #define WM8400_CODEC_ENA_SHIFT 19 #define WM8400_CODEC_ENA_WIDTH 20 #define WM8400_SYSCLK_ENA 21 #define WM8400_SYSCLK_ENA_MASK 22 #define WM8400_SYSCLK_ENA_SHIFT 23 #define WM8400_SYSCLK_ENA_WIDTH 24 #define WM8400_SPK_MIX_ENA 25 #define WM8400_SPK_MIX_ENA_MASK 26 #define WM8400_SPK_MIX_ENA_SHIFT 27 #define WM8400_SPK_MIX_ENA_WIDTH 28 #define WM8400_SPK_ENA 29 #define WM8400_SPK_ENA_MASK 30 #define WM8400_SPK_ENA_SHIFT 31 #define WM8400_SPK_ENA_WIDTH 32 #define WM8400_OUT3_ENA 33 #define WM8400_OUT3_ENA_MASK 34 #define WM8400_OUT3_ENA_SHIFT 35 #define WM8400_OUT3_ENA_WIDTH 36 #define WM8400_OUT4_ENA 37 #define WM8400_OUT4_ENA_MASK 38 #define WM8400_OUT4_ENA_SHIFT 39 #define WM8400_OUT4_ENA_WIDTH 40 #define WM8400_LOUT_ENA 41 #define WM8400_LOUT_ENA_MASK 42 #define WM8400_LOUT_ENA_SHIFT 43 #define WM8400_LOUT_ENA_WIDTH 44 #define WM8400_ROUT_ENA 45 #define WM8400_ROUT_ENA_MASK 46 #define WM8400_ROUT_ENA_SHIFT 47 #define WM8400_ROUT_ENA_WIDTH 48 #define WM8400_MIC1BIAS_ENA 49 #define WM8400_MIC1BIAS_ENA_MASK 50 #define WM8400_MIC1BIAS_ENA_SHIFT 51 #define WM8400_MIC1BIAS_ENA_WIDTH 52 #define WM8400_VMID_MODE_MASK 53 #define WM8400_VMID_MODE_SHIFT 54 #define WM8400_VMID_MODE_WIDTH 55 #define WM8400_VREF_ENA 56 #define WM8400_VREF_ENA_MASK 57 #define WM8400_VREF_ENA_SHIFT 58 #define WM8400_VREF_ENA_WIDTH 59 60 /* 61 * R3 (0x03) - Power Management (2) 62 */ 63 #define WM8400_FLL_ENA 64 #define WM8400_FLL_ENA_MASK 65 #define WM8400_FLL_ENA_SHIFT 66 #define WM8400_FLL_ENA_WIDTH 67 #define WM8400_TSHUT_ENA 68 #define WM8400_TSHUT_ENA_MASK 69 #define WM8400_TSHUT_ENA_SHIFT 70 #define WM8400_TSHUT_ENA_WIDTH 71 #define WM8400_TSHUT_OPDIS 72 #define WM8400_TSHUT_OPDIS_MASK 73 #define WM8400_TSHUT_OPDIS_SHIFT 74 #define WM8400_TSHUT_OPDIS_WIDTH 75 #define WM8400_OPCLK_ENA 76 #define WM8400_OPCLK_ENA_MASK 77 #define WM8400_OPCLK_ENA_SHIFT 78 #define WM8400_OPCLK_ENA_WIDTH 79 #define WM8400_AINL_ENA 80 #define WM8400_AINL_ENA_MASK 81 #define WM8400_AINL_ENA_SHIFT 82 #define WM8400_AINL_ENA_WIDTH 83 #define WM8400_AINR_ENA 84 #define WM8400_AINR_ENA_MASK 85 #define WM8400_AINR_ENA_SHIFT 86 #define WM8400_AINR_ENA_WIDTH 87 #define WM8400_LIN34_ENA 88 #define WM8400_LIN34_ENA_MASK 89 #define WM8400_LIN34_ENA_SHIFT 90 #define WM8400_LIN34_ENA_WIDTH 91 #define WM8400_LIN12_ENA 92 #define WM8400_LIN12_ENA_MASK 93 #define WM8400_LIN12_ENA_SHIFT 94 #define WM8400_LIN12_ENA_WIDTH 95 #define WM8400_RIN34_ENA 96 #define WM8400_RIN34_ENA_MASK 97 #define WM8400_RIN34_ENA_SHIFT 98 #define WM8400_RIN34_ENA_WIDTH 99 #define WM8400_RIN12_ENA 100 #define WM8400_RIN12_ENA_MASK 101 #define WM8400_RIN12_ENA_SHIFT 102 #define WM8400_RIN12_ENA_WIDTH 103 #define WM8400_ADCL_ENA 104 #define WM8400_ADCL_ENA_MASK 105 #define WM8400_ADCL_ENA_SHIFT 106 #define WM8400_ADCL_ENA_WIDTH 107 #define WM8400_ADCR_ENA 108 #define WM8400_ADCR_ENA_MASK 109 #define WM8400_ADCR_ENA_SHIFT 110 #define WM8400_ADCR_ENA_WIDTH 111 112 /* 113 * R4 (0x04) - Power Management (3) 114 */ 115 #define WM8400_LON_ENA 116 #define WM8400_LON_ENA_MASK 117 #define WM8400_LON_ENA_SHIFT 118 #define WM8400_LON_ENA_WIDTH 119 #define WM8400_LOP_ENA 120 #define WM8400_LOP_ENA_MASK 121 #define WM8400_LOP_ENA_SHIFT 122 #define WM8400_LOP_ENA_WIDTH 123 #define WM8400_RON_ENA 124 #define WM8400_RON_ENA_MASK 125 #define WM8400_RON_ENA_SHIFT 126 #define WM8400_RON_ENA_WIDTH 127 #define WM8400_ROP_ENA 128 #define WM8400_ROP_ENA_MASK 129 #define WM8400_ROP_ENA_SHIFT 130 #define WM8400_ROP_ENA_WIDTH 131 #define WM8400_LOPGA_ENA 132 #define WM8400_LOPGA_ENA_MASK 133 #define WM8400_LOPGA_ENA_SHIFT 134 #define WM8400_LOPGA_ENA_WIDTH 135 #define WM8400_ROPGA_ENA 136 #define WM8400_ROPGA_ENA_MASK 137 #define WM8400_ROPGA_ENA_SHIFT 138 #define WM8400_ROPGA_ENA_WIDTH 139 #define WM8400_LOMIX_ENA 140 #define WM8400_LOMIX_ENA_MASK 141 #define WM8400_LOMIX_ENA_SHIFT 142 #define WM8400_LOMIX_ENA_WIDTH 143 #define WM8400_ROMIX_ENA 144 #define WM8400_ROMIX_ENA_MASK 145 #define WM8400_ROMIX_ENA_SHIFT 146 #define WM8400_ROMIX_ENA_WIDTH 147 #define WM8400_DACL_ENA 148 #define WM8400_DACL_ENA_MASK 149 #define WM8400_DACL_ENA_SHIFT 150 #define WM8400_DACL_ENA_WIDTH 151 #define WM8400_DACR_ENA 152 #define WM8400_DACR_ENA_MASK 153 #define WM8400_DACR_ENA_SHIFT 154 #define WM8400_DACR_ENA_WIDTH 155 156 /* 157 * R5 (0x05) - Audio Interface (1) 158 */ 159 #define WM8400_AIFADCL_SRC 160 #define WM8400_AIFADCL_SRC_MASK 161 #define WM8400_AIFADCL_SRC_SHIFT 162 #define WM8400_AIFADCL_SRC_WIDTH 163 #define WM8400_AIFADCR_SRC 164 #define WM8400_AIFADCR_SRC_MASK 165 #define WM8400_AIFADCR_SRC_SHIFT 166 #define WM8400_AIFADCR_SRC_WIDTH 167 #define WM8400_AIFADC_TDM 168 #define WM8400_AIFADC_TDM_MASK 169 #define WM8400_AIFADC_TDM_SHIFT 170 #define WM8400_AIFADC_TDM_WIDTH 171 #define WM8400_AIFADC_TDM_CHAN 172 #define WM8400_AIFADC_TDM_CHAN_MASK 173 #define WM8400_AIFADC_TDM_CHAN_SHIFT 174 #define WM8400_AIFADC_TDM_CHAN_WIDTH 175 #define WM8400_AIF_BCLK_INV 176 #define WM8400_AIF_BCLK_INV_MASK 177 #define WM8400_AIF_BCLK_INV_SHIFT 178 #define WM8400_AIF_BCLK_INV_WIDTH 179 #define WM8400_AIF_LRCLK_INV 180 #define WM8400_AIF_LRCLK_INV_MASK 181 #define WM8400_AIF_LRCLK_INV_SHIFT 182 #define WM8400_AIF_LRCLK_INV_WIDTH 183 #define WM8400_AIF_WL_MASK 184 #define WM8400_AIF_WL_SHIFT 185 #define WM8400_AIF_WL_WIDTH 186 #define WM8400_AIF_WL_16BITS 187 #define WM8400_AIF_WL_20BITS 188 #define WM8400_AIF_WL_24BITS 189 #define WM8400_AIF_WL_32BITS 190 #define WM8400_AIF_FMT_MASK 191 #define WM8400_AIF_FMT_SHIFT 192 #define WM8400_AIF_FMT_WIDTH 193 #define WM8400_AIF_FMT_RIGHTJ 194 #define WM8400_AIF_FMT_LEFTJ 195 #define WM8400_AIF_FMT_I2S 196 #define WM8400_AIF_FMT_DSP 197 198 /* 199 * R6 (0x06) - Audio Interface (2) 200 */ 201 #define WM8400_DACL_SRC 202 #define WM8400_DACL_SRC_MASK 203 #define WM8400_DACL_SRC_SHIFT 204 #define WM8400_DACL_SRC_WIDTH 205 #define WM8400_DACR_SRC 206 #define WM8400_DACR_SRC_MASK 207 #define WM8400_DACR_SRC_SHIFT 208 #define WM8400_DACR_SRC_WIDTH 209 #define WM8400_AIFDAC_TDM 210 #define WM8400_AIFDAC_TDM_MASK 211 #define WM8400_AIFDAC_TDM_SHIFT 212 #define WM8400_AIFDAC_TDM_WIDTH 213 #define WM8400_AIFDAC_TDM_CHAN 214 #define WM8400_AIFDAC_TDM_CHAN_MASK 215 #define WM8400_AIFDAC_TDM_CHAN_SHIFT 216 #define WM8400_AIFDAC_TDM_CHAN_WIDTH 217 #define WM8400_DAC_BOOST_MASK 218 #define WM8400_DAC_BOOST_SHIFT 219 #define WM8400_DAC_BOOST_WIDTH 220 #define WM8400_DAC_COMP 221 #define WM8400_DAC_COMP_MASK 222 #define WM8400_DAC_COMP_SHIFT 223 #define WM8400_DAC_COMP_WIDTH 224 #define WM8400_DAC_COMPMODE 225 #define WM8400_DAC_COMPMODE_MASK 226 #define WM8400_DAC_COMPMODE_SHIFT 227 #define WM8400_DAC_COMPMODE_WIDTH 228 #define WM8400_ADC_COMP 229 #define WM8400_ADC_COMP_MASK 230 #define WM8400_ADC_COMP_SHIFT 231 #define WM8400_ADC_COMP_WIDTH 232 #define WM8400_ADC_COMPMODE 233 #define WM8400_ADC_COMPMODE_MASK 234 #define WM8400_ADC_COMPMODE_SHIFT 235 #define WM8400_ADC_COMPMODE_WIDTH 236 #define WM8400_LOOPBACK 237 #define WM8400_LOOPBACK_MASK 238 #define WM8400_LOOPBACK_SHIFT 239 #define WM8400_LOOPBACK_WIDTH 240 241 /* 242 * R7 (0x07) - Clocking (1) 243 */ 244 #define WM8400_TOCLK_RATE 245 #define WM8400_TOCLK_RATE_MASK 246 #define WM8400_TOCLK_RATE_SHIFT 247 #define WM8400_TOCLK_RATE_WIDTH 248 #define WM8400_TOCLK_ENA 249 #define WM8400_TOCLK_ENA_MASK 250 #define WM8400_TOCLK_ENA_SHIFT 251 #define WM8400_TOCLK_ENA_WIDTH 252 #define WM8400_OPCLKDIV_MASK 253 #define WM8400_OPCLKDIV_SHIFT 254 #define WM8400_OPCLKDIV_WIDTH 255 #define WM8400_DCLKDIV_MASK 256 #define WM8400_DCLKDIV_SHIFT 257 #define WM8400_DCLKDIV_WIDTH 258 #define WM8400_BCLK_DIV_MASK 259 #define WM8400_BCLK_DIV_SHIFT 260 #define WM8400_BCLK_DIV_WIDTH 261 262 /* 263 * R8 (0x08) - Clocking (2) 264 */ 265 #define WM8400_MCLK_SRC 266 #define WM8400_MCLK_SRC_MASK 267 #define WM8400_MCLK_SRC_SHIFT 268 #define WM8400_MCLK_SRC_WIDTH 269 #define WM8400_SYSCLK_SRC 270 #define WM8400_SYSCLK_SRC_MASK 271 #define WM8400_SYSCLK_SRC_SHIFT 272 #define WM8400_SYSCLK_SRC_WIDTH 273 #define WM8400_CLK_FORCE 274 #define WM8400_CLK_FORCE_MASK 275 #define WM8400_CLK_FORCE_SHIFT 276 #define WM8400_CLK_FORCE_WIDTH 277 #define WM8400_MCLK_DIV_MASK 278 #define WM8400_MCLK_DIV_SHIFT 279 #define WM8400_MCLK_DIV_WIDTH 280 #define WM8400_MCLK_INV 281 #define WM8400_MCLK_INV_MASK 282 #define WM8400_MCLK_INV_SHIFT 283 #define WM8400_MCLK_INV_WIDTH 284 #define WM8400_ADC_CLKDIV_MASK 285 #define WM8400_ADC_CLKDIV_SHIFT 286 #define WM8400_ADC_CLKDIV_WIDTH 287 #define WM8400_DAC_CLKDIV_MASK 288 #define WM8400_DAC_CLKDIV_SHIFT 289 #define WM8400_DAC_CLKDIV_WIDTH 290 291 /* 292 * R9 (0x09) - Audio Interface (3) 293 */ 294 #define WM8400_AIF_MSTR1 295 #define WM8400_AIF_MSTR1_MASK 296 #define WM8400_AIF_MSTR1_SHIFT 297 #define WM8400_AIF_MSTR1_WIDTH 298 #define WM8400_AIF_MSTR2 299 #define WM8400_AIF_MSTR2_MASK 300 #define WM8400_AIF_MSTR2_SHIFT 301 #define WM8400_AIF_MSTR2_WIDTH 302 #define WM8400_AIF_SEL 303 #define WM8400_AIF_SEL_MASK 304 #define WM8400_AIF_SEL_SHIFT 305 #define WM8400_AIF_SEL_WIDTH 306 #define WM8400_ADCLRC_DIR 307 #define WM8400_ADCLRC_DIR_MASK 308 #define WM8400_ADCLRC_DIR_SHIFT 309 #define WM8400_ADCLRC_DIR_WIDTH 310 #define WM8400_ADCLRC_RATE_MASK 311 #define WM8400_ADCLRC_RATE_SHIFT 312 #define WM8400_ADCLRC_RATE_WIDTH 313 314 /* 315 * R10 (0x0A) - Audio Interface (4) 316 */ 317 #define WM8400_ALRCGPIO1 318 #define WM8400_ALRCGPIO1_MASK 319 #define WM8400_ALRCGPIO1_SHIFT 320 #define WM8400_ALRCGPIO1_WIDTH 321 #define WM8400_ALRCBGPIO6 322 #define WM8400_ALRCBGPIO6_MASK 323 #define WM8400_ALRCBGPIO6_SHIFT 324 #define WM8400_ALRCBGPIO6_WIDTH 325 #define WM8400_AIF_TRIS 326 #define WM8400_AIF_TRIS_MASK 327 #define WM8400_AIF_TRIS_SHIFT 328 #define WM8400_AIF_TRIS_WIDTH 329 #define WM8400_DACLRC_DIR 330 #define WM8400_DACLRC_DIR_MASK 331 #define WM8400_DACLRC_DIR_SHIFT 332 #define WM8400_DACLRC_DIR_WIDTH 333 #define WM8400_DACLRC_RATE_MASK 334 #define WM8400_DACLRC_RATE_SHIFT 335 #define WM8400_DACLRC_RATE_WIDTH 336 337 /* 338 * R11 (0x0B) - DAC CTRL 339 */ 340 #define WM8400_DAC_SDMCLK_RATE 341 #define WM8400_DAC_SDMCLK_RATE_MASK 342 #define WM8400_DAC_SDMCLK_RATE_SHIFT 343 #define WM8400_DAC_SDMCLK_RATE_WIDTH 344 #define WM8400_AIF_LRCLKRATE 345 #define WM8400_AIF_LRCLKRATE_MASK 346 #define WM8400_AIF_LRCLKRATE_SHIFT 347 #define WM8400_AIF_LRCLKRATE_WIDTH 348 #define WM8400_DAC_MONO 349 #define WM8400_DAC_MONO_MASK 350 #define WM8400_DAC_MONO_SHIFT 351 #define WM8400_DAC_MONO_WIDTH 352 #define WM8400_DAC_SB_FILT 353 #define WM8400_DAC_SB_FILT_MASK 354 #define WM8400_DAC_SB_FILT_SHIFT 355 #define WM8400_DAC_SB_FILT_WIDTH 356 #define WM8400_DAC_MUTERATE 357 #define WM8400_DAC_MUTERATE_MASK 358 #define WM8400_DAC_MUTERATE_SHIFT 359 #define WM8400_DAC_MUTERATE_WIDTH 360 #define WM8400_DAC_MUTEMODE 361 #define WM8400_DAC_MUTEMODE_MASK 362 #define WM8400_DAC_MUTEMODE_SHIFT 363 #define WM8400_DAC_MUTEMODE_WIDTH 364 #define WM8400_DEEMP_MASK 365 #define WM8400_DEEMP_SHIFT 366 #define WM8400_DEEMP_WIDTH 367 #define WM8400_DAC_MUTE 368 #define WM8400_DAC_MUTE_MASK 369 #define WM8400_DAC_MUTE_SHIFT 370 #define WM8400_DAC_MUTE_WIDTH 371 #define WM8400_DACL_DATINV 372 #define WM8400_DACL_DATINV_MASK 373 #define WM8400_DACL_DATINV_SHIFT 374 #define WM8400_DACL_DATINV_WIDTH 375 #define WM8400_DACR_DATINV 376 #define WM8400_DACR_DATINV_MASK 377 #define WM8400_DACR_DATINV_SHIFT 378 #define WM8400_DACR_DATINV_WIDTH 379 380 /* 381 * R12 (0x0C) - Left DAC Digital Volume 382 */ 383 #define WM8400_DAC_VU 384 #define WM8400_DAC_VU_MASK 385 #define WM8400_DAC_VU_SHIFT 386 #define WM8400_DAC_VU_WIDTH 387 #define WM8400_DACL_VOL_MASK 388 #define WM8400_DACL_VOL_SHIFT 389 #define WM8400_DACL_VOL_WIDTH 390 391 /* 392 * R13 (0x0D) - Right DAC Digital Volume 393 */ 394 #define WM8400_DAC_VU 395 #define WM8400_DAC_VU_MASK 396 #define WM8400_DAC_VU_SHIFT 397 #define WM8400_DAC_VU_WIDTH 398 #define WM8400_DACR_VOL_MASK 399 #define WM8400_DACR_VOL_SHIFT 400 #define WM8400_DACR_VOL_WIDTH 401 402 /* 403 * R14 (0x0E) - Digital Side Tone 404 */ 405 #define WM8400_ADCL_DAC_SVOL_MASK 406 #define WM8400_ADCL_DAC_SVOL_SHIFT 407 #define WM8400_ADCL_DAC_SVOL_WIDTH 408 #define WM8400_ADCR_DAC_SVOL_MASK 409 #define WM8400_ADCR_DAC_SVOL_SHIFT 410 #define WM8400_ADCR_DAC_SVOL_WIDTH 411 #define WM8400_ADC_TO_DACL_MASK 412 #define WM8400_ADC_TO_DACL_SHIFT 413 #define WM8400_ADC_TO_DACL_WIDTH 414 #define WM8400_ADC_TO_DACR_MASK 415 #define WM8400_ADC_TO_DACR_SHIFT 416 #define WM8400_ADC_TO_DACR_WIDTH 417 418 /* 419 * R15 (0x0F) - ADC CTRL 420 */ 421 #define WM8400_ADC_HPF_ENA 422 #define WM8400_ADC_HPF_ENA_MASK 423 #define WM8400_ADC_HPF_ENA_SHIFT 424 #define WM8400_ADC_HPF_ENA_WIDTH 425 #define WM8400_ADC_HPF_CUT_MASK 426 #define WM8400_ADC_HPF_CUT_SHIFT 427 #define WM8400_ADC_HPF_CUT_WIDTH 428 #define WM8400_ADCL_DATINV 429 #define WM8400_ADCL_DATINV_MASK 430 #define WM8400_ADCL_DATINV_SHIFT 431 #define WM8400_ADCL_DATINV_WIDTH 432 #define WM8400_ADCR_DATINV 433 #define WM8400_ADCR_DATINV_MASK 434 #define WM8400_ADCR_DATINV_SHIFT 435 #define WM8400_ADCR_DATINV_WIDTH 436 437 /* 438 * R16 (0x10) - Left ADC Digital Volume 439 */ 440 #define WM8400_ADC_VU 441 #define WM8400_ADC_VU_MASK 442 #define WM8400_ADC_VU_SHIFT 443 #define WM8400_ADC_VU_WIDTH 444 #define WM8400_ADCL_VOL_MASK 445 #define WM8400_ADCL_VOL_SHIFT 446 #define WM8400_ADCL_VOL_WIDTH 447 448 /* 449 * R17 (0x11) - Right ADC Digital Volume 450 */ 451 #define WM8400_ADC_VU 452 #define WM8400_ADC_VU_MASK 453 #define WM8400_ADC_VU_SHIFT 454 #define WM8400_ADC_VU_WIDTH 455 #define WM8400_ADCR_VOL_MASK 456 #define WM8400_ADCR_VOL_SHIFT 457 #define WM8400_ADCR_VOL_WIDTH 458 459 /* 460 * R24 (0x18) - Left Line Input 1&2 Volume 461 */ 462 #define WM8400_IPVU 463 #define WM8400_IPVU_MASK 464 #define WM8400_IPVU_SHIFT 465 #define WM8400_IPVU_WIDTH 466 #define WM8400_LI12MUTE 467 #define WM8400_LI12MUTE_MASK 468 #define WM8400_LI12MUTE_SHIFT 469 #define WM8400_LI12MUTE_WIDTH 470 #define WM8400_LI12ZC 471 #define WM8400_LI12ZC_MASK 472 #define WM8400_LI12ZC_SHIFT 473 #define WM8400_LI12ZC_WIDTH 474 #define WM8400_LIN12VOL_MASK 475 #define WM8400_LIN12VOL_SHIFT 476 #define WM8400_LIN12VOL_WIDTH 477 478 /* 479 * R25 (0x19) - Left Line Input 3&4 Volume 480 */ 481 #define WM8400_IPVU 482 #define WM8400_IPVU_MASK 483 #define WM8400_IPVU_SHIFT 484 #define WM8400_IPVU_WIDTH 485 #define WM8400_LI34MUTE 486 #define WM8400_LI34MUTE_MASK 487 #define WM8400_LI34MUTE_SHIFT 488 #define WM8400_LI34MUTE_WIDTH 489 #define WM8400_LI34ZC 490 #define WM8400_LI34ZC_MASK 491 #define WM8400_LI34ZC_SHIFT 492 #define WM8400_LI34ZC_WIDTH 493 #define WM8400_LIN34VOL_MASK 494 #define WM8400_LIN34VOL_SHIFT 495 #define WM8400_LIN34VOL_WIDTH 496 497 /* 498 * R26 (0x1A) - Right Line Input 1&2 Volume 499 */ 500 #define WM8400_IPVU 501 #define WM8400_IPVU_MASK 502 #define WM8400_IPVU_SHIFT 503 #define WM8400_IPVU_WIDTH 504 #define WM8400_RI12MUTE 505 #define WM8400_RI12MUTE_MASK 506 #define WM8400_RI12MUTE_SHIFT 507 #define WM8400_RI12MUTE_WIDTH 508 #define WM8400_RI12ZC 509 #define WM8400_RI12ZC_MASK 510 #define WM8400_RI12ZC_SHIFT 511 #define WM8400_RI12ZC_WIDTH 512 #define WM8400_RIN12VOL_MASK 513 #define WM8400_RIN12VOL_SHIFT 514 #define WM8400_RIN12VOL_WIDTH 515 516 /* 517 * R27 (0x1B) - Right Line Input 3&4 Volume 518 */ 519 #define WM8400_IPVU 520 #define WM8400_IPVU_MASK 521 #define WM8400_IPVU_SHIFT 522 #define WM8400_IPVU_WIDTH 523 #define WM8400_RI34MUTE 524 #define WM8400_RI34MUTE_MASK 525 #define WM8400_RI34MUTE_SHIFT 526 #define WM8400_RI34MUTE_WIDTH 527 #define WM8400_RI34ZC 528 #define WM8400_RI34ZC_MASK 529 #define WM8400_RI34ZC_SHIFT 530 #define WM8400_RI34ZC_WIDTH 531 #define WM8400_RIN34VOL_MASK 532 #define WM8400_RIN34VOL_SHIFT 533 #define WM8400_RIN34VOL_WIDTH 534 535 /* 536 * R28 (0x1C) - Left Output Volume 537 */ 538 #define WM8400_OPVU 539 #define WM8400_OPVU_MASK 540 #define WM8400_OPVU_SHIFT 541 #define WM8400_OPVU_WIDTH 542 #define WM8400_LOZC 543 #define WM8400_LOZC_MASK 544 #define WM8400_LOZC_SHIFT 545 #define WM8400_LOZC_WIDTH 546 #define WM8400_LOUTVOL_MASK 547 #define WM8400_LOUTVOL_SHIFT 548 #define WM8400_LOUTVOL_WIDTH 549 550 /* 551 * R29 (0x1D) - Right Output Volume 552 */ 553 #define WM8400_OPVU 554 #define WM8400_OPVU_MASK 555 #define WM8400_OPVU_SHIFT 556 #define WM8400_OPVU_WIDTH 557 #define WM8400_ROZC 558 #define WM8400_ROZC_MASK 559 #define WM8400_ROZC_SHIFT 560 #define WM8400_ROZC_WIDTH 561 #define WM8400_ROUTVOL_MASK 562 #define WM8400_ROUTVOL_SHIFT 563 #define WM8400_ROUTVOL_WIDTH 564 565 /* 566 * R30 (0x1E) - Line Outputs Volume 567 */ 568 #define WM8400_LONMUTE 569 #define WM8400_LONMUTE_MASK 570 #define WM8400_LONMUTE_SHIFT 571 #define WM8400_LONMUTE_WIDTH 572 #define WM8400_LOPMUTE 573 #define WM8400_LOPMUTE_MASK 574 #define WM8400_LOPMUTE_SHIFT 575 #define WM8400_LOPMUTE_WIDTH 576 #define WM8400_LOATTN 577 #define WM8400_LOATTN_MASK 578 #define WM8400_LOATTN_SHIFT 579 #define WM8400_LOATTN_WIDTH 580 #define WM8400_RONMUTE 581 #define WM8400_RONMUTE_MASK 582 #define WM8400_RONMUTE_SHIFT 583 #define WM8400_RONMUTE_WIDTH 584 #define WM8400_ROPMUTE 585 #define WM8400_ROPMUTE_MASK 586 #define WM8400_ROPMUTE_SHIFT 587 #define WM8400_ROPMUTE_WIDTH 588 #define WM8400_ROATTN 589 #define WM8400_ROATTN_MASK 590 #define WM8400_ROATTN_SHIFT 591 #define WM8400_ROATTN_WIDTH 592 593 /* 594 * R31 (0x1F) - Out3/4 Volume 595 */ 596 #define WM8400_OUT3MUTE 597 #define WM8400_OUT3MUTE_MASK 598 #define WM8400_OUT3MUTE_SHIFT 599 #define WM8400_OUT3MUTE_WIDTH 600 #define WM8400_OUT3ATTN 601 #define WM8400_OUT3ATTN_MASK 602 #define WM8400_OUT3ATTN_SHIFT 603 #define WM8400_OUT3ATTN_WIDTH 604 #define WM8400_OUT4MUTE 605 #define WM8400_OUT4MUTE_MASK 606 #define WM8400_OUT4MUTE_SHIFT 607 #define WM8400_OUT4MUTE_WIDTH 608 #define WM8400_OUT4ATTN 609 #define WM8400_OUT4ATTN_MASK 610 #define WM8400_OUT4ATTN_SHIFT 611 #define WM8400_OUT4ATTN_WIDTH 612 613 /* 614 * R32 (0x20) - Left OPGA Volume 615 */ 616 #define WM8400_OPVU 617 #define WM8400_OPVU_MASK 618 #define WM8400_OPVU_SHIFT 619 #define WM8400_OPVU_WIDTH 620 #define WM8400_LOPGAZC 621 #define WM8400_LOPGAZC_MASK 622 #define WM8400_LOPGAZC_SHIFT 623 #define WM8400_LOPGAZC_WIDTH 624 #define WM8400_LOPGAVOL_MASK 625 #define WM8400_LOPGAVOL_SHIFT 626 #define WM8400_LOPGAVOL_WIDTH 627 628 /* 629 * R33 (0x21) - Right OPGA Volume 630 */ 631 #define WM8400_OPVU 632 #define WM8400_OPVU_MASK 633 #define WM8400_OPVU_SHIFT 634 #define WM8400_OPVU_WIDTH 635 #define WM8400_ROPGAZC 636 #define WM8400_ROPGAZC_MASK 637 #define WM8400_ROPGAZC_SHIFT 638 #define WM8400_ROPGAZC_WIDTH 639 #define WM8400_ROPGAVOL_MASK 640 #define WM8400_ROPGAVOL_SHIFT 641 #define WM8400_ROPGAVOL_WIDTH 642 643 /* 644 * R34 (0x22) - Speaker Volume 645 */ 646 #define WM8400_SPKATTN_MASK 647 #define WM8400_SPKATTN_SHIFT 648 #define WM8400_SPKATTN_WIDTH 649 650 /* 651 * R35 (0x23) - ClassD1 652 */ 653 #define WM8400_CDMODE 654 #define WM8400_CDMODE_MASK 655 #define WM8400_CDMODE_SHIFT 656 #define WM8400_CDMODE_WIDTH 657 #define WM8400_CLASSD_CLK_SEL 658 #define WM8400_CLASSD_CLK_SEL_MASK 659 #define WM8400_CLASSD_CLK_SEL_SHIFT 660 #define WM8400_CLASSD_CLK_SEL_WIDTH 661 #define WM8400_CD_SRCTRL 662 #define WM8400_CD_SRCTRL_MASK 663 #define WM8400_CD_SRCTRL_SHIFT 664 #define WM8400_CD_SRCTRL_WIDTH 665 #define WM8400_SPKNOPOP 666 #define WM8400_SPKNOPOP_MASK 667 #define WM8400_SPKNOPOP_SHIFT 668 #define WM8400_SPKNOPOP_WIDTH 669 #define WM8400_DBLERATE 670 #define WM8400_DBLERATE_MASK 671 #define WM8400_DBLERATE_SHIFT 672 #define WM8400_DBLERATE_WIDTH 673 #define WM8400_LOOPTEST 674 #define WM8400_LOOPTEST_MASK 675 #define WM8400_LOOPTEST_SHIFT 676 #define WM8400_LOOPTEST_WIDTH 677 #define WM8400_HALFABBIAS 678 #define WM8400_HALFABBIAS_MASK 679 #define WM8400_HALFABBIAS_SHIFT 680 #define WM8400_HALFABBIAS_WIDTH 681 #define WM8400_TRIDEL_MASK 682 #define WM8400_TRIDEL_SHIFT 683 #define WM8400_TRIDEL_WIDTH 684 685 /* 686 * R37 (0x25) - ClassD3 687 */ 688 #define WM8400_DCGAIN_MASK 689 #define WM8400_DCGAIN_SHIFT 690 #define WM8400_DCGAIN_WIDTH 691 #define WM8400_ACGAIN_MASK 692 #define WM8400_ACGAIN_SHIFT 693 #define WM8400_ACGAIN_WIDTH 694 695 /* 696 * R39 (0x27) - Input Mixer1 697 */ 698 #define WM8400_AINLMODE_MASK 699 #define WM8400_AINLMODE_SHIFT 700 #define WM8400_AINLMODE_WIDTH 701 #define WM8400_AINRMODE_MASK 702 #define WM8400_AINRMODE_SHIFT 703 #define WM8400_AINRMODE_WIDTH 704 705 /* 706 * R40 (0x28) - Input Mixer2 707 */ 708 #define WM8400_LMP4 709 #define WM8400_LMP4_MASK 710 #define WM8400_LMP4_SHIFT 711 #define WM8400_LMP4_WIDTH 712 #define WM8400_LMN3 713 #define WM8400_LMN3_MASK 714 #define WM8400_LMN3_SHIFT 715 #define WM8400_LMN3_WIDTH 716 #define WM8400_LMP2 717 #define WM8400_LMP2_MASK 718 #define WM8400_LMP2_SHIFT 719 #define WM8400_LMP2_WIDTH 720 #define WM8400_LMN1 721 #define WM8400_LMN1_MASK 722 #define WM8400_LMN1_SHIFT 723 #define WM8400_LMN1_WIDTH 724 #define WM8400_RMP4 725 #define WM8400_RMP4_MASK 726 #define WM8400_RMP4_SHIFT 727 #define WM8400_RMP4_WIDTH 728 #define WM8400_RMN3 729 #define WM8400_RMN3_MASK 730 #define WM8400_RMN3_SHIFT 731 #define WM8400_RMN3_WIDTH 732 #define WM8400_RMP2 733 #define WM8400_RMP2_MASK 734 #define WM8400_RMP2_SHIFT 735 #define WM8400_RMP2_WIDTH 736 #define WM8400_RMN1 737 #define WM8400_RMN1_MASK 738 #define WM8400_RMN1_SHIFT 739 #define WM8400_RMN1_WIDTH 740 741 /* 742 * R41 (0x29) - Input Mixer3 743 */ 744 #define WM8400_L34MNB 745 #define WM8400_L34MNB_MASK 746 #define WM8400_L34MNB_SHIFT 747 #define WM8400_L34MNB_WIDTH 748 #define WM8400_L34MNBST 749 #define WM8400_L34MNBST_MASK 750 #define WM8400_L34MNBST_SHIFT 751 #define WM8400_L34MNBST_WIDTH 752 #define WM8400_L12MNB 753 #define WM8400_L12MNB_MASK 754 #define WM8400_L12MNB_SHIFT 755 #define WM8400_L12MNB_WIDTH 756 #define WM8400_L12MNBST 757 #define WM8400_L12MNBST_MASK 758 #define WM8400_L12MNBST_SHIFT 759 #define WM8400_L12MNBST_WIDTH 760 #define WM8400_LDBVOL_MASK 761 #define WM8400_LDBVOL_SHIFT 762 #define WM8400_LDBVOL_WIDTH 763 764 /* 765 * R42 (0x2A) - Input Mixer4 766 */ 767 #define WM8400_R34MNB 768 #define WM8400_R34MNB_MASK 769 #define WM8400_R34MNB_SHIFT 770 #define WM8400_R34MNB_WIDTH 771 #define WM8400_R34MNBST 772 #define WM8400_R34MNBST_MASK 773 #define WM8400_R34MNBST_SHIFT 774 #define WM8400_R34MNBST_WIDTH 775 #define WM8400_R12MNB 776 #define WM8400_R12MNB_MASK 777 #define WM8400_R12MNB_SHIFT 778 #define WM8400_R12MNB_WIDTH 779 #define WM8400_R12MNBST 780 #define WM8400_R12MNBST_MASK 781 #define WM8400_R12MNBST_SHIFT 782 #define WM8400_R12MNBST_WIDTH 783 #define WM8400_RDBVOL_MASK 784 #define WM8400_RDBVOL_SHIFT 785 #define WM8400_RDBVOL_WIDTH 786 787 /* 788 * R43 (0x2B) - Input Mixer5 789 */ 790 #define WM8400_LI2BVOL_MASK 791 #define WM8400_LI2BVOL_SHIFT 792 #define WM8400_LI2BVOL_WIDTH 793 #define WM8400_LR4BVOL_MASK 794 #define WM8400_LR4BVOL_SHIFT 795 #define WM8400_LR4BVOL_WIDTH 796 #define WM8400_LL4BVOL_MASK 797 #define WM8400_LL4BVOL_SHIFT 798 #define WM8400_LL4BVOL_WIDTH 799 800 /* 801 * R44 (0x2C) - Input Mixer6 802 */ 803 #define WM8400_RI2BVOL_MASK 804 #define WM8400_RI2BVOL_SHIFT 805 #define WM8400_RI2BVOL_WIDTH 806 #define WM8400_RL4BVOL_MASK 807 #define WM8400_RL4BVOL_SHIFT 808 #define WM8400_RL4BVOL_WIDTH 809 #define WM8400_RR4BVOL_MASK 810 #define WM8400_RR4BVOL_SHIFT 811 #define WM8400_RR4BVOL_WIDTH 812 813 /* 814 * R45 (0x2D) - Output Mixer1 815 */ 816 #define WM8400_LRBLO 817 #define WM8400_LRBLO_MASK 818 #define WM8400_LRBLO_SHIFT 819 #define WM8400_LRBLO_WIDTH 820 #define WM8400_LLBLO 821 #define WM8400_LLBLO_MASK 822 #define WM8400_LLBLO_SHIFT 823 #define WM8400_LLBLO_WIDTH 824 #define WM8400_LRI3LO 825 #define WM8400_LRI3LO_MASK 826 #define WM8400_LRI3LO_SHIFT 827 #define WM8400_LRI3LO_WIDTH 828 #define WM8400_LLI3LO 829 #define WM8400_LLI3LO_MASK 830 #define WM8400_LLI3LO_SHIFT 831 #define WM8400_LLI3LO_WIDTH 832 #define WM8400_LR12LO 833 #define WM8400_LR12LO_MASK 834 #define WM8400_LR12LO_SHIFT 835 #define WM8400_LR12LO_WIDTH 836 #define WM8400_LL12LO 837 #define WM8400_LL12LO_MASK 838 #define WM8400_LL12LO_SHIFT 839 #define WM8400_LL12LO_WIDTH 840 #define WM8400_LDLO 841 #define WM8400_LDLO_MASK 842 #define WM8400_LDLO_SHIFT 843 #define WM8400_LDLO_WIDTH 844 845 /* 846 * R46 (0x2E) - Output Mixer2 847 */ 848 #define WM8400_RLBRO 849 #define WM8400_RLBRO_MASK 850 #define WM8400_RLBRO_SHIFT 851 #define WM8400_RLBRO_WIDTH 852 #define WM8400_RRBRO 853 #define WM8400_RRBRO_MASK 854 #define WM8400_RRBRO_SHIFT 855 #define WM8400_RRBRO_WIDTH 856 #define WM8400_RLI3RO 857 #define WM8400_RLI3RO_MASK 858 #define WM8400_RLI3RO_SHIFT 859 #define WM8400_RLI3RO_WIDTH 860 #define WM8400_RRI3RO 861 #define WM8400_RRI3RO_MASK 862 #define WM8400_RRI3RO_SHIFT 863 #define WM8400_RRI3RO_WIDTH 864 #define WM8400_RL12RO 865 #define WM8400_RL12RO_MASK 866 #define WM8400_RL12RO_SHIFT 867 #define WM8400_RL12RO_WIDTH 868 #define WM8400_RR12RO 869 #define WM8400_RR12RO_MASK 870 #define WM8400_RR12RO_SHIFT 871 #define WM8400_RR12RO_WIDTH 872 #define WM8400_RDRO 873 #define WM8400_RDRO_MASK 874 #define WM8400_RDRO_SHIFT 875 #define WM8400_RDRO_WIDTH 876 877 /* 878 * R47 (0x2F) - Output Mixer3 879 */ 880 #define WM8400_LLI3LOVOL_MASK 881 #define WM8400_LLI3LOVOL_SHIFT 882 #define WM8400_LLI3LOVOL_WIDTH 883 #define WM8400_LR12LOVOL_MASK 884 #define WM8400_LR12LOVOL_SHIFT 885 #define WM8400_LR12LOVOL_WIDTH 886 #define WM8400_LL12LOVOL_MASK 887 #define WM8400_LL12LOVOL_SHIFT 888 #define WM8400_LL12LOVOL_WIDTH 889 890 /* 891 * R48 (0x30) - Output Mixer4 892 */ 893 #define WM8400_RRI3ROVOL_MASK 894 #define WM8400_RRI3ROVOL_SHIFT 895 #define WM8400_RRI3ROVOL_WIDTH 896 #define WM8400_RL12ROVOL_MASK 897 #define WM8400_RL12ROVOL_SHIFT 898 #define WM8400_RL12ROVOL_WIDTH 899 #define WM8400_RR12ROVOL_MASK 900 #define WM8400_RR12ROVOL_SHIFT 901 #define WM8400_RR12ROVOL_WIDTH 902 903 /* 904 * R49 (0x31) - Output Mixer5 905 */ 906 #define WM8400_LRI3LOVOL_MASK 907 #define WM8400_LRI3LOVOL_SHIFT 908 #define WM8400_LRI3LOVOL_WIDTH 909 #define WM8400_LRBLOVOL_MASK 910 #define WM8400_LRBLOVOL_SHIFT 911 #define WM8400_LRBLOVOL_WIDTH 912 #define WM8400_LLBLOVOL_MASK 913 #define WM8400_LLBLOVOL_SHIFT 914 #define WM8400_LLBLOVOL_WIDTH 915 916 /* 917 * R50 (0x32) - Output Mixer6 918 */ 919 #define WM8400_RLI3ROVOL_MASK 920 #define WM8400_RLI3ROVOL_SHIFT 921 #define WM8400_RLI3ROVOL_WIDTH 922 #define WM8400_RLBROVOL_MASK 923 #define WM8400_RLBROVOL_SHIFT 924 #define WM8400_RLBROVOL_WIDTH 925 #define WM8400_RRBROVOL_MASK 926 #define WM8400_RRBROVOL_SHIFT 927 #define WM8400_RRBROVOL_WIDTH 928 929 /* 930 * R51 (0x33) - Out3/4 Mixer 931 */ 932 #define WM8400_VSEL_MASK 933 #define WM8400_VSEL_SHIFT 934 #define WM8400_VSEL_WIDTH 935 #define WM8400_LI4O3 936 #define WM8400_LI4O3_MASK 937 #define WM8400_LI4O3_SHIFT 938 #define WM8400_LI4O3_WIDTH 939 #define WM8400_LPGAO3 940 #define WM8400_LPGAO3_MASK 941 #define WM8400_LPGAO3_SHIFT 942 #define WM8400_LPGAO3_WIDTH 943 #define WM8400_RI4O4 944 #define WM8400_RI4O4_MASK 945 #define WM8400_RI4O4_SHIFT 946 #define WM8400_RI4O4_WIDTH 947 #define WM8400_RPGAO4 948 #define WM8400_RPGAO4_MASK 949 #define WM8400_RPGAO4_SHIFT 950 #define WM8400_RPGAO4_WIDTH 951 952 /* 953 * R52 (0x34) - Line Mixer1 954 */ 955 #define WM8400_LLOPGALON 956 #define WM8400_LLOPGALON_MASK 957 #define WM8400_LLOPGALON_SHIFT 958 #define WM8400_LLOPGALON_WIDTH 959 #define WM8400_LROPGALON 960 #define WM8400_LROPGALON_MASK 961 #define WM8400_LROPGALON_SHIFT 962 #define WM8400_LROPGALON_WIDTH 963 #define WM8400_LOPLON 964 #define WM8400_LOPLON_MASK 965 #define WM8400_LOPLON_SHIFT 966 #define WM8400_LOPLON_WIDTH 967 #define WM8400_LR12LOP 968 #define WM8400_LR12LOP_MASK 969 #define WM8400_LR12LOP_SHIFT 970 #define WM8400_LR12LOP_WIDTH 971 #define WM8400_LL12LOP 972 #define WM8400_LL12LOP_MASK 973 #define WM8400_LL12LOP_SHIFT 974 #define WM8400_LL12LOP_WIDTH 975 #define WM8400_LLOPGALOP 976 #define WM8400_LLOPGALOP_MASK 977 #define WM8400_LLOPGALOP_SHIFT 978 #define WM8400_LLOPGALOP_WIDTH 979 980 /* 981 * R53 (0x35) - Line Mixer2 982 */ 983 #define WM8400_RROPGARON 984 #define WM8400_RROPGARON_MASK 985 #define WM8400_RROPGARON_SHIFT 986 #define WM8400_RROPGARON_WIDTH 987 #define WM8400_RLOPGARON 988 #define WM8400_RLOPGARON_MASK 989 #define WM8400_RLOPGARON_SHIFT 990 #define WM8400_RLOPGARON_WIDTH 991 #define WM8400_ROPRON 992 #define WM8400_ROPRON_MASK 993 #define WM8400_ROPRON_SHIFT 994 #define WM8400_ROPRON_WIDTH 995 #define WM8400_RL12ROP 996 #define WM8400_RL12ROP_MASK 997 #define WM8400_RL12ROP_SHIFT 998 #define WM8400_RL12ROP_WIDTH 999 #define WM8400_RR12ROP 1000 #define WM8400_RR12ROP_MASK 1001 #define WM8400_RR12ROP_SHIFT 1002 #define WM8400_RR12ROP_WIDTH 1003 #define WM8400_RROPGAROP 1004 #define WM8400_RROPGAROP_MASK 1005 #define WM8400_RROPGAROP_SHIFT 1006 #define WM8400_RROPGAROP_WIDTH 1007 1008 /* 1009 * R54 (0x36) - Speaker Mixer 1010 */ 1011 #define WM8400_LB2SPK 1012 #define WM8400_LB2SPK_MASK 1013 #define WM8400_LB2SPK_SHIFT 1014 #define WM8400_LB2SPK_WIDTH 1015 #define WM8400_RB2SPK 1016 #define WM8400_RB2SPK_MASK 1017 #define WM8400_RB2SPK_SHIFT 1018 #define WM8400_RB2SPK_WIDTH 1019 #define WM8400_LI2SPK 1020 #define WM8400_LI2SPK_MASK 1021 #define WM8400_LI2SPK_SHIFT 1022 #define WM8400_LI2SPK_WIDTH 1023 #define WM8400_RI2SPK 1024 #define WM8400_RI2SPK_MASK 1025 #define WM8400_RI2SPK_SHIFT 1026 #define WM8400_RI2SPK_WIDTH 1027 #define WM8400_LOPGASPK 1028 #define WM8400_LOPGASPK_MASK 1029 #define WM8400_LOPGASPK_SHIFT 1030 #define WM8400_LOPGASPK_WIDTH 1031 #define WM8400_ROPGASPK 1032 #define WM8400_ROPGASPK_MASK 1033 #define WM8400_ROPGASPK_SHIFT 1034 #define WM8400_ROPGASPK_WIDTH 1035 #define WM8400_LDSPK 1036 #define WM8400_LDSPK_MASK 1037 #define WM8400_LDSPK_SHIFT 1038 #define WM8400_LDSPK_WIDTH 1039 #define WM8400_RDSPK 1040 #define WM8400_RDSPK_MASK 1041 #define WM8400_RDSPK_SHIFT 1042 #define WM8400_RDSPK_WIDTH 1043 1044 /* 1045 * R55 (0x37) - Additional Control 1046 */ 1047 #define WM8400_VROI 1048 #define WM8400_VROI_MASK 1049 #define WM8400_VROI_SHIFT 1050 #define WM8400_VROI_WIDTH 1051 1052 /* 1053 * R56 (0x38) - AntiPOP1 1054 */ 1055 #define WM8400_DIS_LLINE 1056 #define WM8400_DIS_LLINE_MASK 1057 #define WM8400_DIS_LLINE_SHIFT 1058 #define WM8400_DIS_LLINE_WIDTH 1059 #define WM8400_DIS_RLINE 1060 #define WM8400_DIS_RLINE_MASK 1061 #define WM8400_DIS_RLINE_SHIFT 1062 #define WM8400_DIS_RLINE_WIDTH 1063 #define WM8400_DIS_OUT3 1064 #define WM8400_DIS_OUT3_MASK 1065 #define WM8400_DIS_OUT3_SHIFT 1066 #define WM8400_DIS_OUT3_WIDTH 1067 #define WM8400_DIS_OUT4 1068 #define WM8400_DIS_OUT4_MASK 1069 #define WM8400_DIS_OUT4_SHIFT 1070 #define WM8400_DIS_OUT4_WIDTH 1071 #define WM8400_DIS_LOUT 1072 #define WM8400_DIS_LOUT_MASK 1073 #define WM8400_DIS_LOUT_SHIFT 1074 #define WM8400_DIS_LOUT_WIDTH 1075 #define WM8400_DIS_ROUT 1076 #define WM8400_DIS_ROUT_MASK 1077 #define WM8400_DIS_ROUT_SHIFT 1078 #define WM8400_DIS_ROUT_WIDTH 1079 1080 /* 1081 * R57 (0x39) - AntiPOP2 1082 */ 1083 #define WM8400_SOFTST 1084 #define WM8400_SOFTST_MASK 1085 #define WM8400_SOFTST_SHIFT 1086 #define WM8400_SOFTST_WIDTH 1087 #define WM8400_BUFIOEN 1088 #define WM8400_BUFIOEN_MASK 1089 #define WM8400_BUFIOEN_SHIFT 1090 #define WM8400_BUFIOEN_WIDTH 1091 #define WM8400_BUFDCOPEN 1092 #define WM8400_BUFDCOPEN_MASK 1093 #define WM8400_BUFDCOPEN_SHIFT 1094 #define WM8400_BUFDCOPEN_WIDTH 1095 #define WM8400_POBCTRL 1096 #define WM8400_POBCTRL_MASK 1097 #define WM8400_POBCTRL_SHIFT 1098 #define WM8400_POBCTRL_WIDTH 1099 #define WM8400_VMIDTOG 1100 #define WM8400_VMIDTOG_MASK 1101 #define WM8400_VMIDTOG_SHIFT 1102 #define WM8400_VMIDTOG_WIDTH 1103 1104 /* 1105 * R58 (0x3A) - MICBIAS 1106 */ 1107 #define WM8400_MCDSCTH_MASK 1108 #define WM8400_MCDSCTH_SHIFT 1109 #define WM8400_MCDSCTH_WIDTH 1110 #define WM8400_MCDTHR_MASK 1111 #define WM8400_MCDTHR_SHIFT 1112 #define WM8400_MCDTHR_WIDTH 1113 #define WM8400_MCD 1114 #define WM8400_MCD_MASK 1115 #define WM8400_MCD_SHIFT 1116 #define WM8400_MCD_WIDTH 1117 #define WM8400_MBSEL 1118 #define WM8400_MBSEL_MASK 1119 #define WM8400_MBSEL_SHIFT 1120 #define WM8400_MBSEL_WIDTH 1121 1122 /* 1123 * R60 (0x3C) - FLL Control 1 1124 */ 1125 #define WM8400_FLL_REF_FREQ 1126 #define WM8400_FLL_REF_FREQ_MASK 1127 #define WM8400_FLL_REF_FREQ_SHIFT 1128 #define WM8400_FLL_REF_FREQ_WIDTH 1129 #define WM8400_FLL_CLK_SRC_MASK 1130 #define WM8400_FLL_CLK_SRC_SHIFT 1131 #define WM8400_FLL_CLK_SRC_WIDTH 1132 #define WM8400_FLL_FRAC 1133 #define WM8400_FLL_FRAC_MASK 1134 #define WM8400_FLL_FRAC_SHIFT 1135 #define WM8400_FLL_FRAC_WIDTH 1136 #define WM8400_FLL_OSC_ENA 1137 #define WM8400_FLL_OSC_ENA_MASK 1138 #define WM8400_FLL_OSC_ENA_SHIFT 1139 #define WM8400_FLL_OSC_ENA_WIDTH 1140 #define WM8400_FLL_CTRL_RATE_MASK 1141 #define WM8400_FLL_CTRL_RATE_SHIFT 1142 #define WM8400_FLL_CTRL_RATE_WIDTH 1143 #define WM8400_FLL_FRATIO_MASK 1144 #define WM8400_FLL_FRATIO_SHIFT 1145 #define WM8400_FLL_FRATIO_WIDTH 1146 1147 /* 1148 * R61 (0x3D) - FLL Control 2 1149 */ 1150 #define WM8400_FLL_K_MASK 1151 #define WM8400_FLL_K_SHIFT 1152 #define WM8400_FLL_K_WIDTH 1153 1154 /* 1155 * R62 (0x3E) - FLL Control 3 1156 */ 1157 #define WM8400_FLL_N_MASK 1158 #define WM8400_FLL_N_SHIFT 1159 #define WM8400_FLL_N_WIDTH 1160 1161 /* 1162 * R63 (0x3F) - FLL Control 4 1163 */ 1164 #define WM8400_FLL_TRK_GAIN_MASK 1165 #define WM8400_FLL_TRK_GAIN_SHIFT 1166 #define WM8400_FLL_TRK_GAIN_WIDTH 1167 #define WM8400_FLL_OUTDIV_MASK 1168 #define WM8400_FLL_OUTDIV_SHIFT 1169 #define WM8400_FLL_OUTDIV_WIDTH 1170 1171 struct wm8400; 1172 void wm8400_reset_codec_reg_cache(struct wm84 1173 1174 #endif 1175
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.