Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
alc5632.h File Reference

Go to the source code of this file.

Macros

#define ALC5632_RESET   0x00
 
#define ALC5632_SPK_OUT_VOL   0x02 /* spe out vol */
 
#define ALC5632_SPK_OUT_VOL_STEP   1.5
 
#define ALC5632_HP_OUT_VOL   0x04 /* hp out vol */
 
#define ALC5632_AUX_OUT_VOL   0x06 /* aux out vol */
 
#define ALC5632_PHONE_IN_VOL   0x08 /* phone in vol */
 
#define ALC5632_LINE_IN_VOL   0x0A /* line in vol */
 
#define ALC5632_STEREO_DAC_IN_VOL   0x0C /* stereo dac in vol */
 
#define ALC5632_MIC_VOL   0x0E /* mic in vol */
 
#define ALC5632_MIC_ROUTING_CTRL   0x10
 
#define ALC5632_MIC_ROUTE_MONOMIX   (1 << 0)
 
#define ALC5632_MIC_ROUTE_SPK   (1 << 1)
 
#define ALC5632_MIC_ROUTE_HP   (1 << 2)
 
#define ALC5632_ADC_REC_GAIN   0x12 /* rec gain */
 
#define ALC5632_ADC_REC_GAIN_RANGE   0x1F1F
 
#define ALC5632_ADC_REC_GAIN_BASE   (-16.5)
 
#define ALC5632_ADC_REC_GAIN_STEP   1.5
 
#define ALC5632_ADC_REC_MIXER   0x14 /* mixer control */
 
#define ALC5632_ADC_REC_MIC1   (1 << 6)
 
#define ALC5632_ADC_REC_MIC2   (1 << 5)
 
#define ALC5632_ADC_REC_LINE_IN   (1 << 4)
 
#define ALC5632_ADC_REC_AUX   (1 << 3)
 
#define ALC5632_ADC_REC_HP   (1 << 2)
 
#define ALC5632_ADC_REC_SPK   (1 << 1)
 
#define ALC5632_ADC_REC_MONOMIX   (1 << 0)
 
#define ALC5632_VOICE_DAC_VOL   0x18 /* voice dac vol */
 
#define ALC5632_I2S_OUT_CTL   0x1A /* undocumented reg. found in path scheme */
 
#define ALC5632_OUTPUT_MIXER_CTRL   0x1C /* out mix ctrl */
 
#define ALC5632_OUTPUT_MIXER_RP   (1 << 14)
 
#define ALC5632_OUTPUT_MIXER_WEEK   (1 << 12)
 
#define ALC5632_OUTPUT_MIXER_HP   (1 << 10)
 
#define ALC5632_OUTPUT_MIXER_AUX_SPK   (2 << 6)
 
#define ALC5632_OUTPUT_MIXER_AUX_HP_LR   (1 << 6)
 
#define ALC5632_OUTPUT_MIXER_HP_R   (1 << 8)
 
#define ALC5632_OUTPUT_MIXER_HP_L   (1 << 9)
 
#define ALC5632_MIC_CTRL   0x22 /* mic phone ctrl */
 
#define ALC5632_MIC_BOOST_BYPASS   0
 
#define ALC5632_MIC_BOOST_20DB   1
 
#define ALC5632_MIC_BOOST_30DB   2
 
#define ALC5632_MIC_BOOST_40DB   3
 
#define ALC5632_DIGI_BOOST_CTRL   0x24 /* digi mic / bost ctl */
 
#define ALC5632_MIC_BOOST_RANGE   7
 
#define ALC5632_MIC_BOOST_STEP   6
 
#define ALC5632_PWR_DOWN_CTRL_STATUS   0x26
 
#define ALC5632_PWR_DOWN_CTRL_STATUS_MASK   0xEF00
 
#define ALC5632_PWR_VREF_PR3   (1 << 11)
 
#define ALC5632_PWR_VREF_PR2   (1 << 10)
 
#define ALC5632_PWR_VREF_STATUS   (1 << 3)
 
#define ALC5632_PWR_AMIX_STATUS   (1 << 2)
 
#define ALC5632_PWR_DAC_STATUS   (1 << 1)
 
#define ALC5632_PWR_ADC_STATUS   (1 << 0)
 
#define ALC5632_DAC_FUNC_SELECT   0x2E
 
#define ALC5632_DAI_CONTROL   0x34
 
#define ALC5632_DAI_SDP_MASTER_MODE   (0 << 15)
 
#define ALC5632_DAI_SDP_SLAVE_MODE   (1 << 15)
 
#define ALC5632_DAI_SADLRCK_MODE   (1 << 14)
 
#define ALC5632_DAI_MAIN_I2S_SYSCLK_SEL   (1 << 8)
 
#define ALC5632_DAI_MAIN_I2S_BCLK_POL_CTRL   (1 << 7)
 
#define ALC5632_DAI_MAIN_I2S_LRCK_INV   (1 << 6)
 
#define ALC5632_DAI_I2S_DL_MASK   (3 << 2)
 
#define ALC5632_DAI_I2S_DL_8   (3 << 2)
 
#define ALC5632_DAI_I2S_DL_24   (2 << 2)
 
#define ALC5632_DAI_I2S_DL_20   (1 << 2)
 
#define ALC5632_DAI_I2S_DL_16   (0 << 2)
 
#define ALC5632_DAI_I2S_DF_MASK   (3 << 0)
 
#define ALC5632_DAI_I2S_DF_PCM_B   (3 << 0)
 
#define ALC5632_DAI_I2S_DF_PCM_A   (2 << 0)
 
#define ALC5632_DAI_I2S_DF_LEFT   (1 << 0)
 
#define ALC5632_DAI_I2S_DF_I2S   (0 << 0)
 
#define ALC5632_DAI_CONTROL2   0x36
 
#define ALC5632_DAI_VOICE_PCM_ENABLE   (1 << 15)
 
#define ALC5632_DAI_VOICE_MODE_SEL   (1 << 14)
 
#define ALC5632_DAI_HPF_CLK_CTRL   (1 << 13)
 
#define ALC5632_DAI_VOICE_I2S_SYSCLK_SEL   (1 << 8)
 
#define ALC5632_DAI_VOICE_VBCLK_SYSCLK_SEL   (1 << 7)
 
#define ALC5632_DAI_VOICE_I2S_LR_INV   (1 << 6)
 
#define ALC5632_DAI_VOICE_DL_MASK   (3 << 2)
 
#define ALC5632_DAI_VOICE_DL_16   (0 << 2)
 
#define ALC5632_DAI_VOICE_DL_20   (1 << 2)
 
#define ALC5632_DAI_VOICE_DL_24   (2 << 2)
 
#define ALC5632_DAI_VOICE_DL_8   (3 << 2)
 
#define ALC5632_DAI_VOICE_DF_MASK   (3 << 0)
 
#define ALC5632_DAI_VOICE_DF_I2S   (0 << 0)
 
#define ALC5632_DAI_VOICE_DF_LEFT   (1 << 0)
 
#define ALC5632_DAI_VOICE_DF_PCM_A   (2 << 0)
 
#define ALC5632_DAI_VOICE_DF_PCM_B   (3 << 0)
 
#define ALC5632_PWR_MANAG_ADD1   0x3A
 
#define ALC5632_PWR_MANAG_ADD1_MASK   0xEFFF
 
#define ALC5632_PWR_ADD1_DAC_L_EN   (1 << 15)
 
#define ALC5632_PWR_ADD1_DAC_R_EN   (1 << 14)
 
#define ALC5632_PWR_ADD1_ZERO_CROSS   (1 << 13)
 
#define ALC5632_PWR_ADD1_MAIN_I2S_EN   (1 << 11)
 
#define ALC5632_PWR_ADD1_SPK_AMP_EN   (1 << 10)
 
#define ALC5632_PWR_ADD1_HP_OUT_AMP   (1 << 9)
 
#define ALC5632_PWR_ADD1_HP_OUT_ENH_AMP   (1 << 8)
 
#define ALC5632_PWR_ADD1_VOICE_DAC_MIX   (1 << 7)
 
#define ALC5632_PWR_ADD1_SOFTGEN_EN   (1 << 6)
 
#define ALC5632_PWR_ADD1_MIC1_SHORT_CURR   (1 << 5)
 
#define ALC5632_PWR_ADD1_MIC2_SHORT_CURR   (1 << 4)
 
#define ALC5632_PWR_ADD1_MIC1_EN   (1 << 3)
 
#define ALC5632_PWR_ADD1_MIC2_EN   (1 << 2)
 
#define ALC5632_PWR_ADD1_MAIN_BIAS   (1 << 1)
 
#define ALC5632_PWR_ADD1_DAC_REF   (1 << 0)
 
#define ALC5632_PWR_MANAG_ADD2   0x3C
 
#define ALC5632_PWR_MANAG_ADD2_MASK   0x7FFF
 
#define ALC5632_PWR_ADD2_PLL1   (1 << 15)
 
#define ALC5632_PWR_ADD2_PLL2   (1 << 14)
 
#define ALC5632_PWR_ADD2_VREF   (1 << 13)
 
#define ALC5632_PWR_ADD2_OVT_DET   (1 << 12)
 
#define ALC5632_PWR_ADD2_VOICE_DAC   (1 << 10)
 
#define ALC5632_PWR_ADD2_L_DAC_CLK   (1 << 9)
 
#define ALC5632_PWR_ADD2_R_DAC_CLK   (1 << 8)
 
#define ALC5632_PWR_ADD2_L_ADC_CLK_GAIN   (1 << 7)
 
#define ALC5632_PWR_ADD2_R_ADC_CLK_GAIN   (1 << 6)
 
#define ALC5632_PWR_ADD2_L_HP_MIXER   (1 << 5)
 
#define ALC5632_PWR_ADD2_R_HP_MIXER   (1 << 4)
 
#define ALC5632_PWR_ADD2_SPK_MIXER   (1 << 3)
 
#define ALC5632_PWR_ADD2_MONO_MIXER   (1 << 2)
 
#define ALC5632_PWR_ADD2_L_ADC_REC_MIXER   (1 << 1)
 
#define ALC5632_PWR_ADD2_R_ADC_REC_MIXER   (1 << 0)
 
#define ALC5632_PWR_MANAG_ADD3   0x3E
 
#define ALC5632_PWR_MANAG_ADD3_MASK   0x7CFF
 
#define ALC5632_PWR_ADD3_AUXOUT_VOL   (1 << 14)
 
#define ALC5632_PWR_ADD3_SPK_L_OUT   (1 << 13)
 
#define ALC5632_PWR_ADD3_SPK_R_OUT   (1 << 12)
 
#define ALC5632_PWR_ADD3_HP_L_OUT_VOL   (1 << 11)
 
#define ALC5632_PWR_ADD3_HP_R_OUT_VOL   (1 << 10)
 
#define ALC5632_PWR_ADD3_LINEIN_L_VOL   (1 << 7)
 
#define ALC5632_PWR_ADD3_LINEIN_R_VOL   (1 << 6)
 
#define ALC5632_PWR_ADD3_AUXIN_VOL   (1 << 5)
 
#define ALC5632_PWR_ADD3_AUXIN_MIX   (1 << 4)
 
#define ALC5632_PWR_ADD3_MIC1_VOL   (1 << 3)
 
#define ALC5632_PWR_ADD3_MIC2_VOL   (1 << 2)
 
#define ALC5632_PWR_ADD3_MIC1_BOOST_AD   (1 << 1)
 
#define ALC5632_PWR_ADD3_MIC2_BOOST_AD   (1 << 0)
 
#define ALC5632_GPCR1   0x40
 
#define ALC5632_GPCR1_CLK_SYS_SRC_SEL_PLL1   (1 << 15)
 
#define ALC5632_GPCR1_CLK_SYS_SRC_SEL_MCLK   (0 << 15)
 
#define ALC5632_GPCR1_DAC_HI_FLT_EN   (1 << 10)
 
#define ALC5632_GPCR1_SPK_AMP_CTRL   (7 << 1)
 
#define ALC5632_GPCR1_VDD_100   (5 << 1)
 
#define ALC5632_GPCR1_VDD_125   (4 << 1)
 
#define ALC5632_GPCR1_VDD_150   (3 << 1)
 
#define ALC5632_GPCR1_VDD_175   (2 << 1)
 
#define ALC5632_GPCR1_VDD_200   (1 << 1)
 
#define ALC5632_GPCR1_VDD_225   (0 << 1)
 
#define ALC5632_GPCR2   0x42
 
#define ALC5632_GPCR2_PLL1_SOUR_SEL   (3 << 12)
 
#define ALC5632_PLL_FR_MCLK   (0 << 12)
 
#define ALC5632_PLL_FR_BCLK   (2 << 12)
 
#define ALC5632_PLL_FR_VBCLK   (3 << 12)
 
#define ALC5632_GPCR2_CLK_PLL_PRE_DIV1   (0 << 0)
 
#define ALC5632_PLL1_CTRL   0x44
 
#define ALC5632_PLL1_CTRL_N_VAL(n)   (((n) & 0x0f) << 8)
 
#define ALC5632_PLL1_M_BYPASS   (1 << 7)
 
#define ALC5632_PLL1_CTRL_K_VAL(k)   (((k) & 0x07) << 4)
 
#define ALC5632_PLL1_CTRL_M_VAL(m)   (((m) & 0x0f) << 0)
 
#define ALC5632_PLL2_CTRL   0x46
 
#define ALC5632_PLL2_EN   (1 << 15)
 
#define ALC5632_PLL2_RATIO   (0 << 15)
 
#define ALC5632_GPIO_PIN_CONFIG   0x4C
 
#define ALC5632_GPIO_PIN_POLARITY   0x4E
 
#define ALC5632_GPIO_PIN_STICKY   0x50
 
#define ALC5632_GPIO_PIN_WAKEUP   0x52
 
#define ALC5632_GPIO_PIN_STATUS   0x54
 
#define ALC5632_GPIO_PIN_SHARING   0x56
 
#define ALC5632_OVER_CURR_STATUS   0x58
 
#define ALC5632_SOFTVOL_CTRL   0x5A
 
#define ALC5632_GPIO_OUPUT_PIN_CTRL   0x5C
 
#define ALC5632_MISC_CTRL   0x5E
 
#define ALC5632_MISC_DISABLE_FAST_VREG   (1 << 15)
 
#define ALC5632_MISC_AVC_TRGT_SEL   (3 << 12)
 
#define ALC5632_MISC_AVC_TRGT_RIGHT   (1 << 12)
 
#define ALC5632_MISC_AVC_TRGT_LEFT   (2 << 12)
 
#define ALC5632_MISC_AVC_TRGT_BOTH   (3 << 12)
 
#define ALC5632_MISC_HP_DEPOP_MODE1_EN   (1 << 9)
 
#define ALC5632_MISC_HP_DEPOP_MODE2_EN   (1 << 8)
 
#define ALC5632_MISC_HP_DEPOP_MUTE_L   (1 << 7)
 
#define ALC5632_MISC_HP_DEPOP_MUTE_R   (1 << 6)
 
#define ALC5632_MISC_HP_DEPOP_MUTE   (1 << 5)
 
#define ALC5632_MISC_GPIO_WAKEUP_CTRL   (1 << 1)
 
#define ALC5632_MISC_IRQOUT_INV_CTRL   (1 << 0)
 
#define ALC5632_DAC_CLK_CTRL1   0x60
 
#define ALC5632_DAC_CLK_CTRL2   0x62
 
#define ALC5632_DAC_CLK_CTRL2_DIV1_2   (1 << 0)
 
#define ALC5632_VOICE_DAC_PCM_CLK_CTRL1   0x64
 
#define ALC5632_PSEUDO_SPATIAL_CTRL   0x68
 
#define ALC5632_HID_CTRL_INDEX   0x6A
 
#define ALC5632_HID_CTRL_DATA   0x6C
 
#define ALC5632_EQ_CTRL   0x6E
 
#define ALC5632_VENDOR_ID1   0x7C
 
#define ALC5632_VENDOR_ID2   0x7E
 
#define ALC5632_MAX_REGISTER   0x7E
 

Macro Definition Documentation

#define ALC5632_ADC_REC_AUX   (1 << 3)

Definition at line 48 of file alc5632.h.

#define ALC5632_ADC_REC_GAIN   0x12 /* rec gain */

Definition at line 39 of file alc5632.h.

#define ALC5632_ADC_REC_GAIN_BASE   (-16.5)

Definition at line 41 of file alc5632.h.

#define ALC5632_ADC_REC_GAIN_RANGE   0x1F1F

Definition at line 40 of file alc5632.h.

#define ALC5632_ADC_REC_GAIN_STEP   1.5

Definition at line 42 of file alc5632.h.

#define ALC5632_ADC_REC_HP   (1 << 2)

Definition at line 49 of file alc5632.h.

#define ALC5632_ADC_REC_LINE_IN   (1 << 4)

Definition at line 47 of file alc5632.h.

#define ALC5632_ADC_REC_MIC1   (1 << 6)

Definition at line 45 of file alc5632.h.

#define ALC5632_ADC_REC_MIC2   (1 << 5)

Definition at line 46 of file alc5632.h.

#define ALC5632_ADC_REC_MIXER   0x14 /* mixer control */

Definition at line 44 of file alc5632.h.

#define ALC5632_ADC_REC_MONOMIX   (1 << 0)

Definition at line 51 of file alc5632.h.

#define ALC5632_ADC_REC_SPK   (1 << 1)

Definition at line 50 of file alc5632.h.

#define ALC5632_AUX_OUT_VOL   0x06 /* aux out vol */

Definition at line 28 of file alc5632.h.

#define ALC5632_DAC_CLK_CTRL1   0x60

Definition at line 237 of file alc5632.h.

#define ALC5632_DAC_CLK_CTRL2   0x62

Definition at line 238 of file alc5632.h.

#define ALC5632_DAC_CLK_CTRL2_DIV1_2   (1 << 0)

Definition at line 239 of file alc5632.h.

#define ALC5632_DAC_FUNC_SELECT   0x2E

Definition at line 84 of file alc5632.h.

#define ALC5632_DAI_CONTROL   0x34

Definition at line 87 of file alc5632.h.

#define ALC5632_DAI_CONTROL2   0x36

Definition at line 108 of file alc5632.h.

#define ALC5632_DAI_HPF_CLK_CTRL   (1 << 13)

Definition at line 114 of file alc5632.h.

#define ALC5632_DAI_I2S_DF_I2S   (0 << 0)

Definition at line 106 of file alc5632.h.

#define ALC5632_DAI_I2S_DF_LEFT   (1 << 0)

Definition at line 105 of file alc5632.h.

#define ALC5632_DAI_I2S_DF_MASK   (3 << 0)

Definition at line 102 of file alc5632.h.

#define ALC5632_DAI_I2S_DF_PCM_A   (2 << 0)

Definition at line 104 of file alc5632.h.

#define ALC5632_DAI_I2S_DF_PCM_B   (3 << 0)

Definition at line 103 of file alc5632.h.

#define ALC5632_DAI_I2S_DL_16   (0 << 2)

Definition at line 101 of file alc5632.h.

#define ALC5632_DAI_I2S_DL_20   (1 << 2)

Definition at line 100 of file alc5632.h.

#define ALC5632_DAI_I2S_DL_24   (2 << 2)

Definition at line 99 of file alc5632.h.

#define ALC5632_DAI_I2S_DL_8   (3 << 2)

Definition at line 98 of file alc5632.h.

#define ALC5632_DAI_I2S_DL_MASK   (3 << 2)

Definition at line 97 of file alc5632.h.

#define ALC5632_DAI_MAIN_I2S_BCLK_POL_CTRL   (1 << 7)

Definition at line 94 of file alc5632.h.

#define ALC5632_DAI_MAIN_I2S_LRCK_INV   (1 << 6)

Definition at line 96 of file alc5632.h.

#define ALC5632_DAI_MAIN_I2S_SYSCLK_SEL   (1 << 8)

Definition at line 93 of file alc5632.h.

#define ALC5632_DAI_SADLRCK_MODE   (1 << 14)

Definition at line 91 of file alc5632.h.

#define ALC5632_DAI_SDP_MASTER_MODE   (0 << 15)

Definition at line 89 of file alc5632.h.

#define ALC5632_DAI_SDP_SLAVE_MODE   (1 << 15)

Definition at line 90 of file alc5632.h.

#define ALC5632_DAI_VOICE_DF_I2S   (0 << 0)

Definition at line 127 of file alc5632.h.

#define ALC5632_DAI_VOICE_DF_LEFT   (1 << 0)

Definition at line 128 of file alc5632.h.

#define ALC5632_DAI_VOICE_DF_MASK   (3 << 0)

Definition at line 126 of file alc5632.h.

#define ALC5632_DAI_VOICE_DF_PCM_A   (2 << 0)

Definition at line 129 of file alc5632.h.

#define ALC5632_DAI_VOICE_DF_PCM_B   (3 << 0)

Definition at line 130 of file alc5632.h.

#define ALC5632_DAI_VOICE_DL_16   (0 << 2)

Definition at line 122 of file alc5632.h.

#define ALC5632_DAI_VOICE_DL_20   (1 << 2)

Definition at line 123 of file alc5632.h.

#define ALC5632_DAI_VOICE_DL_24   (2 << 2)

Definition at line 124 of file alc5632.h.

#define ALC5632_DAI_VOICE_DL_8   (3 << 2)

Definition at line 125 of file alc5632.h.

#define ALC5632_DAI_VOICE_DL_MASK   (3 << 2)

Definition at line 121 of file alc5632.h.

#define ALC5632_DAI_VOICE_I2S_LR_INV   (1 << 6)

Definition at line 120 of file alc5632.h.

#define ALC5632_DAI_VOICE_I2S_SYSCLK_SEL   (1 << 8)

Definition at line 116 of file alc5632.h.

#define ALC5632_DAI_VOICE_MODE_SEL   (1 << 14)

Definition at line 112 of file alc5632.h.

#define ALC5632_DAI_VOICE_PCM_ENABLE   (1 << 15)

Definition at line 110 of file alc5632.h.

#define ALC5632_DAI_VOICE_VBCLK_SYSCLK_SEL   (1 << 7)

Definition at line 118 of file alc5632.h.

#define ALC5632_DIGI_BOOST_CTRL   0x24 /* digi mic / bost ctl */

Definition at line 72 of file alc5632.h.

#define ALC5632_EQ_CTRL   0x6E

Definition at line 244 of file alc5632.h.

#define ALC5632_GPCR1   0x40

Definition at line 184 of file alc5632.h.

#define ALC5632_GPCR1_CLK_SYS_SRC_SEL_MCLK   (0 << 15)

Definition at line 186 of file alc5632.h.

#define ALC5632_GPCR1_CLK_SYS_SRC_SEL_PLL1   (1 << 15)

Definition at line 185 of file alc5632.h.

#define ALC5632_GPCR1_DAC_HI_FLT_EN   (1 << 10)

Definition at line 187 of file alc5632.h.

#define ALC5632_GPCR1_SPK_AMP_CTRL   (7 << 1)

Definition at line 188 of file alc5632.h.

#define ALC5632_GPCR1_VDD_100   (5 << 1)

Definition at line 189 of file alc5632.h.

#define ALC5632_GPCR1_VDD_125   (4 << 1)

Definition at line 190 of file alc5632.h.

#define ALC5632_GPCR1_VDD_150   (3 << 1)

Definition at line 191 of file alc5632.h.

#define ALC5632_GPCR1_VDD_175   (2 << 1)

Definition at line 192 of file alc5632.h.

#define ALC5632_GPCR1_VDD_200   (1 << 1)

Definition at line 193 of file alc5632.h.

#define ALC5632_GPCR1_VDD_225   (0 << 1)

Definition at line 194 of file alc5632.h.

#define ALC5632_GPCR2   0x42

Definition at line 196 of file alc5632.h.

#define ALC5632_GPCR2_CLK_PLL_PRE_DIV1   (0 << 0)

Definition at line 201 of file alc5632.h.

#define ALC5632_GPCR2_PLL1_SOUR_SEL   (3 << 12)

Definition at line 197 of file alc5632.h.

#define ALC5632_GPIO_OUPUT_PIN_CTRL   0x5C

Definition at line 221 of file alc5632.h.

#define ALC5632_GPIO_PIN_CONFIG   0x4C

Definition at line 213 of file alc5632.h.

#define ALC5632_GPIO_PIN_POLARITY   0x4E

Definition at line 214 of file alc5632.h.

#define ALC5632_GPIO_PIN_SHARING   0x56

Definition at line 218 of file alc5632.h.

#define ALC5632_GPIO_PIN_STATUS   0x54

Definition at line 217 of file alc5632.h.

#define ALC5632_GPIO_PIN_STICKY   0x50

Definition at line 215 of file alc5632.h.

#define ALC5632_GPIO_PIN_WAKEUP   0x52

Definition at line 216 of file alc5632.h.

#define ALC5632_HID_CTRL_DATA   0x6C

Definition at line 243 of file alc5632.h.

#define ALC5632_HID_CTRL_INDEX   0x6A

Definition at line 242 of file alc5632.h.

#define ALC5632_HP_OUT_VOL   0x04 /* hp out vol */

Definition at line 27 of file alc5632.h.

#define ALC5632_I2S_OUT_CTL   0x1A /* undocumented reg. found in path scheme */

Definition at line 54 of file alc5632.h.

#define ALC5632_LINE_IN_VOL   0x0A /* line in vol */

Definition at line 30 of file alc5632.h.

#define ALC5632_MAX_REGISTER   0x7E

Definition at line 250 of file alc5632.h.

#define ALC5632_MIC_BOOST_20DB   1

Definition at line 68 of file alc5632.h.

#define ALC5632_MIC_BOOST_30DB   2

Definition at line 69 of file alc5632.h.

#define ALC5632_MIC_BOOST_40DB   3

Definition at line 70 of file alc5632.h.

#define ALC5632_MIC_BOOST_BYPASS   0

Definition at line 67 of file alc5632.h.

#define ALC5632_MIC_BOOST_RANGE   7

Definition at line 73 of file alc5632.h.

#define ALC5632_MIC_BOOST_STEP   6

Definition at line 74 of file alc5632.h.

#define ALC5632_MIC_CTRL   0x22 /* mic phone ctrl */

Definition at line 66 of file alc5632.h.

#define ALC5632_MIC_ROUTE_HP   (1 << 2)

Definition at line 37 of file alc5632.h.

#define ALC5632_MIC_ROUTE_MONOMIX   (1 << 0)

Definition at line 35 of file alc5632.h.

#define ALC5632_MIC_ROUTE_SPK   (1 << 1)

Definition at line 36 of file alc5632.h.

#define ALC5632_MIC_ROUTING_CTRL   0x10

Definition at line 34 of file alc5632.h.

#define ALC5632_MIC_VOL   0x0E /* mic in vol */

Definition at line 32 of file alc5632.h.

#define ALC5632_MISC_AVC_TRGT_BOTH   (3 << 12)

Definition at line 228 of file alc5632.h.

#define ALC5632_MISC_AVC_TRGT_LEFT   (2 << 12)

Definition at line 227 of file alc5632.h.

#define ALC5632_MISC_AVC_TRGT_RIGHT   (1 << 12)

Definition at line 226 of file alc5632.h.

#define ALC5632_MISC_AVC_TRGT_SEL   (3 << 12)

Definition at line 225 of file alc5632.h.

#define ALC5632_MISC_CTRL   0x5E

Definition at line 223 of file alc5632.h.

#define ALC5632_MISC_DISABLE_FAST_VREG   (1 << 15)

Definition at line 224 of file alc5632.h.

#define ALC5632_MISC_GPIO_WAKEUP_CTRL   (1 << 1)

Definition at line 234 of file alc5632.h.

#define ALC5632_MISC_HP_DEPOP_MODE1_EN   (1 << 9)

Definition at line 229 of file alc5632.h.

#define ALC5632_MISC_HP_DEPOP_MODE2_EN   (1 << 8)

Definition at line 230 of file alc5632.h.

#define ALC5632_MISC_HP_DEPOP_MUTE   (1 << 5)

Definition at line 233 of file alc5632.h.

#define ALC5632_MISC_HP_DEPOP_MUTE_L   (1 << 7)

Definition at line 231 of file alc5632.h.

#define ALC5632_MISC_HP_DEPOP_MUTE_R   (1 << 6)

Definition at line 232 of file alc5632.h.

#define ALC5632_MISC_IRQOUT_INV_CTRL   (1 << 0)

Definition at line 235 of file alc5632.h.

#define ALC5632_OUTPUT_MIXER_AUX_HP_LR   (1 << 6)

Definition at line 62 of file alc5632.h.

#define ALC5632_OUTPUT_MIXER_AUX_SPK   (2 << 6)

Definition at line 61 of file alc5632.h.

#define ALC5632_OUTPUT_MIXER_CTRL   0x1C /* out mix ctrl */

Definition at line 57 of file alc5632.h.

#define ALC5632_OUTPUT_MIXER_HP   (1 << 10)

Definition at line 60 of file alc5632.h.

#define ALC5632_OUTPUT_MIXER_HP_L   (1 << 9)

Definition at line 64 of file alc5632.h.

#define ALC5632_OUTPUT_MIXER_HP_R   (1 << 8)

Definition at line 63 of file alc5632.h.

#define ALC5632_OUTPUT_MIXER_RP   (1 << 14)

Definition at line 58 of file alc5632.h.

#define ALC5632_OUTPUT_MIXER_WEEK   (1 << 12)

Definition at line 59 of file alc5632.h.

#define ALC5632_OVER_CURR_STATUS   0x58

Definition at line 219 of file alc5632.h.

#define ALC5632_PHONE_IN_VOL   0x08 /* phone in vol */

Definition at line 29 of file alc5632.h.

#define ALC5632_PLL1_CTRL   0x44

Definition at line 203 of file alc5632.h.

#define ALC5632_PLL1_CTRL_K_VAL (   k)    (((k) & 0x07) << 4)

Definition at line 206 of file alc5632.h.

#define ALC5632_PLL1_CTRL_M_VAL (   m)    (((m) & 0x0f) << 0)

Definition at line 207 of file alc5632.h.

#define ALC5632_PLL1_CTRL_N_VAL (   n)    (((n) & 0x0f) << 8)

Definition at line 204 of file alc5632.h.

#define ALC5632_PLL1_M_BYPASS   (1 << 7)

Definition at line 205 of file alc5632.h.

#define ALC5632_PLL2_CTRL   0x46

Definition at line 209 of file alc5632.h.

#define ALC5632_PLL2_EN   (1 << 15)

Definition at line 210 of file alc5632.h.

#define ALC5632_PLL2_RATIO   (0 << 15)

Definition at line 211 of file alc5632.h.

#define ALC5632_PLL_FR_BCLK   (2 << 12)

Definition at line 199 of file alc5632.h.

#define ALC5632_PLL_FR_MCLK   (0 << 12)

Definition at line 198 of file alc5632.h.

#define ALC5632_PLL_FR_VBCLK   (3 << 12)

Definition at line 200 of file alc5632.h.

#define ALC5632_PSEUDO_SPATIAL_CTRL   0x68

Definition at line 241 of file alc5632.h.

#define ALC5632_PWR_ADC_STATUS   (1 << 0)

Definition at line 82 of file alc5632.h.

#define ALC5632_PWR_ADD1_DAC_L_EN   (1 << 15)

Definition at line 134 of file alc5632.h.

#define ALC5632_PWR_ADD1_DAC_R_EN   (1 << 14)

Definition at line 135 of file alc5632.h.

#define ALC5632_PWR_ADD1_DAC_REF   (1 << 0)

Definition at line 148 of file alc5632.h.

#define ALC5632_PWR_ADD1_HP_OUT_AMP   (1 << 9)

Definition at line 139 of file alc5632.h.

#define ALC5632_PWR_ADD1_HP_OUT_ENH_AMP   (1 << 8)

Definition at line 140 of file alc5632.h.

#define ALC5632_PWR_ADD1_MAIN_BIAS   (1 << 1)

Definition at line 147 of file alc5632.h.

#define ALC5632_PWR_ADD1_MAIN_I2S_EN   (1 << 11)

Definition at line 137 of file alc5632.h.

#define ALC5632_PWR_ADD1_MIC1_EN   (1 << 3)

Definition at line 145 of file alc5632.h.

#define ALC5632_PWR_ADD1_MIC1_SHORT_CURR   (1 << 5)

Definition at line 143 of file alc5632.h.

#define ALC5632_PWR_ADD1_MIC2_EN   (1 << 2)

Definition at line 146 of file alc5632.h.

#define ALC5632_PWR_ADD1_MIC2_SHORT_CURR   (1 << 4)

Definition at line 144 of file alc5632.h.

#define ALC5632_PWR_ADD1_SOFTGEN_EN   (1 << 6)

Definition at line 142 of file alc5632.h.

#define ALC5632_PWR_ADD1_SPK_AMP_EN   (1 << 10)

Definition at line 138 of file alc5632.h.

#define ALC5632_PWR_ADD1_VOICE_DAC_MIX   (1 << 7)

Definition at line 141 of file alc5632.h.

#define ALC5632_PWR_ADD1_ZERO_CROSS   (1 << 13)

Definition at line 136 of file alc5632.h.

#define ALC5632_PWR_ADD2_L_ADC_CLK_GAIN   (1 << 7)

Definition at line 159 of file alc5632.h.

#define ALC5632_PWR_ADD2_L_ADC_REC_MIXER   (1 << 1)

Definition at line 165 of file alc5632.h.

#define ALC5632_PWR_ADD2_L_DAC_CLK   (1 << 9)

Definition at line 157 of file alc5632.h.

#define ALC5632_PWR_ADD2_L_HP_MIXER   (1 << 5)

Definition at line 161 of file alc5632.h.

#define ALC5632_PWR_ADD2_MONO_MIXER   (1 << 2)

Definition at line 164 of file alc5632.h.

#define ALC5632_PWR_ADD2_OVT_DET   (1 << 12)

Definition at line 155 of file alc5632.h.

#define ALC5632_PWR_ADD2_PLL1   (1 << 15)

Definition at line 152 of file alc5632.h.

#define ALC5632_PWR_ADD2_PLL2   (1 << 14)

Definition at line 153 of file alc5632.h.

#define ALC5632_PWR_ADD2_R_ADC_CLK_GAIN   (1 << 6)

Definition at line 160 of file alc5632.h.

#define ALC5632_PWR_ADD2_R_ADC_REC_MIXER   (1 << 0)

Definition at line 166 of file alc5632.h.

#define ALC5632_PWR_ADD2_R_DAC_CLK   (1 << 8)

Definition at line 158 of file alc5632.h.

#define ALC5632_PWR_ADD2_R_HP_MIXER   (1 << 4)

Definition at line 162 of file alc5632.h.

#define ALC5632_PWR_ADD2_SPK_MIXER   (1 << 3)

Definition at line 163 of file alc5632.h.

#define ALC5632_PWR_ADD2_VOICE_DAC   (1 << 10)

Definition at line 156 of file alc5632.h.

#define ALC5632_PWR_ADD2_VREF   (1 << 13)

Definition at line 154 of file alc5632.h.

#define ALC5632_PWR_ADD3_AUXIN_MIX   (1 << 4)

Definition at line 178 of file alc5632.h.

#define ALC5632_PWR_ADD3_AUXIN_VOL   (1 << 5)

Definition at line 177 of file alc5632.h.

#define ALC5632_PWR_ADD3_AUXOUT_VOL   (1 << 14)

Definition at line 170 of file alc5632.h.

#define ALC5632_PWR_ADD3_HP_L_OUT_VOL   (1 << 11)

Definition at line 173 of file alc5632.h.

#define ALC5632_PWR_ADD3_HP_R_OUT_VOL   (1 << 10)

Definition at line 174 of file alc5632.h.

#define ALC5632_PWR_ADD3_LINEIN_L_VOL   (1 << 7)

Definition at line 175 of file alc5632.h.

#define ALC5632_PWR_ADD3_LINEIN_R_VOL   (1 << 6)

Definition at line 176 of file alc5632.h.

#define ALC5632_PWR_ADD3_MIC1_BOOST_AD   (1 << 1)

Definition at line 181 of file alc5632.h.

#define ALC5632_PWR_ADD3_MIC1_VOL   (1 << 3)

Definition at line 179 of file alc5632.h.

#define ALC5632_PWR_ADD3_MIC2_BOOST_AD   (1 << 0)

Definition at line 182 of file alc5632.h.

#define ALC5632_PWR_ADD3_MIC2_VOL   (1 << 2)

Definition at line 180 of file alc5632.h.

#define ALC5632_PWR_ADD3_SPK_L_OUT   (1 << 13)

Definition at line 171 of file alc5632.h.

#define ALC5632_PWR_ADD3_SPK_R_OUT   (1 << 12)

Definition at line 172 of file alc5632.h.

#define ALC5632_PWR_AMIX_STATUS   (1 << 2)

Definition at line 80 of file alc5632.h.

#define ALC5632_PWR_DAC_STATUS   (1 << 1)

Definition at line 81 of file alc5632.h.

#define ALC5632_PWR_DOWN_CTRL_STATUS   0x26

Definition at line 75 of file alc5632.h.

#define ALC5632_PWR_DOWN_CTRL_STATUS_MASK   0xEF00

Definition at line 76 of file alc5632.h.

#define ALC5632_PWR_MANAG_ADD1   0x3A

Definition at line 132 of file alc5632.h.

#define ALC5632_PWR_MANAG_ADD1_MASK   0xEFFF

Definition at line 133 of file alc5632.h.

#define ALC5632_PWR_MANAG_ADD2   0x3C

Definition at line 150 of file alc5632.h.

#define ALC5632_PWR_MANAG_ADD2_MASK   0x7FFF

Definition at line 151 of file alc5632.h.

#define ALC5632_PWR_MANAG_ADD3   0x3E

Definition at line 168 of file alc5632.h.

#define ALC5632_PWR_MANAG_ADD3_MASK   0x7CFF

Definition at line 169 of file alc5632.h.

#define ALC5632_PWR_VREF_PR2   (1 << 10)

Definition at line 78 of file alc5632.h.

#define ALC5632_PWR_VREF_PR3   (1 << 11)

Definition at line 77 of file alc5632.h.

#define ALC5632_PWR_VREF_STATUS   (1 << 3)

Definition at line 79 of file alc5632.h.

#define ALC5632_RESET   0x00

Definition at line 21 of file alc5632.h.

#define ALC5632_SOFTVOL_CTRL   0x5A

Definition at line 220 of file alc5632.h.

#define ALC5632_SPK_OUT_VOL   0x02 /* spe out vol */

Definition at line 25 of file alc5632.h.

#define ALC5632_SPK_OUT_VOL_STEP   1.5

Definition at line 26 of file alc5632.h.

#define ALC5632_STEREO_DAC_IN_VOL   0x0C /* stereo dac in vol */

Definition at line 31 of file alc5632.h.

#define ALC5632_VENDOR_ID1   0x7C

Definition at line 247 of file alc5632.h.

#define ALC5632_VENDOR_ID2   0x7E

Definition at line 248 of file alc5632.h.

#define ALC5632_VOICE_DAC_PCM_CLK_CTRL1   0x64

Definition at line 240 of file alc5632.h.

#define ALC5632_VOICE_DAC_VOL   0x18 /* voice dac vol */

Definition at line 53 of file alc5632.h.