1 /*
2  * ACP 3.0 Register documentation
3  *
4  * Copyright (C) 2016 Advanced Micro Devices, Inc.
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a
7  * copy of this software and associated documentation files (the "Software"),
8  * to deal in the Software without restriction, including without limitation
9  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10  * and/or sell copies of the Software, and to permit persons to whom the
11  * Software is furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included
14  * in all copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19  * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
21  * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22  */
23 
24 #ifndef _acp_ip_OFFSET_HEADER
25 #define _acp_ip_OFFSET_HEADER
26 // Registers from ACP_DMA block
27 
28 #define mmACP_DMA_CNTL_0                                0x1240000
29 #define mmACP_DMA_CNTL_1                                0x1240004
30 #define mmACP_DMA_CNTL_2                                0x1240008
31 #define mmACP_DMA_CNTL_3                                0x124000C
32 #define mmACP_DMA_CNTL_4                                0x1240010
33 #define mmACP_DMA_CNTL_5                                0x1240014
34 #define mmACP_DMA_CNTL_6                                0x1240018
35 #define mmACP_DMA_CNTL_7                                0x124001C
36 #define mmACP_DMA_DSCR_STRT_IDX_0                       0x1240020
37 #define mmACP_DMA_DSCR_STRT_IDX_1                       0x1240024
38 #define mmACP_DMA_DSCR_STRT_IDX_2                       0x1240028
39 #define mmACP_DMA_DSCR_STRT_IDX_3                       0x124002C
40 #define mmACP_DMA_DSCR_STRT_IDX_4                       0x1240030
41 #define mmACP_DMA_DSCR_STRT_IDX_5                       0x1240034
42 #define mmACP_DMA_DSCR_STRT_IDX_6                       0x1240038
43 #define mmACP_DMA_DSCR_STRT_IDX_7                       0x124003C
44 #define mmACP_DMA_DSCR_CNT_0                            0x1240040
45 #define mmACP_DMA_DSCR_CNT_1                            0x1240044
46 #define mmACP_DMA_DSCR_CNT_2                            0x1240048
47 #define mmACP_DMA_DSCR_CNT_3                            0x124004C
48 #define mmACP_DMA_DSCR_CNT_4                            0x1240050
49 #define mmACP_DMA_DSCR_CNT_5                            0x1240054
50 #define mmACP_DMA_DSCR_CNT_6                            0x1240058
51 #define mmACP_DMA_DSCR_CNT_7                            0x124005C
52 #define mmACP_DMA_PRIO_0                                0x1240060
53 #define mmACP_DMA_PRIO_1                                0x1240064
54 #define mmACP_DMA_PRIO_2                                0x1240068
55 #define mmACP_DMA_PRIO_3                                0x124006C
56 #define mmACP_DMA_PRIO_4                                0x1240070
57 #define mmACP_DMA_PRIO_5                                0x1240074
58 #define mmACP_DMA_PRIO_6                                0x1240078
59 #define mmACP_DMA_PRIO_7                                0x124007C
60 #define mmACP_DMA_CUR_DSCR_0                            0x1240080
61 #define mmACP_DMA_CUR_DSCR_1                            0x1240084
62 #define mmACP_DMA_CUR_DSCR_2                            0x1240088
63 #define mmACP_DMA_CUR_DSCR_3                            0x124008C
64 #define mmACP_DMA_CUR_DSCR_4                            0x1240090
65 #define mmACP_DMA_CUR_DSCR_5                            0x1240094
66 #define mmACP_DMA_CUR_DSCR_6                            0x1240098
67 #define mmACP_DMA_CUR_DSCR_7                            0x124009C
68 #define mmACP_DMA_CUR_TRANS_CNT_0                       0x12400A0
69 #define mmACP_DMA_CUR_TRANS_CNT_1                       0x12400A4
70 #define mmACP_DMA_CUR_TRANS_CNT_2                       0x12400A8
71 #define mmACP_DMA_CUR_TRANS_CNT_3                       0x12400AC
72 #define mmACP_DMA_CUR_TRANS_CNT_4                       0x12400B0
73 #define mmACP_DMA_CUR_TRANS_CNT_5                       0x12400B4
74 #define mmACP_DMA_CUR_TRANS_CNT_6                       0x12400B8
75 #define mmACP_DMA_CUR_TRANS_CNT_7                       0x12400BC
76 #define mmACP_DMA_ERR_STS_0                             0x12400C0
77 #define mmACP_DMA_ERR_STS_1                             0x12400C4
78 #define mmACP_DMA_ERR_STS_2                             0x12400C8
79 #define mmACP_DMA_ERR_STS_3                             0x12400CC
80 #define mmACP_DMA_ERR_STS_4                             0x12400D0
81 #define mmACP_DMA_ERR_STS_5                             0x12400D4
82 #define mmACP_DMA_ERR_STS_6                             0x12400D8
83 #define mmACP_DMA_ERR_STS_7                             0x12400DC
84 #define mmACP_DMA_DESC_BASE_ADDR                        0x12400E0
85 #define mmACP_DMA_DESC_MAX_NUM_DSCR                     0x12400E4
86 #define mmACP_DMA_CH_STS                                0x12400E8
87 #define mmACP_DMA_CH_GROUP                              0x12400EC
88 #define mmACP_DMA_CH_RST_STS                            0x12400F0
89 
90 
91 // Registers from ACP_AXI2AXIATU block
92 
93 #define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_1                0x1240C00
94 #define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_1                0x1240C04
95 #define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_2                0x1240C08
96 #define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_2                0x1240C0C
97 #define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_3                0x1240C10
98 #define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_3                0x1240C14
99 #define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_4                0x1240C18
100 #define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_4                0x1240C1C
101 #define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_5                0x1240C20
102 #define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_5                0x1240C24
103 #define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_6                0x1240C28
104 #define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_6                0x1240C2C
105 #define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_7                0x1240C30
106 #define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_7                0x1240C34
107 #define mmACPAXI2AXI_ATU_PAGE_SIZE_GRP_8                0x1240C38
108 #define mmACPAXI2AXI_ATU_BASE_ADDR_GRP_8                0x1240C3C
109 #define mmACPAXI2AXI_ATU_CTRL                           0x1240C40
110 
111 
112 // Registers from ACP_CLKRST block
113 
114 #define mmACP_SOFT_RESET                                0x1241000
115 #define mmACP_CONTROL                                   0x1241004
116 #define mmACP_STATUS                                    0x1241008
117 #define mmACP_DSP0_OCD_HALT_ON_RST                      0x124100C
118 #define mmACP_DYNAMIC_CG_MASTER_CONTROL                 0x1241010
119 
120 
121 // Registers from ACP_MISC block
122 
123 #define mmACP_EXTERNAL_INTR_ENB                         0x1241800
124 #define mmACP_EXTERNAL_INTR_CNTL                        0x1241804
125 #define mmACP_EXTERNAL_INTR_STAT                        0x1241808
126 #define mmACP_DSP0_INTR_CNTL                            0x124180C
127 #define mmACP_DSP0_INTR_STAT                            0x1241810
128 #define mmACP_DSP_SW_INTR_CNTL                          0x1241814
129 #define mmACP_DSP_SW_INTR_STAT                          0x1241818
130 #define mmACP_SW_INTR_TRIG                              0x124181C
131 #define mmACP_SMU_MAILBOX                               0x1241820
132 #define mmDSP_INTERRUPT_ROUTING_CTRL                    0x1241824
133 #define mmACP_DSP0_WATCHDOG_TIMER_CNTL                  0x1241828
134 #define mmACP_DSP0_EXT_TIMER1_CNTL                      0x124182C
135 #define mmACP_DSP0_EXT_TIMER2_CNTL                      0x1241830
136 #define mmACP_DSP0_EXT_TIMER3_CNTL                      0x1241834
137 #define mmACP_DSP0_EXT_TIMER4_CNTL                      0x1241838
138 #define mmACP_DSP0_EXT_TIMER5_CNTL                      0x124183C
139 #define mmACP_DSP0_EXT_TIMER6_CNTL                      0x1241840
140 #define mmACP_DSP0_EXT_TIMER1_CURR_VALUE                0x1241844
141 #define mmACP_DSP0_EXT_TIMER2_CURR_VALUE                0x1241848
142 #define mmACP_DSP0_EXT_TIMER3_CURR_VALUE                0x124184C
143 #define mmACP_DSP0_EXT_TIMER4_CURR_VALUE                0x1241850
144 #define mmACP_DSP0_EXT_TIMER5_CURR_VALUE                0x1241854
145 #define mmACP_DSP0_EXT_TIMER6_CURR_VALUE                0x1241858
146 #define mmACP_FW_STATUS                                 0x124185C
147 #define mmACP_TIMER                                     0x1241874
148 #define mmACP_TIMER_CNTL                                0x1241878
149 #define mmACP_PGMEM_CTRL                                0x12418C0
150 #define mmACP_ERROR_STATUS                              0x12418C4
151 #define mmACP_SW_I2S_ERROR_REASON                       0x12418C8
152 #define mmACP_MEM_PG_STS                                0x12418CC
153 
154 
155 // Registers from ACP_PGFSM block
156 
157 #define mmACP_I2S_PIN_CONFIG                            0x1241400
158 #define mmACP_PAD_PULLUP_PULLDOWN_CTRL                  0x1241404
159 #define mmACP_PAD_DRIVE_STRENGTH_CTRL                   0x1241408
160 #define mmACP_SW_PAD_KEEPER_EN                          0x124140C
161 #define mmACP_SW_WAKE_EN                                0x1241410
162 #define mmACP_I2S_WAKE_EN                               0x1241414
163 #define mmACP_PME_EN                                    0x1241418
164 #define mmACP_PGFSM_CONTROL                             0x124141C
165 #define mmACP_PGFSM_STATUS                              0x1241420
166 
167 
168 // Registers from ACP_SCRATCH block
169 
170 #define mmACP_SCRATCH_REG_0                             0x1250000
171 #define mmACP_SCRATCH_REG_1                             0x1250004
172 #define mmACP_SCRATCH_REG_2                             0x1250008
173 #define mmACP_SCRATCH_REG_3                             0x125000C
174 #define mmACP_SCRATCH_REG_4                             0x1250010
175 #define mmACP_SCRATCH_REG_5                             0x1250014
176 #define mmACP_SCRATCH_REG_6                             0x1250018
177 #define mmACP_SCRATCH_REG_7                             0x125001C
178 #define mmACP_SCRATCH_REG_8                             0x1250020
179 #define mmACP_SCRATCH_REG_9                             0x1250024
180 #define mmACP_SCRATCH_REG_10                            0x1250028
181 #define mmACP_SCRATCH_REG_11                            0x125002C
182 #define mmACP_SCRATCH_REG_12                            0x1250030
183 #define mmACP_SCRATCH_REG_13                            0x1250034
184 #define mmACP_SCRATCH_REG_14                            0x1250038
185 #define mmACP_SCRATCH_REG_15                            0x125003C
186 #define mmACP_SCRATCH_REG_16                            0x1250040
187 #define mmACP_SCRATCH_REG_17                            0x1250044
188 #define mmACP_SCRATCH_REG_18                            0x1250048
189 #define mmACP_SCRATCH_REG_19                            0x125004C
190 #define mmACP_SCRATCH_REG_20                            0x1250050
191 #define mmACP_SCRATCH_REG_21                            0x1250054
192 #define mmACP_SCRATCH_REG_22                            0x1250058
193 #define mmACP_SCRATCH_REG_23                            0x125005C
194 #define mmACP_SCRATCH_REG_24                            0x1250060
195 #define mmACP_SCRATCH_REG_25                            0x1250064
196 #define mmACP_SCRATCH_REG_26                            0x1250068
197 #define mmACP_SCRATCH_REG_27                            0x125006C
198 #define mmACP_SCRATCH_REG_28                            0x1250070
199 #define mmACP_SCRATCH_REG_29                            0x1250074
200 #define mmACP_SCRATCH_REG_30                            0x1250078
201 #define mmACP_SCRATCH_REG_31                            0x125007C
202 #define mmACP_SCRATCH_REG_32                            0x1250080
203 #define mmACP_SCRATCH_REG_33                            0x1250084
204 #define mmACP_SCRATCH_REG_34                            0x1250088
205 #define mmACP_SCRATCH_REG_35                            0x125008C
206 #define mmACP_SCRATCH_REG_36                            0x1250090
207 #define mmACP_SCRATCH_REG_37                            0x1250094
208 #define mmACP_SCRATCH_REG_38                            0x1250098
209 #define mmACP_SCRATCH_REG_39                            0x125009C
210 #define mmACP_SCRATCH_REG_40                            0x12500A0
211 #define mmACP_SCRATCH_REG_41                            0x12500A4
212 #define mmACP_SCRATCH_REG_42                            0x12500A8
213 #define mmACP_SCRATCH_REG_43                            0x12500AC
214 #define mmACP_SCRATCH_REG_44                            0x12500B0
215 #define mmACP_SCRATCH_REG_45                            0x12500B4
216 #define mmACP_SCRATCH_REG_46                            0x12500B8
217 #define mmACP_SCRATCH_REG_47                            0x12500BC
218 #define mmACP_SCRATCH_REG_48                            0x12500C0
219 #define mmACP_SCRATCH_REG_49                            0x12500C4
220 #define mmACP_SCRATCH_REG_50                            0x12500C8
221 #define mmACP_SCRATCH_REG_51                            0x12500CC
222 #define mmACP_SCRATCH_REG_52                            0x12500D0
223 #define mmACP_SCRATCH_REG_53                            0x12500D4
224 #define mmACP_SCRATCH_REG_54                            0x12500D8
225 #define mmACP_SCRATCH_REG_55                            0x12500DC
226 #define mmACP_SCRATCH_REG_56                            0x12500E0
227 #define mmACP_SCRATCH_REG_57                            0x12500E4
228 #define mmACP_SCRATCH_REG_58                            0x12500E8
229 #define mmACP_SCRATCH_REG_59                            0x12500EC
230 #define mmACP_SCRATCH_REG_60                            0x12500F0
231 #define mmACP_SCRATCH_REG_61                            0x12500F4
232 #define mmACP_SCRATCH_REG_62                            0x12500F8
233 #define mmACP_SCRATCH_REG_63                            0x12500FC
234 #define mmACP_SCRATCH_REG_64                            0x1250100
235 #define mmACP_SCRATCH_REG_65                            0x1250104
236 #define mmACP_SCRATCH_REG_66                            0x1250108
237 #define mmACP_SCRATCH_REG_67                            0x125010C
238 #define mmACP_SCRATCH_REG_68                            0x1250110
239 #define mmACP_SCRATCH_REG_69                            0x1250114
240 #define mmACP_SCRATCH_REG_70                            0x1250118
241 #define mmACP_SCRATCH_REG_71                            0x125011C
242 #define mmACP_SCRATCH_REG_72                            0x1250120
243 #define mmACP_SCRATCH_REG_73                            0x1250124
244 #define mmACP_SCRATCH_REG_74                            0x1250128
245 #define mmACP_SCRATCH_REG_75                            0x125012C
246 #define mmACP_SCRATCH_REG_76                            0x1250130
247 #define mmACP_SCRATCH_REG_77                            0x1250134
248 #define mmACP_SCRATCH_REG_78                            0x1250138
249 #define mmACP_SCRATCH_REG_79                            0x125013C
250 #define mmACP_SCRATCH_REG_80                            0x1250140
251 #define mmACP_SCRATCH_REG_81                            0x1250144
252 #define mmACP_SCRATCH_REG_82                            0x1250148
253 #define mmACP_SCRATCH_REG_83                            0x125014C
254 #define mmACP_SCRATCH_REG_84                            0x1250150
255 #define mmACP_SCRATCH_REG_85                            0x1250154
256 #define mmACP_SCRATCH_REG_86                            0x1250158
257 #define mmACP_SCRATCH_REG_87                            0x125015C
258 #define mmACP_SCRATCH_REG_88                            0x1250160
259 #define mmACP_SCRATCH_REG_89                            0x1250164
260 #define mmACP_SCRATCH_REG_90                            0x1250168
261 #define mmACP_SCRATCH_REG_91                            0x125016C
262 #define mmACP_SCRATCH_REG_92                            0x1250170
263 #define mmACP_SCRATCH_REG_93                            0x1250174
264 #define mmACP_SCRATCH_REG_94                            0x1250178
265 #define mmACP_SCRATCH_REG_95                            0x125017C
266 #define mmACP_SCRATCH_REG_96                            0x1250180
267 #define mmACP_SCRATCH_REG_97                            0x1250184
268 #define mmACP_SCRATCH_REG_98                            0x1250188
269 #define mmACP_SCRATCH_REG_99                            0x125018C
270 #define mmACP_SCRATCH_REG_100                           0x1250190
271 #define mmACP_SCRATCH_REG_101                           0x1250194
272 #define mmACP_SCRATCH_REG_102                           0x1250198
273 #define mmACP_SCRATCH_REG_103                           0x125019C
274 #define mmACP_SCRATCH_REG_104                           0x12501A0
275 #define mmACP_SCRATCH_REG_105                           0x12501A4
276 #define mmACP_SCRATCH_REG_106                           0x12501A8
277 #define mmACP_SCRATCH_REG_107                           0x12501AC
278 #define mmACP_SCRATCH_REG_108                           0x12501B0
279 #define mmACP_SCRATCH_REG_109                           0x12501B4
280 #define mmACP_SCRATCH_REG_110                           0x12501B8
281 #define mmACP_SCRATCH_REG_111                           0x12501BC
282 #define mmACP_SCRATCH_REG_112                           0x12501C0
283 #define mmACP_SCRATCH_REG_113                           0x12501C4
284 #define mmACP_SCRATCH_REG_114                           0x12501C8
285 #define mmACP_SCRATCH_REG_115                           0x12501CC
286 #define mmACP_SCRATCH_REG_116                           0x12501D0
287 #define mmACP_SCRATCH_REG_117                           0x12501D4
288 #define mmACP_SCRATCH_REG_118                           0x12501D8
289 #define mmACP_SCRATCH_REG_119                           0x12501DC
290 #define mmACP_SCRATCH_REG_120                           0x12501E0
291 #define mmACP_SCRATCH_REG_121                           0x12501E4
292 #define mmACP_SCRATCH_REG_122                           0x12501E8
293 #define mmACP_SCRATCH_REG_123                           0x12501EC
294 #define mmACP_SCRATCH_REG_124                           0x12501F0
295 #define mmACP_SCRATCH_REG_125                           0x12501F4
296 #define mmACP_SCRATCH_REG_126                           0x12501F8
297 #define mmACP_SCRATCH_REG_127                           0x12501FC
298 #define mmACP_SCRATCH_REG_128                           0x1250200
299 
300 
301 // Registers from ACP_SW_ACLK block
302 
303 #define mmSW_CORB_Base_Address                          0x1243200
304 #define mmSW_CORB_Write_Pointer                         0x1243204
305 #define mmSW_CORB_Read_Pointer                          0x1243208
306 #define mmSW_CORB_Control                               0x124320C
307 #define mmSW_CORB_Size                                  0x1243214
308 #define mmSW_RIRB_Base_Address                          0x1243218
309 #define mmSW_RIRB_Write_Pointer                         0x124321C
310 #define mmSW_RIRB_Response_Interrupt_Count              0x1243220
311 #define mmSW_RIRB_Control                               0x1243224
312 #define mmSW_RIRB_Size                                  0x1243228
313 #define mmSW_RIRB_FIFO_MIN_THDL                         0x124322C
314 #define mmSW_imm_cmd_UPPER_WORD                         0x1243230
315 #define mmSW_imm_cmd_LOWER_QWORD                        0x1243234
316 #define mmSW_imm_resp_UPPER_WORD                        0x1243238
317 #define mmSW_imm_resp_LOWER_QWORD                       0x124323C
318 #define mmSW_imm_cmd_sts                                0x1243240
319 #define mmSW_BRA_BASE_ADDRESS                           0x1243244
320 #define mmSW_BRA_TRANSFER_SIZE                          0x1243248
321 #define mmSW_BRA_DMA_BUSY                               0x124324C
322 #define mmSW_BRA_RESP                                   0x1243250
323 #define mmSW_BRA_RESP_FRAME_ADDR                        0x1243254
324 #define mmSW_BRA_CURRENT_TRANSFER_SIZE                  0x1243258
325 #define mmSW_STATE_CHANGE_STATUS_0TO7                   0x124325C
326 #define mmSW_STATE_CHANGE_STATUS_8TO11                  0x1243260
327 #define mmSW_STATE_CHANGE_STATUS_MASK_0to7              0x1243264
328 #define mmSW_STATE_CHANGE_STATUS_MASK_8to11             0x1243268
329 #define mmSW_CLK_FREQUENCY_CTRL                         0x124326C
330 #define mmSW_ERROR_INTR_MASK                            0x1243270
331 #define mmSW_PHY_TEST_MODE_DATA_OFF                     0x1243274
332 
333 
334 // Registers from ACP_SW_SWCLK block
335 
336 #define mmACP_SW_EN                                     0x1243000
337 #define mmACP_SW_EN_STATUS                              0x1243004
338 #define mmACP_SW_FRAMESIZE                              0x1243008
339 #define mmACP_SW_SSP_Counter                            0x124300C
340 #define mmACP_SW_Audio_TX_EN                            0x1243010
341 #define mmACP_SW_Audio_TX_EN_STATUS                     0x1243014
342 #define mmACP_SW_Audio_TX_Frame_Format                  0x1243018
343 #define mmACP_SW_Audio_TX_SampleInterval                0x124301C
344 #define mmACP_SW_Audio_TX_Hctrl_DP0                     0x1243020
345 #define mmACP_SW_Audio_TX_Hctrl_DP1                     0x1243024
346 #define mmACP_SW_Audio_TX_Hctrl_DP2                     0x1243028
347 #define mmACP_SW_Audio_TX_Hctrl_DP3                     0x124302C
348 #define mmACP_SW_Audio_TX_offset_DP0                    0x1243030
349 #define mmACP_SW_Audio_TX_offset_DP1                    0x1243034
350 #define mmACP_SW_Audio_TX_offset_DP2                    0x1243038
351 #define mmACP_SW_Audio_TX_offset_DP3                    0x124303C
352 #define mmACP_SW_Audio_TX_Channel_Enable_DP0            0x1243040
353 #define mmACP_SW_Audio_TX_Channel_Enable_DP1            0x1243044
354 #define mmACP_SW_Audio_TX_Channel_Enable_DP2            0x1243048
355 #define mmACP_SW_Audio_TX_Channel_Enable_DP3            0x124304C
356 #define mmACP_SW_BT_TX_EN                               0x1243050
357 #define mmACP_SW_BT_TX_EN_STATUS                        0x1243054
358 #define mmACP_SW_BT_TX_Frame_Format                     0x1243058
359 #define mmACP_SW_BT_TX_SampleInterval                   0x124305C
360 #define mmACP_SW_BT_TX_Hctrl                            0x1243060
361 #define mmACP_SW_BT_TX_offset                           0x1243064
362 #define mmACP_SW_BT_TX_Channel_Enable_DP0               0x1243068
363 #define mmACP_SW_Headset_TX_EN                          0x124306C
364 #define mmACP_SW_Headset_TX_EN_STATUS                   0x1243070
365 #define mmACP_SW_Headset_TX_Frame_Format                0x1243074
366 #define mmACP_SW_Headset_TX_SampleInterval              0x1243078
367 #define mmACP_SW_Headset_TX_Hctrl                       0x124307C
368 #define mmACP_SW_Headset_TX_offset                      0x1243080
369 #define mmACP_SW_Headset_TX_Channel_Enable_DP0          0x1243084
370 #define mmACP_SW_Audio_RX_EN                            0x1243088
371 #define mmACP_SW_Audio_RX_EN_STATUS                     0x124308C
372 #define mmACP_SW_Audio_RX_Frame_Format                  0x1243090
373 #define mmACP_SW_Audio_RX_SampleInterval                0x1243094
374 #define mmACP_SW_Audio_RX_Hctrl_DP0                     0x1243098
375 #define mmACP_SW_Audio_RX_Hctrl_DP1                     0x124309C
376 #define mmACP_SW_Audio_RX_Hctrl_DP2                     0x1243100
377 #define mmACP_SW_Audio_RX_Hctrl_DP3                     0x1243104
378 #define mmACP_SW_Audio_RX_offset_DP0                    0x1243108
379 #define mmACP_SW_Audio_RX_offset_DP1                    0x124310C
380 #define mmACP_SW_Audio_RX_offset_DP2                    0x1243110
381 #define mmACP_SW_Audio_RX_offset_DP3                    0x1243114
382 #define mmACP_SW_Audio_RX_Channel_Enable_DP0            0x1243118
383 #define mmACP_SW_Audio_RX_Channel_Enable_DP1            0x124311C
384 #define mmACP_SW_Audio_RX_Channel_Enable_DP2            0x1243120
385 #define mmACP_SW_Audio_RX_Channel_Enable_DP3            0x1243124
386 #define mmACP_SW_BT_RX_EN                               0x1243128
387 #define mmACP_SW_BT_RX_EN_STATUS                        0x124312C
388 #define mmACP_SW_BT_RX_Frame_Format                     0x1243130
389 #define mmACP_SW_BT_RX_SampleInterval                   0x1243134
390 #define mmACP_SW_BT_RX_Hctrl                            0x1243138
391 #define mmACP_SW_BT_RX_offset                           0x124313C
392 #define mmACP_SW_BT_RX_Channel_Enable_DP0               0x1243140
393 #define mmACP_SW_Headset_RX_EN                          0x1243144
394 #define mmACP_SW_Headset_RX_EN_STATUS                   0x1243148
395 #define mmACP_SW_Headset_RX_Frame_Format                0x124314C
396 #define mmACP_SW_Headset_RX_SampleInterval              0x1243150
397 #define mmACP_SW_Headset_RX_Hctrl                       0x1243154
398 #define mmACP_SW_Headset_RX_offset                      0x1243158
399 #define mmACP_SW_Headset_RX_Channel_Enable_DP0          0x124315C
400 #define mmACP_SW_BPT_PORT_EN                            0x1243160
401 #define mmACP_SW_BPT_PORT_EN_STATUS                     0x1243164
402 #define mmACP_SW_BPT_PORT_Frame_Format                  0x1243168
403 #define mmACP_SW_BPT_PORT_SampleInterval                0x124316C
404 #define mmACP_SW_BPT_PORT_Hctrl                         0x1243170
405 #define mmACP_SW_BPT_PORT_offset                        0x1243174
406 #define mmACP_SW_BPT_PORT_Channel_Enable                0x1243178
407 #define mmACP_SW_BPT_PORT_First_byte_addr               0x124317C
408 #define mmACP_SW_CLK_RESUME_CTRL                        0x1243180
409 #define mmACP_SW_CLK_RESUME_Delay_Cntr                  0x1243184
410 #define mmACP_SW_BUS_RESET_CTRL                         0x1243188
411 #define mmACP_SW_PRBS_ERR_STATUS                        0x124318C
412 
413 
414 // Registers from ACP_AUDIO_BUFFERS block
415 
416 #define mmACP_I2S_RX_RINGBUFADDR                        0x1242000
417 #define mmACP_I2S_RX_RINGBUFSIZE                        0x1242004
418 #define mmACP_I2S_RX_LINKPOSITIONCNTR                   0x1242008
419 #define mmACP_I2S_RX_FIFOADDR                           0x124200C
420 #define mmACP_I2S_RX_FIFOSIZE                           0x1242010
421 #define mmACP_I2S_RX_DMA_SIZE                           0x1242014
422 #define mmACP_I2S_RX_LINEARPOSITIONCNTR_HIGH            0x1242018
423 #define mmACP_I2S_RX_LINEARPOSITIONCNTR_LOW             0x124201C
424 #define mmACP_I2S_RX_INTR_WATERMARK_SIZE                0x1242020
425 #define mmACP_I2S_TX_RINGBUFADDR                        0x1242024
426 #define mmACP_I2S_TX_RINGBUFSIZE                        0x1242028
427 #define mmACP_I2S_TX_LINKPOSITIONCNTR                   0x124202C
428 #define mmACP_I2S_TX_FIFOADDR                           0x1242030
429 #define mmACP_I2S_TX_FIFOSIZE                           0x1242034
430 #define mmACP_I2S_TX_DMA_SIZE                           0x1242038
431 #define mmACP_I2S_TX_LINEARPOSITIONCNTR_HIGH            0x124203C
432 #define mmACP_I2S_TX_LINEARPOSITIONCNTR_LOW             0x1242040
433 #define mmACP_I2S_TX_INTR_WATERMARK_SIZE                0x1242044
434 #define mmACP_BT_RX_RINGBUFADDR                         0x1242048
435 #define mmACP_BT_RX_RINGBUFSIZE                         0x124204C
436 #define mmACP_BT_RX_LINKPOSITIONCNTR                    0x1242050
437 #define mmACP_BT_RX_FIFOADDR                            0x1242054
438 #define mmACP_BT_RX_FIFOSIZE                            0x1242058
439 #define mmACP_BT_RX_DMA_SIZE                            0x124205C
440 #define mmACP_BT_RX_LINEARPOSITIONCNTR_HIGH             0x1242060
441 #define mmACP_BT_RX_LINEARPOSITIONCNTR_LOW              0x1242064
442 #define mmACP_BT_RX_INTR_WATERMARK_SIZE                 0x1242068
443 #define mmACP_BT_TX_RINGBUFADDR                         0x124206C
444 #define mmACP_BT_TX_RINGBUFSIZE                         0x1242070
445 #define mmACP_BT_TX_LINKPOSITIONCNTR                    0x1242074
446 #define mmACP_BT_TX_FIFOADDR                            0x1242078
447 #define mmACP_BT_TX_FIFOSIZE                            0x124207C
448 #define mmACP_BT_TX_DMA_SIZE                            0x1242080
449 #define mmACP_BT_TX_LINEARPOSITIONCNTR_HIGH             0x1242084
450 #define mmACP_BT_TX_LINEARPOSITIONCNTR_LOW              0x1242088
451 #define mmACP_BT_TX_INTR_WATERMARK_SIZE                 0x124208C
452 #define mmACP_HS_RX_RINGBUFADDR                         0x1242090
453 #define mmACP_HS_RX_RINGBUFSIZE                         0x1242094
454 #define mmACP_HS_RX_LINKPOSITIONCNTR                    0x1242098
455 #define mmACP_HS_RX_FIFOADDR                            0x124209C
456 #define mmACP_HS_RX_FIFOSIZE                            0x12420A0
457 #define mmACP_HS_RX_DMA_SIZE                            0x12420A4
458 #define mmACP_HS_RX_LINEARPOSITIONCNTR_HIGH             0x12420A8
459 #define mmACP_HS_RX_LINEARPOSITIONCNTR_LOW              0x12420AC
460 #define mmACP_HS_RX_INTR_WATERMARK_SIZE                 0x12420B0
461 #define mmACP_HS_TX_RINGBUFADDR                         0x12420B4
462 #define mmACP_HS_TX_RINGBUFSIZE                         0x12420B8
463 #define mmACP_HS_TX_LINKPOSITIONCNTR                    0x12420BC
464 #define mmACP_HS_TX_FIFOADDR                            0x12420C0
465 #define mmACP_HS_TX_FIFOSIZE                            0x12420C4
466 #define mmACP_HS_TX_DMA_SIZE                            0x12420C8
467 #define mmACP_HS_TX_LINEARPOSITIONCNTR_HIGH             0x12420CC
468 #define mmACP_HS_TX_LINEARPOSITIONCNTR_LOW              0x12420D0
469 #define mmACP_HS_TX_INTR_WATERMARK_SIZE                 0x12420D4
470 
471 
472 // Registers from ACP_I2S_TDM block
473 
474 #define mmACP_I2STDM_IER                                0x1242400
475 #define mmACP_I2STDM_IRER                               0x1242404
476 #define mmACP_I2STDM_RXFRMT                             0x1242408
477 #define mmACP_I2STDM_ITER                               0x124240C
478 #define mmACP_I2STDM_TXFRMT                             0x1242410
479 
480 
481 // Registers from ACP_BT_TDM block
482 
483 #define mmACP_BTTDM_IER                                 0x1242800
484 #define mmACP_BTTDM_IRER                                0x1242804
485 #define mmACP_BTTDM_RXFRMT                              0x1242808
486 #define mmACP_BTTDM_ITER                                0x124280C
487 #define mmACP_BTTDM_TXFRMT                              0x1242810
488 
489 
490 // Registers from AZALIA_IP block
491 
492 #define mmAudio_Az_Global_Capabilities                  0x1200000
493 #define mmAudio_Az_Minor_Version                        0x1200002
494 #define mmAudio_Az_Major_Version                        0x1200003
495 #define mmAudio_Az_Output_Payload_Capability            0x1200004
496 #define mmAudio_Az_Input_Payload_Capability             0x1200006
497 #define mmAudio_Az_Global_Control                       0x1200008
498 #define mmAudio_Az_Wake_Enable                          0x120000C
499 #define mmAudio_Az_State_Change_Status                  0x120000E
500 #define mmAudio_Az_Global_Status                        0x1200010
501 #define mmAudio_Az_Linked_List_Capability_Header        0x1200014
502 #define mmAudio_Az_Output_Stream_Payload_Capability     0x1200018
503 #define mmAudio_Az_Input_Stream_Payload_Capability      0x120001A
504 #define mmAudio_Az_Interrupt_Control                    0x1200020
505 #define mmAudio_Az_Interrupt_Status                     0x1200024
506 #define mmAudio_Az_Wall_Clock_Counter                   0x1200030
507 #define mmAudio_Az_Stream_Synchronization               0x1200038
508 #define mmAudio_Az_CORB_Lower_Base_Address              0x1200040
509 #define mmAudio_Az_CORB_Upper_Base_Address              0x1200044
510 #define mmAudio_Az_CORB_Write_Pointer                   0x1200048
511 #define mmAudio_Az_CORB_Read_Pointer                    0x120004A
512 #define mmAudio_Az_CORB_Control                         0x120004C
513 #define mmAudio_Az_CORB_Status                          0x120004D
514 #define mmAudio_Az_CORB_Size                            0x120004E
515 #define mmAudio_Az_RIRB_Lower_Base_Address              0x1200050
516 #define mmAudio_Az_RIRB_Upper_Base_Address              0x1200054
517 #define mmAudio_Az_RIRB_Write_Pointer                   0x1200058
518 #define mmAudio_Az_RIRB_Response_Interrupt_Count        0x120005A
519 #define mmAudio_Az_RIRB_Control                         0x120005C
520 #define mmAudio_Az_RIRB_Status                          0x120005D
521 #define mmAudio_Az_RIRB_Size                            0x120005E
522 #define mmAudio_Az_Immediate_Command_Output_Interface   0x1200060
523 #define mmAudio_Az_Immediate_Response_Input_Interface   0x1200064
524 #define mmAudio_Az_Immediate_Command_Status             0x1200068
525 #define mmAudio_Az_DPLBASE                              0x1200070
526 #define mmAudio_Az_DPUBASE                              0x1200074
527 #define mmAudio_Az_Input_SD0CTL_and_STS                 0x1200080
528 #define mmAudio_Az_Input_SD0LPIB                        0x1200084
529 #define mmAudio_Az_Input_SD0CBL                         0x1200088
530 #define mmAudio_Az_Input_SD0LVI                         0x120008C
531 #define mmAudio_Az_Input_SD0FIFOS                       0x1200090
532 #define mmAudio_Az_Input_SD0FMT                         0x1200092
533 #define mmAudio_Az_Input_SD0BDPL                        0x1200098
534 #define mmAudio_Az_Input_SD0BDPU                        0x120009C
535 #define mmAudio_Az_Input_SD1CTL_and_STS                 0x12000A0
536 #define mmAudio_Az_Input_SD1LPIB                        0x12000A4
537 #define mmAudio_Az_Input_SD1CBL                         0x12000A8
538 #define mmAudio_Az_Input_SD1LVI                         0x12000AC
539 #define mmAudio_Az_Input_SD1FIFOS                       0x12000B0
540 #define mmAudio_Az_Input_SD1FMT                         0x12000B2
541 #define mmAudio_Az_Input_SD1BDPL                        0x12000B8
542 #define mmAudio_Az_Input_SD1BDPU                        0x12000BC
543 #define mmAudio_Az_Input_SD2CTL_and_STS                 0x12000C0
544 #define mmAudio_Az_Input_SD2LPIB                        0x12000C4
545 #define mmAudio_Az_Input_SD2CBL                         0x12000C8
546 #define mmAudio_Az_Input_SD2LVI                         0x12000CC
547 #define mmAudio_Az_Input_SD2FIFOS                       0x12000D0
548 #define mmAudio_Az_Input_SD2FMT                         0x12000D2
549 #define mmAudio_Az_Input_SD2BDPL                        0x12000D8
550 #define mmAudio_Az_Input_SD2BDPU                        0x12000DC
551 #define mmAudio_Az_Input_SD3CTL_and_STS                 0x12000E0
552 #define mmAudio_Az_Input_SD3LPIB                        0x12000E4
553 #define mmAudio_Az_Input_SD3CBL                         0x12000E8
554 #define mmAudio_Az_Input_SD3LVI                         0x12000EC
555 #define mmAudio_Az_Input_SD3FIFOS                       0x12000F0
556 #define mmAudio_Az_Input_SD3FMT                         0x12000F2
557 #define mmAudio_Az_Input_SD3BDPL                        0x12000F8
558 #define mmAudio_Az_Input_SD3BDPU                        0x12000FC
559 #define mmAudio_Az_Output_SD0CTL_and_STS                0x1200100
560 #define mmAudio_Az_Output_SD0LPIB                       0x1200104
561 #define mmAudio_Az_Output_SD0CBL                        0x1200108
562 #define mmAudio_Az_Output_SD0LVI                        0x120010C
563 #define mmAudio_Az_Output_SD0FIFOS                      0x1200110
564 #define mmAudio_Az_Output_SD0FMT                        0x1200112
565 #define mmAudio_Az_Output_SD0BDPL                       0x1200118
566 #define mmAudio_Az_Output_SD0BDPU                       0x120011C
567 #define mmAudio_Az_Output_SD1CTL_and_STS                0x1200120
568 #define mmAudio_Az_Output_SD1LPIB                       0x1200124
569 #define mmAudio_Az_Output_SD1CBL                        0x1200128
570 #define mmAudio_Az_Output_SD1LVI                        0x120012C
571 #define mmAudio_Az_Output_SD1FIFOS                      0x1200130
572 #define mmAudio_Az_Output_SD1FMT                        0x1200132
573 #define mmAudio_Az_Output_SD1BDPL                       0x1200138
574 #define mmAudio_Az_Output_SD1BDPU                       0x120013C
575 #define mmAudio_Az_Output_SD2CTL_and_STS                0x1200140
576 #define mmAudio_Az_Output_SD2LPIB                       0x1200144
577 #define mmAudio_Az_Output_SD2CBL                        0x1200148
578 #define mmAudio_Az_Output_SD2LVI                        0x120014C
579 #define mmAudio_Az_Output_SD2FIFOS                      0x1200150
580 #define mmAudio_Az_Output_SD2FMT                        0x1200152
581 #define mmAudio_Az_Output_SD2BDPL                       0x1200158
582 #define mmAudio_Az_Output_SD2BDPU                       0x120015C
583 #define mmAudio_Az_Output_SD3CTL_and_STS                0x1200160
584 #define mmAudio_Az_Output_SD3LPIB                       0x1200164
585 #define mmAudio_Az_Output_SD3CBL                        0x1200168
586 #define mmAudio_Az_Output_SD3LVI                        0x120016C
587 #define mmAudio_Az_Output_SD3FIFOS                      0x1200170
588 #define mmAudio_Az_Output_SD3FMT                        0x1200172
589 #define mmAudio_Az_Output_SD3BDPL                       0x1200178
590 #define mmAudio_Az_Output_SD3BDPU                       0x120017C
591 #define mmAudioAZ_Misc_Control_Register_1               0x1200180
592 #define mmAudioAZ_Misc_Control_Register_2               0x1200182
593 #define mmAudioAZ_Misc_Control_Register_3               0x1200183
594 #define mmAudio_AZ_Multiple_Links_Capability_Header     0x1200200
595 #define mmAudio_AZ_Multiple_Links_Capability_Declaration 0x1200204
596 #define mmAudio_AZ_Link0_Capabilities                   0x1200240
597 #define mmAudio_AZ_Link0_Control                        0x1200244
598 #define mmAudio_AZ_Link0_Output_Stream_ID               0x1200248
599 #define mmAudio_AZ_Link0_SDI_Identifier                 0x120024C
600 #define mmAudio_AZ_Link0_Per_Stream_Overhead            0x1200250
601 #define mmAudio_AZ_Link0_Wall_Frame_Counter             0x1200258
602 #define mmAudio_AZ_Link0_Output_Payload_Capability_L    0x1200260
603 #define mmAudio_AZ_Link0_Output_Payload_Capability_U    0x1200264
604 #define mmAudio_AZ_Link0_Input_Payload_Capability_L     0x1200270
605 #define mmAudio_AZ_Link0_Input_Payload_Capability_U     0x1200274
606 #define mmAudio_Az_Input_SD0LICBA                       0x1202084
607 #define mmAudio_Az_Input_SD1LICBA                       0x12020A4
608 #define mmAudio_Az_Input_SD2LICBA                       0x12020C4
609 #define mmAudio_Az_Input_SD3LICBA                       0x12020E4
610 #define mmAudio_Az_Output_SD0LICBA                      0x1202104
611 #define mmAudio_Az_Output_SD1LICBA                      0x1202124
612 #define mmAudio_Az_Output_SD2LICBA                      0x1202144
613 #define mmAudio_Az_Output_SD3LICBA                      0x1202164
614 #define mmAUDIO_AZ_POWER_MANAGEMENT_CONTROL             0x1204000
615 #define mmAUDIO_AZ_IOC_SOFTRST_CONTROL                  0x1204004
616 #define mmAUDIO_AZ_IOC_CLKGATE_CONTROL                  0x1204008
617 
618 
619 // Registers from ACP_AZALIA block
620 
621 #define mmACP_AZ_PAGE0_LBASE_ADDR                       0x1243800
622 #define mmACP_AZ_PAGE0_UBASE_ADDR                       0x1243804
623 #define mmACP_AZ_PAGE0_PGEN_SIZE                        0x1243808
624 #define mmACP_AZ_PAGE0_OFFSET                           0x124380C
625 #define mmACP_AZ_PAGE1_LBASE_ADDR                       0x1243810
626 #define mmACP_AZ_PAGE1_UBASE_ADDR                       0x1243814
627 #define mmACP_AZ_PAGE1_PGEN_SIZE                        0x1243818
628 #define mmACP_AZ_PAGE1_OFFSET                           0x124381C
629 #define mmACP_AZ_PAGE2_LBASE_ADDR                       0x1243820
630 #define mmACP_AZ_PAGE2_UBASE_ADDR                       0x1243824
631 #define mmACP_AZ_PAGE2_PGEN_SIZE                        0x1243828
632 #define mmACP_AZ_PAGE2_OFFSET                           0x124382C
633 #define mmACP_AZ_PAGE3_LBASE_ADDR                       0x1243830
634 #define mmACP_AZ_PAGE3_UBASE_ADDR                       0x1243834
635 #define mmACP_AZ_PAGE3_PGEN_SIZE                        0x1243838
636 #define mmACP_AZ_PAGE3_OFFSET                           0x124383C
637 #define mmACP_AZ_PAGE4_LBASE_ADDR                       0x1243840
638 #define mmACP_AZ_PAGE4_UBASE_ADDR                       0x1243844
639 #define mmACP_AZ_PAGE4_PGEN_SIZE                        0x1243848
640 #define mmACP_AZ_PAGE4_OFFSET                           0x124384C
641 #define mmACP_AZ_PAGE5_LBASE_ADDR                       0x1243850
642 #define mmACP_AZ_PAGE5_UBASE_ADDR                       0x1243854
643 #define mmACP_AZ_PAGE5_PGEN_SIZE                        0x1243858
644 #define mmACP_AZ_PAGE5_OFFSET                           0x124385C
645 #define mmACP_AZ_PAGE6_LBASE_ADDR                       0x1243860
646 #define mmACP_AZ_PAGE6_UBASE_ADDR                       0x1243864
647 #define mmACP_AZ_PAGE6_PGEN_SIZE                        0x1243868
648 #define mmACP_AZ_PAGE6_OFFSET                           0x124386C
649 #define mmACP_AZ_PAGE7_LBASE_ADDR                       0x1243870
650 #define mmACP_AZ_PAGE7_UBASE_ADDR                       0x1243874
651 #define mmACP_AZ_PAGE7_PGEN_SIZE                        0x1243878
652 #define mmACP_AZ_PAGE7_OFFSET                           0x124387C
653 
654 
655 #endif
656