Lines Matching +full:0 +full:x7000
17 #define RT298_AUDIO_FUNCTION_GROUP 0x01
18 #define RT298_DAC_OUT1 0x02
19 #define RT298_DAC_OUT2 0x03
20 #define RT298_DIG_CVT 0x06
21 #define RT298_ADC_IN1 0x09
22 #define RT298_ADC_IN2 0x08
23 #define RT298_MIXER_IN 0x0b
24 #define RT298_MIXER_OUT1 0x0c
25 #define RT298_MIXER_OUT2 0x0d
26 #define RT298_DMIC1 0x12
27 #define RT298_DMIC2 0x13
28 #define RT298_SPK_OUT 0x14
29 #define RT298_MIC1 0x18
30 #define RT298_LINE1 0x1a
31 #define RT298_BEEP 0x1d
32 #define RT298_SPDIF 0x1e
33 #define RT298_VENDOR_REGISTERS 0x20
34 #define RT298_HP_OUT 0x21
35 #define RT298_MIXER_IN1 0x22
36 #define RT298_MIXER_IN2 0x23
37 #define RT298_INLINE_CMD 0x55
40 #define RT298_SET_PIN_ENABLE 0x40
41 #define RT298_SET_PIN_DISABLE 0
42 #define RT298_SET_EAPD_HIGH 0x2
43 #define RT298_SET_EAPD_LOW 0
49 #define RT298_SET_POWER(NID) VERB_CMD(AC_VERB_SET_POWER_STATE, NID, 0)
55 VERB_CMD(AC_VERB_SET_CONNECT_SEL, RT298_SPK_OUT, 0)
57 VERB_CMD(AC_VERB_SET_CONNECT_SEL, RT298_HP_OUT, 0)
59 VERB_CMD(AC_VERB_SET_CONNECT_SEL, RT298_MIXER_IN1, 0)
61 VERB_CMD(AC_VERB_SET_CONNECT_SEL, RT298_MIXER_IN2, 0)
63 VERB_CMD(AC_VERB_SET_PIN_WIDGET_CONTROL, RT298_MIC1, 0)
65 VERB_CMD(AC_VERB_SET_PIN_WIDGET_CONTROL, RT298_HP_OUT, 0)
67 VERB_CMD(AC_VERB_SET_PIN_WIDGET_CONTROL, RT298_SPK_OUT, 0)
69 VERB_CMD(AC_VERB_SET_PIN_WIDGET_CONTROL, RT298_DMIC1, 0)
71 VERB_CMD(AC_VERB_SET_PIN_WIDGET_CONTROL, RT298_SPDIF, 0)
73 VERB_CMD(AC_VERB_SET_DIGI_CONVERT_1, RT298_DIG_CVT, 0)
75 VERB_CMD(AC_VERB_SET_EAPD_BTLENABLE, RT298_SPK_OUT, 0)
77 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_HP_OUT, 0)
79 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_ADC_IN1, 0)
81 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_ADC_IN2, 0)
83 VERB_CMD(AC_VERB_GET_PIN_SENSE, RT298_HP_OUT, 0)
85 VERB_CMD(AC_VERB_GET_PIN_SENSE, RT298_MIC1, 0)
87 VERB_CMD(AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, RT298_DMIC2, 0)
89 VERB_CMD(AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, RT298_SPDIF, 0)
91 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_DAC_OUT1, 0xa000)
93 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_DAC_OUT1, 0x9000)
95 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_ADC_IN1, 0x6000)
97 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_ADC_IN1, 0x5000)
99 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_MIC1, 0x7000)
101 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_SPK_OUT, 0xa000)
103 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_SPK_OUT, 0x9000)
105 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_HP_OUT, 0xa000)
107 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_HP_OUT, 0x9000)
109 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_MIXER_OUT1, 0x7000)
111 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_MIXER_OUT1, 0x7100)
113 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_MIXER_IN, 0x7000)
115 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_MIXER_IN, 0x7100)
117 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_MIXER_IN, 0x7200)
119 VERB_CMD(AC_VERB_SET_AMP_GAIN_MUTE, RT298_MIXER_IN, 0x7300)
121 VERB_CMD(AC_VERB_SET_STREAM_FORMAT, RT298_DAC_OUT1, 0)
123 VERB_CMD(AC_VERB_SET_STREAM_FORMAT, RT298_ADC_IN1, 0)
125 VERB_CMD(AC_VERB_SET_COEF_INDEX, RT298_VENDOR_REGISTERS, 0)
127 VERB_CMD(AC_VERB_SET_PROC_COEF, RT298_VENDOR_REGISTERS, 0)
129 VERB_CMD(AC_VERB_SET_UNSOLICITED_ENABLE, RT298_INLINE_CMD, 0)
131 VERB_CMD(AC_VERB_SET_UNSOLICITED_ENABLE, RT298_HP_OUT, 0)
133 VERB_CMD(AC_VERB_SET_UNSOLICITED_ENABLE, RT298_MIC1, 0)
136 #define RT298_A_BIAS_CTRL1 0x01
137 #define RT298_A_BIAS_CTRL2 0x02
138 #define RT298_POWER_CTRL1 0x03
139 #define RT298_A_BIAS_CTRL3 0x04
140 #define RT298_D_FILTER_CTRL 0x05
141 #define RT298_POWER_CTRL2 0x08
142 #define RT298_I2S_CTRL1 0x09
143 #define RT298_I2S_CTRL2 0x0a
144 #define RT298_CLK_DIV 0x0b
145 #define RT298_DC_GAIN 0x0d
146 #define RT298_POWER_CTRL3 0x0f
147 #define RT298_MIC1_DET_CTRL 0x19
148 #define RT298_MISC_CTRL1 0x20
149 #define RT298_IRQ_CTRL 0x33
150 #define RT298_WIND_FILTER_CTRL 0x46
151 #define RT298_PLL_CTRL1 0x49
152 #define RT298_VAD_CTRL 0x4e
153 #define RT298_CBJ_CTRL1 0x4f
154 #define RT298_CBJ_CTRL2 0x50
155 #define RT298_PLL_CTRL 0x63
156 #define RT298_DEPOP_CTRL1 0x66
157 #define RT298_DEPOP_CTRL2 0x67
158 #define RT298_DEPOP_CTRL3 0x68
159 #define RT298_DEPOP_CTRL4 0x69
160 #define RT298_IRQ_FLAG_CTRL 0x7c
162 /* SPDIF (0x06) */
163 #define RT298_SPDIF_SEL_SFT 0
164 #define RT298_SPDIF_SEL_PCM0 0
169 /* RECMIX (0x0b) */
170 #define RT298_M_REC_BEEP_SFT 0
175 /* Front (0x0c) */
176 #define RT298_M_FRONT_DAC_SFT 0
179 /* SPK-OUT (0x14) */
181 #define RT298_SPK_SEL_MASK 0x1
182 #define RT298_SPK_SEL_SFT 0
183 #define RT298_SPK_SEL_F 0
186 /* HP-OUT (0x21) */
188 #define RT298_HP_SEL_MASK 0x1
189 #define RT298_HP_SEL_SFT 0
190 #define RT298_HP_SEL_F 0
193 /* ADC (0x22) (0x23) */
194 #define RT298_ADC_SEL_MASK 0x7
195 #define RT298_ADC_SEL_SFT 0
196 #define RT298_ADC_SEL_SURR 0
204 #define RT298_SCLK_S_MCLK 0