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

Go to the source code of this file.

Data Structures

struct  wm8350_audio_platform_data
 
struct  wm8350_codec
 

Macros

#define WM8350_CLOCK_CONTROL_1   0x28
 
#define WM8350_CLOCK_CONTROL_2   0x29
 
#define WM8350_FLL_CONTROL_1   0x2A
 
#define WM8350_FLL_CONTROL_2   0x2B
 
#define WM8350_FLL_CONTROL_3   0x2C
 
#define WM8350_FLL_CONTROL_4   0x2D
 
#define WM8350_DAC_CONTROL   0x30
 
#define WM8350_DAC_DIGITAL_VOLUME_L   0x32
 
#define WM8350_DAC_DIGITAL_VOLUME_R   0x33
 
#define WM8350_DAC_LR_RATE   0x35
 
#define WM8350_DAC_CLOCK_CONTROL   0x36
 
#define WM8350_DAC_MUTE   0x3A
 
#define WM8350_DAC_MUTE_VOLUME   0x3B
 
#define WM8350_DAC_SIDE   0x3C
 
#define WM8350_ADC_CONTROL   0x40
 
#define WM8350_ADC_DIGITAL_VOLUME_L   0x42
 
#define WM8350_ADC_DIGITAL_VOLUME_R   0x43
 
#define WM8350_ADC_DIVIDER   0x44
 
#define WM8350_ADC_LR_RATE   0x46
 
#define WM8350_INPUT_CONTROL   0x48
 
#define WM8350_IN3_INPUT_CONTROL   0x49
 
#define WM8350_MIC_BIAS_CONTROL   0x4A
 
#define WM8350_OUTPUT_CONTROL   0x4C
 
#define WM8350_JACK_DETECT   0x4D
 
#define WM8350_ANTI_POP_CONTROL   0x4E
 
#define WM8350_LEFT_INPUT_VOLUME   0x50
 
#define WM8350_RIGHT_INPUT_VOLUME   0x51
 
#define WM8350_LEFT_MIXER_CONTROL   0x58
 
#define WM8350_RIGHT_MIXER_CONTROL   0x59
 
#define WM8350_OUT3_MIXER_CONTROL   0x5C
 
#define WM8350_OUT4_MIXER_CONTROL   0x5D
 
#define WM8350_OUTPUT_LEFT_MIXER_VOLUME   0x60
 
#define WM8350_OUTPUT_RIGHT_MIXER_VOLUME   0x61
 
#define WM8350_INPUT_MIXER_VOLUME_L   0x62
 
#define WM8350_INPUT_MIXER_VOLUME_R   0x63
 
#define WM8350_INPUT_MIXER_VOLUME   0x64
 
#define WM8350_LOUT1_VOLUME   0x68
 
#define WM8350_ROUT1_VOLUME   0x69
 
#define WM8350_LOUT2_VOLUME   0x6A
 
#define WM8350_ROUT2_VOLUME   0x6B
 
#define WM8350_BEEP_VOLUME   0x6F
 
#define WM8350_AI_FORMATING   0x70
 
#define WM8350_ADC_DAC_COMP   0x71
 
#define WM8350_AI_ADC_CONTROL   0x72
 
#define WM8350_AI_DAC_CONTROL   0x73
 
#define WM8350_AIF_TEST   0x74
 
#define WM8350_JACK_PIN_STATUS   0xE7
 
#define WM8350_CODEC_ISEL_1_5   0 /* x1.5 */
 
#define WM8350_CODEC_ISEL_1_0   1 /* x1.0 */
 
#define WM8350_CODEC_ISEL_0_75   2 /* x0.75 */
 
#define WM8350_CODEC_ISEL_0_5   3 /* x0.5 */
 
#define WM8350_VMID_OFF   0
 
#define WM8350_VMID_300K   1
 
#define WM8350_VMID_50K   2
 
#define WM8350_VMID_5K   3
 
#define WM8350_TOCLK_RATE   0x4000
 
#define WM8350_MCLK_SEL   0x0800
 
#define WM8350_MCLK_DIV_MASK   0x0100
 
#define WM8350_BCLK_DIV_MASK   0x00F0
 
#define WM8350_OPCLK_DIV_MASK   0x0007
 
#define WM8350_LRC_ADC_SEL   0x8000
 
#define WM8350_MCLK_DIR   0x0001
 
#define WM8350_FLL_DITHER_WIDTH_MASK   0x3000
 
#define WM8350_FLL_DITHER_HP   0x0800
 
#define WM8350_FLL_OUTDIV_MASK   0x0700
 
#define WM8350_FLL_RSP_RATE_MASK   0x00F0
 
#define WM8350_FLL_RATE_MASK   0x0007
 
#define WM8350_FLL_RATIO_MASK   0xF800
 
#define WM8350_FLL_N_MASK   0x03FF
 
#define WM8350_FLL_K_MASK   0xFFFF
 
#define WM8350_FLL_FRAC   0x0020
 
#define WM8350_FLL_SLOW_LOCK_REF   0x0010
 
#define WM8350_FLL_CLK_SRC_MASK   0x0003
 
#define WM8350_DAC_MONO   0x2000
 
#define WM8350_AIF_LRCLKRATE   0x1000
 
#define WM8350_DEEMP_MASK   0x0030
 
#define WM8350_DACL_DATINV   0x0002
 
#define WM8350_DACR_DATINV   0x0001
 
#define WM8350_DAC_VU   0x0100
 
#define WM8350_DACL_VOL_MASK   0x00FF
 
#define WM8350_DAC_VU   0x0100
 
#define WM8350_DACR_VOL_MASK   0x00FF
 
#define WM8350_DACLRC_ENA   0x0800
 
#define WM8350_DACLRC_RATE_MASK   0x07FF
 
#define WM8350_DACCLK_POL   0x0010
 
#define WM8350_DAC_CLKDIV_MASK   0x0007
 
#define WM8350_DAC_MUTE_ENA   0x4000
 
#define WM8350_DAC_MUTEMODE   0x4000
 
#define WM8350_DAC_MUTERATE   0x2000
 
#define WM8350_DAC_SB_FILT   0x1000
 
#define WM8350_ADC_TO_DACL_MASK   0x3000
 
#define WM8350_ADC_TO_DACR_MASK   0x0C00
 
#define WM8350_ADC_HPF_CUT_MASK   0x0300
 
#define WM8350_ADCL_DATINV   0x0002
 
#define WM8350_ADCR_DATINV   0x0001
 
#define WM8350_ADC_VU   0x0100
 
#define WM8350_ADCL_VOL_MASK   0x00FF
 
#define WM8350_ADC_VU   0x0100
 
#define WM8350_ADCR_VOL_MASK   0x00FF
 
#define WM8350_ADCL_DAC_SVOL_MASK   0x0F00
 
#define WM8350_ADCR_DAC_SVOL_MASK   0x00F0
 
#define WM8350_ADCCLK_POL   0x0008
 
#define WM8350_ADC_CLKDIV_MASK   0x0007
 
#define WM8350_ADCLRC_ENA   0x0800
 
#define WM8350_ADCLRC_RATE_MASK   0x07FF
 
#define WM8350_IN2R_ENA   0x0400
 
#define WM8350_IN1RN_ENA   0x0200
 
#define WM8350_IN1RP_ENA   0x0100
 
#define WM8350_IN2L_ENA   0x0004
 
#define WM8350_IN1LN_ENA   0x0002
 
#define WM8350_IN1LP_ENA   0x0001
 
#define WM8350_IN3R_SHORT   0x4000
 
#define WM8350_IN3L_SHORT   0x0040
 
#define WM8350_MICBSEL   0x4000
 
#define WM8350_MCDTHR_MASK   0x001C
 
#define WM8350_MCDSCTHR_MASK   0x0003
 
#define WM8350_OUT4_VROI   0x0800
 
#define WM8350_OUT3_VROI   0x0400
 
#define WM8350_OUT2_VROI   0x0200
 
#define WM8350_OUT1_VROI   0x0100
 
#define WM8350_OUT2_FB   0x0004
 
#define WM8350_OUT1_FB   0x0001
 
#define WM8350_JDL_ENA   0x8000
 
#define WM8350_JDR_ENA   0x4000
 
#define WM8350_ANTI_POP_MASK   0x0300
 
#define WM8350_DIS_OP_LN4_MASK   0x00C0
 
#define WM8350_DIS_OP_LN3_MASK   0x0030
 
#define WM8350_DIS_OP_OUT2_MASK   0x000C
 
#define WM8350_DIS_OP_OUT1_MASK   0x0003
 
#define WM8350_INL_MUTE   0x4000
 
#define WM8350_INL_ZC   0x2000
 
#define WM8350_IN_VU   0x0100
 
#define WM8350_INL_VOL_MASK   0x00FC
 
#define WM8350_INR_MUTE   0x4000
 
#define WM8350_INR_ZC   0x2000
 
#define WM8350_IN_VU   0x0100
 
#define WM8350_INR_VOL_MASK   0x00FC
 
#define WM8350_DACR_TO_MIXOUTL   0x1000
 
#define WM8350_DACL_TO_MIXOUTL   0x0800
 
#define WM8350_IN3L_TO_MIXOUTL   0x0004
 
#define WM8350_INR_TO_MIXOUTL   0x0002
 
#define WM8350_INL_TO_MIXOUTL   0x0001
 
#define WM8350_DACR_TO_MIXOUTR   0x1000
 
#define WM8350_DACL_TO_MIXOUTR   0x0800
 
#define WM8350_IN3R_TO_MIXOUTR   0x0008
 
#define WM8350_INR_TO_MIXOUTR   0x0002
 
#define WM8350_INL_TO_MIXOUTR   0x0001
 
#define WM8350_DACL_TO_OUT3   0x0800
 
#define WM8350_MIXINL_TO_OUT3   0x0100
 
#define WM8350_OUT4_TO_OUT3   0x0008
 
#define WM8350_MIXOUTL_TO_OUT3   0x0001
 
#define WM8350_DACR_TO_OUT4   0x1000
 
#define WM8350_DACL_TO_OUT4   0x0800
 
#define WM8350_OUT4_ATTN   0x0400
 
#define WM8350_MIXINR_TO_OUT4   0x0200
 
#define WM8350_OUT3_TO_OUT4   0x0004
 
#define WM8350_MIXOUTR_TO_OUT4   0x0002
 
#define WM8350_MIXOUTL_TO_OUT4   0x0001
 
#define WM8350_IN3L_MIXOUTL_VOL_MASK   0x0E00
 
#define WM8350_IN3L_MIXOUTL_VOL_SHIFT   9
 
#define WM8350_INR_MIXOUTL_VOL_MASK   0x00E0
 
#define WM8350_INR_MIXOUTL_VOL_SHIFT   5
 
#define WM8350_INL_MIXOUTL_VOL_MASK   0x000E
 
#define WM8350_INL_MIXOUTL_VOL_SHIFT   1
 
#define WM8350_IN3L_MIXOUTL_VOL_OFF   0
 
#define WM8350_IN3L_MIXOUTL_VOL_M12DB   1
 
#define WM8350_IN3L_MIXOUTL_VOL_M9DB   2
 
#define WM8350_IN3L_MIXOUTL_VOL_M6DB   3
 
#define WM8350_IN3L_MIXOUTL_VOL_M3DB   4
 
#define WM8350_IN3L_MIXOUTL_VOL_0DB   5
 
#define WM8350_IN3L_MIXOUTL_VOL_3DB   6
 
#define WM8350_IN3L_MIXOUTL_VOL_6DB   7
 
#define WM8350_INR_MIXOUTL_VOL_OFF   0
 
#define WM8350_INR_MIXOUTL_VOL_M12DB   1
 
#define WM8350_INR_MIXOUTL_VOL_M9DB   2
 
#define WM8350_INR_MIXOUTL_VOL_M6DB   3
 
#define WM8350_INR_MIXOUTL_VOL_M3DB   4
 
#define WM8350_INR_MIXOUTL_VOL_0DB   5
 
#define WM8350_INR_MIXOUTL_VOL_3DB   6
 
#define WM8350_INR_MIXOUTL_VOL_6DB   7
 
#define WM8350_INL_MIXOUTL_VOL_OFF   0
 
#define WM8350_INL_MIXOUTL_VOL_M12DB   1
 
#define WM8350_INL_MIXOUTL_VOL_M9DB   2
 
#define WM8350_INL_MIXOUTL_VOL_M6DB   3
 
#define WM8350_INL_MIXOUTL_VOL_M3DB   4
 
#define WM8350_INL_MIXOUTL_VOL_0DB   5
 
#define WM8350_INL_MIXOUTL_VOL_3DB   6
 
#define WM8350_INL_MIXOUTL_VOL_6DB   7
 
#define WM8350_IN3R_MIXOUTR_VOL_MASK   0xE000
 
#define WM8350_IN3R_MIXOUTR_VOL_SHIFT   13
 
#define WM8350_INR_MIXOUTR_VOL_MASK   0x00E0
 
#define WM8350_INR_MIXOUTR_VOL_SHIFT   5
 
#define WM8350_INL_MIXOUTR_VOL_MASK   0x000E
 
#define WM8350_INL_MIXOUTR_VOL_SHIFT   1
 
#define WM8350_IN3R_MIXOUTR_VOL_OFF   0
 
#define WM8350_IN3R_MIXOUTR_VOL_M12DB   1
 
#define WM8350_IN3R_MIXOUTR_VOL_M9DB   2
 
#define WM8350_IN3R_MIXOUTR_VOL_M6DB   3
 
#define WM8350_IN3R_MIXOUTR_VOL_M3DB   4
 
#define WM8350_IN3R_MIXOUTR_VOL_0DB   5
 
#define WM8350_IN3R_MIXOUTR_VOL_3DB   6
 
#define WM8350_IN3R_MIXOUTR_VOL_6DB   7
 
#define WM8350_INR_MIXOUTR_VOL_OFF   0
 
#define WM8350_INR_MIXOUTR_VOL_M12DB   1
 
#define WM8350_INR_MIXOUTR_VOL_M9DB   2
 
#define WM8350_INR_MIXOUTR_VOL_M6DB   3
 
#define WM8350_INR_MIXOUTR_VOL_M3DB   4
 
#define WM8350_INR_MIXOUTR_VOL_0DB   5
 
#define WM8350_INR_MIXOUTR_VOL_3DB   6
 
#define WM8350_INR_MIXOUTR_VOL_6DB   7
 
#define WM8350_INL_MIXOUTR_VOL_OFF   0
 
#define WM8350_INL_MIXOUTR_VOL_M12DB   1
 
#define WM8350_INL_MIXOUTR_VOL_M9DB   2
 
#define WM8350_INL_MIXOUTR_VOL_M6DB   3
 
#define WM8350_INL_MIXOUTR_VOL_M3DB   4
 
#define WM8350_INL_MIXOUTR_VOL_0DB   5
 
#define WM8350_INL_MIXOUTR_VOL_3DB   6
 
#define WM8350_INL_MIXOUTR_VOL_6DB   7
 
#define WM8350_IN3L_MIXINL_VOL_MASK   0x0E00
 
#define WM8350_IN2L_MIXINL_VOL_MASK   0x000E
 
#define WM8350_INL_MIXINL_VOL   0x0001
 
#define WM8350_IN3R_MIXINR_VOL_MASK   0xE000
 
#define WM8350_IN2R_MIXINR_VOL_MASK   0x00E0
 
#define WM8350_INR_MIXINR_VOL   0x0001
 
#define WM8350_OUT4_MIXIN_DST   0x8000
 
#define WM8350_OUT4_MIXIN_VOL_MASK   0x000E
 
#define WM8350_OUT1L_MUTE   0x4000
 
#define WM8350_OUT1L_ZC   0x2000
 
#define WM8350_OUT1_VU   0x0100
 
#define WM8350_OUT1L_VOL_MASK   0x00FC
 
#define WM8350_OUT1L_VOL_SHIFT   2
 
#define WM8350_OUT1R_MUTE   0x4000
 
#define WM8350_OUT1R_ZC   0x2000
 
#define WM8350_OUT1_VU   0x0100
 
#define WM8350_OUT1R_VOL_MASK   0x00FC
 
#define WM8350_OUT1R_VOL_SHIFT   2
 
#define WM8350_OUT2L_MUTE   0x4000
 
#define WM8350_OUT2L_ZC   0x2000
 
#define WM8350_OUT2_VU   0x0100
 
#define WM8350_OUT2L_VOL_MASK   0x00FC
 
#define WM8350_OUT2R_MUTE   0x4000
 
#define WM8350_OUT2R_ZC   0x2000
 
#define WM8350_OUT2R_INV   0x0400
 
#define WM8350_OUT2R_INV_MUTE   0x0200
 
#define WM8350_OUT2_VU   0x0100
 
#define WM8350_OUT2R_VOL_MASK   0x00FC
 
#define WM8350_IN3R_OUT2R_VOL_MASK   0x00E0
 
#define WM8350_AIF_BCLK_INV   0x8000
 
#define WM8350_AIF_TRI   0x2000
 
#define WM8350_AIF_LRCLK_INV   0x1000
 
#define WM8350_AIF_WL_MASK   0x0C00
 
#define WM8350_AIF_FMT_MASK   0x0300
 
#define WM8350_DAC_COMP   0x0080
 
#define WM8350_DAC_COMPMODE   0x0040
 
#define WM8350_ADC_COMP   0x0020
 
#define WM8350_ADC_COMPMODE   0x0010
 
#define WM8350_LOOPBACK   0x0001
 
#define WM8350_AIFADC_PD   0x0080
 
#define WM8350_AIFADCL_SRC   0x0040
 
#define WM8350_AIFADCR_SRC   0x0020
 
#define WM8350_AIFADC_TDM_CHAN   0x0010
 
#define WM8350_AIFADC_TDM   0x0008
 
#define WM8350_BCLK_MSTR   0x4000
 
#define WM8350_AIFDAC_PD   0x0080
 
#define WM8350_DACL_SRC   0x0040
 
#define WM8350_DACR_SRC   0x0020
 
#define WM8350_AIFDAC_TDM_CHAN   0x0010
 
#define WM8350_AIFDAC_TDM   0x0008
 
#define WM8350_DAC_BOOST_MASK   0x0003
 
#define WM8350_CODEC_BYP   0x4000
 
#define WM8350_AIFADC_WR_TST   0x2000
 
#define WM8350_AIFADC_RD_TST   0x1000
 
#define WM8350_AIFDAC_WR_TST   0x0800
 
#define WM8350_AIFDAC_RD_TST   0x0400
 
#define WM8350_AIFADC_ASYN   0x0020
 
#define WM8350_AIFDAC_ASYN   0x0010
 
#define WM8350_JACK_L_LVL   0x0800
 
#define WM8350_JACK_R_LVL   0x0400
 
#define WM8350_JACK_MICSCD_LVL   0x0200
 
#define WM8350_JACK_MICSD_LVL   0x0100
 
#define WM8350_S_CURVE_NONE   0x0
 
#define WM8350_S_CURVE_FAST   0x1
 
#define WM8350_S_CURVE_MEDIUM   0x2
 
#define WM8350_S_CURVE_SLOW   0x3
 
#define WM8350_DISCHARGE_OFF   0x0
 
#define WM8350_DISCHARGE_FAST   0x1
 
#define WM8350_DISCHARGE_MEDIUM   0x2
 
#define WM8350_DISCHARGE_SLOW   0x3
 
#define WM8350_TIE_OFF_500R   0x0
 
#define WM8350_TIE_OFF_30K   0x1
 
#define WM8350_SYSCLK   0
 
#define WM8350_MCLK_SEL_PLL_MCLK   0
 
#define WM8350_MCLK_SEL_PLL_DAC   1
 
#define WM8350_MCLK_SEL_PLL_ADC   2
 
#define WM8350_MCLK_SEL_PLL_32K   3
 
#define WM8350_MCLK_SEL_MCLK   5
 
#define WM8350_ADC_CLKDIV   0
 
#define WM8350_DAC_CLKDIV   1
 
#define WM8350_BCLK_CLKDIV   2
 
#define WM8350_OPCLK_CLKDIV   3
 
#define WM8350_TO_CLKDIV   4
 
#define WM8350_SYS_CLKDIV   5
 
#define WM8350_DACLR_CLKDIV   6
 
#define WM8350_ADCLR_CLKDIV   7
 
#define WM8350_ADCDIV_1   0x0
 
#define WM8350_ADCDIV_1_5   0x1
 
#define WM8350_ADCDIV_2   0x2
 
#define WM8350_ADCDIV_3   0x3
 
#define WM8350_ADCDIV_4   0x4
 
#define WM8350_ADCDIV_5_5   0x5
 
#define WM8350_ADCDIV_6   0x6
 
#define WM8350_DACDIV_1   0x0
 
#define WM8350_DACDIV_1_5   0x1
 
#define WM8350_DACDIV_2   0x2
 
#define WM8350_DACDIV_3   0x3
 
#define WM8350_DACDIV_4   0x4
 
#define WM8350_DACDIV_5_5   0x5
 
#define WM8350_DACDIV_6   0x6
 
#define WM8350_BCLK_DIV_1   (0x0 << 4)
 
#define WM8350_BCLK_DIV_1_5   (0x1 << 4)
 
#define WM8350_BCLK_DIV_2   (0x2 << 4)
 
#define WM8350_BCLK_DIV_3   (0x3 << 4)
 
#define WM8350_BCLK_DIV_4   (0x4 << 4)
 
#define WM8350_BCLK_DIV_5_5   (0x5 << 4)
 
#define WM8350_BCLK_DIV_6   (0x6 << 4)
 
#define WM8350_BCLK_DIV_8   (0x7 << 4)
 
#define WM8350_BCLK_DIV_11   (0x8 << 4)
 
#define WM8350_BCLK_DIV_12   (0x9 << 4)
 
#define WM8350_BCLK_DIV_16   (0xa << 4)
 
#define WM8350_BCLK_DIV_22   (0xb << 4)
 
#define WM8350_BCLK_DIV_24   (0xc << 4)
 
#define WM8350_BCLK_DIV_32   (0xd << 4)
 
#define WM8350_BCLK_DIV_44   (0xe << 4)
 
#define WM8350_BCLK_DIV_48   (0xf << 4)
 
#define WM8350_MCLK_DIV_1   (0x0 << 8)
 
#define WM8350_MCLK_DIV_2   (0x1 << 8)
 
#define WM8350_OPCLK_DIV_1   0x0
 
#define WM8350_OPCLK_DIV_2   0x1
 
#define WM8350_OPCLK_DIV_3   0x2
 
#define WM8350_OPCLK_DIV_4   0x3
 
#define WM8350_OPCLK_DIV_5_5   0x4
 
#define WM8350_OPCLK_DIV_6   0x5
 
#define WM8350_HIFI_DAI   0
 
#define WM8350_IRQ_CODEC_JCK_DET_L   39
 
#define WM8350_IRQ_CODEC_JCK_DET_R   40
 
#define WM8350_IRQ_CODEC_MICSCD   41
 
#define WM8350_IRQ_CODEC_MICD   42
 

Macro Definition Documentation

#define WM8350_ADC_CLKDIV   0

Definition at line 526 of file audio.h.

#define WM8350_ADC_CLKDIV_MASK   0x0007

Definition at line 195 of file audio.h.

#define WM8350_ADC_COMP   0x0020

Definition at line 455 of file audio.h.

#define WM8350_ADC_COMPMODE   0x0010

Definition at line 456 of file audio.h.

#define WM8350_ADC_CONTROL   0x40

Definition at line 32 of file audio.h.

#define WM8350_ADC_DAC_COMP   0x71

Definition at line 60 of file audio.h.

#define WM8350_ADC_DIGITAL_VOLUME_L   0x42

Definition at line 33 of file audio.h.

#define WM8350_ADC_DIGITAL_VOLUME_R   0x43

Definition at line 34 of file audio.h.

#define WM8350_ADC_DIVIDER   0x44

Definition at line 35 of file audio.h.

#define WM8350_ADC_HPF_CUT_MASK   0x0300

Definition at line 173 of file audio.h.

#define WM8350_ADC_LR_RATE   0x46

Definition at line 36 of file audio.h.

#define WM8350_ADC_TO_DACL_MASK   0x3000

Definition at line 167 of file audio.h.

#define WM8350_ADC_TO_DACR_MASK   0x0C00

Definition at line 168 of file audio.h.

#define WM8350_ADC_VU   0x0100

Definition at line 186 of file audio.h.

#define WM8350_ADC_VU   0x0100

Definition at line 186 of file audio.h.

#define WM8350_ADCCLK_POL   0x0008

Definition at line 194 of file audio.h.

#define WM8350_ADCDIV_1   0x0

Definition at line 536 of file audio.h.

#define WM8350_ADCDIV_1_5   0x1

Definition at line 537 of file audio.h.

#define WM8350_ADCDIV_2   0x2

Definition at line 538 of file audio.h.

#define WM8350_ADCDIV_3   0x3

Definition at line 539 of file audio.h.

#define WM8350_ADCDIV_4   0x4

Definition at line 540 of file audio.h.

#define WM8350_ADCDIV_5_5   0x5

Definition at line 541 of file audio.h.

#define WM8350_ADCDIV_6   0x6

Definition at line 542 of file audio.h.

#define WM8350_ADCL_DAC_SVOL_MASK   0x0F00

Definition at line 192 of file audio.h.

#define WM8350_ADCL_DATINV   0x0002

Definition at line 174 of file audio.h.

#define WM8350_ADCL_VOL_MASK   0x00FF

Definition at line 181 of file audio.h.

#define WM8350_ADCLR_CLKDIV   7

Definition at line 533 of file audio.h.

#define WM8350_ADCLRC_ENA   0x0800

Definition at line 200 of file audio.h.

#define WM8350_ADCLRC_RATE_MASK   0x07FF

Definition at line 201 of file audio.h.

#define WM8350_ADCR_DAC_SVOL_MASK   0x00F0

Definition at line 193 of file audio.h.

#define WM8350_ADCR_DATINV   0x0001

Definition at line 175 of file audio.h.

#define WM8350_ADCR_VOL_MASK   0x00FF

Definition at line 187 of file audio.h.

#define WM8350_AI_ADC_CONTROL   0x72

Definition at line 61 of file audio.h.

#define WM8350_AI_DAC_CONTROL   0x73

Definition at line 62 of file audio.h.

#define WM8350_AI_FORMATING   0x70

Definition at line 59 of file audio.h.

#define WM8350_AIF_BCLK_INV   0x8000

Definition at line 444 of file audio.h.

#define WM8350_AIF_FMT_MASK   0x0300

Definition at line 448 of file audio.h.

#define WM8350_AIF_LRCLK_INV   0x1000

Definition at line 446 of file audio.h.

#define WM8350_AIF_LRCLKRATE   0x1000

Definition at line 123 of file audio.h.

#define WM8350_AIF_TEST   0x74

Definition at line 63 of file audio.h.

#define WM8350_AIF_TRI   0x2000

Definition at line 445 of file audio.h.

#define WM8350_AIF_WL_MASK   0x0C00

Definition at line 447 of file audio.h.

#define WM8350_AIFADC_ASYN   0x0020

Definition at line 487 of file audio.h.

#define WM8350_AIFADC_PD   0x0080

Definition at line 462 of file audio.h.

#define WM8350_AIFADC_RD_TST   0x1000

Definition at line 484 of file audio.h.

#define WM8350_AIFADC_TDM   0x0008

Definition at line 466 of file audio.h.

#define WM8350_AIFADC_TDM_CHAN   0x0010

Definition at line 465 of file audio.h.

#define WM8350_AIFADC_WR_TST   0x2000

Definition at line 483 of file audio.h.

#define WM8350_AIFADCL_SRC   0x0040

Definition at line 463 of file audio.h.

#define WM8350_AIFADCR_SRC   0x0020

Definition at line 464 of file audio.h.

#define WM8350_AIFDAC_ASYN   0x0010

Definition at line 488 of file audio.h.

#define WM8350_AIFDAC_PD   0x0080

Definition at line 472 of file audio.h.

#define WM8350_AIFDAC_RD_TST   0x0400

Definition at line 486 of file audio.h.

#define WM8350_AIFDAC_TDM   0x0008

Definition at line 476 of file audio.h.

#define WM8350_AIFDAC_TDM_CHAN   0x0010

Definition at line 475 of file audio.h.

#define WM8350_AIFDAC_WR_TST   0x0800

Definition at line 485 of file audio.h.

#define WM8350_ANTI_POP_CONTROL   0x4E

Definition at line 42 of file audio.h.

#define WM8350_ANTI_POP_MASK   0x0300

Definition at line 245 of file audio.h.

#define WM8350_BCLK_CLKDIV   2

Definition at line 528 of file audio.h.

#define WM8350_BCLK_DIV_1   (0x0 << 4)

Definition at line 554 of file audio.h.

#define WM8350_BCLK_DIV_11   (0x8 << 4)

Definition at line 562 of file audio.h.

#define WM8350_BCLK_DIV_12   (0x9 << 4)

Definition at line 563 of file audio.h.

#define WM8350_BCLK_DIV_16   (0xa << 4)

Definition at line 564 of file audio.h.

#define WM8350_BCLK_DIV_1_5   (0x1 << 4)

Definition at line 555 of file audio.h.

#define WM8350_BCLK_DIV_2   (0x2 << 4)

Definition at line 556 of file audio.h.

#define WM8350_BCLK_DIV_22   (0xb << 4)

Definition at line 565 of file audio.h.

#define WM8350_BCLK_DIV_24   (0xc << 4)

Definition at line 566 of file audio.h.

#define WM8350_BCLK_DIV_3   (0x3 << 4)

Definition at line 557 of file audio.h.

#define WM8350_BCLK_DIV_32   (0xd << 4)

Definition at line 567 of file audio.h.

#define WM8350_BCLK_DIV_4   (0x4 << 4)

Definition at line 558 of file audio.h.

#define WM8350_BCLK_DIV_44   (0xe << 4)

Definition at line 568 of file audio.h.

#define WM8350_BCLK_DIV_48   (0xf << 4)

Definition at line 569 of file audio.h.

#define WM8350_BCLK_DIV_5_5   (0x5 << 4)

Definition at line 559 of file audio.h.

#define WM8350_BCLK_DIV_6   (0x6 << 4)

Definition at line 560 of file audio.h.

#define WM8350_BCLK_DIV_8   (0x7 << 4)

Definition at line 561 of file audio.h.

#define WM8350_BCLK_DIV_MASK   0x00F0

Definition at line 83 of file audio.h.

#define WM8350_BCLK_MSTR   0x4000

Definition at line 471 of file audio.h.

#define WM8350_BEEP_VOLUME   0x6F

Definition at line 58 of file audio.h.

#define WM8350_CLOCK_CONTROL_1   0x28

Definition at line 18 of file audio.h.

#define WM8350_CLOCK_CONTROL_2   0x29

Definition at line 19 of file audio.h.

#define WM8350_CODEC_BYP   0x4000

Definition at line 482 of file audio.h.

#define WM8350_CODEC_ISEL_0_5   3 /* x0.5 */

Definition at line 70 of file audio.h.

#define WM8350_CODEC_ISEL_0_75   2 /* x0.75 */

Definition at line 69 of file audio.h.

#define WM8350_CODEC_ISEL_1_0   1 /* x1.0 */

Definition at line 68 of file audio.h.

#define WM8350_CODEC_ISEL_1_5   0 /* x1.5 */

Definition at line 67 of file audio.h.

#define WM8350_DAC_BOOST_MASK   0x0003

Definition at line 477 of file audio.h.

#define WM8350_DAC_CLKDIV   1

Definition at line 527 of file audio.h.

#define WM8350_DAC_CLKDIV_MASK   0x0007

Definition at line 150 of file audio.h.

#define WM8350_DAC_CLOCK_CONTROL   0x36

Definition at line 28 of file audio.h.

#define WM8350_DAC_COMP   0x0080

Definition at line 453 of file audio.h.

#define WM8350_DAC_COMPMODE   0x0040

Definition at line 454 of file audio.h.

#define WM8350_DAC_CONTROL   0x30

Definition at line 24 of file audio.h.

#define WM8350_DAC_DIGITAL_VOLUME_L   0x32

Definition at line 25 of file audio.h.

#define WM8350_DAC_DIGITAL_VOLUME_R   0x33

Definition at line 26 of file audio.h.

#define WM8350_DAC_LR_RATE   0x35

Definition at line 27 of file audio.h.

#define WM8350_DAC_MONO   0x2000

Definition at line 122 of file audio.h.

#define WM8350_DAC_MUTE   0x3A

Definition at line 29 of file audio.h.

#define WM8350_DAC_MUTE_ENA   0x4000

Definition at line 155 of file audio.h.

#define WM8350_DAC_MUTE_VOLUME   0x3B

Definition at line 30 of file audio.h.

#define WM8350_DAC_MUTEMODE   0x4000

Definition at line 160 of file audio.h.

#define WM8350_DAC_MUTERATE   0x2000

Definition at line 161 of file audio.h.

#define WM8350_DAC_SB_FILT   0x1000

Definition at line 162 of file audio.h.

#define WM8350_DAC_SIDE   0x3C

Definition at line 31 of file audio.h.

#define WM8350_DAC_VU   0x0100

Definition at line 137 of file audio.h.

#define WM8350_DAC_VU   0x0100

Definition at line 137 of file audio.h.

#define WM8350_DACCLK_POL   0x0010

Definition at line 149 of file audio.h.

#define WM8350_DACDIV_1   0x0

Definition at line 545 of file audio.h.

#define WM8350_DACDIV_1_5   0x1

Definition at line 546 of file audio.h.

#define WM8350_DACDIV_2   0x2

Definition at line 547 of file audio.h.

#define WM8350_DACDIV_3   0x3

Definition at line 548 of file audio.h.

#define WM8350_DACDIV_4   0x4

Definition at line 549 of file audio.h.

#define WM8350_DACDIV_5_5   0x5

Definition at line 550 of file audio.h.

#define WM8350_DACDIV_6   0x6

Definition at line 551 of file audio.h.

#define WM8350_DACL_DATINV   0x0002

Definition at line 125 of file audio.h.

#define WM8350_DACL_SRC   0x0040

Definition at line 473 of file audio.h.

#define WM8350_DACL_TO_MIXOUTL   0x0800

Definition at line 271 of file audio.h.

#define WM8350_DACL_TO_MIXOUTR   0x0800

Definition at line 280 of file audio.h.

#define WM8350_DACL_TO_OUT3   0x0800

Definition at line 288 of file audio.h.

#define WM8350_DACL_TO_OUT4   0x0800

Definition at line 297 of file audio.h.

#define WM8350_DACL_VOL_MASK   0x00FF

Definition at line 132 of file audio.h.

#define WM8350_DACLR_CLKDIV   6

Definition at line 532 of file audio.h.

#define WM8350_DACLRC_ENA   0x0800

Definition at line 143 of file audio.h.

#define WM8350_DACLRC_RATE_MASK   0x07FF

Definition at line 144 of file audio.h.

#define WM8350_DACR_DATINV   0x0001

Definition at line 126 of file audio.h.

#define WM8350_DACR_SRC   0x0020

Definition at line 474 of file audio.h.

#define WM8350_DACR_TO_MIXOUTL   0x1000

Definition at line 270 of file audio.h.

#define WM8350_DACR_TO_MIXOUTR   0x1000

Definition at line 279 of file audio.h.

#define WM8350_DACR_TO_OUT4   0x1000

Definition at line 296 of file audio.h.

#define WM8350_DACR_VOL_MASK   0x00FF

Definition at line 138 of file audio.h.

#define WM8350_DEEMP_MASK   0x0030

Definition at line 124 of file audio.h.

#define WM8350_DIS_OP_LN3_MASK   0x0030

Definition at line 247 of file audio.h.

#define WM8350_DIS_OP_LN4_MASK   0x00C0

Definition at line 246 of file audio.h.

#define WM8350_DIS_OP_OUT1_MASK   0x0003

Definition at line 249 of file audio.h.

#define WM8350_DIS_OP_OUT2_MASK   0x000C

Definition at line 248 of file audio.h.

#define WM8350_DISCHARGE_FAST   0x1

Definition at line 507 of file audio.h.

#define WM8350_DISCHARGE_MEDIUM   0x2

Definition at line 508 of file audio.h.

#define WM8350_DISCHARGE_OFF   0x0

Definition at line 506 of file audio.h.

#define WM8350_DISCHARGE_SLOW   0x3

Definition at line 509 of file audio.h.

#define WM8350_FLL_CLK_SRC_MASK   0x0003

Definition at line 117 of file audio.h.

#define WM8350_FLL_CONTROL_1   0x2A

Definition at line 20 of file audio.h.

#define WM8350_FLL_CONTROL_2   0x2B

Definition at line 21 of file audio.h.

#define WM8350_FLL_CONTROL_3   0x2C

Definition at line 22 of file audio.h.

#define WM8350_FLL_CONTROL_4   0x2D

Definition at line 23 of file audio.h.

#define WM8350_FLL_DITHER_HP   0x0800

Definition at line 96 of file audio.h.

#define WM8350_FLL_DITHER_WIDTH_MASK   0x3000

Definition at line 95 of file audio.h.

#define WM8350_FLL_FRAC   0x0020

Definition at line 115 of file audio.h.

#define WM8350_FLL_K_MASK   0xFFFF

Definition at line 110 of file audio.h.

#define WM8350_FLL_N_MASK   0x03FF

Definition at line 105 of file audio.h.

#define WM8350_FLL_OUTDIV_MASK   0x0700

Definition at line 97 of file audio.h.

#define WM8350_FLL_RATE_MASK   0x0007

Definition at line 99 of file audio.h.

#define WM8350_FLL_RATIO_MASK   0xF800

Definition at line 104 of file audio.h.

#define WM8350_FLL_RSP_RATE_MASK   0x00F0

Definition at line 98 of file audio.h.

#define WM8350_FLL_SLOW_LOCK_REF   0x0010

Definition at line 116 of file audio.h.

#define WM8350_HIFI_DAI   0

Definition at line 584 of file audio.h.

#define WM8350_IN1LN_ENA   0x0002

Definition at line 210 of file audio.h.

#define WM8350_IN1LP_ENA   0x0001

Definition at line 211 of file audio.h.

#define WM8350_IN1RN_ENA   0x0200

Definition at line 207 of file audio.h.

#define WM8350_IN1RP_ENA   0x0100

Definition at line 208 of file audio.h.

#define WM8350_IN2L_ENA   0x0004

Definition at line 209 of file audio.h.

#define WM8350_IN2L_MIXINL_VOL_MASK   0x000E

Definition at line 384 of file audio.h.

#define WM8350_IN2R_ENA   0x0400

Definition at line 206 of file audio.h.

#define WM8350_IN2R_MIXINR_VOL_MASK   0x00E0

Definition at line 391 of file audio.h.

#define WM8350_IN3_INPUT_CONTROL   0x49

Definition at line 38 of file audio.h.

#define WM8350_IN3L_MIXINL_VOL_MASK   0x0E00

Definition at line 383 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_0DB   5

Definition at line 320 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_3DB   6

Definition at line 321 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_6DB   7

Definition at line 322 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_M12DB   1

Definition at line 316 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_M3DB   4

Definition at line 319 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_M6DB   3

Definition at line 318 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_M9DB   2

Definition at line 317 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_MASK   0x0E00

Definition at line 307 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_OFF   0

Definition at line 315 of file audio.h.

#define WM8350_IN3L_MIXOUTL_VOL_SHIFT   9

Definition at line 308 of file audio.h.

#define WM8350_IN3L_SHORT   0x0040

Definition at line 217 of file audio.h.

#define WM8350_IN3L_TO_MIXOUTL   0x0004

Definition at line 272 of file audio.h.

#define WM8350_IN3R_MIXINR_VOL_MASK   0xE000

Definition at line 390 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_0DB   5

Definition at line 358 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_3DB   6

Definition at line 359 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_6DB   7

Definition at line 360 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_M12DB   1

Definition at line 354 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_M3DB   4

Definition at line 357 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_M6DB   3

Definition at line 356 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_M9DB   2

Definition at line 355 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_MASK   0xE000

Definition at line 345 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_OFF   0

Definition at line 353 of file audio.h.

#define WM8350_IN3R_MIXOUTR_VOL_SHIFT   13

Definition at line 346 of file audio.h.

#define WM8350_IN3R_OUT2R_VOL_MASK   0x00E0

Definition at line 439 of file audio.h.

#define WM8350_IN3R_SHORT   0x4000

Definition at line 216 of file audio.h.

#define WM8350_IN3R_TO_MIXOUTR   0x0008

Definition at line 281 of file audio.h.

#define WM8350_IN_VU   0x0100

Definition at line 264 of file audio.h.

#define WM8350_IN_VU   0x0100

Definition at line 264 of file audio.h.

#define WM8350_INL_MIXINL_VOL   0x0001

Definition at line 385 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_0DB   5

Definition at line 338 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_3DB   6

Definition at line 339 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_6DB   7

Definition at line 340 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_M12DB   1

Definition at line 334 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_M3DB   4

Definition at line 337 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_M6DB   3

Definition at line 336 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_M9DB   2

Definition at line 335 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_MASK   0x000E

Definition at line 311 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_OFF   0

Definition at line 333 of file audio.h.

#define WM8350_INL_MIXOUTL_VOL_SHIFT   1

Definition at line 312 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_0DB   5

Definition at line 376 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_3DB   6

Definition at line 377 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_6DB   7

Definition at line 378 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_M12DB   1

Definition at line 372 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_M3DB   4

Definition at line 375 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_M6DB   3

Definition at line 374 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_M9DB   2

Definition at line 373 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_MASK   0x000E

Definition at line 349 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_OFF   0

Definition at line 371 of file audio.h.

#define WM8350_INL_MIXOUTR_VOL_SHIFT   1

Definition at line 350 of file audio.h.

#define WM8350_INL_MUTE   0x4000

Definition at line 254 of file audio.h.

#define WM8350_INL_TO_MIXOUTL   0x0001

Definition at line 274 of file audio.h.

#define WM8350_INL_TO_MIXOUTR   0x0001

Definition at line 283 of file audio.h.

#define WM8350_INL_VOL_MASK   0x00FC

Definition at line 257 of file audio.h.

#define WM8350_INL_ZC   0x2000

Definition at line 255 of file audio.h.

#define WM8350_INPUT_CONTROL   0x48

Definition at line 37 of file audio.h.

#define WM8350_INPUT_MIXER_VOLUME   0x64

Definition at line 53 of file audio.h.

#define WM8350_INPUT_MIXER_VOLUME_L   0x62

Definition at line 51 of file audio.h.

#define WM8350_INPUT_MIXER_VOLUME_R   0x63

Definition at line 52 of file audio.h.

#define WM8350_INR_MIXINR_VOL   0x0001

Definition at line 392 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_0DB   5

Definition at line 329 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_3DB   6

Definition at line 330 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_6DB   7

Definition at line 331 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_M12DB   1

Definition at line 325 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_M3DB   4

Definition at line 328 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_M6DB   3

Definition at line 327 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_M9DB   2

Definition at line 326 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_MASK   0x00E0

Definition at line 309 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_OFF   0

Definition at line 324 of file audio.h.

#define WM8350_INR_MIXOUTL_VOL_SHIFT   5

Definition at line 310 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_0DB   5

Definition at line 367 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_3DB   6

Definition at line 368 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_6DB   7

Definition at line 369 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_M12DB   1

Definition at line 363 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_M3DB   4

Definition at line 366 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_M6DB   3

Definition at line 365 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_M9DB   2

Definition at line 364 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_MASK   0x00E0

Definition at line 347 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_OFF   0

Definition at line 362 of file audio.h.

#define WM8350_INR_MIXOUTR_VOL_SHIFT   5

Definition at line 348 of file audio.h.

#define WM8350_INR_MUTE   0x4000

Definition at line 262 of file audio.h.

#define WM8350_INR_TO_MIXOUTL   0x0002

Definition at line 273 of file audio.h.

#define WM8350_INR_TO_MIXOUTR   0x0002

Definition at line 282 of file audio.h.

#define WM8350_INR_VOL_MASK   0x00FC

Definition at line 265 of file audio.h.

#define WM8350_INR_ZC   0x2000

Definition at line 263 of file audio.h.

#define WM8350_IRQ_CODEC_JCK_DET_L   39

Definition at line 589 of file audio.h.

#define WM8350_IRQ_CODEC_JCK_DET_R   40

Definition at line 590 of file audio.h.

#define WM8350_IRQ_CODEC_MICD   42

Definition at line 592 of file audio.h.

#define WM8350_IRQ_CODEC_MICSCD   41

Definition at line 591 of file audio.h.

#define WM8350_JACK_DETECT   0x4D

Definition at line 41 of file audio.h.

#define WM8350_JACK_L_LVL   0x0800

Definition at line 493 of file audio.h.

#define WM8350_JACK_MICSCD_LVL   0x0200

Definition at line 495 of file audio.h.

#define WM8350_JACK_MICSD_LVL   0x0100

Definition at line 496 of file audio.h.

#define WM8350_JACK_PIN_STATUS   0xE7

Definition at line 64 of file audio.h.

#define WM8350_JACK_R_LVL   0x0400

Definition at line 494 of file audio.h.

#define WM8350_JDL_ENA   0x8000

Definition at line 239 of file audio.h.

#define WM8350_JDR_ENA   0x4000

Definition at line 240 of file audio.h.

#define WM8350_LEFT_INPUT_VOLUME   0x50

Definition at line 43 of file audio.h.

#define WM8350_LEFT_MIXER_CONTROL   0x58

Definition at line 45 of file audio.h.

#define WM8350_LOOPBACK   0x0001

Definition at line 457 of file audio.h.

#define WM8350_LOUT1_VOLUME   0x68

Definition at line 54 of file audio.h.

#define WM8350_LOUT2_VOLUME   0x6A

Definition at line 56 of file audio.h.

#define WM8350_LRC_ADC_SEL   0x8000

Definition at line 89 of file audio.h.

#define WM8350_MCDSCTHR_MASK   0x0003

Definition at line 224 of file audio.h.

#define WM8350_MCDTHR_MASK   0x001C

Definition at line 223 of file audio.h.

#define WM8350_MCLK_DIR   0x0001

Definition at line 90 of file audio.h.

#define WM8350_MCLK_DIV_1   (0x0 << 8)

Definition at line 572 of file audio.h.

#define WM8350_MCLK_DIV_2   (0x1 << 8)

Definition at line 573 of file audio.h.

#define WM8350_MCLK_DIV_MASK   0x0100

Definition at line 82 of file audio.h.

#define WM8350_MCLK_SEL   0x0800

Definition at line 81 of file audio.h.

#define WM8350_MCLK_SEL_MCLK   5

Definition at line 523 of file audio.h.

#define WM8350_MCLK_SEL_PLL_32K   3

Definition at line 522 of file audio.h.

#define WM8350_MCLK_SEL_PLL_ADC   2

Definition at line 521 of file audio.h.

#define WM8350_MCLK_SEL_PLL_DAC   1

Definition at line 520 of file audio.h.

#define WM8350_MCLK_SEL_PLL_MCLK   0

Definition at line 519 of file audio.h.

#define WM8350_MIC_BIAS_CONTROL   0x4A

Definition at line 39 of file audio.h.

#define WM8350_MICBSEL   0x4000

Definition at line 222 of file audio.h.

#define WM8350_MIXINL_TO_OUT3   0x0100

Definition at line 289 of file audio.h.

#define WM8350_MIXINR_TO_OUT4   0x0200

Definition at line 299 of file audio.h.

#define WM8350_MIXOUTL_TO_OUT3   0x0001

Definition at line 291 of file audio.h.

#define WM8350_MIXOUTL_TO_OUT4   0x0001

Definition at line 302 of file audio.h.

#define WM8350_MIXOUTR_TO_OUT4   0x0002

Definition at line 301 of file audio.h.

#define WM8350_OPCLK_CLKDIV   3

Definition at line 529 of file audio.h.

#define WM8350_OPCLK_DIV_1   0x0

Definition at line 576 of file audio.h.

#define WM8350_OPCLK_DIV_2   0x1

Definition at line 577 of file audio.h.

#define WM8350_OPCLK_DIV_3   0x2

Definition at line 578 of file audio.h.

#define WM8350_OPCLK_DIV_4   0x3

Definition at line 579 of file audio.h.

#define WM8350_OPCLK_DIV_5_5   0x4

Definition at line 580 of file audio.h.

#define WM8350_OPCLK_DIV_6   0x5

Definition at line 581 of file audio.h.

#define WM8350_OPCLK_DIV_MASK   0x0007

Definition at line 84 of file audio.h.

#define WM8350_OUT1_FB   0x0001

Definition at line 234 of file audio.h.

#define WM8350_OUT1_VROI   0x0100

Definition at line 232 of file audio.h.

#define WM8350_OUT1_VU   0x0100

Definition at line 414 of file audio.h.

#define WM8350_OUT1_VU   0x0100

Definition at line 414 of file audio.h.

#define WM8350_OUT1L_MUTE   0x4000

Definition at line 403 of file audio.h.

#define WM8350_OUT1L_VOL_MASK   0x00FC

Definition at line 406 of file audio.h.

#define WM8350_OUT1L_VOL_SHIFT   2

Definition at line 407 of file audio.h.

#define WM8350_OUT1L_ZC   0x2000

Definition at line 404 of file audio.h.

#define WM8350_OUT1R_MUTE   0x4000

Definition at line 412 of file audio.h.

#define WM8350_OUT1R_VOL_MASK   0x00FC

Definition at line 415 of file audio.h.

#define WM8350_OUT1R_VOL_SHIFT   2

Definition at line 416 of file audio.h.

#define WM8350_OUT1R_ZC   0x2000

Definition at line 413 of file audio.h.

#define WM8350_OUT2_FB   0x0004

Definition at line 233 of file audio.h.

#define WM8350_OUT2_VROI   0x0200

Definition at line 231 of file audio.h.

#define WM8350_OUT2_VU   0x0100

Definition at line 433 of file audio.h.

#define WM8350_OUT2_VU   0x0100

Definition at line 433 of file audio.h.

#define WM8350_OUT2L_MUTE   0x4000

Definition at line 421 of file audio.h.

#define WM8350_OUT2L_VOL_MASK   0x00FC

Definition at line 424 of file audio.h.

#define WM8350_OUT2L_ZC   0x2000

Definition at line 422 of file audio.h.

#define WM8350_OUT2R_INV   0x0400

Definition at line 431 of file audio.h.

#define WM8350_OUT2R_INV_MUTE   0x0200

Definition at line 432 of file audio.h.

#define WM8350_OUT2R_MUTE   0x4000

Definition at line 429 of file audio.h.

#define WM8350_OUT2R_VOL_MASK   0x00FC

Definition at line 434 of file audio.h.

#define WM8350_OUT2R_ZC   0x2000

Definition at line 430 of file audio.h.

#define WM8350_OUT3_MIXER_CONTROL   0x5C

Definition at line 47 of file audio.h.

#define WM8350_OUT3_TO_OUT4   0x0004

Definition at line 300 of file audio.h.

#define WM8350_OUT3_VROI   0x0400

Definition at line 230 of file audio.h.

#define WM8350_OUT4_ATTN   0x0400

Definition at line 298 of file audio.h.

#define WM8350_OUT4_MIXER_CONTROL   0x5D

Definition at line 48 of file audio.h.

#define WM8350_OUT4_MIXIN_DST   0x8000

Definition at line 397 of file audio.h.

#define WM8350_OUT4_MIXIN_VOL_MASK   0x000E

Definition at line 398 of file audio.h.

#define WM8350_OUT4_TO_OUT3   0x0008

Definition at line 290 of file audio.h.

#define WM8350_OUT4_VROI   0x0800

Definition at line 229 of file audio.h.

#define WM8350_OUTPUT_CONTROL   0x4C

Definition at line 40 of file audio.h.

#define WM8350_OUTPUT_LEFT_MIXER_VOLUME   0x60

Definition at line 49 of file audio.h.

#define WM8350_OUTPUT_RIGHT_MIXER_VOLUME   0x61

Definition at line 50 of file audio.h.

#define WM8350_RIGHT_INPUT_VOLUME   0x51

Definition at line 44 of file audio.h.

#define WM8350_RIGHT_MIXER_CONTROL   0x59

Definition at line 46 of file audio.h.

#define WM8350_ROUT1_VOLUME   0x69

Definition at line 55 of file audio.h.

#define WM8350_ROUT2_VOLUME   0x6B

Definition at line 57 of file audio.h.

#define WM8350_S_CURVE_FAST   0x1

Definition at line 502 of file audio.h.

#define WM8350_S_CURVE_MEDIUM   0x2

Definition at line 503 of file audio.h.

#define WM8350_S_CURVE_NONE   0x0

Definition at line 501 of file audio.h.

#define WM8350_S_CURVE_SLOW   0x3

Definition at line 504 of file audio.h.

#define WM8350_SYS_CLKDIV   5

Definition at line 531 of file audio.h.

#define WM8350_SYSCLK   0

Definition at line 517 of file audio.h.

#define WM8350_TIE_OFF_30K   0x1

Definition at line 512 of file audio.h.

#define WM8350_TIE_OFF_500R   0x0

Definition at line 511 of file audio.h.

#define WM8350_TO_CLKDIV   4

Definition at line 530 of file audio.h.

#define WM8350_TOCLK_RATE   0x4000

Definition at line 80 of file audio.h.

#define WM8350_VMID_300K   1

Definition at line 73 of file audio.h.

#define WM8350_VMID_50K   2

Definition at line 74 of file audio.h.

#define WM8350_VMID_5K   3

Definition at line 75 of file audio.h.

#define WM8350_VMID_OFF   0

Definition at line 72 of file audio.h.