1 /*
2  * Copyright (c) 2019 The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for
5  * any purpose with or without fee is hereby granted, provided that the
6  * above copyright notice and this permission notice appear in all
7  * copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16  * PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 ///////////////////////////////////////////////////////////////////////////////////////////////
20 //
21 // reo_reg_seq_hwioreg.h : automatically generated by Autoseq  3.8 3/26/2019
22 // User Name:c_landav
23 //
24 // !! WARNING !!  DO NOT MANUALLY EDIT THIS FILE.
25 //
26 ///////////////////////////////////////////////////////////////////////////////////////////////
27 
28 #ifndef __REO_REG_SEQ_REG_H__
29 #define __REO_REG_SEQ_REG_H__
30 
31 #include "seq_hwio.h"
32 #include "reo_reg_seq_hwiobase.h"
33 #ifdef SCALE_INCLUDES
34 	#include "HALhwio.h"
35 #else
36 	#include "msmhwio.h"
37 #endif
38 
39 
40 ///////////////////////////////////////////////////////////////////////////////////////////////
41 // Register Data for Block REO_REG
42 ///////////////////////////////////////////////////////////////////////////////////////////////
43 
44 //// Register REO_R0_GENERAL_ENABLE ////
45 
46 #define HWIO_REO_R0_GENERAL_ENABLE_ADDR(x)                           (x+0x00000000)
47 #define HWIO_REO_R0_GENERAL_ENABLE_PHYS(x)                           (x+0x00000000)
48 #define HWIO_REO_R0_GENERAL_ENABLE_RMSK                              0x7fffffff
49 #define HWIO_REO_R0_GENERAL_ENABLE_SHFT                                       0
50 #define HWIO_REO_R0_GENERAL_ENABLE_IN(x)                             \
51 	in_dword_masked ( HWIO_REO_R0_GENERAL_ENABLE_ADDR(x), HWIO_REO_R0_GENERAL_ENABLE_RMSK)
52 #define HWIO_REO_R0_GENERAL_ENABLE_INM(x, mask)                      \
53 	in_dword_masked ( HWIO_REO_R0_GENERAL_ENABLE_ADDR(x), mask)
54 #define HWIO_REO_R0_GENERAL_ENABLE_OUT(x, val)                       \
55 	out_dword( HWIO_REO_R0_GENERAL_ENABLE_ADDR(x), val)
56 #define HWIO_REO_R0_GENERAL_ENABLE_OUTM(x, mask, val)                \
57 	do {\
58 		HWIO_INTLOCK(); \
59 		out_dword_masked_ns(HWIO_REO_R0_GENERAL_ENABLE_ADDR(x), mask, val, HWIO_REO_R0_GENERAL_ENABLE_IN(x)); \
60 		HWIO_INTFREE();\
61 	} while (0)
62 
63 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW6_RING_ENABLE_BMSK          0x40000000
64 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW6_RING_ENABLE_SHFT                0x1e
65 
66 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW5_RING_ENABLE_BMSK          0x20000000
67 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW5_RING_ENABLE_SHFT                0x1d
68 
69 #define HWIO_REO_R0_GENERAL_ENABLE_INVALIDATE_CACHE_FOR_ZERO_VLD_BMSK 0x10000000
70 #define HWIO_REO_R0_GENERAL_ENABLE_INVALIDATE_CACHE_FOR_ZERO_VLD_SHFT       0x1c
71 
72 #define HWIO_REO_R0_GENERAL_ENABLE_STRUCT_SWAP_DELINK_BMSK           0x08000000
73 #define HWIO_REO_R0_GENERAL_ENABLE_STRUCT_SWAP_DELINK_SHFT                 0x1b
74 
75 #define HWIO_REO_R0_GENERAL_ENABLE_SOFT_REORDER_DEST_RING_BMSK       0x07800000
76 #define HWIO_REO_R0_GENERAL_ENABLE_SOFT_REORDER_DEST_RING_SHFT             0x17
77 
78 #define HWIO_REO_R0_GENERAL_ENABLE_SW2REO_RING_ENABLE_BMSK           0x00400000
79 #define HWIO_REO_R0_GENERAL_ENABLE_SW2REO_RING_ENABLE_SHFT                 0x16
80 
81 #define HWIO_REO_R0_GENERAL_ENABLE_REO_CMD_RING_ENABLE_BMSK          0x00200000
82 #define HWIO_REO_R0_GENERAL_ENABLE_REO_CMD_RING_ENABLE_SHFT                0x15
83 
84 #define HWIO_REO_R0_GENERAL_ENABLE_REO_STATUS_RING_ENABLE_BMSK       0x00100000
85 #define HWIO_REO_R0_GENERAL_ENABLE_REO_STATUS_RING_ENABLE_SHFT             0x14
86 
87 #define HWIO_REO_R0_GENERAL_ENABLE_REO_RELEASE_RING_ENABLE_BMSK      0x00080000
88 #define HWIO_REO_R0_GENERAL_ENABLE_REO_RELEASE_RING_ENABLE_SHFT            0x13
89 
90 #define HWIO_REO_R0_GENERAL_ENABLE_REO2TCL_RING_ENABLE_BMSK          0x00040000
91 #define HWIO_REO_R0_GENERAL_ENABLE_REO2TCL_RING_ENABLE_SHFT                0x12
92 
93 #define HWIO_REO_R0_GENERAL_ENABLE_REO2FW_RING_ENABLE_BMSK           0x00020000
94 #define HWIO_REO_R0_GENERAL_ENABLE_REO2FW_RING_ENABLE_SHFT                 0x11
95 
96 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW4_RING_ENABLE_BMSK          0x00010000
97 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW4_RING_ENABLE_SHFT                0x10
98 
99 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW3_RING_ENABLE_BMSK          0x00008000
100 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW3_RING_ENABLE_SHFT                 0xf
101 
102 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW2_RING_ENABLE_BMSK          0x00004000
103 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW2_RING_ENABLE_SHFT                 0xe
104 
105 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW1_RING_ENABLE_BMSK          0x00002000
106 #define HWIO_REO_R0_GENERAL_ENABLE_REO2SW1_RING_ENABLE_SHFT                 0xd
107 
108 #define HWIO_REO_R0_GENERAL_ENABLE_WBM2REO_LINK_RING_ENABLE_BMSK     0x00001000
109 #define HWIO_REO_R0_GENERAL_ENABLE_WBM2REO_LINK_RING_ENABLE_SHFT            0xc
110 
111 #define HWIO_REO_R0_GENERAL_ENABLE_RXDMA2REO_RING_ENABLE_BMSK        0x00000e00
112 #define HWIO_REO_R0_GENERAL_ENABLE_RXDMA2REO_RING_ENABLE_SHFT               0x9
113 
114 #define HWIO_REO_R0_GENERAL_ENABLE_GLOBAL_PN_CHK_BMSK                0x00000100
115 #define HWIO_REO_R0_GENERAL_ENABLE_GLOBAL_PN_CHK_SHFT                       0x8
116 
117 #define HWIO_REO_R0_GENERAL_ENABLE_BAR_DEST_RING_BMSK                0x000000f0
118 #define HWIO_REO_R0_GENERAL_ENABLE_BAR_DEST_RING_SHFT                       0x4
119 
120 #define HWIO_REO_R0_GENERAL_ENABLE_AGING_FLUSH_ENABLE_BMSK           0x00000008
121 #define HWIO_REO_R0_GENERAL_ENABLE_AGING_FLUSH_ENABLE_SHFT                  0x3
122 
123 #define HWIO_REO_R0_GENERAL_ENABLE_AGING_LIST_ENABLE_BMSK            0x00000004
124 #define HWIO_REO_R0_GENERAL_ENABLE_AGING_LIST_ENABLE_SHFT                   0x2
125 
126 #define HWIO_REO_R0_GENERAL_ENABLE_REO_HWREORDER_DISABLE_BMSK        0x00000002
127 #define HWIO_REO_R0_GENERAL_ENABLE_REO_HWREORDER_DISABLE_SHFT               0x1
128 
129 #define HWIO_REO_R0_GENERAL_ENABLE_REO_ENABLE_BMSK                   0x00000001
130 #define HWIO_REO_R0_GENERAL_ENABLE_REO_ENABLE_SHFT                          0x0
131 
132 //// Register REO_R0_DESTINATION_RING_CTRL_IX_0 ////
133 
134 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_ADDR(x)               (x+0x00000004)
135 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_PHYS(x)               (x+0x00000004)
136 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_RMSK                  0xffffffff
137 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_SHFT                           0
138 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_IN(x)                 \
139 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_ADDR(x), HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_RMSK)
140 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_INM(x, mask)          \
141 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_ADDR(x), mask)
142 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_OUT(x, val)           \
143 	out_dword( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_ADDR(x), val)
144 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_OUTM(x, mask, val)    \
145 	do {\
146 		HWIO_INTLOCK(); \
147 		out_dword_masked_ns(HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_ADDR(x), mask, val, HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_IN(x)); \
148 		HWIO_INTFREE();\
149 	} while (0)
150 
151 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_7_BMSK 0xf0000000
152 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_7_SHFT       0x1c
153 
154 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_6_BMSK 0x0f000000
155 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_6_SHFT       0x18
156 
157 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_5_BMSK 0x00f00000
158 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_5_SHFT       0x14
159 
160 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_4_BMSK 0x000f0000
161 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_4_SHFT       0x10
162 
163 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_3_BMSK 0x0000f000
164 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_3_SHFT        0xc
165 
166 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_2_BMSK 0x00000f00
167 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_2_SHFT        0x8
168 
169 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_1_BMSK 0x000000f0
170 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_1_SHFT        0x4
171 
172 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_0_BMSK 0x0000000f
173 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_0_DEST_RING_MAPPING_0_SHFT        0x0
174 
175 //// Register REO_R0_DESTINATION_RING_CTRL_IX_1 ////
176 
177 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_ADDR(x)               (x+0x00000008)
178 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_PHYS(x)               (x+0x00000008)
179 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_RMSK                  0xffffffff
180 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_SHFT                           0
181 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_IN(x)                 \
182 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_ADDR(x), HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_RMSK)
183 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_INM(x, mask)          \
184 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_ADDR(x), mask)
185 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_OUT(x, val)           \
186 	out_dword( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_ADDR(x), val)
187 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_OUTM(x, mask, val)    \
188 	do {\
189 		HWIO_INTLOCK(); \
190 		out_dword_masked_ns(HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_ADDR(x), mask, val, HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_IN(x)); \
191 		HWIO_INTFREE();\
192 	} while (0)
193 
194 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_15_BMSK 0xf0000000
195 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_15_SHFT       0x1c
196 
197 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_14_BMSK 0x0f000000
198 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_14_SHFT       0x18
199 
200 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_13_BMSK 0x00f00000
201 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_13_SHFT       0x14
202 
203 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_12_BMSK 0x000f0000
204 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_12_SHFT       0x10
205 
206 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_11_BMSK 0x0000f000
207 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_11_SHFT        0xc
208 
209 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_10_BMSK 0x00000f00
210 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_10_SHFT        0x8
211 
212 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_9_BMSK 0x000000f0
213 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_9_SHFT        0x4
214 
215 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_8_BMSK 0x0000000f
216 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_1_DEST_RING_MAPPING_8_SHFT        0x0
217 
218 //// Register REO_R0_DESTINATION_RING_CTRL_IX_2 ////
219 
220 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_ADDR(x)               (x+0x0000000c)
221 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_PHYS(x)               (x+0x0000000c)
222 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_RMSK                  0xffffffff
223 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_SHFT                           0
224 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_IN(x)                 \
225 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_ADDR(x), HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_RMSK)
226 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_INM(x, mask)          \
227 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_ADDR(x), mask)
228 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_OUT(x, val)           \
229 	out_dword( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_ADDR(x), val)
230 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_OUTM(x, mask, val)    \
231 	do {\
232 		HWIO_INTLOCK(); \
233 		out_dword_masked_ns(HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_ADDR(x), mask, val, HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_IN(x)); \
234 		HWIO_INTFREE();\
235 	} while (0)
236 
237 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_23_BMSK 0xf0000000
238 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_23_SHFT       0x1c
239 
240 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_22_BMSK 0x0f000000
241 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_22_SHFT       0x18
242 
243 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_21_BMSK 0x00f00000
244 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_21_SHFT       0x14
245 
246 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_20_BMSK 0x000f0000
247 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_20_SHFT       0x10
248 
249 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_19_BMSK 0x0000f000
250 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_19_SHFT        0xc
251 
252 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_18_BMSK 0x00000f00
253 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_18_SHFT        0x8
254 
255 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_17_BMSK 0x000000f0
256 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_17_SHFT        0x4
257 
258 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_16_BMSK 0x0000000f
259 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_2_DEST_RING_MAPPING_16_SHFT        0x0
260 
261 //// Register REO_R0_DESTINATION_RING_CTRL_IX_3 ////
262 
263 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_ADDR(x)               (x+0x00000010)
264 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_PHYS(x)               (x+0x00000010)
265 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_RMSK                  0xffffffff
266 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_SHFT                           0
267 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_IN(x)                 \
268 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_ADDR(x), HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_RMSK)
269 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_INM(x, mask)          \
270 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_ADDR(x), mask)
271 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_OUT(x, val)           \
272 	out_dword( HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_ADDR(x), val)
273 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_OUTM(x, mask, val)    \
274 	do {\
275 		HWIO_INTLOCK(); \
276 		out_dword_masked_ns(HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_ADDR(x), mask, val, HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_IN(x)); \
277 		HWIO_INTFREE();\
278 	} while (0)
279 
280 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_31_BMSK 0xf0000000
281 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_31_SHFT       0x1c
282 
283 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_30_BMSK 0x0f000000
284 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_30_SHFT       0x18
285 
286 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_29_BMSK 0x00f00000
287 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_29_SHFT       0x14
288 
289 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_28_BMSK 0x000f0000
290 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_28_SHFT       0x10
291 
292 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_27_BMSK 0x0000f000
293 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_27_SHFT        0xc
294 
295 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_26_BMSK 0x00000f00
296 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_26_SHFT        0x8
297 
298 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_25_BMSK 0x000000f0
299 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_25_SHFT        0x4
300 
301 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_24_BMSK 0x0000000f
302 #define HWIO_REO_R0_DESTINATION_RING_CTRL_IX_3_DEST_RING_MAPPING_24_SHFT        0x0
303 
304 //// Register REO_R0_DESTINATION_RING_ALT_CTRL_IX_0 ////
305 
306 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_ADDR(x)           (x+0x00000014)
307 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_PHYS(x)           (x+0x00000014)
308 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_RMSK              0xffffffff
309 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_SHFT                       0
310 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_IN(x)             \
311 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_ADDR(x), HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_RMSK)
312 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_INM(x, mask)      \
313 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_ADDR(x), mask)
314 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_OUT(x, val)       \
315 	out_dword( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_ADDR(x), val)
316 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_OUTM(x, mask, val) \
317 	do {\
318 		HWIO_INTLOCK(); \
319 		out_dword_masked_ns(HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_ADDR(x), mask, val, HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_IN(x)); \
320 		HWIO_INTFREE();\
321 	} while (0)
322 
323 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_7_BMSK 0xf0000000
324 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_7_SHFT       0x1c
325 
326 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_6_BMSK 0x0f000000
327 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_6_SHFT       0x18
328 
329 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_5_BMSK 0x00f00000
330 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_5_SHFT       0x14
331 
332 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_4_BMSK 0x000f0000
333 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_4_SHFT       0x10
334 
335 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_3_BMSK 0x0000f000
336 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_3_SHFT        0xc
337 
338 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_2_BMSK 0x00000f00
339 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_2_SHFT        0x8
340 
341 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_1_BMSK 0x000000f0
342 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_1_SHFT        0x4
343 
344 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_0_BMSK 0x0000000f
345 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_0_DEST_RING_ALT_MAPPING_0_SHFT        0x0
346 
347 //// Register REO_R0_DESTINATION_RING_ALT_CTRL_IX_1 ////
348 
349 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_ADDR(x)           (x+0x00000018)
350 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_PHYS(x)           (x+0x00000018)
351 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_RMSK              0xffffffff
352 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_SHFT                       0
353 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_IN(x)             \
354 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_ADDR(x), HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_RMSK)
355 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_INM(x, mask)      \
356 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_ADDR(x), mask)
357 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_OUT(x, val)       \
358 	out_dword( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_ADDR(x), val)
359 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_OUTM(x, mask, val) \
360 	do {\
361 		HWIO_INTLOCK(); \
362 		out_dword_masked_ns(HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_ADDR(x), mask, val, HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_IN(x)); \
363 		HWIO_INTFREE();\
364 	} while (0)
365 
366 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_15_BMSK 0xf0000000
367 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_15_SHFT       0x1c
368 
369 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_14_BMSK 0x0f000000
370 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_14_SHFT       0x18
371 
372 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_13_BMSK 0x00f00000
373 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_13_SHFT       0x14
374 
375 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_12_BMSK 0x000f0000
376 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_12_SHFT       0x10
377 
378 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_11_BMSK 0x0000f000
379 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_11_SHFT        0xc
380 
381 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_10_BMSK 0x00000f00
382 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_10_SHFT        0x8
383 
384 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_9_BMSK 0x000000f0
385 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_9_SHFT        0x4
386 
387 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_8_BMSK 0x0000000f
388 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_1_DEST_RING_ALT_MAPPING_8_SHFT        0x0
389 
390 //// Register REO_R0_DESTINATION_RING_ALT_CTRL_IX_2 ////
391 
392 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_ADDR(x)           (x+0x0000001c)
393 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_PHYS(x)           (x+0x0000001c)
394 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_RMSK              0xffffffff
395 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_SHFT                       0
396 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_IN(x)             \
397 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_ADDR(x), HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_RMSK)
398 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_INM(x, mask)      \
399 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_ADDR(x), mask)
400 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_OUT(x, val)       \
401 	out_dword( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_ADDR(x), val)
402 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_OUTM(x, mask, val) \
403 	do {\
404 		HWIO_INTLOCK(); \
405 		out_dword_masked_ns(HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_ADDR(x), mask, val, HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_IN(x)); \
406 		HWIO_INTFREE();\
407 	} while (0)
408 
409 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_23_BMSK 0xf0000000
410 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_23_SHFT       0x1c
411 
412 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_22_BMSK 0x0f000000
413 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_22_SHFT       0x18
414 
415 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_21_BMSK 0x00f00000
416 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_21_SHFT       0x14
417 
418 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_20_BMSK 0x000f0000
419 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_20_SHFT       0x10
420 
421 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_19_BMSK 0x0000f000
422 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_19_SHFT        0xc
423 
424 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_18_BMSK 0x00000f00
425 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_18_SHFT        0x8
426 
427 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_17_BMSK 0x000000f0
428 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_17_SHFT        0x4
429 
430 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_16_BMSK 0x0000000f
431 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_2_DEST_RING_ALT_MAPPING_16_SHFT        0x0
432 
433 //// Register REO_R0_DESTINATION_RING_ALT_CTRL_IX_3 ////
434 
435 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_ADDR(x)           (x+0x00000020)
436 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_PHYS(x)           (x+0x00000020)
437 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_RMSK              0xffffffff
438 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_SHFT                       0
439 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_IN(x)             \
440 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_ADDR(x), HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_RMSK)
441 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_INM(x, mask)      \
442 	in_dword_masked ( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_ADDR(x), mask)
443 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_OUT(x, val)       \
444 	out_dword( HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_ADDR(x), val)
445 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_OUTM(x, mask, val) \
446 	do {\
447 		HWIO_INTLOCK(); \
448 		out_dword_masked_ns(HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_ADDR(x), mask, val, HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_IN(x)); \
449 		HWIO_INTFREE();\
450 	} while (0)
451 
452 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_31_BMSK 0xf0000000
453 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_31_SHFT       0x1c
454 
455 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_30_BMSK 0x0f000000
456 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_30_SHFT       0x18
457 
458 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_29_BMSK 0x00f00000
459 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_29_SHFT       0x14
460 
461 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_28_BMSK 0x000f0000
462 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_28_SHFT       0x10
463 
464 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_27_BMSK 0x0000f000
465 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_27_SHFT        0xc
466 
467 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_26_BMSK 0x00000f00
468 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_26_SHFT        0x8
469 
470 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_25_BMSK 0x000000f0
471 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_25_SHFT        0x4
472 
473 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_24_BMSK 0x0000000f
474 #define HWIO_REO_R0_DESTINATION_RING_ALT_CTRL_IX_3_DEST_RING_ALT_MAPPING_24_SHFT        0x0
475 
476 //// Register REO_R0_TIMESTAMP ////
477 
478 #define HWIO_REO_R0_TIMESTAMP_ADDR(x)                                (x+0x00000024)
479 #define HWIO_REO_R0_TIMESTAMP_PHYS(x)                                (x+0x00000024)
480 #define HWIO_REO_R0_TIMESTAMP_RMSK                                   0xffffffff
481 #define HWIO_REO_R0_TIMESTAMP_SHFT                                            0
482 #define HWIO_REO_R0_TIMESTAMP_IN(x)                                  \
483 	in_dword_masked ( HWIO_REO_R0_TIMESTAMP_ADDR(x), HWIO_REO_R0_TIMESTAMP_RMSK)
484 #define HWIO_REO_R0_TIMESTAMP_INM(x, mask)                           \
485 	in_dword_masked ( HWIO_REO_R0_TIMESTAMP_ADDR(x), mask)
486 #define HWIO_REO_R0_TIMESTAMP_OUT(x, val)                            \
487 	out_dword( HWIO_REO_R0_TIMESTAMP_ADDR(x), val)
488 #define HWIO_REO_R0_TIMESTAMP_OUTM(x, mask, val)                     \
489 	do {\
490 		HWIO_INTLOCK(); \
491 		out_dword_masked_ns(HWIO_REO_R0_TIMESTAMP_ADDR(x), mask, val, HWIO_REO_R0_TIMESTAMP_IN(x)); \
492 		HWIO_INTFREE();\
493 	} while (0)
494 
495 #define HWIO_REO_R0_TIMESTAMP_TIMESTAMP_BMSK                         0xffffffff
496 #define HWIO_REO_R0_TIMESTAMP_TIMESTAMP_SHFT                                0x0
497 
498 //// Register REO_R0_ERROR_DESTINATION_MAPPING_IX_0 ////
499 
500 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ADDR(x)           (x+0x00000028)
501 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_PHYS(x)           (x+0x00000028)
502 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_RMSK              0xffffffff
503 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_SHFT                       0
504 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_IN(x)             \
505 	in_dword_masked ( HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ADDR(x), HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_RMSK)
506 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_INM(x, mask)      \
507 	in_dword_masked ( HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ADDR(x), mask)
508 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_OUT(x, val)       \
509 	out_dword( HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ADDR(x), val)
510 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_OUTM(x, mask, val) \
511 	do {\
512 		HWIO_INTLOCK(); \
513 		out_dword_masked_ns(HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ADDR(x), mask, val, HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_IN(x)); \
514 		HWIO_INTFREE();\
515 	} while (0)
516 
517 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_7_BMSK 0xf0000000
518 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_7_SHFT       0x1c
519 
520 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_6_BMSK 0x0f000000
521 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_6_SHFT       0x18
522 
523 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_5_BMSK 0x00f00000
524 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_5_SHFT       0x14
525 
526 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_4_BMSK 0x000f0000
527 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_4_SHFT       0x10
528 
529 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_3_BMSK 0x0000f000
530 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_3_SHFT        0xc
531 
532 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_2_BMSK 0x00000f00
533 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_2_SHFT        0x8
534 
535 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_1_BMSK 0x000000f0
536 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_1_SHFT        0x4
537 
538 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_0_BMSK 0x0000000f
539 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_0_ERROR_DESTINATION_RING_0_SHFT        0x0
540 
541 //// Register REO_R0_ERROR_DESTINATION_MAPPING_IX_1 ////
542 
543 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ADDR(x)           (x+0x0000002c)
544 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_PHYS(x)           (x+0x0000002c)
545 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_RMSK              0xffffffff
546 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_SHFT                       0
547 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_IN(x)             \
548 	in_dword_masked ( HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ADDR(x), HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_RMSK)
549 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_INM(x, mask)      \
550 	in_dword_masked ( HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ADDR(x), mask)
551 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_OUT(x, val)       \
552 	out_dword( HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ADDR(x), val)
553 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_OUTM(x, mask, val) \
554 	do {\
555 		HWIO_INTLOCK(); \
556 		out_dword_masked_ns(HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ADDR(x), mask, val, HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_IN(x)); \
557 		HWIO_INTFREE();\
558 	} while (0)
559 
560 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_OTHER_BMSK 0xf0000000
561 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_OTHER_SHFT       0x1c
562 
563 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_14_BMSK 0x0f000000
564 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_14_SHFT       0x18
565 
566 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_13_BMSK 0x00f00000
567 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_13_SHFT       0x14
568 
569 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_12_BMSK 0x000f0000
570 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_12_SHFT       0x10
571 
572 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_11_BMSK 0x0000f000
573 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_11_SHFT        0xc
574 
575 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_10_BMSK 0x00000f00
576 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_10_SHFT        0x8
577 
578 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_9_BMSK 0x000000f0
579 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_9_SHFT        0x4
580 
581 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_8_BMSK 0x0000000f
582 #define HWIO_REO_R0_ERROR_DESTINATION_MAPPING_IX_1_ERROR_DESTINATION_RING_8_SHFT        0x0
583 
584 //// Register REO_R0_IDLE_REQ_CTRL ////
585 
586 #define HWIO_REO_R0_IDLE_REQ_CTRL_ADDR(x)                            (x+0x00000030)
587 #define HWIO_REO_R0_IDLE_REQ_CTRL_PHYS(x)                            (x+0x00000030)
588 #define HWIO_REO_R0_IDLE_REQ_CTRL_RMSK                               0x00000003
589 #define HWIO_REO_R0_IDLE_REQ_CTRL_SHFT                                        0
590 #define HWIO_REO_R0_IDLE_REQ_CTRL_IN(x)                              \
591 	in_dword_masked ( HWIO_REO_R0_IDLE_REQ_CTRL_ADDR(x), HWIO_REO_R0_IDLE_REQ_CTRL_RMSK)
592 #define HWIO_REO_R0_IDLE_REQ_CTRL_INM(x, mask)                       \
593 	in_dword_masked ( HWIO_REO_R0_IDLE_REQ_CTRL_ADDR(x), mask)
594 #define HWIO_REO_R0_IDLE_REQ_CTRL_OUT(x, val)                        \
595 	out_dword( HWIO_REO_R0_IDLE_REQ_CTRL_ADDR(x), val)
596 #define HWIO_REO_R0_IDLE_REQ_CTRL_OUTM(x, mask, val)                 \
597 	do {\
598 		HWIO_INTLOCK(); \
599 		out_dword_masked_ns(HWIO_REO_R0_IDLE_REQ_CTRL_ADDR(x), mask, val, HWIO_REO_R0_IDLE_REQ_CTRL_IN(x)); \
600 		HWIO_INTFREE();\
601 	} while (0)
602 
603 #define HWIO_REO_R0_IDLE_REQ_CTRL_IDLE_REQ_FLUSH_CACHE_BMSK          0x00000002
604 #define HWIO_REO_R0_IDLE_REQ_CTRL_IDLE_REQ_FLUSH_CACHE_SHFT                 0x1
605 
606 #define HWIO_REO_R0_IDLE_REQ_CTRL_IDLE_REQ_FLUSH_AGE_LIST_BMSK       0x00000001
607 #define HWIO_REO_R0_IDLE_REQ_CTRL_IDLE_REQ_FLUSH_AGE_LIST_SHFT              0x0
608 
609 //// Register REO_R0_RXDMA2REO0_RING_BASE_LSB ////
610 
611 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_ADDR(x)                 (x+0x00000034)
612 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_PHYS(x)                 (x+0x00000034)
613 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_RMSK                    0xffffffff
614 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_SHFT                             0
615 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_IN(x)                   \
616 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_RMSK)
617 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_INM(x, mask)            \
618 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_ADDR(x), mask)
619 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_OUT(x, val)             \
620 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_ADDR(x), val)
621 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_OUTM(x, mask, val)      \
622 	do {\
623 		HWIO_INTLOCK(); \
624 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_IN(x)); \
625 		HWIO_INTFREE();\
626 	} while (0)
627 
628 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK 0xffffffff
629 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT        0x0
630 
631 //// Register REO_R0_RXDMA2REO0_RING_BASE_MSB ////
632 
633 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_ADDR(x)                 (x+0x00000038)
634 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_PHYS(x)                 (x+0x00000038)
635 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_RMSK                    0x00ffffff
636 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_SHFT                             0
637 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_IN(x)                   \
638 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_RMSK)
639 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_INM(x, mask)            \
640 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_ADDR(x), mask)
641 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_OUT(x, val)             \
642 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_ADDR(x), val)
643 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_OUTM(x, mask, val)      \
644 	do {\
645 		HWIO_INTLOCK(); \
646 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_IN(x)); \
647 		HWIO_INTFREE();\
648 	} while (0)
649 
650 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_RING_SIZE_BMSK          0x00ffff00
651 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_RING_SIZE_SHFT                 0x8
652 
653 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK 0x000000ff
654 #define HWIO_REO_R0_RXDMA2REO0_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT        0x0
655 
656 //// Register REO_R0_RXDMA2REO0_RING_ID ////
657 
658 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_ADDR(x)                       (x+0x0000003c)
659 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_PHYS(x)                       (x+0x0000003c)
660 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_RMSK                          0x000000ff
661 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_SHFT                                   0
662 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_IN(x)                         \
663 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_ID_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_ID_RMSK)
664 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_INM(x, mask)                  \
665 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_ID_ADDR(x), mask)
666 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_OUT(x, val)                   \
667 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_ID_ADDR(x), val)
668 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_OUTM(x, mask, val)            \
669 	do {\
670 		HWIO_INTLOCK(); \
671 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_ID_IN(x)); \
672 		HWIO_INTFREE();\
673 	} while (0)
674 
675 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_ENTRY_SIZE_BMSK               0x000000ff
676 #define HWIO_REO_R0_RXDMA2REO0_RING_ID_ENTRY_SIZE_SHFT                      0x0
677 
678 //// Register REO_R0_RXDMA2REO0_RING_STATUS ////
679 
680 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_ADDR(x)                   (x+0x00000040)
681 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_PHYS(x)                   (x+0x00000040)
682 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_RMSK                      0xffffffff
683 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_SHFT                               0
684 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_IN(x)                     \
685 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_STATUS_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_STATUS_RMSK)
686 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_INM(x, mask)              \
687 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_STATUS_ADDR(x), mask)
688 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_OUT(x, val)               \
689 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_STATUS_ADDR(x), val)
690 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_OUTM(x, mask, val)        \
691 	do {\
692 		HWIO_INTLOCK(); \
693 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_STATUS_IN(x)); \
694 		HWIO_INTFREE();\
695 	} while (0)
696 
697 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_NUM_AVAIL_WORDS_BMSK      0xffff0000
698 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_NUM_AVAIL_WORDS_SHFT            0x10
699 
700 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_NUM_VALID_WORDS_BMSK      0x0000ffff
701 #define HWIO_REO_R0_RXDMA2REO0_RING_STATUS_NUM_VALID_WORDS_SHFT             0x0
702 
703 //// Register REO_R0_RXDMA2REO0_RING_MISC ////
704 
705 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_ADDR(x)                     (x+0x00000044)
706 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_PHYS(x)                     (x+0x00000044)
707 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_RMSK                        0x003fffff
708 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SHFT                                 0
709 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_IN(x)                       \
710 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_MISC_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_MISC_RMSK)
711 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_INM(x, mask)                \
712 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_MISC_ADDR(x), mask)
713 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_OUT(x, val)                 \
714 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_MISC_ADDR(x), val)
715 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_OUTM(x, mask, val)          \
716 	do {\
717 		HWIO_INTLOCK(); \
718 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_MISC_IN(x)); \
719 		HWIO_INTFREE();\
720 	} while (0)
721 
722 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SPARE_CONTROL_BMSK          0x003fc000
723 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SPARE_CONTROL_SHFT                 0xe
724 
725 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SRNG_SM_STATE2_BMSK         0x00003000
726 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SRNG_SM_STATE2_SHFT                0xc
727 
728 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SRNG_SM_STATE1_BMSK         0x00000f00
729 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SRNG_SM_STATE1_SHFT                0x8
730 
731 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SRNG_IS_IDLE_BMSK           0x00000080
732 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SRNG_IS_IDLE_SHFT                  0x7
733 
734 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SRNG_ENABLE_BMSK            0x00000040
735 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SRNG_ENABLE_SHFT                   0x6
736 
737 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_DATA_TLV_SWAP_BIT_BMSK      0x00000020
738 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_DATA_TLV_SWAP_BIT_SHFT             0x5
739 
740 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_HOST_FW_SWAP_BIT_BMSK       0x00000010
741 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_HOST_FW_SWAP_BIT_SHFT              0x4
742 
743 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_MSI_SWAP_BIT_BMSK           0x00000008
744 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_MSI_SWAP_BIT_SHFT                  0x3
745 
746 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SECURITY_BIT_BMSK           0x00000004
747 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_SECURITY_BIT_SHFT                  0x2
748 
749 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_LOOPCNT_DISABLE_BMSK        0x00000002
750 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_LOOPCNT_DISABLE_SHFT               0x1
751 
752 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_RING_ID_DISABLE_BMSK        0x00000001
753 #define HWIO_REO_R0_RXDMA2REO0_RING_MISC_RING_ID_DISABLE_SHFT               0x0
754 
755 //// Register REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB ////
756 
757 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_ADDR(x)              (x+0x00000050)
758 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_PHYS(x)              (x+0x00000050)
759 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_RMSK                 0xffffffff
760 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_SHFT                          0
761 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_IN(x)                \
762 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_RMSK)
763 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_INM(x, mask)         \
764 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_ADDR(x), mask)
765 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_OUT(x, val)          \
766 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_ADDR(x), val)
767 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_OUTM(x, mask, val)   \
768 	do {\
769 		HWIO_INTLOCK(); \
770 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_IN(x)); \
771 		HWIO_INTFREE();\
772 	} while (0)
773 
774 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_BMSK 0xffffffff
775 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_SHFT        0x0
776 
777 //// Register REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB ////
778 
779 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_ADDR(x)              (x+0x00000054)
780 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_PHYS(x)              (x+0x00000054)
781 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_RMSK                 0x000000ff
782 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_SHFT                          0
783 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_IN(x)                \
784 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_RMSK)
785 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_INM(x, mask)         \
786 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_ADDR(x), mask)
787 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_OUT(x, val)          \
788 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_ADDR(x), val)
789 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_OUTM(x, mask, val)   \
790 	do {\
791 		HWIO_INTLOCK(); \
792 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_IN(x)); \
793 		HWIO_INTFREE();\
794 	} while (0)
795 
796 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_BMSK 0x000000ff
797 #define HWIO_REO_R0_RXDMA2REO0_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_SHFT        0x0
798 
799 //// Register REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0 ////
800 
801 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_ADDR(x)   (x+0x00000064)
802 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_PHYS(x)   (x+0x00000064)
803 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_RMSK      0xffffffff
804 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_SHFT               0
805 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_IN(x)     \
806 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_RMSK)
807 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_INM(x, mask) \
808 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask)
809 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_OUT(x, val) \
810 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), val)
811 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_OUTM(x, mask, val) \
812 	do {\
813 		HWIO_INTLOCK(); \
814 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_IN(x)); \
815 		HWIO_INTFREE();\
816 	} while (0)
817 
818 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
819 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
820 
821 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_BMSK 0x00008000
822 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_SHFT        0xf
823 
824 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
825 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_SHFT        0x0
826 
827 //// Register REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1 ////
828 
829 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_ADDR(x)   (x+0x00000068)
830 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_PHYS(x)   (x+0x00000068)
831 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_RMSK      0x0000ffff
832 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_SHFT               0
833 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_IN(x)     \
834 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_RMSK)
835 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_INM(x, mask) \
836 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask)
837 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_OUT(x, val) \
838 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), val)
839 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_OUTM(x, mask, val) \
840 	do {\
841 		HWIO_INTLOCK(); \
842 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_IN(x)); \
843 		HWIO_INTFREE();\
844 	} while (0)
845 
846 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_BMSK 0x0000ffff
847 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_SHFT        0x0
848 
849 //// Register REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS ////
850 
851 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_ADDR(x)      (x+0x0000006c)
852 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_PHYS(x)      (x+0x0000006c)
853 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_RMSK         0xffffffff
854 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_SHFT                  0
855 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_IN(x)        \
856 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_RMSK)
857 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_INM(x, mask) \
858 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_ADDR(x), mask)
859 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_OUT(x, val)  \
860 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_ADDR(x), val)
861 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_OUTM(x, mask, val) \
862 	do {\
863 		HWIO_INTLOCK(); \
864 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_IN(x)); \
865 		HWIO_INTFREE();\
866 	} while (0)
867 
868 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
869 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
870 
871 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_BMSK 0x00008000
872 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_SHFT        0xf
873 
874 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
875 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
876 
877 //// Register REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER ////
878 
879 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_ADDR(x)   (x+0x00000070)
880 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_PHYS(x)   (x+0x00000070)
881 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_RMSK      0x000003ff
882 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_SHFT               0
883 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_IN(x)     \
884 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_RMSK)
885 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_INM(x, mask) \
886 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask)
887 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_OUT(x, val) \
888 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), val)
889 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_OUTM(x, mask, val) \
890 	do {\
891 		HWIO_INTLOCK(); \
892 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_IN(x)); \
893 		HWIO_INTFREE();\
894 	} while (0)
895 
896 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_BMSK 0x000003ff
897 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_SHFT        0x0
898 
899 //// Register REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER ////
900 
901 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_ADDR(x)  (x+0x00000074)
902 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_PHYS(x)  (x+0x00000074)
903 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_RMSK     0x00000007
904 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_SHFT              0
905 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_IN(x)    \
906 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_RMSK)
907 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_INM(x, mask) \
908 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask)
909 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_OUT(x, val) \
910 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), val)
911 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_OUTM(x, mask, val) \
912 	do {\
913 		HWIO_INTLOCK(); \
914 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_IN(x)); \
915 		HWIO_INTFREE();\
916 	} while (0)
917 
918 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_MODE_BMSK 0x00000007
919 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_TIMER_MODE_SHFT        0x0
920 
921 //// Register REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS ////
922 
923 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_ADDR(x) (x+0x00000078)
924 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_PHYS(x) (x+0x00000078)
925 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_RMSK    0x00ffffff
926 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_SHFT             0
927 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_IN(x)   \
928 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_RMSK)
929 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_INM(x, mask) \
930 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask)
931 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_OUT(x, val) \
932 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), val)
933 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_OUTM(x, mask, val) \
934 	do {\
935 		HWIO_INTLOCK(); \
936 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_IN(x)); \
937 		HWIO_INTFREE();\
938 	} while (0)
939 
940 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_BMSK 0x00ff0000
941 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_SHFT       0x10
942 
943 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_BMSK 0x0000ffff
944 #define HWIO_REO_R0_RXDMA2REO0_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_SHFT        0x0
945 
946 //// Register REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB ////
947 
948 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_ADDR(x)            (x+0x0000007c)
949 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_PHYS(x)            (x+0x0000007c)
950 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_RMSK               0xffffffff
951 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_SHFT                        0
952 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_IN(x)              \
953 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_RMSK)
954 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_INM(x, mask)       \
955 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_ADDR(x), mask)
956 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_OUT(x, val)        \
957 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_ADDR(x), val)
958 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_OUTM(x, mask, val) \
959 	do {\
960 		HWIO_INTLOCK(); \
961 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_IN(x)); \
962 		HWIO_INTFREE();\
963 	} while (0)
964 
965 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_ADDR_BMSK          0xffffffff
966 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_LSB_ADDR_SHFT                 0x0
967 
968 //// Register REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB ////
969 
970 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_ADDR(x)            (x+0x00000080)
971 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_PHYS(x)            (x+0x00000080)
972 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_RMSK               0x000001ff
973 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_SHFT                        0
974 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_IN(x)              \
975 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_RMSK)
976 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_INM(x, mask)       \
977 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_ADDR(x), mask)
978 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_OUT(x, val)        \
979 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_ADDR(x), val)
980 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_OUTM(x, mask, val) \
981 	do {\
982 		HWIO_INTLOCK(); \
983 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_IN(x)); \
984 		HWIO_INTFREE();\
985 	} while (0)
986 
987 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK   0x00000100
988 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT          0x8
989 
990 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_ADDR_BMSK          0x000000ff
991 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_BASE_MSB_ADDR_SHFT                 0x0
992 
993 //// Register REO_R0_RXDMA2REO0_RING_MSI1_DATA ////
994 
995 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_ADDR(x)                (x+0x00000084)
996 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_PHYS(x)                (x+0x00000084)
997 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_RMSK                   0xffffffff
998 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_SHFT                            0
999 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_IN(x)                  \
1000 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_RMSK)
1001 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_INM(x, mask)           \
1002 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_ADDR(x), mask)
1003 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_OUT(x, val)            \
1004 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_ADDR(x), val)
1005 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_OUTM(x, mask, val)     \
1006 	do {\
1007 		HWIO_INTLOCK(); \
1008 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_IN(x)); \
1009 		HWIO_INTFREE();\
1010 	} while (0)
1011 
1012 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_VALUE_BMSK             0xffffffff
1013 #define HWIO_REO_R0_RXDMA2REO0_RING_MSI1_DATA_VALUE_SHFT                    0x0
1014 
1015 //// Register REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET ////
1016 
1017 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_ADDR(x)          (x+0x00000088)
1018 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_PHYS(x)          (x+0x00000088)
1019 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_RMSK             0x0000ffff
1020 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_SHFT                      0
1021 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_IN(x)            \
1022 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_RMSK)
1023 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_INM(x, mask)     \
1024 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
1025 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_OUT(x, val)      \
1026 	out_dword( HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_ADDR(x), val)
1027 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val) \
1028 	do {\
1029 		HWIO_INTLOCK(); \
1030 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_IN(x)); \
1031 		HWIO_INTFREE();\
1032 	} while (0)
1033 
1034 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
1035 #define HWIO_REO_R0_RXDMA2REO0_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
1036 
1037 //// Register REO_R0_RXDMA2REO1_RING_BASE_LSB ////
1038 
1039 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_ADDR(x)                 (x+0x0000008c)
1040 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_PHYS(x)                 (x+0x0000008c)
1041 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_RMSK                    0xffffffff
1042 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_SHFT                             0
1043 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_IN(x)                   \
1044 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_RMSK)
1045 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_INM(x, mask)            \
1046 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_ADDR(x), mask)
1047 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_OUT(x, val)             \
1048 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_ADDR(x), val)
1049 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_OUTM(x, mask, val)      \
1050 	do {\
1051 		HWIO_INTLOCK(); \
1052 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_IN(x)); \
1053 		HWIO_INTFREE();\
1054 	} while (0)
1055 
1056 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK 0xffffffff
1057 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT        0x0
1058 
1059 //// Register REO_R0_RXDMA2REO1_RING_BASE_MSB ////
1060 
1061 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_ADDR(x)                 (x+0x00000090)
1062 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_PHYS(x)                 (x+0x00000090)
1063 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_RMSK                    0x00ffffff
1064 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_SHFT                             0
1065 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_IN(x)                   \
1066 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_RMSK)
1067 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_INM(x, mask)            \
1068 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_ADDR(x), mask)
1069 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_OUT(x, val)             \
1070 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_ADDR(x), val)
1071 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_OUTM(x, mask, val)      \
1072 	do {\
1073 		HWIO_INTLOCK(); \
1074 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_IN(x)); \
1075 		HWIO_INTFREE();\
1076 	} while (0)
1077 
1078 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_RING_SIZE_BMSK          0x00ffff00
1079 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_RING_SIZE_SHFT                 0x8
1080 
1081 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK 0x000000ff
1082 #define HWIO_REO_R0_RXDMA2REO1_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT        0x0
1083 
1084 //// Register REO_R0_RXDMA2REO1_RING_ID ////
1085 
1086 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_ADDR(x)                       (x+0x00000094)
1087 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_PHYS(x)                       (x+0x00000094)
1088 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_RMSK                          0x000000ff
1089 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_SHFT                                   0
1090 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_IN(x)                         \
1091 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_ID_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_ID_RMSK)
1092 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_INM(x, mask)                  \
1093 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_ID_ADDR(x), mask)
1094 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_OUT(x, val)                   \
1095 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_ID_ADDR(x), val)
1096 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_OUTM(x, mask, val)            \
1097 	do {\
1098 		HWIO_INTLOCK(); \
1099 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_ID_IN(x)); \
1100 		HWIO_INTFREE();\
1101 	} while (0)
1102 
1103 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_ENTRY_SIZE_BMSK               0x000000ff
1104 #define HWIO_REO_R0_RXDMA2REO1_RING_ID_ENTRY_SIZE_SHFT                      0x0
1105 
1106 //// Register REO_R0_RXDMA2REO1_RING_STATUS ////
1107 
1108 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_ADDR(x)                   (x+0x00000098)
1109 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_PHYS(x)                   (x+0x00000098)
1110 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_RMSK                      0xffffffff
1111 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_SHFT                               0
1112 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_IN(x)                     \
1113 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_STATUS_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_STATUS_RMSK)
1114 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_INM(x, mask)              \
1115 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_STATUS_ADDR(x), mask)
1116 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_OUT(x, val)               \
1117 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_STATUS_ADDR(x), val)
1118 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_OUTM(x, mask, val)        \
1119 	do {\
1120 		HWIO_INTLOCK(); \
1121 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_STATUS_IN(x)); \
1122 		HWIO_INTFREE();\
1123 	} while (0)
1124 
1125 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_NUM_AVAIL_WORDS_BMSK      0xffff0000
1126 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_NUM_AVAIL_WORDS_SHFT            0x10
1127 
1128 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_NUM_VALID_WORDS_BMSK      0x0000ffff
1129 #define HWIO_REO_R0_RXDMA2REO1_RING_STATUS_NUM_VALID_WORDS_SHFT             0x0
1130 
1131 //// Register REO_R0_RXDMA2REO1_RING_MISC ////
1132 
1133 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_ADDR(x)                     (x+0x0000009c)
1134 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_PHYS(x)                     (x+0x0000009c)
1135 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_RMSK                        0x003fffff
1136 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SHFT                                 0
1137 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_IN(x)                       \
1138 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_MISC_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_MISC_RMSK)
1139 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_INM(x, mask)                \
1140 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_MISC_ADDR(x), mask)
1141 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_OUT(x, val)                 \
1142 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_MISC_ADDR(x), val)
1143 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_OUTM(x, mask, val)          \
1144 	do {\
1145 		HWIO_INTLOCK(); \
1146 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_MISC_IN(x)); \
1147 		HWIO_INTFREE();\
1148 	} while (0)
1149 
1150 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SPARE_CONTROL_BMSK          0x003fc000
1151 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SPARE_CONTROL_SHFT                 0xe
1152 
1153 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SRNG_SM_STATE2_BMSK         0x00003000
1154 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SRNG_SM_STATE2_SHFT                0xc
1155 
1156 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SRNG_SM_STATE1_BMSK         0x00000f00
1157 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SRNG_SM_STATE1_SHFT                0x8
1158 
1159 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SRNG_IS_IDLE_BMSK           0x00000080
1160 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SRNG_IS_IDLE_SHFT                  0x7
1161 
1162 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SRNG_ENABLE_BMSK            0x00000040
1163 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SRNG_ENABLE_SHFT                   0x6
1164 
1165 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_DATA_TLV_SWAP_BIT_BMSK      0x00000020
1166 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_DATA_TLV_SWAP_BIT_SHFT             0x5
1167 
1168 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_HOST_FW_SWAP_BIT_BMSK       0x00000010
1169 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_HOST_FW_SWAP_BIT_SHFT              0x4
1170 
1171 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_MSI_SWAP_BIT_BMSK           0x00000008
1172 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_MSI_SWAP_BIT_SHFT                  0x3
1173 
1174 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SECURITY_BIT_BMSK           0x00000004
1175 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_SECURITY_BIT_SHFT                  0x2
1176 
1177 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_LOOPCNT_DISABLE_BMSK        0x00000002
1178 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_LOOPCNT_DISABLE_SHFT               0x1
1179 
1180 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_RING_ID_DISABLE_BMSK        0x00000001
1181 #define HWIO_REO_R0_RXDMA2REO1_RING_MISC_RING_ID_DISABLE_SHFT               0x0
1182 
1183 //// Register REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB ////
1184 
1185 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_ADDR(x)              (x+0x000000a8)
1186 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_PHYS(x)              (x+0x000000a8)
1187 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_RMSK                 0xffffffff
1188 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_SHFT                          0
1189 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_IN(x)                \
1190 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_RMSK)
1191 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_INM(x, mask)         \
1192 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_ADDR(x), mask)
1193 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_OUT(x, val)          \
1194 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_ADDR(x), val)
1195 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_OUTM(x, mask, val)   \
1196 	do {\
1197 		HWIO_INTLOCK(); \
1198 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_IN(x)); \
1199 		HWIO_INTFREE();\
1200 	} while (0)
1201 
1202 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_BMSK 0xffffffff
1203 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_SHFT        0x0
1204 
1205 //// Register REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB ////
1206 
1207 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_ADDR(x)              (x+0x000000ac)
1208 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_PHYS(x)              (x+0x000000ac)
1209 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_RMSK                 0x000000ff
1210 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_SHFT                          0
1211 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_IN(x)                \
1212 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_RMSK)
1213 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_INM(x, mask)         \
1214 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_ADDR(x), mask)
1215 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_OUT(x, val)          \
1216 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_ADDR(x), val)
1217 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_OUTM(x, mask, val)   \
1218 	do {\
1219 		HWIO_INTLOCK(); \
1220 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_IN(x)); \
1221 		HWIO_INTFREE();\
1222 	} while (0)
1223 
1224 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_BMSK 0x000000ff
1225 #define HWIO_REO_R0_RXDMA2REO1_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_SHFT        0x0
1226 
1227 //// Register REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0 ////
1228 
1229 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_ADDR(x)   (x+0x000000bc)
1230 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_PHYS(x)   (x+0x000000bc)
1231 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_RMSK      0xffffffff
1232 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_SHFT               0
1233 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_IN(x)     \
1234 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_RMSK)
1235 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_INM(x, mask) \
1236 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask)
1237 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_OUT(x, val) \
1238 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), val)
1239 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_OUTM(x, mask, val) \
1240 	do {\
1241 		HWIO_INTLOCK(); \
1242 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_IN(x)); \
1243 		HWIO_INTFREE();\
1244 	} while (0)
1245 
1246 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
1247 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
1248 
1249 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_BMSK 0x00008000
1250 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_SHFT        0xf
1251 
1252 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
1253 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_SHFT        0x0
1254 
1255 //// Register REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1 ////
1256 
1257 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_ADDR(x)   (x+0x000000c0)
1258 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_PHYS(x)   (x+0x000000c0)
1259 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_RMSK      0x0000ffff
1260 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_SHFT               0
1261 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_IN(x)     \
1262 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_RMSK)
1263 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_INM(x, mask) \
1264 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask)
1265 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_OUT(x, val) \
1266 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), val)
1267 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_OUTM(x, mask, val) \
1268 	do {\
1269 		HWIO_INTLOCK(); \
1270 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_IN(x)); \
1271 		HWIO_INTFREE();\
1272 	} while (0)
1273 
1274 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_BMSK 0x0000ffff
1275 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_SHFT        0x0
1276 
1277 //// Register REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS ////
1278 
1279 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_ADDR(x)      (x+0x000000c4)
1280 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_PHYS(x)      (x+0x000000c4)
1281 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_RMSK         0xffffffff
1282 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_SHFT                  0
1283 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_IN(x)        \
1284 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_RMSK)
1285 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_INM(x, mask) \
1286 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_ADDR(x), mask)
1287 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_OUT(x, val)  \
1288 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_ADDR(x), val)
1289 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_OUTM(x, mask, val) \
1290 	do {\
1291 		HWIO_INTLOCK(); \
1292 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_IN(x)); \
1293 		HWIO_INTFREE();\
1294 	} while (0)
1295 
1296 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
1297 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
1298 
1299 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_BMSK 0x00008000
1300 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_SHFT        0xf
1301 
1302 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
1303 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
1304 
1305 //// Register REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER ////
1306 
1307 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_ADDR(x)   (x+0x000000c8)
1308 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_PHYS(x)   (x+0x000000c8)
1309 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_RMSK      0x000003ff
1310 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_SHFT               0
1311 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_IN(x)     \
1312 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_RMSK)
1313 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_INM(x, mask) \
1314 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask)
1315 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_OUT(x, val) \
1316 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), val)
1317 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_OUTM(x, mask, val) \
1318 	do {\
1319 		HWIO_INTLOCK(); \
1320 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_IN(x)); \
1321 		HWIO_INTFREE();\
1322 	} while (0)
1323 
1324 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_BMSK 0x000003ff
1325 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_SHFT        0x0
1326 
1327 //// Register REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER ////
1328 
1329 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_ADDR(x)  (x+0x000000cc)
1330 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_PHYS(x)  (x+0x000000cc)
1331 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_RMSK     0x00000007
1332 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_SHFT              0
1333 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_IN(x)    \
1334 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_RMSK)
1335 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_INM(x, mask) \
1336 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask)
1337 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_OUT(x, val) \
1338 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), val)
1339 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_OUTM(x, mask, val) \
1340 	do {\
1341 		HWIO_INTLOCK(); \
1342 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_IN(x)); \
1343 		HWIO_INTFREE();\
1344 	} while (0)
1345 
1346 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_MODE_BMSK 0x00000007
1347 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_TIMER_MODE_SHFT        0x0
1348 
1349 //// Register REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS ////
1350 
1351 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_ADDR(x) (x+0x000000d0)
1352 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_PHYS(x) (x+0x000000d0)
1353 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_RMSK    0x00ffffff
1354 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_SHFT             0
1355 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_IN(x)   \
1356 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_RMSK)
1357 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_INM(x, mask) \
1358 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask)
1359 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_OUT(x, val) \
1360 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), val)
1361 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_OUTM(x, mask, val) \
1362 	do {\
1363 		HWIO_INTLOCK(); \
1364 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_IN(x)); \
1365 		HWIO_INTFREE();\
1366 	} while (0)
1367 
1368 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_BMSK 0x00ff0000
1369 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_SHFT       0x10
1370 
1371 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_BMSK 0x0000ffff
1372 #define HWIO_REO_R0_RXDMA2REO1_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_SHFT        0x0
1373 
1374 //// Register REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB ////
1375 
1376 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_ADDR(x)            (x+0x000000d4)
1377 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_PHYS(x)            (x+0x000000d4)
1378 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_RMSK               0xffffffff
1379 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_SHFT                        0
1380 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_IN(x)              \
1381 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_RMSK)
1382 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_INM(x, mask)       \
1383 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_ADDR(x), mask)
1384 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_OUT(x, val)        \
1385 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_ADDR(x), val)
1386 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_OUTM(x, mask, val) \
1387 	do {\
1388 		HWIO_INTLOCK(); \
1389 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_IN(x)); \
1390 		HWIO_INTFREE();\
1391 	} while (0)
1392 
1393 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_ADDR_BMSK          0xffffffff
1394 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_LSB_ADDR_SHFT                 0x0
1395 
1396 //// Register REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB ////
1397 
1398 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_ADDR(x)            (x+0x000000d8)
1399 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_PHYS(x)            (x+0x000000d8)
1400 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_RMSK               0x000001ff
1401 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_SHFT                        0
1402 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_IN(x)              \
1403 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_RMSK)
1404 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_INM(x, mask)       \
1405 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_ADDR(x), mask)
1406 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_OUT(x, val)        \
1407 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_ADDR(x), val)
1408 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_OUTM(x, mask, val) \
1409 	do {\
1410 		HWIO_INTLOCK(); \
1411 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_IN(x)); \
1412 		HWIO_INTFREE();\
1413 	} while (0)
1414 
1415 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK   0x00000100
1416 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT          0x8
1417 
1418 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_ADDR_BMSK          0x000000ff
1419 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_BASE_MSB_ADDR_SHFT                 0x0
1420 
1421 //// Register REO_R0_RXDMA2REO1_RING_MSI1_DATA ////
1422 
1423 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_ADDR(x)                (x+0x000000dc)
1424 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_PHYS(x)                (x+0x000000dc)
1425 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_RMSK                   0xffffffff
1426 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_SHFT                            0
1427 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_IN(x)                  \
1428 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_RMSK)
1429 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_INM(x, mask)           \
1430 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_ADDR(x), mask)
1431 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_OUT(x, val)            \
1432 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_ADDR(x), val)
1433 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_OUTM(x, mask, val)     \
1434 	do {\
1435 		HWIO_INTLOCK(); \
1436 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_IN(x)); \
1437 		HWIO_INTFREE();\
1438 	} while (0)
1439 
1440 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_VALUE_BMSK             0xffffffff
1441 #define HWIO_REO_R0_RXDMA2REO1_RING_MSI1_DATA_VALUE_SHFT                    0x0
1442 
1443 //// Register REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET ////
1444 
1445 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_ADDR(x)          (x+0x000000e0)
1446 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_PHYS(x)          (x+0x000000e0)
1447 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_RMSK             0x0000ffff
1448 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_SHFT                      0
1449 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_IN(x)            \
1450 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_RMSK)
1451 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_INM(x, mask)     \
1452 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
1453 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_OUT(x, val)      \
1454 	out_dword( HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_ADDR(x), val)
1455 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val) \
1456 	do {\
1457 		HWIO_INTLOCK(); \
1458 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_IN(x)); \
1459 		HWIO_INTFREE();\
1460 	} while (0)
1461 
1462 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
1463 #define HWIO_REO_R0_RXDMA2REO1_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
1464 
1465 //// Register REO_R0_RXDMA2REO2_RING_BASE_LSB ////
1466 
1467 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_ADDR(x)                 (x+0x000000e4)
1468 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_PHYS(x)                 (x+0x000000e4)
1469 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_RMSK                    0xffffffff
1470 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_SHFT                             0
1471 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_IN(x)                   \
1472 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_RMSK)
1473 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_INM(x, mask)            \
1474 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_ADDR(x), mask)
1475 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_OUT(x, val)             \
1476 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_ADDR(x), val)
1477 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_OUTM(x, mask, val)      \
1478 	do {\
1479 		HWIO_INTLOCK(); \
1480 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_IN(x)); \
1481 		HWIO_INTFREE();\
1482 	} while (0)
1483 
1484 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK 0xffffffff
1485 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT        0x0
1486 
1487 //// Register REO_R0_RXDMA2REO2_RING_BASE_MSB ////
1488 
1489 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_ADDR(x)                 (x+0x000000e8)
1490 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_PHYS(x)                 (x+0x000000e8)
1491 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_RMSK                    0x00ffffff
1492 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_SHFT                             0
1493 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_IN(x)                   \
1494 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_RMSK)
1495 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_INM(x, mask)            \
1496 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_ADDR(x), mask)
1497 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_OUT(x, val)             \
1498 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_ADDR(x), val)
1499 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_OUTM(x, mask, val)      \
1500 	do {\
1501 		HWIO_INTLOCK(); \
1502 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_IN(x)); \
1503 		HWIO_INTFREE();\
1504 	} while (0)
1505 
1506 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_RING_SIZE_BMSK          0x00ffff00
1507 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_RING_SIZE_SHFT                 0x8
1508 
1509 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK 0x000000ff
1510 #define HWIO_REO_R0_RXDMA2REO2_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT        0x0
1511 
1512 //// Register REO_R0_RXDMA2REO2_RING_ID ////
1513 
1514 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_ADDR(x)                       (x+0x000000ec)
1515 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_PHYS(x)                       (x+0x000000ec)
1516 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_RMSK                          0x000000ff
1517 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_SHFT                                   0
1518 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_IN(x)                         \
1519 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_ID_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_ID_RMSK)
1520 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_INM(x, mask)                  \
1521 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_ID_ADDR(x), mask)
1522 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_OUT(x, val)                   \
1523 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_ID_ADDR(x), val)
1524 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_OUTM(x, mask, val)            \
1525 	do {\
1526 		HWIO_INTLOCK(); \
1527 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_ID_IN(x)); \
1528 		HWIO_INTFREE();\
1529 	} while (0)
1530 
1531 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_ENTRY_SIZE_BMSK               0x000000ff
1532 #define HWIO_REO_R0_RXDMA2REO2_RING_ID_ENTRY_SIZE_SHFT                      0x0
1533 
1534 //// Register REO_R0_RXDMA2REO2_RING_STATUS ////
1535 
1536 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_ADDR(x)                   (x+0x000000f0)
1537 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_PHYS(x)                   (x+0x000000f0)
1538 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_RMSK                      0xffffffff
1539 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_SHFT                               0
1540 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_IN(x)                     \
1541 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_STATUS_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_STATUS_RMSK)
1542 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_INM(x, mask)              \
1543 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_STATUS_ADDR(x), mask)
1544 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_OUT(x, val)               \
1545 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_STATUS_ADDR(x), val)
1546 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_OUTM(x, mask, val)        \
1547 	do {\
1548 		HWIO_INTLOCK(); \
1549 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_STATUS_IN(x)); \
1550 		HWIO_INTFREE();\
1551 	} while (0)
1552 
1553 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_NUM_AVAIL_WORDS_BMSK      0xffff0000
1554 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_NUM_AVAIL_WORDS_SHFT            0x10
1555 
1556 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_NUM_VALID_WORDS_BMSK      0x0000ffff
1557 #define HWIO_REO_R0_RXDMA2REO2_RING_STATUS_NUM_VALID_WORDS_SHFT             0x0
1558 
1559 //// Register REO_R0_RXDMA2REO2_RING_MISC ////
1560 
1561 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_ADDR(x)                     (x+0x000000f4)
1562 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_PHYS(x)                     (x+0x000000f4)
1563 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_RMSK                        0x003fffff
1564 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SHFT                                 0
1565 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_IN(x)                       \
1566 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_MISC_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_MISC_RMSK)
1567 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_INM(x, mask)                \
1568 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_MISC_ADDR(x), mask)
1569 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_OUT(x, val)                 \
1570 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_MISC_ADDR(x), val)
1571 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_OUTM(x, mask, val)          \
1572 	do {\
1573 		HWIO_INTLOCK(); \
1574 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_MISC_IN(x)); \
1575 		HWIO_INTFREE();\
1576 	} while (0)
1577 
1578 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SPARE_CONTROL_BMSK          0x003fc000
1579 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SPARE_CONTROL_SHFT                 0xe
1580 
1581 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SRNG_SM_STATE2_BMSK         0x00003000
1582 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SRNG_SM_STATE2_SHFT                0xc
1583 
1584 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SRNG_SM_STATE1_BMSK         0x00000f00
1585 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SRNG_SM_STATE1_SHFT                0x8
1586 
1587 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SRNG_IS_IDLE_BMSK           0x00000080
1588 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SRNG_IS_IDLE_SHFT                  0x7
1589 
1590 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SRNG_ENABLE_BMSK            0x00000040
1591 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SRNG_ENABLE_SHFT                   0x6
1592 
1593 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_DATA_TLV_SWAP_BIT_BMSK      0x00000020
1594 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_DATA_TLV_SWAP_BIT_SHFT             0x5
1595 
1596 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_HOST_FW_SWAP_BIT_BMSK       0x00000010
1597 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_HOST_FW_SWAP_BIT_SHFT              0x4
1598 
1599 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_MSI_SWAP_BIT_BMSK           0x00000008
1600 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_MSI_SWAP_BIT_SHFT                  0x3
1601 
1602 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SECURITY_BIT_BMSK           0x00000004
1603 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_SECURITY_BIT_SHFT                  0x2
1604 
1605 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_LOOPCNT_DISABLE_BMSK        0x00000002
1606 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_LOOPCNT_DISABLE_SHFT               0x1
1607 
1608 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_RING_ID_DISABLE_BMSK        0x00000001
1609 #define HWIO_REO_R0_RXDMA2REO2_RING_MISC_RING_ID_DISABLE_SHFT               0x0
1610 
1611 //// Register REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB ////
1612 
1613 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_ADDR(x)              (x+0x00000100)
1614 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_PHYS(x)              (x+0x00000100)
1615 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_RMSK                 0xffffffff
1616 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_SHFT                          0
1617 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_IN(x)                \
1618 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_RMSK)
1619 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_INM(x, mask)         \
1620 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_ADDR(x), mask)
1621 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_OUT(x, val)          \
1622 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_ADDR(x), val)
1623 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_OUTM(x, mask, val)   \
1624 	do {\
1625 		HWIO_INTLOCK(); \
1626 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_IN(x)); \
1627 		HWIO_INTFREE();\
1628 	} while (0)
1629 
1630 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_BMSK 0xffffffff
1631 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_SHFT        0x0
1632 
1633 //// Register REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB ////
1634 
1635 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_ADDR(x)              (x+0x00000104)
1636 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_PHYS(x)              (x+0x00000104)
1637 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_RMSK                 0x000000ff
1638 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_SHFT                          0
1639 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_IN(x)                \
1640 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_RMSK)
1641 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_INM(x, mask)         \
1642 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_ADDR(x), mask)
1643 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_OUT(x, val)          \
1644 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_ADDR(x), val)
1645 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_OUTM(x, mask, val)   \
1646 	do {\
1647 		HWIO_INTLOCK(); \
1648 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_IN(x)); \
1649 		HWIO_INTFREE();\
1650 	} while (0)
1651 
1652 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_BMSK 0x000000ff
1653 #define HWIO_REO_R0_RXDMA2REO2_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_SHFT        0x0
1654 
1655 //// Register REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0 ////
1656 
1657 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_ADDR(x)   (x+0x00000114)
1658 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_PHYS(x)   (x+0x00000114)
1659 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_RMSK      0xffffffff
1660 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_SHFT               0
1661 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_IN(x)     \
1662 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_RMSK)
1663 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_INM(x, mask) \
1664 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask)
1665 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_OUT(x, val) \
1666 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), val)
1667 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_OUTM(x, mask, val) \
1668 	do {\
1669 		HWIO_INTLOCK(); \
1670 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_IN(x)); \
1671 		HWIO_INTFREE();\
1672 	} while (0)
1673 
1674 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
1675 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
1676 
1677 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_BMSK 0x00008000
1678 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_SHFT        0xf
1679 
1680 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
1681 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_SHFT        0x0
1682 
1683 //// Register REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1 ////
1684 
1685 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_ADDR(x)   (x+0x00000118)
1686 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_PHYS(x)   (x+0x00000118)
1687 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_RMSK      0x0000ffff
1688 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_SHFT               0
1689 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_IN(x)     \
1690 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_RMSK)
1691 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_INM(x, mask) \
1692 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask)
1693 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_OUT(x, val) \
1694 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), val)
1695 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_OUTM(x, mask, val) \
1696 	do {\
1697 		HWIO_INTLOCK(); \
1698 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_IN(x)); \
1699 		HWIO_INTFREE();\
1700 	} while (0)
1701 
1702 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_BMSK 0x0000ffff
1703 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_SHFT        0x0
1704 
1705 //// Register REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS ////
1706 
1707 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_ADDR(x)      (x+0x0000011c)
1708 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_PHYS(x)      (x+0x0000011c)
1709 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_RMSK         0xffffffff
1710 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_SHFT                  0
1711 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_IN(x)        \
1712 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_RMSK)
1713 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_INM(x, mask) \
1714 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_ADDR(x), mask)
1715 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_OUT(x, val)  \
1716 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_ADDR(x), val)
1717 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_OUTM(x, mask, val) \
1718 	do {\
1719 		HWIO_INTLOCK(); \
1720 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_IN(x)); \
1721 		HWIO_INTFREE();\
1722 	} while (0)
1723 
1724 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
1725 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
1726 
1727 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_BMSK 0x00008000
1728 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_SHFT        0xf
1729 
1730 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
1731 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
1732 
1733 //// Register REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER ////
1734 
1735 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_ADDR(x)   (x+0x00000120)
1736 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_PHYS(x)   (x+0x00000120)
1737 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_RMSK      0x000003ff
1738 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_SHFT               0
1739 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_IN(x)     \
1740 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_RMSK)
1741 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_INM(x, mask) \
1742 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask)
1743 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_OUT(x, val) \
1744 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), val)
1745 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_OUTM(x, mask, val) \
1746 	do {\
1747 		HWIO_INTLOCK(); \
1748 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_IN(x)); \
1749 		HWIO_INTFREE();\
1750 	} while (0)
1751 
1752 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_BMSK 0x000003ff
1753 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_SHFT        0x0
1754 
1755 //// Register REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER ////
1756 
1757 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_ADDR(x)  (x+0x00000124)
1758 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_PHYS(x)  (x+0x00000124)
1759 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_RMSK     0x00000007
1760 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_SHFT              0
1761 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_IN(x)    \
1762 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_RMSK)
1763 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_INM(x, mask) \
1764 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask)
1765 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_OUT(x, val) \
1766 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), val)
1767 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_OUTM(x, mask, val) \
1768 	do {\
1769 		HWIO_INTLOCK(); \
1770 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_IN(x)); \
1771 		HWIO_INTFREE();\
1772 	} while (0)
1773 
1774 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_MODE_BMSK 0x00000007
1775 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_TIMER_MODE_SHFT        0x0
1776 
1777 //// Register REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS ////
1778 
1779 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_ADDR(x) (x+0x00000128)
1780 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_PHYS(x) (x+0x00000128)
1781 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_RMSK    0x00ffffff
1782 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_SHFT             0
1783 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_IN(x)   \
1784 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_RMSK)
1785 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_INM(x, mask) \
1786 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask)
1787 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_OUT(x, val) \
1788 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), val)
1789 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_OUTM(x, mask, val) \
1790 	do {\
1791 		HWIO_INTLOCK(); \
1792 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_IN(x)); \
1793 		HWIO_INTFREE();\
1794 	} while (0)
1795 
1796 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_BMSK 0x00ff0000
1797 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_SHFT       0x10
1798 
1799 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_BMSK 0x0000ffff
1800 #define HWIO_REO_R0_RXDMA2REO2_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_SHFT        0x0
1801 
1802 //// Register REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB ////
1803 
1804 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_ADDR(x)            (x+0x0000012c)
1805 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_PHYS(x)            (x+0x0000012c)
1806 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_RMSK               0xffffffff
1807 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_SHFT                        0
1808 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_IN(x)              \
1809 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_RMSK)
1810 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_INM(x, mask)       \
1811 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_ADDR(x), mask)
1812 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_OUT(x, val)        \
1813 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_ADDR(x), val)
1814 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_OUTM(x, mask, val) \
1815 	do {\
1816 		HWIO_INTLOCK(); \
1817 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_IN(x)); \
1818 		HWIO_INTFREE();\
1819 	} while (0)
1820 
1821 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_ADDR_BMSK          0xffffffff
1822 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_LSB_ADDR_SHFT                 0x0
1823 
1824 //// Register REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB ////
1825 
1826 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_ADDR(x)            (x+0x00000130)
1827 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_PHYS(x)            (x+0x00000130)
1828 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_RMSK               0x000001ff
1829 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_SHFT                        0
1830 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_IN(x)              \
1831 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_RMSK)
1832 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_INM(x, mask)       \
1833 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_ADDR(x), mask)
1834 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_OUT(x, val)        \
1835 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_ADDR(x), val)
1836 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_OUTM(x, mask, val) \
1837 	do {\
1838 		HWIO_INTLOCK(); \
1839 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_IN(x)); \
1840 		HWIO_INTFREE();\
1841 	} while (0)
1842 
1843 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK   0x00000100
1844 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT          0x8
1845 
1846 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_ADDR_BMSK          0x000000ff
1847 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_BASE_MSB_ADDR_SHFT                 0x0
1848 
1849 //// Register REO_R0_RXDMA2REO2_RING_MSI1_DATA ////
1850 
1851 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_ADDR(x)                (x+0x00000134)
1852 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_PHYS(x)                (x+0x00000134)
1853 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_RMSK                   0xffffffff
1854 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_SHFT                            0
1855 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_IN(x)                  \
1856 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_RMSK)
1857 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_INM(x, mask)           \
1858 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_ADDR(x), mask)
1859 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_OUT(x, val)            \
1860 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_ADDR(x), val)
1861 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_OUTM(x, mask, val)     \
1862 	do {\
1863 		HWIO_INTLOCK(); \
1864 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_IN(x)); \
1865 		HWIO_INTFREE();\
1866 	} while (0)
1867 
1868 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_VALUE_BMSK             0xffffffff
1869 #define HWIO_REO_R0_RXDMA2REO2_RING_MSI1_DATA_VALUE_SHFT                    0x0
1870 
1871 //// Register REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET ////
1872 
1873 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_ADDR(x)          (x+0x00000138)
1874 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_PHYS(x)          (x+0x00000138)
1875 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_RMSK             0x0000ffff
1876 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_SHFT                      0
1877 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_IN(x)            \
1878 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_RMSK)
1879 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_INM(x, mask)     \
1880 	in_dword_masked ( HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
1881 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_OUT(x, val)      \
1882 	out_dword( HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_ADDR(x), val)
1883 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val) \
1884 	do {\
1885 		HWIO_INTLOCK(); \
1886 		out_dword_masked_ns(HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_IN(x)); \
1887 		HWIO_INTFREE();\
1888 	} while (0)
1889 
1890 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
1891 #define HWIO_REO_R0_RXDMA2REO2_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
1892 
1893 //// Register REO_R0_WBM2REO_LINK_RING_BASE_LSB ////
1894 
1895 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_ADDR(x)               (x+0x0000013c)
1896 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_PHYS(x)               (x+0x0000013c)
1897 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_RMSK                  0xffffffff
1898 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_SHFT                           0
1899 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_IN(x)                 \
1900 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_RMSK)
1901 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_INM(x, mask)          \
1902 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_ADDR(x), mask)
1903 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_OUT(x, val)           \
1904 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_ADDR(x), val)
1905 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_OUTM(x, mask, val)    \
1906 	do {\
1907 		HWIO_INTLOCK(); \
1908 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_IN(x)); \
1909 		HWIO_INTFREE();\
1910 	} while (0)
1911 
1912 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK 0xffffffff
1913 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT        0x0
1914 
1915 //// Register REO_R0_WBM2REO_LINK_RING_BASE_MSB ////
1916 
1917 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_ADDR(x)               (x+0x00000140)
1918 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_PHYS(x)               (x+0x00000140)
1919 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_RMSK                  0x00ffffff
1920 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_SHFT                           0
1921 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_IN(x)                 \
1922 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_RMSK)
1923 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_INM(x, mask)          \
1924 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_ADDR(x), mask)
1925 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_OUT(x, val)           \
1926 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_ADDR(x), val)
1927 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_OUTM(x, mask, val)    \
1928 	do {\
1929 		HWIO_INTLOCK(); \
1930 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_IN(x)); \
1931 		HWIO_INTFREE();\
1932 	} while (0)
1933 
1934 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_RING_SIZE_BMSK        0x00ffff00
1935 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_RING_SIZE_SHFT               0x8
1936 
1937 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK 0x000000ff
1938 #define HWIO_REO_R0_WBM2REO_LINK_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT        0x0
1939 
1940 //// Register REO_R0_WBM2REO_LINK_RING_ID ////
1941 
1942 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_ADDR(x)                     (x+0x00000144)
1943 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_PHYS(x)                     (x+0x00000144)
1944 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_RMSK                        0x000000ff
1945 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_SHFT                                 0
1946 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_IN(x)                       \
1947 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_ID_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_ID_RMSK)
1948 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_INM(x, mask)                \
1949 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_ID_ADDR(x), mask)
1950 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_OUT(x, val)                 \
1951 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_ID_ADDR(x), val)
1952 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_OUTM(x, mask, val)          \
1953 	do {\
1954 		HWIO_INTLOCK(); \
1955 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_ID_IN(x)); \
1956 		HWIO_INTFREE();\
1957 	} while (0)
1958 
1959 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_ENTRY_SIZE_BMSK             0x000000ff
1960 #define HWIO_REO_R0_WBM2REO_LINK_RING_ID_ENTRY_SIZE_SHFT                    0x0
1961 
1962 //// Register REO_R0_WBM2REO_LINK_RING_STATUS ////
1963 
1964 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_ADDR(x)                 (x+0x00000148)
1965 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_PHYS(x)                 (x+0x00000148)
1966 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_RMSK                    0xffffffff
1967 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_SHFT                             0
1968 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_IN(x)                   \
1969 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_RMSK)
1970 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_INM(x, mask)            \
1971 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_ADDR(x), mask)
1972 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_OUT(x, val)             \
1973 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_ADDR(x), val)
1974 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_OUTM(x, mask, val)      \
1975 	do {\
1976 		HWIO_INTLOCK(); \
1977 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_IN(x)); \
1978 		HWIO_INTFREE();\
1979 	} while (0)
1980 
1981 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_NUM_AVAIL_WORDS_BMSK    0xffff0000
1982 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_NUM_AVAIL_WORDS_SHFT          0x10
1983 
1984 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_NUM_VALID_WORDS_BMSK    0x0000ffff
1985 #define HWIO_REO_R0_WBM2REO_LINK_RING_STATUS_NUM_VALID_WORDS_SHFT           0x0
1986 
1987 //// Register REO_R0_WBM2REO_LINK_RING_MISC ////
1988 
1989 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_ADDR(x)                   (x+0x0000014c)
1990 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_PHYS(x)                   (x+0x0000014c)
1991 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_RMSK                      0x003fffff
1992 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SHFT                               0
1993 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_IN(x)                     \
1994 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_MISC_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_MISC_RMSK)
1995 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_INM(x, mask)              \
1996 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_MISC_ADDR(x), mask)
1997 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_OUT(x, val)               \
1998 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_MISC_ADDR(x), val)
1999 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_OUTM(x, mask, val)        \
2000 	do {\
2001 		HWIO_INTLOCK(); \
2002 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_MISC_IN(x)); \
2003 		HWIO_INTFREE();\
2004 	} while (0)
2005 
2006 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SPARE_CONTROL_BMSK        0x003fc000
2007 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SPARE_CONTROL_SHFT               0xe
2008 
2009 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SRNG_SM_STATE2_BMSK       0x00003000
2010 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SRNG_SM_STATE2_SHFT              0xc
2011 
2012 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SRNG_SM_STATE1_BMSK       0x00000f00
2013 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SRNG_SM_STATE1_SHFT              0x8
2014 
2015 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SRNG_IS_IDLE_BMSK         0x00000080
2016 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SRNG_IS_IDLE_SHFT                0x7
2017 
2018 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SRNG_ENABLE_BMSK          0x00000040
2019 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SRNG_ENABLE_SHFT                 0x6
2020 
2021 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_DATA_TLV_SWAP_BIT_BMSK    0x00000020
2022 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_DATA_TLV_SWAP_BIT_SHFT           0x5
2023 
2024 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_HOST_FW_SWAP_BIT_BMSK     0x00000010
2025 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_HOST_FW_SWAP_BIT_SHFT            0x4
2026 
2027 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_MSI_SWAP_BIT_BMSK         0x00000008
2028 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_MSI_SWAP_BIT_SHFT                0x3
2029 
2030 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SECURITY_BIT_BMSK         0x00000004
2031 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_SECURITY_BIT_SHFT                0x2
2032 
2033 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_LOOPCNT_DISABLE_BMSK      0x00000002
2034 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_LOOPCNT_DISABLE_SHFT             0x1
2035 
2036 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_RING_ID_DISABLE_BMSK      0x00000001
2037 #define HWIO_REO_R0_WBM2REO_LINK_RING_MISC_RING_ID_DISABLE_SHFT             0x0
2038 
2039 //// Register REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB ////
2040 
2041 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_ADDR(x)            (x+0x00000158)
2042 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_PHYS(x)            (x+0x00000158)
2043 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_RMSK               0xffffffff
2044 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_SHFT                        0
2045 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_IN(x)              \
2046 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_RMSK)
2047 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_INM(x, mask)       \
2048 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_ADDR(x), mask)
2049 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_OUT(x, val)        \
2050 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_ADDR(x), val)
2051 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_OUTM(x, mask, val) \
2052 	do {\
2053 		HWIO_INTLOCK(); \
2054 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_IN(x)); \
2055 		HWIO_INTFREE();\
2056 	} while (0)
2057 
2058 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_BMSK 0xffffffff
2059 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_SHFT        0x0
2060 
2061 //// Register REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB ////
2062 
2063 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_ADDR(x)            (x+0x0000015c)
2064 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_PHYS(x)            (x+0x0000015c)
2065 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_RMSK               0x000000ff
2066 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_SHFT                        0
2067 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_IN(x)              \
2068 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_RMSK)
2069 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_INM(x, mask)       \
2070 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_ADDR(x), mask)
2071 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_OUT(x, val)        \
2072 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_ADDR(x), val)
2073 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_OUTM(x, mask, val) \
2074 	do {\
2075 		HWIO_INTLOCK(); \
2076 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_IN(x)); \
2077 		HWIO_INTFREE();\
2078 	} while (0)
2079 
2080 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_BMSK 0x000000ff
2081 #define HWIO_REO_R0_WBM2REO_LINK_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_SHFT        0x0
2082 
2083 //// Register REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0 ////
2084 
2085 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_ADDR(x) (x+0x0000016c)
2086 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_PHYS(x) (x+0x0000016c)
2087 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_RMSK    0xffffffff
2088 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_SHFT             0
2089 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_IN(x)   \
2090 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_RMSK)
2091 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_INM(x, mask) \
2092 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask)
2093 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_OUT(x, val) \
2094 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), val)
2095 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_OUTM(x, mask, val) \
2096 	do {\
2097 		HWIO_INTLOCK(); \
2098 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_IN(x)); \
2099 		HWIO_INTFREE();\
2100 	} while (0)
2101 
2102 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
2103 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
2104 
2105 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_BMSK 0x00008000
2106 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_SHFT        0xf
2107 
2108 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
2109 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_SHFT        0x0
2110 
2111 //// Register REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1 ////
2112 
2113 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_ADDR(x) (x+0x00000170)
2114 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_PHYS(x) (x+0x00000170)
2115 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_RMSK    0x0000ffff
2116 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_SHFT             0
2117 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_IN(x)   \
2118 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_RMSK)
2119 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_INM(x, mask) \
2120 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask)
2121 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_OUT(x, val) \
2122 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), val)
2123 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_OUTM(x, mask, val) \
2124 	do {\
2125 		HWIO_INTLOCK(); \
2126 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_IN(x)); \
2127 		HWIO_INTFREE();\
2128 	} while (0)
2129 
2130 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_BMSK 0x0000ffff
2131 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_SHFT        0x0
2132 
2133 //// Register REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS ////
2134 
2135 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_ADDR(x)    (x+0x00000174)
2136 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_PHYS(x)    (x+0x00000174)
2137 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_RMSK       0xffffffff
2138 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_SHFT                0
2139 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_IN(x)      \
2140 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_RMSK)
2141 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_INM(x, mask) \
2142 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_ADDR(x), mask)
2143 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_OUT(x, val) \
2144 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_ADDR(x), val)
2145 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_OUTM(x, mask, val) \
2146 	do {\
2147 		HWIO_INTLOCK(); \
2148 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_IN(x)); \
2149 		HWIO_INTFREE();\
2150 	} while (0)
2151 
2152 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
2153 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
2154 
2155 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_BMSK 0x00008000
2156 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_SHFT        0xf
2157 
2158 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
2159 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
2160 
2161 //// Register REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER ////
2162 
2163 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_ADDR(x) (x+0x00000178)
2164 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_PHYS(x) (x+0x00000178)
2165 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_RMSK    0x000003ff
2166 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_SHFT             0
2167 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_IN(x)   \
2168 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_RMSK)
2169 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_INM(x, mask) \
2170 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask)
2171 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_OUT(x, val) \
2172 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), val)
2173 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_OUTM(x, mask, val) \
2174 	do {\
2175 		HWIO_INTLOCK(); \
2176 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_IN(x)); \
2177 		HWIO_INTFREE();\
2178 	} while (0)
2179 
2180 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_BMSK 0x000003ff
2181 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_SHFT        0x0
2182 
2183 //// Register REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER ////
2184 
2185 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_ADDR(x) (x+0x0000017c)
2186 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_PHYS(x) (x+0x0000017c)
2187 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_RMSK   0x00000007
2188 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_SHFT            0
2189 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_IN(x)  \
2190 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_RMSK)
2191 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_INM(x, mask) \
2192 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask)
2193 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_OUT(x, val) \
2194 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), val)
2195 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_OUTM(x, mask, val) \
2196 	do {\
2197 		HWIO_INTLOCK(); \
2198 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_IN(x)); \
2199 		HWIO_INTFREE();\
2200 	} while (0)
2201 
2202 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_MODE_BMSK 0x00000007
2203 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_TIMER_MODE_SHFT        0x0
2204 
2205 //// Register REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS ////
2206 
2207 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_ADDR(x) (x+0x00000180)
2208 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_PHYS(x) (x+0x00000180)
2209 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_RMSK  0x00ffffff
2210 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_SHFT           0
2211 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_IN(x) \
2212 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_RMSK)
2213 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_INM(x, mask) \
2214 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask)
2215 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_OUT(x, val) \
2216 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), val)
2217 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_OUTM(x, mask, val) \
2218 	do {\
2219 		HWIO_INTLOCK(); \
2220 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_IN(x)); \
2221 		HWIO_INTFREE();\
2222 	} while (0)
2223 
2224 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_BMSK 0x00ff0000
2225 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_SHFT       0x10
2226 
2227 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_BMSK 0x0000ffff
2228 #define HWIO_REO_R0_WBM2REO_LINK_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_SHFT        0x0
2229 
2230 //// Register REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET ////
2231 
2232 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_ADDR(x)        (x+0x00000190)
2233 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_PHYS(x)        (x+0x00000190)
2234 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_RMSK           0x0000ffff
2235 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_SHFT                    0
2236 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_IN(x)          \
2237 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_RMSK)
2238 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_INM(x, mask)   \
2239 	in_dword_masked ( HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
2240 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_OUT(x, val)    \
2241 	out_dword( HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_ADDR(x), val)
2242 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val) \
2243 	do {\
2244 		HWIO_INTLOCK(); \
2245 		out_dword_masked_ns(HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_IN(x)); \
2246 		HWIO_INTFREE();\
2247 	} while (0)
2248 
2249 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
2250 #define HWIO_REO_R0_WBM2REO_LINK_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
2251 
2252 //// Register REO_R0_REO_CMD_RING_BASE_LSB ////
2253 
2254 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_ADDR(x)                    (x+0x00000194)
2255 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_PHYS(x)                    (x+0x00000194)
2256 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_RMSK                       0xffffffff
2257 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_SHFT                                0
2258 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_IN(x)                      \
2259 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO_CMD_RING_BASE_LSB_RMSK)
2260 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_INM(x, mask)               \
2261 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_BASE_LSB_ADDR(x), mask)
2262 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_OUT(x, val)                \
2263 	out_dword( HWIO_REO_R0_REO_CMD_RING_BASE_LSB_ADDR(x), val)
2264 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_OUTM(x, mask, val)         \
2265 	do {\
2266 		HWIO_INTLOCK(); \
2267 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_BASE_LSB_IN(x)); \
2268 		HWIO_INTFREE();\
2269 	} while (0)
2270 
2271 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK    0xffffffff
2272 #define HWIO_REO_R0_REO_CMD_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT           0x0
2273 
2274 //// Register REO_R0_REO_CMD_RING_BASE_MSB ////
2275 
2276 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_ADDR(x)                    (x+0x00000198)
2277 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_PHYS(x)                    (x+0x00000198)
2278 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_RMSK                       0x00ffffff
2279 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_SHFT                                0
2280 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_IN(x)                      \
2281 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO_CMD_RING_BASE_MSB_RMSK)
2282 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_INM(x, mask)               \
2283 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_BASE_MSB_ADDR(x), mask)
2284 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_OUT(x, val)                \
2285 	out_dword( HWIO_REO_R0_REO_CMD_RING_BASE_MSB_ADDR(x), val)
2286 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_OUTM(x, mask, val)         \
2287 	do {\
2288 		HWIO_INTLOCK(); \
2289 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_BASE_MSB_IN(x)); \
2290 		HWIO_INTFREE();\
2291 	} while (0)
2292 
2293 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_RING_SIZE_BMSK             0x00ffff00
2294 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_RING_SIZE_SHFT                    0x8
2295 
2296 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK    0x000000ff
2297 #define HWIO_REO_R0_REO_CMD_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT           0x0
2298 
2299 //// Register REO_R0_REO_CMD_RING_ID ////
2300 
2301 #define HWIO_REO_R0_REO_CMD_RING_ID_ADDR(x)                          (x+0x0000019c)
2302 #define HWIO_REO_R0_REO_CMD_RING_ID_PHYS(x)                          (x+0x0000019c)
2303 #define HWIO_REO_R0_REO_CMD_RING_ID_RMSK                             0x000000ff
2304 #define HWIO_REO_R0_REO_CMD_RING_ID_SHFT                                      0
2305 #define HWIO_REO_R0_REO_CMD_RING_ID_IN(x)                            \
2306 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_ID_ADDR(x), HWIO_REO_R0_REO_CMD_RING_ID_RMSK)
2307 #define HWIO_REO_R0_REO_CMD_RING_ID_INM(x, mask)                     \
2308 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_ID_ADDR(x), mask)
2309 #define HWIO_REO_R0_REO_CMD_RING_ID_OUT(x, val)                      \
2310 	out_dword( HWIO_REO_R0_REO_CMD_RING_ID_ADDR(x), val)
2311 #define HWIO_REO_R0_REO_CMD_RING_ID_OUTM(x, mask, val)               \
2312 	do {\
2313 		HWIO_INTLOCK(); \
2314 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_ID_IN(x)); \
2315 		HWIO_INTFREE();\
2316 	} while (0)
2317 
2318 #define HWIO_REO_R0_REO_CMD_RING_ID_ENTRY_SIZE_BMSK                  0x000000ff
2319 #define HWIO_REO_R0_REO_CMD_RING_ID_ENTRY_SIZE_SHFT                         0x0
2320 
2321 //// Register REO_R0_REO_CMD_RING_STATUS ////
2322 
2323 #define HWIO_REO_R0_REO_CMD_RING_STATUS_ADDR(x)                      (x+0x000001a0)
2324 #define HWIO_REO_R0_REO_CMD_RING_STATUS_PHYS(x)                      (x+0x000001a0)
2325 #define HWIO_REO_R0_REO_CMD_RING_STATUS_RMSK                         0xffffffff
2326 #define HWIO_REO_R0_REO_CMD_RING_STATUS_SHFT                                  0
2327 #define HWIO_REO_R0_REO_CMD_RING_STATUS_IN(x)                        \
2328 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_STATUS_ADDR(x), HWIO_REO_R0_REO_CMD_RING_STATUS_RMSK)
2329 #define HWIO_REO_R0_REO_CMD_RING_STATUS_INM(x, mask)                 \
2330 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_STATUS_ADDR(x), mask)
2331 #define HWIO_REO_R0_REO_CMD_RING_STATUS_OUT(x, val)                  \
2332 	out_dword( HWIO_REO_R0_REO_CMD_RING_STATUS_ADDR(x), val)
2333 #define HWIO_REO_R0_REO_CMD_RING_STATUS_OUTM(x, mask, val)           \
2334 	do {\
2335 		HWIO_INTLOCK(); \
2336 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_STATUS_IN(x)); \
2337 		HWIO_INTFREE();\
2338 	} while (0)
2339 
2340 #define HWIO_REO_R0_REO_CMD_RING_STATUS_NUM_AVAIL_WORDS_BMSK         0xffff0000
2341 #define HWIO_REO_R0_REO_CMD_RING_STATUS_NUM_AVAIL_WORDS_SHFT               0x10
2342 
2343 #define HWIO_REO_R0_REO_CMD_RING_STATUS_NUM_VALID_WORDS_BMSK         0x0000ffff
2344 #define HWIO_REO_R0_REO_CMD_RING_STATUS_NUM_VALID_WORDS_SHFT                0x0
2345 
2346 //// Register REO_R0_REO_CMD_RING_MISC ////
2347 
2348 #define HWIO_REO_R0_REO_CMD_RING_MISC_ADDR(x)                        (x+0x000001a4)
2349 #define HWIO_REO_R0_REO_CMD_RING_MISC_PHYS(x)                        (x+0x000001a4)
2350 #define HWIO_REO_R0_REO_CMD_RING_MISC_RMSK                           0x003fffff
2351 #define HWIO_REO_R0_REO_CMD_RING_MISC_SHFT                                    0
2352 #define HWIO_REO_R0_REO_CMD_RING_MISC_IN(x)                          \
2353 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_MISC_ADDR(x), HWIO_REO_R0_REO_CMD_RING_MISC_RMSK)
2354 #define HWIO_REO_R0_REO_CMD_RING_MISC_INM(x, mask)                   \
2355 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_MISC_ADDR(x), mask)
2356 #define HWIO_REO_R0_REO_CMD_RING_MISC_OUT(x, val)                    \
2357 	out_dword( HWIO_REO_R0_REO_CMD_RING_MISC_ADDR(x), val)
2358 #define HWIO_REO_R0_REO_CMD_RING_MISC_OUTM(x, mask, val)             \
2359 	do {\
2360 		HWIO_INTLOCK(); \
2361 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_MISC_IN(x)); \
2362 		HWIO_INTFREE();\
2363 	} while (0)
2364 
2365 #define HWIO_REO_R0_REO_CMD_RING_MISC_SPARE_CONTROL_BMSK             0x003fc000
2366 #define HWIO_REO_R0_REO_CMD_RING_MISC_SPARE_CONTROL_SHFT                    0xe
2367 
2368 #define HWIO_REO_R0_REO_CMD_RING_MISC_SRNG_SM_STATE2_BMSK            0x00003000
2369 #define HWIO_REO_R0_REO_CMD_RING_MISC_SRNG_SM_STATE2_SHFT                   0xc
2370 
2371 #define HWIO_REO_R0_REO_CMD_RING_MISC_SRNG_SM_STATE1_BMSK            0x00000f00
2372 #define HWIO_REO_R0_REO_CMD_RING_MISC_SRNG_SM_STATE1_SHFT                   0x8
2373 
2374 #define HWIO_REO_R0_REO_CMD_RING_MISC_SRNG_IS_IDLE_BMSK              0x00000080
2375 #define HWIO_REO_R0_REO_CMD_RING_MISC_SRNG_IS_IDLE_SHFT                     0x7
2376 
2377 #define HWIO_REO_R0_REO_CMD_RING_MISC_SRNG_ENABLE_BMSK               0x00000040
2378 #define HWIO_REO_R0_REO_CMD_RING_MISC_SRNG_ENABLE_SHFT                      0x6
2379 
2380 #define HWIO_REO_R0_REO_CMD_RING_MISC_DATA_TLV_SWAP_BIT_BMSK         0x00000020
2381 #define HWIO_REO_R0_REO_CMD_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                0x5
2382 
2383 #define HWIO_REO_R0_REO_CMD_RING_MISC_HOST_FW_SWAP_BIT_BMSK          0x00000010
2384 #define HWIO_REO_R0_REO_CMD_RING_MISC_HOST_FW_SWAP_BIT_SHFT                 0x4
2385 
2386 #define HWIO_REO_R0_REO_CMD_RING_MISC_MSI_SWAP_BIT_BMSK              0x00000008
2387 #define HWIO_REO_R0_REO_CMD_RING_MISC_MSI_SWAP_BIT_SHFT                     0x3
2388 
2389 #define HWIO_REO_R0_REO_CMD_RING_MISC_SECURITY_BIT_BMSK              0x00000004
2390 #define HWIO_REO_R0_REO_CMD_RING_MISC_SECURITY_BIT_SHFT                     0x2
2391 
2392 #define HWIO_REO_R0_REO_CMD_RING_MISC_LOOPCNT_DISABLE_BMSK           0x00000002
2393 #define HWIO_REO_R0_REO_CMD_RING_MISC_LOOPCNT_DISABLE_SHFT                  0x1
2394 
2395 #define HWIO_REO_R0_REO_CMD_RING_MISC_RING_ID_DISABLE_BMSK           0x00000001
2396 #define HWIO_REO_R0_REO_CMD_RING_MISC_RING_ID_DISABLE_SHFT                  0x0
2397 
2398 //// Register REO_R0_REO_CMD_RING_TP_ADDR_LSB ////
2399 
2400 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_ADDR(x)                 (x+0x000001b0)
2401 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_PHYS(x)                 (x+0x000001b0)
2402 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_RMSK                    0xffffffff
2403 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_SHFT                             0
2404 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_IN(x)                   \
2405 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_RMSK)
2406 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_INM(x, mask)            \
2407 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_ADDR(x), mask)
2408 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_OUT(x, val)             \
2409 	out_dword( HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_ADDR(x), val)
2410 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_OUTM(x, mask, val)      \
2411 	do {\
2412 		HWIO_INTLOCK(); \
2413 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_IN(x)); \
2414 		HWIO_INTFREE();\
2415 	} while (0)
2416 
2417 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_BMSK 0xffffffff
2418 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_SHFT        0x0
2419 
2420 //// Register REO_R0_REO_CMD_RING_TP_ADDR_MSB ////
2421 
2422 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_ADDR(x)                 (x+0x000001b4)
2423 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_PHYS(x)                 (x+0x000001b4)
2424 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_RMSK                    0x000000ff
2425 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_SHFT                             0
2426 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_IN(x)                   \
2427 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_RMSK)
2428 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_INM(x, mask)            \
2429 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_ADDR(x), mask)
2430 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_OUT(x, val)             \
2431 	out_dword( HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_ADDR(x), val)
2432 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_OUTM(x, mask, val)      \
2433 	do {\
2434 		HWIO_INTLOCK(); \
2435 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_IN(x)); \
2436 		HWIO_INTFREE();\
2437 	} while (0)
2438 
2439 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_BMSK 0x000000ff
2440 #define HWIO_REO_R0_REO_CMD_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_SHFT        0x0
2441 
2442 //// Register REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0 ////
2443 
2444 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_ADDR(x)      (x+0x000001c4)
2445 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_PHYS(x)      (x+0x000001c4)
2446 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_RMSK         0xffffffff
2447 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_SHFT                  0
2448 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_IN(x)        \
2449 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_RMSK)
2450 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_INM(x, mask) \
2451 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask)
2452 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_OUT(x, val)  \
2453 	out_dword( HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), val)
2454 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_OUTM(x, mask, val) \
2455 	do {\
2456 		HWIO_INTLOCK(); \
2457 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_IN(x)); \
2458 		HWIO_INTFREE();\
2459 	} while (0)
2460 
2461 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
2462 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
2463 
2464 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_BMSK 0x00008000
2465 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_SHFT        0xf
2466 
2467 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
2468 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_SHFT        0x0
2469 
2470 //// Register REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1 ////
2471 
2472 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_ADDR(x)      (x+0x000001c8)
2473 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_PHYS(x)      (x+0x000001c8)
2474 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_RMSK         0x0000ffff
2475 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_SHFT                  0
2476 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_IN(x)        \
2477 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_RMSK)
2478 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_INM(x, mask) \
2479 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask)
2480 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_OUT(x, val)  \
2481 	out_dword( HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), val)
2482 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_OUTM(x, mask, val) \
2483 	do {\
2484 		HWIO_INTLOCK(); \
2485 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_IN(x)); \
2486 		HWIO_INTFREE();\
2487 	} while (0)
2488 
2489 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_BMSK 0x0000ffff
2490 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_SHFT        0x0
2491 
2492 //// Register REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS ////
2493 
2494 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_ADDR(x)         (x+0x000001cc)
2495 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_PHYS(x)         (x+0x000001cc)
2496 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_RMSK            0xffffffff
2497 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_SHFT                     0
2498 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_IN(x)           \
2499 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_RMSK)
2500 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_INM(x, mask)    \
2501 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_ADDR(x), mask)
2502 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_OUT(x, val)     \
2503 	out_dword( HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_ADDR(x), val)
2504 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_OUTM(x, mask, val) \
2505 	do {\
2506 		HWIO_INTLOCK(); \
2507 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_IN(x)); \
2508 		HWIO_INTFREE();\
2509 	} while (0)
2510 
2511 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
2512 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
2513 
2514 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_BMSK 0x00008000
2515 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_SHFT        0xf
2516 
2517 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
2518 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
2519 
2520 //// Register REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER ////
2521 
2522 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_ADDR(x)      (x+0x000001d0)
2523 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_PHYS(x)      (x+0x000001d0)
2524 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_RMSK         0x000003ff
2525 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_SHFT                  0
2526 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_IN(x)        \
2527 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_RMSK)
2528 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_INM(x, mask) \
2529 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask)
2530 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_OUT(x, val)  \
2531 	out_dword( HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), val)
2532 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_OUTM(x, mask, val) \
2533 	do {\
2534 		HWIO_INTLOCK(); \
2535 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_IN(x)); \
2536 		HWIO_INTFREE();\
2537 	} while (0)
2538 
2539 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_BMSK 0x000003ff
2540 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_SHFT        0x0
2541 
2542 //// Register REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER ////
2543 
2544 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_ADDR(x)     (x+0x000001d4)
2545 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_PHYS(x)     (x+0x000001d4)
2546 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_RMSK        0x00000007
2547 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_SHFT                 0
2548 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_IN(x)       \
2549 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_RMSK)
2550 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_INM(x, mask) \
2551 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask)
2552 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_OUT(x, val) \
2553 	out_dword( HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), val)
2554 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_OUTM(x, mask, val) \
2555 	do {\
2556 		HWIO_INTLOCK(); \
2557 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_IN(x)); \
2558 		HWIO_INTFREE();\
2559 	} while (0)
2560 
2561 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_MODE_BMSK   0x00000007
2562 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_TIMER_MODE_SHFT          0x0
2563 
2564 //// Register REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS ////
2565 
2566 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_ADDR(x)    (x+0x000001d8)
2567 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_PHYS(x)    (x+0x000001d8)
2568 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_RMSK       0x00ffffff
2569 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_SHFT                0
2570 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_IN(x)      \
2571 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_RMSK)
2572 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_INM(x, mask) \
2573 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask)
2574 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_OUT(x, val) \
2575 	out_dword( HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), val)
2576 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_OUTM(x, mask, val) \
2577 	do {\
2578 		HWIO_INTLOCK(); \
2579 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_IN(x)); \
2580 		HWIO_INTFREE();\
2581 	} while (0)
2582 
2583 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_BMSK 0x00ff0000
2584 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_SHFT       0x10
2585 
2586 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_BMSK 0x0000ffff
2587 #define HWIO_REO_R0_REO_CMD_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_SHFT        0x0
2588 
2589 //// Register REO_R0_REO_CMD_RING_MSI1_BASE_LSB ////
2590 
2591 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_ADDR(x)               (x+0x000001dc)
2592 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_PHYS(x)               (x+0x000001dc)
2593 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_RMSK                  0xffffffff
2594 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_SHFT                           0
2595 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_IN(x)                 \
2596 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_RMSK)
2597 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_INM(x, mask)          \
2598 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_ADDR(x), mask)
2599 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_OUT(x, val)           \
2600 	out_dword( HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_ADDR(x), val)
2601 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_OUTM(x, mask, val)    \
2602 	do {\
2603 		HWIO_INTLOCK(); \
2604 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_IN(x)); \
2605 		HWIO_INTFREE();\
2606 	} while (0)
2607 
2608 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_ADDR_BMSK             0xffffffff
2609 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_LSB_ADDR_SHFT                    0x0
2610 
2611 //// Register REO_R0_REO_CMD_RING_MSI1_BASE_MSB ////
2612 
2613 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_ADDR(x)               (x+0x000001e0)
2614 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_PHYS(x)               (x+0x000001e0)
2615 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_RMSK                  0x000001ff
2616 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_SHFT                           0
2617 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_IN(x)                 \
2618 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_RMSK)
2619 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_INM(x, mask)          \
2620 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_ADDR(x), mask)
2621 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_OUT(x, val)           \
2622 	out_dword( HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_ADDR(x), val)
2623 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_OUTM(x, mask, val)    \
2624 	do {\
2625 		HWIO_INTLOCK(); \
2626 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_IN(x)); \
2627 		HWIO_INTFREE();\
2628 	} while (0)
2629 
2630 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK      0x00000100
2631 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT             0x8
2632 
2633 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_ADDR_BMSK             0x000000ff
2634 #define HWIO_REO_R0_REO_CMD_RING_MSI1_BASE_MSB_ADDR_SHFT                    0x0
2635 
2636 //// Register REO_R0_REO_CMD_RING_MSI1_DATA ////
2637 
2638 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_ADDR(x)                   (x+0x000001e4)
2639 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_PHYS(x)                   (x+0x000001e4)
2640 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_RMSK                      0xffffffff
2641 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_SHFT                               0
2642 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_IN(x)                     \
2643 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_RMSK)
2644 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_INM(x, mask)              \
2645 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_ADDR(x), mask)
2646 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_OUT(x, val)               \
2647 	out_dword( HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_ADDR(x), val)
2648 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_OUTM(x, mask, val)        \
2649 	do {\
2650 		HWIO_INTLOCK(); \
2651 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_IN(x)); \
2652 		HWIO_INTFREE();\
2653 	} while (0)
2654 
2655 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_VALUE_BMSK                0xffffffff
2656 #define HWIO_REO_R0_REO_CMD_RING_MSI1_DATA_VALUE_SHFT                       0x0
2657 
2658 //// Register REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET ////
2659 
2660 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_ADDR(x)             (x+0x000001e8)
2661 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_PHYS(x)             (x+0x000001e8)
2662 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_RMSK                0x0000ffff
2663 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_SHFT                         0
2664 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_IN(x)               \
2665 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_RMSK)
2666 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_INM(x, mask)        \
2667 	in_dword_masked ( HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
2668 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_OUT(x, val)         \
2669 	out_dword( HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_ADDR(x), val)
2670 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)  \
2671 	do {\
2672 		HWIO_INTLOCK(); \
2673 		out_dword_masked_ns(HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_IN(x)); \
2674 		HWIO_INTFREE();\
2675 	} while (0)
2676 
2677 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
2678 #define HWIO_REO_R0_REO_CMD_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
2679 
2680 //// Register REO_R0_SW2REO_RING_BASE_LSB ////
2681 
2682 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_ADDR(x)                     (x+0x000001ec)
2683 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_PHYS(x)                     (x+0x000001ec)
2684 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_RMSK                        0xffffffff
2685 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_SHFT                                 0
2686 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_IN(x)                       \
2687 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_SW2REO_RING_BASE_LSB_RMSK)
2688 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_INM(x, mask)                \
2689 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_BASE_LSB_ADDR(x), mask)
2690 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_OUT(x, val)                 \
2691 	out_dword( HWIO_REO_R0_SW2REO_RING_BASE_LSB_ADDR(x), val)
2692 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_OUTM(x, mask, val)          \
2693 	do {\
2694 		HWIO_INTLOCK(); \
2695 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_BASE_LSB_IN(x)); \
2696 		HWIO_INTFREE();\
2697 	} while (0)
2698 
2699 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK     0xffffffff
2700 #define HWIO_REO_R0_SW2REO_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT            0x0
2701 
2702 //// Register REO_R0_SW2REO_RING_BASE_MSB ////
2703 
2704 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_ADDR(x)                     (x+0x000001f0)
2705 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_PHYS(x)                     (x+0x000001f0)
2706 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_RMSK                        0x00ffffff
2707 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_SHFT                                 0
2708 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_IN(x)                       \
2709 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_SW2REO_RING_BASE_MSB_RMSK)
2710 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_INM(x, mask)                \
2711 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_BASE_MSB_ADDR(x), mask)
2712 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_OUT(x, val)                 \
2713 	out_dword( HWIO_REO_R0_SW2REO_RING_BASE_MSB_ADDR(x), val)
2714 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_OUTM(x, mask, val)          \
2715 	do {\
2716 		HWIO_INTLOCK(); \
2717 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_BASE_MSB_IN(x)); \
2718 		HWIO_INTFREE();\
2719 	} while (0)
2720 
2721 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_RING_SIZE_BMSK              0x00ffff00
2722 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_RING_SIZE_SHFT                     0x8
2723 
2724 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK     0x000000ff
2725 #define HWIO_REO_R0_SW2REO_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT            0x0
2726 
2727 //// Register REO_R0_SW2REO_RING_ID ////
2728 
2729 #define HWIO_REO_R0_SW2REO_RING_ID_ADDR(x)                           (x+0x000001f4)
2730 #define HWIO_REO_R0_SW2REO_RING_ID_PHYS(x)                           (x+0x000001f4)
2731 #define HWIO_REO_R0_SW2REO_RING_ID_RMSK                              0x000000ff
2732 #define HWIO_REO_R0_SW2REO_RING_ID_SHFT                                       0
2733 #define HWIO_REO_R0_SW2REO_RING_ID_IN(x)                             \
2734 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_ID_ADDR(x), HWIO_REO_R0_SW2REO_RING_ID_RMSK)
2735 #define HWIO_REO_R0_SW2REO_RING_ID_INM(x, mask)                      \
2736 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_ID_ADDR(x), mask)
2737 #define HWIO_REO_R0_SW2REO_RING_ID_OUT(x, val)                       \
2738 	out_dword( HWIO_REO_R0_SW2REO_RING_ID_ADDR(x), val)
2739 #define HWIO_REO_R0_SW2REO_RING_ID_OUTM(x, mask, val)                \
2740 	do {\
2741 		HWIO_INTLOCK(); \
2742 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_ID_IN(x)); \
2743 		HWIO_INTFREE();\
2744 	} while (0)
2745 
2746 #define HWIO_REO_R0_SW2REO_RING_ID_ENTRY_SIZE_BMSK                   0x000000ff
2747 #define HWIO_REO_R0_SW2REO_RING_ID_ENTRY_SIZE_SHFT                          0x0
2748 
2749 //// Register REO_R0_SW2REO_RING_STATUS ////
2750 
2751 #define HWIO_REO_R0_SW2REO_RING_STATUS_ADDR(x)                       (x+0x000001f8)
2752 #define HWIO_REO_R0_SW2REO_RING_STATUS_PHYS(x)                       (x+0x000001f8)
2753 #define HWIO_REO_R0_SW2REO_RING_STATUS_RMSK                          0xffffffff
2754 #define HWIO_REO_R0_SW2REO_RING_STATUS_SHFT                                   0
2755 #define HWIO_REO_R0_SW2REO_RING_STATUS_IN(x)                         \
2756 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_STATUS_ADDR(x), HWIO_REO_R0_SW2REO_RING_STATUS_RMSK)
2757 #define HWIO_REO_R0_SW2REO_RING_STATUS_INM(x, mask)                  \
2758 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_STATUS_ADDR(x), mask)
2759 #define HWIO_REO_R0_SW2REO_RING_STATUS_OUT(x, val)                   \
2760 	out_dword( HWIO_REO_R0_SW2REO_RING_STATUS_ADDR(x), val)
2761 #define HWIO_REO_R0_SW2REO_RING_STATUS_OUTM(x, mask, val)            \
2762 	do {\
2763 		HWIO_INTLOCK(); \
2764 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_STATUS_IN(x)); \
2765 		HWIO_INTFREE();\
2766 	} while (0)
2767 
2768 #define HWIO_REO_R0_SW2REO_RING_STATUS_NUM_AVAIL_WORDS_BMSK          0xffff0000
2769 #define HWIO_REO_R0_SW2REO_RING_STATUS_NUM_AVAIL_WORDS_SHFT                0x10
2770 
2771 #define HWIO_REO_R0_SW2REO_RING_STATUS_NUM_VALID_WORDS_BMSK          0x0000ffff
2772 #define HWIO_REO_R0_SW2REO_RING_STATUS_NUM_VALID_WORDS_SHFT                 0x0
2773 
2774 //// Register REO_R0_SW2REO_RING_MISC ////
2775 
2776 #define HWIO_REO_R0_SW2REO_RING_MISC_ADDR(x)                         (x+0x000001fc)
2777 #define HWIO_REO_R0_SW2REO_RING_MISC_PHYS(x)                         (x+0x000001fc)
2778 #define HWIO_REO_R0_SW2REO_RING_MISC_RMSK                            0x003fffff
2779 #define HWIO_REO_R0_SW2REO_RING_MISC_SHFT                                     0
2780 #define HWIO_REO_R0_SW2REO_RING_MISC_IN(x)                           \
2781 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_MISC_ADDR(x), HWIO_REO_R0_SW2REO_RING_MISC_RMSK)
2782 #define HWIO_REO_R0_SW2REO_RING_MISC_INM(x, mask)                    \
2783 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_MISC_ADDR(x), mask)
2784 #define HWIO_REO_R0_SW2REO_RING_MISC_OUT(x, val)                     \
2785 	out_dword( HWIO_REO_R0_SW2REO_RING_MISC_ADDR(x), val)
2786 #define HWIO_REO_R0_SW2REO_RING_MISC_OUTM(x, mask, val)              \
2787 	do {\
2788 		HWIO_INTLOCK(); \
2789 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_MISC_IN(x)); \
2790 		HWIO_INTFREE();\
2791 	} while (0)
2792 
2793 #define HWIO_REO_R0_SW2REO_RING_MISC_SPARE_CONTROL_BMSK              0x003fc000
2794 #define HWIO_REO_R0_SW2REO_RING_MISC_SPARE_CONTROL_SHFT                     0xe
2795 
2796 #define HWIO_REO_R0_SW2REO_RING_MISC_SRNG_SM_STATE2_BMSK             0x00003000
2797 #define HWIO_REO_R0_SW2REO_RING_MISC_SRNG_SM_STATE2_SHFT                    0xc
2798 
2799 #define HWIO_REO_R0_SW2REO_RING_MISC_SRNG_SM_STATE1_BMSK             0x00000f00
2800 #define HWIO_REO_R0_SW2REO_RING_MISC_SRNG_SM_STATE1_SHFT                    0x8
2801 
2802 #define HWIO_REO_R0_SW2REO_RING_MISC_SRNG_IS_IDLE_BMSK               0x00000080
2803 #define HWIO_REO_R0_SW2REO_RING_MISC_SRNG_IS_IDLE_SHFT                      0x7
2804 
2805 #define HWIO_REO_R0_SW2REO_RING_MISC_SRNG_ENABLE_BMSK                0x00000040
2806 #define HWIO_REO_R0_SW2REO_RING_MISC_SRNG_ENABLE_SHFT                       0x6
2807 
2808 #define HWIO_REO_R0_SW2REO_RING_MISC_DATA_TLV_SWAP_BIT_BMSK          0x00000020
2809 #define HWIO_REO_R0_SW2REO_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                 0x5
2810 
2811 #define HWIO_REO_R0_SW2REO_RING_MISC_HOST_FW_SWAP_BIT_BMSK           0x00000010
2812 #define HWIO_REO_R0_SW2REO_RING_MISC_HOST_FW_SWAP_BIT_SHFT                  0x4
2813 
2814 #define HWIO_REO_R0_SW2REO_RING_MISC_MSI_SWAP_BIT_BMSK               0x00000008
2815 #define HWIO_REO_R0_SW2REO_RING_MISC_MSI_SWAP_BIT_SHFT                      0x3
2816 
2817 #define HWIO_REO_R0_SW2REO_RING_MISC_SECURITY_BIT_BMSK               0x00000004
2818 #define HWIO_REO_R0_SW2REO_RING_MISC_SECURITY_BIT_SHFT                      0x2
2819 
2820 #define HWIO_REO_R0_SW2REO_RING_MISC_LOOPCNT_DISABLE_BMSK            0x00000002
2821 #define HWIO_REO_R0_SW2REO_RING_MISC_LOOPCNT_DISABLE_SHFT                   0x1
2822 
2823 #define HWIO_REO_R0_SW2REO_RING_MISC_RING_ID_DISABLE_BMSK            0x00000001
2824 #define HWIO_REO_R0_SW2REO_RING_MISC_RING_ID_DISABLE_SHFT                   0x0
2825 
2826 //// Register REO_R0_SW2REO_RING_TP_ADDR_LSB ////
2827 
2828 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_ADDR(x)                  (x+0x00000208)
2829 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_PHYS(x)                  (x+0x00000208)
2830 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_RMSK                     0xffffffff
2831 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_SHFT                              0
2832 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_IN(x)                    \
2833 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_ADDR(x), HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_RMSK)
2834 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_INM(x, mask)             \
2835 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_ADDR(x), mask)
2836 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_OUT(x, val)              \
2837 	out_dword( HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_ADDR(x), val)
2838 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_OUTM(x, mask, val)       \
2839 	do {\
2840 		HWIO_INTLOCK(); \
2841 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_IN(x)); \
2842 		HWIO_INTFREE();\
2843 	} while (0)
2844 
2845 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_BMSK 0xffffffff
2846 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_LSB_TAIL_PTR_MEMADDR_LSB_SHFT        0x0
2847 
2848 //// Register REO_R0_SW2REO_RING_TP_ADDR_MSB ////
2849 
2850 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_ADDR(x)                  (x+0x0000020c)
2851 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_PHYS(x)                  (x+0x0000020c)
2852 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_RMSK                     0x000000ff
2853 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_SHFT                              0
2854 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_IN(x)                    \
2855 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_ADDR(x), HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_RMSK)
2856 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_INM(x, mask)             \
2857 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_ADDR(x), mask)
2858 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_OUT(x, val)              \
2859 	out_dword( HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_ADDR(x), val)
2860 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_OUTM(x, mask, val)       \
2861 	do {\
2862 		HWIO_INTLOCK(); \
2863 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_IN(x)); \
2864 		HWIO_INTFREE();\
2865 	} while (0)
2866 
2867 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_BMSK 0x000000ff
2868 #define HWIO_REO_R0_SW2REO_RING_TP_ADDR_MSB_TAIL_PTR_MEMADDR_MSB_SHFT        0x0
2869 
2870 //// Register REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0 ////
2871 
2872 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_ADDR(x)       (x+0x0000021c)
2873 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_PHYS(x)       (x+0x0000021c)
2874 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_RMSK          0xffffffff
2875 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_SHFT                   0
2876 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_IN(x)         \
2877 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_RMSK)
2878 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_INM(x, mask)  \
2879 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask)
2880 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_OUT(x, val)   \
2881 	out_dword( HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), val)
2882 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_OUTM(x, mask, val) \
2883 	do {\
2884 		HWIO_INTLOCK(); \
2885 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_IN(x)); \
2886 		HWIO_INTFREE();\
2887 	} while (0)
2888 
2889 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
2890 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
2891 
2892 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_BMSK 0x00008000
2893 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_SW_INTERRUPT_MODE_SHFT        0xf
2894 
2895 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
2896 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX0_BATCH_COUNTER_THRESHOLD_SHFT        0x0
2897 
2898 //// Register REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1 ////
2899 
2900 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_ADDR(x)       (x+0x00000220)
2901 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_PHYS(x)       (x+0x00000220)
2902 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_RMSK          0x0000ffff
2903 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_SHFT                   0
2904 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_IN(x)         \
2905 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_RMSK)
2906 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_INM(x, mask)  \
2907 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask)
2908 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_OUT(x, val)   \
2909 	out_dword( HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), val)
2910 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_OUTM(x, mask, val) \
2911 	do {\
2912 		HWIO_INTLOCK(); \
2913 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_IN(x)); \
2914 		HWIO_INTFREE();\
2915 	} while (0)
2916 
2917 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_BMSK 0x0000ffff
2918 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_SETUP_IX1_LOW_THRESHOLD_SHFT        0x0
2919 
2920 //// Register REO_R0_SW2REO_RING_CONSUMER_INT_STATUS ////
2921 
2922 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_ADDR(x)          (x+0x00000224)
2923 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_PHYS(x)          (x+0x00000224)
2924 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_RMSK             0xffffffff
2925 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_SHFT                      0
2926 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_IN(x)            \
2927 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_ADDR(x), HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_RMSK)
2928 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_INM(x, mask)     \
2929 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_ADDR(x), mask)
2930 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_OUT(x, val)      \
2931 	out_dword( HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_ADDR(x), val)
2932 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_OUTM(x, mask, val) \
2933 	do {\
2934 		HWIO_INTLOCK(); \
2935 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_IN(x)); \
2936 		HWIO_INTFREE();\
2937 	} while (0)
2938 
2939 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
2940 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
2941 
2942 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_BMSK 0x00008000
2943 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_CURRENT_INT_WIRE_VALUE_SHFT        0xf
2944 
2945 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
2946 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
2947 
2948 //// Register REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER ////
2949 
2950 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_ADDR(x)       (x+0x00000228)
2951 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_PHYS(x)       (x+0x00000228)
2952 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_RMSK          0x000003ff
2953 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_SHFT                   0
2954 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_IN(x)         \
2955 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_RMSK)
2956 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_INM(x, mask)  \
2957 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask)
2958 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_OUT(x, val)   \
2959 	out_dword( HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), val)
2960 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_OUTM(x, mask, val) \
2961 	do {\
2962 		HWIO_INTLOCK(); \
2963 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_IN(x)); \
2964 		HWIO_INTFREE();\
2965 	} while (0)
2966 
2967 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_BMSK 0x000003ff
2968 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_EMPTY_COUNTER_RING_EMPTY_COUNTER_SHFT        0x0
2969 
2970 //// Register REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER ////
2971 
2972 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_ADDR(x)      (x+0x0000022c)
2973 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_PHYS(x)      (x+0x0000022c)
2974 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_RMSK         0x00000007
2975 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_SHFT                  0
2976 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_IN(x)        \
2977 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_RMSK)
2978 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_INM(x, mask) \
2979 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask)
2980 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_OUT(x, val)  \
2981 	out_dword( HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), val)
2982 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_OUTM(x, mask, val) \
2983 	do {\
2984 		HWIO_INTLOCK(); \
2985 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_IN(x)); \
2986 		HWIO_INTFREE();\
2987 	} while (0)
2988 
2989 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_MODE_BMSK    0x00000007
2990 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_TIMER_MODE_SHFT           0x0
2991 
2992 //// Register REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS ////
2993 
2994 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_ADDR(x)     (x+0x00000230)
2995 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_PHYS(x)     (x+0x00000230)
2996 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_RMSK        0x00ffffff
2997 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_SHFT                 0
2998 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_IN(x)       \
2999 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_RMSK)
3000 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_INM(x, mask) \
3001 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask)
3002 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_OUT(x, val) \
3003 	out_dword( HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), val)
3004 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_OUTM(x, mask, val) \
3005 	do {\
3006 		HWIO_INTLOCK(); \
3007 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_IN(x)); \
3008 		HWIO_INTFREE();\
3009 	} while (0)
3010 
3011 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_BMSK 0x00ff0000
3012 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_PREFETCH_COUNT_SHFT       0x10
3013 
3014 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_BMSK 0x0000ffff
3015 #define HWIO_REO_R0_SW2REO_RING_CONSUMER_PREFETCH_STATUS_INTERNAL_TAIL_PTR_SHFT        0x0
3016 
3017 //// Register REO_R0_SW2REO_RING_MSI1_BASE_LSB ////
3018 
3019 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_ADDR(x)                (x+0x00000234)
3020 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_PHYS(x)                (x+0x00000234)
3021 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_RMSK                   0xffffffff
3022 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_SHFT                            0
3023 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_IN(x)                  \
3024 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_RMSK)
3025 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_INM(x, mask)           \
3026 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_ADDR(x), mask)
3027 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_OUT(x, val)            \
3028 	out_dword( HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_ADDR(x), val)
3029 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_OUTM(x, mask, val)     \
3030 	do {\
3031 		HWIO_INTLOCK(); \
3032 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_IN(x)); \
3033 		HWIO_INTFREE();\
3034 	} while (0)
3035 
3036 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_ADDR_BMSK              0xffffffff
3037 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_LSB_ADDR_SHFT                     0x0
3038 
3039 //// Register REO_R0_SW2REO_RING_MSI1_BASE_MSB ////
3040 
3041 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_ADDR(x)                (x+0x00000238)
3042 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_PHYS(x)                (x+0x00000238)
3043 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_RMSK                   0x000001ff
3044 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_SHFT                            0
3045 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_IN(x)                  \
3046 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_RMSK)
3047 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_INM(x, mask)           \
3048 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_ADDR(x), mask)
3049 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_OUT(x, val)            \
3050 	out_dword( HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_ADDR(x), val)
3051 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_OUTM(x, mask, val)     \
3052 	do {\
3053 		HWIO_INTLOCK(); \
3054 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_IN(x)); \
3055 		HWIO_INTFREE();\
3056 	} while (0)
3057 
3058 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK       0x00000100
3059 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT              0x8
3060 
3061 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_ADDR_BMSK              0x000000ff
3062 #define HWIO_REO_R0_SW2REO_RING_MSI1_BASE_MSB_ADDR_SHFT                     0x0
3063 
3064 //// Register REO_R0_SW2REO_RING_MSI1_DATA ////
3065 
3066 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_ADDR(x)                    (x+0x0000023c)
3067 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_PHYS(x)                    (x+0x0000023c)
3068 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_RMSK                       0xffffffff
3069 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_SHFT                                0
3070 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_IN(x)                      \
3071 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_SW2REO_RING_MSI1_DATA_RMSK)
3072 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_INM(x, mask)               \
3073 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_MSI1_DATA_ADDR(x), mask)
3074 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_OUT(x, val)                \
3075 	out_dword( HWIO_REO_R0_SW2REO_RING_MSI1_DATA_ADDR(x), val)
3076 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_OUTM(x, mask, val)         \
3077 	do {\
3078 		HWIO_INTLOCK(); \
3079 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_MSI1_DATA_IN(x)); \
3080 		HWIO_INTFREE();\
3081 	} while (0)
3082 
3083 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_VALUE_BMSK                 0xffffffff
3084 #define HWIO_REO_R0_SW2REO_RING_MSI1_DATA_VALUE_SHFT                        0x0
3085 
3086 //// Register REO_R0_SW2REO_RING_HP_TP_SW_OFFSET ////
3087 
3088 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_ADDR(x)              (x+0x00000240)
3089 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_PHYS(x)              (x+0x00000240)
3090 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_RMSK                 0x0000ffff
3091 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_SHFT                          0
3092 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_IN(x)                \
3093 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_RMSK)
3094 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_INM(x, mask)         \
3095 	in_dword_masked ( HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
3096 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_OUT(x, val)          \
3097 	out_dword( HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_ADDR(x), val)
3098 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)   \
3099 	do {\
3100 		HWIO_INTLOCK(); \
3101 		out_dword_masked_ns(HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_IN(x)); \
3102 		HWIO_INTFREE();\
3103 	} while (0)
3104 
3105 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
3106 #define HWIO_REO_R0_SW2REO_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
3107 
3108 //// Register REO_R0_REO2SW1_RING_BASE_LSB ////
3109 
3110 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_ADDR(x)                    (x+0x00000244)
3111 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_PHYS(x)                    (x+0x00000244)
3112 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_RMSK                       0xffffffff
3113 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_SHFT                                0
3114 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_IN(x)                      \
3115 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW1_RING_BASE_LSB_RMSK)
3116 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_INM(x, mask)               \
3117 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_BASE_LSB_ADDR(x), mask)
3118 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_OUT(x, val)                \
3119 	out_dword( HWIO_REO_R0_REO2SW1_RING_BASE_LSB_ADDR(x), val)
3120 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_OUTM(x, mask, val)         \
3121 	do {\
3122 		HWIO_INTLOCK(); \
3123 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_BASE_LSB_IN(x)); \
3124 		HWIO_INTFREE();\
3125 	} while (0)
3126 
3127 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK    0xffffffff
3128 #define HWIO_REO_R0_REO2SW1_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT           0x0
3129 
3130 //// Register REO_R0_REO2SW1_RING_BASE_MSB ////
3131 
3132 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_ADDR(x)                    (x+0x00000248)
3133 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_PHYS(x)                    (x+0x00000248)
3134 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_RMSK                       0x0fffffff
3135 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_SHFT                                0
3136 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_IN(x)                      \
3137 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW1_RING_BASE_MSB_RMSK)
3138 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_INM(x, mask)               \
3139 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_BASE_MSB_ADDR(x), mask)
3140 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_OUT(x, val)                \
3141 	out_dword( HWIO_REO_R0_REO2SW1_RING_BASE_MSB_ADDR(x), val)
3142 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_OUTM(x, mask, val)         \
3143 	do {\
3144 		HWIO_INTLOCK(); \
3145 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_BASE_MSB_IN(x)); \
3146 		HWIO_INTFREE();\
3147 	} while (0)
3148 
3149 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_RING_SIZE_BMSK             0x0fffff00
3150 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_RING_SIZE_SHFT                    0x8
3151 
3152 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK    0x000000ff
3153 #define HWIO_REO_R0_REO2SW1_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT           0x0
3154 
3155 //// Register REO_R0_REO2SW1_RING_ID ////
3156 
3157 #define HWIO_REO_R0_REO2SW1_RING_ID_ADDR(x)                          (x+0x0000024c)
3158 #define HWIO_REO_R0_REO2SW1_RING_ID_PHYS(x)                          (x+0x0000024c)
3159 #define HWIO_REO_R0_REO2SW1_RING_ID_RMSK                             0x0000ffff
3160 #define HWIO_REO_R0_REO2SW1_RING_ID_SHFT                                      0
3161 #define HWIO_REO_R0_REO2SW1_RING_ID_IN(x)                            \
3162 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_ID_ADDR(x), HWIO_REO_R0_REO2SW1_RING_ID_RMSK)
3163 #define HWIO_REO_R0_REO2SW1_RING_ID_INM(x, mask)                     \
3164 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_ID_ADDR(x), mask)
3165 #define HWIO_REO_R0_REO2SW1_RING_ID_OUT(x, val)                      \
3166 	out_dword( HWIO_REO_R0_REO2SW1_RING_ID_ADDR(x), val)
3167 #define HWIO_REO_R0_REO2SW1_RING_ID_OUTM(x, mask, val)               \
3168 	do {\
3169 		HWIO_INTLOCK(); \
3170 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_ID_IN(x)); \
3171 		HWIO_INTFREE();\
3172 	} while (0)
3173 
3174 #define HWIO_REO_R0_REO2SW1_RING_ID_RING_ID_BMSK                     0x0000ff00
3175 #define HWIO_REO_R0_REO2SW1_RING_ID_RING_ID_SHFT                            0x8
3176 
3177 #define HWIO_REO_R0_REO2SW1_RING_ID_ENTRY_SIZE_BMSK                  0x000000ff
3178 #define HWIO_REO_R0_REO2SW1_RING_ID_ENTRY_SIZE_SHFT                         0x0
3179 
3180 //// Register REO_R0_REO2SW1_RING_STATUS ////
3181 
3182 #define HWIO_REO_R0_REO2SW1_RING_STATUS_ADDR(x)                      (x+0x00000250)
3183 #define HWIO_REO_R0_REO2SW1_RING_STATUS_PHYS(x)                      (x+0x00000250)
3184 #define HWIO_REO_R0_REO2SW1_RING_STATUS_RMSK                         0xffffffff
3185 #define HWIO_REO_R0_REO2SW1_RING_STATUS_SHFT                                  0
3186 #define HWIO_REO_R0_REO2SW1_RING_STATUS_IN(x)                        \
3187 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_STATUS_ADDR(x), HWIO_REO_R0_REO2SW1_RING_STATUS_RMSK)
3188 #define HWIO_REO_R0_REO2SW1_RING_STATUS_INM(x, mask)                 \
3189 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_STATUS_ADDR(x), mask)
3190 #define HWIO_REO_R0_REO2SW1_RING_STATUS_OUT(x, val)                  \
3191 	out_dword( HWIO_REO_R0_REO2SW1_RING_STATUS_ADDR(x), val)
3192 #define HWIO_REO_R0_REO2SW1_RING_STATUS_OUTM(x, mask, val)           \
3193 	do {\
3194 		HWIO_INTLOCK(); \
3195 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_STATUS_IN(x)); \
3196 		HWIO_INTFREE();\
3197 	} while (0)
3198 
3199 #define HWIO_REO_R0_REO2SW1_RING_STATUS_NUM_AVAIL_WORDS_BMSK         0xffff0000
3200 #define HWIO_REO_R0_REO2SW1_RING_STATUS_NUM_AVAIL_WORDS_SHFT               0x10
3201 
3202 #define HWIO_REO_R0_REO2SW1_RING_STATUS_NUM_VALID_WORDS_BMSK         0x0000ffff
3203 #define HWIO_REO_R0_REO2SW1_RING_STATUS_NUM_VALID_WORDS_SHFT                0x0
3204 
3205 //// Register REO_R0_REO2SW1_RING_MISC ////
3206 
3207 #define HWIO_REO_R0_REO2SW1_RING_MISC_ADDR(x)                        (x+0x00000254)
3208 #define HWIO_REO_R0_REO2SW1_RING_MISC_PHYS(x)                        (x+0x00000254)
3209 #define HWIO_REO_R0_REO2SW1_RING_MISC_RMSK                           0x03ffffff
3210 #define HWIO_REO_R0_REO2SW1_RING_MISC_SHFT                                    0
3211 #define HWIO_REO_R0_REO2SW1_RING_MISC_IN(x)                          \
3212 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_MISC_ADDR(x), HWIO_REO_R0_REO2SW1_RING_MISC_RMSK)
3213 #define HWIO_REO_R0_REO2SW1_RING_MISC_INM(x, mask)                   \
3214 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_MISC_ADDR(x), mask)
3215 #define HWIO_REO_R0_REO2SW1_RING_MISC_OUT(x, val)                    \
3216 	out_dword( HWIO_REO_R0_REO2SW1_RING_MISC_ADDR(x), val)
3217 #define HWIO_REO_R0_REO2SW1_RING_MISC_OUTM(x, mask, val)             \
3218 	do {\
3219 		HWIO_INTLOCK(); \
3220 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_MISC_IN(x)); \
3221 		HWIO_INTFREE();\
3222 	} while (0)
3223 
3224 #define HWIO_REO_R0_REO2SW1_RING_MISC_LOOP_CNT_BMSK                  0x03c00000
3225 #define HWIO_REO_R0_REO2SW1_RING_MISC_LOOP_CNT_SHFT                        0x16
3226 
3227 #define HWIO_REO_R0_REO2SW1_RING_MISC_SPARE_CONTROL_BMSK             0x003fc000
3228 #define HWIO_REO_R0_REO2SW1_RING_MISC_SPARE_CONTROL_SHFT                    0xe
3229 
3230 #define HWIO_REO_R0_REO2SW1_RING_MISC_SRNG_SM_STATE2_BMSK            0x00003000
3231 #define HWIO_REO_R0_REO2SW1_RING_MISC_SRNG_SM_STATE2_SHFT                   0xc
3232 
3233 #define HWIO_REO_R0_REO2SW1_RING_MISC_SRNG_SM_STATE1_BMSK            0x00000f00
3234 #define HWIO_REO_R0_REO2SW1_RING_MISC_SRNG_SM_STATE1_SHFT                   0x8
3235 
3236 #define HWIO_REO_R0_REO2SW1_RING_MISC_SRNG_IS_IDLE_BMSK              0x00000080
3237 #define HWIO_REO_R0_REO2SW1_RING_MISC_SRNG_IS_IDLE_SHFT                     0x7
3238 
3239 #define HWIO_REO_R0_REO2SW1_RING_MISC_SRNG_ENABLE_BMSK               0x00000040
3240 #define HWIO_REO_R0_REO2SW1_RING_MISC_SRNG_ENABLE_SHFT                      0x6
3241 
3242 #define HWIO_REO_R0_REO2SW1_RING_MISC_DATA_TLV_SWAP_BIT_BMSK         0x00000020
3243 #define HWIO_REO_R0_REO2SW1_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                0x5
3244 
3245 #define HWIO_REO_R0_REO2SW1_RING_MISC_HOST_FW_SWAP_BIT_BMSK          0x00000010
3246 #define HWIO_REO_R0_REO2SW1_RING_MISC_HOST_FW_SWAP_BIT_SHFT                 0x4
3247 
3248 #define HWIO_REO_R0_REO2SW1_RING_MISC_MSI_SWAP_BIT_BMSK              0x00000008
3249 #define HWIO_REO_R0_REO2SW1_RING_MISC_MSI_SWAP_BIT_SHFT                     0x3
3250 
3251 #define HWIO_REO_R0_REO2SW1_RING_MISC_SECURITY_BIT_BMSK              0x00000004
3252 #define HWIO_REO_R0_REO2SW1_RING_MISC_SECURITY_BIT_SHFT                     0x2
3253 
3254 #define HWIO_REO_R0_REO2SW1_RING_MISC_LOOPCNT_DISABLE_BMSK           0x00000002
3255 #define HWIO_REO_R0_REO2SW1_RING_MISC_LOOPCNT_DISABLE_SHFT                  0x1
3256 
3257 #define HWIO_REO_R0_REO2SW1_RING_MISC_RING_ID_DISABLE_BMSK           0x00000001
3258 #define HWIO_REO_R0_REO2SW1_RING_MISC_RING_ID_DISABLE_SHFT                  0x0
3259 
3260 //// Register REO_R0_REO2SW1_RING_HP_ADDR_LSB ////
3261 
3262 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_ADDR(x)                 (x+0x00000258)
3263 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_PHYS(x)                 (x+0x00000258)
3264 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_RMSK                    0xffffffff
3265 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_SHFT                             0
3266 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_IN(x)                   \
3267 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_RMSK)
3268 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_INM(x, mask)            \
3269 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_ADDR(x), mask)
3270 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_OUT(x, val)             \
3271 	out_dword( HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_ADDR(x), val)
3272 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_OUTM(x, mask, val)      \
3273 	do {\
3274 		HWIO_INTLOCK(); \
3275 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_IN(x)); \
3276 		HWIO_INTFREE();\
3277 	} while (0)
3278 
3279 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
3280 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
3281 
3282 //// Register REO_R0_REO2SW1_RING_HP_ADDR_MSB ////
3283 
3284 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_ADDR(x)                 (x+0x0000025c)
3285 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_PHYS(x)                 (x+0x0000025c)
3286 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_RMSK                    0x000000ff
3287 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_SHFT                             0
3288 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_IN(x)                   \
3289 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_RMSK)
3290 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_INM(x, mask)            \
3291 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_ADDR(x), mask)
3292 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_OUT(x, val)             \
3293 	out_dword( HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_ADDR(x), val)
3294 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_OUTM(x, mask, val)      \
3295 	do {\
3296 		HWIO_INTLOCK(); \
3297 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_IN(x)); \
3298 		HWIO_INTFREE();\
3299 	} while (0)
3300 
3301 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
3302 #define HWIO_REO_R0_REO2SW1_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
3303 
3304 //// Register REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP ////
3305 
3306 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_ADDR(x)          (x+0x00000268)
3307 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_PHYS(x)          (x+0x00000268)
3308 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_RMSK             0xffffffff
3309 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_SHFT                      0
3310 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_IN(x)            \
3311 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_RMSK)
3312 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_INM(x, mask)     \
3313 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
3314 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_OUT(x, val)      \
3315 	out_dword( HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_ADDR(x), val)
3316 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
3317 	do {\
3318 		HWIO_INTLOCK(); \
3319 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_IN(x)); \
3320 		HWIO_INTFREE();\
3321 	} while (0)
3322 
3323 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
3324 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
3325 
3326 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
3327 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
3328 
3329 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
3330 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
3331 
3332 //// Register REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS ////
3333 
3334 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_ADDR(x)         (x+0x0000026c)
3335 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_PHYS(x)         (x+0x0000026c)
3336 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_RMSK            0xffffffff
3337 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_SHFT                     0
3338 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_IN(x)           \
3339 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_RMSK)
3340 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_INM(x, mask)    \
3341 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
3342 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_OUT(x, val)     \
3343 	out_dword( HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_ADDR(x), val)
3344 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
3345 	do {\
3346 		HWIO_INTLOCK(); \
3347 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_IN(x)); \
3348 		HWIO_INTFREE();\
3349 	} while (0)
3350 
3351 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
3352 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
3353 
3354 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
3355 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
3356 
3357 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
3358 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
3359 
3360 //// Register REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER ////
3361 
3362 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_ADDR(x)       (x+0x00000270)
3363 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_PHYS(x)       (x+0x00000270)
3364 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_RMSK          0x000003ff
3365 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_SHFT                   0
3366 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_IN(x)         \
3367 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_RMSK)
3368 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_INM(x, mask)  \
3369 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
3370 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_OUT(x, val)   \
3371 	out_dword( HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
3372 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
3373 	do {\
3374 		HWIO_INTLOCK(); \
3375 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_IN(x)); \
3376 		HWIO_INTFREE();\
3377 	} while (0)
3378 
3379 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
3380 #define HWIO_REO_R0_REO2SW1_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
3381 
3382 //// Register REO_R0_REO2SW1_RING_MSI1_BASE_LSB ////
3383 
3384 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_ADDR(x)               (x+0x0000028c)
3385 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_PHYS(x)               (x+0x0000028c)
3386 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_RMSK                  0xffffffff
3387 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_SHFT                           0
3388 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_IN(x)                 \
3389 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_RMSK)
3390 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_INM(x, mask)          \
3391 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_ADDR(x), mask)
3392 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_OUT(x, val)           \
3393 	out_dword( HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_ADDR(x), val)
3394 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_OUTM(x, mask, val)    \
3395 	do {\
3396 		HWIO_INTLOCK(); \
3397 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_IN(x)); \
3398 		HWIO_INTFREE();\
3399 	} while (0)
3400 
3401 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_ADDR_BMSK             0xffffffff
3402 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_LSB_ADDR_SHFT                    0x0
3403 
3404 //// Register REO_R0_REO2SW1_RING_MSI1_BASE_MSB ////
3405 
3406 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_ADDR(x)               (x+0x00000290)
3407 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_PHYS(x)               (x+0x00000290)
3408 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_RMSK                  0x000001ff
3409 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_SHFT                           0
3410 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_IN(x)                 \
3411 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_RMSK)
3412 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_INM(x, mask)          \
3413 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_ADDR(x), mask)
3414 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_OUT(x, val)           \
3415 	out_dword( HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_ADDR(x), val)
3416 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_OUTM(x, mask, val)    \
3417 	do {\
3418 		HWIO_INTLOCK(); \
3419 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_IN(x)); \
3420 		HWIO_INTFREE();\
3421 	} while (0)
3422 
3423 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK      0x00000100
3424 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT             0x8
3425 
3426 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_ADDR_BMSK             0x000000ff
3427 #define HWIO_REO_R0_REO2SW1_RING_MSI1_BASE_MSB_ADDR_SHFT                    0x0
3428 
3429 //// Register REO_R0_REO2SW1_RING_MSI1_DATA ////
3430 
3431 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_ADDR(x)                   (x+0x00000294)
3432 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_PHYS(x)                   (x+0x00000294)
3433 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_RMSK                      0xffffffff
3434 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_SHFT                               0
3435 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_IN(x)                     \
3436 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_RMSK)
3437 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_INM(x, mask)              \
3438 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_ADDR(x), mask)
3439 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_OUT(x, val)               \
3440 	out_dword( HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_ADDR(x), val)
3441 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_OUTM(x, mask, val)        \
3442 	do {\
3443 		HWIO_INTLOCK(); \
3444 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_IN(x)); \
3445 		HWIO_INTFREE();\
3446 	} while (0)
3447 
3448 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_VALUE_BMSK                0xffffffff
3449 #define HWIO_REO_R0_REO2SW1_RING_MSI1_DATA_VALUE_SHFT                       0x0
3450 
3451 //// Register REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET ////
3452 
3453 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_ADDR(x)             (x+0x00000298)
3454 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_PHYS(x)             (x+0x00000298)
3455 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_RMSK                0x0000ffff
3456 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_SHFT                         0
3457 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_IN(x)               \
3458 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_RMSK)
3459 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_INM(x, mask)        \
3460 	in_dword_masked ( HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
3461 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_OUT(x, val)         \
3462 	out_dword( HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_ADDR(x), val)
3463 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)  \
3464 	do {\
3465 		HWIO_INTLOCK(); \
3466 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_IN(x)); \
3467 		HWIO_INTFREE();\
3468 	} while (0)
3469 
3470 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
3471 #define HWIO_REO_R0_REO2SW1_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
3472 
3473 //// Register REO_R0_REO2SW2_RING_BASE_LSB ////
3474 
3475 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_ADDR(x)                    (x+0x0000029c)
3476 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_PHYS(x)                    (x+0x0000029c)
3477 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_RMSK                       0xffffffff
3478 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_SHFT                                0
3479 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_IN(x)                      \
3480 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW2_RING_BASE_LSB_RMSK)
3481 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_INM(x, mask)               \
3482 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_BASE_LSB_ADDR(x), mask)
3483 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_OUT(x, val)                \
3484 	out_dword( HWIO_REO_R0_REO2SW2_RING_BASE_LSB_ADDR(x), val)
3485 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_OUTM(x, mask, val)         \
3486 	do {\
3487 		HWIO_INTLOCK(); \
3488 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_BASE_LSB_IN(x)); \
3489 		HWIO_INTFREE();\
3490 	} while (0)
3491 
3492 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK    0xffffffff
3493 #define HWIO_REO_R0_REO2SW2_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT           0x0
3494 
3495 //// Register REO_R0_REO2SW2_RING_BASE_MSB ////
3496 
3497 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_ADDR(x)                    (x+0x000002a0)
3498 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_PHYS(x)                    (x+0x000002a0)
3499 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_RMSK                       0x0fffffff
3500 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_SHFT                                0
3501 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_IN(x)                      \
3502 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW2_RING_BASE_MSB_RMSK)
3503 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_INM(x, mask)               \
3504 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_BASE_MSB_ADDR(x), mask)
3505 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_OUT(x, val)                \
3506 	out_dword( HWIO_REO_R0_REO2SW2_RING_BASE_MSB_ADDR(x), val)
3507 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_OUTM(x, mask, val)         \
3508 	do {\
3509 		HWIO_INTLOCK(); \
3510 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_BASE_MSB_IN(x)); \
3511 		HWIO_INTFREE();\
3512 	} while (0)
3513 
3514 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_RING_SIZE_BMSK             0x0fffff00
3515 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_RING_SIZE_SHFT                    0x8
3516 
3517 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK    0x000000ff
3518 #define HWIO_REO_R0_REO2SW2_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT           0x0
3519 
3520 //// Register REO_R0_REO2SW2_RING_ID ////
3521 
3522 #define HWIO_REO_R0_REO2SW2_RING_ID_ADDR(x)                          (x+0x000002a4)
3523 #define HWIO_REO_R0_REO2SW2_RING_ID_PHYS(x)                          (x+0x000002a4)
3524 #define HWIO_REO_R0_REO2SW2_RING_ID_RMSK                             0x0000ffff
3525 #define HWIO_REO_R0_REO2SW2_RING_ID_SHFT                                      0
3526 #define HWIO_REO_R0_REO2SW2_RING_ID_IN(x)                            \
3527 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_ID_ADDR(x), HWIO_REO_R0_REO2SW2_RING_ID_RMSK)
3528 #define HWIO_REO_R0_REO2SW2_RING_ID_INM(x, mask)                     \
3529 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_ID_ADDR(x), mask)
3530 #define HWIO_REO_R0_REO2SW2_RING_ID_OUT(x, val)                      \
3531 	out_dword( HWIO_REO_R0_REO2SW2_RING_ID_ADDR(x), val)
3532 #define HWIO_REO_R0_REO2SW2_RING_ID_OUTM(x, mask, val)               \
3533 	do {\
3534 		HWIO_INTLOCK(); \
3535 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_ID_IN(x)); \
3536 		HWIO_INTFREE();\
3537 	} while (0)
3538 
3539 #define HWIO_REO_R0_REO2SW2_RING_ID_RING_ID_BMSK                     0x0000ff00
3540 #define HWIO_REO_R0_REO2SW2_RING_ID_RING_ID_SHFT                            0x8
3541 
3542 #define HWIO_REO_R0_REO2SW2_RING_ID_ENTRY_SIZE_BMSK                  0x000000ff
3543 #define HWIO_REO_R0_REO2SW2_RING_ID_ENTRY_SIZE_SHFT                         0x0
3544 
3545 //// Register REO_R0_REO2SW2_RING_STATUS ////
3546 
3547 #define HWIO_REO_R0_REO2SW2_RING_STATUS_ADDR(x)                      (x+0x000002a8)
3548 #define HWIO_REO_R0_REO2SW2_RING_STATUS_PHYS(x)                      (x+0x000002a8)
3549 #define HWIO_REO_R0_REO2SW2_RING_STATUS_RMSK                         0xffffffff
3550 #define HWIO_REO_R0_REO2SW2_RING_STATUS_SHFT                                  0
3551 #define HWIO_REO_R0_REO2SW2_RING_STATUS_IN(x)                        \
3552 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_STATUS_ADDR(x), HWIO_REO_R0_REO2SW2_RING_STATUS_RMSK)
3553 #define HWIO_REO_R0_REO2SW2_RING_STATUS_INM(x, mask)                 \
3554 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_STATUS_ADDR(x), mask)
3555 #define HWIO_REO_R0_REO2SW2_RING_STATUS_OUT(x, val)                  \
3556 	out_dword( HWIO_REO_R0_REO2SW2_RING_STATUS_ADDR(x), val)
3557 #define HWIO_REO_R0_REO2SW2_RING_STATUS_OUTM(x, mask, val)           \
3558 	do {\
3559 		HWIO_INTLOCK(); \
3560 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_STATUS_IN(x)); \
3561 		HWIO_INTFREE();\
3562 	} while (0)
3563 
3564 #define HWIO_REO_R0_REO2SW2_RING_STATUS_NUM_AVAIL_WORDS_BMSK         0xffff0000
3565 #define HWIO_REO_R0_REO2SW2_RING_STATUS_NUM_AVAIL_WORDS_SHFT               0x10
3566 
3567 #define HWIO_REO_R0_REO2SW2_RING_STATUS_NUM_VALID_WORDS_BMSK         0x0000ffff
3568 #define HWIO_REO_R0_REO2SW2_RING_STATUS_NUM_VALID_WORDS_SHFT                0x0
3569 
3570 //// Register REO_R0_REO2SW2_RING_MISC ////
3571 
3572 #define HWIO_REO_R0_REO2SW2_RING_MISC_ADDR(x)                        (x+0x000002ac)
3573 #define HWIO_REO_R0_REO2SW2_RING_MISC_PHYS(x)                        (x+0x000002ac)
3574 #define HWIO_REO_R0_REO2SW2_RING_MISC_RMSK                           0x03ffffff
3575 #define HWIO_REO_R0_REO2SW2_RING_MISC_SHFT                                    0
3576 #define HWIO_REO_R0_REO2SW2_RING_MISC_IN(x)                          \
3577 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_MISC_ADDR(x), HWIO_REO_R0_REO2SW2_RING_MISC_RMSK)
3578 #define HWIO_REO_R0_REO2SW2_RING_MISC_INM(x, mask)                   \
3579 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_MISC_ADDR(x), mask)
3580 #define HWIO_REO_R0_REO2SW2_RING_MISC_OUT(x, val)                    \
3581 	out_dword( HWIO_REO_R0_REO2SW2_RING_MISC_ADDR(x), val)
3582 #define HWIO_REO_R0_REO2SW2_RING_MISC_OUTM(x, mask, val)             \
3583 	do {\
3584 		HWIO_INTLOCK(); \
3585 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_MISC_IN(x)); \
3586 		HWIO_INTFREE();\
3587 	} while (0)
3588 
3589 #define HWIO_REO_R0_REO2SW2_RING_MISC_LOOP_CNT_BMSK                  0x03c00000
3590 #define HWIO_REO_R0_REO2SW2_RING_MISC_LOOP_CNT_SHFT                        0x16
3591 
3592 #define HWIO_REO_R0_REO2SW2_RING_MISC_SPARE_CONTROL_BMSK             0x003fc000
3593 #define HWIO_REO_R0_REO2SW2_RING_MISC_SPARE_CONTROL_SHFT                    0xe
3594 
3595 #define HWIO_REO_R0_REO2SW2_RING_MISC_SRNG_SM_STATE2_BMSK            0x00003000
3596 #define HWIO_REO_R0_REO2SW2_RING_MISC_SRNG_SM_STATE2_SHFT                   0xc
3597 
3598 #define HWIO_REO_R0_REO2SW2_RING_MISC_SRNG_SM_STATE1_BMSK            0x00000f00
3599 #define HWIO_REO_R0_REO2SW2_RING_MISC_SRNG_SM_STATE1_SHFT                   0x8
3600 
3601 #define HWIO_REO_R0_REO2SW2_RING_MISC_SRNG_IS_IDLE_BMSK              0x00000080
3602 #define HWIO_REO_R0_REO2SW2_RING_MISC_SRNG_IS_IDLE_SHFT                     0x7
3603 
3604 #define HWIO_REO_R0_REO2SW2_RING_MISC_SRNG_ENABLE_BMSK               0x00000040
3605 #define HWIO_REO_R0_REO2SW2_RING_MISC_SRNG_ENABLE_SHFT                      0x6
3606 
3607 #define HWIO_REO_R0_REO2SW2_RING_MISC_DATA_TLV_SWAP_BIT_BMSK         0x00000020
3608 #define HWIO_REO_R0_REO2SW2_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                0x5
3609 
3610 #define HWIO_REO_R0_REO2SW2_RING_MISC_HOST_FW_SWAP_BIT_BMSK          0x00000010
3611 #define HWIO_REO_R0_REO2SW2_RING_MISC_HOST_FW_SWAP_BIT_SHFT                 0x4
3612 
3613 #define HWIO_REO_R0_REO2SW2_RING_MISC_MSI_SWAP_BIT_BMSK              0x00000008
3614 #define HWIO_REO_R0_REO2SW2_RING_MISC_MSI_SWAP_BIT_SHFT                     0x3
3615 
3616 #define HWIO_REO_R0_REO2SW2_RING_MISC_SECURITY_BIT_BMSK              0x00000004
3617 #define HWIO_REO_R0_REO2SW2_RING_MISC_SECURITY_BIT_SHFT                     0x2
3618 
3619 #define HWIO_REO_R0_REO2SW2_RING_MISC_LOOPCNT_DISABLE_BMSK           0x00000002
3620 #define HWIO_REO_R0_REO2SW2_RING_MISC_LOOPCNT_DISABLE_SHFT                  0x1
3621 
3622 #define HWIO_REO_R0_REO2SW2_RING_MISC_RING_ID_DISABLE_BMSK           0x00000001
3623 #define HWIO_REO_R0_REO2SW2_RING_MISC_RING_ID_DISABLE_SHFT                  0x0
3624 
3625 //// Register REO_R0_REO2SW2_RING_HP_ADDR_LSB ////
3626 
3627 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_ADDR(x)                 (x+0x000002b0)
3628 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_PHYS(x)                 (x+0x000002b0)
3629 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_RMSK                    0xffffffff
3630 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_SHFT                             0
3631 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_IN(x)                   \
3632 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_RMSK)
3633 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_INM(x, mask)            \
3634 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_ADDR(x), mask)
3635 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_OUT(x, val)             \
3636 	out_dword( HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_ADDR(x), val)
3637 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_OUTM(x, mask, val)      \
3638 	do {\
3639 		HWIO_INTLOCK(); \
3640 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_IN(x)); \
3641 		HWIO_INTFREE();\
3642 	} while (0)
3643 
3644 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
3645 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
3646 
3647 //// Register REO_R0_REO2SW2_RING_HP_ADDR_MSB ////
3648 
3649 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_ADDR(x)                 (x+0x000002b4)
3650 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_PHYS(x)                 (x+0x000002b4)
3651 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_RMSK                    0x000000ff
3652 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_SHFT                             0
3653 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_IN(x)                   \
3654 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_RMSK)
3655 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_INM(x, mask)            \
3656 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_ADDR(x), mask)
3657 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_OUT(x, val)             \
3658 	out_dword( HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_ADDR(x), val)
3659 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_OUTM(x, mask, val)      \
3660 	do {\
3661 		HWIO_INTLOCK(); \
3662 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_IN(x)); \
3663 		HWIO_INTFREE();\
3664 	} while (0)
3665 
3666 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
3667 #define HWIO_REO_R0_REO2SW2_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
3668 
3669 //// Register REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP ////
3670 
3671 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_ADDR(x)          (x+0x000002c0)
3672 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_PHYS(x)          (x+0x000002c0)
3673 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_RMSK             0xffffffff
3674 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_SHFT                      0
3675 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_IN(x)            \
3676 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_RMSK)
3677 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_INM(x, mask)     \
3678 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
3679 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_OUT(x, val)      \
3680 	out_dword( HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_ADDR(x), val)
3681 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
3682 	do {\
3683 		HWIO_INTLOCK(); \
3684 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_IN(x)); \
3685 		HWIO_INTFREE();\
3686 	} while (0)
3687 
3688 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
3689 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
3690 
3691 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
3692 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
3693 
3694 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
3695 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
3696 
3697 //// Register REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS ////
3698 
3699 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_ADDR(x)         (x+0x000002c4)
3700 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_PHYS(x)         (x+0x000002c4)
3701 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_RMSK            0xffffffff
3702 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_SHFT                     0
3703 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_IN(x)           \
3704 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_RMSK)
3705 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_INM(x, mask)    \
3706 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
3707 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_OUT(x, val)     \
3708 	out_dword( HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_ADDR(x), val)
3709 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
3710 	do {\
3711 		HWIO_INTLOCK(); \
3712 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_IN(x)); \
3713 		HWIO_INTFREE();\
3714 	} while (0)
3715 
3716 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
3717 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
3718 
3719 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
3720 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
3721 
3722 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
3723 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
3724 
3725 //// Register REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER ////
3726 
3727 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_ADDR(x)       (x+0x000002c8)
3728 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_PHYS(x)       (x+0x000002c8)
3729 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_RMSK          0x000003ff
3730 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_SHFT                   0
3731 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_IN(x)         \
3732 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_RMSK)
3733 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_INM(x, mask)  \
3734 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
3735 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_OUT(x, val)   \
3736 	out_dword( HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
3737 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
3738 	do {\
3739 		HWIO_INTLOCK(); \
3740 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_IN(x)); \
3741 		HWIO_INTFREE();\
3742 	} while (0)
3743 
3744 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
3745 #define HWIO_REO_R0_REO2SW2_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
3746 
3747 //// Register REO_R0_REO2SW2_RING_MSI1_BASE_LSB ////
3748 
3749 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_ADDR(x)               (x+0x000002e4)
3750 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_PHYS(x)               (x+0x000002e4)
3751 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_RMSK                  0xffffffff
3752 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_SHFT                           0
3753 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_IN(x)                 \
3754 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_RMSK)
3755 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_INM(x, mask)          \
3756 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_ADDR(x), mask)
3757 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_OUT(x, val)           \
3758 	out_dword( HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_ADDR(x), val)
3759 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_OUTM(x, mask, val)    \
3760 	do {\
3761 		HWIO_INTLOCK(); \
3762 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_IN(x)); \
3763 		HWIO_INTFREE();\
3764 	} while (0)
3765 
3766 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_ADDR_BMSK             0xffffffff
3767 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_LSB_ADDR_SHFT                    0x0
3768 
3769 //// Register REO_R0_REO2SW2_RING_MSI1_BASE_MSB ////
3770 
3771 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_ADDR(x)               (x+0x000002e8)
3772 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_PHYS(x)               (x+0x000002e8)
3773 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_RMSK                  0x000001ff
3774 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_SHFT                           0
3775 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_IN(x)                 \
3776 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_RMSK)
3777 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_INM(x, mask)          \
3778 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_ADDR(x), mask)
3779 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_OUT(x, val)           \
3780 	out_dword( HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_ADDR(x), val)
3781 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_OUTM(x, mask, val)    \
3782 	do {\
3783 		HWIO_INTLOCK(); \
3784 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_IN(x)); \
3785 		HWIO_INTFREE();\
3786 	} while (0)
3787 
3788 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK      0x00000100
3789 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT             0x8
3790 
3791 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_ADDR_BMSK             0x000000ff
3792 #define HWIO_REO_R0_REO2SW2_RING_MSI1_BASE_MSB_ADDR_SHFT                    0x0
3793 
3794 //// Register REO_R0_REO2SW2_RING_MSI1_DATA ////
3795 
3796 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_ADDR(x)                   (x+0x000002ec)
3797 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_PHYS(x)                   (x+0x000002ec)
3798 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_RMSK                      0xffffffff
3799 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_SHFT                               0
3800 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_IN(x)                     \
3801 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_RMSK)
3802 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_INM(x, mask)              \
3803 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_ADDR(x), mask)
3804 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_OUT(x, val)               \
3805 	out_dword( HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_ADDR(x), val)
3806 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_OUTM(x, mask, val)        \
3807 	do {\
3808 		HWIO_INTLOCK(); \
3809 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_IN(x)); \
3810 		HWIO_INTFREE();\
3811 	} while (0)
3812 
3813 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_VALUE_BMSK                0xffffffff
3814 #define HWIO_REO_R0_REO2SW2_RING_MSI1_DATA_VALUE_SHFT                       0x0
3815 
3816 //// Register REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET ////
3817 
3818 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_ADDR(x)             (x+0x000002f0)
3819 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_PHYS(x)             (x+0x000002f0)
3820 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_RMSK                0x0000ffff
3821 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_SHFT                         0
3822 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_IN(x)               \
3823 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_RMSK)
3824 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_INM(x, mask)        \
3825 	in_dword_masked ( HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
3826 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_OUT(x, val)         \
3827 	out_dword( HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_ADDR(x), val)
3828 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)  \
3829 	do {\
3830 		HWIO_INTLOCK(); \
3831 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_IN(x)); \
3832 		HWIO_INTFREE();\
3833 	} while (0)
3834 
3835 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
3836 #define HWIO_REO_R0_REO2SW2_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
3837 
3838 //// Register REO_R0_REO2SW3_RING_BASE_LSB ////
3839 
3840 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_ADDR(x)                    (x+0x000002f4)
3841 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_PHYS(x)                    (x+0x000002f4)
3842 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_RMSK                       0xffffffff
3843 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_SHFT                                0
3844 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_IN(x)                      \
3845 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW3_RING_BASE_LSB_RMSK)
3846 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_INM(x, mask)               \
3847 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_BASE_LSB_ADDR(x), mask)
3848 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_OUT(x, val)                \
3849 	out_dword( HWIO_REO_R0_REO2SW3_RING_BASE_LSB_ADDR(x), val)
3850 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_OUTM(x, mask, val)         \
3851 	do {\
3852 		HWIO_INTLOCK(); \
3853 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_BASE_LSB_IN(x)); \
3854 		HWIO_INTFREE();\
3855 	} while (0)
3856 
3857 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK    0xffffffff
3858 #define HWIO_REO_R0_REO2SW3_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT           0x0
3859 
3860 //// Register REO_R0_REO2SW3_RING_BASE_MSB ////
3861 
3862 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_ADDR(x)                    (x+0x000002f8)
3863 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_PHYS(x)                    (x+0x000002f8)
3864 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_RMSK                       0x0fffffff
3865 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_SHFT                                0
3866 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_IN(x)                      \
3867 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW3_RING_BASE_MSB_RMSK)
3868 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_INM(x, mask)               \
3869 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_BASE_MSB_ADDR(x), mask)
3870 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_OUT(x, val)                \
3871 	out_dword( HWIO_REO_R0_REO2SW3_RING_BASE_MSB_ADDR(x), val)
3872 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_OUTM(x, mask, val)         \
3873 	do {\
3874 		HWIO_INTLOCK(); \
3875 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_BASE_MSB_IN(x)); \
3876 		HWIO_INTFREE();\
3877 	} while (0)
3878 
3879 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_RING_SIZE_BMSK             0x0fffff00
3880 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_RING_SIZE_SHFT                    0x8
3881 
3882 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK    0x000000ff
3883 #define HWIO_REO_R0_REO2SW3_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT           0x0
3884 
3885 //// Register REO_R0_REO2SW3_RING_ID ////
3886 
3887 #define HWIO_REO_R0_REO2SW3_RING_ID_ADDR(x)                          (x+0x000002fc)
3888 #define HWIO_REO_R0_REO2SW3_RING_ID_PHYS(x)                          (x+0x000002fc)
3889 #define HWIO_REO_R0_REO2SW3_RING_ID_RMSK                             0x0000ffff
3890 #define HWIO_REO_R0_REO2SW3_RING_ID_SHFT                                      0
3891 #define HWIO_REO_R0_REO2SW3_RING_ID_IN(x)                            \
3892 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_ID_ADDR(x), HWIO_REO_R0_REO2SW3_RING_ID_RMSK)
3893 #define HWIO_REO_R0_REO2SW3_RING_ID_INM(x, mask)                     \
3894 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_ID_ADDR(x), mask)
3895 #define HWIO_REO_R0_REO2SW3_RING_ID_OUT(x, val)                      \
3896 	out_dword( HWIO_REO_R0_REO2SW3_RING_ID_ADDR(x), val)
3897 #define HWIO_REO_R0_REO2SW3_RING_ID_OUTM(x, mask, val)               \
3898 	do {\
3899 		HWIO_INTLOCK(); \
3900 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_ID_IN(x)); \
3901 		HWIO_INTFREE();\
3902 	} while (0)
3903 
3904 #define HWIO_REO_R0_REO2SW3_RING_ID_RING_ID_BMSK                     0x0000ff00
3905 #define HWIO_REO_R0_REO2SW3_RING_ID_RING_ID_SHFT                            0x8
3906 
3907 #define HWIO_REO_R0_REO2SW3_RING_ID_ENTRY_SIZE_BMSK                  0x000000ff
3908 #define HWIO_REO_R0_REO2SW3_RING_ID_ENTRY_SIZE_SHFT                         0x0
3909 
3910 //// Register REO_R0_REO2SW3_RING_STATUS ////
3911 
3912 #define HWIO_REO_R0_REO2SW3_RING_STATUS_ADDR(x)                      (x+0x00000300)
3913 #define HWIO_REO_R0_REO2SW3_RING_STATUS_PHYS(x)                      (x+0x00000300)
3914 #define HWIO_REO_R0_REO2SW3_RING_STATUS_RMSK                         0xffffffff
3915 #define HWIO_REO_R0_REO2SW3_RING_STATUS_SHFT                                  0
3916 #define HWIO_REO_R0_REO2SW3_RING_STATUS_IN(x)                        \
3917 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_STATUS_ADDR(x), HWIO_REO_R0_REO2SW3_RING_STATUS_RMSK)
3918 #define HWIO_REO_R0_REO2SW3_RING_STATUS_INM(x, mask)                 \
3919 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_STATUS_ADDR(x), mask)
3920 #define HWIO_REO_R0_REO2SW3_RING_STATUS_OUT(x, val)                  \
3921 	out_dword( HWIO_REO_R0_REO2SW3_RING_STATUS_ADDR(x), val)
3922 #define HWIO_REO_R0_REO2SW3_RING_STATUS_OUTM(x, mask, val)           \
3923 	do {\
3924 		HWIO_INTLOCK(); \
3925 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_STATUS_IN(x)); \
3926 		HWIO_INTFREE();\
3927 	} while (0)
3928 
3929 #define HWIO_REO_R0_REO2SW3_RING_STATUS_NUM_AVAIL_WORDS_BMSK         0xffff0000
3930 #define HWIO_REO_R0_REO2SW3_RING_STATUS_NUM_AVAIL_WORDS_SHFT               0x10
3931 
3932 #define HWIO_REO_R0_REO2SW3_RING_STATUS_NUM_VALID_WORDS_BMSK         0x0000ffff
3933 #define HWIO_REO_R0_REO2SW3_RING_STATUS_NUM_VALID_WORDS_SHFT                0x0
3934 
3935 //// Register REO_R0_REO2SW3_RING_MISC ////
3936 
3937 #define HWIO_REO_R0_REO2SW3_RING_MISC_ADDR(x)                        (x+0x00000304)
3938 #define HWIO_REO_R0_REO2SW3_RING_MISC_PHYS(x)                        (x+0x00000304)
3939 #define HWIO_REO_R0_REO2SW3_RING_MISC_RMSK                           0x03ffffff
3940 #define HWIO_REO_R0_REO2SW3_RING_MISC_SHFT                                    0
3941 #define HWIO_REO_R0_REO2SW3_RING_MISC_IN(x)                          \
3942 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_MISC_ADDR(x), HWIO_REO_R0_REO2SW3_RING_MISC_RMSK)
3943 #define HWIO_REO_R0_REO2SW3_RING_MISC_INM(x, mask)                   \
3944 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_MISC_ADDR(x), mask)
3945 #define HWIO_REO_R0_REO2SW3_RING_MISC_OUT(x, val)                    \
3946 	out_dword( HWIO_REO_R0_REO2SW3_RING_MISC_ADDR(x), val)
3947 #define HWIO_REO_R0_REO2SW3_RING_MISC_OUTM(x, mask, val)             \
3948 	do {\
3949 		HWIO_INTLOCK(); \
3950 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_MISC_IN(x)); \
3951 		HWIO_INTFREE();\
3952 	} while (0)
3953 
3954 #define HWIO_REO_R0_REO2SW3_RING_MISC_LOOP_CNT_BMSK                  0x03c00000
3955 #define HWIO_REO_R0_REO2SW3_RING_MISC_LOOP_CNT_SHFT                        0x16
3956 
3957 #define HWIO_REO_R0_REO2SW3_RING_MISC_SPARE_CONTROL_BMSK             0x003fc000
3958 #define HWIO_REO_R0_REO2SW3_RING_MISC_SPARE_CONTROL_SHFT                    0xe
3959 
3960 #define HWIO_REO_R0_REO2SW3_RING_MISC_SRNG_SM_STATE2_BMSK            0x00003000
3961 #define HWIO_REO_R0_REO2SW3_RING_MISC_SRNG_SM_STATE2_SHFT                   0xc
3962 
3963 #define HWIO_REO_R0_REO2SW3_RING_MISC_SRNG_SM_STATE1_BMSK            0x00000f00
3964 #define HWIO_REO_R0_REO2SW3_RING_MISC_SRNG_SM_STATE1_SHFT                   0x8
3965 
3966 #define HWIO_REO_R0_REO2SW3_RING_MISC_SRNG_IS_IDLE_BMSK              0x00000080
3967 #define HWIO_REO_R0_REO2SW3_RING_MISC_SRNG_IS_IDLE_SHFT                     0x7
3968 
3969 #define HWIO_REO_R0_REO2SW3_RING_MISC_SRNG_ENABLE_BMSK               0x00000040
3970 #define HWIO_REO_R0_REO2SW3_RING_MISC_SRNG_ENABLE_SHFT                      0x6
3971 
3972 #define HWIO_REO_R0_REO2SW3_RING_MISC_DATA_TLV_SWAP_BIT_BMSK         0x00000020
3973 #define HWIO_REO_R0_REO2SW3_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                0x5
3974 
3975 #define HWIO_REO_R0_REO2SW3_RING_MISC_HOST_FW_SWAP_BIT_BMSK          0x00000010
3976 #define HWIO_REO_R0_REO2SW3_RING_MISC_HOST_FW_SWAP_BIT_SHFT                 0x4
3977 
3978 #define HWIO_REO_R0_REO2SW3_RING_MISC_MSI_SWAP_BIT_BMSK              0x00000008
3979 #define HWIO_REO_R0_REO2SW3_RING_MISC_MSI_SWAP_BIT_SHFT                     0x3
3980 
3981 #define HWIO_REO_R0_REO2SW3_RING_MISC_SECURITY_BIT_BMSK              0x00000004
3982 #define HWIO_REO_R0_REO2SW3_RING_MISC_SECURITY_BIT_SHFT                     0x2
3983 
3984 #define HWIO_REO_R0_REO2SW3_RING_MISC_LOOPCNT_DISABLE_BMSK           0x00000002
3985 #define HWIO_REO_R0_REO2SW3_RING_MISC_LOOPCNT_DISABLE_SHFT                  0x1
3986 
3987 #define HWIO_REO_R0_REO2SW3_RING_MISC_RING_ID_DISABLE_BMSK           0x00000001
3988 #define HWIO_REO_R0_REO2SW3_RING_MISC_RING_ID_DISABLE_SHFT                  0x0
3989 
3990 //// Register REO_R0_REO2SW3_RING_HP_ADDR_LSB ////
3991 
3992 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_ADDR(x)                 (x+0x00000308)
3993 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_PHYS(x)                 (x+0x00000308)
3994 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_RMSK                    0xffffffff
3995 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_SHFT                             0
3996 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_IN(x)                   \
3997 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_RMSK)
3998 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_INM(x, mask)            \
3999 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_ADDR(x), mask)
4000 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_OUT(x, val)             \
4001 	out_dword( HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_ADDR(x), val)
4002 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_OUTM(x, mask, val)      \
4003 	do {\
4004 		HWIO_INTLOCK(); \
4005 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_IN(x)); \
4006 		HWIO_INTFREE();\
4007 	} while (0)
4008 
4009 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
4010 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
4011 
4012 //// Register REO_R0_REO2SW3_RING_HP_ADDR_MSB ////
4013 
4014 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_ADDR(x)                 (x+0x0000030c)
4015 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_PHYS(x)                 (x+0x0000030c)
4016 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_RMSK                    0x000000ff
4017 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_SHFT                             0
4018 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_IN(x)                   \
4019 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_RMSK)
4020 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_INM(x, mask)            \
4021 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_ADDR(x), mask)
4022 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_OUT(x, val)             \
4023 	out_dword( HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_ADDR(x), val)
4024 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_OUTM(x, mask, val)      \
4025 	do {\
4026 		HWIO_INTLOCK(); \
4027 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_IN(x)); \
4028 		HWIO_INTFREE();\
4029 	} while (0)
4030 
4031 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
4032 #define HWIO_REO_R0_REO2SW3_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
4033 
4034 //// Register REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP ////
4035 
4036 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_ADDR(x)          (x+0x00000318)
4037 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_PHYS(x)          (x+0x00000318)
4038 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_RMSK             0xffffffff
4039 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_SHFT                      0
4040 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_IN(x)            \
4041 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_RMSK)
4042 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_INM(x, mask)     \
4043 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
4044 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_OUT(x, val)      \
4045 	out_dword( HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_ADDR(x), val)
4046 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
4047 	do {\
4048 		HWIO_INTLOCK(); \
4049 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_IN(x)); \
4050 		HWIO_INTFREE();\
4051 	} while (0)
4052 
4053 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
4054 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
4055 
4056 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
4057 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
4058 
4059 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
4060 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
4061 
4062 //// Register REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS ////
4063 
4064 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_ADDR(x)         (x+0x0000031c)
4065 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_PHYS(x)         (x+0x0000031c)
4066 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_RMSK            0xffffffff
4067 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_SHFT                     0
4068 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_IN(x)           \
4069 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_RMSK)
4070 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_INM(x, mask)    \
4071 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
4072 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_OUT(x, val)     \
4073 	out_dword( HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_ADDR(x), val)
4074 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
4075 	do {\
4076 		HWIO_INTLOCK(); \
4077 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_IN(x)); \
4078 		HWIO_INTFREE();\
4079 	} while (0)
4080 
4081 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
4082 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
4083 
4084 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
4085 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
4086 
4087 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
4088 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
4089 
4090 //// Register REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER ////
4091 
4092 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_ADDR(x)       (x+0x00000320)
4093 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_PHYS(x)       (x+0x00000320)
4094 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_RMSK          0x000003ff
4095 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_SHFT                   0
4096 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_IN(x)         \
4097 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_RMSK)
4098 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_INM(x, mask)  \
4099 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
4100 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_OUT(x, val)   \
4101 	out_dword( HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
4102 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
4103 	do {\
4104 		HWIO_INTLOCK(); \
4105 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_IN(x)); \
4106 		HWIO_INTFREE();\
4107 	} while (0)
4108 
4109 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
4110 #define HWIO_REO_R0_REO2SW3_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
4111 
4112 //// Register REO_R0_REO2SW3_RING_MSI1_BASE_LSB ////
4113 
4114 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_ADDR(x)               (x+0x0000033c)
4115 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_PHYS(x)               (x+0x0000033c)
4116 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_RMSK                  0xffffffff
4117 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_SHFT                           0
4118 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_IN(x)                 \
4119 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_RMSK)
4120 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_INM(x, mask)          \
4121 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_ADDR(x), mask)
4122 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_OUT(x, val)           \
4123 	out_dword( HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_ADDR(x), val)
4124 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_OUTM(x, mask, val)    \
4125 	do {\
4126 		HWIO_INTLOCK(); \
4127 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_IN(x)); \
4128 		HWIO_INTFREE();\
4129 	} while (0)
4130 
4131 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_ADDR_BMSK             0xffffffff
4132 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_LSB_ADDR_SHFT                    0x0
4133 
4134 //// Register REO_R0_REO2SW3_RING_MSI1_BASE_MSB ////
4135 
4136 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_ADDR(x)               (x+0x00000340)
4137 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_PHYS(x)               (x+0x00000340)
4138 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_RMSK                  0x000001ff
4139 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_SHFT                           0
4140 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_IN(x)                 \
4141 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_RMSK)
4142 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_INM(x, mask)          \
4143 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_ADDR(x), mask)
4144 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_OUT(x, val)           \
4145 	out_dword( HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_ADDR(x), val)
4146 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_OUTM(x, mask, val)    \
4147 	do {\
4148 		HWIO_INTLOCK(); \
4149 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_IN(x)); \
4150 		HWIO_INTFREE();\
4151 	} while (0)
4152 
4153 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK      0x00000100
4154 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT             0x8
4155 
4156 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_ADDR_BMSK             0x000000ff
4157 #define HWIO_REO_R0_REO2SW3_RING_MSI1_BASE_MSB_ADDR_SHFT                    0x0
4158 
4159 //// Register REO_R0_REO2SW3_RING_MSI1_DATA ////
4160 
4161 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_ADDR(x)                   (x+0x00000344)
4162 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_PHYS(x)                   (x+0x00000344)
4163 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_RMSK                      0xffffffff
4164 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_SHFT                               0
4165 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_IN(x)                     \
4166 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_RMSK)
4167 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_INM(x, mask)              \
4168 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_ADDR(x), mask)
4169 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_OUT(x, val)               \
4170 	out_dword( HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_ADDR(x), val)
4171 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_OUTM(x, mask, val)        \
4172 	do {\
4173 		HWIO_INTLOCK(); \
4174 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_IN(x)); \
4175 		HWIO_INTFREE();\
4176 	} while (0)
4177 
4178 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_VALUE_BMSK                0xffffffff
4179 #define HWIO_REO_R0_REO2SW3_RING_MSI1_DATA_VALUE_SHFT                       0x0
4180 
4181 //// Register REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET ////
4182 
4183 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_ADDR(x)             (x+0x00000348)
4184 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_PHYS(x)             (x+0x00000348)
4185 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_RMSK                0x0000ffff
4186 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_SHFT                         0
4187 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_IN(x)               \
4188 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_RMSK)
4189 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_INM(x, mask)        \
4190 	in_dword_masked ( HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
4191 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_OUT(x, val)         \
4192 	out_dword( HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_ADDR(x), val)
4193 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)  \
4194 	do {\
4195 		HWIO_INTLOCK(); \
4196 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_IN(x)); \
4197 		HWIO_INTFREE();\
4198 	} while (0)
4199 
4200 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
4201 #define HWIO_REO_R0_REO2SW3_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
4202 
4203 //// Register REO_R0_REO2SW4_RING_BASE_LSB ////
4204 
4205 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_ADDR(x)                    (x+0x0000034c)
4206 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_PHYS(x)                    (x+0x0000034c)
4207 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_RMSK                       0xffffffff
4208 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_SHFT                                0
4209 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_IN(x)                      \
4210 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW4_RING_BASE_LSB_RMSK)
4211 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_INM(x, mask)               \
4212 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_BASE_LSB_ADDR(x), mask)
4213 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_OUT(x, val)                \
4214 	out_dword( HWIO_REO_R0_REO2SW4_RING_BASE_LSB_ADDR(x), val)
4215 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_OUTM(x, mask, val)         \
4216 	do {\
4217 		HWIO_INTLOCK(); \
4218 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_BASE_LSB_IN(x)); \
4219 		HWIO_INTFREE();\
4220 	} while (0)
4221 
4222 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK    0xffffffff
4223 #define HWIO_REO_R0_REO2SW4_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT           0x0
4224 
4225 //// Register REO_R0_REO2SW4_RING_BASE_MSB ////
4226 
4227 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_ADDR(x)                    (x+0x00000350)
4228 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_PHYS(x)                    (x+0x00000350)
4229 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_RMSK                       0x0fffffff
4230 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_SHFT                                0
4231 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_IN(x)                      \
4232 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW4_RING_BASE_MSB_RMSK)
4233 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_INM(x, mask)               \
4234 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_BASE_MSB_ADDR(x), mask)
4235 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_OUT(x, val)                \
4236 	out_dword( HWIO_REO_R0_REO2SW4_RING_BASE_MSB_ADDR(x), val)
4237 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_OUTM(x, mask, val)         \
4238 	do {\
4239 		HWIO_INTLOCK(); \
4240 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_BASE_MSB_IN(x)); \
4241 		HWIO_INTFREE();\
4242 	} while (0)
4243 
4244 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_RING_SIZE_BMSK             0x0fffff00
4245 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_RING_SIZE_SHFT                    0x8
4246 
4247 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK    0x000000ff
4248 #define HWIO_REO_R0_REO2SW4_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT           0x0
4249 
4250 //// Register REO_R0_REO2SW4_RING_ID ////
4251 
4252 #define HWIO_REO_R0_REO2SW4_RING_ID_ADDR(x)                          (x+0x00000354)
4253 #define HWIO_REO_R0_REO2SW4_RING_ID_PHYS(x)                          (x+0x00000354)
4254 #define HWIO_REO_R0_REO2SW4_RING_ID_RMSK                             0x0000ffff
4255 #define HWIO_REO_R0_REO2SW4_RING_ID_SHFT                                      0
4256 #define HWIO_REO_R0_REO2SW4_RING_ID_IN(x)                            \
4257 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_ID_ADDR(x), HWIO_REO_R0_REO2SW4_RING_ID_RMSK)
4258 #define HWIO_REO_R0_REO2SW4_RING_ID_INM(x, mask)                     \
4259 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_ID_ADDR(x), mask)
4260 #define HWIO_REO_R0_REO2SW4_RING_ID_OUT(x, val)                      \
4261 	out_dword( HWIO_REO_R0_REO2SW4_RING_ID_ADDR(x), val)
4262 #define HWIO_REO_R0_REO2SW4_RING_ID_OUTM(x, mask, val)               \
4263 	do {\
4264 		HWIO_INTLOCK(); \
4265 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_ID_IN(x)); \
4266 		HWIO_INTFREE();\
4267 	} while (0)
4268 
4269 #define HWIO_REO_R0_REO2SW4_RING_ID_RING_ID_BMSK                     0x0000ff00
4270 #define HWIO_REO_R0_REO2SW4_RING_ID_RING_ID_SHFT                            0x8
4271 
4272 #define HWIO_REO_R0_REO2SW4_RING_ID_ENTRY_SIZE_BMSK                  0x000000ff
4273 #define HWIO_REO_R0_REO2SW4_RING_ID_ENTRY_SIZE_SHFT                         0x0
4274 
4275 //// Register REO_R0_REO2SW4_RING_STATUS ////
4276 
4277 #define HWIO_REO_R0_REO2SW4_RING_STATUS_ADDR(x)                      (x+0x00000358)
4278 #define HWIO_REO_R0_REO2SW4_RING_STATUS_PHYS(x)                      (x+0x00000358)
4279 #define HWIO_REO_R0_REO2SW4_RING_STATUS_RMSK                         0xffffffff
4280 #define HWIO_REO_R0_REO2SW4_RING_STATUS_SHFT                                  0
4281 #define HWIO_REO_R0_REO2SW4_RING_STATUS_IN(x)                        \
4282 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_STATUS_ADDR(x), HWIO_REO_R0_REO2SW4_RING_STATUS_RMSK)
4283 #define HWIO_REO_R0_REO2SW4_RING_STATUS_INM(x, mask)                 \
4284 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_STATUS_ADDR(x), mask)
4285 #define HWIO_REO_R0_REO2SW4_RING_STATUS_OUT(x, val)                  \
4286 	out_dword( HWIO_REO_R0_REO2SW4_RING_STATUS_ADDR(x), val)
4287 #define HWIO_REO_R0_REO2SW4_RING_STATUS_OUTM(x, mask, val)           \
4288 	do {\
4289 		HWIO_INTLOCK(); \
4290 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_STATUS_IN(x)); \
4291 		HWIO_INTFREE();\
4292 	} while (0)
4293 
4294 #define HWIO_REO_R0_REO2SW4_RING_STATUS_NUM_AVAIL_WORDS_BMSK         0xffff0000
4295 #define HWIO_REO_R0_REO2SW4_RING_STATUS_NUM_AVAIL_WORDS_SHFT               0x10
4296 
4297 #define HWIO_REO_R0_REO2SW4_RING_STATUS_NUM_VALID_WORDS_BMSK         0x0000ffff
4298 #define HWIO_REO_R0_REO2SW4_RING_STATUS_NUM_VALID_WORDS_SHFT                0x0
4299 
4300 //// Register REO_R0_REO2SW4_RING_MISC ////
4301 
4302 #define HWIO_REO_R0_REO2SW4_RING_MISC_ADDR(x)                        (x+0x0000035c)
4303 #define HWIO_REO_R0_REO2SW4_RING_MISC_PHYS(x)                        (x+0x0000035c)
4304 #define HWIO_REO_R0_REO2SW4_RING_MISC_RMSK                           0x03ffffff
4305 #define HWIO_REO_R0_REO2SW4_RING_MISC_SHFT                                    0
4306 #define HWIO_REO_R0_REO2SW4_RING_MISC_IN(x)                          \
4307 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_MISC_ADDR(x), HWIO_REO_R0_REO2SW4_RING_MISC_RMSK)
4308 #define HWIO_REO_R0_REO2SW4_RING_MISC_INM(x, mask)                   \
4309 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_MISC_ADDR(x), mask)
4310 #define HWIO_REO_R0_REO2SW4_RING_MISC_OUT(x, val)                    \
4311 	out_dword( HWIO_REO_R0_REO2SW4_RING_MISC_ADDR(x), val)
4312 #define HWIO_REO_R0_REO2SW4_RING_MISC_OUTM(x, mask, val)             \
4313 	do {\
4314 		HWIO_INTLOCK(); \
4315 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_MISC_IN(x)); \
4316 		HWIO_INTFREE();\
4317 	} while (0)
4318 
4319 #define HWIO_REO_R0_REO2SW4_RING_MISC_LOOP_CNT_BMSK                  0x03c00000
4320 #define HWIO_REO_R0_REO2SW4_RING_MISC_LOOP_CNT_SHFT                        0x16
4321 
4322 #define HWIO_REO_R0_REO2SW4_RING_MISC_SPARE_CONTROL_BMSK             0x003fc000
4323 #define HWIO_REO_R0_REO2SW4_RING_MISC_SPARE_CONTROL_SHFT                    0xe
4324 
4325 #define HWIO_REO_R0_REO2SW4_RING_MISC_SRNG_SM_STATE2_BMSK            0x00003000
4326 #define HWIO_REO_R0_REO2SW4_RING_MISC_SRNG_SM_STATE2_SHFT                   0xc
4327 
4328 #define HWIO_REO_R0_REO2SW4_RING_MISC_SRNG_SM_STATE1_BMSK            0x00000f00
4329 #define HWIO_REO_R0_REO2SW4_RING_MISC_SRNG_SM_STATE1_SHFT                   0x8
4330 
4331 #define HWIO_REO_R0_REO2SW4_RING_MISC_SRNG_IS_IDLE_BMSK              0x00000080
4332 #define HWIO_REO_R0_REO2SW4_RING_MISC_SRNG_IS_IDLE_SHFT                     0x7
4333 
4334 #define HWIO_REO_R0_REO2SW4_RING_MISC_SRNG_ENABLE_BMSK               0x00000040
4335 #define HWIO_REO_R0_REO2SW4_RING_MISC_SRNG_ENABLE_SHFT                      0x6
4336 
4337 #define HWIO_REO_R0_REO2SW4_RING_MISC_DATA_TLV_SWAP_BIT_BMSK         0x00000020
4338 #define HWIO_REO_R0_REO2SW4_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                0x5
4339 
4340 #define HWIO_REO_R0_REO2SW4_RING_MISC_HOST_FW_SWAP_BIT_BMSK          0x00000010
4341 #define HWIO_REO_R0_REO2SW4_RING_MISC_HOST_FW_SWAP_BIT_SHFT                 0x4
4342 
4343 #define HWIO_REO_R0_REO2SW4_RING_MISC_MSI_SWAP_BIT_BMSK              0x00000008
4344 #define HWIO_REO_R0_REO2SW4_RING_MISC_MSI_SWAP_BIT_SHFT                     0x3
4345 
4346 #define HWIO_REO_R0_REO2SW4_RING_MISC_SECURITY_BIT_BMSK              0x00000004
4347 #define HWIO_REO_R0_REO2SW4_RING_MISC_SECURITY_BIT_SHFT                     0x2
4348 
4349 #define HWIO_REO_R0_REO2SW4_RING_MISC_LOOPCNT_DISABLE_BMSK           0x00000002
4350 #define HWIO_REO_R0_REO2SW4_RING_MISC_LOOPCNT_DISABLE_SHFT                  0x1
4351 
4352 #define HWIO_REO_R0_REO2SW4_RING_MISC_RING_ID_DISABLE_BMSK           0x00000001
4353 #define HWIO_REO_R0_REO2SW4_RING_MISC_RING_ID_DISABLE_SHFT                  0x0
4354 
4355 //// Register REO_R0_REO2SW4_RING_HP_ADDR_LSB ////
4356 
4357 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_ADDR(x)                 (x+0x00000360)
4358 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_PHYS(x)                 (x+0x00000360)
4359 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_RMSK                    0xffffffff
4360 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_SHFT                             0
4361 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_IN(x)                   \
4362 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_RMSK)
4363 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_INM(x, mask)            \
4364 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_ADDR(x), mask)
4365 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_OUT(x, val)             \
4366 	out_dword( HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_ADDR(x), val)
4367 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_OUTM(x, mask, val)      \
4368 	do {\
4369 		HWIO_INTLOCK(); \
4370 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_IN(x)); \
4371 		HWIO_INTFREE();\
4372 	} while (0)
4373 
4374 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
4375 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
4376 
4377 //// Register REO_R0_REO2SW4_RING_HP_ADDR_MSB ////
4378 
4379 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_ADDR(x)                 (x+0x00000364)
4380 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_PHYS(x)                 (x+0x00000364)
4381 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_RMSK                    0x000000ff
4382 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_SHFT                             0
4383 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_IN(x)                   \
4384 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_RMSK)
4385 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_INM(x, mask)            \
4386 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_ADDR(x), mask)
4387 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_OUT(x, val)             \
4388 	out_dword( HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_ADDR(x), val)
4389 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_OUTM(x, mask, val)      \
4390 	do {\
4391 		HWIO_INTLOCK(); \
4392 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_IN(x)); \
4393 		HWIO_INTFREE();\
4394 	} while (0)
4395 
4396 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
4397 #define HWIO_REO_R0_REO2SW4_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
4398 
4399 //// Register REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP ////
4400 
4401 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_ADDR(x)          (x+0x00000370)
4402 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_PHYS(x)          (x+0x00000370)
4403 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_RMSK             0xffffffff
4404 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_SHFT                      0
4405 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_IN(x)            \
4406 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_RMSK)
4407 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_INM(x, mask)     \
4408 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
4409 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_OUT(x, val)      \
4410 	out_dword( HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_ADDR(x), val)
4411 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
4412 	do {\
4413 		HWIO_INTLOCK(); \
4414 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_IN(x)); \
4415 		HWIO_INTFREE();\
4416 	} while (0)
4417 
4418 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
4419 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
4420 
4421 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
4422 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
4423 
4424 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
4425 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
4426 
4427 //// Register REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS ////
4428 
4429 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_ADDR(x)         (x+0x00000374)
4430 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_PHYS(x)         (x+0x00000374)
4431 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_RMSK            0xffffffff
4432 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_SHFT                     0
4433 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_IN(x)           \
4434 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_RMSK)
4435 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_INM(x, mask)    \
4436 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
4437 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_OUT(x, val)     \
4438 	out_dword( HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_ADDR(x), val)
4439 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
4440 	do {\
4441 		HWIO_INTLOCK(); \
4442 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_IN(x)); \
4443 		HWIO_INTFREE();\
4444 	} while (0)
4445 
4446 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
4447 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
4448 
4449 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
4450 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
4451 
4452 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
4453 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
4454 
4455 //// Register REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER ////
4456 
4457 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_ADDR(x)       (x+0x00000378)
4458 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_PHYS(x)       (x+0x00000378)
4459 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_RMSK          0x000003ff
4460 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_SHFT                   0
4461 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_IN(x)         \
4462 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_RMSK)
4463 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_INM(x, mask)  \
4464 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
4465 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_OUT(x, val)   \
4466 	out_dword( HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
4467 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
4468 	do {\
4469 		HWIO_INTLOCK(); \
4470 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_IN(x)); \
4471 		HWIO_INTFREE();\
4472 	} while (0)
4473 
4474 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
4475 #define HWIO_REO_R0_REO2SW4_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
4476 
4477 //// Register REO_R0_REO2SW4_RING_MSI1_BASE_LSB ////
4478 
4479 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_ADDR(x)               (x+0x00000394)
4480 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_PHYS(x)               (x+0x00000394)
4481 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_RMSK                  0xffffffff
4482 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_SHFT                           0
4483 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_IN(x)                 \
4484 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_RMSK)
4485 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_INM(x, mask)          \
4486 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_ADDR(x), mask)
4487 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_OUT(x, val)           \
4488 	out_dword( HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_ADDR(x), val)
4489 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_OUTM(x, mask, val)    \
4490 	do {\
4491 		HWIO_INTLOCK(); \
4492 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_IN(x)); \
4493 		HWIO_INTFREE();\
4494 	} while (0)
4495 
4496 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_ADDR_BMSK             0xffffffff
4497 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_LSB_ADDR_SHFT                    0x0
4498 
4499 //// Register REO_R0_REO2SW4_RING_MSI1_BASE_MSB ////
4500 
4501 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_ADDR(x)               (x+0x00000398)
4502 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_PHYS(x)               (x+0x00000398)
4503 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_RMSK                  0x000001ff
4504 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_SHFT                           0
4505 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_IN(x)                 \
4506 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_RMSK)
4507 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_INM(x, mask)          \
4508 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_ADDR(x), mask)
4509 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_OUT(x, val)           \
4510 	out_dword( HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_ADDR(x), val)
4511 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_OUTM(x, mask, val)    \
4512 	do {\
4513 		HWIO_INTLOCK(); \
4514 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_IN(x)); \
4515 		HWIO_INTFREE();\
4516 	} while (0)
4517 
4518 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK      0x00000100
4519 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT             0x8
4520 
4521 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_ADDR_BMSK             0x000000ff
4522 #define HWIO_REO_R0_REO2SW4_RING_MSI1_BASE_MSB_ADDR_SHFT                    0x0
4523 
4524 //// Register REO_R0_REO2SW4_RING_MSI1_DATA ////
4525 
4526 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_ADDR(x)                   (x+0x0000039c)
4527 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_PHYS(x)                   (x+0x0000039c)
4528 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_RMSK                      0xffffffff
4529 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_SHFT                               0
4530 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_IN(x)                     \
4531 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_RMSK)
4532 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_INM(x, mask)              \
4533 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_ADDR(x), mask)
4534 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_OUT(x, val)               \
4535 	out_dword( HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_ADDR(x), val)
4536 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_OUTM(x, mask, val)        \
4537 	do {\
4538 		HWIO_INTLOCK(); \
4539 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_IN(x)); \
4540 		HWIO_INTFREE();\
4541 	} while (0)
4542 
4543 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_VALUE_BMSK                0xffffffff
4544 #define HWIO_REO_R0_REO2SW4_RING_MSI1_DATA_VALUE_SHFT                       0x0
4545 
4546 //// Register REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET ////
4547 
4548 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_ADDR(x)             (x+0x000003a0)
4549 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_PHYS(x)             (x+0x000003a0)
4550 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_RMSK                0x0000ffff
4551 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_SHFT                         0
4552 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_IN(x)               \
4553 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_RMSK)
4554 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_INM(x, mask)        \
4555 	in_dword_masked ( HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
4556 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_OUT(x, val)         \
4557 	out_dword( HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_ADDR(x), val)
4558 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)  \
4559 	do {\
4560 		HWIO_INTLOCK(); \
4561 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_IN(x)); \
4562 		HWIO_INTFREE();\
4563 	} while (0)
4564 
4565 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
4566 #define HWIO_REO_R0_REO2SW4_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
4567 
4568 //// Register REO_R0_REO2SW5_RING_BASE_LSB ////
4569 
4570 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_ADDR(x)                    (x+0x000003a4)
4571 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_PHYS(x)                    (x+0x000003a4)
4572 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_RMSK                       0xffffffff
4573 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_SHFT                                0
4574 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_IN(x)                      \
4575 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW5_RING_BASE_LSB_RMSK)
4576 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_INM(x, mask)               \
4577 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_BASE_LSB_ADDR(x), mask)
4578 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_OUT(x, val)                \
4579 	out_dword( HWIO_REO_R0_REO2SW5_RING_BASE_LSB_ADDR(x), val)
4580 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_OUTM(x, mask, val)         \
4581 	do {\
4582 		HWIO_INTLOCK(); \
4583 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_BASE_LSB_IN(x)); \
4584 		HWIO_INTFREE();\
4585 	} while (0)
4586 
4587 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK    0xffffffff
4588 #define HWIO_REO_R0_REO2SW5_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT           0x0
4589 
4590 //// Register REO_R0_REO2SW5_RING_BASE_MSB ////
4591 
4592 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_ADDR(x)                    (x+0x000003a8)
4593 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_PHYS(x)                    (x+0x000003a8)
4594 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_RMSK                       0x0fffffff
4595 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_SHFT                                0
4596 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_IN(x)                      \
4597 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW5_RING_BASE_MSB_RMSK)
4598 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_INM(x, mask)               \
4599 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_BASE_MSB_ADDR(x), mask)
4600 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_OUT(x, val)                \
4601 	out_dword( HWIO_REO_R0_REO2SW5_RING_BASE_MSB_ADDR(x), val)
4602 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_OUTM(x, mask, val)         \
4603 	do {\
4604 		HWIO_INTLOCK(); \
4605 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_BASE_MSB_IN(x)); \
4606 		HWIO_INTFREE();\
4607 	} while (0)
4608 
4609 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_RING_SIZE_BMSK             0x0fffff00
4610 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_RING_SIZE_SHFT                    0x8
4611 
4612 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK    0x000000ff
4613 #define HWIO_REO_R0_REO2SW5_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT           0x0
4614 
4615 //// Register REO_R0_REO2SW5_RING_ID ////
4616 
4617 #define HWIO_REO_R0_REO2SW5_RING_ID_ADDR(x)                          (x+0x000003ac)
4618 #define HWIO_REO_R0_REO2SW5_RING_ID_PHYS(x)                          (x+0x000003ac)
4619 #define HWIO_REO_R0_REO2SW5_RING_ID_RMSK                             0x0000ffff
4620 #define HWIO_REO_R0_REO2SW5_RING_ID_SHFT                                      0
4621 #define HWIO_REO_R0_REO2SW5_RING_ID_IN(x)                            \
4622 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_ID_ADDR(x), HWIO_REO_R0_REO2SW5_RING_ID_RMSK)
4623 #define HWIO_REO_R0_REO2SW5_RING_ID_INM(x, mask)                     \
4624 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_ID_ADDR(x), mask)
4625 #define HWIO_REO_R0_REO2SW5_RING_ID_OUT(x, val)                      \
4626 	out_dword( HWIO_REO_R0_REO2SW5_RING_ID_ADDR(x), val)
4627 #define HWIO_REO_R0_REO2SW5_RING_ID_OUTM(x, mask, val)               \
4628 	do {\
4629 		HWIO_INTLOCK(); \
4630 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_ID_IN(x)); \
4631 		HWIO_INTFREE();\
4632 	} while (0)
4633 
4634 #define HWIO_REO_R0_REO2SW5_RING_ID_RING_ID_BMSK                     0x0000ff00
4635 #define HWIO_REO_R0_REO2SW5_RING_ID_RING_ID_SHFT                            0x8
4636 
4637 #define HWIO_REO_R0_REO2SW5_RING_ID_ENTRY_SIZE_BMSK                  0x000000ff
4638 #define HWIO_REO_R0_REO2SW5_RING_ID_ENTRY_SIZE_SHFT                         0x0
4639 
4640 //// Register REO_R0_REO2SW5_RING_STATUS ////
4641 
4642 #define HWIO_REO_R0_REO2SW5_RING_STATUS_ADDR(x)                      (x+0x000003b0)
4643 #define HWIO_REO_R0_REO2SW5_RING_STATUS_PHYS(x)                      (x+0x000003b0)
4644 #define HWIO_REO_R0_REO2SW5_RING_STATUS_RMSK                         0xffffffff
4645 #define HWIO_REO_R0_REO2SW5_RING_STATUS_SHFT                                  0
4646 #define HWIO_REO_R0_REO2SW5_RING_STATUS_IN(x)                        \
4647 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_STATUS_ADDR(x), HWIO_REO_R0_REO2SW5_RING_STATUS_RMSK)
4648 #define HWIO_REO_R0_REO2SW5_RING_STATUS_INM(x, mask)                 \
4649 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_STATUS_ADDR(x), mask)
4650 #define HWIO_REO_R0_REO2SW5_RING_STATUS_OUT(x, val)                  \
4651 	out_dword( HWIO_REO_R0_REO2SW5_RING_STATUS_ADDR(x), val)
4652 #define HWIO_REO_R0_REO2SW5_RING_STATUS_OUTM(x, mask, val)           \
4653 	do {\
4654 		HWIO_INTLOCK(); \
4655 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_STATUS_IN(x)); \
4656 		HWIO_INTFREE();\
4657 	} while (0)
4658 
4659 #define HWIO_REO_R0_REO2SW5_RING_STATUS_NUM_AVAIL_WORDS_BMSK         0xffff0000
4660 #define HWIO_REO_R0_REO2SW5_RING_STATUS_NUM_AVAIL_WORDS_SHFT               0x10
4661 
4662 #define HWIO_REO_R0_REO2SW5_RING_STATUS_NUM_VALID_WORDS_BMSK         0x0000ffff
4663 #define HWIO_REO_R0_REO2SW5_RING_STATUS_NUM_VALID_WORDS_SHFT                0x0
4664 
4665 //// Register REO_R0_REO2SW5_RING_MISC ////
4666 
4667 #define HWIO_REO_R0_REO2SW5_RING_MISC_ADDR(x)                        (x+0x000003b4)
4668 #define HWIO_REO_R0_REO2SW5_RING_MISC_PHYS(x)                        (x+0x000003b4)
4669 #define HWIO_REO_R0_REO2SW5_RING_MISC_RMSK                           0x03ffffff
4670 #define HWIO_REO_R0_REO2SW5_RING_MISC_SHFT                                    0
4671 #define HWIO_REO_R0_REO2SW5_RING_MISC_IN(x)                          \
4672 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_MISC_ADDR(x), HWIO_REO_R0_REO2SW5_RING_MISC_RMSK)
4673 #define HWIO_REO_R0_REO2SW5_RING_MISC_INM(x, mask)                   \
4674 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_MISC_ADDR(x), mask)
4675 #define HWIO_REO_R0_REO2SW5_RING_MISC_OUT(x, val)                    \
4676 	out_dword( HWIO_REO_R0_REO2SW5_RING_MISC_ADDR(x), val)
4677 #define HWIO_REO_R0_REO2SW5_RING_MISC_OUTM(x, mask, val)             \
4678 	do {\
4679 		HWIO_INTLOCK(); \
4680 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_MISC_IN(x)); \
4681 		HWIO_INTFREE();\
4682 	} while (0)
4683 
4684 #define HWIO_REO_R0_REO2SW5_RING_MISC_LOOP_CNT_BMSK                  0x03c00000
4685 #define HWIO_REO_R0_REO2SW5_RING_MISC_LOOP_CNT_SHFT                        0x16
4686 
4687 #define HWIO_REO_R0_REO2SW5_RING_MISC_SPARE_CONTROL_BMSK             0x003fc000
4688 #define HWIO_REO_R0_REO2SW5_RING_MISC_SPARE_CONTROL_SHFT                    0xe
4689 
4690 #define HWIO_REO_R0_REO2SW5_RING_MISC_SRNG_SM_STATE2_BMSK            0x00003000
4691 #define HWIO_REO_R0_REO2SW5_RING_MISC_SRNG_SM_STATE2_SHFT                   0xc
4692 
4693 #define HWIO_REO_R0_REO2SW5_RING_MISC_SRNG_SM_STATE1_BMSK            0x00000f00
4694 #define HWIO_REO_R0_REO2SW5_RING_MISC_SRNG_SM_STATE1_SHFT                   0x8
4695 
4696 #define HWIO_REO_R0_REO2SW5_RING_MISC_SRNG_IS_IDLE_BMSK              0x00000080
4697 #define HWIO_REO_R0_REO2SW5_RING_MISC_SRNG_IS_IDLE_SHFT                     0x7
4698 
4699 #define HWIO_REO_R0_REO2SW5_RING_MISC_SRNG_ENABLE_BMSK               0x00000040
4700 #define HWIO_REO_R0_REO2SW5_RING_MISC_SRNG_ENABLE_SHFT                      0x6
4701 
4702 #define HWIO_REO_R0_REO2SW5_RING_MISC_DATA_TLV_SWAP_BIT_BMSK         0x00000020
4703 #define HWIO_REO_R0_REO2SW5_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                0x5
4704 
4705 #define HWIO_REO_R0_REO2SW5_RING_MISC_HOST_FW_SWAP_BIT_BMSK          0x00000010
4706 #define HWIO_REO_R0_REO2SW5_RING_MISC_HOST_FW_SWAP_BIT_SHFT                 0x4
4707 
4708 #define HWIO_REO_R0_REO2SW5_RING_MISC_MSI_SWAP_BIT_BMSK              0x00000008
4709 #define HWIO_REO_R0_REO2SW5_RING_MISC_MSI_SWAP_BIT_SHFT                     0x3
4710 
4711 #define HWIO_REO_R0_REO2SW5_RING_MISC_SECURITY_BIT_BMSK              0x00000004
4712 #define HWIO_REO_R0_REO2SW5_RING_MISC_SECURITY_BIT_SHFT                     0x2
4713 
4714 #define HWIO_REO_R0_REO2SW5_RING_MISC_LOOPCNT_DISABLE_BMSK           0x00000002
4715 #define HWIO_REO_R0_REO2SW5_RING_MISC_LOOPCNT_DISABLE_SHFT                  0x1
4716 
4717 #define HWIO_REO_R0_REO2SW5_RING_MISC_RING_ID_DISABLE_BMSK           0x00000001
4718 #define HWIO_REO_R0_REO2SW5_RING_MISC_RING_ID_DISABLE_SHFT                  0x0
4719 
4720 //// Register REO_R0_REO2SW5_RING_HP_ADDR_LSB ////
4721 
4722 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_ADDR(x)                 (x+0x000003b8)
4723 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_PHYS(x)                 (x+0x000003b8)
4724 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_RMSK                    0xffffffff
4725 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_SHFT                             0
4726 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_IN(x)                   \
4727 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_RMSK)
4728 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_INM(x, mask)            \
4729 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_ADDR(x), mask)
4730 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_OUT(x, val)             \
4731 	out_dword( HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_ADDR(x), val)
4732 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_OUTM(x, mask, val)      \
4733 	do {\
4734 		HWIO_INTLOCK(); \
4735 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_IN(x)); \
4736 		HWIO_INTFREE();\
4737 	} while (0)
4738 
4739 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
4740 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
4741 
4742 //// Register REO_R0_REO2SW5_RING_HP_ADDR_MSB ////
4743 
4744 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_ADDR(x)                 (x+0x000003bc)
4745 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_PHYS(x)                 (x+0x000003bc)
4746 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_RMSK                    0x000000ff
4747 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_SHFT                             0
4748 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_IN(x)                   \
4749 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_RMSK)
4750 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_INM(x, mask)            \
4751 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_ADDR(x), mask)
4752 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_OUT(x, val)             \
4753 	out_dword( HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_ADDR(x), val)
4754 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_OUTM(x, mask, val)      \
4755 	do {\
4756 		HWIO_INTLOCK(); \
4757 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_IN(x)); \
4758 		HWIO_INTFREE();\
4759 	} while (0)
4760 
4761 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
4762 #define HWIO_REO_R0_REO2SW5_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
4763 
4764 //// Register REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP ////
4765 
4766 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_ADDR(x)          (x+0x000003c8)
4767 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_PHYS(x)          (x+0x000003c8)
4768 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_RMSK             0xffffffff
4769 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_SHFT                      0
4770 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_IN(x)            \
4771 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_RMSK)
4772 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_INM(x, mask)     \
4773 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
4774 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_OUT(x, val)      \
4775 	out_dword( HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_ADDR(x), val)
4776 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
4777 	do {\
4778 		HWIO_INTLOCK(); \
4779 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_IN(x)); \
4780 		HWIO_INTFREE();\
4781 	} while (0)
4782 
4783 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
4784 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
4785 
4786 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
4787 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
4788 
4789 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
4790 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
4791 
4792 //// Register REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS ////
4793 
4794 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_ADDR(x)         (x+0x000003cc)
4795 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_PHYS(x)         (x+0x000003cc)
4796 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_RMSK            0xffffffff
4797 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_SHFT                     0
4798 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_IN(x)           \
4799 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_RMSK)
4800 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_INM(x, mask)    \
4801 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
4802 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_OUT(x, val)     \
4803 	out_dword( HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_ADDR(x), val)
4804 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
4805 	do {\
4806 		HWIO_INTLOCK(); \
4807 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_IN(x)); \
4808 		HWIO_INTFREE();\
4809 	} while (0)
4810 
4811 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
4812 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
4813 
4814 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
4815 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
4816 
4817 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
4818 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
4819 
4820 //// Register REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER ////
4821 
4822 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_ADDR(x)       (x+0x000003d0)
4823 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_PHYS(x)       (x+0x000003d0)
4824 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_RMSK          0x000003ff
4825 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_SHFT                   0
4826 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_IN(x)         \
4827 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_RMSK)
4828 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_INM(x, mask)  \
4829 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
4830 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_OUT(x, val)   \
4831 	out_dword( HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
4832 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
4833 	do {\
4834 		HWIO_INTLOCK(); \
4835 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_IN(x)); \
4836 		HWIO_INTFREE();\
4837 	} while (0)
4838 
4839 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
4840 #define HWIO_REO_R0_REO2SW5_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
4841 
4842 //// Register REO_R0_REO2SW5_RING_MSI1_BASE_LSB ////
4843 
4844 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_ADDR(x)               (x+0x000003ec)
4845 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_PHYS(x)               (x+0x000003ec)
4846 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_RMSK                  0xffffffff
4847 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_SHFT                           0
4848 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_IN(x)                 \
4849 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_RMSK)
4850 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_INM(x, mask)          \
4851 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_ADDR(x), mask)
4852 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_OUT(x, val)           \
4853 	out_dword( HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_ADDR(x), val)
4854 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_OUTM(x, mask, val)    \
4855 	do {\
4856 		HWIO_INTLOCK(); \
4857 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_IN(x)); \
4858 		HWIO_INTFREE();\
4859 	} while (0)
4860 
4861 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_ADDR_BMSK             0xffffffff
4862 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_LSB_ADDR_SHFT                    0x0
4863 
4864 //// Register REO_R0_REO2SW5_RING_MSI1_BASE_MSB ////
4865 
4866 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_ADDR(x)               (x+0x000003f0)
4867 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_PHYS(x)               (x+0x000003f0)
4868 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_RMSK                  0x000001ff
4869 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_SHFT                           0
4870 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_IN(x)                 \
4871 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_RMSK)
4872 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_INM(x, mask)          \
4873 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_ADDR(x), mask)
4874 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_OUT(x, val)           \
4875 	out_dword( HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_ADDR(x), val)
4876 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_OUTM(x, mask, val)    \
4877 	do {\
4878 		HWIO_INTLOCK(); \
4879 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_IN(x)); \
4880 		HWIO_INTFREE();\
4881 	} while (0)
4882 
4883 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK      0x00000100
4884 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT             0x8
4885 
4886 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_ADDR_BMSK             0x000000ff
4887 #define HWIO_REO_R0_REO2SW5_RING_MSI1_BASE_MSB_ADDR_SHFT                    0x0
4888 
4889 //// Register REO_R0_REO2SW5_RING_MSI1_DATA ////
4890 
4891 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_ADDR(x)                   (x+0x000003f4)
4892 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_PHYS(x)                   (x+0x000003f4)
4893 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_RMSK                      0xffffffff
4894 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_SHFT                               0
4895 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_IN(x)                     \
4896 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_RMSK)
4897 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_INM(x, mask)              \
4898 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_ADDR(x), mask)
4899 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_OUT(x, val)               \
4900 	out_dword( HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_ADDR(x), val)
4901 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_OUTM(x, mask, val)        \
4902 	do {\
4903 		HWIO_INTLOCK(); \
4904 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_IN(x)); \
4905 		HWIO_INTFREE();\
4906 	} while (0)
4907 
4908 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_VALUE_BMSK                0xffffffff
4909 #define HWIO_REO_R0_REO2SW5_RING_MSI1_DATA_VALUE_SHFT                       0x0
4910 
4911 //// Register REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET ////
4912 
4913 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_ADDR(x)             (x+0x000003f8)
4914 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_PHYS(x)             (x+0x000003f8)
4915 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_RMSK                0x0000ffff
4916 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_SHFT                         0
4917 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_IN(x)               \
4918 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_RMSK)
4919 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_INM(x, mask)        \
4920 	in_dword_masked ( HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
4921 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_OUT(x, val)         \
4922 	out_dword( HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_ADDR(x), val)
4923 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)  \
4924 	do {\
4925 		HWIO_INTLOCK(); \
4926 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_IN(x)); \
4927 		HWIO_INTFREE();\
4928 	} while (0)
4929 
4930 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
4931 #define HWIO_REO_R0_REO2SW5_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
4932 
4933 //// Register REO_R0_REO2SW6_RING_BASE_LSB ////
4934 
4935 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_ADDR(x)                    (x+0x000003fc)
4936 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_PHYS(x)                    (x+0x000003fc)
4937 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_RMSK                       0xffffffff
4938 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_SHFT                                0
4939 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_IN(x)                      \
4940 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW6_RING_BASE_LSB_RMSK)
4941 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_INM(x, mask)               \
4942 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_BASE_LSB_ADDR(x), mask)
4943 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_OUT(x, val)                \
4944 	out_dword( HWIO_REO_R0_REO2SW6_RING_BASE_LSB_ADDR(x), val)
4945 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_OUTM(x, mask, val)         \
4946 	do {\
4947 		HWIO_INTLOCK(); \
4948 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_BASE_LSB_IN(x)); \
4949 		HWIO_INTFREE();\
4950 	} while (0)
4951 
4952 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK    0xffffffff
4953 #define HWIO_REO_R0_REO2SW6_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT           0x0
4954 
4955 //// Register REO_R0_REO2SW6_RING_BASE_MSB ////
4956 
4957 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_ADDR(x)                    (x+0x00000400)
4958 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_PHYS(x)                    (x+0x00000400)
4959 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_RMSK                       0x0fffffff
4960 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_SHFT                                0
4961 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_IN(x)                      \
4962 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW6_RING_BASE_MSB_RMSK)
4963 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_INM(x, mask)               \
4964 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_BASE_MSB_ADDR(x), mask)
4965 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_OUT(x, val)                \
4966 	out_dword( HWIO_REO_R0_REO2SW6_RING_BASE_MSB_ADDR(x), val)
4967 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_OUTM(x, mask, val)         \
4968 	do {\
4969 		HWIO_INTLOCK(); \
4970 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_BASE_MSB_IN(x)); \
4971 		HWIO_INTFREE();\
4972 	} while (0)
4973 
4974 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_RING_SIZE_BMSK             0x0fffff00
4975 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_RING_SIZE_SHFT                    0x8
4976 
4977 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK    0x000000ff
4978 #define HWIO_REO_R0_REO2SW6_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT           0x0
4979 
4980 //// Register REO_R0_REO2SW6_RING_ID ////
4981 
4982 #define HWIO_REO_R0_REO2SW6_RING_ID_ADDR(x)                          (x+0x00000404)
4983 #define HWIO_REO_R0_REO2SW6_RING_ID_PHYS(x)                          (x+0x00000404)
4984 #define HWIO_REO_R0_REO2SW6_RING_ID_RMSK                             0x0000ffff
4985 #define HWIO_REO_R0_REO2SW6_RING_ID_SHFT                                      0
4986 #define HWIO_REO_R0_REO2SW6_RING_ID_IN(x)                            \
4987 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_ID_ADDR(x), HWIO_REO_R0_REO2SW6_RING_ID_RMSK)
4988 #define HWIO_REO_R0_REO2SW6_RING_ID_INM(x, mask)                     \
4989 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_ID_ADDR(x), mask)
4990 #define HWIO_REO_R0_REO2SW6_RING_ID_OUT(x, val)                      \
4991 	out_dword( HWIO_REO_R0_REO2SW6_RING_ID_ADDR(x), val)
4992 #define HWIO_REO_R0_REO2SW6_RING_ID_OUTM(x, mask, val)               \
4993 	do {\
4994 		HWIO_INTLOCK(); \
4995 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_ID_IN(x)); \
4996 		HWIO_INTFREE();\
4997 	} while (0)
4998 
4999 #define HWIO_REO_R0_REO2SW6_RING_ID_RING_ID_BMSK                     0x0000ff00
5000 #define HWIO_REO_R0_REO2SW6_RING_ID_RING_ID_SHFT                            0x8
5001 
5002 #define HWIO_REO_R0_REO2SW6_RING_ID_ENTRY_SIZE_BMSK                  0x000000ff
5003 #define HWIO_REO_R0_REO2SW6_RING_ID_ENTRY_SIZE_SHFT                         0x0
5004 
5005 //// Register REO_R0_REO2SW6_RING_STATUS ////
5006 
5007 #define HWIO_REO_R0_REO2SW6_RING_STATUS_ADDR(x)                      (x+0x00000408)
5008 #define HWIO_REO_R0_REO2SW6_RING_STATUS_PHYS(x)                      (x+0x00000408)
5009 #define HWIO_REO_R0_REO2SW6_RING_STATUS_RMSK                         0xffffffff
5010 #define HWIO_REO_R0_REO2SW6_RING_STATUS_SHFT                                  0
5011 #define HWIO_REO_R0_REO2SW6_RING_STATUS_IN(x)                        \
5012 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_STATUS_ADDR(x), HWIO_REO_R0_REO2SW6_RING_STATUS_RMSK)
5013 #define HWIO_REO_R0_REO2SW6_RING_STATUS_INM(x, mask)                 \
5014 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_STATUS_ADDR(x), mask)
5015 #define HWIO_REO_R0_REO2SW6_RING_STATUS_OUT(x, val)                  \
5016 	out_dword( HWIO_REO_R0_REO2SW6_RING_STATUS_ADDR(x), val)
5017 #define HWIO_REO_R0_REO2SW6_RING_STATUS_OUTM(x, mask, val)           \
5018 	do {\
5019 		HWIO_INTLOCK(); \
5020 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_STATUS_IN(x)); \
5021 		HWIO_INTFREE();\
5022 	} while (0)
5023 
5024 #define HWIO_REO_R0_REO2SW6_RING_STATUS_NUM_AVAIL_WORDS_BMSK         0xffff0000
5025 #define HWIO_REO_R0_REO2SW6_RING_STATUS_NUM_AVAIL_WORDS_SHFT               0x10
5026 
5027 #define HWIO_REO_R0_REO2SW6_RING_STATUS_NUM_VALID_WORDS_BMSK         0x0000ffff
5028 #define HWIO_REO_R0_REO2SW6_RING_STATUS_NUM_VALID_WORDS_SHFT                0x0
5029 
5030 //// Register REO_R0_REO2SW6_RING_MISC ////
5031 
5032 #define HWIO_REO_R0_REO2SW6_RING_MISC_ADDR(x)                        (x+0x0000040c)
5033 #define HWIO_REO_R0_REO2SW6_RING_MISC_PHYS(x)                        (x+0x0000040c)
5034 #define HWIO_REO_R0_REO2SW6_RING_MISC_RMSK                           0x03ffffff
5035 #define HWIO_REO_R0_REO2SW6_RING_MISC_SHFT                                    0
5036 #define HWIO_REO_R0_REO2SW6_RING_MISC_IN(x)                          \
5037 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_MISC_ADDR(x), HWIO_REO_R0_REO2SW6_RING_MISC_RMSK)
5038 #define HWIO_REO_R0_REO2SW6_RING_MISC_INM(x, mask)                   \
5039 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_MISC_ADDR(x), mask)
5040 #define HWIO_REO_R0_REO2SW6_RING_MISC_OUT(x, val)                    \
5041 	out_dword( HWIO_REO_R0_REO2SW6_RING_MISC_ADDR(x), val)
5042 #define HWIO_REO_R0_REO2SW6_RING_MISC_OUTM(x, mask, val)             \
5043 	do {\
5044 		HWIO_INTLOCK(); \
5045 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_MISC_IN(x)); \
5046 		HWIO_INTFREE();\
5047 	} while (0)
5048 
5049 #define HWIO_REO_R0_REO2SW6_RING_MISC_LOOP_CNT_BMSK                  0x03c00000
5050 #define HWIO_REO_R0_REO2SW6_RING_MISC_LOOP_CNT_SHFT                        0x16
5051 
5052 #define HWIO_REO_R0_REO2SW6_RING_MISC_SPARE_CONTROL_BMSK             0x003fc000
5053 #define HWIO_REO_R0_REO2SW6_RING_MISC_SPARE_CONTROL_SHFT                    0xe
5054 
5055 #define HWIO_REO_R0_REO2SW6_RING_MISC_SRNG_SM_STATE2_BMSK            0x00003000
5056 #define HWIO_REO_R0_REO2SW6_RING_MISC_SRNG_SM_STATE2_SHFT                   0xc
5057 
5058 #define HWIO_REO_R0_REO2SW6_RING_MISC_SRNG_SM_STATE1_BMSK            0x00000f00
5059 #define HWIO_REO_R0_REO2SW6_RING_MISC_SRNG_SM_STATE1_SHFT                   0x8
5060 
5061 #define HWIO_REO_R0_REO2SW6_RING_MISC_SRNG_IS_IDLE_BMSK              0x00000080
5062 #define HWIO_REO_R0_REO2SW6_RING_MISC_SRNG_IS_IDLE_SHFT                     0x7
5063 
5064 #define HWIO_REO_R0_REO2SW6_RING_MISC_SRNG_ENABLE_BMSK               0x00000040
5065 #define HWIO_REO_R0_REO2SW6_RING_MISC_SRNG_ENABLE_SHFT                      0x6
5066 
5067 #define HWIO_REO_R0_REO2SW6_RING_MISC_DATA_TLV_SWAP_BIT_BMSK         0x00000020
5068 #define HWIO_REO_R0_REO2SW6_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                0x5
5069 
5070 #define HWIO_REO_R0_REO2SW6_RING_MISC_HOST_FW_SWAP_BIT_BMSK          0x00000010
5071 #define HWIO_REO_R0_REO2SW6_RING_MISC_HOST_FW_SWAP_BIT_SHFT                 0x4
5072 
5073 #define HWIO_REO_R0_REO2SW6_RING_MISC_MSI_SWAP_BIT_BMSK              0x00000008
5074 #define HWIO_REO_R0_REO2SW6_RING_MISC_MSI_SWAP_BIT_SHFT                     0x3
5075 
5076 #define HWIO_REO_R0_REO2SW6_RING_MISC_SECURITY_BIT_BMSK              0x00000004
5077 #define HWIO_REO_R0_REO2SW6_RING_MISC_SECURITY_BIT_SHFT                     0x2
5078 
5079 #define HWIO_REO_R0_REO2SW6_RING_MISC_LOOPCNT_DISABLE_BMSK           0x00000002
5080 #define HWIO_REO_R0_REO2SW6_RING_MISC_LOOPCNT_DISABLE_SHFT                  0x1
5081 
5082 #define HWIO_REO_R0_REO2SW6_RING_MISC_RING_ID_DISABLE_BMSK           0x00000001
5083 #define HWIO_REO_R0_REO2SW6_RING_MISC_RING_ID_DISABLE_SHFT                  0x0
5084 
5085 //// Register REO_R0_REO2SW6_RING_HP_ADDR_LSB ////
5086 
5087 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_ADDR(x)                 (x+0x00000410)
5088 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_PHYS(x)                 (x+0x00000410)
5089 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_RMSK                    0xffffffff
5090 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_SHFT                             0
5091 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_IN(x)                   \
5092 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_RMSK)
5093 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_INM(x, mask)            \
5094 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_ADDR(x), mask)
5095 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_OUT(x, val)             \
5096 	out_dword( HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_ADDR(x), val)
5097 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_OUTM(x, mask, val)      \
5098 	do {\
5099 		HWIO_INTLOCK(); \
5100 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_IN(x)); \
5101 		HWIO_INTFREE();\
5102 	} while (0)
5103 
5104 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
5105 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
5106 
5107 //// Register REO_R0_REO2SW6_RING_HP_ADDR_MSB ////
5108 
5109 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_ADDR(x)                 (x+0x00000414)
5110 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_PHYS(x)                 (x+0x00000414)
5111 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_RMSK                    0x000000ff
5112 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_SHFT                             0
5113 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_IN(x)                   \
5114 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_RMSK)
5115 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_INM(x, mask)            \
5116 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_ADDR(x), mask)
5117 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_OUT(x, val)             \
5118 	out_dword( HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_ADDR(x), val)
5119 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_OUTM(x, mask, val)      \
5120 	do {\
5121 		HWIO_INTLOCK(); \
5122 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_IN(x)); \
5123 		HWIO_INTFREE();\
5124 	} while (0)
5125 
5126 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
5127 #define HWIO_REO_R0_REO2SW6_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
5128 
5129 //// Register REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP ////
5130 
5131 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_ADDR(x)          (x+0x00000420)
5132 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_PHYS(x)          (x+0x00000420)
5133 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_RMSK             0xffffffff
5134 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_SHFT                      0
5135 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_IN(x)            \
5136 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_RMSK)
5137 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_INM(x, mask)     \
5138 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
5139 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_OUT(x, val)      \
5140 	out_dword( HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_ADDR(x), val)
5141 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
5142 	do {\
5143 		HWIO_INTLOCK(); \
5144 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_IN(x)); \
5145 		HWIO_INTFREE();\
5146 	} while (0)
5147 
5148 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
5149 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
5150 
5151 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
5152 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
5153 
5154 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
5155 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
5156 
5157 //// Register REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS ////
5158 
5159 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_ADDR(x)         (x+0x00000424)
5160 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_PHYS(x)         (x+0x00000424)
5161 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_RMSK            0xffffffff
5162 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_SHFT                     0
5163 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_IN(x)           \
5164 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_RMSK)
5165 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_INM(x, mask)    \
5166 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
5167 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_OUT(x, val)     \
5168 	out_dword( HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_ADDR(x), val)
5169 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
5170 	do {\
5171 		HWIO_INTLOCK(); \
5172 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_IN(x)); \
5173 		HWIO_INTFREE();\
5174 	} while (0)
5175 
5176 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
5177 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
5178 
5179 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
5180 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
5181 
5182 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
5183 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
5184 
5185 //// Register REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER ////
5186 
5187 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_ADDR(x)       (x+0x00000428)
5188 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_PHYS(x)       (x+0x00000428)
5189 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_RMSK          0x000003ff
5190 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_SHFT                   0
5191 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_IN(x)         \
5192 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_RMSK)
5193 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_INM(x, mask)  \
5194 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
5195 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_OUT(x, val)   \
5196 	out_dword( HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
5197 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
5198 	do {\
5199 		HWIO_INTLOCK(); \
5200 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_IN(x)); \
5201 		HWIO_INTFREE();\
5202 	} while (0)
5203 
5204 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
5205 #define HWIO_REO_R0_REO2SW6_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
5206 
5207 //// Register REO_R0_REO2SW6_RING_MSI1_BASE_LSB ////
5208 
5209 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_ADDR(x)               (x+0x00000444)
5210 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_PHYS(x)               (x+0x00000444)
5211 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_RMSK                  0xffffffff
5212 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_SHFT                           0
5213 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_IN(x)                 \
5214 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_RMSK)
5215 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_INM(x, mask)          \
5216 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_ADDR(x), mask)
5217 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_OUT(x, val)           \
5218 	out_dword( HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_ADDR(x), val)
5219 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_OUTM(x, mask, val)    \
5220 	do {\
5221 		HWIO_INTLOCK(); \
5222 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_IN(x)); \
5223 		HWIO_INTFREE();\
5224 	} while (0)
5225 
5226 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_ADDR_BMSK             0xffffffff
5227 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_LSB_ADDR_SHFT                    0x0
5228 
5229 //// Register REO_R0_REO2SW6_RING_MSI1_BASE_MSB ////
5230 
5231 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_ADDR(x)               (x+0x00000448)
5232 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_PHYS(x)               (x+0x00000448)
5233 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_RMSK                  0x000001ff
5234 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_SHFT                           0
5235 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_IN(x)                 \
5236 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_RMSK)
5237 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_INM(x, mask)          \
5238 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_ADDR(x), mask)
5239 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_OUT(x, val)           \
5240 	out_dword( HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_ADDR(x), val)
5241 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_OUTM(x, mask, val)    \
5242 	do {\
5243 		HWIO_INTLOCK(); \
5244 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_IN(x)); \
5245 		HWIO_INTFREE();\
5246 	} while (0)
5247 
5248 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK      0x00000100
5249 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT             0x8
5250 
5251 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_ADDR_BMSK             0x000000ff
5252 #define HWIO_REO_R0_REO2SW6_RING_MSI1_BASE_MSB_ADDR_SHFT                    0x0
5253 
5254 //// Register REO_R0_REO2SW6_RING_MSI1_DATA ////
5255 
5256 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_ADDR(x)                   (x+0x0000044c)
5257 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_PHYS(x)                   (x+0x0000044c)
5258 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_RMSK                      0xffffffff
5259 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_SHFT                               0
5260 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_IN(x)                     \
5261 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_RMSK)
5262 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_INM(x, mask)              \
5263 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_ADDR(x), mask)
5264 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_OUT(x, val)               \
5265 	out_dword( HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_ADDR(x), val)
5266 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_OUTM(x, mask, val)        \
5267 	do {\
5268 		HWIO_INTLOCK(); \
5269 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_IN(x)); \
5270 		HWIO_INTFREE();\
5271 	} while (0)
5272 
5273 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_VALUE_BMSK                0xffffffff
5274 #define HWIO_REO_R0_REO2SW6_RING_MSI1_DATA_VALUE_SHFT                       0x0
5275 
5276 //// Register REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET ////
5277 
5278 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_ADDR(x)             (x+0x00000450)
5279 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_PHYS(x)             (x+0x00000450)
5280 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_RMSK                0x0000ffff
5281 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_SHFT                         0
5282 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_IN(x)               \
5283 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_RMSK)
5284 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_INM(x, mask)        \
5285 	in_dword_masked ( HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
5286 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_OUT(x, val)         \
5287 	out_dword( HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_ADDR(x), val)
5288 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)  \
5289 	do {\
5290 		HWIO_INTLOCK(); \
5291 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_IN(x)); \
5292 		HWIO_INTFREE();\
5293 	} while (0)
5294 
5295 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
5296 #define HWIO_REO_R0_REO2SW6_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
5297 
5298 //// Register REO_R0_REO2TCL_RING_BASE_LSB ////
5299 
5300 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_ADDR(x)                    (x+0x00000454)
5301 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_PHYS(x)                    (x+0x00000454)
5302 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_RMSK                       0xffffffff
5303 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_SHFT                                0
5304 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_IN(x)                      \
5305 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2TCL_RING_BASE_LSB_RMSK)
5306 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_INM(x, mask)               \
5307 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_BASE_LSB_ADDR(x), mask)
5308 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_OUT(x, val)                \
5309 	out_dword( HWIO_REO_R0_REO2TCL_RING_BASE_LSB_ADDR(x), val)
5310 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_OUTM(x, mask, val)         \
5311 	do {\
5312 		HWIO_INTLOCK(); \
5313 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_BASE_LSB_IN(x)); \
5314 		HWIO_INTFREE();\
5315 	} while (0)
5316 
5317 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK    0xffffffff
5318 #define HWIO_REO_R0_REO2TCL_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT           0x0
5319 
5320 //// Register REO_R0_REO2TCL_RING_BASE_MSB ////
5321 
5322 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_ADDR(x)                    (x+0x00000458)
5323 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_PHYS(x)                    (x+0x00000458)
5324 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_RMSK                       0x0fffffff
5325 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_SHFT                                0
5326 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_IN(x)                      \
5327 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2TCL_RING_BASE_MSB_RMSK)
5328 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_INM(x, mask)               \
5329 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_BASE_MSB_ADDR(x), mask)
5330 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_OUT(x, val)                \
5331 	out_dword( HWIO_REO_R0_REO2TCL_RING_BASE_MSB_ADDR(x), val)
5332 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_OUTM(x, mask, val)         \
5333 	do {\
5334 		HWIO_INTLOCK(); \
5335 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_BASE_MSB_IN(x)); \
5336 		HWIO_INTFREE();\
5337 	} while (0)
5338 
5339 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_RING_SIZE_BMSK             0x0fffff00
5340 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_RING_SIZE_SHFT                    0x8
5341 
5342 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK    0x000000ff
5343 #define HWIO_REO_R0_REO2TCL_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT           0x0
5344 
5345 //// Register REO_R0_REO2TCL_RING_ID ////
5346 
5347 #define HWIO_REO_R0_REO2TCL_RING_ID_ADDR(x)                          (x+0x0000045c)
5348 #define HWIO_REO_R0_REO2TCL_RING_ID_PHYS(x)                          (x+0x0000045c)
5349 #define HWIO_REO_R0_REO2TCL_RING_ID_RMSK                             0x0000ffff
5350 #define HWIO_REO_R0_REO2TCL_RING_ID_SHFT                                      0
5351 #define HWIO_REO_R0_REO2TCL_RING_ID_IN(x)                            \
5352 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_ID_ADDR(x), HWIO_REO_R0_REO2TCL_RING_ID_RMSK)
5353 #define HWIO_REO_R0_REO2TCL_RING_ID_INM(x, mask)                     \
5354 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_ID_ADDR(x), mask)
5355 #define HWIO_REO_R0_REO2TCL_RING_ID_OUT(x, val)                      \
5356 	out_dword( HWIO_REO_R0_REO2TCL_RING_ID_ADDR(x), val)
5357 #define HWIO_REO_R0_REO2TCL_RING_ID_OUTM(x, mask, val)               \
5358 	do {\
5359 		HWIO_INTLOCK(); \
5360 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_ID_IN(x)); \
5361 		HWIO_INTFREE();\
5362 	} while (0)
5363 
5364 #define HWIO_REO_R0_REO2TCL_RING_ID_RING_ID_BMSK                     0x0000ff00
5365 #define HWIO_REO_R0_REO2TCL_RING_ID_RING_ID_SHFT                            0x8
5366 
5367 #define HWIO_REO_R0_REO2TCL_RING_ID_ENTRY_SIZE_BMSK                  0x000000ff
5368 #define HWIO_REO_R0_REO2TCL_RING_ID_ENTRY_SIZE_SHFT                         0x0
5369 
5370 //// Register REO_R0_REO2TCL_RING_STATUS ////
5371 
5372 #define HWIO_REO_R0_REO2TCL_RING_STATUS_ADDR(x)                      (x+0x00000460)
5373 #define HWIO_REO_R0_REO2TCL_RING_STATUS_PHYS(x)                      (x+0x00000460)
5374 #define HWIO_REO_R0_REO2TCL_RING_STATUS_RMSK                         0xffffffff
5375 #define HWIO_REO_R0_REO2TCL_RING_STATUS_SHFT                                  0
5376 #define HWIO_REO_R0_REO2TCL_RING_STATUS_IN(x)                        \
5377 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_STATUS_ADDR(x), HWIO_REO_R0_REO2TCL_RING_STATUS_RMSK)
5378 #define HWIO_REO_R0_REO2TCL_RING_STATUS_INM(x, mask)                 \
5379 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_STATUS_ADDR(x), mask)
5380 #define HWIO_REO_R0_REO2TCL_RING_STATUS_OUT(x, val)                  \
5381 	out_dword( HWIO_REO_R0_REO2TCL_RING_STATUS_ADDR(x), val)
5382 #define HWIO_REO_R0_REO2TCL_RING_STATUS_OUTM(x, mask, val)           \
5383 	do {\
5384 		HWIO_INTLOCK(); \
5385 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_STATUS_IN(x)); \
5386 		HWIO_INTFREE();\
5387 	} while (0)
5388 
5389 #define HWIO_REO_R0_REO2TCL_RING_STATUS_NUM_AVAIL_WORDS_BMSK         0xffff0000
5390 #define HWIO_REO_R0_REO2TCL_RING_STATUS_NUM_AVAIL_WORDS_SHFT               0x10
5391 
5392 #define HWIO_REO_R0_REO2TCL_RING_STATUS_NUM_VALID_WORDS_BMSK         0x0000ffff
5393 #define HWIO_REO_R0_REO2TCL_RING_STATUS_NUM_VALID_WORDS_SHFT                0x0
5394 
5395 //// Register REO_R0_REO2TCL_RING_MISC ////
5396 
5397 #define HWIO_REO_R0_REO2TCL_RING_MISC_ADDR(x)                        (x+0x00000464)
5398 #define HWIO_REO_R0_REO2TCL_RING_MISC_PHYS(x)                        (x+0x00000464)
5399 #define HWIO_REO_R0_REO2TCL_RING_MISC_RMSK                           0x03ffffff
5400 #define HWIO_REO_R0_REO2TCL_RING_MISC_SHFT                                    0
5401 #define HWIO_REO_R0_REO2TCL_RING_MISC_IN(x)                          \
5402 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_MISC_ADDR(x), HWIO_REO_R0_REO2TCL_RING_MISC_RMSK)
5403 #define HWIO_REO_R0_REO2TCL_RING_MISC_INM(x, mask)                   \
5404 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_MISC_ADDR(x), mask)
5405 #define HWIO_REO_R0_REO2TCL_RING_MISC_OUT(x, val)                    \
5406 	out_dword( HWIO_REO_R0_REO2TCL_RING_MISC_ADDR(x), val)
5407 #define HWIO_REO_R0_REO2TCL_RING_MISC_OUTM(x, mask, val)             \
5408 	do {\
5409 		HWIO_INTLOCK(); \
5410 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_MISC_IN(x)); \
5411 		HWIO_INTFREE();\
5412 	} while (0)
5413 
5414 #define HWIO_REO_R0_REO2TCL_RING_MISC_LOOP_CNT_BMSK                  0x03c00000
5415 #define HWIO_REO_R0_REO2TCL_RING_MISC_LOOP_CNT_SHFT                        0x16
5416 
5417 #define HWIO_REO_R0_REO2TCL_RING_MISC_SPARE_CONTROL_BMSK             0x003fc000
5418 #define HWIO_REO_R0_REO2TCL_RING_MISC_SPARE_CONTROL_SHFT                    0xe
5419 
5420 #define HWIO_REO_R0_REO2TCL_RING_MISC_SRNG_SM_STATE2_BMSK            0x00003000
5421 #define HWIO_REO_R0_REO2TCL_RING_MISC_SRNG_SM_STATE2_SHFT                   0xc
5422 
5423 #define HWIO_REO_R0_REO2TCL_RING_MISC_SRNG_SM_STATE1_BMSK            0x00000f00
5424 #define HWIO_REO_R0_REO2TCL_RING_MISC_SRNG_SM_STATE1_SHFT                   0x8
5425 
5426 #define HWIO_REO_R0_REO2TCL_RING_MISC_SRNG_IS_IDLE_BMSK              0x00000080
5427 #define HWIO_REO_R0_REO2TCL_RING_MISC_SRNG_IS_IDLE_SHFT                     0x7
5428 
5429 #define HWIO_REO_R0_REO2TCL_RING_MISC_SRNG_ENABLE_BMSK               0x00000040
5430 #define HWIO_REO_R0_REO2TCL_RING_MISC_SRNG_ENABLE_SHFT                      0x6
5431 
5432 #define HWIO_REO_R0_REO2TCL_RING_MISC_DATA_TLV_SWAP_BIT_BMSK         0x00000020
5433 #define HWIO_REO_R0_REO2TCL_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                0x5
5434 
5435 #define HWIO_REO_R0_REO2TCL_RING_MISC_HOST_FW_SWAP_BIT_BMSK          0x00000010
5436 #define HWIO_REO_R0_REO2TCL_RING_MISC_HOST_FW_SWAP_BIT_SHFT                 0x4
5437 
5438 #define HWIO_REO_R0_REO2TCL_RING_MISC_MSI_SWAP_BIT_BMSK              0x00000008
5439 #define HWIO_REO_R0_REO2TCL_RING_MISC_MSI_SWAP_BIT_SHFT                     0x3
5440 
5441 #define HWIO_REO_R0_REO2TCL_RING_MISC_SECURITY_BIT_BMSK              0x00000004
5442 #define HWIO_REO_R0_REO2TCL_RING_MISC_SECURITY_BIT_SHFT                     0x2
5443 
5444 #define HWIO_REO_R0_REO2TCL_RING_MISC_LOOPCNT_DISABLE_BMSK           0x00000002
5445 #define HWIO_REO_R0_REO2TCL_RING_MISC_LOOPCNT_DISABLE_SHFT                  0x1
5446 
5447 #define HWIO_REO_R0_REO2TCL_RING_MISC_RING_ID_DISABLE_BMSK           0x00000001
5448 #define HWIO_REO_R0_REO2TCL_RING_MISC_RING_ID_DISABLE_SHFT                  0x0
5449 
5450 //// Register REO_R0_REO2TCL_RING_HP_ADDR_LSB ////
5451 
5452 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_ADDR(x)                 (x+0x00000468)
5453 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_PHYS(x)                 (x+0x00000468)
5454 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_RMSK                    0xffffffff
5455 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_SHFT                             0
5456 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_IN(x)                   \
5457 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_RMSK)
5458 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_INM(x, mask)            \
5459 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_ADDR(x), mask)
5460 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_OUT(x, val)             \
5461 	out_dword( HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_ADDR(x), val)
5462 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_OUTM(x, mask, val)      \
5463 	do {\
5464 		HWIO_INTLOCK(); \
5465 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_IN(x)); \
5466 		HWIO_INTFREE();\
5467 	} while (0)
5468 
5469 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
5470 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
5471 
5472 //// Register REO_R0_REO2TCL_RING_HP_ADDR_MSB ////
5473 
5474 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_ADDR(x)                 (x+0x0000046c)
5475 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_PHYS(x)                 (x+0x0000046c)
5476 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_RMSK                    0x000000ff
5477 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_SHFT                             0
5478 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_IN(x)                   \
5479 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_RMSK)
5480 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_INM(x, mask)            \
5481 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_ADDR(x), mask)
5482 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_OUT(x, val)             \
5483 	out_dword( HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_ADDR(x), val)
5484 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_OUTM(x, mask, val)      \
5485 	do {\
5486 		HWIO_INTLOCK(); \
5487 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_IN(x)); \
5488 		HWIO_INTFREE();\
5489 	} while (0)
5490 
5491 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
5492 #define HWIO_REO_R0_REO2TCL_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
5493 
5494 //// Register REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP ////
5495 
5496 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_ADDR(x)          (x+0x00000478)
5497 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_PHYS(x)          (x+0x00000478)
5498 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_RMSK             0xffffffff
5499 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_SHFT                      0
5500 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_IN(x)            \
5501 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_RMSK)
5502 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_INM(x, mask)     \
5503 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
5504 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_OUT(x, val)      \
5505 	out_dword( HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_ADDR(x), val)
5506 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
5507 	do {\
5508 		HWIO_INTLOCK(); \
5509 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_IN(x)); \
5510 		HWIO_INTFREE();\
5511 	} while (0)
5512 
5513 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
5514 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
5515 
5516 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
5517 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
5518 
5519 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
5520 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
5521 
5522 //// Register REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS ////
5523 
5524 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_ADDR(x)         (x+0x0000047c)
5525 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_PHYS(x)         (x+0x0000047c)
5526 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_RMSK            0xffffffff
5527 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_SHFT                     0
5528 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_IN(x)           \
5529 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_RMSK)
5530 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_INM(x, mask)    \
5531 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
5532 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_OUT(x, val)     \
5533 	out_dword( HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_ADDR(x), val)
5534 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
5535 	do {\
5536 		HWIO_INTLOCK(); \
5537 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_IN(x)); \
5538 		HWIO_INTFREE();\
5539 	} while (0)
5540 
5541 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
5542 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
5543 
5544 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
5545 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
5546 
5547 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
5548 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
5549 
5550 //// Register REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER ////
5551 
5552 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_ADDR(x)       (x+0x00000480)
5553 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_PHYS(x)       (x+0x00000480)
5554 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_RMSK          0x000003ff
5555 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_SHFT                   0
5556 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_IN(x)         \
5557 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_RMSK)
5558 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_INM(x, mask)  \
5559 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
5560 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_OUT(x, val)   \
5561 	out_dword( HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
5562 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
5563 	do {\
5564 		HWIO_INTLOCK(); \
5565 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_IN(x)); \
5566 		HWIO_INTFREE();\
5567 	} while (0)
5568 
5569 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
5570 #define HWIO_REO_R0_REO2TCL_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
5571 
5572 //// Register REO_R0_REO2TCL_RING_MSI1_BASE_LSB ////
5573 
5574 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_ADDR(x)               (x+0x0000049c)
5575 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_PHYS(x)               (x+0x0000049c)
5576 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_RMSK                  0xffffffff
5577 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_SHFT                           0
5578 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_IN(x)                 \
5579 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_RMSK)
5580 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_INM(x, mask)          \
5581 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_ADDR(x), mask)
5582 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_OUT(x, val)           \
5583 	out_dword( HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_ADDR(x), val)
5584 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_OUTM(x, mask, val)    \
5585 	do {\
5586 		HWIO_INTLOCK(); \
5587 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_IN(x)); \
5588 		HWIO_INTFREE();\
5589 	} while (0)
5590 
5591 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_ADDR_BMSK             0xffffffff
5592 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_LSB_ADDR_SHFT                    0x0
5593 
5594 //// Register REO_R0_REO2TCL_RING_MSI1_BASE_MSB ////
5595 
5596 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_ADDR(x)               (x+0x000004a0)
5597 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_PHYS(x)               (x+0x000004a0)
5598 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_RMSK                  0x000001ff
5599 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_SHFT                           0
5600 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_IN(x)                 \
5601 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_RMSK)
5602 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_INM(x, mask)          \
5603 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_ADDR(x), mask)
5604 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_OUT(x, val)           \
5605 	out_dword( HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_ADDR(x), val)
5606 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_OUTM(x, mask, val)    \
5607 	do {\
5608 		HWIO_INTLOCK(); \
5609 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_IN(x)); \
5610 		HWIO_INTFREE();\
5611 	} while (0)
5612 
5613 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK      0x00000100
5614 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT             0x8
5615 
5616 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_ADDR_BMSK             0x000000ff
5617 #define HWIO_REO_R0_REO2TCL_RING_MSI1_BASE_MSB_ADDR_SHFT                    0x0
5618 
5619 //// Register REO_R0_REO2TCL_RING_MSI1_DATA ////
5620 
5621 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_ADDR(x)                   (x+0x000004a4)
5622 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_PHYS(x)                   (x+0x000004a4)
5623 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_RMSK                      0xffffffff
5624 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_SHFT                               0
5625 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_IN(x)                     \
5626 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_RMSK)
5627 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_INM(x, mask)              \
5628 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_ADDR(x), mask)
5629 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_OUT(x, val)               \
5630 	out_dword( HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_ADDR(x), val)
5631 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_OUTM(x, mask, val)        \
5632 	do {\
5633 		HWIO_INTLOCK(); \
5634 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_IN(x)); \
5635 		HWIO_INTFREE();\
5636 	} while (0)
5637 
5638 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_VALUE_BMSK                0xffffffff
5639 #define HWIO_REO_R0_REO2TCL_RING_MSI1_DATA_VALUE_SHFT                       0x0
5640 
5641 //// Register REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET ////
5642 
5643 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_ADDR(x)             (x+0x000004a8)
5644 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_PHYS(x)             (x+0x000004a8)
5645 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_RMSK                0x0000ffff
5646 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_SHFT                         0
5647 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_IN(x)               \
5648 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_RMSK)
5649 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_INM(x, mask)        \
5650 	in_dword_masked ( HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
5651 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_OUT(x, val)         \
5652 	out_dword( HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_ADDR(x), val)
5653 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)  \
5654 	do {\
5655 		HWIO_INTLOCK(); \
5656 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_IN(x)); \
5657 		HWIO_INTFREE();\
5658 	} while (0)
5659 
5660 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
5661 #define HWIO_REO_R0_REO2TCL_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
5662 
5663 //// Register REO_R0_REO2FW_RING_BASE_LSB ////
5664 
5665 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_ADDR(x)                     (x+0x000004ac)
5666 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_PHYS(x)                     (x+0x000004ac)
5667 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_RMSK                        0xffffffff
5668 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_SHFT                                 0
5669 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_IN(x)                       \
5670 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2FW_RING_BASE_LSB_RMSK)
5671 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_INM(x, mask)                \
5672 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_BASE_LSB_ADDR(x), mask)
5673 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_OUT(x, val)                 \
5674 	out_dword( HWIO_REO_R0_REO2FW_RING_BASE_LSB_ADDR(x), val)
5675 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_OUTM(x, mask, val)          \
5676 	do {\
5677 		HWIO_INTLOCK(); \
5678 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_BASE_LSB_IN(x)); \
5679 		HWIO_INTFREE();\
5680 	} while (0)
5681 
5682 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK     0xffffffff
5683 #define HWIO_REO_R0_REO2FW_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT            0x0
5684 
5685 //// Register REO_R0_REO2FW_RING_BASE_MSB ////
5686 
5687 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_ADDR(x)                     (x+0x000004b0)
5688 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_PHYS(x)                     (x+0x000004b0)
5689 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_RMSK                        0x0fffffff
5690 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_SHFT                                 0
5691 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_IN(x)                       \
5692 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2FW_RING_BASE_MSB_RMSK)
5693 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_INM(x, mask)                \
5694 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_BASE_MSB_ADDR(x), mask)
5695 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_OUT(x, val)                 \
5696 	out_dword( HWIO_REO_R0_REO2FW_RING_BASE_MSB_ADDR(x), val)
5697 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_OUTM(x, mask, val)          \
5698 	do {\
5699 		HWIO_INTLOCK(); \
5700 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_BASE_MSB_IN(x)); \
5701 		HWIO_INTFREE();\
5702 	} while (0)
5703 
5704 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_RING_SIZE_BMSK              0x0fffff00
5705 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_RING_SIZE_SHFT                     0x8
5706 
5707 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK     0x000000ff
5708 #define HWIO_REO_R0_REO2FW_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT            0x0
5709 
5710 //// Register REO_R0_REO2FW_RING_ID ////
5711 
5712 #define HWIO_REO_R0_REO2FW_RING_ID_ADDR(x)                           (x+0x000004b4)
5713 #define HWIO_REO_R0_REO2FW_RING_ID_PHYS(x)                           (x+0x000004b4)
5714 #define HWIO_REO_R0_REO2FW_RING_ID_RMSK                              0x0000ffff
5715 #define HWIO_REO_R0_REO2FW_RING_ID_SHFT                                       0
5716 #define HWIO_REO_R0_REO2FW_RING_ID_IN(x)                             \
5717 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_ID_ADDR(x), HWIO_REO_R0_REO2FW_RING_ID_RMSK)
5718 #define HWIO_REO_R0_REO2FW_RING_ID_INM(x, mask)                      \
5719 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_ID_ADDR(x), mask)
5720 #define HWIO_REO_R0_REO2FW_RING_ID_OUT(x, val)                       \
5721 	out_dword( HWIO_REO_R0_REO2FW_RING_ID_ADDR(x), val)
5722 #define HWIO_REO_R0_REO2FW_RING_ID_OUTM(x, mask, val)                \
5723 	do {\
5724 		HWIO_INTLOCK(); \
5725 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_ID_IN(x)); \
5726 		HWIO_INTFREE();\
5727 	} while (0)
5728 
5729 #define HWIO_REO_R0_REO2FW_RING_ID_RING_ID_BMSK                      0x0000ff00
5730 #define HWIO_REO_R0_REO2FW_RING_ID_RING_ID_SHFT                             0x8
5731 
5732 #define HWIO_REO_R0_REO2FW_RING_ID_ENTRY_SIZE_BMSK                   0x000000ff
5733 #define HWIO_REO_R0_REO2FW_RING_ID_ENTRY_SIZE_SHFT                          0x0
5734 
5735 //// Register REO_R0_REO2FW_RING_STATUS ////
5736 
5737 #define HWIO_REO_R0_REO2FW_RING_STATUS_ADDR(x)                       (x+0x000004b8)
5738 #define HWIO_REO_R0_REO2FW_RING_STATUS_PHYS(x)                       (x+0x000004b8)
5739 #define HWIO_REO_R0_REO2FW_RING_STATUS_RMSK                          0xffffffff
5740 #define HWIO_REO_R0_REO2FW_RING_STATUS_SHFT                                   0
5741 #define HWIO_REO_R0_REO2FW_RING_STATUS_IN(x)                         \
5742 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_STATUS_ADDR(x), HWIO_REO_R0_REO2FW_RING_STATUS_RMSK)
5743 #define HWIO_REO_R0_REO2FW_RING_STATUS_INM(x, mask)                  \
5744 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_STATUS_ADDR(x), mask)
5745 #define HWIO_REO_R0_REO2FW_RING_STATUS_OUT(x, val)                   \
5746 	out_dword( HWIO_REO_R0_REO2FW_RING_STATUS_ADDR(x), val)
5747 #define HWIO_REO_R0_REO2FW_RING_STATUS_OUTM(x, mask, val)            \
5748 	do {\
5749 		HWIO_INTLOCK(); \
5750 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_STATUS_IN(x)); \
5751 		HWIO_INTFREE();\
5752 	} while (0)
5753 
5754 #define HWIO_REO_R0_REO2FW_RING_STATUS_NUM_AVAIL_WORDS_BMSK          0xffff0000
5755 #define HWIO_REO_R0_REO2FW_RING_STATUS_NUM_AVAIL_WORDS_SHFT                0x10
5756 
5757 #define HWIO_REO_R0_REO2FW_RING_STATUS_NUM_VALID_WORDS_BMSK          0x0000ffff
5758 #define HWIO_REO_R0_REO2FW_RING_STATUS_NUM_VALID_WORDS_SHFT                 0x0
5759 
5760 //// Register REO_R0_REO2FW_RING_MISC ////
5761 
5762 #define HWIO_REO_R0_REO2FW_RING_MISC_ADDR(x)                         (x+0x000004bc)
5763 #define HWIO_REO_R0_REO2FW_RING_MISC_PHYS(x)                         (x+0x000004bc)
5764 #define HWIO_REO_R0_REO2FW_RING_MISC_RMSK                            0x03ffffff
5765 #define HWIO_REO_R0_REO2FW_RING_MISC_SHFT                                     0
5766 #define HWIO_REO_R0_REO2FW_RING_MISC_IN(x)                           \
5767 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_MISC_ADDR(x), HWIO_REO_R0_REO2FW_RING_MISC_RMSK)
5768 #define HWIO_REO_R0_REO2FW_RING_MISC_INM(x, mask)                    \
5769 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_MISC_ADDR(x), mask)
5770 #define HWIO_REO_R0_REO2FW_RING_MISC_OUT(x, val)                     \
5771 	out_dword( HWIO_REO_R0_REO2FW_RING_MISC_ADDR(x), val)
5772 #define HWIO_REO_R0_REO2FW_RING_MISC_OUTM(x, mask, val)              \
5773 	do {\
5774 		HWIO_INTLOCK(); \
5775 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_MISC_IN(x)); \
5776 		HWIO_INTFREE();\
5777 	} while (0)
5778 
5779 #define HWIO_REO_R0_REO2FW_RING_MISC_LOOP_CNT_BMSK                   0x03c00000
5780 #define HWIO_REO_R0_REO2FW_RING_MISC_LOOP_CNT_SHFT                         0x16
5781 
5782 #define HWIO_REO_R0_REO2FW_RING_MISC_SPARE_CONTROL_BMSK              0x003fc000
5783 #define HWIO_REO_R0_REO2FW_RING_MISC_SPARE_CONTROL_SHFT                     0xe
5784 
5785 #define HWIO_REO_R0_REO2FW_RING_MISC_SRNG_SM_STATE2_BMSK             0x00003000
5786 #define HWIO_REO_R0_REO2FW_RING_MISC_SRNG_SM_STATE2_SHFT                    0xc
5787 
5788 #define HWIO_REO_R0_REO2FW_RING_MISC_SRNG_SM_STATE1_BMSK             0x00000f00
5789 #define HWIO_REO_R0_REO2FW_RING_MISC_SRNG_SM_STATE1_SHFT                    0x8
5790 
5791 #define HWIO_REO_R0_REO2FW_RING_MISC_SRNG_IS_IDLE_BMSK               0x00000080
5792 #define HWIO_REO_R0_REO2FW_RING_MISC_SRNG_IS_IDLE_SHFT                      0x7
5793 
5794 #define HWIO_REO_R0_REO2FW_RING_MISC_SRNG_ENABLE_BMSK                0x00000040
5795 #define HWIO_REO_R0_REO2FW_RING_MISC_SRNG_ENABLE_SHFT                       0x6
5796 
5797 #define HWIO_REO_R0_REO2FW_RING_MISC_DATA_TLV_SWAP_BIT_BMSK          0x00000020
5798 #define HWIO_REO_R0_REO2FW_RING_MISC_DATA_TLV_SWAP_BIT_SHFT                 0x5
5799 
5800 #define HWIO_REO_R0_REO2FW_RING_MISC_HOST_FW_SWAP_BIT_BMSK           0x00000010
5801 #define HWIO_REO_R0_REO2FW_RING_MISC_HOST_FW_SWAP_BIT_SHFT                  0x4
5802 
5803 #define HWIO_REO_R0_REO2FW_RING_MISC_MSI_SWAP_BIT_BMSK               0x00000008
5804 #define HWIO_REO_R0_REO2FW_RING_MISC_MSI_SWAP_BIT_SHFT                      0x3
5805 
5806 #define HWIO_REO_R0_REO2FW_RING_MISC_SECURITY_BIT_BMSK               0x00000004
5807 #define HWIO_REO_R0_REO2FW_RING_MISC_SECURITY_BIT_SHFT                      0x2
5808 
5809 #define HWIO_REO_R0_REO2FW_RING_MISC_LOOPCNT_DISABLE_BMSK            0x00000002
5810 #define HWIO_REO_R0_REO2FW_RING_MISC_LOOPCNT_DISABLE_SHFT                   0x1
5811 
5812 #define HWIO_REO_R0_REO2FW_RING_MISC_RING_ID_DISABLE_BMSK            0x00000001
5813 #define HWIO_REO_R0_REO2FW_RING_MISC_RING_ID_DISABLE_SHFT                   0x0
5814 
5815 //// Register REO_R0_REO2FW_RING_HP_ADDR_LSB ////
5816 
5817 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_ADDR(x)                  (x+0x000004c0)
5818 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_PHYS(x)                  (x+0x000004c0)
5819 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_RMSK                     0xffffffff
5820 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_SHFT                              0
5821 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_IN(x)                    \
5822 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_RMSK)
5823 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_INM(x, mask)             \
5824 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_ADDR(x), mask)
5825 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_OUT(x, val)              \
5826 	out_dword( HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_ADDR(x), val)
5827 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_OUTM(x, mask, val)       \
5828 	do {\
5829 		HWIO_INTLOCK(); \
5830 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_IN(x)); \
5831 		HWIO_INTFREE();\
5832 	} while (0)
5833 
5834 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
5835 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
5836 
5837 //// Register REO_R0_REO2FW_RING_HP_ADDR_MSB ////
5838 
5839 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_ADDR(x)                  (x+0x000004c4)
5840 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_PHYS(x)                  (x+0x000004c4)
5841 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_RMSK                     0x000000ff
5842 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_SHFT                              0
5843 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_IN(x)                    \
5844 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_RMSK)
5845 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_INM(x, mask)             \
5846 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_ADDR(x), mask)
5847 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_OUT(x, val)              \
5848 	out_dword( HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_ADDR(x), val)
5849 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_OUTM(x, mask, val)       \
5850 	do {\
5851 		HWIO_INTLOCK(); \
5852 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_IN(x)); \
5853 		HWIO_INTFREE();\
5854 	} while (0)
5855 
5856 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
5857 #define HWIO_REO_R0_REO2FW_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
5858 
5859 //// Register REO_R0_REO2FW_RING_PRODUCER_INT_SETUP ////
5860 
5861 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_ADDR(x)           (x+0x000004d0)
5862 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_PHYS(x)           (x+0x000004d0)
5863 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_RMSK              0xffffffff
5864 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_SHFT                       0
5865 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_IN(x)             \
5866 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_RMSK)
5867 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_INM(x, mask)      \
5868 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
5869 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_OUT(x, val)       \
5870 	out_dword( HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_ADDR(x), val)
5871 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
5872 	do {\
5873 		HWIO_INTLOCK(); \
5874 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_IN(x)); \
5875 		HWIO_INTFREE();\
5876 	} while (0)
5877 
5878 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
5879 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
5880 
5881 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
5882 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
5883 
5884 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
5885 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
5886 
5887 //// Register REO_R0_REO2FW_RING_PRODUCER_INT_STATUS ////
5888 
5889 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_ADDR(x)          (x+0x000004d4)
5890 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_PHYS(x)          (x+0x000004d4)
5891 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_RMSK             0xffffffff
5892 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_SHFT                      0
5893 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_IN(x)            \
5894 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_RMSK)
5895 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_INM(x, mask)     \
5896 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
5897 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_OUT(x, val)      \
5898 	out_dword( HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_ADDR(x), val)
5899 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
5900 	do {\
5901 		HWIO_INTLOCK(); \
5902 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_IN(x)); \
5903 		HWIO_INTFREE();\
5904 	} while (0)
5905 
5906 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
5907 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
5908 
5909 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
5910 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
5911 
5912 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
5913 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
5914 
5915 //// Register REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER ////
5916 
5917 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_ADDR(x)        (x+0x000004d8)
5918 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_PHYS(x)        (x+0x000004d8)
5919 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_RMSK           0x000003ff
5920 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_SHFT                    0
5921 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_IN(x)          \
5922 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_RMSK)
5923 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_INM(x, mask)   \
5924 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
5925 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_OUT(x, val)    \
5926 	out_dword( HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
5927 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
5928 	do {\
5929 		HWIO_INTLOCK(); \
5930 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_IN(x)); \
5931 		HWIO_INTFREE();\
5932 	} while (0)
5933 
5934 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
5935 #define HWIO_REO_R0_REO2FW_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
5936 
5937 //// Register REO_R0_REO2FW_RING_MSI1_BASE_LSB ////
5938 
5939 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_ADDR(x)                (x+0x000004f4)
5940 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_PHYS(x)                (x+0x000004f4)
5941 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_RMSK                   0xffffffff
5942 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_SHFT                            0
5943 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_IN(x)                  \
5944 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_RMSK)
5945 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_INM(x, mask)           \
5946 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_ADDR(x), mask)
5947 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_OUT(x, val)            \
5948 	out_dword( HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_ADDR(x), val)
5949 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_OUTM(x, mask, val)     \
5950 	do {\
5951 		HWIO_INTLOCK(); \
5952 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_IN(x)); \
5953 		HWIO_INTFREE();\
5954 	} while (0)
5955 
5956 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_ADDR_BMSK              0xffffffff
5957 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_LSB_ADDR_SHFT                     0x0
5958 
5959 //// Register REO_R0_REO2FW_RING_MSI1_BASE_MSB ////
5960 
5961 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_ADDR(x)                (x+0x000004f8)
5962 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_PHYS(x)                (x+0x000004f8)
5963 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_RMSK                   0x000001ff
5964 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_SHFT                            0
5965 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_IN(x)                  \
5966 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_RMSK)
5967 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_INM(x, mask)           \
5968 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_ADDR(x), mask)
5969 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_OUT(x, val)            \
5970 	out_dword( HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_ADDR(x), val)
5971 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_OUTM(x, mask, val)     \
5972 	do {\
5973 		HWIO_INTLOCK(); \
5974 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_IN(x)); \
5975 		HWIO_INTFREE();\
5976 	} while (0)
5977 
5978 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK       0x00000100
5979 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT              0x8
5980 
5981 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_ADDR_BMSK              0x000000ff
5982 #define HWIO_REO_R0_REO2FW_RING_MSI1_BASE_MSB_ADDR_SHFT                     0x0
5983 
5984 //// Register REO_R0_REO2FW_RING_MSI1_DATA ////
5985 
5986 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_ADDR(x)                    (x+0x000004fc)
5987 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_PHYS(x)                    (x+0x000004fc)
5988 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_RMSK                       0xffffffff
5989 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_SHFT                                0
5990 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_IN(x)                      \
5991 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO2FW_RING_MSI1_DATA_RMSK)
5992 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_INM(x, mask)               \
5993 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_MSI1_DATA_ADDR(x), mask)
5994 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_OUT(x, val)                \
5995 	out_dword( HWIO_REO_R0_REO2FW_RING_MSI1_DATA_ADDR(x), val)
5996 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_OUTM(x, mask, val)         \
5997 	do {\
5998 		HWIO_INTLOCK(); \
5999 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_MSI1_DATA_IN(x)); \
6000 		HWIO_INTFREE();\
6001 	} while (0)
6002 
6003 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_VALUE_BMSK                 0xffffffff
6004 #define HWIO_REO_R0_REO2FW_RING_MSI1_DATA_VALUE_SHFT                        0x0
6005 
6006 //// Register REO_R0_REO2FW_RING_HP_TP_SW_OFFSET ////
6007 
6008 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_ADDR(x)              (x+0x00000500)
6009 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_PHYS(x)              (x+0x00000500)
6010 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_RMSK                 0x0000ffff
6011 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_SHFT                          0
6012 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_IN(x)                \
6013 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_RMSK)
6014 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_INM(x, mask)         \
6015 	in_dword_masked ( HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
6016 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_OUT(x, val)          \
6017 	out_dword( HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_ADDR(x), val)
6018 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val)   \
6019 	do {\
6020 		HWIO_INTLOCK(); \
6021 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_IN(x)); \
6022 		HWIO_INTFREE();\
6023 	} while (0)
6024 
6025 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
6026 #define HWIO_REO_R0_REO2FW_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
6027 
6028 //// Register REO_R0_REO_RELEASE_RING_BASE_LSB ////
6029 
6030 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_ADDR(x)                (x+0x00000504)
6031 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_PHYS(x)                (x+0x00000504)
6032 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_RMSK                   0xffffffff
6033 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_SHFT                            0
6034 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_IN(x)                  \
6035 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_RMSK)
6036 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_INM(x, mask)           \
6037 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_ADDR(x), mask)
6038 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_OUT(x, val)            \
6039 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_ADDR(x), val)
6040 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_OUTM(x, mask, val)     \
6041 	do {\
6042 		HWIO_INTLOCK(); \
6043 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_IN(x)); \
6044 		HWIO_INTFREE();\
6045 	} while (0)
6046 
6047 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK 0xffffffff
6048 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT        0x0
6049 
6050 //// Register REO_R0_REO_RELEASE_RING_BASE_MSB ////
6051 
6052 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_ADDR(x)                (x+0x00000508)
6053 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_PHYS(x)                (x+0x00000508)
6054 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_RMSK                   0x00ffffff
6055 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_SHFT                            0
6056 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_IN(x)                  \
6057 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_RMSK)
6058 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_INM(x, mask)           \
6059 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_ADDR(x), mask)
6060 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_OUT(x, val)            \
6061 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_ADDR(x), val)
6062 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_OUTM(x, mask, val)     \
6063 	do {\
6064 		HWIO_INTLOCK(); \
6065 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_IN(x)); \
6066 		HWIO_INTFREE();\
6067 	} while (0)
6068 
6069 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_RING_SIZE_BMSK         0x00ffff00
6070 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_RING_SIZE_SHFT                0x8
6071 
6072 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK 0x000000ff
6073 #define HWIO_REO_R0_REO_RELEASE_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT        0x0
6074 
6075 //// Register REO_R0_REO_RELEASE_RING_ID ////
6076 
6077 #define HWIO_REO_R0_REO_RELEASE_RING_ID_ADDR(x)                      (x+0x0000050c)
6078 #define HWIO_REO_R0_REO_RELEASE_RING_ID_PHYS(x)                      (x+0x0000050c)
6079 #define HWIO_REO_R0_REO_RELEASE_RING_ID_RMSK                         0x0000ffff
6080 #define HWIO_REO_R0_REO_RELEASE_RING_ID_SHFT                                  0
6081 #define HWIO_REO_R0_REO_RELEASE_RING_ID_IN(x)                        \
6082 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_ID_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_ID_RMSK)
6083 #define HWIO_REO_R0_REO_RELEASE_RING_ID_INM(x, mask)                 \
6084 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_ID_ADDR(x), mask)
6085 #define HWIO_REO_R0_REO_RELEASE_RING_ID_OUT(x, val)                  \
6086 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_ID_ADDR(x), val)
6087 #define HWIO_REO_R0_REO_RELEASE_RING_ID_OUTM(x, mask, val)           \
6088 	do {\
6089 		HWIO_INTLOCK(); \
6090 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_ID_IN(x)); \
6091 		HWIO_INTFREE();\
6092 	} while (0)
6093 
6094 #define HWIO_REO_R0_REO_RELEASE_RING_ID_RING_ID_BMSK                 0x0000ff00
6095 #define HWIO_REO_R0_REO_RELEASE_RING_ID_RING_ID_SHFT                        0x8
6096 
6097 #define HWIO_REO_R0_REO_RELEASE_RING_ID_ENTRY_SIZE_BMSK              0x000000ff
6098 #define HWIO_REO_R0_REO_RELEASE_RING_ID_ENTRY_SIZE_SHFT                     0x0
6099 
6100 //// Register REO_R0_REO_RELEASE_RING_STATUS ////
6101 
6102 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_ADDR(x)                  (x+0x00000510)
6103 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_PHYS(x)                  (x+0x00000510)
6104 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_RMSK                     0xffffffff
6105 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_SHFT                              0
6106 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_IN(x)                    \
6107 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_STATUS_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_STATUS_RMSK)
6108 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_INM(x, mask)             \
6109 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_STATUS_ADDR(x), mask)
6110 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_OUT(x, val)              \
6111 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_STATUS_ADDR(x), val)
6112 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_OUTM(x, mask, val)       \
6113 	do {\
6114 		HWIO_INTLOCK(); \
6115 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_STATUS_IN(x)); \
6116 		HWIO_INTFREE();\
6117 	} while (0)
6118 
6119 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_NUM_AVAIL_WORDS_BMSK     0xffff0000
6120 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_NUM_AVAIL_WORDS_SHFT           0x10
6121 
6122 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_NUM_VALID_WORDS_BMSK     0x0000ffff
6123 #define HWIO_REO_R0_REO_RELEASE_RING_STATUS_NUM_VALID_WORDS_SHFT            0x0
6124 
6125 //// Register REO_R0_REO_RELEASE_RING_MISC ////
6126 
6127 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_ADDR(x)                    (x+0x00000514)
6128 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_PHYS(x)                    (x+0x00000514)
6129 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_RMSK                       0x03ffffff
6130 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SHFT                                0
6131 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_IN(x)                      \
6132 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_MISC_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_MISC_RMSK)
6133 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_INM(x, mask)               \
6134 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_MISC_ADDR(x), mask)
6135 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_OUT(x, val)                \
6136 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_MISC_ADDR(x), val)
6137 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_OUTM(x, mask, val)         \
6138 	do {\
6139 		HWIO_INTLOCK(); \
6140 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_MISC_IN(x)); \
6141 		HWIO_INTFREE();\
6142 	} while (0)
6143 
6144 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_LOOP_CNT_BMSK              0x03c00000
6145 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_LOOP_CNT_SHFT                    0x16
6146 
6147 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SPARE_CONTROL_BMSK         0x003fc000
6148 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SPARE_CONTROL_SHFT                0xe
6149 
6150 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SRNG_SM_STATE2_BMSK        0x00003000
6151 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SRNG_SM_STATE2_SHFT               0xc
6152 
6153 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SRNG_SM_STATE1_BMSK        0x00000f00
6154 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SRNG_SM_STATE1_SHFT               0x8
6155 
6156 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SRNG_IS_IDLE_BMSK          0x00000080
6157 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SRNG_IS_IDLE_SHFT                 0x7
6158 
6159 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SRNG_ENABLE_BMSK           0x00000040
6160 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SRNG_ENABLE_SHFT                  0x6
6161 
6162 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_DATA_TLV_SWAP_BIT_BMSK     0x00000020
6163 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_DATA_TLV_SWAP_BIT_SHFT            0x5
6164 
6165 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_HOST_FW_SWAP_BIT_BMSK      0x00000010
6166 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_HOST_FW_SWAP_BIT_SHFT             0x4
6167 
6168 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_MSI_SWAP_BIT_BMSK          0x00000008
6169 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_MSI_SWAP_BIT_SHFT                 0x3
6170 
6171 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SECURITY_BIT_BMSK          0x00000004
6172 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_SECURITY_BIT_SHFT                 0x2
6173 
6174 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_LOOPCNT_DISABLE_BMSK       0x00000002
6175 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_LOOPCNT_DISABLE_SHFT              0x1
6176 
6177 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_RING_ID_DISABLE_BMSK       0x00000001
6178 #define HWIO_REO_R0_REO_RELEASE_RING_MISC_RING_ID_DISABLE_SHFT              0x0
6179 
6180 //// Register REO_R0_REO_RELEASE_RING_HP_ADDR_LSB ////
6181 
6182 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_ADDR(x)             (x+0x00000518)
6183 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_PHYS(x)             (x+0x00000518)
6184 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_RMSK                0xffffffff
6185 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_SHFT                         0
6186 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_IN(x)               \
6187 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_RMSK)
6188 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_INM(x, mask)        \
6189 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_ADDR(x), mask)
6190 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_OUT(x, val)         \
6191 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_ADDR(x), val)
6192 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_OUTM(x, mask, val)  \
6193 	do {\
6194 		HWIO_INTLOCK(); \
6195 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_IN(x)); \
6196 		HWIO_INTFREE();\
6197 	} while (0)
6198 
6199 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
6200 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
6201 
6202 //// Register REO_R0_REO_RELEASE_RING_HP_ADDR_MSB ////
6203 
6204 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_ADDR(x)             (x+0x0000051c)
6205 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_PHYS(x)             (x+0x0000051c)
6206 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_RMSK                0x000000ff
6207 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_SHFT                         0
6208 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_IN(x)               \
6209 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_RMSK)
6210 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_INM(x, mask)        \
6211 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_ADDR(x), mask)
6212 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_OUT(x, val)         \
6213 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_ADDR(x), val)
6214 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_OUTM(x, mask, val)  \
6215 	do {\
6216 		HWIO_INTLOCK(); \
6217 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_IN(x)); \
6218 		HWIO_INTFREE();\
6219 	} while (0)
6220 
6221 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
6222 #define HWIO_REO_R0_REO_RELEASE_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
6223 
6224 //// Register REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP ////
6225 
6226 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_ADDR(x)      (x+0x00000528)
6227 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_PHYS(x)      (x+0x00000528)
6228 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_RMSK         0xffffffff
6229 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_SHFT                  0
6230 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_IN(x)        \
6231 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_RMSK)
6232 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_INM(x, mask) \
6233 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
6234 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_OUT(x, val)  \
6235 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_ADDR(x), val)
6236 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
6237 	do {\
6238 		HWIO_INTLOCK(); \
6239 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_IN(x)); \
6240 		HWIO_INTFREE();\
6241 	} while (0)
6242 
6243 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
6244 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
6245 
6246 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
6247 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
6248 
6249 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
6250 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
6251 
6252 //// Register REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS ////
6253 
6254 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_ADDR(x)     (x+0x0000052c)
6255 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_PHYS(x)     (x+0x0000052c)
6256 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_RMSK        0xffffffff
6257 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_SHFT                 0
6258 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_IN(x)       \
6259 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_RMSK)
6260 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_INM(x, mask) \
6261 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
6262 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_OUT(x, val) \
6263 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_ADDR(x), val)
6264 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
6265 	do {\
6266 		HWIO_INTLOCK(); \
6267 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_IN(x)); \
6268 		HWIO_INTFREE();\
6269 	} while (0)
6270 
6271 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
6272 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
6273 
6274 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
6275 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
6276 
6277 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
6278 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
6279 
6280 //// Register REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER ////
6281 
6282 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_ADDR(x)   (x+0x00000530)
6283 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_PHYS(x)   (x+0x00000530)
6284 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_RMSK      0x000003ff
6285 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_SHFT               0
6286 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_IN(x)     \
6287 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_RMSK)
6288 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_INM(x, mask) \
6289 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
6290 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_OUT(x, val) \
6291 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
6292 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
6293 	do {\
6294 		HWIO_INTLOCK(); \
6295 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_IN(x)); \
6296 		HWIO_INTFREE();\
6297 	} while (0)
6298 
6299 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
6300 #define HWIO_REO_R0_REO_RELEASE_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
6301 
6302 //// Register REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET ////
6303 
6304 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_ADDR(x)         (x+0x00000558)
6305 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_PHYS(x)         (x+0x00000558)
6306 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_RMSK            0x0000ffff
6307 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_SHFT                     0
6308 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_IN(x)           \
6309 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_RMSK)
6310 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_INM(x, mask)    \
6311 	in_dword_masked ( HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
6312 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_OUT(x, val)     \
6313 	out_dword( HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_ADDR(x), val)
6314 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val) \
6315 	do {\
6316 		HWIO_INTLOCK(); \
6317 		out_dword_masked_ns(HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_IN(x)); \
6318 		HWIO_INTFREE();\
6319 	} while (0)
6320 
6321 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
6322 #define HWIO_REO_R0_REO_RELEASE_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
6323 
6324 //// Register REO_R0_REO_STATUS_RING_BASE_LSB ////
6325 
6326 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_ADDR(x)                 (x+0x0000055c)
6327 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_PHYS(x)                 (x+0x0000055c)
6328 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_RMSK                    0xffffffff
6329 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_SHFT                             0
6330 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_IN(x)                   \
6331 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_RMSK)
6332 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_INM(x, mask)            \
6333 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_ADDR(x), mask)
6334 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_OUT(x, val)             \
6335 	out_dword( HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_ADDR(x), val)
6336 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_OUTM(x, mask, val)      \
6337 	do {\
6338 		HWIO_INTLOCK(); \
6339 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_IN(x)); \
6340 		HWIO_INTFREE();\
6341 	} while (0)
6342 
6343 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_RING_BASE_ADDR_LSB_BMSK 0xffffffff
6344 #define HWIO_REO_R0_REO_STATUS_RING_BASE_LSB_RING_BASE_ADDR_LSB_SHFT        0x0
6345 
6346 //// Register REO_R0_REO_STATUS_RING_BASE_MSB ////
6347 
6348 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_ADDR(x)                 (x+0x00000560)
6349 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_PHYS(x)                 (x+0x00000560)
6350 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_RMSK                    0x00ffffff
6351 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_SHFT                             0
6352 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_IN(x)                   \
6353 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_RMSK)
6354 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_INM(x, mask)            \
6355 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_ADDR(x), mask)
6356 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_OUT(x, val)             \
6357 	out_dword( HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_ADDR(x), val)
6358 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_OUTM(x, mask, val)      \
6359 	do {\
6360 		HWIO_INTLOCK(); \
6361 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_IN(x)); \
6362 		HWIO_INTFREE();\
6363 	} while (0)
6364 
6365 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_RING_SIZE_BMSK          0x00ffff00
6366 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_RING_SIZE_SHFT                 0x8
6367 
6368 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_RING_BASE_ADDR_MSB_BMSK 0x000000ff
6369 #define HWIO_REO_R0_REO_STATUS_RING_BASE_MSB_RING_BASE_ADDR_MSB_SHFT        0x0
6370 
6371 //// Register REO_R0_REO_STATUS_RING_ID ////
6372 
6373 #define HWIO_REO_R0_REO_STATUS_RING_ID_ADDR(x)                       (x+0x00000564)
6374 #define HWIO_REO_R0_REO_STATUS_RING_ID_PHYS(x)                       (x+0x00000564)
6375 #define HWIO_REO_R0_REO_STATUS_RING_ID_RMSK                          0x0000ffff
6376 #define HWIO_REO_R0_REO_STATUS_RING_ID_SHFT                                   0
6377 #define HWIO_REO_R0_REO_STATUS_RING_ID_IN(x)                         \
6378 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_ID_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_ID_RMSK)
6379 #define HWIO_REO_R0_REO_STATUS_RING_ID_INM(x, mask)                  \
6380 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_ID_ADDR(x), mask)
6381 #define HWIO_REO_R0_REO_STATUS_RING_ID_OUT(x, val)                   \
6382 	out_dword( HWIO_REO_R0_REO_STATUS_RING_ID_ADDR(x), val)
6383 #define HWIO_REO_R0_REO_STATUS_RING_ID_OUTM(x, mask, val)            \
6384 	do {\
6385 		HWIO_INTLOCK(); \
6386 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_ID_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_ID_IN(x)); \
6387 		HWIO_INTFREE();\
6388 	} while (0)
6389 
6390 #define HWIO_REO_R0_REO_STATUS_RING_ID_RING_ID_BMSK                  0x0000ff00
6391 #define HWIO_REO_R0_REO_STATUS_RING_ID_RING_ID_SHFT                         0x8
6392 
6393 #define HWIO_REO_R0_REO_STATUS_RING_ID_ENTRY_SIZE_BMSK               0x000000ff
6394 #define HWIO_REO_R0_REO_STATUS_RING_ID_ENTRY_SIZE_SHFT                      0x0
6395 
6396 //// Register REO_R0_REO_STATUS_RING_STATUS ////
6397 
6398 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_ADDR(x)                   (x+0x00000568)
6399 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_PHYS(x)                   (x+0x00000568)
6400 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_RMSK                      0xffffffff
6401 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_SHFT                               0
6402 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_IN(x)                     \
6403 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_STATUS_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_STATUS_RMSK)
6404 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_INM(x, mask)              \
6405 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_STATUS_ADDR(x), mask)
6406 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_OUT(x, val)               \
6407 	out_dword( HWIO_REO_R0_REO_STATUS_RING_STATUS_ADDR(x), val)
6408 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_OUTM(x, mask, val)        \
6409 	do {\
6410 		HWIO_INTLOCK(); \
6411 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_STATUS_IN(x)); \
6412 		HWIO_INTFREE();\
6413 	} while (0)
6414 
6415 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_NUM_AVAIL_WORDS_BMSK      0xffff0000
6416 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_NUM_AVAIL_WORDS_SHFT            0x10
6417 
6418 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_NUM_VALID_WORDS_BMSK      0x0000ffff
6419 #define HWIO_REO_R0_REO_STATUS_RING_STATUS_NUM_VALID_WORDS_SHFT             0x0
6420 
6421 //// Register REO_R0_REO_STATUS_RING_MISC ////
6422 
6423 #define HWIO_REO_R0_REO_STATUS_RING_MISC_ADDR(x)                     (x+0x0000056c)
6424 #define HWIO_REO_R0_REO_STATUS_RING_MISC_PHYS(x)                     (x+0x0000056c)
6425 #define HWIO_REO_R0_REO_STATUS_RING_MISC_RMSK                        0x03ffffff
6426 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SHFT                                 0
6427 #define HWIO_REO_R0_REO_STATUS_RING_MISC_IN(x)                       \
6428 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_MISC_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_MISC_RMSK)
6429 #define HWIO_REO_R0_REO_STATUS_RING_MISC_INM(x, mask)                \
6430 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_MISC_ADDR(x), mask)
6431 #define HWIO_REO_R0_REO_STATUS_RING_MISC_OUT(x, val)                 \
6432 	out_dword( HWIO_REO_R0_REO_STATUS_RING_MISC_ADDR(x), val)
6433 #define HWIO_REO_R0_REO_STATUS_RING_MISC_OUTM(x, mask, val)          \
6434 	do {\
6435 		HWIO_INTLOCK(); \
6436 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_MISC_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_MISC_IN(x)); \
6437 		HWIO_INTFREE();\
6438 	} while (0)
6439 
6440 #define HWIO_REO_R0_REO_STATUS_RING_MISC_LOOP_CNT_BMSK               0x03c00000
6441 #define HWIO_REO_R0_REO_STATUS_RING_MISC_LOOP_CNT_SHFT                     0x16
6442 
6443 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SPARE_CONTROL_BMSK          0x003fc000
6444 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SPARE_CONTROL_SHFT                 0xe
6445 
6446 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SRNG_SM_STATE2_BMSK         0x00003000
6447 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SRNG_SM_STATE2_SHFT                0xc
6448 
6449 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SRNG_SM_STATE1_BMSK         0x00000f00
6450 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SRNG_SM_STATE1_SHFT                0x8
6451 
6452 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SRNG_IS_IDLE_BMSK           0x00000080
6453 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SRNG_IS_IDLE_SHFT                  0x7
6454 
6455 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SRNG_ENABLE_BMSK            0x00000040
6456 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SRNG_ENABLE_SHFT                   0x6
6457 
6458 #define HWIO_REO_R0_REO_STATUS_RING_MISC_DATA_TLV_SWAP_BIT_BMSK      0x00000020
6459 #define HWIO_REO_R0_REO_STATUS_RING_MISC_DATA_TLV_SWAP_BIT_SHFT             0x5
6460 
6461 #define HWIO_REO_R0_REO_STATUS_RING_MISC_HOST_FW_SWAP_BIT_BMSK       0x00000010
6462 #define HWIO_REO_R0_REO_STATUS_RING_MISC_HOST_FW_SWAP_BIT_SHFT              0x4
6463 
6464 #define HWIO_REO_R0_REO_STATUS_RING_MISC_MSI_SWAP_BIT_BMSK           0x00000008
6465 #define HWIO_REO_R0_REO_STATUS_RING_MISC_MSI_SWAP_BIT_SHFT                  0x3
6466 
6467 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SECURITY_BIT_BMSK           0x00000004
6468 #define HWIO_REO_R0_REO_STATUS_RING_MISC_SECURITY_BIT_SHFT                  0x2
6469 
6470 #define HWIO_REO_R0_REO_STATUS_RING_MISC_LOOPCNT_DISABLE_BMSK        0x00000002
6471 #define HWIO_REO_R0_REO_STATUS_RING_MISC_LOOPCNT_DISABLE_SHFT               0x1
6472 
6473 #define HWIO_REO_R0_REO_STATUS_RING_MISC_RING_ID_DISABLE_BMSK        0x00000001
6474 #define HWIO_REO_R0_REO_STATUS_RING_MISC_RING_ID_DISABLE_SHFT               0x0
6475 
6476 //// Register REO_R0_REO_STATUS_RING_HP_ADDR_LSB ////
6477 
6478 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_ADDR(x)              (x+0x00000570)
6479 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_PHYS(x)              (x+0x00000570)
6480 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_RMSK                 0xffffffff
6481 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_SHFT                          0
6482 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_IN(x)                \
6483 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_RMSK)
6484 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_INM(x, mask)         \
6485 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_ADDR(x), mask)
6486 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_OUT(x, val)          \
6487 	out_dword( HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_ADDR(x), val)
6488 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_OUTM(x, mask, val)   \
6489 	do {\
6490 		HWIO_INTLOCK(); \
6491 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_IN(x)); \
6492 		HWIO_INTFREE();\
6493 	} while (0)
6494 
6495 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_BMSK 0xffffffff
6496 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_LSB_HEAD_PTR_MEMADDR_LSB_SHFT        0x0
6497 
6498 //// Register REO_R0_REO_STATUS_RING_HP_ADDR_MSB ////
6499 
6500 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_ADDR(x)              (x+0x00000574)
6501 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_PHYS(x)              (x+0x00000574)
6502 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_RMSK                 0x000000ff
6503 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_SHFT                          0
6504 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_IN(x)                \
6505 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_RMSK)
6506 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_INM(x, mask)         \
6507 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_ADDR(x), mask)
6508 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_OUT(x, val)          \
6509 	out_dword( HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_ADDR(x), val)
6510 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_OUTM(x, mask, val)   \
6511 	do {\
6512 		HWIO_INTLOCK(); \
6513 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_IN(x)); \
6514 		HWIO_INTFREE();\
6515 	} while (0)
6516 
6517 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_BMSK 0x000000ff
6518 #define HWIO_REO_R0_REO_STATUS_RING_HP_ADDR_MSB_HEAD_PTR_MEMADDR_MSB_SHFT        0x0
6519 
6520 //// Register REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP ////
6521 
6522 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_ADDR(x)       (x+0x00000580)
6523 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_PHYS(x)       (x+0x00000580)
6524 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_RMSK          0xffffffff
6525 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_SHFT                   0
6526 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_IN(x)         \
6527 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_RMSK)
6528 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_INM(x, mask)  \
6529 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_ADDR(x), mask)
6530 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_OUT(x, val)   \
6531 	out_dword( HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_ADDR(x), val)
6532 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_OUTM(x, mask, val) \
6533 	do {\
6534 		HWIO_INTLOCK(); \
6535 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_IN(x)); \
6536 		HWIO_INTFREE();\
6537 	} while (0)
6538 
6539 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_BMSK 0xffff0000
6540 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_INTERRUPT_TIMER_THRESHOLD_SHFT       0x10
6541 
6542 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_BMSK 0x00008000
6543 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_SW_INTERRUPT_MODE_SHFT        0xf
6544 
6545 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_BMSK 0x00007fff
6546 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_SETUP_BATCH_COUNTER_THRESHOLD_SHFT        0x0
6547 
6548 //// Register REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS ////
6549 
6550 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_ADDR(x)      (x+0x00000584)
6551 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_PHYS(x)      (x+0x00000584)
6552 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_RMSK         0xffffffff
6553 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_SHFT                  0
6554 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_IN(x)        \
6555 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_RMSK)
6556 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_INM(x, mask) \
6557 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_ADDR(x), mask)
6558 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_OUT(x, val)  \
6559 	out_dword( HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_ADDR(x), val)
6560 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_OUTM(x, mask, val) \
6561 	do {\
6562 		HWIO_INTLOCK(); \
6563 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_IN(x)); \
6564 		HWIO_INTFREE();\
6565 	} while (0)
6566 
6567 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_BMSK 0xffff0000
6568 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_CURRENT_INTERRUPT_TIMER_VALUE_SHFT       0x10
6569 
6570 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_BMSK 0x00008000
6571 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_CURRENT_SW_INT_WIRE_VALUE_SHFT        0xf
6572 
6573 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_BMSK 0x00007fff
6574 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_INT_STATUS_INTERNAL_BATCH_COUNTER_VALUE_SHFT        0x0
6575 
6576 //// Register REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER ////
6577 
6578 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_ADDR(x)    (x+0x00000588)
6579 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_PHYS(x)    (x+0x00000588)
6580 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_RMSK       0x000003ff
6581 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_SHFT                0
6582 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_IN(x)      \
6583 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_RMSK)
6584 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_INM(x, mask) \
6585 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask)
6586 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_OUT(x, val) \
6587 	out_dword( HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_ADDR(x), val)
6588 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_OUTM(x, mask, val) \
6589 	do {\
6590 		HWIO_INTLOCK(); \
6591 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_IN(x)); \
6592 		HWIO_INTFREE();\
6593 	} while (0)
6594 
6595 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_BMSK 0x000003ff
6596 #define HWIO_REO_R0_REO_STATUS_RING_PRODUCER_FULL_COUNTER_RING_FULL_COUNTER_SHFT        0x0
6597 
6598 //// Register REO_R0_REO_STATUS_RING_MSI1_BASE_LSB ////
6599 
6600 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_ADDR(x)            (x+0x000005a4)
6601 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_PHYS(x)            (x+0x000005a4)
6602 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_RMSK               0xffffffff
6603 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_SHFT                        0
6604 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_IN(x)              \
6605 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_RMSK)
6606 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_INM(x, mask)       \
6607 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_ADDR(x), mask)
6608 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_OUT(x, val)        \
6609 	out_dword( HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_ADDR(x), val)
6610 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_OUTM(x, mask, val) \
6611 	do {\
6612 		HWIO_INTLOCK(); \
6613 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_IN(x)); \
6614 		HWIO_INTFREE();\
6615 	} while (0)
6616 
6617 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_ADDR_BMSK          0xffffffff
6618 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_LSB_ADDR_SHFT                 0x0
6619 
6620 //// Register REO_R0_REO_STATUS_RING_MSI1_BASE_MSB ////
6621 
6622 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_ADDR(x)            (x+0x000005a8)
6623 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_PHYS(x)            (x+0x000005a8)
6624 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_RMSK               0x000001ff
6625 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_SHFT                        0
6626 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_IN(x)              \
6627 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_RMSK)
6628 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_INM(x, mask)       \
6629 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_ADDR(x), mask)
6630 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_OUT(x, val)        \
6631 	out_dword( HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_ADDR(x), val)
6632 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_OUTM(x, mask, val) \
6633 	do {\
6634 		HWIO_INTLOCK(); \
6635 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_IN(x)); \
6636 		HWIO_INTFREE();\
6637 	} while (0)
6638 
6639 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_MSI1_ENABLE_BMSK   0x00000100
6640 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_MSI1_ENABLE_SHFT          0x8
6641 
6642 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_ADDR_BMSK          0x000000ff
6643 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_BASE_MSB_ADDR_SHFT                 0x0
6644 
6645 //// Register REO_R0_REO_STATUS_RING_MSI1_DATA ////
6646 
6647 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_ADDR(x)                (x+0x000005ac)
6648 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_PHYS(x)                (x+0x000005ac)
6649 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_RMSK                   0xffffffff
6650 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_SHFT                            0
6651 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_IN(x)                  \
6652 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_RMSK)
6653 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_INM(x, mask)           \
6654 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_ADDR(x), mask)
6655 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_OUT(x, val)            \
6656 	out_dword( HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_ADDR(x), val)
6657 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_OUTM(x, mask, val)     \
6658 	do {\
6659 		HWIO_INTLOCK(); \
6660 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_IN(x)); \
6661 		HWIO_INTFREE();\
6662 	} while (0)
6663 
6664 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_VALUE_BMSK             0xffffffff
6665 #define HWIO_REO_R0_REO_STATUS_RING_MSI1_DATA_VALUE_SHFT                    0x0
6666 
6667 //// Register REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET ////
6668 
6669 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_ADDR(x)          (x+0x000005b0)
6670 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_PHYS(x)          (x+0x000005b0)
6671 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_RMSK             0x0000ffff
6672 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_SHFT                      0
6673 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_IN(x)            \
6674 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_ADDR(x), HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_RMSK)
6675 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_INM(x, mask)     \
6676 	in_dword_masked ( HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_ADDR(x), mask)
6677 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_OUT(x, val)      \
6678 	out_dword( HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_ADDR(x), val)
6679 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_OUTM(x, mask, val) \
6680 	do {\
6681 		HWIO_INTLOCK(); \
6682 		out_dword_masked_ns(HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_ADDR(x), mask, val, HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_IN(x)); \
6683 		HWIO_INTFREE();\
6684 	} while (0)
6685 
6686 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_BMSK 0x0000ffff
6687 #define HWIO_REO_R0_REO_STATUS_RING_HP_TP_SW_OFFSET_HP_TP_OFFSET_VALUE_SHFT        0x0
6688 
6689 //// Register REO_R0_WATCHDOG_TIMEOUT ////
6690 
6691 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_ADDR(x)                         (x+0x000005b4)
6692 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_PHYS(x)                         (x+0x000005b4)
6693 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_RMSK                            0x00003fff
6694 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_SHFT                                     0
6695 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_IN(x)                           \
6696 	in_dword_masked ( HWIO_REO_R0_WATCHDOG_TIMEOUT_ADDR(x), HWIO_REO_R0_WATCHDOG_TIMEOUT_RMSK)
6697 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_INM(x, mask)                    \
6698 	in_dword_masked ( HWIO_REO_R0_WATCHDOG_TIMEOUT_ADDR(x), mask)
6699 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_OUT(x, val)                     \
6700 	out_dword( HWIO_REO_R0_WATCHDOG_TIMEOUT_ADDR(x), val)
6701 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_OUTM(x, mask, val)              \
6702 	do {\
6703 		HWIO_INTLOCK(); \
6704 		out_dword_masked_ns(HWIO_REO_R0_WATCHDOG_TIMEOUT_ADDR(x), mask, val, HWIO_REO_R0_WATCHDOG_TIMEOUT_IN(x)); \
6705 		HWIO_INTFREE();\
6706 	} while (0)
6707 
6708 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_RESOLUTION_UNITS_BMSK           0x00003000
6709 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_RESOLUTION_UNITS_SHFT                  0xc
6710 
6711 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_SRNG_TIMEOUT_BMSK               0x00000fff
6712 #define HWIO_REO_R0_WATCHDOG_TIMEOUT_SRNG_TIMEOUT_SHFT                      0x0
6713 
6714 //// Register REO_R0_INTERRUPT_DATA_CAPTURE_IX_0 ////
6715 
6716 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_ADDR(x)              (x+0x000005b8)
6717 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_PHYS(x)              (x+0x000005b8)
6718 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_RMSK                 0xffffffff
6719 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_SHFT                          0
6720 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_IN(x)                \
6721 	in_dword_masked ( HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_ADDR(x), HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_RMSK)
6722 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_INM(x, mask)         \
6723 	in_dword_masked ( HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_ADDR(x), mask)
6724 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_OUT(x, val)          \
6725 	out_dword( HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_ADDR(x), val)
6726 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_OUTM(x, mask, val)   \
6727 	do {\
6728 		HWIO_INTLOCK(); \
6729 		out_dword_masked_ns(HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_ADDR(x), mask, val, HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_IN(x)); \
6730 		HWIO_INTFREE();\
6731 	} while (0)
6732 
6733 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_ERROR_DATA_BMSK      0xffffffff
6734 #define HWIO_REO_R0_INTERRUPT_DATA_CAPTURE_IX_0_ERROR_DATA_SHFT             0x0
6735 
6736 //// Register REO_R0_AGING_THRESHOLD_IX_0 ////
6737 
6738 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_ADDR(x)                     (x+0x000005bc)
6739 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_PHYS(x)                     (x+0x000005bc)
6740 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_RMSK                        0xffffffff
6741 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_SHFT                                 0
6742 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_IN(x)                       \
6743 	in_dword_masked ( HWIO_REO_R0_AGING_THRESHOLD_IX_0_ADDR(x), HWIO_REO_R0_AGING_THRESHOLD_IX_0_RMSK)
6744 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_INM(x, mask)                \
6745 	in_dword_masked ( HWIO_REO_R0_AGING_THRESHOLD_IX_0_ADDR(x), mask)
6746 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_OUT(x, val)                 \
6747 	out_dword( HWIO_REO_R0_AGING_THRESHOLD_IX_0_ADDR(x), val)
6748 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_OUTM(x, mask, val)          \
6749 	do {\
6750 		HWIO_INTLOCK(); \
6751 		out_dword_masked_ns(HWIO_REO_R0_AGING_THRESHOLD_IX_0_ADDR(x), mask, val, HWIO_REO_R0_AGING_THRESHOLD_IX_0_IN(x)); \
6752 		HWIO_INTFREE();\
6753 	} while (0)
6754 
6755 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_AGING_THRESHOLD_AC0_BMSK    0xffffffff
6756 #define HWIO_REO_R0_AGING_THRESHOLD_IX_0_AGING_THRESHOLD_AC0_SHFT           0x0
6757 
6758 //// Register REO_R0_AGING_THRESHOLD_IX_1 ////
6759 
6760 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_ADDR(x)                     (x+0x000005c0)
6761 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_PHYS(x)                     (x+0x000005c0)
6762 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_RMSK                        0xffffffff
6763 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_SHFT                                 0
6764 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_IN(x)                       \
6765 	in_dword_masked ( HWIO_REO_R0_AGING_THRESHOLD_IX_1_ADDR(x), HWIO_REO_R0_AGING_THRESHOLD_IX_1_RMSK)
6766 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_INM(x, mask)                \
6767 	in_dword_masked ( HWIO_REO_R0_AGING_THRESHOLD_IX_1_ADDR(x), mask)
6768 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_OUT(x, val)                 \
6769 	out_dword( HWIO_REO_R0_AGING_THRESHOLD_IX_1_ADDR(x), val)
6770 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_OUTM(x, mask, val)          \
6771 	do {\
6772 		HWIO_INTLOCK(); \
6773 		out_dword_masked_ns(HWIO_REO_R0_AGING_THRESHOLD_IX_1_ADDR(x), mask, val, HWIO_REO_R0_AGING_THRESHOLD_IX_1_IN(x)); \
6774 		HWIO_INTFREE();\
6775 	} while (0)
6776 
6777 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_AGING_THRESHOLD_AC1_BMSK    0xffffffff
6778 #define HWIO_REO_R0_AGING_THRESHOLD_IX_1_AGING_THRESHOLD_AC1_SHFT           0x0
6779 
6780 //// Register REO_R0_AGING_THRESHOLD_IX_2 ////
6781 
6782 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_ADDR(x)                     (x+0x000005c4)
6783 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_PHYS(x)                     (x+0x000005c4)
6784 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_RMSK                        0xffffffff
6785 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_SHFT                                 0
6786 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_IN(x)                       \
6787 	in_dword_masked ( HWIO_REO_R0_AGING_THRESHOLD_IX_2_ADDR(x), HWIO_REO_R0_AGING_THRESHOLD_IX_2_RMSK)
6788 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_INM(x, mask)                \
6789 	in_dword_masked ( HWIO_REO_R0_AGING_THRESHOLD_IX_2_ADDR(x), mask)
6790 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_OUT(x, val)                 \
6791 	out_dword( HWIO_REO_R0_AGING_THRESHOLD_IX_2_ADDR(x), val)
6792 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_OUTM(x, mask, val)          \
6793 	do {\
6794 		HWIO_INTLOCK(); \
6795 		out_dword_masked_ns(HWIO_REO_R0_AGING_THRESHOLD_IX_2_ADDR(x), mask, val, HWIO_REO_R0_AGING_THRESHOLD_IX_2_IN(x)); \
6796 		HWIO_INTFREE();\
6797 	} while (0)
6798 
6799 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_AGING_THRESHOLD_AC2_BMSK    0xffffffff
6800 #define HWIO_REO_R0_AGING_THRESHOLD_IX_2_AGING_THRESHOLD_AC2_SHFT           0x0
6801 
6802 //// Register REO_R0_AGING_THRESHOLD_IX_3 ////
6803 
6804 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_ADDR(x)                     (x+0x000005c8)
6805 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_PHYS(x)                     (x+0x000005c8)
6806 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_RMSK                        0xffffffff
6807 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_SHFT                                 0
6808 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_IN(x)                       \
6809 	in_dword_masked ( HWIO_REO_R0_AGING_THRESHOLD_IX_3_ADDR(x), HWIO_REO_R0_AGING_THRESHOLD_IX_3_RMSK)
6810 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_INM(x, mask)                \
6811 	in_dword_masked ( HWIO_REO_R0_AGING_THRESHOLD_IX_3_ADDR(x), mask)
6812 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_OUT(x, val)                 \
6813 	out_dword( HWIO_REO_R0_AGING_THRESHOLD_IX_3_ADDR(x), val)
6814 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_OUTM(x, mask, val)          \
6815 	do {\
6816 		HWIO_INTLOCK(); \
6817 		out_dword_masked_ns(HWIO_REO_R0_AGING_THRESHOLD_IX_3_ADDR(x), mask, val, HWIO_REO_R0_AGING_THRESHOLD_IX_3_IN(x)); \
6818 		HWIO_INTFREE();\
6819 	} while (0)
6820 
6821 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_AGING_THRESHOLD_AC3_BMSK    0xffffffff
6822 #define HWIO_REO_R0_AGING_THRESHOLD_IX_3_AGING_THRESHOLD_AC3_SHFT           0x0
6823 
6824 //// Register REO_R0_AGING_LINK_HEADPTR_LO_IX_0 ////
6825 
6826 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_ADDR(x)               (x+0x000005cc)
6827 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_PHYS(x)               (x+0x000005cc)
6828 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_RMSK                  0xffffffff
6829 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_SHFT                           0
6830 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_IN(x)                 \
6831 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_ADDR(x), HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_RMSK)
6832 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_INM(x, mask)          \
6833 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_ADDR(x), mask)
6834 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_OUT(x, val)           \
6835 	out_dword( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_ADDR(x), val)
6836 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_OUTM(x, mask, val)    \
6837 	do {\
6838 		HWIO_INTLOCK(); \
6839 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_IN(x)); \
6840 		HWIO_INTFREE();\
6841 	} while (0)
6842 
6843 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_AGING_HEADPTR_LO_BITS_BMSK 0xffffffff
6844 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_0_AGING_HEADPTR_LO_BITS_SHFT        0x0
6845 
6846 //// Register REO_R0_AGING_LINK_HEADPTR_HI_IX_0 ////
6847 
6848 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_ADDR(x)               (x+0x000005d0)
6849 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_PHYS(x)               (x+0x000005d0)
6850 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_RMSK                  0x000000ff
6851 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_SHFT                           0
6852 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_IN(x)                 \
6853 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_ADDR(x), HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_RMSK)
6854 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_INM(x, mask)          \
6855 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_ADDR(x), mask)
6856 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_OUT(x, val)           \
6857 	out_dword( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_ADDR(x), val)
6858 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_OUTM(x, mask, val)    \
6859 	do {\
6860 		HWIO_INTLOCK(); \
6861 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_IN(x)); \
6862 		HWIO_INTFREE();\
6863 	} while (0)
6864 
6865 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_AGING_HEADPTR_HI_BITS_BMSK 0x000000ff
6866 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_0_AGING_HEADPTR_HI_BITS_SHFT        0x0
6867 
6868 //// Register REO_R0_AGING_LINK_TAILPTR_LO_IX_0 ////
6869 
6870 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_ADDR(x)               (x+0x000005d4)
6871 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_PHYS(x)               (x+0x000005d4)
6872 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_RMSK                  0xffffffff
6873 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_SHFT                           0
6874 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_IN(x)                 \
6875 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_ADDR(x), HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_RMSK)
6876 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_INM(x, mask)          \
6877 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_ADDR(x), mask)
6878 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_OUT(x, val)           \
6879 	out_dword( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_ADDR(x), val)
6880 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_OUTM(x, mask, val)    \
6881 	do {\
6882 		HWIO_INTLOCK(); \
6883 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_IN(x)); \
6884 		HWIO_INTFREE();\
6885 	} while (0)
6886 
6887 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_AGING_TAILPTR_LO_BITS_BMSK 0xffffffff
6888 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_0_AGING_TAILPTR_LO_BITS_SHFT        0x0
6889 
6890 //// Register REO_R0_AGING_LINK_TAILPTR_HI_IX_0 ////
6891 
6892 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_ADDR(x)               (x+0x000005d8)
6893 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_PHYS(x)               (x+0x000005d8)
6894 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_RMSK                  0x000000ff
6895 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_SHFT                           0
6896 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_IN(x)                 \
6897 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_ADDR(x), HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_RMSK)
6898 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_INM(x, mask)          \
6899 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_ADDR(x), mask)
6900 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_OUT(x, val)           \
6901 	out_dword( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_ADDR(x), val)
6902 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_OUTM(x, mask, val)    \
6903 	do {\
6904 		HWIO_INTLOCK(); \
6905 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_IN(x)); \
6906 		HWIO_INTFREE();\
6907 	} while (0)
6908 
6909 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_AGING_TAILPTR_HI_BITS_BMSK 0x000000ff
6910 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_0_AGING_TAILPTR_HI_BITS_SHFT        0x0
6911 
6912 //// Register REO_R0_AGING_LINK_HEADPTR_LO_IX_1 ////
6913 
6914 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_ADDR(x)               (x+0x000005dc)
6915 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_PHYS(x)               (x+0x000005dc)
6916 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_RMSK                  0xffffffff
6917 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_SHFT                           0
6918 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_IN(x)                 \
6919 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_ADDR(x), HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_RMSK)
6920 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_INM(x, mask)          \
6921 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_ADDR(x), mask)
6922 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_OUT(x, val)           \
6923 	out_dword( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_ADDR(x), val)
6924 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_OUTM(x, mask, val)    \
6925 	do {\
6926 		HWIO_INTLOCK(); \
6927 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_IN(x)); \
6928 		HWIO_INTFREE();\
6929 	} while (0)
6930 
6931 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_AGING_HEADPTR_LO_BITS_BMSK 0xffffffff
6932 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_1_AGING_HEADPTR_LO_BITS_SHFT        0x0
6933 
6934 //// Register REO_R0_AGING_LINK_HEADPTR_HI_IX_1 ////
6935 
6936 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_ADDR(x)               (x+0x000005e0)
6937 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_PHYS(x)               (x+0x000005e0)
6938 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_RMSK                  0x000000ff
6939 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_SHFT                           0
6940 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_IN(x)                 \
6941 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_ADDR(x), HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_RMSK)
6942 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_INM(x, mask)          \
6943 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_ADDR(x), mask)
6944 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_OUT(x, val)           \
6945 	out_dword( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_ADDR(x), val)
6946 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_OUTM(x, mask, val)    \
6947 	do {\
6948 		HWIO_INTLOCK(); \
6949 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_IN(x)); \
6950 		HWIO_INTFREE();\
6951 	} while (0)
6952 
6953 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_AGING_HEADPTR_HI_BITS_BMSK 0x000000ff
6954 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_1_AGING_HEADPTR_HI_BITS_SHFT        0x0
6955 
6956 //// Register REO_R0_AGING_LINK_TAILPTR_LO_IX_1 ////
6957 
6958 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_ADDR(x)               (x+0x000005e4)
6959 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_PHYS(x)               (x+0x000005e4)
6960 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_RMSK                  0xffffffff
6961 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_SHFT                           0
6962 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_IN(x)                 \
6963 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_ADDR(x), HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_RMSK)
6964 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_INM(x, mask)          \
6965 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_ADDR(x), mask)
6966 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_OUT(x, val)           \
6967 	out_dword( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_ADDR(x), val)
6968 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_OUTM(x, mask, val)    \
6969 	do {\
6970 		HWIO_INTLOCK(); \
6971 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_IN(x)); \
6972 		HWIO_INTFREE();\
6973 	} while (0)
6974 
6975 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_AGING_TAILPTR_LO_BITS_BMSK 0xffffffff
6976 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_1_AGING_TAILPTR_LO_BITS_SHFT        0x0
6977 
6978 //// Register REO_R0_AGING_LINK_TAILPTR_HI_IX_1 ////
6979 
6980 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_ADDR(x)               (x+0x000005e8)
6981 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_PHYS(x)               (x+0x000005e8)
6982 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_RMSK                  0x000000ff
6983 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_SHFT                           0
6984 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_IN(x)                 \
6985 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_ADDR(x), HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_RMSK)
6986 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_INM(x, mask)          \
6987 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_ADDR(x), mask)
6988 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_OUT(x, val)           \
6989 	out_dword( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_ADDR(x), val)
6990 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_OUTM(x, mask, val)    \
6991 	do {\
6992 		HWIO_INTLOCK(); \
6993 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_IN(x)); \
6994 		HWIO_INTFREE();\
6995 	} while (0)
6996 
6997 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_AGING_TAILPTR_HI_BITS_BMSK 0x000000ff
6998 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_1_AGING_TAILPTR_HI_BITS_SHFT        0x0
6999 
7000 //// Register REO_R0_AGING_LINK_HEADPTR_LO_IX_2 ////
7001 
7002 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_ADDR(x)               (x+0x000005ec)
7003 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_PHYS(x)               (x+0x000005ec)
7004 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_RMSK                  0xffffffff
7005 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_SHFT                           0
7006 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_IN(x)                 \
7007 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_ADDR(x), HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_RMSK)
7008 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_INM(x, mask)          \
7009 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_ADDR(x), mask)
7010 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_OUT(x, val)           \
7011 	out_dword( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_ADDR(x), val)
7012 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_OUTM(x, mask, val)    \
7013 	do {\
7014 		HWIO_INTLOCK(); \
7015 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_IN(x)); \
7016 		HWIO_INTFREE();\
7017 	} while (0)
7018 
7019 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_AGING_HEADPTR_LO_BITS_BMSK 0xffffffff
7020 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_2_AGING_HEADPTR_LO_BITS_SHFT        0x0
7021 
7022 //// Register REO_R0_AGING_LINK_HEADPTR_HI_IX_2 ////
7023 
7024 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_ADDR(x)               (x+0x000005f0)
7025 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_PHYS(x)               (x+0x000005f0)
7026 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_RMSK                  0x000000ff
7027 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_SHFT                           0
7028 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_IN(x)                 \
7029 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_ADDR(x), HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_RMSK)
7030 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_INM(x, mask)          \
7031 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_ADDR(x), mask)
7032 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_OUT(x, val)           \
7033 	out_dword( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_ADDR(x), val)
7034 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_OUTM(x, mask, val)    \
7035 	do {\
7036 		HWIO_INTLOCK(); \
7037 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_IN(x)); \
7038 		HWIO_INTFREE();\
7039 	} while (0)
7040 
7041 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_AGING_HEADPTR_HI_BITS_BMSK 0x000000ff
7042 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_2_AGING_HEADPTR_HI_BITS_SHFT        0x0
7043 
7044 //// Register REO_R0_AGING_LINK_TAILPTR_LO_IX_2 ////
7045 
7046 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_ADDR(x)               (x+0x000005f4)
7047 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_PHYS(x)               (x+0x000005f4)
7048 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_RMSK                  0xffffffff
7049 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_SHFT                           0
7050 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_IN(x)                 \
7051 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_ADDR(x), HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_RMSK)
7052 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_INM(x, mask)          \
7053 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_ADDR(x), mask)
7054 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_OUT(x, val)           \
7055 	out_dword( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_ADDR(x), val)
7056 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_OUTM(x, mask, val)    \
7057 	do {\
7058 		HWIO_INTLOCK(); \
7059 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_IN(x)); \
7060 		HWIO_INTFREE();\
7061 	} while (0)
7062 
7063 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_AGING_TAILPTR_LO_BITS_BMSK 0xffffffff
7064 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_2_AGING_TAILPTR_LO_BITS_SHFT        0x0
7065 
7066 //// Register REO_R0_AGING_LINK_TAILPTR_HI_IX_2 ////
7067 
7068 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_ADDR(x)               (x+0x000005f8)
7069 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_PHYS(x)               (x+0x000005f8)
7070 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_RMSK                  0x000000ff
7071 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_SHFT                           0
7072 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_IN(x)                 \
7073 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_ADDR(x), HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_RMSK)
7074 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_INM(x, mask)          \
7075 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_ADDR(x), mask)
7076 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_OUT(x, val)           \
7077 	out_dword( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_ADDR(x), val)
7078 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_OUTM(x, mask, val)    \
7079 	do {\
7080 		HWIO_INTLOCK(); \
7081 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_IN(x)); \
7082 		HWIO_INTFREE();\
7083 	} while (0)
7084 
7085 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_AGING_TAILPTR_HI_BITS_BMSK 0x000000ff
7086 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_2_AGING_TAILPTR_HI_BITS_SHFT        0x0
7087 
7088 //// Register REO_R0_AGING_LINK_HEADPTR_LO_IX_3 ////
7089 
7090 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_ADDR(x)               (x+0x000005fc)
7091 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_PHYS(x)               (x+0x000005fc)
7092 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_RMSK                  0xffffffff
7093 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_SHFT                           0
7094 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_IN(x)                 \
7095 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_ADDR(x), HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_RMSK)
7096 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_INM(x, mask)          \
7097 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_ADDR(x), mask)
7098 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_OUT(x, val)           \
7099 	out_dword( HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_ADDR(x), val)
7100 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_OUTM(x, mask, val)    \
7101 	do {\
7102 		HWIO_INTLOCK(); \
7103 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_IN(x)); \
7104 		HWIO_INTFREE();\
7105 	} while (0)
7106 
7107 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_AGING_HEADPTR_LO_BITS_BMSK 0xffffffff
7108 #define HWIO_REO_R0_AGING_LINK_HEADPTR_LO_IX_3_AGING_HEADPTR_LO_BITS_SHFT        0x0
7109 
7110 //// Register REO_R0_AGING_LINK_HEADPTR_HI_IX_3 ////
7111 
7112 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_ADDR(x)               (x+0x00000600)
7113 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_PHYS(x)               (x+0x00000600)
7114 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_RMSK                  0x000000ff
7115 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_SHFT                           0
7116 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_IN(x)                 \
7117 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_ADDR(x), HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_RMSK)
7118 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_INM(x, mask)          \
7119 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_ADDR(x), mask)
7120 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_OUT(x, val)           \
7121 	out_dword( HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_ADDR(x), val)
7122 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_OUTM(x, mask, val)    \
7123 	do {\
7124 		HWIO_INTLOCK(); \
7125 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_IN(x)); \
7126 		HWIO_INTFREE();\
7127 	} while (0)
7128 
7129 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_AGING_HEADPTR_HI_BITS_BMSK 0x000000ff
7130 #define HWIO_REO_R0_AGING_LINK_HEADPTR_HI_IX_3_AGING_HEADPTR_HI_BITS_SHFT        0x0
7131 
7132 //// Register REO_R0_AGING_LINK_TAILPTR_LO_IX_3 ////
7133 
7134 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_ADDR(x)               (x+0x00000604)
7135 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_PHYS(x)               (x+0x00000604)
7136 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_RMSK                  0xffffffff
7137 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_SHFT                           0
7138 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_IN(x)                 \
7139 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_ADDR(x), HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_RMSK)
7140 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_INM(x, mask)          \
7141 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_ADDR(x), mask)
7142 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_OUT(x, val)           \
7143 	out_dword( HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_ADDR(x), val)
7144 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_OUTM(x, mask, val)    \
7145 	do {\
7146 		HWIO_INTLOCK(); \
7147 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_IN(x)); \
7148 		HWIO_INTFREE();\
7149 	} while (0)
7150 
7151 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_AGING_TAILPTR_LO_BITS_BMSK 0xffffffff
7152 #define HWIO_REO_R0_AGING_LINK_TAILPTR_LO_IX_3_AGING_TAILPTR_LO_BITS_SHFT        0x0
7153 
7154 //// Register REO_R0_AGING_LINK_TAILPTR_HI_IX_3 ////
7155 
7156 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_ADDR(x)               (x+0x00000608)
7157 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_PHYS(x)               (x+0x00000608)
7158 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_RMSK                  0x000000ff
7159 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_SHFT                           0
7160 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_IN(x)                 \
7161 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_ADDR(x), HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_RMSK)
7162 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_INM(x, mask)          \
7163 	in_dword_masked ( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_ADDR(x), mask)
7164 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_OUT(x, val)           \
7165 	out_dword( HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_ADDR(x), val)
7166 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_OUTM(x, mask, val)    \
7167 	do {\
7168 		HWIO_INTLOCK(); \
7169 		out_dword_masked_ns(HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_ADDR(x), mask, val, HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_IN(x)); \
7170 		HWIO_INTFREE();\
7171 	} while (0)
7172 
7173 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_AGING_TAILPTR_HI_BITS_BMSK 0x000000ff
7174 #define HWIO_REO_R0_AGING_LINK_TAILPTR_HI_IX_3_AGING_TAILPTR_HI_BITS_SHFT        0x0
7175 
7176 //// Register REO_R0_AGING_NUM_QUEUES_IX_0 ////
7177 
7178 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_ADDR(x)                    (x+0x0000060c)
7179 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_PHYS(x)                    (x+0x0000060c)
7180 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_RMSK                       0x0000ffff
7181 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_SHFT                                0
7182 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_IN(x)                      \
7183 	in_dword_masked ( HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_ADDR(x), HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_RMSK)
7184 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_INM(x, mask)               \
7185 	in_dword_masked ( HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_ADDR(x), mask)
7186 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_OUT(x, val)                \
7187 	out_dword( HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_ADDR(x), val)
7188 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_OUTM(x, mask, val)         \
7189 	do {\
7190 		HWIO_INTLOCK(); \
7191 		out_dword_masked_ns(HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_ADDR(x), mask, val, HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_IN(x)); \
7192 		HWIO_INTFREE();\
7193 	} while (0)
7194 
7195 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_AGING_NUM_QUEUES_AC0_BMSK  0x0000ffff
7196 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_0_AGING_NUM_QUEUES_AC0_SHFT         0x0
7197 
7198 //// Register REO_R0_AGING_NUM_QUEUES_IX_1 ////
7199 
7200 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_ADDR(x)                    (x+0x00000610)
7201 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_PHYS(x)                    (x+0x00000610)
7202 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_RMSK                       0x0000ffff
7203 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_SHFT                                0
7204 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_IN(x)                      \
7205 	in_dword_masked ( HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_ADDR(x), HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_RMSK)
7206 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_INM(x, mask)               \
7207 	in_dword_masked ( HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_ADDR(x), mask)
7208 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_OUT(x, val)                \
7209 	out_dword( HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_ADDR(x), val)
7210 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_OUTM(x, mask, val)         \
7211 	do {\
7212 		HWIO_INTLOCK(); \
7213 		out_dword_masked_ns(HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_ADDR(x), mask, val, HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_IN(x)); \
7214 		HWIO_INTFREE();\
7215 	} while (0)
7216 
7217 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_AGING_NUM_QUEUES_AC1_BMSK  0x0000ffff
7218 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_1_AGING_NUM_QUEUES_AC1_SHFT         0x0
7219 
7220 //// Register REO_R0_AGING_NUM_QUEUES_IX_2 ////
7221 
7222 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_ADDR(x)                    (x+0x00000614)
7223 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_PHYS(x)                    (x+0x00000614)
7224 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_RMSK                       0x0000ffff
7225 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_SHFT                                0
7226 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_IN(x)                      \
7227 	in_dword_masked ( HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_ADDR(x), HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_RMSK)
7228 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_INM(x, mask)               \
7229 	in_dword_masked ( HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_ADDR(x), mask)
7230 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_OUT(x, val)                \
7231 	out_dword( HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_ADDR(x), val)
7232 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_OUTM(x, mask, val)         \
7233 	do {\
7234 		HWIO_INTLOCK(); \
7235 		out_dword_masked_ns(HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_ADDR(x), mask, val, HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_IN(x)); \
7236 		HWIO_INTFREE();\
7237 	} while (0)
7238 
7239 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_AGING_NUM_QUEUES_AC2_BMSK  0x0000ffff
7240 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_2_AGING_NUM_QUEUES_AC2_SHFT         0x0
7241 
7242 //// Register REO_R0_AGING_NUM_QUEUES_IX_3 ////
7243 
7244 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_ADDR(x)                    (x+0x00000618)
7245 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_PHYS(x)                    (x+0x00000618)
7246 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_RMSK                       0x0000ffff
7247 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_SHFT                                0
7248 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_IN(x)                      \
7249 	in_dword_masked ( HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_ADDR(x), HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_RMSK)
7250 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_INM(x, mask)               \
7251 	in_dword_masked ( HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_ADDR(x), mask)
7252 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_OUT(x, val)                \
7253 	out_dword( HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_ADDR(x), val)
7254 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_OUTM(x, mask, val)         \
7255 	do {\
7256 		HWIO_INTLOCK(); \
7257 		out_dword_masked_ns(HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_ADDR(x), mask, val, HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_IN(x)); \
7258 		HWIO_INTFREE();\
7259 	} while (0)
7260 
7261 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_AGING_NUM_QUEUES_AC3_BMSK  0x0000ffff
7262 #define HWIO_REO_R0_AGING_NUM_QUEUES_IX_3_AGING_NUM_QUEUES_AC3_SHFT         0x0
7263 
7264 //// Register REO_R0_AGING_TIMESTAMP_IX_0 ////
7265 
7266 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_ADDR(x)                     (x+0x0000061c)
7267 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_PHYS(x)                     (x+0x0000061c)
7268 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_RMSK                        0xffffffff
7269 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_SHFT                                 0
7270 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_IN(x)                       \
7271 	in_dword_masked ( HWIO_REO_R0_AGING_TIMESTAMP_IX_0_ADDR(x), HWIO_REO_R0_AGING_TIMESTAMP_IX_0_RMSK)
7272 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_INM(x, mask)                \
7273 	in_dword_masked ( HWIO_REO_R0_AGING_TIMESTAMP_IX_0_ADDR(x), mask)
7274 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_OUT(x, val)                 \
7275 	out_dword( HWIO_REO_R0_AGING_TIMESTAMP_IX_0_ADDR(x), val)
7276 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_OUTM(x, mask, val)          \
7277 	do {\
7278 		HWIO_INTLOCK(); \
7279 		out_dword_masked_ns(HWIO_REO_R0_AGING_TIMESTAMP_IX_0_ADDR(x), mask, val, HWIO_REO_R0_AGING_TIMESTAMP_IX_0_IN(x)); \
7280 		HWIO_INTFREE();\
7281 	} while (0)
7282 
7283 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_AGING_TIMESTAMP_AC0_BMSK    0xffffffff
7284 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_0_AGING_TIMESTAMP_AC0_SHFT           0x0
7285 
7286 //// Register REO_R0_AGING_TIMESTAMP_IX_1 ////
7287 
7288 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_ADDR(x)                     (x+0x00000620)
7289 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_PHYS(x)                     (x+0x00000620)
7290 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_RMSK                        0xffffffff
7291 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_SHFT                                 0
7292 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_IN(x)                       \
7293 	in_dword_masked ( HWIO_REO_R0_AGING_TIMESTAMP_IX_1_ADDR(x), HWIO_REO_R0_AGING_TIMESTAMP_IX_1_RMSK)
7294 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_INM(x, mask)                \
7295 	in_dword_masked ( HWIO_REO_R0_AGING_TIMESTAMP_IX_1_ADDR(x), mask)
7296 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_OUT(x, val)                 \
7297 	out_dword( HWIO_REO_R0_AGING_TIMESTAMP_IX_1_ADDR(x), val)
7298 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_OUTM(x, mask, val)          \
7299 	do {\
7300 		HWIO_INTLOCK(); \
7301 		out_dword_masked_ns(HWIO_REO_R0_AGING_TIMESTAMP_IX_1_ADDR(x), mask, val, HWIO_REO_R0_AGING_TIMESTAMP_IX_1_IN(x)); \
7302 		HWIO_INTFREE();\
7303 	} while (0)
7304 
7305 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_AGING_TIMESTAMP_AC1_BMSK    0xffffffff
7306 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_1_AGING_TIMESTAMP_AC1_SHFT           0x0
7307 
7308 //// Register REO_R0_AGING_TIMESTAMP_IX_2 ////
7309 
7310 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_ADDR(x)                     (x+0x00000624)
7311 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_PHYS(x)                     (x+0x00000624)
7312 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_RMSK                        0xffffffff
7313 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_SHFT                                 0
7314 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_IN(x)                       \
7315 	in_dword_masked ( HWIO_REO_R0_AGING_TIMESTAMP_IX_2_ADDR(x), HWIO_REO_R0_AGING_TIMESTAMP_IX_2_RMSK)
7316 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_INM(x, mask)                \
7317 	in_dword_masked ( HWIO_REO_R0_AGING_TIMESTAMP_IX_2_ADDR(x), mask)
7318 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_OUT(x, val)                 \
7319 	out_dword( HWIO_REO_R0_AGING_TIMESTAMP_IX_2_ADDR(x), val)
7320 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_OUTM(x, mask, val)          \
7321 	do {\
7322 		HWIO_INTLOCK(); \
7323 		out_dword_masked_ns(HWIO_REO_R0_AGING_TIMESTAMP_IX_2_ADDR(x), mask, val, HWIO_REO_R0_AGING_TIMESTAMP_IX_2_IN(x)); \
7324 		HWIO_INTFREE();\
7325 	} while (0)
7326 
7327 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_AGING_TIMESTAMP_AC2_BMSK    0xffffffff
7328 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_2_AGING_TIMESTAMP_AC2_SHFT           0x0
7329 
7330 //// Register REO_R0_AGING_TIMESTAMP_IX_3 ////
7331 
7332 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_ADDR(x)                     (x+0x00000628)
7333 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_PHYS(x)                     (x+0x00000628)
7334 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_RMSK                        0xffffffff
7335 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_SHFT                                 0
7336 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_IN(x)                       \
7337 	in_dword_masked ( HWIO_REO_R0_AGING_TIMESTAMP_IX_3_ADDR(x), HWIO_REO_R0_AGING_TIMESTAMP_IX_3_RMSK)
7338 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_INM(x, mask)                \
7339 	in_dword_masked ( HWIO_REO_R0_AGING_TIMESTAMP_IX_3_ADDR(x), mask)
7340 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_OUT(x, val)                 \
7341 	out_dword( HWIO_REO_R0_AGING_TIMESTAMP_IX_3_ADDR(x), val)
7342 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_OUTM(x, mask, val)          \
7343 	do {\
7344 		HWIO_INTLOCK(); \
7345 		out_dword_masked_ns(HWIO_REO_R0_AGING_TIMESTAMP_IX_3_ADDR(x), mask, val, HWIO_REO_R0_AGING_TIMESTAMP_IX_3_IN(x)); \
7346 		HWIO_INTFREE();\
7347 	} while (0)
7348 
7349 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_AGING_TIMESTAMP_AC3_BMSK    0xffffffff
7350 #define HWIO_REO_R0_AGING_TIMESTAMP_IX_3_AGING_TIMESTAMP_AC3_SHFT           0x0
7351 
7352 //// Register REO_R0_AGING_CONTROL ////
7353 
7354 #define HWIO_REO_R0_AGING_CONTROL_ADDR(x)                            (x+0x0000062c)
7355 #define HWIO_REO_R0_AGING_CONTROL_PHYS(x)                            (x+0x0000062c)
7356 #define HWIO_REO_R0_AGING_CONTROL_RMSK                               0x0000001f
7357 #define HWIO_REO_R0_AGING_CONTROL_SHFT                                        0
7358 #define HWIO_REO_R0_AGING_CONTROL_IN(x)                              \
7359 	in_dword_masked ( HWIO_REO_R0_AGING_CONTROL_ADDR(x), HWIO_REO_R0_AGING_CONTROL_RMSK)
7360 #define HWIO_REO_R0_AGING_CONTROL_INM(x, mask)                       \
7361 	in_dword_masked ( HWIO_REO_R0_AGING_CONTROL_ADDR(x), mask)
7362 #define HWIO_REO_R0_AGING_CONTROL_OUT(x, val)                        \
7363 	out_dword( HWIO_REO_R0_AGING_CONTROL_ADDR(x), val)
7364 #define HWIO_REO_R0_AGING_CONTROL_OUTM(x, mask, val)                 \
7365 	do {\
7366 		HWIO_INTLOCK(); \
7367 		out_dword_masked_ns(HWIO_REO_R0_AGING_CONTROL_ADDR(x), mask, val, HWIO_REO_R0_AGING_CONTROL_IN(x)); \
7368 		HWIO_INTFREE();\
7369 	} while (0)
7370 
7371 #define HWIO_REO_R0_AGING_CONTROL_PERMPDU_UPDATE_THRESHOLD_BMSK      0x0000001f
7372 #define HWIO_REO_R0_AGING_CONTROL_PERMPDU_UPDATE_THRESHOLD_SHFT             0x0
7373 
7374 //// Register REO_R0_MISC_CTL ////
7375 
7376 #define HWIO_REO_R0_MISC_CTL_ADDR(x)                                 (x+0x00000630)
7377 #define HWIO_REO_R0_MISC_CTL_PHYS(x)                                 (x+0x00000630)
7378 #define HWIO_REO_R0_MISC_CTL_RMSK                                    0x001fffff
7379 #define HWIO_REO_R0_MISC_CTL_SHFT                                             0
7380 #define HWIO_REO_R0_MISC_CTL_IN(x)                                   \
7381 	in_dword_masked ( HWIO_REO_R0_MISC_CTL_ADDR(x), HWIO_REO_R0_MISC_CTL_RMSK)
7382 #define HWIO_REO_R0_MISC_CTL_INM(x, mask)                            \
7383 	in_dword_masked ( HWIO_REO_R0_MISC_CTL_ADDR(x), mask)
7384 #define HWIO_REO_R0_MISC_CTL_OUT(x, val)                             \
7385 	out_dword( HWIO_REO_R0_MISC_CTL_ADDR(x), val)
7386 #define HWIO_REO_R0_MISC_CTL_OUTM(x, mask, val)                      \
7387 	do {\
7388 		HWIO_INTLOCK(); \
7389 		out_dword_masked_ns(HWIO_REO_R0_MISC_CTL_ADDR(x), mask, val, HWIO_REO_R0_MISC_CTL_IN(x)); \
7390 		HWIO_INTFREE();\
7391 	} while (0)
7392 
7393 #define HWIO_REO_R0_MISC_CTL_FRAGMENT_DEST_RING_BMSK                 0x001e0000
7394 #define HWIO_REO_R0_MISC_CTL_FRAGMENT_DEST_RING_SHFT                       0x11
7395 
7396 #define HWIO_REO_R0_MISC_CTL_CACHE_FLUSH_Q_DESC_ONLY_BMSK            0x00010000
7397 #define HWIO_REO_R0_MISC_CTL_CACHE_FLUSH_Q_DESC_ONLY_SHFT                  0x10
7398 
7399 #define HWIO_REO_R0_MISC_CTL_SPARE_CONTROL_BMSK                      0x0000ffff
7400 #define HWIO_REO_R0_MISC_CTL_SPARE_CONTROL_SHFT                             0x0
7401 
7402 //// Register REO_R0_HIGH_MEMORY_THRESHOLD ////
7403 
7404 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_ADDR(x)                    (x+0x00000634)
7405 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_PHYS(x)                    (x+0x00000634)
7406 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_RMSK                       0xffffffff
7407 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_SHFT                                0
7408 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_IN(x)                      \
7409 	in_dword_masked ( HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_ADDR(x), HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_RMSK)
7410 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_INM(x, mask)               \
7411 	in_dword_masked ( HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_ADDR(x), mask)
7412 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_OUT(x, val)                \
7413 	out_dword( HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_ADDR(x), val)
7414 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_OUTM(x, mask, val)         \
7415 	do {\
7416 		HWIO_INTLOCK(); \
7417 		out_dword_masked_ns(HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_ADDR(x), mask, val, HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_IN(x)); \
7418 		HWIO_INTFREE();\
7419 	} while (0)
7420 
7421 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_HIGH_MEMORY_THRESHOLD_BMSK 0xffffffff
7422 #define HWIO_REO_R0_HIGH_MEMORY_THRESHOLD_HIGH_MEMORY_THRESHOLD_SHFT        0x0
7423 
7424 //// Register REO_R0_AC_BUFFERS_USED_IX_0 ////
7425 
7426 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_ADDR(x)                     (x+0x00000638)
7427 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_PHYS(x)                     (x+0x00000638)
7428 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_RMSK                        0xffffffff
7429 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_SHFT                                 0
7430 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_IN(x)                       \
7431 	in_dword_masked ( HWIO_REO_R0_AC_BUFFERS_USED_IX_0_ADDR(x), HWIO_REO_R0_AC_BUFFERS_USED_IX_0_RMSK)
7432 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_INM(x, mask)                \
7433 	in_dword_masked ( HWIO_REO_R0_AC_BUFFERS_USED_IX_0_ADDR(x), mask)
7434 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_OUT(x, val)                 \
7435 	out_dword( HWIO_REO_R0_AC_BUFFERS_USED_IX_0_ADDR(x), val)
7436 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_OUTM(x, mask, val)          \
7437 	do {\
7438 		HWIO_INTLOCK(); \
7439 		out_dword_masked_ns(HWIO_REO_R0_AC_BUFFERS_USED_IX_0_ADDR(x), mask, val, HWIO_REO_R0_AC_BUFFERS_USED_IX_0_IN(x)); \
7440 		HWIO_INTFREE();\
7441 	} while (0)
7442 
7443 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_BUFFERS_USED_BMSK           0xffffffff
7444 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_0_BUFFERS_USED_SHFT                  0x0
7445 
7446 //// Register REO_R0_AC_BUFFERS_USED_IX_1 ////
7447 
7448 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_ADDR(x)                     (x+0x0000063c)
7449 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_PHYS(x)                     (x+0x0000063c)
7450 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_RMSK                        0xffffffff
7451 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_SHFT                                 0
7452 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_IN(x)                       \
7453 	in_dword_masked ( HWIO_REO_R0_AC_BUFFERS_USED_IX_1_ADDR(x), HWIO_REO_R0_AC_BUFFERS_USED_IX_1_RMSK)
7454 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_INM(x, mask)                \
7455 	in_dword_masked ( HWIO_REO_R0_AC_BUFFERS_USED_IX_1_ADDR(x), mask)
7456 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_OUT(x, val)                 \
7457 	out_dword( HWIO_REO_R0_AC_BUFFERS_USED_IX_1_ADDR(x), val)
7458 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_OUTM(x, mask, val)          \
7459 	do {\
7460 		HWIO_INTLOCK(); \
7461 		out_dword_masked_ns(HWIO_REO_R0_AC_BUFFERS_USED_IX_1_ADDR(x), mask, val, HWIO_REO_R0_AC_BUFFERS_USED_IX_1_IN(x)); \
7462 		HWIO_INTFREE();\
7463 	} while (0)
7464 
7465 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_BUFFERS_USED_BMSK           0xffffffff
7466 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_1_BUFFERS_USED_SHFT                  0x0
7467 
7468 //// Register REO_R0_AC_BUFFERS_USED_IX_2 ////
7469 
7470 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_ADDR(x)                     (x+0x00000640)
7471 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_PHYS(x)                     (x+0x00000640)
7472 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_RMSK                        0xffffffff
7473 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_SHFT                                 0
7474 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_IN(x)                       \
7475 	in_dword_masked ( HWIO_REO_R0_AC_BUFFERS_USED_IX_2_ADDR(x), HWIO_REO_R0_AC_BUFFERS_USED_IX_2_RMSK)
7476 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_INM(x, mask)                \
7477 	in_dword_masked ( HWIO_REO_R0_AC_BUFFERS_USED_IX_2_ADDR(x), mask)
7478 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_OUT(x, val)                 \
7479 	out_dword( HWIO_REO_R0_AC_BUFFERS_USED_IX_2_ADDR(x), val)
7480 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_OUTM(x, mask, val)          \
7481 	do {\
7482 		HWIO_INTLOCK(); \
7483 		out_dword_masked_ns(HWIO_REO_R0_AC_BUFFERS_USED_IX_2_ADDR(x), mask, val, HWIO_REO_R0_AC_BUFFERS_USED_IX_2_IN(x)); \
7484 		HWIO_INTFREE();\
7485 	} while (0)
7486 
7487 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_BUFFERS_USED_BMSK           0xffffffff
7488 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_2_BUFFERS_USED_SHFT                  0x0
7489 
7490 //// Register REO_R0_AC_BUFFERS_USED_IX_3 ////
7491 
7492 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_ADDR(x)                     (x+0x00000644)
7493 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_PHYS(x)                     (x+0x00000644)
7494 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_RMSK                        0xffffffff
7495 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_SHFT                                 0
7496 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_IN(x)                       \
7497 	in_dword_masked ( HWIO_REO_R0_AC_BUFFERS_USED_IX_3_ADDR(x), HWIO_REO_R0_AC_BUFFERS_USED_IX_3_RMSK)
7498 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_INM(x, mask)                \
7499 	in_dword_masked ( HWIO_REO_R0_AC_BUFFERS_USED_IX_3_ADDR(x), mask)
7500 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_OUT(x, val)                 \
7501 	out_dword( HWIO_REO_R0_AC_BUFFERS_USED_IX_3_ADDR(x), val)
7502 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_OUTM(x, mask, val)          \
7503 	do {\
7504 		HWIO_INTLOCK(); \
7505 		out_dword_masked_ns(HWIO_REO_R0_AC_BUFFERS_USED_IX_3_ADDR(x), mask, val, HWIO_REO_R0_AC_BUFFERS_USED_IX_3_IN(x)); \
7506 		HWIO_INTFREE();\
7507 	} while (0)
7508 
7509 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_BUFFERS_USED_BMSK           0xffffffff
7510 #define HWIO_REO_R0_AC_BUFFERS_USED_IX_3_BUFFERS_USED_SHFT                  0x0
7511 
7512 //// Register REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0 ////
7513 
7514 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_ADDR(x)       (x+0x00000648)
7515 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_PHYS(x)       (x+0x00000648)
7516 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_RMSK          0x00ffffff
7517 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_SHFT                   0
7518 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_IN(x)         \
7519 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_ADDR(x), HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_RMSK)
7520 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_INM(x, mask)  \
7521 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_ADDR(x), mask)
7522 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_OUT(x, val)   \
7523 	out_dword( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_ADDR(x), val)
7524 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_OUTM(x, mask, val) \
7525 	do {\
7526 		HWIO_INTLOCK(); \
7527 		out_dword_masked_ns(HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_ADDR(x), mask, val, HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_IN(x)); \
7528 		HWIO_INTFREE();\
7529 	} while (0)
7530 
7531 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_THRESHOLD_BMSK 0x00ffffff
7532 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_0_THRESHOLD_SHFT        0x0
7533 
7534 //// Register REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1 ////
7535 
7536 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_ADDR(x)       (x+0x0000064c)
7537 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_PHYS(x)       (x+0x0000064c)
7538 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_RMSK          0x00ffffff
7539 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_SHFT                   0
7540 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_IN(x)         \
7541 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_ADDR(x), HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_RMSK)
7542 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_INM(x, mask)  \
7543 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_ADDR(x), mask)
7544 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_OUT(x, val)   \
7545 	out_dword( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_ADDR(x), val)
7546 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_OUTM(x, mask, val) \
7547 	do {\
7548 		HWIO_INTLOCK(); \
7549 		out_dword_masked_ns(HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_ADDR(x), mask, val, HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_IN(x)); \
7550 		HWIO_INTFREE();\
7551 	} while (0)
7552 
7553 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_THRESHOLD_BMSK 0x00ffffff
7554 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_1_THRESHOLD_SHFT        0x0
7555 
7556 //// Register REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2 ////
7557 
7558 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_ADDR(x)       (x+0x00000650)
7559 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_PHYS(x)       (x+0x00000650)
7560 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_RMSK          0x00ffffff
7561 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_SHFT                   0
7562 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_IN(x)         \
7563 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_ADDR(x), HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_RMSK)
7564 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_INM(x, mask)  \
7565 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_ADDR(x), mask)
7566 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_OUT(x, val)   \
7567 	out_dword( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_ADDR(x), val)
7568 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_OUTM(x, mask, val) \
7569 	do {\
7570 		HWIO_INTLOCK(); \
7571 		out_dword_masked_ns(HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_ADDR(x), mask, val, HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_IN(x)); \
7572 		HWIO_INTFREE();\
7573 	} while (0)
7574 
7575 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_THRESHOLD_BMSK 0x00ffffff
7576 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_IX_2_THRESHOLD_SHFT        0x0
7577 
7578 //// Register REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL ////
7579 
7580 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_ADDR(x)      (x+0x00000654)
7581 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_PHYS(x)      (x+0x00000654)
7582 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_RMSK         0x03ffffff
7583 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_SHFT                  0
7584 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_IN(x)        \
7585 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_ADDR(x), HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_RMSK)
7586 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_INM(x, mask) \
7587 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_ADDR(x), mask)
7588 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_OUT(x, val)  \
7589 	out_dword( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_ADDR(x), val)
7590 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_OUTM(x, mask, val) \
7591 	do {\
7592 		HWIO_INTLOCK(); \
7593 		out_dword_masked_ns(HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_ADDR(x), mask, val, HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_IN(x)); \
7594 		HWIO_INTFREE();\
7595 	} while (0)
7596 
7597 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_THRESHOLD_BMSK 0x03ffffff
7598 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_THRESH_TOTAL_THRESHOLD_SHFT        0x0
7599 
7600 //// Register REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0 ////
7601 
7602 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_ADDR(x)              (x+0x00000658)
7603 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_PHYS(x)              (x+0x00000658)
7604 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_RMSK                 0x00ffffff
7605 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_SHFT                          0
7606 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_IN(x)                \
7607 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_ADDR(x), HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_RMSK)
7608 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_INM(x, mask)         \
7609 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_ADDR(x), mask)
7610 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_OUT(x, val)          \
7611 	out_dword( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_ADDR(x), val)
7612 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_OUTM(x, mask, val)   \
7613 	do {\
7614 		HWIO_INTLOCK(); \
7615 		out_dword_masked_ns(HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_ADDR(x), mask, val, HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_IN(x)); \
7616 		HWIO_INTFREE();\
7617 	} while (0)
7618 
7619 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_COUNT_BMSK           0x00ffffff
7620 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_0_COUNT_SHFT                  0x0
7621 
7622 //// Register REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1 ////
7623 
7624 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_ADDR(x)              (x+0x0000065c)
7625 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_PHYS(x)              (x+0x0000065c)
7626 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_RMSK                 0x00ffffff
7627 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_SHFT                          0
7628 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_IN(x)                \
7629 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_ADDR(x), HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_RMSK)
7630 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_INM(x, mask)         \
7631 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_ADDR(x), mask)
7632 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_OUT(x, val)          \
7633 	out_dword( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_ADDR(x), val)
7634 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_OUTM(x, mask, val)   \
7635 	do {\
7636 		HWIO_INTLOCK(); \
7637 		out_dword_masked_ns(HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_ADDR(x), mask, val, HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_IN(x)); \
7638 		HWIO_INTFREE();\
7639 	} while (0)
7640 
7641 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_COUNT_BMSK           0x00ffffff
7642 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_1_COUNT_SHFT                  0x0
7643 
7644 //// Register REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2 ////
7645 
7646 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_ADDR(x)              (x+0x00000660)
7647 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_PHYS(x)              (x+0x00000660)
7648 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_RMSK                 0x00ffffff
7649 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_SHFT                          0
7650 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_IN(x)                \
7651 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_ADDR(x), HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_RMSK)
7652 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_INM(x, mask)         \
7653 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_ADDR(x), mask)
7654 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_OUT(x, val)          \
7655 	out_dword( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_ADDR(x), val)
7656 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_OUTM(x, mask, val)   \
7657 	do {\
7658 		HWIO_INTLOCK(); \
7659 		out_dword_masked_ns(HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_ADDR(x), mask, val, HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_IN(x)); \
7660 		HWIO_INTFREE();\
7661 	} while (0)
7662 
7663 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_COUNT_BMSK           0x00ffffff
7664 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_IX_2_COUNT_SHFT                  0x0
7665 
7666 //// Register REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL ////
7667 
7668 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_ADDR(x)              (x+0x00000664)
7669 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_PHYS(x)              (x+0x00000664)
7670 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_RMSK                 0x00000001
7671 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_SHFT                          0
7672 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_IN(x)                \
7673 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_ADDR(x), HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_RMSK)
7674 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_INM(x, mask)         \
7675 	in_dword_masked ( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_ADDR(x), mask)
7676 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_OUT(x, val)          \
7677 	out_dword( HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_ADDR(x), val)
7678 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_OUTM(x, mask, val)   \
7679 	do {\
7680 		HWIO_INTLOCK(); \
7681 		out_dword_masked_ns(HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_ADDR(x), mask, val, HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_IN(x)); \
7682 		HWIO_INTFREE();\
7683 	} while (0)
7684 
7685 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_ENABLE_DESC_THRESH_TLV_BMSK 0x00000001
7686 #define HWIO_REO_R0_GLOBAL_LINK_DESC_COUNT_CTRL_ENABLE_DESC_THRESH_TLV_SHFT        0x0
7687 
7688 //// Register REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0 ////
7689 
7690 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_ADDR(x)            (x+0x00000668)
7691 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_PHYS(x)            (x+0x00000668)
7692 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_RMSK               0xffffffff
7693 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_SHFT                        0
7694 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_IN(x)              \
7695 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_ADDR(x), HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_RMSK)
7696 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_INM(x, mask)       \
7697 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_ADDR(x), mask)
7698 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_OUT(x, val)        \
7699 	out_dword( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_ADDR(x), val)
7700 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_OUTM(x, mask, val) \
7701 	do {\
7702 		HWIO_INTLOCK(); \
7703 		out_dword_masked_ns(HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_ADDR(x), mask, val, HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_IN(x)); \
7704 		HWIO_INTFREE();\
7705 	} while (0)
7706 
7707 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_ADDRESS_LO_BITS_BMSK 0xffffffff
7708 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_0_ADDRESS_LO_BITS_SHFT        0x0
7709 
7710 //// Register REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0 ////
7711 
7712 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_ADDR(x)            (x+0x0000066c)
7713 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_PHYS(x)            (x+0x0000066c)
7714 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_RMSK               0x000000ff
7715 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_SHFT                        0
7716 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_IN(x)              \
7717 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_ADDR(x), HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_RMSK)
7718 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_INM(x, mask)       \
7719 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_ADDR(x), mask)
7720 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_OUT(x, val)        \
7721 	out_dword( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_ADDR(x), val)
7722 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_OUTM(x, mask, val) \
7723 	do {\
7724 		HWIO_INTLOCK(); \
7725 		out_dword_masked_ns(HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_ADDR(x), mask, val, HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_IN(x)); \
7726 		HWIO_INTFREE();\
7727 	} while (0)
7728 
7729 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_ADDRESS_HI_BITS_BMSK 0x000000ff
7730 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_0_ADDRESS_HI_BITS_SHFT        0x0
7731 
7732 //// Register REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1 ////
7733 
7734 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_ADDR(x)            (x+0x00000670)
7735 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_PHYS(x)            (x+0x00000670)
7736 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_RMSK               0xffffffff
7737 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_SHFT                        0
7738 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_IN(x)              \
7739 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_ADDR(x), HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_RMSK)
7740 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_INM(x, mask)       \
7741 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_ADDR(x), mask)
7742 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_OUT(x, val)        \
7743 	out_dword( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_ADDR(x), val)
7744 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_OUTM(x, mask, val) \
7745 	do {\
7746 		HWIO_INTLOCK(); \
7747 		out_dword_masked_ns(HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_ADDR(x), mask, val, HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_IN(x)); \
7748 		HWIO_INTFREE();\
7749 	} while (0)
7750 
7751 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_ADDRESS_LO_BITS_BMSK 0xffffffff
7752 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_1_ADDRESS_LO_BITS_SHFT        0x0
7753 
7754 //// Register REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1 ////
7755 
7756 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_ADDR(x)            (x+0x00000674)
7757 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_PHYS(x)            (x+0x00000674)
7758 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_RMSK               0x000000ff
7759 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_SHFT                        0
7760 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_IN(x)              \
7761 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_ADDR(x), HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_RMSK)
7762 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_INM(x, mask)       \
7763 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_ADDR(x), mask)
7764 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_OUT(x, val)        \
7765 	out_dword( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_ADDR(x), val)
7766 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_OUTM(x, mask, val) \
7767 	do {\
7768 		HWIO_INTLOCK(); \
7769 		out_dword_masked_ns(HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_ADDR(x), mask, val, HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_IN(x)); \
7770 		HWIO_INTFREE();\
7771 	} while (0)
7772 
7773 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_ADDRESS_HI_BITS_BMSK 0x000000ff
7774 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_1_ADDRESS_HI_BITS_SHFT        0x0
7775 
7776 //// Register REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2 ////
7777 
7778 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_ADDR(x)            (x+0x00000678)
7779 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_PHYS(x)            (x+0x00000678)
7780 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_RMSK               0xffffffff
7781 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_SHFT                        0
7782 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_IN(x)              \
7783 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_ADDR(x), HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_RMSK)
7784 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_INM(x, mask)       \
7785 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_ADDR(x), mask)
7786 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_OUT(x, val)        \
7787 	out_dword( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_ADDR(x), val)
7788 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_OUTM(x, mask, val) \
7789 	do {\
7790 		HWIO_INTLOCK(); \
7791 		out_dword_masked_ns(HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_ADDR(x), mask, val, HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_IN(x)); \
7792 		HWIO_INTFREE();\
7793 	} while (0)
7794 
7795 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_ADDRESS_LO_BITS_BMSK 0xffffffff
7796 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_2_ADDRESS_LO_BITS_SHFT        0x0
7797 
7798 //// Register REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2 ////
7799 
7800 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_ADDR(x)            (x+0x0000067c)
7801 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_PHYS(x)            (x+0x0000067c)
7802 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_RMSK               0x000000ff
7803 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_SHFT                        0
7804 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_IN(x)              \
7805 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_ADDR(x), HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_RMSK)
7806 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_INM(x, mask)       \
7807 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_ADDR(x), mask)
7808 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_OUT(x, val)        \
7809 	out_dword( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_ADDR(x), val)
7810 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_OUTM(x, mask, val) \
7811 	do {\
7812 		HWIO_INTLOCK(); \
7813 		out_dword_masked_ns(HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_ADDR(x), mask, val, HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_IN(x)); \
7814 		HWIO_INTFREE();\
7815 	} while (0)
7816 
7817 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_ADDRESS_HI_BITS_BMSK 0x000000ff
7818 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_2_ADDRESS_HI_BITS_SHFT        0x0
7819 
7820 //// Register REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3 ////
7821 
7822 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_ADDR(x)            (x+0x00000680)
7823 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_PHYS(x)            (x+0x00000680)
7824 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_RMSK               0xffffffff
7825 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_SHFT                        0
7826 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_IN(x)              \
7827 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_ADDR(x), HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_RMSK)
7828 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_INM(x, mask)       \
7829 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_ADDR(x), mask)
7830 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_OUT(x, val)        \
7831 	out_dword( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_ADDR(x), val)
7832 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_OUTM(x, mask, val) \
7833 	do {\
7834 		HWIO_INTLOCK(); \
7835 		out_dword_masked_ns(HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_ADDR(x), mask, val, HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_IN(x)); \
7836 		HWIO_INTFREE();\
7837 	} while (0)
7838 
7839 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_ADDRESS_LO_BITS_BMSK 0xffffffff
7840 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_LO_IX_3_ADDRESS_LO_BITS_SHFT        0x0
7841 
7842 //// Register REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3 ////
7843 
7844 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_ADDR(x)            (x+0x00000684)
7845 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_PHYS(x)            (x+0x00000684)
7846 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_RMSK               0x000000ff
7847 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_SHFT                        0
7848 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_IN(x)              \
7849 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_ADDR(x), HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_RMSK)
7850 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_INM(x, mask)       \
7851 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_ADDR(x), mask)
7852 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_OUT(x, val)        \
7853 	out_dword( HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_ADDR(x), val)
7854 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_OUTM(x, mask, val) \
7855 	do {\
7856 		HWIO_INTLOCK(); \
7857 		out_dword_masked_ns(HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_ADDR(x), mask, val, HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_IN(x)); \
7858 		HWIO_INTFREE();\
7859 	} while (0)
7860 
7861 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_ADDRESS_HI_BITS_BMSK 0x000000ff
7862 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_ADDR_HI_IX_3_ADDRESS_HI_BITS_SHFT        0x0
7863 
7864 //// Register REO_R0_QUEUE_DESC_BLOCK_INFO ////
7865 
7866 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_ADDR(x)                    (x+0x00000688)
7867 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_PHYS(x)                    (x+0x00000688)
7868 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_RMSK                       0x0000001f
7869 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_SHFT                                0
7870 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_IN(x)                      \
7871 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_ADDR(x), HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_RMSK)
7872 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_INM(x, mask)               \
7873 	in_dword_masked ( HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_ADDR(x), mask)
7874 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_OUT(x, val)                \
7875 	out_dword( HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_ADDR(x), val)
7876 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_OUTM(x, mask, val)         \
7877 	do {\
7878 		HWIO_INTLOCK(); \
7879 		out_dword_masked_ns(HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_ADDR(x), mask, val, HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_IN(x)); \
7880 		HWIO_INTFREE();\
7881 	} while (0)
7882 
7883 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_ENTIRE_CACHE_BLOCKED_BMSK  0x00000010
7884 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_ENTIRE_CACHE_BLOCKED_SHFT         0x4
7885 
7886 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_ADDRESS_VALID_BMSK         0x0000000f
7887 #define HWIO_REO_R0_QUEUE_DESC_BLOCK_INFO_ADDRESS_VALID_SHFT                0x0
7888 
7889 //// Register REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG ////
7890 
7891 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x)       (x+0x0000068c)
7892 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_PHYS(x)       (x+0x0000068c)
7893 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_RMSK          0x1fff000f
7894 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_SHFT                   0
7895 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_IN(x)         \
7896 	in_dword_masked ( HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_RMSK)
7897 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_INM(x, mask)  \
7898 	in_dword_masked ( HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask)
7899 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_OUT(x, val)   \
7900 	out_dword( HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), val)
7901 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_OUTM(x, mask, val) \
7902 	do {\
7903 		HWIO_INTLOCK(); \
7904 		out_dword_masked_ns(HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask, val, HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_IN(x)); \
7905 		HWIO_INTFREE();\
7906 	} while (0)
7907 
7908 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_BMSK 0x1fff0000
7909 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_SHFT       0x10
7910 
7911 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_BMSK 0x0000000f
7912 #define HWIO_REO_R0_REO2SW1_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_SHFT        0x0
7913 
7914 //// Register REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG ////
7915 
7916 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x)       (x+0x00000690)
7917 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_PHYS(x)       (x+0x00000690)
7918 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_RMSK          0x1fff000f
7919 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_SHFT                   0
7920 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_IN(x)         \
7921 	in_dword_masked ( HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_RMSK)
7922 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_INM(x, mask)  \
7923 	in_dword_masked ( HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask)
7924 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_OUT(x, val)   \
7925 	out_dword( HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), val)
7926 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_OUTM(x, mask, val) \
7927 	do {\
7928 		HWIO_INTLOCK(); \
7929 		out_dword_masked_ns(HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask, val, HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_IN(x)); \
7930 		HWIO_INTFREE();\
7931 	} while (0)
7932 
7933 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_BMSK 0x1fff0000
7934 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_SHFT       0x10
7935 
7936 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_BMSK 0x0000000f
7937 #define HWIO_REO_R0_REO2SW2_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_SHFT        0x0
7938 
7939 //// Register REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG ////
7940 
7941 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x)       (x+0x00000694)
7942 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_PHYS(x)       (x+0x00000694)
7943 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_RMSK          0x1fff000f
7944 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_SHFT                   0
7945 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_IN(x)         \
7946 	in_dword_masked ( HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_RMSK)
7947 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_INM(x, mask)  \
7948 	in_dword_masked ( HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask)
7949 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_OUT(x, val)   \
7950 	out_dword( HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), val)
7951 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_OUTM(x, mask, val) \
7952 	do {\
7953 		HWIO_INTLOCK(); \
7954 		out_dword_masked_ns(HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask, val, HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_IN(x)); \
7955 		HWIO_INTFREE();\
7956 	} while (0)
7957 
7958 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_BMSK 0x1fff0000
7959 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_SHFT       0x10
7960 
7961 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_BMSK 0x0000000f
7962 #define HWIO_REO_R0_REO2SW3_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_SHFT        0x0
7963 
7964 //// Register REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG ////
7965 
7966 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x)       (x+0x00000698)
7967 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_PHYS(x)       (x+0x00000698)
7968 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_RMSK          0x1fff000f
7969 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_SHFT                   0
7970 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_IN(x)         \
7971 	in_dword_masked ( HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_RMSK)
7972 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_INM(x, mask)  \
7973 	in_dword_masked ( HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask)
7974 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_OUT(x, val)   \
7975 	out_dword( HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), val)
7976 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_OUTM(x, mask, val) \
7977 	do {\
7978 		HWIO_INTLOCK(); \
7979 		out_dword_masked_ns(HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask, val, HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_IN(x)); \
7980 		HWIO_INTFREE();\
7981 	} while (0)
7982 
7983 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_BMSK 0x1fff0000
7984 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_SHFT       0x10
7985 
7986 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_BMSK 0x0000000f
7987 #define HWIO_REO_R0_REO2SW4_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_SHFT        0x0
7988 
7989 //// Register REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG ////
7990 
7991 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x)       (x+0x0000069c)
7992 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_PHYS(x)       (x+0x0000069c)
7993 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_RMSK          0x1fff000f
7994 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_SHFT                   0
7995 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_IN(x)         \
7996 	in_dword_masked ( HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_RMSK)
7997 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_INM(x, mask)  \
7998 	in_dword_masked ( HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask)
7999 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_OUT(x, val)   \
8000 	out_dword( HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), val)
8001 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_OUTM(x, mask, val) \
8002 	do {\
8003 		HWIO_INTLOCK(); \
8004 		out_dword_masked_ns(HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask, val, HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_IN(x)); \
8005 		HWIO_INTFREE();\
8006 	} while (0)
8007 
8008 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_BMSK 0x1fff0000
8009 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_SHFT       0x10
8010 
8011 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_BMSK 0x0000000f
8012 #define HWIO_REO_R0_REO2SW5_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_SHFT        0x0
8013 
8014 //// Register REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG ////
8015 
8016 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x)       (x+0x000006a0)
8017 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_PHYS(x)       (x+0x000006a0)
8018 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_RMSK          0x1fff000f
8019 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_SHFT                   0
8020 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_IN(x)         \
8021 	in_dword_masked ( HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_RMSK)
8022 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_INM(x, mask)  \
8023 	in_dword_masked ( HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask)
8024 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_OUT(x, val)   \
8025 	out_dword( HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), val)
8026 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_OUTM(x, mask, val) \
8027 	do {\
8028 		HWIO_INTLOCK(); \
8029 		out_dword_masked_ns(HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask, val, HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_IN(x)); \
8030 		HWIO_INTFREE();\
8031 	} while (0)
8032 
8033 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_BMSK 0x1fff0000
8034 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_SHFT       0x10
8035 
8036 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_BMSK 0x0000000f
8037 #define HWIO_REO_R0_REO2SW6_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_SHFT        0x0
8038 
8039 //// Register REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG ////
8040 
8041 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x)        (x+0x000006a4)
8042 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_PHYS(x)        (x+0x000006a4)
8043 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_RMSK           0x1fff000f
8044 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_SHFT                    0
8045 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_IN(x)          \
8046 	in_dword_masked ( HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_RMSK)
8047 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_INM(x, mask)   \
8048 	in_dword_masked ( HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask)
8049 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_OUT(x, val)    \
8050 	out_dword( HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), val)
8051 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_OUTM(x, mask, val) \
8052 	do {\
8053 		HWIO_INTLOCK(); \
8054 		out_dword_masked_ns(HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask, val, HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_IN(x)); \
8055 		HWIO_INTFREE();\
8056 	} while (0)
8057 
8058 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_BMSK 0x1fff0000
8059 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_SHFT       0x10
8060 
8061 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_BMSK 0x0000000f
8062 #define HWIO_REO_R0_REO2FW_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_SHFT        0x0
8063 
8064 //// Register REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG ////
8065 
8066 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x)       (x+0x000006a8)
8067 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_PHYS(x)       (x+0x000006a8)
8068 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_RMSK          0x1fff000f
8069 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_SHFT                   0
8070 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_IN(x)         \
8071 	in_dword_masked ( HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_RMSK)
8072 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_INM(x, mask)  \
8073 	in_dword_masked ( HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask)
8074 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_OUT(x, val)   \
8075 	out_dword( HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), val)
8076 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_OUTM(x, mask, val) \
8077 	do {\
8078 		HWIO_INTLOCK(); \
8079 		out_dword_masked_ns(HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_ADDR(x), mask, val, HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_IN(x)); \
8080 		HWIO_INTFREE();\
8081 	} while (0)
8082 
8083 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_BMSK 0x1fff0000
8084 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_READ_START_OFFSET_SHFT       0x10
8085 
8086 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_BMSK 0x0000000f
8087 #define HWIO_REO_R0_REO2TCL_MSDU_HEADER_CAPTURE_CONFIG_CAPTURED_MSDU_DATA_SIZE_SHFT        0x0
8088 
8089 //// Register REO_R0_GXI_TESTBUS_LOWER ////
8090 
8091 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_ADDR(x)                        (x+0x000006ac)
8092 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_PHYS(x)                        (x+0x000006ac)
8093 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_RMSK                           0xffffffff
8094 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_SHFT                                    0
8095 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_IN(x)                          \
8096 	in_dword_masked ( HWIO_REO_R0_GXI_TESTBUS_LOWER_ADDR(x), HWIO_REO_R0_GXI_TESTBUS_LOWER_RMSK)
8097 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_INM(x, mask)                   \
8098 	in_dword_masked ( HWIO_REO_R0_GXI_TESTBUS_LOWER_ADDR(x), mask)
8099 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_OUT(x, val)                    \
8100 	out_dword( HWIO_REO_R0_GXI_TESTBUS_LOWER_ADDR(x), val)
8101 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_OUTM(x, mask, val)             \
8102 	do {\
8103 		HWIO_INTLOCK(); \
8104 		out_dword_masked_ns(HWIO_REO_R0_GXI_TESTBUS_LOWER_ADDR(x), mask, val, HWIO_REO_R0_GXI_TESTBUS_LOWER_IN(x)); \
8105 		HWIO_INTFREE();\
8106 	} while (0)
8107 
8108 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_VALUE_BMSK                     0xffffffff
8109 #define HWIO_REO_R0_GXI_TESTBUS_LOWER_VALUE_SHFT                            0x0
8110 
8111 //// Register REO_R0_GXI_TESTBUS_UPPER ////
8112 
8113 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_ADDR(x)                        (x+0x000006b0)
8114 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_PHYS(x)                        (x+0x000006b0)
8115 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_RMSK                           0x000000ff
8116 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_SHFT                                    0
8117 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_IN(x)                          \
8118 	in_dword_masked ( HWIO_REO_R0_GXI_TESTBUS_UPPER_ADDR(x), HWIO_REO_R0_GXI_TESTBUS_UPPER_RMSK)
8119 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_INM(x, mask)                   \
8120 	in_dword_masked ( HWIO_REO_R0_GXI_TESTBUS_UPPER_ADDR(x), mask)
8121 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_OUT(x, val)                    \
8122 	out_dword( HWIO_REO_R0_GXI_TESTBUS_UPPER_ADDR(x), val)
8123 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_OUTM(x, mask, val)             \
8124 	do {\
8125 		HWIO_INTLOCK(); \
8126 		out_dword_masked_ns(HWIO_REO_R0_GXI_TESTBUS_UPPER_ADDR(x), mask, val, HWIO_REO_R0_GXI_TESTBUS_UPPER_IN(x)); \
8127 		HWIO_INTFREE();\
8128 	} while (0)
8129 
8130 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_VALUE_BMSK                     0x000000ff
8131 #define HWIO_REO_R0_GXI_TESTBUS_UPPER_VALUE_SHFT                            0x0
8132 
8133 //// Register REO_R0_GXI_SM_STATES_IX_0 ////
8134 
8135 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_ADDR(x)                       (x+0x000006b4)
8136 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_PHYS(x)                       (x+0x000006b4)
8137 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_RMSK                          0x00000fff
8138 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_SHFT                                   0
8139 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_IN(x)                         \
8140 	in_dword_masked ( HWIO_REO_R0_GXI_SM_STATES_IX_0_ADDR(x), HWIO_REO_R0_GXI_SM_STATES_IX_0_RMSK)
8141 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_INM(x, mask)                  \
8142 	in_dword_masked ( HWIO_REO_R0_GXI_SM_STATES_IX_0_ADDR(x), mask)
8143 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_OUT(x, val)                   \
8144 	out_dword( HWIO_REO_R0_GXI_SM_STATES_IX_0_ADDR(x), val)
8145 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_OUTM(x, mask, val)            \
8146 	do {\
8147 		HWIO_INTLOCK(); \
8148 		out_dword_masked_ns(HWIO_REO_R0_GXI_SM_STATES_IX_0_ADDR(x), mask, val, HWIO_REO_R0_GXI_SM_STATES_IX_0_IN(x)); \
8149 		HWIO_INTFREE();\
8150 	} while (0)
8151 
8152 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_SM_STATE_RD_ADDR_BMSK         0x00000e00
8153 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_SM_STATE_RD_ADDR_SHFT                0x9
8154 
8155 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_SM_STATE_WR_ADDR_BMSK         0x000001f0
8156 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_SM_STATE_WR_ADDR_SHFT                0x4
8157 
8158 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_SM_STATE_WR_DATA_BMSK         0x0000000f
8159 #define HWIO_REO_R0_GXI_SM_STATES_IX_0_SM_STATE_WR_DATA_SHFT                0x0
8160 
8161 //// Register REO_R0_GXI_END_OF_TEST_CHECK ////
8162 
8163 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_ADDR(x)                    (x+0x000006b8)
8164 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_PHYS(x)                    (x+0x000006b8)
8165 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_RMSK                       0x00000001
8166 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_SHFT                                0
8167 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_IN(x)                      \
8168 	in_dword_masked ( HWIO_REO_R0_GXI_END_OF_TEST_CHECK_ADDR(x), HWIO_REO_R0_GXI_END_OF_TEST_CHECK_RMSK)
8169 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_INM(x, mask)               \
8170 	in_dword_masked ( HWIO_REO_R0_GXI_END_OF_TEST_CHECK_ADDR(x), mask)
8171 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_OUT(x, val)                \
8172 	out_dword( HWIO_REO_R0_GXI_END_OF_TEST_CHECK_ADDR(x), val)
8173 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_OUTM(x, mask, val)         \
8174 	do {\
8175 		HWIO_INTLOCK(); \
8176 		out_dword_masked_ns(HWIO_REO_R0_GXI_END_OF_TEST_CHECK_ADDR(x), mask, val, HWIO_REO_R0_GXI_END_OF_TEST_CHECK_IN(x)); \
8177 		HWIO_INTFREE();\
8178 	} while (0)
8179 
8180 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_END_OF_TEST_SELF_CHECK_BMSK 0x00000001
8181 #define HWIO_REO_R0_GXI_END_OF_TEST_CHECK_END_OF_TEST_SELF_CHECK_SHFT        0x0
8182 
8183 //// Register REO_R0_GXI_CLOCK_GATE_DISABLE ////
8184 
8185 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_ADDR(x)                   (x+0x000006bc)
8186 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_PHYS(x)                   (x+0x000006bc)
8187 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_RMSK                      0x80000fff
8188 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_SHFT                               0
8189 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_IN(x)                     \
8190 	in_dword_masked ( HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_ADDR(x), HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_RMSK)
8191 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_INM(x, mask)              \
8192 	in_dword_masked ( HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_ADDR(x), mask)
8193 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_OUT(x, val)               \
8194 	out_dword( HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_ADDR(x), val)
8195 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_OUTM(x, mask, val)        \
8196 	do {\
8197 		HWIO_INTLOCK(); \
8198 		out_dword_masked_ns(HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_ADDR(x), mask, val, HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_IN(x)); \
8199 		HWIO_INTFREE();\
8200 	} while (0)
8201 
8202 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_CLOCK_GATE_EXTEND_BMSK    0x80000000
8203 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_CLOCK_GATE_EXTEND_SHFT          0x1f
8204 
8205 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_SPARE_BMSK                0x00000800
8206 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_SPARE_SHFT                       0xb
8207 
8208 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WDOG_CTR_BMSK             0x00000400
8209 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WDOG_CTR_SHFT                    0xa
8210 
8211 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_RD_FIFO_BMSK              0x00000200
8212 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_RD_FIFO_SHFT                     0x9
8213 
8214 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_DATA_FIFO_BMSK         0x00000100
8215 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_DATA_FIFO_SHFT                0x8
8216 
8217 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_ADDR_FIFO_BMSK         0x00000080
8218 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_ADDR_FIFO_SHFT                0x7
8219 
8220 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_RD_AXI_MAS_BMSK           0x00000040
8221 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_RD_AXI_MAS_SHFT                  0x6
8222 
8223 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_DATA_AXI_MAS_BMSK      0x00000020
8224 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_DATA_AXI_MAS_SHFT             0x5
8225 
8226 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_ADDR_AXI_MAS_BMSK      0x00000010
8227 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_ADDR_AXI_MAS_SHFT             0x4
8228 
8229 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_DATA_CMD_BMSK          0x00000008
8230 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_DATA_CMD_SHFT                 0x3
8231 
8232 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_ADDR_CMD_BMSK          0x00000004
8233 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_WR_ADDR_CMD_SHFT                 0x2
8234 
8235 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_RD_CMD_BMSK               0x00000002
8236 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_RD_CMD_SHFT                      0x1
8237 
8238 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_CORE_BMSK                 0x00000001
8239 #define HWIO_REO_R0_GXI_CLOCK_GATE_DISABLE_CORE_SHFT                        0x0
8240 
8241 //// Register REO_R0_GXI_GXI_ERR_INTS ////
8242 
8243 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_ADDR(x)                         (x+0x000006c0)
8244 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_PHYS(x)                         (x+0x000006c0)
8245 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_RMSK                            0x01010101
8246 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_SHFT                                     0
8247 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_IN(x)                           \
8248 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_ERR_INTS_ADDR(x), HWIO_REO_R0_GXI_GXI_ERR_INTS_RMSK)
8249 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_INM(x, mask)                    \
8250 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_ERR_INTS_ADDR(x), mask)
8251 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_OUT(x, val)                     \
8252 	out_dword( HWIO_REO_R0_GXI_GXI_ERR_INTS_ADDR(x), val)
8253 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_OUTM(x, mask, val)              \
8254 	do {\
8255 		HWIO_INTLOCK(); \
8256 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_ERR_INTS_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_ERR_INTS_IN(x)); \
8257 		HWIO_INTFREE();\
8258 	} while (0)
8259 
8260 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_GXI_WR_LAST_ERR_INT_BMSK        0x01000000
8261 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_GXI_WR_LAST_ERR_INT_SHFT              0x18
8262 
8263 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_GXI_AXI_WR_ERR_INT_BMSK         0x00010000
8264 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_GXI_AXI_WR_ERR_INT_SHFT               0x10
8265 
8266 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_GXI_AXI_RD_ERR_INT_BMSK         0x00000100
8267 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_GXI_AXI_RD_ERR_INT_SHFT                0x8
8268 
8269 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_GXI_WDTIMEOUT_INT_BMSK          0x00000001
8270 #define HWIO_REO_R0_GXI_GXI_ERR_INTS_GXI_WDTIMEOUT_INT_SHFT                 0x0
8271 
8272 //// Register REO_R0_GXI_GXI_ERR_STATS ////
8273 
8274 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_ADDR(x)                        (x+0x000006c4)
8275 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_PHYS(x)                        (x+0x000006c4)
8276 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_RMSK                           0x003f3f3f
8277 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_SHFT                                    0
8278 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_IN(x)                          \
8279 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_ERR_STATS_ADDR(x), HWIO_REO_R0_GXI_GXI_ERR_STATS_RMSK)
8280 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_INM(x, mask)                   \
8281 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_ERR_STATS_ADDR(x), mask)
8282 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_OUT(x, val)                    \
8283 	out_dword( HWIO_REO_R0_GXI_GXI_ERR_STATS_ADDR(x), val)
8284 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_OUTM(x, mask, val)             \
8285 	do {\
8286 		HWIO_INTLOCK(); \
8287 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_ERR_STATS_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_ERR_STATS_IN(x)); \
8288 		HWIO_INTFREE();\
8289 	} while (0)
8290 
8291 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_AXI_WR_LAST_ERR_PORT_BMSK      0x003f0000
8292 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_AXI_WR_LAST_ERR_PORT_SHFT            0x10
8293 
8294 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_AXI_WR_ERR_PORT_BMSK           0x00003f00
8295 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_AXI_WR_ERR_PORT_SHFT                  0x8
8296 
8297 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_AXI_RD_ERR_PORT_BMSK           0x0000003f
8298 #define HWIO_REO_R0_GXI_GXI_ERR_STATS_AXI_RD_ERR_PORT_SHFT                  0x0
8299 
8300 //// Register REO_R0_GXI_GXI_DEFAULT_CONTROL ////
8301 
8302 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_ADDR(x)                  (x+0x000006c8)
8303 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_PHYS(x)                  (x+0x000006c8)
8304 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_RMSK                     0xffff3f3f
8305 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_SHFT                              0
8306 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_IN(x)                    \
8307 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_ADDR(x), HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_RMSK)
8308 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_INM(x, mask)             \
8309 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_ADDR(x), mask)
8310 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_OUT(x, val)              \
8311 	out_dword( HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_ADDR(x), val)
8312 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_OUTM(x, mask, val)       \
8313 	do {\
8314 		HWIO_INTLOCK(); \
8315 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_IN(x)); \
8316 		HWIO_INTFREE();\
8317 	} while (0)
8318 
8319 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_GXI_DEFAULT_MAX_PENDING_READ_DATA_BMSK 0xff000000
8320 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_GXI_DEFAULT_MAX_PENDING_READ_DATA_SHFT       0x18
8321 
8322 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_GXI_DEFAULT_MAX_PENDING_WRITE_DATA_BMSK 0x00ff0000
8323 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_GXI_DEFAULT_MAX_PENDING_WRITE_DATA_SHFT       0x10
8324 
8325 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_GXI_DEFAULT_MAX_PENDING_READS_BMSK 0x00003f00
8326 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_GXI_DEFAULT_MAX_PENDING_READS_SHFT        0x8
8327 
8328 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_GXI_DEFAULT_MAX_PENDING_WRITES_BMSK 0x0000003f
8329 #define HWIO_REO_R0_GXI_GXI_DEFAULT_CONTROL_GXI_DEFAULT_MAX_PENDING_WRITES_SHFT        0x0
8330 
8331 //// Register REO_R0_GXI_GXI_REDUCED_CONTROL ////
8332 
8333 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_ADDR(x)                  (x+0x000006cc)
8334 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_PHYS(x)                  (x+0x000006cc)
8335 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_RMSK                     0xffff3f3f
8336 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_SHFT                              0
8337 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_IN(x)                    \
8338 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_ADDR(x), HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_RMSK)
8339 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_INM(x, mask)             \
8340 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_ADDR(x), mask)
8341 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_OUT(x, val)              \
8342 	out_dword( HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_ADDR(x), val)
8343 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_OUTM(x, mask, val)       \
8344 	do {\
8345 		HWIO_INTLOCK(); \
8346 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_IN(x)); \
8347 		HWIO_INTFREE();\
8348 	} while (0)
8349 
8350 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_GXI_REDUCED_MAX_PENDING_READ_DATA_BMSK 0xff000000
8351 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_GXI_REDUCED_MAX_PENDING_READ_DATA_SHFT       0x18
8352 
8353 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_GXI_REDUCED_MAX_PENDING_WRITE_DATA_BMSK 0x00ff0000
8354 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_GXI_REDUCED_MAX_PENDING_WRITE_DATA_SHFT       0x10
8355 
8356 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_GXI_REDUCED_MAX_PENDING_READS_BMSK 0x00003f00
8357 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_GXI_REDUCED_MAX_PENDING_READS_SHFT        0x8
8358 
8359 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_GXI_REDUCED_MAX_PENDING_WRITES_BMSK 0x0000003f
8360 #define HWIO_REO_R0_GXI_GXI_REDUCED_CONTROL_GXI_REDUCED_MAX_PENDING_WRITES_SHFT        0x0
8361 
8362 //// Register REO_R0_GXI_GXI_MISC_CONTROL ////
8363 
8364 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_ADDR(x)                     (x+0x000006d0)
8365 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_PHYS(x)                     (x+0x000006d0)
8366 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_RMSK                        0x0fffffff
8367 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_SHFT                                 0
8368 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_IN(x)                       \
8369 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_MISC_CONTROL_ADDR(x), HWIO_REO_R0_GXI_GXI_MISC_CONTROL_RMSK)
8370 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_INM(x, mask)                \
8371 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_MISC_CONTROL_ADDR(x), mask)
8372 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_OUT(x, val)                 \
8373 	out_dword( HWIO_REO_R0_GXI_GXI_MISC_CONTROL_ADDR(x), val)
8374 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_OUTM(x, mask, val)          \
8375 	do {\
8376 		HWIO_INTLOCK(); \
8377 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_MISC_CONTROL_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_MISC_CONTROL_IN(x)); \
8378 		HWIO_INTFREE();\
8379 	} while (0)
8380 
8381 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_DELAYED_RD_FLUSH_BMSK   0x08000000
8382 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_DELAYED_RD_FLUSH_SHFT         0x1b
8383 
8384 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_DELAYED_WR_FLUSH_BMSK   0x04000000
8385 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_DELAYED_WR_FLUSH_SHFT         0x1a
8386 
8387 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_DISABLE_WR_PREFIL_BMSK  0x02000000
8388 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_DISABLE_WR_PREFIL_SHFT        0x19
8389 
8390 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_MAX_WR_BOUNDARY_SPLIT_BMSK 0x01000000
8391 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_MAX_WR_BOUNDARY_SPLIT_SHFT       0x18
8392 
8393 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_MAX_RD_BOUNDARY_SPLIT_BMSK 0x00800000
8394 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_MAX_RD_BOUNDARY_SPLIT_SHFT       0x17
8395 
8396 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_WRITE_BURST_SIZE_BMSK   0x00700000
8397 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_WRITE_BURST_SIZE_SHFT         0x14
8398 
8399 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_READ_BURST_SIZE_BMSK    0x000e0000
8400 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_READ_BURST_SIZE_SHFT          0x11
8401 
8402 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_READ_ISSUE_THRESHOLD_BMSK 0x0001fe00
8403 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_READ_ISSUE_THRESHOLD_SHFT        0x9
8404 
8405 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_WRITE_PREFETCH_THRESHOLD_BMSK 0x000001fe
8406 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_WRITE_PREFETCH_THRESHOLD_SHFT        0x1
8407 
8408 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_CLEAR_STATS_BMSK        0x00000001
8409 #define HWIO_REO_R0_GXI_GXI_MISC_CONTROL_GXI_CLEAR_STATS_SHFT               0x0
8410 
8411 //// Register REO_R0_GXI_GXI_WDOG_CONTROL ////
8412 
8413 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_ADDR(x)                     (x+0x000006d4)
8414 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_PHYS(x)                     (x+0x000006d4)
8415 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_RMSK                        0xffff0001
8416 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_SHFT                                 0
8417 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_IN(x)                       \
8418 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_ADDR(x), HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_RMSK)
8419 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_INM(x, mask)                \
8420 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_ADDR(x), mask)
8421 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_OUT(x, val)                 \
8422 	out_dword( HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_ADDR(x), val)
8423 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_OUTM(x, mask, val)          \
8424 	do {\
8425 		HWIO_INTLOCK(); \
8426 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_IN(x)); \
8427 		HWIO_INTFREE();\
8428 	} while (0)
8429 
8430 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_GXI_WDOG_LIMIT_BMSK         0xffff0000
8431 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_GXI_WDOG_LIMIT_SHFT               0x10
8432 
8433 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_GXI_WDOG_DISABLE_BMSK       0x00000001
8434 #define HWIO_REO_R0_GXI_GXI_WDOG_CONTROL_GXI_WDOG_DISABLE_SHFT              0x0
8435 
8436 //// Register REO_R0_GXI_GXI_WDOG_STATUS ////
8437 
8438 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_ADDR(x)                      (x+0x000006d8)
8439 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_PHYS(x)                      (x+0x000006d8)
8440 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_RMSK                         0x0000ffff
8441 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_SHFT                                  0
8442 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_IN(x)                        \
8443 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WDOG_STATUS_ADDR(x), HWIO_REO_R0_GXI_GXI_WDOG_STATUS_RMSK)
8444 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_INM(x, mask)                 \
8445 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WDOG_STATUS_ADDR(x), mask)
8446 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_OUT(x, val)                  \
8447 	out_dword( HWIO_REO_R0_GXI_GXI_WDOG_STATUS_ADDR(x), val)
8448 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_OUTM(x, mask, val)           \
8449 	do {\
8450 		HWIO_INTLOCK(); \
8451 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_WDOG_STATUS_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_WDOG_STATUS_IN(x)); \
8452 		HWIO_INTFREE();\
8453 	} while (0)
8454 
8455 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_GXI_WDOG_STATUS_BMSK         0x0000ffff
8456 #define HWIO_REO_R0_GXI_GXI_WDOG_STATUS_GXI_WDOG_STATUS_SHFT                0x0
8457 
8458 //// Register REO_R0_GXI_GXI_IDLE_COUNTERS ////
8459 
8460 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_ADDR(x)                    (x+0x000006dc)
8461 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_PHYS(x)                    (x+0x000006dc)
8462 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_RMSK                       0xffffffff
8463 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_SHFT                                0
8464 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_IN(x)                      \
8465 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_ADDR(x), HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_RMSK)
8466 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_INM(x, mask)               \
8467 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_ADDR(x), mask)
8468 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_OUT(x, val)                \
8469 	out_dword( HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_ADDR(x), val)
8470 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_OUTM(x, mask, val)         \
8471 	do {\
8472 		HWIO_INTLOCK(); \
8473 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_IN(x)); \
8474 		HWIO_INTFREE();\
8475 	} while (0)
8476 
8477 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_GXI_READ_IDLE_CNT_BMSK     0xffff0000
8478 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_GXI_READ_IDLE_CNT_SHFT           0x10
8479 
8480 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_GXI_WRITE_IDLE_CNT_BMSK    0x0000ffff
8481 #define HWIO_REO_R0_GXI_GXI_IDLE_COUNTERS_GXI_WRITE_IDLE_CNT_SHFT           0x0
8482 
8483 //// Register REO_R0_GXI_GXI_RD_LATENCY_CTRL ////
8484 
8485 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_ADDR(x)                  (x+0x000006e0)
8486 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_PHYS(x)                  (x+0x000006e0)
8487 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_RMSK                     0x000fffff
8488 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_SHFT                              0
8489 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_IN(x)                    \
8490 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_ADDR(x), HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_RMSK)
8491 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_INM(x, mask)             \
8492 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_ADDR(x), mask)
8493 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_OUT(x, val)              \
8494 	out_dword( HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_ADDR(x), val)
8495 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_OUTM(x, mask, val)       \
8496 	do {\
8497 		HWIO_INTLOCK(); \
8498 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_IN(x)); \
8499 		HWIO_INTFREE();\
8500 	} while (0)
8501 
8502 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_AXI_LATENCY_RANGE_BMSK   0x000e0000
8503 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_AXI_LATENCY_RANGE_SHFT         0x11
8504 
8505 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_AXI_LATENCY_EN_BMSK      0x00010000
8506 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_AXI_LATENCY_EN_SHFT            0x10
8507 
8508 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_AXI_LATENCY_MIN_BMSK     0x0000ffff
8509 #define HWIO_REO_R0_GXI_GXI_RD_LATENCY_CTRL_AXI_LATENCY_MIN_SHFT            0x0
8510 
8511 //// Register REO_R0_GXI_GXI_WR_LATENCY_CTRL ////
8512 
8513 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_ADDR(x)                  (x+0x000006e4)
8514 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_PHYS(x)                  (x+0x000006e4)
8515 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_RMSK                     0x000fffff
8516 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_SHFT                              0
8517 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_IN(x)                    \
8518 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_ADDR(x), HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_RMSK)
8519 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_INM(x, mask)             \
8520 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_ADDR(x), mask)
8521 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_OUT(x, val)              \
8522 	out_dword( HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_ADDR(x), val)
8523 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_OUTM(x, mask, val)       \
8524 	do {\
8525 		HWIO_INTLOCK(); \
8526 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_IN(x)); \
8527 		HWIO_INTFREE();\
8528 	} while (0)
8529 
8530 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_AXI_LATENCY_RANGE_BMSK   0x000e0000
8531 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_AXI_LATENCY_RANGE_SHFT         0x11
8532 
8533 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_AXI_LATENCY_EN_BMSK      0x00010000
8534 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_AXI_LATENCY_EN_SHFT            0x10
8535 
8536 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_AXI_LATENCY_MIN_BMSK     0x0000ffff
8537 #define HWIO_REO_R0_GXI_GXI_WR_LATENCY_CTRL_AXI_LATENCY_MIN_SHFT            0x0
8538 
8539 //// Register REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0 ////
8540 
8541 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_ADDR(x)        (x+0x000006e8)
8542 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_PHYS(x)        (x+0x000006e8)
8543 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_RMSK           0xffffffff
8544 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_SHFT                    0
8545 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_IN(x)          \
8546 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_ADDR(x), HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_RMSK)
8547 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_INM(x, mask)   \
8548 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_ADDR(x), mask)
8549 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_OUT(x, val)    \
8550 	out_dword( HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_ADDR(x), val)
8551 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_OUTM(x, mask, val) \
8552 	do {\
8553 		HWIO_INTLOCK(); \
8554 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_IN(x)); \
8555 		HWIO_INTFREE();\
8556 	} while (0)
8557 
8558 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_VALUE_BMSK     0xffffffff
8559 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_0_VALUE_SHFT            0x0
8560 
8561 //// Register REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1 ////
8562 
8563 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_ADDR(x)        (x+0x000006ec)
8564 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_PHYS(x)        (x+0x000006ec)
8565 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_RMSK           0xffffffff
8566 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_SHFT                    0
8567 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_IN(x)          \
8568 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_ADDR(x), HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_RMSK)
8569 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_INM(x, mask)   \
8570 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_ADDR(x), mask)
8571 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_OUT(x, val)    \
8572 	out_dword( HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_ADDR(x), val)
8573 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_OUTM(x, mask, val) \
8574 	do {\
8575 		HWIO_INTLOCK(); \
8576 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_IN(x)); \
8577 		HWIO_INTFREE();\
8578 	} while (0)
8579 
8580 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_VALUE_BMSK     0xffffffff
8581 #define HWIO_REO_R0_GXI_GXI_WR_ERR_STALL_DISABLE_IX_1_VALUE_SHFT            0x0
8582 
8583 //// Register REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0 ////
8584 
8585 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_ADDR(x)        (x+0x000006f0)
8586 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_PHYS(x)        (x+0x000006f0)
8587 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_RMSK           0xffffffff
8588 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_SHFT                    0
8589 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_IN(x)          \
8590 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_ADDR(x), HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_RMSK)
8591 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_INM(x, mask)   \
8592 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_ADDR(x), mask)
8593 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_OUT(x, val)    \
8594 	out_dword( HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_ADDR(x), val)
8595 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_OUTM(x, mask, val) \
8596 	do {\
8597 		HWIO_INTLOCK(); \
8598 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_IN(x)); \
8599 		HWIO_INTFREE();\
8600 	} while (0)
8601 
8602 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_VALUE_BMSK     0xffffffff
8603 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_0_VALUE_SHFT            0x0
8604 
8605 //// Register REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1 ////
8606 
8607 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_ADDR(x)        (x+0x000006f4)
8608 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_PHYS(x)        (x+0x000006f4)
8609 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_RMSK           0xffffffff
8610 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_SHFT                    0
8611 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_IN(x)          \
8612 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_ADDR(x), HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_RMSK)
8613 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_INM(x, mask)   \
8614 	in_dword_masked ( HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_ADDR(x), mask)
8615 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_OUT(x, val)    \
8616 	out_dword( HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_ADDR(x), val)
8617 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_OUTM(x, mask, val) \
8618 	do {\
8619 		HWIO_INTLOCK(); \
8620 		out_dword_masked_ns(HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_ADDR(x), mask, val, HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_IN(x)); \
8621 		HWIO_INTFREE();\
8622 	} while (0)
8623 
8624 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_VALUE_BMSK     0xffffffff
8625 #define HWIO_REO_R0_GXI_GXI_RD_ERR_STALL_DISABLE_IX_1_VALUE_SHFT            0x0
8626 
8627 //// Register REO_R0_CACHE_CTL_CONFIG ////
8628 
8629 #define HWIO_REO_R0_CACHE_CTL_CONFIG_ADDR(x)                         (x+0x000006f8)
8630 #define HWIO_REO_R0_CACHE_CTL_CONFIG_PHYS(x)                         (x+0x000006f8)
8631 #define HWIO_REO_R0_CACHE_CTL_CONFIG_RMSK                            0x7fff7fff
8632 #define HWIO_REO_R0_CACHE_CTL_CONFIG_SHFT                                     0
8633 #define HWIO_REO_R0_CACHE_CTL_CONFIG_IN(x)                           \
8634 	in_dword_masked ( HWIO_REO_R0_CACHE_CTL_CONFIG_ADDR(x), HWIO_REO_R0_CACHE_CTL_CONFIG_RMSK)
8635 #define HWIO_REO_R0_CACHE_CTL_CONFIG_INM(x, mask)                    \
8636 	in_dword_masked ( HWIO_REO_R0_CACHE_CTL_CONFIG_ADDR(x), mask)
8637 #define HWIO_REO_R0_CACHE_CTL_CONFIG_OUT(x, val)                     \
8638 	out_dword( HWIO_REO_R0_CACHE_CTL_CONFIG_ADDR(x), val)
8639 #define HWIO_REO_R0_CACHE_CTL_CONFIG_OUTM(x, mask, val)              \
8640 	do {\
8641 		HWIO_INTLOCK(); \
8642 		out_dword_masked_ns(HWIO_REO_R0_CACHE_CTL_CONFIG_ADDR(x), mask, val, HWIO_REO_R0_CACHE_CTL_CONFIG_IN(x)); \
8643 		HWIO_INTFREE();\
8644 	} while (0)
8645 
8646 #define HWIO_REO_R0_CACHE_CTL_CONFIG_DESC_TYPE_SWAP_BMSK             0x7f800000
8647 #define HWIO_REO_R0_CACHE_CTL_CONFIG_DESC_TYPE_SWAP_SHFT                   0x17
8648 
8649 #define HWIO_REO_R0_CACHE_CTL_CONFIG_ENABLE_LEGACY_SWAP_BMSK         0x00400000
8650 #define HWIO_REO_R0_CACHE_CTL_CONFIG_ENABLE_LEGACY_SWAP_SHFT               0x16
8651 
8652 #define HWIO_REO_R0_CACHE_CTL_CONFIG_WRITE_STRUCT_SWAP_BMSK          0x00200000
8653 #define HWIO_REO_R0_CACHE_CTL_CONFIG_WRITE_STRUCT_SWAP_SHFT                0x15
8654 
8655 #define HWIO_REO_R0_CACHE_CTL_CONFIG_READ_STRUCT_SWAP_BMSK           0x00100000
8656 #define HWIO_REO_R0_CACHE_CTL_CONFIG_READ_STRUCT_SWAP_SHFT                 0x14
8657 
8658 #define HWIO_REO_R0_CACHE_CTL_CONFIG_WRITE_SECURITY_BMSK             0x00080000
8659 #define HWIO_REO_R0_CACHE_CTL_CONFIG_WRITE_SECURITY_SHFT                   0x13
8660 
8661 #define HWIO_REO_R0_CACHE_CTL_CONFIG_READ_SECURITY_BMSK              0x00040000
8662 #define HWIO_REO_R0_CACHE_CTL_CONFIG_READ_SECURITY_SHFT                    0x12
8663 
8664 #define HWIO_REO_R0_CACHE_CTL_CONFIG_BG_FLUSH_POST_WRITE_BMSK        0x00020000
8665 #define HWIO_REO_R0_CACHE_CTL_CONFIG_BG_FLUSH_POST_WRITE_SHFT              0x11
8666 
8667 #define HWIO_REO_R0_CACHE_CTL_CONFIG_CLIENT_FLUSH_POST_WRITE_BMSK    0x00010000
8668 #define HWIO_REO_R0_CACHE_CTL_CONFIG_CLIENT_FLUSH_POST_WRITE_SHFT          0x10
8669 
8670 #define HWIO_REO_R0_CACHE_CTL_CONFIG_CACHE_EMPTY_THRESHOLD_BMSK      0x00007f00
8671 #define HWIO_REO_R0_CACHE_CTL_CONFIG_CACHE_EMPTY_THRESHOLD_SHFT             0x8
8672 
8673 #define HWIO_REO_R0_CACHE_CTL_CONFIG_CACHE_LINE_USE_NUM_BMSK         0x000000ff
8674 #define HWIO_REO_R0_CACHE_CTL_CONFIG_CACHE_LINE_USE_NUM_SHFT                0x0
8675 
8676 //// Register REO_R0_CACHE_CTL_CONTROL ////
8677 
8678 #define HWIO_REO_R0_CACHE_CTL_CONTROL_ADDR(x)                        (x+0x000006fc)
8679 #define HWIO_REO_R0_CACHE_CTL_CONTROL_PHYS(x)                        (x+0x000006fc)
8680 #define HWIO_REO_R0_CACHE_CTL_CONTROL_RMSK                           0x00000001
8681 #define HWIO_REO_R0_CACHE_CTL_CONTROL_SHFT                                    0
8682 #define HWIO_REO_R0_CACHE_CTL_CONTROL_IN(x)                          \
8683 	in_dword_masked ( HWIO_REO_R0_CACHE_CTL_CONTROL_ADDR(x), HWIO_REO_R0_CACHE_CTL_CONTROL_RMSK)
8684 #define HWIO_REO_R0_CACHE_CTL_CONTROL_INM(x, mask)                   \
8685 	in_dword_masked ( HWIO_REO_R0_CACHE_CTL_CONTROL_ADDR(x), mask)
8686 #define HWIO_REO_R0_CACHE_CTL_CONTROL_OUT(x, val)                    \
8687 	out_dword( HWIO_REO_R0_CACHE_CTL_CONTROL_ADDR(x), val)
8688 #define HWIO_REO_R0_CACHE_CTL_CONTROL_OUTM(x, mask, val)             \
8689 	do {\
8690 		HWIO_INTLOCK(); \
8691 		out_dword_masked_ns(HWIO_REO_R0_CACHE_CTL_CONTROL_ADDR(x), mask, val, HWIO_REO_R0_CACHE_CTL_CONTROL_IN(x)); \
8692 		HWIO_INTFREE();\
8693 	} while (0)
8694 
8695 #define HWIO_REO_R0_CACHE_CTL_CONTROL_CACHE_RESET_BMSK               0x00000001
8696 #define HWIO_REO_R0_CACHE_CTL_CONTROL_CACHE_RESET_SHFT                      0x0
8697 
8698 //// Register REO_R0_CLK_GATE_CTRL ////
8699 
8700 #define HWIO_REO_R0_CLK_GATE_CTRL_ADDR(x)                            (x+0x00000700)
8701 #define HWIO_REO_R0_CLK_GATE_CTRL_PHYS(x)                            (x+0x00000700)
8702 #define HWIO_REO_R0_CLK_GATE_CTRL_RMSK                               0x0007ffff
8703 #define HWIO_REO_R0_CLK_GATE_CTRL_SHFT                                        0
8704 #define HWIO_REO_R0_CLK_GATE_CTRL_IN(x)                              \
8705 	in_dword_masked ( HWIO_REO_R0_CLK_GATE_CTRL_ADDR(x), HWIO_REO_R0_CLK_GATE_CTRL_RMSK)
8706 #define HWIO_REO_R0_CLK_GATE_CTRL_INM(x, mask)                       \
8707 	in_dword_masked ( HWIO_REO_R0_CLK_GATE_CTRL_ADDR(x), mask)
8708 #define HWIO_REO_R0_CLK_GATE_CTRL_OUT(x, val)                        \
8709 	out_dword( HWIO_REO_R0_CLK_GATE_CTRL_ADDR(x), val)
8710 #define HWIO_REO_R0_CLK_GATE_CTRL_OUTM(x, mask, val)                 \
8711 	do {\
8712 		HWIO_INTLOCK(); \
8713 		out_dword_masked_ns(HWIO_REO_R0_CLK_GATE_CTRL_ADDR(x), mask, val, HWIO_REO_R0_CLK_GATE_CTRL_IN(x)); \
8714 		HWIO_INTFREE();\
8715 	} while (0)
8716 
8717 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_7_BMSK                     0x00040000
8718 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_7_SHFT                           0x12
8719 
8720 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_6_BMSK                     0x00020000
8721 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_6_SHFT                           0x11
8722 
8723 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_5_BMSK                     0x00010000
8724 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_5_SHFT                           0x10
8725 
8726 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_4_BMSK                     0x00008000
8727 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_4_SHFT                            0xf
8728 
8729 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_3_BMSK                     0x00004000
8730 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_3_SHFT                            0xe
8731 
8732 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_2_BMSK                     0x00002000
8733 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_2_SHFT                            0xd
8734 
8735 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_1_BMSK                     0x00001000
8736 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_1_SHFT                            0xc
8737 
8738 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_0_BMSK                     0x00000800
8739 #define HWIO_REO_R0_CLK_GATE_CTRL_RESERVE_0_SHFT                            0xb
8740 
8741 #define HWIO_REO_R0_CLK_GATE_CTRL_CLOCK_ENS_EXTEND_BMSK              0x00000400
8742 #define HWIO_REO_R0_CLK_GATE_CTRL_CLOCK_ENS_EXTEND_SHFT                     0xa
8743 
8744 #define HWIO_REO_R0_CLK_GATE_CTRL_REO_CLKGATE_DISABLE_BMSK           0x000003ff
8745 #define HWIO_REO_R0_CLK_GATE_CTRL_REO_CLKGATE_DISABLE_SHFT                  0x0
8746 
8747 //// Register REO_R0_EVENTMASK_IX_0 ////
8748 
8749 #define HWIO_REO_R0_EVENTMASK_IX_0_ADDR(x)                           (x+0x00000704)
8750 #define HWIO_REO_R0_EVENTMASK_IX_0_PHYS(x)                           (x+0x00000704)
8751 #define HWIO_REO_R0_EVENTMASK_IX_0_RMSK                              0xffffffff
8752 #define HWIO_REO_R0_EVENTMASK_IX_0_SHFT                                       0
8753 #define HWIO_REO_R0_EVENTMASK_IX_0_IN(x)                             \
8754 	in_dword_masked ( HWIO_REO_R0_EVENTMASK_IX_0_ADDR(x), HWIO_REO_R0_EVENTMASK_IX_0_RMSK)
8755 #define HWIO_REO_R0_EVENTMASK_IX_0_INM(x, mask)                      \
8756 	in_dword_masked ( HWIO_REO_R0_EVENTMASK_IX_0_ADDR(x), mask)
8757 #define HWIO_REO_R0_EVENTMASK_IX_0_OUT(x, val)                       \
8758 	out_dword( HWIO_REO_R0_EVENTMASK_IX_0_ADDR(x), val)
8759 #define HWIO_REO_R0_EVENTMASK_IX_0_OUTM(x, mask, val)                \
8760 	do {\
8761 		HWIO_INTLOCK(); \
8762 		out_dword_masked_ns(HWIO_REO_R0_EVENTMASK_IX_0_ADDR(x), mask, val, HWIO_REO_R0_EVENTMASK_IX_0_IN(x)); \
8763 		HWIO_INTFREE();\
8764 	} while (0)
8765 
8766 #define HWIO_REO_R0_EVENTMASK_IX_0_MASK_BMSK                         0xffffffff
8767 #define HWIO_REO_R0_EVENTMASK_IX_0_MASK_SHFT                                0x0
8768 
8769 //// Register REO_R0_EVENTMASK_IX_1 ////
8770 
8771 #define HWIO_REO_R0_EVENTMASK_IX_1_ADDR(x)                           (x+0x00000708)
8772 #define HWIO_REO_R0_EVENTMASK_IX_1_PHYS(x)                           (x+0x00000708)
8773 #define HWIO_REO_R0_EVENTMASK_IX_1_RMSK                              0xffffffff
8774 #define HWIO_REO_R0_EVENTMASK_IX_1_SHFT                                       0
8775 #define HWIO_REO_R0_EVENTMASK_IX_1_IN(x)                             \
8776 	in_dword_masked ( HWIO_REO_R0_EVENTMASK_IX_1_ADDR(x), HWIO_REO_R0_EVENTMASK_IX_1_RMSK)
8777 #define HWIO_REO_R0_EVENTMASK_IX_1_INM(x, mask)                      \
8778 	in_dword_masked ( HWIO_REO_R0_EVENTMASK_IX_1_ADDR(x), mask)
8779 #define HWIO_REO_R0_EVENTMASK_IX_1_OUT(x, val)                       \
8780 	out_dword( HWIO_REO_R0_EVENTMASK_IX_1_ADDR(x), val)
8781 #define HWIO_REO_R0_EVENTMASK_IX_1_OUTM(x, mask, val)                \
8782 	do {\
8783 		HWIO_INTLOCK(); \
8784 		out_dword_masked_ns(HWIO_REO_R0_EVENTMASK_IX_1_ADDR(x), mask, val, HWIO_REO_R0_EVENTMASK_IX_1_IN(x)); \
8785 		HWIO_INTFREE();\
8786 	} while (0)
8787 
8788 #define HWIO_REO_R0_EVENTMASK_IX_1_MASK_BMSK                         0xffffffff
8789 #define HWIO_REO_R0_EVENTMASK_IX_1_MASK_SHFT                                0x0
8790 
8791 //// Register REO_R0_EVENTMASK_IX_2 ////
8792 
8793 #define HWIO_REO_R0_EVENTMASK_IX_2_ADDR(x)                           (x+0x0000070c)
8794 #define HWIO_REO_R0_EVENTMASK_IX_2_PHYS(x)                           (x+0x0000070c)
8795 #define HWIO_REO_R0_EVENTMASK_IX_2_RMSK                              0xffffffff
8796 #define HWIO_REO_R0_EVENTMASK_IX_2_SHFT                                       0
8797 #define HWIO_REO_R0_EVENTMASK_IX_2_IN(x)                             \
8798 	in_dword_masked ( HWIO_REO_R0_EVENTMASK_IX_2_ADDR(x), HWIO_REO_R0_EVENTMASK_IX_2_RMSK)
8799 #define HWIO_REO_R0_EVENTMASK_IX_2_INM(x, mask)                      \
8800 	in_dword_masked ( HWIO_REO_R0_EVENTMASK_IX_2_ADDR(x), mask)
8801 #define HWIO_REO_R0_EVENTMASK_IX_2_OUT(x, val)                       \
8802 	out_dword( HWIO_REO_R0_EVENTMASK_IX_2_ADDR(x), val)
8803 #define HWIO_REO_R0_EVENTMASK_IX_2_OUTM(x, mask, val)                \
8804 	do {\
8805 		HWIO_INTLOCK(); \
8806 		out_dword_masked_ns(HWIO_REO_R0_EVENTMASK_IX_2_ADDR(x), mask, val, HWIO_REO_R0_EVENTMASK_IX_2_IN(x)); \
8807 		HWIO_INTFREE();\
8808 	} while (0)
8809 
8810 #define HWIO_REO_R0_EVENTMASK_IX_2_MASK_BMSK                         0xffffffff
8811 #define HWIO_REO_R0_EVENTMASK_IX_2_MASK_SHFT                                0x0
8812 
8813 //// Register REO_R0_EVENTMASK_IX_3 ////
8814 
8815 #define HWIO_REO_R0_EVENTMASK_IX_3_ADDR(x)                           (x+0x00000710)
8816 #define HWIO_REO_R0_EVENTMASK_IX_3_PHYS(x)                           (x+0x00000710)
8817 #define HWIO_REO_R0_EVENTMASK_IX_3_RMSK                              0xffffffff
8818 #define HWIO_REO_R0_EVENTMASK_IX_3_SHFT                                       0
8819 #define HWIO_REO_R0_EVENTMASK_IX_3_IN(x)                             \
8820 	in_dword_masked ( HWIO_REO_R0_EVENTMASK_IX_3_ADDR(x), HWIO_REO_R0_EVENTMASK_IX_3_RMSK)
8821 #define HWIO_REO_R0_EVENTMASK_IX_3_INM(x, mask)                      \
8822 	in_dword_masked ( HWIO_REO_R0_EVENTMASK_IX_3_ADDR(x), mask)
8823 #define HWIO_REO_R0_EVENTMASK_IX_3_OUT(x, val)                       \
8824 	out_dword( HWIO_REO_R0_EVENTMASK_IX_3_ADDR(x), val)
8825 #define HWIO_REO_R0_EVENTMASK_IX_3_OUTM(x, mask, val)                \
8826 	do {\
8827 		HWIO_INTLOCK(); \
8828 		out_dword_masked_ns(HWIO_REO_R0_EVENTMASK_IX_3_ADDR(x), mask, val, HWIO_REO_R0_EVENTMASK_IX_3_IN(x)); \
8829 		HWIO_INTFREE();\
8830 	} while (0)
8831 
8832 #define HWIO_REO_R0_EVENTMASK_IX_3_MASK_BMSK                         0xffffffff
8833 #define HWIO_REO_R0_EVENTMASK_IX_3_MASK_SHFT                                0x0
8834 
8835 //// Register REO_R1_MISC_DEBUG_CTRL ////
8836 
8837 #define HWIO_REO_R1_MISC_DEBUG_CTRL_ADDR(x)                          (x+0x00002000)
8838 #define HWIO_REO_R1_MISC_DEBUG_CTRL_PHYS(x)                          (x+0x00002000)
8839 #define HWIO_REO_R1_MISC_DEBUG_CTRL_RMSK                             0xffffffff
8840 #define HWIO_REO_R1_MISC_DEBUG_CTRL_SHFT                                      0
8841 #define HWIO_REO_R1_MISC_DEBUG_CTRL_IN(x)                            \
8842 	in_dword_masked ( HWIO_REO_R1_MISC_DEBUG_CTRL_ADDR(x), HWIO_REO_R1_MISC_DEBUG_CTRL_RMSK)
8843 #define HWIO_REO_R1_MISC_DEBUG_CTRL_INM(x, mask)                     \
8844 	in_dword_masked ( HWIO_REO_R1_MISC_DEBUG_CTRL_ADDR(x), mask)
8845 #define HWIO_REO_R1_MISC_DEBUG_CTRL_OUT(x, val)                      \
8846 	out_dword( HWIO_REO_R1_MISC_DEBUG_CTRL_ADDR(x), val)
8847 #define HWIO_REO_R1_MISC_DEBUG_CTRL_OUTM(x, mask, val)               \
8848 	do {\
8849 		HWIO_INTLOCK(); \
8850 		out_dword_masked_ns(HWIO_REO_R1_MISC_DEBUG_CTRL_ADDR(x), mask, val, HWIO_REO_R1_MISC_DEBUG_CTRL_IN(x)); \
8851 		HWIO_INTFREE();\
8852 	} while (0)
8853 
8854 #define HWIO_REO_R1_MISC_DEBUG_CTRL_DISABLE_SW_EXCEPTION_BMSK        0x80000000
8855 #define HWIO_REO_R1_MISC_DEBUG_CTRL_DISABLE_SW_EXCEPTION_SHFT              0x1f
8856 
8857 #define HWIO_REO_R1_MISC_DEBUG_CTRL_IDLE_REQ_BMSK                    0x40000000
8858 #define HWIO_REO_R1_MISC_DEBUG_CTRL_IDLE_REQ_SHFT                          0x1e
8859 
8860 #define HWIO_REO_R1_MISC_DEBUG_CTRL_CMD_FIFO_RESUME_THRESH_BMSK      0x3ff00000
8861 #define HWIO_REO_R1_MISC_DEBUG_CTRL_CMD_FIFO_RESUME_THRESH_SHFT            0x14
8862 
8863 #define HWIO_REO_R1_MISC_DEBUG_CTRL_CMD_FIFO_STOP_THRESH_BMSK        0x000ffc00
8864 #define HWIO_REO_R1_MISC_DEBUG_CTRL_CMD_FIFO_STOP_THRESH_SHFT               0xa
8865 
8866 #define HWIO_REO_R1_MISC_DEBUG_CTRL_CMD_FIFO_START_THRESH_BMSK       0x000003ff
8867 #define HWIO_REO_R1_MISC_DEBUG_CTRL_CMD_FIFO_START_THRESH_SHFT              0x0
8868 
8869 //// Register REO_R1_MISC_PERF_DEBUG_CTRL ////
8870 
8871 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_ADDR(x)                     (x+0x00002004)
8872 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_PHYS(x)                     (x+0x00002004)
8873 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_RMSK                        0x00ffffff
8874 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_SHFT                                 0
8875 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_IN(x)                       \
8876 	in_dword_masked ( HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_ADDR(x), HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_RMSK)
8877 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_INM(x, mask)                \
8878 	in_dword_masked ( HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_ADDR(x), mask)
8879 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_OUT(x, val)                 \
8880 	out_dword( HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_ADDR(x), val)
8881 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_OUTM(x, mask, val)          \
8882 	do {\
8883 		HWIO_INTLOCK(); \
8884 		out_dword_masked_ns(HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_ADDR(x), mask, val, HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_IN(x)); \
8885 		HWIO_INTFREE();\
8886 	} while (0)
8887 
8888 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_RELEASE_RING_ACCUM_DELAY_BMSK 0x00fff000
8889 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_RELEASE_RING_ACCUM_DELAY_SHFT        0xc
8890 
8891 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_PROD_RING_ACCUM_DELAY_BMSK  0x00000fff
8892 #define HWIO_REO_R1_MISC_PERF_DEBUG_CTRL_PROD_RING_ACCUM_DELAY_SHFT         0x0
8893 
8894 //// Register REO_R1_CACHE_CTL_DEBUG_CONTROL ////
8895 
8896 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_ADDR(x)                  (x+0x00002008)
8897 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_PHYS(x)                  (x+0x00002008)
8898 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_RMSK                     0x000003ff
8899 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_SHFT                              0
8900 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_IN(x)                    \
8901 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_ADDR(x), HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_RMSK)
8902 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_INM(x, mask)             \
8903 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_ADDR(x), mask)
8904 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_OUT(x, val)              \
8905 	out_dword( HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_ADDR(x), val)
8906 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_OUTM(x, mask, val)       \
8907 	do {\
8908 		HWIO_INTLOCK(); \
8909 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_IN(x)); \
8910 		HWIO_INTFREE();\
8911 	} while (0)
8912 
8913 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_CACHE_CMD_HOLD_ACK_BMSK  0x00000200
8914 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_CACHE_CMD_HOLD_ACK_SHFT         0x9
8915 
8916 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_CACHE_CMD_HOLD_BMSK      0x00000100
8917 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_CACHE_CMD_HOLD_SHFT             0x8
8918 
8919 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_TAG_TABLE_UPDATE_BMSK    0x00000080
8920 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_TAG_TABLE_UPDATE_SHFT           0x7
8921 
8922 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_TAG_TABLE_SEL_BMSK       0x0000007f
8923 #define HWIO_REO_R1_CACHE_CTL_DEBUG_CONTROL_TAG_TABLE_SEL_SHFT              0x0
8924 
8925 //// Register REO_R1_CACHE_CTL_DEBUG_HIT_COUNT ////
8926 
8927 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_ADDR(x)                (x+0x0000200c)
8928 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_PHYS(x)                (x+0x0000200c)
8929 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_RMSK                   0xffffffff
8930 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_SHFT                            0
8931 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_IN(x)                  \
8932 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_ADDR(x), HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_RMSK)
8933 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_INM(x, mask)           \
8934 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_ADDR(x), mask)
8935 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_OUT(x, val)            \
8936 	out_dword( HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_ADDR(x), val)
8937 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_OUTM(x, mask, val)     \
8938 	do {\
8939 		HWIO_INTLOCK(); \
8940 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_IN(x)); \
8941 		HWIO_INTFREE();\
8942 	} while (0)
8943 
8944 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_CACHE_HIT_COUNT_BMSK   0xffffffff
8945 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HIT_COUNT_CACHE_HIT_COUNT_SHFT          0x0
8946 
8947 //// Register REO_R1_CACHE_CTL_DEBUG_MISS_COUNT ////
8948 
8949 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_ADDR(x)               (x+0x00002010)
8950 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_PHYS(x)               (x+0x00002010)
8951 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_RMSK                  0x00ffffff
8952 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_SHFT                           0
8953 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_IN(x)                 \
8954 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_ADDR(x), HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_RMSK)
8955 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_INM(x, mask)          \
8956 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_ADDR(x), mask)
8957 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_OUT(x, val)           \
8958 	out_dword( HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_ADDR(x), val)
8959 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_OUTM(x, mask, val)    \
8960 	do {\
8961 		HWIO_INTLOCK(); \
8962 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_IN(x)); \
8963 		HWIO_INTFREE();\
8964 	} while (0)
8965 
8966 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_CACHE_MISS_COUNT_BMSK 0x00ffffff
8967 #define HWIO_REO_R1_CACHE_CTL_DEBUG_MISS_COUNT_CACHE_MISS_COUNT_SHFT        0x0
8968 
8969 //// Register REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW ////
8970 
8971 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_ADDR(x)            (x+0x00002014)
8972 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_PHYS(x)            (x+0x00002014)
8973 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_RMSK               0xffffffff
8974 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_SHFT                        0
8975 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_IN(x)              \
8976 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_ADDR(x), HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_RMSK)
8977 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_INM(x, mask)       \
8978 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_ADDR(x), mask)
8979 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_OUT(x, val)        \
8980 	out_dword( HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_ADDR(x), val)
8981 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_OUTM(x, mask, val) \
8982 	do {\
8983 		HWIO_INTLOCK(); \
8984 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_IN(x)); \
8985 		HWIO_INTFREE();\
8986 	} while (0)
8987 
8988 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_OVERWRITE_BMSK     0xffffffff
8989 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_LOW_OVERWRITE_SHFT            0x0
8990 
8991 //// Register REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH ////
8992 
8993 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_ADDR(x)           (x+0x00002018)
8994 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_PHYS(x)           (x+0x00002018)
8995 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_RMSK              0x03ffffff
8996 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_SHFT                       0
8997 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_IN(x)             \
8998 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_ADDR(x), HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_RMSK)
8999 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_INM(x, mask)      \
9000 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_ADDR(x), mask)
9001 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_OUT(x, val)       \
9002 	out_dword( HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_ADDR(x), val)
9003 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_OUTM(x, mask, val) \
9004 	do {\
9005 		HWIO_INTLOCK(); \
9006 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_IN(x)); \
9007 		HWIO_INTFREE();\
9008 	} while (0)
9009 
9010 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_OVERWRITE_BMSK    0x03ffffff
9011 #define HWIO_REO_R1_CACHE_CTL_DEBUG_TAG_TABLE_HIGH_OVERWRITE_SHFT           0x0
9012 
9013 //// Register REO_R1_CACHE_CTL_DEBUG_STM ////
9014 
9015 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_ADDR(x)                      (x+0x0000201c)
9016 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_PHYS(x)                      (x+0x0000201c)
9017 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_RMSK                         0x01ffffff
9018 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_SHFT                                  0
9019 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_IN(x)                        \
9020 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_STM_ADDR(x), HWIO_REO_R1_CACHE_CTL_DEBUG_STM_RMSK)
9021 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_INM(x, mask)                 \
9022 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_STM_ADDR(x), mask)
9023 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_OUT(x, val)                  \
9024 	out_dword( HWIO_REO_R1_CACHE_CTL_DEBUG_STM_ADDR(x), val)
9025 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_OUTM(x, mask, val)           \
9026 	do {\
9027 		HWIO_INTLOCK(); \
9028 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_DEBUG_STM_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_DEBUG_STM_IN(x)); \
9029 		HWIO_INTFREE();\
9030 	} while (0)
9031 
9032 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_STATE_BMSK                   0x01ffffff
9033 #define HWIO_REO_R1_CACHE_CTL_DEBUG_STM_STATE_SHFT                          0x0
9034 
9035 //// Register REO_R1_CACHE_CTL_DEBUG_LINK_LIST ////
9036 
9037 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_ADDR(x)                (x+0x00002020)
9038 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_PHYS(x)                (x+0x00002020)
9039 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_RMSK                   0xffffffff
9040 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_SHFT                            0
9041 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_IN(x)                  \
9042 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_ADDR(x), HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_RMSK)
9043 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_INM(x, mask)           \
9044 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_ADDR(x), mask)
9045 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_OUT(x, val)            \
9046 	out_dword( HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_ADDR(x), val)
9047 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_OUTM(x, mask, val)     \
9048 	do {\
9049 		HWIO_INTLOCK(); \
9050 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_IN(x)); \
9051 		HWIO_INTFREE();\
9052 	} while (0)
9053 
9054 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_HEAD_FLAG_BMSK         0xff000000
9055 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_HEAD_FLAG_SHFT               0x18
9056 
9057 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_TAIL_FLAG_BMSK         0x00ff0000
9058 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_TAIL_FLAG_SHFT               0x10
9059 
9060 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_MRU_FLAG_BMSK          0x0000ff00
9061 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_MRU_FLAG_SHFT                 0x8
9062 
9063 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_LRU_FLAG_BMSK          0x000000ff
9064 #define HWIO_REO_R1_CACHE_CTL_DEBUG_LINK_LIST_LRU_FLAG_SHFT                 0x0
9065 
9066 //// Register REO_R1_CACHE_CTL_END_OF_TEST_CHECK ////
9067 
9068 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_ADDR(x)              (x+0x00002024)
9069 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_PHYS(x)              (x+0x00002024)
9070 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_RMSK                 0x00000001
9071 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_SHFT                          0
9072 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_IN(x)                \
9073 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_ADDR(x), HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_RMSK)
9074 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_INM(x, mask)         \
9075 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_ADDR(x), mask)
9076 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_OUT(x, val)          \
9077 	out_dword( HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_ADDR(x), val)
9078 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_OUTM(x, mask, val)   \
9079 	do {\
9080 		HWIO_INTLOCK(); \
9081 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_IN(x)); \
9082 		HWIO_INTFREE();\
9083 	} while (0)
9084 
9085 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_END_OF_TEST_SELF_CHECK_BMSK 0x00000001
9086 #define HWIO_REO_R1_CACHE_CTL_END_OF_TEST_CHECK_END_OF_TEST_SELF_CHECK_SHFT        0x0
9087 
9088 //// Register REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW ////
9089 
9090 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_ADDR(x)          (x+0x00002028)
9091 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_PHYS(x)          (x+0x00002028)
9092 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_RMSK             0xffffffff
9093 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_SHFT                      0
9094 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_IN(x)            \
9095 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_ADDR(x), HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_RMSK)
9096 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_INM(x, mask)     \
9097 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_ADDR(x), mask)
9098 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_OUT(x, val)      \
9099 	out_dword( HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_ADDR(x), val)
9100 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_OUTM(x, mask, val) \
9101 	do {\
9102 		HWIO_INTLOCK(); \
9103 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_IN(x)); \
9104 		HWIO_INTFREE();\
9105 	} while (0)
9106 
9107 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_VALUE_BMSK       0xffffffff
9108 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_LOW_VALUE_SHFT              0x0
9109 
9110 //// Register REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH ////
9111 
9112 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_ADDR(x)         (x+0x0000202c)
9113 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_PHYS(x)         (x+0x0000202c)
9114 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_RMSK            0xffffffff
9115 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_SHFT                     0
9116 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_IN(x)           \
9117 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_ADDR(x), HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_RMSK)
9118 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_INM(x, mask)    \
9119 	in_dword_masked ( HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_ADDR(x), mask)
9120 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_OUT(x, val)     \
9121 	out_dword( HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_ADDR(x), val)
9122 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_OUTM(x, mask, val) \
9123 	do {\
9124 		HWIO_INTLOCK(); \
9125 		out_dword_masked_ns(HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_ADDR(x), mask, val, HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_IN(x)); \
9126 		HWIO_INTFREE();\
9127 	} while (0)
9128 
9129 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_VALUE_BMSK      0xffffffff
9130 #define HWIO_REO_R1_CACHE_CTL_DEBUG_HW_ERR_INFO_HIGH_VALUE_SHFT             0x0
9131 
9132 //// Register REO_R1_END_OF_TEST_CHECK ////
9133 
9134 #define HWIO_REO_R1_END_OF_TEST_CHECK_ADDR(x)                        (x+0x00002030)
9135 #define HWIO_REO_R1_END_OF_TEST_CHECK_PHYS(x)                        (x+0x00002030)
9136 #define HWIO_REO_R1_END_OF_TEST_CHECK_RMSK                           0x00000001
9137 #define HWIO_REO_R1_END_OF_TEST_CHECK_SHFT                                    0
9138 #define HWIO_REO_R1_END_OF_TEST_CHECK_IN(x)                          \
9139 	in_dword_masked ( HWIO_REO_R1_END_OF_TEST_CHECK_ADDR(x), HWIO_REO_R1_END_OF_TEST_CHECK_RMSK)
9140 #define HWIO_REO_R1_END_OF_TEST_CHECK_INM(x, mask)                   \
9141 	in_dword_masked ( HWIO_REO_R1_END_OF_TEST_CHECK_ADDR(x), mask)
9142 #define HWIO_REO_R1_END_OF_TEST_CHECK_OUT(x, val)                    \
9143 	out_dword( HWIO_REO_R1_END_OF_TEST_CHECK_ADDR(x), val)
9144 #define HWIO_REO_R1_END_OF_TEST_CHECK_OUTM(x, mask, val)             \
9145 	do {\
9146 		HWIO_INTLOCK(); \
9147 		out_dword_masked_ns(HWIO_REO_R1_END_OF_TEST_CHECK_ADDR(x), mask, val, HWIO_REO_R1_END_OF_TEST_CHECK_IN(x)); \
9148 		HWIO_INTFREE();\
9149 	} while (0)
9150 
9151 #define HWIO_REO_R1_END_OF_TEST_CHECK_END_OF_TEST_SELF_CHECK_BMSK    0x00000001
9152 #define HWIO_REO_R1_END_OF_TEST_CHECK_END_OF_TEST_SELF_CHECK_SHFT           0x0
9153 
9154 //// Register REO_R1_SM_ALL_IDLE ////
9155 
9156 #define HWIO_REO_R1_SM_ALL_IDLE_ADDR(x)                              (x+0x00002034)
9157 #define HWIO_REO_R1_SM_ALL_IDLE_PHYS(x)                              (x+0x00002034)
9158 #define HWIO_REO_R1_SM_ALL_IDLE_RMSK                                 0x00000007
9159 #define HWIO_REO_R1_SM_ALL_IDLE_SHFT                                          0
9160 #define HWIO_REO_R1_SM_ALL_IDLE_IN(x)                                \
9161 	in_dword_masked ( HWIO_REO_R1_SM_ALL_IDLE_ADDR(x), HWIO_REO_R1_SM_ALL_IDLE_RMSK)
9162 #define HWIO_REO_R1_SM_ALL_IDLE_INM(x, mask)                         \
9163 	in_dword_masked ( HWIO_REO_R1_SM_ALL_IDLE_ADDR(x), mask)
9164 #define HWIO_REO_R1_SM_ALL_IDLE_OUT(x, val)                          \
9165 	out_dword( HWIO_REO_R1_SM_ALL_IDLE_ADDR(x), val)
9166 #define HWIO_REO_R1_SM_ALL_IDLE_OUTM(x, mask, val)                   \
9167 	do {\
9168 		HWIO_INTLOCK(); \
9169 		out_dword_masked_ns(HWIO_REO_R1_SM_ALL_IDLE_ADDR(x), mask, val, HWIO_REO_R1_SM_ALL_IDLE_IN(x)); \
9170 		HWIO_INTFREE();\
9171 	} while (0)
9172 
9173 #define HWIO_REO_R1_SM_ALL_IDLE_REO_ENTRANCE_RINGS_NOT_EMPTY_BMSK    0x00000004
9174 #define HWIO_REO_R1_SM_ALL_IDLE_REO_ENTRANCE_RINGS_NOT_EMPTY_SHFT           0x2
9175 
9176 #define HWIO_REO_R1_SM_ALL_IDLE_REO_IN_IDLE_BMSK                     0x00000002
9177 #define HWIO_REO_R1_SM_ALL_IDLE_REO_IN_IDLE_SHFT                            0x1
9178 
9179 #define HWIO_REO_R1_SM_ALL_IDLE_ALL_STATES_IN_IDLE_BMSK              0x00000001
9180 #define HWIO_REO_R1_SM_ALL_IDLE_ALL_STATES_IN_IDLE_SHFT                     0x0
9181 
9182 //// Register REO_R1_TESTBUS_CTRL ////
9183 
9184 #define HWIO_REO_R1_TESTBUS_CTRL_ADDR(x)                             (x+0x00002038)
9185 #define HWIO_REO_R1_TESTBUS_CTRL_PHYS(x)                             (x+0x00002038)
9186 #define HWIO_REO_R1_TESTBUS_CTRL_RMSK                                0x0000007f
9187 #define HWIO_REO_R1_TESTBUS_CTRL_SHFT                                         0
9188 #define HWIO_REO_R1_TESTBUS_CTRL_IN(x)                               \
9189 	in_dword_masked ( HWIO_REO_R1_TESTBUS_CTRL_ADDR(x), HWIO_REO_R1_TESTBUS_CTRL_RMSK)
9190 #define HWIO_REO_R1_TESTBUS_CTRL_INM(x, mask)                        \
9191 	in_dword_masked ( HWIO_REO_R1_TESTBUS_CTRL_ADDR(x), mask)
9192 #define HWIO_REO_R1_TESTBUS_CTRL_OUT(x, val)                         \
9193 	out_dword( HWIO_REO_R1_TESTBUS_CTRL_ADDR(x), val)
9194 #define HWIO_REO_R1_TESTBUS_CTRL_OUTM(x, mask, val)                  \
9195 	do {\
9196 		HWIO_INTLOCK(); \
9197 		out_dword_masked_ns(HWIO_REO_R1_TESTBUS_CTRL_ADDR(x), mask, val, HWIO_REO_R1_TESTBUS_CTRL_IN(x)); \
9198 		HWIO_INTFREE();\
9199 	} while (0)
9200 
9201 #define HWIO_REO_R1_TESTBUS_CTRL_TESTBUS_SELECT_BMSK                 0x0000007f
9202 #define HWIO_REO_R1_TESTBUS_CTRL_TESTBUS_SELECT_SHFT                        0x0
9203 
9204 //// Register REO_R1_TESTBUS_LOWER ////
9205 
9206 #define HWIO_REO_R1_TESTBUS_LOWER_ADDR(x)                            (x+0x0000203c)
9207 #define HWIO_REO_R1_TESTBUS_LOWER_PHYS(x)                            (x+0x0000203c)
9208 #define HWIO_REO_R1_TESTBUS_LOWER_RMSK                               0xffffffff
9209 #define HWIO_REO_R1_TESTBUS_LOWER_SHFT                                        0
9210 #define HWIO_REO_R1_TESTBUS_LOWER_IN(x)                              \
9211 	in_dword_masked ( HWIO_REO_R1_TESTBUS_LOWER_ADDR(x), HWIO_REO_R1_TESTBUS_LOWER_RMSK)
9212 #define HWIO_REO_R1_TESTBUS_LOWER_INM(x, mask)                       \
9213 	in_dword_masked ( HWIO_REO_R1_TESTBUS_LOWER_ADDR(x), mask)
9214 #define HWIO_REO_R1_TESTBUS_LOWER_OUT(x, val)                        \
9215 	out_dword( HWIO_REO_R1_TESTBUS_LOWER_ADDR(x), val)
9216 #define HWIO_REO_R1_TESTBUS_LOWER_OUTM(x, mask, val)                 \
9217 	do {\
9218 		HWIO_INTLOCK(); \
9219 		out_dword_masked_ns(HWIO_REO_R1_TESTBUS_LOWER_ADDR(x), mask, val, HWIO_REO_R1_TESTBUS_LOWER_IN(x)); \
9220 		HWIO_INTFREE();\
9221 	} while (0)
9222 
9223 #define HWIO_REO_R1_TESTBUS_LOWER_VALUE_BMSK                         0xffffffff
9224 #define HWIO_REO_R1_TESTBUS_LOWER_VALUE_SHFT                                0x0
9225 
9226 //// Register REO_R1_TESTBUS_HIGHER ////
9227 
9228 #define HWIO_REO_R1_TESTBUS_HIGHER_ADDR(x)                           (x+0x00002040)
9229 #define HWIO_REO_R1_TESTBUS_HIGHER_PHYS(x)                           (x+0x00002040)
9230 #define HWIO_REO_R1_TESTBUS_HIGHER_RMSK                              0x000000ff
9231 #define HWIO_REO_R1_TESTBUS_HIGHER_SHFT                                       0
9232 #define HWIO_REO_R1_TESTBUS_HIGHER_IN(x)                             \
9233 	in_dword_masked ( HWIO_REO_R1_TESTBUS_HIGHER_ADDR(x), HWIO_REO_R1_TESTBUS_HIGHER_RMSK)
9234 #define HWIO_REO_R1_TESTBUS_HIGHER_INM(x, mask)                      \
9235 	in_dword_masked ( HWIO_REO_R1_TESTBUS_HIGHER_ADDR(x), mask)
9236 #define HWIO_REO_R1_TESTBUS_HIGHER_OUT(x, val)                       \
9237 	out_dword( HWIO_REO_R1_TESTBUS_HIGHER_ADDR(x), val)
9238 #define HWIO_REO_R1_TESTBUS_HIGHER_OUTM(x, mask, val)                \
9239 	do {\
9240 		HWIO_INTLOCK(); \
9241 		out_dword_masked_ns(HWIO_REO_R1_TESTBUS_HIGHER_ADDR(x), mask, val, HWIO_REO_R1_TESTBUS_HIGHER_IN(x)); \
9242 		HWIO_INTFREE();\
9243 	} while (0)
9244 
9245 #define HWIO_REO_R1_TESTBUS_HIGHER_VALUE_BMSK                        0x000000ff
9246 #define HWIO_REO_R1_TESTBUS_HIGHER_VALUE_SHFT                               0x0
9247 
9248 //// Register REO_R1_SM_STATES_IX_0 ////
9249 
9250 #define HWIO_REO_R1_SM_STATES_IX_0_ADDR(x)                           (x+0x00002044)
9251 #define HWIO_REO_R1_SM_STATES_IX_0_PHYS(x)                           (x+0x00002044)
9252 #define HWIO_REO_R1_SM_STATES_IX_0_RMSK                              0xffffffff
9253 #define HWIO_REO_R1_SM_STATES_IX_0_SHFT                                       0
9254 #define HWIO_REO_R1_SM_STATES_IX_0_IN(x)                             \
9255 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_0_ADDR(x), HWIO_REO_R1_SM_STATES_IX_0_RMSK)
9256 #define HWIO_REO_R1_SM_STATES_IX_0_INM(x, mask)                      \
9257 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_0_ADDR(x), mask)
9258 #define HWIO_REO_R1_SM_STATES_IX_0_OUT(x, val)                       \
9259 	out_dword( HWIO_REO_R1_SM_STATES_IX_0_ADDR(x), val)
9260 #define HWIO_REO_R1_SM_STATES_IX_0_OUTM(x, mask, val)                \
9261 	do {\
9262 		HWIO_INTLOCK(); \
9263 		out_dword_masked_ns(HWIO_REO_R1_SM_STATES_IX_0_ADDR(x), mask, val, HWIO_REO_R1_SM_STATES_IX_0_IN(x)); \
9264 		HWIO_INTFREE();\
9265 	} while (0)
9266 
9267 #define HWIO_REO_R1_SM_STATES_IX_0_SM_STATE_BMSK                     0xffffffff
9268 #define HWIO_REO_R1_SM_STATES_IX_0_SM_STATE_SHFT                            0x0
9269 
9270 //// Register REO_R1_SM_STATES_IX_1 ////
9271 
9272 #define HWIO_REO_R1_SM_STATES_IX_1_ADDR(x)                           (x+0x00002048)
9273 #define HWIO_REO_R1_SM_STATES_IX_1_PHYS(x)                           (x+0x00002048)
9274 #define HWIO_REO_R1_SM_STATES_IX_1_RMSK                              0xffffffff
9275 #define HWIO_REO_R1_SM_STATES_IX_1_SHFT                                       0
9276 #define HWIO_REO_R1_SM_STATES_IX_1_IN(x)                             \
9277 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_1_ADDR(x), HWIO_REO_R1_SM_STATES_IX_1_RMSK)
9278 #define HWIO_REO_R1_SM_STATES_IX_1_INM(x, mask)                      \
9279 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_1_ADDR(x), mask)
9280 #define HWIO_REO_R1_SM_STATES_IX_1_OUT(x, val)                       \
9281 	out_dword( HWIO_REO_R1_SM_STATES_IX_1_ADDR(x), val)
9282 #define HWIO_REO_R1_SM_STATES_IX_1_OUTM(x, mask, val)                \
9283 	do {\
9284 		HWIO_INTLOCK(); \
9285 		out_dword_masked_ns(HWIO_REO_R1_SM_STATES_IX_1_ADDR(x), mask, val, HWIO_REO_R1_SM_STATES_IX_1_IN(x)); \
9286 		HWIO_INTFREE();\
9287 	} while (0)
9288 
9289 #define HWIO_REO_R1_SM_STATES_IX_1_SM_STATE_BMSK                     0xffffffff
9290 #define HWIO_REO_R1_SM_STATES_IX_1_SM_STATE_SHFT                            0x0
9291 
9292 //// Register REO_R1_SM_STATES_IX_2 ////
9293 
9294 #define HWIO_REO_R1_SM_STATES_IX_2_ADDR(x)                           (x+0x0000204c)
9295 #define HWIO_REO_R1_SM_STATES_IX_2_PHYS(x)                           (x+0x0000204c)
9296 #define HWIO_REO_R1_SM_STATES_IX_2_RMSK                              0xffffffff
9297 #define HWIO_REO_R1_SM_STATES_IX_2_SHFT                                       0
9298 #define HWIO_REO_R1_SM_STATES_IX_2_IN(x)                             \
9299 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_2_ADDR(x), HWIO_REO_R1_SM_STATES_IX_2_RMSK)
9300 #define HWIO_REO_R1_SM_STATES_IX_2_INM(x, mask)                      \
9301 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_2_ADDR(x), mask)
9302 #define HWIO_REO_R1_SM_STATES_IX_2_OUT(x, val)                       \
9303 	out_dword( HWIO_REO_R1_SM_STATES_IX_2_ADDR(x), val)
9304 #define HWIO_REO_R1_SM_STATES_IX_2_OUTM(x, mask, val)                \
9305 	do {\
9306 		HWIO_INTLOCK(); \
9307 		out_dword_masked_ns(HWIO_REO_R1_SM_STATES_IX_2_ADDR(x), mask, val, HWIO_REO_R1_SM_STATES_IX_2_IN(x)); \
9308 		HWIO_INTFREE();\
9309 	} while (0)
9310 
9311 #define HWIO_REO_R1_SM_STATES_IX_2_SM_STATE_BMSK                     0xffffffff
9312 #define HWIO_REO_R1_SM_STATES_IX_2_SM_STATE_SHFT                            0x0
9313 
9314 //// Register REO_R1_SM_STATES_IX_3 ////
9315 
9316 #define HWIO_REO_R1_SM_STATES_IX_3_ADDR(x)                           (x+0x00002050)
9317 #define HWIO_REO_R1_SM_STATES_IX_3_PHYS(x)                           (x+0x00002050)
9318 #define HWIO_REO_R1_SM_STATES_IX_3_RMSK                              0xffffffff
9319 #define HWIO_REO_R1_SM_STATES_IX_3_SHFT                                       0
9320 #define HWIO_REO_R1_SM_STATES_IX_3_IN(x)                             \
9321 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_3_ADDR(x), HWIO_REO_R1_SM_STATES_IX_3_RMSK)
9322 #define HWIO_REO_R1_SM_STATES_IX_3_INM(x, mask)                      \
9323 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_3_ADDR(x), mask)
9324 #define HWIO_REO_R1_SM_STATES_IX_3_OUT(x, val)                       \
9325 	out_dword( HWIO_REO_R1_SM_STATES_IX_3_ADDR(x), val)
9326 #define HWIO_REO_R1_SM_STATES_IX_3_OUTM(x, mask, val)                \
9327 	do {\
9328 		HWIO_INTLOCK(); \
9329 		out_dword_masked_ns(HWIO_REO_R1_SM_STATES_IX_3_ADDR(x), mask, val, HWIO_REO_R1_SM_STATES_IX_3_IN(x)); \
9330 		HWIO_INTFREE();\
9331 	} while (0)
9332 
9333 #define HWIO_REO_R1_SM_STATES_IX_3_SM_STATE_BMSK                     0xffffffff
9334 #define HWIO_REO_R1_SM_STATES_IX_3_SM_STATE_SHFT                            0x0
9335 
9336 //// Register REO_R1_SM_STATES_IX_4 ////
9337 
9338 #define HWIO_REO_R1_SM_STATES_IX_4_ADDR(x)                           (x+0x00002054)
9339 #define HWIO_REO_R1_SM_STATES_IX_4_PHYS(x)                           (x+0x00002054)
9340 #define HWIO_REO_R1_SM_STATES_IX_4_RMSK                              0xffffffff
9341 #define HWIO_REO_R1_SM_STATES_IX_4_SHFT                                       0
9342 #define HWIO_REO_R1_SM_STATES_IX_4_IN(x)                             \
9343 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_4_ADDR(x), HWIO_REO_R1_SM_STATES_IX_4_RMSK)
9344 #define HWIO_REO_R1_SM_STATES_IX_4_INM(x, mask)                      \
9345 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_4_ADDR(x), mask)
9346 #define HWIO_REO_R1_SM_STATES_IX_4_OUT(x, val)                       \
9347 	out_dword( HWIO_REO_R1_SM_STATES_IX_4_ADDR(x), val)
9348 #define HWIO_REO_R1_SM_STATES_IX_4_OUTM(x, mask, val)                \
9349 	do {\
9350 		HWIO_INTLOCK(); \
9351 		out_dword_masked_ns(HWIO_REO_R1_SM_STATES_IX_4_ADDR(x), mask, val, HWIO_REO_R1_SM_STATES_IX_4_IN(x)); \
9352 		HWIO_INTFREE();\
9353 	} while (0)
9354 
9355 #define HWIO_REO_R1_SM_STATES_IX_4_SM_STATE_BMSK                     0xffffffff
9356 #define HWIO_REO_R1_SM_STATES_IX_4_SM_STATE_SHFT                            0x0
9357 
9358 //// Register REO_R1_SM_STATES_IX_5 ////
9359 
9360 #define HWIO_REO_R1_SM_STATES_IX_5_ADDR(x)                           (x+0x00002058)
9361 #define HWIO_REO_R1_SM_STATES_IX_5_PHYS(x)                           (x+0x00002058)
9362 #define HWIO_REO_R1_SM_STATES_IX_5_RMSK                              0xffffffff
9363 #define HWIO_REO_R1_SM_STATES_IX_5_SHFT                                       0
9364 #define HWIO_REO_R1_SM_STATES_IX_5_IN(x)                             \
9365 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_5_ADDR(x), HWIO_REO_R1_SM_STATES_IX_5_RMSK)
9366 #define HWIO_REO_R1_SM_STATES_IX_5_INM(x, mask)                      \
9367 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_5_ADDR(x), mask)
9368 #define HWIO_REO_R1_SM_STATES_IX_5_OUT(x, val)                       \
9369 	out_dword( HWIO_REO_R1_SM_STATES_IX_5_ADDR(x), val)
9370 #define HWIO_REO_R1_SM_STATES_IX_5_OUTM(x, mask, val)                \
9371 	do {\
9372 		HWIO_INTLOCK(); \
9373 		out_dword_masked_ns(HWIO_REO_R1_SM_STATES_IX_5_ADDR(x), mask, val, HWIO_REO_R1_SM_STATES_IX_5_IN(x)); \
9374 		HWIO_INTFREE();\
9375 	} while (0)
9376 
9377 #define HWIO_REO_R1_SM_STATES_IX_5_SM_STATE_BMSK                     0xffffffff
9378 #define HWIO_REO_R1_SM_STATES_IX_5_SM_STATE_SHFT                            0x0
9379 
9380 //// Register REO_R1_SM_STATES_IX_6 ////
9381 
9382 #define HWIO_REO_R1_SM_STATES_IX_6_ADDR(x)                           (x+0x0000205c)
9383 #define HWIO_REO_R1_SM_STATES_IX_6_PHYS(x)                           (x+0x0000205c)
9384 #define HWIO_REO_R1_SM_STATES_IX_6_RMSK                              0xffffffff
9385 #define HWIO_REO_R1_SM_STATES_IX_6_SHFT                                       0
9386 #define HWIO_REO_R1_SM_STATES_IX_6_IN(x)                             \
9387 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_6_ADDR(x), HWIO_REO_R1_SM_STATES_IX_6_RMSK)
9388 #define HWIO_REO_R1_SM_STATES_IX_6_INM(x, mask)                      \
9389 	in_dword_masked ( HWIO_REO_R1_SM_STATES_IX_6_ADDR(x), mask)
9390 #define HWIO_REO_R1_SM_STATES_IX_6_OUT(x, val)                       \
9391 	out_dword( HWIO_REO_R1_SM_STATES_IX_6_ADDR(x), val)
9392 #define HWIO_REO_R1_SM_STATES_IX_6_OUTM(x, mask, val)                \
9393 	do {\
9394 		HWIO_INTLOCK(); \
9395 		out_dword_masked_ns(HWIO_REO_R1_SM_STATES_IX_6_ADDR(x), mask, val, HWIO_REO_R1_SM_STATES_IX_6_IN(x)); \
9396 		HWIO_INTFREE();\
9397 	} while (0)
9398 
9399 #define HWIO_REO_R1_SM_STATES_IX_6_SM_STATE_BMSK                     0xffffffff
9400 #define HWIO_REO_R1_SM_STATES_IX_6_SM_STATE_SHFT                            0x0
9401 
9402 //// Register REO_R1_IDLE_STATES_IX_0 ////
9403 
9404 #define HWIO_REO_R1_IDLE_STATES_IX_0_ADDR(x)                         (x+0x00002060)
9405 #define HWIO_REO_R1_IDLE_STATES_IX_0_PHYS(x)                         (x+0x00002060)
9406 #define HWIO_REO_R1_IDLE_STATES_IX_0_RMSK                            0xffffffff
9407 #define HWIO_REO_R1_IDLE_STATES_IX_0_SHFT                                     0
9408 #define HWIO_REO_R1_IDLE_STATES_IX_0_IN(x)                           \
9409 	in_dword_masked ( HWIO_REO_R1_IDLE_STATES_IX_0_ADDR(x), HWIO_REO_R1_IDLE_STATES_IX_0_RMSK)
9410 #define HWIO_REO_R1_IDLE_STATES_IX_0_INM(x, mask)                    \
9411 	in_dword_masked ( HWIO_REO_R1_IDLE_STATES_IX_0_ADDR(x), mask)
9412 #define HWIO_REO_R1_IDLE_STATES_IX_0_OUT(x, val)                     \
9413 	out_dword( HWIO_REO_R1_IDLE_STATES_IX_0_ADDR(x), val)
9414 #define HWIO_REO_R1_IDLE_STATES_IX_0_OUTM(x, mask, val)              \
9415 	do {\
9416 		HWIO_INTLOCK(); \
9417 		out_dword_masked_ns(HWIO_REO_R1_IDLE_STATES_IX_0_ADDR(x), mask, val, HWIO_REO_R1_IDLE_STATES_IX_0_IN(x)); \
9418 		HWIO_INTFREE();\
9419 	} while (0)
9420 
9421 #define HWIO_REO_R1_IDLE_STATES_IX_0_IDLE_STATE_BMSK                 0xffffffff
9422 #define HWIO_REO_R1_IDLE_STATES_IX_0_IDLE_STATE_SHFT                        0x0
9423 
9424 //// Register REO_R1_INVALID_APB_ACCESS ////
9425 
9426 #define HWIO_REO_R1_INVALID_APB_ACCESS_ADDR(x)                       (x+0x00002064)
9427 #define HWIO_REO_R1_INVALID_APB_ACCESS_PHYS(x)                       (x+0x00002064)
9428 #define HWIO_REO_R1_INVALID_APB_ACCESS_RMSK                          0x0007ffff
9429 #define HWIO_REO_R1_INVALID_APB_ACCESS_SHFT                                   0
9430 #define HWIO_REO_R1_INVALID_APB_ACCESS_IN(x)                         \
9431 	in_dword_masked ( HWIO_REO_R1_INVALID_APB_ACCESS_ADDR(x), HWIO_REO_R1_INVALID_APB_ACCESS_RMSK)
9432 #define HWIO_REO_R1_INVALID_APB_ACCESS_INM(x, mask)                  \
9433 	in_dword_masked ( HWIO_REO_R1_INVALID_APB_ACCESS_ADDR(x), mask)
9434 #define HWIO_REO_R1_INVALID_APB_ACCESS_OUT(x, val)                   \
9435 	out_dword( HWIO_REO_R1_INVALID_APB_ACCESS_ADDR(x), val)
9436 #define HWIO_REO_R1_INVALID_APB_ACCESS_OUTM(x, mask, val)            \
9437 	do {\
9438 		HWIO_INTLOCK(); \
9439 		out_dword_masked_ns(HWIO_REO_R1_INVALID_APB_ACCESS_ADDR(x), mask, val, HWIO_REO_R1_INVALID_APB_ACCESS_IN(x)); \
9440 		HWIO_INTFREE();\
9441 	} while (0)
9442 
9443 #define HWIO_REO_R1_INVALID_APB_ACCESS_ERR_TYPE_BMSK                 0x00060000
9444 #define HWIO_REO_R1_INVALID_APB_ACCESS_ERR_TYPE_SHFT                       0x11
9445 
9446 #define HWIO_REO_R1_INVALID_APB_ACCESS_ERR_ADDR_BMSK                 0x0001ffff
9447 #define HWIO_REO_R1_INVALID_APB_ACCESS_ERR_ADDR_SHFT                        0x0
9448 
9449 //// Register REO_R2_RXDMA2REO0_RING_HP ////
9450 
9451 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_ADDR(x)                       (x+0x00003000)
9452 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_PHYS(x)                       (x+0x00003000)
9453 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_RMSK                          0x0000ffff
9454 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_SHFT                                   0
9455 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_IN(x)                         \
9456 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO0_RING_HP_ADDR(x), HWIO_REO_R2_RXDMA2REO0_RING_HP_RMSK)
9457 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_INM(x, mask)                  \
9458 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO0_RING_HP_ADDR(x), mask)
9459 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_OUT(x, val)                   \
9460 	out_dword( HWIO_REO_R2_RXDMA2REO0_RING_HP_ADDR(x), val)
9461 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_OUTM(x, mask, val)            \
9462 	do {\
9463 		HWIO_INTLOCK(); \
9464 		out_dword_masked_ns(HWIO_REO_R2_RXDMA2REO0_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_RXDMA2REO0_RING_HP_IN(x)); \
9465 		HWIO_INTFREE();\
9466 	} while (0)
9467 
9468 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_HEAD_PTR_BMSK                 0x0000ffff
9469 #define HWIO_REO_R2_RXDMA2REO0_RING_HP_HEAD_PTR_SHFT                        0x0
9470 
9471 //// Register REO_R2_RXDMA2REO0_RING_TP ////
9472 
9473 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_ADDR(x)                       (x+0x00003004)
9474 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_PHYS(x)                       (x+0x00003004)
9475 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_RMSK                          0x0000ffff
9476 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_SHFT                                   0
9477 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_IN(x)                         \
9478 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO0_RING_TP_ADDR(x), HWIO_REO_R2_RXDMA2REO0_RING_TP_RMSK)
9479 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_INM(x, mask)                  \
9480 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO0_RING_TP_ADDR(x), mask)
9481 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_OUT(x, val)                   \
9482 	out_dword( HWIO_REO_R2_RXDMA2REO0_RING_TP_ADDR(x), val)
9483 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_OUTM(x, mask, val)            \
9484 	do {\
9485 		HWIO_INTLOCK(); \
9486 		out_dword_masked_ns(HWIO_REO_R2_RXDMA2REO0_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_RXDMA2REO0_RING_TP_IN(x)); \
9487 		HWIO_INTFREE();\
9488 	} while (0)
9489 
9490 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_TAIL_PTR_BMSK                 0x0000ffff
9491 #define HWIO_REO_R2_RXDMA2REO0_RING_TP_TAIL_PTR_SHFT                        0x0
9492 
9493 //// Register REO_R2_RXDMA2REO1_RING_HP ////
9494 
9495 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_ADDR(x)                       (x+0x00003008)
9496 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_PHYS(x)                       (x+0x00003008)
9497 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_RMSK                          0x0000ffff
9498 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_SHFT                                   0
9499 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_IN(x)                         \
9500 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO1_RING_HP_ADDR(x), HWIO_REO_R2_RXDMA2REO1_RING_HP_RMSK)
9501 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_INM(x, mask)                  \
9502 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO1_RING_HP_ADDR(x), mask)
9503 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_OUT(x, val)                   \
9504 	out_dword( HWIO_REO_R2_RXDMA2REO1_RING_HP_ADDR(x), val)
9505 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_OUTM(x, mask, val)            \
9506 	do {\
9507 		HWIO_INTLOCK(); \
9508 		out_dword_masked_ns(HWIO_REO_R2_RXDMA2REO1_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_RXDMA2REO1_RING_HP_IN(x)); \
9509 		HWIO_INTFREE();\
9510 	} while (0)
9511 
9512 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_HEAD_PTR_BMSK                 0x0000ffff
9513 #define HWIO_REO_R2_RXDMA2REO1_RING_HP_HEAD_PTR_SHFT                        0x0
9514 
9515 //// Register REO_R2_RXDMA2REO1_RING_TP ////
9516 
9517 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_ADDR(x)                       (x+0x0000300c)
9518 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_PHYS(x)                       (x+0x0000300c)
9519 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_RMSK                          0x0000ffff
9520 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_SHFT                                   0
9521 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_IN(x)                         \
9522 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO1_RING_TP_ADDR(x), HWIO_REO_R2_RXDMA2REO1_RING_TP_RMSK)
9523 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_INM(x, mask)                  \
9524 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO1_RING_TP_ADDR(x), mask)
9525 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_OUT(x, val)                   \
9526 	out_dword( HWIO_REO_R2_RXDMA2REO1_RING_TP_ADDR(x), val)
9527 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_OUTM(x, mask, val)            \
9528 	do {\
9529 		HWIO_INTLOCK(); \
9530 		out_dword_masked_ns(HWIO_REO_R2_RXDMA2REO1_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_RXDMA2REO1_RING_TP_IN(x)); \
9531 		HWIO_INTFREE();\
9532 	} while (0)
9533 
9534 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_TAIL_PTR_BMSK                 0x0000ffff
9535 #define HWIO_REO_R2_RXDMA2REO1_RING_TP_TAIL_PTR_SHFT                        0x0
9536 
9537 //// Register REO_R2_RXDMA2REO2_RING_HP ////
9538 
9539 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_ADDR(x)                       (x+0x00003010)
9540 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_PHYS(x)                       (x+0x00003010)
9541 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_RMSK                          0x0000ffff
9542 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_SHFT                                   0
9543 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_IN(x)                         \
9544 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO2_RING_HP_ADDR(x), HWIO_REO_R2_RXDMA2REO2_RING_HP_RMSK)
9545 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_INM(x, mask)                  \
9546 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO2_RING_HP_ADDR(x), mask)
9547 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_OUT(x, val)                   \
9548 	out_dword( HWIO_REO_R2_RXDMA2REO2_RING_HP_ADDR(x), val)
9549 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_OUTM(x, mask, val)            \
9550 	do {\
9551 		HWIO_INTLOCK(); \
9552 		out_dword_masked_ns(HWIO_REO_R2_RXDMA2REO2_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_RXDMA2REO2_RING_HP_IN(x)); \
9553 		HWIO_INTFREE();\
9554 	} while (0)
9555 
9556 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_HEAD_PTR_BMSK                 0x0000ffff
9557 #define HWIO_REO_R2_RXDMA2REO2_RING_HP_HEAD_PTR_SHFT                        0x0
9558 
9559 //// Register REO_R2_RXDMA2REO2_RING_TP ////
9560 
9561 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_ADDR(x)                       (x+0x00003014)
9562 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_PHYS(x)                       (x+0x00003014)
9563 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_RMSK                          0x0000ffff
9564 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_SHFT                                   0
9565 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_IN(x)                         \
9566 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO2_RING_TP_ADDR(x), HWIO_REO_R2_RXDMA2REO2_RING_TP_RMSK)
9567 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_INM(x, mask)                  \
9568 	in_dword_masked ( HWIO_REO_R2_RXDMA2REO2_RING_TP_ADDR(x), mask)
9569 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_OUT(x, val)                   \
9570 	out_dword( HWIO_REO_R2_RXDMA2REO2_RING_TP_ADDR(x), val)
9571 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_OUTM(x, mask, val)            \
9572 	do {\
9573 		HWIO_INTLOCK(); \
9574 		out_dword_masked_ns(HWIO_REO_R2_RXDMA2REO2_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_RXDMA2REO2_RING_TP_IN(x)); \
9575 		HWIO_INTFREE();\
9576 	} while (0)
9577 
9578 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_TAIL_PTR_BMSK                 0x0000ffff
9579 #define HWIO_REO_R2_RXDMA2REO2_RING_TP_TAIL_PTR_SHFT                        0x0
9580 
9581 //// Register REO_R2_WBM2REO_LINK_RING_HP ////
9582 
9583 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_ADDR(x)                     (x+0x00003018)
9584 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_PHYS(x)                     (x+0x00003018)
9585 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_RMSK                        0x0000ffff
9586 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_SHFT                                 0
9587 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_IN(x)                       \
9588 	in_dword_masked ( HWIO_REO_R2_WBM2REO_LINK_RING_HP_ADDR(x), HWIO_REO_R2_WBM2REO_LINK_RING_HP_RMSK)
9589 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_INM(x, mask)                \
9590 	in_dword_masked ( HWIO_REO_R2_WBM2REO_LINK_RING_HP_ADDR(x), mask)
9591 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_OUT(x, val)                 \
9592 	out_dword( HWIO_REO_R2_WBM2REO_LINK_RING_HP_ADDR(x), val)
9593 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_OUTM(x, mask, val)          \
9594 	do {\
9595 		HWIO_INTLOCK(); \
9596 		out_dword_masked_ns(HWIO_REO_R2_WBM2REO_LINK_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_WBM2REO_LINK_RING_HP_IN(x)); \
9597 		HWIO_INTFREE();\
9598 	} while (0)
9599 
9600 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_HEAD_PTR_BMSK               0x0000ffff
9601 #define HWIO_REO_R2_WBM2REO_LINK_RING_HP_HEAD_PTR_SHFT                      0x0
9602 
9603 //// Register REO_R2_WBM2REO_LINK_RING_TP ////
9604 
9605 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_ADDR(x)                     (x+0x0000301c)
9606 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_PHYS(x)                     (x+0x0000301c)
9607 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_RMSK                        0x0000ffff
9608 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_SHFT                                 0
9609 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_IN(x)                       \
9610 	in_dword_masked ( HWIO_REO_R2_WBM2REO_LINK_RING_TP_ADDR(x), HWIO_REO_R2_WBM2REO_LINK_RING_TP_RMSK)
9611 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_INM(x, mask)                \
9612 	in_dword_masked ( HWIO_REO_R2_WBM2REO_LINK_RING_TP_ADDR(x), mask)
9613 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_OUT(x, val)                 \
9614 	out_dword( HWIO_REO_R2_WBM2REO_LINK_RING_TP_ADDR(x), val)
9615 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_OUTM(x, mask, val)          \
9616 	do {\
9617 		HWIO_INTLOCK(); \
9618 		out_dword_masked_ns(HWIO_REO_R2_WBM2REO_LINK_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_WBM2REO_LINK_RING_TP_IN(x)); \
9619 		HWIO_INTFREE();\
9620 	} while (0)
9621 
9622 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_TAIL_PTR_BMSK               0x0000ffff
9623 #define HWIO_REO_R2_WBM2REO_LINK_RING_TP_TAIL_PTR_SHFT                      0x0
9624 
9625 //// Register REO_R2_REO_CMD_RING_HP ////
9626 
9627 #define HWIO_REO_R2_REO_CMD_RING_HP_ADDR(x)                          (x+0x00003020)
9628 #define HWIO_REO_R2_REO_CMD_RING_HP_PHYS(x)                          (x+0x00003020)
9629 #define HWIO_REO_R2_REO_CMD_RING_HP_RMSK                             0x0000ffff
9630 #define HWIO_REO_R2_REO_CMD_RING_HP_SHFT                                      0
9631 #define HWIO_REO_R2_REO_CMD_RING_HP_IN(x)                            \
9632 	in_dword_masked ( HWIO_REO_R2_REO_CMD_RING_HP_ADDR(x), HWIO_REO_R2_REO_CMD_RING_HP_RMSK)
9633 #define HWIO_REO_R2_REO_CMD_RING_HP_INM(x, mask)                     \
9634 	in_dword_masked ( HWIO_REO_R2_REO_CMD_RING_HP_ADDR(x), mask)
9635 #define HWIO_REO_R2_REO_CMD_RING_HP_OUT(x, val)                      \
9636 	out_dword( HWIO_REO_R2_REO_CMD_RING_HP_ADDR(x), val)
9637 #define HWIO_REO_R2_REO_CMD_RING_HP_OUTM(x, mask, val)               \
9638 	do {\
9639 		HWIO_INTLOCK(); \
9640 		out_dword_masked_ns(HWIO_REO_R2_REO_CMD_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO_CMD_RING_HP_IN(x)); \
9641 		HWIO_INTFREE();\
9642 	} while (0)
9643 
9644 #define HWIO_REO_R2_REO_CMD_RING_HP_HEAD_PTR_BMSK                    0x0000ffff
9645 #define HWIO_REO_R2_REO_CMD_RING_HP_HEAD_PTR_SHFT                           0x0
9646 
9647 //// Register REO_R2_REO_CMD_RING_TP ////
9648 
9649 #define HWIO_REO_R2_REO_CMD_RING_TP_ADDR(x)                          (x+0x00003024)
9650 #define HWIO_REO_R2_REO_CMD_RING_TP_PHYS(x)                          (x+0x00003024)
9651 #define HWIO_REO_R2_REO_CMD_RING_TP_RMSK                             0x0000ffff
9652 #define HWIO_REO_R2_REO_CMD_RING_TP_SHFT                                      0
9653 #define HWIO_REO_R2_REO_CMD_RING_TP_IN(x)                            \
9654 	in_dword_masked ( HWIO_REO_R2_REO_CMD_RING_TP_ADDR(x), HWIO_REO_R2_REO_CMD_RING_TP_RMSK)
9655 #define HWIO_REO_R2_REO_CMD_RING_TP_INM(x, mask)                     \
9656 	in_dword_masked ( HWIO_REO_R2_REO_CMD_RING_TP_ADDR(x), mask)
9657 #define HWIO_REO_R2_REO_CMD_RING_TP_OUT(x, val)                      \
9658 	out_dword( HWIO_REO_R2_REO_CMD_RING_TP_ADDR(x), val)
9659 #define HWIO_REO_R2_REO_CMD_RING_TP_OUTM(x, mask, val)               \
9660 	do {\
9661 		HWIO_INTLOCK(); \
9662 		out_dword_masked_ns(HWIO_REO_R2_REO_CMD_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO_CMD_RING_TP_IN(x)); \
9663 		HWIO_INTFREE();\
9664 	} while (0)
9665 
9666 #define HWIO_REO_R2_REO_CMD_RING_TP_TAIL_PTR_BMSK                    0x0000ffff
9667 #define HWIO_REO_R2_REO_CMD_RING_TP_TAIL_PTR_SHFT                           0x0
9668 
9669 //// Register REO_R2_SW2REO_RING_HP ////
9670 
9671 #define HWIO_REO_R2_SW2REO_RING_HP_ADDR(x)                           (x+0x00003028)
9672 #define HWIO_REO_R2_SW2REO_RING_HP_PHYS(x)                           (x+0x00003028)
9673 #define HWIO_REO_R2_SW2REO_RING_HP_RMSK                              0x0000ffff
9674 #define HWIO_REO_R2_SW2REO_RING_HP_SHFT                                       0
9675 #define HWIO_REO_R2_SW2REO_RING_HP_IN(x)                             \
9676 	in_dword_masked ( HWIO_REO_R2_SW2REO_RING_HP_ADDR(x), HWIO_REO_R2_SW2REO_RING_HP_RMSK)
9677 #define HWIO_REO_R2_SW2REO_RING_HP_INM(x, mask)                      \
9678 	in_dword_masked ( HWIO_REO_R2_SW2REO_RING_HP_ADDR(x), mask)
9679 #define HWIO_REO_R2_SW2REO_RING_HP_OUT(x, val)                       \
9680 	out_dword( HWIO_REO_R2_SW2REO_RING_HP_ADDR(x), val)
9681 #define HWIO_REO_R2_SW2REO_RING_HP_OUTM(x, mask, val)                \
9682 	do {\
9683 		HWIO_INTLOCK(); \
9684 		out_dword_masked_ns(HWIO_REO_R2_SW2REO_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_SW2REO_RING_HP_IN(x)); \
9685 		HWIO_INTFREE();\
9686 	} while (0)
9687 
9688 #define HWIO_REO_R2_SW2REO_RING_HP_HEAD_PTR_BMSK                     0x0000ffff
9689 #define HWIO_REO_R2_SW2REO_RING_HP_HEAD_PTR_SHFT                            0x0
9690 
9691 //// Register REO_R2_SW2REO_RING_TP ////
9692 
9693 #define HWIO_REO_R2_SW2REO_RING_TP_ADDR(x)                           (x+0x0000302c)
9694 #define HWIO_REO_R2_SW2REO_RING_TP_PHYS(x)                           (x+0x0000302c)
9695 #define HWIO_REO_R2_SW2REO_RING_TP_RMSK                              0x0000ffff
9696 #define HWIO_REO_R2_SW2REO_RING_TP_SHFT                                       0
9697 #define HWIO_REO_R2_SW2REO_RING_TP_IN(x)                             \
9698 	in_dword_masked ( HWIO_REO_R2_SW2REO_RING_TP_ADDR(x), HWIO_REO_R2_SW2REO_RING_TP_RMSK)
9699 #define HWIO_REO_R2_SW2REO_RING_TP_INM(x, mask)                      \
9700 	in_dword_masked ( HWIO_REO_R2_SW2REO_RING_TP_ADDR(x), mask)
9701 #define HWIO_REO_R2_SW2REO_RING_TP_OUT(x, val)                       \
9702 	out_dword( HWIO_REO_R2_SW2REO_RING_TP_ADDR(x), val)
9703 #define HWIO_REO_R2_SW2REO_RING_TP_OUTM(x, mask, val)                \
9704 	do {\
9705 		HWIO_INTLOCK(); \
9706 		out_dword_masked_ns(HWIO_REO_R2_SW2REO_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_SW2REO_RING_TP_IN(x)); \
9707 		HWIO_INTFREE();\
9708 	} while (0)
9709 
9710 #define HWIO_REO_R2_SW2REO_RING_TP_TAIL_PTR_BMSK                     0x0000ffff
9711 #define HWIO_REO_R2_SW2REO_RING_TP_TAIL_PTR_SHFT                            0x0
9712 
9713 //// Register REO_R2_REO2SW1_RING_HP ////
9714 
9715 #define HWIO_REO_R2_REO2SW1_RING_HP_ADDR(x)                          (x+0x00003030)
9716 #define HWIO_REO_R2_REO2SW1_RING_HP_PHYS(x)                          (x+0x00003030)
9717 #define HWIO_REO_R2_REO2SW1_RING_HP_RMSK                             0x000fffff
9718 #define HWIO_REO_R2_REO2SW1_RING_HP_SHFT                                      0
9719 #define HWIO_REO_R2_REO2SW1_RING_HP_IN(x)                            \
9720 	in_dword_masked ( HWIO_REO_R2_REO2SW1_RING_HP_ADDR(x), HWIO_REO_R2_REO2SW1_RING_HP_RMSK)
9721 #define HWIO_REO_R2_REO2SW1_RING_HP_INM(x, mask)                     \
9722 	in_dword_masked ( HWIO_REO_R2_REO2SW1_RING_HP_ADDR(x), mask)
9723 #define HWIO_REO_R2_REO2SW1_RING_HP_OUT(x, val)                      \
9724 	out_dword( HWIO_REO_R2_REO2SW1_RING_HP_ADDR(x), val)
9725 #define HWIO_REO_R2_REO2SW1_RING_HP_OUTM(x, mask, val)               \
9726 	do {\
9727 		HWIO_INTLOCK(); \
9728 		out_dword_masked_ns(HWIO_REO_R2_REO2SW1_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW1_RING_HP_IN(x)); \
9729 		HWIO_INTFREE();\
9730 	} while (0)
9731 
9732 #define HWIO_REO_R2_REO2SW1_RING_HP_HEAD_PTR_BMSK                    0x000fffff
9733 #define HWIO_REO_R2_REO2SW1_RING_HP_HEAD_PTR_SHFT                           0x0
9734 
9735 //// Register REO_R2_REO2SW1_RING_TP ////
9736 
9737 #define HWIO_REO_R2_REO2SW1_RING_TP_ADDR(x)                          (x+0x00003034)
9738 #define HWIO_REO_R2_REO2SW1_RING_TP_PHYS(x)                          (x+0x00003034)
9739 #define HWIO_REO_R2_REO2SW1_RING_TP_RMSK                             0x000fffff
9740 #define HWIO_REO_R2_REO2SW1_RING_TP_SHFT                                      0
9741 #define HWIO_REO_R2_REO2SW1_RING_TP_IN(x)                            \
9742 	in_dword_masked ( HWIO_REO_R2_REO2SW1_RING_TP_ADDR(x), HWIO_REO_R2_REO2SW1_RING_TP_RMSK)
9743 #define HWIO_REO_R2_REO2SW1_RING_TP_INM(x, mask)                     \
9744 	in_dword_masked ( HWIO_REO_R2_REO2SW1_RING_TP_ADDR(x), mask)
9745 #define HWIO_REO_R2_REO2SW1_RING_TP_OUT(x, val)                      \
9746 	out_dword( HWIO_REO_R2_REO2SW1_RING_TP_ADDR(x), val)
9747 #define HWIO_REO_R2_REO2SW1_RING_TP_OUTM(x, mask, val)               \
9748 	do {\
9749 		HWIO_INTLOCK(); \
9750 		out_dword_masked_ns(HWIO_REO_R2_REO2SW1_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW1_RING_TP_IN(x)); \
9751 		HWIO_INTFREE();\
9752 	} while (0)
9753 
9754 #define HWIO_REO_R2_REO2SW1_RING_TP_TAIL_PTR_BMSK                    0x000fffff
9755 #define HWIO_REO_R2_REO2SW1_RING_TP_TAIL_PTR_SHFT                           0x0
9756 
9757 //// Register REO_R2_REO2SW2_RING_HP ////
9758 
9759 #define HWIO_REO_R2_REO2SW2_RING_HP_ADDR(x)                          (x+0x00003038)
9760 #define HWIO_REO_R2_REO2SW2_RING_HP_PHYS(x)                          (x+0x00003038)
9761 #define HWIO_REO_R2_REO2SW2_RING_HP_RMSK                             0x000fffff
9762 #define HWIO_REO_R2_REO2SW2_RING_HP_SHFT                                      0
9763 #define HWIO_REO_R2_REO2SW2_RING_HP_IN(x)                            \
9764 	in_dword_masked ( HWIO_REO_R2_REO2SW2_RING_HP_ADDR(x), HWIO_REO_R2_REO2SW2_RING_HP_RMSK)
9765 #define HWIO_REO_R2_REO2SW2_RING_HP_INM(x, mask)                     \
9766 	in_dword_masked ( HWIO_REO_R2_REO2SW2_RING_HP_ADDR(x), mask)
9767 #define HWIO_REO_R2_REO2SW2_RING_HP_OUT(x, val)                      \
9768 	out_dword( HWIO_REO_R2_REO2SW2_RING_HP_ADDR(x), val)
9769 #define HWIO_REO_R2_REO2SW2_RING_HP_OUTM(x, mask, val)               \
9770 	do {\
9771 		HWIO_INTLOCK(); \
9772 		out_dword_masked_ns(HWIO_REO_R2_REO2SW2_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW2_RING_HP_IN(x)); \
9773 		HWIO_INTFREE();\
9774 	} while (0)
9775 
9776 #define HWIO_REO_R2_REO2SW2_RING_HP_HEAD_PTR_BMSK                    0x000fffff
9777 #define HWIO_REO_R2_REO2SW2_RING_HP_HEAD_PTR_SHFT                           0x0
9778 
9779 //// Register REO_R2_REO2SW2_RING_TP ////
9780 
9781 #define HWIO_REO_R2_REO2SW2_RING_TP_ADDR(x)                          (x+0x0000303c)
9782 #define HWIO_REO_R2_REO2SW2_RING_TP_PHYS(x)                          (x+0x0000303c)
9783 #define HWIO_REO_R2_REO2SW2_RING_TP_RMSK                             0x000fffff
9784 #define HWIO_REO_R2_REO2SW2_RING_TP_SHFT                                      0
9785 #define HWIO_REO_R2_REO2SW2_RING_TP_IN(x)                            \
9786 	in_dword_masked ( HWIO_REO_R2_REO2SW2_RING_TP_ADDR(x), HWIO_REO_R2_REO2SW2_RING_TP_RMSK)
9787 #define HWIO_REO_R2_REO2SW2_RING_TP_INM(x, mask)                     \
9788 	in_dword_masked ( HWIO_REO_R2_REO2SW2_RING_TP_ADDR(x), mask)
9789 #define HWIO_REO_R2_REO2SW2_RING_TP_OUT(x, val)                      \
9790 	out_dword( HWIO_REO_R2_REO2SW2_RING_TP_ADDR(x), val)
9791 #define HWIO_REO_R2_REO2SW2_RING_TP_OUTM(x, mask, val)               \
9792 	do {\
9793 		HWIO_INTLOCK(); \
9794 		out_dword_masked_ns(HWIO_REO_R2_REO2SW2_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW2_RING_TP_IN(x)); \
9795 		HWIO_INTFREE();\
9796 	} while (0)
9797 
9798 #define HWIO_REO_R2_REO2SW2_RING_TP_TAIL_PTR_BMSK                    0x000fffff
9799 #define HWIO_REO_R2_REO2SW2_RING_TP_TAIL_PTR_SHFT                           0x0
9800 
9801 //// Register REO_R2_REO2SW3_RING_HP ////
9802 
9803 #define HWIO_REO_R2_REO2SW3_RING_HP_ADDR(x)                          (x+0x00003040)
9804 #define HWIO_REO_R2_REO2SW3_RING_HP_PHYS(x)                          (x+0x00003040)
9805 #define HWIO_REO_R2_REO2SW3_RING_HP_RMSK                             0x000fffff
9806 #define HWIO_REO_R2_REO2SW3_RING_HP_SHFT                                      0
9807 #define HWIO_REO_R2_REO2SW3_RING_HP_IN(x)                            \
9808 	in_dword_masked ( HWIO_REO_R2_REO2SW3_RING_HP_ADDR(x), HWIO_REO_R2_REO2SW3_RING_HP_RMSK)
9809 #define HWIO_REO_R2_REO2SW3_RING_HP_INM(x, mask)                     \
9810 	in_dword_masked ( HWIO_REO_R2_REO2SW3_RING_HP_ADDR(x), mask)
9811 #define HWIO_REO_R2_REO2SW3_RING_HP_OUT(x, val)                      \
9812 	out_dword( HWIO_REO_R2_REO2SW3_RING_HP_ADDR(x), val)
9813 #define HWIO_REO_R2_REO2SW3_RING_HP_OUTM(x, mask, val)               \
9814 	do {\
9815 		HWIO_INTLOCK(); \
9816 		out_dword_masked_ns(HWIO_REO_R2_REO2SW3_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW3_RING_HP_IN(x)); \
9817 		HWIO_INTFREE();\
9818 	} while (0)
9819 
9820 #define HWIO_REO_R2_REO2SW3_RING_HP_HEAD_PTR_BMSK                    0x000fffff
9821 #define HWIO_REO_R2_REO2SW3_RING_HP_HEAD_PTR_SHFT                           0x0
9822 
9823 //// Register REO_R2_REO2SW3_RING_TP ////
9824 
9825 #define HWIO_REO_R2_REO2SW3_RING_TP_ADDR(x)                          (x+0x00003044)
9826 #define HWIO_REO_R2_REO2SW3_RING_TP_PHYS(x)                          (x+0x00003044)
9827 #define HWIO_REO_R2_REO2SW3_RING_TP_RMSK                             0x000fffff
9828 #define HWIO_REO_R2_REO2SW3_RING_TP_SHFT                                      0
9829 #define HWIO_REO_R2_REO2SW3_RING_TP_IN(x)                            \
9830 	in_dword_masked ( HWIO_REO_R2_REO2SW3_RING_TP_ADDR(x), HWIO_REO_R2_REO2SW3_RING_TP_RMSK)
9831 #define HWIO_REO_R2_REO2SW3_RING_TP_INM(x, mask)                     \
9832 	in_dword_masked ( HWIO_REO_R2_REO2SW3_RING_TP_ADDR(x), mask)
9833 #define HWIO_REO_R2_REO2SW3_RING_TP_OUT(x, val)                      \
9834 	out_dword( HWIO_REO_R2_REO2SW3_RING_TP_ADDR(x), val)
9835 #define HWIO_REO_R2_REO2SW3_RING_TP_OUTM(x, mask, val)               \
9836 	do {\
9837 		HWIO_INTLOCK(); \
9838 		out_dword_masked_ns(HWIO_REO_R2_REO2SW3_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW3_RING_TP_IN(x)); \
9839 		HWIO_INTFREE();\
9840 	} while (0)
9841 
9842 #define HWIO_REO_R2_REO2SW3_RING_TP_TAIL_PTR_BMSK                    0x000fffff
9843 #define HWIO_REO_R2_REO2SW3_RING_TP_TAIL_PTR_SHFT                           0x0
9844 
9845 //// Register REO_R2_REO2SW4_RING_HP ////
9846 
9847 #define HWIO_REO_R2_REO2SW4_RING_HP_ADDR(x)                          (x+0x00003048)
9848 #define HWIO_REO_R2_REO2SW4_RING_HP_PHYS(x)                          (x+0x00003048)
9849 #define HWIO_REO_R2_REO2SW4_RING_HP_RMSK                             0x000fffff
9850 #define HWIO_REO_R2_REO2SW4_RING_HP_SHFT                                      0
9851 #define HWIO_REO_R2_REO2SW4_RING_HP_IN(x)                            \
9852 	in_dword_masked ( HWIO_REO_R2_REO2SW4_RING_HP_ADDR(x), HWIO_REO_R2_REO2SW4_RING_HP_RMSK)
9853 #define HWIO_REO_R2_REO2SW4_RING_HP_INM(x, mask)                     \
9854 	in_dword_masked ( HWIO_REO_R2_REO2SW4_RING_HP_ADDR(x), mask)
9855 #define HWIO_REO_R2_REO2SW4_RING_HP_OUT(x, val)                      \
9856 	out_dword( HWIO_REO_R2_REO2SW4_RING_HP_ADDR(x), val)
9857 #define HWIO_REO_R2_REO2SW4_RING_HP_OUTM(x, mask, val)               \
9858 	do {\
9859 		HWIO_INTLOCK(); \
9860 		out_dword_masked_ns(HWIO_REO_R2_REO2SW4_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW4_RING_HP_IN(x)); \
9861 		HWIO_INTFREE();\
9862 	} while (0)
9863 
9864 #define HWIO_REO_R2_REO2SW4_RING_HP_HEAD_PTR_BMSK                    0x000fffff
9865 #define HWIO_REO_R2_REO2SW4_RING_HP_HEAD_PTR_SHFT                           0x0
9866 
9867 //// Register REO_R2_REO2SW4_RING_TP ////
9868 
9869 #define HWIO_REO_R2_REO2SW4_RING_TP_ADDR(x)                          (x+0x0000304c)
9870 #define HWIO_REO_R2_REO2SW4_RING_TP_PHYS(x)                          (x+0x0000304c)
9871 #define HWIO_REO_R2_REO2SW4_RING_TP_RMSK                             0x000fffff
9872 #define HWIO_REO_R2_REO2SW4_RING_TP_SHFT                                      0
9873 #define HWIO_REO_R2_REO2SW4_RING_TP_IN(x)                            \
9874 	in_dword_masked ( HWIO_REO_R2_REO2SW4_RING_TP_ADDR(x), HWIO_REO_R2_REO2SW4_RING_TP_RMSK)
9875 #define HWIO_REO_R2_REO2SW4_RING_TP_INM(x, mask)                     \
9876 	in_dword_masked ( HWIO_REO_R2_REO2SW4_RING_TP_ADDR(x), mask)
9877 #define HWIO_REO_R2_REO2SW4_RING_TP_OUT(x, val)                      \
9878 	out_dword( HWIO_REO_R2_REO2SW4_RING_TP_ADDR(x), val)
9879 #define HWIO_REO_R2_REO2SW4_RING_TP_OUTM(x, mask, val)               \
9880 	do {\
9881 		HWIO_INTLOCK(); \
9882 		out_dword_masked_ns(HWIO_REO_R2_REO2SW4_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW4_RING_TP_IN(x)); \
9883 		HWIO_INTFREE();\
9884 	} while (0)
9885 
9886 #define HWIO_REO_R2_REO2SW4_RING_TP_TAIL_PTR_BMSK                    0x000fffff
9887 #define HWIO_REO_R2_REO2SW4_RING_TP_TAIL_PTR_SHFT                           0x0
9888 
9889 //// Register REO_R2_REO2SW5_RING_HP ////
9890 
9891 #define HWIO_REO_R2_REO2SW5_RING_HP_ADDR(x)                          (x+0x00003050)
9892 #define HWIO_REO_R2_REO2SW5_RING_HP_PHYS(x)                          (x+0x00003050)
9893 #define HWIO_REO_R2_REO2SW5_RING_HP_RMSK                             0x000fffff
9894 #define HWIO_REO_R2_REO2SW5_RING_HP_SHFT                                      0
9895 #define HWIO_REO_R2_REO2SW5_RING_HP_IN(x)                            \
9896 	in_dword_masked ( HWIO_REO_R2_REO2SW5_RING_HP_ADDR(x), HWIO_REO_R2_REO2SW5_RING_HP_RMSK)
9897 #define HWIO_REO_R2_REO2SW5_RING_HP_INM(x, mask)                     \
9898 	in_dword_masked ( HWIO_REO_R2_REO2SW5_RING_HP_ADDR(x), mask)
9899 #define HWIO_REO_R2_REO2SW5_RING_HP_OUT(x, val)                      \
9900 	out_dword( HWIO_REO_R2_REO2SW5_RING_HP_ADDR(x), val)
9901 #define HWIO_REO_R2_REO2SW5_RING_HP_OUTM(x, mask, val)               \
9902 	do {\
9903 		HWIO_INTLOCK(); \
9904 		out_dword_masked_ns(HWIO_REO_R2_REO2SW5_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW5_RING_HP_IN(x)); \
9905 		HWIO_INTFREE();\
9906 	} while (0)
9907 
9908 #define HWIO_REO_R2_REO2SW5_RING_HP_HEAD_PTR_BMSK                    0x000fffff
9909 #define HWIO_REO_R2_REO2SW5_RING_HP_HEAD_PTR_SHFT                           0x0
9910 
9911 //// Register REO_R2_REO2SW5_RING_TP ////
9912 
9913 #define HWIO_REO_R2_REO2SW5_RING_TP_ADDR(x)                          (x+0x00003054)
9914 #define HWIO_REO_R2_REO2SW5_RING_TP_PHYS(x)                          (x+0x00003054)
9915 #define HWIO_REO_R2_REO2SW5_RING_TP_RMSK                             0x000fffff
9916 #define HWIO_REO_R2_REO2SW5_RING_TP_SHFT                                      0
9917 #define HWIO_REO_R2_REO2SW5_RING_TP_IN(x)                            \
9918 	in_dword_masked ( HWIO_REO_R2_REO2SW5_RING_TP_ADDR(x), HWIO_REO_R2_REO2SW5_RING_TP_RMSK)
9919 #define HWIO_REO_R2_REO2SW5_RING_TP_INM(x, mask)                     \
9920 	in_dword_masked ( HWIO_REO_R2_REO2SW5_RING_TP_ADDR(x), mask)
9921 #define HWIO_REO_R2_REO2SW5_RING_TP_OUT(x, val)                      \
9922 	out_dword( HWIO_REO_R2_REO2SW5_RING_TP_ADDR(x), val)
9923 #define HWIO_REO_R2_REO2SW5_RING_TP_OUTM(x, mask, val)               \
9924 	do {\
9925 		HWIO_INTLOCK(); \
9926 		out_dword_masked_ns(HWIO_REO_R2_REO2SW5_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW5_RING_TP_IN(x)); \
9927 		HWIO_INTFREE();\
9928 	} while (0)
9929 
9930 #define HWIO_REO_R2_REO2SW5_RING_TP_TAIL_PTR_BMSK                    0x000fffff
9931 #define HWIO_REO_R2_REO2SW5_RING_TP_TAIL_PTR_SHFT                           0x0
9932 
9933 //// Register REO_R2_REO2SW6_RING_HP ////
9934 
9935 #define HWIO_REO_R2_REO2SW6_RING_HP_ADDR(x)                          (x+0x00003058)
9936 #define HWIO_REO_R2_REO2SW6_RING_HP_PHYS(x)                          (x+0x00003058)
9937 #define HWIO_REO_R2_REO2SW6_RING_HP_RMSK                             0x000fffff
9938 #define HWIO_REO_R2_REO2SW6_RING_HP_SHFT                                      0
9939 #define HWIO_REO_R2_REO2SW6_RING_HP_IN(x)                            \
9940 	in_dword_masked ( HWIO_REO_R2_REO2SW6_RING_HP_ADDR(x), HWIO_REO_R2_REO2SW6_RING_HP_RMSK)
9941 #define HWIO_REO_R2_REO2SW6_RING_HP_INM(x, mask)                     \
9942 	in_dword_masked ( HWIO_REO_R2_REO2SW6_RING_HP_ADDR(x), mask)
9943 #define HWIO_REO_R2_REO2SW6_RING_HP_OUT(x, val)                      \
9944 	out_dword( HWIO_REO_R2_REO2SW6_RING_HP_ADDR(x), val)
9945 #define HWIO_REO_R2_REO2SW6_RING_HP_OUTM(x, mask, val)               \
9946 	do {\
9947 		HWIO_INTLOCK(); \
9948 		out_dword_masked_ns(HWIO_REO_R2_REO2SW6_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW6_RING_HP_IN(x)); \
9949 		HWIO_INTFREE();\
9950 	} while (0)
9951 
9952 #define HWIO_REO_R2_REO2SW6_RING_HP_HEAD_PTR_BMSK                    0x000fffff
9953 #define HWIO_REO_R2_REO2SW6_RING_HP_HEAD_PTR_SHFT                           0x0
9954 
9955 //// Register REO_R2_REO2SW6_RING_TP ////
9956 
9957 #define HWIO_REO_R2_REO2SW6_RING_TP_ADDR(x)                          (x+0x0000305c)
9958 #define HWIO_REO_R2_REO2SW6_RING_TP_PHYS(x)                          (x+0x0000305c)
9959 #define HWIO_REO_R2_REO2SW6_RING_TP_RMSK                             0x000fffff
9960 #define HWIO_REO_R2_REO2SW6_RING_TP_SHFT                                      0
9961 #define HWIO_REO_R2_REO2SW6_RING_TP_IN(x)                            \
9962 	in_dword_masked ( HWIO_REO_R2_REO2SW6_RING_TP_ADDR(x), HWIO_REO_R2_REO2SW6_RING_TP_RMSK)
9963 #define HWIO_REO_R2_REO2SW6_RING_TP_INM(x, mask)                     \
9964 	in_dword_masked ( HWIO_REO_R2_REO2SW6_RING_TP_ADDR(x), mask)
9965 #define HWIO_REO_R2_REO2SW6_RING_TP_OUT(x, val)                      \
9966 	out_dword( HWIO_REO_R2_REO2SW6_RING_TP_ADDR(x), val)
9967 #define HWIO_REO_R2_REO2SW6_RING_TP_OUTM(x, mask, val)               \
9968 	do {\
9969 		HWIO_INTLOCK(); \
9970 		out_dword_masked_ns(HWIO_REO_R2_REO2SW6_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO2SW6_RING_TP_IN(x)); \
9971 		HWIO_INTFREE();\
9972 	} while (0)
9973 
9974 #define HWIO_REO_R2_REO2SW6_RING_TP_TAIL_PTR_BMSK                    0x000fffff
9975 #define HWIO_REO_R2_REO2SW6_RING_TP_TAIL_PTR_SHFT                           0x0
9976 
9977 //// Register REO_R2_REO2TCL_RING_HP ////
9978 
9979 #define HWIO_REO_R2_REO2TCL_RING_HP_ADDR(x)                          (x+0x00003060)
9980 #define HWIO_REO_R2_REO2TCL_RING_HP_PHYS(x)                          (x+0x00003060)
9981 #define HWIO_REO_R2_REO2TCL_RING_HP_RMSK                             0x000fffff
9982 #define HWIO_REO_R2_REO2TCL_RING_HP_SHFT                                      0
9983 #define HWIO_REO_R2_REO2TCL_RING_HP_IN(x)                            \
9984 	in_dword_masked ( HWIO_REO_R2_REO2TCL_RING_HP_ADDR(x), HWIO_REO_R2_REO2TCL_RING_HP_RMSK)
9985 #define HWIO_REO_R2_REO2TCL_RING_HP_INM(x, mask)                     \
9986 	in_dword_masked ( HWIO_REO_R2_REO2TCL_RING_HP_ADDR(x), mask)
9987 #define HWIO_REO_R2_REO2TCL_RING_HP_OUT(x, val)                      \
9988 	out_dword( HWIO_REO_R2_REO2TCL_RING_HP_ADDR(x), val)
9989 #define HWIO_REO_R2_REO2TCL_RING_HP_OUTM(x, mask, val)               \
9990 	do {\
9991 		HWIO_INTLOCK(); \
9992 		out_dword_masked_ns(HWIO_REO_R2_REO2TCL_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO2TCL_RING_HP_IN(x)); \
9993 		HWIO_INTFREE();\
9994 	} while (0)
9995 
9996 #define HWIO_REO_R2_REO2TCL_RING_HP_HEAD_PTR_BMSK                    0x000fffff
9997 #define HWIO_REO_R2_REO2TCL_RING_HP_HEAD_PTR_SHFT                           0x0
9998 
9999 //// Register REO_R2_REO2TCL_RING_TP ////
10000 
10001 #define HWIO_REO_R2_REO2TCL_RING_TP_ADDR(x)                          (x+0x00003064)
10002 #define HWIO_REO_R2_REO2TCL_RING_TP_PHYS(x)                          (x+0x00003064)
10003 #define HWIO_REO_R2_REO2TCL_RING_TP_RMSK                             0x000fffff
10004 #define HWIO_REO_R2_REO2TCL_RING_TP_SHFT                                      0
10005 #define HWIO_REO_R2_REO2TCL_RING_TP_IN(x)                            \
10006 	in_dword_masked ( HWIO_REO_R2_REO2TCL_RING_TP_ADDR(x), HWIO_REO_R2_REO2TCL_RING_TP_RMSK)
10007 #define HWIO_REO_R2_REO2TCL_RING_TP_INM(x, mask)                     \
10008 	in_dword_masked ( HWIO_REO_R2_REO2TCL_RING_TP_ADDR(x), mask)
10009 #define HWIO_REO_R2_REO2TCL_RING_TP_OUT(x, val)                      \
10010 	out_dword( HWIO_REO_R2_REO2TCL_RING_TP_ADDR(x), val)
10011 #define HWIO_REO_R2_REO2TCL_RING_TP_OUTM(x, mask, val)               \
10012 	do {\
10013 		HWIO_INTLOCK(); \
10014 		out_dword_masked_ns(HWIO_REO_R2_REO2TCL_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO2TCL_RING_TP_IN(x)); \
10015 		HWIO_INTFREE();\
10016 	} while (0)
10017 
10018 #define HWIO_REO_R2_REO2TCL_RING_TP_TAIL_PTR_BMSK                    0x000fffff
10019 #define HWIO_REO_R2_REO2TCL_RING_TP_TAIL_PTR_SHFT                           0x0
10020 
10021 //// Register REO_R2_REO2FW_RING_HP ////
10022 
10023 #define HWIO_REO_R2_REO2FW_RING_HP_ADDR(x)                           (x+0x00003068)
10024 #define HWIO_REO_R2_REO2FW_RING_HP_PHYS(x)                           (x+0x00003068)
10025 #define HWIO_REO_R2_REO2FW_RING_HP_RMSK                              0x000fffff
10026 #define HWIO_REO_R2_REO2FW_RING_HP_SHFT                                       0
10027 #define HWIO_REO_R2_REO2FW_RING_HP_IN(x)                             \
10028 	in_dword_masked ( HWIO_REO_R2_REO2FW_RING_HP_ADDR(x), HWIO_REO_R2_REO2FW_RING_HP_RMSK)
10029 #define HWIO_REO_R2_REO2FW_RING_HP_INM(x, mask)                      \
10030 	in_dword_masked ( HWIO_REO_R2_REO2FW_RING_HP_ADDR(x), mask)
10031 #define HWIO_REO_R2_REO2FW_RING_HP_OUT(x, val)                       \
10032 	out_dword( HWIO_REO_R2_REO2FW_RING_HP_ADDR(x), val)
10033 #define HWIO_REO_R2_REO2FW_RING_HP_OUTM(x, mask, val)                \
10034 	do {\
10035 		HWIO_INTLOCK(); \
10036 		out_dword_masked_ns(HWIO_REO_R2_REO2FW_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO2FW_RING_HP_IN(x)); \
10037 		HWIO_INTFREE();\
10038 	} while (0)
10039 
10040 #define HWIO_REO_R2_REO2FW_RING_HP_HEAD_PTR_BMSK                     0x000fffff
10041 #define HWIO_REO_R2_REO2FW_RING_HP_HEAD_PTR_SHFT                            0x0
10042 
10043 //// Register REO_R2_REO2FW_RING_TP ////
10044 
10045 #define HWIO_REO_R2_REO2FW_RING_TP_ADDR(x)                           (x+0x0000306c)
10046 #define HWIO_REO_R2_REO2FW_RING_TP_PHYS(x)                           (x+0x0000306c)
10047 #define HWIO_REO_R2_REO2FW_RING_TP_RMSK                              0x000fffff
10048 #define HWIO_REO_R2_REO2FW_RING_TP_SHFT                                       0
10049 #define HWIO_REO_R2_REO2FW_RING_TP_IN(x)                             \
10050 	in_dword_masked ( HWIO_REO_R2_REO2FW_RING_TP_ADDR(x), HWIO_REO_R2_REO2FW_RING_TP_RMSK)
10051 #define HWIO_REO_R2_REO2FW_RING_TP_INM(x, mask)                      \
10052 	in_dword_masked ( HWIO_REO_R2_REO2FW_RING_TP_ADDR(x), mask)
10053 #define HWIO_REO_R2_REO2FW_RING_TP_OUT(x, val)                       \
10054 	out_dword( HWIO_REO_R2_REO2FW_RING_TP_ADDR(x), val)
10055 #define HWIO_REO_R2_REO2FW_RING_TP_OUTM(x, mask, val)                \
10056 	do {\
10057 		HWIO_INTLOCK(); \
10058 		out_dword_masked_ns(HWIO_REO_R2_REO2FW_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO2FW_RING_TP_IN(x)); \
10059 		HWIO_INTFREE();\
10060 	} while (0)
10061 
10062 #define HWIO_REO_R2_REO2FW_RING_TP_TAIL_PTR_BMSK                     0x000fffff
10063 #define HWIO_REO_R2_REO2FW_RING_TP_TAIL_PTR_SHFT                            0x0
10064 
10065 //// Register REO_R2_REO_RELEASE_RING_HP ////
10066 
10067 #define HWIO_REO_R2_REO_RELEASE_RING_HP_ADDR(x)                      (x+0x00003070)
10068 #define HWIO_REO_R2_REO_RELEASE_RING_HP_PHYS(x)                      (x+0x00003070)
10069 #define HWIO_REO_R2_REO_RELEASE_RING_HP_RMSK                         0x0000ffff
10070 #define HWIO_REO_R2_REO_RELEASE_RING_HP_SHFT                                  0
10071 #define HWIO_REO_R2_REO_RELEASE_RING_HP_IN(x)                        \
10072 	in_dword_masked ( HWIO_REO_R2_REO_RELEASE_RING_HP_ADDR(x), HWIO_REO_R2_REO_RELEASE_RING_HP_RMSK)
10073 #define HWIO_REO_R2_REO_RELEASE_RING_HP_INM(x, mask)                 \
10074 	in_dword_masked ( HWIO_REO_R2_REO_RELEASE_RING_HP_ADDR(x), mask)
10075 #define HWIO_REO_R2_REO_RELEASE_RING_HP_OUT(x, val)                  \
10076 	out_dword( HWIO_REO_R2_REO_RELEASE_RING_HP_ADDR(x), val)
10077 #define HWIO_REO_R2_REO_RELEASE_RING_HP_OUTM(x, mask, val)           \
10078 	do {\
10079 		HWIO_INTLOCK(); \
10080 		out_dword_masked_ns(HWIO_REO_R2_REO_RELEASE_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO_RELEASE_RING_HP_IN(x)); \
10081 		HWIO_INTFREE();\
10082 	} while (0)
10083 
10084 #define HWIO_REO_R2_REO_RELEASE_RING_HP_HEAD_PTR_BMSK                0x0000ffff
10085 #define HWIO_REO_R2_REO_RELEASE_RING_HP_HEAD_PTR_SHFT                       0x0
10086 
10087 //// Register REO_R2_REO_RELEASE_RING_TP ////
10088 
10089 #define HWIO_REO_R2_REO_RELEASE_RING_TP_ADDR(x)                      (x+0x00003074)
10090 #define HWIO_REO_R2_REO_RELEASE_RING_TP_PHYS(x)                      (x+0x00003074)
10091 #define HWIO_REO_R2_REO_RELEASE_RING_TP_RMSK                         0x0000ffff
10092 #define HWIO_REO_R2_REO_RELEASE_RING_TP_SHFT                                  0
10093 #define HWIO_REO_R2_REO_RELEASE_RING_TP_IN(x)                        \
10094 	in_dword_masked ( HWIO_REO_R2_REO_RELEASE_RING_TP_ADDR(x), HWIO_REO_R2_REO_RELEASE_RING_TP_RMSK)
10095 #define HWIO_REO_R2_REO_RELEASE_RING_TP_INM(x, mask)                 \
10096 	in_dword_masked ( HWIO_REO_R2_REO_RELEASE_RING_TP_ADDR(x), mask)
10097 #define HWIO_REO_R2_REO_RELEASE_RING_TP_OUT(x, val)                  \
10098 	out_dword( HWIO_REO_R2_REO_RELEASE_RING_TP_ADDR(x), val)
10099 #define HWIO_REO_R2_REO_RELEASE_RING_TP_OUTM(x, mask, val)           \
10100 	do {\
10101 		HWIO_INTLOCK(); \
10102 		out_dword_masked_ns(HWIO_REO_R2_REO_RELEASE_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO_RELEASE_RING_TP_IN(x)); \
10103 		HWIO_INTFREE();\
10104 	} while (0)
10105 
10106 #define HWIO_REO_R2_REO_RELEASE_RING_TP_TAIL_PTR_BMSK                0x0000ffff
10107 #define HWIO_REO_R2_REO_RELEASE_RING_TP_TAIL_PTR_SHFT                       0x0
10108 
10109 //// Register REO_R2_REO_STATUS_RING_HP ////
10110 
10111 #define HWIO_REO_R2_REO_STATUS_RING_HP_ADDR(x)                       (x+0x00003078)
10112 #define HWIO_REO_R2_REO_STATUS_RING_HP_PHYS(x)                       (x+0x00003078)
10113 #define HWIO_REO_R2_REO_STATUS_RING_HP_RMSK                          0x0000ffff
10114 #define HWIO_REO_R2_REO_STATUS_RING_HP_SHFT                                   0
10115 #define HWIO_REO_R2_REO_STATUS_RING_HP_IN(x)                         \
10116 	in_dword_masked ( HWIO_REO_R2_REO_STATUS_RING_HP_ADDR(x), HWIO_REO_R2_REO_STATUS_RING_HP_RMSK)
10117 #define HWIO_REO_R2_REO_STATUS_RING_HP_INM(x, mask)                  \
10118 	in_dword_masked ( HWIO_REO_R2_REO_STATUS_RING_HP_ADDR(x), mask)
10119 #define HWIO_REO_R2_REO_STATUS_RING_HP_OUT(x, val)                   \
10120 	out_dword( HWIO_REO_R2_REO_STATUS_RING_HP_ADDR(x), val)
10121 #define HWIO_REO_R2_REO_STATUS_RING_HP_OUTM(x, mask, val)            \
10122 	do {\
10123 		HWIO_INTLOCK(); \
10124 		out_dword_masked_ns(HWIO_REO_R2_REO_STATUS_RING_HP_ADDR(x), mask, val, HWIO_REO_R2_REO_STATUS_RING_HP_IN(x)); \
10125 		HWIO_INTFREE();\
10126 	} while (0)
10127 
10128 #define HWIO_REO_R2_REO_STATUS_RING_HP_HEAD_PTR_BMSK                 0x0000ffff
10129 #define HWIO_REO_R2_REO_STATUS_RING_HP_HEAD_PTR_SHFT                        0x0
10130 
10131 //// Register REO_R2_REO_STATUS_RING_TP ////
10132 
10133 #define HWIO_REO_R2_REO_STATUS_RING_TP_ADDR(x)                       (x+0x0000307c)
10134 #define HWIO_REO_R2_REO_STATUS_RING_TP_PHYS(x)                       (x+0x0000307c)
10135 #define HWIO_REO_R2_REO_STATUS_RING_TP_RMSK                          0x0000ffff
10136 #define HWIO_REO_R2_REO_STATUS_RING_TP_SHFT                                   0
10137 #define HWIO_REO_R2_REO_STATUS_RING_TP_IN(x)                         \
10138 	in_dword_masked ( HWIO_REO_R2_REO_STATUS_RING_TP_ADDR(x), HWIO_REO_R2_REO_STATUS_RING_TP_RMSK)
10139 #define HWIO_REO_R2_REO_STATUS_RING_TP_INM(x, mask)                  \
10140 	in_dword_masked ( HWIO_REO_R2_REO_STATUS_RING_TP_ADDR(x), mask)
10141 #define HWIO_REO_R2_REO_STATUS_RING_TP_OUT(x, val)                   \
10142 	out_dword( HWIO_REO_R2_REO_STATUS_RING_TP_ADDR(x), val)
10143 #define HWIO_REO_R2_REO_STATUS_RING_TP_OUTM(x, mask, val)            \
10144 	do {\
10145 		HWIO_INTLOCK(); \
10146 		out_dword_masked_ns(HWIO_REO_R2_REO_STATUS_RING_TP_ADDR(x), mask, val, HWIO_REO_R2_REO_STATUS_RING_TP_IN(x)); \
10147 		HWIO_INTFREE();\
10148 	} while (0)
10149 
10150 #define HWIO_REO_R2_REO_STATUS_RING_TP_TAIL_PTR_BMSK                 0x0000ffff
10151 #define HWIO_REO_R2_REO_STATUS_RING_TP_TAIL_PTR_SHFT                        0x0
10152 
10153 
10154 #endif
10155 
10156