#ifndef __RK3308_CODEC_H__
#define __RK3308_CODEC_H__
#define RK3308_GLB_CON …
#define RK3308_ADC_DIG_OFFSET(ch) …
#define RK3308_ADC_DIG_CON01(ch) …
#define RK3308_ADC_DIG_CON02(ch) …
#define RK3308_ADC_DIG_CON03(ch) …
#define RK3308_ADC_DIG_CON04(ch) …
#define RK3308_ADC_DIG_CON05(ch) …
#define RK3308_ADC_DIG_CON06(ch) …
#define RK3308_ADC_DIG_CON07(ch) …
#define RK3308_ALC_L_DIG_CON00(ch) …
#define RK3308_ALC_L_DIG_CON01(ch) …
#define RK3308_ALC_L_DIG_CON02(ch) …
#define RK3308_ALC_L_DIG_CON03(ch) …
#define RK3308_ALC_L_DIG_CON04(ch) …
#define RK3308_ALC_L_DIG_CON05(ch) …
#define RK3308_ALC_L_DIG_CON06(ch) …
#define RK3308_ALC_L_DIG_CON07(ch) …
#define RK3308_ALC_L_DIG_CON08(ch) …
#define RK3308_ALC_L_DIG_CON09(ch) …
#define RK3308_ALC_L_DIG_CON12(ch) …
#define RK3308_ALC_R_DIG_CON00(ch) …
#define RK3308_ALC_R_DIG_CON01(ch) …
#define RK3308_ALC_R_DIG_CON02(ch) …
#define RK3308_ALC_R_DIG_CON03(ch) …
#define RK3308_ALC_R_DIG_CON04(ch) …
#define RK3308_ALC_R_DIG_CON05(ch) …
#define RK3308_ALC_R_DIG_CON06(ch) …
#define RK3308_ALC_R_DIG_CON07(ch) …
#define RK3308_ALC_R_DIG_CON08(ch) …
#define RK3308_ALC_R_DIG_CON09(ch) …
#define RK3308_ALC_R_DIG_CON12(ch) …
#define RK3308_DAC_DIG_OFFSET …
#define RK3308_DAC_DIG_CON01 …
#define RK3308_DAC_DIG_CON02 …
#define RK3308_DAC_DIG_CON03 …
#define RK3308_DAC_DIG_CON04 …
#define RK3308_DAC_DIG_CON05 …
#define RK3308_DAC_DIG_CON10 …
#define RK3308_DAC_DIG_CON11 …
#define RK3308_DAC_DIG_CON13 …
#define RK3308_DAC_DIG_CON14 …
#define RK3308_ADC_ANA_OFFSET(ch) …
#define RK3308_ADC_ANA_CON00(ch) …
#define RK3308_ADC_ANA_CON01(ch) …
#define RK3308_ADC_ANA_CON02(ch) …
#define RK3308_ADC_ANA_CON03(ch) …
#define RK3308_ADC_ANA_CON04(ch) …
#define RK3308_ADC_ANA_CON05(ch) …
#define RK3308_ADC_ANA_CON06(ch) …
#define RK3308_ADC_ANA_CON07(ch) …
#define RK3308_ADC_ANA_CON08(ch) …
#define RK3308_ADC_ANA_CON10(ch) …
#define RK3308_ADC_ANA_CON11(ch) …
#define RK3308_DAC_ANA_OFFSET …
#define RK3308_DAC_ANA_CON00 …
#define RK3308_DAC_ANA_CON01 …
#define RK3308_DAC_ANA_CON02 …
#define RK3308_DAC_ANA_CON03 …
#define RK3308_DAC_ANA_CON04 …
#define RK3308_DAC_ANA_CON05 …
#define RK3308_DAC_ANA_CON06 …
#define RK3308_DAC_ANA_CON07 …
#define RK3308_DAC_ANA_CON08 …
#define RK3308_DAC_ANA_CON12 …
#define RK3308_DAC_ANA_CON13 …
#define RK3308_DAC_ANA_CON14 …
#define RK3308_DAC_ANA_CON15 …
#define RK3308_ADC_BIST_WORK …
#define RK3308_DAC_BIST_WORK …
#define RK3308_ADC_MCLK_GATING …
#define RK3308_DAC_MCLK_GATING …
#define RK3308_ADC_DIG_WORK …
#define RK3308_DAC_DIG_WORK …
#define RK3308_SYS_WORK …
#define RK3308_ADC_I2S_LRC_POL_REVERSAL …
#define RK3308_ADC_I2S_VALID_LEN_SFT …
#define RK3308_ADC_I2S_VALID_LEN_MSK …
#define RK3308_ADC_I2S_VALID_LEN_32BITS …
#define RK3308_ADC_I2S_VALID_LEN_24BITS …
#define RK3308_ADC_I2S_VALID_LEN_20BITS …
#define RK3308_ADC_I2S_VALID_LEN_16BITS …
#define RK3308_ADC_I2S_MODE_SFT …
#define RK3308_ADC_I2S_MODE_MSK …
#define RK3308_ADC_I2S_MODE_PCM …
#define RK3308_ADC_I2S_MODE_I2S …
#define RK3308_ADC_I2S_MODE_LJ …
#define RK3308_ADC_I2S_MODE_RJ …
#define RK3308_ADC_I2S_LR_SWAP …
#define RK3308_ADC_I2S_MONO …
#define RK3308_ADC_IO_MODE_MASTER …
#define RK3308_ADC_MODE_MASTER …
#define RK3308_ADC_I2S_FRAME_LEN_SFT …
#define RK3308_ADC_I2S_FRAME_LEN_MSK …
#define RK3308_ADC_I2S_FRAME_32BITS …
#define RK3308_ADC_I2S_FRAME_24BITS …
#define RK3308_ADC_I2S_FRAME_20BITS …
#define RK3308_ADC_I2S_FRAME_16BITS …
#define RK3308_ADC_I2S_WORK …
#define RK3308_ADC_I2S_BIT_CLK_POL_REVERSAL …
#define RK3308_ADC_L_CH_BIST_SFT …
#define RK3308_ADC_L_CH_BIST_MSK …
#define RK3308_ADC_L_CH_NORMAL_RIGHT …
#define RK3308_ADC_L_CH_BIST_CUBE …
#define RK3308_ADC_L_CH_BIST_SINE …
#define RK3308_ADC_L_CH_NORMAL_LEFT …
#define RK3308_ADC_R_CH_BIST_SFT …
#define RK3308_ADC_R_CH_BIST_MSK …
#define RK3308_ADC_R_CH_NORMAL_LEFT …
#define RK3308_ADC_R_CH_BIST_CUBE …
#define RK3308_ADC_R_CH_BIST_SINE …
#define RK3308_ADC_R_CH_NORMAL_RIGHT …
#define RK3308_ADC_HPF_PATH_DIS …
#define RK3308_ADC_HPF_CUTOFF_SFT …
#define RK3308_ADC_HPF_CUTOFF_MSK …
#define RK3308_ADC_HPF_CUTOFF_612HZ …
#define RK3308_ADC_HPF_CUTOFF_245HZ …
#define RK3308_ADC_HPF_CUTOFF_20HZ …
#define RK3308_ADCL_DATA_SFT …
#define RK3308_ADCR_DATA_SFT …
#define RK3308_ADCL_DATA_SEL_ADCL …
#define RK3308_ADCR_DATA_SEL_ADCR …
#define RK3308_GAIN_ATTACK_JACK …
#define RK3308_CTRL_GEN_SFT …
#define RK3308_CTRL_GEN_MSK …
#define RK3308_CTRL_GEN_JACK3 …
#define RK3308_CTRL_GEN_JACK2 …
#define RK3308_CTRL_GEN_JACK1 …
#define RK3308_CTRL_GEN_NORMAL …
#define RK3308_AGC_HOLD_TIME_SFT …
#define RK3308_AGC_HOLD_TIME_MSK …
#define RK3308_AGC_HOLD_TIME_1S …
#define RK3308_AGC_HOLD_TIME_512MS …
#define RK3308_AGC_HOLD_TIME_256MS …
#define RK3308_AGC_HOLD_TIME_128MS …
#define RK3308_AGC_HOLD_TIME_64MS …
#define RK3308_AGC_HOLD_TIME_32MS …
#define RK3308_AGC_HOLD_TIME_16MS …
#define RK3308_AGC_HOLD_TIME_8MS …
#define RK3308_AGC_HOLD_TIME_4MS …
#define RK3308_AGC_HOLD_TIME_2MS …
#define RK3308_AGC_HOLD_TIME_0MS …
#define RK3308_AGC_DECAY_TIME_SFT …
#define RK3308_AGC_ATTACK_TIME_SFT …
#define RK3308_AGC_MODE_LIMITER …
#define RK3308_AGC_ZERO_CRO_EN …
#define RK3308_AGC_AMP_RECOVER_GAIN …
#define RK3308_AGC_FAST_DEC_EN …
#define RK3308_AGC_NOISE_GATE_EN …
#define RK3308_AGC_NOISE_GATE_THRESH_SFT …
#define RK3308_AGC_NOISE_GATE_THRESH_MSK …
#define RK3308_AGC_PGA_ZERO_CRO_EN …
#define RK3308_AGC_PGA_GAIN_MAX …
#define RK3308_AGC_PGA_GAIN_MIN …
#define RK3308_AGC_PGA_GAIN_SFT …
#define RK3308_AGC_SLOW_CLK_EN …
#define RK3308_AGC_APPROX_RATE_SFT …
#define RK3308_AGC_APPROX_RATE_MSK …
#define RK3308_AGC_LO_8BITS_AGC_MAX_MSK …
#define RK3308_AGC_HI_8BITS_AGC_MAX_MSK …
#define RK3308_AGC_LO_8BITS_AGC_MIN_MSK …
#define RK3308_AGC_HI_8BITS_AGC_MIN_MSK …
#define RK3308_AGC_FUNC_SEL …
#define RK3308_AGC_MAX_GAIN_PGA_MAX …
#define RK3308_AGC_MAX_GAIN_PGA_MIN …
#define RK3308_AGC_MAX_GAIN_PGA_SFT …
#define RK3308_AGC_MAX_GAIN_PGA_MSK …
#define RK3308_AGC_MIN_GAIN_PGA_MAX …
#define RK3308_AGC_MIN_GAIN_PGA_MIN …
#define RK3308_AGC_MIN_GAIN_PGA_SFT …
#define RK3308_AGC_MIN_GAIN_PGA_MSK …
#define RK3308_AGC_GAIN_MSK …
#define RK3308_DAC_I2S_LRC_POL_REVERSAL …
#define RK3308_DAC_I2S_VALID_LEN_SFT …
#define RK3308_DAC_I2S_VALID_LEN_MSK …
#define RK3308_DAC_I2S_VALID_LEN_32BITS …
#define RK3308_DAC_I2S_VALID_LEN_24BITS …
#define RK3308_DAC_I2S_VALID_LEN_20BITS …
#define RK3308_DAC_I2S_VALID_LEN_16BITS …
#define RK3308_DAC_I2S_MODE_SFT …
#define RK3308_DAC_I2S_MODE_MSK …
#define RK3308_DAC_I2S_MODE_PCM …
#define RK3308_DAC_I2S_MODE_I2S …
#define RK3308_DAC_I2S_MODE_LJ …
#define RK3308_DAC_I2S_MODE_RJ …
#define RK3308_DAC_I2S_LR_SWAP …
#define RK3308BS_DAC_IO_MODE_MASTER …
#define RK3308BS_DAC_MODE_MASTER …
#define RK3308_DAC_IO_MODE_MASTER …
#define RK3308_DAC_MODE_MASTER …
#define RK3308_DAC_I2S_FRAME_LEN_SFT …
#define RK3308_DAC_I2S_FRAME_LEN_MSK …
#define RK3308_DAC_I2S_FRAME_32BITS …
#define RK3308_DAC_I2S_FRAME_24BITS …
#define RK3308_DAC_I2S_FRAME_20BITS …
#define RK3308_DAC_I2S_FRAME_16BITS …
#define RK3308_DAC_I2S_WORK …
#define RK3308_DAC_I2S_BIT_CLK_POL_REVERSAL …
#define RK3308_DAC_L_CH_BIST_SFT …
#define RK3308_DAC_L_CH_BIST_MSK …
#define RK3308_DAC_L_CH_BIST_LEFT …
#define RK3308_DAC_L_CH_BIST_CUBE …
#define RK3308_DAC_L_CH_BIST_SINE …
#define RK3308_DAC_L_CH_BIST_RIGHT …
#define RK3308_DAC_R_CH_BIST_SFT …
#define RK3308_DAC_R_CH_BIST_MSK …
#define RK3308_DAC_R_CH_BIST_LEFT …
#define RK3308_DAC_R_CH_BIST_CUBE …
#define RK3308_DAC_R_CH_BIST_SINE …
#define RK3308_DAC_R_CH_BIST_RIGHT …
#define RK3308_DAC_MODULATOR_GAIN_SFT …
#define RK3308_DAC_MODULATOR_GAIN_MSK …
#define RK3308_DAC_CIC_IF_GAIN_SFT …
#define RK3308_DAC_CIC_IF_GAIN_MSK …
#define RK3308BS_DAC_DIG_GAIN_SFT …
#define RK3308BS_DAC_DIG_GAIN_MSK …
#define RK3308BS_DAC_DIG_GAIN_0DB …
#define RK3308_ADC_DIG_VOL_CON_x_SFT …
#define RK3308_ADC_DIG_VOL_CON_x_MSK …
#define RK3308_ADC_DIG_VOL_CON_x_0DB …
#define RK3308_DAC_L_REG_CTL_INDATA …
#define RK3308_DAC_R_REG_CTL_INDATA …
#define RK3308_DAC_DATA_HI4(x) …
#define RK3308_DAC_DATA_LO8(x) …
#define RK3308_ADC_CH1_CH2_MIC_ALL_MSK …
#define RK3308_ADC_CH1_CH2_MIC_ALL …
#define RK3308_ADC_CH2_MIC_UNMUTE …
#define RK3308_ADC_CH2_MIC_WORK …
#define RK3308_ADC_CH2_MIC_EN …
#define RK3308_ADC_CH2_BUF_REF_EN …
#define RK3308_ADC_CH1_MIC_UNMUTE …
#define RK3308_ADC_CH1_MIC_WORK …
#define RK3308_ADC_CH1_MIC_EN …
#define RK3308_ADC_CH1_BUF_REF_EN …
#define RK3308_ADC_CH2_MIC_GAIN_MAX …
#define RK3308_ADC_CH2_MIC_GAIN_MIN …
#define RK3308_ADC_CH2_MIC_GAIN_SFT …
#define RK3308_ADC_CH2_MIC_GAIN_MSK …
#define RK3308_ADC_CH2_MIC_GAIN_20DB …
#define RK3308_ADC_CH2_MIC_GAIN_13DB …
#define RK3308_ADC_CH2_MIC_GAIN_6_6DB …
#define RK3308_ADC_CH2_MIC_GAIN_0DB …
#define RK3308_ADC_CH1_MIC_GAIN_MAX …
#define RK3308_ADC_CH1_MIC_GAIN_MIN …
#define RK3308_ADC_CH1_MIC_GAIN_SFT …
#define RK3308_ADC_CH1_MIC_GAIN_MSK …
#define RK3308_ADC_CH1_MIC_GAIN_20DB …
#define RK3308_ADC_CH1_MIC_GAIN_13DB …
#define RK3308_ADC_CH1_MIC_GAIN_6_6DB …
#define RK3308_ADC_CH1_MIC_GAIN_0DB …
#define RK3308_ADC_CH2_ZEROCROSS_DET_EN …
#define RK3308_ADC_CH2_ALC_WORK …
#define RK3308_ADC_CH2_ALC_EN …
#define RK3308_ADC_CH1_ZEROCROSS_DET_EN …
#define RK3308_ADC_CH1_ALC_WORK …
#define RK3308_ADC_CH1_ALC_EN …
#define RK3308_ADC_CH1_ALC_GAIN_MAX …
#define RK3308_ADC_CH1_ALC_GAIN_MIN …
#define RK3308_ADC_CH1_ALC_GAIN_SFT …
#define RK3308_ADC_CH1_ALC_GAIN_MSK …
#define RK3308_ADC_CH1_ALC_GAIN_0DB …
#define RK3308_ADC_CH2_ALC_GAIN_MAX …
#define RK3308_ADC_CH2_ALC_GAIN_MIN …
#define RK3308_ADC_CH2_ALC_GAIN_SFT …
#define RK3308_ADC_CH2_ALC_GAIN_MSK …
#define RK3308_ADC_CH2_ALC_GAIN_0DB …
#define RK3308_ADC_CH2_ADC_WORK …
#define RK3308_ADC_CH2_ADC_EN …
#define RK3308_ADC_CH2_CLK_EN …
#define RK3308_ADC_CH1_ADC_WORK …
#define RK3308_ADC_CH1_ADC_EN …
#define RK3308_ADC_CH1_CLK_EN …
#define RK3308_ADC_CURRENT_EN …
#define RK3308_ADC_CH2_IN_SEL_SFT …
#define RK3308_ADC_CH2_IN_SEL_MSK …
#define RK3308_ADC_CH2_IN_LINEIN_MIC …
#define RK3308_ADC_CH2_IN_LINEIN …
#define RK3308_ADC_CH2_IN_MIC …
#define RK3308_ADC_CH2_IN_NONE …
#define RK3308_ADC_CH1_IN_SEL_SFT …
#define RK3308_ADC_CH1_IN_SEL_MSK …
#define RK3308_ADC_CH1_IN_LINEIN_MIC …
#define RK3308_ADC_CH1_IN_LINEIN …
#define RK3308_ADC_CH1_IN_MIC …
#define RK3308_ADC_CH1_IN_NONE …
#define RK3308_ADC_MIC_BIAS_BUF_EN …
#define RK3308_ADC_LEVEL_RANGE_MICBIAS_MAX …
#define RK3308_ADC_LEVEL_RANGE_MICBIAS_SFT …
#define RK3308_ADC_LEVEL_RANGE_MICBIAS_MSK …
#define RK3308_ADC_MICBIAS_CURRENT_EN …
#define RK3308_ADC_REF_EN …
#define RK3308_ADC_CURRENT_CHARGE_SFT …
#define RK3308_ADC_CURRENT_CHARGE_MSK …
#define RK3308_ADC_ALCR_CON_GAIN_PGAR_EN …
#define RK3308_ADC_ALCL_CON_GAIN_PGAL_EN …
#define RK3308_DAC_HEADPHONE_DET_EN …
#define RK3308_DAC_CURRENT_EN …
#define RK3308_DAC_BUF_REF_R_EN …
#define RK3308_DAC_BUF_REF_L_EN …
#define RK3308_DAC_HPOUT_POP_SOUND_R_SFT …
#define RK3308_DAC_HPOUT_POP_SOUND_L_SFT …
#define RK3308_DAC_HPOUT_POP_SOUND_x_MSK …
#define RK3308_DAC_HPOUT_POP_SOUND_x_WORK …
#define RK3308_DAC_HPOUT_POP_SOUND_x_INIT …
#define RK3308_DAC_R_DAC_WORK …
#define RK3308_DAC_R_DAC_EN …
#define RK3308_DAC_R_CLK_EN …
#define RK3308_DAC_R_REF_EN …
#define RK3308_DAC_L_DAC_WORK …
#define RK3308_DAC_L_DAC_EN …
#define RK3308_DAC_L_CLK_EN …
#define RK3308_DAC_L_REF_EN …
#define RK3308_DAC_R_HPOUT_WORK …
#define RK3308_DAC_R_HPOUT_EN …
#define RK3308_DAC_R_HPOUT_MUTE_SFT …
#define RK3308_DAC_L_HPOUT_WORK …
#define RK3308_DAC_L_HPOUT_EN …
#define RK3308_DAC_L_HPOUT_MUTE_SFT …
#define RK3308_DAC_x_LINEOUT_GAIN_MAX …
#define RK3308_DAC_R_LINEOUT_GAIN_SFT …
#define RK3308_DAC_R_LINEOUT_GAIN_MSK …
#define RK3308_DAC_R_LINEOUT_GAIN_0DB …
#define RK3308_DAC_R_LINEOUT_GAIN_NDB_1_5 …
#define RK3308_DAC_R_LINEOUT_GAIN_NDB_3 …
#define RK3308_DAC_R_LINEOUT_GAIN_NDB_6 …
#define RK3308_DAC_R_LINEOUT_MUTE_SFT …
#define RK3308_DAC_R_LINEOUT_EN …
#define RK3308_DAC_L_LINEOUT_GAIN_SFT …
#define RK3308_DAC_L_LINEOUT_GAIN_MSK …
#define RK3308_DAC_L_LINEOUT_GAIN_0DB …
#define RK3308_DAC_L_LINEOUT_GAIN_NDB_1_5 …
#define RK3308_DAC_L_LINEOUT_GAIN_NDB_3 …
#define RK3308_DAC_L_LINEOUT_GAIN_NDB_6 …
#define RK3308_DAC_L_LINEOUT_MUTE_SFT …
#define RK3308_DAC_L_LINEOUT_EN …
#define RK3308_DAC_x_HPOUT_GAIN_MAX …
#define RK3308_DAC_x_HPOUT_GAIN_SFT …
#define RK3308_DAC_x_HPOUT_GAIN_MSK …
#define RK3308_DAC_x_HPOUT_GAIN_MIN …
#define RK3308_DAC_R_HPOUT_DRV_SFT …
#define RK3308_DAC_R_HPOUT_DRV_MSK …
#define RK3308_DAC_L_HPOUT_DRV_SFT …
#define RK3308_DAC_L_HPOUT_DRV_MSK …
#define RK3308_DAC_R_LINEOUT_DRV_SFT …
#define RK3308_DAC_R_LINEOUT_DRV_MSK …
#define RK3308_DAC_L_LINEOUT_DRV_SFT …
#define RK3308_DAC_L_LINEOUT_DRV_MSK …
#define RK3308_DAC_R_HPMIX_SEL_SFT …
#define RK3308_DAC_R_HPMIX_SEL_MSK …
#define RK3308_DAC_R_HPMIX_LINEIN_I2S …
#define RK3308_DAC_R_HPMIX_LINEIN …
#define RK3308_DAC_R_HPMIX_I2S …
#define RK3308_DAC_R_HPMIX_NONE …
#define RK3308_DAC_L_HPMIX_SEL_SFT …
#define RK3308_DAC_L_HPMIX_SEL_MSK …
#define RK3308_DAC_L_HPMIX_LINEIN_I2S …
#define RK3308_DAC_L_HPMIX_LINEIN …
#define RK3308_DAC_L_HPMIX_I2S …
#define RK3308_DAC_L_HPMIX_NONE …
#define RK3308_DAC_x_HPMIX_GAIN_MIN …
#define RK3308_DAC_x_HPMIX_GAIN_MAX …
#define RK3308_DAC_R_HPMIX_GAIN_SFT …
#define RK3308_DAC_R_HPMIX_GAIN_MSK …
#define RK3308_DAC_R_HPMIX_GAIN_0DB …
#define RK3308_DAC_R_HPMIX_GAIN_NDB_6 …
#define RK3308_DAC_L_HPMIX_GAIN_SFT …
#define RK3308_DAC_L_HPMIX_GAIN_MSK …
#define RK3308_DAC_L_HPMIX_GAIN_0DB …
#define RK3308_DAC_L_HPMIX_GAIN_NDB_6 …
#define RK3308_DAC_R_HPMIX_UNMUTE …
#define RK3308_DAC_R_HPMIX_WORK …
#define RK3308_DAC_R_HPMIX_EN …
#define RK3308_DAC_L_HPMIX_UNMUTE …
#define RK3308_DAC_L_HPMIX_WORK …
#define RK3308_DAC_L_HPMIX_EN …
#define RK3308_DAC_VCM_LINEOUT_EN …
#define RK3308_DAC_CURRENT_CHARGE_SFT …
#define RK3308_DAC_CURRENT_CHARGE_MSK …
#define RK3308_DAC_LINEOUT_POP_SOUND_R_SFT …
#define RK3308_DAC_LINEOUT_POP_SOUND_R_MSK …
#define RK3308_DAC_R_SEL_DC_FROM_INTERNAL …
#define RK3308_DAC_R_SEL_DC_FROM_VCM …
#define RK3308_DAC_R_SEL_LINEOUT_FROM_INTERNAL …
#define RK3308_DAC_LINEOUT_POP_SOUND_L_SFT …
#define RK3308_DAC_LINEOUT_POP_SOUND_L_MSK …
#define RK3308_DAC_L_SEL_DC_FROM_INTERNAL …
#define RK3308_DAC_L_SEL_DC_FROM_VCM …
#define RK3308_DAC_L_SEL_LINEOUT_FROM_INTERNAL …
#endif