Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wm8903.h File Reference
#include <linux/i2c.h>

Go to the source code of this file.

Macros

#define WM8903_SW_RESET_AND_ID   0x00
 
#define WM8903_REVISION_NUMBER   0x01
 
#define WM8903_BIAS_CONTROL_0   0x04
 
#define WM8903_VMID_CONTROL_0   0x05
 
#define WM8903_MIC_BIAS_CONTROL_0   0x06
 
#define WM8903_ANALOGUE_DAC_0   0x08
 
#define WM8903_ANALOGUE_ADC_0   0x0A
 
#define WM8903_POWER_MANAGEMENT_0   0x0C
 
#define WM8903_POWER_MANAGEMENT_1   0x0D
 
#define WM8903_POWER_MANAGEMENT_2   0x0E
 
#define WM8903_POWER_MANAGEMENT_3   0x0F
 
#define WM8903_POWER_MANAGEMENT_4   0x10
 
#define WM8903_POWER_MANAGEMENT_5   0x11
 
#define WM8903_POWER_MANAGEMENT_6   0x12
 
#define WM8903_CLOCK_RATES_0   0x14
 
#define WM8903_CLOCK_RATES_1   0x15
 
#define WM8903_CLOCK_RATES_2   0x16
 
#define WM8903_AUDIO_INTERFACE_0   0x18
 
#define WM8903_AUDIO_INTERFACE_1   0x19
 
#define WM8903_AUDIO_INTERFACE_2   0x1A
 
#define WM8903_AUDIO_INTERFACE_3   0x1B
 
#define WM8903_DAC_DIGITAL_VOLUME_LEFT   0x1E
 
#define WM8903_DAC_DIGITAL_VOLUME_RIGHT   0x1F
 
#define WM8903_DAC_DIGITAL_0   0x20
 
#define WM8903_DAC_DIGITAL_1   0x21
 
#define WM8903_ADC_DIGITAL_VOLUME_LEFT   0x24
 
#define WM8903_ADC_DIGITAL_VOLUME_RIGHT   0x25
 
#define WM8903_ADC_DIGITAL_0   0x26
 
#define WM8903_DIGITAL_MICROPHONE_0   0x27
 
#define WM8903_DRC_0   0x28
 
#define WM8903_DRC_1   0x29
 
#define WM8903_DRC_2   0x2A
 
#define WM8903_DRC_3   0x2B
 
#define WM8903_ANALOGUE_LEFT_INPUT_0   0x2C
 
#define WM8903_ANALOGUE_RIGHT_INPUT_0   0x2D
 
#define WM8903_ANALOGUE_LEFT_INPUT_1   0x2E
 
#define WM8903_ANALOGUE_RIGHT_INPUT_1   0x2F
 
#define WM8903_ANALOGUE_LEFT_MIX_0   0x32
 
#define WM8903_ANALOGUE_RIGHT_MIX_0   0x33
 
#define WM8903_ANALOGUE_SPK_MIX_LEFT_0   0x34
 
#define WM8903_ANALOGUE_SPK_MIX_LEFT_1   0x35
 
#define WM8903_ANALOGUE_SPK_MIX_RIGHT_0   0x36
 
#define WM8903_ANALOGUE_SPK_MIX_RIGHT_1   0x37
 
#define WM8903_ANALOGUE_OUT1_LEFT   0x39
 
#define WM8903_ANALOGUE_OUT1_RIGHT   0x3A
 
#define WM8903_ANALOGUE_OUT2_LEFT   0x3B
 
#define WM8903_ANALOGUE_OUT2_RIGHT   0x3C
 
#define WM8903_ANALOGUE_OUT3_LEFT   0x3E
 
#define WM8903_ANALOGUE_OUT3_RIGHT   0x3F
 
#define WM8903_ANALOGUE_SPK_OUTPUT_CONTROL_0   0x41
 
#define WM8903_DC_SERVO_0   0x43
 
#define WM8903_DC_SERVO_2   0x45
 
#define WM8903_DC_SERVO_4   0x47
 
#define WM8903_DC_SERVO_5   0x48
 
#define WM8903_DC_SERVO_6   0x49
 
#define WM8903_DC_SERVO_7   0x4A
 
#define WM8903_DC_SERVO_READBACK_1   0x51
 
#define WM8903_DC_SERVO_READBACK_2   0x52
 
#define WM8903_DC_SERVO_READBACK_3   0x53
 
#define WM8903_DC_SERVO_READBACK_4   0x54
 
#define WM8903_ANALOGUE_HP_0   0x5A
 
#define WM8903_ANALOGUE_LINEOUT_0   0x5E
 
#define WM8903_CHARGE_PUMP_0   0x62
 
#define WM8903_CLASS_W_0   0x68
 
#define WM8903_WRITE_SEQUENCER_0   0x6C
 
#define WM8903_WRITE_SEQUENCER_1   0x6D
 
#define WM8903_WRITE_SEQUENCER_2   0x6E
 
#define WM8903_WRITE_SEQUENCER_3   0x6F
 
#define WM8903_WRITE_SEQUENCER_4   0x70
 
#define WM8903_CONTROL_INTERFACE   0x72
 
#define WM8903_GPIO_CONTROL_1   0x74
 
#define WM8903_GPIO_CONTROL_2   0x75
 
#define WM8903_GPIO_CONTROL_3   0x76
 
#define WM8903_GPIO_CONTROL_4   0x77
 
#define WM8903_GPIO_CONTROL_5   0x78
 
#define WM8903_INTERRUPT_STATUS_1   0x79
 
#define WM8903_INTERRUPT_STATUS_1_MASK   0x7A
 
#define WM8903_INTERRUPT_POLARITY_1   0x7B
 
#define WM8903_INTERRUPT_CONTROL   0x7E
 
#define WM8903_CLOCK_RATE_TEST_4   0xA4
 
#define WM8903_ANALOGUE_OUTPUT_BIAS_0   0xAC
 
#define WM8903_REGISTER_COUNT   75
 
#define WM8903_MAX_REGISTER   0xAC
 
#define WM8903_SW_RESET_DEV_ID1_MASK   0xFFFF /* SW_RESET_DEV_ID1 - [15:0] */
 
#define WM8903_SW_RESET_DEV_ID1_SHIFT   0 /* SW_RESET_DEV_ID1 - [15:0] */
 
#define WM8903_SW_RESET_DEV_ID1_WIDTH   16 /* SW_RESET_DEV_ID1 - [15:0] */
 
#define WM8903_CHIP_REV_MASK   0x000F /* CHIP_REV - [3:0] */
 
#define WM8903_CHIP_REV_SHIFT   0 /* CHIP_REV - [3:0] */
 
#define WM8903_CHIP_REV_WIDTH   4 /* CHIP_REV - [3:0] */
 
#define WM8903_POBCTRL   0x0010 /* POBCTRL */
 
#define WM8903_POBCTRL_MASK   0x0010 /* POBCTRL */
 
#define WM8903_POBCTRL_SHIFT   4 /* POBCTRL */
 
#define WM8903_POBCTRL_WIDTH   1 /* POBCTRL */
 
#define WM8903_ISEL_MASK   0x000C /* ISEL - [3:2] */
 
#define WM8903_ISEL_SHIFT   2 /* ISEL - [3:2] */
 
#define WM8903_ISEL_WIDTH   2 /* ISEL - [3:2] */
 
#define WM8903_STARTUP_BIAS_ENA   0x0002 /* STARTUP_BIAS_ENA */
 
#define WM8903_STARTUP_BIAS_ENA_MASK   0x0002 /* STARTUP_BIAS_ENA */
 
#define WM8903_STARTUP_BIAS_ENA_SHIFT   1 /* STARTUP_BIAS_ENA */
 
#define WM8903_STARTUP_BIAS_ENA_WIDTH   1 /* STARTUP_BIAS_ENA */
 
#define WM8903_BIAS_ENA   0x0001 /* BIAS_ENA */
 
#define WM8903_BIAS_ENA_MASK   0x0001 /* BIAS_ENA */
 
#define WM8903_BIAS_ENA_SHIFT   0 /* BIAS_ENA */
 
#define WM8903_BIAS_ENA_WIDTH   1 /* BIAS_ENA */
 
#define WM8903_VMID_TIE_ENA   0x0080 /* VMID_TIE_ENA */
 
#define WM8903_VMID_TIE_ENA_MASK   0x0080 /* VMID_TIE_ENA */
 
#define WM8903_VMID_TIE_ENA_SHIFT   7 /* VMID_TIE_ENA */
 
#define WM8903_VMID_TIE_ENA_WIDTH   1 /* VMID_TIE_ENA */
 
#define WM8903_BUFIO_ENA   0x0040 /* BUFIO_ENA */
 
#define WM8903_BUFIO_ENA_MASK   0x0040 /* BUFIO_ENA */
 
#define WM8903_BUFIO_ENA_SHIFT   6 /* BUFIO_ENA */
 
#define WM8903_BUFIO_ENA_WIDTH   1 /* BUFIO_ENA */
 
#define WM8903_VMID_IO_ENA   0x0020 /* VMID_IO_ENA */
 
#define WM8903_VMID_IO_ENA_MASK   0x0020 /* VMID_IO_ENA */
 
#define WM8903_VMID_IO_ENA_SHIFT   5 /* VMID_IO_ENA */
 
#define WM8903_VMID_IO_ENA_WIDTH   1 /* VMID_IO_ENA */
 
#define WM8903_VMID_SOFT_MASK   0x0018 /* VMID_SOFT - [4:3] */
 
#define WM8903_VMID_SOFT_SHIFT   3 /* VMID_SOFT - [4:3] */
 
#define WM8903_VMID_SOFT_WIDTH   2 /* VMID_SOFT - [4:3] */
 
#define WM8903_VMID_RES_MASK   0x0006 /* VMID_RES - [2:1] */
 
#define WM8903_VMID_RES_SHIFT   1 /* VMID_RES - [2:1] */
 
#define WM8903_VMID_RES_WIDTH   2 /* VMID_RES - [2:1] */
 
#define WM8903_VMID_BUF_ENA   0x0001 /* VMID_BUF_ENA */
 
#define WM8903_VMID_BUF_ENA_MASK   0x0001 /* VMID_BUF_ENA */
 
#define WM8903_VMID_BUF_ENA_SHIFT   0 /* VMID_BUF_ENA */
 
#define WM8903_VMID_BUF_ENA_WIDTH   1 /* VMID_BUF_ENA */
 
#define WM8903_VMID_RES_50K   2
 
#define WM8903_VMID_RES_250K   3
 
#define WM8903_VMID_RES_5K   6
 
#define WM8903_DACBIAS_SEL_MASK   0x0018 /* DACBIAS_SEL - [4:3] */
 
#define WM8903_DACBIAS_SEL_SHIFT   3 /* DACBIAS_SEL - [4:3] */
 
#define WM8903_DACBIAS_SEL_WIDTH   2 /* DACBIAS_SEL - [4:3] */
 
#define WM8903_DACVMID_BIAS_SEL_MASK   0x0006 /* DACVMID_BIAS_SEL - [2:1] */
 
#define WM8903_DACVMID_BIAS_SEL_SHIFT   1 /* DACVMID_BIAS_SEL - [2:1] */
 
#define WM8903_DACVMID_BIAS_SEL_WIDTH   2 /* DACVMID_BIAS_SEL - [2:1] */
 
#define WM8903_ADC_OSR128   0x0001 /* ADC_OSR128 */
 
#define WM8903_ADC_OSR128_MASK   0x0001 /* ADC_OSR128 */
 
#define WM8903_ADC_OSR128_SHIFT   0 /* ADC_OSR128 */
 
#define WM8903_ADC_OSR128_WIDTH   1 /* ADC_OSR128 */
 
#define WM8903_INL_ENA   0x0002 /* INL_ENA */
 
#define WM8903_INL_ENA_MASK   0x0002 /* INL_ENA */
 
#define WM8903_INL_ENA_SHIFT   1 /* INL_ENA */
 
#define WM8903_INL_ENA_WIDTH   1 /* INL_ENA */
 
#define WM8903_INR_ENA   0x0001 /* INR_ENA */
 
#define WM8903_INR_ENA_MASK   0x0001 /* INR_ENA */
 
#define WM8903_INR_ENA_SHIFT   0 /* INR_ENA */
 
#define WM8903_INR_ENA_WIDTH   1 /* INR_ENA */
 
#define WM8903_MIXOUTL_ENA   0x0002 /* MIXOUTL_ENA */
 
#define WM8903_MIXOUTL_ENA_MASK   0x0002 /* MIXOUTL_ENA */
 
#define WM8903_MIXOUTL_ENA_SHIFT   1 /* MIXOUTL_ENA */
 
#define WM8903_MIXOUTL_ENA_WIDTH   1 /* MIXOUTL_ENA */
 
#define WM8903_MIXOUTR_ENA   0x0001 /* MIXOUTR_ENA */
 
#define WM8903_MIXOUTR_ENA_MASK   0x0001 /* MIXOUTR_ENA */
 
#define WM8903_MIXOUTR_ENA_SHIFT   0 /* MIXOUTR_ENA */
 
#define WM8903_MIXOUTR_ENA_WIDTH   1 /* MIXOUTR_ENA */
 
#define WM8903_HPL_PGA_ENA   0x0002 /* HPL_PGA_ENA */
 
#define WM8903_HPL_PGA_ENA_MASK   0x0002 /* HPL_PGA_ENA */
 
#define WM8903_HPL_PGA_ENA_SHIFT   1 /* HPL_PGA_ENA */
 
#define WM8903_HPL_PGA_ENA_WIDTH   1 /* HPL_PGA_ENA */
 
#define WM8903_HPR_PGA_ENA   0x0001 /* HPR_PGA_ENA */
 
#define WM8903_HPR_PGA_ENA_MASK   0x0001 /* HPR_PGA_ENA */
 
#define WM8903_HPR_PGA_ENA_SHIFT   0 /* HPR_PGA_ENA */
 
#define WM8903_HPR_PGA_ENA_WIDTH   1 /* HPR_PGA_ENA */
 
#define WM8903_LINEOUTL_PGA_ENA   0x0002 /* LINEOUTL_PGA_ENA */
 
#define WM8903_LINEOUTL_PGA_ENA_MASK   0x0002 /* LINEOUTL_PGA_ENA */
 
#define WM8903_LINEOUTL_PGA_ENA_SHIFT   1 /* LINEOUTL_PGA_ENA */
 
#define WM8903_LINEOUTL_PGA_ENA_WIDTH   1 /* LINEOUTL_PGA_ENA */
 
#define WM8903_LINEOUTR_PGA_ENA   0x0001 /* LINEOUTR_PGA_ENA */
 
#define WM8903_LINEOUTR_PGA_ENA_MASK   0x0001 /* LINEOUTR_PGA_ENA */
 
#define WM8903_LINEOUTR_PGA_ENA_SHIFT   0 /* LINEOUTR_PGA_ENA */
 
#define WM8903_LINEOUTR_PGA_ENA_WIDTH   1 /* LINEOUTR_PGA_ENA */
 
#define WM8903_MIXSPKL_ENA   0x0002 /* MIXSPKL_ENA */
 
#define WM8903_MIXSPKL_ENA_MASK   0x0002 /* MIXSPKL_ENA */
 
#define WM8903_MIXSPKL_ENA_SHIFT   1 /* MIXSPKL_ENA */
 
#define WM8903_MIXSPKL_ENA_WIDTH   1 /* MIXSPKL_ENA */
 
#define WM8903_MIXSPKR_ENA   0x0001 /* MIXSPKR_ENA */
 
#define WM8903_MIXSPKR_ENA_MASK   0x0001 /* MIXSPKR_ENA */
 
#define WM8903_MIXSPKR_ENA_SHIFT   0 /* MIXSPKR_ENA */
 
#define WM8903_MIXSPKR_ENA_WIDTH   1 /* MIXSPKR_ENA */
 
#define WM8903_SPKL_ENA   0x0002 /* SPKL_ENA */
 
#define WM8903_SPKL_ENA_MASK   0x0002 /* SPKL_ENA */
 
#define WM8903_SPKL_ENA_SHIFT   1 /* SPKL_ENA */
 
#define WM8903_SPKL_ENA_WIDTH   1 /* SPKL_ENA */
 
#define WM8903_SPKR_ENA   0x0001 /* SPKR_ENA */
 
#define WM8903_SPKR_ENA_MASK   0x0001 /* SPKR_ENA */
 
#define WM8903_SPKR_ENA_SHIFT   0 /* SPKR_ENA */
 
#define WM8903_SPKR_ENA_WIDTH   1 /* SPKR_ENA */
 
#define WM8903_DACL_ENA   0x0008 /* DACL_ENA */
 
#define WM8903_DACL_ENA_MASK   0x0008 /* DACL_ENA */
 
#define WM8903_DACL_ENA_SHIFT   3 /* DACL_ENA */
 
#define WM8903_DACL_ENA_WIDTH   1 /* DACL_ENA */
 
#define WM8903_DACR_ENA   0x0004 /* DACR_ENA */
 
#define WM8903_DACR_ENA_MASK   0x0004 /* DACR_ENA */
 
#define WM8903_DACR_ENA_SHIFT   2 /* DACR_ENA */
 
#define WM8903_DACR_ENA_WIDTH   1 /* DACR_ENA */
 
#define WM8903_ADCL_ENA   0x0002 /* ADCL_ENA */
 
#define WM8903_ADCL_ENA_MASK   0x0002 /* ADCL_ENA */
 
#define WM8903_ADCL_ENA_SHIFT   1 /* ADCL_ENA */
 
#define WM8903_ADCL_ENA_WIDTH   1 /* ADCL_ENA */
 
#define WM8903_ADCR_ENA   0x0001 /* ADCR_ENA */
 
#define WM8903_ADCR_ENA_MASK   0x0001 /* ADCR_ENA */
 
#define WM8903_ADCR_ENA_SHIFT   0 /* ADCR_ENA */
 
#define WM8903_ADCR_ENA_WIDTH   1 /* ADCR_ENA */
 
#define WM8903_MCLKDIV2   0x0001 /* MCLKDIV2 */
 
#define WM8903_MCLKDIV2_MASK   0x0001 /* MCLKDIV2 */
 
#define WM8903_MCLKDIV2_SHIFT   0 /* MCLKDIV2 */
 
#define WM8903_MCLKDIV2_WIDTH   1 /* MCLKDIV2 */
 
#define WM8903_CLK_SYS_RATE_MASK   0x3C00 /* CLK_SYS_RATE - [13:10] */
 
#define WM8903_CLK_SYS_RATE_SHIFT   10 /* CLK_SYS_RATE - [13:10] */
 
#define WM8903_CLK_SYS_RATE_WIDTH   4 /* CLK_SYS_RATE - [13:10] */
 
#define WM8903_CLK_SYS_MODE_MASK   0x0300 /* CLK_SYS_MODE - [9:8] */
 
#define WM8903_CLK_SYS_MODE_SHIFT   8 /* CLK_SYS_MODE - [9:8] */
 
#define WM8903_CLK_SYS_MODE_WIDTH   2 /* CLK_SYS_MODE - [9:8] */
 
#define WM8903_SAMPLE_RATE_MASK   0x000F /* SAMPLE_RATE - [3:0] */
 
#define WM8903_SAMPLE_RATE_SHIFT   0 /* SAMPLE_RATE - [3:0] */
 
#define WM8903_SAMPLE_RATE_WIDTH   4 /* SAMPLE_RATE - [3:0] */
 
#define WM8903_CLK_SYS_ENA   0x0004 /* CLK_SYS_ENA */
 
#define WM8903_CLK_SYS_ENA_MASK   0x0004 /* CLK_SYS_ENA */
 
#define WM8903_CLK_SYS_ENA_SHIFT   2 /* CLK_SYS_ENA */
 
#define WM8903_CLK_SYS_ENA_WIDTH   1 /* CLK_SYS_ENA */
 
#define WM8903_CLK_DSP_ENA   0x0002 /* CLK_DSP_ENA */
 
#define WM8903_CLK_DSP_ENA_MASK   0x0002 /* CLK_DSP_ENA */
 
#define WM8903_CLK_DSP_ENA_SHIFT   1 /* CLK_DSP_ENA */
 
#define WM8903_CLK_DSP_ENA_WIDTH   1 /* CLK_DSP_ENA */
 
#define WM8903_TO_ENA   0x0001 /* TO_ENA */
 
#define WM8903_TO_ENA_MASK   0x0001 /* TO_ENA */
 
#define WM8903_TO_ENA_SHIFT   0 /* TO_ENA */
 
#define WM8903_TO_ENA_WIDTH   1 /* TO_ENA */
 
#define WM8903_DACL_DATINV   0x1000 /* DACL_DATINV */
 
#define WM8903_DACL_DATINV_MASK   0x1000 /* DACL_DATINV */
 
#define WM8903_DACL_DATINV_SHIFT   12 /* DACL_DATINV */
 
#define WM8903_DACL_DATINV_WIDTH   1 /* DACL_DATINV */
 
#define WM8903_DACR_DATINV   0x0800 /* DACR_DATINV */
 
#define WM8903_DACR_DATINV_MASK   0x0800 /* DACR_DATINV */
 
#define WM8903_DACR_DATINV_SHIFT   11 /* DACR_DATINV */
 
#define WM8903_DACR_DATINV_WIDTH   1 /* DACR_DATINV */
 
#define WM8903_DAC_BOOST_MASK   0x0600 /* DAC_BOOST - [10:9] */
 
#define WM8903_DAC_BOOST_SHIFT   9 /* DAC_BOOST - [10:9] */
 
#define WM8903_DAC_BOOST_WIDTH   2 /* DAC_BOOST - [10:9] */
 
#define WM8903_LOOPBACK   0x0100 /* LOOPBACK */
 
#define WM8903_LOOPBACK_MASK   0x0100 /* LOOPBACK */
 
#define WM8903_LOOPBACK_SHIFT   8 /* LOOPBACK */
 
#define WM8903_LOOPBACK_WIDTH   1 /* LOOPBACK */
 
#define WM8903_AIFADCL_SRC   0x0080 /* AIFADCL_SRC */
 
#define WM8903_AIFADCL_SRC_MASK   0x0080 /* AIFADCL_SRC */
 
#define WM8903_AIFADCL_SRC_SHIFT   7 /* AIFADCL_SRC */
 
#define WM8903_AIFADCL_SRC_WIDTH   1 /* AIFADCL_SRC */
 
#define WM8903_AIFADCR_SRC   0x0040 /* AIFADCR_SRC */
 
#define WM8903_AIFADCR_SRC_MASK   0x0040 /* AIFADCR_SRC */
 
#define WM8903_AIFADCR_SRC_SHIFT   6 /* AIFADCR_SRC */
 
#define WM8903_AIFADCR_SRC_WIDTH   1 /* AIFADCR_SRC */
 
#define WM8903_AIFDACL_SRC   0x0020 /* AIFDACL_SRC */
 
#define WM8903_AIFDACL_SRC_MASK   0x0020 /* AIFDACL_SRC */
 
#define WM8903_AIFDACL_SRC_SHIFT   5 /* AIFDACL_SRC */
 
#define WM8903_AIFDACL_SRC_WIDTH   1 /* AIFDACL_SRC */
 
#define WM8903_AIFDACR_SRC   0x0010 /* AIFDACR_SRC */
 
#define WM8903_AIFDACR_SRC_MASK   0x0010 /* AIFDACR_SRC */
 
#define WM8903_AIFDACR_SRC_SHIFT   4 /* AIFDACR_SRC */
 
#define WM8903_AIFDACR_SRC_WIDTH   1 /* AIFDACR_SRC */
 
#define WM8903_ADC_COMP   0x0008 /* ADC_COMP */
 
#define WM8903_ADC_COMP_MASK   0x0008 /* ADC_COMP */
 
#define WM8903_ADC_COMP_SHIFT   3 /* ADC_COMP */
 
#define WM8903_ADC_COMP_WIDTH   1 /* ADC_COMP */
 
#define WM8903_ADC_COMPMODE   0x0004 /* ADC_COMPMODE */
 
#define WM8903_ADC_COMPMODE_MASK   0x0004 /* ADC_COMPMODE */
 
#define WM8903_ADC_COMPMODE_SHIFT   2 /* ADC_COMPMODE */
 
#define WM8903_ADC_COMPMODE_WIDTH   1 /* ADC_COMPMODE */
 
#define WM8903_DAC_COMP   0x0002 /* DAC_COMP */
 
#define WM8903_DAC_COMP_MASK   0x0002 /* DAC_COMP */
 
#define WM8903_DAC_COMP_SHIFT   1 /* DAC_COMP */
 
#define WM8903_DAC_COMP_WIDTH   1 /* DAC_COMP */
 
#define WM8903_DAC_COMPMODE   0x0001 /* DAC_COMPMODE */
 
#define WM8903_DAC_COMPMODE_MASK   0x0001 /* DAC_COMPMODE */
 
#define WM8903_DAC_COMPMODE_SHIFT   0 /* DAC_COMPMODE */
 
#define WM8903_DAC_COMPMODE_WIDTH   1 /* DAC_COMPMODE */
 
#define WM8903_AIFDAC_TDM   0x2000 /* AIFDAC_TDM */
 
#define WM8903_AIFDAC_TDM_MASK   0x2000 /* AIFDAC_TDM */
 
#define WM8903_AIFDAC_TDM_SHIFT   13 /* AIFDAC_TDM */
 
#define WM8903_AIFDAC_TDM_WIDTH   1 /* AIFDAC_TDM */
 
#define WM8903_AIFDAC_TDM_CHAN   0x1000 /* AIFDAC_TDM_CHAN */
 
#define WM8903_AIFDAC_TDM_CHAN_MASK   0x1000 /* AIFDAC_TDM_CHAN */
 
#define WM8903_AIFDAC_TDM_CHAN_SHIFT   12 /* AIFDAC_TDM_CHAN */
 
#define WM8903_AIFDAC_TDM_CHAN_WIDTH   1 /* AIFDAC_TDM_CHAN */
 
#define WM8903_AIFADC_TDM   0x0800 /* AIFADC_TDM */
 
#define WM8903_AIFADC_TDM_MASK   0x0800 /* AIFADC_TDM */
 
#define WM8903_AIFADC_TDM_SHIFT   11 /* AIFADC_TDM */
 
#define WM8903_AIFADC_TDM_WIDTH   1 /* AIFADC_TDM */
 
#define WM8903_AIFADC_TDM_CHAN   0x0400 /* AIFADC_TDM_CHAN */
 
#define WM8903_AIFADC_TDM_CHAN_MASK   0x0400 /* AIFADC_TDM_CHAN */
 
#define WM8903_AIFADC_TDM_CHAN_SHIFT   10 /* AIFADC_TDM_CHAN */
 
#define WM8903_AIFADC_TDM_CHAN_WIDTH   1 /* AIFADC_TDM_CHAN */
 
#define WM8903_LRCLK_DIR   0x0200 /* LRCLK_DIR */
 
#define WM8903_LRCLK_DIR_MASK   0x0200 /* LRCLK_DIR */
 
#define WM8903_LRCLK_DIR_SHIFT   9 /* LRCLK_DIR */
 
#define WM8903_LRCLK_DIR_WIDTH   1 /* LRCLK_DIR */
 
#define WM8903_AIF_BCLK_INV   0x0080 /* AIF_BCLK_INV */
 
#define WM8903_AIF_BCLK_INV_MASK   0x0080 /* AIF_BCLK_INV */
 
#define WM8903_AIF_BCLK_INV_SHIFT   7 /* AIF_BCLK_INV */
 
#define WM8903_AIF_BCLK_INV_WIDTH   1 /* AIF_BCLK_INV */
 
#define WM8903_BCLK_DIR   0x0040 /* BCLK_DIR */
 
#define WM8903_BCLK_DIR_MASK   0x0040 /* BCLK_DIR */
 
#define WM8903_BCLK_DIR_SHIFT   6 /* BCLK_DIR */
 
#define WM8903_BCLK_DIR_WIDTH   1 /* BCLK_DIR */
 
#define WM8903_AIF_LRCLK_INV   0x0010 /* AIF_LRCLK_INV */
 
#define WM8903_AIF_LRCLK_INV_MASK   0x0010 /* AIF_LRCLK_INV */
 
#define WM8903_AIF_LRCLK_INV_SHIFT   4 /* AIF_LRCLK_INV */
 
#define WM8903_AIF_LRCLK_INV_WIDTH   1 /* AIF_LRCLK_INV */
 
#define WM8903_AIF_WL_MASK   0x000C /* AIF_WL - [3:2] */
 
#define WM8903_AIF_WL_SHIFT   2 /* AIF_WL - [3:2] */
 
#define WM8903_AIF_WL_WIDTH   2 /* AIF_WL - [3:2] */
 
#define WM8903_AIF_FMT_MASK   0x0003 /* AIF_FMT - [1:0] */
 
#define WM8903_AIF_FMT_SHIFT   0 /* AIF_FMT - [1:0] */
 
#define WM8903_AIF_FMT_WIDTH   2 /* AIF_FMT - [1:0] */
 
#define WM8903_BCLK_DIV_MASK   0x001F /* BCLK_DIV - [4:0] */
 
#define WM8903_BCLK_DIV_SHIFT   0 /* BCLK_DIV - [4:0] */
 
#define WM8903_BCLK_DIV_WIDTH   5 /* BCLK_DIV - [4:0] */
 
#define WM8903_LRCLK_RATE_MASK   0x07FF /* LRCLK_RATE - [10:0] */
 
#define WM8903_LRCLK_RATE_SHIFT   0 /* LRCLK_RATE - [10:0] */
 
#define WM8903_LRCLK_RATE_WIDTH   11 /* LRCLK_RATE - [10:0] */
 
#define WM8903_DACVU   0x0100 /* DACVU */
 
#define WM8903_DACVU_MASK   0x0100 /* DACVU */
 
#define WM8903_DACVU_SHIFT   8 /* DACVU */
 
#define WM8903_DACVU_WIDTH   1 /* DACVU */
 
#define WM8903_DACL_VOL_MASK   0x00FF /* DACL_VOL - [7:0] */
 
#define WM8903_DACL_VOL_SHIFT   0 /* DACL_VOL - [7:0] */
 
#define WM8903_DACL_VOL_WIDTH   8 /* DACL_VOL - [7:0] */
 
#define WM8903_DACVU   0x0100 /* DACVU */
 
#define WM8903_DACVU_MASK   0x0100 /* DACVU */
 
#define WM8903_DACVU_SHIFT   8 /* DACVU */
 
#define WM8903_DACVU_WIDTH   1 /* DACVU */
 
#define WM8903_DACR_VOL_MASK   0x00FF /* DACR_VOL - [7:0] */
 
#define WM8903_DACR_VOL_SHIFT   0 /* DACR_VOL - [7:0] */
 
#define WM8903_DACR_VOL_WIDTH   8 /* DACR_VOL - [7:0] */
 
#define WM8903_ADCL_DAC_SVOL_MASK   0x0F00 /* ADCL_DAC_SVOL - [11:8] */
 
#define WM8903_ADCL_DAC_SVOL_SHIFT   8 /* ADCL_DAC_SVOL - [11:8] */
 
#define WM8903_ADCL_DAC_SVOL_WIDTH   4 /* ADCL_DAC_SVOL - [11:8] */
 
#define WM8903_ADCR_DAC_SVOL_MASK   0x00F0 /* ADCR_DAC_SVOL - [7:4] */
 
#define WM8903_ADCR_DAC_SVOL_SHIFT   4 /* ADCR_DAC_SVOL - [7:4] */
 
#define WM8903_ADCR_DAC_SVOL_WIDTH   4 /* ADCR_DAC_SVOL - [7:4] */
 
#define WM8903_ADC_TO_DACL_MASK   0x000C /* ADC_TO_DACL - [3:2] */
 
#define WM8903_ADC_TO_DACL_SHIFT   2 /* ADC_TO_DACL - [3:2] */
 
#define WM8903_ADC_TO_DACL_WIDTH   2 /* ADC_TO_DACL - [3:2] */
 
#define WM8903_ADC_TO_DACR_MASK   0x0003 /* ADC_TO_DACR - [1:0] */
 
#define WM8903_ADC_TO_DACR_SHIFT   0 /* ADC_TO_DACR - [1:0] */
 
#define WM8903_ADC_TO_DACR_WIDTH   2 /* ADC_TO_DACR - [1:0] */
 
#define WM8903_DAC_MONO   0x1000 /* DAC_MONO */
 
#define WM8903_DAC_MONO_MASK   0x1000 /* DAC_MONO */
 
#define WM8903_DAC_MONO_SHIFT   12 /* DAC_MONO */
 
#define WM8903_DAC_MONO_WIDTH   1 /* DAC_MONO */
 
#define WM8903_DAC_SB_FILT   0x0800 /* DAC_SB_FILT */
 
#define WM8903_DAC_SB_FILT_MASK   0x0800 /* DAC_SB_FILT */
 
#define WM8903_DAC_SB_FILT_SHIFT   11 /* DAC_SB_FILT */
 
#define WM8903_DAC_SB_FILT_WIDTH   1 /* DAC_SB_FILT */
 
#define WM8903_DAC_MUTERATE   0x0400 /* DAC_MUTERATE */
 
#define WM8903_DAC_MUTERATE_MASK   0x0400 /* DAC_MUTERATE */
 
#define WM8903_DAC_MUTERATE_SHIFT   10 /* DAC_MUTERATE */
 
#define WM8903_DAC_MUTERATE_WIDTH   1 /* DAC_MUTERATE */
 
#define WM8903_DAC_MUTEMODE   0x0200 /* DAC_MUTEMODE */
 
#define WM8903_DAC_MUTEMODE_MASK   0x0200 /* DAC_MUTEMODE */
 
#define WM8903_DAC_MUTEMODE_SHIFT   9 /* DAC_MUTEMODE */
 
#define WM8903_DAC_MUTEMODE_WIDTH   1 /* DAC_MUTEMODE */
 
#define WM8903_DAC_MUTE   0x0008 /* DAC_MUTE */
 
#define WM8903_DAC_MUTE_MASK   0x0008 /* DAC_MUTE */
 
#define WM8903_DAC_MUTE_SHIFT   3 /* DAC_MUTE */
 
#define WM8903_DAC_MUTE_WIDTH   1 /* DAC_MUTE */
 
#define WM8903_DEEMPH_MASK   0x0006 /* DEEMPH - [2:1] */
 
#define WM8903_DEEMPH_SHIFT   1 /* DEEMPH - [2:1] */
 
#define WM8903_DEEMPH_WIDTH   2 /* DEEMPH - [2:1] */
 
#define WM8903_ADCVU   0x0100 /* ADCVU */
 
#define WM8903_ADCVU_MASK   0x0100 /* ADCVU */
 
#define WM8903_ADCVU_SHIFT   8 /* ADCVU */
 
#define WM8903_ADCVU_WIDTH   1 /* ADCVU */
 
#define WM8903_ADCL_VOL_MASK   0x00FF /* ADCL_VOL - [7:0] */
 
#define WM8903_ADCL_VOL_SHIFT   0 /* ADCL_VOL - [7:0] */
 
#define WM8903_ADCL_VOL_WIDTH   8 /* ADCL_VOL - [7:0] */
 
#define WM8903_ADCVU   0x0100 /* ADCVU */
 
#define WM8903_ADCVU_MASK   0x0100 /* ADCVU */
 
#define WM8903_ADCVU_SHIFT   8 /* ADCVU */
 
#define WM8903_ADCVU_WIDTH   1 /* ADCVU */
 
#define WM8903_ADCR_VOL_MASK   0x00FF /* ADCR_VOL - [7:0] */
 
#define WM8903_ADCR_VOL_SHIFT   0 /* ADCR_VOL - [7:0] */
 
#define WM8903_ADCR_VOL_WIDTH   8 /* ADCR_VOL - [7:0] */
 
#define WM8903_ADC_HPF_CUT_MASK   0x0060 /* ADC_HPF_CUT - [6:5] */
 
#define WM8903_ADC_HPF_CUT_SHIFT   5 /* ADC_HPF_CUT - [6:5] */
 
#define WM8903_ADC_HPF_CUT_WIDTH   2 /* ADC_HPF_CUT - [6:5] */
 
#define WM8903_ADC_HPF_ENA   0x0010 /* ADC_HPF_ENA */
 
#define WM8903_ADC_HPF_ENA_MASK   0x0010 /* ADC_HPF_ENA */
 
#define WM8903_ADC_HPF_ENA_SHIFT   4 /* ADC_HPF_ENA */
 
#define WM8903_ADC_HPF_ENA_WIDTH   1 /* ADC_HPF_ENA */
 
#define WM8903_ADCL_DATINV   0x0002 /* ADCL_DATINV */
 
#define WM8903_ADCL_DATINV_MASK   0x0002 /* ADCL_DATINV */
 
#define WM8903_ADCL_DATINV_SHIFT   1 /* ADCL_DATINV */
 
#define WM8903_ADCL_DATINV_WIDTH   1 /* ADCL_DATINV */
 
#define WM8903_ADCR_DATINV   0x0001 /* ADCR_DATINV */
 
#define WM8903_ADCR_DATINV_MASK   0x0001 /* ADCR_DATINV */
 
#define WM8903_ADCR_DATINV_SHIFT   0 /* ADCR_DATINV */
 
#define WM8903_ADCR_DATINV_WIDTH   1 /* ADCR_DATINV */
 
#define WM8903_DIGMIC_MODE_SEL   0x0100 /* DIGMIC_MODE_SEL */
 
#define WM8903_DIGMIC_MODE_SEL_MASK   0x0100 /* DIGMIC_MODE_SEL */
 
#define WM8903_DIGMIC_MODE_SEL_SHIFT   8 /* DIGMIC_MODE_SEL */
 
#define WM8903_DIGMIC_MODE_SEL_WIDTH   1 /* DIGMIC_MODE_SEL */
 
#define WM8903_DIGMIC_CLK_SEL_L_MASK   0x00C0 /* DIGMIC_CLK_SEL_L - [7:6] */
 
#define WM8903_DIGMIC_CLK_SEL_L_SHIFT   6 /* DIGMIC_CLK_SEL_L - [7:6] */
 
#define WM8903_DIGMIC_CLK_SEL_L_WIDTH   2 /* DIGMIC_CLK_SEL_L - [7:6] */
 
#define WM8903_DIGMIC_CLK_SEL_R_MASK   0x0030 /* DIGMIC_CLK_SEL_R - [5:4] */
 
#define WM8903_DIGMIC_CLK_SEL_R_SHIFT   4 /* DIGMIC_CLK_SEL_R - [5:4] */
 
#define WM8903_DIGMIC_CLK_SEL_R_WIDTH   2 /* DIGMIC_CLK_SEL_R - [5:4] */
 
#define WM8903_DIGMIC_CLK_SEL_RT_MASK   0x000C /* DIGMIC_CLK_SEL_RT - [3:2] */
 
#define WM8903_DIGMIC_CLK_SEL_RT_SHIFT   2 /* DIGMIC_CLK_SEL_RT - [3:2] */
 
#define WM8903_DIGMIC_CLK_SEL_RT_WIDTH   2 /* DIGMIC_CLK_SEL_RT - [3:2] */
 
#define WM8903_DIGMIC_CLK_SEL_MASK   0x0003 /* DIGMIC_CLK_SEL - [1:0] */
 
#define WM8903_DIGMIC_CLK_SEL_SHIFT   0 /* DIGMIC_CLK_SEL - [1:0] */
 
#define WM8903_DIGMIC_CLK_SEL_WIDTH   2 /* DIGMIC_CLK_SEL - [1:0] */
 
#define WM8903_DRC_ENA   0x8000 /* DRC_ENA */
 
#define WM8903_DRC_ENA_MASK   0x8000 /* DRC_ENA */
 
#define WM8903_DRC_ENA_SHIFT   15 /* DRC_ENA */
 
#define WM8903_DRC_ENA_WIDTH   1 /* DRC_ENA */
 
#define WM8903_DRC_THRESH_HYST_MASK   0x1800 /* DRC_THRESH_HYST - [12:11] */
 
#define WM8903_DRC_THRESH_HYST_SHIFT   11 /* DRC_THRESH_HYST - [12:11] */
 
#define WM8903_DRC_THRESH_HYST_WIDTH   2 /* DRC_THRESH_HYST - [12:11] */
 
#define WM8903_DRC_STARTUP_GAIN_MASK   0x07C0 /* DRC_STARTUP_GAIN - [10:6] */
 
#define WM8903_DRC_STARTUP_GAIN_SHIFT   6 /* DRC_STARTUP_GAIN - [10:6] */
 
#define WM8903_DRC_STARTUP_GAIN_WIDTH   5 /* DRC_STARTUP_GAIN - [10:6] */
 
#define WM8903_DRC_FF_DELAY   0x0020 /* DRC_FF_DELAY */
 
#define WM8903_DRC_FF_DELAY_MASK   0x0020 /* DRC_FF_DELAY */
 
#define WM8903_DRC_FF_DELAY_SHIFT   5 /* DRC_FF_DELAY */
 
#define WM8903_DRC_FF_DELAY_WIDTH   1 /* DRC_FF_DELAY */
 
#define WM8903_DRC_SMOOTH_ENA   0x0008 /* DRC_SMOOTH_ENA */
 
#define WM8903_DRC_SMOOTH_ENA_MASK   0x0008 /* DRC_SMOOTH_ENA */
 
#define WM8903_DRC_SMOOTH_ENA_SHIFT   3 /* DRC_SMOOTH_ENA */
 
#define WM8903_DRC_SMOOTH_ENA_WIDTH   1 /* DRC_SMOOTH_ENA */
 
#define WM8903_DRC_QR_ENA   0x0004 /* DRC_QR_ENA */
 
#define WM8903_DRC_QR_ENA_MASK   0x0004 /* DRC_QR_ENA */
 
#define WM8903_DRC_QR_ENA_SHIFT   2 /* DRC_QR_ENA */
 
#define WM8903_DRC_QR_ENA_WIDTH   1 /* DRC_QR_ENA */
 
#define WM8903_DRC_ANTICLIP_ENA   0x0002 /* DRC_ANTICLIP_ENA */
 
#define WM8903_DRC_ANTICLIP_ENA_MASK   0x0002 /* DRC_ANTICLIP_ENA */
 
#define WM8903_DRC_ANTICLIP_ENA_SHIFT   1 /* DRC_ANTICLIP_ENA */
 
#define WM8903_DRC_ANTICLIP_ENA_WIDTH   1 /* DRC_ANTICLIP_ENA */
 
#define WM8903_DRC_HYST_ENA   0x0001 /* DRC_HYST_ENA */
 
#define WM8903_DRC_HYST_ENA_MASK   0x0001 /* DRC_HYST_ENA */
 
#define WM8903_DRC_HYST_ENA_SHIFT   0 /* DRC_HYST_ENA */
 
#define WM8903_DRC_HYST_ENA_WIDTH   1 /* DRC_HYST_ENA */
 
#define WM8903_DRC_ATTACK_RATE_MASK   0xF000 /* DRC_ATTACK_RATE - [15:12] */
 
#define WM8903_DRC_ATTACK_RATE_SHIFT   12 /* DRC_ATTACK_RATE - [15:12] */
 
#define WM8903_DRC_ATTACK_RATE_WIDTH   4 /* DRC_ATTACK_RATE - [15:12] */
 
#define WM8903_DRC_DECAY_RATE_MASK   0x0F00 /* DRC_DECAY_RATE - [11:8] */
 
#define WM8903_DRC_DECAY_RATE_SHIFT   8 /* DRC_DECAY_RATE - [11:8] */
 
#define WM8903_DRC_DECAY_RATE_WIDTH   4 /* DRC_DECAY_RATE - [11:8] */
 
#define WM8903_DRC_THRESH_QR_MASK   0x00C0 /* DRC_THRESH_QR - [7:6] */
 
#define WM8903_DRC_THRESH_QR_SHIFT   6 /* DRC_THRESH_QR - [7:6] */
 
#define WM8903_DRC_THRESH_QR_WIDTH   2 /* DRC_THRESH_QR - [7:6] */
 
#define WM8903_DRC_RATE_QR_MASK   0x0030 /* DRC_RATE_QR - [5:4] */
 
#define WM8903_DRC_RATE_QR_SHIFT   4 /* DRC_RATE_QR - [5:4] */
 
#define WM8903_DRC_RATE_QR_WIDTH   2 /* DRC_RATE_QR - [5:4] */
 
#define WM8903_DRC_MINGAIN_MASK   0x000C /* DRC_MINGAIN - [3:2] */
 
#define WM8903_DRC_MINGAIN_SHIFT   2 /* DRC_MINGAIN - [3:2] */
 
#define WM8903_DRC_MINGAIN_WIDTH   2 /* DRC_MINGAIN - [3:2] */
 
#define WM8903_DRC_MAXGAIN_MASK   0x0003 /* DRC_MAXGAIN - [1:0] */
 
#define WM8903_DRC_MAXGAIN_SHIFT   0 /* DRC_MAXGAIN - [1:0] */
 
#define WM8903_DRC_MAXGAIN_WIDTH   2 /* DRC_MAXGAIN - [1:0] */
 
#define WM8903_DRC_R0_SLOPE_COMP_MASK   0x0038 /* DRC_R0_SLOPE_COMP - [5:3] */
 
#define WM8903_DRC_R0_SLOPE_COMP_SHIFT   3 /* DRC_R0_SLOPE_COMP - [5:3] */
 
#define WM8903_DRC_R0_SLOPE_COMP_WIDTH   3 /* DRC_R0_SLOPE_COMP - [5:3] */
 
#define WM8903_DRC_R1_SLOPE_COMP_MASK   0x0007 /* DRC_R1_SLOPE_COMP - [2:0] */
 
#define WM8903_DRC_R1_SLOPE_COMP_SHIFT   0 /* DRC_R1_SLOPE_COMP - [2:0] */
 
#define WM8903_DRC_R1_SLOPE_COMP_WIDTH   3 /* DRC_R1_SLOPE_COMP - [2:0] */
 
#define WM8903_DRC_THRESH_COMP_MASK   0x07E0 /* DRC_THRESH_COMP - [10:5] */
 
#define WM8903_DRC_THRESH_COMP_SHIFT   5 /* DRC_THRESH_COMP - [10:5] */
 
#define WM8903_DRC_THRESH_COMP_WIDTH   6 /* DRC_THRESH_COMP - [10:5] */
 
#define WM8903_DRC_AMP_COMP_MASK   0x001F /* DRC_AMP_COMP - [4:0] */
 
#define WM8903_DRC_AMP_COMP_SHIFT   0 /* DRC_AMP_COMP - [4:0] */
 
#define WM8903_DRC_AMP_COMP_WIDTH   5 /* DRC_AMP_COMP - [4:0] */
 
#define WM8903_LINMUTE   0x0080 /* LINMUTE */
 
#define WM8903_LINMUTE_MASK   0x0080 /* LINMUTE */
 
#define WM8903_LINMUTE_SHIFT   7 /* LINMUTE */
 
#define WM8903_LINMUTE_WIDTH   1 /* LINMUTE */
 
#define WM8903_LIN_VOL_MASK   0x001F /* LIN_VOL - [4:0] */
 
#define WM8903_LIN_VOL_SHIFT   0 /* LIN_VOL - [4:0] */
 
#define WM8903_LIN_VOL_WIDTH   5 /* LIN_VOL - [4:0] */
 
#define WM8903_RINMUTE   0x0080 /* RINMUTE */
 
#define WM8903_RINMUTE_MASK   0x0080 /* RINMUTE */
 
#define WM8903_RINMUTE_SHIFT   7 /* RINMUTE */
 
#define WM8903_RINMUTE_WIDTH   1 /* RINMUTE */
 
#define WM8903_RIN_VOL_MASK   0x001F /* RIN_VOL - [4:0] */
 
#define WM8903_RIN_VOL_SHIFT   0 /* RIN_VOL - [4:0] */
 
#define WM8903_RIN_VOL_WIDTH   5 /* RIN_VOL - [4:0] */
 
#define WM8903_INL_CM_ENA   0x0040 /* INL_CM_ENA */
 
#define WM8903_INL_CM_ENA_MASK   0x0040 /* INL_CM_ENA */
 
#define WM8903_INL_CM_ENA_SHIFT   6 /* INL_CM_ENA */
 
#define WM8903_INL_CM_ENA_WIDTH   1 /* INL_CM_ENA */
 
#define WM8903_L_IP_SEL_N_MASK   0x0030 /* L_IP_SEL_N - [5:4] */
 
#define WM8903_L_IP_SEL_N_SHIFT   4 /* L_IP_SEL_N - [5:4] */
 
#define WM8903_L_IP_SEL_N_WIDTH   2 /* L_IP_SEL_N - [5:4] */
 
#define WM8903_L_IP_SEL_P_MASK   0x000C /* L_IP_SEL_P - [3:2] */
 
#define WM8903_L_IP_SEL_P_SHIFT   2 /* L_IP_SEL_P - [3:2] */
 
#define WM8903_L_IP_SEL_P_WIDTH   2 /* L_IP_SEL_P - [3:2] */
 
#define WM8903_L_MODE_MASK   0x0003 /* L_MODE - [1:0] */
 
#define WM8903_L_MODE_SHIFT   0 /* L_MODE - [1:0] */
 
#define WM8903_L_MODE_WIDTH   2 /* L_MODE - [1:0] */
 
#define WM8903_INR_CM_ENA   0x0040 /* INR_CM_ENA */
 
#define WM8903_INR_CM_ENA_MASK   0x0040 /* INR_CM_ENA */
 
#define WM8903_INR_CM_ENA_SHIFT   6 /* INR_CM_ENA */
 
#define WM8903_INR_CM_ENA_WIDTH   1 /* INR_CM_ENA */
 
#define WM8903_R_IP_SEL_N_MASK   0x0030 /* R_IP_SEL_N - [5:4] */
 
#define WM8903_R_IP_SEL_N_SHIFT   4 /* R_IP_SEL_N - [5:4] */
 
#define WM8903_R_IP_SEL_N_WIDTH   2 /* R_IP_SEL_N - [5:4] */
 
#define WM8903_R_IP_SEL_P_MASK   0x000C /* R_IP_SEL_P - [3:2] */
 
#define WM8903_R_IP_SEL_P_SHIFT   2 /* R_IP_SEL_P - [3:2] */
 
#define WM8903_R_IP_SEL_P_WIDTH   2 /* R_IP_SEL_P - [3:2] */
 
#define WM8903_R_MODE_MASK   0x0003 /* R_MODE - [1:0] */
 
#define WM8903_R_MODE_SHIFT   0 /* R_MODE - [1:0] */
 
#define WM8903_R_MODE_WIDTH   2 /* R_MODE - [1:0] */
 
#define WM8903_DACL_TO_MIXOUTL   0x0008 /* DACL_TO_MIXOUTL */
 
#define WM8903_DACL_TO_MIXOUTL_MASK   0x0008 /* DACL_TO_MIXOUTL */
 
#define WM8903_DACL_TO_MIXOUTL_SHIFT   3 /* DACL_TO_MIXOUTL */
 
#define WM8903_DACL_TO_MIXOUTL_WIDTH   1 /* DACL_TO_MIXOUTL */
 
#define WM8903_DACR_TO_MIXOUTL   0x0004 /* DACR_TO_MIXOUTL */
 
#define WM8903_DACR_TO_MIXOUTL_MASK   0x0004 /* DACR_TO_MIXOUTL */
 
#define WM8903_DACR_TO_MIXOUTL_SHIFT   2 /* DACR_TO_MIXOUTL */
 
#define WM8903_DACR_TO_MIXOUTL_WIDTH   1 /* DACR_TO_MIXOUTL */
 
#define WM8903_BYPASSL_TO_MIXOUTL   0x0002 /* BYPASSL_TO_MIXOUTL */
 
#define WM8903_BYPASSL_TO_MIXOUTL_MASK   0x0002 /* BYPASSL_TO_MIXOUTL */
 
#define WM8903_BYPASSL_TO_MIXOUTL_SHIFT   1 /* BYPASSL_TO_MIXOUTL */
 
#define WM8903_BYPASSL_TO_MIXOUTL_WIDTH   1 /* BYPASSL_TO_MIXOUTL */
 
#define WM8903_BYPASSR_TO_MIXOUTL   0x0001 /* BYPASSR_TO_MIXOUTL */
 
#define WM8903_BYPASSR_TO_MIXOUTL_MASK   0x0001 /* BYPASSR_TO_MIXOUTL */
 
#define WM8903_BYPASSR_TO_MIXOUTL_SHIFT   0 /* BYPASSR_TO_MIXOUTL */
 
#define WM8903_BYPASSR_TO_MIXOUTL_WIDTH   1 /* BYPASSR_TO_MIXOUTL */
 
#define WM8903_DACL_TO_MIXOUTR   0x0008 /* DACL_TO_MIXOUTR */
 
#define WM8903_DACL_TO_MIXOUTR_MASK   0x0008 /* DACL_TO_MIXOUTR */
 
#define WM8903_DACL_TO_MIXOUTR_SHIFT   3 /* DACL_TO_MIXOUTR */
 
#define WM8903_DACL_TO_MIXOUTR_WIDTH   1 /* DACL_TO_MIXOUTR */
 
#define WM8903_DACR_TO_MIXOUTR   0x0004 /* DACR_TO_MIXOUTR */
 
#define WM8903_DACR_TO_MIXOUTR_MASK   0x0004 /* DACR_TO_MIXOUTR */
 
#define WM8903_DACR_TO_MIXOUTR_SHIFT   2 /* DACR_TO_MIXOUTR */
 
#define WM8903_DACR_TO_MIXOUTR_WIDTH   1 /* DACR_TO_MIXOUTR */
 
#define WM8903_BYPASSL_TO_MIXOUTR   0x0002 /* BYPASSL_TO_MIXOUTR */
 
#define WM8903_BYPASSL_TO_MIXOUTR_MASK   0x0002 /* BYPASSL_TO_MIXOUTR */
 
#define WM8903_BYPASSL_TO_MIXOUTR_SHIFT   1 /* BYPASSL_TO_MIXOUTR */
 
#define WM8903_BYPASSL_TO_MIXOUTR_WIDTH   1 /* BYPASSL_TO_MIXOUTR */
 
#define WM8903_BYPASSR_TO_MIXOUTR   0x0001 /* BYPASSR_TO_MIXOUTR */
 
#define WM8903_BYPASSR_TO_MIXOUTR_MASK   0x0001 /* BYPASSR_TO_MIXOUTR */
 
#define WM8903_BYPASSR_TO_MIXOUTR_SHIFT   0 /* BYPASSR_TO_MIXOUTR */
 
#define WM8903_BYPASSR_TO_MIXOUTR_WIDTH   1 /* BYPASSR_TO_MIXOUTR */
 
#define WM8903_DACL_TO_MIXSPKL   0x0008 /* DACL_TO_MIXSPKL */
 
#define WM8903_DACL_TO_MIXSPKL_MASK   0x0008 /* DACL_TO_MIXSPKL */
 
#define WM8903_DACL_TO_MIXSPKL_SHIFT   3 /* DACL_TO_MIXSPKL */
 
#define WM8903_DACL_TO_MIXSPKL_WIDTH   1 /* DACL_TO_MIXSPKL */
 
#define WM8903_DACR_TO_MIXSPKL   0x0004 /* DACR_TO_MIXSPKL */
 
#define WM8903_DACR_TO_MIXSPKL_MASK   0x0004 /* DACR_TO_MIXSPKL */
 
#define WM8903_DACR_TO_MIXSPKL_SHIFT   2 /* DACR_TO_MIXSPKL */
 
#define WM8903_DACR_TO_MIXSPKL_WIDTH   1 /* DACR_TO_MIXSPKL */
 
#define WM8903_BYPASSL_TO_MIXSPKL   0x0002 /* BYPASSL_TO_MIXSPKL */
 
#define WM8903_BYPASSL_TO_MIXSPKL_MASK   0x0002 /* BYPASSL_TO_MIXSPKL */
 
#define WM8903_BYPASSL_TO_MIXSPKL_SHIFT   1 /* BYPASSL_TO_MIXSPKL */
 
#define WM8903_BYPASSL_TO_MIXSPKL_WIDTH   1 /* BYPASSL_TO_MIXSPKL */
 
#define WM8903_BYPASSR_TO_MIXSPKL   0x0001 /* BYPASSR_TO_MIXSPKL */
 
#define WM8903_BYPASSR_TO_MIXSPKL_MASK   0x0001 /* BYPASSR_TO_MIXSPKL */
 
#define WM8903_BYPASSR_TO_MIXSPKL_SHIFT   0 /* BYPASSR_TO_MIXSPKL */
 
#define WM8903_BYPASSR_TO_MIXSPKL_WIDTH   1 /* BYPASSR_TO_MIXSPKL */
 
#define WM8903_DACL_MIXSPKL_VOL   0x0008 /* DACL_MIXSPKL_VOL */
 
#define WM8903_DACL_MIXSPKL_VOL_MASK   0x0008 /* DACL_MIXSPKL_VOL */
 
#define WM8903_DACL_MIXSPKL_VOL_SHIFT   3 /* DACL_MIXSPKL_VOL */
 
#define WM8903_DACL_MIXSPKL_VOL_WIDTH   1 /* DACL_MIXSPKL_VOL */
 
#define WM8903_DACR_MIXSPKL_VOL   0x0004 /* DACR_MIXSPKL_VOL */
 
#define WM8903_DACR_MIXSPKL_VOL_MASK   0x0004 /* DACR_MIXSPKL_VOL */
 
#define WM8903_DACR_MIXSPKL_VOL_SHIFT   2 /* DACR_MIXSPKL_VOL */
 
#define WM8903_DACR_MIXSPKL_VOL_WIDTH   1 /* DACR_MIXSPKL_VOL */
 
#define WM8903_BYPASSL_MIXSPKL_VOL   0x0002 /* BYPASSL_MIXSPKL_VOL */
 
#define WM8903_BYPASSL_MIXSPKL_VOL_MASK   0x0002 /* BYPASSL_MIXSPKL_VOL */
 
#define WM8903_BYPASSL_MIXSPKL_VOL_SHIFT   1 /* BYPASSL_MIXSPKL_VOL */
 
#define WM8903_BYPASSL_MIXSPKL_VOL_WIDTH   1 /* BYPASSL_MIXSPKL_VOL */
 
#define WM8903_BYPASSR_MIXSPKL_VOL   0x0001 /* BYPASSR_MIXSPKL_VOL */
 
#define WM8903_BYPASSR_MIXSPKL_VOL_MASK   0x0001 /* BYPASSR_MIXSPKL_VOL */
 
#define WM8903_BYPASSR_MIXSPKL_VOL_SHIFT   0 /* BYPASSR_MIXSPKL_VOL */
 
#define WM8903_BYPASSR_MIXSPKL_VOL_WIDTH   1 /* BYPASSR_MIXSPKL_VOL */
 
#define WM8903_DACL_TO_MIXSPKR   0x0008 /* DACL_TO_MIXSPKR */
 
#define WM8903_DACL_TO_MIXSPKR_MASK   0x0008 /* DACL_TO_MIXSPKR */
 
#define WM8903_DACL_TO_MIXSPKR_SHIFT   3 /* DACL_TO_MIXSPKR */
 
#define WM8903_DACL_TO_MIXSPKR_WIDTH   1 /* DACL_TO_MIXSPKR */
 
#define WM8903_DACR_TO_MIXSPKR   0x0004 /* DACR_TO_MIXSPKR */
 
#define WM8903_DACR_TO_MIXSPKR_MASK   0x0004 /* DACR_TO_MIXSPKR */
 
#define WM8903_DACR_TO_MIXSPKR_SHIFT   2 /* DACR_TO_MIXSPKR */
 
#define WM8903_DACR_TO_MIXSPKR_WIDTH   1 /* DACR_TO_MIXSPKR */
 
#define WM8903_BYPASSL_TO_MIXSPKR   0x0002 /* BYPASSL_TO_MIXSPKR */
 
#define WM8903_BYPASSL_TO_MIXSPKR_MASK   0x0002 /* BYPASSL_TO_MIXSPKR */
 
#define WM8903_BYPASSL_TO_MIXSPKR_SHIFT   1 /* BYPASSL_TO_MIXSPKR */
 
#define WM8903_BYPASSL_TO_MIXSPKR_WIDTH   1 /* BYPASSL_TO_MIXSPKR */
 
#define WM8903_BYPASSR_TO_MIXSPKR   0x0001 /* BYPASSR_TO_MIXSPKR */
 
#define WM8903_BYPASSR_TO_MIXSPKR_MASK   0x0001 /* BYPASSR_TO_MIXSPKR */
 
#define WM8903_BYPASSR_TO_MIXSPKR_SHIFT   0 /* BYPASSR_TO_MIXSPKR */
 
#define WM8903_BYPASSR_TO_MIXSPKR_WIDTH   1 /* BYPASSR_TO_MIXSPKR */
 
#define WM8903_DACL_MIXSPKR_VOL   0x0008 /* DACL_MIXSPKR_VOL */
 
#define WM8903_DACL_MIXSPKR_VOL_MASK   0x0008 /* DACL_MIXSPKR_VOL */
 
#define WM8903_DACL_MIXSPKR_VOL_SHIFT   3 /* DACL_MIXSPKR_VOL */
 
#define WM8903_DACL_MIXSPKR_VOL_WIDTH   1 /* DACL_MIXSPKR_VOL */
 
#define WM8903_DACR_MIXSPKR_VOL   0x0004 /* DACR_MIXSPKR_VOL */
 
#define WM8903_DACR_MIXSPKR_VOL_MASK   0x0004 /* DACR_MIXSPKR_VOL */
 
#define WM8903_DACR_MIXSPKR_VOL_SHIFT   2 /* DACR_MIXSPKR_VOL */
 
#define WM8903_DACR_MIXSPKR_VOL_WIDTH   1 /* DACR_MIXSPKR_VOL */
 
#define WM8903_BYPASSL_MIXSPKR_VOL   0x0002 /* BYPASSL_MIXSPKR_VOL */
 
#define WM8903_BYPASSL_MIXSPKR_VOL_MASK   0x0002 /* BYPASSL_MIXSPKR_VOL */
 
#define WM8903_BYPASSL_MIXSPKR_VOL_SHIFT   1 /* BYPASSL_MIXSPKR_VOL */
 
#define WM8903_BYPASSL_MIXSPKR_VOL_WIDTH   1 /* BYPASSL_MIXSPKR_VOL */
 
#define WM8903_BYPASSR_MIXSPKR_VOL   0x0001 /* BYPASSR_MIXSPKR_VOL */
 
#define WM8903_BYPASSR_MIXSPKR_VOL_MASK   0x0001 /* BYPASSR_MIXSPKR_VOL */
 
#define WM8903_BYPASSR_MIXSPKR_VOL_SHIFT   0 /* BYPASSR_MIXSPKR_VOL */
 
#define WM8903_BYPASSR_MIXSPKR_VOL_WIDTH   1 /* BYPASSR_MIXSPKR_VOL */
 
#define WM8903_HPL_MUTE   0x0100 /* HPL_MUTE */
 
#define WM8903_HPL_MUTE_MASK   0x0100 /* HPL_MUTE */
 
#define WM8903_HPL_MUTE_SHIFT   8 /* HPL_MUTE */
 
#define WM8903_HPL_MUTE_WIDTH   1 /* HPL_MUTE */
 
#define WM8903_HPOUTVU   0x0080 /* HPOUTVU */
 
#define WM8903_HPOUTVU_MASK   0x0080 /* HPOUTVU */
 
#define WM8903_HPOUTVU_SHIFT   7 /* HPOUTVU */
 
#define WM8903_HPOUTVU_WIDTH   1 /* HPOUTVU */
 
#define WM8903_HPOUTLZC   0x0040 /* HPOUTLZC */
 
#define WM8903_HPOUTLZC_MASK   0x0040 /* HPOUTLZC */
 
#define WM8903_HPOUTLZC_SHIFT   6 /* HPOUTLZC */
 
#define WM8903_HPOUTLZC_WIDTH   1 /* HPOUTLZC */
 
#define WM8903_HPOUTL_VOL_MASK   0x003F /* HPOUTL_VOL - [5:0] */
 
#define WM8903_HPOUTL_VOL_SHIFT   0 /* HPOUTL_VOL - [5:0] */
 
#define WM8903_HPOUTL_VOL_WIDTH   6 /* HPOUTL_VOL - [5:0] */
 
#define WM8903_HPR_MUTE   0x0100 /* HPR_MUTE */
 
#define WM8903_HPR_MUTE_MASK   0x0100 /* HPR_MUTE */
 
#define WM8903_HPR_MUTE_SHIFT   8 /* HPR_MUTE */
 
#define WM8903_HPR_MUTE_WIDTH   1 /* HPR_MUTE */
 
#define WM8903_HPOUTVU   0x0080 /* HPOUTVU */
 
#define WM8903_HPOUTVU_MASK   0x0080 /* HPOUTVU */
 
#define WM8903_HPOUTVU_SHIFT   7 /* HPOUTVU */
 
#define WM8903_HPOUTVU_WIDTH   1 /* HPOUTVU */
 
#define WM8903_HPOUTRZC   0x0040 /* HPOUTRZC */
 
#define WM8903_HPOUTRZC_MASK   0x0040 /* HPOUTRZC */
 
#define WM8903_HPOUTRZC_SHIFT   6 /* HPOUTRZC */
 
#define WM8903_HPOUTRZC_WIDTH   1 /* HPOUTRZC */
 
#define WM8903_HPOUTR_VOL_MASK   0x003F /* HPOUTR_VOL - [5:0] */
 
#define WM8903_HPOUTR_VOL_SHIFT   0 /* HPOUTR_VOL - [5:0] */
 
#define WM8903_HPOUTR_VOL_WIDTH   6 /* HPOUTR_VOL - [5:0] */
 
#define WM8903_LINEOUTL_MUTE   0x0100 /* LINEOUTL_MUTE */
 
#define WM8903_LINEOUTL_MUTE_MASK   0x0100 /* LINEOUTL_MUTE */
 
#define WM8903_LINEOUTL_MUTE_SHIFT   8 /* LINEOUTL_MUTE */
 
#define WM8903_LINEOUTL_MUTE_WIDTH   1 /* LINEOUTL_MUTE */
 
#define WM8903_LINEOUTVU   0x0080 /* LINEOUTVU */
 
#define WM8903_LINEOUTVU_MASK   0x0080 /* LINEOUTVU */
 
#define WM8903_LINEOUTVU_SHIFT   7 /* LINEOUTVU */
 
#define WM8903_LINEOUTVU_WIDTH   1 /* LINEOUTVU */
 
#define WM8903_LINEOUTLZC   0x0040 /* LINEOUTLZC */
 
#define WM8903_LINEOUTLZC_MASK   0x0040 /* LINEOUTLZC */
 
#define WM8903_LINEOUTLZC_SHIFT   6 /* LINEOUTLZC */
 
#define WM8903_LINEOUTLZC_WIDTH   1 /* LINEOUTLZC */
 
#define WM8903_LINEOUTL_VOL_MASK   0x003F /* LINEOUTL_VOL - [5:0] */
 
#define WM8903_LINEOUTL_VOL_SHIFT   0 /* LINEOUTL_VOL - [5:0] */
 
#define WM8903_LINEOUTL_VOL_WIDTH   6 /* LINEOUTL_VOL - [5:0] */
 
#define WM8903_LINEOUTR_MUTE   0x0100 /* LINEOUTR_MUTE */
 
#define WM8903_LINEOUTR_MUTE_MASK   0x0100 /* LINEOUTR_MUTE */
 
#define WM8903_LINEOUTR_MUTE_SHIFT   8 /* LINEOUTR_MUTE */
 
#define WM8903_LINEOUTR_MUTE_WIDTH   1 /* LINEOUTR_MUTE */
 
#define WM8903_LINEOUTVU   0x0080 /* LINEOUTVU */
 
#define WM8903_LINEOUTVU_MASK   0x0080 /* LINEOUTVU */
 
#define WM8903_LINEOUTVU_SHIFT   7 /* LINEOUTVU */
 
#define WM8903_LINEOUTVU_WIDTH   1 /* LINEOUTVU */
 
#define WM8903_LINEOUTRZC   0x0040 /* LINEOUTRZC */
 
#define WM8903_LINEOUTRZC_MASK   0x0040 /* LINEOUTRZC */
 
#define WM8903_LINEOUTRZC_SHIFT   6 /* LINEOUTRZC */
 
#define WM8903_LINEOUTRZC_WIDTH   1 /* LINEOUTRZC */
 
#define WM8903_LINEOUTR_VOL_MASK   0x003F /* LINEOUTR_VOL - [5:0] */
 
#define WM8903_LINEOUTR_VOL_SHIFT   0 /* LINEOUTR_VOL - [5:0] */
 
#define WM8903_LINEOUTR_VOL_WIDTH   6 /* LINEOUTR_VOL - [5:0] */
 
#define WM8903_SPKL_MUTE   0x0100 /* SPKL_MUTE */
 
#define WM8903_SPKL_MUTE_MASK   0x0100 /* SPKL_MUTE */
 
#define WM8903_SPKL_MUTE_SHIFT   8 /* SPKL_MUTE */
 
#define WM8903_SPKL_MUTE_WIDTH   1 /* SPKL_MUTE */
 
#define WM8903_SPKVU   0x0080 /* SPKVU */
 
#define WM8903_SPKVU_MASK   0x0080 /* SPKVU */
 
#define WM8903_SPKVU_SHIFT   7 /* SPKVU */
 
#define WM8903_SPKVU_WIDTH   1 /* SPKVU */
 
#define WM8903_SPKLZC   0x0040 /* SPKLZC */
 
#define WM8903_SPKLZC_MASK   0x0040 /* SPKLZC */
 
#define WM8903_SPKLZC_SHIFT   6 /* SPKLZC */
 
#define WM8903_SPKLZC_WIDTH   1 /* SPKLZC */
 
#define WM8903_SPKL_VOL_MASK   0x003F /* SPKL_VOL - [5:0] */
 
#define WM8903_SPKL_VOL_SHIFT   0 /* SPKL_VOL - [5:0] */
 
#define WM8903_SPKL_VOL_WIDTH   6 /* SPKL_VOL - [5:0] */
 
#define WM8903_SPKR_MUTE   0x0100 /* SPKR_MUTE */
 
#define WM8903_SPKR_MUTE_MASK   0x0100 /* SPKR_MUTE */
 
#define WM8903_SPKR_MUTE_SHIFT   8 /* SPKR_MUTE */
 
#define WM8903_SPKR_MUTE_WIDTH   1 /* SPKR_MUTE */
 
#define WM8903_SPKVU   0x0080 /* SPKVU */
 
#define WM8903_SPKVU_MASK   0x0080 /* SPKVU */
 
#define WM8903_SPKVU_SHIFT   7 /* SPKVU */
 
#define WM8903_SPKVU_WIDTH   1 /* SPKVU */
 
#define WM8903_SPKRZC   0x0040 /* SPKRZC */
 
#define WM8903_SPKRZC_MASK   0x0040 /* SPKRZC */
 
#define WM8903_SPKRZC_SHIFT   6 /* SPKRZC */
 
#define WM8903_SPKRZC_WIDTH   1 /* SPKRZC */
 
#define WM8903_SPKR_VOL_MASK   0x003F /* SPKR_VOL - [5:0] */
 
#define WM8903_SPKR_VOL_SHIFT   0 /* SPKR_VOL - [5:0] */
 
#define WM8903_SPKR_VOL_WIDTH   6 /* SPKR_VOL - [5:0] */
 
#define WM8903_SPK_DISCHARGE   0x0002 /* SPK_DISCHARGE */
 
#define WM8903_SPK_DISCHARGE_MASK   0x0002 /* SPK_DISCHARGE */
 
#define WM8903_SPK_DISCHARGE_SHIFT   1 /* SPK_DISCHARGE */
 
#define WM8903_SPK_DISCHARGE_WIDTH   1 /* SPK_DISCHARGE */
 
#define WM8903_VROI   0x0001 /* VROI */
 
#define WM8903_VROI_MASK   0x0001 /* VROI */
 
#define WM8903_VROI_SHIFT   0 /* VROI */
 
#define WM8903_VROI_WIDTH   1 /* VROI */
 
#define WM8903_DCS_MASTER_ENA   0x0010 /* DCS_MASTER_ENA */
 
#define WM8903_DCS_MASTER_ENA_MASK   0x0010 /* DCS_MASTER_ENA */
 
#define WM8903_DCS_MASTER_ENA_SHIFT   4 /* DCS_MASTER_ENA */
 
#define WM8903_DCS_MASTER_ENA_WIDTH   1 /* DCS_MASTER_ENA */
 
#define WM8903_DCS_ENA_MASK   0x000F /* DCS_ENA - [3:0] */
 
#define WM8903_DCS_ENA_SHIFT   0 /* DCS_ENA - [3:0] */
 
#define WM8903_DCS_ENA_WIDTH   4 /* DCS_ENA - [3:0] */
 
#define WM8903_DCS_MODE_MASK   0x0003 /* DCS_MODE - [1:0] */
 
#define WM8903_DCS_MODE_SHIFT   0 /* DCS_MODE - [1:0] */
 
#define WM8903_DCS_MODE_WIDTH   2 /* DCS_MODE - [1:0] */
 
#define WM8903_HPL_RMV_SHORT   0x0080 /* HPL_RMV_SHORT */
 
#define WM8903_HPL_RMV_SHORT_MASK   0x0080 /* HPL_RMV_SHORT */
 
#define WM8903_HPL_RMV_SHORT_SHIFT   7 /* HPL_RMV_SHORT */
 
#define WM8903_HPL_RMV_SHORT_WIDTH   1 /* HPL_RMV_SHORT */
 
#define WM8903_HPL_ENA_OUTP   0x0040 /* HPL_ENA_OUTP */
 
#define WM8903_HPL_ENA_OUTP_MASK   0x0040 /* HPL_ENA_OUTP */
 
#define WM8903_HPL_ENA_OUTP_SHIFT   6 /* HPL_ENA_OUTP */
 
#define WM8903_HPL_ENA_OUTP_WIDTH   1 /* HPL_ENA_OUTP */
 
#define WM8903_HPL_ENA_DLY   0x0020 /* HPL_ENA_DLY */
 
#define WM8903_HPL_ENA_DLY_MASK   0x0020 /* HPL_ENA_DLY */
 
#define WM8903_HPL_ENA_DLY_SHIFT   5 /* HPL_ENA_DLY */
 
#define WM8903_HPL_ENA_DLY_WIDTH   1 /* HPL_ENA_DLY */
 
#define WM8903_HPL_ENA   0x0010 /* HPL_ENA */
 
#define WM8903_HPL_ENA_MASK   0x0010 /* HPL_ENA */
 
#define WM8903_HPL_ENA_SHIFT   4 /* HPL_ENA */
 
#define WM8903_HPL_ENA_WIDTH   1 /* HPL_ENA */
 
#define WM8903_HPR_RMV_SHORT   0x0008 /* HPR_RMV_SHORT */
 
#define WM8903_HPR_RMV_SHORT_MASK   0x0008 /* HPR_RMV_SHORT */
 
#define WM8903_HPR_RMV_SHORT_SHIFT   3 /* HPR_RMV_SHORT */
 
#define WM8903_HPR_RMV_SHORT_WIDTH   1 /* HPR_RMV_SHORT */
 
#define WM8903_HPR_ENA_OUTP   0x0004 /* HPR_ENA_OUTP */
 
#define WM8903_HPR_ENA_OUTP_MASK   0x0004 /* HPR_ENA_OUTP */
 
#define WM8903_HPR_ENA_OUTP_SHIFT   2 /* HPR_ENA_OUTP */
 
#define WM8903_HPR_ENA_OUTP_WIDTH   1 /* HPR_ENA_OUTP */
 
#define WM8903_HPR_ENA_DLY   0x0002 /* HPR_ENA_DLY */
 
#define WM8903_HPR_ENA_DLY_MASK   0x0002 /* HPR_ENA_DLY */
 
#define WM8903_HPR_ENA_DLY_SHIFT   1 /* HPR_ENA_DLY */
 
#define WM8903_HPR_ENA_DLY_WIDTH   1 /* HPR_ENA_DLY */
 
#define WM8903_HPR_ENA   0x0001 /* HPR_ENA */
 
#define WM8903_HPR_ENA_MASK   0x0001 /* HPR_ENA */
 
#define WM8903_HPR_ENA_SHIFT   0 /* HPR_ENA */
 
#define WM8903_HPR_ENA_WIDTH   1 /* HPR_ENA */
 
#define WM8903_LINEOUTL_RMV_SHORT   0x0080 /* LINEOUTL_RMV_SHORT */
 
#define WM8903_LINEOUTL_RMV_SHORT_MASK   0x0080 /* LINEOUTL_RMV_SHORT */
 
#define WM8903_LINEOUTL_RMV_SHORT_SHIFT   7 /* LINEOUTL_RMV_SHORT */
 
#define WM8903_LINEOUTL_RMV_SHORT_WIDTH   1 /* LINEOUTL_RMV_SHORT */
 
#define WM8903_LINEOUTL_ENA_OUTP   0x0040 /* LINEOUTL_ENA_OUTP */
 
#define WM8903_LINEOUTL_ENA_OUTP_MASK   0x0040 /* LINEOUTL_ENA_OUTP */
 
#define WM8903_LINEOUTL_ENA_OUTP_SHIFT   6 /* LINEOUTL_ENA_OUTP */
 
#define WM8903_LINEOUTL_ENA_OUTP_WIDTH   1 /* LINEOUTL_ENA_OUTP */
 
#define WM8903_LINEOUTL_ENA_DLY   0x0020 /* LINEOUTL_ENA_DLY */
 
#define WM8903_LINEOUTL_ENA_DLY_MASK   0x0020 /* LINEOUTL_ENA_DLY */
 
#define WM8903_LINEOUTL_ENA_DLY_SHIFT   5 /* LINEOUTL_ENA_DLY */
 
#define WM8903_LINEOUTL_ENA_DLY_WIDTH   1 /* LINEOUTL_ENA_DLY */
 
#define WM8903_LINEOUTL_ENA   0x0010 /* LINEOUTL_ENA */
 
#define WM8903_LINEOUTL_ENA_MASK   0x0010 /* LINEOUTL_ENA */
 
#define WM8903_LINEOUTL_ENA_SHIFT   4 /* LINEOUTL_ENA */
 
#define WM8903_LINEOUTL_ENA_WIDTH   1 /* LINEOUTL_ENA */
 
#define WM8903_LINEOUTR_RMV_SHORT   0x0008 /* LINEOUTR_RMV_SHORT */
 
#define WM8903_LINEOUTR_RMV_SHORT_MASK   0x0008 /* LINEOUTR_RMV_SHORT */
 
#define WM8903_LINEOUTR_RMV_SHORT_SHIFT   3 /* LINEOUTR_RMV_SHORT */
 
#define WM8903_LINEOUTR_RMV_SHORT_WIDTH   1 /* LINEOUTR_RMV_SHORT */
 
#define WM8903_LINEOUTR_ENA_OUTP   0x0004 /* LINEOUTR_ENA_OUTP */
 
#define WM8903_LINEOUTR_ENA_OUTP_MASK   0x0004 /* LINEOUTR_ENA_OUTP */
 
#define WM8903_LINEOUTR_ENA_OUTP_SHIFT   2 /* LINEOUTR_ENA_OUTP */
 
#define WM8903_LINEOUTR_ENA_OUTP_WIDTH   1 /* LINEOUTR_ENA_OUTP */
 
#define WM8903_LINEOUTR_ENA_DLY   0x0002 /* LINEOUTR_ENA_DLY */
 
#define WM8903_LINEOUTR_ENA_DLY_MASK   0x0002 /* LINEOUTR_ENA_DLY */
 
#define WM8903_LINEOUTR_ENA_DLY_SHIFT   1 /* LINEOUTR_ENA_DLY */
 
#define WM8903_LINEOUTR_ENA_DLY_WIDTH   1 /* LINEOUTR_ENA_DLY */
 
#define WM8903_LINEOUTR_ENA   0x0001 /* LINEOUTR_ENA */
 
#define WM8903_LINEOUTR_ENA_MASK   0x0001 /* LINEOUTR_ENA */
 
#define WM8903_LINEOUTR_ENA_SHIFT   0 /* LINEOUTR_ENA */
 
#define WM8903_LINEOUTR_ENA_WIDTH   1 /* LINEOUTR_ENA */
 
#define WM8903_CP_ENA   0x0001 /* CP_ENA */
 
#define WM8903_CP_ENA_MASK   0x0001 /* CP_ENA */
 
#define WM8903_CP_ENA_SHIFT   0 /* CP_ENA */
 
#define WM8903_CP_ENA_WIDTH   1 /* CP_ENA */
 
#define WM8903_CP_DYN_FREQ   0x0002 /* CP_DYN_FREQ */
 
#define WM8903_CP_DYN_FREQ_MASK   0x0002 /* CP_DYN_FREQ */
 
#define WM8903_CP_DYN_FREQ_SHIFT   1 /* CP_DYN_FREQ */
 
#define WM8903_CP_DYN_FREQ_WIDTH   1 /* CP_DYN_FREQ */
 
#define WM8903_CP_DYN_V   0x0001 /* CP_DYN_V */
 
#define WM8903_CP_DYN_V_MASK   0x0001 /* CP_DYN_V */
 
#define WM8903_CP_DYN_V_SHIFT   0 /* CP_DYN_V */
 
#define WM8903_CP_DYN_V_WIDTH   1 /* CP_DYN_V */
 
#define WM8903_WSEQ_ENA   0x0100 /* WSEQ_ENA */
 
#define WM8903_WSEQ_ENA_MASK   0x0100 /* WSEQ_ENA */
 
#define WM8903_WSEQ_ENA_SHIFT   8 /* WSEQ_ENA */
 
#define WM8903_WSEQ_ENA_WIDTH   1 /* WSEQ_ENA */
 
#define WM8903_WSEQ_WRITE_INDEX_MASK   0x001F /* WSEQ_WRITE_INDEX - [4:0] */
 
#define WM8903_WSEQ_WRITE_INDEX_SHIFT   0 /* WSEQ_WRITE_INDEX - [4:0] */
 
#define WM8903_WSEQ_WRITE_INDEX_WIDTH   5 /* WSEQ_WRITE_INDEX - [4:0] */
 
#define WM8903_WSEQ_DATA_WIDTH_MASK   0x7000 /* WSEQ_DATA_WIDTH - [14:12] */
 
#define WM8903_WSEQ_DATA_WIDTH_SHIFT   12 /* WSEQ_DATA_WIDTH - [14:12] */
 
#define WM8903_WSEQ_DATA_WIDTH_WIDTH   3 /* WSEQ_DATA_WIDTH - [14:12] */
 
#define WM8903_WSEQ_DATA_START_MASK   0x0F00 /* WSEQ_DATA_START - [11:8] */
 
#define WM8903_WSEQ_DATA_START_SHIFT   8 /* WSEQ_DATA_START - [11:8] */
 
#define WM8903_WSEQ_DATA_START_WIDTH   4 /* WSEQ_DATA_START - [11:8] */
 
#define WM8903_WSEQ_ADDR_MASK   0x00FF /* WSEQ_ADDR - [7:0] */
 
#define WM8903_WSEQ_ADDR_SHIFT   0 /* WSEQ_ADDR - [7:0] */
 
#define WM8903_WSEQ_ADDR_WIDTH   8 /* WSEQ_ADDR - [7:0] */
 
#define WM8903_WSEQ_EOS   0x4000 /* WSEQ_EOS */
 
#define WM8903_WSEQ_EOS_MASK   0x4000 /* WSEQ_EOS */
 
#define WM8903_WSEQ_EOS_SHIFT   14 /* WSEQ_EOS */
 
#define WM8903_WSEQ_EOS_WIDTH   1 /* WSEQ_EOS */
 
#define WM8903_WSEQ_DELAY_MASK   0x0F00 /* WSEQ_DELAY - [11:8] */
 
#define WM8903_WSEQ_DELAY_SHIFT   8 /* WSEQ_DELAY - [11:8] */
 
#define WM8903_WSEQ_DELAY_WIDTH   4 /* WSEQ_DELAY - [11:8] */
 
#define WM8903_WSEQ_DATA_MASK   0x00FF /* WSEQ_DATA - [7:0] */
 
#define WM8903_WSEQ_DATA_SHIFT   0 /* WSEQ_DATA - [7:0] */
 
#define WM8903_WSEQ_DATA_WIDTH   8 /* WSEQ_DATA - [7:0] */
 
#define WM8903_WSEQ_ABORT   0x0200 /* WSEQ_ABORT */
 
#define WM8903_WSEQ_ABORT_MASK   0x0200 /* WSEQ_ABORT */
 
#define WM8903_WSEQ_ABORT_SHIFT   9 /* WSEQ_ABORT */
 
#define WM8903_WSEQ_ABORT_WIDTH   1 /* WSEQ_ABORT */
 
#define WM8903_WSEQ_START   0x0100 /* WSEQ_START */
 
#define WM8903_WSEQ_START_MASK   0x0100 /* WSEQ_START */
 
#define WM8903_WSEQ_START_SHIFT   8 /* WSEQ_START */
 
#define WM8903_WSEQ_START_WIDTH   1 /* WSEQ_START */
 
#define WM8903_WSEQ_START_INDEX_MASK   0x003F /* WSEQ_START_INDEX - [5:0] */
 
#define WM8903_WSEQ_START_INDEX_SHIFT   0 /* WSEQ_START_INDEX - [5:0] */
 
#define WM8903_WSEQ_START_INDEX_WIDTH   6 /* WSEQ_START_INDEX - [5:0] */
 
#define WM8903_WSEQ_CURRENT_INDEX_MASK   0x03F0 /* WSEQ_CURRENT_INDEX - [9:4] */
 
#define WM8903_WSEQ_CURRENT_INDEX_SHIFT   4 /* WSEQ_CURRENT_INDEX - [9:4] */
 
#define WM8903_WSEQ_CURRENT_INDEX_WIDTH   6 /* WSEQ_CURRENT_INDEX - [9:4] */
 
#define WM8903_WSEQ_BUSY   0x0001 /* WSEQ_BUSY */
 
#define WM8903_WSEQ_BUSY_MASK   0x0001 /* WSEQ_BUSY */
 
#define WM8903_WSEQ_BUSY_SHIFT   0 /* WSEQ_BUSY */
 
#define WM8903_WSEQ_BUSY_WIDTH   1 /* WSEQ_BUSY */
 
#define WM8903_MASK_WRITE_ENA   0x0001 /* MASK_WRITE_ENA */
 
#define WM8903_MASK_WRITE_ENA_MASK   0x0001 /* MASK_WRITE_ENA */
 
#define WM8903_MASK_WRITE_ENA_SHIFT   0 /* MASK_WRITE_ENA */
 
#define WM8903_MASK_WRITE_ENA_WIDTH   1 /* MASK_WRITE_ENA */
 
#define WM8903_MICSHRT_EINT   0x8000 /* MICSHRT_EINT */
 
#define WM8903_MICSHRT_EINT_MASK   0x8000 /* MICSHRT_EINT */
 
#define WM8903_MICSHRT_EINT_SHIFT   15 /* MICSHRT_EINT */
 
#define WM8903_MICSHRT_EINT_WIDTH   1 /* MICSHRT_EINT */
 
#define WM8903_MICDET_EINT   0x4000 /* MICDET_EINT */
 
#define WM8903_MICDET_EINT_MASK   0x4000 /* MICDET_EINT */
 
#define WM8903_MICDET_EINT_SHIFT   14 /* MICDET_EINT */
 
#define WM8903_MICDET_EINT_WIDTH   1 /* MICDET_EINT */
 
#define WM8903_WSEQ_BUSY_EINT   0x2000 /* WSEQ_BUSY_EINT */
 
#define WM8903_WSEQ_BUSY_EINT_MASK   0x2000 /* WSEQ_BUSY_EINT */
 
#define WM8903_WSEQ_BUSY_EINT_SHIFT   13 /* WSEQ_BUSY_EINT */
 
#define WM8903_WSEQ_BUSY_EINT_WIDTH   1 /* WSEQ_BUSY_EINT */
 
#define WM8903_GP5_EINT   0x0010 /* GP5_EINT */
 
#define WM8903_GP5_EINT_MASK   0x0010 /* GP5_EINT */
 
#define WM8903_GP5_EINT_SHIFT   4 /* GP5_EINT */
 
#define WM8903_GP5_EINT_WIDTH   1 /* GP5_EINT */
 
#define WM8903_GP4_EINT   0x0008 /* GP4_EINT */
 
#define WM8903_GP4_EINT_MASK   0x0008 /* GP4_EINT */
 
#define WM8903_GP4_EINT_SHIFT   3 /* GP4_EINT */
 
#define WM8903_GP4_EINT_WIDTH   1 /* GP4_EINT */
 
#define WM8903_GP3_EINT   0x0004 /* GP3_EINT */
 
#define WM8903_GP3_EINT_MASK   0x0004 /* GP3_EINT */
 
#define WM8903_GP3_EINT_SHIFT   2 /* GP3_EINT */
 
#define WM8903_GP3_EINT_WIDTH   1 /* GP3_EINT */
 
#define WM8903_GP2_EINT   0x0002 /* GP2_EINT */
 
#define WM8903_GP2_EINT_MASK   0x0002 /* GP2_EINT */
 
#define WM8903_GP2_EINT_SHIFT   1 /* GP2_EINT */
 
#define WM8903_GP2_EINT_WIDTH   1 /* GP2_EINT */
 
#define WM8903_GP1_EINT   0x0001 /* GP1_EINT */
 
#define WM8903_GP1_EINT_MASK   0x0001 /* GP1_EINT */
 
#define WM8903_GP1_EINT_SHIFT   0 /* GP1_EINT */
 
#define WM8903_GP1_EINT_WIDTH   1 /* GP1_EINT */
 
#define WM8903_IM_MICSHRT_EINT   0x8000 /* IM_MICSHRT_EINT */
 
#define WM8903_IM_MICSHRT_EINT_MASK   0x8000 /* IM_MICSHRT_EINT */
 
#define WM8903_IM_MICSHRT_EINT_SHIFT   15 /* IM_MICSHRT_EINT */
 
#define WM8903_IM_MICSHRT_EINT_WIDTH   1 /* IM_MICSHRT_EINT */
 
#define WM8903_IM_MICDET_EINT   0x4000 /* IM_MICDET_EINT */
 
#define WM8903_IM_MICDET_EINT_MASK   0x4000 /* IM_MICDET_EINT */
 
#define WM8903_IM_MICDET_EINT_SHIFT   14 /* IM_MICDET_EINT */
 
#define WM8903_IM_MICDET_EINT_WIDTH   1 /* IM_MICDET_EINT */
 
#define WM8903_IM_WSEQ_BUSY_EINT   0x2000 /* IM_WSEQ_BUSY_EINT */
 
#define WM8903_IM_WSEQ_BUSY_EINT_MASK   0x2000 /* IM_WSEQ_BUSY_EINT */
 
#define WM8903_IM_WSEQ_BUSY_EINT_SHIFT   13 /* IM_WSEQ_BUSY_EINT */
 
#define WM8903_IM_WSEQ_BUSY_EINT_WIDTH   1 /* IM_WSEQ_BUSY_EINT */
 
#define WM8903_IM_GP5_EINT   0x0010 /* IM_GP5_EINT */
 
#define WM8903_IM_GP5_EINT_MASK   0x0010 /* IM_GP5_EINT */
 
#define WM8903_IM_GP5_EINT_SHIFT   4 /* IM_GP5_EINT */
 
#define WM8903_IM_GP5_EINT_WIDTH   1 /* IM_GP5_EINT */
 
#define WM8903_IM_GP4_EINT   0x0008 /* IM_GP4_EINT */
 
#define WM8903_IM_GP4_EINT_MASK   0x0008 /* IM_GP4_EINT */
 
#define WM8903_IM_GP4_EINT_SHIFT   3 /* IM_GP4_EINT */
 
#define WM8903_IM_GP4_EINT_WIDTH   1 /* IM_GP4_EINT */
 
#define WM8903_IM_GP3_EINT   0x0004 /* IM_GP3_EINT */
 
#define WM8903_IM_GP3_EINT_MASK   0x0004 /* IM_GP3_EINT */
 
#define WM8903_IM_GP3_EINT_SHIFT   2 /* IM_GP3_EINT */
 
#define WM8903_IM_GP3_EINT_WIDTH   1 /* IM_GP3_EINT */
 
#define WM8903_IM_GP2_EINT   0x0002 /* IM_GP2_EINT */
 
#define WM8903_IM_GP2_EINT_MASK   0x0002 /* IM_GP2_EINT */
 
#define WM8903_IM_GP2_EINT_SHIFT   1 /* IM_GP2_EINT */
 
#define WM8903_IM_GP2_EINT_WIDTH   1 /* IM_GP2_EINT */
 
#define WM8903_IM_GP1_EINT   0x0001 /* IM_GP1_EINT */
 
#define WM8903_IM_GP1_EINT_MASK   0x0001 /* IM_GP1_EINT */
 
#define WM8903_IM_GP1_EINT_SHIFT   0 /* IM_GP1_EINT */
 
#define WM8903_IM_GP1_EINT_WIDTH   1 /* IM_GP1_EINT */
 
#define WM8903_MICSHRT_INV   0x8000 /* MICSHRT_INV */
 
#define WM8903_MICSHRT_INV_MASK   0x8000 /* MICSHRT_INV */
 
#define WM8903_MICSHRT_INV_SHIFT   15 /* MICSHRT_INV */
 
#define WM8903_MICSHRT_INV_WIDTH   1 /* MICSHRT_INV */
 
#define WM8903_MICDET_INV   0x4000 /* MICDET_INV */
 
#define WM8903_MICDET_INV_MASK   0x4000 /* MICDET_INV */
 
#define WM8903_MICDET_INV_SHIFT   14 /* MICDET_INV */
 
#define WM8903_MICDET_INV_WIDTH   1 /* MICDET_INV */
 
#define WM8903_IRQ_POL   0x0001 /* IRQ_POL */
 
#define WM8903_IRQ_POL_MASK   0x0001 /* IRQ_POL */
 
#define WM8903_IRQ_POL_SHIFT   0 /* IRQ_POL */
 
#define WM8903_IRQ_POL_WIDTH   1 /* IRQ_POL */
 
#define WM8903_ADC_DIG_MIC   0x0200 /* ADC_DIG_MIC */
 
#define WM8903_ADC_DIG_MIC_MASK   0x0200 /* ADC_DIG_MIC */
 
#define WM8903_ADC_DIG_MIC_SHIFT   9 /* ADC_DIG_MIC */
 
#define WM8903_ADC_DIG_MIC_WIDTH   1 /* ADC_DIG_MIC */
 
#define WM8903_PGA_BIAS_MASK   0x0070 /* PGA_BIAS - [6:4] */
 
#define WM8903_PGA_BIAS_SHIFT   4 /* PGA_BIAS - [6:4] */
 
#define WM8903_PGA_BIAS_WIDTH   3 /* PGA_BIAS - [6:4] */
 

Functions

int wm8903_mic_detect (struct snd_soc_codec *codec, struct snd_soc_jack *jack, int det, int shrt)
 

Macro Definition Documentation

#define WM8903_ADC_COMP   0x0008 /* ADC_COMP */

Definition at line 359 of file wm8903.h.

#define WM8903_ADC_COMP_MASK   0x0008 /* ADC_COMP */

Definition at line 360 of file wm8903.h.

#define WM8903_ADC_COMP_SHIFT   3 /* ADC_COMP */

Definition at line 361 of file wm8903.h.

#define WM8903_ADC_COMP_WIDTH   1 /* ADC_COMP */

Definition at line 362 of file wm8903.h.

#define WM8903_ADC_COMPMODE   0x0004 /* ADC_COMPMODE */

Definition at line 363 of file wm8903.h.

#define WM8903_ADC_COMPMODE_MASK   0x0004 /* ADC_COMPMODE */

Definition at line 364 of file wm8903.h.

#define WM8903_ADC_COMPMODE_SHIFT   2 /* ADC_COMPMODE */

Definition at line 365 of file wm8903.h.

#define WM8903_ADC_COMPMODE_WIDTH   1 /* ADC_COMPMODE */

Definition at line 366 of file wm8903.h.

#define WM8903_ADC_DIG_MIC   0x0200 /* ADC_DIG_MIC */

Definition at line 1213 of file wm8903.h.

#define WM8903_ADC_DIG_MIC_MASK   0x0200 /* ADC_DIG_MIC */

Definition at line 1214 of file wm8903.h.

#define WM8903_ADC_DIG_MIC_SHIFT   9 /* ADC_DIG_MIC */

Definition at line 1215 of file wm8903.h.

#define WM8903_ADC_DIG_MIC_WIDTH   1 /* ADC_DIG_MIC */

Definition at line 1216 of file wm8903.h.

#define WM8903_ADC_DIGITAL_0   0x26

Definition at line 53 of file wm8903.h.

#define WM8903_ADC_DIGITAL_VOLUME_LEFT   0x24

Definition at line 51 of file wm8903.h.

#define WM8903_ADC_DIGITAL_VOLUME_RIGHT   0x25

Definition at line 52 of file wm8903.h.

#define WM8903_ADC_HPF_CUT_MASK   0x0060 /* ADC_HPF_CUT - [6:5] */

Definition at line 522 of file wm8903.h.

#define WM8903_ADC_HPF_CUT_SHIFT   5 /* ADC_HPF_CUT - [6:5] */

Definition at line 523 of file wm8903.h.

#define WM8903_ADC_HPF_CUT_WIDTH   2 /* ADC_HPF_CUT - [6:5] */

Definition at line 524 of file wm8903.h.

#define WM8903_ADC_HPF_ENA   0x0010 /* ADC_HPF_ENA */

Definition at line 525 of file wm8903.h.

#define WM8903_ADC_HPF_ENA_MASK   0x0010 /* ADC_HPF_ENA */

Definition at line 526 of file wm8903.h.

#define WM8903_ADC_HPF_ENA_SHIFT   4 /* ADC_HPF_ENA */

Definition at line 527 of file wm8903.h.

#define WM8903_ADC_HPF_ENA_WIDTH   1 /* ADC_HPF_ENA */

Definition at line 528 of file wm8903.h.

#define WM8903_ADC_OSR128   0x0001 /* ADC_OSR128 */

Definition at line 191 of file wm8903.h.

#define WM8903_ADC_OSR128_MASK   0x0001 /* ADC_OSR128 */

Definition at line 192 of file wm8903.h.

#define WM8903_ADC_OSR128_SHIFT   0 /* ADC_OSR128 */

Definition at line 193 of file wm8903.h.

#define WM8903_ADC_OSR128_WIDTH   1 /* ADC_OSR128 */

Definition at line 194 of file wm8903.h.

#define WM8903_ADC_TO_DACL_MASK   0x000C /* ADC_TO_DACL - [3:2] */

Definition at line 463 of file wm8903.h.

#define WM8903_ADC_TO_DACL_SHIFT   2 /* ADC_TO_DACL - [3:2] */

Definition at line 464 of file wm8903.h.

#define WM8903_ADC_TO_DACL_WIDTH   2 /* ADC_TO_DACL - [3:2] */

Definition at line 465 of file wm8903.h.

#define WM8903_ADC_TO_DACR_MASK   0x0003 /* ADC_TO_DACR - [1:0] */

Definition at line 466 of file wm8903.h.

#define WM8903_ADC_TO_DACR_SHIFT   0 /* ADC_TO_DACR - [1:0] */

Definition at line 467 of file wm8903.h.

#define WM8903_ADC_TO_DACR_WIDTH   2 /* ADC_TO_DACR - [1:0] */

Definition at line 468 of file wm8903.h.

#define WM8903_ADCL_DAC_SVOL_MASK   0x0F00 /* ADCL_DAC_SVOL - [11:8] */

Definition at line 457 of file wm8903.h.

#define WM8903_ADCL_DAC_SVOL_SHIFT   8 /* ADCL_DAC_SVOL - [11:8] */

Definition at line 458 of file wm8903.h.

#define WM8903_ADCL_DAC_SVOL_WIDTH   4 /* ADCL_DAC_SVOL - [11:8] */

Definition at line 459 of file wm8903.h.

#define WM8903_ADCL_DATINV   0x0002 /* ADCL_DATINV */

Definition at line 529 of file wm8903.h.

#define WM8903_ADCL_DATINV_MASK   0x0002 /* ADCL_DATINV */

Definition at line 530 of file wm8903.h.

#define WM8903_ADCL_DATINV_SHIFT   1 /* ADCL_DATINV */

Definition at line 531 of file wm8903.h.

#define WM8903_ADCL_DATINV_WIDTH   1 /* ADCL_DATINV */

Definition at line 532 of file wm8903.h.

#define WM8903_ADCL_ENA   0x0002 /* ADCL_ENA */

Definition at line 279 of file wm8903.h.

#define WM8903_ADCL_ENA_MASK   0x0002 /* ADCL_ENA */

Definition at line 280 of file wm8903.h.

#define WM8903_ADCL_ENA_SHIFT   1 /* ADCL_ENA */

Definition at line 281 of file wm8903.h.

#define WM8903_ADCL_ENA_WIDTH   1 /* ADCL_ENA */

Definition at line 282 of file wm8903.h.

#define WM8903_ADCL_VOL_MASK   0x00FF /* ADCL_VOL - [7:0] */

Definition at line 504 of file wm8903.h.

#define WM8903_ADCL_VOL_SHIFT   0 /* ADCL_VOL - [7:0] */

Definition at line 505 of file wm8903.h.

#define WM8903_ADCL_VOL_WIDTH   8 /* ADCL_VOL - [7:0] */

Definition at line 506 of file wm8903.h.

#define WM8903_ADCR_DAC_SVOL_MASK   0x00F0 /* ADCR_DAC_SVOL - [7:4] */

Definition at line 460 of file wm8903.h.

#define WM8903_ADCR_DAC_SVOL_SHIFT   4 /* ADCR_DAC_SVOL - [7:4] */

Definition at line 461 of file wm8903.h.

#define WM8903_ADCR_DAC_SVOL_WIDTH   4 /* ADCR_DAC_SVOL - [7:4] */

Definition at line 462 of file wm8903.h.

#define WM8903_ADCR_DATINV   0x0001 /* ADCR_DATINV */

Definition at line 533 of file wm8903.h.

#define WM8903_ADCR_DATINV_MASK   0x0001 /* ADCR_DATINV */

Definition at line 534 of file wm8903.h.

#define WM8903_ADCR_DATINV_SHIFT   0 /* ADCR_DATINV */

Definition at line 535 of file wm8903.h.

#define WM8903_ADCR_DATINV_WIDTH   1 /* ADCR_DATINV */

Definition at line 536 of file wm8903.h.

#define WM8903_ADCR_ENA   0x0001 /* ADCR_ENA */

Definition at line 283 of file wm8903.h.

#define WM8903_ADCR_ENA_MASK   0x0001 /* ADCR_ENA */

Definition at line 284 of file wm8903.h.

#define WM8903_ADCR_ENA_SHIFT   0 /* ADCR_ENA */

Definition at line 285 of file wm8903.h.

#define WM8903_ADCR_ENA_WIDTH   1 /* ADCR_ENA */

Definition at line 286 of file wm8903.h.

#define WM8903_ADCR_VOL_MASK   0x00FF /* ADCR_VOL - [7:0] */

Definition at line 515 of file wm8903.h.

#define WM8903_ADCR_VOL_SHIFT   0 /* ADCR_VOL - [7:0] */

Definition at line 516 of file wm8903.h.

#define WM8903_ADCR_VOL_WIDTH   8 /* ADCR_VOL - [7:0] */

Definition at line 517 of file wm8903.h.

#define WM8903_ADCVU   0x0100 /* ADCVU */

Definition at line 511 of file wm8903.h.

#define WM8903_ADCVU   0x0100 /* ADCVU */

Definition at line 511 of file wm8903.h.

#define WM8903_ADCVU_MASK   0x0100 /* ADCVU */

Definition at line 512 of file wm8903.h.

#define WM8903_ADCVU_MASK   0x0100 /* ADCVU */

Definition at line 512 of file wm8903.h.

#define WM8903_ADCVU_SHIFT   8 /* ADCVU */

Definition at line 513 of file wm8903.h.

#define WM8903_ADCVU_SHIFT   8 /* ADCVU */

Definition at line 513 of file wm8903.h.

#define WM8903_ADCVU_WIDTH   1 /* ADCVU */

Definition at line 514 of file wm8903.h.

#define WM8903_ADCVU_WIDTH   1 /* ADCVU */

Definition at line 514 of file wm8903.h.

#define WM8903_AIF_BCLK_INV   0x0080 /* AIF_BCLK_INV */

Definition at line 399 of file wm8903.h.

#define WM8903_AIF_BCLK_INV_MASK   0x0080 /* AIF_BCLK_INV */

Definition at line 400 of file wm8903.h.

#define WM8903_AIF_BCLK_INV_SHIFT   7 /* AIF_BCLK_INV */

Definition at line 401 of file wm8903.h.

#define WM8903_AIF_BCLK_INV_WIDTH   1 /* AIF_BCLK_INV */

Definition at line 402 of file wm8903.h.

#define WM8903_AIF_FMT_MASK   0x0003 /* AIF_FMT - [1:0] */

Definition at line 414 of file wm8903.h.

#define WM8903_AIF_FMT_SHIFT   0 /* AIF_FMT - [1:0] */

Definition at line 415 of file wm8903.h.

#define WM8903_AIF_FMT_WIDTH   2 /* AIF_FMT - [1:0] */

Definition at line 416 of file wm8903.h.

#define WM8903_AIF_LRCLK_INV   0x0010 /* AIF_LRCLK_INV */

Definition at line 407 of file wm8903.h.

#define WM8903_AIF_LRCLK_INV_MASK   0x0010 /* AIF_LRCLK_INV */

Definition at line 408 of file wm8903.h.

#define WM8903_AIF_LRCLK_INV_SHIFT   4 /* AIF_LRCLK_INV */

Definition at line 409 of file wm8903.h.

#define WM8903_AIF_LRCLK_INV_WIDTH   1 /* AIF_LRCLK_INV */

Definition at line 410 of file wm8903.h.

#define WM8903_AIF_WL_MASK   0x000C /* AIF_WL - [3:2] */

Definition at line 411 of file wm8903.h.

#define WM8903_AIF_WL_SHIFT   2 /* AIF_WL - [3:2] */

Definition at line 412 of file wm8903.h.

#define WM8903_AIF_WL_WIDTH   2 /* AIF_WL - [3:2] */

Definition at line 413 of file wm8903.h.

#define WM8903_AIFADC_TDM   0x0800 /* AIFADC_TDM */

Definition at line 387 of file wm8903.h.

#define WM8903_AIFADC_TDM_CHAN   0x0400 /* AIFADC_TDM_CHAN */

Definition at line 391 of file wm8903.h.

#define WM8903_AIFADC_TDM_CHAN_MASK   0x0400 /* AIFADC_TDM_CHAN */

Definition at line 392 of file wm8903.h.

#define WM8903_AIFADC_TDM_CHAN_SHIFT   10 /* AIFADC_TDM_CHAN */

Definition at line 393 of file wm8903.h.

#define WM8903_AIFADC_TDM_CHAN_WIDTH   1 /* AIFADC_TDM_CHAN */

Definition at line 394 of file wm8903.h.

#define WM8903_AIFADC_TDM_MASK   0x0800 /* AIFADC_TDM */

Definition at line 388 of file wm8903.h.

#define WM8903_AIFADC_TDM_SHIFT   11 /* AIFADC_TDM */

Definition at line 389 of file wm8903.h.

#define WM8903_AIFADC_TDM_WIDTH   1 /* AIFADC_TDM */

Definition at line 390 of file wm8903.h.

#define WM8903_AIFADCL_SRC   0x0080 /* AIFADCL_SRC */

Definition at line 343 of file wm8903.h.

#define WM8903_AIFADCL_SRC_MASK   0x0080 /* AIFADCL_SRC */

Definition at line 344 of file wm8903.h.

#define WM8903_AIFADCL_SRC_SHIFT   7 /* AIFADCL_SRC */

Definition at line 345 of file wm8903.h.

#define WM8903_AIFADCL_SRC_WIDTH   1 /* AIFADCL_SRC */

Definition at line 346 of file wm8903.h.

#define WM8903_AIFADCR_SRC   0x0040 /* AIFADCR_SRC */

Definition at line 347 of file wm8903.h.

#define WM8903_AIFADCR_SRC_MASK   0x0040 /* AIFADCR_SRC */

Definition at line 348 of file wm8903.h.

#define WM8903_AIFADCR_SRC_SHIFT   6 /* AIFADCR_SRC */

Definition at line 349 of file wm8903.h.

#define WM8903_AIFADCR_SRC_WIDTH   1 /* AIFADCR_SRC */

Definition at line 350 of file wm8903.h.

#define WM8903_AIFDAC_TDM   0x2000 /* AIFDAC_TDM */

Definition at line 379 of file wm8903.h.

#define WM8903_AIFDAC_TDM_CHAN   0x1000 /* AIFDAC_TDM_CHAN */

Definition at line 383 of file wm8903.h.

#define WM8903_AIFDAC_TDM_CHAN_MASK   0x1000 /* AIFDAC_TDM_CHAN */

Definition at line 384 of file wm8903.h.

#define WM8903_AIFDAC_TDM_CHAN_SHIFT   12 /* AIFDAC_TDM_CHAN */

Definition at line 385 of file wm8903.h.

#define WM8903_AIFDAC_TDM_CHAN_WIDTH   1 /* AIFDAC_TDM_CHAN */

Definition at line 386 of file wm8903.h.

#define WM8903_AIFDAC_TDM_MASK   0x2000 /* AIFDAC_TDM */

Definition at line 380 of file wm8903.h.

#define WM8903_AIFDAC_TDM_SHIFT   13 /* AIFDAC_TDM */

Definition at line 381 of file wm8903.h.

#define WM8903_AIFDAC_TDM_WIDTH   1 /* AIFDAC_TDM */

Definition at line 382 of file wm8903.h.

#define WM8903_AIFDACL_SRC   0x0020 /* AIFDACL_SRC */

Definition at line 351 of file wm8903.h.

#define WM8903_AIFDACL_SRC_MASK   0x0020 /* AIFDACL_SRC */

Definition at line 352 of file wm8903.h.

#define WM8903_AIFDACL_SRC_SHIFT   5 /* AIFDACL_SRC */

Definition at line 353 of file wm8903.h.

#define WM8903_AIFDACL_SRC_WIDTH   1 /* AIFDACL_SRC */

Definition at line 354 of file wm8903.h.

#define WM8903_AIFDACR_SRC   0x0010 /* AIFDACR_SRC */

Definition at line 355 of file wm8903.h.

#define WM8903_AIFDACR_SRC_MASK   0x0010 /* AIFDACR_SRC */

Definition at line 356 of file wm8903.h.

#define WM8903_AIFDACR_SRC_SHIFT   4 /* AIFDACR_SRC */

Definition at line 357 of file wm8903.h.

#define WM8903_AIFDACR_SRC_WIDTH   1 /* AIFDACR_SRC */

Definition at line 358 of file wm8903.h.

#define WM8903_ANALOGUE_ADC_0   0x0A

Definition at line 32 of file wm8903.h.

#define WM8903_ANALOGUE_DAC_0   0x08

Definition at line 31 of file wm8903.h.

#define WM8903_ANALOGUE_HP_0   0x5A

Definition at line 86 of file wm8903.h.

#define WM8903_ANALOGUE_LEFT_INPUT_0   0x2C

Definition at line 59 of file wm8903.h.

#define WM8903_ANALOGUE_LEFT_INPUT_1   0x2E

Definition at line 61 of file wm8903.h.

#define WM8903_ANALOGUE_LEFT_MIX_0   0x32

Definition at line 63 of file wm8903.h.

#define WM8903_ANALOGUE_LINEOUT_0   0x5E

Definition at line 87 of file wm8903.h.

#define WM8903_ANALOGUE_OUT1_LEFT   0x39

Definition at line 69 of file wm8903.h.

#define WM8903_ANALOGUE_OUT1_RIGHT   0x3A

Definition at line 70 of file wm8903.h.

#define WM8903_ANALOGUE_OUT2_LEFT   0x3B

Definition at line 71 of file wm8903.h.

#define WM8903_ANALOGUE_OUT2_RIGHT   0x3C

Definition at line 72 of file wm8903.h.

#define WM8903_ANALOGUE_OUT3_LEFT   0x3E

Definition at line 73 of file wm8903.h.

#define WM8903_ANALOGUE_OUT3_RIGHT   0x3F

Definition at line 74 of file wm8903.h.

#define WM8903_ANALOGUE_OUTPUT_BIAS_0   0xAC

Definition at line 106 of file wm8903.h.

#define WM8903_ANALOGUE_RIGHT_INPUT_0   0x2D

Definition at line 60 of file wm8903.h.

#define WM8903_ANALOGUE_RIGHT_INPUT_1   0x2F

Definition at line 62 of file wm8903.h.

#define WM8903_ANALOGUE_RIGHT_MIX_0   0x33

Definition at line 64 of file wm8903.h.

#define WM8903_ANALOGUE_SPK_MIX_LEFT_0   0x34

Definition at line 65 of file wm8903.h.

#define WM8903_ANALOGUE_SPK_MIX_LEFT_1   0x35

Definition at line 66 of file wm8903.h.

#define WM8903_ANALOGUE_SPK_MIX_RIGHT_0   0x36

Definition at line 67 of file wm8903.h.

#define WM8903_ANALOGUE_SPK_MIX_RIGHT_1   0x37

Definition at line 68 of file wm8903.h.

#define WM8903_ANALOGUE_SPK_OUTPUT_CONTROL_0   0x41

Definition at line 75 of file wm8903.h.

#define WM8903_AUDIO_INTERFACE_0   0x18

Definition at line 43 of file wm8903.h.

#define WM8903_AUDIO_INTERFACE_1   0x19

Definition at line 44 of file wm8903.h.

#define WM8903_AUDIO_INTERFACE_2   0x1A

Definition at line 45 of file wm8903.h.

#define WM8903_AUDIO_INTERFACE_3   0x1B

Definition at line 46 of file wm8903.h.

#define WM8903_BCLK_DIR   0x0040 /* BCLK_DIR */

Definition at line 403 of file wm8903.h.

#define WM8903_BCLK_DIR_MASK   0x0040 /* BCLK_DIR */

Definition at line 404 of file wm8903.h.

#define WM8903_BCLK_DIR_SHIFT   6 /* BCLK_DIR */

Definition at line 405 of file wm8903.h.

#define WM8903_BCLK_DIR_WIDTH   1 /* BCLK_DIR */

Definition at line 406 of file wm8903.h.

#define WM8903_BCLK_DIV_MASK   0x001F /* BCLK_DIV - [4:0] */

Definition at line 421 of file wm8903.h.

#define WM8903_BCLK_DIV_SHIFT   0 /* BCLK_DIV - [4:0] */

Definition at line 422 of file wm8903.h.

#define WM8903_BCLK_DIV_WIDTH   5 /* BCLK_DIV - [4:0] */

Definition at line 423 of file wm8903.h.

#define WM8903_BIAS_CONTROL_0   0x04

Definition at line 28 of file wm8903.h.

#define WM8903_BIAS_ENA   0x0001 /* BIAS_ENA */

Definition at line 143 of file wm8903.h.

#define WM8903_BIAS_ENA_MASK   0x0001 /* BIAS_ENA */

Definition at line 144 of file wm8903.h.

#define WM8903_BIAS_ENA_SHIFT   0 /* BIAS_ENA */

Definition at line 145 of file wm8903.h.

#define WM8903_BIAS_ENA_WIDTH   1 /* BIAS_ENA */

Definition at line 146 of file wm8903.h.

#define WM8903_BUFIO_ENA   0x0040 /* BUFIO_ENA */

Definition at line 155 of file wm8903.h.

#define WM8903_BUFIO_ENA_MASK   0x0040 /* BUFIO_ENA */

Definition at line 156 of file wm8903.h.

#define WM8903_BUFIO_ENA_SHIFT   6 /* BUFIO_ENA */

Definition at line 157 of file wm8903.h.

#define WM8903_BUFIO_ENA_WIDTH   1 /* BUFIO_ENA */

Definition at line 158 of file wm8903.h.

#define WM8903_BYPASSL_MIXSPKL_VOL   0x0002 /* BYPASSL_MIXSPKL_VOL */

Definition at line 761 of file wm8903.h.

#define WM8903_BYPASSL_MIXSPKL_VOL_MASK   0x0002 /* BYPASSL_MIXSPKL_VOL */

Definition at line 762 of file wm8903.h.

#define WM8903_BYPASSL_MIXSPKL_VOL_SHIFT   1 /* BYPASSL_MIXSPKL_VOL */

Definition at line 763 of file wm8903.h.

#define WM8903_BYPASSL_MIXSPKL_VOL_WIDTH   1 /* BYPASSL_MIXSPKL_VOL */

Definition at line 764 of file wm8903.h.

#define WM8903_BYPASSL_MIXSPKR_VOL   0x0002 /* BYPASSL_MIXSPKR_VOL */

Definition at line 801 of file wm8903.h.

#define WM8903_BYPASSL_MIXSPKR_VOL_MASK   0x0002 /* BYPASSL_MIXSPKR_VOL */

Definition at line 802 of file wm8903.h.

#define WM8903_BYPASSL_MIXSPKR_VOL_SHIFT   1 /* BYPASSL_MIXSPKR_VOL */

Definition at line 803 of file wm8903.h.

#define WM8903_BYPASSL_MIXSPKR_VOL_WIDTH   1 /* BYPASSL_MIXSPKR_VOL */

Definition at line 804 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXOUTL   0x0002 /* BYPASSL_TO_MIXOUTL */

Definition at line 701 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXOUTL_MASK   0x0002 /* BYPASSL_TO_MIXOUTL */

Definition at line 702 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXOUTL_SHIFT   1 /* BYPASSL_TO_MIXOUTL */

Definition at line 703 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXOUTL_WIDTH   1 /* BYPASSL_TO_MIXOUTL */

Definition at line 704 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXOUTR   0x0002 /* BYPASSL_TO_MIXOUTR */

Definition at line 721 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXOUTR_MASK   0x0002 /* BYPASSL_TO_MIXOUTR */

Definition at line 722 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXOUTR_SHIFT   1 /* BYPASSL_TO_MIXOUTR */

Definition at line 723 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXOUTR_WIDTH   1 /* BYPASSL_TO_MIXOUTR */

Definition at line 724 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXSPKL   0x0002 /* BYPASSL_TO_MIXSPKL */

Definition at line 741 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXSPKL_MASK   0x0002 /* BYPASSL_TO_MIXSPKL */

Definition at line 742 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXSPKL_SHIFT   1 /* BYPASSL_TO_MIXSPKL */

Definition at line 743 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXSPKL_WIDTH   1 /* BYPASSL_TO_MIXSPKL */

Definition at line 744 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXSPKR   0x0002 /* BYPASSL_TO_MIXSPKR */

Definition at line 781 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXSPKR_MASK   0x0002 /* BYPASSL_TO_MIXSPKR */

Definition at line 782 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXSPKR_SHIFT   1 /* BYPASSL_TO_MIXSPKR */

Definition at line 783 of file wm8903.h.

#define WM8903_BYPASSL_TO_MIXSPKR_WIDTH   1 /* BYPASSL_TO_MIXSPKR */

Definition at line 784 of file wm8903.h.

#define WM8903_BYPASSR_MIXSPKL_VOL   0x0001 /* BYPASSR_MIXSPKL_VOL */

Definition at line 765 of file wm8903.h.

#define WM8903_BYPASSR_MIXSPKL_VOL_MASK   0x0001 /* BYPASSR_MIXSPKL_VOL */

Definition at line 766 of file wm8903.h.

#define WM8903_BYPASSR_MIXSPKL_VOL_SHIFT   0 /* BYPASSR_MIXSPKL_VOL */

Definition at line 767 of file wm8903.h.

#define WM8903_BYPASSR_MIXSPKL_VOL_WIDTH   1 /* BYPASSR_MIXSPKL_VOL */

Definition at line 768 of file wm8903.h.

#define WM8903_BYPASSR_MIXSPKR_VOL   0x0001 /* BYPASSR_MIXSPKR_VOL */

Definition at line 805 of file wm8903.h.

#define WM8903_BYPASSR_MIXSPKR_VOL_MASK   0x0001 /* BYPASSR_MIXSPKR_VOL */

Definition at line 806 of file wm8903.h.

#define WM8903_BYPASSR_MIXSPKR_VOL_SHIFT   0 /* BYPASSR_MIXSPKR_VOL */

Definition at line 807 of file wm8903.h.

#define WM8903_BYPASSR_MIXSPKR_VOL_WIDTH   1 /* BYPASSR_MIXSPKR_VOL */

Definition at line 808 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXOUTL   0x0001 /* BYPASSR_TO_MIXOUTL */

Definition at line 705 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXOUTL_MASK   0x0001 /* BYPASSR_TO_MIXOUTL */

Definition at line 706 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXOUTL_SHIFT   0 /* BYPASSR_TO_MIXOUTL */

Definition at line 707 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXOUTL_WIDTH   1 /* BYPASSR_TO_MIXOUTL */

Definition at line 708 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXOUTR   0x0001 /* BYPASSR_TO_MIXOUTR */

Definition at line 725 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXOUTR_MASK   0x0001 /* BYPASSR_TO_MIXOUTR */

Definition at line 726 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXOUTR_SHIFT   0 /* BYPASSR_TO_MIXOUTR */

Definition at line 727 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXOUTR_WIDTH   1 /* BYPASSR_TO_MIXOUTR */

Definition at line 728 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXSPKL   0x0001 /* BYPASSR_TO_MIXSPKL */

Definition at line 745 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXSPKL_MASK   0x0001 /* BYPASSR_TO_MIXSPKL */

Definition at line 746 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXSPKL_SHIFT   0 /* BYPASSR_TO_MIXSPKL */

Definition at line 747 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXSPKL_WIDTH   1 /* BYPASSR_TO_MIXSPKL */

Definition at line 748 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXSPKR   0x0001 /* BYPASSR_TO_MIXSPKR */

Definition at line 785 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXSPKR_MASK   0x0001 /* BYPASSR_TO_MIXSPKR */

Definition at line 786 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXSPKR_SHIFT   0 /* BYPASSR_TO_MIXSPKR */

Definition at line 787 of file wm8903.h.

#define WM8903_BYPASSR_TO_MIXSPKR_WIDTH   1 /* BYPASSR_TO_MIXSPKR */

Definition at line 788 of file wm8903.h.

#define WM8903_CHARGE_PUMP_0   0x62

Definition at line 88 of file wm8903.h.

#define WM8903_CHIP_REV_MASK   0x000F /* CHIP_REV - [3:0] */

Definition at line 125 of file wm8903.h.

#define WM8903_CHIP_REV_SHIFT   0 /* CHIP_REV - [3:0] */

Definition at line 126 of file wm8903.h.

#define WM8903_CHIP_REV_WIDTH   4 /* CHIP_REV - [3:0] */

Definition at line 127 of file wm8903.h.

#define WM8903_CLASS_W_0   0x68

Definition at line 89 of file wm8903.h.

#define WM8903_CLK_DSP_ENA   0x0002 /* CLK_DSP_ENA */

Definition at line 316 of file wm8903.h.

#define WM8903_CLK_DSP_ENA_MASK   0x0002 /* CLK_DSP_ENA */

Definition at line 317 of file wm8903.h.

#define WM8903_CLK_DSP_ENA_SHIFT   1 /* CLK_DSP_ENA */

Definition at line 318 of file wm8903.h.

#define WM8903_CLK_DSP_ENA_WIDTH   1 /* CLK_DSP_ENA */

Definition at line 319 of file wm8903.h.

#define WM8903_CLK_SYS_ENA   0x0004 /* CLK_SYS_ENA */

Definition at line 312 of file wm8903.h.

#define WM8903_CLK_SYS_ENA_MASK   0x0004 /* CLK_SYS_ENA */

Definition at line 313 of file wm8903.h.

#define WM8903_CLK_SYS_ENA_SHIFT   2 /* CLK_SYS_ENA */

Definition at line 314 of file wm8903.h.

#define WM8903_CLK_SYS_ENA_WIDTH   1 /* CLK_SYS_ENA */

Definition at line 315 of file wm8903.h.

#define WM8903_CLK_SYS_MODE_MASK   0x0300 /* CLK_SYS_MODE - [9:8] */

Definition at line 302 of file wm8903.h.

#define WM8903_CLK_SYS_MODE_SHIFT   8 /* CLK_SYS_MODE - [9:8] */

Definition at line 303 of file wm8903.h.

#define WM8903_CLK_SYS_MODE_WIDTH   2 /* CLK_SYS_MODE - [9:8] */

Definition at line 304 of file wm8903.h.

#define WM8903_CLK_SYS_RATE_MASK   0x3C00 /* CLK_SYS_RATE - [13:10] */

Definition at line 299 of file wm8903.h.

#define WM8903_CLK_SYS_RATE_SHIFT   10 /* CLK_SYS_RATE - [13:10] */

Definition at line 300 of file wm8903.h.

#define WM8903_CLK_SYS_RATE_WIDTH   4 /* CLK_SYS_RATE - [13:10] */

Definition at line 301 of file wm8903.h.

#define WM8903_CLOCK_RATE_TEST_4   0xA4

Definition at line 105 of file wm8903.h.

#define WM8903_CLOCK_RATES_0   0x14

Definition at line 40 of file wm8903.h.

#define WM8903_CLOCK_RATES_1   0x15

Definition at line 41 of file wm8903.h.

#define WM8903_CLOCK_RATES_2   0x16

Definition at line 42 of file wm8903.h.

#define WM8903_CONTROL_INTERFACE   0x72

Definition at line 95 of file wm8903.h.

#define WM8903_CP_DYN_FREQ   0x0002 /* CP_DYN_FREQ */

Definition at line 1037 of file wm8903.h.

#define WM8903_CP_DYN_FREQ_MASK   0x0002 /* CP_DYN_FREQ */

Definition at line 1038 of file wm8903.h.

#define WM8903_CP_DYN_FREQ_SHIFT   1 /* CP_DYN_FREQ */

Definition at line 1039 of file wm8903.h.

#define WM8903_CP_DYN_FREQ_WIDTH   1 /* CP_DYN_FREQ */

Definition at line 1040 of file wm8903.h.

#define WM8903_CP_DYN_V   0x0001 /* CP_DYN_V */

Definition at line 1041 of file wm8903.h.

#define WM8903_CP_DYN_V_MASK   0x0001 /* CP_DYN_V */

Definition at line 1042 of file wm8903.h.

#define WM8903_CP_DYN_V_SHIFT   0 /* CP_DYN_V */

Definition at line 1043 of file wm8903.h.

#define WM8903_CP_DYN_V_WIDTH   1 /* CP_DYN_V */

Definition at line 1044 of file wm8903.h.

#define WM8903_CP_ENA   0x0001 /* CP_ENA */

Definition at line 1029 of file wm8903.h.

#define WM8903_CP_ENA_MASK   0x0001 /* CP_ENA */

Definition at line 1030 of file wm8903.h.

#define WM8903_CP_ENA_SHIFT   0 /* CP_ENA */

Definition at line 1031 of file wm8903.h.

#define WM8903_CP_ENA_WIDTH   1 /* CP_ENA */

Definition at line 1032 of file wm8903.h.

#define WM8903_DAC_BOOST_MASK   0x0600 /* DAC_BOOST - [10:9] */

Definition at line 336 of file wm8903.h.

#define WM8903_DAC_BOOST_SHIFT   9 /* DAC_BOOST - [10:9] */

Definition at line 337 of file wm8903.h.

#define WM8903_DAC_BOOST_WIDTH   2 /* DAC_BOOST - [10:9] */

Definition at line 338 of file wm8903.h.

#define WM8903_DAC_COMP   0x0002 /* DAC_COMP */

Definition at line 367 of file wm8903.h.

#define WM8903_DAC_COMP_MASK   0x0002 /* DAC_COMP */

Definition at line 368 of file wm8903.h.

#define WM8903_DAC_COMP_SHIFT   1 /* DAC_COMP */

Definition at line 369 of file wm8903.h.

#define WM8903_DAC_COMP_WIDTH   1 /* DAC_COMP */

Definition at line 370 of file wm8903.h.

#define WM8903_DAC_COMPMODE   0x0001 /* DAC_COMPMODE */

Definition at line 371 of file wm8903.h.

#define WM8903_DAC_COMPMODE_MASK   0x0001 /* DAC_COMPMODE */

Definition at line 372 of file wm8903.h.

#define WM8903_DAC_COMPMODE_SHIFT   0 /* DAC_COMPMODE */

Definition at line 373 of file wm8903.h.

#define WM8903_DAC_COMPMODE_WIDTH   1 /* DAC_COMPMODE */

Definition at line 374 of file wm8903.h.

#define WM8903_DAC_DIGITAL_0   0x20

Definition at line 49 of file wm8903.h.

#define WM8903_DAC_DIGITAL_1   0x21

Definition at line 50 of file wm8903.h.

#define WM8903_DAC_DIGITAL_VOLUME_LEFT   0x1E

Definition at line 47 of file wm8903.h.

#define WM8903_DAC_DIGITAL_VOLUME_RIGHT   0x1F

Definition at line 48 of file wm8903.h.

#define WM8903_DAC_MONO   0x1000 /* DAC_MONO */

Definition at line 473 of file wm8903.h.

#define WM8903_DAC_MONO_MASK   0x1000 /* DAC_MONO */

Definition at line 474 of file wm8903.h.

#define WM8903_DAC_MONO_SHIFT   12 /* DAC_MONO */

Definition at line 475 of file wm8903.h.

#define WM8903_DAC_MONO_WIDTH   1 /* DAC_MONO */

Definition at line 476 of file wm8903.h.

#define WM8903_DAC_MUTE   0x0008 /* DAC_MUTE */

Definition at line 489 of file wm8903.h.

#define WM8903_DAC_MUTE_MASK   0x0008 /* DAC_MUTE */

Definition at line 490 of file wm8903.h.

#define WM8903_DAC_MUTE_SHIFT   3 /* DAC_MUTE */

Definition at line 491 of file wm8903.h.

#define WM8903_DAC_MUTE_WIDTH   1 /* DAC_MUTE */

Definition at line 492 of file wm8903.h.

#define WM8903_DAC_MUTEMODE   0x0200 /* DAC_MUTEMODE */

Definition at line 485 of file wm8903.h.

#define WM8903_DAC_MUTEMODE_MASK   0x0200 /* DAC_MUTEMODE */

Definition at line 486 of file wm8903.h.

#define WM8903_DAC_MUTEMODE_SHIFT   9 /* DAC_MUTEMODE */

Definition at line 487 of file wm8903.h.

#define WM8903_DAC_MUTEMODE_WIDTH   1 /* DAC_MUTEMODE */

Definition at line 488 of file wm8903.h.

#define WM8903_DAC_MUTERATE   0x0400 /* DAC_MUTERATE */

Definition at line 481 of file wm8903.h.

#define WM8903_DAC_MUTERATE_MASK   0x0400 /* DAC_MUTERATE */

Definition at line 482 of file wm8903.h.

#define WM8903_DAC_MUTERATE_SHIFT   10 /* DAC_MUTERATE */

Definition at line 483 of file wm8903.h.

#define WM8903_DAC_MUTERATE_WIDTH   1 /* DAC_MUTERATE */

Definition at line 484 of file wm8903.h.

#define WM8903_DAC_SB_FILT   0x0800 /* DAC_SB_FILT */

Definition at line 477 of file wm8903.h.

#define WM8903_DAC_SB_FILT_MASK   0x0800 /* DAC_SB_FILT */

Definition at line 478 of file wm8903.h.

#define WM8903_DAC_SB_FILT_SHIFT   11 /* DAC_SB_FILT */

Definition at line 479 of file wm8903.h.

#define WM8903_DAC_SB_FILT_WIDTH   1 /* DAC_SB_FILT */

Definition at line 480 of file wm8903.h.

#define WM8903_DACBIAS_SEL_MASK   0x0018 /* DACBIAS_SEL - [4:3] */

Definition at line 181 of file wm8903.h.

#define WM8903_DACBIAS_SEL_SHIFT   3 /* DACBIAS_SEL - [4:3] */

Definition at line 182 of file wm8903.h.

#define WM8903_DACBIAS_SEL_WIDTH   2 /* DACBIAS_SEL - [4:3] */

Definition at line 183 of file wm8903.h.

#define WM8903_DACL_DATINV   0x1000 /* DACL_DATINV */

Definition at line 328 of file wm8903.h.

#define WM8903_DACL_DATINV_MASK   0x1000 /* DACL_DATINV */

Definition at line 329 of file wm8903.h.

#define WM8903_DACL_DATINV_SHIFT   12 /* DACL_DATINV */

Definition at line 330 of file wm8903.h.

#define WM8903_DACL_DATINV_WIDTH   1 /* DACL_DATINV */

Definition at line 331 of file wm8903.h.

#define WM8903_DACL_ENA   0x0008 /* DACL_ENA */

Definition at line 271 of file wm8903.h.

#define WM8903_DACL_ENA_MASK   0x0008 /* DACL_ENA */

Definition at line 272 of file wm8903.h.

#define WM8903_DACL_ENA_SHIFT   3 /* DACL_ENA */

Definition at line 273 of file wm8903.h.

#define WM8903_DACL_ENA_WIDTH   1 /* DACL_ENA */

Definition at line 274 of file wm8903.h.

#define WM8903_DACL_MIXSPKL_VOL   0x0008 /* DACL_MIXSPKL_VOL */

Definition at line 753 of file wm8903.h.

#define WM8903_DACL_MIXSPKL_VOL_MASK   0x0008 /* DACL_MIXSPKL_VOL */

Definition at line 754 of file wm8903.h.

#define WM8903_DACL_MIXSPKL_VOL_SHIFT   3 /* DACL_MIXSPKL_VOL */

Definition at line 755 of file wm8903.h.

#define WM8903_DACL_MIXSPKL_VOL_WIDTH   1 /* DACL_MIXSPKL_VOL */

Definition at line 756 of file wm8903.h.

#define WM8903_DACL_MIXSPKR_VOL   0x0008 /* DACL_MIXSPKR_VOL */

Definition at line 793 of file wm8903.h.

#define WM8903_DACL_MIXSPKR_VOL_MASK   0x0008 /* DACL_MIXSPKR_VOL */

Definition at line 794 of file wm8903.h.

#define WM8903_DACL_MIXSPKR_VOL_SHIFT   3 /* DACL_MIXSPKR_VOL */

Definition at line 795 of file wm8903.h.

#define WM8903_DACL_MIXSPKR_VOL_WIDTH   1 /* DACL_MIXSPKR_VOL */

Definition at line 796 of file wm8903.h.

#define WM8903_DACL_TO_MIXOUTL   0x0008 /* DACL_TO_MIXOUTL */

Definition at line 693 of file wm8903.h.

#define WM8903_DACL_TO_MIXOUTL_MASK   0x0008 /* DACL_TO_MIXOUTL */

Definition at line 694 of file wm8903.h.

#define WM8903_DACL_TO_MIXOUTL_SHIFT   3 /* DACL_TO_MIXOUTL */

Definition at line 695 of file wm8903.h.

#define WM8903_DACL_TO_MIXOUTL_WIDTH   1 /* DACL_TO_MIXOUTL */

Definition at line 696 of file wm8903.h.

#define WM8903_DACL_TO_MIXOUTR   0x0008 /* DACL_TO_MIXOUTR */

Definition at line 713 of file wm8903.h.

#define WM8903_DACL_TO_MIXOUTR_MASK   0x0008 /* DACL_TO_MIXOUTR */

Definition at line 714 of file wm8903.h.

#define WM8903_DACL_TO_MIXOUTR_SHIFT   3 /* DACL_TO_MIXOUTR */

Definition at line 715 of file wm8903.h.

#define WM8903_DACL_TO_MIXOUTR_WIDTH   1 /* DACL_TO_MIXOUTR */

Definition at line 716 of file wm8903.h.

#define WM8903_DACL_TO_MIXSPKL   0x0008 /* DACL_TO_MIXSPKL */

Definition at line 733 of file wm8903.h.

#define WM8903_DACL_TO_MIXSPKL_MASK   0x0008 /* DACL_TO_MIXSPKL */

Definition at line 734 of file wm8903.h.

#define WM8903_DACL_TO_MIXSPKL_SHIFT   3 /* DACL_TO_MIXSPKL */

Definition at line 735 of file wm8903.h.

#define WM8903_DACL_TO_MIXSPKL_WIDTH   1 /* DACL_TO_MIXSPKL */

Definition at line 736 of file wm8903.h.

#define WM8903_DACL_TO_MIXSPKR   0x0008 /* DACL_TO_MIXSPKR */

Definition at line 773 of file wm8903.h.

#define WM8903_DACL_TO_MIXSPKR_MASK   0x0008 /* DACL_TO_MIXSPKR */

Definition at line 774 of file wm8903.h.

#define WM8903_DACL_TO_MIXSPKR_SHIFT   3 /* DACL_TO_MIXSPKR */

Definition at line 775 of file wm8903.h.

#define WM8903_DACL_TO_MIXSPKR_WIDTH   1 /* DACL_TO_MIXSPKR */

Definition at line 776 of file wm8903.h.

#define WM8903_DACL_VOL_MASK   0x00FF /* DACL_VOL - [7:0] */

Definition at line 439 of file wm8903.h.

#define WM8903_DACL_VOL_SHIFT   0 /* DACL_VOL - [7:0] */

Definition at line 440 of file wm8903.h.

#define WM8903_DACL_VOL_WIDTH   8 /* DACL_VOL - [7:0] */

Definition at line 441 of file wm8903.h.

#define WM8903_DACR_DATINV   0x0800 /* DACR_DATINV */

Definition at line 332 of file wm8903.h.

#define WM8903_DACR_DATINV_MASK   0x0800 /* DACR_DATINV */

Definition at line 333 of file wm8903.h.

#define WM8903_DACR_DATINV_SHIFT   11 /* DACR_DATINV */

Definition at line 334 of file wm8903.h.

#define WM8903_DACR_DATINV_WIDTH   1 /* DACR_DATINV */

Definition at line 335 of file wm8903.h.

#define WM8903_DACR_ENA   0x0004 /* DACR_ENA */

Definition at line 275 of file wm8903.h.

#define WM8903_DACR_ENA_MASK   0x0004 /* DACR_ENA */

Definition at line 276 of file wm8903.h.

#define WM8903_DACR_ENA_SHIFT   2 /* DACR_ENA */

Definition at line 277 of file wm8903.h.

#define WM8903_DACR_ENA_WIDTH   1 /* DACR_ENA */

Definition at line 278 of file wm8903.h.

#define WM8903_DACR_MIXSPKL_VOL   0x0004 /* DACR_MIXSPKL_VOL */

Definition at line 757 of file wm8903.h.

#define WM8903_DACR_MIXSPKL_VOL_MASK   0x0004 /* DACR_MIXSPKL_VOL */

Definition at line 758 of file wm8903.h.

#define WM8903_DACR_MIXSPKL_VOL_SHIFT   2 /* DACR_MIXSPKL_VOL */

Definition at line 759 of file wm8903.h.

#define WM8903_DACR_MIXSPKL_VOL_WIDTH   1 /* DACR_MIXSPKL_VOL */

Definition at line 760 of file wm8903.h.

#define WM8903_DACR_MIXSPKR_VOL   0x0004 /* DACR_MIXSPKR_VOL */

Definition at line 797 of file wm8903.h.

#define WM8903_DACR_MIXSPKR_VOL_MASK   0x0004 /* DACR_MIXSPKR_VOL */

Definition at line 798 of file wm8903.h.

#define WM8903_DACR_MIXSPKR_VOL_SHIFT   2 /* DACR_MIXSPKR_VOL */

Definition at line 799 of file wm8903.h.

#define WM8903_DACR_MIXSPKR_VOL_WIDTH   1 /* DACR_MIXSPKR_VOL */

Definition at line 800 of file wm8903.h.

#define WM8903_DACR_TO_MIXOUTL   0x0004 /* DACR_TO_MIXOUTL */

Definition at line 697 of file wm8903.h.

#define WM8903_DACR_TO_MIXOUTL_MASK   0x0004 /* DACR_TO_MIXOUTL */

Definition at line 698 of file wm8903.h.

#define WM8903_DACR_TO_MIXOUTL_SHIFT   2 /* DACR_TO_MIXOUTL */

Definition at line 699 of file wm8903.h.

#define WM8903_DACR_TO_MIXOUTL_WIDTH   1 /* DACR_TO_MIXOUTL */

Definition at line 700 of file wm8903.h.

#define WM8903_DACR_TO_MIXOUTR   0x0004 /* DACR_TO_MIXOUTR */

Definition at line 717 of file wm8903.h.

#define WM8903_DACR_TO_MIXOUTR_MASK   0x0004 /* DACR_TO_MIXOUTR */

Definition at line 718 of file wm8903.h.

#define WM8903_DACR_TO_MIXOUTR_SHIFT   2 /* DACR_TO_MIXOUTR */

Definition at line 719 of file wm8903.h.

#define WM8903_DACR_TO_MIXOUTR_WIDTH   1 /* DACR_TO_MIXOUTR */

Definition at line 720 of file wm8903.h.

#define WM8903_DACR_TO_MIXSPKL   0x0004 /* DACR_TO_MIXSPKL */

Definition at line 737 of file wm8903.h.

#define WM8903_DACR_TO_MIXSPKL_MASK   0x0004 /* DACR_TO_MIXSPKL */

Definition at line 738 of file wm8903.h.

#define WM8903_DACR_TO_MIXSPKL_SHIFT   2 /* DACR_TO_MIXSPKL */

Definition at line 739 of file wm8903.h.

#define WM8903_DACR_TO_MIXSPKL_WIDTH   1 /* DACR_TO_MIXSPKL */

Definition at line 740 of file wm8903.h.

#define WM8903_DACR_TO_MIXSPKR   0x0004 /* DACR_TO_MIXSPKR */

Definition at line 777 of file wm8903.h.

#define WM8903_DACR_TO_MIXSPKR_MASK   0x0004 /* DACR_TO_MIXSPKR */

Definition at line 778 of file wm8903.h.

#define WM8903_DACR_TO_MIXSPKR_SHIFT   2 /* DACR_TO_MIXSPKR */

Definition at line 779 of file wm8903.h.

#define WM8903_DACR_TO_MIXSPKR_WIDTH   1 /* DACR_TO_MIXSPKR */

Definition at line 780 of file wm8903.h.

#define WM8903_DACR_VOL_MASK   0x00FF /* DACR_VOL - [7:0] */

Definition at line 450 of file wm8903.h.

#define WM8903_DACR_VOL_SHIFT   0 /* DACR_VOL - [7:0] */

Definition at line 451 of file wm8903.h.

#define WM8903_DACR_VOL_WIDTH   8 /* DACR_VOL - [7:0] */

Definition at line 452 of file wm8903.h.

#define WM8903_DACVMID_BIAS_SEL_MASK   0x0006 /* DACVMID_BIAS_SEL - [2:1] */

Definition at line 184 of file wm8903.h.

#define WM8903_DACVMID_BIAS_SEL_SHIFT   1 /* DACVMID_BIAS_SEL - [2:1] */

Definition at line 185 of file wm8903.h.

#define WM8903_DACVMID_BIAS_SEL_WIDTH   2 /* DACVMID_BIAS_SEL - [2:1] */

Definition at line 186 of file wm8903.h.

#define WM8903_DACVU   0x0100 /* DACVU */

Definition at line 446 of file wm8903.h.

#define WM8903_DACVU   0x0100 /* DACVU */

Definition at line 446 of file wm8903.h.

#define WM8903_DACVU_MASK   0x0100 /* DACVU */

Definition at line 447 of file wm8903.h.

#define WM8903_DACVU_MASK   0x0100 /* DACVU */

Definition at line 447 of file wm8903.h.

#define WM8903_DACVU_SHIFT   8 /* DACVU */

Definition at line 448 of file wm8903.h.

#define WM8903_DACVU_SHIFT   8 /* DACVU */

Definition at line 448 of file wm8903.h.

#define WM8903_DACVU_WIDTH   1 /* DACVU */

Definition at line 449 of file wm8903.h.

#define WM8903_DACVU_WIDTH   1 /* DACVU */

Definition at line 449 of file wm8903.h.

#define WM8903_DC_SERVO_0   0x43

Definition at line 76 of file wm8903.h.

#define WM8903_DC_SERVO_2   0x45

Definition at line 77 of file wm8903.h.

#define WM8903_DC_SERVO_4   0x47

Definition at line 78 of file wm8903.h.

#define WM8903_DC_SERVO_5   0x48

Definition at line 79 of file wm8903.h.

#define WM8903_DC_SERVO_6   0x49

Definition at line 80 of file wm8903.h.

#define WM8903_DC_SERVO_7   0x4A

Definition at line 81 of file wm8903.h.

#define WM8903_DC_SERVO_READBACK_1   0x51

Definition at line 82 of file wm8903.h.

#define WM8903_DC_SERVO_READBACK_2   0x52

Definition at line 83 of file wm8903.h.

#define WM8903_DC_SERVO_READBACK_3   0x53

Definition at line 84 of file wm8903.h.

#define WM8903_DC_SERVO_READBACK_4   0x54

Definition at line 85 of file wm8903.h.

#define WM8903_DCS_ENA_MASK   0x000F /* DCS_ENA - [3:0] */

Definition at line 943 of file wm8903.h.

#define WM8903_DCS_ENA_SHIFT   0 /* DCS_ENA - [3:0] */

Definition at line 944 of file wm8903.h.

#define WM8903_DCS_ENA_WIDTH   4 /* DCS_ENA - [3:0] */

Definition at line 945 of file wm8903.h.

#define WM8903_DCS_MASTER_ENA   0x0010 /* DCS_MASTER_ENA */

Definition at line 939 of file wm8903.h.

#define WM8903_DCS_MASTER_ENA_MASK   0x0010 /* DCS_MASTER_ENA */

Definition at line 940 of file wm8903.h.

#define WM8903_DCS_MASTER_ENA_SHIFT   4 /* DCS_MASTER_ENA */

Definition at line 941 of file wm8903.h.

#define WM8903_DCS_MASTER_ENA_WIDTH   1 /* DCS_MASTER_ENA */

Definition at line 942 of file wm8903.h.

#define WM8903_DCS_MODE_MASK   0x0003 /* DCS_MODE - [1:0] */

Definition at line 950 of file wm8903.h.

#define WM8903_DCS_MODE_SHIFT   0 /* DCS_MODE - [1:0] */

Definition at line 951 of file wm8903.h.

#define WM8903_DCS_MODE_WIDTH   2 /* DCS_MODE - [1:0] */

Definition at line 952 of file wm8903.h.

#define WM8903_DEEMPH_MASK   0x0006 /* DEEMPH - [2:1] */

Definition at line 493 of file wm8903.h.

#define WM8903_DEEMPH_SHIFT   1 /* DEEMPH - [2:1] */

Definition at line 494 of file wm8903.h.

#define WM8903_DEEMPH_WIDTH   2 /* DEEMPH - [2:1] */

Definition at line 495 of file wm8903.h.

#define WM8903_DIGITAL_MICROPHONE_0   0x27

Definition at line 54 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_L_MASK   0x00C0 /* DIGMIC_CLK_SEL_L - [7:6] */

Definition at line 545 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_L_SHIFT   6 /* DIGMIC_CLK_SEL_L - [7:6] */

Definition at line 546 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_L_WIDTH   2 /* DIGMIC_CLK_SEL_L - [7:6] */

Definition at line 547 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_MASK   0x0003 /* DIGMIC_CLK_SEL - [1:0] */

Definition at line 554 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_R_MASK   0x0030 /* DIGMIC_CLK_SEL_R - [5:4] */

Definition at line 548 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_R_SHIFT   4 /* DIGMIC_CLK_SEL_R - [5:4] */

Definition at line 549 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_R_WIDTH   2 /* DIGMIC_CLK_SEL_R - [5:4] */

Definition at line 550 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_RT_MASK   0x000C /* DIGMIC_CLK_SEL_RT - [3:2] */

Definition at line 551 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_RT_SHIFT   2 /* DIGMIC_CLK_SEL_RT - [3:2] */

Definition at line 552 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_RT_WIDTH   2 /* DIGMIC_CLK_SEL_RT - [3:2] */

Definition at line 553 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_SHIFT   0 /* DIGMIC_CLK_SEL - [1:0] */

Definition at line 555 of file wm8903.h.

#define WM8903_DIGMIC_CLK_SEL_WIDTH   2 /* DIGMIC_CLK_SEL - [1:0] */

Definition at line 556 of file wm8903.h.

#define WM8903_DIGMIC_MODE_SEL   0x0100 /* DIGMIC_MODE_SEL */

Definition at line 541 of file wm8903.h.

#define WM8903_DIGMIC_MODE_SEL_MASK   0x0100 /* DIGMIC_MODE_SEL */

Definition at line 542 of file wm8903.h.

#define WM8903_DIGMIC_MODE_SEL_SHIFT   8 /* DIGMIC_MODE_SEL */

Definition at line 543 of file wm8903.h.

#define WM8903_DIGMIC_MODE_SEL_WIDTH   1 /* DIGMIC_MODE_SEL */

Definition at line 544 of file wm8903.h.

#define WM8903_DRC_0   0x28

Definition at line 55 of file wm8903.h.

#define WM8903_DRC_1   0x29

Definition at line 56 of file wm8903.h.

#define WM8903_DRC_2   0x2A

Definition at line 57 of file wm8903.h.

#define WM8903_DRC_3   0x2B

Definition at line 58 of file wm8903.h.

#define WM8903_DRC_AMP_COMP_MASK   0x001F /* DRC_AMP_COMP - [4:0] */

Definition at line 630 of file wm8903.h.

#define WM8903_DRC_AMP_COMP_SHIFT   0 /* DRC_AMP_COMP - [4:0] */

Definition at line 631 of file wm8903.h.

#define WM8903_DRC_AMP_COMP_WIDTH   5 /* DRC_AMP_COMP - [4:0] */

Definition at line 632 of file wm8903.h.

#define WM8903_DRC_ANTICLIP_ENA   0x0002 /* DRC_ANTICLIP_ENA */

Definition at line 583 of file wm8903.h.

#define WM8903_DRC_ANTICLIP_ENA_MASK   0x0002 /* DRC_ANTICLIP_ENA */

Definition at line 584 of file wm8903.h.

#define WM8903_DRC_ANTICLIP_ENA_SHIFT   1 /* DRC_ANTICLIP_ENA */

Definition at line 585 of file wm8903.h.

#define WM8903_DRC_ANTICLIP_ENA_WIDTH   1 /* DRC_ANTICLIP_ENA */

Definition at line 586 of file wm8903.h.

#define WM8903_DRC_ATTACK_RATE_MASK   0xF000 /* DRC_ATTACK_RATE - [15:12] */

Definition at line 595 of file wm8903.h.

#define WM8903_DRC_ATTACK_RATE_SHIFT   12 /* DRC_ATTACK_RATE - [15:12] */

Definition at line 596 of file wm8903.h.

#define WM8903_DRC_ATTACK_RATE_WIDTH   4 /* DRC_ATTACK_RATE - [15:12] */

Definition at line 597 of file wm8903.h.

#define WM8903_DRC_DECAY_RATE_MASK   0x0F00 /* DRC_DECAY_RATE - [11:8] */

Definition at line 598 of file wm8903.h.

#define WM8903_DRC_DECAY_RATE_SHIFT   8 /* DRC_DECAY_RATE - [11:8] */

Definition at line 599 of file wm8903.h.

#define WM8903_DRC_DECAY_RATE_WIDTH   4 /* DRC_DECAY_RATE - [11:8] */

Definition at line 600 of file wm8903.h.

#define WM8903_DRC_ENA   0x8000 /* DRC_ENA */

Definition at line 561 of file wm8903.h.

#define WM8903_DRC_ENA_MASK   0x8000 /* DRC_ENA */

Definition at line 562 of file wm8903.h.

#define WM8903_DRC_ENA_SHIFT   15 /* DRC_ENA */

Definition at line 563 of file wm8903.h.

#define WM8903_DRC_ENA_WIDTH   1 /* DRC_ENA */

Definition at line 564 of file wm8903.h.

#define WM8903_DRC_FF_DELAY   0x0020 /* DRC_FF_DELAY */

Definition at line 571 of file wm8903.h.

#define WM8903_DRC_FF_DELAY_MASK   0x0020 /* DRC_FF_DELAY */

Definition at line 572 of file wm8903.h.

#define WM8903_DRC_FF_DELAY_SHIFT   5 /* DRC_FF_DELAY */

Definition at line 573 of file wm8903.h.

#define WM8903_DRC_FF_DELAY_WIDTH   1 /* DRC_FF_DELAY */

Definition at line 574 of file wm8903.h.

#define WM8903_DRC_HYST_ENA   0x0001 /* DRC_HYST_ENA */

Definition at line 587 of file wm8903.h.

#define WM8903_DRC_HYST_ENA_MASK   0x0001 /* DRC_HYST_ENA */

Definition at line 588 of file wm8903.h.

#define WM8903_DRC_HYST_ENA_SHIFT   0 /* DRC_HYST_ENA */

Definition at line 589 of file wm8903.h.

#define WM8903_DRC_HYST_ENA_WIDTH   1 /* DRC_HYST_ENA */

Definition at line 590 of file wm8903.h.

#define WM8903_DRC_MAXGAIN_MASK   0x0003 /* DRC_MAXGAIN - [1:0] */

Definition at line 610 of file wm8903.h.

#define WM8903_DRC_MAXGAIN_SHIFT   0 /* DRC_MAXGAIN - [1:0] */

Definition at line 611 of file wm8903.h.

#define WM8903_DRC_MAXGAIN_WIDTH   2 /* DRC_MAXGAIN - [1:0] */

Definition at line 612 of file wm8903.h.

#define WM8903_DRC_MINGAIN_MASK   0x000C /* DRC_MINGAIN - [3:2] */

Definition at line 607 of file wm8903.h.

#define WM8903_DRC_MINGAIN_SHIFT   2 /* DRC_MINGAIN - [3:2] */

Definition at line 608 of file wm8903.h.

#define WM8903_DRC_MINGAIN_WIDTH   2 /* DRC_MINGAIN - [3:2] */

Definition at line 609 of file wm8903.h.

#define WM8903_DRC_QR_ENA   0x0004 /* DRC_QR_ENA */

Definition at line 579 of file wm8903.h.

#define WM8903_DRC_QR_ENA_MASK   0x0004 /* DRC_QR_ENA */

Definition at line 580 of file wm8903.h.

#define WM8903_DRC_QR_ENA_SHIFT   2 /* DRC_QR_ENA */

Definition at line 581 of file wm8903.h.

#define WM8903_DRC_QR_ENA_WIDTH   1 /* DRC_QR_ENA */

Definition at line 582 of file wm8903.h.

#define WM8903_DRC_R0_SLOPE_COMP_MASK   0x0038 /* DRC_R0_SLOPE_COMP - [5:3] */

Definition at line 617 of file wm8903.h.

#define WM8903_DRC_R0_SLOPE_COMP_SHIFT   3 /* DRC_R0_SLOPE_COMP - [5:3] */

Definition at line 618 of file wm8903.h.

#define WM8903_DRC_R0_SLOPE_COMP_WIDTH   3 /* DRC_R0_SLOPE_COMP - [5:3] */

Definition at line 619 of file wm8903.h.

#define WM8903_DRC_R1_SLOPE_COMP_MASK   0x0007 /* DRC_R1_SLOPE_COMP - [2:0] */

Definition at line 620 of file wm8903.h.

#define WM8903_DRC_R1_SLOPE_COMP_SHIFT   0 /* DRC_R1_SLOPE_COMP - [2:0] */

Definition at line 621 of file wm8903.h.

#define WM8903_DRC_R1_SLOPE_COMP_WIDTH   3 /* DRC_R1_SLOPE_COMP - [2:0] */

Definition at line 622 of file wm8903.h.

#define WM8903_DRC_RATE_QR_MASK   0x0030 /* DRC_RATE_QR - [5:4] */

Definition at line 604 of file wm8903.h.

#define WM8903_DRC_RATE_QR_SHIFT   4 /* DRC_RATE_QR - [5:4] */

Definition at line 605 of file wm8903.h.

#define WM8903_DRC_RATE_QR_WIDTH   2 /* DRC_RATE_QR - [5:4] */

Definition at line 606 of file wm8903.h.

#define WM8903_DRC_SMOOTH_ENA   0x0008 /* DRC_SMOOTH_ENA */

Definition at line 575 of file wm8903.h.

#define WM8903_DRC_SMOOTH_ENA_MASK   0x0008 /* DRC_SMOOTH_ENA */

Definition at line 576 of file wm8903.h.

#define WM8903_DRC_SMOOTH_ENA_SHIFT   3 /* DRC_SMOOTH_ENA */

Definition at line 577 of file wm8903.h.

#define WM8903_DRC_SMOOTH_ENA_WIDTH   1 /* DRC_SMOOTH_ENA */

Definition at line 578 of file wm8903.h.

#define WM8903_DRC_STARTUP_GAIN_MASK   0x07C0 /* DRC_STARTUP_GAIN - [10:6] */

Definition at line 568 of file wm8903.h.

#define WM8903_DRC_STARTUP_GAIN_SHIFT   6 /* DRC_STARTUP_GAIN - [10:6] */

Definition at line 569 of file wm8903.h.

#define WM8903_DRC_STARTUP_GAIN_WIDTH   5 /* DRC_STARTUP_GAIN - [10:6] */

Definition at line 570 of file wm8903.h.

#define WM8903_DRC_THRESH_COMP_MASK   0x07E0 /* DRC_THRESH_COMP - [10:5] */

Definition at line 627 of file wm8903.h.

#define WM8903_DRC_THRESH_COMP_SHIFT   5 /* DRC_THRESH_COMP - [10:5] */

Definition at line 628 of file wm8903.h.

#define WM8903_DRC_THRESH_COMP_WIDTH   6 /* DRC_THRESH_COMP - [10:5] */

Definition at line 629 of file wm8903.h.

#define WM8903_DRC_THRESH_HYST_MASK   0x1800 /* DRC_THRESH_HYST - [12:11] */

Definition at line 565 of file wm8903.h.

#define WM8903_DRC_THRESH_HYST_SHIFT   11 /* DRC_THRESH_HYST - [12:11] */

Definition at line 566 of file wm8903.h.

#define WM8903_DRC_THRESH_HYST_WIDTH   2 /* DRC_THRESH_HYST - [12:11] */

Definition at line 567 of file wm8903.h.

#define WM8903_DRC_THRESH_QR_MASK   0x00C0 /* DRC_THRESH_QR - [7:6] */

Definition at line 601 of file wm8903.h.

#define WM8903_DRC_THRESH_QR_SHIFT   6 /* DRC_THRESH_QR - [7:6] */

Definition at line 602 of file wm8903.h.

#define WM8903_DRC_THRESH_QR_WIDTH   2 /* DRC_THRESH_QR - [7:6] */

Definition at line 603 of file wm8903.h.

#define WM8903_GP1_EINT   0x0001 /* GP1_EINT */

Definition at line 1149 of file wm8903.h.

#define WM8903_GP1_EINT_MASK   0x0001 /* GP1_EINT */

Definition at line 1150 of file wm8903.h.

#define WM8903_GP1_EINT_SHIFT   0 /* GP1_EINT */

Definition at line 1151 of file wm8903.h.

#define WM8903_GP1_EINT_WIDTH   1 /* GP1_EINT */

Definition at line 1152 of file wm8903.h.

#define WM8903_GP2_EINT   0x0002 /* GP2_EINT */

Definition at line 1145 of file wm8903.h.

#define WM8903_GP2_EINT_MASK   0x0002 /* GP2_EINT */

Definition at line 1146 of file wm8903.h.

#define WM8903_GP2_EINT_SHIFT   1 /* GP2_EINT */

Definition at line 1147 of file wm8903.h.

#define WM8903_GP2_EINT_WIDTH   1 /* GP2_EINT */

Definition at line 1148 of file wm8903.h.

#define WM8903_GP3_EINT   0x0004 /* GP3_EINT */

Definition at line 1141 of file wm8903.h.

#define WM8903_GP3_EINT_MASK   0x0004 /* GP3_EINT */

Definition at line 1142 of file wm8903.h.

#define WM8903_GP3_EINT_SHIFT   2 /* GP3_EINT */

Definition at line 1143 of file wm8903.h.

#define WM8903_GP3_EINT_WIDTH   1 /* GP3_EINT */

Definition at line 1144 of file wm8903.h.

#define WM8903_GP4_EINT   0x0008 /* GP4_EINT */

Definition at line 1137 of file wm8903.h.

#define WM8903_GP4_EINT_MASK   0x0008 /* GP4_EINT */

Definition at line 1138 of file wm8903.h.

#define WM8903_GP4_EINT_SHIFT   3 /* GP4_EINT */

Definition at line 1139 of file wm8903.h.

#define WM8903_GP4_EINT_WIDTH   1 /* GP4_EINT */

Definition at line 1140 of file wm8903.h.

#define WM8903_GP5_EINT   0x0010 /* GP5_EINT */

Definition at line 1133 of file wm8903.h.

#define WM8903_GP5_EINT_MASK   0x0010 /* GP5_EINT */

Definition at line 1134 of file wm8903.h.

#define WM8903_GP5_EINT_SHIFT   4 /* GP5_EINT */

Definition at line 1135 of file wm8903.h.

#define WM8903_GP5_EINT_WIDTH   1 /* GP5_EINT */

Definition at line 1136 of file wm8903.h.

#define WM8903_GPIO_CONTROL_1   0x74

Definition at line 96 of file wm8903.h.

#define WM8903_GPIO_CONTROL_2   0x75

Definition at line 97 of file wm8903.h.

#define WM8903_GPIO_CONTROL_3   0x76

Definition at line 98 of file wm8903.h.

#define WM8903_GPIO_CONTROL_4   0x77

Definition at line 99 of file wm8903.h.

#define WM8903_GPIO_CONTROL_5   0x78

Definition at line 100 of file wm8903.h.

#define WM8903_HPL_ENA   0x0010 /* HPL_ENA */

Definition at line 969 of file wm8903.h.

#define WM8903_HPL_ENA_DLY   0x0020 /* HPL_ENA_DLY */

Definition at line 965 of file wm8903.h.

#define WM8903_HPL_ENA_DLY_MASK   0x0020 /* HPL_ENA_DLY */

Definition at line 966 of file wm8903.h.

#define WM8903_HPL_ENA_DLY_SHIFT   5 /* HPL_ENA_DLY */

Definition at line 967 of file wm8903.h.

#define WM8903_HPL_ENA_DLY_WIDTH   1 /* HPL_ENA_DLY */

Definition at line 968 of file wm8903.h.

#define WM8903_HPL_ENA_MASK   0x0010 /* HPL_ENA */

Definition at line 970 of file wm8903.h.

#define WM8903_HPL_ENA_OUTP   0x0040 /* HPL_ENA_OUTP */

Definition at line 961 of file wm8903.h.

#define WM8903_HPL_ENA_OUTP_MASK   0x0040 /* HPL_ENA_OUTP */

Definition at line 962 of file wm8903.h.

#define WM8903_HPL_ENA_OUTP_SHIFT   6 /* HPL_ENA_OUTP */

Definition at line 963 of file wm8903.h.

#define WM8903_HPL_ENA_OUTP_WIDTH   1 /* HPL_ENA_OUTP */

Definition at line 964 of file wm8903.h.

#define WM8903_HPL_ENA_SHIFT   4 /* HPL_ENA */

Definition at line 971 of file wm8903.h.

#define WM8903_HPL_ENA_WIDTH   1 /* HPL_ENA */

Definition at line 972 of file wm8903.h.

#define WM8903_HPL_MUTE   0x0100 /* HPL_MUTE */

Definition at line 813 of file wm8903.h.

#define WM8903_HPL_MUTE_MASK   0x0100 /* HPL_MUTE */

Definition at line 814 of file wm8903.h.

#define WM8903_HPL_MUTE_SHIFT   8 /* HPL_MUTE */

Definition at line 815 of file wm8903.h.

#define WM8903_HPL_MUTE_WIDTH   1 /* HPL_MUTE */

Definition at line 816 of file wm8903.h.

#define WM8903_HPL_PGA_ENA   0x0002 /* HPL_PGA_ENA */

Definition at line 223 of file wm8903.h.

#define WM8903_HPL_PGA_ENA_MASK   0x0002 /* HPL_PGA_ENA */

Definition at line 224 of file wm8903.h.

#define WM8903_HPL_PGA_ENA_SHIFT   1 /* HPL_PGA_ENA */

Definition at line 225 of file wm8903.h.

#define WM8903_HPL_PGA_ENA_WIDTH   1 /* HPL_PGA_ENA */

Definition at line 226 of file wm8903.h.

#define WM8903_HPL_RMV_SHORT   0x0080 /* HPL_RMV_SHORT */

Definition at line 957 of file wm8903.h.

#define WM8903_HPL_RMV_SHORT_MASK   0x0080 /* HPL_RMV_SHORT */

Definition at line 958 of file wm8903.h.

#define WM8903_HPL_RMV_SHORT_SHIFT   7 /* HPL_RMV_SHORT */

Definition at line 959 of file wm8903.h.

#define WM8903_HPL_RMV_SHORT_WIDTH   1 /* HPL_RMV_SHORT */

Definition at line 960 of file wm8903.h.

#define WM8903_HPOUTL_VOL_MASK   0x003F /* HPOUTL_VOL - [5:0] */

Definition at line 825 of file wm8903.h.

#define WM8903_HPOUTL_VOL_SHIFT   0 /* HPOUTL_VOL - [5:0] */

Definition at line 826 of file wm8903.h.

#define WM8903_HPOUTL_VOL_WIDTH   6 /* HPOUTL_VOL - [5:0] */

Definition at line 827 of file wm8903.h.

#define WM8903_HPOUTLZC   0x0040 /* HPOUTLZC */

Definition at line 821 of file wm8903.h.

#define WM8903_HPOUTLZC_MASK   0x0040 /* HPOUTLZC */

Definition at line 822 of file wm8903.h.

#define WM8903_HPOUTLZC_SHIFT   6 /* HPOUTLZC */

Definition at line 823 of file wm8903.h.

#define WM8903_HPOUTLZC_WIDTH   1 /* HPOUTLZC */

Definition at line 824 of file wm8903.h.

#define WM8903_HPOUTR_VOL_MASK   0x003F /* HPOUTR_VOL - [5:0] */

Definition at line 844 of file wm8903.h.

#define WM8903_HPOUTR_VOL_SHIFT   0 /* HPOUTR_VOL - [5:0] */

Definition at line 845 of file wm8903.h.

#define WM8903_HPOUTR_VOL_WIDTH   6 /* HPOUTR_VOL - [5:0] */

Definition at line 846 of file wm8903.h.

#define WM8903_HPOUTRZC   0x0040 /* HPOUTRZC */

Definition at line 840 of file wm8903.h.

#define WM8903_HPOUTRZC_MASK   0x0040 /* HPOUTRZC */

Definition at line 841 of file wm8903.h.

#define WM8903_HPOUTRZC_SHIFT   6 /* HPOUTRZC */

Definition at line 842 of file wm8903.h.

#define WM8903_HPOUTRZC_WIDTH   1 /* HPOUTRZC */

Definition at line 843 of file wm8903.h.

#define WM8903_HPOUTVU   0x0080 /* HPOUTVU */

Definition at line 836 of file wm8903.h.

#define WM8903_HPOUTVU   0x0080 /* HPOUTVU */

Definition at line 836 of file wm8903.h.

#define WM8903_HPOUTVU_MASK   0x0080 /* HPOUTVU */

Definition at line 837 of file wm8903.h.

#define WM8903_HPOUTVU_MASK   0x0080 /* HPOUTVU */

Definition at line 837 of file wm8903.h.

#define WM8903_HPOUTVU_SHIFT   7 /* HPOUTVU */

Definition at line 838 of file wm8903.h.

#define WM8903_HPOUTVU_SHIFT   7 /* HPOUTVU */

Definition at line 838 of file wm8903.h.

#define WM8903_HPOUTVU_WIDTH   1 /* HPOUTVU */

Definition at line 839 of file wm8903.h.

#define WM8903_HPOUTVU_WIDTH   1 /* HPOUTVU */

Definition at line 839 of file wm8903.h.

#define WM8903_HPR_ENA   0x0001 /* HPR_ENA */

Definition at line 985 of file wm8903.h.

#define WM8903_HPR_ENA_DLY   0x0002 /* HPR_ENA_DLY */

Definition at line 981 of file wm8903.h.

#define WM8903_HPR_ENA_DLY_MASK   0x0002 /* HPR_ENA_DLY */

Definition at line 982 of file wm8903.h.

#define WM8903_HPR_ENA_DLY_SHIFT   1 /* HPR_ENA_DLY */

Definition at line 983 of file wm8903.h.

#define WM8903_HPR_ENA_DLY_WIDTH   1 /* HPR_ENA_DLY */

Definition at line 984 of file wm8903.h.

#define WM8903_HPR_ENA_MASK   0x0001 /* HPR_ENA */

Definition at line 986 of file wm8903.h.

#define WM8903_HPR_ENA_OUTP   0x0004 /* HPR_ENA_OUTP */

Definition at line 977 of file wm8903.h.

#define WM8903_HPR_ENA_OUTP_MASK   0x0004 /* HPR_ENA_OUTP */

Definition at line 978 of file wm8903.h.

#define WM8903_HPR_ENA_OUTP_SHIFT   2 /* HPR_ENA_OUTP */

Definition at line 979 of file wm8903.h.

#define WM8903_HPR_ENA_OUTP_WIDTH   1 /* HPR_ENA_OUTP */

Definition at line 980 of file wm8903.h.

#define WM8903_HPR_ENA_SHIFT   0 /* HPR_ENA */

Definition at line 987 of file wm8903.h.

#define WM8903_HPR_ENA_WIDTH   1 /* HPR_ENA */

Definition at line 988 of file wm8903.h.

#define WM8903_HPR_MUTE   0x0100 /* HPR_MUTE */

Definition at line 832 of file wm8903.h.

#define WM8903_HPR_MUTE_MASK   0x0100 /* HPR_MUTE */

Definition at line 833 of file wm8903.h.

#define WM8903_HPR_MUTE_SHIFT   8 /* HPR_MUTE */

Definition at line 834 of file wm8903.h.

#define WM8903_HPR_MUTE_WIDTH   1 /* HPR_MUTE */

Definition at line 835 of file wm8903.h.

#define WM8903_HPR_PGA_ENA   0x0001 /* HPR_PGA_ENA */

Definition at line 227 of file wm8903.h.

#define WM8903_HPR_PGA_ENA_MASK   0x0001 /* HPR_PGA_ENA */

Definition at line 228 of file wm8903.h.

#define WM8903_HPR_PGA_ENA_SHIFT   0 /* HPR_PGA_ENA */

Definition at line 229 of file wm8903.h.

#define WM8903_HPR_PGA_ENA_WIDTH   1 /* HPR_PGA_ENA */

Definition at line 230 of file wm8903.h.

#define WM8903_HPR_RMV_SHORT   0x0008 /* HPR_RMV_SHORT */

Definition at line 973 of file wm8903.h.

#define WM8903_HPR_RMV_SHORT_MASK   0x0008 /* HPR_RMV_SHORT */

Definition at line 974 of file wm8903.h.

#define WM8903_HPR_RMV_SHORT_SHIFT   3 /* HPR_RMV_SHORT */

Definition at line 975 of file wm8903.h.

#define WM8903_HPR_RMV_SHORT_WIDTH   1 /* HPR_RMV_SHORT */

Definition at line 976 of file wm8903.h.

#define WM8903_IM_GP1_EINT   0x0001 /* IM_GP1_EINT */

Definition at line 1185 of file wm8903.h.

#define WM8903_IM_GP1_EINT_MASK   0x0001 /* IM_GP1_EINT */

Definition at line 1186 of file wm8903.h.

#define WM8903_IM_GP1_EINT_SHIFT   0 /* IM_GP1_EINT */

Definition at line 1187 of file wm8903.h.

#define WM8903_IM_GP1_EINT_WIDTH   1 /* IM_GP1_EINT */

Definition at line 1188 of file wm8903.h.

#define WM8903_IM_GP2_EINT   0x0002 /* IM_GP2_EINT */

Definition at line 1181 of file wm8903.h.

#define WM8903_IM_GP2_EINT_MASK   0x0002 /* IM_GP2_EINT */

Definition at line 1182 of file wm8903.h.

#define WM8903_IM_GP2_EINT_SHIFT   1 /* IM_GP2_EINT */

Definition at line 1183 of file wm8903.h.

#define WM8903_IM_GP2_EINT_WIDTH   1 /* IM_GP2_EINT */

Definition at line 1184 of file wm8903.h.

#define WM8903_IM_GP3_EINT   0x0004 /* IM_GP3_EINT */

Definition at line 1177 of file wm8903.h.

#define WM8903_IM_GP3_EINT_MASK   0x0004 /* IM_GP3_EINT */

Definition at line 1178 of file wm8903.h.

#define WM8903_IM_GP3_EINT_SHIFT   2 /* IM_GP3_EINT */

Definition at line 1179 of file wm8903.h.

#define WM8903_IM_GP3_EINT_WIDTH   1 /* IM_GP3_EINT */

Definition at line 1180 of file wm8903.h.

#define WM8903_IM_GP4_EINT   0x0008 /* IM_GP4_EINT */

Definition at line 1173 of file wm8903.h.

#define WM8903_IM_GP4_EINT_MASK   0x0008 /* IM_GP4_EINT */

Definition at line 1174 of file wm8903.h.

#define WM8903_IM_GP4_EINT_SHIFT   3 /* IM_GP4_EINT */

Definition at line 1175 of file wm8903.h.

#define WM8903_IM_GP4_EINT_WIDTH   1 /* IM_GP4_EINT */

Definition at line 1176 of file wm8903.h.

#define WM8903_IM_GP5_EINT   0x0010 /* IM_GP5_EINT */

Definition at line 1169 of file wm8903.h.

#define WM8903_IM_GP5_EINT_MASK   0x0010 /* IM_GP5_EINT */

Definition at line 1170 of file wm8903.h.

#define WM8903_IM_GP5_EINT_SHIFT   4 /* IM_GP5_EINT */

Definition at line 1171 of file wm8903.h.

#define WM8903_IM_GP5_EINT_WIDTH   1 /* IM_GP5_EINT */

Definition at line 1172 of file wm8903.h.

#define WM8903_IM_MICDET_EINT   0x4000 /* IM_MICDET_EINT */

Definition at line 1161 of file wm8903.h.

#define WM8903_IM_MICDET_EINT_MASK   0x4000 /* IM_MICDET_EINT */

Definition at line 1162 of file wm8903.h.

#define WM8903_IM_MICDET_EINT_SHIFT   14 /* IM_MICDET_EINT */

Definition at line 1163 of file wm8903.h.

#define WM8903_IM_MICDET_EINT_WIDTH   1 /* IM_MICDET_EINT */

Definition at line 1164 of file wm8903.h.

#define WM8903_IM_MICSHRT_EINT   0x8000 /* IM_MICSHRT_EINT */

Definition at line 1157 of file wm8903.h.

#define WM8903_IM_MICSHRT_EINT_MASK   0x8000 /* IM_MICSHRT_EINT */

Definition at line 1158 of file wm8903.h.

#define WM8903_IM_MICSHRT_EINT_SHIFT   15 /* IM_MICSHRT_EINT */

Definition at line 1159 of file wm8903.h.

#define WM8903_IM_MICSHRT_EINT_WIDTH   1 /* IM_MICSHRT_EINT */

Definition at line 1160 of file wm8903.h.

#define WM8903_IM_WSEQ_BUSY_EINT   0x2000 /* IM_WSEQ_BUSY_EINT */

Definition at line 1165 of file wm8903.h.

#define WM8903_IM_WSEQ_BUSY_EINT_MASK   0x2000 /* IM_WSEQ_BUSY_EINT */

Definition at line 1166 of file wm8903.h.

#define WM8903_IM_WSEQ_BUSY_EINT_SHIFT   13 /* IM_WSEQ_BUSY_EINT */

Definition at line 1167 of file wm8903.h.

#define WM8903_IM_WSEQ_BUSY_EINT_WIDTH   1 /* IM_WSEQ_BUSY_EINT */

Definition at line 1168 of file wm8903.h.

#define WM8903_INL_CM_ENA   0x0040 /* INL_CM_ENA */

Definition at line 659 of file wm8903.h.

#define WM8903_INL_CM_ENA_MASK   0x0040 /* INL_CM_ENA */

Definition at line 660 of file wm8903.h.

#define WM8903_INL_CM_ENA_SHIFT   6 /* INL_CM_ENA */

Definition at line 661 of file wm8903.h.

#define WM8903_INL_CM_ENA_WIDTH   1 /* INL_CM_ENA */

Definition at line 662 of file wm8903.h.

#define WM8903_INL_ENA   0x0002 /* INL_ENA */

Definition at line 199 of file wm8903.h.

#define WM8903_INL_ENA_MASK   0x0002 /* INL_ENA */

Definition at line 200 of file wm8903.h.

#define WM8903_INL_ENA_SHIFT   1 /* INL_ENA */

Definition at line 201 of file wm8903.h.

#define WM8903_INL_ENA_WIDTH   1 /* INL_ENA */

Definition at line 202 of file wm8903.h.

#define WM8903_INR_CM_ENA   0x0040 /* INR_CM_ENA */

Definition at line 676 of file wm8903.h.

#define WM8903_INR_CM_ENA_MASK   0x0040 /* INR_CM_ENA */

Definition at line 677 of file wm8903.h.

#define WM8903_INR_CM_ENA_SHIFT   6 /* INR_CM_ENA */

Definition at line 678 of file wm8903.h.

#define WM8903_INR_CM_ENA_WIDTH   1 /* INR_CM_ENA */

Definition at line 679 of file wm8903.h.

#define WM8903_INR_ENA   0x0001 /* INR_ENA */

Definition at line 203 of file wm8903.h.

#define WM8903_INR_ENA_MASK   0x0001 /* INR_ENA */

Definition at line 204 of file wm8903.h.

#define WM8903_INR_ENA_SHIFT   0 /* INR_ENA */

Definition at line 205 of file wm8903.h.

#define WM8903_INR_ENA_WIDTH   1 /* INR_ENA */

Definition at line 206 of file wm8903.h.

#define WM8903_INTERRUPT_CONTROL   0x7E

Definition at line 104 of file wm8903.h.

#define WM8903_INTERRUPT_POLARITY_1   0x7B

Definition at line 103 of file wm8903.h.

#define WM8903_INTERRUPT_STATUS_1   0x79

Definition at line 101 of file wm8903.h.

#define WM8903_INTERRUPT_STATUS_1_MASK   0x7A

Definition at line 102 of file wm8903.h.

#define WM8903_IRQ_POL   0x0001 /* IRQ_POL */

Definition at line 1205 of file wm8903.h.

#define WM8903_IRQ_POL_MASK   0x0001 /* IRQ_POL */

Definition at line 1206 of file wm8903.h.

#define WM8903_IRQ_POL_SHIFT   0 /* IRQ_POL */

Definition at line 1207 of file wm8903.h.

#define WM8903_IRQ_POL_WIDTH   1 /* IRQ_POL */

Definition at line 1208 of file wm8903.h.

#define WM8903_ISEL_MASK   0x000C /* ISEL - [3:2] */

Definition at line 136 of file wm8903.h.

#define WM8903_ISEL_SHIFT   2 /* ISEL - [3:2] */

Definition at line 137 of file wm8903.h.

#define WM8903_ISEL_WIDTH   2 /* ISEL - [3:2] */

Definition at line 138 of file wm8903.h.

#define WM8903_L_IP_SEL_N_MASK   0x0030 /* L_IP_SEL_N - [5:4] */

Definition at line 663 of file wm8903.h.

#define WM8903_L_IP_SEL_N_SHIFT   4 /* L_IP_SEL_N - [5:4] */

Definition at line 664 of file wm8903.h.

#define WM8903_L_IP_SEL_N_WIDTH   2 /* L_IP_SEL_N - [5:4] */

Definition at line 665 of file wm8903.h.

#define WM8903_L_IP_SEL_P_MASK   0x000C /* L_IP_SEL_P - [3:2] */

Definition at line 666 of file wm8903.h.

#define WM8903_L_IP_SEL_P_SHIFT   2 /* L_IP_SEL_P - [3:2] */

Definition at line 667 of file wm8903.h.

#define WM8903_L_IP_SEL_P_WIDTH   2 /* L_IP_SEL_P - [3:2] */

Definition at line 668 of file wm8903.h.

#define WM8903_L_MODE_MASK   0x0003 /* L_MODE - [1:0] */

Definition at line 669 of file wm8903.h.

#define WM8903_L_MODE_SHIFT   0 /* L_MODE - [1:0] */

Definition at line 670 of file wm8903.h.

#define WM8903_L_MODE_WIDTH   2 /* L_MODE - [1:0] */

Definition at line 671 of file wm8903.h.

#define WM8903_LIN_VOL_MASK   0x001F /* LIN_VOL - [4:0] */

Definition at line 641 of file wm8903.h.

#define WM8903_LIN_VOL_SHIFT   0 /* LIN_VOL - [4:0] */

Definition at line 642 of file wm8903.h.

#define WM8903_LIN_VOL_WIDTH   5 /* LIN_VOL - [4:0] */

Definition at line 643 of file wm8903.h.

#define WM8903_LINEOUTL_ENA   0x0010 /* LINEOUTL_ENA */

Definition at line 1005 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_DLY   0x0020 /* LINEOUTL_ENA_DLY */

Definition at line 1001 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_DLY_MASK   0x0020 /* LINEOUTL_ENA_DLY */

Definition at line 1002 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_DLY_SHIFT   5 /* LINEOUTL_ENA_DLY */

Definition at line 1003 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_DLY_WIDTH   1 /* LINEOUTL_ENA_DLY */

Definition at line 1004 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_MASK   0x0010 /* LINEOUTL_ENA */

Definition at line 1006 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_OUTP   0x0040 /* LINEOUTL_ENA_OUTP */

Definition at line 997 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_OUTP_MASK   0x0040 /* LINEOUTL_ENA_OUTP */

Definition at line 998 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_OUTP_SHIFT   6 /* LINEOUTL_ENA_OUTP */

Definition at line 999 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_OUTP_WIDTH   1 /* LINEOUTL_ENA_OUTP */

Definition at line 1000 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_SHIFT   4 /* LINEOUTL_ENA */

Definition at line 1007 of file wm8903.h.

#define WM8903_LINEOUTL_ENA_WIDTH   1 /* LINEOUTL_ENA */

Definition at line 1008 of file wm8903.h.

#define WM8903_LINEOUTL_MUTE   0x0100 /* LINEOUTL_MUTE */

Definition at line 851 of file wm8903.h.

#define WM8903_LINEOUTL_MUTE_MASK   0x0100 /* LINEOUTL_MUTE */

Definition at line 852 of file wm8903.h.

#define WM8903_LINEOUTL_MUTE_SHIFT   8 /* LINEOUTL_MUTE */

Definition at line 853 of file wm8903.h.

#define WM8903_LINEOUTL_MUTE_WIDTH   1 /* LINEOUTL_MUTE */

Definition at line 854 of file wm8903.h.

#define WM8903_LINEOUTL_PGA_ENA   0x0002 /* LINEOUTL_PGA_ENA */

Definition at line 235 of file wm8903.h.

#define WM8903_LINEOUTL_PGA_ENA_MASK   0x0002 /* LINEOUTL_PGA_ENA */

Definition at line 236 of file wm8903.h.

#define WM8903_LINEOUTL_PGA_ENA_SHIFT   1 /* LINEOUTL_PGA_ENA */

Definition at line 237 of file wm8903.h.

#define WM8903_LINEOUTL_PGA_ENA_WIDTH   1 /* LINEOUTL_PGA_ENA */

Definition at line 238 of file wm8903.h.

#define WM8903_LINEOUTL_RMV_SHORT   0x0080 /* LINEOUTL_RMV_SHORT */

Definition at line 993 of file wm8903.h.

#define WM8903_LINEOUTL_RMV_SHORT_MASK   0x0080 /* LINEOUTL_RMV_SHORT */

Definition at line 994 of file wm8903.h.

#define WM8903_LINEOUTL_RMV_SHORT_SHIFT   7 /* LINEOUTL_RMV_SHORT */

Definition at line 995 of file wm8903.h.

#define WM8903_LINEOUTL_RMV_SHORT_WIDTH   1 /* LINEOUTL_RMV_SHORT */

Definition at line 996 of file wm8903.h.

#define WM8903_LINEOUTL_VOL_MASK   0x003F /* LINEOUTL_VOL - [5:0] */

Definition at line 863 of file wm8903.h.

#define WM8903_LINEOUTL_VOL_SHIFT   0 /* LINEOUTL_VOL - [5:0] */

Definition at line 864 of file wm8903.h.

#define WM8903_LINEOUTL_VOL_WIDTH   6 /* LINEOUTL_VOL - [5:0] */

Definition at line 865 of file wm8903.h.

#define WM8903_LINEOUTLZC   0x0040 /* LINEOUTLZC */

Definition at line 859 of file wm8903.h.

#define WM8903_LINEOUTLZC_MASK   0x0040 /* LINEOUTLZC */

Definition at line 860 of file wm8903.h.

#define WM8903_LINEOUTLZC_SHIFT   6 /* LINEOUTLZC */

Definition at line 861 of file wm8903.h.

#define WM8903_LINEOUTLZC_WIDTH   1 /* LINEOUTLZC */

Definition at line 862 of file wm8903.h.

#define WM8903_LINEOUTR_ENA   0x0001 /* LINEOUTR_ENA */

Definition at line 1021 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_DLY   0x0002 /* LINEOUTR_ENA_DLY */

Definition at line 1017 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_DLY_MASK   0x0002 /* LINEOUTR_ENA_DLY */

Definition at line 1018 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_DLY_SHIFT   1 /* LINEOUTR_ENA_DLY */

Definition at line 1019 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_DLY_WIDTH   1 /* LINEOUTR_ENA_DLY */

Definition at line 1020 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_MASK   0x0001 /* LINEOUTR_ENA */

Definition at line 1022 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_OUTP   0x0004 /* LINEOUTR_ENA_OUTP */

Definition at line 1013 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_OUTP_MASK   0x0004 /* LINEOUTR_ENA_OUTP */

Definition at line 1014 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_OUTP_SHIFT   2 /* LINEOUTR_ENA_OUTP */

Definition at line 1015 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_OUTP_WIDTH   1 /* LINEOUTR_ENA_OUTP */

Definition at line 1016 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_SHIFT   0 /* LINEOUTR_ENA */

Definition at line 1023 of file wm8903.h.

#define WM8903_LINEOUTR_ENA_WIDTH   1 /* LINEOUTR_ENA */

Definition at line 1024 of file wm8903.h.

#define WM8903_LINEOUTR_MUTE   0x0100 /* LINEOUTR_MUTE */

Definition at line 870 of file wm8903.h.

#define WM8903_LINEOUTR_MUTE_MASK   0x0100 /* LINEOUTR_MUTE */

Definition at line 871 of file wm8903.h.

#define WM8903_LINEOUTR_MUTE_SHIFT   8 /* LINEOUTR_MUTE */

Definition at line 872 of file wm8903.h.

#define WM8903_LINEOUTR_MUTE_WIDTH   1 /* LINEOUTR_MUTE */

Definition at line 873 of file wm8903.h.

#define WM8903_LINEOUTR_PGA_ENA   0x0001 /* LINEOUTR_PGA_ENA */

Definition at line 239 of file wm8903.h.

#define WM8903_LINEOUTR_PGA_ENA_MASK   0x0001 /* LINEOUTR_PGA_ENA */

Definition at line 240 of file wm8903.h.

#define WM8903_LINEOUTR_PGA_ENA_SHIFT   0 /* LINEOUTR_PGA_ENA */

Definition at line 241 of file wm8903.h.

#define WM8903_LINEOUTR_PGA_ENA_WIDTH   1 /* LINEOUTR_PGA_ENA */

Definition at line 242 of file wm8903.h.

#define WM8903_LINEOUTR_RMV_SHORT   0x0008 /* LINEOUTR_RMV_SHORT */

Definition at line 1009 of file wm8903.h.

#define WM8903_LINEOUTR_RMV_SHORT_MASK   0x0008 /* LINEOUTR_RMV_SHORT */

Definition at line 1010 of file wm8903.h.

#define WM8903_LINEOUTR_RMV_SHORT_SHIFT   3 /* LINEOUTR_RMV_SHORT */

Definition at line 1011 of file wm8903.h.

#define WM8903_LINEOUTR_RMV_SHORT_WIDTH   1 /* LINEOUTR_RMV_SHORT */

Definition at line 1012 of file wm8903.h.

#define WM8903_LINEOUTR_VOL_MASK   0x003F /* LINEOUTR_VOL - [5:0] */

Definition at line 882 of file wm8903.h.

#define WM8903_LINEOUTR_VOL_SHIFT   0 /* LINEOUTR_VOL - [5:0] */

Definition at line 883 of file wm8903.h.

#define WM8903_LINEOUTR_VOL_WIDTH   6 /* LINEOUTR_VOL - [5:0] */

Definition at line 884 of file wm8903.h.

#define WM8903_LINEOUTRZC   0x0040 /* LINEOUTRZC */

Definition at line 878 of file wm8903.h.

#define WM8903_LINEOUTRZC_MASK   0x0040 /* LINEOUTRZC */

Definition at line 879 of file wm8903.h.

#define WM8903_LINEOUTRZC_SHIFT   6 /* LINEOUTRZC */

Definition at line 880 of file wm8903.h.

#define WM8903_LINEOUTRZC_WIDTH   1 /* LINEOUTRZC */

Definition at line 881 of file wm8903.h.

#define WM8903_LINEOUTVU   0x0080 /* LINEOUTVU */

Definition at line 874 of file wm8903.h.

#define WM8903_LINEOUTVU   0x0080 /* LINEOUTVU */

Definition at line 874 of file wm8903.h.

#define WM8903_LINEOUTVU_MASK   0x0080 /* LINEOUTVU */

Definition at line 875 of file wm8903.h.

#define WM8903_LINEOUTVU_MASK   0x0080 /* LINEOUTVU */

Definition at line 875 of file wm8903.h.

#define WM8903_LINEOUTVU_SHIFT   7 /* LINEOUTVU */

Definition at line 876 of file wm8903.h.

#define WM8903_LINEOUTVU_SHIFT   7 /* LINEOUTVU */

Definition at line 876 of file wm8903.h.

#define WM8903_LINEOUTVU_WIDTH   1 /* LINEOUTVU */

Definition at line 877 of file wm8903.h.

#define WM8903_LINEOUTVU_WIDTH   1 /* LINEOUTVU */

Definition at line 877 of file wm8903.h.

#define WM8903_LINMUTE   0x0080 /* LINMUTE */

Definition at line 637 of file wm8903.h.

#define WM8903_LINMUTE_MASK   0x0080 /* LINMUTE */

Definition at line 638 of file wm8903.h.

#define WM8903_LINMUTE_SHIFT   7 /* LINMUTE */

Definition at line 639 of file wm8903.h.

#define WM8903_LINMUTE_WIDTH   1 /* LINMUTE */

Definition at line 640 of file wm8903.h.

#define WM8903_LOOPBACK   0x0100 /* LOOPBACK */

Definition at line 339 of file wm8903.h.

#define WM8903_LOOPBACK_MASK   0x0100 /* LOOPBACK */

Definition at line 340 of file wm8903.h.

#define WM8903_LOOPBACK_SHIFT   8 /* LOOPBACK */

Definition at line 341 of file wm8903.h.

#define WM8903_LOOPBACK_WIDTH   1 /* LOOPBACK */

Definition at line 342 of file wm8903.h.

#define WM8903_LRCLK_DIR   0x0200 /* LRCLK_DIR */

Definition at line 395 of file wm8903.h.

#define WM8903_LRCLK_DIR_MASK   0x0200 /* LRCLK_DIR */

Definition at line 396 of file wm8903.h.

#define WM8903_LRCLK_DIR_SHIFT   9 /* LRCLK_DIR */

Definition at line 397 of file wm8903.h.

#define WM8903_LRCLK_DIR_WIDTH   1 /* LRCLK_DIR */

Definition at line 398 of file wm8903.h.

#define WM8903_LRCLK_RATE_MASK   0x07FF /* LRCLK_RATE - [10:0] */

Definition at line 428 of file wm8903.h.

#define WM8903_LRCLK_RATE_SHIFT   0 /* LRCLK_RATE - [10:0] */

Definition at line 429 of file wm8903.h.

#define WM8903_LRCLK_RATE_WIDTH   11 /* LRCLK_RATE - [10:0] */

Definition at line 430 of file wm8903.h.

#define WM8903_MASK_WRITE_ENA   0x0001 /* MASK_WRITE_ENA */

Definition at line 1113 of file wm8903.h.

#define WM8903_MASK_WRITE_ENA_MASK   0x0001 /* MASK_WRITE_ENA */

Definition at line 1114 of file wm8903.h.

#define WM8903_MASK_WRITE_ENA_SHIFT   0 /* MASK_WRITE_ENA */

Definition at line 1115 of file wm8903.h.

#define WM8903_MASK_WRITE_ENA_WIDTH   1 /* MASK_WRITE_ENA */

Definition at line 1116 of file wm8903.h.

#define WM8903_MAX_REGISTER   0xAC

Definition at line 109 of file wm8903.h.

#define WM8903_MCLKDIV2   0x0001 /* MCLKDIV2 */

Definition at line 291 of file wm8903.h.

#define WM8903_MCLKDIV2_MASK   0x0001 /* MCLKDIV2 */

Definition at line 292 of file wm8903.h.

#define WM8903_MCLKDIV2_SHIFT   0 /* MCLKDIV2 */

Definition at line 293 of file wm8903.h.

#define WM8903_MCLKDIV2_WIDTH   1 /* MCLKDIV2 */

Definition at line 294 of file wm8903.h.

#define WM8903_MIC_BIAS_CONTROL_0   0x06

Definition at line 30 of file wm8903.h.

#define WM8903_MICDET_EINT   0x4000 /* MICDET_EINT */

Definition at line 1125 of file wm8903.h.

#define WM8903_MICDET_EINT_MASK   0x4000 /* MICDET_EINT */

Definition at line 1126 of file wm8903.h.

#define WM8903_MICDET_EINT_SHIFT   14 /* MICDET_EINT */

Definition at line 1127 of file wm8903.h.

#define WM8903_MICDET_EINT_WIDTH   1 /* MICDET_EINT */

Definition at line 1128 of file wm8903.h.

#define WM8903_MICDET_INV   0x4000 /* MICDET_INV */

Definition at line 1197 of file wm8903.h.

#define WM8903_MICDET_INV_MASK   0x4000 /* MICDET_INV */

Definition at line 1198 of file wm8903.h.

#define WM8903_MICDET_INV_SHIFT   14 /* MICDET_INV */

Definition at line 1199 of file wm8903.h.

#define WM8903_MICDET_INV_WIDTH   1 /* MICDET_INV */

Definition at line 1200 of file wm8903.h.

#define WM8903_MICSHRT_EINT   0x8000 /* MICSHRT_EINT */

Definition at line 1121 of file wm8903.h.

#define WM8903_MICSHRT_EINT_MASK   0x8000 /* MICSHRT_EINT */

Definition at line 1122 of file wm8903.h.

#define WM8903_MICSHRT_EINT_SHIFT   15 /* MICSHRT_EINT */

Definition at line 1123 of file wm8903.h.

#define WM8903_MICSHRT_EINT_WIDTH   1 /* MICSHRT_EINT */

Definition at line 1124 of file wm8903.h.

#define WM8903_MICSHRT_INV   0x8000 /* MICSHRT_INV */

Definition at line 1193 of file wm8903.h.

#define WM8903_MICSHRT_INV_MASK   0x8000 /* MICSHRT_INV */

Definition at line 1194 of file wm8903.h.

#define WM8903_MICSHRT_INV_SHIFT   15 /* MICSHRT_INV */

Definition at line 1195 of file wm8903.h.

#define WM8903_MICSHRT_INV_WIDTH   1 /* MICSHRT_INV */

Definition at line 1196 of file wm8903.h.

#define WM8903_MIXOUTL_ENA   0x0002 /* MIXOUTL_ENA */

Definition at line 211 of file wm8903.h.

#define WM8903_MIXOUTL_ENA_MASK   0x0002 /* MIXOUTL_ENA */

Definition at line 212 of file wm8903.h.

#define WM8903_MIXOUTL_ENA_SHIFT   1 /* MIXOUTL_ENA */

Definition at line 213 of file wm8903.h.

#define WM8903_MIXOUTL_ENA_WIDTH   1 /* MIXOUTL_ENA */

Definition at line 214 of file wm8903.h.

#define WM8903_MIXOUTR_ENA   0x0001 /* MIXOUTR_ENA */

Definition at line 215 of file wm8903.h.

#define WM8903_MIXOUTR_ENA_MASK   0x0001 /* MIXOUTR_ENA */

Definition at line 216 of file wm8903.h.

#define WM8903_MIXOUTR_ENA_SHIFT   0 /* MIXOUTR_ENA */

Definition at line 217 of file wm8903.h.

#define WM8903_MIXOUTR_ENA_WIDTH   1 /* MIXOUTR_ENA */

Definition at line 218 of file wm8903.h.

#define WM8903_MIXSPKL_ENA   0x0002 /* MIXSPKL_ENA */

Definition at line 247 of file wm8903.h.

#define WM8903_MIXSPKL_ENA_MASK   0x0002 /* MIXSPKL_ENA */

Definition at line 248 of file wm8903.h.

#define WM8903_MIXSPKL_ENA_SHIFT   1 /* MIXSPKL_ENA */

Definition at line 249 of file wm8903.h.

#define WM8903_MIXSPKL_ENA_WIDTH   1 /* MIXSPKL_ENA */

Definition at line 250 of file wm8903.h.

#define WM8903_MIXSPKR_ENA   0x0001 /* MIXSPKR_ENA */

Definition at line 251 of file wm8903.h.

#define WM8903_MIXSPKR_ENA_MASK   0x0001 /* MIXSPKR_ENA */

Definition at line 252 of file wm8903.h.

#define WM8903_MIXSPKR_ENA_SHIFT   0 /* MIXSPKR_ENA */

Definition at line 253 of file wm8903.h.

#define WM8903_MIXSPKR_ENA_WIDTH   1 /* MIXSPKR_ENA */

Definition at line 254 of file wm8903.h.

#define WM8903_PGA_BIAS_MASK   0x0070 /* PGA_BIAS - [6:4] */

Definition at line 1221 of file wm8903.h.

#define WM8903_PGA_BIAS_SHIFT   4 /* PGA_BIAS - [6:4] */

Definition at line 1222 of file wm8903.h.

#define WM8903_PGA_BIAS_WIDTH   3 /* PGA_BIAS - [6:4] */

Definition at line 1223 of file wm8903.h.

#define WM8903_POBCTRL   0x0010 /* POBCTRL */

Definition at line 132 of file wm8903.h.

#define WM8903_POBCTRL_MASK   0x0010 /* POBCTRL */

Definition at line 133 of file wm8903.h.

#define WM8903_POBCTRL_SHIFT   4 /* POBCTRL */

Definition at line 134 of file wm8903.h.

#define WM8903_POBCTRL_WIDTH   1 /* POBCTRL */

Definition at line 135 of file wm8903.h.

#define WM8903_POWER_MANAGEMENT_0   0x0C

Definition at line 33 of file wm8903.h.

#define WM8903_POWER_MANAGEMENT_1   0x0D

Definition at line 34 of file wm8903.h.

#define WM8903_POWER_MANAGEMENT_2   0x0E

Definition at line 35 of file wm8903.h.

#define WM8903_POWER_MANAGEMENT_3   0x0F

Definition at line 36 of file wm8903.h.

#define WM8903_POWER_MANAGEMENT_4   0x10

Definition at line 37 of file wm8903.h.

#define WM8903_POWER_MANAGEMENT_5   0x11

Definition at line 38 of file wm8903.h.

#define WM8903_POWER_MANAGEMENT_6   0x12

Definition at line 39 of file wm8903.h.

#define WM8903_R_IP_SEL_N_MASK   0x0030 /* R_IP_SEL_N - [5:4] */

Definition at line 680 of file wm8903.h.

#define WM8903_R_IP_SEL_N_SHIFT   4 /* R_IP_SEL_N - [5:4] */

Definition at line 681 of file wm8903.h.

#define WM8903_R_IP_SEL_N_WIDTH   2 /* R_IP_SEL_N - [5:4] */

Definition at line 682 of file wm8903.h.

#define WM8903_R_IP_SEL_P_MASK   0x000C /* R_IP_SEL_P - [3:2] */

Definition at line 683 of file wm8903.h.

#define WM8903_R_IP_SEL_P_SHIFT   2 /* R_IP_SEL_P - [3:2] */

Definition at line 684 of file wm8903.h.

#define WM8903_R_IP_SEL_P_WIDTH   2 /* R_IP_SEL_P - [3:2] */

Definition at line 685 of file wm8903.h.

#define WM8903_R_MODE_MASK   0x0003 /* R_MODE - [1:0] */

Definition at line 686 of file wm8903.h.

#define WM8903_R_MODE_SHIFT   0 /* R_MODE - [1:0] */

Definition at line 687 of file wm8903.h.

#define WM8903_R_MODE_WIDTH   2 /* R_MODE - [1:0] */

Definition at line 688 of file wm8903.h.

#define WM8903_REGISTER_COUNT   75

Definition at line 108 of file wm8903.h.

#define WM8903_REVISION_NUMBER   0x01

Definition at line 27 of file wm8903.h.

#define WM8903_RIN_VOL_MASK   0x001F /* RIN_VOL - [4:0] */

Definition at line 652 of file wm8903.h.

#define WM8903_RIN_VOL_SHIFT   0 /* RIN_VOL - [4:0] */

Definition at line 653 of file wm8903.h.

#define WM8903_RIN_VOL_WIDTH   5 /* RIN_VOL - [4:0] */

Definition at line 654 of file wm8903.h.

#define WM8903_RINMUTE   0x0080 /* RINMUTE */

Definition at line 648 of file wm8903.h.

#define WM8903_RINMUTE_MASK   0x0080 /* RINMUTE */

Definition at line 649 of file wm8903.h.

#define WM8903_RINMUTE_SHIFT   7 /* RINMUTE */

Definition at line 650 of file wm8903.h.

#define WM8903_RINMUTE_WIDTH   1 /* RINMUTE */

Definition at line 651 of file wm8903.h.

#define WM8903_SAMPLE_RATE_MASK   0x000F /* SAMPLE_RATE - [3:0] */

Definition at line 305 of file wm8903.h.

#define WM8903_SAMPLE_RATE_SHIFT   0 /* SAMPLE_RATE - [3:0] */

Definition at line 306 of file wm8903.h.

#define WM8903_SAMPLE_RATE_WIDTH   4 /* SAMPLE_RATE - [3:0] */

Definition at line 307 of file wm8903.h.

#define WM8903_SPK_DISCHARGE   0x0002 /* SPK_DISCHARGE */

Definition at line 927 of file wm8903.h.

#define WM8903_SPK_DISCHARGE_MASK   0x0002 /* SPK_DISCHARGE */

Definition at line 928 of file wm8903.h.

#define WM8903_SPK_DISCHARGE_SHIFT   1 /* SPK_DISCHARGE */

Definition at line 929 of file wm8903.h.

#define WM8903_SPK_DISCHARGE_WIDTH   1 /* SPK_DISCHARGE */

Definition at line 930 of file wm8903.h.

#define WM8903_SPKL_ENA   0x0002 /* SPKL_ENA */

Definition at line 259 of file wm8903.h.

#define WM8903_SPKL_ENA_MASK   0x0002 /* SPKL_ENA */

Definition at line 260 of file wm8903.h.

#define WM8903_SPKL_ENA_SHIFT   1 /* SPKL_ENA */

Definition at line 261 of file wm8903.h.

#define WM8903_SPKL_ENA_WIDTH   1 /* SPKL_ENA */

Definition at line 262 of file wm8903.h.

#define WM8903_SPKL_MUTE   0x0100 /* SPKL_MUTE */

Definition at line 889 of file wm8903.h.

#define WM8903_SPKL_MUTE_MASK   0x0100 /* SPKL_MUTE */

Definition at line 890 of file wm8903.h.

#define WM8903_SPKL_MUTE_SHIFT   8 /* SPKL_MUTE */

Definition at line 891 of file wm8903.h.

#define WM8903_SPKL_MUTE_WIDTH   1 /* SPKL_MUTE */

Definition at line 892 of file wm8903.h.

#define WM8903_SPKL_VOL_MASK   0x003F /* SPKL_VOL - [5:0] */

Definition at line 901 of file wm8903.h.

#define WM8903_SPKL_VOL_SHIFT   0 /* SPKL_VOL - [5:0] */

Definition at line 902 of file wm8903.h.

#define WM8903_SPKL_VOL_WIDTH   6 /* SPKL_VOL - [5:0] */

Definition at line 903 of file wm8903.h.

#define WM8903_SPKLZC   0x0040 /* SPKLZC */

Definition at line 897 of file wm8903.h.

#define WM8903_SPKLZC_MASK   0x0040 /* SPKLZC */

Definition at line 898 of file wm8903.h.

#define WM8903_SPKLZC_SHIFT   6 /* SPKLZC */

Definition at line 899 of file wm8903.h.

#define WM8903_SPKLZC_WIDTH   1 /* SPKLZC */

Definition at line 900 of file wm8903.h.

#define WM8903_SPKR_ENA   0x0001 /* SPKR_ENA */

Definition at line 263 of file wm8903.h.

#define WM8903_SPKR_ENA_MASK   0x0001 /* SPKR_ENA */

Definition at line 264 of file wm8903.h.

#define WM8903_SPKR_ENA_SHIFT   0 /* SPKR_ENA */

Definition at line 265 of file wm8903.h.

#define WM8903_SPKR_ENA_WIDTH   1 /* SPKR_ENA */

Definition at line 266 of file wm8903.h.

#define WM8903_SPKR_MUTE   0x0100 /* SPKR_MUTE */

Definition at line 908 of file wm8903.h.

#define WM8903_SPKR_MUTE_MASK   0x0100 /* SPKR_MUTE */

Definition at line 909 of file wm8903.h.

#define WM8903_SPKR_MUTE_SHIFT   8 /* SPKR_MUTE */

Definition at line 910 of file wm8903.h.

#define WM8903_SPKR_MUTE_WIDTH   1 /* SPKR_MUTE */

Definition at line 911 of file wm8903.h.

#define WM8903_SPKR_VOL_MASK   0x003F /* SPKR_VOL - [5:0] */

Definition at line 920 of file wm8903.h.

#define WM8903_SPKR_VOL_SHIFT   0 /* SPKR_VOL - [5:0] */

Definition at line 921 of file wm8903.h.

#define WM8903_SPKR_VOL_WIDTH   6 /* SPKR_VOL - [5:0] */

Definition at line 922 of file wm8903.h.

#define WM8903_SPKRZC   0x0040 /* SPKRZC */

Definition at line 916 of file wm8903.h.

#define WM8903_SPKRZC_MASK   0x0040 /* SPKRZC */

Definition at line 917 of file wm8903.h.

#define WM8903_SPKRZC_SHIFT   6 /* SPKRZC */

Definition at line 918 of file wm8903.h.

#define WM8903_SPKRZC_WIDTH   1 /* SPKRZC */

Definition at line 919 of file wm8903.h.

#define WM8903_SPKVU   0x0080 /* SPKVU */

Definition at line 912 of file wm8903.h.

#define WM8903_SPKVU   0x0080 /* SPKVU */

Definition at line 912 of file wm8903.h.

#define WM8903_SPKVU_MASK   0x0080 /* SPKVU */

Definition at line 913 of file wm8903.h.

#define WM8903_SPKVU_MASK   0x0080 /* SPKVU */

Definition at line 913 of file wm8903.h.

#define WM8903_SPKVU_SHIFT   7 /* SPKVU */

Definition at line 914 of file wm8903.h.

#define WM8903_SPKVU_SHIFT   7 /* SPKVU */

Definition at line 914 of file wm8903.h.

#define WM8903_SPKVU_WIDTH   1 /* SPKVU */

Definition at line 915 of file wm8903.h.

#define WM8903_SPKVU_WIDTH   1 /* SPKVU */

Definition at line 915 of file wm8903.h.

#define WM8903_STARTUP_BIAS_ENA   0x0002 /* STARTUP_BIAS_ENA */

Definition at line 139 of file wm8903.h.

#define WM8903_STARTUP_BIAS_ENA_MASK   0x0002 /* STARTUP_BIAS_ENA */

Definition at line 140 of file wm8903.h.

#define WM8903_STARTUP_BIAS_ENA_SHIFT   1 /* STARTUP_BIAS_ENA */

Definition at line 141 of file wm8903.h.

#define WM8903_STARTUP_BIAS_ENA_WIDTH   1 /* STARTUP_BIAS_ENA */

Definition at line 142 of file wm8903.h.

#define WM8903_SW_RESET_AND_ID   0x00

Definition at line 26 of file wm8903.h.

#define WM8903_SW_RESET_DEV_ID1_MASK   0xFFFF /* SW_RESET_DEV_ID1 - [15:0] */

Definition at line 118 of file wm8903.h.

#define WM8903_SW_RESET_DEV_ID1_SHIFT   0 /* SW_RESET_DEV_ID1 - [15:0] */

Definition at line 119 of file wm8903.h.

#define WM8903_SW_RESET_DEV_ID1_WIDTH   16 /* SW_RESET_DEV_ID1 - [15:0] */

Definition at line 120 of file wm8903.h.

#define WM8903_TO_ENA   0x0001 /* TO_ENA */

Definition at line 320 of file wm8903.h.

#define WM8903_TO_ENA_MASK   0x0001 /* TO_ENA */

Definition at line 321 of file wm8903.h.

#define WM8903_TO_ENA_SHIFT   0 /* TO_ENA */

Definition at line 322 of file wm8903.h.

#define WM8903_TO_ENA_WIDTH   1 /* TO_ENA */

Definition at line 323 of file wm8903.h.

#define WM8903_VMID_BUF_ENA   0x0001 /* VMID_BUF_ENA */

Definition at line 169 of file wm8903.h.

#define WM8903_VMID_BUF_ENA_MASK   0x0001 /* VMID_BUF_ENA */

Definition at line 170 of file wm8903.h.

#define WM8903_VMID_BUF_ENA_SHIFT   0 /* VMID_BUF_ENA */

Definition at line 171 of file wm8903.h.

#define WM8903_VMID_BUF_ENA_WIDTH   1 /* VMID_BUF_ENA */

Definition at line 172 of file wm8903.h.

#define WM8903_VMID_CONTROL_0   0x05

Definition at line 29 of file wm8903.h.

#define WM8903_VMID_IO_ENA   0x0020 /* VMID_IO_ENA */

Definition at line 159 of file wm8903.h.

#define WM8903_VMID_IO_ENA_MASK   0x0020 /* VMID_IO_ENA */

Definition at line 160 of file wm8903.h.

#define WM8903_VMID_IO_ENA_SHIFT   5 /* VMID_IO_ENA */

Definition at line 161 of file wm8903.h.

#define WM8903_VMID_IO_ENA_WIDTH   1 /* VMID_IO_ENA */

Definition at line 162 of file wm8903.h.

#define WM8903_VMID_RES_250K   3

Definition at line 175 of file wm8903.h.

#define WM8903_VMID_RES_50K   2

Definition at line 174 of file wm8903.h.

#define WM8903_VMID_RES_5K   6

Definition at line 176 of file wm8903.h.

#define WM8903_VMID_RES_MASK   0x0006 /* VMID_RES - [2:1] */

Definition at line 166 of file wm8903.h.

#define WM8903_VMID_RES_SHIFT   1 /* VMID_RES - [2:1] */

Definition at line 167 of file wm8903.h.

#define WM8903_VMID_RES_WIDTH   2 /* VMID_RES - [2:1] */

Definition at line 168 of file wm8903.h.

#define WM8903_VMID_SOFT_MASK   0x0018 /* VMID_SOFT - [4:3] */

Definition at line 163 of file wm8903.h.

#define WM8903_VMID_SOFT_SHIFT   3 /* VMID_SOFT - [4:3] */

Definition at line 164 of file wm8903.h.

#define WM8903_VMID_SOFT_WIDTH   2 /* VMID_SOFT - [4:3] */

Definition at line 165 of file wm8903.h.

#define WM8903_VMID_TIE_ENA   0x0080 /* VMID_TIE_ENA */

Definition at line 151 of file wm8903.h.

#define WM8903_VMID_TIE_ENA_MASK   0x0080 /* VMID_TIE_ENA */

Definition at line 152 of file wm8903.h.

#define WM8903_VMID_TIE_ENA_SHIFT   7 /* VMID_TIE_ENA */

Definition at line 153 of file wm8903.h.

#define WM8903_VMID_TIE_ENA_WIDTH   1 /* VMID_TIE_ENA */

Definition at line 154 of file wm8903.h.

#define WM8903_VROI   0x0001 /* VROI */

Definition at line 931 of file wm8903.h.

#define WM8903_VROI_MASK   0x0001 /* VROI */

Definition at line 932 of file wm8903.h.

#define WM8903_VROI_SHIFT   0 /* VROI */

Definition at line 933 of file wm8903.h.

#define WM8903_VROI_WIDTH   1 /* VROI */

Definition at line 934 of file wm8903.h.

#define WM8903_WRITE_SEQUENCER_0   0x6C

Definition at line 90 of file wm8903.h.

#define WM8903_WRITE_SEQUENCER_1   0x6D

Definition at line 91 of file wm8903.h.

#define WM8903_WRITE_SEQUENCER_2   0x6E

Definition at line 92 of file wm8903.h.

#define WM8903_WRITE_SEQUENCER_3   0x6F

Definition at line 93 of file wm8903.h.

#define WM8903_WRITE_SEQUENCER_4   0x70

Definition at line 94 of file wm8903.h.

#define WM8903_WSEQ_ABORT   0x0200 /* WSEQ_ABORT */

Definition at line 1087 of file wm8903.h.

#define WM8903_WSEQ_ABORT_MASK   0x0200 /* WSEQ_ABORT */

Definition at line 1088 of file wm8903.h.

#define WM8903_WSEQ_ABORT_SHIFT   9 /* WSEQ_ABORT */

Definition at line 1089 of file wm8903.h.

#define WM8903_WSEQ_ABORT_WIDTH   1 /* WSEQ_ABORT */

Definition at line 1090 of file wm8903.h.

#define WM8903_WSEQ_ADDR_MASK   0x00FF /* WSEQ_ADDR - [7:0] */

Definition at line 1066 of file wm8903.h.

#define WM8903_WSEQ_ADDR_SHIFT   0 /* WSEQ_ADDR - [7:0] */

Definition at line 1067 of file wm8903.h.

#define WM8903_WSEQ_ADDR_WIDTH   8 /* WSEQ_ADDR - [7:0] */

Definition at line 1068 of file wm8903.h.

#define WM8903_WSEQ_BUSY   0x0001 /* WSEQ_BUSY */

Definition at line 1105 of file wm8903.h.

#define WM8903_WSEQ_BUSY_EINT   0x2000 /* WSEQ_BUSY_EINT */

Definition at line 1129 of file wm8903.h.

#define WM8903_WSEQ_BUSY_EINT_MASK   0x2000 /* WSEQ_BUSY_EINT */

Definition at line 1130 of file wm8903.h.

#define WM8903_WSEQ_BUSY_EINT_SHIFT   13 /* WSEQ_BUSY_EINT */

Definition at line 1131 of file wm8903.h.

#define WM8903_WSEQ_BUSY_EINT_WIDTH   1 /* WSEQ_BUSY_EINT */

Definition at line 1132 of file wm8903.h.

#define WM8903_WSEQ_BUSY_MASK   0x0001 /* WSEQ_BUSY */

Definition at line 1106 of file wm8903.h.

#define WM8903_WSEQ_BUSY_SHIFT   0 /* WSEQ_BUSY */

Definition at line 1107 of file wm8903.h.

#define WM8903_WSEQ_BUSY_WIDTH   1 /* WSEQ_BUSY */

Definition at line 1108 of file wm8903.h.

#define WM8903_WSEQ_CURRENT_INDEX_MASK   0x03F0 /* WSEQ_CURRENT_INDEX - [9:4] */

Definition at line 1102 of file wm8903.h.

#define WM8903_WSEQ_CURRENT_INDEX_SHIFT   4 /* WSEQ_CURRENT_INDEX - [9:4] */

Definition at line 1103 of file wm8903.h.

#define WM8903_WSEQ_CURRENT_INDEX_WIDTH   6 /* WSEQ_CURRENT_INDEX - [9:4] */

Definition at line 1104 of file wm8903.h.

#define WM8903_WSEQ_DATA_MASK   0x00FF /* WSEQ_DATA - [7:0] */

Definition at line 1080 of file wm8903.h.

#define WM8903_WSEQ_DATA_SHIFT   0 /* WSEQ_DATA - [7:0] */

Definition at line 1081 of file wm8903.h.

#define WM8903_WSEQ_DATA_START_MASK   0x0F00 /* WSEQ_DATA_START - [11:8] */

Definition at line 1063 of file wm8903.h.

#define WM8903_WSEQ_DATA_START_SHIFT   8 /* WSEQ_DATA_START - [11:8] */

Definition at line 1064 of file wm8903.h.

#define WM8903_WSEQ_DATA_START_WIDTH   4 /* WSEQ_DATA_START - [11:8] */

Definition at line 1065 of file wm8903.h.

#define WM8903_WSEQ_DATA_WIDTH   8 /* WSEQ_DATA - [7:0] */

Definition at line 1082 of file wm8903.h.

#define WM8903_WSEQ_DATA_WIDTH_MASK   0x7000 /* WSEQ_DATA_WIDTH - [14:12] */

Definition at line 1060 of file wm8903.h.

#define WM8903_WSEQ_DATA_WIDTH_SHIFT   12 /* WSEQ_DATA_WIDTH - [14:12] */

Definition at line 1061 of file wm8903.h.

#define WM8903_WSEQ_DATA_WIDTH_WIDTH   3 /* WSEQ_DATA_WIDTH - [14:12] */

Definition at line 1062 of file wm8903.h.

#define WM8903_WSEQ_DELAY_MASK   0x0F00 /* WSEQ_DELAY - [11:8] */

Definition at line 1077 of file wm8903.h.

#define WM8903_WSEQ_DELAY_SHIFT   8 /* WSEQ_DELAY - [11:8] */

Definition at line 1078 of file wm8903.h.

#define WM8903_WSEQ_DELAY_WIDTH   4 /* WSEQ_DELAY - [11:8] */

Definition at line 1079 of file wm8903.h.

#define WM8903_WSEQ_ENA   0x0100 /* WSEQ_ENA */

Definition at line 1049 of file wm8903.h.

#define WM8903_WSEQ_ENA_MASK   0x0100 /* WSEQ_ENA */

Definition at line 1050 of file wm8903.h.

#define WM8903_WSEQ_ENA_SHIFT   8 /* WSEQ_ENA */

Definition at line 1051 of file wm8903.h.

#define WM8903_WSEQ_ENA_WIDTH   1 /* WSEQ_ENA */

Definition at line 1052 of file wm8903.h.

#define WM8903_WSEQ_EOS   0x4000 /* WSEQ_EOS */

Definition at line 1073 of file wm8903.h.

#define WM8903_WSEQ_EOS_MASK   0x4000 /* WSEQ_EOS */

Definition at line 1074 of file wm8903.h.

#define WM8903_WSEQ_EOS_SHIFT   14 /* WSEQ_EOS */

Definition at line 1075 of file wm8903.h.

#define WM8903_WSEQ_EOS_WIDTH   1 /* WSEQ_EOS */

Definition at line 1076 of file wm8903.h.

#define WM8903_WSEQ_START   0x0100 /* WSEQ_START */

Definition at line 1091 of file wm8903.h.

#define WM8903_WSEQ_START_INDEX_MASK   0x003F /* WSEQ_START_INDEX - [5:0] */

Definition at line 1095 of file wm8903.h.

#define WM8903_WSEQ_START_INDEX_SHIFT   0 /* WSEQ_START_INDEX - [5:0] */

Definition at line 1096 of file wm8903.h.

#define WM8903_WSEQ_START_INDEX_WIDTH   6 /* WSEQ_START_INDEX - [5:0] */

Definition at line 1097 of file wm8903.h.

#define WM8903_WSEQ_START_MASK   0x0100 /* WSEQ_START */

Definition at line 1092 of file wm8903.h.

#define WM8903_WSEQ_START_SHIFT   8 /* WSEQ_START */

Definition at line 1093 of file wm8903.h.

#define WM8903_WSEQ_START_WIDTH   1 /* WSEQ_START */

Definition at line 1094 of file wm8903.h.

#define WM8903_WSEQ_WRITE_INDEX_MASK   0x001F /* WSEQ_WRITE_INDEX - [4:0] */

Definition at line 1053 of file wm8903.h.

#define WM8903_WSEQ_WRITE_INDEX_SHIFT   0 /* WSEQ_WRITE_INDEX - [4:0] */

Definition at line 1054 of file wm8903.h.

#define WM8903_WSEQ_WRITE_INDEX_WIDTH   5 /* WSEQ_WRITE_INDEX - [4:0] */

Definition at line 1055 of file wm8903.h.

Function Documentation

int wm8903_mic_detect ( struct snd_soc_codec codec,
struct snd_soc_jack jack,
int  det,
int  shrt 
)

wm8903_mic_detect - Enable microphone detection via the WM8903 IRQ

: WM8903 codec : jack to report detection events on : value to report for presence detection : value to report for short detection

Enable microphone detection via IRQ on the WM8903. If GPIOs are being used to bring out signals to the processor then only platform data configuration is needed for WM8903 and processor GPIOs should be configured using snd_soc_jack_add_gpios() instead.

The current threasholds for detection should be configured using micdet_cfg in the platform data. Using this function will force on the microphone bias for the device.

Definition at line 1597 of file wm8903.c.