Go to the documentation of this file.
28 #define P17V_PLAYBACK_FIFO_PTR 0x08
32 #define P17V_CAPTURE_FIFO_PTR 0x13
36 #define P17V_PB_CHN_SEL 0x18
37 #define P17V_SE_SLOT_SEL_L 0x19
38 #define P17V_SE_SLOT_SEL_H 0x1a
43 #define P17V_I2C_ADDR 0x3d
44 #define P17V_I2C_0 0x3e
45 #define P17V_I2C_1 0x3f
47 #define I2C_A_ADC_ADD_MASK 0x000000fe
48 #define I2C_A_ADC_RW_MASK 0x00000001
49 #define I2C_A_ADC_TRANS_MASK 0x00000010
50 #define I2C_A_ADC_ABORT_MASK 0x00000020
51 #define I2C_A_ADC_LAST_MASK 0x00000040
52 #define I2C_A_ADC_BYTE_MASK 0x00000080
54 #define I2C_A_ADC_ADD 0x00000034
55 #define I2C_A_ADC_READ 0x00000001
56 #define I2C_A_ADC_START 0x00000100
57 #define I2C_A_ADC_ABORT 0x00000200
58 #define I2C_A_ADC_LAST 0x00000400
59 #define I2C_A_ADC_BYTE 0x00000800
61 #define I2C_D_ADC_REG_MASK 0xfe000000
62 #define I2C_D_ADC_DAT_MASK 0x01ff0000
64 #define ADC_TIMEOUT 0x00000007
65 #define ADC_IFC_CTRL 0x0000000b
66 #define ADC_MASTER 0x0000000c
67 #define ADC_POWER 0x0000000d
68 #define ADC_ATTEN_ADCL 0x0000000e
69 #define ADC_ATTEN_ADCR 0x0000000f
70 #define ADC_ALC_CTRL1 0x00000010
71 #define ADC_ALC_CTRL2 0x00000011
72 #define ADC_ALC_CTRL3 0x00000012
73 #define ADC_NOISE_CTRL 0x00000013
74 #define ADC_LIMIT_CTRL 0x00000014
75 #define ADC_MUX 0x00000015
78 #define ADC_GAIN_MASK 0x000000ff //Mask for ADC Gain
79 #define ADC_ZERODB 0x000000cf //Value to set ADC to 0dB
80 #define ADC_MUTE_MASK 0x000000c0 //Mask for ADC mute
81 #define ADC_MUTE 0x000000c0 //Value to mute ADC
82 #define ADC_OSR 0x00000008 //Mask for ADC oversample rate select
83 #define ADC_TIMEOUT_DISABLE 0x00000008 //Value and mask to disable Timeout clock
84 #define ADC_HPF_DISABLE 0x00000100 //Value and mask to disable High pass filter
85 #define ADC_TRANWIN_MASK 0x00000070 //Mask for Length of Transient Window
88 #define ADC_MUX_MASK 0x0000000f //Mask for ADC Mux
89 #define ADC_MUX_0 0x00000001 //Value to select Unknown at ADC Mux (Not used)
90 #define ADC_MUX_1 0x00000002 //Value to select Unknown at ADC Mux (Not used)
91 #define ADC_MUX_2 0x00000004 //Value to select Mic at ADC Mux
92 #define ADC_MUX_3 0x00000008 //Value to select Line-In at ADC Mux
94 #define P17V_START_AUDIO 0x40
96 #define P17V_START_CAPTURE 0x48
97 #define P17V_CAPTURE_FIFO_BASE 0x49
98 #define P17V_CAPTURE_FIFO_SIZE 0x4a
99 #define P17V_CAPTURE_FIFO_INDEX 0x4b
100 #define P17V_CAPTURE_VOL_H 0x4c
101 #define P17V_CAPTURE_VOL_L 0x4d
104 #define P17V_SRCSel 0x60
107 #define P17V_MIXER_AC97_10K1_VOL_L 0x61
108 #define P17V_MIXER_AC97_10K1_VOL_H 0x62
109 #define P17V_MIXER_AC97_P17V_VOL_L 0x63
110 #define P17V_MIXER_AC97_P17V_VOL_H 0x64
111 #define P17V_MIXER_AC97_SRP_REC_VOL_L 0x65
112 #define P17V_MIXER_AC97_SRP_REC_VOL_H 0x66
114 #define P17V_MIXER_Spdif_10K1_VOL_L 0x69
115 #define P17V_MIXER_Spdif_10K1_VOL_H 0x6A
116 #define P17V_MIXER_Spdif_P17V_VOL_L 0x6B
117 #define P17V_MIXER_Spdif_P17V_VOL_H 0x6C
118 #define P17V_MIXER_Spdif_SRP_REC_VOL_L 0x6D
119 #define P17V_MIXER_Spdif_SRP_REC_VOL_H 0x6E
121 #define P17V_MIXER_I2S_10K1_VOL_L 0x71
122 #define P17V_MIXER_I2S_10K1_VOL_H 0x72
123 #define P17V_MIXER_I2S_P17V_VOL_L 0x73
124 #define P17V_MIXER_I2S_P17V_VOL_H 0x74
125 #define P17V_MIXER_I2S_SRP_REC_VOL_L 0x75
126 #define P17V_MIXER_I2S_SRP_REC_VOL_H 0x76
128 #define P17V_MIXER_AC97_ENABLE 0x79
129 #define P17V_MIXER_SPDIF_ENABLE 0x7A
130 #define P17V_MIXER_I2S_ENABLE 0x7B
131 #define P17V_AUDIO_OUT_ENABLE 0x7C
132 #define P17V_MIXER_ATT 0x7D
133 #define P17V_SRP_RECORD_SRR 0x7E
134 #define P17V_SOFT_RESET_SRP_MIXER 0x7F
136 #define P17V_AC97_OUT_MASTER_VOL_L 0x80
137 #define P17V_AC97_OUT_MASTER_VOL_H 0x81
138 #define P17V_SPDIF_OUT_MASTER_VOL_L 0x82
139 #define P17V_SPDIF_OUT_MASTER_VOL_H 0x83
140 #define P17V_I2S_OUT_MASTER_VOL_L 0x84
141 #define P17V_I2S_OUT_MASTER_VOL_H 0x85
143 #define P17V_I2S_CHANNEL_SWAP_PHASE_INVERSE 0x88
145 #define P17V_SPDIF_CHANNEL_SWAP_PHASE_INVERSE 0x89
148 #define P17V_SRP_P17V_ESR 0x8B
149 #define P17V_SRP_REC_ESR 0x8C
150 #define P17V_SRP_BYPASS 0x8D
152 #define P17V_I2S_SRC_SEL 0x93