Lines Matching +full:0 +full:x1

12 #define AUDIO_TOP_CON0              0x0000
13 #define AUDIO_TOP_CON1 0x0004
14 #define AUDIO_TOP_CON3 0x000c
15 #define AFE_DAC_CON0 0x0010
16 #define AFE_DAC_CON1 0x0014
17 #define AFE_I2S_CON 0x0018
18 #define AFE_DAIBT_CON0 0x001c
19 #define AFE_CONN0 0x0020
20 #define AFE_CONN1 0x0024
21 #define AFE_CONN2 0x0028
22 #define AFE_CONN3 0x002c
23 #define AFE_CONN4 0x0030
24 #define AFE_I2S_CON1 0x0034
25 #define AFE_I2S_CON2 0x0038
26 #define AFE_MRGIF_CON 0x003c
27 #define AFE_DL1_BASE 0x0040
28 #define AFE_DL1_CUR 0x0044
29 #define AFE_DL1_END 0x0048
30 #define AFE_I2S_CON3 0x004c
31 #define AFE_DL2_BASE 0x0050
32 #define AFE_DL2_CUR 0x0054
33 #define AFE_DL2_END 0x0058
34 #define AFE_CONN5 0x005c
35 #define AFE_CONN_24BIT 0x006c
36 #define AFE_AWB_BASE 0x0070
37 #define AFE_AWB_END 0x0078
38 #define AFE_AWB_CUR 0x007c
39 #define AFE_VUL_BASE 0x0080
40 #define AFE_VUL_END 0x0088
41 #define AFE_VUL_CUR 0x008c
42 #define AFE_CONN6 0x00bc
43 #define AFE_MEMIF_MSB 0x00cc
44 #define AFE_MEMIF_MON0 0x00d0
45 #define AFE_MEMIF_MON1 0x00d4
46 #define AFE_MEMIF_MON2 0x00d8
47 #define AFE_MEMIF_MON3 0x00dc
48 #define AFE_MEMIF_MON4 0x00e0
49 #define AFE_MEMIF_MON5 0x00e4
50 #define AFE_MEMIF_MON6 0x00e8
51 #define AFE_MEMIF_MON7 0x00ec
52 #define AFE_MEMIF_MON8 0x00f0
53 #define AFE_MEMIF_MON9 0x00f4
54 #define AFE_ADDA_DL_SRC2_CON0 0x0108
55 #define AFE_ADDA_DL_SRC2_CON1 0x010c
56 #define AFE_ADDA_UL_SRC_CON0 0x0114
57 #define AFE_ADDA_UL_SRC_CON1 0x0118
58 #define AFE_ADDA_TOP_CON0 0x0120
59 #define AFE_ADDA_UL_DL_CON0 0x0124
60 #define AFE_ADDA_SRC_DEBUG 0x012c
61 #define AFE_ADDA_SRC_DEBUG_MON0 0x0130
62 #define AFE_ADDA_SRC_DEBUG_MON1 0x0134
63 #define AFE_ADDA_UL_SRC_MON0 0x0148
64 #define AFE_ADDA_UL_SRC_MON1 0x014c
65 #define AFE_SIDETONE_DEBUG 0x01d0
66 #define AFE_SIDETONE_MON 0x01d4
67 #define AFE_SINEGEN_CON2 0x01dc
68 #define AFE_SIDETONE_CON0 0x01e0
69 #define AFE_SIDETONE_COEFF 0x01e4
70 #define AFE_SIDETONE_CON1 0x01e8
71 #define AFE_SIDETONE_GAIN 0x01ec
72 #define AFE_SINEGEN_CON0 0x01f0
73 #define AFE_TOP_CON0 0x0200
74 #define AFE_BUS_CFG 0x0240
75 #define AFE_BUS_MON0 0x0244
76 #define AFE_ADDA_PREDIS_CON0 0x0260
77 #define AFE_ADDA_PREDIS_CON1 0x0264
78 #define AFE_MRGIF_MON0 0x0270
79 #define AFE_MRGIF_MON1 0x0274
80 #define AFE_MRGIF_MON2 0x0278
81 #define AFE_I2S_MON 0x027c
82 #define AFE_ADDA_IIR_COEF_02_01 0x0290
83 #define AFE_ADDA_IIR_COEF_04_03 0x0294
84 #define AFE_ADDA_IIR_COEF_06_05 0x0298
85 #define AFE_ADDA_IIR_COEF_08_07 0x029c
86 #define AFE_ADDA_IIR_COEF_10_09 0x02a0
87 #define AFE_DAC_CON2 0x02e0
88 #define AFE_IRQ_MCU_CON1 0x02e4
89 #define AFE_IRQ_MCU_CON2 0x02e8
90 #define AFE_DAC_MON 0x02ec
91 #define AFE_VUL2_BASE 0x02f0
92 #define AFE_VUL2_END 0x02f8
93 #define AFE_VUL2_CUR 0x02fc
94 #define AFE_IRQ_MCU_CNT0 0x0300
95 #define AFE_IRQ_MCU_CNT6 0x0304
96 #define AFE_IRQ_MCU_CNT8 0x0308
97 #define AFE_IRQ_MCU_EN1 0x030c
98 #define AFE_IRQ0_MCU_CNT_MON 0x0310
99 #define AFE_IRQ6_MCU_CNT_MON 0x0314
100 #define AFE_MOD_DAI_BASE 0x0330
101 #define AFE_MOD_DAI_END 0x0338
102 #define AFE_MOD_DAI_CUR 0x033c
103 #define AFE_VUL_D2_BASE 0x0350
104 #define AFE_VUL_D2_END 0x0358
105 #define AFE_VUL_D2_CUR 0x035c
106 #define AFE_DL3_BASE 0x0360
107 #define AFE_DL3_CUR 0x0364
108 #define AFE_DL3_END 0x0368
109 #define AFE_HDMI_OUT_CON0 0x0370
110 #define AFE_HDMI_OUT_BASE 0x0374
111 #define AFE_HDMI_OUT_CUR 0x0378
112 #define AFE_HDMI_OUT_END 0x037c
113 #define AFE_HDMI_CONN0 0x0390
114 #define AFE_IRQ3_MCU_CNT_MON 0x0398
115 #define AFE_IRQ4_MCU_CNT_MON 0x039c
116 #define AFE_IRQ_MCU_CON0 0x03a0
117 #define AFE_IRQ_MCU_STATUS 0x03a4
118 #define AFE_IRQ_MCU_CLR 0x03a8
119 #define AFE_IRQ_MCU_CNT1 0x03ac
120 #define AFE_IRQ_MCU_CNT2 0x03b0
121 #define AFE_IRQ_MCU_EN 0x03b4
122 #define AFE_IRQ_MCU_MON2 0x03b8
123 #define AFE_IRQ_MCU_CNT5 0x03bc
124 #define AFE_IRQ1_MCU_CNT_MON 0x03c0
125 #define AFE_IRQ2_MCU_CNT_MON 0x03c4
126 #define AFE_IRQ1_MCU_EN_CNT_MON 0x03c8
127 #define AFE_IRQ5_MCU_CNT_MON 0x03cc
128 #define AFE_MEMIF_MINLEN 0x03d0
129 #define AFE_MEMIF_MAXLEN 0x03d4
130 #define AFE_MEMIF_PBUF_SIZE 0x03d8
131 #define AFE_IRQ_MCU_CNT7 0x03dc
132 #define AFE_IRQ7_MCU_CNT_MON 0x03e0
133 #define AFE_IRQ_MCU_CNT3 0x03e4
134 #define AFE_IRQ_MCU_CNT4 0x03e8
135 #define AFE_IRQ_MCU_CNT11 0x03ec
136 #define AFE_APLL1_TUNER_CFG 0x03f0
137 #define AFE_APLL2_TUNER_CFG 0x03f4
138 #define AFE_MEMIF_HD_MODE 0x03f8
139 #define AFE_MEMIF_HDALIGN 0x03fc
140 #define AFE_CONN33 0x0408
141 #define AFE_IRQ_MCU_CNT12 0x040c
142 #define AFE_GAIN1_CON0 0x0410
143 #define AFE_GAIN1_CON1 0x0414
144 #define AFE_GAIN1_CON2 0x0418
145 #define AFE_GAIN1_CON3 0x041c
146 #define AFE_CONN7 0x0420
147 #define AFE_GAIN1_CUR 0x0424
148 #define AFE_GAIN2_CON0 0x0428
149 #define AFE_GAIN2_CON1 0x042c
150 #define AFE_GAIN2_CON2 0x0430
151 #define AFE_GAIN2_CON3 0x0434
152 #define AFE_CONN8 0x0438
153 #define AFE_GAIN2_CUR 0x043c
154 #define AFE_CONN9 0x0440
155 #define AFE_CONN10 0x0444
156 #define AFE_CONN11 0x0448
157 #define AFE_CONN12 0x044c
158 #define AFE_CONN13 0x0450
159 #define AFE_CONN14 0x0454
160 #define AFE_CONN15 0x0458
161 #define AFE_CONN16 0x045c
162 #define AFE_CONN17 0x0460
163 #define AFE_CONN18 0x0464
164 #define AFE_CONN19 0x0468
165 #define AFE_CONN20 0x046c
166 #define AFE_CONN21 0x0470
167 #define AFE_CONN22 0x0474
168 #define AFE_CONN23 0x0478
169 #define AFE_CONN24 0x047c
170 #define AFE_CONN_RS 0x0494
171 #define AFE_CONN_DI 0x0498
172 #define AFE_CONN25 0x04b0
173 #define AFE_CONN26 0x04b4
174 #define AFE_CONN27 0x04b8
175 #define AFE_CONN28 0x04bc
176 #define AFE_CONN29 0x04c0
177 #define AFE_CONN30 0x04c4
178 #define AFE_CONN31 0x04c8
179 #define AFE_CONN32 0x04cc
180 #define AFE_SRAM_DELSEL_CON0 0x04f0
181 #define AFE_SRAM_DELSEL_CON2 0x04f8
182 #define AFE_SRAM_DELSEL_CON3 0x04fc
183 #define AFE_ASRC_2CH_CON12 0x0528
184 #define AFE_ASRC_2CH_CON13 0x052c
185 #define PCM_INTF_CON1 0x0530
186 #define PCM_INTF_CON2 0x0538
187 #define PCM2_INTF_CON 0x053c
188 #define AFE_TDM_CON1 0x0548
189 #define AFE_TDM_CON2 0x054c
190 #define AFE_CONN34 0x0580
191 #define FPGA_CFG0 0x05b0
192 #define FPGA_CFG1 0x05b4
193 #define FPGA_CFG2 0x05c0
194 #define FPGA_CFG3 0x05c4
195 #define AUDIO_TOP_DBG_CON 0x05c8
196 #define AUDIO_TOP_DBG_MON0 0x05cc
197 #define AUDIO_TOP_DBG_MON1 0x05d0
198 #define AFE_IRQ8_MCU_CNT_MON 0x05e4
199 #define AFE_IRQ11_MCU_CNT_MON 0x05e8
200 #define AFE_IRQ12_MCU_CNT_MON 0x05ec
201 #define AFE_GENERAL_REG0 0x0800
202 #define AFE_GENERAL_REG1 0x0804
203 #define AFE_GENERAL_REG2 0x0808
204 #define AFE_GENERAL_REG3 0x080c
205 #define AFE_GENERAL_REG4 0x0810
206 #define AFE_GENERAL_REG5 0x0814
207 #define AFE_GENERAL_REG6 0x0818
208 #define AFE_GENERAL_REG7 0x081c
209 #define AFE_GENERAL_REG8 0x0820
210 #define AFE_GENERAL_REG9 0x0824
211 #define AFE_GENERAL_REG10 0x0828
212 #define AFE_GENERAL_REG11 0x082c
213 #define AFE_GENERAL_REG12 0x0830
214 #define AFE_GENERAL_REG13 0x0834
215 #define AFE_GENERAL_REG14 0x0838
216 #define AFE_GENERAL_REG15 0x083c
217 #define AFE_CBIP_CFG0 0x0840
218 #define AFE_CBIP_MON0 0x0844
219 #define AFE_CBIP_SLV_MUX_MON0 0x0848
220 #define AFE_CBIP_SLV_DECODER_MON0 0x084c
221 #define AFE_CONN0_1 0x0900
222 #define AFE_CONN1_1 0x0904
223 #define AFE_CONN2_1 0x0908
224 #define AFE_CONN3_1 0x090c
225 #define AFE_CONN4_1 0x0910
226 #define AFE_CONN5_1 0x0914
227 #define AFE_CONN6_1 0x0918
228 #define AFE_CONN7_1 0x091c
229 #define AFE_CONN8_1 0x0920
230 #define AFE_CONN9_1 0x0924
231 #define AFE_CONN10_1 0x0928
232 #define AFE_CONN11_1 0x092c
233 #define AFE_CONN12_1 0x0930
234 #define AFE_CONN13_1 0x0934
235 #define AFE_CONN14_1 0x0938
236 #define AFE_CONN15_1 0x093c
237 #define AFE_CONN16_1 0x0940
238 #define AFE_CONN17_1 0x0944
239 #define AFE_CONN18_1 0x0948
240 #define AFE_CONN19_1 0x094c
241 #define AFE_CONN20_1 0x0950
242 #define AFE_CONN21_1 0x0954
243 #define AFE_CONN22_1 0x0958
244 #define AFE_CONN23_1 0x095c
245 #define AFE_CONN24_1 0x0960
246 #define AFE_CONN25_1 0x0964
247 #define AFE_CONN26_1 0x0968
248 #define AFE_CONN27_1 0x096c
249 #define AFE_CONN28_1 0x0970
250 #define AFE_CONN29_1 0x0974
251 #define AFE_CONN30_1 0x0978
252 #define AFE_CONN31_1 0x097c
253 #define AFE_CONN32_1 0x0980
254 #define AFE_CONN33_1 0x0984
255 #define AFE_CONN34_1 0x0988
256 #define AFE_CONN_RS_1 0x098c
257 #define AFE_CONN_DI_1 0x0990
258 #define AFE_CONN_24BIT_1 0x0994
259 #define AFE_CONN_REG 0x0998
260 #define AFE_CONN35 0x09a0
261 #define AFE_CONN36 0x09a4
262 #define AFE_CONN37 0x09a8
263 #define AFE_CONN38 0x09ac
264 #define AFE_CONN35_1 0x09b0
265 #define AFE_CONN36_1 0x09b4
266 #define AFE_CONN37_1 0x09b8
267 #define AFE_CONN38_1 0x09bc
268 #define AFE_CONN39 0x09c0
269 #define AFE_CONN40 0x09c4
270 #define AFE_CONN41 0x09c8
271 #define AFE_CONN42 0x09cc
272 #define AFE_CONN39_1 0x09e0
273 #define AFE_CONN40_1 0x09e4
274 #define AFE_CONN41_1 0x09e8
275 #define AFE_CONN42_1 0x09ec
276 #define AFE_I2S_CON4 0x09f8
277 #define AFE_ADDA6_TOP_CON0 0x0a80
278 #define AFE_ADDA6_UL_SRC_CON0 0x0a84
279 #define AFE_ADD6_UL_SRC_CON1 0x0a88
280 #define AFE_ADDA6_SRC_DEBUG 0x0a8c
281 #define AFE_ADDA6_SRC_DEBUG_MON0 0x0a90
282 #define AFE_ADDA6_ULCF_CFG_02_01 0x0aa0
283 #define AFE_ADDA6_ULCF_CFG_04_03 0x0aa4
284 #define AFE_ADDA6_ULCF_CFG_06_05 0x0aa8
285 #define AFE_ADDA6_ULCF_CFG_08_07 0x0aac
286 #define AFE_ADDA6_ULCF_CFG_10_09 0x0ab0
287 #define AFE_ADDA6_ULCF_CFG_12_11 0x0ab4
288 #define AFE_ADDA6_ULCF_CFG_14_13 0x0ab8
289 #define AFE_ADDA6_ULCF_CFG_16_15 0x0abc
290 #define AFE_ADDA6_ULCF_CFG_18_17 0x0ac0
291 #define AFE_ADDA6_ULCF_CFG_20_19 0x0ac4
292 #define AFE_ADDA6_ULCF_CFG_22_21 0x0ac8
293 #define AFE_ADDA6_ULCF_CFG_24_23 0x0acc
294 #define AFE_ADDA6_ULCF_CFG_26_25 0x0ad0
295 #define AFE_ADDA6_ULCF_CFG_28_27 0x0ad4
296 #define AFE_ADDA6_ULCF_CFG_30_29 0x0ad8
297 #define AFE_ADD6A_UL_SRC_MON0 0x0ae4
298 #define AFE_ADDA6_UL_SRC_MON1 0x0ae8
299 #define AFE_CONN43 0x0af8
300 #define AFE_CONN43_1 0x0afc
301 #define AFE_DL1_BASE_MSB 0x0b00
302 #define AFE_DL1_CUR_MSB 0x0b04
303 #define AFE_DL1_END_MSB 0x0b08
304 #define AFE_DL2_BASE_MSB 0x0b10
305 #define AFE_DL2_CUR_MSB 0x0b14
306 #define AFE_DL2_END_MSB 0x0b18
307 #define AFE_AWB_BASE_MSB 0x0b20
308 #define AFE_AWB_END_MSB 0x0b28
309 #define AFE_AWB_CUR_MSB 0x0b2c
310 #define AFE_VUL_BASE_MSB 0x0b30
311 #define AFE_VUL_END_MSB 0x0b38
312 #define AFE_VUL_CUR_MSB 0x0b3c
313 #define AFE_VUL2_BASE_MSB 0x0b50
314 #define AFE_VUL2_END_MSB 0x0b58
315 #define AFE_VUL2_CUR_MSB 0x0b5c
316 #define AFE_MOD_DAI_BASE_MSB 0x0b60
317 #define AFE_MOD_DAI_END_MSB 0x0b68
318 #define AFE_MOD_DAI_CUR_MSB 0x0b6c
319 #define AFE_VUL_D2_BASE_MSB 0x0b80
320 #define AFE_VUL_D2_END_MSB 0x0b88
321 #define AFE_VUL_D2_CUR_MSB 0x0b8c
322 #define AFE_DL3_BASE_MSB 0x0b90
323 #define AFE_DL3_CUR_MSB 0x0b94
324 #define AFE_DL3_END_MSB 0x0b98
325 #define AFE_HDMI_OUT_BASE_MSB 0x0ba4
326 #define AFE_HDMI_OUT_CUR_MSB 0x0ba8
327 #define AFE_HDMI_OUT_END_MSB 0x0bac
328 #define AFE_AWB2_BASE 0x0bd0
329 #define AFE_AWB2_END 0x0bd8
330 #define AFE_AWB2_CUR 0x0bdc
331 #define AFE_AWB2_BASE_MSB 0x0be0
332 #define AFE_AWB2_END_MSB 0x0be8
333 #define AFE_AWB2_CUR_MSB 0x0bec
334 #define AFE_ADDA_DL_SDM_DCCOMP_CON 0x0c50
335 #define AFE_ADDA_DL_SDM_TEST 0x0c54
336 #define AFE_ADDA_DL_DC_COMP_CFG0 0x0c58
337 #define AFE_ADDA_DL_DC_COMP_CFG1 0x0c5c
338 #define AFE_ADDA_DL_SDM_FIFO_MON 0x0c60
339 #define AFE_ADDA_DL_SRC_LCH_MON 0x0c64
340 #define AFE_ADDA_DL_SRC_RCH_MON 0x0c68
341 #define AFE_ADDA_DL_SDM_OUT_MON 0x0c6c
342 #define AFE_CONNSYS_I2S_CON 0x0c78
343 #define AFE_CONNSYS_I2S_MON 0x0c7c
344 #define AFE_ASRC_2CH_CON0 0x0c80
345 #define AFE_ASRC_2CH_CON1 0x0c84
346 #define AFE_ASRC_2CH_CON2 0x0c88
347 #define AFE_ASRC_2CH_CON3 0x0c8c
348 #define AFE_ASRC_2CH_CON4 0x0c90
349 #define AFE_ASRC_2CH_CON5 0x0c94
350 #define AFE_ASRC_2CH_CON6 0x0c98
351 #define AFE_ASRC_2CH_CON7 0x0c9c
352 #define AFE_ASRC_2CH_CON8 0x0ca0
353 #define AFE_ASRC_2CH_CON9 0x0ca4
354 #define AFE_ASRC_2CH_CON10 0x0ca8
355 #define AFE_ADDA6_IIR_COEF_02_01 0x0ce0
356 #define AFE_ADDA6_IIR_COEF_04_03 0x0ce4
357 #define AFE_ADDA6_IIR_COEF_06_05 0x0ce8
358 #define AFE_ADDA6_IIR_COEF_08_07 0x0cec
359 #define AFE_ADDA6_IIR_COEF_10_09 0x0cf0
360 #define AFE_ADDA_PREDIS_CON2 0x0d40
361 #define AFE_ADDA_PREDIS_CON3 0x0d44
362 #define AFE_MEMIF_MON12 0x0d70
363 #define AFE_MEMIF_MON13 0x0d74
364 #define AFE_MEMIF_MON14 0x0d78
365 #define AFE_MEMIF_MON15 0x0d7c
366 #define AFE_MEMIF_MON16 0x0d80
367 #define AFE_MEMIF_MON17 0x0d84
368 #define AFE_MEMIF_MON18 0x0d88
369 #define AFE_MEMIF_MON19 0x0d8c
370 #define AFE_MEMIF_MON20 0x0d90
371 #define AFE_MEMIF_MON21 0x0d94
372 #define AFE_MEMIF_MON22 0x0d98
373 #define AFE_MEMIF_MON23 0x0d9c
374 #define AFE_MEMIF_MON24 0x0da0
375 #define AFE_HD_ENGEN_ENABLE 0x0dd0
376 #define AFE_ADDA_MTKAIF_CFG0 0x0e00
377 #define AFE_ADDA_MTKAIF_TX_CFG1 0x0e14
378 #define AFE_ADDA_MTKAIF_RX_CFG0 0x0e20
379 #define AFE_ADDA_MTKAIF_RX_CFG1 0x0e24
380 #define AFE_ADDA_MTKAIF_RX_CFG2 0x0e28
381 #define AFE_ADDA_MTKAIF_MON0 0x0e34
382 #define AFE_ADDA_MTKAIF_MON1 0x0e38
383 #define AFE_AUD_PAD_TOP 0x0e40
384 #define AFE_GENERAL1_ASRC_2CH_CON0 0x0e80
385 #define AFE_GENERAL1_ASRC_2CH_CON1 0x0e84
386 #define AFE_GENERAL1_ASRC_2CH_CON2 0x0e88
387 #define AFE_GENERAL1_ASRC_2CH_CON3 0x0e8c
388 #define AFE_GENERAL1_ASRC_2CH_CON4 0x0e90
389 #define AFE_GENERAL1_ASRC_2CH_CON5 0x0e94
390 #define AFE_GENERAL1_ASRC_2CH_CON6 0x0e98
391 #define AFE_GENERAL1_ASRC_2CH_CON7 0x0e9c
392 #define AFE_GENERAL1_ASRC_2CH_CON8 0x0ea0
393 #define AFE_GENERAL1_ASRC_2CH_CON9 0x0ea4
394 #define AFE_GENERAL1_ASRC_2CH_CON10 0x0ea8
395 #define AFE_GENERAL1_ASRC_2CH_CON12 0x0eb0
396 #define AFE_GENERAL1_ASRC_2CH_CON13 0x0eb4
397 #define GENERAL_ASRC_MODE 0x0eb8
398 #define GENERAL_ASRC_EN_ON 0x0ebc
399 #define AFE_GENERAL2_ASRC_2CH_CON0 0x0f00
400 #define AFE_GENERAL2_ASRC_2CH_CON1 0x0f04
401 #define AFE_GENERAL2_ASRC_2CH_CON2 0x0f08
402 #define AFE_GENERAL2_ASRC_2CH_CON3 0x0f0c
403 #define AFE_GENERAL2_ASRC_2CH_CON4 0x0f10
404 #define AFE_GENERAL2_ASRC_2CH_CON5 0x0f14
405 #define AFE_GENERAL2_ASRC_2CH_CON6 0x0f18
406 #define AFE_GENERAL2_ASRC_2CH_CON7 0x0f1c
407 #define AFE_GENERAL2_ASRC_2CH_CON8 0x0f20
408 #define AFE_GENERAL2_ASRC_2CH_CON9 0x0f24
409 #define AFE_GENERAL2_ASRC_2CH_CON10 0x0f28
410 #define AFE_GENERAL2_ASRC_2CH_CON12 0x0f30
411 #define AFE_GENERAL2_ASRC_2CH_CON13 0x0f34
414 #define AFE_IRQ_STATUS_BITS 0x1fff
418 #define BCK_INVERSE_MASK 0x1
419 #define BCK_INVERSE_MASK_SFT (0x1 << 3)
423 #define AWB2_ON_MASK 0x1
424 #define AWB2_ON_MASK_SFT (0x1 << 29)
426 #define VUL2_ON_MASK 0x1
427 #define VUL2_ON_MASK_SFT (0x1 << 27)
429 #define MOD_DAI_DUP_WR_MASK 0x1
430 #define MOD_DAI_DUP_WR_MASK_SFT (0x1 << 26)
432 #define VUL12_MODE_MASK 0xf
433 #define VUL12_MODE_MASK_SFT (0xf << 20)
435 #define VUL12_R_MONO_MASK 0x1
436 #define VUL12_R_MONO_MASK_SFT (0x1 << 11)
438 #define VUL12_MONO_MASK 0x1
439 #define VUL12_MONO_MASK_SFT (0x1 << 10)
441 #define VUL12_ON_MASK 0x1
442 #define VUL12_ON_MASK_SFT (0x1 << 9)
444 #define MOD_DAI_ON_MASK 0x1
445 #define MOD_DAI_ON_MASK_SFT (0x1 << 7)
447 #define AWB_ON_MASK 0x1
448 #define AWB_ON_MASK_SFT (0x1 << 6)
450 #define DL3_ON_MASK 0x1
451 #define DL3_ON_MASK_SFT (0x1 << 5)
453 #define VUL_ON_MASK 0x1
454 #define VUL_ON_MASK_SFT (0x1 << 3)
456 #define DL2_ON_MASK 0x1
457 #define DL2_ON_MASK_SFT (0x1 << 2)
459 #define DL1_ON_MASK 0x1
460 #define DL1_ON_MASK_SFT (0x1 << 1)
461 #define AFE_ON_SFT 0
462 #define AFE_ON_MASK 0x1
463 #define AFE_ON_MASK_SFT (0x1 << 0)
467 #define MOD_DAI_MODE_MASK 0x3
468 #define MOD_DAI_MODE_MASK_SFT (0x3 << 30)
470 #define VUL_R_MONO_MASK 0x1
471 #define VUL_R_MONO_MASK_SFT (0x1 << 28)
473 #define VUL_DATA_MASK 0x1
474 #define VUL_DATA_MASK_SFT (0x1 << 27)
476 #define AWB_R_MONO_MASK 0x1
477 #define AWB_R_MONO_MASK_SFT (0x1 << 25)
479 #define AWB_DATA_MASK 0x1
480 #define AWB_DATA_MASK_SFT (0x1 << 24)
482 #define DL3_DATA_MASK 0x1
483 #define DL3_DATA_MASK_SFT (0x1 << 23)
485 #define DL2_DATA_MASK 0x1
486 #define DL2_DATA_MASK_SFT (0x1 << 22)
488 #define DL1_DATA_MASK 0x1
489 #define DL1_DATA_MASK_SFT (0x1 << 21)
491 #define VUL_MODE_MASK 0xf
492 #define VUL_MODE_MASK_SFT (0xf << 16)
494 #define AWB_MODE_MASK 0xf
495 #define AWB_MODE_MASK_SFT (0xf << 12)
497 #define I2S_MODE_MASK 0xf
498 #define I2S_MODE_MASK_SFT (0xf << 8)
500 #define DL2_MODE_MASK 0xf
501 #define DL2_MODE_MASK_SFT (0xf << 4)
502 #define DL1_MODE_SFT 0
503 #define DL1_MODE_MASK 0xf
504 #define DL1_MODE_MASK_SFT (0xf << 0)
508 #define AWB2_R_MONO_MASK 0x1
509 #define AWB2_R_MONO_MASK_SFT (0x1 << 21)
511 #define AWB2_DATA_MASK 0x1
512 #define AWB2_DATA_MASK_SFT (0x1 << 20)
514 #define AWB2_MODE_MASK 0xf
515 #define AWB2_MODE_MASK_SFT (0xf << 16)
517 #define DL3_MODE_MASK 0xf
518 #define DL3_MODE_MASK_SFT (0xf << 8)
520 #define VUL2_MODE_MASK 0xf
521 #define VUL2_MODE_MASK_SFT (0xf << 4)
523 #define VUL2_R_MONO_MASK 0x1
524 #define VUL2_R_MONO_MASK_SFT (0x1 << 1)
525 #define VUL2_DATA_SFT 0
526 #define VUL2_DATA_MASK 0x1
527 #define VUL2_DATA_MASK_SFT (0x1 << 0)
530 #define AFE_ON_RETM_SFT 0
531 #define AFE_ON_RETM_MASK 0x1
532 #define AFE_ON_RETM_MASK_SFT (0x1 << 0)
536 #define BCK_NEG_EG_LATCH_MASK 0x1
537 #define BCK_NEG_EG_LATCH_MASK_SFT (0x1 << 30)
539 #define BCK_INV_MASK 0x1
540 #define BCK_INV_MASK_SFT (0x1 << 29)
542 #define I2SIN_PAD_SEL_MASK 0x1
543 #define I2SIN_PAD_SEL_MASK_SFT (0x1 << 28)
545 #define I2S_LOOPBACK_MASK 0x1
546 #define I2S_LOOPBACK_MASK_SFT (0x1 << 20)
548 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK 0x1
549 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK_SFT (0x1 << 17)
551 #define I2S1_HD_EN_MASK 0x1
552 #define I2S1_HD_EN_MASK_SFT (0x1 << 12)
554 #define INV_PAD_CTRL_MASK 0x1
555 #define INV_PAD_CTRL_MASK_SFT (0x1 << 7)
557 #define I2S_BYPSRC_MASK 0x1
558 #define I2S_BYPSRC_MASK_SFT (0x1 << 6)
560 #define INV_LRCK_MASK 0x1
561 #define INV_LRCK_MASK_SFT (0x1 << 5)
563 #define I2S_FMT_MASK 0x1
564 #define I2S_FMT_MASK_SFT (0x1 << 3)
566 #define I2S_SRC_MASK 0x1
567 #define I2S_SRC_MASK_SFT (0x1 << 2)
569 #define I2S_WLEN_MASK 0x1
570 #define I2S_WLEN_MASK_SFT (0x1 << 1)
571 #define I2S_EN_SFT 0
572 #define I2S_EN_MASK 0x1
573 #define I2S_EN_MASK_SFT (0x1 << 0)
577 #define I2S2_LR_SWAP_MASK 0x1
578 #define I2S2_LR_SWAP_MASK_SFT (0x1 << 31)
580 #define I2S2_SEL_O19_O20_MASK 0x1
581 #define I2S2_SEL_O19_O20_MASK_SFT (0x1 << 18)
583 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK 0x1
584 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK_SFT (0x1 << 17)
586 #define I2S2_SEL_O03_O04_MASK 0x1
587 #define I2S2_SEL_O03_O04_MASK_SFT (0x1 << 16)
589 #define I2S2_32BIT_EN_MASK 0x1
590 #define I2S2_32BIT_EN_MASK_SFT (0x1 << 13)
592 #define I2S2_HD_EN_MASK 0x1
593 #define I2S2_HD_EN_MASK_SFT (0x1 << 12)
595 #define I2S2_OUT_MODE_MASK 0xf
596 #define I2S2_OUT_MODE_MASK_SFT (0xf << 8)
598 #define INV_LRCK_MASK 0x1
599 #define INV_LRCK_MASK_SFT (0x1 << 5)
601 #define I2S2_FMT_MASK 0x1
602 #define I2S2_FMT_MASK_SFT (0x1 << 3)
604 #define I2S2_WLEN_MASK 0x1
605 #define I2S2_WLEN_MASK_SFT (0x1 << 1)
606 #define I2S2_EN_SFT 0
607 #define I2S2_EN_MASK 0x1
608 #define I2S2_EN_MASK_SFT (0x1 << 0)
612 #define I2S3_LR_SWAP_MASK 0x1
613 #define I2S3_LR_SWAP_MASK_SFT (0x1 << 31)
615 #define I2S3_UPDATE_WORD_MASK 0x1f
616 #define I2S3_UPDATE_WORD_MASK_SFT (0x1f << 24)
618 #define I2S3_BCK_INV_MASK 0x1
619 #define I2S3_BCK_INV_MASK_SFT (0x1 << 23)
621 #define I2S3_FPGA_BIT_TEST_MASK 0x1
622 #define I2S3_FPGA_BIT_TEST_MASK_SFT (0x1 << 22)
624 #define I2S3_FPGA_BIT_MASK 0x1
625 #define I2S3_FPGA_BIT_MASK_SFT (0x1 << 21)
627 #define I2S3_LOOPBACK_MASK 0x1
628 #define I2S3_LOOPBACK_MASK_SFT (0x1 << 20)
630 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK 0x1
631 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK_SFT (0x1 << 17)
633 #define I2S3_HD_EN_MASK 0x1
634 #define I2S3_HD_EN_MASK_SFT (0x1 << 12)
636 #define I2S3_OUT_MODE_MASK 0xf
637 #define I2S3_OUT_MODE_MASK_SFT (0xf << 8)
639 #define I2S3_FMT_MASK 0x1
640 #define I2S3_FMT_MASK_SFT (0x1 << 3)
642 #define I2S3_WLEN_MASK 0x1
643 #define I2S3_WLEN_MASK_SFT (0x1 << 1)
644 #define I2S3_EN_SFT 0
645 #define I2S3_EN_MASK 0x1
646 #define I2S3_EN_MASK_SFT (0x1 << 0)
650 #define I2S4_LR_SWAP_MASK 0x1
651 #define I2S4_LR_SWAP_MASK_SFT (0x1 << 31)
653 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK 0x1
654 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK_SFT (0x1 << 17)
656 #define I2S4_32BIT_EN_MASK 0x1
657 #define I2S4_32BIT_EN_MASK_SFT (0x1 << 13)
659 #define I2S4_HD_EN_MASK 0x1
660 #define I2S4_HD_EN_MASK_SFT (0x1 << 12)
662 #define I2S4_OUT_MODE_MASK 0xf
663 #define I2S4_OUT_MODE_MASK_SFT (0xf << 8)
665 #define INV_LRCK_MASK 0x1
666 #define INV_LRCK_MASK_SFT (0x1 << 5)
668 #define I2S4_FMT_MASK 0x1
669 #define I2S4_FMT_MASK_SFT (0x1 << 3)
671 #define I2S4_WLEN_MASK 0x1
672 #define I2S4_WLEN_MASK_SFT (0x1 << 1)
673 #define I2S4_EN_SFT 0
674 #define I2S4_EN_MASK 0x1
675 #define I2S4_EN_MASK_SFT (0x1 << 0)
679 #define I2S5_LR_SWAP_MASK 0x1
680 #define I2S5_LR_SWAP_MASK_SFT (0x1 << 31)
682 #define I2S_LOOPBACK_MASK 0x1
683 #define I2S_LOOPBACK_MASK_SFT (0x1 << 20)
685 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK 0x1
686 #define I2S_ONOFF_NOT_RESET_CK_ENABLE_MASK_SFT (0x1 << 17)
688 #define I2S5_32BIT_EN_MASK 0x1
689 #define I2S5_32BIT_EN_MASK_SFT (0x1 << 13)
691 #define I2S5_HD_EN_MASK 0x1
692 #define I2S5_HD_EN_MASK_SFT (0x1 << 12)
694 #define I2S5_OUT_MODE_MASK 0xf
695 #define I2S5_OUT_MODE_MASK_SFT (0xf << 8)
697 #define INV_LRCK_MASK 0x1
698 #define INV_LRCK_MASK_SFT (0x1 << 5)
700 #define I2S5_FMT_MASK 0x1
701 #define I2S5_FMT_MASK_SFT (0x1 << 3)
703 #define I2S5_WLEN_MASK 0x1
704 #define I2S5_WLEN_MASK_SFT (0x1 << 1)
705 #define I2S5_EN_SFT 0
706 #define I2S5_EN_MASK 0x1
707 #define I2S5_EN_MASK_SFT (0x1 << 0)
711 #define GAIN1_SAMPLE_PER_STEP_MASK 0xff
712 #define GAIN1_SAMPLE_PER_STEP_MASK_SFT (0xff << 8)
714 #define GAIN1_MODE_MASK 0xf
715 #define GAIN1_MODE_MASK_SFT (0xf << 4)
716 #define GAIN1_ON_SFT 0
717 #define GAIN1_ON_MASK 0x1
718 #define GAIN1_ON_MASK_SFT (0x1 << 0)
721 #define GAIN1_TARGET_SFT 0
722 #define GAIN1_TARGET_MASK 0xfffff
723 #define GAIN1_TARGET_MASK_SFT (0xfffff << 0)
727 #define GAIN2_SAMPLE_PER_STEP_MASK 0xff
728 #define GAIN2_SAMPLE_PER_STEP_MASK_SFT (0xff << 8)
730 #define GAIN2_MODE_MASK 0xf
731 #define GAIN2_MODE_MASK_SFT (0xf << 4)
732 #define GAIN2_ON_SFT 0
733 #define GAIN2_ON_MASK 0x1
734 #define GAIN2_ON_MASK_SFT (0x1 << 0)
737 #define GAIN2_TARGET_SFT 0
738 #define GAIN2_TARGET_MASK 0xfffff
739 #define GAIN2_TARGET_MASK_SFT (0xfffff << 0)
742 #define AFE_GAIN1_CUR_SFT 0
743 #define AFE_GAIN1_CUR_MASK 0xfffff
744 #define AFE_GAIN1_CUR_MASK_SFT (0xfffff << 0)
747 #define AFE_GAIN2_CUR_SFT 0
748 #define AFE_GAIN2_CUR_MASK 0xfffff
749 #define AFE_GAIN2_CUR_MASK_SFT (0xfffff << 0)
753 #define AWB2_HD_MASK 0x3
754 #define AWB2_HD_MASK_SFT (0x3 << 28)
756 #define HDMI_HD_MASK 0x3
757 #define HDMI_HD_MASK_SFT (0x3 << 20)
759 #define MOD_DAI_HD_MASK 0x3
760 #define MOD_DAI_HD_MASK_SFT (0x3 << 18)
762 #define DAI_HD_MASK 0x3
763 #define DAI_HD_MASK_SFT (0x3 << 16)
765 #define VUL2_HD_MASK 0x3
766 #define VUL2_HD_MASK_SFT (0x3 << 14)
768 #define VUL12_HD_MASK 0x3
769 #define VUL12_HD_MASK_SFT (0x3 << 12)
771 #define VUL_HD_MASK 0x3
772 #define VUL_HD_MASK_SFT (0x3 << 10)
774 #define AWB_HD_MASK 0x3
775 #define AWB_HD_MASK_SFT (0x3 << 8)
777 #define DL3_HD_MASK 0x3
778 #define DL3_HD_MASK_SFT (0x3 << 6)
780 #define DL2_HD_MASK 0x3
781 #define DL2_HD_MASK_SFT (0x3 << 4)
782 #define DL1_HD_SFT 0
783 #define DL1_HD_MASK 0x3
784 #define DL1_HD_MASK_SFT (0x3 << 0)
788 #define AWB2_NORMAL_MODE_MASK 0x1
789 #define AWB2_NORMAL_MODE_MASK_SFT (0x1 << 30)
791 #define HDMI_NORMAL_MODE_MASK 0x1
792 #define HDMI_NORMAL_MODE_MASK_SFT (0x1 << 26)
794 #define MOD_DAI_NORMAL_MODE_MASK 0x1
795 #define MOD_DAI_NORMAL_MODE_MASK_SFT (0x1 << 25)
797 #define DAI_NORMAL_MODE_MASK 0x1
798 #define DAI_NORMAL_MODE_MASK_SFT (0x1 << 24)
800 #define VUL2_NORMAL_MODE_MASK 0x1
801 #define VUL2_NORMAL_MODE_MASK_SFT (0x1 << 23)
803 #define VUL12_NORMAL_MODE_MASK 0x1
804 #define VUL12_NORMAL_MODE_MASK_SFT (0x1 << 22)
806 #define VUL_NORMAL_MODE_MASK 0x1
807 #define VUL_NORMAL_MODE_MASK_SFT (0x1 << 21)
809 #define AWB_NORMAL_MODE_MASK 0x1
810 #define AWB_NORMAL_MODE_MASK_SFT (0x1 << 20)
812 #define DL3_NORMAL_MODE_MASK 0x1
813 #define DL3_NORMAL_MODE_MASK_SFT (0x1 << 19)
815 #define DL2_NORMAL_MODE_MASK 0x1
816 #define DL2_NORMAL_MODE_MASK_SFT (0x1 << 18)
818 #define DL1_NORMAL_MODE_MASK 0x1
819 #define DL1_NORMAL_MODE_MASK_SFT (0x1 << 16)
821 #define RESERVED1_MASK 0x1
822 #define RESERVED1_MASK_SFT (0x1 << 15)
824 #define AWB2_ALIGN_MASK 0x1
825 #define AWB2_ALIGN_MASK_SFT (0x1 << 14)
827 #define HDMI_HD_ALIGN_MASK 0x1
828 #define HDMI_HD_ALIGN_MASK_SFT (0x1 << 10)
830 #define MOD_DAI_HD_ALIGN_MASK 0x1
831 #define MOD_DAI_HD_ALIGN_MASK_SFT (0x1 << 9)
833 #define VUL2_HD_ALIGN_MASK 0x1
834 #define VUL2_HD_ALIGN_MASK_SFT (0x1 << 7)
836 #define VUL12_HD_ALIGN_MASK 0x1
837 #define VUL12_HD_ALIGN_MASK_SFT (0x1 << 6)
839 #define VUL_HD_ALIGN_MASK 0x1
840 #define VUL_HD_ALIGN_MASK_SFT (0x1 << 5)
842 #define AWB_HD_ALIGN_MASK 0x1
843 #define AWB_HD_ALIGN_MASK_SFT (0x1 << 4)
845 #define DL3_HD_ALIGN_MASK 0x1
846 #define DL3_HD_ALIGN_MASK_SFT (0x1 << 3)
848 #define DL2_HD_ALIGN_MASK 0x1
849 #define DL2_HD_ALIGN_MASK_SFT (0x1 << 2)
850 #define DL1_HD_ALIGN_SFT 0
851 #define DL1_HD_ALIGN_MASK 0x1
852 #define DL1_HD_ALIGN_MASK_SFT (0x1 << 0)
856 #define PCM_FIX_VALUE_SEL_MASK 0x1
857 #define PCM_FIX_VALUE_SEL_MASK_SFT (0x1 << 31)
859 #define PCM_BUFFER_LOOPBACK_MASK 0x1
860 #define PCM_BUFFER_LOOPBACK_MASK_SFT (0x1 << 30)
862 #define PCM_PARALLEL_LOOPBACK_MASK 0x1
863 #define PCM_PARALLEL_LOOPBACK_MASK_SFT (0x1 << 29)
865 #define PCM_SERIAL_LOOPBACK_MASK 0x1
866 #define PCM_SERIAL_LOOPBACK_MASK_SFT (0x1 << 28)
868 #define PCM_DAI_PCM_LOOPBACK_MASK 0x1
869 #define PCM_DAI_PCM_LOOPBACK_MASK_SFT (0x1 << 27)
871 #define PCM_I2S_PCM_LOOPBACK_MASK 0x1
872 #define PCM_I2S_PCM_LOOPBACK_MASK_SFT (0x1 << 26)
874 #define PCM_SYNC_DELSEL_MASK 0x1
875 #define PCM_SYNC_DELSEL_MASK_SFT (0x1 << 25)
877 #define PCM_TX_LR_SWAP_MASK 0x1
878 #define PCM_TX_LR_SWAP_MASK_SFT (0x1 << 24)
880 #define PCM_SYNC_OUT_INV_MASK 0x1
881 #define PCM_SYNC_OUT_INV_MASK_SFT (0x1 << 23)
883 #define PCM_BCLK_OUT_INV_MASK 0x1
884 #define PCM_BCLK_OUT_INV_MASK_SFT (0x1 << 22)
886 #define PCM_SYNC_IN_INV_MASK 0x1
887 #define PCM_SYNC_IN_INV_MASK_SFT (0x1 << 21)
889 #define PCM_BCLK_IN_INV_MASK 0x1
890 #define PCM_BCLK_IN_INV_MASK_SFT (0x1 << 20)
892 #define PCM_TX_LCH_RPT_MASK 0x1
893 #define PCM_TX_LCH_RPT_MASK_SFT (0x1 << 19)
895 #define PCM_VBT_16K_MODE_MASK 0x1
896 #define PCM_VBT_16K_MODE_MASK_SFT (0x1 << 18)
898 #define PCM_EXT_MODEM_MASK 0x1
899 #define PCM_EXT_MODEM_MASK_SFT (0x1 << 17)
901 #define PCM_24BIT_MASK 0x1
902 #define PCM_24BIT_MASK_SFT (0x1 << 16)
904 #define PCM_WLEN_MASK 0x3
905 #define PCM_WLEN_MASK_SFT (0x3 << 14)
907 #define PCM_SYNC_LENGTH_MASK 0x1f
908 #define PCM_SYNC_LENGTH_MASK_SFT (0x1f << 9)
910 #define PCM_SYNC_TYPE_MASK 0x1
911 #define PCM_SYNC_TYPE_MASK_SFT (0x1 << 8)
913 #define PCM_BT_MODE_MASK 0x1
914 #define PCM_BT_MODE_MASK_SFT (0x1 << 7)
916 #define PCM_BYP_ASRC_MASK 0x1
917 #define PCM_BYP_ASRC_MASK_SFT (0x1 << 6)
919 #define PCM_SLAVE_MASK 0x1
920 #define PCM_SLAVE_MASK_SFT (0x1 << 5)
922 #define PCM_MODE_MASK 0x3
923 #define PCM_MODE_MASK_SFT (0x3 << 3)
925 #define PCM_FMT_MASK 0x3
926 #define PCM_FMT_MASK_SFT (0x3 << 1)
927 #define PCM_EN_SFT 0
928 #define PCM_EN_MASK 0x1
929 #define PCM_EN_MASK_SFT (0x1 << 0)
933 #define PCM1_TX_FIFO_OV_MASK 0x1
934 #define PCM1_TX_FIFO_OV_MASK_SFT (0x1 << 31)
936 #define PCM1_RX_FIFO_OV_MASK 0x1
937 #define PCM1_RX_FIFO_OV_MASK_SFT (0x1 << 30)
939 #define PCM2_TX_FIFO_OV_MASK 0x1
940 #define PCM2_TX_FIFO_OV_MASK_SFT (0x1 << 29)
942 #define PCM2_RX_FIFO_OV_MASK 0x1
943 #define PCM2_RX_FIFO_OV_MASK_SFT (0x1 << 28)
945 #define PCM1_SYNC_GLITCH_MASK 0x1
946 #define PCM1_SYNC_GLITCH_MASK_SFT (0x1 << 27)
948 #define PCM2_SYNC_GLITCH_MASK 0x1
949 #define PCM2_SYNC_GLITCH_MASK_SFT (0x1 << 26)
951 #define TX3_RCH_DBG_MODE_MASK 0x1
952 #define TX3_RCH_DBG_MODE_MASK_SFT (0x1 << 17)
954 #define PCM1_PCM2_LOOPBACK_MASK 0x1
955 #define PCM1_PCM2_LOOPBACK_MASK_SFT (0x1 << 16)
957 #define DAI_PCM_LOOPBACK_CH_MASK 0x3
958 #define DAI_PCM_LOOPBACK_CH_MASK_SFT (0x3 << 14)
960 #define I2S_PCM_LOOPBACK_CH_MASK 0x3
961 #define I2S_PCM_LOOPBACK_CH_MASK_SFT (0x3 << 12)
962 #define TX_FIX_VALUE_SFT 0
963 #define TX_FIX_VALUE_MASK 0xff
964 #define TX_FIX_VALUE_MASK_SFT (0xff << 0)
968 #define PCM2_TX_FIX_VALUE_MASK 0xff
969 #define PCM2_TX_FIX_VALUE_MASK_SFT (0xff << 24)
971 #define PCM2_FIX_VALUE_SEL_MASK 0x1
972 #define PCM2_FIX_VALUE_SEL_MASK_SFT (0x1 << 23)
974 #define PCM2_BUFFER_LOOPBACK_MASK 0x1
975 #define PCM2_BUFFER_LOOPBACK_MASK_SFT (0x1 << 22)
977 #define PCM2_PARALLEL_LOOPBACK_MASK 0x1
978 #define PCM2_PARALLEL_LOOPBACK_MASK_SFT (0x1 << 21)
980 #define PCM2_SERIAL_LOOPBACK_MASK 0x1
981 #define PCM2_SERIAL_LOOPBACK_MASK_SFT (0x1 << 20)
983 #define PCM2_DAI_PCM_LOOPBACK_MASK 0x1
984 #define PCM2_DAI_PCM_LOOPBACK_MASK_SFT (0x1 << 19)
986 #define PCM2_I2S_PCM_LOOPBACK_MASK 0x1
987 #define PCM2_I2S_PCM_LOOPBACK_MASK_SFT (0x1 << 18)
989 #define PCM2_SYNC_DELSEL_MASK 0x1
990 #define PCM2_SYNC_DELSEL_MASK_SFT (0x1 << 17)
992 #define PCM2_TX_LR_SWAP_MASK 0x1
993 #define PCM2_TX_LR_SWAP_MASK_SFT (0x1 << 16)
995 #define PCM2_SYNC_IN_INV_MASK 0x1
996 #define PCM2_SYNC_IN_INV_MASK_SFT (0x1 << 15)
998 #define PCM2_BCLK_IN_INV_MASK 0x1
999 #define PCM2_BCLK_IN_INV_MASK_SFT (0x1 << 14)
1001 #define PCM2_TX_LCH_RPT_MASK 0x1
1002 #define PCM2_TX_LCH_RPT_MASK_SFT (0x1 << 13)
1004 #define PCM2_VBT_16K_MODE_MASK 0x1
1005 #define PCM2_VBT_16K_MODE_MASK_SFT (0x1 << 12)
1007 #define PCM2_LOOPBACK_CH_SEL_MASK 0x3
1008 #define PCM2_LOOPBACK_CH_SEL_MASK_SFT (0x3 << 10)
1010 #define PCM2_TX2_BT_MODE_MASK 0x1
1011 #define PCM2_TX2_BT_MODE_MASK_SFT (0x1 << 8)
1013 #define PCM2_BT_MODE_MASK 0x1
1014 #define PCM2_BT_MODE_MASK_SFT (0x1 << 7)
1016 #define PCM2_AFIFO_MASK 0x1
1017 #define PCM2_AFIFO_MASK_SFT (0x1 << 6)
1019 #define PCM2_WLEN_MASK 0x1
1020 #define PCM2_WLEN_MASK_SFT (0x1 << 5)
1022 #define PCM2_MODE_MASK 0x3
1023 #define PCM2_MODE_MASK_SFT (0x3 << 3)
1025 #define PCM2_FMT_MASK 0x3
1026 #define PCM2_FMT_MASK_SFT (0x3 << 1)
1027 #define PCM2_EN_SFT 0
1028 #define PCM2_EN_MASK 0x1
1029 #define PCM2_EN_MASK_SFT (0x1 << 0)
1033 #define MTKAIF_RXIF_CLKINV_ADC_MASK 0x1
1034 #define MTKAIF_RXIF_CLKINV_ADC_MASK_SFT (0x1 << 31)
1036 #define MTKAIF_RXIF_BYPASS_SRC_MASK 0x1
1037 #define MTKAIF_RXIF_BYPASS_SRC_MASK_SFT (0x1 << 17)
1039 #define MTKAIF_RXIF_PROTOCOL2_MASK 0x1
1040 #define MTKAIF_RXIF_PROTOCOL2_MASK_SFT (0x1 << 16)
1042 #define MTKAIF_TXIF_BYPASS_SRC_MASK 0x1
1043 #define MTKAIF_TXIF_BYPASS_SRC_MASK_SFT (0x1 << 5)
1045 #define MTKAIF_TXIF_PROTOCOL2_MASK 0x1
1046 #define MTKAIF_TXIF_PROTOCOL2_MASK_SFT (0x1 << 4)
1048 #define MTKAIF_TXIF_8TO5_MASK 0x1
1049 #define MTKAIF_TXIF_8TO5_MASK_SFT (0x1 << 2)
1051 #define MTKAIF_RXIF_8TO5_MASK 0x1
1052 #define MTKAIF_RXIF_8TO5_MASK_SFT (0x1 << 1)
1053 #define MTKAIF_IF_LOOPBACK1_SFT 0
1054 #define MTKAIF_IF_LOOPBACK1_MASK 0x1
1055 #define MTKAIF_IF_LOOPBACK1_MASK_SFT (0x1 << 0)
1059 #define MTKAIF_RXIF_DETECT_ON_PROTOCOL2_MASK 0x1
1060 #define MTKAIF_RXIF_DETECT_ON_PROTOCOL2_MASK_SFT (0x1 << 16)
1062 #define MTKAIF_RXIF_DELAY_CYCLE_MASK 0xf
1063 #define MTKAIF_RXIF_DELAY_CYCLE_MASK_SFT (0xf << 12)
1065 #define MTKAIF_RXIF_DELAY_DATA_MASK 0x1
1066 #define MTKAIF_RXIF_DELAY_DATA_MASK_SFT (0x1 << 8)
1068 #define MTKAIF_RXIF_FIFO_RSP_PROTOCOL2_MASK 0x7
1069 #define MTKAIF_RXIF_FIFO_RSP_PROTOCOL2_MASK_SFT (0x7 << 4)
1073 #define DL_2_INPUT_MODE_CTL_MASK 0xf
1074 #define DL_2_INPUT_MODE_CTL_MASK_SFT (0xf << 28)
1076 #define DL_2_CH1_SATURATION_EN_CTL_MASK 0x1
1077 #define DL_2_CH1_SATURATION_EN_CTL_MASK_SFT (0x1 << 27)
1079 #define DL_2_CH2_SATURATION_EN_CTL_MASK 0x1
1080 #define DL_2_CH2_SATURATION_EN_CTL_MASK_SFT (0x1 << 26)
1082 #define DL_2_OUTPUT_SEL_CTL_MASK 0x3
1083 #define DL_2_OUTPUT_SEL_CTL_MASK_SFT (0x3 << 24)
1085 #define DL_2_FADEIN_0START_EN_MASK 0x3
1086 #define DL_2_FADEIN_0START_EN_MASK_SFT (0x3 << 16)
1088 #define DL_DISABLE_HW_CG_CTL_MASK 0x1
1089 #define DL_DISABLE_HW_CG_CTL_MASK_SFT (0x1 << 15)
1091 #define C_DATA_EN_SEL_CTL_PRE_MASK 0x1
1092 #define C_DATA_EN_SEL_CTL_PRE_MASK_SFT (0x1 << 14)
1094 #define DL_2_SIDE_TONE_ON_CTL_PRE_MASK 0x1
1095 #define DL_2_SIDE_TONE_ON_CTL_PRE_MASK_SFT (0x1 << 13)
1097 #define DL_2_MUTE_CH1_OFF_CTL_PRE_MASK 0x1
1098 #define DL_2_MUTE_CH1_OFF_CTL_PRE_MASK_SFT (0x1 << 12)
1100 #define DL_2_MUTE_CH2_OFF_CTL_PRE_MASK 0x1
1101 #define DL_2_MUTE_CH2_OFF_CTL_PRE_MASK_SFT (0x1 << 11)
1103 #define DL2_ARAMPSP_CTL_PRE_MASK 0x3
1104 #define DL2_ARAMPSP_CTL_PRE_MASK_SFT (0x3 << 9)
1106 #define DL_2_IIRMODE_CTL_PRE_MASK 0x7
1107 #define DL_2_IIRMODE_CTL_PRE_MASK_SFT (0x7 << 6)
1109 #define DL_2_VOICE_MODE_CTL_PRE_MASK 0x1
1110 #define DL_2_VOICE_MODE_CTL_PRE_MASK_SFT (0x1 << 5)
1112 #define D2_2_MUTE_CH1_ON_CTL_PRE_MASK 0x1
1113 #define D2_2_MUTE_CH1_ON_CTL_PRE_MASK_SFT (0x1 << 4)
1115 #define D2_2_MUTE_CH2_ON_CTL_PRE_MASK 0x1
1116 #define D2_2_MUTE_CH2_ON_CTL_PRE_MASK_SFT (0x1 << 3)
1118 #define DL_2_IIR_ON_CTL_PRE_MASK 0x1
1119 #define DL_2_IIR_ON_CTL_PRE_MASK_SFT (0x1 << 2)
1121 #define DL_2_GAIN_ON_CTL_PRE_MASK 0x1
1122 #define DL_2_GAIN_ON_CTL_PRE_MASK_SFT (0x1 << 1)
1123 #define DL_2_SRC_ON_TMP_CTL_PRE_SFT 0
1124 #define DL_2_SRC_ON_TMP_CTL_PRE_MASK 0x1
1125 #define DL_2_SRC_ON_TMP_CTL_PRE_MASK_SFT (0x1 << 0)
1129 #define DL_2_GAIN_CTL_PRE_MASK 0xffff
1130 #define DL_2_GAIN_CTL_PRE_MASK_SFT (0xffff << 16)
1131 #define DL_2_GAIN_MODE_CTL_SFT 0
1132 #define DL_2_GAIN_MODE_CTL_MASK 0x1
1133 #define DL_2_GAIN_MODE_CTL_MASK_SFT (0x1 << 0)
1137 #define ULCF_CFG_EN_CTL_MASK 0x1
1138 #define ULCF_CFG_EN_CTL_MASK_SFT (0x1 << 31)
1140 #define UL_MODE_3P25M_CH2_CTL_MASK 0x1
1141 #define UL_MODE_3P25M_CH2_CTL_MASK_SFT (0x1 << 22)
1143 #define UL_MODE_3P25M_CH1_CTL_MASK 0x1
1144 #define UL_MODE_3P25M_CH1_CTL_MASK_SFT (0x1 << 21)
1146 #define UL_VOICE_MODE_CH1_CH2_CTL_MASK 0x7
1147 #define UL_VOICE_MODE_CH1_CH2_CTL_MASK_SFT (0x7 << 17)
1149 #define DMIC_LOW_POWER_MODE_CTL_MASK 0x3
1150 #define DMIC_LOW_POWER_MODE_CTL_MASK_SFT (0x3 << 14)
1152 #define UL_DISABLE_HW_CG_CTL_MASK 0x1
1153 #define UL_DISABLE_HW_CG_CTL_MASK_SFT (0x1 << 12)
1155 #define UL_IIR_ON_TMP_CTL_MASK 0x1
1156 #define UL_IIR_ON_TMP_CTL_MASK_SFT (0x1 << 10)
1158 #define UL_IIRMODE_CTL_MASK 0x7
1159 #define UL_IIRMODE_CTL_MASK_SFT (0x7 << 7)
1161 #define DIGMIC_3P25M_1P625M_SEL_CTL_MASK 0x1
1162 #define DIGMIC_3P25M_1P625M_SEL_CTL_MASK_SFT (0x1 << 5)
1164 #define UL_LOOP_BACK_MODE_CTL_MASK 0x1
1165 #define UL_LOOP_BACK_MODE_CTL_MASK_SFT (0x1 << 2)
1167 #define UL_SDM_3_LEVEL_CTL_MASK 0x1
1168 #define UL_SDM_3_LEVEL_CTL_MASK_SFT (0x1 << 1)
1169 #define UL_SRC_ON_TMP_CTL_SFT 0
1170 #define UL_SRC_ON_TMP_CTL_MASK 0x1
1171 #define UL_SRC_ON_TMP_CTL_MASK_SFT (0x1 << 0)
1175 #define C_DAC_EN_CTL_MASK 0x1
1176 #define C_DAC_EN_CTL_MASK_SFT (0x1 << 27)
1178 #define C_MUTE_SW_CTL_MASK 0x1
1179 #define C_MUTE_SW_CTL_MASK_SFT (0x1 << 26)
1181 #define ASDM_SRC_SEL_CTL_MASK 0x1
1182 #define ASDM_SRC_SEL_CTL_MASK_SFT (0x1 << 25)
1184 #define C_AMP_DIV_CH2_CTL_MASK 0x7
1185 #define C_AMP_DIV_CH2_CTL_MASK_SFT (0x7 << 21)
1187 #define C_FREQ_DIV_CH2_CTL_MASK 0x1f
1188 #define C_FREQ_DIV_CH2_CTL_MASK_SFT (0x1f << 16)
1190 #define C_SINE_MODE_CH2_CTL_MASK 0xf
1191 #define C_SINE_MODE_CH2_CTL_MASK_SFT (0xf << 12)
1193 #define C_AMP_DIV_CH1_CTL_MASK 0x7
1194 #define C_AMP_DIV_CH1_CTL_MASK_SFT (0x7 << 9)
1196 #define C_FREQ_DIV_CH1_CTL_MASK 0x1f
1197 #define C_FREQ_DIV_CH1_CTL_MASK_SFT (0x1f << 4)
1198 #define C_SINE_MODE_CH1_CTL_SFT 0
1199 #define C_SINE_MODE_CH1_CTL_MASK 0xf
1200 #define C_SINE_MODE_CH1_CTL_MASK_SFT (0xf << 0)
1204 #define C_LOOP_BACK_MODE_CTL_MASK 0xf
1205 #define C_LOOP_BACK_MODE_CTL_MASK_SFT (0xf << 12)
1206 #define C_EXT_ADC_CTL_SFT 0
1207 #define C_EXT_ADC_CTL_MASK 0x1
1208 #define C_EXT_ADC_CTL_MASK_SFT (0x1 << 0)
1212 #define AFE_ADDA6_UL_LR_SWAP_MASK 0x1
1213 #define AFE_ADDA6_UL_LR_SWAP_MASK_SFT (0x1 << 15)
1215 #define AFE_ADDA6_CKDIV_RST_MASK 0x1
1216 #define AFE_ADDA6_CKDIV_RST_MASK_SFT (0x1 << 14)
1218 #define AFE_ADDA6_FIFO_AUTO_RST_MASK 0x1
1219 #define AFE_ADDA6_FIFO_AUTO_RST_MASK_SFT (0x1 << 13)
1221 #define UL_FIFO_DIGMIC_TESTIN_MASK 0x3
1222 #define UL_FIFO_DIGMIC_TESTIN_MASK_SFT (0x3 << 5)
1224 #define UL_FIFO_DIGMIC_WDATA_TESTEN_MASK 0x1
1225 #define UL_FIFO_DIGMIC_WDATA_TESTEN_MASK_SFT (0x1 << 4)
1226 #define ADDA_AFE_ON_SFT 0
1227 #define ADDA_AFE_ON_MASK 0x1
1228 #define ADDA_AFE_ON_MASK_SFT (0x1 << 0)
1232 #define R_RDY_MASK 0x1
1233 #define R_RDY_MASK_SFT (0x1 << 30)
1235 #define W_RDY_MASK 0x1
1236 #define W_RDY_MASK_SFT (0x1 << 29)
1238 #define R_W_EN_MASK 0x1
1239 #define R_W_EN_MASK_SFT (0x1 << 25)
1241 #define R_W_SEL_MASK 0x1
1242 #define R_W_SEL_MASK_SFT (0x1 << 24)
1244 #define SEL_CH2_MASK 0x1
1245 #define SEL_CH2_MASK_SFT (0x1 << 23)
1247 #define SIDE_TONE_COEFFICIENT_ADDR_MASK 0x1f
1248 #define SIDE_TONE_COEFFICIENT_ADDR_MASK_SFT (0x1f << 16)
1249 #define SIDE_TONE_COEFFICIENT_SFT 0
1250 #define SIDE_TONE_COEFFICIENT_MASK 0xffff
1251 #define SIDE_TONE_COEFFICIENT_MASK_SFT (0xffff << 0)
1254 #define SIDE_TONE_COEFF_SFT 0
1255 #define SIDE_TONE_COEFF_MASK 0xffff
1256 #define SIDE_TONE_COEFF_MASK_SFT (0xffff << 0)
1260 #define STF_BYPASS_MODE_MASK 0x1
1261 #define STF_BYPASS_MODE_MASK_SFT (0x1 << 31)
1263 #define STF_BYPASS_MODE_O28_O29_MASK 0x1
1264 #define STF_BYPASS_MODE_O28_O29_MASK_SFT (0x1 << 30)
1266 #define STF_BYPASS_MODE_I2S4_MASK 0x1
1267 #define STF_BYPASS_MODE_I2S4_MASK_SFT (0x1 << 29)
1269 #define STF_BYPASS_MODE_I2S5_MASK 0x1
1270 #define STF_BYPASS_MODE_I2S5_MASK_SFT (0x1 << 28)
1272 #define STF_INPUT_EN_SEL_MASK 0x1
1273 #define STF_INPUT_EN_SEL_MASK_SFT (0x1 << 13)
1275 #define STF_SOURCE_FROM_O19O20_MASK 0x1
1276 #define STF_SOURCE_FROM_O19O20_MASK_SFT (0x1 << 12)
1278 #define SIDE_TONE_ON_MASK 0x1
1279 #define SIDE_TONE_ON_MASK_SFT (0x1 << 8)
1280 #define SIDE_TONE_HALF_TAP_NUM_SFT 0
1281 #define SIDE_TONE_HALF_TAP_NUM_MASK 0x3f
1282 #define SIDE_TONE_HALF_TAP_NUM_MASK_SFT (0x3f << 0)
1286 #define POSITIVE_GAIN_MASK 0x7
1287 #define POSITIVE_GAIN_MASK_SFT (0x7 << 16)
1288 #define SIDE_TONE_GAIN_SFT 0
1289 #define SIDE_TONE_GAIN_MASK 0xffff
1290 #define SIDE_TONE_GAIN_MASK_SFT (0xffff << 0)
1294 #define AUD_DC_COMP_EN_MASK 0x1
1295 #define AUD_DC_COMP_EN_MASK_SFT (0x1 << 8)
1296 #define ATTGAIN_CTL_SFT 0
1297 #define ATTGAIN_CTL_MASK 0x3f
1298 #define ATTGAIN_CTL_MASK_SFT (0x3f << 0)
1302 #define DAC_EN_MASK 0x1
1303 #define DAC_EN_MASK_SFT (0x1 << 26)
1305 #define MUTE_SW_CH2_MASK 0x1
1306 #define MUTE_SW_CH2_MASK_SFT (0x1 << 25)
1308 #define MUTE_SW_CH1_MASK 0x1
1309 #define MUTE_SW_CH1_MASK_SFT (0x1 << 24)
1311 #define SINE_MODE_CH2_MASK 0xf
1312 #define SINE_MODE_CH2_MASK_SFT (0xf << 20)
1314 #define AMP_DIV_CH2_MASK 0x7
1315 #define AMP_DIV_CH2_MASK_SFT (0x7 << 17)
1317 #define FREQ_DIV_CH2_MASK 0x1f
1318 #define FREQ_DIV_CH2_MASK_SFT (0x1f << 12)
1320 #define SINE_MODE_CH1_MASK 0xf
1321 #define SINE_MODE_CH1_MASK_SFT (0xf << 8)
1323 #define AMP_DIV_CH1_MASK 0x7
1324 #define AMP_DIV_CH1_MASK_SFT (0x7 << 5)
1325 #define FREQ_DIV_CH1_SFT 0
1326 #define FREQ_DIV_CH1_MASK 0x1f
1327 #define FREQ_DIV_CH1_MASK_SFT (0x1f << 0)
1330 #define INNER_LOOP_BACK_MODE_SFT 0
1331 #define INNER_LOOP_BACK_MODE_MASK 0x3f
1332 #define INNER_LOOP_BACK_MODE_MASK_SFT (0x3f << 0)
1336 #define HDMI_MINLEN_MASK 0xf
1337 #define HDMI_MINLEN_MASK_SFT (0xf << 24)
1339 #define DL3_MINLEN_MASK 0xf
1340 #define DL3_MINLEN_MASK_SFT (0xf << 12)
1342 #define DL2_MINLEN_MASK 0xf
1343 #define DL2_MINLEN_MASK_SFT (0xf << 8)
1345 #define DL1_DATA2_MINLEN_MASK 0xf
1346 #define DL1_DATA2_MINLEN_MASK_SFT (0xf << 4)
1347 #define DL1_MINLEN_SFT 0
1348 #define DL1_MINLEN_MASK 0xf
1349 #define DL1_MINLEN_MASK_SFT (0xf << 0)
1353 #define HDMI_MAXLEN_MASK 0xf
1354 #define HDMI_MAXLEN_MASK_SFT (0xf << 24)
1356 #define DL3_MAXLEN_MASK 0xf
1357 #define DL3_MAXLEN_MASK_SFT (0xf << 8)
1359 #define DL2_MAXLEN_MASK 0xf
1360 #define DL2_MAXLEN_MASK_SFT (0xf << 4)
1361 #define DL1_MAXLEN_SFT 0
1362 #define DL1_MAXLEN_MASK 0x3
1363 #define DL1_MAXLEN_MASK_SFT (0x3 << 0)
1367 #define VUL12_4CH_MASK 0x1
1368 #define VUL12_4CH_MASK_SFT (0x1 << 17)
1370 #define DL3_PBUF_SIZE_MASK 0x3
1371 #define DL3_PBUF_SIZE_MASK_SFT (0x3 << 10)
1373 #define HDMI_PBUF_SIZE_MASK 0x3
1374 #define HDMI_PBUF_SIZE_MASK_SFT (0x3 << 4)
1376 #define DL2_PBUF_SIZE_MASK 0x3
1377 #define DL2_PBUF_SIZE_MASK_SFT (0x3 << 2)
1378 #define DL1_PBUF_SIZE_SFT 0
1379 #define DL1_PBUF_SIZE_MASK 0x3
1380 #define DL1_PBUF_SIZE_MASK_SFT (0x3 << 0)
1384 #define AFE_24M_ON_MASK 0x1
1385 #define AFE_24M_ON_MASK_SFT (0x1 << 1)
1386 #define AFE_22M_ON_SFT 0
1387 #define AFE_22M_ON_MASK 0x1
1388 #define AFE_22M_ON_MASK_SFT (0x1 << 0)
1392 #define IRQ12_MCU_ON_MASK 0x1
1393 #define IRQ12_MCU_ON_MASK_SFT (0x1 << 12)
1395 #define IRQ11_MCU_ON_MASK 0x1
1396 #define IRQ11_MCU_ON_MASK_SFT (0x1 << 11)
1398 #define IRQ10_MCU_ON_MASK 0x1
1399 #define IRQ10_MCU_ON_MASK_SFT (0x1 << 10)
1401 #define IRQ9_MCU_ON_MASK 0x1
1402 #define IRQ9_MCU_ON_MASK_SFT (0x1 << 9)
1404 #define IRQ8_MCU_ON_MASK 0x1
1405 #define IRQ8_MCU_ON_MASK_SFT (0x1 << 8)
1407 #define IRQ7_MCU_ON_MASK 0x1
1408 #define IRQ7_MCU_ON_MASK_SFT (0x1 << 7)
1410 #define IRQ6_MCU_ON_MASK 0x1
1411 #define IRQ6_MCU_ON_MASK_SFT (0x1 << 6)
1413 #define IRQ5_MCU_ON_MASK 0x1
1414 #define IRQ5_MCU_ON_MASK_SFT (0x1 << 5)
1416 #define IRQ4_MCU_ON_MASK 0x1
1417 #define IRQ4_MCU_ON_MASK_SFT (0x1 << 4)
1419 #define IRQ3_MCU_ON_MASK 0x1
1420 #define IRQ3_MCU_ON_MASK_SFT (0x1 << 3)
1422 #define IRQ2_MCU_ON_MASK 0x1
1423 #define IRQ2_MCU_ON_MASK_SFT (0x1 << 2)
1425 #define IRQ1_MCU_ON_MASK 0x1
1426 #define IRQ1_MCU_ON_MASK_SFT (0x1 << 1)
1427 #define IRQ0_MCU_ON_SFT 0
1428 #define IRQ0_MCU_ON_MASK 0x1
1429 #define IRQ0_MCU_ON_MASK_SFT (0x1 << 0)
1433 #define IRQ7_MCU_MODE_MASK 0xf
1434 #define IRQ7_MCU_MODE_MASK_SFT (0xf << 28)
1436 #define IRQ6_MCU_MODE_MASK 0xf
1437 #define IRQ6_MCU_MODE_MASK_SFT (0xf << 24)
1439 #define IRQ5_MCU_MODE_MASK 0xf
1440 #define IRQ5_MCU_MODE_MASK_SFT (0xf << 20)
1442 #define IRQ4_MCU_MODE_MASK 0xf
1443 #define IRQ4_MCU_MODE_MASK_SFT (0xf << 16)
1445 #define IRQ3_MCU_MODE_MASK 0xf
1446 #define IRQ3_MCU_MODE_MASK_SFT (0xf << 12)
1448 #define IRQ2_MCU_MODE_MASK 0xf
1449 #define IRQ2_MCU_MODE_MASK_SFT (0xf << 8)
1451 #define IRQ1_MCU_MODE_MASK 0xf
1452 #define IRQ1_MCU_MODE_MASK_SFT (0xf << 4)
1453 #define IRQ0_MCU_MODE_SFT 0
1454 #define IRQ0_MCU_MODE_MASK 0xf
1455 #define IRQ0_MCU_MODE_MASK_SFT (0xf << 0)
1459 #define IRQ12_MCU_MODE_MASK 0xf
1460 #define IRQ12_MCU_MODE_MASK_SFT (0xf << 4)
1461 #define IRQ11_MCU_MODE_SFT 0
1462 #define IRQ11_MCU_MODE_MASK 0xf
1463 #define IRQ11_MCU_MODE_MASK_SFT (0xf << 0)
1467 #define IRQ12_MCU_MISS_CNT_CLR_MASK 0x1
1468 #define IRQ12_MCU_MISS_CNT_CLR_MASK_SFT (0x1 << 28)
1470 #define IRQ11_MCU_MISS_CNT_CLR_MASK 0x1
1471 #define IRQ11_MCU_MISS_CNT_CLR_MASK_SFT (0x1 << 27)
1473 #define IRQ10_MCU_MISS_CLR_MASK 0x1
1474 #define IRQ10_MCU_MISS_CLR_MASK_SFT (0x1 << 26)
1476 #define IRQ9_MCU_MISS_CLR_MASK 0x1
1477 #define IRQ9_MCU_MISS_CLR_MASK_SFT (0x1 << 25)
1479 #define IRQ8_MCU_MISS_CLR_MASK 0x1
1480 #define IRQ8_MCU_MISS_CLR_MASK_SFT (0x1 << 24)
1482 #define IRQ7_MCU_MISS_CLR_MASK 0x1
1483 #define IRQ7_MCU_MISS_CLR_MASK_SFT (0x1 << 23)
1485 #define IRQ6_MCU_MISS_CLR_MASK 0x1
1486 #define IRQ6_MCU_MISS_CLR_MASK_SFT (0x1 << 22)
1488 #define IRQ5_MCU_MISS_CLR_MASK 0x1
1489 #define IRQ5_MCU_MISS_CLR_MASK_SFT (0x1 << 21)
1491 #define IRQ4_MCU_MISS_CLR_MASK 0x1
1492 #define IRQ4_MCU_MISS_CLR_MASK_SFT (0x1 << 20)
1494 #define IRQ3_MCU_MISS_CLR_MASK 0x1
1495 #define IRQ3_MCU_MISS_CLR_MASK_SFT (0x1 << 19)
1497 #define IRQ2_MCU_MISS_CLR_MASK 0x1
1498 #define IRQ2_MCU_MISS_CLR_MASK_SFT (0x1 << 18)
1500 #define IRQ1_MCU_MISS_CLR_MASK 0x1
1501 #define IRQ1_MCU_MISS_CLR_MASK_SFT (0x1 << 17)
1503 #define IRQ0_MCU_MISS_CLR_MASK 0x1
1504 #define IRQ0_MCU_MISS_CLR_MASK_SFT (0x1 << 16)
1506 #define IRQ12_MCU_CLR_MASK 0x1
1507 #define IRQ12_MCU_CLR_MASK_SFT (0x1 << 12)
1509 #define IRQ11_MCU_CLR_MASK 0x1
1510 #define IRQ11_MCU_CLR_MASK_SFT (0x1 << 11)
1512 #define IRQ10_MCU_CLR_MASK 0x1
1513 #define IRQ10_MCU_CLR_MASK_SFT (0x1 << 10)
1515 #define IRQ9_MCU_CLR_MASK 0x1
1516 #define IRQ9_MCU_CLR_MASK_SFT (0x1 << 9)
1518 #define IRQ8_MCU_CLR_MASK 0x1
1519 #define IRQ8_MCU_CLR_MASK_SFT (0x1 << 8)
1521 #define IRQ7_MCU_CLR_MASK 0x1
1522 #define IRQ7_MCU_CLR_MASK_SFT (0x1 << 7)
1524 #define IRQ6_MCU_CLR_MASK 0x1
1525 #define IRQ6_MCU_CLR_MASK_SFT (0x1 << 6)
1527 #define IRQ5_MCU_CLR_MASK 0x1
1528 #define IRQ5_MCU_CLR_MASK_SFT (0x1 << 5)
1530 #define IRQ4_MCU_CLR_MASK 0x1
1531 #define IRQ4_MCU_CLR_MASK_SFT (0x1 << 4)
1533 #define IRQ3_MCU_CLR_MASK 0x1
1534 #define IRQ3_MCU_CLR_MASK_SFT (0x1 << 3)
1536 #define IRQ2_MCU_CLR_MASK 0x1
1537 #define IRQ2_MCU_CLR_MASK_SFT (0x1 << 2)
1539 #define IRQ1_MCU_CLR_MASK 0x1
1540 #define IRQ1_MCU_CLR_MASK_SFT (0x1 << 1)
1541 #define IRQ0_MCU_CLR_SFT 0
1542 #define IRQ0_MCU_CLR_MASK 0x1
1543 #define IRQ0_MCU_CLR_MASK_SFT (0x1 << 0)
1547 #define CPU_COMPACT_MODE_MASK 0x1
1548 #define CPU_COMPACT_MODE_MASK_SFT (0x1 << 29)
1550 #define CPU_HD_ALIGN_MASK 0x1
1551 #define CPU_HD_ALIGN_MASK_SFT (0x1 << 28)
1553 #define AWB2_AXI_WR_SIGN_MASK 0x1
1554 #define AWB2_AXI_WR_SIGN_MASK_SFT (0x1 << 24)
1556 #define VUL2_AXI_WR_SIGN_MASK 0x1
1557 #define VUL2_AXI_WR_SIGN_MASK_SFT (0x1 << 22)
1559 #define VUL12_AXI_WR_SIGN_MASK 0x1
1560 #define VUL12_AXI_WR_SIGN_MASK_SFT (0x1 << 21)
1562 #define VUL_AXI_WR_SIGN_MASK 0x1
1563 #define VUL_AXI_WR_SIGN_MASK_SFT (0x1 << 20)
1565 #define MOD_DAI_AXI_WR_SIGN_MASK 0x1
1566 #define MOD_DAI_AXI_WR_SIGN_MASK_SFT (0x1 << 18)
1568 #define AWB_MSTR_SIGN_MASK 0x1
1569 #define AWB_MSTR_SIGN_MASK_SFT (0x1 << 17)
1571 #define SYSRAM_SIGN_MASK 0x1
1572 #define SYSRAM_SIGN_MASK_SFT (0x1 << 16)
1576 #define HDMI_O_7_MASK 0x7
1577 #define HDMI_O_7_MASK_SFT (0x7 << 21)
1579 #define HDMI_O_6_MASK 0x7
1580 #define HDMI_O_6_MASK_SFT (0x7 << 18)
1582 #define HDMI_O_5_MASK 0x7
1583 #define HDMI_O_5_MASK_SFT (0x7 << 15)
1585 #define HDMI_O_4_MASK 0x7
1586 #define HDMI_O_4_MASK_SFT (0x7 << 12)
1588 #define HDMI_O_3_MASK 0x7
1589 #define HDMI_O_3_MASK_SFT (0x7 << 9)
1591 #define HDMI_O_2_MASK 0x7
1592 #define HDMI_O_2_MASK_SFT (0x7 << 6)
1594 #define HDMI_O_1_MASK 0x7
1595 #define HDMI_O_1_MASK_SFT (0x7 << 3)
1596 #define HDMI_O_0_SFT 0
1597 #define HDMI_O_0_MASK 0x7
1598 #define HDMI_O_0_MASK_SFT (0x7 << 0)
1601 #define TDM_EN_SFT 0
1602 #define TDM_EN_MASK 0x1
1603 #define TDM_EN_MASK_SFT (0x1 << 0)
1605 #define LRCK_INVERSE_MASK 0x1
1606 #define LRCK_INVERSE_MASK_SFT (0x1 << 2)
1608 #define DELAY_DATA_MASK 0x1
1609 #define DELAY_DATA_MASK_SFT (0x1 << 3)
1611 #define LEFT_ALIGN_MASK 0x1
1612 #define LEFT_ALIGN_MASK_SFT (0x1 << 4)
1614 #define WLEN_MASK 0x3
1615 #define WLEN_MASK_SFT (0x3 << 8)
1617 #define CHANNEL_NUM_MASK 0x3
1618 #define CHANNEL_NUM_MASK_SFT (0x3 << 10)
1620 #define CHANNEL_BCK_CYCLES_MASK 0x3
1621 #define CHANNEL_BCK_CYCLES_MASK_SFT (0x3 << 12)
1623 #define DAC_BIT_NUM_MASK 0x1f
1624 #define DAC_BIT_NUM_MASK_SFT (0x1f << 16)
1626 #define LRCK_TDM_WIDTH_MASK 0xff
1627 #define LRCK_TDM_WIDTH_MASK_SFT (0xff << 24)
1630 #define ST_CH_PAIR_SOUT0_SFT 0
1631 #define ST_CH_PAIR_SOUT0_MASK 0x7
1632 #define ST_CH_PAIR_SOUT0_MASK_SFT (0x7 << 0)
1634 #define ST_CH_PAIR_SOUT1_MASK 0x7
1635 #define ST_CH_PAIR_SOUT1_MASK_SFT (0x7 << 4)
1637 #define ST_CH_PAIR_SOUT2_MASK 0x7
1638 #define ST_CH_PAIR_SOUT2_MASK_SFT (0x7 << 8)
1640 #define ST_CH_PAIR_SOUT3_MASK 0x7
1641 #define ST_CH_PAIR_SOUT3_MASK_SFT (0x7 << 12)
1643 #define TDM_FIX_VALUE_SEL_MASK 0x1
1644 #define TDM_FIX_VALUE_SEL_MASK_SFT (0x1 << 16)
1646 #define TDM_I2S_LOOPBACK_MASK 0x1
1647 #define TDM_I2S_LOOPBACK_MASK_SFT (0x1 << 20)
1649 #define TDM_I2S_LOOPBACK_CH_MASK 0x3
1650 #define TDM_I2S_LOOPBACK_CH_MASK_SFT (0x3 << 21)
1652 #define TDM_FIX_VALUE_MASK 0xff
1653 #define TDM_FIX_VALUE_MASK_SFT (0xff << 24)
1657 #define AFE_HDMI_OUT_ON_RETM_MASK 0x1
1658 #define AFE_HDMI_OUT_ON_RETM_MASK_SFT (0x1 << 8)
1660 #define AFE_HDMI_OUT_CH_NUM_MASK 0xf
1661 #define AFE_HDMI_OUT_CH_NUM_MASK_SFT (0xf << 4)
1663 #define AFE_HDMI_OUT_BIT_WIDTH_MASK 0x1
1664 #define AFE_HDMI_OUT_BIT_WIDTH_MASK_SFT (0x1 << 1)
1665 #define AFE_HDMI_OUT_ON_SFT 0
1666 #define AFE_HDMI_OUT_ON_MASK 0x1
1667 #define AFE_HDMI_OUT_ON_MASK_SFT (0x1 << 0)