2 * Copyright (c) 2013, 2016 Chelsio Communications, Inc.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 /* This file is automatically generated --- changes will be lost */
31 /* Generation Date : Wed Jan 27 10:57:51 IST 2016 */
32 /* Directory name: t4_reg.txt, Changeset: */
33 /* Directory name: t5_reg.txt, Changeset: 6936:7f6342b03d61 */
34 /* Directory name: t6_reg.txt, Changeset: 4191:ce3ccd95c109 */
36 #define MYPF_BASE 0x1b000
37 #define MYPF_REG(reg_addr) (MYPF_BASE + (reg_addr))
39 #define PF0_BASE 0x1e000
40 #define PF0_REG(reg_addr) (PF0_BASE + (reg_addr))
42 #define PF1_BASE 0x1e400
43 #define PF1_REG(reg_addr) (PF1_BASE + (reg_addr))
45 #define PF2_BASE 0x1e800
46 #define PF2_REG(reg_addr) (PF2_BASE + (reg_addr))
48 #define PF3_BASE 0x1ec00
49 #define PF3_REG(reg_addr) (PF3_BASE + (reg_addr))
51 #define PF4_BASE 0x1f000
52 #define PF4_REG(reg_addr) (PF4_BASE + (reg_addr))
54 #define PF5_BASE 0x1f400
55 #define PF5_REG(reg_addr) (PF5_BASE + (reg_addr))
57 #define PF6_BASE 0x1f800
58 #define PF6_REG(reg_addr) (PF6_BASE + (reg_addr))
60 #define PF7_BASE 0x1fc00
61 #define PF7_REG(reg_addr) (PF7_BASE + (reg_addr))
63 #define PF_STRIDE 0x400
64 #define PF_BASE(idx) (PF0_BASE + (idx) * PF_STRIDE)
65 #define PF_REG(idx, reg) (PF_BASE(idx) + (reg))
67 #define VF_SGE_BASE 0x0
68 #define VF_SGE_REG(reg_addr) (VF_SGE_BASE + (reg_addr))
70 #define VF_MPS_BASE 0x100
71 #define VF_MPS_REG(reg_addr) (VF_MPS_BASE + (reg_addr))
73 #define VF_PL_BASE 0x200
74 #define VF_PL_REG(reg_addr) (VF_PL_BASE + (reg_addr))
76 #define VF_MBDATA_BASE 0x240
77 #define VF_MBDATA_REG(reg_addr) (VF_MBDATA_BASE + (reg_addr))
79 #define VF_CIM_BASE 0x300
80 #define VF_CIM_REG(reg_addr) (VF_CIM_BASE + (reg_addr))
82 #define MYPORT_BASE 0x1c000
83 #define MYPORT_REG(reg_addr) (MYPORT_BASE + (reg_addr))
85 #define PORT0_BASE 0x20000
86 #define PORT0_REG(reg_addr) (PORT0_BASE + (reg_addr))
88 #define PORT1_BASE 0x22000
89 #define PORT1_REG(reg_addr) (PORT1_BASE + (reg_addr))
91 #define PORT2_BASE 0x24000
92 #define PORT2_REG(reg_addr) (PORT2_BASE + (reg_addr))
94 #define PORT3_BASE 0x26000
95 #define PORT3_REG(reg_addr) (PORT3_BASE + (reg_addr))
97 #define PORT_STRIDE 0x2000
98 #define PORT_BASE(idx) (PORT0_BASE + (idx) * PORT_STRIDE)
99 #define PORT_REG(idx, reg) (PORT_BASE(idx) + (reg))
101 #define SGE_QUEUE_BASE_MAP_HIGH(idx) (A_SGE_QUEUE_BASE_MAP_HIGH + (idx) * 8)
102 #define NUM_SGE_QUEUE_BASE_MAP_HIGH_INSTANCES 136
104 #define SGE_QUEUE_BASE_MAP_LOW(idx) (A_SGE_QUEUE_BASE_MAP_LOW + (idx) * 8)
105 #define NUM_SGE_QUEUE_BASE_MAP_LOW_INSTANCES 136
107 #define PCIE_DMA_REG(reg_addr, idx) ((reg_addr) + (idx) * 8)
108 #define NUM_PCIE_DMA_INSTANCES 4
110 #define PCIE_CMD_REG(reg_addr, idx) ((reg_addr) + (idx) * 8)
111 #define NUM_PCIE_CMD_INSTANCES 2
113 #define PCIE_HMA_REG(reg_addr, idx) ((reg_addr) + (idx) * 8)
114 #define NUM_PCIE_HMA_INSTANCES 1
116 #define PCIE_MEM_ACCESS_REG(reg_addr, idx) ((reg_addr) + (idx) * 8)
117 #define NUM_PCIE_MEM_ACCESS_INSTANCES 8
119 #define PCIE_MAILBOX_REG(reg_addr, idx) ((reg_addr) + (idx) * 8)
120 #define NUM_PCIE_MAILBOX_INSTANCES 1
122 #define PCIE_FW_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
123 #define NUM_PCIE_FW_INSTANCES 8
125 #define PCIE_FUNC_REG(reg_addr, idx) ((reg_addr) + (idx) * 8)
126 #define NUM_PCIE_FUNC_INSTANCES 256
128 #define PCIE_FID(idx) (A_PCIE_FID + (idx) * 4)
129 #define NUM_PCIE_FID_INSTANCES 2048
131 #define PCIE_DMA_BUF_REG(reg_addr, idx) ((reg_addr) + (idx) * 8)
132 #define NUM_PCIE_DMA_BUF_INSTANCES 4
134 #define MC_DDR3PHYDATX8_REG(reg_addr, idx) ((reg_addr) + (idx) * 256)
135 #define NUM_MC_DDR3PHYDATX8_INSTANCES 9
137 #define MC_BIST_STATUS_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
138 #define NUM_MC_BIST_STATUS_INSTANCES 18
140 #define EDC_BIST_STATUS_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
141 #define NUM_EDC_BIST_STATUS_INSTANCES 18
143 #define CIM_PF_MAILBOX_DATA(idx) (A_CIM_PF_MAILBOX_DATA + (idx) * 4)
144 #define NUM_CIM_PF_MAILBOX_DATA_INSTANCES 16
146 #define MPS_TRC_FILTER_MATCH_CTL_A(idx) (A_MPS_TRC_FILTER_MATCH_CTL_A + (idx) * 4)
147 #define NUM_MPS_TRC_FILTER_MATCH_CTL_A_INSTANCES 4
149 #define MPS_TRC_FILTER_MATCH_CTL_B(idx) (A_MPS_TRC_FILTER_MATCH_CTL_B + (idx) * 4)
150 #define NUM_MPS_TRC_FILTER_MATCH_CTL_B_INSTANCES 4
152 #define MPS_TRC_FILTER_RUNT_CTL(idx) (A_MPS_TRC_FILTER_RUNT_CTL + (idx) * 4)
153 #define NUM_MPS_TRC_FILTER_RUNT_CTL_INSTANCES 4
155 #define MPS_TRC_FILTER_DROP(idx) (A_MPS_TRC_FILTER_DROP + (idx) * 4)
156 #define NUM_MPS_TRC_FILTER_DROP_INSTANCES 4
158 #define MPS_TRC_FILTER0_MATCH(idx) (A_MPS_TRC_FILTER0_MATCH + (idx) * 4)
159 #define NUM_MPS_TRC_FILTER0_MATCH_INSTANCES 28
161 #define MPS_TRC_FILTER0_DONT_CARE(idx) (A_MPS_TRC_FILTER0_DONT_CARE + (idx) * 4)
162 #define NUM_MPS_TRC_FILTER0_DONT_CARE_INSTANCES 28
164 #define MPS_TRC_FILTER1_MATCH(idx) (A_MPS_TRC_FILTER1_MATCH + (idx) * 4)
165 #define NUM_MPS_TRC_FILTER1_MATCH_INSTANCES 28
167 #define MPS_TRC_FILTER1_DONT_CARE(idx) (A_MPS_TRC_FILTER1_DONT_CARE + (idx) * 4)
168 #define NUM_MPS_TRC_FILTER1_DONT_CARE_INSTANCES 28
170 #define MPS_TRC_FILTER2_MATCH(idx) (A_MPS_TRC_FILTER2_MATCH + (idx) * 4)
171 #define NUM_MPS_TRC_FILTER2_MATCH_INSTANCES 28
173 #define MPS_TRC_FILTER2_DONT_CARE(idx) (A_MPS_TRC_FILTER2_DONT_CARE + (idx) * 4)
174 #define NUM_MPS_TRC_FILTER2_DONT_CARE_INSTANCES 28
176 #define MPS_TRC_FILTER3_MATCH(idx) (A_MPS_TRC_FILTER3_MATCH + (idx) * 4)
177 #define NUM_MPS_TRC_FILTER3_MATCH_INSTANCES 28
179 #define MPS_TRC_FILTER3_DONT_CARE(idx) (A_MPS_TRC_FILTER3_DONT_CARE + (idx) * 4)
180 #define NUM_MPS_TRC_FILTER3_DONT_CARE_INSTANCES 28
182 #define MPS_PORT_CLS_HASH_SRAM(idx) (A_MPS_PORT_CLS_HASH_SRAM + (idx) * 4)
183 #define NUM_MPS_PORT_CLS_HASH_SRAM_INSTANCES 65
185 #define MPS_CLS_VLAN_TABLE(idx) (A_MPS_CLS_VLAN_TABLE + (idx) * 4)
186 #define NUM_MPS_CLS_VLAN_TABLE_INSTANCES 9
188 #define MPS_CLS_SRAM_L(idx) (A_MPS_CLS_SRAM_L + (idx) * 8)
189 #define NUM_MPS_CLS_SRAM_L_INSTANCES 336
191 #define MPS_CLS_SRAM_H(idx) (A_MPS_CLS_SRAM_H + (idx) * 8)
192 #define NUM_MPS_CLS_SRAM_H_INSTANCES 336
194 #define MPS_CLS_TCAM_Y_L(idx) (A_MPS_CLS_TCAM_Y_L + (idx) * 16)
195 #define NUM_MPS_CLS_TCAM_Y_L_INSTANCES 512
197 #define MPS_CLS_TCAM_Y_H(idx) (A_MPS_CLS_TCAM_Y_H + (idx) * 16)
198 #define NUM_MPS_CLS_TCAM_Y_H_INSTANCES 512
200 #define MPS_CLS_TCAM_X_L(idx) (A_MPS_CLS_TCAM_X_L + (idx) * 16)
201 #define NUM_MPS_CLS_TCAM_X_L_INSTANCES 512
203 #define MPS_CLS_TCAM_X_H(idx) (A_MPS_CLS_TCAM_X_H + (idx) * 16)
204 #define NUM_MPS_CLS_TCAM_X_H_INSTANCES 512
206 #define PL_SEMAPHORE_LOCK(idx) (A_PL_SEMAPHORE_LOCK + (idx) * 4)
207 #define NUM_PL_SEMAPHORE_LOCK_INSTANCES 8
209 #define PL_VF_SLICE_L(idx) (A_PL_VF_SLICE_L + (idx) * 8)
210 #define NUM_PL_VF_SLICE_L_INSTANCES 8
212 #define PL_VF_SLICE_H(idx) (A_PL_VF_SLICE_H + (idx) * 8)
213 #define NUM_PL_VF_SLICE_H_INSTANCES 8
215 #define PL_FLR_VF_STATUS(idx) (A_PL_FLR_VF_STATUS + (idx) * 4)
216 #define NUM_PL_FLR_VF_STATUS_INSTANCES 4
218 #define PL_VFID_MAP(idx) (A_PL_VFID_MAP + (idx) * 4)
219 #define NUM_PL_VFID_MAP_INSTANCES 256
221 #define LE_DB_MASK_IPV4(idx) (A_LE_DB_MASK_IPV4 + (idx) * 4)
222 #define NUM_LE_DB_MASK_IPV4_INSTANCES 17
224 #define LE_DB_MASK_IPV6(idx) (A_LE_DB_MASK_IPV6 + (idx) * 4)
225 #define NUM_LE_DB_MASK_IPV6_INSTANCES 17
227 #define LE_DB_DBGI_REQ_DATA(idx) (A_LE_DB_DBGI_REQ_DATA + (idx) * 4)
228 #define NUM_LE_DB_DBGI_REQ_DATA_INSTANCES 17
230 #define LE_DB_DBGI_REQ_MASK(idx) (A_LE_DB_DBGI_REQ_MASK + (idx) * 4)
231 #define NUM_LE_DB_DBGI_REQ_MASK_INSTANCES 17
233 #define LE_DB_DBGI_RSP_DATA(idx) (A_LE_DB_DBGI_RSP_DATA + (idx) * 4)
234 #define NUM_LE_DB_DBGI_RSP_DATA_INSTANCES 17
236 #define LE_DB_ACTIVE_MASK_IPV4(idx) (A_LE_DB_ACTIVE_MASK_IPV4 + (idx) * 4)
237 #define NUM_LE_DB_ACTIVE_MASK_IPV4_INSTANCES 17
239 #define LE_DB_ACTIVE_MASK_IPV6(idx) (A_LE_DB_ACTIVE_MASK_IPV6 + (idx) * 4)
240 #define NUM_LE_DB_ACTIVE_MASK_IPV6_INSTANCES 17
242 #define LE_HASH_MASK_GEN_IPV4(idx) (A_LE_HASH_MASK_GEN_IPV4 + (idx) * 4)
243 #define NUM_LE_HASH_MASK_GEN_IPV4_INSTANCES 4
245 #define LE_HASH_MASK_GEN_IPV6(idx) (A_LE_HASH_MASK_GEN_IPV6 + (idx) * 4)
246 #define NUM_LE_HASH_MASK_GEN_IPV6_INSTANCES 12
248 #define LE_HASH_MASK_CMP_IPV4(idx) (A_LE_HASH_MASK_CMP_IPV4 + (idx) * 4)
249 #define NUM_LE_HASH_MASK_CMP_IPV4_INSTANCES 4
251 #define LE_HASH_MASK_CMP_IPV6(idx) (A_LE_HASH_MASK_CMP_IPV6 + (idx) * 4)
252 #define NUM_LE_HASH_MASK_CMP_IPV6_INSTANCES 12
254 #define UP_TSCH_CHANNEL_REG(reg_addr, idx) ((reg_addr) + (idx) * 16)
255 #define NUM_UP_TSCH_CHANNEL_INSTANCES 4
257 #define CIM_CTL_MAILBOX_VF_STATUS(idx) (A_CIM_CTL_MAILBOX_VF_STATUS + (idx) * 4)
258 #define NUM_CIM_CTL_MAILBOX_VF_STATUS_INSTANCES 4
260 #define CIM_CTL_MAILBOX_VFN_CTL(idx) (A_CIM_CTL_MAILBOX_VFN_CTL + (idx) * 16)
261 #define NUM_CIM_CTL_MAILBOX_VFN_CTL_INSTANCES 128
263 #define CIM_CTL_TSCH_CHANNEL_REG(reg_addr, idx) ((reg_addr) + (idx) * 288)
264 #define NUM_CIM_CTL_TSCH_CHANNEL_INSTANCES 4
266 #define CIM_CTL_TSCH_CHANNEL_TSCH_CLASS_REG(reg_addr, idx) ((reg_addr) + (idx) * 16)
267 #define NUM_CIM_CTL_TSCH_CHANNEL_TSCH_CLASS_INSTANCES 16
269 #define T5_MYPORT_BASE 0x2c000
270 #define T5_MYPORT_REG(reg_addr) (T5_MYPORT_BASE + (reg_addr))
272 #define T5_PORT0_BASE 0x30000
273 #define T5_PORT0_REG(reg_addr) (T5_PORT0_BASE + (reg_addr))
275 #define T5_PORT1_BASE 0x34000
276 #define T5_PORT1_REG(reg_addr) (T5_PORT1_BASE + (reg_addr))
278 #define T5_PORT2_BASE 0x38000
279 #define T5_PORT2_REG(reg_addr) (T5_PORT2_BASE + (reg_addr))
281 #define T5_PORT3_BASE 0x3c000
282 #define T5_PORT3_REG(reg_addr) (T5_PORT3_BASE + (reg_addr))
284 #define T5_PORT_STRIDE 0x4000
285 #define T5_PORT_BASE(idx) (T5_PORT0_BASE + (idx) * T5_PORT_STRIDE)
286 #define T5_PORT_REG(idx, reg) (T5_PORT_BASE(idx) + (reg))
288 #define MC_STRIDE (MC_1_BASE_ADDR - MC_0_BASE_ADDR)
289 #define MC_REG(reg, idx) (reg + MC_STRIDE * idx)
291 #define PCIE_PF_INT_REG(reg_addr, idx) ((reg_addr) + (idx) * 8)
292 #define NUM_PCIE_PF_INT_INSTANCES 8
294 #define PCIE_VF_INT_REG(reg_addr, idx) ((reg_addr) + (idx) * 8)
295 #define NUM_PCIE_VF_INT_INSTANCES 128
297 #define PCIE_FID_VFID(idx) (A_PCIE_FID_VFID + (idx) * 4)
298 #define NUM_PCIE_FID_VFID_INSTANCES 2048
300 #define PCIE_COOKIE_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
301 #define NUM_PCIE_COOKIE_INSTANCES 8
303 #define PCIE_T5_DMA_REG(reg_addr, idx) ((reg_addr) + (idx) * 16)
304 #define NUM_PCIE_T5_DMA_INSTANCES 4
306 #define PCIE_T5_CMD_REG(reg_addr, idx) ((reg_addr) + (idx) * 16)
307 #define NUM_PCIE_T5_CMD_INSTANCES 3
309 #define PCIE_T5_HMA_REG(reg_addr, idx) ((reg_addr) + (idx) * 16)
310 #define NUM_PCIE_T5_HMA_INSTANCES 1
312 #define PCIE_PHY_PRESET_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
313 #define NUM_PCIE_PHY_PRESET_INSTANCES 11
315 #define MPS_T5_CLS_SRAM_L(idx) (A_MPS_T5_CLS_SRAM_L + (idx) * 8)
316 #define NUM_MPS_T5_CLS_SRAM_L_INSTANCES 512
318 #define MPS_T5_CLS_SRAM_H(idx) (A_MPS_T5_CLS_SRAM_H + (idx) * 8)
319 #define NUM_MPS_T5_CLS_SRAM_H_INSTANCES 512
321 #define LE_T5_DB_MASK_IPV4(idx) (A_LE_T5_DB_MASK_IPV4 + (idx) * 4)
322 #define NUM_LE_T5_DB_MASK_IPV4_INSTANCES 5
324 #define LE_T5_DB_ACTIVE_MASK_IPV4(idx) (A_LE_T5_DB_ACTIVE_MASK_IPV4 + (idx) * 4)
325 #define NUM_LE_T5_DB_ACTIVE_MASK_IPV4_INSTANCES 5
327 #define LE_HASH_MASK_GEN_IPV4T5(idx) (A_LE_HASH_MASK_GEN_IPV4T5 + (idx) * 4)
328 #define NUM_LE_HASH_MASK_GEN_IPV4T5_INSTANCES 5
330 #define LE_HASH_MASK_GEN_IPV6T5(idx) (A_LE_HASH_MASK_GEN_IPV6T5 + (idx) * 4)
331 #define NUM_LE_HASH_MASK_GEN_IPV6T5_INSTANCES 12
333 #define LE_HASH_MASK_CMP_IPV4T5(idx) (A_LE_HASH_MASK_CMP_IPV4T5 + (idx) * 4)
334 #define NUM_LE_HASH_MASK_CMP_IPV4T5_INSTANCES 5
336 #define LE_HASH_MASK_CMP_IPV6T5(idx) (A_LE_HASH_MASK_CMP_IPV6T5 + (idx) * 4)
337 #define NUM_LE_HASH_MASK_CMP_IPV6T5_INSTANCES 12
339 #define LE_DB_SECOND_ACTIVE_MASK_IPV4(idx) (A_LE_DB_SECOND_ACTIVE_MASK_IPV4 + (idx) * 4)
340 #define NUM_LE_DB_SECOND_ACTIVE_MASK_IPV4_INSTANCES 5
342 #define LE_DB_SECOND_GEN_HASH_MASK_IPV4(idx) (A_LE_DB_SECOND_GEN_HASH_MASK_IPV4 + (idx) * 4)
343 #define NUM_LE_DB_SECOND_GEN_HASH_MASK_IPV4_INSTANCES 5
345 #define LE_DB_SECOND_CMP_HASH_MASK_IPV4(idx) (A_LE_DB_SECOND_CMP_HASH_MASK_IPV4 + (idx) * 4)
346 #define NUM_LE_DB_SECOND_CMP_HASH_MASK_IPV4_INSTANCES 5
348 #define MC_ADR_REG(reg_addr, idx) ((reg_addr) + (idx) * 512)
349 #define NUM_MC_ADR_INSTANCES 2
351 #define MC_DDRPHY_DP18_REG(reg_addr, idx) ((reg_addr) + (idx) * 512)
352 #define NUM_MC_DDRPHY_DP18_INSTANCES 5
354 #define MC_CE_ERR_DATA_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
355 #define NUM_MC_CE_ERR_DATA_INSTANCES 8
357 #define MC_CE_COR_DATA_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
358 #define NUM_MC_CE_COR_DATA_INSTANCES 8
360 #define MC_UE_ERR_DATA_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
361 #define NUM_MC_UE_ERR_DATA_INSTANCES 8
363 #define MC_UE_COR_DATA_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
364 #define NUM_MC_UE_COR_DATA_INSTANCES 8
366 #define MC_P_BIST_STATUS_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
367 #define NUM_MC_P_BIST_STATUS_INSTANCES 18
369 #define EDC_H_BIST_STATUS_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
370 #define NUM_EDC_H_BIST_STATUS_INSTANCES 18
372 #define EDC_H_ECC_ERR_DATA_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
373 #define NUM_EDC_H_ECC_ERR_DATA_INSTANCES 16
375 #define SGE_DEBUG1_DBP_THREAD(idx) (A_SGE_DEBUG1_DBP_THREAD + (idx) * 4)
376 #define NUM_SGE_DEBUG1_DBP_THREAD_INSTANCES 4
378 #define SGE_DEBUG0_DBP_THREAD(idx) (A_SGE_DEBUG0_DBP_THREAD + (idx) * 4)
379 #define NUM_SGE_DEBUG0_DBP_THREAD_INSTANCES 5
381 #define SGE_WC_EGRS_BAR2_OFF_PF(idx) (A_SGE_WC_EGRS_BAR2_OFF_PF + (idx) * 4)
382 #define NUM_SGE_WC_EGRS_BAR2_OFF_PF_INSTANCES 8
384 #define SGE_WC_EGRS_BAR2_OFF_VF(idx) (A_SGE_WC_EGRS_BAR2_OFF_VF + (idx) * 4)
385 #define NUM_SGE_WC_EGRS_BAR2_OFF_VF_INSTANCES 8
387 #define PCIE_T6_DMA_REG(reg_addr, idx) ((reg_addr) + (idx) * 16)
388 #define NUM_PCIE_T6_DMA_INSTANCES 2
390 #define PCIE_T6_CMD_REG(reg_addr, idx) ((reg_addr) + (idx) * 16)
391 #define NUM_PCIE_T6_CMD_INSTANCES 1
393 #define PCIE_VF_256_INT_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
394 #define NUM_PCIE_VF_256_INT_INSTANCES 128
396 #define MPS_CLS_REQUEST_TRACE_MAC_DA_L(idx) (A_MPS_CLS_REQUEST_TRACE_MAC_DA_L + (idx) * 32)
397 #define NUM_MPS_CLS_REQUEST_TRACE_MAC_DA_L_INSTANCES 8
399 #define MPS_CLS_REQUEST_TRACE_MAC_DA_H(idx) (A_MPS_CLS_REQUEST_TRACE_MAC_DA_H + (idx) * 32)
400 #define NUM_MPS_CLS_REQUEST_TRACE_MAC_DA_H_INSTANCES 8
402 #define MPS_CLS_REQUEST_TRACE_MAC_SA_L(idx) (A_MPS_CLS_REQUEST_TRACE_MAC_SA_L + (idx) * 32)
403 #define NUM_MPS_CLS_REQUEST_TRACE_MAC_SA_L_INSTANCES 8
405 #define MPS_CLS_REQUEST_TRACE_MAC_SA_H(idx) (A_MPS_CLS_REQUEST_TRACE_MAC_SA_H + (idx) * 32)
406 #define NUM_MPS_CLS_REQUEST_TRACE_MAC_SA_H_INSTANCES 8
408 #define MPS_CLS_REQUEST_TRACE_PORT_VLAN(idx) (A_MPS_CLS_REQUEST_TRACE_PORT_VLAN + (idx) * 32)
409 #define NUM_MPS_CLS_REQUEST_TRACE_PORT_VLAN_INSTANCES 8
411 #define MPS_CLS_REQUEST_TRACE_ENCAP(idx) (A_MPS_CLS_REQUEST_TRACE_ENCAP + (idx) * 32)
412 #define NUM_MPS_CLS_REQUEST_TRACE_ENCAP_INSTANCES 8
414 #define MPS_CLS_RESULT_TRACE(idx) (A_MPS_CLS_RESULT_TRACE + (idx) * 4)
415 #define NUM_MPS_CLS_RESULT_TRACE_INSTANCES 8
417 #define MPS_CLS_DIPIPV4_ID_TABLE(idx) (A_MPS_CLS_DIPIPV4_ID_TABLE + (idx) * 8)
418 #define NUM_MPS_CLS_DIPIPV4_ID_TABLE_INSTANCES 4
420 #define MPS_CLS_DIPIPV4_MASK_TABLE(idx) (A_MPS_CLS_DIPIPV4_MASK_TABLE + (idx) * 8)
421 #define NUM_MPS_CLS_DIPIPV4_MASK_TABLE_INSTANCES 4
423 #define MPS_CLS_DIPIPV6ID_0_TABLE(idx) (A_MPS_CLS_DIPIPV6ID_0_TABLE + (idx) * 32)
424 #define NUM_MPS_CLS_DIPIPV6ID_0_TABLE_INSTANCES 2
426 #define MPS_CLS_DIPIPV6ID_1_TABLE(idx) (A_MPS_CLS_DIPIPV6ID_1_TABLE + (idx) * 32)
427 #define NUM_MPS_CLS_DIPIPV6ID_1_TABLE_INSTANCES 2
429 #define MPS_CLS_DIPIPV6ID_2_TABLE(idx) (A_MPS_CLS_DIPIPV6ID_2_TABLE + (idx) * 32)
430 #define NUM_MPS_CLS_DIPIPV6ID_2_TABLE_INSTANCES 2
432 #define MPS_CLS_DIPIPV6ID_3_TABLE(idx) (A_MPS_CLS_DIPIPV6ID_3_TABLE + (idx) * 32)
433 #define NUM_MPS_CLS_DIPIPV6ID_3_TABLE_INSTANCES 2
435 #define MPS_CLS_DIPIPV6MASK_0_TABLE(idx) (A_MPS_CLS_DIPIPV6MASK_0_TABLE + (idx) * 32)
436 #define NUM_MPS_CLS_DIPIPV6MASK_0_TABLE_INSTANCES 2
438 #define MPS_CLS_DIPIPV6MASK_1_TABLE(idx) (A_MPS_CLS_DIPIPV6MASK_1_TABLE + (idx) * 32)
439 #define NUM_MPS_CLS_DIPIPV6MASK_1_TABLE_INSTANCES 2
441 #define MPS_CLS_DIPIPV6MASK_2_TABLE(idx) (A_MPS_CLS_DIPIPV6MASK_2_TABLE + (idx) * 32)
442 #define NUM_MPS_CLS_DIPIPV6MASK_2_TABLE_INSTANCES 2
444 #define MPS_CLS_DIPIPV6MASK_3_TABLE(idx) (A_MPS_CLS_DIPIPV6MASK_3_TABLE + (idx) * 32)
445 #define NUM_MPS_CLS_DIPIPV6MASK_3_TABLE_INSTANCES 2
447 #define MPS_RX_HASH_LKP_TABLE(idx) (A_MPS_RX_HASH_LKP_TABLE + (idx) * 4)
448 #define NUM_MPS_RX_HASH_LKP_TABLE_INSTANCES 4
450 #define LE_DB_DBG_MATCH_DATA_MASK(idx) (A_LE_DB_DBG_MATCH_DATA_MASK + (idx) * 4)
451 #define NUM_LE_DB_DBG_MATCH_DATA_MASK_INSTANCES 8
453 #define LE_DB_DBG_MATCH_DATA(idx) (A_LE_DB_DBG_MATCH_DATA + (idx) * 4)
454 #define NUM_LE_DB_DBG_MATCH_DATA_INSTANCES 8
456 #define LE_DB_DBGI_REQ_DATA_T6(idx) (A_LE_DB_DBGI_REQ_DATA + (idx) * 4)
457 #define NUM_LE_DB_DBGI_REQ_DATA_T6_INSTANCES 11
459 #define LE_DB_DBGI_REQ_MASK_T6(idx) (A_LE_DB_DBGI_REQ_MASK + (idx) * 4)
460 #define NUM_LE_DB_DBGI_REQ_MASK_T6_INSTANCES 11
462 #define LE_DB_DBGI_RSP_DATA_T6(idx) (A_LE_DB_DBGI_RSP_DATA + (idx) * 4)
463 #define NUM_LE_DB_DBGI_RSP_DATA_T6_INSTANCES 11
465 #define LE_DB_ACTIVE_MASK_IPV6_T6(idx) (A_LE_DB_ACTIVE_MASK_IPV6 + (idx) * 4)
466 #define NUM_LE_DB_ACTIVE_MASK_IPV6_T6_INSTANCES 8
468 #define LE_HASH_MASK_GEN_IPV4T6(idx) (A_LE_HASH_MASK_GEN_IPV4T5 + (idx) * 4)
469 #define NUM_LE_HASH_MASK_GEN_IPV4T6_INSTANCES 8
471 #define T6_LE_HASH_MASK_GEN_IPV6T5(idx) (A_T6_LE_HASH_MASK_GEN_IPV6T5 + (idx) * 4)
472 #define NUM_T6_LE_HASH_MASK_GEN_IPV6T5_INSTANCES 8
474 #define LE_DB_PSV_FILTER_MASK_TUP_IPV4(idx) (A_LE_DB_PSV_FILTER_MASK_TUP_IPV4 + (idx) * 4)
475 #define NUM_LE_DB_PSV_FILTER_MASK_TUP_IPV4_INSTANCES 3
477 #define LE_DB_PSV_FILTER_MASK_FLT_IPV4(idx) (A_LE_DB_PSV_FILTER_MASK_FLT_IPV4 + (idx) * 4)
478 #define NUM_LE_DB_PSV_FILTER_MASK_FLT_IPV4_INSTANCES 2
480 #define LE_DB_PSV_FILTER_MASK_TUP_IPV6(idx) (A_LE_DB_PSV_FILTER_MASK_TUP_IPV6 + (idx) * 4)
481 #define NUM_LE_DB_PSV_FILTER_MASK_TUP_IPV6_INSTANCES 9
483 #define LE_DB_PSV_FILTER_MASK_FLT_IPV6(idx) (A_LE_DB_PSV_FILTER_MASK_FLT_IPV6 + (idx) * 4)
484 #define NUM_LE_DB_PSV_FILTER_MASK_FLT_IPV6_INSTANCES 2
486 #define LE_DB_SECOND_GEN_HASH_MASK_IPV4_T6(idx) (A_LE_DB_SECOND_GEN_HASH_MASK_IPV4 + (idx) * 4)
487 #define NUM_LE_DB_SECOND_GEN_HASH_MASK_IPV4_T6_INSTANCES 8
489 #define MC_DDRPHY_DP18_T6_REG(reg_addr, idx) ((reg_addr) + (idx) * 512)
490 #define NUM_MC_DDRPHY_DP18_T6_INSTANCES 9
492 #define MC_CE_ERR_DATA_T6_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
493 #define NUM_MC_CE_ERR_DATA_T6_INSTANCES 16
495 #define MC_UE_ERR_DATA_T6_REG(reg_addr, idx) ((reg_addr) + (idx) * 4)
496 #define NUM_MC_UE_ERR_DATA_T6_INSTANCES 16
498 #define CIM_CTL_MAILBOX_VF_STATUS_T6(idx) (A_CIM_CTL_MAILBOX_VF_STATUS + (idx) * 4)
499 #define NUM_CIM_CTL_MAILBOX_VF_STATUS_T6_INSTANCES 8
501 #define CIM_CTL_MAILBOX_VFN_CTL_T6(idx) (A_CIM_CTL_MAILBOX_VFN_CTL + (idx) * 4)
502 #define NUM_CIM_CTL_MAILBOX_VFN_CTL_T6_INSTANCES 256
504 #define EDC_STRIDE (EDC_1_BASE_ADDR - EDC_0_BASE_ADDR)
505 #define EDC_REG(reg, idx) (reg + EDC_STRIDE * idx)
507 #define EDC_T5_STRIDE (EDC_T51_BASE_ADDR - EDC_T50_BASE_ADDR)
508 #define EDC_T5_REG(reg, idx) (reg + EDC_T5_STRIDE * idx)
510 /* registers for module SGE */
511 #define SGE_BASE_ADDR 0x1000
513 #define A_SGE_PF_KDOORBELL 0x0
516 #define M_QID 0x1ffffU
517 #define V_QID(x) ((x) << S_QID)
518 #define G_QID(x) (((x) >> S_QID) & M_QID)
521 #define V_DBPRIO(x) ((x) << S_DBPRIO)
522 #define F_DBPRIO V_DBPRIO(1U)
525 #define M_PIDX 0x3fffU
526 #define V_PIDX(x) ((x) << S_PIDX)
527 #define G_PIDX(x) (((x) >> S_PIDX) & M_PIDX)
529 #define A_SGE_VF_KDOORBELL 0x0
532 #define V_DBTYPE(x) ((x) << S_DBTYPE)
533 #define F_DBTYPE V_DBTYPE(1U)
536 #define M_PIDX_T5 0x1fffU
537 #define V_PIDX_T5(x) ((x) << S_PIDX_T5)
538 #define G_PIDX_T5(x) (((x) >> S_PIDX_T5) & M_PIDX_T5)
541 #define V_SYNC_T6(x) ((x) << S_SYNC_T6)
542 #define F_SYNC_T6 V_SYNC_T6(1U)
544 #define A_SGE_PF_GTS 0x4
546 #define S_INGRESSQID 16
547 #define M_INGRESSQID 0xffffU
548 #define V_INGRESSQID(x) ((x) << S_INGRESSQID)
549 #define G_INGRESSQID(x) (((x) >> S_INGRESSQID) & M_INGRESSQID)
551 #define S_TIMERREG 13
552 #define M_TIMERREG 0x7U
553 #define V_TIMERREG(x) ((x) << S_TIMERREG)
554 #define G_TIMERREG(x) (((x) >> S_TIMERREG) & M_TIMERREG)
556 #define S_SEINTARM 12
557 #define V_SEINTARM(x) ((x) << S_SEINTARM)
558 #define F_SEINTARM V_SEINTARM(1U)
561 #define M_CIDXINC 0xfffU
562 #define V_CIDXINC(x) ((x) << S_CIDXINC)
563 #define G_CIDXINC(x) (((x) >> S_CIDXINC) & M_CIDXINC)
565 #define A_SGE_VF_GTS 0x4
566 #define A_SGE_PF_KTIMESTAMP_LO 0x8
567 #define A_SGE_VF_KTIMESTAMP_LO 0x8
568 #define A_SGE_PF_KTIMESTAMP_HI 0xc
570 #define S_TSTAMPVAL 0
571 #define M_TSTAMPVAL 0xfffffffU
572 #define V_TSTAMPVAL(x) ((x) << S_TSTAMPVAL)
573 #define G_TSTAMPVAL(x) (((x) >> S_TSTAMPVAL) & M_TSTAMPVAL)
575 #define A_SGE_VF_KTIMESTAMP_HI 0xc
576 #define A_SGE_CONTROL 0x1008
578 #define S_IGRALLCPLTOFL 31
579 #define V_IGRALLCPLTOFL(x) ((x) << S_IGRALLCPLTOFL)
580 #define F_IGRALLCPLTOFL V_IGRALLCPLTOFL(1U)
582 #define S_FLSPLITMIN 22
583 #define M_FLSPLITMIN 0x1ffU
584 #define V_FLSPLITMIN(x) ((x) << S_FLSPLITMIN)
585 #define G_FLSPLITMIN(x) (((x) >> S_FLSPLITMIN) & M_FLSPLITMIN)
587 #define S_FLSPLITMODE 20
588 #define M_FLSPLITMODE 0x3U
589 #define V_FLSPLITMODE(x) ((x) << S_FLSPLITMODE)
590 #define G_FLSPLITMODE(x) (((x) >> S_FLSPLITMODE) & M_FLSPLITMODE)
592 #define S_DCASYSTYPE 19
593 #define V_DCASYSTYPE(x) ((x) << S_DCASYSTYPE)
594 #define F_DCASYSTYPE V_DCASYSTYPE(1U)
596 #define S_RXPKTCPLMODE 18
597 #define V_RXPKTCPLMODE(x) ((x) << S_RXPKTCPLMODE)
598 #define F_RXPKTCPLMODE V_RXPKTCPLMODE(1U)
600 #define S_EGRSTATUSPAGESIZE 17
601 #define V_EGRSTATUSPAGESIZE(x) ((x) << S_EGRSTATUSPAGESIZE)
602 #define F_EGRSTATUSPAGESIZE V_EGRSTATUSPAGESIZE(1U)
604 #define S_INGHINTENABLE1 15
605 #define V_INGHINTENABLE1(x) ((x) << S_INGHINTENABLE1)
606 #define F_INGHINTENABLE1 V_INGHINTENABLE1(1U)
608 #define S_INGHINTENABLE0 14
609 #define V_INGHINTENABLE0(x) ((x) << S_INGHINTENABLE0)
610 #define F_INGHINTENABLE0 V_INGHINTENABLE0(1U)
612 #define S_INGINTCOMPAREIDX 13
613 #define V_INGINTCOMPAREIDX(x) ((x) << S_INGINTCOMPAREIDX)
614 #define F_INGINTCOMPAREIDX V_INGINTCOMPAREIDX(1U)
616 #define S_PKTSHIFT 10
617 #define M_PKTSHIFT 0x7U
618 #define V_PKTSHIFT(x) ((x) << S_PKTSHIFT)
619 #define G_PKTSHIFT(x) (((x) >> S_PKTSHIFT) & M_PKTSHIFT)
621 #define S_INGPCIEBOUNDARY 7
622 #define M_INGPCIEBOUNDARY 0x7U
623 #define V_INGPCIEBOUNDARY(x) ((x) << S_INGPCIEBOUNDARY)
624 #define G_INGPCIEBOUNDARY(x) (((x) >> S_INGPCIEBOUNDARY) & M_INGPCIEBOUNDARY)
626 #define S_INGPADBOUNDARY 4
627 #define M_INGPADBOUNDARY 0x7U
628 #define V_INGPADBOUNDARY(x) ((x) << S_INGPADBOUNDARY)
629 #define G_INGPADBOUNDARY(x) (((x) >> S_INGPADBOUNDARY) & M_INGPADBOUNDARY)
631 #define S_EGRPCIEBOUNDARY 1
632 #define M_EGRPCIEBOUNDARY 0x7U
633 #define V_EGRPCIEBOUNDARY(x) ((x) << S_EGRPCIEBOUNDARY)
634 #define G_EGRPCIEBOUNDARY(x) (((x) >> S_EGRPCIEBOUNDARY) & M_EGRPCIEBOUNDARY)
636 #define S_GLOBALENABLE 0
637 #define V_GLOBALENABLE(x) ((x) << S_GLOBALENABLE)
638 #define F_GLOBALENABLE V_GLOBALENABLE(1U)
640 #define A_SGE_HOST_PAGE_SIZE 0x100c
642 #define S_HOSTPAGESIZEPF7 28
643 #define M_HOSTPAGESIZEPF7 0xfU
644 #define V_HOSTPAGESIZEPF7(x) ((x) << S_HOSTPAGESIZEPF7)
645 #define G_HOSTPAGESIZEPF7(x) (((x) >> S_HOSTPAGESIZEPF7) & M_HOSTPAGESIZEPF7)
647 #define S_HOSTPAGESIZEPF6 24
648 #define M_HOSTPAGESIZEPF6 0xfU
649 #define V_HOSTPAGESIZEPF6(x) ((x) << S_HOSTPAGESIZEPF6)
650 #define G_HOSTPAGESIZEPF6(x) (((x) >> S_HOSTPAGESIZEPF6) & M_HOSTPAGESIZEPF6)
652 #define S_HOSTPAGESIZEPF5 20
653 #define M_HOSTPAGESIZEPF5 0xfU
654 #define V_HOSTPAGESIZEPF5(x) ((x) << S_HOSTPAGESIZEPF5)
655 #define G_HOSTPAGESIZEPF5(x) (((x) >> S_HOSTPAGESIZEPF5) & M_HOSTPAGESIZEPF5)
657 #define S_HOSTPAGESIZEPF4 16
658 #define M_HOSTPAGESIZEPF4 0xfU
659 #define V_HOSTPAGESIZEPF4(x) ((x) << S_HOSTPAGESIZEPF4)
660 #define G_HOSTPAGESIZEPF4(x) (((x) >> S_HOSTPAGESIZEPF4) & M_HOSTPAGESIZEPF4)
662 #define S_HOSTPAGESIZEPF3 12
663 #define M_HOSTPAGESIZEPF3 0xfU
664 #define V_HOSTPAGESIZEPF3(x) ((x) << S_HOSTPAGESIZEPF3)
665 #define G_HOSTPAGESIZEPF3(x) (((x) >> S_HOSTPAGESIZEPF3) & M_HOSTPAGESIZEPF3)
667 #define S_HOSTPAGESIZEPF2 8
668 #define M_HOSTPAGESIZEPF2 0xfU
669 #define V_HOSTPAGESIZEPF2(x) ((x) << S_HOSTPAGESIZEPF2)
670 #define G_HOSTPAGESIZEPF2(x) (((x) >> S_HOSTPAGESIZEPF2) & M_HOSTPAGESIZEPF2)
672 #define S_HOSTPAGESIZEPF1 4
673 #define M_HOSTPAGESIZEPF1 0xfU
674 #define V_HOSTPAGESIZEPF1(x) ((x) << S_HOSTPAGESIZEPF1)
675 #define G_HOSTPAGESIZEPF1(x) (((x) >> S_HOSTPAGESIZEPF1) & M_HOSTPAGESIZEPF1)
677 #define S_HOSTPAGESIZEPF0 0
678 #define M_HOSTPAGESIZEPF0 0xfU
679 #define V_HOSTPAGESIZEPF0(x) ((x) << S_HOSTPAGESIZEPF0)
680 #define G_HOSTPAGESIZEPF0(x) (((x) >> S_HOSTPAGESIZEPF0) & M_HOSTPAGESIZEPF0)
682 #define A_SGE_EGRESS_QUEUES_PER_PAGE_PF 0x1010
684 #define S_QUEUESPERPAGEPF7 28
685 #define M_QUEUESPERPAGEPF7 0xfU
686 #define V_QUEUESPERPAGEPF7(x) ((x) << S_QUEUESPERPAGEPF7)
687 #define G_QUEUESPERPAGEPF7(x) (((x) >> S_QUEUESPERPAGEPF7) & M_QUEUESPERPAGEPF7)
689 #define S_QUEUESPERPAGEPF6 24
690 #define M_QUEUESPERPAGEPF6 0xfU
691 #define V_QUEUESPERPAGEPF6(x) ((x) << S_QUEUESPERPAGEPF6)
692 #define G_QUEUESPERPAGEPF6(x) (((x) >> S_QUEUESPERPAGEPF6) & M_QUEUESPERPAGEPF6)
694 #define S_QUEUESPERPAGEPF5 20
695 #define M_QUEUESPERPAGEPF5 0xfU
696 #define V_QUEUESPERPAGEPF5(x) ((x) << S_QUEUESPERPAGEPF5)
697 #define G_QUEUESPERPAGEPF5(x) (((x) >> S_QUEUESPERPAGEPF5) & M_QUEUESPERPAGEPF5)
699 #define S_QUEUESPERPAGEPF4 16
700 #define M_QUEUESPERPAGEPF4 0xfU
701 #define V_QUEUESPERPAGEPF4(x) ((x) << S_QUEUESPERPAGEPF4)
702 #define G_QUEUESPERPAGEPF4(x) (((x) >> S_QUEUESPERPAGEPF4) & M_QUEUESPERPAGEPF4)
704 #define S_QUEUESPERPAGEPF3 12
705 #define M_QUEUESPERPAGEPF3 0xfU
706 #define V_QUEUESPERPAGEPF3(x) ((x) << S_QUEUESPERPAGEPF3)
707 #define G_QUEUESPERPAGEPF3(x) (((x) >> S_QUEUESPERPAGEPF3) & M_QUEUESPERPAGEPF3)
709 #define S_QUEUESPERPAGEPF2 8
710 #define M_QUEUESPERPAGEPF2 0xfU
711 #define V_QUEUESPERPAGEPF2(x) ((x) << S_QUEUESPERPAGEPF2)
712 #define G_QUEUESPERPAGEPF2(x) (((x) >> S_QUEUESPERPAGEPF2) & M_QUEUESPERPAGEPF2)
714 #define S_QUEUESPERPAGEPF1 4
715 #define M_QUEUESPERPAGEPF1 0xfU
716 #define V_QUEUESPERPAGEPF1(x) ((x) << S_QUEUESPERPAGEPF1)
717 #define G_QUEUESPERPAGEPF1(x) (((x) >> S_QUEUESPERPAGEPF1) & M_QUEUESPERPAGEPF1)
719 #define S_QUEUESPERPAGEPF0 0
720 #define M_QUEUESPERPAGEPF0 0xfU
721 #define V_QUEUESPERPAGEPF0(x) ((x) << S_QUEUESPERPAGEPF0)
722 #define G_QUEUESPERPAGEPF0(x) (((x) >> S_QUEUESPERPAGEPF0) & M_QUEUESPERPAGEPF0)
724 #define A_SGE_EGRESS_QUEUES_PER_PAGE_VF 0x1014
726 #define S_QUEUESPERPAGEVFPF7 28
727 #define M_QUEUESPERPAGEVFPF7 0xfU
728 #define V_QUEUESPERPAGEVFPF7(x) ((x) << S_QUEUESPERPAGEVFPF7)
729 #define G_QUEUESPERPAGEVFPF7(x) (((x) >> S_QUEUESPERPAGEVFPF7) & M_QUEUESPERPAGEVFPF7)
731 #define S_QUEUESPERPAGEVFPF6 24
732 #define M_QUEUESPERPAGEVFPF6 0xfU
733 #define V_QUEUESPERPAGEVFPF6(x) ((x) << S_QUEUESPERPAGEVFPF6)
734 #define G_QUEUESPERPAGEVFPF6(x) (((x) >> S_QUEUESPERPAGEVFPF6) & M_QUEUESPERPAGEVFPF6)
736 #define S_QUEUESPERPAGEVFPF5 20
737 #define M_QUEUESPERPAGEVFPF5 0xfU
738 #define V_QUEUESPERPAGEVFPF5(x) ((x) << S_QUEUESPERPAGEVFPF5)
739 #define G_QUEUESPERPAGEVFPF5(x) (((x) >> S_QUEUESPERPAGEVFPF5) & M_QUEUESPERPAGEVFPF5)
741 #define S_QUEUESPERPAGEVFPF4 16
742 #define M_QUEUESPERPAGEVFPF4 0xfU
743 #define V_QUEUESPERPAGEVFPF4(x) ((x) << S_QUEUESPERPAGEVFPF4)
744 #define G_QUEUESPERPAGEVFPF4(x) (((x) >> S_QUEUESPERPAGEVFPF4) & M_QUEUESPERPAGEVFPF4)
746 #define S_QUEUESPERPAGEVFPF3 12
747 #define M_QUEUESPERPAGEVFPF3 0xfU
748 #define V_QUEUESPERPAGEVFPF3(x) ((x) << S_QUEUESPERPAGEVFPF3)
749 #define G_QUEUESPERPAGEVFPF3(x) (((x) >> S_QUEUESPERPAGEVFPF3) & M_QUEUESPERPAGEVFPF3)
751 #define S_QUEUESPERPAGEVFPF2 8
752 #define M_QUEUESPERPAGEVFPF2 0xfU
753 #define V_QUEUESPERPAGEVFPF2(x) ((x) << S_QUEUESPERPAGEVFPF2)
754 #define G_QUEUESPERPAGEVFPF2(x) (((x) >> S_QUEUESPERPAGEVFPF2) & M_QUEUESPERPAGEVFPF2)
756 #define S_QUEUESPERPAGEVFPF1 4
757 #define M_QUEUESPERPAGEVFPF1 0xfU
758 #define V_QUEUESPERPAGEVFPF1(x) ((x) << S_QUEUESPERPAGEVFPF1)
759 #define G_QUEUESPERPAGEVFPF1(x) (((x) >> S_QUEUESPERPAGEVFPF1) & M_QUEUESPERPAGEVFPF1)
761 #define S_QUEUESPERPAGEVFPF0 0
762 #define M_QUEUESPERPAGEVFPF0 0xfU
763 #define V_QUEUESPERPAGEVFPF0(x) ((x) << S_QUEUESPERPAGEVFPF0)
764 #define G_QUEUESPERPAGEVFPF0(x) (((x) >> S_QUEUESPERPAGEVFPF0) & M_QUEUESPERPAGEVFPF0)
766 #define A_SGE_USER_MODE_LIMITS 0x1018
768 #define S_OPCODE_MIN 24
769 #define M_OPCODE_MIN 0xffU
770 #define V_OPCODE_MIN(x) ((x) << S_OPCODE_MIN)
771 #define G_OPCODE_MIN(x) (((x) >> S_OPCODE_MIN) & M_OPCODE_MIN)
773 #define S_OPCODE_MAX 16
774 #define M_OPCODE_MAX 0xffU
775 #define V_OPCODE_MAX(x) ((x) << S_OPCODE_MAX)
776 #define G_OPCODE_MAX(x) (((x) >> S_OPCODE_MAX) & M_OPCODE_MAX)
778 #define S_LENGTH_MIN 8
779 #define M_LENGTH_MIN 0xffU
780 #define V_LENGTH_MIN(x) ((x) << S_LENGTH_MIN)
781 #define G_LENGTH_MIN(x) (((x) >> S_LENGTH_MIN) & M_LENGTH_MIN)
783 #define S_LENGTH_MAX 0
784 #define M_LENGTH_MAX 0xffU
785 #define V_LENGTH_MAX(x) ((x) << S_LENGTH_MAX)
786 #define G_LENGTH_MAX(x) (((x) >> S_LENGTH_MAX) & M_LENGTH_MAX)
788 #define A_SGE_WR_ERROR 0x101c
790 #define S_WR_ERROR_OPCODE 0
791 #define M_WR_ERROR_OPCODE 0xffU
792 #define V_WR_ERROR_OPCODE(x) ((x) << S_WR_ERROR_OPCODE)
793 #define G_WR_ERROR_OPCODE(x) (((x) >> S_WR_ERROR_OPCODE) & M_WR_ERROR_OPCODE)
795 #define A_SGE_PERR_INJECT 0x1020
798 #define M_MEMSEL 0x1fU
799 #define V_MEMSEL(x) ((x) << S_MEMSEL)
800 #define G_MEMSEL(x) (((x) >> S_MEMSEL) & M_MEMSEL)
802 #define S_INJECTDATAERR 0
803 #define V_INJECTDATAERR(x) ((x) << S_INJECTDATAERR)
804 #define F_INJECTDATAERR V_INJECTDATAERR(1U)
806 #define A_SGE_INT_CAUSE1 0x1024
808 #define S_PERR_FLM_CREDITFIFO 30
809 #define V_PERR_FLM_CREDITFIFO(x) ((x) << S_PERR_FLM_CREDITFIFO)
810 #define F_PERR_FLM_CREDITFIFO V_PERR_FLM_CREDITFIFO(1U)
812 #define S_PERR_IMSG_HINT_FIFO 29
813 #define V_PERR_IMSG_HINT_FIFO(x) ((x) << S_PERR_IMSG_HINT_FIFO)
814 #define F_PERR_IMSG_HINT_FIFO V_PERR_IMSG_HINT_FIFO(1U)
816 #define S_PERR_MC_PC 28
817 #define V_PERR_MC_PC(x) ((x) << S_PERR_MC_PC)
818 #define F_PERR_MC_PC V_PERR_MC_PC(1U)
820 #define S_PERR_MC_IGR_CTXT 27
821 #define V_PERR_MC_IGR_CTXT(x) ((x) << S_PERR_MC_IGR_CTXT)
822 #define F_PERR_MC_IGR_CTXT V_PERR_MC_IGR_CTXT(1U)
824 #define S_PERR_MC_EGR_CTXT 26
825 #define V_PERR_MC_EGR_CTXT(x) ((x) << S_PERR_MC_EGR_CTXT)
826 #define F_PERR_MC_EGR_CTXT V_PERR_MC_EGR_CTXT(1U)
828 #define S_PERR_MC_FLM 25
829 #define V_PERR_MC_FLM(x) ((x) << S_PERR_MC_FLM)
830 #define F_PERR_MC_FLM V_PERR_MC_FLM(1U)
832 #define S_PERR_PC_MCTAG 24
833 #define V_PERR_PC_MCTAG(x) ((x) << S_PERR_PC_MCTAG)
834 #define F_PERR_PC_MCTAG V_PERR_PC_MCTAG(1U)
836 #define S_PERR_PC_CHPI_RSP1 23
837 #define V_PERR_PC_CHPI_RSP1(x) ((x) << S_PERR_PC_CHPI_RSP1)
838 #define F_PERR_PC_CHPI_RSP1 V_PERR_PC_CHPI_RSP1(1U)
840 #define S_PERR_PC_CHPI_RSP0 22
841 #define V_PERR_PC_CHPI_RSP0(x) ((x) << S_PERR_PC_CHPI_RSP0)
842 #define F_PERR_PC_CHPI_RSP0 V_PERR_PC_CHPI_RSP0(1U)
844 #define S_PERR_DBP_PC_RSP_FIFO3 21
845 #define V_PERR_DBP_PC_RSP_FIFO3(x) ((x) << S_PERR_DBP_PC_RSP_FIFO3)
846 #define F_PERR_DBP_PC_RSP_FIFO3 V_PERR_DBP_PC_RSP_FIFO3(1U)
848 #define S_PERR_DBP_PC_RSP_FIFO2 20
849 #define V_PERR_DBP_PC_RSP_FIFO2(x) ((x) << S_PERR_DBP_PC_RSP_FIFO2)
850 #define F_PERR_DBP_PC_RSP_FIFO2 V_PERR_DBP_PC_RSP_FIFO2(1U)
852 #define S_PERR_DBP_PC_RSP_FIFO1 19
853 #define V_PERR_DBP_PC_RSP_FIFO1(x) ((x) << S_PERR_DBP_PC_RSP_FIFO1)
854 #define F_PERR_DBP_PC_RSP_FIFO1 V_PERR_DBP_PC_RSP_FIFO1(1U)
856 #define S_PERR_DBP_PC_RSP_FIFO0 18
857 #define V_PERR_DBP_PC_RSP_FIFO0(x) ((x) << S_PERR_DBP_PC_RSP_FIFO0)
858 #define F_PERR_DBP_PC_RSP_FIFO0 V_PERR_DBP_PC_RSP_FIFO0(1U)
860 #define S_PERR_DMARBT 17
861 #define V_PERR_DMARBT(x) ((x) << S_PERR_DMARBT)
862 #define F_PERR_DMARBT V_PERR_DMARBT(1U)
864 #define S_PERR_FLM_DBPFIFO 16
865 #define V_PERR_FLM_DBPFIFO(x) ((x) << S_PERR_FLM_DBPFIFO)
866 #define F_PERR_FLM_DBPFIFO V_PERR_FLM_DBPFIFO(1U)
868 #define S_PERR_FLM_MCREQ_FIFO 15
869 #define V_PERR_FLM_MCREQ_FIFO(x) ((x) << S_PERR_FLM_MCREQ_FIFO)
870 #define F_PERR_FLM_MCREQ_FIFO V_PERR_FLM_MCREQ_FIFO(1U)
872 #define S_PERR_FLM_HINTFIFO 14
873 #define V_PERR_FLM_HINTFIFO(x) ((x) << S_PERR_FLM_HINTFIFO)
874 #define F_PERR_FLM_HINTFIFO V_PERR_FLM_HINTFIFO(1U)
876 #define S_PERR_ALIGN_CTL_FIFO3 13
877 #define V_PERR_ALIGN_CTL_FIFO3(x) ((x) << S_PERR_ALIGN_CTL_FIFO3)
878 #define F_PERR_ALIGN_CTL_FIFO3 V_PERR_ALIGN_CTL_FIFO3(1U)
880 #define S_PERR_ALIGN_CTL_FIFO2 12
881 #define V_PERR_ALIGN_CTL_FIFO2(x) ((x) << S_PERR_ALIGN_CTL_FIFO2)
882 #define F_PERR_ALIGN_CTL_FIFO2 V_PERR_ALIGN_CTL_FIFO2(1U)
884 #define S_PERR_ALIGN_CTL_FIFO1 11
885 #define V_PERR_ALIGN_CTL_FIFO1(x) ((x) << S_PERR_ALIGN_CTL_FIFO1)
886 #define F_PERR_ALIGN_CTL_FIFO1 V_PERR_ALIGN_CTL_FIFO1(1U)
888 #define S_PERR_ALIGN_CTL_FIFO0 10
889 #define V_PERR_ALIGN_CTL_FIFO0(x) ((x) << S_PERR_ALIGN_CTL_FIFO0)
890 #define F_PERR_ALIGN_CTL_FIFO0 V_PERR_ALIGN_CTL_FIFO0(1U)
892 #define S_PERR_EDMA_FIFO3 9
893 #define V_PERR_EDMA_FIFO3(x) ((x) << S_PERR_EDMA_FIFO3)
894 #define F_PERR_EDMA_FIFO3 V_PERR_EDMA_FIFO3(1U)
896 #define S_PERR_EDMA_FIFO2 8
897 #define V_PERR_EDMA_FIFO2(x) ((x) << S_PERR_EDMA_FIFO2)
898 #define F_PERR_EDMA_FIFO2 V_PERR_EDMA_FIFO2(1U)
900 #define S_PERR_EDMA_FIFO1 7
901 #define V_PERR_EDMA_FIFO1(x) ((x) << S_PERR_EDMA_FIFO1)
902 #define F_PERR_EDMA_FIFO1 V_PERR_EDMA_FIFO1(1U)
904 #define S_PERR_EDMA_FIFO0 6
905 #define V_PERR_EDMA_FIFO0(x) ((x) << S_PERR_EDMA_FIFO0)
906 #define F_PERR_EDMA_FIFO0 V_PERR_EDMA_FIFO0(1U)
908 #define S_PERR_PD_FIFO3 5
909 #define V_PERR_PD_FIFO3(x) ((x) << S_PERR_PD_FIFO3)
910 #define F_PERR_PD_FIFO3 V_PERR_PD_FIFO3(1U)
912 #define S_PERR_PD_FIFO2 4
913 #define V_PERR_PD_FIFO2(x) ((x) << S_PERR_PD_FIFO2)
914 #define F_PERR_PD_FIFO2 V_PERR_PD_FIFO2(1U)
916 #define S_PERR_PD_FIFO1 3
917 #define V_PERR_PD_FIFO1(x) ((x) << S_PERR_PD_FIFO1)
918 #define F_PERR_PD_FIFO1 V_PERR_PD_FIFO1(1U)
920 #define S_PERR_PD_FIFO0 2
921 #define V_PERR_PD_FIFO0(x) ((x) << S_PERR_PD_FIFO0)
922 #define F_PERR_PD_FIFO0 V_PERR_PD_FIFO0(1U)
924 #define S_PERR_ING_CTXT_MIFRSP 1
925 #define V_PERR_ING_CTXT_MIFRSP(x) ((x) << S_PERR_ING_CTXT_MIFRSP)
926 #define F_PERR_ING_CTXT_MIFRSP V_PERR_ING_CTXT_MIFRSP(1U)
928 #define S_PERR_EGR_CTXT_MIFRSP 0
929 #define V_PERR_EGR_CTXT_MIFRSP(x) ((x) << S_PERR_EGR_CTXT_MIFRSP)
930 #define F_PERR_EGR_CTXT_MIFRSP V_PERR_EGR_CTXT_MIFRSP(1U)
932 #define S_PERR_PC_CHPI_RSP2 31
933 #define V_PERR_PC_CHPI_RSP2(x) ((x) << S_PERR_PC_CHPI_RSP2)
934 #define F_PERR_PC_CHPI_RSP2 V_PERR_PC_CHPI_RSP2(1U)
936 #define S_PERR_PC_RSP 23
937 #define V_PERR_PC_RSP(x) ((x) << S_PERR_PC_RSP)
938 #define F_PERR_PC_RSP V_PERR_PC_RSP(1U)
940 #define S_PERR_PC_REQ 22
941 #define V_PERR_PC_REQ(x) ((x) << S_PERR_PC_REQ)
942 #define F_PERR_PC_REQ V_PERR_PC_REQ(1U)
944 #define A_SGE_INT_ENABLE1 0x1028
945 #define A_SGE_PERR_ENABLE1 0x102c
946 #define A_SGE_INT_CAUSE2 0x1030
948 #define S_PERR_HINT_DELAY_FIFO1 30
949 #define V_PERR_HINT_DELAY_FIFO1(x) ((x) << S_PERR_HINT_DELAY_FIFO1)
950 #define F_PERR_HINT_DELAY_FIFO1 V_PERR_HINT_DELAY_FIFO1(1U)
952 #define S_PERR_HINT_DELAY_FIFO0 29
953 #define V_PERR_HINT_DELAY_FIFO0(x) ((x) << S_PERR_HINT_DELAY_FIFO0)
954 #define F_PERR_HINT_DELAY_FIFO0 V_PERR_HINT_DELAY_FIFO0(1U)
956 #define S_PERR_IMSG_PD_FIFO 28
957 #define V_PERR_IMSG_PD_FIFO(x) ((x) << S_PERR_IMSG_PD_FIFO)
958 #define F_PERR_IMSG_PD_FIFO V_PERR_IMSG_PD_FIFO(1U)
960 #define S_PERR_ULPTX_FIFO1 27
961 #define V_PERR_ULPTX_FIFO1(x) ((x) << S_PERR_ULPTX_FIFO1)
962 #define F_PERR_ULPTX_FIFO1 V_PERR_ULPTX_FIFO1(1U)
964 #define S_PERR_ULPTX_FIFO0 26
965 #define V_PERR_ULPTX_FIFO0(x) ((x) << S_PERR_ULPTX_FIFO0)
966 #define F_PERR_ULPTX_FIFO0 V_PERR_ULPTX_FIFO0(1U)
968 #define S_PERR_IDMA2IMSG_FIFO1 25
969 #define V_PERR_IDMA2IMSG_FIFO1(x) ((x) << S_PERR_IDMA2IMSG_FIFO1)
970 #define F_PERR_IDMA2IMSG_FIFO1 V_PERR_IDMA2IMSG_FIFO1(1U)
972 #define S_PERR_IDMA2IMSG_FIFO0 24
973 #define V_PERR_IDMA2IMSG_FIFO0(x) ((x) << S_PERR_IDMA2IMSG_FIFO0)
974 #define F_PERR_IDMA2IMSG_FIFO0 V_PERR_IDMA2IMSG_FIFO0(1U)
976 #define S_PERR_HEADERSPLIT_FIFO1 23
977 #define V_PERR_HEADERSPLIT_FIFO1(x) ((x) << S_PERR_HEADERSPLIT_FIFO1)
978 #define F_PERR_HEADERSPLIT_FIFO1 V_PERR_HEADERSPLIT_FIFO1(1U)
980 #define S_PERR_HEADERSPLIT_FIFO0 22
981 #define V_PERR_HEADERSPLIT_FIFO0(x) ((x) << S_PERR_HEADERSPLIT_FIFO0)
982 #define F_PERR_HEADERSPLIT_FIFO0 V_PERR_HEADERSPLIT_FIFO0(1U)
984 #define S_PERR_ESWITCH_FIFO3 21
985 #define V_PERR_ESWITCH_FIFO3(x) ((x) << S_PERR_ESWITCH_FIFO3)
986 #define F_PERR_ESWITCH_FIFO3 V_PERR_ESWITCH_FIFO3(1U)
988 #define S_PERR_ESWITCH_FIFO2 20
989 #define V_PERR_ESWITCH_FIFO2(x) ((x) << S_PERR_ESWITCH_FIFO2)
990 #define F_PERR_ESWITCH_FIFO2 V_PERR_ESWITCH_FIFO2(1U)
992 #define S_PERR_ESWITCH_FIFO1 19
993 #define V_PERR_ESWITCH_FIFO1(x) ((x) << S_PERR_ESWITCH_FIFO1)
994 #define F_PERR_ESWITCH_FIFO1 V_PERR_ESWITCH_FIFO1(1U)
996 #define S_PERR_ESWITCH_FIFO0 18
997 #define V_PERR_ESWITCH_FIFO0(x) ((x) << S_PERR_ESWITCH_FIFO0)
998 #define F_PERR_ESWITCH_FIFO0 V_PERR_ESWITCH_FIFO0(1U)
1000 #define S_PERR_PC_DBP1 17
1001 #define V_PERR_PC_DBP1(x) ((x) << S_PERR_PC_DBP1)
1002 #define F_PERR_PC_DBP1 V_PERR_PC_DBP1(1U)
1004 #define S_PERR_PC_DBP0 16
1005 #define V_PERR_PC_DBP0(x) ((x) << S_PERR_PC_DBP0)
1006 #define F_PERR_PC_DBP0 V_PERR_PC_DBP0(1U)
1008 #define S_PERR_IMSG_OB_FIFO 15
1009 #define V_PERR_IMSG_OB_FIFO(x) ((x) << S_PERR_IMSG_OB_FIFO)
1010 #define F_PERR_IMSG_OB_FIFO V_PERR_IMSG_OB_FIFO(1U)
1012 #define S_PERR_CONM_SRAM 14
1013 #define V_PERR_CONM_SRAM(x) ((x) << S_PERR_CONM_SRAM)
1014 #define F_PERR_CONM_SRAM V_PERR_CONM_SRAM(1U)
1016 #define S_PERR_PC_MC_RSP 13
1017 #define V_PERR_PC_MC_RSP(x) ((x) << S_PERR_PC_MC_RSP)
1018 #define F_PERR_PC_MC_RSP V_PERR_PC_MC_RSP(1U)
1020 #define S_PERR_ISW_IDMA0_FIFO 12
1021 #define V_PERR_ISW_IDMA0_FIFO(x) ((x) << S_PERR_ISW_IDMA0_FIFO)
1022 #define F_PERR_ISW_IDMA0_FIFO V_PERR_ISW_IDMA0_FIFO(1U)
1024 #define S_PERR_ISW_IDMA1_FIFO 11
1025 #define V_PERR_ISW_IDMA1_FIFO(x) ((x) << S_PERR_ISW_IDMA1_FIFO)
1026 #define F_PERR_ISW_IDMA1_FIFO V_PERR_ISW_IDMA1_FIFO(1U)
1028 #define S_PERR_ISW_DBP_FIFO 10
1029 #define V_PERR_ISW_DBP_FIFO(x) ((x) << S_PERR_ISW_DBP_FIFO)
1030 #define F_PERR_ISW_DBP_FIFO V_PERR_ISW_DBP_FIFO(1U)
1032 #define S_PERR_ISW_GTS_FIFO 9
1033 #define V_PERR_ISW_GTS_FIFO(x) ((x) << S_PERR_ISW_GTS_FIFO)
1034 #define F_PERR_ISW_GTS_FIFO V_PERR_ISW_GTS_FIFO(1U)
1036 #define S_PERR_ITP_EVR 8
1037 #define V_PERR_ITP_EVR(x) ((x) << S_PERR_ITP_EVR)
1038 #define F_PERR_ITP_EVR V_PERR_ITP_EVR(1U)
1040 #define S_PERR_FLM_CNTXMEM 7
1041 #define V_PERR_FLM_CNTXMEM(x) ((x) << S_PERR_FLM_CNTXMEM)
1042 #define F_PERR_FLM_CNTXMEM V_PERR_FLM_CNTXMEM(1U)
1044 #define S_PERR_FLM_L1CACHE 6
1045 #define V_PERR_FLM_L1CACHE(x) ((x) << S_PERR_FLM_L1CACHE)
1046 #define F_PERR_FLM_L1CACHE V_PERR_FLM_L1CACHE(1U)
1048 #define S_PERR_DBP_HINT_FIFO 5
1049 #define V_PERR_DBP_HINT_FIFO(x) ((x) << S_PERR_DBP_HINT_FIFO)
1050 #define F_PERR_DBP_HINT_FIFO V_PERR_DBP_HINT_FIFO(1U)
1052 #define S_PERR_DBP_HP_FIFO 4
1053 #define V_PERR_DBP_HP_FIFO(x) ((x) << S_PERR_DBP_HP_FIFO)
1054 #define F_PERR_DBP_HP_FIFO V_PERR_DBP_HP_FIFO(1U)
1056 #define S_PERR_DBP_LP_FIFO 3
1057 #define V_PERR_DBP_LP_FIFO(x) ((x) << S_PERR_DBP_LP_FIFO)
1058 #define F_PERR_DBP_LP_FIFO V_PERR_DBP_LP_FIFO(1U)
1060 #define S_PERR_ING_CTXT_CACHE 2
1061 #define V_PERR_ING_CTXT_CACHE(x) ((x) << S_PERR_ING_CTXT_CACHE)
1062 #define F_PERR_ING_CTXT_CACHE V_PERR_ING_CTXT_CACHE(1U)
1064 #define S_PERR_EGR_CTXT_CACHE 1
1065 #define V_PERR_EGR_CTXT_CACHE(x) ((x) << S_PERR_EGR_CTXT_CACHE)
1066 #define F_PERR_EGR_CTXT_CACHE V_PERR_EGR_CTXT_CACHE(1U)
1068 #define S_PERR_BASE_SIZE 0
1069 #define V_PERR_BASE_SIZE(x) ((x) << S_PERR_BASE_SIZE)
1070 #define F_PERR_BASE_SIZE V_PERR_BASE_SIZE(1U)
1072 #define S_PERR_DBP_HINT_FL_FIFO 24
1073 #define V_PERR_DBP_HINT_FL_FIFO(x) ((x) << S_PERR_DBP_HINT_FL_FIFO)
1074 #define F_PERR_DBP_HINT_FL_FIFO V_PERR_DBP_HINT_FL_FIFO(1U)
1076 #define S_PERR_EGR_DBP_TX_COAL 23
1077 #define V_PERR_EGR_DBP_TX_COAL(x) ((x) << S_PERR_EGR_DBP_TX_COAL)
1078 #define F_PERR_EGR_DBP_TX_COAL V_PERR_EGR_DBP_TX_COAL(1U)
1080 #define S_PERR_DBP_FL_FIFO 22
1081 #define V_PERR_DBP_FL_FIFO(x) ((x) << S_PERR_DBP_FL_FIFO)
1082 #define F_PERR_DBP_FL_FIFO V_PERR_DBP_FL_FIFO(1U)
1084 #define S_PERR_PC_DBP2 15
1085 #define V_PERR_PC_DBP2(x) ((x) << S_PERR_PC_DBP2)
1086 #define F_PERR_PC_DBP2 V_PERR_PC_DBP2(1U)
1088 #define S_DEQ_LL_PERR 21
1089 #define V_DEQ_LL_PERR(x) ((x) << S_DEQ_LL_PERR)
1090 #define F_DEQ_LL_PERR V_DEQ_LL_PERR(1U)
1092 #define S_ENQ_PERR 20
1093 #define V_ENQ_PERR(x) ((x) << S_ENQ_PERR)
1094 #define F_ENQ_PERR V_ENQ_PERR(1U)
1096 #define S_DEQ_OUT_PERR 19
1097 #define V_DEQ_OUT_PERR(x) ((x) << S_DEQ_OUT_PERR)
1098 #define F_DEQ_OUT_PERR V_DEQ_OUT_PERR(1U)
1100 #define S_BUF_PERR 18
1101 #define V_BUF_PERR(x) ((x) << S_BUF_PERR)
1102 #define F_BUF_PERR V_BUF_PERR(1U)
1104 #define S_PERR_DB_FIFO 3
1105 #define V_PERR_DB_FIFO(x) ((x) << S_PERR_DB_FIFO)
1106 #define F_PERR_DB_FIFO V_PERR_DB_FIFO(1U)
1108 #define A_SGE_INT_ENABLE2 0x1034
1109 #define A_SGE_PERR_ENABLE2 0x1038
1110 #define A_SGE_INT_CAUSE3 0x103c
1112 #define S_ERR_FLM_DBP 31
1113 #define V_ERR_FLM_DBP(x) ((x) << S_ERR_FLM_DBP)
1114 #define F_ERR_FLM_DBP V_ERR_FLM_DBP(1U)
1116 #define S_ERR_FLM_IDMA1 30
1117 #define V_ERR_FLM_IDMA1(x) ((x) << S_ERR_FLM_IDMA1)
1118 #define F_ERR_FLM_IDMA1 V_ERR_FLM_IDMA1(1U)
1120 #define S_ERR_FLM_IDMA0 29
1121 #define V_ERR_FLM_IDMA0(x) ((x) << S_ERR_FLM_IDMA0)
1122 #define F_ERR_FLM_IDMA0 V_ERR_FLM_IDMA0(1U)
1124 #define S_ERR_FLM_HINT 28
1125 #define V_ERR_FLM_HINT(x) ((x) << S_ERR_FLM_HINT)
1126 #define F_ERR_FLM_HINT V_ERR_FLM_HINT(1U)
1128 #define S_ERR_PCIE_ERROR3 27
1129 #define V_ERR_PCIE_ERROR3(x) ((x) << S_ERR_PCIE_ERROR3)
1130 #define F_ERR_PCIE_ERROR3 V_ERR_PCIE_ERROR3(1U)
1132 #define S_ERR_PCIE_ERROR2 26
1133 #define V_ERR_PCIE_ERROR2(x) ((x) << S_ERR_PCIE_ERROR2)
1134 #define F_ERR_PCIE_ERROR2 V_ERR_PCIE_ERROR2(1U)
1136 #define S_ERR_PCIE_ERROR1 25
1137 #define V_ERR_PCIE_ERROR1(x) ((x) << S_ERR_PCIE_ERROR1)
1138 #define F_ERR_PCIE_ERROR1 V_ERR_PCIE_ERROR1(1U)
1140 #define S_ERR_PCIE_ERROR0 24
1141 #define V_ERR_PCIE_ERROR0(x) ((x) << S_ERR_PCIE_ERROR0)
1142 #define F_ERR_PCIE_ERROR0 V_ERR_PCIE_ERROR0(1U)
1144 #define S_ERR_TIMER_ABOVE_MAX_QID 23
1145 #define V_ERR_TIMER_ABOVE_MAX_QID(x) ((x) << S_ERR_TIMER_ABOVE_MAX_QID)
1146 #define F_ERR_TIMER_ABOVE_MAX_QID V_ERR_TIMER_ABOVE_MAX_QID(1U)
1148 #define S_ERR_CPL_EXCEED_IQE_SIZE 22
1149 #define V_ERR_CPL_EXCEED_IQE_SIZE(x) ((x) << S_ERR_CPL_EXCEED_IQE_SIZE)
1150 #define F_ERR_CPL_EXCEED_IQE_SIZE V_ERR_CPL_EXCEED_IQE_SIZE(1U)
1152 #define S_ERR_INVALID_CIDX_INC 21
1153 #define V_ERR_INVALID_CIDX_INC(x) ((x) << S_ERR_INVALID_CIDX_INC)
1154 #define F_ERR_INVALID_CIDX_INC V_ERR_INVALID_CIDX_INC(1U)
1156 #define S_ERR_ITP_TIME_PAUSED 20
1157 #define V_ERR_ITP_TIME_PAUSED(x) ((x) << S_ERR_ITP_TIME_PAUSED)
1158 #define F_ERR_ITP_TIME_PAUSED V_ERR_ITP_TIME_PAUSED(1U)
1160 #define S_ERR_CPL_OPCODE_0 19
1161 #define V_ERR_CPL_OPCODE_0(x) ((x) << S_ERR_CPL_OPCODE_0)
1162 #define F_ERR_CPL_OPCODE_0 V_ERR_CPL_OPCODE_0(1U)
1164 #define S_ERR_DROPPED_DB 18
1165 #define V_ERR_DROPPED_DB(x) ((x) << S_ERR_DROPPED_DB)
1166 #define F_ERR_DROPPED_DB V_ERR_DROPPED_DB(1U)
1168 #define S_ERR_DATA_CPL_ON_HIGH_QID1 17
1169 #define V_ERR_DATA_CPL_ON_HIGH_QID1(x) ((x) << S_ERR_DATA_CPL_ON_HIGH_QID1)
1170 #define F_ERR_DATA_CPL_ON_HIGH_QID1 V_ERR_DATA_CPL_ON_HIGH_QID1(1U)
1172 #define S_ERR_DATA_CPL_ON_HIGH_QID0 16
1173 #define V_ERR_DATA_CPL_ON_HIGH_QID0(x) ((x) << S_ERR_DATA_CPL_ON_HIGH_QID0)
1174 #define F_ERR_DATA_CPL_ON_HIGH_QID0 V_ERR_DATA_CPL_ON_HIGH_QID0(1U)
1176 #define S_ERR_BAD_DB_PIDX3 15
1177 #define V_ERR_BAD_DB_PIDX3(x) ((x) << S_ERR_BAD_DB_PIDX3)
1178 #define F_ERR_BAD_DB_PIDX3 V_ERR_BAD_DB_PIDX3(1U)
1180 #define S_ERR_BAD_DB_PIDX2 14
1181 #define V_ERR_BAD_DB_PIDX2(x) ((x) << S_ERR_BAD_DB_PIDX2)
1182 #define F_ERR_BAD_DB_PIDX2 V_ERR_BAD_DB_PIDX2(1U)
1184 #define S_ERR_BAD_DB_PIDX1 13
1185 #define V_ERR_BAD_DB_PIDX1(x) ((x) << S_ERR_BAD_DB_PIDX1)
1186 #define F_ERR_BAD_DB_PIDX1 V_ERR_BAD_DB_PIDX1(1U)
1188 #define S_ERR_BAD_DB_PIDX0 12
1189 #define V_ERR_BAD_DB_PIDX0(x) ((x) << S_ERR_BAD_DB_PIDX0)
1190 #define F_ERR_BAD_DB_PIDX0 V_ERR_BAD_DB_PIDX0(1U)
1192 #define S_ERR_ING_PCIE_CHAN 11
1193 #define V_ERR_ING_PCIE_CHAN(x) ((x) << S_ERR_ING_PCIE_CHAN)
1194 #define F_ERR_ING_PCIE_CHAN V_ERR_ING_PCIE_CHAN(1U)
1196 #define S_ERR_ING_CTXT_PRIO 10
1197 #define V_ERR_ING_CTXT_PRIO(x) ((x) << S_ERR_ING_CTXT_PRIO)
1198 #define F_ERR_ING_CTXT_PRIO V_ERR_ING_CTXT_PRIO(1U)
1200 #define S_ERR_EGR_CTXT_PRIO 9
1201 #define V_ERR_EGR_CTXT_PRIO(x) ((x) << S_ERR_EGR_CTXT_PRIO)
1202 #define F_ERR_EGR_CTXT_PRIO V_ERR_EGR_CTXT_PRIO(1U)
1204 #define S_DBFIFO_HP_INT 8
1205 #define V_DBFIFO_HP_INT(x) ((x) << S_DBFIFO_HP_INT)
1206 #define F_DBFIFO_HP_INT V_DBFIFO_HP_INT(1U)
1208 #define S_DBFIFO_LP_INT 7
1209 #define V_DBFIFO_LP_INT(x) ((x) << S_DBFIFO_LP_INT)
1210 #define F_DBFIFO_LP_INT V_DBFIFO_LP_INT(1U)
1212 #define S_REG_ADDRESS_ERR 6
1213 #define V_REG_ADDRESS_ERR(x) ((x) << S_REG_ADDRESS_ERR)
1214 #define F_REG_ADDRESS_ERR V_REG_ADDRESS_ERR(1U)
1216 #define S_INGRESS_SIZE_ERR 5
1217 #define V_INGRESS_SIZE_ERR(x) ((x) << S_INGRESS_SIZE_ERR)
1218 #define F_INGRESS_SIZE_ERR V_INGRESS_SIZE_ERR(1U)
1220 #define S_EGRESS_SIZE_ERR 4
1221 #define V_EGRESS_SIZE_ERR(x) ((x) << S_EGRESS_SIZE_ERR)
1222 #define F_EGRESS_SIZE_ERR V_EGRESS_SIZE_ERR(1U)
1224 #define S_ERR_INV_CTXT3 3
1225 #define V_ERR_INV_CTXT3(x) ((x) << S_ERR_INV_CTXT3)
1226 #define F_ERR_INV_CTXT3 V_ERR_INV_CTXT3(1U)
1228 #define S_ERR_INV_CTXT2 2
1229 #define V_ERR_INV_CTXT2(x) ((x) << S_ERR_INV_CTXT2)
1230 #define F_ERR_INV_CTXT2 V_ERR_INV_CTXT2(1U)
1232 #define S_ERR_INV_CTXT1 1
1233 #define V_ERR_INV_CTXT1(x) ((x) << S_ERR_INV_CTXT1)
1234 #define F_ERR_INV_CTXT1 V_ERR_INV_CTXT1(1U)
1236 #define S_ERR_INV_CTXT0 0
1237 #define V_ERR_INV_CTXT0(x) ((x) << S_ERR_INV_CTXT0)
1238 #define F_ERR_INV_CTXT0 V_ERR_INV_CTXT0(1U)
1240 #define S_DBP_TBUF_FULL 8
1241 #define V_DBP_TBUF_FULL(x) ((x) << S_DBP_TBUF_FULL)
1242 #define F_DBP_TBUF_FULL V_DBP_TBUF_FULL(1U)
1244 #define S_FATAL_WRE_LEN 7
1245 #define V_FATAL_WRE_LEN(x) ((x) << S_FATAL_WRE_LEN)
1246 #define F_FATAL_WRE_LEN V_FATAL_WRE_LEN(1U)
1248 #define A_SGE_INT_ENABLE3 0x1040
1249 #define A_SGE_FL_BUFFER_SIZE0 0x1044
1252 #define CXGBE_M_SIZE 0xfffffffU
1253 #define V_SIZE(x) ((x) << S_SIZE)
1254 #define G_SIZE(x) (((x) >> S_SIZE) & CXGBE_M_SIZE)
1257 #define M_T6_SIZE 0xfffffU
1258 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1259 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1261 #define A_SGE_FL_BUFFER_SIZE1 0x1048
1264 #define M_T6_SIZE 0xfffffU
1265 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1266 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1268 #define A_SGE_FL_BUFFER_SIZE2 0x104c
1271 #define M_T6_SIZE 0xfffffU
1272 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1273 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1275 #define A_SGE_FL_BUFFER_SIZE3 0x1050
1278 #define M_T6_SIZE 0xfffffU
1279 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1280 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1282 #define A_SGE_FL_BUFFER_SIZE4 0x1054
1285 #define M_T6_SIZE 0xfffffU
1286 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1287 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1289 #define A_SGE_FL_BUFFER_SIZE5 0x1058
1292 #define M_T6_SIZE 0xfffffU
1293 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1294 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1296 #define A_SGE_FL_BUFFER_SIZE6 0x105c
1299 #define M_T6_SIZE 0xfffffU
1300 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1301 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1303 #define A_SGE_FL_BUFFER_SIZE7 0x1060
1306 #define M_T6_SIZE 0xfffffU
1307 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1308 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1310 #define A_SGE_FL_BUFFER_SIZE8 0x1064
1313 #define M_T6_SIZE 0xfffffU
1314 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1315 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1317 #define A_SGE_FL_BUFFER_SIZE9 0x1068
1320 #define M_T6_SIZE 0xfffffU
1321 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1322 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1324 #define A_SGE_FL_BUFFER_SIZE10 0x106c
1327 #define M_T6_SIZE 0xfffffU
1328 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1329 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1331 #define A_SGE_FL_BUFFER_SIZE11 0x1070
1334 #define M_T6_SIZE 0xfffffU
1335 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1336 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1338 #define A_SGE_FL_BUFFER_SIZE12 0x1074
1341 #define M_T6_SIZE 0xfffffU
1342 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1343 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1345 #define A_SGE_FL_BUFFER_SIZE13 0x1078
1348 #define M_T6_SIZE 0xfffffU
1349 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1350 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1352 #define A_SGE_FL_BUFFER_SIZE14 0x107c
1355 #define M_T6_SIZE 0xfffffU
1356 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1357 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1359 #define A_SGE_FL_BUFFER_SIZE15 0x1080
1362 #define M_T6_SIZE 0xfffffU
1363 #define V_T6_SIZE(x) ((x) << S_T6_SIZE)
1364 #define G_T6_SIZE(x) (((x) >> S_T6_SIZE) & M_T6_SIZE)
1366 #define A_SGE_DBQ_CTXT_BADDR 0x1084
1368 #define S_BASEADDR 3
1369 #define M_BASEADDR 0x1fffffffU
1370 #define V_BASEADDR(x) ((x) << S_BASEADDR)
1371 #define G_BASEADDR(x) (((x) >> S_BASEADDR) & M_BASEADDR)
1373 #define A_SGE_IMSG_CTXT_BADDR 0x1088
1374 #define A_SGE_FLM_CACHE_BADDR 0x108c
1375 #define A_SGE_FLM_CFG 0x1090
1378 #define M_OPMODE 0x3fU
1379 #define V_OPMODE(x) ((x) << S_OPMODE)
1380 #define G_OPMODE(x) (((x) >> S_OPMODE) & M_OPMODE)
1383 #define V_NOHDR(x) ((x) << S_NOHDR)
1384 #define F_NOHDR V_NOHDR(1U)
1386 #define S_CACHEPTRCNT 16
1387 #define M_CACHEPTRCNT 0x3U
1388 #define V_CACHEPTRCNT(x) ((x) << S_CACHEPTRCNT)
1389 #define G_CACHEPTRCNT(x) (((x) >> S_CACHEPTRCNT) & M_CACHEPTRCNT)
1391 #define S_EDRAMPTRCNT 14
1392 #define M_EDRAMPTRCNT 0x3U
1393 #define V_EDRAMPTRCNT(x) ((x) << S_EDRAMPTRCNT)
1394 #define G_EDRAMPTRCNT(x) (((x) >> S_EDRAMPTRCNT) & M_EDRAMPTRCNT)
1396 #define S_HDRSTARTFLQ 11
1397 #define M_HDRSTARTFLQ 0x7U
1398 #define V_HDRSTARTFLQ(x) ((x) << S_HDRSTARTFLQ)
1399 #define G_HDRSTARTFLQ(x) (((x) >> S_HDRSTARTFLQ) & M_HDRSTARTFLQ)
1401 #define S_FETCHTHRESH 6
1402 #define M_FETCHTHRESH 0x1fU
1403 #define V_FETCHTHRESH(x) ((x) << S_FETCHTHRESH)
1404 #define G_FETCHTHRESH(x) (((x) >> S_FETCHTHRESH) & M_FETCHTHRESH)
1406 #define S_CREDITCNT 4
1407 #define M_CREDITCNT 0x3U
1408 #define V_CREDITCNT(x) ((x) << S_CREDITCNT)
1409 #define G_CREDITCNT(x) (((x) >> S_CREDITCNT) & M_CREDITCNT)
1412 #define V_NOEDRAM(x) ((x) << S_NOEDRAM)
1413 #define F_NOEDRAM V_NOEDRAM(1U)
1415 #define S_CREDITCNTPACKING 2
1416 #define M_CREDITCNTPACKING 0x3U
1417 #define V_CREDITCNTPACKING(x) ((x) << S_CREDITCNTPACKING)
1418 #define G_CREDITCNTPACKING(x) (((x) >> S_CREDITCNTPACKING) & M_CREDITCNTPACKING)
1420 #define S_NULLPTR 20
1421 #define M_NULLPTR 0xfU
1422 #define V_NULLPTR(x) ((x) << S_NULLPTR)
1423 #define G_NULLPTR(x) (((x) >> S_NULLPTR) & M_NULLPTR)
1425 #define S_NULLPTREN 19
1426 #define V_NULLPTREN(x) ((x) << S_NULLPTREN)
1427 #define F_NULLPTREN V_NULLPTREN(1U)
1429 #define A_SGE_CONM_CTRL 0x1094
1431 #define S_EGRTHRESHOLD 8
1432 #define M_EGRTHRESHOLD 0x3fU
1433 #define V_EGRTHRESHOLD(x) ((x) << S_EGRTHRESHOLD)
1434 #define G_EGRTHRESHOLD(x) (((x) >> S_EGRTHRESHOLD) & M_EGRTHRESHOLD)
1436 #define S_INGTHRESHOLD 2
1437 #define M_INGTHRESHOLD 0x3fU
1438 #define V_INGTHRESHOLD(x) ((x) << S_INGTHRESHOLD)
1439 #define G_INGTHRESHOLD(x) (((x) >> S_INGTHRESHOLD) & M_INGTHRESHOLD)
1441 #define S_MPS_ENABLE 1
1442 #define V_MPS_ENABLE(x) ((x) << S_MPS_ENABLE)
1443 #define F_MPS_ENABLE V_MPS_ENABLE(1U)
1445 #define S_TP_ENABLE 0
1446 #define V_TP_ENABLE(x) ((x) << S_TP_ENABLE)
1447 #define F_TP_ENABLE V_TP_ENABLE(1U)
1449 #define S_EGRTHRESHOLDPACKING 14
1450 #define M_EGRTHRESHOLDPACKING 0x3fU
1451 #define V_EGRTHRESHOLDPACKING(x) ((x) << S_EGRTHRESHOLDPACKING)
1452 #define G_EGRTHRESHOLDPACKING(x) (((x) >> S_EGRTHRESHOLDPACKING) & M_EGRTHRESHOLDPACKING)
1454 #define S_T6_EGRTHRESHOLDPACKING 16
1455 #define M_T6_EGRTHRESHOLDPACKING 0xffU
1456 #define V_T6_EGRTHRESHOLDPACKING(x) ((x) << S_T6_EGRTHRESHOLDPACKING)
1457 #define G_T6_EGRTHRESHOLDPACKING(x) (((x) >> S_T6_EGRTHRESHOLDPACKING) & M_T6_EGRTHRESHOLDPACKING)
1459 #define S_T6_EGRTHRESHOLD 8
1460 #define M_T6_EGRTHRESHOLD 0xffU
1461 #define V_T6_EGRTHRESHOLD(x) ((x) << S_T6_EGRTHRESHOLD)
1462 #define G_T6_EGRTHRESHOLD(x) (((x) >> S_T6_EGRTHRESHOLD) & M_T6_EGRTHRESHOLD)
1464 #define A_SGE_TIMESTAMP_LO 0x1098
1465 #define A_SGE_TIMESTAMP_HI 0x109c
1469 #define V_TSOP(x) ((x) << S_TSOP)
1470 #define G_TSOP(x) (((x) >> S_TSOP) & M_TSOP)
1473 #define M_TSVAL 0xfffffffU
1474 #define V_TSVAL(x) ((x) << S_TSVAL)
1475 #define G_TSVAL(x) (((x) >> S_TSVAL) & M_TSVAL)
1477 #define A_SGE_INGRESS_RX_THRESHOLD 0x10a0
1479 #define S_THRESHOLD_0 24
1480 #define M_THRESHOLD_0 0x3fU
1481 #define V_THRESHOLD_0(x) ((x) << S_THRESHOLD_0)
1482 #define G_THRESHOLD_0(x) (((x) >> S_THRESHOLD_0) & M_THRESHOLD_0)
1484 #define S_THRESHOLD_1 16
1485 #define M_THRESHOLD_1 0x3fU
1486 #define V_THRESHOLD_1(x) ((x) << S_THRESHOLD_1)
1487 #define G_THRESHOLD_1(x) (((x) >> S_THRESHOLD_1) & M_THRESHOLD_1)
1489 #define S_THRESHOLD_2 8
1490 #define M_THRESHOLD_2 0x3fU
1491 #define V_THRESHOLD_2(x) ((x) << S_THRESHOLD_2)
1492 #define G_THRESHOLD_2(x) (((x) >> S_THRESHOLD_2) & M_THRESHOLD_2)
1494 #define S_THRESHOLD_3 0
1495 #define M_THRESHOLD_3 0x3fU
1496 #define V_THRESHOLD_3(x) ((x) << S_THRESHOLD_3)
1497 #define G_THRESHOLD_3(x) (((x) >> S_THRESHOLD_3) & M_THRESHOLD_3)
1499 #define A_SGE_DBFIFO_STATUS 0x10a4
1501 #define S_HP_INT_THRESH 28
1502 #define M_HP_INT_THRESH 0xfU
1503 #define V_HP_INT_THRESH(x) ((x) << S_HP_INT_THRESH)
1504 #define G_HP_INT_THRESH(x) (((x) >> S_HP_INT_THRESH) & M_HP_INT_THRESH)
1506 #define S_HP_COUNT 16
1507 #define M_HP_COUNT 0x7ffU
1508 #define V_HP_COUNT(x) ((x) << S_HP_COUNT)
1509 #define G_HP_COUNT(x) (((x) >> S_HP_COUNT) & M_HP_COUNT)
1511 #define S_LP_INT_THRESH 12
1512 #define M_LP_INT_THRESH 0xfU
1513 #define V_LP_INT_THRESH(x) ((x) << S_LP_INT_THRESH)
1514 #define G_LP_INT_THRESH(x) (((x) >> S_LP_INT_THRESH) & M_LP_INT_THRESH)
1516 #define S_LP_COUNT 0
1517 #define M_LP_COUNT 0x7ffU
1518 #define V_LP_COUNT(x) ((x) << S_LP_COUNT)
1519 #define G_LP_COUNT(x) (((x) >> S_LP_COUNT) & M_LP_COUNT)
1521 #define S_BAR2VALID 31
1522 #define V_BAR2VALID(x) ((x) << S_BAR2VALID)
1523 #define F_BAR2VALID V_BAR2VALID(1U)
1525 #define S_BAR2FULL 30
1526 #define V_BAR2FULL(x) ((x) << S_BAR2FULL)
1527 #define F_BAR2FULL V_BAR2FULL(1U)
1529 #define S_LP_INT_THRESH_T5 18
1530 #define M_LP_INT_THRESH_T5 0xfffU
1531 #define V_LP_INT_THRESH_T5(x) ((x) << S_LP_INT_THRESH_T5)
1532 #define G_LP_INT_THRESH_T5(x) (((x) >> S_LP_INT_THRESH_T5) & M_LP_INT_THRESH_T5)
1534 #define S_LP_COUNT_T5 0
1535 #define M_LP_COUNT_T5 0x3ffffU
1536 #define V_LP_COUNT_T5(x) ((x) << S_LP_COUNT_T5)
1537 #define G_LP_COUNT_T5(x) (((x) >> S_LP_COUNT_T5) & M_LP_COUNT_T5)
1539 #define S_VFIFO_CNT 15
1540 #define M_VFIFO_CNT 0x1ffffU
1541 #define V_VFIFO_CNT(x) ((x) << S_VFIFO_CNT)
1542 #define G_VFIFO_CNT(x) (((x) >> S_VFIFO_CNT) & M_VFIFO_CNT)
1544 #define S_COAL_CTL_FIFO_CNT 8
1545 #define M_COAL_CTL_FIFO_CNT 0x3fU
1546 #define V_COAL_CTL_FIFO_CNT(x) ((x) << S_COAL_CTL_FIFO_CNT)
1547 #define G_COAL_CTL_FIFO_CNT(x) (((x) >> S_COAL_CTL_FIFO_CNT) & M_COAL_CTL_FIFO_CNT)
1549 #define S_MERGE_FIFO_CNT 0
1550 #define M_MERGE_FIFO_CNT 0x3fU
1551 #define V_MERGE_FIFO_CNT(x) ((x) << S_MERGE_FIFO_CNT)
1552 #define G_MERGE_FIFO_CNT(x) (((x) >> S_MERGE_FIFO_CNT) & M_MERGE_FIFO_CNT)
1554 #define A_SGE_DOORBELL_CONTROL 0x10a8
1556 #define S_HINTDEPTHCTL 27
1557 #define M_HINTDEPTHCTL 0x1fU
1558 #define V_HINTDEPTHCTL(x) ((x) << S_HINTDEPTHCTL)
1559 #define G_HINTDEPTHCTL(x) (((x) >> S_HINTDEPTHCTL) & M_HINTDEPTHCTL)
1561 #define S_NOCOALESCE 26
1562 #define V_NOCOALESCE(x) ((x) << S_NOCOALESCE)
1563 #define F_NOCOALESCE V_NOCOALESCE(1U)
1565 #define S_HP_WEIGHT 24
1566 #define M_HP_WEIGHT 0x3U
1567 #define V_HP_WEIGHT(x) ((x) << S_HP_WEIGHT)
1568 #define G_HP_WEIGHT(x) (((x) >> S_HP_WEIGHT) & M_HP_WEIGHT)
1570 #define S_HP_DISABLE 23
1571 #define V_HP_DISABLE(x) ((x) << S_HP_DISABLE)
1572 #define F_HP_DISABLE V_HP_DISABLE(1U)
1574 #define S_FORCEUSERDBTOLP 22
1575 #define V_FORCEUSERDBTOLP(x) ((x) << S_FORCEUSERDBTOLP)
1576 #define F_FORCEUSERDBTOLP V_FORCEUSERDBTOLP(1U)
1578 #define S_FORCEVFPF0DBTOLP 21
1579 #define V_FORCEVFPF0DBTOLP(x) ((x) << S_FORCEVFPF0DBTOLP)
1580 #define F_FORCEVFPF0DBTOLP V_FORCEVFPF0DBTOLP(1U)
1582 #define S_FORCEVFPF1DBTOLP 20
1583 #define V_FORCEVFPF1DBTOLP(x) ((x) << S_FORCEVFPF1DBTOLP)
1584 #define F_FORCEVFPF1DBTOLP V_FORCEVFPF1DBTOLP(1U)
1586 #define S_FORCEVFPF2DBTOLP 19
1587 #define V_FORCEVFPF2DBTOLP(x) ((x) << S_FORCEVFPF2DBTOLP)
1588 #define F_FORCEVFPF2DBTOLP V_FORCEVFPF2DBTOLP(1U)
1590 #define S_FORCEVFPF3DBTOLP 18
1591 #define V_FORCEVFPF3DBTOLP(x) ((x) << S_FORCEVFPF3DBTOLP)
1592 #define F_FORCEVFPF3DBTOLP V_FORCEVFPF3DBTOLP(1U)
1594 #define S_FORCEVFPF4DBTOLP 17
1595 #define V_FORCEVFPF4DBTOLP(x) ((x) << S_FORCEVFPF4DBTOLP)
1596 #define F_FORCEVFPF4DBTOLP V_FORCEVFPF4DBTOLP(1U)
1598 #define S_FORCEVFPF5DBTOLP 16
1599 #define V_FORCEVFPF5DBTOLP(x) ((x) << S_FORCEVFPF5DBTOLP)
1600 #define F_FORCEVFPF5DBTOLP V_FORCEVFPF5DBTOLP(1U)
1602 #define S_FORCEVFPF6DBTOLP 15
1603 #define V_FORCEVFPF6DBTOLP(x) ((x) << S_FORCEVFPF6DBTOLP)
1604 #define F_FORCEVFPF6DBTOLP V_FORCEVFPF6DBTOLP(1U)
1606 #define S_FORCEVFPF7DBTOLP 14
1607 #define V_FORCEVFPF7DBTOLP(x) ((x) << S_FORCEVFPF7DBTOLP)
1608 #define F_FORCEVFPF7DBTOLP V_FORCEVFPF7DBTOLP(1U)
1610 #define S_ENABLE_DROP 13
1611 #define V_ENABLE_DROP(x) ((x) << S_ENABLE_DROP)
1612 #define F_ENABLE_DROP V_ENABLE_DROP(1U)
1614 #define S_DROP_TIMEOUT 1
1615 #define M_DROP_TIMEOUT 0xfffU
1616 #define V_DROP_TIMEOUT(x) ((x) << S_DROP_TIMEOUT)
1617 #define G_DROP_TIMEOUT(x) (((x) >> S_DROP_TIMEOUT) & M_DROP_TIMEOUT)
1619 #define S_DROPPED_DB 0
1620 #define V_DROPPED_DB(x) ((x) << S_DROPPED_DB)
1621 #define F_DROPPED_DB V_DROPPED_DB(1U)
1623 #define S_T6_DROP_TIMEOUT 7
1624 #define M_T6_DROP_TIMEOUT 0x3fU
1625 #define V_T6_DROP_TIMEOUT(x) ((x) << S_T6_DROP_TIMEOUT)
1626 #define G_T6_DROP_TIMEOUT(x) (((x) >> S_T6_DROP_TIMEOUT) & M_T6_DROP_TIMEOUT)
1628 #define S_INVONDBSYNC 6
1629 #define V_INVONDBSYNC(x) ((x) << S_INVONDBSYNC)
1630 #define F_INVONDBSYNC V_INVONDBSYNC(1U)
1632 #define S_INVONGTSSYNC 5
1633 #define V_INVONGTSSYNC(x) ((x) << S_INVONGTSSYNC)
1634 #define F_INVONGTSSYNC V_INVONGTSSYNC(1U)
1636 #define S_DB_DBG_EN 4
1637 #define V_DB_DBG_EN(x) ((x) << S_DB_DBG_EN)
1638 #define F_DB_DBG_EN V_DB_DBG_EN(1U)
1640 #define S_GTS_DBG_TIMER_REG 1
1641 #define M_GTS_DBG_TIMER_REG 0x7U
1642 #define V_GTS_DBG_TIMER_REG(x) ((x) << S_GTS_DBG_TIMER_REG)
1643 #define G_GTS_DBG_TIMER_REG(x) (((x) >> S_GTS_DBG_TIMER_REG) & M_GTS_DBG_TIMER_REG)
1645 #define S_GTS_DBG_EN 0
1646 #define V_GTS_DBG_EN(x) ((x) << S_GTS_DBG_EN)
1647 #define F_GTS_DBG_EN V_GTS_DBG_EN(1U)
1649 #define A_SGE_DROPPED_DOORBELL 0x10ac
1650 #define A_SGE_DOORBELL_THROTTLE_CONTROL 0x10b0
1652 #define S_THROTTLE_COUNT 1
1653 #define M_THROTTLE_COUNT 0xfffU
1654 #define V_THROTTLE_COUNT(x) ((x) << S_THROTTLE_COUNT)
1655 #define G_THROTTLE_COUNT(x) (((x) >> S_THROTTLE_COUNT) & M_THROTTLE_COUNT)
1657 #define S_THROTTLE_ENABLE 0
1658 #define V_THROTTLE_ENABLE(x) ((x) << S_THROTTLE_ENABLE)
1659 #define F_THROTTLE_ENABLE V_THROTTLE_ENABLE(1U)
1661 #define S_BAR2THROTTLECOUNT 16
1662 #define M_BAR2THROTTLECOUNT 0xffU
1663 #define V_BAR2THROTTLECOUNT(x) ((x) << S_BAR2THROTTLECOUNT)
1664 #define G_BAR2THROTTLECOUNT(x) (((x) >> S_BAR2THROTTLECOUNT) & M_BAR2THROTTLECOUNT)
1666 #define S_CLRCOALESCEDISABLE 15
1667 #define V_CLRCOALESCEDISABLE(x) ((x) << S_CLRCOALESCEDISABLE)
1668 #define F_CLRCOALESCEDISABLE V_CLRCOALESCEDISABLE(1U)
1670 #define S_OPENBAR2GATEONCE 14
1671 #define V_OPENBAR2GATEONCE(x) ((x) << S_OPENBAR2GATEONCE)
1672 #define F_OPENBAR2GATEONCE V_OPENBAR2GATEONCE(1U)
1674 #define S_FORCEOPENBAR2GATE 13
1675 #define V_FORCEOPENBAR2GATE(x) ((x) << S_FORCEOPENBAR2GATE)
1676 #define F_FORCEOPENBAR2GATE V_FORCEOPENBAR2GATE(1U)
1678 #define A_SGE_ITP_CONTROL 0x10b4
1680 #define S_CRITICAL_TIME 10
1681 #define M_CRITICAL_TIME 0x7fffU
1682 #define V_CRITICAL_TIME(x) ((x) << S_CRITICAL_TIME)
1683 #define G_CRITICAL_TIME(x) (((x) >> S_CRITICAL_TIME) & M_CRITICAL_TIME)
1685 #define S_LL_EMPTY 4
1686 #define M_LL_EMPTY 0x3fU
1687 #define V_LL_EMPTY(x) ((x) << S_LL_EMPTY)
1688 #define G_LL_EMPTY(x) (((x) >> S_LL_EMPTY) & M_LL_EMPTY)
1690 #define S_LL_READ_WAIT_DISABLE 0
1691 #define V_LL_READ_WAIT_DISABLE(x) ((x) << S_LL_READ_WAIT_DISABLE)
1692 #define F_LL_READ_WAIT_DISABLE V_LL_READ_WAIT_DISABLE(1U)
1695 #define M_TSCALE 0xfU
1696 #define V_TSCALE(x) ((x) << S_TSCALE)
1697 #define G_TSCALE(x) (((x) >> S_TSCALE) & M_TSCALE)
1699 #define A_SGE_TIMER_VALUE_0_AND_1 0x10b8
1701 #define S_TIMERVALUE0 16
1702 #define M_TIMERVALUE0 0xffffU
1703 #define V_TIMERVALUE0(x) ((x) << S_TIMERVALUE0)
1704 #define G_TIMERVALUE0(x) (((x) >> S_TIMERVALUE0) & M_TIMERVALUE0)
1706 #define S_TIMERVALUE1 0
1707 #define M_TIMERVALUE1 0xffffU
1708 #define V_TIMERVALUE1(x) ((x) << S_TIMERVALUE1)
1709 #define G_TIMERVALUE1(x) (((x) >> S_TIMERVALUE1) & M_TIMERVALUE1)
1711 #define A_SGE_TIMER_VALUE_2_AND_3 0x10bc
1713 #define S_TIMERVALUE2 16
1714 #define M_TIMERVALUE2 0xffffU
1715 #define V_TIMERVALUE2(x) ((x) << S_TIMERVALUE2)
1716 #define G_TIMERVALUE2(x) (((x) >> S_TIMERVALUE2) & M_TIMERVALUE2)
1718 #define S_TIMERVALUE3 0
1719 #define M_TIMERVALUE3 0xffffU
1720 #define V_TIMERVALUE3(x) ((x) << S_TIMERVALUE3)
1721 #define G_TIMERVALUE3(x) (((x) >> S_TIMERVALUE3) & M_TIMERVALUE3)
1723 #define A_SGE_TIMER_VALUE_4_AND_5 0x10c0
1725 #define S_TIMERVALUE4 16
1726 #define M_TIMERVALUE4 0xffffU
1727 #define V_TIMERVALUE4(x) ((x) << S_TIMERVALUE4)
1728 #define G_TIMERVALUE4(x) (((x) >> S_TIMERVALUE4) & M_TIMERVALUE4)
1730 #define S_TIMERVALUE5 0
1731 #define M_TIMERVALUE5 0xffffU
1732 #define V_TIMERVALUE5(x) ((x) << S_TIMERVALUE5)
1733 #define G_TIMERVALUE5(x) (((x) >> S_TIMERVALUE5) & M_TIMERVALUE5)
1735 #define A_SGE_PD_RSP_CREDIT01 0x10c4
1737 #define S_RSPCREDITEN0 31
1738 #define V_RSPCREDITEN0(x) ((x) << S_RSPCREDITEN0)
1739 #define F_RSPCREDITEN0 V_RSPCREDITEN0(1U)
1741 #define S_MAXTAG0 24
1742 #define M_MAXTAG0 0x7fU
1743 #define V_MAXTAG0(x) ((x) << S_MAXTAG0)
1744 #define G_MAXTAG0(x) (((x) >> S_MAXTAG0) & M_MAXTAG0)
1746 #define S_MAXRSPCNT0 16
1747 #define M_MAXRSPCNT0 0xffU
1748 #define V_MAXRSPCNT0(x) ((x) << S_MAXRSPCNT0)
1749 #define G_MAXRSPCNT0(x) (((x) >> S_MAXRSPCNT0) & M_MAXRSPCNT0)
1751 #define S_RSPCREDITEN1 15
1752 #define V_RSPCREDITEN1(x) ((x) << S_RSPCREDITEN1)
1753 #define F_RSPCREDITEN1 V_RSPCREDITEN1(1U)
1756 #define M_MAXTAG1 0x7fU
1757 #define V_MAXTAG1(x) ((x) << S_MAXTAG1)
1758 #define G_MAXTAG1(x) (((x) >> S_MAXTAG1) & M_MAXTAG1)
1760 #define S_MAXRSPCNT1 0
1761 #define M_MAXRSPCNT1 0xffU
1762 #define V_MAXRSPCNT1(x) ((x) << S_MAXRSPCNT1)
1763 #define G_MAXRSPCNT1(x) (((x) >> S_MAXRSPCNT1) & M_MAXRSPCNT1)
1765 #define A_SGE_GK_CONTROL 0x10c4
1767 #define S_EN_FLM_FIFTH 29
1768 #define V_EN_FLM_FIFTH(x) ((x) << S_EN_FLM_FIFTH)
1769 #define F_EN_FLM_FIFTH V_EN_FLM_FIFTH(1U)
1771 #define S_FL_PROG_THRESH 20
1772 #define M_FL_PROG_THRESH 0x1ffU
1773 #define V_FL_PROG_THRESH(x) ((x) << S_FL_PROG_THRESH)
1774 #define G_FL_PROG_THRESH(x) (((x) >> S_FL_PROG_THRESH) & M_FL_PROG_THRESH)
1776 #define S_COAL_ALL_THREAD 19
1777 #define V_COAL_ALL_THREAD(x) ((x) << S_COAL_ALL_THREAD)
1778 #define F_COAL_ALL_THREAD V_COAL_ALL_THREAD(1U)
1780 #define S_EN_PSHB 18
1781 #define V_EN_PSHB(x) ((x) << S_EN_PSHB)
1782 #define F_EN_PSHB V_EN_PSHB(1U)
1784 #define S_EN_DB_FIFTH 17
1785 #define V_EN_DB_FIFTH(x) ((x) << S_EN_DB_FIFTH)
1786 #define F_EN_DB_FIFTH V_EN_DB_FIFTH(1U)
1788 #define S_DB_PROG_THRESH 8
1789 #define M_DB_PROG_THRESH 0x1ffU
1790 #define V_DB_PROG_THRESH(x) ((x) << S_DB_PROG_THRESH)
1791 #define G_DB_PROG_THRESH(x) (((x) >> S_DB_PROG_THRESH) & M_DB_PROG_THRESH)
1793 #define S_100NS_TIMER 0
1794 #define M_100NS_TIMER 0xffU
1795 #define V_100NS_TIMER(x) ((x) << S_100NS_TIMER)
1796 #define G_100NS_TIMER(x) (((x) >> S_100NS_TIMER) & M_100NS_TIMER)
1798 #define A_SGE_PD_RSP_CREDIT23 0x10c8
1800 #define S_RSPCREDITEN2 31
1801 #define V_RSPCREDITEN2(x) ((x) << S_RSPCREDITEN2)
1802 #define F_RSPCREDITEN2 V_RSPCREDITEN2(1U)
1804 #define S_MAXTAG2 24
1805 #define M_MAXTAG2 0x7fU
1806 #define V_MAXTAG2(x) ((x) << S_MAXTAG2)
1807 #define G_MAXTAG2(x) (((x) >> S_MAXTAG2) & M_MAXTAG2)
1809 #define S_MAXRSPCNT2 16
1810 #define M_MAXRSPCNT2 0xffU
1811 #define V_MAXRSPCNT2(x) ((x) << S_MAXRSPCNT2)
1812 #define G_MAXRSPCNT2(x) (((x) >> S_MAXRSPCNT2) & M_MAXRSPCNT2)
1814 #define S_RSPCREDITEN3 15
1815 #define V_RSPCREDITEN3(x) ((x) << S_RSPCREDITEN3)
1816 #define F_RSPCREDITEN3 V_RSPCREDITEN3(1U)
1819 #define M_MAXTAG3 0x7fU
1820 #define V_MAXTAG3(x) ((x) << S_MAXTAG3)
1821 #define G_MAXTAG3(x) (((x) >> S_MAXTAG3) & M_MAXTAG3)
1823 #define S_MAXRSPCNT3 0
1824 #define M_MAXRSPCNT3 0xffU
1825 #define V_MAXRSPCNT3(x) ((x) << S_MAXRSPCNT3)
1826 #define G_MAXRSPCNT3(x) (((x) >> S_MAXRSPCNT3) & M_MAXRSPCNT3)
1828 #define A_SGE_GK_CONTROL2 0x10c8
1830 #define S_DBQ_TIMER_TICK 16
1831 #define M_DBQ_TIMER_TICK 0xffffU
1832 #define V_DBQ_TIMER_TICK(x) ((x) << S_DBQ_TIMER_TICK)
1833 #define G_DBQ_TIMER_TICK(x) (((x) >> S_DBQ_TIMER_TICK) & M_DBQ_TIMER_TICK)
1835 #define S_FL_MERGE_CNT_THRESH 8
1836 #define M_FL_MERGE_CNT_THRESH 0xfU
1837 #define V_FL_MERGE_CNT_THRESH(x) ((x) << S_FL_MERGE_CNT_THRESH)
1838 #define G_FL_MERGE_CNT_THRESH(x) (((x) >> S_FL_MERGE_CNT_THRESH) & M_FL_MERGE_CNT_THRESH)
1840 #define S_MERGE_CNT_THRESH 0
1841 #define M_MERGE_CNT_THRESH 0x3fU
1842 #define V_MERGE_CNT_THRESH(x) ((x) << S_MERGE_CNT_THRESH)
1843 #define G_MERGE_CNT_THRESH(x) (((x) >> S_MERGE_CNT_THRESH) & M_MERGE_CNT_THRESH)
1845 #define A_SGE_DEBUG_INDEX 0x10cc
1846 #define A_SGE_DEBUG_DATA_HIGH 0x10d0
1847 #define A_SGE_DEBUG_DATA_LOW 0x10d4
1848 #define A_SGE_REVISION 0x10d8
1849 #define A_SGE_INT_CAUSE4 0x10dc
1851 #define S_ERR_BAD_UPFL_INC_CREDIT3 8
1852 #define V_ERR_BAD_UPFL_INC_CREDIT3(x) ((x) << S_ERR_BAD_UPFL_INC_CREDIT3)
1853 #define F_ERR_BAD_UPFL_INC_CREDIT3 V_ERR_BAD_UPFL_INC_CREDIT3(1U)
1855 #define S_ERR_BAD_UPFL_INC_CREDIT2 7
1856 #define V_ERR_BAD_UPFL_INC_CREDIT2(x) ((x) << S_ERR_BAD_UPFL_INC_CREDIT2)
1857 #define F_ERR_BAD_UPFL_INC_CREDIT2 V_ERR_BAD_UPFL_INC_CREDIT2(1U)
1859 #define S_ERR_BAD_UPFL_INC_CREDIT1 6
1860 #define V_ERR_BAD_UPFL_INC_CREDIT1(x) ((x) << S_ERR_BAD_UPFL_INC_CREDIT1)
1861 #define F_ERR_BAD_UPFL_INC_CREDIT1 V_ERR_BAD_UPFL_INC_CREDIT1(1U)
1863 #define S_ERR_BAD_UPFL_INC_CREDIT0 5
1864 #define V_ERR_BAD_UPFL_INC_CREDIT0(x) ((x) << S_ERR_BAD_UPFL_INC_CREDIT0)
1865 #define F_ERR_BAD_UPFL_INC_CREDIT0 V_ERR_BAD_UPFL_INC_CREDIT0(1U)
1867 #define S_ERR_PHYSADDR_LEN0_IDMA1 4
1868 #define V_ERR_PHYSADDR_LEN0_IDMA1(x) ((x) << S_ERR_PHYSADDR_LEN0_IDMA1)
1869 #define F_ERR_PHYSADDR_LEN0_IDMA1 V_ERR_PHYSADDR_LEN0_IDMA1(1U)
1871 #define S_ERR_PHYSADDR_LEN0_IDMA0 3
1872 #define V_ERR_PHYSADDR_LEN0_IDMA0(x) ((x) << S_ERR_PHYSADDR_LEN0_IDMA0)
1873 #define F_ERR_PHYSADDR_LEN0_IDMA0 V_ERR_PHYSADDR_LEN0_IDMA0(1U)
1875 #define S_ERR_FLM_INVALID_PKT_DROP1 2
1876 #define V_ERR_FLM_INVALID_PKT_DROP1(x) ((x) << S_ERR_FLM_INVALID_PKT_DROP1)
1877 #define F_ERR_FLM_INVALID_PKT_DROP1 V_ERR_FLM_INVALID_PKT_DROP1(1U)
1879 #define S_ERR_FLM_INVALID_PKT_DROP0 1
1880 #define V_ERR_FLM_INVALID_PKT_DROP0(x) ((x) << S_ERR_FLM_INVALID_PKT_DROP0)
1881 #define F_ERR_FLM_INVALID_PKT_DROP0 V_ERR_FLM_INVALID_PKT_DROP0(1U)
1883 #define S_ERR_UNEXPECTED_TIMER 0
1884 #define V_ERR_UNEXPECTED_TIMER(x) ((x) << S_ERR_UNEXPECTED_TIMER)
1885 #define F_ERR_UNEXPECTED_TIMER V_ERR_UNEXPECTED_TIMER(1U)
1887 #define S_BAR2_EGRESS_LEN_OR_ADDR_ERR 29
1888 #define V_BAR2_EGRESS_LEN_OR_ADDR_ERR(x) ((x) << S_BAR2_EGRESS_LEN_OR_ADDR_ERR)
1889 #define F_BAR2_EGRESS_LEN_OR_ADDR_ERR V_BAR2_EGRESS_LEN_OR_ADDR_ERR(1U)
1891 #define S_ERR_CPL_EXCEED_MAX_IQE_SIZE1 28
1892 #define V_ERR_CPL_EXCEED_MAX_IQE_SIZE1(x) ((x) << S_ERR_CPL_EXCEED_MAX_IQE_SIZE1)
1893 #define F_ERR_CPL_EXCEED_MAX_IQE_SIZE1 V_ERR_CPL_EXCEED_MAX_IQE_SIZE1(1U)
1895 #define S_ERR_CPL_EXCEED_MAX_IQE_SIZE0 27
1896 #define V_ERR_CPL_EXCEED_MAX_IQE_SIZE0(x) ((x) << S_ERR_CPL_EXCEED_MAX_IQE_SIZE0)
1897 #define F_ERR_CPL_EXCEED_MAX_IQE_SIZE0 V_ERR_CPL_EXCEED_MAX_IQE_SIZE0(1U)
1899 #define S_ERR_WR_LEN_TOO_LARGE3 26
1900 #define V_ERR_WR_LEN_TOO_LARGE3(x) ((x) << S_ERR_WR_LEN_TOO_LARGE3)
1901 #define F_ERR_WR_LEN_TOO_LARGE3 V_ERR_WR_LEN_TOO_LARGE3(1U)
1903 #define S_ERR_WR_LEN_TOO_LARGE2 25
1904 #define V_ERR_WR_LEN_TOO_LARGE2(x) ((x) << S_ERR_WR_LEN_TOO_LARGE2)
1905 #define F_ERR_WR_LEN_TOO_LARGE2 V_ERR_WR_LEN_TOO_LARGE2(1U)
1907 #define S_ERR_WR_LEN_TOO_LARGE1 24
1908 #define V_ERR_WR_LEN_TOO_LARGE1(x) ((x) << S_ERR_WR_LEN_TOO_LARGE1)
1909 #define F_ERR_WR_LEN_TOO_LARGE1 V_ERR_WR_LEN_TOO_LARGE1(1U)
1911 #define S_ERR_WR_LEN_TOO_LARGE0 23
1912 #define V_ERR_WR_LEN_TOO_LARGE0(x) ((x) << S_ERR_WR_LEN_TOO_LARGE0)
1913 #define F_ERR_WR_LEN_TOO_LARGE0 V_ERR_WR_LEN_TOO_LARGE0(1U)
1915 #define S_ERR_LARGE_MINFETCH_WITH_TXCOAL3 22
1916 #define V_ERR_LARGE_MINFETCH_WITH_TXCOAL3(x) ((x) << S_ERR_LARGE_MINFETCH_WITH_TXCOAL3)
1917 #define F_ERR_LARGE_MINFETCH_WITH_TXCOAL3 V_ERR_LARGE_MINFETCH_WITH_TXCOAL3(1U)
1919 #define S_ERR_LARGE_MINFETCH_WITH_TXCOAL2 21
1920 #define V_ERR_LARGE_MINFETCH_WITH_TXCOAL2(x) ((x) << S_ERR_LARGE_MINFETCH_WITH_TXCOAL2)
1921 #define F_ERR_LARGE_MINFETCH_WITH_TXCOAL2 V_ERR_LARGE_MINFETCH_WITH_TXCOAL2(1U)
1923 #define S_ERR_LARGE_MINFETCH_WITH_TXCOAL1 20
1924 #define V_ERR_LARGE_MINFETCH_WITH_TXCOAL1(x) ((x) << S_ERR_LARGE_MINFETCH_WITH_TXCOAL1)
1925 #define F_ERR_LARGE_MINFETCH_WITH_TXCOAL1 V_ERR_LARGE_MINFETCH_WITH_TXCOAL1(1U)
1927 #define S_ERR_LARGE_MINFETCH_WITH_TXCOAL0 19
1928 #define V_ERR_LARGE_MINFETCH_WITH_TXCOAL0(x) ((x) << S_ERR_LARGE_MINFETCH_WITH_TXCOAL0)
1929 #define F_ERR_LARGE_MINFETCH_WITH_TXCOAL0 V_ERR_LARGE_MINFETCH_WITH_TXCOAL0(1U)
1931 #define S_COAL_WITH_HP_DISABLE_ERR 18
1932 #define V_COAL_WITH_HP_DISABLE_ERR(x) ((x) << S_COAL_WITH_HP_DISABLE_ERR)
1933 #define F_COAL_WITH_HP_DISABLE_ERR V_COAL_WITH_HP_DISABLE_ERR(1U)
1935 #define S_BAR2_EGRESS_COAL0_ERR 17
1936 #define V_BAR2_EGRESS_COAL0_ERR(x) ((x) << S_BAR2_EGRESS_COAL0_ERR)
1937 #define F_BAR2_EGRESS_COAL0_ERR V_BAR2_EGRESS_COAL0_ERR(1U)
1939 #define S_BAR2_EGRESS_SIZE_ERR 16
1940 #define V_BAR2_EGRESS_SIZE_ERR(x) ((x) << S_BAR2_EGRESS_SIZE_ERR)
1941 #define F_BAR2_EGRESS_SIZE_ERR V_BAR2_EGRESS_SIZE_ERR(1U)
1943 #define S_FLM_PC_RSP_ERR 15
1944 #define V_FLM_PC_RSP_ERR(x) ((x) << S_FLM_PC_RSP_ERR)
1945 #define F_FLM_PC_RSP_ERR V_FLM_PC_RSP_ERR(1U)
1947 #define S_DBFIFO_HP_INT_LOW 14
1948 #define V_DBFIFO_HP_INT_LOW(x) ((x) << S_DBFIFO_HP_INT_LOW)
1949 #define F_DBFIFO_HP_INT_LOW V_DBFIFO_HP_INT_LOW(1U)
1951 #define S_DBFIFO_LP_INT_LOW 13
1952 #define V_DBFIFO_LP_INT_LOW(x) ((x) << S_DBFIFO_LP_INT_LOW)
1953 #define F_DBFIFO_LP_INT_LOW V_DBFIFO_LP_INT_LOW(1U)
1955 #define S_DBFIFO_FL_INT_LOW 12
1956 #define V_DBFIFO_FL_INT_LOW(x) ((x) << S_DBFIFO_FL_INT_LOW)
1957 #define F_DBFIFO_FL_INT_LOW V_DBFIFO_FL_INT_LOW(1U)
1959 #define S_DBFIFO_FL_INT 11
1960 #define V_DBFIFO_FL_INT(x) ((x) << S_DBFIFO_FL_INT)
1961 #define F_DBFIFO_FL_INT V_DBFIFO_FL_INT(1U)
1963 #define S_ERR_RX_CPL_PACKET_SIZE1 10
1964 #define V_ERR_RX_CPL_PACKET_SIZE1(x) ((x) << S_ERR_RX_CPL_PACKET_SIZE1)
1965 #define F_ERR_RX_CPL_PACKET_SIZE1 V_ERR_RX_CPL_PACKET_SIZE1(1U)
1967 #define S_ERR_RX_CPL_PACKET_SIZE0 9
1968 #define V_ERR_RX_CPL_PACKET_SIZE0(x) ((x) << S_ERR_RX_CPL_PACKET_SIZE0)
1969 #define F_ERR_RX_CPL_PACKET_SIZE0 V_ERR_RX_CPL_PACKET_SIZE0(1U)
1971 #define S_ERR_ISHIFT_UR1 31
1972 #define V_ERR_ISHIFT_UR1(x) ((x) << S_ERR_ISHIFT_UR1)
1973 #define F_ERR_ISHIFT_UR1 V_ERR_ISHIFT_UR1(1U)
1975 #define S_ERR_ISHIFT_UR0 30
1976 #define V_ERR_ISHIFT_UR0(x) ((x) << S_ERR_ISHIFT_UR0)
1977 #define F_ERR_ISHIFT_UR0 V_ERR_ISHIFT_UR0(1U)
1979 #define S_ERR_TH3_MAX_FETCH 14
1980 #define V_ERR_TH3_MAX_FETCH(x) ((x) << S_ERR_TH3_MAX_FETCH)
1981 #define F_ERR_TH3_MAX_FETCH V_ERR_TH3_MAX_FETCH(1U)
1983 #define S_ERR_TH2_MAX_FETCH 13
1984 #define V_ERR_TH2_MAX_FETCH(x) ((x) << S_ERR_TH2_MAX_FETCH)
1985 #define F_ERR_TH2_MAX_FETCH V_ERR_TH2_MAX_FETCH(1U)
1987 #define S_ERR_TH1_MAX_FETCH 12
1988 #define V_ERR_TH1_MAX_FETCH(x) ((x) << S_ERR_TH1_MAX_FETCH)
1989 #define F_ERR_TH1_MAX_FETCH V_ERR_TH1_MAX_FETCH(1U)
1991 #define S_ERR_TH0_MAX_FETCH 11
1992 #define V_ERR_TH0_MAX_FETCH(x) ((x) << S_ERR_TH0_MAX_FETCH)
1993 #define F_ERR_TH0_MAX_FETCH V_ERR_TH0_MAX_FETCH(1U)
1995 #define A_SGE_INT_ENABLE4 0x10e0
1996 #define A_SGE_STAT_TOTAL 0x10e4
1997 #define A_SGE_STAT_MATCH 0x10e8
1998 #define A_SGE_STAT_CFG 0x10ec
2000 #define S_ITPOPMODE 8
2001 #define V_ITPOPMODE(x) ((x) << S_ITPOPMODE)
2002 #define F_ITPOPMODE V_ITPOPMODE(1U)
2004 #define S_EGRCTXTOPMODE 6
2005 #define M_EGRCTXTOPMODE 0x3U
2006 #define V_EGRCTXTOPMODE(x) ((x) << S_EGRCTXTOPMODE)
2007 #define G_EGRCTXTOPMODE(x) (((x) >> S_EGRCTXTOPMODE) & M_EGRCTXTOPMODE)
2009 #define S_INGCTXTOPMODE 4
2010 #define M_INGCTXTOPMODE 0x3U
2011 #define V_INGCTXTOPMODE(x) ((x) << S_INGCTXTOPMODE)
2012 #define G_INGCTXTOPMODE(x) (((x) >> S_INGCTXTOPMODE) & M_INGCTXTOPMODE)
2014 #define S_STATMODE 2
2015 #define M_STATMODE 0x3U
2016 #define V_STATMODE(x) ((x) << S_STATMODE)
2017 #define G_STATMODE(x) (((x) >> S_STATMODE) & M_STATMODE)
2019 #define S_STATSOURCE 0
2020 #define M_STATSOURCE 0x3U
2021 #define V_STATSOURCE(x) ((x) << S_STATSOURCE)
2022 #define G_STATSOURCE(x) (((x) >> S_STATSOURCE) & M_STATSOURCE)
2024 #define S_STATSOURCE_T5 9
2025 #define M_STATSOURCE_T5 0xfU
2026 #define V_STATSOURCE_T5(x) ((x) << S_STATSOURCE_T5)
2027 #define G_STATSOURCE_T5(x) (((x) >> S_STATSOURCE_T5) & M_STATSOURCE_T5)
2029 #define S_T6_STATMODE 0
2030 #define M_T6_STATMODE 0xfU
2031 #define V_T6_STATMODE(x) ((x) << S_T6_STATMODE)
2032 #define G_T6_STATMODE(x) (((x) >> S_T6_STATMODE) & M_T6_STATMODE)
2034 #define A_SGE_HINT_CFG 0x10f0
2036 #define S_HINTSALLOWEDNOHDR 6
2037 #define M_HINTSALLOWEDNOHDR 0x3fU
2038 #define V_HINTSALLOWEDNOHDR(x) ((x) << S_HINTSALLOWEDNOHDR)
2039 #define G_HINTSALLOWEDNOHDR(x) (((x) >> S_HINTSALLOWEDNOHDR) & M_HINTSALLOWEDNOHDR)
2041 #define S_HINTSALLOWEDHDR 0
2042 #define M_HINTSALLOWEDHDR 0x3fU
2043 #define V_HINTSALLOWEDHDR(x) ((x) << S_HINTSALLOWEDHDR)
2044 #define G_HINTSALLOWEDHDR(x) (((x) >> S_HINTSALLOWEDHDR) & M_HINTSALLOWEDHDR)
2046 #define S_UPCUTOFFTHRESHLP 12
2047 #define M_UPCUTOFFTHRESHLP 0x7ffU
2048 #define V_UPCUTOFFTHRESHLP(x) ((x) << S_UPCUTOFFTHRESHLP)
2049 #define G_UPCUTOFFTHRESHLP(x) (((x) >> S_UPCUTOFFTHRESHLP) & M_UPCUTOFFTHRESHLP)
2051 #define A_SGE_INGRESS_QUEUES_PER_PAGE_PF 0x10f4
2052 #define A_SGE_INGRESS_QUEUES_PER_PAGE_VF 0x10f8
2053 #define A_SGE_PD_WRR_CONFIG 0x10fc
2055 #define S_EDMA_WEIGHT 0
2056 #define M_EDMA_WEIGHT 0x3fU
2057 #define V_EDMA_WEIGHT(x) ((x) << S_EDMA_WEIGHT)
2058 #define G_EDMA_WEIGHT(x) (((x) >> S_EDMA_WEIGHT) & M_EDMA_WEIGHT)
2060 #define A_SGE_ERROR_STATS 0x1100
2062 #define S_UNCAPTURED_ERROR 18
2063 #define V_UNCAPTURED_ERROR(x) ((x) << S_UNCAPTURED_ERROR)
2064 #define F_UNCAPTURED_ERROR V_UNCAPTURED_ERROR(1U)
2066 #define S_ERROR_QID_VALID 17
2067 #define V_ERROR_QID_VALID(x) ((x) << S_ERROR_QID_VALID)
2068 #define F_ERROR_QID_VALID V_ERROR_QID_VALID(1U)
2070 #define S_ERROR_QID 0
2071 #define M_ERROR_QID 0x1ffffU
2072 #define V_ERROR_QID(x) ((x) << S_ERROR_QID)
2073 #define G_ERROR_QID(x) (((x) >> S_ERROR_QID) & M_ERROR_QID)
2075 #define S_CAUSE_REGISTER 24
2076 #define M_CAUSE_REGISTER 0x7U
2077 #define V_CAUSE_REGISTER(x) ((x) << S_CAUSE_REGISTER)
2078 #define G_CAUSE_REGISTER(x) (((x) >> S_CAUSE_REGISTER) & M_CAUSE_REGISTER)
2080 #define S_CAUSE_BIT 19
2081 #define M_CAUSE_BIT 0x1fU
2082 #define V_CAUSE_BIT(x) ((x) << S_CAUSE_BIT)
2083 #define G_CAUSE_BIT(x) (((x) >> S_CAUSE_BIT) & M_CAUSE_BIT)
2085 #define A_SGE_SHARED_TAG_CHAN_CFG 0x1104
2087 #define S_MINTAG3 24
2088 #define M_MINTAG3 0xffU
2089 #define V_MINTAG3(x) ((x) << S_MINTAG3)
2090 #define G_MINTAG3(x) (((x) >> S_MINTAG3) & M_MINTAG3)
2092 #define S_MINTAG2 16
2093 #define M_MINTAG2 0xffU
2094 #define V_MINTAG2(x) ((x) << S_MINTAG2)
2095 #define G_MINTAG2(x) (((x) >> S_MINTAG2) & M_MINTAG2)
2098 #define M_MINTAG1 0xffU
2099 #define V_MINTAG1(x) ((x) << S_MINTAG1)
2100 #define G_MINTAG1(x) (((x) >> S_MINTAG1) & M_MINTAG1)
2103 #define M_MINTAG0 0xffU
2104 #define V_MINTAG0(x) ((x) << S_MINTAG0)
2105 #define G_MINTAG0(x) (((x) >> S_MINTAG0) & M_MINTAG0)
2107 #define A_SGE_IDMA0_DROP_CNT 0x1104
2108 #define A_SGE_SHARED_TAG_POOL_CFG 0x1108
2110 #define S_TAGPOOLTOTAL 0
2111 #define M_TAGPOOLTOTAL 0xffU
2112 #define V_TAGPOOLTOTAL(x) ((x) << S_TAGPOOLTOTAL)
2113 #define G_TAGPOOLTOTAL(x) (((x) >> S_TAGPOOLTOTAL) & M_TAGPOOLTOTAL)
2115 #define A_SGE_IDMA1_DROP_CNT 0x1108
2116 #define A_SGE_INT_CAUSE5 0x110c
2118 #define S_ERR_T_RXCRC 31
2119 #define V_ERR_T_RXCRC(x) ((x) << S_ERR_T_RXCRC)
2120 #define F_ERR_T_RXCRC V_ERR_T_RXCRC(1U)
2122 #define S_PERR_MC_RSPDATA 30
2123 #define V_PERR_MC_RSPDATA(x) ((x) << S_PERR_MC_RSPDATA)
2124 #define F_PERR_MC_RSPDATA V_PERR_MC_RSPDATA(1U)
2126 #define S_PERR_PC_RSPDATA 29
2127 #define V_PERR_PC_RSPDATA(x) ((x) << S_PERR_PC_RSPDATA)
2128 #define F_PERR_PC_RSPDATA V_PERR_PC_RSPDATA(1U)
2130 #define S_PERR_PD_RDRSPDATA 28
2131 #define V_PERR_PD_RDRSPDATA(x) ((x) << S_PERR_PD_RDRSPDATA)
2132 #define F_PERR_PD_RDRSPDATA V_PERR_PD_RDRSPDATA(1U)
2134 #define S_PERR_U_RXDATA 27
2135 #define V_PERR_U_RXDATA(x) ((x) << S_PERR_U_RXDATA)
2136 #define F_PERR_U_RXDATA V_PERR_U_RXDATA(1U)
2138 #define S_PERR_UD_RXDATA 26
2139 #define V_PERR_UD_RXDATA(x) ((x) << S_PERR_UD_RXDATA)
2140 #define F_PERR_UD_RXDATA V_PERR_UD_RXDATA(1U)
2142 #define S_PERR_UP_DATA 25
2143 #define V_PERR_UP_DATA(x) ((x) << S_PERR_UP_DATA)
2144 #define F_PERR_UP_DATA V_PERR_UP_DATA(1U)
2146 #define S_PERR_CIM2SGE_RXDATA 24
2147 #define V_PERR_CIM2SGE_RXDATA(x) ((x) << S_PERR_CIM2SGE_RXDATA)
2148 #define F_PERR_CIM2SGE_RXDATA V_PERR_CIM2SGE_RXDATA(1U)
2150 #define S_PERR_HINT_DELAY_FIFO1_T5 23
2151 #define V_PERR_HINT_DELAY_FIFO1_T5(x) ((x) << S_PERR_HINT_DELAY_FIFO1_T5)
2152 #define F_PERR_HINT_DELAY_FIFO1_T5 V_PERR_HINT_DELAY_FIFO1_T5(1U)
2154 #define S_PERR_HINT_DELAY_FIFO0_T5 22
2155 #define V_PERR_HINT_DELAY_FIFO0_T5(x) ((x) << S_PERR_HINT_DELAY_FIFO0_T5)
2156 #define F_PERR_HINT_DELAY_FIFO0_T5 V_PERR_HINT_DELAY_FIFO0_T5(1U)
2158 #define S_PERR_IMSG_PD_FIFO_T5 21
2159 #define V_PERR_IMSG_PD_FIFO_T5(x) ((x) << S_PERR_IMSG_PD_FIFO_T5)
2160 #define F_PERR_IMSG_PD_FIFO_T5 V_PERR_IMSG_PD_FIFO_T5(1U)
2162 #define S_PERR_ULPTX_FIFO1_T5 20
2163 #define V_PERR_ULPTX_FIFO1_T5(x) ((x) << S_PERR_ULPTX_FIFO1_T5)
2164 #define F_PERR_ULPTX_FIFO1_T5 V_PERR_ULPTX_FIFO1_T5(1U)
2166 #define S_PERR_ULPTX_FIFO0_T5 19
2167 #define V_PERR_ULPTX_FIFO0_T5(x) ((x) << S_PERR_ULPTX_FIFO0_T5)
2168 #define F_PERR_ULPTX_FIFO0_T5 V_PERR_ULPTX_FIFO0_T5(1U)
2170 #define S_PERR_IDMA2IMSG_FIFO1_T5 18
2171 #define V_PERR_IDMA2IMSG_FIFO1_T5(x) ((x) << S_PERR_IDMA2IMSG_FIFO1_T5)
2172 #define F_PERR_IDMA2IMSG_FIFO1_T5 V_PERR_IDMA2IMSG_FIFO1_T5(1U)
2174 #define S_PERR_IDMA2IMSG_FIFO0_T5 17
2175 #define V_PERR_IDMA2IMSG_FIFO0_T5(x) ((x) << S_PERR_IDMA2IMSG_FIFO0_T5)
2176 #define F_PERR_IDMA2IMSG_FIFO0_T5 V_PERR_IDMA2IMSG_FIFO0_T5(1U)
2178 #define S_PERR_POINTER_DATA_FIFO0 16
2179 #define V_PERR_POINTER_DATA_FIFO0(x) ((x) << S_PERR_POINTER_DATA_FIFO0)
2180 #define F_PERR_POINTER_DATA_FIFO0 V_PERR_POINTER_DATA_FIFO0(1U)
2182 #define S_PERR_POINTER_DATA_FIFO1 15
2183 #define V_PERR_POINTER_DATA_FIFO1(x) ((x) << S_PERR_POINTER_DATA_FIFO1)
2184 #define F_PERR_POINTER_DATA_FIFO1 V_PERR_POINTER_DATA_FIFO1(1U)
2186 #define S_PERR_POINTER_HDR_FIFO0 14
2187 #define V_PERR_POINTER_HDR_FIFO0(x) ((x) << S_PERR_POINTER_HDR_FIFO0)
2188 #define F_PERR_POINTER_HDR_FIFO0 V_PERR_POINTER_HDR_FIFO0(1U)
2190 #define S_PERR_POINTER_HDR_FIFO1 13
2191 #define V_PERR_POINTER_HDR_FIFO1(x) ((x) << S_PERR_POINTER_HDR_FIFO1)
2192 #define F_PERR_POINTER_HDR_FIFO1 V_PERR_POINTER_HDR_FIFO1(1U)
2194 #define S_PERR_PAYLOAD_FIFO0 12
2195 #define V_PERR_PAYLOAD_FIFO0(x) ((x) << S_PERR_PAYLOAD_FIFO0)
2196 #define F_PERR_PAYLOAD_FIFO0 V_PERR_PAYLOAD_FIFO0(1U)
2198 #define S_PERR_PAYLOAD_FIFO1 11
2199 #define V_PERR_PAYLOAD_FIFO1(x) ((x) << S_PERR_PAYLOAD_FIFO1)
2200 #define F_PERR_PAYLOAD_FIFO1 V_PERR_PAYLOAD_FIFO1(1U)
2202 #define S_PERR_EDMA_INPUT_FIFO3 10
2203 #define V_PERR_EDMA_INPUT_FIFO3(x) ((x) << S_PERR_EDMA_INPUT_FIFO3)
2204 #define F_PERR_EDMA_INPUT_FIFO3 V_PERR_EDMA_INPUT_FIFO3(1U)
2206 #define S_PERR_EDMA_INPUT_FIFO2 9
2207 #define V_PERR_EDMA_INPUT_FIFO2(x) ((x) << S_PERR_EDMA_INPUT_FIFO2)
2208 #define F_PERR_EDMA_INPUT_FIFO2 V_PERR_EDMA_INPUT_FIFO2(1U)
2210 #define S_PERR_EDMA_INPUT_FIFO1 8
2211 #define V_PERR_EDMA_INPUT_FIFO1(x) ((x) << S_PERR_EDMA_INPUT_FIFO1)
2212 #define F_PERR_EDMA_INPUT_FIFO1 V_PERR_EDMA_INPUT_FIFO1(1U)
2214 #define S_PERR_EDMA_INPUT_FIFO0 7
2215 #define V_PERR_EDMA_INPUT_FIFO0(x) ((x) << S_PERR_EDMA_INPUT_FIFO0)
2216 #define F_PERR_EDMA_INPUT_FIFO0 V_PERR_EDMA_INPUT_FIFO0(1U)
2218 #define S_PERR_MGT_BAR2_FIFO 6
2219 #define V_PERR_MGT_BAR2_FIFO(x) ((x) << S_PERR_MGT_BAR2_FIFO)
2220 #define F_PERR_MGT_BAR2_FIFO V_PERR_MGT_BAR2_FIFO(1U)
2222 #define S_PERR_HEADERSPLIT_FIFO1_T5 5
2223 #define V_PERR_HEADERSPLIT_FIFO1_T5(x) ((x) << S_PERR_HEADERSPLIT_FIFO1_T5)
2224 #define F_PERR_HEADERSPLIT_FIFO1_T5 V_PERR_HEADERSPLIT_FIFO1_T5(1U)
2226 #define S_PERR_HEADERSPLIT_FIFO0_T5 4
2227 #define V_PERR_HEADERSPLIT_FIFO0_T5(x) ((x) << S_PERR_HEADERSPLIT_FIFO0_T5)
2228 #define F_PERR_HEADERSPLIT_FIFO0_T5 V_PERR_HEADERSPLIT_FIFO0_T5(1U)
2230 #define S_PERR_CIM_FIFO1 3
2231 #define V_PERR_CIM_FIFO1(x) ((x) << S_PERR_CIM_FIFO1)
2232 #define F_PERR_CIM_FIFO1 V_PERR_CIM_FIFO1(1U)
2234 #define S_PERR_CIM_FIFO0 2
2235 #define V_PERR_CIM_FIFO0(x) ((x) << S_PERR_CIM_FIFO0)
2236 #define F_PERR_CIM_FIFO0 V_PERR_CIM_FIFO0(1U)
2238 #define S_PERR_IDMA_SWITCH_OUTPUT_FIFO1 1
2239 #define V_PERR_IDMA_SWITCH_OUTPUT_FIFO1(x) ((x) << S_PERR_IDMA_SWITCH_OUTPUT_FIFO1)
2240 #define F_PERR_IDMA_SWITCH_OUTPUT_FIFO1 V_PERR_IDMA_SWITCH_OUTPUT_FIFO1(1U)
2242 #define S_PERR_IDMA_SWITCH_OUTPUT_FIFO0 0
2243 #define V_PERR_IDMA_SWITCH_OUTPUT_FIFO0(x) ((x) << S_PERR_IDMA_SWITCH_OUTPUT_FIFO0)
2244 #define F_PERR_IDMA_SWITCH_OUTPUT_FIFO0 V_PERR_IDMA_SWITCH_OUTPUT_FIFO0(1U)
2246 #define A_SGE_INT_ENABLE5 0x1110
2247 #define A_SGE_PERR_ENABLE5 0x1114
2248 #define A_SGE_DBFIFO_STATUS2 0x1118
2250 #define S_FL_INT_THRESH 24
2251 #define M_FL_INT_THRESH 0xfU
2252 #define V_FL_INT_THRESH(x) ((x) << S_FL_INT_THRESH)
2253 #define G_FL_INT_THRESH(x) (((x) >> S_FL_INT_THRESH) & M_FL_INT_THRESH)
2255 #define S_FL_COUNT 14
2256 #define M_FL_COUNT 0x3ffU
2257 #define V_FL_COUNT(x) ((x) << S_FL_COUNT)
2258 #define G_FL_COUNT(x) (((x) >> S_FL_COUNT) & M_FL_COUNT)
2260 #define S_HP_INT_THRESH_T5 10
2261 #define M_HP_INT_THRESH_T5 0xfU
2262 #define V_HP_INT_THRESH_T5(x) ((x) << S_HP_INT_THRESH_T5)
2263 #define G_HP_INT_THRESH_T5(x) (((x) >> S_HP_INT_THRESH_T5) & M_HP_INT_THRESH_T5)
2265 #define S_HP_COUNT_T5 0
2266 #define M_HP_COUNT_T5 0x3ffU
2267 #define V_HP_COUNT_T5(x) ((x) << S_HP_COUNT_T5)
2268 #define G_HP_COUNT_T5(x) (((x) >> S_HP_COUNT_T5) & M_HP_COUNT_T5)
2270 #define A_SGE_FETCH_BURST_MAX_0_AND_1 0x111c
2272 #define S_FETCHBURSTMAX0 16
2273 #define M_FETCHBURSTMAX0 0x3ffU
2274 #define V_FETCHBURSTMAX0(x) ((x) << S_FETCHBURSTMAX0)
2275 #define G_FETCHBURSTMAX0(x) (((x) >> S_FETCHBURSTMAX0) & M_FETCHBURSTMAX0)
2277 #define S_FETCHBURSTMAX1 0
2278 #define M_FETCHBURSTMAX1 0x3ffU
2279 #define V_FETCHBURSTMAX1(x) ((x) << S_FETCHBURSTMAX1)
2280 #define G_FETCHBURSTMAX1(x) (((x) >> S_FETCHBURSTMAX1) & M_FETCHBURSTMAX1)
2282 #define A_SGE_FETCH_BURST_MAX_2_AND_3 0x1120
2284 #define S_FETCHBURSTMAX2 16
2285 #define M_FETCHBURSTMAX2 0x3ffU
2286 #define V_FETCHBURSTMAX2(x) ((x) << S_FETCHBURSTMAX2)
2287 #define G_FETCHBURSTMAX2(x) (((x) >> S_FETCHBURSTMAX2) & M_FETCHBURSTMAX2)
2289 #define S_FETCHBURSTMAX3 0
2290 #define M_FETCHBURSTMAX3 0x3ffU
2291 #define V_FETCHBURSTMAX3(x) ((x) << S_FETCHBURSTMAX3)
2292 #define G_FETCHBURSTMAX3(x) (((x) >> S_FETCHBURSTMAX3) & M_FETCHBURSTMAX3)
2294 #define A_SGE_CONTROL2 0x1124
2296 #define S_UPFLCUTOFFDIS 21
2297 #define V_UPFLCUTOFFDIS(x) ((x) << S_UPFLCUTOFFDIS)
2298 #define F_UPFLCUTOFFDIS V_UPFLCUTOFFDIS(1U)
2300 #define S_RXCPLSIZEAUTOCORRECT 20
2301 #define V_RXCPLSIZEAUTOCORRECT(x) ((x) << S_RXCPLSIZEAUTOCORRECT)
2302 #define F_RXCPLSIZEAUTOCORRECT V_RXCPLSIZEAUTOCORRECT(1U)
2304 #define S_IDMAARBROUNDROBIN 19
2305 #define V_IDMAARBROUNDROBIN(x) ((x) << S_IDMAARBROUNDROBIN)
2306 #define F_IDMAARBROUNDROBIN V_IDMAARBROUNDROBIN(1U)
2308 #define S_INGPACKBOUNDARY 16
2309 #define M_INGPACKBOUNDARY 0x7U
2310 #define V_INGPACKBOUNDARY(x) ((x) << S_INGPACKBOUNDARY)
2311 #define G_INGPACKBOUNDARY(x) (((x) >> S_INGPACKBOUNDARY) & M_INGPACKBOUNDARY)
2313 #define S_CGEN_EGRESS_CONTEXT 15
2314 #define V_CGEN_EGRESS_CONTEXT(x) ((x) << S_CGEN_EGRESS_CONTEXT)
2315 #define F_CGEN_EGRESS_CONTEXT V_CGEN_EGRESS_CONTEXT(1U)
2317 #define S_CGEN_INGRESS_CONTEXT 14
2318 #define V_CGEN_INGRESS_CONTEXT(x) ((x) << S_CGEN_INGRESS_CONTEXT)
2319 #define F_CGEN_INGRESS_CONTEXT V_CGEN_INGRESS_CONTEXT(1U)
2321 #define S_CGEN_IDMA 13
2322 #define V_CGEN_IDMA(x) ((x) << S_CGEN_IDMA)
2323 #define F_CGEN_IDMA V_CGEN_IDMA(1U)
2325 #define S_CGEN_DBP 12
2326 #define V_CGEN_DBP(x) ((x) << S_CGEN_DBP)
2327 #define F_CGEN_DBP V_CGEN_DBP(1U)
2329 #define S_CGEN_EDMA 11
2330 #define V_CGEN_EDMA(x) ((x) << S_CGEN_EDMA)
2331 #define F_CGEN_EDMA V_CGEN_EDMA(1U)
2333 #define S_VFIFO_ENABLE 10
2334 #define V_VFIFO_ENABLE(x) ((x) << S_VFIFO_ENABLE)
2335 #define F_VFIFO_ENABLE V_VFIFO_ENABLE(1U)
2337 #define S_FLM_RESCHEDULE_MODE 9
2338 #define V_FLM_RESCHEDULE_MODE(x) ((x) << S_FLM_RESCHEDULE_MODE)
2339 #define F_FLM_RESCHEDULE_MODE V_FLM_RESCHEDULE_MODE(1U)
2341 #define S_HINTDEPTHCTLFL 4
2342 #define M_HINTDEPTHCTLFL 0x1fU
2343 #define V_HINTDEPTHCTLFL(x) ((x) << S_HINTDEPTHCTLFL)
2344 #define G_HINTDEPTHCTLFL(x) (((x) >> S_HINTDEPTHCTLFL) & M_HINTDEPTHCTLFL)
2346 #define S_FORCE_ORDERING 3
2347 #define V_FORCE_ORDERING(x) ((x) << S_FORCE_ORDERING)
2348 #define F_FORCE_ORDERING V_FORCE_ORDERING(1U)
2350 #define S_TX_COALESCE_SIZE 2
2351 #define V_TX_COALESCE_SIZE(x) ((x) << S_TX_COALESCE_SIZE)
2352 #define F_TX_COALESCE_SIZE V_TX_COALESCE_SIZE(1U)
2354 #define S_COAL_STRICT_CIM_PRI 1
2355 #define V_COAL_STRICT_CIM_PRI(x) ((x) << S_COAL_STRICT_CIM_PRI)
2356 #define F_COAL_STRICT_CIM_PRI V_COAL_STRICT_CIM_PRI(1U)
2358 #define S_TX_COALESCE_PRI 0
2359 #define V_TX_COALESCE_PRI(x) ((x) << S_TX_COALESCE_PRI)
2360 #define F_TX_COALESCE_PRI V_TX_COALESCE_PRI(1U)
2362 #define A_SGE_DEEP_SLEEP 0x1128
2364 #define S_IDMA1_SLEEP_STATUS 11
2365 #define V_IDMA1_SLEEP_STATUS(x) ((x) << S_IDMA1_SLEEP_STATUS)
2366 #define F_IDMA1_SLEEP_STATUS V_IDMA1_SLEEP_STATUS(1U)
2368 #define S_IDMA0_SLEEP_STATUS 10
2369 #define V_IDMA0_SLEEP_STATUS(x) ((x) << S_IDMA0_SLEEP_STATUS)
2370 #define F_IDMA0_SLEEP_STATUS V_IDMA0_SLEEP_STATUS(1U)
2372 #define S_IDMA1_SLEEP_REQ 9
2373 #define V_IDMA1_SLEEP_REQ(x) ((x) << S_IDMA1_SLEEP_REQ)
2374 #define F_IDMA1_SLEEP_REQ V_IDMA1_SLEEP_REQ(1U)
2376 #define S_IDMA0_SLEEP_REQ 8
2377 #define V_IDMA0_SLEEP_REQ(x) ((x) << S_IDMA0_SLEEP_REQ)
2378 #define F_IDMA0_SLEEP_REQ V_IDMA0_SLEEP_REQ(1U)
2380 #define S_EDMA3_SLEEP_STATUS 7
2381 #define V_EDMA3_SLEEP_STATUS(x) ((x) << S_EDMA3_SLEEP_STATUS)
2382 #define F_EDMA3_SLEEP_STATUS V_EDMA3_SLEEP_STATUS(1U)
2384 #define S_EDMA2_SLEEP_STATUS 6
2385 #define V_EDMA2_SLEEP_STATUS(x) ((x) << S_EDMA2_SLEEP_STATUS)
2386 #define F_EDMA2_SLEEP_STATUS V_EDMA2_SLEEP_STATUS(1U)
2388 #define S_EDMA1_SLEEP_STATUS 5
2389 #define V_EDMA1_SLEEP_STATUS(x) ((x) << S_EDMA1_SLEEP_STATUS)
2390 #define F_EDMA1_SLEEP_STATUS V_EDMA1_SLEEP_STATUS(1U)
2392 #define S_EDMA0_SLEEP_STATUS 4
2393 #define V_EDMA0_SLEEP_STATUS(x) ((x) << S_EDMA0_SLEEP_STATUS)
2394 #define F_EDMA0_SLEEP_STATUS V_EDMA0_SLEEP_STATUS(1U)
2396 #define S_EDMA3_SLEEP_REQ 3
2397 #define V_EDMA3_SLEEP_REQ(x) ((x) << S_EDMA3_SLEEP_REQ)
2398 #define F_EDMA3_SLEEP_REQ V_EDMA3_SLEEP_REQ(1U)
2400 #define S_EDMA2_SLEEP_REQ 2
2401 #define V_EDMA2_SLEEP_REQ(x) ((x) << S_EDMA2_SLEEP_REQ)
2402 #define F_EDMA2_SLEEP_REQ V_EDMA2_SLEEP_REQ(1U)
2404 #define S_EDMA1_SLEEP_REQ 1
2405 #define V_EDMA1_SLEEP_REQ(x) ((x) << S_EDMA1_SLEEP_REQ)
2406 #define F_EDMA1_SLEEP_REQ V_EDMA1_SLEEP_REQ(1U)
2408 #define S_EDMA0_SLEEP_REQ 0
2409 #define V_EDMA0_SLEEP_REQ(x) ((x) << S_EDMA0_SLEEP_REQ)
2410 #define F_EDMA0_SLEEP_REQ V_EDMA0_SLEEP_REQ(1U)
2412 #define A_SGE_INT_CAUSE6 0x1128
2414 #define S_ERR_DB_SYNC 21
2415 #define V_ERR_DB_SYNC(x) ((x) << S_ERR_DB_SYNC)
2416 #define F_ERR_DB_SYNC V_ERR_DB_SYNC(1U)
2418 #define S_ERR_GTS_SYNC 20
2419 #define V_ERR_GTS_SYNC(x) ((x) << S_ERR_GTS_SYNC)
2420 #define F_ERR_GTS_SYNC V_ERR_GTS_SYNC(1U)
2422 #define S_FATAL_LARGE_COAL 19
2423 #define V_FATAL_LARGE_COAL(x) ((x) << S_FATAL_LARGE_COAL)
2424 #define F_FATAL_LARGE_COAL V_FATAL_LARGE_COAL(1U)
2426 #define S_PL_BAR2_FRM_ERR 18
2427 #define V_PL_BAR2_FRM_ERR(x) ((x) << S_PL_BAR2_FRM_ERR)
2428 #define F_PL_BAR2_FRM_ERR V_PL_BAR2_FRM_ERR(1U)
2430 #define S_SILENT_DROP_TX_COAL 17
2431 #define V_SILENT_DROP_TX_COAL(x) ((x) << S_SILENT_DROP_TX_COAL)
2432 #define F_SILENT_DROP_TX_COAL V_SILENT_DROP_TX_COAL(1U)
2434 #define S_ERR_INV_CTXT4 16
2435 #define V_ERR_INV_CTXT4(x) ((x) << S_ERR_INV_CTXT4)
2436 #define F_ERR_INV_CTXT4 V_ERR_INV_CTXT4(1U)
2438 #define S_ERR_BAD_DB_PIDX4 15
2439 #define V_ERR_BAD_DB_PIDX4(x) ((x) << S_ERR_BAD_DB_PIDX4)
2440 #define F_ERR_BAD_DB_PIDX4 V_ERR_BAD_DB_PIDX4(1U)
2442 #define S_ERR_BAD_UPFL_INC_CREDIT4 14
2443 #define V_ERR_BAD_UPFL_INC_CREDIT4(x) ((x) << S_ERR_BAD_UPFL_INC_CREDIT4)
2444 #define F_ERR_BAD_UPFL_INC_CREDIT4 V_ERR_BAD_UPFL_INC_CREDIT4(1U)
2446 #define S_FATAL_TAG_MISMATCH 13
2447 #define V_FATAL_TAG_MISMATCH(x) ((x) << S_FATAL_TAG_MISMATCH)
2448 #define F_FATAL_TAG_MISMATCH V_FATAL_TAG_MISMATCH(1U)
2450 #define S_FATAL_ENQ_CTL_RDY 12
2451 #define V_FATAL_ENQ_CTL_RDY(x) ((x) << S_FATAL_ENQ_CTL_RDY)
2452 #define F_FATAL_ENQ_CTL_RDY V_FATAL_ENQ_CTL_RDY(1U)
2454 #define S_ERR_PC_RSP_LEN3 11
2455 #define V_ERR_PC_RSP_LEN3(x) ((x) << S_ERR_PC_RSP_LEN3)
2456 #define F_ERR_PC_RSP_LEN3 V_ERR_PC_RSP_LEN3(1U)
2458 #define S_ERR_PC_RSP_LEN2 10
2459 #define V_ERR_PC_RSP_LEN2(x) ((x) << S_ERR_PC_RSP_LEN2)
2460 #define F_ERR_PC_RSP_LEN2 V_ERR_PC_RSP_LEN2(1U)
2462 #define S_ERR_PC_RSP_LEN1 9
2463 #define V_ERR_PC_RSP_LEN1(x) ((x) << S_ERR_PC_RSP_LEN1)
2464 #define F_ERR_PC_RSP_LEN1 V_ERR_PC_RSP_LEN1(1U)
2466 #define S_ERR_PC_RSP_LEN0 8
2467 #define V_ERR_PC_RSP_LEN0(x) ((x) << S_ERR_PC_RSP_LEN0)
2468 #define F_ERR_PC_RSP_LEN0 V_ERR_PC_RSP_LEN0(1U)
2470 #define S_FATAL_ENQ2LL_VLD 7
2471 #define V_FATAL_ENQ2LL_VLD(x) ((x) << S_FATAL_ENQ2LL_VLD)
2472 #define F_FATAL_ENQ2LL_VLD V_FATAL_ENQ2LL_VLD(1U)
2474 #define S_FATAL_LL_EMPTY 6
2475 #define V_FATAL_LL_EMPTY(x) ((x) << S_FATAL_LL_EMPTY)
2476 #define F_FATAL_LL_EMPTY V_FATAL_LL_EMPTY(1U)
2478 #define S_FATAL_OFF_WDENQ 5
2479 #define V_FATAL_OFF_WDENQ(x) ((x) << S_FATAL_OFF_WDENQ)
2480 #define F_FATAL_OFF_WDENQ V_FATAL_OFF_WDENQ(1U)
2482 #define S_FATAL_DEQ_DRDY 3
2483 #define M_FATAL_DEQ_DRDY 0x3U
2484 #define V_FATAL_DEQ_DRDY(x) ((x) << S_FATAL_DEQ_DRDY)
2485 #define G_FATAL_DEQ_DRDY(x) (((x) >> S_FATAL_DEQ_DRDY) & M_FATAL_DEQ_DRDY)
2487 #define S_FATAL_OUTP_DRDY 1
2488 #define M_FATAL_OUTP_DRDY 0x3U
2489 #define V_FATAL_OUTP_DRDY(x) ((x) << S_FATAL_OUTP_DRDY)
2490 #define G_FATAL_OUTP_DRDY(x) (((x) >> S_FATAL_OUTP_DRDY) & M_FATAL_OUTP_DRDY)
2492 #define S_FATAL_DEQ 0
2493 #define V_FATAL_DEQ(x) ((x) << S_FATAL_DEQ)
2494 #define F_FATAL_DEQ V_FATAL_DEQ(1U)
2496 #define A_SGE_DOORBELL_THROTTLE_THRESHOLD 0x112c
2498 #define S_THROTTLE_THRESHOLD_FL 16
2499 #define M_THROTTLE_THRESHOLD_FL 0xfU
2500 #define V_THROTTLE_THRESHOLD_FL(x) ((x) << S_THROTTLE_THRESHOLD_FL)
2501 #define G_THROTTLE_THRESHOLD_FL(x) (((x) >> S_THROTTLE_THRESHOLD_FL) & M_THROTTLE_THRESHOLD_FL)
2503 #define S_THROTTLE_THRESHOLD_HP 12
2504 #define M_THROTTLE_THRESHOLD_HP 0xfU
2505 #define V_THROTTLE_THRESHOLD_HP(x) ((x) << S_THROTTLE_THRESHOLD_HP)
2506 #define G_THROTTLE_THRESHOLD_HP(x) (((x) >> S_THROTTLE_THRESHOLD_HP) & M_THROTTLE_THRESHOLD_HP)
2508 #define S_THROTTLE_THRESHOLD_LP 0
2509 #define M_THROTTLE_THRESHOLD_LP 0xfffU
2510 #define V_THROTTLE_THRESHOLD_LP(x) ((x) << S_THROTTLE_THRESHOLD_LP)
2511 #define G_THROTTLE_THRESHOLD_LP(x) (((x) >> S_THROTTLE_THRESHOLD_LP) & M_THROTTLE_THRESHOLD_LP)
2513 #define A_SGE_INT_ENABLE6 0x112c
2514 #define A_SGE_DBP_FETCH_THRESHOLD 0x1130
2516 #define S_DBP_FETCH_THRESHOLD_FL 21
2517 #define M_DBP_FETCH_THRESHOLD_FL 0xfU
2518 #define V_DBP_FETCH_THRESHOLD_FL(x) ((x) << S_DBP_FETCH_THRESHOLD_FL)
2519 #define G_DBP_FETCH_THRESHOLD_FL(x) (((x) >> S_DBP_FETCH_THRESHOLD_FL) & M_DBP_FETCH_THRESHOLD_FL)
2521 #define S_DBP_FETCH_THRESHOLD_HP 17
2522 #define M_DBP_FETCH_THRESHOLD_HP 0xfU
2523 #define V_DBP_FETCH_THRESHOLD_HP(x) ((x) << S_DBP_FETCH_THRESHOLD_HP)
2524 #define G_DBP_FETCH_THRESHOLD_HP(x) (((x) >> S_DBP_FETCH_THRESHOLD_HP) & M_DBP_FETCH_THRESHOLD_HP)
2526 #define S_DBP_FETCH_THRESHOLD_LP 5
2527 #define M_DBP_FETCH_THRESHOLD_LP 0xfffU
2528 #define V_DBP_FETCH_THRESHOLD_LP(x) ((x) << S_DBP_FETCH_THRESHOLD_LP)
2529 #define G_DBP_FETCH_THRESHOLD_LP(x) (((x) >> S_DBP_FETCH_THRESHOLD_LP) & M_DBP_FETCH_THRESHOLD_LP)
2531 #define S_DBP_FETCH_THRESHOLD_MODE 4
2532 #define V_DBP_FETCH_THRESHOLD_MODE(x) ((x) << S_DBP_FETCH_THRESHOLD_MODE)
2533 #define F_DBP_FETCH_THRESHOLD_MODE V_DBP_FETCH_THRESHOLD_MODE(1U)
2535 #define S_DBP_FETCH_THRESHOLD_EN3 3
2536 #define V_DBP_FETCH_THRESHOLD_EN3(x) ((x) << S_DBP_FETCH_THRESHOLD_EN3)
2537 #define F_DBP_FETCH_THRESHOLD_EN3 V_DBP_FETCH_THRESHOLD_EN3(1U)
2539 #define S_DBP_FETCH_THRESHOLD_EN2 2
2540 #define V_DBP_FETCH_THRESHOLD_EN2(x) ((x) << S_DBP_FETCH_THRESHOLD_EN2)
2541 #define F_DBP_FETCH_THRESHOLD_EN2 V_DBP_FETCH_THRESHOLD_EN2(1U)
2543 #define S_DBP_FETCH_THRESHOLD_EN1 1
2544 #define V_DBP_FETCH_THRESHOLD_EN1(x) ((x) << S_DBP_FETCH_THRESHOLD_EN1)
2545 #define F_DBP_FETCH_THRESHOLD_EN1 V_DBP_FETCH_THRESHOLD_EN1(1U)
2547 #define S_DBP_FETCH_THRESHOLD_EN0 0
2548 #define V_DBP_FETCH_THRESHOLD_EN0(x) ((x) << S_DBP_FETCH_THRESHOLD_EN0)
2549 #define F_DBP_FETCH_THRESHOLD_EN0 V_DBP_FETCH_THRESHOLD_EN0(1U)
2551 #define A_SGE_DBP_FETCH_THRESHOLD_QUEUE 0x1134
2553 #define S_DBP_FETCH_THRESHOLD_IQ1 16
2554 #define M_DBP_FETCH_THRESHOLD_IQ1 0xffffU
2555 #define V_DBP_FETCH_THRESHOLD_IQ1(x) ((x) << S_DBP_FETCH_THRESHOLD_IQ1)
2556 #define G_DBP_FETCH_THRESHOLD_IQ1(x) (((x) >> S_DBP_FETCH_THRESHOLD_IQ1) & M_DBP_FETCH_THRESHOLD_IQ1)
2558 #define S_DBP_FETCH_THRESHOLD_IQ0 0
2559 #define M_DBP_FETCH_THRESHOLD_IQ0 0xffffU
2560 #define V_DBP_FETCH_THRESHOLD_IQ0(x) ((x) << S_DBP_FETCH_THRESHOLD_IQ0)
2561 #define G_DBP_FETCH_THRESHOLD_IQ0(x) (((x) >> S_DBP_FETCH_THRESHOLD_IQ0) & M_DBP_FETCH_THRESHOLD_IQ0)
2563 #define A_SGE_DBVFIFO_BADDR 0x1138
2564 #define A_SGE_DBVFIFO_SIZE 0x113c
2566 #define S_DBVFIFO_SIZE 6
2567 #define M_DBVFIFO_SIZE 0xfffU
2568 #define V_DBVFIFO_SIZE(x) ((x) << S_DBVFIFO_SIZE)
2569 #define G_DBVFIFO_SIZE(x) (((x) >> S_DBVFIFO_SIZE) & M_DBVFIFO_SIZE)
2571 #define S_T6_DBVFIFO_SIZE 0
2572 #define M_T6_DBVFIFO_SIZE 0x1fffU
2573 #define V_T6_DBVFIFO_SIZE(x) ((x) << S_T6_DBVFIFO_SIZE)
2574 #define G_T6_DBVFIFO_SIZE(x) (((x) >> S_T6_DBVFIFO_SIZE) & M_T6_DBVFIFO_SIZE)
2576 #define A_SGE_DBFIFO_STATUS3 0x1140
2578 #define S_LP_PTRS_EQUAL 21
2579 #define V_LP_PTRS_EQUAL(x) ((x) << S_LP_PTRS_EQUAL)
2580 #define F_LP_PTRS_EQUAL V_LP_PTRS_EQUAL(1U)
2582 #define S_LP_SNAPHOT 20
2583 #define V_LP_SNAPHOT(x) ((x) << S_LP_SNAPHOT)
2584 #define F_LP_SNAPHOT V_LP_SNAPHOT(1U)
2586 #define S_FL_INT_THRESH_LOW 16
2587 #define M_FL_INT_THRESH_LOW 0xfU
2588 #define V_FL_INT_THRESH_LOW(x) ((x) << S_FL_INT_THRESH_LOW)
2589 #define G_FL_INT_THRESH_LOW(x) (((x) >> S_FL_INT_THRESH_LOW) & M_FL_INT_THRESH_LOW)
2591 #define S_HP_INT_THRESH_LOW 12
2592 #define M_HP_INT_THRESH_LOW 0xfU
2593 #define V_HP_INT_THRESH_LOW(x) ((x) << S_HP_INT_THRESH_LOW)
2594 #define G_HP_INT_THRESH_LOW(x) (((x) >> S_HP_INT_THRESH_LOW) & M_HP_INT_THRESH_LOW)
2596 #define S_LP_INT_THRESH_LOW 0
2597 #define M_LP_INT_THRESH_LOW 0xfffU
2598 #define V_LP_INT_THRESH_LOW(x) ((x) << S_LP_INT_THRESH_LOW)
2599 #define G_LP_INT_THRESH_LOW(x) (((x) >> S_LP_INT_THRESH_LOW) & M_LP_INT_THRESH_LOW)
2601 #define A_SGE_CHANGESET 0x1144
2602 #define A_SGE_PC_RSP_ERROR 0x1148
2603 #define A_SGE_TBUF_CONTROL 0x114c
2605 #define S_DBPTBUFRSV1 9
2606 #define M_DBPTBUFRSV1 0x1ffU
2607 #define V_DBPTBUFRSV1(x) ((x) << S_DBPTBUFRSV1)
2608 #define G_DBPTBUFRSV1(x) (((x) >> S_DBPTBUFRSV1) & M_DBPTBUFRSV1)
2610 #define S_DBPTBUFRSV0 0
2611 #define M_DBPTBUFRSV0 0x1ffU
2612 #define V_DBPTBUFRSV0(x) ((x) << S_DBPTBUFRSV0)
2613 #define G_DBPTBUFRSV0(x) (((x) >> S_DBPTBUFRSV0) & M_DBPTBUFRSV0)
2615 #define A_SGE_PC0_REQ_BIST_CMD 0x1180
2616 #define A_SGE_PC0_REQ_BIST_ERROR_CNT 0x1184
2617 #define A_SGE_PC1_REQ_BIST_CMD 0x1190
2618 #define A_SGE_PC1_REQ_BIST_ERROR_CNT 0x1194
2619 #define A_SGE_PC0_RSP_BIST_CMD 0x11a0
2620 #define A_SGE_PC0_RSP_BIST_ERROR_CNT 0x11a4
2621 #define A_SGE_PC1_RSP_BIST_CMD 0x11b0
2622 #define A_SGE_PC1_RSP_BIST_ERROR_CNT 0x11b4
2623 #define A_SGE_CTXT_CMD 0x11fc
2626 #define V_BUSY(x) ((x) << S_BUSY)
2627 #define F_BUSY V_BUSY(1U)
2630 #define M_CTXTOP 0x3U
2631 #define V_CTXTOP(x) ((x) << S_CTXTOP)
2632 #define G_CTXTOP(x) (((x) >> S_CTXTOP) & M_CTXTOP)
2634 #define S_CTXTTYPE 24
2635 #define M_CTXTTYPE 0x3U
2636 #define V_CTXTTYPE(x) ((x) << S_CTXTTYPE)
2637 #define G_CTXTTYPE(x) (((x) >> S_CTXTTYPE) & M_CTXTTYPE)
2640 #define M_CTXTQID 0x1ffffU
2641 #define V_CTXTQID(x) ((x) << S_CTXTQID)
2642 #define G_CTXTQID(x) (((x) >> S_CTXTQID) & M_CTXTQID)
2644 #define A_SGE_CTXT_DATA0 0x1200
2645 #define A_SGE_CTXT_DATA1 0x1204
2646 #define A_SGE_CTXT_DATA2 0x1208
2647 #define A_SGE_CTXT_DATA3 0x120c
2648 #define A_SGE_CTXT_DATA4 0x1210
2649 #define A_SGE_CTXT_DATA5 0x1214
2650 #define A_SGE_CTXT_DATA6 0x1218
2651 #define A_SGE_CTXT_DATA7 0x121c
2652 #define A_SGE_CTXT_MASK0 0x1220
2653 #define A_SGE_CTXT_MASK1 0x1224
2654 #define A_SGE_CTXT_MASK2 0x1228
2655 #define A_SGE_CTXT_MASK3 0x122c
2656 #define A_SGE_CTXT_MASK4 0x1230
2657 #define A_SGE_CTXT_MASK5 0x1234
2658 #define A_SGE_CTXT_MASK6 0x1238
2659 #define A_SGE_CTXT_MASK7 0x123c
2660 #define A_SGE_QBASE_MAP0 0x1240
2662 #define S_EGRESS0_SIZE 24
2663 #define M_EGRESS0_SIZE 0x1fU
2664 #define V_EGRESS0_SIZE(x) ((x) << S_EGRESS0_SIZE)
2665 #define G_EGRESS0_SIZE(x) (((x) >> S_EGRESS0_SIZE) & M_EGRESS0_SIZE)
2667 #define S_EGRESS1_SIZE 16
2668 #define M_EGRESS1_SIZE 0x1fU
2669 #define V_EGRESS1_SIZE(x) ((x) << S_EGRESS1_SIZE)
2670 #define G_EGRESS1_SIZE(x) (((x) >> S_EGRESS1_SIZE) & M_EGRESS1_SIZE)
2672 #define S_INGRESS0_SIZE 8
2673 #define M_INGRESS0_SIZE 0x1fU
2674 #define V_INGRESS0_SIZE(x) ((x) << S_INGRESS0_SIZE)
2675 #define G_INGRESS0_SIZE(x) (((x) >> S_INGRESS0_SIZE) & M_INGRESS0_SIZE)
2677 #define A_SGE_QBASE_MAP1 0x1244
2679 #define S_EGRESS0_BASE 0
2680 #define M_EGRESS0_BASE 0x1ffffU
2681 #define V_EGRESS0_BASE(x) ((x) << S_EGRESS0_BASE)
2682 #define G_EGRESS0_BASE(x) (((x) >> S_EGRESS0_BASE) & M_EGRESS0_BASE)
2684 #define A_SGE_QBASE_MAP2 0x1248
2686 #define S_EGRESS1_BASE 0
2687 #define M_EGRESS1_BASE 0x1ffffU
2688 #define V_EGRESS1_BASE(x) ((x) << S_EGRESS1_BASE)
2689 #define G_EGRESS1_BASE(x) (((x) >> S_EGRESS1_BASE) & M_EGRESS1_BASE)
2691 #define A_SGE_QBASE_MAP3 0x124c
2693 #define S_INGRESS1_BASE_256VF 16
2694 #define M_INGRESS1_BASE_256VF 0xffffU
2695 #define V_INGRESS1_BASE_256VF(x) ((x) << S_INGRESS1_BASE_256VF)
2696 #define G_INGRESS1_BASE_256VF(x) (((x) >> S_INGRESS1_BASE_256VF) & M_INGRESS1_BASE_256VF)
2698 #define S_INGRESS0_BASE 0
2699 #define M_INGRESS0_BASE 0xffffU
2700 #define V_INGRESS0_BASE(x) ((x) << S_INGRESS0_BASE)
2701 #define G_INGRESS0_BASE(x) (((x) >> S_INGRESS0_BASE) & M_INGRESS0_BASE)
2703 #define A_SGE_QBASE_INDEX 0x1250
2706 #define M_QIDX 0x1ffU
2707 #define V_QIDX(x) ((x) << S_QIDX)
2708 #define G_QIDX(x) (((x) >> S_QIDX) & M_QIDX)
2710 #define A_SGE_CONM_CTRL2 0x1254
2712 #define S_FLMTHRESHPACK 8
2713 #define M_FLMTHRESHPACK 0x7fU
2714 #define V_FLMTHRESHPACK(x) ((x) << S_FLMTHRESHPACK)
2715 #define G_FLMTHRESHPACK(x) (((x) >> S_FLMTHRESHPACK) & M_FLMTHRESHPACK)
2717 #define S_FLMTHRESH 0
2718 #define M_FLMTHRESH 0x7fU
2719 #define V_FLMTHRESH(x) ((x) << S_FLMTHRESH)
2720 #define G_FLMTHRESH(x) (((x) >> S_FLMTHRESH) & M_FLMTHRESH)
2722 #define A_SGE_DEBUG_CONM 0x1258
2724 #define S_MPS_CH_CNG 16
2725 #define M_MPS_CH_CNG 0xffffU
2726 #define V_MPS_CH_CNG(x) ((x) << S_MPS_CH_CNG)
2727 #define G_MPS_CH_CNG(x) (((x) >> S_MPS_CH_CNG) & M_MPS_CH_CNG)
2729 #define S_TP_CH_CNG 14
2730 #define M_TP_CH_CNG 0x3U
2731 #define V_TP_CH_CNG(x) ((x) << S_TP_CH_CNG)
2732 #define G_TP_CH_CNG(x) (((x) >> S_TP_CH_CNG) & M_TP_CH_CNG)
2734 #define S_ST_CONG 12
2735 #define M_ST_CONG 0x3U
2736 #define V_ST_CONG(x) ((x) << S_ST_CONG)
2737 #define G_ST_CONG(x) (((x) >> S_ST_CONG) & M_ST_CONG)
2739 #define S_LAST_XOFF 10
2740 #define V_LAST_XOFF(x) ((x) << S_LAST_XOFF)
2741 #define F_LAST_XOFF V_LAST_XOFF(1U)
2743 #define S_LAST_QID 0
2744 #define M_LAST_QID 0x3ffU
2745 #define V_LAST_QID(x) ((x) << S_LAST_QID)
2746 #define G_LAST_QID(x) (((x) >> S_LAST_QID) & M_LAST_QID)
2748 #define A_SGE_DBG_QUEUE_STAT0_CTRL 0x125c
2750 #define S_IMSG_GTS_SEL 18
2751 #define V_IMSG_GTS_SEL(x) ((x) << S_IMSG_GTS_SEL)
2752 #define F_IMSG_GTS_SEL V_IMSG_GTS_SEL(1U)
2754 #define S_MGT_SEL 17
2755 #define V_MGT_SEL(x) ((x) << S_MGT_SEL)
2756 #define F_MGT_SEL V_MGT_SEL(1U)
2758 #define S_DB_GTS_QID 0
2759 #define M_DB_GTS_QID 0x1ffffU
2760 #define V_DB_GTS_QID(x) ((x) << S_DB_GTS_QID)
2761 #define G_DB_GTS_QID(x) (((x) >> S_DB_GTS_QID) & M_DB_GTS_QID)
2763 #define A_SGE_DBG_QUEUE_STAT1_CTRL 0x1260
2764 #define A_SGE_DBG_QUEUE_STAT0 0x1264
2765 #define A_SGE_DBG_QUEUE_STAT1 0x1268
2766 #define A_SGE_DBG_BAR2_PKT_CNT 0x126c
2767 #define A_SGE_DBG_DB_PKT_CNT 0x1270
2768 #define A_SGE_DBG_GTS_PKT_CNT 0x1274
2769 #define A_SGE_DEBUG_DATA_HIGH_INDEX_0 0x1280
2772 #define M_CIM_WM 0x3U
2773 #define V_CIM_WM(x) ((x) << S_CIM_WM)
2774 #define G_CIM_WM(x) (((x) >> S_CIM_WM) & M_CIM_WM)
2776 #define S_DEBUG_UP_SOP_CNT 20
2777 #define M_DEBUG_UP_SOP_CNT 0xfU
2778 #define V_DEBUG_UP_SOP_CNT(x) ((x) << S_DEBUG_UP_SOP_CNT)
2779 #define G_DEBUG_UP_SOP_CNT(x) (((x) >> S_DEBUG_UP_SOP_CNT) & M_DEBUG_UP_SOP_CNT)
2781 #define S_DEBUG_UP_EOP_CNT 16
2782 #define M_DEBUG_UP_EOP_CNT 0xfU
2783 #define V_DEBUG_UP_EOP_CNT(x) ((x) << S_DEBUG_UP_EOP_CNT)
2784 #define G_DEBUG_UP_EOP_CNT(x) (((x) >> S_DEBUG_UP_EOP_CNT) & M_DEBUG_UP_EOP_CNT)
2786 #define S_DEBUG_CIM_SOP1_CNT 12
2787 #define M_DEBUG_CIM_SOP1_CNT 0xfU
2788 #define V_DEBUG_CIM_SOP1_CNT(x) ((x) << S_DEBUG_CIM_SOP1_CNT)
2789 #define G_DEBUG_CIM_SOP1_CNT(x) (((x) >> S_DEBUG_CIM_SOP1_CNT) & M_DEBUG_CIM_SOP1_CNT)
2791 #define S_DEBUG_CIM_EOP1_CNT 8
2792 #define M_DEBUG_CIM_EOP1_CNT 0xfU
2793 #define V_DEBUG_CIM_EOP1_CNT(x) ((x) << S_DEBUG_CIM_EOP1_CNT)
2794 #define G_DEBUG_CIM_EOP1_CNT(x) (((x) >> S_DEBUG_CIM_EOP1_CNT) & M_DEBUG_CIM_EOP1_CNT)
2796 #define S_DEBUG_CIM_SOP0_CNT 4
2797 #define M_DEBUG_CIM_SOP0_CNT 0xfU
2798 #define V_DEBUG_CIM_SOP0_CNT(x) ((x) << S_DEBUG_CIM_SOP0_CNT)
2799 #define G_DEBUG_CIM_SOP0_CNT(x) (((x) >> S_DEBUG_CIM_SOP0_CNT) & M_DEBUG_CIM_SOP0_CNT)
2801 #define S_DEBUG_CIM_EOP0_CNT 0
2802 #define M_DEBUG_CIM_EOP0_CNT 0xfU
2803 #define V_DEBUG_CIM_EOP0_CNT(x) ((x) << S_DEBUG_CIM_EOP0_CNT)
2804 #define G_DEBUG_CIM_EOP0_CNT(x) (((x) >> S_DEBUG_CIM_EOP0_CNT) & M_DEBUG_CIM_EOP0_CNT)
2806 #define S_DEBUG_BAR2_SOP_CNT 28
2807 #define M_DEBUG_BAR2_SOP_CNT 0xfU
2808 #define V_DEBUG_BAR2_SOP_CNT(x) ((x) << S_DEBUG_BAR2_SOP_CNT)
2809 #define G_DEBUG_BAR2_SOP_CNT(x) (((x) >> S_DEBUG_BAR2_SOP_CNT) & M_DEBUG_BAR2_SOP_CNT)
2811 #define S_DEBUG_BAR2_EOP_CNT 24
2812 #define M_DEBUG_BAR2_EOP_CNT 0xfU
2813 #define V_DEBUG_BAR2_EOP_CNT(x) ((x) << S_DEBUG_BAR2_EOP_CNT)
2814 #define G_DEBUG_BAR2_EOP_CNT(x) (((x) >> S_DEBUG_BAR2_EOP_CNT) & M_DEBUG_BAR2_EOP_CNT)
2816 #define A_SGE_DEBUG_DATA_HIGH_INDEX_1 0x1284
2818 #define S_DEBUG_T_RX_SOP1_CNT 28
2819 #define M_DEBUG_T_RX_SOP1_CNT 0xfU
2820 #define V_DEBUG_T_RX_SOP1_CNT(x) ((x) << S_DEBUG_T_RX_SOP1_CNT)
2821 #define G_DEBUG_T_RX_SOP1_CNT(x) (((x) >> S_DEBUG_T_RX_SOP1_CNT) & M_DEBUG_T_RX_SOP1_CNT)
2823 #define S_DEBUG_T_RX_EOP1_CNT 24
2824 #define M_DEBUG_T_RX_EOP1_CNT 0xfU
2825 #define V_DEBUG_T_RX_EOP1_CNT(x) ((x) << S_DEBUG_T_RX_EOP1_CNT)
2826 #define G_DEBUG_T_RX_EOP1_CNT(x) (((x) >> S_DEBUG_T_RX_EOP1_CNT) & M_DEBUG_T_RX_EOP1_CNT)
2828 #define S_DEBUG_T_RX_SOP0_CNT 20
2829 #define M_DEBUG_T_RX_SOP0_CNT 0xfU
2830 #define V_DEBUG_T_RX_SOP0_CNT(x) ((x) << S_DEBUG_T_RX_SOP0_CNT)
2831 #define G_DEBUG_T_RX_SOP0_CNT(x) (((x) >> S_DEBUG_T_RX_SOP0_CNT) & M_DEBUG_T_RX_SOP0_CNT)
2833 #define S_DEBUG_T_RX_EOP0_CNT 16
2834 #define M_DEBUG_T_RX_EOP0_CNT 0xfU
2835 #define V_DEBUG_T_RX_EOP0_CNT(x) ((x) << S_DEBUG_T_RX_EOP0_CNT)
2836 #define G_DEBUG_T_RX_EOP0_CNT(x) (((x) >> S_DEBUG_T_RX_EOP0_CNT) & M_DEBUG_T_RX_EOP0_CNT)
2838 #define S_DEBUG_U_RX_SOP1_CNT 12
2839 #define M_DEBUG_U_RX_SOP1_CNT 0xfU
2840 #define V_DEBUG_U_RX_SOP1_CNT(x) ((x) << S_DEBUG_U_RX_SOP1_CNT)
2841 #define G_DEBUG_U_RX_SOP1_CNT(x) (((x) >> S_DEBUG_U_RX_SOP1_CNT) & M_DEBUG_U_RX_SOP1_CNT)
2843 #define S_DEBUG_U_RX_EOP1_CNT 8
2844 #define M_DEBUG_U_RX_EOP1_CNT 0xfU
2845 #define V_DEBUG_U_RX_EOP1_CNT(x) ((x) << S_DEBUG_U_RX_EOP1_CNT)
2846 #define G_DEBUG_U_RX_EOP1_CNT(x) (((x) >> S_DEBUG_U_RX_EOP1_CNT) & M_DEBUG_U_RX_EOP1_CNT)
2848 #define S_DEBUG_U_RX_SOP0_CNT 4
2849 #define M_DEBUG_U_RX_SOP0_CNT 0xfU
2850 #define V_DEBUG_U_RX_SOP0_CNT(x) ((x) << S_DEBUG_U_RX_SOP0_CNT)
2851 #define G_DEBUG_U_RX_SOP0_CNT(x) (((x) >> S_DEBUG_U_RX_SOP0_CNT) & M_DEBUG_U_RX_SOP0_CNT)
2853 #define S_DEBUG_U_RX_EOP0_CNT 0
2854 #define M_DEBUG_U_RX_EOP0_CNT 0xfU
2855 #define V_DEBUG_U_RX_EOP0_CNT(x) ((x) << S_DEBUG_U_RX_EOP0_CNT)
2856 #define G_DEBUG_U_RX_EOP0_CNT(x) (((x) >> S_DEBUG_U_RX_EOP0_CNT) & M_DEBUG_U_RX_EOP0_CNT)
2858 #define A_SGE_DEBUG_DATA_HIGH_INDEX_2 0x1288
2860 #define S_DEBUG_UD_RX_SOP3_CNT 28
2861 #define M_DEBUG_UD_RX_SOP3_CNT 0xfU
2862 #define V_DEBUG_UD_RX_SOP3_CNT(x) ((x) << S_DEBUG_UD_RX_SOP3_CNT)
2863 #define G_DEBUG_UD_RX_SOP3_CNT(x) (((x) >> S_DEBUG_UD_RX_SOP3_CNT) & M_DEBUG_UD_RX_SOP3_CNT)
2865 #define S_DEBUG_UD_RX_EOP3_CNT 24
2866 #define M_DEBUG_UD_RX_EOP3_CNT 0xfU
2867 #define V_DEBUG_UD_RX_EOP3_CNT(x) ((x) << S_DEBUG_UD_RX_EOP3_CNT)
2868 #define G_DEBUG_UD_RX_EOP3_CNT(x) (((x) >> S_DEBUG_UD_RX_EOP3_CNT) & M_DEBUG_UD_RX_EOP3_CNT)
2870 #define S_DEBUG_UD_RX_SOP2_CNT 20
2871 #define M_DEBUG_UD_RX_SOP2_CNT 0xfU
2872 #define V_DEBUG_UD_RX_SOP2_CNT(x) ((x) << S_DEBUG_UD_RX_SOP2_CNT)
2873 #define G_DEBUG_UD_RX_SOP2_CNT(x) (((x) >> S_DEBUG_UD_RX_SOP2_CNT) & M_DEBUG_UD_RX_SOP2_CNT)
2875 #define S_DEBUG_UD_RX_EOP2_CNT 16
2876 #define M_DEBUG_UD_RX_EOP2_CNT 0xfU
2877 #define V_DEBUG_UD_RX_EOP2_CNT(x) ((x) << S_DEBUG_UD_RX_EOP2_CNT)
2878 #define G_DEBUG_UD_RX_EOP2_CNT(x) (((x) >> S_DEBUG_UD_RX_EOP2_CNT) & M_DEBUG_UD_RX_EOP2_CNT)
2880 #define S_DEBUG_UD_RX_SOP1_CNT 12
2881 #define M_DEBUG_UD_RX_SOP1_CNT 0xfU
2882 #define V_DEBUG_UD_RX_SOP1_CNT(x) ((x) << S_DEBUG_UD_RX_SOP1_CNT)
2883 #define G_DEBUG_UD_RX_SOP1_CNT(x) (((x) >> S_DEBUG_UD_RX_SOP1_CNT) & M_DEBUG_UD_RX_SOP1_CNT)
2885 #define S_DEBUG_UD_RX_EOP1_CNT 8
2886 #define M_DEBUG_UD_RX_EOP1_CNT 0xfU
2887 #define V_DEBUG_UD_RX_EOP1_CNT(x) ((x) << S_DEBUG_UD_RX_EOP1_CNT)
2888 #define G_DEBUG_UD_RX_EOP1_CNT(x) (((x) >> S_DEBUG_UD_RX_EOP1_CNT) & M_DEBUG_UD_RX_EOP1_CNT)
2890 #define S_DEBUG_UD_RX_SOP0_CNT 4
2891 #define M_DEBUG_UD_RX_SOP0_CNT 0xfU
2892 #define V_DEBUG_UD_RX_SOP0_CNT(x) ((x) << S_DEBUG_UD_RX_SOP0_CNT)
2893 #define G_DEBUG_UD_RX_SOP0_CNT(x) (((x) >> S_DEBUG_UD_RX_SOP0_CNT) & M_DEBUG_UD_RX_SOP0_CNT)
2895 #define S_DEBUG_UD_RX_EOP0_CNT 0
2896 #define M_DEBUG_UD_RX_EOP0_CNT 0xfU
2897 #define V_DEBUG_UD_RX_EOP0_CNT(x) ((x) << S_DEBUG_UD_RX_EOP0_CNT)
2898 #define G_DEBUG_UD_RX_EOP0_CNT(x) (((x) >> S_DEBUG_UD_RX_EOP0_CNT) & M_DEBUG_UD_RX_EOP0_CNT)
2900 #define S_DBG_TBUF_USED1 9
2901 #define M_DBG_TBUF_USED1 0x1ffU
2902 #define V_DBG_TBUF_USED1(x) ((x) << S_DBG_TBUF_USED1)
2903 #define G_DBG_TBUF_USED1(x) (((x) >> S_DBG_TBUF_USED1) & M_DBG_TBUF_USED1)
2905 #define S_DBG_TBUF_USED0 0
2906 #define M_DBG_TBUF_USED0 0x1ffU
2907 #define V_DBG_TBUF_USED0(x) ((x) << S_DBG_TBUF_USED0)
2908 #define G_DBG_TBUF_USED0(x) (((x) >> S_DBG_TBUF_USED0) & M_DBG_TBUF_USED0)
2910 #define A_SGE_DEBUG_DATA_HIGH_INDEX_3 0x128c
2912 #define S_DEBUG_U_TX_SOP3_CNT 28
2913 #define M_DEBUG_U_TX_SOP3_CNT 0xfU
2914 #define V_DEBUG_U_TX_SOP3_CNT(x) ((x) << S_DEBUG_U_TX_SOP3_CNT)
2915 #define G_DEBUG_U_TX_SOP3_CNT(x) (((x) >> S_DEBUG_U_TX_SOP3_CNT) & M_DEBUG_U_TX_SOP3_CNT)
2917 #define S_DEBUG_U_TX_EOP3_CNT 24
2918 #define M_DEBUG_U_TX_EOP3_CNT 0xfU
2919 #define V_DEBUG_U_TX_EOP3_CNT(x) ((x) << S_DEBUG_U_TX_EOP3_CNT)
2920 #define G_DEBUG_U_TX_EOP3_CNT(x) (((x) >> S_DEBUG_U_TX_EOP3_CNT) & M_DEBUG_U_TX_EOP3_CNT)
2922 #define S_DEBUG_U_TX_SOP2_CNT 20
2923 #define M_DEBUG_U_TX_SOP2_CNT 0xfU
2924 #define V_DEBUG_U_TX_SOP2_CNT(x) ((x) << S_DEBUG_U_TX_SOP2_CNT)
2925 #define G_DEBUG_U_TX_SOP2_CNT(x) (((x) >> S_DEBUG_U_TX_SOP2_CNT) & M_DEBUG_U_TX_SOP2_CNT)
2927 #define S_DEBUG_U_TX_EOP2_CNT 16
2928 #define M_DEBUG_U_TX_EOP2_CNT 0xfU
2929 #define V_DEBUG_U_TX_EOP2_CNT(x) ((x) << S_DEBUG_U_TX_EOP2_CNT)
2930 #define G_DEBUG_U_TX_EOP2_CNT(x) (((x) >> S_DEBUG_U_TX_EOP2_CNT) & M_DEBUG_U_TX_EOP2_CNT)
2932 #define S_DEBUG_U_TX_SOP1_CNT 12
2933 #define M_DEBUG_U_TX_SOP1_CNT 0xfU
2934 #define V_DEBUG_U_TX_SOP1_CNT(x) ((x) << S_DEBUG_U_TX_SOP1_CNT)
2935 #define G_DEBUG_U_TX_SOP1_CNT(x) (((x) >> S_DEBUG_U_TX_SOP1_CNT) & M_DEBUG_U_TX_SOP1_CNT)
2937 #define S_DEBUG_U_TX_EOP1_CNT 8
2938 #define M_DEBUG_U_TX_EOP1_CNT 0xfU
2939 #define V_DEBUG_U_TX_EOP1_CNT(x) ((x) << S_DEBUG_U_TX_EOP1_CNT)
2940 #define G_DEBUG_U_TX_EOP1_CNT(x) (((x) >> S_DEBUG_U_TX_EOP1_CNT) & M_DEBUG_U_TX_EOP1_CNT)
2942 #define S_DEBUG_U_TX_SOP0_CNT 4
2943 #define M_DEBUG_U_TX_SOP0_CNT 0xfU
2944 #define V_DEBUG_U_TX_SOP0_CNT(x) ((x) << S_DEBUG_U_TX_SOP0_CNT)
2945 #define G_DEBUG_U_TX_SOP0_CNT(x) (((x) >> S_DEBUG_U_TX_SOP0_CNT) & M_DEBUG_U_TX_SOP0_CNT)
2947 #define S_DEBUG_U_TX_EOP0_CNT 0
2948 #define M_DEBUG_U_TX_EOP0_CNT 0xfU
2949 #define V_DEBUG_U_TX_EOP0_CNT(x) ((x) << S_DEBUG_U_TX_EOP0_CNT)
2950 #define G_DEBUG_U_TX_EOP0_CNT(x) (((x) >> S_DEBUG_U_TX_EOP0_CNT) & M_DEBUG_U_TX_EOP0_CNT)
2952 #define A_SGE_DEBUG1_DBP_THREAD 0x128c
2954 #define S_WR_DEQ_CNT 12
2955 #define M_WR_DEQ_CNT 0xfU
2956 #define V_WR_DEQ_CNT(x) ((x) << S_WR_DEQ_CNT)
2957 #define G_WR_DEQ_CNT(x) (((x) >> S_WR_DEQ_CNT) & M_WR_DEQ_CNT)
2959 #define S_WR_ENQ_CNT 8
2960 #define M_WR_ENQ_CNT 0xfU
2961 #define V_WR_ENQ_CNT(x) ((x) << S_WR_ENQ_CNT)
2962 #define G_WR_ENQ_CNT(x) (((x) >> S_WR_ENQ_CNT) & M_WR_ENQ_CNT)
2964 #define S_FL_DEQ_CNT 4
2965 #define M_FL_DEQ_CNT 0xfU
2966 #define V_FL_DEQ_CNT(x) ((x) << S_FL_DEQ_CNT)
2967 #define G_FL_DEQ_CNT(x) (((x) >> S_FL_DEQ_CNT) & M_FL_DEQ_CNT)
2969 #define S_FL_ENQ_CNT 0
2970 #define M_FL_ENQ_CNT 0xfU
2971 #define V_FL_ENQ_CNT(x) ((x) << S_FL_ENQ_CNT)
2972 #define G_FL_ENQ_CNT(x) (((x) >> S_FL_ENQ_CNT) & M_FL_ENQ_CNT)
2974 #define A_SGE_DEBUG_DATA_HIGH_INDEX_4 0x1290
2976 #define S_DEBUG_PC_RSP_SOP1_CNT 28
2977 #define M_DEBUG_PC_RSP_SOP1_CNT 0xfU
2978 #define V_DEBUG_PC_RSP_SOP1_CNT(x) ((x) << S_DEBUG_PC_RSP_SOP1_CNT)
2979 #define G_DEBUG_PC_RSP_SOP1_CNT(x) (((x) >> S_DEBUG_PC_RSP_SOP1_CNT) & M_DEBUG_PC_RSP_SOP1_CNT)
2981 #define S_DEBUG_PC_RSP_EOP1_CNT 24
2982 #define M_DEBUG_PC_RSP_EOP1_CNT 0xfU
2983 #define V_DEBUG_PC_RSP_EOP1_CNT(x) ((x) << S_DEBUG_PC_RSP_EOP1_CNT)
2984 #define G_DEBUG_PC_RSP_EOP1_CNT(x) (((x) >> S_DEBUG_PC_RSP_EOP1_CNT) & M_DEBUG_PC_RSP_EOP1_CNT)
2986 #define S_DEBUG_PC_RSP_SOP0_CNT 20
2987 #define M_DEBUG_PC_RSP_SOP0_CNT 0xfU
2988 #define V_DEBUG_PC_RSP_SOP0_CNT(x) ((x) << S_DEBUG_PC_RSP_SOP0_CNT)
2989 #define G_DEBUG_PC_RSP_SOP0_CNT(x) (((x) >> S_DEBUG_PC_RSP_SOP0_CNT) & M_DEBUG_PC_RSP_SOP0_CNT)
2991 #define S_DEBUG_PC_RSP_EOP0_CNT 16
2992 #define M_DEBUG_PC_RSP_EOP0_CNT 0xfU
2993 #define V_DEBUG_PC_RSP_EOP0_CNT(x) ((x) << S_DEBUG_PC_RSP_EOP0_CNT)
2994 #define G_DEBUG_PC_RSP_EOP0_CNT(x) (((x) >> S_DEBUG_PC_RSP_EOP0_CNT) & M_DEBUG_PC_RSP_EOP0_CNT)
2996 #define S_DEBUG_PC_REQ_SOP1_CNT 12
2997 #define M_DEBUG_PC_REQ_SOP1_CNT 0xfU
2998 #define V_DEBUG_PC_REQ_SOP1_CNT(x) ((x) << S_DEBUG_PC_REQ_SOP1_CNT)
2999 #define G_DEBUG_PC_REQ_SOP1_CNT(x) (((x) >> S_DEBUG_PC_REQ_SOP1_CNT) & M_DEBUG_PC_REQ_SOP1_CNT)
3001 #define S_DEBUG_PC_REQ_EOP1_CNT 8
3002 #define M_DEBUG_PC_REQ_EOP1_CNT 0xfU
3003 #define V_DEBUG_PC_REQ_EOP1_CNT(x) ((x) << S_DEBUG_PC_REQ_EOP1_CNT)
3004 #define G_DEBUG_PC_REQ_EOP1_CNT(x) (((x) >> S_DEBUG_PC_REQ_EOP1_CNT) & M_DEBUG_PC_REQ_EOP1_CNT)
3006 #define S_DEBUG_PC_REQ_SOP0_CNT 4
3007 #define M_DEBUG_PC_REQ_SOP0_CNT 0xfU
3008 #define V_DEBUG_PC_REQ_SOP0_CNT(x) ((x) << S_DEBUG_PC_REQ_SOP0_CNT)
3009 #define G_DEBUG_PC_REQ_SOP0_CNT(x) (((x) >> S_DEBUG_PC_REQ_SOP0_CNT) & M_DEBUG_PC_REQ_SOP0_CNT)
3011 #define S_DEBUG_PC_REQ_EOP0_CNT 0
3012 #define M_DEBUG_PC_REQ_EOP0_CNT 0xfU
3013 #define V_DEBUG_PC_REQ_EOP0_CNT(x) ((x) << S_DEBUG_PC_REQ_EOP0_CNT)
3014 #define G_DEBUG_PC_REQ_EOP0_CNT(x) (((x) >> S_DEBUG_PC_REQ_EOP0_CNT) & M_DEBUG_PC_REQ_EOP0_CNT)
3016 #define A_SGE_DEBUG_DATA_HIGH_INDEX_5 0x1294
3018 #define S_DEBUG_PD_RDREQ_SOP3_CNT 28
3019 #define M_DEBUG_PD_RDREQ_SOP3_CNT 0xfU
3020 #define V_DEBUG_PD_RDREQ_SOP3_CNT(x) ((x) << S_DEBUG_PD_RDREQ_SOP3_CNT)
3021 #define G_DEBUG_PD_RDREQ_SOP3_CNT(x) (((x) >> S_DEBUG_PD_RDREQ_SOP3_CNT) & M_DEBUG_PD_RDREQ_SOP3_CNT)
3023 #define S_DEBUG_PD_RDREQ_EOP3_CNT 24
3024 #define M_DEBUG_PD_RDREQ_EOP3_CNT 0xfU
3025 #define V_DEBUG_PD_RDREQ_EOP3_CNT(x) ((x) << S_DEBUG_PD_RDREQ_EOP3_CNT)
3026 #define G_DEBUG_PD_RDREQ_EOP3_CNT(x) (((x) >> S_DEBUG_PD_RDREQ_EOP3_CNT) & M_DEBUG_PD_RDREQ_EOP3_CNT)
3028 #define S_DEBUG_PD_RDREQ_SOP2_CNT 20
3029 #define M_DEBUG_PD_RDREQ_SOP2_CNT 0xfU
3030 #define V_DEBUG_PD_RDREQ_SOP2_CNT(x) ((x) << S_DEBUG_PD_RDREQ_SOP2_CNT)
3031 #define G_DEBUG_PD_RDREQ_SOP2_CNT(x) (((x) >> S_DEBUG_PD_RDREQ_SOP2_CNT) & M_DEBUG_PD_RDREQ_SOP2_CNT)
3033 #define S_DEBUG_PD_RDREQ_EOP2_CNT 16
3034 #define M_DEBUG_PD_RDREQ_EOP2_CNT 0xfU
3035 #define V_DEBUG_PD_RDREQ_EOP2_CNT(x) ((x) << S_DEBUG_PD_RDREQ_EOP2_CNT)
3036 #define G_DEBUG_PD_RDREQ_EOP2_CNT(x) (((x) >> S_DEBUG_PD_RDREQ_EOP2_CNT) & M_DEBUG_PD_RDREQ_EOP2_CNT)
3038 #define S_DEBUG_PD_RDREQ_SOP1_CNT 12
3039 #define M_DEBUG_PD_RDREQ_SOP1_CNT 0xfU
3040 #define V_DEBUG_PD_RDREQ_SOP1_CNT(x) ((x) << S_DEBUG_PD_RDREQ_SOP1_CNT)
3041 #define G_DEBUG_PD_RDREQ_SOP1_CNT(x) (((x) >> S_DEBUG_PD_RDREQ_SOP1_CNT) & M_DEBUG_PD_RDREQ_SOP1_CNT)
3043 #define S_DEBUG_PD_RDREQ_EOP1_CNT 8
3044 #define M_DEBUG_PD_RDREQ_EOP1_CNT 0xfU
3045 #define V_DEBUG_PD_RDREQ_EOP1_CNT(x) ((x) << S_DEBUG_PD_RDREQ_EOP1_CNT)
3046 #define G_DEBUG_PD_RDREQ_EOP1_CNT(x) (((x) >> S_DEBUG_PD_RDREQ_EOP1_CNT) & M_DEBUG_PD_RDREQ_EOP1_CNT)
3048 #define S_DEBUG_PD_RDREQ_SOP0_CNT 4
3049 #define M_DEBUG_PD_RDREQ_SOP0_CNT 0xfU
3050 #define V_DEBUG_PD_RDREQ_SOP0_CNT(x) ((x) << S_DEBUG_PD_RDREQ_SOP0_CNT)
3051 #define G_DEBUG_PD_RDREQ_SOP0_CNT(x) (((x) >> S_DEBUG_PD_RDREQ_SOP0_CNT) & M_DEBUG_PD_RDREQ_SOP0_CNT)
3053 #define S_DEBUG_PD_RDREQ_EOP0_CNT 0
3054 #define M_DEBUG_PD_RDREQ_EOP0_CNT 0xfU
3055 #define V_DEBUG_PD_RDREQ_EOP0_CNT(x) ((x) << S_DEBUG_PD_RDREQ_EOP0_CNT)
3056 #define G_DEBUG_PD_RDREQ_EOP0_CNT(x) (((x) >> S_DEBUG_PD_RDREQ_EOP0_CNT) & M_DEBUG_PD_RDREQ_EOP0_CNT)
3058 #define A_SGE_DEBUG_DATA_HIGH_INDEX_6 0x1298
3060 #define S_DEBUG_PD_RDRSP_SOP3_CNT 28
3061 #define M_DEBUG_PD_RDRSP_SOP3_CNT 0xfU
3062 #define V_DEBUG_PD_RDRSP_SOP3_CNT(x) ((x) << S_DEBUG_PD_RDRSP_SOP3_CNT)
3063 #define G_DEBUG_PD_RDRSP_SOP3_CNT(x) (((x) >> S_DEBUG_PD_RDRSP_SOP3_CNT) & M_DEBUG_PD_RDRSP_SOP3_CNT)
3065 #define S_DEBUG_PD_RDRSP_EOP3_CNT 24
3066 #define M_DEBUG_PD_RDRSP_EOP3_CNT 0xfU
3067 #define V_DEBUG_PD_RDRSP_EOP3_CNT(x) ((x) << S_DEBUG_PD_RDRSP_EOP3_CNT)
3068 #define G_DEBUG_PD_RDRSP_EOP3_CNT(x) (((x) >> S_DEBUG_PD_RDRSP_EOP3_CNT) & M_DEBUG_PD_RDRSP_EOP3_CNT)
3070 #define S_DEBUG_PD_RDRSP_SOP2_CNT 20
3071 #define M_DEBUG_PD_RDRSP_SOP2_CNT 0xfU
3072 #define V_DEBUG_PD_RDRSP_SOP2_CNT(x) ((x) << S_DEBUG_PD_RDRSP_SOP2_CNT)
3073 #define G_DEBUG_PD_RDRSP_SOP2_CNT(x) (((x) >> S_DEBUG_PD_RDRSP_SOP2_CNT) & M_DEBUG_PD_RDRSP_SOP2_CNT)
3075 #define S_DEBUG_PD_RDRSP_EOP2_CNT 16
3076 #define M_DEBUG_PD_RDRSP_EOP2_CNT 0xfU
3077 #define V_DEBUG_PD_RDRSP_EOP2_CNT(x) ((x) << S_DEBUG_PD_RDRSP_EOP2_CNT)
3078 #define G_DEBUG_PD_RDRSP_EOP2_CNT(x) (((x) >> S_DEBUG_PD_RDRSP_EOP2_CNT) & M_DEBUG_PD_RDRSP_EOP2_CNT)
3080 #define S_DEBUG_PD_RDRSP_SOP1_CNT 12
3081 #define M_DEBUG_PD_RDRSP_SOP1_CNT 0xfU
3082 #define V_DEBUG_PD_RDRSP_SOP1_CNT(x) ((x) << S_DEBUG_PD_RDRSP_SOP1_CNT)
3083 #define G_DEBUG_PD_RDRSP_SOP1_CNT(x) (((x) >> S_DEBUG_PD_RDRSP_SOP1_CNT) & M_DEBUG_PD_RDRSP_SOP1_CNT)
3085 #define S_DEBUG_PD_RDRSP_EOP1_CNT 8
3086 #define M_DEBUG_PD_RDRSP_EOP1_CNT 0xfU
3087 #define V_DEBUG_PD_RDRSP_EOP1_CNT(x) ((x) << S_DEBUG_PD_RDRSP_EOP1_CNT)
3088 #define G_DEBUG_PD_RDRSP_EOP1_CNT(x) (((x) >> S_DEBUG_PD_RDRSP_EOP1_CNT) & M_DEBUG_PD_RDRSP_EOP1_CNT)
3090 #define S_DEBUG_PD_RDRSP_SOP0_CNT 4
3091 #define M_DEBUG_PD_RDRSP_SOP0_CNT 0xfU
3092 #define V_DEBUG_PD_RDRSP_SOP0_CNT(x) ((x) << S_DEBUG_PD_RDRSP_SOP0_CNT)
3093 #define G_DEBUG_PD_RDRSP_SOP0_CNT(x) (((x) >> S_DEBUG_PD_RDRSP_SOP0_CNT) & M_DEBUG_PD_RDRSP_SOP0_CNT)
3095 #define S_DEBUG_PD_RDRSP_EOP0_CNT 0
3096 #define M_DEBUG_PD_RDRSP_EOP0_CNT 0xfU
3097 #define V_DEBUG_PD_RDRSP_EOP0_CNT(x) ((x) << S_DEBUG_PD_RDRSP_EOP0_CNT)
3098 #define G_DEBUG_PD_RDRSP_EOP0_CNT(x) (((x) >> S_DEBUG_PD_RDRSP_EOP0_CNT) & M_DEBUG_PD_RDRSP_EOP0_CNT)
3100 #define A_SGE_DEBUG_DATA_HIGH_INDEX_7 0x129c
3102 #define S_DEBUG_PD_WRREQ_SOP3_CNT 28
3103 #define M_DEBUG_PD_WRREQ_SOP3_CNT 0xfU
3104 #define V_DEBUG_PD_WRREQ_SOP3_CNT(x) ((x) << S_DEBUG_PD_WRREQ_SOP3_CNT)
3105 #define G_DEBUG_PD_WRREQ_SOP3_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_SOP3_CNT) & M_DEBUG_PD_WRREQ_SOP3_CNT)
3107 #define S_DEBUG_PD_WRREQ_EOP3_CNT 24
3108 #define M_DEBUG_PD_WRREQ_EOP3_CNT 0xfU
3109 #define V_DEBUG_PD_WRREQ_EOP3_CNT(x) ((x) << S_DEBUG_PD_WRREQ_EOP3_CNT)
3110 #define G_DEBUG_PD_WRREQ_EOP3_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_EOP3_CNT) & M_DEBUG_PD_WRREQ_EOP3_CNT)
3112 #define S_DEBUG_PD_WRREQ_SOP2_CNT 20
3113 #define M_DEBUG_PD_WRREQ_SOP2_CNT 0xfU
3114 #define V_DEBUG_PD_WRREQ_SOP2_CNT(x) ((x) << S_DEBUG_PD_WRREQ_SOP2_CNT)
3115 #define G_DEBUG_PD_WRREQ_SOP2_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_SOP2_CNT) & M_DEBUG_PD_WRREQ_SOP2_CNT)
3117 #define S_DEBUG_PD_WRREQ_EOP2_CNT 16
3118 #define M_DEBUG_PD_WRREQ_EOP2_CNT 0xfU
3119 #define V_DEBUG_PD_WRREQ_EOP2_CNT(x) ((x) << S_DEBUG_PD_WRREQ_EOP2_CNT)
3120 #define G_DEBUG_PD_WRREQ_EOP2_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_EOP2_CNT) & M_DEBUG_PD_WRREQ_EOP2_CNT)
3122 #define S_DEBUG_PD_WRREQ_SOP1_CNT 12
3123 #define M_DEBUG_PD_WRREQ_SOP1_CNT 0xfU
3124 #define V_DEBUG_PD_WRREQ_SOP1_CNT(x) ((x) << S_DEBUG_PD_WRREQ_SOP1_CNT)
3125 #define G_DEBUG_PD_WRREQ_SOP1_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_SOP1_CNT) & M_DEBUG_PD_WRREQ_SOP1_CNT)
3127 #define S_DEBUG_PD_WRREQ_EOP1_CNT 8
3128 #define M_DEBUG_PD_WRREQ_EOP1_CNT 0xfU
3129 #define V_DEBUG_PD_WRREQ_EOP1_CNT(x) ((x) << S_DEBUG_PD_WRREQ_EOP1_CNT)
3130 #define G_DEBUG_PD_WRREQ_EOP1_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_EOP1_CNT) & M_DEBUG_PD_WRREQ_EOP1_CNT)
3132 #define S_DEBUG_PD_WRREQ_SOP0_CNT 4
3133 #define M_DEBUG_PD_WRREQ_SOP0_CNT 0xfU
3134 #define V_DEBUG_PD_WRREQ_SOP0_CNT(x) ((x) << S_DEBUG_PD_WRREQ_SOP0_CNT)
3135 #define G_DEBUG_PD_WRREQ_SOP0_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_SOP0_CNT) & M_DEBUG_PD_WRREQ_SOP0_CNT)
3137 #define S_DEBUG_PD_WRREQ_EOP0_CNT 0
3138 #define M_DEBUG_PD_WRREQ_EOP0_CNT 0xfU
3139 #define V_DEBUG_PD_WRREQ_EOP0_CNT(x) ((x) << S_DEBUG_PD_WRREQ_EOP0_CNT)
3140 #define G_DEBUG_PD_WRREQ_EOP0_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_EOP0_CNT) & M_DEBUG_PD_WRREQ_EOP0_CNT)
3142 #define S_DEBUG_PC_RSP_SOP_CNT 28
3143 #define M_DEBUG_PC_RSP_SOP_CNT 0xfU
3144 #define V_DEBUG_PC_RSP_SOP_CNT(x) ((x) << S_DEBUG_PC_RSP_SOP_CNT)
3145 #define G_DEBUG_PC_RSP_SOP_CNT(x) (((x) >> S_DEBUG_PC_RSP_SOP_CNT) & M_DEBUG_PC_RSP_SOP_CNT)
3147 #define S_DEBUG_PC_RSP_EOP_CNT 24
3148 #define M_DEBUG_PC_RSP_EOP_CNT 0xfU
3149 #define V_DEBUG_PC_RSP_EOP_CNT(x) ((x) << S_DEBUG_PC_RSP_EOP_CNT)
3150 #define G_DEBUG_PC_RSP_EOP_CNT(x) (((x) >> S_DEBUG_PC_RSP_EOP_CNT) & M_DEBUG_PC_RSP_EOP_CNT)
3152 #define S_DEBUG_PC_REQ_SOP_CNT 20
3153 #define M_DEBUG_PC_REQ_SOP_CNT 0xfU
3154 #define V_DEBUG_PC_REQ_SOP_CNT(x) ((x) << S_DEBUG_PC_REQ_SOP_CNT)
3155 #define G_DEBUG_PC_REQ_SOP_CNT(x) (((x) >> S_DEBUG_PC_REQ_SOP_CNT) & M_DEBUG_PC_REQ_SOP_CNT)
3157 #define S_DEBUG_PC_REQ_EOP_CNT 16
3158 #define M_DEBUG_PC_REQ_EOP_CNT 0xfU
3159 #define V_DEBUG_PC_REQ_EOP_CNT(x) ((x) << S_DEBUG_PC_REQ_EOP_CNT)
3160 #define G_DEBUG_PC_REQ_EOP_CNT(x) (((x) >> S_DEBUG_PC_REQ_EOP_CNT) & M_DEBUG_PC_REQ_EOP_CNT)
3162 #define A_SGE_DEBUG_DATA_HIGH_INDEX_8 0x12a0
3164 #define S_GLOBALENABLE_OFF 29
3165 #define V_GLOBALENABLE_OFF(x) ((x) << S_GLOBALENABLE_OFF)
3166 #define F_GLOBALENABLE_OFF V_GLOBALENABLE_OFF(1U)
3168 #define S_DEBUG_CIM2SGE_RXAFULL_D 27
3169 #define M_DEBUG_CIM2SGE_RXAFULL_D 0x3U
3170 #define V_DEBUG_CIM2SGE_RXAFULL_D(x) ((x) << S_DEBUG_CIM2SGE_RXAFULL_D)
3171 #define G_DEBUG_CIM2SGE_RXAFULL_D(x) (((x) >> S_DEBUG_CIM2SGE_RXAFULL_D) & M_DEBUG_CIM2SGE_RXAFULL_D)
3173 #define S_DEBUG_CPLSW_CIM_TXAFULL_D 25
3174 #define M_DEBUG_CPLSW_CIM_TXAFULL_D 0x3U
3175 #define V_DEBUG_CPLSW_CIM_TXAFULL_D(x) ((x) << S_DEBUG_CPLSW_CIM_TXAFULL_D)
3176 #define G_DEBUG_CPLSW_CIM_TXAFULL_D(x) (((x) >> S_DEBUG_CPLSW_CIM_TXAFULL_D) & M_DEBUG_CPLSW_CIM_TXAFULL_D)
3178 #define S_DEBUG_UP_FULL 24
3179 #define V_DEBUG_UP_FULL(x) ((x) << S_DEBUG_UP_FULL)
3180 #define F_DEBUG_UP_FULL V_DEBUG_UP_FULL(1U)
3182 #define S_DEBUG_M_RD_REQ_OUTSTANDING_PC 23
3183 #define V_DEBUG_M_RD_REQ_OUTSTANDING_PC(x) ((x) << S_DEBUG_M_RD_REQ_OUTSTANDING_PC)
3184 #define F_DEBUG_M_RD_REQ_OUTSTANDING_PC V_DEBUG_M_RD_REQ_OUTSTANDING_PC(1U)
3186 #define S_DEBUG_M_RD_REQ_OUTSTANDING_VFIFO 22
3187 #define V_DEBUG_M_RD_REQ_OUTSTANDING_VFIFO(x) ((x) << S_DEBUG_M_RD_REQ_OUTSTANDING_VFIFO)
3188 #define F_DEBUG_M_RD_REQ_OUTSTANDING_VFIFO V_DEBUG_M_RD_REQ_OUTSTANDING_VFIFO(1U)
3190 #define S_DEBUG_M_RD_REQ_OUTSTANDING_IMSG 21
3191 #define V_DEBUG_M_RD_REQ_OUTSTANDING_IMSG(x) ((x) << S_DEBUG_M_RD_REQ_OUTSTANDING_IMSG)
3192 #define F_DEBUG_M_RD_REQ_OUTSTANDING_IMSG V_DEBUG_M_RD_REQ_OUTSTANDING_IMSG(1U)
3194 #define S_DEBUG_M_RD_REQ_OUTSTANDING_CMARB 20
3195 #define V_DEBUG_M_RD_REQ_OUTSTANDING_CMARB(x) ((x) << S_DEBUG_M_RD_REQ_OUTSTANDING_CMARB)
3196 #define F_DEBUG_M_RD_REQ_OUTSTANDING_CMARB V_DEBUG_M_RD_REQ_OUTSTANDING_CMARB(1U)
3198 #define S_DEBUG_M_RD_REQ_OUTSTANDING_FLM 19
3199 #define V_DEBUG_M_RD_REQ_OUTSTANDING_FLM(x) ((x) << S_DEBUG_M_RD_REQ_OUTSTANDING_FLM)
3200 #define F_DEBUG_M_RD_REQ_OUTSTANDING_FLM V_DEBUG_M_RD_REQ_OUTSTANDING_FLM(1U)
3202 #define S_DEBUG_M_REQVLD 18
3203 #define V_DEBUG_M_REQVLD(x) ((x) << S_DEBUG_M_REQVLD)
3204 #define F_DEBUG_M_REQVLD V_DEBUG_M_REQVLD(1U)
3206 #define S_DEBUG_M_REQRDY 17
3207 #define V_DEBUG_M_REQRDY(x) ((x) << S_DEBUG_M_REQRDY)
3208 #define F_DEBUG_M_REQRDY V_DEBUG_M_REQRDY(1U)
3210 #define S_DEBUG_M_RSPVLD 16
3211 #define V_DEBUG_M_RSPVLD(x) ((x) << S_DEBUG_M_RSPVLD)
3212 #define F_DEBUG_M_RSPVLD V_DEBUG_M_RSPVLD(1U)
3214 #define S_DEBUG_PD_WRREQ_INT3_CNT 12
3215 #define M_DEBUG_PD_WRREQ_INT3_CNT 0xfU
3216 #define V_DEBUG_PD_WRREQ_INT3_CNT(x) ((x) << S_DEBUG_PD_WRREQ_INT3_CNT)
3217 #define G_DEBUG_PD_WRREQ_INT3_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_INT3_CNT) & M_DEBUG_PD_WRREQ_INT3_CNT)
3219 #define S_DEBUG_PD_WRREQ_INT2_CNT 8
3220 #define M_DEBUG_PD_WRREQ_INT2_CNT 0xfU
3221 #define V_DEBUG_PD_WRREQ_INT2_CNT(x) ((x) << S_DEBUG_PD_WRREQ_INT2_CNT)
3222 #define G_DEBUG_PD_WRREQ_INT2_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_INT2_CNT) & M_DEBUG_PD_WRREQ_INT2_CNT)
3224 #define S_DEBUG_PD_WRREQ_INT1_CNT 4
3225 #define M_DEBUG_PD_WRREQ_INT1_CNT 0xfU
3226 #define V_DEBUG_PD_WRREQ_INT1_CNT(x) ((x) << S_DEBUG_PD_WRREQ_INT1_CNT)
3227 #define G_DEBUG_PD_WRREQ_INT1_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_INT1_CNT) & M_DEBUG_PD_WRREQ_INT1_CNT)
3229 #define S_DEBUG_PD_WRREQ_INT0_CNT 0
3230 #define M_DEBUG_PD_WRREQ_INT0_CNT 0xfU
3231 #define V_DEBUG_PD_WRREQ_INT0_CNT(x) ((x) << S_DEBUG_PD_WRREQ_INT0_CNT)
3232 #define G_DEBUG_PD_WRREQ_INT0_CNT(x) (((x) >> S_DEBUG_PD_WRREQ_INT0_CNT) & M_DEBUG_PD_WRREQ_INT0_CNT)
3234 #define S_DEBUG_PL_BAR2_REQVLD 31
3235 #define V_DEBUG_PL_BAR2_REQVLD(x) ((x) << S_DEBUG_PL_BAR2_REQVLD)
3236 #define F_DEBUG_PL_BAR2_REQVLD V_DEBUG_PL_BAR2_REQVLD(1U)
3238 #define S_DEBUG_PL_BAR2_REQFULL 30
3239 #define V_DEBUG_PL_BAR2_REQFULL(x) ((x) << S_DEBUG_PL_BAR2_REQFULL)
3240 #define F_DEBUG_PL_BAR2_REQFULL V_DEBUG_PL_BAR2_REQFULL(1U)
3242 #define A_SGE_DEBUG_DATA_HIGH_INDEX_9 0x12a4
3244 #define S_DEBUG_CPLSW_TP_RX_SOP1_CNT 28
3245 #define M_DEBUG_CPLSW_TP_RX_SOP1_CNT 0xfU
3246 #define V_DEBUG_CPLSW_TP_RX_SOP1_CNT(x) ((x) << S_DEBUG_CPLSW_TP_RX_SOP1_CNT)
3247 #define G_DEBUG_CPLSW_TP_RX_SOP1_CNT(x) (((x) >> S_DEBUG_CPLSW_TP_RX_SOP1_CNT) & M_DEBUG_CPLSW_TP_RX_SOP1_CNT)
3249 #define S_DEBUG_CPLSW_TP_RX_EOP1_CNT 24
3250 #define M_DEBUG_CPLSW_TP_RX_EOP1_CNT 0xfU
3251 #define V_DEBUG_CPLSW_TP_RX_EOP1_CNT(x) ((x) << S_DEBUG_CPLSW_TP_RX_EOP1_CNT)
3252 #define G_DEBUG_CPLSW_TP_RX_EOP1_CNT(x) (((x) >> S_DEBUG_CPLSW_TP_RX_EOP1_CNT) & M_DEBUG_CPLSW_TP_RX_EOP1_CNT)
3254 #define S_DEBUG_CPLSW_TP_RX_SOP0_CNT 20
3255 #define M_DEBUG_CPLSW_TP_RX_SOP0_CNT 0xfU
3256 #define V_DEBUG_CPLSW_TP_RX_SOP0_CNT(x) ((x) << S_DEBUG_CPLSW_TP_RX_SOP0_CNT)
3257 #define G_DEBUG_CPLSW_TP_RX_SOP0_CNT(x) (((x) >> S_DEBUG_CPLSW_TP_RX_SOP0_CNT) & M_DEBUG_CPLSW_TP_RX_SOP0_CNT)
3259 #define S_DEBUG_CPLSW_TP_RX_EOP0_CNT 16
3260 #define M_DEBUG_CPLSW_TP_RX_EOP0_CNT 0xfU
3261 #define V_DEBUG_CPLSW_TP_RX_EOP0_CNT(x) ((x) << S_DEBUG_CPLSW_TP_RX_EOP0_CNT)
3262 #define G_DEBUG_CPLSW_TP_RX_EOP0_CNT(x) (((x) >> S_DEBUG_CPLSW_TP_RX_EOP0_CNT) & M_DEBUG_CPLSW_TP_RX_EOP0_CNT)
3264 #define S_DEBUG_CPLSW_CIM_SOP1_CNT 12
3265 #define M_DEBUG_CPLSW_CIM_SOP1_CNT 0xfU
3266 #define V_DEBUG_CPLSW_CIM_SOP1_CNT(x) ((x) << S_DEBUG_CPLSW_CIM_SOP1_CNT)
3267 #define G_DEBUG_CPLSW_CIM_SOP1_CNT(x) (((x) >> S_DEBUG_CPLSW_CIM_SOP1_CNT) & M_DEBUG_CPLSW_CIM_SOP1_CNT)
3269 #define S_DEBUG_CPLSW_CIM_EOP1_CNT 8
3270 #define M_DEBUG_CPLSW_CIM_EOP1_CNT 0xfU
3271 #define V_DEBUG_CPLSW_CIM_EOP1_CNT(x) ((x) << S_DEBUG_CPLSW_CIM_EOP1_CNT)
3272 #define G_DEBUG_CPLSW_CIM_EOP1_CNT(x) (((x) >> S_DEBUG_CPLSW_CIM_EOP1_CNT) & M_DEBUG_CPLSW_CIM_EOP1_CNT)
3274 #define S_DEBUG_CPLSW_CIM_SOP0_CNT 4
3275 #define M_DEBUG_CPLSW_CIM_SOP0_CNT 0xfU
3276 #define V_DEBUG_CPLSW_CIM_SOP0_CNT(x) ((x) << S_DEBUG_CPLSW_CIM_SOP0_CNT)
3277 #define G_DEBUG_CPLSW_CIM_SOP0_CNT(x) (((x) >> S_DEBUG_CPLSW_CIM_SOP0_CNT) & M_DEBUG_CPLSW_CIM_SOP0_CNT)
3279 #define S_DEBUG_CPLSW_CIM_EOP0_CNT 0
3280 #define M_DEBUG_CPLSW_CIM_EOP0_CNT 0xfU
3281 #define V_DEBUG_CPLSW_CIM_EOP0_CNT(x) ((x) << S_DEBUG_CPLSW_CIM_EOP0_CNT)
3282 #define G_DEBUG_CPLSW_CIM_EOP0_CNT(x) (((x) >> S_DEBUG_CPLSW_CIM_EOP0_CNT) & M_DEBUG_CPLSW_CIM_EOP0_CNT)
3284 #define A_SGE_DEBUG_DATA_HIGH_INDEX_10 0x12a8
3286 #define S_DEBUG_T_RXAFULL_D 30
3287 #define M_DEBUG_T_RXAFULL_D 0x3U
3288 #define V_DEBUG_T_RXAFULL_D(x) ((x) << S_DEBUG_T_RXAFULL_D)
3289 #define G_DEBUG_T_RXAFULL_D(x) (((x) >> S_DEBUG_T_RXAFULL_D) & M_DEBUG_T_RXAFULL_D)
3291 #define S_DEBUG_PD_RDRSPAFULL_D 26
3292 #define M_DEBUG_PD_RDRSPAFULL_D 0xfU
3293 #define V_DEBUG_PD_RDRSPAFULL_D(x) ((x) << S_DEBUG_PD_RDRSPAFULL_D)
3294 #define G_DEBUG_PD_RDRSPAFULL_D(x) (((x) >> S_DEBUG_PD_RDRSPAFULL_D) & M_DEBUG_PD_RDRSPAFULL_D)
3296 #define S_DEBUG_PD_RDREQAFULL_D 22
3297 #define M_DEBUG_PD_RDREQAFULL_D 0xfU
3298 #define V_DEBUG_PD_RDREQAFULL_D(x) ((x) << S_DEBUG_PD_RDREQAFULL_D)
3299 #define G_DEBUG_PD_RDREQAFULL_D(x) (((x) >> S_DEBUG_PD_RDREQAFULL_D) & M_DEBUG_PD_RDREQAFULL_D)
3301 #define S_DEBUG_PD_WRREQAFULL_D 18
3302 #define M_DEBUG_PD_WRREQAFULL_D 0xfU
3303 #define V_DEBUG_PD_WRREQAFULL_D(x) ((x) << S_DEBUG_PD_WRREQAFULL_D)
3304 #define G_DEBUG_PD_WRREQAFULL_D(x) (((x) >> S_DEBUG_PD_WRREQAFULL_D) & M_DEBUG_PD_WRREQAFULL_D)
3306 #define S_DEBUG_PC_RSPAFULL_D 15
3307 #define M_DEBUG_PC_RSPAFULL_D 0x7U
3308 #define V_DEBUG_PC_RSPAFULL_D(x) ((x) << S_DEBUG_PC_RSPAFULL_D)
3309 #define G_DEBUG_PC_RSPAFULL_D(x) (((x) >> S_DEBUG_PC_RSPAFULL_D) & M_DEBUG_PC_RSPAFULL_D)
3311 #define S_DEBUG_PC_REQAFULL_D 12
3312 #define M_DEBUG_PC_REQAFULL_D 0x7U
3313 #define V_DEBUG_PC_REQAFULL_D(x) ((x) << S_DEBUG_PC_REQAFULL_D)
3314 #define G_DEBUG_PC_REQAFULL_D(x) (((x) >> S_DEBUG_PC_REQAFULL_D) & M_DEBUG_PC_REQAFULL_D)
3316 #define S_DEBUG_U_TXAFULL_D 8
3317 #define M_DEBUG_U_TXAFULL_D 0xfU
3318 #define V_DEBUG_U_TXAFULL_D(x) ((x) << S_DEBUG_U_TXAFULL_D)
3319 #define G_DEBUG_U_TXAFULL_D(x) (((x) >> S_DEBUG_U_TXAFULL_D) & M_DEBUG_U_TXAFULL_D)
3321 #define S_DEBUG_UD_RXAFULL_D 4
3322 #define M_DEBUG_UD_RXAFULL_D 0xfU
3323 #define V_DEBUG_UD_RXAFULL_D(x) ((x) << S_DEBUG_UD_RXAFULL_D)
3324 #define G_DEBUG_UD_RXAFULL_D(x) (((x) >> S_DEBUG_UD_RXAFULL_D) & M_DEBUG_UD_RXAFULL_D)
3326 #define S_DEBUG_U_RXAFULL_D 2
3327 #define M_DEBUG_U_RXAFULL_D 0x3U
3328 #define V_DEBUG_U_RXAFULL_D(x) ((x) << S_DEBUG_U_RXAFULL_D)
3329 #define G_DEBUG_U_RXAFULL_D(x) (((x) >> S_DEBUG_U_RXAFULL_D) & M_DEBUG_U_RXAFULL_D)
3331 #define S_DEBUG_CIM_AFULL_D 0
3332 #define M_DEBUG_CIM_AFULL_D 0x3U
3333 #define V_DEBUG_CIM_AFULL_D(x) ((x) << S_DEBUG_CIM_AFULL_D)
3334 #define G_DEBUG_CIM_AFULL_D(x) (((x) >> S_DEBUG_CIM_AFULL_D) & M_DEBUG_CIM_AFULL_D)
3336 #define S_DEBUG_IDMA1_S_CPL_FLIT_REMAINING 28
3337 #define M_DEBUG_IDMA1_S_CPL_FLIT_REMAINING 0xfU
3338 #define V_DEBUG_IDMA1_S_CPL_FLIT_REMAINING(x) ((x) << S_DEBUG_IDMA1_S_CPL_FLIT_REMAINING)
3339 #define G_DEBUG_IDMA1_S_CPL_FLIT_REMAINING(x) (((x) >> S_DEBUG_IDMA1_S_CPL_FLIT_REMAINING) & M_DEBUG_IDMA1_S_CPL_FLIT_REMAINING)
3341 #define S_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_SRDY 27
3342 #define V_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_SRDY(x) ((x) << S_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_SRDY)
3343 #define F_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_SRDY V_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_SRDY(1U)
3345 #define S_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_RSS 26
3346 #define V_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_RSS(x) ((x) << S_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_RSS)
3347 #define F_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_RSS V_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_RSS(1U)
3349 #define S_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_NOCPL 25
3350 #define V_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_NOCPL(x) ((x) << S_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_NOCPL)
3351 #define F_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_NOCPL V_DEBUG_IDMA1_IDMA2IMSG_CMP_OUT_NOCPL(1U)
3353 #define S_DEBUG_IDMA1_IDMA2IMSG_FULL 24
3354 #define V_DEBUG_IDMA1_IDMA2IMSG_FULL(x) ((x) << S_DEBUG_IDMA1_IDMA2IMSG_FULL)
3355 #define F_DEBUG_IDMA1_IDMA2IMSG_FULL V_DEBUG_IDMA1_IDMA2IMSG_FULL(1U)
3357 #define S_DEBUG_IDMA1_IDMA2IMSG_EOP 23
3358 #define V_DEBUG_IDMA1_IDMA2IMSG_EOP(x) ((x) << S_DEBUG_IDMA1_IDMA2IMSG_EOP)
3359 #define F_DEBUG_IDMA1_IDMA2IMSG_EOP V_DEBUG_IDMA1_IDMA2IMSG_EOP(1U)
3361 #define S_DEBUG_IDMA1_IDMA2IMSG_FIFO_IN_DRDY 22
3362 #define V_DEBUG_IDMA1_IDMA2IMSG_FIFO_IN_DRDY(x) ((x) << S_DEBUG_IDMA1_IDMA2IMSG_FIFO_IN_DRDY)
3363 #define F_DEBUG_IDMA1_IDMA2IMSG_FIFO_IN_DRDY V_DEBUG_IDMA1_IDMA2IMSG_FIFO_IN_DRDY(1U)
3365 #define S_DEBUG_IDMA1_IDMA2IMSG_CMP_IN_DRDY 21
3366 #define V_DEBUG_IDMA1_IDMA2IMSG_CMP_IN_DRDY(x) ((x) << S_DEBUG_IDMA1_IDMA2IMSG_CMP_IN_DRDY)
3367 #define F_DEBUG_IDMA1_IDMA2IMSG_CMP_IN_DRDY V_DEBUG_IDMA1_IDMA2IMSG_CMP_IN_DRDY(1U)
3369 #define S_DEBUG_IDMA0_S_CPL_FLIT_REMAINING 17
3370 #define M_DEBUG_IDMA0_S_CPL_FLIT_REMAINING 0xfU
3371 #define V_DEBUG_IDMA0_S_CPL_FLIT_REMAINING(x) ((x) << S_DEBUG_IDMA0_S_CPL_FLIT_REMAINING)
3372 #define G_DEBUG_IDMA0_S_CPL_FLIT_REMAINING(x) (((x) >> S_DEBUG_IDMA0_S_CPL_FLIT_REMAINING) & M_DEBUG_IDMA0_S_CPL_FLIT_REMAINING)
3374 #define S_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_SRDY 16
3375 #define V_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_SRDY(x) ((x) << S_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_SRDY)
3376 #define F_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_SRDY V_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_SRDY(1U)
3378 #define S_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_RSS 15
3379 #define V_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_RSS(x) ((x) << S_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_RSS)
3380 #define F_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_RSS V_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_RSS(1U)
3382 #define S_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_NOCPL 14
3383 #define V_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_NOCPL(x) ((x) << S_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_NOCPL)
3384 #define F_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_NOCPL V_DEBUG_IDMA0_IDMA2IMSG_CMP_OUT_NOCPL(1U)
3386 #define S_DEBUG_IDMA0_IDMA2IMSG_FULL 13
3387 #define V_DEBUG_IDMA0_IDMA2IMSG_FULL(x) ((x) << S_DEBUG_IDMA0_IDMA2IMSG_FULL)
3388 #define F_DEBUG_IDMA0_IDMA2IMSG_FULL V_DEBUG_IDMA0_IDMA2IMSG_FULL(1U)
3390 #define S_DEBUG_IDMA0_IDMA2IMSG_EOP 12
3391 #define V_DEBUG_IDMA0_IDMA2IMSG_EOP(x) ((x) << S_DEBUG_IDMA0_IDMA2IMSG_EOP)
3392 #define F_DEBUG_IDMA0_IDMA2IMSG_EOP V_DEBUG_IDMA0_IDMA2IMSG_EOP(1U)
3394 #define S_DEBUG_IDMA0_IDMA2IMSG_CMP_IN_DRDY 11
3395 #define V_DEBUG_IDMA0_IDMA2IMSG_CMP_IN_DRDY(x) ((x) << S_DEBUG_IDMA0_IDMA2IMSG_CMP_IN_DRDY)
3396 #define F_DEBUG_IDMA0_IDMA2IMSG_CMP_IN_DRDY V_DEBUG_IDMA0_IDMA2IMSG_CMP_IN_DRDY(1U)
3398 #define S_DEBUG_IDMA0_IDMA2IMSG_FIFO_IN_DRDY 10
3399 #define V_DEBUG_IDMA0_IDMA2IMSG_FIFO_IN_DRDY(x) ((x) << S_DEBUG_IDMA0_IDMA2IMSG_FIFO_IN_DRDY)
3400 #define F_DEBUG_IDMA0_IDMA2IMSG_FIFO_IN_DRDY V_DEBUG_IDMA0_IDMA2IMSG_FIFO_IN_DRDY(1U)
3402 #define S_T6_DEBUG_T_RXAFULL_D 8
3403 #define M_T6_DEBUG_T_RXAFULL_D 0x3U
3404 #define V_T6_DEBUG_T_RXAFULL_D(x) ((x) << S_T6_DEBUG_T_RXAFULL_D)
3405 #define G_T6_DEBUG_T_RXAFULL_D(x) (((x) >> S_T6_DEBUG_T_RXAFULL_D) & M_T6_DEBUG_T_RXAFULL_D)
3407 #define S_T6_DEBUG_PD_WRREQAFULL_D 6
3408 #define M_T6_DEBUG_PD_WRREQAFULL_D 0x3U
3409 #define V_T6_DEBUG_PD_WRREQAFULL_D(x) ((x) << S_T6_DEBUG_PD_WRREQAFULL_D)
3410 #define G_T6_DEBUG_PD_WRREQAFULL_D(x) (((x) >> S_T6_DEBUG_PD_WRREQAFULL_D) & M_T6_DEBUG_PD_WRREQAFULL_D)
3412 #define S_T6_DEBUG_PC_RSPAFULL_D 5
3413 #define V_T6_DEBUG_PC_RSPAFULL_D(x) ((x) << S_T6_DEBUG_PC_RSPAFULL_D)
3414 #define F_T6_DEBUG_PC_RSPAFULL_D V_T6_DEBUG_PC_RSPAFULL_D(1U)
3416 #define S_T6_DEBUG_PC_REQAFULL_D 4
3417 #define V_T6_DEBUG_PC_REQAFULL_D(x) ((x) << S_T6_DEBUG_PC_REQAFULL_D)
3418 #define F_T6_DEBUG_PC_REQAFULL_D V_T6_DEBUG_PC_REQAFULL_D(1U)
3420 #define S_T6_DEBUG_CIM_AFULL_D 0
3421 #define V_T6_DEBUG_CIM_AFULL_D(x) ((x) << S_T6_DEBUG_CIM_AFULL_D)
3422 #define F_T6_DEBUG_CIM_AFULL_D V_T6_DEBUG_CIM_AFULL_D(1U)
3424 #define A_SGE_DEBUG_DATA_HIGH_INDEX_11 0x12ac
3426 #define S_DEBUG_FLM_IDMA1_CACHE_DATA_ACTIVE 24
3427 #define V_DEBUG_FLM_IDMA1_CACHE_DATA_ACTIVE(x) ((x) << S_DEBUG_FLM_IDMA1_CACHE_DATA_ACTIVE)
3428 #define F_DEBUG_FLM_IDMA1_CACHE_DATA_ACTIVE V_DEBUG_FLM_IDMA1_CACHE_DATA_ACTIVE(1U)
3430 #define S_DEBUG_FLM_IDMA1_CACHE_HDR_ACTIVE 23
3431 #define V_DEBUG_FLM_IDMA1_CACHE_HDR_ACTIVE(x) ((x) << S_DEBUG_FLM_IDMA1_CACHE_HDR_ACTIVE)
3432 #define F_DEBUG_FLM_IDMA1_CACHE_HDR_ACTIVE V_DEBUG_FLM_IDMA1_CACHE_HDR_ACTIVE(1U)
3434 #define S_DEBUG_FLM_IDMA1_CTXT_DATA_ACTIVE 22
3435 #define V_DEBUG_FLM_IDMA1_CTXT_DATA_ACTIVE(x) ((x) << S_DEBUG_FLM_IDMA1_CTXT_DATA_ACTIVE)
3436 #define F_DEBUG_FLM_IDMA1_CTXT_DATA_ACTIVE V_DEBUG_FLM_IDMA1_CTXT_DATA_ACTIVE(1U)
3438 #define S_DEBUG_FLM_IDMA1_CTXT_HDR_ACTIVE 21
3439 #define V_DEBUG_FLM_IDMA1_CTXT_HDR_ACTIVE(x) ((x) << S_DEBUG_FLM_IDMA1_CTXT_HDR_ACTIVE)
3440 #define F_DEBUG_FLM_IDMA1_CTXT_HDR_ACTIVE V_DEBUG_FLM_IDMA1_CTXT_HDR_ACTIVE(1U)
3442 #define S_DEBUG_ST_FLM_IDMA1_CACHE 19
3443 #define M_DEBUG_ST_FLM_IDMA1_CACHE 0x3U
3444 #define V_DEBUG_ST_FLM_IDMA1_CACHE(x) ((x) << S_DEBUG_ST_FLM_IDMA1_CACHE)
3445 #define G_DEBUG_ST_FLM_IDMA1_CACHE(x) (((x) >> S_DEBUG_ST_FLM_IDMA1_CACHE) & M_DEBUG_ST_FLM_IDMA1_CACHE)
3447 #define S_DEBUG_ST_FLM_IDMA1_CTXT 16
3448 #define M_DEBUG_ST_FLM_IDMA1_CTXT 0x7U
3449 #define V_DEBUG_ST_FLM_IDMA1_CTXT(x) ((x) << S_DEBUG_ST_FLM_IDMA1_CTXT)
3450 #define G_DEBUG_ST_FLM_IDMA1_CTXT(x) (((x) >> S_DEBUG_ST_FLM_IDMA1_CTXT) & M_DEBUG_ST_FLM_IDMA1_CTXT)
3452 #define S_DEBUG_FLM_IDMA0_CACHE_DATA_ACTIVE 8
3453 #define V_DEBUG_FLM_IDMA0_CACHE_DATA_ACTIVE(x) ((x) << S_DEBUG_FLM_IDMA0_CACHE_DATA_ACTIVE)
3454 #define F_DEBUG_FLM_IDMA0_CACHE_DATA_ACTIVE V_DEBUG_FLM_IDMA0_CACHE_DATA_ACTIVE(1U)
3456 #define S_DEBUG_FLM_IDMA0_CACHE_HDR_ACTIVE 7
3457 #define V_DEBUG_FLM_IDMA0_CACHE_HDR_ACTIVE(x) ((x) << S_DEBUG_FLM_IDMA0_CACHE_HDR_ACTIVE)
3458 #define F_DEBUG_FLM_IDMA0_CACHE_HDR_ACTIVE V_DEBUG_FLM_IDMA0_CACHE_HDR_ACTIVE(1U)
3460 #define S_DEBUG_FLM_IDMA0_CTXT_DATA_ACTIVE 6
3461 #define V_DEBUG_FLM_IDMA0_CTXT_DATA_ACTIVE(x) ((x) << S_DEBUG_FLM_IDMA0_CTXT_DATA_ACTIVE)
3462 #define F_DEBUG_FLM_IDMA0_CTXT_DATA_ACTIVE V_DEBUG_FLM_IDMA0_CTXT_DATA_ACTIVE(1U)
3464 #define S_DEBUG_FLM_IDMA0_CTXT_HDR_ACTIVE 5
3465 #define V_DEBUG_FLM_IDMA0_CTXT_HDR_ACTIVE(x) ((x) << S_DEBUG_FLM_IDMA0_CTXT_HDR_ACTIVE)
3466 #define F_DEBUG_FLM_IDMA0_CTXT_HDR_ACTIVE V_DEBUG_FLM_IDMA0_CTXT_HDR_ACTIVE(1U)
3468 #define S_DEBUG_ST_FLM_IDMA0_CACHE 3
3469 #define M_DEBUG_ST_FLM_IDMA0_CACHE 0x3U
3470 #define V_DEBUG_ST_FLM_IDMA0_CACHE(x) ((x) << S_DEBUG_ST_FLM_IDMA0_CACHE)
3471 #define G_DEBUG_ST_FLM_IDMA0_CACHE(x) (((x) >> S_DEBUG_ST_FLM_IDMA0_CACHE) & M_DEBUG_ST_FLM_IDMA0_CACHE)
3473 #define S_DEBUG_ST_FLM_IDMA0_CTXT 0
3474 #define M_DEBUG_ST_FLM_IDMA0_CTXT 0x7U
3475 #define V_DEBUG_ST_FLM_IDMA0_CTXT(x) ((x) << S_DEBUG_ST_FLM_IDMA0_CTXT)
3476 #define G_DEBUG_ST_FLM_IDMA0_CTXT(x) (((x) >> S_DEBUG_ST_FLM_IDMA0_CTXT) & M_DEBUG_ST_FLM_IDMA0_CTXT)
3478 #define A_SGE_DEBUG_DATA_HIGH_INDEX_12 0x12b0
3480 #define S_DEBUG_CPLSW_SOP1_CNT 28
3481 #define M_DEBUG_CPLSW_SOP1_CNT 0xfU
3482 #define V_DEBUG_CPLSW_SOP1_CNT(x) ((x) << S_DEBUG_CPLSW_SOP1_CNT)
3483 #define G_DEBUG_CPLSW_SOP1_CNT(x) (((x) >> S_DEBUG_CPLSW_SOP1_CNT) & M_DEBUG_CPLSW_SOP1_CNT)
3485 #define S_DEBUG_CPLSW_EOP1_CNT 24
3486 #define M_DEBUG_CPLSW_EOP1_CNT 0xfU
3487 #define V_DEBUG_CPLSW_EOP1_CNT(x) ((x) << S_DEBUG_CPLSW_EOP1_CNT)
3488 #define G_DEBUG_CPLSW_EOP1_CNT(x) (((x) >> S_DEBUG_CPLSW_EOP1_CNT) & M_DEBUG_CPLSW_EOP1_CNT)
3490 #define S_DEBUG_CPLSW_SOP0_CNT 20
3491 #define M_DEBUG_CPLSW_SOP0_CNT 0xfU
3492 #define V_DEBUG_CPLSW_SOP0_CNT(x) ((x) << S_DEBUG_CPLSW_SOP0_CNT)
3493 #define G_DEBUG_CPLSW_SOP0_CNT(x) (((x) >> S_DEBUG_CPLSW_SOP0_CNT) & M_DEBUG_CPLSW_SOP0_CNT)
3495 #define S_DEBUG_CPLSW_EOP0_CNT 16
3496 #define M_DEBUG_CPLSW_EOP0_CNT 0xfU
3497 #define V_DEBUG_CPLSW_EOP0_CNT(x) ((x) << S_DEBUG_CPLSW_EOP0_CNT)
3498 #define G_DEBUG_CPLSW_EOP0_CNT(x) (((x) >> S_DEBUG_CPLSW_EOP0_CNT) & M_DEBUG_CPLSW_EOP0_CNT)
3500 #define S_DEBUG_PC_RSP_SOP2_CNT 12
3501 #define M_DEBUG_PC_RSP_SOP2_CNT 0xfU
3502 #define V_DEBUG_PC_RSP_SOP2_CNT(x) ((x) << S_DEBUG_PC_RSP_SOP2_CNT)
3503 #define G_DEBUG_PC_RSP_SOP2_CNT(x) (((x) >> S_DEBUG_PC_RSP_SOP2_CNT) & M_DEBUG_PC_RSP_SOP2_CNT)
3505 #define S_DEBUG_PC_RSP_EOP2_CNT 8
3506 #define M_DEBUG_PC_RSP_EOP2_CNT 0xfU
3507 #define V_DEBUG_PC_RSP_EOP2_CNT(x) ((x) << S_DEBUG_PC_RSP_EOP2_CNT)
3508 #define G_DEBUG_PC_RSP_EOP2_CNT(x) (((x) >> S_DEBUG_PC_RSP_EOP2_CNT) & M_DEBUG_PC_RSP_EOP2_CNT)
3510 #define S_DEBUG_PC_REQ_SOP2_CNT 4
3511 #define M_DEBUG_PC_REQ_SOP2_CNT 0xfU
3512 #define V_DEBUG_PC_REQ_SOP2_CNT(x) ((x) << S_DEBUG_PC_REQ_SOP2_CNT)
3513 #define G_DEBUG_PC_REQ_SOP2_CNT(x) (((x) >> S_DEBUG_PC_REQ_SOP2_CNT) & M_DEBUG_PC_REQ_SOP2_CNT)
3515 #define S_DEBUG_PC_REQ_EOP2_CNT 0
3516 #define M_DEBUG_PC_REQ_EOP2_CNT 0xfU
3517 #define V_DEBUG_PC_REQ_EOP2_CNT(x) ((x) << S_DEBUG_PC_REQ_EOP2_CNT)
3518 #define G_DEBUG_PC_REQ_EOP2_CNT(x) (((x) >> S_DEBUG_PC_REQ_EOP2_CNT) & M_DEBUG_PC_REQ_EOP2_CNT)
3520 #define S_DEBUG_IDMA1_ISHIFT_TX_SIZE 8
3521 #define M_DEBUG_IDMA1_ISHIFT_TX_SIZE 0x7fU
3522 #define V_DEBUG_IDMA1_ISHIFT_TX_SIZE(x) ((x) << S_DEBUG_IDMA1_ISHIFT_TX_SIZE)
3523 #define G_DEBUG_IDMA1_ISHIFT_TX_SIZE(x) (((x) >> S_DEBUG_IDMA1_ISHIFT_TX_SIZE) & M_DEBUG_IDMA1_ISHIFT_TX_SIZE)
3525 #define S_DEBUG_IDMA0_ISHIFT_TX_SIZE 0
3526 #define M_DEBUG_IDMA0_ISHIFT_TX_SIZE 0x7fU
3527 #define V_DEBUG_IDMA0_ISHIFT_TX_SIZE(x) ((x) << S_DEBUG_IDMA0_ISHIFT_TX_SIZE)
3528 #define G_DEBUG_IDMA0_ISHIFT_TX_SIZE(x) (((x) >> S_DEBUG_IDMA0_ISHIFT_TX_SIZE) & M_DEBUG_IDMA0_ISHIFT_TX_SIZE)
3530 #define A_SGE_DEBUG_DATA_HIGH_INDEX_13 0x12b4
3531 #define A_SGE_DEBUG_DATA_HIGH_INDEX_14 0x12b8
3532 #define A_SGE_DEBUG_DATA_HIGH_INDEX_15 0x12bc
3533 #define A_SGE_DEBUG_DATA_LOW_INDEX_0 0x12c0
3535 #define S_DEBUG_ST_IDMA1_FLM_REQ 29
3536 #define M_DEBUG_ST_IDMA1_FLM_REQ 0x7U
3537 #define V_DEBUG_ST_IDMA1_FLM_REQ(x) ((x) << S_DEBUG_ST_IDMA1_FLM_REQ)
3538 #define G_DEBUG_ST_IDMA1_FLM_REQ(x) (((x) >> S_DEBUG_ST_IDMA1_FLM_REQ) & M_DEBUG_ST_IDMA1_FLM_REQ)
3540 #define S_DEBUG_ST_IDMA0_FLM_REQ 26
3541 #define M_DEBUG_ST_IDMA0_FLM_REQ 0x7U
3542 #define V_DEBUG_ST_IDMA0_FLM_REQ(x) ((x) << S_DEBUG_ST_IDMA0_FLM_REQ)
3543 #define G_DEBUG_ST_IDMA0_FLM_REQ(x) (((x) >> S_DEBUG_ST_IDMA0_FLM_REQ) & M_DEBUG_ST_IDMA0_FLM_REQ)
3545 #define S_DEBUG_ST_IMSG_CTXT 23
3546 #define M_DEBUG_ST_IMSG_CTXT 0x7U
3547 #define V_DEBUG_ST_IMSG_CTXT(x) ((x) << S_DEBUG_ST_IMSG_CTXT)
3548 #define G_DEBUG_ST_IMSG_CTXT(x) (((x) >> S_DEBUG_ST_IMSG_CTXT) & M_DEBUG_ST_IMSG_CTXT)
3550 #define S_DEBUG_ST_IMSG 18
3551 #define M_DEBUG_ST_IMSG 0x1fU
3552 #define V_DEBUG_ST_IMSG(x) ((x) << S_DEBUG_ST_IMSG)
3553 #define G_DEBUG_ST_IMSG(x) (((x) >> S_DEBUG_ST_IMSG) & M_DEBUG_ST_IMSG)
3555 #define S_DEBUG_ST_IDMA1_IALN 16
3556 #define M_DEBUG_ST_IDMA1_IALN 0x3U
3557 #define V_DEBUG_ST_IDMA1_IALN(x) ((x) << S_DEBUG_ST_IDMA1_IALN)
3558 #define G_DEBUG_ST_IDMA1_IALN(x) (((x) >> S_DEBUG_ST_IDMA1_IALN) & M_DEBUG_ST_IDMA1_IALN)
3560 #define S_DEBUG_ST_IDMA1_IDMA_SM 9
3561 #define M_DEBUG_ST_IDMA1_IDMA_SM 0x3fU
3562 #define V_DEBUG_ST_IDMA1_IDMA_SM(x) ((x) << S_DEBUG_ST_IDMA1_IDMA_SM)
3563 #define G_DEBUG_ST_IDMA1_IDMA_SM(x) (((x) >> S_DEBUG_ST_IDMA1_IDMA_SM) & M_DEBUG_ST_IDMA1_IDMA_SM)
3565 #define S_DEBUG_ST_IDMA0_IALN 7
3566 #define M_DEBUG_ST_IDMA0_IALN 0x3U
3567 #define V_DEBUG_ST_IDMA0_IALN(x) ((x) << S_DEBUG_ST_IDMA0_IALN)
3568 #define G_DEBUG_ST_IDMA0_IALN(x) (((x) >> S_DEBUG_ST_IDMA0_IALN) & M_DEBUG_ST_IDMA0_IALN)
3570 #define S_DEBUG_ST_IDMA0_IDMA_SM 0
3571 #define M_DEBUG_ST_IDMA0_IDMA_SM 0x3fU
3572 #define V_DEBUG_ST_IDMA0_IDMA_SM(x) ((x) << S_DEBUG_ST_IDMA0_IDMA_SM)
3573 #define G_DEBUG_ST_IDMA0_IDMA_SM(x) (((x) >> S_DEBUG_ST_IDMA0_IDMA_SM) & M_DEBUG_ST_IDMA0_IDMA_SM)
3575 #define S_DEBUG_ST_IDMA1_IDMA2IMSG 15
3576 #define V_DEBUG_ST_IDMA1_IDMA2IMSG(x) ((x) << S_DEBUG_ST_IDMA1_IDMA2IMSG)
3577 #define F_DEBUG_ST_IDMA1_IDMA2IMSG V_DEBUG_ST_IDMA1_IDMA2IMSG(1U)
3579 #define S_DEBUG_ST_IDMA0_IDMA2IMSG 6
3580 #define V_DEBUG_ST_IDMA0_IDMA2IMSG(x) ((x) << S_DEBUG_ST_IDMA0_IDMA2IMSG)
3581 #define F_DEBUG_ST_IDMA0_IDMA2IMSG V_DEBUG_ST_IDMA0_IDMA2IMSG(1U)
3583 #define A_SGE_DEBUG_DATA_LOW_INDEX_1 0x12c4
3585 #define S_DEBUG_ITP_EMPTY 12
3586 #define M_DEBUG_ITP_EMPTY 0x3fU
3587 #define V_DEBUG_ITP_EMPTY(x) ((x) << S_DEBUG_ITP_EMPTY)
3588 #define G_DEBUG_ITP_EMPTY(x) (((x) >> S_DEBUG_ITP_EMPTY) & M_DEBUG_ITP_EMPTY)
3590 #define S_DEBUG_ITP_EXPIRED 6
3591 #define M_DEBUG_ITP_EXPIRED 0x3fU
3592 #define V_DEBUG_ITP_EXPIRED(x) ((x) << S_DEBUG_ITP_EXPIRED)
3593 #define G_DEBUG_ITP_EXPIRED(x) (((x) >> S_DEBUG_ITP_EXPIRED) & M_DEBUG_ITP_EXPIRED)
3595 #define S_DEBUG_ITP_PAUSE 5
3596 #define V_DEBUG_ITP_PAUSE(x) ((x) << S_DEBUG_ITP_PAUSE)
3597 #define F_DEBUG_ITP_PAUSE V_DEBUG_ITP_PAUSE(1U)
3599 #define S_DEBUG_ITP_DEL_DONE 4
3600 #define V_DEBUG_ITP_DEL_DONE(x) ((x) << S_DEBUG_ITP_DEL_DONE)
3601 #define F_DEBUG_ITP_DEL_DONE V_DEBUG_ITP_DEL_DONE(1U)
3603 #define S_DEBUG_ITP_ADD_DONE 3
3604 #define V_DEBUG_ITP_ADD_DONE(x) ((x) << S_DEBUG_ITP_ADD_DONE)
3605 #define F_DEBUG_ITP_ADD_DONE V_DEBUG_ITP_ADD_DONE(1U)
3607 #define S_DEBUG_ITP_EVR_STATE 0
3608 #define M_DEBUG_ITP_EVR_STATE 0x7U
3609 #define V_DEBUG_ITP_EVR_STATE(x) ((x) << S_DEBUG_ITP_EVR_STATE)
3610 #define G_DEBUG_ITP_EVR_STATE(x) (((x) >> S_DEBUG_ITP_EVR_STATE) & M_DEBUG_ITP_EVR_STATE)
3612 #define A_SGE_DEBUG_DATA_LOW_INDEX_2 0x12c8
3614 #define S_DEBUG_ST_DBP_THREAD2_CIMFL 25
3615 #define M_DEBUG_ST_DBP_THREAD2_CIMFL 0x1fU
3616 #define V_DEBUG_ST_DBP_THREAD2_CIMFL(x) ((x) << S_DEBUG_ST_DBP_THREAD2_CIMFL)
3617 #define G_DEBUG_ST_DBP_THREAD2_CIMFL(x) (((x) >> S_DEBUG_ST_DBP_THREAD2_CIMFL) & M_DEBUG_ST_DBP_THREAD2_CIMFL)
3619 #define S_DEBUG_ST_DBP_THREAD2_MAIN 20
3620 #define M_DEBUG_ST_DBP_THREAD2_MAIN 0x1fU
3621 #define V_DEBUG_ST_DBP_THREAD2_MAIN(x) ((x) << S_DEBUG_ST_DBP_THREAD2_MAIN)
3622 #define G_DEBUG_ST_DBP_THREAD2_MAIN(x) (((x) >> S_DEBUG_ST_DBP_THREAD2_MAIN) & M_DEBUG_ST_DBP_THREAD2_MAIN)
3624 #define S_DEBUG_ST_DBP_THREAD1_CIMFL 15
3625 #define M_DEBUG_ST_DBP_THREAD1_CIMFL 0x1fU
3626 #define V_DEBUG_ST_DBP_THREAD1_CIMFL(x) ((x) << S_DEBUG_ST_DBP_THREAD1_CIMFL)
3627 #define G_DEBUG_ST_DBP_THREAD1_CIMFL(x) (((x) >> S_DEBUG_ST_DBP_THREAD1_CIMFL) & M_DEBUG_ST_DBP_THREAD1_CIMFL)
3629 #define S_DEBUG_ST_DBP_THREAD1_MAIN 10
3630 #define M_DEBUG_ST_DBP_THREAD1_MAIN 0x1fU
3631 #define V_DEBUG_ST_DBP_THREAD1_MAIN(x) ((x) << S_DEBUG_ST_DBP_THREAD1_MAIN)
3632 #define G_DEBUG_ST_DBP_THREAD1_MAIN(x) (((x) >> S_DEBUG_ST_DBP_THREAD1_MAIN) & M_DEBUG_ST_DBP_THREAD1_MAIN)
3634 #define S_DEBUG_ST_DBP_THREAD0_CIMFL 5
3635 #define M_DEBUG_ST_DBP_THREAD0_CIMFL 0x1fU
3636 #define V_DEBUG_ST_DBP_THREAD0_CIMFL(x) ((x) << S_DEBUG_ST_DBP_THREAD0_CIMFL)
3637 #define G_DEBUG_ST_DBP_THREAD0_CIMFL(x) (((x) >> S_DEBUG_ST_DBP_THREAD0_CIMFL) & M_DEBUG_ST_DBP_THREAD0_CIMFL)
3639 #define S_DEBUG_ST_DBP_THREAD0_MAIN 0
3640 #define M_DEBUG_ST_DBP_THREAD0_MAIN 0x1fU
3641 #define V_DEBUG_ST_DBP_THREAD0_MAIN(x) ((x) << S_DEBUG_ST_DBP_THREAD0_MAIN)
3642 #define G_DEBUG_ST_DBP_THREAD0_MAIN(x) (((x) >> S_DEBUG_ST_DBP_THREAD0_MAIN) & M_DEBUG_ST_DBP_THREAD0_MAIN)
3644 #define S_T6_DEBUG_ST_DBP_UPCP_MAIN 14
3645 #define M_T6_DEBUG_ST_DBP_UPCP_MAIN 0x7U
3646 #define V_T6_DEBUG_ST_DBP_UPCP_MAIN(x) ((x) << S_T6_DEBUG_ST_DBP_UPCP_MAIN)
3647 #define G_T6_DEBUG_ST_DBP_UPCP_MAIN(x) (((x) >> S_T6_DEBUG_ST_DBP_UPCP_MAIN) & M_T6_DEBUG_ST_DBP_UPCP_MAIN)
3649 #define A_SGE_DEBUG_DATA_LOW_INDEX_3 0x12cc
3651 #define S_DEBUG_ST_DBP_UPCP_MAIN 14
3652 #define M_DEBUG_ST_DBP_UPCP_MAIN 0x1fU
3653 #define V_DEBUG_ST_DBP_UPCP_MAIN(x) ((x) << S_DEBUG_ST_DBP_UPCP_MAIN)
3654 #define G_DEBUG_ST_DBP_UPCP_MAIN(x) (((x) >> S_DEBUG_ST_DBP_UPCP_MAIN) & M_DEBUG_ST_DBP_UPCP_MAIN)
3656 #define S_DEBUG_ST_DBP_DBFIFO_MAIN 13
3657 #define V_DEBUG_ST_DBP_DBFIFO_MAIN(x) ((x) << S_DEBUG_ST_DBP_DBFIFO_MAIN)
3658 #define F_DEBUG_ST_DBP_DBFIFO_MAIN V_DEBUG_ST_DBP_DBFIFO_MAIN(1U)
3660 #define S_DEBUG_ST_DBP_CTXT 10
3661 #define M_DEBUG_ST_DBP_CTXT 0x7U
3662 #define V_DEBUG_ST_DBP_CTXT(x) ((x) << S_DEBUG_ST_DBP_CTXT)
3663 #define G_DEBUG_ST_DBP_CTXT(x) (((x) >> S_DEBUG_ST_DBP_CTXT) & M_DEBUG_ST_DBP_CTXT)
3665 #define S_DEBUG_ST_DBP_THREAD3_CIMFL 5
3666 #define M_DEBUG_ST_DBP_THREAD3_CIMFL 0x1fU
3667 #define V_DEBUG_ST_DBP_THREAD3_CIMFL(x) ((x) << S_DEBUG_ST_DBP_THREAD3_CIMFL)
3668 #define G_DEBUG_ST_DBP_THREAD3_CIMFL(x) (((x) >> S_DEBUG_ST_DBP_THREAD3_CIMFL) & M_DEBUG_ST_DBP_THREAD3_CIMFL)
3670 #define S_DEBUG_ST_DBP_THREAD3_MAIN 0
3671 #define M_DEBUG_ST_DBP_THREAD3_MAIN 0x1fU
3672 #define V_DEBUG_ST_DBP_THREAD3_MAIN(x) ((x) << S_DEBUG_ST_DBP_THREAD3_MAIN)
3673 #define G_DEBUG_ST_DBP_THREAD3_MAIN(x) (((x) >> S_DEBUG_ST_DBP_THREAD3_MAIN) & M_DEBUG_ST_DBP_THREAD3_MAIN)
3675 #define A_SGE_DEBUG_DATA_LOW_INDEX_4 0x12d0
3677 #define S_DEBUG_ST_EDMA3_ALIGN_SUB 29
3678 #define M_DEBUG_ST_EDMA3_ALIGN_SUB 0x7U
3679 #define V_DEBUG_ST_EDMA3_ALIGN_SUB(x) ((x) << S_DEBUG_ST_EDMA3_ALIGN_SUB)
3680 #define G_DEBUG_ST_EDMA3_ALIGN_SUB(x) (((x) >> S_DEBUG_ST_EDMA3_ALIGN_SUB) & M_DEBUG_ST_EDMA3_ALIGN_SUB)
3682 #define S_DEBUG_ST_EDMA3_ALIGN 27
3683 #define M_DEBUG_ST_EDMA3_ALIGN 0x3U
3684 #define V_DEBUG_ST_EDMA3_ALIGN(x) ((x) << S_DEBUG_ST_EDMA3_ALIGN)
3685 #define G_DEBUG_ST_EDMA3_ALIGN(x) (((x) >> S_DEBUG_ST_EDMA3_ALIGN) & M_DEBUG_ST_EDMA3_ALIGN)
3687 #define S_DEBUG_ST_EDMA3_REQ 24
3688 #define M_DEBUG_ST_EDMA3_REQ 0x7U
3689 #define V_DEBUG_ST_EDMA3_REQ(x) ((x) << S_DEBUG_ST_EDMA3_REQ)
3690 #define G_DEBUG_ST_EDMA3_REQ(x) (((x) >> S_DEBUG_ST_EDMA3_REQ) & M_DEBUG_ST_EDMA3_REQ)
3692 #define S_DEBUG_ST_EDMA2_ALIGN_SUB 21
3693 #define M_DEBUG_ST_EDMA2_ALIGN_SUB 0x7U
3694 #define V_DEBUG_ST_EDMA2_ALIGN_SUB(x) ((x) << S_DEBUG_ST_EDMA2_ALIGN_SUB)
3695 #define G_DEBUG_ST_EDMA2_ALIGN_SUB(x) (((x) >> S_DEBUG_ST_EDMA2_ALIGN_SUB) & M_DEBUG_ST_EDMA2_ALIGN_SUB)
3697 #define S_DEBUG_ST_EDMA2_ALIGN 19
3698 #define M_DEBUG_ST_EDMA2_ALIGN 0x3U
3699 #define V_DEBUG_ST_EDMA2_ALIGN(x) ((x) << S_DEBUG_ST_EDMA2_ALIGN)
3700 #define G_DEBUG_ST_EDMA2_ALIGN(x) (((x) >> S_DEBUG_ST_EDMA2_ALIGN) & M_DEBUG_ST_EDMA2_ALIGN)
3702 #define S_DEBUG_ST_EDMA2_REQ 16
3703 #define M_DEBUG_ST_EDMA2_REQ 0x7U
3704 #define V_DEBUG_ST_EDMA2_REQ(x) ((x) << S_DEBUG_ST_EDMA2_REQ)
3705 #define G_DEBUG_ST_EDMA2_REQ(x) (((x) >> S_DEBUG_ST_EDMA2_REQ) & M_DEBUG_ST_EDMA2_REQ)
3707 #define S_DEBUG_ST_EDMA1_ALIGN_SUB 13
3708 #define M_DEBUG_ST_EDMA1_ALIGN_SUB 0x7U
3709 #define V_DEBUG_ST_EDMA1_ALIGN_SUB(x) ((x) << S_DEBUG_ST_EDMA1_ALIGN_SUB)
3710 #define G_DEBUG_ST_EDMA1_ALIGN_SUB(x) (((x) >> S_DEBUG_ST_EDMA1_ALIGN_SUB) & M_DEBUG_ST_EDMA1_ALIGN_SUB)
3712 #define S_DEBUG_ST_EDMA1_ALIGN 11
3713 #define M_DEBUG_ST_EDMA1_ALIGN 0x3U
3714 #define V_DEBUG_ST_EDMA1_ALIGN(x) ((x) << S_DEBUG_ST_EDMA1_ALIGN)
3715 #define G_DEBUG_ST_EDMA1_ALIGN(x) (((x) >> S_DEBUG_ST_EDMA1_ALIGN) & M_DEBUG_ST_EDMA1_ALIGN)
3717 #define S_DEBUG_ST_EDMA1_REQ 8
3718 #define M_DEBUG_ST_EDMA1_REQ 0x7U
3719 #define V_DEBUG_ST_EDMA1_REQ(x) ((x) << S_DEBUG_ST_EDMA1_REQ)
3720 #define G_DEBUG_ST_EDMA1_REQ(x) (((x) >> S_DEBUG_ST_EDMA1_REQ) & M_DEBUG_ST_EDMA1_REQ)
3722 #define S_DEBUG_ST_EDMA0_ALIGN_SUB 5
3723 #define M_DEBUG_ST_EDMA0_ALIGN_SUB 0x7U
3724 #define V_DEBUG_ST_EDMA0_ALIGN_SUB(x) ((x) << S_DEBUG_ST_EDMA0_ALIGN_SUB)
3725 #define G_DEBUG_ST_EDMA0_ALIGN_SUB(x) (((x) >> S_DEBUG_ST_EDMA0_ALIGN_SUB) & M_DEBUG_ST_EDMA0_ALIGN_SUB)
3727 #define S_DEBUG_ST_EDMA0_ALIGN 3
3728 #define M_DEBUG_ST_EDMA0_ALIGN 0x3U
3729 #define V_DEBUG_ST_EDMA0_ALIGN(x) ((x) << S_DEBUG_ST_EDMA0_ALIGN)
3730 #define G_DEBUG_ST_EDMA0_ALIGN(x) (((x) >> S_DEBUG_ST_EDMA0_ALIGN) & M_DEBUG_ST_EDMA0_ALIGN)
3732 #define S_DEBUG_ST_EDMA0_REQ 0
3733 #define M_DEBUG_ST_EDMA0_REQ 0x7U
3734 #define V_DEBUG_ST_EDMA0_REQ(x) ((x) << S_DEBUG_ST_EDMA0_REQ)
3735 #define G_DEBUG_ST_EDMA0_REQ(x) (((x) >> S_DEBUG_ST_EDMA0_REQ) & M_DEBUG_ST_EDMA0_REQ)
3737 #define A_SGE_DEBUG_DATA_LOW_INDEX_5 0x12d4
3739 #define S_DEBUG_ST_FLM_DBPTR 30
3740 #define M_DEBUG_ST_FLM_DBPTR 0x3U
3741 #define V_DEBUG_ST_FLM_DBPTR(x) ((x) << S_DEBUG_ST_FLM_DBPTR)
3742 #define G_DEBUG_ST_FLM_DBPTR(x) (((x) >> S_DEBUG_ST_FLM_DBPTR) & M_DEBUG_ST_FLM_DBPTR)
3744 #define S_DEBUG_FLM_CACHE_LOCKED_COUNT 23
3745 #define M_DEBUG_FLM_CACHE_LOCKED_COUNT 0x7fU
3746 #define V_DEBUG_FLM_CACHE_LOCKED_COUNT(x) ((x) << S_DEBUG_FLM_CACHE_LOCKED_COUNT)
3747 #define G_DEBUG_FLM_CACHE_LOCKED_COUNT(x) (((x) >> S_DEBUG_FLM_CACHE_LOCKED_COUNT) & M_DEBUG_FLM_CACHE_LOCKED_COUNT)
3749 #define S_DEBUG_FLM_CACHE_AGENT 20
3750 #define M_DEBUG_FLM_CACHE_AGENT 0x7U
3751 #define V_DEBUG_FLM_CACHE_AGENT(x) ((x) << S_DEBUG_FLM_CACHE_AGENT)
3752 #define G_DEBUG_FLM_CACHE_AGENT(x) (((x) >> S_DEBUG_FLM_CACHE_AGENT) & M_DEBUG_FLM_CACHE_AGENT)
3754 #define S_DEBUG_ST_FLM_CACHE 16
3755 #define M_DEBUG_ST_FLM_CACHE 0xfU
3756 #define V_DEBUG_ST_FLM_CACHE(x) ((x) << S_DEBUG_ST_FLM_CACHE)
3757 #define G_DEBUG_ST_FLM_CACHE(x) (((x) >> S_DEBUG_ST_FLM_CACHE) & M_DEBUG_ST_FLM_CACHE)
3759 #define S_DEBUG_FLM_DBPTR_CIDX_STALL 12
3760 #define V_DEBUG_FLM_DBPTR_CIDX_STALL(x) ((x) << S_DEBUG_FLM_DBPTR_CIDX_STALL)
3761 #define F_DEBUG_FLM_DBPTR_CIDX_STALL V_DEBUG_FLM_DBPTR_CIDX_STALL(1U)
3763 #define S_DEBUG_FLM_DBPTR_QID 0
3764 #define M_DEBUG_FLM_DBPTR_QID 0xfffU
3765 #define V_DEBUG_FLM_DBPTR_QID(x) ((x) << S_DEBUG_FLM_DBPTR_QID)
3766 #define G_DEBUG_FLM_DBPTR_QID(x) (((x) >> S_DEBUG_FLM_DBPTR_QID) & M_DEBUG_FLM_DBPTR_QID)
3768 #define A_SGE_DEBUG0_DBP_THREAD 0x12d4
3770 #define S_THREAD_ST_MAIN 25
3771 #define M_THREAD_ST_MAIN 0x3fU
3772 #define V_THREAD_ST_MAIN(x) ((x) << S_THREAD_ST_MAIN)
3773 #define G_THREAD_ST_MAIN(x) (((x) >> S_THREAD_ST_MAIN) & M_THREAD_ST_MAIN)
3775 #define S_THREAD_ST_CIMFL 21
3776 #define M_THREAD_ST_CIMFL 0xfU
3777 #define V_THREAD_ST_CIMFL(x) ((x) << S_THREAD_ST_CIMFL)
3778 #define G_THREAD_ST_CIMFL(x) (((x) >> S_THREAD_ST_CIMFL) & M_THREAD_ST_CIMFL)
3780 #define S_THREAD_CMDOP 17
3781 #define M_THREAD_CMDOP 0xfU
3782 #define V_THREAD_CMDOP(x) ((x) << S_THREAD_CMDOP)
3783 #define G_THREAD_CMDOP(x) (((x) >> S_THREAD_CMDOP) & M_THREAD_CMDOP)
3785 #define S_THREAD_QID 0
3786 #define M_THREAD_QID 0x1ffffU
3787 #define V_THREAD_QID(x) ((x) << S_THREAD_QID)
3788 #define G_THREAD_QID(x) (((x) >> S_THREAD_QID) & M_THREAD_QID)
3790 #define A_SGE_DEBUG_DATA_LOW_INDEX_6 0x12d8
3792 #define S_DEBUG_DBP_THREAD0_QID 0
3793 #define M_DEBUG_DBP_THREAD0_QID 0x1ffffU
3794 #define V_DEBUG_DBP_THREAD0_QID(x) ((x) << S_DEBUG_DBP_THREAD0_QID)
3795 #define G_DEBUG_DBP_THREAD0_QID(x) (((x) >> S_DEBUG_DBP_THREAD0_QID) & M_DEBUG_DBP_THREAD0_QID)
3797 #define A_SGE_DEBUG_DATA_LOW_INDEX_7 0x12dc
3799 #define S_DEBUG_DBP_THREAD1_QID 0
3800 #define M_DEBUG_DBP_THREAD1_QID 0x1ffffU
3801 #define V_DEBUG_DBP_THREAD1_QID(x) ((x) << S_DEBUG_DBP_THREAD1_QID)
3802 #define G_DEBUG_DBP_THREAD1_QID(x) (((x) >> S_DEBUG_DBP_THREAD1_QID) & M_DEBUG_DBP_THREAD1_QID)
3804 #define A_SGE_DEBUG_DATA_LOW_INDEX_8 0x12e0
3806 #define S_DEBUG_DBP_THREAD2_QID 0
3807 #define M_DEBUG_DBP_THREAD2_QID 0x1ffffU
3808 #define V_DEBUG_DBP_THREAD2_QID(x) ((x) << S_DEBUG_DBP_THREAD2_QID)
3809 #define G_DEBUG_DBP_THREAD2_QID(x) (((x) >> S_DEBUG_DBP_THREAD2_QID) & M_DEBUG_DBP_THREAD2_QID)
3811 #define A_SGE_DEBUG_DATA_LOW_INDEX_9 0x12e4
3813 #define S_DEBUG_DBP_THREAD3_QID 0
3814 #define M_DEBUG_DBP_THREAD3_QID 0x1ffffU
3815 #define V_DEBUG_DBP_THREAD3_QID(x) ((x) << S_DEBUG_DBP_THREAD3_QID)
3816 #define G_DEBUG_DBP_THREAD3_QID(x) (((x) >> S_DEBUG_DBP_THREAD3_QID) & M_DEBUG_DBP_THREAD3_QID)
3818 #define A_SGE_DEBUG_DATA_LOW_INDEX_10 0x12e8
3820 #define S_DEBUG_IMSG_CPL 16
3821 #define M_DEBUG_IMSG_CPL 0xffU
3822 #define V_DEBUG_IMSG_CPL(x) ((x) << S_DEBUG_IMSG_CPL)
3823 #define G_DEBUG_IMSG_CPL(x) (((x) >> S_DEBUG_IMSG_CPL) & M_DEBUG_IMSG_CPL)
3825 #define S_DEBUG_IMSG_QID 0
3826 #define M_DEBUG_IMSG_QID 0xffffU
3827 #define V_DEBUG_IMSG_QID(x) ((x) << S_DEBUG_IMSG_QID)
3828 #define G_DEBUG_IMSG_QID(x) (((x) >> S_DEBUG_IMSG_QID) & M_DEBUG_IMSG_QID)
3830 #define A_SGE_DEBUG_DATA_LOW_INDEX_11 0x12ec
3832 #define S_DEBUG_IDMA1_QID 16
3833 #define M_DEBUG_IDMA1_QID 0xffffU
3834 #define V_DEBUG_IDMA1_QID(x) ((x) << S_DEBUG_IDMA1_QID)
3835 #define G_DEBUG_IDMA1_QID(x) (((x) >> S_DEBUG_IDMA1_QID) & M_DEBUG_IDMA1_QID)
3837 #define S_DEBUG_IDMA0_QID 0
3838 #define M_DEBUG_IDMA0_QID 0xffffU
3839 #define V_DEBUG_IDMA0_QID(x) ((x) << S_DEBUG_IDMA0_QID)
3840 #define G_DEBUG_IDMA0_QID(x) (((x) >> S_DEBUG_IDMA0_QID) & M_DEBUG_IDMA0_QID)
3842 #define A_SGE_DEBUG_DATA_LOW_INDEX_12 0x12f0
3844 #define S_DEBUG_IDMA1_FLM_REQ_QID 16
3845 #define M_DEBUG_IDMA1_FLM_REQ_QID 0xffffU
3846 #define V_DEBUG_IDMA1_FLM_REQ_QID(x) ((x) << S_DEBUG_IDMA1_FLM_REQ_QID)
3847 #define G_DEBUG_IDMA1_FLM_REQ_QID(x) (((x) >> S_DEBUG_IDMA1_FLM_REQ_QID) & M_DEBUG_IDMA1_FLM_REQ_QID)
3849 #define S_DEBUG_IDMA0_FLM_REQ_QID 0
3850 #define M_DEBUG_IDMA0_FLM_REQ_QID 0xffffU
3851 #define V_DEBUG_IDMA0_FLM_REQ_QID(x) ((x) << S_DEBUG_IDMA0_FLM_REQ_QID)
3852 #define G_DEBUG_IDMA0_FLM_REQ_QID(x) (((x) >> S_DEBUG_IDMA0_FLM_REQ_QID) & M_DEBUG_IDMA0_FLM_REQ_QID)
3854 #define A_SGE_DEBUG_DATA_LOW_INDEX_13 0x12f4
3855 #define A_SGE_DEBUG_DATA_LOW_INDEX_14 0x12f8
3856 #define A_SGE_DEBUG_DATA_LOW_INDEX_15 0x12fc
3857 #define A_SGE_QUEUE_BASE_MAP_HIGH 0x1300
3859 #define S_EGRESS_LOG2SIZE 27
3860 #define M_EGRESS_LOG2SIZE 0x1fU
3861 #define V_EGRESS_LOG2SIZE(x) ((x) << S_EGRESS_LOG2SIZE)
3862 #define G_EGRESS_LOG2SIZE(x) (((x) >> S_EGRESS_LOG2SIZE) & M_EGRESS_LOG2SIZE)
3864 #define S_EGRESS_BASE 10
3865 #define M_EGRESS_BASE 0x1ffffU
3866 #define V_EGRESS_BASE(x) ((x) << S_EGRESS_BASE)
3867 #define G_EGRESS_BASE(x) (((x) >> S_EGRESS_BASE) & M_EGRESS_BASE)
3869 #define S_INGRESS2_LOG2SIZE 5
3870 #define M_INGRESS2_LOG2SIZE 0x1fU
3871 #define V_INGRESS2_LOG2SIZE(x) ((x) << S_INGRESS2_LOG2SIZE)
3872 #define G_INGRESS2_LOG2SIZE(x) (((x) >> S_INGRESS2_LOG2SIZE) & M_INGRESS2_LOG2SIZE)
3874 #define S_INGRESS1_LOG2SIZE 0
3875 #define M_INGRESS1_LOG2SIZE 0x1fU
3876 #define V_INGRESS1_LOG2SIZE(x) ((x) << S_INGRESS1_LOG2SIZE)
3877 #define G_INGRESS1_LOG2SIZE(x) (((x) >> S_INGRESS1_LOG2SIZE) & M_INGRESS1_LOG2SIZE)
3879 #define S_EGRESS_SIZE 27
3880 #define M_EGRESS_SIZE 0x1fU
3881 #define V_EGRESS_SIZE(x) ((x) << S_EGRESS_SIZE)
3882 #define G_EGRESS_SIZE(x) (((x) >> S_EGRESS_SIZE) & M_EGRESS_SIZE)
3884 #define S_INGRESS2_SIZE 5
3885 #define M_INGRESS2_SIZE 0x1fU
3886 #define V_INGRESS2_SIZE(x) ((x) << S_INGRESS2_SIZE)
3887 #define G_INGRESS2_SIZE(x) (((x) >> S_INGRESS2_SIZE) & M_INGRESS2_SIZE)
3889 #define S_INGRESS1_SIZE 0
3890 #define M_INGRESS1_SIZE 0x1fU
3891 #define V_INGRESS1_SIZE(x) ((x) << S_INGRESS1_SIZE)
3892 #define G_INGRESS1_SIZE(x) (((x) >> S_INGRESS1_SIZE) & M_INGRESS1_SIZE)
3894 #define A_SGE_WC_EGRS_BAR2_OFF_PF 0x1300
3896 #define S_PFIQSPERPAGE 28
3897 #define M_PFIQSPERPAGE 0xfU
3898 #define V_PFIQSPERPAGE(x) ((x) << S_PFIQSPERPAGE)
3899 #define G_PFIQSPERPAGE(x) (((x) >> S_PFIQSPERPAGE) & M_PFIQSPERPAGE)
3901 #define S_PFEQSPERPAGE 24
3902 #define M_PFEQSPERPAGE 0xfU
3903 #define V_PFEQSPERPAGE(x) ((x) << S_PFEQSPERPAGE)
3904 #define G_PFEQSPERPAGE(x) (((x) >> S_PFEQSPERPAGE) & M_PFEQSPERPAGE)
3906 #define S_PFWCQSPERPAGE 20
3907 #define M_PFWCQSPERPAGE 0xfU
3908 #define V_PFWCQSPERPAGE(x) ((x) << S_PFWCQSPERPAGE)
3909 #define G_PFWCQSPERPAGE(x) (((x) >> S_PFWCQSPERPAGE) & M_PFWCQSPERPAGE)
3911 #define S_PFWCOFFEN 19
3912 #define V_PFWCOFFEN(x) ((x) << S_PFWCOFFEN)
3913 #define F_PFWCOFFEN V_PFWCOFFEN(1U)
3915 #define S_PFMAXWCSIZE 17
3916 #define M_PFMAXWCSIZE 0x3U
3917 #define V_PFMAXWCSIZE(x) ((x) << S_PFMAXWCSIZE)
3918 #define G_PFMAXWCSIZE(x) (((x) >> S_PFMAXWCSIZE) & M_PFMAXWCSIZE)
3920 #define S_PFWCOFFSET 0
3921 #define M_PFWCOFFSET 0x1ffffU
3922 #define V_PFWCOFFSET(x) ((x) << S_PFWCOFFSET)
3923 #define G_PFWCOFFSET(x) (((x) >> S_PFWCOFFSET) & M_PFWCOFFSET)
3925 #define A_SGE_QUEUE_BASE_MAP_LOW 0x1304
3927 #define S_INGRESS2_BASE 16
3928 #define M_INGRESS2_BASE 0xffffU
3929 #define V_INGRESS2_BASE(x) ((x) << S_INGRESS2_BASE)
3930 #define G_INGRESS2_BASE(x) (((x) >> S_INGRESS2_BASE) & M_INGRESS2_BASE)
3932 #define S_INGRESS1_BASE 0
3933 #define M_INGRESS1_BASE 0xffffU
3934 #define V_INGRESS1_BASE(x) ((x) << S_INGRESS1_BASE)
3935 #define G_INGRESS1_BASE(x) (((x) >> S_INGRESS1_BASE) & M_INGRESS1_BASE)
3937 #define A_SGE_WC_EGRS_BAR2_OFF_VF 0x1320
3939 #define S_VFIQSPERPAGE 28
3940 #define M_VFIQSPERPAGE 0xfU
3941 #define V_VFIQSPERPAGE(x) ((x) << S_VFIQSPERPAGE)
3942 #define G_VFIQSPERPAGE(x) (((x) >> S_VFIQSPERPAGE) & M_VFIQSPERPAGE)
3944 #define S_VFEQSPERPAGE 24
3945 #define M_VFEQSPERPAGE 0xfU
3946 #define V_VFEQSPERPAGE(x) ((x) << S_VFEQSPERPAGE)
3947 #define G_VFEQSPERPAGE(x) (((x) >> S_VFEQSPERPAGE) & M_VFEQSPERPAGE)
3949 #define S_VFWCQSPERPAGE 20
3950 #define M_VFWCQSPERPAGE 0xfU
3951 #define V_VFWCQSPERPAGE(x) ((x) << S_VFWCQSPERPAGE)
3952 #define G_VFWCQSPERPAGE(x) (((x) >> S_VFWCQSPERPAGE) & M_VFWCQSPERPAGE)
3954 #define S_VFWCOFFEN 19
3955 #define V_VFWCOFFEN(x) ((x) << S_VFWCOFFEN)
3956 #define F_VFWCOFFEN V_VFWCOFFEN(1U)
3958 #define S_VFMAXWCSIZE 17
3959 #define M_VFMAXWCSIZE 0x3U
3960 #define V_VFMAXWCSIZE(x) ((x) << S_VFMAXWCSIZE)
3961 #define G_VFMAXWCSIZE(x) (((x) >> S_VFMAXWCSIZE) & M_VFMAXWCSIZE)
3963 #define S_VFWCOFFSET 0
3964 #define M_VFWCOFFSET 0x1ffffU
3965 #define V_VFWCOFFSET(x) ((x) << S_VFWCOFFSET)
3966 #define G_VFWCOFFSET(x) (((x) >> S_VFWCOFFSET) & M_VFWCOFFSET)
3968 #define A_SGE_LA_RDPTR_0 0x1800
3969 #define A_SGE_LA_RDDATA_0 0x1804
3970 #define A_SGE_LA_WRPTR_0 0x1808
3971 #define A_SGE_LA_RESERVED_0 0x180c
3972 #define A_SGE_LA_RDPTR_1 0x1810
3973 #define A_SGE_LA_RDDATA_1 0x1814
3974 #define A_SGE_LA_WRPTR_1 0x1818
3975 #define A_SGE_LA_RESERVED_1 0x181c
3976 #define A_SGE_LA_RDPTR_2 0x1820
3977 #define A_SGE_LA_RDDATA_2 0x1824
3978 #define A_SGE_LA_WRPTR_2 0x1828
3979 #define A_SGE_LA_RESERVED_2 0x182c
3980 #define A_SGE_LA_RDPTR_3 0x1830
3981 #define A_SGE_LA_RDDATA_3 0x1834
3982 #define A_SGE_LA_WRPTR_3 0x1838
3983 #define A_SGE_LA_RESERVED_3 0x183c
3984 #define A_SGE_LA_RDPTR_4 0x1840
3985 #define A_SGE_LA_RDDATA_4 0x1844
3986 #define A_SGE_LA_WRPTR_4 0x1848
3987 #define A_SGE_LA_RESERVED_4 0x184c
3988 #define A_SGE_LA_RDPTR_5 0x1850
3989 #define A_SGE_LA_RDDATA_5 0x1854
3990 #define A_SGE_LA_WRPTR_5 0x1858
3991 #define A_SGE_LA_RESERVED_5 0x185c
3992 #define A_SGE_LA_RDPTR_6 0x1860
3993 #define A_SGE_LA_RDDATA_6 0x1864
3994 #define A_SGE_LA_WRPTR_6 0x1868
3995 #define A_SGE_LA_RESERVED_6 0x186c
3996 #define A_SGE_LA_RDPTR_7 0x1870
3997 #define A_SGE_LA_RDDATA_7 0x1874
3998 #define A_SGE_LA_WRPTR_7 0x1878
3999 #define A_SGE_LA_RESERVED_7 0x187c
4000 #define A_SGE_LA_RDPTR_8 0x1880
4001 #define A_SGE_LA_RDDATA_8 0x1884
4002 #define A_SGE_LA_WRPTR_8 0x1888
4003 #define A_SGE_LA_RESERVED_8 0x188c
4004 #define A_SGE_LA_RDPTR_9 0x1890
4005 #define A_SGE_LA_RDDATA_9 0x1894
4006 #define A_SGE_LA_WRPTR_9 0x1898
4007 #define A_SGE_LA_RESERVED_9 0x189c
4008 #define A_SGE_LA_RDPTR_10 0x18a0
4009 #define A_SGE_LA_RDDATA_10 0x18a4
4010 #define A_SGE_LA_WRPTR_10 0x18a8
4011 #define A_SGE_LA_RESERVED_10 0x18ac
4012 #define A_SGE_LA_RDPTR_11 0x18b0
4013 #define A_SGE_LA_RDDATA_11 0x18b4
4014 #define A_SGE_LA_WRPTR_11 0x18b8
4015 #define A_SGE_LA_RESERVED_11 0x18bc
4016 #define A_SGE_LA_RDPTR_12 0x18c0
4017 #define A_SGE_LA_RDDATA_12 0x18c4
4018 #define A_SGE_LA_WRPTR_12 0x18c8
4019 #define A_SGE_LA_RESERVED_12 0x18cc
4020 #define A_SGE_LA_RDPTR_13 0x18d0
4021 #define A_SGE_LA_RDDATA_13 0x18d4
4022 #define A_SGE_LA_WRPTR_13 0x18d8
4023 #define A_SGE_LA_RESERVED_13 0x18dc
4024 #define A_SGE_LA_RDPTR_14 0x18e0
4025 #define A_SGE_LA_RDDATA_14 0x18e4
4026 #define A_SGE_LA_WRPTR_14 0x18e8
4027 #define A_SGE_LA_RESERVED_14 0x18ec
4028 #define A_SGE_LA_RDPTR_15 0x18f0
4029 #define A_SGE_LA_RDDATA_15 0x18f4
4030 #define A_SGE_LA_WRPTR_15 0x18f8
4031 #define A_SGE_LA_RESERVED_15 0x18fc
4033 /* registers for module PCIE */
4034 #define PCIE_BASE_ADDR 0x3000
4036 #define A_PCIE_PF_CFG 0x40
4038 #define S_INTXSTAT 16
4039 #define V_INTXSTAT(x) ((x) << S_INTXSTAT)
4040 #define F_INTXSTAT V_INTXSTAT(1U)
4042 #define S_AUXPWRPMEN 15
4043 #define V_AUXPWRPMEN(x) ((x) << S_AUXPWRPMEN)
4044 #define F_AUXPWRPMEN V_AUXPWRPMEN(1U)
4046 #define S_NOSOFTRESET 14
4047 #define V_NOSOFTRESET(x) ((x) << S_NOSOFTRESET)
4048 #define F_NOSOFTRESET V_NOSOFTRESET(1U)
4051 #define M_AIVEC 0x3ffU
4052 #define V_AIVEC(x) ((x) << S_AIVEC)
4053 #define G_AIVEC(x) (((x) >> S_AIVEC) & M_AIVEC)
4055 #define S_INTXTYPE 2
4056 #define M_INTXTYPE 0x3U
4057 #define V_INTXTYPE(x) ((x) << S_INTXTYPE)
4058 #define G_INTXTYPE(x) (((x) >> S_INTXTYPE) & M_INTXTYPE)
4061 #define V_D3HOTEN(x) ((x) << S_D3HOTEN)
4062 #define F_D3HOTEN V_D3HOTEN(1U)
4064 #define S_CLIDECEN 0
4065 #define V_CLIDECEN(x) ((x) << S_CLIDECEN)
4066 #define F_CLIDECEN V_CLIDECEN(1U)
4068 #define A_PCIE_PF_CLI 0x44
4069 #define A_PCIE_PF_GEN_MSG 0x48
4072 #define M_MSGTYPE 0xffU
4073 #define V_MSGTYPE(x) ((x) << S_MSGTYPE)
4074 #define G_MSGTYPE(x) (((x) >> S_MSGTYPE) & M_MSGTYPE)
4076 #define A_PCIE_PF_EXPROM_OFST 0x4c
4079 #define M_OFFSET 0x3fffU
4080 #define V_OFFSET(x) ((x) << S_OFFSET)
4081 #define G_OFFSET(x) (((x) >> S_OFFSET) & M_OFFSET)
4083 #define A_PCIE_INT_ENABLE 0x3000
4085 #define S_NONFATALERR 30
4086 #define V_NONFATALERR(x) ((x) << S_NONFATALERR)
4087 #define F_NONFATALERR V_NONFATALERR(1U)
4089 #define S_UNXSPLCPLERR 29
4090 #define V_UNXSPLCPLERR(x) ((x) << S_UNXSPLCPLERR)
4091 #define F_UNXSPLCPLERR V_UNXSPLCPLERR(1U)
4093 #define S_PCIEPINT 28
4094 #define V_PCIEPINT(x) ((x) << S_PCIEPINT)
4095 #define F_PCIEPINT V_PCIEPINT(1U)
4097 #define S_PCIESINT 27
4098 #define V_PCIESINT(x) ((x) << S_PCIESINT)
4099 #define F_PCIESINT V_PCIESINT(1U)
4101 #define S_RPLPERR 26
4102 #define V_RPLPERR(x) ((x) << S_RPLPERR)
4103 #define F_RPLPERR V_RPLPERR(1U)
4105 #define S_RXWRPERR 25
4106 #define V_RXWRPERR(x) ((x) << S_RXWRPERR)
4107 #define F_RXWRPERR V_RXWRPERR(1U)
4109 #define S_RXCPLPERR 24
4110 #define V_RXCPLPERR(x) ((x) << S_RXCPLPERR)
4111 #define F_RXCPLPERR V_RXCPLPERR(1U)
4113 #define S_PIOTAGPERR 23
4114 #define V_PIOTAGPERR(x) ((x) << S_PIOTAGPERR)
4115 #define F_PIOTAGPERR V_PIOTAGPERR(1U)
4117 #define S_MATAGPERR 22
4118 #define V_MATAGPERR(x) ((x) << S_MATAGPERR)
4119 #define F_MATAGPERR V_MATAGPERR(1U)
4121 #define S_INTXCLRPERR 21
4122 #define V_INTXCLRPERR(x) ((x) << S_INTXCLRPERR)
4123 #define F_INTXCLRPERR V_INTXCLRPERR(1U)
4125 #define S_FIDPERR 20
4126 #define V_FIDPERR(x) ((x) << S_FIDPERR)
4127 #define F_FIDPERR V_FIDPERR(1U)
4129 #define S_CFGSNPPERR 19
4130 #define V_CFGSNPPERR(x) ((x) << S_CFGSNPPERR)
4131 #define F_CFGSNPPERR V_CFGSNPPERR(1U)
4133 #define S_HRSPPERR 18
4134 #define V_HRSPPERR(x) ((x) << S_HRSPPERR)
4135 #define F_HRSPPERR V_HRSPPERR(1U)
4137 #define S_HREQPERR 17
4138 #define V_HREQPERR(x) ((x) << S_HREQPERR)
4139 #define F_HREQPERR V_HREQPERR(1U)
4141 #define S_HCNTPERR 16
4142 #define V_HCNTPERR(x) ((x) << S_HCNTPERR)
4143 #define F_HCNTPERR V_HCNTPERR(1U)
4145 #define S_DRSPPERR 15
4146 #define V_DRSPPERR(x) ((x) << S_DRSPPERR)
4147 #define F_DRSPPERR V_DRSPPERR(1U)
4149 #define S_DREQPERR 14
4150 #define V_DREQPERR(x) ((x) << S_DREQPERR)
4151 #define F_DREQPERR V_DREQPERR(1U)
4153 #define S_DCNTPERR 13
4154 #define V_DCNTPERR(x) ((x) << S_DCNTPERR)
4155 #define F_DCNTPERR V_DCNTPERR(1U)
4157 #define S_CRSPPERR 12
4158 #define V_CRSPPERR(x) ((x) << S_CRSPPERR)
4159 #define F_CRSPPERR V_CRSPPERR(1U)
4161 #define S_CREQPERR 11
4162 #define V_CREQPERR(x) ((x) << S_CREQPERR)
4163 #define F_CREQPERR V_CREQPERR(1U)
4165 #define S_CCNTPERR 10
4166 #define V_CCNTPERR(x) ((x) << S_CCNTPERR)
4167 #define F_CCNTPERR V_CCNTPERR(1U)
4169 #define S_TARTAGPERR 9
4170 #define V_TARTAGPERR(x) ((x) << S_TARTAGPERR)
4171 #define F_TARTAGPERR V_TARTAGPERR(1U)
4173 #define S_PIOREQPERR 8
4174 #define V_PIOREQPERR(x) ((x) << S_PIOREQPERR)
4175 #define F_PIOREQPERR V_PIOREQPERR(1U)
4177 #define S_PIOCPLPERR 7
4178 #define V_PIOCPLPERR(x) ((x) << S_PIOCPLPERR)
4179 #define F_PIOCPLPERR V_PIOCPLPERR(1U)
4181 #define S_MSIXDIPERR 6
4182 #define V_MSIXDIPERR(x) ((x) << S_MSIXDIPERR)
4183 #define F_MSIXDIPERR V_MSIXDIPERR(1U)
4185 #define S_MSIXDATAPERR 5
4186 #define V_MSIXDATAPERR(x) ((x) << S_MSIXDATAPERR)
4187 #define F_MSIXDATAPERR V_MSIXDATAPERR(1U)
4189 #define S_MSIXADDRHPERR 4
4190 #define V_MSIXADDRHPERR(x) ((x) << S_MSIXADDRHPERR)
4191 #define F_MSIXADDRHPERR V_MSIXADDRHPERR(1U)
4193 #define S_MSIXADDRLPERR 3
4194 #define V_MSIXADDRLPERR(x) ((x) << S_MSIXADDRLPERR)
4195 #define F_MSIXADDRLPERR V_MSIXADDRLPERR(1U)
4197 #define S_MSIDATAPERR 2
4198 #define V_MSIDATAPERR(x) ((x) << S_MSIDATAPERR)
4199 #define F_MSIDATAPERR V_MSIDATAPERR(1U)
4201 #define S_MSIADDRHPERR 1
4202 #define V_MSIADDRHPERR(x) ((x) << S_MSIADDRHPERR)
4203 #define F_MSIADDRHPERR V_MSIADDRHPERR(1U)
4205 #define S_MSIADDRLPERR 0
4206 #define V_MSIADDRLPERR(x) ((x) << S_MSIADDRLPERR)
4207 #define F_MSIADDRLPERR V_MSIADDRLPERR(1U)
4209 #define S_IPGRPPERR 31
4210 #define V_IPGRPPERR(x) ((x) << S_IPGRPPERR)
4211 #define F_IPGRPPERR V_IPGRPPERR(1U)
4213 #define S_READRSPERR 29
4214 #define V_READRSPERR(x) ((x) << S_READRSPERR)
4215 #define F_READRSPERR V_READRSPERR(1U)
4217 #define S_TRGT1GRPPERR 28
4218 #define V_TRGT1GRPPERR(x) ((x) << S_TRGT1GRPPERR)
4219 #define F_TRGT1GRPPERR V_TRGT1GRPPERR(1U)
4221 #define S_IPSOTPERR 27
4222 #define V_IPSOTPERR(x) ((x) << S_IPSOTPERR)
4223 #define F_IPSOTPERR V_IPSOTPERR(1U)
4225 #define S_IPRETRYPERR 26
4226 #define V_IPRETRYPERR(x) ((x) << S_IPRETRYPERR)
4227 #define F_IPRETRYPERR V_IPRETRYPERR(1U)
4229 #define S_IPRXDATAGRPPERR 25
4230 #define V_IPRXDATAGRPPERR(x) ((x) << S_IPRXDATAGRPPERR)
4231 #define F_IPRXDATAGRPPERR V_IPRXDATAGRPPERR(1U)
4233 #define S_IPRXHDRGRPPERR 24
4234 #define V_IPRXHDRGRPPERR(x) ((x) << S_IPRXHDRGRPPERR)
4235 #define F_IPRXHDRGRPPERR V_IPRXHDRGRPPERR(1U)
4237 #define S_PIOTAGQPERR 23
4238 #define V_PIOTAGQPERR(x) ((x) << S_PIOTAGQPERR)
4239 #define F_PIOTAGQPERR V_PIOTAGQPERR(1U)
4241 #define S_MAGRPPERR 22
4242 #define V_MAGRPPERR(x) ((x) << S_MAGRPPERR)
4243 #define F_MAGRPPERR V_MAGRPPERR(1U)
4245 #define S_VFIDPERR 21
4246 #define V_VFIDPERR(x) ((x) << S_VFIDPERR)
4247 #define F_VFIDPERR V_VFIDPERR(1U)
4249 #define S_HREQRDPERR 17
4250 #define V_HREQRDPERR(x) ((x) << S_HREQRDPERR)
4251 #define F_HREQRDPERR V_HREQRDPERR(1U)
4253 #define S_HREQWRPERR 16
4254 #define V_HREQWRPERR(x) ((x) << S_HREQWRPERR)
4255 #define F_HREQWRPERR V_HREQWRPERR(1U)
4257 #define S_DREQRDPERR 14
4258 #define V_DREQRDPERR(x) ((x) << S_DREQRDPERR)
4259 #define F_DREQRDPERR V_DREQRDPERR(1U)
4261 #define S_DREQWRPERR 13
4262 #define V_DREQWRPERR(x) ((x) << S_DREQWRPERR)
4263 #define F_DREQWRPERR V_DREQWRPERR(1U)
4265 #define S_CREQRDPERR 11
4266 #define V_CREQRDPERR(x) ((x) << S_CREQRDPERR)
4267 #define F_CREQRDPERR V_CREQRDPERR(1U)
4269 #define S_MSTTAGQPERR 10
4270 #define V_MSTTAGQPERR(x) ((x) << S_MSTTAGQPERR)
4271 #define F_MSTTAGQPERR V_MSTTAGQPERR(1U)
4273 #define S_TGTTAGQPERR 9
4274 #define V_TGTTAGQPERR(x) ((x) << S_TGTTAGQPERR)
4275 #define F_TGTTAGQPERR V_TGTTAGQPERR(1U)
4277 #define S_PIOREQGRPPERR 8
4278 #define V_PIOREQGRPPERR(x) ((x) << S_PIOREQGRPPERR)
4279 #define F_PIOREQGRPPERR V_PIOREQGRPPERR(1U)
4281 #define S_PIOCPLGRPPERR 7
4282 #define V_PIOCPLGRPPERR(x) ((x) << S_PIOCPLGRPPERR)
4283 #define F_PIOCPLGRPPERR V_PIOCPLGRPPERR(1U)
4285 #define S_MSIXSTIPERR 2
4286 #define V_MSIXSTIPERR(x) ((x) << S_MSIXSTIPERR)
4287 #define F_MSIXSTIPERR V_MSIXSTIPERR(1U)
4289 #define S_MSTTIMEOUTPERR 1
4290 #define V_MSTTIMEOUTPERR(x) ((x) << S_MSTTIMEOUTPERR)
4291 #define F_MSTTIMEOUTPERR V_MSTTIMEOUTPERR(1U)
4293 #define S_MSTGRPPERR 0
4294 #define V_MSTGRPPERR(x) ((x) << S_MSTGRPPERR)
4295 #define F_MSTGRPPERR V_MSTGRPPERR(1U)
4297 #define A_PCIE_INT_CAUSE 0x3004
4298 #define A_PCIE_PERR_ENABLE 0x3008
4299 #define A_PCIE_PERR_INJECT 0x300c
4302 #define V_IDE(x) ((x) << S_IDE)
4303 #define F_IDE V_IDE(1U)
4305 #define S_MEMSEL_PCIE 1
4306 #define M_MEMSEL_PCIE 0x1fU
4307 #define V_MEMSEL_PCIE(x) ((x) << S_MEMSEL_PCIE)
4308 #define G_MEMSEL_PCIE(x) (((x) >> S_MEMSEL_PCIE) & M_MEMSEL_PCIE)
4310 #define A_PCIE_NONFAT_ERR 0x3010
4312 #define S_RDRSPERR 9
4313 #define V_RDRSPERR(x) ((x) << S_RDRSPERR)
4314 #define F_RDRSPERR V_RDRSPERR(1U)
4316 #define S_VPDRSPERR 8
4317 #define V_VPDRSPERR(x) ((x) << S_VPDRSPERR)
4318 #define F_VPDRSPERR V_VPDRSPERR(1U)
4321 #define V_POPD(x) ((x) << S_POPD)
4322 #define F_POPD V_POPD(1U)
4325 #define V_POPH(x) ((x) << S_POPH)
4326 #define F_POPH V_POPH(1U)
4329 #define V_POPC(x) ((x) << S_POPC)
4330 #define F_POPC V_POPC(1U)
4333 #define V_MEMREQ(x) ((x) << S_MEMREQ)
4334 #define F_MEMREQ V_MEMREQ(1U)
4337 #define V_PIOREQ(x) ((x) << S_PIOREQ)
4338 #define F_PIOREQ V_PIOREQ(1U)
4341 #define V_TAGDROP(x) ((x) << S_TAGDROP)
4342 #define F_TAGDROP V_TAGDROP(1U)
4345 #define V_TAGCPL(x) ((x) << S_TAGCPL)
4346 #define F_TAGCPL V_TAGCPL(1U)
4349 #define V_CFGSNP(x) ((x) << S_CFGSNP)
4350 #define F_CFGSNP V_CFGSNP(1U)
4352 #define S_MAREQTIMEOUT 29
4353 #define V_MAREQTIMEOUT(x) ((x) << S_MAREQTIMEOUT)
4354 #define F_MAREQTIMEOUT V_MAREQTIMEOUT(1U)
4356 #define S_TRGT1BARTYPEERR 28
4357 #define V_TRGT1BARTYPEERR(x) ((x) << S_TRGT1BARTYPEERR)
4358 #define F_TRGT1BARTYPEERR V_TRGT1BARTYPEERR(1U)
4360 #define S_MAEXTRARSPERR 27
4361 #define V_MAEXTRARSPERR(x) ((x) << S_MAEXTRARSPERR)
4362 #define F_MAEXTRARSPERR V_MAEXTRARSPERR(1U)
4364 #define S_MARSPTIMEOUT 26
4365 #define V_MARSPTIMEOUT(x) ((x) << S_MARSPTIMEOUT)
4366 #define F_MARSPTIMEOUT V_MARSPTIMEOUT(1U)
4368 #define S_INTVFALLMSIDISERR 25
4369 #define V_INTVFALLMSIDISERR(x) ((x) << S_INTVFALLMSIDISERR)
4370 #define F_INTVFALLMSIDISERR V_INTVFALLMSIDISERR(1U)
4372 #define S_INTVFRANGEERR 24
4373 #define V_INTVFRANGEERR(x) ((x) << S_INTVFRANGEERR)
4374 #define F_INTVFRANGEERR V_INTVFRANGEERR(1U)
4376 #define S_INTPLIRSPERR 23
4377 #define V_INTPLIRSPERR(x) ((x) << S_INTPLIRSPERR)
4378 #define F_INTPLIRSPERR V_INTPLIRSPERR(1U)
4380 #define S_MEMREQRDTAGERR 22
4381 #define V_MEMREQRDTAGERR(x) ((x) << S_MEMREQRDTAGERR)
4382 #define F_MEMREQRDTAGERR V_MEMREQRDTAGERR(1U)
4384 #define S_CFGINITDONEERR 21
4385 #define V_CFGINITDONEERR(x) ((x) << S_CFGINITDONEERR)
4386 #define F_CFGINITDONEERR V_CFGINITDONEERR(1U)
4388 #define S_BAR2TIMEOUT 20
4389 #define V_BAR2TIMEOUT(x) ((x) << S_BAR2TIMEOUT)
4390 #define F_BAR2TIMEOUT V_BAR2TIMEOUT(1U)
4392 #define S_VPDTIMEOUT 19
4393 #define V_VPDTIMEOUT(x) ((x) << S_VPDTIMEOUT)
4394 #define F_VPDTIMEOUT V_VPDTIMEOUT(1U)
4396 #define S_MEMRSPRDTAGERR 18
4397 #define V_MEMRSPRDTAGERR(x) ((x) << S_MEMRSPRDTAGERR)
4398 #define F_MEMRSPRDTAGERR V_MEMRSPRDTAGERR(1U)
4400 #define S_MEMRSPWRTAGERR 17
4401 #define V_MEMRSPWRTAGERR(x) ((x) << S_MEMRSPWRTAGERR)
4402 #define F_MEMRSPWRTAGERR V_MEMRSPWRTAGERR(1U)
4404 #define S_PIORSPRDTAGERR 16
4405 #define V_PIORSPRDTAGERR(x) ((x) << S_PIORSPRDTAGERR)
4406 #define F_PIORSPRDTAGERR V_PIORSPRDTAGERR(1U)
4408 #define S_PIORSPWRTAGERR 15
4409 #define V_PIORSPWRTAGERR(x) ((x) << S_PIORSPWRTAGERR)
4410 #define F_PIORSPWRTAGERR V_PIORSPWRTAGERR(1U)
4412 #define S_DBITIMEOUT 14
4413 #define V_DBITIMEOUT(x) ((x) << S_DBITIMEOUT)
4414 #define F_DBITIMEOUT V_DBITIMEOUT(1U)
4416 #define S_PIOUNALINDWR 13
4417 #define V_PIOUNALINDWR(x) ((x) << S_PIOUNALINDWR)
4418 #define F_PIOUNALINDWR V_PIOUNALINDWR(1U)
4420 #define S_BAR2RDERR 12
4421 #define V_BAR2RDERR(x) ((x) << S_BAR2RDERR)
4422 #define F_BAR2RDERR V_BAR2RDERR(1U)
4424 #define S_MAWREOPERR 11
4425 #define V_MAWREOPERR(x) ((x) << S_MAWREOPERR)
4426 #define F_MAWREOPERR V_MAWREOPERR(1U)
4428 #define S_MARDEOPERR 10
4429 #define V_MARDEOPERR(x) ((x) << S_MARDEOPERR)
4430 #define F_MARDEOPERR V_MARDEOPERR(1U)
4433 #define V_BAR2REQ(x) ((x) << S_BAR2REQ)
4434 #define F_BAR2REQ V_BAR2REQ(1U)
4436 #define S_MARSPUE 30
4437 #define V_MARSPUE(x) ((x) << S_MARSPUE)
4438 #define F_MARSPUE V_MARSPUE(1U)
4440 #define S_KDBEOPERR 7
4441 #define V_KDBEOPERR(x) ((x) << S_KDBEOPERR)
4442 #define F_KDBEOPERR V_KDBEOPERR(1U)
4444 #define A_PCIE_CFG 0x3014
4446 #define S_CFGDMAXPYLDSZRX 26
4447 #define M_CFGDMAXPYLDSZRX 0x7U
4448 #define V_CFGDMAXPYLDSZRX(x) ((x) << S_CFGDMAXPYLDSZRX)
4449 #define G_CFGDMAXPYLDSZRX(x) (((x) >> S_CFGDMAXPYLDSZRX) & M_CFGDMAXPYLDSZRX)
4451 #define S_CFGDMAXPYLDSZTX 23
4452 #define M_CFGDMAXPYLDSZTX 0x7U
4453 #define V_CFGDMAXPYLDSZTX(x) ((x) << S_CFGDMAXPYLDSZTX)
4454 #define G_CFGDMAXPYLDSZTX(x) (((x) >> S_CFGDMAXPYLDSZTX) & M_CFGDMAXPYLDSZTX)
4456 #define S_CFGDMAXRDREQSZ 20
4457 #define M_CFGDMAXRDREQSZ 0x7U
4458 #define V_CFGDMAXRDREQSZ(x) ((x) << S_CFGDMAXRDREQSZ)
4459 #define G_CFGDMAXRDREQSZ(x) (((x) >> S_CFGDMAXRDREQSZ) & M_CFGDMAXRDREQSZ)
4461 #define S_MASYNCEN 19
4462 #define V_MASYNCEN(x) ((x) << S_MASYNCEN)
4463 #define F_MASYNCEN V_MASYNCEN(1U)
4465 #define S_DCAENDMA 18
4466 #define V_DCAENDMA(x) ((x) << S_DCAENDMA)
4467 #define F_DCAENDMA V_DCAENDMA(1U)
4469 #define S_DCAENCMD 17
4470 #define V_DCAENCMD(x) ((x) << S_DCAENCMD)
4471 #define F_DCAENCMD V_DCAENCMD(1U)
4473 #define S_VFMSIPNDEN 16
4474 #define V_VFMSIPNDEN(x) ((x) << S_VFMSIPNDEN)
4475 #define F_VFMSIPNDEN V_VFMSIPNDEN(1U)
4477 #define S_FORCETXERROR 15
4478 #define V_FORCETXERROR(x) ((x) << S_FORCETXERROR)
4479 #define F_FORCETXERROR V_FORCETXERROR(1U)
4481 #define S_VPDREQPROTECT 14
4482 #define V_VPDREQPROTECT(x) ((x) << S_VPDREQPROTECT)
4483 #define F_VPDREQPROTECT V_VPDREQPROTECT(1U)
4485 #define S_FIDTABLEINVALID 13
4486 #define V_FIDTABLEINVALID(x) ((x) << S_FIDTABLEINVALID)
4487 #define F_FIDTABLEINVALID V_FIDTABLEINVALID(1U)
4489 #define S_BYPASSMSIXCACHE 12
4490 #define V_BYPASSMSIXCACHE(x) ((x) << S_BYPASSMSIXCACHE)
4491 #define F_BYPASSMSIXCACHE V_BYPASSMSIXCACHE(1U)
4493 #define S_BYPASSMSICACHE 11
4494 #define V_BYPASSMSICACHE(x) ((x) << S_BYPASSMSICACHE)
4495 #define F_BYPASSMSICACHE V_BYPASSMSICACHE(1U)
4497 #define S_SIMSPEED 10
4498 #define V_SIMSPEED(x) ((x) << S_SIMSPEED)
4499 #define F_SIMSPEED V_SIMSPEED(1U)
4501 #define S_TC0_STAMP 9
4502 #define V_TC0_STAMP(x) ((x) << S_TC0_STAMP)
4503 #define F_TC0_STAMP V_TC0_STAMP(1U)
4505 #define S_AI_TCVAL 6
4506 #define M_AI_TCVAL 0x7U
4507 #define V_AI_TCVAL(x) ((x) << S_AI_TCVAL)
4508 #define G_AI_TCVAL(x) (((x) >> S_AI_TCVAL) & M_AI_TCVAL)
4510 #define S_DMASTOPEN 5
4511 #define V_DMASTOPEN(x) ((x) << S_DMASTOPEN)
4512 #define F_DMASTOPEN V_DMASTOPEN(1U)
4514 #define S_DEVSTATERSTMODE 4
4515 #define V_DEVSTATERSTMODE(x) ((x) << S_DEVSTATERSTMODE)
4516 #define F_DEVSTATERSTMODE V_DEVSTATERSTMODE(1U)
4518 #define S_HOTRSTPCIECRSTMODE 3
4519 #define V_HOTRSTPCIECRSTMODE(x) ((x) << S_HOTRSTPCIECRSTMODE)
4520 #define F_HOTRSTPCIECRSTMODE V_HOTRSTPCIECRSTMODE(1U)
4522 #define S_DLDNPCIECRSTMODE 2
4523 #define V_DLDNPCIECRSTMODE(x) ((x) << S_DLDNPCIECRSTMODE)
4524 #define F_DLDNPCIECRSTMODE V_DLDNPCIECRSTMODE(1U)
4526 #define S_DLDNPCIEPRECRSTMODE 1
4527 #define V_DLDNPCIEPRECRSTMODE(x) ((x) << S_DLDNPCIEPRECRSTMODE)
4528 #define F_DLDNPCIEPRECRSTMODE V_DLDNPCIEPRECRSTMODE(1U)
4530 #define S_LINKDNRSTEN 0
4531 #define V_LINKDNRSTEN(x) ((x) << S_LINKDNRSTEN)
4532 #define F_LINKDNRSTEN V_LINKDNRSTEN(1U)
4534 #define S_T5_PIOSTOPEN 31
4535 #define V_T5_PIOSTOPEN(x) ((x) << S_T5_PIOSTOPEN)
4536 #define F_T5_PIOSTOPEN V_T5_PIOSTOPEN(1U)
4538 #define S_DIAGCTRLBUS 28
4539 #define M_DIAGCTRLBUS 0x7U
4540 #define V_DIAGCTRLBUS(x) ((x) << S_DIAGCTRLBUS)
4541 #define G_DIAGCTRLBUS(x) (((x) >> S_DIAGCTRLBUS) & M_DIAGCTRLBUS)
4543 #define S_IPPERREN 27
4544 #define V_IPPERREN(x) ((x) << S_IPPERREN)
4545 #define F_IPPERREN V_IPPERREN(1U)
4547 #define S_CFGDEXTTAGEN 26
4548 #define V_CFGDEXTTAGEN(x) ((x) << S_CFGDEXTTAGEN)
4549 #define F_CFGDEXTTAGEN V_CFGDEXTTAGEN(1U)
4551 #define S_CFGDMAXPYLDSZ 23
4552 #define M_CFGDMAXPYLDSZ 0x7U
4553 #define V_CFGDMAXPYLDSZ(x) ((x) << S_CFGDMAXPYLDSZ)
4554 #define G_CFGDMAXPYLDSZ(x) (((x) >> S_CFGDMAXPYLDSZ) & M_CFGDMAXPYLDSZ)
4557 #define V_DCAEN(x) ((x) << S_DCAEN)
4558 #define F_DCAEN V_DCAEN(1U)
4560 #define S_T5CMDREQPRIORITY 16
4561 #define V_T5CMDREQPRIORITY(x) ((x) << S_T5CMDREQPRIORITY)
4562 #define F_T5CMDREQPRIORITY V_T5CMDREQPRIORITY(1U)
4564 #define S_T5VPDREQPROTECT 14
4565 #define M_T5VPDREQPROTECT 0x3U
4566 #define V_T5VPDREQPROTECT(x) ((x) << S_T5VPDREQPROTECT)
4567 #define G_T5VPDREQPROTECT(x) (((x) >> S_T5VPDREQPROTECT) & M_T5VPDREQPROTECT)
4569 #define S_DROPPEDRDRSPDATA 12
4570 #define V_DROPPEDRDRSPDATA(x) ((x) << S_DROPPEDRDRSPDATA)
4571 #define F_DROPPEDRDRSPDATA V_DROPPEDRDRSPDATA(1U)
4573 #define S_AI_INTX_REASSERTEN 11
4574 #define V_AI_INTX_REASSERTEN(x) ((x) << S_AI_INTX_REASSERTEN)
4575 #define F_AI_INTX_REASSERTEN V_AI_INTX_REASSERTEN(1U)
4577 #define S_AUTOTXNDISABLE 10
4578 #define V_AUTOTXNDISABLE(x) ((x) << S_AUTOTXNDISABLE)
4579 #define F_AUTOTXNDISABLE V_AUTOTXNDISABLE(1U)
4581 #define S_LINKREQRSTPCIECRSTMODE 3
4582 #define V_LINKREQRSTPCIECRSTMODE(x) ((x) << S_LINKREQRSTPCIECRSTMODE)
4583 #define F_LINKREQRSTPCIECRSTMODE V_LINKREQRSTPCIECRSTMODE(1U)
4585 #define S_T6_PIOSTOPEN 31
4586 #define V_T6_PIOSTOPEN(x) ((x) << S_T6_PIOSTOPEN)
4587 #define F_T6_PIOSTOPEN V_T6_PIOSTOPEN(1U)
4589 #define A_PCIE_DMA_CTRL 0x3018
4591 #define S_LITTLEENDIAN 7
4592 #define V_LITTLEENDIAN(x) ((x) << S_LITTLEENDIAN)
4593 #define F_LITTLEENDIAN V_LITTLEENDIAN(1U)
4595 #define A_PCIE_CFG2 0x3018
4597 #define S_VPDTIMER 16
4598 #define M_VPDTIMER 0xffffU
4599 #define V_VPDTIMER(x) ((x) << S_VPDTIMER)
4600 #define G_VPDTIMER(x) (((x) >> S_VPDTIMER) & M_VPDTIMER)
4602 #define S_BAR2TIMER 4
4603 #define M_BAR2TIMER 0xfffU
4604 #define V_BAR2TIMER(x) ((x) << S_BAR2TIMER)
4605 #define G_BAR2TIMER(x) (((x) >> S_BAR2TIMER) & M_BAR2TIMER)
4607 #define S_MSTREQRDRRASIMPLE 3
4608 #define V_MSTREQRDRRASIMPLE(x) ((x) << S_MSTREQRDRRASIMPLE)
4609 #define F_MSTREQRDRRASIMPLE V_MSTREQRDRRASIMPLE(1U)
4611 #define S_TOTMAXTAG 0
4612 #define M_TOTMAXTAG 0x3U
4613 #define V_TOTMAXTAG(x) ((x) << S_TOTMAXTAG)
4614 #define G_TOTMAXTAG(x) (((x) >> S_TOTMAXTAG) & M_TOTMAXTAG)
4616 #define S_T6_TOTMAXTAG 0
4617 #define M_T6_TOTMAXTAG 0x7U
4618 #define V_T6_TOTMAXTAG(x) ((x) << S_T6_TOTMAXTAG)
4619 #define G_T6_TOTMAXTAG(x) (((x) >> S_T6_TOTMAXTAG) & M_T6_TOTMAXTAG)
4621 #define A_PCIE_DMA_CFG 0x301c
4623 #define S_MAXPYLDSIZE 28
4624 #define M_MAXPYLDSIZE 0x7U
4625 #define V_MAXPYLDSIZE(x) ((x) << S_MAXPYLDSIZE)
4626 #define G_MAXPYLDSIZE(x) (((x) >> S_MAXPYLDSIZE) & M_MAXPYLDSIZE)
4628 #define S_MAXRDREQSIZE 25
4629 #define M_MAXRDREQSIZE 0x7U
4630 #define V_MAXRDREQSIZE(x) ((x) << S_MAXRDREQSIZE)
4631 #define G_MAXRDREQSIZE(x) (((x) >> S_MAXRDREQSIZE) & M_MAXRDREQSIZE)
4633 #define S_DMA_MAXRSPCNT 16
4634 #define M_DMA_MAXRSPCNT 0x1ffU
4635 #define V_DMA_MAXRSPCNT(x) ((x) << S_DMA_MAXRSPCNT)
4636 #define G_DMA_MAXRSPCNT(x) (((x) >> S_DMA_MAXRSPCNT) & M_DMA_MAXRSPCNT)
4638 #define S_DMA_MAXREQCNT 8
4639 #define M_DMA_MAXREQCNT 0xffU
4640 #define V_DMA_MAXREQCNT(x) ((x) << S_DMA_MAXREQCNT)
4641 #define G_DMA_MAXREQCNT(x) (((x) >> S_DMA_MAXREQCNT) & M_DMA_MAXREQCNT)
4644 #define M_MAXTAG 0x7fU
4645 #define V_MAXTAG(x) ((x) << S_MAXTAG)
4646 #define G_MAXTAG(x) (((x) >> S_MAXTAG) & M_MAXTAG)
4648 #define A_PCIE_CFG3 0x301c
4650 #define S_AUTOPIOCOOKIEMATCH 6
4651 #define V_AUTOPIOCOOKIEMATCH(x) ((x) << S_AUTOPIOCOOKIEMATCH)
4652 #define F_AUTOPIOCOOKIEMATCH V_AUTOPIOCOOKIEMATCH(1U)
4654 #define S_FLRPNDCPLMODE 4
4655 #define M_FLRPNDCPLMODE 0x3U
4656 #define V_FLRPNDCPLMODE(x) ((x) << S_FLRPNDCPLMODE)
4657 #define G_FLRPNDCPLMODE(x) (((x) >> S_FLRPNDCPLMODE) & M_FLRPNDCPLMODE)
4659 #define S_HMADCASTFIRSTONLY 2
4660 #define V_HMADCASTFIRSTONLY(x) ((x) << S_HMADCASTFIRSTONLY)
4661 #define F_HMADCASTFIRSTONLY V_HMADCASTFIRSTONLY(1U)
4663 #define S_CMDDCASTFIRSTONLY 1
4664 #define V_CMDDCASTFIRSTONLY(x) ((x) << S_CMDDCASTFIRSTONLY)
4665 #define F_CMDDCASTFIRSTONLY V_CMDDCASTFIRSTONLY(1U)
4667 #define S_DMADCASTFIRSTONLY 0
4668 #define V_DMADCASTFIRSTONLY(x) ((x) << S_DMADCASTFIRSTONLY)
4669 #define F_DMADCASTFIRSTONLY V_DMADCASTFIRSTONLY(1U)
4671 #define A_PCIE_DMA_STAT 0x3020
4673 #define S_STATEREQ 28
4674 #define M_STATEREQ 0xfU
4675 #define V_STATEREQ(x) ((x) << S_STATEREQ)
4676 #define G_STATEREQ(x) (((x) >> S_STATEREQ) & M_STATEREQ)
4678 #define S_DMA_RSPCNT 16
4679 #define M_DMA_RSPCNT 0xfffU
4680 #define V_DMA_RSPCNT(x) ((x) << S_DMA_RSPCNT)
4681 #define G_DMA_RSPCNT(x) (((x) >> S_DMA_RSPCNT) & M_DMA_RSPCNT)
4683 #define S_STATEAREQ 13
4684 #define M_STATEAREQ 0x7U
4685 #define V_STATEAREQ(x) ((x) << S_STATEAREQ)
4686 #define G_STATEAREQ(x) (((x) >> S_STATEAREQ) & M_STATEAREQ)
4688 #define S_TAGFREE 12
4689 #define V_TAGFREE(x) ((x) << S_TAGFREE)
4690 #define F_TAGFREE V_TAGFREE(1U)
4692 #define S_DMA_REQCNT 0
4693 #define M_DMA_REQCNT 0x7ffU
4694 #define V_DMA_REQCNT(x) ((x) << S_DMA_REQCNT)
4695 #define G_DMA_REQCNT(x) (((x) >> S_DMA_REQCNT) & M_DMA_REQCNT)
4697 #define A_PCIE_CFG4 0x3020
4699 #define S_L1CLKREMOVALEN 17
4700 #define V_L1CLKREMOVALEN(x) ((x) << S_L1CLKREMOVALEN)
4701 #define F_L1CLKREMOVALEN V_L1CLKREMOVALEN(1U)
4703 #define S_READYENTERL23 16
4704 #define V_READYENTERL23(x) ((x) << S_READYENTERL23)
4705 #define F_READYENTERL23 V_READYENTERL23(1U)
4708 #define V_EXITL1(x) ((x) << S_EXITL1)
4709 #define F_EXITL1 V_EXITL1(1U)
4712 #define V_ENTERL1(x) ((x) << S_ENTERL1)
4713 #define F_ENTERL1 V_ENTERL1(1U)
4716 #define M_GENPME 0xffU
4717 #define V_GENPME(x) ((x) << S_GENPME)
4718 #define G_GENPME(x) (((x) >> S_GENPME) & M_GENPME)
4720 #define A_PCIE_CFG5 0x3024
4722 #define S_ENABLESKPPARITYFIX 2
4723 #define V_ENABLESKPPARITYFIX(x) ((x) << S_ENABLESKPPARITYFIX)
4724 #define F_ENABLESKPPARITYFIX V_ENABLESKPPARITYFIX(1U)
4726 #define S_ENABLEL2ENTRYINL1 1
4727 #define V_ENABLEL2ENTRYINL1(x) ((x) << S_ENABLEL2ENTRYINL1)
4728 #define F_ENABLEL2ENTRYINL1 V_ENABLEL2ENTRYINL1(1U)
4730 #define S_HOLDCPLENTERINGL1 0
4731 #define V_HOLDCPLENTERINGL1(x) ((x) << S_HOLDCPLENTERINGL1)
4732 #define F_HOLDCPLENTERINGL1 V_HOLDCPLENTERINGL1(1U)
4734 #define A_PCIE_CFG6 0x3028
4736 #define S_PERSTTIMERCOUNT 12
4737 #define M_PERSTTIMERCOUNT 0x3fffU
4738 #define V_PERSTTIMERCOUNT(x) ((x) << S_PERSTTIMERCOUNT)
4739 #define G_PERSTTIMERCOUNT(x) (((x) >> S_PERSTTIMERCOUNT) & M_PERSTTIMERCOUNT)
4741 #define S_PERSTTIMEOUT 8
4742 #define V_PERSTTIMEOUT(x) ((x) << S_PERSTTIMEOUT)
4743 #define F_PERSTTIMEOUT V_PERSTTIMEOUT(1U)
4745 #define S_PERSTTIMER 0
4746 #define M_PERSTTIMER 0xfU
4747 #define V_PERSTTIMER(x) ((x) << S_PERSTTIMER)
4748 #define G_PERSTTIMER(x) (((x) >> S_PERSTTIMER) & M_PERSTTIMER)
4750 #define A_PCIE_CFG7 0x302c
4751 #define A_PCIE_CMD_CTRL 0x303c
4752 #define A_PCIE_CMD_CFG 0x3040
4754 #define S_MAXRSPCNT 16
4755 #define M_MAXRSPCNT 0xfU
4756 #define V_MAXRSPCNT(x) ((x) << S_MAXRSPCNT)
4757 #define G_MAXRSPCNT(x) (((x) >> S_MAXRSPCNT) & M_MAXRSPCNT)
4759 #define S_MAXREQCNT 8
4760 #define M_MAXREQCNT 0x1fU
4761 #define V_MAXREQCNT(x) ((x) << S_MAXREQCNT)
4762 #define G_MAXREQCNT(x) (((x) >> S_MAXREQCNT) & M_MAXREQCNT)
4764 #define A_PCIE_CMD_STAT 0x3044
4767 #define M_RSPCNT 0x7fU
4768 #define V_RSPCNT(x) ((x) << S_RSPCNT)
4769 #define G_RSPCNT(x) (((x) >> S_RSPCNT) & M_RSPCNT)
4772 #define M_REQCNT 0xffU
4773 #define V_REQCNT(x) ((x) << S_REQCNT)
4774 #define G_REQCNT(x) (((x) >> S_REQCNT) & M_REQCNT)
4776 #define A_PCIE_HMA_CTRL 0x3050
4778 #define S_IPLTSSM 12
4779 #define M_IPLTSSM 0xfU
4780 #define V_IPLTSSM(x) ((x) << S_IPLTSSM)
4781 #define G_IPLTSSM(x) (((x) >> S_IPLTSSM) & M_IPLTSSM)
4783 #define S_IPCONFIGDOWN 8
4784 #define M_IPCONFIGDOWN 0x7U
4785 #define V_IPCONFIGDOWN(x) ((x) << S_IPCONFIGDOWN)
4786 #define G_IPCONFIGDOWN(x) (((x) >> S_IPCONFIGDOWN) & M_IPCONFIGDOWN)
4788 #define A_PCIE_HMA_CFG 0x3054
4790 #define S_HMA_MAXRSPCNT 16
4791 #define M_HMA_MAXRSPCNT 0x1fU
4792 #define V_HMA_MAXRSPCNT(x) ((x) << S_HMA_MAXRSPCNT)
4793 #define G_HMA_MAXRSPCNT(x) (((x) >> S_HMA_MAXRSPCNT) & M_HMA_MAXRSPCNT)
4795 #define A_PCIE_HMA_STAT 0x3058
4797 #define S_HMA_RSPCNT 16
4798 #define M_HMA_RSPCNT 0xffU
4799 #define V_HMA_RSPCNT(x) ((x) << S_HMA_RSPCNT)
4800 #define G_HMA_RSPCNT(x) (((x) >> S_HMA_RSPCNT) & M_HMA_RSPCNT)
4802 #define A_PCIE_PIO_FIFO_CFG 0x305c
4804 #define S_CPLCONFIG 16
4805 #define M_CPLCONFIG 0xffffU
4806 #define V_CPLCONFIG(x) ((x) << S_CPLCONFIG)
4807 #define G_CPLCONFIG(x) (((x) >> S_CPLCONFIG) & M_CPLCONFIG)
4809 #define S_PIOSTOPEN 12
4810 #define V_PIOSTOPEN(x) ((x) << S_PIOSTOPEN)
4811 #define F_PIOSTOPEN V_PIOSTOPEN(1U)
4813 #define S_IPLANESWAP 11
4814 #define V_IPLANESWAP(x) ((x) << S_IPLANESWAP)
4815 #define F_IPLANESWAP V_IPLANESWAP(1U)
4817 #define S_FORCESTRICTTS1 10
4818 #define V_FORCESTRICTTS1(x) ((x) << S_FORCESTRICTTS1)
4819 #define F_FORCESTRICTTS1 V_FORCESTRICTTS1(1U)
4821 #define S_FORCEPROGRESSCNT 0
4822 #define M_FORCEPROGRESSCNT 0x3ffU
4823 #define V_FORCEPROGRESSCNT(x) ((x) << S_FORCEPROGRESSCNT)
4824 #define G_FORCEPROGRESSCNT(x) (((x) >> S_FORCEPROGRESSCNT) & M_FORCEPROGRESSCNT)
4826 #define A_PCIE_CFG_SPACE_REQ 0x3060
4829 #define V_ENABLE(x) ((x) << S_ENABLE)
4830 #define F_ENABLE V_ENABLE(1U)
4833 #define V_AI(x) ((x) << S_AI)
4834 #define F_AI V_AI(1U)
4836 #define S_LOCALCFG 28
4837 #define V_LOCALCFG(x) ((x) << S_LOCALCFG)
4838 #define F_LOCALCFG V_LOCALCFG(1U)
4842 #define V_BUS(x) ((x) << S_BUS)
4843 #define G_BUS(x) (((x) >> S_BUS) & M_BUS)
4846 #define M_DEVICE 0x1fU
4847 #define V_DEVICE(x) ((x) << S_DEVICE)
4848 #define G_DEVICE(x) (((x) >> S_DEVICE) & M_DEVICE)
4850 #define S_FUNCTION 12
4851 #define M_FUNCTION 0x7U
4852 #define V_FUNCTION(x) ((x) << S_FUNCTION)
4853 #define G_FUNCTION(x) (((x) >> S_FUNCTION) & M_FUNCTION)
4855 #define S_EXTREGISTER 8
4856 #define M_EXTREGISTER 0xfU
4857 #define V_EXTREGISTER(x) ((x) << S_EXTREGISTER)
4858 #define G_EXTREGISTER(x) (((x) >> S_EXTREGISTER) & M_EXTREGISTER)
4860 #define S_REGISTER 0
4861 #define M_REGISTER 0xffU
4862 #define V_REGISTER(x) ((x) << S_REGISTER)
4863 #define G_REGISTER(x) (((x) >> S_REGISTER) & M_REGISTER)
4866 #define V_CS2(x) ((x) << S_CS2)
4867 #define F_CS2 V_CS2(1U)
4871 #define V_WRBE(x) ((x) << S_WRBE)
4872 #define G_WRBE(x) (((x) >> S_WRBE) & M_WRBE)
4874 #define S_CFG_SPACE_VFVLD 23
4875 #define V_CFG_SPACE_VFVLD(x) ((x) << S_CFG_SPACE_VFVLD)
4876 #define F_CFG_SPACE_VFVLD V_CFG_SPACE_VFVLD(1U)
4878 #define S_CFG_SPACE_RVF 16
4879 #define M_CFG_SPACE_RVF 0x7fU
4880 #define V_CFG_SPACE_RVF(x) ((x) << S_CFG_SPACE_RVF)
4881 #define G_CFG_SPACE_RVF(x) (((x) >> S_CFG_SPACE_RVF) & M_CFG_SPACE_RVF)
4883 #define S_CFG_SPACE_PF 12
4884 #define M_CFG_SPACE_PF 0x7U
4885 #define V_CFG_SPACE_PF(x) ((x) << S_CFG_SPACE_PF)
4886 #define G_CFG_SPACE_PF(x) (((x) >> S_CFG_SPACE_PF) & M_CFG_SPACE_PF)
4888 #define S_T6_ENABLE 31
4889 #define V_T6_ENABLE(x) ((x) << S_T6_ENABLE)
4890 #define F_T6_ENABLE V_T6_ENABLE(1U)
4893 #define V_T6_AI(x) ((x) << S_T6_AI)
4894 #define F_T6_AI V_T6_AI(1U)
4897 #define V_T6_CS2(x) ((x) << S_T6_CS2)
4898 #define F_T6_CS2 V_T6_CS2(1U)
4900 #define S_T6_WRBE 25
4901 #define M_T6_WRBE 0xfU
4902 #define V_T6_WRBE(x) ((x) << S_T6_WRBE)
4903 #define G_T6_WRBE(x) (((x) >> S_T6_WRBE) & M_T6_WRBE)
4905 #define S_T6_CFG_SPACE_VFVLD 24
4906 #define V_T6_CFG_SPACE_VFVLD(x) ((x) << S_T6_CFG_SPACE_VFVLD)
4907 #define F_T6_CFG_SPACE_VFVLD V_T6_CFG_SPACE_VFVLD(1U)
4909 #define S_T6_CFG_SPACE_RVF 16
4910 #define M_T6_CFG_SPACE_RVF 0xffU
4911 #define V_T6_CFG_SPACE_RVF(x) ((x) << S_T6_CFG_SPACE_RVF)
4912 #define G_T6_CFG_SPACE_RVF(x) (((x) >> S_T6_CFG_SPACE_RVF) & M_T6_CFG_SPACE_RVF)
4914 #define A_PCIE_CFG_SPACE_DATA 0x3064
4915 #define A_PCIE_MEM_ACCESS_BASE_WIN 0x3068
4917 #define S_PCIEOFST 10
4918 #define M_PCIEOFST 0x3fffffU
4919 #define V_PCIEOFST(x) ((x) << S_PCIEOFST)
4920 #define G_PCIEOFST(x) (((x) >> S_PCIEOFST) & M_PCIEOFST)
4924 #define V_BIR(x) ((x) << S_BIR)
4925 #define G_BIR(x) (((x) >> S_BIR) & M_BIR)
4928 #define M_WINDOW 0xffU
4929 #define V_WINDOW(x) ((x) << S_WINDOW)
4930 #define G_WINDOW(x) (((x) >> S_WINDOW) & M_WINDOW)
4932 #define A_PCIE_MEM_ACCESS_OFFSET 0x306c
4935 #define M_MEMOFST 0x1ffffffU
4936 #define V_MEMOFST(x) ((x) << S_MEMOFST)
4937 #define G_MEMOFST(x) (((x) >> S_MEMOFST) & M_MEMOFST)
4939 #define A_PCIE_MAILBOX_BASE_WIN 0x30a8
4941 #define S_MBOXPCIEOFST 6
4942 #define M_MBOXPCIEOFST 0x3ffffffU
4943 #define V_MBOXPCIEOFST(x) ((x) << S_MBOXPCIEOFST)
4944 #define G_MBOXPCIEOFST(x) (((x) >> S_MBOXPCIEOFST) & M_MBOXPCIEOFST)
4947 #define M_MBOXBIR 0x3U
4948 #define V_MBOXBIR(x) ((x) << S_MBOXBIR)
4949 #define G_MBOXBIR(x) (((x) >> S_MBOXBIR) & M_MBOXBIR)
4952 #define M_MBOXWIN 0x3U
4953 #define V_MBOXWIN(x) ((x) << S_MBOXWIN)
4954 #define G_MBOXWIN(x) (((x) >> S_MBOXWIN) & M_MBOXWIN)
4956 #define A_PCIE_MAILBOX_OFFSET 0x30ac
4957 #define A_PCIE_MA_CTRL 0x30b0
4959 #define S_MA_TAGFREE 29
4960 #define V_MA_TAGFREE(x) ((x) << S_MA_TAGFREE)
4961 #define F_MA_TAGFREE V_MA_TAGFREE(1U)
4963 #define S_MA_MAXRSPCNT 24
4964 #define M_MA_MAXRSPCNT 0x1fU
4965 #define V_MA_MAXRSPCNT(x) ((x) << S_MA_MAXRSPCNT)
4966 #define G_MA_MAXRSPCNT(x) (((x) >> S_MA_MAXRSPCNT) & M_MA_MAXRSPCNT)
4968 #define S_MA_MAXREQCNT 16
4969 #define M_MA_MAXREQCNT 0x1fU
4970 #define V_MA_MAXREQCNT(x) ((x) << S_MA_MAXREQCNT)
4971 #define G_MA_MAXREQCNT(x) (((x) >> S_MA_MAXREQCNT) & M_MA_MAXREQCNT)
4974 #define V_MA_LE(x) ((x) << S_MA_LE)
4975 #define F_MA_LE V_MA_LE(1U)
4977 #define S_MA_MAXPYLDSIZE 12
4978 #define M_MA_MAXPYLDSIZE 0x7U
4979 #define V_MA_MAXPYLDSIZE(x) ((x) << S_MA_MAXPYLDSIZE)
4980 #define G_MA_MAXPYLDSIZE(x) (((x) >> S_MA_MAXPYLDSIZE) & M_MA_MAXPYLDSIZE)
4982 #define S_MA_MAXRDREQSIZE 8
4983 #define M_MA_MAXRDREQSIZE 0x7U
4984 #define V_MA_MAXRDREQSIZE(x) ((x) << S_MA_MAXRDREQSIZE)
4985 #define G_MA_MAXRDREQSIZE(x) (((x) >> S_MA_MAXRDREQSIZE) & M_MA_MAXRDREQSIZE)
4987 #define S_MA_MAXTAG 0
4988 #define M_MA_MAXTAG 0x1fU
4989 #define V_MA_MAXTAG(x) ((x) << S_MA_MAXTAG)
4990 #define G_MA_MAXTAG(x) (((x) >> S_MA_MAXTAG) & M_MA_MAXTAG)
4992 #define S_T5_MA_MAXREQCNT 16
4993 #define M_T5_MA_MAXREQCNT 0x7fU
4994 #define V_T5_MA_MAXREQCNT(x) ((x) << S_T5_MA_MAXREQCNT)
4995 #define G_T5_MA_MAXREQCNT(x) (((x) >> S_T5_MA_MAXREQCNT) & M_T5_MA_MAXREQCNT)
4997 #define S_MA_MAXREQSIZE 8
4998 #define M_MA_MAXREQSIZE 0x7U
4999 #define V_MA_MAXREQSIZE(x) ((x) << S_MA_MAXREQSIZE)
5000 #define G_MA_MAXREQSIZE(x) (((x) >> S_MA_MAXREQSIZE) & M_MA_MAXREQSIZE)
5002 #define A_PCIE_MA_SYNC 0x30b4
5003 #define A_PCIE_FW 0x30b8
5004 #define A_PCIE_FW_PF 0x30bc
5005 #define A_PCIE_PIO_PAUSE 0x30dc
5007 #define S_PIOPAUSEDONE 31
5008 #define V_PIOPAUSEDONE(x) ((x) << S_PIOPAUSEDONE)
5009 #define F_PIOPAUSEDONE V_PIOPAUSEDONE(1U)
5011 #define S_PIOPAUSETIME 4
5012 #define M_PIOPAUSETIME 0xffffffU
5013 #define V_PIOPAUSETIME(x) ((x) << S_PIOPAUSETIME)
5014 #define G_PIOPAUSETIME(x) (((x) >> S_PIOPAUSETIME) & M_PIOPAUSETIME)
5016 #define S_PIOPAUSE 0
5017 #define V_PIOPAUSE(x) ((x) << S_PIOPAUSE)
5018 #define F_PIOPAUSE V_PIOPAUSE(1U)
5020 #define S_MSTPAUSEDONE 30
5021 #define V_MSTPAUSEDONE(x) ((x) << S_MSTPAUSEDONE)
5022 #define F_MSTPAUSEDONE V_MSTPAUSEDONE(1U)
5024 #define S_MSTPAUSE 1
5025 #define V_MSTPAUSE(x) ((x) << S_MSTPAUSE)
5026 #define F_MSTPAUSE V_MSTPAUSE(1U)
5028 #define A_PCIE_SYS_CFG_READY 0x30e0
5029 #define A_PCIE_MA_STAT 0x30e0
5030 #define A_PCIE_STATIC_CFG1 0x30e4
5032 #define S_LINKDOWN_RESET_EN 26
5033 #define V_LINKDOWN_RESET_EN(x) ((x) << S_LINKDOWN_RESET_EN)
5034 #define F_LINKDOWN_RESET_EN V_LINKDOWN_RESET_EN(1U)
5036 #define S_IN_WR_DISCONTIG 25
5037 #define V_IN_WR_DISCONTIG(x) ((x) << S_IN_WR_DISCONTIG)
5038 #define F_IN_WR_DISCONTIG V_IN_WR_DISCONTIG(1U)
5040 #define S_IN_RD_CPLSIZE 22
5041 #define M_IN_RD_CPLSIZE 0x7U
5042 #define V_IN_RD_CPLSIZE(x) ((x) << S_IN_RD_CPLSIZE)
5043 #define G_IN_RD_CPLSIZE(x) (((x) >> S_IN_RD_CPLSIZE) & M_IN_RD_CPLSIZE)
5045 #define S_IN_RD_BUFMODE 20
5046 #define M_IN_RD_BUFMODE 0x3U
5047 #define V_IN_RD_BUFMODE(x) ((x) << S_IN_RD_BUFMODE)
5048 #define G_IN_RD_BUFMODE(x) (((x) >> S_IN_RD_BUFMODE) & M_IN_RD_BUFMODE)
5050 #define S_GBIF_NPTRANS_TOT 18
5051 #define M_GBIF_NPTRANS_TOT 0x3U
5052 #define V_GBIF_NPTRANS_TOT(x) ((x) << S_GBIF_NPTRANS_TOT)
5053 #define G_GBIF_NPTRANS_TOT(x) (((x) >> S_GBIF_NPTRANS_TOT) & M_GBIF_NPTRANS_TOT)
5055 #define S_IN_PDAT_TOT 15
5056 #define M_IN_PDAT_TOT 0x7U
5057 #define V_IN_PDAT_TOT(x) ((x) << S_IN_PDAT_TOT)
5058 #define G_IN_PDAT_TOT(x) (((x) >> S_IN_PDAT_TOT) & M_IN_PDAT_TOT)
5060 #define S_PCIE_NPTRANS_TOT 12
5061 #define M_PCIE_NPTRANS_TOT 0x7U
5062 #define V_PCIE_NPTRANS_TOT(x) ((x) << S_PCIE_NPTRANS_TOT)
5063 #define G_PCIE_NPTRANS_TOT(x) (((x) >> S_PCIE_NPTRANS_TOT) & M_PCIE_NPTRANS_TOT)
5065 #define S_OUT_PDAT_TOT 9
5066 #define M_OUT_PDAT_TOT 0x7U
5067 #define V_OUT_PDAT_TOT(x) ((x) << S_OUT_PDAT_TOT)
5068 #define G_OUT_PDAT_TOT(x) (((x) >> S_OUT_PDAT_TOT) & M_OUT_PDAT_TOT)
5070 #define S_GBIF_MAX_WRSIZE 6
5071 #define M_GBIF_MAX_WRSIZE 0x7U
5072 #define V_GBIF_MAX_WRSIZE(x) ((x) << S_GBIF_MAX_WRSIZE)
5073 #define G_GBIF_MAX_WRSIZE(x) (((x) >> S_GBIF_MAX_WRSIZE) & M_GBIF_MAX_WRSIZE)
5075 #define S_GBIF_MAX_RDSIZE 3
5076 #define M_GBIF_MAX_RDSIZE 0x7U
5077 #define V_GBIF_MAX_RDSIZE(x) ((x) << S_GBIF_MAX_RDSIZE)
5078 #define G_GBIF_MAX_RDSIZE(x) (((x) >> S_GBIF_MAX_RDSIZE) & M_GBIF_MAX_RDSIZE)
5080 #define S_PCIE_MAX_RDSIZE 0
5081 #define M_PCIE_MAX_RDSIZE 0x7U
5082 #define V_PCIE_MAX_RDSIZE(x) ((x) << S_PCIE_MAX_RDSIZE)
5083 #define G_PCIE_MAX_RDSIZE(x) (((x) >> S_PCIE_MAX_RDSIZE) & M_PCIE_MAX_RDSIZE)
5085 #define S_AUXPOWER_DETECTED 27
5086 #define V_AUXPOWER_DETECTED(x) ((x) << S_AUXPOWER_DETECTED)
5087 #define F_AUXPOWER_DETECTED V_AUXPOWER_DETECTED(1U)
5089 #define A_PCIE_STATIC_CFG2 0x30e8
5091 #define S_PL_CONTROL 16
5092 #define M_PL_CONTROL 0xffffU
5093 #define V_PL_CONTROL(x) ((x) << S_PL_CONTROL)
5094 #define G_PL_CONTROL(x) (((x) >> S_PL_CONTROL) & M_PL_CONTROL)
5096 #define S_STATIC_SPARE3 0
5097 #define M_STATIC_SPARE3 0x3fffU
5098 #define V_STATIC_SPARE3(x) ((x) << S_STATIC_SPARE3)
5099 #define G_STATIC_SPARE3(x) (((x) >> S_STATIC_SPARE3) & M_STATIC_SPARE3)
5101 #define A_PCIE_DBG_INDIR_REQ 0x30ec
5103 #define S_DBGENABLE 31
5104 #define V_DBGENABLE(x) ((x) << S_DBGENABLE)
5105 #define F_DBGENABLE V_DBGENABLE(1U)
5107 #define S_DBGAUTOINC 30
5108 #define V_DBGAUTOINC(x) ((x) << S_DBGAUTOINC)
5109 #define F_DBGAUTOINC V_DBGAUTOINC(1U)
5112 #define M_POINTER 0xffffU
5113 #define V_POINTER(x) ((x) << S_POINTER)
5114 #define G_POINTER(x) (((x) >> S_POINTER) & M_POINTER)
5117 #define M_SELECT 0xfU
5118 #define V_SELECT(x) ((x) << S_SELECT)
5119 #define G_SELECT(x) (((x) >> S_SELECT) & M_SELECT)
5121 #define A_PCIE_DBG_INDIR_DATA_0 0x30f0
5122 #define A_PCIE_DBG_INDIR_DATA_1 0x30f4
5123 #define A_PCIE_DBG_INDIR_DATA_2 0x30f8
5124 #define A_PCIE_DBG_INDIR_DATA_3 0x30fc
5125 #define A_PCIE_FUNC_INT_CFG 0x3100
5127 #define S_PBAOFST 28
5128 #define M_PBAOFST 0xfU
5129 #define V_PBAOFST(x) ((x) << S_PBAOFST)
5130 #define G_PBAOFST(x) (((x) >> S_PBAOFST) & M_PBAOFST)
5132 #define S_TABOFST 24
5133 #define M_TABOFST 0xfU
5134 #define V_TABOFST(x) ((x) << S_TABOFST)
5135 #define G_TABOFST(x) (((x) >> S_TABOFST) & M_TABOFST)
5138 #define M_VECNUM 0x3ffU
5139 #define V_VECNUM(x) ((x) << S_VECNUM)
5140 #define G_VECNUM(x) (((x) >> S_VECNUM) & M_VECNUM)
5143 #define M_VECBASE 0x7ffU
5144 #define V_VECBASE(x) ((x) << S_VECBASE)
5145 #define G_VECBASE(x) (((x) >> S_VECBASE) & M_VECBASE)
5147 #define A_PCIE_FUNC_CTL_STAT 0x3104
5149 #define S_SENDFLRRSP 31
5150 #define V_SENDFLRRSP(x) ((x) << S_SENDFLRRSP)
5151 #define F_SENDFLRRSP V_SENDFLRRSP(1U)
5153 #define S_IMMFLRRSP 24
5154 #define V_IMMFLRRSP(x) ((x) << S_IMMFLRRSP)
5155 #define F_IMMFLRRSP V_IMMFLRRSP(1U)
5157 #define S_TXNDISABLE 20
5158 #define V_TXNDISABLE(x) ((x) << S_TXNDISABLE)
5159 #define F_TXNDISABLE V_TXNDISABLE(1U)
5162 #define M_PNDTXNS 0x3ffU
5163 #define V_PNDTXNS(x) ((x) << S_PNDTXNS)
5164 #define G_PNDTXNS(x) (((x) >> S_PNDTXNS) & M_PNDTXNS)
5167 #define V_VFVLD(x) ((x) << S_VFVLD)
5168 #define F_VFVLD V_VFVLD(1U)
5171 #define M_PFNUM 0x7U
5172 #define V_PFNUM(x) ((x) << S_PFNUM)
5173 #define G_PFNUM(x) (((x) >> S_PFNUM) & M_PFNUM)
5175 #define A_PCIE_PF_INT_CFG 0x3140
5176 #define A_PCIE_PF_INT_CFG2 0x3144
5177 #define A_PCIE_VF_INT_CFG 0x3180
5178 #define A_PCIE_VF_INT_CFG2 0x3184
5179 #define A_PCIE_PF_MSI_EN 0x35a8
5181 #define S_PFMSIEN_7_0 0
5182 #define M_PFMSIEN_7_0 0xffU
5183 #define V_PFMSIEN_7_0(x) ((x) << S_PFMSIEN_7_0)
5184 #define G_PFMSIEN_7_0(x) (((x) >> S_PFMSIEN_7_0) & M_PFMSIEN_7_0)
5186 #define A_PCIE_VF_MSI_EN_0 0x35ac
5187 #define A_PCIE_VF_MSI_EN_1 0x35b0
5188 #define A_PCIE_VF_MSI_EN_2 0x35b4
5189 #define A_PCIE_VF_MSI_EN_3 0x35b8
5190 #define A_PCIE_PF_MSIX_EN 0x35bc
5192 #define S_PFMSIXEN_7_0 0
5193 #define M_PFMSIXEN_7_0 0xffU
5194 #define V_PFMSIXEN_7_0(x) ((x) << S_PFMSIXEN_7_0)
5195 #define G_PFMSIXEN_7_0(x) (((x) >> S_PFMSIXEN_7_0) & M_PFMSIXEN_7_0)
5197 #define A_PCIE_VF_MSIX_EN_0 0x35c0
5198 #define A_PCIE_VF_MSIX_EN_1 0x35c4
5199 #define A_PCIE_VF_MSIX_EN_2 0x35c8
5200 #define A_PCIE_VF_MSIX_EN_3 0x35cc
5201 #define A_PCIE_FID_VFID_SEL 0x35ec
5203 #define S_FID_VFID_SEL_SELECT 0
5204 #define M_FID_VFID_SEL_SELECT 0x3U
5205 #define V_FID_VFID_SEL_SELECT(x) ((x) << S_FID_VFID_SEL_SELECT)
5206 #define G_FID_VFID_SEL_SELECT(x) (((x) >> S_FID_VFID_SEL_SELECT) & M_FID_VFID_SEL_SELECT)
5208 #define A_PCIE_FID_VFID 0x3600
5210 #define S_FID_VFID_SELECT 30
5211 #define M_FID_VFID_SELECT 0x3U
5212 #define V_FID_VFID_SELECT(x) ((x) << S_FID_VFID_SELECT)
5213 #define G_FID_VFID_SELECT(x) (((x) >> S_FID_VFID_SELECT) & M_FID_VFID_SELECT)
5216 #define V_IDO(x) ((x) << S_IDO)
5217 #define F_IDO V_IDO(1U)
5219 #define S_FID_VFID_VFID 16
5220 #define M_FID_VFID_VFID 0xffU
5221 #define V_FID_VFID_VFID(x) ((x) << S_FID_VFID_VFID)
5222 #define G_FID_VFID_VFID(x) (((x) >> S_FID_VFID_VFID) & M_FID_VFID_VFID)
5224 #define S_FID_VFID_TC 11
5225 #define M_FID_VFID_TC 0x7U
5226 #define V_FID_VFID_TC(x) ((x) << S_FID_VFID_TC)
5227 #define G_FID_VFID_TC(x) (((x) >> S_FID_VFID_TC) & M_FID_VFID_TC)
5229 #define S_FID_VFID_VFVLD 10
5230 #define V_FID_VFID_VFVLD(x) ((x) << S_FID_VFID_VFVLD)
5231 #define F_FID_VFID_VFVLD V_FID_VFID_VFVLD(1U)
5233 #define S_FID_VFID_PF 7
5234 #define M_FID_VFID_PF 0x7U
5235 #define V_FID_VFID_PF(x) ((x) << S_FID_VFID_PF)
5236 #define G_FID_VFID_PF(x) (((x) >> S_FID_VFID_PF) & M_FID_VFID_PF)
5238 #define S_FID_VFID_RVF 0
5239 #define M_FID_VFID_RVF 0x7fU
5240 #define V_FID_VFID_RVF(x) ((x) << S_FID_VFID_RVF)
5241 #define G_FID_VFID_RVF(x) (((x) >> S_FID_VFID_RVF) & M_FID_VFID_RVF)
5243 #define S_T6_FID_VFID_VFID 15
5244 #define M_T6_FID_VFID_VFID 0x1ffU
5245 #define V_T6_FID_VFID_VFID(x) ((x) << S_T6_FID_VFID_VFID)
5246 #define G_T6_FID_VFID_VFID(x) (((x) >> S_T6_FID_VFID_VFID) & M_T6_FID_VFID_VFID)
5248 #define S_T6_FID_VFID_TC 12
5249 #define M_T6_FID_VFID_TC 0x7U
5250 #define V_T6_FID_VFID_TC(x) ((x) << S_T6_FID_VFID_TC)
5251 #define G_T6_FID_VFID_TC(x) (((x) >> S_T6_FID_VFID_TC) & M_T6_FID_VFID_TC)
5253 #define S_T6_FID_VFID_VFVLD 11
5254 #define V_T6_FID_VFID_VFVLD(x) ((x) << S_T6_FID_VFID_VFVLD)
5255 #define F_T6_FID_VFID_VFVLD V_T6_FID_VFID_VFVLD(1U)
5257 #define S_T6_FID_VFID_PF 8
5258 #define M_T6_FID_VFID_PF 0x7U
5259 #define V_T6_FID_VFID_PF(x) ((x) << S_T6_FID_VFID_PF)
5260 #define G_T6_FID_VFID_PF(x) (((x) >> S_T6_FID_VFID_PF) & M_T6_FID_VFID_PF)
5262 #define S_T6_FID_VFID_RVF 0
5263 #define M_T6_FID_VFID_RVF 0xffU
5264 #define V_T6_FID_VFID_RVF(x) ((x) << S_T6_FID_VFID_RVF)
5265 #define G_T6_FID_VFID_RVF(x) (((x) >> S_T6_FID_VFID_RVF) & M_T6_FID_VFID_RVF)
5267 #define A_PCIE_FID 0x3900
5270 #define V_PAD(x) ((x) << S_PAD)
5271 #define F_PAD V_PAD(1U)
5275 #define V_TC(x) ((x) << S_TC)
5276 #define G_TC(x) (((x) >> S_TC) & M_TC)
5279 #define M_FUNC 0xffU
5280 #define V_FUNC(x) ((x) << S_FUNC)
5281 #define G_FUNC(x) (((x) >> S_FUNC) & M_FUNC)
5283 #define A_PCIE_COOKIE_STAT 0x5600
5285 #define S_COOKIEB 16
5286 #define M_COOKIEB 0x3ffU
5287 #define V_COOKIEB(x) ((x) << S_COOKIEB)
5288 #define G_COOKIEB(x) (((x) >> S_COOKIEB) & M_COOKIEB)
5291 #define M_COOKIEA 0x3ffU
5292 #define V_COOKIEA(x) ((x) << S_COOKIEA)
5293 #define G_COOKIEA(x) (((x) >> S_COOKIEA) & M_COOKIEA)
5295 #define A_PCIE_FLR_PIO 0x5620
5297 #define S_RCVDBAR2COOKIE 24
5298 #define M_RCVDBAR2COOKIE 0xffU
5299 #define V_RCVDBAR2COOKIE(x) ((x) << S_RCVDBAR2COOKIE)
5300 #define G_RCVDBAR2COOKIE(x) (((x) >> S_RCVDBAR2COOKIE) & M_RCVDBAR2COOKIE)
5302 #define S_RCVDMARSPCOOKIE 16
5303 #define M_RCVDMARSPCOOKIE 0xffU
5304 #define V_RCVDMARSPCOOKIE(x) ((x) << S_RCVDMARSPCOOKIE)
5305 #define G_RCVDMARSPCOOKIE(x) (((x) >> S_RCVDMARSPCOOKIE) & M_RCVDMARSPCOOKIE)
5307 #define S_RCVDPIORSPCOOKIE 8
5308 #define M_RCVDPIORSPCOOKIE 0xffU
5309 #define V_RCVDPIORSPCOOKIE(x) ((x) << S_RCVDPIORSPCOOKIE)
5310 #define G_RCVDPIORSPCOOKIE(x) (((x) >> S_RCVDPIORSPCOOKIE) & M_RCVDPIORSPCOOKIE)
5312 #define S_EXPDCOOKIE 0
5313 #define M_EXPDCOOKIE 0xffU
5314 #define V_EXPDCOOKIE(x) ((x) << S_EXPDCOOKIE)
5315 #define G_EXPDCOOKIE(x) (((x) >> S_EXPDCOOKIE) & M_EXPDCOOKIE)
5317 #define A_PCIE_FLR_PIO2 0x5624
5319 #define S_RCVDMAREQCOOKIE 16
5320 #define M_RCVDMAREQCOOKIE 0xffU
5321 #define V_RCVDMAREQCOOKIE(x) ((x) << S_RCVDMAREQCOOKIE)
5322 #define G_RCVDMAREQCOOKIE(x) (((x) >> S_RCVDMAREQCOOKIE) & M_RCVDMAREQCOOKIE)
5324 #define S_RCVDPIOREQCOOKIE 8
5325 #define M_RCVDPIOREQCOOKIE 0xffU
5326 #define V_RCVDPIOREQCOOKIE(x) ((x) << S_RCVDPIOREQCOOKIE)
5327 #define G_RCVDPIOREQCOOKIE(x) (((x) >> S_RCVDPIOREQCOOKIE) & M_RCVDPIOREQCOOKIE)
5329 #define S_RCVDVDMRXCOOKIE 24
5330 #define M_RCVDVDMRXCOOKIE 0xffU
5331 #define V_RCVDVDMRXCOOKIE(x) ((x) << S_RCVDVDMRXCOOKIE)
5332 #define G_RCVDVDMRXCOOKIE(x) (((x) >> S_RCVDVDMRXCOOKIE) & M_RCVDVDMRXCOOKIE)
5334 #define S_RCVDVDMTXCOOKIE 16
5335 #define M_RCVDVDMTXCOOKIE 0xffU
5336 #define V_RCVDVDMTXCOOKIE(x) ((x) << S_RCVDVDMTXCOOKIE)
5337 #define G_RCVDVDMTXCOOKIE(x) (((x) >> S_RCVDVDMTXCOOKIE) & M_RCVDVDMTXCOOKIE)
5339 #define S_T6_RCVDMAREQCOOKIE 8
5340 #define M_T6_RCVDMAREQCOOKIE 0xffU
5341 #define V_T6_RCVDMAREQCOOKIE(x) ((x) << S_T6_RCVDMAREQCOOKIE)
5342 #define G_T6_RCVDMAREQCOOKIE(x) (((x) >> S_T6_RCVDMAREQCOOKIE) & M_T6_RCVDMAREQCOOKIE)
5344 #define S_T6_RCVDPIOREQCOOKIE 0
5345 #define M_T6_RCVDPIOREQCOOKIE 0xffU
5346 #define V_T6_RCVDPIOREQCOOKIE(x) ((x) << S_T6_RCVDPIOREQCOOKIE)
5347 #define G_T6_RCVDPIOREQCOOKIE(x) (((x) >> S_T6_RCVDPIOREQCOOKIE) & M_T6_RCVDPIOREQCOOKIE)
5349 #define A_PCIE_VC0_CDTS0 0x56cc
5352 #define M_CPLD0 0xfffU
5353 #define V_CPLD0(x) ((x) << S_CPLD0)
5354 #define G_CPLD0(x) (((x) >> S_CPLD0) & M_CPLD0)
5358 #define V_PH0(x) ((x) << S_PH0)
5359 #define G_PH0(x) (((x) >> S_PH0) & M_PH0)
5362 #define M_PD0 0xfffU
5363 #define V_PD0(x) ((x) << S_PD0)
5364 #define G_PD0(x) (((x) >> S_PD0) & M_PD0)
5366 #define A_PCIE_VC0_CDTS1 0x56d0
5369 #define M_CPLH0 0xffU
5370 #define V_CPLH0(x) ((x) << S_CPLH0)
5371 #define G_CPLH0(x) (((x) >> S_CPLH0) & M_CPLH0)
5374 #define M_NPH0 0xffU
5375 #define V_NPH0(x) ((x) << S_NPH0)
5376 #define G_NPH0(x) (((x) >> S_NPH0) & M_NPH0)
5379 #define M_NPD0 0xfffU
5380 #define V_NPD0(x) ((x) << S_NPD0)
5381 #define G_NPD0(x) (((x) >> S_NPD0) & M_NPD0)
5383 #define A_PCIE_VC1_CDTS0 0x56d4
5386 #define M_CPLD1 0xfffU
5387 #define V_CPLD1(x) ((x) << S_CPLD1)
5388 #define G_CPLD1(x) (((x) >> S_CPLD1) & M_CPLD1)
5392 #define V_PH1(x) ((x) << S_PH1)
5393 #define G_PH1(x) (((x) >> S_PH1) & M_PH1)
5396 #define M_PD1 0xfffU
5397 #define V_PD1(x) ((x) << S_PD1)
5398 #define G_PD1(x) (((x) >> S_PD1) & M_PD1)
5400 #define A_PCIE_VC1_CDTS1 0x56d8
5403 #define M_CPLH1 0xffU
5404 #define V_CPLH1(x) ((x) << S_CPLH1)
5405 #define G_CPLH1(x) (((x) >> S_CPLH1) & M_CPLH1)
5408 #define M_NPH1 0xffU
5409 #define V_NPH1(x) ((x) << S_NPH1)
5410 #define G_NPH1(x) (((x) >> S_NPH1) & M_NPH1)
5413 #define M_NPD1 0xfffU
5414 #define V_NPD1(x) ((x) << S_NPD1)
5415 #define G_NPD1(x) (((x) >> S_NPD1) & M_NPD1)
5417 #define A_PCIE_FLR_PF_STATUS 0x56dc
5418 #define A_PCIE_FLR_VF0_STATUS 0x56e0
5419 #define A_PCIE_FLR_VF1_STATUS 0x56e4
5420 #define A_PCIE_FLR_VF2_STATUS 0x56e8
5421 #define A_PCIE_FLR_VF3_STATUS 0x56ec
5422 #define A_PCIE_STAT 0x56f4
5424 #define S_PM_STATUS 24
5425 #define M_PM_STATUS 0xffU
5426 #define V_PM_STATUS(x) ((x) << S_PM_STATUS)
5427 #define G_PM_STATUS(x) (((x) >> S_PM_STATUS) & M_PM_STATUS)
5429 #define S_PM_CURRENTSTATE 20
5430 #define M_PM_CURRENTSTATE 0x7U
5431 #define V_PM_CURRENTSTATE(x) ((x) << S_PM_CURRENTSTATE)
5432 #define G_PM_CURRENTSTATE(x) (((x) >> S_PM_CURRENTSTATE) & M_PM_CURRENTSTATE)
5434 #define S_LTSSMENABLE 12
5435 #define V_LTSSMENABLE(x) ((x) << S_LTSSMENABLE)
5436 #define F_LTSSMENABLE V_LTSSMENABLE(1U)
5438 #define S_STATECFGINITF 4
5439 #define M_STATECFGINITF 0x7fU
5440 #define V_STATECFGINITF(x) ((x) << S_STATECFGINITF)
5441 #define G_STATECFGINITF(x) (((x) >> S_STATECFGINITF) & M_STATECFGINITF)
5443 #define S_STATECFGINIT 0
5444 #define M_STATECFGINIT 0xfU
5445 #define V_STATECFGINIT(x) ((x) << S_STATECFGINIT)
5446 #define G_STATECFGINIT(x) (((x) >> S_STATECFGINIT) & M_STATECFGINIT)
5448 #define S_LTSSMENABLE_PCIE 12
5449 #define V_LTSSMENABLE_PCIE(x) ((x) << S_LTSSMENABLE_PCIE)
5450 #define F_LTSSMENABLE_PCIE V_LTSSMENABLE_PCIE(1U)
5452 #define S_STATECFGINITF_PCIE 4
5453 #define M_STATECFGINITF_PCIE 0xffU
5454 #define V_STATECFGINITF_PCIE(x) ((x) << S_STATECFGINITF_PCIE)
5455 #define G_STATECFGINITF_PCIE(x) (((x) >> S_STATECFGINITF_PCIE) & M_STATECFGINITF_PCIE)
5457 #define S_STATECFGINIT_PCIE 0
5458 #define M_STATECFGINIT_PCIE 0xfU
5459 #define V_STATECFGINIT_PCIE(x) ((x) << S_STATECFGINIT_PCIE)
5460 #define G_STATECFGINIT_PCIE(x) (((x) >> S_STATECFGINIT_PCIE) & M_STATECFGINIT_PCIE)
5462 #define A_PCIE_CRS 0x56f8
5464 #define S_CRS_ENABLE 0
5465 #define V_CRS_ENABLE(x) ((x) << S_CRS_ENABLE)
5466 #define F_CRS_ENABLE V_CRS_ENABLE(1U)
5468 #define A_PCIE_LTSSM 0x56fc
5470 #define S_LTSSM_ENABLE 0
5471 #define V_LTSSM_ENABLE(x) ((x) << S_LTSSM_ENABLE)
5472 #define F_LTSSM_ENABLE V_LTSSM_ENABLE(1U)
5474 #define S_LTSSM_STALL_DISABLE 1
5475 #define V_LTSSM_STALL_DISABLE(x) ((x) << S_LTSSM_STALL_DISABLE)
5476 #define F_LTSSM_STALL_DISABLE V_LTSSM_STALL_DISABLE(1U)
5478 #define A_PCIE_CORE_ACK_LATENCY_TIMER_REPLAY_TIMER 0x5700
5480 #define S_REPLAY_TIME_LIMIT 16
5481 #define M_REPLAY_TIME_LIMIT 0xffffU
5482 #define V_REPLAY_TIME_LIMIT(x) ((x) << S_REPLAY_TIME_LIMIT)
5483 #define G_REPLAY_TIME_LIMIT(x) (((x) >> S_REPLAY_TIME_LIMIT) & M_REPLAY_TIME_LIMIT)
5485 #define S_ACK_LATENCY_TIMER_LIMIT 0
5486 #define M_ACK_LATENCY_TIMER_LIMIT 0xffffU
5487 #define V_ACK_LATENCY_TIMER_LIMIT(x) ((x) << S_ACK_LATENCY_TIMER_LIMIT)
5488 #define G_ACK_LATENCY_TIMER_LIMIT(x) (((x) >> S_ACK_LATENCY_TIMER_LIMIT) & M_ACK_LATENCY_TIMER_LIMIT)
5490 #define A_PCIE_CORE_VENDOR_SPECIFIC_DLLP 0x5704
5491 #define A_PCIE_CORE_PORT_FORCE_LINK 0x5708
5493 #define S_LOW_POWER_ENTRANCE_COUNT 24
5494 #define M_LOW_POWER_ENTRANCE_COUNT 0xffU
5495 #define V_LOW_POWER_ENTRANCE_COUNT(x) ((x) << S_LOW_POWER_ENTRANCE_COUNT)
5496 #define G_LOW_POWER_ENTRANCE_COUNT(x) (((x) >> S_LOW_POWER_ENTRANCE_COUNT) & M_LOW_POWER_ENTRANCE_COUNT)
5498 #define S_LINK_STATE 16
5499 #define M_LINK_STATE 0x3fU
5500 #define V_LINK_STATE(x) ((x) << S_LINK_STATE)
5501 #define G_LINK_STATE(x) (((x) >> S_LINK_STATE) & M_LINK_STATE)
5503 #define S_FORCE_LINK 15
5504 #define V_FORCE_LINK(x) ((x) << S_FORCE_LINK)
5505 #define F_FORCE_LINK V_FORCE_LINK(1U)
5507 #define S_LINK_NUMBER 0
5508 #define M_LINK_NUMBER 0xffU
5509 #define V_LINK_NUMBER(x) ((x) << S_LINK_NUMBER)
5510 #define G_LINK_NUMBER(x) (((x) >> S_LINK_NUMBER) & M_LINK_NUMBER)
5512 #define A_PCIE_CORE_ACK_FREQUENCY_L0L1_ASPM_CONTROL 0x570c
5514 #define S_ENTER_ASPM_L1_WO_L0S 30
5515 #define V_ENTER_ASPM_L1_WO_L0S(x) ((x) << S_ENTER_ASPM_L1_WO_L0S)
5516 #define F_ENTER_ASPM_L1_WO_L0S V_ENTER_ASPM_L1_WO_L0S(1U)
5518 #define S_L1_ENTRANCE_LATENCY 27
5519 #define M_L1_ENTRANCE_LATENCY 0x7U
5520 #define V_L1_ENTRANCE_LATENCY(x) ((x) << S_L1_ENTRANCE_LATENCY)
5521 #define G_L1_ENTRANCE_LATENCY(x) (((x) >> S_L1_ENTRANCE_LATENCY) & M_L1_ENTRANCE_LATENCY)
5523 #define S_L0S_ENTRANCE_LATENCY 24
5524 #define M_L0S_ENTRANCE_LATENCY 0x7U
5525 #define V_L0S_ENTRANCE_LATENCY(x) ((x) << S_L0S_ENTRANCE_LATENCY)
5526 #define G_L0S_ENTRANCE_LATENCY(x) (((x) >> S_L0S_ENTRANCE_LATENCY) & M_L0S_ENTRANCE_LATENCY)
5528 #define S_COMMON_CLOCK_N_FTS 16
5529 #define M_COMMON_CLOCK_N_FTS 0xffU
5530 #define V_COMMON_CLOCK_N_FTS(x) ((x) << S_COMMON_CLOCK_N_FTS)
5531 #define G_COMMON_CLOCK_N_FTS(x) (((x) >> S_COMMON_CLOCK_N_FTS) & M_COMMON_CLOCK_N_FTS)
5534 #define M_N_FTS 0xffU
5535 #define V_N_FTS(x) ((x) << S_N_FTS)
5536 #define G_N_FTS(x) (((x) >> S_N_FTS) & M_N_FTS)
5538 #define S_ACK_FREQUENCY 0
5539 #define M_ACK_FREQUENCY 0xffU
5540 #define V_ACK_FREQUENCY(x) ((x) << S_ACK_FREQUENCY)
5541 #define G_ACK_FREQUENCY(x) (((x) >> S_ACK_FREQUENCY) & M_ACK_FREQUENCY)
5543 #define A_PCIE_CORE_PORT_LINK_CONTROL 0x5710
5545 #define S_CROSSLINK_ACTIVE 23
5546 #define V_CROSSLINK_ACTIVE(x) ((x) << S_CROSSLINK_ACTIVE)
5547 #define F_CROSSLINK_ACTIVE V_CROSSLINK_ACTIVE(1U)
5549 #define S_CROSSLINK_ENABLE 22
5550 #define V_CROSSLINK_ENABLE(x) ((x) << S_CROSSLINK_ENABLE)
5551 #define F_CROSSLINK_ENABLE V_CROSSLINK_ENABLE(1U)
5553 #define S_LINK_MODE_ENABLE 16
5554 #define M_LINK_MODE_ENABLE 0x3fU
5555 #define V_LINK_MODE_ENABLE(x) ((x) << S_LINK_MODE_ENABLE)
5556 #define G_LINK_MODE_ENABLE(x) (((x) >> S_LINK_MODE_ENABLE) & M_LINK_MODE_ENABLE)
5558 #define S_FAST_LINK_MODE 7
5559 #define V_FAST_LINK_MODE(x) ((x) << S_FAST_LINK_MODE)
5560 #define F_FAST_LINK_MODE V_FAST_LINK_MODE(1U)
5562 #define S_DLL_LINK_ENABLE 5
5563 #define V_DLL_LINK_ENABLE(x) ((x) << S_DLL_LINK_ENABLE)
5564 #define F_DLL_LINK_ENABLE V_DLL_LINK_ENABLE(1U)
5566 #define S_RESET_ASSERT 3
5567 #define V_RESET_ASSERT(x) ((x) << S_RESET_ASSERT)
5568 #define F_RESET_ASSERT V_RESET_ASSERT(1U)
5570 #define S_LOOPBACK_ENABLE 2
5571 #define V_LOOPBACK_ENABLE(x) ((x) << S_LOOPBACK_ENABLE)
5572 #define F_LOOPBACK_ENABLE V_LOOPBACK_ENABLE(1U)
5574 #define S_SCRAMBLE_DISABLE 1
5575 #define V_SCRAMBLE_DISABLE(x) ((x) << S_SCRAMBLE_DISABLE)
5576 #define F_SCRAMBLE_DISABLE V_SCRAMBLE_DISABLE(1U)
5578 #define S_VENDOR_SPECIFIC_DLLP_REQUEST 0
5579 #define V_VENDOR_SPECIFIC_DLLP_REQUEST(x) ((x) << S_VENDOR_SPECIFIC_DLLP_REQUEST)
5580 #define F_VENDOR_SPECIFIC_DLLP_REQUEST V_VENDOR_SPECIFIC_DLLP_REQUEST(1U)
5582 #define A_PCIE_CORE_LANE_SKEW 0x5714
5584 #define S_DISABLE_DESKEW 31
5585 #define V_DISABLE_DESKEW(x) ((x) << S_DISABLE_DESKEW)
5586 #define F_DISABLE_DESKEW V_DISABLE_DESKEW(1U)
5588 #define S_ACK_NAK_DISABLE 25
5589 #define V_ACK_NAK_DISABLE(x) ((x) << S_ACK_NAK_DISABLE)
5590 #define F_ACK_NAK_DISABLE V_ACK_NAK_DISABLE(1U)
5592 #define S_FLOW_CONTROL_DISABLE 24
5593 #define V_FLOW_CONTROL_DISABLE(x) ((x) << S_FLOW_CONTROL_DISABLE)
5594 #define F_FLOW_CONTROL_DISABLE V_FLOW_CONTROL_DISABLE(1U)
5596 #define S_INSERT_TXSKEW 0
5597 #define M_INSERT_TXSKEW 0xffffffU
5598 #define V_INSERT_TXSKEW(x) ((x) << S_INSERT_TXSKEW)
5599 #define G_INSERT_TXSKEW(x) (((x) >> S_INSERT_TXSKEW) & M_INSERT_TXSKEW)
5601 #define A_PCIE_CORE_SYMBOL_NUMBER 0x5718
5603 #define S_FLOW_CONTROL_TIMER_MODIFIER 24
5604 #define M_FLOW_CONTROL_TIMER_MODIFIER 0x1fU
5605 #define V_FLOW_CONTROL_TIMER_MODIFIER(x) ((x) << S_FLOW_CONTROL_TIMER_MODIFIER)
5606 #define G_FLOW_CONTROL_TIMER_MODIFIER(x) (((x) >> S_FLOW_CONTROL_TIMER_MODIFIER) & M_FLOW_CONTROL_TIMER_MODIFIER)
5608 #define S_ACK_NAK_TIMER_MODIFIER 19
5609 #define M_ACK_NAK_TIMER_MODIFIER 0x1fU
5610 #define V_ACK_NAK_TIMER_MODIFIER(x) ((x) << S_ACK_NAK_TIMER_MODIFIER)
5611 #define G_ACK_NAK_TIMER_MODIFIER(x) (((x) >> S_ACK_NAK_TIMER_MODIFIER) & M_ACK_NAK_TIMER_MODIFIER)
5613 #define S_REPLAY_TIMER_MODIFIER 14
5614 #define M_REPLAY_TIMER_MODIFIER 0x1fU
5615 #define V_REPLAY_TIMER_MODIFIER(x) ((x) << S_REPLAY_TIMER_MODIFIER)
5616 #define G_REPLAY_TIMER_MODIFIER(x) (((x) >> S_REPLAY_TIMER_MODIFIER) & M_REPLAY_TIMER_MODIFIER)
5619 #define M_MAXFUNC 0x7U
5620 #define V_MAXFUNC(x) ((x) << S_MAXFUNC)
5621 #define G_MAXFUNC(x) (((x) >> S_MAXFUNC) & M_MAXFUNC)
5623 #define A_PCIE_CORE_SYMBOL_TIMER_FILTER_MASK1 0x571c
5625 #define S_MASK_RADM_FILTER 16
5626 #define M_MASK_RADM_FILTER 0xffffU
5627 #define V_MASK_RADM_FILTER(x) ((x) << S_MASK_RADM_FILTER)
5628 #define G_MASK_RADM_FILTER(x) (((x) >> S_MASK_RADM_FILTER) & M_MASK_RADM_FILTER)
5630 #define S_DISABLE_FC_WATCHDOG 15
5631 #define V_DISABLE_FC_WATCHDOG(x) ((x) << S_DISABLE_FC_WATCHDOG)
5632 #define F_DISABLE_FC_WATCHDOG V_DISABLE_FC_WATCHDOG(1U)
5634 #define S_SKP_INTERVAL 0
5635 #define M_SKP_INTERVAL 0x7ffU
5636 #define V_SKP_INTERVAL(x) ((x) << S_SKP_INTERVAL)
5637 #define G_SKP_INTERVAL(x) (((x) >> S_SKP_INTERVAL) & M_SKP_INTERVAL)
5639 #define A_PCIE_CORE_FILTER_MASK2 0x5720
5640 #define A_PCIE_CORE_DEBUG_0 0x5728
5641 #define A_PCIE_CORE_DEBUG_1 0x572c
5642 #define A_PCIE_CORE_TRANSMIT_POSTED_FC_CREDIT_STATUS 0x5730
5644 #define S_TXPH_FC 12
5645 #define M_TXPH_FC 0xffU
5646 #define V_TXPH_FC(x) ((x) << S_TXPH_FC)
5647 #define G_TXPH_FC(x) (((x) >> S_TXPH_FC) & M_TXPH_FC)
5650 #define M_TXPD_FC 0xfffU
5651 #define V_TXPD_FC(x) ((x) << S_TXPD_FC)
5652 #define G_TXPD_FC(x) (((x) >> S_TXPD_FC) & M_TXPD_FC)
5654 #define A_PCIE_CORE_TRANSMIT_NONPOSTED_FC_CREDIT_STATUS 0x5734
5656 #define S_TXNPH_FC 12
5657 #define M_TXNPH_FC 0xffU
5658 #define V_TXNPH_FC(x) ((x) << S_TXNPH_FC)
5659 #define G_TXNPH_FC(x) (((x) >> S_TXNPH_FC) & M_TXNPH_FC)
5661 #define S_TXNPD_FC 0
5662 #define M_TXNPD_FC 0xfffU
5663 #define V_TXNPD_FC(x) ((x) << S_TXNPD_FC)
5664 #define G_TXNPD_FC(x) (((x) >> S_TXNPD_FC) & M_TXNPD_FC)
5666 #define A_PCIE_CORE_TRANSMIT_COMPLETION_FC_CREDIT_STATUS 0x5738
5668 #define S_TXCPLH_FC 12
5669 #define M_TXCPLH_FC 0xffU
5670 #define V_TXCPLH_FC(x) ((x) << S_TXCPLH_FC)
5671 #define G_TXCPLH_FC(x) (((x) >> S_TXCPLH_FC) & M_TXCPLH_FC)
5673 #define S_TXCPLD_FC 0
5674 #define M_TXCPLD_FC 0xfffU
5675 #define V_TXCPLD_FC(x) ((x) << S_TXCPLD_FC)
5676 #define G_TXCPLD_FC(x) (((x) >> S_TXCPLD_FC) & M_TXCPLD_FC)
5678 #define A_PCIE_CORE_QUEUE_STATUS 0x573c
5680 #define S_RXQUEUE_NOT_EMPTY 2
5681 #define V_RXQUEUE_NOT_EMPTY(x) ((x) << S_RXQUEUE_NOT_EMPTY)
5682 #define F_RXQUEUE_NOT_EMPTY V_RXQUEUE_NOT_EMPTY(1U)
5684 #define S_TXRETRYBUF_NOT_EMPTY 1
5685 #define V_TXRETRYBUF_NOT_EMPTY(x) ((x) << S_TXRETRYBUF_NOT_EMPTY)
5686 #define F_TXRETRYBUF_NOT_EMPTY V_TXRETRYBUF_NOT_EMPTY(1U)
5688 #define S_RXTLP_FC_NOT_RETURNED 0
5689 #define V_RXTLP_FC_NOT_RETURNED(x) ((x) << S_RXTLP_FC_NOT_RETURNED)
5690 #define F_RXTLP_FC_NOT_RETURNED V_RXTLP_FC_NOT_RETURNED(1U)
5692 #define A_PCIE_CORE_VC_TRANSMIT_ARBITRATION_1 0x5740
5694 #define S_VC3_WRR 24
5695 #define M_VC3_WRR 0xffU
5696 #define V_VC3_WRR(x) ((x) << S_VC3_WRR)
5697 #define G_VC3_WRR(x) (((x) >> S_VC3_WRR) & M_VC3_WRR)
5699 #define S_VC2_WRR 16
5700 #define M_VC2_WRR 0xffU
5701 #define V_VC2_WRR(x) ((x) << S_VC2_WRR)
5702 #define G_VC2_WRR(x) (((x) >> S_VC2_WRR) & M_VC2_WRR)
5705 #define M_VC1_WRR 0xffU
5706 #define V_VC1_WRR(x) ((x) << S_VC1_WRR)
5707 #define G_VC1_WRR(x) (((x) >> S_VC1_WRR) & M_VC1_WRR)
5710 #define M_VC0_WRR 0xffU
5711 #define V_VC0_WRR(x) ((x) << S_VC0_WRR)
5712 #define G_VC0_WRR(x) (((x) >> S_VC0_WRR) & M_VC0_WRR)
5714 #define A_PCIE_CORE_VC_TRANSMIT_ARBITRATION_2 0x5744
5716 #define S_VC7_WRR 24
5717 #define M_VC7_WRR 0xffU
5718 #define V_VC7_WRR(x) ((x) << S_VC7_WRR)
5719 #define G_VC7_WRR(x) (((x) >> S_VC7_WRR) & M_VC7_WRR)
5721 #define S_VC6_WRR 16
5722 #define M_VC6_WRR 0xffU
5723 #define V_VC6_WRR(x) ((x) << S_VC6_WRR)
5724 #define G_VC6_WRR(x) (((x) >> S_VC6_WRR) & M_VC6_WRR)
5727 #define M_VC5_WRR 0xffU
5728 #define V_VC5_WRR(x) ((x) << S_VC5_WRR)
5729 #define G_VC5_WRR(x) (((x) >> S_VC5_WRR) & M_VC5_WRR)
5732 #define M_VC4_WRR 0xffU
5733 #define V_VC4_WRR(x) ((x) << S_VC4_WRR)
5734 #define G_VC4_WRR(x) (((x) >> S_VC4_WRR) & M_VC4_WRR)
5736 #define A_PCIE_CORE_VC0_POSTED_RECEIVE_QUEUE_CONTROL 0x5748
5738 #define S_VC0_RX_ORDERING 31
5739 #define V_VC0_RX_ORDERING(x) ((x) << S_VC0_RX_ORDERING)
5740 #define F_VC0_RX_ORDERING V_VC0_RX_ORDERING(1U)
5742 #define S_VC0_TLP_ORDERING 30
5743 #define V_VC0_TLP_ORDERING(x) ((x) << S_VC0_TLP_ORDERING)
5744 #define F_VC0_TLP_ORDERING V_VC0_TLP_ORDERING(1U)
5746 #define S_VC0_PTLP_QUEUE_MODE 21
5747 #define M_VC0_PTLP_QUEUE_MODE 0x7U
5748 #define V_VC0_PTLP_QUEUE_MODE(x) ((x) << S_VC0_PTLP_QUEUE_MODE)
5749 #define G_VC0_PTLP_QUEUE_MODE(x) (((x) >> S_VC0_PTLP_QUEUE_MODE) & M_VC0_PTLP_QUEUE_MODE)
5751 #define S_VC0_PH_CREDITS 12
5752 #define M_VC0_PH_CREDITS 0xffU
5753 #define V_VC0_PH_CREDITS(x) ((x) << S_VC0_PH_CREDITS)
5754 #define G_VC0_PH_CREDITS(x) (((x) >> S_VC0_PH_CREDITS) & M_VC0_PH_CREDITS)
5756 #define S_VC0_PD_CREDITS 0
5757 #define M_VC0_PD_CREDITS 0xfffU
5758 #define V_VC0_PD_CREDITS(x) ((x) << S_VC0_PD_CREDITS)
5759 #define G_VC0_PD_CREDITS(x) (((x) >> S_VC0_PD_CREDITS) & M_VC0_PD_CREDITS)
5761 #define A_PCIE_CORE_VC0_NONPOSTED_RECEIVE_QUEUE_CONTROL 0x574c
5763 #define S_VC0_NPTLP_QUEUE_MODE 21
5764 #define M_VC0_NPTLP_QUEUE_MODE 0x7U
5765 #define V_VC0_NPTLP_QUEUE_MODE(x) ((x) << S_VC0_NPTLP_QUEUE_MODE)
5766 #define G_VC0_NPTLP_QUEUE_MODE(x) (((x) >> S_VC0_NPTLP_QUEUE_MODE) & M_VC0_NPTLP_QUEUE_MODE)
5768 #define S_VC0_NPH_CREDITS 12
5769 #define M_VC0_NPH_CREDITS 0xffU
5770 #define V_VC0_NPH_CREDITS(x) ((x) << S_VC0_NPH_CREDITS)
5771 #define G_VC0_NPH_CREDITS(x) (((x) >> S_VC0_NPH_CREDITS) & M_VC0_NPH_CREDITS)
5773 #define S_VC0_NPD_CREDITS 0
5774 #define M_VC0_NPD_CREDITS 0xfffU
5775 #define V_VC0_NPD_CREDITS(x) ((x) << S_VC0_NPD_CREDITS)
5776 #define G_VC0_NPD_CREDITS(x) (((x) >> S_VC0_NPD_CREDITS) & M_VC0_NPD_CREDITS)
5778 #define A_PCIE_CORE_VC0_COMPLETION_RECEIVE_QUEUE_CONTROL 0x5750
5780 #define S_VC0_CPLTLP_QUEUE_MODE 21
5781 #define M_VC0_CPLTLP_QUEUE_MODE 0x7U
5782 #define V_VC0_CPLTLP_QUEUE_MODE(x) ((x) << S_VC0_CPLTLP_QUEUE_MODE)
5783 #define G_VC0_CPLTLP_QUEUE_MODE(x) (((x) >> S_VC0_CPLTLP_QUEUE_MODE) & M_VC0_CPLTLP_QUEUE_MODE)
5785 #define S_VC0_CPLH_CREDITS 12
5786 #define M_VC0_CPLH_CREDITS 0xffU
5787 #define V_VC0_CPLH_CREDITS(x) ((x) << S_VC0_CPLH_CREDITS)
5788 #define G_VC0_CPLH_CREDITS(x) (((x) >> S_VC0_CPLH_CREDITS) & M_VC0_CPLH_CREDITS)
5790 #define S_VC0_CPLD_CREDITS 0
5791 #define M_VC0_CPLD_CREDITS 0xfffU
5792 #define V_VC0_CPLD_CREDITS(x) ((x) << S_VC0_CPLD_CREDITS)
5793 #define G_VC0_CPLD_CREDITS(x) (((x) >> S_VC0_CPLD_CREDITS) & M_VC0_CPLD_CREDITS)
5795 #define A_PCIE_CORE_VC1_POSTED_RECEIVE_QUEUE_CONTROL 0x5754
5797 #define S_VC1_TLP_ORDERING 30
5798 #define V_VC1_TLP_ORDERING(x) ((x) << S_VC1_TLP_ORDERING)
5799 #define F_VC1_TLP_ORDERING V_VC1_TLP_ORDERING(1U)
5801 #define S_VC1_PTLP_QUEUE_MODE 21
5802 #define M_VC1_PTLP_QUEUE_MODE 0x7U
5803 #define V_VC1_PTLP_QUEUE_MODE(x) ((x) << S_VC1_PTLP_QUEUE_MODE)
5804 #define G_VC1_PTLP_QUEUE_MODE(x) (((x) >> S_VC1_PTLP_QUEUE_MODE) & M_VC1_PTLP_QUEUE_MODE)
5806 #define S_VC1_PH_CREDITS 12
5807 #define M_VC1_PH_CREDITS 0xffU
5808 #define V_VC1_PH_CREDITS(x) ((x) << S_VC1_PH_CREDITS)
5809 #define G_VC1_PH_CREDITS(x) (((x) >> S_VC1_PH_CREDITS) & M_VC1_PH_CREDITS)
5811 #define S_VC1_PD_CREDITS 0
5812 #define M_VC1_PD_CREDITS 0xfffU
5813 #define V_VC1_PD_CREDITS(x) ((x) << S_VC1_PD_CREDITS)
5814 #define G_VC1_PD_CREDITS(x) (((x) >> S_VC1_PD_CREDITS) & M_VC1_PD_CREDITS)
5816 #define A_PCIE_CORE_VC1_NONPOSTED_RECEIVE_QUEUE_CONTROL 0x5758
5818 #define S_VC1_NPTLP_QUEUE_MODE 21
5819 #define M_VC1_NPTLP_QUEUE_MODE 0x7U
5820 #define V_VC1_NPTLP_QUEUE_MODE(x) ((x) << S_VC1_NPTLP_QUEUE_MODE)
5821 #define G_VC1_NPTLP_QUEUE_MODE(x) (((x) >> S_VC1_NPTLP_QUEUE_MODE) & M_VC1_NPTLP_QUEUE_MODE)
5823 #define S_VC1_NPH_CREDITS 12
5824 #define M_VC1_NPH_CREDITS 0xffU
5825 #define V_VC1_NPH_CREDITS(x) ((x) << S_VC1_NPH_CREDITS)
5826 #define G_VC1_NPH_CREDITS(x) (((x) >> S_VC1_NPH_CREDITS) & M_VC1_NPH_CREDITS)
5828 #define S_VC1_NPD_CREDITS 0
5829 #define M_VC1_NPD_CREDITS 0xfffU
5830 #define V_VC1_NPD_CREDITS(x) ((x) << S_VC1_NPD_CREDITS)
5831 #define G_VC1_NPD_CREDITS(x) (((x) >> S_VC1_NPD_CREDITS) & M_VC1_NPD_CREDITS)
5833 #define A_PCIE_CORE_VC1_COMPLETION_RECEIVE_QUEUE_CONTROL 0x575c
5835 #define S_VC1_CPLTLP_QUEUE_MODE 21
5836 #define M_VC1_CPLTLP_QUEUE_MODE 0x7U
5837 #define V_VC1_CPLTLP_QUEUE_MODE(x) ((x) << S_VC1_CPLTLP_QUEUE_MODE)
5838 #define G_VC1_CPLTLP_QUEUE_MODE(x) (((x) >> S_VC1_CPLTLP_QUEUE_MODE) & M_VC1_CPLTLP_QUEUE_MODE)
5840 #define S_VC1_CPLH_CREDITS 12
5841 #define M_VC1_CPLH_CREDITS 0xffU
5842 #define V_VC1_CPLH_CREDITS(x) ((x) << S_VC1_CPLH_CREDITS)
5843 #define G_VC1_CPLH_CREDITS(x) (((x) >> S_VC1_CPLH_CREDITS) & M_VC1_CPLH_CREDITS)
5845 #define S_VC1_CPLD_CREDITS 0
5846 #define M_VC1_CPLD_CREDITS 0xfffU
5847 #define V_VC1_CPLD_CREDITS(x) ((x) << S_VC1_CPLD_CREDITS)
5848 #define G_VC1_CPLD_CREDITS(x) (((x) >> S_VC1_CPLD_CREDITS) & M_VC1_CPLD_CREDITS)
5850 #define A_PCIE_CORE_LINK_WIDTH_SPEED_CHANGE 0x580c
5852 #define S_SEL_DEEMPHASIS 20
5853 #define V_SEL_DEEMPHASIS(x) ((x) << S_SEL_DEEMPHASIS)
5854 #define F_SEL_DEEMPHASIS V_SEL_DEEMPHASIS(1U)
5856 #define S_TXCMPLRCV 19
5857 #define V_TXCMPLRCV(x) ((x) << S_TXCMPLRCV)
5858 #define F_TXCMPLRCV V_TXCMPLRCV(1U)
5860 #define S_PHYTXSWING 18
5861 #define V_PHYTXSWING(x) ((x) << S_PHYTXSWING)
5862 #define F_PHYTXSWING V_PHYTXSWING(1U)
5864 #define S_DIRSPDCHANGE 17
5865 #define V_DIRSPDCHANGE(x) ((x) << S_DIRSPDCHANGE)
5866 #define F_DIRSPDCHANGE V_DIRSPDCHANGE(1U)
5868 #define S_NUM_LANES 8
5869 #define M_NUM_LANES 0x1ffU
5870 #define V_NUM_LANES(x) ((x) << S_NUM_LANES)
5871 #define G_NUM_LANES(x) (((x) >> S_NUM_LANES) & M_NUM_LANES)
5873 #define S_NFTS_GEN2_3 0
5874 #define M_NFTS_GEN2_3 0xffU
5875 #define V_NFTS_GEN2_3(x) ((x) << S_NFTS_GEN2_3)
5876 #define G_NFTS_GEN2_3(x) (((x) >> S_NFTS_GEN2_3) & M_NFTS_GEN2_3)
5878 #define S_AUTO_LANE_FLIP_CTRL_EN 16
5879 #define V_AUTO_LANE_FLIP_CTRL_EN(x) ((x) << S_AUTO_LANE_FLIP_CTRL_EN)
5880 #define F_AUTO_LANE_FLIP_CTRL_EN V_AUTO_LANE_FLIP_CTRL_EN(1U)
5882 #define S_T6_NUM_LANES 8
5883 #define M_T6_NUM_LANES 0x1fU
5884 #define V_T6_NUM_LANES(x) ((x) << S_T6_NUM_LANES)
5885 #define G_T6_NUM_LANES(x) (((x) >> S_T6_NUM_LANES) & M_T6_NUM_LANES)
5887 #define A_PCIE_CORE_PHY_STATUS 0x5810
5888 #define A_PCIE_CORE_PHY_CONTROL 0x5814
5889 #define A_PCIE_CORE_GEN3_CONTROL 0x5890
5891 #define S_DC_BALANCE_DISABLE 18
5892 #define V_DC_BALANCE_DISABLE(x) ((x) << S_DC_BALANCE_DISABLE)
5893 #define F_DC_BALANCE_DISABLE V_DC_BALANCE_DISABLE(1U)
5895 #define S_DLLP_DELAY_DISABLE 17
5896 #define V_DLLP_DELAY_DISABLE(x) ((x) << S_DLLP_DELAY_DISABLE)
5897 #define F_DLLP_DELAY_DISABLE V_DLLP_DELAY_DISABLE(1U)
5899 #define S_EQL_DISABLE 16
5900 #define V_EQL_DISABLE(x) ((x) << S_EQL_DISABLE)
5901 #define F_EQL_DISABLE V_EQL_DISABLE(1U)
5903 #define S_EQL_REDO_DISABLE 11
5904 #define V_EQL_REDO_DISABLE(x) ((x) << S_EQL_REDO_DISABLE)
5905 #define F_EQL_REDO_DISABLE V_EQL_REDO_DISABLE(1U)
5907 #define S_EQL_EIEOS_CNTRST_DISABLE 10
5908 #define V_EQL_EIEOS_CNTRST_DISABLE(x) ((x) << S_EQL_EIEOS_CNTRST_DISABLE)
5909 #define F_EQL_EIEOS_CNTRST_DISABLE V_EQL_EIEOS_CNTRST_DISABLE(1U)
5911 #define S_EQL_PH2_PH3_DISABLE 9
5912 #define V_EQL_PH2_PH3_DISABLE(x) ((x) << S_EQL_PH2_PH3_DISABLE)
5913 #define F_EQL_PH2_PH3_DISABLE V_EQL_PH2_PH3_DISABLE(1U)
5915 #define S_DISABLE_SCRAMBLER 8
5916 #define V_DISABLE_SCRAMBLER(x) ((x) << S_DISABLE_SCRAMBLER)
5917 #define F_DISABLE_SCRAMBLER V_DISABLE_SCRAMBLER(1U)
5919 #define A_PCIE_CORE_GEN3_EQ_FS_LF 0x5894
5921 #define S_FULL_SWING 6
5922 #define M_FULL_SWING 0x3fU
5923 #define V_FULL_SWING(x) ((x) << S_FULL_SWING)
5924 #define G_FULL_SWING(x) (((x) >> S_FULL_SWING) & M_FULL_SWING)
5926 #define S_LOW_FREQUENCY 0
5927 #define M_LOW_FREQUENCY 0x3fU
5928 #define V_LOW_FREQUENCY(x) ((x) << S_LOW_FREQUENCY)
5929 #define G_LOW_FREQUENCY(x) (((x) >> S_LOW_FREQUENCY) & M_LOW_FREQUENCY)
5931 #define A_PCIE_CORE_GEN3_EQ_PRESET_COEFF 0x5898
5933 #define S_POSTCURSOR 12
5934 #define M_POSTCURSOR 0x3fU
5935 #define V_POSTCURSOR(x) ((x) << S_POSTCURSOR)
5936 #define G_POSTCURSOR(x) (((x) >> S_POSTCURSOR) & M_POSTCURSOR)
5939 #define M_CURSOR 0x3fU
5940 #define V_CURSOR(x) ((x) << S_CURSOR)
5941 #define G_CURSOR(x) (((x) >> S_CURSOR) & M_CURSOR)
5943 #define S_PRECURSOR 0
5944 #define M_PRECURSOR 0x3fU
5945 #define V_PRECURSOR(x) ((x) << S_PRECURSOR)
5946 #define G_PRECURSOR(x) (((x) >> S_PRECURSOR) & M_PRECURSOR)
5948 #define A_PCIE_CORE_GEN3_EQ_PRESET_INDEX 0x589c
5951 #define M_INDEX 0xfU
5952 #define V_INDEX(x) ((x) << S_INDEX)
5953 #define G_INDEX(x) (((x) >> S_INDEX) & M_INDEX)
5955 #define A_PCIE_CORE_GEN3_EQ_STATUS 0x58a4
5957 #define S_LEGALITY_STATUS 0
5958 #define V_LEGALITY_STATUS(x) ((x) << S_LEGALITY_STATUS)
5959 #define F_LEGALITY_STATUS V_LEGALITY_STATUS(1U)
5961 #define A_PCIE_CORE_GEN3_EQ_CONTROL 0x58a8
5963 #define S_INCLUDE_INITIAL_FOM 24
5964 #define V_INCLUDE_INITIAL_FOM(x) ((x) << S_INCLUDE_INITIAL_FOM)
5965 #define F_INCLUDE_INITIAL_FOM V_INCLUDE_INITIAL_FOM(1U)
5967 #define S_PRESET_REQUEST_VECTOR 8
5968 #define M_PRESET_REQUEST_VECTOR 0xffffU
5969 #define V_PRESET_REQUEST_VECTOR(x) ((x) << S_PRESET_REQUEST_VECTOR)
5970 #define G_PRESET_REQUEST_VECTOR(x) (((x) >> S_PRESET_REQUEST_VECTOR) & M_PRESET_REQUEST_VECTOR)
5972 #define S_PHASE23_2MS_TIMEOUT_DISABLE 5
5973 #define V_PHASE23_2MS_TIMEOUT_DISABLE(x) ((x) << S_PHASE23_2MS_TIMEOUT_DISABLE)
5974 #define F_PHASE23_2MS_TIMEOUT_DISABLE V_PHASE23_2MS_TIMEOUT_DISABLE(1U)
5976 #define S_AFTER24MS 4
5977 #define V_AFTER24MS(x) ((x) << S_AFTER24MS)
5978 #define F_AFTER24MS V_AFTER24MS(1U)
5980 #define S_FEEDBACK_MODE 0
5981 #define M_FEEDBACK_MODE 0xfU
5982 #define V_FEEDBACK_MODE(x) ((x) << S_FEEDBACK_MODE)
5983 #define G_FEEDBACK_MODE(x) (((x) >> S_FEEDBACK_MODE) & M_FEEDBACK_MODE)
5985 #define A_PCIE_CORE_GEN3_EQ_DIRCHANGE_FEEDBACK 0x58ac
5987 #define S_WINAPERTURE_CPLUS1 14
5988 #define M_WINAPERTURE_CPLUS1 0xfU
5989 #define V_WINAPERTURE_CPLUS1(x) ((x) << S_WINAPERTURE_CPLUS1)
5990 #define G_WINAPERTURE_CPLUS1(x) (((x) >> S_WINAPERTURE_CPLUS1) & M_WINAPERTURE_CPLUS1)
5992 #define S_WINAPERTURE_CMINS1 10
5993 #define M_WINAPERTURE_CMINS1 0xfU
5994 #define V_WINAPERTURE_CMINS1(x) ((x) << S_WINAPERTURE_CMINS1)
5995 #define G_WINAPERTURE_CMINS1(x) (((x) >> S_WINAPERTURE_CMINS1) & M_WINAPERTURE_CMINS1)
5997 #define S_CONVERGENCE_WINDEPTH 5
5998 #define M_CONVERGENCE_WINDEPTH 0x1fU
5999 #define V_CONVERGENCE_WINDEPTH(x) ((x) << S_CONVERGENCE_WINDEPTH)
6000 #define G_CONVERGENCE_WINDEPTH(x) (((x) >> S_CONVERGENCE_WINDEPTH) & M_CONVERGENCE_WINDEPTH)
6002 #define S_EQMASTERPHASE_MINTIME 0
6003 #define M_EQMASTERPHASE_MINTIME 0x1fU
6004 #define V_EQMASTERPHASE_MINTIME(x) ((x) << S_EQMASTERPHASE_MINTIME)
6005 #define G_EQMASTERPHASE_MINTIME(x) (((x) >> S_EQMASTERPHASE_MINTIME) & M_EQMASTERPHASE_MINTIME)
6007 #define A_PCIE_CORE_PIPE_CONTROL 0x58b8
6009 #define S_PIPE_LOOPBACK_EN 0
6010 #define V_PIPE_LOOPBACK_EN(x) ((x) << S_PIPE_LOOPBACK_EN)
6011 #define F_PIPE_LOOPBACK_EN V_PIPE_LOOPBACK_EN(1U)
6013 #define S_T6_PIPE_LOOPBACK_EN 31
6014 #define V_T6_PIPE_LOOPBACK_EN(x) ((x) << S_T6_PIPE_LOOPBACK_EN)
6015 #define F_T6_PIPE_LOOPBACK_EN V_T6_PIPE_LOOPBACK_EN(1U)
6017 #define A_PCIE_CORE_DBI_RO_WE 0x58bc
6019 #define S_READONLY_WRITEEN 0
6020 #define V_READONLY_WRITEEN(x) ((x) << S_READONLY_WRITEEN)
6021 #define F_READONLY_WRITEEN V_READONLY_WRITEEN(1U)
6023 #define A_PCIE_CORE_UTL_SYSTEM_BUS_CONTROL 0x5900
6026 #define V_SMTD(x) ((x) << S_SMTD)
6027 #define F_SMTD V_SMTD(1U)
6030 #define V_SSTD(x) ((x) << S_SSTD)
6031 #define F_SSTD V_SSTD(1U)
6034 #define V_SWD0(x) ((x) << S_SWD0)
6035 #define F_SWD0 V_SWD0(1U)
6038 #define V_SWD1(x) ((x) << S_SWD1)
6039 #define F_SWD1 V_SWD1(1U)
6042 #define V_SWD2(x) ((x) << S_SWD2)
6043 #define F_SWD2 V_SWD2(1U)
6046 #define V_SWD3(x) ((x) << S_SWD3)
6047 #define F_SWD3 V_SWD3(1U)
6050 #define V_SWD4(x) ((x) << S_SWD4)
6051 #define F_SWD4 V_SWD4(1U)
6054 #define V_SWD5(x) ((x) << S_SWD5)
6055 #define F_SWD5 V_SWD5(1U)
6058 #define V_SWD6(x) ((x) << S_SWD6)
6059 #define F_SWD6 V_SWD6(1U)
6062 #define V_SWD7(x) ((x) << S_SWD7)
6063 #define F_SWD7 V_SWD7(1U)
6066 #define V_SWD8(x) ((x) << S_SWD8)
6067 #define F_SWD8 V_SWD8(1U)
6070 #define V_SRD0(x) ((x) << S_SRD0)
6071 #define F_SRD0 V_SRD0(1U)
6074 #define V_SRD1(x) ((x) << S_SRD1)
6075 #define F_SRD1 V_SRD1(1U)
6078 #define V_SRD2(x) ((x) << S_SRD2)
6079 #define F_SRD2 V_SRD2(1U)
6082 #define V_SRD3(x) ((x) << S_SRD3)
6083 #define F_SRD3 V_SRD3(1U)
6086 #define V_SRD4(x) ((x) << S_SRD4)
6087 #define F_SRD4 V_SRD4(1U)
6090 #define V_SRD5(x) ((x) << S_SRD5)
6091 #define F_SRD5 V_SRD5(1U)
6094 #define V_SRD6(x) ((x) << S_SRD6)
6095 #define F_SRD6 V_SRD6(1U)
6098 #define V_SRD7(x) ((x) << S_SRD7)
6099 #define F_SRD7 V_SRD7(1U)
6102 #define V_SRD8(x) ((x) << S_SRD8)
6103 #define F_SRD8 V_SRD8(1U)
6106 #define V_CRRE(x) ((x) << S_CRRE)
6107 #define F_CRRE V_CRRE(1U)
6111 #define V_CRMC(x) ((x) << S_CRMC)
6112 #define G_CRMC(x) (((x) >> S_CRMC) & M_CRMC)
6114 #define A_PCIE_CORE_UTL_STATUS 0x5904
6117 #define V_USBP(x) ((x) << S_USBP)
6118 #define F_USBP V_USBP(1U)
6121 #define V_UPEP(x) ((x) << S_UPEP)
6122 #define F_UPEP V_UPEP(1U)
6125 #define V_RCEP(x) ((x) << S_RCEP)
6126 #define F_RCEP V_RCEP(1U)
6129 #define V_EPEP(x) ((x) << S_EPEP)
6130 #define F_EPEP V_EPEP(1U)
6133 #define V_USBS(x) ((x) << S_USBS)
6134 #define F_USBS V_USBS(1U)
6137 #define V_UPES(x) ((x) << S_UPES)
6138 #define F_UPES V_UPES(1U)
6141 #define V_RCES(x) ((x) << S_RCES)
6142 #define F_RCES V_RCES(1U)
6145 #define V_EPES(x) ((x) << S_EPES)
6146 #define F_EPES V_EPES(1U)
6148 #define A_PCIE_CORE_UTL_SYSTEM_BUS_AGENT_STATUS 0x5908
6151 #define V_RNPP(x) ((x) << S_RNPP)
6152 #define F_RNPP V_RNPP(1U)
6155 #define V_RPCP(x) ((x) << S_RPCP)
6156 #define F_RPCP V_RPCP(1U)
6159 #define V_RCIP(x) ((x) << S_RCIP)
6160 #define F_RCIP V_RCIP(1U)
6163 #define V_RCCP(x) ((x) << S_RCCP)
6164 #define F_RCCP V_RCCP(1U)
6167 #define V_RFTP(x) ((x) << S_RFTP)
6168 #define F_RFTP V_RFTP(1U)
6171 #define V_PTRP(x) ((x) << S_PTRP)
6172 #define F_PTRP V_PTRP(1U)
6174 #define A_PCIE_CORE_UTL_SYSTEM_BUS_AGENT_ERROR_SEVERITY 0x590c
6177 #define V_RNPS(x) ((x) << S_RNPS)
6178 #define F_RNPS V_RNPS(1U)
6181 #define V_RPCS(x) ((x) << S_RPCS)
6182 #define F_RPCS V_RPCS(1U)
6185 #define V_RCIS(x) ((x) << S_RCIS)
6186 #define F_RCIS V_RCIS(1U)
6189 #define V_RCCS(x) ((x) << S_RCCS)
6190 #define F_RCCS V_RCCS(1U)
6193 #define V_RFTS(x) ((x) << S_RFTS)
6194 #define F_RFTS V_RFTS(1U)
6196 #define A_PCIE_CORE_UTL_SYSTEM_BUS_AGENT_INTERRUPT_ENABLE 0x5910
6199 #define V_RNPI(x) ((x) << S_RNPI)
6200 #define F_RNPI V_RNPI(1U)
6203 #define V_RPCI(x) ((x) << S_RPCI)
6204 #define F_RPCI V_RPCI(1U)
6207 #define V_RCII(x) ((x) << S_RCII)
6208 #define F_RCII V_RCII(1U)
6211 #define V_RCCI(x) ((x) << S_RCCI)
6212 #define F_RCCI V_RCCI(1U)
6215 #define V_RFTI(x) ((x) << S_RFTI)
6216 #define F_RFTI V_RFTI(1U)
6218 #define A_PCIE_CORE_SYSTEM_BUS_BURST_SIZE_CONFIGURATION 0x5920
6222 #define V_SBRS(x) ((x) << S_SBRS)
6223 #define G_SBRS(x) (((x) >> S_SBRS) & M_SBRS)
6227 #define V_OTWS(x) ((x) << S_OTWS)
6228 #define G_OTWS(x) (((x) >> S_OTWS) & M_OTWS)
6230 #define A_PCIE_CORE_REVISION_ID 0x5924
6233 #define M_RVID 0xfffU
6234 #define V_RVID(x) ((x) << S_RVID)
6235 #define G_RVID(x) (((x) >> S_RVID) & M_RVID)
6238 #define M_BRVN 0xffU
6239 #define V_BRVN(x) ((x) << S_BRVN)
6240 #define G_BRVN(x) (((x) >> S_BRVN) & M_BRVN)
6242 #define A_PCIE_T5_DMA_CFG 0x5940
6244 #define S_T5_DMA_MAXREQCNT 20
6245 #define M_T5_DMA_MAXREQCNT 0xffU
6246 #define V_T5_DMA_MAXREQCNT(x) ((x) << S_T5_DMA_MAXREQCNT)
6247 #define G_T5_DMA_MAXREQCNT(x) (((x) >> S_T5_DMA_MAXREQCNT) & M_T5_DMA_MAXREQCNT)
6249 #define S_T5_DMA_MAXRDREQSIZE 17
6250 #define M_T5_DMA_MAXRDREQSIZE 0x7U
6251 #define V_T5_DMA_MAXRDREQSIZE(x) ((x) << S_T5_DMA_MAXRDREQSIZE)
6252 #define G_T5_DMA_MAXRDREQSIZE(x) (((x) >> S_T5_DMA_MAXRDREQSIZE) & M_T5_DMA_MAXRDREQSIZE)
6254 #define S_T5_DMA_MAXRSPCNT 8
6255 #define M_T5_DMA_MAXRSPCNT 0x1ffU
6256 #define V_T5_DMA_MAXRSPCNT(x) ((x) << S_T5_DMA_MAXRSPCNT)
6257 #define G_T5_DMA_MAXRSPCNT(x) (((x) >> S_T5_DMA_MAXRSPCNT) & M_T5_DMA_MAXRSPCNT)
6259 #define S_SEQCHKDIS 7
6260 #define V_SEQCHKDIS(x) ((x) << S_SEQCHKDIS)
6261 #define F_SEQCHKDIS V_SEQCHKDIS(1U)
6264 #define M_MINTAG 0x7fU
6265 #define V_MINTAG(x) ((x) << S_MINTAG)
6266 #define G_MINTAG(x) (((x) >> S_MINTAG) & M_MINTAG)
6268 #define S_T6_T5_DMA_MAXREQCNT 20
6269 #define M_T6_T5_DMA_MAXREQCNT 0x7fU
6270 #define V_T6_T5_DMA_MAXREQCNT(x) ((x) << S_T6_T5_DMA_MAXREQCNT)
6271 #define G_T6_T5_DMA_MAXREQCNT(x) (((x) >> S_T6_T5_DMA_MAXREQCNT) & M_T6_T5_DMA_MAXREQCNT)
6273 #define S_T6_T5_DMA_MAXRSPCNT 9
6274 #define M_T6_T5_DMA_MAXRSPCNT 0xffU
6275 #define V_T6_T5_DMA_MAXRSPCNT(x) ((x) << S_T6_T5_DMA_MAXRSPCNT)
6276 #define G_T6_T5_DMA_MAXRSPCNT(x) (((x) >> S_T6_T5_DMA_MAXRSPCNT) & M_T6_T5_DMA_MAXRSPCNT)
6278 #define S_T6_SEQCHKDIS 8
6279 #define V_T6_SEQCHKDIS(x) ((x) << S_T6_SEQCHKDIS)
6280 #define F_T6_SEQCHKDIS V_T6_SEQCHKDIS(1U)
6282 #define S_T6_MINTAG 0
6283 #define M_T6_MINTAG 0xffU
6284 #define V_T6_MINTAG(x) ((x) << S_T6_MINTAG)
6285 #define G_T6_MINTAG(x) (((x) >> S_T6_MINTAG) & M_T6_MINTAG)
6287 #define A_PCIE_T5_DMA_STAT 0x5944
6289 #define S_DMA_RESPCNT 20
6290 #define M_DMA_RESPCNT 0xfffU
6291 #define V_DMA_RESPCNT(x) ((x) << S_DMA_RESPCNT)
6292 #define G_DMA_RESPCNT(x) (((x) >> S_DMA_RESPCNT) & M_DMA_RESPCNT)
6294 #define S_DMA_RDREQCNT 12
6295 #define M_DMA_RDREQCNT 0xffU
6296 #define V_DMA_RDREQCNT(x) ((x) << S_DMA_RDREQCNT)
6297 #define G_DMA_RDREQCNT(x) (((x) >> S_DMA_RDREQCNT) & M_DMA_RDREQCNT)
6299 #define S_DMA_WRREQCNT 0
6300 #define M_DMA_WRREQCNT 0x7ffU
6301 #define V_DMA_WRREQCNT(x) ((x) << S_DMA_WRREQCNT)
6302 #define G_DMA_WRREQCNT(x) (((x) >> S_DMA_WRREQCNT) & M_DMA_WRREQCNT)
6304 #define S_T6_DMA_RESPCNT 20
6305 #define M_T6_DMA_RESPCNT 0x3ffU
6306 #define V_T6_DMA_RESPCNT(x) ((x) << S_T6_DMA_RESPCNT)
6307 #define G_T6_DMA_RESPCNT(x) (((x) >> S_T6_DMA_RESPCNT) & M_T6_DMA_RESPCNT)
6309 #define S_T6_DMA_RDREQCNT 12
6310 #define M_T6_DMA_RDREQCNT 0x3fU
6311 #define V_T6_DMA_RDREQCNT(x) ((x) << S_T6_DMA_RDREQCNT)
6312 #define G_T6_DMA_RDREQCNT(x) (((x) >> S_T6_DMA_RDREQCNT) & M_T6_DMA_RDREQCNT)
6314 #define S_T6_DMA_WRREQCNT 0
6315 #define M_T6_DMA_WRREQCNT 0x1ffU
6316 #define V_T6_DMA_WRREQCNT(x) ((x) << S_T6_DMA_WRREQCNT)
6317 #define G_T6_DMA_WRREQCNT(x) (((x) >> S_T6_DMA_WRREQCNT) & M_T6_DMA_WRREQCNT)
6319 #define A_PCIE_T5_DMA_STAT2 0x5948
6321 #define S_COOKIECNT 24
6322 #define M_COOKIECNT 0xfU
6323 #define V_COOKIECNT(x) ((x) << S_COOKIECNT)
6324 #define G_COOKIECNT(x) (((x) >> S_COOKIECNT) & M_COOKIECNT)
6326 #define S_RDSEQNUMUPDCNT 20
6327 #define M_RDSEQNUMUPDCNT 0xfU
6328 #define V_RDSEQNUMUPDCNT(x) ((x) << S_RDSEQNUMUPDCNT)
6329 #define G_RDSEQNUMUPDCNT(x) (((x) >> S_RDSEQNUMUPDCNT) & M_RDSEQNUMUPDCNT)
6331 #define S_SIREQCNT 16
6332 #define M_SIREQCNT 0xfU
6333 #define V_SIREQCNT(x) ((x) << S_SIREQCNT)
6334 #define G_SIREQCNT(x) (((x) >> S_SIREQCNT) & M_SIREQCNT)
6336 #define S_WREOPMATCHSOP 12
6337 #define V_WREOPMATCHSOP(x) ((x) << S_WREOPMATCHSOP)
6338 #define F_WREOPMATCHSOP V_WREOPMATCHSOP(1U)
6340 #define S_WRSOPCNT 8
6341 #define M_WRSOPCNT 0xfU
6342 #define V_WRSOPCNT(x) ((x) << S_WRSOPCNT)
6343 #define G_WRSOPCNT(x) (((x) >> S_WRSOPCNT) & M_WRSOPCNT)
6345 #define S_RDSOPCNT 0
6346 #define M_RDSOPCNT 0xffU
6347 #define V_RDSOPCNT(x) ((x) << S_RDSOPCNT)
6348 #define G_RDSOPCNT(x) (((x) >> S_RDSOPCNT) & M_RDSOPCNT)
6350 #define A_PCIE_T5_DMA_STAT3 0x594c
6352 #define S_ATMREQSOPCNT 24
6353 #define M_ATMREQSOPCNT 0xffU
6354 #define V_ATMREQSOPCNT(x) ((x) << S_ATMREQSOPCNT)
6355 #define G_ATMREQSOPCNT(x) (((x) >> S_ATMREQSOPCNT) & M_ATMREQSOPCNT)
6357 #define S_ATMEOPMATCHSOP 17
6358 #define V_ATMEOPMATCHSOP(x) ((x) << S_ATMEOPMATCHSOP)
6359 #define F_ATMEOPMATCHSOP V_ATMEOPMATCHSOP(1U)
6361 #define S_RSPEOPMATCHSOP 16
6362 #define V_RSPEOPMATCHSOP(x) ((x) << S_RSPEOPMATCHSOP)
6363 #define F_RSPEOPMATCHSOP V_RSPEOPMATCHSOP(1U)
6365 #define S_RSPERRCNT 8
6366 #define M_RSPERRCNT 0xffU
6367 #define V_RSPERRCNT(x) ((x) << S_RSPERRCNT)
6368 #define G_RSPERRCNT(x) (((x) >> S_RSPERRCNT) & M_RSPERRCNT)
6370 #define S_RSPSOPCNT 0
6371 #define M_RSPSOPCNT 0xffU
6372 #define V_RSPSOPCNT(x) ((x) << S_RSPSOPCNT)
6373 #define G_RSPSOPCNT(x) (((x) >> S_RSPSOPCNT) & M_RSPSOPCNT)
6375 #define A_PCIE_CORE_OUTBOUND_POSTED_HEADER_BUFFER_ALLOCATION 0x5960
6379 #define V_OP0H(x) ((x) << S_OP0H)
6380 #define G_OP0H(x) (((x) >> S_OP0H) & M_OP0H)
6384 #define V_OP1H(x) ((x) << S_OP1H)
6385 #define G_OP1H(x) (((x) >> S_OP1H) & M_OP1H)
6389 #define V_OP2H(x) ((x) << S_OP2H)
6390 #define G_OP2H(x) (((x) >> S_OP2H) & M_OP2H)
6394 #define V_OP3H(x) ((x) << S_OP3H)
6395 #define G_OP3H(x) (((x) >> S_OP3H) & M_OP3H)
6397 #define A_PCIE_CORE_OUTBOUND_POSTED_DATA_BUFFER_ALLOCATION 0x5968
6400 #define M_OP0D 0x7fU
6401 #define V_OP0D(x) ((x) << S_OP0D)
6402 #define G_OP0D(x) (((x) >> S_OP0D) & M_OP0D)
6405 #define M_OP1D 0x7fU
6406 #define V_OP1D(x) ((x) << S_OP1D)
6407 #define G_OP1D(x) (((x) >> S_OP1D) & M_OP1D)
6410 #define M_OP2D 0x7fU
6411 #define V_OP2D(x) ((x) << S_OP2D)
6412 #define G_OP2D(x) (((x) >> S_OP2D) & M_OP2D)
6415 #define M_OP3D 0x7fU
6416 #define V_OP3D(x) ((x) << S_OP3D)
6417 #define G_OP3D(x) (((x) >> S_OP3D) & M_OP3D)
6419 #define A_PCIE_CORE_INBOUND_POSTED_HEADER_BUFFER_ALLOCATION 0x5970
6422 #define M_IP0H 0x3fU
6423 #define V_IP0H(x) ((x) << S_IP0H)
6424 #define G_IP0H(x) (((x) >> S_IP0H) & M_IP0H)
6427 #define M_IP1H 0x3fU
6428 #define V_IP1H(x) ((x) << S_IP1H)
6429 #define G_IP1H(x) (((x) >> S_IP1H) & M_IP1H)
6432 #define M_IP2H 0x3fU
6433 #define V_IP2H(x) ((x) << S_IP2H)
6434 #define G_IP2H(x) (((x) >> S_IP2H) & M_IP2H)
6437 #define M_IP3H 0x3fU
6438 #define V_IP3H(x) ((x) << S_IP3H)
6439 #define G_IP3H(x) (((x) >> S_IP3H) & M_IP3H)
6441 #define A_PCIE_CORE_INBOUND_POSTED_DATA_BUFFER_ALLOCATION 0x5978
6444 #define M_IP0D 0xffU
6445 #define V_IP0D(x) ((x) << S_IP0D)
6446 #define G_IP0D(x) (((x) >> S_IP0D) & M_IP0D)
6449 #define M_IP1D 0xffU
6450 #define V_IP1D(x) ((x) << S_IP1D)
6451 #define G_IP1D(x) (((x) >> S_IP1D) & M_IP1D)
6454 #define M_IP2D 0xffU
6455 #define V_IP2D(x) ((x) << S_IP2D)
6456 #define G_IP2D(x) (((x) >> S_IP2D) & M_IP2D)
6459 #define M_IP3D 0xffU
6460 #define V_IP3D(x) ((x) << S_IP3D)
6461 #define G_IP3D(x) (((x) >> S_IP3D) & M_IP3D)
6463 #define A_PCIE_CORE_OUTBOUND_NON_POSTED_BUFFER_ALLOCATION 0x5980
6467 #define V_ON0H(x) ((x) << S_ON0H)
6468 #define G_ON0H(x) (((x) >> S_ON0H) & M_ON0H)
6472 #define V_ON1H(x) ((x) << S_ON1H)
6473 #define G_ON1H(x) (((x) >> S_ON1H) & M_ON1H)
6477 #define V_ON2H(x) ((x) << S_ON2H)
6478 #define G_ON2H(x) (((x) >> S_ON2H) & M_ON2H)
6482 #define V_ON3H(x) ((x) << S_ON3H)
6483 #define G_ON3H(x) (((x) >> S_ON3H) & M_ON3H)
6485 #define A_PCIE_T5_CMD_CFG 0x5980
6487 #define S_T5_CMD_MAXRDREQSIZE 17
6488 #define M_T5_CMD_MAXRDREQSIZE 0x7U
6489 #define V_T5_CMD_MAXRDREQSIZE(x) ((x) << S_T5_CMD_MAXRDREQSIZE)
6490 #define G_T5_CMD_MAXRDREQSIZE(x) (((x) >> S_T5_CMD_MAXRDREQSIZE) & M_T5_CMD_MAXRDREQSIZE)
6492 #define S_T5_CMD_MAXRSPCNT 8
6493 #define M_T5_CMD_MAXRSPCNT 0xffU
6494 #define V_T5_CMD_MAXRSPCNT(x) ((x) << S_T5_CMD_MAXRSPCNT)
6495 #define G_T5_CMD_MAXRSPCNT(x) (((x) >> S_T5_CMD_MAXRSPCNT) & M_T5_CMD_MAXRSPCNT)
6497 #define S_USECMDPOOL 7
6498 #define V_USECMDPOOL(x) ((x) << S_USECMDPOOL)
6499 #define F_USECMDPOOL V_USECMDPOOL(1U)
6501 #define S_T6_T5_CMD_MAXRSPCNT 9
6502 #define M_T6_T5_CMD_MAXRSPCNT 0x3fU
6503 #define V_T6_T5_CMD_MAXRSPCNT(x) ((x) << S_T6_T5_CMD_MAXRSPCNT)
6504 #define G_T6_T5_CMD_MAXRSPCNT(x) (((x) >> S_T6_T5_CMD_MAXRSPCNT) & M_T6_T5_CMD_MAXRSPCNT)
6506 #define S_T6_USECMDPOOL 8
6507 #define V_T6_USECMDPOOL(x) ((x) << S_T6_USECMDPOOL)
6508 #define F_T6_USECMDPOOL V_T6_USECMDPOOL(1U)
6510 #define S_T6_MINTAG 0
6511 #define M_T6_MINTAG 0xffU
6512 #define V_T6_MINTAG(x) ((x) << S_T6_MINTAG)
6513 #define G_T6_MINTAG(x) (((x) >> S_T6_MINTAG) & M_T6_MINTAG)
6515 #define A_PCIE_T5_CMD_STAT 0x5984
6517 #define S_T5_STAT_RSPCNT 20
6518 #define M_T5_STAT_RSPCNT 0x7ffU
6519 #define V_T5_STAT_RSPCNT(x) ((x) << S_T5_STAT_RSPCNT)
6520 #define G_T5_STAT_RSPCNT(x) (((x) >> S_T5_STAT_RSPCNT) & M_T5_STAT_RSPCNT)
6522 #define S_RDREQCNT 12
6523 #define M_RDREQCNT 0x1fU
6524 #define V_RDREQCNT(x) ((x) << S_RDREQCNT)
6525 #define G_RDREQCNT(x) (((x) >> S_RDREQCNT) & M_RDREQCNT)
6527 #define S_T6_T5_STAT_RSPCNT 20
6528 #define M_T6_T5_STAT_RSPCNT 0xffU
6529 #define V_T6_T5_STAT_RSPCNT(x) ((x) << S_T6_T5_STAT_RSPCNT)
6530 #define G_T6_T5_STAT_RSPCNT(x) (((x) >> S_T6_T5_STAT_RSPCNT) & M_T6_T5_STAT_RSPCNT)
6532 #define S_T6_RDREQCNT 12
6533 #define M_T6_RDREQCNT 0xfU
6534 #define V_T6_RDREQCNT(x) ((x) << S_T6_RDREQCNT)
6535 #define G_T6_RDREQCNT(x) (((x) >> S_T6_RDREQCNT) & M_T6_RDREQCNT)
6537 #define A_PCIE_CORE_INBOUND_NON_POSTED_REQUESTS_BUFFER_ALLOCATION 0x5988
6540 #define M_IN0H 0x3fU
6541 #define V_IN0H(x) ((x) << S_IN0H)
6542 #define G_IN0H(x) (((x) >> S_IN0H) & M_IN0H)
6545 #define M_IN1H 0x3fU
6546 #define V_IN1H(x) ((x) << S_IN1H)
6547 #define G_IN1H(x) (((x) >> S_IN1H) & M_IN1H)
6550 #define M_IN2H 0x3fU
6551 #define V_IN2H(x) ((x) << S_IN2H)
6552 #define G_IN2H(x) (((x) >> S_IN2H) & M_IN2H)
6555 #define M_IN3H 0x3fU
6556 #define V_IN3H(x) ((x) << S_IN3H)
6557 #define G_IN3H(x) (((x) >> S_IN3H) & M_IN3H)
6559 #define A_PCIE_T5_CMD_STAT2 0x5988
6560 #define A_PCIE_T5_CMD_STAT3 0x598c
6561 #define A_PCIE_CORE_PCI_EXPRESS_TAGS_ALLOCATION 0x5990
6564 #define M_OC0T 0xffU
6565 #define V_OC0T(x) ((x) << S_OC0T)
6566 #define G_OC0T(x) (((x) >> S_OC0T) & M_OC0T)
6569 #define M_OC1T 0xffU
6570 #define V_OC1T(x) ((x) << S_OC1T)
6571 #define G_OC1T(x) (((x) >> S_OC1T) & M_OC1T)
6574 #define M_OC2T 0xffU
6575 #define V_OC2T(x) ((x) << S_OC2T)
6576 #define G_OC2T(x) (((x) >> S_OC2T) & M_OC2T)
6579 #define M_OC3T 0xffU
6580 #define V_OC3T(x) ((x) << S_OC3T)
6581 #define G_OC3T(x) (((x) >> S_OC3T) & M_OC3T)
6583 #define A_PCIE_CORE_GBIF_READ_TAGS_ALLOCATION 0x5998
6586 #define M_IC0T 0x3fU
6587 #define V_IC0T(x) ((x) << S_IC0T)
6588 #define G_IC0T(x) (((x) >> S_IC0T) & M_IC0T)
6591 #define M_IC1T 0x3fU
6592 #define V_IC1T(x) ((x) << S_IC1T)
6593 #define G_IC1T(x) (((x) >> S_IC1T) & M_IC1T)
6596 #define M_IC2T 0x3fU
6597 #define V_IC2T(x) ((x) << S_IC2T)
6598 #define G_IC2T(x) (((x) >> S_IC2T) & M_IC2T)
6601 #define M_IC3T 0x3fU
6602 #define V_IC3T(x) ((x) << S_IC3T)
6603 #define G_IC3T(x) (((x) >> S_IC3T) & M_IC3T)
6605 #define A_PCIE_CORE_UTL_PCI_EXPRESS_PORT_CONTROL 0x59a0
6608 #define V_VRB0(x) ((x) << S_VRB0)
6609 #define F_VRB0 V_VRB0(1U)
6612 #define V_VRB1(x) ((x) << S_VRB1)
6613 #define F_VRB1 V_VRB1(1U)
6616 #define V_VRB2(x) ((x) << S_VRB2)
6617 #define F_VRB2 V_VRB2(1U)
6620 #define V_VRB3(x) ((x) << S_VRB3)
6621 #define F_VRB3 V_VRB3(1U)
6624 #define V_PSFE(x) ((x) << S_PSFE)
6625 #define F_PSFE V_PSFE(1U)
6628 #define V_RVDE(x) ((x) << S_RVDE)
6629 #define F_RVDE V_RVDE(1U)
6632 #define V_TXE0(x) ((x) << S_TXE0)
6633 #define F_TXE0 V_TXE0(1U)
6636 #define V_TXE1(x) ((x) << S_TXE1)
6637 #define F_TXE1 V_TXE1(1U)
6640 #define V_TXE2(x) ((x) << S_TXE2)
6641 #define F_TXE2 V_TXE2(1U)
6644 #define V_TXE3(x) ((x) << S_TXE3)
6645 #define F_TXE3 V_TXE3(1U)
6648 #define V_RPAM(x) ((x) << S_RPAM)
6649 #define F_RPAM V_RPAM(1U)
6653 #define V_RTOS(x) ((x) << S_RTOS)
6654 #define G_RTOS(x) (((x) >> S_RTOS) & M_RTOS)
6656 #define A_PCIE_CORE_UTL_PCI_EXPRESS_PORT_STATUS 0x59a4
6659 #define V_TPCP(x) ((x) << S_TPCP)
6660 #define F_TPCP V_TPCP(1U)
6663 #define V_TNPP(x) ((x) << S_TNPP)
6664 #define F_TNPP V_TNPP(1U)
6667 #define V_TFTP(x) ((x) << S_TFTP)
6668 #define F_TFTP V_TFTP(1U)
6671 #define V_TCAP(x) ((x) << S_TCAP)
6672 #define F_TCAP V_TCAP(1U)
6675 #define V_TCIP(x) ((x) << S_TCIP)
6676 #define F_TCIP V_TCIP(1U)
6679 #define V_RCAP(x) ((x) << S_RCAP)
6680 #define F_RCAP V_RCAP(1U)
6683 #define V_PLUP(x) ((x) << S_PLUP)
6684 #define F_PLUP V_PLUP(1U)
6687 #define V_PLDN(x) ((x) << S_PLDN)
6688 #define F_PLDN V_PLDN(1U)
6691 #define V_OTDD(x) ((x) << S_OTDD)
6692 #define F_OTDD V_OTDD(1U)
6695 #define V_GTRP(x) ((x) << S_GTRP)
6696 #define F_GTRP V_GTRP(1U)
6699 #define V_RDPE(x) ((x) << S_RDPE)
6700 #define F_RDPE V_RDPE(1U)
6703 #define V_TDCE(x) ((x) << S_TDCE)
6704 #define F_TDCE V_TDCE(1U)
6707 #define V_TDUE(x) ((x) << S_TDUE)
6708 #define F_TDUE V_TDUE(1U)
6710 #define A_PCIE_CORE_UTL_PCI_EXPRESS_PORT_ERROR_SEVERITY 0x59a8
6713 #define V_TPCS(x) ((x) << S_TPCS)
6714 #define F_TPCS V_TPCS(1U)
6717 #define V_TNPS(x) ((x) << S_TNPS)
6718 #define F_TNPS V_TNPS(1U)
6721 #define V_TFTS(x) ((x) << S_TFTS)
6722 #define F_TFTS V_TFTS(1U)
6725 #define V_TCAS(x) ((x) << S_TCAS)
6726 #define F_TCAS V_TCAS(1U)
6729 #define V_TCIS(x) ((x) << S_TCIS)
6730 #define F_TCIS V_TCIS(1U)
6733 #define V_RCAS(x) ((x) << S_RCAS)
6734 #define F_RCAS V_RCAS(1U)
6737 #define V_PLUS(x) ((x) << S_PLUS)
6738 #define F_PLUS V_PLUS(1U)
6741 #define V_PLDS(x) ((x) << S_PLDS)
6742 #define F_PLDS V_PLDS(1U)
6745 #define V_OTDS(x) ((x) << S_OTDS)
6746 #define F_OTDS V_OTDS(1U)
6749 #define V_RDPS(x) ((x) << S_RDPS)
6750 #define F_RDPS V_RDPS(1U)
6753 #define V_TDCS(x) ((x) << S_TDCS)
6754 #define F_TDCS V_TDCS(1U)
6757 #define V_TDUS(x) ((x) << S_TDUS)
6758 #define F_TDUS V_TDUS(1U)
6760 #define A_PCIE_CORE_UTL_PCI_EXPRESS_PORT_INTERRUPT_ENABLE 0x59ac
6763 #define V_TPCI(x) ((x) << S_TPCI)
6764 #define F_TPCI V_TPCI(1U)
6767 #define V_TNPI(x) ((x) << S_TNPI)
6768 #define F_TNPI V_TNPI(1U)
6771 #define V_TFTI(x) ((x) << S_TFTI)
6772 #define F_TFTI V_TFTI(1U)
6775 #define V_TCAI(x) ((x) << S_TCAI)
6776 #define F_TCAI V_TCAI(1U)
6779 #define V_TCII(x) ((x) << S_TCII)
6780 #define F_TCII V_TCII(1U)
6783 #define V_RCAI(x) ((x) << S_RCAI)
6784 #define F_RCAI V_RCAI(1U)
6787 #define V_PLUI(x) ((x) << S_PLUI)
6788 #define F_PLUI V_PLUI(1U)
6791 #define V_PLDI(x) ((x) << S_PLDI)
6792 #define F_PLDI V_PLDI(1U)
6795 #define V_OTDI(x) ((x) << S_OTDI)
6796 #define F_OTDI V_OTDI(1U)
6798 #define A_PCIE_CORE_ROOT_COMPLEX_STATUS 0x59b0
6801 #define V_RLCE(x) ((x) << S_RLCE)
6802 #define F_RLCE V_RLCE(1U)
6805 #define V_RLNE(x) ((x) << S_RLNE)
6806 #define F_RLNE V_RLNE(1U)
6809 #define V_RLFE(x) ((x) << S_RLFE)
6810 #define F_RLFE V_RLFE(1U)
6813 #define V_RCPE(x) ((x) << S_RCPE)
6814 #define F_RCPE V_RCPE(1U)
6817 #define V_RCTO(x) ((x) << S_RCTO)
6818 #define F_RCTO V_RCTO(1U)
6821 #define V_PINA(x) ((x) << S_PINA)
6822 #define F_PINA V_PINA(1U)
6825 #define V_PINB(x) ((x) << S_PINB)
6826 #define F_PINB V_PINB(1U)
6829 #define V_PINC(x) ((x) << S_PINC)
6830 #define F_PINC V_PINC(1U)
6833 #define V_PIND(x) ((x) << S_PIND)
6834 #define F_PIND V_PIND(1U)
6837 #define V_ALER(x) ((x) << S_ALER)
6838 #define F_ALER V_ALER(1U)
6841 #define V_CRSE(x) ((x) << S_CRSE)
6842 #define F_CRSE V_CRSE(1U)
6844 #define A_PCIE_T5_HMA_CFG 0x59b0
6846 #define S_HMA_MAXREQCNT 20
6847 #define M_HMA_MAXREQCNT 0x1fU
6848 #define V_HMA_MAXREQCNT(x) ((x) << S_HMA_MAXREQCNT)
6849 #define G_HMA_MAXREQCNT(x) (((x) >> S_HMA_MAXREQCNT) & M_HMA_MAXREQCNT)
6851 #define S_T5_HMA_MAXRDREQSIZE 17
6852 #define M_T5_HMA_MAXRDREQSIZE 0x7U
6853 #define V_T5_HMA_MAXRDREQSIZE(x) ((x) << S_T5_HMA_MAXRDREQSIZE)
6854 #define G_T5_HMA_MAXRDREQSIZE(x) (((x) >> S_T5_HMA_MAXRDREQSIZE) & M_T5_HMA_MAXRDREQSIZE)
6856 #define S_T5_HMA_MAXRSPCNT 8
6857 #define M_T5_HMA_MAXRSPCNT 0x1fU
6858 #define V_T5_HMA_MAXRSPCNT(x) ((x) << S_T5_HMA_MAXRSPCNT)
6859 #define G_T5_HMA_MAXRSPCNT(x) (((x) >> S_T5_HMA_MAXRSPCNT) & M_T5_HMA_MAXRSPCNT)
6861 #define S_T6_HMA_MAXREQCNT 20
6862 #define M_T6_HMA_MAXREQCNT 0x7fU
6863 #define V_T6_HMA_MAXREQCNT(x) ((x) << S_T6_HMA_MAXREQCNT)
6864 #define G_T6_HMA_MAXREQCNT(x) (((x) >> S_T6_HMA_MAXREQCNT) & M_T6_HMA_MAXREQCNT)
6866 #define S_T6_T5_HMA_MAXRSPCNT 9
6867 #define M_T6_T5_HMA_MAXRSPCNT 0xffU
6868 #define V_T6_T5_HMA_MAXRSPCNT(x) ((x) << S_T6_T5_HMA_MAXRSPCNT)
6869 #define G_T6_T5_HMA_MAXRSPCNT(x) (((x) >> S_T6_T5_HMA_MAXRSPCNT) & M_T6_T5_HMA_MAXRSPCNT)
6871 #define S_T6_SEQCHKDIS 8
6872 #define V_T6_SEQCHKDIS(x) ((x) << S_T6_SEQCHKDIS)
6873 #define F_T6_SEQCHKDIS V_T6_SEQCHKDIS(1U)
6875 #define S_T6_MINTAG 0
6876 #define M_T6_MINTAG 0xffU
6877 #define V_T6_MINTAG(x) ((x) << S_T6_MINTAG)
6878 #define G_T6_MINTAG(x) (((x) >> S_T6_MINTAG) & M_T6_MINTAG)
6880 #define A_PCIE_CORE_ROOT_COMPLEX_ERROR_SEVERITY 0x59b4
6883 #define V_RLCS(x) ((x) << S_RLCS)
6884 #define F_RLCS V_RLCS(1U)
6887 #define V_RLNS(x) ((x) << S_RLNS)
6888 #define F_RLNS V_RLNS(1U)
6891 #define V_RLFS(x) ((x) << S_RLFS)
6892 #define F_RLFS V_RLFS(1U)
6895 #define V_RCPS(x) ((x) << S_RCPS)
6896 #define F_RCPS V_RCPS(1U)
6899 #define V_RCTS(x) ((x) << S_RCTS)
6900 #define F_RCTS V_RCTS(1U)
6903 #define V_PAAS(x) ((x) << S_PAAS)
6904 #define F_PAAS V_PAAS(1U)
6907 #define V_PABS(x) ((x) << S_PABS)
6908 #define F_PABS V_PABS(1U)
6911 #define V_PACS(x) ((x) << S_PACS)
6912 #define F_PACS V_PACS(1U)
6915 #define V_PADS(x) ((x) << S_PADS)
6916 #define F_PADS V_PADS(1U)
6919 #define V_ALES(x) ((x) << S_ALES)
6920 #define F_ALES V_ALES(1U)
6923 #define V_CRSS(x) ((x) << S_CRSS)
6924 #define F_CRSS V_CRSS(1U)
6926 #define A_PCIE_T5_HMA_STAT 0x59b4
6928 #define S_HMA_RESPCNT 20
6929 #define M_HMA_RESPCNT 0x1ffU
6930 #define V_HMA_RESPCNT(x) ((x) << S_HMA_RESPCNT)
6931 #define G_HMA_RESPCNT(x) (((x) >> S_HMA_RESPCNT) & M_HMA_RESPCNT)
6933 #define S_HMA_RDREQCNT 12
6934 #define M_HMA_RDREQCNT 0x3fU
6935 #define V_HMA_RDREQCNT(x) ((x) << S_HMA_RDREQCNT)
6936 #define G_HMA_RDREQCNT(x) (((x) >> S_HMA_RDREQCNT) & M_HMA_RDREQCNT)
6938 #define S_HMA_WRREQCNT 0
6939 #define M_HMA_WRREQCNT 0x1ffU
6940 #define V_HMA_WRREQCNT(x) ((x) << S_HMA_WRREQCNT)
6941 #define G_HMA_WRREQCNT(x) (((x) >> S_HMA_WRREQCNT) & M_HMA_WRREQCNT)
6943 #define S_T6_HMA_RESPCNT 20
6944 #define M_T6_HMA_RESPCNT 0x3ffU
6945 #define V_T6_HMA_RESPCNT(x) ((x) << S_T6_HMA_RESPCNT)
6946 #define G_T6_HMA_RESPCNT(x) (((x) >> S_T6_HMA_RESPCNT) & M_T6_HMA_RESPCNT)
6948 #define A_PCIE_CORE_ROOT_COMPLEX_INTERRUPT_ENABLE 0x59b8
6951 #define V_RLCI(x) ((x) << S_RLCI)
6952 #define F_RLCI V_RLCI(1U)
6955 #define V_RLNI(x) ((x) << S_RLNI)
6956 #define F_RLNI V_RLNI(1U)
6959 #define V_RLFI(x) ((x) << S_RLFI)
6960 #define F_RLFI V_RLFI(1U)
6963 #define V_RCPI(x) ((x) << S_RCPI)
6964 #define F_RCPI V_RCPI(1U)
6967 #define V_RCTI(x) ((x) << S_RCTI)
6968 #define F_RCTI V_RCTI(1U)
6971 #define V_PAAI(x) ((x) << S_PAAI)
6972 #define F_PAAI V_PAAI(1U)
6975 #define V_PABI(x) ((x) << S_PABI)
6976 #define F_PABI V_PABI(1U)
6979 #define V_PACI(x) ((x) << S_PACI)
6980 #define F_PACI V_PACI(1U)
6983 #define V_PADI(x) ((x) << S_PADI)
6984 #define F_PADI V_PADI(1U)
6987 #define V_ALEI(x) ((x) << S_ALEI)
6988 #define F_ALEI V_ALEI(1U)
6991 #define V_CRSI(x) ((x) << S_CRSI)
6992 #define F_CRSI V_CRSI(1U)
6994 #define A_PCIE_T5_HMA_STAT2 0x59b8
6995 #define A_PCIE_CORE_ENDPOINT_STATUS 0x59bc
6998 #define V_PTOM(x) ((x) << S_PTOM)
6999 #define F_PTOM V_PTOM(1U)
7002 #define V_ALEA(x) ((x) << S_ALEA)
7003 #define F_ALEA V_ALEA(1U)
7006 #define V_PMC0(x) ((x) << S_PMC0)
7007 #define F_PMC0 V_PMC0(1U)
7010 #define V_PMC1(x) ((x) << S_PMC1)
7011 #define F_PMC1 V_PMC1(1U)
7014 #define V_PMC2(x) ((x) << S_PMC2)
7015 #define F_PMC2 V_PMC2(1U)
7018 #define V_PMC3(x) ((x) << S_PMC3)
7019 #define F_PMC3 V_PMC3(1U)
7022 #define V_PMC4(x) ((x) << S_PMC4)
7023 #define F_PMC4 V_PMC4(1U)
7026 #define V_PMC5(x) ((x) << S_PMC5)
7027 #define F_PMC5 V_PMC5(1U)
7030 #define V_PMC6(x) ((x) << S_PMC6)
7031 #define F_PMC6 V_PMC6(1U)
7034 #define V_PMC7(x) ((x) << S_PMC7)
7035 #define F_PMC7 V_PMC7(1U)
7037 #define A_PCIE_T5_HMA_STAT3 0x59bc
7038 #define A_PCIE_CORE_ENDPOINT_ERROR_SEVERITY 0x59c0
7041 #define V_PTOS(x) ((x) << S_PTOS)
7042 #define F_PTOS V_PTOS(1U)
7045 #define V_AENS(x) ((x) << S_AENS)
7046 #define F_AENS V_AENS(1U)
7049 #define V_PC0S(x) ((x) << S_PC0S)
7050 #define F_PC0S V_PC0S(1U)
7053 #define V_PC1S(x) ((x) << S_PC1S)
7054 #define F_PC1S V_PC1S(1U)
7057 #define V_PC2S(x) ((x) << S_PC2S)
7058 #define F_PC2S V_PC2S(1U)
7061 #define V_PC3S(x) ((x) << S_PC3S)
7062 #define F_PC3S V_PC3S(1U)
7065 #define V_PC4S(x) ((x) << S_PC4S)
7066 #define F_PC4S V_PC4S(1U)
7069 #define V_PC5S(x) ((x) << S_PC5S)
7070 #define F_PC5S V_PC5S(1U)
7073 #define V_PC6S(x) ((x) << S_PC6S)
7074 #define F_PC6S V_PC6S(1U)
7077 #define V_PC7S(x) ((x) << S_PC7S)
7078 #define F_PC7S V_PC7S(1U)
7081 #define V_PME0(x) ((x) << S_PME0)
7082 #define F_PME0 V_PME0(1U)
7085 #define V_PME1(x) ((x) << S_PME1)
7086 #define F_PME1 V_PME1(1U)
7089 #define V_PME2(x) ((x) << S_PME2)
7090 #define F_PME2 V_PME2(1U)
7093 #define V_PME3(x) ((x) << S_PME3)
7094 #define F_PME3 V_PME3(1U)
7097 #define V_PME4(x) ((x) << S_PME4)
7098 #define F_PME4 V_PME4(1U)
7101 #define V_PME5(x) ((x) << S_PME5)
7102 #define F_PME5 V_PME5(1U)
7105 #define V_PME6(x) ((x) << S_PME6)
7106 #define F_PME6 V_PME6(1U)
7109 #define V_PME7(x) ((x) << S_PME7)
7110 #define F_PME7 V_PME7(1U)
7112 #define A_PCIE_CGEN 0x59c0
7114 #define S_VPD_DYNAMIC_CGEN 26
7115 #define V_VPD_DYNAMIC_CGEN(x) ((x) << S_VPD_DYNAMIC_CGEN)
7116 #define F_VPD_DYNAMIC_CGEN V_VPD_DYNAMIC_CGEN(1U)
7118 #define S_MA_DYNAMIC_CGEN 25
7119 #define V_MA_DYNAMIC_CGEN(x) ((x) << S_MA_DYNAMIC_CGEN)
7120 #define F_MA_DYNAMIC_CGEN V_MA_DYNAMIC_CGEN(1U)
7122 #define S_TAGQ_DYNAMIC_CGEN 24
7123 #define V_TAGQ_DYNAMIC_CGEN(x) ((x) << S_TAGQ_DYNAMIC_CGEN)
7124 #define F_TAGQ_DYNAMIC_CGEN V_TAGQ_DYNAMIC_CGEN(1U)
7126 #define S_REQCTL_DYNAMIC_CGEN 23
7127 #define V_REQCTL_DYNAMIC_CGEN(x) ((x) << S_REQCTL_DYNAMIC_CGEN)
7128 #define F_REQCTL_DYNAMIC_CGEN V_REQCTL_DYNAMIC_CGEN(1U)
7130 #define S_RSPDATAPROC_DYNAMIC_CGEN 22
7131 #define V_RSPDATAPROC_DYNAMIC_CGEN(x) ((x) << S_RSPDATAPROC_DYNAMIC_CGEN)
7132 #define F_RSPDATAPROC_DYNAMIC_CGEN V_RSPDATAPROC_DYNAMIC_CGEN(1U)
7134 #define S_RSPRDQ_DYNAMIC_CGEN 21
7135 #define V_RSPRDQ_DYNAMIC_CGEN(x) ((x) << S_RSPRDQ_DYNAMIC_CGEN)
7136 #define F_RSPRDQ_DYNAMIC_CGEN V_RSPRDQ_DYNAMIC_CGEN(1U)
7138 #define S_RSPIPIF_DYNAMIC_CGEN 20
7139 #define V_RSPIPIF_DYNAMIC_CGEN(x) ((x) << S_RSPIPIF_DYNAMIC_CGEN)
7140 #define F_RSPIPIF_DYNAMIC_CGEN V_RSPIPIF_DYNAMIC_CGEN(1U)
7142 #define S_HMA_STATIC_CGEN 19
7143 #define V_HMA_STATIC_CGEN(x) ((x) << S_HMA_STATIC_CGEN)
7144 #define F_HMA_STATIC_CGEN V_HMA_STATIC_CGEN(1U)
7146 #define S_HMA_DYNAMIC_CGEN 18
7147 #define V_HMA_DYNAMIC_CGEN(x) ((x) << S_HMA_DYNAMIC_CGEN)
7148 #define F_HMA_DYNAMIC_CGEN V_HMA_DYNAMIC_CGEN(1U)
7150 #define S_CMD_STATIC_CGEN 16
7151 #define V_CMD_STATIC_CGEN(x) ((x) << S_CMD_STATIC_CGEN)
7152 #define F_CMD_STATIC_CGEN V_CMD_STATIC_CGEN(1U)
7154 #define S_CMD_DYNAMIC_CGEN 15
7155 #define V_CMD_DYNAMIC_CGEN(x) ((x) << S_CMD_DYNAMIC_CGEN)
7156 #define F_CMD_DYNAMIC_CGEN V_CMD_DYNAMIC_CGEN(1U)
7158 #define S_DMA_STATIC_CGEN 13
7159 #define V_DMA_STATIC_CGEN(x) ((x) << S_DMA_STATIC_CGEN)
7160 #define F_DMA_STATIC_CGEN V_DMA_STATIC_CGEN(1U)
7162 #define S_DMA_DYNAMIC_CGEN 12
7163 #define V_DMA_DYNAMIC_CGEN(x) ((x) << S_DMA_DYNAMIC_CGEN)
7164 #define F_DMA_DYNAMIC_CGEN V_DMA_DYNAMIC_CGEN(1U)
7166 #define S_VFID_SLEEPSTATUS 10
7167 #define V_VFID_SLEEPSTATUS(x) ((x) << S_VFID_SLEEPSTATUS)
7168 #define F_VFID_SLEEPSTATUS V_VFID_SLEEPSTATUS(1U)
7170 #define S_VC1_SLEEPSTATUS 9
7171 #define V_VC1_SLEEPSTATUS(x) ((x) << S_VC1_SLEEPSTATUS)
7172 #define F_VC1_SLEEPSTATUS V_VC1_SLEEPSTATUS(1U)
7174 #define S_STI_SLEEPSTATUS 8
7175 #define V_STI_SLEEPSTATUS(x) ((x) << S_STI_SLEEPSTATUS)
7176 #define F_STI_SLEEPSTATUS V_STI_SLEEPSTATUS(1U)
7178 #define S_VFID_SLEEPREQ 2
7179 #define V_VFID_SLEEPREQ(x) ((x) << S_VFID_SLEEPREQ)
7180 #define F_VFID_SLEEPREQ V_VFID_SLEEPREQ(1U)
7182 #define S_VC1_SLEEPREQ 1
7183 #define V_VC1_SLEEPREQ(x) ((x) << S_VC1_SLEEPREQ)
7184 #define F_VC1_SLEEPREQ V_VC1_SLEEPREQ(1U)
7186 #define S_STI_SLEEPREQ 0
7187 #define V_STI_SLEEPREQ(x) ((x) << S_STI_SLEEPREQ)
7188 #define F_STI_SLEEPREQ V_STI_SLEEPREQ(1U)
7190 #define A_PCIE_CORE_ENDPOINT_INTERRUPT_ENABLE 0x59c4
7193 #define V_PTOI(x) ((x) << S_PTOI)
7194 #define F_PTOI V_PTOI(1U)
7197 #define V_AENI(x) ((x) << S_AENI)
7198 #define F_AENI V_AENI(1U)
7201 #define V_PC0I(x) ((x) << S_PC0I)
7202 #define F_PC0I V_PC0I(1U)
7205 #define V_PC1I(x) ((x) << S_PC1I)
7206 #define F_PC1I V_PC1I(1U)
7209 #define V_PC2I(x) ((x) << S_PC2I)
7210 #define F_PC2I V_PC2I(1U)
7213 #define V_PC3I(x) ((x) << S_PC3I)
7214 #define F_PC3I V_PC3I(1U)
7217 #define V_PC4I(x) ((x) << S_PC4I)
7218 #define F_PC4I V_PC4I(1U)
7221 #define V_PC5I(x) ((x) << S_PC5I)
7222 #define F_PC5I V_PC5I(1U)
7225 #define V_PC6I(x) ((x) << S_PC6I)
7226 #define F_PC6I V_PC6I(1U)
7229 #define V_PC7I(x) ((x) << S_PC7I)
7230 #define F_PC7I V_PC7I(1U)
7232 #define A_PCIE_MA_RSP 0x59c4
7234 #define S_TIMERVALUE 8
7235 #define M_TIMERVALUE 0xffffffU
7236 #define V_TIMERVALUE(x) ((x) << S_TIMERVALUE)
7237 #define G_TIMERVALUE(x) (((x) >> S_TIMERVALUE) & M_TIMERVALUE)
7239 #define S_MAREQTIMEREN 1
7240 #define V_MAREQTIMEREN(x) ((x) << S_MAREQTIMEREN)
7241 #define F_MAREQTIMEREN V_MAREQTIMEREN(1U)
7243 #define S_MARSPTIMEREN 0
7244 #define V_MARSPTIMEREN(x) ((x) << S_MARSPTIMEREN)
7245 #define F_MARSPTIMEREN V_MARSPTIMEREN(1U)
7247 #define A_PCIE_CORE_PCI_POWER_MANAGEMENT_CONTROL_1 0x59c8
7250 #define V_TOAK(x) ((x) << S_TOAK)
7251 #define F_TOAK V_TOAK(1U)
7254 #define V_L1RS(x) ((x) << S_L1RS)
7255 #define F_L1RS V_L1RS(1U)
7258 #define V_L23S(x) ((x) << S_L23S)
7259 #define F_L23S V_L23S(1U)
7262 #define V_AL1S(x) ((x) << S_AL1S)
7263 #define F_AL1S V_AL1S(1U)
7266 #define V_ALET(x) ((x) << S_ALET)
7267 #define F_ALET V_ALET(1U)
7269 #define A_PCIE_HPRD 0x59c8
7271 #define S_NPH_CREDITSAVAILVC0 19
7272 #define M_NPH_CREDITSAVAILVC0 0x3U
7273 #define V_NPH_CREDITSAVAILVC0(x) ((x) << S_NPH_CREDITSAVAILVC0)
7274 #define G_NPH_CREDITSAVAILVC0(x) (((x) >> S_NPH_CREDITSAVAILVC0) & M_NPH_CREDITSAVAILVC0)
7276 #define S_NPD_CREDITSAVAILVC0 17
7277 #define M_NPD_CREDITSAVAILVC0 0x3U
7278 #define V_NPD_CREDITSAVAILVC0(x) ((x) << S_NPD_CREDITSAVAILVC0)
7279 #define G_NPD_CREDITSAVAILVC0(x) (((x) >> S_NPD_CREDITSAVAILVC0) & M_NPD_CREDITSAVAILVC0)
7281 #define S_NPH_CREDITSAVAILVC1 15
7282 #define M_NPH_CREDITSAVAILVC1 0x3U
7283 #define V_NPH_CREDITSAVAILVC1(x) ((x) << S_NPH_CREDITSAVAILVC1)
7284 #define G_NPH_CREDITSAVAILVC1(x) (((x) >> S_NPH_CREDITSAVAILVC1) & M_NPH_CREDITSAVAILVC1)
7286 #define S_NPD_CREDITSAVAILVC1 13
7287 #define M_NPD_CREDITSAVAILVC1 0x3U
7288 #define V_NPD_CREDITSAVAILVC1(x) ((x) << S_NPD_CREDITSAVAILVC1)
7289 #define G_NPD_CREDITSAVAILVC1(x) (((x) >> S_NPD_CREDITSAVAILVC1) & M_NPD_CREDITSAVAILVC1)
7291 #define S_NPH_CREDITSREQUIRED 11
7292 #define M_NPH_CREDITSREQUIRED 0x3U
7293 #define V_NPH_CREDITSREQUIRED(x) ((x) << S_NPH_CREDITSREQUIRED)
7294 #define G_NPH_CREDITSREQUIRED(x) (((x) >> S_NPH_CREDITSREQUIRED) & M_NPH_CREDITSREQUIRED)
7296 #define S_NPD_CREDITSREQUIRED 9
7297 #define M_NPD_CREDITSREQUIRED 0x3U
7298 #define V_NPD_CREDITSREQUIRED(x) ((x) << S_NPD_CREDITSREQUIRED)
7299 #define G_NPD_CREDITSREQUIRED(x) (((x) >> S_NPD_CREDITSREQUIRED) & M_NPD_CREDITSREQUIRED)
7301 #define S_REQBURSTCOUNT 5
7302 #define M_REQBURSTCOUNT 0xfU
7303 #define V_REQBURSTCOUNT(x) ((x) << S_REQBURSTCOUNT)
7304 #define G_REQBURSTCOUNT(x) (((x) >> S_REQBURSTCOUNT) & M_REQBURSTCOUNT)
7306 #define S_REQBURSTFREQUENCY 1
7307 #define M_REQBURSTFREQUENCY 0xfU
7308 #define V_REQBURSTFREQUENCY(x) ((x) << S_REQBURSTFREQUENCY)
7309 #define G_REQBURSTFREQUENCY(x) (((x) >> S_REQBURSTFREQUENCY) & M_REQBURSTFREQUENCY)
7311 #define S_ENABLEVC1 0
7312 #define V_ENABLEVC1(x) ((x) << S_ENABLEVC1)
7313 #define F_ENABLEVC1 V_ENABLEVC1(1U)
7315 #define A_PCIE_CORE_PCI_POWER_MANAGEMENT_CONTROL_2 0x59cc
7319 #define V_CPM0(x) ((x) << S_CPM0)
7320 #define G_CPM0(x) (((x) >> S_CPM0) & M_CPM0)
7324 #define V_CPM1(x) ((x) << S_CPM1)
7325 #define G_CPM1(x) (((x) >> S_CPM1) & M_CPM1)
7329 #define V_CPM2(x) ((x) << S_CPM2)
7330 #define G_CPM2(x) (((x) >> S_CPM2) & M_CPM2)
7334 #define V_CPM3(x) ((x) << S_CPM3)
7335 #define G_CPM3(x) (((x) >> S_CPM3) & M_CPM3)
7339 #define V_CPM4(x) ((x) << S_CPM4)
7340 #define G_CPM4(x) (((x) >> S_CPM4) & M_CPM4)
7344 #define V_CPM5(x) ((x) << S_CPM5)
7345 #define G_CPM5(x) (((x) >> S_CPM5) & M_CPM5)
7349 #define V_CPM6(x) ((x) << S_CPM6)
7350 #define G_CPM6(x) (((x) >> S_CPM6) & M_CPM6)
7354 #define V_CPM7(x) ((x) << S_CPM7)
7355 #define G_CPM7(x) (((x) >> S_CPM7) & M_CPM7)
7359 #define V_OPM0(x) ((x) << S_OPM0)
7360 #define G_OPM0(x) (((x) >> S_OPM0) & M_OPM0)
7364 #define V_OPM1(x) ((x) << S_OPM1)
7365 #define G_OPM1(x) (((x) >> S_OPM1) & M_OPM1)
7369 #define V_OPM2(x) ((x) << S_OPM2)
7370 #define G_OPM2(x) (((x) >> S_OPM2) & M_OPM2)
7374 #define V_OPM3(x) ((x) << S_OPM3)
7375 #define G_OPM3(x) (((x) >> S_OPM3) & M_OPM3)
7379 #define V_OPM4(x) ((x) << S_OPM4)
7380 #define G_OPM4(x) (((x) >> S_OPM4) & M_OPM4)
7384 #define V_OPM5(x) ((x) << S_OPM5)
7385 #define G_OPM5(x) (((x) >> S_OPM5) & M_OPM5)
7389 #define V_OPM6(x) ((x) << S_OPM6)
7390 #define G_OPM6(x) (((x) >> S_OPM6) & M_OPM6)
7394 #define V_OPM7(x) ((x) << S_OPM7)
7395 #define G_OPM7(x) (((x) >> S_OPM7) & M_OPM7)
7397 #define A_PCIE_CORE_GENERAL_PURPOSE_CONTROL_1 0x59d0
7398 #define A_PCIE_PERR_GROUP 0x59d0
7400 #define S_MST_DATAPATHPERR 25
7401 #define V_MST_DATAPATHPERR(x) ((x) << S_MST_DATAPATHPERR)
7402 #define F_MST_DATAPATHPERR V_MST_DATAPATHPERR(1U)
7404 #define S_MST_RSPRDQPERR 24
7405 #define V_MST_RSPRDQPERR(x) ((x) << S_MST_RSPRDQPERR)
7406 #define F_MST_RSPRDQPERR V_MST_RSPRDQPERR(1U)
7408 #define S_IP_RXPERR 23
7409 #define V_IP_RXPERR(x) ((x) << S_IP_RXPERR)
7410 #define F_IP_RXPERR V_IP_RXPERR(1U)
7412 #define S_IP_BACKTXPERR 22
7413 #define V_IP_BACKTXPERR(x) ((x) << S_IP_BACKTXPERR)
7414 #define F_IP_BACKTXPERR V_IP_BACKTXPERR(1U)
7416 #define S_IP_FRONTTXPERR 21
7417 #define V_IP_FRONTTXPERR(x) ((x) << S_IP_FRONTTXPERR)
7418 #define F_IP_FRONTTXPERR V_IP_FRONTTXPERR(1U)
7420 #define S_TRGT1_FIDLKUPHDRPERR 20
7421 #define V_TRGT1_FIDLKUPHDRPERR(x) ((x) << S_TRGT1_FIDLKUPHDRPERR)
7422 #define F_TRGT1_FIDLKUPHDRPERR V_TRGT1_FIDLKUPHDRPERR(1U)
7424 #define S_TRGT1_ALINDDATAPERR 19
7425 #define V_TRGT1_ALINDDATAPERR(x) ((x) << S_TRGT1_ALINDDATAPERR)
7426 #define F_TRGT1_ALINDDATAPERR V_TRGT1_ALINDDATAPERR(1U)
7428 #define S_TRGT1_UNALINDATAPERR 18
7429 #define V_TRGT1_UNALINDATAPERR(x) ((x) << S_TRGT1_UNALINDATAPERR)
7430 #define F_TRGT1_UNALINDATAPERR V_TRGT1_UNALINDATAPERR(1U)
7432 #define S_TRGT1_REQDATAPERR 17
7433 #define V_TRGT1_REQDATAPERR(x) ((x) << S_TRGT1_REQDATAPERR)
7434 #define F_TRGT1_REQDATAPERR V_TRGT1_REQDATAPERR(1U)
7436 #define S_TRGT1_REQHDRPERR 16
7437 #define V_TRGT1_REQHDRPERR(x) ((x) << S_TRGT1_REQHDRPERR)
7438 #define F_TRGT1_REQHDRPERR V_TRGT1_REQHDRPERR(1U)
7440 #define S_IPRXDATA_VC1PERR 15
7441 #define V_IPRXDATA_VC1PERR(x) ((x) << S_IPRXDATA_VC1PERR)
7442 #define F_IPRXDATA_VC1PERR V_IPRXDATA_VC1PERR(1U)
7444 #define S_IPRXDATA_VC0PERR 14
7445 #define V_IPRXDATA_VC0PERR(x) ((x) << S_IPRXDATA_VC0PERR)
7446 #define F_IPRXDATA_VC0PERR V_IPRXDATA_VC0PERR(1U)
7448 #define S_IPRXHDR_VC1PERR 13
7449 #define V_IPRXHDR_VC1PERR(x) ((x) << S_IPRXHDR_VC1PERR)
7450 #define F_IPRXHDR_VC1PERR V_IPRXHDR_VC1PERR(1U)
7452 #define S_IPRXHDR_VC0PERR 12
7453 #define V_IPRXHDR_VC0PERR(x) ((x) << S_IPRXHDR_VC0PERR)
7454 #define F_IPRXHDR_VC0PERR V_IPRXHDR_VC0PERR(1U)
7456 #define S_MA_RSPDATAPERR 11
7457 #define V_MA_RSPDATAPERR(x) ((x) << S_MA_RSPDATAPERR)
7458 #define F_MA_RSPDATAPERR V_MA_RSPDATAPERR(1U)
7460 #define S_MA_CPLTAGQPERR 10
7461 #define V_MA_CPLTAGQPERR(x) ((x) << S_MA_CPLTAGQPERR)
7462 #define F_MA_CPLTAGQPERR V_MA_CPLTAGQPERR(1U)
7464 #define S_MA_REQTAGQPERR 9
7465 #define V_MA_REQTAGQPERR(x) ((x) << S_MA_REQTAGQPERR)
7466 #define F_MA_REQTAGQPERR V_MA_REQTAGQPERR(1U)
7468 #define S_PIOREQ_BAR2CTLPERR 8
7469 #define V_PIOREQ_BAR2CTLPERR(x) ((x) << S_PIOREQ_BAR2CTLPERR)
7470 #define F_PIOREQ_BAR2CTLPERR V_PIOREQ_BAR2CTLPERR(1U)
7472 #define S_PIOREQ_MEMCTLPERR 7
7473 #define V_PIOREQ_MEMCTLPERR(x) ((x) << S_PIOREQ_MEMCTLPERR)
7474 #define F_PIOREQ_MEMCTLPERR V_PIOREQ_MEMCTLPERR(1U)
7476 #define S_PIOREQ_PLMCTLPERR 6
7477 #define V_PIOREQ_PLMCTLPERR(x) ((x) << S_PIOREQ_PLMCTLPERR)
7478 #define F_PIOREQ_PLMCTLPERR V_PIOREQ_PLMCTLPERR(1U)
7480 #define S_PIOREQ_BAR2DATAPERR 5
7481 #define V_PIOREQ_BAR2DATAPERR(x) ((x) << S_PIOREQ_BAR2DATAPERR)
7482 #define F_PIOREQ_BAR2DATAPERR V_PIOREQ_BAR2DATAPERR(1U)
7484 #define S_PIOREQ_MEMDATAPERR 4
7485 #define V_PIOREQ_MEMDATAPERR(x) ((x) << S_PIOREQ_MEMDATAPERR)
7486 #define F_PIOREQ_MEMDATAPERR V_PIOREQ_MEMDATAPERR(1U)
7488 #define S_PIOREQ_PLMDATAPERR 3
7489 #define V_PIOREQ_PLMDATAPERR(x) ((x) << S_PIOREQ_PLMDATAPERR)
7490 #define F_PIOREQ_PLMDATAPERR V_PIOREQ_PLMDATAPERR(1U)
7492 #define S_PIOCPL_CTLPERR 2
7493 #define V_PIOCPL_CTLPERR(x) ((x) << S_PIOCPL_CTLPERR)
7494 #define F_PIOCPL_CTLPERR V_PIOCPL_CTLPERR(1U)
7496 #define S_PIOCPL_DATAPERR 1
7497 #define V_PIOCPL_DATAPERR(x) ((x) << S_PIOCPL_DATAPERR)
7498 #define F_PIOCPL_DATAPERR V_PIOCPL_DATAPERR(1U)
7500 #define S_PIOCPL_PLMRSPPERR 0
7501 #define V_PIOCPL_PLMRSPPERR(x) ((x) << S_PIOCPL_PLMRSPPERR)
7502 #define F_PIOCPL_PLMRSPPERR V_PIOCPL_PLMRSPPERR(1U)
7504 #define S_MA_RSPCTLPERR 26
7505 #define V_MA_RSPCTLPERR(x) ((x) << S_MA_RSPCTLPERR)
7506 #define F_MA_RSPCTLPERR V_MA_RSPCTLPERR(1U)
7508 #define S_T6_IPRXDATA_VC0PERR 15
7509 #define V_T6_IPRXDATA_VC0PERR(x) ((x) << S_T6_IPRXDATA_VC0PERR)
7510 #define F_T6_IPRXDATA_VC0PERR V_T6_IPRXDATA_VC0PERR(1U)
7512 #define S_T6_IPRXHDR_VC0PERR 14
7513 #define V_T6_IPRXHDR_VC0PERR(x) ((x) << S_T6_IPRXHDR_VC0PERR)
7514 #define F_T6_IPRXHDR_VC0PERR V_T6_IPRXHDR_VC0PERR(1U)
7516 #define S_PIOCPL_VDMTXCTLPERR 13
7517 #define V_PIOCPL_VDMTXCTLPERR(x) ((x) << S_PIOCPL_VDMTXCTLPERR)
7518 #define F_PIOCPL_VDMTXCTLPERR V_PIOCPL_VDMTXCTLPERR(1U)
7520 #define S_PIOCPL_VDMTXDATAPERR 12
7521 #define V_PIOCPL_VDMTXDATAPERR(x) ((x) << S_PIOCPL_VDMTXDATAPERR)
7522 #define F_PIOCPL_VDMTXDATAPERR V_PIOCPL_VDMTXDATAPERR(1U)
7524 #define A_PCIE_CORE_GENERAL_PURPOSE_CONTROL_2 0x59d4
7525 #define A_PCIE_RSP_ERR_INT_LOG_EN 0x59d4
7527 #define S_CPLSTATUSINTEN 12
7528 #define V_CPLSTATUSINTEN(x) ((x) << S_CPLSTATUSINTEN)
7529 #define F_CPLSTATUSINTEN V_CPLSTATUSINTEN(1U)
7531 #define S_REQTIMEOUTINTEN 11
7532 #define V_REQTIMEOUTINTEN(x) ((x) << S_REQTIMEOUTINTEN)
7533 #define F_REQTIMEOUTINTEN V_REQTIMEOUTINTEN(1U)
7535 #define S_DISABLEDINTEN 10
7536 #define V_DISABLEDINTEN(x) ((x) << S_DISABLEDINTEN)
7537 #define F_DISABLEDINTEN V_DISABLEDINTEN(1U)
7539 #define S_RSPDROPFLRINTEN 9
7540 #define V_RSPDROPFLRINTEN(x) ((x) << S_RSPDROPFLRINTEN)
7541 #define F_RSPDROPFLRINTEN V_RSPDROPFLRINTEN(1U)
7543 #define S_REQUNDERFLRINTEN 8
7544 #define V_REQUNDERFLRINTEN(x) ((x) << S_REQUNDERFLRINTEN)
7545 #define F_REQUNDERFLRINTEN V_REQUNDERFLRINTEN(1U)
7547 #define S_CPLSTATUSLOGEN 4
7548 #define V_CPLSTATUSLOGEN(x) ((x) << S_CPLSTATUSLOGEN)
7549 #define F_CPLSTATUSLOGEN V_CPLSTATUSLOGEN(1U)
7551 #define S_TIMEOUTLOGEN 3
7552 #define V_TIMEOUTLOGEN(x) ((x) << S_TIMEOUTLOGEN)
7553 #define F_TIMEOUTLOGEN V_TIMEOUTLOGEN(1U)
7555 #define S_DISABLEDLOGEN 2
7556 #define V_DISABLEDLOGEN(x) ((x) << S_DISABLEDLOGEN)
7557 #define F_DISABLEDLOGEN V_DISABLEDLOGEN(1U)
7559 #define S_RSPDROPFLRLOGEN 1
7560 #define V_RSPDROPFLRLOGEN(x) ((x) << S_RSPDROPFLRLOGEN)
7561 #define F_RSPDROPFLRLOGEN V_RSPDROPFLRLOGEN(1U)
7563 #define S_REQUNDERFLRLOGEN 0
7564 #define V_REQUNDERFLRLOGEN(x) ((x) << S_REQUNDERFLRLOGEN)
7565 #define F_REQUNDERFLRLOGEN V_REQUNDERFLRLOGEN(1U)
7567 #define A_PCIE_RSP_ERR_LOG1 0x59d8
7570 #define M_REQTAG 0x7fU
7571 #define V_REQTAG(x) ((x) << S_REQTAG)
7572 #define G_REQTAG(x) (((x) >> S_REQTAG) & M_REQTAG)
7576 #define V_CID(x) ((x) << S_CID)
7577 #define G_CID(x) (((x) >> S_CID) & M_CID)
7580 #define M_CHNUM 0x7U
7581 #define V_CHNUM(x) ((x) << S_CHNUM)
7582 #define G_CHNUM(x) (((x) >> S_CHNUM) & M_CHNUM)
7585 #define M_BYTELEN 0x1fffU
7586 #define V_BYTELEN(x) ((x) << S_BYTELEN)
7587 #define G_BYTELEN(x) (((x) >> S_BYTELEN) & M_BYTELEN)
7590 #define M_REASON 0x7U
7591 #define V_REASON(x) ((x) << S_REASON)
7592 #define G_REASON(x) (((x) >> S_REASON) & M_REASON)
7594 #define S_CPLSTATUS 0
7595 #define M_CPLSTATUS 0x7U
7596 #define V_CPLSTATUS(x) ((x) << S_CPLSTATUS)
7597 #define G_CPLSTATUS(x) (((x) >> S_CPLSTATUS) & M_CPLSTATUS)
7599 #define A_PCIE_RSP_ERR_LOG2 0x59dc
7601 #define S_LOGVALID 31
7602 #define V_LOGVALID(x) ((x) << S_LOGVALID)
7603 #define F_LOGVALID V_LOGVALID(1U)
7606 #define M_ADDR10B 0x3ffU
7607 #define V_ADDR10B(x) ((x) << S_ADDR10B)
7608 #define G_ADDR10B(x) (((x) >> S_ADDR10B) & M_ADDR10B)
7611 #define M_REQVFID 0xffU
7612 #define V_REQVFID(x) ((x) << S_REQVFID)
7613 #define G_REQVFID(x) (((x) >> S_REQVFID) & M_REQVFID)
7615 #define S_T6_ADDR10B 9
7616 #define M_T6_ADDR10B 0x3ffU
7617 #define V_T6_ADDR10B(x) ((x) << S_T6_ADDR10B)
7618 #define G_T6_ADDR10B(x) (((x) >> S_T6_ADDR10B) & M_T6_ADDR10B)
7620 #define S_T6_REQVFID 0
7621 #define M_T6_REQVFID 0x1ffU
7622 #define V_T6_REQVFID(x) ((x) << S_T6_REQVFID)
7623 #define G_T6_REQVFID(x) (((x) >> S_T6_REQVFID) & M_T6_REQVFID)
7625 #define A_PCIE_CHANGESET 0x59fc
7626 #define A_PCIE_REVISION 0x5a00
7627 #define A_PCIE_PDEBUG_INDEX 0x5a04
7629 #define S_PDEBUGSELH 16
7630 #define M_PDEBUGSELH 0x3fU
7631 #define V_PDEBUGSELH(x) ((x) << S_PDEBUGSELH)
7632 #define G_PDEBUGSELH(x) (((x) >> S_PDEBUGSELH) & M_PDEBUGSELH)
7634 #define S_PDEBUGSELL 0
7635 #define M_PDEBUGSELL 0x3fU
7636 #define V_PDEBUGSELL(x) ((x) << S_PDEBUGSELL)
7637 #define G_PDEBUGSELL(x) (((x) >> S_PDEBUGSELL) & M_PDEBUGSELL)
7639 #define S_T6_PDEBUGSELH 16
7640 #define M_T6_PDEBUGSELH 0x7fU
7641 #define V_T6_PDEBUGSELH(x) ((x) << S_T6_PDEBUGSELH)
7642 #define G_T6_PDEBUGSELH(x) (((x) >> S_T6_PDEBUGSELH) & M_T6_PDEBUGSELH)
7644 #define S_T6_PDEBUGSELL 0
7645 #define M_T6_PDEBUGSELL 0x7fU
7646 #define V_T6_PDEBUGSELL(x) ((x) << S_T6_PDEBUGSELL)
7647 #define G_T6_PDEBUGSELL(x) (((x) >> S_T6_PDEBUGSELL) & M_T6_PDEBUGSELL)
7649 #define A_PCIE_PDEBUG_DATA_HIGH 0x5a08
7650 #define A_PCIE_PDEBUG_DATA_LOW 0x5a0c
7651 #define A_PCIE_CDEBUG_INDEX 0x5a10
7653 #define S_CDEBUGSELH 16
7654 #define M_CDEBUGSELH 0xffU
7655 #define V_CDEBUGSELH(x) ((x) << S_CDEBUGSELH)
7656 #define G_CDEBUGSELH(x) (((x) >> S_CDEBUGSELH) & M_CDEBUGSELH)
7658 #define S_CDEBUGSELL 0
7659 #define M_CDEBUGSELL 0xffU
7660 #define V_CDEBUGSELL(x) ((x) << S_CDEBUGSELL)
7661 #define G_CDEBUGSELL(x) (((x) >> S_CDEBUGSELL) & M_CDEBUGSELL)
7663 #define A_PCIE_CDEBUG_DATA_HIGH 0x5a14
7664 #define A_PCIE_CDEBUG_DATA_LOW 0x5a18
7665 #define A_PCIE_DMAW_SOP_CNT 0x5a1c
7669 #define V_CH3(x) ((x) << S_CH3)
7670 #define G_CH3(x) (((x) >> S_CH3) & M_CH3)
7674 #define V_CH2(x) ((x) << S_CH2)
7675 #define G_CH2(x) (((x) >> S_CH2) & M_CH2)
7679 #define V_CH1(x) ((x) << S_CH1)
7680 #define G_CH1(x) (((x) >> S_CH1) & M_CH1)
7684 #define V_CH0(x) ((x) << S_CH0)
7685 #define G_CH0(x) (((x) >> S_CH0) & M_CH0)
7687 #define A_PCIE_DMAW_EOP_CNT 0x5a20
7688 #define A_PCIE_DMAR_REQ_CNT 0x5a24
7689 #define A_PCIE_DMAR_RSP_SOP_CNT 0x5a28
7690 #define A_PCIE_DMAR_RSP_EOP_CNT 0x5a2c
7691 #define A_PCIE_DMAR_RSP_ERR_CNT 0x5a30
7692 #define A_PCIE_DMAI_CNT 0x5a34
7693 #define A_PCIE_CMDW_CNT 0x5a38
7695 #define S_CH1_EOP 24
7696 #define M_CH1_EOP 0xffU
7697 #define V_CH1_EOP(x) ((x) << S_CH1_EOP)
7698 #define G_CH1_EOP(x) (((x) >> S_CH1_EOP) & M_CH1_EOP)
7700 #define S_CH1_SOP 16
7701 #define M_CH1_SOP 0xffU
7702 #define V_CH1_SOP(x) ((x) << S_CH1_SOP)
7703 #define G_CH1_SOP(x) (((x) >> S_CH1_SOP) & M_CH1_SOP)
7706 #define M_CH0_EOP 0xffU
7707 #define V_CH0_EOP(x) ((x) << S_CH0_EOP)
7708 #define G_CH0_EOP(x) (((x) >> S_CH0_EOP) & M_CH0_EOP)
7711 #define M_CH0_SOP 0xffU
7712 #define V_CH0_SOP(x) ((x) << S_CH0_SOP)
7713 #define G_CH0_SOP(x) (((x) >> S_CH0_SOP) & M_CH0_SOP)
7715 #define A_PCIE_CMDR_REQ_CNT 0x5a3c
7716 #define A_PCIE_CMDR_RSP_CNT 0x5a40
7717 #define A_PCIE_CMDR_RSP_ERR_CNT 0x5a44
7718 #define A_PCIE_HMA_REQ_CNT 0x5a48
7720 #define S_CH0_READ 16
7721 #define M_CH0_READ 0xffU
7722 #define V_CH0_READ(x) ((x) << S_CH0_READ)
7723 #define G_CH0_READ(x) (((x) >> S_CH0_READ) & M_CH0_READ)
7725 #define S_CH0_WEOP 8
7726 #define M_CH0_WEOP 0xffU
7727 #define V_CH0_WEOP(x) ((x) << S_CH0_WEOP)
7728 #define G_CH0_WEOP(x) (((x) >> S_CH0_WEOP) & M_CH0_WEOP)
7730 #define S_CH0_WSOP 0
7731 #define M_CH0_WSOP 0xffU
7732 #define V_CH0_WSOP(x) ((x) << S_CH0_WSOP)
7733 #define G_CH0_WSOP(x) (((x) >> S_CH0_WSOP) & M_CH0_WSOP)
7735 #define A_PCIE_HMA_RSP_CNT 0x5a4c
7736 #define A_PCIE_DMA10_RSP_FREE 0x5a50
7738 #define S_CH1_RSP_FREE 16
7739 #define M_CH1_RSP_FREE 0xfffU
7740 #define V_CH1_RSP_FREE(x) ((x) << S_CH1_RSP_FREE)
7741 #define G_CH1_RSP_FREE(x) (((x) >> S_CH1_RSP_FREE) & M_CH1_RSP_FREE)
7743 #define S_CH0_RSP_FREE 0
7744 #define M_CH0_RSP_FREE 0xfffU
7745 #define V_CH0_RSP_FREE(x) ((x) << S_CH0_RSP_FREE)
7746 #define G_CH0_RSP_FREE(x) (((x) >> S_CH0_RSP_FREE) & M_CH0_RSP_FREE)
7748 #define A_PCIE_DMA32_RSP_FREE 0x5a54
7750 #define S_CH3_RSP_FREE 16
7751 #define M_CH3_RSP_FREE 0xfffU
7752 #define V_CH3_RSP_FREE(x) ((x) << S_CH3_RSP_FREE)
7753 #define G_CH3_RSP_FREE(x) (((x) >> S_CH3_RSP_FREE) & M_CH3_RSP_FREE)
7755 #define S_CH2_RSP_FREE 0
7756 #define M_CH2_RSP_FREE 0xfffU
7757 #define V_CH2_RSP_FREE(x) ((x) << S_CH2_RSP_FREE)
7758 #define G_CH2_RSP_FREE(x) (((x) >> S_CH2_RSP_FREE) & M_CH2_RSP_FREE)
7760 #define A_PCIE_CMD_RSP_FREE 0x5a58
7762 #define S_CMD_CH1_RSP_FREE 16
7763 #define M_CMD_CH1_RSP_FREE 0x7fU
7764 #define V_CMD_CH1_RSP_FREE(x) ((x) << S_CMD_CH1_RSP_FREE)
7765 #define G_CMD_CH1_RSP_FREE(x) (((x) >> S_CMD_CH1_RSP_FREE) & M_CMD_CH1_RSP_FREE)
7767 #define S_CMD_CH0_RSP_FREE 0
7768 #define M_CMD_CH0_RSP_FREE 0x7fU
7769 #define V_CMD_CH0_RSP_FREE(x) ((x) << S_CMD_CH0_RSP_FREE)
7770 #define G_CMD_CH0_RSP_FREE(x) (((x) >> S_CMD_CH0_RSP_FREE) & M_CMD_CH0_RSP_FREE)
7772 #define A_PCIE_HMA_RSP_FREE 0x5a5c
7773 #define A_PCIE_BUS_MST_STAT_0 0x5a60
7774 #define A_PCIE_BUS_MST_STAT_1 0x5a64
7775 #define A_PCIE_BUS_MST_STAT_2 0x5a68
7776 #define A_PCIE_BUS_MST_STAT_3 0x5a6c
7777 #define A_PCIE_BUS_MST_STAT_4 0x5a70
7779 #define S_BUSMST_135_128 0
7780 #define M_BUSMST_135_128 0xffU
7781 #define V_BUSMST_135_128(x) ((x) << S_BUSMST_135_128)
7782 #define G_BUSMST_135_128(x) (((x) >> S_BUSMST_135_128) & M_BUSMST_135_128)
7784 #define A_PCIE_BUS_MST_STAT_5 0x5a74
7785 #define A_PCIE_BUS_MST_STAT_6 0x5a78
7786 #define A_PCIE_BUS_MST_STAT_7 0x5a7c
7787 #define A_PCIE_RSP_ERR_STAT_0 0x5a80
7788 #define A_PCIE_RSP_ERR_STAT_1 0x5a84
7789 #define A_PCIE_RSP_ERR_STAT_2 0x5a88
7790 #define A_PCIE_RSP_ERR_STAT_3 0x5a8c
7791 #define A_PCIE_RSP_ERR_STAT_4 0x5a90
7793 #define S_RSPERR_135_128 0
7794 #define M_RSPERR_135_128 0xffU
7795 #define V_RSPERR_135_128(x) ((x) << S_RSPERR_135_128)
7796 #define G_RSPERR_135_128(x) (((x) >> S_RSPERR_135_128) & M_RSPERR_135_128)
7798 #define A_PCIE_RSP_ERR_STAT_5 0x5a94
7799 #define A_PCIE_DBI_TIMEOUT_CTL 0x5a94
7801 #define S_DBI_TIMER 0
7802 #define M_DBI_TIMER 0xffffU
7803 #define V_DBI_TIMER(x) ((x) << S_DBI_TIMER)
7804 #define G_DBI_TIMER(x) (((x) >> S_DBI_TIMER) & M_DBI_TIMER)
7806 #define A_PCIE_RSP_ERR_STAT_6 0x5a98
7807 #define A_PCIE_DBI_TIMEOUT_STATUS0 0x5a98
7808 #define A_PCIE_RSP_ERR_STAT_7 0x5a9c
7809 #define A_PCIE_DBI_TIMEOUT_STATUS1 0x5a9c
7812 #define M_SOURCE 0x3U
7813 #define V_SOURCE(x) ((x) << S_SOURCE)
7814 #define G_SOURCE(x) (((x) >> S_SOURCE) & M_SOURCE)
7816 #define S_DBI_WRITE 12
7817 #define M_DBI_WRITE 0xfU
7818 #define V_DBI_WRITE(x) ((x) << S_DBI_WRITE)
7819 #define G_DBI_WRITE(x) (((x) >> S_DBI_WRITE) & M_DBI_WRITE)
7821 #define S_DBI_CS2 11
7822 #define V_DBI_CS2(x) ((x) << S_DBI_CS2)
7823 #define F_DBI_CS2 V_DBI_CS2(1U)
7826 #define M_DBI_PF 0x7U
7827 #define V_DBI_PF(x) ((x) << S_DBI_PF)
7828 #define G_DBI_PF(x) (((x) >> S_DBI_PF) & M_DBI_PF)
7830 #define S_PL_TOVFVLD 7
7831 #define V_PL_TOVFVLD(x) ((x) << S_PL_TOVFVLD)
7832 #define F_PL_TOVFVLD V_PL_TOVFVLD(1U)
7835 #define M_PL_TOVF 0x7fU
7836 #define V_PL_TOVF(x) ((x) << S_PL_TOVF)
7837 #define G_PL_TOVF(x) (((x) >> S_PL_TOVF) & M_PL_TOVF)
7839 #define S_T6_SOURCE 17
7840 #define M_T6_SOURCE 0x3U
7841 #define V_T6_SOURCE(x) ((x) << S_T6_SOURCE)
7842 #define G_T6_SOURCE(x) (((x) >> S_T6_SOURCE) & M_T6_SOURCE)
7844 #define S_T6_DBI_WRITE 13
7845 #define M_T6_DBI_WRITE 0xfU
7846 #define V_T6_DBI_WRITE(x) ((x) << S_T6_DBI_WRITE)
7847 #define G_T6_DBI_WRITE(x) (((x) >> S_T6_DBI_WRITE) & M_T6_DBI_WRITE)
7849 #define S_T6_DBI_CS2 12
7850 #define V_T6_DBI_CS2(x) ((x) << S_T6_DBI_CS2)
7851 #define F_T6_DBI_CS2 V_T6_DBI_CS2(1U)
7853 #define S_T6_DBI_PF 9
7854 #define M_T6_DBI_PF 0x7U
7855 #define V_T6_DBI_PF(x) ((x) << S_T6_DBI_PF)
7856 #define G_T6_DBI_PF(x) (((x) >> S_T6_DBI_PF) & M_T6_DBI_PF)
7858 #define S_T6_PL_TOVFVLD 8
7859 #define V_T6_PL_TOVFVLD(x) ((x) << S_T6_PL_TOVFVLD)
7860 #define F_T6_PL_TOVFVLD V_T6_PL_TOVFVLD(1U)
7862 #define S_T6_PL_TOVF 0
7863 #define M_T6_PL_TOVF 0xffU
7864 #define V_T6_PL_TOVF(x) ((x) << S_T6_PL_TOVF)
7865 #define G_T6_PL_TOVF(x) (((x) >> S_T6_PL_TOVF) & M_T6_PL_TOVF)
7867 #define A_PCIE_MSI_EN_0 0x5aa0
7868 #define A_PCIE_MSI_EN_1 0x5aa4
7869 #define A_PCIE_MSI_EN_2 0x5aa8
7870 #define A_PCIE_MSI_EN_3 0x5aac
7871 #define A_PCIE_MSI_EN_4 0x5ab0
7872 #define A_PCIE_MSI_EN_5 0x5ab4
7873 #define A_PCIE_MSI_EN_6 0x5ab8
7874 #define A_PCIE_MSI_EN_7 0x5abc
7875 #define A_PCIE_MSIX_EN_0 0x5ac0
7876 #define A_PCIE_MSIX_EN_1 0x5ac4
7877 #define A_PCIE_MSIX_EN_2 0x5ac8
7878 #define A_PCIE_MSIX_EN_3 0x5acc
7879 #define A_PCIE_MSIX_EN_4 0x5ad0
7880 #define A_PCIE_MSIX_EN_5 0x5ad4
7881 #define A_PCIE_MSIX_EN_6 0x5ad8
7882 #define A_PCIE_MSIX_EN_7 0x5adc
7883 #define A_PCIE_DMA_BUF_CTL 0x5ae0
7885 #define S_BUFRDCNT 18
7886 #define M_BUFRDCNT 0x3fffU
7887 #define V_BUFRDCNT(x) ((x) << S_BUFRDCNT)
7888 #define G_BUFRDCNT(x) (((x) >> S_BUFRDCNT) & M_BUFRDCNT)
7890 #define S_BUFWRCNT 9
7891 #define M_BUFWRCNT 0x1ffU
7892 #define V_BUFWRCNT(x) ((x) << S_BUFWRCNT)
7893 #define G_BUFWRCNT(x) (((x) >> S_BUFWRCNT) & M_BUFWRCNT)
7895 #define S_MAXBUFWRREQ 0
7896 #define M_MAXBUFWRREQ 0x1ffU
7897 #define V_MAXBUFWRREQ(x) ((x) << S_MAXBUFWRREQ)
7898 #define G_MAXBUFWRREQ(x) (((x) >> S_MAXBUFWRREQ) & M_MAXBUFWRREQ)
7900 #define A_PCIE_PB_CTL 0x5b94
7903 #define M_PB_SEL 0xffU
7904 #define V_PB_SEL(x) ((x) << S_PB_SEL)
7905 #define G_PB_SEL(x) (((x) >> S_PB_SEL) & M_PB_SEL)
7907 #define S_PB_SELREG 8
7908 #define M_PB_SELREG 0xffU
7909 #define V_PB_SELREG(x) ((x) << S_PB_SELREG)
7910 #define G_PB_SELREG(x) (((x) >> S_PB_SELREG) & M_PB_SELREG)
7913 #define M_PB_FUNC 0x7U
7914 #define V_PB_FUNC(x) ((x) << S_PB_FUNC)
7915 #define G_PB_FUNC(x) (((x) >> S_PB_FUNC) & M_PB_FUNC)
7917 #define A_PCIE_PB_DATA 0x5b98
7918 #define A_PCIE_CUR_LINK 0x5b9c
7920 #define S_CFGINITCOEFFDONESEEN 22
7921 #define V_CFGINITCOEFFDONESEEN(x) ((x) << S_CFGINITCOEFFDONESEEN)
7922 #define F_CFGINITCOEFFDONESEEN V_CFGINITCOEFFDONESEEN(1U)
7924 #define S_CFGINITCOEFFDONE 21
7925 #define V_CFGINITCOEFFDONE(x) ((x) << S_CFGINITCOEFFDONE)
7926 #define F_CFGINITCOEFFDONE V_CFGINITCOEFFDONE(1U)
7928 #define S_XMLH_LINK_UP 20
7929 #define V_XMLH_LINK_UP(x) ((x) << S_XMLH_LINK_UP)
7930 #define F_XMLH_LINK_UP V_XMLH_LINK_UP(1U)
7932 #define S_PM_LINKST_IN_L0S 19
7933 #define V_PM_LINKST_IN_L0S(x) ((x) << S_PM_LINKST_IN_L0S)
7934 #define F_PM_LINKST_IN_L0S V_PM_LINKST_IN_L0S(1U)
7936 #define S_PM_LINKST_IN_L1 18
7937 #define V_PM_LINKST_IN_L1(x) ((x) << S_PM_LINKST_IN_L1)
7938 #define F_PM_LINKST_IN_L1 V_PM_LINKST_IN_L1(1U)
7940 #define S_PM_LINKST_IN_L2 17
7941 #define V_PM_LINKST_IN_L2(x) ((x) << S_PM_LINKST_IN_L2)
7942 #define F_PM_LINKST_IN_L2 V_PM_LINKST_IN_L2(1U)
7944 #define S_PM_LINKST_L2_EXIT 16
7945 #define V_PM_LINKST_L2_EXIT(x) ((x) << S_PM_LINKST_L2_EXIT)
7946 #define F_PM_LINKST_L2_EXIT V_PM_LINKST_L2_EXIT(1U)
7948 #define S_XMLH_IN_RL0S 15
7949 #define V_XMLH_IN_RL0S(x) ((x) << S_XMLH_IN_RL0S)
7950 #define F_XMLH_IN_RL0S V_XMLH_IN_RL0S(1U)
7952 #define S_XMLH_LTSSM_STATE_RCVRY_EQ 14
7953 #define V_XMLH_LTSSM_STATE_RCVRY_EQ(x) ((x) << S_XMLH_LTSSM_STATE_RCVRY_EQ)
7954 #define F_XMLH_LTSSM_STATE_RCVRY_EQ V_XMLH_LTSSM_STATE_RCVRY_EQ(1U)
7956 #define S_NEGOTIATEDWIDTH 8
7957 #define M_NEGOTIATEDWIDTH 0x3fU
7958 #define V_NEGOTIATEDWIDTH(x) ((x) << S_NEGOTIATEDWIDTH)
7959 #define G_NEGOTIATEDWIDTH(x) (((x) >> S_NEGOTIATEDWIDTH) & M_NEGOTIATEDWIDTH)
7961 #define S_ACTIVELANES 0
7962 #define M_ACTIVELANES 0xffU
7963 #define V_ACTIVELANES(x) ((x) << S_ACTIVELANES)
7964 #define G_ACTIVELANES(x) (((x) >> S_ACTIVELANES) & M_ACTIVELANES)
7966 #define A_PCIE_PHY_REQRXPWR 0x5ba0
7968 #define S_LNH_RXSTATEDONE 31
7969 #define V_LNH_RXSTATEDONE(x) ((x) << S_LNH_RXSTATEDONE)
7970 #define F_LNH_RXSTATEDONE V_LNH_RXSTATEDONE(1U)
7972 #define S_LNH_RXSTATEREQ 30
7973 #define V_LNH_RXSTATEREQ(x) ((x) << S_LNH_RXSTATEREQ)
7974 #define F_LNH_RXSTATEREQ V_LNH_RXSTATEREQ(1U)
7976 #define S_LNH_RXPWRSTATE 28
7977 #define M_LNH_RXPWRSTATE 0x3U
7978 #define V_LNH_RXPWRSTATE(x) ((x) << S_LNH_RXPWRSTATE)
7979 #define G_LNH_RXPWRSTATE(x) (((x) >> S_LNH_RXPWRSTATE) & M_LNH_RXPWRSTATE)
7981 #define S_LNG_RXSTATEDONE 27
7982 #define V_LNG_RXSTATEDONE(x) ((x) << S_LNG_RXSTATEDONE)
7983 #define F_LNG_RXSTATEDONE V_LNG_RXSTATEDONE(1U)
7985 #define S_LNG_RXSTATEREQ 26
7986 #define V_LNG_RXSTATEREQ(x) ((x) << S_LNG_RXSTATEREQ)
7987 #define F_LNG_RXSTATEREQ V_LNG_RXSTATEREQ(1U)
7989 #define S_LNG_RXPWRSTATE 24
7990 #define M_LNG_RXPWRSTATE 0x3U
7991 #define V_LNG_RXPWRSTATE(x) ((x) << S_LNG_RXPWRSTATE)
7992 #define G_LNG_RXPWRSTATE(x) (((x) >> S_LNG_RXPWRSTATE) & M_LNG_RXPWRSTATE)
7994 #define S_LNF_RXSTATEDONE 23
7995 #define V_LNF_RXSTATEDONE(x) ((x) << S_LNF_RXSTATEDONE)
7996 #define F_LNF_RXSTATEDONE V_LNF_RXSTATEDONE(1U)
7998 #define S_LNF_RXSTATEREQ 22
7999 #define V_LNF_RXSTATEREQ(x) ((x) << S_LNF_RXSTATEREQ)
8000 #define F_LNF_RXSTATEREQ V_LNF_RXSTATEREQ(1U)
8002 #define S_LNF_RXPWRSTATE 20
8003 #define M_LNF_RXPWRSTATE 0x3U
8004 #define V_LNF_RXPWRSTATE(x) ((x) << S_LNF_RXPWRSTATE)
8005 #define G_LNF_RXPWRSTATE(x) (((x) >> S_LNF_RXPWRSTATE) & M_LNF_RXPWRSTATE)
8007 #define S_LNE_RXSTATEDONE 19
8008 #define V_LNE_RXSTATEDONE(x) ((x) << S_LNE_RXSTATEDONE)
8009 #define F_LNE_RXSTATEDONE V_LNE_RXSTATEDONE(1U)
8011 #define S_LNE_RXSTATEREQ 18
8012 #define V_LNE_RXSTATEREQ(x) ((x) << S_LNE_RXSTATEREQ)
8013 #define F_LNE_RXSTATEREQ V_LNE_RXSTATEREQ(1U)
8015 #define S_LNE_RXPWRSTATE 16
8016 #define M_LNE_RXPWRSTATE 0x3U
8017 #define V_LNE_RXPWRSTATE(x) ((x) << S_LNE_RXPWRSTATE)
8018 #define G_LNE_RXPWRSTATE(x) (((x) >> S_LNE_RXPWRSTATE) & M_LNE_RXPWRSTATE)
8020 #define S_LND_RXSTATEDONE 15
8021 #define V_LND_RXSTATEDONE(x) ((x) << S_LND_RXSTATEDONE)
8022 #define F_LND_RXSTATEDONE V_LND_RXSTATEDONE(1U)
8024 #define S_LND_RXSTATEREQ 14
8025 #define V_LND_RXSTATEREQ(x) ((x) << S_LND_RXSTATEREQ)
8026 #define F_LND_RXSTATEREQ V_LND_RXSTATEREQ(1U)
8028 #define S_LND_RXPWRSTATE 12
8029 #define M_LND_RXPWRSTATE 0x3U
8030 #define V_LND_RXPWRSTATE(x) ((x) << S_LND_RXPWRSTATE)
8031 #define G_LND_RXPWRSTATE(x) (((x) >> S_LND_RXPWRSTATE) & M_LND_RXPWRSTATE)
8033 #define S_LNC_RXSTATEDONE 11
8034 #define V_LNC_RXSTATEDONE(x) ((x) << S_LNC_RXSTATEDONE)
8035 #define F_LNC_RXSTATEDONE V_LNC_RXSTATEDONE(1U)
8037 #define S_LNC_RXSTATEREQ 10
8038 #define V_LNC_RXSTATEREQ(x) ((x) << S_LNC_RXSTATEREQ)
8039 #define F_LNC_RXSTATEREQ V_LNC_RXSTATEREQ(1U)
8041 #define S_LNC_RXPWRSTATE 8
8042 #define M_LNC_RXPWRSTATE 0x3U
8043 #define V_LNC_RXPWRSTATE(x) ((x) << S_LNC_RXPWRSTATE)
8044 #define G_LNC_RXPWRSTATE(x) (((x) >> S_LNC_RXPWRSTATE) & M_LNC_RXPWRSTATE)
8046 #define S_LNB_RXSTATEDONE 7
8047 #define V_LNB_RXSTATEDONE(x) ((x) << S_LNB_RXSTATEDONE)
8048 #define F_LNB_RXSTATEDONE V_LNB_RXSTATEDONE(1U)
8050 #define S_LNB_RXSTATEREQ 6
8051 #define V_LNB_RXSTATEREQ(x) ((x) << S_LNB_RXSTATEREQ)
8052 #define F_LNB_RXSTATEREQ V_LNB_RXSTATEREQ(1U)
8054 #define S_LNB_RXPWRSTATE 4
8055 #define M_LNB_RXPWRSTATE 0x3U
8056 #define V_LNB_RXPWRSTATE(x) ((x) << S_LNB_RXPWRSTATE)
8057 #define G_LNB_RXPWRSTATE(x) (((x) >> S_LNB_RXPWRSTATE) & M_LNB_RXPWRSTATE)
8059 #define S_LNA_RXSTATEDONE 3
8060 #define V_LNA_RXSTATEDONE(x) ((x) << S_LNA_RXSTATEDONE)
8061 #define F_LNA_RXSTATEDONE V_LNA_RXSTATEDONE(1U)
8063 #define S_LNA_RXSTATEREQ 2
8064 #define V_LNA_RXSTATEREQ(x) ((x) << S_LNA_RXSTATEREQ)
8065 #define F_LNA_RXSTATEREQ V_LNA_RXSTATEREQ(1U)
8067 #define S_LNA_RXPWRSTATE 0
8068 #define M_LNA_RXPWRSTATE 0x3U
8069 #define V_LNA_RXPWRSTATE(x) ((x) << S_LNA_RXPWRSTATE)
8070 #define G_LNA_RXPWRSTATE(x) (((x) >> S_LNA_RXPWRSTATE) & M_LNA_RXPWRSTATE)
8072 #define S_REQ_LNH_RXSTATEDONE 31
8073 #define V_REQ_LNH_RXSTATEDONE(x) ((x) << S_REQ_LNH_RXSTATEDONE)
8074 #define F_REQ_LNH_RXSTATEDONE V_REQ_LNH_RXSTATEDONE(1U)
8076 #define S_REQ_LNH_RXSTATEREQ 30
8077 #define V_REQ_LNH_RXSTATEREQ(x) ((x) << S_REQ_LNH_RXSTATEREQ)
8078 #define F_REQ_LNH_RXSTATEREQ V_REQ_LNH_RXSTATEREQ(1U)
8080 #define S_REQ_LNH_RXPWRSTATE 28
8081 #define M_REQ_LNH_RXPWRSTATE 0x3U
8082 #define V_REQ_LNH_RXPWRSTATE(x) ((x) << S_REQ_LNH_RXPWRSTATE)
8083 #define G_REQ_LNH_RXPWRSTATE(x) (((x) >> S_REQ_LNH_RXPWRSTATE) & M_REQ_LNH_RXPWRSTATE)
8085 #define S_REQ_LNG_RXSTATEDONE 27
8086 #define V_REQ_LNG_RXSTATEDONE(x) ((x) << S_REQ_LNG_RXSTATEDONE)
8087 #define F_REQ_LNG_RXSTATEDONE V_REQ_LNG_RXSTATEDONE(1U)
8089 #define S_REQ_LNG_RXSTATEREQ 26
8090 #define V_REQ_LNG_RXSTATEREQ(x) ((x) << S_REQ_LNG_RXSTATEREQ)
8091 #define F_REQ_LNG_RXSTATEREQ V_REQ_LNG_RXSTATEREQ(1U)
8093 #define S_REQ_LNG_RXPWRSTATE 24
8094 #define M_REQ_LNG_RXPWRSTATE 0x3U
8095 #define V_REQ_LNG_RXPWRSTATE(x) ((x) << S_REQ_LNG_RXPWRSTATE)
8096 #define G_REQ_LNG_RXPWRSTATE(x) (((x) >> S_REQ_LNG_RXPWRSTATE) & M_REQ_LNG_RXPWRSTATE)
8098 #define S_REQ_LNF_RXSTATEDONE 23
8099 #define V_REQ_LNF_RXSTATEDONE(x) ((x) << S_REQ_LNF_RXSTATEDONE)
8100 #define F_REQ_LNF_RXSTATEDONE V_REQ_LNF_RXSTATEDONE(1U)
8102 #define S_REQ_LNF_RXSTATEREQ 22
8103 #define V_REQ_LNF_RXSTATEREQ(x) ((x) << S_REQ_LNF_RXSTATEREQ)
8104 #define F_REQ_LNF_RXSTATEREQ V_REQ_LNF_RXSTATEREQ(1U)
8106 #define S_REQ_LNF_RXPWRSTATE 20
8107 #define M_REQ_LNF_RXPWRSTATE 0x3U
8108 #define V_REQ_LNF_RXPWRSTATE(x) ((x) << S_REQ_LNF_RXPWRSTATE)
8109 #define G_REQ_LNF_RXPWRSTATE(x) (((x) >> S_REQ_LNF_RXPWRSTATE) & M_REQ_LNF_RXPWRSTATE)
8111 #define S_REQ_LNE_RXSTATEDONE 19
8112 #define V_REQ_LNE_RXSTATEDONE(x) ((x) << S_REQ_LNE_RXSTATEDONE)
8113 #define F_REQ_LNE_RXSTATEDONE V_REQ_LNE_RXSTATEDONE(1U)
8115 #define S_REQ_LNE_RXSTATEREQ 18
8116 #define V_REQ_LNE_RXSTATEREQ(x) ((x) << S_REQ_LNE_RXSTATEREQ)
8117 #define F_REQ_LNE_RXSTATEREQ V_REQ_LNE_RXSTATEREQ(1U)
8119 #define S_REQ_LNE_RXPWRSTATE 16
8120 #define M_REQ_LNE_RXPWRSTATE 0x3U
8121 #define V_REQ_LNE_RXPWRSTATE(x) ((x) << S_REQ_LNE_RXPWRSTATE)
8122 #define G_REQ_LNE_RXPWRSTATE(x) (((x) >> S_REQ_LNE_RXPWRSTATE) & M_REQ_LNE_RXPWRSTATE)
8124 #define S_REQ_LND_RXSTATEDONE 15
8125 #define V_REQ_LND_RXSTATEDONE(x) ((x) << S_REQ_LND_RXSTATEDONE)
8126 #define F_REQ_LND_RXSTATEDONE V_REQ_LND_RXSTATEDONE(1U)
8128 #define S_REQ_LND_RXSTATEREQ 14
8129 #define V_REQ_LND_RXSTATEREQ(x) ((x) << S_REQ_LND_RXSTATEREQ)
8130 #define F_REQ_LND_RXSTATEREQ V_REQ_LND_RXSTATEREQ(1U)
8132 #define S_REQ_LND_RXPWRSTATE 12
8133 #define M_REQ_LND_RXPWRSTATE 0x3U
8134 #define V_REQ_LND_RXPWRSTATE(x) ((x) << S_REQ_LND_RXPWRSTATE)
8135 #define G_REQ_LND_RXPWRSTATE(x) (((x) >> S_REQ_LND_RXPWRSTATE) & M_REQ_LND_RXPWRSTATE)
8137 #define S_REQ_LNC_RXSTATEDONE 11
8138 #define V_REQ_LNC_RXSTATEDONE(x) ((x) << S_REQ_LNC_RXSTATEDONE)
8139 #define F_REQ_LNC_RXSTATEDONE V_REQ_LNC_RXSTATEDONE(1U)
8141 #define S_REQ_LNC_RXSTATEREQ 10
8142 #define V_REQ_LNC_RXSTATEREQ(x) ((x) << S_REQ_LNC_RXSTATEREQ)
8143 #define F_REQ_LNC_RXSTATEREQ V_REQ_LNC_RXSTATEREQ(1U)
8145 #define S_REQ_LNC_RXPWRSTATE 8
8146 #define M_REQ_LNC_RXPWRSTATE 0x3U
8147 #define V_REQ_LNC_RXPWRSTATE(x) ((x) << S_REQ_LNC_RXPWRSTATE)
8148 #define G_REQ_LNC_RXPWRSTATE(x) (((x) >> S_REQ_LNC_RXPWRSTATE) & M_REQ_LNC_RXPWRSTATE)
8150 #define S_REQ_LNB_RXSTATEDONE 7
8151 #define V_REQ_LNB_RXSTATEDONE(x) ((x) << S_REQ_LNB_RXSTATEDONE)
8152 #define F_REQ_LNB_RXSTATEDONE V_REQ_LNB_RXSTATEDONE(1U)
8154 #define S_REQ_LNB_RXSTATEREQ 6
8155 #define V_REQ_LNB_RXSTATEREQ(x) ((x) << S_REQ_LNB_RXSTATEREQ)
8156 #define F_REQ_LNB_RXSTATEREQ V_REQ_LNB_RXSTATEREQ(1U)
8158 #define S_REQ_LNB_RXPWRSTATE 4
8159 #define M_REQ_LNB_RXPWRSTATE 0x3U
8160 #define V_REQ_LNB_RXPWRSTATE(x) ((x) << S_REQ_LNB_RXPWRSTATE)
8161 #define G_REQ_LNB_RXPWRSTATE(x) (((x) >> S_REQ_LNB_RXPWRSTATE) & M_REQ_LNB_RXPWRSTATE)
8163 #define S_REQ_LNA_RXSTATEDONE 3
8164 #define V_REQ_LNA_RXSTATEDONE(x) ((x) << S_REQ_LNA_RXSTATEDONE)
8165 #define F_REQ_LNA_RXSTATEDONE V_REQ_LNA_RXSTATEDONE(1U)
8167 #define S_REQ_LNA_RXSTATEREQ 2
8168 #define V_REQ_LNA_RXSTATEREQ(x) ((x) << S_REQ_LNA_RXSTATEREQ)
8169 #define F_REQ_LNA_RXSTATEREQ V_REQ_LNA_RXSTATEREQ(1U)
8171 #define S_REQ_LNA_RXPWRSTATE 0
8172 #define M_REQ_LNA_RXPWRSTATE 0x3U
8173 #define V_REQ_LNA_RXPWRSTATE(x) ((x) << S_REQ_LNA_RXPWRSTATE)
8174 #define G_REQ_LNA_RXPWRSTATE(x) (((x) >> S_REQ_LNA_RXPWRSTATE) & M_REQ_LNA_RXPWRSTATE)
8176 #define A_PCIE_PHY_CURRXPWR 0x5ba4
8178 #define S_T5_LNH_RXPWRSTATE 28
8179 #define M_T5_LNH_RXPWRSTATE 0x7U
8180 #define V_T5_LNH_RXPWRSTATE(x) ((x) << S_T5_LNH_RXPWRSTATE)
8181 #define G_T5_LNH_RXPWRSTATE(x) (((x) >> S_T5_LNH_RXPWRSTATE) & M_T5_LNH_RXPWRSTATE)
8183 #define S_T5_LNG_RXPWRSTATE 24
8184 #define M_T5_LNG_RXPWRSTATE 0x7U
8185 #define V_T5_LNG_RXPWRSTATE(x) ((x) << S_T5_LNG_RXPWRSTATE)
8186 #define G_T5_LNG_RXPWRSTATE(x) (((x) >> S_T5_LNG_RXPWRSTATE) & M_T5_LNG_RXPWRSTATE)
8188 #define S_T5_LNF_RXPWRSTATE 20
8189 #define M_T5_LNF_RXPWRSTATE 0x7U
8190 #define V_T5_LNF_RXPWRSTATE(x) ((x) << S_T5_LNF_RXPWRSTATE)
8191 #define G_T5_LNF_RXPWRSTATE(x) (((x) >> S_T5_LNF_RXPWRSTATE) & M_T5_LNF_RXPWRSTATE)
8193 #define S_T5_LNE_RXPWRSTATE 16
8194 #define M_T5_LNE_RXPWRSTATE 0x7U
8195 #define V_T5_LNE_RXPWRSTATE(x) ((x) << S_T5_LNE_RXPWRSTATE)
8196 #define G_T5_LNE_RXPWRSTATE(x) (((x) >> S_T5_LNE_RXPWRSTATE) & M_T5_LNE_RXPWRSTATE)
8198 #define S_T5_LND_RXPWRSTATE 12
8199 #define M_T5_LND_RXPWRSTATE 0x7U
8200 #define V_T5_LND_RXPWRSTATE(x) ((x) << S_T5_LND_RXPWRSTATE)
8201 #define G_T5_LND_RXPWRSTATE(x) (((x) >> S_T5_LND_RXPWRSTATE) & M_T5_LND_RXPWRSTATE)
8203 #define S_T5_LNC_RXPWRSTATE 8
8204 #define M_T5_LNC_RXPWRSTATE 0x7U
8205 #define V_T5_LNC_RXPWRSTATE(x) ((x) << S_T5_LNC_RXPWRSTATE)
8206 #define G_T5_LNC_RXPWRSTATE(x) (((x) >> S_T5_LNC_RXPWRSTATE) & M_T5_LNC_RXPWRSTATE)
8208 #define S_T5_LNB_RXPWRSTATE 4
8209 #define M_T5_LNB_RXPWRSTATE 0x7U
8210 #define V_T5_LNB_RXPWRSTATE(x) ((x) << S_T5_LNB_RXPWRSTATE)
8211 #define G_T5_LNB_RXPWRSTATE(x) (((x) >> S_T5_LNB_RXPWRSTATE) & M_T5_LNB_RXPWRSTATE)
8213 #define S_T5_LNA_RXPWRSTATE 0
8214 #define M_T5_LNA_RXPWRSTATE 0x7U
8215 #define V_T5_LNA_RXPWRSTATE(x) ((x) << S_T5_LNA_RXPWRSTATE)
8216 #define G_T5_LNA_RXPWRSTATE(x) (((x) >> S_T5_LNA_RXPWRSTATE) & M_T5_LNA_RXPWRSTATE)
8218 #define S_CUR_LNH_RXPWRSTATE 28
8219 #define M_CUR_LNH_RXPWRSTATE 0x7U
8220 #define V_CUR_LNH_RXPWRSTATE(x) ((x) << S_CUR_LNH_RXPWRSTATE)
8221 #define G_CUR_LNH_RXPWRSTATE(x) (((x) >> S_CUR_LNH_RXPWRSTATE) & M_CUR_LNH_RXPWRSTATE)
8223 #define S_CUR_LNG_RXPWRSTATE 24
8224 #define M_CUR_LNG_RXPWRSTATE 0x7U
8225 #define V_CUR_LNG_RXPWRSTATE(x) ((x) << S_CUR_LNG_RXPWRSTATE)
8226 #define G_CUR_LNG_RXPWRSTATE(x) (((x) >> S_CUR_LNG_RXPWRSTATE) & M_CUR_LNG_RXPWRSTATE)
8228 #define S_CUR_LNF_RXPWRSTATE 20
8229 #define M_CUR_LNF_RXPWRSTATE 0x7U
8230 #define V_CUR_LNF_RXPWRSTATE(x) ((x) << S_CUR_LNF_RXPWRSTATE)
8231 #define G_CUR_LNF_RXPWRSTATE(x) (((x) >> S_CUR_LNF_RXPWRSTATE) & M_CUR_LNF_RXPWRSTATE)
8233 #define S_CUR_LNE_RXPWRSTATE 16
8234 #define M_CUR_LNE_RXPWRSTATE 0x7U
8235 #define V_CUR_LNE_RXPWRSTATE(x) ((x) << S_CUR_LNE_RXPWRSTATE)
8236 #define G_CUR_LNE_RXPWRSTATE(x) (((x) >> S_CUR_LNE_RXPWRSTATE) & M_CUR_LNE_RXPWRSTATE)
8238 #define S_CUR_LND_RXPWRSTATE 12
8239 #define M_CUR_LND_RXPWRSTATE 0x7U
8240 #define V_CUR_LND_RXPWRSTATE(x) ((x) << S_CUR_LND_RXPWRSTATE)
8241 #define G_CUR_LND_RXPWRSTATE(x) (((x) >> S_CUR_LND_RXPWRSTATE) & M_CUR_LND_RXPWRSTATE)
8243 #define S_CUR_LNC_RXPWRSTATE 8
8244 #define M_CUR_LNC_RXPWRSTATE 0x7U
8245 #define V_CUR_LNC_RXPWRSTATE(x) ((x) << S_CUR_LNC_RXPWRSTATE)
8246 #define G_CUR_LNC_RXPWRSTATE(x) (((x) >> S_CUR_LNC_RXPWRSTATE) & M_CUR_LNC_RXPWRSTATE)
8248 #define S_CUR_LNB_RXPWRSTATE 4
8249 #define M_CUR_LNB_RXPWRSTATE 0x7U
8250 #define V_CUR_LNB_RXPWRSTATE(x) ((x) << S_CUR_LNB_RXPWRSTATE)
8251 #define G_CUR_LNB_RXPWRSTATE(x) (((x) >> S_CUR_LNB_RXPWRSTATE) & M_CUR_LNB_RXPWRSTATE)
8253 #define S_CUR_LNA_RXPWRSTATE 0
8254 #define M_CUR_LNA_RXPWRSTATE 0x7U
8255 #define V_CUR_LNA_RXPWRSTATE(x) ((x) << S_CUR_LNA_RXPWRSTATE)
8256 #define G_CUR_LNA_RXPWRSTATE(x) (((x) >> S_CUR_LNA_RXPWRSTATE) & M_CUR_LNA_RXPWRSTATE)
8258 #define A_PCIE_PHY_GEN3_AE0 0x5ba8
8260 #define S_LND_STAT 28
8261 #define M_LND_STAT 0x7U
8262 #define V_LND_STAT(x) ((x) << S_LND_STAT)
8263 #define G_LND_STAT(x) (((x) >> S_LND_STAT) & M_LND_STAT)
8265 #define S_LND_CMD 24
8266 #define M_LND_CMD 0x7U
8267 #define V_LND_CMD(x) ((x) << S_LND_CMD)
8268 #define G_LND_CMD(x) (((x) >> S_LND_CMD) & M_LND_CMD)
8270 #define S_LNC_STAT 20
8271 #define M_LNC_STAT 0x7U
8272 #define V_LNC_STAT(x) ((x) << S_LNC_STAT)
8273 #define G_LNC_STAT(x) (((x) >> S_LNC_STAT) & M_LNC_STAT)
8275 #define S_LNC_CMD 16
8276 #define M_LNC_CMD 0x7U
8277 #define V_LNC_CMD(x) ((x) << S_LNC_CMD)
8278 #define G_LNC_CMD(x) (((x) >> S_LNC_CMD) & M_LNC_CMD)
8280 #define S_LNB_STAT 12
8281 #define M_LNB_STAT 0x7U
8282 #define V_LNB_STAT(x) ((x) << S_LNB_STAT)
8283 #define G_LNB_STAT(x) (((x) >> S_LNB_STAT) & M_LNB_STAT)
8286 #define M_LNB_CMD 0x7U
8287 #define V_LNB_CMD(x) ((x) << S_LNB_CMD)
8288 #define G_LNB_CMD(x) (((x) >> S_LNB_CMD) & M_LNB_CMD)
8290 #define S_LNA_STAT 4
8291 #define M_LNA_STAT 0x7U
8292 #define V_LNA_STAT(x) ((x) << S_LNA_STAT)
8293 #define G_LNA_STAT(x) (((x) >> S_LNA_STAT) & M_LNA_STAT)
8296 #define M_LNA_CMD 0x7U
8297 #define V_LNA_CMD(x) ((x) << S_LNA_CMD)
8298 #define G_LNA_CMD(x) (((x) >> S_LNA_CMD) & M_LNA_CMD)
8300 #define A_PCIE_PHY_GEN3_AE1 0x5bac
8302 #define S_LNH_STAT 28
8303 #define M_LNH_STAT 0x7U
8304 #define V_LNH_STAT(x) ((x) << S_LNH_STAT)
8305 #define G_LNH_STAT(x) (((x) >> S_LNH_STAT) & M_LNH_STAT)
8307 #define S_LNH_CMD 24
8308 #define M_LNH_CMD 0x7U
8309 #define V_LNH_CMD(x) ((x) << S_LNH_CMD)
8310 #define G_LNH_CMD(x) (((x) >> S_LNH_CMD) & M_LNH_CMD)
8312 #define S_LNG_STAT 20
8313 #define M_LNG_STAT 0x7U
8314 #define V_LNG_STAT(x) ((x) << S_LNG_STAT)
8315 #define G_LNG_STAT(x) (((x) >> S_LNG_STAT) & M_LNG_STAT)
8317 #define S_LNG_CMD 16
8318 #define M_LNG_CMD 0x7U
8319 #define V_LNG_CMD(x) ((x) << S_LNG_CMD)
8320 #define G_LNG_CMD(x) (((x) >> S_LNG_CMD) & M_LNG_CMD)
8322 #define S_LNF_STAT 12
8323 #define M_LNF_STAT 0x7U
8324 #define V_LNF_STAT(x) ((x) << S_LNF_STAT)
8325 #define G_LNF_STAT(x) (((x) >> S_LNF_STAT) & M_LNF_STAT)
8328 #define M_LNF_CMD 0x7U
8329 #define V_LNF_CMD(x) ((x) << S_LNF_CMD)
8330 #define G_LNF_CMD(x) (((x) >> S_LNF_CMD) & M_LNF_CMD)
8332 #define S_LNE_STAT 4
8333 #define M_LNE_STAT 0x7U
8334 #define V_LNE_STAT(x) ((x) << S_LNE_STAT)
8335 #define G_LNE_STAT(x) (((x) >> S_LNE_STAT) & M_LNE_STAT)
8338 #define M_LNE_CMD 0x7U
8339 #define V_LNE_CMD(x) ((x) << S_LNE_CMD)
8340 #define G_LNE_CMD(x) (((x) >> S_LNE_CMD) & M_LNE_CMD)
8342 #define A_PCIE_PHY_FS_LF0 0x5bb0
8344 #define S_LANE1LF 24
8345 #define M_LANE1LF 0x3fU
8346 #define V_LANE1LF(x) ((x) << S_LANE1LF)
8347 #define G_LANE1LF(x) (((x) >> S_LANE1LF) & M_LANE1LF)
8349 #define S_LANE1FS 16
8350 #define M_LANE1FS 0x3fU
8351 #define V_LANE1FS(x) ((x) << S_LANE1FS)
8352 #define G_LANE1FS(x) (((x) >> S_LANE1FS) & M_LANE1FS)
8355 #define M_LANE0LF 0x3fU
8356 #define V_LANE0LF(x) ((x) << S_LANE0LF)
8357 #define G_LANE0LF(x) (((x) >> S_LANE0LF) & M_LANE0LF)
8360 #define M_LANE0FS 0x3fU
8361 #define V_LANE0FS(x) ((x) << S_LANE0FS)
8362 #define G_LANE0FS(x) (((x) >> S_LANE0FS) & M_LANE0FS)
8364 #define A_PCIE_PHY_FS_LF1 0x5bb4
8366 #define S_LANE3LF 24
8367 #define M_LANE3LF 0x3fU
8368 #define V_LANE3LF(x) ((x) << S_LANE3LF)
8369 #define G_LANE3LF(x) (((x) >> S_LANE3LF) & M_LANE3LF)
8371 #define S_LANE3FS 16
8372 #define M_LANE3FS 0x3fU
8373 #define V_LANE3FS(x) ((x) << S_LANE3FS)
8374 #define G_LANE3FS(x) (((x) >> S_LANE3FS) & M_LANE3FS)
8377 #define M_LANE2LF 0x3fU
8378 #define V_LANE2LF(x) ((x) << S_LANE2LF)
8379 #define G_LANE2LF(x) (((x) >> S_LANE2LF) & M_LANE2LF)
8382 #define M_LANE2FS 0x3fU
8383 #define V_LANE2FS(x) ((x) << S_LANE2FS)
8384 #define G_LANE2FS(x) (((x) >> S_LANE2FS) & M_LANE2FS)
8386 #define A_PCIE_PHY_FS_LF2 0x5bb8
8388 #define S_LANE5LF 24
8389 #define M_LANE5LF 0x3fU
8390 #define V_LANE5LF(x) ((x) << S_LANE5LF)
8391 #define G_LANE5LF(x) (((x) >> S_LANE5LF) & M_LANE5LF)
8393 #define S_LANE5FS 16
8394 #define M_LANE5FS 0x3fU
8395 #define V_LANE5FS(x) ((x) << S_LANE5FS)
8396 #define G_LANE5FS(x) (((x) >> S_LANE5FS) & M_LANE5FS)
8399 #define M_LANE4LF 0x3fU
8400 #define V_LANE4LF(x) ((x) << S_LANE4LF)
8401 #define G_LANE4LF(x) (((x) >> S_LANE4LF) & M_LANE4LF)
8404 #define M_LANE4FS 0x3fU
8405 #define V_LANE4FS(x) ((x) << S_LANE4FS)
8406 #define G_LANE4FS(x) (((x) >> S_LANE4FS) & M_LANE4FS)
8408 #define A_PCIE_PHY_FS_LF3 0x5bbc
8410 #define S_LANE7LF 24
8411 #define M_LANE7LF 0x3fU
8412 #define V_LANE7LF(x) ((x) << S_LANE7LF)
8413 #define G_LANE7LF(x) (((x) >> S_LANE7LF) & M_LANE7LF)
8415 #define S_LANE7FS 16
8416 #define M_LANE7FS 0x3fU
8417 #define V_LANE7FS(x) ((x) << S_LANE7FS)
8418 #define G_LANE7FS(x) (((x) >> S_LANE7FS) & M_LANE7FS)
8421 #define M_LANE6LF 0x3fU
8422 #define V_LANE6LF(x) ((x) << S_LANE6LF)
8423 #define G_LANE6LF(x) (((x) >> S_LANE6LF) & M_LANE6LF)
8426 #define M_LANE6FS 0x3fU
8427 #define V_LANE6FS(x) ((x) << S_LANE6FS)
8428 #define G_LANE6FS(x) (((x) >> S_LANE6FS) & M_LANE6FS)
8430 #define A_PCIE_PHY_PRESET_REQ 0x5bc0
8432 #define S_COEFFDONE 16
8433 #define V_COEFFDONE(x) ((x) << S_COEFFDONE)
8434 #define F_COEFFDONE V_COEFFDONE(1U)
8436 #define S_COEFFLANE 8
8437 #define M_COEFFLANE 0x7U
8438 #define V_COEFFLANE(x) ((x) << S_COEFFLANE)
8439 #define G_COEFFLANE(x) (((x) >> S_COEFFLANE) & M_COEFFLANE)
8441 #define S_COEFFSTART 0
8442 #define V_COEFFSTART(x) ((x) << S_COEFFSTART)
8443 #define F_COEFFSTART V_COEFFSTART(1U)
8445 #define S_T6_COEFFLANE 8
8446 #define M_T6_COEFFLANE 0xfU
8447 #define V_T6_COEFFLANE(x) ((x) << S_T6_COEFFLANE)
8448 #define G_T6_COEFFLANE(x) (((x) >> S_T6_COEFFLANE) & M_T6_COEFFLANE)
8450 #define A_PCIE_PHY_PRESET_COEFF 0x5bc4
8453 #define M_COEFF 0x3ffffU
8454 #define V_COEFF(x) ((x) << S_COEFF)
8455 #define G_COEFF(x) (((x) >> S_COEFF) & M_COEFF)
8457 #define A_PCIE_PHY_INDIR_REQ 0x5bf0
8459 #define S_PHYENABLE 31
8460 #define V_PHYENABLE(x) ((x) << S_PHYENABLE)
8461 #define F_PHYENABLE V_PHYENABLE(1U)
8463 #define S_PCIE_PHY_REGADDR 0
8464 #define M_PCIE_PHY_REGADDR 0xffffU
8465 #define V_PCIE_PHY_REGADDR(x) ((x) << S_PCIE_PHY_REGADDR)
8466 #define G_PCIE_PHY_REGADDR(x) (((x) >> S_PCIE_PHY_REGADDR) & M_PCIE_PHY_REGADDR)
8468 #define A_PCIE_PHY_INDIR_DATA 0x5bf4
8469 #define A_PCIE_STATIC_SPARE1 0x5bf8
8470 #define A_PCIE_STATIC_SPARE2 0x5bfc
8471 #define A_PCIE_KDOORBELL_GTS_PF_BASE_LEN 0x5c10
8473 #define S_KDB_PF_LEN 24
8474 #define M_KDB_PF_LEN 0x1fU
8475 #define V_KDB_PF_LEN(x) ((x) << S_KDB_PF_LEN)
8476 #define G_KDB_PF_LEN(x) (((x) >> S_KDB_PF_LEN) & M_KDB_PF_LEN)
8478 #define S_KDB_PF_BASEADDR 0
8479 #define M_KDB_PF_BASEADDR 0xfffffU
8480 #define V_KDB_PF_BASEADDR(x) ((x) << S_KDB_PF_BASEADDR)
8481 #define G_KDB_PF_BASEADDR(x) (((x) >> S_KDB_PF_BASEADDR) & M_KDB_PF_BASEADDR)
8483 #define A_PCIE_KDOORBELL_GTS_VF_BASE_LEN 0x5c14
8485 #define S_KDB_VF_LEN 24
8486 #define M_KDB_VF_LEN 0x1fU
8487 #define V_KDB_VF_LEN(x) ((x) << S_KDB_VF_LEN)
8488 #define G_KDB_VF_LEN(x) (((x) >> S_KDB_VF_LEN) & M_KDB_VF_LEN)
8490 #define S_KDB_VF_BASEADDR 0
8491 #define M_KDB_VF_BASEADDR 0xfffffU
8492 #define V_KDB_VF_BASEADDR(x) ((x) << S_KDB_VF_BASEADDR)
8493 #define G_KDB_VF_BASEADDR(x) (((x) >> S_KDB_VF_BASEADDR) & M_KDB_VF_BASEADDR)
8495 #define A_PCIE_KDOORBELL_GTS_VF_OFFSET 0x5c18
8497 #define S_KDB_VF_MODOFST 0
8498 #define M_KDB_VF_MODOFST 0xfffU
8499 #define V_KDB_VF_MODOFST(x) ((x) << S_KDB_VF_MODOFST)
8500 #define G_KDB_VF_MODOFST(x) (((x) >> S_KDB_VF_MODOFST) & M_KDB_VF_MODOFST)
8502 #define A_PCIE_PHY_REQRXPWR1 0x5c1c
8504 #define S_REQ_LNP_RXSTATEDONE 31
8505 #define V_REQ_LNP_RXSTATEDONE(x) ((x) << S_REQ_LNP_RXSTATEDONE)
8506 #define F_REQ_LNP_RXSTATEDONE V_REQ_LNP_RXSTATEDONE(1U)
8508 #define S_REQ_LNP_RXSTATEREQ 30
8509 #define V_REQ_LNP_RXSTATEREQ(x) ((x) << S_REQ_LNP_RXSTATEREQ)
8510 #define F_REQ_LNP_RXSTATEREQ V_REQ_LNP_RXSTATEREQ(1U)
8512 #define S_REQ_LNP_RXPWRSTATE 28
8513 #define M_REQ_LNP_RXPWRSTATE 0x3U
8514 #define V_REQ_LNP_RXPWRSTATE(x) ((x) << S_REQ_LNP_RXPWRSTATE)
8515 #define G_REQ_LNP_RXPWRSTATE(x) (((x) >> S_REQ_LNP_RXPWRSTATE) & M_REQ_LNP_RXPWRSTATE)
8517 #define S_REQ_LNO_RXSTATEDONE 27
8518 #define V_REQ_LNO_RXSTATEDONE(x) ((x) << S_REQ_LNO_RXSTATEDONE)
8519 #define F_REQ_LNO_RXSTATEDONE V_REQ_LNO_RXSTATEDONE(1U)
8521 #define S_REQ_LNO_RXSTATEREQ 26
8522 #define V_REQ_LNO_RXSTATEREQ(x) ((x) << S_REQ_LNO_RXSTATEREQ)
8523 #define F_REQ_LNO_RXSTATEREQ V_REQ_LNO_RXSTATEREQ(1U)
8525 #define S_REQ_LNO_RXPWRSTATE 24
8526 #define M_REQ_LNO_RXPWRSTATE 0x3U
8527 #define V_REQ_LNO_RXPWRSTATE(x) ((x) << S_REQ_LNO_RXPWRSTATE)
8528 #define G_REQ_LNO_RXPWRSTATE(x) (((x) >> S_REQ_LNO_RXPWRSTATE) & M_REQ_LNO_RXPWRSTATE)
8530 #define S_REQ_LNN_RXSTATEDONE 23
8531 #define V_REQ_LNN_RXSTATEDONE(x) ((x) << S_REQ_LNN_RXSTATEDONE)
8532 #define F_REQ_LNN_RXSTATEDONE V_REQ_LNN_RXSTATEDONE(1U)
8534 #define S_REQ_LNN_RXSTATEREQ 22
8535 #define V_REQ_LNN_RXSTATEREQ(x) ((x) << S_REQ_LNN_RXSTATEREQ)
8536 #define F_REQ_LNN_RXSTATEREQ V_REQ_LNN_RXSTATEREQ(1U)
8538 #define S_REQ_LNN_RXPWRSTATE 20
8539 #define M_REQ_LNN_RXPWRSTATE 0x3U
8540 #define V_REQ_LNN_RXPWRSTATE(x) ((x) << S_REQ_LNN_RXPWRSTATE)
8541 #define G_REQ_LNN_RXPWRSTATE(x) (((x) >> S_REQ_LNN_RXPWRSTATE) & M_REQ_LNN_RXPWRSTATE)
8543 #define S_REQ_LNM_RXSTATEDONE 19
8544 #define V_REQ_LNM_RXSTATEDONE(x) ((x) << S_REQ_LNM_RXSTATEDONE)
8545 #define F_REQ_LNM_RXSTATEDONE V_REQ_LNM_RXSTATEDONE(1U)
8547 #define S_REQ_LNM_RXSTATEREQ 18
8548 #define V_REQ_LNM_RXSTATEREQ(x) ((x) << S_REQ_LNM_RXSTATEREQ)
8549 #define F_REQ_LNM_RXSTATEREQ V_REQ_LNM_RXSTATEREQ(1U)
8551 #define S_REQ_LNM_RXPWRSTATE 16
8552 #define M_REQ_LNM_RXPWRSTATE 0x3U
8553 #define V_REQ_LNM_RXPWRSTATE(x) ((x) << S_REQ_LNM_RXPWRSTATE)
8554 #define G_REQ_LNM_RXPWRSTATE(x) (((x) >> S_REQ_LNM_RXPWRSTATE) & M_REQ_LNM_RXPWRSTATE)
8556 #define S_REQ_LNL_RXSTATEDONE 15
8557 #define V_REQ_LNL_RXSTATEDONE(x) ((x) << S_REQ_LNL_RXSTATEDONE)
8558 #define F_REQ_LNL_RXSTATEDONE V_REQ_LNL_RXSTATEDONE(1U)
8560 #define S_REQ_LNL_RXSTATEREQ 14
8561 #define V_REQ_LNL_RXSTATEREQ(x) ((x) << S_REQ_LNL_RXSTATEREQ)
8562 #define F_REQ_LNL_RXSTATEREQ V_REQ_LNL_RXSTATEREQ(1U)
8564 #define S_REQ_LNL_RXPWRSTATE 12
8565 #define M_REQ_LNL_RXPWRSTATE 0x3U
8566 #define V_REQ_LNL_RXPWRSTATE(x) ((x) << S_REQ_LNL_RXPWRSTATE)
8567 #define G_REQ_LNL_RXPWRSTATE(x) (((x) >> S_REQ_LNL_RXPWRSTATE) & M_REQ_LNL_RXPWRSTATE)
8569 #define S_REQ_LNK_RXSTATEDONE 11
8570 #define V_REQ_LNK_RXSTATEDONE(x) ((x) << S_REQ_LNK_RXSTATEDONE)
8571 #define F_REQ_LNK_RXSTATEDONE V_REQ_LNK_RXSTATEDONE(1U)
8573 #define S_REQ_LNK_RXSTATEREQ 10
8574 #define V_REQ_LNK_RXSTATEREQ(x) ((x) << S_REQ_LNK_RXSTATEREQ)
8575 #define F_REQ_LNK_RXSTATEREQ V_REQ_LNK_RXSTATEREQ(1U)
8577 #define S_REQ_LNK_RXPWRSTATE 8
8578 #define M_REQ_LNK_RXPWRSTATE 0x3U
8579 #define V_REQ_LNK_RXPWRSTATE(x) ((x) << S_REQ_LNK_RXPWRSTATE)
8580 #define G_REQ_LNK_RXPWRSTATE(x) (((x) >> S_REQ_LNK_RXPWRSTATE) & M_REQ_LNK_RXPWRSTATE)
8582 #define S_REQ_LNJ_RXSTATEDONE 7
8583 #define V_REQ_LNJ_RXSTATEDONE(x) ((x) << S_REQ_LNJ_RXSTATEDONE)
8584 #define F_REQ_LNJ_RXSTATEDONE V_REQ_LNJ_RXSTATEDONE(1U)
8586 #define S_REQ_LNJ_RXSTATEREQ 6
8587 #define V_REQ_LNJ_RXSTATEREQ(x) ((x) << S_REQ_LNJ_RXSTATEREQ)
8588 #define F_REQ_LNJ_RXSTATEREQ V_REQ_LNJ_RXSTATEREQ(1U)
8590 #define S_REQ_LNJ_RXPWRSTATE 4
8591 #define M_REQ_LNJ_RXPWRSTATE 0x3U
8592 #define V_REQ_LNJ_RXPWRSTATE(x) ((x) << S_REQ_LNJ_RXPWRSTATE)
8593 #define G_REQ_LNJ_RXPWRSTATE(x) (((x) >> S_REQ_LNJ_RXPWRSTATE) & M_REQ_LNJ_RXPWRSTATE)
8595 #define S_REQ_LNI_RXSTATEDONE 3
8596 #define V_REQ_LNI_RXSTATEDONE(x) ((x) << S_REQ_LNI_RXSTATEDONE)
8597 #define F_REQ_LNI_RXSTATEDONE V_REQ_LNI_RXSTATEDONE(1U)
8599 #define S_REQ_LNI_RXSTATEREQ 2
8600 #define V_REQ_LNI_RXSTATEREQ(x) ((x) << S_REQ_LNI_RXSTATEREQ)
8601 #define F_REQ_LNI_RXSTATEREQ V_REQ_LNI_RXSTATEREQ(1U)
8603 #define S_REQ_LNI_RXPWRSTATE 0
8604 #define M_REQ_LNI_RXPWRSTATE 0x3U
8605 #define V_REQ_LNI_RXPWRSTATE(x) ((x) << S_REQ_LNI_RXPWRSTATE)
8606 #define G_REQ_LNI_RXPWRSTATE(x) (((x) >> S_REQ_LNI_RXPWRSTATE) & M_REQ_LNI_RXPWRSTATE)
8608 #define A_PCIE_PHY_CURRXPWR1 0x5c20
8610 #define S_CUR_LNP_RXPWRSTATE 28
8611 #define M_CUR_LNP_RXPWRSTATE 0x7U
8612 #define V_CUR_LNP_RXPWRSTATE(x) ((x) << S_CUR_LNP_RXPWRSTATE)
8613 #define G_CUR_LNP_RXPWRSTATE(x) (((x) >> S_CUR_LNP_RXPWRSTATE) & M_CUR_LNP_RXPWRSTATE)
8615 #define S_CUR_LNO_RXPWRSTATE 24
8616 #define M_CUR_LNO_RXPWRSTATE 0x7U
8617 #define V_CUR_LNO_RXPWRSTATE(x) ((x) << S_CUR_LNO_RXPWRSTATE)
8618 #define G_CUR_LNO_RXPWRSTATE(x) (((x) >> S_CUR_LNO_RXPWRSTATE) & M_CUR_LNO_RXPWRSTATE)
8620 #define S_CUR_LNN_RXPWRSTATE 20
8621 #define M_CUR_LNN_RXPWRSTATE 0x7U
8622 #define V_CUR_LNN_RXPWRSTATE(x) ((x) << S_CUR_LNN_RXPWRSTATE)
8623 #define G_CUR_LNN_RXPWRSTATE(x) (((x) >> S_CUR_LNN_RXPWRSTATE) & M_CUR_LNN_RXPWRSTATE)
8625 #define S_CUR_LNM_RXPWRSTATE 16
8626 #define M_CUR_LNM_RXPWRSTATE 0x7U
8627 #define V_CUR_LNM_RXPWRSTATE(x) ((x) << S_CUR_LNM_RXPWRSTATE)
8628 #define G_CUR_LNM_RXPWRSTATE(x) (((x) >> S_CUR_LNM_RXPWRSTATE) & M_CUR_LNM_RXPWRSTATE)
8630 #define S_CUR_LNL_RXPWRSTATE 12
8631 #define M_CUR_LNL_RXPWRSTATE 0x7U
8632 #define V_CUR_LNL_RXPWRSTATE(x) ((x) << S_CUR_LNL_RXPWRSTATE)
8633 #define G_CUR_LNL_RXPWRSTATE(x) (((x) >> S_CUR_LNL_RXPWRSTATE) & M_CUR_LNL_RXPWRSTATE)
8635 #define S_CUR_LNK_RXPWRSTATE 8
8636 #define M_CUR_LNK_RXPWRSTATE 0x7U
8637 #define V_CUR_LNK_RXPWRSTATE(x) ((x) << S_CUR_LNK_RXPWRSTATE)
8638 #define G_CUR_LNK_RXPWRSTATE(x) (((x) >> S_CUR_LNK_RXPWRSTATE) & M_CUR_LNK_RXPWRSTATE)
8640 #define S_CUR_LNJ_RXPWRSTATE 4
8641 #define M_CUR_LNJ_RXPWRSTATE 0x7U
8642 #define V_CUR_LNJ_RXPWRSTATE(x) ((x) << S_CUR_LNJ_RXPWRSTATE)
8643 #define G_CUR_LNJ_RXPWRSTATE(x) (((x) >> S_CUR_LNJ_RXPWRSTATE) & M_CUR_LNJ_RXPWRSTATE)
8645 #define S_CUR_LNI_RXPWRSTATE 0
8646 #define M_CUR_LNI_RXPWRSTATE 0x7U
8647 #define V_CUR_LNI_RXPWRSTATE(x) ((x) << S_CUR_LNI_RXPWRSTATE)
8648 #define G_CUR_LNI_RXPWRSTATE(x) (((x) >> S_CUR_LNI_RXPWRSTATE) & M_CUR_LNI_RXPWRSTATE)
8650 #define A_PCIE_PHY_GEN3_AE2 0x5c24
8652 #define S_LNL_STAT 28
8653 #define M_LNL_STAT 0x7U
8654 #define V_LNL_STAT(x) ((x) << S_LNL_STAT)
8655 #define G_LNL_STAT(x) (((x) >> S_LNL_STAT) & M_LNL_STAT)
8657 #define S_LNL_CMD 24
8658 #define M_LNL_CMD 0x7U
8659 #define V_LNL_CMD(x) ((x) << S_LNL_CMD)
8660 #define G_LNL_CMD(x) (((x) >> S_LNL_CMD) & M_LNL_CMD)
8662 #define S_LNK_STAT 20
8663 #define M_LNK_STAT 0x7U
8664 #define V_LNK_STAT(x) ((x) << S_LNK_STAT)
8665 #define G_LNK_STAT(x) (((x) >> S_LNK_STAT) & M_LNK_STAT)
8667 #define S_LNK_CMD 16
8668 #define M_LNK_CMD 0x7U
8669 #define V_LNK_CMD(x) ((x) << S_LNK_CMD)
8670 #define G_LNK_CMD(x) (((x) >> S_LNK_CMD) & M_LNK_CMD)
8672 #define S_LNJ_STAT 12
8673 #define M_LNJ_STAT 0x7U
8674 #define V_LNJ_STAT(x) ((x) << S_LNJ_STAT)
8675 #define G_LNJ_STAT(x) (((x) >> S_LNJ_STAT) & M_LNJ_STAT)
8678 #define M_LNJ_CMD 0x7U
8679 #define V_LNJ_CMD(x) ((x) << S_LNJ_CMD)
8680 #define G_LNJ_CMD(x) (((x) >> S_LNJ_CMD) & M_LNJ_CMD)
8682 #define S_LNI_STAT 4
8683 #define M_LNI_STAT 0x7U
8684 #define V_LNI_STAT(x) ((x) << S_LNI_STAT)
8685 #define G_LNI_STAT(x) (((x) >> S_LNI_STAT) & M_LNI_STAT)
8688 #define M_LNI_CMD 0x7U
8689 #define V_LNI_CMD(x) ((x) << S_LNI_CMD)
8690 #define G_LNI_CMD(x) (((x) >> S_LNI_CMD) & M_LNI_CMD)
8692 #define A_PCIE_PHY_GEN3_AE3 0x5c28
8694 #define S_LNP_STAT 28
8695 #define M_LNP_STAT 0x7U
8696 #define V_LNP_STAT(x) ((x) << S_LNP_STAT)
8697 #define G_LNP_STAT(x) (((x) >> S_LNP_STAT) & M_LNP_STAT)
8699 #define S_LNP_CMD 24
8700 #define M_LNP_CMD 0x7U
8701 #define V_LNP_CMD(x) ((x) << S_LNP_CMD)
8702 #define G_LNP_CMD(x) (((x) >> S_LNP_CMD) & M_LNP_CMD)
8704 #define S_LNO_STAT 20
8705 #define M_LNO_STAT 0x7U
8706 #define V_LNO_STAT(x) ((x) << S_LNO_STAT)
8707 #define G_LNO_STAT(x) (((x) >> S_LNO_STAT) & M_LNO_STAT)
8709 #define S_LNO_CMD 16
8710 #define M_LNO_CMD 0x7U
8711 #define V_LNO_CMD(x) ((x) << S_LNO_CMD)
8712 #define G_LNO_CMD(x) (((x) >> S_LNO_CMD) & M_LNO_CMD)
8714 #define S_LNN_STAT 12
8715 #define M_LNN_STAT 0x7U
8716 #define V_LNN_STAT(x) ((x) << S_LNN_STAT)
8717 #define G_LNN_STAT(x) (((x) >> S_LNN_STAT) & M_LNN_STAT)
8720 #define M_LNN_CMD 0x7U
8721 #define V_LNN_CMD(x) ((x) << S_LNN_CMD)
8722 #define G_LNN_CMD(x) (((x) >> S_LNN_CMD) & M_LNN_CMD)
8724 #define S_LNM_STAT 4
8725 #define M_LNM_STAT 0x7U
8726 #define V_LNM_STAT(x) ((x) << S_LNM_STAT)
8727 #define G_LNM_STAT(x) (((x) >> S_LNM_STAT) & M_LNM_STAT)
8730 #define M_LNM_CMD 0x7U
8731 #define V_LNM_CMD(x) ((x) << S_LNM_CMD)
8732 #define G_LNM_CMD(x) (((x) >> S_LNM_CMD) & M_LNM_CMD)
8734 #define A_PCIE_PHY_FS_LF4 0x5c2c
8736 #define S_LANE9LF 24
8737 #define M_LANE9LF 0x3fU
8738 #define V_LANE9LF(x) ((x) << S_LANE9LF)
8739 #define G_LANE9LF(x) (((x) >> S_LANE9LF) & M_LANE9LF)
8741 #define S_LANE9FS 16
8742 #define M_LANE9FS 0x3fU
8743 #define V_LANE9FS(x) ((x) << S_LANE9FS)
8744 #define G_LANE9FS(x) (((x) >> S_LANE9FS) & M_LANE9FS)
8747 #define M_LANE8LF 0x3fU
8748 #define V_LANE8LF(x) ((x) << S_LANE8LF)
8749 #define G_LANE8LF(x) (((x) >> S_LANE8LF) & M_LANE8LF)
8752 #define M_LANE8FS 0x3fU
8753 #define V_LANE8FS(x) ((x) << S_LANE8FS)
8754 #define G_LANE8FS(x) (((x) >> S_LANE8FS) & M_LANE8FS)
8756 #define A_PCIE_PHY_FS_LF5 0x5c30
8758 #define S_LANE11LF 24
8759 #define M_LANE11LF 0x3fU
8760 #define V_LANE11LF(x) ((x) << S_LANE11LF)
8761 #define G_LANE11LF(x) (((x) >> S_LANE11LF) & M_LANE11LF)
8763 #define S_LANE11FS 16
8764 #define M_LANE11FS 0x3fU
8765 #define V_LANE11FS(x) ((x) << S_LANE11FS)
8766 #define G_LANE11FS(x) (((x) >> S_LANE11FS) & M_LANE11FS)
8768 #define S_LANE10LF 8
8769 #define M_LANE10LF 0x3fU
8770 #define V_LANE10LF(x) ((x) << S_LANE10LF)
8771 #define G_LANE10LF(x) (((x) >> S_LANE10LF) & M_LANE10LF)
8773 #define S_LANE10FS 0
8774 #define M_LANE10FS 0x3fU
8775 #define V_LANE10FS(x) ((x) << S_LANE10FS)
8776 #define G_LANE10FS(x) (((x) >> S_LANE10FS) & M_LANE10FS)
8778 #define A_PCIE_PHY_FS_LF6 0x5c34
8780 #define S_LANE13LF 24
8781 #define M_LANE13LF 0x3fU
8782 #define V_LANE13LF(x) ((x) << S_LANE13LF)
8783 #define G_LANE13LF(x) (((x) >> S_LANE13LF) & M_LANE13LF)
8785 #define S_LANE13FS 16
8786 #define M_LANE13FS 0x3fU
8787 #define V_LANE13FS(x) ((x) << S_LANE13FS)
8788 #define G_LANE13FS(x) (((x) >> S_LANE13FS) & M_LANE13FS)
8790 #define S_LANE12LF 8
8791 #define M_LANE12LF 0x3fU
8792 #define V_LANE12LF(x) ((x) << S_LANE12LF)
8793 #define G_LANE12LF(x) (((x) >> S_LANE12LF) & M_LANE12LF)
8795 #define S_LANE12FS 0
8796 #define M_LANE12FS 0x3fU
8797 #define V_LANE12FS(x) ((x) << S_LANE12FS)
8798 #define G_LANE12FS(x) (((x) >> S_LANE12FS) & M_LANE12FS)
8800 #define A_PCIE_PHY_FS_LF7 0x5c38
8802 #define S_LANE15LF 24
8803 #define M_LANE15LF 0x3fU
8804 #define V_LANE15LF(x) ((x) << S_LANE15LF)
8805 #define G_LANE15LF(x) (((x) >> S_LANE15LF) & M_LANE15LF)
8807 #define S_LANE15FS 16
8808 #define M_LANE15FS 0x3fU
8809 #define V_LANE15FS(x) ((x) << S_LANE15FS)
8810 #define G_LANE15FS(x) (((x) >> S_LANE15FS) & M_LANE15FS)
8812 #define S_LANE14LF 8
8813 #define M_LANE14LF 0x3fU
8814 #define V_LANE14LF(x) ((x) << S_LANE14LF)
8815 #define G_LANE14LF(x) (((x) >> S_LANE14LF) & M_LANE14LF)
8817 #define S_LANE14FS 0
8818 #define M_LANE14FS 0x3fU
8819 #define V_LANE14FS(x) ((x) << S_LANE14FS)
8820 #define G_LANE14FS(x) (((x) >> S_LANE14FS) & M_LANE14FS)
8822 #define A_PCIE_MULTI_PHY_INDIR_REQ 0x5c3c
8824 #define S_PHY_REG_ENABLE 31
8825 #define V_PHY_REG_ENABLE(x) ((x) << S_PHY_REG_ENABLE)
8826 #define F_PHY_REG_ENABLE V_PHY_REG_ENABLE(1U)
8828 #define S_PHY_REG_SELECT 22
8829 #define M_PHY_REG_SELECT 0x3U
8830 #define V_PHY_REG_SELECT(x) ((x) << S_PHY_REG_SELECT)
8831 #define G_PHY_REG_SELECT(x) (((x) >> S_PHY_REG_SELECT) & M_PHY_REG_SELECT)
8833 #define S_PHY_REG_REGADDR 0
8834 #define M_PHY_REG_REGADDR 0xffffU
8835 #define V_PHY_REG_REGADDR(x) ((x) << S_PHY_REG_REGADDR)
8836 #define G_PHY_REG_REGADDR(x) (((x) >> S_PHY_REG_REGADDR) & M_PHY_REG_REGADDR)
8838 #define A_PCIE_MULTI_PHY_INDIR_DATA 0x5c40
8840 #define S_PHY_REG_DATA 0
8841 #define M_PHY_REG_DATA 0xffffU
8842 #define V_PHY_REG_DATA(x) ((x) << S_PHY_REG_DATA)
8843 #define G_PHY_REG_DATA(x) (((x) >> S_PHY_REG_DATA) & M_PHY_REG_DATA)
8845 #define A_PCIE_VF_INT_INDIR_REQ 0x5c44
8847 #define S_ENABLE_VF 24
8848 #define V_ENABLE_VF(x) ((x) << S_ENABLE_VF)
8849 #define F_ENABLE_VF V_ENABLE_VF(1U)
8852 #define V_AI_VF(x) ((x) << S_AI_VF)
8853 #define F_AI_VF V_AI_VF(1U)
8855 #define S_VFID_PCIE 0
8856 #define M_VFID_PCIE 0x3ffU
8857 #define V_VFID_PCIE(x) ((x) << S_VFID_PCIE)
8858 #define G_VFID_PCIE(x) (((x) >> S_VFID_PCIE) & M_VFID_PCIE)
8860 #define A_PCIE_VF_INT_INDIR_DATA 0x5c48
8861 #define A_PCIE_VF_256_INT_CFG2 0x5c4c
8862 #define A_PCIE_VF_MSI_EN_4 0x5e50
8863 #define A_PCIE_VF_MSI_EN_5 0x5e54
8864 #define A_PCIE_VF_MSI_EN_6 0x5e58
8865 #define A_PCIE_VF_MSI_EN_7 0x5e5c
8866 #define A_PCIE_VF_MSIX_EN_4 0x5e60
8867 #define A_PCIE_VF_MSIX_EN_5 0x5e64
8868 #define A_PCIE_VF_MSIX_EN_6 0x5e68
8869 #define A_PCIE_VF_MSIX_EN_7 0x5e6c
8870 #define A_PCIE_FLR_VF4_STATUS 0x5e70
8871 #define A_PCIE_FLR_VF5_STATUS 0x5e74
8872 #define A_PCIE_FLR_VF6_STATUS 0x5e78
8873 #define A_PCIE_FLR_VF7_STATUS 0x5e7c
8874 #define A_T6_PCIE_BUS_MST_STAT_4 0x5e80
8875 #define A_T6_PCIE_BUS_MST_STAT_5 0x5e84
8876 #define A_T6_PCIE_BUS_MST_STAT_6 0x5e88
8877 #define A_T6_PCIE_BUS_MST_STAT_7 0x5e8c
8878 #define A_PCIE_BUS_MST_STAT_8 0x5e90
8880 #define S_BUSMST_263_256 0
8881 #define M_BUSMST_263_256 0xffU
8882 #define V_BUSMST_263_256(x) ((x) << S_BUSMST_263_256)
8883 #define G_BUSMST_263_256(x) (((x) >> S_BUSMST_263_256) & M_BUSMST_263_256)
8885 #define A_PCIE_TGT_SKID_FIFO 0x5e94
8887 #define S_HDRFREECNT 16
8888 #define M_HDRFREECNT 0xfffU
8889 #define V_HDRFREECNT(x) ((x) << S_HDRFREECNT)
8890 #define G_HDRFREECNT(x) (((x) >> S_HDRFREECNT) & M_HDRFREECNT)
8892 #define S_DATAFREECNT 0
8893 #define M_DATAFREECNT 0xfffU
8894 #define V_DATAFREECNT(x) ((x) << S_DATAFREECNT)
8895 #define G_DATAFREECNT(x) (((x) >> S_DATAFREECNT) & M_DATAFREECNT)
8897 #define A_T6_PCIE_RSP_ERR_STAT_4 0x5ea0
8898 #define A_T6_PCIE_RSP_ERR_STAT_5 0x5ea4
8899 #define A_T6_PCIE_RSP_ERR_STAT_6 0x5ea8
8900 #define A_T6_PCIE_RSP_ERR_STAT_7 0x5eac
8901 #define A_PCIE_RSP_ERR_STAT_8 0x5eb0
8903 #define S_RSPERR_263_256 0
8904 #define M_RSPERR_263_256 0xffU
8905 #define V_RSPERR_263_256(x) ((x) << S_RSPERR_263_256)
8906 #define G_RSPERR_263_256(x) (((x) >> S_RSPERR_263_256) & M_RSPERR_263_256)
8908 #define A_PCIE_PHY_STAT1 0x5ec0
8910 #define S_PHY0_RTUNE_ACK 31
8911 #define V_PHY0_RTUNE_ACK(x) ((x) << S_PHY0_RTUNE_ACK)
8912 #define F_PHY0_RTUNE_ACK V_PHY0_RTUNE_ACK(1U)
8914 #define S_PHY1_RTUNE_ACK 30
8915 #define V_PHY1_RTUNE_ACK(x) ((x) << S_PHY1_RTUNE_ACK)
8916 #define F_PHY1_RTUNE_ACK V_PHY1_RTUNE_ACK(1U)
8918 #define A_PCIE_PHY_CTRL1 0x5ec4
8920 #define S_PHY0_RTUNE_REQ 31
8921 #define V_PHY0_RTUNE_REQ(x) ((x) << S_PHY0_RTUNE_REQ)
8922 #define F_PHY0_RTUNE_REQ V_PHY0_RTUNE_REQ(1U)
8924 #define S_PHY1_RTUNE_REQ 30
8925 #define V_PHY1_RTUNE_REQ(x) ((x) << S_PHY1_RTUNE_REQ)
8926 #define F_PHY1_RTUNE_REQ V_PHY1_RTUNE_REQ(1U)
8928 #define S_TXDEEMPH_GEN1 16
8929 #define M_TXDEEMPH_GEN1 0xffU
8930 #define V_TXDEEMPH_GEN1(x) ((x) << S_TXDEEMPH_GEN1)
8931 #define G_TXDEEMPH_GEN1(x) (((x) >> S_TXDEEMPH_GEN1) & M_TXDEEMPH_GEN1)
8933 #define S_TXDEEMPH_GEN2_3P5DB 8
8934 #define M_TXDEEMPH_GEN2_3P5DB 0xffU
8935 #define V_TXDEEMPH_GEN2_3P5DB(x) ((x) << S_TXDEEMPH_GEN2_3P5DB)
8936 #define G_TXDEEMPH_GEN2_3P5DB(x) (((x) >> S_TXDEEMPH_GEN2_3P5DB) & M_TXDEEMPH_GEN2_3P5DB)
8938 #define S_TXDEEMPH_GEN2_6DB 0
8939 #define M_TXDEEMPH_GEN2_6DB 0xffU
8940 #define V_TXDEEMPH_GEN2_6DB(x) ((x) << S_TXDEEMPH_GEN2_6DB)
8941 #define G_TXDEEMPH_GEN2_6DB(x) (((x) >> S_TXDEEMPH_GEN2_6DB) & M_TXDEEMPH_GEN2_6DB)
8943 #define A_PCIE_PCIE_SPARE0 0x5ec8
8944 #define A_PCIE_RESET_STAT 0x5ecc
8946 #define S_PON_RST_STATE_FLAG 11
8947 #define V_PON_RST_STATE_FLAG(x) ((x) << S_PON_RST_STATE_FLAG)
8948 #define F_PON_RST_STATE_FLAG V_PON_RST_STATE_FLAG(1U)
8950 #define S_BUS_RST_STATE_FLAG 10
8951 #define V_BUS_RST_STATE_FLAG(x) ((x) << S_BUS_RST_STATE_FLAG)
8952 #define F_BUS_RST_STATE_FLAG V_BUS_RST_STATE_FLAG(1U)
8954 #define S_DL_DOWN_PCIECRST_MODE0_STATE_FLAG 9
8955 #define V_DL_DOWN_PCIECRST_MODE0_STATE_FLAG(x) ((x) << S_DL_DOWN_PCIECRST_MODE0_STATE_FLAG)
8956 #define F_DL_DOWN_PCIECRST_MODE0_STATE_FLAG V_DL_DOWN_PCIECRST_MODE0_STATE_FLAG(1U)
8958 #define S_DL_DOWN_PCIECRST_MODE1_STATE_FLAG 8
8959 #define V_DL_DOWN_PCIECRST_MODE1_STATE_FLAG(x) ((x) << S_DL_DOWN_PCIECRST_MODE1_STATE_FLAG)
8960 #define F_DL_DOWN_PCIECRST_MODE1_STATE_FLAG V_DL_DOWN_PCIECRST_MODE1_STATE_FLAG(1U)
8962 #define S_PCIE_WARM_RST_MODE0_STATE_FLAG 7
8963 #define V_PCIE_WARM_RST_MODE0_STATE_FLAG(x) ((x) << S_PCIE_WARM_RST_MODE0_STATE_FLAG)
8964 #define F_PCIE_WARM_RST_MODE0_STATE_FLAG V_PCIE_WARM_RST_MODE0_STATE_FLAG(1U)
8966 #define S_PCIE_WARM_RST_MODE1_STATE_FLAG 6
8967 #define V_PCIE_WARM_RST_MODE1_STATE_FLAG(x) ((x) << S_PCIE_WARM_RST_MODE1_STATE_FLAG)
8968 #define F_PCIE_WARM_RST_MODE1_STATE_FLAG V_PCIE_WARM_RST_MODE1_STATE_FLAG(1U)
8970 #define S_PIO_WARM_RST_MODE0_STATE_FLAG 5
8971 #define V_PIO_WARM_RST_MODE0_STATE_FLAG(x) ((x) << S_PIO_WARM_RST_MODE0_STATE_FLAG)
8972 #define F_PIO_WARM_RST_MODE0_STATE_FLAG V_PIO_WARM_RST_MODE0_STATE_FLAG(1U)
8974 #define S_PIO_WARM_RST_MODE1_STATE_FLAG 4
8975 #define V_PIO_WARM_RST_MODE1_STATE_FLAG(x) ((x) << S_PIO_WARM_RST_MODE1_STATE_FLAG)
8976 #define F_PIO_WARM_RST_MODE1_STATE_FLAG V_PIO_WARM_RST_MODE1_STATE_FLAG(1U)
8978 #define S_LASTRESETSTATE 0
8979 #define M_LASTRESETSTATE 0x7U
8980 #define V_LASTRESETSTATE(x) ((x) << S_LASTRESETSTATE)
8981 #define G_LASTRESETSTATE(x) (((x) >> S_LASTRESETSTATE) & M_LASTRESETSTATE)
8983 #define A_PCIE_FUNC_DSTATE 0x5ed0
8985 #define S_PF7_DSTATE 21
8986 #define M_PF7_DSTATE 0x7U
8987 #define V_PF7_DSTATE(x) ((x) << S_PF7_DSTATE)
8988 #define G_PF7_DSTATE(x) (((x) >> S_PF7_DSTATE) & M_PF7_DSTATE)
8990 #define S_PF6_DSTATE 18
8991 #define M_PF6_DSTATE 0x7U
8992 #define V_PF6_DSTATE(x) ((x) << S_PF6_DSTATE)
8993 #define G_PF6_DSTATE(x) (((x) >> S_PF6_DSTATE) & M_PF6_DSTATE)
8995 #define S_PF5_DSTATE 15
8996 #define M_PF5_DSTATE 0x7U
8997 #define V_PF5_DSTATE(x) ((x) << S_PF5_DSTATE)
8998 #define G_PF5_DSTATE(x) (((x) >> S_PF5_DSTATE) & M_PF5_DSTATE)
9000 #define S_PF4_DSTATE 12
9001 #define M_PF4_DSTATE 0x7U
9002 #define V_PF4_DSTATE(x) ((x) << S_PF4_DSTATE)
9003 #define G_PF4_DSTATE(x) (((x) >> S_PF4_DSTATE) & M_PF4_DSTATE)
9005 #define S_PF3_DSTATE 9
9006 #define M_PF3_DSTATE 0x7U
9007 #define V_PF3_DSTATE(x) ((x) << S_PF3_DSTATE)
9008 #define G_PF3_DSTATE(x) (((x) >> S_PF3_DSTATE) & M_PF3_DSTATE)
9010 #define S_PF2_DSTATE 6
9011 #define M_PF2_DSTATE 0x7U
9012 #define V_PF2_DSTATE(x) ((x) << S_PF2_DSTATE)
9013 #define G_PF2_DSTATE(x) (((x) >> S_PF2_DSTATE) & M_PF2_DSTATE)
9015 #define S_PF1_DSTATE 3
9016 #define M_PF1_DSTATE 0x7U
9017 #define V_PF1_DSTATE(x) ((x) << S_PF1_DSTATE)
9018 #define G_PF1_DSTATE(x) (((x) >> S_PF1_DSTATE) & M_PF1_DSTATE)
9020 #define S_PF0_DSTATE 0
9021 #define M_PF0_DSTATE 0x7U
9022 #define V_PF0_DSTATE(x) ((x) << S_PF0_DSTATE)
9023 #define G_PF0_DSTATE(x) (((x) >> S_PF0_DSTATE) & M_PF0_DSTATE)
9025 #define A_PCIE_DEBUG_ADDR_RANGE1 0x5ee0
9026 #define A_PCIE_DEBUG_ADDR_RANGE2 0x5ef0
9027 #define A_PCIE_DEBUG_ADDR_RANGE_CNT 0x5f00
9028 #define A_PCIE_PDEBUG_REG_0X0 0x0
9029 #define A_PCIE_PDEBUG_REG_0X1 0x1
9030 #define A_PCIE_PDEBUG_REG_0X2 0x2
9032 #define S_TAGQ_CH0_TAGS_USED 11
9033 #define M_TAGQ_CH0_TAGS_USED 0xffU
9034 #define V_TAGQ_CH0_TAGS_USED(x) ((x) << S_TAGQ_CH0_TAGS_USED)
9035 #define G_TAGQ_CH0_TAGS_USED(x) (((x) >> S_TAGQ_CH0_TAGS_USED) & M_TAGQ_CH0_TAGS_USED)
9037 #define S_REQ_CH0_DATA_EMPTY 10
9038 #define V_REQ_CH0_DATA_EMPTY(x) ((x) << S_REQ_CH0_DATA_EMPTY)
9039 #define F_REQ_CH0_DATA_EMPTY V_REQ_CH0_DATA_EMPTY(1U)
9041 #define S_RDQ_CH0_REQ_EMPTY 9
9042 #define V_RDQ_CH0_REQ_EMPTY(x) ((x) << S_RDQ_CH0_REQ_EMPTY)
9043 #define F_RDQ_CH0_REQ_EMPTY V_RDQ_CH0_REQ_EMPTY(1U)
9045 #define S_REQ_CTL_RD_CH0_WAIT_FOR_TAGTQ 8
9046 #define V_REQ_CTL_RD_CH0_WAIT_FOR_TAGTQ(x) ((x) << S_REQ_CTL_RD_CH0_WAIT_FOR_TAGTQ)
9047 #define F_REQ_CTL_RD_CH0_WAIT_FOR_TAGTQ V_REQ_CTL_RD_CH0_WAIT_FOR_TAGTQ(1U)
9049 #define S_REQ_CTL_RD_CH0_WAIT_FOR_CMD 7
9050 #define V_REQ_CTL_RD_CH0_WAIT_FOR_CMD(x) ((x) << S_REQ_CTL_RD_CH0_WAIT_FOR_CMD)
9051 #define F_REQ_CTL_RD_CH0_WAIT_FOR_CMD V_REQ_CTL_RD_CH0_WAIT_FOR_CMD(1U)
9053 #define S_REQ_CTL_RD_CH0_WAIT_FOR_DATA_MEM 6
9054 #define V_REQ_CTL_RD_CH0_WAIT_FOR_DATA_MEM(x) ((x) << S_REQ_CTL_RD_CH0_WAIT_FOR_DATA_MEM)
9055 #define F_REQ_CTL_RD_CH0_WAIT_FOR_DATA_MEM V_REQ_CTL_RD_CH0_WAIT_FOR_DATA_MEM(1U)
9057 #define S_REQ_CTL_RD_CH0_WAIT_FOR_RDQ 5
9058 #define V_REQ_CTL_RD_CH0_WAIT_FOR_RDQ(x) ((x) << S_REQ_CTL_RD_CH0_WAIT_FOR_RDQ)
9059 #define F_REQ_CTL_RD_CH0_WAIT_FOR_RDQ V_REQ_CTL_RD_CH0_WAIT_FOR_RDQ(1U)
9061 #define S_REQ_CTL_RD_CH0_WAIT_FOR_TXN_DISABLE_FIFO 4
9062 #define V_REQ_CTL_RD_CH0_WAIT_FOR_TXN_DISABLE_FIFO(x) ((x) << S_REQ_CTL_RD_CH0_WAIT_FOR_TXN_DISABLE_FIFO)
9063 #define F_REQ_CTL_RD_CH0_WAIT_FOR_TXN_DISABLE_FIFO V_REQ_CTL_RD_CH0_WAIT_FOR_TXN_DISABLE_FIFO(1U)
9065 #define S_REQ_CTL_RD_CH0_EXIT_BOT_VLD_STARTED 3
9066 #define V_REQ_CTL_RD_CH0_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH0_EXIT_BOT_VLD_STARTED)
9067 #define F_REQ_CTL_RD_CH0_EXIT_BOT_VLD_STARTED V_REQ_CTL_RD_CH0_EXIT_BOT_VLD_STARTED(1U)
9069 #define S_REQ_CTL_RD_CH0_EXIT_TOP_VLD_STARTED 2
9070 #define V_REQ_CTL_RD_CH0_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH0_EXIT_TOP_VLD_STARTED)
9071 #define F_REQ_CTL_RD_CH0_EXIT_TOP_VLD_STARTED V_REQ_CTL_RD_CH0_EXIT_TOP_VLD_STARTED(1U)
9073 #define S_REQ_CTL_RD_CH0_WAIT_FOR_PAUSE 1
9074 #define V_REQ_CTL_RD_CH0_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_RD_CH0_WAIT_FOR_PAUSE)
9075 #define F_REQ_CTL_RD_CH0_WAIT_FOR_PAUSE V_REQ_CTL_RD_CH0_WAIT_FOR_PAUSE(1U)
9077 #define S_REQ_CTL_RD_CH0_WAIT_FOR_FIFO_DATA 0
9078 #define V_REQ_CTL_RD_CH0_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_RD_CH0_WAIT_FOR_FIFO_DATA)
9079 #define F_REQ_CTL_RD_CH0_WAIT_FOR_FIFO_DATA V_REQ_CTL_RD_CH0_WAIT_FOR_FIFO_DATA(1U)
9081 #define A_PCIE_PDEBUG_REG_0X3 0x3
9083 #define S_TAGQ_CH1_TAGS_USED 11
9084 #define M_TAGQ_CH1_TAGS_USED 0xffU
9085 #define V_TAGQ_CH1_TAGS_USED(x) ((x) << S_TAGQ_CH1_TAGS_USED)
9086 #define G_TAGQ_CH1_TAGS_USED(x) (((x) >> S_TAGQ_CH1_TAGS_USED) & M_TAGQ_CH1_TAGS_USED)
9088 #define S_REQ_CH1_DATA_EMPTY 10
9089 #define V_REQ_CH1_DATA_EMPTY(x) ((x) << S_REQ_CH1_DATA_EMPTY)
9090 #define F_REQ_CH1_DATA_EMPTY V_REQ_CH1_DATA_EMPTY(1U)
9092 #define S_RDQ_CH1_REQ_EMPTY 9
9093 #define V_RDQ_CH1_REQ_EMPTY(x) ((x) << S_RDQ_CH1_REQ_EMPTY)
9094 #define F_RDQ_CH1_REQ_EMPTY V_RDQ_CH1_REQ_EMPTY(1U)
9096 #define S_REQ_CTL_RD_CH1_WAIT_FOR_TAGTQ 8
9097 #define V_REQ_CTL_RD_CH1_WAIT_FOR_TAGTQ(x) ((x) << S_REQ_CTL_RD_CH1_WAIT_FOR_TAGTQ)
9098 #define F_REQ_CTL_RD_CH1_WAIT_FOR_TAGTQ V_REQ_CTL_RD_CH1_WAIT_FOR_TAGTQ(1U)
9100 #define S_REQ_CTL_RD_CH1_WAIT_FOR_CMD 7
9101 #define V_REQ_CTL_RD_CH1_WAIT_FOR_CMD(x) ((x) << S_REQ_CTL_RD_CH1_WAIT_FOR_CMD)
9102 #define F_REQ_CTL_RD_CH1_WAIT_FOR_CMD V_REQ_CTL_RD_CH1_WAIT_FOR_CMD(1U)
9104 #define S_REQ_CTL_RD_CH1_WAIT_FOR_DATA_MEM 6
9105 #define V_REQ_CTL_RD_CH1_WAIT_FOR_DATA_MEM(x) ((x) << S_REQ_CTL_RD_CH1_WAIT_FOR_DATA_MEM)
9106 #define F_REQ_CTL_RD_CH1_WAIT_FOR_DATA_MEM V_REQ_CTL_RD_CH1_WAIT_FOR_DATA_MEM(1U)
9108 #define S_REQ_CTL_RD_CH1_WAIT_FOR_RDQ 5
9109 #define V_REQ_CTL_RD_CH1_WAIT_FOR_RDQ(x) ((x) << S_REQ_CTL_RD_CH1_WAIT_FOR_RDQ)
9110 #define F_REQ_CTL_RD_CH1_WAIT_FOR_RDQ V_REQ_CTL_RD_CH1_WAIT_FOR_RDQ(1U)
9112 #define S_REQ_CTL_RD_CH1_WAIT_FOR_TXN_DISABLE_FIFO 4
9113 #define V_REQ_CTL_RD_CH1_WAIT_FOR_TXN_DISABLE_FIFO(x) ((x) << S_REQ_CTL_RD_CH1_WAIT_FOR_TXN_DISABLE_FIFO)
9114 #define F_REQ_CTL_RD_CH1_WAIT_FOR_TXN_DISABLE_FIFO V_REQ_CTL_RD_CH1_WAIT_FOR_TXN_DISABLE_FIFO(1U)
9116 #define S_REQ_CTL_RD_CH1_EXIT_BOT_VLD_STARTED 3
9117 #define V_REQ_CTL_RD_CH1_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH1_EXIT_BOT_VLD_STARTED)
9118 #define F_REQ_CTL_RD_CH1_EXIT_BOT_VLD_STARTED V_REQ_CTL_RD_CH1_EXIT_BOT_VLD_STARTED(1U)
9120 #define S_REQ_CTL_RD_CH1_EXIT_TOP_VLD_STARTED 2
9121 #define V_REQ_CTL_RD_CH1_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH1_EXIT_TOP_VLD_STARTED)
9122 #define F_REQ_CTL_RD_CH1_EXIT_TOP_VLD_STARTED V_REQ_CTL_RD_CH1_EXIT_TOP_VLD_STARTED(1U)
9124 #define S_REQ_CTL_RD_CH1_WAIT_FOR_PAUSE 1
9125 #define V_REQ_CTL_RD_CH1_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_RD_CH1_WAIT_FOR_PAUSE)
9126 #define F_REQ_CTL_RD_CH1_WAIT_FOR_PAUSE V_REQ_CTL_RD_CH1_WAIT_FOR_PAUSE(1U)
9128 #define S_REQ_CTL_RD_CH1_WAIT_FOR_FIFO_DATA 0
9129 #define V_REQ_CTL_RD_CH1_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_RD_CH1_WAIT_FOR_FIFO_DATA)
9130 #define F_REQ_CTL_RD_CH1_WAIT_FOR_FIFO_DATA V_REQ_CTL_RD_CH1_WAIT_FOR_FIFO_DATA(1U)
9132 #define A_PCIE_PDEBUG_REG_0X4 0x4
9134 #define S_TAGQ_CH2_TAGS_USED 11
9135 #define M_TAGQ_CH2_TAGS_USED 0xffU
9136 #define V_TAGQ_CH2_TAGS_USED(x) ((x) << S_TAGQ_CH2_TAGS_USED)
9137 #define G_TAGQ_CH2_TAGS_USED(x) (((x) >> S_TAGQ_CH2_TAGS_USED) & M_TAGQ_CH2_TAGS_USED)
9139 #define S_REQ_CH2_DATA_EMPTY 10
9140 #define V_REQ_CH2_DATA_EMPTY(x) ((x) << S_REQ_CH2_DATA_EMPTY)
9141 #define F_REQ_CH2_DATA_EMPTY V_REQ_CH2_DATA_EMPTY(1U)
9143 #define S_RDQ_CH2_REQ_EMPTY 9
9144 #define V_RDQ_CH2_REQ_EMPTY(x) ((x) << S_RDQ_CH2_REQ_EMPTY)
9145 #define F_RDQ_CH2_REQ_EMPTY V_RDQ_CH2_REQ_EMPTY(1U)
9147 #define S_REQ_CTL_RD_CH2_WAIT_FOR_TAGTQ 8
9148 #define V_REQ_CTL_RD_CH2_WAIT_FOR_TAGTQ(x) ((x) << S_REQ_CTL_RD_CH2_WAIT_FOR_TAGTQ)
9149 #define F_REQ_CTL_RD_CH2_WAIT_FOR_TAGTQ V_REQ_CTL_RD_CH2_WAIT_FOR_TAGTQ(1U)
9151 #define S_REQ_CTL_RD_CH2_WAIT_FOR_CMD 7
9152 #define V_REQ_CTL_RD_CH2_WAIT_FOR_CMD(x) ((x) << S_REQ_CTL_RD_CH2_WAIT_FOR_CMD)
9153 #define F_REQ_CTL_RD_CH2_WAIT_FOR_CMD V_REQ_CTL_RD_CH2_WAIT_FOR_CMD(1U)
9155 #define S_REQ_CTL_RD_CH2_WAIT_FOR_DATA_MEM 6
9156 #define V_REQ_CTL_RD_CH2_WAIT_FOR_DATA_MEM(x) ((x) << S_REQ_CTL_RD_CH2_WAIT_FOR_DATA_MEM)
9157 #define F_REQ_CTL_RD_CH2_WAIT_FOR_DATA_MEM V_REQ_CTL_RD_CH2_WAIT_FOR_DATA_MEM(1U)
9159 #define S_REQ_CTL_RD_CH2_WAIT_FOR_RDQ 5
9160 #define V_REQ_CTL_RD_CH2_WAIT_FOR_RDQ(x) ((x) << S_REQ_CTL_RD_CH2_WAIT_FOR_RDQ)
9161 #define F_REQ_CTL_RD_CH2_WAIT_FOR_RDQ V_REQ_CTL_RD_CH2_WAIT_FOR_RDQ(1U)
9163 #define S_REQ_CTL_RD_CH2_WAIT_FOR_TXN_DISABLE_FIFO 4
9164 #define V_REQ_CTL_RD_CH2_WAIT_FOR_TXN_DISABLE_FIFO(x) ((x) << S_REQ_CTL_RD_CH2_WAIT_FOR_TXN_DISABLE_FIFO)
9165 #define F_REQ_CTL_RD_CH2_WAIT_FOR_TXN_DISABLE_FIFO V_REQ_CTL_RD_CH2_WAIT_FOR_TXN_DISABLE_FIFO(1U)
9167 #define S_REQ_CTL_RD_CH2_EXIT_BOT_VLD_STARTED 3
9168 #define V_REQ_CTL_RD_CH2_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH2_EXIT_BOT_VLD_STARTED)
9169 #define F_REQ_CTL_RD_CH2_EXIT_BOT_VLD_STARTED V_REQ_CTL_RD_CH2_EXIT_BOT_VLD_STARTED(1U)
9171 #define S_REQ_CTL_RD_CH2_EXIT_TOP_VLD_STARTED 2
9172 #define V_REQ_CTL_RD_CH2_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH2_EXIT_TOP_VLD_STARTED)
9173 #define F_REQ_CTL_RD_CH2_EXIT_TOP_VLD_STARTED V_REQ_CTL_RD_CH2_EXIT_TOP_VLD_STARTED(1U)
9175 #define S_REQ_CTL_RD_CH2_WAIT_FOR_PAUSE 1
9176 #define V_REQ_CTL_RD_CH2_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_RD_CH2_WAIT_FOR_PAUSE)
9177 #define F_REQ_CTL_RD_CH2_WAIT_FOR_PAUSE V_REQ_CTL_RD_CH2_WAIT_FOR_PAUSE(1U)
9179 #define S_REQ_CTL_RD_CH2_WAIT_FOR_FIFO_DATA 0
9180 #define V_REQ_CTL_RD_CH2_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_RD_CH2_WAIT_FOR_FIFO_DATA)
9181 #define F_REQ_CTL_RD_CH2_WAIT_FOR_FIFO_DATA V_REQ_CTL_RD_CH2_WAIT_FOR_FIFO_DATA(1U)
9183 #define A_PCIE_PDEBUG_REG_0X5 0x5
9185 #define S_TAGQ_CH3_TAGS_USED 11
9186 #define M_TAGQ_CH3_TAGS_USED 0xffU
9187 #define V_TAGQ_CH3_TAGS_USED(x) ((x) << S_TAGQ_CH3_TAGS_USED)
9188 #define G_TAGQ_CH3_TAGS_USED(x) (((x) >> S_TAGQ_CH3_TAGS_USED) & M_TAGQ_CH3_TAGS_USED)
9190 #define S_REQ_CH3_DATA_EMPTY 10
9191 #define V_REQ_CH3_DATA_EMPTY(x) ((x) << S_REQ_CH3_DATA_EMPTY)
9192 #define F_REQ_CH3_DATA_EMPTY V_REQ_CH3_DATA_EMPTY(1U)
9194 #define S_RDQ_CH3_REQ_EMPTY 9
9195 #define V_RDQ_CH3_REQ_EMPTY(x) ((x) << S_RDQ_CH3_REQ_EMPTY)
9196 #define F_RDQ_CH3_REQ_EMPTY V_RDQ_CH3_REQ_EMPTY(1U)
9198 #define S_REQ_CTL_RD_CH3_WAIT_FOR_TAGTQ 8
9199 #define V_REQ_CTL_RD_CH3_WAIT_FOR_TAGTQ(x) ((x) << S_REQ_CTL_RD_CH3_WAIT_FOR_TAGTQ)
9200 #define F_REQ_CTL_RD_CH3_WAIT_FOR_TAGTQ V_REQ_CTL_RD_CH3_WAIT_FOR_TAGTQ(1U)
9202 #define S_REQ_CTL_RD_CH3_WAIT_FOR_CMD 7
9203 #define V_REQ_CTL_RD_CH3_WAIT_FOR_CMD(x) ((x) << S_REQ_CTL_RD_CH3_WAIT_FOR_CMD)
9204 #define F_REQ_CTL_RD_CH3_WAIT_FOR_CMD V_REQ_CTL_RD_CH3_WAIT_FOR_CMD(1U)
9206 #define S_REQ_CTL_RD_CH3_WAIT_FOR_DATA_MEM 6
9207 #define V_REQ_CTL_RD_CH3_WAIT_FOR_DATA_MEM(x) ((x) << S_REQ_CTL_RD_CH3_WAIT_FOR_DATA_MEM)
9208 #define F_REQ_CTL_RD_CH3_WAIT_FOR_DATA_MEM V_REQ_CTL_RD_CH3_WAIT_FOR_DATA_MEM(1U)
9210 #define S_REQ_CTL_RD_CH3_WAIT_FOR_RDQ 5
9211 #define V_REQ_CTL_RD_CH3_WAIT_FOR_RDQ(x) ((x) << S_REQ_CTL_RD_CH3_WAIT_FOR_RDQ)
9212 #define F_REQ_CTL_RD_CH3_WAIT_FOR_RDQ V_REQ_CTL_RD_CH3_WAIT_FOR_RDQ(1U)
9214 #define S_REQ_CTL_RD_CH3_WAIT_FOR_TXN_DISABLE_FIFO 4
9215 #define V_REQ_CTL_RD_CH3_WAIT_FOR_TXN_DISABLE_FIFO(x) ((x) << S_REQ_CTL_RD_CH3_WAIT_FOR_TXN_DISABLE_FIFO)
9216 #define F_REQ_CTL_RD_CH3_WAIT_FOR_TXN_DISABLE_FIFO V_REQ_CTL_RD_CH3_WAIT_FOR_TXN_DISABLE_FIFO(1U)
9218 #define S_REQ_CTL_RD_CH3_EXIT_BOT_VLD_STARTED 3
9219 #define V_REQ_CTL_RD_CH3_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH3_EXIT_BOT_VLD_STARTED)
9220 #define F_REQ_CTL_RD_CH3_EXIT_BOT_VLD_STARTED V_REQ_CTL_RD_CH3_EXIT_BOT_VLD_STARTED(1U)
9222 #define S_REQ_CTL_RD_CH3_EXIT_TOP_VLD_STARTED 2
9223 #define V_REQ_CTL_RD_CH3_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH3_EXIT_TOP_VLD_STARTED)
9224 #define F_REQ_CTL_RD_CH3_EXIT_TOP_VLD_STARTED V_REQ_CTL_RD_CH3_EXIT_TOP_VLD_STARTED(1U)
9226 #define S_REQ_CTL_RD_CH3_WAIT_FOR_PAUSE 1
9227 #define V_REQ_CTL_RD_CH3_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_RD_CH3_WAIT_FOR_PAUSE)
9228 #define F_REQ_CTL_RD_CH3_WAIT_FOR_PAUSE V_REQ_CTL_RD_CH3_WAIT_FOR_PAUSE(1U)
9230 #define S_REQ_CTL_RD_CH3_WAIT_FOR_FIFO_DATA 0
9231 #define V_REQ_CTL_RD_CH3_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_RD_CH3_WAIT_FOR_FIFO_DATA)
9232 #define F_REQ_CTL_RD_CH3_WAIT_FOR_FIFO_DATA V_REQ_CTL_RD_CH3_WAIT_FOR_FIFO_DATA(1U)
9234 #define A_PCIE_PDEBUG_REG_0X6 0x6
9236 #define S_TAGQ_CH4_TAGS_USED 11
9237 #define M_TAGQ_CH4_TAGS_USED 0xffU
9238 #define V_TAGQ_CH4_TAGS_USED(x) ((x) << S_TAGQ_CH4_TAGS_USED)
9239 #define G_TAGQ_CH4_TAGS_USED(x) (((x) >> S_TAGQ_CH4_TAGS_USED) & M_TAGQ_CH4_TAGS_USED)
9241 #define S_REQ_CH4_DATA_EMPTY 10
9242 #define V_REQ_CH4_DATA_EMPTY(x) ((x) << S_REQ_CH4_DATA_EMPTY)
9243 #define F_REQ_CH4_DATA_EMPTY V_REQ_CH4_DATA_EMPTY(1U)
9245 #define S_RDQ_CH4_REQ_EMPTY 9
9246 #define V_RDQ_CH4_REQ_EMPTY(x) ((x) << S_RDQ_CH4_REQ_EMPTY)
9247 #define F_RDQ_CH4_REQ_EMPTY V_RDQ_CH4_REQ_EMPTY(1U)
9249 #define S_REQ_CTL_RD_CH4_WAIT_FOR_TAGTQ 8
9250 #define V_REQ_CTL_RD_CH4_WAIT_FOR_TAGTQ(x) ((x) << S_REQ_CTL_RD_CH4_WAIT_FOR_TAGTQ)
9251 #define F_REQ_CTL_RD_CH4_WAIT_FOR_TAGTQ V_REQ_CTL_RD_CH4_WAIT_FOR_TAGTQ(1U)
9253 #define S_REQ_CTL_RD_CH4_WAIT_FOR_CMD 7
9254 #define V_REQ_CTL_RD_CH4_WAIT_FOR_CMD(x) ((x) << S_REQ_CTL_RD_CH4_WAIT_FOR_CMD)
9255 #define F_REQ_CTL_RD_CH4_WAIT_FOR_CMD V_REQ_CTL_RD_CH4_WAIT_FOR_CMD(1U)
9257 #define S_REQ_CTL_RD_CH4_WAIT_FOR_DATA_MEM 6
9258 #define V_REQ_CTL_RD_CH4_WAIT_FOR_DATA_MEM(x) ((x) << S_REQ_CTL_RD_CH4_WAIT_FOR_DATA_MEM)
9259 #define F_REQ_CTL_RD_CH4_WAIT_FOR_DATA_MEM V_REQ_CTL_RD_CH4_WAIT_FOR_DATA_MEM(1U)
9261 #define S_REQ_CTL_RD_CH4_WAIT_FOR_RDQ 5
9262 #define V_REQ_CTL_RD_CH4_WAIT_FOR_RDQ(x) ((x) << S_REQ_CTL_RD_CH4_WAIT_FOR_RDQ)
9263 #define F_REQ_CTL_RD_CH4_WAIT_FOR_RDQ V_REQ_CTL_RD_CH4_WAIT_FOR_RDQ(1U)
9265 #define S_REQ_CTL_RD_CH4_WAIT_FOR_TXN_DISABLE_FIFO 4
9266 #define V_REQ_CTL_RD_CH4_WAIT_FOR_TXN_DISABLE_FIFO(x) ((x) << S_REQ_CTL_RD_CH4_WAIT_FOR_TXN_DISABLE_FIFO)
9267 #define F_REQ_CTL_RD_CH4_WAIT_FOR_TXN_DISABLE_FIFO V_REQ_CTL_RD_CH4_WAIT_FOR_TXN_DISABLE_FIFO(1U)
9269 #define S_REQ_CTL_RD_CH4_EXIT_BOT_VLD_STARTED 3
9270 #define V_REQ_CTL_RD_CH4_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH4_EXIT_BOT_VLD_STARTED)
9271 #define F_REQ_CTL_RD_CH4_EXIT_BOT_VLD_STARTED V_REQ_CTL_RD_CH4_EXIT_BOT_VLD_STARTED(1U)
9273 #define S_REQ_CTL_RD_CH4_EXIT_TOP_VLD_STARTED 2
9274 #define V_REQ_CTL_RD_CH4_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH4_EXIT_TOP_VLD_STARTED)
9275 #define F_REQ_CTL_RD_CH4_EXIT_TOP_VLD_STARTED V_REQ_CTL_RD_CH4_EXIT_TOP_VLD_STARTED(1U)
9277 #define S_REQ_CTL_RD_CH4_WAIT_FOR_PAUSE 1
9278 #define V_REQ_CTL_RD_CH4_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_RD_CH4_WAIT_FOR_PAUSE)
9279 #define F_REQ_CTL_RD_CH4_WAIT_FOR_PAUSE V_REQ_CTL_RD_CH4_WAIT_FOR_PAUSE(1U)
9281 #define S_REQ_CTL_RD_CH4_WAIT_FOR_FIFO_DATA 0
9282 #define V_REQ_CTL_RD_CH4_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_RD_CH4_WAIT_FOR_FIFO_DATA)
9283 #define F_REQ_CTL_RD_CH4_WAIT_FOR_FIFO_DATA V_REQ_CTL_RD_CH4_WAIT_FOR_FIFO_DATA(1U)
9285 #define A_PCIE_PDEBUG_REG_0X7 0x7
9287 #define S_TAGQ_CH5_TAGS_USED 11
9288 #define M_TAGQ_CH5_TAGS_USED 0xffU
9289 #define V_TAGQ_CH5_TAGS_USED(x) ((x) << S_TAGQ_CH5_TAGS_USED)
9290 #define G_TAGQ_CH5_TAGS_USED(x) (((x) >> S_TAGQ_CH5_TAGS_USED) & M_TAGQ_CH5_TAGS_USED)
9292 #define S_REQ_CH5_DATA_EMPTY 10
9293 #define V_REQ_CH5_DATA_EMPTY(x) ((x) << S_REQ_CH5_DATA_EMPTY)
9294 #define F_REQ_CH5_DATA_EMPTY V_REQ_CH5_DATA_EMPTY(1U)
9296 #define S_RDQ_CH5_REQ_EMPTY 9
9297 #define V_RDQ_CH5_REQ_EMPTY(x) ((x) << S_RDQ_CH5_REQ_EMPTY)
9298 #define F_RDQ_CH5_REQ_EMPTY V_RDQ_CH5_REQ_EMPTY(1U)
9300 #define S_REQ_CTL_RD_CH5_WAIT_FOR_TAGTQ 8
9301 #define V_REQ_CTL_RD_CH5_WAIT_FOR_TAGTQ(x) ((x) << S_REQ_CTL_RD_CH5_WAIT_FOR_TAGTQ)
9302 #define F_REQ_CTL_RD_CH5_WAIT_FOR_TAGTQ V_REQ_CTL_RD_CH5_WAIT_FOR_TAGTQ(1U)
9304 #define S_REQ_CTL_RD_CH5_WAIT_FOR_CMD 7
9305 #define V_REQ_CTL_RD_CH5_WAIT_FOR_CMD(x) ((x) << S_REQ_CTL_RD_CH5_WAIT_FOR_CMD)
9306 #define F_REQ_CTL_RD_CH5_WAIT_FOR_CMD V_REQ_CTL_RD_CH5_WAIT_FOR_CMD(1U)
9308 #define S_REQ_CTL_RD_CH5_WAIT_FOR_DATA_MEM 6
9309 #define V_REQ_CTL_RD_CH5_WAIT_FOR_DATA_MEM(x) ((x) << S_REQ_CTL_RD_CH5_WAIT_FOR_DATA_MEM)
9310 #define F_REQ_CTL_RD_CH5_WAIT_FOR_DATA_MEM V_REQ_CTL_RD_CH5_WAIT_FOR_DATA_MEM(1U)
9312 #define S_REQ_CTL_RD_CH5_WAIT_FOR_RDQ 5
9313 #define V_REQ_CTL_RD_CH5_WAIT_FOR_RDQ(x) ((x) << S_REQ_CTL_RD_CH5_WAIT_FOR_RDQ)
9314 #define F_REQ_CTL_RD_CH5_WAIT_FOR_RDQ V_REQ_CTL_RD_CH5_WAIT_FOR_RDQ(1U)
9316 #define S_REQ_CTL_RD_CH5_WAIT_FOR_TXN_DISABLE_FIFO 4
9317 #define V_REQ_CTL_RD_CH5_WAIT_FOR_TXN_DISABLE_FIFO(x) ((x) << S_REQ_CTL_RD_CH5_WAIT_FOR_TXN_DISABLE_FIFO)
9318 #define F_REQ_CTL_RD_CH5_WAIT_FOR_TXN_DISABLE_FIFO V_REQ_CTL_RD_CH5_WAIT_FOR_TXN_DISABLE_FIFO(1U)
9320 #define S_REQ_CTL_RD_CH5_EXIT_BOT_VLD_STARTED 3
9321 #define V_REQ_CTL_RD_CH5_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH5_EXIT_BOT_VLD_STARTED)
9322 #define F_REQ_CTL_RD_CH5_EXIT_BOT_VLD_STARTED V_REQ_CTL_RD_CH5_EXIT_BOT_VLD_STARTED(1U)
9324 #define S_REQ_CTL_RD_CH5_EXIT_TOP_VLD_STARTED 2
9325 #define V_REQ_CTL_RD_CH5_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH5_EXIT_TOP_VLD_STARTED)
9326 #define F_REQ_CTL_RD_CH5_EXIT_TOP_VLD_STARTED V_REQ_CTL_RD_CH5_EXIT_TOP_VLD_STARTED(1U)
9328 #define S_REQ_CTL_RD_CH5_WAIT_FOR_PAUSE 1
9329 #define V_REQ_CTL_RD_CH5_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_RD_CH5_WAIT_FOR_PAUSE)
9330 #define F_REQ_CTL_RD_CH5_WAIT_FOR_PAUSE V_REQ_CTL_RD_CH5_WAIT_FOR_PAUSE(1U)
9332 #define S_REQ_CTL_RD_CH5_WAIT_FOR_FIFO_DATA 0
9333 #define V_REQ_CTL_RD_CH5_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_RD_CH5_WAIT_FOR_FIFO_DATA)
9334 #define F_REQ_CTL_RD_CH5_WAIT_FOR_FIFO_DATA V_REQ_CTL_RD_CH5_WAIT_FOR_FIFO_DATA(1U)
9336 #define A_PCIE_PDEBUG_REG_0X8 0x8
9338 #define S_TAGQ_CH6_TAGS_USED 11
9339 #define M_TAGQ_CH6_TAGS_USED 0xffU
9340 #define V_TAGQ_CH6_TAGS_USED(x) ((x) << S_TAGQ_CH6_TAGS_USED)
9341 #define G_TAGQ_CH6_TAGS_USED(x) (((x) >> S_TAGQ_CH6_TAGS_USED) & M_TAGQ_CH6_TAGS_USED)
9343 #define S_REQ_CH6_DATA_EMPTY 10
9344 #define V_REQ_CH6_DATA_EMPTY(x) ((x) << S_REQ_CH6_DATA_EMPTY)
9345 #define F_REQ_CH6_DATA_EMPTY V_REQ_CH6_DATA_EMPTY(1U)
9347 #define S_RDQ_CH6_REQ_EMPTY 9
9348 #define V_RDQ_CH6_REQ_EMPTY(x) ((x) << S_RDQ_CH6_REQ_EMPTY)
9349 #define F_RDQ_CH6_REQ_EMPTY V_RDQ_CH6_REQ_EMPTY(1U)
9351 #define S_REQ_CTL_RD_CH6_WAIT_FOR_TAGTQ 8
9352 #define V_REQ_CTL_RD_CH6_WAIT_FOR_TAGTQ(x) ((x) << S_REQ_CTL_RD_CH6_WAIT_FOR_TAGTQ)
9353 #define F_REQ_CTL_RD_CH6_WAIT_FOR_TAGTQ V_REQ_CTL_RD_CH6_WAIT_FOR_TAGTQ(1U)
9355 #define S_REQ_CTL_RD_CH6_WAIT_FOR_CMD 7
9356 #define V_REQ_CTL_RD_CH6_WAIT_FOR_CMD(x) ((x) << S_REQ_CTL_RD_CH6_WAIT_FOR_CMD)
9357 #define F_REQ_CTL_RD_CH6_WAIT_FOR_CMD V_REQ_CTL_RD_CH6_WAIT_FOR_CMD(1U)
9359 #define S_REQ_CTL_RD_CH6_WAIT_FOR_DATA_MEM 6
9360 #define V_REQ_CTL_RD_CH6_WAIT_FOR_DATA_MEM(x) ((x) << S_REQ_CTL_RD_CH6_WAIT_FOR_DATA_MEM)
9361 #define F_REQ_CTL_RD_CH6_WAIT_FOR_DATA_MEM V_REQ_CTL_RD_CH6_WAIT_FOR_DATA_MEM(1U)
9363 #define S_REQ_CTL_RD_CH6_WAIT_FOR_RDQ 5
9364 #define V_REQ_CTL_RD_CH6_WAIT_FOR_RDQ(x) ((x) << S_REQ_CTL_RD_CH6_WAIT_FOR_RDQ)
9365 #define F_REQ_CTL_RD_CH6_WAIT_FOR_RDQ V_REQ_CTL_RD_CH6_WAIT_FOR_RDQ(1U)
9367 #define S_REQ_CTL_RD_CH6_WAIT_FOR_TXN_DISABLE_FIFO 4
9368 #define V_REQ_CTL_RD_CH6_WAIT_FOR_TXN_DISABLE_FIFO(x) ((x) << S_REQ_CTL_RD_CH6_WAIT_FOR_TXN_DISABLE_FIFO)
9369 #define F_REQ_CTL_RD_CH6_WAIT_FOR_TXN_DISABLE_FIFO V_REQ_CTL_RD_CH6_WAIT_FOR_TXN_DISABLE_FIFO(1U)
9371 #define S_REQ_CTL_RD_CH6_EXIT_BOT_VLD_STARTED 3
9372 #define V_REQ_CTL_RD_CH6_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH6_EXIT_BOT_VLD_STARTED)
9373 #define F_REQ_CTL_RD_CH6_EXIT_BOT_VLD_STARTED V_REQ_CTL_RD_CH6_EXIT_BOT_VLD_STARTED(1U)
9375 #define S_REQ_CTL_RD_CH6_EXIT_TOP_VLD_STARTED 2
9376 #define V_REQ_CTL_RD_CH6_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH6_EXIT_TOP_VLD_STARTED)
9377 #define F_REQ_CTL_RD_CH6_EXIT_TOP_VLD_STARTED V_REQ_CTL_RD_CH6_EXIT_TOP_VLD_STARTED(1U)
9379 #define S_REQ_CTL_RD_CH6_WAIT_FOR_PAUSE 1
9380 #define V_REQ_CTL_RD_CH6_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_RD_CH6_WAIT_FOR_PAUSE)
9381 #define F_REQ_CTL_RD_CH6_WAIT_FOR_PAUSE V_REQ_CTL_RD_CH6_WAIT_FOR_PAUSE(1U)
9383 #define S_REQ_CTL_RD_CH6_WAIT_FOR_FIFO_DATA 0
9384 #define V_REQ_CTL_RD_CH6_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_RD_CH6_WAIT_FOR_FIFO_DATA)
9385 #define F_REQ_CTL_RD_CH6_WAIT_FOR_FIFO_DATA V_REQ_CTL_RD_CH6_WAIT_FOR_FIFO_DATA(1U)
9387 #define A_PCIE_PDEBUG_REG_0X9 0x9
9389 #define S_TAGQ_CH7_TAGS_USED 11
9390 #define M_TAGQ_CH7_TAGS_USED 0xffU
9391 #define V_TAGQ_CH7_TAGS_USED(x) ((x) << S_TAGQ_CH7_TAGS_USED)
9392 #define G_TAGQ_CH7_TAGS_USED(x) (((x) >> S_TAGQ_CH7_TAGS_USED) & M_TAGQ_CH7_TAGS_USED)
9394 #define S_REQ_CH7_DATA_EMPTY 10
9395 #define V_REQ_CH7_DATA_EMPTY(x) ((x) << S_REQ_CH7_DATA_EMPTY)
9396 #define F_REQ_CH7_DATA_EMPTY V_REQ_CH7_DATA_EMPTY(1U)
9398 #define S_RDQ_CH7_REQ_EMPTY 9
9399 #define V_RDQ_CH7_REQ_EMPTY(x) ((x) << S_RDQ_CH7_REQ_EMPTY)
9400 #define F_RDQ_CH7_REQ_EMPTY V_RDQ_CH7_REQ_EMPTY(1U)
9402 #define S_REQ_CTL_RD_CH7_WAIT_FOR_TAGTQ 8
9403 #define V_REQ_CTL_RD_CH7_WAIT_FOR_TAGTQ(x) ((x) << S_REQ_CTL_RD_CH7_WAIT_FOR_TAGTQ)
9404 #define F_REQ_CTL_RD_CH7_WAIT_FOR_TAGTQ V_REQ_CTL_RD_CH7_WAIT_FOR_TAGTQ(1U)
9406 #define S_REQ_CTL_RD_CH7_WAIT_FOR_CMD 7
9407 #define V_REQ_CTL_RD_CH7_WAIT_FOR_CMD(x) ((x) << S_REQ_CTL_RD_CH7_WAIT_FOR_CMD)
9408 #define F_REQ_CTL_RD_CH7_WAIT_FOR_CMD V_REQ_CTL_RD_CH7_WAIT_FOR_CMD(1U)
9410 #define S_REQ_CTL_RD_CH7_WAIT_FOR_DATA_MEM 6
9411 #define V_REQ_CTL_RD_CH7_WAIT_FOR_DATA_MEM(x) ((x) << S_REQ_CTL_RD_CH7_WAIT_FOR_DATA_MEM)
9412 #define F_REQ_CTL_RD_CH7_WAIT_FOR_DATA_MEM V_REQ_CTL_RD_CH7_WAIT_FOR_DATA_MEM(1U)
9414 #define S_REQ_CTL_RD_CH7_WAIT_FOR_RDQ 5
9415 #define V_REQ_CTL_RD_CH7_WAIT_FOR_RDQ(x) ((x) << S_REQ_CTL_RD_CH7_WAIT_FOR_RDQ)
9416 #define F_REQ_CTL_RD_CH7_WAIT_FOR_RDQ V_REQ_CTL_RD_CH7_WAIT_FOR_RDQ(1U)
9418 #define S_REQ_CTL_RD_CH7_WAIT_FOR_TXN_DISABLE_FIFO 4
9419 #define V_REQ_CTL_RD_CH7_WAIT_FOR_TXN_DISABLE_FIFO(x) ((x) << S_REQ_CTL_RD_CH7_WAIT_FOR_TXN_DISABLE_FIFO)
9420 #define F_REQ_CTL_RD_CH7_WAIT_FOR_TXN_DISABLE_FIFO V_REQ_CTL_RD_CH7_WAIT_FOR_TXN_DISABLE_FIFO(1U)
9422 #define S_REQ_CTL_RD_CH7_EXIT_BOT_VLD_STARTED 3
9423 #define V_REQ_CTL_RD_CH7_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH7_EXIT_BOT_VLD_STARTED)
9424 #define F_REQ_CTL_RD_CH7_EXIT_BOT_VLD_STARTED V_REQ_CTL_RD_CH7_EXIT_BOT_VLD_STARTED(1U)
9426 #define S_REQ_CTL_RD_CH7_EXIT_TOP_VLD_STARTED 2
9427 #define V_REQ_CTL_RD_CH7_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_RD_CH7_EXIT_TOP_VLD_STARTED)
9428 #define F_REQ_CTL_RD_CH7_EXIT_TOP_VLD_STARTED V_REQ_CTL_RD_CH7_EXIT_TOP_VLD_STARTED(1U)
9430 #define S_REQ_CTL_RD_CH7_WAIT_FOR_PAUSE 1
9431 #define V_REQ_CTL_RD_CH7_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_RD_CH7_WAIT_FOR_PAUSE)
9432 #define F_REQ_CTL_RD_CH7_WAIT_FOR_PAUSE V_REQ_CTL_RD_CH7_WAIT_FOR_PAUSE(1U)
9434 #define S_REQ_CTL_RD_CH7_WAIT_FOR_FIFO_DATA 0
9435 #define V_REQ_CTL_RD_CH7_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_RD_CH7_WAIT_FOR_FIFO_DATA)
9436 #define F_REQ_CTL_RD_CH7_WAIT_FOR_FIFO_DATA V_REQ_CTL_RD_CH7_WAIT_FOR_FIFO_DATA(1U)
9438 #define A_PCIE_PDEBUG_REG_0XA 0xa
9440 #define S_REQ_CTL_RD_CH0_WAIT_FOR_SEQNUM 27
9441 #define V_REQ_CTL_RD_CH0_WAIT_FOR_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH0_WAIT_FOR_SEQNUM)
9442 #define F_REQ_CTL_RD_CH0_WAIT_FOR_SEQNUM V_REQ_CTL_RD_CH0_WAIT_FOR_SEQNUM(1U)
9444 #define S_REQ_CTL_WR_CH0_SEQNUM 19
9445 #define M_REQ_CTL_WR_CH0_SEQNUM 0xffU
9446 #define V_REQ_CTL_WR_CH0_SEQNUM(x) ((x) << S_REQ_CTL_WR_CH0_SEQNUM)
9447 #define G_REQ_CTL_WR_CH0_SEQNUM(x) (((x) >> S_REQ_CTL_WR_CH0_SEQNUM) & M_REQ_CTL_WR_CH0_SEQNUM)
9449 #define S_REQ_CTL_RD_CH0_SEQNUM 11
9450 #define M_REQ_CTL_RD_CH0_SEQNUM 0xffU
9451 #define V_REQ_CTL_RD_CH0_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH0_SEQNUM)
9452 #define G_REQ_CTL_RD_CH0_SEQNUM(x) (((x) >> S_REQ_CTL_RD_CH0_SEQNUM) & M_REQ_CTL_RD_CH0_SEQNUM)
9454 #define S_REQ_CTL_WR_CH0_WAIT_FOR_SI_FIFO 4
9455 #define V_REQ_CTL_WR_CH0_WAIT_FOR_SI_FIFO(x) ((x) << S_REQ_CTL_WR_CH0_WAIT_FOR_SI_FIFO)
9456 #define F_REQ_CTL_WR_CH0_WAIT_FOR_SI_FIFO V_REQ_CTL_WR_CH0_WAIT_FOR_SI_FIFO(1U)
9458 #define S_REQ_CTL_WR_CH0_EXIT_BOT_VLD_STARTED 3
9459 #define V_REQ_CTL_WR_CH0_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH0_EXIT_BOT_VLD_STARTED)
9460 #define F_REQ_CTL_WR_CH0_EXIT_BOT_VLD_STARTED V_REQ_CTL_WR_CH0_EXIT_BOT_VLD_STARTED(1U)
9462 #define S_REQ_CTL_WR_CH0_EXIT_TOP_VLD_STARTED 2
9463 #define V_REQ_CTL_WR_CH0_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH0_EXIT_TOP_VLD_STARTED)
9464 #define F_REQ_CTL_WR_CH0_EXIT_TOP_VLD_STARTED V_REQ_CTL_WR_CH0_EXIT_TOP_VLD_STARTED(1U)
9466 #define S_REQ_CTL_WR_CH0_WAIT_FOR_PAUSE 1
9467 #define V_REQ_CTL_WR_CH0_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_WR_CH0_WAIT_FOR_PAUSE)
9468 #define F_REQ_CTL_WR_CH0_WAIT_FOR_PAUSE V_REQ_CTL_WR_CH0_WAIT_FOR_PAUSE(1U)
9470 #define S_REQ_CTL_WR_CH0_WAIT_FOR_FIFO_DATA 0
9471 #define V_REQ_CTL_WR_CH0_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_WR_CH0_WAIT_FOR_FIFO_DATA)
9472 #define F_REQ_CTL_WR_CH0_WAIT_FOR_FIFO_DATA V_REQ_CTL_WR_CH0_WAIT_FOR_FIFO_DATA(1U)
9474 #define A_PCIE_PDEBUG_REG_0XB 0xb
9476 #define S_REQ_CTL_RD_CH1_WAIT_FOR_SEQNUM 27
9477 #define V_REQ_CTL_RD_CH1_WAIT_FOR_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH1_WAIT_FOR_SEQNUM)
9478 #define F_REQ_CTL_RD_CH1_WAIT_FOR_SEQNUM V_REQ_CTL_RD_CH1_WAIT_FOR_SEQNUM(1U)
9480 #define S_REQ_CTL_WR_CH1_SEQNUM 19
9481 #define M_REQ_CTL_WR_CH1_SEQNUM 0xffU
9482 #define V_REQ_CTL_WR_CH1_SEQNUM(x) ((x) << S_REQ_CTL_WR_CH1_SEQNUM)
9483 #define G_REQ_CTL_WR_CH1_SEQNUM(x) (((x) >> S_REQ_CTL_WR_CH1_SEQNUM) & M_REQ_CTL_WR_CH1_SEQNUM)
9485 #define S_REQ_CTL_RD_CH1_SEQNUM 11
9486 #define M_REQ_CTL_RD_CH1_SEQNUM 0xffU
9487 #define V_REQ_CTL_RD_CH1_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH1_SEQNUM)
9488 #define G_REQ_CTL_RD_CH1_SEQNUM(x) (((x) >> S_REQ_CTL_RD_CH1_SEQNUM) & M_REQ_CTL_RD_CH1_SEQNUM)
9490 #define S_REQ_CTL_WR_CH1_WAIT_FOR_SI_FIFO 4
9491 #define V_REQ_CTL_WR_CH1_WAIT_FOR_SI_FIFO(x) ((x) << S_REQ_CTL_WR_CH1_WAIT_FOR_SI_FIFO)
9492 #define F_REQ_CTL_WR_CH1_WAIT_FOR_SI_FIFO V_REQ_CTL_WR_CH1_WAIT_FOR_SI_FIFO(1U)
9494 #define S_REQ_CTL_WR_CH1_EXIT_BOT_VLD_STARTED 3
9495 #define V_REQ_CTL_WR_CH1_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH1_EXIT_BOT_VLD_STARTED)
9496 #define F_REQ_CTL_WR_CH1_EXIT_BOT_VLD_STARTED V_REQ_CTL_WR_CH1_EXIT_BOT_VLD_STARTED(1U)
9498 #define S_REQ_CTL_WR_CH1_EXIT_TOP_VLD_STARTED 2
9499 #define V_REQ_CTL_WR_CH1_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH1_EXIT_TOP_VLD_STARTED)
9500 #define F_REQ_CTL_WR_CH1_EXIT_TOP_VLD_STARTED V_REQ_CTL_WR_CH1_EXIT_TOP_VLD_STARTED(1U)
9502 #define S_REQ_CTL_WR_CH1_WAIT_FOR_PAUSE 1
9503 #define V_REQ_CTL_WR_CH1_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_WR_CH1_WAIT_FOR_PAUSE)
9504 #define F_REQ_CTL_WR_CH1_WAIT_FOR_PAUSE V_REQ_CTL_WR_CH1_WAIT_FOR_PAUSE(1U)
9506 #define S_REQ_CTL_WR_CH1_WAIT_FOR_FIFO_DATA 0
9507 #define V_REQ_CTL_WR_CH1_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_WR_CH1_WAIT_FOR_FIFO_DATA)
9508 #define F_REQ_CTL_WR_CH1_WAIT_FOR_FIFO_DATA V_REQ_CTL_WR_CH1_WAIT_FOR_FIFO_DATA(1U)
9510 #define A_PCIE_PDEBUG_REG_0XC 0xc
9512 #define S_REQ_CTL_RD_CH2_WAIT_FOR_SEQNUM 27
9513 #define V_REQ_CTL_RD_CH2_WAIT_FOR_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH2_WAIT_FOR_SEQNUM)
9514 #define F_REQ_CTL_RD_CH2_WAIT_FOR_SEQNUM V_REQ_CTL_RD_CH2_WAIT_FOR_SEQNUM(1U)
9516 #define S_REQ_CTL_WR_CH2_SEQNUM 19
9517 #define M_REQ_CTL_WR_CH2_SEQNUM 0xffU
9518 #define V_REQ_CTL_WR_CH2_SEQNUM(x) ((x) << S_REQ_CTL_WR_CH2_SEQNUM)
9519 #define G_REQ_CTL_WR_CH2_SEQNUM(x) (((x) >> S_REQ_CTL_WR_CH2_SEQNUM) & M_REQ_CTL_WR_CH2_SEQNUM)
9521 #define S_REQ_CTL_RD_CH2_SEQNUM 11
9522 #define M_REQ_CTL_RD_CH2_SEQNUM 0xffU
9523 #define V_REQ_CTL_RD_CH2_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH2_SEQNUM)
9524 #define G_REQ_CTL_RD_CH2_SEQNUM(x) (((x) >> S_REQ_CTL_RD_CH2_SEQNUM) & M_REQ_CTL_RD_CH2_SEQNUM)
9526 #define S_REQ_CTL_WR_CH2_WAIT_FOR_SI_FIFO 4
9527 #define V_REQ_CTL_WR_CH2_WAIT_FOR_SI_FIFO(x) ((x) << S_REQ_CTL_WR_CH2_WAIT_FOR_SI_FIFO)
9528 #define F_REQ_CTL_WR_CH2_WAIT_FOR_SI_FIFO V_REQ_CTL_WR_CH2_WAIT_FOR_SI_FIFO(1U)
9530 #define S_REQ_CTL_WR_CH2_EXIT_BOT_VLD_STARTED 3
9531 #define V_REQ_CTL_WR_CH2_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH2_EXIT_BOT_VLD_STARTED)
9532 #define F_REQ_CTL_WR_CH2_EXIT_BOT_VLD_STARTED V_REQ_CTL_WR_CH2_EXIT_BOT_VLD_STARTED(1U)
9534 #define S_REQ_CTL_WR_CH2_EXIT_TOP_VLD_STARTED 2
9535 #define V_REQ_CTL_WR_CH2_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH2_EXIT_TOP_VLD_STARTED)
9536 #define F_REQ_CTL_WR_CH2_EXIT_TOP_VLD_STARTED V_REQ_CTL_WR_CH2_EXIT_TOP_VLD_STARTED(1U)
9538 #define S_REQ_CTL_WR_CH2_WAIT_FOR_PAUSE 1
9539 #define V_REQ_CTL_WR_CH2_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_WR_CH2_WAIT_FOR_PAUSE)
9540 #define F_REQ_CTL_WR_CH2_WAIT_FOR_PAUSE V_REQ_CTL_WR_CH2_WAIT_FOR_PAUSE(1U)
9542 #define S_REQ_CTL_WR_CH2_WAIT_FOR_FIFO_DATA 0
9543 #define V_REQ_CTL_WR_CH2_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_WR_CH2_WAIT_FOR_FIFO_DATA)
9544 #define F_REQ_CTL_WR_CH2_WAIT_FOR_FIFO_DATA V_REQ_CTL_WR_CH2_WAIT_FOR_FIFO_DATA(1U)
9546 #define A_PCIE_PDEBUG_REG_0XD 0xd
9548 #define S_REQ_CTL_RD_CH3_WAIT_FOR_SEQNUM 27
9549 #define V_REQ_CTL_RD_CH3_WAIT_FOR_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH3_WAIT_FOR_SEQNUM)
9550 #define F_REQ_CTL_RD_CH3_WAIT_FOR_SEQNUM V_REQ_CTL_RD_CH3_WAIT_FOR_SEQNUM(1U)
9552 #define S_REQ_CTL_WR_CH3_SEQNUM 19
9553 #define M_REQ_CTL_WR_CH3_SEQNUM 0xffU
9554 #define V_REQ_CTL_WR_CH3_SEQNUM(x) ((x) << S_REQ_CTL_WR_CH3_SEQNUM)
9555 #define G_REQ_CTL_WR_CH3_SEQNUM(x) (((x) >> S_REQ_CTL_WR_CH3_SEQNUM) & M_REQ_CTL_WR_CH3_SEQNUM)
9557 #define S_REQ_CTL_RD_CH3_SEQNUM 11
9558 #define M_REQ_CTL_RD_CH3_SEQNUM 0xffU
9559 #define V_REQ_CTL_RD_CH3_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH3_SEQNUM)
9560 #define G_REQ_CTL_RD_CH3_SEQNUM(x) (((x) >> S_REQ_CTL_RD_CH3_SEQNUM) & M_REQ_CTL_RD_CH3_SEQNUM)
9562 #define S_REQ_CTL_WR_CH3_WAIT_FOR_SI_FIFO 4
9563 #define V_REQ_CTL_WR_CH3_WAIT_FOR_SI_FIFO(x) ((x) << S_REQ_CTL_WR_CH3_WAIT_FOR_SI_FIFO)
9564 #define F_REQ_CTL_WR_CH3_WAIT_FOR_SI_FIFO V_REQ_CTL_WR_CH3_WAIT_FOR_SI_FIFO(1U)
9566 #define S_REQ_CTL_WR_CH3_EXIT_BOT_VLD_STARTED 3
9567 #define V_REQ_CTL_WR_CH3_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH3_EXIT_BOT_VLD_STARTED)
9568 #define F_REQ_CTL_WR_CH3_EXIT_BOT_VLD_STARTED V_REQ_CTL_WR_CH3_EXIT_BOT_VLD_STARTED(1U)
9570 #define S_REQ_CTL_WR_CH3_EXIT_TOP_VLD_STARTED 2
9571 #define V_REQ_CTL_WR_CH3_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH3_EXIT_TOP_VLD_STARTED)
9572 #define F_REQ_CTL_WR_CH3_EXIT_TOP_VLD_STARTED V_REQ_CTL_WR_CH3_EXIT_TOP_VLD_STARTED(1U)
9574 #define S_REQ_CTL_WR_CH3_WAIT_FOR_PAUSE 1
9575 #define V_REQ_CTL_WR_CH3_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_WR_CH3_WAIT_FOR_PAUSE)
9576 #define F_REQ_CTL_WR_CH3_WAIT_FOR_PAUSE V_REQ_CTL_WR_CH3_WAIT_FOR_PAUSE(1U)
9578 #define S_REQ_CTL_WR_CH3_WAIT_FOR_FIFO_DATA 0
9579 #define V_REQ_CTL_WR_CH3_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_WR_CH3_WAIT_FOR_FIFO_DATA)
9580 #define F_REQ_CTL_WR_CH3_WAIT_FOR_FIFO_DATA V_REQ_CTL_WR_CH3_WAIT_FOR_FIFO_DATA(1U)
9582 #define A_PCIE_PDEBUG_REG_0XE 0xe
9584 #define S_REQ_CTL_RD_CH4_WAIT_FOR_SEQNUM 27
9585 #define V_REQ_CTL_RD_CH4_WAIT_FOR_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH4_WAIT_FOR_SEQNUM)
9586 #define F_REQ_CTL_RD_CH4_WAIT_FOR_SEQNUM V_REQ_CTL_RD_CH4_WAIT_FOR_SEQNUM(1U)
9588 #define S_REQ_CTL_WR_CH4_SEQNUM 19
9589 #define M_REQ_CTL_WR_CH4_SEQNUM 0xffU
9590 #define V_REQ_CTL_WR_CH4_SEQNUM(x) ((x) << S_REQ_CTL_WR_CH4_SEQNUM)
9591 #define G_REQ_CTL_WR_CH4_SEQNUM(x) (((x) >> S_REQ_CTL_WR_CH4_SEQNUM) & M_REQ_CTL_WR_CH4_SEQNUM)
9593 #define S_REQ_CTL_RD_CH4_SEQNUM 11
9594 #define M_REQ_CTL_RD_CH4_SEQNUM 0xffU
9595 #define V_REQ_CTL_RD_CH4_SEQNUM(x) ((x) << S_REQ_CTL_RD_CH4_SEQNUM)
9596 #define G_REQ_CTL_RD_CH4_SEQNUM(x) (((x) >> S_REQ_CTL_RD_CH4_SEQNUM) & M_REQ_CTL_RD_CH4_SEQNUM)
9598 #define S_REQ_CTL_WR_CH4_WAIT_FOR_SI_FIFO 4
9599 #define V_REQ_CTL_WR_CH4_WAIT_FOR_SI_FIFO(x) ((x) << S_REQ_CTL_WR_CH4_WAIT_FOR_SI_FIFO)
9600 #define F_REQ_CTL_WR_CH4_WAIT_FOR_SI_FIFO V_REQ_CTL_WR_CH4_WAIT_FOR_SI_FIFO(1U)
9602 #define S_REQ_CTL_WR_CH4_EXIT_BOT_VLD_STARTED 3
9603 #define V_REQ_CTL_WR_CH4_EXIT_BOT_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH4_EXIT_BOT_VLD_STARTED)
9604 #define F_REQ_CTL_WR_CH4_EXIT_BOT_VLD_STARTED V_REQ_CTL_WR_CH4_EXIT_BOT_VLD_STARTED(1U)
9606 #define S_REQ_CTL_WR_CH4_EXIT_TOP_VLD_STARTED 2
9607 #define V_REQ_CTL_WR_CH4_EXIT_TOP_VLD_STARTED(x) ((x) << S_REQ_CTL_WR_CH4_EXIT_TOP_VLD_STARTED)
9608 #define F_REQ_CTL_WR_CH4_EXIT_TOP_VLD_STARTED V_REQ_CTL_WR_CH4_EXIT_TOP_VLD_STARTED(1U)
9610 #define S_REQ_CTL_WR_CH4_WAIT_FOR_PAUSE 1
9611 #define V_REQ_CTL_WR_CH4_WAIT_FOR_PAUSE(x) ((x) << S_REQ_CTL_WR_CH4_WAIT_FOR_PAUSE)
9612 #define F_REQ_CTL_WR_CH4_WAIT_FOR_PAUSE V_REQ_CTL_WR_CH4_WAIT_FOR_PAUSE(1U)
9614 #define S_REQ_CTL_WR_CH4_WAIT_FOR_FIFO_DATA 0
9615 #define V_REQ_CTL_WR_CH4_WAIT_FOR_FIFO_DATA(x) ((x) << S_REQ_CTL_WR_CH4_WAIT_FOR_FIFO_DATA)
9616 #define F_REQ_CTL_WR_CH4_WAIT_FOR_FIFO_DATA V_REQ_CTL_WR_CH4_WAIT_FOR_FIFO_DATA(1U)
9618 #define A_PCIE_PDEBUG_REG_0XF 0xf
9619 #define A_PCIE_PDEBUG_REG_0X10 0x10
9621 #define S_PIPE0_TX3_DATAK_0 31
9622 #define V_PIPE0_TX3_DATAK_0(x) ((x) << S_PIPE0_TX3_DATAK_0)
9623 #define F_PIPE0_TX3_DATAK_0 V_PIPE0_TX3_DATAK_0(1U)
9625 #define S_PIPE0_TX3_DATA_6_0 24
9626 #define M_PIPE0_TX3_DATA_6_0 0x7fU
9627 #define V_PIPE0_TX3_DATA_6_0(x) ((x) << S_PIPE0_TX3_DATA_6_0)
9628 #define G_PIPE0_TX3_DATA_6_0(x) (((x) >> S_PIPE0_TX3_DATA_6_0) & M_PIPE0_TX3_DATA_6_0)
9630 #define S_PIPE0_TX2_DATA_7_0 16
9631 #define M_PIPE0_TX2_DATA_7_0 0xffU
9632 #define V_PIPE0_TX2_DATA_7_0(x) ((x) << S_PIPE0_TX2_DATA_7_0)
9633 #define G_PIPE0_TX2_DATA_7_0(x) (((x) >> S_PIPE0_TX2_DATA_7_0) & M_PIPE0_TX2_DATA_7_0)
9635 #define S_PIPE0_TX1_DATA_7_0 8
9636 #define M_PIPE0_TX1_DATA_7_0 0xffU
9637 #define V_PIPE0_TX1_DATA_7_0(x) ((x) << S_PIPE0_TX1_DATA_7_0)
9638 #define G_PIPE0_TX1_DATA_7_0(x) (((x) >> S_PIPE0_TX1_DATA_7_0) & M_PIPE0_TX1_DATA_7_0)
9640 #define S_PIPE0_TX0_DATAK_0 7
9641 #define V_PIPE0_TX0_DATAK_0(x) ((x) << S_PIPE0_TX0_DATAK_0)
9642 #define F_PIPE0_TX0_DATAK_0 V_PIPE0_TX0_DATAK_0(1U)
9644 #define S_PIPE0_TX0_DATA_6_0 0
9645 #define M_PIPE0_TX0_DATA_6_0 0x7fU
9646 #define V_PIPE0_TX0_DATA_6_0(x) ((x) << S_PIPE0_TX0_DATA_6_0)
9647 #define G_PIPE0_TX0_DATA_6_0(x) (((x) >> S_PIPE0_TX0_DATA_6_0) & M_PIPE0_TX0_DATA_6_0)
9649 #define A_PCIE_PDEBUG_REG_0X11 0x11
9651 #define S_PIPE0_TX3_DATAK_1 31
9652 #define V_PIPE0_TX3_DATAK_1(x) ((x) << S_PIPE0_TX3_DATAK_1)
9653 #define F_PIPE0_TX3_DATAK_1 V_PIPE0_TX3_DATAK_1(1U)
9655 #define S_PIPE0_TX3_DATA_14_8 24
9656 #define M_PIPE0_TX3_DATA_14_8 0x7fU
9657 #define V_PIPE0_TX3_DATA_14_8(x) ((x) << S_PIPE0_TX3_DATA_14_8)
9658 #define G_PIPE0_TX3_DATA_14_8(x) (((x) >> S_PIPE0_TX3_DATA_14_8) & M_PIPE0_TX3_DATA_14_8)
9660 #define S_PIPE0_TX2_DATA_15_8 16
9661 #define M_PIPE0_TX2_DATA_15_8 0xffU
9662 #define V_PIPE0_TX2_DATA_15_8(x) ((x) << S_PIPE0_TX2_DATA_15_8)
9663 #define G_PIPE0_TX2_DATA_15_8(x) (((x) >> S_PIPE0_TX2_DATA_15_8) & M_PIPE0_TX2_DATA_15_8)
9665 #define S_PIPE0_TX1_DATA_15_8 8
9666 #define M_PIPE0_TX1_DATA_15_8 0xffU
9667 #define V_PIPE0_TX1_DATA_15_8(x) ((x) << S_PIPE0_TX1_DATA_15_8)
9668 #define G_PIPE0_TX1_DATA_15_8(x) (((x) >> S_PIPE0_TX1_DATA_15_8) & M_PIPE0_TX1_DATA_15_8)
9670 #define S_PIPE0_TX0_DATAK_1 7
9671 #define V_PIPE0_TX0_DATAK_1(x) ((x) << S_PIPE0_TX0_DATAK_1)
9672 #define F_PIPE0_TX0_DATAK_1 V_PIPE0_TX0_DATAK_1(1U)
9674 #define S_PIPE0_TX0_DATA_14_8 0
9675 #define M_PIPE0_TX0_DATA_14_8 0x7fU
9676 #define V_PIPE0_TX0_DATA_14_8(x) ((x) << S_PIPE0_TX0_DATA_14_8)
9677 #define G_PIPE0_TX0_DATA_14_8(x) (((x) >> S_PIPE0_TX0_DATA_14_8) & M_PIPE0_TX0_DATA_14_8)
9679 #define A_PCIE_PDEBUG_REG_0X12 0x12
9681 #define S_PIPE0_TX7_DATAK_0 31
9682 #define V_PIPE0_TX7_DATAK_0(x) ((x) << S_PIPE0_TX7_DATAK_0)
9683 #define F_PIPE0_TX7_DATAK_0 V_PIPE0_TX7_DATAK_0(1U)
9685 #define S_PIPE0_TX7_DATA_6_0 24
9686 #define M_PIPE0_TX7_DATA_6_0 0x7fU
9687 #define V_PIPE0_TX7_DATA_6_0(x) ((x) << S_PIPE0_TX7_DATA_6_0)
9688 #define G_PIPE0_TX7_DATA_6_0(x) (((x) >> S_PIPE0_TX7_DATA_6_0) & M_PIPE0_TX7_DATA_6_0)
9690 #define S_PIPE0_TX6_DATA_7_0 16
9691 #define M_PIPE0_TX6_DATA_7_0 0xffU
9692 #define V_PIPE0_TX6_DATA_7_0(x) ((x) << S_PIPE0_TX6_DATA_7_0)
9693 #define G_PIPE0_TX6_DATA_7_0(x) (((x) >> S_PIPE0_TX6_DATA_7_0) & M_PIPE0_TX6_DATA_7_0)
9695 #define S_PIPE0_TX5_DATA_7_0 8
9696 #define M_PIPE0_TX5_DATA_7_0 0xffU
9697 #define V_PIPE0_TX5_DATA_7_0(x) ((x) << S_PIPE0_TX5_DATA_7_0)
9698 #define G_PIPE0_TX5_DATA_7_0(x) (((x) >> S_PIPE0_TX5_DATA_7_0) & M_PIPE0_TX5_DATA_7_0)
9700 #define S_PIPE0_TX4_DATAK_0 7
9701 #define V_PIPE0_TX4_DATAK_0(x) ((x) << S_PIPE0_TX4_DATAK_0)
9702 #define F_PIPE0_TX4_DATAK_0 V_PIPE0_TX4_DATAK_0(1U)
9704 #define S_PIPE0_TX4_DATA_6_0 0
9705 #define M_PIPE0_TX4_DATA_6_0 0x7fU
9706 #define V_PIPE0_TX4_DATA_6_0(x) ((x) << S_PIPE0_TX4_DATA_6_0)
9707 #define G_PIPE0_TX4_DATA_6_0(x) (((x) >> S_PIPE0_TX4_DATA_6_0) & M_PIPE0_TX4_DATA_6_0)
9709 #define A_PCIE_PDEBUG_REG_0X13 0x13
9711 #define S_PIPE0_TX7_DATAK_1 31
9712 #define V_PIPE0_TX7_DATAK_1(x) ((x) << S_PIPE0_TX7_DATAK_1)
9713 #define F_PIPE0_TX7_DATAK_1 V_PIPE0_TX7_DATAK_1(1U)
9715 #define S_PIPE0_TX7_DATA_14_8 24
9716 #define M_PIPE0_TX7_DATA_14_8 0x7fU
9717 #define V_PIPE0_TX7_DATA_14_8(x) ((x) << S_PIPE0_TX7_DATA_14_8)
9718 #define G_PIPE0_TX7_DATA_14_8(x) (((x) >> S_PIPE0_TX7_DATA_14_8) & M_PIPE0_TX7_DATA_14_8)
9720 #define S_PIPE0_TX6_DATA_15_8 16
9721 #define M_PIPE0_TX6_DATA_15_8 0xffU
9722 #define V_PIPE0_TX6_DATA_15_8(x) ((x) << S_PIPE0_TX6_DATA_15_8)
9723 #define G_PIPE0_TX6_DATA_15_8(x) (((x) >> S_PIPE0_TX6_DATA_15_8) & M_PIPE0_TX6_DATA_15_8)
9725 #define S_PIPE0_TX5_DATA_15_8 8
9726 #define M_PIPE0_TX5_DATA_15_8 0xffU
9727 #define V_PIPE0_TX5_DATA_15_8(x) ((x) << S_PIPE0_TX5_DATA_15_8)
9728 #define G_PIPE0_TX5_DATA_15_8(x) (((x) >> S_PIPE0_TX5_DATA_15_8) & M_PIPE0_TX5_DATA_15_8)
9730 #define S_PIPE0_TX4_DATAK_1 7
9731 #define V_PIPE0_TX4_DATAK_1(x) ((x) << S_PIPE0_TX4_DATAK_1)
9732 #define F_PIPE0_TX4_DATAK_1 V_PIPE0_TX4_DATAK_1(1U)
9734 #define S_PIPE0_TX4_DATA_14_8 0
9735 #define M_PIPE0_TX4_DATA_14_8 0x7fU
9736 #define V_PIPE0_TX4_DATA_14_8(x) ((x) << S_PIPE0_TX4_DATA_14_8)
9737 #define G_PIPE0_TX4_DATA_14_8(x) (((x) >> S_PIPE0_TX4_DATA_14_8) & M_PIPE0_TX4_DATA_14_8)
9739 #define A_PCIE_PDEBUG_REG_0X14 0x14
9741 #define S_PIPE0_RX3_VALID_14 31
9742 #define V_PIPE0_RX3_VALID_14(x) ((x) << S_PIPE0_RX3_VALID_14)
9743 #define F_PIPE0_RX3_VALID_14 V_PIPE0_RX3_VALID_14(1U)
9745 #define S_PIPE0_RX3_VALID2_14 24
9746 #define M_PIPE0_RX3_VALID2_14 0x7fU
9747 #define V_PIPE0_RX3_VALID2_14(x) ((x) << S_PIPE0_RX3_VALID2_14)
9748 #define G_PIPE0_RX3_VALID2_14(x) (((x) >> S_PIPE0_RX3_VALID2_14) & M_PIPE0_RX3_VALID2_14)
9750 #define S_PIPE0_RX2_VALID_14 16
9751 #define M_PIPE0_RX2_VALID_14 0xffU
9752 #define V_PIPE0_RX2_VALID_14(x) ((x) << S_PIPE0_RX2_VALID_14)
9753 #define G_PIPE0_RX2_VALID_14(x) (((x) >> S_PIPE0_RX2_VALID_14) & M_PIPE0_RX2_VALID_14)
9755 #define S_PIPE0_RX1_VALID_14 8
9756 #define M_PIPE0_RX1_VALID_14 0xffU
9757 #define V_PIPE0_RX1_VALID_14(x) ((x) << S_PIPE0_RX1_VALID_14)
9758 #define G_PIPE0_RX1_VALID_14(x) (((x) >> S_PIPE0_RX1_VALID_14) & M_PIPE0_RX1_VALID_14)
9760 #define S_PIPE0_RX0_VALID_14 7
9761 #define V_PIPE0_RX0_VALID_14(x) ((x) << S_PIPE0_RX0_VALID_14)
9762 #define F_PIPE0_RX0_VALID_14 V_PIPE0_RX0_VALID_14(1U)
9764 #define S_PIPE0_RX0_VALID2_14 0
9765 #define M_PIPE0_RX0_VALID2_14 0x7fU
9766 #define V_PIPE0_RX0_VALID2_14(x) ((x) << S_PIPE0_RX0_VALID2_14)
9767 #define G_PIPE0_RX0_VALID2_14(x) (((x) >> S_PIPE0_RX0_VALID2_14) & M_PIPE0_RX0_VALID2_14)
9769 #define A_PCIE_PDEBUG_REG_0X15 0x15
9771 #define S_PIPE0_RX3_VALID_15 31
9772 #define V_PIPE0_RX3_VALID_15(x) ((x) << S_PIPE0_RX3_VALID_15)
9773 #define F_PIPE0_RX3_VALID_15 V_PIPE0_RX3_VALID_15(1U)
9775 #define S_PIPE0_RX3_VALID2_15 24
9776 #define M_PIPE0_RX3_VALID2_15 0x7fU
9777 #define V_PIPE0_RX3_VALID2_15(x) ((x) << S_PIPE0_RX3_VALID2_15)
9778 #define G_PIPE0_RX3_VALID2_15(x) (((x) >> S_PIPE0_RX3_VALID2_15) & M_PIPE0_RX3_VALID2_15)
9780 #define S_PIPE0_RX2_VALID_15 16
9781 #define M_PIPE0_RX2_VALID_15 0xffU
9782 #define V_PIPE0_RX2_VALID_15(x) ((x) << S_PIPE0_RX2_VALID_15)
9783 #define G_PIPE0_RX2_VALID_15(x) (((x) >> S_PIPE0_RX2_VALID_15) & M_PIPE0_RX2_VALID_15)
9785 #define S_PIPE0_RX1_VALID_15 8
9786 #define M_PIPE0_RX1_VALID_15 0xffU
9787 #define V_PIPE0_RX1_VALID_15(x) ((x) << S_PIPE0_RX1_VALID_15)
9788 #define G_PIPE0_RX1_VALID_15(x) (((x) >> S_PIPE0_RX1_VALID_15) & M_PIPE0_RX1_VALID_15)
9790 #define S_PIPE0_RX0_VALID_15 7
9791 #define V_PIPE0_RX0_VALID_15(x) ((x) << S_PIPE0_RX0_VALID_15)
9792 #define F_PIPE0_RX0_VALID_15 V_PIPE0_RX0_VALID_15(1U)
9794 #define S_PIPE0_RX0_VALID2_15 0
9795 #define M_PIPE0_RX0_VALID2_15 0x7fU
9796 #define V_PIPE0_RX0_VALID2_15(x) ((x) << S_PIPE0_RX0_VALID2_15)
9797 #define G_PIPE0_RX0_VALID2_15(x) (((x) >> S_PIPE0_RX0_VALID2_15) & M_PIPE0_RX0_VALID2_15)
9799 #define A_PCIE_PDEBUG_REG_0X16 0x16
9801 #define S_PIPE0_RX7_VALID_16 31
9802 #define V_PIPE0_RX7_VALID_16(x) ((x) << S_PIPE0_RX7_VALID_16)
9803 #define F_PIPE0_RX7_VALID_16 V_PIPE0_RX7_VALID_16(1U)
9805 #define S_PIPE0_RX7_VALID2_16 24
9806 #define M_PIPE0_RX7_VALID2_16 0x7fU
9807 #define V_PIPE0_RX7_VALID2_16(x) ((x) << S_PIPE0_RX7_VALID2_16)
9808 #define G_PIPE0_RX7_VALID2_16(x) (((x) >> S_PIPE0_RX7_VALID2_16) & M_PIPE0_RX7_VALID2_16)
9810 #define S_PIPE0_RX6_VALID_16 16
9811 #define M_PIPE0_RX6_VALID_16 0xffU
9812 #define V_PIPE0_RX6_VALID_16(x) ((x) << S_PIPE0_RX6_VALID_16)
9813 #define G_PIPE0_RX6_VALID_16(x) (((x) >> S_PIPE0_RX6_VALID_16) & M_PIPE0_RX6_VALID_16)
9815 #define S_PIPE0_RX5_VALID_16 8
9816 #define M_PIPE0_RX5_VALID_16 0xffU
9817 #define V_PIPE0_RX5_VALID_16(x) ((x) << S_PIPE0_RX5_VALID_16)
9818 #define G_PIPE0_RX5_VALID_16(x) (((x) >> S_PIPE0_RX5_VALID_16) & M_PIPE0_RX5_VALID_16)
9820 #define S_PIPE0_RX4_VALID_16 7
9821 #define V_PIPE0_RX4_VALID_16(x) ((x) << S_PIPE0_RX4_VALID_16)
9822 #define F_PIPE0_RX4_VALID_16 V_PIPE0_RX4_VALID_16(1U)
9824 #define S_PIPE0_RX4_VALID2_16 0
9825 #define M_PIPE0_RX4_VALID2_16 0x7fU
9826 #define V_PIPE0_RX4_VALID2_16(x) ((x) << S_PIPE0_RX4_VALID2_16)
9827 #define G_PIPE0_RX4_VALID2_16(x) (((x) >> S_PIPE0_RX4_VALID2_16) & M_PIPE0_RX4_VALID2_16)
9829 #define A_PCIE_PDEBUG_REG_0X17 0x17
9831 #define S_PIPE0_RX7_VALID_17 31
9832 #define V_PIPE0_RX7_VALID_17(x) ((x) << S_PIPE0_RX7_VALID_17)
9833 #define F_PIPE0_RX7_VALID_17 V_PIPE0_RX7_VALID_17(1U)
9835 #define S_PIPE0_RX7_VALID2_17 24
9836 #define M_PIPE0_RX7_VALID2_17 0x7fU
9837 #define V_PIPE0_RX7_VALID2_17(x) ((x) << S_PIPE0_RX7_VALID2_17)
9838 #define G_PIPE0_RX7_VALID2_17(x) (((x) >> S_PIPE0_RX7_VALID2_17) & M_PIPE0_RX7_VALID2_17)
9840 #define S_PIPE0_RX6_VALID_17 16
9841 #define M_PIPE0_RX6_VALID_17 0xffU
9842 #define V_PIPE0_RX6_VALID_17(x) ((x) << S_PIPE0_RX6_VALID_17)
9843 #define G_PIPE0_RX6_VALID_17(x) (((x) >> S_PIPE0_RX6_VALID_17) & M_PIPE0_RX6_VALID_17)
9845 #define S_PIPE0_RX5_VALID_17 8
9846 #define M_PIPE0_RX5_VALID_17 0xffU
9847 #define V_PIPE0_RX5_VALID_17(x) ((x) << S_PIPE0_RX5_VALID_17)
9848 #define G_PIPE0_RX5_VALID_17(x) (((x) >> S_PIPE0_RX5_VALID_17) & M_PIPE0_RX5_VALID_17)
9850 #define S_PIPE0_RX4_VALID_17 7
9851 #define V_PIPE0_RX4_VALID_17(x) ((x) << S_PIPE0_RX4_VALID_17)
9852 #define F_PIPE0_RX4_VALID_17 V_PIPE0_RX4_VALID_17(1U)
9854 #define S_PIPE0_RX4_VALID2_17 0
9855 #define M_PIPE0_RX4_VALID2_17 0x7fU
9856 #define V_PIPE0_RX4_VALID2_17(x) ((x) << S_PIPE0_RX4_VALID2_17)
9857 #define G_PIPE0_RX4_VALID2_17(x) (((x) >> S_PIPE0_RX4_VALID2_17) & M_PIPE0_RX4_VALID2_17)
9859 #define A_PCIE_PDEBUG_REG_0X18 0x18
9861 #define S_PIPE0_RX7_POLARITY 31
9862 #define V_PIPE0_RX7_POLARITY(x) ((x) << S_PIPE0_RX7_POLARITY)
9863 #define F_PIPE0_RX7_POLARITY V_PIPE0_RX7_POLARITY(1U)
9865 #define S_PIPE0_RX7_STATUS 28
9866 #define M_PIPE0_RX7_STATUS 0x7U
9867 #define V_PIPE0_RX7_STATUS(x) ((x) << S_PIPE0_RX7_STATUS)
9868 #define G_PIPE0_RX7_STATUS(x) (((x) >> S_PIPE0_RX7_STATUS) & M_PIPE0_RX7_STATUS)
9870 #define S_PIPE0_RX6_POLARITY 27
9871 #define V_PIPE0_RX6_POLARITY(x) ((x) << S_PIPE0_RX6_POLARITY)
9872 #define F_PIPE0_RX6_POLARITY V_PIPE0_RX6_POLARITY(1U)
9874 #define S_PIPE0_RX6_STATUS 24
9875 #define M_PIPE0_RX6_STATUS 0x7U
9876 #define V_PIPE0_RX6_STATUS(x) ((x) << S_PIPE0_RX6_STATUS)
9877 #define G_PIPE0_RX6_STATUS(x) (((x) >> S_PIPE0_RX6_STATUS) & M_PIPE0_RX6_STATUS)
9879 #define S_PIPE0_RX5_POLARITY 23
9880 #define V_PIPE0_RX5_POLARITY(x) ((x) << S_PIPE0_RX5_POLARITY)
9881 #define F_PIPE0_RX5_POLARITY V_PIPE0_RX5_POLARITY(1U)
9883 #define S_PIPE0_RX5_STATUS 20
9884 #define M_PIPE0_RX5_STATUS 0x7U
9885 #define V_PIPE0_RX5_STATUS(x) ((x) << S_PIPE0_RX5_STATUS)
9886 #define G_PIPE0_RX5_STATUS(x) (((x) >> S_PIPE0_RX5_STATUS) & M_PIPE0_RX5_STATUS)
9888 #define S_PIPE0_RX4_POLARITY 19
9889 #define V_PIPE0_RX4_POLARITY(x) ((x) << S_PIPE0_RX4_POLARITY)
9890 #define F_PIPE0_RX4_POLARITY V_PIPE0_RX4_POLARITY(1U)
9892 #define S_PIPE0_RX4_STATUS 16
9893 #define M_PIPE0_RX4_STATUS 0x7U
9894 #define V_PIPE0_RX4_STATUS(x) ((x) << S_PIPE0_RX4_STATUS)
9895 #define G_PIPE0_RX4_STATUS(x) (((x) >> S_PIPE0_RX4_STATUS) & M_PIPE0_RX4_STATUS)
9897 #define S_PIPE0_RX3_POLARITY 15
9898 #define V_PIPE0_RX3_POLARITY(x) ((x) << S_PIPE0_RX3_POLARITY)
9899 #define F_PIPE0_RX3_POLARITY V_PIPE0_RX3_POLARITY(1U)
9901 #define S_PIPE0_RX3_STATUS 12
9902 #define M_PIPE0_RX3_STATUS 0x7U
9903 #define V_PIPE0_RX3_STATUS(x) ((x) << S_PIPE0_RX3_STATUS)
9904 #define G_PIPE0_RX3_STATUS(x) (((x) >> S_PIPE0_RX3_STATUS) & M_PIPE0_RX3_STATUS)
9906 #define S_PIPE0_RX2_POLARITY 11
9907 #define V_PIPE0_RX2_POLARITY(x) ((x) << S_PIPE0_RX2_POLARITY)
9908 #define F_PIPE0_RX2_POLARITY V_PIPE0_RX2_POLARITY(1U)
9910 #define S_PIPE0_RX2_STATUS 8
9911 #define M_PIPE0_RX2_STATUS 0x7U
9912 #define V_PIPE0_RX2_STATUS(x) ((x) << S_PIPE0_RX2_STATUS)
9913 #define G_PIPE0_RX2_STATUS(x) (((x) >> S_PIPE0_RX2_STATUS) & M_PIPE0_RX2_STATUS)
9915 #define S_PIPE0_RX1_POLARITY 7
9916 #define V_PIPE0_RX1_POLARITY(x) ((x) << S_PIPE0_RX1_POLARITY)
9917 #define F_PIPE0_RX1_POLARITY V_PIPE0_RX1_POLARITY(1U)
9919 #define S_PIPE0_RX1_STATUS 4
9920 #define M_PIPE0_RX1_STATUS 0x7U
9921 #define V_PIPE0_RX1_STATUS(x) ((x) << S_PIPE0_RX1_STATUS)
9922 #define G_PIPE0_RX1_STATUS(x) (((x) >> S_PIPE0_RX1_STATUS) & M_PIPE0_RX1_STATUS)
9924 #define S_PIPE0_RX0_POLARITY 3
9925 #define V_PIPE0_RX0_POLARITY(x) ((x) << S_PIPE0_RX0_POLARITY)
9926 #define F_PIPE0_RX0_POLARITY V_PIPE0_RX0_POLARITY(1U)
9928 #define S_PIPE0_RX0_STATUS 0
9929 #define M_PIPE0_RX0_STATUS 0x7U
9930 #define V_PIPE0_RX0_STATUS(x) ((x) << S_PIPE0_RX0_STATUS)
9931 #define G_PIPE0_RX0_STATUS(x) (((x) >> S_PIPE0_RX0_STATUS) & M_PIPE0_RX0_STATUS)
9933 #define A_PCIE_PDEBUG_REG_0X19 0x19
9935 #define S_PIPE0_TX7_COMPLIANCE 31
9936 #define V_PIPE0_TX7_COMPLIANCE(x) ((x) << S_PIPE0_TX7_COMPLIANCE)
9937 #define F_PIPE0_TX7_COMPLIANCE V_PIPE0_TX7_COMPLIANCE(1U)
9939 #define S_PIPE0_TX6_COMPLIANCE 30
9940 #define V_PIPE0_TX6_COMPLIANCE(x) ((x) << S_PIPE0_TX6_COMPLIANCE)
9941 #define F_PIPE0_TX6_COMPLIANCE V_PIPE0_TX6_COMPLIANCE(1U)
9943 #define S_PIPE0_TX5_COMPLIANCE 29
9944 #define V_PIPE0_TX5_COMPLIANCE(x) ((x) << S_PIPE0_TX5_COMPLIANCE)
9945 #define F_PIPE0_TX5_COMPLIANCE V_PIPE0_TX5_COMPLIANCE(1U)
9947 #define S_PIPE0_TX4_COMPLIANCE 28
9948 #define V_PIPE0_TX4_COMPLIANCE(x) ((x) << S_PIPE0_TX4_COMPLIANCE)
9949 #define F_PIPE0_TX4_COMPLIANCE V_PIPE0_TX4_COMPLIANCE(1U)
9951 #define S_PIPE0_TX3_COMPLIANCE 27
9952 #define V_PIPE0_TX3_COMPLIANCE(x) ((x) << S_PIPE0_TX3_COMPLIANCE)
9953 #define F_PIPE0_TX3_COMPLIANCE V_PIPE0_TX3_COMPLIANCE(1U)
9955 #define S_PIPE0_TX2_COMPLIANCE 26
9956 #define V_PIPE0_TX2_COMPLIANCE(x) ((x) << S_PIPE0_TX2_COMPLIANCE)
9957 #define F_PIPE0_TX2_COMPLIANCE V_PIPE0_TX2_COMPLIANCE(1U)
9959 #define S_PIPE0_TX1_COMPLIANCE 25
9960 #define V_PIPE0_TX1_COMPLIANCE(x) ((x) << S_PIPE0_TX1_COMPLIANCE)
9961 #define F_PIPE0_TX1_COMPLIANCE V_PIPE0_TX1_COMPLIANCE(1U)
9963 #define S_PIPE0_TX0_COMPLIANCE 24
9964 #define V_PIPE0_TX0_COMPLIANCE(x) ((x) << S_PIPE0_TX0_COMPLIANCE)
9965 #define F_PIPE0_TX0_COMPLIANCE V_PIPE0_TX0_COMPLIANCE(1U)
9967 #define S_PIPE0_TX7_ELECIDLE 23
9968 #define V_PIPE0_TX7_ELECIDLE(x) ((x) << S_PIPE0_TX7_ELECIDLE)
9969 #define F_PIPE0_TX7_ELECIDLE V_PIPE0_TX7_ELECIDLE(1U)
9971 #define S_PIPE0_TX6_ELECIDLE 22
9972 #define V_PIPE0_TX6_ELECIDLE(x) ((x) << S_PIPE0_TX6_ELECIDLE)
9973 #define F_PIPE0_TX6_ELECIDLE V_PIPE0_TX6_ELECIDLE(1U)
9975 #define S_PIPE0_TX5_ELECIDLE 21
9976 #define V_PIPE0_TX5_ELECIDLE(x) ((x) << S_PIPE0_TX5_ELECIDLE)
9977 #define F_PIPE0_TX5_ELECIDLE V_PIPE0_TX5_ELECIDLE(1U)
9979 #define S_PIPE0_TX4_ELECIDLE 20
9980 #define V_PIPE0_TX4_ELECIDLE(x) ((x) << S_PIPE0_TX4_ELECIDLE)
9981 #define F_PIPE0_TX4_ELECIDLE V_PIPE0_TX4_ELECIDLE(1U)
9983 #define S_PIPE0_TX3_ELECIDLE 19
9984 #define V_PIPE0_TX3_ELECIDLE(x) ((x) << S_PIPE0_TX3_ELECIDLE)
9985 #define F_PIPE0_TX3_ELECIDLE V_PIPE0_TX3_ELECIDLE(1U)
9987 #define S_PIPE0_TX2_ELECIDLE 18
9988 #define V_PIPE0_TX2_ELECIDLE(x) ((x) << S_PIPE0_TX2_ELECIDLE)
9989 #define F_PIPE0_TX2_ELECIDLE V_PIPE0_TX2_ELECIDLE(1U)
9991 #define S_PIPE0_TX1_ELECIDLE 17
9992 #define V_PIPE0_TX1_ELECIDLE(x) ((x) << S_PIPE0_TX1_ELECIDLE)
9993 #define F_PIPE0_TX1_ELECIDLE V_PIPE0_TX1_ELECIDLE(1U)
9995 #define S_PIPE0_TX0_ELECIDLE 16
9996 #define V_PIPE0_TX0_ELECIDLE(x) ((x) << S_PIPE0_TX0_ELECIDLE)
9997 #define F_PIPE0_TX0_ELECIDLE V_PIPE0_TX0_ELECIDLE(1U)
9999 #define S_PIPE0_RX7_POLARITY_19 15
10000 #define V_PIPE0_RX7_POLARITY_19(x) ((x) << S_PIPE0_RX7_POLARITY_19)
10001 #define F_PIPE0_RX7_POLARITY_19 V_PIPE0_RX7_POLARITY_19(1U)
10003 #define S_PIPE0_RX6_POLARITY_19 14
10004 #define V_PIPE0_RX6_POLARITY_19(x) ((x) << S_PIPE0_RX6_POLARITY_19)
10005 #define F_PIPE0_RX6_POLARITY_19 V_PIPE0_RX6_POLARITY_19(1U)
10007 #define S_PIPE0_RX5_POLARITY_19 13
10008 #define V_PIPE0_RX5_POLARITY_19(x) ((x) << S_PIPE0_RX5_POLARITY_19)
10009 #define F_PIPE0_RX5_POLARITY_19 V_PIPE0_RX5_POLARITY_19(1U)
10011 #define S_PIPE0_RX4_POLARITY_19 12
10012 #define V_PIPE0_RX4_POLARITY_19(x) ((x) << S_PIPE0_RX4_POLARITY_19)
10013 #define F_PIPE0_RX4_POLARITY_19 V_PIPE0_RX4_POLARITY_19(1U)
10015 #define S_PIPE0_RX3_POLARITY_19 11
10016 #define V_PIPE0_RX3_POLARITY_19(x) ((x) << S_PIPE0_RX3_POLARITY_19)
10017 #define F_PIPE0_RX3_POLARITY_19 V_PIPE0_RX3_POLARITY_19(1U)
10019 #define S_PIPE0_RX2_POLARITY_19 10
10020 #define V_PIPE0_RX2_POLARITY_19(x) ((x) << S_PIPE0_RX2_POLARITY_19)
10021 #define F_PIPE0_RX2_POLARITY_19 V_PIPE0_RX2_POLARITY_19(1U)
10023 #define S_PIPE0_RX1_POLARITY_19 9
10024 #define V_PIPE0_RX1_POLARITY_19(x) ((x) << S_PIPE0_RX1_POLARITY_19)
10025 #define F_PIPE0_RX1_POLARITY_19 V_PIPE0_RX1_POLARITY_19(1U)
10027 #define S_PIPE0_RX0_POLARITY_19 8
10028 #define V_PIPE0_RX0_POLARITY_19(x) ((x) << S_PIPE0_RX0_POLARITY_19)
10029 #define F_PIPE0_RX0_POLARITY_19 V_PIPE0_RX0_POLARITY_19(1U)
10031 #define S_PIPE0_RX7_ELECIDLE 7
10032 #define V_PIPE0_RX7_ELECIDLE(x) ((x) << S_PIPE0_RX7_ELECIDLE)
10033 #define F_PIPE0_RX7_ELECIDLE V_PIPE0_RX7_ELECIDLE(1U)
10035 #define S_PIPE0_RX6_ELECIDLE 6
10036 #define V_PIPE0_RX6_ELECIDLE(x) ((x) << S_PIPE0_RX6_ELECIDLE)
10037 #define F_PIPE0_RX6_ELECIDLE V_PIPE0_RX6_ELECIDLE(1U)
10039 #define S_PIPE0_RX5_ELECIDLE 5
10040 #define V_PIPE0_RX5_ELECIDLE(x) ((x) << S_PIPE0_RX5_ELECIDLE)
10041 #define F_PIPE0_RX5_ELECIDLE V_PIPE0_RX5_ELECIDLE(1U)
10043 #define S_PIPE0_RX4_ELECIDLE 4
10044 #define V_PIPE0_RX4_ELECIDLE(x) ((x) << S_PIPE0_RX4_ELECIDLE)
10045 #define F_PIPE0_RX4_ELECIDLE V_PIPE0_RX4_ELECIDLE(1U)
10047 #define S_PIPE0_RX3_ELECIDLE 3
10048 #define V_PIPE0_RX3_ELECIDLE(x) ((x) << S_PIPE0_RX3_ELECIDLE)
10049 #define F_PIPE0_RX3_ELECIDLE V_PIPE0_RX3_ELECIDLE(1U)
10051 #define S_PIPE0_RX2_ELECIDLE 2
10052 #define V_PIPE0_RX2_ELECIDLE(x) ((x) << S_PIPE0_RX2_ELECIDLE)
10053 #define F_PIPE0_RX2_ELECIDLE V_PIPE0_RX2_ELECIDLE(1U)
10055 #define S_PIPE0_RX1_ELECIDLE 1
10056 #define V_PIPE0_RX1_ELECIDLE(x) ((x) << S_PIPE0_RX1_ELECIDLE)
10057 #define F_PIPE0_RX1_ELECIDLE V_PIPE0_RX1_ELECIDLE(1U)
10059 #define S_PIPE0_RX0_ELECIDLE 0
10060 #define V_PIPE0_RX0_ELECIDLE(x) ((x) << S_PIPE0_RX0_ELECIDLE)
10061 #define F_PIPE0_RX0_ELECIDLE V_PIPE0_RX0_ELECIDLE(1U)
10063 #define A_PCIE_PDEBUG_REG_0X1A 0x1a
10065 #define S_PIPE0_RESET_N 21
10066 #define V_PIPE0_RESET_N(x) ((x) << S_PIPE0_RESET_N)
10067 #define F_PIPE0_RESET_N V_PIPE0_RESET_N(1U)
10069 #define S_PCS_COMMON_CLOCKS 20
10070 #define V_PCS_COMMON_CLOCKS(x) ((x) << S_PCS_COMMON_CLOCKS)
10071 #define F_PCS_COMMON_CLOCKS V_PCS_COMMON_CLOCKS(1U)
10073 #define S_PCS_CLK_REQ 19
10074 #define V_PCS_CLK_REQ(x) ((x) << S_PCS_CLK_REQ)
10075 #define F_PCS_CLK_REQ V_PCS_CLK_REQ(1U)
10077 #define S_PIPE_CLKREQ_N 18
10078 #define V_PIPE_CLKREQ_N(x) ((x) << S_PIPE_CLKREQ_N)
10079 #define F_PIPE_CLKREQ_N V_PIPE_CLKREQ_N(1U)
10081 #define S_MAC_CLKREQ_N_TO_MUX 17
10082 #define V_MAC_CLKREQ_N_TO_MUX(x) ((x) << S_MAC_CLKREQ_N_TO_MUX)
10083 #define F_MAC_CLKREQ_N_TO_MUX V_MAC_CLKREQ_N_TO_MUX(1U)
10085 #define S_PIPE0_TX2RX_LOOPBK 16
10086 #define V_PIPE0_TX2RX_LOOPBK(x) ((x) << S_PIPE0_TX2RX_LOOPBK)
10087 #define F_PIPE0_TX2RX_LOOPBK V_PIPE0_TX2RX_LOOPBK(1U)
10089 #define S_PIPE0_TX_SWING 15
10090 #define V_PIPE0_TX_SWING(x) ((x) << S_PIPE0_TX_SWING)
10091 #define F_PIPE0_TX_SWING V_PIPE0_TX_SWING(1U)
10093 #define S_PIPE0_TX_MARGIN 12
10094 #define M_PIPE0_TX_MARGIN 0x7U
10095 #define V_PIPE0_TX_MARGIN(x) ((x) << S_PIPE0_TX_MARGIN)
10096 #define G_PIPE0_TX_MARGIN(x) (((x) >> S_PIPE0_TX_MARGIN) & M_PIPE0_TX_MARGIN)
10098 #define S_PIPE0_TX_DEEMPH 11
10099 #define V_PIPE0_TX_DEEMPH(x) ((x) << S_PIPE0_TX_DEEMPH)
10100 #define F_PIPE0_TX_DEEMPH V_PIPE0_TX_DEEMPH(1U)
10102 #define S_PIPE0_TX_DETECTRX 10
10103 #define V_PIPE0_TX_DETECTRX(x) ((x) << S_PIPE0_TX_DETECTRX)
10104 #define F_PIPE0_TX_DETECTRX V_PIPE0_TX_DETECTRX(1U)
10106 #define S_PIPE0_POWERDOWN 8
10107 #define M_PIPE0_POWERDOWN 0x3U
10108 #define V_PIPE0_POWERDOWN(x) ((x) << S_PIPE0_POWERDOWN)
10109 #define G_PIPE0_POWERDOWN(x) (((x) >> S_PIPE0_POWERDOWN) & M_PIPE0_POWERDOWN)
10111 #define S_PHY_MAC_PHYSTATUS 0
10112 #define M_PHY_MAC_PHYSTATUS 0xffU
10113 #define V_PHY_MAC_PHYSTATUS(x) ((x) << S_PHY_MAC_PHYSTATUS)
10114 #define G_PHY_MAC_PHYSTATUS(x) (((x) >> S_PHY_MAC_PHYSTATUS) & M_PHY_MAC_PHYSTATUS)
10116 #define A_PCIE_PDEBUG_REG_0X1B 0x1b
10118 #define S_PIPE0_RX7_EQ_IN_PROG 31
10119 #define V_PIPE0_RX7_EQ_IN_PROG(x) ((x) << S_PIPE0_RX7_EQ_IN_PROG)
10120 #define F_PIPE0_RX7_EQ_IN_PROG V_PIPE0_RX7_EQ_IN_PROG(1U)
10122 #define S_PIPE0_RX7_EQ_INVLD_REQ 30
10123 #define V_PIPE0_RX7_EQ_INVLD_REQ(x) ((x) << S_PIPE0_RX7_EQ_INVLD_REQ)
10124 #define F_PIPE0_RX7_EQ_INVLD_REQ V_PIPE0_RX7_EQ_INVLD_REQ(1U)
10126 #define S_PIPE0_RX7_SYNCHEADER 28
10127 #define M_PIPE0_RX7_SYNCHEADER 0x3U
10128 #define V_PIPE0_RX7_SYNCHEADER(x) ((x) << S_PIPE0_RX7_SYNCHEADER)
10129 #define G_PIPE0_RX7_SYNCHEADER(x) (((x) >> S_PIPE0_RX7_SYNCHEADER) & M_PIPE0_RX7_SYNCHEADER)
10131 #define S_PIPE0_RX6_EQ_IN_PROG 27
10132 #define V_PIPE0_RX6_EQ_IN_PROG(x) ((x) << S_PIPE0_RX6_EQ_IN_PROG)
10133 #define F_PIPE0_RX6_EQ_IN_PROG V_PIPE0_RX6_EQ_IN_PROG(1U)
10135 #define S_PIPE0_RX6_EQ_INVLD_REQ 26
10136 #define V_PIPE0_RX6_EQ_INVLD_REQ(x) ((x) << S_PIPE0_RX6_EQ_INVLD_REQ)
10137 #define F_PIPE0_RX6_EQ_INVLD_REQ V_PIPE0_RX6_EQ_INVLD_REQ(1U)
10139 #define S_PIPE0_RX6_SYNCHEADER 24
10140 #define M_PIPE0_RX6_SYNCHEADER 0x3U
10141 #define V_PIPE0_RX6_SYNCHEADER(x) ((x) << S_PIPE0_RX6_SYNCHEADER)
10142 #define G_PIPE0_RX6_SYNCHEADER(x) (((x) >> S_PIPE0_RX6_SYNCHEADER) & M_PIPE0_RX6_SYNCHEADER)
10144 #define S_PIPE0_RX5_EQ_IN_PROG 23
10145 #define V_PIPE0_RX5_EQ_IN_PROG(x) ((x) << S_PIPE0_RX5_EQ_IN_PROG)
10146 #define F_PIPE0_RX5_EQ_IN_PROG V_PIPE0_RX5_EQ_IN_PROG(1U)
10148 #define S_PIPE0_RX5_EQ_INVLD_REQ 22
10149 #define V_PIPE0_RX5_EQ_INVLD_REQ(x) ((x) << S_PIPE0_RX5_EQ_INVLD_REQ)
10150 #define F_PIPE0_RX5_EQ_INVLD_REQ V_PIPE0_RX5_EQ_INVLD_REQ(1U)
10152 #define S_PIPE0_RX5_SYNCHEADER 20
10153 #define M_PIPE0_RX5_SYNCHEADER 0x3U
10154 #define V_PIPE0_RX5_SYNCHEADER(x) ((x) << S_PIPE0_RX5_SYNCHEADER)
10155 #define G_PIPE0_RX5_SYNCHEADER(x) (((x) >> S_PIPE0_RX5_SYNCHEADER) & M_PIPE0_RX5_SYNCHEADER)
10157 #define S_PIPE0_RX4_EQ_IN_PROG 19
10158 #define V_PIPE0_RX4_EQ_IN_PROG(x) ((x) << S_PIPE0_RX4_EQ_IN_PROG)
10159 #define F_PIPE0_RX4_EQ_IN_PROG V_PIPE0_RX4_EQ_IN_PROG(1U)
10161 #define S_PIPE0_RX4_EQ_INVLD_REQ 18
10162 #define V_PIPE0_RX4_EQ_INVLD_REQ(x) ((x) << S_PIPE0_RX4_EQ_INVLD_REQ)
10163 #define F_PIPE0_RX4_EQ_INVLD_REQ V_PIPE0_RX4_EQ_INVLD_REQ(1U)
10165 #define S_PIPE0_RX4_SYNCHEADER 16
10166 #define M_PIPE0_RX4_SYNCHEADER 0x3U
10167 #define V_PIPE0_RX4_SYNCHEADER(x) ((x) << S_PIPE0_RX4_SYNCHEADER)
10168 #define G_PIPE0_RX4_SYNCHEADER(x) (((x) >> S_PIPE0_RX4_SYNCHEADER) & M_PIPE0_RX4_SYNCHEADER)
10170 #define S_PIPE0_RX3_EQ_IN_PROG 15
10171 #define V_PIPE0_RX3_EQ_IN_PROG(x) ((x) << S_PIPE0_RX3_EQ_IN_PROG)
10172 #define F_PIPE0_RX3_EQ_IN_PROG V_PIPE0_RX3_EQ_IN_PROG(1U)
10174 #define S_PIPE0_RX3_EQ_INVLD_REQ 14
10175 #define V_PIPE0_RX3_EQ_INVLD_REQ(x) ((x) << S_PIPE0_RX3_EQ_INVLD_REQ)
10176 #define F_PIPE0_RX3_EQ_INVLD_REQ V_PIPE0_RX3_EQ_INVLD_REQ(1U)
10178 #define S_PIPE0_RX3_SYNCHEADER 12
10179 #define M_PIPE0_RX3_SYNCHEADER 0x3U
10180 #define V_PIPE0_RX3_SYNCHEADER(x) ((x) << S_PIPE0_RX3_SYNCHEADER)
10181 #define G_PIPE0_RX3_SYNCHEADER(x) (((x) >> S_PIPE0_RX3_SYNCHEADER) & M_PIPE0_RX3_SYNCHEADER)
10183 #define S_PIPE0_RX2_EQ_IN_PROG 11
10184 #define V_PIPE0_RX2_EQ_IN_PROG(x) ((x) << S_PIPE0_RX2_EQ_IN_PROG)
10185 #define F_PIPE0_RX2_EQ_IN_PROG V_PIPE0_RX2_EQ_IN_PROG(1U)
10187 #define S_PIPE0_RX2_EQ_INVLD_REQ 10
10188 #define V_PIPE0_RX2_EQ_INVLD_REQ(x) ((x) << S_PIPE0_RX2_EQ_INVLD_REQ)
10189 #define F_PIPE0_RX2_EQ_INVLD_REQ V_PIPE0_RX2_EQ_INVLD_REQ(1U)
10191 #define S_PIPE0_RX2_SYNCHEADER 8
10192 #define M_PIPE0_RX2_SYNCHEADER 0x3U
10193 #define V_PIPE0_RX2_SYNCHEADER(x) ((x) << S_PIPE0_RX2_SYNCHEADER)
10194 #define G_PIPE0_RX2_SYNCHEADER(x) (((x) >> S_PIPE0_RX2_SYNCHEADER) & M_PIPE0_RX2_SYNCHEADER)
10196 #define S_PIPE0_RX1_EQ_IN_PROG 7
10197 #define V_PIPE0_RX1_EQ_IN_PROG(x) ((x) << S_PIPE0_RX1_EQ_IN_PROG)
10198 #define F_PIPE0_RX1_EQ_IN_PROG V_PIPE0_RX1_EQ_IN_PROG(1U)
10200 #define S_PIPE0_RX1_EQ_INVLD_REQ 6
10201 #define V_PIPE0_RX1_EQ_INVLD_REQ(x) ((x) << S_PIPE0_RX1_EQ_INVLD_REQ)
10202 #define F_PIPE0_RX1_EQ_INVLD_REQ V_PIPE0_RX1_EQ_INVLD_REQ(1U)
10204 #define S_PIPE0_RX1_SYNCHEADER 4
10205 #define M_PIPE0_RX1_SYNCHEADER 0x3U
10206 #define V_PIPE0_RX1_SYNCHEADER(x) ((x) << S_PIPE0_RX1_SYNCHEADER)
10207 #define G_PIPE0_RX1_SYNCHEADER(x) (((x) >> S_PIPE0_RX1_SYNCHEADER) & M_PIPE0_RX1_SYNCHEADER)
10209 #define S_PIPE0_RX0_EQ_IN_PROG 3
10210 #define V_PIPE0_RX0_EQ_IN_PROG(x) ((x) << S_PIPE0_RX0_EQ_IN_PROG)
10211 #define F_PIPE0_RX0_EQ_IN_PROG V_PIPE0_RX0_EQ_IN_PROG(1U)
10213 #define S_PIPE0_RX0_EQ_INVLD_REQ 2
10214 #define V_PIPE0_RX0_EQ_INVLD_REQ(x) ((x) << S_PIPE0_RX0_EQ_INVLD_REQ)
10215 #define F_PIPE0_RX0_EQ_INVLD_REQ V_PIPE0_RX0_EQ_INVLD_REQ(1U)
10217 #define S_PIPE0_RX0_SYNCHEADER 0
10218 #define M_PIPE0_RX0_SYNCHEADER 0x3U
10219 #define V_PIPE0_RX0_SYNCHEADER(x) ((x) << S_PIPE0_RX0_SYNCHEADER)
10220 #define G_PIPE0_RX0_SYNCHEADER(x) (((x) >> S_PIPE0_RX0_SYNCHEADER) & M_PIPE0_RX0_SYNCHEADER)
10222 #define A_PCIE_PDEBUG_REG_0X1C 0x1c
10224 #define S_SI_REQVFID 24
10225 #define M_SI_REQVFID 0xffU
10226 #define V_SI_REQVFID(x) ((x) << S_SI_REQVFID)
10227 #define G_SI_REQVFID(x) (((x) >> S_SI_REQVFID) & M_SI_REQVFID)
10229 #define S_SI_REQVEC 13
10230 #define M_SI_REQVEC 0x7ffU
10231 #define V_SI_REQVEC(x) ((x) << S_SI_REQVEC)
10232 #define G_SI_REQVEC(x) (((x) >> S_SI_REQVEC) & M_SI_REQVEC)
10234 #define S_SI_REQTCVAL 10
10235 #define M_SI_REQTCVAL 0x7U
10236 #define V_SI_REQTCVAL(x) ((x) << S_SI_REQTCVAL)
10237 #define G_SI_REQTCVAL(x) (((x) >> S_SI_REQTCVAL) & M_SI_REQTCVAL)
10239 #define S_SI_REQRDY 9
10240 #define V_SI_REQRDY(x) ((x) << S_SI_REQRDY)
10241 #define F_SI_REQRDY V_SI_REQRDY(1U)
10243 #define S_SI_REQVLD 8
10244 #define V_SI_REQVLD(x) ((x) << S_SI_REQVLD)
10245 #define F_SI_REQVLD V_SI_REQVLD(1U)
10248 #define M_T5_AI 0xffU
10249 #define V_T5_AI(x) ((x) << S_T5_AI)
10250 #define G_T5_AI(x) (((x) >> S_T5_AI) & M_T5_AI)
10252 #define A_PCIE_PDEBUG_REG_0X1D 0x1d
10255 #define V_GNTSI(x) ((x) << S_GNTSI)
10256 #define F_GNTSI V_GNTSI(1U)
10258 #define S_DROPINTFORFLR 30
10259 #define V_DROPINTFORFLR(x) ((x) << S_DROPINTFORFLR)
10260 #define F_DROPINTFORFLR V_DROPINTFORFLR(1U)
10263 #define M_SMARB 0x7U
10264 #define V_SMARB(x) ((x) << S_SMARB)
10265 #define G_SMARB(x) (((x) >> S_SMARB) & M_SMARB)
10267 #define S_SMDEFR 24
10268 #define M_SMDEFR 0x7U
10269 #define V_SMDEFR(x) ((x) << S_SMDEFR)
10270 #define G_SMDEFR(x) (((x) >> S_SMDEFR) & M_SMDEFR)
10272 #define S_SYS_INT 16
10273 #define M_SYS_INT 0xffU
10274 #define V_SYS_INT(x) ((x) << S_SYS_INT)
10275 #define G_SYS_INT(x) (((x) >> S_SYS_INT) & M_SYS_INT)
10277 #define S_CFG_INTXCLR 8
10278 #define M_CFG_INTXCLR 0xffU
10279 #define V_CFG_INTXCLR(x) ((x) << S_CFG_INTXCLR)
10280 #define G_CFG_INTXCLR(x) (((x) >> S_CFG_INTXCLR) & M_CFG_INTXCLR)
10282 #define S_PIO_INTXCLR 0
10283 #define M_PIO_INTXCLR 0xffU
10284 #define V_PIO_INTXCLR(x) ((x) << S_PIO_INTXCLR)
10285 #define G_PIO_INTXCLR(x) (((x) >> S_PIO_INTXCLR) & M_PIO_INTXCLR)
10287 #define A_PCIE_PDEBUG_REG_0X1E 0x1e
10289 #define S_PLI_TABDATWREN 31
10290 #define V_PLI_TABDATWREN(x) ((x) << S_PLI_TABDATWREN)
10291 #define F_PLI_TABDATWREN V_PLI_TABDATWREN(1U)
10293 #define S_TAB_RDENA 30
10294 #define V_TAB_RDENA(x) ((x) << S_TAB_RDENA)
10295 #define F_TAB_RDENA V_TAB_RDENA(1U)
10297 #define S_TAB_RDENA2 19
10298 #define M_TAB_RDENA2 0x7ffU
10299 #define V_TAB_RDENA2(x) ((x) << S_TAB_RDENA2)
10300 #define G_TAB_RDENA2(x) (((x) >> S_TAB_RDENA2) & M_TAB_RDENA2)
10302 #define S_PLI_REQADDR 10
10303 #define M_PLI_REQADDR 0x1ffU
10304 #define V_PLI_REQADDR(x) ((x) << S_PLI_REQADDR)
10305 #define G_PLI_REQADDR(x) (((x) >> S_PLI_REQADDR) & M_PLI_REQADDR)
10307 #define S_PLI_REQVFID 2
10308 #define M_PLI_REQVFID 0xffU
10309 #define V_PLI_REQVFID(x) ((x) << S_PLI_REQVFID)
10310 #define G_PLI_REQVFID(x) (((x) >> S_PLI_REQVFID) & M_PLI_REQVFID)
10312 #define S_PLI_REQTABHIT 1
10313 #define V_PLI_REQTABHIT(x) ((x) << S_PLI_REQTABHIT)
10314 #define F_PLI_REQTABHIT V_PLI_REQTABHIT(1U)
10316 #define S_PLI_REQRDVLD 0
10317 #define V_PLI_REQRDVLD(x) ((x) << S_PLI_REQRDVLD)
10318 #define F_PLI_REQRDVLD V_PLI_REQRDVLD(1U)
10320 #define A_PCIE_PDEBUG_REG_0X1F 0x1f
10321 #define A_PCIE_PDEBUG_REG_0X20 0x20
10322 #define A_PCIE_PDEBUG_REG_0X21 0x21
10324 #define S_PLI_REQPBASTART 20
10325 #define M_PLI_REQPBASTART 0xfffU
10326 #define V_PLI_REQPBASTART(x) ((x) << S_PLI_REQPBASTART)
10327 #define G_PLI_REQPBASTART(x) (((x) >> S_PLI_REQPBASTART) & M_PLI_REQPBASTART)
10329 #define S_PLI_REQPBAEND 9
10330 #define M_PLI_REQPBAEND 0x7ffU
10331 #define V_PLI_REQPBAEND(x) ((x) << S_PLI_REQPBAEND)
10332 #define G_PLI_REQPBAEND(x) (((x) >> S_PLI_REQPBAEND) & M_PLI_REQPBAEND)
10334 #define S_T5_PLI_REQVFID 2
10335 #define M_T5_PLI_REQVFID 0x7fU
10336 #define V_T5_PLI_REQVFID(x) ((x) << S_T5_PLI_REQVFID)
10337 #define G_T5_PLI_REQVFID(x) (((x) >> S_T5_PLI_REQVFID) & M_T5_PLI_REQVFID)
10339 #define S_PLI_REQPBAHIT 1
10340 #define V_PLI_REQPBAHIT(x) ((x) << S_PLI_REQPBAHIT)
10341 #define F_PLI_REQPBAHIT V_PLI_REQPBAHIT(1U)
10343 #define A_PCIE_PDEBUG_REG_0X22 0x22
10345 #define S_GNTSI1 31
10346 #define V_GNTSI1(x) ((x) << S_GNTSI1)
10347 #define F_GNTSI1 V_GNTSI1(1U)
10349 #define S_GNTSI2 30
10350 #define V_GNTSI2(x) ((x) << S_GNTSI2)
10351 #define F_GNTSI2 V_GNTSI2(1U)
10353 #define S_GNTSI3 27
10354 #define M_GNTSI3 0x7U
10355 #define V_GNTSI3(x) ((x) << S_GNTSI3)
10356 #define G_GNTSI3(x) (((x) >> S_GNTSI3) & M_GNTSI3)
10358 #define S_GNTSI4 16
10359 #define M_GNTSI4 0x7ffU
10360 #define V_GNTSI4(x) ((x) << S_GNTSI4)
10361 #define G_GNTSI4(x) (((x) >> S_GNTSI4) & M_GNTSI4)
10364 #define M_GNTSI5 0xffU
10365 #define V_GNTSI5(x) ((x) << S_GNTSI5)
10366 #define G_GNTSI5(x) (((x) >> S_GNTSI5) & M_GNTSI5)
10369 #define V_GNTSI6(x) ((x) << S_GNTSI6)
10370 #define F_GNTSI6 V_GNTSI6(1U)
10373 #define V_GNTSI7(x) ((x) << S_GNTSI7)
10374 #define F_GNTSI7 V_GNTSI7(1U)
10377 #define V_GNTSI8(x) ((x) << S_GNTSI8)
10378 #define F_GNTSI8 V_GNTSI8(1U)
10381 #define V_GNTSI9(x) ((x) << S_GNTSI9)
10382 #define F_GNTSI9 V_GNTSI9(1U)
10385 #define V_GNTSIA(x) ((x) << S_GNTSIA)
10386 #define F_GNTSIA V_GNTSIA(1U)
10389 #define V_GNTAI(x) ((x) << S_GNTAI)
10390 #define F_GNTAI V_GNTAI(1U)
10393 #define V_GNTDB(x) ((x) << S_GNTDB)
10394 #define F_GNTDB V_GNTDB(1U)
10397 #define V_GNTDI(x) ((x) << S_GNTDI)
10398 #define F_GNTDI V_GNTDI(1U)
10400 #define A_PCIE_PDEBUG_REG_0X23 0x23
10402 #define S_DI_REQVLD 31
10403 #define V_DI_REQVLD(x) ((x) << S_DI_REQVLD)
10404 #define F_DI_REQVLD V_DI_REQVLD(1U)
10406 #define S_DI_REQRDY 30
10407 #define V_DI_REQRDY(x) ((x) << S_DI_REQRDY)
10408 #define F_DI_REQRDY V_DI_REQRDY(1U)
10410 #define S_DI_REQWREN 19
10411 #define M_DI_REQWREN 0x7ffU
10412 #define V_DI_REQWREN(x) ((x) << S_DI_REQWREN)
10413 #define G_DI_REQWREN(x) (((x) >> S_DI_REQWREN) & M_DI_REQWREN)
10415 #define S_DI_REQMSIEN 18
10416 #define V_DI_REQMSIEN(x) ((x) << S_DI_REQMSIEN)
10417 #define F_DI_REQMSIEN V_DI_REQMSIEN(1U)
10419 #define S_DI_REQMSXEN 17
10420 #define V_DI_REQMSXEN(x) ((x) << S_DI_REQMSXEN)
10421 #define F_DI_REQMSXEN V_DI_REQMSXEN(1U)
10423 #define S_DI_REQMSXVFIDMSK 16
10424 #define V_DI_REQMSXVFIDMSK(x) ((x) << S_DI_REQMSXVFIDMSK)
10425 #define F_DI_REQMSXVFIDMSK V_DI_REQMSXVFIDMSK(1U)
10427 #define S_DI_REQWREN2 2
10428 #define M_DI_REQWREN2 0x3fffU
10429 #define V_DI_REQWREN2(x) ((x) << S_DI_REQWREN2)
10430 #define G_DI_REQWREN2(x) (((x) >> S_DI_REQWREN2) & M_DI_REQWREN2)
10432 #define S_DI_REQRDEN 1
10433 #define V_DI_REQRDEN(x) ((x) << S_DI_REQRDEN)
10434 #define F_DI_REQRDEN V_DI_REQRDEN(1U)
10436 #define S_DI_REQWREN3 0
10437 #define V_DI_REQWREN3(x) ((x) << S_DI_REQWREN3)
10438 #define F_DI_REQWREN3 V_DI_REQWREN3(1U)
10440 #define A_PCIE_PDEBUG_REG_0X24 0x24
10441 #define A_PCIE_PDEBUG_REG_0X25 0x25
10442 #define A_PCIE_PDEBUG_REG_0X26 0x26
10443 #define A_PCIE_PDEBUG_REG_0X27 0x27
10445 #define S_FID_STI_RSPVLD 31
10446 #define V_FID_STI_RSPVLD(x) ((x) << S_FID_STI_RSPVLD)
10447 #define F_FID_STI_RSPVLD V_FID_STI_RSPVLD(1U)
10449 #define S_TAB_STIRDENA 30
10450 #define V_TAB_STIRDENA(x) ((x) << S_TAB_STIRDENA)
10451 #define F_TAB_STIRDENA V_TAB_STIRDENA(1U)
10453 #define S_TAB_STIWRENA 29
10454 #define V_TAB_STIWRENA(x) ((x) << S_TAB_STIWRENA)
10455 #define F_TAB_STIWRENA V_TAB_STIWRENA(1U)
10457 #define S_TAB_STIRDENA2 18
10458 #define M_TAB_STIRDENA2 0x7ffU
10459 #define V_TAB_STIRDENA2(x) ((x) << S_TAB_STIRDENA2)
10460 #define G_TAB_STIRDENA2(x) (((x) >> S_TAB_STIRDENA2) & M_TAB_STIRDENA2)
10462 #define S_T5_PLI_REQTABHIT 7
10463 #define M_T5_PLI_REQTABHIT 0x7ffU
10464 #define V_T5_PLI_REQTABHIT(x) ((x) << S_T5_PLI_REQTABHIT)
10465 #define G_T5_PLI_REQTABHIT(x) (((x) >> S_T5_PLI_REQTABHIT) & M_T5_PLI_REQTABHIT)
10467 #define S_T5_GNTSI 0
10468 #define M_T5_GNTSI 0x7fU
10469 #define V_T5_GNTSI(x) ((x) << S_T5_GNTSI)
10470 #define G_T5_GNTSI(x) (((x) >> S_T5_GNTSI) & M_T5_GNTSI)
10472 #define A_PCIE_PDEBUG_REG_0X28 0x28
10474 #define S_PLI_REQWRVLD 31
10475 #define V_PLI_REQWRVLD(x) ((x) << S_PLI_REQWRVLD)
10476 #define F_PLI_REQWRVLD V_PLI_REQWRVLD(1U)
10478 #define S_T5_PLI_REQPBAHIT 30
10479 #define V_T5_PLI_REQPBAHIT(x) ((x) << S_T5_PLI_REQPBAHIT)
10480 #define F_T5_PLI_REQPBAHIT V_T5_PLI_REQPBAHIT(1U)
10482 #define S_PLI_TABADDRLWREN 29
10483 #define V_PLI_TABADDRLWREN(x) ((x) << S_PLI_TABADDRLWREN)
10484 #define F_PLI_TABADDRLWREN V_PLI_TABADDRLWREN(1U)
10486 #define S_PLI_TABADDRHWREN 28
10487 #define V_PLI_TABADDRHWREN(x) ((x) << S_PLI_TABADDRHWREN)
10488 #define F_PLI_TABADDRHWREN V_PLI_TABADDRHWREN(1U)
10490 #define S_T5_PLI_TABDATWREN 27
10491 #define V_T5_PLI_TABDATWREN(x) ((x) << S_T5_PLI_TABDATWREN)
10492 #define F_T5_PLI_TABDATWREN V_T5_PLI_TABDATWREN(1U)
10494 #define S_PLI_TABMSKWREN 26
10495 #define V_PLI_TABMSKWREN(x) ((x) << S_PLI_TABMSKWREN)
10496 #define F_PLI_TABMSKWREN V_PLI_TABMSKWREN(1U)
10498 #define S_AI_REQVLD 23
10499 #define M_AI_REQVLD 0x7U
10500 #define V_AI_REQVLD(x) ((x) << S_AI_REQVLD)
10501 #define G_AI_REQVLD(x) (((x) >> S_AI_REQVLD) & M_AI_REQVLD)
10503 #define S_AI_REQVLD2 22
10504 #define V_AI_REQVLD2(x) ((x) << S_AI_REQVLD2)
10505 #define F_AI_REQVLD2 V_AI_REQVLD2(1U)
10507 #define S_AI_REQRDY 21
10508 #define V_AI_REQRDY(x) ((x) << S_AI_REQRDY)
10509 #define F_AI_REQRDY V_AI_REQRDY(1U)
10511 #define S_VEN_MSI_REQ_28 18
10512 #define M_VEN_MSI_REQ_28 0x7U
10513 #define V_VEN_MSI_REQ_28(x) ((x) << S_VEN_MSI_REQ_28)
10514 #define G_VEN_MSI_REQ_28(x) (((x) >> S_VEN_MSI_REQ_28) & M_VEN_MSI_REQ_28)
10516 #define S_VEN_MSI_REQ2 11
10517 #define M_VEN_MSI_REQ2 0x7fU
10518 #define V_VEN_MSI_REQ2(x) ((x) << S_VEN_MSI_REQ2)
10519 #define G_VEN_MSI_REQ2(x) (((x) >> S_VEN_MSI_REQ2) & M_VEN_MSI_REQ2)
10521 #define S_VEN_MSI_REQ3 6
10522 #define M_VEN_MSI_REQ3 0x1fU
10523 #define V_VEN_MSI_REQ3(x) ((x) << S_VEN_MSI_REQ3)
10524 #define G_VEN_MSI_REQ3(x) (((x) >> S_VEN_MSI_REQ3) & M_VEN_MSI_REQ3)
10526 #define S_VEN_MSI_REQ4 3
10527 #define M_VEN_MSI_REQ4 0x7U
10528 #define V_VEN_MSI_REQ4(x) ((x) << S_VEN_MSI_REQ4)
10529 #define G_VEN_MSI_REQ4(x) (((x) >> S_VEN_MSI_REQ4) & M_VEN_MSI_REQ4)
10531 #define S_VEN_MSI_REQ5 2
10532 #define V_VEN_MSI_REQ5(x) ((x) << S_VEN_MSI_REQ5)
10533 #define F_VEN_MSI_REQ5 V_VEN_MSI_REQ5(1U)
10535 #define S_VEN_MSI_GRANT 1
10536 #define V_VEN_MSI_GRANT(x) ((x) << S_VEN_MSI_GRANT)
10537 #define F_VEN_MSI_GRANT V_VEN_MSI_GRANT(1U)
10539 #define S_VEN_MSI_REQ6 0
10540 #define V_VEN_MSI_REQ6(x) ((x) << S_VEN_MSI_REQ6)
10541 #define F_VEN_MSI_REQ6 V_VEN_MSI_REQ6(1U)
10543 #define A_PCIE_PDEBUG_REG_0X29 0x29
10545 #define S_TRGT1_REQDATAVLD 16
10546 #define M_TRGT1_REQDATAVLD 0xffffU
10547 #define V_TRGT1_REQDATAVLD(x) ((x) << S_TRGT1_REQDATAVLD)
10548 #define G_TRGT1_REQDATAVLD(x) (((x) >> S_TRGT1_REQDATAVLD) & M_TRGT1_REQDATAVLD)
10550 #define S_TRGT1_REQDATAVLD2 12
10551 #define M_TRGT1_REQDATAVLD2 0xfU
10552 #define V_TRGT1_REQDATAVLD2(x) ((x) << S_TRGT1_REQDATAVLD2)
10553 #define G_TRGT1_REQDATAVLD2(x) (((x) >> S_TRGT1_REQDATAVLD2) & M_TRGT1_REQDATAVLD2)
10555 #define S_TRGT1_REQDATAVLD3 11
10556 #define V_TRGT1_REQDATAVLD3(x) ((x) << S_TRGT1_REQDATAVLD3)
10557 #define F_TRGT1_REQDATAVLD3 V_TRGT1_REQDATAVLD3(1U)
10559 #define S_TRGT1_REQDATAVLD4 10
10560 #define V_TRGT1_REQDATAVLD4(x) ((x) << S_TRGT1_REQDATAVLD4)
10561 #define F_TRGT1_REQDATAVLD4 V_TRGT1_REQDATAVLD4(1U)
10563 #define S_TRGT1_REQDATAVLD5 9
10564 #define V_TRGT1_REQDATAVLD5(x) ((x) << S_TRGT1_REQDATAVLD5)
10565 #define F_TRGT1_REQDATAVLD5 V_TRGT1_REQDATAVLD5(1U)
10567 #define S_TRGT1_REQDATAVLD6 8
10568 #define V_TRGT1_REQDATAVLD6(x) ((x) << S_TRGT1_REQDATAVLD6)
10569 #define F_TRGT1_REQDATAVLD6 V_TRGT1_REQDATAVLD6(1U)
10571 #define S_TRGT1_REQDATAVLD7 4
10572 #define M_TRGT1_REQDATAVLD7 0xfU
10573 #define V_TRGT1_REQDATAVLD7(x) ((x) << S_TRGT1_REQDATAVLD7)
10574 #define G_TRGT1_REQDATAVLD7(x) (((x) >> S_TRGT1_REQDATAVLD7) & M_TRGT1_REQDATAVLD7)
10576 #define S_TRGT1_REQDATAVLD8 2
10577 #define M_TRGT1_REQDATAVLD8 0x3U
10578 #define V_TRGT1_REQDATAVLD8(x) ((x) << S_TRGT1_REQDATAVLD8)
10579 #define G_TRGT1_REQDATAVLD8(x) (((x) >> S_TRGT1_REQDATAVLD8) & M_TRGT1_REQDATAVLD8)
10581 #define S_TRGT1_REQDATARDY 1
10582 #define V_TRGT1_REQDATARDY(x) ((x) << S_TRGT1_REQDATARDY)
10583 #define F_TRGT1_REQDATARDY V_TRGT1_REQDATARDY(1U)
10585 #define S_TRGT1_REQDATAVLD0 0
10586 #define V_TRGT1_REQDATAVLD0(x) ((x) << S_TRGT1_REQDATAVLD0)
10587 #define F_TRGT1_REQDATAVLD0 V_TRGT1_REQDATAVLD0(1U)
10589 #define A_PCIE_PDEBUG_REG_0X2A 0x2a
10590 #define A_PCIE_PDEBUG_REG_0X2B 0x2b
10592 #define S_RADM_TRGT1_ADDR 20
10593 #define M_RADM_TRGT1_ADDR 0xfffU
10594 #define V_RADM_TRGT1_ADDR(x) ((x) << S_RADM_TRGT1_ADDR)
10595 #define G_RADM_TRGT1_ADDR(x) (((x) >> S_RADM_TRGT1_ADDR) & M_RADM_TRGT1_ADDR)
10597 #define S_RADM_TRGT1_DWEN 16
10598 #define M_RADM_TRGT1_DWEN 0xfU
10599 #define V_RADM_TRGT1_DWEN(x) ((x) << S_RADM_TRGT1_DWEN)
10600 #define G_RADM_TRGT1_DWEN(x) (((x) >> S_RADM_TRGT1_DWEN) & M_RADM_TRGT1_DWEN)
10602 #define S_RADM_TRGT1_FMT 14
10603 #define M_RADM_TRGT1_FMT 0x3U
10604 #define V_RADM_TRGT1_FMT(x) ((x) << S_RADM_TRGT1_FMT)
10605 #define G_RADM_TRGT1_FMT(x) (((x) >> S_RADM_TRGT1_FMT) & M_RADM_TRGT1_FMT)
10607 #define S_RADM_TRGT1_TYPE 9
10608 #define M_RADM_TRGT1_TYPE 0x1fU
10609 #define V_RADM_TRGT1_TYPE(x) ((x) << S_RADM_TRGT1_TYPE)
10610 #define G_RADM_TRGT1_TYPE(x) (((x) >> S_RADM_TRGT1_TYPE) & M_RADM_TRGT1_TYPE)
10612 #define S_RADM_TRGT1_IN_MEMBAR_RANGE 6
10613 #define M_RADM_TRGT1_IN_MEMBAR_RANGE 0x7U
10614 #define V_RADM_TRGT1_IN_MEMBAR_RANGE(x) ((x) << S_RADM_TRGT1_IN_MEMBAR_RANGE)
10615 #define G_RADM_TRGT1_IN_MEMBAR_RANGE(x) (((x) >> S_RADM_TRGT1_IN_MEMBAR_RANGE) & M_RADM_TRGT1_IN_MEMBAR_RANGE)
10617 #define S_RADM_TRGT1_ECRC_ERR 5
10618 #define V_RADM_TRGT1_ECRC_ERR(x) ((x) << S_RADM_TRGT1_ECRC_ERR)
10619 #define F_RADM_TRGT1_ECRC_ERR V_RADM_TRGT1_ECRC_ERR(1U)
10621 #define S_RADM_TRGT1_DLLP_ABORT 4
10622 #define V_RADM_TRGT1_DLLP_ABORT(x) ((x) << S_RADM_TRGT1_DLLP_ABORT)
10623 #define F_RADM_TRGT1_DLLP_ABORT V_RADM_TRGT1_DLLP_ABORT(1U)
10625 #define S_RADM_TRGT1_TLP_ABORT 3
10626 #define V_RADM_TRGT1_TLP_ABORT(x) ((x) << S_RADM_TRGT1_TLP_ABORT)
10627 #define F_RADM_TRGT1_TLP_ABORT V_RADM_TRGT1_TLP_ABORT(1U)
10629 #define S_RADM_TRGT1_EOT 2
10630 #define V_RADM_TRGT1_EOT(x) ((x) << S_RADM_TRGT1_EOT)
10631 #define F_RADM_TRGT1_EOT V_RADM_TRGT1_EOT(1U)
10633 #define S_RADM_TRGT1_DV_2B 1
10634 #define V_RADM_TRGT1_DV_2B(x) ((x) << S_RADM_TRGT1_DV_2B)
10635 #define F_RADM_TRGT1_DV_2B V_RADM_TRGT1_DV_2B(1U)
10637 #define S_RADM_TRGT1_HV_2B 0
10638 #define V_RADM_TRGT1_HV_2B(x) ((x) << S_RADM_TRGT1_HV_2B)
10639 #define F_RADM_TRGT1_HV_2B V_RADM_TRGT1_HV_2B(1U)
10641 #define A_PCIE_PDEBUG_REG_0X2C 0x2c
10643 #define S_STATEMPIO 29
10644 #define M_STATEMPIO 0x7U
10645 #define V_STATEMPIO(x) ((x) << S_STATEMPIO)
10646 #define G_STATEMPIO(x) (((x) >> S_STATEMPIO) & M_STATEMPIO)
10648 #define S_STATECPL 25
10649 #define M_STATECPL 0xfU
10650 #define V_STATECPL(x) ((x) << S_STATECPL)
10651 #define G_STATECPL(x) (((x) >> S_STATECPL) & M_STATECPL)
10653 #define S_STATEALIN 22
10654 #define M_STATEALIN 0x7U
10655 #define V_STATEALIN(x) ((x) << S_STATEALIN)
10656 #define G_STATEALIN(x) (((x) >> S_STATEALIN) & M_STATEALIN)
10658 #define S_STATEPL 19
10659 #define M_STATEPL 0x7U
10660 #define V_STATEPL(x) ((x) << S_STATEPL)
10661 #define G_STATEPL(x) (((x) >> S_STATEPL) & M_STATEPL)
10663 #define S_STATEMARSP 18
10664 #define V_STATEMARSP(x) ((x) << S_STATEMARSP)
10665 #define F_STATEMARSP V_STATEMARSP(1U)
10667 #define S_MA_TAGSINUSE 11
10668 #define M_MA_TAGSINUSE 0x7fU
10669 #define V_MA_TAGSINUSE(x) ((x) << S_MA_TAGSINUSE)
10670 #define G_MA_TAGSINUSE(x) (((x) >> S_MA_TAGSINUSE) & M_MA_TAGSINUSE)
10672 #define S_RADM_TRGT1_HSRDY 10
10673 #define V_RADM_TRGT1_HSRDY(x) ((x) << S_RADM_TRGT1_HSRDY)
10674 #define F_RADM_TRGT1_HSRDY V_RADM_TRGT1_HSRDY(1U)
10676 #define S_RADM_TRGT1_DSRDY 9
10677 #define V_RADM_TRGT1_DSRDY(x) ((x) << S_RADM_TRGT1_DSRDY)
10678 #define F_RADM_TRGT1_DSRDY V_RADM_TRGT1_DSRDY(1U)
10680 #define S_ALIND_REQWRDATAVLD 8
10681 #define V_ALIND_REQWRDATAVLD(x) ((x) << S_ALIND_REQWRDATAVLD)
10682 #define F_ALIND_REQWRDATAVLD V_ALIND_REQWRDATAVLD(1U)
10684 #define S_FID_LKUPWRHDRVLD 7
10685 #define V_FID_LKUPWRHDRVLD(x) ((x) << S_FID_LKUPWRHDRVLD)
10686 #define F_FID_LKUPWRHDRVLD V_FID_LKUPWRHDRVLD(1U)
10688 #define S_MPIO_WRVLD 6
10689 #define V_MPIO_WRVLD(x) ((x) << S_MPIO_WRVLD)
10690 #define F_MPIO_WRVLD V_MPIO_WRVLD(1U)
10692 #define S_TRGT1_RADM_HALT 5
10693 #define V_TRGT1_RADM_HALT(x) ((x) << S_TRGT1_RADM_HALT)
10694 #define F_TRGT1_RADM_HALT V_TRGT1_RADM_HALT(1U)
10696 #define S_RADM_TRGT1_DV_2C 4
10697 #define V_RADM_TRGT1_DV_2C(x) ((x) << S_RADM_TRGT1_DV_2C)
10698 #define F_RADM_TRGT1_DV_2C V_RADM_TRGT1_DV_2C(1U)
10700 #define S_RADM_TRGT1_DV_2C_2 3
10701 #define V_RADM_TRGT1_DV_2C_2(x) ((x) << S_RADM_TRGT1_DV_2C_2)
10702 #define F_RADM_TRGT1_DV_2C_2 V_RADM_TRGT1_DV_2C_2(1U)
10704 #define S_RADM_TRGT1_TLP_ABORT_2C 2
10705 #define V_RADM_TRGT1_TLP_ABORT_2C(x) ((x) << S_RADM_TRGT1_TLP_ABORT_2C)
10706 #define F_RADM_TRGT1_TLP_ABORT_2C V_RADM_TRGT1_TLP_ABORT_2C(1U)
10708 #define S_RADM_TRGT1_DLLP_ABORT_2C 1
10709 #define V_RADM_TRGT1_DLLP_ABORT_2C(x) ((x) << S_RADM_TRGT1_DLLP_ABORT_2C)
10710 #define F_RADM_TRGT1_DLLP_ABORT_2C V_RADM_TRGT1_DLLP_ABORT_2C(1U)
10712 #define S_RADM_TRGT1_ECRC_ERR_2C 0
10713 #define V_RADM_TRGT1_ECRC_ERR_2C(x) ((x) << S_RADM_TRGT1_ECRC_ERR_2C)
10714 #define F_RADM_TRGT1_ECRC_ERR_2C V_RADM_TRGT1_ECRC_ERR_2C(1U)
10716 #define A_PCIE_PDEBUG_REG_0X2D 0x2d
10718 #define S_RADM_TRGT1_HV_2D 31
10719 #define V_RADM_TRGT1_HV_2D(x) ((x) << S_RADM_TRGT1_HV_2D)
10720 #define F_RADM_TRGT1_HV_2D V_RADM_TRGT1_HV_2D(1U)
10722 #define S_RADM_TRGT1_DV_2D 30
10723 #define V_RADM_TRGT1_DV_2D(x) ((x) << S_RADM_TRGT1_DV_2D)
10724 #define F_RADM_TRGT1_DV_2D V_RADM_TRGT1_DV_2D(1U)
10726 #define S_RADM_TRGT1_HV2 23
10727 #define M_RADM_TRGT1_HV2 0x7fU
10728 #define V_RADM_TRGT1_HV2(x) ((x) << S_RADM_TRGT1_HV2)
10729 #define G_RADM_TRGT1_HV2(x) (((x) >> S_RADM_TRGT1_HV2) & M_RADM_TRGT1_HV2)
10731 #define S_RADM_TRGT1_HV3 20
10732 #define M_RADM_TRGT1_HV3 0x7U
10733 #define V_RADM_TRGT1_HV3(x) ((x) << S_RADM_TRGT1_HV3)
10734 #define G_RADM_TRGT1_HV3(x) (((x) >> S_RADM_TRGT1_HV3) & M_RADM_TRGT1_HV3)
10736 #define S_RADM_TRGT1_HV4 16
10737 #define M_RADM_TRGT1_HV4 0xfU
10738 #define V_RADM_TRGT1_HV4(x) ((x) << S_RADM_TRGT1_HV4)
10739 #define G_RADM_TRGT1_HV4(x) (((x) >> S_RADM_TRGT1_HV4) & M_RADM_TRGT1_HV4)
10741 #define S_RADM_TRGT1_HV5 12
10742 #define M_RADM_TRGT1_HV5 0xfU
10743 #define V_RADM_TRGT1_HV5(x) ((x) << S_RADM_TRGT1_HV5)
10744 #define G_RADM_TRGT1_HV5(x) (((x) >> S_RADM_TRGT1_HV5) & M_RADM_TRGT1_HV5)
10746 #define S_RADM_TRGT1_HV6 11
10747 #define V_RADM_TRGT1_HV6(x) ((x) << S_RADM_TRGT1_HV6)
10748 #define F_RADM_TRGT1_HV6 V_RADM_TRGT1_HV6(1U)
10750 #define S_RADM_TRGT1_HV7 10
10751 #define V_RADM_TRGT1_HV7(x) ((x) << S_RADM_TRGT1_HV7)
10752 #define F_RADM_TRGT1_HV7 V_RADM_TRGT1_HV7(1U)
10754 #define S_RADM_TRGT1_HV8 7
10755 #define M_RADM_TRGT1_HV8 0x7U
10756 #define V_RADM_TRGT1_HV8(x) ((x) << S_RADM_TRGT1_HV8)
10757 #define G_RADM_TRGT1_HV8(x) (((x) >> S_RADM_TRGT1_HV8) & M_RADM_TRGT1_HV8)
10759 #define S_RADM_TRGT1_HV9 6
10760 #define V_RADM_TRGT1_HV9(x) ((x) << S_RADM_TRGT1_HV9)
10761 #define F_RADM_TRGT1_HV9 V_RADM_TRGT1_HV9(1U)
10763 #define S_RADM_TRGT1_HVA 5
10764 #define V_RADM_TRGT1_HVA(x) ((x) << S_RADM_TRGT1_HVA)
10765 #define F_RADM_TRGT1_HVA V_RADM_TRGT1_HVA(1U)
10767 #define S_RADM_TRGT1_DSRDY_2D 4
10768 #define V_RADM_TRGT1_DSRDY_2D(x) ((x) << S_RADM_TRGT1_DSRDY_2D)
10769 #define F_RADM_TRGT1_DSRDY_2D V_RADM_TRGT1_DSRDY_2D(1U)
10771 #define S_RADM_TRGT1_WRCNT 0
10772 #define M_RADM_TRGT1_WRCNT 0xfU
10773 #define V_RADM_TRGT1_WRCNT(x) ((x) << S_RADM_TRGT1_WRCNT)
10774 #define G_RADM_TRGT1_WRCNT(x) (((x) >> S_RADM_TRGT1_WRCNT) & M_RADM_TRGT1_WRCNT)
10776 #define A_PCIE_PDEBUG_REG_0X2E 0x2e
10778 #define S_RADM_TRGT1_HV_2E 30
10779 #define M_RADM_TRGT1_HV_2E 0x3U
10780 #define V_RADM_TRGT1_HV_2E(x) ((x) << S_RADM_TRGT1_HV_2E)
10781 #define G_RADM_TRGT1_HV_2E(x) (((x) >> S_RADM_TRGT1_HV_2E) & M_RADM_TRGT1_HV_2E)
10783 #define S_RADM_TRGT1_HV_2E_2 20
10784 #define M_RADM_TRGT1_HV_2E_2 0x3ffU
10785 #define V_RADM_TRGT1_HV_2E_2(x) ((x) << S_RADM_TRGT1_HV_2E_2)
10786 #define G_RADM_TRGT1_HV_2E_2(x) (((x) >> S_RADM_TRGT1_HV_2E_2) & M_RADM_TRGT1_HV_2E_2)
10788 #define S_RADM_TRGT1_HV_WE_3 12
10789 #define M_RADM_TRGT1_HV_WE_3 0xffU
10790 #define V_RADM_TRGT1_HV_WE_3(x) ((x) << S_RADM_TRGT1_HV_WE_3)
10791 #define G_RADM_TRGT1_HV_WE_3(x) (((x) >> S_RADM_TRGT1_HV_WE_3) & M_RADM_TRGT1_HV_WE_3)
10793 #define S_ALIN_REQDATAVLD4 8
10794 #define M_ALIN_REQDATAVLD4 0xfU
10795 #define V_ALIN_REQDATAVLD4(x) ((x) << S_ALIN_REQDATAVLD4)
10796 #define G_ALIN_REQDATAVLD4(x) (((x) >> S_ALIN_REQDATAVLD4) & M_ALIN_REQDATAVLD4)
10798 #define S_ALIN_REQDATAVLD5 7
10799 #define V_ALIN_REQDATAVLD5(x) ((x) << S_ALIN_REQDATAVLD5)
10800 #define F_ALIN_REQDATAVLD5 V_ALIN_REQDATAVLD5(1U)
10802 #define S_ALIN_REQDATAVLD6 6
10803 #define V_ALIN_REQDATAVLD6(x) ((x) << S_ALIN_REQDATAVLD6)
10804 #define F_ALIN_REQDATAVLD6 V_ALIN_REQDATAVLD6(1U)
10806 #define S_ALIN_REQDATAVLD7 4
10807 #define M_ALIN_REQDATAVLD7 0x3U
10808 #define V_ALIN_REQDATAVLD7(x) ((x) << S_ALIN_REQDATAVLD7)
10809 #define G_ALIN_REQDATAVLD7(x) (((x) >> S_ALIN_REQDATAVLD7) & M_ALIN_REQDATAVLD7)
10811 #define S_ALIN_REQDATAVLD8 3
10812 #define V_ALIN_REQDATAVLD8(x) ((x) << S_ALIN_REQDATAVLD8)
10813 #define F_ALIN_REQDATAVLD8 V_ALIN_REQDATAVLD8(1U)
10815 #define S_ALIN_REQDATAVLD9 2
10816 #define V_ALIN_REQDATAVLD9(x) ((x) << S_ALIN_REQDATAVLD9)
10817 #define F_ALIN_REQDATAVLD9 V_ALIN_REQDATAVLD9(1U)
10819 #define S_ALIN_REQDATARDY 1
10820 #define V_ALIN_REQDATARDY(x) ((x) << S_ALIN_REQDATARDY)
10821 #define F_ALIN_REQDATARDY V_ALIN_REQDATARDY(1U)
10823 #define S_ALIN_REQDATAVLDA 0
10824 #define V_ALIN_REQDATAVLDA(x) ((x) << S_ALIN_REQDATAVLDA)
10825 #define F_ALIN_REQDATAVLDA V_ALIN_REQDATAVLDA(1U)
10827 #define A_PCIE_PDEBUG_REG_0X2F 0x2f
10828 #define A_PCIE_PDEBUG_REG_0X30 0x30
10830 #define S_RADM_TRGT1_HV_30 25
10831 #define M_RADM_TRGT1_HV_30 0x7fU
10832 #define V_RADM_TRGT1_HV_30(x) ((x) << S_RADM_TRGT1_HV_30)
10833 #define G_RADM_TRGT1_HV_30(x) (((x) >> S_RADM_TRGT1_HV_30) & M_RADM_TRGT1_HV_30)
10835 #define S_PIO_WRCNT 15
10836 #define M_PIO_WRCNT 0x3ffU
10837 #define V_PIO_WRCNT(x) ((x) << S_PIO_WRCNT)
10838 #define G_PIO_WRCNT(x) (((x) >> S_PIO_WRCNT) & M_PIO_WRCNT)
10840 #define S_ALIND_REQWRCNT 12
10841 #define M_ALIND_REQWRCNT 0x7U
10842 #define V_ALIND_REQWRCNT(x) ((x) << S_ALIND_REQWRCNT)
10843 #define G_ALIND_REQWRCNT(x) (((x) >> S_ALIND_REQWRCNT) & M_ALIND_REQWRCNT)
10845 #define S_FID_LKUPWRCNT 9
10846 #define M_FID_LKUPWRCNT 0x7U
10847 #define V_FID_LKUPWRCNT(x) ((x) << S_FID_LKUPWRCNT)
10848 #define G_FID_LKUPWRCNT(x) (((x) >> S_FID_LKUPWRCNT) & M_FID_LKUPWRCNT)
10850 #define S_ALIND_REQRDDATAVLD 8
10851 #define V_ALIND_REQRDDATAVLD(x) ((x) << S_ALIND_REQRDDATAVLD)
10852 #define F_ALIND_REQRDDATAVLD V_ALIND_REQRDDATAVLD(1U)
10854 #define S_ALIND_REQRDDATARDY 7
10855 #define V_ALIND_REQRDDATARDY(x) ((x) << S_ALIND_REQRDDATARDY)
10856 #define F_ALIND_REQRDDATARDY V_ALIND_REQRDDATARDY(1U)
10858 #define S_ALIND_REQRDDATAVLD2 6
10859 #define V_ALIND_REQRDDATAVLD2(x) ((x) << S_ALIND_REQRDDATAVLD2)
10860 #define F_ALIND_REQRDDATAVLD2 V_ALIND_REQRDDATAVLD2(1U)
10862 #define S_ALIND_REQWRDATAVLD3 3
10863 #define M_ALIND_REQWRDATAVLD3 0x7U
10864 #define V_ALIND_REQWRDATAVLD3(x) ((x) << S_ALIND_REQWRDATAVLD3)
10865 #define G_ALIND_REQWRDATAVLD3(x) (((x) >> S_ALIND_REQWRDATAVLD3) & M_ALIND_REQWRDATAVLD3)
10867 #define S_ALIND_REQWRDATAVLD4 2
10868 #define V_ALIND_REQWRDATAVLD4(x) ((x) << S_ALIND_REQWRDATAVLD4)
10869 #define F_ALIND_REQWRDATAVLD4 V_ALIND_REQWRDATAVLD4(1U)
10871 #define S_ALIND_REQWRDATARDYOPEN 1
10872 #define V_ALIND_REQWRDATARDYOPEN(x) ((x) << S_ALIND_REQWRDATARDYOPEN)
10873 #define F_ALIND_REQWRDATARDYOPEN V_ALIND_REQWRDATARDYOPEN(1U)
10875 #define S_ALIND_REQWRDATAVLD5 0
10876 #define V_ALIND_REQWRDATAVLD5(x) ((x) << S_ALIND_REQWRDATAVLD5)
10877 #define F_ALIND_REQWRDATAVLD5 V_ALIND_REQWRDATAVLD5(1U)
10879 #define A_PCIE_PDEBUG_REG_0X31 0x31
10880 #define A_PCIE_PDEBUG_REG_0X32 0x32
10881 #define A_PCIE_PDEBUG_REG_0X33 0x33
10882 #define A_PCIE_PDEBUG_REG_0X34 0x34
10883 #define A_PCIE_PDEBUG_REG_0X35 0x35
10885 #define S_T5_MPIO_WRVLD 19
10886 #define M_T5_MPIO_WRVLD 0x1fffU
10887 #define V_T5_MPIO_WRVLD(x) ((x) << S_T5_MPIO_WRVLD)
10888 #define G_T5_MPIO_WRVLD(x) (((x) >> S_T5_MPIO_WRVLD) & M_T5_MPIO_WRVLD)
10890 #define S_FID_LKUPRDHDRVLD 18
10891 #define V_FID_LKUPRDHDRVLD(x) ((x) << S_FID_LKUPRDHDRVLD)
10892 #define F_FID_LKUPRDHDRVLD V_FID_LKUPRDHDRVLD(1U)
10894 #define S_FID_LKUPRDHDRVLD2 17
10895 #define V_FID_LKUPRDHDRVLD2(x) ((x) << S_FID_LKUPRDHDRVLD2)
10896 #define F_FID_LKUPRDHDRVLD2 V_FID_LKUPRDHDRVLD2(1U)
10898 #define S_FID_LKUPRDHDRVLD3 16
10899 #define V_FID_LKUPRDHDRVLD3(x) ((x) << S_FID_LKUPRDHDRVLD3)
10900 #define F_FID_LKUPRDHDRVLD3 V_FID_LKUPRDHDRVLD3(1U)
10902 #define S_FID_LKUPRDHDRVLD4 15
10903 #define V_FID_LKUPRDHDRVLD4(x) ((x) << S_FID_LKUPRDHDRVLD4)
10904 #define F_FID_LKUPRDHDRVLD4 V_FID_LKUPRDHDRVLD4(1U)
10906 #define S_FID_LKUPRDHDRVLD5 14
10907 #define V_FID_LKUPRDHDRVLD5(x) ((x) << S_FID_LKUPRDHDRVLD5)
10908 #define F_FID_LKUPRDHDRVLD5 V_FID_LKUPRDHDRVLD5(1U)
10910 #define S_FID_LKUPRDHDRVLD6 13
10911 #define V_FID_LKUPRDHDRVLD6(x) ((x) << S_FID_LKUPRDHDRVLD6)
10912 #define F_FID_LKUPRDHDRVLD6 V_FID_LKUPRDHDRVLD6(1U)
10914 #define S_FID_LKUPRDHDRVLD7 12
10915 #define V_FID_LKUPRDHDRVLD7(x) ((x) << S_FID_LKUPRDHDRVLD7)
10916 #define F_FID_LKUPRDHDRVLD7 V_FID_LKUPRDHDRVLD7(1U)
10918 #define S_FID_LKUPRDHDRVLD8 11
10919 #define V_FID_LKUPRDHDRVLD8(x) ((x) << S_FID_LKUPRDHDRVLD8)
10920 #define F_FID_LKUPRDHDRVLD8 V_FID_LKUPRDHDRVLD8(1U)
10922 #define S_FID_LKUPRDHDRVLD9 10
10923 #define V_FID_LKUPRDHDRVLD9(x) ((x) << S_FID_LKUPRDHDRVLD9)
10924 #define F_FID_LKUPRDHDRVLD9 V_FID_LKUPRDHDRVLD9(1U)
10926 #define S_FID_LKUPRDHDRVLDA 9
10927 #define V_FID_LKUPRDHDRVLDA(x) ((x) << S_FID_LKUPRDHDRVLDA)
10928 #define F_FID_LKUPRDHDRVLDA V_FID_LKUPRDHDRVLDA(1U)
10930 #define S_FID_LKUPRDHDRVLDB 8
10931 #define V_FID_LKUPRDHDRVLDB(x) ((x) << S_FID_LKUPRDHDRVLDB)
10932 #define F_FID_LKUPRDHDRVLDB V_FID_LKUPRDHDRVLDB(1U)
10934 #define S_FID_LKUPRDHDRVLDC 7
10935 #define V_FID_LKUPRDHDRVLDC(x) ((x) << S_FID_LKUPRDHDRVLDC)
10936 #define F_FID_LKUPRDHDRVLDC V_FID_LKUPRDHDRVLDC(1U)
10938 #define S_MPIO_WRVLD1 6
10939 #define V_MPIO_WRVLD1(x) ((x) << S_MPIO_WRVLD1)
10940 #define F_MPIO_WRVLD1 V_MPIO_WRVLD1(1U)
10942 #define S_MPIO_WRVLD2 5
10943 #define V_MPIO_WRVLD2(x) ((x) << S_MPIO_WRVLD2)
10944 #define F_MPIO_WRVLD2 V_MPIO_WRVLD2(1U)
10946 #define S_MPIO_WRVLD3 4
10947 #define V_MPIO_WRVLD3(x) ((x) << S_MPIO_WRVLD3)
10948 #define F_MPIO_WRVLD3 V_MPIO_WRVLD3(1U)
10950 #define S_MPIO_WRVLD4 0
10951 #define M_MPIO_WRVLD4 0xfU
10952 #define V_MPIO_WRVLD4(x) ((x) << S_MPIO_WRVLD4)
10953 #define G_MPIO_WRVLD4(x) (((x) >> S_MPIO_WRVLD4) & M_MPIO_WRVLD4)
10955 #define A_PCIE_PDEBUG_REG_0X36 0x36
10956 #define A_PCIE_PDEBUG_REG_0X37 0x37
10957 #define A_PCIE_PDEBUG_REG_0X38 0x38
10958 #define A_PCIE_PDEBUG_REG_0X39 0x39
10959 #define A_PCIE_PDEBUG_REG_0X3A 0x3a
10961 #define S_CLIENT0_TLP_VFUNC_ACTIVE 31
10962 #define V_CLIENT0_TLP_VFUNC_ACTIVE(x) ((x) << S_CLIENT0_TLP_VFUNC_ACTIVE)
10963 #define F_CLIENT0_TLP_VFUNC_ACTIVE V_CLIENT0_TLP_VFUNC_ACTIVE(1U)
10965 #define S_CLIENT0_TLP_VFUNC_NUM 24
10966 #define M_CLIENT0_TLP_VFUNC_NUM 0x7fU
10967 #define V_CLIENT0_TLP_VFUNC_NUM(x) ((x) << S_CLIENT0_TLP_VFUNC_NUM)
10968 #define G_CLIENT0_TLP_VFUNC_NUM(x) (((x) >> S_CLIENT0_TLP_VFUNC_NUM) & M_CLIENT0_TLP_VFUNC_NUM)
10970 #define S_CLIENT0_TLP_FUNC_NUM 21
10971 #define M_CLIENT0_TLP_FUNC_NUM 0x7U
10972 #define V_CLIENT0_TLP_FUNC_NUM(x) ((x) << S_CLIENT0_TLP_FUNC_NUM)
10973 #define G_CLIENT0_TLP_FUNC_NUM(x) (((x) >> S_CLIENT0_TLP_FUNC_NUM) & M_CLIENT0_TLP_FUNC_NUM)
10975 #define S_CLIENT0_TLP_BYTE_EN 13
10976 #define M_CLIENT0_TLP_BYTE_EN 0xffU
10977 #define V_CLIENT0_TLP_BYTE_EN(x) ((x) << S_CLIENT0_TLP_BYTE_EN)
10978 #define G_CLIENT0_TLP_BYTE_EN(x) (((x) >> S_CLIENT0_TLP_BYTE_EN) & M_CLIENT0_TLP_BYTE_EN)
10980 #define S_CLIENT0_TLP_BYTE_LEN 0
10981 #define M_CLIENT0_TLP_BYTE_LEN 0x1fffU
10982 #define V_CLIENT0_TLP_BYTE_LEN(x) ((x) << S_CLIENT0_TLP_BYTE_LEN)
10983 #define G_CLIENT0_TLP_BYTE_LEN(x) (((x) >> S_CLIENT0_TLP_BYTE_LEN) & M_CLIENT0_TLP_BYTE_LEN)
10985 #define A_PCIE_PDEBUG_REG_0X3B 0x3b
10987 #define S_XADM_CLIENT0_HALT 31
10988 #define V_XADM_CLIENT0_HALT(x) ((x) << S_XADM_CLIENT0_HALT)
10989 #define F_XADM_CLIENT0_HALT V_XADM_CLIENT0_HALT(1U)
10991 #define S_CLIENT0_TLP_DV 30
10992 #define V_CLIENT0_TLP_DV(x) ((x) << S_CLIENT0_TLP_DV)
10993 #define F_CLIENT0_TLP_DV V_CLIENT0_TLP_DV(1U)
10995 #define S_CLIENT0_ADDR_ALIGN_EN 29
10996 #define V_CLIENT0_ADDR_ALIGN_EN(x) ((x) << S_CLIENT0_ADDR_ALIGN_EN)
10997 #define F_CLIENT0_ADDR_ALIGN_EN V_CLIENT0_ADDR_ALIGN_EN(1U)
10999 #define S_CLIENT0_CPL_BCM 28
11000 #define V_CLIENT0_CPL_BCM(x) ((x) << S_CLIENT0_CPL_BCM)
11001 #define F_CLIENT0_CPL_BCM V_CLIENT0_CPL_BCM(1U)
11003 #define S_CLIENT0_TLP_EP 27
11004 #define V_CLIENT0_TLP_EP(x) ((x) << S_CLIENT0_TLP_EP)
11005 #define F_CLIENT0_TLP_EP V_CLIENT0_TLP_EP(1U)
11007 #define S_CLIENT0_CPL_STATUS 24
11008 #define M_CLIENT0_CPL_STATUS 0x7U
11009 #define V_CLIENT0_CPL_STATUS(x) ((x) << S_CLIENT0_CPL_STATUS)
11010 #define G_CLIENT0_CPL_STATUS(x) (((x) >> S_CLIENT0_CPL_STATUS) & M_CLIENT0_CPL_STATUS)
11012 #define S_CLIENT0_TLP_TD 23
11013 #define V_CLIENT0_TLP_TD(x) ((x) << S_CLIENT0_TLP_TD)
11014 #define F_CLIENT0_TLP_TD V_CLIENT0_TLP_TD(1U)
11016 #define S_CLIENT0_TLP_TYPE 18
11017 #define M_CLIENT0_TLP_TYPE 0x1fU
11018 #define V_CLIENT0_TLP_TYPE(x) ((x) << S_CLIENT0_TLP_TYPE)
11019 #define G_CLIENT0_TLP_TYPE(x) (((x) >> S_CLIENT0_TLP_TYPE) & M_CLIENT0_TLP_TYPE)
11021 #define S_CLIENT0_TLP_FMT 16
11022 #define M_CLIENT0_TLP_FMT 0x3U
11023 #define V_CLIENT0_TLP_FMT(x) ((x) << S_CLIENT0_TLP_FMT)
11024 #define G_CLIENT0_TLP_FMT(x) (((x) >> S_CLIENT0_TLP_FMT) & M_CLIENT0_TLP_FMT)
11026 #define S_CLIENT0_TLP_BAD_EOT 15
11027 #define V_CLIENT0_TLP_BAD_EOT(x) ((x) << S_CLIENT0_TLP_BAD_EOT)
11028 #define F_CLIENT0_TLP_BAD_EOT V_CLIENT0_TLP_BAD_EOT(1U)
11030 #define S_CLIENT0_TLP_EOT 14
11031 #define V_CLIENT0_TLP_EOT(x) ((x) << S_CLIENT0_TLP_EOT)
11032 #define F_CLIENT0_TLP_EOT V_CLIENT0_TLP_EOT(1U)
11034 #define S_CLIENT0_TLP_ATTR 11
11035 #define M_CLIENT0_TLP_ATTR 0x7U
11036 #define V_CLIENT0_TLP_ATTR(x) ((x) << S_CLIENT0_TLP_ATTR)
11037 #define G_CLIENT0_TLP_ATTR(x) (((x) >> S_CLIENT0_TLP_ATTR) & M_CLIENT0_TLP_ATTR)
11039 #define S_CLIENT0_TLP_TC 8
11040 #define M_CLIENT0_TLP_TC 0x7U
11041 #define V_CLIENT0_TLP_TC(x) ((x) << S_CLIENT0_TLP_TC)
11042 #define G_CLIENT0_TLP_TC(x) (((x) >> S_CLIENT0_TLP_TC) & M_CLIENT0_TLP_TC)
11044 #define S_CLIENT0_TLP_TID 0
11045 #define M_CLIENT0_TLP_TID 0xffU
11046 #define V_CLIENT0_TLP_TID(x) ((x) << S_CLIENT0_TLP_TID)
11047 #define G_CLIENT0_TLP_TID(x) (((x) >> S_CLIENT0_TLP_TID) & M_CLIENT0_TLP_TID)
11049 #define A_PCIE_PDEBUG_REG_0X3C 0x3c
11051 #define S_MEM_RSPRRAVLD 31
11052 #define V_MEM_RSPRRAVLD(x) ((x) << S_MEM_RSPRRAVLD)
11053 #define F_MEM_RSPRRAVLD V_MEM_RSPRRAVLD(1U)
11055 #define S_MEM_RSPRRARDY 30
11056 #define V_MEM_RSPRRARDY(x) ((x) << S_MEM_RSPRRARDY)
11057 #define F_MEM_RSPRRARDY V_MEM_RSPRRARDY(1U)
11059 #define S_PIO_RSPRRAVLD 29
11060 #define V_PIO_RSPRRAVLD(x) ((x) << S_PIO_RSPRRAVLD)
11061 #define F_PIO_RSPRRAVLD V_PIO_RSPRRAVLD(1U)
11063 #define S_PIO_RSPRRARDY 28
11064 #define V_PIO_RSPRRARDY(x) ((x) << S_PIO_RSPRRARDY)
11065 #define F_PIO_RSPRRARDY V_PIO_RSPRRARDY(1U)
11067 #define S_MEM_RSPRDVLD 27
11068 #define V_MEM_RSPRDVLD(x) ((x) << S_MEM_RSPRDVLD)
11069 #define F_MEM_RSPRDVLD V_MEM_RSPRDVLD(1U)
11071 #define S_MEM_RSPRDRRARDY 26
11072 #define V_MEM_RSPRDRRARDY(x) ((x) << S_MEM_RSPRDRRARDY)
11073 #define F_MEM_RSPRDRRARDY V_MEM_RSPRDRRARDY(1U)
11075 #define S_PIO_RSPRDVLD 25
11076 #define V_PIO_RSPRDVLD(x) ((x) << S_PIO_RSPRDVLD)
11077 #define F_PIO_RSPRDVLD V_PIO_RSPRDVLD(1U)
11079 #define S_PIO_RSPRDRRARDY 24
11080 #define V_PIO_RSPRDRRARDY(x) ((x) << S_PIO_RSPRDRRARDY)
11081 #define F_PIO_RSPRDRRARDY V_PIO_RSPRDRRARDY(1U)
11083 #define S_TGT_TAGQ_RDVLD 16
11084 #define M_TGT_TAGQ_RDVLD 0xffU
11085 #define V_TGT_TAGQ_RDVLD(x) ((x) << S_TGT_TAGQ_RDVLD)
11086 #define G_TGT_TAGQ_RDVLD(x) (((x) >> S_TGT_TAGQ_RDVLD) & M_TGT_TAGQ_RDVLD)
11088 #define S_CPLTXNDISABLE 8
11089 #define M_CPLTXNDISABLE 0xffU
11090 #define V_CPLTXNDISABLE(x) ((x) << S_CPLTXNDISABLE)
11091 #define G_CPLTXNDISABLE(x) (((x) >> S_CPLTXNDISABLE) & M_CPLTXNDISABLE)
11093 #define S_CPLTXNDISABLE2 7
11094 #define V_CPLTXNDISABLE2(x) ((x) << S_CPLTXNDISABLE2)
11095 #define F_CPLTXNDISABLE2 V_CPLTXNDISABLE2(1U)
11097 #define S_CLIENT0_TLP_HV 0
11098 #define M_CLIENT0_TLP_HV 0x7fU
11099 #define V_CLIENT0_TLP_HV(x) ((x) << S_CLIENT0_TLP_HV)
11100 #define G_CLIENT0_TLP_HV(x) (((x) >> S_CLIENT0_TLP_HV) & M_CLIENT0_TLP_HV)
11102 #define A_PCIE_PDEBUG_REG_0X3D 0x3d
11103 #define A_PCIE_PDEBUG_REG_0X3E 0x3e
11104 #define A_PCIE_PDEBUG_REG_0X3F 0x3f
11105 #define A_PCIE_PDEBUG_REG_0X40 0x40
11106 #define A_PCIE_PDEBUG_REG_0X41 0x41
11107 #define A_PCIE_PDEBUG_REG_0X42 0x42
11108 #define A_PCIE_PDEBUG_REG_0X43 0x43
11109 #define A_PCIE_PDEBUG_REG_0X44 0x44
11110 #define A_PCIE_PDEBUG_REG_0X45 0x45
11111 #define A_PCIE_PDEBUG_REG_0X46 0x46
11112 #define A_PCIE_PDEBUG_REG_0X47 0x47
11113 #define A_PCIE_PDEBUG_REG_0X48 0x48
11114 #define A_PCIE_PDEBUG_REG_0X49 0x49
11115 #define A_PCIE_PDEBUG_REG_0X4A 0x4a
11116 #define A_PCIE_PDEBUG_REG_0X4B 0x4b
11117 #define A_PCIE_PDEBUG_REG_0X4C 0x4c
11118 #define A_PCIE_PDEBUG_REG_0X4D 0x4d
11119 #define A_PCIE_PDEBUG_REG_0X4E 0x4e
11120 #define A_PCIE_PDEBUG_REG_0X4F 0x4f
11121 #define A_PCIE_PDEBUG_REG_0X50 0x50
11122 #define A_PCIE_CDEBUG_REG_0X0 0x0
11123 #define A_PCIE_CDEBUG_REG_0X1 0x1
11124 #define A_PCIE_CDEBUG_REG_0X2 0x2
11126 #define S_FLR_REQVLD 31
11127 #define V_FLR_REQVLD(x) ((x) << S_FLR_REQVLD)
11128 #define F_FLR_REQVLD V_FLR_REQVLD(1U)
11130 #define S_D_RSPVLD 28
11131 #define M_D_RSPVLD 0x7U
11132 #define V_D_RSPVLD(x) ((x) << S_D_RSPVLD)
11133 #define G_D_RSPVLD(x) (((x) >> S_D_RSPVLD) & M_D_RSPVLD)
11135 #define S_D_RSPVLD2 27
11136 #define V_D_RSPVLD2(x) ((x) << S_D_RSPVLD2)
11137 #define F_D_RSPVLD2 V_D_RSPVLD2(1U)
11139 #define S_D_RSPVLD3 26
11140 #define V_D_RSPVLD3(x) ((x) << S_D_RSPVLD3)
11141 #define F_D_RSPVLD3 V_D_RSPVLD3(1U)
11143 #define S_D_RSPVLD4 25
11144 #define V_D_RSPVLD4(x) ((x) << S_D_RSPVLD4)
11145 #define F_D_RSPVLD4 V_D_RSPVLD4(1U)
11147 #define S_D_RSPVLD5 24
11148 #define V_D_RSPVLD5(x) ((x) << S_D_RSPVLD5)
11149 #define F_D_RSPVLD5 V_D_RSPVLD5(1U)
11151 #define S_D_RSPVLD6 20
11152 #define M_D_RSPVLD6 0xfU
11153 #define V_D_RSPVLD6(x) ((x) << S_D_RSPVLD6)
11154 #define G_D_RSPVLD6(x) (((x) >> S_D_RSPVLD6) & M_D_RSPVLD6)
11156 #define S_D_RSPAFULL 16
11157 #define M_D_RSPAFULL 0xfU
11158 #define V_D_RSPAFULL(x) ((x) << S_D_RSPAFULL)
11159 #define G_D_RSPAFULL(x) (((x) >> S_D_RSPAFULL) & M_D_RSPAFULL)
11161 #define S_D_RDREQVLD 12
11162 #define M_D_RDREQVLD 0xfU
11163 #define V_D_RDREQVLD(x) ((x) << S_D_RDREQVLD)
11164 #define G_D_RDREQVLD(x) (((x) >> S_D_RDREQVLD) & M_D_RDREQVLD)
11166 #define S_D_RDREQAFULL 8
11167 #define M_D_RDREQAFULL 0xfU
11168 #define V_D_RDREQAFULL(x) ((x) << S_D_RDREQAFULL)
11169 #define G_D_RDREQAFULL(x) (((x) >> S_D_RDREQAFULL) & M_D_RDREQAFULL)
11171 #define S_D_WRREQVLD 4
11172 #define M_D_WRREQVLD 0xfU
11173 #define V_D_WRREQVLD(x) ((x) << S_D_WRREQVLD)
11174 #define G_D_WRREQVLD(x) (((x) >> S_D_WRREQVLD) & M_D_WRREQVLD)
11176 #define S_D_WRREQAFULL 0
11177 #define M_D_WRREQAFULL 0xfU
11178 #define V_D_WRREQAFULL(x) ((x) << S_D_WRREQAFULL)
11179 #define G_D_WRREQAFULL(x) (((x) >> S_D_WRREQAFULL) & M_D_WRREQAFULL)
11181 #define A_PCIE_CDEBUG_REG_0X3 0x3
11183 #define S_C_REQVLD 19
11184 #define M_C_REQVLD 0x1fffU
11185 #define V_C_REQVLD(x) ((x) << S_C_REQVLD)
11186 #define G_C_REQVLD(x) (((x) >> S_C_REQVLD) & M_C_REQVLD)
11188 #define S_C_RSPVLD2 16
11189 #define M_C_RSPVLD2 0x7U
11190 #define V_C_RSPVLD2(x) ((x) << S_C_RSPVLD2)
11191 #define G_C_RSPVLD2(x) (((x) >> S_C_RSPVLD2) & M_C_RSPVLD2)
11193 #define S_C_RSPVLD3 15
11194 #define V_C_RSPVLD3(x) ((x) << S_C_RSPVLD3)
11195 #define F_C_RSPVLD3 V_C_RSPVLD3(1U)
11197 #define S_C_RSPVLD4 14
11198 #define V_C_RSPVLD4(x) ((x) << S_C_RSPVLD4)
11199 #define F_C_RSPVLD4 V_C_RSPVLD4(1U)
11201 #define S_C_RSPVLD5 13
11202 #define V_C_RSPVLD5(x) ((x) << S_C_RSPVLD5)
11203 #define F_C_RSPVLD5 V_C_RSPVLD5(1U)
11205 #define S_C_RSPVLD6 12
11206 #define V_C_RSPVLD6(x) ((x) << S_C_RSPVLD6)
11207 #define F_C_RSPVLD6 V_C_RSPVLD6(1U)
11209 #define S_C_RSPVLD7 9
11210 #define M_C_RSPVLD7 0x7U
11211 #define V_C_RSPVLD7(x) ((x) << S_C_RSPVLD7)
11212 #define G_C_RSPVLD7(x) (((x) >> S_C_RSPVLD7) & M_C_RSPVLD7)
11214 #define S_C_RSPAFULL 6
11215 #define M_C_RSPAFULL 0x7U
11216 #define V_C_RSPAFULL(x) ((x) << S_C_RSPAFULL)
11217 #define G_C_RSPAFULL(x) (((x) >> S_C_RSPAFULL) & M_C_RSPAFULL)
11219 #define S_C_REQVLD8 3
11220 #define M_C_REQVLD8 0x7U
11221 #define V_C_REQVLD8(x) ((x) << S_C_REQVLD8)
11222 #define G_C_REQVLD8(x) (((x) >> S_C_REQVLD8) & M_C_REQVLD8)
11224 #define S_C_REQAFULL 0
11225 #define M_C_REQAFULL 0x7U
11226 #define V_C_REQAFULL(x) ((x) << S_C_REQAFULL)
11227 #define G_C_REQAFULL(x) (((x) >> S_C_REQAFULL) & M_C_REQAFULL)
11229 #define A_PCIE_CDEBUG_REG_0X4 0x4
11231 #define S_H_REQVLD 7
11232 #define M_H_REQVLD 0x1ffffffU
11233 #define V_H_REQVLD(x) ((x) << S_H_REQVLD)
11234 #define G_H_REQVLD(x) (((x) >> S_H_REQVLD) & M_H_REQVLD)
11236 #define S_H_RSPVLD 6
11237 #define V_H_RSPVLD(x) ((x) << S_H_RSPVLD)
11238 #define F_H_RSPVLD V_H_RSPVLD(1U)
11240 #define S_H_RSPVLD2 5
11241 #define V_H_RSPVLD2(x) ((x) << S_H_RSPVLD2)
11242 #define F_H_RSPVLD2 V_H_RSPVLD2(1U)
11244 #define S_H_RSPVLD3 4
11245 #define V_H_RSPVLD3(x) ((x) << S_H_RSPVLD3)
11246 #define F_H_RSPVLD3 V_H_RSPVLD3(1U)
11248 #define S_H_RSPVLD4 3
11249 #define V_H_RSPVLD4(x) ((x) << S_H_RSPVLD4)
11250 #define F_H_RSPVLD4 V_H_RSPVLD4(1U)
11252 #define S_H_RSPAFULL 2
11253 #define V_H_RSPAFULL(x) ((x) << S_H_RSPAFULL)
11254 #define F_H_RSPAFULL V_H_RSPAFULL(1U)
11256 #define S_H_REQVLD2 1
11257 #define V_H_REQVLD2(x) ((x) << S_H_REQVLD2)
11258 #define F_H_REQVLD2 V_H_REQVLD2(1U)
11260 #define S_H_REQAFULL 0
11261 #define V_H_REQAFULL(x) ((x) << S_H_REQAFULL)
11262 #define F_H_REQAFULL V_H_REQAFULL(1U)
11264 #define A_PCIE_CDEBUG_REG_0X5 0x5
11266 #define S_ER_RSPVLD 16
11267 #define M_ER_RSPVLD 0xffffU
11268 #define V_ER_RSPVLD(x) ((x) << S_ER_RSPVLD)
11269 #define G_ER_RSPVLD(x) (((x) >> S_ER_RSPVLD) & M_ER_RSPVLD)
11271 #define S_ER_REQVLD2 5
11272 #define M_ER_REQVLD2 0x7ffU
11273 #define V_ER_REQVLD2(x) ((x) << S_ER_REQVLD2)
11274 #define G_ER_REQVLD2(x) (((x) >> S_ER_REQVLD2) & M_ER_REQVLD2)
11276 #define S_ER_REQVLD3 2
11277 #define M_ER_REQVLD3 0x7U
11278 #define V_ER_REQVLD3(x) ((x) << S_ER_REQVLD3)
11279 #define G_ER_REQVLD3(x) (((x) >> S_ER_REQVLD3) & M_ER_REQVLD3)
11281 #define S_ER_RSPVLD4 1
11282 #define V_ER_RSPVLD4(x) ((x) << S_ER_RSPVLD4)
11283 #define F_ER_RSPVLD4 V_ER_RSPVLD4(1U)
11285 #define S_ER_REQVLD5 0
11286 #define V_ER_REQVLD5(x) ((x) << S_ER_REQVLD5)
11287 #define F_ER_REQVLD5 V_ER_REQVLD5(1U)
11289 #define A_PCIE_CDEBUG_REG_0X6 0x6
11291 #define S_PL_BAR2_REQVLD 4
11292 #define M_PL_BAR2_REQVLD 0xfffffffU
11293 #define V_PL_BAR2_REQVLD(x) ((x) << S_PL_BAR2_REQVLD)
11294 #define G_PL_BAR2_REQVLD(x) (((x) >> S_PL_BAR2_REQVLD) & M_PL_BAR2_REQVLD)
11296 #define S_PL_BAR2_REQVLD2 3
11297 #define V_PL_BAR2_REQVLD2(x) ((x) << S_PL_BAR2_REQVLD2)
11298 #define F_PL_BAR2_REQVLD2 V_PL_BAR2_REQVLD2(1U)
11300 #define S_PL_BAR2_REQVLDE 2
11301 #define V_PL_BAR2_REQVLDE(x) ((x) << S_PL_BAR2_REQVLDE)
11302 #define F_PL_BAR2_REQVLDE V_PL_BAR2_REQVLDE(1U)
11304 #define S_PL_BAR2_REQFULL 1
11305 #define V_PL_BAR2_REQFULL(x) ((x) << S_PL_BAR2_REQFULL)
11306 #define F_PL_BAR2_REQFULL V_PL_BAR2_REQFULL(1U)
11308 #define S_PL_BAR2_REQVLD4 0
11309 #define V_PL_BAR2_REQVLD4(x) ((x) << S_PL_BAR2_REQVLD4)
11310 #define F_PL_BAR2_REQVLD4 V_PL_BAR2_REQVLD4(1U)
11312 #define A_PCIE_CDEBUG_REG_0X7 0x7
11313 #define A_PCIE_CDEBUG_REG_0X8 0x8
11314 #define A_PCIE_CDEBUG_REG_0X9 0x9
11315 #define A_PCIE_CDEBUG_REG_0XA 0xa
11317 #define S_VPD_RSPVLD 20
11318 #define M_VPD_RSPVLD 0xfffU
11319 #define V_VPD_RSPVLD(x) ((x) << S_VPD_RSPVLD)
11320 #define G_VPD_RSPVLD(x) (((x) >> S_VPD_RSPVLD) & M_VPD_RSPVLD)
11322 #define S_VPD_REQVLD2 9
11323 #define M_VPD_REQVLD2 0x7ffU
11324 #define V_VPD_REQVLD2(x) ((x) << S_VPD_REQVLD2)
11325 #define G_VPD_REQVLD2(x) (((x) >> S_VPD_REQVLD2) & M_VPD_REQVLD2)
11327 #define S_VPD_REQVLD3 6
11328 #define M_VPD_REQVLD3 0x7U
11329 #define V_VPD_REQVLD3(x) ((x) << S_VPD_REQVLD3)
11330 #define G_VPD_REQVLD3(x) (((x) >> S_VPD_REQVLD3) & M_VPD_REQVLD3)
11332 #define S_VPD_REQVLD4 5
11333 #define V_VPD_REQVLD4(x) ((x) << S_VPD_REQVLD4)
11334 #define F_VPD_REQVLD4 V_VPD_REQVLD4(1U)
11336 #define S_VPD_REQVLD5 3
11337 #define M_VPD_REQVLD5 0x3U
11338 #define V_VPD_REQVLD5(x) ((x) << S_VPD_REQVLD5)
11339 #define G_VPD_REQVLD5(x) (((x) >> S_VPD_REQVLD5) & M_VPD_REQVLD5)
11341 #define S_VPD_RSPVLD2 2
11342 #define V_VPD_RSPVLD2(x) ((x) << S_VPD_RSPVLD2)
11343 #define F_VPD_RSPVLD2 V_VPD_RSPVLD2(1U)
11345 #define S_VPD_RSPVLD3 1
11346 #define V_VPD_RSPVLD3(x) ((x) << S_VPD_RSPVLD3)
11347 #define F_VPD_RSPVLD3 V_VPD_RSPVLD3(1U)
11349 #define S_VPD_REQVLD6 0
11350 #define V_VPD_REQVLD6(x) ((x) << S_VPD_REQVLD6)
11351 #define F_VPD_REQVLD6 V_VPD_REQVLD6(1U)
11353 #define A_PCIE_CDEBUG_REG_0XB 0xb
11355 #define S_MA_REQDATAVLD 28
11356 #define M_MA_REQDATAVLD 0xfU
11357 #define V_MA_REQDATAVLD(x) ((x) << S_MA_REQDATAVLD)
11358 #define G_MA_REQDATAVLD(x) (((x) >> S_MA_REQDATAVLD) & M_MA_REQDATAVLD)
11360 #define S_MA_REQADDRVLD 27
11361 #define V_MA_REQADDRVLD(x) ((x) << S_MA_REQADDRVLD)
11362 #define F_MA_REQADDRVLD V_MA_REQADDRVLD(1U)
11364 #define S_MA_REQADDRVLD2 26
11365 #define V_MA_REQADDRVLD2(x) ((x) << S_MA_REQADDRVLD2)
11366 #define F_MA_REQADDRVLD2 V_MA_REQADDRVLD2(1U)
11368 #define S_MA_RSPDATAVLD2 22
11369 #define M_MA_RSPDATAVLD2 0xfU
11370 #define V_MA_RSPDATAVLD2(x) ((x) << S_MA_RSPDATAVLD2)
11371 #define G_MA_RSPDATAVLD2(x) (((x) >> S_MA_RSPDATAVLD2) & M_MA_RSPDATAVLD2)
11373 #define S_MA_REQADDRVLD3 20
11374 #define M_MA_REQADDRVLD3 0x3U
11375 #define V_MA_REQADDRVLD3(x) ((x) << S_MA_REQADDRVLD3)
11376 #define G_MA_REQADDRVLD3(x) (((x) >> S_MA_REQADDRVLD3) & M_MA_REQADDRVLD3)
11378 #define S_MA_REQADDRVLD4 4
11379 #define M_MA_REQADDRVLD4 0xffffU
11380 #define V_MA_REQADDRVLD4(x) ((x) << S_MA_REQADDRVLD4)
11381 #define G_MA_REQADDRVLD4(x) (((x) >> S_MA_REQADDRVLD4) & M_MA_REQADDRVLD4)
11383 #define S_MA_REQADDRVLD5 3
11384 #define V_MA_REQADDRVLD5(x) ((x) << S_MA_REQADDRVLD5)
11385 #define F_MA_REQADDRVLD5 V_MA_REQADDRVLD5(1U)
11387 #define S_MA_REQADDRVLD6 2
11388 #define V_MA_REQADDRVLD6(x) ((x) << S_MA_REQADDRVLD6)
11389 #define F_MA_REQADDRVLD6 V_MA_REQADDRVLD6(1U)
11391 #define S_MA_REQADDRRDY 1
11392 #define V_MA_REQADDRRDY(x) ((x) << S_MA_REQADDRRDY)
11393 #define F_MA_REQADDRRDY V_MA_REQADDRRDY(1U)
11395 #define S_MA_REQADDRVLD7 0
11396 #define V_MA_REQADDRVLD7(x) ((x) << S_MA_REQADDRVLD7)
11397 #define F_MA_REQADDRVLD7 V_MA_REQADDRVLD7(1U)
11399 #define A_PCIE_CDEBUG_REG_0XC 0xc
11400 #define A_PCIE_CDEBUG_REG_0XD 0xd
11401 #define A_PCIE_CDEBUG_REG_0XE 0xe
11402 #define A_PCIE_CDEBUG_REG_0XF 0xf
11403 #define A_PCIE_CDEBUG_REG_0X10 0x10
11404 #define A_PCIE_CDEBUG_REG_0X11 0x11
11405 #define A_PCIE_CDEBUG_REG_0X12 0x12
11406 #define A_PCIE_CDEBUG_REG_0X13 0x13
11407 #define A_PCIE_CDEBUG_REG_0X14 0x14
11408 #define A_PCIE_CDEBUG_REG_0X15 0x15
11410 #define S_PLM_REQVLD 19
11411 #define M_PLM_REQVLD 0x1fffU
11412 #define V_PLM_REQVLD(x) ((x) << S_PLM_REQVLD)
11413 #define G_PLM_REQVLD(x) (((x) >> S_PLM_REQVLD) & M_PLM_REQVLD)
11415 #define S_PLM_REQVLD2 18
11416 #define V_PLM_REQVLD2(x) ((x) << S_PLM_REQVLD2)
11417 #define F_PLM_REQVLD2 V_PLM_REQVLD2(1U)
11419 #define S_PLM_RSPVLD3 17
11420 #define V_PLM_RSPVLD3(x) ((x) << S_PLM_RSPVLD3)
11421 #define F_PLM_RSPVLD3 V_PLM_RSPVLD3(1U)
11423 #define S_PLM_REQVLD4 16
11424 #define V_PLM_REQVLD4(x) ((x) << S_PLM_REQVLD4)
11425 #define F_PLM_REQVLD4 V_PLM_REQVLD4(1U)
11427 #define S_PLM_REQVLD5 15
11428 #define V_PLM_REQVLD5(x) ((x) << S_PLM_REQVLD5)
11429 #define F_PLM_REQVLD5 V_PLM_REQVLD5(1U)
11431 #define S_PLM_REQVLD6 14
11432 #define V_PLM_REQVLD6(x) ((x) << S_PLM_REQVLD6)
11433 #define F_PLM_REQVLD6 V_PLM_REQVLD6(1U)
11435 #define S_PLM_REQVLD7 13
11436 #define V_PLM_REQVLD7(x) ((x) << S_PLM_REQVLD7)
11437 #define F_PLM_REQVLD7 V_PLM_REQVLD7(1U)
11439 #define S_PLM_REQVLD8 12
11440 #define V_PLM_REQVLD8(x) ((x) << S_PLM_REQVLD8)
11441 #define F_PLM_REQVLD8 V_PLM_REQVLD8(1U)
11443 #define S_PLM_REQVLD9 4
11444 #define M_PLM_REQVLD9 0xffU
11445 #define V_PLM_REQVLD9(x) ((x) << S_PLM_REQVLD9)
11446 #define G_PLM_REQVLD9(x) (((x) >> S_PLM_REQVLD9) & M_PLM_REQVLD9)
11448 #define S_PLM_REQVLDA 1
11449 #define M_PLM_REQVLDA 0x7U
11450 #define V_PLM_REQVLDA(x) ((x) << S_PLM_REQVLDA)
11451 #define G_PLM_REQVLDA(x) (((x) >> S_PLM_REQVLDA) & M_PLM_REQVLDA)
11453 #define S_PLM_REQVLDB 0
11454 #define V_PLM_REQVLDB(x) ((x) << S_PLM_REQVLDB)
11455 #define F_PLM_REQVLDB V_PLM_REQVLDB(1U)
11457 #define A_PCIE_CDEBUG_REG_0X16 0x16
11458 #define A_PCIE_CDEBUG_REG_0X17 0x17
11459 #define A_PCIE_CDEBUG_REG_0X18 0x18
11460 #define A_PCIE_CDEBUG_REG_0X19 0x19
11461 #define A_PCIE_CDEBUG_REG_0X1A 0x1a
11462 #define A_PCIE_CDEBUG_REG_0X1B 0x1b
11463 #define A_PCIE_CDEBUG_REG_0X1C 0x1c
11464 #define A_PCIE_CDEBUG_REG_0X1D 0x1d
11465 #define A_PCIE_CDEBUG_REG_0X1E 0x1e
11466 #define A_PCIE_CDEBUG_REG_0X1F 0x1f
11467 #define A_PCIE_CDEBUG_REG_0X20 0x20
11468 #define A_PCIE_CDEBUG_REG_0X21 0x21
11469 #define A_PCIE_CDEBUG_REG_0X22 0x22
11470 #define A_PCIE_CDEBUG_REG_0X23 0x23
11471 #define A_PCIE_CDEBUG_REG_0X24 0x24
11472 #define A_PCIE_CDEBUG_REG_0X25 0x25
11473 #define A_PCIE_CDEBUG_REG_0X26 0x26
11474 #define A_PCIE_CDEBUG_REG_0X27 0x27
11475 #define A_PCIE_CDEBUG_REG_0X28 0x28
11476 #define A_PCIE_CDEBUG_REG_0X29 0x29
11477 #define A_PCIE_CDEBUG_REG_0X2A 0x2a
11478 #define A_PCIE_CDEBUG_REG_0X2B 0x2b
11479 #define A_PCIE_CDEBUG_REG_0X2C 0x2c
11480 #define A_PCIE_CDEBUG_REG_0X2D 0x2d
11481 #define A_PCIE_CDEBUG_REG_0X2E 0x2e
11482 #define A_PCIE_CDEBUG_REG_0X2F 0x2f
11483 #define A_PCIE_CDEBUG_REG_0X30 0x30
11484 #define A_PCIE_CDEBUG_REG_0X31 0x31
11485 #define A_PCIE_CDEBUG_REG_0X32 0x32
11486 #define A_PCIE_CDEBUG_REG_0X33 0x33
11487 #define A_PCIE_CDEBUG_REG_0X34 0x34
11488 #define A_PCIE_CDEBUG_REG_0X35 0x35
11489 #define A_PCIE_CDEBUG_REG_0X36 0x36
11490 #define A_PCIE_CDEBUG_REG_0X37 0x37
11492 /* registers for module DBG */
11493 #define DBG_BASE_ADDR 0x6000
11495 #define A_DBG_DBG0_CFG 0x6000
11497 #define S_MODULESELECT 12
11498 #define M_MODULESELECT 0xffU
11499 #define V_MODULESELECT(x) ((x) << S_MODULESELECT)
11500 #define G_MODULESELECT(x) (((x) >> S_MODULESELECT) & M_MODULESELECT)
11502 #define S_REGSELECT 4
11503 #define M_REGSELECT 0xffU
11504 #define V_REGSELECT(x) ((x) << S_REGSELECT)
11505 #define G_REGSELECT(x) (((x) >> S_REGSELECT) & M_REGSELECT)
11507 #define S_CLKSELECT 0
11508 #define M_CLKSELECT 0xfU
11509 #define V_CLKSELECT(x) ((x) << S_CLKSELECT)
11510 #define G_CLKSELECT(x) (((x) >> S_CLKSELECT) & M_CLKSELECT)
11512 #define A_DBG_DBG0_EN 0x6004
11514 #define S_PORTEN_PONR 16
11515 #define V_PORTEN_PONR(x) ((x) << S_PORTEN_PONR)
11516 #define F_PORTEN_PONR V_PORTEN_PONR(1U)
11518 #define S_PORTEN_POND 12
11519 #define V_PORTEN_POND(x) ((x) << S_PORTEN_POND)
11520 #define F_PORTEN_POND V_PORTEN_POND(1U)
11522 #define S_SDRHALFWORD0 8
11523 #define V_SDRHALFWORD0(x) ((x) << S_SDRHALFWORD0)
11524 #define F_SDRHALFWORD0 V_SDRHALFWORD0(1U)
11527 #define V_DDREN(x) ((x) << S_DDREN)
11528 #define F_DDREN V_DDREN(1U)
11530 #define S_DBG_PORTEN 0
11531 #define V_DBG_PORTEN(x) ((x) << S_DBG_PORTEN)
11532 #define F_DBG_PORTEN V_DBG_PORTEN(1U)
11534 #define A_DBG_DBG1_CFG 0x6008
11535 #define A_DBG_DBG1_EN 0x600c
11537 #define S_CLK_EN_ON_DBG1 20
11538 #define V_CLK_EN_ON_DBG1(x) ((x) << S_CLK_EN_ON_DBG1)
11539 #define F_CLK_EN_ON_DBG1 V_CLK_EN_ON_DBG1(1U)
11541 #define A_DBG_GPIO_EN 0x6010
11543 #define S_GPIO15_OEN 31
11544 #define V_GPIO15_OEN(x) ((x) << S_GPIO15_OEN)
11545 #define F_GPIO15_OEN V_GPIO15_OEN(1U)
11547 #define S_GPIO14_OEN 30
11548 #define V_GPIO14_OEN(x) ((x) << S_GPIO14_OEN)
11549 #define F_GPIO14_OEN V_GPIO14_OEN(1U)
11551 #define S_GPIO13_OEN 29
11552 #define V_GPIO13_OEN(x) ((x) << S_GPIO13_OEN)
11553 #define F_GPIO13_OEN V_GPIO13_OEN(1U)
11555 #define S_GPIO12_OEN 28
11556 #define V_GPIO12_OEN(x) ((x) << S_GPIO12_OEN)
11557 #define F_GPIO12_OEN V_GPIO12_OEN(1U)
11559 #define S_GPIO11_OEN 27
11560 #define V_GPIO11_OEN(x) ((x) << S_GPIO11_OEN)
11561 #define F_GPIO11_OEN V_GPIO11_OEN(1U)
11563 #define S_GPIO10_OEN 26
11564 #define V_GPIO10_OEN(x) ((x) << S_GPIO10_OEN)
11565 #define F_GPIO10_OEN V_GPIO10_OEN(1U)
11567 #define S_GPIO9_OEN 25
11568 #define V_GPIO9_OEN(x) ((x) << S_GPIO9_OEN)
11569 #define F_GPIO9_OEN V_GPIO9_OEN(1U)
11571 #define S_GPIO8_OEN 24
11572 #define V_GPIO8_OEN(x) ((x) << S_GPIO8_OEN)
11573 #define F_GPIO8_OEN V_GPIO8_OEN(1U)
11575 #define S_GPIO7_OEN 23
11576 #define V_GPIO7_OEN(x) ((x) << S_GPIO7_OEN)
11577 #define F_GPIO7_OEN V_GPIO7_OEN(1U)
11579 #define S_GPIO6_OEN 22
11580 #define V_GPIO6_OEN(x) ((x) << S_GPIO6_OEN)
11581 #define F_GPIO6_OEN V_GPIO6_OEN(1U)
11583 #define S_GPIO5_OEN 21
11584 #define V_GPIO5_OEN(x) ((x) << S_GPIO5_OEN)
11585 #define F_GPIO5_OEN V_GPIO5_OEN(1U)
11587 #define S_GPIO4_OEN 20
11588 #define V_GPIO4_OEN(x) ((x) << S_GPIO4_OEN)
11589 #define F_GPIO4_OEN V_GPIO4_OEN(1U)
11591 #define S_GPIO3_OEN 19
11592 #define V_GPIO3_OEN(x) ((x) << S_GPIO3_OEN)
11593 #define F_GPIO3_OEN V_GPIO3_OEN(1U)
11595 #define S_GPIO2_OEN 18
11596 #define V_GPIO2_OEN(x) ((x) << S_GPIO2_OEN)
11597 #define F_GPIO2_OEN V_GPIO2_OEN(1U)
11599 #define S_GPIO1_OEN 17
11600 #define V_GPIO1_OEN(x) ((x) << S_GPIO1_OEN)
11601 #define F_GPIO1_OEN V_GPIO1_OEN(1U)
11603 #define S_GPIO0_OEN 16
11604 #define V_GPIO0_OEN(x) ((x) << S_GPIO0_OEN)
11605 #define F_GPIO0_OEN V_GPIO0_OEN(1U)
11607 #define S_GPIO15_OUT_VAL 15
11608 #define V_GPIO15_OUT_VAL(x) ((x) << S_GPIO15_OUT_VAL)
11609 #define F_GPIO15_OUT_VAL V_GPIO15_OUT_VAL(1U)
11611 #define S_GPIO14_OUT_VAL 14
11612 #define V_GPIO14_OUT_VAL(x) ((x) << S_GPIO14_OUT_VAL)
11613 #define F_GPIO14_OUT_VAL V_GPIO14_OUT_VAL(1U)
11615 #define S_GPIO13_OUT_VAL 13
11616 #define V_GPIO13_OUT_VAL(x) ((x) << S_GPIO13_OUT_VAL)
11617 #define F_GPIO13_OUT_VAL V_GPIO13_OUT_VAL(1U)
11619 #define S_GPIO12_OUT_VAL 12
11620 #define V_GPIO12_OUT_VAL(x) ((x) << S_GPIO12_OUT_VAL)
11621 #define F_GPIO12_OUT_VAL V_GPIO12_OUT_VAL(1U)
11623 #define S_GPIO11_OUT_VAL 11
11624 #define V_GPIO11_OUT_VAL(x) ((x) << S_GPIO11_OUT_VAL)
11625 #define F_GPIO11_OUT_VAL V_GPIO11_OUT_VAL(1U)
11627 #define S_GPIO10_OUT_VAL 10
11628 #define V_GPIO10_OUT_VAL(x) ((x) << S_GPIO10_OUT_VAL)
11629 #define F_GPIO10_OUT_VAL V_GPIO10_OUT_VAL(1U)
11631 #define S_GPIO9_OUT_VAL 9
11632 #define V_GPIO9_OUT_VAL(x) ((x) << S_GPIO9_OUT_VAL)
11633 #define F_GPIO9_OUT_VAL V_GPIO9_OUT_VAL(1U)
11635 #define S_GPIO8_OUT_VAL 8
11636 #define V_GPIO8_OUT_VAL(x) ((x) << S_GPIO8_OUT_VAL)
11637 #define F_GPIO8_OUT_VAL V_GPIO8_OUT_VAL(1U)
11639 #define S_GPIO7_OUT_VAL 7
11640 #define V_GPIO7_OUT_VAL(x) ((x) << S_GPIO7_OUT_VAL)
11641 #define F_GPIO7_OUT_VAL V_GPIO7_OUT_VAL(1U)
11643 #define S_GPIO6_OUT_VAL 6
11644 #define V_GPIO6_OUT_VAL(x) ((x) << S_GPIO6_OUT_VAL)
11645 #define F_GPIO6_OUT_VAL V_GPIO6_OUT_VAL(1U)
11647 #define S_GPIO5_OUT_VAL 5
11648 #define V_GPIO5_OUT_VAL(x) ((x) << S_GPIO5_OUT_VAL)
11649 #define F_GPIO5_OUT_VAL V_GPIO5_OUT_VAL(1U)
11651 #define S_GPIO4_OUT_VAL 4
11652 #define V_GPIO4_OUT_VAL(x) ((x) << S_GPIO4_OUT_VAL)
11653 #define F_GPIO4_OUT_VAL V_GPIO4_OUT_VAL(1U)
11655 #define S_GPIO3_OUT_VAL 3
11656 #define V_GPIO3_OUT_VAL(x) ((x) << S_GPIO3_OUT_VAL)
11657 #define F_GPIO3_OUT_VAL V_GPIO3_OUT_VAL(1U)
11659 #define S_GPIO2_OUT_VAL 2
11660 #define V_GPIO2_OUT_VAL(x) ((x) << S_GPIO2_OUT_VAL)
11661 #define F_GPIO2_OUT_VAL V_GPIO2_OUT_VAL(1U)
11663 #define S_GPIO1_OUT_VAL 1
11664 #define V_GPIO1_OUT_VAL(x) ((x) << S_GPIO1_OUT_VAL)
11665 #define F_GPIO1_OUT_VAL V_GPIO1_OUT_VAL(1U)
11667 #define S_GPIO0_OUT_VAL 0
11668 #define V_GPIO0_OUT_VAL(x) ((x) << S_GPIO0_OUT_VAL)
11669 #define F_GPIO0_OUT_VAL V_GPIO0_OUT_VAL(1U)
11671 #define A_DBG_GPIO_IN 0x6014
11673 #define S_GPIO15_CHG_DET 31
11674 #define V_GPIO15_CHG_DET(x) ((x) << S_GPIO15_CHG_DET)
11675 #define F_GPIO15_CHG_DET V_GPIO15_CHG_DET(1U)
11677 #define S_GPIO14_CHG_DET 30
11678 #define V_GPIO14_CHG_DET(x) ((x) << S_GPIO14_CHG_DET)
11679 #define F_GPIO14_CHG_DET V_GPIO14_CHG_DET(1U)
11681 #define S_GPIO13_CHG_DET 29
11682 #define V_GPIO13_CHG_DET(x) ((x) << S_GPIO13_CHG_DET)
11683 #define F_GPIO13_CHG_DET V_GPIO13_CHG_DET(1U)
11685 #define S_GPIO12_CHG_DET 28
11686 #define V_GPIO12_CHG_DET(x) ((x) << S_GPIO12_CHG_DET)
11687 #define F_GPIO12_CHG_DET V_GPIO12_CHG_DET(1U)
11689 #define S_GPIO11_CHG_DET 27
11690 #define V_GPIO11_CHG_DET(x) ((x) << S_GPIO11_CHG_DET)
11691 #define F_GPIO11_CHG_DET V_GPIO11_CHG_DET(1U)
11693 #define S_GPIO10_CHG_DET 26
11694 #define V_GPIO10_CHG_DET(x) ((x) << S_GPIO10_CHG_DET)
11695 #define F_GPIO10_CHG_DET V_GPIO10_CHG_DET(1U)
11697 #define S_GPIO9_CHG_DET 25
11698 #define V_GPIO9_CHG_DET(x) ((x) << S_GPIO9_CHG_DET)
11699 #define F_GPIO9_CHG_DET V_GPIO9_CHG_DET(1U)
11701 #define S_GPIO8_CHG_DET 24
11702 #define V_GPIO8_CHG_DET(x) ((x) << S_GPIO8_CHG_DET)
11703 #define F_GPIO8_CHG_DET V_GPIO8_CHG_DET(1U)
11705 #define S_GPIO7_CHG_DET 23
11706 #define V_GPIO7_CHG_DET(x) ((x) << S_GPIO7_CHG_DET)
11707 #define F_GPIO7_CHG_DET V_GPIO7_CHG_DET(1U)
11709 #define S_GPIO6_CHG_DET 22
11710 #define V_GPIO6_CHG_DET(x) ((x) << S_GPIO6_CHG_DET)
11711 #define F_GPIO6_CHG_DET V_GPIO6_CHG_DET(1U)
11713 #define S_GPIO5_CHG_DET 21
11714 #define V_GPIO5_CHG_DET(x) ((x) << S_GPIO5_CHG_DET)
11715 #define F_GPIO5_CHG_DET V_GPIO5_CHG_DET(1U)
11717 #define S_GPIO4_CHG_DET 20
11718 #define V_GPIO4_CHG_DET(x) ((x) << S_GPIO4_CHG_DET)
11719 #define F_GPIO4_CHG_DET V_GPIO4_CHG_DET(1U)
11721 #define S_GPIO3_CHG_DET 19
11722 #define V_GPIO3_CHG_DET(x) ((x) << S_GPIO3_CHG_DET)
11723 #define F_GPIO3_CHG_DET V_GPIO3_CHG_DET(1U)
11725 #define S_GPIO2_CHG_DET 18
11726 #define V_GPIO2_CHG_DET(x) ((x) << S_GPIO2_CHG_DET)
11727 #define F_GPIO2_CHG_DET V_GPIO2_CHG_DET(1U)
11729 #define S_GPIO1_CHG_DET 17
11730 #define V_GPIO1_CHG_DET(x) ((x) << S_GPIO1_CHG_DET)
11731 #define F_GPIO1_CHG_DET V_GPIO1_CHG_DET(1U)
11733 #define S_GPIO0_CHG_DET 16
11734 #define V_GPIO0_CHG_DET(x) ((x) << S_GPIO0_CHG_DET)
11735 #define F_GPIO0_CHG_DET V_GPIO0_CHG_DET(1U)
11737 #define S_GPIO15_IN 15
11738 #define V_GPIO15_IN(x) ((x) << S_GPIO15_IN)
11739 #define F_GPIO15_IN V_GPIO15_IN(1U)
11741 #define S_GPIO14_IN 14
11742 #define V_GPIO14_IN(x) ((x) << S_GPIO14_IN)
11743 #define F_GPIO14_IN V_GPIO14_IN(1U)
11745 #define S_GPIO13_IN 13
11746 #define V_GPIO13_IN(x) ((x) << S_GPIO13_IN)
11747 #define F_GPIO13_IN V_GPIO13_IN(1U)
11749 #define S_GPIO12_IN 12
11750 #define V_GPIO12_IN(x) ((x) << S_GPIO12_IN)
11751 #define F_GPIO12_IN V_GPIO12_IN(1U)
11753 #define S_GPIO11_IN 11
11754 #define V_GPIO11_IN(x) ((x) << S_GPIO11_IN)
11755 #define F_GPIO11_IN V_GPIO11_IN(1U)
11757 #define S_GPIO10_IN 10
11758 #define V_GPIO10_IN(x) ((x) << S_GPIO10_IN)
11759 #define F_GPIO10_IN V_GPIO10_IN(1U)
11761 #define S_GPIO9_IN 9
11762 #define V_GPIO9_IN(x) ((x) << S_GPIO9_IN)
11763 #define F_GPIO9_IN V_GPIO9_IN(1U)
11765 #define S_GPIO8_IN 8
11766 #define V_GPIO8_IN(x) ((x) << S_GPIO8_IN)
11767 #define F_GPIO8_IN V_GPIO8_IN(1U)
11769 #define S_GPIO7_IN 7
11770 #define V_GPIO7_IN(x) ((x) << S_GPIO7_IN)
11771 #define F_GPIO7_IN V_GPIO7_IN(1U)
11773 #define S_GPIO6_IN 6
11774 #define V_GPIO6_IN(x) ((x) << S_GPIO6_IN)
11775 #define F_GPIO6_IN V_GPIO6_IN(1U)
11777 #define S_GPIO5_IN 5
11778 #define V_GPIO5_IN(x) ((x) << S_GPIO5_IN)
11779 #define F_GPIO5_IN V_GPIO5_IN(1U)
11781 #define S_GPIO4_IN 4
11782 #define V_GPIO4_IN(x) ((x) << S_GPIO4_IN)
11783 #define F_GPIO4_IN V_GPIO4_IN(1U)
11785 #define S_GPIO3_IN 3
11786 #define V_GPIO3_IN(x) ((x) << S_GPIO3_IN)
11787 #define F_GPIO3_IN V_GPIO3_IN(1U)
11789 #define S_GPIO2_IN 2
11790 #define V_GPIO2_IN(x) ((x) << S_GPIO2_IN)
11791 #define F_GPIO2_IN V_GPIO2_IN(1U)
11793 #define S_GPIO1_IN 1
11794 #define V_GPIO1_IN(x) ((x) << S_GPIO1_IN)
11795 #define F_GPIO1_IN V_GPIO1_IN(1U)
11797 #define S_GPIO0_IN 0
11798 #define V_GPIO0_IN(x) ((x) << S_GPIO0_IN)
11799 #define F_GPIO0_IN V_GPIO0_IN(1U)
11801 #define A_DBG_INT_ENABLE 0x6018
11803 #define S_IBM_FDL_FAIL_INT_ENBL 25
11804 #define V_IBM_FDL_FAIL_INT_ENBL(x) ((x) << S_IBM_FDL_FAIL_INT_ENBL)
11805 #define F_IBM_FDL_FAIL_INT_ENBL V_IBM_FDL_FAIL_INT_ENBL(1U)
11807 #define S_ARM_FAIL_INT_ENBL 24
11808 #define V_ARM_FAIL_INT_ENBL(x) ((x) << S_ARM_FAIL_INT_ENBL)
11809 #define F_ARM_FAIL_INT_ENBL V_ARM_FAIL_INT_ENBL(1U)
11811 #define S_ARM_ERROR_OUT_INT_ENBL 23
11812 #define V_ARM_ERROR_OUT_INT_ENBL(x) ((x) << S_ARM_ERROR_OUT_INT_ENBL)
11813 #define F_ARM_ERROR_OUT_INT_ENBL V_ARM_ERROR_OUT_INT_ENBL(1U)
11815 #define S_PLL_LOCK_LOST_INT_ENBL 22
11816 #define V_PLL_LOCK_LOST_INT_ENBL(x) ((x) << S_PLL_LOCK_LOST_INT_ENBL)
11817 #define F_PLL_LOCK_LOST_INT_ENBL V_PLL_LOCK_LOST_INT_ENBL(1U)
11819 #define S_C_LOCK 21
11820 #define V_C_LOCK(x) ((x) << S_C_LOCK)
11821 #define F_C_LOCK V_C_LOCK(1U)
11823 #define S_M_LOCK 20
11824 #define V_M_LOCK(x) ((x) << S_M_LOCK)
11825 #define F_M_LOCK V_M_LOCK(1U)
11827 #define S_U_LOCK 19
11828 #define V_U_LOCK(x) ((x) << S_U_LOCK)
11829 #define F_U_LOCK V_U_LOCK(1U)
11831 #define S_PCIE_LOCK 18
11832 #define V_PCIE_LOCK(x) ((x) << S_PCIE_LOCK)
11833 #define F_PCIE_LOCK V_PCIE_LOCK(1U)
11835 #define S_KX_LOCK 17
11836 #define V_KX_LOCK(x) ((x) << S_KX_LOCK)
11837 #define F_KX_LOCK V_KX_LOCK(1U)
11839 #define S_KR_LOCK 16
11840 #define V_KR_LOCK(x) ((x) << S_KR_LOCK)
11841 #define F_KR_LOCK V_KR_LOCK(1U)
11843 #define S_GPIO15 15
11844 #define V_GPIO15(x) ((x) << S_GPIO15)
11845 #define F_GPIO15 V_GPIO15(1U)
11847 #define S_GPIO14 14
11848 #define V_GPIO14(x) ((x) << S_GPIO14)
11849 #define F_GPIO14 V_GPIO14(1U)
11851 #define S_GPIO13 13
11852 #define V_GPIO13(x) ((x) << S_GPIO13)
11853 #define F_GPIO13 V_GPIO13(1U)
11855 #define S_GPIO12 12
11856 #define V_GPIO12(x) ((x) << S_GPIO12)
11857 #define F_GPIO12 V_GPIO12(1U)
11859 #define S_GPIO11 11
11860 #define V_GPIO11(x) ((x) << S_GPIO11)
11861 #define F_GPIO11 V_GPIO11(1U)
11863 #define S_GPIO10 10
11864 #define V_GPIO10(x) ((x) << S_GPIO10)
11865 #define F_GPIO10 V_GPIO10(1U)
11868 #define V_GPIO9(x) ((x) << S_GPIO9)
11869 #define F_GPIO9 V_GPIO9(1U)
11872 #define V_GPIO8(x) ((x) << S_GPIO8)
11873 #define F_GPIO8 V_GPIO8(1U)
11876 #define V_GPIO7(x) ((x) << S_GPIO7)
11877 #define F_GPIO7 V_GPIO7(1U)
11880 #define V_GPIO6(x) ((x) << S_GPIO6)
11881 #define F_GPIO6 V_GPIO6(1U)
11884 #define V_GPIO5(x) ((x) << S_GPIO5)
11885 #define F_GPIO5 V_GPIO5(1U)
11888 #define V_GPIO4(x) ((x) << S_GPIO4)
11889 #define F_GPIO4 V_GPIO4(1U)
11892 #define V_GPIO3(x) ((x) << S_GPIO3)
11893 #define F_GPIO3 V_GPIO3(1U)
11896 #define V_GPIO2(x) ((x) << S_GPIO2)
11897 #define F_GPIO2 V_GPIO2(1U)
11900 #define V_GPIO1(x) ((x) << S_GPIO1)
11901 #define F_GPIO1 V_GPIO1(1U)
11904 #define V_GPIO0(x) ((x) << S_GPIO0)
11905 #define F_GPIO0 V_GPIO0(1U)
11907 #define S_GPIO19 29
11908 #define V_GPIO19(x) ((x) << S_GPIO19)
11909 #define F_GPIO19 V_GPIO19(1U)
11911 #define S_GPIO18 28
11912 #define V_GPIO18(x) ((x) << S_GPIO18)
11913 #define F_GPIO18 V_GPIO18(1U)
11915 #define S_GPIO17 27
11916 #define V_GPIO17(x) ((x) << S_GPIO17)
11917 #define F_GPIO17 V_GPIO17(1U)
11919 #define S_GPIO16 26
11920 #define V_GPIO16(x) ((x) << S_GPIO16)
11921 #define F_GPIO16 V_GPIO16(1U)
11923 #define A_DBG_INT_CAUSE 0x601c
11925 #define S_IBM_FDL_FAIL_INT_CAUSE 25
11926 #define V_IBM_FDL_FAIL_INT_CAUSE(x) ((x) << S_IBM_FDL_FAIL_INT_CAUSE)
11927 #define F_IBM_FDL_FAIL_INT_CAUSE V_IBM_FDL_FAIL_INT_CAUSE(1U)
11929 #define S_ARM_FAIL_INT_CAUSE 24
11930 #define V_ARM_FAIL_INT_CAUSE(x) ((x) << S_ARM_FAIL_INT_CAUSE)
11931 #define F_ARM_FAIL_INT_CAUSE V_ARM_FAIL_INT_CAUSE(1U)
11933 #define S_ARM_ERROR_OUT_INT_CAUSE 23
11934 #define V_ARM_ERROR_OUT_INT_CAUSE(x) ((x) << S_ARM_ERROR_OUT_INT_CAUSE)
11935 #define F_ARM_ERROR_OUT_INT_CAUSE V_ARM_ERROR_OUT_INT_CAUSE(1U)
11937 #define S_PLL_LOCK_LOST_INT_CAUSE 22
11938 #define V_PLL_LOCK_LOST_INT_CAUSE(x) ((x) << S_PLL_LOCK_LOST_INT_CAUSE)
11939 #define F_PLL_LOCK_LOST_INT_CAUSE V_PLL_LOCK_LOST_INT_CAUSE(1U)
11941 #define A_DBG_DBG0_RST_VALUE 0x6020
11943 #define S_DEBUGDATA 0
11944 #define M_DEBUGDATA 0xffffU
11945 #define V_DEBUGDATA(x) ((x) << S_DEBUGDATA)
11946 #define G_DEBUGDATA(x) (((x) >> S_DEBUGDATA) & M_DEBUGDATA)
11948 #define A_DBG_OVERWRSERCFG_EN 0x6024
11950 #define S_OVERWRSERCFG_EN 0
11951 #define V_OVERWRSERCFG_EN(x) ((x) << S_OVERWRSERCFG_EN)
11952 #define F_OVERWRSERCFG_EN V_OVERWRSERCFG_EN(1U)
11954 #define A_DBG_PLL_OCLK_PAD_EN 0x6028
11956 #define S_PCIE_OCLK_EN 20
11957 #define V_PCIE_OCLK_EN(x) ((x) << S_PCIE_OCLK_EN)
11958 #define F_PCIE_OCLK_EN V_PCIE_OCLK_EN(1U)
11960 #define S_KX_OCLK_EN 16
11961 #define V_KX_OCLK_EN(x) ((x) << S_KX_OCLK_EN)
11962 #define F_KX_OCLK_EN V_KX_OCLK_EN(1U)
11964 #define S_U_OCLK_EN 12
11965 #define V_U_OCLK_EN(x) ((x) << S_U_OCLK_EN)
11966 #define F_U_OCLK_EN V_U_OCLK_EN(1U)
11968 #define S_KR_OCLK_EN 8
11969 #define V_KR_OCLK_EN(x) ((x) << S_KR_OCLK_EN)
11970 #define F_KR_OCLK_EN V_KR_OCLK_EN(1U)
11972 #define S_M_OCLK_EN 4
11973 #define V_M_OCLK_EN(x) ((x) << S_M_OCLK_EN)
11974 #define F_M_OCLK_EN V_M_OCLK_EN(1U)
11976 #define S_C_OCLK_EN 0
11977 #define V_C_OCLK_EN(x) ((x) << S_C_OCLK_EN)
11978 #define F_C_OCLK_EN V_C_OCLK_EN(1U)
11980 #define A_DBG_PLL_LOCK 0x602c
11982 #define S_PLL_P_LOCK 20
11983 #define V_PLL_P_LOCK(x) ((x) << S_PLL_P_LOCK)
11984 #define F_PLL_P_LOCK V_PLL_P_LOCK(1U)
11986 #define S_PLL_KX_LOCK 16
11987 #define V_PLL_KX_LOCK(x) ((x) << S_PLL_KX_LOCK)
11988 #define F_PLL_KX_LOCK V_PLL_KX_LOCK(1U)
11990 #define S_PLL_U_LOCK 12
11991 #define V_PLL_U_LOCK(x) ((x) << S_PLL_U_LOCK)
11992 #define F_PLL_U_LOCK V_PLL_U_LOCK(1U)
11994 #define S_PLL_KR_LOCK 8
11995 #define V_PLL_KR_LOCK(x) ((x) << S_PLL_KR_LOCK)
11996 #define F_PLL_KR_LOCK V_PLL_KR_LOCK(1U)
11998 #define S_PLL_M_LOCK 4
11999 #define V_PLL_M_LOCK(x) ((x) << S_PLL_M_LOCK)
12000 #define F_PLL_M_LOCK V_PLL_M_LOCK(1U)
12002 #define S_PLL_C_LOCK 0
12003 #define V_PLL_C_LOCK(x) ((x) << S_PLL_C_LOCK)
12004 #define F_PLL_C_LOCK V_PLL_C_LOCK(1U)
12006 #define A_DBG_GPIO_ACT_LOW 0x6030
12008 #define S_P_LOCK_ACT_LOW 21
12009 #define V_P_LOCK_ACT_LOW(x) ((x) << S_P_LOCK_ACT_LOW)
12010 #define F_P_LOCK_ACT_LOW V_P_LOCK_ACT_LOW(1U)
12012 #define S_C_LOCK_ACT_LOW 20
12013 #define V_C_LOCK_ACT_LOW(x) ((x) << S_C_LOCK_ACT_LOW)
12014 #define F_C_LOCK_ACT_LOW V_C_LOCK_ACT_LOW(1U)
12016 #define S_M_LOCK_ACT_LOW 19
12017 #define V_M_LOCK_ACT_LOW(x) ((x) << S_M_LOCK_ACT_LOW)
12018 #define F_M_LOCK_ACT_LOW V_M_LOCK_ACT_LOW(1U)
12020 #define S_U_LOCK_ACT_LOW 18
12021 #define V_U_LOCK_ACT_LOW(x) ((x) << S_U_LOCK_ACT_LOW)
12022 #define F_U_LOCK_ACT_LOW V_U_LOCK_ACT_LOW(1U)
12024 #define S_KR_LOCK_ACT_LOW 17
12025 #define V_KR_LOCK_ACT_LOW(x) ((x) << S_KR_LOCK_ACT_LOW)
12026 #define F_KR_LOCK_ACT_LOW V_KR_LOCK_ACT_LOW(1U)
12028 #define S_KX_LOCK_ACT_LOW 16
12029 #define V_KX_LOCK_ACT_LOW(x) ((x) << S_KX_LOCK_ACT_LOW)
12030 #define F_KX_LOCK_ACT_LOW V_KX_LOCK_ACT_LOW(1U)
12032 #define S_GPIO15_ACT_LOW 15
12033 #define V_GPIO15_ACT_LOW(x) ((x) << S_GPIO15_ACT_LOW)
12034 #define F_GPIO15_ACT_LOW V_GPIO15_ACT_LOW(1U)
12036 #define S_GPIO14_ACT_LOW 14
12037 #define V_GPIO14_ACT_LOW(x) ((x) << S_GPIO14_ACT_LOW)
12038 #define F_GPIO14_ACT_LOW V_GPIO14_ACT_LOW(1U)
12040 #define S_GPIO13_ACT_LOW 13
12041 #define V_GPIO13_ACT_LOW(x) ((x) << S_GPIO13_ACT_LOW)
12042 #define F_GPIO13_ACT_LOW V_GPIO13_ACT_LOW(1U)
12044 #define S_GPIO12_ACT_LOW 12
12045 #define V_GPIO12_ACT_LOW(x) ((x) << S_GPIO12_ACT_LOW)
12046 #define F_GPIO12_ACT_LOW V_GPIO12_ACT_LOW(1U)
12048 #define S_GPIO11_ACT_LOW 11
12049 #define V_GPIO11_ACT_LOW(x) ((x) << S_GPIO11_ACT_LOW)
12050 #define F_GPIO11_ACT_LOW V_GPIO11_ACT_LOW(1U)
12052 #define S_GPIO10_ACT_LOW 10
12053 #define V_GPIO10_ACT_LOW(x) ((x) << S_GPIO10_ACT_LOW)
12054 #define F_GPIO10_ACT_LOW V_GPIO10_ACT_LOW(1U)
12056 #define S_GPIO9_ACT_LOW 9
12057 #define V_GPIO9_ACT_LOW(x) ((x) << S_GPIO9_ACT_LOW)
12058 #define F_GPIO9_ACT_LOW V_GPIO9_ACT_LOW(1U)
12060 #define S_GPIO8_ACT_LOW 8
12061 #define V_GPIO8_ACT_LOW(x) ((x) << S_GPIO8_ACT_LOW)
12062 #define F_GPIO8_ACT_LOW V_GPIO8_ACT_LOW(1U)
12064 #define S_GPIO7_ACT_LOW 7
12065 #define V_GPIO7_ACT_LOW(x) ((x) << S_GPIO7_ACT_LOW)
12066 #define F_GPIO7_ACT_LOW V_GPIO7_ACT_LOW(1U)
12068 #define S_GPIO6_ACT_LOW 6
12069 #define V_GPIO6_ACT_LOW(x) ((x) << S_GPIO6_ACT_LOW)
12070 #define F_GPIO6_ACT_LOW V_GPIO6_ACT_LOW(1U)
12072 #define S_GPIO5_ACT_LOW 5
12073 #define V_GPIO5_ACT_LOW(x) ((x) << S_GPIO5_ACT_LOW)
12074 #define F_GPIO5_ACT_LOW V_GPIO5_ACT_LOW(1U)
12076 #define S_GPIO4_ACT_LOW 4
12077 #define V_GPIO4_ACT_LOW(x) ((x) << S_GPIO4_ACT_LOW)
12078 #define F_GPIO4_ACT_LOW V_GPIO4_ACT_LOW(1U)
12080 #define S_GPIO3_ACT_LOW 3
12081 #define V_GPIO3_ACT_LOW(x) ((x) << S_GPIO3_ACT_LOW)
12082 #define F_GPIO3_ACT_LOW V_GPIO3_ACT_LOW(1U)
12084 #define S_GPIO2_ACT_LOW 2
12085 #define V_GPIO2_ACT_LOW(x) ((x) << S_GPIO2_ACT_LOW)
12086 #define F_GPIO2_ACT_LOW V_GPIO2_ACT_LOW(1U)
12088 #define S_GPIO1_ACT_LOW 1
12089 #define V_GPIO1_ACT_LOW(x) ((x) << S_GPIO1_ACT_LOW)
12090 #define F_GPIO1_ACT_LOW V_GPIO1_ACT_LOW(1U)
12092 #define S_GPIO0_ACT_LOW 0
12093 #define V_GPIO0_ACT_LOW(x) ((x) << S_GPIO0_ACT_LOW)
12094 #define F_GPIO0_ACT_LOW V_GPIO0_ACT_LOW(1U)
12096 #define S_GPIO19_ACT_LOW 25
12097 #define V_GPIO19_ACT_LOW(x) ((x) << S_GPIO19_ACT_LOW)
12098 #define F_GPIO19_ACT_LOW V_GPIO19_ACT_LOW(1U)
12100 #define S_GPIO18_ACT_LOW 24
12101 #define V_GPIO18_ACT_LOW(x) ((x) << S_GPIO18_ACT_LOW)
12102 #define F_GPIO18_ACT_LOW V_GPIO18_ACT_LOW(1U)
12104 #define S_GPIO17_ACT_LOW 23
12105 #define V_GPIO17_ACT_LOW(x) ((x) << S_GPIO17_ACT_LOW)
12106 #define F_GPIO17_ACT_LOW V_GPIO17_ACT_LOW(1U)
12108 #define S_GPIO16_ACT_LOW 22
12109 #define V_GPIO16_ACT_LOW(x) ((x) << S_GPIO16_ACT_LOW)
12110 #define F_GPIO16_ACT_LOW V_GPIO16_ACT_LOW(1U)
12112 #define A_DBG_EFUSE_BYTE0_3 0x6034
12113 #define A_DBG_EFUSE_BYTE4_7 0x6038
12114 #define A_DBG_EFUSE_BYTE8_11 0x603c
12115 #define A_DBG_EFUSE_BYTE12_15 0x6040
12116 #define A_DBG_STATIC_U_PLL_CONF 0x6044
12118 #define S_STATIC_U_PLL_MULT 23
12119 #define M_STATIC_U_PLL_MULT 0x1ffU
12120 #define V_STATIC_U_PLL_MULT(x) ((x) << S_STATIC_U_PLL_MULT)
12121 #define G_STATIC_U_PLL_MULT(x) (((x) >> S_STATIC_U_PLL_MULT) & M_STATIC_U_PLL_MULT)
12123 #define S_STATIC_U_PLL_PREDIV 18
12124 #define M_STATIC_U_PLL_PREDIV 0x1fU
12125 #define V_STATIC_U_PLL_PREDIV(x) ((x) << S_STATIC_U_PLL_PREDIV)
12126 #define G_STATIC_U_PLL_PREDIV(x) (((x) >> S_STATIC_U_PLL_PREDIV) & M_STATIC_U_PLL_PREDIV)
12128 #define S_STATIC_U_PLL_RANGEA 14
12129 #define M_STATIC_U_PLL_RANGEA 0xfU
12130 #define V_STATIC_U_PLL_RANGEA(x) ((x) << S_STATIC_U_PLL_RANGEA)
12131 #define G_STATIC_U_PLL_RANGEA(x) (((x) >> S_STATIC_U_PLL_RANGEA) & M_STATIC_U_PLL_RANGEA)
12133 #define S_STATIC_U_PLL_RANGEB 10
12134 #define M_STATIC_U_PLL_RANGEB 0xfU
12135 #define V_STATIC_U_PLL_RANGEB(x) ((x) << S_STATIC_U_PLL_RANGEB)
12136 #define G_STATIC_U_PLL_RANGEB(x) (((x) >> S_STATIC_U_PLL_RANGEB) & M_STATIC_U_PLL_RANGEB)
12138 #define S_STATIC_U_PLL_TUNE 0
12139 #define M_STATIC_U_PLL_TUNE 0x3ffU
12140 #define V_STATIC_U_PLL_TUNE(x) ((x) << S_STATIC_U_PLL_TUNE)
12141 #define G_STATIC_U_PLL_TUNE(x) (((x) >> S_STATIC_U_PLL_TUNE) & M_STATIC_U_PLL_TUNE)
12143 #define A_DBG_STATIC_C_PLL_CONF 0x6048
12145 #define S_STATIC_C_PLL_MULT 23
12146 #define M_STATIC_C_PLL_MULT 0x1ffU
12147 #define V_STATIC_C_PLL_MULT(x) ((x) << S_STATIC_C_PLL_MULT)
12148 #define G_STATIC_C_PLL_MULT(x) (((x) >> S_STATIC_C_PLL_MULT) & M_STATIC_C_PLL_MULT)
12150 #define S_STATIC_C_PLL_PREDIV 18
12151 #define M_STATIC_C_PLL_PREDIV 0x1fU
12152 #define V_STATIC_C_PLL_PREDIV(x) ((x) << S_STATIC_C_PLL_PREDIV)
12153 #define G_STATIC_C_PLL_PREDIV(x) (((x) >> S_STATIC_C_PLL_PREDIV) & M_STATIC_C_PLL_PREDIV)
12155 #define S_STATIC_C_PLL_RANGEA 14
12156 #define M_STATIC_C_PLL_RANGEA 0xfU
12157 #define V_STATIC_C_PLL_RANGEA(x) ((x) << S_STATIC_C_PLL_RANGEA)
12158 #define G_STATIC_C_PLL_RANGEA(x) (((x) >> S_STATIC_C_PLL_RANGEA) & M_STATIC_C_PLL_RANGEA)
12160 #define S_STATIC_C_PLL_RANGEB 10
12161 #define M_STATIC_C_PLL_RANGEB 0xfU
12162 #define V_STATIC_C_PLL_RANGEB(x) ((x) << S_STATIC_C_PLL_RANGEB)
12163 #define G_STATIC_C_PLL_RANGEB(x) (((x) >> S_STATIC_C_PLL_RANGEB) & M_STATIC_C_PLL_RANGEB)
12165 #define S_STATIC_C_PLL_TUNE 0
12166 #define M_STATIC_C_PLL_TUNE 0x3ffU
12167 #define V_STATIC_C_PLL_TUNE(x) ((x) << S_STATIC_C_PLL_TUNE)
12168 #define G_STATIC_C_PLL_TUNE(x) (((x) >> S_STATIC_C_PLL_TUNE) & M_STATIC_C_PLL_TUNE)
12170 #define A_DBG_STATIC_M_PLL_CONF 0x604c
12172 #define S_STATIC_M_PLL_MULT 23
12173 #define M_STATIC_M_PLL_MULT 0x1ffU
12174 #define V_STATIC_M_PLL_MULT(x) ((x) << S_STATIC_M_PLL_MULT)
12175 #define G_STATIC_M_PLL_MULT(x) (((x) >> S_STATIC_M_PLL_MULT) & M_STATIC_M_PLL_MULT)
12177 #define S_STATIC_M_PLL_PREDIV 18
12178 #define M_STATIC_M_PLL_PREDIV 0x1fU
12179 #define V_STATIC_M_PLL_PREDIV(x) ((x) << S_STATIC_M_PLL_PREDIV)
12180 #define G_STATIC_M_PLL_PREDIV(x) (((x) >> S_STATIC_M_PLL_PREDIV) & M_STATIC_M_PLL_PREDIV)
12182 #define S_STATIC_M_PLL_RANGEA 14
12183 #define M_STATIC_M_PLL_RANGEA 0xfU
12184 #define V_STATIC_M_PLL_RANGEA(x) ((x) << S_STATIC_M_PLL_RANGEA)
12185 #define G_STATIC_M_PLL_RANGEA(x) (((x) >> S_STATIC_M_PLL_RANGEA) & M_STATIC_M_PLL_RANGEA)
12187 #define S_STATIC_M_PLL_RANGEB 10
12188 #define M_STATIC_M_PLL_RANGEB 0xfU
12189 #define V_STATIC_M_PLL_RANGEB(x) ((x) << S_STATIC_M_PLL_RANGEB)
12190 #define G_STATIC_M_PLL_RANGEB(x) (((x) >> S_STATIC_M_PLL_RANGEB) & M_STATIC_M_PLL_RANGEB)
12192 #define S_STATIC_M_PLL_TUNE 0
12193 #define M_STATIC_M_PLL_TUNE 0x3ffU
12194 #define V_STATIC_M_PLL_TUNE(x) ((x) << S_STATIC_M_PLL_TUNE)
12195 #define G_STATIC_M_PLL_TUNE(x) (((x) >> S_STATIC_M_PLL_TUNE) & M_STATIC_M_PLL_TUNE)
12197 #define A_DBG_STATIC_KX_PLL_CONF 0x6050
12199 #define S_STATIC_KX_PLL_C 21
12200 #define M_STATIC_KX_PLL_C 0xffU
12201 #define V_STATIC_KX_PLL_C(x) ((x) << S_STATIC_KX_PLL_C)
12202 #define G_STATIC_KX_PLL_C(x) (((x) >> S_STATIC_KX_PLL_C) & M_STATIC_KX_PLL_C)
12204 #define S_STATIC_KX_PLL_M 15
12205 #define M_STATIC_KX_PLL_M 0x3fU
12206 #define V_STATIC_KX_PLL_M(x) ((x) << S_STATIC_KX_PLL_M)
12207 #define G_STATIC_KX_PLL_M(x) (((x) >> S_STATIC_KX_PLL_M) & M_STATIC_KX_PLL_M)
12209 #define S_STATIC_KX_PLL_N1 11
12210 #define M_STATIC_KX_PLL_N1 0xfU
12211 #define V_STATIC_KX_PLL_N1(x) ((x) << S_STATIC_KX_PLL_N1)
12212 #define G_STATIC_KX_PLL_N1(x) (((x) >> S_STATIC_KX_PLL_N1) & M_STATIC_KX_PLL_N1)
12214 #define S_STATIC_KX_PLL_N2 7
12215 #define M_STATIC_KX_PLL_N2 0xfU
12216 #define V_STATIC_KX_PLL_N2(x) ((x) << S_STATIC_KX_PLL_N2)
12217 #define G_STATIC_KX_PLL_N2(x) (((x) >> S_STATIC_KX_PLL_N2) & M_STATIC_KX_PLL_N2)
12219 #define S_STATIC_KX_PLL_N3 3
12220 #define M_STATIC_KX_PLL_N3 0xfU
12221 #define V_STATIC_KX_PLL_N3(x) ((x) << S_STATIC_KX_PLL_N3)
12222 #define G_STATIC_KX_PLL_N3(x) (((x) >> S_STATIC_KX_PLL_N3) & M_STATIC_KX_PLL_N3)
12224 #define S_STATIC_KX_PLL_P 0
12225 #define M_STATIC_KX_PLL_P 0x7U
12226 #define V_STATIC_KX_PLL_P(x) ((x) << S_STATIC_KX_PLL_P)
12227 #define G_STATIC_KX_PLL_P(x) (((x) >> S_STATIC_KX_PLL_P) & M_STATIC_KX_PLL_P)
12229 #define A_DBG_STATIC_KR_PLL_CONF 0x6054
12231 #define S_STATIC_KR_PLL_C 21
12232 #define M_STATIC_KR_PLL_C 0xffU
12233 #define V_STATIC_KR_PLL_C(x) ((x) << S_STATIC_KR_PLL_C)
12234 #define G_STATIC_KR_PLL_C(x) (((x) >> S_STATIC_KR_PLL_C) & M_STATIC_KR_PLL_C)
12236 #define S_STATIC_KR_PLL_M 15
12237 #define M_STATIC_KR_PLL_M 0x3fU
12238 #define V_STATIC_KR_PLL_M(x) ((x) << S_STATIC_KR_PLL_M)
12239 #define G_STATIC_KR_PLL_M(x) (((x) >> S_STATIC_KR_PLL_M) & M_STATIC_KR_PLL_M)
12241 #define S_STATIC_KR_PLL_N1 11
12242 #define M_STATIC_KR_PLL_N1 0xfU
12243 #define V_STATIC_KR_PLL_N1(x) ((x) << S_STATIC_KR_PLL_N1)
12244 #define G_STATIC_KR_PLL_N1(x) (((x) >> S_STATIC_KR_PLL_N1) & M_STATIC_KR_PLL_N1)
12246 #define S_STATIC_KR_PLL_N2 7
12247 #define M_STATIC_KR_PLL_N2 0xfU
12248 #define V_STATIC_KR_PLL_N2(x) ((x) << S_STATIC_KR_PLL_N2)
12249 #define G_STATIC_KR_PLL_N2(x) (((x) >> S_STATIC_KR_PLL_N2) & M_STATIC_KR_PLL_N2)
12251 #define S_STATIC_KR_PLL_N3 3
12252 #define M_STATIC_KR_PLL_N3 0xfU
12253 #define V_STATIC_KR_PLL_N3(x) ((x) << S_STATIC_KR_PLL_N3)
12254 #define G_STATIC_KR_PLL_N3(x) (((x) >> S_STATIC_KR_PLL_N3) & M_STATIC_KR_PLL_N3)
12256 #define S_STATIC_KR_PLL_P 0
12257 #define M_STATIC_KR_PLL_P 0x7U
12258 #define V_STATIC_KR_PLL_P(x) ((x) << S_STATIC_KR_PLL_P)
12259 #define G_STATIC_KR_PLL_P(x) (((x) >> S_STATIC_KR_PLL_P) & M_STATIC_KR_PLL_P)
12261 #define A_DBG_EXTRA_STATIC_BITS_CONF 0x6058
12263 #define S_STATIC_M_PLL_RESET 30
12264 #define V_STATIC_M_PLL_RESET(x) ((x) << S_STATIC_M_PLL_RESET)
12265 #define F_STATIC_M_PLL_RESET V_STATIC_M_PLL_RESET(1U)
12267 #define S_STATIC_M_PLL_SLEEP 29
12268 #define V_STATIC_M_PLL_SLEEP(x) ((x) << S_STATIC_M_PLL_SLEEP)
12269 #define F_STATIC_M_PLL_SLEEP V_STATIC_M_PLL_SLEEP(1U)
12271 #define S_STATIC_M_PLL_BYPASS 28
12272 #define V_STATIC_M_PLL_BYPASS(x) ((x) << S_STATIC_M_PLL_BYPASS)
12273 #define F_STATIC_M_PLL_BYPASS V_STATIC_M_PLL_BYPASS(1U)
12275 #define S_STATIC_MPLL_CLK_SEL 27
12276 #define V_STATIC_MPLL_CLK_SEL(x) ((x) << S_STATIC_MPLL_CLK_SEL)
12277 #define F_STATIC_MPLL_CLK_SEL V_STATIC_MPLL_CLK_SEL(1U)
12279 #define S_STATIC_U_PLL_SLEEP 26
12280 #define V_STATIC_U_PLL_SLEEP(x) ((x) << S_STATIC_U_PLL_SLEEP)
12281 #define F_STATIC_U_PLL_SLEEP V_STATIC_U_PLL_SLEEP(1U)
12283 #define S_STATIC_C_PLL_SLEEP 25
12284 #define V_STATIC_C_PLL_SLEEP(x) ((x) << S_STATIC_C_PLL_SLEEP)
12285 #define F_STATIC_C_PLL_SLEEP V_STATIC_C_PLL_SLEEP(1U)
12287 #define S_STATIC_LVDS_CLKOUT_SEL 23
12288 #define M_STATIC_LVDS_CLKOUT_SEL 0x3U
12289 #define V_STATIC_LVDS_CLKOUT_SEL(x) ((x) << S_STATIC_LVDS_CLKOUT_SEL)
12290 #define G_STATIC_LVDS_CLKOUT_SEL(x) (((x) >> S_STATIC_LVDS_CLKOUT_SEL) & M_STATIC_LVDS_CLKOUT_SEL)
12292 #define S_STATIC_LVDS_CLKOUT_EN 22
12293 #define V_STATIC_LVDS_CLKOUT_EN(x) ((x) << S_STATIC_LVDS_CLKOUT_EN)
12294 #define F_STATIC_LVDS_CLKOUT_EN V_STATIC_LVDS_CLKOUT_EN(1U)
12296 #define S_STATIC_CCLK_FREQ_SEL 20
12297 #define M_STATIC_CCLK_FREQ_SEL 0x3U
12298 #define V_STATIC_CCLK_FREQ_SEL(x) ((x) << S_STATIC_CCLK_FREQ_SEL)
12299 #define G_STATIC_CCLK_FREQ_SEL(x) (((x) >> S_STATIC_CCLK_FREQ_SEL) & M_STATIC_CCLK_FREQ_SEL)
12301 #define S_STATIC_UCLK_FREQ_SEL 18
12302 #define M_STATIC_UCLK_FREQ_SEL 0x3U
12303 #define V_STATIC_UCLK_FREQ_SEL(x) ((x) << S_STATIC_UCLK_FREQ_SEL)
12304 #define G_STATIC_UCLK_FREQ_SEL(x) (((x) >> S_STATIC_UCLK_FREQ_SEL) & M_STATIC_UCLK_FREQ_SEL)
12306 #define S_EXPHYCLK_SEL_EN 17
12307 #define V_EXPHYCLK_SEL_EN(x) ((x) << S_EXPHYCLK_SEL_EN)
12308 #define F_EXPHYCLK_SEL_EN V_EXPHYCLK_SEL_EN(1U)
12310 #define S_EXPHYCLK_SEL 15
12311 #define M_EXPHYCLK_SEL 0x3U
12312 #define V_EXPHYCLK_SEL(x) ((x) << S_EXPHYCLK_SEL)
12313 #define G_EXPHYCLK_SEL(x) (((x) >> S_EXPHYCLK_SEL) & M_EXPHYCLK_SEL)
12315 #define S_STATIC_U_PLL_BYPASS 14
12316 #define V_STATIC_U_PLL_BYPASS(x) ((x) << S_STATIC_U_PLL_BYPASS)
12317 #define F_STATIC_U_PLL_BYPASS V_STATIC_U_PLL_BYPASS(1U)
12319 #define S_STATIC_C_PLL_BYPASS 13
12320 #define V_STATIC_C_PLL_BYPASS(x) ((x) << S_STATIC_C_PLL_BYPASS)
12321 #define F_STATIC_C_PLL_BYPASS V_STATIC_C_PLL_BYPASS(1U)
12323 #define S_STATIC_KR_PLL_BYPASS 12
12324 #define V_STATIC_KR_PLL_BYPASS(x) ((x) << S_STATIC_KR_PLL_BYPASS)
12325 #define F_STATIC_KR_PLL_BYPASS V_STATIC_KR_PLL_BYPASS(1U)
12327 #define S_STATIC_KX_PLL_BYPASS 11
12328 #define V_STATIC_KX_PLL_BYPASS(x) ((x) << S_STATIC_KX_PLL_BYPASS)
12329 #define F_STATIC_KX_PLL_BYPASS V_STATIC_KX_PLL_BYPASS(1U)
12331 #define S_STATIC_KX_PLL_V 7
12332 #define M_STATIC_KX_PLL_V 0xfU
12333 #define V_STATIC_KX_PLL_V(x) ((x) << S_STATIC_KX_PLL_V)
12334 #define G_STATIC_KX_PLL_V(x) (((x) >> S_STATIC_KX_PLL_V) & M_STATIC_KX_PLL_V)
12336 #define S_STATIC_KR_PLL_V 3
12337 #define M_STATIC_KR_PLL_V 0xfU
12338 #define V_STATIC_KR_PLL_V(x) ((x) << S_STATIC_KR_PLL_V)
12339 #define G_STATIC_KR_PLL_V(x) (((x) >> S_STATIC_KR_PLL_V) & M_STATIC_KR_PLL_V)
12341 #define S_PSRO_SEL 0
12342 #define M_PSRO_SEL 0x7U
12343 #define V_PSRO_SEL(x) ((x) << S_PSRO_SEL)
12344 #define G_PSRO_SEL(x) (((x) >> S_PSRO_SEL) & M_PSRO_SEL)
12346 #define A_DBG_STATIC_OCLK_MUXSEL_CONF 0x605c
12348 #define S_M_OCLK_MUXSEL 12
12349 #define V_M_OCLK_MUXSEL(x) ((x) << S_M_OCLK_MUXSEL)
12350 #define F_M_OCLK_MUXSEL V_M_OCLK_MUXSEL(1U)
12352 #define S_C_OCLK_MUXSEL 10
12353 #define M_C_OCLK_MUXSEL 0x3U
12354 #define V_C_OCLK_MUXSEL(x) ((x) << S_C_OCLK_MUXSEL)
12355 #define G_C_OCLK_MUXSEL(x) (((x) >> S_C_OCLK_MUXSEL) & M_C_OCLK_MUXSEL)
12357 #define S_U_OCLK_MUXSEL 8
12358 #define M_U_OCLK_MUXSEL 0x3U
12359 #define V_U_OCLK_MUXSEL(x) ((x) << S_U_OCLK_MUXSEL)
12360 #define G_U_OCLK_MUXSEL(x) (((x) >> S_U_OCLK_MUXSEL) & M_U_OCLK_MUXSEL)
12362 #define S_P_OCLK_MUXSEL 6
12363 #define M_P_OCLK_MUXSEL 0x3U
12364 #define V_P_OCLK_MUXSEL(x) ((x) << S_P_OCLK_MUXSEL)
12365 #define G_P_OCLK_MUXSEL(x) (((x) >> S_P_OCLK_MUXSEL) & M_P_OCLK_MUXSEL)
12367 #define S_KX_OCLK_MUXSEL 3
12368 #define M_KX_OCLK_MUXSEL 0x7U
12369 #define V_KX_OCLK_MUXSEL(x) ((x) << S_KX_OCLK_MUXSEL)
12370 #define G_KX_OCLK_MUXSEL(x) (((x) >> S_KX_OCLK_MUXSEL) & M_KX_OCLK_MUXSEL)
12372 #define S_KR_OCLK_MUXSEL 0
12373 #define M_KR_OCLK_MUXSEL 0x7U
12374 #define V_KR_OCLK_MUXSEL(x) ((x) << S_KR_OCLK_MUXSEL)
12375 #define G_KR_OCLK_MUXSEL(x) (((x) >> S_KR_OCLK_MUXSEL) & M_KR_OCLK_MUXSEL)
12377 #define S_T5_P_OCLK_MUXSEL 13
12378 #define M_T5_P_OCLK_MUXSEL 0xfU
12379 #define V_T5_P_OCLK_MUXSEL(x) ((x) << S_T5_P_OCLK_MUXSEL)
12380 #define G_T5_P_OCLK_MUXSEL(x) (((x) >> S_T5_P_OCLK_MUXSEL) & M_T5_P_OCLK_MUXSEL)
12382 #define S_T6_P_OCLK_MUXSEL 13
12383 #define M_T6_P_OCLK_MUXSEL 0xfU
12384 #define V_T6_P_OCLK_MUXSEL(x) ((x) << S_T6_P_OCLK_MUXSEL)
12385 #define G_T6_P_OCLK_MUXSEL(x) (((x) >> S_T6_P_OCLK_MUXSEL) & M_T6_P_OCLK_MUXSEL)
12387 #define A_DBG_TRACE0_CONF_COMPREG0 0x6060
12388 #define A_DBG_TRACE0_CONF_COMPREG1 0x6064
12389 #define A_DBG_TRACE1_CONF_COMPREG0 0x6068
12390 #define A_DBG_TRACE1_CONF_COMPREG1 0x606c
12391 #define A_DBG_TRACE0_CONF_MASKREG0 0x6070
12392 #define A_DBG_TRACE0_CONF_MASKREG1 0x6074
12393 #define A_DBG_TRACE1_CONF_MASKREG0 0x6078
12394 #define A_DBG_TRACE1_CONF_MASKREG1 0x607c
12395 #define A_DBG_TRACE_COUNTER 0x6080
12397 #define S_COUNTER1 16
12398 #define M_COUNTER1 0xffffU
12399 #define V_COUNTER1(x) ((x) << S_COUNTER1)
12400 #define G_COUNTER1(x) (((x) >> S_COUNTER1) & M_COUNTER1)
12402 #define S_COUNTER0 0
12403 #define M_COUNTER0 0xffffU
12404 #define V_COUNTER0(x) ((x) << S_COUNTER0)
12405 #define G_COUNTER0(x) (((x) >> S_COUNTER0) & M_COUNTER0)
12407 #define A_DBG_STATIC_REFCLK_PERIOD 0x6084
12409 #define S_STATIC_REFCLK_PERIOD 0
12410 #define M_STATIC_REFCLK_PERIOD 0xffffU
12411 #define V_STATIC_REFCLK_PERIOD(x) ((x) << S_STATIC_REFCLK_PERIOD)
12412 #define G_STATIC_REFCLK_PERIOD(x) (((x) >> S_STATIC_REFCLK_PERIOD) & M_STATIC_REFCLK_PERIOD)
12414 #define A_DBG_TRACE_CONF 0x6088
12416 #define S_DBG_TRACE_OPERATE_WITH_TRG 5
12417 #define V_DBG_TRACE_OPERATE_WITH_TRG(x) ((x) << S_DBG_TRACE_OPERATE_WITH_TRG)
12418 #define F_DBG_TRACE_OPERATE_WITH_TRG V_DBG_TRACE_OPERATE_WITH_TRG(1U)
12420 #define S_DBG_TRACE_OPERATE_EN 4
12421 #define V_DBG_TRACE_OPERATE_EN(x) ((x) << S_DBG_TRACE_OPERATE_EN)
12422 #define F_DBG_TRACE_OPERATE_EN V_DBG_TRACE_OPERATE_EN(1U)
12424 #define S_DBG_OPERATE_INDV_COMBINED 3
12425 #define V_DBG_OPERATE_INDV_COMBINED(x) ((x) << S_DBG_OPERATE_INDV_COMBINED)
12426 #define F_DBG_OPERATE_INDV_COMBINED V_DBG_OPERATE_INDV_COMBINED(1U)
12428 #define S_DBG_OPERATE_ORDER_OF_TRIGGER 2
12429 #define V_DBG_OPERATE_ORDER_OF_TRIGGER(x) ((x) << S_DBG_OPERATE_ORDER_OF_TRIGGER)
12430 #define F_DBG_OPERATE_ORDER_OF_TRIGGER V_DBG_OPERATE_ORDER_OF_TRIGGER(1U)
12432 #define S_DBG_OPERATE_SGL_DBL_TRIGGER 1
12433 #define V_DBG_OPERATE_SGL_DBL_TRIGGER(x) ((x) << S_DBG_OPERATE_SGL_DBL_TRIGGER)
12434 #define F_DBG_OPERATE_SGL_DBL_TRIGGER V_DBG_OPERATE_SGL_DBL_TRIGGER(1U)
12436 #define S_DBG_OPERATE0_OR_1 0
12437 #define V_DBG_OPERATE0_OR_1(x) ((x) << S_DBG_OPERATE0_OR_1)
12438 #define F_DBG_OPERATE0_OR_1 V_DBG_OPERATE0_OR_1(1U)
12440 #define A_DBG_TRACE_RDEN 0x608c
12442 #define S_RD_ADDR1 10
12443 #define M_RD_ADDR1 0xffU
12444 #define V_RD_ADDR1(x) ((x) << S_RD_ADDR1)
12445 #define G_RD_ADDR1(x) (((x) >> S_RD_ADDR1) & M_RD_ADDR1)
12447 #define S_RD_ADDR0 2
12448 #define M_RD_ADDR0 0xffU
12449 #define V_RD_ADDR0(x) ((x) << S_RD_ADDR0)
12450 #define G_RD_ADDR0(x) (((x) >> S_RD_ADDR0) & M_RD_ADDR0)
12453 #define V_RD_EN1(x) ((x) << S_RD_EN1)
12454 #define F_RD_EN1 V_RD_EN1(1U)
12457 #define V_RD_EN0(x) ((x) << S_RD_EN0)
12458 #define F_RD_EN0 V_RD_EN0(1U)
12460 #define S_T5_RD_ADDR1 11
12461 #define M_T5_RD_ADDR1 0x1ffU
12462 #define V_T5_RD_ADDR1(x) ((x) << S_T5_RD_ADDR1)
12463 #define G_T5_RD_ADDR1(x) (((x) >> S_T5_RD_ADDR1) & M_T5_RD_ADDR1)
12465 #define S_T5_RD_ADDR0 2
12466 #define M_T5_RD_ADDR0 0x1ffU
12467 #define V_T5_RD_ADDR0(x) ((x) << S_T5_RD_ADDR0)
12468 #define G_T5_RD_ADDR0(x) (((x) >> S_T5_RD_ADDR0) & M_T5_RD_ADDR0)
12470 #define S_T6_RD_ADDR1 11
12471 #define M_T6_RD_ADDR1 0x1ffU
12472 #define V_T6_RD_ADDR1(x) ((x) << S_T6_RD_ADDR1)
12473 #define G_T6_RD_ADDR1(x) (((x) >> S_T6_RD_ADDR1) & M_T6_RD_ADDR1)
12475 #define S_T6_RD_ADDR0 2
12476 #define M_T6_RD_ADDR0 0x1ffU
12477 #define V_T6_RD_ADDR0(x) ((x) << S_T6_RD_ADDR0)
12478 #define G_T6_RD_ADDR0(x) (((x) >> S_T6_RD_ADDR0) & M_T6_RD_ADDR0)
12480 #define A_DBG_TRACE_WRADDR 0x6090
12482 #define S_WR_POINTER_ADDR1 16
12483 #define M_WR_POINTER_ADDR1 0xffU
12484 #define V_WR_POINTER_ADDR1(x) ((x) << S_WR_POINTER_ADDR1)
12485 #define G_WR_POINTER_ADDR1(x) (((x) >> S_WR_POINTER_ADDR1) & M_WR_POINTER_ADDR1)
12487 #define S_WR_POINTER_ADDR0 0
12488 #define M_WR_POINTER_ADDR0 0xffU
12489 #define V_WR_POINTER_ADDR0(x) ((x) << S_WR_POINTER_ADDR0)
12490 #define G_WR_POINTER_ADDR0(x) (((x) >> S_WR_POINTER_ADDR0) & M_WR_POINTER_ADDR0)
12492 #define S_T5_WR_POINTER_ADDR1 16
12493 #define M_T5_WR_POINTER_ADDR1 0x1ffU
12494 #define V_T5_WR_POINTER_ADDR1(x) ((x) << S_T5_WR_POINTER_ADDR1)
12495 #define G_T5_WR_POINTER_ADDR1(x) (((x) >> S_T5_WR_POINTER_ADDR1) & M_T5_WR_POINTER_ADDR1)
12497 #define S_T5_WR_POINTER_ADDR0 0
12498 #define M_T5_WR_POINTER_ADDR0 0x1ffU
12499 #define V_T5_WR_POINTER_ADDR0(x) ((x) << S_T5_WR_POINTER_ADDR0)
12500 #define G_T5_WR_POINTER_ADDR0(x) (((x) >> S_T5_WR_POINTER_ADDR0) & M_T5_WR_POINTER_ADDR0)
12502 #define S_T6_WR_POINTER_ADDR1 16
12503 #define M_T6_WR_POINTER_ADDR1 0x1ffU
12504 #define V_T6_WR_POINTER_ADDR1(x) ((x) << S_T6_WR_POINTER_ADDR1)
12505 #define G_T6_WR_POINTER_ADDR1(x) (((x) >> S_T6_WR_POINTER_ADDR1) & M_T6_WR_POINTER_ADDR1)
12507 #define S_T6_WR_POINTER_ADDR0 0
12508 #define M_T6_WR_POINTER_ADDR0 0x1ffU
12509 #define V_T6_WR_POINTER_ADDR0(x) ((x) << S_T6_WR_POINTER_ADDR0)
12510 #define G_T6_WR_POINTER_ADDR0(x) (((x) >> S_T6_WR_POINTER_ADDR0) & M_T6_WR_POINTER_ADDR0)
12512 #define A_DBG_TRACE0_DATA_OUT 0x6094
12513 #define A_DBG_TRACE1_DATA_OUT 0x6098
12514 #define A_DBG_FUSE_SENSE_DONE 0x609c
12516 #define S_STATIC_JTAG_VERSIONNR 5
12517 #define M_STATIC_JTAG_VERSIONNR 0xfU
12518 #define V_STATIC_JTAG_VERSIONNR(x) ((x) << S_STATIC_JTAG_VERSIONNR)
12519 #define G_STATIC_JTAG_VERSIONNR(x) (((x) >> S_STATIC_JTAG_VERSIONNR) & M_STATIC_JTAG_VERSIONNR)
12522 #define M_UNQ0 0xfU
12523 #define V_UNQ0(x) ((x) << S_UNQ0)
12524 #define G_UNQ0(x) (((x) >> S_UNQ0) & M_UNQ0)
12526 #define S_FUSE_DONE_SENSE 0
12527 #define V_FUSE_DONE_SENSE(x) ((x) << S_FUSE_DONE_SENSE)
12528 #define F_FUSE_DONE_SENSE V_FUSE_DONE_SENSE(1U)
12530 #define A_DBG_TVSENSE_EN 0x60a8
12532 #define S_MCIMPED1_OUT 29
12533 #define V_MCIMPED1_OUT(x) ((x) << S_MCIMPED1_OUT)
12534 #define F_MCIMPED1_OUT V_MCIMPED1_OUT(1U)
12536 #define S_MCIMPED2_OUT 28
12537 #define V_MCIMPED2_OUT(x) ((x) << S_MCIMPED2_OUT)
12538 #define F_MCIMPED2_OUT V_MCIMPED2_OUT(1U)
12540 #define S_TVSENSE_SNSOUT 17
12541 #define M_TVSENSE_SNSOUT 0x1ffU
12542 #define V_TVSENSE_SNSOUT(x) ((x) << S_TVSENSE_SNSOUT)
12543 #define G_TVSENSE_SNSOUT(x) (((x) >> S_TVSENSE_SNSOUT) & M_TVSENSE_SNSOUT)
12545 #define S_TVSENSE_OUTPUTVALID 16
12546 #define V_TVSENSE_OUTPUTVALID(x) ((x) << S_TVSENSE_OUTPUTVALID)
12547 #define F_TVSENSE_OUTPUTVALID V_TVSENSE_OUTPUTVALID(1U)
12549 #define S_TVSENSE_SLEEP 10
12550 #define V_TVSENSE_SLEEP(x) ((x) << S_TVSENSE_SLEEP)
12551 #define F_TVSENSE_SLEEP V_TVSENSE_SLEEP(1U)
12553 #define S_TVSENSE_SENSV 9
12554 #define V_TVSENSE_SENSV(x) ((x) << S_TVSENSE_SENSV)
12555 #define F_TVSENSE_SENSV V_TVSENSE_SENSV(1U)
12557 #define S_TVSENSE_RST 8
12558 #define V_TVSENSE_RST(x) ((x) << S_TVSENSE_RST)
12559 #define F_TVSENSE_RST V_TVSENSE_RST(1U)
12561 #define S_TVSENSE_RATIO 0
12562 #define M_TVSENSE_RATIO 0xffU
12563 #define V_TVSENSE_RATIO(x) ((x) << S_TVSENSE_RATIO)
12564 #define G_TVSENSE_RATIO(x) (((x) >> S_TVSENSE_RATIO) & M_TVSENSE_RATIO)
12566 #define S_T6_TVSENSE_SLEEP 11
12567 #define V_T6_TVSENSE_SLEEP(x) ((x) << S_T6_TVSENSE_SLEEP)
12568 #define F_T6_TVSENSE_SLEEP V_T6_TVSENSE_SLEEP(1U)
12570 #define S_T6_TVSENSE_SENSV 10
12571 #define V_T6_TVSENSE_SENSV(x) ((x) << S_T6_TVSENSE_SENSV)
12572 #define F_T6_TVSENSE_SENSV V_T6_TVSENSE_SENSV(1U)
12574 #define S_T6_TVSENSE_RST 9
12575 #define V_T6_TVSENSE_RST(x) ((x) << S_T6_TVSENSE_RST)
12576 #define F_T6_TVSENSE_RST V_T6_TVSENSE_RST(1U)
12578 #define A_DBG_CUST_EFUSE_OUT_EN 0x60ac
12579 #define A_DBG_CUST_EFUSE_SEL1_EN 0x60b0
12580 #define A_DBG_CUST_EFUSE_SEL2_EN 0x60b4
12582 #define S_DBG_FEENABLE 29
12583 #define V_DBG_FEENABLE(x) ((x) << S_DBG_FEENABLE)
12584 #define F_DBG_FEENABLE V_DBG_FEENABLE(1U)
12586 #define S_DBG_FEF 23
12587 #define M_DBG_FEF 0x3fU
12588 #define V_DBG_FEF(x) ((x) << S_DBG_FEF)
12589 #define G_DBG_FEF(x) (((x) >> S_DBG_FEF) & M_DBG_FEF)
12591 #define S_DBG_FEMIMICN 22
12592 #define V_DBG_FEMIMICN(x) ((x) << S_DBG_FEMIMICN)
12593 #define F_DBG_FEMIMICN V_DBG_FEMIMICN(1U)
12595 #define S_DBG_FEGATEC 21
12596 #define V_DBG_FEGATEC(x) ((x) << S_DBG_FEGATEC)
12597 #define F_DBG_FEGATEC V_DBG_FEGATEC(1U)
12599 #define S_DBG_FEPROGP 20
12600 #define V_DBG_FEPROGP(x) ((x) << S_DBG_FEPROGP)
12601 #define F_DBG_FEPROGP V_DBG_FEPROGP(1U)
12603 #define S_DBG_FEREADCLK 19
12604 #define V_DBG_FEREADCLK(x) ((x) << S_DBG_FEREADCLK)
12605 #define F_DBG_FEREADCLK V_DBG_FEREADCLK(1U)
12607 #define S_DBG_FERSEL 3
12608 #define M_DBG_FERSEL 0xffffU
12609 #define V_DBG_FERSEL(x) ((x) << S_DBG_FERSEL)
12610 #define G_DBG_FERSEL(x) (((x) >> S_DBG_FERSEL) & M_DBG_FERSEL)
12612 #define S_DBG_FETIME 0
12613 #define M_DBG_FETIME 0x7U
12614 #define V_DBG_FETIME(x) ((x) << S_DBG_FETIME)
12615 #define G_DBG_FETIME(x) (((x) >> S_DBG_FETIME) & M_DBG_FETIME)
12617 #define A_DBG_T5_STATIC_M_PLL_CONF1 0x60b8
12619 #define S_T5_STATIC_M_PLL_MULTFRAC 8
12620 #define M_T5_STATIC_M_PLL_MULTFRAC 0xffffffU
12621 #define V_T5_STATIC_M_PLL_MULTFRAC(x) ((x) << S_T5_STATIC_M_PLL_MULTFRAC)
12622 #define G_T5_STATIC_M_PLL_MULTFRAC(x) (((x) >> S_T5_STATIC_M_PLL_MULTFRAC) & M_T5_STATIC_M_PLL_MULTFRAC)
12624 #define S_T5_STATIC_M_PLL_FFSLEWRATE 0
12625 #define M_T5_STATIC_M_PLL_FFSLEWRATE 0xffU
12626 #define V_T5_STATIC_M_PLL_FFSLEWRATE(x) ((x) << S_T5_STATIC_M_PLL_FFSLEWRATE)
12627 #define G_T5_STATIC_M_PLL_FFSLEWRATE(x) (((x) >> S_T5_STATIC_M_PLL_FFSLEWRATE) & M_T5_STATIC_M_PLL_FFSLEWRATE)
12629 #define A_DBG_STATIC_M_PLL_CONF1 0x60b8
12631 #define S_STATIC_M_PLL_MULTFRAC 8
12632 #define M_STATIC_M_PLL_MULTFRAC 0xffffffU
12633 #define V_STATIC_M_PLL_MULTFRAC(x) ((x) << S_STATIC_M_PLL_MULTFRAC)
12634 #define G_STATIC_M_PLL_MULTFRAC(x) (((x) >> S_STATIC_M_PLL_MULTFRAC) & M_STATIC_M_PLL_MULTFRAC)
12636 #define S_STATIC_M_PLL_FFSLEWRATE 0
12637 #define M_STATIC_M_PLL_FFSLEWRATE 0xffU
12638 #define V_STATIC_M_PLL_FFSLEWRATE(x) ((x) << S_STATIC_M_PLL_FFSLEWRATE)
12639 #define G_STATIC_M_PLL_FFSLEWRATE(x) (((x) >> S_STATIC_M_PLL_FFSLEWRATE) & M_STATIC_M_PLL_FFSLEWRATE)
12641 #define A_DBG_T5_STATIC_M_PLL_CONF2 0x60bc
12643 #define S_T5_STATIC_M_PLL_DCO_BYPASS 23
12644 #define V_T5_STATIC_M_PLL_DCO_BYPASS(x) ((x) << S_T5_STATIC_M_PLL_DCO_BYPASS)
12645 #define F_T5_STATIC_M_PLL_DCO_BYPASS V_T5_STATIC_M_PLL_DCO_BYPASS(1U)
12647 #define S_T5_STATIC_M_PLL_SDORDER 21
12648 #define M_T5_STATIC_M_PLL_SDORDER 0x3U
12649 #define V_T5_STATIC_M_PLL_SDORDER(x) ((x) << S_T5_STATIC_M_PLL_SDORDER)
12650 #define G_T5_STATIC_M_PLL_SDORDER(x) (((x) >> S_T5_STATIC_M_PLL_SDORDER) & M_T5_STATIC_M_PLL_SDORDER)
12652 #define S_T5_STATIC_M_PLL_FFENABLE 20
12653 #define V_T5_STATIC_M_PLL_FFENABLE(x) ((x) << S_T5_STATIC_M_PLL_FFENABLE)
12654 #define F_T5_STATIC_M_PLL_FFENABLE V_T5_STATIC_M_PLL_FFENABLE(1U)
12656 #define S_T5_STATIC_M_PLL_STOPCLKB 19
12657 #define V_T5_STATIC_M_PLL_STOPCLKB(x) ((x) << S_T5_STATIC_M_PLL_STOPCLKB)
12658 #define F_T5_STATIC_M_PLL_STOPCLKB V_T5_STATIC_M_PLL_STOPCLKB(1U)
12660 #define S_T5_STATIC_M_PLL_STOPCLKA 18
12661 #define V_T5_STATIC_M_PLL_STOPCLKA(x) ((x) << S_T5_STATIC_M_PLL_STOPCLKA)
12662 #define F_T5_STATIC_M_PLL_STOPCLKA V_T5_STATIC_M_PLL_STOPCLKA(1U)
12664 #define S_T5_STATIC_M_PLL_SLEEP 17
12665 #define V_T5_STATIC_M_PLL_SLEEP(x) ((x) << S_T5_STATIC_M_PLL_SLEEP)
12666 #define F_T5_STATIC_M_PLL_SLEEP V_T5_STATIC_M_PLL_SLEEP(1U)
12668 #define S_T5_STATIC_M_PLL_BYPASS 16
12669 #define V_T5_STATIC_M_PLL_BYPASS(x) ((x) << S_T5_STATIC_M_PLL_BYPASS)
12670 #define F_T5_STATIC_M_PLL_BYPASS V_T5_STATIC_M_PLL_BYPASS(1U)
12672 #define S_T5_STATIC_M_PLL_LOCKTUNE 0
12673 #define M_T5_STATIC_M_PLL_LOCKTUNE 0xffffU
12674 #define V_T5_STATIC_M_PLL_LOCKTUNE(x) ((x) << S_T5_STATIC_M_PLL_LOCKTUNE)
12675 #define G_T5_STATIC_M_PLL_LOCKTUNE(x) (((x) >> S_T5_STATIC_M_PLL_LOCKTUNE) & M_T5_STATIC_M_PLL_LOCKTUNE)
12677 #define A_DBG_STATIC_M_PLL_CONF2 0x60bc
12679 #define S_T6_STATIC_M_PLL_PREDIV 24
12680 #define M_T6_STATIC_M_PLL_PREDIV 0x3fU
12681 #define V_T6_STATIC_M_PLL_PREDIV(x) ((x) << S_T6_STATIC_M_PLL_PREDIV)
12682 #define G_T6_STATIC_M_PLL_PREDIV(x) (((x) >> S_T6_STATIC_M_PLL_PREDIV) & M_T6_STATIC_M_PLL_PREDIV)
12684 #define S_STATIC_M_PLL_DCO_BYPASS 23
12685 #define V_STATIC_M_PLL_DCO_BYPASS(x) ((x) << S_STATIC_M_PLL_DCO_BYPASS)
12686 #define F_STATIC_M_PLL_DCO_BYPASS V_STATIC_M_PLL_DCO_BYPASS(1U)
12688 #define S_STATIC_M_PLL_SDORDER 21
12689 #define M_STATIC_M_PLL_SDORDER 0x3U
12690 #define V_STATIC_M_PLL_SDORDER(x) ((x) << S_STATIC_M_PLL_SDORDER)
12691 #define G_STATIC_M_PLL_SDORDER(x) (((x) >> S_STATIC_M_PLL_SDORDER) & M_STATIC_M_PLL_SDORDER)
12693 #define S_STATIC_M_PLL_FFENABLE 20
12694 #define V_STATIC_M_PLL_FFENABLE(x) ((x) << S_STATIC_M_PLL_FFENABLE)
12695 #define F_STATIC_M_PLL_FFENABLE V_STATIC_M_PLL_FFENABLE(1U)
12697 #define S_STATIC_M_PLL_STOPCLKB 19
12698 #define V_STATIC_M_PLL_STOPCLKB(x) ((x) << S_STATIC_M_PLL_STOPCLKB)
12699 #define F_STATIC_M_PLL_STOPCLKB V_STATIC_M_PLL_STOPCLKB(1U)
12701 #define S_STATIC_M_PLL_STOPCLKA 18
12702 #define V_STATIC_M_PLL_STOPCLKA(x) ((x) << S_STATIC_M_PLL_STOPCLKA)
12703 #define F_STATIC_M_PLL_STOPCLKA V_STATIC_M_PLL_STOPCLKA(1U)
12705 #define S_T6_STATIC_M_PLL_SLEEP 17
12706 #define V_T6_STATIC_M_PLL_SLEEP(x) ((x) << S_T6_STATIC_M_PLL_SLEEP)
12707 #define F_T6_STATIC_M_PLL_SLEEP V_T6_STATIC_M_PLL_SLEEP(1U)
12709 #define S_T6_STATIC_M_PLL_BYPASS 16
12710 #define V_T6_STATIC_M_PLL_BYPASS(x) ((x) << S_T6_STATIC_M_PLL_BYPASS)
12711 #define F_T6_STATIC_M_PLL_BYPASS V_T6_STATIC_M_PLL_BYPASS(1U)
12713 #define S_STATIC_M_PLL_LOCKTUNE 0
12714 #define M_STATIC_M_PLL_LOCKTUNE 0x1fU
12715 #define V_STATIC_M_PLL_LOCKTUNE(x) ((x) << S_STATIC_M_PLL_LOCKTUNE)
12716 #define G_STATIC_M_PLL_LOCKTUNE(x) (((x) >> S_STATIC_M_PLL_LOCKTUNE) & M_STATIC_M_PLL_LOCKTUNE)
12718 #define A_DBG_T5_STATIC_M_PLL_CONF3 0x60c0
12720 #define S_T5_STATIC_M_PLL_MULTPRE 30
12721 #define M_T5_STATIC_M_PLL_MULTPRE 0x3U
12722 #define V_T5_STATIC_M_PLL_MULTPRE(x) ((x) << S_T5_STATIC_M_PLL_MULTPRE)
12723 #define G_T5_STATIC_M_PLL_MULTPRE(x) (((x) >> S_T5_STATIC_M_PLL_MULTPRE) & M_T5_STATIC_M_PLL_MULTPRE)
12725 #define S_T5_STATIC_M_PLL_LOCKSEL 28
12726 #define M_T5_STATIC_M_PLL_LOCKSEL 0x3U
12727 #define V_T5_STATIC_M_PLL_LOCKSEL(x) ((x) << S_T5_STATIC_M_PLL_LOCKSEL)
12728 #define G_T5_STATIC_M_PLL_LOCKSEL(x) (((x) >> S_T5_STATIC_M_PLL_LOCKSEL) & M_T5_STATIC_M_PLL_LOCKSEL)
12730 #define S_T5_STATIC_M_PLL_FFTUNE 12
12731 #define M_T5_STATIC_M_PLL_FFTUNE 0xffffU
12732 #define V_T5_STATIC_M_PLL_FFTUNE(x) ((x) << S_T5_STATIC_M_PLL_FFTUNE)
12733 #define G_T5_STATIC_M_PLL_FFTUNE(x) (((x) >> S_T5_STATIC_M_PLL_FFTUNE) & M_T5_STATIC_M_PLL_FFTUNE)
12735 #define S_T5_STATIC_M_PLL_RANGEPRE 10
12736 #define M_T5_STATIC_M_PLL_RANGEPRE 0x3U
12737 #define V_T5_STATIC_M_PLL_RANGEPRE(x) ((x) << S_T5_STATIC_M_PLL_RANGEPRE)
12738 #define G_T5_STATIC_M_PLL_RANGEPRE(x) (((x) >> S_T5_STATIC_M_PLL_RANGEPRE) & M_T5_STATIC_M_PLL_RANGEPRE)
12740 #define S_T5_STATIC_M_PLL_RANGEB 5
12741 #define M_T5_STATIC_M_PLL_RANGEB 0x1fU
12742 #define V_T5_STATIC_M_PLL_RANGEB(x) ((x) << S_T5_STATIC_M_PLL_RANGEB)
12743 #define G_T5_STATIC_M_PLL_RANGEB(x) (((x) >> S_T5_STATIC_M_PLL_RANGEB) & M_T5_STATIC_M_PLL_RANGEB)
12745 #define S_T5_STATIC_M_PLL_RANGEA 0
12746 #define M_T5_STATIC_M_PLL_RANGEA 0x1fU
12747 #define V_T5_STATIC_M_PLL_RANGEA(x) ((x) << S_T5_STATIC_M_PLL_RANGEA)
12748 #define G_T5_STATIC_M_PLL_RANGEA(x) (((x) >> S_T5_STATIC_M_PLL_RANGEA) & M_T5_STATIC_M_PLL_RANGEA)
12750 #define A_DBG_STATIC_M_PLL_CONF3 0x60c0
12752 #define S_STATIC_M_PLL_MULTPRE 30
12753 #define M_STATIC_M_PLL_MULTPRE 0x3U
12754 #define V_STATIC_M_PLL_MULTPRE(x) ((x) << S_STATIC_M_PLL_MULTPRE)
12755 #define G_STATIC_M_PLL_MULTPRE(x) (((x) >> S_STATIC_M_PLL_MULTPRE) & M_STATIC_M_PLL_MULTPRE)
12757 #define S_STATIC_M_PLL_LOCKSEL 28
12758 #define V_STATIC_M_PLL_LOCKSEL(x) ((x) << S_STATIC_M_PLL_LOCKSEL)
12759 #define F_STATIC_M_PLL_LOCKSEL V_STATIC_M_PLL_LOCKSEL(1U)
12761 #define S_STATIC_M_PLL_FFTUNE 12
12762 #define M_STATIC_M_PLL_FFTUNE 0xffffU
12763 #define V_STATIC_M_PLL_FFTUNE(x) ((x) << S_STATIC_M_PLL_FFTUNE)
12764 #define G_STATIC_M_PLL_FFTUNE(x) (((x) >> S_STATIC_M_PLL_FFTUNE) & M_STATIC_M_PLL_FFTUNE)
12766 #define S_STATIC_M_PLL_RANGEPRE 10
12767 #define M_STATIC_M_PLL_RANGEPRE 0x3U
12768 #define V_STATIC_M_PLL_RANGEPRE(x) ((x) << S_STATIC_M_PLL_RANGEPRE)
12769 #define G_STATIC_M_PLL_RANGEPRE(x) (((x) >> S_STATIC_M_PLL_RANGEPRE) & M_STATIC_M_PLL_RANGEPRE)
12771 #define S_T6_STATIC_M_PLL_RANGEB 5
12772 #define M_T6_STATIC_M_PLL_RANGEB 0x1fU
12773 #define V_T6_STATIC_M_PLL_RANGEB(x) ((x) << S_T6_STATIC_M_PLL_RANGEB)
12774 #define G_T6_STATIC_M_PLL_RANGEB(x) (((x) >> S_T6_STATIC_M_PLL_RANGEB) & M_T6_STATIC_M_PLL_RANGEB)
12776 #define S_T6_STATIC_M_PLL_RANGEA 0
12777 #define M_T6_STATIC_M_PLL_RANGEA 0x1fU
12778 #define V_T6_STATIC_M_PLL_RANGEA(x) ((x) << S_T6_STATIC_M_PLL_RANGEA)
12779 #define G_T6_STATIC_M_PLL_RANGEA(x) (((x) >> S_T6_STATIC_M_PLL_RANGEA) & M_T6_STATIC_M_PLL_RANGEA)
12781 #define A_DBG_T5_STATIC_M_PLL_CONF4 0x60c4
12782 #define A_DBG_STATIC_M_PLL_CONF4 0x60c4
12783 #define A_DBG_T5_STATIC_M_PLL_CONF5 0x60c8
12785 #define S_T5_STATIC_M_PLL_VCVTUNE 24
12786 #define M_T5_STATIC_M_PLL_VCVTUNE 0x7U
12787 #define V_T5_STATIC_M_PLL_VCVTUNE(x) ((x) << S_T5_STATIC_M_PLL_VCVTUNE)
12788 #define G_T5_STATIC_M_PLL_VCVTUNE(x) (((x) >> S_T5_STATIC_M_PLL_VCVTUNE) & M_T5_STATIC_M_PLL_VCVTUNE)
12790 #define S_T5_STATIC_M_PLL_RESET 23
12791 #define V_T5_STATIC_M_PLL_RESET(x) ((x) << S_T5_STATIC_M_PLL_RESET)
12792 #define F_T5_STATIC_M_PLL_RESET V_T5_STATIC_M_PLL_RESET(1U)
12794 #define S_T5_STATIC_MPLL_REFCLK_SEL 22
12795 #define V_T5_STATIC_MPLL_REFCLK_SEL(x) ((x) << S_T5_STATIC_MPLL_REFCLK_SEL)
12796 #define F_T5_STATIC_MPLL_REFCLK_SEL V_T5_STATIC_MPLL_REFCLK_SEL(1U)
12798 #define S_T5_STATIC_M_PLL_LFTUNE_32_40 13
12799 #define M_T5_STATIC_M_PLL_LFTUNE_32_40 0x1ffU
12800 #define V_T5_STATIC_M_PLL_LFTUNE_32_40(x) ((x) << S_T5_STATIC_M_PLL_LFTUNE_32_40)
12801 #define G_T5_STATIC_M_PLL_LFTUNE_32_40(x) (((x) >> S_T5_STATIC_M_PLL_LFTUNE_32_40) & M_T5_STATIC_M_PLL_LFTUNE_32_40)
12803 #define S_T5_STATIC_M_PLL_PREDIV 8
12804 #define M_T5_STATIC_M_PLL_PREDIV 0x1fU
12805 #define V_T5_STATIC_M_PLL_PREDIV(x) ((x) << S_T5_STATIC_M_PLL_PREDIV)
12806 #define G_T5_STATIC_M_PLL_PREDIV(x) (((x) >> S_T5_STATIC_M_PLL_PREDIV) & M_T5_STATIC_M_PLL_PREDIV)
12808 #define S_T5_STATIC_M_PLL_MULT 0
12809 #define M_T5_STATIC_M_PLL_MULT 0xffU
12810 #define V_T5_STATIC_M_PLL_MULT(x) ((x) << S_T5_STATIC_M_PLL_MULT)
12811 #define G_T5_STATIC_M_PLL_MULT(x) (((x) >> S_T5_STATIC_M_PLL_MULT) & M_T5_STATIC_M_PLL_MULT)
12813 #define A_DBG_STATIC_M_PLL_CONF5 0x60c8
12815 #define S_STATIC_M_PLL_VCVTUNE 24
12816 #define M_STATIC_M_PLL_VCVTUNE 0x7U
12817 #define V_STATIC_M_PLL_VCVTUNE(x) ((x) << S_STATIC_M_PLL_VCVTUNE)
12818 #define G_STATIC_M_PLL_VCVTUNE(x) (((x) >> S_STATIC_M_PLL_VCVTUNE) & M_STATIC_M_PLL_VCVTUNE)
12820 #define S_T6_STATIC_M_PLL_RESET 23
12821 #define V_T6_STATIC_M_PLL_RESET(x) ((x) << S_T6_STATIC_M_PLL_RESET)
12822 #define F_T6_STATIC_M_PLL_RESET V_T6_STATIC_M_PLL_RESET(1U)
12824 #define S_STATIC_MPLL_REFCLK_SEL 22
12825 #define V_STATIC_MPLL_REFCLK_SEL(x) ((x) << S_STATIC_MPLL_REFCLK_SEL)
12826 #define F_STATIC_MPLL_REFCLK_SEL V_STATIC_MPLL_REFCLK_SEL(1U)
12828 #define S_STATIC_M_PLL_LFTUNE_32_40 13
12829 #define M_STATIC_M_PLL_LFTUNE_32_40 0x1ffU
12830 #define V_STATIC_M_PLL_LFTUNE_32_40(x) ((x) << S_STATIC_M_PLL_LFTUNE_32_40)
12831 #define G_STATIC_M_PLL_LFTUNE_32_40(x) (((x) >> S_STATIC_M_PLL_LFTUNE_32_40) & M_STATIC_M_PLL_LFTUNE_32_40)
12833 #define S_T6_STATIC_M_PLL_MULT 0
12834 #define M_T6_STATIC_M_PLL_MULT 0xffU
12835 #define V_T6_STATIC_M_PLL_MULT(x) ((x) << S_T6_STATIC_M_PLL_MULT)
12836 #define G_T6_STATIC_M_PLL_MULT(x) (((x) >> S_T6_STATIC_M_PLL_MULT) & M_T6_STATIC_M_PLL_MULT)
12838 #define A_DBG_T5_STATIC_M_PLL_CONF6 0x60cc
12840 #define S_T5_STATIC_PHY0RECRST_ 5
12841 #define V_T5_STATIC_PHY0RECRST_(x) ((x) << S_T5_STATIC_PHY0RECRST_)
12842 #define F_T5_STATIC_PHY0RECRST_ V_T5_STATIC_PHY0RECRST_(1U)
12844 #define S_T5_STATIC_PHY1RECRST_ 4
12845 #define V_T5_STATIC_PHY1RECRST_(x) ((x) << S_T5_STATIC_PHY1RECRST_)
12846 #define F_T5_STATIC_PHY1RECRST_ V_T5_STATIC_PHY1RECRST_(1U)
12848 #define S_T5_STATIC_SWMC0RST_ 3
12849 #define V_T5_STATIC_SWMC0RST_(x) ((x) << S_T5_STATIC_SWMC0RST_)
12850 #define F_T5_STATIC_SWMC0RST_ V_T5_STATIC_SWMC0RST_(1U)
12852 #define S_T5_STATIC_SWMC0CFGRST_ 2
12853 #define V_T5_STATIC_SWMC0CFGRST_(x) ((x) << S_T5_STATIC_SWMC0CFGRST_)
12854 #define F_T5_STATIC_SWMC0CFGRST_ V_T5_STATIC_SWMC0CFGRST_(1U)
12856 #define S_T5_STATIC_SWMC1RST_ 1
12857 #define V_T5_STATIC_SWMC1RST_(x) ((x) << S_T5_STATIC_SWMC1RST_)
12858 #define F_T5_STATIC_SWMC1RST_ V_T5_STATIC_SWMC1RST_(1U)
12860 #define S_T5_STATIC_SWMC1CFGRST_ 0
12861 #define V_T5_STATIC_SWMC1CFGRST_(x) ((x) << S_T5_STATIC_SWMC1CFGRST_)
12862 #define F_T5_STATIC_SWMC1CFGRST_ V_T5_STATIC_SWMC1CFGRST_(1U)
12864 #define A_DBG_STATIC_M_PLL_CONF6 0x60cc
12866 #define S_STATIC_M_PLL_DIVCHANGE 30
12867 #define V_STATIC_M_PLL_DIVCHANGE(x) ((x) << S_STATIC_M_PLL_DIVCHANGE)
12868 #define F_STATIC_M_PLL_DIVCHANGE V_STATIC_M_PLL_DIVCHANGE(1U)
12870 #define S_STATIC_M_PLL_FRAMESTOP 29
12871 #define V_STATIC_M_PLL_FRAMESTOP(x) ((x) << S_STATIC_M_PLL_FRAMESTOP)
12872 #define F_STATIC_M_PLL_FRAMESTOP V_STATIC_M_PLL_FRAMESTOP(1U)
12874 #define S_STATIC_M_PLL_FASTSTOP 28
12875 #define V_STATIC_M_PLL_FASTSTOP(x) ((x) << S_STATIC_M_PLL_FASTSTOP)
12876 #define F_STATIC_M_PLL_FASTSTOP V_STATIC_M_PLL_FASTSTOP(1U)
12878 #define S_STATIC_M_PLL_FFBYPASS 27
12879 #define V_STATIC_M_PLL_FFBYPASS(x) ((x) << S_STATIC_M_PLL_FFBYPASS)
12880 #define F_STATIC_M_PLL_FFBYPASS V_STATIC_M_PLL_FFBYPASS(1U)
12882 #define S_STATIC_M_PLL_STARTUP 25
12883 #define M_STATIC_M_PLL_STARTUP 0x3U
12884 #define V_STATIC_M_PLL_STARTUP(x) ((x) << S_STATIC_M_PLL_STARTUP)
12885 #define G_STATIC_M_PLL_STARTUP(x) (((x) >> S_STATIC_M_PLL_STARTUP) & M_STATIC_M_PLL_STARTUP)
12887 #define S_STATIC_M_PLL_VREGTUNE 6
12888 #define M_STATIC_M_PLL_VREGTUNE 0x7ffffU
12889 #define V_STATIC_M_PLL_VREGTUNE(x) ((x) << S_STATIC_M_PLL_VREGTUNE)
12890 #define G_STATIC_M_PLL_VREGTUNE(x) (((x) >> S_STATIC_M_PLL_VREGTUNE) & M_STATIC_M_PLL_VREGTUNE)
12892 #define S_STATIC_PHY0RECRST_ 5
12893 #define V_STATIC_PHY0RECRST_(x) ((x) << S_STATIC_PHY0RECRST_)
12894 #define F_STATIC_PHY0RECRST_ V_STATIC_PHY0RECRST_(1U)
12896 #define S_STATIC_PHY1RECRST_ 4
12897 #define V_STATIC_PHY1RECRST_(x) ((x) << S_STATIC_PHY1RECRST_)
12898 #define F_STATIC_PHY1RECRST_ V_STATIC_PHY1RECRST_(1U)
12900 #define S_STATIC_SWMC0RST_ 3
12901 #define V_STATIC_SWMC0RST_(x) ((x) << S_STATIC_SWMC0RST_)
12902 #define F_STATIC_SWMC0RST_ V_STATIC_SWMC0RST_(1U)
12904 #define S_STATIC_SWMC0CFGRST_ 2
12905 #define V_STATIC_SWMC0CFGRST_(x) ((x) << S_STATIC_SWMC0CFGRST_)
12906 #define F_STATIC_SWMC0CFGRST_ V_STATIC_SWMC0CFGRST_(1U)
12908 #define S_STATIC_SWMC1RST_ 1
12909 #define V_STATIC_SWMC1RST_(x) ((x) << S_STATIC_SWMC1RST_)
12910 #define F_STATIC_SWMC1RST_ V_STATIC_SWMC1RST_(1U)
12912 #define S_STATIC_SWMC1CFGRST_ 0
12913 #define V_STATIC_SWMC1CFGRST_(x) ((x) << S_STATIC_SWMC1CFGRST_)
12914 #define F_STATIC_SWMC1CFGRST_ V_STATIC_SWMC1CFGRST_(1U)
12916 #define A_DBG_T5_STATIC_C_PLL_CONF1 0x60d0
12918 #define S_T5_STATIC_C_PLL_MULTFRAC 8
12919 #define M_T5_STATIC_C_PLL_MULTFRAC 0xffffffU
12920 #define V_T5_STATIC_C_PLL_MULTFRAC(x) ((x) << S_T5_STATIC_C_PLL_MULTFRAC)
12921 #define G_T5_STATIC_C_PLL_MULTFRAC(x) (((x) >> S_T5_STATIC_C_PLL_MULTFRAC) & M_T5_STATIC_C_PLL_MULTFRAC)
12923 #define S_T5_STATIC_C_PLL_FFSLEWRATE 0
12924 #define M_T5_STATIC_C_PLL_FFSLEWRATE 0xffU
12925 #define V_T5_STATIC_C_PLL_FFSLEWRATE(x) ((x) << S_T5_STATIC_C_PLL_FFSLEWRATE)
12926 #define G_T5_STATIC_C_PLL_FFSLEWRATE(x) (((x) >> S_T5_STATIC_C_PLL_FFSLEWRATE) & M_T5_STATIC_C_PLL_FFSLEWRATE)
12928 #define A_DBG_STATIC_C_PLL_CONF1 0x60d0
12930 #define S_STATIC_C_PLL_MULTFRAC 8
12931 #define M_STATIC_C_PLL_MULTFRAC 0xffffffU
12932 #define V_STATIC_C_PLL_MULTFRAC(x) ((x) << S_STATIC_C_PLL_MULTFRAC)
12933 #define G_STATIC_C_PLL_MULTFRAC(x) (((x) >> S_STATIC_C_PLL_MULTFRAC) & M_STATIC_C_PLL_MULTFRAC)
12935 #define S_STATIC_C_PLL_FFSLEWRATE 0
12936 #define M_STATIC_C_PLL_FFSLEWRATE 0xffU
12937 #define V_STATIC_C_PLL_FFSLEWRATE(x) ((x) << S_STATIC_C_PLL_FFSLEWRATE)
12938 #define G_STATIC_C_PLL_FFSLEWRATE(x) (((x) >> S_STATIC_C_PLL_FFSLEWRATE) & M_STATIC_C_PLL_FFSLEWRATE)
12940 #define A_DBG_T5_STATIC_C_PLL_CONF2 0x60d4
12942 #define S_T5_STATIC_C_PLL_DCO_BYPASS 23
12943 #define V_T5_STATIC_C_PLL_DCO_BYPASS(x) ((x) << S_T5_STATIC_C_PLL_DCO_BYPASS)
12944 #define F_T5_STATIC_C_PLL_DCO_BYPASS V_T5_STATIC_C_PLL_DCO_BYPASS(1U)
12946 #define S_T5_STATIC_C_PLL_SDORDER 21
12947 #define M_T5_STATIC_C_PLL_SDORDER 0x3U
12948 #define V_T5_STATIC_C_PLL_SDORDER(x) ((x) << S_T5_STATIC_C_PLL_SDORDER)
12949 #define G_T5_STATIC_C_PLL_SDORDER(x) (((x) >> S_T5_STATIC_C_PLL_SDORDER) & M_T5_STATIC_C_PLL_SDORDER)
12951 #define S_T5_STATIC_C_PLL_FFENABLE 20
12952 #define V_T5_STATIC_C_PLL_FFENABLE(x) ((x) << S_T5_STATIC_C_PLL_FFENABLE)
12953 #define F_T5_STATIC_C_PLL_FFENABLE V_T5_STATIC_C_PLL_FFENABLE(1U)
12955 #define S_T5_STATIC_C_PLL_STOPCLKB 19
12956 #define V_T5_STATIC_C_PLL_STOPCLKB(x) ((x) << S_T5_STATIC_C_PLL_STOPCLKB)
12957 #define F_T5_STATIC_C_PLL_STOPCLKB V_T5_STATIC_C_PLL_STOPCLKB(1U)
12959 #define S_T5_STATIC_C_PLL_STOPCLKA 18
12960 #define V_T5_STATIC_C_PLL_STOPCLKA(x) ((x) << S_T5_STATIC_C_PLL_STOPCLKA)
12961 #define F_T5_STATIC_C_PLL_STOPCLKA V_T5_STATIC_C_PLL_STOPCLKA(1U)
12963 #define S_T5_STATIC_C_PLL_SLEEP 17
12964 #define V_T5_STATIC_C_PLL_SLEEP(x) ((x) << S_T5_STATIC_C_PLL_SLEEP)
12965 #define F_T5_STATIC_C_PLL_SLEEP V_T5_STATIC_C_PLL_SLEEP(1U)
12967 #define S_T5_STATIC_C_PLL_BYPASS 16
12968 #define V_T5_STATIC_C_PLL_BYPASS(x) ((x) << S_T5_STATIC_C_PLL_BYPASS)
12969 #define F_T5_STATIC_C_PLL_BYPASS V_T5_STATIC_C_PLL_BYPASS(1U)
12971 #define S_T5_STATIC_C_PLL_LOCKTUNE 0
12972 #define M_T5_STATIC_C_PLL_LOCKTUNE 0xffffU
12973 #define V_T5_STATIC_C_PLL_LOCKTUNE(x) ((x) << S_T5_STATIC_C_PLL_LOCKTUNE)
12974 #define G_T5_STATIC_C_PLL_LOCKTUNE(x) (((x) >> S_T5_STATIC_C_PLL_LOCKTUNE) & M_T5_STATIC_C_PLL_LOCKTUNE)
12976 #define A_DBG_STATIC_C_PLL_CONF2 0x60d4
12978 #define S_T6_STATIC_C_PLL_PREDIV 26
12979 #define M_T6_STATIC_C_PLL_PREDIV 0x3fU
12980 #define V_T6_STATIC_C_PLL_PREDIV(x) ((x) << S_T6_STATIC_C_PLL_PREDIV)
12981 #define G_T6_STATIC_C_PLL_PREDIV(x) (((x) >> S_T6_STATIC_C_PLL_PREDIV) & M_T6_STATIC_C_PLL_PREDIV)
12983 #define S_STATIC_C_PLL_STARTUP 24
12984 #define M_STATIC_C_PLL_STARTUP 0x3U
12985 #define V_STATIC_C_PLL_STARTUP(x) ((x) << S_STATIC_C_PLL_STARTUP)
12986 #define G_STATIC_C_PLL_STARTUP(x) (((x) >> S_STATIC_C_PLL_STARTUP) & M_STATIC_C_PLL_STARTUP)
12988 #define S_STATIC_C_PLL_DCO_BYPASS 23
12989 #define V_STATIC_C_PLL_DCO_BYPASS(x) ((x) << S_STATIC_C_PLL_DCO_BYPASS)
12990 #define F_STATIC_C_PLL_DCO_BYPASS V_STATIC_C_PLL_DCO_BYPASS(1U)
12992 #define S_STATIC_C_PLL_SDORDER 21
12993 #define M_STATIC_C_PLL_SDORDER 0x3U
12994 #define V_STATIC_C_PLL_SDORDER(x) ((x) << S_STATIC_C_PLL_SDORDER)
12995 #define G_STATIC_C_PLL_SDORDER(x) (((x) >> S_STATIC_C_PLL_SDORDER) & M_STATIC_C_PLL_SDORDER)
12997 #define S_STATIC_C_PLL_DIVCHANGE 20
12998 #define V_STATIC_C_PLL_DIVCHANGE(x) ((x) << S_STATIC_C_PLL_DIVCHANGE)
12999 #define F_STATIC_C_PLL_DIVCHANGE V_STATIC_C_PLL_DIVCHANGE(1U)
13001 #define S_STATIC_C_PLL_STOPCLKB 19
13002 #define V_STATIC_C_PLL_STOPCLKB(x) ((x) << S_STATIC_C_PLL_STOPCLKB)
13003 #define F_STATIC_C_PLL_STOPCLKB V_STATIC_C_PLL_STOPCLKB(1U)
13005 #define S_STATIC_C_PLL_STOPCLKA 18
13006 #define V_STATIC_C_PLL_STOPCLKA(x) ((x) << S_STATIC_C_PLL_STOPCLKA)
13007 #define F_STATIC_C_PLL_STOPCLKA V_STATIC_C_PLL_STOPCLKA(1U)
13009 #define S_T6_STATIC_C_PLL_SLEEP 17
13010 #define V_T6_STATIC_C_PLL_SLEEP(x) ((x) << S_T6_STATIC_C_PLL_SLEEP)
13011 #define F_T6_STATIC_C_PLL_SLEEP V_T6_STATIC_C_PLL_SLEEP(1U)
13013 #define S_T6_STATIC_C_PLL_BYPASS 16
13014 #define V_T6_STATIC_C_PLL_BYPASS(x) ((x) << S_T6_STATIC_C_PLL_BYPASS)
13015 #define F_T6_STATIC_C_PLL_BYPASS V_T6_STATIC_C_PLL_BYPASS(1U)
13017 #define S_STATIC_C_PLL_LOCKTUNE 0
13018 #define M_STATIC_C_PLL_LOCKTUNE 0x1fU
13019 #define V_STATIC_C_PLL_LOCKTUNE(x) ((x) << S_STATIC_C_PLL_LOCKTUNE)
13020 #define G_STATIC_C_PLL_LOCKTUNE(x) (((x) >> S_STATIC_C_PLL_LOCKTUNE) & M_STATIC_C_PLL_LOCKTUNE)
13022 #define A_DBG_T5_STATIC_C_PLL_CONF3 0x60d8
13024 #define S_T5_STATIC_C_PLL_MULTPRE 30
13025 #define M_T5_STATIC_C_PLL_MULTPRE 0x3U
13026 #define V_T5_STATIC_C_PLL_MULTPRE(x) ((x) << S_T5_STATIC_C_PLL_MULTPRE)
13027 #define G_T5_STATIC_C_PLL_MULTPRE(x) (((x) >> S_T5_STATIC_C_PLL_MULTPRE) & M_T5_STATIC_C_PLL_MULTPRE)
13029 #define S_T5_STATIC_C_PLL_LOCKSEL 28
13030 #define M_T5_STATIC_C_PLL_LOCKSEL 0x3U
13031 #define V_T5_STATIC_C_PLL_LOCKSEL(x) ((x) << S_T5_STATIC_C_PLL_LOCKSEL)
13032 #define G_T5_STATIC_C_PLL_LOCKSEL(x) (((x) >> S_T5_STATIC_C_PLL_LOCKSEL) & M_T5_STATIC_C_PLL_LOCKSEL)
13034 #define S_T5_STATIC_C_PLL_FFTUNE 12
13035 #define M_T5_STATIC_C_PLL_FFTUNE 0xffffU
13036 #define V_T5_STATIC_C_PLL_FFTUNE(x) ((x) << S_T5_STATIC_C_PLL_FFTUNE)
13037 #define G_T5_STATIC_C_PLL_FFTUNE(x) (((x) >> S_T5_STATIC_C_PLL_FFTUNE) & M_T5_STATIC_C_PLL_FFTUNE)
13039 #define S_T5_STATIC_C_PLL_RANGEPRE 10
13040 #define M_T5_STATIC_C_PLL_RANGEPRE 0x3U
13041 #define V_T5_STATIC_C_PLL_RANGEPRE(x) ((x) << S_T5_STATIC_C_PLL_RANGEPRE)
13042 #define G_T5_STATIC_C_PLL_RANGEPRE(x) (((x) >> S_T5_STATIC_C_PLL_RANGEPRE) & M_T5_STATIC_C_PLL_RANGEPRE)
13044 #define S_T5_STATIC_C_PLL_RANGEB 5
13045 #define M_T5_STATIC_C_PLL_RANGEB 0x1fU
13046 #define V_T5_STATIC_C_PLL_RANGEB(x) ((x) << S_T5_STATIC_C_PLL_RANGEB)
13047 #define G_T5_STATIC_C_PLL_RANGEB(x) (((x) >> S_T5_STATIC_C_PLL_RANGEB) & M_T5_STATIC_C_PLL_RANGEB)
13049 #define S_T5_STATIC_C_PLL_RANGEA 0
13050 #define M_T5_STATIC_C_PLL_RANGEA 0x1fU
13051 #define V_T5_STATIC_C_PLL_RANGEA(x) ((x) << S_T5_STATIC_C_PLL_RANGEA)
13052 #define G_T5_STATIC_C_PLL_RANGEA(x) (((x) >> S_T5_STATIC_C_PLL_RANGEA) & M_T5_STATIC_C_PLL_RANGEA)
13054 #define A_DBG_STATIC_C_PLL_CONF3 0x60d8
13056 #define S_STATIC_C_PLL_MULTPRE 30
13057 #define M_STATIC_C_PLL_MULTPRE 0x3U
13058 #define V_STATIC_C_PLL_MULTPRE(x) ((x) << S_STATIC_C_PLL_MULTPRE)
13059 #define G_STATIC_C_PLL_MULTPRE(x) (((x) >> S_STATIC_C_PLL_MULTPRE) & M_STATIC_C_PLL_MULTPRE)
13061 #define S_STATIC_C_PLL_LOCKSEL 28
13062 #define V_STATIC_C_PLL_LOCKSEL(x) ((x) << S_STATIC_C_PLL_LOCKSEL)
13063 #define F_STATIC_C_PLL_LOCKSEL V_STATIC_C_PLL_LOCKSEL(1U)
13065 #define S_STATIC_C_PLL_FFTUNE 12
13066 #define M_STATIC_C_PLL_FFTUNE 0xffffU
13067 #define V_STATIC_C_PLL_FFTUNE(x) ((x) << S_STATIC_C_PLL_FFTUNE)
13068 #define G_STATIC_C_PLL_FFTUNE(x) (((x) >> S_STATIC_C_PLL_FFTUNE) & M_STATIC_C_PLL_FFTUNE)
13070 #define S_STATIC_C_PLL_RANGEPRE 10
13071 #define M_STATIC_C_PLL_RANGEPRE 0x3U
13072 #define V_STATIC_C_PLL_RANGEPRE(x) ((x) << S_STATIC_C_PLL_RANGEPRE)
13073 #define G_STATIC_C_PLL_RANGEPRE(x) (((x) >> S_STATIC_C_PLL_RANGEPRE) & M_STATIC_C_PLL_RANGEPRE)
13075 #define S_T6_STATIC_C_PLL_RANGEB 5
13076 #define M_T6_STATIC_C_PLL_RANGEB 0x1fU
13077 #define V_T6_STATIC_C_PLL_RANGEB(x) ((x) << S_T6_STATIC_C_PLL_RANGEB)
13078 #define G_T6_STATIC_C_PLL_RANGEB(x) (((x) >> S_T6_STATIC_C_PLL_RANGEB) & M_T6_STATIC_C_PLL_RANGEB)
13080 #define S_T6_STATIC_C_PLL_RANGEA 0
13081 #define M_T6_STATIC_C_PLL_RANGEA 0x1fU
13082 #define V_T6_STATIC_C_PLL_RANGEA(x) ((x) << S_T6_STATIC_C_PLL_RANGEA)
13083 #define G_T6_STATIC_C_PLL_RANGEA(x) (((x) >> S_T6_STATIC_C_PLL_RANGEA) & M_T6_STATIC_C_PLL_RANGEA)
13085 #define A_DBG_T5_STATIC_C_PLL_CONF4 0x60dc
13086 #define A_DBG_STATIC_C_PLL_CONF4 0x60dc
13087 #define A_DBG_T5_STATIC_C_PLL_CONF5 0x60e0
13089 #define S_T5_STATIC_C_PLL_VCVTUNE 22
13090 #define M_T5_STATIC_C_PLL_VCVTUNE 0x7U
13091 #define V_T5_STATIC_C_PLL_VCVTUNE(x) ((x) << S_T5_STATIC_C_PLL_VCVTUNE)
13092 #define G_T5_STATIC_C_PLL_VCVTUNE(x) (((x) >> S_T5_STATIC_C_PLL_VCVTUNE) & M_T5_STATIC_C_PLL_VCVTUNE)
13094 #define S_T5_STATIC_C_PLL_LFTUNE_32_40 13
13095 #define M_T5_STATIC_C_PLL_LFTUNE_32_40 0x1ffU
13096 #define V_T5_STATIC_C_PLL_LFTUNE_32_40(x) ((x) << S_T5_STATIC_C_PLL_LFTUNE_32_40)
13097 #define G_T5_STATIC_C_PLL_LFTUNE_32_40(x) (((x) >> S_T5_STATIC_C_PLL_LFTUNE_32_40) & M_T5_STATIC_C_PLL_LFTUNE_32_40)
13099 #define S_T5_STATIC_C_PLL_PREDIV 8
13100 #define M_T5_STATIC_C_PLL_PREDIV 0x1fU
13101 #define V_T5_STATIC_C_PLL_PREDIV(x) ((x) << S_T5_STATIC_C_PLL_PREDIV)
13102 #define G_T5_STATIC_C_PLL_PREDIV(x) (((x) >> S_T5_STATIC_C_PLL_PREDIV) & M_T5_STATIC_C_PLL_PREDIV)
13104 #define S_T5_STATIC_C_PLL_MULT 0
13105 #define M_T5_STATIC_C_PLL_MULT 0xffU
13106 #define V_T5_STATIC_C_PLL_MULT(x) ((x) << S_T5_STATIC_C_PLL_MULT)
13107 #define G_T5_STATIC_C_PLL_MULT(x) (((x) >> S_T5_STATIC_C_PLL_MULT) & M_T5_STATIC_C_PLL_MULT)
13109 #define A_DBG_STATIC_C_PLL_CONF5 0x60e0
13111 #define S_STATIC_C_PLL_FFBYPASS 27
13112 #define V_STATIC_C_PLL_FFBYPASS(x) ((x) << S_STATIC_C_PLL_FFBYPASS)
13113 #define F_STATIC_C_PLL_FFBYPASS V_STATIC_C_PLL_FFBYPASS(1U)
13115 #define S_STATIC_C_PLL_FASTSTOP 26
13116 #define V_STATIC_C_PLL_FASTSTOP(x) ((x) << S_STATIC_C_PLL_FASTSTOP)
13117 #define F_STATIC_C_PLL_FASTSTOP V_STATIC_C_PLL_FASTSTOP(1U)
13119 #define S_STATIC_C_PLL_FRAMESTOP 25
13120 #define V_STATIC_C_PLL_FRAMESTOP(x) ((x) << S_STATIC_C_PLL_FRAMESTOP)
13121 #define F_STATIC_C_PLL_FRAMESTOP V_STATIC_C_PLL_FRAMESTOP(1U)
13123 #define S_STATIC_C_PLL_VCVTUNE 22
13124 #define M_STATIC_C_PLL_VCVTUNE 0x7U
13125 #define V_STATIC_C_PLL_VCVTUNE(x) ((x) << S_STATIC_C_PLL_VCVTUNE)
13126 #define G_STATIC_C_PLL_VCVTUNE(x) (((x) >> S_STATIC_C_PLL_VCVTUNE) & M_STATIC_C_PLL_VCVTUNE)
13128 #define S_STATIC_C_PLL_LFTUNE_32_40 13
13129 #define M_STATIC_C_PLL_LFTUNE_32_40 0x1ffU
13130 #define V_STATIC_C_PLL_LFTUNE_32_40(x) ((x) << S_STATIC_C_PLL_LFTUNE_32_40)
13131 #define G_STATIC_C_PLL_LFTUNE_32_40(x) (((x) >> S_STATIC_C_PLL_LFTUNE_32_40) & M_STATIC_C_PLL_LFTUNE_32_40)
13133 #define S_STATIC_C_PLL_PREDIV_CNF5 8
13134 #define M_STATIC_C_PLL_PREDIV_CNF5 0x1fU
13135 #define V_STATIC_C_PLL_PREDIV_CNF5(x) ((x) << S_STATIC_C_PLL_PREDIV_CNF5)
13136 #define G_STATIC_C_PLL_PREDIV_CNF5(x) (((x) >> S_STATIC_C_PLL_PREDIV_CNF5) & M_STATIC_C_PLL_PREDIV_CNF5)
13138 #define S_T6_STATIC_C_PLL_MULT 0
13139 #define M_T6_STATIC_C_PLL_MULT 0xffU
13140 #define V_T6_STATIC_C_PLL_MULT(x) ((x) << S_T6_STATIC_C_PLL_MULT)
13141 #define G_T6_STATIC_C_PLL_MULT(x) (((x) >> S_T6_STATIC_C_PLL_MULT) & M_T6_STATIC_C_PLL_MULT)
13143 #define A_DBG_T5_STATIC_U_PLL_CONF1 0x60e4
13145 #define S_T5_STATIC_U_PLL_MULTFRAC 8
13146 #define M_T5_STATIC_U_PLL_MULTFRAC 0xffffffU
13147 #define V_T5_STATIC_U_PLL_MULTFRAC(x) ((x) << S_T5_STATIC_U_PLL_MULTFRAC)
13148 #define G_T5_STATIC_U_PLL_MULTFRAC(x) (((x) >> S_T5_STATIC_U_PLL_MULTFRAC) & M_T5_STATIC_U_PLL_MULTFRAC)
13150 #define S_T5_STATIC_U_PLL_FFSLEWRATE 0
13151 #define M_T5_STATIC_U_PLL_FFSLEWRATE 0xffU
13152 #define V_T5_STATIC_U_PLL_FFSLEWRATE(x) ((x) << S_T5_STATIC_U_PLL_FFSLEWRATE)
13153 #define G_T5_STATIC_U_PLL_FFSLEWRATE(x) (((x) >> S_T5_STATIC_U_PLL_FFSLEWRATE) & M_T5_STATIC_U_PLL_FFSLEWRATE)
13155 #define A_DBG_STATIC_U_PLL_CONF1 0x60e4
13157 #define S_STATIC_U_PLL_MULTFRAC 8
13158 #define M_STATIC_U_PLL_MULTFRAC 0xffffffU
13159 #define V_STATIC_U_PLL_MULTFRAC(x) ((x) << S_STATIC_U_PLL_MULTFRAC)
13160 #define G_STATIC_U_PLL_MULTFRAC(x) (((x) >> S_STATIC_U_PLL_MULTFRAC) & M_STATIC_U_PLL_MULTFRAC)
13162 #define S_STATIC_U_PLL_FFSLEWRATE 0
13163 #define M_STATIC_U_PLL_FFSLEWRATE 0xffU
13164 #define V_STATIC_U_PLL_FFSLEWRATE(x) ((x) << S_STATIC_U_PLL_FFSLEWRATE)
13165 #define G_STATIC_U_PLL_FFSLEWRATE(x) (((x) >> S_STATIC_U_PLL_FFSLEWRATE) & M_STATIC_U_PLL_FFSLEWRATE)
13167 #define A_DBG_T5_STATIC_U_PLL_CONF2 0x60e8
13169 #define S_T5_STATIC_U_PLL_DCO_BYPASS 23
13170 #define V_T5_STATIC_U_PLL_DCO_BYPASS(x) ((x) << S_T5_STATIC_U_PLL_DCO_BYPASS)
13171 #define F_T5_STATIC_U_PLL_DCO_BYPASS V_T5_STATIC_U_PLL_DCO_BYPASS(1U)
13173 #define S_T5_STATIC_U_PLL_SDORDER 21
13174 #define M_T5_STATIC_U_PLL_SDORDER 0x3U
13175 #define V_T5_STATIC_U_PLL_SDORDER(x) ((x) << S_T5_STATIC_U_PLL_SDORDER)
13176 #define G_T5_STATIC_U_PLL_SDORDER(x) (((x) >> S_T5_STATIC_U_PLL_SDORDER) & M_T5_STATIC_U_PLL_SDORDER)
13178 #define S_T5_STATIC_U_PLL_FFENABLE 20
13179 #define V_T5_STATIC_U_PLL_FFENABLE(x) ((x) << S_T5_STATIC_U_PLL_FFENABLE)
13180 #define F_T5_STATIC_U_PLL_FFENABLE V_T5_STATIC_U_PLL_FFENABLE(1U)
13182 #define S_T5_STATIC_U_PLL_STOPCLKB 19
13183 #define V_T5_STATIC_U_PLL_STOPCLKB(x) ((x) << S_T5_STATIC_U_PLL_STOPCLKB)
13184 #define F_T5_STATIC_U_PLL_STOPCLKB V_T5_STATIC_U_PLL_STOPCLKB(1U)
13186 #define S_T5_STATIC_U_PLL_STOPCLKA 18
13187 #define V_T5_STATIC_U_PLL_STOPCLKA(x) ((x) << S_T5_STATIC_U_PLL_STOPCLKA)
13188 #define F_T5_STATIC_U_PLL_STOPCLKA V_T5_STATIC_U_PLL_STOPCLKA(1U)
13190 #define S_T5_STATIC_U_PLL_SLEEP 17
13191 #define V_T5_STATIC_U_PLL_SLEEP(x) ((x) << S_T5_STATIC_U_PLL_SLEEP)
13192 #define F_T5_STATIC_U_PLL_SLEEP V_T5_STATIC_U_PLL_SLEEP(1U)
13194 #define S_T5_STATIC_U_PLL_BYPASS 16
13195 #define V_T5_STATIC_U_PLL_BYPASS(x) ((x) << S_T5_STATIC_U_PLL_BYPASS)
13196 #define F_T5_STATIC_U_PLL_BYPASS V_T5_STATIC_U_PLL_BYPASS(1U)
13198 #define S_T5_STATIC_U_PLL_LOCKTUNE 0
13199 #define M_T5_STATIC_U_PLL_LOCKTUNE 0xffffU
13200 #define V_T5_STATIC_U_PLL_LOCKTUNE(x) ((x) << S_T5_STATIC_U_PLL_LOCKTUNE)
13201 #define G_T5_STATIC_U_PLL_LOCKTUNE(x) (((x) >> S_T5_STATIC_U_PLL_LOCKTUNE) & M_T5_STATIC_U_PLL_LOCKTUNE)
13203 #define A_DBG_STATIC_U_PLL_CONF2 0x60e8
13205 #define S_T6_STATIC_U_PLL_PREDIV 26
13206 #define M_T6_STATIC_U_PLL_PREDIV 0x3fU
13207 #define V_T6_STATIC_U_PLL_PREDIV(x) ((x) << S_T6_STATIC_U_PLL_PREDIV)
13208 #define G_T6_STATIC_U_PLL_PREDIV(x) (((x) >> S_T6_STATIC_U_PLL_PREDIV) & M_T6_STATIC_U_PLL_PREDIV)
13210 #define S_STATIC_U_PLL_STARTUP 24
13211 #define M_STATIC_U_PLL_STARTUP 0x3U
13212 #define V_STATIC_U_PLL_STARTUP(x) ((x) << S_STATIC_U_PLL_STARTUP)
13213 #define G_STATIC_U_PLL_STARTUP(x) (((x) >> S_STATIC_U_PLL_STARTUP) & M_STATIC_U_PLL_STARTUP)
13215 #define S_STATIC_U_PLL_DCO_BYPASS 23
13216 #define V_STATIC_U_PLL_DCO_BYPASS(x) ((x) << S_STATIC_U_PLL_DCO_BYPASS)
13217 #define F_STATIC_U_PLL_DCO_BYPASS V_STATIC_U_PLL_DCO_BYPASS(1U)
13219 #define S_STATIC_U_PLL_SDORDER 21
13220 #define M_STATIC_U_PLL_SDORDER 0x3U
13221 #define V_STATIC_U_PLL_SDORDER(x) ((x) << S_STATIC_U_PLL_SDORDER)
13222 #define G_STATIC_U_PLL_SDORDER(x) (((x) >> S_STATIC_U_PLL_SDORDER) & M_STATIC_U_PLL_SDORDER)
13224 #define S_STATIC_U_PLL_DIVCHANGE 20
13225 #define V_STATIC_U_PLL_DIVCHANGE(x) ((x) << S_STATIC_U_PLL_DIVCHANGE)
13226 #define F_STATIC_U_PLL_DIVCHANGE V_STATIC_U_PLL_DIVCHANGE(1U)
13228 #define S_STATIC_U_PLL_STOPCLKB 19
13229 #define V_STATIC_U_PLL_STOPCLKB(x) ((x) << S_STATIC_U_PLL_STOPCLKB)
13230 #define F_STATIC_U_PLL_STOPCLKB V_STATIC_U_PLL_STOPCLKB(1U)
13232 #define S_STATIC_U_PLL_STOPCLKA 18
13233 #define V_STATIC_U_PLL_STOPCLKA(x) ((x) << S_STATIC_U_PLL_STOPCLKA)
13234 #define F_STATIC_U_PLL_STOPCLKA V_STATIC_U_PLL_STOPCLKA(1U)
13236 #define S_T6_STATIC_U_PLL_SLEEP 17
13237 #define V_T6_STATIC_U_PLL_SLEEP(x) ((x) << S_T6_STATIC_U_PLL_SLEEP)
13238 #define F_T6_STATIC_U_PLL_SLEEP V_T6_STATIC_U_PLL_SLEEP(1U)
13240 #define S_T6_STATIC_U_PLL_BYPASS 16
13241 #define V_T6_STATIC_U_PLL_BYPASS(x) ((x) << S_T6_STATIC_U_PLL_BYPASS)
13242 #define F_T6_STATIC_U_PLL_BYPASS V_T6_STATIC_U_PLL_BYPASS(1U)
13244 #define S_STATIC_U_PLL_LOCKTUNE 0
13245 #define M_STATIC_U_PLL_LOCKTUNE 0x1fU
13246 #define V_STATIC_U_PLL_LOCKTUNE(x) ((x) << S_STATIC_U_PLL_LOCKTUNE)
13247 #define G_STATIC_U_PLL_LOCKTUNE(x) (((x) >> S_STATIC_U_PLL_LOCKTUNE) & M_STATIC_U_PLL_LOCKTUNE)
13249 #define A_DBG_T5_STATIC_U_PLL_CONF3 0x60ec
13251 #define S_T5_STATIC_U_PLL_MULTPRE 30
13252 #define M_T5_STATIC_U_PLL_MULTPRE 0x3U
13253 #define V_T5_STATIC_U_PLL_MULTPRE(x) ((x) << S_T5_STATIC_U_PLL_MULTPRE)
13254 #define G_T5_STATIC_U_PLL_MULTPRE(x) (((x) >> S_T5_STATIC_U_PLL_MULTPRE) & M_T5_STATIC_U_PLL_MULTPRE)
13256 #define S_T5_STATIC_U_PLL_LOCKSEL 28
13257 #define M_T5_STATIC_U_PLL_LOCKSEL 0x3U
13258 #define V_T5_STATIC_U_PLL_LOCKSEL(x) ((x) << S_T5_STATIC_U_PLL_LOCKSEL)
13259 #define G_T5_STATIC_U_PLL_LOCKSEL(x) (((x) >> S_T5_STATIC_U_PLL_LOCKSEL) & M_T5_STATIC_U_PLL_LOCKSEL)
13261 #define S_T5_STATIC_U_PLL_FFTUNE 12
13262 #define M_T5_STATIC_U_PLL_FFTUNE 0xffffU
13263 #define V_T5_STATIC_U_PLL_FFTUNE(x) ((x) << S_T5_STATIC_U_PLL_FFTUNE)
13264 #define G_T5_STATIC_U_PLL_FFTUNE(x) (((x) >> S_T5_STATIC_U_PLL_FFTUNE) & M_T5_STATIC_U_PLL_FFTUNE)
13266 #define S_T5_STATIC_U_PLL_RANGEPRE 10
13267 #define M_T5_STATIC_U_PLL_RANGEPRE 0x3U
13268 #define V_T5_STATIC_U_PLL_RANGEPRE(x) ((x) << S_T5_STATIC_U_PLL_RANGEPRE)
13269 #define G_T5_STATIC_U_PLL_RANGEPRE(x) (((x) >> S_T5_STATIC_U_PLL_RANGEPRE) & M_T5_STATIC_U_PLL_RANGEPRE)
13271 #define S_T5_STATIC_U_PLL_RANGEB 5
13272 #define M_T5_STATIC_U_PLL_RANGEB 0x1fU
13273 #define V_T5_STATIC_U_PLL_RANGEB(x) ((x) << S_T5_STATIC_U_PLL_RANGEB)
13274 #define G_T5_STATIC_U_PLL_RANGEB(x) (((x) >> S_T5_STATIC_U_PLL_RANGEB) & M_T5_STATIC_U_PLL_RANGEB)
13276 #define S_T5_STATIC_U_PLL_RANGEA 0
13277 #define M_T5_STATIC_U_PLL_RANGEA 0x1fU
13278 #define V_T5_STATIC_U_PLL_RANGEA(x) ((x) << S_T5_STATIC_U_PLL_RANGEA)
13279 #define G_T5_STATIC_U_PLL_RANGEA(x) (((x) >> S_T5_STATIC_U_PLL_RANGEA) & M_T5_STATIC_U_PLL_RANGEA)
13281 #define A_DBG_STATIC_U_PLL_CONF3 0x60ec
13283 #define S_STATIC_U_PLL_MULTPRE 30
13284 #define M_STATIC_U_PLL_MULTPRE 0x3U
13285 #define V_STATIC_U_PLL_MULTPRE(x) ((x) << S_STATIC_U_PLL_MULTPRE)
13286 #define G_STATIC_U_PLL_MULTPRE(x) (((x) >> S_STATIC_U_PLL_MULTPRE) & M_STATIC_U_PLL_MULTPRE)
13288 #define S_STATIC_U_PLL_LOCKSEL 28
13289 #define V_STATIC_U_PLL_LOCKSEL(x) ((x) << S_STATIC_U_PLL_LOCKSEL)
13290 #define F_STATIC_U_PLL_LOCKSEL V_STATIC_U_PLL_LOCKSEL(1U)
13292 #define S_STATIC_U_PLL_FFTUNE 12
13293 #define M_STATIC_U_PLL_FFTUNE 0xffffU
13294 #define V_STATIC_U_PLL_FFTUNE(x) ((x) << S_STATIC_U_PLL_FFTUNE)
13295 #define G_STATIC_U_PLL_FFTUNE(x) (((x) >> S_STATIC_U_PLL_FFTUNE) & M_STATIC_U_PLL_FFTUNE)
13297 #define S_STATIC_U_PLL_RANGEPRE 10
13298 #define M_STATIC_U_PLL_RANGEPRE 0x3U
13299 #define V_STATIC_U_PLL_RANGEPRE(x) ((x) << S_STATIC_U_PLL_RANGEPRE)
13300 #define G_STATIC_U_PLL_RANGEPRE(x) (((x) >> S_STATIC_U_PLL_RANGEPRE) & M_STATIC_U_PLL_RANGEPRE)
13302 #define S_T6_STATIC_U_PLL_RANGEB 5
13303 #define M_T6_STATIC_U_PLL_RANGEB 0x1fU
13304 #define V_T6_STATIC_U_PLL_RANGEB(x) ((x) << S_T6_STATIC_U_PLL_RANGEB)
13305 #define G_T6_STATIC_U_PLL_RANGEB(x) (((x) >> S_T6_STATIC_U_PLL_RANGEB) & M_T6_STATIC_U_PLL_RANGEB)
13307 #define S_T6_STATIC_U_PLL_RANGEA 0
13308 #define M_T6_STATIC_U_PLL_RANGEA 0x1fU
13309 #define V_T6_STATIC_U_PLL_RANGEA(x) ((x) << S_T6_STATIC_U_PLL_RANGEA)
13310 #define G_T6_STATIC_U_PLL_RANGEA(x) (((x) >> S_T6_STATIC_U_PLL_RANGEA) & M_T6_STATIC_U_PLL_RANGEA)
13312 #define A_DBG_T5_STATIC_U_PLL_CONF4 0x60f0
13313 #define A_DBG_STATIC_U_PLL_CONF4 0x60f0
13314 #define A_DBG_T5_STATIC_U_PLL_CONF5 0x60f4
13316 #define S_T5_STATIC_U_PLL_VCVTUNE 22
13317 #define M_T5_STATIC_U_PLL_VCVTUNE 0x7U
13318 #define V_T5_STATIC_U_PLL_VCVTUNE(x) ((x) << S_T5_STATIC_U_PLL_VCVTUNE)
13319 #define G_T5_STATIC_U_PLL_VCVTUNE(x) (((x) >> S_T5_STATIC_U_PLL_VCVTUNE) & M_T5_STATIC_U_PLL_VCVTUNE)
13321 #define S_T5_STATIC_U_PLL_LFTUNE_32_40 13
13322 #define M_T5_STATIC_U_PLL_LFTUNE_32_40 0x1ffU
13323 #define V_T5_STATIC_U_PLL_LFTUNE_32_40(x) ((x) << S_T5_STATIC_U_PLL_LFTUNE_32_40)
13324 #define G_T5_STATIC_U_PLL_LFTUNE_32_40(x) (((x) >> S_T5_STATIC_U_PLL_LFTUNE_32_40) & M_T5_STATIC_U_PLL_LFTUNE_32_40)
13326 #define S_T5_STATIC_U_PLL_PREDIV 8
13327 #define M_T5_STATIC_U_PLL_PREDIV 0x1fU
13328 #define V_T5_STATIC_U_PLL_PREDIV(x) ((x) << S_T5_STATIC_U_PLL_PREDIV)
13329 #define G_T5_STATIC_U_PLL_PREDIV(x) (((x) >> S_T5_STATIC_U_PLL_PREDIV) & M_T5_STATIC_U_PLL_PREDIV)
13331 #define S_T5_STATIC_U_PLL_MULT 0
13332 #define M_T5_STATIC_U_PLL_MULT 0xffU
13333 #define V_T5_STATIC_U_PLL_MULT(x) ((x) << S_T5_STATIC_U_PLL_MULT)
13334 #define G_T5_STATIC_U_PLL_MULT(x) (((x) >> S_T5_STATIC_U_PLL_MULT) & M_T5_STATIC_U_PLL_MULT)
13336 #define A_DBG_STATIC_U_PLL_CONF5 0x60f4
13338 #define S_STATIC_U_PLL_FFBYPASS 27
13339 #define V_STATIC_U_PLL_FFBYPASS(x) ((x) << S_STATIC_U_PLL_FFBYPASS)
13340 #define F_STATIC_U_PLL_FFBYPASS V_STATIC_U_PLL_FFBYPASS(1U)
13342 #define S_STATIC_U_PLL_FASTSTOP 26
13343 #define V_STATIC_U_PLL_FASTSTOP(x) ((x) << S_STATIC_U_PLL_FASTSTOP)
13344 #define F_STATIC_U_PLL_FASTSTOP V_STATIC_U_PLL_FASTSTOP(1U)
13346 #define S_STATIC_U_PLL_FRAMESTOP 25
13347 #define V_STATIC_U_PLL_FRAMESTOP(x) ((x) << S_STATIC_U_PLL_FRAMESTOP)
13348 #define F_STATIC_U_PLL_FRAMESTOP V_STATIC_U_PLL_FRAMESTOP(1U)
13350 #define S_STATIC_U_PLL_VCVTUNE 22
13351 #define M_STATIC_U_PLL_VCVTUNE 0x7U
13352 #define V_STATIC_U_PLL_VCVTUNE(x) ((x) << S_STATIC_U_PLL_VCVTUNE)
13353 #define G_STATIC_U_PLL_VCVTUNE(x) (((x) >> S_STATIC_U_PLL_VCVTUNE) & M_STATIC_U_PLL_VCVTUNE)
13355 #define S_STATIC_U_PLL_LFTUNE_32_40 13
13356 #define M_STATIC_U_PLL_LFTUNE_32_40 0x1ffU
13357 #define V_STATIC_U_PLL_LFTUNE_32_40(x) ((x) << S_STATIC_U_PLL_LFTUNE_32_40)
13358 #define G_STATIC_U_PLL_LFTUNE_32_40(x) (((x) >> S_STATIC_U_PLL_LFTUNE_32_40) & M_STATIC_U_PLL_LFTUNE_32_40)
13360 #define S_STATIC_U_PLL_PREDIV_CNF5 8
13361 #define M_STATIC_U_PLL_PREDIV_CNF5 0x1fU
13362 #define V_STATIC_U_PLL_PREDIV_CNF5(x) ((x) << S_STATIC_U_PLL_PREDIV_CNF5)
13363 #define G_STATIC_U_PLL_PREDIV_CNF5(x) (((x) >> S_STATIC_U_PLL_PREDIV_CNF5) & M_STATIC_U_PLL_PREDIV_CNF5)
13365 #define S_T6_STATIC_U_PLL_MULT 0
13366 #define M_T6_STATIC_U_PLL_MULT 0xffU
13367 #define V_T6_STATIC_U_PLL_MULT(x) ((x) << S_T6_STATIC_U_PLL_MULT)
13368 #define G_T6_STATIC_U_PLL_MULT(x) (((x) >> S_T6_STATIC_U_PLL_MULT) & M_T6_STATIC_U_PLL_MULT)
13370 #define A_DBG_T5_STATIC_KR_PLL_CONF1 0x60f8
13372 #define S_T5_STATIC_KR_PLL_BYPASS 30
13373 #define V_T5_STATIC_KR_PLL_BYPASS(x) ((x) << S_T5_STATIC_KR_PLL_BYPASS)
13374 #define F_T5_STATIC_KR_PLL_BYPASS V_T5_STATIC_KR_PLL_BYPASS(1U)
13376 #define S_T5_STATIC_KR_PLL_VBOOSTDIV 27
13377 #define M_T5_STATIC_KR_PLL_VBOOSTDIV 0x7U
13378 #define V_T5_STATIC_KR_PLL_VBOOSTDIV(x) ((x) << S_T5_STATIC_KR_PLL_VBOOSTDIV)
13379 #define G_T5_STATIC_KR_PLL_VBOOSTDIV(x) (((x) >> S_T5_STATIC_KR_PLL_VBOOSTDIV) & M_T5_STATIC_KR_PLL_VBOOSTDIV)
13381 #define S_T5_STATIC_KR_PLL_CPISEL 24
13382 #define M_T5_STATIC_KR_PLL_CPISEL 0x7U
13383 #define V_T5_STATIC_KR_PLL_CPISEL(x) ((x) << S_T5_STATIC_KR_PLL_CPISEL)
13384 #define G_T5_STATIC_KR_PLL_CPISEL(x) (((x) >> S_T5_STATIC_KR_PLL_CPISEL) & M_T5_STATIC_KR_PLL_CPISEL)
13386 #define S_T5_STATIC_KR_PLL_CCALMETHOD 23
13387 #define V_T5_STATIC_KR_PLL_CCALMETHOD(x) ((x) << S_T5_STATIC_KR_PLL_CCALMETHOD)
13388 #define F_T5_STATIC_KR_PLL_CCALMETHOD V_T5_STATIC_KR_PLL_CCALMETHOD(1U)
13390 #define S_T5_STATIC_KR_PLL_CCALLOAD 22
13391 #define V_T5_STATIC_KR_PLL_CCALLOAD(x) ((x) << S_T5_STATIC_KR_PLL_CCALLOAD)
13392 #define F_T5_STATIC_KR_PLL_CCALLOAD V_T5_STATIC_KR_PLL_CCALLOAD(1U)
13394 #define S_T5_STATIC_KR_PLL_CCALFMIN 21
13395 #define V_T5_STATIC_KR_PLL_CCALFMIN(x) ((x) << S_T5_STATIC_KR_PLL_CCALFMIN)
13396 #define F_T5_STATIC_KR_PLL_CCALFMIN V_T5_STATIC_KR_PLL_CCALFMIN(1U)
13398 #define S_T5_STATIC_KR_PLL_CCALFMAX 20
13399 #define V_T5_STATIC_KR_PLL_CCALFMAX(x) ((x) << S_T5_STATIC_KR_PLL_CCALFMAX)
13400 #define F_T5_STATIC_KR_PLL_CCALFMAX V_T5_STATIC_KR_PLL_CCALFMAX(1U)
13402 #define S_T5_STATIC_KR_PLL_CCALCVHOLD 19
13403 #define V_T5_STATIC_KR_PLL_CCALCVHOLD(x) ((x) << S_T5_STATIC_KR_PLL_CCALCVHOLD)
13404 #define F_T5_STATIC_KR_PLL_CCALCVHOLD V_T5_STATIC_KR_PLL_CCALCVHOLD(1U)
13406 #define S_T5_STATIC_KR_PLL_CCALBANDSEL 15
13407 #define M_T5_STATIC_KR_PLL_CCALBANDSEL 0xfU
13408 #define V_T5_STATIC_KR_PLL_CCALBANDSEL(x) ((x) << S_T5_STATIC_KR_PLL_CCALBANDSEL)
13409 #define G_T5_STATIC_KR_PLL_CCALBANDSEL(x) (((x) >> S_T5_STATIC_KR_PLL_CCALBANDSEL) & M_T5_STATIC_KR_PLL_CCALBANDSEL)
13411 #define S_T5_STATIC_KR_PLL_BGOFFSET 11
13412 #define M_T5_STATIC_KR_PLL_BGOFFSET 0xfU
13413 #define V_T5_STATIC_KR_PLL_BGOFFSET(x) ((x) << S_T5_STATIC_KR_PLL_BGOFFSET)
13414 #define G_T5_STATIC_KR_PLL_BGOFFSET(x) (((x) >> S_T5_STATIC_KR_PLL_BGOFFSET) & M_T5_STATIC_KR_PLL_BGOFFSET)
13416 #define S_T5_STATIC_KR_PLL_P 8
13417 #define M_T5_STATIC_KR_PLL_P 0x7U
13418 #define V_T5_STATIC_KR_PLL_P(x) ((x) << S_T5_STATIC_KR_PLL_P)
13419 #define G_T5_STATIC_KR_PLL_P(x) (((x) >> S_T5_STATIC_KR_PLL_P) & M_T5_STATIC_KR_PLL_P)
13421 #define S_T5_STATIC_KR_PLL_N2 4
13422 #define M_T5_STATIC_KR_PLL_N2 0xfU
13423 #define V_T5_STATIC_KR_PLL_N2(x) ((x) << S_T5_STATIC_KR_PLL_N2)
13424 #define G_T5_STATIC_KR_PLL_N2(x) (((x) >> S_T5_STATIC_KR_PLL_N2) & M_T5_STATIC_KR_PLL_N2)
13426 #define S_T5_STATIC_KR_PLL_N1 0
13427 #define M_T5_STATIC_KR_PLL_N1 0xfU
13428 #define V_T5_STATIC_KR_PLL_N1(x) ((x) << S_T5_STATIC_KR_PLL_N1)
13429 #define G_T5_STATIC_KR_PLL_N1(x) (((x) >> S_T5_STATIC_KR_PLL_N1) & M_T5_STATIC_KR_PLL_N1)
13431 #define A_DBG_STATIC_KR_PLL_CONF1 0x60f8
13433 #define S_T6_STATIC_KR_PLL_BYPASS 30
13434 #define V_T6_STATIC_KR_PLL_BYPASS(x) ((x) << S_T6_STATIC_KR_PLL_BYPASS)
13435 #define F_T6_STATIC_KR_PLL_BYPASS V_T6_STATIC_KR_PLL_BYPASS(1U)
13437 #define S_STATIC_KR_PLL_VBOOSTDIV 27
13438 #define M_STATIC_KR_PLL_VBOOSTDIV 0x7U
13439 #define V_STATIC_KR_PLL_VBOOSTDIV(x) ((x) << S_STATIC_KR_PLL_VBOOSTDIV)
13440 #define G_STATIC_KR_PLL_VBOOSTDIV(x) (((x) >> S_STATIC_KR_PLL_VBOOSTDIV) & M_STATIC_KR_PLL_VBOOSTDIV)
13442 #define S_STATIC_KR_PLL_CPISEL 24
13443 #define M_STATIC_KR_PLL_CPISEL 0x7U
13444 #define V_STATIC_KR_PLL_CPISEL(x) ((x) << S_STATIC_KR_PLL_CPISEL)
13445 #define G_STATIC_KR_PLL_CPISEL(x) (((x) >> S_STATIC_KR_PLL_CPISEL) & M_STATIC_KR_PLL_CPISEL)
13447 #define S_STATIC_KR_PLL_CCALMETHOD 23
13448 #define V_STATIC_KR_PLL_CCALMETHOD(x) ((x) << S_STATIC_KR_PLL_CCALMETHOD)
13449 #define F_STATIC_KR_PLL_CCALMETHOD V_STATIC_KR_PLL_CCALMETHOD(1U)
13451 #define S_STATIC_KR_PLL_CCALLOAD 22
13452 #define V_STATIC_KR_PLL_CCALLOAD(x) ((x) << S_STATIC_KR_PLL_CCALLOAD)
13453 #define F_STATIC_KR_PLL_CCALLOAD V_STATIC_KR_PLL_CCALLOAD(1U)
13455 #define S_STATIC_KR_PLL_CCALFMIN 21
13456 #define V_STATIC_KR_PLL_CCALFMIN(x) ((x) << S_STATIC_KR_PLL_CCALFMIN)
13457 #define F_STATIC_KR_PLL_CCALFMIN V_STATIC_KR_PLL_CCALFMIN(1U)
13459 #define S_STATIC_KR_PLL_CCALFMAX 20
13460 #define V_STATIC_KR_PLL_CCALFMAX(x) ((x) << S_STATIC_KR_PLL_CCALFMAX)
13461 #define F_STATIC_KR_PLL_CCALFMAX V_STATIC_KR_PLL_CCALFMAX(1U)
13463 #define S_STATIC_KR_PLL_CCALCVHOLD 19
13464 #define V_STATIC_KR_PLL_CCALCVHOLD(x) ((x) << S_STATIC_KR_PLL_CCALCVHOLD)
13465 #define F_STATIC_KR_PLL_CCALCVHOLD V_STATIC_KR_PLL_CCALCVHOLD(1U)
13467 #define S_STATIC_KR_PLL_CCALBANDSEL 15
13468 #define M_STATIC_KR_PLL_CCALBANDSEL 0xfU
13469 #define V_STATIC_KR_PLL_CCALBANDSEL(x) ((x) << S_STATIC_KR_PLL_CCALBANDSEL)
13470 #define G_STATIC_KR_PLL_CCALBANDSEL(x) (((x) >> S_STATIC_KR_PLL_CCALBANDSEL) & M_STATIC_KR_PLL_CCALBANDSEL)
13472 #define S_STATIC_KR_PLL_BGOFFSET 11
13473 #define M_STATIC_KR_PLL_BGOFFSET 0xfU
13474 #define V_STATIC_KR_PLL_BGOFFSET(x) ((x) << S_STATIC_KR_PLL_BGOFFSET)
13475 #define G_STATIC_KR_PLL_BGOFFSET(x) (((x) >> S_STATIC_KR_PLL_BGOFFSET) & M_STATIC_KR_PLL_BGOFFSET)
13477 #define S_T6_STATIC_KR_PLL_P 8
13478 #define M_T6_STATIC_KR_PLL_P 0x7U
13479 #define V_T6_STATIC_KR_PLL_P(x) ((x) << S_T6_STATIC_KR_PLL_P)
13480 #define G_T6_STATIC_KR_PLL_P(x) (((x) >> S_T6_STATIC_KR_PLL_P) & M_T6_STATIC_KR_PLL_P)
13482 #define S_T6_STATIC_KR_PLL_N2 4
13483 #define M_T6_STATIC_KR_PLL_N2 0xfU
13484 #define V_T6_STATIC_KR_PLL_N2(x) ((x) << S_T6_STATIC_KR_PLL_N2)
13485 #define G_T6_STATIC_KR_PLL_N2(x) (((x) >> S_T6_STATIC_KR_PLL_N2) & M_T6_STATIC_KR_PLL_N2)
13487 #define S_T6_STATIC_KR_PLL_N1 0
13488 #define M_T6_STATIC_KR_PLL_N1 0xfU
13489 #define V_T6_STATIC_KR_PLL_N1(x) ((x) << S_T6_STATIC_KR_PLL_N1)
13490 #define G_T6_STATIC_KR_PLL_N1(x) (((x) >> S_T6_STATIC_KR_PLL_N1) & M_T6_STATIC_KR_PLL_N1)
13492 #define A_DBG_T5_STATIC_KR_PLL_CONF2 0x60fc
13494 #define S_T5_STATIC_KR_PLL_M 11
13495 #define M_T5_STATIC_KR_PLL_M 0x1ffU
13496 #define V_T5_STATIC_KR_PLL_M(x) ((x) << S_T5_STATIC_KR_PLL_M)
13497 #define G_T5_STATIC_KR_PLL_M(x) (((x) >> S_T5_STATIC_KR_PLL_M) & M_T5_STATIC_KR_PLL_M)
13499 #define S_T5_STATIC_KR_PLL_ANALOGTUNE 0
13500 #define M_T5_STATIC_KR_PLL_ANALOGTUNE 0x7ffU
13501 #define V_T5_STATIC_KR_PLL_ANALOGTUNE(x) ((x) << S_T5_STATIC_KR_PLL_ANALOGTUNE)
13502 #define G_T5_STATIC_KR_PLL_ANALOGTUNE(x) (((x) >> S_T5_STATIC_KR_PLL_ANALOGTUNE) & M_T5_STATIC_KR_PLL_ANALOGTUNE)
13504 #define A_DBG_STATIC_KR_PLL_CONF2 0x60fc
13506 #define S_T6_STATIC_KR_PLL_M 11
13507 #define M_T6_STATIC_KR_PLL_M 0x1ffU
13508 #define V_T6_STATIC_KR_PLL_M(x) ((x) << S_T6_STATIC_KR_PLL_M)
13509 #define G_T6_STATIC_KR_PLL_M(x) (((x) >> S_T6_STATIC_KR_PLL_M) & M_T6_STATIC_KR_PLL_M)
13511 #define S_STATIC_KR_PLL_ANALOGTUNE 0
13512 #define M_STATIC_KR_PLL_ANALOGTUNE 0x7ffU
13513 #define V_STATIC_KR_PLL_ANALOGTUNE(x) ((x) << S_STATIC_KR_PLL_ANALOGTUNE)
13514 #define G_STATIC_KR_PLL_ANALOGTUNE(x) (((x) >> S_STATIC_KR_PLL_ANALOGTUNE) & M_STATIC_KR_PLL_ANALOGTUNE)
13516 #define A_DBG_PVT_REG_CALIBRATE_CTL 0x6100
13518 #define S_HALT_CALIBRATE 1
13519 #define V_HALT_CALIBRATE(x) ((x) << S_HALT_CALIBRATE)
13520 #define F_HALT_CALIBRATE V_HALT_CALIBRATE(1U)
13522 #define S_RESET_CALIBRATE 0
13523 #define V_RESET_CALIBRATE(x) ((x) << S_RESET_CALIBRATE)
13524 #define F_RESET_CALIBRATE V_RESET_CALIBRATE(1U)
13526 #define A_DBG_GPIO_EN_NEW 0x6100
13528 #define S_GPIO16_OEN 7
13529 #define V_GPIO16_OEN(x) ((x) << S_GPIO16_OEN)
13530 #define F_GPIO16_OEN V_GPIO16_OEN(1U)
13532 #define S_GPIO17_OEN 6
13533 #define V_GPIO17_OEN(x) ((x) << S_GPIO17_OEN)
13534 #define F_GPIO17_OEN V_GPIO17_OEN(1U)
13536 #define S_GPIO18_OEN 5
13537 #define V_GPIO18_OEN(x) ((x) << S_GPIO18_OEN)
13538 #define F_GPIO18_OEN V_GPIO18_OEN(1U)
13540 #define S_GPIO19_OEN 4
13541 #define V_GPIO19_OEN(x) ((x) << S_GPIO19_OEN)
13542 #define F_GPIO19_OEN V_GPIO19_OEN(1U)
13544 #define S_GPIO16_OUT_VAL 3
13545 #define V_GPIO16_OUT_VAL(x) ((x) << S_GPIO16_OUT_VAL)
13546 #define F_GPIO16_OUT_VAL V_GPIO16_OUT_VAL(1U)
13548 #define S_GPIO17_OUT_VAL 2
13549 #define V_GPIO17_OUT_VAL(x) ((x) << S_GPIO17_OUT_VAL)
13550 #define F_GPIO17_OUT_VAL V_GPIO17_OUT_VAL(1U)
13552 #define S_GPIO18_OUT_VAL 1
13553 #define V_GPIO18_OUT_VAL(x) ((x) << S_GPIO18_OUT_VAL)
13554 #define F_GPIO18_OUT_VAL V_GPIO18_OUT_VAL(1U)
13556 #define S_GPIO19_OUT_VAL 0
13557 #define V_GPIO19_OUT_VAL(x) ((x) << S_GPIO19_OUT_VAL)
13558 #define F_GPIO19_OUT_VAL V_GPIO19_OUT_VAL(1U)
13560 #define A_DBG_PVT_REG_UPDATE_CTL 0x6104
13562 #define S_FAST_UPDATE 8
13563 #define V_FAST_UPDATE(x) ((x) << S_FAST_UPDATE)
13564 #define F_FAST_UPDATE V_FAST_UPDATE(1U)
13566 #define S_FORCE_REG_IN_VALUE 2
13567 #define V_FORCE_REG_IN_VALUE(x) ((x) << S_FORCE_REG_IN_VALUE)
13568 #define F_FORCE_REG_IN_VALUE V_FORCE_REG_IN_VALUE(1U)
13570 #define S_HALT_UPDATE 1
13571 #define V_HALT_UPDATE(x) ((x) << S_HALT_UPDATE)
13572 #define F_HALT_UPDATE V_HALT_UPDATE(1U)
13574 #define A_DBG_GPIO_IN_NEW 0x6104
13576 #define S_GPIO16_CHG_DET 7
13577 #define V_GPIO16_CHG_DET(x) ((x) << S_GPIO16_CHG_DET)
13578 #define F_GPIO16_CHG_DET V_GPIO16_CHG_DET(1U)
13580 #define S_GPIO17_CHG_DET 6
13581 #define V_GPIO17_CHG_DET(x) ((x) << S_GPIO17_CHG_DET)
13582 #define F_GPIO17_CHG_DET V_GPIO17_CHG_DET(1U)
13584 #define S_GPIO18_CHG_DET 5
13585 #define V_GPIO18_CHG_DET(x) ((x) << S_GPIO18_CHG_DET)
13586 #define F_GPIO18_CHG_DET V_GPIO18_CHG_DET(1U)
13588 #define S_GPIO19_CHG_DET 4
13589 #define V_GPIO19_CHG_DET(x) ((x) << S_GPIO19_CHG_DET)
13590 #define F_GPIO19_CHG_DET V_GPIO19_CHG_DET(1U)
13592 #define S_GPIO19_IN 3
13593 #define V_GPIO19_IN(x) ((x) << S_GPIO19_IN)
13594 #define F_GPIO19_IN V_GPIO19_IN(1U)
13596 #define S_GPIO18_IN 2
13597 #define V_GPIO18_IN(x) ((x) << S_GPIO18_IN)
13598 #define F_GPIO18_IN V_GPIO18_IN(1U)
13600 #define S_GPIO17_IN 1
13601 #define V_GPIO17_IN(x) ((x) << S_GPIO17_IN)
13602 #define F_GPIO17_IN V_GPIO17_IN(1U)
13604 #define S_GPIO16_IN 0
13605 #define V_GPIO16_IN(x) ((x) << S_GPIO16_IN)
13606 #define F_GPIO16_IN V_GPIO16_IN(1U)
13608 #define A_DBG_PVT_REG_LAST_MEASUREMENT 0x6108
13610 #define S_LAST_MEASUREMENT_SELECT 8
13611 #define M_LAST_MEASUREMENT_SELECT 0x3U
13612 #define V_LAST_MEASUREMENT_SELECT(x) ((x) << S_LAST_MEASUREMENT_SELECT)
13613 #define G_LAST_MEASUREMENT_SELECT(x) (((x) >> S_LAST_MEASUREMENT_SELECT) & M_LAST_MEASUREMENT_SELECT)
13615 #define S_LAST_MEASUREMENT_RESULT_BANK_B 4
13616 #define M_LAST_MEASUREMENT_RESULT_BANK_B 0xfU
13617 #define V_LAST_MEASUREMENT_RESULT_BANK_B(x) ((x) << S_LAST_MEASUREMENT_RESULT_BANK_B)
13618 #define G_LAST_MEASUREMENT_RESULT_BANK_B(x) (((x) >> S_LAST_MEASUREMENT_RESULT_BANK_B) & M_LAST_MEASUREMENT_RESULT_BANK_B)
13620 #define S_LAST_MEASUREMENT_RESULT_BANK_A 0
13621 #define M_LAST_MEASUREMENT_RESULT_BANK_A 0xfU
13622 #define V_LAST_MEASUREMENT_RESULT_BANK_A(x) ((x) << S_LAST_MEASUREMENT_RESULT_BANK_A)
13623 #define G_LAST_MEASUREMENT_RESULT_BANK_A(x) (((x) >> S_LAST_MEASUREMENT_RESULT_BANK_A) & M_LAST_MEASUREMENT_RESULT_BANK_A)
13625 #define A_DBG_T5_STATIC_KX_PLL_CONF1 0x6108
13627 #define S_T5_STATIC_KX_PLL_BYPASS 30
13628 #define V_T5_STATIC_KX_PLL_BYPASS(x) ((x) << S_T5_STATIC_KX_PLL_BYPASS)
13629 #define F_T5_STATIC_KX_PLL_BYPASS V_T5_STATIC_KX_PLL_BYPASS(1U)
13631 #define S_T5_STATIC_KX_PLL_VBOOSTDIV 27
13632 #define M_T5_STATIC_KX_PLL_VBOOSTDIV 0x7U
13633 #define V_T5_STATIC_KX_PLL_VBOOSTDIV(x) ((x) << S_T5_STATIC_KX_PLL_VBOOSTDIV)
13634 #define G_T5_STATIC_KX_PLL_VBOOSTDIV(x) (((x) >> S_T5_STATIC_KX_PLL_VBOOSTDIV) & M_T5_STATIC_KX_PLL_VBOOSTDIV)
13636 #define S_T5_STATIC_KX_PLL_CPISEL 24
13637 #define M_T5_STATIC_KX_PLL_CPISEL 0x7U
13638 #define V_T5_STATIC_KX_PLL_CPISEL(x) ((x) << S_T5_STATIC_KX_PLL_CPISEL)
13639 #define G_T5_STATIC_KX_PLL_CPISEL(x) (((x) >> S_T5_STATIC_KX_PLL_CPISEL) & M_T5_STATIC_KX_PLL_CPISEL)
13641 #define S_T5_STATIC_KX_PLL_CCALMETHOD 23
13642 #define V_T5_STATIC_KX_PLL_CCALMETHOD(x) ((x) << S_T5_STATIC_KX_PLL_CCALMETHOD)
13643 #define F_T5_STATIC_KX_PLL_CCALMETHOD V_T5_STATIC_KX_PLL_CCALMETHOD(1U)
13645 #define S_T5_STATIC_KX_PLL_CCALLOAD 22
13646 #define V_T5_STATIC_KX_PLL_CCALLOAD(x) ((x) << S_T5_STATIC_KX_PLL_CCALLOAD)
13647 #define F_T5_STATIC_KX_PLL_CCALLOAD V_T5_STATIC_KX_PLL_CCALLOAD(1U)
13649 #define S_T5_STATIC_KX_PLL_CCALFMIN 21
13650 #define V_T5_STATIC_KX_PLL_CCALFMIN(x) ((x) << S_T5_STATIC_KX_PLL_CCALFMIN)
13651 #define F_T5_STATIC_KX_PLL_CCALFMIN V_T5_STATIC_KX_PLL_CCALFMIN(1U)
13653 #define S_T5_STATIC_KX_PLL_CCALFMAX 20
13654 #define V_T5_STATIC_KX_PLL_CCALFMAX(x) ((x) << S_T5_STATIC_KX_PLL_CCALFMAX)
13655 #define F_T5_STATIC_KX_PLL_CCALFMAX V_T5_STATIC_KX_PLL_CCALFMAX(1U)
13657 #define S_T5_STATIC_KX_PLL_CCALCVHOLD 19
13658 #define V_T5_STATIC_KX_PLL_CCALCVHOLD(x) ((x) << S_T5_STATIC_KX_PLL_CCALCVHOLD)
13659 #define F_T5_STATIC_KX_PLL_CCALCVHOLD V_T5_STATIC_KX_PLL_CCALCVHOLD(1U)
13661 #define S_T5_STATIC_KX_PLL_CCALBANDSEL 15
13662 #define M_T5_STATIC_KX_PLL_CCALBANDSEL 0xfU
13663 #define V_T5_STATIC_KX_PLL_CCALBANDSEL(x) ((x) << S_T5_STATIC_KX_PLL_CCALBANDSEL)
13664 #define G_T5_STATIC_KX_PLL_CCALBANDSEL(x) (((x) >> S_T5_STATIC_KX_PLL_CCALBANDSEL) & M_T5_STATIC_KX_PLL_CCALBANDSEL)
13666 #define S_T5_STATIC_KX_PLL_BGOFFSET 11
13667 #define M_T5_STATIC_KX_PLL_BGOFFSET 0xfU
13668 #define V_T5_STATIC_KX_PLL_BGOFFSET(x) ((x) << S_T5_STATIC_KX_PLL_BGOFFSET)
13669 #define G_T5_STATIC_KX_PLL_BGOFFSET(x) (((x) >> S_T5_STATIC_KX_PLL_BGOFFSET) & M_T5_STATIC_KX_PLL_BGOFFSET)
13671 #define S_T5_STATIC_KX_PLL_P 8
13672 #define M_T5_STATIC_KX_PLL_P 0x7U
13673 #define V_T5_STATIC_KX_PLL_P(x) ((x) << S_T5_STATIC_KX_PLL_P)
13674 #define G_T5_STATIC_KX_PLL_P(x) (((x) >> S_T5_STATIC_KX_PLL_P) & M_T5_STATIC_KX_PLL_P)
13676 #define S_T5_STATIC_KX_PLL_N2 4
13677 #define M_T5_STATIC_KX_PLL_N2 0xfU
13678 #define V_T5_STATIC_KX_PLL_N2(x) ((x) << S_T5_STATIC_KX_PLL_N2)
13679 #define G_T5_STATIC_KX_PLL_N2(x) (((x) >> S_T5_STATIC_KX_PLL_N2) & M_T5_STATIC_KX_PLL_N2)
13681 #define S_T5_STATIC_KX_PLL_N1 0
13682 #define M_T5_STATIC_KX_PLL_N1 0xfU
13683 #define V_T5_STATIC_KX_PLL_N1(x) ((x) << S_T5_STATIC_KX_PLL_N1)
13684 #define G_T5_STATIC_KX_PLL_N1(x) (((x) >> S_T5_STATIC_KX_PLL_N1) & M_T5_STATIC_KX_PLL_N1)
13686 #define A_DBG_STATIC_KX_PLL_CONF1 0x6108
13688 #define S_T6_STATIC_KX_PLL_BYPASS 30
13689 #define V_T6_STATIC_KX_PLL_BYPASS(x) ((x) << S_T6_STATIC_KX_PLL_BYPASS)
13690 #define F_T6_STATIC_KX_PLL_BYPASS V_T6_STATIC_KX_PLL_BYPASS(1U)
13692 #define S_STATIC_KX_PLL_VBOOSTDIV 27
13693 #define M_STATIC_KX_PLL_VBOOSTDIV 0x7U
13694 #define V_STATIC_KX_PLL_VBOOSTDIV(x) ((x) << S_STATIC_KX_PLL_VBOOSTDIV)
13695 #define G_STATIC_KX_PLL_VBOOSTDIV(x) (((x) >> S_STATIC_KX_PLL_VBOOSTDIV) & M_STATIC_KX_PLL_VBOOSTDIV)
13697 #define S_STATIC_KX_PLL_CPISEL 24
13698 #define M_STATIC_KX_PLL_CPISEL 0x7U
13699 #define V_STATIC_KX_PLL_CPISEL(x) ((x) << S_STATIC_KX_PLL_CPISEL)
13700 #define G_STATIC_KX_PLL_CPISEL(x) (((x) >> S_STATIC_KX_PLL_CPISEL) & M_STATIC_KX_PLL_CPISEL)
13702 #define S_STATIC_KX_PLL_CCALMETHOD 23
13703 #define V_STATIC_KX_PLL_CCALMETHOD(x) ((x) << S_STATIC_KX_PLL_CCALMETHOD)
13704 #define F_STATIC_KX_PLL_CCALMETHOD V_STATIC_KX_PLL_CCALMETHOD(1U)
13706 #define S_STATIC_KX_PLL_CCALLOAD 22
13707 #define V_STATIC_KX_PLL_CCALLOAD(x) ((x) << S_STATIC_KX_PLL_CCALLOAD)
13708 #define F_STATIC_KX_PLL_CCALLOAD V_STATIC_KX_PLL_CCALLOAD(1U)
13710 #define S_STATIC_KX_PLL_CCALFMIN 21
13711 #define V_STATIC_KX_PLL_CCALFMIN(x) ((x) << S_STATIC_KX_PLL_CCALFMIN)
13712 #define F_STATIC_KX_PLL_CCALFMIN V_STATIC_KX_PLL_CCALFMIN(1U)
13714 #define S_STATIC_KX_PLL_CCALFMAX 20
13715 #define V_STATIC_KX_PLL_CCALFMAX(x) ((x) << S_STATIC_KX_PLL_CCALFMAX)
13716 #define F_STATIC_KX_PLL_CCALFMAX V_STATIC_KX_PLL_CCALFMAX(1U)
13718 #define S_STATIC_KX_PLL_CCALCVHOLD 19
13719 #define V_STATIC_KX_PLL_CCALCVHOLD(x) ((x) << S_STATIC_KX_PLL_CCALCVHOLD)
13720 #define F_STATIC_KX_PLL_CCALCVHOLD V_STATIC_KX_PLL_CCALCVHOLD(1U)
13722 #define S_STATIC_KX_PLL_CCALBANDSEL 15
13723 #define M_STATIC_KX_PLL_CCALBANDSEL 0xfU
13724 #define V_STATIC_KX_PLL_CCALBANDSEL(x) ((x) << S_STATIC_KX_PLL_CCALBANDSEL)
13725 #define G_STATIC_KX_PLL_CCALBANDSEL(x) (((x) >> S_STATIC_KX_PLL_CCALBANDSEL) & M_STATIC_KX_PLL_CCALBANDSEL)
13727 #define S_STATIC_KX_PLL_BGOFFSET 11
13728 #define M_STATIC_KX_PLL_BGOFFSET 0xfU
13729 #define V_STATIC_KX_PLL_BGOFFSET(x) ((x) << S_STATIC_KX_PLL_BGOFFSET)
13730 #define G_STATIC_KX_PLL_BGOFFSET(x) (((x) >> S_STATIC_KX_PLL_BGOFFSET) & M_STATIC_KX_PLL_BGOFFSET)
13732 #define S_T6_STATIC_KX_PLL_P 8
13733 #define M_T6_STATIC_KX_PLL_P 0x7U
13734 #define V_T6_STATIC_KX_PLL_P(x) ((x) << S_T6_STATIC_KX_PLL_P)
13735 #define G_T6_STATIC_KX_PLL_P(x) (((x) >> S_T6_STATIC_KX_PLL_P) & M_T6_STATIC_KX_PLL_P)
13737 #define S_T6_STATIC_KX_PLL_N2 4
13738 #define M_T6_STATIC_KX_PLL_N2 0xfU
13739 #define V_T6_STATIC_KX_PLL_N2(x) ((x) << S_T6_STATIC_KX_PLL_N2)
13740 #define G_T6_STATIC_KX_PLL_N2(x) (((x) >> S_T6_STATIC_KX_PLL_N2) & M_T6_STATIC_KX_PLL_N2)
13742 #define S_T6_STATIC_KX_PLL_N1 0
13743 #define M_T6_STATIC_KX_PLL_N1 0xfU
13744 #define V_T6_STATIC_KX_PLL_N1(x) ((x) << S_T6_STATIC_KX_PLL_N1)
13745 #define G_T6_STATIC_KX_PLL_N1(x) (((x) >> S_T6_STATIC_KX_PLL_N1) & M_T6_STATIC_KX_PLL_N1)
13747 #define A_DBG_PVT_REG_DRVN 0x610c
13749 #define S_PVT_REG_DRVN_EN 8
13750 #define V_PVT_REG_DRVN_EN(x) ((x) << S_PVT_REG_DRVN_EN)
13751 #define F_PVT_REG_DRVN_EN V_PVT_REG_DRVN_EN(1U)
13753 #define S_PVT_REG_DRVN_B 4
13754 #define M_PVT_REG_DRVN_B 0xfU
13755 #define V_PVT_REG_DRVN_B(x) ((x) << S_PVT_REG_DRVN_B)
13756 #define G_PVT_REG_DRVN_B(x) (((x) >> S_PVT_REG_DRVN_B) & M_PVT_REG_DRVN_B)
13758 #define S_PVT_REG_DRVN_A 0
13759 #define M_PVT_REG_DRVN_A 0xfU
13760 #define V_PVT_REG_DRVN_A(x) ((x) << S_PVT_REG_DRVN_A)
13761 #define G_PVT_REG_DRVN_A(x) (((x) >> S_PVT_REG_DRVN_A) & M_PVT_REG_DRVN_A)
13763 #define A_DBG_T5_STATIC_KX_PLL_CONF2 0x610c
13765 #define S_T5_STATIC_KX_PLL_M 11
13766 #define M_T5_STATIC_KX_PLL_M 0x1ffU
13767 #define V_T5_STATIC_KX_PLL_M(x) ((x) << S_T5_STATIC_KX_PLL_M)
13768 #define G_T5_STATIC_KX_PLL_M(x) (((x) >> S_T5_STATIC_KX_PLL_M) & M_T5_STATIC_KX_PLL_M)
13770 #define S_T5_STATIC_KX_PLL_ANALOGTUNE 0
13771 #define M_T5_STATIC_KX_PLL_ANALOGTUNE 0x7ffU
13772 #define V_T5_STATIC_KX_PLL_ANALOGTUNE(x) ((x) << S_T5_STATIC_KX_PLL_ANALOGTUNE)
13773 #define G_T5_STATIC_KX_PLL_ANALOGTUNE(x) (((x) >> S_T5_STATIC_KX_PLL_ANALOGTUNE) & M_T5_STATIC_KX_PLL_ANALOGTUNE)
13775 #define A_DBG_STATIC_KX_PLL_CONF2 0x610c
13777 #define S_T6_STATIC_KX_PLL_M 11
13778 #define M_T6_STATIC_KX_PLL_M 0x1ffU
13779 #define V_T6_STATIC_KX_PLL_M(x) ((x) << S_T6_STATIC_KX_PLL_M)
13780 #define G_T6_STATIC_KX_PLL_M(x) (((x) >> S_T6_STATIC_KX_PLL_M) & M_T6_STATIC_KX_PLL_M)
13782 #define S_STATIC_KX_PLL_ANALOGTUNE 0
13783 #define M_STATIC_KX_PLL_ANALOGTUNE 0x7ffU
13784 #define V_STATIC_KX_PLL_ANALOGTUNE(x) ((x) << S_STATIC_KX_PLL_ANALOGTUNE)
13785 #define G_STATIC_KX_PLL_ANALOGTUNE(x) (((x) >> S_STATIC_KX_PLL_ANALOGTUNE) & M_STATIC_KX_PLL_ANALOGTUNE)
13787 #define A_DBG_PVT_REG_DRVP 0x6110
13789 #define S_PVT_REG_DRVP_EN 8
13790 #define V_PVT_REG_DRVP_EN(x) ((x) << S_PVT_REG_DRVP_EN)
13791 #define F_PVT_REG_DRVP_EN V_PVT_REG_DRVP_EN(1U)
13793 #define S_PVT_REG_DRVP_B 4
13794 #define M_PVT_REG_DRVP_B 0xfU
13795 #define V_PVT_REG_DRVP_B(x) ((x) << S_PVT_REG_DRVP_B)
13796 #define G_PVT_REG_DRVP_B(x) (((x) >> S_PVT_REG_DRVP_B) & M_PVT_REG_DRVP_B)
13798 #define S_PVT_REG_DRVP_A 0
13799 #define M_PVT_REG_DRVP_A 0xfU
13800 #define V_PVT_REG_DRVP_A(x) ((x) << S_PVT_REG_DRVP_A)
13801 #define G_PVT_REG_DRVP_A(x) (((x) >> S_PVT_REG_DRVP_A) & M_PVT_REG_DRVP_A)
13803 #define A_DBG_T5_STATIC_C_DFS_CONF 0x6110
13805 #define S_STATIC_C_DFS_RANGEA 8
13806 #define M_STATIC_C_DFS_RANGEA 0x1fU
13807 #define V_STATIC_C_DFS_RANGEA(x) ((x) << S_STATIC_C_DFS_RANGEA)
13808 #define G_STATIC_C_DFS_RANGEA(x) (((x) >> S_STATIC_C_DFS_RANGEA) & M_STATIC_C_DFS_RANGEA)
13810 #define S_STATIC_C_DFS_RANGEB 3
13811 #define M_STATIC_C_DFS_RANGEB 0x1fU
13812 #define V_STATIC_C_DFS_RANGEB(x) ((x) << S_STATIC_C_DFS_RANGEB)
13813 #define G_STATIC_C_DFS_RANGEB(x) (((x) >> S_STATIC_C_DFS_RANGEB) & M_STATIC_C_DFS_RANGEB)
13815 #define S_STATIC_C_DFS_FFTUNE4 2
13816 #define V_STATIC_C_DFS_FFTUNE4(x) ((x) << S_STATIC_C_DFS_FFTUNE4)
13817 #define F_STATIC_C_DFS_FFTUNE4 V_STATIC_C_DFS_FFTUNE4(1U)
13819 #define S_STATIC_C_DFS_FFTUNE5 1
13820 #define V_STATIC_C_DFS_FFTUNE5(x) ((x) << S_STATIC_C_DFS_FFTUNE5)
13821 #define F_STATIC_C_DFS_FFTUNE5 V_STATIC_C_DFS_FFTUNE5(1U)
13823 #define S_STATIC_C_DFS_ENABLE 0
13824 #define V_STATIC_C_DFS_ENABLE(x) ((x) << S_STATIC_C_DFS_ENABLE)
13825 #define F_STATIC_C_DFS_ENABLE V_STATIC_C_DFS_ENABLE(1U)
13827 #define A_DBG_STATIC_C_DFS_CONF 0x6110
13828 #define A_DBG_PVT_REG_TERMN 0x6114
13830 #define S_PVT_REG_TERMN_EN 8
13831 #define V_PVT_REG_TERMN_EN(x) ((x) << S_PVT_REG_TERMN_EN)
13832 #define F_PVT_REG_TERMN_EN V_PVT_REG_TERMN_EN(1U)
13834 #define S_PVT_REG_TERMN_B 4
13835 #define M_PVT_REG_TERMN_B 0xfU
13836 #define V_PVT_REG_TERMN_B(x) ((x) << S_PVT_REG_TERMN_B)
13837 #define G_PVT_REG_TERMN_B(x) (((x) >> S_PVT_REG_TERMN_B) & M_PVT_REG_TERMN_B)
13839 #define S_PVT_REG_TERMN_A 0
13840 #define M_PVT_REG_TERMN_A 0xfU
13841 #define V_PVT_REG_TERMN_A(x) ((x) << S_PVT_REG_TERMN_A)
13842 #define G_PVT_REG_TERMN_A(x) (((x) >> S_PVT_REG_TERMN_A) & M_PVT_REG_TERMN_A)
13844 #define A_DBG_T5_STATIC_U_DFS_CONF 0x6114
13846 #define S_STATIC_U_DFS_RANGEA 8
13847 #define M_STATIC_U_DFS_RANGEA 0x1fU
13848 #define V_STATIC_U_DFS_RANGEA(x) ((x) << S_STATIC_U_DFS_RANGEA)
13849 #define G_STATIC_U_DFS_RANGEA(x) (((x) >> S_STATIC_U_DFS_RANGEA) & M_STATIC_U_DFS_RANGEA)
13851 #define S_STATIC_U_DFS_RANGEB 3
13852 #define M_STATIC_U_DFS_RANGEB 0x1fU
13853 #define V_STATIC_U_DFS_RANGEB(x) ((x) << S_STATIC_U_DFS_RANGEB)
13854 #define G_STATIC_U_DFS_RANGEB(x) (((x) >> S_STATIC_U_DFS_RANGEB) & M_STATIC_U_DFS_RANGEB)
13856 #define S_STATIC_U_DFS_FFTUNE4 2
13857 #define V_STATIC_U_DFS_FFTUNE4(x) ((x) << S_STATIC_U_DFS_FFTUNE4)
13858 #define F_STATIC_U_DFS_FFTUNE4 V_STATIC_U_DFS_FFTUNE4(1U)
13860 #define S_STATIC_U_DFS_FFTUNE5 1
13861 #define V_STATIC_U_DFS_FFTUNE5(x) ((x) << S_STATIC_U_DFS_FFTUNE5)
13862 #define F_STATIC_U_DFS_FFTUNE5 V_STATIC_U_DFS_FFTUNE5(1U)
13864 #define S_STATIC_U_DFS_ENABLE 0
13865 #define V_STATIC_U_DFS_ENABLE(x) ((x) << S_STATIC_U_DFS_ENABLE)
13866 #define F_STATIC_U_DFS_ENABLE V_STATIC_U_DFS_ENABLE(1U)
13868 #define A_DBG_STATIC_U_DFS_CONF 0x6114
13869 #define A_DBG_PVT_REG_TERMP 0x6118
13871 #define S_PVT_REG_TERMP_EN 8
13872 #define V_PVT_REG_TERMP_EN(x) ((x) << S_PVT_REG_TERMP_EN)
13873 #define F_PVT_REG_TERMP_EN V_PVT_REG_TERMP_EN(1U)
13875 #define S_PVT_REG_TERMP_B 4
13876 #define M_PVT_REG_TERMP_B 0xfU
13877 #define V_PVT_REG_TERMP_B(x) ((x) << S_PVT_REG_TERMP_B)
13878 #define G_PVT_REG_TERMP_B(x) (((x) >> S_PVT_REG_TERMP_B) & M_PVT_REG_TERMP_B)
13880 #define S_PVT_REG_TERMP_A 0
13881 #define M_PVT_REG_TERMP_A 0xfU
13882 #define V_PVT_REG_TERMP_A(x) ((x) << S_PVT_REG_TERMP_A)
13883 #define G_PVT_REG_TERMP_A(x) (((x) >> S_PVT_REG_TERMP_A) & M_PVT_REG_TERMP_A)
13885 #define A_DBG_GPIO_PE_EN 0x6118
13887 #define S_GPIO19_PE_EN 19
13888 #define V_GPIO19_PE_EN(x) ((x) << S_GPIO19_PE_EN)
13889 #define F_GPIO19_PE_EN V_GPIO19_PE_EN(1U)
13891 #define S_GPIO18_PE_EN 18
13892 #define V_GPIO18_PE_EN(x) ((x) << S_GPIO18_PE_EN)
13893 #define F_GPIO18_PE_EN V_GPIO18_PE_EN(1U)
13895 #define S_GPIO17_PE_EN 17
13896 #define V_GPIO17_PE_EN(x) ((x) << S_GPIO17_PE_EN)
13897 #define F_GPIO17_PE_EN V_GPIO17_PE_EN(1U)
13899 #define S_GPIO16_PE_EN 16
13900 #define V_GPIO16_PE_EN(x) ((x) << S_GPIO16_PE_EN)
13901 #define F_GPIO16_PE_EN V_GPIO16_PE_EN(1U)
13903 #define S_GPIO15_PE_EN 15
13904 #define V_GPIO15_PE_EN(x) ((x) << S_GPIO15_PE_EN)
13905 #define F_GPIO15_PE_EN V_GPIO15_PE_EN(1U)
13907 #define S_GPIO14_PE_EN 14
13908 #define V_GPIO14_PE_EN(x) ((x) << S_GPIO14_PE_EN)
13909 #define F_GPIO14_PE_EN V_GPIO14_PE_EN(1U)
13911 #define S_GPIO13_PE_EN 13
13912 #define V_GPIO13_PE_EN(x) ((x) << S_GPIO13_PE_EN)
13913 #define F_GPIO13_PE_EN V_GPIO13_PE_EN(1U)
13915 #define S_GPIO12_PE_EN 12
13916 #define V_GPIO12_PE_EN(x) ((x) << S_GPIO12_PE_EN)
13917 #define F_GPIO12_PE_EN V_GPIO12_PE_EN(1U)
13919 #define S_GPIO11_PE_EN 11
13920 #define V_GPIO11_PE_EN(x) ((x) << S_GPIO11_PE_EN)
13921 #define F_GPIO11_PE_EN V_GPIO11_PE_EN(1U)
13923 #define S_GPIO10_PE_EN 10
13924 #define V_GPIO10_PE_EN(x) ((x) << S_GPIO10_PE_EN)
13925 #define F_GPIO10_PE_EN V_GPIO10_PE_EN(1U)
13927 #define S_GPIO9_PE_EN 9
13928 #define V_GPIO9_PE_EN(x) ((x) << S_GPIO9_PE_EN)
13929 #define F_GPIO9_PE_EN V_GPIO9_PE_EN(1U)
13931 #define S_GPIO8_PE_EN 8
13932 #define V_GPIO8_PE_EN(x) ((x) << S_GPIO8_PE_EN)
13933 #define F_GPIO8_PE_EN V_GPIO8_PE_EN(1U)
13935 #define S_GPIO7_PE_EN 7
13936 #define V_GPIO7_PE_EN(x) ((x) << S_GPIO7_PE_EN)
13937 #define F_GPIO7_PE_EN V_GPIO7_PE_EN(1U)
13939 #define S_GPIO6_PE_EN 6
13940 #define V_GPIO6_PE_EN(x) ((x) << S_GPIO6_PE_EN)
13941 #define F_GPIO6_PE_EN V_GPIO6_PE_EN(1U)
13943 #define S_GPIO5_PE_EN 5
13944 #define V_GPIO5_PE_EN(x) ((x) << S_GPIO5_PE_EN)
13945 #define F_GPIO5_PE_EN V_GPIO5_PE_EN(1U)
13947 #define S_GPIO4_PE_EN 4
13948 #define V_GPIO4_PE_EN(x) ((x) << S_GPIO4_PE_EN)
13949 #define F_GPIO4_PE_EN V_GPIO4_PE_EN(1U)
13951 #define S_GPIO3_PE_EN 3
13952 #define V_GPIO3_PE_EN(x) ((x) << S_GPIO3_PE_EN)
13953 #define F_GPIO3_PE_EN V_GPIO3_PE_EN(1U)
13955 #define S_GPIO2_PE_EN 2
13956 #define V_GPIO2_PE_EN(x) ((x) << S_GPIO2_PE_EN)
13957 #define F_GPIO2_PE_EN V_GPIO2_PE_EN(1U)
13959 #define S_GPIO1_PE_EN 1
13960 #define V_GPIO1_PE_EN(x) ((x) << S_GPIO1_PE_EN)
13961 #define F_GPIO1_PE_EN V_GPIO1_PE_EN(1U)
13963 #define S_GPIO0_PE_EN 0
13964 #define V_GPIO0_PE_EN(x) ((x) << S_GPIO0_PE_EN)
13965 #define F_GPIO0_PE_EN V_GPIO0_PE_EN(1U)
13967 #define A_DBG_PVT_REG_THRESHOLD 0x611c
13969 #define S_PVT_CALIBRATION_DONE 8
13970 #define V_PVT_CALIBRATION_DONE(x) ((x) << S_PVT_CALIBRATION_DONE)
13971 #define F_PVT_CALIBRATION_DONE V_PVT_CALIBRATION_DONE(1U)
13973 #define S_THRESHOLD_TERMP_MAX_SYNC 7
13974 #define V_THRESHOLD_TERMP_MAX_SYNC(x) ((x) << S_THRESHOLD_TERMP_MAX_SYNC)
13975 #define F_THRESHOLD_TERMP_MAX_SYNC V_THRESHOLD_TERMP_MAX_SYNC(1U)
13977 #define S_THRESHOLD_TERMP_MIN_SYNC 6
13978 #define V_THRESHOLD_TERMP_MIN_SYNC(x) ((x) << S_THRESHOLD_TERMP_MIN_SYNC)
13979 #define F_THRESHOLD_TERMP_MIN_SYNC V_THRESHOLD_TERMP_MIN_SYNC(1U)
13981 #define S_THRESHOLD_TERMN_MAX_SYNC 5
13982 #define V_THRESHOLD_TERMN_MAX_SYNC(x) ((x) << S_THRESHOLD_TERMN_MAX_SYNC)
13983 #define F_THRESHOLD_TERMN_MAX_SYNC V_THRESHOLD_TERMN_MAX_SYNC(1U)
13985 #define S_THRESHOLD_TERMN_MIN_SYNC 4
13986 #define V_THRESHOLD_TERMN_MIN_SYNC(x) ((x) << S_THRESHOLD_TERMN_MIN_SYNC)
13987 #define F_THRESHOLD_TERMN_MIN_SYNC V_THRESHOLD_TERMN_MIN_SYNC(1U)
13989 #define S_THRESHOLD_DRVP_MAX_SYNC 3
13990 #define V_THRESHOLD_DRVP_MAX_SYNC(x) ((x) << S_THRESHOLD_DRVP_MAX_SYNC)
13991 #define F_THRESHOLD_DRVP_MAX_SYNC V_THRESHOLD_DRVP_MAX_SYNC(1U)
13993 #define S_THRESHOLD_DRVP_MIN_SYNC 2
13994 #define V_THRESHOLD_DRVP_MIN_SYNC(x) ((x) << S_THRESHOLD_DRVP_MIN_SYNC)
13995 #define F_THRESHOLD_DRVP_MIN_SYNC V_THRESHOLD_DRVP_MIN_SYNC(1U)
13997 #define S_THRESHOLD_DRVN_MAX_SYNC 1
13998 #define V_THRESHOLD_DRVN_MAX_SYNC(x) ((x) << S_THRESHOLD_DRVN_MAX_SYNC)
13999 #define F_THRESHOLD_DRVN_MAX_SYNC V_THRESHOLD_DRVN_MAX_SYNC(1U)
14001 #define S_THRESHOLD_DRVN_MIN_SYNC 0
14002 #define V_THRESHOLD_DRVN_MIN_SYNC(x) ((x) << S_THRESHOLD_DRVN_MIN_SYNC)
14003 #define F_THRESHOLD_DRVN_MIN_SYNC V_THRESHOLD_DRVN_MIN_SYNC(1U)
14005 #define A_DBG_GPIO_PS_EN 0x611c
14007 #define S_GPIO19_PS_EN 19
14008 #define V_GPIO19_PS_EN(x) ((x) << S_GPIO19_PS_EN)
14009 #define F_GPIO19_PS_EN V_GPIO19_PS_EN(1U)
14011 #define S_GPIO18_PS_EN 18
14012 #define V_GPIO18_PS_EN(x) ((x) << S_GPIO18_PS_EN)
14013 #define F_GPIO18_PS_EN V_GPIO18_PS_EN(1U)
14015 #define S_GPIO17_PS_EN 17
14016 #define V_GPIO17_PS_EN(x) ((x) << S_GPIO17_PS_EN)
14017 #define F_GPIO17_PS_EN V_GPIO17_PS_EN(1U)
14019 #define S_GPIO16_PS_EN 16
14020 #define V_GPIO16_PS_EN(x) ((x) << S_GPIO16_PS_EN)
14021 #define F_GPIO16_PS_EN V_GPIO16_PS_EN(1U)
14023 #define S_GPIO15_PS_EN 15
14024 #define V_GPIO15_PS_EN(x) ((x) << S_GPIO15_PS_EN)
14025 #define F_GPIO15_PS_EN V_GPIO15_PS_EN(1U)
14027 #define S_GPIO14_PS_EN 14
14028 #define V_GPIO14_PS_EN(x) ((x) << S_GPIO14_PS_EN)
14029 #define F_GPIO14_PS_EN V_GPIO14_PS_EN(1U)
14031 #define S_GPIO13_PS_EN 13
14032 #define V_GPIO13_PS_EN(x) ((x) << S_GPIO13_PS_EN)
14033 #define F_GPIO13_PS_EN V_GPIO13_PS_EN(1U)
14035 #define S_GPIO12_PS_EN 12
14036 #define V_GPIO12_PS_EN(x) ((x) << S_GPIO12_PS_EN)
14037 #define F_GPIO12_PS_EN V_GPIO12_PS_EN(1U)
14039 #define S_GPIO11_PS_EN 11
14040 #define V_GPIO11_PS_EN(x) ((x) << S_GPIO11_PS_EN)
14041 #define F_GPIO11_PS_EN V_GPIO11_PS_EN(1U)
14043 #define S_GPIO10_PS_EN 10
14044 #define V_GPIO10_PS_EN(x) ((x) << S_GPIO10_PS_EN)
14045 #define F_GPIO10_PS_EN V_GPIO10_PS_EN(1U)
14047 #define S_GPIO9_PS_EN 9
14048 #define V_GPIO9_PS_EN(x) ((x) << S_GPIO9_PS_EN)
14049 #define F_GPIO9_PS_EN V_GPIO9_PS_EN(1U)
14051 #define S_GPIO8_PS_EN 8
14052 #define V_GPIO8_PS_EN(x) ((x) << S_GPIO8_PS_EN)
14053 #define F_GPIO8_PS_EN V_GPIO8_PS_EN(1U)
14055 #define S_GPIO7_PS_EN 7
14056 #define V_GPIO7_PS_EN(x) ((x) << S_GPIO7_PS_EN)
14057 #define F_GPIO7_PS_EN V_GPIO7_PS_EN(1U)
14059 #define S_GPIO6_PS_EN 6
14060 #define V_GPIO6_PS_EN(x) ((x) << S_GPIO6_PS_EN)
14061 #define F_GPIO6_PS_EN V_GPIO6_PS_EN(1U)
14063 #define S_GPIO5_PS_EN 5
14064 #define V_GPIO5_PS_EN(x) ((x) << S_GPIO5_PS_EN)
14065 #define F_GPIO5_PS_EN V_GPIO5_PS_EN(1U)
14067 #define S_GPIO4_PS_EN 4
14068 #define V_GPIO4_PS_EN(x) ((x) << S_GPIO4_PS_EN)
14069 #define F_GPIO4_PS_EN V_GPIO4_PS_EN(1U)
14071 #define S_GPIO3_PS_EN 3
14072 #define V_GPIO3_PS_EN(x) ((x) << S_GPIO3_PS_EN)
14073 #define F_GPIO3_PS_EN V_GPIO3_PS_EN(1U)
14075 #define S_GPIO2_PS_EN 2
14076 #define V_GPIO2_PS_EN(x) ((x) << S_GPIO2_PS_EN)
14077 #define F_GPIO2_PS_EN V_GPIO2_PS_EN(1U)
14079 #define S_GPIO1_PS_EN 1
14080 #define V_GPIO1_PS_EN(x) ((x) << S_GPIO1_PS_EN)
14081 #define F_GPIO1_PS_EN V_GPIO1_PS_EN(1U)
14083 #define S_GPIO0_PS_EN 0
14084 #define V_GPIO0_PS_EN(x) ((x) << S_GPIO0_PS_EN)
14085 #define F_GPIO0_PS_EN V_GPIO0_PS_EN(1U)
14087 #define A_DBG_PVT_REG_IN_TERMP 0x6120
14089 #define S_REG_IN_TERMP_B 4
14090 #define M_REG_IN_TERMP_B 0xfU
14091 #define V_REG_IN_TERMP_B(x) ((x) << S_REG_IN_TERMP_B)
14092 #define G_REG_IN_TERMP_B(x) (((x) >> S_REG_IN_TERMP_B) & M_REG_IN_TERMP_B)
14094 #define S_REG_IN_TERMP_A 0
14095 #define M_REG_IN_TERMP_A 0xfU
14096 #define V_REG_IN_TERMP_A(x) ((x) << S_REG_IN_TERMP_A)
14097 #define G_REG_IN_TERMP_A(x) (((x) >> S_REG_IN_TERMP_A) & M_REG_IN_TERMP_A)
14099 #define A_DBG_EFUSE_BYTE16_19 0x6120
14100 #define A_DBG_PVT_REG_IN_TERMN 0x6124
14102 #define S_REG_IN_TERMN_B 4
14103 #define M_REG_IN_TERMN_B 0xfU
14104 #define V_REG_IN_TERMN_B(x) ((x) << S_REG_IN_TERMN_B)
14105 #define G_REG_IN_TERMN_B(x) (((x) >> S_REG_IN_TERMN_B) & M_REG_IN_TERMN_B)
14107 #define S_REG_IN_TERMN_A 0
14108 #define M_REG_IN_TERMN_A 0xfU
14109 #define V_REG_IN_TERMN_A(x) ((x) << S_REG_IN_TERMN_A)
14110 #define G_REG_IN_TERMN_A(x) (((x) >> S_REG_IN_TERMN_A) & M_REG_IN_TERMN_A)
14112 #define A_DBG_EFUSE_BYTE20_23 0x6124
14113 #define A_DBG_PVT_REG_IN_DRVP 0x6128
14115 #define S_REG_IN_DRVP_B 4
14116 #define M_REG_IN_DRVP_B 0xfU
14117 #define V_REG_IN_DRVP_B(x) ((x) << S_REG_IN_DRVP_B)
14118 #define G_REG_IN_DRVP_B(x) (((x) >> S_REG_IN_DRVP_B) & M_REG_IN_DRVP_B)
14120 #define S_REG_IN_DRVP_A 0
14121 #define M_REG_IN_DRVP_A 0xfU
14122 #define V_REG_IN_DRVP_A(x) ((x) << S_REG_IN_DRVP_A)
14123 #define G_REG_IN_DRVP_A(x) (((x) >> S_REG_IN_DRVP_A) & M_REG_IN_DRVP_A)
14125 #define A_DBG_EFUSE_BYTE24_27 0x6128
14126 #define A_DBG_PVT_REG_IN_DRVN 0x612c
14128 #define S_REG_IN_DRVN_B 4
14129 #define M_REG_IN_DRVN_B 0xfU
14130 #define V_REG_IN_DRVN_B(x) ((x) << S_REG_IN_DRVN_B)
14131 #define G_REG_IN_DRVN_B(x) (((x) >> S_REG_IN_DRVN_B) & M_REG_IN_DRVN_B)
14133 #define S_REG_IN_DRVN_A 0
14134 #define M_REG_IN_DRVN_A 0xfU
14135 #define V_REG_IN_DRVN_A(x) ((x) << S_REG_IN_DRVN_A)
14136 #define G_REG_IN_DRVN_A(x) (((x) >> S_REG_IN_DRVN_A) & M_REG_IN_DRVN_A)
14138 #define A_DBG_EFUSE_BYTE28_31 0x612c
14139 #define A_DBG_PVT_REG_OUT_TERMP 0x6130
14141 #define S_REG_OUT_TERMP_B 4
14142 #define M_REG_OUT_TERMP_B 0xfU
14143 #define V_REG_OUT_TERMP_B(x) ((x) << S_REG_OUT_TERMP_B)
14144 #define G_REG_OUT_TERMP_B(x) (((x) >> S_REG_OUT_TERMP_B) & M_REG_OUT_TERMP_B)
14146 #define S_REG_OUT_TERMP_A 0
14147 #define M_REG_OUT_TERMP_A 0xfU
14148 #define V_REG_OUT_TERMP_A(x) ((x) << S_REG_OUT_TERMP_A)
14149 #define G_REG_OUT_TERMP_A(x) (((x) >> S_REG_OUT_TERMP_A) & M_REG_OUT_TERMP_A)
14151 #define A_DBG_EFUSE_BYTE32_35 0x6130
14152 #define A_DBG_PVT_REG_OUT_TERMN 0x6134
14154 #define S_REG_OUT_TERMN_B 4
14155 #define M_REG_OUT_TERMN_B 0xfU
14156 #define V_REG_OUT_TERMN_B(x) ((x) << S_REG_OUT_TERMN_B)
14157 #define G_REG_OUT_TERMN_B(x) (((x) >> S_REG_OUT_TERMN_B) & M_REG_OUT_TERMN_B)
14159 #define S_REG_OUT_TERMN_A 0
14160 #define M_REG_OUT_TERMN_A 0xfU
14161 #define V_REG_OUT_TERMN_A(x) ((x) << S_REG_OUT_TERMN_A)
14162 #define G_REG_OUT_TERMN_A(x) (((x) >> S_REG_OUT_TERMN_A) & M_REG_OUT_TERMN_A)
14164 #define A_DBG_EFUSE_BYTE36_39 0x6134
14165 #define A_DBG_PVT_REG_OUT_DRVP 0x6138
14167 #define S_REG_OUT_DRVP_B 4
14168 #define M_REG_OUT_DRVP_B 0xfU
14169 #define V_REG_OUT_DRVP_B(x) ((x) << S_REG_OUT_DRVP_B)
14170 #define G_REG_OUT_DRVP_B(x) (((x) >> S_REG_OUT_DRVP_B) & M_REG_OUT_DRVP_B)
14172 #define S_REG_OUT_DRVP_A 0
14173 #define M_REG_OUT_DRVP_A 0xfU
14174 #define V_REG_OUT_DRVP_A(x) ((x) << S_REG_OUT_DRVP_A)
14175 #define G_REG_OUT_DRVP_A(x) (((x) >> S_REG_OUT_DRVP_A) & M_REG_OUT_DRVP_A)
14177 #define A_DBG_EFUSE_BYTE40_43 0x6138
14178 #define A_DBG_PVT_REG_OUT_DRVN 0x613c
14180 #define S_REG_OUT_DRVN_B 4
14181 #define M_REG_OUT_DRVN_B 0xfU
14182 #define V_REG_OUT_DRVN_B(x) ((x) << S_REG_OUT_DRVN_B)
14183 #define G_REG_OUT_DRVN_B(x) (((x) >> S_REG_OUT_DRVN_B) & M_REG_OUT_DRVN_B)
14185 #define S_REG_OUT_DRVN_A 0
14186 #define M_REG_OUT_DRVN_A 0xfU
14187 #define V_REG_OUT_DRVN_A(x) ((x) << S_REG_OUT_DRVN_A)
14188 #define G_REG_OUT_DRVN_A(x) (((x) >> S_REG_OUT_DRVN_A) & M_REG_OUT_DRVN_A)
14190 #define A_DBG_EFUSE_BYTE44_47 0x613c
14191 #define A_DBG_PVT_REG_HISTORY_TERMP 0x6140
14193 #define S_TERMP_B_HISTORY 4
14194 #define M_TERMP_B_HISTORY 0xfU
14195 #define V_TERMP_B_HISTORY(x) ((x) << S_TERMP_B_HISTORY)
14196 #define G_TERMP_B_HISTORY(x) (((x) >> S_TERMP_B_HISTORY) & M_TERMP_B_HISTORY)
14198 #define S_TERMP_A_HISTORY 0
14199 #define M_TERMP_A_HISTORY 0xfU
14200 #define V_TERMP_A_HISTORY(x) ((x) << S_TERMP_A_HISTORY)
14201 #define G_TERMP_A_HISTORY(x) (((x) >> S_TERMP_A_HISTORY) & M_TERMP_A_HISTORY)
14203 #define A_DBG_EFUSE_BYTE48_51 0x6140
14204 #define A_DBG_PVT_REG_HISTORY_TERMN 0x6144
14206 #define S_TERMN_B_HISTORY 4
14207 #define M_TERMN_B_HISTORY 0xfU
14208 #define V_TERMN_B_HISTORY(x) ((x) << S_TERMN_B_HISTORY)
14209 #define G_TERMN_B_HISTORY(x) (((x) >> S_TERMN_B_HISTORY) & M_TERMN_B_HISTORY)
14211 #define S_TERMN_A_HISTORY 0
14212 #define M_TERMN_A_HISTORY 0xfU
14213 #define V_TERMN_A_HISTORY(x) ((x) << S_TERMN_A_HISTORY)
14214 #define G_TERMN_A_HISTORY(x) (((x) >> S_TERMN_A_HISTORY) & M_TERMN_A_HISTORY)
14216 #define A_DBG_EFUSE_BYTE52_55 0x6144
14217 #define A_DBG_PVT_REG_HISTORY_DRVP 0x6148
14219 #define S_DRVP_B_HISTORY 4
14220 #define M_DRVP_B_HISTORY 0xfU
14221 #define V_DRVP_B_HISTORY(x) ((x) << S_DRVP_B_HISTORY)
14222 #define G_DRVP_B_HISTORY(x) (((x) >> S_DRVP_B_HISTORY) & M_DRVP_B_HISTORY)
14224 #define S_DRVP_A_HISTORY 0
14225 #define M_DRVP_A_HISTORY 0xfU
14226 #define V_DRVP_A_HISTORY(x) ((x) << S_DRVP_A_HISTORY)
14227 #define G_DRVP_A_HISTORY(x) (((x) >> S_DRVP_A_HISTORY) & M_DRVP_A_HISTORY)
14229 #define A_DBG_EFUSE_BYTE56_59 0x6148
14230 #define A_DBG_PVT_REG_HISTORY_DRVN 0x614c
14232 #define S_DRVN_B_HISTORY 4
14233 #define M_DRVN_B_HISTORY 0xfU
14234 #define V_DRVN_B_HISTORY(x) ((x) << S_DRVN_B_HISTORY)
14235 #define G_DRVN_B_HISTORY(x) (((x) >> S_DRVN_B_HISTORY) & M_DRVN_B_HISTORY)
14237 #define S_DRVN_A_HISTORY 0
14238 #define M_DRVN_A_HISTORY 0xfU
14239 #define V_DRVN_A_HISTORY(x) ((x) << S_DRVN_A_HISTORY)
14240 #define G_DRVN_A_HISTORY(x) (((x) >> S_DRVN_A_HISTORY) & M_DRVN_A_HISTORY)
14242 #define A_DBG_EFUSE_BYTE60_63 0x614c
14243 #define A_DBG_PVT_REG_SAMPLE_WAIT_CLKS 0x6150
14245 #define S_SAMPLE_WAIT_CLKS 0
14246 #define M_SAMPLE_WAIT_CLKS 0x1fU
14247 #define V_SAMPLE_WAIT_CLKS(x) ((x) << S_SAMPLE_WAIT_CLKS)
14248 #define G_SAMPLE_WAIT_CLKS(x) (((x) >> S_SAMPLE_WAIT_CLKS) & M_SAMPLE_WAIT_CLKS)
14250 #define A_DBG_STATIC_U_PLL_CONF6 0x6150
14252 #define S_STATIC_U_PLL_VREGTUNE 0
14253 #define M_STATIC_U_PLL_VREGTUNE 0x7ffffU
14254 #define V_STATIC_U_PLL_VREGTUNE(x) ((x) << S_STATIC_U_PLL_VREGTUNE)
14255 #define G_STATIC_U_PLL_VREGTUNE(x) (((x) >> S_STATIC_U_PLL_VREGTUNE) & M_STATIC_U_PLL_VREGTUNE)
14257 #define A_DBG_STATIC_C_PLL_CONF6 0x6154
14259 #define S_STATIC_C_PLL_VREGTUNE 0
14260 #define M_STATIC_C_PLL_VREGTUNE 0x7ffffU
14261 #define V_STATIC_C_PLL_VREGTUNE(x) ((x) << S_STATIC_C_PLL_VREGTUNE)
14262 #define G_STATIC_C_PLL_VREGTUNE(x) (((x) >> S_STATIC_C_PLL_VREGTUNE) & M_STATIC_C_PLL_VREGTUNE)
14264 #define A_DBG_CUST_EFUSE_PROGRAM 0x6158
14266 #define S_EFUSE_PROG_PERIOD 16
14267 #define M_EFUSE_PROG_PERIOD 0xffffU
14268 #define V_EFUSE_PROG_PERIOD(x) ((x) << S_EFUSE_PROG_PERIOD)
14269 #define G_EFUSE_PROG_PERIOD(x) (((x) >> S_EFUSE_PROG_PERIOD) & M_EFUSE_PROG_PERIOD)
14271 #define S_EFUSE_OPER_TYP 14
14272 #define M_EFUSE_OPER_TYP 0x3U
14273 #define V_EFUSE_OPER_TYP(x) ((x) << S_EFUSE_OPER_TYP)
14274 #define G_EFUSE_OPER_TYP(x) (((x) >> S_EFUSE_OPER_TYP) & M_EFUSE_OPER_TYP)
14276 #define S_EFUSE_ADDR 8
14277 #define M_EFUSE_ADDR 0x3fU
14278 #define V_EFUSE_ADDR(x) ((x) << S_EFUSE_ADDR)
14279 #define G_EFUSE_ADDR(x) (((x) >> S_EFUSE_ADDR) & M_EFUSE_ADDR)
14281 #define S_EFUSE_DIN 0
14282 #define M_EFUSE_DIN 0xffU
14283 #define V_EFUSE_DIN(x) ((x) << S_EFUSE_DIN)
14284 #define G_EFUSE_DIN(x) (((x) >> S_EFUSE_DIN) & M_EFUSE_DIN)
14286 #define A_DBG_CUST_EFUSE_OUT 0x615c
14288 #define S_EFUSE_OPER_DONE 8
14289 #define V_EFUSE_OPER_DONE(x) ((x) << S_EFUSE_OPER_DONE)
14290 #define F_EFUSE_OPER_DONE V_EFUSE_OPER_DONE(1U)
14292 #define S_EFUSE_DOUT 0
14293 #define M_EFUSE_DOUT 0xffU
14294 #define V_EFUSE_DOUT(x) ((x) << S_EFUSE_DOUT)
14295 #define G_EFUSE_DOUT(x) (((x) >> S_EFUSE_DOUT) & M_EFUSE_DOUT)
14297 #define A_DBG_CUST_EFUSE_BYTE0_3 0x6160
14298 #define A_DBG_CUST_EFUSE_BYTE4_7 0x6164
14299 #define A_DBG_CUST_EFUSE_BYTE8_11 0x6168
14300 #define A_DBG_CUST_EFUSE_BYTE12_15 0x616c
14301 #define A_DBG_CUST_EFUSE_BYTE16_19 0x6170
14302 #define A_DBG_CUST_EFUSE_BYTE20_23 0x6174
14303 #define A_DBG_CUST_EFUSE_BYTE24_27 0x6178
14304 #define A_DBG_CUST_EFUSE_BYTE28_31 0x617c
14305 #define A_DBG_CUST_EFUSE_BYTE32_35 0x6180
14306 #define A_DBG_CUST_EFUSE_BYTE36_39 0x6184
14307 #define A_DBG_CUST_EFUSE_BYTE40_43 0x6188
14308 #define A_DBG_CUST_EFUSE_BYTE44_47 0x618c
14309 #define A_DBG_CUST_EFUSE_BYTE48_51 0x6190
14310 #define A_DBG_CUST_EFUSE_BYTE52_55 0x6194
14311 #define A_DBG_CUST_EFUSE_BYTE56_59 0x6198
14312 #define A_DBG_CUST_EFUSE_BYTE60_63 0x619c
14314 /* registers for module MC */
14315 #define MC_BASE_ADDR 0x6200
14317 #define A_MC_PCTL_SCFG 0x6200
14319 #define S_RKINF_EN 5
14320 #define V_RKINF_EN(x) ((x) << S_RKINF_EN)
14321 #define F_RKINF_EN V_RKINF_EN(1U)
14323 #define S_DUAL_PCTL_EN 4
14324 #define V_DUAL_PCTL_EN(x) ((x) << S_DUAL_PCTL_EN)
14325 #define F_DUAL_PCTL_EN V_DUAL_PCTL_EN(1U)
14327 #define S_SLAVE_MODE 3
14328 #define V_SLAVE_MODE(x) ((x) << S_SLAVE_MODE)
14329 #define F_SLAVE_MODE V_SLAVE_MODE(1U)
14331 #define S_LOOPBACK_EN 1
14332 #define V_LOOPBACK_EN(x) ((x) << S_LOOPBACK_EN)
14333 #define F_LOOPBACK_EN V_LOOPBACK_EN(1U)
14335 #define S_HW_LOW_POWER_EN 0
14336 #define V_HW_LOW_POWER_EN(x) ((x) << S_HW_LOW_POWER_EN)
14337 #define F_HW_LOW_POWER_EN V_HW_LOW_POWER_EN(1U)
14339 #define A_MC_PCTL_SCTL 0x6204
14341 #define S_STATE_CMD 0
14342 #define M_STATE_CMD 0x7U
14343 #define V_STATE_CMD(x) ((x) << S_STATE_CMD)
14344 #define G_STATE_CMD(x) (((x) >> S_STATE_CMD) & M_STATE_CMD)
14346 #define A_MC_PCTL_STAT 0x6208
14348 #define S_CTL_STAT 0
14349 #define M_CTL_STAT 0x7U
14350 #define V_CTL_STAT(x) ((x) << S_CTL_STAT)
14351 #define G_CTL_STAT(x) (((x) >> S_CTL_STAT) & M_CTL_STAT)
14353 #define A_MC_PCTL_MCMD 0x6240
14355 #define S_START_CMD 31
14356 #define V_START_CMD(x) ((x) << S_START_CMD)
14357 #define F_START_CMD V_START_CMD(1U)
14359 #define S_CMD_ADD_DEL 24
14360 #define M_CMD_ADD_DEL 0xfU
14361 #define V_CMD_ADD_DEL(x) ((x) << S_CMD_ADD_DEL)
14362 #define G_CMD_ADD_DEL(x) (((x) >> S_CMD_ADD_DEL) & M_CMD_ADD_DEL)
14364 #define S_RANK_SEL 20
14365 #define M_RANK_SEL 0xfU
14366 #define V_RANK_SEL(x) ((x) << S_RANK_SEL)
14367 #define G_RANK_SEL(x) (((x) >> S_RANK_SEL) & M_RANK_SEL)
14369 #define S_BANK_ADDR 17
14370 #define M_BANK_ADDR 0x7U
14371 #define V_BANK_ADDR(x) ((x) << S_BANK_ADDR)
14372 #define G_BANK_ADDR(x) (((x) >> S_BANK_ADDR) & M_BANK_ADDR)
14374 #define S_CMD_ADDR 4
14375 #define M_CMD_ADDR 0x1fffU
14376 #define V_CMD_ADDR(x) ((x) << S_CMD_ADDR)
14377 #define G_CMD_ADDR(x) (((x) >> S_CMD_ADDR) & M_CMD_ADDR)
14379 #define S_CMD_OPCODE 0
14380 #define M_CMD_OPCODE 0x7U
14381 #define V_CMD_OPCODE(x) ((x) << S_CMD_OPCODE)
14382 #define G_CMD_OPCODE(x) (((x) >> S_CMD_OPCODE) & M_CMD_OPCODE)
14384 #define A_MC_PCTL_POWCTL 0x6244
14386 #define S_POWER_UP_START 0
14387 #define V_POWER_UP_START(x) ((x) << S_POWER_UP_START)
14388 #define F_POWER_UP_START V_POWER_UP_START(1U)
14390 #define A_MC_PCTL_POWSTAT 0x6248
14392 #define S_PHY_CALIBDONE 1
14393 #define V_PHY_CALIBDONE(x) ((x) << S_PHY_CALIBDONE)
14394 #define F_PHY_CALIBDONE V_PHY_CALIBDONE(1U)
14396 #define S_POWER_UP_DONE 0
14397 #define V_POWER_UP_DONE(x) ((x) << S_POWER_UP_DONE)
14398 #define F_POWER_UP_DONE V_POWER_UP_DONE(1U)
14400 #define A_MC_PCTL_MCFG 0x6280
14402 #define S_TFAW_CFG 18
14403 #define M_TFAW_CFG 0x3U
14404 #define V_TFAW_CFG(x) ((x) << S_TFAW_CFG)
14405 #define G_TFAW_CFG(x) (((x) >> S_TFAW_CFG) & M_TFAW_CFG)
14407 #define S_PD_EXIT_MODE 17
14408 #define V_PD_EXIT_MODE(x) ((x) << S_PD_EXIT_MODE)
14409 #define F_PD_EXIT_MODE V_PD_EXIT_MODE(1U)
14411 #define S_PD_TYPE 16
14412 #define V_PD_TYPE(x) ((x) << S_PD_TYPE)
14413 #define F_PD_TYPE V_PD_TYPE(1U)
14415 #define S_PD_IDLE 8
14416 #define M_PD_IDLE 0xffU
14417 #define V_PD_IDLE(x) ((x) << S_PD_IDLE)
14418 #define G_PD_IDLE(x) (((x) >> S_PD_IDLE) & M_PD_IDLE)
14420 #define S_PAGE_POLICY 6
14421 #define M_PAGE_POLICY 0x3U
14422 #define V_PAGE_POLICY(x) ((x) << S_PAGE_POLICY)
14423 #define G_PAGE_POLICY(x) (((x) >> S_PAGE_POLICY) & M_PAGE_POLICY)
14425 #define S_DDR3_EN 5
14426 #define V_DDR3_EN(x) ((x) << S_DDR3_EN)
14427 #define F_DDR3_EN V_DDR3_EN(1U)
14429 #define S_TWO_T_EN 3
14430 #define V_TWO_T_EN(x) ((x) << S_TWO_T_EN)
14431 #define F_TWO_T_EN V_TWO_T_EN(1U)
14433 #define S_BL8INT_EN 2
14434 #define V_BL8INT_EN(x) ((x) << S_BL8INT_EN)
14435 #define F_BL8INT_EN V_BL8INT_EN(1U)
14438 #define V_MEM_BL(x) ((x) << S_MEM_BL)
14439 #define F_MEM_BL V_MEM_BL(1U)
14441 #define A_MC_PCTL_PPCFG 0x6284
14443 #define S_RPMEM_DIS 1
14444 #define M_RPMEM_DIS 0xffU
14445 #define V_RPMEM_DIS(x) ((x) << S_RPMEM_DIS)
14446 #define G_RPMEM_DIS(x) (((x) >> S_RPMEM_DIS) & M_RPMEM_DIS)
14448 #define S_PPMEM_EN 0
14449 #define V_PPMEM_EN(x) ((x) << S_PPMEM_EN)
14450 #define F_PPMEM_EN V_PPMEM_EN(1U)
14452 #define A_MC_PCTL_MSTAT 0x6288
14454 #define S_POWER_DOWN 0
14455 #define V_POWER_DOWN(x) ((x) << S_POWER_DOWN)
14456 #define F_POWER_DOWN V_POWER_DOWN(1U)
14458 #define A_MC_PCTL_ODTCFG 0x628c
14460 #define S_RANK3_ODT_DEFAULT 28
14461 #define V_RANK3_ODT_DEFAULT(x) ((x) << S_RANK3_ODT_DEFAULT)
14462 #define F_RANK3_ODT_DEFAULT V_RANK3_ODT_DEFAULT(1U)
14464 #define S_RANK3_ODT_WRITE_SEL 27
14465 #define V_RANK3_ODT_WRITE_SEL(x) ((x) << S_RANK3_ODT_WRITE_SEL)
14466 #define F_RANK3_ODT_WRITE_SEL V_RANK3_ODT_WRITE_SEL(1U)
14468 #define S_RANK3_ODT_WRITE_NSE 26
14469 #define V_RANK3_ODT_WRITE_NSE(x) ((x) << S_RANK3_ODT_WRITE_NSE)
14470 #define F_RANK3_ODT_WRITE_NSE V_RANK3_ODT_WRITE_NSE(1U)
14472 #define S_RANK3_ODT_READ_SEL 25
14473 #define V_RANK3_ODT_READ_SEL(x) ((x) << S_RANK3_ODT_READ_SEL)
14474 #define F_RANK3_ODT_READ_SEL V_RANK3_ODT_READ_SEL(1U)
14476 #define S_RANK3_ODT_READ_NSEL 24
14477 #define V_RANK3_ODT_READ_NSEL(x) ((x) << S_RANK3_ODT_READ_NSEL)
14478 #define F_RANK3_ODT_READ_NSEL V_RANK3_ODT_READ_NSEL(1U)
14480 #define S_RANK2_ODT_DEFAULT 20
14481 #define V_RANK2_ODT_DEFAULT(x) ((x) << S_RANK2_ODT_DEFAULT)
14482 #define F_RANK2_ODT_DEFAULT V_RANK2_ODT_DEFAULT(1U)
14484 #define S_RANK2_ODT_WRITE_SEL 19
14485 #define V_RANK2_ODT_WRITE_SEL(x) ((x) << S_RANK2_ODT_WRITE_SEL)
14486 #define F_RANK2_ODT_WRITE_SEL V_RANK2_ODT_WRITE_SEL(1U)
14488 #define S_RANK2_ODT_WRITE_NSEL 18
14489 #define V_RANK2_ODT_WRITE_NSEL(x) ((x) << S_RANK2_ODT_WRITE_NSEL)
14490 #define F_RANK2_ODT_WRITE_NSEL V_RANK2_ODT_WRITE_NSEL(1U)
14492 #define S_RANK2_ODT_READ_SEL 17
14493 #define V_RANK2_ODT_READ_SEL(x) ((x) << S_RANK2_ODT_READ_SEL)
14494 #define F_RANK2_ODT_READ_SEL V_RANK2_ODT_READ_SEL(1U)
14496 #define S_RANK2_ODT_READ_NSEL 16
14497 #define V_RANK2_ODT_READ_NSEL(x) ((x) << S_RANK2_ODT_READ_NSEL)
14498 #define F_RANK2_ODT_READ_NSEL V_RANK2_ODT_READ_NSEL(1U)
14500 #define S_RANK1_ODT_DEFAULT 12
14501 #define V_RANK1_ODT_DEFAULT(x) ((x) << S_RANK1_ODT_DEFAULT)
14502 #define F_RANK1_ODT_DEFAULT V_RANK1_ODT_DEFAULT(1U)
14504 #define S_RANK1_ODT_WRITE_SEL 11
14505 #define V_RANK1_ODT_WRITE_SEL(x) ((x) << S_RANK1_ODT_WRITE_SEL)
14506 #define F_RANK1_ODT_WRITE_SEL V_RANK1_ODT_WRITE_SEL(1U)
14508 #define S_RANK1_ODT_WRITE_NSEL 10
14509 #define V_RANK1_ODT_WRITE_NSEL(x) ((x) << S_RANK1_ODT_WRITE_NSEL)
14510 #define F_RANK1_ODT_WRITE_NSEL V_RANK1_ODT_WRITE_NSEL(1U)
14512 #define S_RANK1_ODT_READ_SEL 9
14513 #define V_RANK1_ODT_READ_SEL(x) ((x) << S_RANK1_ODT_READ_SEL)
14514 #define F_RANK1_ODT_READ_SEL V_RANK1_ODT_READ_SEL(1U)
14516 #define S_RANK1_ODT_READ_NSEL 8
14517 #define V_RANK1_ODT_READ_NSEL(x) ((x) << S_RANK1_ODT_READ_NSEL)
14518 #define F_RANK1_ODT_READ_NSEL V_RANK1_ODT_READ_NSEL(1U)
14520 #define S_RANK0_ODT_DEFAULT 4
14521 #define V_RANK0_ODT_DEFAULT(x) ((x) << S_RANK0_ODT_DEFAULT)
14522 #define F_RANK0_ODT_DEFAULT V_RANK0_ODT_DEFAULT(1U)
14524 #define S_RANK0_ODT_WRITE_SEL 3
14525 #define V_RANK0_ODT_WRITE_SEL(x) ((x) << S_RANK0_ODT_WRITE_SEL)
14526 #define F_RANK0_ODT_WRITE_SEL V_RANK0_ODT_WRITE_SEL(1U)
14528 #define S_RANK0_ODT_WRITE_NSEL 2
14529 #define V_RANK0_ODT_WRITE_NSEL(x) ((x) << S_RANK0_ODT_WRITE_NSEL)
14530 #define F_RANK0_ODT_WRITE_NSEL V_RANK0_ODT_WRITE_NSEL(1U)
14532 #define S_RANK0_ODT_READ_SEL 1
14533 #define V_RANK0_ODT_READ_SEL(x) ((x) << S_RANK0_ODT_READ_SEL)
14534 #define F_RANK0_ODT_READ_SEL V_RANK0_ODT_READ_SEL(1U)
14536 #define S_RANK0_ODT_READ_NSEL 0
14537 #define V_RANK0_ODT_READ_NSEL(x) ((x) << S_RANK0_ODT_READ_NSEL)
14538 #define F_RANK0_ODT_READ_NSEL V_RANK0_ODT_READ_NSEL(1U)
14540 #define A_MC_PCTL_DQSECFG 0x6290
14542 #define S_DV_ALAT 20
14543 #define M_DV_ALAT 0xfU
14544 #define V_DV_ALAT(x) ((x) << S_DV_ALAT)
14545 #define G_DV_ALAT(x) (((x) >> S_DV_ALAT) & M_DV_ALAT)
14547 #define S_DV_ALEN 16
14548 #define M_DV_ALEN 0x3U
14549 #define V_DV_ALEN(x) ((x) << S_DV_ALEN)
14550 #define G_DV_ALEN(x) (((x) >> S_DV_ALEN) & M_DV_ALEN)
14552 #define S_DSE_ALAT 12
14553 #define M_DSE_ALAT 0xfU
14554 #define V_DSE_ALAT(x) ((x) << S_DSE_ALAT)
14555 #define G_DSE_ALAT(x) (((x) >> S_DSE_ALAT) & M_DSE_ALAT)
14557 #define S_DSE_ALEN 8
14558 #define M_DSE_ALEN 0x3U
14559 #define V_DSE_ALEN(x) ((x) << S_DSE_ALEN)
14560 #define G_DSE_ALEN(x) (((x) >> S_DSE_ALEN) & M_DSE_ALEN)
14562 #define S_QSE_ALAT 4
14563 #define M_QSE_ALAT 0xfU
14564 #define V_QSE_ALAT(x) ((x) << S_QSE_ALAT)
14565 #define G_QSE_ALAT(x) (((x) >> S_QSE_ALAT) & M_QSE_ALAT)
14567 #define S_QSE_ALEN 0
14568 #define M_QSE_ALEN 0x3U
14569 #define V_QSE_ALEN(x) ((x) << S_QSE_ALEN)
14570 #define G_QSE_ALEN(x) (((x) >> S_QSE_ALEN) & M_QSE_ALEN)
14572 #define A_MC_PCTL_DTUPDES 0x6294
14574 #define S_DTU_RD_MISSING 13
14575 #define V_DTU_RD_MISSING(x) ((x) << S_DTU_RD_MISSING)
14576 #define F_DTU_RD_MISSING V_DTU_RD_MISSING(1U)
14578 #define S_DTU_EAFFL 9
14579 #define M_DTU_EAFFL 0xfU
14580 #define V_DTU_EAFFL(x) ((x) << S_DTU_EAFFL)
14581 #define G_DTU_EAFFL(x) (((x) >> S_DTU_EAFFL) & M_DTU_EAFFL)
14583 #define S_DTU_RANDOM_ERROR 8
14584 #define V_DTU_RANDOM_ERROR(x) ((x) << S_DTU_RANDOM_ERROR)
14585 #define F_DTU_RANDOM_ERROR V_DTU_RANDOM_ERROR(1U)
14587 #define S_DTU_ERROR_B7 7
14588 #define V_DTU_ERROR_B7(x) ((x) << S_DTU_ERROR_B7)
14589 #define F_DTU_ERROR_B7 V_DTU_ERROR_B7(1U)
14591 #define S_DTU_ERR_B6 6
14592 #define V_DTU_ERR_B6(x) ((x) << S_DTU_ERR_B6)
14593 #define F_DTU_ERR_B6 V_DTU_ERR_B6(1U)
14595 #define S_DTU_ERR_B5 5
14596 #define V_DTU_ERR_B5(x) ((x) << S_DTU_ERR_B5)
14597 #define F_DTU_ERR_B5 V_DTU_ERR_B5(1U)
14599 #define S_DTU_ERR_B4 4
14600 #define V_DTU_ERR_B4(x) ((x) << S_DTU_ERR_B4)
14601 #define F_DTU_ERR_B4 V_DTU_ERR_B4(1U)
14603 #define S_DTU_ERR_B3 3
14604 #define V_DTU_ERR_B3(x) ((x) << S_DTU_ERR_B3)
14605 #define F_DTU_ERR_B3 V_DTU_ERR_B3(1U)
14607 #define S_DTU_ERR_B2 2
14608 #define V_DTU_ERR_B2(x) ((x) << S_DTU_ERR_B2)
14609 #define F_DTU_ERR_B2 V_DTU_ERR_B2(1U)
14611 #define S_DTU_ERR_B1 1
14612 #define V_DTU_ERR_B1(x) ((x) << S_DTU_ERR_B1)
14613 #define F_DTU_ERR_B1 V_DTU_ERR_B1(1U)
14615 #define S_DTU_ERR_B0 0
14616 #define V_DTU_ERR_B0(x) ((x) << S_DTU_ERR_B0)
14617 #define F_DTU_ERR_B0 V_DTU_ERR_B0(1U)
14619 #define A_MC_PCTL_DTUNA 0x6298
14620 #define A_MC_PCTL_DTUNE 0x629c
14621 #define A_MC_PCTL_DTUPRDO 0x62a0
14623 #define S_DTU_ALLBITS_1 16
14624 #define M_DTU_ALLBITS_1 0xffffU
14625 #define V_DTU_ALLBITS_1(x) ((x) << S_DTU_ALLBITS_1)
14626 #define G_DTU_ALLBITS_1(x) (((x) >> S_DTU_ALLBITS_1) & M_DTU_ALLBITS_1)
14628 #define S_DTU_ALLBITS_0 0
14629 #define M_DTU_ALLBITS_0 0xffffU
14630 #define V_DTU_ALLBITS_0(x) ((x) << S_DTU_ALLBITS_0)
14631 #define G_DTU_ALLBITS_0(x) (((x) >> S_DTU_ALLBITS_0) & M_DTU_ALLBITS_0)
14633 #define A_MC_PCTL_DTUPRD1 0x62a4
14635 #define S_DTU_ALLBITS_3 16
14636 #define M_DTU_ALLBITS_3 0xffffU
14637 #define V_DTU_ALLBITS_3(x) ((x) << S_DTU_ALLBITS_3)
14638 #define G_DTU_ALLBITS_3(x) (((x) >> S_DTU_ALLBITS_3) & M_DTU_ALLBITS_3)
14640 #define S_DTU_ALLBITS_2 0
14641 #define M_DTU_ALLBITS_2 0xffffU
14642 #define V_DTU_ALLBITS_2(x) ((x) << S_DTU_ALLBITS_2)
14643 #define G_DTU_ALLBITS_2(x) (((x) >> S_DTU_ALLBITS_2) & M_DTU_ALLBITS_2)
14645 #define A_MC_PCTL_DTUPRD2 0x62a8
14647 #define S_DTU_ALLBITS_5 16
14648 #define M_DTU_ALLBITS_5 0xffffU
14649 #define V_DTU_ALLBITS_5(x) ((x) << S_DTU_ALLBITS_5)
14650 #define G_DTU_ALLBITS_5(x) (((x) >> S_DTU_ALLBITS_5) & M_DTU_ALLBITS_5)
14652 #define S_DTU_ALLBITS_4 0
14653 #define M_DTU_ALLBITS_4 0xffffU
14654 #define V_DTU_ALLBITS_4(x) ((x) << S_DTU_ALLBITS_4)
14655 #define G_DTU_ALLBITS_4(x) (((x) >> S_DTU_ALLBITS_4) & M_DTU_ALLBITS_4)
14657 #define A_MC_PCTL_DTUPRD3 0x62ac
14659 #define S_DTU_ALLBITS_7 16
14660 #define M_DTU_ALLBITS_7 0xffffU
14661 #define V_DTU_ALLBITS_7(x) ((x) << S_DTU_ALLBITS_7)
14662 #define G_DTU_ALLBITS_7(x) (((x) >> S_DTU_ALLBITS_7) & M_DTU_ALLBITS_7)
14664 #define S_DTU_ALLBITS_6 0
14665 #define M_DTU_ALLBITS_6 0xffffU
14666 #define V_DTU_ALLBITS_6(x) ((x) << S_DTU_ALLBITS_6)
14667 #define G_DTU_ALLBITS_6(x) (((x) >> S_DTU_ALLBITS_6) & M_DTU_ALLBITS_6)
14669 #define A_MC_PCTL_DTUAWDT 0x62b0
14671 #define S_NUMBER_RANKS 9
14672 #define M_NUMBER_RANKS 0x3U
14673 #define V_NUMBER_RANKS(x) ((x) << S_NUMBER_RANKS)
14674 #define G_NUMBER_RANKS(x) (((x) >> S_NUMBER_RANKS) & M_NUMBER_RANKS)
14676 #define S_ROW_ADDR_WIDTH 6
14677 #define M_ROW_ADDR_WIDTH 0x3U
14678 #define V_ROW_ADDR_WIDTH(x) ((x) << S_ROW_ADDR_WIDTH)
14679 #define G_ROW_ADDR_WIDTH(x) (((x) >> S_ROW_ADDR_WIDTH) & M_ROW_ADDR_WIDTH)
14681 #define S_BANK_ADDR_WIDTH 3
14682 #define M_BANK_ADDR_WIDTH 0x3U
14683 #define V_BANK_ADDR_WIDTH(x) ((x) << S_BANK_ADDR_WIDTH)
14684 #define G_BANK_ADDR_WIDTH(x) (((x) >> S_BANK_ADDR_WIDTH) & M_BANK_ADDR_WIDTH)
14686 #define S_COLUMN_ADDR_WIDTH 0
14687 #define M_COLUMN_ADDR_WIDTH 0x3U
14688 #define V_COLUMN_ADDR_WIDTH(x) ((x) << S_COLUMN_ADDR_WIDTH)
14689 #define G_COLUMN_ADDR_WIDTH(x) (((x) >> S_COLUMN_ADDR_WIDTH) & M_COLUMN_ADDR_WIDTH)
14691 #define A_MC_PCTL_TOGCNT1U 0x62c0
14693 #define S_TOGGLE_COUNTER_1U 0
14694 #define M_TOGGLE_COUNTER_1U 0x3ffU
14695 #define V_TOGGLE_COUNTER_1U(x) ((x) << S_TOGGLE_COUNTER_1U)
14696 #define G_TOGGLE_COUNTER_1U(x) (((x) >> S_TOGGLE_COUNTER_1U) & M_TOGGLE_COUNTER_1U)
14698 #define A_MC_PCTL_TINIT 0x62c4
14701 #define M_T_INIT 0x1ffU
14702 #define V_T_INIT(x) ((x) << S_T_INIT)
14703 #define G_T_INIT(x) (((x) >> S_T_INIT) & M_T_INIT)
14705 #define A_MC_PCTL_TRSTH 0x62c8
14708 #define M_T_RSTH 0x3ffU
14709 #define V_T_RSTH(x) ((x) << S_T_RSTH)
14710 #define G_T_RSTH(x) (((x) >> S_T_RSTH) & M_T_RSTH)
14712 #define A_MC_PCTL_TOGCNT100N 0x62cc
14714 #define S_TOGGLE_COUNTER_100N 0
14715 #define M_TOGGLE_COUNTER_100N 0x7fU
14716 #define V_TOGGLE_COUNTER_100N(x) ((x) << S_TOGGLE_COUNTER_100N)
14717 #define G_TOGGLE_COUNTER_100N(x) (((x) >> S_TOGGLE_COUNTER_100N) & M_TOGGLE_COUNTER_100N)
14719 #define A_MC_PCTL_TREFI 0x62d0
14722 #define M_T_REFI 0xffU
14723 #define V_T_REFI(x) ((x) << S_T_REFI)
14724 #define G_T_REFI(x) (((x) >> S_T_REFI) & M_T_REFI)
14726 #define A_MC_PCTL_TMRD 0x62d4
14729 #define M_T_MRD 0x7U
14730 #define V_T_MRD(x) ((x) << S_T_MRD)
14731 #define G_T_MRD(x) (((x) >> S_T_MRD) & M_T_MRD)
14733 #define A_MC_PCTL_TRFC 0x62d8
14736 #define M_T_RFC 0xffU
14737 #define V_T_RFC(x) ((x) << S_T_RFC)
14738 #define G_T_RFC(x) (((x) >> S_T_RFC) & M_T_RFC)
14740 #define A_MC_PCTL_TRP 0x62dc
14743 #define M_T_RP 0xfU
14744 #define V_T_RP(x) ((x) << S_T_RP)
14745 #define G_T_RP(x) (((x) >> S_T_RP) & M_T_RP)
14747 #define A_MC_PCTL_TRTW 0x62e0
14750 #define M_T_RTW 0x7U
14751 #define V_T_RTW(x) ((x) << S_T_RTW)
14752 #define G_T_RTW(x) (((x) >> S_T_RTW) & M_T_RTW)
14754 #define A_MC_PCTL_TAL 0x62e4
14757 #define M_T_AL 0xfU
14758 #define V_T_AL(x) ((x) << S_T_AL)
14759 #define G_T_AL(x) (((x) >> S_T_AL) & M_T_AL)
14761 #define A_MC_PCTL_TCL 0x62e8
14764 #define M_T_CL 0xfU
14765 #define V_T_CL(x) ((x) << S_T_CL)
14766 #define G_T_CL(x) (((x) >> S_T_CL) & M_T_CL)
14768 #define A_MC_PCTL_TCWL 0x62ec
14771 #define M_T_CWL 0xfU
14772 #define V_T_CWL(x) ((x) << S_T_CWL)
14773 #define G_T_CWL(x) (((x) >> S_T_CWL) & M_T_CWL)
14775 #define A_MC_PCTL_TRAS 0x62f0
14778 #define M_T_RAS 0x3fU
14779 #define V_T_RAS(x) ((x) << S_T_RAS)
14780 #define G_T_RAS(x) (((x) >> S_T_RAS) & M_T_RAS)
14782 #define A_MC_PCTL_TRC 0x62f4
14785 #define M_T_RC 0x3fU
14786 #define V_T_RC(x) ((x) << S_T_RC)
14787 #define G_T_RC(x) (((x) >> S_T_RC) & M_T_RC)
14789 #define A_MC_PCTL_TRCD 0x62f8
14792 #define M_T_RCD 0xfU
14793 #define V_T_RCD(x) ((x) << S_T_RCD)
14794 #define G_T_RCD(x) (((x) >> S_T_RCD) & M_T_RCD)
14796 #define A_MC_PCTL_TRRD 0x62fc
14799 #define M_T_RRD 0xfU
14800 #define V_T_RRD(x) ((x) << S_T_RRD)
14801 #define G_T_RRD(x) (((x) >> S_T_RRD) & M_T_RRD)
14803 #define A_MC_PCTL_TRTP 0x6300
14806 #define M_T_RTP 0x7U
14807 #define V_T_RTP(x) ((x) << S_T_RTP)
14808 #define G_T_RTP(x) (((x) >> S_T_RTP) & M_T_RTP)
14810 #define A_MC_PCTL_TWR 0x6304
14813 #define M_T_WR 0x7U
14814 #define V_T_WR(x) ((x) << S_T_WR)
14815 #define G_T_WR(x) (((x) >> S_T_WR) & M_T_WR)
14817 #define A_MC_PCTL_TWTR 0x6308
14820 #define M_T_WTR 0x7U
14821 #define V_T_WTR(x) ((x) << S_T_WTR)
14822 #define G_T_WTR(x) (((x) >> S_T_WTR) & M_T_WTR)
14824 #define A_MC_PCTL_TEXSR 0x630c
14827 #define M_T_EXSR 0x3ffU
14828 #define V_T_EXSR(x) ((x) << S_T_EXSR)
14829 #define G_T_EXSR(x) (((x) >> S_T_EXSR) & M_T_EXSR)
14831 #define A_MC_PCTL_TXP 0x6310
14834 #define M_T_XP 0x7U
14835 #define V_T_XP(x) ((x) << S_T_XP)
14836 #define G_T_XP(x) (((x) >> S_T_XP) & M_T_XP)
14838 #define A_MC_PCTL_TXPDLL 0x6314
14840 #define S_T_XPDLL 0
14841 #define M_T_XPDLL 0x3fU
14842 #define V_T_XPDLL(x) ((x) << S_T_XPDLL)
14843 #define G_T_XPDLL(x) (((x) >> S_T_XPDLL) & M_T_XPDLL)
14845 #define A_MC_PCTL_TZQCS 0x6318
14848 #define M_T_ZQCS 0x7fU
14849 #define V_T_ZQCS(x) ((x) << S_T_ZQCS)
14850 #define G_T_ZQCS(x) (((x) >> S_T_ZQCS) & M_T_ZQCS)
14852 #define A_MC_PCTL_TZQCSI 0x631c
14854 #define S_T_ZQCSI 0
14855 #define M_T_ZQCSI 0xfffU
14856 #define V_T_ZQCSI(x) ((x) << S_T_ZQCSI)
14857 #define G_T_ZQCSI(x) (((x) >> S_T_ZQCSI) & M_T_ZQCSI)
14859 #define A_MC_PCTL_TDQS 0x6320
14862 #define M_T_DQS 0x7U
14863 #define V_T_DQS(x) ((x) << S_T_DQS)
14864 #define G_T_DQS(x) (((x) >> S_T_DQS) & M_T_DQS)
14866 #define A_MC_PCTL_TCKSRE 0x6324
14868 #define S_T_CKSRE 0
14869 #define M_T_CKSRE 0xfU
14870 #define V_T_CKSRE(x) ((x) << S_T_CKSRE)
14871 #define G_T_CKSRE(x) (((x) >> S_T_CKSRE) & M_T_CKSRE)
14873 #define A_MC_PCTL_TCKSRX 0x6328
14875 #define S_T_CKSRX 0
14876 #define M_T_CKSRX 0xfU
14877 #define V_T_CKSRX(x) ((x) << S_T_CKSRX)
14878 #define G_T_CKSRX(x) (((x) >> S_T_CKSRX) & M_T_CKSRX)
14880 #define A_MC_PCTL_TCKE 0x632c
14883 #define M_T_CKE 0x7U
14884 #define V_T_CKE(x) ((x) << S_T_CKE)
14885 #define G_T_CKE(x) (((x) >> S_T_CKE) & M_T_CKE)
14887 #define A_MC_PCTL_TMOD 0x6330
14890 #define M_T_MOD 0xfU
14891 #define V_T_MOD(x) ((x) << S_T_MOD)
14892 #define G_T_MOD(x) (((x) >> S_T_MOD) & M_T_MOD)
14894 #define A_MC_PCTL_TRSTL 0x6334
14896 #define S_RSTHOLD 0
14897 #define M_RSTHOLD 0x7fU
14898 #define V_RSTHOLD(x) ((x) << S_RSTHOLD)
14899 #define G_RSTHOLD(x) (((x) >> S_RSTHOLD) & M_RSTHOLD)
14901 #define A_MC_PCTL_TZQCL 0x6338
14904 #define M_T_ZQCL 0x3ffU
14905 #define V_T_ZQCL(x) ((x) << S_T_ZQCL)
14906 #define G_T_ZQCL(x) (((x) >> S_T_ZQCL) & M_T_ZQCL)
14908 #define A_MC_PCTL_DWLCFG0 0x6370
14910 #define S_T_ADWL_VEC 0
14911 #define M_T_ADWL_VEC 0x1ffU
14912 #define V_T_ADWL_VEC(x) ((x) << S_T_ADWL_VEC)
14913 #define G_T_ADWL_VEC(x) (((x) >> S_T_ADWL_VEC) & M_T_ADWL_VEC)
14915 #define A_MC_PCTL_DWLCFG1 0x6374
14916 #define A_MC_PCTL_DWLCFG2 0x6378
14917 #define A_MC_PCTL_DWLCFG3 0x637c
14918 #define A_MC_PCTL_ECCCFG 0x6380
14920 #define S_INLINE_SYN_EN 4
14921 #define V_INLINE_SYN_EN(x) ((x) << S_INLINE_SYN_EN)
14922 #define F_INLINE_SYN_EN V_INLINE_SYN_EN(1U)
14925 #define V_ECC_EN(x) ((x) << S_ECC_EN)
14926 #define F_ECC_EN V_ECC_EN(1U)
14928 #define S_ECC_INTR_EN 2
14929 #define V_ECC_INTR_EN(x) ((x) << S_ECC_INTR_EN)
14930 #define F_ECC_INTR_EN V_ECC_INTR_EN(1U)
14932 #define A_MC_PCTL_ECCTST 0x6384
14934 #define S_ECC_TEST_MASK 0
14935 #define M_ECC_TEST_MASK 0xffU
14936 #define V_ECC_TEST_MASK(x) ((x) << S_ECC_TEST_MASK)
14937 #define G_ECC_TEST_MASK(x) (((x) >> S_ECC_TEST_MASK) & M_ECC_TEST_MASK)
14939 #define A_MC_PCTL_ECCCLR 0x6388
14941 #define S_CLR_ECC_LOG 1
14942 #define V_CLR_ECC_LOG(x) ((x) << S_CLR_ECC_LOG)
14943 #define F_CLR_ECC_LOG V_CLR_ECC_LOG(1U)
14945 #define S_CLR_ECC_INTR 0
14946 #define V_CLR_ECC_INTR(x) ((x) << S_CLR_ECC_INTR)
14947 #define F_CLR_ECC_INTR V_CLR_ECC_INTR(1U)
14949 #define A_MC_PCTL_ECCLOG 0x638c
14950 #define A_MC_PCTL_DTUWACTL 0x6400
14952 #define S_DTU_WR_RANK 30
14953 #define M_DTU_WR_RANK 0x3U
14954 #define V_DTU_WR_RANK(x) ((x) << S_DTU_WR_RANK)
14955 #define G_DTU_WR_RANK(x) (((x) >> S_DTU_WR_RANK) & M_DTU_WR_RANK)
14957 #define S_DTU_WR_ROW 13
14958 #define M_DTU_WR_ROW 0x1ffffU
14959 #define V_DTU_WR_ROW(x) ((x) << S_DTU_WR_ROW)
14960 #define G_DTU_WR_ROW(x) (((x) >> S_DTU_WR_ROW) & M_DTU_WR_ROW)
14962 #define S_DTU_WR_BANK 10
14963 #define M_DTU_WR_BANK 0x7U
14964 #define V_DTU_WR_BANK(x) ((x) << S_DTU_WR_BANK)
14965 #define G_DTU_WR_BANK(x) (((x) >> S_DTU_WR_BANK) & M_DTU_WR_BANK)
14967 #define S_DTU_WR_COL 0
14968 #define M_DTU_WR_COL 0x3ffU
14969 #define V_DTU_WR_COL(x) ((x) << S_DTU_WR_COL)
14970 #define G_DTU_WR_COL(x) (((x) >> S_DTU_WR_COL) & M_DTU_WR_COL)
14972 #define A_MC_PCTL_DTURACTL 0x6404
14974 #define S_DTU_RD_RANK 30
14975 #define M_DTU_RD_RANK 0x3U
14976 #define V_DTU_RD_RANK(x) ((x) << S_DTU_RD_RANK)
14977 #define G_DTU_RD_RANK(x) (((x) >> S_DTU_RD_RANK) & M_DTU_RD_RANK)
14979 #define S_DTU_RD_ROW 13
14980 #define M_DTU_RD_ROW 0x1ffffU
14981 #define V_DTU_RD_ROW(x) ((x) << S_DTU_RD_ROW)
14982 #define G_DTU_RD_ROW(x) (((x) >> S_DTU_RD_ROW) & M_DTU_RD_ROW)
14984 #define S_DTU_RD_BANK 10
14985 #define M_DTU_RD_BANK 0x7U
14986 #define V_DTU_RD_BANK(x) ((x) << S_DTU_RD_BANK)
14987 #define G_DTU_RD_BANK(x) (((x) >> S_DTU_RD_BANK) & M_DTU_RD_BANK)
14989 #define S_DTU_RD_COL 0
14990 #define M_DTU_RD_COL 0x3ffU
14991 #define V_DTU_RD_COL(x) ((x) << S_DTU_RD_COL)
14992 #define G_DTU_RD_COL(x) (((x) >> S_DTU_RD_COL) & M_DTU_RD_COL)
14994 #define A_MC_PCTL_DTUCFG 0x6408
14996 #define S_DTU_ROW_INCREMENTS 16
14997 #define M_DTU_ROW_INCREMENTS 0x7fU
14998 #define V_DTU_ROW_INCREMENTS(x) ((x) << S_DTU_ROW_INCREMENTS)
14999 #define G_DTU_ROW_INCREMENTS(x) (((x) >> S_DTU_ROW_INCREMENTS) & M_DTU_ROW_INCREMENTS)
15001 #define S_DTU_WR_MULTI_RD 15
15002 #define V_DTU_WR_MULTI_RD(x) ((x) << S_DTU_WR_MULTI_RD)
15003 #define F_DTU_WR_MULTI_RD V_DTU_WR_MULTI_RD(1U)
15005 #define S_DTU_DATA_MASK_EN 14
15006 #define V_DTU_DATA_MASK_EN(x) ((x) << S_DTU_DATA_MASK_EN)
15007 #define F_DTU_DATA_MASK_EN V_DTU_DATA_MASK_EN(1U)
15009 #define S_DTU_TARGET_LANE 10
15010 #define M_DTU_TARGET_LANE 0xfU
15011 #define V_DTU_TARGET_LANE(x) ((x) << S_DTU_TARGET_LANE)
15012 #define G_DTU_TARGET_LANE(x) (((x) >> S_DTU_TARGET_LANE) & M_DTU_TARGET_LANE)
15014 #define S_DTU_GENERATE_RANDOM 9
15015 #define V_DTU_GENERATE_RANDOM(x) ((x) << S_DTU_GENERATE_RANDOM)
15016 #define F_DTU_GENERATE_RANDOM V_DTU_GENERATE_RANDOM(1U)
15018 #define S_DTU_INCR_BANKS 8
15019 #define V_DTU_INCR_BANKS(x) ((x) << S_DTU_INCR_BANKS)
15020 #define F_DTU_INCR_BANKS V_DTU_INCR_BANKS(1U)
15022 #define S_DTU_INCR_COLS 7
15023 #define V_DTU_INCR_COLS(x) ((x) << S_DTU_INCR_COLS)
15024 #define F_DTU_INCR_COLS V_DTU_INCR_COLS(1U)
15026 #define S_DTU_NALEN 1
15027 #define M_DTU_NALEN 0x3fU
15028 #define V_DTU_NALEN(x) ((x) << S_DTU_NALEN)
15029 #define G_DTU_NALEN(x) (((x) >> S_DTU_NALEN) & M_DTU_NALEN)
15031 #define S_DTU_ENABLE 0
15032 #define V_DTU_ENABLE(x) ((x) << S_DTU_ENABLE)
15033 #define F_DTU_ENABLE V_DTU_ENABLE(1U)
15035 #define A_MC_PCTL_DTUECTL 0x640c
15037 #define S_WR_MULTI_RD_RST 2
15038 #define V_WR_MULTI_RD_RST(x) ((x) << S_WR_MULTI_RD_RST)
15039 #define F_WR_MULTI_RD_RST V_WR_MULTI_RD_RST(1U)
15041 #define S_RUN_ERROR_REPORTS 1
15042 #define V_RUN_ERROR_REPORTS(x) ((x) << S_RUN_ERROR_REPORTS)
15043 #define F_RUN_ERROR_REPORTS V_RUN_ERROR_REPORTS(1U)
15045 #define S_RUN_DTU 0
15046 #define V_RUN_DTU(x) ((x) << S_RUN_DTU)
15047 #define F_RUN_DTU V_RUN_DTU(1U)
15049 #define A_MC_PCTL_DTUWD0 0x6410
15051 #define S_DTU_WR_BYTE3 24
15052 #define M_DTU_WR_BYTE3 0xffU
15053 #define V_DTU_WR_BYTE3(x) ((x) << S_DTU_WR_BYTE3)
15054 #define G_DTU_WR_BYTE3(x) (((x) >> S_DTU_WR_BYTE3) & M_DTU_WR_BYTE3)
15056 #define S_DTU_WR_BYTE2 16
15057 #define M_DTU_WR_BYTE2 0xffU
15058 #define V_DTU_WR_BYTE2(x) ((x) << S_DTU_WR_BYTE2)
15059 #define G_DTU_WR_BYTE2(x) (((x) >> S_DTU_WR_BYTE2) & M_DTU_WR_BYTE2)
15061 #define S_DTU_WR_BYTE1 8
15062 #define M_DTU_WR_BYTE1 0xffU
15063 #define V_DTU_WR_BYTE1(x) ((x) << S_DTU_WR_BYTE1)
15064 #define G_DTU_WR_BYTE1(x) (((x) >> S_DTU_WR_BYTE1) & M_DTU_WR_BYTE1)
15066 #define S_DTU_WR_BYTE0 0
15067 #define M_DTU_WR_BYTE0 0xffU
15068 #define V_DTU_WR_BYTE0(x) ((x) << S_DTU_WR_BYTE0)
15069 #define G_DTU_WR_BYTE0(x) (((x) >> S_DTU_WR_BYTE0) & M_DTU_WR_BYTE0)
15071 #define A_MC_PCTL_DTUWD1 0x6414
15073 #define S_DTU_WR_BYTE7 24
15074 #define M_DTU_WR_BYTE7 0xffU
15075 #define V_DTU_WR_BYTE7(x) ((x) << S_DTU_WR_BYTE7)
15076 #define G_DTU_WR_BYTE7(x) (((x) >> S_DTU_WR_BYTE7) & M_DTU_WR_BYTE7)
15078 #define S_DTU_WR_BYTE6 16
15079 #define M_DTU_WR_BYTE6 0xffU
15080 #define V_DTU_WR_BYTE6(x) ((x) << S_DTU_WR_BYTE6)
15081 #define G_DTU_WR_BYTE6(x) (((x) >> S_DTU_WR_BYTE6) & M_DTU_WR_BYTE6)
15083 #define S_DTU_WR_BYTE5 8
15084 #define M_DTU_WR_BYTE5 0xffU
15085 #define V_DTU_WR_BYTE5(x) ((x) << S_DTU_WR_BYTE5)
15086 #define G_DTU_WR_BYTE5(x) (((x) >> S_DTU_WR_BYTE5) & M_DTU_WR_BYTE5)
15088 #define S_DTU_WR_BYTE4 0
15089 #define M_DTU_WR_BYTE4 0xffU
15090 #define V_DTU_WR_BYTE4(x) ((x) << S_DTU_WR_BYTE4)
15091 #define G_DTU_WR_BYTE4(x) (((x) >> S_DTU_WR_BYTE4) & M_DTU_WR_BYTE4)
15093 #define A_MC_PCTL_DTUWD2 0x6418
15095 #define S_DTU_WR_BYTE11 24
15096 #define M_DTU_WR_BYTE11 0xffU
15097 #define V_DTU_WR_BYTE11(x) ((x) << S_DTU_WR_BYTE11)
15098 #define G_DTU_WR_BYTE11(x) (((x) >> S_DTU_WR_BYTE11) & M_DTU_WR_BYTE11)
15100 #define S_DTU_WR_BYTE10 16
15101 #define M_DTU_WR_BYTE10 0xffU
15102 #define V_DTU_WR_BYTE10(x) ((x) << S_DTU_WR_BYTE10)
15103 #define G_DTU_WR_BYTE10(x) (((x) >> S_DTU_WR_BYTE10) & M_DTU_WR_BYTE10)
15105 #define S_DTU_WR_BYTE9 8
15106 #define M_DTU_WR_BYTE9 0xffU
15107 #define V_DTU_WR_BYTE9(x) ((x) << S_DTU_WR_BYTE9)
15108 #define G_DTU_WR_BYTE9(x) (((x) >> S_DTU_WR_BYTE9) & M_DTU_WR_BYTE9)
15110 #define S_DTU_WR_BYTE8 0
15111 #define M_DTU_WR_BYTE8 0xffU
15112 #define V_DTU_WR_BYTE8(x) ((x) << S_DTU_WR_BYTE8)
15113 #define G_DTU_WR_BYTE8(x) (((x) >> S_DTU_WR_BYTE8) & M_DTU_WR_BYTE8)
15115 #define A_MC_PCTL_DTUWD3 0x641c
15117 #define S_DTU_WR_BYTE15 24
15118 #define M_DTU_WR_BYTE15 0xffU
15119 #define V_DTU_WR_BYTE15(x) ((x) << S_DTU_WR_BYTE15)
15120 #define G_DTU_WR_BYTE15(x) (((x) >> S_DTU_WR_BYTE15) & M_DTU_WR_BYTE15)
15122 #define S_DTU_WR_BYTE14 16
15123 #define M_DTU_WR_BYTE14 0xffU
15124 #define V_DTU_WR_BYTE14(x) ((x) << S_DTU_WR_BYTE14)
15125 #define G_DTU_WR_BYTE14(x) (((x) >> S_DTU_WR_BYTE14) & M_DTU_WR_BYTE14)
15127 #define S_DTU_WR_BYTE13 8
15128 #define M_DTU_WR_BYTE13 0xffU
15129 #define V_DTU_WR_BYTE13(x) ((x) << S_DTU_WR_BYTE13)
15130 #define G_DTU_WR_BYTE13(x) (((x) >> S_DTU_WR_BYTE13) & M_DTU_WR_BYTE13)
15132 #define S_DTU_WR_BYTE12 0
15133 #define M_DTU_WR_BYTE12 0xffU
15134 #define V_DTU_WR_BYTE12(x) ((x) << S_DTU_WR_BYTE12)
15135 #define G_DTU_WR_BYTE12(x) (((x) >> S_DTU_WR_BYTE12) & M_DTU_WR_BYTE12)
15137 #define A_MC_PCTL_DTUWDM 0x6420
15139 #define S_DM_WR_BYTE0 0
15140 #define M_DM_WR_BYTE0 0xffffU
15141 #define V_DM_WR_BYTE0(x) ((x) << S_DM_WR_BYTE0)
15142 #define G_DM_WR_BYTE0(x) (((x) >> S_DM_WR_BYTE0) & M_DM_WR_BYTE0)
15144 #define A_MC_PCTL_DTURD0 0x6424
15146 #define S_DTU_RD_BYTE3 24
15147 #define M_DTU_RD_BYTE3 0xffU
15148 #define V_DTU_RD_BYTE3(x) ((x) << S_DTU_RD_BYTE3)
15149 #define G_DTU_RD_BYTE3(x) (((x) >> S_DTU_RD_BYTE3) & M_DTU_RD_BYTE3)
15151 #define S_DTU_RD_BYTE2 16
15152 #define M_DTU_RD_BYTE2 0xffU
15153 #define V_DTU_RD_BYTE2(x) ((x) << S_DTU_RD_BYTE2)
15154 #define G_DTU_RD_BYTE2(x) (((x) >> S_DTU_RD_BYTE2) & M_DTU_RD_BYTE2)
15156 #define S_DTU_RD_BYTE1 8
15157 #define M_DTU_RD_BYTE1 0xffU
15158 #define V_DTU_RD_BYTE1(x) ((x) << S_DTU_RD_BYTE1)
15159 #define G_DTU_RD_BYTE1(x) (((x) >> S_DTU_RD_BYTE1) & M_DTU_RD_BYTE1)
15161 #define S_DTU_RD_BYTE0 0
15162 #define M_DTU_RD_BYTE0 0xffU
15163 #define V_DTU_RD_BYTE0(x) ((x) << S_DTU_RD_BYTE0)
15164 #define G_DTU_RD_BYTE0(x) (((x) >> S_DTU_RD_BYTE0) & M_DTU_RD_BYTE0)
15166 #define A_MC_PCTL_DTURD1 0x6428
15168 #define S_DTU_RD_BYTE7 24
15169 #define M_DTU_RD_BYTE7 0xffU
15170 #define V_DTU_RD_BYTE7(x) ((x) << S_DTU_RD_BYTE7)
15171 #define G_DTU_RD_BYTE7(x) (((x) >> S_DTU_RD_BYTE7) & M_DTU_RD_BYTE7)
15173 #define S_DTU_RD_BYTE6 16
15174 #define M_DTU_RD_BYTE6 0xffU
15175 #define V_DTU_RD_BYTE6(x) ((x) << S_DTU_RD_BYTE6)
15176 #define G_DTU_RD_BYTE6(x) (((x) >> S_DTU_RD_BYTE6) & M_DTU_RD_BYTE6)
15178 #define S_DTU_RD_BYTE5 8
15179 #define M_DTU_RD_BYTE5 0xffU
15180 #define V_DTU_RD_BYTE5(x) ((x) << S_DTU_RD_BYTE5)
15181 #define G_DTU_RD_BYTE5(x) (((x) >> S_DTU_RD_BYTE5) & M_DTU_RD_BYTE5)
15183 #define S_DTU_RD_BYTE4 0
15184 #define M_DTU_RD_BYTE4 0xffU
15185 #define V_DTU_RD_BYTE4(x) ((x) << S_DTU_RD_BYTE4)
15186 #define G_DTU_RD_BYTE4(x) (((x) >> S_DTU_RD_BYTE4) & M_DTU_RD_BYTE4)
15188 #define A_MC_PCTL_DTURD2 0x642c
15190 #define S_DTU_RD_BYTE11 24
15191 #define M_DTU_RD_BYTE11 0xffU
15192 #define V_DTU_RD_BYTE11(x) ((x) << S_DTU_RD_BYTE11)
15193 #define G_DTU_RD_BYTE11(x) (((x) >> S_DTU_RD_BYTE11) & M_DTU_RD_BYTE11)
15195 #define S_DTU_RD_BYTE10 16
15196 #define M_DTU_RD_BYTE10 0xffU
15197 #define V_DTU_RD_BYTE10(x) ((x) << S_DTU_RD_BYTE10)
15198 #define G_DTU_RD_BYTE10(x) (((x) >> S_DTU_RD_BYTE10) & M_DTU_RD_BYTE10)
15200 #define S_DTU_RD_BYTE9 8
15201 #define M_DTU_RD_BYTE9 0xffU
15202 #define V_DTU_RD_BYTE9(x) ((x) << S_DTU_RD_BYTE9)
15203 #define G_DTU_RD_BYTE9(x) (((x) >> S_DTU_RD_BYTE9) & M_DTU_RD_BYTE9)
15205 #define S_DTU_RD_BYTE8 0
15206 #define M_DTU_RD_BYTE8 0xffU
15207 #define V_DTU_RD_BYTE8(x) ((x) << S_DTU_RD_BYTE8)
15208 #define G_DTU_RD_BYTE8(x) (((x) >> S_DTU_RD_BYTE8) & M_DTU_RD_BYTE8)
15210 #define A_MC_PCTL_DTURD3 0x6430
15212 #define S_DTU_RD_BYTE15 24
15213 #define M_DTU_RD_BYTE15 0xffU
15214 #define V_DTU_RD_BYTE15(x) ((x) << S_DTU_RD_BYTE15)
15215 #define G_DTU_RD_BYTE15(x) (((x) >> S_DTU_RD_BYTE15) & M_DTU_RD_BYTE15)
15217 #define S_DTU_RD_BYTE14 16
15218 #define M_DTU_RD_BYTE14 0xffU
15219 #define V_DTU_RD_BYTE14(x) ((x) << S_DTU_RD_BYTE14)
15220 #define G_DTU_RD_BYTE14(x) (((x) >> S_DTU_RD_BYTE14) & M_DTU_RD_BYTE14)
15222 #define S_DTU_RD_BYTE13 8
15223 #define M_DTU_RD_BYTE13 0xffU
15224 #define V_DTU_RD_BYTE13(x) ((x) << S_DTU_RD_BYTE13)
15225 #define G_DTU_RD_BYTE13(x) (((x) >> S_DTU_RD_BYTE13) & M_DTU_RD_BYTE13)
15227 #define S_DTU_RD_BYTE12 0
15228 #define M_DTU_RD_BYTE12 0xffU
15229 #define V_DTU_RD_BYTE12(x) ((x) << S_DTU_RD_BYTE12)
15230 #define G_DTU_RD_BYTE12(x) (((x) >> S_DTU_RD_BYTE12) & M_DTU_RD_BYTE12)
15232 #define A_MC_DTULFSRWD 0x6434
15233 #define A_MC_PCTL_DTULFSRRD 0x6438
15234 #define A_MC_PCTL_DTUEAF 0x643c
15236 #define S_EA_RANK 30
15237 #define M_EA_RANK 0x3U
15238 #define V_EA_RANK(x) ((x) << S_EA_RANK)
15239 #define G_EA_RANK(x) (((x) >> S_EA_RANK) & M_EA_RANK)
15241 #define S_EA_ROW 13
15242 #define M_EA_ROW 0x1ffffU
15243 #define V_EA_ROW(x) ((x) << S_EA_ROW)
15244 #define G_EA_ROW(x) (((x) >> S_EA_ROW) & M_EA_ROW)
15246 #define S_EA_BANK 10
15247 #define M_EA_BANK 0x7U
15248 #define V_EA_BANK(x) ((x) << S_EA_BANK)
15249 #define G_EA_BANK(x) (((x) >> S_EA_BANK) & M_EA_BANK)
15251 #define S_EA_COLUMN 0
15252 #define M_EA_COLUMN 0x3ffU
15253 #define V_EA_COLUMN(x) ((x) << S_EA_COLUMN)
15254 #define G_EA_COLUMN(x) (((x) >> S_EA_COLUMN) & M_EA_COLUMN)
15256 #define A_MC_PCTL_PHYPVTCFG 0x6500
15258 #define S_PVT_UPD_REQ_EN 15
15259 #define V_PVT_UPD_REQ_EN(x) ((x) << S_PVT_UPD_REQ_EN)
15260 #define F_PVT_UPD_REQ_EN V_PVT_UPD_REQ_EN(1U)
15262 #define S_PVT_UPD_TRIG_POL 14
15263 #define V_PVT_UPD_TRIG_POL(x) ((x) << S_PVT_UPD_TRIG_POL)
15264 #define F_PVT_UPD_TRIG_POL V_PVT_UPD_TRIG_POL(1U)
15266 #define S_PVT_UPD_TRIG_TYPE 12
15267 #define V_PVT_UPD_TRIG_TYPE(x) ((x) << S_PVT_UPD_TRIG_TYPE)
15268 #define F_PVT_UPD_TRIG_TYPE V_PVT_UPD_TRIG_TYPE(1U)
15270 #define S_PVT_UPD_DONE_POL 10
15271 #define V_PVT_UPD_DONE_POL(x) ((x) << S_PVT_UPD_DONE_POL)
15272 #define F_PVT_UPD_DONE_POL V_PVT_UPD_DONE_POL(1U)
15274 #define S_PVT_UPD_DONE_TYPE 8
15275 #define M_PVT_UPD_DONE_TYPE 0x3U
15276 #define V_PVT_UPD_DONE_TYPE(x) ((x) << S_PVT_UPD_DONE_TYPE)
15277 #define G_PVT_UPD_DONE_TYPE(x) (((x) >> S_PVT_UPD_DONE_TYPE) & M_PVT_UPD_DONE_TYPE)
15279 #define S_PHY_UPD_REQ_EN 7
15280 #define V_PHY_UPD_REQ_EN(x) ((x) << S_PHY_UPD_REQ_EN)
15281 #define F_PHY_UPD_REQ_EN V_PHY_UPD_REQ_EN(1U)
15283 #define S_PHY_UPD_TRIG_POL 6
15284 #define V_PHY_UPD_TRIG_POL(x) ((x) << S_PHY_UPD_TRIG_POL)
15285 #define F_PHY_UPD_TRIG_POL V_PHY_UPD_TRIG_POL(1U)
15287 #define S_PHY_UPD_TRIG_TYPE 4
15288 #define V_PHY_UPD_TRIG_TYPE(x) ((x) << S_PHY_UPD_TRIG_TYPE)
15289 #define F_PHY_UPD_TRIG_TYPE V_PHY_UPD_TRIG_TYPE(1U)
15291 #define S_PHY_UPD_DONE_POL 2
15292 #define V_PHY_UPD_DONE_POL(x) ((x) << S_PHY_UPD_DONE_POL)
15293 #define F_PHY_UPD_DONE_POL V_PHY_UPD_DONE_POL(1U)
15295 #define S_PHY_UPD_DONE_TYPE 0
15296 #define M_PHY_UPD_DONE_TYPE 0x3U
15297 #define V_PHY_UPD_DONE_TYPE(x) ((x) << S_PHY_UPD_DONE_TYPE)
15298 #define G_PHY_UPD_DONE_TYPE(x) (((x) >> S_PHY_UPD_DONE_TYPE) & M_PHY_UPD_DONE_TYPE)
15300 #define A_MC_PCTL_PHYPVTSTAT 0x6504
15302 #define S_I_PVT_UPD_TRIG 5
15303 #define V_I_PVT_UPD_TRIG(x) ((x) << S_I_PVT_UPD_TRIG)
15304 #define F_I_PVT_UPD_TRIG V_I_PVT_UPD_TRIG(1U)
15306 #define S_I_PVT_UPD_DONE 4
15307 #define V_I_PVT_UPD_DONE(x) ((x) << S_I_PVT_UPD_DONE)
15308 #define F_I_PVT_UPD_DONE V_I_PVT_UPD_DONE(1U)
15310 #define S_I_PHY_UPD_TRIG 1
15311 #define V_I_PHY_UPD_TRIG(x) ((x) << S_I_PHY_UPD_TRIG)
15312 #define F_I_PHY_UPD_TRIG V_I_PHY_UPD_TRIG(1U)
15314 #define S_I_PHY_UPD_DONE 0
15315 #define V_I_PHY_UPD_DONE(x) ((x) << S_I_PHY_UPD_DONE)
15316 #define F_I_PHY_UPD_DONE V_I_PHY_UPD_DONE(1U)
15318 #define A_MC_PCTL_PHYTUPDON 0x6508
15320 #define S_PHY_T_UPDON 0
15321 #define M_PHY_T_UPDON 0xffU
15322 #define V_PHY_T_UPDON(x) ((x) << S_PHY_T_UPDON)
15323 #define G_PHY_T_UPDON(x) (((x) >> S_PHY_T_UPDON) & M_PHY_T_UPDON)
15325 #define A_MC_PCTL_PHYTUPDDLY 0x650c
15327 #define S_PHY_T_UPDDLY 0
15328 #define M_PHY_T_UPDDLY 0xfU
15329 #define V_PHY_T_UPDDLY(x) ((x) << S_PHY_T_UPDDLY)
15330 #define G_PHY_T_UPDDLY(x) (((x) >> S_PHY_T_UPDDLY) & M_PHY_T_UPDDLY)
15332 #define A_MC_PCTL_PVTTUPON 0x6510
15334 #define S_PVT_T_UPDON 0
15335 #define M_PVT_T_UPDON 0xffU
15336 #define V_PVT_T_UPDON(x) ((x) << S_PVT_T_UPDON)
15337 #define G_PVT_T_UPDON(x) (((x) >> S_PVT_T_UPDON) & M_PVT_T_UPDON)
15339 #define A_MC_PCTL_PVTTUPDDLY 0x6514
15341 #define S_PVT_T_UPDDLY 0
15342 #define M_PVT_T_UPDDLY 0xfU
15343 #define V_PVT_T_UPDDLY(x) ((x) << S_PVT_T_UPDDLY)
15344 #define G_PVT_T_UPDDLY(x) (((x) >> S_PVT_T_UPDDLY) & M_PVT_T_UPDDLY)
15346 #define A_MC_PCTL_PHYPVTUPDI 0x6518
15348 #define S_PHYPVT_T_UPDI 0
15349 #define M_PHYPVT_T_UPDI 0xffU
15350 #define V_PHYPVT_T_UPDI(x) ((x) << S_PHYPVT_T_UPDI)
15351 #define G_PHYPVT_T_UPDI(x) (((x) >> S_PHYPVT_T_UPDI) & M_PHYPVT_T_UPDI)
15353 #define A_MC_PCTL_PHYIOCRV1 0x651c
15355 #define S_BYTE_OE_CTL 16
15356 #define M_BYTE_OE_CTL 0x3U
15357 #define V_BYTE_OE_CTL(x) ((x) << S_BYTE_OE_CTL)
15358 #define G_BYTE_OE_CTL(x) (((x) >> S_BYTE_OE_CTL) & M_BYTE_OE_CTL)
15360 #define S_DYN_SOC_ODT_ALAT 12
15361 #define M_DYN_SOC_ODT_ALAT 0xfU
15362 #define V_DYN_SOC_ODT_ALAT(x) ((x) << S_DYN_SOC_ODT_ALAT)
15363 #define G_DYN_SOC_ODT_ALAT(x) (((x) >> S_DYN_SOC_ODT_ALAT) & M_DYN_SOC_ODT_ALAT)
15365 #define S_DYN_SOC_ODT_ATEN 8
15366 #define M_DYN_SOC_ODT_ATEN 0x3U
15367 #define V_DYN_SOC_ODT_ATEN(x) ((x) << S_DYN_SOC_ODT_ATEN)
15368 #define G_DYN_SOC_ODT_ATEN(x) (((x) >> S_DYN_SOC_ODT_ATEN) & M_DYN_SOC_ODT_ATEN)
15370 #define S_DYN_SOC_ODT 2
15371 #define V_DYN_SOC_ODT(x) ((x) << S_DYN_SOC_ODT)
15372 #define F_DYN_SOC_ODT V_DYN_SOC_ODT(1U)
15374 #define S_SOC_ODT_EN 0
15375 #define V_SOC_ODT_EN(x) ((x) << S_SOC_ODT_EN)
15376 #define F_SOC_ODT_EN V_SOC_ODT_EN(1U)
15378 #define A_MC_PCTL_PHYTUPDWAIT 0x6520
15380 #define S_PHY_T_UPDWAIT 0
15381 #define M_PHY_T_UPDWAIT 0x3fU
15382 #define V_PHY_T_UPDWAIT(x) ((x) << S_PHY_T_UPDWAIT)
15383 #define G_PHY_T_UPDWAIT(x) (((x) >> S_PHY_T_UPDWAIT) & M_PHY_T_UPDWAIT)
15385 #define A_MC_PCTL_PVTTUPDWAIT 0x6524
15387 #define S_PVT_T_UPDWAIT 0
15388 #define M_PVT_T_UPDWAIT 0x3fU
15389 #define V_PVT_T_UPDWAIT(x) ((x) << S_PVT_T_UPDWAIT)
15390 #define G_PVT_T_UPDWAIT(x) (((x) >> S_PVT_T_UPDWAIT) & M_PVT_T_UPDWAIT)
15392 #define A_MC_DDR3PHYAC_GCR 0x6a00
15395 #define M_WLRANK 0x3U
15396 #define V_WLRANK(x) ((x) << S_WLRANK)
15397 #define G_WLRANK(x) (((x) >> S_WLRANK) & M_WLRANK)
15400 #define M_FDEPTH 0x3U
15401 #define V_FDEPTH(x) ((x) << S_FDEPTH)
15402 #define G_FDEPTH(x) (((x) >> S_FDEPTH) & M_FDEPTH)
15404 #define S_LPFDEPTH 4
15405 #define M_LPFDEPTH 0x3U
15406 #define V_LPFDEPTH(x) ((x) << S_LPFDEPTH)
15407 #define G_LPFDEPTH(x) (((x) >> S_LPFDEPTH) & M_LPFDEPTH)
15410 #define V_LPFEN(x) ((x) << S_LPFEN)
15411 #define F_LPFEN V_LPFEN(1U)
15414 #define V_WL(x) ((x) << S_WL)
15415 #define F_WL V_WL(1U)
15418 #define V_CAL(x) ((x) << S_CAL)
15419 #define F_CAL V_CAL(1U)
15422 #define V_MDLEN(x) ((x) << S_MDLEN)
15423 #define F_MDLEN V_MDLEN(1U)
15425 #define A_MC_DDR3PHYAC_RCR0 0x6a04
15428 #define V_OCPONR(x) ((x) << S_OCPONR)
15429 #define F_OCPONR V_OCPONR(1U)
15432 #define V_OCPOND(x) ((x) << S_OCPOND)
15433 #define F_OCPOND V_OCPOND(1U)
15436 #define V_OCOEN(x) ((x) << S_OCOEN)
15437 #define F_OCOEN V_OCOEN(1U)
15439 #define S_CKEPONR 5
15440 #define V_CKEPONR(x) ((x) << S_CKEPONR)
15441 #define F_CKEPONR V_CKEPONR(1U)
15443 #define S_CKEPOND 4
15444 #define V_CKEPOND(x) ((x) << S_CKEPOND)
15445 #define F_CKEPOND V_CKEPOND(1U)
15448 #define V_CKEOEN(x) ((x) << S_CKEOEN)
15449 #define F_CKEOEN V_CKEOEN(1U)
15452 #define V_CKPONR(x) ((x) << S_CKPONR)
15453 #define F_CKPONR V_CKPONR(1U)
15456 #define V_CKPOND(x) ((x) << S_CKPOND)
15457 #define F_CKPOND V_CKPOND(1U)
15460 #define V_CKOEN(x) ((x) << S_CKOEN)
15461 #define F_CKOEN V_CKOEN(1U)
15463 #define A_MC_DDR3PHYAC_ACCR 0x6a14
15466 #define V_ACPONR(x) ((x) << S_ACPONR)
15467 #define F_ACPONR V_ACPONR(1U)
15470 #define V_ACPOND(x) ((x) << S_ACPOND)
15471 #define F_ACPOND V_ACPOND(1U)
15474 #define V_ACOEN(x) ((x) << S_ACOEN)
15475 #define F_ACOEN V_ACOEN(1U)
15477 #define S_CK5PONR 5
15478 #define V_CK5PONR(x) ((x) << S_CK5PONR)
15479 #define F_CK5PONR V_CK5PONR(1U)
15481 #define S_CK5POND 4
15482 #define V_CK5POND(x) ((x) << S_CK5POND)
15483 #define F_CK5POND V_CK5POND(1U)
15486 #define V_CK5OEN(x) ((x) << S_CK5OEN)
15487 #define F_CK5OEN V_CK5OEN(1U)
15489 #define S_CK4PONR 2
15490 #define V_CK4PONR(x) ((x) << S_CK4PONR)
15491 #define F_CK4PONR V_CK4PONR(1U)
15493 #define S_CK4POND 1
15494 #define V_CK4POND(x) ((x) << S_CK4POND)
15495 #define F_CK4POND V_CK4POND(1U)
15498 #define V_CK4OEN(x) ((x) << S_CK4OEN)
15499 #define F_CK4OEN V_CK4OEN(1U)
15501 #define A_MC_DDR3PHYAC_GSR 0x6a18
15504 #define V_WLERR(x) ((x) << S_WLERR)
15505 #define F_WLERR V_WLERR(1U)
15508 #define V_INIT(x) ((x) << S_INIT)
15509 #define F_INIT V_INIT(1U)
15512 #define V_ACCAL(x) ((x) << S_ACCAL)
15513 #define F_ACCAL V_ACCAL(1U)
15515 #define A_MC_DDR3PHYAC_ECSR 0x6a1c
15518 #define V_WLDEC(x) ((x) << S_WLDEC)
15519 #define F_WLDEC V_WLDEC(1U)
15522 #define V_WLINC(x) ((x) << S_WLINC)
15523 #define F_WLINC V_WLINC(1U)
15525 #define A_MC_DDR3PHYAC_OCSR 0x6a20
15526 #define A_MC_DDR3PHYAC_MDIPR 0x6a24
15529 #define M_PRD 0x3ffU
15530 #define V_PRD(x) ((x) << S_PRD)
15531 #define G_PRD(x) (((x) >> S_PRD) & M_PRD)
15533 #define A_MC_DDR3PHYAC_MDTPR 0x6a28
15534 #define A_MC_DDR3PHYAC_MDPPR0 0x6a2c
15535 #define A_MC_DDR3PHYAC_MDPPR1 0x6a30
15536 #define A_MC_DDR3PHYAC_PMBDR0 0x6a34
15538 #define S_DFLTDLY 0
15539 #define M_DFLTDLY 0x7fU
15540 #define V_DFLTDLY(x) ((x) << S_DFLTDLY)
15541 #define G_DFLTDLY(x) (((x) >> S_DFLTDLY) & M_DFLTDLY)
15543 #define A_MC_DDR3PHYAC_PMBDR1 0x6a38
15544 #define A_MC_DDR3PHYAC_ACR 0x6a60
15547 #define V_TSEL(x) ((x) << S_TSEL)
15548 #define F_TSEL V_TSEL(1U)
15551 #define M_ISEL 0x3U
15552 #define V_ISEL(x) ((x) << S_ISEL)
15553 #define G_ISEL(x) (((x) >> S_ISEL) & M_ISEL)
15556 #define V_CALBYP(x) ((x) << S_CALBYP)
15557 #define F_CALBYP V_CALBYP(1U)
15559 #define S_SDRSELINV 1
15560 #define V_SDRSELINV(x) ((x) << S_SDRSELINV)
15561 #define F_SDRSELINV V_SDRSELINV(1U)
15564 #define V_CKINV(x) ((x) << S_CKINV)
15565 #define F_CKINV V_CKINV(1U)
15567 #define A_MC_DDR3PHYAC_PSCR 0x6a64
15570 #define M_PSCALE 0x3ffU
15571 #define V_PSCALE(x) ((x) << S_PSCALE)
15572 #define G_PSCALE(x) (((x) >> S_PSCALE) & M_PSCALE)
15574 #define A_MC_DDR3PHYAC_PRCR 0x6a68
15576 #define S_PHYINIT 9
15577 #define V_PHYINIT(x) ((x) << S_PHYINIT)
15578 #define F_PHYINIT V_PHYINIT(1U)
15580 #define S_PHYHRST 7
15581 #define V_PHYHRST(x) ((x) << S_PHYHRST)
15582 #define F_PHYHRST V_PHYHRST(1U)
15584 #define S_RSTCLKS 3
15585 #define M_RSTCLKS 0xfU
15586 #define V_RSTCLKS(x) ((x) << S_RSTCLKS)
15587 #define G_RSTCLKS(x) (((x) >> S_RSTCLKS) & M_RSTCLKS)
15590 #define V_PLLPD(x) ((x) << S_PLLPD)
15591 #define F_PLLPD V_PLLPD(1U)
15594 #define V_PLLRST(x) ((x) << S_PLLRST)
15595 #define F_PLLRST V_PLLRST(1U)
15598 #define V_PHYRST(x) ((x) << S_PHYRST)
15599 #define F_PHYRST V_PHYRST(1U)
15601 #define A_MC_DDR3PHYAC_PLLCR0 0x6a6c
15603 #define S_RSTCXKS 4
15604 #define M_RSTCXKS 0x1fU
15605 #define V_RSTCXKS(x) ((x) << S_RSTCXKS)
15606 #define G_RSTCXKS(x) (((x) >> S_RSTCXKS) & M_RSTCXKS)
15609 #define V_ICPSEL(x) ((x) << S_ICPSEL)
15610 #define F_ICPSEL V_ICPSEL(1U)
15613 #define M_TESTA 0x7U
15614 #define V_TESTA(x) ((x) << S_TESTA)
15615 #define G_TESTA(x) (((x) >> S_TESTA) & M_TESTA)
15617 #define A_MC_DDR3PHYAC_PLLCR1 0x6a70
15620 #define V_BYPASS(x) ((x) << S_BYPASS)
15621 #define F_BYPASS V_BYPASS(1U)
15624 #define M_BDIV 0x3U
15625 #define V_BDIV(x) ((x) << S_BDIV)
15626 #define G_BDIV(x) (((x) >> S_BDIV) & M_BDIV)
15629 #define M_TESTD 0x7U
15630 #define V_TESTD(x) ((x) << S_TESTD)
15631 #define G_TESTD(x) (((x) >> S_TESTD) & M_TESTD)
15633 #define A_MC_DDR3PHYAC_CLKENR 0x6a78
15635 #define S_CKCLKEN 3
15636 #define M_CKCLKEN 0x3fU
15637 #define V_CKCLKEN(x) ((x) << S_CKCLKEN)
15638 #define G_CKCLKEN(x) (((x) >> S_CKCLKEN) & M_CKCLKEN)
15640 #define S_HDRCLKEN 2
15641 #define V_HDRCLKEN(x) ((x) << S_HDRCLKEN)
15642 #define F_HDRCLKEN V_HDRCLKEN(1U)
15644 #define S_SDRCLKEN 1
15645 #define V_SDRCLKEN(x) ((x) << S_SDRCLKEN)
15646 #define F_SDRCLKEN V_SDRCLKEN(1U)
15648 #define S_DDRCLKEN 0
15649 #define V_DDRCLKEN(x) ((x) << S_DDRCLKEN)
15650 #define F_DDRCLKEN V_DDRCLKEN(1U)
15652 #define A_MC_DDR3PHYDATX8_GCR 0x6b00
15655 #define V_PONR(x) ((x) << S_PONR)
15656 #define F_PONR V_PONR(1U)
15659 #define V_POND(x) ((x) << S_POND)
15660 #define F_POND V_POND(1U)
15663 #define V_RDBDVT(x) ((x) << S_RDBDVT)
15664 #define F_RDBDVT V_RDBDVT(1U)
15667 #define V_WDBDVT(x) ((x) << S_WDBDVT)
15668 #define F_WDBDVT V_WDBDVT(1U)
15671 #define V_RDSDVT(x) ((x) << S_RDSDVT)
15672 #define F_RDSDVT V_RDSDVT(1U)
15675 #define V_WDSDVT(x) ((x) << S_WDSDVT)
15676 #define F_WDSDVT V_WDSDVT(1U)
15679 #define V_WLSDVT(x) ((x) << S_WLSDVT)
15680 #define F_WLSDVT V_WLSDVT(1U)
15682 #define A_MC_DDR3PHYDATX8_WDSDR 0x6b04
15684 #define S_WDSDR_DLY 0
15685 #define M_WDSDR_DLY 0x3ffU
15686 #define V_WDSDR_DLY(x) ((x) << S_WDSDR_DLY)
15687 #define G_WDSDR_DLY(x) (((x) >> S_WDSDR_DLY) & M_WDSDR_DLY)
15689 #define A_MC_DDR3PHYDATX8_WLDPR 0x6b08
15690 #define A_MC_DDR3PHYDATX8_WLDR 0x6b0c
15693 #define M_WL_DLY 0x3ffU
15694 #define V_WL_DLY(x) ((x) << S_WL_DLY)
15695 #define G_WL_DLY(x) (((x) >> S_WL_DLY) & M_WL_DLY)
15697 #define A_MC_DDR3PHYDATX8_WDBDR0 0x6b1c
15700 #define M_DLY 0x7fU
15701 #define V_DLY(x) ((x) << S_DLY)
15702 #define G_DLY(x) (((x) >> S_DLY) & M_DLY)
15704 #define A_MC_DDR3PHYDATX8_WDBDR1 0x6b20
15705 #define A_MC_DDR3PHYDATX8_WDBDR2 0x6b24
15706 #define A_MC_DDR3PHYDATX8_WDBDR3 0x6b28
15707 #define A_MC_DDR3PHYDATX8_WDBDR4 0x6b2c
15708 #define A_MC_DDR3PHYDATX8_WDBDR5 0x6b30
15709 #define A_MC_DDR3PHYDATX8_WDBDR6 0x6b34
15710 #define A_MC_DDR3PHYDATX8_WDBDR7 0x6b38
15711 #define A_MC_DDR3PHYDATX8_WDBDR8 0x6b3c
15712 #define A_MC_DDR3PHYDATX8_WDBDMR 0x6b40
15715 #define M_MAXDLY 0x7fU
15716 #define V_MAXDLY(x) ((x) << S_MAXDLY)
15717 #define G_MAXDLY(x) (((x) >> S_MAXDLY) & M_MAXDLY)
15719 #define A_MC_DDR3PHYDATX8_RDSDR 0x6b44
15721 #define S_RDSDR_DLY 0
15722 #define M_RDSDR_DLY 0x3ffU
15723 #define V_RDSDR_DLY(x) ((x) << S_RDSDR_DLY)
15724 #define G_RDSDR_DLY(x) (((x) >> S_RDSDR_DLY) & M_RDSDR_DLY)
15726 #define A_MC_DDR3PHYDATX8_RDBDR0 0x6b48
15727 #define A_MC_DDR3PHYDATX8_RDBDR1 0x6b4c
15728 #define A_MC_DDR3PHYDATX8_RDBDR2 0x6b50
15729 #define A_MC_DDR3PHYDATX8_RDBDR3 0x6b54
15730 #define A_MC_DDR3PHYDATX8_RDBDR4 0x6b58
15731 #define A_MC_DDR3PHYDATX8_RDBDR5 0x6b5c
15732 #define A_MC_DDR3PHYDATX8_RDBDR6 0x6b60
15733 #define A_MC_DDR3PHYDATX8_RDBDR7 0x6b64
15734 #define A_MC_DDR3PHYDATX8_RDBDMR 0x6b68
15735 #define A_MC_DDR3PHYDATX8_PMBDR0 0x6b6c
15736 #define A_MC_DDR3PHYDATX8_PMBDR1 0x6b70
15737 #define A_MC_DDR3PHYDATX8_PMBDR2 0x6b74
15738 #define A_MC_DDR3PHYDATX8_PMBDR3 0x6b78
15739 #define A_MC_DDR3PHYDATX8_WDBDPR 0x6b7c
15742 #define M_DP_DLY 0x1ffU
15743 #define V_DP_DLY(x) ((x) << S_DP_DLY)
15744 #define G_DP_DLY(x) (((x) >> S_DP_DLY) & M_DP_DLY)
15746 #define A_MC_DDR3PHYDATX8_RDBDPR 0x6b80
15747 #define A_MC_DDR3PHYDATX8_GSR 0x6b84
15750 #define V_WLDONE(x) ((x) << S_WLDONE)
15751 #define F_WLDONE V_WLDONE(1U)
15754 #define V_WLCAL(x) ((x) << S_WLCAL)
15755 #define F_WLCAL V_WLCAL(1U)
15758 #define V_READ(x) ((x) << S_READ)
15759 #define F_READ V_READ(1U)
15761 #define S_RDQSCAL 0
15762 #define V_RDQSCAL(x) ((x) << S_RDQSCAL)
15763 #define F_RDQSCAL V_RDQSCAL(1U)
15765 #define A_MC_DDR3PHYDATX8_ACR 0x6bf0
15767 #define S_PHYHSRST 9
15768 #define V_PHYHSRST(x) ((x) << S_PHYHSRST)
15769 #define F_PHYHSRST V_PHYHSRST(1U)
15772 #define V_WLSTEP(x) ((x) << S_WLSTEP)
15773 #define F_WLSTEP V_WLSTEP(1U)
15775 #define S_SDR_SEL_INV 2
15776 #define V_SDR_SEL_INV(x) ((x) << S_SDR_SEL_INV)
15777 #define F_SDR_SEL_INV V_SDR_SEL_INV(1U)
15779 #define S_DDRSELINV 1
15780 #define V_DDRSELINV(x) ((x) << S_DDRSELINV)
15781 #define F_DDRSELINV V_DDRSELINV(1U)
15784 #define V_DSINV(x) ((x) << S_DSINV)
15785 #define F_DSINV V_DSINV(1U)
15787 #define A_MC_DDR3PHYDATX8_RSR 0x6bf4
15789 #define S_WLRANKSEL 9
15790 #define V_WLRANKSEL(x) ((x) << S_WLRANKSEL)
15791 #define F_WLRANKSEL V_WLRANKSEL(1U)
15794 #define M_RANK 0x3U
15795 #define V_RANK(x) ((x) << S_RANK)
15796 #define G_RANK(x) (((x) >> S_RANK) & M_RANK)
15798 #define A_MC_DDR3PHYDATX8_CLKENR 0x6bf8
15801 #define M_DTOSEL 0x3U
15802 #define V_DTOSEL(x) ((x) << S_DTOSEL)
15803 #define G_DTOSEL(x) (((x) >> S_DTOSEL) & M_DTOSEL)
15805 #define A_MC_PVT_REG_CALIBRATE_CTL 0x7400
15806 #define A_MC_PVT_REG_UPDATE_CTL 0x7404
15807 #define A_MC_PVT_REG_LAST_MEASUREMENT 0x7408
15808 #define A_MC_PVT_REG_DRVN 0x740c
15809 #define A_MC_PVT_REG_DRVP 0x7410
15810 #define A_MC_PVT_REG_TERMN 0x7414
15811 #define A_MC_PVT_REG_TERMP 0x7418
15812 #define A_MC_PVT_REG_THRESHOLD 0x741c
15813 #define A_MC_PVT_REG_IN_TERMP 0x7420
15814 #define A_MC_PVT_REG_IN_TERMN 0x7424
15815 #define A_MC_PVT_REG_IN_DRVP 0x7428
15816 #define A_MC_PVT_REG_IN_DRVN 0x742c
15817 #define A_MC_PVT_REG_OUT_TERMP 0x7430
15818 #define A_MC_PVT_REG_OUT_TERMN 0x7434
15819 #define A_MC_PVT_REG_OUT_DRVP 0x7438
15820 #define A_MC_PVT_REG_OUT_DRVN 0x743c
15821 #define A_MC_PVT_REG_HISTORY_TERMP 0x7440
15822 #define A_MC_PVT_REG_HISTORY_TERMN 0x7444
15823 #define A_MC_PVT_REG_HISTORY_DRVP 0x7448
15824 #define A_MC_PVT_REG_HISTORY_DRVN 0x744c
15825 #define A_MC_PVT_REG_SAMPLE_WAIT_CLKS 0x7450
15826 #define A_MC_DDRPHY_RST_CTRL 0x7500
15828 #define S_DDRIO_ENABLE 1
15829 #define V_DDRIO_ENABLE(x) ((x) << S_DDRIO_ENABLE)
15830 #define F_DDRIO_ENABLE V_DDRIO_ENABLE(1U)
15832 #define S_PHY_RST_N 0
15833 #define V_PHY_RST_N(x) ((x) << S_PHY_RST_N)
15834 #define F_PHY_RST_N V_PHY_RST_N(1U)
15836 #define A_MC_PERFORMANCE_CTRL 0x7504
15838 #define S_STALL_CHK_BIT 2
15839 #define V_STALL_CHK_BIT(x) ((x) << S_STALL_CHK_BIT)
15840 #define F_STALL_CHK_BIT V_STALL_CHK_BIT(1U)
15842 #define S_DDR3_BRC_MODE 1
15843 #define V_DDR3_BRC_MODE(x) ((x) << S_DDR3_BRC_MODE)
15844 #define F_DDR3_BRC_MODE V_DDR3_BRC_MODE(1U)
15846 #define S_RMW_PERF_CTRL 0
15847 #define V_RMW_PERF_CTRL(x) ((x) << S_RMW_PERF_CTRL)
15848 #define F_RMW_PERF_CTRL V_RMW_PERF_CTRL(1U)
15850 #define A_MC_ECC_CTRL 0x7508
15852 #define S_ECC_BYPASS_BIST 1
15853 #define V_ECC_BYPASS_BIST(x) ((x) << S_ECC_BYPASS_BIST)
15854 #define F_ECC_BYPASS_BIST V_ECC_BYPASS_BIST(1U)
15856 #define S_ECC_DISABLE 0
15857 #define V_ECC_DISABLE(x) ((x) << S_ECC_DISABLE)
15858 #define F_ECC_DISABLE V_ECC_DISABLE(1U)
15860 #define A_MC_PAR_ENABLE 0x750c
15862 #define S_ECC_UE_PAR_ENABLE 3
15863 #define V_ECC_UE_PAR_ENABLE(x) ((x) << S_ECC_UE_PAR_ENABLE)
15864 #define F_ECC_UE_PAR_ENABLE V_ECC_UE_PAR_ENABLE(1U)
15866 #define S_ECC_CE_PAR_ENABLE 2
15867 #define V_ECC_CE_PAR_ENABLE(x) ((x) << S_ECC_CE_PAR_ENABLE)
15868 #define F_ECC_CE_PAR_ENABLE V_ECC_CE_PAR_ENABLE(1U)
15870 #define S_PERR_REG_INT_ENABLE 1
15871 #define V_PERR_REG_INT_ENABLE(x) ((x) << S_PERR_REG_INT_ENABLE)
15872 #define F_PERR_REG_INT_ENABLE V_PERR_REG_INT_ENABLE(1U)
15874 #define S_PERR_BLK_INT_ENABLE 0
15875 #define V_PERR_BLK_INT_ENABLE(x) ((x) << S_PERR_BLK_INT_ENABLE)
15876 #define F_PERR_BLK_INT_ENABLE V_PERR_BLK_INT_ENABLE(1U)
15878 #define A_MC_PAR_CAUSE 0x7510
15880 #define S_ECC_UE_PAR_CAUSE 3
15881 #define V_ECC_UE_PAR_CAUSE(x) ((x) << S_ECC_UE_PAR_CAUSE)
15882 #define F_ECC_UE_PAR_CAUSE V_ECC_UE_PAR_CAUSE(1U)
15884 #define S_ECC_CE_PAR_CAUSE 2
15885 #define V_ECC_CE_PAR_CAUSE(x) ((x) << S_ECC_CE_PAR_CAUSE)
15886 #define F_ECC_CE_PAR_CAUSE V_ECC_CE_PAR_CAUSE(1U)
15888 #define S_FIFOR_PAR_CAUSE 1
15889 #define V_FIFOR_PAR_CAUSE(x) ((x) << S_FIFOR_PAR_CAUSE)
15890 #define F_FIFOR_PAR_CAUSE V_FIFOR_PAR_CAUSE(1U)
15892 #define S_RDATA_FIFOR_PAR_CAUSE 0
15893 #define V_RDATA_FIFOR_PAR_CAUSE(x) ((x) << S_RDATA_FIFOR_PAR_CAUSE)
15894 #define F_RDATA_FIFOR_PAR_CAUSE V_RDATA_FIFOR_PAR_CAUSE(1U)
15896 #define A_MC_INT_ENABLE 0x7514
15898 #define S_ECC_UE_INT_ENABLE 2
15899 #define V_ECC_UE_INT_ENABLE(x) ((x) << S_ECC_UE_INT_ENABLE)
15900 #define F_ECC_UE_INT_ENABLE V_ECC_UE_INT_ENABLE(1U)
15902 #define S_ECC_CE_INT_ENABLE 1
15903 #define V_ECC_CE_INT_ENABLE(x) ((x) << S_ECC_CE_INT_ENABLE)
15904 #define F_ECC_CE_INT_ENABLE V_ECC_CE_INT_ENABLE(1U)
15906 #define S_PERR_INT_ENABLE 0
15907 #define V_PERR_INT_ENABLE(x) ((x) << S_PERR_INT_ENABLE)
15908 #define F_PERR_INT_ENABLE V_PERR_INT_ENABLE(1U)
15910 #define A_MC_INT_CAUSE 0x7518
15912 #define S_ECC_UE_INT_CAUSE 2
15913 #define V_ECC_UE_INT_CAUSE(x) ((x) << S_ECC_UE_INT_CAUSE)
15914 #define F_ECC_UE_INT_CAUSE V_ECC_UE_INT_CAUSE(1U)
15916 #define S_ECC_CE_INT_CAUSE 1
15917 #define V_ECC_CE_INT_CAUSE(x) ((x) << S_ECC_CE_INT_CAUSE)
15918 #define F_ECC_CE_INT_CAUSE V_ECC_CE_INT_CAUSE(1U)
15920 #define S_PERR_INT_CAUSE 0
15921 #define V_PERR_INT_CAUSE(x) ((x) << S_PERR_INT_CAUSE)
15922 #define F_PERR_INT_CAUSE V_PERR_INT_CAUSE(1U)
15924 #define A_MC_ECC_STATUS 0x751c
15926 #define S_ECC_CECNT 16
15927 #define M_ECC_CECNT 0xffffU
15928 #define V_ECC_CECNT(x) ((x) << S_ECC_CECNT)
15929 #define G_ECC_CECNT(x) (((x) >> S_ECC_CECNT) & M_ECC_CECNT)
15931 #define S_ECC_UECNT 0
15932 #define M_ECC_UECNT 0xffffU
15933 #define V_ECC_UECNT(x) ((x) << S_ECC_UECNT)
15934 #define G_ECC_UECNT(x) (((x) >> S_ECC_UECNT) & M_ECC_UECNT)
15936 #define A_MC_PHY_CTRL 0x7520
15938 #define S_CTLPHYRR 0
15939 #define V_CTLPHYRR(x) ((x) << S_CTLPHYRR)
15940 #define F_CTLPHYRR V_CTLPHYRR(1U)
15942 #define A_MC_STATIC_CFG_STATUS 0x7524
15944 #define S_STATIC_MODE 9
15945 #define V_STATIC_MODE(x) ((x) << S_STATIC_MODE)
15946 #define F_STATIC_MODE V_STATIC_MODE(1U)
15948 #define S_STATIC_DEN 6
15949 #define M_STATIC_DEN 0x7U
15950 #define V_STATIC_DEN(x) ((x) << S_STATIC_DEN)
15951 #define G_STATIC_DEN(x) (((x) >> S_STATIC_DEN) & M_STATIC_DEN)
15953 #define S_STATIC_ORG 5
15954 #define V_STATIC_ORG(x) ((x) << S_STATIC_ORG)
15955 #define F_STATIC_ORG V_STATIC_ORG(1U)
15957 #define S_STATIC_RKS 4
15958 #define V_STATIC_RKS(x) ((x) << S_STATIC_RKS)
15959 #define F_STATIC_RKS V_STATIC_RKS(1U)
15961 #define S_STATIC_WIDTH 1
15962 #define M_STATIC_WIDTH 0x7U
15963 #define V_STATIC_WIDTH(x) ((x) << S_STATIC_WIDTH)
15964 #define G_STATIC_WIDTH(x) (((x) >> S_STATIC_WIDTH) & M_STATIC_WIDTH)
15966 #define S_STATIC_SLOW 0
15967 #define V_STATIC_SLOW(x) ((x) << S_STATIC_SLOW)
15968 #define F_STATIC_SLOW V_STATIC_SLOW(1U)
15970 #define A_MC_CORE_PCTL_STAT 0x7528
15972 #define S_PCTL_ACCESS_STAT 0
15973 #define M_PCTL_ACCESS_STAT 0x7U
15974 #define V_PCTL_ACCESS_STAT(x) ((x) << S_PCTL_ACCESS_STAT)
15975 #define G_PCTL_ACCESS_STAT(x) (((x) >> S_PCTL_ACCESS_STAT) & M_PCTL_ACCESS_STAT)
15977 #define A_MC_DEBUG_CNT 0x752c
15979 #define S_WDATA_OCNT 8
15980 #define M_WDATA_OCNT 0x1fU
15981 #define V_WDATA_OCNT(x) ((x) << S_WDATA_OCNT)
15982 #define G_WDATA_OCNT(x) (((x) >> S_WDATA_OCNT) & M_WDATA_OCNT)
15984 #define S_RDATA_OCNT 0
15985 #define M_RDATA_OCNT 0x1fU
15986 #define V_RDATA_OCNT(x) ((x) << S_RDATA_OCNT)
15987 #define G_RDATA_OCNT(x) (((x) >> S_RDATA_OCNT) & M_RDATA_OCNT)
15989 #define A_MC_BONUS 0x7530
15990 #define A_MC_BIST_CMD 0x7600
15992 #define S_START_BIST 31
15993 #define V_START_BIST(x) ((x) << S_START_BIST)
15994 #define F_START_BIST V_START_BIST(1U)
15996 #define S_BIST_CMD_GAP 8
15997 #define M_BIST_CMD_GAP 0xffU
15998 #define V_BIST_CMD_GAP(x) ((x) << S_BIST_CMD_GAP)
15999 #define G_BIST_CMD_GAP(x) (((x) >> S_BIST_CMD_GAP) & M_BIST_CMD_GAP)
16001 #define S_BIST_OPCODE 0
16002 #define M_BIST_OPCODE 0x3U
16003 #define V_BIST_OPCODE(x) ((x) << S_BIST_OPCODE)
16004 #define G_BIST_OPCODE(x) (((x) >> S_BIST_OPCODE) & M_BIST_OPCODE)
16006 #define A_MC_BIST_CMD_ADDR 0x7604
16007 #define A_MC_BIST_CMD_LEN 0x7608
16008 #define A_MC_BIST_DATA_PATTERN 0x760c
16010 #define S_BIST_DATA_TYPE 0
16011 #define M_BIST_DATA_TYPE 0xfU
16012 #define V_BIST_DATA_TYPE(x) ((x) << S_BIST_DATA_TYPE)
16013 #define G_BIST_DATA_TYPE(x) (((x) >> S_BIST_DATA_TYPE) & M_BIST_DATA_TYPE)
16015 #define A_MC_BIST_USER_WDATA0 0x7614
16016 #define A_MC_BIST_USER_WDATA1 0x7618
16017 #define A_MC_BIST_USER_WDATA2 0x761c
16019 #define S_USER_DATA2 0
16020 #define M_USER_DATA2 0xffU
16021 #define V_USER_DATA2(x) ((x) << S_USER_DATA2)
16022 #define G_USER_DATA2(x) (((x) >> S_USER_DATA2) & M_USER_DATA2)
16024 #define A_MC_BIST_NUM_ERR 0x7680
16025 #define A_MC_BIST_ERR_FIRST_ADDR 0x7684
16026 #define A_MC_BIST_STATUS_RDATA 0x7688
16028 /* registers for module MA */
16029 #define MA_BASE_ADDR 0x7700
16031 #define A_MA_CLIENT0_RD_LATENCY_THRESHOLD 0x7700
16033 #define S_THRESHOLD1 17
16034 #define M_THRESHOLD1 0x7fffU
16035 #define V_THRESHOLD1(x) ((x) << S_THRESHOLD1)
16036 #define G_THRESHOLD1(x) (((x) >> S_THRESHOLD1) & M_THRESHOLD1)
16038 #define S_THRESHOLD1_EN 16
16039 #define V_THRESHOLD1_EN(x) ((x) << S_THRESHOLD1_EN)
16040 #define F_THRESHOLD1_EN V_THRESHOLD1_EN(1U)
16042 #define S_THRESHOLD0 1
16043 #define M_THRESHOLD0 0x7fffU
16044 #define V_THRESHOLD0(x) ((x) << S_THRESHOLD0)
16045 #define G_THRESHOLD0(x) (((x) >> S_THRESHOLD0) & M_THRESHOLD0)
16047 #define S_THRESHOLD0_EN 0
16048 #define V_THRESHOLD0_EN(x) ((x) << S_THRESHOLD0_EN)
16049 #define F_THRESHOLD0_EN V_THRESHOLD0_EN(1U)
16051 #define A_MA_CLIENT0_WR_LATENCY_THRESHOLD 0x7704
16052 #define A_MA_CLIENT1_RD_LATENCY_THRESHOLD 0x7708
16053 #define A_MA_CLIENT1_WR_LATENCY_THRESHOLD 0x770c
16054 #define A_MA_CLIENT2_RD_LATENCY_THRESHOLD 0x7710
16055 #define A_MA_CLIENT2_WR_LATENCY_THRESHOLD 0x7714
16056 #define A_MA_CLIENT3_RD_LATENCY_THRESHOLD 0x7718
16057 #define A_MA_CLIENT3_WR_LATENCY_THRESHOLD 0x771c
16058 #define A_MA_CLIENT4_RD_LATENCY_THRESHOLD 0x7720
16059 #define A_MA_CLIENT4_WR_LATENCY_THRESHOLD 0x7724
16060 #define A_MA_CLIENT5_RD_LATENCY_THRESHOLD 0x7728
16061 #define A_MA_CLIENT5_WR_LATENCY_THRESHOLD 0x772c
16062 #define A_MA_CLIENT6_RD_LATENCY_THRESHOLD 0x7730
16063 #define A_MA_CLIENT6_WR_LATENCY_THRESHOLD 0x7734
16064 #define A_MA_CLIENT7_RD_LATENCY_THRESHOLD 0x7738
16065 #define A_MA_CLIENT7_WR_LATENCY_THRESHOLD 0x773c
16066 #define A_MA_CLIENT8_RD_LATENCY_THRESHOLD 0x7740
16067 #define A_MA_CLIENT8_WR_LATENCY_THRESHOLD 0x7744
16068 #define A_MA_CLIENT9_RD_LATENCY_THRESHOLD 0x7748
16069 #define A_MA_CLIENT9_WR_LATENCY_THRESHOLD 0x774c
16070 #define A_MA_CLIENT10_RD_LATENCY_THRESHOLD 0x7750
16071 #define A_MA_CLIENT10_WR_LATENCY_THRESHOLD 0x7754
16072 #define A_MA_CLIENT11_RD_LATENCY_THRESHOLD 0x7758
16073 #define A_MA_CLIENT11_WR_LATENCY_THRESHOLD 0x775c
16074 #define A_MA_CLIENT12_RD_LATENCY_THRESHOLD 0x7760
16075 #define A_MA_CLIENT12_WR_LATENCY_THRESHOLD 0x7764
16076 #define A_MA_SGE_TH0_DEBUG_CNT 0x7768
16078 #define S_DBG_READ_DATA_CNT 24
16079 #define M_DBG_READ_DATA_CNT 0xffU
16080 #define V_DBG_READ_DATA_CNT(x) ((x) << S_DBG_READ_DATA_CNT)
16081 #define G_DBG_READ_DATA_CNT(x) (((x) >> S_DBG_READ_DATA_CNT) & M_DBG_READ_DATA_CNT)
16083 #define S_DBG_READ_REQ_CNT 16
16084 #define M_DBG_READ_REQ_CNT 0xffU
16085 #define V_DBG_READ_REQ_CNT(x) ((x) << S_DBG_READ_REQ_CNT)
16086 #define G_DBG_READ_REQ_CNT(x) (((x) >> S_DBG_READ_REQ_CNT) & M_DBG_READ_REQ_CNT)
16088 #define S_DBG_WRITE_DATA_CNT 8
16089 #define M_DBG_WRITE_DATA_CNT 0xffU
16090 #define V_DBG_WRITE_DATA_CNT(x) ((x) << S_DBG_WRITE_DATA_CNT)
16091 #define G_DBG_WRITE_DATA_CNT(x) (((x) >> S_DBG_WRITE_DATA_CNT) & M_DBG_WRITE_DATA_CNT)
16093 #define S_DBG_WRITE_REQ_CNT 0
16094 #define M_DBG_WRITE_REQ_CNT 0xffU
16095 #define V_DBG_WRITE_REQ_CNT(x) ((x) << S_DBG_WRITE_REQ_CNT)
16096 #define G_DBG_WRITE_REQ_CNT(x) (((x) >> S_DBG_WRITE_REQ_CNT) & M_DBG_WRITE_REQ_CNT)
16098 #define A_MA_SGE_TH1_DEBUG_CNT 0x776c
16099 #define A_MA_ULPTX_DEBUG_CNT 0x7770
16100 #define A_MA_ULPRX_DEBUG_CNT 0x7774
16101 #define A_MA_ULPTXRX_DEBUG_CNT 0x7778
16102 #define A_MA_TP_TH0_DEBUG_CNT 0x777c
16103 #define A_MA_TP_TH1_DEBUG_CNT 0x7780
16104 #define A_MA_LE_DEBUG_CNT 0x7784
16105 #define A_MA_CIM_DEBUG_CNT 0x7788
16106 #define A_MA_PCIE_DEBUG_CNT 0x778c
16107 #define A_MA_PMTX_DEBUG_CNT 0x7790
16108 #define A_MA_PMRX_DEBUG_CNT 0x7794
16109 #define A_MA_HMA_DEBUG_CNT 0x7798
16110 #define A_MA_EDRAM0_BAR 0x77c0
16112 #define S_EDRAM0_BASE 16
16113 #define M_EDRAM0_BASE 0xfffU
16114 #define V_EDRAM0_BASE(x) ((x) << S_EDRAM0_BASE)
16115 #define G_EDRAM0_BASE(x) (((x) >> S_EDRAM0_BASE) & M_EDRAM0_BASE)
16117 #define S_EDRAM0_SIZE 0
16118 #define M_EDRAM0_SIZE 0xfffU
16119 #define V_EDRAM0_SIZE(x) ((x) << S_EDRAM0_SIZE)
16120 #define G_EDRAM0_SIZE(x) (((x) >> S_EDRAM0_SIZE) & M_EDRAM0_SIZE)
16122 #define A_MA_EDRAM1_BAR 0x77c4
16124 #define S_EDRAM1_BASE 16
16125 #define M_EDRAM1_BASE 0xfffU
16126 #define V_EDRAM1_BASE(x) ((x) << S_EDRAM1_BASE)
16127 #define G_EDRAM1_BASE(x) (((x) >> S_EDRAM1_BASE) & M_EDRAM1_BASE)
16129 #define S_EDRAM1_SIZE 0
16130 #define M_EDRAM1_SIZE 0xfffU
16131 #define V_EDRAM1_SIZE(x) ((x) << S_EDRAM1_SIZE)
16132 #define G_EDRAM1_SIZE(x) (((x) >> S_EDRAM1_SIZE) & M_EDRAM1_SIZE)
16134 #define A_MA_EXT_MEMORY_BAR 0x77c8
16136 #define S_EXT_MEM_BASE 16
16137 #define M_EXT_MEM_BASE 0xfffU
16138 #define V_EXT_MEM_BASE(x) ((x) << S_EXT_MEM_BASE)
16139 #define G_EXT_MEM_BASE(x) (((x) >> S_EXT_MEM_BASE) & M_EXT_MEM_BASE)
16141 #define S_EXT_MEM_SIZE 0
16142 #define M_EXT_MEM_SIZE 0xfffU
16143 #define V_EXT_MEM_SIZE(x) ((x) << S_EXT_MEM_SIZE)
16144 #define G_EXT_MEM_SIZE(x) (((x) >> S_EXT_MEM_SIZE) & M_EXT_MEM_SIZE)
16146 #define A_MA_EXT_MEMORY0_BAR 0x77c8
16148 #define S_EXT_MEM0_BASE 16
16149 #define M_EXT_MEM0_BASE 0xfffU
16150 #define V_EXT_MEM0_BASE(x) ((x) << S_EXT_MEM0_BASE)
16151 #define G_EXT_MEM0_BASE(x) (((x) >> S_EXT_MEM0_BASE) & M_EXT_MEM0_BASE)
16153 #define S_EXT_MEM0_SIZE 0
16154 #define M_EXT_MEM0_SIZE 0xfffU
16155 #define V_EXT_MEM0_SIZE(x) ((x) << S_EXT_MEM0_SIZE)
16156 #define G_EXT_MEM0_SIZE(x) (((x) >> S_EXT_MEM0_SIZE) & M_EXT_MEM0_SIZE)
16158 #define A_MA_HOST_MEMORY_BAR 0x77cc
16160 #define S_HMA_BASE 16
16161 #define M_HMA_BASE 0xfffU
16162 #define V_HMA_BASE(x) ((x) << S_HMA_BASE)
16163 #define G_HMA_BASE(x) (((x) >> S_HMA_BASE) & M_HMA_BASE)
16165 #define S_HMA_SIZE 0
16166 #define M_HMA_SIZE 0xfffU
16167 #define V_HMA_SIZE(x) ((x) << S_HMA_SIZE)
16168 #define G_HMA_SIZE(x) (((x) >> S_HMA_SIZE) & M_HMA_SIZE)
16170 #define A_MA_EXT_MEM_PAGE_SIZE 0x77d0
16172 #define S_BRC_MODE 2
16173 #define V_BRC_MODE(x) ((x) << S_BRC_MODE)
16174 #define F_BRC_MODE V_BRC_MODE(1U)
16176 #define S_EXT_MEM_PAGE_SIZE 0
16177 #define M_EXT_MEM_PAGE_SIZE 0x3U
16178 #define V_EXT_MEM_PAGE_SIZE(x) ((x) << S_EXT_MEM_PAGE_SIZE)
16179 #define G_EXT_MEM_PAGE_SIZE(x) (((x) >> S_EXT_MEM_PAGE_SIZE) & M_EXT_MEM_PAGE_SIZE)
16181 #define S_BRC_MODE1 6
16182 #define V_BRC_MODE1(x) ((x) << S_BRC_MODE1)
16183 #define F_BRC_MODE1 V_BRC_MODE1(1U)
16185 #define S_EXT_MEM_PAGE_SIZE1 4
16186 #define M_EXT_MEM_PAGE_SIZE1 0x3U
16187 #define V_EXT_MEM_PAGE_SIZE1(x) ((x) << S_EXT_MEM_PAGE_SIZE1)
16188 #define G_EXT_MEM_PAGE_SIZE1(x) (((x) >> S_EXT_MEM_PAGE_SIZE1) & M_EXT_MEM_PAGE_SIZE1)
16190 #define S_BRBC_MODE 4
16191 #define V_BRBC_MODE(x) ((x) << S_BRBC_MODE)
16192 #define F_BRBC_MODE V_BRBC_MODE(1U)
16194 #define S_T6_BRC_MODE 3
16195 #define V_T6_BRC_MODE(x) ((x) << S_T6_BRC_MODE)
16196 #define F_T6_BRC_MODE V_T6_BRC_MODE(1U)
16198 #define S_T6_EXT_MEM_PAGE_SIZE 0
16199 #define M_T6_EXT_MEM_PAGE_SIZE 0x7U
16200 #define V_T6_EXT_MEM_PAGE_SIZE(x) ((x) << S_T6_EXT_MEM_PAGE_SIZE)
16201 #define G_T6_EXT_MEM_PAGE_SIZE(x) (((x) >> S_T6_EXT_MEM_PAGE_SIZE) & M_T6_EXT_MEM_PAGE_SIZE)
16203 #define A_MA_ARB_CTRL 0x77d4
16205 #define S_DIS_PAGE_HINT 1
16206 #define V_DIS_PAGE_HINT(x) ((x) << S_DIS_PAGE_HINT)
16207 #define F_DIS_PAGE_HINT V_DIS_PAGE_HINT(1U)
16209 #define S_DIS_ADV_ARB 0
16210 #define V_DIS_ADV_ARB(x) ((x) << S_DIS_ADV_ARB)
16211 #define F_DIS_ADV_ARB V_DIS_ADV_ARB(1U)
16213 #define S_DIS_BANK_FAIR 2
16214 #define V_DIS_BANK_FAIR(x) ((x) << S_DIS_BANK_FAIR)
16215 #define F_DIS_BANK_FAIR V_DIS_BANK_FAIR(1U)
16217 #define S_HMA_WRT_EN 26
16218 #define V_HMA_WRT_EN(x) ((x) << S_HMA_WRT_EN)
16219 #define F_HMA_WRT_EN V_HMA_WRT_EN(1U)
16221 #define S_HMA_NUM_PG_128B_FDBK 21
16222 #define M_HMA_NUM_PG_128B_FDBK 0x1fU
16223 #define V_HMA_NUM_PG_128B_FDBK(x) ((x) << S_HMA_NUM_PG_128B_FDBK)
16224 #define G_HMA_NUM_PG_128B_FDBK(x) (((x) >> S_HMA_NUM_PG_128B_FDBK) & M_HMA_NUM_PG_128B_FDBK)
16226 #define S_HMA_DIS_128B_PG_CNT_FDBK 20
16227 #define V_HMA_DIS_128B_PG_CNT_FDBK(x) ((x) << S_HMA_DIS_128B_PG_CNT_FDBK)
16228 #define F_HMA_DIS_128B_PG_CNT_FDBK V_HMA_DIS_128B_PG_CNT_FDBK(1U)
16230 #define S_HMA_DIS_BG_ARB 19
16231 #define V_HMA_DIS_BG_ARB(x) ((x) << S_HMA_DIS_BG_ARB)
16232 #define F_HMA_DIS_BG_ARB V_HMA_DIS_BG_ARB(1U)
16234 #define S_HMA_DIS_BANK_FAIR 18
16235 #define V_HMA_DIS_BANK_FAIR(x) ((x) << S_HMA_DIS_BANK_FAIR)
16236 #define F_HMA_DIS_BANK_FAIR V_HMA_DIS_BANK_FAIR(1U)
16238 #define S_HMA_DIS_PAGE_HINT 17
16239 #define V_HMA_DIS_PAGE_HINT(x) ((x) << S_HMA_DIS_PAGE_HINT)
16240 #define F_HMA_DIS_PAGE_HINT V_HMA_DIS_PAGE_HINT(1U)
16242 #define S_HMA_DIS_ADV_ARB 16
16243 #define V_HMA_DIS_ADV_ARB(x) ((x) << S_HMA_DIS_ADV_ARB)
16244 #define F_HMA_DIS_ADV_ARB V_HMA_DIS_ADV_ARB(1U)
16246 #define S_NUM_PG_128B_FDBK 5
16247 #define M_NUM_PG_128B_FDBK 0x1fU
16248 #define V_NUM_PG_128B_FDBK(x) ((x) << S_NUM_PG_128B_FDBK)
16249 #define G_NUM_PG_128B_FDBK(x) (((x) >> S_NUM_PG_128B_FDBK) & M_NUM_PG_128B_FDBK)
16251 #define S_DIS_128B_PG_CNT_FDBK 4
16252 #define V_DIS_128B_PG_CNT_FDBK(x) ((x) << S_DIS_128B_PG_CNT_FDBK)
16253 #define F_DIS_128B_PG_CNT_FDBK V_DIS_128B_PG_CNT_FDBK(1U)
16255 #define S_DIS_BG_ARB 3
16256 #define V_DIS_BG_ARB(x) ((x) << S_DIS_BG_ARB)
16257 #define F_DIS_BG_ARB V_DIS_BG_ARB(1U)
16259 #define A_MA_TARGET_MEM_ENABLE 0x77d8
16261 #define S_HMA_ENABLE 3
16262 #define V_HMA_ENABLE(x) ((x) << S_HMA_ENABLE)
16263 #define F_HMA_ENABLE V_HMA_ENABLE(1U)
16265 #define S_EXT_MEM_ENABLE 2
16266 #define V_EXT_MEM_ENABLE(x) ((x) << S_EXT_MEM_ENABLE)
16267 #define F_EXT_MEM_ENABLE V_EXT_MEM_ENABLE(1U)
16269 #define S_EDRAM1_ENABLE 1
16270 #define V_EDRAM1_ENABLE(x) ((x) << S_EDRAM1_ENABLE)
16271 #define F_EDRAM1_ENABLE V_EDRAM1_ENABLE(1U)
16273 #define S_EDRAM0_ENABLE 0
16274 #define V_EDRAM0_ENABLE(x) ((x) << S_EDRAM0_ENABLE)
16275 #define F_EDRAM0_ENABLE V_EDRAM0_ENABLE(1U)
16277 #define S_HMA_MUX 5
16278 #define V_HMA_MUX(x) ((x) << S_HMA_MUX)
16279 #define F_HMA_MUX V_HMA_MUX(1U)
16281 #define S_EXT_MEM1_ENABLE 4
16282 #define V_EXT_MEM1_ENABLE(x) ((x) << S_EXT_MEM1_ENABLE)
16283 #define F_EXT_MEM1_ENABLE V_EXT_MEM1_ENABLE(1U)
16285 #define S_EXT_MEM0_ENABLE 2
16286 #define V_EXT_MEM0_ENABLE(x) ((x) << S_EXT_MEM0_ENABLE)
16287 #define F_EXT_MEM0_ENABLE V_EXT_MEM0_ENABLE(1U)
16289 #define S_MC_SPLIT 6
16290 #define V_MC_SPLIT(x) ((x) << S_MC_SPLIT)
16291 #define F_MC_SPLIT V_MC_SPLIT(1U)
16293 #define A_MA_INT_ENABLE 0x77dc
16295 #define S_MEM_PERR_INT_ENABLE 1
16296 #define V_MEM_PERR_INT_ENABLE(x) ((x) << S_MEM_PERR_INT_ENABLE)
16297 #define F_MEM_PERR_INT_ENABLE V_MEM_PERR_INT_ENABLE(1U)
16299 #define S_MEM_WRAP_INT_ENABLE 0
16300 #define V_MEM_WRAP_INT_ENABLE(x) ((x) << S_MEM_WRAP_INT_ENABLE)
16301 #define F_MEM_WRAP_INT_ENABLE V_MEM_WRAP_INT_ENABLE(1U)
16303 #define S_MEM_TO_INT_ENABLE 2
16304 #define V_MEM_TO_INT_ENABLE(x) ((x) << S_MEM_TO_INT_ENABLE)
16305 #define F_MEM_TO_INT_ENABLE V_MEM_TO_INT_ENABLE(1U)
16307 #define A_MA_INT_CAUSE 0x77e0
16309 #define S_MEM_PERR_INT_CAUSE 1
16310 #define V_MEM_PERR_INT_CAUSE(x) ((x) << S_MEM_PERR_INT_CAUSE)
16311 #define F_MEM_PERR_INT_CAUSE V_MEM_PERR_INT_CAUSE(1U)
16313 #define S_MEM_WRAP_INT_CAUSE 0
16314 #define V_MEM_WRAP_INT_CAUSE(x) ((x) << S_MEM_WRAP_INT_CAUSE)
16315 #define F_MEM_WRAP_INT_CAUSE V_MEM_WRAP_INT_CAUSE(1U)
16317 #define S_MEM_TO_INT_CAUSE 2
16318 #define V_MEM_TO_INT_CAUSE(x) ((x) << S_MEM_TO_INT_CAUSE)
16319 #define F_MEM_TO_INT_CAUSE V_MEM_TO_INT_CAUSE(1U)
16321 #define A_MA_INT_WRAP_STATUS 0x77e4
16323 #define S_MEM_WRAP_ADDRESS 4
16324 #define M_MEM_WRAP_ADDRESS 0xfffffffU
16325 #define V_MEM_WRAP_ADDRESS(x) ((x) << S_MEM_WRAP_ADDRESS)
16326 #define G_MEM_WRAP_ADDRESS(x) (((x) >> S_MEM_WRAP_ADDRESS) & M_MEM_WRAP_ADDRESS)
16328 #define S_MEM_WRAP_CLIENT_NUM 0
16329 #define M_MEM_WRAP_CLIENT_NUM 0xfU
16330 #define V_MEM_WRAP_CLIENT_NUM(x) ((x) << S_MEM_WRAP_CLIENT_NUM)
16331 #define G_MEM_WRAP_CLIENT_NUM(x) (((x) >> S_MEM_WRAP_CLIENT_NUM) & M_MEM_WRAP_CLIENT_NUM)
16333 #define A_MA_TP_THREAD1_MAPPER 0x77e8
16335 #define S_TP_THREAD1_EN 0
16336 #define M_TP_THREAD1_EN 0xffU
16337 #define V_TP_THREAD1_EN(x) ((x) << S_TP_THREAD1_EN)
16338 #define G_TP_THREAD1_EN(x) (((x) >> S_TP_THREAD1_EN) & M_TP_THREAD1_EN)
16340 #define A_MA_SGE_THREAD1_MAPPER 0x77ec
16342 #define S_SGE_THREAD1_EN 0
16343 #define M_SGE_THREAD1_EN 0xffU
16344 #define V_SGE_THREAD1_EN(x) ((x) << S_SGE_THREAD1_EN)
16345 #define G_SGE_THREAD1_EN(x) (((x) >> S_SGE_THREAD1_EN) & M_SGE_THREAD1_EN)
16347 #define A_MA_PARITY_ERROR_ENABLE 0x77f0
16349 #define S_TP_DMARBT_PAR_ERROR_EN 31
16350 #define V_TP_DMARBT_PAR_ERROR_EN(x) ((x) << S_TP_DMARBT_PAR_ERROR_EN)
16351 #define F_TP_DMARBT_PAR_ERROR_EN V_TP_DMARBT_PAR_ERROR_EN(1U)
16353 #define S_LOGIC_FIFO_PAR_ERROR_EN 30
16354 #define V_LOGIC_FIFO_PAR_ERROR_EN(x) ((x) << S_LOGIC_FIFO_PAR_ERROR_EN)
16355 #define F_LOGIC_FIFO_PAR_ERROR_EN V_LOGIC_FIFO_PAR_ERROR_EN(1U)
16357 #define S_ARB3_PAR_WRQUEUE_ERROR_EN 29
16358 #define V_ARB3_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_ARB3_PAR_WRQUEUE_ERROR_EN)
16359 #define F_ARB3_PAR_WRQUEUE_ERROR_EN V_ARB3_PAR_WRQUEUE_ERROR_EN(1U)
16361 #define S_ARB2_PAR_WRQUEUE_ERROR_EN 28
16362 #define V_ARB2_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_ARB2_PAR_WRQUEUE_ERROR_EN)
16363 #define F_ARB2_PAR_WRQUEUE_ERROR_EN V_ARB2_PAR_WRQUEUE_ERROR_EN(1U)
16365 #define S_ARB1_PAR_WRQUEUE_ERROR_EN 27
16366 #define V_ARB1_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_ARB1_PAR_WRQUEUE_ERROR_EN)
16367 #define F_ARB1_PAR_WRQUEUE_ERROR_EN V_ARB1_PAR_WRQUEUE_ERROR_EN(1U)
16369 #define S_ARB0_PAR_WRQUEUE_ERROR_EN 26
16370 #define V_ARB0_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_ARB0_PAR_WRQUEUE_ERROR_EN)
16371 #define F_ARB0_PAR_WRQUEUE_ERROR_EN V_ARB0_PAR_WRQUEUE_ERROR_EN(1U)
16373 #define S_ARB3_PAR_RDQUEUE_ERROR_EN 25
16374 #define V_ARB3_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_ARB3_PAR_RDQUEUE_ERROR_EN)
16375 #define F_ARB3_PAR_RDQUEUE_ERROR_EN V_ARB3_PAR_RDQUEUE_ERROR_EN(1U)
16377 #define S_ARB2_PAR_RDQUEUE_ERROR_EN 24
16378 #define V_ARB2_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_ARB2_PAR_RDQUEUE_ERROR_EN)
16379 #define F_ARB2_PAR_RDQUEUE_ERROR_EN V_ARB2_PAR_RDQUEUE_ERROR_EN(1U)
16381 #define S_ARB1_PAR_RDQUEUE_ERROR_EN 23
16382 #define V_ARB1_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_ARB1_PAR_RDQUEUE_ERROR_EN)
16383 #define F_ARB1_PAR_RDQUEUE_ERROR_EN V_ARB1_PAR_RDQUEUE_ERROR_EN(1U)
16385 #define S_ARB0_PAR_RDQUEUE_ERROR_EN 22
16386 #define V_ARB0_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_ARB0_PAR_RDQUEUE_ERROR_EN)
16387 #define F_ARB0_PAR_RDQUEUE_ERROR_EN V_ARB0_PAR_RDQUEUE_ERROR_EN(1U)
16389 #define S_CL10_PAR_WRQUEUE_ERROR_EN 21
16390 #define V_CL10_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL10_PAR_WRQUEUE_ERROR_EN)
16391 #define F_CL10_PAR_WRQUEUE_ERROR_EN V_CL10_PAR_WRQUEUE_ERROR_EN(1U)
16393 #define S_CL9_PAR_WRQUEUE_ERROR_EN 20
16394 #define V_CL9_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL9_PAR_WRQUEUE_ERROR_EN)
16395 #define F_CL9_PAR_WRQUEUE_ERROR_EN V_CL9_PAR_WRQUEUE_ERROR_EN(1U)
16397 #define S_CL8_PAR_WRQUEUE_ERROR_EN 19
16398 #define V_CL8_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL8_PAR_WRQUEUE_ERROR_EN)
16399 #define F_CL8_PAR_WRQUEUE_ERROR_EN V_CL8_PAR_WRQUEUE_ERROR_EN(1U)
16401 #define S_CL7_PAR_WRQUEUE_ERROR_EN 18
16402 #define V_CL7_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL7_PAR_WRQUEUE_ERROR_EN)
16403 #define F_CL7_PAR_WRQUEUE_ERROR_EN V_CL7_PAR_WRQUEUE_ERROR_EN(1U)
16405 #define S_CL6_PAR_WRQUEUE_ERROR_EN 17
16406 #define V_CL6_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL6_PAR_WRQUEUE_ERROR_EN)
16407 #define F_CL6_PAR_WRQUEUE_ERROR_EN V_CL6_PAR_WRQUEUE_ERROR_EN(1U)
16409 #define S_CL5_PAR_WRQUEUE_ERROR_EN 16
16410 #define V_CL5_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL5_PAR_WRQUEUE_ERROR_EN)
16411 #define F_CL5_PAR_WRQUEUE_ERROR_EN V_CL5_PAR_WRQUEUE_ERROR_EN(1U)
16413 #define S_CL4_PAR_WRQUEUE_ERROR_EN 15
16414 #define V_CL4_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL4_PAR_WRQUEUE_ERROR_EN)
16415 #define F_CL4_PAR_WRQUEUE_ERROR_EN V_CL4_PAR_WRQUEUE_ERROR_EN(1U)
16417 #define S_CL3_PAR_WRQUEUE_ERROR_EN 14
16418 #define V_CL3_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL3_PAR_WRQUEUE_ERROR_EN)
16419 #define F_CL3_PAR_WRQUEUE_ERROR_EN V_CL3_PAR_WRQUEUE_ERROR_EN(1U)
16421 #define S_CL2_PAR_WRQUEUE_ERROR_EN 13
16422 #define V_CL2_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL2_PAR_WRQUEUE_ERROR_EN)
16423 #define F_CL2_PAR_WRQUEUE_ERROR_EN V_CL2_PAR_WRQUEUE_ERROR_EN(1U)
16425 #define S_CL1_PAR_WRQUEUE_ERROR_EN 12
16426 #define V_CL1_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL1_PAR_WRQUEUE_ERROR_EN)
16427 #define F_CL1_PAR_WRQUEUE_ERROR_EN V_CL1_PAR_WRQUEUE_ERROR_EN(1U)
16429 #define S_CL0_PAR_WRQUEUE_ERROR_EN 11
16430 #define V_CL0_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_CL0_PAR_WRQUEUE_ERROR_EN)
16431 #define F_CL0_PAR_WRQUEUE_ERROR_EN V_CL0_PAR_WRQUEUE_ERROR_EN(1U)
16433 #define S_CL10_PAR_RDQUEUE_ERROR_EN 10
16434 #define V_CL10_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL10_PAR_RDQUEUE_ERROR_EN)
16435 #define F_CL10_PAR_RDQUEUE_ERROR_EN V_CL10_PAR_RDQUEUE_ERROR_EN(1U)
16437 #define S_CL9_PAR_RDQUEUE_ERROR_EN 9
16438 #define V_CL9_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL9_PAR_RDQUEUE_ERROR_EN)
16439 #define F_CL9_PAR_RDQUEUE_ERROR_EN V_CL9_PAR_RDQUEUE_ERROR_EN(1U)
16441 #define S_CL8_PAR_RDQUEUE_ERROR_EN 8
16442 #define V_CL8_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL8_PAR_RDQUEUE_ERROR_EN)
16443 #define F_CL8_PAR_RDQUEUE_ERROR_EN V_CL8_PAR_RDQUEUE_ERROR_EN(1U)
16445 #define S_CL7_PAR_RDQUEUE_ERROR_EN 7
16446 #define V_CL7_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL7_PAR_RDQUEUE_ERROR_EN)
16447 #define F_CL7_PAR_RDQUEUE_ERROR_EN V_CL7_PAR_RDQUEUE_ERROR_EN(1U)
16449 #define S_CL6_PAR_RDQUEUE_ERROR_EN 6
16450 #define V_CL6_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL6_PAR_RDQUEUE_ERROR_EN)
16451 #define F_CL6_PAR_RDQUEUE_ERROR_EN V_CL6_PAR_RDQUEUE_ERROR_EN(1U)
16453 #define S_CL5_PAR_RDQUEUE_ERROR_EN 5
16454 #define V_CL5_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL5_PAR_RDQUEUE_ERROR_EN)
16455 #define F_CL5_PAR_RDQUEUE_ERROR_EN V_CL5_PAR_RDQUEUE_ERROR_EN(1U)
16457 #define S_CL4_PAR_RDQUEUE_ERROR_EN 4
16458 #define V_CL4_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL4_PAR_RDQUEUE_ERROR_EN)
16459 #define F_CL4_PAR_RDQUEUE_ERROR_EN V_CL4_PAR_RDQUEUE_ERROR_EN(1U)
16461 #define S_CL3_PAR_RDQUEUE_ERROR_EN 3
16462 #define V_CL3_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL3_PAR_RDQUEUE_ERROR_EN)
16463 #define F_CL3_PAR_RDQUEUE_ERROR_EN V_CL3_PAR_RDQUEUE_ERROR_EN(1U)
16465 #define S_CL2_PAR_RDQUEUE_ERROR_EN 2
16466 #define V_CL2_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL2_PAR_RDQUEUE_ERROR_EN)
16467 #define F_CL2_PAR_RDQUEUE_ERROR_EN V_CL2_PAR_RDQUEUE_ERROR_EN(1U)
16469 #define S_CL1_PAR_RDQUEUE_ERROR_EN 1
16470 #define V_CL1_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL1_PAR_RDQUEUE_ERROR_EN)
16471 #define F_CL1_PAR_RDQUEUE_ERROR_EN V_CL1_PAR_RDQUEUE_ERROR_EN(1U)
16473 #define S_CL0_PAR_RDQUEUE_ERROR_EN 0
16474 #define V_CL0_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_CL0_PAR_RDQUEUE_ERROR_EN)
16475 #define F_CL0_PAR_RDQUEUE_ERROR_EN V_CL0_PAR_RDQUEUE_ERROR_EN(1U)
16477 #define A_MA_PARITY_ERROR_ENABLE1 0x77f0
16478 #define A_MA_PARITY_ERROR_STATUS 0x77f4
16480 #define S_TP_DMARBT_PAR_ERROR 31
16481 #define V_TP_DMARBT_PAR_ERROR(x) ((x) << S_TP_DMARBT_PAR_ERROR)
16482 #define F_TP_DMARBT_PAR_ERROR V_TP_DMARBT_PAR_ERROR(1U)
16484 #define S_LOGIC_FIFO_PAR_ERROR 30
16485 #define V_LOGIC_FIFO_PAR_ERROR(x) ((x) << S_LOGIC_FIFO_PAR_ERROR)
16486 #define F_LOGIC_FIFO_PAR_ERROR V_LOGIC_FIFO_PAR_ERROR(1U)
16488 #define S_ARB3_PAR_WRQUEUE_ERROR 29
16489 #define V_ARB3_PAR_WRQUEUE_ERROR(x) ((x) << S_ARB3_PAR_WRQUEUE_ERROR)
16490 #define F_ARB3_PAR_WRQUEUE_ERROR V_ARB3_PAR_WRQUEUE_ERROR(1U)
16492 #define S_ARB2_PAR_WRQUEUE_ERROR 28
16493 #define V_ARB2_PAR_WRQUEUE_ERROR(x) ((x) << S_ARB2_PAR_WRQUEUE_ERROR)
16494 #define F_ARB2_PAR_WRQUEUE_ERROR V_ARB2_PAR_WRQUEUE_ERROR(1U)
16496 #define S_ARB1_PAR_WRQUEUE_ERROR 27
16497 #define V_ARB1_PAR_WRQUEUE_ERROR(x) ((x) << S_ARB1_PAR_WRQUEUE_ERROR)
16498 #define F_ARB1_PAR_WRQUEUE_ERROR V_ARB1_PAR_WRQUEUE_ERROR(1U)
16500 #define S_ARB0_PAR_WRQUEUE_ERROR 26
16501 #define V_ARB0_PAR_WRQUEUE_ERROR(x) ((x) << S_ARB0_PAR_WRQUEUE_ERROR)
16502 #define F_ARB0_PAR_WRQUEUE_ERROR V_ARB0_PAR_WRQUEUE_ERROR(1U)
16504 #define S_ARB3_PAR_RDQUEUE_ERROR 25
16505 #define V_ARB3_PAR_RDQUEUE_ERROR(x) ((x) << S_ARB3_PAR_RDQUEUE_ERROR)
16506 #define F_ARB3_PAR_RDQUEUE_ERROR V_ARB3_PAR_RDQUEUE_ERROR(1U)
16508 #define S_ARB2_PAR_RDQUEUE_ERROR 24
16509 #define V_ARB2_PAR_RDQUEUE_ERROR(x) ((x) << S_ARB2_PAR_RDQUEUE_ERROR)
16510 #define F_ARB2_PAR_RDQUEUE_ERROR V_ARB2_PAR_RDQUEUE_ERROR(1U)
16512 #define S_ARB1_PAR_RDQUEUE_ERROR 23
16513 #define V_ARB1_PAR_RDQUEUE_ERROR(x) ((x) << S_ARB1_PAR_RDQUEUE_ERROR)
16514 #define F_ARB1_PAR_RDQUEUE_ERROR V_ARB1_PAR_RDQUEUE_ERROR(1U)
16516 #define S_ARB0_PAR_RDQUEUE_ERROR 22
16517 #define V_ARB0_PAR_RDQUEUE_ERROR(x) ((x) << S_ARB0_PAR_RDQUEUE_ERROR)
16518 #define F_ARB0_PAR_RDQUEUE_ERROR V_ARB0_PAR_RDQUEUE_ERROR(1U)
16520 #define S_CL10_PAR_WRQUEUE_ERROR 21
16521 #define V_CL10_PAR_WRQUEUE_ERROR(x) ((x) << S_CL10_PAR_WRQUEUE_ERROR)
16522 #define F_CL10_PAR_WRQUEUE_ERROR V_CL10_PAR_WRQUEUE_ERROR(1U)
16524 #define S_CL9_PAR_WRQUEUE_ERROR 20
16525 #define V_CL9_PAR_WRQUEUE_ERROR(x) ((x) << S_CL9_PAR_WRQUEUE_ERROR)
16526 #define F_CL9_PAR_WRQUEUE_ERROR V_CL9_PAR_WRQUEUE_ERROR(1U)
16528 #define S_CL8_PAR_WRQUEUE_ERROR 19
16529 #define V_CL8_PAR_WRQUEUE_ERROR(x) ((x) << S_CL8_PAR_WRQUEUE_ERROR)
16530 #define F_CL8_PAR_WRQUEUE_ERROR V_CL8_PAR_WRQUEUE_ERROR(1U)
16532 #define S_CL7_PAR_WRQUEUE_ERROR 18
16533 #define V_CL7_PAR_WRQUEUE_ERROR(x) ((x) << S_CL7_PAR_WRQUEUE_ERROR)
16534 #define F_CL7_PAR_WRQUEUE_ERROR V_CL7_PAR_WRQUEUE_ERROR(1U)
16536 #define S_CL6_PAR_WRQUEUE_ERROR 17
16537 #define V_CL6_PAR_WRQUEUE_ERROR(x) ((x) << S_CL6_PAR_WRQUEUE_ERROR)
16538 #define F_CL6_PAR_WRQUEUE_ERROR V_CL6_PAR_WRQUEUE_ERROR(1U)
16540 #define S_CL5_PAR_WRQUEUE_ERROR 16
16541 #define V_CL5_PAR_WRQUEUE_ERROR(x) ((x) << S_CL5_PAR_WRQUEUE_ERROR)
16542 #define F_CL5_PAR_WRQUEUE_ERROR V_CL5_PAR_WRQUEUE_ERROR(1U)
16544 #define S_CL4_PAR_WRQUEUE_ERROR 15
16545 #define V_CL4_PAR_WRQUEUE_ERROR(x) ((x) << S_CL4_PAR_WRQUEUE_ERROR)
16546 #define F_CL4_PAR_WRQUEUE_ERROR V_CL4_PAR_WRQUEUE_ERROR(1U)
16548 #define S_CL3_PAR_WRQUEUE_ERROR 14
16549 #define V_CL3_PAR_WRQUEUE_ERROR(x) ((x) << S_CL3_PAR_WRQUEUE_ERROR)
16550 #define F_CL3_PAR_WRQUEUE_ERROR V_CL3_PAR_WRQUEUE_ERROR(1U)
16552 #define S_CL2_PAR_WRQUEUE_ERROR 13
16553 #define V_CL2_PAR_WRQUEUE_ERROR(x) ((x) << S_CL2_PAR_WRQUEUE_ERROR)
16554 #define F_CL2_PAR_WRQUEUE_ERROR V_CL2_PAR_WRQUEUE_ERROR(1U)
16556 #define S_CL1_PAR_WRQUEUE_ERROR 12
16557 #define V_CL1_PAR_WRQUEUE_ERROR(x) ((x) << S_CL1_PAR_WRQUEUE_ERROR)
16558 #define F_CL1_PAR_WRQUEUE_ERROR V_CL1_PAR_WRQUEUE_ERROR(1U)
16560 #define S_CL0_PAR_WRQUEUE_ERROR 11
16561 #define V_CL0_PAR_WRQUEUE_ERROR(x) ((x) << S_CL0_PAR_WRQUEUE_ERROR)
16562 #define F_CL0_PAR_WRQUEUE_ERROR V_CL0_PAR_WRQUEUE_ERROR(1U)
16564 #define S_CL10_PAR_RDQUEUE_ERROR 10
16565 #define V_CL10_PAR_RDQUEUE_ERROR(x) ((x) << S_CL10_PAR_RDQUEUE_ERROR)
16566 #define F_CL10_PAR_RDQUEUE_ERROR V_CL10_PAR_RDQUEUE_ERROR(1U)
16568 #define S_CL9_PAR_RDQUEUE_ERROR 9
16569 #define V_CL9_PAR_RDQUEUE_ERROR(x) ((x) << S_CL9_PAR_RDQUEUE_ERROR)
16570 #define F_CL9_PAR_RDQUEUE_ERROR V_CL9_PAR_RDQUEUE_ERROR(1U)
16572 #define S_CL8_PAR_RDQUEUE_ERROR 8
16573 #define V_CL8_PAR_RDQUEUE_ERROR(x) ((x) << S_CL8_PAR_RDQUEUE_ERROR)
16574 #define F_CL8_PAR_RDQUEUE_ERROR V_CL8_PAR_RDQUEUE_ERROR(1U)
16576 #define S_CL7_PAR_RDQUEUE_ERROR 7
16577 #define V_CL7_PAR_RDQUEUE_ERROR(x) ((x) << S_CL7_PAR_RDQUEUE_ERROR)
16578 #define F_CL7_PAR_RDQUEUE_ERROR V_CL7_PAR_RDQUEUE_ERROR(1U)
16580 #define S_CL6_PAR_RDQUEUE_ERROR 6
16581 #define V_CL6_PAR_RDQUEUE_ERROR(x) ((x) << S_CL6_PAR_RDQUEUE_ERROR)
16582 #define F_CL6_PAR_RDQUEUE_ERROR V_CL6_PAR_RDQUEUE_ERROR(1U)
16584 #define S_CL5_PAR_RDQUEUE_ERROR 5
16585 #define V_CL5_PAR_RDQUEUE_ERROR(x) ((x) << S_CL5_PAR_RDQUEUE_ERROR)
16586 #define F_CL5_PAR_RDQUEUE_ERROR V_CL5_PAR_RDQUEUE_ERROR(1U)
16588 #define S_CL4_PAR_RDQUEUE_ERROR 4
16589 #define V_CL4_PAR_RDQUEUE_ERROR(x) ((x) << S_CL4_PAR_RDQUEUE_ERROR)
16590 #define F_CL4_PAR_RDQUEUE_ERROR V_CL4_PAR_RDQUEUE_ERROR(1U)
16592 #define S_CL3_PAR_RDQUEUE_ERROR 3
16593 #define V_CL3_PAR_RDQUEUE_ERROR(x) ((x) << S_CL3_PAR_RDQUEUE_ERROR)
16594 #define F_CL3_PAR_RDQUEUE_ERROR V_CL3_PAR_RDQUEUE_ERROR(1U)
16596 #define S_CL2_PAR_RDQUEUE_ERROR 2
16597 #define V_CL2_PAR_RDQUEUE_ERROR(x) ((x) << S_CL2_PAR_RDQUEUE_ERROR)
16598 #define F_CL2_PAR_RDQUEUE_ERROR V_CL2_PAR_RDQUEUE_ERROR(1U)
16600 #define S_CL1_PAR_RDQUEUE_ERROR 1
16601 #define V_CL1_PAR_RDQUEUE_ERROR(x) ((x) << S_CL1_PAR_RDQUEUE_ERROR)
16602 #define F_CL1_PAR_RDQUEUE_ERROR V_CL1_PAR_RDQUEUE_ERROR(1U)
16604 #define S_CL0_PAR_RDQUEUE_ERROR 0
16605 #define V_CL0_PAR_RDQUEUE_ERROR(x) ((x) << S_CL0_PAR_RDQUEUE_ERROR)
16606 #define F_CL0_PAR_RDQUEUE_ERROR V_CL0_PAR_RDQUEUE_ERROR(1U)
16608 #define A_MA_PARITY_ERROR_STATUS1 0x77f4
16609 #define A_MA_SGE_PCIE_COHERANCY_CTRL 0x77f8
16611 #define S_BONUS_REG 6
16612 #define M_BONUS_REG 0x3ffffffU
16613 #define V_BONUS_REG(x) ((x) << S_BONUS_REG)
16614 #define G_BONUS_REG(x) (((x) >> S_BONUS_REG) & M_BONUS_REG)
16616 #define S_COHERANCY_CMD_TYPE 4
16617 #define M_COHERANCY_CMD_TYPE 0x3U
16618 #define V_COHERANCY_CMD_TYPE(x) ((x) << S_COHERANCY_CMD_TYPE)
16619 #define G_COHERANCY_CMD_TYPE(x) (((x) >> S_COHERANCY_CMD_TYPE) & M_COHERANCY_CMD_TYPE)
16621 #define S_COHERANCY_THREAD_NUM 1
16622 #define M_COHERANCY_THREAD_NUM 0x7U
16623 #define V_COHERANCY_THREAD_NUM(x) ((x) << S_COHERANCY_THREAD_NUM)
16624 #define G_COHERANCY_THREAD_NUM(x) (((x) >> S_COHERANCY_THREAD_NUM) & M_COHERANCY_THREAD_NUM)
16626 #define S_COHERANCY_ENABLE 0
16627 #define V_COHERANCY_ENABLE(x) ((x) << S_COHERANCY_ENABLE)
16628 #define F_COHERANCY_ENABLE V_COHERANCY_ENABLE(1U)
16630 #define A_MA_ERROR_ENABLE 0x77fc
16632 #define S_UE_ENABLE 0
16633 #define V_UE_ENABLE(x) ((x) << S_UE_ENABLE)
16634 #define F_UE_ENABLE V_UE_ENABLE(1U)
16636 #define S_FUTURE_EXPANSION 1
16637 #define M_FUTURE_EXPANSION 0x7fffffffU
16638 #define V_FUTURE_EXPANSION(x) ((x) << S_FUTURE_EXPANSION)
16639 #define G_FUTURE_EXPANSION(x) (((x) >> S_FUTURE_EXPANSION) & M_FUTURE_EXPANSION)
16641 #define S_FUTURE_EXPANSION_EE 1
16642 #define M_FUTURE_EXPANSION_EE 0x7fffffffU
16643 #define V_FUTURE_EXPANSION_EE(x) ((x) << S_FUTURE_EXPANSION_EE)
16644 #define G_FUTURE_EXPANSION_EE(x) (((x) >> S_FUTURE_EXPANSION_EE) & M_FUTURE_EXPANSION_EE)
16646 #define A_MA_PARITY_ERROR_ENABLE2 0x7800
16648 #define S_ARB4_PAR_WRQUEUE_ERROR_EN 1
16649 #define V_ARB4_PAR_WRQUEUE_ERROR_EN(x) ((x) << S_ARB4_PAR_WRQUEUE_ERROR_EN)
16650 #define F_ARB4_PAR_WRQUEUE_ERROR_EN V_ARB4_PAR_WRQUEUE_ERROR_EN(1U)
16652 #define S_ARB4_PAR_RDQUEUE_ERROR_EN 0
16653 #define V_ARB4_PAR_RDQUEUE_ERROR_EN(x) ((x) << S_ARB4_PAR_RDQUEUE_ERROR_EN)
16654 #define F_ARB4_PAR_RDQUEUE_ERROR_EN V_ARB4_PAR_RDQUEUE_ERROR_EN(1U)
16656 #define A_MA_PARITY_ERROR_STATUS2 0x7804
16658 #define S_ARB4_PAR_WRQUEUE_ERROR 1
16659 #define V_ARB4_PAR_WRQUEUE_ERROR(x) ((x) << S_ARB4_PAR_WRQUEUE_ERROR)
16660 #define F_ARB4_PAR_WRQUEUE_ERROR V_ARB4_PAR_WRQUEUE_ERROR(1U)
16662 #define S_ARB4_PAR_RDQUEUE_ERROR 0
16663 #define V_ARB4_PAR_RDQUEUE_ERROR(x) ((x) << S_ARB4_PAR_RDQUEUE_ERROR)
16664 #define F_ARB4_PAR_RDQUEUE_ERROR V_ARB4_PAR_RDQUEUE_ERROR(1U)
16666 #define A_MA_EXT_MEMORY1_BAR 0x7808
16668 #define S_EXT_MEM1_BASE 16
16669 #define M_EXT_MEM1_BASE 0xfffU
16670 #define V_EXT_MEM1_BASE(x) ((x) << S_EXT_MEM1_BASE)
16671 #define G_EXT_MEM1_BASE(x) (((x) >> S_EXT_MEM1_BASE) & M_EXT_MEM1_BASE)
16673 #define S_EXT_MEM1_SIZE 0
16674 #define M_EXT_MEM1_SIZE 0xfffU
16675 #define V_EXT_MEM1_SIZE(x) ((x) << S_EXT_MEM1_SIZE)
16676 #define G_EXT_MEM1_SIZE(x) (((x) >> S_EXT_MEM1_SIZE) & M_EXT_MEM1_SIZE)
16678 #define A_MA_PMTX_THROTTLE 0x780c
16680 #define S_FL_ENABLE 31
16681 #define V_FL_ENABLE(x) ((x) << S_FL_ENABLE)
16682 #define F_FL_ENABLE V_FL_ENABLE(1U)
16684 #define S_FL_LIMIT 0
16685 #define M_FL_LIMIT 0xffU
16686 #define V_FL_LIMIT(x) ((x) << S_FL_LIMIT)
16687 #define G_FL_LIMIT(x) (((x) >> S_FL_LIMIT) & M_FL_LIMIT)
16689 #define A_MA_PMRX_THROTTLE 0x7810
16690 #define A_MA_SGE_TH0_WRDATA_CNT 0x7814
16691 #define A_MA_SGE_TH1_WRDATA_CNT 0x7818
16692 #define A_MA_ULPTX_WRDATA_CNT 0x781c
16693 #define A_MA_ULPRX_WRDATA_CNT 0x7820
16694 #define A_MA_ULPTXRX_WRDATA_CNT 0x7824
16695 #define A_MA_TP_TH0_WRDATA_CNT 0x7828
16696 #define A_MA_TP_TH1_WRDATA_CNT 0x782c
16697 #define A_MA_LE_WRDATA_CNT 0x7830
16698 #define A_MA_CIM_WRDATA_CNT 0x7834
16699 #define A_MA_PCIE_WRDATA_CNT 0x7838
16700 #define A_MA_PMTX_WRDATA_CNT 0x783c
16701 #define A_MA_PMRX_WRDATA_CNT 0x7840
16702 #define A_MA_HMA_WRDATA_CNT 0x7844
16703 #define A_MA_SGE_TH0_RDDATA_CNT 0x7848
16704 #define A_MA_SGE_TH1_RDDATA_CNT 0x784c
16705 #define A_MA_ULPTX_RDDATA_CNT 0x7850
16706 #define A_MA_ULPRX_RDDATA_CNT 0x7854
16707 #define A_MA_ULPTXRX_RDDATA_CNT 0x7858
16708 #define A_MA_TP_TH0_RDDATA_CNT 0x785c
16709 #define A_MA_TP_TH1_RDDATA_CNT 0x7860
16710 #define A_MA_LE_RDDATA_CNT 0x7864
16711 #define A_MA_CIM_RDDATA_CNT 0x7868
16712 #define A_MA_PCIE_RDDATA_CNT 0x786c
16713 #define A_MA_PMTX_RDDATA_CNT 0x7870
16714 #define A_MA_PMRX_RDDATA_CNT 0x7874
16715 #define A_MA_HMA_RDDATA_CNT 0x7878
16716 #define A_MA_EDRAM0_WRDATA_CNT1 0x787c
16717 #define A_MA_EXIT_ADDR_FAULT 0x787c
16719 #define S_EXIT_ADDR_FAULT 0
16720 #define V_EXIT_ADDR_FAULT(x) ((x) << S_EXIT_ADDR_FAULT)
16721 #define F_EXIT_ADDR_FAULT V_EXIT_ADDR_FAULT(1U)
16723 #define A_MA_EDRAM0_WRDATA_CNT0 0x7880
16724 #define A_MA_DDR_DEVICE_CFG 0x7880
16726 #define S_MEM_WIDTH 1
16727 #define M_MEM_WIDTH 0x7U
16728 #define V_MEM_WIDTH(x) ((x) << S_MEM_WIDTH)
16729 #define G_MEM_WIDTH(x) (((x) >> S_MEM_WIDTH) & M_MEM_WIDTH)
16731 #define S_DDR_MODE 0
16732 #define V_DDR_MODE(x) ((x) << S_DDR_MODE)
16733 #define F_DDR_MODE V_DDR_MODE(1U)
16735 #define A_MA_EDRAM1_WRDATA_CNT1 0x7884
16736 #define A_MA_EDRAM1_WRDATA_CNT0 0x7888
16737 #define A_MA_EXT_MEMORY0_WRDATA_CNT1 0x788c
16738 #define A_MA_EXT_MEMORY0_WRDATA_CNT0 0x7890
16739 #define A_MA_HOST_MEMORY_WRDATA_CNT1 0x7894
16740 #define A_MA_HOST_MEMORY_WRDATA_CNT0 0x7898
16741 #define A_MA_EXT_MEMORY1_WRDATA_CNT1 0x789c
16742 #define A_MA_EXT_MEMORY1_WRDATA_CNT0 0x78a0
16743 #define A_MA_EDRAM0_RDDATA_CNT1 0x78a4
16744 #define A_MA_EDRAM0_RDDATA_CNT0 0x78a8
16745 #define A_MA_EDRAM1_RDDATA_CNT1 0x78ac
16746 #define A_MA_EDRAM1_RDDATA_CNT0 0x78b0
16747 #define A_MA_EXT_MEMORY0_RDDATA_CNT1 0x78b4
16748 #define A_MA_EXT_MEMORY0_RDDATA_CNT0 0x78b8
16749 #define A_MA_HOST_MEMORY_RDDATA_CNT1 0x78bc
16750 #define A_MA_HOST_MEMORY_RDDATA_CNT0 0x78c0
16751 #define A_MA_EXT_MEMORY1_RDDATA_CNT1 0x78c4
16752 #define A_MA_EXT_MEMORY1_RDDATA_CNT0 0x78c8
16753 #define A_MA_TIMEOUT_CFG 0x78cc
16756 #define V_CLR(x) ((x) << S_CLR)
16757 #define F_CLR V_CLR(1U)
16759 #define S_CNT_LOCK 30
16760 #define V_CNT_LOCK(x) ((x) << S_CNT_LOCK)
16761 #define F_CNT_LOCK V_CNT_LOCK(1U)
16764 #define V_WRN(x) ((x) << S_WRN)
16765 #define F_WRN V_WRN(1U)
16768 #define V_DIR(x) ((x) << S_DIR)
16769 #define F_DIR V_DIR(1U)
16771 #define S_TO_BUS 22
16772 #define V_TO_BUS(x) ((x) << S_TO_BUS)
16773 #define F_TO_BUS V_TO_BUS(1U)
16775 #define S_CLIENT 16
16776 #define M_CLIENT 0xfU
16777 #define V_CLIENT(x) ((x) << S_CLIENT)
16778 #define G_CLIENT(x) (((x) >> S_CLIENT) & M_CLIENT)
16781 #define M_DELAY 0xffffU
16782 #define V_DELAY(x) ((x) << S_DELAY)
16783 #define G_DELAY(x) (((x) >> S_DELAY) & M_DELAY)
16785 #define A_MA_TIMEOUT_CNT 0x78d0
16787 #define S_CNT_VAL 0
16788 #define M_CNT_VAL 0xffffU
16789 #define V_CNT_VAL(x) ((x) << S_CNT_VAL)
16790 #define G_CNT_VAL(x) (((x) >> S_CNT_VAL) & M_CNT_VAL)
16792 #define A_MA_WRITE_TIMEOUT_ERROR_ENABLE 0x78d4
16794 #define S_FUTURE_CEXPANSION 29
16795 #define M_FUTURE_CEXPANSION 0x7U
16796 #define V_FUTURE_CEXPANSION(x) ((x) << S_FUTURE_CEXPANSION)
16797 #define G_FUTURE_CEXPANSION(x) (((x) >> S_FUTURE_CEXPANSION) & M_FUTURE_CEXPANSION)
16799 #define S_CL12_WR_CMD_TO_EN 28
16800 #define V_CL12_WR_CMD_TO_EN(x) ((x) << S_CL12_WR_CMD_TO_EN)
16801 #define F_CL12_WR_CMD_TO_EN V_CL12_WR_CMD_TO_EN(1U)
16803 #define S_CL11_WR_CMD_TO_EN 27
16804 #define V_CL11_WR_CMD_TO_EN(x) ((x) << S_CL11_WR_CMD_TO_EN)
16805 #define F_CL11_WR_CMD_TO_EN V_CL11_WR_CMD_TO_EN(1U)
16807 #define S_CL10_WR_CMD_TO_EN 26
16808 #define V_CL10_WR_CMD_TO_EN(x) ((x) << S_CL10_WR_CMD_TO_EN)
16809 #define F_CL10_WR_CMD_TO_EN V_CL10_WR_CMD_TO_EN(1U)
16811 #define S_CL9_WR_CMD_TO_EN 25
16812 #define V_CL9_WR_CMD_TO_EN(x) ((x) << S_CL9_WR_CMD_TO_EN)
16813 #define F_CL9_WR_CMD_TO_EN V_CL9_WR_CMD_TO_EN(1U)
16815 #define S_CL8_WR_CMD_TO_EN 24
16816 #define V_CL8_WR_CMD_TO_EN(x) ((x) << S_CL8_WR_CMD_TO_EN)
16817 #define F_CL8_WR_CMD_TO_EN V_CL8_WR_CMD_TO_EN(1U)
16819 #define S_CL7_WR_CMD_TO_EN 23
16820 #define V_CL7_WR_CMD_TO_EN(x) ((x) << S_CL7_WR_CMD_TO_EN)
16821 #define F_CL7_WR_CMD_TO_EN V_CL7_WR_CMD_TO_EN(1U)
16823 #define S_CL6_WR_CMD_TO_EN 22
16824 #define V_CL6_WR_CMD_TO_EN(x) ((x) << S_CL6_WR_CMD_TO_EN)
16825 #define F_CL6_WR_CMD_TO_EN V_CL6_WR_CMD_TO_EN(1U)
16827 #define S_CL5_WR_CMD_TO_EN 21
16828 #define V_CL5_WR_CMD_TO_EN(x) ((x) << S_CL5_WR_CMD_TO_EN)
16829 #define F_CL5_WR_CMD_TO_EN V_CL5_WR_CMD_TO_EN(1U)
16831 #define S_CL4_WR_CMD_TO_EN 20
16832 #define V_CL4_WR_CMD_TO_EN(x) ((x) << S_CL4_WR_CMD_TO_EN)
16833 #define F_CL4_WR_CMD_TO_EN V_CL4_WR_CMD_TO_EN(1U)
16835 #define S_CL3_WR_CMD_TO_EN 19
16836 #define V_CL3_WR_CMD_TO_EN(x) ((x) << S_CL3_WR_CMD_TO_EN)
16837 #define F_CL3_WR_CMD_TO_EN V_CL3_WR_CMD_TO_EN(1U)
16839 #define S_CL2_WR_CMD_TO_EN 18
16840 #define V_CL2_WR_CMD_TO_EN(x) ((x) << S_CL2_WR_CMD_TO_EN)
16841 #define F_CL2_WR_CMD_TO_EN V_CL2_WR_CMD_TO_EN(1U)
16843 #define S_CL1_WR_CMD_TO_EN 17
16844 #define V_CL1_WR_CMD_TO_EN(x) ((x) << S_CL1_WR_CMD_TO_EN)
16845 #define F_CL1_WR_CMD_TO_EN V_CL1_WR_CMD_TO_EN(1U)
16847 #define S_CL0_WR_CMD_TO_EN 16
16848 #define V_CL0_WR_CMD_TO_EN(x) ((x) << S_CL0_WR_CMD_TO_EN)
16849 #define F_CL0_WR_CMD_TO_EN V_CL0_WR_CMD_TO_EN(1U)
16851 #define S_FUTURE_DEXPANSION 13
16852 #define M_FUTURE_DEXPANSION 0x7U
16853 #define V_FUTURE_DEXPANSION(x) ((x) << S_FUTURE_DEXPANSION)
16854 #define G_FUTURE_DEXPANSION(x) (((x) >> S_FUTURE_DEXPANSION) & M_FUTURE_DEXPANSION)
16856 #define S_CL12_WR_DATA_TO_EN 12
16857 #define V_CL12_WR_DATA_TO_EN(x) ((x) << S_CL12_WR_DATA_TO_EN)
16858 #define F_CL12_WR_DATA_TO_EN V_CL12_WR_DATA_TO_EN(1U)
16860 #define S_CL11_WR_DATA_TO_EN 11
16861 #define V_CL11_WR_DATA_TO_EN(x) ((x) << S_CL11_WR_DATA_TO_EN)
16862 #define F_CL11_WR_DATA_TO_EN V_CL11_WR_DATA_TO_EN(1U)
16864 #define S_CL10_WR_DATA_TO_EN 10
16865 #define V_CL10_WR_DATA_TO_EN(x) ((x) << S_CL10_WR_DATA_TO_EN)
16866 #define F_CL10_WR_DATA_TO_EN V_CL10_WR_DATA_TO_EN(1U)
16868 #define S_CL9_WR_DATA_TO_EN 9
16869 #define V_CL9_WR_DATA_TO_EN(x) ((x) << S_CL9_WR_DATA_TO_EN)
16870 #define F_CL9_WR_DATA_TO_EN V_CL9_WR_DATA_TO_EN(1U)
16872 #define S_CL8_WR_DATA_TO_EN 8
16873 #define V_CL8_WR_DATA_TO_EN(x) ((x) << S_CL8_WR_DATA_TO_EN)
16874 #define F_CL8_WR_DATA_TO_EN V_CL8_WR_DATA_TO_EN(1U)
16876 #define S_CL7_WR_DATA_TO_EN 7
16877 #define V_CL7_WR_DATA_TO_EN(x) ((x) << S_CL7_WR_DATA_TO_EN)
16878 #define F_CL7_WR_DATA_TO_EN V_CL7_WR_DATA_TO_EN(1U)
16880 #define S_CL6_WR_DATA_TO_EN 6
16881 #define V_CL6_WR_DATA_TO_EN(x) ((x) << S_CL6_WR_DATA_TO_EN)
16882 #define F_CL6_WR_DATA_TO_EN V_CL6_WR_DATA_TO_EN(1U)
16884 #define S_CL5_WR_DATA_TO_EN 5
16885 #define V_CL5_WR_DATA_TO_EN(x) ((x) << S_CL5_WR_DATA_TO_EN)
16886 #define F_CL5_WR_DATA_TO_EN V_CL5_WR_DATA_TO_EN(1U)
16888 #define S_CL4_WR_DATA_TO_EN 4
16889 #define V_CL4_WR_DATA_TO_EN(x) ((x) << S_CL4_WR_DATA_TO_EN)
16890 #define F_CL4_WR_DATA_TO_EN V_CL4_WR_DATA_TO_EN(1U)
16892 #define S_CL3_WR_DATA_TO_EN 3
16893 #define V_CL3_WR_DATA_TO_EN(x) ((x) << S_CL3_WR_DATA_TO_EN)
16894 #define F_CL3_WR_DATA_TO_EN V_CL3_WR_DATA_TO_EN(1U)
16896 #define S_CL2_WR_DATA_TO_EN 2
16897 #define V_CL2_WR_DATA_TO_EN(x) ((x) << S_CL2_WR_DATA_TO_EN)
16898 #define F_CL2_WR_DATA_TO_EN V_CL2_WR_DATA_TO_EN(1U)
16900 #define S_CL1_WR_DATA_TO_EN 1
16901 #define V_CL1_WR_DATA_TO_EN(x) ((x) << S_CL1_WR_DATA_TO_EN)
16902 #define F_CL1_WR_DATA_TO_EN V_CL1_WR_DATA_TO_EN(1U)
16904 #define S_CL0_WR_DATA_TO_EN 0
16905 #define V_CL0_WR_DATA_TO_EN(x) ((x) << S_CL0_WR_DATA_TO_EN)
16906 #define F_CL0_WR_DATA_TO_EN V_CL0_WR_DATA_TO_EN(1U)
16908 #define S_FUTURE_CEXPANSION_WTE 29
16909 #define M_FUTURE_CEXPANSION_WTE 0x7U
16910 #define V_FUTURE_CEXPANSION_WTE(x) ((x) << S_FUTURE_CEXPANSION_WTE)
16911 #define G_FUTURE_CEXPANSION_WTE(x) (((x) >> S_FUTURE_CEXPANSION_WTE) & M_FUTURE_CEXPANSION_WTE)
16913 #define S_FUTURE_DEXPANSION_WTE 13
16914 #define M_FUTURE_DEXPANSION_WTE 0x7U
16915 #define V_FUTURE_DEXPANSION_WTE(x) ((x) << S_FUTURE_DEXPANSION_WTE)
16916 #define G_FUTURE_DEXPANSION_WTE(x) (((x) >> S_FUTURE_DEXPANSION_WTE) & M_FUTURE_DEXPANSION_WTE)
16918 #define A_MA_WRITE_TIMEOUT_ERROR_STATUS 0x78d8
16920 #define S_CL12_WR_CMD_TO_ERROR 28
16921 #define V_CL12_WR_CMD_TO_ERROR(x) ((x) << S_CL12_WR_CMD_TO_ERROR)
16922 #define F_CL12_WR_CMD_TO_ERROR V_CL12_WR_CMD_TO_ERROR(1U)
16924 #define S_CL11_WR_CMD_TO_ERROR 27
16925 #define V_CL11_WR_CMD_TO_ERROR(x) ((x) << S_CL11_WR_CMD_TO_ERROR)
16926 #define F_CL11_WR_CMD_TO_ERROR V_CL11_WR_CMD_TO_ERROR(1U)
16928 #define S_CL10_WR_CMD_TO_ERROR 26
16929 #define V_CL10_WR_CMD_TO_ERROR(x) ((x) << S_CL10_WR_CMD_TO_ERROR)
16930 #define F_CL10_WR_CMD_TO_ERROR V_CL10_WR_CMD_TO_ERROR(1U)
16932 #define S_CL9_WR_CMD_TO_ERROR 25
16933 #define V_CL9_WR_CMD_TO_ERROR(x) ((x) << S_CL9_WR_CMD_TO_ERROR)
16934 #define F_CL9_WR_CMD_TO_ERROR V_CL9_WR_CMD_TO_ERROR(1U)
16936 #define S_CL8_WR_CMD_TO_ERROR 24
16937 #define V_CL8_WR_CMD_TO_ERROR(x) ((x) << S_CL8_WR_CMD_TO_ERROR)
16938 #define F_CL8_WR_CMD_TO_ERROR V_CL8_WR_CMD_TO_ERROR(1U)
16940 #define S_CL7_WR_CMD_TO_ERROR 23
16941 #define V_CL7_WR_CMD_TO_ERROR(x) ((x) << S_CL7_WR_CMD_TO_ERROR)
16942 #define F_CL7_WR_CMD_TO_ERROR V_CL7_WR_CMD_TO_ERROR(1U)
16944 #define S_CL6_WR_CMD_TO_ERROR 22
16945 #define V_CL6_WR_CMD_TO_ERROR(x) ((x) << S_CL6_WR_CMD_TO_ERROR)
16946 #define F_CL6_WR_CMD_TO_ERROR V_CL6_WR_CMD_TO_ERROR(1U)
16948 #define S_CL5_WR_CMD_TO_ERROR 21
16949 #define V_CL5_WR_CMD_TO_ERROR(x) ((x) << S_CL5_WR_CMD_TO_ERROR)
16950 #define F_CL5_WR_CMD_TO_ERROR V_CL5_WR_CMD_TO_ERROR(1U)
16952 #define S_CL4_WR_CMD_TO_ERROR 20
16953 #define V_CL4_WR_CMD_TO_ERROR(x) ((x) << S_CL4_WR_CMD_TO_ERROR)
16954 #define F_CL4_WR_CMD_TO_ERROR V_CL4_WR_CMD_TO_ERROR(1U)
16956 #define S_CL3_WR_CMD_TO_ERROR 19
16957 #define V_CL3_WR_CMD_TO_ERROR(x) ((x) << S_CL3_WR_CMD_TO_ERROR)
16958 #define F_CL3_WR_CMD_TO_ERROR V_CL3_WR_CMD_TO_ERROR(1U)
16960 #define S_CL2_WR_CMD_TO_ERROR 18
16961 #define V_CL2_WR_CMD_TO_ERROR(x) ((x) << S_CL2_WR_CMD_TO_ERROR)
16962 #define F_CL2_WR_CMD_TO_ERROR V_CL2_WR_CMD_TO_ERROR(1U)
16964 #define S_CL1_WR_CMD_TO_ERROR 17
16965 #define V_CL1_WR_CMD_TO_ERROR(x) ((x) << S_CL1_WR_CMD_TO_ERROR)
16966 #define F_CL1_WR_CMD_TO_ERROR V_CL1_WR_CMD_TO_ERROR(1U)
16968 #define S_CL0_WR_CMD_TO_ERROR 16
16969 #define V_CL0_WR_CMD_TO_ERROR(x) ((x) << S_CL0_WR_CMD_TO_ERROR)
16970 #define F_CL0_WR_CMD_TO_ERROR V_CL0_WR_CMD_TO_ERROR(1U)
16972 #define S_CL12_WR_DATA_TO_ERROR 12
16973 #define V_CL12_WR_DATA_TO_ERROR(x) ((x) << S_CL12_WR_DATA_TO_ERROR)
16974 #define F_CL12_WR_DATA_TO_ERROR V_CL12_WR_DATA_TO_ERROR(1U)
16976 #define S_CL11_WR_DATA_TO_ERROR 11
16977 #define V_CL11_WR_DATA_TO_ERROR(x) ((x) << S_CL11_WR_DATA_TO_ERROR)
16978 #define F_CL11_WR_DATA_TO_ERROR V_CL11_WR_DATA_TO_ERROR(1U)
16980 #define S_CL10_WR_DATA_TO_ERROR 10
16981 #define V_CL10_WR_DATA_TO_ERROR(x) ((x) << S_CL10_WR_DATA_TO_ERROR)
16982 #define F_CL10_WR_DATA_TO_ERROR V_CL10_WR_DATA_TO_ERROR(1U)
16984 #define S_CL9_WR_DATA_TO_ERROR 9
16985 #define V_CL9_WR_DATA_TO_ERROR(x) ((x) << S_CL9_WR_DATA_TO_ERROR)
16986 #define F_CL9_WR_DATA_TO_ERROR V_CL9_WR_DATA_TO_ERROR(1U)
16988 #define S_CL8_WR_DATA_TO_ERROR 8
16989 #define V_CL8_WR_DATA_TO_ERROR(x) ((x) << S_CL8_WR_DATA_TO_ERROR)
16990 #define F_CL8_WR_DATA_TO_ERROR V_CL8_WR_DATA_TO_ERROR(1U)
16992 #define S_CL7_WR_DATA_TO_ERROR 7
16993 #define V_CL7_WR_DATA_TO_ERROR(x) ((x) << S_CL7_WR_DATA_TO_ERROR)
16994 #define F_CL7_WR_DATA_TO_ERROR V_CL7_WR_DATA_TO_ERROR(1U)
16996 #define S_CL6_WR_DATA_TO_ERROR 6
16997 #define V_CL6_WR_DATA_TO_ERROR(x) ((x) << S_CL6_WR_DATA_TO_ERROR)
16998 #define F_CL6_WR_DATA_TO_ERROR V_CL6_WR_DATA_TO_ERROR(1U)
17000 #define S_CL5_WR_DATA_TO_ERROR 5
17001 #define V_CL5_WR_DATA_TO_ERROR(x) ((x) << S_CL5_WR_DATA_TO_ERROR)
17002 #define F_CL5_WR_DATA_TO_ERROR V_CL5_WR_DATA_TO_ERROR(1U)
17004 #define S_CL4_WR_DATA_TO_ERROR 4
17005 #define V_CL4_WR_DATA_TO_ERROR(x) ((x) << S_CL4_WR_DATA_TO_ERROR)
17006 #define F_CL4_WR_DATA_TO_ERROR V_CL4_WR_DATA_TO_ERROR(1U)
17008 #define S_CL3_WR_DATA_TO_ERROR 3
17009 #define V_CL3_WR_DATA_TO_ERROR(x) ((x) << S_CL3_WR_DATA_TO_ERROR)
17010 #define F_CL3_WR_DATA_TO_ERROR V_CL3_WR_DATA_TO_ERROR(1U)
17012 #define S_CL2_WR_DATA_TO_ERROR 2
17013 #define V_CL2_WR_DATA_TO_ERROR(x) ((x) << S_CL2_WR_DATA_TO_ERROR)
17014 #define F_CL2_WR_DATA_TO_ERROR V_CL2_WR_DATA_TO_ERROR(1U)
17016 #define S_CL1_WR_DATA_TO_ERROR 1
17017 #define V_CL1_WR_DATA_TO_ERROR(x) ((x) << S_CL1_WR_DATA_TO_ERROR)
17018 #define F_CL1_WR_DATA_TO_ERROR V_CL1_WR_DATA_TO_ERROR(1U)
17020 #define S_CL0_WR_DATA_TO_ERROR 0
17021 #define V_CL0_WR_DATA_TO_ERROR(x) ((x) << S_CL0_WR_DATA_TO_ERROR)
17022 #define F_CL0_WR_DATA_TO_ERROR V_CL0_WR_DATA_TO_ERROR(1U)
17024 #define S_FUTURE_CEXPANSION_WTS 29
17025 #define M_FUTURE_CEXPANSION_WTS 0x7U
17026 #define V_FUTURE_CEXPANSION_WTS(x) ((x) << S_FUTURE_CEXPANSION_WTS)
17027 #define G_FUTURE_CEXPANSION_WTS(x) (((x) >> S_FUTURE_CEXPANSION_WTS) & M_FUTURE_CEXPANSION_WTS)
17029 #define S_FUTURE_DEXPANSION_WTS 13
17030 #define M_FUTURE_DEXPANSION_WTS 0x7U
17031 #define V_FUTURE_DEXPANSION_WTS(x) ((x) << S_FUTURE_DEXPANSION_WTS)
17032 #define G_FUTURE_DEXPANSION_WTS(x) (((x) >> S_FUTURE_DEXPANSION_WTS) & M_FUTURE_DEXPANSION_WTS)
17034 #define A_MA_READ_TIMEOUT_ERROR_ENABLE 0x78dc
17036 #define S_CL12_RD_CMD_TO_EN 28
17037 #define V_CL12_RD_CMD_TO_EN(x) ((x) << S_CL12_RD_CMD_TO_EN)
17038 #define F_CL12_RD_CMD_TO_EN V_CL12_RD_CMD_TO_EN(1U)
17040 #define S_CL11_RD_CMD_TO_EN 27
17041 #define V_CL11_RD_CMD_TO_EN(x) ((x) << S_CL11_RD_CMD_TO_EN)
17042 #define F_CL11_RD_CMD_TO_EN V_CL11_RD_CMD_TO_EN(1U)
17044 #define S_CL10_RD_CMD_TO_EN 26
17045 #define V_CL10_RD_CMD_TO_EN(x) ((x) << S_CL10_RD_CMD_TO_EN)
17046 #define F_CL10_RD_CMD_TO_EN V_CL10_RD_CMD_TO_EN(1U)
17048 #define S_CL9_RD_CMD_TO_EN 25
17049 #define V_CL9_RD_CMD_TO_EN(x) ((x) << S_CL9_RD_CMD_TO_EN)
17050 #define F_CL9_RD_CMD_TO_EN V_CL9_RD_CMD_TO_EN(1U)
17052 #define S_CL8_RD_CMD_TO_EN 24
17053 #define V_CL8_RD_CMD_TO_EN(x) ((x) << S_CL8_RD_CMD_TO_EN)
17054 #define F_CL8_RD_CMD_TO_EN V_CL8_RD_CMD_TO_EN(1U)
17056 #define S_CL7_RD_CMD_TO_EN 23
17057 #define V_CL7_RD_CMD_TO_EN(x) ((x) << S_CL7_RD_CMD_TO_EN)
17058 #define F_CL7_RD_CMD_TO_EN V_CL7_RD_CMD_TO_EN(1U)
17060 #define S_CL6_RD_CMD_TO_EN 22
17061 #define V_CL6_RD_CMD_TO_EN(x) ((x) << S_CL6_RD_CMD_TO_EN)
17062 #define F_CL6_RD_CMD_TO_EN V_CL6_RD_CMD_TO_EN(1U)
17064 #define S_CL5_RD_CMD_TO_EN 21
17065 #define V_CL5_RD_CMD_TO_EN(x) ((x) << S_CL5_RD_CMD_TO_EN)
17066 #define F_CL5_RD_CMD_TO_EN V_CL5_RD_CMD_TO_EN(1U)
17068 #define S_CL4_RD_CMD_TO_EN 20
17069 #define V_CL4_RD_CMD_TO_EN(x) ((x) << S_CL4_RD_CMD_TO_EN)
17070 #define F_CL4_RD_CMD_TO_EN V_CL4_RD_CMD_TO_EN(1U)
17072 #define S_CL3_RD_CMD_TO_EN 19
17073 #define V_CL3_RD_CMD_TO_EN(x) ((x) << S_CL3_RD_CMD_TO_EN)
17074 #define F_CL3_RD_CMD_TO_EN V_CL3_RD_CMD_TO_EN(1U)
17076 #define S_CL2_RD_CMD_TO_EN 18
17077 #define V_CL2_RD_CMD_TO_EN(x) ((x) << S_CL2_RD_CMD_TO_EN)
17078 #define F_CL2_RD_CMD_TO_EN V_CL2_RD_CMD_TO_EN(1U)
17080 #define S_CL1_RD_CMD_TO_EN 17
17081 #define V_CL1_RD_CMD_TO_EN(x) ((x) << S_CL1_RD_CMD_TO_EN)
17082 #define F_CL1_RD_CMD_TO_EN V_CL1_RD_CMD_TO_EN(1U)
17084 #define S_CL0_RD_CMD_TO_EN 16
17085 #define V_CL0_RD_CMD_TO_EN(x) ((x) << S_CL0_RD_CMD_TO_EN)
17086 #define F_CL0_RD_CMD_TO_EN V_CL0_RD_CMD_TO_EN(1U)
17088 #define S_CL12_RD_DATA_TO_EN 12
17089 #define V_CL12_RD_DATA_TO_EN(x) ((x) << S_CL12_RD_DATA_TO_EN)
17090 #define F_CL12_RD_DATA_TO_EN V_CL12_RD_DATA_TO_EN(1U)
17092 #define S_CL11_RD_DATA_TO_EN 11
17093 #define V_CL11_RD_DATA_TO_EN(x) ((x) << S_CL11_RD_DATA_TO_EN)
17094 #define F_CL11_RD_DATA_TO_EN V_CL11_RD_DATA_TO_EN(1U)
17096 #define S_CL10_RD_DATA_TO_EN 10
17097 #define V_CL10_RD_DATA_TO_EN(x) ((x) << S_CL10_RD_DATA_TO_EN)
17098 #define F_CL10_RD_DATA_TO_EN V_CL10_RD_DATA_TO_EN(1U)
17100 #define S_CL9_RD_DATA_TO_EN 9
17101 #define V_CL9_RD_DATA_TO_EN(x) ((x) << S_CL9_RD_DATA_TO_EN)
17102 #define F_CL9_RD_DATA_TO_EN V_CL9_RD_DATA_TO_EN(1U)
17104 #define S_CL8_RD_DATA_TO_EN 8
17105 #define V_CL8_RD_DATA_TO_EN(x) ((x) << S_CL8_RD_DATA_TO_EN)
17106 #define F_CL8_RD_DATA_TO_EN V_CL8_RD_DATA_TO_EN(1U)
17108 #define S_CL7_RD_DATA_TO_EN 7
17109 #define V_CL7_RD_DATA_TO_EN(x) ((x) << S_CL7_RD_DATA_TO_EN)
17110 #define F_CL7_RD_DATA_TO_EN V_CL7_RD_DATA_TO_EN(1U)
17112 #define S_CL6_RD_DATA_TO_EN 6
17113 #define V_CL6_RD_DATA_TO_EN(x) ((x) << S_CL6_RD_DATA_TO_EN)
17114 #define F_CL6_RD_DATA_TO_EN V_CL6_RD_DATA_TO_EN(1U)
17116 #define S_CL5_RD_DATA_TO_EN 5
17117 #define V_CL5_RD_DATA_TO_EN(x) ((x) << S_CL5_RD_DATA_TO_EN)
17118 #define F_CL5_RD_DATA_TO_EN V_CL5_RD_DATA_TO_EN(1U)
17120 #define S_CL4_RD_DATA_TO_EN 4
17121 #define V_CL4_RD_DATA_TO_EN(x) ((x) << S_CL4_RD_DATA_TO_EN)
17122 #define F_CL4_RD_DATA_TO_EN V_CL4_RD_DATA_TO_EN(1U)
17124 #define S_CL3_RD_DATA_TO_EN 3
17125 #define V_CL3_RD_DATA_TO_EN(x) ((x) << S_CL3_RD_DATA_TO_EN)
17126 #define F_CL3_RD_DATA_TO_EN V_CL3_RD_DATA_TO_EN(1U)
17128 #define S_CL2_RD_DATA_TO_EN 2
17129 #define V_CL2_RD_DATA_TO_EN(x) ((x) << S_CL2_RD_DATA_TO_EN)
17130 #define F_CL2_RD_DATA_TO_EN V_CL2_RD_DATA_TO_EN(1U)
17132 #define S_CL1_RD_DATA_TO_EN 1
17133 #define V_CL1_RD_DATA_TO_EN(x) ((x) << S_CL1_RD_DATA_TO_EN)
17134 #define F_CL1_RD_DATA_TO_EN V_CL1_RD_DATA_TO_EN(1U)
17136 #define S_CL0_RD_DATA_TO_EN 0
17137 #define V_CL0_RD_DATA_TO_EN(x) ((x) << S_CL0_RD_DATA_TO_EN)
17138 #define F_CL0_RD_DATA_TO_EN V_CL0_RD_DATA_TO_EN(1U)
17140 #define S_FUTURE_CEXPANSION_RTE 29
17141 #define M_FUTURE_CEXPANSION_RTE 0x7U
17142 #define V_FUTURE_CEXPANSION_RTE(x) ((x) << S_FUTURE_CEXPANSION_RTE)
17143 #define G_FUTURE_CEXPANSION_RTE(x) (((x) >> S_FUTURE_CEXPANSION_RTE) & M_FUTURE_CEXPANSION_RTE)
17145 #define S_FUTURE_DEXPANSION_RTE 13
17146 #define M_FUTURE_DEXPANSION_RTE 0x7U
17147 #define V_FUTURE_DEXPANSION_RTE(x) ((x) << S_FUTURE_DEXPANSION_RTE)
17148 #define G_FUTURE_DEXPANSION_RTE(x) (((x) >> S_FUTURE_DEXPANSION_RTE) & M_FUTURE_DEXPANSION_RTE)
17150 #define A_MA_READ_TIMEOUT_ERROR_STATUS 0x78e0
17152 #define S_CL12_RD_CMD_TO_ERROR 28
17153 #define V_CL12_RD_CMD_TO_ERROR(x) ((x) << S_CL12_RD_CMD_TO_ERROR)
17154 #define F_CL12_RD_CMD_TO_ERROR V_CL12_RD_CMD_TO_ERROR(1U)
17156 #define S_CL11_RD_CMD_TO_ERROR 27
17157 #define V_CL11_RD_CMD_TO_ERROR(x) ((x) << S_CL11_RD_CMD_TO_ERROR)
17158 #define F_CL11_RD_CMD_TO_ERROR V_CL11_RD_CMD_TO_ERROR(1U)
17160 #define S_CL10_RD_CMD_TO_ERROR 26
17161 #define V_CL10_RD_CMD_TO_ERROR(x) ((x) << S_CL10_RD_CMD_TO_ERROR)
17162 #define F_CL10_RD_CMD_TO_ERROR V_CL10_RD_CMD_TO_ERROR(1U)
17164 #define S_CL9_RD_CMD_TO_ERROR 25
17165 #define V_CL9_RD_CMD_TO_ERROR(x) ((x) << S_CL9_RD_CMD_TO_ERROR)
17166 #define F_CL9_RD_CMD_TO_ERROR V_CL9_RD_CMD_TO_ERROR(1U)
17168 #define S_CL8_RD_CMD_TO_ERROR 24
17169 #define V_CL8_RD_CMD_TO_ERROR(x) ((x) << S_CL8_RD_CMD_TO_ERROR)
17170 #define F_CL8_RD_CMD_TO_ERROR V_CL8_RD_CMD_TO_ERROR(1U)
17172 #define S_CL7_RD_CMD_TO_ERROR 23
17173 #define V_CL7_RD_CMD_TO_ERROR(x) ((x) << S_CL7_RD_CMD_TO_ERROR)
17174 #define F_CL7_RD_CMD_TO_ERROR V_CL7_RD_CMD_TO_ERROR(1U)
17176 #define S_CL6_RD_CMD_TO_ERROR 22
17177 #define V_CL6_RD_CMD_TO_ERROR(x) ((x) << S_CL6_RD_CMD_TO_ERROR)
17178 #define F_CL6_RD_CMD_TO_ERROR V_CL6_RD_CMD_TO_ERROR(1U)
17180 #define S_CL5_RD_CMD_TO_ERROR 21
17181 #define V_CL5_RD_CMD_TO_ERROR(x) ((x) << S_CL5_RD_CMD_TO_ERROR)
17182 #define F_CL5_RD_CMD_TO_ERROR V_CL5_RD_CMD_TO_ERROR(1U)
17184 #define S_CL4_RD_CMD_TO_ERROR 20
17185 #define V_CL4_RD_CMD_TO_ERROR(x) ((x) << S_CL4_RD_CMD_TO_ERROR)
17186 #define F_CL4_RD_CMD_TO_ERROR V_CL4_RD_CMD_TO_ERROR(1U)
17188 #define S_CL3_RD_CMD_TO_ERROR 19
17189 #define V_CL3_RD_CMD_TO_ERROR(x) ((x) << S_CL3_RD_CMD_TO_ERROR)
17190 #define F_CL3_RD_CMD_TO_ERROR V_CL3_RD_CMD_TO_ERROR(1U)
17192 #define S_CL2_RD_CMD_TO_ERROR 18
17193 #define V_CL2_RD_CMD_TO_ERROR(x) ((x) << S_CL2_RD_CMD_TO_ERROR)
17194 #define F_CL2_RD_CMD_TO_ERROR V_CL2_RD_CMD_TO_ERROR(1U)
17196 #define S_CL1_RD_CMD_TO_ERROR 17
17197 #define V_CL1_RD_CMD_TO_ERROR(x) ((x) << S_CL1_RD_CMD_TO_ERROR)
17198 #define F_CL1_RD_CMD_TO_ERROR V_CL1_RD_CMD_TO_ERROR(1U)
17200 #define S_CL0_RD_CMD_TO_ERROR 16
17201 #define V_CL0_RD_CMD_TO_ERROR(x) ((x) << S_CL0_RD_CMD_TO_ERROR)
17202 #define F_CL0_RD_CMD_TO_ERROR V_CL0_RD_CMD_TO_ERROR(1U)
17204 #define S_CL12_RD_DATA_TO_ERROR 12
17205 #define V_CL12_RD_DATA_TO_ERROR(x) ((x) << S_CL12_RD_DATA_TO_ERROR)
17206 #define F_CL12_RD_DATA_TO_ERROR V_CL12_RD_DATA_TO_ERROR(1U)
17208 #define S_CL11_RD_DATA_TO_ERROR 11
17209 #define V_CL11_RD_DATA_TO_ERROR(x) ((x) << S_CL11_RD_DATA_TO_ERROR)
17210 #define F_CL11_RD_DATA_TO_ERROR V_CL11_RD_DATA_TO_ERROR(1U)
17212 #define S_CL10_RD_DATA_TO_ERROR 10
17213 #define V_CL10_RD_DATA_TO_ERROR(x) ((x) << S_CL10_RD_DATA_TO_ERROR)
17214 #define F_CL10_RD_DATA_TO_ERROR V_CL10_RD_DATA_TO_ERROR(1U)
17216 #define S_CL9_RD_DATA_TO_ERROR 9
17217 #define V_CL9_RD_DATA_TO_ERROR(x) ((x) << S_CL9_RD_DATA_TO_ERROR)
17218 #define F_CL9_RD_DATA_TO_ERROR V_CL9_RD_DATA_TO_ERROR(1U)
17220 #define S_CL8_RD_DATA_TO_ERROR 8
17221 #define V_CL8_RD_DATA_TO_ERROR(x) ((x) << S_CL8_RD_DATA_TO_ERROR)
17222 #define F_CL8_RD_DATA_TO_ERROR V_CL8_RD_DATA_TO_ERROR(1U)
17224 #define S_CL7_RD_DATA_TO_ERROR 7
17225 #define V_CL7_RD_DATA_TO_ERROR(x) ((x) << S_CL7_RD_DATA_TO_ERROR)
17226 #define F_CL7_RD_DATA_TO_ERROR V_CL7_RD_DATA_TO_ERROR(1U)
17228 #define S_CL6_RD_DATA_TO_ERROR 6
17229 #define V_CL6_RD_DATA_TO_ERROR(x) ((x) << S_CL6_RD_DATA_TO_ERROR)
17230 #define F_CL6_RD_DATA_TO_ERROR V_CL6_RD_DATA_TO_ERROR(1U)
17232 #define S_CL5_RD_DATA_TO_ERROR 5
17233 #define V_CL5_RD_DATA_TO_ERROR(x) ((x) << S_CL5_RD_DATA_TO_ERROR)
17234 #define F_CL5_RD_DATA_TO_ERROR V_CL5_RD_DATA_TO_ERROR(1U)
17236 #define S_CL4_RD_DATA_TO_ERROR 4
17237 #define V_CL4_RD_DATA_TO_ERROR(x) ((x) << S_CL4_RD_DATA_TO_ERROR)
17238 #define F_CL4_RD_DATA_TO_ERROR V_CL4_RD_DATA_TO_ERROR(1U)
17240 #define S_CL3_RD_DATA_TO_ERROR 3
17241 #define V_CL3_RD_DATA_TO_ERROR(x) ((x) << S_CL3_RD_DATA_TO_ERROR)
17242 #define F_CL3_RD_DATA_TO_ERROR V_CL3_RD_DATA_TO_ERROR(1U)
17244 #define S_CL2_RD_DATA_TO_ERROR 2
17245 #define V_CL2_RD_DATA_TO_ERROR(x) ((x) << S_CL2_RD_DATA_TO_ERROR)
17246 #define F_CL2_RD_DATA_TO_ERROR V_CL2_RD_DATA_TO_ERROR(1U)
17248 #define S_CL1_RD_DATA_TO_ERROR 1
17249 #define V_CL1_RD_DATA_TO_ERROR(x) ((x) << S_CL1_RD_DATA_TO_ERROR)
17250 #define F_CL1_RD_DATA_TO_ERROR V_CL1_RD_DATA_TO_ERROR(1U)
17252 #define S_CL0_RD_DATA_TO_ERROR 0
17253 #define V_CL0_RD_DATA_TO_ERROR(x) ((x) << S_CL0_RD_DATA_TO_ERROR)
17254 #define F_CL0_RD_DATA_TO_ERROR V_CL0_RD_DATA_TO_ERROR(1U)
17256 #define S_FUTURE_CEXPANSION_RTS 29
17257 #define M_FUTURE_CEXPANSION_RTS 0x7U
17258 #define V_FUTURE_CEXPANSION_RTS(x) ((x) << S_FUTURE_CEXPANSION_RTS)
17259 #define G_FUTURE_CEXPANSION_RTS(x) (((x) >> S_FUTURE_CEXPANSION_RTS) & M_FUTURE_CEXPANSION_RTS)
17261 #define S_FUTURE_DEXPANSION_RTS 13
17262 #define M_FUTURE_DEXPANSION_RTS 0x7U
17263 #define V_FUTURE_DEXPANSION_RTS(x) ((x) << S_FUTURE_DEXPANSION_RTS)
17264 #define G_FUTURE_DEXPANSION_RTS(x) (((x) >> S_FUTURE_DEXPANSION_RTS) & M_FUTURE_DEXPANSION_RTS)
17266 #define A_MA_BKP_CNT_SEL 0x78e4
17268 #define S_BKP_CNT_TYPE 30
17269 #define M_BKP_CNT_TYPE 0x3U
17270 #define V_BKP_CNT_TYPE(x) ((x) << S_BKP_CNT_TYPE)
17271 #define G_BKP_CNT_TYPE(x) (((x) >> S_BKP_CNT_TYPE) & M_BKP_CNT_TYPE)
17273 #define S_BKP_CLIENT 24
17274 #define M_BKP_CLIENT 0xfU
17275 #define V_BKP_CLIENT(x) ((x) << S_BKP_CLIENT)
17276 #define G_BKP_CLIENT(x) (((x) >> S_BKP_CLIENT) & M_BKP_CLIENT)
17278 #define A_MA_BKP_CNT 0x78e8
17279 #define A_MA_WRT_ARB 0x78ec
17281 #define S_WRT_EN 31
17282 #define V_WRT_EN(x) ((x) << S_WRT_EN)
17283 #define F_WRT_EN V_WRT_EN(1U)
17285 #define S_WR_TIM 16
17286 #define M_WR_TIM 0xffU
17287 #define V_WR_TIM(x) ((x) << S_WR_TIM)
17288 #define G_WR_TIM(x) (((x) >> S_WR_TIM) & M_WR_TIM)
17291 #define M_RD_WIN 0xffU
17292 #define V_RD_WIN(x) ((x) << S_RD_WIN)
17293 #define G_RD_WIN(x) (((x) >> S_RD_WIN) & M_RD_WIN)
17296 #define M_WR_WIN 0xffU
17297 #define V_WR_WIN(x) ((x) << S_WR_WIN)
17298 #define G_WR_WIN(x) (((x) >> S_WR_WIN) & M_WR_WIN)
17300 #define A_MA_IF_PARITY_ERROR_ENABLE 0x78f0
17302 #define S_T5_FUTURE_DEXPANSION 13
17303 #define M_T5_FUTURE_DEXPANSION 0x7ffffU
17304 #define V_T5_FUTURE_DEXPANSION(x) ((x) << S_T5_FUTURE_DEXPANSION)
17305 #define G_T5_FUTURE_DEXPANSION(x) (((x) >> S_T5_FUTURE_DEXPANSION) & M_T5_FUTURE_DEXPANSION)
17307 #define S_CL12_IF_PAR_EN 12
17308 #define V_CL12_IF_PAR_EN(x) ((x) << S_CL12_IF_PAR_EN)
17309 #define F_CL12_IF_PAR_EN V_CL12_IF_PAR_EN(1U)
17311 #define S_CL11_IF_PAR_EN 11
17312 #define V_CL11_IF_PAR_EN(x) ((x) << S_CL11_IF_PAR_EN)
17313 #define F_CL11_IF_PAR_EN V_CL11_IF_PAR_EN(1U)
17315 #define S_CL10_IF_PAR_EN 10
17316 #define V_CL10_IF_PAR_EN(x) ((x) << S_CL10_IF_PAR_EN)
17317 #define F_CL10_IF_PAR_EN V_CL10_IF_PAR_EN(1U)
17319 #define S_CL9_IF_PAR_EN 9
17320 #define V_CL9_IF_PAR_EN(x) ((x) << S_CL9_IF_PAR_EN)
17321 #define F_CL9_IF_PAR_EN V_CL9_IF_PAR_EN(1U)
17323 #define S_CL8_IF_PAR_EN 8
17324 #define V_CL8_IF_PAR_EN(x) ((x) << S_CL8_IF_PAR_EN)
17325 #define F_CL8_IF_PAR_EN V_CL8_IF_PAR_EN(1U)
17327 #define S_CL7_IF_PAR_EN 7
17328 #define V_CL7_IF_PAR_EN(x) ((x) << S_CL7_IF_PAR_EN)
17329 #define F_CL7_IF_PAR_EN V_CL7_IF_PAR_EN(1U)
17331 #define S_CL6_IF_PAR_EN 6
17332 #define V_CL6_IF_PAR_EN(x) ((x) << S_CL6_IF_PAR_EN)
17333 #define F_CL6_IF_PAR_EN V_CL6_IF_PAR_EN(1U)
17335 #define S_CL5_IF_PAR_EN 5
17336 #define V_CL5_IF_PAR_EN(x) ((x) << S_CL5_IF_PAR_EN)
17337 #define F_CL5_IF_PAR_EN V_CL5_IF_PAR_EN(1U)
17339 #define S_CL4_IF_PAR_EN 4
17340 #define V_CL4_IF_PAR_EN(x) ((x) << S_CL4_IF_PAR_EN)
17341 #define F_CL4_IF_PAR_EN V_CL4_IF_PAR_EN(1U)
17343 #define S_CL3_IF_PAR_EN 3
17344 #define V_CL3_IF_PAR_EN(x) ((x) << S_CL3_IF_PAR_EN)
17345 #define F_CL3_IF_PAR_EN V_CL3_IF_PAR_EN(1U)
17347 #define S_CL2_IF_PAR_EN 2
17348 #define V_CL2_IF_PAR_EN(x) ((x) << S_CL2_IF_PAR_EN)
17349 #define F_CL2_IF_PAR_EN V_CL2_IF_PAR_EN(1U)
17351 #define S_CL1_IF_PAR_EN 1
17352 #define V_CL1_IF_PAR_EN(x) ((x) << S_CL1_IF_PAR_EN)
17353 #define F_CL1_IF_PAR_EN V_CL1_IF_PAR_EN(1U)
17355 #define S_CL0_IF_PAR_EN 0
17356 #define V_CL0_IF_PAR_EN(x) ((x) << S_CL0_IF_PAR_EN)
17357 #define F_CL0_IF_PAR_EN V_CL0_IF_PAR_EN(1U)
17359 #define S_FUTURE_DEXPANSION_IPE 13
17360 #define M_FUTURE_DEXPANSION_IPE 0x7ffffU
17361 #define V_FUTURE_DEXPANSION_IPE(x) ((x) << S_FUTURE_DEXPANSION_IPE)
17362 #define G_FUTURE_DEXPANSION_IPE(x) (((x) >> S_FUTURE_DEXPANSION_IPE) & M_FUTURE_DEXPANSION_IPE)
17364 #define A_MA_IF_PARITY_ERROR_STATUS 0x78f4
17366 #define S_T5_FUTURE_DEXPANSION 13
17367 #define M_T5_FUTURE_DEXPANSION 0x7ffffU
17368 #define V_T5_FUTURE_DEXPANSION(x) ((x) << S_T5_FUTURE_DEXPANSION)
17369 #define G_T5_FUTURE_DEXPANSION(x) (((x) >> S_T5_FUTURE_DEXPANSION) & M_T5_FUTURE_DEXPANSION)
17371 #define S_CL12_IF_PAR_ERROR 12
17372 #define V_CL12_IF_PAR_ERROR(x) ((x) << S_CL12_IF_PAR_ERROR)
17373 #define F_CL12_IF_PAR_ERROR V_CL12_IF_PAR_ERROR(1U)
17375 #define S_CL11_IF_PAR_ERROR 11
17376 #define V_CL11_IF_PAR_ERROR(x) ((x) << S_CL11_IF_PAR_ERROR)
17377 #define F_CL11_IF_PAR_ERROR V_CL11_IF_PAR_ERROR(1U)
17379 #define S_CL10_IF_PAR_ERROR 10
17380 #define V_CL10_IF_PAR_ERROR(x) ((x) << S_CL10_IF_PAR_ERROR)
17381 #define F_CL10_IF_PAR_ERROR V_CL10_IF_PAR_ERROR(1U)
17383 #define S_CL9_IF_PAR_ERROR 9
17384 #define V_CL9_IF_PAR_ERROR(x) ((x) << S_CL9_IF_PAR_ERROR)
17385 #define F_CL9_IF_PAR_ERROR V_CL9_IF_PAR_ERROR(1U)
17387 #define S_CL8_IF_PAR_ERROR 8
17388 #define V_CL8_IF_PAR_ERROR(x) ((x) << S_CL8_IF_PAR_ERROR)
17389 #define F_CL8_IF_PAR_ERROR V_CL8_IF_PAR_ERROR(1U)
17391 #define S_CL7_IF_PAR_ERROR 7
17392 #define V_CL7_IF_PAR_ERROR(x) ((x) << S_CL7_IF_PAR_ERROR)
17393 #define F_CL7_IF_PAR_ERROR V_CL7_IF_PAR_ERROR(1U)
17395 #define S_CL6_IF_PAR_ERROR 6
17396 #define V_CL6_IF_PAR_ERROR(x) ((x) << S_CL6_IF_PAR_ERROR)
17397 #define F_CL6_IF_PAR_ERROR V_CL6_IF_PAR_ERROR(1U)
17399 #define S_CL5_IF_PAR_ERROR 5
17400 #define V_CL5_IF_PAR_ERROR(x) ((x) << S_CL5_IF_PAR_ERROR)
17401 #define F_CL5_IF_PAR_ERROR V_CL5_IF_PAR_ERROR(1U)
17403 #define S_CL4_IF_PAR_ERROR 4
17404 #define V_CL4_IF_PAR_ERROR(x) ((x) << S_CL4_IF_PAR_ERROR)
17405 #define F_CL4_IF_PAR_ERROR V_CL4_IF_PAR_ERROR(1U)
17407 #define S_CL3_IF_PAR_ERROR 3
17408 #define V_CL3_IF_PAR_ERROR(x) ((x) << S_CL3_IF_PAR_ERROR)
17409 #define F_CL3_IF_PAR_ERROR V_CL3_IF_PAR_ERROR(1U)
17411 #define S_CL2_IF_PAR_ERROR 2
17412 #define V_CL2_IF_PAR_ERROR(x) ((x) << S_CL2_IF_PAR_ERROR)
17413 #define F_CL2_IF_PAR_ERROR V_CL2_IF_PAR_ERROR(1U)
17415 #define S_CL1_IF_PAR_ERROR 1
17416 #define V_CL1_IF_PAR_ERROR(x) ((x) << S_CL1_IF_PAR_ERROR)
17417 #define F_CL1_IF_PAR_ERROR V_CL1_IF_PAR_ERROR(1U)
17419 #define S_CL0_IF_PAR_ERROR 0
17420 #define V_CL0_IF_PAR_ERROR(x) ((x) << S_CL0_IF_PAR_ERROR)
17421 #define F_CL0_IF_PAR_ERROR V_CL0_IF_PAR_ERROR(1U)
17423 #define S_FUTURE_DEXPANSION_IPS 13
17424 #define M_FUTURE_DEXPANSION_IPS 0x7ffffU
17425 #define V_FUTURE_DEXPANSION_IPS(x) ((x) << S_FUTURE_DEXPANSION_IPS)
17426 #define G_FUTURE_DEXPANSION_IPS(x) (((x) >> S_FUTURE_DEXPANSION_IPS) & M_FUTURE_DEXPANSION_IPS)
17428 #define A_MA_LOCAL_DEBUG_CFG 0x78f8
17430 #define S_DEBUG_OR 15
17431 #define V_DEBUG_OR(x) ((x) << S_DEBUG_OR)
17432 #define F_DEBUG_OR V_DEBUG_OR(1U)
17434 #define S_DEBUG_HI 14
17435 #define V_DEBUG_HI(x) ((x) << S_DEBUG_HI)
17436 #define F_DEBUG_HI V_DEBUG_HI(1U)
17438 #define S_DEBUG_RPT 13
17439 #define V_DEBUG_RPT(x) ((x) << S_DEBUG_RPT)
17440 #define F_DEBUG_RPT V_DEBUG_RPT(1U)
17442 #define S_DEBUGPAGE 10
17443 #define M_DEBUGPAGE 0x7U
17444 #define V_DEBUGPAGE(x) ((x) << S_DEBUGPAGE)
17445 #define G_DEBUGPAGE(x) (((x) >> S_DEBUGPAGE) & M_DEBUGPAGE)
17447 #define A_MA_LOCAL_DEBUG_RPT 0x78fc
17448 #define A_MA_SGE_THREAD_0_CLIENT_INTERFACE_EXTERNAL 0xa000
17450 #define S_CMDVLD0 31
17451 #define V_CMDVLD0(x) ((x) << S_CMDVLD0)
17452 #define F_CMDVLD0 V_CMDVLD0(1U)
17454 #define S_CMDRDY0 30
17455 #define V_CMDRDY0(x) ((x) << S_CMDRDY0)
17456 #define F_CMDRDY0 V_CMDRDY0(1U)
17458 #define S_CMDTYPE0 29
17459 #define V_CMDTYPE0(x) ((x) << S_CMDTYPE0)
17460 #define F_CMDTYPE0 V_CMDTYPE0(1U)
17462 #define S_CMDLEN0 21
17463 #define M_CMDLEN0 0xffU
17464 #define V_CMDLEN0(x) ((x) << S_CMDLEN0)
17465 #define G_CMDLEN0(x) (((x) >> S_CMDLEN0) & M_CMDLEN0)
17467 #define S_CMDADDR0 8
17468 #define M_CMDADDR0 0x1fffU
17469 #define V_CMDADDR0(x) ((x) << S_CMDADDR0)
17470 #define G_CMDADDR0(x) (((x) >> S_CMDADDR0) & M_CMDADDR0)
17472 #define S_WRDATAVLD0 7
17473 #define V_WRDATAVLD0(x) ((x) << S_WRDATAVLD0)
17474 #define F_WRDATAVLD0 V_WRDATAVLD0(1U)
17476 #define S_WRDATARDY0 6
17477 #define V_WRDATARDY0(x) ((x) << S_WRDATARDY0)
17478 #define F_WRDATARDY0 V_WRDATARDY0(1U)
17480 #define S_RDDATARDY0 5
17481 #define V_RDDATARDY0(x) ((x) << S_RDDATARDY0)
17482 #define F_RDDATARDY0 V_RDDATARDY0(1U)
17484 #define S_RDDATAVLD0 4
17485 #define V_RDDATAVLD0(x) ((x) << S_RDDATAVLD0)
17486 #define F_RDDATAVLD0 V_RDDATAVLD0(1U)
17488 #define S_RDDATA0 0
17489 #define M_RDDATA0 0xfU
17490 #define V_RDDATA0(x) ((x) << S_RDDATA0)
17491 #define G_RDDATA0(x) (((x) >> S_RDDATA0) & M_RDDATA0)
17493 #define A_MA_SGE_THREAD_1_CLIENT_INTERFACE_EXTERNAL 0xa001
17495 #define S_CMDVLD1 31
17496 #define V_CMDVLD1(x) ((x) << S_CMDVLD1)
17497 #define F_CMDVLD1 V_CMDVLD1(1U)
17499 #define S_CMDRDY1 30
17500 #define V_CMDRDY1(x) ((x) << S_CMDRDY1)
17501 #define F_CMDRDY1 V_CMDRDY1(1U)
17503 #define S_CMDTYPE1 29
17504 #define V_CMDTYPE1(x) ((x) << S_CMDTYPE1)
17505 #define F_CMDTYPE1 V_CMDTYPE1(1U)
17507 #define S_CMDLEN1 21
17508 #define M_CMDLEN1 0xffU
17509 #define V_CMDLEN1(x) ((x) << S_CMDLEN1)
17510 #define G_CMDLEN1(x) (((x) >> S_CMDLEN1) & M_CMDLEN1)
17512 #define S_CMDADDR1 8
17513 #define M_CMDADDR1 0x1fffU
17514 #define V_CMDADDR1(x) ((x) << S_CMDADDR1)
17515 #define G_CMDADDR1(x) (((x) >> S_CMDADDR1) & M_CMDADDR1)
17517 #define S_WRDATAVLD1 7
17518 #define V_WRDATAVLD1(x) ((x) << S_WRDATAVLD1)
17519 #define F_WRDATAVLD1 V_WRDATAVLD1(1U)
17521 #define S_WRDATARDY1 6
17522 #define V_WRDATARDY1(x) ((x) << S_WRDATARDY1)
17523 #define F_WRDATARDY1 V_WRDATARDY1(1U)
17525 #define S_RDDATARDY1 5
17526 #define V_RDDATARDY1(x) ((x) << S_RDDATARDY1)
17527 #define F_RDDATARDY1 V_RDDATARDY1(1U)
17529 #define S_RDDATAVLD1 4
17530 #define V_RDDATAVLD1(x) ((x) << S_RDDATAVLD1)
17531 #define F_RDDATAVLD1 V_RDDATAVLD1(1U)
17533 #define S_RDDATA1 0
17534 #define M_RDDATA1 0xfU
17535 #define V_RDDATA1(x) ((x) << S_RDDATA1)
17536 #define G_RDDATA1(x) (((x) >> S_RDDATA1) & M_RDDATA1)
17538 #define A_MA_ULP_TX_CLIENT_INTERFACE_EXTERNAL 0xa002
17540 #define S_CMDVLD2 31
17541 #define V_CMDVLD2(x) ((x) << S_CMDVLD2)
17542 #define F_CMDVLD2 V_CMDVLD2(1U)
17544 #define S_CMDRDY2 30
17545 #define V_CMDRDY2(x) ((x) << S_CMDRDY2)
17546 #define F_CMDRDY2 V_CMDRDY2(1U)
17548 #define S_CMDTYPE2 29
17549 #define V_CMDTYPE2(x) ((x) << S_CMDTYPE2)
17550 #define F_CMDTYPE2 V_CMDTYPE2(1U)
17552 #define S_CMDLEN2 21
17553 #define M_CMDLEN2 0xffU
17554 #define V_CMDLEN2(x) ((x) << S_CMDLEN2)
17555 #define G_CMDLEN2(x) (((x) >> S_CMDLEN2) & M_CMDLEN2)
17557 #define S_CMDADDR2 8
17558 #define M_CMDADDR2 0x1fffU
17559 #define V_CMDADDR2(x) ((x) << S_CMDADDR2)
17560 #define G_CMDADDR2(x) (((x) >> S_CMDADDR2) & M_CMDADDR2)
17562 #define S_WRDATAVLD2 7
17563 #define V_WRDATAVLD2(x) ((x) << S_WRDATAVLD2)
17564 #define F_WRDATAVLD2 V_WRDATAVLD2(1U)
17566 #define S_WRDATARDY2 6
17567 #define V_WRDATARDY2(x) ((x) << S_WRDATARDY2)
17568 #define F_WRDATARDY2 V_WRDATARDY2(1U)
17570 #define S_RDDATARDY2 5
17571 #define V_RDDATARDY2(x) ((x) << S_RDDATARDY2)
17572 #define F_RDDATARDY2 V_RDDATARDY2(1U)
17574 #define S_RDDATAVLD2 4
17575 #define V_RDDATAVLD2(x) ((x) << S_RDDATAVLD2)
17576 #define F_RDDATAVLD2 V_RDDATAVLD2(1U)
17578 #define S_RDDATA2 0
17579 #define M_RDDATA2 0xfU
17580 #define V_RDDATA2(x) ((x) << S_RDDATA2)
17581 #define G_RDDATA2(x) (((x) >> S_RDDATA2) & M_RDDATA2)
17583 #define A_MA_ULP_RX_CLIENT_INTERFACE_EXTERNAL 0xa003
17585 #define S_CMDVLD3 31
17586 #define V_CMDVLD3(x) ((x) << S_CMDVLD3)
17587 #define F_CMDVLD3 V_CMDVLD3(1U)
17589 #define S_CMDRDY3 30
17590 #define V_CMDRDY3(x) ((x) << S_CMDRDY3)
17591 #define F_CMDRDY3 V_CMDRDY3(1U)
17593 #define S_CMDTYPE3 29
17594 #define V_CMDTYPE3(x) ((x) << S_CMDTYPE3)
17595 #define F_CMDTYPE3 V_CMDTYPE3(1U)
17597 #define S_CMDLEN3 21
17598 #define M_CMDLEN3 0xffU
17599 #define V_CMDLEN3(x) ((x) << S_CMDLEN3)
17600 #define G_CMDLEN3(x) (((x) >> S_CMDLEN3) & M_CMDLEN3)
17602 #define S_CMDADDR3 8
17603 #define M_CMDADDR3 0x1fffU
17604 #define V_CMDADDR3(x) ((x) << S_CMDADDR3)
17605 #define G_CMDADDR3(x) (((x) >> S_CMDADDR3) & M_CMDADDR3)
17607 #define S_WRDATAVLD3 7
17608 #define V_WRDATAVLD3(x) ((x) << S_WRDATAVLD3)
17609 #define F_WRDATAVLD3 V_WRDATAVLD3(1U)
17611 #define S_WRDATARDY3 6
17612 #define V_WRDATARDY3(x) ((x) << S_WRDATARDY3)
17613 #define F_WRDATARDY3 V_WRDATARDY3(1U)
17615 #define S_RDDATARDY3 5
17616 #define V_RDDATARDY3(x) ((x) << S_RDDATARDY3)
17617 #define F_RDDATARDY3 V_RDDATARDY3(1U)
17619 #define S_RDDATAVLD3 4
17620 #define V_RDDATAVLD3(x) ((x) << S_RDDATAVLD3)
17621 #define F_RDDATAVLD3 V_RDDATAVLD3(1U)
17623 #define S_RDDATA3 0
17624 #define M_RDDATA3 0xfU
17625 #define V_RDDATA3(x) ((x) << S_RDDATA3)
17626 #define G_RDDATA3(x) (((x) >> S_RDDATA3) & M_RDDATA3)
17628 #define A_MA_ULP_TX_RX_CLIENT_INTERFACE_EXTERNAL 0xa004
17630 #define S_CMDVLD4 31
17631 #define V_CMDVLD4(x) ((x) << S_CMDVLD4)
17632 #define F_CMDVLD4 V_CMDVLD4(1U)
17634 #define S_CMDRDY4 30
17635 #define V_CMDRDY4(x) ((x) << S_CMDRDY4)
17636 #define F_CMDRDY4 V_CMDRDY4(1U)
17638 #define S_CMDTYPE4 29
17639 #define V_CMDTYPE4(x) ((x) << S_CMDTYPE4)
17640 #define F_CMDTYPE4 V_CMDTYPE4(1U)
17642 #define S_CMDLEN4 21
17643 #define M_CMDLEN4 0xffU
17644 #define V_CMDLEN4(x) ((x) << S_CMDLEN4)
17645 #define G_CMDLEN4(x) (((x) >> S_CMDLEN4) & M_CMDLEN4)
17647 #define S_CMDADDR4 8
17648 #define M_CMDADDR4 0x1fffU
17649 #define V_CMDADDR4(x) ((x) << S_CMDADDR4)
17650 #define G_CMDADDR4(x) (((x) >> S_CMDADDR4) & M_CMDADDR4)
17652 #define S_WRDATAVLD4 7
17653 #define V_WRDATAVLD4(x) ((x) << S_WRDATAVLD4)
17654 #define F_WRDATAVLD4 V_WRDATAVLD4(1U)
17656 #define S_WRDATARDY4 6
17657 #define V_WRDATARDY4(x) ((x) << S_WRDATARDY4)
17658 #define F_WRDATARDY4 V_WRDATARDY4(1U)
17660 #define S_RDDATARDY4 5
17661 #define V_RDDATARDY4(x) ((x) << S_RDDATARDY4)
17662 #define F_RDDATARDY4 V_RDDATARDY4(1U)
17664 #define S_RDDATAVLD4 4
17665 #define V_RDDATAVLD4(x) ((x) << S_RDDATAVLD4)
17666 #define F_RDDATAVLD4 V_RDDATAVLD4(1U)
17668 #define S_RDDATA4 0
17669 #define M_RDDATA4 0xfU
17670 #define V_RDDATA4(x) ((x) << S_RDDATA4)
17671 #define G_RDDATA4(x) (((x) >> S_RDDATA4) & M_RDDATA4)
17673 #define A_MA_TP_THREAD_0_CLIENT_INTERFACE_EXTERNAL 0xa005
17675 #define S_CMDVLD5 31
17676 #define V_CMDVLD5(x) ((x) << S_CMDVLD5)
17677 #define F_CMDVLD5 V_CMDVLD5(1U)
17679 #define S_CMDRDY5 30
17680 #define V_CMDRDY5(x) ((x) << S_CMDRDY5)
17681 #define F_CMDRDY5 V_CMDRDY5(1U)
17683 #define S_CMDTYPE5 29
17684 #define V_CMDTYPE5(x) ((x) << S_CMDTYPE5)
17685 #define F_CMDTYPE5 V_CMDTYPE5(1U)
17687 #define S_CMDLEN5 21
17688 #define M_CMDLEN5 0xffU
17689 #define V_CMDLEN5(x) ((x) << S_CMDLEN5)
17690 #define G_CMDLEN5(x) (((x) >> S_CMDLEN5) & M_CMDLEN5)
17692 #define S_CMDADDR5 8
17693 #define M_CMDADDR5 0x1fffU
17694 #define V_CMDADDR5(x) ((x) << S_CMDADDR5)
17695 #define G_CMDADDR5(x) (((x) >> S_CMDADDR5) & M_CMDADDR5)
17697 #define S_WRDATAVLD5 7
17698 #define V_WRDATAVLD5(x) ((x) << S_WRDATAVLD5)
17699 #define F_WRDATAVLD5 V_WRDATAVLD5(1U)
17701 #define S_WRDATARDY5 6
17702 #define V_WRDATARDY5(x) ((x) << S_WRDATARDY5)
17703 #define F_WRDATARDY5 V_WRDATARDY5(1U)
17705 #define S_RDDATARDY5 5
17706 #define V_RDDATARDY5(x) ((x) << S_RDDATARDY5)
17707 #define F_RDDATARDY5 V_RDDATARDY5(1U)
17709 #define S_RDDATAVLD5 4
17710 #define V_RDDATAVLD5(x) ((x) << S_RDDATAVLD5)
17711 #define F_RDDATAVLD5 V_RDDATAVLD5(1U)
17713 #define S_RDDATA5 0
17714 #define M_RDDATA5 0xfU
17715 #define V_RDDATA5(x) ((x) << S_RDDATA5)
17716 #define G_RDDATA5(x) (((x) >> S_RDDATA5) & M_RDDATA5)
17718 #define A_MA_TP_THREAD_1_CLIENT_INTERFACE_EXTERNAL 0xa006
17720 #define S_CMDVLD6 31
17721 #define V_CMDVLD6(x) ((x) << S_CMDVLD6)
17722 #define F_CMDVLD6 V_CMDVLD6(1U)
17724 #define S_CMDRDY6 30
17725 #define V_CMDRDY6(x) ((x) << S_CMDRDY6)
17726 #define F_CMDRDY6 V_CMDRDY6(1U)
17728 #define S_CMDTYPE6 29
17729 #define V_CMDTYPE6(x) ((x) << S_CMDTYPE6)
17730 #define F_CMDTYPE6 V_CMDTYPE6(1U)
17732 #define S_CMDLEN6 21
17733 #define M_CMDLEN6 0xffU
17734 #define V_CMDLEN6(x) ((x) << S_CMDLEN6)
17735 #define G_CMDLEN6(x) (((x) >> S_CMDLEN6) & M_CMDLEN6)
17737 #define S_CMDADDR6 8
17738 #define M_CMDADDR6 0x1fffU
17739 #define V_CMDADDR6(x) ((x) << S_CMDADDR6)
17740 #define G_CMDADDR6(x) (((x) >> S_CMDADDR6) & M_CMDADDR6)
17742 #define S_WRDATAVLD6 7
17743 #define V_WRDATAVLD6(x) ((x) << S_WRDATAVLD6)
17744 #define F_WRDATAVLD6 V_WRDATAVLD6(1U)
17746 #define S_WRDATARDY6 6
17747 #define V_WRDATARDY6(x) ((x) << S_WRDATARDY6)
17748 #define F_WRDATARDY6 V_WRDATARDY6(1U)
17750 #define S_RDDATARDY6 5
17751 #define V_RDDATARDY6(x) ((x) << S_RDDATARDY6)
17752 #define F_RDDATARDY6 V_RDDATARDY6(1U)
17754 #define S_RDDATAVLD6 4
17755 #define V_RDDATAVLD6(x) ((x) << S_RDDATAVLD6)
17756 #define F_RDDATAVLD6 V_RDDATAVLD6(1U)
17758 #define S_RDDATA6 0
17759 #define M_RDDATA6 0xfU
17760 #define V_RDDATA6(x) ((x) << S_RDDATA6)
17761 #define G_RDDATA6(x) (((x) >> S_RDDATA6) & M_RDDATA6)
17763 #define A_MA_LE_CLIENT_INTERFACE_EXTERNAL 0xa007
17765 #define S_CMDVLD7 31
17766 #define V_CMDVLD7(x) ((x) << S_CMDVLD7)
17767 #define F_CMDVLD7 V_CMDVLD7(1U)
17769 #define S_CMDRDY7 30
17770 #define V_CMDRDY7(x) ((x) << S_CMDRDY7)
17771 #define F_CMDRDY7 V_CMDRDY7(1U)
17773 #define S_CMDTYPE7 29
17774 #define V_CMDTYPE7(x) ((x) << S_CMDTYPE7)
17775 #define F_CMDTYPE7 V_CMDTYPE7(1U)
17777 #define S_CMDLEN7 21
17778 #define M_CMDLEN7 0xffU
17779 #define V_CMDLEN7(x) ((x) << S_CMDLEN7)
17780 #define G_CMDLEN7(x) (((x) >> S_CMDLEN7) & M_CMDLEN7)
17782 #define S_CMDADDR7 8
17783 #define M_CMDADDR7 0x1fffU
17784 #define V_CMDADDR7(x) ((x) << S_CMDADDR7)
17785 #define G_CMDADDR7(x) (((x) >> S_CMDADDR7) & M_CMDADDR7)
17787 #define S_WRDATAVLD7 7
17788 #define V_WRDATAVLD7(x) ((x) << S_WRDATAVLD7)
17789 #define F_WRDATAVLD7 V_WRDATAVLD7(1U)
17791 #define S_WRDATARDY7 6
17792 #define V_WRDATARDY7(x) ((x) << S_WRDATARDY7)
17793 #define F_WRDATARDY7 V_WRDATARDY7(1U)
17795 #define S_RDDATARDY7 5
17796 #define V_RDDATARDY7(x) ((x) << S_RDDATARDY7)
17797 #define F_RDDATARDY7 V_RDDATARDY7(1U)
17799 #define S_RDDATAVLD7 4
17800 #define V_RDDATAVLD7(x) ((x) << S_RDDATAVLD7)
17801 #define F_RDDATAVLD7 V_RDDATAVLD7(1U)
17803 #define S_RDDATA7 0
17804 #define M_RDDATA7 0xfU
17805 #define V_RDDATA7(x) ((x) << S_RDDATA7)
17806 #define G_RDDATA7(x) (((x) >> S_RDDATA7) & M_RDDATA7)
17808 #define A_MA_CIM_CLIENT_INTERFACE_EXTERNAL 0xa008
17810 #define S_CMDVLD8 31
17811 #define V_CMDVLD8(x) ((x) << S_CMDVLD8)
17812 #define F_CMDVLD8 V_CMDVLD8(1U)
17814 #define S_CMDRDY8 30
17815 #define V_CMDRDY8(x) ((x) << S_CMDRDY8)
17816 #define F_CMDRDY8 V_CMDRDY8(1U)
17818 #define S_CMDTYPE8 29
17819 #define V_CMDTYPE8(x) ((x) << S_CMDTYPE8)
17820 #define F_CMDTYPE8 V_CMDTYPE8(1U)
17822 #define S_CMDLEN8 21
17823 #define M_CMDLEN8 0xffU
17824 #define V_CMDLEN8(x) ((x) << S_CMDLEN8)
17825 #define G_CMDLEN8(x) (((x) >> S_CMDLEN8) & M_CMDLEN8)
17827 #define S_CMDADDR8 8
17828 #define M_CMDADDR8 0x1fffU
17829 #define V_CMDADDR8(x) ((x) << S_CMDADDR8)
17830 #define G_CMDADDR8(x) (((x) >> S_CMDADDR8) & M_CMDADDR8)
17832 #define S_WRDATAVLD8 7
17833 #define V_WRDATAVLD8(x) ((x) << S_WRDATAVLD8)
17834 #define F_WRDATAVLD8 V_WRDATAVLD8(1U)
17836 #define S_WRDATARDY8 6
17837 #define V_WRDATARDY8(x) ((x) << S_WRDATARDY8)
17838 #define F_WRDATARDY8 V_WRDATARDY8(1U)
17840 #define S_RDDATARDY8 5
17841 #define V_RDDATARDY8(x) ((x) << S_RDDATARDY8)
17842 #define F_RDDATARDY8 V_RDDATARDY8(1U)
17844 #define S_RDDATAVLD8 4
17845 #define V_RDDATAVLD8(x) ((x) << S_RDDATAVLD8)
17846 #define F_RDDATAVLD8 V_RDDATAVLD8(1U)
17848 #define S_RDDATA8 0
17849 #define M_RDDATA8 0xfU
17850 #define V_RDDATA8(x) ((x) << S_RDDATA8)
17851 #define G_RDDATA8(x) (((x) >> S_RDDATA8) & M_RDDATA8)
17853 #define A_MA_PCIE_CLIENT_INTERFACE_EXTERNAL 0xa009
17855 #define S_CMDVLD9 31
17856 #define V_CMDVLD9(x) ((x) << S_CMDVLD9)
17857 #define F_CMDVLD9 V_CMDVLD9(1U)
17859 #define S_CMDRDY9 30
17860 #define V_CMDRDY9(x) ((x) << S_CMDRDY9)
17861 #define F_CMDRDY9 V_CMDRDY9(1U)
17863 #define S_CMDTYPE9 29
17864 #define V_CMDTYPE9(x) ((x) << S_CMDTYPE9)
17865 #define F_CMDTYPE9 V_CMDTYPE9(1U)
17867 #define S_CMDLEN9 21
17868 #define M_CMDLEN9 0xffU
17869 #define V_CMDLEN9(x) ((x) << S_CMDLEN9)
17870 #define G_CMDLEN9(x) (((x) >> S_CMDLEN9) & M_CMDLEN9)
17872 #define S_CMDADDR9 8
17873 #define M_CMDADDR9 0x1fffU
17874 #define V_CMDADDR9(x) ((x) << S_CMDADDR9)
17875 #define G_CMDADDR9(x) (((x) >> S_CMDADDR9) & M_CMDADDR9)
17877 #define S_WRDATAVLD9 7
17878 #define V_WRDATAVLD9(x) ((x) << S_WRDATAVLD9)
17879 #define F_WRDATAVLD9 V_WRDATAVLD9(1U)
17881 #define S_WRDATARDY9 6
17882 #define V_WRDATARDY9(x) ((x) << S_WRDATARDY9)
17883 #define F_WRDATARDY9 V_WRDATARDY9(1U)
17885 #define S_RDDATARDY9 5
17886 #define V_RDDATARDY9(x) ((x) << S_RDDATARDY9)
17887 #define F_RDDATARDY9 V_RDDATARDY9(1U)
17889 #define S_RDDATAVLD9 4
17890 #define V_RDDATAVLD9(x) ((x) << S_RDDATAVLD9)
17891 #define F_RDDATAVLD9 V_RDDATAVLD9(1U)
17893 #define S_RDDATA9 0
17894 #define M_RDDATA9 0xfU
17895 #define V_RDDATA9(x) ((x) << S_RDDATA9)
17896 #define G_RDDATA9(x) (((x) >> S_RDDATA9) & M_RDDATA9)
17898 #define A_MA_PM_TX_CLIENT_INTERFACE_EXTERNAL 0xa00a
17900 #define S_CMDVLD10 31
17901 #define V_CMDVLD10(x) ((x) << S_CMDVLD10)
17902 #define F_CMDVLD10 V_CMDVLD10(1U)
17904 #define S_CMDRDY10 30
17905 #define V_CMDRDY10(x) ((x) << S_CMDRDY10)
17906 #define F_CMDRDY10 V_CMDRDY10(1U)
17908 #define S_CMDTYPE10 29
17909 #define V_CMDTYPE10(x) ((x) << S_CMDTYPE10)
17910 #define F_CMDTYPE10 V_CMDTYPE10(1U)
17912 #define S_CMDLEN10 21
17913 #define M_CMDLEN10 0xffU
17914 #define V_CMDLEN10(x) ((x) << S_CMDLEN10)
17915 #define G_CMDLEN10(x) (((x) >> S_CMDLEN10) & M_CMDLEN10)
17917 #define S_CMDADDR10 8
17918 #define M_CMDADDR10 0x1fffU
17919 #define V_CMDADDR10(x) ((x) << S_CMDADDR10)
17920 #define G_CMDADDR10(x) (((x) >> S_CMDADDR10) & M_CMDADDR10)
17922 #define S_WRDATAVLD10 7
17923 #define V_WRDATAVLD10(x) ((x) << S_WRDATAVLD10)
17924 #define F_WRDATAVLD10 V_WRDATAVLD10(1U)
17926 #define S_WRDATARDY10 6
17927 #define V_WRDATARDY10(x) ((x) << S_WRDATARDY10)
17928 #define F_WRDATARDY10 V_WRDATARDY10(1U)
17930 #define S_RDDATARDY10 5
17931 #define V_RDDATARDY10(x) ((x) << S_RDDATARDY10)
17932 #define F_RDDATARDY10 V_RDDATARDY10(1U)
17934 #define S_RDDATAVLD10 4
17935 #define V_RDDATAVLD10(x) ((x) << S_RDDATAVLD10)
17936 #define F_RDDATAVLD10 V_RDDATAVLD10(1U)
17938 #define S_RDDATA10 0
17939 #define M_RDDATA10 0xfU
17940 #define V_RDDATA10(x) ((x) << S_RDDATA10)
17941 #define G_RDDATA10(x) (((x) >> S_RDDATA10) & M_RDDATA10)
17943 #define A_MA_PM_RX_CLIENT_INTERFACE_EXTERNAL 0xa00b
17945 #define S_CMDVLD11 31
17946 #define V_CMDVLD11(x) ((x) << S_CMDVLD11)
17947 #define F_CMDVLD11 V_CMDVLD11(1U)
17949 #define S_CMDRDY11 30
17950 #define V_CMDRDY11(x) ((x) << S_CMDRDY11)
17951 #define F_CMDRDY11 V_CMDRDY11(1U)
17953 #define S_CMDTYPE11 29
17954 #define V_CMDTYPE11(x) ((x) << S_CMDTYPE11)
17955 #define F_CMDTYPE11 V_CMDTYPE11(1U)
17957 #define S_CMDLEN11 21
17958 #define M_CMDLEN11 0xffU
17959 #define V_CMDLEN11(x) ((x) << S_CMDLEN11)
17960 #define G_CMDLEN11(x) (((x) >> S_CMDLEN11) & M_CMDLEN11)
17962 #define S_CMDADDR11 8
17963 #define M_CMDADDR11 0x1fffU
17964 #define V_CMDADDR11(x) ((x) << S_CMDADDR11)
17965 #define G_CMDADDR11(x) (((x) >> S_CMDADDR11) & M_CMDADDR11)
17967 #define S_WRDATAVLD11 7
17968 #define V_WRDATAVLD11(x) ((x) << S_WRDATAVLD11)
17969 #define F_WRDATAVLD11 V_WRDATAVLD11(1U)
17971 #define S_WRDATARDY11 6
17972 #define V_WRDATARDY11(x) ((x) << S_WRDATARDY11)
17973 #define F_WRDATARDY11 V_WRDATARDY11(1U)
17975 #define S_RDDATARDY11 5
17976 #define V_RDDATARDY11(x) ((x) << S_RDDATARDY11)
17977 #define F_RDDATARDY11 V_RDDATARDY11(1U)
17979 #define S_RDDATAVLD11 4
17980 #define V_RDDATAVLD11(x) ((x) << S_RDDATAVLD11)
17981 #define F_RDDATAVLD11 V_RDDATAVLD11(1U)
17983 #define S_RDDATA11 0
17984 #define M_RDDATA11 0xfU
17985 #define V_RDDATA11(x) ((x) << S_RDDATA11)
17986 #define G_RDDATA11(x) (((x) >> S_RDDATA11) & M_RDDATA11)
17988 #define A_MA_HMA_CLIENT_INTERFACE_EXTERNAL 0xa00c
17990 #define S_CMDVLD12 31
17991 #define V_CMDVLD12(x) ((x) << S_CMDVLD12)
17992 #define F_CMDVLD12 V_CMDVLD12(1U)
17994 #define S_CMDRDY12 30
17995 #define V_CMDRDY12(x) ((x) << S_CMDRDY12)
17996 #define F_CMDRDY12 V_CMDRDY12(1U)
17998 #define S_CMDTYPE12 29
17999 #define V_CMDTYPE12(x) ((x) << S_CMDTYPE12)
18000 #define F_CMDTYPE12 V_CMDTYPE12(1U)
18002 #define S_CMDLEN12 21
18003 #define M_CMDLEN12 0xffU
18004 #define V_CMDLEN12(x) ((x) << S_CMDLEN12)
18005 #define G_CMDLEN12(x) (((x) >> S_CMDLEN12) & M_CMDLEN12)
18007 #define S_CMDADDR12 8
18008 #define M_CMDADDR12 0x1fffU
18009 #define V_CMDADDR12(x) ((x) << S_CMDADDR12)
18010 #define G_CMDADDR12(x) (((x) >> S_CMDADDR12) & M_CMDADDR12)
18012 #define S_WRDATAVLD12 7
18013 #define V_WRDATAVLD12(x) ((x) << S_WRDATAVLD12)
18014 #define F_WRDATAVLD12 V_WRDATAVLD12(1U)
18016 #define S_WRDATARDY12 6
18017 #define V_WRDATARDY12(x) ((x) << S_WRDATARDY12)
18018 #define F_WRDATARDY12 V_WRDATARDY12(1U)
18020 #define S_RDDATARDY12 5
18021 #define V_RDDATARDY12(x) ((x) << S_RDDATARDY12)
18022 #define F_RDDATARDY12 V_RDDATARDY12(1U)
18024 #define S_RDDATAVLD12 4
18025 #define V_RDDATAVLD12(x) ((x) << S_RDDATAVLD12)
18026 #define F_RDDATAVLD12 V_RDDATAVLD12(1U)
18028 #define S_RDDATA12 0
18029 #define M_RDDATA12 0xfU
18030 #define V_RDDATA12(x) ((x) << S_RDDATA12)
18031 #define G_RDDATA12(x) (((x) >> S_RDDATA12) & M_RDDATA12)
18033 #define A_MA_TARGET_0_ARBITER_INTERFACE_EXTERNAL_REG0 0xa00d
18035 #define S_CI0_ARB0_REQ 31
18036 #define V_CI0_ARB0_REQ(x) ((x) << S_CI0_ARB0_REQ)
18037 #define F_CI0_ARB0_REQ V_CI0_ARB0_REQ(1U)
18039 #define S_ARB0_CI0_GNT 30
18040 #define V_ARB0_CI0_GNT(x) ((x) << S_ARB0_CI0_GNT)
18041 #define F_ARB0_CI0_GNT V_ARB0_CI0_GNT(1U)
18043 #define S_CI0_DM0_WDATA_VLD 29
18044 #define V_CI0_DM0_WDATA_VLD(x) ((x) << S_CI0_DM0_WDATA_VLD)
18045 #define F_CI0_DM0_WDATA_VLD V_CI0_DM0_WDATA_VLD(1U)
18047 #define S_DM0_CI0_RDATA_VLD 28
18048 #define V_DM0_CI0_RDATA_VLD(x) ((x) << S_DM0_CI0_RDATA_VLD)
18049 #define F_DM0_CI0_RDATA_VLD V_DM0_CI0_RDATA_VLD(1U)
18051 #define S_CI1_ARB0_REQ 27
18052 #define V_CI1_ARB0_REQ(x) ((x) << S_CI1_ARB0_REQ)
18053 #define F_CI1_ARB0_REQ V_CI1_ARB0_REQ(1U)
18055 #define S_ARB0_CI1_GNT 26
18056 #define V_ARB0_CI1_GNT(x) ((x) << S_ARB0_CI1_GNT)
18057 #define F_ARB0_CI1_GNT V_ARB0_CI1_GNT(1U)
18059 #define S_CI1_DM0_WDATA_VLD 25
18060 #define V_CI1_DM0_WDATA_VLD(x) ((x) << S_CI1_DM0_WDATA_VLD)
18061 #define F_CI1_DM0_WDATA_VLD V_CI1_DM0_WDATA_VLD(1U)
18063 #define S_DM0_CI1_RDATA_VLD 24
18064 #define V_DM0_CI1_RDATA_VLD(x) ((x) << S_DM0_CI1_RDATA_VLD)
18065 #define F_DM0_CI1_RDATA_VLD V_DM0_CI1_RDATA_VLD(1U)
18067 #define S_CI2_ARB0_REQ 23
18068 #define V_CI2_ARB0_REQ(x) ((x) << S_CI2_ARB0_REQ)
18069 #define F_CI2_ARB0_REQ V_CI2_ARB0_REQ(1U)
18071 #define S_ARB0_CI2_GNT 22
18072 #define V_ARB0_CI2_GNT(x) ((x) << S_ARB0_CI2_GNT)
18073 #define F_ARB0_CI2_GNT V_ARB0_CI2_GNT(1U)
18075 #define S_CI2_DM0_WDATA_VLD 21
18076 #define V_CI2_DM0_WDATA_VLD(x) ((x) << S_CI2_DM0_WDATA_VLD)
18077 #define F_CI2_DM0_WDATA_VLD V_CI2_DM0_WDATA_VLD(1U)
18079 #define S_DM0_CI2_RDATA_VLD 20
18080 #define V_DM0_CI2_RDATA_VLD(x) ((x) << S_DM0_CI2_RDATA_VLD)
18081 #define F_DM0_CI2_RDATA_VLD V_DM0_CI2_RDATA_VLD(1U)
18083 #define S_CI3_ARB0_REQ 19
18084 #define V_CI3_ARB0_REQ(x) ((x) << S_CI3_ARB0_REQ)
18085 #define F_CI3_ARB0_REQ V_CI3_ARB0_REQ(1U)
18087 #define S_ARB0_CI3_GNT 18
18088 #define V_ARB0_CI3_GNT(x) ((x) << S_ARB0_CI3_GNT)
18089 #define F_ARB0_CI3_GNT V_ARB0_CI3_GNT(1U)
18091 #define S_CI3_DM0_WDATA_VLD 17
18092 #define V_CI3_DM0_WDATA_VLD(x) ((x) << S_CI3_DM0_WDATA_VLD)
18093 #define F_CI3_DM0_WDATA_VLD V_CI3_DM0_WDATA_VLD(1U)
18095 #define S_DM0_CI3_RDATA_VLD 16
18096 #define V_DM0_CI3_RDATA_VLD(x) ((x) << S_DM0_CI3_RDATA_VLD)
18097 #define F_DM0_CI3_RDATA_VLD V_DM0_CI3_RDATA_VLD(1U)
18099 #define S_CI4_ARB0_REQ 15
18100 #define V_CI4_ARB0_REQ(x) ((x) << S_CI4_ARB0_REQ)
18101 #define F_CI4_ARB0_REQ V_CI4_ARB0_REQ(1U)
18103 #define S_ARB0_CI4_GNT 14
18104 #define V_ARB0_CI4_GNT(x) ((x) << S_ARB0_CI4_GNT)
18105 #define F_ARB0_CI4_GNT V_ARB0_CI4_GNT(1U)
18107 #define S_CI4_DM0_WDATA_VLD 13
18108 #define V_CI4_DM0_WDATA_VLD(x) ((x) << S_CI4_DM0_WDATA_VLD)
18109 #define F_CI4_DM0_WDATA_VLD V_CI4_DM0_WDATA_VLD(1U)
18111 #define S_DM0_CI4_RDATA_VLD 12
18112 #define V_DM0_CI4_RDATA_VLD(x) ((x) << S_DM0_CI4_RDATA_VLD)
18113 #define F_DM0_CI4_RDATA_VLD V_DM0_CI4_RDATA_VLD(1U)
18115 #define S_CI5_ARB0_REQ 11
18116 #define V_CI5_ARB0_REQ(x) ((x) << S_CI5_ARB0_REQ)
18117 #define F_CI5_ARB0_REQ V_CI5_ARB0_REQ(1U)
18119 #define S_ARB0_CI5_GNT 10
18120 #define V_ARB0_CI5_GNT(x) ((x) << S_ARB0_CI5_GNT)
18121 #define F_ARB0_CI5_GNT V_ARB0_CI5_GNT(1U)
18123 #define S_CI5_DM0_WDATA_VLD 9
18124 #define V_CI5_DM0_WDATA_VLD(x) ((x) << S_CI5_DM0_WDATA_VLD)
18125 #define F_CI5_DM0_WDATA_VLD V_CI5_DM0_WDATA_VLD(1U)
18127 #define S_DM0_CI5_RDATA_VLD 8
18128 #define V_DM0_CI5_RDATA_VLD(x) ((x) << S_DM0_CI5_RDATA_VLD)
18129 #define F_DM0_CI5_RDATA_VLD V_DM0_CI5_RDATA_VLD(1U)
18131 #define S_CI6_ARB0_REQ 7
18132 #define V_CI6_ARB0_REQ(x) ((x) << S_CI6_ARB0_REQ)
18133 #define F_CI6_ARB0_REQ V_CI6_ARB0_REQ(1U)
18135 #define S_ARB0_CI6_GNT 6
18136 #define V_ARB0_CI6_GNT(x) ((x) << S_ARB0_CI6_GNT)
18137 #define F_ARB0_CI6_GNT V_ARB0_CI6_GNT(1U)
18139 #define S_CI6_DM0_WDATA_VLD 5
18140 #define V_CI6_DM0_WDATA_VLD(x) ((x) << S_CI6_DM0_WDATA_VLD)
18141 #define F_CI6_DM0_WDATA_VLD V_CI6_DM0_WDATA_VLD(1U)
18143 #define S_DM0_CI6_RDATA_VLD 4
18144 #define V_DM0_CI6_RDATA_VLD(x) ((x) << S_DM0_CI6_RDATA_VLD)
18145 #define F_DM0_CI6_RDATA_VLD V_DM0_CI6_RDATA_VLD(1U)
18147 #define S_CI7_ARB0_REQ 3
18148 #define V_CI7_ARB0_REQ(x) ((x) << S_CI7_ARB0_REQ)
18149 #define F_CI7_ARB0_REQ V_CI7_ARB0_REQ(1U)
18151 #define S_ARB0_CI7_GNT 2
18152 #define V_ARB0_CI7_GNT(x) ((x) << S_ARB0_CI7_GNT)
18153 #define F_ARB0_CI7_GNT V_ARB0_CI7_GNT(1U)
18155 #define S_CI7_DM0_WDATA_VLD 1
18156 #define V_CI7_DM0_WDATA_VLD(x) ((x) << S_CI7_DM0_WDATA_VLD)
18157 #define F_CI7_DM0_WDATA_VLD V_CI7_DM0_WDATA_VLD(1U)
18159 #define S_DM0_CI7_RDATA_VLD 0
18160 #define V_DM0_CI7_RDATA_VLD(x) ((x) << S_DM0_CI7_RDATA_VLD)
18161 #define F_DM0_CI7_RDATA_VLD V_DM0_CI7_RDATA_VLD(1U)
18163 #define A_MA_TARGET_1_ARBITER_INTERFACE_EXTERNAL_REG0 0xa00e
18165 #define S_CI0_ARB1_REQ 31
18166 #define V_CI0_ARB1_REQ(x) ((x) << S_CI0_ARB1_REQ)
18167 #define F_CI0_ARB1_REQ V_CI0_ARB1_REQ(1U)
18169 #define S_ARB1_CI0_GNT 30
18170 #define V_ARB1_CI0_GNT(x) ((x) << S_ARB1_CI0_GNT)
18171 #define F_ARB1_CI0_GNT V_ARB1_CI0_GNT(1U)
18173 #define S_CI0_DM1_WDATA_VLD 29
18174 #define V_CI0_DM1_WDATA_VLD(x) ((x) << S_CI0_DM1_WDATA_VLD)
18175 #define F_CI0_DM1_WDATA_VLD V_CI0_DM1_WDATA_VLD(1U)
18177 #define S_DM1_CI0_RDATA_VLD 28
18178 #define V_DM1_CI0_RDATA_VLD(x) ((x) << S_DM1_CI0_RDATA_VLD)
18179 #define F_DM1_CI0_RDATA_VLD V_DM1_CI0_RDATA_VLD(1U)
18181 #define S_CI1_ARB1_REQ 27
18182 #define V_CI1_ARB1_REQ(x) ((x) << S_CI1_ARB1_REQ)
18183 #define F_CI1_ARB1_REQ V_CI1_ARB1_REQ(1U)
18185 #define S_ARB1_CI1_GNT 26
18186 #define V_ARB1_CI1_GNT(x) ((x) << S_ARB1_CI1_GNT)
18187 #define F_ARB1_CI1_GNT V_ARB1_CI1_GNT(1U)
18189 #define S_CI1_DM1_WDATA_VLD 25
18190 #define V_CI1_DM1_WDATA_VLD(x) ((x) << S_CI1_DM1_WDATA_VLD)
18191 #define F_CI1_DM1_WDATA_VLD V_CI1_DM1_WDATA_VLD(1U)
18193 #define S_DM1_CI1_RDATA_VLD 24
18194 #define V_DM1_CI1_RDATA_VLD(x) ((x) << S_DM1_CI1_RDATA_VLD)
18195 #define F_DM1_CI1_RDATA_VLD V_DM1_CI1_RDATA_VLD(1U)
18197 #define S_CI2_ARB1_REQ 23
18198 #define V_CI2_ARB1_REQ(x) ((x) << S_CI2_ARB1_REQ)
18199 #define F_CI2_ARB1_REQ V_CI2_ARB1_REQ(1U)
18201 #define S_ARB1_CI2_GNT 22
18202 #define V_ARB1_CI2_GNT(x) ((x) << S_ARB1_CI2_GNT)
18203 #define F_ARB1_CI2_GNT V_ARB1_CI2_GNT(1U)
18205 #define S_CI2_DM1_WDATA_VLD 21
18206 #define V_CI2_DM1_WDATA_VLD(x) ((x) << S_CI2_DM1_WDATA_VLD)
18207 #define F_CI2_DM1_WDATA_VLD V_CI2_DM1_WDATA_VLD(1U)
18209 #define S_DM1_CI2_RDATA_VLD 20
18210 #define V_DM1_CI2_RDATA_VLD(x) ((x) << S_DM1_CI2_RDATA_VLD)
18211 #define F_DM1_CI2_RDATA_VLD V_DM1_CI2_RDATA_VLD(1U)
18213 #define S_CI3_ARB1_REQ 19
18214 #define V_CI3_ARB1_REQ(x) ((x) << S_CI3_ARB1_REQ)
18215 #define F_CI3_ARB1_REQ V_CI3_ARB1_REQ(1U)
18217 #define S_ARB1_CI3_GNT 18
18218 #define V_ARB1_CI3_GNT(x) ((x) << S_ARB1_CI3_GNT)
18219 #define F_ARB1_CI3_GNT V_ARB1_CI3_GNT(1U)
18221 #define S_CI3_DM1_WDATA_VLD 17
18222 #define V_CI3_DM1_WDATA_VLD(x) ((x) << S_CI3_DM1_WDATA_VLD)
18223 #define F_CI3_DM1_WDATA_VLD V_CI3_DM1_WDATA_VLD(1U)
18225 #define S_DM1_CI3_RDATA_VLD 16
18226 #define V_DM1_CI3_RDATA_VLD(x) ((x) << S_DM1_CI3_RDATA_VLD)
18227 #define F_DM1_CI3_RDATA_VLD V_DM1_CI3_RDATA_VLD(1U)
18229 #define S_CI4_ARB1_REQ 15
18230 #define V_CI4_ARB1_REQ(x) ((x) << S_CI4_ARB1_REQ)
18231 #define F_CI4_ARB1_REQ V_CI4_ARB1_REQ(1U)
18233 #define S_ARB1_CI4_GNT 14
18234 #define V_ARB1_CI4_GNT(x) ((x) << S_ARB1_CI4_GNT)
18235 #define F_ARB1_CI4_GNT V_ARB1_CI4_GNT(1U)
18237 #define S_CI4_DM1_WDATA_VLD 13
18238 #define V_CI4_DM1_WDATA_VLD(x) ((x) << S_CI4_DM1_WDATA_VLD)
18239 #define F_CI4_DM1_WDATA_VLD V_CI4_DM1_WDATA_VLD(1U)
18241 #define S_DM1_CI4_RDATA_VLD 12
18242 #define V_DM1_CI4_RDATA_VLD(x) ((x) << S_DM1_CI4_RDATA_VLD)
18243 #define F_DM1_CI4_RDATA_VLD V_DM1_CI4_RDATA_VLD(1U)
18245 #define S_CI5_ARB1_REQ 11
18246 #define V_CI5_ARB1_REQ(x) ((x) << S_CI5_ARB1_REQ)
18247 #define F_CI5_ARB1_REQ V_CI5_ARB1_REQ(1U)
18249 #define S_ARB1_CI5_GNT 10
18250 #define V_ARB1_CI5_GNT(x) ((x) << S_ARB1_CI5_GNT)
18251 #define F_ARB1_CI5_GNT V_ARB1_CI5_GNT(1U)
18253 #define S_CI5_DM1_WDATA_VLD 9
18254 #define V_CI5_DM1_WDATA_VLD(x) ((x) << S_CI5_DM1_WDATA_VLD)
18255 #define F_CI5_DM1_WDATA_VLD V_CI5_DM1_WDATA_VLD(1U)
18257 #define S_DM1_CI5_RDATA_VLD 8
18258 #define V_DM1_CI5_RDATA_VLD(x) ((x) << S_DM1_CI5_RDATA_VLD)
18259 #define F_DM1_CI5_RDATA_VLD V_DM1_CI5_RDATA_VLD(1U)
18261 #define S_CI6_ARB1_REQ 7
18262 #define V_CI6_ARB1_REQ(x) ((x) << S_CI6_ARB1_REQ)
18263 #define F_CI6_ARB1_REQ V_CI6_ARB1_REQ(1U)
18265 #define S_ARB1_CI6_GNT 6
18266 #define V_ARB1_CI6_GNT(x) ((x) << S_ARB1_CI6_GNT)
18267 #define F_ARB1_CI6_GNT V_ARB1_CI6_GNT(1U)
18269 #define S_CI6_DM1_WDATA_VLD 5
18270 #define V_CI6_DM1_WDATA_VLD(x) ((x) << S_CI6_DM1_WDATA_VLD)
18271 #define F_CI6_DM1_WDATA_VLD V_CI6_DM1_WDATA_VLD(1U)
18273 #define S_DM1_CI6_RDATA_VLD 4
18274 #define V_DM1_CI6_RDATA_VLD(x) ((x) << S_DM1_CI6_RDATA_VLD)
18275 #define F_DM1_CI6_RDATA_VLD V_DM1_CI6_RDATA_VLD(1U)
18277 #define S_CI7_ARB1_REQ 3
18278 #define V_CI7_ARB1_REQ(x) ((x) << S_CI7_ARB1_REQ)
18279 #define F_CI7_ARB1_REQ V_CI7_ARB1_REQ(1U)
18281 #define S_ARB1_CI7_GNT 2
18282 #define V_ARB1_CI7_GNT(x) ((x) << S_ARB1_CI7_GNT)
18283 #define F_ARB1_CI7_GNT V_ARB1_CI7_GNT(1U)
18285 #define S_CI7_DM1_WDATA_VLD 1
18286 #define V_CI7_DM1_WDATA_VLD(x) ((x) << S_CI7_DM1_WDATA_VLD)
18287 #define F_CI7_DM1_WDATA_VLD V_CI7_DM1_WDATA_VLD(1U)
18289 #define S_DM1_CI7_RDATA_VLD 0
18290 #define V_DM1_CI7_RDATA_VLD(x) ((x) << S_DM1_CI7_RDATA_VLD)
18291 #define F_DM1_CI7_RDATA_VLD V_DM1_CI7_RDATA_VLD(1U)
18293 #define A_MA_TARGET_2_ARBITER_INTERFACE_EXTERNAL_REG0 0xa00f
18295 #define S_CI0_ARB2_REQ 31
18296 #define V_CI0_ARB2_REQ(x) ((x) << S_CI0_ARB2_REQ)
18297 #define F_CI0_ARB2_REQ V_CI0_ARB2_REQ(1U)
18299 #define S_ARB2_CI0_GNT 30
18300 #define V_ARB2_CI0_GNT(x) ((x) << S_ARB2_CI0_GNT)
18301 #define F_ARB2_CI0_GNT V_ARB2_CI0_GNT(1U)
18303 #define S_CI0_DM2_WDATA_VLD 29
18304 #define V_CI0_DM2_WDATA_VLD(x) ((x) << S_CI0_DM2_WDATA_VLD)
18305 #define F_CI0_DM2_WDATA_VLD V_CI0_DM2_WDATA_VLD(1U)
18307 #define S_DM2_CI0_RDATA_VLD 28
18308 #define V_DM2_CI0_RDATA_VLD(x) ((x) << S_DM2_CI0_RDATA_VLD)
18309 #define F_DM2_CI0_RDATA_VLD V_DM2_CI0_RDATA_VLD(1U)
18311 #define S_CI1_ARB2_REQ 27
18312 #define V_CI1_ARB2_REQ(x) ((x) << S_CI1_ARB2_REQ)
18313 #define F_CI1_ARB2_REQ V_CI1_ARB2_REQ(1U)
18315 #define S_ARB2_CI1_GNT 26
18316 #define V_ARB2_CI1_GNT(x) ((x) << S_ARB2_CI1_GNT)
18317 #define F_ARB2_CI1_GNT V_ARB2_CI1_GNT(1U)
18319 #define S_CI1_DM2_WDATA_VLD 25
18320 #define V_CI1_DM2_WDATA_VLD(x) ((x) << S_CI1_DM2_WDATA_VLD)
18321 #define F_CI1_DM2_WDATA_VLD V_CI1_DM2_WDATA_VLD(1U)
18323 #define S_DM2_CI1_RDATA_VLD 24
18324 #define V_DM2_CI1_RDATA_VLD(x) ((x) << S_DM2_CI1_RDATA_VLD)
18325 #define F_DM2_CI1_RDATA_VLD V_DM2_CI1_RDATA_VLD(1U)
18327 #define S_CI2_ARB2_REQ 23
18328 #define V_CI2_ARB2_REQ(x) ((x) << S_CI2_ARB2_REQ)
18329 #define F_CI2_ARB2_REQ V_CI2_ARB2_REQ(1U)
18331 #define S_ARB2_CI2_GNT 22
18332 #define V_ARB2_CI2_GNT(x) ((x) << S_ARB2_CI2_GNT)
18333 #define F_ARB2_CI2_GNT V_ARB2_CI2_GNT(1U)
18335 #define S_CI2_DM2_WDATA_VLD 21
18336 #define V_CI2_DM2_WDATA_VLD(x) ((x) << S_CI2_DM2_WDATA_VLD)
18337 #define F_CI2_DM2_WDATA_VLD V_CI2_DM2_WDATA_VLD(1U)
18339 #define S_DM2_CI2_RDATA_VLD 20
18340 #define V_DM2_CI2_RDATA_VLD(x) ((x) << S_DM2_CI2_RDATA_VLD)
18341 #define F_DM2_CI2_RDATA_VLD V_DM2_CI2_RDATA_VLD(1U)
18343 #define S_CI3_ARB2_REQ 19
18344 #define V_CI3_ARB2_REQ(x) ((x) << S_CI3_ARB2_REQ)
18345 #define F_CI3_ARB2_REQ V_CI3_ARB2_REQ(1U)
18347 #define S_ARB2_CI3_GNT 18
18348 #define V_ARB2_CI3_GNT(x) ((x) << S_ARB2_CI3_GNT)
18349 #define F_ARB2_CI3_GNT V_ARB2_CI3_GNT(1U)
18351 #define S_CI3_DM2_WDATA_VLD 17
18352 #define V_CI3_DM2_WDATA_VLD(x) ((x) << S_CI3_DM2_WDATA_VLD)
18353 #define F_CI3_DM2_WDATA_VLD V_CI3_DM2_WDATA_VLD(1U)
18355 #define S_DM2_CI3_RDATA_VLD 16
18356 #define V_DM2_CI3_RDATA_VLD(x) ((x) << S_DM2_CI3_RDATA_VLD)
18357 #define F_DM2_CI3_RDATA_VLD V_DM2_CI3_RDATA_VLD(1U)
18359 #define S_CI4_ARB2_REQ 15
18360 #define V_CI4_ARB2_REQ(x) ((x) << S_CI4_ARB2_REQ)
18361 #define F_CI4_ARB2_REQ V_CI4_ARB2_REQ(1U)
18363 #define S_ARB2_CI4_GNT 14
18364 #define V_ARB2_CI4_GNT(x) ((x) << S_ARB2_CI4_GNT)
18365 #define F_ARB2_CI4_GNT V_ARB2_CI4_GNT(1U)
18367 #define S_CI4_DM2_WDATA_VLD 13
18368 #define V_CI4_DM2_WDATA_VLD(x) ((x) << S_CI4_DM2_WDATA_VLD)
18369 #define F_CI4_DM2_WDATA_VLD V_CI4_DM2_WDATA_VLD(1U)
18371 #define S_DM2_CI4_RDATA_VLD 12
18372 #define V_DM2_CI4_RDATA_VLD(x) ((x) << S_DM2_CI4_RDATA_VLD)
18373 #define F_DM2_CI4_RDATA_VLD V_DM2_CI4_RDATA_VLD(1U)
18375 #define S_CI5_ARB2_REQ 11
18376 #define V_CI5_ARB2_REQ(x) ((x) << S_CI5_ARB2_REQ)
18377 #define F_CI5_ARB2_REQ V_CI5_ARB2_REQ(1U)
18379 #define S_ARB2_CI5_GNT 10
18380 #define V_ARB2_CI5_GNT(x) ((x) << S_ARB2_CI5_GNT)
18381 #define F_ARB2_CI5_GNT V_ARB2_CI5_GNT(1U)
18383 #define S_CI5_DM2_WDATA_VLD 9
18384 #define V_CI5_DM2_WDATA_VLD(x) ((x) << S_CI5_DM2_WDATA_VLD)
18385 #define F_CI5_DM2_WDATA_VLD V_CI5_DM2_WDATA_VLD(1U)
18387 #define S_DM2_CI5_RDATA_VLD 8
18388 #define V_DM2_CI5_RDATA_VLD(x) ((x) << S_DM2_CI5_RDATA_VLD)
18389 #define F_DM2_CI5_RDATA_VLD V_DM2_CI5_RDATA_VLD(1U)
18391 #define S_CI6_ARB2_REQ 7
18392 #define V_CI6_ARB2_REQ(x) ((x) << S_CI6_ARB2_REQ)
18393 #define F_CI6_ARB2_REQ V_CI6_ARB2_REQ(1U)
18395 #define S_ARB2_CI6_GNT 6
18396 #define V_ARB2_CI6_GNT(x) ((x) << S_ARB2_CI6_GNT)
18397 #define F_ARB2_CI6_GNT V_ARB2_CI6_GNT(1U)
18399 #define S_CI6_DM2_WDATA_VLD 5
18400 #define V_CI6_DM2_WDATA_VLD(x) ((x) << S_CI6_DM2_WDATA_VLD)
18401 #define F_CI6_DM2_WDATA_VLD V_CI6_DM2_WDATA_VLD(1U)
18403 #define S_DM2_CI6_RDATA_VLD 4
18404 #define V_DM2_CI6_RDATA_VLD(x) ((x) << S_DM2_CI6_RDATA_VLD)
18405 #define F_DM2_CI6_RDATA_VLD V_DM2_CI6_RDATA_VLD(1U)
18407 #define S_CI7_ARB2_REQ 3
18408 #define V_CI7_ARB2_REQ(x) ((x) << S_CI7_ARB2_REQ)
18409 #define F_CI7_ARB2_REQ V_CI7_ARB2_REQ(1U)
18411 #define S_ARB2_CI7_GNT 2
18412 #define V_ARB2_CI7_GNT(x) ((x) << S_ARB2_CI7_GNT)
18413 #define F_ARB2_CI7_GNT V_ARB2_CI7_GNT(1U)
18415 #define S_CI7_DM2_WDATA_VLD 1
18416 #define V_CI7_DM2_WDATA_VLD(x) ((x) << S_CI7_DM2_WDATA_VLD)
18417 #define F_CI7_DM2_WDATA_VLD V_CI7_DM2_WDATA_VLD(1U)
18419 #define S_DM2_CI7_RDATA_VLD 0
18420 #define V_DM2_CI7_RDATA_VLD(x) ((x) << S_DM2_CI7_RDATA_VLD)
18421 #define F_DM2_CI7_RDATA_VLD V_DM2_CI7_RDATA_VLD(1U)
18423 #define A_MA_TARGET_3_ARBITER_INTERFACE_EXTERNAL_REG0 0xa010
18425 #define S_CI0_ARB3_REQ 31
18426 #define V_CI0_ARB3_REQ(x) ((x) << S_CI0_ARB3_REQ)
18427 #define F_CI0_ARB3_REQ V_CI0_ARB3_REQ(1U)
18429 #define S_ARB3_CI0_GNT 30
18430 #define V_ARB3_CI0_GNT(x) ((x) << S_ARB3_CI0_GNT)
18431 #define F_ARB3_CI0_GNT V_ARB3_CI0_GNT(1U)
18433 #define S_CI0_DM3_WDATA_VLD 29
18434 #define V_CI0_DM3_WDATA_VLD(x) ((x) << S_CI0_DM3_WDATA_VLD)
18435 #define F_CI0_DM3_WDATA_VLD V_CI0_DM3_WDATA_VLD(1U)
18437 #define S_DM3_CI0_RDATA_VLD 28
18438 #define V_DM3_CI0_RDATA_VLD(x) ((x) << S_DM3_CI0_RDATA_VLD)
18439 #define F_DM3_CI0_RDATA_VLD V_DM3_CI0_RDATA_VLD(1U)
18441 #define S_CI1_ARB3_REQ 27
18442 #define V_CI1_ARB3_REQ(x) ((x) << S_CI1_ARB3_REQ)
18443 #define F_CI1_ARB3_REQ V_CI1_ARB3_REQ(1U)
18445 #define S_ARB3_CI1_GNT 26
18446 #define V_ARB3_CI1_GNT(x) ((x) << S_ARB3_CI1_GNT)
18447 #define F_ARB3_CI1_GNT V_ARB3_CI1_GNT(1U)
18449 #define S_CI1_DM3_WDATA_VLD 25
18450 #define V_CI1_DM3_WDATA_VLD(x) ((x) << S_CI1_DM3_WDATA_VLD)
18451 #define F_CI1_DM3_WDATA_VLD V_CI1_DM3_WDATA_VLD(1U)
18453 #define S_DM3_CI1_RDATA_VLD 24
18454 #define V_DM3_CI1_RDATA_VLD(x) ((x) << S_DM3_CI1_RDATA_VLD)
18455 #define F_DM3_CI1_RDATA_VLD V_DM3_CI1_RDATA_VLD(1U)
18457 #define S_CI2_ARB3_REQ 23
18458 #define V_CI2_ARB3_REQ(x) ((x) << S_CI2_ARB3_REQ)
18459 #define F_CI2_ARB3_REQ V_CI2_ARB3_REQ(1U)
18461 #define S_ARB3_CI2_GNT 22
18462 #define V_ARB3_CI2_GNT(x) ((x) << S_ARB3_CI2_GNT)
18463 #define F_ARB3_CI2_GNT V_ARB3_CI2_GNT(1U)
18465 #define S_CI2_DM3_WDATA_VLD 21
18466 #define V_CI2_DM3_WDATA_VLD(x) ((x) << S_CI2_DM3_WDATA_VLD)
18467 #define F_CI2_DM3_WDATA_VLD V_CI2_DM3_WDATA_VLD(1U)
18469 #define S_DM3_CI2_RDATA_VLD 20
18470 #define V_DM3_CI2_RDATA_VLD(x) ((x) << S_DM3_CI2_RDATA_VLD)
18471 #define F_DM3_CI2_RDATA_VLD V_DM3_CI2_RDATA_VLD(1U)
18473 #define S_CI3_ARB3_REQ 19
18474 #define V_CI3_ARB3_REQ(x) ((x) << S_CI3_ARB3_REQ)
18475 #define F_CI3_ARB3_REQ V_CI3_ARB3_REQ(1U)
18477 #define S_ARB3_CI3_GNT 18
18478 #define V_ARB3_CI3_GNT(x) ((x) << S_ARB3_CI3_GNT)
18479 #define F_ARB3_CI3_GNT V_ARB3_CI3_GNT(1U)
18481 #define S_CI3_DM3_WDATA_VLD 17
18482 #define V_CI3_DM3_WDATA_VLD(x) ((x) << S_CI3_DM3_WDATA_VLD)
18483 #define F_CI3_DM3_WDATA_VLD V_CI3_DM3_WDATA_VLD(1U)
18485 #define S_DM3_CI3_RDATA_VLD 16
18486 #define V_DM3_CI3_RDATA_VLD(x) ((x) << S_DM3_CI3_RDATA_VLD)
18487 #define F_DM3_CI3_RDATA_VLD V_DM3_CI3_RDATA_VLD(1U)
18489 #define S_CI4_ARB3_REQ 15
18490 #define V_CI4_ARB3_REQ(x) ((x) << S_CI4_ARB3_REQ)
18491 #define F_CI4_ARB3_REQ V_CI4_ARB3_REQ(1U)
18493 #define S_ARB3_CI4_GNT 14
18494 #define V_ARB3_CI4_GNT(x) ((x) << S_ARB3_CI4_GNT)
18495 #define F_ARB3_CI4_GNT V_ARB3_CI4_GNT(1U)
18497 #define S_CI4_DM3_WDATA_VLD 13
18498 #define V_CI4_DM3_WDATA_VLD(x) ((x) << S_CI4_DM3_WDATA_VLD)
18499 #define F_CI4_DM3_WDATA_VLD V_CI4_DM3_WDATA_VLD(1U)
18501 #define S_DM3_CI4_RDATA_VLD 12
18502 #define V_DM3_CI4_RDATA_VLD(x) ((x) << S_DM3_CI4_RDATA_VLD)
18503 #define F_DM3_CI4_RDATA_VLD V_DM3_CI4_RDATA_VLD(1U)
18505 #define S_CI5_ARB3_REQ 11
18506 #define V_CI5_ARB3_REQ(x) ((x) << S_CI5_ARB3_REQ)
18507 #define F_CI5_ARB3_REQ V_CI5_ARB3_REQ(1U)
18509 #define S_ARB3_CI5_GNT 10
18510 #define V_ARB3_CI5_GNT(x) ((x) << S_ARB3_CI5_GNT)
18511 #define F_ARB3_CI5_GNT V_ARB3_CI5_GNT(1U)
18513 #define S_CI5_DM3_WDATA_VLD 9
18514 #define V_CI5_DM3_WDATA_VLD(x) ((x) << S_CI5_DM3_WDATA_VLD)
18515 #define F_CI5_DM3_WDATA_VLD V_CI5_DM3_WDATA_VLD(1U)
18517 #define S_DM3_CI5_RDATA_VLD 8
18518 #define V_DM3_CI5_RDATA_VLD(x) ((x) << S_DM3_CI5_RDATA_VLD)
18519 #define F_DM3_CI5_RDATA_VLD V_DM3_CI5_RDATA_VLD(1U)
18521 #define S_CI6_ARB3_REQ 7
18522 #define V_CI6_ARB3_REQ(x) ((x) << S_CI6_ARB3_REQ)
18523 #define F_CI6_ARB3_REQ V_CI6_ARB3_REQ(1U)
18525 #define S_ARB3_CI6_GNT 6
18526 #define V_ARB3_CI6_GNT(x) ((x) << S_ARB3_CI6_GNT)
18527 #define F_ARB3_CI6_GNT V_ARB3_CI6_GNT(1U)
18529 #define S_CI6_DM3_WDATA_VLD 5
18530 #define V_CI6_DM3_WDATA_VLD(x) ((x) << S_CI6_DM3_WDATA_VLD)
18531 #define F_CI6_DM3_WDATA_VLD V_CI6_DM3_WDATA_VLD(1U)
18533 #define S_DM3_CI6_RDATA_VLD 4
18534 #define V_DM3_CI6_RDATA_VLD(x) ((x) << S_DM3_CI6_RDATA_VLD)
18535 #define F_DM3_CI6_RDATA_VLD V_DM3_CI6_RDATA_VLD(1U)
18537 #define S_CI7_ARB3_REQ 3
18538 #define V_CI7_ARB3_REQ(x) ((x) << S_CI7_ARB3_REQ)
18539 #define F_CI7_ARB3_REQ V_CI7_ARB3_REQ(1U)
18541 #define S_ARB3_CI7_GNT 2
18542 #define V_ARB3_CI7_GNT(x) ((x) << S_ARB3_CI7_GNT)
18543 #define F_ARB3_CI7_GNT V_ARB3_CI7_GNT(1U)
18545 #define S_CI7_DM3_WDATA_VLD 1
18546 #define V_CI7_DM3_WDATA_VLD(x) ((x) << S_CI7_DM3_WDATA_VLD)
18547 #define F_CI7_DM3_WDATA_VLD V_CI7_DM3_WDATA_VLD(1U)
18549 #define S_DM3_CI7_RDATA_VLD 0
18550 #define V_DM3_CI7_RDATA_VLD(x) ((x) << S_DM3_CI7_RDATA_VLD)
18551 #define F_DM3_CI7_RDATA_VLD V_DM3_CI7_RDATA_VLD(1U)
18553 #define A_MA_MA_DEBUG_SIGNATURE_LTL_END 0xa011
18554 #define A_MA_MA_DEBUG_SIGNATURE_BIG_END_INVERSE 0xa012
18555 #define A_MA_TARGET_0_ARBITER_INTERFACE_EXTERNAL_REG1 0xa013
18557 #define S_CI8_ARB0_REQ 31
18558 #define V_CI8_ARB0_REQ(x) ((x) << S_CI8_ARB0_REQ)
18559 #define F_CI8_ARB0_REQ V_CI8_ARB0_REQ(1U)
18561 #define S_ARB0_CI8_GNT 30
18562 #define V_ARB0_CI8_GNT(x) ((x) << S_ARB0_CI8_GNT)
18563 #define F_ARB0_CI8_GNT V_ARB0_CI8_GNT(1U)
18565 #define S_CI8_DM0_WDATA_VLD 29
18566 #define V_CI8_DM0_WDATA_VLD(x) ((x) << S_CI8_DM0_WDATA_VLD)
18567 #define F_CI8_DM0_WDATA_VLD V_CI8_DM0_WDATA_VLD(1U)
18569 #define S_DM0_CI8_RDATA_VLD 28
18570 #define V_DM0_CI8_RDATA_VLD(x) ((x) << S_DM0_CI8_RDATA_VLD)
18571 #define F_DM0_CI8_RDATA_VLD V_DM0_CI8_RDATA_VLD(1U)
18573 #define S_CI9_ARB0_REQ 27
18574 #define V_CI9_ARB0_REQ(x) ((x) << S_CI9_ARB0_REQ)
18575 #define F_CI9_ARB0_REQ V_CI9_ARB0_REQ(1U)
18577 #define S_ARB0_CI9_GNT 26
18578 #define V_ARB0_CI9_GNT(x) ((x) << S_ARB0_CI9_GNT)
18579 #define F_ARB0_CI9_GNT V_ARB0_CI9_GNT(1U)
18581 #define S_CI9_DM0_WDATA_VLD 25
18582 #define V_CI9_DM0_WDATA_VLD(x) ((x) << S_CI9_DM0_WDATA_VLD)
18583 #define F_CI9_DM0_WDATA_VLD V_CI9_DM0_WDATA_VLD(1U)
18585 #define S_DM0_CI9_RDATA_VLD 24
18586 #define V_DM0_CI9_RDATA_VLD(x) ((x) << S_DM0_CI9_RDATA_VLD)
18587 #define F_DM0_CI9_RDATA_VLD V_DM0_CI9_RDATA_VLD(1U)
18589 #define S_CI10_ARB0_REQ 23
18590 #define V_CI10_ARB0_REQ(x) ((x) << S_CI10_ARB0_REQ)
18591 #define F_CI10_ARB0_REQ V_CI10_ARB0_REQ(1U)
18593 #define S_ARB0_CI10_GNT 22
18594 #define V_ARB0_CI10_GNT(x) ((x) << S_ARB0_CI10_GNT)
18595 #define F_ARB0_CI10_GNT V_ARB0_CI10_GNT(1U)
18597 #define S_CI10_DM0_WDATA_VLD 21
18598 #define V_CI10_DM0_WDATA_VLD(x) ((x) << S_CI10_DM0_WDATA_VLD)
18599 #define F_CI10_DM0_WDATA_VLD V_CI10_DM0_WDATA_VLD(1U)
18601 #define S_DM0_CI10_RDATA_VLD 20
18602 #define V_DM0_CI10_RDATA_VLD(x) ((x) << S_DM0_CI10_RDATA_VLD)
18603 #define F_DM0_CI10_RDATA_VLD V_DM0_CI10_RDATA_VLD(1U)
18605 #define S_CI11_ARB0_REQ 19
18606 #define V_CI11_ARB0_REQ(x) ((x) << S_CI11_ARB0_REQ)
18607 #define F_CI11_ARB0_REQ V_CI11_ARB0_REQ(1U)
18609 #define S_ARB0_CI11_GNT 18
18610 #define V_ARB0_CI11_GNT(x) ((x) << S_ARB0_CI11_GNT)
18611 #define F_ARB0_CI11_GNT V_ARB0_CI11_GNT(1U)
18613 #define S_CI11_DM0_WDATA_VLD 17
18614 #define V_CI11_DM0_WDATA_VLD(x) ((x) << S_CI11_DM0_WDATA_VLD)
18615 #define F_CI11_DM0_WDATA_VLD V_CI11_DM0_WDATA_VLD(1U)
18617 #define S_DM0_CI11_RDATA_VLD 16
18618 #define V_DM0_CI11_RDATA_VLD(x) ((x) << S_DM0_CI11_RDATA_VLD)
18619 #define F_DM0_CI11_RDATA_VLD V_DM0_CI11_RDATA_VLD(1U)
18621 #define S_CI12_ARB0_REQ 15
18622 #define V_CI12_ARB0_REQ(x) ((x) << S_CI12_ARB0_REQ)
18623 #define F_CI12_ARB0_REQ V_CI12_ARB0_REQ(1U)
18625 #define S_ARB0_CI12_GNT 14
18626 #define V_ARB0_CI12_GNT(x) ((x) << S_ARB0_CI12_GNT)
18627 #define F_ARB0_CI12_GNT V_ARB0_CI12_GNT(1U)
18629 #define S_CI12_DM0_WDATA_VLD 13
18630 #define V_CI12_DM0_WDATA_VLD(x) ((x) << S_CI12_DM0_WDATA_VLD)
18631 #define F_CI12_DM0_WDATA_VLD V_CI12_DM0_WDATA_VLD(1U)
18633 #define S_DM0_CI12_RDATA_VLD 12
18634 #define V_DM0_CI12_RDATA_VLD(x) ((x) << S_DM0_CI12_RDATA_VLD)
18635 #define F_DM0_CI12_RDATA_VLD V_DM0_CI12_RDATA_VLD(1U)
18637 #define A_MA_TARGET_1_ARBITER_INTERFACE_EXTERNAL_REG1 0xa014
18639 #define S_CI8_ARB1_REQ 31
18640 #define V_CI8_ARB1_REQ(x) ((x) << S_CI8_ARB1_REQ)
18641 #define F_CI8_ARB1_REQ V_CI8_ARB1_REQ(1U)
18643 #define S_ARB1_CI8_GNT 30
18644 #define V_ARB1_CI8_GNT(x) ((x) << S_ARB1_CI8_GNT)
18645 #define F_ARB1_CI8_GNT V_ARB1_CI8_GNT(1U)
18647 #define S_CI8_DM1_WDATA_VLD 29
18648 #define V_CI8_DM1_WDATA_VLD(x) ((x) << S_CI8_DM1_WDATA_VLD)
18649 #define F_CI8_DM1_WDATA_VLD V_CI8_DM1_WDATA_VLD(1U)
18651 #define S_DM1_CI8_RDATA_VLD 28
18652 #define V_DM1_CI8_RDATA_VLD(x) ((x) << S_DM1_CI8_RDATA_VLD)
18653 #define F_DM1_CI8_RDATA_VLD V_DM1_CI8_RDATA_VLD(1U)
18655 #define S_CI9_ARB1_REQ 27
18656 #define V_CI9_ARB1_REQ(x) ((x) << S_CI9_ARB1_REQ)
18657 #define F_CI9_ARB1_REQ V_CI9_ARB1_REQ(1U)
18659 #define S_ARB1_CI9_GNT 26
18660 #define V_ARB1_CI9_GNT(x) ((x) << S_ARB1_CI9_GNT)
18661 #define F_ARB1_CI9_GNT V_ARB1_CI9_GNT(1U)
18663 #define S_CI9_DM1_WDATA_VLD 25
18664 #define V_CI9_DM1_WDATA_VLD(x) ((x) << S_CI9_DM1_WDATA_VLD)
18665 #define F_CI9_DM1_WDATA_VLD V_CI9_DM1_WDATA_VLD(1U)
18667 #define S_DM1_CI9_RDATA_VLD 24
18668 #define V_DM1_CI9_RDATA_VLD(x) ((x) << S_DM1_CI9_RDATA_VLD)
18669 #define F_DM1_CI9_RDATA_VLD V_DM1_CI9_RDATA_VLD(1U)
18671 #define S_CI10_ARB1_REQ 23
18672 #define V_CI10_ARB1_REQ(x) ((x) << S_CI10_ARB1_REQ)
18673 #define F_CI10_ARB1_REQ V_CI10_ARB1_REQ(1U)
18675 #define S_ARB1_CI10_GNT 22
18676 #define V_ARB1_CI10_GNT(x) ((x) << S_ARB1_CI10_GNT)
18677 #define F_ARB1_CI10_GNT V_ARB1_CI10_GNT(1U)
18679 #define S_CI10_DM1_WDATA_VLD 21
18680 #define V_CI10_DM1_WDATA_VLD(x) ((x) << S_CI10_DM1_WDATA_VLD)
18681 #define F_CI10_DM1_WDATA_VLD V_CI10_DM1_WDATA_VLD(1U)
18683 #define S_DM1_CI10_RDATA_VLD 20
18684 #define V_DM1_CI10_RDATA_VLD(x) ((x) << S_DM1_CI10_RDATA_VLD)
18685 #define F_DM1_CI10_RDATA_VLD V_DM1_CI10_RDATA_VLD(1U)
18687 #define S_CI11_ARB1_REQ 19
18688 #define V_CI11_ARB1_REQ(x) ((x) << S_CI11_ARB1_REQ)
18689 #define F_CI11_ARB1_REQ V_CI11_ARB1_REQ(1U)
18691 #define S_ARB1_CI11_GNT 18
18692 #define V_ARB1_CI11_GNT(x) ((x) << S_ARB1_CI11_GNT)
18693 #define F_ARB1_CI11_GNT V_ARB1_CI11_GNT(1U)
18695 #define S_CI11_DM1_WDATA_VLD 17
18696 #define V_CI11_DM1_WDATA_VLD(x) ((x) << S_CI11_DM1_WDATA_VLD)
18697 #define F_CI11_DM1_WDATA_VLD V_CI11_DM1_WDATA_VLD(1U)
18699 #define S_DM1_CI11_RDATA_VLD 16
18700 #define V_DM1_CI11_RDATA_VLD(x) ((x) << S_DM1_CI11_RDATA_VLD)
18701 #define F_DM1_CI11_RDATA_VLD V_DM1_CI11_RDATA_VLD(1U)
18703 #define S_CI12_ARB1_REQ 15
18704 #define V_CI12_ARB1_REQ(x) ((x) << S_CI12_ARB1_REQ)
18705 #define F_CI12_ARB1_REQ V_CI12_ARB1_REQ(1U)
18707 #define S_ARB1_CI12_GNT 14
18708 #define V_ARB1_CI12_GNT(x) ((x) << S_ARB1_CI12_GNT)
18709 #define F_ARB1_CI12_GNT V_ARB1_CI12_GNT(1U)
18711 #define S_CI12_DM1_WDATA_VLD 13
18712 #define V_CI12_DM1_WDATA_VLD(x) ((x) << S_CI12_DM1_WDATA_VLD)
18713 #define F_CI12_DM1_WDATA_VLD V_CI12_DM1_WDATA_VLD(1U)
18715 #define S_DM1_CI12_RDATA_VLD 12
18716 #define V_DM1_CI12_RDATA_VLD(x) ((x) << S_DM1_CI12_RDATA_VLD)
18717 #define F_DM1_CI12_RDATA_VLD V_DM1_CI12_RDATA_VLD(1U)
18719 #define A_MA_TARGET_2_ARBITER_INTERFACE_EXTERNAL_REG1 0xa015
18721 #define S_CI8_ARB2_REQ 31
18722 #define V_CI8_ARB2_REQ(x) ((x) << S_CI8_ARB2_REQ)
18723 #define F_CI8_ARB2_REQ V_CI8_ARB2_REQ(1U)
18725 #define S_ARB2_CI8_GNT 30
18726 #define V_ARB2_CI8_GNT(x) ((x) << S_ARB2_CI8_GNT)
18727 #define F_ARB2_CI8_GNT V_ARB2_CI8_GNT(1U)
18729 #define S_CI8_DM2_WDATA_VLD 29
18730 #define V_CI8_DM2_WDATA_VLD(x) ((x) << S_CI8_DM2_WDATA_VLD)
18731 #define F_CI8_DM2_WDATA_VLD V_CI8_DM2_WDATA_VLD(1U)
18733 #define S_DM2_CI8_RDATA_VLD 28
18734 #define V_DM2_CI8_RDATA_VLD(x) ((x) << S_DM2_CI8_RDATA_VLD)
18735 #define F_DM2_CI8_RDATA_VLD V_DM2_CI8_RDATA_VLD(1U)
18737 #define S_CI9_ARB2_REQ 27
18738 #define V_CI9_ARB2_REQ(x) ((x) << S_CI9_ARB2_REQ)
18739 #define F_CI9_ARB2_REQ V_CI9_ARB2_REQ(1U)
18741 #define S_ARB2_CI9_GNT 26
18742 #define V_ARB2_CI9_GNT(x) ((x) << S_ARB2_CI9_GNT)
18743 #define F_ARB2_CI9_GNT V_ARB2_CI9_GNT(1U)
18745 #define S_CI9_DM2_WDATA_VLD 25
18746 #define V_CI9_DM2_WDATA_VLD(x) ((x) << S_CI9_DM2_WDATA_VLD)
18747 #define F_CI9_DM2_WDATA_VLD V_CI9_DM2_WDATA_VLD(1U)
18749 #define S_DM2_CI9_RDATA_VLD 24
18750 #define V_DM2_CI9_RDATA_VLD(x) ((x) << S_DM2_CI9_RDATA_VLD)
18751 #define F_DM2_CI9_RDATA_VLD V_DM2_CI9_RDATA_VLD(1U)
18753 #define S_CI10_ARB2_REQ 23
18754 #define V_CI10_ARB2_REQ(x) ((x) << S_CI10_ARB2_REQ)
18755 #define F_CI10_ARB2_REQ V_CI10_ARB2_REQ(1U)
18757 #define S_ARB2_CI10_GNT 22
18758 #define V_ARB2_CI10_GNT(x) ((x) << S_ARB2_CI10_GNT)
18759 #define F_ARB2_CI10_GNT V_ARB2_CI10_GNT(1U)
18761 #define S_CI10_DM2_WDATA_VLD 21
18762 #define V_CI10_DM2_WDATA_VLD(x) ((x) << S_CI10_DM2_WDATA_VLD)
18763 #define F_CI10_DM2_WDATA_VLD V_CI10_DM2_WDATA_VLD(1U)
18765 #define S_DM2_CI10_RDATA_VLD 20
18766 #define V_DM2_CI10_RDATA_VLD(x) ((x) << S_DM2_CI10_RDATA_VLD)
18767 #define F_DM2_CI10_RDATA_VLD V_DM2_CI10_RDATA_VLD(1U)
18769 #define S_CI11_ARB2_REQ 19
18770 #define V_CI11_ARB2_REQ(x) ((x) << S_CI11_ARB2_REQ)
18771 #define F_CI11_ARB2_REQ V_CI11_ARB2_REQ(1U)
18773 #define S_ARB2_CI11_GNT 18
18774 #define V_ARB2_CI11_GNT(x) ((x) << S_ARB2_CI11_GNT)
18775 #define F_ARB2_CI11_GNT V_ARB2_CI11_GNT(1U)
18777 #define S_CI11_DM2_WDATA_VLD 17
18778 #define V_CI11_DM2_WDATA_VLD(x) ((x) << S_CI11_DM2_WDATA_VLD)
18779 #define F_CI11_DM2_WDATA_VLD V_CI11_DM2_WDATA_VLD(1U)
18781 #define S_DM2_CI11_RDATA_VLD 16
18782 #define V_DM2_CI11_RDATA_VLD(x) ((x) << S_DM2_CI11_RDATA_VLD)
18783 #define F_DM2_CI11_RDATA_VLD V_DM2_CI11_RDATA_VLD(1U)
18785 #define S_CI12_ARB2_REQ 15
18786 #define V_CI12_ARB2_REQ(x) ((x) << S_CI12_ARB2_REQ)
18787 #define F_CI12_ARB2_REQ V_CI12_ARB2_REQ(1U)
18789 #define S_ARB2_CI12_GNT 14
18790 #define V_ARB2_CI12_GNT(x) ((x) << S_ARB2_CI12_GNT)
18791 #define F_ARB2_CI12_GNT V_ARB2_CI12_GNT(1U)
18793 #define S_CI12_DM2_WDATA_VLD 13
18794 #define V_CI12_DM2_WDATA_VLD(x) ((x) << S_CI12_DM2_WDATA_VLD)
18795 #define F_CI12_DM2_WDATA_VLD V_CI12_DM2_WDATA_VLD(1U)
18797 #define S_DM2_CI12_RDATA_VLD 12
18798 #define V_DM2_CI12_RDATA_VLD(x) ((x) << S_DM2_CI12_RDATA_VLD)
18799 #define F_DM2_CI12_RDATA_VLD V_DM2_CI12_RDATA_VLD(1U)
18801 #define A_MA_TARGET_3_ARBITER_INTERFACE_EXTERNAL_REG1 0xa016
18803 #define S_CI8_ARB3_REQ 31
18804 #define V_CI8_ARB3_REQ(x) ((x) << S_CI8_ARB3_REQ)
18805 #define F_CI8_ARB3_REQ V_CI8_ARB3_REQ(1U)
18807 #define S_ARB3_CI8_GNT 30
18808 #define V_ARB3_CI8_GNT(x) ((x) << S_ARB3_CI8_GNT)
18809 #define F_ARB3_CI8_GNT V_ARB3_CI8_GNT(1U)
18811 #define S_CI8_DM3_WDATA_VLD 29
18812 #define V_CI8_DM3_WDATA_VLD(x) ((x) << S_CI8_DM3_WDATA_VLD)
18813 #define F_CI8_DM3_WDATA_VLD V_CI8_DM3_WDATA_VLD(1U)
18815 #define S_DM3_CI8_RDATA_VLD 28
18816 #define V_DM3_CI8_RDATA_VLD(x) ((x) << S_DM3_CI8_RDATA_VLD)
18817 #define F_DM3_CI8_RDATA_VLD V_DM3_CI8_RDATA_VLD(1U)
18819 #define S_CI9_ARB3_REQ 27
18820 #define V_CI9_ARB3_REQ(x) ((x) << S_CI9_ARB3_REQ)
18821 #define F_CI9_ARB3_REQ V_CI9_ARB3_REQ(1U)
18823 #define S_ARB3_CI9_GNT 26
18824 #define V_ARB3_CI9_GNT(x) ((x) << S_ARB3_CI9_GNT)
18825 #define F_ARB3_CI9_GNT V_ARB3_CI9_GNT(1U)
18827 #define S_CI9_DM3_WDATA_VLD 25
18828 #define V_CI9_DM3_WDATA_VLD(x) ((x) << S_CI9_DM3_WDATA_VLD)
18829 #define F_CI9_DM3_WDATA_VLD V_CI9_DM3_WDATA_VLD(1U)
18831 #define S_DM3_CI9_RDATA_VLD 24
18832 #define V_DM3_CI9_RDATA_VLD(x) ((x) << S_DM3_CI9_RDATA_VLD)
18833 #define F_DM3_CI9_RDATA_VLD V_DM3_CI9_RDATA_VLD(1U)
18835 #define S_CI10_ARB3_REQ 23
18836 #define V_CI10_ARB3_REQ(x) ((x) << S_CI10_ARB3_REQ)
18837 #define F_CI10_ARB3_REQ V_CI10_ARB3_REQ(1U)
18839 #define S_ARB3_CI10_GNT 22
18840 #define V_ARB3_CI10_GNT(x) ((x) << S_ARB3_CI10_GNT)
18841 #define F_ARB3_CI10_GNT V_ARB3_CI10_GNT(1U)
18843 #define S_CI10_DM3_WDATA_VLD 21
18844 #define V_CI10_DM3_WDATA_VLD(x) ((x) << S_CI10_DM3_WDATA_VLD)
18845 #define F_CI10_DM3_WDATA_VLD V_CI10_DM3_WDATA_VLD(1U)
18847 #define S_DM3_CI10_RDATA_VLD 20
18848 #define V_DM3_CI10_RDATA_VLD(x) ((x) << S_DM3_CI10_RDATA_VLD)
18849 #define F_DM3_CI10_RDATA_VLD V_DM3_CI10_RDATA_VLD(1U)
18851 #define S_CI11_ARB3_REQ 19
18852 #define V_CI11_ARB3_REQ(x) ((x) << S_CI11_ARB3_REQ)
18853 #define F_CI11_ARB3_REQ V_CI11_ARB3_REQ(1U)
18855 #define S_ARB3_CI11_GNT 18
18856 #define V_ARB3_CI11_GNT(x) ((x) << S_ARB3_CI11_GNT)
18857 #define F_ARB3_CI11_GNT V_ARB3_CI11_GNT(1U)
18859 #define S_CI11_DM3_WDATA_VLD 17
18860 #define V_CI11_DM3_WDATA_VLD(x) ((x) << S_CI11_DM3_WDATA_VLD)
18861 #define F_CI11_DM3_WDATA_VLD V_CI11_DM3_WDATA_VLD(1U)
18863 #define S_DM3_CI11_RDATA_VLD 16
18864 #define V_DM3_CI11_RDATA_VLD(x) ((x) << S_DM3_CI11_RDATA_VLD)
18865 #define F_DM3_CI11_RDATA_VLD V_DM3_CI11_RDATA_VLD(1U)
18867 #define S_CI12_ARB3_REQ 15
18868 #define V_CI12_ARB3_REQ(x) ((x) << S_CI12_ARB3_REQ)
18869 #define F_CI12_ARB3_REQ V_CI12_ARB3_REQ(1U)
18871 #define S_ARB3_CI12_GNT 14
18872 #define V_ARB3_CI12_GNT(x) ((x) << S_ARB3_CI12_GNT)
18873 #define F_ARB3_CI12_GNT V_ARB3_CI12_GNT(1U)
18875 #define S_CI12_DM3_WDATA_VLD 13
18876 #define V_CI12_DM3_WDATA_VLD(x) ((x) << S_CI12_DM3_WDATA_VLD)
18877 #define F_CI12_DM3_WDATA_VLD V_CI12_DM3_WDATA_VLD(1U)
18879 #define S_DM3_CI12_RDATA_VLD 12
18880 #define V_DM3_CI12_RDATA_VLD(x) ((x) << S_DM3_CI12_RDATA_VLD)
18881 #define F_DM3_CI12_RDATA_VLD V_DM3_CI12_RDATA_VLD(1U)
18883 #define A_MA_SGE_THREAD_0_CLIENT_INTERFACE_INTERNAL_REG0 0xa400
18885 #define S_CMD_IN_FIFO_CNT0 30
18886 #define M_CMD_IN_FIFO_CNT0 0x3U
18887 #define V_CMD_IN_FIFO_CNT0(x) ((x) << S_CMD_IN_FIFO_CNT0)
18888 #define G_CMD_IN_FIFO_CNT0(x) (((x) >> S_CMD_IN_FIFO_CNT0) & M_CMD_IN_FIFO_CNT0)
18890 #define S_CMD_SPLIT_FIFO_CNT0 28
18891 #define M_CMD_SPLIT_FIFO_CNT0 0x3U
18892 #define V_CMD_SPLIT_FIFO_CNT0(x) ((x) << S_CMD_SPLIT_FIFO_CNT0)
18893 #define G_CMD_SPLIT_FIFO_CNT0(x) (((x) >> S_CMD_SPLIT_FIFO_CNT0) & M_CMD_SPLIT_FIFO_CNT0)
18895 #define S_CMD_THROTTLE_FIFO_CNT0 22
18896 #define M_CMD_THROTTLE_FIFO_CNT0 0x3fU
18897 #define V_CMD_THROTTLE_FIFO_CNT0(x) ((x) << S_CMD_THROTTLE_FIFO_CNT0)
18898 #define G_CMD_THROTTLE_FIFO_CNT0(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT0) & M_CMD_THROTTLE_FIFO_CNT0)
18900 #define S_RD_CHNL_FIFO_CNT0 15
18901 #define M_RD_CHNL_FIFO_CNT0 0x7fU
18902 #define V_RD_CHNL_FIFO_CNT0(x) ((x) << S_RD_CHNL_FIFO_CNT0)
18903 #define G_RD_CHNL_FIFO_CNT0(x) (((x) >> S_RD_CHNL_FIFO_CNT0) & M_RD_CHNL_FIFO_CNT0)
18905 #define S_RD_DATA_EXT_FIFO_CNT0 13
18906 #define M_RD_DATA_EXT_FIFO_CNT0 0x3U
18907 #define V_RD_DATA_EXT_FIFO_CNT0(x) ((x) << S_RD_DATA_EXT_FIFO_CNT0)
18908 #define G_RD_DATA_EXT_FIFO_CNT0(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT0) & M_RD_DATA_EXT_FIFO_CNT0)
18910 #define S_RD_DATA_512B_FIFO_CNT0 5
18911 #define M_RD_DATA_512B_FIFO_CNT0 0xffU
18912 #define V_RD_DATA_512B_FIFO_CNT0(x) ((x) << S_RD_DATA_512B_FIFO_CNT0)
18913 #define G_RD_DATA_512B_FIFO_CNT0(x) (((x) >> S_RD_DATA_512B_FIFO_CNT0) & M_RD_DATA_512B_FIFO_CNT0)
18915 #define S_RD_REQ_TAG_FIFO_CNT0 1
18916 #define M_RD_REQ_TAG_FIFO_CNT0 0xfU
18917 #define V_RD_REQ_TAG_FIFO_CNT0(x) ((x) << S_RD_REQ_TAG_FIFO_CNT0)
18918 #define G_RD_REQ_TAG_FIFO_CNT0(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT0) & M_RD_REQ_TAG_FIFO_CNT0)
18920 #define A_MA_SGE_THREAD_1_CLIENT_INTERFACE_INTERNAL_REG0 0xa401
18922 #define S_CMD_IN_FIFO_CNT1 30
18923 #define M_CMD_IN_FIFO_CNT1 0x3U
18924 #define V_CMD_IN_FIFO_CNT1(x) ((x) << S_CMD_IN_FIFO_CNT1)
18925 #define G_CMD_IN_FIFO_CNT1(x) (((x) >> S_CMD_IN_FIFO_CNT1) & M_CMD_IN_FIFO_CNT1)
18927 #define S_CMD_SPLIT_FIFO_CNT1 28
18928 #define M_CMD_SPLIT_FIFO_CNT1 0x3U
18929 #define V_CMD_SPLIT_FIFO_CNT1(x) ((x) << S_CMD_SPLIT_FIFO_CNT1)
18930 #define G_CMD_SPLIT_FIFO_CNT1(x) (((x) >> S_CMD_SPLIT_FIFO_CNT1) & M_CMD_SPLIT_FIFO_CNT1)
18932 #define S_CMD_THROTTLE_FIFO_CNT1 22
18933 #define M_CMD_THROTTLE_FIFO_CNT1 0x3fU
18934 #define V_CMD_THROTTLE_FIFO_CNT1(x) ((x) << S_CMD_THROTTLE_FIFO_CNT1)
18935 #define G_CMD_THROTTLE_FIFO_CNT1(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT1) & M_CMD_THROTTLE_FIFO_CNT1)
18937 #define S_RD_CHNL_FIFO_CNT1 15
18938 #define M_RD_CHNL_FIFO_CNT1 0x7fU
18939 #define V_RD_CHNL_FIFO_CNT1(x) ((x) << S_RD_CHNL_FIFO_CNT1)
18940 #define G_RD_CHNL_FIFO_CNT1(x) (((x) >> S_RD_CHNL_FIFO_CNT1) & M_RD_CHNL_FIFO_CNT1)
18942 #define S_RD_DATA_EXT_FIFO_CNT1 13
18943 #define M_RD_DATA_EXT_FIFO_CNT1 0x3U
18944 #define V_RD_DATA_EXT_FIFO_CNT1(x) ((x) << S_RD_DATA_EXT_FIFO_CNT1)
18945 #define G_RD_DATA_EXT_FIFO_CNT1(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT1) & M_RD_DATA_EXT_FIFO_CNT1)
18947 #define S_RD_DATA_512B_FIFO_CNT1 5
18948 #define M_RD_DATA_512B_FIFO_CNT1 0xffU
18949 #define V_RD_DATA_512B_FIFO_CNT1(x) ((x) << S_RD_DATA_512B_FIFO_CNT1)
18950 #define G_RD_DATA_512B_FIFO_CNT1(x) (((x) >> S_RD_DATA_512B_FIFO_CNT1) & M_RD_DATA_512B_FIFO_CNT1)
18952 #define S_RD_REQ_TAG_FIFO_CNT1 1
18953 #define M_RD_REQ_TAG_FIFO_CNT1 0xfU
18954 #define V_RD_REQ_TAG_FIFO_CNT1(x) ((x) << S_RD_REQ_TAG_FIFO_CNT1)
18955 #define G_RD_REQ_TAG_FIFO_CNT1(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT1) & M_RD_REQ_TAG_FIFO_CNT1)
18957 #define A_MA_ULP_TX_CLIENT_INTERFACE_INTERNAL_REG0 0xa402
18959 #define S_CMD_IN_FIFO_CNT2 30
18960 #define M_CMD_IN_FIFO_CNT2 0x3U
18961 #define V_CMD_IN_FIFO_CNT2(x) ((x) << S_CMD_IN_FIFO_CNT2)
18962 #define G_CMD_IN_FIFO_CNT2(x) (((x) >> S_CMD_IN_FIFO_CNT2) & M_CMD_IN_FIFO_CNT2)
18964 #define S_CMD_SPLIT_FIFO_CNT2 28
18965 #define M_CMD_SPLIT_FIFO_CNT2 0x3U
18966 #define V_CMD_SPLIT_FIFO_CNT2(x) ((x) << S_CMD_SPLIT_FIFO_CNT2)
18967 #define G_CMD_SPLIT_FIFO_CNT2(x) (((x) >> S_CMD_SPLIT_FIFO_CNT2) & M_CMD_SPLIT_FIFO_CNT2)
18969 #define S_CMD_THROTTLE_FIFO_CNT2 22
18970 #define M_CMD_THROTTLE_FIFO_CNT2 0x3fU
18971 #define V_CMD_THROTTLE_FIFO_CNT2(x) ((x) << S_CMD_THROTTLE_FIFO_CNT2)
18972 #define G_CMD_THROTTLE_FIFO_CNT2(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT2) & M_CMD_THROTTLE_FIFO_CNT2)
18974 #define S_RD_CHNL_FIFO_CNT2 15
18975 #define M_RD_CHNL_FIFO_CNT2 0x7fU
18976 #define V_RD_CHNL_FIFO_CNT2(x) ((x) << S_RD_CHNL_FIFO_CNT2)
18977 #define G_RD_CHNL_FIFO_CNT2(x) (((x) >> S_RD_CHNL_FIFO_CNT2) & M_RD_CHNL_FIFO_CNT2)
18979 #define S_RD_DATA_EXT_FIFO_CNT2 13
18980 #define M_RD_DATA_EXT_FIFO_CNT2 0x3U
18981 #define V_RD_DATA_EXT_FIFO_CNT2(x) ((x) << S_RD_DATA_EXT_FIFO_CNT2)
18982 #define G_RD_DATA_EXT_FIFO_CNT2(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT2) & M_RD_DATA_EXT_FIFO_CNT2)
18984 #define S_RD_DATA_512B_FIFO_CNT2 5
18985 #define M_RD_DATA_512B_FIFO_CNT2 0xffU
18986 #define V_RD_DATA_512B_FIFO_CNT2(x) ((x) << S_RD_DATA_512B_FIFO_CNT2)
18987 #define G_RD_DATA_512B_FIFO_CNT2(x) (((x) >> S_RD_DATA_512B_FIFO_CNT2) & M_RD_DATA_512B_FIFO_CNT2)
18989 #define S_RD_REQ_TAG_FIFO_CNT2 1
18990 #define M_RD_REQ_TAG_FIFO_CNT2 0xfU
18991 #define V_RD_REQ_TAG_FIFO_CNT2(x) ((x) << S_RD_REQ_TAG_FIFO_CNT2)
18992 #define G_RD_REQ_TAG_FIFO_CNT2(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT2) & M_RD_REQ_TAG_FIFO_CNT2)
18994 #define A_MA_ULP_RX_CLIENT_INTERFACE_INTERNAL_REG0 0xa403
18996 #define S_CMD_IN_FIFO_CNT3 30
18997 #define M_CMD_IN_FIFO_CNT3 0x3U
18998 #define V_CMD_IN_FIFO_CNT3(x) ((x) << S_CMD_IN_FIFO_CNT3)
18999 #define G_CMD_IN_FIFO_CNT3(x) (((x) >> S_CMD_IN_FIFO_CNT3) & M_CMD_IN_FIFO_CNT3)
19001 #define S_CMD_SPLIT_FIFO_CNT3 28
19002 #define M_CMD_SPLIT_FIFO_CNT3 0x3U
19003 #define V_CMD_SPLIT_FIFO_CNT3(x) ((x) << S_CMD_SPLIT_FIFO_CNT3)
19004 #define G_CMD_SPLIT_FIFO_CNT3(x) (((x) >> S_CMD_SPLIT_FIFO_CNT3) & M_CMD_SPLIT_FIFO_CNT3)
19006 #define S_CMD_THROTTLE_FIFO_CNT3 22
19007 #define M_CMD_THROTTLE_FIFO_CNT3 0x3fU
19008 #define V_CMD_THROTTLE_FIFO_CNT3(x) ((x) << S_CMD_THROTTLE_FIFO_CNT3)
19009 #define G_CMD_THROTTLE_FIFO_CNT3(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT3) & M_CMD_THROTTLE_FIFO_CNT3)
19011 #define S_RD_CHNL_FIFO_CNT3 15
19012 #define M_RD_CHNL_FIFO_CNT3 0x7fU
19013 #define V_RD_CHNL_FIFO_CNT3(x) ((x) << S_RD_CHNL_FIFO_CNT3)
19014 #define G_RD_CHNL_FIFO_CNT3(x) (((x) >> S_RD_CHNL_FIFO_CNT3) & M_RD_CHNL_FIFO_CNT3)
19016 #define S_RD_DATA_EXT_FIFO_CNT3 13
19017 #define M_RD_DATA_EXT_FIFO_CNT3 0x3U
19018 #define V_RD_DATA_EXT_FIFO_CNT3(x) ((x) << S_RD_DATA_EXT_FIFO_CNT3)
19019 #define G_RD_DATA_EXT_FIFO_CNT3(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT3) & M_RD_DATA_EXT_FIFO_CNT3)
19021 #define S_RD_DATA_512B_FIFO_CNT3 5
19022 #define M_RD_DATA_512B_FIFO_CNT3 0xffU
19023 #define V_RD_DATA_512B_FIFO_CNT3(x) ((x) << S_RD_DATA_512B_FIFO_CNT3)
19024 #define G_RD_DATA_512B_FIFO_CNT3(x) (((x) >> S_RD_DATA_512B_FIFO_CNT3) & M_RD_DATA_512B_FIFO_CNT3)
19026 #define S_RD_REQ_TAG_FIFO_CNT3 1
19027 #define M_RD_REQ_TAG_FIFO_CNT3 0xfU
19028 #define V_RD_REQ_TAG_FIFO_CNT3(x) ((x) << S_RD_REQ_TAG_FIFO_CNT3)
19029 #define G_RD_REQ_TAG_FIFO_CNT3(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT3) & M_RD_REQ_TAG_FIFO_CNT3)
19031 #define A_MA_ULP_TX_RX_CLIENT_INTERFACE_INTERNAL_REG0 0xa404
19033 #define S_CMD_IN_FIFO_CNT4 30
19034 #define M_CMD_IN_FIFO_CNT4 0x3U
19035 #define V_CMD_IN_FIFO_CNT4(x) ((x) << S_CMD_IN_FIFO_CNT4)
19036 #define G_CMD_IN_FIFO_CNT4(x) (((x) >> S_CMD_IN_FIFO_CNT4) & M_CMD_IN_FIFO_CNT4)
19038 #define S_CMD_SPLIT_FIFO_CNT4 28
19039 #define M_CMD_SPLIT_FIFO_CNT4 0x3U
19040 #define V_CMD_SPLIT_FIFO_CNT4(x) ((x) << S_CMD_SPLIT_FIFO_CNT4)
19041 #define G_CMD_SPLIT_FIFO_CNT4(x) (((x) >> S_CMD_SPLIT_FIFO_CNT4) & M_CMD_SPLIT_FIFO_CNT4)
19043 #define S_CMD_THROTTLE_FIFO_CNT4 22
19044 #define M_CMD_THROTTLE_FIFO_CNT4 0x3fU
19045 #define V_CMD_THROTTLE_FIFO_CNT4(x) ((x) << S_CMD_THROTTLE_FIFO_CNT4)
19046 #define G_CMD_THROTTLE_FIFO_CNT4(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT4) & M_CMD_THROTTLE_FIFO_CNT4)
19048 #define S_RD_CHNL_FIFO_CNT4 15
19049 #define M_RD_CHNL_FIFO_CNT4 0x7fU
19050 #define V_RD_CHNL_FIFO_CNT4(x) ((x) << S_RD_CHNL_FIFO_CNT4)
19051 #define G_RD_CHNL_FIFO_CNT4(x) (((x) >> S_RD_CHNL_FIFO_CNT4) & M_RD_CHNL_FIFO_CNT4)
19053 #define S_RD_DATA_EXT_FIFO_CNT4 13
19054 #define M_RD_DATA_EXT_FIFO_CNT4 0x3U
19055 #define V_RD_DATA_EXT_FIFO_CNT4(x) ((x) << S_RD_DATA_EXT_FIFO_CNT4)
19056 #define G_RD_DATA_EXT_FIFO_CNT4(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT4) & M_RD_DATA_EXT_FIFO_CNT4)
19058 #define S_RD_DATA_512B_FIFO_CNT4 5
19059 #define M_RD_DATA_512B_FIFO_CNT4 0xffU
19060 #define V_RD_DATA_512B_FIFO_CNT4(x) ((x) << S_RD_DATA_512B_FIFO_CNT4)
19061 #define G_RD_DATA_512B_FIFO_CNT4(x) (((x) >> S_RD_DATA_512B_FIFO_CNT4) & M_RD_DATA_512B_FIFO_CNT4)
19063 #define S_RD_REQ_TAG_FIFO_CNT4 1
19064 #define M_RD_REQ_TAG_FIFO_CNT4 0xfU
19065 #define V_RD_REQ_TAG_FIFO_CNT4(x) ((x) << S_RD_REQ_TAG_FIFO_CNT4)
19066 #define G_RD_REQ_TAG_FIFO_CNT4(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT4) & M_RD_REQ_TAG_FIFO_CNT4)
19068 #define A_MA_TP_THREAD_0_CLIENT_INTERFACE_INTERNAL_REG0 0xa405
19070 #define S_CMD_IN_FIFO_CNT5 30
19071 #define M_CMD_IN_FIFO_CNT5 0x3U
19072 #define V_CMD_IN_FIFO_CNT5(x) ((x) << S_CMD_IN_FIFO_CNT5)
19073 #define G_CMD_IN_FIFO_CNT5(x) (((x) >> S_CMD_IN_FIFO_CNT5) & M_CMD_IN_FIFO_CNT5)
19075 #define S_CMD_SPLIT_FIFO_CNT5 28
19076 #define M_CMD_SPLIT_FIFO_CNT5 0x3U
19077 #define V_CMD_SPLIT_FIFO_CNT5(x) ((x) << S_CMD_SPLIT_FIFO_CNT5)
19078 #define G_CMD_SPLIT_FIFO_CNT5(x) (((x) >> S_CMD_SPLIT_FIFO_CNT5) & M_CMD_SPLIT_FIFO_CNT5)
19080 #define S_CMD_THROTTLE_FIFO_CNT5 22
19081 #define M_CMD_THROTTLE_FIFO_CNT5 0x3fU
19082 #define V_CMD_THROTTLE_FIFO_CNT5(x) ((x) << S_CMD_THROTTLE_FIFO_CNT5)
19083 #define G_CMD_THROTTLE_FIFO_CNT5(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT5) & M_CMD_THROTTLE_FIFO_CNT5)
19085 #define S_RD_CHNL_FIFO_CNT5 15
19086 #define M_RD_CHNL_FIFO_CNT5 0x7fU
19087 #define V_RD_CHNL_FIFO_CNT5(x) ((x) << S_RD_CHNL_FIFO_CNT5)
19088 #define G_RD_CHNL_FIFO_CNT5(x) (((x) >> S_RD_CHNL_FIFO_CNT5) & M_RD_CHNL_FIFO_CNT5)
19090 #define S_RD_DATA_EXT_FIFO_CNT5 13
19091 #define M_RD_DATA_EXT_FIFO_CNT5 0x3U
19092 #define V_RD_DATA_EXT_FIFO_CNT5(x) ((x) << S_RD_DATA_EXT_FIFO_CNT5)
19093 #define G_RD_DATA_EXT_FIFO_CNT5(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT5) & M_RD_DATA_EXT_FIFO_CNT5)
19095 #define S_RD_DATA_512B_FIFO_CNT5 5
19096 #define M_RD_DATA_512B_FIFO_CNT5 0xffU
19097 #define V_RD_DATA_512B_FIFO_CNT5(x) ((x) << S_RD_DATA_512B_FIFO_CNT5)
19098 #define G_RD_DATA_512B_FIFO_CNT5(x) (((x) >> S_RD_DATA_512B_FIFO_CNT5) & M_RD_DATA_512B_FIFO_CNT5)
19100 #define S_RD_REQ_TAG_FIFO_CNT5 1
19101 #define M_RD_REQ_TAG_FIFO_CNT5 0xfU
19102 #define V_RD_REQ_TAG_FIFO_CNT5(x) ((x) << S_RD_REQ_TAG_FIFO_CNT5)
19103 #define G_RD_REQ_TAG_FIFO_CNT5(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT5) & M_RD_REQ_TAG_FIFO_CNT5)
19105 #define A_MA_TP_THREAD_1_CLIENT_INTERFACE_INTERNAL_REG0 0xa406
19107 #define S_CMD_IN_FIFO_CNT6 30
19108 #define M_CMD_IN_FIFO_CNT6 0x3U
19109 #define V_CMD_IN_FIFO_CNT6(x) ((x) << S_CMD_IN_FIFO_CNT6)
19110 #define G_CMD_IN_FIFO_CNT6(x) (((x) >> S_CMD_IN_FIFO_CNT6) & M_CMD_IN_FIFO_CNT6)
19112 #define S_CMD_SPLIT_FIFO_CNT6 28
19113 #define M_CMD_SPLIT_FIFO_CNT6 0x3U
19114 #define V_CMD_SPLIT_FIFO_CNT6(x) ((x) << S_CMD_SPLIT_FIFO_CNT6)
19115 #define G_CMD_SPLIT_FIFO_CNT6(x) (((x) >> S_CMD_SPLIT_FIFO_CNT6) & M_CMD_SPLIT_FIFO_CNT6)
19117 #define S_CMD_THROTTLE_FIFO_CNT6 22
19118 #define M_CMD_THROTTLE_FIFO_CNT6 0x3fU
19119 #define V_CMD_THROTTLE_FIFO_CNT6(x) ((x) << S_CMD_THROTTLE_FIFO_CNT6)
19120 #define G_CMD_THROTTLE_FIFO_CNT6(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT6) & M_CMD_THROTTLE_FIFO_CNT6)
19122 #define S_RD_CHNL_FIFO_CNT6 15
19123 #define M_RD_CHNL_FIFO_CNT6 0x7fU
19124 #define V_RD_CHNL_FIFO_CNT6(x) ((x) << S_RD_CHNL_FIFO_CNT6)
19125 #define G_RD_CHNL_FIFO_CNT6(x) (((x) >> S_RD_CHNL_FIFO_CNT6) & M_RD_CHNL_FIFO_CNT6)
19127 #define S_RD_DATA_EXT_FIFO_CNT6 13
19128 #define M_RD_DATA_EXT_FIFO_CNT6 0x3U
19129 #define V_RD_DATA_EXT_FIFO_CNT6(x) ((x) << S_RD_DATA_EXT_FIFO_CNT6)
19130 #define G_RD_DATA_EXT_FIFO_CNT6(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT6) & M_RD_DATA_EXT_FIFO_CNT6)
19132 #define S_RD_DATA_512B_FIFO_CNT6 5
19133 #define M_RD_DATA_512B_FIFO_CNT6 0xffU
19134 #define V_RD_DATA_512B_FIFO_CNT6(x) ((x) << S_RD_DATA_512B_FIFO_CNT6)
19135 #define G_RD_DATA_512B_FIFO_CNT6(x) (((x) >> S_RD_DATA_512B_FIFO_CNT6) & M_RD_DATA_512B_FIFO_CNT6)
19137 #define S_RD_REQ_TAG_FIFO_CNT6 1
19138 #define M_RD_REQ_TAG_FIFO_CNT6 0xfU
19139 #define V_RD_REQ_TAG_FIFO_CNT6(x) ((x) << S_RD_REQ_TAG_FIFO_CNT6)
19140 #define G_RD_REQ_TAG_FIFO_CNT6(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT6) & M_RD_REQ_TAG_FIFO_CNT6)
19142 #define A_MA_LE_CLIENT_INTERFACE_INTERNAL_REG0 0xa407
19144 #define S_CMD_IN_FIFO_CNT7 30
19145 #define M_CMD_IN_FIFO_CNT7 0x3U
19146 #define V_CMD_IN_FIFO_CNT7(x) ((x) << S_CMD_IN_FIFO_CNT7)
19147 #define G_CMD_IN_FIFO_CNT7(x) (((x) >> S_CMD_IN_FIFO_CNT7) & M_CMD_IN_FIFO_CNT7)
19149 #define S_CMD_SPLIT_FIFO_CNT7 28
19150 #define M_CMD_SPLIT_FIFO_CNT7 0x3U
19151 #define V_CMD_SPLIT_FIFO_CNT7(x) ((x) << S_CMD_SPLIT_FIFO_CNT7)
19152 #define G_CMD_SPLIT_FIFO_CNT7(x) (((x) >> S_CMD_SPLIT_FIFO_CNT7) & M_CMD_SPLIT_FIFO_CNT7)
19154 #define S_CMD_THROTTLE_FIFO_CNT7 22
19155 #define M_CMD_THROTTLE_FIFO_CNT7 0x3fU
19156 #define V_CMD_THROTTLE_FIFO_CNT7(x) ((x) << S_CMD_THROTTLE_FIFO_CNT7)
19157 #define G_CMD_THROTTLE_FIFO_CNT7(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT7) & M_CMD_THROTTLE_FIFO_CNT7)
19159 #define S_RD_CHNL_FIFO_CNT7 15
19160 #define M_RD_CHNL_FIFO_CNT7 0x7fU
19161 #define V_RD_CHNL_FIFO_CNT7(x) ((x) << S_RD_CHNL_FIFO_CNT7)
19162 #define G_RD_CHNL_FIFO_CNT7(x) (((x) >> S_RD_CHNL_FIFO_CNT7) & M_RD_CHNL_FIFO_CNT7)
19164 #define S_RD_DATA_EXT_FIFO_CNT7 13
19165 #define M_RD_DATA_EXT_FIFO_CNT7 0x3U
19166 #define V_RD_DATA_EXT_FIFO_CNT7(x) ((x) << S_RD_DATA_EXT_FIFO_CNT7)
19167 #define G_RD_DATA_EXT_FIFO_CNT7(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT7) & M_RD_DATA_EXT_FIFO_CNT7)
19169 #define S_RD_DATA_512B_FIFO_CNT7 5
19170 #define M_RD_DATA_512B_FIFO_CNT7 0xffU
19171 #define V_RD_DATA_512B_FIFO_CNT7(x) ((x) << S_RD_DATA_512B_FIFO_CNT7)
19172 #define G_RD_DATA_512B_FIFO_CNT7(x) (((x) >> S_RD_DATA_512B_FIFO_CNT7) & M_RD_DATA_512B_FIFO_CNT7)
19174 #define S_RD_REQ_TAG_FIFO_CNT7 1
19175 #define M_RD_REQ_TAG_FIFO_CNT7 0xfU
19176 #define V_RD_REQ_TAG_FIFO_CNT7(x) ((x) << S_RD_REQ_TAG_FIFO_CNT7)
19177 #define G_RD_REQ_TAG_FIFO_CNT7(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT7) & M_RD_REQ_TAG_FIFO_CNT7)
19179 #define A_MA_CIM_CLIENT_INTERFACE_INTERNAL_REG0 0xa408
19181 #define S_CMD_IN_FIFO_CNT8 30
19182 #define M_CMD_IN_FIFO_CNT8 0x3U
19183 #define V_CMD_IN_FIFO_CNT8(x) ((x) << S_CMD_IN_FIFO_CNT8)
19184 #define G_CMD_IN_FIFO_CNT8(x) (((x) >> S_CMD_IN_FIFO_CNT8) & M_CMD_IN_FIFO_CNT8)
19186 #define S_CMD_SPLIT_FIFO_CNT8 28
19187 #define M_CMD_SPLIT_FIFO_CNT8 0x3U
19188 #define V_CMD_SPLIT_FIFO_CNT8(x) ((x) << S_CMD_SPLIT_FIFO_CNT8)
19189 #define G_CMD_SPLIT_FIFO_CNT8(x) (((x) >> S_CMD_SPLIT_FIFO_CNT8) & M_CMD_SPLIT_FIFO_CNT8)
19191 #define S_CMD_THROTTLE_FIFO_CNT8 22
19192 #define M_CMD_THROTTLE_FIFO_CNT8 0x3fU
19193 #define V_CMD_THROTTLE_FIFO_CNT8(x) ((x) << S_CMD_THROTTLE_FIFO_CNT8)
19194 #define G_CMD_THROTTLE_FIFO_CNT8(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT8) & M_CMD_THROTTLE_FIFO_CNT8)
19196 #define S_RD_CHNL_FIFO_CNT8 15
19197 #define M_RD_CHNL_FIFO_CNT8 0x7fU
19198 #define V_RD_CHNL_FIFO_CNT8(x) ((x) << S_RD_CHNL_FIFO_CNT8)
19199 #define G_RD_CHNL_FIFO_CNT8(x) (((x) >> S_RD_CHNL_FIFO_CNT8) & M_RD_CHNL_FIFO_CNT8)
19201 #define S_RD_DATA_EXT_FIFO_CNT8 13
19202 #define M_RD_DATA_EXT_FIFO_CNT8 0x3U
19203 #define V_RD_DATA_EXT_FIFO_CNT8(x) ((x) << S_RD_DATA_EXT_FIFO_CNT8)
19204 #define G_RD_DATA_EXT_FIFO_CNT8(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT8) & M_RD_DATA_EXT_FIFO_CNT8)
19206 #define S_RD_DATA_512B_FIFO_CNT8 5
19207 #define M_RD_DATA_512B_FIFO_CNT8 0xffU
19208 #define V_RD_DATA_512B_FIFO_CNT8(x) ((x) << S_RD_DATA_512B_FIFO_CNT8)
19209 #define G_RD_DATA_512B_FIFO_CNT8(x) (((x) >> S_RD_DATA_512B_FIFO_CNT8) & M_RD_DATA_512B_FIFO_CNT8)
19211 #define S_RD_REQ_TAG_FIFO_CNT8 1
19212 #define M_RD_REQ_TAG_FIFO_CNT8 0xfU
19213 #define V_RD_REQ_TAG_FIFO_CNT8(x) ((x) << S_RD_REQ_TAG_FIFO_CNT8)
19214 #define G_RD_REQ_TAG_FIFO_CNT8(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT8) & M_RD_REQ_TAG_FIFO_CNT8)
19216 #define A_MA_PCIE_CLIENT_INTERFACE_INTERNAL_REG0 0xa409
19218 #define S_CMD_IN_FIFO_CNT9 30
19219 #define M_CMD_IN_FIFO_CNT9 0x3U
19220 #define V_CMD_IN_FIFO_CNT9(x) ((x) << S_CMD_IN_FIFO_CNT9)
19221 #define G_CMD_IN_FIFO_CNT9(x) (((x) >> S_CMD_IN_FIFO_CNT9) & M_CMD_IN_FIFO_CNT9)
19223 #define S_CMD_SPLIT_FIFO_CNT9 28
19224 #define M_CMD_SPLIT_FIFO_CNT9 0x3U
19225 #define V_CMD_SPLIT_FIFO_CNT9(x) ((x) << S_CMD_SPLIT_FIFO_CNT9)
19226 #define G_CMD_SPLIT_FIFO_CNT9(x) (((x) >> S_CMD_SPLIT_FIFO_CNT9) & M_CMD_SPLIT_FIFO_CNT9)
19228 #define S_CMD_THROTTLE_FIFO_CNT9 22
19229 #define M_CMD_THROTTLE_FIFO_CNT9 0x3fU
19230 #define V_CMD_THROTTLE_FIFO_CNT9(x) ((x) << S_CMD_THROTTLE_FIFO_CNT9)
19231 #define G_CMD_THROTTLE_FIFO_CNT9(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT9) & M_CMD_THROTTLE_FIFO_CNT9)
19233 #define S_RD_CHNL_FIFO_CNT9 15
19234 #define M_RD_CHNL_FIFO_CNT9 0x7fU
19235 #define V_RD_CHNL_FIFO_CNT9(x) ((x) << S_RD_CHNL_FIFO_CNT9)
19236 #define G_RD_CHNL_FIFO_CNT9(x) (((x) >> S_RD_CHNL_FIFO_CNT9) & M_RD_CHNL_FIFO_CNT9)
19238 #define S_RD_DATA_EXT_FIFO_CNT9 13
19239 #define M_RD_DATA_EXT_FIFO_CNT9 0x3U
19240 #define V_RD_DATA_EXT_FIFO_CNT9(x) ((x) << S_RD_DATA_EXT_FIFO_CNT9)
19241 #define G_RD_DATA_EXT_FIFO_CNT9(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT9) & M_RD_DATA_EXT_FIFO_CNT9)
19243 #define S_RD_DATA_512B_FIFO_CNT9 5
19244 #define M_RD_DATA_512B_FIFO_CNT9 0xffU
19245 #define V_RD_DATA_512B_FIFO_CNT9(x) ((x) << S_RD_DATA_512B_FIFO_CNT9)
19246 #define G_RD_DATA_512B_FIFO_CNT9(x) (((x) >> S_RD_DATA_512B_FIFO_CNT9) & M_RD_DATA_512B_FIFO_CNT9)
19248 #define S_RD_REQ_TAG_FIFO_CNT9 1
19249 #define M_RD_REQ_TAG_FIFO_CNT9 0xfU
19250 #define V_RD_REQ_TAG_FIFO_CNT9(x) ((x) << S_RD_REQ_TAG_FIFO_CNT9)
19251 #define G_RD_REQ_TAG_FIFO_CNT9(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT9) & M_RD_REQ_TAG_FIFO_CNT9)
19253 #define A_MA_PM_TX_CLIENT_INTERFACE_INTERNAL_REG0 0xa40a
19255 #define S_CMD_IN_FIFO_CNT10 30
19256 #define M_CMD_IN_FIFO_CNT10 0x3U
19257 #define V_CMD_IN_FIFO_CNT10(x) ((x) << S_CMD_IN_FIFO_CNT10)
19258 #define G_CMD_IN_FIFO_CNT10(x) (((x) >> S_CMD_IN_FIFO_CNT10) & M_CMD_IN_FIFO_CNT10)
19260 #define S_CMD_SPLIT_FIFO_CNT10 28
19261 #define M_CMD_SPLIT_FIFO_CNT10 0x3U
19262 #define V_CMD_SPLIT_FIFO_CNT10(x) ((x) << S_CMD_SPLIT_FIFO_CNT10)
19263 #define G_CMD_SPLIT_FIFO_CNT10(x) (((x) >> S_CMD_SPLIT_FIFO_CNT10) & M_CMD_SPLIT_FIFO_CNT10)
19265 #define S_CMD_THROTTLE_FIFO_CNT10 22
19266 #define M_CMD_THROTTLE_FIFO_CNT10 0x3fU
19267 #define V_CMD_THROTTLE_FIFO_CNT10(x) ((x) << S_CMD_THROTTLE_FIFO_CNT10)
19268 #define G_CMD_THROTTLE_FIFO_CNT10(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT10) & M_CMD_THROTTLE_FIFO_CNT10)
19270 #define S_RD_CHNL_FIFO_CNT10 15
19271 #define M_RD_CHNL_FIFO_CNT10 0x7fU
19272 #define V_RD_CHNL_FIFO_CNT10(x) ((x) << S_RD_CHNL_FIFO_CNT10)
19273 #define G_RD_CHNL_FIFO_CNT10(x) (((x) >> S_RD_CHNL_FIFO_CNT10) & M_RD_CHNL_FIFO_CNT10)
19275 #define S_RD_DATA_EXT_FIFO_CNT10 13
19276 #define M_RD_DATA_EXT_FIFO_CNT10 0x3U
19277 #define V_RD_DATA_EXT_FIFO_CNT10(x) ((x) << S_RD_DATA_EXT_FIFO_CNT10)
19278 #define G_RD_DATA_EXT_FIFO_CNT10(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT10) & M_RD_DATA_EXT_FIFO_CNT10)
19280 #define S_RD_DATA_512B_FIFO_CNT10 5
19281 #define M_RD_DATA_512B_FIFO_CNT10 0xffU
19282 #define V_RD_DATA_512B_FIFO_CNT10(x) ((x) << S_RD_DATA_512B_FIFO_CNT10)
19283 #define G_RD_DATA_512B_FIFO_CNT10(x) (((x) >> S_RD_DATA_512B_FIFO_CNT10) & M_RD_DATA_512B_FIFO_CNT10)
19285 #define S_RD_REQ_TAG_FIFO_CNT10 1
19286 #define M_RD_REQ_TAG_FIFO_CNT10 0xfU
19287 #define V_RD_REQ_TAG_FIFO_CNT10(x) ((x) << S_RD_REQ_TAG_FIFO_CNT10)
19288 #define G_RD_REQ_TAG_FIFO_CNT10(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT10) & M_RD_REQ_TAG_FIFO_CNT10)
19290 #define A_MA_PM_RX_CLIENT_INTERFACE_INTERNAL_REG0 0xa40b
19292 #define S_CMD_IN_FIFO_CNT11 30
19293 #define M_CMD_IN_FIFO_CNT11 0x3U
19294 #define V_CMD_IN_FIFO_CNT11(x) ((x) << S_CMD_IN_FIFO_CNT11)
19295 #define G_CMD_IN_FIFO_CNT11(x) (((x) >> S_CMD_IN_FIFO_CNT11) & M_CMD_IN_FIFO_CNT11)
19297 #define S_CMD_SPLIT_FIFO_CNT11 28
19298 #define M_CMD_SPLIT_FIFO_CNT11 0x3U
19299 #define V_CMD_SPLIT_FIFO_CNT11(x) ((x) << S_CMD_SPLIT_FIFO_CNT11)
19300 #define G_CMD_SPLIT_FIFO_CNT11(x) (((x) >> S_CMD_SPLIT_FIFO_CNT11) & M_CMD_SPLIT_FIFO_CNT11)
19302 #define S_CMD_THROTTLE_FIFO_CNT11 22
19303 #define M_CMD_THROTTLE_FIFO_CNT11 0x3fU
19304 #define V_CMD_THROTTLE_FIFO_CNT11(x) ((x) << S_CMD_THROTTLE_FIFO_CNT11)
19305 #define G_CMD_THROTTLE_FIFO_CNT11(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT11) & M_CMD_THROTTLE_FIFO_CNT11)
19307 #define S_RD_CHNL_FIFO_CNT11 15
19308 #define M_RD_CHNL_FIFO_CNT11 0x7fU
19309 #define V_RD_CHNL_FIFO_CNT11(x) ((x) << S_RD_CHNL_FIFO_CNT11)
19310 #define G_RD_CHNL_FIFO_CNT11(x) (((x) >> S_RD_CHNL_FIFO_CNT11) & M_RD_CHNL_FIFO_CNT11)
19312 #define S_RD_DATA_EXT_FIFO_CNT11 13
19313 #define M_RD_DATA_EXT_FIFO_CNT11 0x3U
19314 #define V_RD_DATA_EXT_FIFO_CNT11(x) ((x) << S_RD_DATA_EXT_FIFO_CNT11)
19315 #define G_RD_DATA_EXT_FIFO_CNT11(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT11) & M_RD_DATA_EXT_FIFO_CNT11)
19317 #define S_RD_DATA_512B_FIFO_CNT11 5
19318 #define M_RD_DATA_512B_FIFO_CNT11 0xffU
19319 #define V_RD_DATA_512B_FIFO_CNT11(x) ((x) << S_RD_DATA_512B_FIFO_CNT11)
19320 #define G_RD_DATA_512B_FIFO_CNT11(x) (((x) >> S_RD_DATA_512B_FIFO_CNT11) & M_RD_DATA_512B_FIFO_CNT11)
19322 #define S_RD_REQ_TAG_FIFO_CNT11 1
19323 #define M_RD_REQ_TAG_FIFO_CNT11 0xfU
19324 #define V_RD_REQ_TAG_FIFO_CNT11(x) ((x) << S_RD_REQ_TAG_FIFO_CNT11)
19325 #define G_RD_REQ_TAG_FIFO_CNT11(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT11) & M_RD_REQ_TAG_FIFO_CNT11)
19327 #define A_MA_HMA_CLIENT_INTERFACE_INTERNAL_REG0 0xa40c
19329 #define S_CMD_IN_FIFO_CNT12 30
19330 #define M_CMD_IN_FIFO_CNT12 0x3U
19331 #define V_CMD_IN_FIFO_CNT12(x) ((x) << S_CMD_IN_FIFO_CNT12)
19332 #define G_CMD_IN_FIFO_CNT12(x) (((x) >> S_CMD_IN_FIFO_CNT12) & M_CMD_IN_FIFO_CNT12)
19334 #define S_CMD_SPLIT_FIFO_CNT12 28
19335 #define M_CMD_SPLIT_FIFO_CNT12 0x3U
19336 #define V_CMD_SPLIT_FIFO_CNT12(x) ((x) << S_CMD_SPLIT_FIFO_CNT12)
19337 #define G_CMD_SPLIT_FIFO_CNT12(x) (((x) >> S_CMD_SPLIT_FIFO_CNT12) & M_CMD_SPLIT_FIFO_CNT12)
19339 #define S_CMD_THROTTLE_FIFO_CNT12 22
19340 #define M_CMD_THROTTLE_FIFO_CNT12 0x3fU
19341 #define V_CMD_THROTTLE_FIFO_CNT12(x) ((x) << S_CMD_THROTTLE_FIFO_CNT12)
19342 #define G_CMD_THROTTLE_FIFO_CNT12(x) (((x) >> S_CMD_THROTTLE_FIFO_CNT12) & M_CMD_THROTTLE_FIFO_CNT12)
19344 #define S_RD_CHNL_FIFO_CNT12 15
19345 #define M_RD_CHNL_FIFO_CNT12 0x7fU
19346 #define V_RD_CHNL_FIFO_CNT12(x) ((x) << S_RD_CHNL_FIFO_CNT12)
19347 #define G_RD_CHNL_FIFO_CNT12(x) (((x) >> S_RD_CHNL_FIFO_CNT12) & M_RD_CHNL_FIFO_CNT12)
19349 #define S_RD_DATA_EXT_FIFO_CNT12 13
19350 #define M_RD_DATA_EXT_FIFO_CNT12 0x3U
19351 #define V_RD_DATA_EXT_FIFO_CNT12(x) ((x) << S_RD_DATA_EXT_FIFO_CNT12)
19352 #define G_RD_DATA_EXT_FIFO_CNT12(x) (((x) >> S_RD_DATA_EXT_FIFO_CNT12) & M_RD_DATA_EXT_FIFO_CNT12)
19354 #define S_RD_DATA_512B_FIFO_CNT12 5
19355 #define M_RD_DATA_512B_FIFO_CNT12 0xffU
19356 #define V_RD_DATA_512B_FIFO_CNT12(x) ((x) << S_RD_DATA_512B_FIFO_CNT12)
19357 #define G_RD_DATA_512B_FIFO_CNT12(x) (((x) >> S_RD_DATA_512B_FIFO_CNT12) & M_RD_DATA_512B_FIFO_CNT12)
19359 #define S_RD_REQ_TAG_FIFO_CNT12 1
19360 #define M_RD_REQ_TAG_FIFO_CNT12 0xfU
19361 #define V_RD_REQ_TAG_FIFO_CNT12(x) ((x) << S_RD_REQ_TAG_FIFO_CNT12)
19362 #define G_RD_REQ_TAG_FIFO_CNT12(x) (((x) >> S_RD_REQ_TAG_FIFO_CNT12) & M_RD_REQ_TAG_FIFO_CNT12)
19364 #define A_MA_TARGET_0_ARBITER_INTERFACE_INTERNAL_REG0 0xa40d
19366 #define S_WR_DATA_FSM0 23
19367 #define V_WR_DATA_FSM0(x) ((x) << S_WR_DATA_FSM0)
19368 #define F_WR_DATA_FSM0 V_WR_DATA_FSM0(1U)
19370 #define S_RD_DATA_FSM0 22
19371 #define V_RD_DATA_FSM0(x) ((x) << S_RD_DATA_FSM0)
19372 #define F_RD_DATA_FSM0 V_RD_DATA_FSM0(1U)
19374 #define S_TGT_CMD_FIFO_CNT0 19
19375 #define M_TGT_CMD_FIFO_CNT0 0x7U
19376 #define V_TGT_CMD_FIFO_CNT0(x) ((x) << S_TGT_CMD_FIFO_CNT0)
19377 #define G_TGT_CMD_FIFO_CNT0(x) (((x) >> S_TGT_CMD_FIFO_CNT0) & M_TGT_CMD_FIFO_CNT0)
19379 #define S_CLNT_NUM_FIFO_CNT0 16
19380 #define M_CLNT_NUM_FIFO_CNT0 0x7U
19381 #define V_CLNT_NUM_FIFO_CNT0(x) ((x) << S_CLNT_NUM_FIFO_CNT0)
19382 #define G_CLNT_NUM_FIFO_CNT0(x) (((x) >> S_CLNT_NUM_FIFO_CNT0) & M_CLNT_NUM_FIFO_CNT0)
19384 #define S_WR_CMD_TAG_FIFO_CNT_TGT0 8
19385 #define M_WR_CMD_TAG_FIFO_CNT_TGT0 0xffU
19386 #define V_WR_CMD_TAG_FIFO_CNT_TGT0(x) ((x) << S_WR_CMD_TAG_FIFO_CNT_TGT0)
19387 #define G_WR_CMD_TAG_FIFO_CNT_TGT0(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT_TGT0) & M_WR_CMD_TAG_FIFO_CNT_TGT0)
19389 #define S_WR_DATA_512B_FIFO_CNT_TGT0 0
19390 #define M_WR_DATA_512B_FIFO_CNT_TGT0 0xffU
19391 #define V_WR_DATA_512B_FIFO_CNT_TGT0(x) ((x) << S_WR_DATA_512B_FIFO_CNT_TGT0)
19392 #define G_WR_DATA_512B_FIFO_CNT_TGT0(x) (((x) >> S_WR_DATA_512B_FIFO_CNT_TGT0) & M_WR_DATA_512B_FIFO_CNT_TGT0)
19394 #define A_MA_TARGET_1_ARBITER_INTERFACE_INTERNAL_REG0 0xa40e
19396 #define S_WR_DATA_FSM1 23
19397 #define V_WR_DATA_FSM1(x) ((x) << S_WR_DATA_FSM1)
19398 #define F_WR_DATA_FSM1 V_WR_DATA_FSM1(1U)
19400 #define S_RD_DATA_FSM1 22
19401 #define V_RD_DATA_FSM1(x) ((x) << S_RD_DATA_FSM1)
19402 #define F_RD_DATA_FSM1 V_RD_DATA_FSM1(1U)
19404 #define S_TGT_CMD_FIFO_CNT1 19
19405 #define M_TGT_CMD_FIFO_CNT1 0x7U
19406 #define V_TGT_CMD_FIFO_CNT1(x) ((x) << S_TGT_CMD_FIFO_CNT1)
19407 #define G_TGT_CMD_FIFO_CNT1(x) (((x) >> S_TGT_CMD_FIFO_CNT1) & M_TGT_CMD_FIFO_CNT1)
19409 #define S_CLNT_NUM_FIFO_CNT1 16
19410 #define M_CLNT_NUM_FIFO_CNT1 0x7U
19411 #define V_CLNT_NUM_FIFO_CNT1(x) ((x) << S_CLNT_NUM_FIFO_CNT1)
19412 #define G_CLNT_NUM_FIFO_CNT1(x) (((x) >> S_CLNT_NUM_FIFO_CNT1) & M_CLNT_NUM_FIFO_CNT1)
19414 #define S_WR_CMD_TAG_FIFO_CNT_TGT1 8
19415 #define M_WR_CMD_TAG_FIFO_CNT_TGT1 0xffU
19416 #define V_WR_CMD_TAG_FIFO_CNT_TGT1(x) ((x) << S_WR_CMD_TAG_FIFO_CNT_TGT1)
19417 #define G_WR_CMD_TAG_FIFO_CNT_TGT1(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT_TGT1) & M_WR_CMD_TAG_FIFO_CNT_TGT1)
19419 #define S_WR_DATA_512B_FIFO_CNT_TGT1 0
19420 #define M_WR_DATA_512B_FIFO_CNT_TGT1 0xffU
19421 #define V_WR_DATA_512B_FIFO_CNT_TGT1(x) ((x) << S_WR_DATA_512B_FIFO_CNT_TGT1)
19422 #define G_WR_DATA_512B_FIFO_CNT_TGT1(x) (((x) >> S_WR_DATA_512B_FIFO_CNT_TGT1) & M_WR_DATA_512B_FIFO_CNT_TGT1)
19424 #define A_MA_TARGET_2_ARBITER_INTERFACE_INTERNAL_REG0 0xa40f
19426 #define S_WR_DATA_FSM2 23
19427 #define V_WR_DATA_FSM2(x) ((x) << S_WR_DATA_FSM2)
19428 #define F_WR_DATA_FSM2 V_WR_DATA_FSM2(1U)
19430 #define S_RD_DATA_FSM2 22
19431 #define V_RD_DATA_FSM2(x) ((x) << S_RD_DATA_FSM2)
19432 #define F_RD_DATA_FSM2 V_RD_DATA_FSM2(1U)
19434 #define S_TGT_CMD_FIFO_CNT2 19
19435 #define M_TGT_CMD_FIFO_CNT2 0x7U
19436 #define V_TGT_CMD_FIFO_CNT2(x) ((x) << S_TGT_CMD_FIFO_CNT2)
19437 #define G_TGT_CMD_FIFO_CNT2(x) (((x) >> S_TGT_CMD_FIFO_CNT2) & M_TGT_CMD_FIFO_CNT2)
19439 #define S_CLNT_NUM_FIFO_CNT2 16
19440 #define M_CLNT_NUM_FIFO_CNT2 0x7U
19441 #define V_CLNT_NUM_FIFO_CNT2(x) ((x) << S_CLNT_NUM_FIFO_CNT2)
19442 #define G_CLNT_NUM_FIFO_CNT2(x) (((x) >> S_CLNT_NUM_FIFO_CNT2) & M_CLNT_NUM_FIFO_CNT2)
19444 #define S_WR_CMD_TAG_FIFO_CNT_TGT2 8
19445 #define M_WR_CMD_TAG_FIFO_CNT_TGT2 0xffU
19446 #define V_WR_CMD_TAG_FIFO_CNT_TGT2(x) ((x) << S_WR_CMD_TAG_FIFO_CNT_TGT2)
19447 #define G_WR_CMD_TAG_FIFO_CNT_TGT2(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT_TGT2) & M_WR_CMD_TAG_FIFO_CNT_TGT2)
19449 #define S_WR_DATA_512B_FIFO_CNT_TGT2 0
19450 #define M_WR_DATA_512B_FIFO_CNT_TGT2 0xffU
19451 #define V_WR_DATA_512B_FIFO_CNT_TGT2(x) ((x) << S_WR_DATA_512B_FIFO_CNT_TGT2)
19452 #define G_WR_DATA_512B_FIFO_CNT_TGT2(x) (((x) >> S_WR_DATA_512B_FIFO_CNT_TGT2) & M_WR_DATA_512B_FIFO_CNT_TGT2)
19454 #define A_MA_TARGET_3_ARBITER_INTERFACE_INTERNAL_REG0 0xa410
19456 #define S_WR_DATA_FSM3 23
19457 #define V_WR_DATA_FSM3(x) ((x) << S_WR_DATA_FSM3)
19458 #define F_WR_DATA_FSM3 V_WR_DATA_FSM3(1U)
19460 #define S_RD_DATA_FSM3 22
19461 #define V_RD_DATA_FSM3(x) ((x) << S_RD_DATA_FSM3)
19462 #define F_RD_DATA_FSM3 V_RD_DATA_FSM3(1U)
19464 #define S_TGT_CMD_FIFO_CNT3 19
19465 #define M_TGT_CMD_FIFO_CNT3 0x7U
19466 #define V_TGT_CMD_FIFO_CNT3(x) ((x) << S_TGT_CMD_FIFO_CNT3)
19467 #define G_TGT_CMD_FIFO_CNT3(x) (((x) >> S_TGT_CMD_FIFO_CNT3) & M_TGT_CMD_FIFO_CNT3)
19469 #define S_CLNT_NUM_FIFO_CNT3 16
19470 #define M_CLNT_NUM_FIFO_CNT3 0x7U
19471 #define V_CLNT_NUM_FIFO_CNT3(x) ((x) << S_CLNT_NUM_FIFO_CNT3)
19472 #define G_CLNT_NUM_FIFO_CNT3(x) (((x) >> S_CLNT_NUM_FIFO_CNT3) & M_CLNT_NUM_FIFO_CNT3)
19474 #define S_WR_CMD_TAG_FIFO_CNT_TGT3 8
19475 #define M_WR_CMD_TAG_FIFO_CNT_TGT3 0xffU
19476 #define V_WR_CMD_TAG_FIFO_CNT_TGT3(x) ((x) << S_WR_CMD_TAG_FIFO_CNT_TGT3)
19477 #define G_WR_CMD_TAG_FIFO_CNT_TGT3(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT_TGT3) & M_WR_CMD_TAG_FIFO_CNT_TGT3)
19479 #define S_WR_DATA_512B_FIFO_CNT_TGT 0
19480 #define M_WR_DATA_512B_FIFO_CNT_TGT 0xffU
19481 #define V_WR_DATA_512B_FIFO_CNT_TGT(x) ((x) << S_WR_DATA_512B_FIFO_CNT_TGT)
19482 #define G_WR_DATA_512B_FIFO_CNT_TGT(x) (((x) >> S_WR_DATA_512B_FIFO_CNT_TGT) & M_WR_DATA_512B_FIFO_CNT_TGT)
19484 #define A_MA_SGE_THREAD_0_CLNT_EXP_RD_CYC_CNT_LO 0xa412
19485 #define A_MA_SGE_THREAD_1_CLNT_EXP_RD_CYC_CNT_LO 0xa413
19486 #define A_MA_ULP_TX_CLNT_EXP_RD_CYC_CNT_LO 0xa414
19487 #define A_MA_ULP_RX_CLNT_EXP_RD_CYC_CNT_LO 0xa415
19488 #define A_MA_ULP_TX_RX_CLNT_EXP_RD_CYC_CNT_LO 0xa416
19489 #define A_MA_TP_THREAD_0_CLNT_EXP_RD_CYC_CNT_LO 0xa417
19490 #define A_MA_TP_THREAD_1_CLNT_EXP_RD_CYC_CNT_LO 0xa418
19491 #define A_MA_LE_CLNT_EXP_RD_CYC_CNT_LO 0xa419
19492 #define A_MA_CIM_CLNT_EXP_RD_CYC_CNT_LO 0xa41a
19493 #define A_MA_PCIE_CLNT_EXP_RD_CYC_CNT_LO 0xa41b
19494 #define A_MA_PM_TX_CLNT_EXP_RD_CYC_CNT_LO 0xa41c
19495 #define A_MA_PM_RX_CLNT_EXP_RD_CYC_CNT_LO 0xa41d
19496 #define A_MA_HMA_CLNT_EXP_RD_CYC_CNT_LO 0xa41e
19497 #define A_T6_MA_EDRAM0_WRDATA_CNT1 0xa800
19498 #define A_T6_MA_EDRAM0_WRDATA_CNT0 0xa801
19499 #define A_T6_MA_EDRAM1_WRDATA_CNT1 0xa802
19500 #define A_T6_MA_EDRAM1_WRDATA_CNT0 0xa803
19501 #define A_T6_MA_EXT_MEMORY0_WRDATA_CNT1 0xa804
19502 #define A_T6_MA_EXT_MEMORY0_WRDATA_CNT0 0xa805
19503 #define A_T6_MA_HOST_MEMORY_WRDATA_CNT1 0xa806
19504 #define A_T6_MA_HOST_MEMORY_WRDATA_CNT0 0xa807
19505 #define A_T6_MA_EXT_MEMORY1_WRDATA_CNT1 0xa808
19506 #define A_T6_MA_EXT_MEMORY1_WRDATA_CNT0 0xa809
19507 #define A_T6_MA_EDRAM0_RDDATA_CNT1 0xa80a
19508 #define A_T6_MA_EDRAM0_RDDATA_CNT0 0xa80b
19509 #define A_T6_MA_EDRAM1_RDDATA_CNT1 0xa80c
19510 #define A_T6_MA_EDRAM1_RDDATA_CNT0 0xa80d
19511 #define A_T6_MA_EXT_MEMORY0_RDDATA_CNT1 0xa80e
19512 #define A_T6_MA_EXT_MEMORY0_RDDATA_CNT0 0xa80f
19513 #define A_T6_MA_HOST_MEMORY_RDDATA_CNT1 0xa810
19514 #define A_T6_MA_HOST_MEMORY_RDDATA_CNT0 0xa811
19515 #define A_T6_MA_EXT_MEMORY1_RDDATA_CNT1 0xa812
19516 #define A_T6_MA_EXT_MEMORY1_RDDATA_CNT0 0xa813
19517 #define A_MA_SGE_THREAD_0_CLNT_ACT_WR_CYC_CNT_HI 0xac00
19518 #define A_MA_SGE_THREAD_0_CLNT_ACT_WR_CYC_CNT_LO 0xac01
19519 #define A_MA_SGE_THREAD_1_CLNT_ACT_WR_CYC_CNT_HI 0xac02
19520 #define A_MA_SGE_THREAD_1_CLNT_ACT_WR_CYC_CNT_LO 0xac03
19521 #define A_MA_ULP_TX_CLNT_ACT_WR_CYC_CNT_HI 0xac04
19522 #define A_MA_ULP_TX_CLNT_ACT_WR_CYC_CNT_LO 0xac05
19523 #define A_MA_ULP_RX_CLNT_ACT_WR_CYC_CNT_HI 0xac06
19524 #define A_MA_ULP_RX_CLNT_ACT_WR_CYC_CNT_LO 0xac07
19525 #define A_MA_ULP_TX_RX_CLNT_ACT_WR_CYC_CNT_HI 0xac08
19526 #define A_MA_ULP_TX_RX_CLNT_ACT_WR_CYC_CNT_LO 0xac09
19527 #define A_MA_TP_THREAD_0_CLNT_ACT_WR_CYC_CNT_HI 0xac0a
19528 #define A_MA_TP_THREAD_0_CLNT_ACT_WR_CYC_CNT_LO 0xac0b
19529 #define A_MA_TP_THREAD_1_CLNT_ACT_WR_CYC_CNT_HI 0xac0c
19530 #define A_MA_TP_THREAD_1_CLNT_ACT_WR_CYC_CNT_LO 0xac0d
19531 #define A_MA_LE_CLNT_ACT_WR_CYC_CNT_HI 0xac0e
19532 #define A_MA_LE_CLNT_ACT_WR_CYC_CNT_LO 0xac0f
19533 #define A_MA_CIM_CLNT_ACT_WR_CYC_CNT_HI 0xac10
19534 #define A_MA_CIM_CLNT_ACT_WR_CYC_CNT_LO 0xac11
19535 #define A_MA_PCIE_CLNT_ACT_WR_CYC_CNT_HI 0xac12
19536 #define A_MA_PCIE_CLNT_ACT_WR_CYC_CNT_LO 0xac13
19537 #define A_MA_PM_TX_CLNT_ACT_WR_CYC_CNT_HI 0xac14
19538 #define A_MA_PM_TX_CLNT_ACT_WR_CYC_CNT_LO 0xac15
19539 #define A_MA_PM_RX_CLNT_ACT_WR_CYC_CNT_HI 0xac16
19540 #define A_MA_PM_RX_CLNT_ACT_WR_CYC_CNT_LO 0xac17
19541 #define A_MA_HMA_CLNT_ACT_WR_CYC_CNT_HI 0xac18
19542 #define A_MA_HMA_CLNT_ACT_WR_CYC_CNT_LO 0xac19
19543 #define A_MA_SGE_THREAD_0_CLNT_WR_REQ_CNT 0xb000
19544 #define A_MA_SGE_THREAD_1_CLNT_WR_REQ_CNT 0xb001
19545 #define A_MA_ULP_TX_CLNT_WR_REQ_CNT 0xb002
19546 #define A_MA_ULP_RX_CLNT_WR_REQ_CNT 0xb003
19547 #define A_MA_ULP_TX_RX_CLNT_WR_REQ_CNT 0xb004
19548 #define A_MA_TP_THREAD_0_CLNT_WR_REQ_CNT 0xb005
19549 #define A_MA_TP_THREAD_1_CLNT_WR_REQ_CNT 0xb006
19550 #define A_MA_LE_CLNT_WR_REQ_CNT 0xb007
19551 #define A_MA_CIM_CLNT_WR_REQ_CNT 0xb008
19552 #define A_MA_PCIE_CLNT_WR_REQ_CNT 0xb009
19553 #define A_MA_PM_TX_CLNT_WR_REQ_CNT 0xb00a
19554 #define A_MA_PM_RX_CLNT_WR_REQ_CNT 0xb00b
19555 #define A_MA_HMA_CLNT_WR_REQ_CNT 0xb00c
19556 #define A_MA_SGE_THREAD_0_CLNT_RD_REQ_CNT 0xb00d
19557 #define A_MA_SGE_THREAD_1_CLNT_RD_REQ_CNT 0xb00e
19558 #define A_MA_ULP_TX_CLNT_RD_REQ_CNT 0xb00f
19559 #define A_MA_ULP_RX_CLNT_RD_REQ_CNT 0xb010
19560 #define A_MA_ULP_TX_RX_CLNT_RD_REQ_CNT 0xb011
19561 #define A_MA_TP_THREAD_0_CLNT_RD_REQ_CNT 0xb012
19562 #define A_MA_TP_THREAD_1_CLNT_RD_REQ_CNT 0xb013
19563 #define A_MA_LE_CLNT_RD_REQ_CNT 0xb014
19564 #define A_MA_CIM_CLNT_RD_REQ_CNT 0xb015
19565 #define A_MA_PCIE_CLNT_RD_REQ_CNT 0xb016
19566 #define A_MA_PM_TX_CLNT_RD_REQ_CNT 0xb017
19567 #define A_MA_PM_RX_CLNT_RD_REQ_CNT 0xb018
19568 #define A_MA_HMA_CLNT_RD_REQ_CNT 0xb019
19569 #define A_MA_SGE_THREAD_0_CLNT_EXP_RD_CYC_CNT_HI 0xb400
19570 #define A_MA_SGE_THREAD_1_CLNT_EXP_RD_CYC_CNT_HI 0xb401
19571 #define A_MA_ULP_TX_CLNT_EXP_RD_CYC_CNT_HI 0xb402
19572 #define A_MA_ULP_RX_CLNT_EXP_RD_CYC_CNT_HI 0xb403
19573 #define A_MA_ULP_TX_RX_CLNT_EXP_RD_CYC_CNT_HI 0xb404
19574 #define A_MA_TP_THREAD_0_CLNT_EXP_RD_CYC_CNT_HI 0xb405
19575 #define A_MA_TP_THREAD_1_CLNT_EXP_RD_CYC_CNT_HI 0xb406
19576 #define A_MA_LE_CLNT_EXP_RD_CYC_CNT_HI 0xb407
19577 #define A_MA_CIM_CLNT_EXP_RD_CYC_CNT_HI 0xb408
19578 #define A_MA_PCIE_CLNT_EXP_RD_CYC_CNT_HI 0xb409
19579 #define A_MA_PM_TX_CLNT_EXP_RD_CYC_CNT_HI 0xb40a
19580 #define A_MA_PM_RX_CLNT_EXP_RD_CYC_CNT_HI 0xb40b
19581 #define A_MA_HMA_CLNT_EXP_RD_CYC_CNT_HI 0xb40c
19582 #define A_MA_SGE_THREAD_0_CLNT_EXP_WR_CYC_CNT_HI 0xb40d
19583 #define A_MA_SGE_THREAD_1_CLNT_EXP_WR_CYC_CNT_HI 0xb40e
19584 #define A_MA_ULP_TX_CLNT_EXP_WR_CYC_CNT_HI 0xb40f
19585 #define A_MA_ULP_RX_CLNT_EXP_WR_CYC_CNT_HI 0xb410
19586 #define A_MA_ULP_TX_RX_CLNT_EXP_WR_CYC_CNT_HI 0xb411
19587 #define A_MA_TP_THREAD_0_CLNT_EXP_WR_CYC_CNT_HI 0xb412
19588 #define A_MA_TP_THREAD_1_CLNT_EXP_WR_CYC_CNT_HI 0xb413
19589 #define A_MA_LE_CLNT_EXP_WR_CYC_CNT_HI 0xb414
19590 #define A_MA_CIM_CLNT_EXP_WR_CYC_CNT_HI 0xb415
19591 #define A_MA_PCIE_CLNT_EXP_WR_CYC_CNT_HI 0xb416
19592 #define A_MA_PM_TX_CLNT_EXP_WR_CYC_CNT_HI 0xb417
19593 #define A_MA_PM_RX_CLNT_EXP_WR_CYC_CNT_HI 0xb418
19594 #define A_MA_HMA_CLNT_EXP_WR_CYC_CNT_HI 0xb419
19595 #define A_MA_SGE_THREAD_0_CLIENT_INTERFACE_INTERNAL_REG1 0xe400
19597 #define S_WR_DATA_EXT_FIFO_CNT0 30
19598 #define M_WR_DATA_EXT_FIFO_CNT0 0x3U
19599 #define V_WR_DATA_EXT_FIFO_CNT0(x) ((x) << S_WR_DATA_EXT_FIFO_CNT0)
19600 #define G_WR_DATA_EXT_FIFO_CNT0(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT0) & M_WR_DATA_EXT_FIFO_CNT0)
19602 #define S_WR_CMD_TAG_FIFO_CNT0 26
19603 #define M_WR_CMD_TAG_FIFO_CNT0 0xfU
19604 #define V_WR_CMD_TAG_FIFO_CNT0(x) ((x) << S_WR_CMD_TAG_FIFO_CNT0)
19605 #define G_WR_CMD_TAG_FIFO_CNT0(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT0) & M_WR_CMD_TAG_FIFO_CNT0)
19607 #define S_WR_DATA_512B_FIFO_CNT0 18
19608 #define M_WR_DATA_512B_FIFO_CNT0 0xffU
19609 #define V_WR_DATA_512B_FIFO_CNT0(x) ((x) << S_WR_DATA_512B_FIFO_CNT0)
19610 #define G_WR_DATA_512B_FIFO_CNT0(x) (((x) >> S_WR_DATA_512B_FIFO_CNT0) & M_WR_DATA_512B_FIFO_CNT0)
19612 #define S_RD_DATA_ALIGN_FSM0 17
19613 #define V_RD_DATA_ALIGN_FSM0(x) ((x) << S_RD_DATA_ALIGN_FSM0)
19614 #define F_RD_DATA_ALIGN_FSM0 V_RD_DATA_ALIGN_FSM0(1U)
19616 #define S_RD_DATA_FETCH_FSM0 16
19617 #define V_RD_DATA_FETCH_FSM0(x) ((x) << S_RD_DATA_FETCH_FSM0)
19618 #define F_RD_DATA_FETCH_FSM0 V_RD_DATA_FETCH_FSM0(1U)
19620 #define S_COHERENCY_TX_FSM0 15
19621 #define V_COHERENCY_TX_FSM0(x) ((x) << S_COHERENCY_TX_FSM0)
19622 #define F_COHERENCY_TX_FSM0 V_COHERENCY_TX_FSM0(1U)
19624 #define S_COHERENCY_RX_FSM0 14
19625 #define V_COHERENCY_RX_FSM0(x) ((x) << S_COHERENCY_RX_FSM0)
19626 #define F_COHERENCY_RX_FSM0 V_COHERENCY_RX_FSM0(1U)
19628 #define S_ARB_REQ_FSM0 13
19629 #define V_ARB_REQ_FSM0(x) ((x) << S_ARB_REQ_FSM0)
19630 #define F_ARB_REQ_FSM0 V_ARB_REQ_FSM0(1U)
19632 #define S_CMD_SPLIT_FSM0 10
19633 #define M_CMD_SPLIT_FSM0 0x7U
19634 #define V_CMD_SPLIT_FSM0(x) ((x) << S_CMD_SPLIT_FSM0)
19635 #define G_CMD_SPLIT_FSM0(x) (((x) >> S_CMD_SPLIT_FSM0) & M_CMD_SPLIT_FSM0)
19637 #define A_MA_SGE_THREAD_1_CLIENT_INTERFACE_INTERNAL_REG1 0xe420
19639 #define S_WR_DATA_EXT_FIFO_CNT1 30
19640 #define M_WR_DATA_EXT_FIFO_CNT1 0x3U
19641 #define V_WR_DATA_EXT_FIFO_CNT1(x) ((x) << S_WR_DATA_EXT_FIFO_CNT1)
19642 #define G_WR_DATA_EXT_FIFO_CNT1(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT1) & M_WR_DATA_EXT_FIFO_CNT1)
19644 #define S_WR_CMD_TAG_FIFO_CNT1 26
19645 #define M_WR_CMD_TAG_FIFO_CNT1 0xfU
19646 #define V_WR_CMD_TAG_FIFO_CNT1(x) ((x) << S_WR_CMD_TAG_FIFO_CNT1)
19647 #define G_WR_CMD_TAG_FIFO_CNT1(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT1) & M_WR_CMD_TAG_FIFO_CNT1)
19649 #define S_WR_DATA_512B_FIFO_CNT1 18
19650 #define M_WR_DATA_512B_FIFO_CNT1 0xffU
19651 #define V_WR_DATA_512B_FIFO_CNT1(x) ((x) << S_WR_DATA_512B_FIFO_CNT1)
19652 #define G_WR_DATA_512B_FIFO_CNT1(x) (((x) >> S_WR_DATA_512B_FIFO_CNT1) & M_WR_DATA_512B_FIFO_CNT1)
19654 #define S_RD_DATA_ALIGN_FSM1 17
19655 #define V_RD_DATA_ALIGN_FSM1(x) ((x) << S_RD_DATA_ALIGN_FSM1)
19656 #define F_RD_DATA_ALIGN_FSM1 V_RD_DATA_ALIGN_FSM1(1U)
19658 #define S_RD_DATA_FETCH_FSM1 16
19659 #define V_RD_DATA_FETCH_FSM1(x) ((x) << S_RD_DATA_FETCH_FSM1)
19660 #define F_RD_DATA_FETCH_FSM1 V_RD_DATA_FETCH_FSM1(1U)
19662 #define S_COHERENCY_TX_FSM1 15
19663 #define V_COHERENCY_TX_FSM1(x) ((x) << S_COHERENCY_TX_FSM1)
19664 #define F_COHERENCY_TX_FSM1 V_COHERENCY_TX_FSM1(1U)
19666 #define S_COHERENCY_RX_FSM1 14
19667 #define V_COHERENCY_RX_FSM1(x) ((x) << S_COHERENCY_RX_FSM1)
19668 #define F_COHERENCY_RX_FSM1 V_COHERENCY_RX_FSM1(1U)
19670 #define S_ARB_REQ_FSM1 13
19671 #define V_ARB_REQ_FSM1(x) ((x) << S_ARB_REQ_FSM1)
19672 #define F_ARB_REQ_FSM1 V_ARB_REQ_FSM1(1U)
19674 #define S_CMD_SPLIT_FSM1 10
19675 #define M_CMD_SPLIT_FSM1 0x7U
19676 #define V_CMD_SPLIT_FSM1(x) ((x) << S_CMD_SPLIT_FSM1)
19677 #define G_CMD_SPLIT_FSM1(x) (((x) >> S_CMD_SPLIT_FSM1) & M_CMD_SPLIT_FSM1)
19679 #define A_MA_ULP_TX_CLIENT_INTERFACE_INTERNAL_REG1 0xe440
19681 #define S_WR_DATA_EXT_FIFO_CNT2 30
19682 #define M_WR_DATA_EXT_FIFO_CNT2 0x3U
19683 #define V_WR_DATA_EXT_FIFO_CNT2(x) ((x) << S_WR_DATA_EXT_FIFO_CNT2)
19684 #define G_WR_DATA_EXT_FIFO_CNT2(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT2) & M_WR_DATA_EXT_FIFO_CNT2)
19686 #define S_WR_CMD_TAG_FIFO_CNT2 26
19687 #define M_WR_CMD_TAG_FIFO_CNT2 0xfU
19688 #define V_WR_CMD_TAG_FIFO_CNT2(x) ((x) << S_WR_CMD_TAG_FIFO_CNT2)
19689 #define G_WR_CMD_TAG_FIFO_CNT2(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT2) & M_WR_CMD_TAG_FIFO_CNT2)
19691 #define S_WR_DATA_512B_FIFO_CNT2 18
19692 #define M_WR_DATA_512B_FIFO_CNT2 0xffU
19693 #define V_WR_DATA_512B_FIFO_CNT2(x) ((x) << S_WR_DATA_512B_FIFO_CNT2)
19694 #define G_WR_DATA_512B_FIFO_CNT2(x) (((x) >> S_WR_DATA_512B_FIFO_CNT2) & M_WR_DATA_512B_FIFO_CNT2)
19696 #define S_RD_DATA_ALIGN_FSM2 17
19697 #define V_RD_DATA_ALIGN_FSM2(x) ((x) << S_RD_DATA_ALIGN_FSM2)
19698 #define F_RD_DATA_ALIGN_FSM2 V_RD_DATA_ALIGN_FSM2(1U)
19700 #define S_RD_DATA_FETCH_FSM2 16
19701 #define V_RD_DATA_FETCH_FSM2(x) ((x) << S_RD_DATA_FETCH_FSM2)
19702 #define F_RD_DATA_FETCH_FSM2 V_RD_DATA_FETCH_FSM2(1U)
19704 #define S_COHERENCY_TX_FSM2 15
19705 #define V_COHERENCY_TX_FSM2(x) ((x) << S_COHERENCY_TX_FSM2)
19706 #define F_COHERENCY_TX_FSM2 V_COHERENCY_TX_FSM2(1U)
19708 #define S_COHERENCY_RX_FSM2 14
19709 #define V_COHERENCY_RX_FSM2(x) ((x) << S_COHERENCY_RX_FSM2)
19710 #define F_COHERENCY_RX_FSM2 V_COHERENCY_RX_FSM2(1U)
19712 #define S_ARB_REQ_FSM2 13
19713 #define V_ARB_REQ_FSM2(x) ((x) << S_ARB_REQ_FSM2)
19714 #define F_ARB_REQ_FSM2 V_ARB_REQ_FSM2(1U)
19716 #define S_CMD_SPLIT_FSM2 10
19717 #define M_CMD_SPLIT_FSM2 0x7U
19718 #define V_CMD_SPLIT_FSM2(x) ((x) << S_CMD_SPLIT_FSM2)
19719 #define G_CMD_SPLIT_FSM2(x) (((x) >> S_CMD_SPLIT_FSM2) & M_CMD_SPLIT_FSM2)
19721 #define A_MA_ULP_RX_CLIENT_INTERFACE_INTERNAL_REG1 0xe460
19723 #define S_WR_DATA_EXT_FIFO_CNT3 30
19724 #define M_WR_DATA_EXT_FIFO_CNT3 0x3U
19725 #define V_WR_DATA_EXT_FIFO_CNT3(x) ((x) << S_WR_DATA_EXT_FIFO_CNT3)
19726 #define G_WR_DATA_EXT_FIFO_CNT3(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT3) & M_WR_DATA_EXT_FIFO_CNT3)
19728 #define S_WR_CMD_TAG_FIFO_CNT3 26
19729 #define M_WR_CMD_TAG_FIFO_CNT3 0xfU
19730 #define V_WR_CMD_TAG_FIFO_CNT3(x) ((x) << S_WR_CMD_TAG_FIFO_CNT3)
19731 #define G_WR_CMD_TAG_FIFO_CNT3(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT3) & M_WR_CMD_TAG_FIFO_CNT3)
19733 #define S_WR_DATA_512B_FIFO_CNT3 18
19734 #define M_WR_DATA_512B_FIFO_CNT3 0xffU
19735 #define V_WR_DATA_512B_FIFO_CNT3(x) ((x) << S_WR_DATA_512B_FIFO_CNT3)
19736 #define G_WR_DATA_512B_FIFO_CNT3(x) (((x) >> S_WR_DATA_512B_FIFO_CNT3) & M_WR_DATA_512B_FIFO_CNT3)
19738 #define S_RD_DATA_ALIGN_FSM3 17
19739 #define V_RD_DATA_ALIGN_FSM3(x) ((x) << S_RD_DATA_ALIGN_FSM3)
19740 #define F_RD_DATA_ALIGN_FSM3 V_RD_DATA_ALIGN_FSM3(1U)
19742 #define S_RD_DATA_FETCH_FSM3 16
19743 #define V_RD_DATA_FETCH_FSM3(x) ((x) << S_RD_DATA_FETCH_FSM3)
19744 #define F_RD_DATA_FETCH_FSM3 V_RD_DATA_FETCH_FSM3(1U)
19746 #define S_COHERENCY_TX_FSM3 15
19747 #define V_COHERENCY_TX_FSM3(x) ((x) << S_COHERENCY_TX_FSM3)
19748 #define F_COHERENCY_TX_FSM3 V_COHERENCY_TX_FSM3(1U)
19750 #define S_COHERENCY_RX_FSM3 14
19751 #define V_COHERENCY_RX_FSM3(x) ((x) << S_COHERENCY_RX_FSM3)
19752 #define F_COHERENCY_RX_FSM3 V_COHERENCY_RX_FSM3(1U)
19754 #define S_ARB_REQ_FSM3 13
19755 #define V_ARB_REQ_FSM3(x) ((x) << S_ARB_REQ_FSM3)
19756 #define F_ARB_REQ_FSM3 V_ARB_REQ_FSM3(1U)
19758 #define S_CMD_SPLIT_FSM3 10
19759 #define M_CMD_SPLIT_FSM3 0x7U
19760 #define V_CMD_SPLIT_FSM3(x) ((x) << S_CMD_SPLIT_FSM3)
19761 #define G_CMD_SPLIT_FSM3(x) (((x) >> S_CMD_SPLIT_FSM3) & M_CMD_SPLIT_FSM3)
19763 #define A_MA_ULP_TX_RX_CLIENT_INTERFACE_INTERNAL_REG1 0xe480
19765 #define S_WR_DATA_EXT_FIFO_CNT4 30
19766 #define M_WR_DATA_EXT_FIFO_CNT4 0x3U
19767 #define V_WR_DATA_EXT_FIFO_CNT4(x) ((x) << S_WR_DATA_EXT_FIFO_CNT4)
19768 #define G_WR_DATA_EXT_FIFO_CNT4(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT4) & M_WR_DATA_EXT_FIFO_CNT4)
19770 #define S_WR_CMD_TAG_FIFO_CNT4 26
19771 #define M_WR_CMD_TAG_FIFO_CNT4 0xfU
19772 #define V_WR_CMD_TAG_FIFO_CNT4(x) ((x) << S_WR_CMD_TAG_FIFO_CNT4)
19773 #define G_WR_CMD_TAG_FIFO_CNT4(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT4) & M_WR_CMD_TAG_FIFO_CNT4)
19775 #define S_WR_DATA_512B_FIFO_CNT4 18
19776 #define M_WR_DATA_512B_FIFO_CNT4 0xffU
19777 #define V_WR_DATA_512B_FIFO_CNT4(x) ((x) << S_WR_DATA_512B_FIFO_CNT4)
19778 #define G_WR_DATA_512B_FIFO_CNT4(x) (((x) >> S_WR_DATA_512B_FIFO_CNT4) & M_WR_DATA_512B_FIFO_CNT4)
19780 #define S_RD_DATA_ALIGN_FSM4 17
19781 #define V_RD_DATA_ALIGN_FSM4(x) ((x) << S_RD_DATA_ALIGN_FSM4)
19782 #define F_RD_DATA_ALIGN_FSM4 V_RD_DATA_ALIGN_FSM4(1U)
19784 #define S_RD_DATA_FETCH_FSM4 16
19785 #define V_RD_DATA_FETCH_FSM4(x) ((x) << S_RD_DATA_FETCH_FSM4)
19786 #define F_RD_DATA_FETCH_FSM4 V_RD_DATA_FETCH_FSM4(1U)
19788 #define S_COHERENCY_TX_FSM4 15
19789 #define V_COHERENCY_TX_FSM4(x) ((x) << S_COHERENCY_TX_FSM4)
19790 #define F_COHERENCY_TX_FSM4 V_COHERENCY_TX_FSM4(1U)
19792 #define S_COHERENCY_RX_FSM4 14
19793 #define V_COHERENCY_RX_FSM4(x) ((x) << S_COHERENCY_RX_FSM4)
19794 #define F_COHERENCY_RX_FSM4 V_COHERENCY_RX_FSM4(1U)
19796 #define S_ARB_REQ_FSM4 13
19797 #define V_ARB_REQ_FSM4(x) ((x) << S_ARB_REQ_FSM4)
19798 #define F_ARB_REQ_FSM4 V_ARB_REQ_FSM4(1U)
19800 #define S_CMD_SPLIT_FSM4 10
19801 #define M_CMD_SPLIT_FSM4 0x7U
19802 #define V_CMD_SPLIT_FSM4(x) ((x) << S_CMD_SPLIT_FSM4)
19803 #define G_CMD_SPLIT_FSM4(x) (((x) >> S_CMD_SPLIT_FSM4) & M_CMD_SPLIT_FSM4)
19805 #define A_MA_TP_THREAD_0_CLIENT_INTERFACE_INTERNAL_REG1 0xe4a0
19807 #define S_WR_DATA_EXT_FIFO_CNT5 30
19808 #define M_WR_DATA_EXT_FIFO_CNT5 0x3U
19809 #define V_WR_DATA_EXT_FIFO_CNT5(x) ((x) << S_WR_DATA_EXT_FIFO_CNT5)
19810 #define G_WR_DATA_EXT_FIFO_CNT5(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT5) & M_WR_DATA_EXT_FIFO_CNT5)
19812 #define S_WR_CMD_TAG_FIFO_CNT5 26
19813 #define M_WR_CMD_TAG_FIFO_CNT5 0xfU
19814 #define V_WR_CMD_TAG_FIFO_CNT5(x) ((x) << S_WR_CMD_TAG_FIFO_CNT5)
19815 #define G_WR_CMD_TAG_FIFO_CNT5(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT5) & M_WR_CMD_TAG_FIFO_CNT5)
19817 #define S_WR_DATA_512B_FIFO_CNT5 18
19818 #define M_WR_DATA_512B_FIFO_CNT5 0xffU
19819 #define V_WR_DATA_512B_FIFO_CNT5(x) ((x) << S_WR_DATA_512B_FIFO_CNT5)
19820 #define G_WR_DATA_512B_FIFO_CNT5(x) (((x) >> S_WR_DATA_512B_FIFO_CNT5) & M_WR_DATA_512B_FIFO_CNT5)
19822 #define S_RD_DATA_ALIGN_FSM5 17
19823 #define V_RD_DATA_ALIGN_FSM5(x) ((x) << S_RD_DATA_ALIGN_FSM5)
19824 #define F_RD_DATA_ALIGN_FSM5 V_RD_DATA_ALIGN_FSM5(1U)
19826 #define S_RD_DATA_FETCH_FSM5 16
19827 #define V_RD_DATA_FETCH_FSM5(x) ((x) << S_RD_DATA_FETCH_FSM5)
19828 #define F_RD_DATA_FETCH_FSM5 V_RD_DATA_FETCH_FSM5(1U)
19830 #define S_COHERENCY_TX_FSM5 15
19831 #define V_COHERENCY_TX_FSM5(x) ((x) << S_COHERENCY_TX_FSM5)
19832 #define F_COHERENCY_TX_FSM5 V_COHERENCY_TX_FSM5(1U)
19834 #define S_COHERENCY_RX_FSM5 14
19835 #define V_COHERENCY_RX_FSM5(x) ((x) << S_COHERENCY_RX_FSM5)
19836 #define F_COHERENCY_RX_FSM5 V_COHERENCY_RX_FSM5(1U)
19838 #define S_ARB_REQ_FSM5 13
19839 #define V_ARB_REQ_FSM5(x) ((x) << S_ARB_REQ_FSM5)
19840 #define F_ARB_REQ_FSM5 V_ARB_REQ_FSM5(1U)
19842 #define S_CMD_SPLIT_FSM5 10
19843 #define M_CMD_SPLIT_FSM5 0x7U
19844 #define V_CMD_SPLIT_FSM5(x) ((x) << S_CMD_SPLIT_FSM5)
19845 #define G_CMD_SPLIT_FSM5(x) (((x) >> S_CMD_SPLIT_FSM5) & M_CMD_SPLIT_FSM5)
19847 #define A_MA_TP_THREAD_1_CLIENT_INTERFACE_INTERNAL_REG1 0xe4c0
19849 #define S_WR_DATA_EXT_FIFO_CNT6 30
19850 #define M_WR_DATA_EXT_FIFO_CNT6 0x3U
19851 #define V_WR_DATA_EXT_FIFO_CNT6(x) ((x) << S_WR_DATA_EXT_FIFO_CNT6)
19852 #define G_WR_DATA_EXT_FIFO_CNT6(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT6) & M_WR_DATA_EXT_FIFO_CNT6)
19854 #define S_WR_CMD_TAG_FIFO_CNT6 26
19855 #define M_WR_CMD_TAG_FIFO_CNT6 0xfU
19856 #define V_WR_CMD_TAG_FIFO_CNT6(x) ((x) << S_WR_CMD_TAG_FIFO_CNT6)
19857 #define G_WR_CMD_TAG_FIFO_CNT6(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT6) & M_WR_CMD_TAG_FIFO_CNT6)
19859 #define S_WR_DATA_512B_FIFO_CNT6 18
19860 #define M_WR_DATA_512B_FIFO_CNT6 0xffU
19861 #define V_WR_DATA_512B_FIFO_CNT6(x) ((x) << S_WR_DATA_512B_FIFO_CNT6)
19862 #define G_WR_DATA_512B_FIFO_CNT6(x) (((x) >> S_WR_DATA_512B_FIFO_CNT6) & M_WR_DATA_512B_FIFO_CNT6)
19864 #define S_RD_DATA_ALIGN_FSM6 17
19865 #define V_RD_DATA_ALIGN_FSM6(x) ((x) << S_RD_DATA_ALIGN_FSM6)
19866 #define F_RD_DATA_ALIGN_FSM6 V_RD_DATA_ALIGN_FSM6(1U)
19868 #define S_RD_DATA_FETCH_FSM6 16
19869 #define V_RD_DATA_FETCH_FSM6(x) ((x) << S_RD_DATA_FETCH_FSM6)
19870 #define F_RD_DATA_FETCH_FSM6 V_RD_DATA_FETCH_FSM6(1U)
19872 #define S_COHERENCY_TX_FSM6 15
19873 #define V_COHERENCY_TX_FSM6(x) ((x) << S_COHERENCY_TX_FSM6)
19874 #define F_COHERENCY_TX_FSM6 V_COHERENCY_TX_FSM6(1U)
19876 #define S_COHERENCY_RX_FSM6 14
19877 #define V_COHERENCY_RX_FSM6(x) ((x) << S_COHERENCY_RX_FSM6)
19878 #define F_COHERENCY_RX_FSM6 V_COHERENCY_RX_FSM6(1U)
19880 #define S_ARB_REQ_FSM6 13
19881 #define V_ARB_REQ_FSM6(x) ((x) << S_ARB_REQ_FSM6)
19882 #define F_ARB_REQ_FSM6 V_ARB_REQ_FSM6(1U)
19884 #define S_CMD_SPLIT_FSM6 10
19885 #define M_CMD_SPLIT_FSM6 0x7U
19886 #define V_CMD_SPLIT_FSM6(x) ((x) << S_CMD_SPLIT_FSM6)
19887 #define G_CMD_SPLIT_FSM6(x) (((x) >> S_CMD_SPLIT_FSM6) & M_CMD_SPLIT_FSM6)
19889 #define A_MA_LE_CLIENT_INTERFACE_INTERNAL_REG1 0xe4e0
19891 #define S_WR_DATA_EXT_FIFO_CNT7 30
19892 #define M_WR_DATA_EXT_FIFO_CNT7 0x3U
19893 #define V_WR_DATA_EXT_FIFO_CNT7(x) ((x) << S_WR_DATA_EXT_FIFO_CNT7)
19894 #define G_WR_DATA_EXT_FIFO_CNT7(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT7) & M_WR_DATA_EXT_FIFO_CNT7)
19896 #define S_WR_CMD_TAG_FIFO_CNT7 26
19897 #define M_WR_CMD_TAG_FIFO_CNT7 0xfU
19898 #define V_WR_CMD_TAG_FIFO_CNT7(x) ((x) << S_WR_CMD_TAG_FIFO_CNT7)
19899 #define G_WR_CMD_TAG_FIFO_CNT7(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT7) & M_WR_CMD_TAG_FIFO_CNT7)
19901 #define S_WR_DATA_512B_FIFO_CNT7 18
19902 #define M_WR_DATA_512B_FIFO_CNT7 0xffU
19903 #define V_WR_DATA_512B_FIFO_CNT7(x) ((x) << S_WR_DATA_512B_FIFO_CNT7)
19904 #define G_WR_DATA_512B_FIFO_CNT7(x) (((x) >> S_WR_DATA_512B_FIFO_CNT7) & M_WR_DATA_512B_FIFO_CNT7)
19906 #define S_RD_DATA_ALIGN_FSM7 17
19907 #define V_RD_DATA_ALIGN_FSM7(x) ((x) << S_RD_DATA_ALIGN_FSM7)
19908 #define F_RD_DATA_ALIGN_FSM7 V_RD_DATA_ALIGN_FSM7(1U)
19910 #define S_RD_DATA_FETCH_FSM7 16
19911 #define V_RD_DATA_FETCH_FSM7(x) ((x) << S_RD_DATA_FETCH_FSM7)
19912 #define F_RD_DATA_FETCH_FSM7 V_RD_DATA_FETCH_FSM7(1U)
19914 #define S_COHERENCY_TX_FSM7 15
19915 #define V_COHERENCY_TX_FSM7(x) ((x) << S_COHERENCY_TX_FSM7)
19916 #define F_COHERENCY_TX_FSM7 V_COHERENCY_TX_FSM7(1U)
19918 #define S_COHERENCY_RX_FSM7 14
19919 #define V_COHERENCY_RX_FSM7(x) ((x) << S_COHERENCY_RX_FSM7)
19920 #define F_COHERENCY_RX_FSM7 V_COHERENCY_RX_FSM7(1U)
19922 #define S_ARB_REQ_FSM7 13
19923 #define V_ARB_REQ_FSM7(x) ((x) << S_ARB_REQ_FSM7)
19924 #define F_ARB_REQ_FSM7 V_ARB_REQ_FSM7(1U)
19926 #define S_CMD_SPLIT_FSM7 10
19927 #define M_CMD_SPLIT_FSM7 0x7U
19928 #define V_CMD_SPLIT_FSM7(x) ((x) << S_CMD_SPLIT_FSM7)
19929 #define G_CMD_SPLIT_FSM7(x) (((x) >> S_CMD_SPLIT_FSM7) & M_CMD_SPLIT_FSM7)
19931 #define A_MA_CIM_CLIENT_INTERFACE_INTERNAL_REG1 0xe500
19933 #define S_WR_DATA_EXT_FIFO_CNT8 30
19934 #define M_WR_DATA_EXT_FIFO_CNT8 0x3U
19935 #define V_WR_DATA_EXT_FIFO_CNT8(x) ((x) << S_WR_DATA_EXT_FIFO_CNT8)
19936 #define G_WR_DATA_EXT_FIFO_CNT8(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT8) & M_WR_DATA_EXT_FIFO_CNT8)
19938 #define S_WR_CMD_TAG_FIFO_CNT8 26
19939 #define M_WR_CMD_TAG_FIFO_CNT8 0xfU
19940 #define V_WR_CMD_TAG_FIFO_CNT8(x) ((x) << S_WR_CMD_TAG_FIFO_CNT8)
19941 #define G_WR_CMD_TAG_FIFO_CNT8(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT8) & M_WR_CMD_TAG_FIFO_CNT8)
19943 #define S_WR_DATA_512B_FIFO_CNT8 18
19944 #define M_WR_DATA_512B_FIFO_CNT8 0xffU
19945 #define V_WR_DATA_512B_FIFO_CNT8(x) ((x) << S_WR_DATA_512B_FIFO_CNT8)
19946 #define G_WR_DATA_512B_FIFO_CNT8(x) (((x) >> S_WR_DATA_512B_FIFO_CNT8) & M_WR_DATA_512B_FIFO_CNT8)
19948 #define S_RD_DATA_ALIGN_FSM8 17
19949 #define V_RD_DATA_ALIGN_FSM8(x) ((x) << S_RD_DATA_ALIGN_FSM8)
19950 #define F_RD_DATA_ALIGN_FSM8 V_RD_DATA_ALIGN_FSM8(1U)
19952 #define S_RD_DATA_FETCH_FSM8 16
19953 #define V_RD_DATA_FETCH_FSM8(x) ((x) << S_RD_DATA_FETCH_FSM8)
19954 #define F_RD_DATA_FETCH_FSM8 V_RD_DATA_FETCH_FSM8(1U)
19956 #define S_COHERENCY_TX_FSM8 15
19957 #define V_COHERENCY_TX_FSM8(x) ((x) << S_COHERENCY_TX_FSM8)
19958 #define F_COHERENCY_TX_FSM8 V_COHERENCY_TX_FSM8(1U)
19960 #define S_COHERENCY_RX_FSM8 14
19961 #define V_COHERENCY_RX_FSM8(x) ((x) << S_COHERENCY_RX_FSM8)
19962 #define F_COHERENCY_RX_FSM8 V_COHERENCY_RX_FSM8(1U)
19964 #define S_ARB_REQ_FSM8 13
19965 #define V_ARB_REQ_FSM8(x) ((x) << S_ARB_REQ_FSM8)
19966 #define F_ARB_REQ_FSM8 V_ARB_REQ_FSM8(1U)
19968 #define S_CMD_SPLIT_FSM8 10
19969 #define M_CMD_SPLIT_FSM8 0x7U
19970 #define V_CMD_SPLIT_FSM8(x) ((x) << S_CMD_SPLIT_FSM8)
19971 #define G_CMD_SPLIT_FSM8(x) (((x) >> S_CMD_SPLIT_FSM8) & M_CMD_SPLIT_FSM8)
19973 #define A_MA_PCIE_CLIENT_INTERFACE_INTERNAL_REG1 0xe520
19975 #define S_WR_DATA_EXT_FIFO_CNT9 30
19976 #define M_WR_DATA_EXT_FIFO_CNT9 0x3U
19977 #define V_WR_DATA_EXT_FIFO_CNT9(x) ((x) << S_WR_DATA_EXT_FIFO_CNT9)
19978 #define G_WR_DATA_EXT_FIFO_CNT9(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT9) & M_WR_DATA_EXT_FIFO_CNT9)
19980 #define S_WR_CMD_TAG_FIFO_CNT9 26
19981 #define M_WR_CMD_TAG_FIFO_CNT9 0xfU
19982 #define V_WR_CMD_TAG_FIFO_CNT9(x) ((x) << S_WR_CMD_TAG_FIFO_CNT9)
19983 #define G_WR_CMD_TAG_FIFO_CNT9(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT9) & M_WR_CMD_TAG_FIFO_CNT9)
19985 #define S_WR_DATA_512B_FIFO_CNT9 18
19986 #define M_WR_DATA_512B_FIFO_CNT9 0xffU
19987 #define V_WR_DATA_512B_FIFO_CNT9(x) ((x) << S_WR_DATA_512B_FIFO_CNT9)
19988 #define G_WR_DATA_512B_FIFO_CNT9(x) (((x) >> S_WR_DATA_512B_FIFO_CNT9) & M_WR_DATA_512B_FIFO_CNT9)
19990 #define S_RD_DATA_ALIGN_FSM9 17
19991 #define V_RD_DATA_ALIGN_FSM9(x) ((x) << S_RD_DATA_ALIGN_FSM9)
19992 #define F_RD_DATA_ALIGN_FSM9 V_RD_DATA_ALIGN_FSM9(1U)
19994 #define S_RD_DATA_FETCH_FSM9 16
19995 #define V_RD_DATA_FETCH_FSM9(x) ((x) << S_RD_DATA_FETCH_FSM9)
19996 #define F_RD_DATA_FETCH_FSM9 V_RD_DATA_FETCH_FSM9(1U)
19998 #define S_COHERENCY_TX_FSM9 15
19999 #define V_COHERENCY_TX_FSM9(x) ((x) << S_COHERENCY_TX_FSM9)
20000 #define F_COHERENCY_TX_FSM9 V_COHERENCY_TX_FSM9(1U)
20002 #define S_COHERENCY_RX_FSM9 14
20003 #define V_COHERENCY_RX_FSM9(x) ((x) << S_COHERENCY_RX_FSM9)
20004 #define F_COHERENCY_RX_FSM9 V_COHERENCY_RX_FSM9(1U)
20006 #define S_ARB_REQ_FSM9 13
20007 #define V_ARB_REQ_FSM9(x) ((x) << S_ARB_REQ_FSM9)
20008 #define F_ARB_REQ_FSM9 V_ARB_REQ_FSM9(1U)
20010 #define S_CMD_SPLIT_FSM9 10
20011 #define M_CMD_SPLIT_FSM9 0x7U
20012 #define V_CMD_SPLIT_FSM9(x) ((x) << S_CMD_SPLIT_FSM9)
20013 #define G_CMD_SPLIT_FSM9(x) (((x) >> S_CMD_SPLIT_FSM9) & M_CMD_SPLIT_FSM9)
20015 #define A_MA_PM_TX_CLIENT_INTERFACE_INTERNAL_REG1 0xe540
20017 #define S_WR_DATA_EXT_FIFO_CNT10 30
20018 #define M_WR_DATA_EXT_FIFO_CNT10 0x3U
20019 #define V_WR_DATA_EXT_FIFO_CNT10(x) ((x) << S_WR_DATA_EXT_FIFO_CNT10)
20020 #define G_WR_DATA_EXT_FIFO_CNT10(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT10) & M_WR_DATA_EXT_FIFO_CNT10)
20022 #define S_WR_CMD_TAG_FIFO_CNT10 26
20023 #define M_WR_CMD_TAG_FIFO_CNT10 0xfU
20024 #define V_WR_CMD_TAG_FIFO_CNT10(x) ((x) << S_WR_CMD_TAG_FIFO_CNT10)
20025 #define G_WR_CMD_TAG_FIFO_CNT10(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT10) & M_WR_CMD_TAG_FIFO_CNT10)
20027 #define S_WR_DATA_512B_FIFO_CNT10 18
20028 #define M_WR_DATA_512B_FIFO_CNT10 0xffU
20029 #define V_WR_DATA_512B_FIFO_CNT10(x) ((x) << S_WR_DATA_512B_FIFO_CNT10)
20030 #define G_WR_DATA_512B_FIFO_CNT10(x) (((x) >> S_WR_DATA_512B_FIFO_CNT10) & M_WR_DATA_512B_FIFO_CNT10)
20032 #define S_RD_DATA_ALIGN_FSM10 17
20033 #define V_RD_DATA_ALIGN_FSM10(x) ((x) << S_RD_DATA_ALIGN_FSM10)
20034 #define F_RD_DATA_ALIGN_FSM10 V_RD_DATA_ALIGN_FSM10(1U)
20036 #define S_RD_DATA_FETCH_FSM10 16
20037 #define V_RD_DATA_FETCH_FSM10(x) ((x) << S_RD_DATA_FETCH_FSM10)
20038 #define F_RD_DATA_FETCH_FSM10 V_RD_DATA_FETCH_FSM10(1U)
20040 #define S_COHERENCY_TX_FSM10 15
20041 #define V_COHERENCY_TX_FSM10(x) ((x) << S_COHERENCY_TX_FSM10)
20042 #define F_COHERENCY_TX_FSM10 V_COHERENCY_TX_FSM10(1U)
20044 #define S_COHERENCY_RX_FSM10 14
20045 #define V_COHERENCY_RX_FSM10(x) ((x) << S_COHERENCY_RX_FSM10)
20046 #define F_COHERENCY_RX_FSM10 V_COHERENCY_RX_FSM10(1U)
20048 #define S_ARB_REQ_FSM10 13
20049 #define V_ARB_REQ_FSM10(x) ((x) << S_ARB_REQ_FSM10)
20050 #define F_ARB_REQ_FSM10 V_ARB_REQ_FSM10(1U)
20052 #define S_CMD_SPLIT_FSM10 10
20053 #define M_CMD_SPLIT_FSM10 0x7U
20054 #define V_CMD_SPLIT_FSM10(x) ((x) << S_CMD_SPLIT_FSM10)
20055 #define G_CMD_SPLIT_FSM10(x) (((x) >> S_CMD_SPLIT_FSM10) & M_CMD_SPLIT_FSM10)
20057 #define A_MA_PM_RX_CLIENT_INTERFACE_INTERNAL_REG1 0xe560
20059 #define S_WR_DATA_EXT_FIFO_CNT11 30
20060 #define M_WR_DATA_EXT_FIFO_CNT11 0x3U
20061 #define V_WR_DATA_EXT_FIFO_CNT11(x) ((x) << S_WR_DATA_EXT_FIFO_CNT11)
20062 #define G_WR_DATA_EXT_FIFO_CNT11(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT11) & M_WR_DATA_EXT_FIFO_CNT11)
20064 #define S_WR_CMD_TAG_FIFO_CNT11 26
20065 #define M_WR_CMD_TAG_FIFO_CNT11 0xfU
20066 #define V_WR_CMD_TAG_FIFO_CNT11(x) ((x) << S_WR_CMD_TAG_FIFO_CNT11)
20067 #define G_WR_CMD_TAG_FIFO_CNT11(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT11) & M_WR_CMD_TAG_FIFO_CNT11)
20069 #define S_WR_DATA_512B_FIFO_CNT11 18
20070 #define M_WR_DATA_512B_FIFO_CNT11 0xffU
20071 #define V_WR_DATA_512B_FIFO_CNT11(x) ((x) << S_WR_DATA_512B_FIFO_CNT11)
20072 #define G_WR_DATA_512B_FIFO_CNT11(x) (((x) >> S_WR_DATA_512B_FIFO_CNT11) & M_WR_DATA_512B_FIFO_CNT11)
20074 #define S_RD_DATA_ALIGN_FSM11 17
20075 #define V_RD_DATA_ALIGN_FSM11(x) ((x) << S_RD_DATA_ALIGN_FSM11)
20076 #define F_RD_DATA_ALIGN_FSM11 V_RD_DATA_ALIGN_FSM11(1U)
20078 #define S_RD_DATA_FETCH_FSM11 16
20079 #define V_RD_DATA_FETCH_FSM11(x) ((x) << S_RD_DATA_FETCH_FSM11)
20080 #define F_RD_DATA_FETCH_FSM11 V_RD_DATA_FETCH_FSM11(1U)
20082 #define S_COHERENCY_TX_FSM11 15
20083 #define V_COHERENCY_TX_FSM11(x) ((x) << S_COHERENCY_TX_FSM11)
20084 #define F_COHERENCY_TX_FSM11 V_COHERENCY_TX_FSM11(1U)
20086 #define S_COHERENCY_RX_FSM11 14
20087 #define V_COHERENCY_RX_FSM11(x) ((x) << S_COHERENCY_RX_FSM11)
20088 #define F_COHERENCY_RX_FSM11 V_COHERENCY_RX_FSM11(1U)
20090 #define S_ARB_REQ_FSM11 13
20091 #define V_ARB_REQ_FSM11(x) ((x) << S_ARB_REQ_FSM11)
20092 #define F_ARB_REQ_FSM11 V_ARB_REQ_FSM11(1U)
20094 #define S_CMD_SPLIT_FSM11 10
20095 #define M_CMD_SPLIT_FSM11 0x7U
20096 #define V_CMD_SPLIT_FSM11(x) ((x) << S_CMD_SPLIT_FSM11)
20097 #define G_CMD_SPLIT_FSM11(x) (((x) >> S_CMD_SPLIT_FSM11) & M_CMD_SPLIT_FSM11)
20099 #define A_MA_HMA_CLIENT_INTERFACE_INTERNAL_REG1 0xe580
20101 #define S_WR_DATA_EXT_FIFO_CNT12 30
20102 #define M_WR_DATA_EXT_FIFO_CNT12 0x3U
20103 #define V_WR_DATA_EXT_FIFO_CNT12(x) ((x) << S_WR_DATA_EXT_FIFO_CNT12)
20104 #define G_WR_DATA_EXT_FIFO_CNT12(x) (((x) >> S_WR_DATA_EXT_FIFO_CNT12) & M_WR_DATA_EXT_FIFO_CNT12)
20106 #define S_WR_CMD_TAG_FIFO_CNT12 26
20107 #define M_WR_CMD_TAG_FIFO_CNT12 0xfU
20108 #define V_WR_CMD_TAG_FIFO_CNT12(x) ((x) << S_WR_CMD_TAG_FIFO_CNT12)
20109 #define G_WR_CMD_TAG_FIFO_CNT12(x) (((x) >> S_WR_CMD_TAG_FIFO_CNT12) & M_WR_CMD_TAG_FIFO_CNT12)
20111 #define S_WR_DATA_512B_FIFO_CNT12 18
20112 #define M_WR_DATA_512B_FIFO_CNT12 0xffU
20113 #define V_WR_DATA_512B_FIFO_CNT12(x) ((x) << S_WR_DATA_512B_FIFO_CNT12)
20114 #define G_WR_DATA_512B_FIFO_CNT12(x) (((x) >> S_WR_DATA_512B_FIFO_CNT12) & M_WR_DATA_512B_FIFO_CNT12)
20116 #define S_RD_DATA_ALIGN_FSM12 17
20117 #define V_RD_DATA_ALIGN_FSM12(x) ((x) << S_RD_DATA_ALIGN_FSM12)
20118 #define F_RD_DATA_ALIGN_FSM12 V_RD_DATA_ALIGN_FSM12(1U)
20120 #define S_RD_DATA_FETCH_FSM12 16
20121 #define V_RD_DATA_FETCH_FSM12(x) ((x) << S_RD_DATA_FETCH_FSM12)
20122 #define F_RD_DATA_FETCH_FSM12 V_RD_DATA_FETCH_FSM12(1U)
20124 #define S_COHERENCY_TX_FSM12 15
20125 #define V_COHERENCY_TX_FSM12(x) ((x) << S_COHERENCY_TX_FSM12)
20126 #define F_COHERENCY_TX_FSM12 V_COHERENCY_TX_FSM12(1U)
20128 #define S_COHERENCY_RX_FSM12 14
20129 #define V_COHERENCY_RX_FSM12(x) ((x) << S_COHERENCY_RX_FSM12)
20130 #define F_COHERENCY_RX_FSM12 V_COHERENCY_RX_FSM12(1U)
20132 #define S_ARB_REQ_FSM12 13
20133 #define V_ARB_REQ_FSM12(x) ((x) << S_ARB_REQ_FSM12)
20134 #define F_ARB_REQ_FSM12 V_ARB_REQ_FSM12(1U)
20136 #define S_CMD_SPLIT_FSM12 10
20137 #define M_CMD_SPLIT_FSM12 0x7U
20138 #define V_CMD_SPLIT_FSM12(x) ((x) << S_CMD_SPLIT_FSM12)
20139 #define G_CMD_SPLIT_FSM12(x) (((x) >> S_CMD_SPLIT_FSM12) & M_CMD_SPLIT_FSM12)
20141 #define A_MA_TARGET_0_ARBITER_INTERFACE_INTERNAL_REG1 0xe5a0
20143 #define S_RD_CMD_TAG_FIFO_CNT0 8
20144 #define M_RD_CMD_TAG_FIFO_CNT0 0xffU
20145 #define V_RD_CMD_TAG_FIFO_CNT0(x) ((x) << S_RD_CMD_TAG_FIFO_CNT0)
20146 #define G_RD_CMD_TAG_FIFO_CNT0(x) (((x) >> S_RD_CMD_TAG_FIFO_CNT0) & M_RD_CMD_TAG_FIFO_CNT0)
20148 #define S_RD_DATA_FIFO_CNT0 0
20149 #define M_RD_DATA_FIFO_CNT0 0xffU
20150 #define V_RD_DATA_FIFO_CNT0(x) ((x) << S_RD_DATA_FIFO_CNT0)
20151 #define G_RD_DATA_FIFO_CNT0(x) (((x) >> S_RD_DATA_FIFO_CNT0) & M_RD_DATA_FIFO_CNT0)
20153 #define A_MA_TARGET_1_ARBITER_INTERFACE_INTERNAL_REG1 0xe5c0
20155 #define S_RD_CMD_TAG_FIFO_CNT1 8
20156 #define M_RD_CMD_TAG_FIFO_CNT1 0xffU
20157 #define V_RD_CMD_TAG_FIFO_CNT1(x) ((x) << S_RD_CMD_TAG_FIFO_CNT1)
20158 #define G_RD_CMD_TAG_FIFO_CNT1(x) (((x) >> S_RD_CMD_TAG_FIFO_CNT1) & M_RD_CMD_TAG_FIFO_CNT1)
20160 #define S_RD_DATA_FIFO_CNT1 0
20161 #define M_RD_DATA_FIFO_CNT1 0xffU
20162 #define V_RD_DATA_FIFO_CNT1(x) ((x) << S_RD_DATA_FIFO_CNT1)
20163 #define G_RD_DATA_FIFO_CNT1(x) (((x) >> S_RD_DATA_FIFO_CNT1) & M_RD_DATA_FIFO_CNT1)
20165 #define A_MA_TARGET_2_ARBITER_INTERFACE_INTERNAL_REG1 0xe5e0
20167 #define S_RD_CMD_TAG_FIFO_CNT2 8
20168 #define M_RD_CMD_TAG_FIFO_CNT2 0xffU
20169 #define V_RD_CMD_TAG_FIFO_CNT2(x) ((x) << S_RD_CMD_TAG_FIFO_CNT2)
20170 #define G_RD_CMD_TAG_FIFO_CNT2(x) (((x) >> S_RD_CMD_TAG_FIFO_CNT2) & M_RD_CMD_TAG_FIFO_CNT2)
20172 #define S_RD_DATA_FIFO_CNT2 0
20173 #define M_RD_DATA_FIFO_CNT2 0xffU
20174 #define V_RD_DATA_FIFO_CNT2(x) ((x) << S_RD_DATA_FIFO_CNT2)
20175 #define G_RD_DATA_FIFO_CNT2(x) (((x) >> S_RD_DATA_FIFO_CNT2) & M_RD_DATA_FIFO_CNT2)
20177 #define A_MA_TARGET_3_ARBITER_INTERFACE_INTERNAL_REG1 0xe600
20179 #define S_RD_CMD_TAG_FIFO_CNT3 8
20180 #define M_RD_CMD_TAG_FIFO_CNT3 0xffU
20181 #define V_RD_CMD_TAG_FIFO_CNT3(x) ((x) << S_RD_CMD_TAG_FIFO_CNT3)
20182 #define G_RD_CMD_TAG_FIFO_CNT3(x) (((x) >> S_RD_CMD_TAG_FIFO_CNT3) & M_RD_CMD_TAG_FIFO_CNT3)
20184 #define S_RD_DATA_FIFO_CNT3 0
20185 #define M_RD_DATA_FIFO_CNT3 0xffU
20186 #define V_RD_DATA_FIFO_CNT3(x) ((x) << S_RD_DATA_FIFO_CNT3)
20187 #define G_RD_DATA_FIFO_CNT3(x) (((x) >> S_RD_DATA_FIFO_CNT3) & M_RD_DATA_FIFO_CNT3)
20189 #define A_MA_SGE_THREAD_0_CLNT_EXP_WR_CYC_CNT_LO 0xe640
20190 #define A_MA_SGE_THREAD_1_CLNT_EXP_WR_CYC_CNT_LO 0xe660
20191 #define A_MA_ULP_TX_CLNT_EXP_WR_CYC_CNT_LO 0xe680
20192 #define A_MA_ULP_RX_CLNT_EXP_WR_CYC_CNT_LO 0xe6a0
20193 #define A_MA_ULP_TX_RX_CLNT_EXP_WR_CYC_CNT_LO 0xe6c0
20194 #define A_MA_TP_THREAD_0_CLNT_EXP_WR_CYC_CNT_LO 0xe6e0
20195 #define A_MA_TP_THREAD_1_CLNT_EXP_WR_CYC_CNT_LO 0xe700
20196 #define A_MA_LE_CLNT_EXP_WR_CYC_CNT_LO 0xe720
20197 #define A_MA_CIM_CLNT_EXP_WR_CYC_CNT_LO 0xe740
20198 #define A_MA_PCIE_CLNT_EXP_WR_CYC_CNT_LO 0xe760
20199 #define A_MA_PM_TX_CLNT_EXP_WR_CYC_CNT_LO 0xe780
20200 #define A_MA_PM_RX_CLNT_EXP_WR_CYC_CNT_LO 0xe7a0
20201 #define A_MA_HMA_CLNT_EXP_WR_CYC_CNT_LO 0xe7c0
20202 #define A_MA_EDRAM0_WR_REQ_CNT_HI 0xe800
20203 #define A_MA_EDRAM0_WR_REQ_CNT_LO 0xe820
20204 #define A_MA_EDRAM1_WR_REQ_CNT_HI 0xe840
20205 #define A_MA_EDRAM1_WR_REQ_CNT_LO 0xe860
20206 #define A_MA_EXT_MEMORY0_WR_REQ_CNT_HI 0xe880
20207 #define A_MA_EXT_MEMORY0_WR_REQ_CNT_LO 0xe8a0
20208 #define A_MA_EXT_MEMORY1_WR_REQ_CNT_HI 0xe8c0
20209 #define A_MA_EXT_MEMORY1_WR_REQ_CNT_LO 0xe8e0
20210 #define A_MA_EDRAM0_RD_REQ_CNT_HI 0xe900
20211 #define A_MA_EDRAM0_RD_REQ_CNT_LO 0xe920
20212 #define A_MA_EDRAM1_RD_REQ_CNT_HI 0xe940
20213 #define A_MA_EDRAM1_RD_REQ_CNT_LO 0xe960
20214 #define A_MA_EXT_MEMORY0_RD_REQ_CNT_HI 0xe980
20215 #define A_MA_EXT_MEMORY0_RD_REQ_CNT_LO 0xe9a0
20216 #define A_MA_EXT_MEMORY1_RD_REQ_CNT_HI 0xe9c0
20217 #define A_MA_EXT_MEMORY1_RD_REQ_CNT_LO 0xe9e0
20218 #define A_MA_SGE_THREAD_0_CLNT_ACT_RD_CYC_CNT_HI 0xec00
20219 #define A_MA_SGE_THREAD_0_CLNT_ACT_RD_CYC_CNT_LO 0xec20
20220 #define A_MA_SGE_THREAD_1_CLNT_ACT_RD_CYC_CNT_HI 0xec40
20221 #define A_MA_SGE_THREAD_1_CLNT_ACT_RD_CYC_CNT_LO 0xec60
20222 #define A_MA_ULP_TX_CLNT_ACT_RD_CYC_CNT_HI 0xec80
20223 #define A_MA_ULP_TX_CLNT_ACT_RD_CYC_CNT_LO 0xeca0
20224 #define A_MA_ULP_RX_CLNT_ACT_RD_CYC_CNT_HI 0xecc0
20225 #define A_MA_ULP_RX_CLNT_ACT_RD_CYC_CNT_LO 0xece0
20226 #define A_MA_ULP_TX_RX_CLNT_ACT_RD_CYC_CNT_HI 0xed00
20227 #define A_MA_ULP_TX_RX_CLNT_ACT_RD_CYC_CNT_LO 0xed20
20228 #define A_MA_TP_THREAD_0_CLNT_ACT_RD_CYC_CNT_HI 0xed40
20229 #define A_MA_TP_THREAD_0_CLNT_ACT_RD_CYC_CNT_LO 0xed60
20230 #define A_MA_TP_THREAD_1_CLNT_ACT_RD_CYC_CNT_HI 0xed80
20231 #define A_MA_TP_THREAD_1_CLNT_ACT_RD_CYC_CNT_LO 0xeda0
20232 #define A_MA_LE_CLNT_ACT_RD_CYC_CNT_HI 0xedc0
20233 #define A_MA_LE_CLNT_ACT_RD_CYC_CNT_LO 0xede0
20234 #define A_MA_CIM_CLNT_ACT_RD_CYC_CNT_HI 0xee00
20235 #define A_MA_CIM_CLNT_ACT_RD_CYC_CNT_LO 0xee20
20236 #define A_MA_PCIE_CLNT_ACT_RD_CYC_CNT_HI 0xee40
20237 #define A_MA_PCIE_CLNT_ACT_RD_CYC_CNT_LO 0xee60
20238 #define A_MA_PM_TX_CLNT_ACT_RD_CYC_CNT_HI 0xee80
20239 #define A_MA_PM_TX_CLNT_ACT_RD_CYC_CNT_LO 0xeea0
20240 #define A_MA_PM_RX_CLNT_ACT_RD_CYC_CNT_HI 0xeec0
20241 #define A_MA_PM_RX_CLNT_ACT_RD_CYC_CNT_LO 0xeee0
20242 #define A_MA_HMA_CLNT_ACT_RD_CYC_CNT_HI 0xef00
20243 #define A_MA_HMA_CLNT_ACT_RD_CYC_CNT_LO 0xef20
20244 #define A_MA_PM_TX_RD_THROTTLE_STATUS 0xf000
20246 #define S_PTMAXTRANS 16
20247 #define V_PTMAXTRANS(x) ((x) << S_PTMAXTRANS)
20248 #define F_PTMAXTRANS V_PTMAXTRANS(1U)
20250 #define S_PTFLITCNT 0
20251 #define M_PTFLITCNT 0xffU
20252 #define V_PTFLITCNT(x) ((x) << S_PTFLITCNT)
20253 #define G_PTFLITCNT(x) (((x) >> S_PTFLITCNT) & M_PTFLITCNT)
20255 #define A_MA_PM_RX_RD_THROTTLE_STATUS 0xf020
20257 #define S_PRMAXTRANS 16
20258 #define V_PRMAXTRANS(x) ((x) << S_PRMAXTRANS)
20259 #define F_PRMAXTRANS V_PRMAXTRANS(1U)
20261 #define S_PRFLITCNT 0
20262 #define M_PRFLITCNT 0xffU
20263 #define V_PRFLITCNT(x) ((x) << S_PRFLITCNT)
20264 #define G_PRFLITCNT(x) (((x) >> S_PRFLITCNT) & M_PRFLITCNT)
20266 /* registers for module EDC_0 */
20267 #define EDC_0_BASE_ADDR 0x7900
20269 #define A_EDC_REF 0x7900
20271 #define S_EDC_INST_NUM 18
20272 #define V_EDC_INST_NUM(x) ((x) << S_EDC_INST_NUM)
20273 #define F_EDC_INST_NUM V_EDC_INST_NUM(1U)
20275 #define S_ENABLE_PERF 17
20276 #define V_ENABLE_PERF(x) ((x) << S_ENABLE_PERF)
20277 #define F_ENABLE_PERF V_ENABLE_PERF(1U)
20279 #define S_ECC_BYPASS 16
20280 #define V_ECC_BYPASS(x) ((x) << S_ECC_BYPASS)
20281 #define F_ECC_BYPASS V_ECC_BYPASS(1U)
20283 #define S_REFFREQ 0
20284 #define M_REFFREQ 0xffffU
20285 #define V_REFFREQ(x) ((x) << S_REFFREQ)
20286 #define G_REFFREQ(x) (((x) >> S_REFFREQ) & M_REFFREQ)
20288 #define A_EDC_BIST_CMD 0x7904
20289 #define A_EDC_BIST_CMD_ADDR 0x7908
20290 #define A_EDC_BIST_CMD_LEN 0x790c
20291 #define A_EDC_BIST_DATA_PATTERN 0x7910
20292 #define A_EDC_BIST_USER_WDATA0 0x7914
20293 #define A_EDC_BIST_USER_WDATA1 0x7918
20294 #define A_EDC_BIST_USER_WDATA2 0x791c
20295 #define A_EDC_BIST_NUM_ERR 0x7920
20296 #define A_EDC_BIST_ERR_FIRST_ADDR 0x7924
20297 #define A_EDC_BIST_STATUS_RDATA 0x7928
20298 #define A_EDC_PAR_ENABLE 0x7970
20301 #define V_ECC_UE(x) ((x) << S_ECC_UE)
20302 #define F_ECC_UE V_ECC_UE(1U)
20305 #define V_ECC_CE(x) ((x) << S_ECC_CE)
20306 #define F_ECC_CE V_ECC_CE(1U)
20308 #define A_EDC_INT_ENABLE 0x7974
20309 #define A_EDC_INT_CAUSE 0x7978
20311 #define S_ECC_UE_PAR 5
20312 #define V_ECC_UE_PAR(x) ((x) << S_ECC_UE_PAR)
20313 #define F_ECC_UE_PAR V_ECC_UE_PAR(1U)
20315 #define S_ECC_CE_PAR 4
20316 #define V_ECC_CE_PAR(x) ((x) << S_ECC_CE_PAR)
20317 #define F_ECC_CE_PAR V_ECC_CE_PAR(1U)
20319 #define S_PERR_PAR_CAUSE 3
20320 #define V_PERR_PAR_CAUSE(x) ((x) << S_PERR_PAR_CAUSE)
20321 #define F_PERR_PAR_CAUSE V_PERR_PAR_CAUSE(1U)
20323 #define A_EDC_ECC_STATUS 0x797c
20325 /* registers for module EDC_1 */
20326 #define EDC_1_BASE_ADDR 0x7980
20328 /* registers for module HMA */
20329 #define HMA_BASE_ADDR 0x7a00
20331 /* registers for module CIM */
20332 #define CIM_BASE_ADDR 0x7b00
20334 #define A_CIM_VF_EXT_MAILBOX_CTRL 0x0
20336 #define S_VFMBGENERIC 4
20337 #define M_VFMBGENERIC 0xfU
20338 #define V_VFMBGENERIC(x) ((x) << S_VFMBGENERIC)
20339 #define G_VFMBGENERIC(x) (((x) >> S_VFMBGENERIC) & M_VFMBGENERIC)
20341 #define A_CIM_VF_EXT_MAILBOX_STATUS 0x4
20343 #define S_MBVFREADY 0
20344 #define V_MBVFREADY(x) ((x) << S_MBVFREADY)
20345 #define F_MBVFREADY V_MBVFREADY(1U)
20347 #define A_CIM_PF_MAILBOX_DATA 0x240
20348 #define A_CIM_PF_MAILBOX_CTRL 0x280
20350 #define S_MBGENERIC 4
20351 #define M_MBGENERIC 0xfffffffU
20352 #define V_MBGENERIC(x) ((x) << S_MBGENERIC)
20353 #define G_MBGENERIC(x) (((x) >> S_MBGENERIC) & M_MBGENERIC)
20355 #define S_MBMSGVALID 3
20356 #define V_MBMSGVALID(x) ((x) << S_MBMSGVALID)
20357 #define F_MBMSGVALID V_MBMSGVALID(1U)
20359 #define S_MBINTREQ 2
20360 #define V_MBINTREQ(x) ((x) << S_MBINTREQ)
20361 #define F_MBINTREQ V_MBINTREQ(1U)
20363 #define S_MBOWNER 0
20364 #define M_MBOWNER 0x3U
20365 #define V_MBOWNER(x) ((x) << S_MBOWNER)
20366 #define G_MBOWNER(x) (((x) >> S_MBOWNER) & M_MBOWNER)
20368 #define A_CIM_PF_MAILBOX_ACC_STATUS 0x284
20370 #define S_MBWRBUSY 31
20371 #define V_MBWRBUSY(x) ((x) << S_MBWRBUSY)
20372 #define F_MBWRBUSY V_MBWRBUSY(1U)
20374 #define A_CIM_PF_HOST_INT_ENABLE 0x288
20376 #define S_MBMSGRDYINTEN 19
20377 #define V_MBMSGRDYINTEN(x) ((x) << S_MBMSGRDYINTEN)
20378 #define F_MBMSGRDYINTEN V_MBMSGRDYINTEN(1U)
20380 #define A_CIM_PF_HOST_INT_CAUSE 0x28c
20382 #define S_MBMSGRDYINT 19
20383 #define V_MBMSGRDYINT(x) ((x) << S_MBMSGRDYINT)
20384 #define F_MBMSGRDYINT V_MBMSGRDYINT(1U)
20386 #define A_CIM_PF_MAILBOX_CTRL_SHADOW_COPY 0x290
20387 #define A_CIM_BOOT_CFG 0x7b00
20389 #define S_BOOTADDR 8
20390 #define M_BOOTADDR 0xffffffU
20391 #define V_BOOTADDR(x) ((x) << S_BOOTADDR)
20392 #define G_BOOTADDR(x) (((x) >> S_BOOTADDR) & M_BOOTADDR)
20395 #define M_UPGEN 0x3fU
20396 #define V_UPGEN(x) ((x) << S_UPGEN)
20397 #define G_UPGEN(x) (((x) >> S_UPGEN) & M_UPGEN)
20399 #define S_BOOTSDRAM 1
20400 #define V_BOOTSDRAM(x) ((x) << S_BOOTSDRAM)
20401 #define F_BOOTSDRAM V_BOOTSDRAM(1U)
20404 #define V_UPCRST(x) ((x) << S_UPCRST)
20405 #define F_UPCRST V_UPCRST(1U)
20407 #define A_CIM_FLASH_BASE_ADDR 0x7b04
20409 #define S_FLASHBASEADDR 6
20410 #define M_FLASHBASEADDR 0x3ffffU
20411 #define V_FLASHBASEADDR(x) ((x) << S_FLASHBASEADDR)
20412 #define G_FLASHBASEADDR(x) (((x) >> S_FLASHBASEADDR) & M_FLASHBASEADDR)
20414 #define A_CIM_FLASH_ADDR_SIZE 0x7b08
20416 #define S_FLASHADDRSIZE 4
20417 #define M_FLASHADDRSIZE 0xfffffU
20418 #define V_FLASHADDRSIZE(x) ((x) << S_FLASHADDRSIZE)
20419 #define G_FLASHADDRSIZE(x) (((x) >> S_FLASHADDRSIZE) & M_FLASHADDRSIZE)
20421 #define A_CIM_EEPROM_BASE_ADDR 0x7b0c
20423 #define S_EEPROMBASEADDR 6
20424 #define M_EEPROMBASEADDR 0x3ffffU
20425 #define V_EEPROMBASEADDR(x) ((x) << S_EEPROMBASEADDR)
20426 #define G_EEPROMBASEADDR(x) (((x) >> S_EEPROMBASEADDR) & M_EEPROMBASEADDR)
20428 #define A_CIM_EEPROM_ADDR_SIZE 0x7b10
20430 #define S_EEPROMADDRSIZE 4
20431 #define M_EEPROMADDRSIZE 0xfffffU
20432 #define V_EEPROMADDRSIZE(x) ((x) << S_EEPROMADDRSIZE)
20433 #define G_EEPROMADDRSIZE(x) (((x) >> S_EEPROMADDRSIZE) & M_EEPROMADDRSIZE)
20435 #define A_CIM_SDRAM_BASE_ADDR 0x7b14
20437 #define S_SDRAMBASEADDR 6
20438 #define M_SDRAMBASEADDR 0x3ffffffU
20439 #define V_SDRAMBASEADDR(x) ((x) << S_SDRAMBASEADDR)
20440 #define G_SDRAMBASEADDR(x) (((x) >> S_SDRAMBASEADDR) & M_SDRAMBASEADDR)
20442 #define A_CIM_SDRAM_ADDR_SIZE 0x7b18
20444 #define S_SDRAMADDRSIZE 4
20445 #define M_SDRAMADDRSIZE 0xfffffffU
20446 #define V_SDRAMADDRSIZE(x) ((x) << S_SDRAMADDRSIZE)
20447 #define G_SDRAMADDRSIZE(x) (((x) >> S_SDRAMADDRSIZE) & M_SDRAMADDRSIZE)
20449 #define A_CIM_EXTMEM2_BASE_ADDR 0x7b1c
20451 #define S_EXTMEM2BASEADDR 6
20452 #define M_EXTMEM2BASEADDR 0x3ffffffU
20453 #define V_EXTMEM2BASEADDR(x) ((x) << S_EXTMEM2BASEADDR)
20454 #define G_EXTMEM2BASEADDR(x) (((x) >> S_EXTMEM2BASEADDR) & M_EXTMEM2BASEADDR)
20456 #define A_CIM_EXTMEM2_ADDR_SIZE 0x7b20
20458 #define S_EXTMEM2ADDRSIZE 4
20459 #define M_EXTMEM2ADDRSIZE 0xfffffffU
20460 #define V_EXTMEM2ADDRSIZE(x) ((x) << S_EXTMEM2ADDRSIZE)
20461 #define G_EXTMEM2ADDRSIZE(x) (((x) >> S_EXTMEM2ADDRSIZE) & M_EXTMEM2ADDRSIZE)
20463 #define A_CIM_UP_SPARE_INT 0x7b24
20465 #define S_TDEBUGINT 4
20466 #define V_TDEBUGINT(x) ((x) << S_TDEBUGINT)
20467 #define F_TDEBUGINT V_TDEBUGINT(1U)
20469 #define S_BOOTVECSEL 3
20470 #define V_BOOTVECSEL(x) ((x) << S_BOOTVECSEL)
20471 #define F_BOOTVECSEL V_BOOTVECSEL(1U)
20473 #define S_UPSPAREINT 0
20474 #define M_UPSPAREINT 0x7U
20475 #define V_UPSPAREINT(x) ((x) << S_UPSPAREINT)
20476 #define G_UPSPAREINT(x) (((x) >> S_UPSPAREINT) & M_UPSPAREINT)
20478 #define A_CIM_HOST_INT_ENABLE 0x7b28
20480 #define S_TIEQOUTPARERRINTEN 20
20481 #define V_TIEQOUTPARERRINTEN(x) ((x) << S_TIEQOUTPARERRINTEN)
20482 #define F_TIEQOUTPARERRINTEN V_TIEQOUTPARERRINTEN(1U)
20484 #define S_TIEQINPARERRINTEN 19
20485 #define V_TIEQINPARERRINTEN(x) ((x) << S_TIEQINPARERRINTEN)
20486 #define F_TIEQINPARERRINTEN V_TIEQINPARERRINTEN(1U)
20488 #define S_MBHOSTPARERR 18
20489 #define V_MBHOSTPARERR(x) ((x) << S_MBHOSTPARERR)
20490 #define F_MBHOSTPARERR V_MBHOSTPARERR(1U)
20492 #define S_MBUPPARERR 17
20493 #define V_MBUPPARERR(x) ((x) << S_MBUPPARERR)
20494 #define F_MBUPPARERR V_MBUPPARERR(1U)
20496 #define S_IBQTP0PARERR 16
20497 #define V_IBQTP0PARERR(x) ((x) << S_IBQTP0PARERR)
20498 #define F_IBQTP0PARERR V_IBQTP0PARERR(1U)
20500 #define S_IBQTP1PARERR 15
20501 #define V_IBQTP1PARERR(x) ((x) << S_IBQTP1PARERR)
20502 #define F_IBQTP1PARERR V_IBQTP1PARERR(1U)
20504 #define S_IBQULPPARERR 14
20505 #define V_IBQULPPARERR(x) ((x) << S_IBQULPPARERR)
20506 #define F_IBQULPPARERR V_IBQULPPARERR(1U)
20508 #define S_IBQSGELOPARERR 13
20509 #define V_IBQSGELOPARERR(x) ((x) << S_IBQSGELOPARERR)
20510 #define F_IBQSGELOPARERR V_IBQSGELOPARERR(1U)
20512 #define S_IBQSGEHIPARERR 12
20513 #define V_IBQSGEHIPARERR(x) ((x) << S_IBQSGEHIPARERR)
20514 #define F_IBQSGEHIPARERR V_IBQSGEHIPARERR(1U)
20516 #define S_IBQNCSIPARERR 11
20517 #define V_IBQNCSIPARERR(x) ((x) << S_IBQNCSIPARERR)
20518 #define F_IBQNCSIPARERR V_IBQNCSIPARERR(1U)
20520 #define S_OBQULP0PARERR 10
20521 #define V_OBQULP0PARERR(x) ((x) << S_OBQULP0PARERR)
20522 #define F_OBQULP0PARERR V_OBQULP0PARERR(1U)
20524 #define S_OBQULP1PARERR 9
20525 #define V_OBQULP1PARERR(x) ((x) << S_OBQULP1PARERR)
20526 #define F_OBQULP1PARERR V_OBQULP1PARERR(1U)
20528 #define S_OBQULP2PARERR 8
20529 #define V_OBQULP2PARERR(x) ((x) << S_OBQULP2PARERR)
20530 #define F_OBQULP2PARERR V_OBQULP2PARERR(1U)
20532 #define S_OBQULP3PARERR 7
20533 #define V_OBQULP3PARERR(x) ((x) << S_OBQULP3PARERR)
20534 #define F_OBQULP3PARERR V_OBQULP3PARERR(1U)
20536 #define S_OBQSGEPARERR 6
20537 #define V_OBQSGEPARERR(x) ((x) << S_OBQSGEPARERR)
20538 #define F_OBQSGEPARERR V_OBQSGEPARERR(1U)
20540 #define S_OBQNCSIPARERR 5
20541 #define V_OBQNCSIPARERR(x) ((x) << S_OBQNCSIPARERR)
20542 #define F_OBQNCSIPARERR V_OBQNCSIPARERR(1U)
20544 #define S_TIMER1INTEN 3
20545 #define V_TIMER1INTEN(x) ((x) << S_TIMER1INTEN)
20546 #define F_TIMER1INTEN V_TIMER1INTEN(1U)
20548 #define S_TIMER0INTEN 2
20549 #define V_TIMER0INTEN(x) ((x) << S_TIMER0INTEN)
20550 #define F_TIMER0INTEN V_TIMER0INTEN(1U)
20552 #define S_PREFDROPINTEN 1
20553 #define V_PREFDROPINTEN(x) ((x) << S_PREFDROPINTEN)
20554 #define F_PREFDROPINTEN V_PREFDROPINTEN(1U)
20556 #define S_MA_CIM_INTFPERR 28
20557 #define V_MA_CIM_INTFPERR(x) ((x) << S_MA_CIM_INTFPERR)
20558 #define F_MA_CIM_INTFPERR V_MA_CIM_INTFPERR(1U)
20560 #define S_PLCIM_MSTRSPDATAPARERR 27
20561 #define V_PLCIM_MSTRSPDATAPARERR(x) ((x) << S_PLCIM_MSTRSPDATAPARERR)
20562 #define F_PLCIM_MSTRSPDATAPARERR V_PLCIM_MSTRSPDATAPARERR(1U)
20564 #define S_NCSI2CIMINTFPARERR 26
20565 #define V_NCSI2CIMINTFPARERR(x) ((x) << S_NCSI2CIMINTFPARERR)
20566 #define F_NCSI2CIMINTFPARERR V_NCSI2CIMINTFPARERR(1U)
20568 #define S_SGE2CIMINTFPARERR 25
20569 #define V_SGE2CIMINTFPARERR(x) ((x) << S_SGE2CIMINTFPARERR)
20570 #define F_SGE2CIMINTFPARERR V_SGE2CIMINTFPARERR(1U)
20572 #define S_ULP2CIMINTFPARERR 24
20573 #define V_ULP2CIMINTFPARERR(x) ((x) << S_ULP2CIMINTFPARERR)
20574 #define F_ULP2CIMINTFPARERR V_ULP2CIMINTFPARERR(1U)
20576 #define S_TP2CIMINTFPARERR 23
20577 #define V_TP2CIMINTFPARERR(x) ((x) << S_TP2CIMINTFPARERR)
20578 #define F_TP2CIMINTFPARERR V_TP2CIMINTFPARERR(1U)
20580 #define S_OBQSGERX1PARERR 22
20581 #define V_OBQSGERX1PARERR(x) ((x) << S_OBQSGERX1PARERR)
20582 #define F_OBQSGERX1PARERR V_OBQSGERX1PARERR(1U)
20584 #define S_OBQSGERX0PARERR 21
20585 #define V_OBQSGERX0PARERR(x) ((x) << S_OBQSGERX0PARERR)
20586 #define F_OBQSGERX0PARERR V_OBQSGERX0PARERR(1U)
20588 #define S_PCIE2CIMINTFPARERR 29
20589 #define V_PCIE2CIMINTFPARERR(x) ((x) << S_PCIE2CIMINTFPARERR)
20590 #define F_PCIE2CIMINTFPARERR V_PCIE2CIMINTFPARERR(1U)
20592 #define S_IBQPCIEPARERR 12
20593 #define V_IBQPCIEPARERR(x) ((x) << S_IBQPCIEPARERR)
20594 #define F_IBQPCIEPARERR V_IBQPCIEPARERR(1U)
20596 #define A_CIM_HOST_INT_CAUSE 0x7b2c
20598 #define S_TIEQOUTPARERRINT 20
20599 #define V_TIEQOUTPARERRINT(x) ((x) << S_TIEQOUTPARERRINT)
20600 #define F_TIEQOUTPARERRINT V_TIEQOUTPARERRINT(1U)
20602 #define S_TIEQINPARERRINT 19
20603 #define V_TIEQINPARERRINT(x) ((x) << S_TIEQINPARERRINT)
20604 #define F_TIEQINPARERRINT V_TIEQINPARERRINT(1U)
20606 #define S_TIMER1INT 3
20607 #define V_TIMER1INT(x) ((x) << S_TIMER1INT)
20608 #define F_TIMER1INT V_TIMER1INT(1U)
20610 #define S_TIMER0INT 2
20611 #define V_TIMER0INT(x) ((x) << S_TIMER0INT)
20612 #define F_TIMER0INT V_TIMER0INT(1U)
20614 #define S_PREFDROPINT 1
20615 #define V_PREFDROPINT(x) ((x) << S_PREFDROPINT)
20616 #define F_PREFDROPINT V_PREFDROPINT(1U)
20618 #define S_UPACCNONZERO 0
20619 #define V_UPACCNONZERO(x) ((x) << S_UPACCNONZERO)
20620 #define F_UPACCNONZERO V_UPACCNONZERO(1U)
20622 #define A_CIM_HOST_UPACC_INT_ENABLE 0x7b30
20624 #define S_EEPROMWRINTEN 30
20625 #define V_EEPROMWRINTEN(x) ((x) << S_EEPROMWRINTEN)
20626 #define F_EEPROMWRINTEN V_EEPROMWRINTEN(1U)
20628 #define S_TIMEOUTMAINTEN 29
20629 #define V_TIMEOUTMAINTEN(x) ((x) << S_TIMEOUTMAINTEN)
20630 #define F_TIMEOUTMAINTEN V_TIMEOUTMAINTEN(1U)
20632 #define S_TIMEOUTINTEN 28
20633 #define V_TIMEOUTINTEN(x) ((x) << S_TIMEOUTINTEN)
20634 #define F_TIMEOUTINTEN V_TIMEOUTINTEN(1U)
20636 #define S_RSPOVRLOOKUPINTEN 27
20637 #define V_RSPOVRLOOKUPINTEN(x) ((x) << S_RSPOVRLOOKUPINTEN)
20638 #define F_RSPOVRLOOKUPINTEN V_RSPOVRLOOKUPINTEN(1U)
20640 #define S_REQOVRLOOKUPINTEN 26
20641 #define V_REQOVRLOOKUPINTEN(x) ((x) << S_REQOVRLOOKUPINTEN)
20642 #define F_REQOVRLOOKUPINTEN V_REQOVRLOOKUPINTEN(1U)
20644 #define S_BLKWRPLINTEN 25
20645 #define V_BLKWRPLINTEN(x) ((x) << S_BLKWRPLINTEN)
20646 #define F_BLKWRPLINTEN V_BLKWRPLINTEN(1U)
20648 #define S_BLKRDPLINTEN 24
20649 #define V_BLKRDPLINTEN(x) ((x) << S_BLKRDPLINTEN)
20650 #define F_BLKRDPLINTEN V_BLKRDPLINTEN(1U)
20652 #define S_SGLWRPLINTEN 23
20653 #define V_SGLWRPLINTEN(x) ((x) << S_SGLWRPLINTEN)
20654 #define F_SGLWRPLINTEN V_SGLWRPLINTEN(1U)
20656 #define S_SGLRDPLINTEN 22
20657 #define V_SGLRDPLINTEN(x) ((x) << S_SGLRDPLINTEN)
20658 #define F_SGLRDPLINTEN V_SGLRDPLINTEN(1U)
20660 #define S_BLKWRCTLINTEN 21
20661 #define V_BLKWRCTLINTEN(x) ((x) << S_BLKWRCTLINTEN)
20662 #define F_BLKWRCTLINTEN V_BLKWRCTLINTEN(1U)
20664 #define S_BLKRDCTLINTEN 20
20665 #define V_BLKRDCTLINTEN(x) ((x) << S_BLKRDCTLINTEN)
20666 #define F_BLKRDCTLINTEN V_BLKRDCTLINTEN(1U)
20668 #define S_SGLWRCTLINTEN 19
20669 #define V_SGLWRCTLINTEN(x) ((x) << S_SGLWRCTLINTEN)
20670 #define F_SGLWRCTLINTEN V_SGLWRCTLINTEN(1U)
20672 #define S_SGLRDCTLINTEN 18
20673 #define V_SGLRDCTLINTEN(x) ((x) << S_SGLRDCTLINTEN)
20674 #define F_SGLRDCTLINTEN V_SGLRDCTLINTEN(1U)
20676 #define S_BLKWREEPROMINTEN 17
20677 #define V_BLKWREEPROMINTEN(x) ((x) << S_BLKWREEPROMINTEN)
20678 #define F_BLKWREEPROMINTEN V_BLKWREEPROMINTEN(1U)
20680 #define S_BLKRDEEPROMINTEN 16
20681 #define V_BLKRDEEPROMINTEN(x) ((x) << S_BLKRDEEPROMINTEN)
20682 #define F_BLKRDEEPROMINTEN V_BLKRDEEPROMINTEN(1U)
20684 #define S_SGLWREEPROMINTEN 15
20685 #define V_SGLWREEPROMINTEN(x) ((x) << S_SGLWREEPROMINTEN)
20686 #define F_SGLWREEPROMINTEN V_SGLWREEPROMINTEN(1U)
20688 #define S_SGLRDEEPROMINTEN 14
20689 #define V_SGLRDEEPROMINTEN(x) ((x) << S_SGLRDEEPROMINTEN)
20690 #define F_SGLRDEEPROMINTEN V_SGLRDEEPROMINTEN(1U)
20692 #define S_BLKWRFLASHINTEN 13
20693 #define V_BLKWRFLASHINTEN(x) ((x) << S_BLKWRFLASHINTEN)
20694 #define F_BLKWRFLASHINTEN V_BLKWRFLASHINTEN(1U)
20696 #define S_BLKRDFLASHINTEN 12
20697 #define V_BLKRDFLASHINTEN(x) ((x) << S_BLKRDFLASHINTEN)
20698 #define F_BLKRDFLASHINTEN V_BLKRDFLASHINTEN(1U)
20700 #define S_SGLWRFLASHINTEN 11
20701 #define V_SGLWRFLASHINTEN(x) ((x) << S_SGLWRFLASHINTEN)
20702 #define F_SGLWRFLASHINTEN V_SGLWRFLASHINTEN(1U)
20704 #define S_SGLRDFLASHINTEN 10
20705 #define V_SGLRDFLASHINTEN(x) ((x) << S_SGLRDFLASHINTEN)
20706 #define F_SGLRDFLASHINTEN V_SGLRDFLASHINTEN(1U)
20708 #define S_BLKWRBOOTINTEN 9
20709 #define V_BLKWRBOOTINTEN(x) ((x) << S_BLKWRBOOTINTEN)
20710 #define F_BLKWRBOOTINTEN V_BLKWRBOOTINTEN(1U)
20712 #define S_BLKRDBOOTINTEN 8
20713 #define V_BLKRDBOOTINTEN(x) ((x) << S_BLKRDBOOTINTEN)
20714 #define F_BLKRDBOOTINTEN V_BLKRDBOOTINTEN(1U)
20716 #define S_SGLWRBOOTINTEN 7
20717 #define V_SGLWRBOOTINTEN(x) ((x) << S_SGLWRBOOTINTEN)
20718 #define F_SGLWRBOOTINTEN V_SGLWRBOOTINTEN(1U)
20720 #define S_SGLRDBOOTINTEN 6
20721 #define V_SGLRDBOOTINTEN(x) ((x) << S_SGLRDBOOTINTEN)
20722 #define F_SGLRDBOOTINTEN V_SGLRDBOOTINTEN(1U)
20724 #define S_ILLWRBEINTEN 5
20725 #define V_ILLWRBEINTEN(x) ((x) << S_ILLWRBEINTEN)
20726 #define F_ILLWRBEINTEN V_ILLWRBEINTEN(1U)
20728 #define S_ILLRDBEINTEN 4
20729 #define V_ILLRDBEINTEN(x) ((x) << S_ILLRDBEINTEN)
20730 #define F_ILLRDBEINTEN V_ILLRDBEINTEN(1U)
20732 #define S_ILLRDINTEN 3
20733 #define V_ILLRDINTEN(x) ((x) << S_ILLRDINTEN)
20734 #define F_ILLRDINTEN V_ILLRDINTEN(1U)
20736 #define S_ILLWRINTEN 2
20737 #define V_ILLWRINTEN(x) ((x) << S_ILLWRINTEN)
20738 #define F_ILLWRINTEN V_ILLWRINTEN(1U)
20740 #define S_ILLTRANSINTEN 1
20741 #define V_ILLTRANSINTEN(x) ((x) << S_ILLTRANSINTEN)
20742 #define F_ILLTRANSINTEN V_ILLTRANSINTEN(1U)
20744 #define S_RSVDSPACEINTEN 0
20745 #define V_RSVDSPACEINTEN(x) ((x) << S_RSVDSPACEINTEN)
20746 #define F_RSVDSPACEINTEN V_RSVDSPACEINTEN(1U)
20748 #define A_CIM_HOST_UPACC_INT_CAUSE 0x7b34
20750 #define S_EEPROMWRINT 30
20751 #define V_EEPROMWRINT(x) ((x) << S_EEPROMWRINT)
20752 #define F_EEPROMWRINT V_EEPROMWRINT(1U)
20754 #define S_TIMEOUTMAINT 29
20755 #define V_TIMEOUTMAINT(x) ((x) << S_TIMEOUTMAINT)
20756 #define F_TIMEOUTMAINT V_TIMEOUTMAINT(1U)
20758 #define S_TIMEOUTINT 28
20759 #define V_TIMEOUTINT(x) ((x) << S_TIMEOUTINT)
20760 #define F_TIMEOUTINT V_TIMEOUTINT(1U)
20762 #define S_RSPOVRLOOKUPINT 27
20763 #define V_RSPOVRLOOKUPINT(x) ((x) << S_RSPOVRLOOKUPINT)
20764 #define F_RSPOVRLOOKUPINT V_RSPOVRLOOKUPINT(1U)
20766 #define S_REQOVRLOOKUPINT 26
20767 #define V_REQOVRLOOKUPINT(x) ((x) << S_REQOVRLOOKUPINT)
20768 #define F_REQOVRLOOKUPINT V_REQOVRLOOKUPINT(1U)
20770 #define S_BLKWRPLINT 25
20771 #define V_BLKWRPLINT(x) ((x) << S_BLKWRPLINT)
20772 #define F_BLKWRPLINT V_BLKWRPLINT(1U)
20774 #define S_BLKRDPLINT 24
20775 #define V_BLKRDPLINT(x) ((x) << S_BLKRDPLINT)
20776 #define F_BLKRDPLINT V_BLKRDPLINT(1U)
20778 #define S_SGLWRPLINT 23
20779 #define V_SGLWRPLINT(x) ((x) << S_SGLWRPLINT)
20780 #define F_SGLWRPLINT V_SGLWRPLINT(1U)
20782 #define S_SGLRDPLINT 22
20783 #define V_SGLRDPLINT(x) ((x) << S_SGLRDPLINT)
20784 #define F_SGLRDPLINT V_SGLRDPLINT(1U)
20786 #define S_BLKWRCTLINT 21
20787 #define V_BLKWRCTLINT(x) ((x) << S_BLKWRCTLINT)
20788 #define F_BLKWRCTLINT V_BLKWRCTLINT(1U)
20790 #define S_BLKRDCTLINT 20
20791 #define V_BLKRDCTLINT(x) ((x) << S_BLKRDCTLINT)
20792 #define F_BLKRDCTLINT V_BLKRDCTLINT(1U)
20794 #define S_SGLWRCTLINT 19
20795 #define V_SGLWRCTLINT(x) ((x) << S_SGLWRCTLINT)
20796 #define F_SGLWRCTLINT V_SGLWRCTLINT(1U)
20798 #define S_SGLRDCTLINT 18
20799 #define V_SGLRDCTLINT(x) ((x) << S_SGLRDCTLINT)
20800 #define F_SGLRDCTLINT V_SGLRDCTLINT(1U)
20802 #define S_BLKWREEPROMINT 17
20803 #define V_BLKWREEPROMINT(x) ((x) << S_BLKWREEPROMINT)
20804 #define F_BLKWREEPROMINT V_BLKWREEPROMINT(1U)
20806 #define S_BLKRDEEPROMINT 16
20807 #define V_BLKRDEEPROMINT(x) ((x) << S_BLKRDEEPROMINT)
20808 #define F_BLKRDEEPROMINT V_BLKRDEEPROMINT(1U)
20810 #define S_SGLWREEPROMINT 15
20811 #define V_SGLWREEPROMINT(x) ((x) << S_SGLWREEPROMINT)
20812 #define F_SGLWREEPROMINT V_SGLWREEPROMINT(1U)
20814 #define S_SGLRDEEPROMINT 14
20815 #define V_SGLRDEEPROMINT(x) ((x) << S_SGLRDEEPROMINT)
20816 #define F_SGLRDEEPROMINT V_SGLRDEEPROMINT(1U)
20818 #define S_BLKWRFLASHINT 13
20819 #define V_BLKWRFLASHINT(x) ((x) << S_BLKWRFLASHINT)
20820 #define F_BLKWRFLASHINT V_BLKWRFLASHINT(1U)
20822 #define S_BLKRDFLASHINT 12
20823 #define V_BLKRDFLASHINT(x) ((x) << S_BLKRDFLASHINT)
20824 #define F_BLKRDFLASHINT V_BLKRDFLASHINT(1U)
20826 #define S_SGLWRFLASHINT 11
20827 #define V_SGLWRFLASHINT(x) ((x) << S_SGLWRFLASHINT)
20828 #define F_SGLWRFLASHINT V_SGLWRFLASHINT(1U)
20830 #define S_SGLRDFLASHINT 10
20831 #define V_SGLRDFLASHINT(x) ((x) << S_SGLRDFLASHINT)
20832 #define F_SGLRDFLASHINT V_SGLRDFLASHINT(1U)
20834 #define S_BLKWRBOOTINT 9
20835 #define V_BLKWRBOOTINT(x) ((x) << S_BLKWRBOOTINT)
20836 #define F_BLKWRBOOTINT V_BLKWRBOOTINT(1U)
20838 #define S_BLKRDBOOTINT 8
20839 #define V_BLKRDBOOTINT(x) ((x) << S_BLKRDBOOTINT)
20840 #define F_BLKRDBOOTINT V_BLKRDBOOTINT(1U)
20842 #define S_SGLWRBOOTINT 7
20843 #define V_SGLWRBOOTINT(x) ((x) << S_SGLWRBOOTINT)
20844 #define F_SGLWRBOOTINT V_SGLWRBOOTINT(1U)
20846 #define S_SGLRDBOOTINT 6
20847 #define V_SGLRDBOOTINT(x) ((x) << S_SGLRDBOOTINT)
20848 #define F_SGLRDBOOTINT V_SGLRDBOOTINT(1U)
20850 #define S_ILLWRBEINT 5
20851 #define V_ILLWRBEINT(x) ((x) << S_ILLWRBEINT)
20852 #define F_ILLWRBEINT V_ILLWRBEINT(1U)
20854 #define S_ILLRDBEINT 4
20855 #define V_ILLRDBEINT(x) ((x) << S_ILLRDBEINT)
20856 #define F_ILLRDBEINT V_ILLRDBEINT(1U)
20858 #define S_ILLRDINT 3
20859 #define V_ILLRDINT(x) ((x) << S_ILLRDINT)
20860 #define F_ILLRDINT V_ILLRDINT(1U)
20862 #define S_ILLWRINT 2
20863 #define V_ILLWRINT(x) ((x) << S_ILLWRINT)
20864 #define F_ILLWRINT V_ILLWRINT(1U)
20866 #define S_ILLTRANSINT 1
20867 #define V_ILLTRANSINT(x) ((x) << S_ILLTRANSINT)
20868 #define F_ILLTRANSINT V_ILLTRANSINT(1U)
20870 #define S_RSVDSPACEINT 0
20871 #define V_RSVDSPACEINT(x) ((x) << S_RSVDSPACEINT)
20872 #define F_RSVDSPACEINT V_RSVDSPACEINT(1U)
20874 #define A_CIM_UP_INT_ENABLE 0x7b38
20876 #define S_MSTPLINTEN 4
20877 #define V_MSTPLINTEN(x) ((x) << S_MSTPLINTEN)
20878 #define F_MSTPLINTEN V_MSTPLINTEN(1U)
20880 #define A_CIM_UP_INT_CAUSE 0x7b3c
20882 #define S_MSTPLINT 4
20883 #define V_MSTPLINT(x) ((x) << S_MSTPLINT)
20884 #define F_MSTPLINT V_MSTPLINT(1U)
20886 #define A_CIM_UP_ACC_INT_ENABLE 0x7b40
20887 #define A_CIM_UP_ACC_INT_CAUSE 0x7b44
20888 #define A_CIM_QUEUE_CONFIG_REF 0x7b48
20890 #define S_OBQSELECT 4
20891 #define V_OBQSELECT(x) ((x) << S_OBQSELECT)
20892 #define F_OBQSELECT V_OBQSELECT(1U)
20894 #define S_IBQSELECT 3
20895 #define V_IBQSELECT(x) ((x) << S_IBQSELECT)
20896 #define F_IBQSELECT V_IBQSELECT(1U)
20898 #define S_QUENUMSELECT 0
20899 #define M_QUENUMSELECT 0x7U
20900 #define V_QUENUMSELECT(x) ((x) << S_QUENUMSELECT)
20901 #define G_QUENUMSELECT(x) (((x) >> S_QUENUMSELECT) & M_QUENUMSELECT)
20903 #define A_CIM_QUEUE_CONFIG_CTRL 0x7b4c
20905 #define S_CIMQSIZE 24
20906 #define M_CIMQSIZE 0x3fU
20907 #define V_CIMQSIZE(x) ((x) << S_CIMQSIZE)
20908 #define G_CIMQSIZE(x) (((x) >> S_CIMQSIZE) & M_CIMQSIZE)
20910 #define S_CIMQBASE 16
20911 #define M_CIMQBASE 0x3fU
20912 #define V_CIMQBASE(x) ((x) << S_CIMQBASE)
20913 #define G_CIMQBASE(x) (((x) >> S_CIMQBASE) & M_CIMQBASE)
20915 #define S_CIMQDBG8BEN 9
20916 #define V_CIMQDBG8BEN(x) ((x) << S_CIMQDBG8BEN)
20917 #define F_CIMQDBG8BEN V_CIMQDBG8BEN(1U)
20919 #define S_QUEFULLTHRSH 0
20920 #define M_QUEFULLTHRSH 0x1ffU
20921 #define V_QUEFULLTHRSH(x) ((x) << S_QUEFULLTHRSH)
20922 #define G_QUEFULLTHRSH(x) (((x) >> S_QUEFULLTHRSH) & M_QUEFULLTHRSH)
20924 #define S_CIMQ1KEN 30
20925 #define V_CIMQ1KEN(x) ((x) << S_CIMQ1KEN)
20926 #define F_CIMQ1KEN V_CIMQ1KEN(1U)
20928 #define A_CIM_HOST_ACC_CTRL 0x7b50
20930 #define S_HOSTBUSY 17
20931 #define V_HOSTBUSY(x) ((x) << S_HOSTBUSY)
20932 #define F_HOSTBUSY V_HOSTBUSY(1U)
20934 #define S_HOSTWRITE 16
20935 #define V_HOSTWRITE(x) ((x) << S_HOSTWRITE)
20936 #define F_HOSTWRITE V_HOSTWRITE(1U)
20938 #define S_HOSTADDR 0
20939 #define M_HOSTADDR 0xffffU
20940 #define V_HOSTADDR(x) ((x) << S_HOSTADDR)
20941 #define G_HOSTADDR(x) (((x) >> S_HOSTADDR) & M_HOSTADDR)
20943 #define A_CIM_HOST_ACC_DATA 0x7b54
20944 #define A_CIM_CDEBUGDATA 0x7b58
20946 #define S_CDEBUGDATAH 16
20947 #define M_CDEBUGDATAH 0xffffU
20948 #define V_CDEBUGDATAH(x) ((x) << S_CDEBUGDATAH)
20949 #define G_CDEBUGDATAH(x) (((x) >> S_CDEBUGDATAH) & M_CDEBUGDATAH)
20951 #define S_CDEBUGDATAL 0
20952 #define M_CDEBUGDATAL 0xffffU
20953 #define V_CDEBUGDATAL(x) ((x) << S_CDEBUGDATAL)
20954 #define G_CDEBUGDATAL(x) (((x) >> S_CDEBUGDATAL) & M_CDEBUGDATAL)
20956 #define A_CIM_IBQ_DBG_CFG 0x7b60
20958 #define S_IBQDBGADDR 16
20959 #define M_IBQDBGADDR 0xfffU
20960 #define V_IBQDBGADDR(x) ((x) << S_IBQDBGADDR)
20961 #define G_IBQDBGADDR(x) (((x) >> S_IBQDBGADDR) & M_IBQDBGADDR)
20963 #define S_IBQDBGWR 2
20964 #define V_IBQDBGWR(x) ((x) << S_IBQDBGWR)
20965 #define F_IBQDBGWR V_IBQDBGWR(1U)
20967 #define S_IBQDBGBUSY 1
20968 #define V_IBQDBGBUSY(x) ((x) << S_IBQDBGBUSY)
20969 #define F_IBQDBGBUSY V_IBQDBGBUSY(1U)
20971 #define S_IBQDBGEN 0
20972 #define V_IBQDBGEN(x) ((x) << S_IBQDBGEN)
20973 #define F_IBQDBGEN V_IBQDBGEN(1U)
20975 #define A_CIM_OBQ_DBG_CFG 0x7b64
20977 #define S_OBQDBGADDR 16
20978 #define M_OBQDBGADDR 0xfffU
20979 #define V_OBQDBGADDR(x) ((x) << S_OBQDBGADDR)
20980 #define G_OBQDBGADDR(x) (((x) >> S_OBQDBGADDR) & M_OBQDBGADDR)
20982 #define S_OBQDBGWR 2
20983 #define V_OBQDBGWR(x) ((x) << S_OBQDBGWR)
20984 #define F_OBQDBGWR V_OBQDBGWR(1U)
20986 #define S_OBQDBGBUSY 1
20987 #define V_OBQDBGBUSY(x) ((x) << S_OBQDBGBUSY)
20988 #define F_OBQDBGBUSY V_OBQDBGBUSY(1U)
20990 #define S_OBQDBGEN 0
20991 #define V_OBQDBGEN(x) ((x) << S_OBQDBGEN)
20992 #define F_OBQDBGEN V_OBQDBGEN(1U)
20994 #define A_CIM_IBQ_DBG_DATA 0x7b68
20995 #define A_CIM_OBQ_DBG_DATA 0x7b6c
20996 #define A_CIM_DEBUGCFG 0x7b70
20998 #define S_POLADBGRDPTR 23
20999 #define M_POLADBGRDPTR 0x1ffU
21000 #define V_POLADBGRDPTR(x) ((x) << S_POLADBGRDPTR)
21001 #define G_POLADBGRDPTR(x) (((x) >> S_POLADBGRDPTR) & M_POLADBGRDPTR)
21003 #define S_PILADBGRDPTR 14
21004 #define M_PILADBGRDPTR 0x1ffU
21005 #define V_PILADBGRDPTR(x) ((x) << S_PILADBGRDPTR)
21006 #define G_PILADBGRDPTR(x) (((x) >> S_PILADBGRDPTR) & M_PILADBGRDPTR)
21008 #define S_LAMASKTRIG 13
21009 #define V_LAMASKTRIG(x) ((x) << S_LAMASKTRIG)
21010 #define F_LAMASKTRIG V_LAMASKTRIG(1U)
21012 #define S_LADBGEN 12
21013 #define V_LADBGEN(x) ((x) << S_LADBGEN)
21014 #define F_LADBGEN V_LADBGEN(1U)
21016 #define S_LAFILLONCE 11
21017 #define V_LAFILLONCE(x) ((x) << S_LAFILLONCE)
21018 #define F_LAFILLONCE V_LAFILLONCE(1U)
21020 #define S_LAMASKSTOP 10
21021 #define V_LAMASKSTOP(x) ((x) << S_LAMASKSTOP)
21022 #define F_LAMASKSTOP V_LAMASKSTOP(1U)
21024 #define S_DEBUGSELH 5
21025 #define M_DEBUGSELH 0x1fU
21026 #define V_DEBUGSELH(x) ((x) << S_DEBUGSELH)
21027 #define G_DEBUGSELH(x) (((x) >> S_DEBUGSELH) & M_DEBUGSELH)
21029 #define S_DEBUGSELL 0
21030 #define M_DEBUGSELL 0x1fU
21031 #define V_DEBUGSELL(x) ((x) << S_DEBUGSELL)
21032 #define G_DEBUGSELL(x) (((x) >> S_DEBUGSELL) & M_DEBUGSELL)
21034 #define A_CIM_DEBUGSTS 0x7b74
21036 #define S_LARESET 31
21037 #define V_LARESET(x) ((x) << S_LARESET)
21038 #define F_LARESET V_LARESET(1U)
21040 #define S_POLADBGWRPTR 16
21041 #define M_POLADBGWRPTR 0x1ffU
21042 #define V_POLADBGWRPTR(x) ((x) << S_POLADBGWRPTR)
21043 #define G_POLADBGWRPTR(x) (((x) >> S_POLADBGWRPTR) & M_POLADBGWRPTR)
21045 #define S_PILADBGWRPTR 0
21046 #define M_PILADBGWRPTR 0x1ffU
21047 #define V_PILADBGWRPTR(x) ((x) << S_PILADBGWRPTR)
21048 #define G_PILADBGWRPTR(x) (((x) >> S_PILADBGWRPTR) & M_PILADBGWRPTR)
21050 #define A_CIM_PO_LA_DEBUGDATA 0x7b78
21051 #define A_CIM_PI_LA_DEBUGDATA 0x7b7c
21052 #define A_CIM_PO_LA_MADEBUGDATA 0x7b80
21053 #define A_CIM_PI_LA_MADEBUGDATA 0x7b84
21054 #define A_CIM_PO_LA_PIFSMDEBUGDATA 0x7b8c
21055 #define A_CIM_MEM_ZONE0_VA 0x7b90
21057 #define S_MEM_ZONE_VA 4
21058 #define M_MEM_ZONE_VA 0xfffffffU
21059 #define V_MEM_ZONE_VA(x) ((x) << S_MEM_ZONE_VA)
21060 #define G_MEM_ZONE_VA(x) (((x) >> S_MEM_ZONE_VA) & M_MEM_ZONE_VA)
21062 #define A_CIM_MEM_ZONE0_BA 0x7b94
21064 #define S_MEM_ZONE_BA 6
21065 #define M_MEM_ZONE_BA 0x3ffffffU
21066 #define V_MEM_ZONE_BA(x) ((x) << S_MEM_ZONE_BA)
21067 #define G_MEM_ZONE_BA(x) (((x) >> S_MEM_ZONE_BA) & M_MEM_ZONE_BA)
21069 #define S_PBT_ENABLE 5
21070 #define V_PBT_ENABLE(x) ((x) << S_PBT_ENABLE)
21071 #define F_PBT_ENABLE V_PBT_ENABLE(1U)
21073 #define S_ZONE_DST 0
21074 #define M_ZONE_DST 0x3U
21075 #define V_ZONE_DST(x) ((x) << S_ZONE_DST)
21076 #define G_ZONE_DST(x) (((x) >> S_ZONE_DST) & M_ZONE_DST)
21078 #define A_CIM_MEM_ZONE0_LEN 0x7b98
21080 #define S_MEM_ZONE_LEN 4
21081 #define M_MEM_ZONE_LEN 0xfffffffU
21082 #define V_MEM_ZONE_LEN(x) ((x) << S_MEM_ZONE_LEN)
21083 #define G_MEM_ZONE_LEN(x) (((x) >> S_MEM_ZONE_LEN) & M_MEM_ZONE_LEN)
21085 #define A_CIM_MEM_ZONE1_VA 0x7b9c
21086 #define A_CIM_MEM_ZONE1_BA 0x7ba0
21087 #define A_CIM_MEM_ZONE1_LEN 0x7ba4
21088 #define A_CIM_MEM_ZONE2_VA 0x7ba8
21089 #define A_CIM_MEM_ZONE2_BA 0x7bac
21090 #define A_CIM_MEM_ZONE2_LEN 0x7bb0
21091 #define A_CIM_MEM_ZONE3_VA 0x7bb4
21092 #define A_CIM_MEM_ZONE3_BA 0x7bb8
21093 #define A_CIM_MEM_ZONE3_LEN 0x7bbc
21094 #define A_CIM_MEM_ZONE4_VA 0x7bc0
21095 #define A_CIM_MEM_ZONE4_BA 0x7bc4
21096 #define A_CIM_MEM_ZONE4_LEN 0x7bc8
21097 #define A_CIM_MEM_ZONE5_VA 0x7bcc
21098 #define A_CIM_MEM_ZONE5_BA 0x7bd0
21099 #define A_CIM_MEM_ZONE5_LEN 0x7bd4
21100 #define A_CIM_MEM_ZONE6_VA 0x7bd8
21101 #define A_CIM_MEM_ZONE6_BA 0x7bdc
21102 #define A_CIM_MEM_ZONE6_LEN 0x7be0
21103 #define A_CIM_MEM_ZONE7_VA 0x7be4
21104 #define A_CIM_MEM_ZONE7_BA 0x7be8
21105 #define A_CIM_MEM_ZONE7_LEN 0x7bec
21106 #define A_CIM_BOOT_LEN 0x7bf0
21108 #define S_BOOTLEN 4
21109 #define M_BOOTLEN 0xfffffffU
21110 #define V_BOOTLEN(x) ((x) << S_BOOTLEN)
21111 #define G_BOOTLEN(x) (((x) >> S_BOOTLEN) & M_BOOTLEN)
21113 #define A_CIM_GLB_TIMER_CTL 0x7bf4
21115 #define S_TIMER1EN 4
21116 #define V_TIMER1EN(x) ((x) << S_TIMER1EN)
21117 #define F_TIMER1EN V_TIMER1EN(1U)
21119 #define S_TIMER0EN 3
21120 #define V_TIMER0EN(x) ((x) << S_TIMER0EN)
21121 #define F_TIMER0EN V_TIMER0EN(1U)
21123 #define S_TIMEREN 1
21124 #define V_TIMEREN(x) ((x) << S_TIMEREN)
21125 #define F_TIMEREN V_TIMEREN(1U)
21127 #define A_CIM_GLB_TIMER 0x7bf8
21128 #define A_CIM_GLB_TIMER_TICK 0x7bfc
21130 #define S_GLBLTTICK 0
21131 #define M_GLBLTTICK 0xffffU
21132 #define V_GLBLTTICK(x) ((x) << S_GLBLTTICK)
21133 #define G_GLBLTTICK(x) (((x) >> S_GLBLTTICK) & M_GLBLTTICK)
21135 #define A_CIM_TIMER0 0x7c00
21136 #define A_CIM_TIMER1 0x7c04
21137 #define A_CIM_DEBUG_ADDR_TIMEOUT 0x7c08
21139 #define S_DADDRTIMEOUT 2
21140 #define M_DADDRTIMEOUT 0x3fffffffU
21141 #define V_DADDRTIMEOUT(x) ((x) << S_DADDRTIMEOUT)
21142 #define G_DADDRTIMEOUT(x) (((x) >> S_DADDRTIMEOUT) & M_DADDRTIMEOUT)
21144 #define S_DADDRTIMEOUTTYPE 0
21145 #define M_DADDRTIMEOUTTYPE 0x3U
21146 #define V_DADDRTIMEOUTTYPE(x) ((x) << S_DADDRTIMEOUTTYPE)
21147 #define G_DADDRTIMEOUTTYPE(x) (((x) >> S_DADDRTIMEOUTTYPE) & M_DADDRTIMEOUTTYPE)
21149 #define A_CIM_DEBUG_ADDR_ILLEGAL 0x7c0c
21151 #define S_DADDRILLEGAL 2
21152 #define M_DADDRILLEGAL 0x3fffffffU
21153 #define V_DADDRILLEGAL(x) ((x) << S_DADDRILLEGAL)
21154 #define G_DADDRILLEGAL(x) (((x) >> S_DADDRILLEGAL) & M_DADDRILLEGAL)
21156 #define S_DADDRILLEGALTYPE 0
21157 #define M_DADDRILLEGALTYPE 0x3U
21158 #define V_DADDRILLEGALTYPE(x) ((x) << S_DADDRILLEGALTYPE)
21159 #define G_DADDRILLEGALTYPE(x) (((x) >> S_DADDRILLEGALTYPE) & M_DADDRILLEGALTYPE)
21161 #define A_CIM_DEBUG_PIF_CAUSE_MASK 0x7c10
21163 #define S_DPIFHOSTMASK 0
21164 #define M_DPIFHOSTMASK 0x1fffffU
21165 #define V_DPIFHOSTMASK(x) ((x) << S_DPIFHOSTMASK)
21166 #define G_DPIFHOSTMASK(x) (((x) >> S_DPIFHOSTMASK) & M_DPIFHOSTMASK)
21168 #define S_T5_DPIFHOSTMASK 0
21169 #define M_T5_DPIFHOSTMASK 0x1fffffffU
21170 #define V_T5_DPIFHOSTMASK(x) ((x) << S_T5_DPIFHOSTMASK)
21171 #define G_T5_DPIFHOSTMASK(x) (((x) >> S_T5_DPIFHOSTMASK) & M_T5_DPIFHOSTMASK)
21173 #define S_T6_T5_DPIFHOSTMASK 0
21174 #define M_T6_T5_DPIFHOSTMASK 0x3fffffffU
21175 #define V_T6_T5_DPIFHOSTMASK(x) ((x) << S_T6_T5_DPIFHOSTMASK)
21176 #define G_T6_T5_DPIFHOSTMASK(x) (((x) >> S_T6_T5_DPIFHOSTMASK) & M_T6_T5_DPIFHOSTMASK)
21178 #define A_CIM_DEBUG_PIF_UPACC_CAUSE_MASK 0x7c14
21180 #define S_DPIFHUPAMASK 0
21181 #define M_DPIFHUPAMASK 0x7fffffffU
21182 #define V_DPIFHUPAMASK(x) ((x) << S_DPIFHUPAMASK)
21183 #define G_DPIFHUPAMASK(x) (((x) >> S_DPIFHUPAMASK) & M_DPIFHUPAMASK)
21185 #define A_CIM_DEBUG_UP_CAUSE_MASK 0x7c18
21187 #define S_DUPMASK 0
21188 #define M_DUPMASK 0x1fffffU
21189 #define V_DUPMASK(x) ((x) << S_DUPMASK)
21190 #define G_DUPMASK(x) (((x) >> S_DUPMASK) & M_DUPMASK)
21192 #define S_T5_DUPMASK 0
21193 #define M_T5_DUPMASK 0x1fffffffU
21194 #define V_T5_DUPMASK(x) ((x) << S_T5_DUPMASK)
21195 #define G_T5_DUPMASK(x) (((x) >> S_T5_DUPMASK) & M_T5_DUPMASK)
21197 #define S_T6_T5_DUPMASK 0
21198 #define M_T6_T5_DUPMASK 0x3fffffffU
21199 #define V_T6_T5_DUPMASK(x) ((x) << S_T6_T5_DUPMASK)
21200 #define G_T6_T5_DUPMASK(x) (((x) >> S_T6_T5_DUPMASK) & M_T6_T5_DUPMASK)
21202 #define A_CIM_DEBUG_UP_UPACC_CAUSE_MASK 0x7c1c
21204 #define S_DUPUACCMASK 0
21205 #define M_DUPUACCMASK 0x7fffffffU
21206 #define V_DUPUACCMASK(x) ((x) << S_DUPUACCMASK)
21207 #define G_DUPUACCMASK(x) (((x) >> S_DUPUACCMASK) & M_DUPUACCMASK)
21209 #define A_CIM_PERR_INJECT 0x7c20
21210 #define A_CIM_PERR_ENABLE 0x7c24
21213 #define M_PERREN 0x1fffffU
21214 #define V_PERREN(x) ((x) << S_PERREN)
21215 #define G_PERREN(x) (((x) >> S_PERREN) & M_PERREN)
21217 #define S_T5_PERREN 0
21218 #define M_T5_PERREN 0x1fffffffU
21219 #define V_T5_PERREN(x) ((x) << S_T5_PERREN)
21220 #define G_T5_PERREN(x) (((x) >> S_T5_PERREN) & M_T5_PERREN)
21222 #define S_T6_T5_PERREN 0
21223 #define M_T6_T5_PERREN 0x3fffffffU
21224 #define V_T6_T5_PERREN(x) ((x) << S_T6_T5_PERREN)
21225 #define G_T6_T5_PERREN(x) (((x) >> S_T6_T5_PERREN) & M_T6_T5_PERREN)
21227 #define A_CIM_EEPROM_BUSY_BIT 0x7c28
21229 #define S_EEPROMBUSY 0
21230 #define V_EEPROMBUSY(x) ((x) << S_EEPROMBUSY)
21231 #define F_EEPROMBUSY V_EEPROMBUSY(1U)
21233 #define A_CIM_MA_TIMER_EN 0x7c2c
21235 #define S_MA_TIMER_ENABLE 0
21236 #define V_MA_TIMER_ENABLE(x) ((x) << S_MA_TIMER_ENABLE)
21237 #define F_MA_TIMER_ENABLE V_MA_TIMER_ENABLE(1U)
21239 #define S_SLOW_TIMER_ENABLE 1
21240 #define V_SLOW_TIMER_ENABLE(x) ((x) << S_SLOW_TIMER_ENABLE)
21241 #define F_SLOW_TIMER_ENABLE V_SLOW_TIMER_ENABLE(1U)
21243 #define A_CIM_UP_PO_SINGLE_OUTSTANDING 0x7c30
21245 #define S_UP_PO_SINGLE_OUTSTANDING 0
21246 #define V_UP_PO_SINGLE_OUTSTANDING(x) ((x) << S_UP_PO_SINGLE_OUTSTANDING)
21247 #define F_UP_PO_SINGLE_OUTSTANDING V_UP_PO_SINGLE_OUTSTANDING(1U)
21249 #define A_CIM_CIM_DEBUG_SPARE 0x7c34
21250 #define A_CIM_UP_OPERATION_FREQ 0x7c38
21251 #define A_CIM_CIM_IBQ_ERR_CODE 0x7c3c
21253 #define S_CIM_ULP_TX_PKT_ERR_CODE 16
21254 #define M_CIM_ULP_TX_PKT_ERR_CODE 0xffU
21255 #define V_CIM_ULP_TX_PKT_ERR_CODE(x) ((x) << S_CIM_ULP_TX_PKT_ERR_CODE)
21256 #define G_CIM_ULP_TX_PKT_ERR_CODE(x) (((x) >> S_CIM_ULP_TX_PKT_ERR_CODE) & M_CIM_ULP_TX_PKT_ERR_CODE)
21258 #define S_CIM_SGE1_PKT_ERR_CODE 8
21259 #define M_CIM_SGE1_PKT_ERR_CODE 0xffU
21260 #define V_CIM_SGE1_PKT_ERR_CODE(x) ((x) << S_CIM_SGE1_PKT_ERR_CODE)
21261 #define G_CIM_SGE1_PKT_ERR_CODE(x) (((x) >> S_CIM_SGE1_PKT_ERR_CODE) & M_CIM_SGE1_PKT_ERR_CODE)
21263 #define S_CIM_SGE0_PKT_ERR_CODE 0
21264 #define M_CIM_SGE0_PKT_ERR_CODE 0xffU
21265 #define V_CIM_SGE0_PKT_ERR_CODE(x) ((x) << S_CIM_SGE0_PKT_ERR_CODE)
21266 #define G_CIM_SGE0_PKT_ERR_CODE(x) (((x) >> S_CIM_SGE0_PKT_ERR_CODE) & M_CIM_SGE0_PKT_ERR_CODE)
21268 #define S_CIM_PCIE_PKT_ERR_CODE 8
21269 #define M_CIM_PCIE_PKT_ERR_CODE 0xffU
21270 #define V_CIM_PCIE_PKT_ERR_CODE(x) ((x) << S_CIM_PCIE_PKT_ERR_CODE)
21271 #define G_CIM_PCIE_PKT_ERR_CODE(x) (((x) >> S_CIM_PCIE_PKT_ERR_CODE) & M_CIM_PCIE_PKT_ERR_CODE)
21273 #define A_CIM_IBQ_DBG_WAIT_COUNTER 0x7c40
21274 #define A_CIM_PIO_UP_MST_CFG_SEL 0x7c44
21276 #define S_PIO_UP_MST_CFG_SEL 0
21277 #define V_PIO_UP_MST_CFG_SEL(x) ((x) << S_PIO_UP_MST_CFG_SEL)
21278 #define F_PIO_UP_MST_CFG_SEL V_PIO_UP_MST_CFG_SEL(1U)
21280 #define A_CIM_CGEN 0x7c48
21282 #define S_TSCH_CGEN 0
21283 #define V_TSCH_CGEN(x) ((x) << S_TSCH_CGEN)
21284 #define F_TSCH_CGEN V_TSCH_CGEN(1U)
21286 #define A_CIM_QUEUE_FEATURE_DISABLE 0x7c4c
21288 #define S_OBQ_THROUTTLE_ON_EOP 4
21289 #define V_OBQ_THROUTTLE_ON_EOP(x) ((x) << S_OBQ_THROUTTLE_ON_EOP)
21290 #define F_OBQ_THROUTTLE_ON_EOP V_OBQ_THROUTTLE_ON_EOP(1U)
21292 #define S_OBQ_READ_CTL_PERF_MODE_DISABLE 3
21293 #define V_OBQ_READ_CTL_PERF_MODE_DISABLE(x) ((x) << S_OBQ_READ_CTL_PERF_MODE_DISABLE)
21294 #define F_OBQ_READ_CTL_PERF_MODE_DISABLE V_OBQ_READ_CTL_PERF_MODE_DISABLE(1U)
21296 #define S_OBQ_WAIT_FOR_EOP_FLUSH_DISABLE 2
21297 #define V_OBQ_WAIT_FOR_EOP_FLUSH_DISABLE(x) ((x) << S_OBQ_WAIT_FOR_EOP_FLUSH_DISABLE)
21298 #define F_OBQ_WAIT_FOR_EOP_FLUSH_DISABLE V_OBQ_WAIT_FOR_EOP_FLUSH_DISABLE(1U)
21300 #define S_IBQ_RRA_DSBL 1
21301 #define V_IBQ_RRA_DSBL(x) ((x) << S_IBQ_RRA_DSBL)
21302 #define F_IBQ_RRA_DSBL V_IBQ_RRA_DSBL(1U)
21304 #define S_IBQ_SKID_FIFO_EOP_FLSH_DSBL 0
21305 #define V_IBQ_SKID_FIFO_EOP_FLSH_DSBL(x) ((x) << S_IBQ_SKID_FIFO_EOP_FLSH_DSBL)
21306 #define F_IBQ_SKID_FIFO_EOP_FLSH_DSBL V_IBQ_SKID_FIFO_EOP_FLSH_DSBL(1U)
21308 #define S_PCIE_OBQ_IF_DISABLE 5
21309 #define V_PCIE_OBQ_IF_DISABLE(x) ((x) << S_PCIE_OBQ_IF_DISABLE)
21310 #define F_PCIE_OBQ_IF_DISABLE V_PCIE_OBQ_IF_DISABLE(1U)
21312 #define A_CIM_CGEN_GLOBAL 0x7c50
21314 #define S_CGEN_GLOBAL 0
21315 #define V_CGEN_GLOBAL(x) ((x) << S_CGEN_GLOBAL)
21316 #define F_CGEN_GLOBAL V_CGEN_GLOBAL(1U)
21318 #define A_CIM_DPSLP_EN 0x7c54
21320 #define S_PIFDBGLA_DPSLP_EN 0
21321 #define V_PIFDBGLA_DPSLP_EN(x) ((x) << S_PIFDBGLA_DPSLP_EN)
21322 #define F_PIFDBGLA_DPSLP_EN V_PIFDBGLA_DPSLP_EN(1U)
21324 /* registers for module TP */
21325 #define TP_BASE_ADDR 0x7d00
21327 #define A_TP_IN_CONFIG 0x7d00
21329 #define S_TCPOPTPARSERDISCH3 27
21330 #define V_TCPOPTPARSERDISCH3(x) ((x) << S_TCPOPTPARSERDISCH3)
21331 #define F_TCPOPTPARSERDISCH3 V_TCPOPTPARSERDISCH3(1U)
21333 #define S_TCPOPTPARSERDISCH2 26
21334 #define V_TCPOPTPARSERDISCH2(x) ((x) << S_TCPOPTPARSERDISCH2)
21335 #define F_TCPOPTPARSERDISCH2 V_TCPOPTPARSERDISCH2(1U)
21337 #define S_TCPOPTPARSERDISCH1 25
21338 #define V_TCPOPTPARSERDISCH1(x) ((x) << S_TCPOPTPARSERDISCH1)
21339 #define F_TCPOPTPARSERDISCH1 V_TCPOPTPARSERDISCH1(1U)
21341 #define S_TCPOPTPARSERDISCH0 24
21342 #define V_TCPOPTPARSERDISCH0(x) ((x) << S_TCPOPTPARSERDISCH0)
21343 #define F_TCPOPTPARSERDISCH0 V_TCPOPTPARSERDISCH0(1U)
21345 #define S_CRCPASSPRT3 23
21346 #define V_CRCPASSPRT3(x) ((x) << S_CRCPASSPRT3)
21347 #define F_CRCPASSPRT3 V_CRCPASSPRT3(1U)
21349 #define S_CRCPASSPRT2 22
21350 #define V_CRCPASSPRT2(x) ((x) << S_CRCPASSPRT2)
21351 #define F_CRCPASSPRT2 V_CRCPASSPRT2(1U)
21353 #define S_CRCPASSPRT1 21
21354 #define V_CRCPASSPRT1(x) ((x) << S_CRCPASSPRT1)
21355 #define F_CRCPASSPRT1 V_CRCPASSPRT1(1U)
21357 #define S_CRCPASSPRT0 20
21358 #define V_CRCPASSPRT0(x) ((x) << S_CRCPASSPRT0)
21359 #define F_CRCPASSPRT0 V_CRCPASSPRT0(1U)
21361 #define S_VEPAMODE 19
21362 #define V_VEPAMODE(x) ((x) << S_VEPAMODE)
21363 #define F_VEPAMODE V_VEPAMODE(1U)
21365 #define S_FIPUPEN 18
21366 #define V_FIPUPEN(x) ((x) << S_FIPUPEN)
21367 #define F_FIPUPEN V_FIPUPEN(1U)
21369 #define S_FCOEUPEN 17
21370 #define V_FCOEUPEN(x) ((x) << S_FCOEUPEN)
21371 #define F_FCOEUPEN V_FCOEUPEN(1U)
21373 #define S_FCOEENABLE 16
21374 #define V_FCOEENABLE(x) ((x) << S_FCOEENABLE)
21375 #define F_FCOEENABLE V_FCOEENABLE(1U)
21377 #define S_IPV6ENABLE 15
21378 #define V_IPV6ENABLE(x) ((x) << S_IPV6ENABLE)
21379 #define F_IPV6ENABLE V_IPV6ENABLE(1U)
21381 #define S_NICMODE 14
21382 #define V_NICMODE(x) ((x) << S_NICMODE)
21383 #define F_NICMODE V_NICMODE(1U)
21385 #define S_ECHECKSUMCHECKTCP 13
21386 #define V_ECHECKSUMCHECKTCP(x) ((x) << S_ECHECKSUMCHECKTCP)
21387 #define F_ECHECKSUMCHECKTCP V_ECHECKSUMCHECKTCP(1U)
21389 #define S_ECHECKSUMCHECKIP 12
21390 #define V_ECHECKSUMCHECKIP(x) ((x) << S_ECHECKSUMCHECKIP)
21391 #define F_ECHECKSUMCHECKIP V_ECHECKSUMCHECKIP(1U)
21393 #define S_EREPORTUDPHDRLEN 11
21394 #define V_EREPORTUDPHDRLEN(x) ((x) << S_EREPORTUDPHDRLEN)
21395 #define F_EREPORTUDPHDRLEN V_EREPORTUDPHDRLEN(1U)
21397 #define S_IN_ECPL 10
21398 #define V_IN_ECPL(x) ((x) << S_IN_ECPL)
21399 #define F_IN_ECPL V_IN_ECPL(1U)
21401 #define S_VNTAGENABLE 9
21402 #define V_VNTAGENABLE(x) ((x) << S_VNTAGENABLE)
21403 #define F_VNTAGENABLE V_VNTAGENABLE(1U)
21405 #define S_IN_EETH 8
21406 #define V_IN_EETH(x) ((x) << S_IN_EETH)
21407 #define F_IN_EETH V_IN_EETH(1U)
21409 #define S_CCHECKSUMCHECKTCP 6
21410 #define V_CCHECKSUMCHECKTCP(x) ((x) << S_CCHECKSUMCHECKTCP)
21411 #define F_CCHECKSUMCHECKTCP V_CCHECKSUMCHECKTCP(1U)
21413 #define S_CCHECKSUMCHECKIP 5
21414 #define V_CCHECKSUMCHECKIP(x) ((x) << S_CCHECKSUMCHECKIP)
21415 #define F_CCHECKSUMCHECKIP V_CCHECKSUMCHECKIP(1U)
21418 #define V_CTAG(x) ((x) << S_CTAG)
21419 #define F_CTAG V_CTAG(1U)
21421 #define S_IN_CCPL 3
21422 #define V_IN_CCPL(x) ((x) << S_IN_CCPL)
21423 #define F_IN_CCPL V_IN_CCPL(1U)
21425 #define S_IN_CETH 1
21426 #define V_IN_CETH(x) ((x) << S_IN_CETH)
21427 #define F_IN_CETH V_IN_CETH(1U)
21429 #define S_CTUNNEL 0
21430 #define V_CTUNNEL(x) ((x) << S_CTUNNEL)
21431 #define F_CTUNNEL V_CTUNNEL(1U)
21433 #define S_VLANEXTENPORT3 31
21434 #define V_VLANEXTENPORT3(x) ((x) << S_VLANEXTENPORT3)
21435 #define F_VLANEXTENPORT3 V_VLANEXTENPORT3(1U)
21437 #define S_VLANEXTENPORT2 30
21438 #define V_VLANEXTENPORT2(x) ((x) << S_VLANEXTENPORT2)
21439 #define F_VLANEXTENPORT2 V_VLANEXTENPORT2(1U)
21441 #define S_VLANEXTENPORT1 29
21442 #define V_VLANEXTENPORT1(x) ((x) << S_VLANEXTENPORT1)
21443 #define F_VLANEXTENPORT1 V_VLANEXTENPORT1(1U)
21445 #define S_VLANEXTENPORT0 28
21446 #define V_VLANEXTENPORT0(x) ((x) << S_VLANEXTENPORT0)
21447 #define F_VLANEXTENPORT0 V_VLANEXTENPORT0(1U)
21449 #define S_VNTAGDEFAULTVAL 13
21450 #define V_VNTAGDEFAULTVAL(x) ((x) << S_VNTAGDEFAULTVAL)
21451 #define F_VNTAGDEFAULTVAL V_VNTAGDEFAULTVAL(1U)
21453 #define S_ECHECKUDPLEN 12
21454 #define V_ECHECKUDPLEN(x) ((x) << S_ECHECKUDPLEN)
21455 #define F_ECHECKUDPLEN V_ECHECKUDPLEN(1U)
21457 #define S_FCOEFPMA 10
21458 #define V_FCOEFPMA(x) ((x) << S_FCOEFPMA)
21459 #define F_FCOEFPMA V_FCOEFPMA(1U)
21461 #define S_VNTAGETHENABLE 8
21462 #define V_VNTAGETHENABLE(x) ((x) << S_VNTAGETHENABLE)
21463 #define F_VNTAGETHENABLE V_VNTAGETHENABLE(1U)
21465 #define S_IP_CCSM 7
21466 #define V_IP_CCSM(x) ((x) << S_IP_CCSM)
21467 #define F_IP_CCSM V_IP_CCSM(1U)
21469 #define S_CCHECKSUMCHECKUDP 6
21470 #define V_CCHECKSUMCHECKUDP(x) ((x) << S_CCHECKSUMCHECKUDP)
21471 #define F_CCHECKSUMCHECKUDP V_CCHECKSUMCHECKUDP(1U)
21473 #define S_TCP_CCSM 5
21474 #define V_TCP_CCSM(x) ((x) << S_TCP_CCSM)
21475 #define F_TCP_CCSM V_TCP_CCSM(1U)
21478 #define V_CDEMUX(x) ((x) << S_CDEMUX)
21479 #define F_CDEMUX V_CDEMUX(1U)
21481 #define S_ETHUPEN 2
21482 #define V_ETHUPEN(x) ((x) << S_ETHUPEN)
21483 #define F_ETHUPEN V_ETHUPEN(1U)
21485 #define S_CXOFFOVERRIDE 3
21486 #define V_CXOFFOVERRIDE(x) ((x) << S_CXOFFOVERRIDE)
21487 #define F_CXOFFOVERRIDE V_CXOFFOVERRIDE(1U)
21489 #define S_EGREDROPEN 1
21490 #define V_EGREDROPEN(x) ((x) << S_EGREDROPEN)
21491 #define F_EGREDROPEN V_EGREDROPEN(1U)
21493 #define S_CFASTDEMUXEN 0
21494 #define V_CFASTDEMUXEN(x) ((x) << S_CFASTDEMUXEN)
21495 #define F_CFASTDEMUXEN V_CFASTDEMUXEN(1U)
21497 #define A_TP_OUT_CONFIG 0x7d04
21499 #define S_PORTQFCEN 28
21500 #define M_PORTQFCEN 0xfU
21501 #define V_PORTQFCEN(x) ((x) << S_PORTQFCEN)
21502 #define G_PORTQFCEN(x) (((x) >> S_PORTQFCEN) & M_PORTQFCEN)
21504 #define S_EPKTDISTCHN3 23
21505 #define V_EPKTDISTCHN3(x) ((x) << S_EPKTDISTCHN3)
21506 #define F_EPKTDISTCHN3 V_EPKTDISTCHN3(1U)
21508 #define S_EPKTDISTCHN2 22
21509 #define V_EPKTDISTCHN2(x) ((x) << S_EPKTDISTCHN2)
21510 #define F_EPKTDISTCHN2 V_EPKTDISTCHN2(1U)
21512 #define S_EPKTDISTCHN1 21
21513 #define V_EPKTDISTCHN1(x) ((x) << S_EPKTDISTCHN1)
21514 #define F_EPKTDISTCHN1 V_EPKTDISTCHN1(1U)
21516 #define S_EPKTDISTCHN0 20
21517 #define V_EPKTDISTCHN0(x) ((x) << S_EPKTDISTCHN0)
21518 #define F_EPKTDISTCHN0 V_EPKTDISTCHN0(1U)
21520 #define S_TTLMODE 19
21521 #define V_TTLMODE(x) ((x) << S_TTLMODE)
21522 #define F_TTLMODE V_TTLMODE(1U)
21524 #define S_EQFCDMAC 18
21525 #define V_EQFCDMAC(x) ((x) << S_EQFCDMAC)
21526 #define F_EQFCDMAC V_EQFCDMAC(1U)
21528 #define S_ELPBKINCMPSSTAT 17
21529 #define V_ELPBKINCMPSSTAT(x) ((x) << S_ELPBKINCMPSSTAT)
21530 #define F_ELPBKINCMPSSTAT V_ELPBKINCMPSSTAT(1U)
21532 #define S_IPIDSPLITMODE 16
21533 #define V_IPIDSPLITMODE(x) ((x) << S_IPIDSPLITMODE)
21534 #define F_IPIDSPLITMODE V_IPIDSPLITMODE(1U)
21536 #define S_VLANEXTENABLEPORT3 15
21537 #define V_VLANEXTENABLEPORT3(x) ((x) << S_VLANEXTENABLEPORT3)
21538 #define F_VLANEXTENABLEPORT3 V_VLANEXTENABLEPORT3(1U)
21540 #define S_VLANEXTENABLEPORT2 14
21541 #define V_VLANEXTENABLEPORT2(x) ((x) << S_VLANEXTENABLEPORT2)
21542 #define F_VLANEXTENABLEPORT2 V_VLANEXTENABLEPORT2(1U)
21544 #define S_VLANEXTENABLEPORT1 13
21545 #define V_VLANEXTENABLEPORT1(x) ((x) << S_VLANEXTENABLEPORT1)
21546 #define F_VLANEXTENABLEPORT1 V_VLANEXTENABLEPORT1(1U)
21548 #define S_VLANEXTENABLEPORT0 12
21549 #define V_VLANEXTENABLEPORT0(x) ((x) << S_VLANEXTENABLEPORT0)
21550 #define F_VLANEXTENABLEPORT0 V_VLANEXTENABLEPORT0(1U)
21552 #define S_ECHECKSUMINSERTTCP 11
21553 #define V_ECHECKSUMINSERTTCP(x) ((x) << S_ECHECKSUMINSERTTCP)
21554 #define F_ECHECKSUMINSERTTCP V_ECHECKSUMINSERTTCP(1U)
21556 #define S_ECHECKSUMINSERTIP 10
21557 #define V_ECHECKSUMINSERTIP(x) ((x) << S_ECHECKSUMINSERTIP)
21558 #define F_ECHECKSUMINSERTIP V_ECHECKSUMINSERTIP(1U)
21561 #define V_ECPL(x) ((x) << S_ECPL)
21562 #define F_ECPL V_ECPL(1U)
21564 #define S_EPRIORITY 7
21565 #define V_EPRIORITY(x) ((x) << S_EPRIORITY)
21566 #define F_EPRIORITY V_EPRIORITY(1U)
21568 #define S_EETHERNET 6
21569 #define V_EETHERNET(x) ((x) << S_EETHERNET)
21570 #define F_EETHERNET V_EETHERNET(1U)
21572 #define S_CCHECKSUMINSERTTCP 5
21573 #define V_CCHECKSUMINSERTTCP(x) ((x) << S_CCHECKSUMINSERTTCP)
21574 #define F_CCHECKSUMINSERTTCP V_CCHECKSUMINSERTTCP(1U)
21576 #define S_CCHECKSUMINSERTIP 4
21577 #define V_CCHECKSUMINSERTIP(x) ((x) << S_CCHECKSUMINSERTIP)
21578 #define F_CCHECKSUMINSERTIP V_CCHECKSUMINSERTIP(1U)
21581 #define V_CCPL(x) ((x) << S_CCPL)
21582 #define F_CCPL V_CCPL(1U)
21584 #define S_CETHERNET 0
21585 #define V_CETHERNET(x) ((x) << S_CETHERNET)
21586 #define F_CETHERNET V_CETHERNET(1U)
21588 #define S_EVNTAGEN 9
21589 #define V_EVNTAGEN(x) ((x) << S_EVNTAGEN)
21590 #define F_EVNTAGEN V_EVNTAGEN(1U)
21592 #define S_CCPLACKMODE 13
21593 #define V_CCPLACKMODE(x) ((x) << S_CCPLACKMODE)
21594 #define F_CCPLACKMODE V_CCPLACKMODE(1U)
21596 #define S_RMWHINTENABLE 12
21597 #define V_RMWHINTENABLE(x) ((x) << S_RMWHINTENABLE)
21598 #define F_RMWHINTENABLE V_RMWHINTENABLE(1U)
21600 #define S_EV6FLWEN 8
21601 #define V_EV6FLWEN(x) ((x) << S_EV6FLWEN)
21602 #define F_EV6FLWEN V_EV6FLWEN(1U)
21604 #define S_EVLANPRIO 6
21605 #define V_EVLANPRIO(x) ((x) << S_EVLANPRIO)
21606 #define F_EVLANPRIO V_EVLANPRIO(1U)
21608 #define S_CRXPKTENC 3
21609 #define V_CRXPKTENC(x) ((x) << S_CRXPKTENC)
21610 #define F_CRXPKTENC V_CRXPKTENC(1U)
21612 #define S_CRXPKTXT 1
21613 #define V_CRXPKTXT(x) ((x) << S_CRXPKTXT)
21614 #define F_CRXPKTXT V_CRXPKTXT(1U)
21616 #define A_TP_GLOBAL_CONFIG 0x7d08
21618 #define S_SYNCOOKIEPARAMS 26
21619 #define M_SYNCOOKIEPARAMS 0x3fU
21620 #define V_SYNCOOKIEPARAMS(x) ((x) << S_SYNCOOKIEPARAMS)
21621 #define G_SYNCOOKIEPARAMS(x) (((x) >> S_SYNCOOKIEPARAMS) & M_SYNCOOKIEPARAMS)
21623 #define S_RXFLOWCONTROLDISABLE 25
21624 #define V_RXFLOWCONTROLDISABLE(x) ((x) << S_RXFLOWCONTROLDISABLE)
21625 #define F_RXFLOWCONTROLDISABLE V_RXFLOWCONTROLDISABLE(1U)
21627 #define S_TXPACINGENABLE 24
21628 #define V_TXPACINGENABLE(x) ((x) << S_TXPACINGENABLE)
21629 #define F_TXPACINGENABLE V_TXPACINGENABLE(1U)
21631 #define S_ATTACKFILTERENABLE 23
21632 #define V_ATTACKFILTERENABLE(x) ((x) << S_ATTACKFILTERENABLE)
21633 #define F_ATTACKFILTERENABLE V_ATTACKFILTERENABLE(1U)
21635 #define S_SYNCOOKIENOOPTIONS 22
21636 #define V_SYNCOOKIENOOPTIONS(x) ((x) << S_SYNCOOKIENOOPTIONS)
21637 #define F_SYNCOOKIENOOPTIONS V_SYNCOOKIENOOPTIONS(1U)
21639 #define S_PROTECTEDMODE 21
21640 #define V_PROTECTEDMODE(x) ((x) << S_PROTECTEDMODE)
21641 #define F_PROTECTEDMODE V_PROTECTEDMODE(1U)
21643 #define S_PINGDROP 20
21644 #define V_PINGDROP(x) ((x) << S_PINGDROP)
21645 #define F_PINGDROP V_PINGDROP(1U)
21647 #define S_FRAGMENTDROP 19
21648 #define V_FRAGMENTDROP(x) ((x) << S_FRAGMENTDROP)
21649 #define F_FRAGMENTDROP V_FRAGMENTDROP(1U)
21651 #define S_FIVETUPLELOOKUP 17
21652 #define M_FIVETUPLELOOKUP 0x3U
21653 #define V_FIVETUPLELOOKUP(x) ((x) << S_FIVETUPLELOOKUP)
21654 #define G_FIVETUPLELOOKUP(x) (((x) >> S_FIVETUPLELOOKUP) & M_FIVETUPLELOOKUP)
21656 #define S_OFDMPSSTATS 16
21657 #define V_OFDMPSSTATS(x) ((x) << S_OFDMPSSTATS)
21658 #define F_OFDMPSSTATS V_OFDMPSSTATS(1U)
21660 #define S_DONTFRAGMENT 15
21661 #define V_DONTFRAGMENT(x) ((x) << S_DONTFRAGMENT)
21662 #define F_DONTFRAGMENT V_DONTFRAGMENT(1U)
21664 #define S_IPIDENTSPLIT 14
21665 #define V_IPIDENTSPLIT(x) ((x) << S_IPIDENTSPLIT)
21666 #define F_IPIDENTSPLIT V_IPIDENTSPLIT(1U)
21668 #define S_IPCHECKSUMOFFLOAD 13
21669 #define V_IPCHECKSUMOFFLOAD(x) ((x) << S_IPCHECKSUMOFFLOAD)
21670 #define F_IPCHECKSUMOFFLOAD V_IPCHECKSUMOFFLOAD(1U)
21672 #define S_UDPCHECKSUMOFFLOAD 12
21673 #define V_UDPCHECKSUMOFFLOAD(x) ((x) << S_UDPCHECKSUMOFFLOAD)
21674 #define F_UDPCHECKSUMOFFLOAD V_UDPCHECKSUMOFFLOAD(1U)
21676 #define S_TCPCHECKSUMOFFLOAD 11
21677 #define V_TCPCHECKSUMOFFLOAD(x) ((x) << S_TCPCHECKSUMOFFLOAD)
21678 #define F_TCPCHECKSUMOFFLOAD V_TCPCHECKSUMOFFLOAD(1U)
21680 #define S_RSSLOOPBACKENABLE 10
21681 #define V_RSSLOOPBACKENABLE(x) ((x) << S_RSSLOOPBACKENABLE)
21682 #define F_RSSLOOPBACKENABLE V_RSSLOOPBACKENABLE(1U)
21684 #define S_TCAMSERVERUSE 8
21685 #define M_TCAMSERVERUSE 0x3U
21686 #define V_TCAMSERVERUSE(x) ((x) << S_TCAMSERVERUSE)
21687 #define G_TCAMSERVERUSE(x) (((x) >> S_TCAMSERVERUSE) & M_TCAMSERVERUSE)
21690 #define M_IPTTL 0xffU
21691 #define V_IPTTL(x) ((x) << S_IPTTL)
21692 #define G_IPTTL(x) (((x) >> S_IPTTL) & M_IPTTL)
21694 #define S_RSSSYNSTEERENABLE 12
21695 #define V_RSSSYNSTEERENABLE(x) ((x) << S_RSSSYNSTEERENABLE)
21696 #define F_RSSSYNSTEERENABLE V_RSSSYNSTEERENABLE(1U)
21698 #define S_ISSFROMCPLENABLE 11
21699 #define V_ISSFROMCPLENABLE(x) ((x) << S_ISSFROMCPLENABLE)
21700 #define F_ISSFROMCPLENABLE V_ISSFROMCPLENABLE(1U)
21702 #define S_ACTIVEFILTERCOUNTS 22
21703 #define V_ACTIVEFILTERCOUNTS(x) ((x) << S_ACTIVEFILTERCOUNTS)
21704 #define F_ACTIVEFILTERCOUNTS V_ACTIVEFILTERCOUNTS(1U)
21706 #define A_TP_DB_CONFIG 0x7d0c
21708 #define S_DBMAXOPCNT 24
21709 #define M_DBMAXOPCNT 0xffU
21710 #define V_DBMAXOPCNT(x) ((x) << S_DBMAXOPCNT)
21711 #define G_DBMAXOPCNT(x) (((x) >> S_DBMAXOPCNT) & M_DBMAXOPCNT)
21713 #define S_CXMAXOPCNTDISABLE 23
21714 #define V_CXMAXOPCNTDISABLE(x) ((x) << S_CXMAXOPCNTDISABLE)
21715 #define F_CXMAXOPCNTDISABLE V_CXMAXOPCNTDISABLE(1U)
21717 #define S_CXMAXOPCNT 16
21718 #define M_CXMAXOPCNT 0x7fU
21719 #define V_CXMAXOPCNT(x) ((x) << S_CXMAXOPCNT)
21720 #define G_CXMAXOPCNT(x) (((x) >> S_CXMAXOPCNT) & M_CXMAXOPCNT)
21722 #define S_TXMAXOPCNTDISABLE 15
21723 #define V_TXMAXOPCNTDISABLE(x) ((x) << S_TXMAXOPCNTDISABLE)
21724 #define F_TXMAXOPCNTDISABLE V_TXMAXOPCNTDISABLE(1U)
21726 #define S_TXMAXOPCNT 8
21727 #define M_TXMAXOPCNT 0x7fU
21728 #define V_TXMAXOPCNT(x) ((x) << S_TXMAXOPCNT)
21729 #define G_TXMAXOPCNT(x) (((x) >> S_TXMAXOPCNT) & M_TXMAXOPCNT)
21731 #define S_RXMAXOPCNTDISABLE 7
21732 #define V_RXMAXOPCNTDISABLE(x) ((x) << S_RXMAXOPCNTDISABLE)
21733 #define F_RXMAXOPCNTDISABLE V_RXMAXOPCNTDISABLE(1U)
21735 #define S_RXMAXOPCNT 0
21736 #define M_RXMAXOPCNT 0x7fU
21737 #define V_RXMAXOPCNT(x) ((x) << S_RXMAXOPCNT)
21738 #define G_RXMAXOPCNT(x) (((x) >> S_RXMAXOPCNT) & M_RXMAXOPCNT)
21740 #define A_TP_CMM_TCB_BASE 0x7d10
21741 #define A_TP_CMM_MM_BASE 0x7d14
21742 #define A_TP_CMM_TIMER_BASE 0x7d18
21743 #define A_TP_CMM_MM_FLST_SIZE 0x7d1c
21745 #define S_RXPOOLSIZE 16
21746 #define M_RXPOOLSIZE 0xffffU
21747 #define V_RXPOOLSIZE(x) ((x) << S_RXPOOLSIZE)
21748 #define G_RXPOOLSIZE(x) (((x) >> S_RXPOOLSIZE) & M_RXPOOLSIZE)
21750 #define S_TXPOOLSIZE 0
21751 #define M_TXPOOLSIZE 0xffffU
21752 #define V_TXPOOLSIZE(x) ((x) << S_TXPOOLSIZE)
21753 #define G_TXPOOLSIZE(x) (((x) >> S_TXPOOLSIZE) & M_TXPOOLSIZE)
21755 #define A_TP_PMM_TX_BASE 0x7d20
21756 #define A_TP_PMM_DEFRAG_BASE 0x7d24
21757 #define A_TP_PMM_RX_BASE 0x7d28
21758 #define A_TP_PMM_RX_PAGE_SIZE 0x7d2c
21759 #define A_TP_PMM_RX_MAX_PAGE 0x7d30
21761 #define S_PMRXNUMCHN 31
21762 #define V_PMRXNUMCHN(x) ((x) << S_PMRXNUMCHN)
21763 #define F_PMRXNUMCHN V_PMRXNUMCHN(1U)
21765 #define S_PMRXMAXPAGE 0
21766 #define M_PMRXMAXPAGE 0x1fffffU
21767 #define V_PMRXMAXPAGE(x) ((x) << S_PMRXMAXPAGE)
21768 #define G_PMRXMAXPAGE(x) (((x) >> S_PMRXMAXPAGE) & M_PMRXMAXPAGE)
21770 #define A_TP_PMM_TX_PAGE_SIZE 0x7d34
21771 #define A_TP_PMM_TX_MAX_PAGE 0x7d38
21773 #define S_PMTXNUMCHN 30
21774 #define M_PMTXNUMCHN 0x3U
21775 #define V_PMTXNUMCHN(x) ((x) << S_PMTXNUMCHN)
21776 #define G_PMTXNUMCHN(x) (((x) >> S_PMTXNUMCHN) & M_PMTXNUMCHN)
21778 #define S_PMTXMAXPAGE 0
21779 #define M_PMTXMAXPAGE 0x1fffffU
21780 #define V_PMTXMAXPAGE(x) ((x) << S_PMTXMAXPAGE)
21781 #define G_PMTXMAXPAGE(x) (((x) >> S_PMTXMAXPAGE) & M_PMTXMAXPAGE)
21783 #define A_TP_TCP_OPTIONS 0x7d40
21785 #define S_MTUDEFAULT 16
21786 #define M_MTUDEFAULT 0xffffU
21787 #define V_MTUDEFAULT(x) ((x) << S_MTUDEFAULT)
21788 #define G_MTUDEFAULT(x) (((x) >> S_MTUDEFAULT) & M_MTUDEFAULT)
21790 #define S_MTUENABLE 10
21791 #define V_MTUENABLE(x) ((x) << S_MTUENABLE)
21792 #define F_MTUENABLE V_MTUENABLE(1U)
21795 #define V_SACKTX(x) ((x) << S_SACKTX)
21796 #define F_SACKTX V_SACKTX(1U)
21799 #define V_SACKRX(x) ((x) << S_SACKRX)
21800 #define F_SACKRX V_SACKRX(1U)
21802 #define S_SACKMODE 4
21803 #define M_SACKMODE 0x3U
21804 #define V_SACKMODE(x) ((x) << S_SACKMODE)
21805 #define G_SACKMODE(x) (((x) >> S_SACKMODE) & M_SACKMODE)
21807 #define S_WINDOWSCALEMODE 2
21808 #define M_WINDOWSCALEMODE 0x3U
21809 #define V_WINDOWSCALEMODE(x) ((x) << S_WINDOWSCALEMODE)
21810 #define G_WINDOWSCALEMODE(x) (((x) >> S_WINDOWSCALEMODE) & M_WINDOWSCALEMODE)
21812 #define S_TIMESTAMPSMODE 0
21813 #define M_TIMESTAMPSMODE 0x3U
21814 #define V_TIMESTAMPSMODE(x) ((x) << S_TIMESTAMPSMODE)
21815 #define G_TIMESTAMPSMODE(x) (((x) >> S_TIMESTAMPSMODE) & M_TIMESTAMPSMODE)
21817 #define A_TP_DACK_CONFIG 0x7d44
21819 #define S_AUTOSTATE3 30
21820 #define M_AUTOSTATE3 0x3U
21821 #define V_AUTOSTATE3(x) ((x) << S_AUTOSTATE3)
21822 #define G_AUTOSTATE3(x) (((x) >> S_AUTOSTATE3) & M_AUTOSTATE3)
21824 #define S_AUTOSTATE2 28
21825 #define M_AUTOSTATE2 0x3U
21826 #define V_AUTOSTATE2(x) ((x) << S_AUTOSTATE2)
21827 #define G_AUTOSTATE2(x) (((x) >> S_AUTOSTATE2) & M_AUTOSTATE2)
21829 #define S_AUTOSTATE1 26
21830 #define M_AUTOSTATE1 0x3U
21831 #define V_AUTOSTATE1(x) ((x) << S_AUTOSTATE1)
21832 #define G_AUTOSTATE1(x) (((x) >> S_AUTOSTATE1) & M_AUTOSTATE1)
21834 #define S_BYTETHRESHOLD 8
21835 #define M_BYTETHRESHOLD 0x3ffffU
21836 #define V_BYTETHRESHOLD(x) ((x) << S_BYTETHRESHOLD)
21837 #define G_BYTETHRESHOLD(x) (((x) >> S_BYTETHRESHOLD) & M_BYTETHRESHOLD)
21839 #define S_MSSTHRESHOLD 4
21840 #define M_MSSTHRESHOLD 0x7U
21841 #define V_MSSTHRESHOLD(x) ((x) << S_MSSTHRESHOLD)
21842 #define G_MSSTHRESHOLD(x) (((x) >> S_MSSTHRESHOLD) & M_MSSTHRESHOLD)
21844 #define S_AUTOCAREFUL 2
21845 #define V_AUTOCAREFUL(x) ((x) << S_AUTOCAREFUL)
21846 #define F_AUTOCAREFUL V_AUTOCAREFUL(1U)
21848 #define S_AUTOENABLE 1
21849 #define V_AUTOENABLE(x) ((x) << S_AUTOENABLE)
21850 #define F_AUTOENABLE V_AUTOENABLE(1U)
21853 #define V_MODE(x) ((x) << S_MODE)
21854 #define F_MODE V_MODE(1U)
21856 #define A_TP_PC_CONFIG 0x7d48
21858 #define S_CMCACHEDISABLE 31
21859 #define V_CMCACHEDISABLE(x) ((x) << S_CMCACHEDISABLE)
21860 #define F_CMCACHEDISABLE V_CMCACHEDISABLE(1U)
21862 #define S_ENABLEOCSPIFULL 30
21863 #define V_ENABLEOCSPIFULL(x) ((x) << S_ENABLEOCSPIFULL)
21864 #define F_ENABLEOCSPIFULL V_ENABLEOCSPIFULL(1U)
21866 #define S_ENABLEFLMERRORDDP 29
21867 #define V_ENABLEFLMERRORDDP(x) ((x) << S_ENABLEFLMERRORDDP)
21868 #define F_ENABLEFLMERRORDDP V_ENABLEFLMERRORDDP(1U)
21870 #define S_LOCKTID 28
21871 #define V_LOCKTID(x) ((x) << S_LOCKTID)
21872 #define F_LOCKTID V_LOCKTID(1U)
21874 #define S_DISABLEINVPEND 27
21875 #define V_DISABLEINVPEND(x) ((x) << S_DISABLEINVPEND)
21876 #define F_DISABLEINVPEND V_DISABLEINVPEND(1U)
21878 #define S_ENABLEFILTERCOUNT 26
21879 #define V_ENABLEFILTERCOUNT(x) ((x) << S_ENABLEFILTERCOUNT)
21880 #define F_ENABLEFILTERCOUNT V_ENABLEFILTERCOUNT(1U)
21882 #define S_RDDPCONGEN 25
21883 #define V_RDDPCONGEN(x) ((x) << S_RDDPCONGEN)
21884 #define F_RDDPCONGEN V_RDDPCONGEN(1U)
21886 #define S_ENABLEONFLYPDU 24
21887 #define V_ENABLEONFLYPDU(x) ((x) << S_ENABLEONFLYPDU)
21888 #define F_ENABLEONFLYPDU V_ENABLEONFLYPDU(1U)
21890 #define S_ENABLEMINRCVWND 23
21891 #define V_ENABLEMINRCVWND(x) ((x) << S_ENABLEMINRCVWND)
21892 #define F_ENABLEMINRCVWND V_ENABLEMINRCVWND(1U)
21894 #define S_ENABLEMAXRCVWND 22
21895 #define V_ENABLEMAXRCVWND(x) ((x) << S_ENABLEMAXRCVWND)
21896 #define F_ENABLEMAXRCVWND V_ENABLEMAXRCVWND(1U)
21898 #define S_TXDATAACKRATEENABLE 21
21899 #define V_TXDATAACKRATEENABLE(x) ((x) << S_TXDATAACKRATEENABLE)
21900 #define F_TXDATAACKRATEENABLE V_TXDATAACKRATEENABLE(1U)
21902 #define S_TXDEFERENABLE 20
21903 #define V_TXDEFERENABLE(x) ((x) << S_TXDEFERENABLE)
21904 #define F_TXDEFERENABLE V_TXDEFERENABLE(1U)
21906 #define S_RXCONGESTIONMODE 19
21907 #define V_RXCONGESTIONMODE(x) ((x) << S_RXCONGESTIONMODE)
21908 #define F_RXCONGESTIONMODE V_RXCONGESTIONMODE(1U)
21910 #define S_HEARBEATONCEDACK 18
21911 #define V_HEARBEATONCEDACK(x) ((x) << S_HEARBEATONCEDACK)
21912 #define F_HEARBEATONCEDACK V_HEARBEATONCEDACK(1U)
21914 #define S_HEARBEATONCEHEAP 17
21915 #define V_HEARBEATONCEHEAP(x) ((x) << S_HEARBEATONCEHEAP)
21916 #define F_HEARBEATONCEHEAP V_HEARBEATONCEHEAP(1U)
21918 #define S_HEARBEATDACK 16
21919 #define V_HEARBEATDACK(x) ((x) << S_HEARBEATDACK)
21920 #define F_HEARBEATDACK V_HEARBEATDACK(1U)
21922 #define S_TXCONGESTIONMODE 15
21923 #define V_TXCONGESTIONMODE(x) ((x) << S_TXCONGESTIONMODE)
21924 #define F_TXCONGESTIONMODE V_TXCONGESTIONMODE(1U)
21926 #define S_ACCEPTLATESTRCVADV 14
21927 #define V_ACCEPTLATESTRCVADV(x) ((x) << S_ACCEPTLATESTRCVADV)
21928 #define F_ACCEPTLATESTRCVADV V_ACCEPTLATESTRCVADV(1U)
21930 #define S_DISABLESYNDATA 13
21931 #define V_DISABLESYNDATA(x) ((x) << S_DISABLESYNDATA)
21932 #define F_DISABLESYNDATA V_DISABLESYNDATA(1U)
21934 #define S_DISABLEWINDOWPSH 12
21935 #define V_DISABLEWINDOWPSH(x) ((x) << S_DISABLEWINDOWPSH)
21936 #define F_DISABLEWINDOWPSH V_DISABLEWINDOWPSH(1U)
21938 #define S_DISABLEFINOLDDATA 11
21939 #define V_DISABLEFINOLDDATA(x) ((x) << S_DISABLEFINOLDDATA)
21940 #define F_DISABLEFINOLDDATA V_DISABLEFINOLDDATA(1U)
21942 #define S_ENABLEFLMERROR 10
21943 #define V_ENABLEFLMERROR(x) ((x) << S_ENABLEFLMERROR)
21944 #define F_ENABLEFLMERROR V_ENABLEFLMERROR(1U)
21946 #define S_ENABLEOPTMTU 9
21947 #define V_ENABLEOPTMTU(x) ((x) << S_ENABLEOPTMTU)
21948 #define F_ENABLEOPTMTU V_ENABLEOPTMTU(1U)
21950 #define S_FILTERPEERFIN 8
21951 #define V_FILTERPEERFIN(x) ((x) << S_FILTERPEERFIN)
21952 #define F_FILTERPEERFIN V_FILTERPEERFIN(1U)
21954 #define S_ENABLEFEEDBACKSEND 7
21955 #define V_ENABLEFEEDBACKSEND(x) ((x) << S_ENABLEFEEDBACKSEND)
21956 #define F_ENABLEFEEDBACKSEND V_ENABLEFEEDBACKSEND(1U)
21958 #define S_ENABLERDMAERROR 6
21959 #define V_ENABLERDMAERROR(x) ((x) << S_ENABLERDMAERROR)
21960 #define F_ENABLERDMAERROR V_ENABLERDMAERROR(1U)
21962 #define S_ENABLEDDPFLOWCONTROL 5
21963 #define V_ENABLEDDPFLOWCONTROL(x) ((x) << S_ENABLEDDPFLOWCONTROL)
21964 #define F_ENABLEDDPFLOWCONTROL V_ENABLEDDPFLOWCONTROL(1U)
21966 #define S_DISABLEHELDFIN 4
21967 #define V_DISABLEHELDFIN(x) ((x) << S_DISABLEHELDFIN)
21968 #define F_DISABLEHELDFIN V_DISABLEHELDFIN(1U)
21970 #define S_ENABLEOFDOVLAN 3
21971 #define V_ENABLEOFDOVLAN(x) ((x) << S_ENABLEOFDOVLAN)
21972 #define F_ENABLEOFDOVLAN V_ENABLEOFDOVLAN(1U)
21974 #define S_DISABLETIMEWAIT 2
21975 #define V_DISABLETIMEWAIT(x) ((x) << S_DISABLETIMEWAIT)
21976 #define F_DISABLETIMEWAIT V_DISABLETIMEWAIT(1U)
21978 #define S_ENABLEVLANCHECK 1
21979 #define V_ENABLEVLANCHECK(x) ((x) << S_ENABLEVLANCHECK)
21980 #define F_ENABLEVLANCHECK V_ENABLEVLANCHECK(1U)
21982 #define S_TXDATAACKPAGEENABLE 0
21983 #define V_TXDATAACKPAGEENABLE(x) ((x) << S_TXDATAACKPAGEENABLE)
21984 #define F_TXDATAACKPAGEENABLE V_TXDATAACKPAGEENABLE(1U)
21986 #define S_ENABLEFILTERNAT 5
21987 #define V_ENABLEFILTERNAT(x) ((x) << S_ENABLEFILTERNAT)
21988 #define F_ENABLEFILTERNAT V_ENABLEFILTERNAT(1U)
21990 #define S_ENABLEFINCHECK 31
21991 #define V_ENABLEFINCHECK(x) ((x) << S_ENABLEFINCHECK)
21992 #define F_ENABLEFINCHECK V_ENABLEFINCHECK(1U)
21994 #define S_ENABLEMIBVFPLD 21
21995 #define V_ENABLEMIBVFPLD(x) ((x) << S_ENABLEMIBVFPLD)
21996 #define F_ENABLEMIBVFPLD V_ENABLEMIBVFPLD(1U)
21998 #define S_DISABLESEPPSHFLAG 4
21999 #define V_DISABLESEPPSHFLAG(x) ((x) << S_DISABLESEPPSHFLAG)
22000 #define F_DISABLESEPPSHFLAG V_DISABLESEPPSHFLAG(1U)
22002 #define A_TP_PC_CONFIG2 0x7d4c
22004 #define S_ENABLEMTUVFMODE 31
22005 #define V_ENABLEMTUVFMODE(x) ((x) << S_ENABLEMTUVFMODE)
22006 #define F_ENABLEMTUVFMODE V_ENABLEMTUVFMODE(1U)
22008 #define S_ENABLEMIBVFMODE 30
22009 #define V_ENABLEMIBVFMODE(x) ((x) << S_ENABLEMIBVFMODE)
22010 #define F_ENABLEMIBVFMODE V_ENABLEMIBVFMODE(1U)
22012 #define S_DISABLELBKCHECK 29
22013 #define V_DISABLELBKCHECK(x) ((x) << S_DISABLELBKCHECK)
22014 #define F_DISABLELBKCHECK V_DISABLELBKCHECK(1U)
22016 #define S_ENABLEURGDDPOFF 28
22017 #define V_ENABLEURGDDPOFF(x) ((x) << S_ENABLEURGDDPOFF)
22018 #define F_ENABLEURGDDPOFF V_ENABLEURGDDPOFF(1U)
22020 #define S_ENABLEFILTERLPBK 27
22021 #define V_ENABLEFILTERLPBK(x) ((x) << S_ENABLEFILTERLPBK)
22022 #define F_ENABLEFILTERLPBK V_ENABLEFILTERLPBK(1U)
22024 #define S_DISABLETBLMMGR 26
22025 #define V_DISABLETBLMMGR(x) ((x) << S_DISABLETBLMMGR)
22026 #define F_DISABLETBLMMGR V_DISABLETBLMMGR(1U)
22028 #define S_CNGRECSNDNXT 25
22029 #define V_CNGRECSNDNXT(x) ((x) << S_CNGRECSNDNXT)
22030 #define F_CNGRECSNDNXT V_CNGRECSNDNXT(1U)
22032 #define S_ENABLELBKCHN 24
22033 #define V_ENABLELBKCHN(x) ((x) << S_ENABLELBKCHN)
22034 #define F_ENABLELBKCHN V_ENABLELBKCHN(1U)
22036 #define S_ENABLELROECN 23
22037 #define V_ENABLELROECN(x) ((x) << S_ENABLELROECN)
22038 #define F_ENABLELROECN V_ENABLELROECN(1U)
22040 #define S_ENABLEPCMDCHECK 22
22041 #define V_ENABLEPCMDCHECK(x) ((x) << S_ENABLEPCMDCHECK)
22042 #define F_ENABLEPCMDCHECK V_ENABLEPCMDCHECK(1U)
22044 #define S_ENABLEELBKAFULL 21
22045 #define V_ENABLEELBKAFULL(x) ((x) << S_ENABLEELBKAFULL)
22046 #define F_ENABLEELBKAFULL V_ENABLEELBKAFULL(1U)
22048 #define S_ENABLECLBKAFULL 20
22049 #define V_ENABLECLBKAFULL(x) ((x) << S_ENABLECLBKAFULL)
22050 #define F_ENABLECLBKAFULL V_ENABLECLBKAFULL(1U)
22052 #define S_ENABLEOESPIFULL 19
22053 #define V_ENABLEOESPIFULL(x) ((x) << S_ENABLEOESPIFULL)
22054 #define F_ENABLEOESPIFULL V_ENABLEOESPIFULL(1U)
22056 #define S_DISABLEHITCHECK 18
22057 #define V_DISABLEHITCHECK(x) ((x) << S_DISABLEHITCHECK)
22058 #define F_DISABLEHITCHECK V_DISABLEHITCHECK(1U)
22060 #define S_ENABLERSSERRCHECK 17
22061 #define V_ENABLERSSERRCHECK(x) ((x) << S_ENABLERSSERRCHECK)
22062 #define F_ENABLERSSERRCHECK V_ENABLERSSERRCHECK(1U)
22064 #define S_DISABLENEWPSHFLAG 16
22065 #define V_DISABLENEWPSHFLAG(x) ((x) << S_DISABLENEWPSHFLAG)
22066 #define F_DISABLENEWPSHFLAG V_DISABLENEWPSHFLAG(1U)
22068 #define S_ENABLERDDPRCVADVCLR 15
22069 #define V_ENABLERDDPRCVADVCLR(x) ((x) << S_ENABLERDDPRCVADVCLR)
22070 #define F_ENABLERDDPRCVADVCLR V_ENABLERDDPRCVADVCLR(1U)
22072 #define S_ENABLETXDATAARPMISS 14
22073 #define V_ENABLETXDATAARPMISS(x) ((x) << S_ENABLETXDATAARPMISS)
22074 #define F_ENABLETXDATAARPMISS V_ENABLETXDATAARPMISS(1U)
22076 #define S_ENABLEARPMISS 13
22077 #define V_ENABLEARPMISS(x) ((x) << S_ENABLEARPMISS)
22078 #define F_ENABLEARPMISS V_ENABLEARPMISS(1U)
22080 #define S_ENABLERSTPAWS 12
22081 #define V_ENABLERSTPAWS(x) ((x) << S_ENABLERSTPAWS)
22082 #define F_ENABLERSTPAWS V_ENABLERSTPAWS(1U)
22084 #define S_ENABLEIPV6RSS 11
22085 #define V_ENABLEIPV6RSS(x) ((x) << S_ENABLEIPV6RSS)
22086 #define F_ENABLEIPV6RSS V_ENABLEIPV6RSS(1U)
22088 #define S_ENABLENONOFDHYBRSS 10
22089 #define V_ENABLENONOFDHYBRSS(x) ((x) << S_ENABLENONOFDHYBRSS)
22090 #define F_ENABLENONOFDHYBRSS V_ENABLENONOFDHYBRSS(1U)
22092 #define S_ENABLEUDP4TUPRSS 9
22093 #define V_ENABLEUDP4TUPRSS(x) ((x) << S_ENABLEUDP4TUPRSS)
22094 #define F_ENABLEUDP4TUPRSS V_ENABLEUDP4TUPRSS(1U)
22096 #define S_ENABLERXPKTTMSTPRSS 8
22097 #define V_ENABLERXPKTTMSTPRSS(x) ((x) << S_ENABLERXPKTTMSTPRSS)
22098 #define F_ENABLERXPKTTMSTPRSS V_ENABLERXPKTTMSTPRSS(1U)
22100 #define S_ENABLEEPCMDAFULL 7
22101 #define V_ENABLEEPCMDAFULL(x) ((x) << S_ENABLEEPCMDAFULL)
22102 #define F_ENABLEEPCMDAFULL V_ENABLEEPCMDAFULL(1U)
22104 #define S_ENABLECPCMDAFULL 6
22105 #define V_ENABLECPCMDAFULL(x) ((x) << S_ENABLECPCMDAFULL)
22106 #define F_ENABLECPCMDAFULL V_ENABLECPCMDAFULL(1U)
22108 #define S_ENABLEEHDRAFULL 5
22109 #define V_ENABLEEHDRAFULL(x) ((x) << S_ENABLEEHDRAFULL)
22110 #define F_ENABLEEHDRAFULL V_ENABLEEHDRAFULL(1U)
22112 #define S_ENABLECHDRAFULL 4
22113 #define V_ENABLECHDRAFULL(x) ((x) << S_ENABLECHDRAFULL)
22114 #define F_ENABLECHDRAFULL V_ENABLECHDRAFULL(1U)
22116 #define S_ENABLEEMACAFULL 3
22117 #define V_ENABLEEMACAFULL(x) ((x) << S_ENABLEEMACAFULL)
22118 #define F_ENABLEEMACAFULL V_ENABLEEMACAFULL(1U)
22120 #define S_ENABLENONOFDTIDRSS 2
22121 #define V_ENABLENONOFDTIDRSS(x) ((x) << S_ENABLENONOFDTIDRSS)
22122 #define F_ENABLENONOFDTIDRSS V_ENABLENONOFDTIDRSS(1U)
22124 #define S_ENABLENONOFDTCBRSS 1
22125 #define V_ENABLENONOFDTCBRSS(x) ((x) << S_ENABLENONOFDTCBRSS)
22126 #define F_ENABLENONOFDTCBRSS V_ENABLENONOFDTCBRSS(1U)
22128 #define S_ENABLETNLOFDCLOSED 0
22129 #define V_ENABLETNLOFDCLOSED(x) ((x) << S_ENABLETNLOFDCLOSED)
22130 #define F_ENABLETNLOFDCLOSED V_ENABLETNLOFDCLOSED(1U)
22132 #define S_ENABLEFINDDPOFF 14
22133 #define V_ENABLEFINDDPOFF(x) ((x) << S_ENABLEFINDDPOFF)
22134 #define F_ENABLEFINDDPOFF V_ENABLEFINDDPOFF(1U)
22136 #define A_TP_TCP_BACKOFF_REG0 0x7d50
22138 #define S_TIMERBACKOFFINDEX3 24
22139 #define M_TIMERBACKOFFINDEX3 0xffU
22140 #define V_TIMERBACKOFFINDEX3(x) ((x) << S_TIMERBACKOFFINDEX3)
22141 #define G_TIMERBACKOFFINDEX3(x) (((x) >> S_TIMERBACKOFFINDEX3) & M_TIMERBACKOFFINDEX3)
22143 #define S_TIMERBACKOFFINDEX2 16
22144 #define M_TIMERBACKOFFINDEX2 0xffU
22145 #define V_TIMERBACKOFFINDEX2(x) ((x) << S_TIMERBACKOFFINDEX2)
22146 #define G_TIMERBACKOFFINDEX2(x) (((x) >> S_TIMERBACKOFFINDEX2) & M_TIMERBACKOFFINDEX2)
22148 #define S_TIMERBACKOFFINDEX1 8
22149 #define M_TIMERBACKOFFINDEX1 0xffU
22150 #define V_TIMERBACKOFFINDEX1(x) ((x) << S_TIMERBACKOFFINDEX1)
22151 #define G_TIMERBACKOFFINDEX1(x) (((x) >> S_TIMERBACKOFFINDEX1) & M_TIMERBACKOFFINDEX1)
22153 #define S_TIMERBACKOFFINDEX0 0
22154 #define M_TIMERBACKOFFINDEX0 0xffU
22155 #define V_TIMERBACKOFFINDEX0(x) ((x) << S_TIMERBACKOFFINDEX0)
22156 #define G_TIMERBACKOFFINDEX0(x) (((x) >> S_TIMERBACKOFFINDEX0) & M_TIMERBACKOFFINDEX0)
22158 #define A_TP_TCP_BACKOFF_REG1 0x7d54
22160 #define S_TIMERBACKOFFINDEX7 24
22161 #define M_TIMERBACKOFFINDEX7 0xffU
22162 #define V_TIMERBACKOFFINDEX7(x) ((x) << S_TIMERBACKOFFINDEX7)
22163 #define G_TIMERBACKOFFINDEX7(x) (((x) >> S_TIMERBACKOFFINDEX7) & M_TIMERBACKOFFINDEX7)
22165 #define S_TIMERBACKOFFINDEX6 16
22166 #define M_TIMERBACKOFFINDEX6 0xffU
22167 #define V_TIMERBACKOFFINDEX6(x) ((x) << S_TIMERBACKOFFINDEX6)
22168 #define G_TIMERBACKOFFINDEX6(x) (((x) >> S_TIMERBACKOFFINDEX6) & M_TIMERBACKOFFINDEX6)
22170 #define S_TIMERBACKOFFINDEX5 8
22171 #define M_TIMERBACKOFFINDEX5 0xffU
22172 #define V_TIMERBACKOFFINDEX5(x) ((x) << S_TIMERBACKOFFINDEX5)
22173 #define G_TIMERBACKOFFINDEX5(x) (((x) >> S_TIMERBACKOFFINDEX5) & M_TIMERBACKOFFINDEX5)
22175 #define S_TIMERBACKOFFINDEX4 0
22176 #define M_TIMERBACKOFFINDEX4 0xffU
22177 #define V_TIMERBACKOFFINDEX4(x) ((x) << S_TIMERBACKOFFINDEX4)
22178 #define G_TIMERBACKOFFINDEX4(x) (((x) >> S_TIMERBACKOFFINDEX4) & M_TIMERBACKOFFINDEX4)
22180 #define A_TP_TCP_BACKOFF_REG2 0x7d58
22182 #define S_TIMERBACKOFFINDEX11 24
22183 #define M_TIMERBACKOFFINDEX11 0xffU
22184 #define V_TIMERBACKOFFINDEX11(x) ((x) << S_TIMERBACKOFFINDEX11)
22185 #define G_TIMERBACKOFFINDEX11(x) (((x) >> S_TIMERBACKOFFINDEX11) & M_TIMERBACKOFFINDEX11)
22187 #define S_TIMERBACKOFFINDEX10 16
22188 #define M_TIMERBACKOFFINDEX10 0xffU
22189 #define V_TIMERBACKOFFINDEX10(x) ((x) << S_TIMERBACKOFFINDEX10)
22190 #define G_TIMERBACKOFFINDEX10(x) (((x) >> S_TIMERBACKOFFINDEX10) & M_TIMERBACKOFFINDEX10)
22192 #define S_TIMERBACKOFFINDEX9 8
22193 #define M_TIMERBACKOFFINDEX9 0xffU
22194 #define V_TIMERBACKOFFINDEX9(x) ((x) << S_TIMERBACKOFFINDEX9)
22195 #define G_TIMERBACKOFFINDEX9(x) (((x) >> S_TIMERBACKOFFINDEX9) & M_TIMERBACKOFFINDEX9)
22197 #define S_TIMERBACKOFFINDEX8 0
22198 #define M_TIMERBACKOFFINDEX8 0xffU
22199 #define V_TIMERBACKOFFINDEX8(x) ((x) << S_TIMERBACKOFFINDEX8)
22200 #define G_TIMERBACKOFFINDEX8(x) (((x) >> S_TIMERBACKOFFINDEX8) & M_TIMERBACKOFFINDEX8)
22202 #define A_TP_TCP_BACKOFF_REG3 0x7d5c
22204 #define S_TIMERBACKOFFINDEX15 24
22205 #define M_TIMERBACKOFFINDEX15 0xffU
22206 #define V_TIMERBACKOFFINDEX15(x) ((x) << S_TIMERBACKOFFINDEX15)
22207 #define G_TIMERBACKOFFINDEX15(x) (((x) >> S_TIMERBACKOFFINDEX15) & M_TIMERBACKOFFINDEX15)
22209 #define S_TIMERBACKOFFINDEX14 16
22210 #define M_TIMERBACKOFFINDEX14 0xffU
22211 #define V_TIMERBACKOFFINDEX14(x) ((x) << S_TIMERBACKOFFINDEX14)
22212 #define G_TIMERBACKOFFINDEX14(x) (((x) >> S_TIMERBACKOFFINDEX14) & M_TIMERBACKOFFINDEX14)
22214 #define S_TIMERBACKOFFINDEX13 8
22215 #define M_TIMERBACKOFFINDEX13 0xffU
22216 #define V_TIMERBACKOFFINDEX13(x) ((x) << S_TIMERBACKOFFINDEX13)
22217 #define G_TIMERBACKOFFINDEX13(x) (((x) >> S_TIMERBACKOFFINDEX13) & M_TIMERBACKOFFINDEX13)
22219 #define S_TIMERBACKOFFINDEX12 0
22220 #define M_TIMERBACKOFFINDEX12 0xffU
22221 #define V_TIMERBACKOFFINDEX12(x) ((x) << S_TIMERBACKOFFINDEX12)
22222 #define G_TIMERBACKOFFINDEX12(x) (((x) >> S_TIMERBACKOFFINDEX12) & M_TIMERBACKOFFINDEX12)
22224 #define A_TP_PARA_REG0 0x7d60
22226 #define S_INITCWNDIDLE 27
22227 #define V_INITCWNDIDLE(x) ((x) << S_INITCWNDIDLE)
22228 #define F_INITCWNDIDLE V_INITCWNDIDLE(1U)
22230 #define S_INITCWND 24
22231 #define M_INITCWND 0x7U
22232 #define V_INITCWND(x) ((x) << S_INITCWND)
22233 #define G_INITCWND(x) (((x) >> S_INITCWND) & M_INITCWND)
22235 #define S_DUPACKTHRESH 20
22236 #define M_DUPACKTHRESH 0xfU
22237 #define V_DUPACKTHRESH(x) ((x) << S_DUPACKTHRESH)
22238 #define G_DUPACKTHRESH(x) (((x) >> S_DUPACKTHRESH) & M_DUPACKTHRESH)
22240 #define S_CPLERRENABLE 12
22241 #define V_CPLERRENABLE(x) ((x) << S_CPLERRENABLE)
22242 #define F_CPLERRENABLE V_CPLERRENABLE(1U)
22244 #define S_FASTTNLCNT 11
22245 #define V_FASTTNLCNT(x) ((x) << S_FASTTNLCNT)
22246 #define F_FASTTNLCNT V_FASTTNLCNT(1U)
22248 #define S_FASTTBLCNT 10
22249 #define V_FASTTBLCNT(x) ((x) << S_FASTTBLCNT)
22250 #define F_FASTTBLCNT V_FASTTBLCNT(1U)
22252 #define S_TPTCAMKEY 9
22253 #define V_TPTCAMKEY(x) ((x) << S_TPTCAMKEY)
22254 #define F_TPTCAMKEY V_TPTCAMKEY(1U)
22256 #define S_SWSMODE 8
22257 #define V_SWSMODE(x) ((x) << S_SWSMODE)
22258 #define F_SWSMODE V_SWSMODE(1U)
22260 #define S_TSMPMODE 6
22261 #define M_TSMPMODE 0x3U
22262 #define V_TSMPMODE(x) ((x) << S_TSMPMODE)
22263 #define G_TSMPMODE(x) (((x) >> S_TSMPMODE) & M_TSMPMODE)
22265 #define S_BYTECOUNTLIMIT 4
22266 #define M_BYTECOUNTLIMIT 0x3U
22267 #define V_BYTECOUNTLIMIT(x) ((x) << S_BYTECOUNTLIMIT)
22268 #define G_BYTECOUNTLIMIT(x) (((x) >> S_BYTECOUNTLIMIT) & M_BYTECOUNTLIMIT)
22270 #define S_SWSSHOVE 3
22271 #define V_SWSSHOVE(x) ((x) << S_SWSSHOVE)
22272 #define F_SWSSHOVE V_SWSSHOVE(1U)
22274 #define S_TBLTIMER 2
22275 #define V_TBLTIMER(x) ((x) << S_TBLTIMER)
22276 #define F_TBLTIMER V_TBLTIMER(1U)
22278 #define S_RXTPACE 1
22279 #define V_RXTPACE(x) ((x) << S_RXTPACE)
22280 #define F_RXTPACE V_RXTPACE(1U)
22282 #define S_SWSTIMER 0
22283 #define V_SWSTIMER(x) ((x) << S_SWSTIMER)
22284 #define F_SWSTIMER V_SWSTIMER(1U)
22286 #define S_LIMTXTHRESH 28
22287 #define M_LIMTXTHRESH 0xfU
22288 #define V_LIMTXTHRESH(x) ((x) << S_LIMTXTHRESH)
22289 #define G_LIMTXTHRESH(x) (((x) >> S_LIMTXTHRESH) & M_LIMTXTHRESH)
22291 #define S_CHNERRENABLE 14
22292 #define V_CHNERRENABLE(x) ((x) << S_CHNERRENABLE)
22293 #define F_CHNERRENABLE V_CHNERRENABLE(1U)
22295 #define S_SETTIMEENABLE 13
22296 #define V_SETTIMEENABLE(x) ((x) << S_SETTIMEENABLE)
22297 #define F_SETTIMEENABLE V_SETTIMEENABLE(1U)
22299 #define S_ECNCNGFIFO 19
22300 #define V_ECNCNGFIFO(x) ((x) << S_ECNCNGFIFO)
22301 #define F_ECNCNGFIFO V_ECNCNGFIFO(1U)
22303 #define S_ECNSYNACK 18
22304 #define V_ECNSYNACK(x) ((x) << S_ECNSYNACK)
22305 #define F_ECNSYNACK V_ECNSYNACK(1U)
22307 #define S_ECNTHRESH 16
22308 #define M_ECNTHRESH 0x3U
22309 #define V_ECNTHRESH(x) ((x) << S_ECNTHRESH)
22310 #define G_ECNTHRESH(x) (((x) >> S_ECNTHRESH) & M_ECNTHRESH)
22312 #define S_ECNMODE 15
22313 #define V_ECNMODE(x) ((x) << S_ECNMODE)
22314 #define F_ECNMODE V_ECNMODE(1U)
22316 #define S_ECNMODECWR 14
22317 #define V_ECNMODECWR(x) ((x) << S_ECNMODECWR)
22318 #define F_ECNMODECWR V_ECNMODECWR(1U)
22320 #define S_FORCESHOVE 10
22321 #define V_FORCESHOVE(x) ((x) << S_FORCESHOVE)
22322 #define F_FORCESHOVE V_FORCESHOVE(1U)
22324 #define A_TP_PARA_REG1 0x7d64
22326 #define S_INITRWND 16
22327 #define M_INITRWND 0xffffU
22328 #define V_INITRWND(x) ((x) << S_INITRWND)
22329 #define G_INITRWND(x) (((x) >> S_INITRWND) & M_INITRWND)
22331 #define S_INITIALSSTHRESH 0
22332 #define M_INITIALSSTHRESH 0xffffU
22333 #define V_INITIALSSTHRESH(x) ((x) << S_INITIALSSTHRESH)
22334 #define G_INITIALSSTHRESH(x) (((x) >> S_INITIALSSTHRESH) & M_INITIALSSTHRESH)
22336 #define A_TP_PARA_REG2 0x7d68
22338 #define S_MAXRXDATA 16
22339 #define M_MAXRXDATA 0xffffU
22340 #define V_MAXRXDATA(x) ((x) << S_MAXRXDATA)
22341 #define G_MAXRXDATA(x) (((x) >> S_MAXRXDATA) & M_MAXRXDATA)
22343 #define S_RXCOALESCESIZE 0
22344 #define M_RXCOALESCESIZE 0xffffU
22345 #define V_RXCOALESCESIZE(x) ((x) << S_RXCOALESCESIZE)
22346 #define G_RXCOALESCESIZE(x) (((x) >> S_RXCOALESCESIZE) & M_RXCOALESCESIZE)
22348 #define A_TP_PARA_REG3 0x7d6c
22350 #define S_ENABLETNLCNGLPBK 31
22351 #define V_ENABLETNLCNGLPBK(x) ((x) << S_ENABLETNLCNGLPBK)
22352 #define F_ENABLETNLCNGLPBK V_ENABLETNLCNGLPBK(1U)
22354 #define S_ENABLETNLCNGFIFO 30
22355 #define V_ENABLETNLCNGFIFO(x) ((x) << S_ENABLETNLCNGFIFO)
22356 #define F_ENABLETNLCNGFIFO V_ENABLETNLCNGFIFO(1U)
22358 #define S_ENABLETNLCNGHDR 29
22359 #define V_ENABLETNLCNGHDR(x) ((x) << S_ENABLETNLCNGHDR)
22360 #define F_ENABLETNLCNGHDR V_ENABLETNLCNGHDR(1U)
22362 #define S_ENABLETNLCNGSGE 28
22363 #define V_ENABLETNLCNGSGE(x) ((x) << S_ENABLETNLCNGSGE)
22364 #define F_ENABLETNLCNGSGE V_ENABLETNLCNGSGE(1U)
22366 #define S_RXMACCHECK 27
22367 #define V_RXMACCHECK(x) ((x) << S_RXMACCHECK)
22368 #define F_RXMACCHECK V_RXMACCHECK(1U)
22370 #define S_RXSYNFILTER 26
22371 #define V_RXSYNFILTER(x) ((x) << S_RXSYNFILTER)
22372 #define F_RXSYNFILTER V_RXSYNFILTER(1U)
22374 #define S_CNGCTRLECN 25
22375 #define V_CNGCTRLECN(x) ((x) << S_CNGCTRLECN)
22376 #define F_CNGCTRLECN V_CNGCTRLECN(1U)
22378 #define S_RXDDPOFFINIT 24
22379 #define V_RXDDPOFFINIT(x) ((x) << S_RXDDPOFFINIT)
22380 #define F_RXDDPOFFINIT V_RXDDPOFFINIT(1U)
22382 #define S_TUNNELCNGDROP3 23
22383 #define V_TUNNELCNGDROP3(x) ((x) << S_TUNNELCNGDROP3)
22384 #define F_TUNNELCNGDROP3 V_TUNNELCNGDROP3(1U)
22386 #define S_TUNNELCNGDROP2 22
22387 #define V_TUNNELCNGDROP2(x) ((x) << S_TUNNELCNGDROP2)
22388 #define F_TUNNELCNGDROP2 V_TUNNELCNGDROP2(1U)
22390 #define S_TUNNELCNGDROP1 21
22391 #define V_TUNNELCNGDROP1(x) ((x) << S_TUNNELCNGDROP1)
22392 #define F_TUNNELCNGDROP1 V_TUNNELCNGDROP1(1U)
22394 #define S_TUNNELCNGDROP0 20
22395 #define V_TUNNELCNGDROP0(x) ((x) << S_TUNNELCNGDROP0)
22396 #define F_TUNNELCNGDROP0 V_TUNNELCNGDROP0(1U)
22398 #define S_TXDATAACKIDX 16
22399 #define M_TXDATAACKIDX 0xfU
22400 #define V_TXDATAACKIDX(x) ((x) << S_TXDATAACKIDX)
22401 #define G_TXDATAACKIDX(x) (((x) >> S_TXDATAACKIDX) & M_TXDATAACKIDX)
22403 #define S_RXFRAGENABLE 12
22404 #define M_RXFRAGENABLE 0x7U
22405 #define V_RXFRAGENABLE(x) ((x) << S_RXFRAGENABLE)
22406 #define G_RXFRAGENABLE(x) (((x) >> S_RXFRAGENABLE) & M_RXFRAGENABLE)
22408 #define S_TXPACEFIXEDSTRICT 11
22409 #define V_TXPACEFIXEDSTRICT(x) ((x) << S_TXPACEFIXEDSTRICT)
22410 #define F_TXPACEFIXEDSTRICT V_TXPACEFIXEDSTRICT(1U)
22412 #define S_TXPACEAUTOSTRICT 10
22413 #define V_TXPACEAUTOSTRICT(x) ((x) << S_TXPACEAUTOSTRICT)
22414 #define F_TXPACEAUTOSTRICT V_TXPACEAUTOSTRICT(1U)
22416 #define S_TXPACEFIXED 9
22417 #define V_TXPACEFIXED(x) ((x) << S_TXPACEFIXED)
22418 #define F_TXPACEFIXED V_TXPACEFIXED(1U)
22420 #define S_TXPACEAUTO 8
22421 #define V_TXPACEAUTO(x) ((x) << S_TXPACEAUTO)
22422 #define F_TXPACEAUTO V_TXPACEAUTO(1U)
22424 #define S_RXCHNTUNNEL 7
22425 #define V_RXCHNTUNNEL(x) ((x) << S_RXCHNTUNNEL)
22426 #define F_RXCHNTUNNEL V_RXCHNTUNNEL(1U)
22428 #define S_RXURGTUNNEL 6
22429 #define V_RXURGTUNNEL(x) ((x) << S_RXURGTUNNEL)
22430 #define F_RXURGTUNNEL V_RXURGTUNNEL(1U)
22432 #define S_RXURGMODE 5
22433 #define V_RXURGMODE(x) ((x) << S_RXURGMODE)
22434 #define F_RXURGMODE V_RXURGMODE(1U)
22436 #define S_TXURGMODE 4
22437 #define V_TXURGMODE(x) ((x) << S_TXURGMODE)
22438 #define F_TXURGMODE V_TXURGMODE(1U)
22440 #define S_CNGCTRLMODE 2
22441 #define M_CNGCTRLMODE 0x3U
22442 #define V_CNGCTRLMODE(x) ((x) << S_CNGCTRLMODE)
22443 #define G_CNGCTRLMODE(x) (((x) >> S_CNGCTRLMODE) & M_CNGCTRLMODE)
22445 #define S_RXCOALESCEENABLE 1
22446 #define V_RXCOALESCEENABLE(x) ((x) << S_RXCOALESCEENABLE)
22447 #define F_RXCOALESCEENABLE V_RXCOALESCEENABLE(1U)
22449 #define S_RXCOALESCEPSHEN 0
22450 #define V_RXCOALESCEPSHEN(x) ((x) << S_RXCOALESCEPSHEN)
22451 #define F_RXCOALESCEPSHEN V_RXCOALESCEPSHEN(1U)
22453 #define A_TP_PARA_REG4 0x7d70
22455 #define S_HIGHSPEEDCFG 24
22456 #define M_HIGHSPEEDCFG 0xffU
22457 #define V_HIGHSPEEDCFG(x) ((x) << S_HIGHSPEEDCFG)
22458 #define G_HIGHSPEEDCFG(x) (((x) >> S_HIGHSPEEDCFG) & M_HIGHSPEEDCFG)
22460 #define S_NEWRENOCFG 16
22461 #define M_NEWRENOCFG 0xffU
22462 #define V_NEWRENOCFG(x) ((x) << S_NEWRENOCFG)
22463 #define G_NEWRENOCFG(x) (((x) >> S_NEWRENOCFG) & M_NEWRENOCFG)
22465 #define S_TAHOECFG 8
22466 #define M_TAHOECFG 0xffU
22467 #define V_TAHOECFG(x) ((x) << S_TAHOECFG)
22468 #define G_TAHOECFG(x) (((x) >> S_TAHOECFG) & M_TAHOECFG)
22470 #define S_RENOCFG 0
22471 #define M_RENOCFG 0xffU
22472 #define V_RENOCFG(x) ((x) << S_RENOCFG)
22473 #define G_RENOCFG(x) (((x) >> S_RENOCFG) & M_RENOCFG)
22475 #define S_IDLECWNDHIGHSPEED 28
22476 #define V_IDLECWNDHIGHSPEED(x) ((x) << S_IDLECWNDHIGHSPEED)
22477 #define F_IDLECWNDHIGHSPEED V_IDLECWNDHIGHSPEED(1U)
22479 #define S_RXMTCWNDHIGHSPEED 27
22480 #define V_RXMTCWNDHIGHSPEED(x) ((x) << S_RXMTCWNDHIGHSPEED)
22481 #define F_RXMTCWNDHIGHSPEED V_RXMTCWNDHIGHSPEED(1U)
22483 #define S_OVERDRIVEHIGHSPEED 25
22484 #define M_OVERDRIVEHIGHSPEED 0x3U
22485 #define V_OVERDRIVEHIGHSPEED(x) ((x) << S_OVERDRIVEHIGHSPEED)
22486 #define G_OVERDRIVEHIGHSPEED(x) (((x) >> S_OVERDRIVEHIGHSPEED) & M_OVERDRIVEHIGHSPEED)
22488 #define S_BYTECOUNTHIGHSPEED 24
22489 #define V_BYTECOUNTHIGHSPEED(x) ((x) << S_BYTECOUNTHIGHSPEED)
22490 #define F_BYTECOUNTHIGHSPEED V_BYTECOUNTHIGHSPEED(1U)
22492 #define S_IDLECWNDNEWRENO 20
22493 #define V_IDLECWNDNEWRENO(x) ((x) << S_IDLECWNDNEWRENO)
22494 #define F_IDLECWNDNEWRENO V_IDLECWNDNEWRENO(1U)
22496 #define S_RXMTCWNDNEWRENO 19
22497 #define V_RXMTCWNDNEWRENO(x) ((x) << S_RXMTCWNDNEWRENO)
22498 #define F_RXMTCWNDNEWRENO V_RXMTCWNDNEWRENO(1U)
22500 #define S_OVERDRIVENEWRENO 17
22501 #define M_OVERDRIVENEWRENO 0x3U
22502 #define V_OVERDRIVENEWRENO(x) ((x) << S_OVERDRIVENEWRENO)
22503 #define G_OVERDRIVENEWRENO(x) (((x) >> S_OVERDRIVENEWRENO) & M_OVERDRIVENEWRENO)
22505 #define S_BYTECOUNTNEWRENO 16
22506 #define V_BYTECOUNTNEWRENO(x) ((x) << S_BYTECOUNTNEWRENO)
22507 #define F_BYTECOUNTNEWRENO V_BYTECOUNTNEWRENO(1U)
22509 #define S_IDLECWNDTAHOE 12
22510 #define V_IDLECWNDTAHOE(x) ((x) << S_IDLECWNDTAHOE)
22511 #define F_IDLECWNDTAHOE V_IDLECWNDTAHOE(1U)
22513 #define S_RXMTCWNDTAHOE 11
22514 #define V_RXMTCWNDTAHOE(x) ((x) << S_RXMTCWNDTAHOE)
22515 #define F_RXMTCWNDTAHOE V_RXMTCWNDTAHOE(1U)
22517 #define S_OVERDRIVETAHOE 9
22518 #define M_OVERDRIVETAHOE 0x3U
22519 #define V_OVERDRIVETAHOE(x) ((x) << S_OVERDRIVETAHOE)
22520 #define G_OVERDRIVETAHOE(x) (((x) >> S_OVERDRIVETAHOE) & M_OVERDRIVETAHOE)
22522 #define S_BYTECOUNTTAHOE 8
22523 #define V_BYTECOUNTTAHOE(x) ((x) << S_BYTECOUNTTAHOE)
22524 #define F_BYTECOUNTTAHOE V_BYTECOUNTTAHOE(1U)
22526 #define S_IDLECWNDRENO 4
22527 #define V_IDLECWNDRENO(x) ((x) << S_IDLECWNDRENO)
22528 #define F_IDLECWNDRENO V_IDLECWNDRENO(1U)
22530 #define S_RXMTCWNDRENO 3
22531 #define V_RXMTCWNDRENO(x) ((x) << S_RXMTCWNDRENO)
22532 #define F_RXMTCWNDRENO V_RXMTCWNDRENO(1U)
22534 #define S_OVERDRIVERENO 1
22535 #define M_OVERDRIVERENO 0x3U
22536 #define V_OVERDRIVERENO(x) ((x) << S_OVERDRIVERENO)
22537 #define G_OVERDRIVERENO(x) (((x) >> S_OVERDRIVERENO) & M_OVERDRIVERENO)
22539 #define S_BYTECOUNTRENO 0
22540 #define V_BYTECOUNTRENO(x) ((x) << S_BYTECOUNTRENO)
22541 #define F_BYTECOUNTRENO V_BYTECOUNTRENO(1U)
22543 #define A_TP_PARA_REG5 0x7d74
22545 #define S_INDICATESIZE 16
22546 #define M_INDICATESIZE 0xffffU
22547 #define V_INDICATESIZE(x) ((x) << S_INDICATESIZE)
22548 #define G_INDICATESIZE(x) (((x) >> S_INDICATESIZE) & M_INDICATESIZE)
22550 #define S_MAXPROXYSIZE 12
22551 #define M_MAXPROXYSIZE 0xfU
22552 #define V_MAXPROXYSIZE(x) ((x) << S_MAXPROXYSIZE)
22553 #define G_MAXPROXYSIZE(x) (((x) >> S_MAXPROXYSIZE) & M_MAXPROXYSIZE)
22555 #define S_ENABLEREADPDU 11
22556 #define V_ENABLEREADPDU(x) ((x) << S_ENABLEREADPDU)
22557 #define F_ENABLEREADPDU V_ENABLEREADPDU(1U)
22559 #define S_RXREADAHEAD 10
22560 #define V_RXREADAHEAD(x) ((x) << S_RXREADAHEAD)
22561 #define F_RXREADAHEAD V_RXREADAHEAD(1U)
22563 #define S_EMPTYRQENABLE 9
22564 #define V_EMPTYRQENABLE(x) ((x) << S_EMPTYRQENABLE)
22565 #define F_EMPTYRQENABLE V_EMPTYRQENABLE(1U)
22567 #define S_SCHDENABLE 8
22568 #define V_SCHDENABLE(x) ((x) << S_SCHDENABLE)
22569 #define F_SCHDENABLE V_SCHDENABLE(1U)
22571 #define S_REARMDDPOFFSET 4
22572 #define V_REARMDDPOFFSET(x) ((x) << S_REARMDDPOFFSET)
22573 #define F_REARMDDPOFFSET V_REARMDDPOFFSET(1U)
22575 #define S_RESETDDPOFFSET 3
22576 #define V_RESETDDPOFFSET(x) ((x) << S_RESETDDPOFFSET)
22577 #define F_RESETDDPOFFSET V_RESETDDPOFFSET(1U)
22579 #define S_ONFLYDDPENABLE 2
22580 #define V_ONFLYDDPENABLE(x) ((x) << S_ONFLYDDPENABLE)
22581 #define F_ONFLYDDPENABLE V_ONFLYDDPENABLE(1U)
22583 #define S_DACKTIMERSPIN 1
22584 #define V_DACKTIMERSPIN(x) ((x) << S_DACKTIMERSPIN)
22585 #define F_DACKTIMERSPIN V_DACKTIMERSPIN(1U)
22587 #define S_PUSHTIMERENABLE 0
22588 #define V_PUSHTIMERENABLE(x) ((x) << S_PUSHTIMERENABLE)
22589 #define F_PUSHTIMERENABLE V_PUSHTIMERENABLE(1U)
22591 #define S_ENABLEXOFFPDU 7
22592 #define V_ENABLEXOFFPDU(x) ((x) << S_ENABLEXOFFPDU)
22593 #define F_ENABLEXOFFPDU V_ENABLEXOFFPDU(1U)
22595 #define S_ENABLENEWFAR 6
22596 #define V_ENABLENEWFAR(x) ((x) << S_ENABLENEWFAR)
22597 #define F_ENABLENEWFAR V_ENABLENEWFAR(1U)
22599 #define S_ENABLEFRAGCHECK 5
22600 #define V_ENABLEFRAGCHECK(x) ((x) << S_ENABLEFRAGCHECK)
22601 #define F_ENABLEFRAGCHECK V_ENABLEFRAGCHECK(1U)
22603 #define S_ENABLEFCOECHECK 6
22604 #define V_ENABLEFCOECHECK(x) ((x) << S_ENABLEFCOECHECK)
22605 #define F_ENABLEFCOECHECK V_ENABLEFCOECHECK(1U)
22607 #define S_ENABLERDMAFIX 1
22608 #define V_ENABLERDMAFIX(x) ((x) << S_ENABLERDMAFIX)
22609 #define F_ENABLERDMAFIX V_ENABLERDMAFIX(1U)
22611 #define A_TP_PARA_REG6 0x7d78
22613 #define S_TXPDUSIZEADJ 24
22614 #define M_TXPDUSIZEADJ 0xffU
22615 #define V_TXPDUSIZEADJ(x) ((x) << S_TXPDUSIZEADJ)
22616 #define G_TXPDUSIZEADJ(x) (((x) >> S_TXPDUSIZEADJ) & M_TXPDUSIZEADJ)
22618 #define S_LIMITEDTRANSMIT 20
22619 #define M_LIMITEDTRANSMIT 0xfU
22620 #define V_LIMITEDTRANSMIT(x) ((x) << S_LIMITEDTRANSMIT)
22621 #define G_LIMITEDTRANSMIT(x) (((x) >> S_LIMITEDTRANSMIT) & M_LIMITEDTRANSMIT)
22623 #define S_ENABLECSAV 19
22624 #define V_ENABLECSAV(x) ((x) << S_ENABLECSAV)
22625 #define F_ENABLECSAV V_ENABLECSAV(1U)
22627 #define S_ENABLEDEFERPDU 18
22628 #define V_ENABLEDEFERPDU(x) ((x) << S_ENABLEDEFERPDU)
22629 #define F_ENABLEDEFERPDU V_ENABLEDEFERPDU(1U)
22631 #define S_ENABLEFLUSH 17
22632 #define V_ENABLEFLUSH(x) ((x) << S_ENABLEFLUSH)
22633 #define F_ENABLEFLUSH V_ENABLEFLUSH(1U)
22635 #define S_ENABLEBYTEPERSIST 16
22636 #define V_ENABLEBYTEPERSIST(x) ((x) << S_ENABLEBYTEPERSIST)
22637 #define F_ENABLEBYTEPERSIST V_ENABLEBYTEPERSIST(1U)
22639 #define S_DISABLETMOCNG 15
22640 #define V_DISABLETMOCNG(x) ((x) << S_DISABLETMOCNG)
22641 #define F_DISABLETMOCNG V_DISABLETMOCNG(1U)
22643 #define S_TXREADAHEAD 14
22644 #define V_TXREADAHEAD(x) ((x) << S_TXREADAHEAD)
22645 #define F_TXREADAHEAD V_TXREADAHEAD(1U)
22647 #define S_ALLOWEXEPTION 13
22648 #define V_ALLOWEXEPTION(x) ((x) << S_ALLOWEXEPTION)
22649 #define F_ALLOWEXEPTION V_ALLOWEXEPTION(1U)
22651 #define S_ENABLEDEFERACK 12
22652 #define V_ENABLEDEFERACK(x) ((x) << S_ENABLEDEFERACK)
22653 #define F_ENABLEDEFERACK V_ENABLEDEFERACK(1U)
22655 #define S_ENABLEESND 11
22656 #define V_ENABLEESND(x) ((x) << S_ENABLEESND)
22657 #define F_ENABLEESND V_ENABLEESND(1U)
22659 #define S_ENABLECSND 10
22660 #define V_ENABLECSND(x) ((x) << S_ENABLECSND)
22661 #define F_ENABLECSND V_ENABLECSND(1U)
22663 #define S_ENABLEPDUE 9
22664 #define V_ENABLEPDUE(x) ((x) << S_ENABLEPDUE)
22665 #define F_ENABLEPDUE V_ENABLEPDUE(1U)
22667 #define S_ENABLEPDUC 8
22668 #define V_ENABLEPDUC(x) ((x) << S_ENABLEPDUC)
22669 #define F_ENABLEPDUC V_ENABLEPDUC(1U)
22671 #define S_ENABLEBUFI 7
22672 #define V_ENABLEBUFI(x) ((x) << S_ENABLEBUFI)
22673 #define F_ENABLEBUFI V_ENABLEBUFI(1U)
22675 #define S_ENABLEBUFE 6
22676 #define V_ENABLEBUFE(x) ((x) << S_ENABLEBUFE)
22677 #define F_ENABLEBUFE V_ENABLEBUFE(1U)
22679 #define S_ENABLEDEFER 5
22680 #define V_ENABLEDEFER(x) ((x) << S_ENABLEDEFER)
22681 #define F_ENABLEDEFER V_ENABLEDEFER(1U)
22683 #define S_ENABLECLEARRXMTOOS 4
22684 #define V_ENABLECLEARRXMTOOS(x) ((x) << S_ENABLECLEARRXMTOOS)
22685 #define F_ENABLECLEARRXMTOOS V_ENABLECLEARRXMTOOS(1U)
22687 #define S_DISABLEPDUCNG 3
22688 #define V_DISABLEPDUCNG(x) ((x) << S_DISABLEPDUCNG)
22689 #define F_DISABLEPDUCNG V_DISABLEPDUCNG(1U)
22691 #define S_DISABLEPDUTIMEOUT 2
22692 #define V_DISABLEPDUTIMEOUT(x) ((x) << S_DISABLEPDUTIMEOUT)
22693 #define F_DISABLEPDUTIMEOUT V_DISABLEPDUTIMEOUT(1U)
22695 #define S_DISABLEPDURXMT 1
22696 #define V_DISABLEPDURXMT(x) ((x) << S_DISABLEPDURXMT)
22697 #define F_DISABLEPDURXMT V_DISABLEPDURXMT(1U)
22699 #define S_DISABLEPDUXMT 0
22700 #define V_DISABLEPDUXMT(x) ((x) << S_DISABLEPDUXMT)
22701 #define F_DISABLEPDUXMT V_DISABLEPDUXMT(1U)
22703 #define S_DISABLEPDUACK 20
22704 #define V_DISABLEPDUACK(x) ((x) << S_DISABLEPDUACK)
22705 #define F_DISABLEPDUACK V_DISABLEPDUACK(1U)
22707 #define S_TXTCAMKEY 22
22708 #define V_TXTCAMKEY(x) ((x) << S_TXTCAMKEY)
22709 #define F_TXTCAMKEY V_TXTCAMKEY(1U)
22711 #define S_ENABLECBYP 21
22712 #define V_ENABLECBYP(x) ((x) << S_ENABLECBYP)
22713 #define F_ENABLECBYP V_ENABLECBYP(1U)
22715 #define A_TP_PARA_REG7 0x7d7c
22717 #define S_PMMAXXFERLEN1 16
22718 #define M_PMMAXXFERLEN1 0xffffU
22719 #define V_PMMAXXFERLEN1(x) ((x) << S_PMMAXXFERLEN1)
22720 #define G_PMMAXXFERLEN1(x) (((x) >> S_PMMAXXFERLEN1) & M_PMMAXXFERLEN1)
22722 #define S_PMMAXXFERLEN0 0
22723 #define M_PMMAXXFERLEN0 0xffffU
22724 #define V_PMMAXXFERLEN0(x) ((x) << S_PMMAXXFERLEN0)
22725 #define G_PMMAXXFERLEN0(x) (((x) >> S_PMMAXXFERLEN0) & M_PMMAXXFERLEN0)
22727 #define A_TP_ENG_CONFIG 0x7d80
22729 #define S_TABLELATENCYDONE 28
22730 #define M_TABLELATENCYDONE 0xfU
22731 #define V_TABLELATENCYDONE(x) ((x) << S_TABLELATENCYDONE)
22732 #define G_TABLELATENCYDONE(x) (((x) >> S_TABLELATENCYDONE) & M_TABLELATENCYDONE)
22734 #define S_TABLELATENCYSTART 24
22735 #define M_TABLELATENCYSTART 0xfU
22736 #define V_TABLELATENCYSTART(x) ((x) << S_TABLELATENCYSTART)
22737 #define G_TABLELATENCYSTART(x) (((x) >> S_TABLELATENCYSTART) & M_TABLELATENCYSTART)
22739 #define S_ENGINELATENCYDELTA 16
22740 #define M_ENGINELATENCYDELTA 0xfU
22741 #define V_ENGINELATENCYDELTA(x) ((x) << S_ENGINELATENCYDELTA)
22742 #define G_ENGINELATENCYDELTA(x) (((x) >> S_ENGINELATENCYDELTA) & M_ENGINELATENCYDELTA)
22744 #define S_ENGINELATENCYMMGR 12
22745 #define M_ENGINELATENCYMMGR 0xfU
22746 #define V_ENGINELATENCYMMGR(x) ((x) << S_ENGINELATENCYMMGR)
22747 #define G_ENGINELATENCYMMGR(x) (((x) >> S_ENGINELATENCYMMGR) & M_ENGINELATENCYMMGR)
22749 #define S_ENGINELATENCYWIREIP6 8
22750 #define M_ENGINELATENCYWIREIP6 0xfU
22751 #define V_ENGINELATENCYWIREIP6(x) ((x) << S_ENGINELATENCYWIREIP6)
22752 #define G_ENGINELATENCYWIREIP6(x) (((x) >> S_ENGINELATENCYWIREIP6) & M_ENGINELATENCYWIREIP6)
22754 #define S_ENGINELATENCYWIRE 4
22755 #define M_ENGINELATENCYWIRE 0xfU
22756 #define V_ENGINELATENCYWIRE(x) ((x) << S_ENGINELATENCYWIRE)
22757 #define G_ENGINELATENCYWIRE(x) (((x) >> S_ENGINELATENCYWIRE) & M_ENGINELATENCYWIRE)
22759 #define S_ENGINELATENCYBASE 0
22760 #define M_ENGINELATENCYBASE 0xfU
22761 #define V_ENGINELATENCYBASE(x) ((x) << S_ENGINELATENCYBASE)
22762 #define G_ENGINELATENCYBASE(x) (((x) >> S_ENGINELATENCYBASE) & M_ENGINELATENCYBASE)
22764 #define A_TP_PARA_REG8 0x7d84
22766 #define S_ECNACKECT 2
22767 #define V_ECNACKECT(x) ((x) << S_ECNACKECT)
22768 #define F_ECNACKECT V_ECNACKECT(1U)
22770 #define S_ECNFINECT 1
22771 #define V_ECNFINECT(x) ((x) << S_ECNFINECT)
22772 #define F_ECNFINECT V_ECNFINECT(1U)
22774 #define S_ECNSYNECT 0
22775 #define V_ECNSYNECT(x) ((x) << S_ECNSYNECT)
22776 #define F_ECNSYNECT V_ECNSYNECT(1U)
22778 #define A_TP_ERR_CONFIG 0x7d8c
22780 #define S_TNLERRORPING 30
22781 #define V_TNLERRORPING(x) ((x) << S_TNLERRORPING)
22782 #define F_TNLERRORPING V_TNLERRORPING(1U)
22784 #define S_TNLERRORCSUM 29
22785 #define V_TNLERRORCSUM(x) ((x) << S_TNLERRORCSUM)
22786 #define F_TNLERRORCSUM V_TNLERRORCSUM(1U)
22788 #define S_TNLERRORCSUMIP 28
22789 #define V_TNLERRORCSUMIP(x) ((x) << S_TNLERRORCSUMIP)
22790 #define F_TNLERRORCSUMIP V_TNLERRORCSUMIP(1U)
22792 #define S_TNLERRORTCPOPT 25
22793 #define V_TNLERRORTCPOPT(x) ((x) << S_TNLERRORTCPOPT)
22794 #define F_TNLERRORTCPOPT V_TNLERRORTCPOPT(1U)
22796 #define S_TNLERRORPKTLEN 24
22797 #define V_TNLERRORPKTLEN(x) ((x) << S_TNLERRORPKTLEN)
22798 #define F_TNLERRORPKTLEN V_TNLERRORPKTLEN(1U)
22800 #define S_TNLERRORTCPHDRLEN 23
22801 #define V_TNLERRORTCPHDRLEN(x) ((x) << S_TNLERRORTCPHDRLEN)
22802 #define F_TNLERRORTCPHDRLEN V_TNLERRORTCPHDRLEN(1U)
22804 #define S_TNLERRORIPHDRLEN 22
22805 #define V_TNLERRORIPHDRLEN(x) ((x) << S_TNLERRORIPHDRLEN)
22806 #define F_TNLERRORIPHDRLEN V_TNLERRORIPHDRLEN(1U)
22808 #define S_TNLERRORETHHDRLEN 21
22809 #define V_TNLERRORETHHDRLEN(x) ((x) << S_TNLERRORETHHDRLEN)
22810 #define F_TNLERRORETHHDRLEN V_TNLERRORETHHDRLEN(1U)
22812 #define S_TNLERRORATTACK 20
22813 #define V_TNLERRORATTACK(x) ((x) << S_TNLERRORATTACK)
22814 #define F_TNLERRORATTACK V_TNLERRORATTACK(1U)
22816 #define S_TNLERRORFRAG 19
22817 #define V_TNLERRORFRAG(x) ((x) << S_TNLERRORFRAG)
22818 #define F_TNLERRORFRAG V_TNLERRORFRAG(1U)
22820 #define S_TNLERRORIPVER 18
22821 #define V_TNLERRORIPVER(x) ((x) << S_TNLERRORIPVER)
22822 #define F_TNLERRORIPVER V_TNLERRORIPVER(1U)
22824 #define S_TNLERRORMAC 17
22825 #define V_TNLERRORMAC(x) ((x) << S_TNLERRORMAC)
22826 #define F_TNLERRORMAC V_TNLERRORMAC(1U)
22828 #define S_TNLERRORANY 16
22829 #define V_TNLERRORANY(x) ((x) << S_TNLERRORANY)
22830 #define F_TNLERRORANY V_TNLERRORANY(1U)
22832 #define S_DROPERRORPING 14
22833 #define V_DROPERRORPING(x) ((x) << S_DROPERRORPING)
22834 #define F_DROPERRORPING V_DROPERRORPING(1U)
22836 #define S_DROPERRORCSUM 13
22837 #define V_DROPERRORCSUM(x) ((x) << S_DROPERRORCSUM)
22838 #define F_DROPERRORCSUM V_DROPERRORCSUM(1U)
22840 #define S_DROPERRORCSUMIP 12
22841 #define V_DROPERRORCSUMIP(x) ((x) << S_DROPERRORCSUMIP)
22842 #define F_DROPERRORCSUMIP V_DROPERRORCSUMIP(1U)
22844 #define S_DROPERRORTCPOPT 9
22845 #define V_DROPERRORTCPOPT(x) ((x) << S_DROPERRORTCPOPT)
22846 #define F_DROPERRORTCPOPT V_DROPERRORTCPOPT(1U)
22848 #define S_DROPERRORPKTLEN 8
22849 #define V_DROPERRORPKTLEN(x) ((x) << S_DROPERRORPKTLEN)
22850 #define F_DROPERRORPKTLEN V_DROPERRORPKTLEN(1U)
22852 #define S_DROPERRORTCPHDRLEN 7
22853 #define V_DROPERRORTCPHDRLEN(x) ((x) << S_DROPERRORTCPHDRLEN)
22854 #define F_DROPERRORTCPHDRLEN V_DROPERRORTCPHDRLEN(1U)
22856 #define S_DROPERRORIPHDRLEN 6
22857 #define V_DROPERRORIPHDRLEN(x) ((x) << S_DROPERRORIPHDRLEN)
22858 #define F_DROPERRORIPHDRLEN V_DROPERRORIPHDRLEN(1U)
22860 #define S_DROPERRORETHHDRLEN 5
22861 #define V_DROPERRORETHHDRLEN(x) ((x) << S_DROPERRORETHHDRLEN)
22862 #define F_DROPERRORETHHDRLEN V_DROPERRORETHHDRLEN(1U)
22864 #define S_DROPERRORATTACK 4
22865 #define V_DROPERRORATTACK(x) ((x) << S_DROPERRORATTACK)
22866 #define F_DROPERRORATTACK V_DROPERRORATTACK(1U)
22868 #define S_DROPERRORFRAG 3
22869 #define V_DROPERRORFRAG(x) ((x) << S_DROPERRORFRAG)
22870 #define F_DROPERRORFRAG V_DROPERRORFRAG(1U)
22872 #define S_DROPERRORIPVER 2
22873 #define V_DROPERRORIPVER(x) ((x) << S_DROPERRORIPVER)
22874 #define F_DROPERRORIPVER V_DROPERRORIPVER(1U)
22876 #define S_DROPERRORMAC 1
22877 #define V_DROPERRORMAC(x) ((x) << S_DROPERRORMAC)
22878 #define F_DROPERRORMAC V_DROPERRORMAC(1U)
22880 #define S_DROPERRORANY 0
22881 #define V_DROPERRORANY(x) ((x) << S_DROPERRORANY)
22882 #define F_DROPERRORANY V_DROPERRORANY(1U)
22884 #define S_TNLERRORFPMA 31
22885 #define V_TNLERRORFPMA(x) ((x) << S_TNLERRORFPMA)
22886 #define F_TNLERRORFPMA V_TNLERRORFPMA(1U)
22888 #define S_DROPERRORFPMA 15
22889 #define V_DROPERRORFPMA(x) ((x) << S_DROPERRORFPMA)
22890 #define F_DROPERRORFPMA V_DROPERRORFPMA(1U)
22892 #define S_TNLERROROPAQUE 27
22893 #define V_TNLERROROPAQUE(x) ((x) << S_TNLERROROPAQUE)
22894 #define F_TNLERROROPAQUE V_TNLERROROPAQUE(1U)
22896 #define S_TNLERRORIP6OPT 26
22897 #define V_TNLERRORIP6OPT(x) ((x) << S_TNLERRORIP6OPT)
22898 #define F_TNLERRORIP6OPT V_TNLERRORIP6OPT(1U)
22900 #define S_DROPERROROPAQUE 11
22901 #define V_DROPERROROPAQUE(x) ((x) << S_DROPERROROPAQUE)
22902 #define F_DROPERROROPAQUE V_DROPERROROPAQUE(1U)
22904 #define S_DROPERRORIP6OPT 10
22905 #define V_DROPERRORIP6OPT(x) ((x) << S_DROPERRORIP6OPT)
22906 #define F_DROPERRORIP6OPT V_DROPERRORIP6OPT(1U)
22908 #define A_TP_TIMER_RESOLUTION 0x7d90
22910 #define S_TIMERRESOLUTION 16
22911 #define M_TIMERRESOLUTION 0xffU
22912 #define V_TIMERRESOLUTION(x) ((x) << S_TIMERRESOLUTION)
22913 #define G_TIMERRESOLUTION(x) (((x) >> S_TIMERRESOLUTION) & M_TIMERRESOLUTION)
22915 #define S_TIMESTAMPRESOLUTION 8
22916 #define M_TIMESTAMPRESOLUTION 0xffU
22917 #define V_TIMESTAMPRESOLUTION(x) ((x) << S_TIMESTAMPRESOLUTION)
22918 #define G_TIMESTAMPRESOLUTION(x) (((x) >> S_TIMESTAMPRESOLUTION) & M_TIMESTAMPRESOLUTION)
22920 #define S_DELAYEDACKRESOLUTION 0
22921 #define M_DELAYEDACKRESOLUTION 0xffU
22922 #define V_DELAYEDACKRESOLUTION(x) ((x) << S_DELAYEDACKRESOLUTION)
22923 #define G_DELAYEDACKRESOLUTION(x) (((x) >> S_DELAYEDACKRESOLUTION) & M_DELAYEDACKRESOLUTION)
22925 #define A_TP_MSL 0x7d94
22928 #define M_MSL 0x3fffffffU
22929 #define V_MSL(x) ((x) << S_MSL)
22930 #define G_MSL(x) (((x) >> S_MSL) & M_MSL)
22932 #define A_TP_RXT_MIN 0x7d98
22935 #define M_RXTMIN 0x3fffffffU
22936 #define V_RXTMIN(x) ((x) << S_RXTMIN)
22937 #define G_RXTMIN(x) (((x) >> S_RXTMIN) & M_RXTMIN)
22939 #define A_TP_RXT_MAX 0x7d9c
22942 #define M_RXTMAX 0x3fffffffU
22943 #define V_RXTMAX(x) ((x) << S_RXTMAX)
22944 #define G_RXTMAX(x) (((x) >> S_RXTMAX) & M_RXTMAX)
22946 #define A_TP_PERS_MIN 0x7da0
22948 #define S_PERSMIN 0
22949 #define M_PERSMIN 0x3fffffffU
22950 #define V_PERSMIN(x) ((x) << S_PERSMIN)
22951 #define G_PERSMIN(x) (((x) >> S_PERSMIN) & M_PERSMIN)
22953 #define A_TP_PERS_MAX 0x7da4
22955 #define S_PERSMAX 0
22956 #define M_PERSMAX 0x3fffffffU
22957 #define V_PERSMAX(x) ((x) << S_PERSMAX)
22958 #define G_PERSMAX(x) (((x) >> S_PERSMAX) & M_PERSMAX)
22960 #define A_TP_KEEP_IDLE 0x7da8
22962 #define S_KEEPALIVEIDLE 0
22963 #define M_KEEPALIVEIDLE 0x3fffffffU
22964 #define V_KEEPALIVEIDLE(x) ((x) << S_KEEPALIVEIDLE)
22965 #define G_KEEPALIVEIDLE(x) (((x) >> S_KEEPALIVEIDLE) & M_KEEPALIVEIDLE)
22967 #define A_TP_KEEP_INTVL 0x7dac
22969 #define S_KEEPALIVEINTVL 0
22970 #define M_KEEPALIVEINTVL 0x3fffffffU
22971 #define V_KEEPALIVEINTVL(x) ((x) << S_KEEPALIVEINTVL)
22972 #define G_KEEPALIVEINTVL(x) (((x) >> S_KEEPALIVEINTVL) & M_KEEPALIVEINTVL)
22974 #define A_TP_INIT_SRTT 0x7db0
22976 #define S_MAXRTT 16
22977 #define M_MAXRTT 0xffffU
22978 #define V_MAXRTT(x) ((x) << S_MAXRTT)
22979 #define G_MAXRTT(x) (((x) >> S_MAXRTT) & M_MAXRTT)
22981 #define S_INITSRTT 0
22982 #define M_INITSRTT 0xffffU
22983 #define V_INITSRTT(x) ((x) << S_INITSRTT)
22984 #define G_INITSRTT(x) (((x) >> S_INITSRTT) & M_INITSRTT)
22986 #define A_TP_DACK_TIMER 0x7db4
22988 #define S_DACKTIME 0
22989 #define M_DACKTIME 0xfffU
22990 #define V_DACKTIME(x) ((x) << S_DACKTIME)
22991 #define G_DACKTIME(x) (((x) >> S_DACKTIME) & M_DACKTIME)
22993 #define A_TP_FINWAIT2_TIMER 0x7db8
22995 #define S_FINWAIT2TIME 0
22996 #define M_FINWAIT2TIME 0x3fffffffU
22997 #define V_FINWAIT2TIME(x) ((x) << S_FINWAIT2TIME)
22998 #define G_FINWAIT2TIME(x) (((x) >> S_FINWAIT2TIME) & M_FINWAIT2TIME)
23000 #define A_TP_FAST_FINWAIT2_TIMER 0x7dbc
23002 #define S_FASTFINWAIT2TIME 0
23003 #define M_FASTFINWAIT2TIME 0x3fffffffU
23004 #define V_FASTFINWAIT2TIME(x) ((x) << S_FASTFINWAIT2TIME)
23005 #define G_FASTFINWAIT2TIME(x) (((x) >> S_FASTFINWAIT2TIME) & M_FASTFINWAIT2TIME)
23007 #define A_TP_SHIFT_CNT 0x7dc0
23009 #define S_SYNSHIFTMAX 24
23010 #define M_SYNSHIFTMAX 0xffU
23011 #define V_SYNSHIFTMAX(x) ((x) << S_SYNSHIFTMAX)
23012 #define G_SYNSHIFTMAX(x) (((x) >> S_SYNSHIFTMAX) & M_SYNSHIFTMAX)
23014 #define S_RXTSHIFTMAXR1 20
23015 #define M_RXTSHIFTMAXR1 0xfU
23016 #define V_RXTSHIFTMAXR1(x) ((x) << S_RXTSHIFTMAXR1)
23017 #define G_RXTSHIFTMAXR1(x) (((x) >> S_RXTSHIFTMAXR1) & M_RXTSHIFTMAXR1)
23019 #define S_RXTSHIFTMAXR2 16
23020 #define M_RXTSHIFTMAXR2 0xfU
23021 #define V_RXTSHIFTMAXR2(x) ((x) << S_RXTSHIFTMAXR2)
23022 #define G_RXTSHIFTMAXR2(x) (((x) >> S_RXTSHIFTMAXR2) & M_RXTSHIFTMAXR2)
23024 #define S_PERSHIFTBACKOFFMAX 12
23025 #define M_PERSHIFTBACKOFFMAX 0xfU
23026 #define V_PERSHIFTBACKOFFMAX(x) ((x) << S_PERSHIFTBACKOFFMAX)
23027 #define G_PERSHIFTBACKOFFMAX(x) (((x) >> S_PERSHIFTBACKOFFMAX) & M_PERSHIFTBACKOFFMAX)
23029 #define S_PERSHIFTMAX 8
23030 #define M_PERSHIFTMAX 0xfU
23031 #define V_PERSHIFTMAX(x) ((x) << S_PERSHIFTMAX)
23032 #define G_PERSHIFTMAX(x) (((x) >> S_PERSHIFTMAX) & M_PERSHIFTMAX)
23034 #define S_KEEPALIVEMAXR1 4
23035 #define M_KEEPALIVEMAXR1 0xfU
23036 #define V_KEEPALIVEMAXR1(x) ((x) << S_KEEPALIVEMAXR1)
23037 #define G_KEEPALIVEMAXR1(x) (((x) >> S_KEEPALIVEMAXR1) & M_KEEPALIVEMAXR1)
23039 #define S_KEEPALIVEMAXR2 0
23040 #define M_KEEPALIVEMAXR2 0xfU
23041 #define V_KEEPALIVEMAXR2(x) ((x) << S_KEEPALIVEMAXR2)
23042 #define G_KEEPALIVEMAXR2(x) (((x) >> S_KEEPALIVEMAXR2) & M_KEEPALIVEMAXR2)
23044 #define S_T6_SYNSHIFTMAX 24
23045 #define M_T6_SYNSHIFTMAX 0xfU
23046 #define V_T6_SYNSHIFTMAX(x) ((x) << S_T6_SYNSHIFTMAX)
23047 #define G_T6_SYNSHIFTMAX(x) (((x) >> S_T6_SYNSHIFTMAX) & M_T6_SYNSHIFTMAX)
23049 #define A_TP_TM_CONFIG 0x7dc4
23051 #define S_CMTIMERMAXNUM 0
23052 #define M_CMTIMERMAXNUM 0x7U
23053 #define V_CMTIMERMAXNUM(x) ((x) << S_CMTIMERMAXNUM)
23054 #define G_CMTIMERMAXNUM(x) (((x) >> S_CMTIMERMAXNUM) & M_CMTIMERMAXNUM)
23056 #define A_TP_TIME_LO 0x7dc8
23057 #define A_TP_TIME_HI 0x7dcc
23058 #define A_TP_PORT_MTU_0 0x7dd0
23060 #define S_PORT1MTUVALUE 16
23061 #define M_PORT1MTUVALUE 0xffffU
23062 #define V_PORT1MTUVALUE(x) ((x) << S_PORT1MTUVALUE)
23063 #define G_PORT1MTUVALUE(x) (((x) >> S_PORT1MTUVALUE) & M_PORT1MTUVALUE)
23065 #define S_PORT0MTUVALUE 0
23066 #define M_PORT0MTUVALUE 0xffffU
23067 #define V_PORT0MTUVALUE(x) ((x) << S_PORT0MTUVALUE)
23068 #define G_PORT0MTUVALUE(x) (((x) >> S_PORT0MTUVALUE) & M_PORT0MTUVALUE)
23070 #define A_TP_PORT_MTU_1 0x7dd4
23072 #define S_PORT3MTUVALUE 16
23073 #define M_PORT3MTUVALUE 0xffffU
23074 #define V_PORT3MTUVALUE(x) ((x) << S_PORT3MTUVALUE)
23075 #define G_PORT3MTUVALUE(x) (((x) >> S_PORT3MTUVALUE) & M_PORT3MTUVALUE)
23077 #define S_PORT2MTUVALUE 0
23078 #define M_PORT2MTUVALUE 0xffffU
23079 #define V_PORT2MTUVALUE(x) ((x) << S_PORT2MTUVALUE)
23080 #define G_PORT2MTUVALUE(x) (((x) >> S_PORT2MTUVALUE) & M_PORT2MTUVALUE)
23082 #define A_TP_PACE_TABLE 0x7dd8
23083 #define A_TP_CCTRL_TABLE 0x7ddc
23085 #define S_ROWINDEX 16
23086 #define M_ROWINDEX 0xffffU
23087 #define V_ROWINDEX(x) ((x) << S_ROWINDEX)
23088 #define G_ROWINDEX(x) (((x) >> S_ROWINDEX) & M_ROWINDEX)
23090 #define S_ROWVALUE 0
23091 #define M_ROWVALUE 0xffffU
23092 #define V_ROWVALUE(x) ((x) << S_ROWVALUE)
23093 #define G_ROWVALUE(x) (((x) >> S_ROWVALUE) & M_ROWVALUE)
23095 #define A_TP_MTU_TABLE 0x7de4
23097 #define S_MTUINDEX 24
23098 #define M_MTUINDEX 0xffU
23099 #define V_MTUINDEX(x) ((x) << S_MTUINDEX)
23100 #define G_MTUINDEX(x) (((x) >> S_MTUINDEX) & M_MTUINDEX)
23102 #define S_MTUWIDTH 16
23103 #define M_MTUWIDTH 0xfU
23104 #define V_MTUWIDTH(x) ((x) << S_MTUWIDTH)
23105 #define G_MTUWIDTH(x) (((x) >> S_MTUWIDTH) & M_MTUWIDTH)
23107 #define S_MTUVALUE 0
23108 #define M_MTUVALUE 0x3fffU
23109 #define V_MTUVALUE(x) ((x) << S_MTUVALUE)
23110 #define G_MTUVALUE(x) (((x) >> S_MTUVALUE) & M_MTUVALUE)
23112 #define A_TP_ULP_TABLE 0x7de8
23114 #define S_ULPTYPE7FIELD 28
23115 #define M_ULPTYPE7FIELD 0xfU
23116 #define V_ULPTYPE7FIELD(x) ((x) << S_ULPTYPE7FIELD)
23117 #define G_ULPTYPE7FIELD(x) (((x) >> S_ULPTYPE7FIELD) & M_ULPTYPE7FIELD)
23119 #define S_ULPTYPE6FIELD 24
23120 #define M_ULPTYPE6FIELD 0xfU
23121 #define V_ULPTYPE6FIELD(x) ((x) << S_ULPTYPE6FIELD)
23122 #define G_ULPTYPE6FIELD(x) (((x) >> S_ULPTYPE6FIELD) & M_ULPTYPE6FIELD)
23124 #define S_ULPTYPE5FIELD 20
23125 #define M_ULPTYPE5FIELD 0xfU
23126 #define V_ULPTYPE5FIELD(x) ((x) << S_ULPTYPE5FIELD)
23127 #define G_ULPTYPE5FIELD(x) (((x) >> S_ULPTYPE5FIELD) & M_ULPTYPE5FIELD)
23129 #define S_ULPTYPE4FIELD 16
23130 #define M_ULPTYPE4FIELD 0xfU
23131 #define V_ULPTYPE4FIELD(x) ((x) << S_ULPTYPE4FIELD)
23132 #define G_ULPTYPE4FIELD(x) (((x) >> S_ULPTYPE4FIELD) & M_ULPTYPE4FIELD)
23134 #define S_ULPTYPE3FIELD 12
23135 #define M_ULPTYPE3FIELD 0xfU
23136 #define V_ULPTYPE3FIELD(x) ((x) << S_ULPTYPE3FIELD)
23137 #define G_ULPTYPE3FIELD(x) (((x) >> S_ULPTYPE3FIELD) & M_ULPTYPE3FIELD)
23139 #define S_ULPTYPE2FIELD 8
23140 #define M_ULPTYPE2FIELD 0xfU
23141 #define V_ULPTYPE2FIELD(x) ((x) << S_ULPTYPE2FIELD)
23142 #define G_ULPTYPE2FIELD(x) (((x) >> S_ULPTYPE2FIELD) & M_ULPTYPE2FIELD)
23144 #define S_ULPTYPE1FIELD 4
23145 #define M_ULPTYPE1FIELD 0xfU
23146 #define V_ULPTYPE1FIELD(x) ((x) << S_ULPTYPE1FIELD)
23147 #define G_ULPTYPE1FIELD(x) (((x) >> S_ULPTYPE1FIELD) & M_ULPTYPE1FIELD)
23149 #define S_ULPTYPE0FIELD 0
23150 #define M_ULPTYPE0FIELD 0xfU
23151 #define V_ULPTYPE0FIELD(x) ((x) << S_ULPTYPE0FIELD)
23152 #define G_ULPTYPE0FIELD(x) (((x) >> S_ULPTYPE0FIELD) & M_ULPTYPE0FIELD)
23154 #define S_ULPTYPE7LENGTH 31
23155 #define V_ULPTYPE7LENGTH(x) ((x) << S_ULPTYPE7LENGTH)
23156 #define F_ULPTYPE7LENGTH V_ULPTYPE7LENGTH(1U)
23158 #define S_ULPTYPE7OFFSET 28
23159 #define M_ULPTYPE7OFFSET 0x7U
23160 #define V_ULPTYPE7OFFSET(x) ((x) << S_ULPTYPE7OFFSET)
23161 #define G_ULPTYPE7OFFSET(x) (((x) >> S_ULPTYPE7OFFSET) & M_ULPTYPE7OFFSET)
23163 #define S_ULPTYPE6LENGTH 27
23164 #define V_ULPTYPE6LENGTH(x) ((x) << S_ULPTYPE6LENGTH)
23165 #define F_ULPTYPE6LENGTH V_ULPTYPE6LENGTH(1U)
23167 #define S_ULPTYPE6OFFSET 24
23168 #define M_ULPTYPE6OFFSET 0x7U
23169 #define V_ULPTYPE6OFFSET(x) ((x) << S_ULPTYPE6OFFSET)
23170 #define G_ULPTYPE6OFFSET(x) (((x) >> S_ULPTYPE6OFFSET) & M_ULPTYPE6OFFSET)
23172 #define S_ULPTYPE5LENGTH 23
23173 #define V_ULPTYPE5LENGTH(x) ((x) << S_ULPTYPE5LENGTH)
23174 #define F_ULPTYPE5LENGTH V_ULPTYPE5LENGTH(1U)
23176 #define S_ULPTYPE5OFFSET 20
23177 #define M_ULPTYPE5OFFSET 0x7U
23178 #define V_ULPTYPE5OFFSET(x) ((x) << S_ULPTYPE5OFFSET)
23179 #define G_ULPTYPE5OFFSET(x) (((x) >> S_ULPTYPE5OFFSET) & M_ULPTYPE5OFFSET)
23181 #define S_ULPTYPE4LENGTH 19
23182 #define V_ULPTYPE4LENGTH(x) ((x) << S_ULPTYPE4LENGTH)
23183 #define F_ULPTYPE4LENGTH V_ULPTYPE4LENGTH(1U)
23185 #define S_ULPTYPE4OFFSET 16
23186 #define M_ULPTYPE4OFFSET 0x7U
23187 #define V_ULPTYPE4OFFSET(x) ((x) << S_ULPTYPE4OFFSET)
23188 #define G_ULPTYPE4OFFSET(x) (((x) >> S_ULPTYPE4OFFSET) & M_ULPTYPE4OFFSET)
23190 #define S_ULPTYPE3LENGTH 15
23191 #define V_ULPTYPE3LENGTH(x) ((x) << S_ULPTYPE3LENGTH)
23192 #define F_ULPTYPE3LENGTH V_ULPTYPE3LENGTH(1U)
23194 #define S_ULPTYPE3OFFSET 12
23195 #define M_ULPTYPE3OFFSET 0x7U
23196 #define V_ULPTYPE3OFFSET(x) ((x) << S_ULPTYPE3OFFSET)
23197 #define G_ULPTYPE3OFFSET(x) (((x) >> S_ULPTYPE3OFFSET) & M_ULPTYPE3OFFSET)
23199 #define S_ULPTYPE2LENGTH 11
23200 #define V_ULPTYPE2LENGTH(x) ((x) << S_ULPTYPE2LENGTH)
23201 #define F_ULPTYPE2LENGTH V_ULPTYPE2LENGTH(1U)
23203 #define S_ULPTYPE2OFFSET 8
23204 #define M_ULPTYPE2OFFSET 0x7U
23205 #define V_ULPTYPE2OFFSET(x) ((x) << S_ULPTYPE2OFFSET)
23206 #define G_ULPTYPE2OFFSET(x) (((x) >> S_ULPTYPE2OFFSET) & M_ULPTYPE2OFFSET)
23208 #define S_ULPTYPE1LENGTH 7
23209 #define V_ULPTYPE1LENGTH(x) ((x) << S_ULPTYPE1LENGTH)
23210 #define F_ULPTYPE1LENGTH V_ULPTYPE1LENGTH(1U)
23212 #define S_ULPTYPE1OFFSET 4
23213 #define M_ULPTYPE1OFFSET 0x7U
23214 #define V_ULPTYPE1OFFSET(x) ((x) << S_ULPTYPE1OFFSET)
23215 #define G_ULPTYPE1OFFSET(x) (((x) >> S_ULPTYPE1OFFSET) & M_ULPTYPE1OFFSET)
23217 #define S_ULPTYPE0LENGTH 3
23218 #define V_ULPTYPE0LENGTH(x) ((x) << S_ULPTYPE0LENGTH)
23219 #define F_ULPTYPE0LENGTH V_ULPTYPE0LENGTH(1U)
23221 #define S_ULPTYPE0OFFSET 0
23222 #define M_ULPTYPE0OFFSET 0x7U
23223 #define V_ULPTYPE0OFFSET(x) ((x) << S_ULPTYPE0OFFSET)
23224 #define G_ULPTYPE0OFFSET(x) (((x) >> S_ULPTYPE0OFFSET) & M_ULPTYPE0OFFSET)
23226 #define A_TP_RSS_LKP_TABLE 0x7dec
23228 #define S_LKPTBLROWVLD 31
23229 #define V_LKPTBLROWVLD(x) ((x) << S_LKPTBLROWVLD)
23230 #define F_LKPTBLROWVLD V_LKPTBLROWVLD(1U)
23232 #define S_LKPTBLROWIDX 20
23233 #define M_LKPTBLROWIDX 0x3ffU
23234 #define V_LKPTBLROWIDX(x) ((x) << S_LKPTBLROWIDX)
23235 #define G_LKPTBLROWIDX(x) (((x) >> S_LKPTBLROWIDX) & M_LKPTBLROWIDX)
23237 #define S_LKPTBLQUEUE1 10
23238 #define M_LKPTBLQUEUE1 0x3ffU
23239 #define V_LKPTBLQUEUE1(x) ((x) << S_LKPTBLQUEUE1)
23240 #define G_LKPTBLQUEUE1(x) (((x) >> S_LKPTBLQUEUE1) & M_LKPTBLQUEUE1)
23242 #define S_LKPTBLQUEUE0 0
23243 #define M_LKPTBLQUEUE0 0x3ffU
23244 #define V_LKPTBLQUEUE0(x) ((x) << S_LKPTBLQUEUE0)
23245 #define G_LKPTBLQUEUE0(x) (((x) >> S_LKPTBLQUEUE0) & M_LKPTBLQUEUE0)
23247 #define S_T6_LKPTBLROWIDX 20
23248 #define M_T6_LKPTBLROWIDX 0x7ffU
23249 #define V_T6_LKPTBLROWIDX(x) ((x) << S_T6_LKPTBLROWIDX)
23250 #define G_T6_LKPTBLROWIDX(x) (((x) >> S_T6_LKPTBLROWIDX) & M_T6_LKPTBLROWIDX)
23252 #define A_TP_RSS_CONFIG 0x7df0
23254 #define S_TNL4TUPENIPV6 31
23255 #define V_TNL4TUPENIPV6(x) ((x) << S_TNL4TUPENIPV6)
23256 #define F_TNL4TUPENIPV6 V_TNL4TUPENIPV6(1U)
23258 #define S_TNL2TUPENIPV6 30
23259 #define V_TNL2TUPENIPV6(x) ((x) << S_TNL2TUPENIPV6)
23260 #define F_TNL2TUPENIPV6 V_TNL2TUPENIPV6(1U)
23262 #define S_TNL4TUPENIPV4 29
23263 #define V_TNL4TUPENIPV4(x) ((x) << S_TNL4TUPENIPV4)
23264 #define F_TNL4TUPENIPV4 V_TNL4TUPENIPV4(1U)
23266 #define S_TNL2TUPENIPV4 28
23267 #define V_TNL2TUPENIPV4(x) ((x) << S_TNL2TUPENIPV4)
23268 #define F_TNL2TUPENIPV4 V_TNL2TUPENIPV4(1U)
23270 #define S_TNLTCPSEL 27
23271 #define V_TNLTCPSEL(x) ((x) << S_TNLTCPSEL)
23272 #define F_TNLTCPSEL V_TNLTCPSEL(1U)
23274 #define S_TNLIP6SEL 26
23275 #define V_TNLIP6SEL(x) ((x) << S_TNLIP6SEL)
23276 #define F_TNLIP6SEL V_TNLIP6SEL(1U)
23278 #define S_TNLVRTSEL 25
23279 #define V_TNLVRTSEL(x) ((x) << S_TNLVRTSEL)
23280 #define F_TNLVRTSEL V_TNLVRTSEL(1U)
23282 #define S_TNLMAPEN 24
23283 #define V_TNLMAPEN(x) ((x) << S_TNLMAPEN)
23284 #define F_TNLMAPEN V_TNLMAPEN(1U)
23286 #define S_OFDHASHSAVE 19
23287 #define V_OFDHASHSAVE(x) ((x) << S_OFDHASHSAVE)
23288 #define F_OFDHASHSAVE V_OFDHASHSAVE(1U)
23290 #define S_OFDVRTSEL 18
23291 #define V_OFDVRTSEL(x) ((x) << S_OFDVRTSEL)
23292 #define F_OFDVRTSEL V_OFDVRTSEL(1U)
23294 #define S_OFDMAPEN 17
23295 #define V_OFDMAPEN(x) ((x) << S_OFDMAPEN)
23296 #define F_OFDMAPEN V_OFDMAPEN(1U)
23298 #define S_OFDLKPEN 16
23299 #define V_OFDLKPEN(x) ((x) << S_OFDLKPEN)
23300 #define F_OFDLKPEN V_OFDLKPEN(1U)
23302 #define S_SYN4TUPENIPV6 15
23303 #define V_SYN4TUPENIPV6(x) ((x) << S_SYN4TUPENIPV6)
23304 #define F_SYN4TUPENIPV6 V_SYN4TUPENIPV6(1U)
23306 #define S_SYN2TUPENIPV6 14
23307 #define V_SYN2TUPENIPV6(x) ((x) << S_SYN2TUPENIPV6)
23308 #define F_SYN2TUPENIPV6 V_SYN2TUPENIPV6(1U)
23310 #define S_SYN4TUPENIPV4 13
23311 #define V_SYN4TUPENIPV4(x) ((x) << S_SYN4TUPENIPV4)
23312 #define F_SYN4TUPENIPV4 V_SYN4TUPENIPV4(1U)
23314 #define S_SYN2TUPENIPV4 12
23315 #define V_SYN2TUPENIPV4(x) ((x) << S_SYN2TUPENIPV4)
23316 #define F_SYN2TUPENIPV4 V_SYN2TUPENIPV4(1U)
23318 #define S_SYNIP6SEL 11
23319 #define V_SYNIP6SEL(x) ((x) << S_SYNIP6SEL)
23320 #define F_SYNIP6SEL V_SYNIP6SEL(1U)
23322 #define S_SYNVRTSEL 10
23323 #define V_SYNVRTSEL(x) ((x) << S_SYNVRTSEL)
23324 #define F_SYNVRTSEL V_SYNVRTSEL(1U)
23326 #define S_SYNMAPEN 9
23327 #define V_SYNMAPEN(x) ((x) << S_SYNMAPEN)
23328 #define F_SYNMAPEN V_SYNMAPEN(1U)
23330 #define S_SYNLKPEN 8
23331 #define V_SYNLKPEN(x) ((x) << S_SYNLKPEN)
23332 #define F_SYNLKPEN V_SYNLKPEN(1U)
23334 #define S_CHANNELENABLE 7
23335 #define V_CHANNELENABLE(x) ((x) << S_CHANNELENABLE)
23336 #define F_CHANNELENABLE V_CHANNELENABLE(1U)
23338 #define S_PORTENABLE 6
23339 #define V_PORTENABLE(x) ((x) << S_PORTENABLE)
23340 #define F_PORTENABLE V_PORTENABLE(1U)
23342 #define S_TNLALLLOOKUP 5
23343 #define V_TNLALLLOOKUP(x) ((x) << S_TNLALLLOOKUP)
23344 #define F_TNLALLLOOKUP V_TNLALLLOOKUP(1U)
23346 #define S_VIRTENABLE 4
23347 #define V_VIRTENABLE(x) ((x) << S_VIRTENABLE)
23348 #define F_VIRTENABLE V_VIRTENABLE(1U)
23350 #define S_CONGESTIONENABLE 3
23351 #define V_CONGESTIONENABLE(x) ((x) << S_CONGESTIONENABLE)
23352 #define F_CONGESTIONENABLE V_CONGESTIONENABLE(1U)
23354 #define S_HASHTOEPLITZ 2
23355 #define V_HASHTOEPLITZ(x) ((x) << S_HASHTOEPLITZ)
23356 #define F_HASHTOEPLITZ V_HASHTOEPLITZ(1U)
23358 #define S_UDPENABLE 1
23359 #define V_UDPENABLE(x) ((x) << S_UDPENABLE)
23360 #define F_UDPENABLE V_UDPENABLE(1U)
23362 #define S_DISABLE 0
23363 #define V_DISABLE(x) ((x) << S_DISABLE)
23364 #define F_DISABLE V_DISABLE(1U)
23366 #define S_TNLFCOEMODE 23
23367 #define V_TNLFCOEMODE(x) ((x) << S_TNLFCOEMODE)
23368 #define F_TNLFCOEMODE V_TNLFCOEMODE(1U)
23370 #define S_TNLFCOEEN 21
23371 #define V_TNLFCOEEN(x) ((x) << S_TNLFCOEEN)
23372 #define F_TNLFCOEEN V_TNLFCOEEN(1U)
23374 #define S_HASHXOR 20
23375 #define V_HASHXOR(x) ((x) << S_HASHXOR)
23376 #define F_HASHXOR V_HASHXOR(1U)
23378 #define S_TNLFCOESID 22
23379 #define V_TNLFCOESID(x) ((x) << S_TNLFCOESID)
23380 #define F_TNLFCOESID V_TNLFCOESID(1U)
23382 #define A_TP_RSS_CONFIG_TNL 0x7df4
23384 #define S_MASKSIZE 28
23385 #define M_MASKSIZE 0xfU
23386 #define V_MASKSIZE(x) ((x) << S_MASKSIZE)
23387 #define G_MASKSIZE(x) (((x) >> S_MASKSIZE) & M_MASKSIZE)
23389 #define S_MASKFILTER 16
23390 #define M_MASKFILTER 0x7ffU
23391 #define V_MASKFILTER(x) ((x) << S_MASKFILTER)
23392 #define G_MASKFILTER(x) (((x) >> S_MASKFILTER) & M_MASKFILTER)
23394 #define S_USEWIRECH 0
23395 #define V_USEWIRECH(x) ((x) << S_USEWIRECH)
23396 #define F_USEWIRECH V_USEWIRECH(1U)
23398 #define S_HASHALL 2
23399 #define V_HASHALL(x) ((x) << S_HASHALL)
23400 #define F_HASHALL V_HASHALL(1U)
23402 #define S_HASHETH 1
23403 #define V_HASHETH(x) ((x) << S_HASHETH)
23404 #define F_HASHETH V_HASHETH(1U)
23406 #define A_TP_RSS_CONFIG_OFD 0x7df8
23408 #define S_RRCPLMAPEN 20
23409 #define V_RRCPLMAPEN(x) ((x) << S_RRCPLMAPEN)
23410 #define F_RRCPLMAPEN V_RRCPLMAPEN(1U)
23412 #define S_RRCPLQUEWIDTH 16
23413 #define M_RRCPLQUEWIDTH 0xfU
23414 #define V_RRCPLQUEWIDTH(x) ((x) << S_RRCPLQUEWIDTH)
23415 #define G_RRCPLQUEWIDTH(x) (((x) >> S_RRCPLQUEWIDTH) & M_RRCPLQUEWIDTH)
23417 #define S_FRMWRQUEMASK 12
23418 #define M_FRMWRQUEMASK 0xfU
23419 #define V_FRMWRQUEMASK(x) ((x) << S_FRMWRQUEMASK)
23420 #define G_FRMWRQUEMASK(x) (((x) >> S_FRMWRQUEMASK) & M_FRMWRQUEMASK)
23422 #define A_TP_RSS_CONFIG_SYN 0x7dfc
23423 #define A_TP_RSS_CONFIG_VRT 0x7e00
23425 #define S_VFRDRG 25
23426 #define V_VFRDRG(x) ((x) << S_VFRDRG)
23427 #define F_VFRDRG V_VFRDRG(1U)
23429 #define S_VFRDEN 24
23430 #define V_VFRDEN(x) ((x) << S_VFRDEN)
23431 #define F_VFRDEN V_VFRDEN(1U)
23433 #define S_VFPERREN 23
23434 #define V_VFPERREN(x) ((x) << S_VFPERREN)
23435 #define F_VFPERREN V_VFPERREN(1U)
23437 #define S_KEYPERREN 22
23438 #define V_KEYPERREN(x) ((x) << S_KEYPERREN)
23439 #define F_KEYPERREN V_KEYPERREN(1U)
23441 #define S_DISABLEVLAN 21
23442 #define V_DISABLEVLAN(x) ((x) << S_DISABLEVLAN)
23443 #define F_DISABLEVLAN V_DISABLEVLAN(1U)
23445 #define S_ENABLEUP0 20
23446 #define V_ENABLEUP0(x) ((x) << S_ENABLEUP0)
23447 #define F_ENABLEUP0 V_ENABLEUP0(1U)
23449 #define S_HASHDELAY 16
23450 #define M_HASHDELAY 0xfU
23451 #define V_HASHDELAY(x) ((x) << S_HASHDELAY)
23452 #define G_HASHDELAY(x) (((x) >> S_HASHDELAY) & M_HASHDELAY)
23454 #define S_VFWRADDR 8
23455 #define M_VFWRADDR 0x7fU
23456 #define V_VFWRADDR(x) ((x) << S_VFWRADDR)
23457 #define G_VFWRADDR(x) (((x) >> S_VFWRADDR) & M_VFWRADDR)
23459 #define S_KEYMODE 6
23460 #define M_KEYMODE 0x3U
23461 #define V_KEYMODE(x) ((x) << S_KEYMODE)
23462 #define G_KEYMODE(x) (((x) >> S_KEYMODE) & M_KEYMODE)
23465 #define V_VFWREN(x) ((x) << S_VFWREN)
23466 #define F_VFWREN V_VFWREN(1U)
23468 #define S_KEYWREN 4
23469 #define V_KEYWREN(x) ((x) << S_KEYWREN)
23470 #define F_KEYWREN V_KEYWREN(1U)
23472 #define S_KEYWRADDR 0
23473 #define M_KEYWRADDR 0xfU
23474 #define V_KEYWRADDR(x) ((x) << S_KEYWRADDR)
23475 #define G_KEYWRADDR(x) (((x) >> S_KEYWRADDR) & M_KEYWRADDR)
23477 #define S_VFVLANEN 21
23478 #define V_VFVLANEN(x) ((x) << S_VFVLANEN)
23479 #define F_VFVLANEN V_VFVLANEN(1U)
23481 #define S_VFFWEN 20
23482 #define V_VFFWEN(x) ((x) << S_VFFWEN)
23483 #define F_VFFWEN V_VFFWEN(1U)
23485 #define S_KEYWRADDRX 30
23486 #define M_KEYWRADDRX 0x3U
23487 #define V_KEYWRADDRX(x) ((x) << S_KEYWRADDRX)
23488 #define G_KEYWRADDRX(x) (((x) >> S_KEYWRADDRX) & M_KEYWRADDRX)
23490 #define S_KEYEXTEND 26
23491 #define V_KEYEXTEND(x) ((x) << S_KEYEXTEND)
23492 #define F_KEYEXTEND V_KEYEXTEND(1U)
23494 #define S_T6_VFWRADDR 8
23495 #define M_T6_VFWRADDR 0xffU
23496 #define V_T6_VFWRADDR(x) ((x) << S_T6_VFWRADDR)
23497 #define G_T6_VFWRADDR(x) (((x) >> S_T6_VFWRADDR) & M_T6_VFWRADDR)
23499 #define A_TP_RSS_CONFIG_CNG 0x7e04
23501 #define S_CHNCOUNT3 31
23502 #define V_CHNCOUNT3(x) ((x) << S_CHNCOUNT3)
23503 #define F_CHNCOUNT3 V_CHNCOUNT3(1U)
23505 #define S_CHNCOUNT2 30
23506 #define V_CHNCOUNT2(x) ((x) << S_CHNCOUNT2)
23507 #define F_CHNCOUNT2 V_CHNCOUNT2(1U)
23509 #define S_CHNCOUNT1 29
23510 #define V_CHNCOUNT1(x) ((x) << S_CHNCOUNT1)
23511 #define F_CHNCOUNT1 V_CHNCOUNT1(1U)
23513 #define S_CHNCOUNT0 28
23514 #define V_CHNCOUNT0(x) ((x) << S_CHNCOUNT0)
23515 #define F_CHNCOUNT0 V_CHNCOUNT0(1U)
23517 #define S_CHNUNDFLOW3 27
23518 #define V_CHNUNDFLOW3(x) ((x) << S_CHNUNDFLOW3)
23519 #define F_CHNUNDFLOW3 V_CHNUNDFLOW3(1U)
23521 #define S_CHNUNDFLOW2 26
23522 #define V_CHNUNDFLOW2(x) ((x) << S_CHNUNDFLOW2)
23523 #define F_CHNUNDFLOW2 V_CHNUNDFLOW2(1U)
23525 #define S_CHNUNDFLOW1 25
23526 #define V_CHNUNDFLOW1(x) ((x) << S_CHNUNDFLOW1)
23527 #define F_CHNUNDFLOW1 V_CHNUNDFLOW1(1U)
23529 #define S_CHNUNDFLOW0 24
23530 #define V_CHNUNDFLOW0(x) ((x) << S_CHNUNDFLOW0)
23531 #define F_CHNUNDFLOW0 V_CHNUNDFLOW0(1U)
23533 #define S_CHNOVRFLOW3 23
23534 #define V_CHNOVRFLOW3(x) ((x) << S_CHNOVRFLOW3)
23535 #define F_CHNOVRFLOW3 V_CHNOVRFLOW3(1U)
23537 #define S_CHNOVRFLOW2 22
23538 #define V_CHNOVRFLOW2(x) ((x) << S_CHNOVRFLOW2)
23539 #define F_CHNOVRFLOW2 V_CHNOVRFLOW2(1U)
23541 #define S_CHNOVRFLOW1 21
23542 #define V_CHNOVRFLOW1(x) ((x) << S_CHNOVRFLOW1)
23543 #define F_CHNOVRFLOW1 V_CHNOVRFLOW1(1U)
23545 #define S_CHNOVRFLOW0 20
23546 #define V_CHNOVRFLOW0(x) ((x) << S_CHNOVRFLOW0)
23547 #define F_CHNOVRFLOW0 V_CHNOVRFLOW0(1U)
23549 #define S_RSTCHN3 19
23550 #define V_RSTCHN3(x) ((x) << S_RSTCHN3)
23551 #define F_RSTCHN3 V_RSTCHN3(1U)
23553 #define S_RSTCHN2 18
23554 #define V_RSTCHN2(x) ((x) << S_RSTCHN2)
23555 #define F_RSTCHN2 V_RSTCHN2(1U)
23557 #define S_RSTCHN1 17
23558 #define V_RSTCHN1(x) ((x) << S_RSTCHN1)
23559 #define F_RSTCHN1 V_RSTCHN1(1U)
23561 #define S_RSTCHN0 16
23562 #define V_RSTCHN0(x) ((x) << S_RSTCHN0)
23563 #define F_RSTCHN0 V_RSTCHN0(1U)
23565 #define S_UPDVLD 15
23566 #define V_UPDVLD(x) ((x) << S_UPDVLD)
23567 #define F_UPDVLD V_UPDVLD(1U)
23570 #define V_XOFF(x) ((x) << S_XOFF)
23571 #define F_XOFF V_XOFF(1U)
23573 #define S_UPDCHN3 13
23574 #define V_UPDCHN3(x) ((x) << S_UPDCHN3)
23575 #define F_UPDCHN3 V_UPDCHN3(1U)
23577 #define S_UPDCHN2 12
23578 #define V_UPDCHN2(x) ((x) << S_UPDCHN2)
23579 #define F_UPDCHN2 V_UPDCHN2(1U)
23581 #define S_UPDCHN1 11
23582 #define V_UPDCHN1(x) ((x) << S_UPDCHN1)
23583 #define F_UPDCHN1 V_UPDCHN1(1U)
23585 #define S_UPDCHN0 10
23586 #define V_UPDCHN0(x) ((x) << S_UPDCHN0)
23587 #define F_UPDCHN0 V_UPDCHN0(1U)
23590 #define M_QUEUE 0x3ffU
23591 #define V_QUEUE(x) ((x) << S_QUEUE)
23592 #define G_QUEUE(x) (((x) >> S_QUEUE) & M_QUEUE)
23594 #define A_TP_LA_TABLE_0 0x7e10
23596 #define S_VIRTPORT1TABLE 16
23597 #define M_VIRTPORT1TABLE 0xffffU
23598 #define V_VIRTPORT1TABLE(x) ((x) << S_VIRTPORT1TABLE)
23599 #define G_VIRTPORT1TABLE(x) (((x) >> S_VIRTPORT1TABLE) & M_VIRTPORT1TABLE)
23601 #define S_VIRTPORT0TABLE 0
23602 #define M_VIRTPORT0TABLE 0xffffU
23603 #define V_VIRTPORT0TABLE(x) ((x) << S_VIRTPORT0TABLE)
23604 #define G_VIRTPORT0TABLE(x) (((x) >> S_VIRTPORT0TABLE) & M_VIRTPORT0TABLE)
23606 #define A_TP_LA_TABLE_1 0x7e14
23608 #define S_VIRTPORT3TABLE 16
23609 #define M_VIRTPORT3TABLE 0xffffU
23610 #define V_VIRTPORT3TABLE(x) ((x) << S_VIRTPORT3TABLE)
23611 #define G_VIRTPORT3TABLE(x) (((x) >> S_VIRTPORT3TABLE) & M_VIRTPORT3TABLE)
23613 #define S_VIRTPORT2TABLE 0
23614 #define M_VIRTPORT2TABLE 0xffffU
23615 #define V_VIRTPORT2TABLE(x) ((x) << S_VIRTPORT2TABLE)
23616 #define G_VIRTPORT2TABLE(x) (((x) >> S_VIRTPORT2TABLE) & M_VIRTPORT2TABLE)
23618 #define A_TP_TM_PIO_ADDR 0x7e18
23619 #define A_TP_TM_PIO_DATA 0x7e1c
23620 #define A_TP_MOD_CONFIG 0x7e24
23622 #define S_RXCHANNELWEIGHT1 24
23623 #define M_RXCHANNELWEIGHT1 0xffU
23624 #define V_RXCHANNELWEIGHT1(x) ((x) << S_RXCHANNELWEIGHT1)
23625 #define G_RXCHANNELWEIGHT1(x) (((x) >> S_RXCHANNELWEIGHT1) & M_RXCHANNELWEIGHT1)
23627 #define S_RXCHANNELWEIGHT0 16
23628 #define M_RXCHANNELWEIGHT0 0xffU
23629 #define V_RXCHANNELWEIGHT0(x) ((x) << S_RXCHANNELWEIGHT0)
23630 #define G_RXCHANNELWEIGHT0(x) (((x) >> S_RXCHANNELWEIGHT0) & M_RXCHANNELWEIGHT0)
23632 #define S_TIMERMODE 8
23633 #define M_TIMERMODE 0xffU
23634 #define V_TIMERMODE(x) ((x) << S_TIMERMODE)
23635 #define G_TIMERMODE(x) (((x) >> S_TIMERMODE) & M_TIMERMODE)
23637 #define S_TXCHANNELXOFFEN 0
23638 #define M_TXCHANNELXOFFEN 0xfU
23639 #define V_TXCHANNELXOFFEN(x) ((x) << S_TXCHANNELXOFFEN)
23640 #define G_TXCHANNELXOFFEN(x) (((x) >> S_TXCHANNELXOFFEN) & M_TXCHANNELXOFFEN)
23642 #define A_TP_TX_MOD_QUEUE_REQ_MAP 0x7e28
23644 #define S_RX_MOD_WEIGHT 24
23645 #define M_RX_MOD_WEIGHT 0xffU
23646 #define V_RX_MOD_WEIGHT(x) ((x) << S_RX_MOD_WEIGHT)
23647 #define G_RX_MOD_WEIGHT(x) (((x) >> S_RX_MOD_WEIGHT) & M_RX_MOD_WEIGHT)
23649 #define S_TX_MOD_WEIGHT 16
23650 #define M_TX_MOD_WEIGHT 0xffU
23651 #define V_TX_MOD_WEIGHT(x) ((x) << S_TX_MOD_WEIGHT)
23652 #define G_TX_MOD_WEIGHT(x) (((x) >> S_TX_MOD_WEIGHT) & M_TX_MOD_WEIGHT)
23654 #define S_TX_MOD_QUEUE_REQ_MAP 0
23655 #define M_TX_MOD_QUEUE_REQ_MAP 0xffffU
23656 #define V_TX_MOD_QUEUE_REQ_MAP(x) ((x) << S_TX_MOD_QUEUE_REQ_MAP)
23657 #define G_TX_MOD_QUEUE_REQ_MAP(x) (((x) >> S_TX_MOD_QUEUE_REQ_MAP) & M_TX_MOD_QUEUE_REQ_MAP)
23659 #define A_TP_TX_MOD_QUEUE_WEIGHT1 0x7e2c
23661 #define S_TX_MODQ_WEIGHT7 24
23662 #define M_TX_MODQ_WEIGHT7 0xffU
23663 #define V_TX_MODQ_WEIGHT7(x) ((x) << S_TX_MODQ_WEIGHT7)
23664 #define G_TX_MODQ_WEIGHT7(x) (((x) >> S_TX_MODQ_WEIGHT7) & M_TX_MODQ_WEIGHT7)
23666 #define S_TX_MODQ_WEIGHT6 16
23667 #define M_TX_MODQ_WEIGHT6 0xffU
23668 #define V_TX_MODQ_WEIGHT6(x) ((x) << S_TX_MODQ_WEIGHT6)
23669 #define G_TX_MODQ_WEIGHT6(x) (((x) >> S_TX_MODQ_WEIGHT6) & M_TX_MODQ_WEIGHT6)
23671 #define S_TX_MODQ_WEIGHT5 8
23672 #define M_TX_MODQ_WEIGHT5 0xffU
23673 #define V_TX_MODQ_WEIGHT5(x) ((x) << S_TX_MODQ_WEIGHT5)
23674 #define G_TX_MODQ_WEIGHT5(x) (((x) >> S_TX_MODQ_WEIGHT5) & M_TX_MODQ_WEIGHT5)
23676 #define S_TX_MODQ_WEIGHT4 0
23677 #define M_TX_MODQ_WEIGHT4 0xffU
23678 #define V_TX_MODQ_WEIGHT4(x) ((x) << S_TX_MODQ_WEIGHT4)
23679 #define G_TX_MODQ_WEIGHT4(x) (((x) >> S_TX_MODQ_WEIGHT4) & M_TX_MODQ_WEIGHT4)
23681 #define A_TP_TX_MOD_QUEUE_WEIGHT0 0x7e30
23683 #define S_TX_MODQ_WEIGHT3 24
23684 #define M_TX_MODQ_WEIGHT3 0xffU
23685 #define V_TX_MODQ_WEIGHT3(x) ((x) << S_TX_MODQ_WEIGHT3)
23686 #define G_TX_MODQ_WEIGHT3(x) (((x) >> S_TX_MODQ_WEIGHT3) & M_TX_MODQ_WEIGHT3)
23688 #define S_TX_MODQ_WEIGHT2 16
23689 #define M_TX_MODQ_WEIGHT2 0xffU
23690 #define V_TX_MODQ_WEIGHT2(x) ((x) << S_TX_MODQ_WEIGHT2)
23691 #define G_TX_MODQ_WEIGHT2(x) (((x) >> S_TX_MODQ_WEIGHT2) & M_TX_MODQ_WEIGHT2)
23693 #define S_TX_MODQ_WEIGHT1 8
23694 #define M_TX_MODQ_WEIGHT1 0xffU
23695 #define V_TX_MODQ_WEIGHT1(x) ((x) << S_TX_MODQ_WEIGHT1)
23696 #define G_TX_MODQ_WEIGHT1(x) (((x) >> S_TX_MODQ_WEIGHT1) & M_TX_MODQ_WEIGHT1)
23698 #define S_TX_MODQ_WEIGHT0 0
23699 #define M_TX_MODQ_WEIGHT0 0xffU
23700 #define V_TX_MODQ_WEIGHT0(x) ((x) << S_TX_MODQ_WEIGHT0)
23701 #define G_TX_MODQ_WEIGHT0(x) (((x) >> S_TX_MODQ_WEIGHT0) & M_TX_MODQ_WEIGHT0)
23703 #define A_TP_TX_MOD_CHANNEL_WEIGHT 0x7e34
23704 #define A_TP_MOD_RATE_LIMIT 0x7e38
23706 #define S_RX_MOD_RATE_LIMIT_INC 24
23707 #define M_RX_MOD_RATE_LIMIT_INC 0xffU
23708 #define V_RX_MOD_RATE_LIMIT_INC(x) ((x) << S_RX_MOD_RATE_LIMIT_INC)
23709 #define G_RX_MOD_RATE_LIMIT_INC(x) (((x) >> S_RX_MOD_RATE_LIMIT_INC) & M_RX_MOD_RATE_LIMIT_INC)
23711 #define S_RX_MOD_RATE_LIMIT_TICK 16
23712 #define M_RX_MOD_RATE_LIMIT_TICK 0xffU
23713 #define V_RX_MOD_RATE_LIMIT_TICK(x) ((x) << S_RX_MOD_RATE_LIMIT_TICK)
23714 #define G_RX_MOD_RATE_LIMIT_TICK(x) (((x) >> S_RX_MOD_RATE_LIMIT_TICK) & M_RX_MOD_RATE_LIMIT_TICK)
23716 #define S_TX_MOD_RATE_LIMIT_INC 8
23717 #define M_TX_MOD_RATE_LIMIT_INC 0xffU
23718 #define V_TX_MOD_RATE_LIMIT_INC(x) ((x) << S_TX_MOD_RATE_LIMIT_INC)
23719 #define G_TX_MOD_RATE_LIMIT_INC(x) (((x) >> S_TX_MOD_RATE_LIMIT_INC) & M_TX_MOD_RATE_LIMIT_INC)
23721 #define S_TX_MOD_RATE_LIMIT_TICK 0
23722 #define M_TX_MOD_RATE_LIMIT_TICK 0xffU
23723 #define V_TX_MOD_RATE_LIMIT_TICK(x) ((x) << S_TX_MOD_RATE_LIMIT_TICK)
23724 #define G_TX_MOD_RATE_LIMIT_TICK(x) (((x) >> S_TX_MOD_RATE_LIMIT_TICK) & M_TX_MOD_RATE_LIMIT_TICK)
23726 #define A_TP_PIO_ADDR 0x7e40
23727 #define A_TP_PIO_DATA 0x7e44
23728 #define A_TP_RESET 0x7e4c
23730 #define S_FLSTINITENABLE 1
23731 #define V_FLSTINITENABLE(x) ((x) << S_FLSTINITENABLE)
23732 #define F_FLSTINITENABLE V_FLSTINITENABLE(1U)
23734 #define S_TPRESET 0
23735 #define V_TPRESET(x) ((x) << S_TPRESET)
23736 #define F_TPRESET V_TPRESET(1U)
23738 #define A_TP_MIB_INDEX 0x7e50
23739 #define A_TP_MIB_DATA 0x7e54
23740 #define A_TP_SYNC_TIME_HI 0x7e58
23741 #define A_TP_SYNC_TIME_LO 0x7e5c
23742 #define A_TP_CMM_MM_RX_FLST_BASE 0x7e60
23743 #define A_TP_CMM_MM_TX_FLST_BASE 0x7e64
23744 #define A_TP_CMM_MM_PS_FLST_BASE 0x7e68
23745 #define A_TP_CMM_MM_MAX_PSTRUCT 0x7e6c
23747 #define S_CMMAXPSTRUCT 0
23748 #define M_CMMAXPSTRUCT 0x1fffffU
23749 #define V_CMMAXPSTRUCT(x) ((x) << S_CMMAXPSTRUCT)
23750 #define G_CMMAXPSTRUCT(x) (((x) >> S_CMMAXPSTRUCT) & M_CMMAXPSTRUCT)
23752 #define A_TP_INT_ENABLE 0x7e70
23754 #define S_FLMTXFLSTEMPTY 30
23755 #define V_FLMTXFLSTEMPTY(x) ((x) << S_FLMTXFLSTEMPTY)
23756 #define F_FLMTXFLSTEMPTY V_FLMTXFLSTEMPTY(1U)
23758 #define S_RSSLKPPERR 29
23759 #define V_RSSLKPPERR(x) ((x) << S_RSSLKPPERR)
23760 #define F_RSSLKPPERR V_RSSLKPPERR(1U)
23762 #define S_FLMPERRSET 28
23763 #define V_FLMPERRSET(x) ((x) << S_FLMPERRSET)
23764 #define F_FLMPERRSET V_FLMPERRSET(1U)
23766 #define S_PROTOCOLSRAMPERR 27
23767 #define V_PROTOCOLSRAMPERR(x) ((x) << S_PROTOCOLSRAMPERR)
23768 #define F_PROTOCOLSRAMPERR V_PROTOCOLSRAMPERR(1U)
23770 #define S_ARPLUTPERR 26
23771 #define V_ARPLUTPERR(x) ((x) << S_ARPLUTPERR)
23772 #define F_ARPLUTPERR V_ARPLUTPERR(1U)
23774 #define S_CMRCFOPPERR 25
23775 #define V_CMRCFOPPERR(x) ((x) << S_CMRCFOPPERR)
23776 #define F_CMRCFOPPERR V_CMRCFOPPERR(1U)
23778 #define S_CMCACHEPERR 24
23779 #define V_CMCACHEPERR(x) ((x) << S_CMCACHEPERR)
23780 #define F_CMCACHEPERR V_CMCACHEPERR(1U)
23782 #define S_CMRCFDATAPERR 23
23783 #define V_CMRCFDATAPERR(x) ((x) << S_CMRCFDATAPERR)
23784 #define F_CMRCFDATAPERR V_CMRCFDATAPERR(1U)
23786 #define S_DBL2TLUTPERR 22
23787 #define V_DBL2TLUTPERR(x) ((x) << S_DBL2TLUTPERR)
23788 #define F_DBL2TLUTPERR V_DBL2TLUTPERR(1U)
23790 #define S_DBTXTIDPERR 21
23791 #define V_DBTXTIDPERR(x) ((x) << S_DBTXTIDPERR)
23792 #define F_DBTXTIDPERR V_DBTXTIDPERR(1U)
23794 #define S_DBEXTPERR 20
23795 #define V_DBEXTPERR(x) ((x) << S_DBEXTPERR)
23796 #define F_DBEXTPERR V_DBEXTPERR(1U)
23798 #define S_DBOPPERR 19
23799 #define V_DBOPPERR(x) ((x) << S_DBOPPERR)
23800 #define F_DBOPPERR V_DBOPPERR(1U)
23802 #define S_TMCACHEPERR 18
23803 #define V_TMCACHEPERR(x) ((x) << S_TMCACHEPERR)
23804 #define F_TMCACHEPERR V_TMCACHEPERR(1U)
23806 #define S_ETPOUTCPLFIFOPERR 17
23807 #define V_ETPOUTCPLFIFOPERR(x) ((x) << S_ETPOUTCPLFIFOPERR)
23808 #define F_ETPOUTCPLFIFOPERR V_ETPOUTCPLFIFOPERR(1U)
23810 #define S_ETPOUTTCPFIFOPERR 16
23811 #define V_ETPOUTTCPFIFOPERR(x) ((x) << S_ETPOUTTCPFIFOPERR)
23812 #define F_ETPOUTTCPFIFOPERR V_ETPOUTTCPFIFOPERR(1U)
23814 #define S_ETPOUTIPFIFOPERR 15
23815 #define V_ETPOUTIPFIFOPERR(x) ((x) << S_ETPOUTIPFIFOPERR)
23816 #define F_ETPOUTIPFIFOPERR V_ETPOUTIPFIFOPERR(1U)
23818 #define S_ETPOUTETHFIFOPERR 14
23819 #define V_ETPOUTETHFIFOPERR(x) ((x) << S_ETPOUTETHFIFOPERR)
23820 #define F_ETPOUTETHFIFOPERR V_ETPOUTETHFIFOPERR(1U)
23822 #define S_ETPINCPLFIFOPERR 13
23823 #define V_ETPINCPLFIFOPERR(x) ((x) << S_ETPINCPLFIFOPERR)
23824 #define F_ETPINCPLFIFOPERR V_ETPINCPLFIFOPERR(1U)
23826 #define S_ETPINTCPOPTFIFOPERR 12
23827 #define V_ETPINTCPOPTFIFOPERR(x) ((x) << S_ETPINTCPOPTFIFOPERR)
23828 #define F_ETPINTCPOPTFIFOPERR V_ETPINTCPOPTFIFOPERR(1U)
23830 #define S_ETPINTCPFIFOPERR 11
23831 #define V_ETPINTCPFIFOPERR(x) ((x) << S_ETPINTCPFIFOPERR)
23832 #define F_ETPINTCPFIFOPERR V_ETPINTCPFIFOPERR(1U)
23834 #define S_ETPINIPFIFOPERR 10
23835 #define V_ETPINIPFIFOPERR(x) ((x) << S_ETPINIPFIFOPERR)
23836 #define F_ETPINIPFIFOPERR V_ETPINIPFIFOPERR(1U)
23838 #define S_ETPINETHFIFOPERR 9
23839 #define V_ETPINETHFIFOPERR(x) ((x) << S_ETPINETHFIFOPERR)
23840 #define F_ETPINETHFIFOPERR V_ETPINETHFIFOPERR(1U)
23842 #define S_CTPOUTCPLFIFOPERR 8
23843 #define V_CTPOUTCPLFIFOPERR(x) ((x) << S_CTPOUTCPLFIFOPERR)
23844 #define F_CTPOUTCPLFIFOPERR V_CTPOUTCPLFIFOPERR(1U)
23846 #define S_CTPOUTTCPFIFOPERR 7
23847 #define V_CTPOUTTCPFIFOPERR(x) ((x) << S_CTPOUTTCPFIFOPERR)
23848 #define F_CTPOUTTCPFIFOPERR V_CTPOUTTCPFIFOPERR(1U)
23850 #define S_CTPOUTIPFIFOPERR 6
23851 #define V_CTPOUTIPFIFOPERR(x) ((x) << S_CTPOUTIPFIFOPERR)
23852 #define F_CTPOUTIPFIFOPERR V_CTPOUTIPFIFOPERR(1U)
23854 #define S_CTPOUTETHFIFOPERR 5
23855 #define V_CTPOUTETHFIFOPERR(x) ((x) << S_CTPOUTETHFIFOPERR)
23856 #define F_CTPOUTETHFIFOPERR V_CTPOUTETHFIFOPERR(1U)
23858 #define S_CTPINCPLFIFOPERR 4
23859 #define V_CTPINCPLFIFOPERR(x) ((x) << S_CTPINCPLFIFOPERR)
23860 #define F_CTPINCPLFIFOPERR V_CTPINCPLFIFOPERR(1U)
23862 #define S_CTPINTCPOPFIFOPERR 3
23863 #define V_CTPINTCPOPFIFOPERR(x) ((x) << S_CTPINTCPOPFIFOPERR)
23864 #define F_CTPINTCPOPFIFOPERR V_CTPINTCPOPFIFOPERR(1U)
23866 #define S_PDUFBKFIFOPERR 2
23867 #define V_PDUFBKFIFOPERR(x) ((x) << S_PDUFBKFIFOPERR)
23868 #define F_PDUFBKFIFOPERR V_PDUFBKFIFOPERR(1U)
23870 #define S_CMOPEXTFIFOPERR 1
23871 #define V_CMOPEXTFIFOPERR(x) ((x) << S_CMOPEXTFIFOPERR)
23872 #define F_CMOPEXTFIFOPERR V_CMOPEXTFIFOPERR(1U)
23874 #define S_DELINVFIFOPERR 0
23875 #define V_DELINVFIFOPERR(x) ((x) << S_DELINVFIFOPERR)
23876 #define F_DELINVFIFOPERR V_DELINVFIFOPERR(1U)
23878 #define S_CTPOUTPLDFIFOPERR 7
23879 #define V_CTPOUTPLDFIFOPERR(x) ((x) << S_CTPOUTPLDFIFOPERR)
23880 #define F_CTPOUTPLDFIFOPERR V_CTPOUTPLDFIFOPERR(1U)
23882 #define S_SRQTABLEPERR 1
23883 #define V_SRQTABLEPERR(x) ((x) << S_SRQTABLEPERR)
23884 #define F_SRQTABLEPERR V_SRQTABLEPERR(1U)
23886 #define A_TP_INT_CAUSE 0x7e74
23887 #define A_TP_PER_ENABLE 0x7e78
23888 #define A_TP_FLM_FREE_PS_CNT 0x7e80
23890 #define S_FREEPSTRUCTCOUNT 0
23891 #define M_FREEPSTRUCTCOUNT 0x1fffffU
23892 #define V_FREEPSTRUCTCOUNT(x) ((x) << S_FREEPSTRUCTCOUNT)
23893 #define G_FREEPSTRUCTCOUNT(x) (((x) >> S_FREEPSTRUCTCOUNT) & M_FREEPSTRUCTCOUNT)
23895 #define A_TP_FLM_FREE_RX_CNT 0x7e84
23897 #define S_FREERXPAGECHN 28
23898 #define V_FREERXPAGECHN(x) ((x) << S_FREERXPAGECHN)
23899 #define F_FREERXPAGECHN V_FREERXPAGECHN(1U)
23901 #define S_FREERXPAGECOUNT 0
23902 #define M_FREERXPAGECOUNT 0x1fffffU
23903 #define V_FREERXPAGECOUNT(x) ((x) << S_FREERXPAGECOUNT)
23904 #define G_FREERXPAGECOUNT(x) (((x) >> S_FREERXPAGECOUNT) & M_FREERXPAGECOUNT)
23906 #define A_TP_FLM_FREE_TX_CNT 0x7e88
23908 #define S_FREETXPAGECHN 28
23909 #define M_FREETXPAGECHN 0x3U
23910 #define V_FREETXPAGECHN(x) ((x) << S_FREETXPAGECHN)
23911 #define G_FREETXPAGECHN(x) (((x) >> S_FREETXPAGECHN) & M_FREETXPAGECHN)
23913 #define S_FREETXPAGECOUNT 0
23914 #define M_FREETXPAGECOUNT 0x1fffffU
23915 #define V_FREETXPAGECOUNT(x) ((x) << S_FREETXPAGECOUNT)
23916 #define G_FREETXPAGECOUNT(x) (((x) >> S_FREETXPAGECOUNT) & M_FREETXPAGECOUNT)
23918 #define A_TP_TM_HEAP_PUSH_CNT 0x7e8c
23919 #define A_TP_TM_HEAP_POP_CNT 0x7e90
23920 #define A_TP_TM_DACK_PUSH_CNT 0x7e94
23921 #define A_TP_TM_DACK_POP_CNT 0x7e98
23922 #define A_TP_TM_MOD_PUSH_CNT 0x7e9c
23923 #define A_TP_MOD_POP_CNT 0x7ea0
23924 #define A_TP_TIMER_SEPARATOR 0x7ea4
23926 #define S_TIMERSEPARATOR 16
23927 #define M_TIMERSEPARATOR 0xffffU
23928 #define V_TIMERSEPARATOR(x) ((x) << S_TIMERSEPARATOR)
23929 #define G_TIMERSEPARATOR(x) (((x) >> S_TIMERSEPARATOR) & M_TIMERSEPARATOR)
23931 #define S_DISABLETIMEFREEZE 0
23932 #define V_DISABLETIMEFREEZE(x) ((x) << S_DISABLETIMEFREEZE)
23933 #define F_DISABLETIMEFREEZE V_DISABLETIMEFREEZE(1U)
23935 #define A_TP_STAMP_TIME 0x7ea8
23936 #define A_TP_DEBUG_FLAGS 0x7eac
23938 #define S_RXTIMERDACKFIRST 26
23939 #define V_RXTIMERDACKFIRST(x) ((x) << S_RXTIMERDACKFIRST)
23940 #define F_RXTIMERDACKFIRST V_RXTIMERDACKFIRST(1U)
23942 #define S_RXTIMERDACK 25
23943 #define V_RXTIMERDACK(x) ((x) << S_RXTIMERDACK)
23944 #define F_RXTIMERDACK V_RXTIMERDACK(1U)
23946 #define S_RXTIMERHEARTBEAT 24
23947 #define V_RXTIMERHEARTBEAT(x) ((x) << S_RXTIMERHEARTBEAT)
23948 #define F_RXTIMERHEARTBEAT V_RXTIMERHEARTBEAT(1U)
23950 #define S_RXPAWSDROP 23
23951 #define V_RXPAWSDROP(x) ((x) << S_RXPAWSDROP)
23952 #define F_RXPAWSDROP V_RXPAWSDROP(1U)
23954 #define S_RXURGDATADROP 22
23955 #define V_RXURGDATADROP(x) ((x) << S_RXURGDATADROP)
23956 #define F_RXURGDATADROP V_RXURGDATADROP(1U)
23958 #define S_RXFUTUREDATA 21
23959 #define V_RXFUTUREDATA(x) ((x) << S_RXFUTUREDATA)
23960 #define F_RXFUTUREDATA V_RXFUTUREDATA(1U)
23962 #define S_RXRCVRXMDATA 20
23963 #define V_RXRCVRXMDATA(x) ((x) << S_RXRCVRXMDATA)
23964 #define F_RXRCVRXMDATA V_RXRCVRXMDATA(1U)
23966 #define S_RXRCVOOODATAFIN 19
23967 #define V_RXRCVOOODATAFIN(x) ((x) << S_RXRCVOOODATAFIN)
23968 #define F_RXRCVOOODATAFIN V_RXRCVOOODATAFIN(1U)
23970 #define S_RXRCVOOODATA 18
23971 #define V_RXRCVOOODATA(x) ((x) << S_RXRCVOOODATA)
23972 #define F_RXRCVOOODATA V_RXRCVOOODATA(1U)
23974 #define S_RXRCVWNDZERO 17
23975 #define V_RXRCVWNDZERO(x) ((x) << S_RXRCVWNDZERO)
23976 #define F_RXRCVWNDZERO V_RXRCVWNDZERO(1U)
23978 #define S_RXRCVWNDLTMSS 16
23979 #define V_RXRCVWNDLTMSS(x) ((x) << S_RXRCVWNDLTMSS)
23980 #define F_RXRCVWNDLTMSS V_RXRCVWNDLTMSS(1U)
23982 #define S_TXDUPACKINC 11
23983 #define V_TXDUPACKINC(x) ((x) << S_TXDUPACKINC)
23984 #define F_TXDUPACKINC V_TXDUPACKINC(1U)
23986 #define S_TXRXMURG 10
23987 #define V_TXRXMURG(x) ((x) << S_TXRXMURG)
23988 #define F_TXRXMURG V_TXRXMURG(1U)
23990 #define S_TXRXMFIN 9
23991 #define V_TXRXMFIN(x) ((x) << S_TXRXMFIN)
23992 #define F_TXRXMFIN V_TXRXMFIN(1U)
23994 #define S_TXRXMSYN 8
23995 #define V_TXRXMSYN(x) ((x) << S_TXRXMSYN)
23996 #define F_TXRXMSYN V_TXRXMSYN(1U)
23998 #define S_TXRXMNEWRENO 7
23999 #define V_TXRXMNEWRENO(x) ((x) << S_TXRXMNEWRENO)
24000 #define F_TXRXMNEWRENO V_TXRXMNEWRENO(1U)
24002 #define S_TXRXMFAST 6
24003 #define V_TXRXMFAST(x) ((x) << S_TXRXMFAST)
24004 #define F_TXRXMFAST V_TXRXMFAST(1U)
24006 #define S_TXRXMTIMER 5
24007 #define V_TXRXMTIMER(x) ((x) << S_TXRXMTIMER)
24008 #define F_TXRXMTIMER V_TXRXMTIMER(1U)
24010 #define S_TXRXMTIMERKEEPALIVE 4
24011 #define V_TXRXMTIMERKEEPALIVE(x) ((x) << S_TXRXMTIMERKEEPALIVE)
24012 #define F_TXRXMTIMERKEEPALIVE V_TXRXMTIMERKEEPALIVE(1U)
24014 #define S_TXRXMTIMERPERSIST 3
24015 #define V_TXRXMTIMERPERSIST(x) ((x) << S_TXRXMTIMERPERSIST)
24016 #define F_TXRXMTIMERPERSIST V_TXRXMTIMERPERSIST(1U)
24018 #define S_TXRCVADVSHRUNK 2
24019 #define V_TXRCVADVSHRUNK(x) ((x) << S_TXRCVADVSHRUNK)
24020 #define F_TXRCVADVSHRUNK V_TXRCVADVSHRUNK(1U)
24022 #define S_TXRCVADVZERO 1
24023 #define V_TXRCVADVZERO(x) ((x) << S_TXRCVADVZERO)
24024 #define F_TXRCVADVZERO V_TXRCVADVZERO(1U)
24026 #define S_TXRCVADVLTMSS 0
24027 #define V_TXRCVADVLTMSS(x) ((x) << S_TXRCVADVLTMSS)
24028 #define F_TXRCVADVLTMSS V_TXRCVADVLTMSS(1U)
24030 #define S_RXTIMERCOMPBUFFER 27
24031 #define V_RXTIMERCOMPBUFFER(x) ((x) << S_RXTIMERCOMPBUFFER)
24032 #define F_RXTIMERCOMPBUFFER V_RXTIMERCOMPBUFFER(1U)
24034 #define S_TXDFRFAST 13
24035 #define V_TXDFRFAST(x) ((x) << S_TXDFRFAST)
24036 #define F_TXDFRFAST V_TXDFRFAST(1U)
24038 #define S_TXRXMMISC 12
24039 #define V_TXRXMMISC(x) ((x) << S_TXRXMMISC)
24040 #define F_TXRXMMISC V_TXRXMMISC(1U)
24042 #define A_TP_RX_SCHED 0x7eb0
24044 #define S_RXCOMMITRESET1 31
24045 #define V_RXCOMMITRESET1(x) ((x) << S_RXCOMMITRESET1)
24046 #define F_RXCOMMITRESET1 V_RXCOMMITRESET1(1U)
24048 #define S_RXCOMMITRESET0 30
24049 #define V_RXCOMMITRESET0(x) ((x) << S_RXCOMMITRESET0)
24050 #define F_RXCOMMITRESET0 V_RXCOMMITRESET0(1U)
24052 #define S_RXFORCECONG1 29
24053 #define V_RXFORCECONG1(x) ((x) << S_RXFORCECONG1)
24054 #define F_RXFORCECONG1 V_RXFORCECONG1(1U)
24056 #define S_RXFORCECONG0 28
24057 #define V_RXFORCECONG0(x) ((x) << S_RXFORCECONG0)
24058 #define F_RXFORCECONG0 V_RXFORCECONG0(1U)
24060 #define S_ENABLELPBKFULL1 26
24061 #define M_ENABLELPBKFULL1 0x3U
24062 #define V_ENABLELPBKFULL1(x) ((x) << S_ENABLELPBKFULL1)
24063 #define G_ENABLELPBKFULL1(x) (((x) >> S_ENABLELPBKFULL1) & M_ENABLELPBKFULL1)
24065 #define S_ENABLELPBKFULL0 24
24066 #define M_ENABLELPBKFULL0 0x3U
24067 #define V_ENABLELPBKFULL0(x) ((x) << S_ENABLELPBKFULL0)
24068 #define G_ENABLELPBKFULL0(x) (((x) >> S_ENABLELPBKFULL0) & M_ENABLELPBKFULL0)
24070 #define S_ENABLEFIFOFULL1 22
24071 #define M_ENABLEFIFOFULL1 0x3U
24072 #define V_ENABLEFIFOFULL1(x) ((x) << S_ENABLEFIFOFULL1)
24073 #define G_ENABLEFIFOFULL1(x) (((x) >> S_ENABLEFIFOFULL1) & M_ENABLEFIFOFULL1)
24075 #define S_ENABLEPCMDFULL1 20
24076 #define M_ENABLEPCMDFULL1 0x3U
24077 #define V_ENABLEPCMDFULL1(x) ((x) << S_ENABLEPCMDFULL1)
24078 #define G_ENABLEPCMDFULL1(x) (((x) >> S_ENABLEPCMDFULL1) & M_ENABLEPCMDFULL1)
24080 #define S_ENABLEHDRFULL1 18
24081 #define M_ENABLEHDRFULL1 0x3U
24082 #define V_ENABLEHDRFULL1(x) ((x) << S_ENABLEHDRFULL1)
24083 #define G_ENABLEHDRFULL1(x) (((x) >> S_ENABLEHDRFULL1) & M_ENABLEHDRFULL1)
24085 #define S_ENABLEFIFOFULL0 16
24086 #define M_ENABLEFIFOFULL0 0x3U
24087 #define V_ENABLEFIFOFULL0(x) ((x) << S_ENABLEFIFOFULL0)
24088 #define G_ENABLEFIFOFULL0(x) (((x) >> S_ENABLEFIFOFULL0) & M_ENABLEFIFOFULL0)
24090 #define S_ENABLEPCMDFULL0 14
24091 #define M_ENABLEPCMDFULL0 0x3U
24092 #define V_ENABLEPCMDFULL0(x) ((x) << S_ENABLEPCMDFULL0)
24093 #define G_ENABLEPCMDFULL0(x) (((x) >> S_ENABLEPCMDFULL0) & M_ENABLEPCMDFULL0)
24095 #define S_ENABLEHDRFULL0 12
24096 #define M_ENABLEHDRFULL0 0x3U
24097 #define V_ENABLEHDRFULL0(x) ((x) << S_ENABLEHDRFULL0)
24098 #define G_ENABLEHDRFULL0(x) (((x) >> S_ENABLEHDRFULL0) & M_ENABLEHDRFULL0)
24100 #define S_COMMITLIMIT1 6
24101 #define M_COMMITLIMIT1 0x3fU
24102 #define V_COMMITLIMIT1(x) ((x) << S_COMMITLIMIT1)
24103 #define G_COMMITLIMIT1(x) (((x) >> S_COMMITLIMIT1) & M_COMMITLIMIT1)
24105 #define S_COMMITLIMIT0 0
24106 #define M_COMMITLIMIT0 0x3fU
24107 #define V_COMMITLIMIT0(x) ((x) << S_COMMITLIMIT0)
24108 #define G_COMMITLIMIT0(x) (((x) >> S_COMMITLIMIT0) & M_COMMITLIMIT0)
24110 #define A_TP_TX_SCHED 0x7eb4
24112 #define S_COMMITRESET3 31
24113 #define V_COMMITRESET3(x) ((x) << S_COMMITRESET3)
24114 #define F_COMMITRESET3 V_COMMITRESET3(1U)
24116 #define S_COMMITRESET2 30
24117 #define V_COMMITRESET2(x) ((x) << S_COMMITRESET2)
24118 #define F_COMMITRESET2 V_COMMITRESET2(1U)
24120 #define S_COMMITRESET1 29
24121 #define V_COMMITRESET1(x) ((x) << S_COMMITRESET1)
24122 #define F_COMMITRESET1 V_COMMITRESET1(1U)
24124 #define S_COMMITRESET0 28
24125 #define V_COMMITRESET0(x) ((x) << S_COMMITRESET0)
24126 #define F_COMMITRESET0 V_COMMITRESET0(1U)
24128 #define S_FORCECONG3 27
24129 #define V_FORCECONG3(x) ((x) << S_FORCECONG3)
24130 #define F_FORCECONG3 V_FORCECONG3(1U)
24132 #define S_FORCECONG2 26
24133 #define V_FORCECONG2(x) ((x) << S_FORCECONG2)
24134 #define F_FORCECONG2 V_FORCECONG2(1U)
24136 #define S_FORCECONG1 25
24137 #define V_FORCECONG1(x) ((x) << S_FORCECONG1)
24138 #define F_FORCECONG1 V_FORCECONG1(1U)
24140 #define S_FORCECONG0 24
24141 #define V_FORCECONG0(x) ((x) << S_FORCECONG0)
24142 #define F_FORCECONG0 V_FORCECONG0(1U)
24144 #define S_COMMITLIMIT3 18
24145 #define M_COMMITLIMIT3 0x3fU
24146 #define V_COMMITLIMIT3(x) ((x) << S_COMMITLIMIT3)
24147 #define G_COMMITLIMIT3(x) (((x) >> S_COMMITLIMIT3) & M_COMMITLIMIT3)
24149 #define S_COMMITLIMIT2 12
24150 #define M_COMMITLIMIT2 0x3fU
24151 #define V_COMMITLIMIT2(x) ((x) << S_COMMITLIMIT2)
24152 #define G_COMMITLIMIT2(x) (((x) >> S_COMMITLIMIT2) & M_COMMITLIMIT2)
24154 #define A_TP_FX_SCHED 0x7eb8
24156 #define S_TXCHNXOFF3 19
24157 #define V_TXCHNXOFF3(x) ((x) << S_TXCHNXOFF3)
24158 #define F_TXCHNXOFF3 V_TXCHNXOFF3(1U)
24160 #define S_TXCHNXOFF2 18
24161 #define V_TXCHNXOFF2(x) ((x) << S_TXCHNXOFF2)
24162 #define F_TXCHNXOFF2 V_TXCHNXOFF2(1U)
24164 #define S_TXCHNXOFF1 17
24165 #define V_TXCHNXOFF1(x) ((x) << S_TXCHNXOFF1)
24166 #define F_TXCHNXOFF1 V_TXCHNXOFF1(1U)
24168 #define S_TXCHNXOFF0 16
24169 #define V_TXCHNXOFF0(x) ((x) << S_TXCHNXOFF0)
24170 #define F_TXCHNXOFF0 V_TXCHNXOFF0(1U)
24172 #define S_TXMODXOFF7 15
24173 #define V_TXMODXOFF7(x) ((x) << S_TXMODXOFF7)
24174 #define F_TXMODXOFF7 V_TXMODXOFF7(1U)
24176 #define S_TXMODXOFF6 14
24177 #define V_TXMODXOFF6(x) ((x) << S_TXMODXOFF6)
24178 #define F_TXMODXOFF6 V_TXMODXOFF6(1U)
24180 #define S_TXMODXOFF5 13
24181 #define V_TXMODXOFF5(x) ((x) << S_TXMODXOFF5)
24182 #define F_TXMODXOFF5 V_TXMODXOFF5(1U)
24184 #define S_TXMODXOFF4 12
24185 #define V_TXMODXOFF4(x) ((x) << S_TXMODXOFF4)
24186 #define F_TXMODXOFF4 V_TXMODXOFF4(1U)
24188 #define S_TXMODXOFF3 11
24189 #define V_TXMODXOFF3(x) ((x) << S_TXMODXOFF3)
24190 #define F_TXMODXOFF3 V_TXMODXOFF3(1U)
24192 #define S_TXMODXOFF2 10
24193 #define V_TXMODXOFF2(x) ((x) << S_TXMODXOFF2)
24194 #define F_TXMODXOFF2 V_TXMODXOFF2(1U)
24196 #define S_TXMODXOFF1 9
24197 #define V_TXMODXOFF1(x) ((x) << S_TXMODXOFF1)
24198 #define F_TXMODXOFF1 V_TXMODXOFF1(1U)
24200 #define S_TXMODXOFF0 8
24201 #define V_TXMODXOFF0(x) ((x) << S_TXMODXOFF0)
24202 #define F_TXMODXOFF0 V_TXMODXOFF0(1U)
24204 #define S_RXCHNXOFF3 7
24205 #define V_RXCHNXOFF3(x) ((x) << S_RXCHNXOFF3)
24206 #define F_RXCHNXOFF3 V_RXCHNXOFF3(1U)
24208 #define S_RXCHNXOFF2 6
24209 #define V_RXCHNXOFF2(x) ((x) << S_RXCHNXOFF2)
24210 #define F_RXCHNXOFF2 V_RXCHNXOFF2(1U)
24212 #define S_RXCHNXOFF1 5
24213 #define V_RXCHNXOFF1(x) ((x) << S_RXCHNXOFF1)
24214 #define F_RXCHNXOFF1 V_RXCHNXOFF1(1U)
24216 #define S_RXCHNXOFF0 4
24217 #define V_RXCHNXOFF0(x) ((x) << S_RXCHNXOFF0)
24218 #define F_RXCHNXOFF0 V_RXCHNXOFF0(1U)
24220 #define S_RXMODXOFF1 1
24221 #define V_RXMODXOFF1(x) ((x) << S_RXMODXOFF1)
24222 #define F_RXMODXOFF1 V_RXMODXOFF1(1U)
24224 #define S_RXMODXOFF0 0
24225 #define V_RXMODXOFF0(x) ((x) << S_RXMODXOFF0)
24226 #define F_RXMODXOFF0 V_RXMODXOFF0(1U)
24228 #define A_TP_TX_ORATE 0x7ebc
24230 #define S_OFDRATE3 24
24231 #define M_OFDRATE3 0xffU
24232 #define V_OFDRATE3(x) ((x) << S_OFDRATE3)
24233 #define G_OFDRATE3(x) (((x) >> S_OFDRATE3) & M_OFDRATE3)
24235 #define S_OFDRATE2 16
24236 #define M_OFDRATE2 0xffU
24237 #define V_OFDRATE2(x) ((x) << S_OFDRATE2)
24238 #define G_OFDRATE2(x) (((x) >> S_OFDRATE2) & M_OFDRATE2)
24240 #define S_OFDRATE1 8
24241 #define M_OFDRATE1 0xffU
24242 #define V_OFDRATE1(x) ((x) << S_OFDRATE1)
24243 #define G_OFDRATE1(x) (((x) >> S_OFDRATE1) & M_OFDRATE1)
24245 #define S_OFDRATE0 0
24246 #define M_OFDRATE0 0xffU
24247 #define V_OFDRATE0(x) ((x) << S_OFDRATE0)
24248 #define G_OFDRATE0(x) (((x) >> S_OFDRATE0) & M_OFDRATE0)
24250 #define A_TP_IX_SCHED0 0x7ec0
24251 #define A_TP_IX_SCHED1 0x7ec4
24252 #define A_TP_IX_SCHED2 0x7ec8
24253 #define A_TP_IX_SCHED3 0x7ecc
24254 #define A_TP_TX_TRATE 0x7ed0
24256 #define S_TNLRATE3 24
24257 #define M_TNLRATE3 0xffU
24258 #define V_TNLRATE3(x) ((x) << S_TNLRATE3)
24259 #define G_TNLRATE3(x) (((x) >> S_TNLRATE3) & M_TNLRATE3)
24261 #define S_TNLRATE2 16
24262 #define M_TNLRATE2 0xffU
24263 #define V_TNLRATE2(x) ((x) << S_TNLRATE2)
24264 #define G_TNLRATE2(x) (((x) >> S_TNLRATE2) & M_TNLRATE2)
24266 #define S_TNLRATE1 8
24267 #define M_TNLRATE1 0xffU
24268 #define V_TNLRATE1(x) ((x) << S_TNLRATE1)
24269 #define G_TNLRATE1(x) (((x) >> S_TNLRATE1) & M_TNLRATE1)
24271 #define S_TNLRATE0 0
24272 #define M_TNLRATE0 0xffU
24273 #define V_TNLRATE0(x) ((x) << S_TNLRATE0)
24274 #define G_TNLRATE0(x) (((x) >> S_TNLRATE0) & M_TNLRATE0)
24276 #define A_TP_DBG_LA_CONFIG 0x7ed4
24278 #define S_DBGLAOPCENABLE 24
24279 #define M_DBGLAOPCENABLE 0xffU
24280 #define V_DBGLAOPCENABLE(x) ((x) << S_DBGLAOPCENABLE)
24281 #define G_DBGLAOPCENABLE(x) (((x) >> S_DBGLAOPCENABLE) & M_DBGLAOPCENABLE)
24283 #define S_DBGLAWHLF 23
24284 #define V_DBGLAWHLF(x) ((x) << S_DBGLAWHLF)
24285 #define F_DBGLAWHLF V_DBGLAWHLF(1U)
24287 #define S_DBGLAWPTR 16
24288 #define M_DBGLAWPTR 0x7fU
24289 #define V_DBGLAWPTR(x) ((x) << S_DBGLAWPTR)
24290 #define G_DBGLAWPTR(x) (((x) >> S_DBGLAWPTR) & M_DBGLAWPTR)
24292 #define S_DBGLAMODE 14
24293 #define M_DBGLAMODE 0x3U
24294 #define V_DBGLAMODE(x) ((x) << S_DBGLAMODE)
24295 #define G_DBGLAMODE(x) (((x) >> S_DBGLAMODE) & M_DBGLAMODE)
24297 #define S_DBGLAFATALFREEZE 13
24298 #define V_DBGLAFATALFREEZE(x) ((x) << S_DBGLAFATALFREEZE)
24299 #define F_DBGLAFATALFREEZE V_DBGLAFATALFREEZE(1U)
24301 #define S_DBGLAENABLE 12
24302 #define V_DBGLAENABLE(x) ((x) << S_DBGLAENABLE)
24303 #define F_DBGLAENABLE V_DBGLAENABLE(1U)
24305 #define S_DBGLARPTR 0
24306 #define M_DBGLARPTR 0x7fU
24307 #define V_DBGLARPTR(x) ((x) << S_DBGLARPTR)
24308 #define G_DBGLARPTR(x) (((x) >> S_DBGLARPTR) & M_DBGLARPTR)
24310 #define A_TP_DBG_LA_DATAL 0x7ed8
24311 #define A_TP_DBG_LA_DATAH 0x7edc
24312 #define A_TP_PROTOCOL_CNTRL 0x7ee8
24314 #define S_WRITEENABLE 31
24315 #define V_WRITEENABLE(x) ((x) << S_WRITEENABLE)
24316 #define F_WRITEENABLE V_WRITEENABLE(1U)
24318 #define S_TCAMENABLE 10
24319 #define V_TCAMENABLE(x) ((x) << S_TCAMENABLE)
24320 #define F_TCAMENABLE V_TCAMENABLE(1U)
24322 #define S_BLOCKSELECT 8
24323 #define M_BLOCKSELECT 0x3U
24324 #define V_BLOCKSELECT(x) ((x) << S_BLOCKSELECT)
24325 #define G_BLOCKSELECT(x) (((x) >> S_BLOCKSELECT) & M_BLOCKSELECT)
24327 #define S_LINEADDRESS 1
24328 #define M_LINEADDRESS 0x7fU
24329 #define V_LINEADDRESS(x) ((x) << S_LINEADDRESS)
24330 #define G_LINEADDRESS(x) (((x) >> S_LINEADDRESS) & M_LINEADDRESS)
24332 #define S_REQUESTDONE 0
24333 #define V_REQUESTDONE(x) ((x) << S_REQUESTDONE)
24334 #define F_REQUESTDONE V_REQUESTDONE(1U)
24336 #define A_TP_PROTOCOL_DATA0 0x7eec
24337 #define A_TP_PROTOCOL_DATA1 0x7ef0
24338 #define A_TP_PROTOCOL_DATA2 0x7ef4
24339 #define A_TP_PROTOCOL_DATA3 0x7ef8
24340 #define A_TP_PROTOCOL_DATA4 0x7efc
24342 #define S_PROTOCOLDATAFIELD 0
24343 #define M_PROTOCOLDATAFIELD 0xfU
24344 #define V_PROTOCOLDATAFIELD(x) ((x) << S_PROTOCOLDATAFIELD)
24345 #define G_PROTOCOLDATAFIELD(x) (((x) >> S_PROTOCOLDATAFIELD) & M_PROTOCOLDATAFIELD)
24347 #define A_TP_TX_MOD_Q7_Q6_TIMER_SEPARATOR 0x0
24349 #define S_TXTIMERSEPQ7 16
24350 #define M_TXTIMERSEPQ7 0xffffU
24351 #define V_TXTIMERSEPQ7(x) ((x) << S_TXTIMERSEPQ7)
24352 #define G_TXTIMERSEPQ7(x) (((x) >> S_TXTIMERSEPQ7) & M_TXTIMERSEPQ7)
24354 #define S_TXTIMERSEPQ6 0
24355 #define M_TXTIMERSEPQ6 0xffffU
24356 #define V_TXTIMERSEPQ6(x) ((x) << S_TXTIMERSEPQ6)
24357 #define G_TXTIMERSEPQ6(x) (((x) >> S_TXTIMERSEPQ6) & M_TXTIMERSEPQ6)
24359 #define A_TP_TX_MOD_Q5_Q4_TIMER_SEPARATOR 0x1
24361 #define S_TXTIMERSEPQ5 16
24362 #define M_TXTIMERSEPQ5 0xffffU
24363 #define V_TXTIMERSEPQ5(x) ((x) << S_TXTIMERSEPQ5)
24364 #define G_TXTIMERSEPQ5(x) (((x) >> S_TXTIMERSEPQ5) & M_TXTIMERSEPQ5)
24366 #define S_TXTIMERSEPQ4 0
24367 #define M_TXTIMERSEPQ4 0xffffU
24368 #define V_TXTIMERSEPQ4(x) ((x) << S_TXTIMERSEPQ4)
24369 #define G_TXTIMERSEPQ4(x) (((x) >> S_TXTIMERSEPQ4) & M_TXTIMERSEPQ4)
24371 #define A_TP_TX_MOD_Q3_Q2_TIMER_SEPARATOR 0x2
24373 #define S_TXTIMERSEPQ3 16
24374 #define M_TXTIMERSEPQ3 0xffffU
24375 #define V_TXTIMERSEPQ3(x) ((x) << S_TXTIMERSEPQ3)
24376 #define G_TXTIMERSEPQ3(x) (((x) >> S_TXTIMERSEPQ3) & M_TXTIMERSEPQ3)
24378 #define S_TXTIMERSEPQ2 0
24379 #define M_TXTIMERSEPQ2 0xffffU
24380 #define V_TXTIMERSEPQ2(x) ((x) << S_TXTIMERSEPQ2)
24381 #define G_TXTIMERSEPQ2(x) (((x) >> S_TXTIMERSEPQ2) & M_TXTIMERSEPQ2)
24383 #define A_TP_TX_MOD_Q1_Q0_TIMER_SEPARATOR 0x3
24385 #define S_TXTIMERSEPQ1 16
24386 #define M_TXTIMERSEPQ1 0xffffU
24387 #define V_TXTIMERSEPQ1(x) ((x) << S_TXTIMERSEPQ1)
24388 #define G_TXTIMERSEPQ1(x) (((x) >> S_TXTIMERSEPQ1) & M_TXTIMERSEPQ1)
24390 #define S_TXTIMERSEPQ0 0
24391 #define M_TXTIMERSEPQ0 0xffffU
24392 #define V_TXTIMERSEPQ0(x) ((x) << S_TXTIMERSEPQ0)
24393 #define G_TXTIMERSEPQ0(x) (((x) >> S_TXTIMERSEPQ0) & M_TXTIMERSEPQ0)
24395 #define A_TP_RX_MOD_Q1_Q0_TIMER_SEPARATOR 0x4
24397 #define S_RXTIMERSEPQ1 16
24398 #define M_RXTIMERSEPQ1 0xffffU
24399 #define V_RXTIMERSEPQ1(x) ((x) << S_RXTIMERSEPQ1)
24400 #define G_RXTIMERSEPQ1(x) (((x) >> S_RXTIMERSEPQ1) & M_RXTIMERSEPQ1)
24402 #define S_RXTIMERSEPQ0 0
24403 #define M_RXTIMERSEPQ0 0xffffU
24404 #define V_RXTIMERSEPQ0(x) ((x) << S_RXTIMERSEPQ0)
24405 #define G_RXTIMERSEPQ0(x) (((x) >> S_RXTIMERSEPQ0) & M_RXTIMERSEPQ0)
24407 #define A_TP_TX_MOD_Q7_Q6_RATE_LIMIT 0x5
24409 #define S_TXRATEINCQ7 24
24410 #define M_TXRATEINCQ7 0xffU
24411 #define V_TXRATEINCQ7(x) ((x) << S_TXRATEINCQ7)
24412 #define G_TXRATEINCQ7(x) (((x) >> S_TXRATEINCQ7) & M_TXRATEINCQ7)
24414 #define S_TXRATETCKQ7 16
24415 #define M_TXRATETCKQ7 0xffU
24416 #define V_TXRATETCKQ7(x) ((x) << S_TXRATETCKQ7)
24417 #define G_TXRATETCKQ7(x) (((x) >> S_TXRATETCKQ7) & M_TXRATETCKQ7)
24419 #define S_TXRATEINCQ6 8
24420 #define M_TXRATEINCQ6 0xffU
24421 #define V_TXRATEINCQ6(x) ((x) << S_TXRATEINCQ6)
24422 #define G_TXRATEINCQ6(x) (((x) >> S_TXRATEINCQ6) & M_TXRATEINCQ6)
24424 #define S_TXRATETCKQ6 0
24425 #define M_TXRATETCKQ6 0xffU
24426 #define V_TXRATETCKQ6(x) ((x) << S_TXRATETCKQ6)
24427 #define G_TXRATETCKQ6(x) (((x) >> S_TXRATETCKQ6) & M_TXRATETCKQ6)
24429 #define A_TP_TX_MOD_Q5_Q4_RATE_LIMIT 0x6
24431 #define S_TXRATEINCQ5 24
24432 #define M_TXRATEINCQ5 0xffU
24433 #define V_TXRATEINCQ5(x) ((x) << S_TXRATEINCQ5)
24434 #define G_TXRATEINCQ5(x) (((x) >> S_TXRATEINCQ5) & M_TXRATEINCQ5)
24436 #define S_TXRATETCKQ5 16
24437 #define M_TXRATETCKQ5 0xffU
24438 #define V_TXRATETCKQ5(x) ((x) << S_TXRATETCKQ5)
24439 #define G_TXRATETCKQ5(x) (((x) >> S_TXRATETCKQ5) & M_TXRATETCKQ5)
24441 #define S_TXRATEINCQ4 8
24442 #define M_TXRATEINCQ4 0xffU
24443 #define V_TXRATEINCQ4(x) ((x) << S_TXRATEINCQ4)
24444 #define G_TXRATEINCQ4(x) (((x) >> S_TXRATEINCQ4) & M_TXRATEINCQ4)
24446 #define S_TXRATETCKQ4 0
24447 #define M_TXRATETCKQ4 0xffU
24448 #define V_TXRATETCKQ4(x) ((x) << S_TXRATETCKQ4)
24449 #define G_TXRATETCKQ4(x) (((x) >> S_TXRATETCKQ4) & M_TXRATETCKQ4)
24451 #define A_TP_TX_MOD_Q3_Q2_RATE_LIMIT 0x7
24453 #define S_TXRATEINCQ3 24
24454 #define M_TXRATEINCQ3 0xffU
24455 #define V_TXRATEINCQ3(x) ((x) << S_TXRATEINCQ3)
24456 #define G_TXRATEINCQ3(x) (((x) >> S_TXRATEINCQ3) & M_TXRATEINCQ3)
24458 #define S_TXRATETCKQ3 16
24459 #define M_TXRATETCKQ3 0xffU
24460 #define V_TXRATETCKQ3(x) ((x) << S_TXRATETCKQ3)
24461 #define G_TXRATETCKQ3(x) (((x) >> S_TXRATETCKQ3) & M_TXRATETCKQ3)
24463 #define S_TXRATEINCQ2 8
24464 #define M_TXRATEINCQ2 0xffU
24465 #define V_TXRATEINCQ2(x) ((x) << S_TXRATEINCQ2)
24466 #define G_TXRATEINCQ2(x) (((x) >> S_TXRATEINCQ2) & M_TXRATEINCQ2)
24468 #define S_TXRATETCKQ2 0
24469 #define M_TXRATETCKQ2 0xffU
24470 #define V_TXRATETCKQ2(x) ((x) << S_TXRATETCKQ2)
24471 #define G_TXRATETCKQ2(x) (((x) >> S_TXRATETCKQ2) & M_TXRATETCKQ2)
24473 #define A_TP_TX_MOD_Q1_Q0_RATE_LIMIT 0x8
24475 #define S_TXRATEINCQ1 24
24476 #define M_TXRATEINCQ1 0xffU
24477 #define V_TXRATEINCQ1(x) ((x) << S_TXRATEINCQ1)
24478 #define G_TXRATEINCQ1(x) (((x) >> S_TXRATEINCQ1) & M_TXRATEINCQ1)
24480 #define S_TXRATETCKQ1 16
24481 #define M_TXRATETCKQ1 0xffU
24482 #define V_TXRATETCKQ1(x) ((x) << S_TXRATETCKQ1)
24483 #define G_TXRATETCKQ1(x) (((x) >> S_TXRATETCKQ1) & M_TXRATETCKQ1)
24485 #define S_TXRATEINCQ0 8
24486 #define M_TXRATEINCQ0 0xffU
24487 #define V_TXRATEINCQ0(x) ((x) << S_TXRATEINCQ0)
24488 #define G_TXRATEINCQ0(x) (((x) >> S_TXRATEINCQ0) & M_TXRATEINCQ0)
24490 #define S_TXRATETCKQ0 0
24491 #define M_TXRATETCKQ0 0xffU
24492 #define V_TXRATETCKQ0(x) ((x) << S_TXRATETCKQ0)
24493 #define G_TXRATETCKQ0(x) (((x) >> S_TXRATETCKQ0) & M_TXRATETCKQ0)
24495 #define A_TP_RX_MOD_Q1_Q0_RATE_LIMIT 0x9
24497 #define S_RXRATEINCQ1 24
24498 #define M_RXRATEINCQ1 0xffU
24499 #define V_RXRATEINCQ1(x) ((x) << S_RXRATEINCQ1)
24500 #define G_RXRATEINCQ1(x) (((x) >> S_RXRATEINCQ1) & M_RXRATEINCQ1)
24502 #define S_RXRATETCKQ1 16
24503 #define M_RXRATETCKQ1 0xffU
24504 #define V_RXRATETCKQ1(x) ((x) << S_RXRATETCKQ1)
24505 #define G_RXRATETCKQ1(x) (((x) >> S_RXRATETCKQ1) & M_RXRATETCKQ1)
24507 #define S_RXRATEINCQ0 8
24508 #define M_RXRATEINCQ0 0xffU
24509 #define V_RXRATEINCQ0(x) ((x) << S_RXRATEINCQ0)
24510 #define G_RXRATEINCQ0(x) (((x) >> S_RXRATEINCQ0) & M_RXRATEINCQ0)
24512 #define S_RXRATETCKQ0 0
24513 #define M_RXRATETCKQ0 0xffU
24514 #define V_RXRATETCKQ0(x) ((x) << S_RXRATETCKQ0)
24515 #define G_RXRATETCKQ0(x) (((x) >> S_RXRATETCKQ0) & M_RXRATETCKQ0)
24517 #define A_TP_TX_MOD_C3_C2_RATE_LIMIT 0xa
24518 #define A_TP_TX_MOD_C1_C0_RATE_LIMIT 0xb
24519 #define A_TP_RX_SCHED_MAP 0x20
24521 #define S_RXMAPCHANNEL3 24
24522 #define M_RXMAPCHANNEL3 0xffU
24523 #define V_RXMAPCHANNEL3(x) ((x) << S_RXMAPCHANNEL3)
24524 #define G_RXMAPCHANNEL3(x) (((x) >> S_RXMAPCHANNEL3) & M_RXMAPCHANNEL3)
24526 #define S_RXMAPCHANNEL2 16
24527 #define M_RXMAPCHANNEL2 0xffU
24528 #define V_RXMAPCHANNEL2(x) ((x) << S_RXMAPCHANNEL2)
24529 #define G_RXMAPCHANNEL2(x) (((x) >> S_RXMAPCHANNEL2) & M_RXMAPCHANNEL2)
24531 #define S_RXMAPCHANNEL1 8
24532 #define M_RXMAPCHANNEL1 0xffU
24533 #define V_RXMAPCHANNEL1(x) ((x) << S_RXMAPCHANNEL1)
24534 #define G_RXMAPCHANNEL1(x) (((x) >> S_RXMAPCHANNEL1) & M_RXMAPCHANNEL1)
24536 #define S_RXMAPCHANNEL0 0
24537 #define M_RXMAPCHANNEL0 0xffU
24538 #define V_RXMAPCHANNEL0(x) ((x) << S_RXMAPCHANNEL0)
24539 #define G_RXMAPCHANNEL0(x) (((x) >> S_RXMAPCHANNEL0) & M_RXMAPCHANNEL0)
24541 #define A_TP_RX_SCHED_SGE 0x21
24543 #define S_RXSGEMOD1 12
24544 #define M_RXSGEMOD1 0xfU
24545 #define V_RXSGEMOD1(x) ((x) << S_RXSGEMOD1)
24546 #define G_RXSGEMOD1(x) (((x) >> S_RXSGEMOD1) & M_RXSGEMOD1)
24548 #define S_RXSGEMOD0 8
24549 #define M_RXSGEMOD0 0xfU
24550 #define V_RXSGEMOD0(x) ((x) << S_RXSGEMOD0)
24551 #define G_RXSGEMOD0(x) (((x) >> S_RXSGEMOD0) & M_RXSGEMOD0)
24553 #define S_RXSGECHANNEL3 3
24554 #define V_RXSGECHANNEL3(x) ((x) << S_RXSGECHANNEL3)
24555 #define F_RXSGECHANNEL3 V_RXSGECHANNEL3(1U)
24557 #define S_RXSGECHANNEL2 2
24558 #define V_RXSGECHANNEL2(x) ((x) << S_RXSGECHANNEL2)
24559 #define F_RXSGECHANNEL2 V_RXSGECHANNEL2(1U)
24561 #define S_RXSGECHANNEL1 1
24562 #define V_RXSGECHANNEL1(x) ((x) << S_RXSGECHANNEL1)
24563 #define F_RXSGECHANNEL1 V_RXSGECHANNEL1(1U)
24565 #define S_RXSGECHANNEL0 0
24566 #define V_RXSGECHANNEL0(x) ((x) << S_RXSGECHANNEL0)
24567 #define F_RXSGECHANNEL0 V_RXSGECHANNEL0(1U)
24569 #define A_TP_TX_SCHED_MAP 0x22
24571 #define S_TXMAPCHANNEL3 12
24572 #define M_TXMAPCHANNEL3 0xfU
24573 #define V_TXMAPCHANNEL3(x) ((x) << S_TXMAPCHANNEL3)
24574 #define G_TXMAPCHANNEL3(x) (((x) >> S_TXMAPCHANNEL3) & M_TXMAPCHANNEL3)
24576 #define S_TXMAPCHANNEL2 8
24577 #define M_TXMAPCHANNEL2 0xfU
24578 #define V_TXMAPCHANNEL2(x) ((x) << S_TXMAPCHANNEL2)
24579 #define G_TXMAPCHANNEL2(x) (((x) >> S_TXMAPCHANNEL2) & M_TXMAPCHANNEL2)
24581 #define S_TXMAPCHANNEL1 4
24582 #define M_TXMAPCHANNEL1 0xfU
24583 #define V_TXMAPCHANNEL1(x) ((x) << S_TXMAPCHANNEL1)
24584 #define G_TXMAPCHANNEL1(x) (((x) >> S_TXMAPCHANNEL1) & M_TXMAPCHANNEL1)
24586 #define S_TXMAPCHANNEL0 0
24587 #define M_TXMAPCHANNEL0 0xfU
24588 #define V_TXMAPCHANNEL0(x) ((x) << S_TXMAPCHANNEL0)
24589 #define G_TXMAPCHANNEL0(x) (((x) >> S_TXMAPCHANNEL0) & M_TXMAPCHANNEL0)
24591 #define S_TXLPKCHANNEL1 17
24592 #define V_TXLPKCHANNEL1(x) ((x) << S_TXLPKCHANNEL1)
24593 #define F_TXLPKCHANNEL1 V_TXLPKCHANNEL1(1U)
24595 #define S_TXLPKCHANNEL0 16
24596 #define V_TXLPKCHANNEL0(x) ((x) << S_TXLPKCHANNEL0)
24597 #define F_TXLPKCHANNEL0 V_TXLPKCHANNEL0(1U)
24599 #define A_TP_TX_SCHED_HDR 0x23
24601 #define S_TXMAPHDRCHANNEL7 28
24602 #define M_TXMAPHDRCHANNEL7 0xfU
24603 #define V_TXMAPHDRCHANNEL7(x) ((x) << S_TXMAPHDRCHANNEL7)
24604 #define G_TXMAPHDRCHANNEL7(x) (((x) >> S_TXMAPHDRCHANNEL7) & M_TXMAPHDRCHANNEL7)
24606 #define S_TXMAPHDRCHANNEL6 24
24607 #define M_TXMAPHDRCHANNEL6 0xfU
24608 #define V_TXMAPHDRCHANNEL6(x) ((x) << S_TXMAPHDRCHANNEL6)
24609 #define G_TXMAPHDRCHANNEL6(x) (((x) >> S_TXMAPHDRCHANNEL6) & M_TXMAPHDRCHANNEL6)
24611 #define S_TXMAPHDRCHANNEL5 20
24612 #define M_TXMAPHDRCHANNEL5 0xfU
24613 #define V_TXMAPHDRCHANNEL5(x) ((x) << S_TXMAPHDRCHANNEL5)
24614 #define G_TXMAPHDRCHANNEL5(x) (((x) >> S_TXMAPHDRCHANNEL5) & M_TXMAPHDRCHANNEL5)
24616 #define S_TXMAPHDRCHANNEL4 16
24617 #define M_TXMAPHDRCHANNEL4 0xfU
24618 #define V_TXMAPHDRCHANNEL4(x) ((x) << S_TXMAPHDRCHANNEL4)
24619 #define G_TXMAPHDRCHANNEL4(x) (((x) >> S_TXMAPHDRCHANNEL4) & M_TXMAPHDRCHANNEL4)
24621 #define S_TXMAPHDRCHANNEL3 12
24622 #define M_TXMAPHDRCHANNEL3 0xfU
24623 #define V_TXMAPHDRCHANNEL3(x) ((x) << S_TXMAPHDRCHANNEL3)
24624 #define G_TXMAPHDRCHANNEL3(x) (((x) >> S_TXMAPHDRCHANNEL3) & M_TXMAPHDRCHANNEL3)
24626 #define S_TXMAPHDRCHANNEL2 8
24627 #define M_TXMAPHDRCHANNEL2 0xfU
24628 #define V_TXMAPHDRCHANNEL2(x) ((x) << S_TXMAPHDRCHANNEL2)
24629 #define G_TXMAPHDRCHANNEL2(x) (((x) >> S_TXMAPHDRCHANNEL2) & M_TXMAPHDRCHANNEL2)
24631 #define S_TXMAPHDRCHANNEL1 4
24632 #define M_TXMAPHDRCHANNEL1 0xfU
24633 #define V_TXMAPHDRCHANNEL1(x) ((x) << S_TXMAPHDRCHANNEL1)
24634 #define G_TXMAPHDRCHANNEL1(x) (((x) >> S_TXMAPHDRCHANNEL1) & M_TXMAPHDRCHANNEL1)
24636 #define S_TXMAPHDRCHANNEL0 0
24637 #define M_TXMAPHDRCHANNEL0 0xfU
24638 #define V_TXMAPHDRCHANNEL0(x) ((x) << S_TXMAPHDRCHANNEL0)
24639 #define G_TXMAPHDRCHANNEL0(x) (((x) >> S_TXMAPHDRCHANNEL0) & M_TXMAPHDRCHANNEL0)
24641 #define A_TP_TX_SCHED_FIFO 0x24
24643 #define S_TXMAPFIFOCHANNEL7 28
24644 #define M_TXMAPFIFOCHANNEL7 0xfU
24645 #define V_TXMAPFIFOCHANNEL7(x) ((x) << S_TXMAPFIFOCHANNEL7)
24646 #define G_TXMAPFIFOCHANNEL7(x) (((x) >> S_TXMAPFIFOCHANNEL7) & M_TXMAPFIFOCHANNEL7)
24648 #define S_TXMAPFIFOCHANNEL6 24
24649 #define M_TXMAPFIFOCHANNEL6 0xfU
24650 #define V_TXMAPFIFOCHANNEL6(x) ((x) << S_TXMAPFIFOCHANNEL6)
24651 #define G_TXMAPFIFOCHANNEL6(x) (((x) >> S_TXMAPFIFOCHANNEL6) & M_TXMAPFIFOCHANNEL6)
24653 #define S_TXMAPFIFOCHANNEL5 20
24654 #define M_TXMAPFIFOCHANNEL5 0xfU
24655 #define V_TXMAPFIFOCHANNEL5(x) ((x) << S_TXMAPFIFOCHANNEL5)
24656 #define G_TXMAPFIFOCHANNEL5(x) (((x) >> S_TXMAPFIFOCHANNEL5) & M_TXMAPFIFOCHANNEL5)
24658 #define S_TXMAPFIFOCHANNEL4 16
24659 #define M_TXMAPFIFOCHANNEL4 0xfU
24660 #define V_TXMAPFIFOCHANNEL4(x) ((x) << S_TXMAPFIFOCHANNEL4)
24661 #define G_TXMAPFIFOCHANNEL4(x) (((x) >> S_TXMAPFIFOCHANNEL4) & M_TXMAPFIFOCHANNEL4)
24663 #define S_TXMAPFIFOCHANNEL3 12
24664 #define M_TXMAPFIFOCHANNEL3 0xfU
24665 #define V_TXMAPFIFOCHANNEL3(x) ((x) << S_TXMAPFIFOCHANNEL3)
24666 #define G_TXMAPFIFOCHANNEL3(x) (((x) >> S_TXMAPFIFOCHANNEL3) & M_TXMAPFIFOCHANNEL3)
24668 #define S_TXMAPFIFOCHANNEL2 8
24669 #define M_TXMAPFIFOCHANNEL2 0xfU
24670 #define V_TXMAPFIFOCHANNEL2(x) ((x) << S_TXMAPFIFOCHANNEL2)
24671 #define G_TXMAPFIFOCHANNEL2(x) (((x) >> S_TXMAPFIFOCHANNEL2) & M_TXMAPFIFOCHANNEL2)
24673 #define S_TXMAPFIFOCHANNEL1 4
24674 #define M_TXMAPFIFOCHANNEL1 0xfU
24675 #define V_TXMAPFIFOCHANNEL1(x) ((x) << S_TXMAPFIFOCHANNEL1)
24676 #define G_TXMAPFIFOCHANNEL1(x) (((x) >> S_TXMAPFIFOCHANNEL1) & M_TXMAPFIFOCHANNEL1)
24678 #define S_TXMAPFIFOCHANNEL0 0
24679 #define M_TXMAPFIFOCHANNEL0 0xfU
24680 #define V_TXMAPFIFOCHANNEL0(x) ((x) << S_TXMAPFIFOCHANNEL0)
24681 #define G_TXMAPFIFOCHANNEL0(x) (((x) >> S_TXMAPFIFOCHANNEL0) & M_TXMAPFIFOCHANNEL0)
24683 #define A_TP_TX_SCHED_PCMD 0x25
24685 #define S_TXMAPPCMDCHANNEL7 28
24686 #define M_TXMAPPCMDCHANNEL7 0xfU
24687 #define V_TXMAPPCMDCHANNEL7(x) ((x) << S_TXMAPPCMDCHANNEL7)
24688 #define G_TXMAPPCMDCHANNEL7(x) (((x) >> S_TXMAPPCMDCHANNEL7) & M_TXMAPPCMDCHANNEL7)
24690 #define S_TXMAPPCMDCHANNEL6 24
24691 #define M_TXMAPPCMDCHANNEL6 0xfU
24692 #define V_TXMAPPCMDCHANNEL6(x) ((x) << S_TXMAPPCMDCHANNEL6)
24693 #define G_TXMAPPCMDCHANNEL6(x) (((x) >> S_TXMAPPCMDCHANNEL6) & M_TXMAPPCMDCHANNEL6)
24695 #define S_TXMAPPCMDCHANNEL5 20
24696 #define M_TXMAPPCMDCHANNEL5 0xfU
24697 #define V_TXMAPPCMDCHANNEL5(x) ((x) << S_TXMAPPCMDCHANNEL5)
24698 #define G_TXMAPPCMDCHANNEL5(x) (((x) >> S_TXMAPPCMDCHANNEL5) & M_TXMAPPCMDCHANNEL5)
24700 #define S_TXMAPPCMDCHANNEL4 16
24701 #define M_TXMAPPCMDCHANNEL4 0xfU
24702 #define V_TXMAPPCMDCHANNEL4(x) ((x) << S_TXMAPPCMDCHANNEL4)
24703 #define G_TXMAPPCMDCHANNEL4(x) (((x) >> S_TXMAPPCMDCHANNEL4) & M_TXMAPPCMDCHANNEL4)
24705 #define S_TXMAPPCMDCHANNEL3 12
24706 #define M_TXMAPPCMDCHANNEL3 0xfU
24707 #define V_TXMAPPCMDCHANNEL3(x) ((x) << S_TXMAPPCMDCHANNEL3)
24708 #define G_TXMAPPCMDCHANNEL3(x) (((x) >> S_TXMAPPCMDCHANNEL3) & M_TXMAPPCMDCHANNEL3)
24710 #define S_TXMAPPCMDCHANNEL2 8
24711 #define M_TXMAPPCMDCHANNEL2 0xfU
24712 #define V_TXMAPPCMDCHANNEL2(x) ((x) << S_TXMAPPCMDCHANNEL2)
24713 #define G_TXMAPPCMDCHANNEL2(x) (((x) >> S_TXMAPPCMDCHANNEL2) & M_TXMAPPCMDCHANNEL2)
24715 #define S_TXMAPPCMDCHANNEL1 4
24716 #define M_TXMAPPCMDCHANNEL1 0xfU
24717 #define V_TXMAPPCMDCHANNEL1(x) ((x) << S_TXMAPPCMDCHANNEL1)
24718 #define G_TXMAPPCMDCHANNEL1(x) (((x) >> S_TXMAPPCMDCHANNEL1) & M_TXMAPPCMDCHANNEL1)
24720 #define S_TXMAPPCMDCHANNEL0 0
24721 #define M_TXMAPPCMDCHANNEL0 0xfU
24722 #define V_TXMAPPCMDCHANNEL0(x) ((x) << S_TXMAPPCMDCHANNEL0)
24723 #define G_TXMAPPCMDCHANNEL0(x) (((x) >> S_TXMAPPCMDCHANNEL0) & M_TXMAPPCMDCHANNEL0)
24725 #define A_TP_TX_SCHED_LPBK 0x26
24727 #define S_TXMAPLPBKCHANNEL7 28
24728 #define M_TXMAPLPBKCHANNEL7 0xfU
24729 #define V_TXMAPLPBKCHANNEL7(x) ((x) << S_TXMAPLPBKCHANNEL7)
24730 #define G_TXMAPLPBKCHANNEL7(x) (((x) >> S_TXMAPLPBKCHANNEL7) & M_TXMAPLPBKCHANNEL7)
24732 #define S_TXMAPLPBKCHANNEL6 24
24733 #define M_TXMAPLPBKCHANNEL6 0xfU
24734 #define V_TXMAPLPBKCHANNEL6(x) ((x) << S_TXMAPLPBKCHANNEL6)
24735 #define G_TXMAPLPBKCHANNEL6(x) (((x) >> S_TXMAPLPBKCHANNEL6) & M_TXMAPLPBKCHANNEL6)
24737 #define S_TXMAPLPBKCHANNEL5 20
24738 #define M_TXMAPLPBKCHANNEL5 0xfU
24739 #define V_TXMAPLPBKCHANNEL5(x) ((x) << S_TXMAPLPBKCHANNEL5)
24740 #define G_TXMAPLPBKCHANNEL5(x) (((x) >> S_TXMAPLPBKCHANNEL5) & M_TXMAPLPBKCHANNEL5)
24742 #define S_TXMAPLPBKCHANNEL4 16
24743 #define M_TXMAPLPBKCHANNEL4 0xfU
24744 #define V_TXMAPLPBKCHANNEL4(x) ((x) << S_TXMAPLPBKCHANNEL4)
24745 #define G_TXMAPLPBKCHANNEL4(x) (((x) >> S_TXMAPLPBKCHANNEL4) & M_TXMAPLPBKCHANNEL4)
24747 #define S_TXMAPLPBKCHANNEL3 12
24748 #define M_TXMAPLPBKCHANNEL3 0xfU
24749 #define V_TXMAPLPBKCHANNEL3(x) ((x) << S_TXMAPLPBKCHANNEL3)
24750 #define G_TXMAPLPBKCHANNEL3(x) (((x) >> S_TXMAPLPBKCHANNEL3) & M_TXMAPLPBKCHANNEL3)
24752 #define S_TXMAPLPBKCHANNEL2 8
24753 #define M_TXMAPLPBKCHANNEL2 0xfU
24754 #define V_TXMAPLPBKCHANNEL2(x) ((x) << S_TXMAPLPBKCHANNEL2)
24755 #define G_TXMAPLPBKCHANNEL2(x) (((x) >> S_TXMAPLPBKCHANNEL2) & M_TXMAPLPBKCHANNEL2)
24757 #define S_TXMAPLPBKCHANNEL1 4
24758 #define M_TXMAPLPBKCHANNEL1 0xfU
24759 #define V_TXMAPLPBKCHANNEL1(x) ((x) << S_TXMAPLPBKCHANNEL1)
24760 #define G_TXMAPLPBKCHANNEL1(x) (((x) >> S_TXMAPLPBKCHANNEL1) & M_TXMAPLPBKCHANNEL1)
24762 #define S_TXMAPLPBKCHANNEL0 0
24763 #define M_TXMAPLPBKCHANNEL0 0xfU
24764 #define V_TXMAPLPBKCHANNEL0(x) ((x) << S_TXMAPLPBKCHANNEL0)
24765 #define G_TXMAPLPBKCHANNEL0(x) (((x) >> S_TXMAPLPBKCHANNEL0) & M_TXMAPLPBKCHANNEL0)
24767 #define A_TP_CHANNEL_MAP 0x27
24769 #define S_RXMAPCHANNELELN 16
24770 #define M_RXMAPCHANNELELN 0xfU
24771 #define V_RXMAPCHANNELELN(x) ((x) << S_RXMAPCHANNELELN)
24772 #define G_RXMAPCHANNELELN(x) (((x) >> S_RXMAPCHANNELELN) & M_RXMAPCHANNELELN)
24774 #define S_RXMAPE2LCHANNEL3 14
24775 #define M_RXMAPE2LCHANNEL3 0x3U
24776 #define V_RXMAPE2LCHANNEL3(x) ((x) << S_RXMAPE2LCHANNEL3)
24777 #define G_RXMAPE2LCHANNEL3(x) (((x) >> S_RXMAPE2LCHANNEL3) & M_RXMAPE2LCHANNEL3)
24779 #define S_RXMAPE2LCHANNEL2 12
24780 #define M_RXMAPE2LCHANNEL2 0x3U
24781 #define V_RXMAPE2LCHANNEL2(x) ((x) << S_RXMAPE2LCHANNEL2)
24782 #define G_RXMAPE2LCHANNEL2(x) (((x) >> S_RXMAPE2LCHANNEL2) & M_RXMAPE2LCHANNEL2)
24784 #define S_RXMAPE2LCHANNEL1 10
24785 #define M_RXMAPE2LCHANNEL1 0x3U
24786 #define V_RXMAPE2LCHANNEL1(x) ((x) << S_RXMAPE2LCHANNEL1)
24787 #define G_RXMAPE2LCHANNEL1(x) (((x) >> S_RXMAPE2LCHANNEL1) & M_RXMAPE2LCHANNEL1)
24789 #define S_RXMAPE2LCHANNEL0 8
24790 #define M_RXMAPE2LCHANNEL0 0x3U
24791 #define V_RXMAPE2LCHANNEL0(x) ((x) << S_RXMAPE2LCHANNEL0)
24792 #define G_RXMAPE2LCHANNEL0(x) (((x) >> S_RXMAPE2LCHANNEL0) & M_RXMAPE2LCHANNEL0)
24794 #define S_RXMAPC2CCHANNEL3 7
24795 #define V_RXMAPC2CCHANNEL3(x) ((x) << S_RXMAPC2CCHANNEL3)
24796 #define F_RXMAPC2CCHANNEL3 V_RXMAPC2CCHANNEL3(1U)
24798 #define S_RXMAPC2CCHANNEL2 6
24799 #define V_RXMAPC2CCHANNEL2(x) ((x) << S_RXMAPC2CCHANNEL2)
24800 #define F_RXMAPC2CCHANNEL2 V_RXMAPC2CCHANNEL2(1U)
24802 #define S_RXMAPC2CCHANNEL1 5
24803 #define V_RXMAPC2CCHANNEL1(x) ((x) << S_RXMAPC2CCHANNEL1)
24804 #define F_RXMAPC2CCHANNEL1 V_RXMAPC2CCHANNEL1(1U)
24806 #define S_RXMAPC2CCHANNEL0 4
24807 #define V_RXMAPC2CCHANNEL0(x) ((x) << S_RXMAPC2CCHANNEL0)
24808 #define F_RXMAPC2CCHANNEL0 V_RXMAPC2CCHANNEL0(1U)
24810 #define S_RXMAPE2CCHANNEL3 3
24811 #define V_RXMAPE2CCHANNEL3(x) ((x) << S_RXMAPE2CCHANNEL3)
24812 #define F_RXMAPE2CCHANNEL3 V_RXMAPE2CCHANNEL3(1U)
24814 #define S_RXMAPE2CCHANNEL2 2
24815 #define V_RXMAPE2CCHANNEL2(x) ((x) << S_RXMAPE2CCHANNEL2)
24816 #define F_RXMAPE2CCHANNEL2 V_RXMAPE2CCHANNEL2(1U)
24818 #define S_RXMAPE2CCHANNEL1 1
24819 #define V_RXMAPE2CCHANNEL1(x) ((x) << S_RXMAPE2CCHANNEL1)
24820 #define F_RXMAPE2CCHANNEL1 V_RXMAPE2CCHANNEL1(1U)
24822 #define S_RXMAPE2CCHANNEL0 0
24823 #define V_RXMAPE2CCHANNEL0(x) ((x) << S_RXMAPE2CCHANNEL0)
24824 #define F_RXMAPE2CCHANNEL0 V_RXMAPE2CCHANNEL0(1U)
24826 #define A_TP_RX_LPBK 0x28
24827 #define A_TP_TX_LPBK 0x29
24828 #define A_TP_TX_SCHED_PPP 0x2a
24830 #define S_TXPPPENPORT3 24
24831 #define M_TXPPPENPORT3 0xffU
24832 #define V_TXPPPENPORT3(x) ((x) << S_TXPPPENPORT3)
24833 #define G_TXPPPENPORT3(x) (((x) >> S_TXPPPENPORT3) & M_TXPPPENPORT3)
24835 #define S_TXPPPENPORT2 16
24836 #define M_TXPPPENPORT2 0xffU
24837 #define V_TXPPPENPORT2(x) ((x) << S_TXPPPENPORT2)
24838 #define G_TXPPPENPORT2(x) (((x) >> S_TXPPPENPORT2) & M_TXPPPENPORT2)
24840 #define S_TXPPPENPORT1 8
24841 #define M_TXPPPENPORT1 0xffU
24842 #define V_TXPPPENPORT1(x) ((x) << S_TXPPPENPORT1)
24843 #define G_TXPPPENPORT1(x) (((x) >> S_TXPPPENPORT1) & M_TXPPPENPORT1)
24845 #define S_TXPPPENPORT0 0
24846 #define M_TXPPPENPORT0 0xffU
24847 #define V_TXPPPENPORT0(x) ((x) << S_TXPPPENPORT0)
24848 #define G_TXPPPENPORT0(x) (((x) >> S_TXPPPENPORT0) & M_TXPPPENPORT0)
24850 #define A_TP_RX_SCHED_FIFO 0x2b
24852 #define S_COMMITLIMIT1H 24
24853 #define M_COMMITLIMIT1H 0xffU
24854 #define V_COMMITLIMIT1H(x) ((x) << S_COMMITLIMIT1H)
24855 #define G_COMMITLIMIT1H(x) (((x) >> S_COMMITLIMIT1H) & M_COMMITLIMIT1H)
24857 #define S_COMMITLIMIT1L 16
24858 #define M_COMMITLIMIT1L 0xffU
24859 #define V_COMMITLIMIT1L(x) ((x) << S_COMMITLIMIT1L)
24860 #define G_COMMITLIMIT1L(x) (((x) >> S_COMMITLIMIT1L) & M_COMMITLIMIT1L)
24862 #define S_COMMITLIMIT0H 8
24863 #define M_COMMITLIMIT0H 0xffU
24864 #define V_COMMITLIMIT0H(x) ((x) << S_COMMITLIMIT0H)
24865 #define G_COMMITLIMIT0H(x) (((x) >> S_COMMITLIMIT0H) & M_COMMITLIMIT0H)
24867 #define S_COMMITLIMIT0L 0
24868 #define M_COMMITLIMIT0L 0xffU
24869 #define V_COMMITLIMIT0L(x) ((x) << S_COMMITLIMIT0L)
24870 #define G_COMMITLIMIT0L(x) (((x) >> S_COMMITLIMIT0L) & M_COMMITLIMIT0L)
24872 #define A_TP_IPMI_CFG1 0x2e
24874 #define S_VLANENABLE 31
24875 #define V_VLANENABLE(x) ((x) << S_VLANENABLE)
24876 #define F_VLANENABLE V_VLANENABLE(1U)
24878 #define S_PRIMARYPORTENABLE 30
24879 #define V_PRIMARYPORTENABLE(x) ((x) << S_PRIMARYPORTENABLE)
24880 #define F_PRIMARYPORTENABLE V_PRIMARYPORTENABLE(1U)
24882 #define S_SECUREPORTENABLE 29
24883 #define V_SECUREPORTENABLE(x) ((x) << S_SECUREPORTENABLE)
24884 #define F_SECUREPORTENABLE V_SECUREPORTENABLE(1U)
24886 #define S_ARPENABLE 28
24887 #define V_ARPENABLE(x) ((x) << S_ARPENABLE)
24888 #define F_ARPENABLE V_ARPENABLE(1U)
24890 #define S_IPMI_VLAN 0
24891 #define M_IPMI_VLAN 0xffffU
24892 #define V_IPMI_VLAN(x) ((x) << S_IPMI_VLAN)
24893 #define G_IPMI_VLAN(x) (((x) >> S_IPMI_VLAN) & M_IPMI_VLAN)
24895 #define A_TP_IPMI_CFG2 0x2f
24897 #define S_SECUREPORT 16
24898 #define M_SECUREPORT 0xffffU
24899 #define V_SECUREPORT(x) ((x) << S_SECUREPORT)
24900 #define G_SECUREPORT(x) (((x) >> S_SECUREPORT) & M_SECUREPORT)
24902 #define S_PRIMARYPORT 0
24903 #define M_PRIMARYPORT 0xffffU
24904 #define V_PRIMARYPORT(x) ((x) << S_PRIMARYPORT)
24905 #define G_PRIMARYPORT(x) (((x) >> S_PRIMARYPORT) & M_PRIMARYPORT)
24907 #define A_TP_RSS_PF0_CONFIG 0x30
24909 #define S_MAPENABLE 31
24910 #define V_MAPENABLE(x) ((x) << S_MAPENABLE)
24911 #define F_MAPENABLE V_MAPENABLE(1U)
24913 #define S_CHNENABLE 30
24914 #define V_CHNENABLE(x) ((x) << S_CHNENABLE)
24915 #define F_CHNENABLE V_CHNENABLE(1U)
24917 #define S_PRTENABLE 29
24918 #define V_PRTENABLE(x) ((x) << S_PRTENABLE)
24919 #define F_PRTENABLE V_PRTENABLE(1U)
24921 #define S_UDPFOURTUPEN 28
24922 #define V_UDPFOURTUPEN(x) ((x) << S_UDPFOURTUPEN)
24923 #define F_UDPFOURTUPEN V_UDPFOURTUPEN(1U)
24925 #define S_IP6FOURTUPEN 27
24926 #define V_IP6FOURTUPEN(x) ((x) << S_IP6FOURTUPEN)
24927 #define F_IP6FOURTUPEN V_IP6FOURTUPEN(1U)
24929 #define S_IP6TWOTUPEN 26
24930 #define V_IP6TWOTUPEN(x) ((x) << S_IP6TWOTUPEN)
24931 #define F_IP6TWOTUPEN V_IP6TWOTUPEN(1U)
24933 #define S_IP4FOURTUPEN 25
24934 #define V_IP4FOURTUPEN(x) ((x) << S_IP4FOURTUPEN)
24935 #define F_IP4FOURTUPEN V_IP4FOURTUPEN(1U)
24937 #define S_IP4TWOTUPEN 24
24938 #define V_IP4TWOTUPEN(x) ((x) << S_IP4TWOTUPEN)
24939 #define F_IP4TWOTUPEN V_IP4TWOTUPEN(1U)
24941 #define S_IVFWIDTH 20
24942 #define M_IVFWIDTH 0xfU
24943 #define V_IVFWIDTH(x) ((x) << S_IVFWIDTH)
24944 #define G_IVFWIDTH(x) (((x) >> S_IVFWIDTH) & M_IVFWIDTH)
24946 #define S_CH1DEFAULTQUEUE 10
24947 #define M_CH1DEFAULTQUEUE 0x3ffU
24948 #define V_CH1DEFAULTQUEUE(x) ((x) << S_CH1DEFAULTQUEUE)
24949 #define G_CH1DEFAULTQUEUE(x) (((x) >> S_CH1DEFAULTQUEUE) & M_CH1DEFAULTQUEUE)
24951 #define S_CH0DEFAULTQUEUE 0
24952 #define M_CH0DEFAULTQUEUE 0x3ffU
24953 #define V_CH0DEFAULTQUEUE(x) ((x) << S_CH0DEFAULTQUEUE)
24954 #define G_CH0DEFAULTQUEUE(x) (((x) >> S_CH0DEFAULTQUEUE) & M_CH0DEFAULTQUEUE)
24956 #define S_PRIENABLE 30
24957 #define V_PRIENABLE(x) ((x) << S_PRIENABLE)
24958 #define F_PRIENABLE V_PRIENABLE(1U)
24960 #define S_T6_CHNENABLE 29
24961 #define V_T6_CHNENABLE(x) ((x) << S_T6_CHNENABLE)
24962 #define F_T6_CHNENABLE V_T6_CHNENABLE(1U)
24964 #define A_TP_RSS_PF1_CONFIG 0x31
24966 #define S_T6_CHNENABLE 29
24967 #define V_T6_CHNENABLE(x) ((x) << S_T6_CHNENABLE)
24968 #define F_T6_CHNENABLE V_T6_CHNENABLE(1U)
24970 #define A_TP_RSS_PF2_CONFIG 0x32
24972 #define S_T6_CHNENABLE 29
24973 #define V_T6_CHNENABLE(x) ((x) << S_T6_CHNENABLE)
24974 #define F_T6_CHNENABLE V_T6_CHNENABLE(1U)
24976 #define A_TP_RSS_PF3_CONFIG 0x33
24978 #define S_T6_CHNENABLE 29
24979 #define V_T6_CHNENABLE(x) ((x) << S_T6_CHNENABLE)
24980 #define F_T6_CHNENABLE V_T6_CHNENABLE(1U)
24982 #define A_TP_RSS_PF4_CONFIG 0x34
24984 #define S_T6_CHNENABLE 29
24985 #define V_T6_CHNENABLE(x) ((x) << S_T6_CHNENABLE)
24986 #define F_T6_CHNENABLE V_T6_CHNENABLE(1U)
24988 #define A_TP_RSS_PF5_CONFIG 0x35
24990 #define S_T6_CHNENABLE 29
24991 #define V_T6_CHNENABLE(x) ((x) << S_T6_CHNENABLE)
24992 #define F_T6_CHNENABLE V_T6_CHNENABLE(1U)
24994 #define A_TP_RSS_PF6_CONFIG 0x36
24996 #define S_T6_CHNENABLE 29
24997 #define V_T6_CHNENABLE(x) ((x) << S_T6_CHNENABLE)
24998 #define F_T6_CHNENABLE V_T6_CHNENABLE(1U)
25000 #define A_TP_RSS_PF7_CONFIG 0x37
25002 #define S_T6_CHNENABLE 29
25003 #define V_T6_CHNENABLE(x) ((x) << S_T6_CHNENABLE)
25004 #define F_T6_CHNENABLE V_T6_CHNENABLE(1U)
25006 #define A_TP_RSS_PF_MAP 0x38
25008 #define S_LKPIDXSIZE 24
25009 #define M_LKPIDXSIZE 0x3U
25010 #define V_LKPIDXSIZE(x) ((x) << S_LKPIDXSIZE)
25011 #define G_LKPIDXSIZE(x) (((x) >> S_LKPIDXSIZE) & M_LKPIDXSIZE)
25013 #define S_PF7LKPIDX 21
25014 #define M_PF7LKPIDX 0x7U
25015 #define V_PF7LKPIDX(x) ((x) << S_PF7LKPIDX)
25016 #define G_PF7LKPIDX(x) (((x) >> S_PF7LKPIDX) & M_PF7LKPIDX)
25018 #define S_PF6LKPIDX 18
25019 #define M_PF6LKPIDX 0x7U
25020 #define V_PF6LKPIDX(x) ((x) << S_PF6LKPIDX)
25021 #define G_PF6LKPIDX(x) (((x) >> S_PF6LKPIDX) & M_PF6LKPIDX)
25023 #define S_PF5LKPIDX 15
25024 #define M_PF5LKPIDX 0x7U
25025 #define V_PF5LKPIDX(x) ((x) << S_PF5LKPIDX)
25026 #define G_PF5LKPIDX(x) (((x) >> S_PF5LKPIDX) & M_PF5LKPIDX)
25028 #define S_PF4LKPIDX 12
25029 #define M_PF4LKPIDX 0x7U
25030 #define V_PF4LKPIDX(x) ((x) << S_PF4LKPIDX)
25031 #define G_PF4LKPIDX(x) (((x) >> S_PF4LKPIDX) & M_PF4LKPIDX)
25033 #define S_PF3LKPIDX 9
25034 #define M_PF3LKPIDX 0x7U
25035 #define V_PF3LKPIDX(x) ((x) << S_PF3LKPIDX)
25036 #define G_PF3LKPIDX(x) (((x) >> S_PF3LKPIDX) & M_PF3LKPIDX)
25038 #define S_PF2LKPIDX 6
25039 #define M_PF2LKPIDX 0x7U
25040 #define V_PF2LKPIDX(x) ((x) << S_PF2LKPIDX)
25041 #define G_PF2LKPIDX(x) (((x) >> S_PF2LKPIDX) & M_PF2LKPIDX)
25043 #define S_PF1LKPIDX 3
25044 #define M_PF1LKPIDX 0x7U
25045 #define V_PF1LKPIDX(x) ((x) << S_PF1LKPIDX)
25046 #define G_PF1LKPIDX(x) (((x) >> S_PF1LKPIDX) & M_PF1LKPIDX)
25048 #define S_PF0LKPIDX 0
25049 #define M_PF0LKPIDX 0x7U
25050 #define V_PF0LKPIDX(x) ((x) << S_PF0LKPIDX)
25051 #define G_PF0LKPIDX(x) (((x) >> S_PF0LKPIDX) & M_PF0LKPIDX)
25053 #define A_TP_RSS_PF_MSK 0x39
25055 #define S_PF7MSKSIZE 28
25056 #define M_PF7MSKSIZE 0xfU
25057 #define V_PF7MSKSIZE(x) ((x) << S_PF7MSKSIZE)
25058 #define G_PF7MSKSIZE(x) (((x) >> S_PF7MSKSIZE) & M_PF7MSKSIZE)
25060 #define S_PF6MSKSIZE 24
25061 #define M_PF6MSKSIZE 0xfU
25062 #define V_PF6MSKSIZE(x) ((x) << S_PF6MSKSIZE)
25063 #define G_PF6MSKSIZE(x) (((x) >> S_PF6MSKSIZE) & M_PF6MSKSIZE)
25065 #define S_PF5MSKSIZE 20
25066 #define M_PF5MSKSIZE 0xfU
25067 #define V_PF5MSKSIZE(x) ((x) << S_PF5MSKSIZE)
25068 #define G_PF5MSKSIZE(x) (((x) >> S_PF5MSKSIZE) & M_PF5MSKSIZE)
25070 #define S_PF4MSKSIZE 16
25071 #define M_PF4MSKSIZE 0xfU
25072 #define V_PF4MSKSIZE(x) ((x) << S_PF4MSKSIZE)
25073 #define G_PF4MSKSIZE(x) (((x) >> S_PF4MSKSIZE) & M_PF4MSKSIZE)
25075 #define S_PF3MSKSIZE 12
25076 #define M_PF3MSKSIZE 0xfU
25077 #define V_PF3MSKSIZE(x) ((x) << S_PF3MSKSIZE)
25078 #define G_PF3MSKSIZE(x) (((x) >> S_PF3MSKSIZE) & M_PF3MSKSIZE)
25080 #define S_PF2MSKSIZE 8
25081 #define M_PF2MSKSIZE 0xfU
25082 #define V_PF2MSKSIZE(x) ((x) << S_PF2MSKSIZE)
25083 #define G_PF2MSKSIZE(x) (((x) >> S_PF2MSKSIZE) & M_PF2MSKSIZE)
25085 #define S_PF1MSKSIZE 4
25086 #define M_PF1MSKSIZE 0xfU
25087 #define V_PF1MSKSIZE(x) ((x) << S_PF1MSKSIZE)
25088 #define G_PF1MSKSIZE(x) (((x) >> S_PF1MSKSIZE) & M_PF1MSKSIZE)
25090 #define S_PF0MSKSIZE 0
25091 #define M_PF0MSKSIZE 0xfU
25092 #define V_PF0MSKSIZE(x) ((x) << S_PF0MSKSIZE)
25093 #define G_PF0MSKSIZE(x) (((x) >> S_PF0MSKSIZE) & M_PF0MSKSIZE)
25095 #define A_TP_RSS_VFL_CONFIG 0x3a
25096 #define A_TP_RSS_VFH_CONFIG 0x3b
25098 #define S_ENABLEUDPHASH 31
25099 #define V_ENABLEUDPHASH(x) ((x) << S_ENABLEUDPHASH)
25100 #define F_ENABLEUDPHASH V_ENABLEUDPHASH(1U)
25102 #define S_VFUPEN 30
25103 #define V_VFUPEN(x) ((x) << S_VFUPEN)
25104 #define F_VFUPEN V_VFUPEN(1U)
25106 #define S_VFVLNEX 28
25107 #define V_VFVLNEX(x) ((x) << S_VFVLNEX)
25108 #define F_VFVLNEX V_VFVLNEX(1U)
25110 #define S_VFPRTEN 27
25111 #define V_VFPRTEN(x) ((x) << S_VFPRTEN)
25112 #define F_VFPRTEN V_VFPRTEN(1U)
25114 #define S_VFCHNEN 26
25115 #define V_VFCHNEN(x) ((x) << S_VFCHNEN)
25116 #define F_VFCHNEN V_VFCHNEN(1U)
25118 #define S_DEFAULTQUEUE 16
25119 #define M_DEFAULTQUEUE 0x3ffU
25120 #define V_DEFAULTQUEUE(x) ((x) << S_DEFAULTQUEUE)
25121 #define G_DEFAULTQUEUE(x) (((x) >> S_DEFAULTQUEUE) & M_DEFAULTQUEUE)
25123 #define S_VFLKPIDX 8
25124 #define M_VFLKPIDX 0xffU
25125 #define V_VFLKPIDX(x) ((x) << S_VFLKPIDX)
25126 #define G_VFLKPIDX(x) (((x) >> S_VFLKPIDX) & M_VFLKPIDX)
25128 #define S_VFIP6FOURTUPEN 7
25129 #define V_VFIP6FOURTUPEN(x) ((x) << S_VFIP6FOURTUPEN)
25130 #define F_VFIP6FOURTUPEN V_VFIP6FOURTUPEN(1U)
25132 #define S_VFIP6TWOTUPEN 6
25133 #define V_VFIP6TWOTUPEN(x) ((x) << S_VFIP6TWOTUPEN)
25134 #define F_VFIP6TWOTUPEN V_VFIP6TWOTUPEN(1U)
25136 #define S_VFIP4FOURTUPEN 5
25137 #define V_VFIP4FOURTUPEN(x) ((x) << S_VFIP4FOURTUPEN)
25138 #define F_VFIP4FOURTUPEN V_VFIP4FOURTUPEN(1U)
25140 #define S_VFIP4TWOTUPEN 4
25141 #define V_VFIP4TWOTUPEN(x) ((x) << S_VFIP4TWOTUPEN)
25142 #define F_VFIP4TWOTUPEN V_VFIP4TWOTUPEN(1U)
25144 #define S_KEYINDEX 0
25145 #define M_KEYINDEX 0xfU
25146 #define V_KEYINDEX(x) ((x) << S_KEYINDEX)
25147 #define G_KEYINDEX(x) (((x) >> S_KEYINDEX) & M_KEYINDEX)
25149 #define A_TP_RSS_SECRET_KEY0 0x40
25150 #define A_TP_RSS_SECRET_KEY1 0x41
25151 #define A_TP_RSS_SECRET_KEY2 0x42
25152 #define A_TP_RSS_SECRET_KEY3 0x43
25153 #define A_TP_RSS_SECRET_KEY4 0x44
25154 #define A_TP_RSS_SECRET_KEY5 0x45
25155 #define A_TP_RSS_SECRET_KEY6 0x46
25156 #define A_TP_RSS_SECRET_KEY7 0x47
25157 #define A_TP_RSS_SECRET_KEY8 0x48
25158 #define A_TP_RSS_SECRET_KEY9 0x49
25159 #define A_TP_ETHER_TYPE_VL 0x50
25161 #define S_CQFCTYPE 16
25162 #define M_CQFCTYPE 0xffffU
25163 #define V_CQFCTYPE(x) ((x) << S_CQFCTYPE)
25164 #define G_CQFCTYPE(x) (((x) >> S_CQFCTYPE) & M_CQFCTYPE)
25166 #define S_VLANTYPE 0
25167 #define M_VLANTYPE 0xffffU
25168 #define V_VLANTYPE(x) ((x) << S_VLANTYPE)
25169 #define G_VLANTYPE(x) (((x) >> S_VLANTYPE) & M_VLANTYPE)
25171 #define A_TP_ETHER_TYPE_IP 0x51
25173 #define S_IPV6TYPE 16
25174 #define M_IPV6TYPE 0xffffU
25175 #define V_IPV6TYPE(x) ((x) << S_IPV6TYPE)
25176 #define G_IPV6TYPE(x) (((x) >> S_IPV6TYPE) & M_IPV6TYPE)
25178 #define S_IPV4TYPE 0
25179 #define M_IPV4TYPE 0xffffU
25180 #define V_IPV4TYPE(x) ((x) << S_IPV4TYPE)
25181 #define G_IPV4TYPE(x) (((x) >> S_IPV4TYPE) & M_IPV4TYPE)
25183 #define A_TP_ETHER_TYPE_FW 0x52
25185 #define S_ETHTYPE1 16
25186 #define M_ETHTYPE1 0xffffU
25187 #define V_ETHTYPE1(x) ((x) << S_ETHTYPE1)
25188 #define G_ETHTYPE1(x) (((x) >> S_ETHTYPE1) & M_ETHTYPE1)
25190 #define S_ETHTYPE0 0
25191 #define M_ETHTYPE0 0xffffU
25192 #define V_ETHTYPE0(x) ((x) << S_ETHTYPE0)
25193 #define G_ETHTYPE0(x) (((x) >> S_ETHTYPE0) & M_ETHTYPE0)
25195 #define A_TP_VXLAN_HEADER 0x53
25197 #define S_VXLANPORT 0
25198 #define M_VXLANPORT 0xffffU
25199 #define V_VXLANPORT(x) ((x) << S_VXLANPORT)
25200 #define G_VXLANPORT(x) (((x) >> S_VXLANPORT) & M_VXLANPORT)
25202 #define A_TP_CORE_POWER 0x54
25204 #define S_SLEEPRDYVNT 12
25205 #define V_SLEEPRDYVNT(x) ((x) << S_SLEEPRDYVNT)
25206 #define F_SLEEPRDYVNT V_SLEEPRDYVNT(1U)
25208 #define S_SLEEPRDYTBL 11
25209 #define V_SLEEPRDYTBL(x) ((x) << S_SLEEPRDYTBL)
25210 #define F_SLEEPRDYTBL V_SLEEPRDYTBL(1U)
25212 #define S_SLEEPRDYMIB 10
25213 #define V_SLEEPRDYMIB(x) ((x) << S_SLEEPRDYMIB)
25214 #define F_SLEEPRDYMIB V_SLEEPRDYMIB(1U)
25216 #define S_SLEEPRDYARP 9
25217 #define V_SLEEPRDYARP(x) ((x) << S_SLEEPRDYARP)
25218 #define F_SLEEPRDYARP V_SLEEPRDYARP(1U)
25220 #define S_SLEEPRDYRSS 8
25221 #define V_SLEEPRDYRSS(x) ((x) << S_SLEEPRDYRSS)
25222 #define F_SLEEPRDYRSS V_SLEEPRDYRSS(1U)
25224 #define S_SLEEPREQVNT 4
25225 #define V_SLEEPREQVNT(x) ((x) << S_SLEEPREQVNT)
25226 #define F_SLEEPREQVNT V_SLEEPREQVNT(1U)
25228 #define S_SLEEPREQTBL 3
25229 #define V_SLEEPREQTBL(x) ((x) << S_SLEEPREQTBL)
25230 #define F_SLEEPREQTBL V_SLEEPREQTBL(1U)
25232 #define S_SLEEPREQMIB 2
25233 #define V_SLEEPREQMIB(x) ((x) << S_SLEEPREQMIB)
25234 #define F_SLEEPREQMIB V_SLEEPREQMIB(1U)
25236 #define S_SLEEPREQARP 1
25237 #define V_SLEEPREQARP(x) ((x) << S_SLEEPREQARP)
25238 #define F_SLEEPREQARP V_SLEEPREQARP(1U)
25240 #define S_SLEEPREQRSS 0
25241 #define V_SLEEPREQRSS(x) ((x) << S_SLEEPREQRSS)
25242 #define F_SLEEPREQRSS V_SLEEPREQRSS(1U)
25244 #define A_TP_CORE_RDMA 0x55
25246 #define S_IMMEDIATEOP 20
25247 #define M_IMMEDIATEOP 0xfU
25248 #define V_IMMEDIATEOP(x) ((x) << S_IMMEDIATEOP)
25249 #define G_IMMEDIATEOP(x) (((x) >> S_IMMEDIATEOP) & M_IMMEDIATEOP)
25251 #define S_IMMEDIATESE 16
25252 #define M_IMMEDIATESE 0xfU
25253 #define V_IMMEDIATESE(x) ((x) << S_IMMEDIATESE)
25254 #define G_IMMEDIATESE(x) (((x) >> S_IMMEDIATESE) & M_IMMEDIATESE)
25256 #define S_ATOMICREQOP 12
25257 #define M_ATOMICREQOP 0xfU
25258 #define V_ATOMICREQOP(x) ((x) << S_ATOMICREQOP)
25259 #define G_ATOMICREQOP(x) (((x) >> S_ATOMICREQOP) & M_ATOMICREQOP)
25261 #define S_ATOMICRSPOP 8
25262 #define M_ATOMICRSPOP 0xfU
25263 #define V_ATOMICRSPOP(x) ((x) << S_ATOMICRSPOP)
25264 #define G_ATOMICRSPOP(x) (((x) >> S_ATOMICRSPOP) & M_ATOMICRSPOP)
25266 #define S_IMMEDIASEEN 1
25267 #define V_IMMEDIASEEN(x) ((x) << S_IMMEDIASEEN)
25268 #define F_IMMEDIASEEN V_IMMEDIASEEN(1U)
25270 #define S_IMMEDIATEEN 0
25271 #define V_IMMEDIATEEN(x) ((x) << S_IMMEDIATEEN)
25272 #define F_IMMEDIATEEN V_IMMEDIATEEN(1U)
25274 #define S_SHAREDRQEN 31
25275 #define V_SHAREDRQEN(x) ((x) << S_SHAREDRQEN)
25276 #define F_SHAREDRQEN V_SHAREDRQEN(1U)
25278 #define S_SHAREDXRC 30
25279 #define V_SHAREDXRC(x) ((x) << S_SHAREDXRC)
25280 #define F_SHAREDXRC V_SHAREDXRC(1U)
25282 #define A_TP_FRAG_CONFIG 0x56
25284 #define S_TLSMODE 16
25285 #define M_TLSMODE 0x3U
25286 #define V_TLSMODE(x) ((x) << S_TLSMODE)
25287 #define G_TLSMODE(x) (((x) >> S_TLSMODE) & M_TLSMODE)
25289 #define S_USERMODE 14
25290 #define M_USERMODE 0x3U
25291 #define V_USERMODE(x) ((x) << S_USERMODE)
25292 #define G_USERMODE(x) (((x) >> S_USERMODE) & M_USERMODE)
25294 #define S_FCOEMODE 12
25295 #define M_FCOEMODE 0x3U
25296 #define V_FCOEMODE(x) ((x) << S_FCOEMODE)
25297 #define G_FCOEMODE(x) (((x) >> S_FCOEMODE) & M_FCOEMODE)
25299 #define S_IANDPMODE 10
25300 #define M_IANDPMODE 0x3U
25301 #define V_IANDPMODE(x) ((x) << S_IANDPMODE)
25302 #define G_IANDPMODE(x) (((x) >> S_IANDPMODE) & M_IANDPMODE)
25304 #define S_RDDPMODE 8
25305 #define M_RDDPMODE 0x3U
25306 #define V_RDDPMODE(x) ((x) << S_RDDPMODE)
25307 #define G_RDDPMODE(x) (((x) >> S_RDDPMODE) & M_RDDPMODE)
25309 #define S_IWARPMODE 6
25310 #define M_IWARPMODE 0x3U
25311 #define V_IWARPMODE(x) ((x) << S_IWARPMODE)
25312 #define G_IWARPMODE(x) (((x) >> S_IWARPMODE) & M_IWARPMODE)
25314 #define S_ISCSIMODE 4
25315 #define M_ISCSIMODE 0x3U
25316 #define V_ISCSIMODE(x) ((x) << S_ISCSIMODE)
25317 #define G_ISCSIMODE(x) (((x) >> S_ISCSIMODE) & M_ISCSIMODE)
25319 #define S_DDPMODE 2
25320 #define M_DDPMODE 0x3U
25321 #define V_DDPMODE(x) ((x) << S_DDPMODE)
25322 #define G_DDPMODE(x) (((x) >> S_DDPMODE) & M_DDPMODE)
25324 #define S_PASSMODE 0
25325 #define M_PASSMODE 0x3U
25326 #define V_PASSMODE(x) ((x) << S_PASSMODE)
25327 #define G_PASSMODE(x) (((x) >> S_PASSMODE) & M_PASSMODE)
25329 #define A_TP_CMM_CONFIG 0x57
25331 #define S_WRCNTIDLE 16
25332 #define M_WRCNTIDLE 0xffffU
25333 #define V_WRCNTIDLE(x) ((x) << S_WRCNTIDLE)
25334 #define G_WRCNTIDLE(x) (((x) >> S_WRCNTIDLE) & M_WRCNTIDLE)
25336 #define S_RDTHRESHOLD 8
25337 #define M_RDTHRESHOLD 0x3fU
25338 #define V_RDTHRESHOLD(x) ((x) << S_RDTHRESHOLD)
25339 #define G_RDTHRESHOLD(x) (((x) >> S_RDTHRESHOLD) & M_RDTHRESHOLD)
25341 #define S_WRTHRLEVEL2 7
25342 #define V_WRTHRLEVEL2(x) ((x) << S_WRTHRLEVEL2)
25343 #define F_WRTHRLEVEL2 V_WRTHRLEVEL2(1U)
25345 #define S_WRTHRLEVEL1 6
25346 #define V_WRTHRLEVEL1(x) ((x) << S_WRTHRLEVEL1)
25347 #define F_WRTHRLEVEL1 V_WRTHRLEVEL1(1U)
25349 #define S_WRTHRTHRESHEN 5
25350 #define V_WRTHRTHRESHEN(x) ((x) << S_WRTHRTHRESHEN)
25351 #define F_WRTHRTHRESHEN V_WRTHRTHRESHEN(1U)
25353 #define S_WRTHRTHRESH 0
25354 #define M_WRTHRTHRESH 0x1fU
25355 #define V_WRTHRTHRESH(x) ((x) << S_WRTHRTHRESH)
25356 #define G_WRTHRTHRESH(x) (((x) >> S_WRTHRTHRESH) & M_WRTHRTHRESH)
25358 #define A_TP_VXLAN_CONFIG 0x58
25360 #define S_VXLANFLAGS 16
25361 #define M_VXLANFLAGS 0xffffU
25362 #define V_VXLANFLAGS(x) ((x) << S_VXLANFLAGS)
25363 #define G_VXLANFLAGS(x) (((x) >> S_VXLANFLAGS) & M_VXLANFLAGS)
25365 #define S_VXLANTYPE 0
25366 #define M_VXLANTYPE 0xffffU
25367 #define V_VXLANTYPE(x) ((x) << S_VXLANTYPE)
25368 #define G_VXLANTYPE(x) (((x) >> S_VXLANTYPE) & M_VXLANTYPE)
25370 #define A_TP_NVGRE_CONFIG 0x59
25372 #define S_GREFLAGS 16
25373 #define M_GREFLAGS 0xffffU
25374 #define V_GREFLAGS(x) ((x) << S_GREFLAGS)
25375 #define G_GREFLAGS(x) (((x) >> S_GREFLAGS) & M_GREFLAGS)
25377 #define S_GRETYPE 0
25378 #define M_GRETYPE 0xffffU
25379 #define V_GRETYPE(x) ((x) << S_GRETYPE)
25380 #define G_GRETYPE(x) (((x) >> S_GRETYPE) & M_GRETYPE)
25382 #define A_TP_DBG_CLEAR 0x60
25383 #define A_TP_DBG_CORE_HDR0 0x61
25385 #define S_E_TCP_OP_SRDY 16
25386 #define V_E_TCP_OP_SRDY(x) ((x) << S_E_TCP_OP_SRDY)
25387 #define F_E_TCP_OP_SRDY V_E_TCP_OP_SRDY(1U)
25389 #define S_E_PLD_TXZEROP_SRDY 15
25390 #define V_E_PLD_TXZEROP_SRDY(x) ((x) << S_E_PLD_TXZEROP_SRDY)
25391 #define F_E_PLD_TXZEROP_SRDY V_E_PLD_TXZEROP_SRDY(1U)
25393 #define S_E_PLD_RX_SRDY 14
25394 #define V_E_PLD_RX_SRDY(x) ((x) << S_E_PLD_RX_SRDY)
25395 #define F_E_PLD_RX_SRDY V_E_PLD_RX_SRDY(1U)
25397 #define S_E_RX_ERROR_SRDY 13
25398 #define V_E_RX_ERROR_SRDY(x) ((x) << S_E_RX_ERROR_SRDY)
25399 #define F_E_RX_ERROR_SRDY V_E_RX_ERROR_SRDY(1U)
25401 #define S_E_RX_ISS_SRDY 12
25402 #define V_E_RX_ISS_SRDY(x) ((x) << S_E_RX_ISS_SRDY)
25403 #define F_E_RX_ISS_SRDY V_E_RX_ISS_SRDY(1U)
25405 #define S_C_TCP_OP_SRDY 11
25406 #define V_C_TCP_OP_SRDY(x) ((x) << S_C_TCP_OP_SRDY)
25407 #define F_C_TCP_OP_SRDY V_C_TCP_OP_SRDY(1U)
25409 #define S_C_PLD_TXZEROP_SRDY 10
25410 #define V_C_PLD_TXZEROP_SRDY(x) ((x) << S_C_PLD_TXZEROP_SRDY)
25411 #define F_C_PLD_TXZEROP_SRDY V_C_PLD_TXZEROP_SRDY(1U)
25413 #define S_C_PLD_RX_SRDY 9
25414 #define V_C_PLD_RX_SRDY(x) ((x) << S_C_PLD_RX_SRDY)
25415 #define F_C_PLD_RX_SRDY V_C_PLD_RX_SRDY(1U)
25417 #define S_C_RX_ERROR_SRDY 8
25418 #define V_C_RX_ERROR_SRDY(x) ((x) << S_C_RX_ERROR_SRDY)
25419 #define F_C_RX_ERROR_SRDY V_C_RX_ERROR_SRDY(1U)
25421 #define S_C_RX_ISS_SRDY 7
25422 #define V_C_RX_ISS_SRDY(x) ((x) << S_C_RX_ISS_SRDY)
25423 #define F_C_RX_ISS_SRDY V_C_RX_ISS_SRDY(1U)
25425 #define S_E_CPL5_TXVALID 6
25426 #define V_E_CPL5_TXVALID(x) ((x) << S_E_CPL5_TXVALID)
25427 #define F_E_CPL5_TXVALID V_E_CPL5_TXVALID(1U)
25429 #define S_E_ETH_TXVALID 5
25430 #define V_E_ETH_TXVALID(x) ((x) << S_E_ETH_TXVALID)
25431 #define F_E_ETH_TXVALID V_E_ETH_TXVALID(1U)
25433 #define S_E_IP_TXVALID 4
25434 #define V_E_IP_TXVALID(x) ((x) << S_E_IP_TXVALID)
25435 #define F_E_IP_TXVALID V_E_IP_TXVALID(1U)
25437 #define S_E_TCP_TXVALID 3
25438 #define V_E_TCP_TXVALID(x) ((x) << S_E_TCP_TXVALID)
25439 #define F_E_TCP_TXVALID V_E_TCP_TXVALID(1U)
25441 #define S_C_CPL5_RXVALID 2
25442 #define V_C_CPL5_RXVALID(x) ((x) << S_C_CPL5_RXVALID)
25443 #define F_C_CPL5_RXVALID V_C_CPL5_RXVALID(1U)
25445 #define S_C_CPL5_TXVALID 1
25446 #define V_C_CPL5_TXVALID(x) ((x) << S_C_CPL5_TXVALID)
25447 #define F_C_CPL5_TXVALID V_C_CPL5_TXVALID(1U)
25449 #define S_E_TCP_OPT_RXVALID 0
25450 #define V_E_TCP_OPT_RXVALID(x) ((x) << S_E_TCP_OPT_RXVALID)
25451 #define F_E_TCP_OPT_RXVALID V_E_TCP_OPT_RXVALID(1U)
25453 #define A_TP_DBG_CORE_HDR1 0x62
25455 #define S_E_CPL5_TXFULL 6
25456 #define V_E_CPL5_TXFULL(x) ((x) << S_E_CPL5_TXFULL)
25457 #define F_E_CPL5_TXFULL V_E_CPL5_TXFULL(1U)
25459 #define S_E_ETH_TXFULL 5
25460 #define V_E_ETH_TXFULL(x) ((x) << S_E_ETH_TXFULL)
25461 #define F_E_ETH_TXFULL V_E_ETH_TXFULL(1U)
25463 #define S_E_IP_TXFULL 4
25464 #define V_E_IP_TXFULL(x) ((x) << S_E_IP_TXFULL)
25465 #define F_E_IP_TXFULL V_E_IP_TXFULL(1U)
25467 #define S_E_TCP_TXFULL 3
25468 #define V_E_TCP_TXFULL(x) ((x) << S_E_TCP_TXFULL)
25469 #define F_E_TCP_TXFULL V_E_TCP_TXFULL(1U)
25471 #define S_C_CPL5_RXFULL 2
25472 #define V_C_CPL5_RXFULL(x) ((x) << S_C_CPL5_RXFULL)
25473 #define F_C_CPL5_RXFULL V_C_CPL5_RXFULL(1U)
25475 #define S_C_CPL5_TXFULL 1
25476 #define V_C_CPL5_TXFULL(x) ((x) << S_C_CPL5_TXFULL)
25477 #define F_C_CPL5_TXFULL V_C_CPL5_TXFULL(1U)
25479 #define S_E_TCP_OPT_RXFULL 0
25480 #define V_E_TCP_OPT_RXFULL(x) ((x) << S_E_TCP_OPT_RXFULL)
25481 #define F_E_TCP_OPT_RXFULL V_E_TCP_OPT_RXFULL(1U)
25483 #define A_TP_DBG_CORE_FATAL 0x63
25485 #define S_EMSGFATAL 31
25486 #define V_EMSGFATAL(x) ((x) << S_EMSGFATAL)
25487 #define F_EMSGFATAL V_EMSGFATAL(1U)
25489 #define S_CMSGFATAL 30
25490 #define V_CMSGFATAL(x) ((x) << S_CMSGFATAL)
25491 #define F_CMSGFATAL V_CMSGFATAL(1U)
25493 #define S_PAWSFATAL 29
25494 #define V_PAWSFATAL(x) ((x) << S_PAWSFATAL)
25495 #define F_PAWSFATAL V_PAWSFATAL(1U)
25497 #define S_SRAMFATAL 28
25498 #define V_SRAMFATAL(x) ((x) << S_SRAMFATAL)
25499 #define F_SRAMFATAL V_SRAMFATAL(1U)
25501 #define S_CPCMDCONG 24
25502 #define M_CPCMDCONG 0xfU
25503 #define V_CPCMDCONG(x) ((x) << S_CPCMDCONG)
25504 #define G_CPCMDCONG(x) (((x) >> S_CPCMDCONG) & M_CPCMDCONG)
25506 #define S_EPCMDCONG 22
25507 #define M_EPCMDCONG 0x3U
25508 #define V_EPCMDCONG(x) ((x) << S_EPCMDCONG)
25509 #define G_EPCMDCONG(x) (((x) >> S_EPCMDCONG) & M_EPCMDCONG)
25511 #define S_CPCMDLENFATAL 21
25512 #define V_CPCMDLENFATAL(x) ((x) << S_CPCMDLENFATAL)
25513 #define F_CPCMDLENFATAL V_CPCMDLENFATAL(1U)
25515 #define S_EPCMDLENFATAL 20
25516 #define V_EPCMDLENFATAL(x) ((x) << S_EPCMDLENFATAL)
25517 #define F_EPCMDLENFATAL V_EPCMDLENFATAL(1U)
25519 #define S_CPCMDVALID 16
25520 #define M_CPCMDVALID 0xfU
25521 #define V_CPCMDVALID(x) ((x) << S_CPCMDVALID)
25522 #define G_CPCMDVALID(x) (((x) >> S_CPCMDVALID) & M_CPCMDVALID)
25524 #define S_CPCMDAFULL 12
25525 #define M_CPCMDAFULL 0xfU
25526 #define V_CPCMDAFULL(x) ((x) << S_CPCMDAFULL)
25527 #define G_CPCMDAFULL(x) (((x) >> S_CPCMDAFULL) & M_CPCMDAFULL)
25529 #define S_EPCMDVALID 10
25530 #define M_EPCMDVALID 0x3U
25531 #define V_EPCMDVALID(x) ((x) << S_EPCMDVALID)
25532 #define G_EPCMDVALID(x) (((x) >> S_EPCMDVALID) & M_EPCMDVALID)
25534 #define S_EPCMDAFULL 8
25535 #define M_EPCMDAFULL 0x3U
25536 #define V_EPCMDAFULL(x) ((x) << S_EPCMDAFULL)
25537 #define G_EPCMDAFULL(x) (((x) >> S_EPCMDAFULL) & M_EPCMDAFULL)
25539 #define S_CPCMDEOIFATAL 7
25540 #define V_CPCMDEOIFATAL(x) ((x) << S_CPCMDEOIFATAL)
25541 #define F_CPCMDEOIFATAL V_CPCMDEOIFATAL(1U)
25543 #define S_CMDBRQFATAL 4
25544 #define V_CMDBRQFATAL(x) ((x) << S_CMDBRQFATAL)
25545 #define F_CMDBRQFATAL V_CMDBRQFATAL(1U)
25547 #define S_CNONZEROPPOPCNT 2
25548 #define M_CNONZEROPPOPCNT 0x3U
25549 #define V_CNONZEROPPOPCNT(x) ((x) << S_CNONZEROPPOPCNT)
25550 #define G_CNONZEROPPOPCNT(x) (((x) >> S_CNONZEROPPOPCNT) & M_CNONZEROPPOPCNT)
25552 #define S_CPCMDEOICNT 0
25553 #define M_CPCMDEOICNT 0x3U
25554 #define V_CPCMDEOICNT(x) ((x) << S_CPCMDEOICNT)
25555 #define G_CPCMDEOICNT(x) (((x) >> S_CPCMDEOICNT) & M_CPCMDEOICNT)
25557 #define S_CPCMDTTLFATAL 6
25558 #define V_CPCMDTTLFATAL(x) ((x) << S_CPCMDTTLFATAL)
25559 #define F_CPCMDTTLFATAL V_CPCMDTTLFATAL(1U)
25561 #define S_CDATACHNFATAL 5
25562 #define V_CDATACHNFATAL(x) ((x) << S_CDATACHNFATAL)
25563 #define F_CDATACHNFATAL V_CDATACHNFATAL(1U)
25565 #define A_TP_DBG_CORE_OUT 0x64
25567 #define S_CCPLENC 26
25568 #define V_CCPLENC(x) ((x) << S_CCPLENC)
25569 #define F_CCPLENC V_CCPLENC(1U)
25571 #define S_CWRCPLPKT 25
25572 #define V_CWRCPLPKT(x) ((x) << S_CWRCPLPKT)
25573 #define F_CWRCPLPKT V_CWRCPLPKT(1U)
25575 #define S_CWRETHPKT 24
25576 #define V_CWRETHPKT(x) ((x) << S_CWRETHPKT)
25577 #define F_CWRETHPKT V_CWRETHPKT(1U)
25579 #define S_CWRIPPKT 23
25580 #define V_CWRIPPKT(x) ((x) << S_CWRIPPKT)
25581 #define F_CWRIPPKT V_CWRIPPKT(1U)
25583 #define S_CWRTCPPKT 22
25584 #define V_CWRTCPPKT(x) ((x) << S_CWRTCPPKT)
25585 #define F_CWRTCPPKT V_CWRTCPPKT(1U)
25587 #define S_CWRZEROP 21
25588 #define V_CWRZEROP(x) ((x) << S_CWRZEROP)
25589 #define F_CWRZEROP V_CWRZEROP(1U)
25591 #define S_CCPLTXFULL 20
25592 #define V_CCPLTXFULL(x) ((x) << S_CCPLTXFULL)
25593 #define F_CCPLTXFULL V_CCPLTXFULL(1U)
25595 #define S_CETHTXFULL 19
25596 #define V_CETHTXFULL(x) ((x) << S_CETHTXFULL)
25597 #define F_CETHTXFULL V_CETHTXFULL(1U)
25599 #define S_CIPTXFULL 18
25600 #define V_CIPTXFULL(x) ((x) << S_CIPTXFULL)
25601 #define F_CIPTXFULL V_CIPTXFULL(1U)
25603 #define S_CTCPTXFULL 17
25604 #define V_CTCPTXFULL(x) ((x) << S_CTCPTXFULL)
25605 #define F_CTCPTXFULL V_CTCPTXFULL(1U)
25607 #define S_CPLDTXZEROPDRDY 16
25608 #define V_CPLDTXZEROPDRDY(x) ((x) << S_CPLDTXZEROPDRDY)
25609 #define F_CPLDTXZEROPDRDY V_CPLDTXZEROPDRDY(1U)
25611 #define S_ECPLENC 10
25612 #define V_ECPLENC(x) ((x) << S_ECPLENC)
25613 #define F_ECPLENC V_ECPLENC(1U)
25615 #define S_EWRCPLPKT 9
25616 #define V_EWRCPLPKT(x) ((x) << S_EWRCPLPKT)
25617 #define F_EWRCPLPKT V_EWRCPLPKT(1U)
25619 #define S_EWRETHPKT 8
25620 #define V_EWRETHPKT(x) ((x) << S_EWRETHPKT)
25621 #define F_EWRETHPKT V_EWRETHPKT(1U)
25623 #define S_EWRIPPKT 7
25624 #define V_EWRIPPKT(x) ((x) << S_EWRIPPKT)
25625 #define F_EWRIPPKT V_EWRIPPKT(1U)
25627 #define S_EWRTCPPKT 6
25628 #define V_EWRTCPPKT(x) ((x) << S_EWRTCPPKT)
25629 #define F_EWRTCPPKT V_EWRTCPPKT(1U)
25631 #define S_EWRZEROP 5
25632 #define V_EWRZEROP(x) ((x) << S_EWRZEROP)
25633 #define F_EWRZEROP V_EWRZEROP(1U)
25635 #define S_ECPLTXFULL 4
25636 #define V_ECPLTXFULL(x) ((x) << S_ECPLTXFULL)
25637 #define F_ECPLTXFULL V_ECPLTXFULL(1U)
25639 #define S_EETHTXFULL 3
25640 #define V_EETHTXFULL(x) ((x) << S_EETHTXFULL)
25641 #define F_EETHTXFULL V_EETHTXFULL(1U)
25643 #define S_EIPTXFULL 2
25644 #define V_EIPTXFULL(x) ((x) << S_EIPTXFULL)
25645 #define F_EIPTXFULL V_EIPTXFULL(1U)
25647 #define S_ETCPTXFULL 1
25648 #define V_ETCPTXFULL(x) ((x) << S_ETCPTXFULL)
25649 #define F_ETCPTXFULL V_ETCPTXFULL(1U)
25651 #define S_EPLDTXZEROPDRDY 0
25652 #define V_EPLDTXZEROPDRDY(x) ((x) << S_EPLDTXZEROPDRDY)
25653 #define F_EPLDTXZEROPDRDY V_EPLDTXZEROPDRDY(1U)
25655 #define S_CRXBUSYOUT 31
25656 #define V_CRXBUSYOUT(x) ((x) << S_CRXBUSYOUT)
25657 #define F_CRXBUSYOUT V_CRXBUSYOUT(1U)
25659 #define S_CTXBUSYOUT 30
25660 #define V_CTXBUSYOUT(x) ((x) << S_CTXBUSYOUT)
25661 #define F_CTXBUSYOUT V_CTXBUSYOUT(1U)
25663 #define S_CRDCPLPKT 29
25664 #define V_CRDCPLPKT(x) ((x) << S_CRDCPLPKT)
25665 #define F_CRDCPLPKT V_CRDCPLPKT(1U)
25667 #define S_CRDTCPPKT 28
25668 #define V_CRDTCPPKT(x) ((x) << S_CRDTCPPKT)
25669 #define F_CRDTCPPKT V_CRDTCPPKT(1U)
25671 #define S_CNEWMSG 27
25672 #define V_CNEWMSG(x) ((x) << S_CNEWMSG)
25673 #define F_CNEWMSG V_CNEWMSG(1U)
25675 #define S_ERXBUSYOUT 15
25676 #define V_ERXBUSYOUT(x) ((x) << S_ERXBUSYOUT)
25677 #define F_ERXBUSYOUT V_ERXBUSYOUT(1U)
25679 #define S_ETXBUSYOUT 14
25680 #define V_ETXBUSYOUT(x) ((x) << S_ETXBUSYOUT)
25681 #define F_ETXBUSYOUT V_ETXBUSYOUT(1U)
25683 #define S_ERDCPLPKT 13
25684 #define V_ERDCPLPKT(x) ((x) << S_ERDCPLPKT)
25685 #define F_ERDCPLPKT V_ERDCPLPKT(1U)
25687 #define S_ERDTCPPKT 12
25688 #define V_ERDTCPPKT(x) ((x) << S_ERDTCPPKT)
25689 #define F_ERDTCPPKT V_ERDTCPPKT(1U)
25691 #define S_ENEWMSG 11
25692 #define V_ENEWMSG(x) ((x) << S_ENEWMSG)
25693 #define F_ENEWMSG V_ENEWMSG(1U)
25695 #define A_TP_DBG_CORE_TID 0x65
25697 #define S_LINENUMBER 24
25698 #define M_LINENUMBER 0x7fU
25699 #define V_LINENUMBER(x) ((x) << S_LINENUMBER)
25700 #define G_LINENUMBER(x) (((x) >> S_LINENUMBER) & M_LINENUMBER)
25702 #define S_SPURIOUSMSG 23
25703 #define V_SPURIOUSMSG(x) ((x) << S_SPURIOUSMSG)
25704 #define F_SPURIOUSMSG V_SPURIOUSMSG(1U)
25706 #define S_SYNLEARNED 20
25707 #define V_SYNLEARNED(x) ((x) << S_SYNLEARNED)
25708 #define F_SYNLEARNED V_SYNLEARNED(1U)
25710 #define S_TIDVALUE 0
25711 #define M_TIDVALUE 0xfffffU
25712 #define V_TIDVALUE(x) ((x) << S_TIDVALUE)
25713 #define G_TIDVALUE(x) (((x) >> S_TIDVALUE) & M_TIDVALUE)
25717 #define V_SRC(x) ((x) << S_SRC)
25718 #define G_SRC(x) (((x) >> S_SRC) & M_SRC)
25720 #define A_TP_DBG_ENG_RES0 0x66
25722 #define S_RESOURCESREADY 31
25723 #define V_RESOURCESREADY(x) ((x) << S_RESOURCESREADY)
25724 #define F_RESOURCESREADY V_RESOURCESREADY(1U)
25726 #define S_RCFOPCODEOUTSRDY 30
25727 #define V_RCFOPCODEOUTSRDY(x) ((x) << S_RCFOPCODEOUTSRDY)
25728 #define F_RCFOPCODEOUTSRDY V_RCFOPCODEOUTSRDY(1U)
25730 #define S_RCFDATAOUTSRDY 29
25731 #define V_RCFDATAOUTSRDY(x) ((x) << S_RCFDATAOUTSRDY)
25732 #define F_RCFDATAOUTSRDY V_RCFDATAOUTSRDY(1U)
25734 #define S_FLUSHINPUTMSG 28
25735 #define V_FLUSHINPUTMSG(x) ((x) << S_FLUSHINPUTMSG)
25736 #define F_FLUSHINPUTMSG V_FLUSHINPUTMSG(1U)
25738 #define S_RCFOPSRCOUT 26
25739 #define M_RCFOPSRCOUT 0x3U
25740 #define V_RCFOPSRCOUT(x) ((x) << S_RCFOPSRCOUT)
25741 #define G_RCFOPSRCOUT(x) (((x) >> S_RCFOPSRCOUT) & M_RCFOPSRCOUT)
25744 #define V_C_MSG(x) ((x) << S_C_MSG)
25745 #define F_C_MSG V_C_MSG(1U)
25748 #define V_E_MSG(x) ((x) << S_E_MSG)
25749 #define F_E_MSG V_E_MSG(1U)
25751 #define S_RCFOPCODEOUT 20
25752 #define M_RCFOPCODEOUT 0xfU
25753 #define V_RCFOPCODEOUT(x) ((x) << S_RCFOPCODEOUT)
25754 #define G_RCFOPCODEOUT(x) (((x) >> S_RCFOPCODEOUT) & M_RCFOPCODEOUT)
25756 #define S_EFFRCFOPCODEOUT 16
25757 #define M_EFFRCFOPCODEOUT 0xfU
25758 #define V_EFFRCFOPCODEOUT(x) ((x) << S_EFFRCFOPCODEOUT)
25759 #define G_EFFRCFOPCODEOUT(x) (((x) >> S_EFFRCFOPCODEOUT) & M_EFFRCFOPCODEOUT)
25761 #define S_SEENRESOURCESREADY 15
25762 #define V_SEENRESOURCESREADY(x) ((x) << S_SEENRESOURCESREADY)
25763 #define F_SEENRESOURCESREADY V_SEENRESOURCESREADY(1U)
25765 #define S_RESOURCESREADYCOPY 14
25766 #define V_RESOURCESREADYCOPY(x) ((x) << S_RESOURCESREADYCOPY)
25767 #define F_RESOURCESREADYCOPY V_RESOURCESREADYCOPY(1U)
25769 #define S_OPCODEWAITSFORDATA 13
25770 #define V_OPCODEWAITSFORDATA(x) ((x) << S_OPCODEWAITSFORDATA)
25771 #define F_OPCODEWAITSFORDATA V_OPCODEWAITSFORDATA(1U)
25773 #define S_CPLDRXSRDY 12
25774 #define V_CPLDRXSRDY(x) ((x) << S_CPLDRXSRDY)
25775 #define F_CPLDRXSRDY V_CPLDRXSRDY(1U)
25777 #define S_CPLDRXZEROPSRDY 11
25778 #define V_CPLDRXZEROPSRDY(x) ((x) << S_CPLDRXZEROPSRDY)
25779 #define F_CPLDRXZEROPSRDY V_CPLDRXZEROPSRDY(1U)
25781 #define S_EPLDRXZEROPSRDY 10
25782 #define V_EPLDRXZEROPSRDY(x) ((x) << S_EPLDRXZEROPSRDY)
25783 #define F_EPLDRXZEROPSRDY V_EPLDRXZEROPSRDY(1U)
25785 #define S_ERXERRORSRDY 9
25786 #define V_ERXERRORSRDY(x) ((x) << S_ERXERRORSRDY)
25787 #define F_ERXERRORSRDY V_ERXERRORSRDY(1U)
25789 #define S_EPLDRXSRDY 8
25790 #define V_EPLDRXSRDY(x) ((x) << S_EPLDRXSRDY)
25791 #define F_EPLDRXSRDY V_EPLDRXSRDY(1U)
25793 #define S_CRXBUSY 7
25794 #define V_CRXBUSY(x) ((x) << S_CRXBUSY)
25795 #define F_CRXBUSY V_CRXBUSY(1U)
25797 #define S_ERXBUSY 6
25798 #define V_ERXBUSY(x) ((x) << S_ERXBUSY)
25799 #define F_ERXBUSY V_ERXBUSY(1U)
25801 #define S_TIMERINSERTBUSY 5
25802 #define V_TIMERINSERTBUSY(x) ((x) << S_TIMERINSERTBUSY)
25803 #define F_TIMERINSERTBUSY V_TIMERINSERTBUSY(1U)
25805 #define S_WCFBUSY 4
25806 #define V_WCFBUSY(x) ((x) << S_WCFBUSY)
25807 #define F_WCFBUSY V_WCFBUSY(1U)
25809 #define S_CTXBUSY 3
25810 #define V_CTXBUSY(x) ((x) << S_CTXBUSY)
25811 #define F_CTXBUSY V_CTXBUSY(1U)
25813 #define S_CPCMDBUSY 2
25814 #define V_CPCMDBUSY(x) ((x) << S_CPCMDBUSY)
25815 #define F_CPCMDBUSY V_CPCMDBUSY(1U)
25817 #define S_EPCMDBUSY 1
25818 #define V_EPCMDBUSY(x) ((x) << S_EPCMDBUSY)
25819 #define F_EPCMDBUSY V_EPCMDBUSY(1U)
25821 #define S_ETXBUSY 0
25822 #define V_ETXBUSY(x) ((x) << S_ETXBUSY)
25823 #define F_ETXBUSY V_ETXBUSY(1U)
25825 #define S_EFFOPCODEOUT 16
25826 #define M_EFFOPCODEOUT 0xfU
25827 #define V_EFFOPCODEOUT(x) ((x) << S_EFFOPCODEOUT)
25828 #define G_EFFOPCODEOUT(x) (((x) >> S_EFFOPCODEOUT) & M_EFFOPCODEOUT)
25830 #define S_DELDRDY 14
25831 #define V_DELDRDY(x) ((x) << S_DELDRDY)
25832 #define F_DELDRDY V_DELDRDY(1U)
25834 #define S_T5_ETXBUSY 1
25835 #define V_T5_ETXBUSY(x) ((x) << S_T5_ETXBUSY)
25836 #define F_T5_ETXBUSY V_T5_ETXBUSY(1U)
25838 #define S_T5_EPCMDBUSY 0
25839 #define V_T5_EPCMDBUSY(x) ((x) << S_T5_EPCMDBUSY)
25840 #define F_T5_EPCMDBUSY V_T5_EPCMDBUSY(1U)
25842 #define S_T6_ETXBUSY 1
25843 #define V_T6_ETXBUSY(x) ((x) << S_T6_ETXBUSY)
25844 #define F_T6_ETXBUSY V_T6_ETXBUSY(1U)
25846 #define S_T6_EPCMDBUSY 0
25847 #define V_T6_EPCMDBUSY(x) ((x) << S_T6_EPCMDBUSY)
25848 #define F_T6_EPCMDBUSY V_T6_EPCMDBUSY(1U)
25850 #define A_TP_DBG_ENG_RES1 0x67
25852 #define S_RXCPLSRDY 31
25853 #define V_RXCPLSRDY(x) ((x) << S_RXCPLSRDY)
25854 #define F_RXCPLSRDY V_RXCPLSRDY(1U)
25856 #define S_RXOPTSRDY 30
25857 #define V_RXOPTSRDY(x) ((x) << S_RXOPTSRDY)
25858 #define F_RXOPTSRDY V_RXOPTSRDY(1U)
25860 #define S_RXPLDLENSRDY 29
25861 #define V_RXPLDLENSRDY(x) ((x) << S_RXPLDLENSRDY)
25862 #define F_RXPLDLENSRDY V_RXPLDLENSRDY(1U)
25864 #define S_RXNOTBUSY 28
25865 #define V_RXNOTBUSY(x) ((x) << S_RXNOTBUSY)
25866 #define F_RXNOTBUSY V_RXNOTBUSY(1U)
25868 #define S_CPLCMDIN 20
25869 #define M_CPLCMDIN 0xffU
25870 #define V_CPLCMDIN(x) ((x) << S_CPLCMDIN)
25871 #define G_CPLCMDIN(x) (((x) >> S_CPLCMDIN) & M_CPLCMDIN)
25873 #define S_RCFPTIDSRDY 19
25874 #define V_RCFPTIDSRDY(x) ((x) << S_RCFPTIDSRDY)
25875 #define F_RCFPTIDSRDY V_RCFPTIDSRDY(1U)
25877 #define S_EPDUHDRSRDY 18
25878 #define V_EPDUHDRSRDY(x) ((x) << S_EPDUHDRSRDY)
25879 #define F_EPDUHDRSRDY V_EPDUHDRSRDY(1U)
25881 #define S_TUNNELPKTREG 17
25882 #define V_TUNNELPKTREG(x) ((x) << S_TUNNELPKTREG)
25883 #define F_TUNNELPKTREG V_TUNNELPKTREG(1U)
25885 #define S_TXPKTCSUMSRDY 16
25886 #define V_TXPKTCSUMSRDY(x) ((x) << S_TXPKTCSUMSRDY)
25887 #define F_TXPKTCSUMSRDY V_TXPKTCSUMSRDY(1U)
25889 #define S_TABLEACCESSLATENCY 12
25890 #define M_TABLEACCESSLATENCY 0xfU
25891 #define V_TABLEACCESSLATENCY(x) ((x) << S_TABLEACCESSLATENCY)
25892 #define G_TABLEACCESSLATENCY(x) (((x) >> S_TABLEACCESSLATENCY) & M_TABLEACCESSLATENCY)
25894 #define S_MMGRDONE 11
25895 #define V_MMGRDONE(x) ((x) << S_MMGRDONE)
25896 #define F_MMGRDONE V_MMGRDONE(1U)
25898 #define S_SEENMMGRDONE 10
25899 #define V_SEENMMGRDONE(x) ((x) << S_SEENMMGRDONE)
25900 #define F_SEENMMGRDONE V_SEENMMGRDONE(1U)
25902 #define S_RXERRORSRDY 9
25903 #define V_RXERRORSRDY(x) ((x) << S_RXERRORSRDY)
25904 #define F_RXERRORSRDY V_RXERRORSRDY(1U)
25906 #define S_RCFOPTIONSTCPSRDY 8
25907 #define V_RCFOPTIONSTCPSRDY(x) ((x) << S_RCFOPTIONSTCPSRDY)
25908 #define F_RCFOPTIONSTCPSRDY V_RCFOPTIONSTCPSRDY(1U)
25910 #define S_ENGINESTATE 6
25911 #define M_ENGINESTATE 0x3U
25912 #define V_ENGINESTATE(x) ((x) << S_ENGINESTATE)
25913 #define G_ENGINESTATE(x) (((x) >> S_ENGINESTATE) & M_ENGINESTATE)
25915 #define S_TABLEACCESINCREMENT 5
25916 #define V_TABLEACCESINCREMENT(x) ((x) << S_TABLEACCESINCREMENT)
25917 #define F_TABLEACCESINCREMENT V_TABLEACCESINCREMENT(1U)
25919 #define S_TABLEACCESCOMPLETE 4
25920 #define V_TABLEACCESCOMPLETE(x) ((x) << S_TABLEACCESCOMPLETE)
25921 #define F_TABLEACCESCOMPLETE V_TABLEACCESCOMPLETE(1U)
25923 #define S_RCFOPCODEOUTUSABLE 3
25924 #define V_RCFOPCODEOUTUSABLE(x) ((x) << S_RCFOPCODEOUTUSABLE)
25925 #define F_RCFOPCODEOUTUSABLE V_RCFOPCODEOUTUSABLE(1U)
25927 #define S_RCFDATAOUTUSABLE 2
25928 #define V_RCFDATAOUTUSABLE(x) ((x) << S_RCFDATAOUTUSABLE)
25929 #define F_RCFDATAOUTUSABLE V_RCFDATAOUTUSABLE(1U)
25931 #define S_RCFDATAWAITAFTERRD 1
25932 #define V_RCFDATAWAITAFTERRD(x) ((x) << S_RCFDATAWAITAFTERRD)
25933 #define F_RCFDATAWAITAFTERRD V_RCFDATAWAITAFTERRD(1U)
25935 #define S_RCFDATACMRDY 0
25936 #define V_RCFDATACMRDY(x) ((x) << S_RCFDATACMRDY)
25937 #define F_RCFDATACMRDY V_RCFDATACMRDY(1U)
25939 #define S_RXISSSRDY 28
25940 #define V_RXISSSRDY(x) ((x) << S_RXISSSRDY)
25941 #define F_RXISSSRDY V_RXISSSRDY(1U)
25943 #define A_TP_DBG_ENG_RES2 0x68
25945 #define S_CPLCMDRAW 24
25946 #define M_CPLCMDRAW 0xffU
25947 #define V_CPLCMDRAW(x) ((x) << S_CPLCMDRAW)
25948 #define G_CPLCMDRAW(x) (((x) >> S_CPLCMDRAW) & M_CPLCMDRAW)
25950 #define S_RXMACPORT 20
25951 #define M_RXMACPORT 0xfU
25952 #define V_RXMACPORT(x) ((x) << S_RXMACPORT)
25953 #define G_RXMACPORT(x) (((x) >> S_RXMACPORT) & M_RXMACPORT)
25955 #define S_TXECHANNEL 18
25956 #define M_TXECHANNEL 0x3U
25957 #define V_TXECHANNEL(x) ((x) << S_TXECHANNEL)
25958 #define G_TXECHANNEL(x) (((x) >> S_TXECHANNEL) & M_TXECHANNEL)
25960 #define S_RXECHANNEL 16
25961 #define M_RXECHANNEL 0x3U
25962 #define V_RXECHANNEL(x) ((x) << S_RXECHANNEL)
25963 #define G_RXECHANNEL(x) (((x) >> S_RXECHANNEL) & M_RXECHANNEL)
25965 #define S_CDATAOUT 15
25966 #define V_CDATAOUT(x) ((x) << S_CDATAOUT)
25967 #define F_CDATAOUT V_CDATAOUT(1U)
25969 #define S_CREADPDU 14
25970 #define V_CREADPDU(x) ((x) << S_CREADPDU)
25971 #define F_CREADPDU V_CREADPDU(1U)
25973 #define S_EDATAOUT 13
25974 #define V_EDATAOUT(x) ((x) << S_EDATAOUT)
25975 #define F_EDATAOUT V_EDATAOUT(1U)
25977 #define S_EREADPDU 12
25978 #define V_EREADPDU(x) ((x) << S_EREADPDU)
25979 #define F_EREADPDU V_EREADPDU(1U)
25981 #define S_ETCPOPSRDY 11
25982 #define V_ETCPOPSRDY(x) ((x) << S_ETCPOPSRDY)
25983 #define F_ETCPOPSRDY V_ETCPOPSRDY(1U)
25985 #define S_CTCPOPSRDY 10
25986 #define V_CTCPOPSRDY(x) ((x) << S_CTCPOPSRDY)
25987 #define F_CTCPOPSRDY V_CTCPOPSRDY(1U)
25989 #define S_CPKTOUT 9
25990 #define V_CPKTOUT(x) ((x) << S_CPKTOUT)
25991 #define F_CPKTOUT V_CPKTOUT(1U)
25993 #define S_CMDBRSPSRDY 8
25994 #define V_CMDBRSPSRDY(x) ((x) << S_CMDBRSPSRDY)
25995 #define F_CMDBRSPSRDY V_CMDBRSPSRDY(1U)
25997 #define S_RXPSTRUCTSFULL 6
25998 #define M_RXPSTRUCTSFULL 0x3U
25999 #define V_RXPSTRUCTSFULL(x) ((x) << S_RXPSTRUCTSFULL)
26000 #define G_RXPSTRUCTSFULL(x) (((x) >> S_RXPSTRUCTSFULL) & M_RXPSTRUCTSFULL)
26002 #define S_RXPAGEPOOLFULL 4
26003 #define M_RXPAGEPOOLFULL 0x3U
26004 #define V_RXPAGEPOOLFULL(x) ((x) << S_RXPAGEPOOLFULL)
26005 #define G_RXPAGEPOOLFULL(x) (((x) >> S_RXPAGEPOOLFULL) & M_RXPAGEPOOLFULL)
26007 #define S_RCFREASONOUT 0
26008 #define M_RCFREASONOUT 0xfU
26009 #define V_RCFREASONOUT(x) ((x) << S_RCFREASONOUT)
26010 #define G_RCFREASONOUT(x) (((x) >> S_RCFREASONOUT) & M_RCFREASONOUT)
26012 #define A_TP_DBG_CORE_PCMD 0x69
26014 #define S_CPCMDEOPCNT 30
26015 #define M_CPCMDEOPCNT 0x3U
26016 #define V_CPCMDEOPCNT(x) ((x) << S_CPCMDEOPCNT)
26017 #define G_CPCMDEOPCNT(x) (((x) >> S_CPCMDEOPCNT) & M_CPCMDEOPCNT)
26019 #define S_CPCMDLENSAVE 16
26020 #define M_CPCMDLENSAVE 0x3fffU
26021 #define V_CPCMDLENSAVE(x) ((x) << S_CPCMDLENSAVE)
26022 #define G_CPCMDLENSAVE(x) (((x) >> S_CPCMDLENSAVE) & M_CPCMDLENSAVE)
26024 #define S_EPCMDEOPCNT 14
26025 #define M_EPCMDEOPCNT 0x3U
26026 #define V_EPCMDEOPCNT(x) ((x) << S_EPCMDEOPCNT)
26027 #define G_EPCMDEOPCNT(x) (((x) >> S_EPCMDEOPCNT) & M_EPCMDEOPCNT)
26029 #define S_EPCMDLENSAVE 0
26030 #define M_EPCMDLENSAVE 0x3fffU
26031 #define V_EPCMDLENSAVE(x) ((x) << S_EPCMDLENSAVE)
26032 #define G_EPCMDLENSAVE(x) (((x) >> S_EPCMDLENSAVE) & M_EPCMDLENSAVE)
26034 #define A_TP_DBG_SCHED_TX 0x6a
26036 #define S_TXCHNXOFF 28
26037 #define M_TXCHNXOFF 0xfU
26038 #define V_TXCHNXOFF(x) ((x) << S_TXCHNXOFF)
26039 #define G_TXCHNXOFF(x) (((x) >> S_TXCHNXOFF) & M_TXCHNXOFF)
26041 #define S_TXFIFOCNG 24
26042 #define M_TXFIFOCNG 0xfU
26043 #define V_TXFIFOCNG(x) ((x) << S_TXFIFOCNG)
26044 #define G_TXFIFOCNG(x) (((x) >> S_TXFIFOCNG) & M_TXFIFOCNG)
26046 #define S_TXPCMDCNG 20
26047 #define M_TXPCMDCNG 0xfU
26048 #define V_TXPCMDCNG(x) ((x) << S_TXPCMDCNG)
26049 #define G_TXPCMDCNG(x) (((x) >> S_TXPCMDCNG) & M_TXPCMDCNG)
26051 #define S_TXLPBKCNG 16
26052 #define M_TXLPBKCNG 0xfU
26053 #define V_TXLPBKCNG(x) ((x) << S_TXLPBKCNG)
26054 #define G_TXLPBKCNG(x) (((x) >> S_TXLPBKCNG) & M_TXLPBKCNG)
26056 #define S_TXHDRCNG 8
26057 #define M_TXHDRCNG 0xffU
26058 #define V_TXHDRCNG(x) ((x) << S_TXHDRCNG)
26059 #define G_TXHDRCNG(x) (((x) >> S_TXHDRCNG) & M_TXHDRCNG)
26061 #define S_TXMODXOFF 0
26062 #define M_TXMODXOFF 0xffU
26063 #define V_TXMODXOFF(x) ((x) << S_TXMODXOFF)
26064 #define G_TXMODXOFF(x) (((x) >> S_TXMODXOFF) & M_TXMODXOFF)
26066 #define A_TP_DBG_SCHED_RX 0x6b
26068 #define S_RXCHNXOFF 28
26069 #define M_RXCHNXOFF 0xfU
26070 #define V_RXCHNXOFF(x) ((x) << S_RXCHNXOFF)
26071 #define G_RXCHNXOFF(x) (((x) >> S_RXCHNXOFF) & M_RXCHNXOFF)
26073 #define S_RXSGECNG 24
26074 #define M_RXSGECNG 0xfU
26075 #define V_RXSGECNG(x) ((x) << S_RXSGECNG)
26076 #define G_RXSGECNG(x) (((x) >> S_RXSGECNG) & M_RXSGECNG)
26078 #define S_RXFIFOCNG 22
26079 #define M_RXFIFOCNG 0x3U
26080 #define V_RXFIFOCNG(x) ((x) << S_RXFIFOCNG)
26081 #define G_RXFIFOCNG(x) (((x) >> S_RXFIFOCNG) & M_RXFIFOCNG)
26083 #define S_RXPCMDCNG 20
26084 #define M_RXPCMDCNG 0x3U
26085 #define V_RXPCMDCNG(x) ((x) << S_RXPCMDCNG)
26086 #define G_RXPCMDCNG(x) (((x) >> S_RXPCMDCNG) & M_RXPCMDCNG)
26088 #define S_RXLPBKCNG 16
26089 #define M_RXLPBKCNG 0xfU
26090 #define V_RXLPBKCNG(x) ((x) << S_RXLPBKCNG)
26091 #define G_RXLPBKCNG(x) (((x) >> S_RXLPBKCNG) & M_RXLPBKCNG)
26093 #define S_RXHDRCNG 8
26094 #define M_RXHDRCNG 0xfU
26095 #define V_RXHDRCNG(x) ((x) << S_RXHDRCNG)
26096 #define G_RXHDRCNG(x) (((x) >> S_RXHDRCNG) & M_RXHDRCNG)
26098 #define S_RXMODXOFF 0
26099 #define M_RXMODXOFF 0x3U
26100 #define V_RXMODXOFF(x) ((x) << S_RXMODXOFF)
26101 #define G_RXMODXOFF(x) (((x) >> S_RXMODXOFF) & M_RXMODXOFF)
26103 #define S_T5_RXFIFOCNG 20
26104 #define M_T5_RXFIFOCNG 0xfU
26105 #define V_T5_RXFIFOCNG(x) ((x) << S_T5_RXFIFOCNG)
26106 #define G_T5_RXFIFOCNG(x) (((x) >> S_T5_RXFIFOCNG) & M_T5_RXFIFOCNG)
26108 #define S_T5_RXPCMDCNG 14
26109 #define M_T5_RXPCMDCNG 0x3U
26110 #define V_T5_RXPCMDCNG(x) ((x) << S_T5_RXPCMDCNG)
26111 #define G_T5_RXPCMDCNG(x) (((x) >> S_T5_RXPCMDCNG) & M_T5_RXPCMDCNG)
26113 #define S_T6_RXFIFOCNG 20
26114 #define M_T6_RXFIFOCNG 0xfU
26115 #define V_T6_RXFIFOCNG(x) ((x) << S_T6_RXFIFOCNG)
26116 #define G_T6_RXFIFOCNG(x) (((x) >> S_T6_RXFIFOCNG) & M_T6_RXFIFOCNG)
26118 #define S_T6_RXPCMDCNG 14
26119 #define M_T6_RXPCMDCNG 0x3U
26120 #define V_T6_RXPCMDCNG(x) ((x) << S_T6_RXPCMDCNG)
26121 #define G_T6_RXPCMDCNG(x) (((x) >> S_T6_RXPCMDCNG) & M_T6_RXPCMDCNG)
26123 #define A_TP_DBG_ERROR_CNT 0x6c
26124 #define A_TP_DBG_CORE_CPL 0x6d
26126 #define S_CPLCMDOUT3 24
26127 #define M_CPLCMDOUT3 0xffU
26128 #define V_CPLCMDOUT3(x) ((x) << S_CPLCMDOUT3)
26129 #define G_CPLCMDOUT3(x) (((x) >> S_CPLCMDOUT3) & M_CPLCMDOUT3)
26131 #define S_CPLCMDOUT2 16
26132 #define M_CPLCMDOUT2 0xffU
26133 #define V_CPLCMDOUT2(x) ((x) << S_CPLCMDOUT2)
26134 #define G_CPLCMDOUT2(x) (((x) >> S_CPLCMDOUT2) & M_CPLCMDOUT2)
26136 #define S_CPLCMDOUT1 8
26137 #define M_CPLCMDOUT1 0xffU
26138 #define V_CPLCMDOUT1(x) ((x) << S_CPLCMDOUT1)
26139 #define G_CPLCMDOUT1(x) (((x) >> S_CPLCMDOUT1) & M_CPLCMDOUT1)
26141 #define S_CPLCMDOUT0 0
26142 #define M_CPLCMDOUT0 0xffU
26143 #define V_CPLCMDOUT0(x) ((x) << S_CPLCMDOUT0)
26144 #define G_CPLCMDOUT0(x) (((x) >> S_CPLCMDOUT0) & M_CPLCMDOUT0)
26146 #define A_TP_MIB_DEBUG 0x6f
26149 #define V_SRC3(x) ((x) << S_SRC3)
26150 #define F_SRC3 V_SRC3(1U)
26152 #define S_LINENUM3 24
26153 #define M_LINENUM3 0x7fU
26154 #define V_LINENUM3(x) ((x) << S_LINENUM3)
26155 #define G_LINENUM3(x) (((x) >> S_LINENUM3) & M_LINENUM3)
26158 #define V_SRC2(x) ((x) << S_SRC2)
26159 #define F_SRC2 V_SRC2(1U)
26161 #define S_LINENUM2 16
26162 #define M_LINENUM2 0x7fU
26163 #define V_LINENUM2(x) ((x) << S_LINENUM2)
26164 #define G_LINENUM2(x) (((x) >> S_LINENUM2) & M_LINENUM2)
26167 #define V_SRC1(x) ((x) << S_SRC1)
26168 #define F_SRC1 V_SRC1(1U)
26170 #define S_LINENUM1 8
26171 #define M_LINENUM1 0x7fU
26172 #define V_LINENUM1(x) ((x) << S_LINENUM1)
26173 #define G_LINENUM1(x) (((x) >> S_LINENUM1) & M_LINENUM1)
26176 #define V_SRC0(x) ((x) << S_SRC0)
26177 #define F_SRC0 V_SRC0(1U)
26179 #define S_LINENUM0 0
26180 #define M_LINENUM0 0x7fU
26181 #define V_LINENUM0(x) ((x) << S_LINENUM0)
26182 #define G_LINENUM0(x) (((x) >> S_LINENUM0) & M_LINENUM0)
26184 #define A_TP_DBG_CACHE_WR_ALL 0x70
26185 #define A_TP_DBG_CACHE_WR_HIT 0x71
26186 #define A_TP_DBG_CACHE_RD_ALL 0x72
26187 #define A_TP_DBG_CACHE_RD_HIT 0x73
26188 #define A_TP_DBG_CACHE_MC_REQ 0x74
26189 #define A_TP_DBG_CACHE_MC_RSP 0x75
26190 #define A_TP_T5_TX_DROP_CNT_CH0 0x120
26191 #define A_TP_T5_TX_DROP_CNT_CH1 0x121
26192 #define A_TP_TX_DROP_CNT_CH2 0x122
26193 #define A_TP_TX_DROP_CNT_CH3 0x123
26194 #define A_TP_TX_DROP_CFG_CH0 0x12b
26196 #define S_TIMERENABLED 31
26197 #define V_TIMERENABLED(x) ((x) << S_TIMERENABLED)
26198 #define F_TIMERENABLED V_TIMERENABLED(1U)
26200 #define S_TIMERERRORENABLE 30
26201 #define V_TIMERERRORENABLE(x) ((x) << S_TIMERERRORENABLE)
26202 #define F_TIMERERRORENABLE V_TIMERERRORENABLE(1U)
26204 #define S_TIMERTHRESHOLD 4
26205 #define M_TIMERTHRESHOLD 0x3ffffffU
26206 #define V_TIMERTHRESHOLD(x) ((x) << S_TIMERTHRESHOLD)
26207 #define G_TIMERTHRESHOLD(x) (((x) >> S_TIMERTHRESHOLD) & M_TIMERTHRESHOLD)
26209 #define S_PACKETDROPS 0
26210 #define M_PACKETDROPS 0xfU
26211 #define V_PACKETDROPS(x) ((x) << S_PACKETDROPS)
26212 #define G_PACKETDROPS(x) (((x) >> S_PACKETDROPS) & M_PACKETDROPS)
26214 #define A_TP_TX_DROP_CFG_CH1 0x12c
26215 #define A_TP_TX_DROP_CNT_CH0 0x12d
26217 #define S_TXDROPCNTCH0SENT 16
26218 #define M_TXDROPCNTCH0SENT 0xffffU
26219 #define V_TXDROPCNTCH0SENT(x) ((x) << S_TXDROPCNTCH0SENT)
26220 #define G_TXDROPCNTCH0SENT(x) (((x) >> S_TXDROPCNTCH0SENT) & M_TXDROPCNTCH0SENT)
26222 #define S_TXDROPCNTCH0RCVD 0
26223 #define M_TXDROPCNTCH0RCVD 0xffffU
26224 #define V_TXDROPCNTCH0RCVD(x) ((x) << S_TXDROPCNTCH0RCVD)
26225 #define G_TXDROPCNTCH0RCVD(x) (((x) >> S_TXDROPCNTCH0RCVD) & M_TXDROPCNTCH0RCVD)
26227 #define A_TP_TX_DROP_CNT_CH1 0x12e
26229 #define S_TXDROPCNTCH1SENT 16
26230 #define M_TXDROPCNTCH1SENT 0xffffU
26231 #define V_TXDROPCNTCH1SENT(x) ((x) << S_TXDROPCNTCH1SENT)
26232 #define G_TXDROPCNTCH1SENT(x) (((x) >> S_TXDROPCNTCH1SENT) & M_TXDROPCNTCH1SENT)
26234 #define S_TXDROPCNTCH1RCVD 0
26235 #define M_TXDROPCNTCH1RCVD 0xffffU
26236 #define V_TXDROPCNTCH1RCVD(x) ((x) << S_TXDROPCNTCH1RCVD)
26237 #define G_TXDROPCNTCH1RCVD(x) (((x) >> S_TXDROPCNTCH1RCVD) & M_TXDROPCNTCH1RCVD)
26239 #define A_TP_TX_DROP_MODE 0x12f
26241 #define S_TXDROPMODECH3 3
26242 #define V_TXDROPMODECH3(x) ((x) << S_TXDROPMODECH3)
26243 #define F_TXDROPMODECH3 V_TXDROPMODECH3(1U)
26245 #define S_TXDROPMODECH2 2
26246 #define V_TXDROPMODECH2(x) ((x) << S_TXDROPMODECH2)
26247 #define F_TXDROPMODECH2 V_TXDROPMODECH2(1U)
26249 #define S_TXDROPMODECH1 1
26250 #define V_TXDROPMODECH1(x) ((x) << S_TXDROPMODECH1)
26251 #define F_TXDROPMODECH1 V_TXDROPMODECH1(1U)
26253 #define S_TXDROPMODECH0 0
26254 #define V_TXDROPMODECH0(x) ((x) << S_TXDROPMODECH0)
26255 #define F_TXDROPMODECH0 V_TXDROPMODECH0(1U)
26257 #define A_TP_DBG_ESIDE_PKT0 0x130
26259 #define S_ETXSOPCNT 28
26260 #define M_ETXSOPCNT 0xfU
26261 #define V_ETXSOPCNT(x) ((x) << S_ETXSOPCNT)
26262 #define G_ETXSOPCNT(x) (((x) >> S_ETXSOPCNT) & M_ETXSOPCNT)
26264 #define S_ETXEOPCNT 24
26265 #define M_ETXEOPCNT 0xfU
26266 #define V_ETXEOPCNT(x) ((x) << S_ETXEOPCNT)
26267 #define G_ETXEOPCNT(x) (((x) >> S_ETXEOPCNT) & M_ETXEOPCNT)
26269 #define S_ETXPLDSOPCNT 20
26270 #define M_ETXPLDSOPCNT 0xfU
26271 #define V_ETXPLDSOPCNT(x) ((x) << S_ETXPLDSOPCNT)
26272 #define G_ETXPLDSOPCNT(x) (((x) >> S_ETXPLDSOPCNT) & M_ETXPLDSOPCNT)
26274 #define S_ETXPLDEOPCNT 16
26275 #define M_ETXPLDEOPCNT 0xfU
26276 #define V_ETXPLDEOPCNT(x) ((x) << S_ETXPLDEOPCNT)
26277 #define G_ETXPLDEOPCNT(x) (((x) >> S_ETXPLDEOPCNT) & M_ETXPLDEOPCNT)
26279 #define S_ERXSOPCNT 12
26280 #define M_ERXSOPCNT 0xfU
26281 #define V_ERXSOPCNT(x) ((x) << S_ERXSOPCNT)
26282 #define G_ERXSOPCNT(x) (((x) >> S_ERXSOPCNT) & M_ERXSOPCNT)
26284 #define S_ERXEOPCNT 8
26285 #define M_ERXEOPCNT 0xfU
26286 #define V_ERXEOPCNT(x) ((x) << S_ERXEOPCNT)
26287 #define G_ERXEOPCNT(x) (((x) >> S_ERXEOPCNT) & M_ERXEOPCNT)
26289 #define S_ERXPLDSOPCNT 4
26290 #define M_ERXPLDSOPCNT 0xfU
26291 #define V_ERXPLDSOPCNT(x) ((x) << S_ERXPLDSOPCNT)
26292 #define G_ERXPLDSOPCNT(x) (((x) >> S_ERXPLDSOPCNT) & M_ERXPLDSOPCNT)
26294 #define S_ERXPLDEOPCNT 0
26295 #define M_ERXPLDEOPCNT 0xfU
26296 #define V_ERXPLDEOPCNT(x) ((x) << S_ERXPLDEOPCNT)
26297 #define G_ERXPLDEOPCNT(x) (((x) >> S_ERXPLDEOPCNT) & M_ERXPLDEOPCNT)
26299 #define A_TP_DBG_ESIDE_PKT1 0x131
26300 #define A_TP_DBG_ESIDE_PKT2 0x132
26301 #define A_TP_DBG_ESIDE_PKT3 0x133
26302 #define A_TP_DBG_ESIDE_FIFO0 0x134
26304 #define S_PLDRXCSUMVALID1 31
26305 #define V_PLDRXCSUMVALID1(x) ((x) << S_PLDRXCSUMVALID1)
26306 #define F_PLDRXCSUMVALID1 V_PLDRXCSUMVALID1(1U)
26308 #define S_PLDRXZEROPSRDY1 30
26309 #define V_PLDRXZEROPSRDY1(x) ((x) << S_PLDRXZEROPSRDY1)
26310 #define F_PLDRXZEROPSRDY1 V_PLDRXZEROPSRDY1(1U)
26312 #define S_PLDRXVALID1 29
26313 #define V_PLDRXVALID1(x) ((x) << S_PLDRXVALID1)
26314 #define F_PLDRXVALID1 V_PLDRXVALID1(1U)
26316 #define S_TCPRXVALID1 28
26317 #define V_TCPRXVALID1(x) ((x) << S_TCPRXVALID1)
26318 #define F_TCPRXVALID1 V_TCPRXVALID1(1U)
26320 #define S_IPRXVALID1 27
26321 #define V_IPRXVALID1(x) ((x) << S_IPRXVALID1)
26322 #define F_IPRXVALID1 V_IPRXVALID1(1U)
26324 #define S_ETHRXVALID1 26
26325 #define V_ETHRXVALID1(x) ((x) << S_ETHRXVALID1)
26326 #define F_ETHRXVALID1 V_ETHRXVALID1(1U)
26328 #define S_CPLRXVALID1 25
26329 #define V_CPLRXVALID1(x) ((x) << S_CPLRXVALID1)
26330 #define F_CPLRXVALID1 V_CPLRXVALID1(1U)
26332 #define S_FSTATIC1 24
26333 #define V_FSTATIC1(x) ((x) << S_FSTATIC1)
26334 #define F_FSTATIC1 V_FSTATIC1(1U)
26336 #define S_ERRORSRDY1 23
26337 #define V_ERRORSRDY1(x) ((x) << S_ERRORSRDY1)
26338 #define F_ERRORSRDY1 V_ERRORSRDY1(1U)
26340 #define S_PLDTXSRDY1 22
26341 #define V_PLDTXSRDY1(x) ((x) << S_PLDTXSRDY1)
26342 #define F_PLDTXSRDY1 V_PLDTXSRDY1(1U)
26344 #define S_DBVLD1 21
26345 #define V_DBVLD1(x) ((x) << S_DBVLD1)
26346 #define F_DBVLD1 V_DBVLD1(1U)
26348 #define S_PLDTXVALID1 20
26349 #define V_PLDTXVALID1(x) ((x) << S_PLDTXVALID1)
26350 #define F_PLDTXVALID1 V_PLDTXVALID1(1U)
26352 #define S_ETXVALID1 19
26353 #define V_ETXVALID1(x) ((x) << S_ETXVALID1)
26354 #define F_ETXVALID1 V_ETXVALID1(1U)
26356 #define S_ETXFULL1 18
26357 #define V_ETXFULL1(x) ((x) << S_ETXFULL1)
26358 #define F_ETXFULL1 V_ETXFULL1(1U)
26360 #define S_ERXVALID1 17
26361 #define V_ERXVALID1(x) ((x) << S_ERXVALID1)
26362 #define F_ERXVALID1 V_ERXVALID1(1U)
26364 #define S_ERXFULL1 16
26365 #define V_ERXFULL1(x) ((x) << S_ERXFULL1)
26366 #define F_ERXFULL1 V_ERXFULL1(1U)
26368 #define S_PLDRXCSUMVALID0 15
26369 #define V_PLDRXCSUMVALID0(x) ((x) << S_PLDRXCSUMVALID0)
26370 #define F_PLDRXCSUMVALID0 V_PLDRXCSUMVALID0(1U)
26372 #define S_PLDRXZEROPSRDY0 14
26373 #define V_PLDRXZEROPSRDY0(x) ((x) << S_PLDRXZEROPSRDY0)
26374 #define F_PLDRXZEROPSRDY0 V_PLDRXZEROPSRDY0(1U)
26376 #define S_PLDRXVALID0 13
26377 #define V_PLDRXVALID0(x) ((x) << S_PLDRXVALID0)
26378 #define F_PLDRXVALID0 V_PLDRXVALID0(1U)
26380 #define S_TCPRXVALID0 12
26381 #define V_TCPRXVALID0(x) ((x) << S_TCPRXVALID0)
26382 #define F_TCPRXVALID0 V_TCPRXVALID0(1U)
26384 #define S_IPRXVALID0 11
26385 #define V_IPRXVALID0(x) ((x) << S_IPRXVALID0)
26386 #define F_IPRXVALID0 V_IPRXVALID0(1U)
26388 #define S_ETHRXVALID0 10
26389 #define V_ETHRXVALID0(x) ((x) << S_ETHRXVALID0)
26390 #define F_ETHRXVALID0 V_ETHRXVALID0(1U)
26392 #define S_CPLRXVALID0 9
26393 #define V_CPLRXVALID0(x) ((x) << S_CPLRXVALID0)
26394 #define F_CPLRXVALID0 V_CPLRXVALID0(1U)
26396 #define S_FSTATIC0 8
26397 #define V_FSTATIC0(x) ((x) << S_FSTATIC0)
26398 #define F_FSTATIC0 V_FSTATIC0(1U)
26400 #define S_ERRORSRDY0 7
26401 #define V_ERRORSRDY0(x) ((x) << S_ERRORSRDY0)
26402 #define F_ERRORSRDY0 V_ERRORSRDY0(1U)
26404 #define S_PLDTXSRDY0 6
26405 #define V_PLDTXSRDY0(x) ((x) << S_PLDTXSRDY0)
26406 #define F_PLDTXSRDY0 V_PLDTXSRDY0(1U)
26409 #define V_DBVLD0(x) ((x) << S_DBVLD0)
26410 #define F_DBVLD0 V_DBVLD0(1U)
26412 #define S_PLDTXVALID0 4
26413 #define V_PLDTXVALID0(x) ((x) << S_PLDTXVALID0)
26414 #define F_PLDTXVALID0 V_PLDTXVALID0(1U)
26416 #define S_ETXVALID0 3
26417 #define V_ETXVALID0(x) ((x) << S_ETXVALID0)
26418 #define F_ETXVALID0 V_ETXVALID0(1U)
26420 #define S_ETXFULL0 2
26421 #define V_ETXFULL0(x) ((x) << S_ETXFULL0)
26422 #define F_ETXFULL0 V_ETXFULL0(1U)
26424 #define S_ERXVALID0 1
26425 #define V_ERXVALID0(x) ((x) << S_ERXVALID0)
26426 #define F_ERXVALID0 V_ERXVALID0(1U)
26428 #define S_ERXFULL0 0
26429 #define V_ERXFULL0(x) ((x) << S_ERXFULL0)
26430 #define F_ERXFULL0 V_ERXFULL0(1U)
26432 #define A_TP_DBG_ESIDE_FIFO1 0x135
26434 #define S_PLDRXCSUMVALID3 31
26435 #define V_PLDRXCSUMVALID3(x) ((x) << S_PLDRXCSUMVALID3)
26436 #define F_PLDRXCSUMVALID3 V_PLDRXCSUMVALID3(1U)
26438 #define S_PLDRXZEROPSRDY3 30
26439 #define V_PLDRXZEROPSRDY3(x) ((x) << S_PLDRXZEROPSRDY3)
26440 #define F_PLDRXZEROPSRDY3 V_PLDRXZEROPSRDY3(1U)
26442 #define S_PLDRXVALID3 29
26443 #define V_PLDRXVALID3(x) ((x) << S_PLDRXVALID3)
26444 #define F_PLDRXVALID3 V_PLDRXVALID3(1U)
26446 #define S_TCPRXVALID3 28
26447 #define V_TCPRXVALID3(x) ((x) << S_TCPRXVALID3)
26448 #define F_TCPRXVALID3 V_TCPRXVALID3(1U)
26450 #define S_IPRXVALID3 27
26451 #define V_IPRXVALID3(x) ((x) << S_IPRXVALID3)
26452 #define F_IPRXVALID3 V_IPRXVALID3(1U)
26454 #define S_ETHRXVALID3 26
26455 #define V_ETHRXVALID3(x) ((x) << S_ETHRXVALID3)
26456 #define F_ETHRXVALID3 V_ETHRXVALID3(1U)
26458 #define S_CPLRXVALID3 25
26459 #define V_CPLRXVALID3(x) ((x) << S_CPLRXVALID3)
26460 #define F_CPLRXVALID3 V_CPLRXVALID3(1U)
26462 #define S_FSTATIC3 24
26463 #define V_FSTATIC3(x) ((x) << S_FSTATIC3)
26464 #define F_FSTATIC3 V_FSTATIC3(1U)
26466 #define S_ERRORSRDY3 23
26467 #define V_ERRORSRDY3(x) ((x) << S_ERRORSRDY3)
26468 #define F_ERRORSRDY3 V_ERRORSRDY3(1U)
26470 #define S_PLDTXSRDY3 22
26471 #define V_PLDTXSRDY3(x) ((x) << S_PLDTXSRDY3)
26472 #define F_PLDTXSRDY3 V_PLDTXSRDY3(1U)
26474 #define S_DBVLD3 21
26475 #define V_DBVLD3(x) ((x) << S_DBVLD3)
26476 #define F_DBVLD3 V_DBVLD3(1U)
26478 #define S_PLDTXVALID3 20
26479 #define V_PLDTXVALID3(x) ((x) << S_PLDTXVALID3)
26480 #define F_PLDTXVALID3 V_PLDTXVALID3(1U)
26482 #define S_ETXVALID3 19
26483 #define V_ETXVALID3(x) ((x) << S_ETXVALID3)
26484 #define F_ETXVALID3 V_ETXVALID3(1U)
26486 #define S_ETXFULL3 18
26487 #define V_ETXFULL3(x) ((x) << S_ETXFULL3)
26488 #define F_ETXFULL3 V_ETXFULL3(1U)
26490 #define S_ERXVALID3 17
26491 #define V_ERXVALID3(x) ((x) << S_ERXVALID3)
26492 #define F_ERXVALID3 V_ERXVALID3(1U)
26494 #define S_ERXFULL3 16
26495 #define V_ERXFULL3(x) ((x) << S_ERXFULL3)
26496 #define F_ERXFULL3 V_ERXFULL3(1U)
26498 #define S_PLDRXCSUMVALID2 15
26499 #define V_PLDRXCSUMVALID2(x) ((x) << S_PLDRXCSUMVALID2)
26500 #define F_PLDRXCSUMVALID2 V_PLDRXCSUMVALID2(1U)
26502 #define S_PLDRXZEROPSRDY2 14
26503 #define V_PLDRXZEROPSRDY2(x) ((x) << S_PLDRXZEROPSRDY2)
26504 #define F_PLDRXZEROPSRDY2 V_PLDRXZEROPSRDY2(1U)
26506 #define S_PLDRXVALID2 13
26507 #define V_PLDRXVALID2(x) ((x) << S_PLDRXVALID2)
26508 #define F_PLDRXVALID2 V_PLDRXVALID2(1U)
26510 #define S_TCPRXVALID2 12
26511 #define V_TCPRXVALID2(x) ((x) << S_TCPRXVALID2)
26512 #define F_TCPRXVALID2 V_TCPRXVALID2(1U)
26514 #define S_IPRXVALID2 11
26515 #define V_IPRXVALID2(x) ((x) << S_IPRXVALID2)
26516 #define F_IPRXVALID2 V_IPRXVALID2(1U)
26518 #define S_ETHRXVALID2 10
26519 #define V_ETHRXVALID2(x) ((x) << S_ETHRXVALID2)
26520 #define F_ETHRXVALID2 V_ETHRXVALID2(1U)
26522 #define S_CPLRXVALID2 9
26523 #define V_CPLRXVALID2(x) ((x) << S_CPLRXVALID2)
26524 #define F_CPLRXVALID2 V_CPLRXVALID2(1U)
26526 #define S_FSTATIC2 8
26527 #define V_FSTATIC2(x) ((x) << S_FSTATIC2)
26528 #define F_FSTATIC2 V_FSTATIC2(1U)
26530 #define S_ERRORSRDY2 7
26531 #define V_ERRORSRDY2(x) ((x) << S_ERRORSRDY2)
26532 #define F_ERRORSRDY2 V_ERRORSRDY2(1U)
26534 #define S_PLDTXSRDY2 6
26535 #define V_PLDTXSRDY2(x) ((x) << S_PLDTXSRDY2)
26536 #define F_PLDTXSRDY2 V_PLDTXSRDY2(1U)
26539 #define V_DBVLD2(x) ((x) << S_DBVLD2)
26540 #define F_DBVLD2 V_DBVLD2(1U)
26542 #define S_PLDTXVALID2 4
26543 #define V_PLDTXVALID2(x) ((x) << S_PLDTXVALID2)
26544 #define F_PLDTXVALID2 V_PLDTXVALID2(1U)
26546 #define S_ETXVALID2 3
26547 #define V_ETXVALID2(x) ((x) << S_ETXVALID2)
26548 #define F_ETXVALID2 V_ETXVALID2(1U)
26550 #define S_ETXFULL2 2
26551 #define V_ETXFULL2(x) ((x) << S_ETXFULL2)
26552 #define F_ETXFULL2 V_ETXFULL2(1U)
26554 #define S_ERXVALID2 1
26555 #define V_ERXVALID2(x) ((x) << S_ERXVALID2)
26556 #define F_ERXVALID2 V_ERXVALID2(1U)
26558 #define S_ERXFULL2 0
26559 #define V_ERXFULL2(x) ((x) << S_ERXFULL2)
26560 #define F_ERXFULL2 V_ERXFULL2(1U)
26562 #define A_TP_DBG_ESIDE_DISP0 0x136
26564 #define S_RESRDY 31
26565 #define V_RESRDY(x) ((x) << S_RESRDY)
26566 #define F_RESRDY V_RESRDY(1U)
26569 #define M_STATE 0x7U
26570 #define V_STATE(x) ((x) << S_STATE)
26571 #define G_STATE(x) (((x) >> S_STATE) & M_STATE)
26573 #define S_FIFOCPL5RXVALID 27
26574 #define V_FIFOCPL5RXVALID(x) ((x) << S_FIFOCPL5RXVALID)
26575 #define F_FIFOCPL5RXVALID V_FIFOCPL5RXVALID(1U)
26577 #define S_FIFOETHRXVALID 26
26578 #define V_FIFOETHRXVALID(x) ((x) << S_FIFOETHRXVALID)
26579 #define F_FIFOETHRXVALID V_FIFOETHRXVALID(1U)
26581 #define S_FIFOETHRXSOCP 25
26582 #define V_FIFOETHRXSOCP(x) ((x) << S_FIFOETHRXSOCP)
26583 #define F_FIFOETHRXSOCP V_FIFOETHRXSOCP(1U)
26585 #define S_FIFOPLDRXZEROP 24
26586 #define V_FIFOPLDRXZEROP(x) ((x) << S_FIFOPLDRXZEROP)
26587 #define F_FIFOPLDRXZEROP V_FIFOPLDRXZEROP(1U)
26589 #define S_PLDRXVALID 23
26590 #define V_PLDRXVALID(x) ((x) << S_PLDRXVALID)
26591 #define F_PLDRXVALID V_PLDRXVALID(1U)
26593 #define S_FIFOPLDRXZEROP_SRDY 22
26594 #define V_FIFOPLDRXZEROP_SRDY(x) ((x) << S_FIFOPLDRXZEROP_SRDY)
26595 #define F_FIFOPLDRXZEROP_SRDY V_FIFOPLDRXZEROP_SRDY(1U)
26597 #define S_FIFOIPRXVALID 21
26598 #define V_FIFOIPRXVALID(x) ((x) << S_FIFOIPRXVALID)
26599 #define F_FIFOIPRXVALID V_FIFOIPRXVALID(1U)
26601 #define S_FIFOTCPRXVALID 20
26602 #define V_FIFOTCPRXVALID(x) ((x) << S_FIFOTCPRXVALID)
26603 #define F_FIFOTCPRXVALID V_FIFOTCPRXVALID(1U)
26605 #define S_PLDRXCSUMVALID 19
26606 #define V_PLDRXCSUMVALID(x) ((x) << S_PLDRXCSUMVALID)
26607 #define F_PLDRXCSUMVALID V_PLDRXCSUMVALID(1U)
26609 #define S_FIFOIPCSUMSRDY 18
26610 #define V_FIFOIPCSUMSRDY(x) ((x) << S_FIFOIPCSUMSRDY)
26611 #define F_FIFOIPCSUMSRDY V_FIFOIPCSUMSRDY(1U)
26613 #define S_FIFOIPPSEUDOCSUMSRDY 17
26614 #define V_FIFOIPPSEUDOCSUMSRDY(x) ((x) << S_FIFOIPPSEUDOCSUMSRDY)
26615 #define F_FIFOIPPSEUDOCSUMSRDY V_FIFOIPPSEUDOCSUMSRDY(1U)
26617 #define S_FIFOTCPCSUMSRDY 16
26618 #define V_FIFOTCPCSUMSRDY(x) ((x) << S_FIFOTCPCSUMSRDY)
26619 #define F_FIFOTCPCSUMSRDY V_FIFOTCPCSUMSRDY(1U)
26621 #define S_ESTATIC4 12
26622 #define M_ESTATIC4 0xfU
26623 #define V_ESTATIC4(x) ((x) << S_ESTATIC4)
26624 #define G_ESTATIC4(x) (((x) >> S_ESTATIC4) & M_ESTATIC4)
26626 #define S_FIFOCPLSOCPCNT 10
26627 #define M_FIFOCPLSOCPCNT 0x3U
26628 #define V_FIFOCPLSOCPCNT(x) ((x) << S_FIFOCPLSOCPCNT)
26629 #define G_FIFOCPLSOCPCNT(x) (((x) >> S_FIFOCPLSOCPCNT) & M_FIFOCPLSOCPCNT)
26631 #define S_FIFOETHSOCPCNT 8
26632 #define M_FIFOETHSOCPCNT 0x3U
26633 #define V_FIFOETHSOCPCNT(x) ((x) << S_FIFOETHSOCPCNT)
26634 #define G_FIFOETHSOCPCNT(x) (((x) >> S_FIFOETHSOCPCNT) & M_FIFOETHSOCPCNT)
26636 #define S_FIFOIPSOCPCNT 6
26637 #define M_FIFOIPSOCPCNT 0x3U
26638 #define V_FIFOIPSOCPCNT(x) ((x) << S_FIFOIPSOCPCNT)
26639 #define G_FIFOIPSOCPCNT(x) (((x) >> S_FIFOIPSOCPCNT) & M_FIFOIPSOCPCNT)
26641 #define S_FIFOTCPSOCPCNT 4
26642 #define M_FIFOTCPSOCPCNT 0x3U
26643 #define V_FIFOTCPSOCPCNT(x) ((x) << S_FIFOTCPSOCPCNT)
26644 #define G_FIFOTCPSOCPCNT(x) (((x) >> S_FIFOTCPSOCPCNT) & M_FIFOTCPSOCPCNT)
26646 #define S_PLD_RXZEROP_CNT 2
26647 #define M_PLD_RXZEROP_CNT 0x3U
26648 #define V_PLD_RXZEROP_CNT(x) ((x) << S_PLD_RXZEROP_CNT)
26649 #define G_PLD_RXZEROP_CNT(x) (((x) >> S_PLD_RXZEROP_CNT) & M_PLD_RXZEROP_CNT)
26651 #define S_ESTATIC6 1
26652 #define V_ESTATIC6(x) ((x) << S_ESTATIC6)
26653 #define F_ESTATIC6 V_ESTATIC6(1U)
26656 #define V_TXFULL(x) ((x) << S_TXFULL)
26657 #define F_TXFULL V_TXFULL(1U)
26659 #define S_FIFOGRERXVALID 15
26660 #define V_FIFOGRERXVALID(x) ((x) << S_FIFOGRERXVALID)
26661 #define F_FIFOGRERXVALID V_FIFOGRERXVALID(1U)
26663 #define S_FIFOGRERXREADY 14
26664 #define V_FIFOGRERXREADY(x) ((x) << S_FIFOGRERXREADY)
26665 #define F_FIFOGRERXREADY V_FIFOGRERXREADY(1U)
26667 #define S_FIFOGRERXSOCP 13
26668 #define V_FIFOGRERXSOCP(x) ((x) << S_FIFOGRERXSOCP)
26669 #define F_FIFOGRERXSOCP V_FIFOGRERXSOCP(1U)
26671 #define S_T6_ESTATIC4 12
26672 #define V_T6_ESTATIC4(x) ((x) << S_T6_ESTATIC4)
26673 #define F_T6_ESTATIC4 V_T6_ESTATIC4(1U)
26675 #define S_TXFULL_ESIDE0 0
26676 #define V_TXFULL_ESIDE0(x) ((x) << S_TXFULL_ESIDE0)
26677 #define F_TXFULL_ESIDE0 V_TXFULL_ESIDE0(1U)
26679 #define A_TP_DBG_ESIDE_DISP1 0x137
26681 #define S_T6_ESTATIC4 12
26682 #define V_T6_ESTATIC4(x) ((x) << S_T6_ESTATIC4)
26683 #define F_T6_ESTATIC4 V_T6_ESTATIC4(1U)
26685 #define S_TXFULL_ESIDE1 0
26686 #define V_TXFULL_ESIDE1(x) ((x) << S_TXFULL_ESIDE1)
26687 #define F_TXFULL_ESIDE1 V_TXFULL_ESIDE1(1U)
26689 #define A_TP_MAC_MATCH_MAP0 0x138
26691 #define S_MAPVALUEWR 16
26692 #define M_MAPVALUEWR 0xffU
26693 #define V_MAPVALUEWR(x) ((x) << S_MAPVALUEWR)
26694 #define G_MAPVALUEWR(x) (((x) >> S_MAPVALUEWR) & M_MAPVALUEWR)
26696 #define S_MAPINDEX 2
26697 #define M_MAPINDEX 0x1ffU
26698 #define V_MAPINDEX(x) ((x) << S_MAPINDEX)
26699 #define G_MAPINDEX(x) (((x) >> S_MAPINDEX) & M_MAPINDEX)
26701 #define S_MAPREAD 1
26702 #define V_MAPREAD(x) ((x) << S_MAPREAD)
26703 #define F_MAPREAD V_MAPREAD(1U)
26705 #define S_MAPWRITE 0
26706 #define V_MAPWRITE(x) ((x) << S_MAPWRITE)
26707 #define F_MAPWRITE V_MAPWRITE(1U)
26709 #define A_TP_MAC_MATCH_MAP1 0x139
26711 #define S_MAPVALUERD 0
26712 #define M_MAPVALUERD 0x1ffU
26713 #define V_MAPVALUERD(x) ((x) << S_MAPVALUERD)
26714 #define G_MAPVALUERD(x) (((x) >> S_MAPVALUERD) & M_MAPVALUERD)
26716 #define A_TP_DBG_ESIDE_DISP2 0x13a
26718 #define S_T6_ESTATIC4 12
26719 #define V_T6_ESTATIC4(x) ((x) << S_T6_ESTATIC4)
26720 #define F_T6_ESTATIC4 V_T6_ESTATIC4(1U)
26722 #define S_TXFULL_ESIDE2 0
26723 #define V_TXFULL_ESIDE2(x) ((x) << S_TXFULL_ESIDE2)
26724 #define F_TXFULL_ESIDE2 V_TXFULL_ESIDE2(1U)
26726 #define A_TP_DBG_ESIDE_DISP3 0x13b
26728 #define S_T6_ESTATIC4 12
26729 #define V_T6_ESTATIC4(x) ((x) << S_T6_ESTATIC4)
26730 #define F_T6_ESTATIC4 V_T6_ESTATIC4(1U)
26732 #define S_TXFULL_ESIDE3 0
26733 #define V_TXFULL_ESIDE3(x) ((x) << S_TXFULL_ESIDE3)
26734 #define F_TXFULL_ESIDE3 V_TXFULL_ESIDE3(1U)
26736 #define A_TP_DBG_ESIDE_HDR0 0x13c
26738 #define S_TCPSOPCNT 28
26739 #define M_TCPSOPCNT 0xfU
26740 #define V_TCPSOPCNT(x) ((x) << S_TCPSOPCNT)
26741 #define G_TCPSOPCNT(x) (((x) >> S_TCPSOPCNT) & M_TCPSOPCNT)
26743 #define S_TCPEOPCNT 24
26744 #define M_TCPEOPCNT 0xfU
26745 #define V_TCPEOPCNT(x) ((x) << S_TCPEOPCNT)
26746 #define G_TCPEOPCNT(x) (((x) >> S_TCPEOPCNT) & M_TCPEOPCNT)
26748 #define S_IPSOPCNT 20
26749 #define M_IPSOPCNT 0xfU
26750 #define V_IPSOPCNT(x) ((x) << S_IPSOPCNT)
26751 #define G_IPSOPCNT(x) (((x) >> S_IPSOPCNT) & M_IPSOPCNT)
26753 #define S_IPEOPCNT 16
26754 #define M_IPEOPCNT 0xfU
26755 #define V_IPEOPCNT(x) ((x) << S_IPEOPCNT)
26756 #define G_IPEOPCNT(x) (((x) >> S_IPEOPCNT) & M_IPEOPCNT)
26758 #define S_ETHSOPCNT 12
26759 #define M_ETHSOPCNT 0xfU
26760 #define V_ETHSOPCNT(x) ((x) << S_ETHSOPCNT)
26761 #define G_ETHSOPCNT(x) (((x) >> S_ETHSOPCNT) & M_ETHSOPCNT)
26763 #define S_ETHEOPCNT 8
26764 #define M_ETHEOPCNT 0xfU
26765 #define V_ETHEOPCNT(x) ((x) << S_ETHEOPCNT)
26766 #define G_ETHEOPCNT(x) (((x) >> S_ETHEOPCNT) & M_ETHEOPCNT)
26768 #define S_CPLSOPCNT 4
26769 #define M_CPLSOPCNT 0xfU
26770 #define V_CPLSOPCNT(x) ((x) << S_CPLSOPCNT)
26771 #define G_CPLSOPCNT(x) (((x) >> S_CPLSOPCNT) & M_CPLSOPCNT)
26773 #define S_CPLEOPCNT 0
26774 #define M_CPLEOPCNT 0xfU
26775 #define V_CPLEOPCNT(x) ((x) << S_CPLEOPCNT)
26776 #define G_CPLEOPCNT(x) (((x) >> S_CPLEOPCNT) & M_CPLEOPCNT)
26778 #define A_TP_DBG_ESIDE_HDR1 0x13d
26779 #define A_TP_DBG_ESIDE_HDR2 0x13e
26780 #define A_TP_DBG_ESIDE_HDR3 0x13f
26781 #define A_TP_VLAN_PRI_MAP 0x140
26783 #define S_FRAGMENTATION 9
26784 #define V_FRAGMENTATION(x) ((x) << S_FRAGMENTATION)
26785 #define F_FRAGMENTATION V_FRAGMENTATION(1U)
26787 #define S_MPSHITTYPE 8
26788 #define V_MPSHITTYPE(x) ((x) << S_MPSHITTYPE)
26789 #define F_MPSHITTYPE V_MPSHITTYPE(1U)
26791 #define S_MACMATCH 7
26792 #define V_MACMATCH(x) ((x) << S_MACMATCH)
26793 #define F_MACMATCH V_MACMATCH(1U)
26795 #define S_ETHERTYPE 6
26796 #define V_ETHERTYPE(x) ((x) << S_ETHERTYPE)
26797 #define F_ETHERTYPE V_ETHERTYPE(1U)
26799 #define S_PROTOCOL 5
26800 #define V_PROTOCOL(x) ((x) << S_PROTOCOL)
26801 #define F_PROTOCOL V_PROTOCOL(1U)
26804 #define V_TOS(x) ((x) << S_TOS)
26805 #define F_TOS V_TOS(1U)
26808 #define V_VLAN(x) ((x) << S_VLAN)
26809 #define F_VLAN V_VLAN(1U)
26811 #define S_VNIC_ID 2
26812 #define V_VNIC_ID(x) ((x) << S_VNIC_ID)
26813 #define F_VNIC_ID V_VNIC_ID(1U)
26816 #define V_PORT(x) ((x) << S_PORT)
26817 #define F_PORT V_PORT(1U)
26820 #define V_FCOE(x) ((x) << S_FCOE)
26821 #define F_FCOE V_FCOE(1U)
26823 #define S_FILTERMODE 15
26824 #define V_FILTERMODE(x) ((x) << S_FILTERMODE)
26825 #define F_FILTERMODE V_FILTERMODE(1U)
26827 #define S_FCOEMASK 14
26828 #define V_FCOEMASK(x) ((x) << S_FCOEMASK)
26829 #define F_FCOEMASK V_FCOEMASK(1U)
26831 #define S_SRVRSRAM 13
26832 #define V_SRVRSRAM(x) ((x) << S_SRVRSRAM)
26833 #define F_SRVRSRAM V_SRVRSRAM(1U)
26835 #define A_TP_INGRESS_CONFIG 0x141
26837 #define S_OPAQUE_TYPE 16
26838 #define M_OPAQUE_TYPE 0xffffU
26839 #define V_OPAQUE_TYPE(x) ((x) << S_OPAQUE_TYPE)
26840 #define G_OPAQUE_TYPE(x) (((x) >> S_OPAQUE_TYPE) & M_OPAQUE_TYPE)
26842 #define S_OPAQUE_RM 15
26843 #define V_OPAQUE_RM(x) ((x) << S_OPAQUE_RM)
26844 #define F_OPAQUE_RM V_OPAQUE_RM(1U)
26846 #define S_OPAQUE_HDR_SIZE 14
26847 #define V_OPAQUE_HDR_SIZE(x) ((x) << S_OPAQUE_HDR_SIZE)
26848 #define F_OPAQUE_HDR_SIZE V_OPAQUE_HDR_SIZE(1U)
26850 #define S_OPAQUE_RM_MAC_IN_MAC 13
26851 #define V_OPAQUE_RM_MAC_IN_MAC(x) ((x) << S_OPAQUE_RM_MAC_IN_MAC)
26852 #define F_OPAQUE_RM_MAC_IN_MAC V_OPAQUE_RM_MAC_IN_MAC(1U)
26854 #define S_FCOE_TARGET 12
26855 #define V_FCOE_TARGET(x) ((x) << S_FCOE_TARGET)
26856 #define F_FCOE_TARGET V_FCOE_TARGET(1U)
26859 #define V_VNIC(x) ((x) << S_VNIC)
26860 #define F_VNIC V_VNIC(1U)
26862 #define S_CSUM_HAS_PSEUDO_HDR 10
26863 #define V_CSUM_HAS_PSEUDO_HDR(x) ((x) << S_CSUM_HAS_PSEUDO_HDR)
26864 #define F_CSUM_HAS_PSEUDO_HDR V_CSUM_HAS_PSEUDO_HDR(1U)
26866 #define S_RM_OVLAN 9
26867 #define V_RM_OVLAN(x) ((x) << S_RM_OVLAN)
26868 #define F_RM_OVLAN V_RM_OVLAN(1U)
26870 #define S_LOOKUPEVERYPKT 8
26871 #define V_LOOKUPEVERYPKT(x) ((x) << S_LOOKUPEVERYPKT)
26872 #define F_LOOKUPEVERYPKT V_LOOKUPEVERYPKT(1U)
26874 #define S_IPV6_EXT_HDR_SKIP 0
26875 #define M_IPV6_EXT_HDR_SKIP 0xffU
26876 #define V_IPV6_EXT_HDR_SKIP(x) ((x) << S_IPV6_EXT_HDR_SKIP)
26877 #define G_IPV6_EXT_HDR_SKIP(x) (((x) >> S_IPV6_EXT_HDR_SKIP) & M_IPV6_EXT_HDR_SKIP)
26879 #define S_FRAG_LEN_MOD8_COMPAT 12
26880 #define V_FRAG_LEN_MOD8_COMPAT(x) ((x) << S_FRAG_LEN_MOD8_COMPAT)
26881 #define F_FRAG_LEN_MOD8_COMPAT V_FRAG_LEN_MOD8_COMPAT(1U)
26883 #define S_USE_ENC_IDX 13
26884 #define V_USE_ENC_IDX(x) ((x) << S_USE_ENC_IDX)
26885 #define F_USE_ENC_IDX V_USE_ENC_IDX(1U)
26887 #define A_TP_TX_DROP_CFG_CH2 0x142
26888 #define A_TP_TX_DROP_CFG_CH3 0x143
26889 #define A_TP_EGRESS_CONFIG 0x145
26891 #define S_REWRITEFORCETOSIZE 0
26892 #define V_REWRITEFORCETOSIZE(x) ((x) << S_REWRITEFORCETOSIZE)
26893 #define F_REWRITEFORCETOSIZE V_REWRITEFORCETOSIZE(1U)
26895 #define A_TP_INGRESS_CONFIG2 0x145
26897 #define S_IPV6_UDP_CSUM_COMPAT 31
26898 #define V_IPV6_UDP_CSUM_COMPAT(x) ((x) << S_IPV6_UDP_CSUM_COMPAT)
26899 #define F_IPV6_UDP_CSUM_COMPAT V_IPV6_UDP_CSUM_COMPAT(1U)
26901 #define S_VNTAGPLDENABLE 30
26902 #define V_VNTAGPLDENABLE(x) ((x) << S_VNTAGPLDENABLE)
26903 #define F_VNTAGPLDENABLE V_VNTAGPLDENABLE(1U)
26905 #define S_TCP_PLD_FILTER_OFFSET 20
26906 #define M_TCP_PLD_FILTER_OFFSET 0x3ffU
26907 #define V_TCP_PLD_FILTER_OFFSET(x) ((x) << S_TCP_PLD_FILTER_OFFSET)
26908 #define G_TCP_PLD_FILTER_OFFSET(x) (((x) >> S_TCP_PLD_FILTER_OFFSET) & M_TCP_PLD_FILTER_OFFSET)
26910 #define S_UDP_PLD_FILTER_OFFSET 10
26911 #define M_UDP_PLD_FILTER_OFFSET 0x3ffU
26912 #define V_UDP_PLD_FILTER_OFFSET(x) ((x) << S_UDP_PLD_FILTER_OFFSET)
26913 #define G_UDP_PLD_FILTER_OFFSET(x) (((x) >> S_UDP_PLD_FILTER_OFFSET) & M_UDP_PLD_FILTER_OFFSET)
26915 #define S_TNL_PLD_FILTER_OFFSET 0
26916 #define M_TNL_PLD_FILTER_OFFSET 0x3ffU
26917 #define V_TNL_PLD_FILTER_OFFSET(x) ((x) << S_TNL_PLD_FILTER_OFFSET)
26918 #define G_TNL_PLD_FILTER_OFFSET(x) (((x) >> S_TNL_PLD_FILTER_OFFSET) & M_TNL_PLD_FILTER_OFFSET)
26920 #define A_TP_EHDR_CONFIG_LO 0x146
26922 #define S_CPLLIMIT 24
26923 #define M_CPLLIMIT 0xffU
26924 #define V_CPLLIMIT(x) ((x) << S_CPLLIMIT)
26925 #define G_CPLLIMIT(x) (((x) >> S_CPLLIMIT) & M_CPLLIMIT)
26927 #define S_ETHLIMIT 16
26928 #define M_ETHLIMIT 0xffU
26929 #define V_ETHLIMIT(x) ((x) << S_ETHLIMIT)
26930 #define G_ETHLIMIT(x) (((x) >> S_ETHLIMIT) & M_ETHLIMIT)
26932 #define S_IPLIMIT 8
26933 #define M_IPLIMIT 0xffU
26934 #define V_IPLIMIT(x) ((x) << S_IPLIMIT)
26935 #define G_IPLIMIT(x) (((x) >> S_IPLIMIT) & M_IPLIMIT)
26937 #define S_TCPLIMIT 0
26938 #define M_TCPLIMIT 0xffU
26939 #define V_TCPLIMIT(x) ((x) << S_TCPLIMIT)
26940 #define G_TCPLIMIT(x) (((x) >> S_TCPLIMIT) & M_TCPLIMIT)
26942 #define A_TP_EHDR_CONFIG_HI 0x147
26943 #define A_TP_DBG_ESIDE_INT 0x148
26945 #define S_ERXSOP2X 28
26946 #define M_ERXSOP2X 0xfU
26947 #define V_ERXSOP2X(x) ((x) << S_ERXSOP2X)
26948 #define G_ERXSOP2X(x) (((x) >> S_ERXSOP2X) & M_ERXSOP2X)
26950 #define S_ERXEOP2X 24
26951 #define M_ERXEOP2X 0xfU
26952 #define V_ERXEOP2X(x) ((x) << S_ERXEOP2X)
26953 #define G_ERXEOP2X(x) (((x) >> S_ERXEOP2X) & M_ERXEOP2X)
26955 #define S_ERXVALID2X 20
26956 #define M_ERXVALID2X 0xfU
26957 #define V_ERXVALID2X(x) ((x) << S_ERXVALID2X)
26958 #define G_ERXVALID2X(x) (((x) >> S_ERXVALID2X) & M_ERXVALID2X)
26960 #define S_ERXAFULL2X 16
26961 #define M_ERXAFULL2X 0xfU
26962 #define V_ERXAFULL2X(x) ((x) << S_ERXAFULL2X)
26963 #define G_ERXAFULL2X(x) (((x) >> S_ERXAFULL2X) & M_ERXAFULL2X)
26965 #define S_PLD2XTXVALID 12
26966 #define M_PLD2XTXVALID 0xfU
26967 #define V_PLD2XTXVALID(x) ((x) << S_PLD2XTXVALID)
26968 #define G_PLD2XTXVALID(x) (((x) >> S_PLD2XTXVALID) & M_PLD2XTXVALID)
26970 #define S_PLD2XTXAFULL 8
26971 #define M_PLD2XTXAFULL 0xfU
26972 #define V_PLD2XTXAFULL(x) ((x) << S_PLD2XTXAFULL)
26973 #define G_PLD2XTXAFULL(x) (((x) >> S_PLD2XTXAFULL) & M_PLD2XTXAFULL)
26975 #define S_ERRORSRDY 7
26976 #define V_ERRORSRDY(x) ((x) << S_ERRORSRDY)
26977 #define F_ERRORSRDY V_ERRORSRDY(1U)
26979 #define S_ERRORDRDY 6
26980 #define V_ERRORDRDY(x) ((x) << S_ERRORDRDY)
26981 #define F_ERRORDRDY V_ERRORDRDY(1U)
26983 #define S_TCPOPSRDY 5
26984 #define V_TCPOPSRDY(x) ((x) << S_TCPOPSRDY)
26985 #define F_TCPOPSRDY V_TCPOPSRDY(1U)
26987 #define S_TCPOPDRDY 4
26988 #define V_TCPOPDRDY(x) ((x) << S_TCPOPDRDY)
26989 #define F_TCPOPDRDY V_TCPOPDRDY(1U)
26991 #define S_PLDTXSRDY 3
26992 #define V_PLDTXSRDY(x) ((x) << S_PLDTXSRDY)
26993 #define F_PLDTXSRDY V_PLDTXSRDY(1U)
26995 #define S_PLDTXDRDY 2
26996 #define V_PLDTXDRDY(x) ((x) << S_PLDTXDRDY)
26997 #define F_PLDTXDRDY V_PLDTXDRDY(1U)
26999 #define S_TCPOPTTXVALID 1
27000 #define V_TCPOPTTXVALID(x) ((x) << S_TCPOPTTXVALID)
27001 #define F_TCPOPTTXVALID V_TCPOPTTXVALID(1U)
27003 #define S_TCPOPTTXFULL 0
27004 #define V_TCPOPTTXFULL(x) ((x) << S_TCPOPTTXFULL)
27005 #define F_TCPOPTTXFULL V_TCPOPTTXFULL(1U)
27007 #define S_PKTATTRSRDY 3
27008 #define V_PKTATTRSRDY(x) ((x) << S_PKTATTRSRDY)
27009 #define F_PKTATTRSRDY V_PKTATTRSRDY(1U)
27011 #define S_PKTATTRDRDY 2
27012 #define V_PKTATTRDRDY(x) ((x) << S_PKTATTRDRDY)
27013 #define F_PKTATTRDRDY V_PKTATTRDRDY(1U)
27015 #define A_TP_DBG_ESIDE_DEMUX 0x149
27017 #define S_EALLDONE 28
27018 #define M_EALLDONE 0xfU
27019 #define V_EALLDONE(x) ((x) << S_EALLDONE)
27020 #define G_EALLDONE(x) (((x) >> S_EALLDONE) & M_EALLDONE)
27022 #define S_EFIFOPLDDONE 24
27023 #define M_EFIFOPLDDONE 0xfU
27024 #define V_EFIFOPLDDONE(x) ((x) << S_EFIFOPLDDONE)
27025 #define G_EFIFOPLDDONE(x) (((x) >> S_EFIFOPLDDONE) & M_EFIFOPLDDONE)
27027 #define S_EDBDONE 20
27028 #define M_EDBDONE 0xfU
27029 #define V_EDBDONE(x) ((x) << S_EDBDONE)
27030 #define G_EDBDONE(x) (((x) >> S_EDBDONE) & M_EDBDONE)
27032 #define S_EISSFIFODONE 16
27033 #define M_EISSFIFODONE 0xfU
27034 #define V_EISSFIFODONE(x) ((x) << S_EISSFIFODONE)
27035 #define G_EISSFIFODONE(x) (((x) >> S_EISSFIFODONE) & M_EISSFIFODONE)
27037 #define S_EACKERRFIFODONE 12
27038 #define M_EACKERRFIFODONE 0xfU
27039 #define V_EACKERRFIFODONE(x) ((x) << S_EACKERRFIFODONE)
27040 #define G_EACKERRFIFODONE(x) (((x) >> S_EACKERRFIFODONE) & M_EACKERRFIFODONE)
27042 #define S_EFIFOERRORDONE 8
27043 #define M_EFIFOERRORDONE 0xfU
27044 #define V_EFIFOERRORDONE(x) ((x) << S_EFIFOERRORDONE)
27045 #define G_EFIFOERRORDONE(x) (((x) >> S_EFIFOERRORDONE) & M_EFIFOERRORDONE)
27047 #define S_ERXPKTATTRFIFOFDONE 4
27048 #define M_ERXPKTATTRFIFOFDONE 0xfU
27049 #define V_ERXPKTATTRFIFOFDONE(x) ((x) << S_ERXPKTATTRFIFOFDONE)
27050 #define G_ERXPKTATTRFIFOFDONE(x) (((x) >> S_ERXPKTATTRFIFOFDONE) & M_ERXPKTATTRFIFOFDONE)
27052 #define S_ETCPOPDONE 0
27053 #define M_ETCPOPDONE 0xfU
27054 #define V_ETCPOPDONE(x) ((x) << S_ETCPOPDONE)
27055 #define G_ETCPOPDONE(x) (((x) >> S_ETCPOPDONE) & M_ETCPOPDONE)
27057 #define A_TP_DBG_ESIDE_IN0 0x14a
27059 #define S_RXVALID 31
27060 #define V_RXVALID(x) ((x) << S_RXVALID)
27061 #define F_RXVALID V_RXVALID(1U)
27063 #define S_RXFULL 30
27064 #define V_RXFULL(x) ((x) << S_RXFULL)
27065 #define F_RXFULL V_RXFULL(1U)
27067 #define S_RXSOCP 29
27068 #define V_RXSOCP(x) ((x) << S_RXSOCP)
27069 #define F_RXSOCP V_RXSOCP(1U)
27072 #define V_RXEOP(x) ((x) << S_RXEOP)
27073 #define F_RXEOP V_RXEOP(1U)
27075 #define S_RXVALID_I 27
27076 #define V_RXVALID_I(x) ((x) << S_RXVALID_I)
27077 #define F_RXVALID_I V_RXVALID_I(1U)
27079 #define S_RXFULL_I 26
27080 #define V_RXFULL_I(x) ((x) << S_RXFULL_I)
27081 #define F_RXFULL_I V_RXFULL_I(1U)
27083 #define S_RXSOCP_I 25
27084 #define V_RXSOCP_I(x) ((x) << S_RXSOCP_I)
27085 #define F_RXSOCP_I V_RXSOCP_I(1U)
27087 #define S_RXEOP_I 24
27088 #define V_RXEOP_I(x) ((x) << S_RXEOP_I)
27089 #define F_RXEOP_I V_RXEOP_I(1U)
27091 #define S_RXVALID_I2 23
27092 #define V_RXVALID_I2(x) ((x) << S_RXVALID_I2)
27093 #define F_RXVALID_I2 V_RXVALID_I2(1U)
27095 #define S_RXFULL_I2 22
27096 #define V_RXFULL_I2(x) ((x) << S_RXFULL_I2)
27097 #define F_RXFULL_I2 V_RXFULL_I2(1U)
27099 #define S_RXSOCP_I2 21
27100 #define V_RXSOCP_I2(x) ((x) << S_RXSOCP_I2)
27101 #define F_RXSOCP_I2 V_RXSOCP_I2(1U)
27103 #define S_RXEOP_I2 20
27104 #define V_RXEOP_I2(x) ((x) << S_RXEOP_I2)
27105 #define F_RXEOP_I2 V_RXEOP_I2(1U)
27107 #define S_CT_MPA_TXVALID_FIFO 19
27108 #define V_CT_MPA_TXVALID_FIFO(x) ((x) << S_CT_MPA_TXVALID_FIFO)
27109 #define F_CT_MPA_TXVALID_FIFO V_CT_MPA_TXVALID_FIFO(1U)
27111 #define S_CT_MPA_TXFULL_FIFO 18
27112 #define V_CT_MPA_TXFULL_FIFO(x) ((x) << S_CT_MPA_TXFULL_FIFO)
27113 #define F_CT_MPA_TXFULL_FIFO V_CT_MPA_TXFULL_FIFO(1U)
27115 #define S_CT_MPA_TXVALID 17
27116 #define V_CT_MPA_TXVALID(x) ((x) << S_CT_MPA_TXVALID)
27117 #define F_CT_MPA_TXVALID V_CT_MPA_TXVALID(1U)
27119 #define S_CT_MPA_TXFULL 16
27120 #define V_CT_MPA_TXFULL(x) ((x) << S_CT_MPA_TXFULL)
27121 #define F_CT_MPA_TXFULL V_CT_MPA_TXFULL(1U)
27123 #define S_RXVALID_BUF 15
27124 #define V_RXVALID_BUF(x) ((x) << S_RXVALID_BUF)
27125 #define F_RXVALID_BUF V_RXVALID_BUF(1U)
27127 #define S_RXFULL_BUF 14
27128 #define V_RXFULL_BUF(x) ((x) << S_RXFULL_BUF)
27129 #define F_RXFULL_BUF V_RXFULL_BUF(1U)
27131 #define S_PLD_TXVALID 13
27132 #define V_PLD_TXVALID(x) ((x) << S_PLD_TXVALID)
27133 #define F_PLD_TXVALID V_PLD_TXVALID(1U)
27135 #define S_PLD_TXFULL 12
27136 #define V_PLD_TXFULL(x) ((x) << S_PLD_TXFULL)
27137 #define F_PLD_TXFULL V_PLD_TXFULL(1U)
27139 #define S_ISS_FIFO_SRDY 11
27140 #define V_ISS_FIFO_SRDY(x) ((x) << S_ISS_FIFO_SRDY)
27141 #define F_ISS_FIFO_SRDY V_ISS_FIFO_SRDY(1U)
27143 #define S_ISS_FIFO_DRDY 10
27144 #define V_ISS_FIFO_DRDY(x) ((x) << S_ISS_FIFO_DRDY)
27145 #define F_ISS_FIFO_DRDY V_ISS_FIFO_DRDY(1U)
27147 #define S_CT_TCP_OP_ISS_SRDY 9
27148 #define V_CT_TCP_OP_ISS_SRDY(x) ((x) << S_CT_TCP_OP_ISS_SRDY)
27149 #define F_CT_TCP_OP_ISS_SRDY V_CT_TCP_OP_ISS_SRDY(1U)
27151 #define S_CT_TCP_OP_ISS_DRDY 8
27152 #define V_CT_TCP_OP_ISS_DRDY(x) ((x) << S_CT_TCP_OP_ISS_DRDY)
27153 #define F_CT_TCP_OP_ISS_DRDY V_CT_TCP_OP_ISS_DRDY(1U)
27155 #define S_P2CSUMERROR_SRDY 7
27156 #define V_P2CSUMERROR_SRDY(x) ((x) << S_P2CSUMERROR_SRDY)
27157 #define F_P2CSUMERROR_SRDY V_P2CSUMERROR_SRDY(1U)
27159 #define S_P2CSUMERROR_DRDY 6
27160 #define V_P2CSUMERROR_DRDY(x) ((x) << S_P2CSUMERROR_DRDY)
27161 #define F_P2CSUMERROR_DRDY V_P2CSUMERROR_DRDY(1U)
27163 #define S_FIFO_ERROR_SRDY 5
27164 #define V_FIFO_ERROR_SRDY(x) ((x) << S_FIFO_ERROR_SRDY)
27165 #define F_FIFO_ERROR_SRDY V_FIFO_ERROR_SRDY(1U)
27167 #define S_FIFO_ERROR_DRDY 4
27168 #define V_FIFO_ERROR_DRDY(x) ((x) << S_FIFO_ERROR_DRDY)
27169 #define F_FIFO_ERROR_DRDY V_FIFO_ERROR_DRDY(1U)
27171 #define S_PLD_SRDY 3
27172 #define V_PLD_SRDY(x) ((x) << S_PLD_SRDY)
27173 #define F_PLD_SRDY V_PLD_SRDY(1U)
27175 #define S_PLD_DRDY 2
27176 #define V_PLD_DRDY(x) ((x) << S_PLD_DRDY)
27177 #define F_PLD_DRDY V_PLD_DRDY(1U)
27179 #define S_RX_PKT_ATTR_SRDY 1
27180 #define V_RX_PKT_ATTR_SRDY(x) ((x) << S_RX_PKT_ATTR_SRDY)
27181 #define F_RX_PKT_ATTR_SRDY V_RX_PKT_ATTR_SRDY(1U)
27183 #define S_RX_PKT_ATTR_DRDY 0
27184 #define V_RX_PKT_ATTR_DRDY(x) ((x) << S_RX_PKT_ATTR_DRDY)
27185 #define F_RX_PKT_ATTR_DRDY V_RX_PKT_ATTR_DRDY(1U)
27187 #define S_RXRUNT 25
27188 #define V_RXRUNT(x) ((x) << S_RXRUNT)
27189 #define F_RXRUNT V_RXRUNT(1U)
27191 #define S_RXRUNTPARSER 24
27192 #define V_RXRUNTPARSER(x) ((x) << S_RXRUNTPARSER)
27193 #define F_RXRUNTPARSER V_RXRUNTPARSER(1U)
27195 #define S_ERROR_SRDY 5
27196 #define V_ERROR_SRDY(x) ((x) << S_ERROR_SRDY)
27197 #define F_ERROR_SRDY V_ERROR_SRDY(1U)
27199 #define S_ERROR_DRDY 4
27200 #define V_ERROR_DRDY(x) ((x) << S_ERROR_DRDY)
27201 #define F_ERROR_DRDY V_ERROR_DRDY(1U)
27203 #define A_TP_DBG_ESIDE_IN1 0x14b
27204 #define A_TP_DBG_ESIDE_IN2 0x14c
27205 #define A_TP_DBG_ESIDE_IN3 0x14d
27206 #define A_TP_DBG_ESIDE_FRM 0x14e
27208 #define S_ERX2XERROR 28
27209 #define M_ERX2XERROR 0xfU
27210 #define V_ERX2XERROR(x) ((x) << S_ERX2XERROR)
27211 #define G_ERX2XERROR(x) (((x) >> S_ERX2XERROR) & M_ERX2XERROR)
27213 #define S_EPLDTX2XERROR 24
27214 #define M_EPLDTX2XERROR 0xfU
27215 #define V_EPLDTX2XERROR(x) ((x) << S_EPLDTX2XERROR)
27216 #define G_EPLDTX2XERROR(x) (((x) >> S_EPLDTX2XERROR) & M_EPLDTX2XERROR)
27218 #define S_ETXERROR 20
27219 #define M_ETXERROR 0xfU
27220 #define V_ETXERROR(x) ((x) << S_ETXERROR)
27221 #define G_ETXERROR(x) (((x) >> S_ETXERROR) & M_ETXERROR)
27223 #define S_EPLDRXERROR 16
27224 #define M_EPLDRXERROR 0xfU
27225 #define V_EPLDRXERROR(x) ((x) << S_EPLDRXERROR)
27226 #define G_EPLDRXERROR(x) (((x) >> S_EPLDRXERROR) & M_EPLDRXERROR)
27228 #define S_ERXSIZEERROR3 12
27229 #define M_ERXSIZEERROR3 0xfU
27230 #define V_ERXSIZEERROR3(x) ((x) << S_ERXSIZEERROR3)
27231 #define G_ERXSIZEERROR3(x) (((x) >> S_ERXSIZEERROR3) & M_ERXSIZEERROR3)
27233 #define S_ERXSIZEERROR2 8
27234 #define M_ERXSIZEERROR2 0xfU
27235 #define V_ERXSIZEERROR2(x) ((x) << S_ERXSIZEERROR2)
27236 #define G_ERXSIZEERROR2(x) (((x) >> S_ERXSIZEERROR2) & M_ERXSIZEERROR2)
27238 #define S_ERXSIZEERROR1 4
27239 #define M_ERXSIZEERROR1 0xfU
27240 #define V_ERXSIZEERROR1(x) ((x) << S_ERXSIZEERROR1)
27241 #define G_ERXSIZEERROR1(x) (((x) >> S_ERXSIZEERROR1) & M_ERXSIZEERROR1)
27243 #define S_ERXSIZEERROR0 0
27244 #define M_ERXSIZEERROR0 0xfU
27245 #define V_ERXSIZEERROR0(x) ((x) << S_ERXSIZEERROR0)
27246 #define G_ERXSIZEERROR0(x) (((x) >> S_ERXSIZEERROR0) & M_ERXSIZEERROR0)
27248 #define A_TP_DBG_ESIDE_DRP 0x14f
27250 #define S_RXDROP3 24
27251 #define M_RXDROP3 0xffU
27252 #define V_RXDROP3(x) ((x) << S_RXDROP3)
27253 #define G_RXDROP3(x) (((x) >> S_RXDROP3) & M_RXDROP3)
27255 #define S_RXDROP2 16
27256 #define M_RXDROP2 0xffU
27257 #define V_RXDROP2(x) ((x) << S_RXDROP2)
27258 #define G_RXDROP2(x) (((x) >> S_RXDROP2) & M_RXDROP2)
27260 #define S_RXDROP1 8
27261 #define M_RXDROP1 0xffU
27262 #define V_RXDROP1(x) ((x) << S_RXDROP1)
27263 #define G_RXDROP1(x) (((x) >> S_RXDROP1) & M_RXDROP1)
27265 #define S_RXDROP0 0
27266 #define M_RXDROP0 0xffU
27267 #define V_RXDROP0(x) ((x) << S_RXDROP0)
27268 #define G_RXDROP0(x) (((x) >> S_RXDROP0) & M_RXDROP0)
27270 #define A_TP_DBG_ESIDE_TX 0x150
27272 #define S_ETXVALID 4
27273 #define M_ETXVALID 0xfU
27274 #define V_ETXVALID(x) ((x) << S_ETXVALID)
27275 #define G_ETXVALID(x) (((x) >> S_ETXVALID) & M_ETXVALID)
27277 #define S_ETXFULL 0
27278 #define M_ETXFULL 0xfU
27279 #define V_ETXFULL(x) ((x) << S_ETXFULL)
27280 #define G_ETXFULL(x) (((x) >> S_ETXFULL) & M_ETXFULL)
27282 #define S_TXERRORCNT 8
27283 #define M_TXERRORCNT 0xffffffU
27284 #define V_TXERRORCNT(x) ((x) << S_TXERRORCNT)
27285 #define G_TXERRORCNT(x) (((x) >> S_TXERRORCNT) & M_TXERRORCNT)
27287 #define A_TP_ESIDE_SVID_MASK 0x151
27288 #define A_TP_ESIDE_DVID_MASK 0x152
27289 #define A_TP_ESIDE_ALIGN_MASK 0x153
27291 #define S_USE_LOOP_BIT 24
27292 #define V_USE_LOOP_BIT(x) ((x) << S_USE_LOOP_BIT)
27293 #define F_USE_LOOP_BIT V_USE_LOOP_BIT(1U)
27295 #define S_LOOP_OFFSET 16
27296 #define M_LOOP_OFFSET 0xffU
27297 #define V_LOOP_OFFSET(x) ((x) << S_LOOP_OFFSET)
27298 #define G_LOOP_OFFSET(x) (((x) >> S_LOOP_OFFSET) & M_LOOP_OFFSET)
27300 #define S_DVID_ID_OFFSET 8
27301 #define M_DVID_ID_OFFSET 0xffU
27302 #define V_DVID_ID_OFFSET(x) ((x) << S_DVID_ID_OFFSET)
27303 #define G_DVID_ID_OFFSET(x) (((x) >> S_DVID_ID_OFFSET) & M_DVID_ID_OFFSET)
27305 #define S_SVID_ID_OFFSET 0
27306 #define M_SVID_ID_OFFSET 0xffU
27307 #define V_SVID_ID_OFFSET(x) ((x) << S_SVID_ID_OFFSET)
27308 #define G_SVID_ID_OFFSET(x) (((x) >> S_SVID_ID_OFFSET) & M_SVID_ID_OFFSET)
27310 #define A_TP_DBG_ESIDE_OP 0x154
27312 #define S_OPT_PARSER_FATAL_CHANNEL0 29
27313 #define V_OPT_PARSER_FATAL_CHANNEL0(x) ((x) << S_OPT_PARSER_FATAL_CHANNEL0)
27314 #define F_OPT_PARSER_FATAL_CHANNEL0 V_OPT_PARSER_FATAL_CHANNEL0(1U)
27316 #define S_OPT_PARSER_BUSY_CHANNEL0 28
27317 #define V_OPT_PARSER_BUSY_CHANNEL0(x) ((x) << S_OPT_PARSER_BUSY_CHANNEL0)
27318 #define F_OPT_PARSER_BUSY_CHANNEL0 V_OPT_PARSER_BUSY_CHANNEL0(1U)
27320 #define S_OPT_PARSER_ITCP_STATE_CHANNEL0 26
27321 #define M_OPT_PARSER_ITCP_STATE_CHANNEL0 0x3U
27322 #define V_OPT_PARSER_ITCP_STATE_CHANNEL0(x) ((x) << S_OPT_PARSER_ITCP_STATE_CHANNEL0)
27323 #define G_OPT_PARSER_ITCP_STATE_CHANNEL0(x) (((x) >> S_OPT_PARSER_ITCP_STATE_CHANNEL0) & M_OPT_PARSER_ITCP_STATE_CHANNEL0)
27325 #define S_OPT_PARSER_OTK_STATE_CHANNEL0 24
27326 #define M_OPT_PARSER_OTK_STATE_CHANNEL0 0x3U
27327 #define V_OPT_PARSER_OTK_STATE_CHANNEL0(x) ((x) << S_OPT_PARSER_OTK_STATE_CHANNEL0)
27328 #define G_OPT_PARSER_OTK_STATE_CHANNEL0(x) (((x) >> S_OPT_PARSER_OTK_STATE_CHANNEL0) & M_OPT_PARSER_OTK_STATE_CHANNEL0)
27330 #define S_OPT_PARSER_FATAL_CHANNEL1 21
27331 #define V_OPT_PARSER_FATAL_CHANNEL1(x) ((x) << S_OPT_PARSER_FATAL_CHANNEL1)
27332 #define F_OPT_PARSER_FATAL_CHANNEL1 V_OPT_PARSER_FATAL_CHANNEL1(1U)
27334 #define S_OPT_PARSER_BUSY_CHANNEL1 20
27335 #define V_OPT_PARSER_BUSY_CHANNEL1(x) ((x) << S_OPT_PARSER_BUSY_CHANNEL1)
27336 #define F_OPT_PARSER_BUSY_CHANNEL1 V_OPT_PARSER_BUSY_CHANNEL1(1U)
27338 #define S_OPT_PARSER_ITCP_STATE_CHANNEL1 18
27339 #define M_OPT_PARSER_ITCP_STATE_CHANNEL1 0x3U
27340 #define V_OPT_PARSER_ITCP_STATE_CHANNEL1(x) ((x) << S_OPT_PARSER_ITCP_STATE_CHANNEL1)
27341 #define G_OPT_PARSER_ITCP_STATE_CHANNEL1(x) (((x) >> S_OPT_PARSER_ITCP_STATE_CHANNEL1) & M_OPT_PARSER_ITCP_STATE_CHANNEL1)
27343 #define S_OPT_PARSER_OTK_STATE_CHANNEL1 16
27344 #define M_OPT_PARSER_OTK_STATE_CHANNEL1 0x3U
27345 #define V_OPT_PARSER_OTK_STATE_CHANNEL1(x) ((x) << S_OPT_PARSER_OTK_STATE_CHANNEL1)
27346 #define G_OPT_PARSER_OTK_STATE_CHANNEL1(x) (((x) >> S_OPT_PARSER_OTK_STATE_CHANNEL1) & M_OPT_PARSER_OTK_STATE_CHANNEL1)
27348 #define S_OPT_PARSER_FATAL_CHANNEL2 13
27349 #define V_OPT_PARSER_FATAL_CHANNEL2(x) ((x) << S_OPT_PARSER_FATAL_CHANNEL2)
27350 #define F_OPT_PARSER_FATAL_CHANNEL2 V_OPT_PARSER_FATAL_CHANNEL2(1U)
27352 #define S_OPT_PARSER_BUSY_CHANNEL2 12
27353 #define V_OPT_PARSER_BUSY_CHANNEL2(x) ((x) << S_OPT_PARSER_BUSY_CHANNEL2)
27354 #define F_OPT_PARSER_BUSY_CHANNEL2 V_OPT_PARSER_BUSY_CHANNEL2(1U)
27356 #define S_OPT_PARSER_ITCP_STATE_CHANNEL2 10
27357 #define M_OPT_PARSER_ITCP_STATE_CHANNEL2 0x3U
27358 #define V_OPT_PARSER_ITCP_STATE_CHANNEL2(x) ((x) << S_OPT_PARSER_ITCP_STATE_CHANNEL2)
27359 #define G_OPT_PARSER_ITCP_STATE_CHANNEL2(x) (((x) >> S_OPT_PARSER_ITCP_STATE_CHANNEL2) & M_OPT_PARSER_ITCP_STATE_CHANNEL2)
27361 #define S_OPT_PARSER_OTK_STATE_CHANNEL2 8
27362 #define M_OPT_PARSER_OTK_STATE_CHANNEL2 0x3U
27363 #define V_OPT_PARSER_OTK_STATE_CHANNEL2(x) ((x) << S_OPT_PARSER_OTK_STATE_CHANNEL2)
27364 #define G_OPT_PARSER_OTK_STATE_CHANNEL2(x) (((x) >> S_OPT_PARSER_OTK_STATE_CHANNEL2) & M_OPT_PARSER_OTK_STATE_CHANNEL2)
27366 #define S_OPT_PARSER_FATAL_CHANNEL3 5
27367 #define V_OPT_PARSER_FATAL_CHANNEL3(x) ((x) << S_OPT_PARSER_FATAL_CHANNEL3)
27368 #define F_OPT_PARSER_FATAL_CHANNEL3 V_OPT_PARSER_FATAL_CHANNEL3(1U)
27370 #define S_OPT_PARSER_BUSY_CHANNEL3 4
27371 #define V_OPT_PARSER_BUSY_CHANNEL3(x) ((x) << S_OPT_PARSER_BUSY_CHANNEL3)
27372 #define F_OPT_PARSER_BUSY_CHANNEL3 V_OPT_PARSER_BUSY_CHANNEL3(1U)
27374 #define S_OPT_PARSER_ITCP_STATE_CHANNEL3 2
27375 #define M_OPT_PARSER_ITCP_STATE_CHANNEL3 0x3U
27376 #define V_OPT_PARSER_ITCP_STATE_CHANNEL3(x) ((x) << S_OPT_PARSER_ITCP_STATE_CHANNEL3)
27377 #define G_OPT_PARSER_ITCP_STATE_CHANNEL3(x) (((x) >> S_OPT_PARSER_ITCP_STATE_CHANNEL3) & M_OPT_PARSER_ITCP_STATE_CHANNEL3)
27379 #define S_OPT_PARSER_OTK_STATE_CHANNEL3 0
27380 #define M_OPT_PARSER_OTK_STATE_CHANNEL3 0x3U
27381 #define V_OPT_PARSER_OTK_STATE_CHANNEL3(x) ((x) << S_OPT_PARSER_OTK_STATE_CHANNEL3)
27382 #define G_OPT_PARSER_OTK_STATE_CHANNEL3(x) (((x) >> S_OPT_PARSER_OTK_STATE_CHANNEL3) & M_OPT_PARSER_OTK_STATE_CHANNEL3)
27384 #define A_TP_DBG_ESIDE_OP_ALT 0x155
27386 #define S_OPT_PARSER_PSTATE_FATAL_CHANNEL0 29
27387 #define V_OPT_PARSER_PSTATE_FATAL_CHANNEL0(x) ((x) << S_OPT_PARSER_PSTATE_FATAL_CHANNEL0)
27388 #define F_OPT_PARSER_PSTATE_FATAL_CHANNEL0 V_OPT_PARSER_PSTATE_FATAL_CHANNEL0(1U)
27390 #define S_OPT_PARSER_PSTATE_ERRNO_CHANNEL0 24
27391 #define M_OPT_PARSER_PSTATE_ERRNO_CHANNEL0 0x1fU
27392 #define V_OPT_PARSER_PSTATE_ERRNO_CHANNEL0(x) ((x) << S_OPT_PARSER_PSTATE_ERRNO_CHANNEL0)
27393 #define G_OPT_PARSER_PSTATE_ERRNO_CHANNEL0(x) (((x) >> S_OPT_PARSER_PSTATE_ERRNO_CHANNEL0) & M_OPT_PARSER_PSTATE_ERRNO_CHANNEL0)
27395 #define S_OPT_PARSER_PSTATE_FATAL_CHANNEL1 21
27396 #define V_OPT_PARSER_PSTATE_FATAL_CHANNEL1(x) ((x) << S_OPT_PARSER_PSTATE_FATAL_CHANNEL1)
27397 #define F_OPT_PARSER_PSTATE_FATAL_CHANNEL1 V_OPT_PARSER_PSTATE_FATAL_CHANNEL1(1U)
27399 #define S_OPT_PARSER_PSTATE_ERRNO_CHANNEL1 16
27400 #define M_OPT_PARSER_PSTATE_ERRNO_CHANNEL1 0x1fU
27401 #define V_OPT_PARSER_PSTATE_ERRNO_CHANNEL1(x) ((x) << S_OPT_PARSER_PSTATE_ERRNO_CHANNEL1)
27402 #define G_OPT_PARSER_PSTATE_ERRNO_CHANNEL1(x) (((x) >> S_OPT_PARSER_PSTATE_ERRNO_CHANNEL1) & M_OPT_PARSER_PSTATE_ERRNO_CHANNEL1)
27404 #define S_OPT_PARSER_PSTATE_FATAL_CHANNEL2 13
27405 #define V_OPT_PARSER_PSTATE_FATAL_CHANNEL2(x) ((x) << S_OPT_PARSER_PSTATE_FATAL_CHANNEL2)
27406 #define F_OPT_PARSER_PSTATE_FATAL_CHANNEL2 V_OPT_PARSER_PSTATE_FATAL_CHANNEL2(1U)
27408 #define S_OPT_PARSER_PSTATE_ERRNO_CHANNEL2 8
27409 #define M_OPT_PARSER_PSTATE_ERRNO_CHANNEL2 0x1fU
27410 #define V_OPT_PARSER_PSTATE_ERRNO_CHANNEL2(x) ((x) << S_OPT_PARSER_PSTATE_ERRNO_CHANNEL2)
27411 #define G_OPT_PARSER_PSTATE_ERRNO_CHANNEL2(x) (((x) >> S_OPT_PARSER_PSTATE_ERRNO_CHANNEL2) & M_OPT_PARSER_PSTATE_ERRNO_CHANNEL2)
27413 #define S_OPT_PARSER_PSTATE_FATAL_CHANNEL3 5
27414 #define V_OPT_PARSER_PSTATE_FATAL_CHANNEL3(x) ((x) << S_OPT_PARSER_PSTATE_FATAL_CHANNEL3)
27415 #define F_OPT_PARSER_PSTATE_FATAL_CHANNEL3 V_OPT_PARSER_PSTATE_FATAL_CHANNEL3(1U)
27417 #define S_OPT_PARSER_PSTATE_ERRNO_CHANNEL3 0
27418 #define M_OPT_PARSER_PSTATE_ERRNO_CHANNEL3 0x1fU
27419 #define V_OPT_PARSER_PSTATE_ERRNO_CHANNEL3(x) ((x) << S_OPT_PARSER_PSTATE_ERRNO_CHANNEL3)
27420 #define G_OPT_PARSER_PSTATE_ERRNO_CHANNEL3(x) (((x) >> S_OPT_PARSER_PSTATE_ERRNO_CHANNEL3) & M_OPT_PARSER_PSTATE_ERRNO_CHANNEL3)
27422 #define A_TP_DBG_ESIDE_OP_BUSY 0x156
27424 #define S_OPT_PARSER_BUSY_VEC_CHANNEL3 24
27425 #define M_OPT_PARSER_BUSY_VEC_CHANNEL3 0xffU
27426 #define V_OPT_PARSER_BUSY_VEC_CHANNEL3(x) ((x) << S_OPT_PARSER_BUSY_VEC_CHANNEL3)
27427 #define G_OPT_PARSER_BUSY_VEC_CHANNEL3(x) (((x) >> S_OPT_PARSER_BUSY_VEC_CHANNEL3) & M_OPT_PARSER_BUSY_VEC_CHANNEL3)
27429 #define S_OPT_PARSER_BUSY_VEC_CHANNEL2 16
27430 #define M_OPT_PARSER_BUSY_VEC_CHANNEL2 0xffU
27431 #define V_OPT_PARSER_BUSY_VEC_CHANNEL2(x) ((x) << S_OPT_PARSER_BUSY_VEC_CHANNEL2)
27432 #define G_OPT_PARSER_BUSY_VEC_CHANNEL2(x) (((x) >> S_OPT_PARSER_BUSY_VEC_CHANNEL2) & M_OPT_PARSER_BUSY_VEC_CHANNEL2)
27434 #define S_OPT_PARSER_BUSY_VEC_CHANNEL1 8
27435 #define M_OPT_PARSER_BUSY_VEC_CHANNEL1 0xffU
27436 #define V_OPT_PARSER_BUSY_VEC_CHANNEL1(x) ((x) << S_OPT_PARSER_BUSY_VEC_CHANNEL1)
27437 #define G_OPT_PARSER_BUSY_VEC_CHANNEL1(x) (((x) >> S_OPT_PARSER_BUSY_VEC_CHANNEL1) & M_OPT_PARSER_BUSY_VEC_CHANNEL1)
27439 #define S_OPT_PARSER_BUSY_VEC_CHANNEL0 0
27440 #define M_OPT_PARSER_BUSY_VEC_CHANNEL0 0xffU
27441 #define V_OPT_PARSER_BUSY_VEC_CHANNEL0(x) ((x) << S_OPT_PARSER_BUSY_VEC_CHANNEL0)
27442 #define G_OPT_PARSER_BUSY_VEC_CHANNEL0(x) (((x) >> S_OPT_PARSER_BUSY_VEC_CHANNEL0) & M_OPT_PARSER_BUSY_VEC_CHANNEL0)
27444 #define A_TP_DBG_ESIDE_OP_COOKIE 0x157
27446 #define S_OPT_PARSER_COOKIE_CHANNEL3 24
27447 #define M_OPT_PARSER_COOKIE_CHANNEL3 0xffU
27448 #define V_OPT_PARSER_COOKIE_CHANNEL3(x) ((x) << S_OPT_PARSER_COOKIE_CHANNEL3)
27449 #define G_OPT_PARSER_COOKIE_CHANNEL3(x) (((x) >> S_OPT_PARSER_COOKIE_CHANNEL3) & M_OPT_PARSER_COOKIE_CHANNEL3)
27451 #define S_OPT_PARSER_COOKIE_CHANNEL2 16
27452 #define M_OPT_PARSER_COOKIE_CHANNEL2 0xffU
27453 #define V_OPT_PARSER_COOKIE_CHANNEL2(x) ((x) << S_OPT_PARSER_COOKIE_CHANNEL2)
27454 #define G_OPT_PARSER_COOKIE_CHANNEL2(x) (((x) >> S_OPT_PARSER_COOKIE_CHANNEL2) & M_OPT_PARSER_COOKIE_CHANNEL2)
27456 #define S_OPT_PARSER_COOKIE_CHANNEL1 8
27457 #define M_OPT_PARSER_COOKIE_CHANNEL1 0xffU
27458 #define V_OPT_PARSER_COOKIE_CHANNEL1(x) ((x) << S_OPT_PARSER_COOKIE_CHANNEL1)
27459 #define G_OPT_PARSER_COOKIE_CHANNEL1(x) (((x) >> S_OPT_PARSER_COOKIE_CHANNEL1) & M_OPT_PARSER_COOKIE_CHANNEL1)
27461 #define S_OPT_PARSER_COOKIE_CHANNEL0 0
27462 #define M_OPT_PARSER_COOKIE_CHANNEL0 0xffU
27463 #define V_OPT_PARSER_COOKIE_CHANNEL0(x) ((x) << S_OPT_PARSER_COOKIE_CHANNEL0)
27464 #define G_OPT_PARSER_COOKIE_CHANNEL0(x) (((x) >> S_OPT_PARSER_COOKIE_CHANNEL0) & M_OPT_PARSER_COOKIE_CHANNEL0)
27466 #define A_TP_DBG_ESIDE_DEMUX_WAIT0 0x158
27467 #define A_TP_DBG_ESIDE_DEMUX_WAIT1 0x159
27468 #define A_TP_DBG_ESIDE_DEMUX_CNT0 0x15a
27469 #define A_TP_DBG_ESIDE_DEMUX_CNT1 0x15b
27470 #define A_TP_ESIDE_CONFIG 0x160
27472 #define S_VNI_EN 26
27473 #define V_VNI_EN(x) ((x) << S_VNI_EN)
27474 #define F_VNI_EN V_VNI_EN(1U)
27476 #define S_ENC_RX_EN 25
27477 #define V_ENC_RX_EN(x) ((x) << S_ENC_RX_EN)
27478 #define F_ENC_RX_EN V_ENC_RX_EN(1U)
27480 #define S_TNL_LKP_INNER_SEL 24
27481 #define V_TNL_LKP_INNER_SEL(x) ((x) << S_TNL_LKP_INNER_SEL)
27482 #define F_TNL_LKP_INNER_SEL V_TNL_LKP_INNER_SEL(1U)
27484 #define S_ROCEV2UDPPORT 0
27485 #define M_ROCEV2UDPPORT 0xffffU
27486 #define V_ROCEV2UDPPORT(x) ((x) << S_ROCEV2UDPPORT)
27487 #define G_ROCEV2UDPPORT(x) (((x) >> S_ROCEV2UDPPORT) & M_ROCEV2UDPPORT)
27489 #define A_TP_DBG_CSIDE_RX0 0x230
27491 #define S_CRXSOPCNT 28
27492 #define M_CRXSOPCNT 0xfU
27493 #define V_CRXSOPCNT(x) ((x) << S_CRXSOPCNT)
27494 #define G_CRXSOPCNT(x) (((x) >> S_CRXSOPCNT) & M_CRXSOPCNT)
27496 #define S_CRXEOPCNT 24
27497 #define M_CRXEOPCNT 0xfU
27498 #define V_CRXEOPCNT(x) ((x) << S_CRXEOPCNT)
27499 #define G_CRXEOPCNT(x) (((x) >> S_CRXEOPCNT) & M_CRXEOPCNT)
27501 #define S_CRXPLDSOPCNT 20
27502 #define M_CRXPLDSOPCNT 0xfU
27503 #define V_CRXPLDSOPCNT(x) ((x) << S_CRXPLDSOPCNT)
27504 #define G_CRXPLDSOPCNT(x) (((x) >> S_CRXPLDSOPCNT) & M_CRXPLDSOPCNT)
27506 #define S_CRXPLDEOPCNT 16
27507 #define M_CRXPLDEOPCNT 0xfU
27508 #define V_CRXPLDEOPCNT(x) ((x) << S_CRXPLDEOPCNT)
27509 #define G_CRXPLDEOPCNT(x) (((x) >> S_CRXPLDEOPCNT) & M_CRXPLDEOPCNT)
27511 #define S_CRXARBSOPCNT 12
27512 #define M_CRXARBSOPCNT 0xfU
27513 #define V_CRXARBSOPCNT(x) ((x) << S_CRXARBSOPCNT)
27514 #define G_CRXARBSOPCNT(x) (((x) >> S_CRXARBSOPCNT) & M_CRXARBSOPCNT)
27516 #define S_CRXARBEOPCNT 8
27517 #define M_CRXARBEOPCNT 0xfU
27518 #define V_CRXARBEOPCNT(x) ((x) << S_CRXARBEOPCNT)
27519 #define G_CRXARBEOPCNT(x) (((x) >> S_CRXARBEOPCNT) & M_CRXARBEOPCNT)
27521 #define S_CRXCPLSOPCNT 4
27522 #define M_CRXCPLSOPCNT 0xfU
27523 #define V_CRXCPLSOPCNT(x) ((x) << S_CRXCPLSOPCNT)
27524 #define G_CRXCPLSOPCNT(x) (((x) >> S_CRXCPLSOPCNT) & M_CRXCPLSOPCNT)
27526 #define S_CRXCPLEOPCNT 0
27527 #define M_CRXCPLEOPCNT 0xfU
27528 #define V_CRXCPLEOPCNT(x) ((x) << S_CRXCPLEOPCNT)
27529 #define G_CRXCPLEOPCNT(x) (((x) >> S_CRXCPLEOPCNT) & M_CRXCPLEOPCNT)
27531 #define A_TP_DBG_CSIDE_RX1 0x231
27532 #define A_TP_DBG_CSIDE_RX2 0x232
27533 #define A_TP_DBG_CSIDE_RX3 0x233
27534 #define A_TP_DBG_CSIDE_TX0 0x234
27536 #define S_TXSOPCNT 28
27537 #define M_TXSOPCNT 0xfU
27538 #define V_TXSOPCNT(x) ((x) << S_TXSOPCNT)
27539 #define G_TXSOPCNT(x) (((x) >> S_TXSOPCNT) & M_TXSOPCNT)
27541 #define S_TXEOPCNT 24
27542 #define M_TXEOPCNT 0xfU
27543 #define V_TXEOPCNT(x) ((x) << S_TXEOPCNT)
27544 #define G_TXEOPCNT(x) (((x) >> S_TXEOPCNT) & M_TXEOPCNT)
27546 #define S_TXPLDSOPCNT 20
27547 #define M_TXPLDSOPCNT 0xfU
27548 #define V_TXPLDSOPCNT(x) ((x) << S_TXPLDSOPCNT)
27549 #define G_TXPLDSOPCNT(x) (((x) >> S_TXPLDSOPCNT) & M_TXPLDSOPCNT)
27551 #define S_TXPLDEOPCNT 16
27552 #define M_TXPLDEOPCNT 0xfU
27553 #define V_TXPLDEOPCNT(x) ((x) << S_TXPLDEOPCNT)
27554 #define G_TXPLDEOPCNT(x) (((x) >> S_TXPLDEOPCNT) & M_TXPLDEOPCNT)
27556 #define S_TXARBSOPCNT 12
27557 #define M_TXARBSOPCNT 0xfU
27558 #define V_TXARBSOPCNT(x) ((x) << S_TXARBSOPCNT)
27559 #define G_TXARBSOPCNT(x) (((x) >> S_TXARBSOPCNT) & M_TXARBSOPCNT)
27561 #define S_TXARBEOPCNT 8
27562 #define M_TXARBEOPCNT 0xfU
27563 #define V_TXARBEOPCNT(x) ((x) << S_TXARBEOPCNT)
27564 #define G_TXARBEOPCNT(x) (((x) >> S_TXARBEOPCNT) & M_TXARBEOPCNT)
27566 #define S_TXCPLSOPCNT 4
27567 #define M_TXCPLSOPCNT 0xfU
27568 #define V_TXCPLSOPCNT(x) ((x) << S_TXCPLSOPCNT)
27569 #define G_TXCPLSOPCNT(x) (((x) >> S_TXCPLSOPCNT) & M_TXCPLSOPCNT)
27571 #define S_TXCPLEOPCNT 0
27572 #define M_TXCPLEOPCNT 0xfU
27573 #define V_TXCPLEOPCNT(x) ((x) << S_TXCPLEOPCNT)
27574 #define G_TXCPLEOPCNT(x) (((x) >> S_TXCPLEOPCNT) & M_TXCPLEOPCNT)
27576 #define A_TP_DBG_CSIDE_TX1 0x235
27577 #define A_TP_DBG_CSIDE_TX2 0x236
27578 #define A_TP_DBG_CSIDE_TX3 0x237
27579 #define A_TP_DBG_CSIDE_FIFO0 0x238
27581 #define S_PLD_RXZEROP_SRDY1 31
27582 #define V_PLD_RXZEROP_SRDY1(x) ((x) << S_PLD_RXZEROP_SRDY1)
27583 #define F_PLD_RXZEROP_SRDY1 V_PLD_RXZEROP_SRDY1(1U)
27585 #define S_PLD_RXZEROP_DRDY1 30
27586 #define V_PLD_RXZEROP_DRDY1(x) ((x) << S_PLD_RXZEROP_DRDY1)
27587 #define F_PLD_RXZEROP_DRDY1 V_PLD_RXZEROP_DRDY1(1U)
27589 #define S_PLD_TXZEROP_SRDY1 29
27590 #define V_PLD_TXZEROP_SRDY1(x) ((x) << S_PLD_TXZEROP_SRDY1)
27591 #define F_PLD_TXZEROP_SRDY1 V_PLD_TXZEROP_SRDY1(1U)
27593 #define S_PLD_TXZEROP_DRDY1 28
27594 #define V_PLD_TXZEROP_DRDY1(x) ((x) << S_PLD_TXZEROP_DRDY1)
27595 #define F_PLD_TXZEROP_DRDY1 V_PLD_TXZEROP_DRDY1(1U)
27597 #define S_PLD_TX_SRDY1 27
27598 #define V_PLD_TX_SRDY1(x) ((x) << S_PLD_TX_SRDY1)
27599 #define F_PLD_TX_SRDY1 V_PLD_TX_SRDY1(1U)
27601 #define S_PLD_TX_DRDY1 26
27602 #define V_PLD_TX_DRDY1(x) ((x) << S_PLD_TX_DRDY1)
27603 #define F_PLD_TX_DRDY1 V_PLD_TX_DRDY1(1U)
27605 #define S_ERROR_SRDY1 25
27606 #define V_ERROR_SRDY1(x) ((x) << S_ERROR_SRDY1)
27607 #define F_ERROR_SRDY1 V_ERROR_SRDY1(1U)
27609 #define S_ERROR_DRDY1 24
27610 #define V_ERROR_DRDY1(x) ((x) << S_ERROR_DRDY1)
27611 #define F_ERROR_DRDY1 V_ERROR_DRDY1(1U)
27613 #define S_DB_VLD1 23
27614 #define V_DB_VLD1(x) ((x) << S_DB_VLD1)
27615 #define F_DB_VLD1 V_DB_VLD1(1U)
27617 #define S_DB_GT1 22
27618 #define V_DB_GT1(x) ((x) << S_DB_GT1)
27619 #define F_DB_GT1 V_DB_GT1(1U)
27621 #define S_TXVALID1 21
27622 #define V_TXVALID1(x) ((x) << S_TXVALID1)
27623 #define F_TXVALID1 V_TXVALID1(1U)
27625 #define S_TXFULL1 20
27626 #define V_TXFULL1(x) ((x) << S_TXFULL1)
27627 #define F_TXFULL1 V_TXFULL1(1U)
27629 #define S_PLD_TXVALID1 19
27630 #define V_PLD_TXVALID1(x) ((x) << S_PLD_TXVALID1)
27631 #define F_PLD_TXVALID1 V_PLD_TXVALID1(1U)
27633 #define S_PLD_TXFULL1 18
27634 #define V_PLD_TXFULL1(x) ((x) << S_PLD_TXFULL1)
27635 #define F_PLD_TXFULL1 V_PLD_TXFULL1(1U)
27637 #define S_CPL5_TXVALID1 17
27638 #define V_CPL5_TXVALID1(x) ((x) << S_CPL5_TXVALID1)
27639 #define F_CPL5_TXVALID1 V_CPL5_TXVALID1(1U)
27641 #define S_CPL5_TXFULL1 16
27642 #define V_CPL5_TXFULL1(x) ((x) << S_CPL5_TXFULL1)
27643 #define F_CPL5_TXFULL1 V_CPL5_TXFULL1(1U)
27645 #define S_PLD_RXZEROP_SRDY0 15
27646 #define V_PLD_RXZEROP_SRDY0(x) ((x) << S_PLD_RXZEROP_SRDY0)
27647 #define F_PLD_RXZEROP_SRDY0 V_PLD_RXZEROP_SRDY0(1U)
27649 #define S_PLD_RXZEROP_DRDY0 14
27650 #define V_PLD_RXZEROP_DRDY0(x) ((x) << S_PLD_RXZEROP_DRDY0)
27651 #define F_PLD_RXZEROP_DRDY0 V_PLD_RXZEROP_DRDY0(1U)
27653 #define S_PLD_TXZEROP_SRDY0 13
27654 #define V_PLD_TXZEROP_SRDY0(x) ((x) << S_PLD_TXZEROP_SRDY0)
27655 #define F_PLD_TXZEROP_SRDY0 V_PLD_TXZEROP_SRDY0(1U)
27657 #define S_PLD_TXZEROP_DRDY0 12
27658 #define V_PLD_TXZEROP_DRDY0(x) ((x) << S_PLD_TXZEROP_DRDY0)
27659 #define F_PLD_TXZEROP_DRDY0 V_PLD_TXZEROP_DRDY0(1U)
27661 #define S_PLD_TX_SRDY0 11
27662 #define V_PLD_TX_SRDY0(x) ((x) << S_PLD_TX_SRDY0)
27663 #define F_PLD_TX_SRDY0 V_PLD_TX_SRDY0(1U)
27665 #define S_PLD_TX_DRDY0 10
27666 #define V_PLD_TX_DRDY0(x) ((x) << S_PLD_TX_DRDY0)
27667 #define F_PLD_TX_DRDY0 V_PLD_TX_DRDY0(1U)
27669 #define S_ERROR_SRDY0 9
27670 #define V_ERROR_SRDY0(x) ((x) << S_ERROR_SRDY0)
27671 #define F_ERROR_SRDY0 V_ERROR_SRDY0(1U)
27673 #define S_ERROR_DRDY0 8
27674 #define V_ERROR_DRDY0(x) ((x) << S_ERROR_DRDY0)
27675 #define F_ERROR_DRDY0 V_ERROR_DRDY0(1U)
27677 #define S_DB_VLD0 7
27678 #define V_DB_VLD0(x) ((x) << S_DB_VLD0)
27679 #define F_DB_VLD0 V_DB_VLD0(1U)
27682 #define V_DB_GT0(x) ((x) << S_DB_GT0)
27683 #define F_DB_GT0 V_DB_GT0(1U)
27685 #define S_TXVALID0 5
27686 #define V_TXVALID0(x) ((x) << S_TXVALID0)
27687 #define F_TXVALID0 V_TXVALID0(1U)
27689 #define S_TXFULL0 4
27690 #define V_TXFULL0(x) ((x) << S_TXFULL0)
27691 #define F_TXFULL0 V_TXFULL0(1U)
27693 #define S_PLD_TXVALID0 3
27694 #define V_PLD_TXVALID0(x) ((x) << S_PLD_TXVALID0)
27695 #define F_PLD_TXVALID0 V_PLD_TXVALID0(1U)
27697 #define S_PLD_TXFULL0 2
27698 #define V_PLD_TXFULL0(x) ((x) << S_PLD_TXFULL0)
27699 #define F_PLD_TXFULL0 V_PLD_TXFULL0(1U)
27701 #define S_CPL5_TXVALID0 1
27702 #define V_CPL5_TXVALID0(x) ((x) << S_CPL5_TXVALID0)
27703 #define F_CPL5_TXVALID0 V_CPL5_TXVALID0(1U)
27705 #define S_CPL5_TXFULL0 0
27706 #define V_CPL5_TXFULL0(x) ((x) << S_CPL5_TXFULL0)
27707 #define F_CPL5_TXFULL0 V_CPL5_TXFULL0(1U)
27709 #define A_TP_DBG_CSIDE_FIFO1 0x239
27711 #define S_PLD_RXZEROP_SRDY3 31
27712 #define V_PLD_RXZEROP_SRDY3(x) ((x) << S_PLD_RXZEROP_SRDY3)
27713 #define F_PLD_RXZEROP_SRDY3 V_PLD_RXZEROP_SRDY3(1U)
27715 #define S_PLD_RXZEROP_DRDY3 30
27716 #define V_PLD_RXZEROP_DRDY3(x) ((x) << S_PLD_RXZEROP_DRDY3)
27717 #define F_PLD_RXZEROP_DRDY3 V_PLD_RXZEROP_DRDY3(1U)
27719 #define S_PLD_TXZEROP_SRDY3 29
27720 #define V_PLD_TXZEROP_SRDY3(x) ((x) << S_PLD_TXZEROP_SRDY3)
27721 #define F_PLD_TXZEROP_SRDY3 V_PLD_TXZEROP_SRDY3(1U)
27723 #define S_PLD_TXZEROP_DRDY3 28
27724 #define V_PLD_TXZEROP_DRDY3(x) ((x) << S_PLD_TXZEROP_DRDY3)
27725 #define F_PLD_TXZEROP_DRDY3 V_PLD_TXZEROP_DRDY3(1U)
27727 #define S_PLD_TX_SRDY3 27
27728 #define V_PLD_TX_SRDY3(x) ((x) << S_PLD_TX_SRDY3)
27729 #define F_PLD_TX_SRDY3 V_PLD_TX_SRDY3(1U)
27731 #define S_PLD_TX_DRDY3 26
27732 #define V_PLD_TX_DRDY3(x) ((x) << S_PLD_TX_DRDY3)
27733 #define F_PLD_TX_DRDY3 V_PLD_TX_DRDY3(1U)
27735 #define S_ERROR_SRDY3 25
27736 #define V_ERROR_SRDY3(x) ((x) << S_ERROR_SRDY3)
27737 #define F_ERROR_SRDY3 V_ERROR_SRDY3(1U)
27739 #define S_ERROR_DRDY3 24
27740 #define V_ERROR_DRDY3(x) ((x) << S_ERROR_DRDY3)
27741 #define F_ERROR_DRDY3 V_ERROR_DRDY3(1U)
27743 #define S_DB_VLD3 23
27744 #define V_DB_VLD3(x) ((x) << S_DB_VLD3)
27745 #define F_DB_VLD3 V_DB_VLD3(1U)
27747 #define S_DB_GT3 22
27748 #define V_DB_GT3(x) ((x) << S_DB_GT3)
27749 #define F_DB_GT3 V_DB_GT3(1U)
27751 #define S_TXVALID3 21
27752 #define V_TXVALID3(x) ((x) << S_TXVALID3)
27753 #define F_TXVALID3 V_TXVALID3(1U)
27755 #define S_TXFULL3 20
27756 #define V_TXFULL3(x) ((x) << S_TXFULL3)
27757 #define F_TXFULL3 V_TXFULL3(1U)
27759 #define S_PLD_TXVALID3 19
27760 #define V_PLD_TXVALID3(x) ((x) << S_PLD_TXVALID3)
27761 #define F_PLD_TXVALID3 V_PLD_TXVALID3(1U)
27763 #define S_PLD_TXFULL3 18
27764 #define V_PLD_TXFULL3(x) ((x) << S_PLD_TXFULL3)
27765 #define F_PLD_TXFULL3 V_PLD_TXFULL3(1U)
27767 #define S_CPL5_TXVALID3 17
27768 #define V_CPL5_TXVALID3(x) ((x) << S_CPL5_TXVALID3)
27769 #define F_CPL5_TXVALID3 V_CPL5_TXVALID3(1U)
27771 #define S_CPL5_TXFULL3 16
27772 #define V_CPL5_TXFULL3(x) ((x) << S_CPL5_TXFULL3)
27773 #define F_CPL5_TXFULL3 V_CPL5_TXFULL3(1U)
27775 #define S_PLD_RXZEROP_SRDY2 15
27776 #define V_PLD_RXZEROP_SRDY2(x) ((x) << S_PLD_RXZEROP_SRDY2)
27777 #define F_PLD_RXZEROP_SRDY2 V_PLD_RXZEROP_SRDY2(1U)
27779 #define S_PLD_RXZEROP_DRDY2 14
27780 #define V_PLD_RXZEROP_DRDY2(x) ((x) << S_PLD_RXZEROP_DRDY2)
27781 #define F_PLD_RXZEROP_DRDY2 V_PLD_RXZEROP_DRDY2(1U)
27783 #define S_PLD_TXZEROP_SRDY2 13
27784 #define V_PLD_TXZEROP_SRDY2(x) ((x) << S_PLD_TXZEROP_SRDY2)
27785 #define F_PLD_TXZEROP_SRDY2 V_PLD_TXZEROP_SRDY2(1U)
27787 #define S_PLD_TXZEROP_DRDY2 12
27788 #define V_PLD_TXZEROP_DRDY2(x) ((x) << S_PLD_TXZEROP_DRDY2)
27789 #define F_PLD_TXZEROP_DRDY2 V_PLD_TXZEROP_DRDY2(1U)
27791 #define S_PLD_TX_SRDY2 11
27792 #define V_PLD_TX_SRDY2(x) ((x) << S_PLD_TX_SRDY2)
27793 #define F_PLD_TX_SRDY2 V_PLD_TX_SRDY2(1U)
27795 #define S_PLD_TX_DRDY2 10
27796 #define V_PLD_TX_DRDY2(x) ((x) << S_PLD_TX_DRDY2)
27797 #define F_PLD_TX_DRDY2 V_PLD_TX_DRDY2(1U)
27799 #define S_ERROR_SRDY2 9
27800 #define V_ERROR_SRDY2(x) ((x) << S_ERROR_SRDY2)
27801 #define F_ERROR_SRDY2 V_ERROR_SRDY2(1U)
27803 #define S_ERROR_DRDY2 8
27804 #define V_ERROR_DRDY2(x) ((x) << S_ERROR_DRDY2)
27805 #define F_ERROR_DRDY2 V_ERROR_DRDY2(1U)
27807 #define S_DB_VLD2 7
27808 #define V_DB_VLD2(x) ((x) << S_DB_VLD2)
27809 #define F_DB_VLD2 V_DB_VLD2(1U)
27812 #define V_DB_GT2(x) ((x) << S_DB_GT2)
27813 #define F_DB_GT2 V_DB_GT2(1U)
27815 #define S_TXVALID2 5
27816 #define V_TXVALID2(x) ((x) << S_TXVALID2)
27817 #define F_TXVALID2 V_TXVALID2(1U)
27819 #define S_TXFULL2 4
27820 #define V_TXFULL2(x) ((x) << S_TXFULL2)
27821 #define F_TXFULL2 V_TXFULL2(1U)
27823 #define S_PLD_TXVALID2 3
27824 #define V_PLD_TXVALID2(x) ((x) << S_PLD_TXVALID2)
27825 #define F_PLD_TXVALID2 V_PLD_TXVALID2(1U)
27827 #define S_PLD_TXFULL2 2
27828 #define V_PLD_TXFULL2(x) ((x) << S_PLD_TXFULL2)
27829 #define F_PLD_TXFULL2 V_PLD_TXFULL2(1U)
27831 #define S_CPL5_TXVALID2 1
27832 #define V_CPL5_TXVALID2(x) ((x) << S_CPL5_TXVALID2)
27833 #define F_CPL5_TXVALID2 V_CPL5_TXVALID2(1U)
27835 #define S_CPL5_TXFULL2 0
27836 #define V_CPL5_TXFULL2(x) ((x) << S_CPL5_TXFULL2)
27837 #define F_CPL5_TXFULL2 V_CPL5_TXFULL2(1U)
27839 #define A_TP_DBG_CSIDE_DISP0 0x23a
27841 #define S_CPL5RXVALID 27
27842 #define V_CPL5RXVALID(x) ((x) << S_CPL5RXVALID)
27843 #define F_CPL5RXVALID V_CPL5RXVALID(1U)
27845 #define S_CSTATIC1 26
27846 #define V_CSTATIC1(x) ((x) << S_CSTATIC1)
27847 #define F_CSTATIC1 V_CSTATIC1(1U)
27849 #define S_CSTATIC2 25
27850 #define V_CSTATIC2(x) ((x) << S_CSTATIC2)
27851 #define F_CSTATIC2 V_CSTATIC2(1U)
27853 #define S_PLD_RXZEROP 24
27854 #define V_PLD_RXZEROP(x) ((x) << S_PLD_RXZEROP)
27855 #define F_PLD_RXZEROP V_PLD_RXZEROP(1U)
27857 #define S_DDP_IN_PROGRESS 23
27858 #define V_DDP_IN_PROGRESS(x) ((x) << S_DDP_IN_PROGRESS)
27859 #define F_DDP_IN_PROGRESS V_DDP_IN_PROGRESS(1U)
27861 #define S_PLD_RXZEROP_SRDY 22
27862 #define V_PLD_RXZEROP_SRDY(x) ((x) << S_PLD_RXZEROP_SRDY)
27863 #define F_PLD_RXZEROP_SRDY V_PLD_RXZEROP_SRDY(1U)
27865 #define S_CSTATIC3 21
27866 #define V_CSTATIC3(x) ((x) << S_CSTATIC3)
27867 #define F_CSTATIC3 V_CSTATIC3(1U)
27869 #define S_DDP_DRDY 20
27870 #define V_DDP_DRDY(x) ((x) << S_DDP_DRDY)
27871 #define F_DDP_DRDY V_DDP_DRDY(1U)
27873 #define S_DDP_PRE_STATE 17
27874 #define M_DDP_PRE_STATE 0x7U
27875 #define V_DDP_PRE_STATE(x) ((x) << S_DDP_PRE_STATE)
27876 #define G_DDP_PRE_STATE(x) (((x) >> S_DDP_PRE_STATE) & M_DDP_PRE_STATE)
27878 #define S_DDP_SRDY 16
27879 #define V_DDP_SRDY(x) ((x) << S_DDP_SRDY)
27880 #define F_DDP_SRDY V_DDP_SRDY(1U)
27882 #define S_DDP_MSG_CODE 12
27883 #define M_DDP_MSG_CODE 0xfU
27884 #define V_DDP_MSG_CODE(x) ((x) << S_DDP_MSG_CODE)
27885 #define G_DDP_MSG_CODE(x) (((x) >> S_DDP_MSG_CODE) & M_DDP_MSG_CODE)
27887 #define S_CPL5_SOCP_CNT 10
27888 #define M_CPL5_SOCP_CNT 0x3U
27889 #define V_CPL5_SOCP_CNT(x) ((x) << S_CPL5_SOCP_CNT)
27890 #define G_CPL5_SOCP_CNT(x) (((x) >> S_CPL5_SOCP_CNT) & M_CPL5_SOCP_CNT)
27892 #define S_CSTATIC4 4
27893 #define M_CSTATIC4 0x3fU
27894 #define V_CSTATIC4(x) ((x) << S_CSTATIC4)
27895 #define G_CSTATIC4(x) (((x) >> S_CSTATIC4) & M_CSTATIC4)
27897 #define S_CMD_SEL 1
27898 #define V_CMD_SEL(x) ((x) << S_CMD_SEL)
27899 #define F_CMD_SEL V_CMD_SEL(1U)
27901 #define S_T5_TXFULL 31
27902 #define V_T5_TXFULL(x) ((x) << S_T5_TXFULL)
27903 #define F_T5_TXFULL V_T5_TXFULL(1U)
27905 #define S_CPL5RXFULL 26
27906 #define V_CPL5RXFULL(x) ((x) << S_CPL5RXFULL)
27907 #define F_CPL5RXFULL V_CPL5RXFULL(1U)
27909 #define S_T5_PLD_RXZEROP_SRDY 25
27910 #define V_T5_PLD_RXZEROP_SRDY(x) ((x) << S_T5_PLD_RXZEROP_SRDY)
27911 #define F_T5_PLD_RXZEROP_SRDY V_T5_PLD_RXZEROP_SRDY(1U)
27913 #define S_PLD2XRXVALID 23
27914 #define V_PLD2XRXVALID(x) ((x) << S_PLD2XRXVALID)
27915 #define F_PLD2XRXVALID V_PLD2XRXVALID(1U)
27917 #define S_T5_DDP_SRDY 22
27918 #define V_T5_DDP_SRDY(x) ((x) << S_T5_DDP_SRDY)
27919 #define F_T5_DDP_SRDY V_T5_DDP_SRDY(1U)
27921 #define S_T5_DDP_DRDY 21
27922 #define V_T5_DDP_DRDY(x) ((x) << S_T5_DDP_DRDY)
27923 #define F_T5_DDP_DRDY V_T5_DDP_DRDY(1U)
27925 #define S_DDPSTATE 16
27926 #define M_DDPSTATE 0x1fU
27927 #define V_DDPSTATE(x) ((x) << S_DDPSTATE)
27928 #define G_DDPSTATE(x) (((x) >> S_DDPSTATE) & M_DDPSTATE)
27930 #define S_DDPMSGCODE 12
27931 #define M_DDPMSGCODE 0xfU
27932 #define V_DDPMSGCODE(x) ((x) << S_DDPMSGCODE)
27933 #define G_DDPMSGCODE(x) (((x) >> S_DDPMSGCODE) & M_DDPMSGCODE)
27935 #define S_CPL5SOCPCNT 8
27936 #define M_CPL5SOCPCNT 0xfU
27937 #define V_CPL5SOCPCNT(x) ((x) << S_CPL5SOCPCNT)
27938 #define G_CPL5SOCPCNT(x) (((x) >> S_CPL5SOCPCNT) & M_CPL5SOCPCNT)
27940 #define S_PLDRXZEROPCNT 4
27941 #define M_PLDRXZEROPCNT 0xfU
27942 #define V_PLDRXZEROPCNT(x) ((x) << S_PLDRXZEROPCNT)
27943 #define G_PLDRXZEROPCNT(x) (((x) >> S_PLDRXZEROPCNT) & M_PLDRXZEROPCNT)
27945 #define S_TXFRMERR2 3
27946 #define V_TXFRMERR2(x) ((x) << S_TXFRMERR2)
27947 #define F_TXFRMERR2 V_TXFRMERR2(1U)
27949 #define S_TXFRMERR1 2
27950 #define V_TXFRMERR1(x) ((x) << S_TXFRMERR1)
27951 #define F_TXFRMERR1 V_TXFRMERR1(1U)
27953 #define S_TXVALID2X 1
27954 #define V_TXVALID2X(x) ((x) << S_TXVALID2X)
27955 #define F_TXVALID2X V_TXVALID2X(1U)
27957 #define S_TXFULL2X 0
27958 #define V_TXFULL2X(x) ((x) << S_TXFULL2X)
27959 #define F_TXFULL2X V_TXFULL2X(1U)
27961 #define S_T6_TXFULL 31
27962 #define V_T6_TXFULL(x) ((x) << S_T6_TXFULL)
27963 #define F_T6_TXFULL V_T6_TXFULL(1U)
27965 #define S_T6_PLD_RXZEROP_SRDY 25
27966 #define V_T6_PLD_RXZEROP_SRDY(x) ((x) << S_T6_PLD_RXZEROP_SRDY)
27967 #define F_T6_PLD_RXZEROP_SRDY V_T6_PLD_RXZEROP_SRDY(1U)
27969 #define S_T6_DDP_SRDY 22
27970 #define V_T6_DDP_SRDY(x) ((x) << S_T6_DDP_SRDY)
27971 #define F_T6_DDP_SRDY V_T6_DDP_SRDY(1U)
27973 #define S_T6_DDP_DRDY 21
27974 #define V_T6_DDP_DRDY(x) ((x) << S_T6_DDP_DRDY)
27975 #define F_T6_DDP_DRDY V_T6_DDP_DRDY(1U)
27977 #define A_TP_DBG_CSIDE_DISP1 0x23b
27979 #define S_T5_TXFULL 31
27980 #define V_T5_TXFULL(x) ((x) << S_T5_TXFULL)
27981 #define F_T5_TXFULL V_T5_TXFULL(1U)
27983 #define S_T5_PLD_RXZEROP_SRDY 25
27984 #define V_T5_PLD_RXZEROP_SRDY(x) ((x) << S_T5_PLD_RXZEROP_SRDY)
27985 #define F_T5_PLD_RXZEROP_SRDY V_T5_PLD_RXZEROP_SRDY(1U)
27987 #define S_T5_DDP_SRDY 22
27988 #define V_T5_DDP_SRDY(x) ((x) << S_T5_DDP_SRDY)
27989 #define F_T5_DDP_SRDY V_T5_DDP_SRDY(1U)
27991 #define S_T5_DDP_DRDY 21
27992 #define V_T5_DDP_DRDY(x) ((x) << S_T5_DDP_DRDY)
27993 #define F_T5_DDP_DRDY V_T5_DDP_DRDY(1U)
27995 #define S_T6_TXFULL 31
27996 #define V_T6_TXFULL(x) ((x) << S_T6_TXFULL)
27997 #define F_T6_TXFULL V_T6_TXFULL(1U)
27999 #define S_T6_PLD_RXZEROP_SRDY 25
28000 #define V_T6_PLD_RXZEROP_SRDY(x) ((x) << S_T6_PLD_RXZEROP_SRDY)
28001 #define F_T6_PLD_RXZEROP_SRDY V_T6_PLD_RXZEROP_SRDY(1U)
28003 #define S_T6_DDP_SRDY 22
28004 #define V_T6_DDP_SRDY(x) ((x) << S_T6_DDP_SRDY)
28005 #define F_T6_DDP_SRDY V_T6_DDP_SRDY(1U)
28007 #define S_T6_DDP_DRDY 21
28008 #define V_T6_DDP_DRDY(x) ((x) << S_T6_DDP_DRDY)
28009 #define F_T6_DDP_DRDY V_T6_DDP_DRDY(1U)
28011 #define A_TP_DBG_CSIDE_DDP0 0x23c
28013 #define S_DDPMSGLATEST7 28
28014 #define M_DDPMSGLATEST7 0xfU
28015 #define V_DDPMSGLATEST7(x) ((x) << S_DDPMSGLATEST7)
28016 #define G_DDPMSGLATEST7(x) (((x) >> S_DDPMSGLATEST7) & M_DDPMSGLATEST7)
28018 #define S_DDPMSGLATEST6 24
28019 #define M_DDPMSGLATEST6 0xfU
28020 #define V_DDPMSGLATEST6(x) ((x) << S_DDPMSGLATEST6)
28021 #define G_DDPMSGLATEST6(x) (((x) >> S_DDPMSGLATEST6) & M_DDPMSGLATEST6)
28023 #define S_DDPMSGLATEST5 20
28024 #define M_DDPMSGLATEST5 0xfU
28025 #define V_DDPMSGLATEST5(x) ((x) << S_DDPMSGLATEST5)
28026 #define G_DDPMSGLATEST5(x) (((x) >> S_DDPMSGLATEST5) & M_DDPMSGLATEST5)
28028 #define S_DDPMSGLATEST4 16
28029 #define M_DDPMSGLATEST4 0xfU
28030 #define V_DDPMSGLATEST4(x) ((x) << S_DDPMSGLATEST4)
28031 #define G_DDPMSGLATEST4(x) (((x) >> S_DDPMSGLATEST4) & M_DDPMSGLATEST4)
28033 #define S_DDPMSGLATEST3 12
28034 #define M_DDPMSGLATEST3 0xfU
28035 #define V_DDPMSGLATEST3(x) ((x) << S_DDPMSGLATEST3)
28036 #define G_DDPMSGLATEST3(x) (((x) >> S_DDPMSGLATEST3) & M_DDPMSGLATEST3)
28038 #define S_DDPMSGLATEST2 8
28039 #define M_DDPMSGLATEST2 0xfU
28040 #define V_DDPMSGLATEST2(x) ((x) << S_DDPMSGLATEST2)
28041 #define G_DDPMSGLATEST2(x) (((x) >> S_DDPMSGLATEST2) & M_DDPMSGLATEST2)
28043 #define S_DDPMSGLATEST1 4
28044 #define M_DDPMSGLATEST1 0xfU
28045 #define V_DDPMSGLATEST1(x) ((x) << S_DDPMSGLATEST1)
28046 #define G_DDPMSGLATEST1(x) (((x) >> S_DDPMSGLATEST1) & M_DDPMSGLATEST1)
28048 #define S_DDPMSGLATEST0 0
28049 #define M_DDPMSGLATEST0 0xfU
28050 #define V_DDPMSGLATEST0(x) ((x) << S_DDPMSGLATEST0)
28051 #define G_DDPMSGLATEST0(x) (((x) >> S_DDPMSGLATEST0) & M_DDPMSGLATEST0)
28053 #define A_TP_DBG_CSIDE_DDP1 0x23d
28054 #define A_TP_DBG_CSIDE_FRM 0x23e
28056 #define S_CRX2XERROR 28
28057 #define M_CRX2XERROR 0xfU
28058 #define V_CRX2XERROR(x) ((x) << S_CRX2XERROR)
28059 #define G_CRX2XERROR(x) (((x) >> S_CRX2XERROR) & M_CRX2XERROR)
28061 #define S_CPLDTX2XERROR 24
28062 #define M_CPLDTX2XERROR 0xfU
28063 #define V_CPLDTX2XERROR(x) ((x) << S_CPLDTX2XERROR)
28064 #define G_CPLDTX2XERROR(x) (((x) >> S_CPLDTX2XERROR) & M_CPLDTX2XERROR)
28066 #define S_CTXERROR 22
28067 #define M_CTXERROR 0x3U
28068 #define V_CTXERROR(x) ((x) << S_CTXERROR)
28069 #define G_CTXERROR(x) (((x) >> S_CTXERROR) & M_CTXERROR)
28071 #define S_CPLDRXERROR 20
28072 #define M_CPLDRXERROR 0x3U
28073 #define V_CPLDRXERROR(x) ((x) << S_CPLDRXERROR)
28074 #define G_CPLDRXERROR(x) (((x) >> S_CPLDRXERROR) & M_CPLDRXERROR)
28076 #define S_CPLRXERROR 18
28077 #define M_CPLRXERROR 0x3U
28078 #define V_CPLRXERROR(x) ((x) << S_CPLRXERROR)
28079 #define G_CPLRXERROR(x) (((x) >> S_CPLRXERROR) & M_CPLRXERROR)
28081 #define S_CPLTXERROR 16
28082 #define M_CPLTXERROR 0x3U
28083 #define V_CPLTXERROR(x) ((x) << S_CPLTXERROR)
28084 #define G_CPLTXERROR(x) (((x) >> S_CPLTXERROR) & M_CPLTXERROR)
28086 #define S_CPRSERROR 0
28087 #define M_CPRSERROR 0xfU
28088 #define V_CPRSERROR(x) ((x) << S_CPRSERROR)
28089 #define G_CPRSERROR(x) (((x) >> S_CPRSERROR) & M_CPRSERROR)
28091 #define A_TP_DBG_CSIDE_INT 0x23f
28093 #define S_CRXVALID2X 28
28094 #define M_CRXVALID2X 0xfU
28095 #define V_CRXVALID2X(x) ((x) << S_CRXVALID2X)
28096 #define G_CRXVALID2X(x) (((x) >> S_CRXVALID2X) & M_CRXVALID2X)
28098 #define S_CRXAFULL2X 24
28099 #define M_CRXAFULL2X 0xfU
28100 #define V_CRXAFULL2X(x) ((x) << S_CRXAFULL2X)
28101 #define G_CRXAFULL2X(x) (((x) >> S_CRXAFULL2X) & M_CRXAFULL2X)
28103 #define S_CTXVALID2X 22
28104 #define M_CTXVALID2X 0x3U
28105 #define V_CTXVALID2X(x) ((x) << S_CTXVALID2X)
28106 #define G_CTXVALID2X(x) (((x) >> S_CTXVALID2X) & M_CTXVALID2X)
28108 #define S_CTXAFULL2X 20
28109 #define M_CTXAFULL2X 0x3U
28110 #define V_CTXAFULL2X(x) ((x) << S_CTXAFULL2X)
28111 #define G_CTXAFULL2X(x) (((x) >> S_CTXAFULL2X) & M_CTXAFULL2X)
28113 #define S_PLD2X_RXVALID 18
28114 #define M_PLD2X_RXVALID 0x3U
28115 #define V_PLD2X_RXVALID(x) ((x) << S_PLD2X_RXVALID)
28116 #define G_PLD2X_RXVALID(x) (((x) >> S_PLD2X_RXVALID) & M_PLD2X_RXVALID)
28118 #define S_PLD2X_RXAFULL 16
28119 #define M_PLD2X_RXAFULL 0x3U
28120 #define V_PLD2X_RXAFULL(x) ((x) << S_PLD2X_RXAFULL)
28121 #define G_PLD2X_RXAFULL(x) (((x) >> S_PLD2X_RXAFULL) & M_PLD2X_RXAFULL)
28123 #define S_CSIDE_DDP_VALID 14
28124 #define M_CSIDE_DDP_VALID 0x3U
28125 #define V_CSIDE_DDP_VALID(x) ((x) << S_CSIDE_DDP_VALID)
28126 #define G_CSIDE_DDP_VALID(x) (((x) >> S_CSIDE_DDP_VALID) & M_CSIDE_DDP_VALID)
28128 #define S_DDP_AFULL 12
28129 #define M_DDP_AFULL 0x3U
28130 #define V_DDP_AFULL(x) ((x) << S_DDP_AFULL)
28131 #define G_DDP_AFULL(x) (((x) >> S_DDP_AFULL) & M_DDP_AFULL)
28133 #define S_TRC_RXVALID 11
28134 #define V_TRC_RXVALID(x) ((x) << S_TRC_RXVALID)
28135 #define F_TRC_RXVALID V_TRC_RXVALID(1U)
28137 #define S_TRC_RXFULL 10
28138 #define V_TRC_RXFULL(x) ((x) << S_TRC_RXFULL)
28139 #define F_TRC_RXFULL V_TRC_RXFULL(1U)
28141 #define S_CPL5_TXVALID 9
28142 #define V_CPL5_TXVALID(x) ((x) << S_CPL5_TXVALID)
28143 #define F_CPL5_TXVALID V_CPL5_TXVALID(1U)
28145 #define S_CPL5_TXFULL 8
28146 #define V_CPL5_TXFULL(x) ((x) << S_CPL5_TXFULL)
28147 #define F_CPL5_TXFULL V_CPL5_TXFULL(1U)
28149 #define S_PLD2X_TXVALID 4
28150 #define M_PLD2X_TXVALID 0xfU
28151 #define V_PLD2X_TXVALID(x) ((x) << S_PLD2X_TXVALID)
28152 #define G_PLD2X_TXVALID(x) (((x) >> S_PLD2X_TXVALID) & M_PLD2X_TXVALID)
28154 #define S_PLD2X_TXAFULL 0
28155 #define M_PLD2X_TXAFULL 0xfU
28156 #define V_PLD2X_TXAFULL(x) ((x) << S_PLD2X_TXAFULL)
28157 #define G_PLD2X_TXAFULL(x) (((x) >> S_PLD2X_TXAFULL) & M_PLD2X_TXAFULL)
28159 #define A_TP_CHDR_CONFIG 0x240
28161 #define S_CH1HIGH 24
28162 #define M_CH1HIGH 0xffU
28163 #define V_CH1HIGH(x) ((x) << S_CH1HIGH)
28164 #define G_CH1HIGH(x) (((x) >> S_CH1HIGH) & M_CH1HIGH)
28166 #define S_CH1LOW 16
28167 #define M_CH1LOW 0xffU
28168 #define V_CH1LOW(x) ((x) << S_CH1LOW)
28169 #define G_CH1LOW(x) (((x) >> S_CH1LOW) & M_CH1LOW)
28171 #define S_CH0HIGH 8
28172 #define M_CH0HIGH 0xffU
28173 #define V_CH0HIGH(x) ((x) << S_CH0HIGH)
28174 #define G_CH0HIGH(x) (((x) >> S_CH0HIGH) & M_CH0HIGH)
28177 #define M_CH0LOW 0xffU
28178 #define V_CH0LOW(x) ((x) << S_CH0LOW)
28179 #define G_CH0LOW(x) (((x) >> S_CH0LOW) & M_CH0LOW)
28181 #define A_TP_UTRN_CONFIG 0x241
28183 #define S_CH2FIFOLIMIT 16
28184 #define M_CH2FIFOLIMIT 0xffU
28185 #define V_CH2FIFOLIMIT(x) ((x) << S_CH2FIFOLIMIT)
28186 #define G_CH2FIFOLIMIT(x) (((x) >> S_CH2FIFOLIMIT) & M_CH2FIFOLIMIT)
28188 #define S_CH1FIFOLIMIT 8
28189 #define M_CH1FIFOLIMIT 0xffU
28190 #define V_CH1FIFOLIMIT(x) ((x) << S_CH1FIFOLIMIT)
28191 #define G_CH1FIFOLIMIT(x) (((x) >> S_CH1FIFOLIMIT) & M_CH1FIFOLIMIT)
28193 #define S_CH0FIFOLIMIT 0
28194 #define M_CH0FIFOLIMIT 0xffU
28195 #define V_CH0FIFOLIMIT(x) ((x) << S_CH0FIFOLIMIT)
28196 #define G_CH0FIFOLIMIT(x) (((x) >> S_CH0FIFOLIMIT) & M_CH0FIFOLIMIT)
28198 #define A_TP_CDSP_CONFIG 0x242
28200 #define S_WRITEZEROEN 4
28201 #define V_WRITEZEROEN(x) ((x) << S_WRITEZEROEN)
28202 #define F_WRITEZEROEN V_WRITEZEROEN(1U)
28204 #define S_WRITEZEROOP 0
28205 #define M_WRITEZEROOP 0xfU
28206 #define V_WRITEZEROOP(x) ((x) << S_WRITEZEROOP)
28207 #define G_WRITEZEROOP(x) (((x) >> S_WRITEZEROOP) & M_WRITEZEROOP)
28209 #define S_STARTSKIPPLD 7
28210 #define V_STARTSKIPPLD(x) ((x) << S_STARTSKIPPLD)
28211 #define F_STARTSKIPPLD V_STARTSKIPPLD(1U)
28213 #define S_ATOMICCMDEN 5
28214 #define V_ATOMICCMDEN(x) ((x) << S_ATOMICCMDEN)
28215 #define F_ATOMICCMDEN V_ATOMICCMDEN(1U)
28217 #define S_ISCSICMDMODE 28
28218 #define V_ISCSICMDMODE(x) ((x) << S_ISCSICMDMODE)
28219 #define F_ISCSICMDMODE V_ISCSICMDMODE(1U)
28221 #define A_TP_CSPI_POWER 0x243
28223 #define S_GATECHNTX3 11
28224 #define V_GATECHNTX3(x) ((x) << S_GATECHNTX3)
28225 #define F_GATECHNTX3 V_GATECHNTX3(1U)
28227 #define S_GATECHNTX2 10
28228 #define V_GATECHNTX2(x) ((x) << S_GATECHNTX2)
28229 #define F_GATECHNTX2 V_GATECHNTX2(1U)
28231 #define S_GATECHNTX1 9
28232 #define V_GATECHNTX1(x) ((x) << S_GATECHNTX1)
28233 #define F_GATECHNTX1 V_GATECHNTX1(1U)
28235 #define S_GATECHNTX0 8
28236 #define V_GATECHNTX0(x) ((x) << S_GATECHNTX0)
28237 #define F_GATECHNTX0 V_GATECHNTX0(1U)
28239 #define S_GATECHNRX1 7
28240 #define V_GATECHNRX1(x) ((x) << S_GATECHNRX1)
28241 #define F_GATECHNRX1 V_GATECHNRX1(1U)
28243 #define S_GATECHNRX0 6
28244 #define V_GATECHNRX0(x) ((x) << S_GATECHNRX0)
28245 #define F_GATECHNRX0 V_GATECHNRX0(1U)
28247 #define S_SLEEPRDYUTRN 4
28248 #define V_SLEEPRDYUTRN(x) ((x) << S_SLEEPRDYUTRN)
28249 #define F_SLEEPRDYUTRN V_SLEEPRDYUTRN(1U)
28251 #define S_SLEEPREQUTRN 0
28252 #define V_SLEEPREQUTRN(x) ((x) << S_SLEEPREQUTRN)
28253 #define F_SLEEPREQUTRN V_SLEEPREQUTRN(1U)
28255 #define A_TP_TRC_CONFIG 0x244
28258 #define V_TRCRR(x) ((x) << S_TRCRR)
28259 #define F_TRCRR V_TRCRR(1U)
28262 #define V_TRCCH(x) ((x) << S_TRCCH)
28263 #define F_TRCCH V_TRCCH(1U)
28265 #define A_TP_TAG_CONFIG 0x245
28267 #define S_ETAGTYPE 16
28268 #define M_ETAGTYPE 0xffffU
28269 #define V_ETAGTYPE(x) ((x) << S_ETAGTYPE)
28270 #define G_ETAGTYPE(x) (((x) >> S_ETAGTYPE) & M_ETAGTYPE)
28272 #define A_TP_DBG_CSIDE_PRS 0x246
28274 #define S_CPRSSTATE3 24
28275 #define M_CPRSSTATE3 0x7U
28276 #define V_CPRSSTATE3(x) ((x) << S_CPRSSTATE3)
28277 #define G_CPRSSTATE3(x) (((x) >> S_CPRSSTATE3) & M_CPRSSTATE3)
28279 #define S_CPRSSTATE2 16
28280 #define M_CPRSSTATE2 0x7U
28281 #define V_CPRSSTATE2(x) ((x) << S_CPRSSTATE2)
28282 #define G_CPRSSTATE2(x) (((x) >> S_CPRSSTATE2) & M_CPRSSTATE2)
28284 #define S_CPRSSTATE1 8
28285 #define M_CPRSSTATE1 0x7U
28286 #define V_CPRSSTATE1(x) ((x) << S_CPRSSTATE1)
28287 #define G_CPRSSTATE1(x) (((x) >> S_CPRSSTATE1) & M_CPRSSTATE1)
28289 #define S_CPRSSTATE0 0
28290 #define M_CPRSSTATE0 0x7U
28291 #define V_CPRSSTATE0(x) ((x) << S_CPRSSTATE0)
28292 #define G_CPRSSTATE0(x) (((x) >> S_CPRSSTATE0) & M_CPRSSTATE0)
28294 #define S_C4TUPBUSY3 31
28295 #define V_C4TUPBUSY3(x) ((x) << S_C4TUPBUSY3)
28296 #define F_C4TUPBUSY3 V_C4TUPBUSY3(1U)
28298 #define S_CDBVALID3 30
28299 #define V_CDBVALID3(x) ((x) << S_CDBVALID3)
28300 #define F_CDBVALID3 V_CDBVALID3(1U)
28302 #define S_CRXVALID3 29
28303 #define V_CRXVALID3(x) ((x) << S_CRXVALID3)
28304 #define F_CRXVALID3 V_CRXVALID3(1U)
28306 #define S_CRXFULL3 28
28307 #define V_CRXFULL3(x) ((x) << S_CRXFULL3)
28308 #define F_CRXFULL3 V_CRXFULL3(1U)
28310 #define S_T5_CPRSSTATE3 24
28311 #define M_T5_CPRSSTATE3 0xfU
28312 #define V_T5_CPRSSTATE3(x) ((x) << S_T5_CPRSSTATE3)
28313 #define G_T5_CPRSSTATE3(x) (((x) >> S_T5_CPRSSTATE3) & M_T5_CPRSSTATE3)
28315 #define S_C4TUPBUSY2 23
28316 #define V_C4TUPBUSY2(x) ((x) << S_C4TUPBUSY2)
28317 #define F_C4TUPBUSY2 V_C4TUPBUSY2(1U)
28319 #define S_CDBVALID2 22
28320 #define V_CDBVALID2(x) ((x) << S_CDBVALID2)
28321 #define F_CDBVALID2 V_CDBVALID2(1U)
28323 #define S_CRXVALID2 21
28324 #define V_CRXVALID2(x) ((x) << S_CRXVALID2)
28325 #define F_CRXVALID2 V_CRXVALID2(1U)
28327 #define S_CRXFULL2 20
28328 #define V_CRXFULL2(x) ((x) << S_CRXFULL2)
28329 #define F_CRXFULL2 V_CRXFULL2(1U)
28331 #define S_T5_CPRSSTATE2 16
28332 #define M_T5_CPRSSTATE2 0xfU
28333 #define V_T5_CPRSSTATE2(x) ((x) << S_T5_CPRSSTATE2)
28334 #define G_T5_CPRSSTATE2(x) (((x) >> S_T5_CPRSSTATE2) & M_T5_CPRSSTATE2)
28336 #define S_C4TUPBUSY1 15
28337 #define V_C4TUPBUSY1(x) ((x) << S_C4TUPBUSY1)
28338 #define F_C4TUPBUSY1 V_C4TUPBUSY1(1U)
28340 #define S_CDBVALID1 14
28341 #define V_CDBVALID1(x) ((x) << S_CDBVALID1)
28342 #define F_CDBVALID1 V_CDBVALID1(1U)
28344 #define S_CRXVALID1 13
28345 #define V_CRXVALID1(x) ((x) << S_CRXVALID1)
28346 #define F_CRXVALID1 V_CRXVALID1(1U)
28348 #define S_CRXFULL1 12
28349 #define V_CRXFULL1(x) ((x) << S_CRXFULL1)
28350 #define F_CRXFULL1 V_CRXFULL1(1U)
28352 #define S_T5_CPRSSTATE1 8
28353 #define M_T5_CPRSSTATE1 0xfU
28354 #define V_T5_CPRSSTATE1(x) ((x) << S_T5_CPRSSTATE1)
28355 #define G_T5_CPRSSTATE1(x) (((x) >> S_T5_CPRSSTATE1) & M_T5_CPRSSTATE1)
28357 #define S_C4TUPBUSY0 7
28358 #define V_C4TUPBUSY0(x) ((x) << S_C4TUPBUSY0)
28359 #define F_C4TUPBUSY0 V_C4TUPBUSY0(1U)
28361 #define S_CDBVALID0 6
28362 #define V_CDBVALID0(x) ((x) << S_CDBVALID0)
28363 #define F_CDBVALID0 V_CDBVALID0(1U)
28365 #define S_CRXVALID0 5
28366 #define V_CRXVALID0(x) ((x) << S_CRXVALID0)
28367 #define F_CRXVALID0 V_CRXVALID0(1U)
28369 #define S_CRXFULL0 4
28370 #define V_CRXFULL0(x) ((x) << S_CRXFULL0)
28371 #define F_CRXFULL0 V_CRXFULL0(1U)
28373 #define S_T5_CPRSSTATE0 0
28374 #define M_T5_CPRSSTATE0 0xfU
28375 #define V_T5_CPRSSTATE0(x) ((x) << S_T5_CPRSSTATE0)
28376 #define G_T5_CPRSSTATE0(x) (((x) >> S_T5_CPRSSTATE0) & M_T5_CPRSSTATE0)
28378 #define S_T6_CPRSSTATE3 24
28379 #define M_T6_CPRSSTATE3 0xfU
28380 #define V_T6_CPRSSTATE3(x) ((x) << S_T6_CPRSSTATE3)
28381 #define G_T6_CPRSSTATE3(x) (((x) >> S_T6_CPRSSTATE3) & M_T6_CPRSSTATE3)
28383 #define S_T6_CPRSSTATE2 16
28384 #define M_T6_CPRSSTATE2 0xfU
28385 #define V_T6_CPRSSTATE2(x) ((x) << S_T6_CPRSSTATE2)
28386 #define G_T6_CPRSSTATE2(x) (((x) >> S_T6_CPRSSTATE2) & M_T6_CPRSSTATE2)
28388 #define S_T6_CPRSSTATE1 8
28389 #define M_T6_CPRSSTATE1 0xfU
28390 #define V_T6_CPRSSTATE1(x) ((x) << S_T6_CPRSSTATE1)
28391 #define G_T6_CPRSSTATE1(x) (((x) >> S_T6_CPRSSTATE1) & M_T6_CPRSSTATE1)
28393 #define S_T6_CPRSSTATE0 0
28394 #define M_T6_CPRSSTATE0 0xfU
28395 #define V_T6_CPRSSTATE0(x) ((x) << S_T6_CPRSSTATE0)
28396 #define G_T6_CPRSSTATE0(x) (((x) >> S_T6_CPRSSTATE0) & M_T6_CPRSSTATE0)
28398 #define A_TP_DBG_CSIDE_DEMUX 0x247
28400 #define S_CALLDONE 28
28401 #define M_CALLDONE 0xfU
28402 #define V_CALLDONE(x) ((x) << S_CALLDONE)
28403 #define G_CALLDONE(x) (((x) >> S_CALLDONE) & M_CALLDONE)
28405 #define S_CTCPL5DONE 24
28406 #define M_CTCPL5DONE 0xfU
28407 #define V_CTCPL5DONE(x) ((x) << S_CTCPL5DONE)
28408 #define G_CTCPL5DONE(x) (((x) >> S_CTCPL5DONE) & M_CTCPL5DONE)
28410 #define S_CTXZEROPDONE 20
28411 #define M_CTXZEROPDONE 0xfU
28412 #define V_CTXZEROPDONE(x) ((x) << S_CTXZEROPDONE)
28413 #define G_CTXZEROPDONE(x) (((x) >> S_CTXZEROPDONE) & M_CTXZEROPDONE)
28415 #define S_CPLDDONE 16
28416 #define M_CPLDDONE 0xfU
28417 #define V_CPLDDONE(x) ((x) << S_CPLDDONE)
28418 #define G_CPLDDONE(x) (((x) >> S_CPLDDONE) & M_CPLDDONE)
28420 #define S_CTTCPOPDONE 12
28421 #define M_CTTCPOPDONE 0xfU
28422 #define V_CTTCPOPDONE(x) ((x) << S_CTTCPOPDONE)
28423 #define G_CTTCPOPDONE(x) (((x) >> S_CTTCPOPDONE) & M_CTTCPOPDONE)
28425 #define S_CDBDONE 8
28426 #define M_CDBDONE 0xfU
28427 #define V_CDBDONE(x) ((x) << S_CDBDONE)
28428 #define G_CDBDONE(x) (((x) >> S_CDBDONE) & M_CDBDONE)
28430 #define S_CISSFIFODONE 4
28431 #define M_CISSFIFODONE 0xfU
28432 #define V_CISSFIFODONE(x) ((x) << S_CISSFIFODONE)
28433 #define G_CISSFIFODONE(x) (((x) >> S_CISSFIFODONE) & M_CISSFIFODONE)
28435 #define S_CTXPKTCSUMDONE 0
28436 #define M_CTXPKTCSUMDONE 0xfU
28437 #define V_CTXPKTCSUMDONE(x) ((x) << S_CTXPKTCSUMDONE)
28438 #define G_CTXPKTCSUMDONE(x) (((x) >> S_CTXPKTCSUMDONE) & M_CTXPKTCSUMDONE)
28440 #define S_CARBVALID 28
28441 #define M_CARBVALID 0xfU
28442 #define V_CARBVALID(x) ((x) << S_CARBVALID)
28443 #define G_CARBVALID(x) (((x) >> S_CARBVALID) & M_CARBVALID)
28445 #define S_CCPL5DONE 24
28446 #define M_CCPL5DONE 0xfU
28447 #define V_CCPL5DONE(x) ((x) << S_CCPL5DONE)
28448 #define G_CCPL5DONE(x) (((x) >> S_CCPL5DONE) & M_CCPL5DONE)
28450 #define S_CTCPOPDONE 12
28451 #define M_CTCPOPDONE 0xfU
28452 #define V_CTCPOPDONE(x) ((x) << S_CTCPOPDONE)
28453 #define G_CTCPOPDONE(x) (((x) >> S_CTCPOPDONE) & M_CTCPOPDONE)
28455 #define A_TP_DBG_CSIDE_ARBIT 0x248
28457 #define S_CPLVALID3 31
28458 #define V_CPLVALID3(x) ((x) << S_CPLVALID3)
28459 #define F_CPLVALID3 V_CPLVALID3(1U)
28461 #define S_PLDVALID3 30
28462 #define V_PLDVALID3(x) ((x) << S_PLDVALID3)
28463 #define F_PLDVALID3 V_PLDVALID3(1U)
28465 #define S_CRCVALID3 29
28466 #define V_CRCVALID3(x) ((x) << S_CRCVALID3)
28467 #define F_CRCVALID3 V_CRCVALID3(1U)
28469 #define S_ISSVALID3 28
28470 #define V_ISSVALID3(x) ((x) << S_ISSVALID3)
28471 #define F_ISSVALID3 V_ISSVALID3(1U)
28473 #define S_DBVALID3 27
28474 #define V_DBVALID3(x) ((x) << S_DBVALID3)
28475 #define F_DBVALID3 V_DBVALID3(1U)
28477 #define S_CHKVALID3 26
28478 #define V_CHKVALID3(x) ((x) << S_CHKVALID3)
28479 #define F_CHKVALID3 V_CHKVALID3(1U)
28481 #define S_ZRPVALID3 25
28482 #define V_ZRPVALID3(x) ((x) << S_ZRPVALID3)
28483 #define F_ZRPVALID3 V_ZRPVALID3(1U)
28485 #define S_ERRVALID3 24
28486 #define V_ERRVALID3(x) ((x) << S_ERRVALID3)
28487 #define F_ERRVALID3 V_ERRVALID3(1U)
28489 #define S_CPLVALID2 23
28490 #define V_CPLVALID2(x) ((x) << S_CPLVALID2)
28491 #define F_CPLVALID2 V_CPLVALID2(1U)
28493 #define S_PLDVALID2 22
28494 #define V_PLDVALID2(x) ((x) << S_PLDVALID2)
28495 #define F_PLDVALID2 V_PLDVALID2(1U)
28497 #define S_CRCVALID2 21
28498 #define V_CRCVALID2(x) ((x) << S_CRCVALID2)
28499 #define F_CRCVALID2 V_CRCVALID2(1U)
28501 #define S_ISSVALID2 20
28502 #define V_ISSVALID2(x) ((x) << S_ISSVALID2)
28503 #define F_ISSVALID2 V_ISSVALID2(1U)
28505 #define S_DBVALID2 19
28506 #define V_DBVALID2(x) ((x) << S_DBVALID2)
28507 #define F_DBVALID2 V_DBVALID2(1U)
28509 #define S_CHKVALID2 18
28510 #define V_CHKVALID2(x) ((x) << S_CHKVALID2)
28511 #define F_CHKVALID2 V_CHKVALID2(1U)
28513 #define S_ZRPVALID2 17
28514 #define V_ZRPVALID2(x) ((x) << S_ZRPVALID2)
28515 #define F_ZRPVALID2 V_ZRPVALID2(1U)
28517 #define S_ERRVALID2 16
28518 #define V_ERRVALID2(x) ((x) << S_ERRVALID2)
28519 #define F_ERRVALID2 V_ERRVALID2(1U)
28521 #define S_CPLVALID1 15
28522 #define V_CPLVALID1(x) ((x) << S_CPLVALID1)
28523 #define F_CPLVALID1 V_CPLVALID1(1U)
28525 #define S_PLDVALID1 14
28526 #define V_PLDVALID1(x) ((x) << S_PLDVALID1)
28527 #define F_PLDVALID1 V_PLDVALID1(1U)
28529 #define S_CRCVALID1 13
28530 #define V_CRCVALID1(x) ((x) << S_CRCVALID1)
28531 #define F_CRCVALID1 V_CRCVALID1(1U)
28533 #define S_ISSVALID1 12
28534 #define V_ISSVALID1(x) ((x) << S_ISSVALID1)
28535 #define F_ISSVALID1 V_ISSVALID1(1U)
28537 #define S_DBVALID1 11
28538 #define V_DBVALID1(x) ((x) << S_DBVALID1)
28539 #define F_DBVALID1 V_DBVALID1(1U)
28541 #define S_CHKVALID1 10
28542 #define V_CHKVALID1(x) ((x) << S_CHKVALID1)
28543 #define F_CHKVALID1 V_CHKVALID1(1U)
28545 #define S_ZRPVALID1 9
28546 #define V_ZRPVALID1(x) ((x) << S_ZRPVALID1)
28547 #define F_ZRPVALID1 V_ZRPVALID1(1U)
28549 #define S_ERRVALID1 8
28550 #define V_ERRVALID1(x) ((x) << S_ERRVALID1)
28551 #define F_ERRVALID1 V_ERRVALID1(1U)
28553 #define S_CPLVALID0 7
28554 #define V_CPLVALID0(x) ((x) << S_CPLVALID0)
28555 #define F_CPLVALID0 V_CPLVALID0(1U)
28557 #define S_PLDVALID0 6
28558 #define V_PLDVALID0(x) ((x) << S_PLDVALID0)
28559 #define F_PLDVALID0 V_PLDVALID0(1U)
28561 #define S_CRCVALID0 5
28562 #define V_CRCVALID0(x) ((x) << S_CRCVALID0)
28563 #define F_CRCVALID0 V_CRCVALID0(1U)
28565 #define S_ISSVALID0 4
28566 #define V_ISSVALID0(x) ((x) << S_ISSVALID0)
28567 #define F_ISSVALID0 V_ISSVALID0(1U)
28569 #define S_DBVALID0 3
28570 #define V_DBVALID0(x) ((x) << S_DBVALID0)
28571 #define F_DBVALID0 V_DBVALID0(1U)
28573 #define S_CHKVALID0 2
28574 #define V_CHKVALID0(x) ((x) << S_CHKVALID0)
28575 #define F_CHKVALID0 V_CHKVALID0(1U)
28577 #define S_ZRPVALID0 1
28578 #define V_ZRPVALID0(x) ((x) << S_ZRPVALID0)
28579 #define F_ZRPVALID0 V_ZRPVALID0(1U)
28581 #define S_ERRVALID0 0
28582 #define V_ERRVALID0(x) ((x) << S_ERRVALID0)
28583 #define F_ERRVALID0 V_ERRVALID0(1U)
28585 #define A_TP_DBG_CSIDE_TRACE_CNT 0x24a
28587 #define S_TRCSOPCNT 24
28588 #define M_TRCSOPCNT 0xffU
28589 #define V_TRCSOPCNT(x) ((x) << S_TRCSOPCNT)
28590 #define G_TRCSOPCNT(x) (((x) >> S_TRCSOPCNT) & M_TRCSOPCNT)
28592 #define S_TRCEOPCNT 16
28593 #define M_TRCEOPCNT 0xffU
28594 #define V_TRCEOPCNT(x) ((x) << S_TRCEOPCNT)
28595 #define G_TRCEOPCNT(x) (((x) >> S_TRCEOPCNT) & M_TRCEOPCNT)
28597 #define S_TRCFLTHIT 12
28598 #define M_TRCFLTHIT 0xfU
28599 #define V_TRCFLTHIT(x) ((x) << S_TRCFLTHIT)
28600 #define G_TRCFLTHIT(x) (((x) >> S_TRCFLTHIT) & M_TRCFLTHIT)
28602 #define S_TRCRNTPKT 8
28603 #define M_TRCRNTPKT 0xfU
28604 #define V_TRCRNTPKT(x) ((x) << S_TRCRNTPKT)
28605 #define G_TRCRNTPKT(x) (((x) >> S_TRCRNTPKT) & M_TRCRNTPKT)
28607 #define S_TRCPKTLEN 0
28608 #define M_TRCPKTLEN 0xffU
28609 #define V_TRCPKTLEN(x) ((x) << S_TRCPKTLEN)
28610 #define G_TRCPKTLEN(x) (((x) >> S_TRCPKTLEN) & M_TRCPKTLEN)
28612 #define A_TP_DBG_CSIDE_TRACE_RSS 0x24b
28613 #define A_TP_VLN_CONFIG 0x24c
28615 #define S_ETHTYPEQINQ 16
28616 #define M_ETHTYPEQINQ 0xffffU
28617 #define V_ETHTYPEQINQ(x) ((x) << S_ETHTYPEQINQ)
28618 #define G_ETHTYPEQINQ(x) (((x) >> S_ETHTYPEQINQ) & M_ETHTYPEQINQ)
28620 #define S_ETHTYPEVLAN 0
28621 #define M_ETHTYPEVLAN 0xffffU
28622 #define V_ETHTYPEVLAN(x) ((x) << S_ETHTYPEVLAN)
28623 #define G_ETHTYPEVLAN(x) (((x) >> S_ETHTYPEVLAN) & M_ETHTYPEVLAN)
28625 #define A_TP_DBG_CSIDE_ARBIT_WAIT0 0x24d
28626 #define A_TP_DBG_CSIDE_ARBIT_WAIT1 0x24e
28627 #define A_TP_DBG_CSIDE_ARBIT_CNT0 0x24f
28628 #define A_TP_DBG_CSIDE_ARBIT_CNT1 0x250
28629 #define A_TP_FIFO_CONFIG 0x8c0
28631 #define S_CH1_OUTPUT 27
28632 #define M_CH1_OUTPUT 0x1fU
28633 #define V_CH1_OUTPUT(x) ((x) << S_CH1_OUTPUT)
28634 #define G_CH1_OUTPUT(x) (((x) >> S_CH1_OUTPUT) & M_CH1_OUTPUT)
28636 #define S_CH2_OUTPUT 22
28637 #define M_CH2_OUTPUT 0x1fU
28638 #define V_CH2_OUTPUT(x) ((x) << S_CH2_OUTPUT)
28639 #define G_CH2_OUTPUT(x) (((x) >> S_CH2_OUTPUT) & M_CH2_OUTPUT)
28641 #define S_STROBE1 16
28642 #define V_STROBE1(x) ((x) << S_STROBE1)
28643 #define F_STROBE1 V_STROBE1(1U)
28645 #define S_CH1_INPUT 11
28646 #define M_CH1_INPUT 0x1fU
28647 #define V_CH1_INPUT(x) ((x) << S_CH1_INPUT)
28648 #define G_CH1_INPUT(x) (((x) >> S_CH1_INPUT) & M_CH1_INPUT)
28650 #define S_CH2_INPUT 6
28651 #define M_CH2_INPUT 0x1fU
28652 #define V_CH2_INPUT(x) ((x) << S_CH2_INPUT)
28653 #define G_CH2_INPUT(x) (((x) >> S_CH2_INPUT) & M_CH2_INPUT)
28655 #define S_CH3_INPUT 1
28656 #define M_CH3_INPUT 0x1fU
28657 #define V_CH3_INPUT(x) ((x) << S_CH3_INPUT)
28658 #define G_CH3_INPUT(x) (((x) >> S_CH3_INPUT) & M_CH3_INPUT)
28660 #define S_STROBE0 0
28661 #define V_STROBE0(x) ((x) << S_STROBE0)
28662 #define F_STROBE0 V_STROBE0(1U)
28664 #define A_TP_MIB_MAC_IN_ERR_0 0x0
28665 #define A_TP_MIB_MAC_IN_ERR_1 0x1
28666 #define A_TP_MIB_MAC_IN_ERR_2 0x2
28667 #define A_TP_MIB_MAC_IN_ERR_3 0x3
28668 #define A_TP_MIB_HDR_IN_ERR_0 0x4
28669 #define A_TP_MIB_HDR_IN_ERR_1 0x5
28670 #define A_TP_MIB_HDR_IN_ERR_2 0x6
28671 #define A_TP_MIB_HDR_IN_ERR_3 0x7
28672 #define A_TP_MIB_TCP_IN_ERR_0 0x8
28673 #define A_TP_MIB_TCP_IN_ERR_1 0x9
28674 #define A_TP_MIB_TCP_IN_ERR_2 0xa
28675 #define A_TP_MIB_TCP_IN_ERR_3 0xb
28676 #define A_TP_MIB_TCP_OUT_RST 0xc
28677 #define A_TP_MIB_TCP_IN_SEG_HI 0x10
28678 #define A_TP_MIB_TCP_IN_SEG_LO 0x11
28679 #define A_TP_MIB_TCP_OUT_SEG_HI 0x12
28680 #define A_TP_MIB_TCP_OUT_SEG_LO 0x13
28681 #define A_TP_MIB_TCP_RXT_SEG_HI 0x14
28682 #define A_TP_MIB_TCP_RXT_SEG_LO 0x15
28683 #define A_TP_MIB_TNL_CNG_DROP_0 0x18
28684 #define A_TP_MIB_TNL_CNG_DROP_1 0x19
28685 #define A_TP_MIB_TNL_CNG_DROP_2 0x1a
28686 #define A_TP_MIB_TNL_CNG_DROP_3 0x1b
28687 #define A_TP_MIB_OFD_CHN_DROP_0 0x1c
28688 #define A_TP_MIB_OFD_CHN_DROP_1 0x1d
28689 #define A_TP_MIB_OFD_CHN_DROP_2 0x1e
28690 #define A_TP_MIB_OFD_CHN_DROP_3 0x1f
28691 #define A_TP_MIB_TNL_OUT_PKT_0 0x20
28692 #define A_TP_MIB_TNL_OUT_PKT_1 0x21
28693 #define A_TP_MIB_TNL_OUT_PKT_2 0x22
28694 #define A_TP_MIB_TNL_OUT_PKT_3 0x23
28695 #define A_TP_MIB_TNL_IN_PKT_0 0x24
28696 #define A_TP_MIB_TNL_IN_PKT_1 0x25
28697 #define A_TP_MIB_TNL_IN_PKT_2 0x26
28698 #define A_TP_MIB_TNL_IN_PKT_3 0x27
28699 #define A_TP_MIB_TCP_V6IN_ERR_0 0x28
28700 #define A_TP_MIB_TCP_V6IN_ERR_1 0x29
28701 #define A_TP_MIB_TCP_V6IN_ERR_2 0x2a
28702 #define A_TP_MIB_TCP_V6IN_ERR_3 0x2b
28703 #define A_TP_MIB_TCP_V6OUT_RST 0x2c
28704 #define A_TP_MIB_TCP_V6IN_SEG_HI 0x30
28705 #define A_TP_MIB_TCP_V6IN_SEG_LO 0x31
28706 #define A_TP_MIB_TCP_V6OUT_SEG_HI 0x32
28707 #define A_TP_MIB_TCP_V6OUT_SEG_LO 0x33
28708 #define A_TP_MIB_TCP_V6RXT_SEG_HI 0x34
28709 #define A_TP_MIB_TCP_V6RXT_SEG_LO 0x35
28710 #define A_TP_MIB_OFD_ARP_DROP 0x36
28711 #define A_TP_MIB_OFD_DFR_DROP 0x37
28712 #define A_TP_MIB_CPL_IN_REQ_0 0x38
28713 #define A_TP_MIB_CPL_IN_REQ_1 0x39
28714 #define A_TP_MIB_CPL_IN_REQ_2 0x3a
28715 #define A_TP_MIB_CPL_IN_REQ_3 0x3b
28716 #define A_TP_MIB_CPL_OUT_RSP_0 0x3c
28717 #define A_TP_MIB_CPL_OUT_RSP_1 0x3d
28718 #define A_TP_MIB_CPL_OUT_RSP_2 0x3e
28719 #define A_TP_MIB_CPL_OUT_RSP_3 0x3f
28720 #define A_TP_MIB_TNL_LPBK_0 0x40
28721 #define A_TP_MIB_TNL_LPBK_1 0x41
28722 #define A_TP_MIB_TNL_LPBK_2 0x42
28723 #define A_TP_MIB_TNL_LPBK_3 0x43
28724 #define A_TP_MIB_TNL_DROP_0 0x44
28725 #define A_TP_MIB_TNL_DROP_1 0x45
28726 #define A_TP_MIB_TNL_DROP_2 0x46
28727 #define A_TP_MIB_TNL_DROP_3 0x47
28728 #define A_TP_MIB_FCOE_DDP_0 0x48
28729 #define A_TP_MIB_FCOE_DDP_1 0x49
28730 #define A_TP_MIB_FCOE_DDP_2 0x4a
28731 #define A_TP_MIB_FCOE_DDP_3 0x4b
28732 #define A_TP_MIB_FCOE_DROP_0 0x4c
28733 #define A_TP_MIB_FCOE_DROP_1 0x4d
28734 #define A_TP_MIB_FCOE_DROP_2 0x4e
28735 #define A_TP_MIB_FCOE_DROP_3 0x4f
28736 #define A_TP_MIB_FCOE_BYTE_0_HI 0x50
28737 #define A_TP_MIB_FCOE_BYTE_0_LO 0x51
28738 #define A_TP_MIB_FCOE_BYTE_1_HI 0x52
28739 #define A_TP_MIB_FCOE_BYTE_1_LO 0x53
28740 #define A_TP_MIB_FCOE_BYTE_2_HI 0x54
28741 #define A_TP_MIB_FCOE_BYTE_2_LO 0x55
28742 #define A_TP_MIB_FCOE_BYTE_3_HI 0x56
28743 #define A_TP_MIB_FCOE_BYTE_3_LO 0x57
28744 #define A_TP_MIB_OFD_VLN_DROP_0 0x58
28745 #define A_TP_MIB_OFD_VLN_DROP_1 0x59
28746 #define A_TP_MIB_OFD_VLN_DROP_2 0x5a
28747 #define A_TP_MIB_OFD_VLN_DROP_3 0x5b
28748 #define A_TP_MIB_USM_PKTS 0x5c
28749 #define A_TP_MIB_USM_DROP 0x5d
28750 #define A_TP_MIB_USM_BYTES_HI 0x5e
28751 #define A_TP_MIB_USM_BYTES_LO 0x5f
28752 #define A_TP_MIB_TID_DEL 0x60
28753 #define A_TP_MIB_TID_INV 0x61
28754 #define A_TP_MIB_TID_ACT 0x62
28755 #define A_TP_MIB_TID_PAS 0x63
28756 #define A_TP_MIB_RQE_DFR_PKT 0x64
28757 #define A_TP_MIB_RQE_DFR_MOD 0x65
28758 #define A_TP_MIB_CPL_OUT_ERR_0 0x68
28759 #define A_TP_MIB_CPL_OUT_ERR_1 0x69
28760 #define A_TP_MIB_CPL_OUT_ERR_2 0x6a
28761 #define A_TP_MIB_CPL_OUT_ERR_3 0x6b
28762 #define A_TP_MIB_ENG_LINE_0 0x6c
28763 #define A_TP_MIB_ENG_LINE_1 0x6d
28764 #define A_TP_MIB_ENG_LINE_2 0x6e
28765 #define A_TP_MIB_ENG_LINE_3 0x6f
28766 #define A_TP_MIB_TNL_ERR_0 0x70
28767 #define A_TP_MIB_TNL_ERR_1 0x71
28768 #define A_TP_MIB_TNL_ERR_2 0x72
28769 #define A_TP_MIB_TNL_ERR_3 0x73
28771 /* registers for module ULP_TX */
28772 #define ULP_TX_BASE_ADDR 0x8dc0
28774 #define A_ULP_TX_CONFIG 0x8dc0
28776 #define S_STAG_MIX_ENABLE 2
28777 #define V_STAG_MIX_ENABLE(x) ((x) << S_STAG_MIX_ENABLE)
28778 #define F_STAG_MIX_ENABLE V_STAG_MIX_ENABLE(1U)
28780 #define S_STAGF_FIX_DISABLE 1
28781 #define V_STAGF_FIX_DISABLE(x) ((x) << S_STAGF_FIX_DISABLE)
28782 #define F_STAGF_FIX_DISABLE V_STAGF_FIX_DISABLE(1U)
28784 #define S_EXTRA_TAG_INSERTION_ENABLE 0
28785 #define V_EXTRA_TAG_INSERTION_ENABLE(x) ((x) << S_EXTRA_TAG_INSERTION_ENABLE)
28786 #define F_EXTRA_TAG_INSERTION_ENABLE V_EXTRA_TAG_INSERTION_ENABLE(1U)
28788 #define S_PHYS_ADDR_RESP_EN 6
28789 #define V_PHYS_ADDR_RESP_EN(x) ((x) << S_PHYS_ADDR_RESP_EN)
28790 #define F_PHYS_ADDR_RESP_EN V_PHYS_ADDR_RESP_EN(1U)
28792 #define S_ENDIANESS_CHANGE 5
28793 #define V_ENDIANESS_CHANGE(x) ((x) << S_ENDIANESS_CHANGE)
28794 #define F_ENDIANESS_CHANGE V_ENDIANESS_CHANGE(1U)
28796 #define S_ERR_RTAG_EN 4
28797 #define V_ERR_RTAG_EN(x) ((x) << S_ERR_RTAG_EN)
28798 #define F_ERR_RTAG_EN V_ERR_RTAG_EN(1U)
28800 #define S_TSO_ETHLEN_EN 3
28801 #define V_TSO_ETHLEN_EN(x) ((x) << S_TSO_ETHLEN_EN)
28802 #define F_TSO_ETHLEN_EN V_TSO_ETHLEN_EN(1U)
28804 #define S_EMSG_MORE_INFO 2
28805 #define V_EMSG_MORE_INFO(x) ((x) << S_EMSG_MORE_INFO)
28806 #define F_EMSG_MORE_INFO V_EMSG_MORE_INFO(1U)
28809 #define V_LOSDR(x) ((x) << S_LOSDR)
28810 #define F_LOSDR V_LOSDR(1U)
28812 #define S_ULIMIT_EXCLUSIVE_FIX 16
28813 #define V_ULIMIT_EXCLUSIVE_FIX(x) ((x) << S_ULIMIT_EXCLUSIVE_FIX)
28814 #define F_ULIMIT_EXCLUSIVE_FIX V_ULIMIT_EXCLUSIVE_FIX(1U)
28816 #define S_ISO_A_FLAG_EN 15
28817 #define V_ISO_A_FLAG_EN(x) ((x) << S_ISO_A_FLAG_EN)
28818 #define F_ISO_A_FLAG_EN V_ISO_A_FLAG_EN(1U)
28820 #define S_IWARP_SEQ_FLIT_DIS 14
28821 #define V_IWARP_SEQ_FLIT_DIS(x) ((x) << S_IWARP_SEQ_FLIT_DIS)
28822 #define F_IWARP_SEQ_FLIT_DIS V_IWARP_SEQ_FLIT_DIS(1U)
28824 #define S_MR_SIZE_FIX_EN 13
28825 #define V_MR_SIZE_FIX_EN(x) ((x) << S_MR_SIZE_FIX_EN)
28826 #define F_MR_SIZE_FIX_EN V_MR_SIZE_FIX_EN(1U)
28828 #define S_T10_ISO_FIX_EN 12
28829 #define V_T10_ISO_FIX_EN(x) ((x) << S_T10_ISO_FIX_EN)
28830 #define F_T10_ISO_FIX_EN V_T10_ISO_FIX_EN(1U)
28832 #define S_CPL_FLAGS_UPDATE_EN 11
28833 #define V_CPL_FLAGS_UPDATE_EN(x) ((x) << S_CPL_FLAGS_UPDATE_EN)
28834 #define F_CPL_FLAGS_UPDATE_EN V_CPL_FLAGS_UPDATE_EN(1U)
28836 #define S_IWARP_SEQ_UPDATE_EN 10
28837 #define V_IWARP_SEQ_UPDATE_EN(x) ((x) << S_IWARP_SEQ_UPDATE_EN)
28838 #define F_IWARP_SEQ_UPDATE_EN V_IWARP_SEQ_UPDATE_EN(1U)
28840 #define S_SEQ_UPDATE_EN 9
28841 #define V_SEQ_UPDATE_EN(x) ((x) << S_SEQ_UPDATE_EN)
28842 #define F_SEQ_UPDATE_EN V_SEQ_UPDATE_EN(1U)
28844 #define S_ERR_ITT_EN 8
28845 #define V_ERR_ITT_EN(x) ((x) << S_ERR_ITT_EN)
28846 #define F_ERR_ITT_EN V_ERR_ITT_EN(1U)
28848 #define S_ATOMIC_FIX_DIS 7
28849 #define V_ATOMIC_FIX_DIS(x) ((x) << S_ATOMIC_FIX_DIS)
28850 #define F_ATOMIC_FIX_DIS V_ATOMIC_FIX_DIS(1U)
28852 #define A_ULP_TX_PERR_INJECT 0x8dc4
28853 #define A_ULP_TX_INT_ENABLE 0x8dc8
28855 #define S_PBL_BOUND_ERR_CH3 31
28856 #define V_PBL_BOUND_ERR_CH3(x) ((x) << S_PBL_BOUND_ERR_CH3)
28857 #define F_PBL_BOUND_ERR_CH3 V_PBL_BOUND_ERR_CH3(1U)
28859 #define S_PBL_BOUND_ERR_CH2 30
28860 #define V_PBL_BOUND_ERR_CH2(x) ((x) << S_PBL_BOUND_ERR_CH2)
28861 #define F_PBL_BOUND_ERR_CH2 V_PBL_BOUND_ERR_CH2(1U)
28863 #define S_PBL_BOUND_ERR_CH1 29
28864 #define V_PBL_BOUND_ERR_CH1(x) ((x) << S_PBL_BOUND_ERR_CH1)
28865 #define F_PBL_BOUND_ERR_CH1 V_PBL_BOUND_ERR_CH1(1U)
28867 #define S_PBL_BOUND_ERR_CH0 28
28868 #define V_PBL_BOUND_ERR_CH0(x) ((x) << S_PBL_BOUND_ERR_CH0)
28869 #define F_PBL_BOUND_ERR_CH0 V_PBL_BOUND_ERR_CH0(1U)
28871 #define S_SGE2ULP_FIFO_PERR_SET3 27
28872 #define V_SGE2ULP_FIFO_PERR_SET3(x) ((x) << S_SGE2ULP_FIFO_PERR_SET3)
28873 #define F_SGE2ULP_FIFO_PERR_SET3 V_SGE2ULP_FIFO_PERR_SET3(1U)
28875 #define S_SGE2ULP_FIFO_PERR_SET2 26
28876 #define V_SGE2ULP_FIFO_PERR_SET2(x) ((x) << S_SGE2ULP_FIFO_PERR_SET2)
28877 #define F_SGE2ULP_FIFO_PERR_SET2 V_SGE2ULP_FIFO_PERR_SET2(1U)
28879 #define S_SGE2ULP_FIFO_PERR_SET1 25
28880 #define V_SGE2ULP_FIFO_PERR_SET1(x) ((x) << S_SGE2ULP_FIFO_PERR_SET1)
28881 #define F_SGE2ULP_FIFO_PERR_SET1 V_SGE2ULP_FIFO_PERR_SET1(1U)
28883 #define S_SGE2ULP_FIFO_PERR_SET0 24
28884 #define V_SGE2ULP_FIFO_PERR_SET0(x) ((x) << S_SGE2ULP_FIFO_PERR_SET0)
28885 #define F_SGE2ULP_FIFO_PERR_SET0 V_SGE2ULP_FIFO_PERR_SET0(1U)
28887 #define S_CIM2ULP_FIFO_PERR_SET3 23
28888 #define V_CIM2ULP_FIFO_PERR_SET3(x) ((x) << S_CIM2ULP_FIFO_PERR_SET3)
28889 #define F_CIM2ULP_FIFO_PERR_SET3 V_CIM2ULP_FIFO_PERR_SET3(1U)
28891 #define S_CIM2ULP_FIFO_PERR_SET2 22
28892 #define V_CIM2ULP_FIFO_PERR_SET2(x) ((x) << S_CIM2ULP_FIFO_PERR_SET2)
28893 #define F_CIM2ULP_FIFO_PERR_SET2 V_CIM2ULP_FIFO_PERR_SET2(1U)
28895 #define S_CIM2ULP_FIFO_PERR_SET1 21
28896 #define V_CIM2ULP_FIFO_PERR_SET1(x) ((x) << S_CIM2ULP_FIFO_PERR_SET1)
28897 #define F_CIM2ULP_FIFO_PERR_SET1 V_CIM2ULP_FIFO_PERR_SET1(1U)
28899 #define S_CIM2ULP_FIFO_PERR_SET0 20
28900 #define V_CIM2ULP_FIFO_PERR_SET0(x) ((x) << S_CIM2ULP_FIFO_PERR_SET0)
28901 #define F_CIM2ULP_FIFO_PERR_SET0 V_CIM2ULP_FIFO_PERR_SET0(1U)
28903 #define S_CQE_FIFO_PERR_SET3 19
28904 #define V_CQE_FIFO_PERR_SET3(x) ((x) << S_CQE_FIFO_PERR_SET3)
28905 #define F_CQE_FIFO_PERR_SET3 V_CQE_FIFO_PERR_SET3(1U)
28907 #define S_CQE_FIFO_PERR_SET2 18
28908 #define V_CQE_FIFO_PERR_SET2(x) ((x) << S_CQE_FIFO_PERR_SET2)
28909 #define F_CQE_FIFO_PERR_SET2 V_CQE_FIFO_PERR_SET2(1U)
28911 #define S_CQE_FIFO_PERR_SET1 17
28912 #define V_CQE_FIFO_PERR_SET1(x) ((x) << S_CQE_FIFO_PERR_SET1)
28913 #define F_CQE_FIFO_PERR_SET1 V_CQE_FIFO_PERR_SET1(1U)
28915 #define S_CQE_FIFO_PERR_SET0 16
28916 #define V_CQE_FIFO_PERR_SET0(x) ((x) << S_CQE_FIFO_PERR_SET0)
28917 #define F_CQE_FIFO_PERR_SET0 V_CQE_FIFO_PERR_SET0(1U)
28919 #define S_PBL_FIFO_PERR_SET3 15
28920 #define V_PBL_FIFO_PERR_SET3(x) ((x) << S_PBL_FIFO_PERR_SET3)
28921 #define F_PBL_FIFO_PERR_SET3 V_PBL_FIFO_PERR_SET3(1U)
28923 #define S_PBL_FIFO_PERR_SET2 14
28924 #define V_PBL_FIFO_PERR_SET2(x) ((x) << S_PBL_FIFO_PERR_SET2)
28925 #define F_PBL_FIFO_PERR_SET2 V_PBL_FIFO_PERR_SET2(1U)
28927 #define S_PBL_FIFO_PERR_SET1 13
28928 #define V_PBL_FIFO_PERR_SET1(x) ((x) << S_PBL_FIFO_PERR_SET1)
28929 #define F_PBL_FIFO_PERR_SET1 V_PBL_FIFO_PERR_SET1(1U)
28931 #define S_PBL_FIFO_PERR_SET0 12
28932 #define V_PBL_FIFO_PERR_SET0(x) ((x) << S_PBL_FIFO_PERR_SET0)
28933 #define F_PBL_FIFO_PERR_SET0 V_PBL_FIFO_PERR_SET0(1U)
28935 #define S_CMD_FIFO_PERR_SET3 11
28936 #define V_CMD_FIFO_PERR_SET3(x) ((x) << S_CMD_FIFO_PERR_SET3)
28937 #define F_CMD_FIFO_PERR_SET3 V_CMD_FIFO_PERR_SET3(1U)
28939 #define S_CMD_FIFO_PERR_SET2 10
28940 #define V_CMD_FIFO_PERR_SET2(x) ((x) << S_CMD_FIFO_PERR_SET2)
28941 #define F_CMD_FIFO_PERR_SET2 V_CMD_FIFO_PERR_SET2(1U)
28943 #define S_CMD_FIFO_PERR_SET1 9
28944 #define V_CMD_FIFO_PERR_SET1(x) ((x) << S_CMD_FIFO_PERR_SET1)
28945 #define F_CMD_FIFO_PERR_SET1 V_CMD_FIFO_PERR_SET1(1U)
28947 #define S_CMD_FIFO_PERR_SET0 8
28948 #define V_CMD_FIFO_PERR_SET0(x) ((x) << S_CMD_FIFO_PERR_SET0)
28949 #define F_CMD_FIFO_PERR_SET0 V_CMD_FIFO_PERR_SET0(1U)
28951 #define S_LSO_HDR_SRAM_PERR_SET3 7
28952 #define V_LSO_HDR_SRAM_PERR_SET3(x) ((x) << S_LSO_HDR_SRAM_PERR_SET3)
28953 #define F_LSO_HDR_SRAM_PERR_SET3 V_LSO_HDR_SRAM_PERR_SET3(1U)
28955 #define S_LSO_HDR_SRAM_PERR_SET2 6
28956 #define V_LSO_HDR_SRAM_PERR_SET2(x) ((x) << S_LSO_HDR_SRAM_PERR_SET2)
28957 #define F_LSO_HDR_SRAM_PERR_SET2 V_LSO_HDR_SRAM_PERR_SET2(1U)
28959 #define S_LSO_HDR_SRAM_PERR_SET1 5
28960 #define V_LSO_HDR_SRAM_PERR_SET1(x) ((x) << S_LSO_HDR_SRAM_PERR_SET1)
28961 #define F_LSO_HDR_SRAM_PERR_SET1 V_LSO_HDR_SRAM_PERR_SET1(1U)
28963 #define S_LSO_HDR_SRAM_PERR_SET0 4
28964 #define V_LSO_HDR_SRAM_PERR_SET0(x) ((x) << S_LSO_HDR_SRAM_PERR_SET0)
28965 #define F_LSO_HDR_SRAM_PERR_SET0 V_LSO_HDR_SRAM_PERR_SET0(1U)
28967 #define S_IMM_DATA_PERR_SET_CH3 3
28968 #define V_IMM_DATA_PERR_SET_CH3(x) ((x) << S_IMM_DATA_PERR_SET_CH3)
28969 #define F_IMM_DATA_PERR_SET_CH3 V_IMM_DATA_PERR_SET_CH3(1U)
28971 #define S_IMM_DATA_PERR_SET_CH2 2
28972 #define V_IMM_DATA_PERR_SET_CH2(x) ((x) << S_IMM_DATA_PERR_SET_CH2)
28973 #define F_IMM_DATA_PERR_SET_CH2 V_IMM_DATA_PERR_SET_CH2(1U)
28975 #define S_IMM_DATA_PERR_SET_CH1 1
28976 #define V_IMM_DATA_PERR_SET_CH1(x) ((x) << S_IMM_DATA_PERR_SET_CH1)
28977 #define F_IMM_DATA_PERR_SET_CH1 V_IMM_DATA_PERR_SET_CH1(1U)
28979 #define S_IMM_DATA_PERR_SET_CH0 0
28980 #define V_IMM_DATA_PERR_SET_CH0(x) ((x) << S_IMM_DATA_PERR_SET_CH0)
28981 #define F_IMM_DATA_PERR_SET_CH0 V_IMM_DATA_PERR_SET_CH0(1U)
28983 #define A_ULP_TX_INT_CAUSE 0x8dcc
28984 #define A_ULP_TX_PERR_ENABLE 0x8dd0
28985 #define A_ULP_TX_TPT_LLIMIT 0x8dd4
28986 #define A_ULP_TX_TPT_ULIMIT 0x8dd8
28987 #define A_ULP_TX_PBL_LLIMIT 0x8ddc
28988 #define A_ULP_TX_PBL_ULIMIT 0x8de0
28989 #define A_ULP_TX_CPL_ERR_OFFSET 0x8de4
28990 #define A_ULP_TX_TLS_CTL 0x8de4
28992 #define S_TLSPERREN 4
28993 #define V_TLSPERREN(x) ((x) << S_TLSPERREN)
28994 #define F_TLSPERREN V_TLSPERREN(1U)
28996 #define S_TLSPATHCTL 3
28997 #define V_TLSPATHCTL(x) ((x) << S_TLSPATHCTL)
28998 #define F_TLSPATHCTL V_TLSPATHCTL(1U)
29000 #define S_TLSDISABLEIFUSE 2
29001 #define V_TLSDISABLEIFUSE(x) ((x) << S_TLSDISABLEIFUSE)
29002 #define F_TLSDISABLEIFUSE V_TLSDISABLEIFUSE(1U)
29004 #define S_TLSDISABLECFUSE 1
29005 #define V_TLSDISABLECFUSE(x) ((x) << S_TLSDISABLECFUSE)
29006 #define F_TLSDISABLECFUSE V_TLSDISABLECFUSE(1U)
29008 #define S_TLSDISABLE 0
29009 #define V_TLSDISABLE(x) ((x) << S_TLSDISABLE)
29010 #define F_TLSDISABLE V_TLSDISABLE(1U)
29012 #define A_ULP_TX_CPL_ERR_MASK_L 0x8de8
29013 #define A_ULP_TX_CPL_ERR_MASK_H 0x8dec
29014 #define A_ULP_TX_CPL_ERR_VALUE_L 0x8df0
29015 #define A_ULP_TX_CPL_ERR_VALUE_H 0x8df4
29016 #define A_ULP_TX_CPL_PACK_SIZE1 0x8df8
29018 #define S_CH3SIZE1 24
29019 #define M_CH3SIZE1 0xffU
29020 #define V_CH3SIZE1(x) ((x) << S_CH3SIZE1)
29021 #define G_CH3SIZE1(x) (((x) >> S_CH3SIZE1) & M_CH3SIZE1)
29023 #define S_CH2SIZE1 16
29024 #define M_CH2SIZE1 0xffU
29025 #define V_CH2SIZE1(x) ((x) << S_CH2SIZE1)
29026 #define G_CH2SIZE1(x) (((x) >> S_CH2SIZE1) & M_CH2SIZE1)
29028 #define S_CH1SIZE1 8
29029 #define M_CH1SIZE1 0xffU
29030 #define V_CH1SIZE1(x) ((x) << S_CH1SIZE1)
29031 #define G_CH1SIZE1(x) (((x) >> S_CH1SIZE1) & M_CH1SIZE1)
29033 #define S_CH0SIZE1 0
29034 #define M_CH0SIZE1 0xffU
29035 #define V_CH0SIZE1(x) ((x) << S_CH0SIZE1)
29036 #define G_CH0SIZE1(x) (((x) >> S_CH0SIZE1) & M_CH0SIZE1)
29038 #define A_ULP_TX_CPL_PACK_SIZE2 0x8dfc
29040 #define S_CH3SIZE2 24
29041 #define M_CH3SIZE2 0xffU
29042 #define V_CH3SIZE2(x) ((x) << S_CH3SIZE2)
29043 #define G_CH3SIZE2(x) (((x) >> S_CH3SIZE2) & M_CH3SIZE2)
29045 #define S_CH2SIZE2 16
29046 #define M_CH2SIZE2 0xffU
29047 #define V_CH2SIZE2(x) ((x) << S_CH2SIZE2)
29048 #define G_CH2SIZE2(x) (((x) >> S_CH2SIZE2) & M_CH2SIZE2)
29050 #define S_CH1SIZE2 8
29051 #define M_CH1SIZE2 0xffU
29052 #define V_CH1SIZE2(x) ((x) << S_CH1SIZE2)
29053 #define G_CH1SIZE2(x) (((x) >> S_CH1SIZE2) & M_CH1SIZE2)
29055 #define S_CH0SIZE2 0
29056 #define M_CH0SIZE2 0xffU
29057 #define V_CH0SIZE2(x) ((x) << S_CH0SIZE2)
29058 #define G_CH0SIZE2(x) (((x) >> S_CH0SIZE2) & M_CH0SIZE2)
29060 #define A_ULP_TX_ERR_MSG2CIM 0x8e00
29061 #define A_ULP_TX_ERR_TABLE_BASE 0x8e04
29062 #define A_ULP_TX_ERR_CNT_CH0 0x8e10
29064 #define S_ERR_CNT0 0
29065 #define M_ERR_CNT0 0xfffffU
29066 #define V_ERR_CNT0(x) ((x) << S_ERR_CNT0)
29067 #define G_ERR_CNT0(x) (((x) >> S_ERR_CNT0) & M_ERR_CNT0)
29069 #define A_ULP_TX_ERR_CNT_CH1 0x8e14
29071 #define S_ERR_CNT1 0
29072 #define M_ERR_CNT1 0xfffffU
29073 #define V_ERR_CNT1(x) ((x) << S_ERR_CNT1)
29074 #define G_ERR_CNT1(x) (((x) >> S_ERR_CNT1) & M_ERR_CNT1)
29076 #define A_ULP_TX_ERR_CNT_CH2 0x8e18
29078 #define S_ERR_CNT2 0
29079 #define M_ERR_CNT2 0xfffffU
29080 #define V_ERR_CNT2(x) ((x) << S_ERR_CNT2)
29081 #define G_ERR_CNT2(x) (((x) >> S_ERR_CNT2) & M_ERR_CNT2)
29083 #define A_ULP_TX_ERR_CNT_CH3 0x8e1c
29085 #define S_ERR_CNT3 0
29086 #define M_ERR_CNT3 0xfffffU
29087 #define V_ERR_CNT3(x) ((x) << S_ERR_CNT3)
29088 #define G_ERR_CNT3(x) (((x) >> S_ERR_CNT3) & M_ERR_CNT3)
29090 #define A_ULP_TX_FC_SOF 0x8e20
29092 #define S_SOF_FS3 24
29093 #define M_SOF_FS3 0xffU
29094 #define V_SOF_FS3(x) ((x) << S_SOF_FS3)
29095 #define G_SOF_FS3(x) (((x) >> S_SOF_FS3) & M_SOF_FS3)
29097 #define S_SOF_FS2 16
29098 #define M_SOF_FS2 0xffU
29099 #define V_SOF_FS2(x) ((x) << S_SOF_FS2)
29100 #define G_SOF_FS2(x) (((x) >> S_SOF_FS2) & M_SOF_FS2)
29103 #define M_SOF_3 0xffU
29104 #define V_SOF_3(x) ((x) << S_SOF_3)
29105 #define G_SOF_3(x) (((x) >> S_SOF_3) & M_SOF_3)
29108 #define M_SOF_2 0xffU
29109 #define V_SOF_2(x) ((x) << S_SOF_2)
29110 #define G_SOF_2(x) (((x) >> S_SOF_2) & M_SOF_2)
29112 #define A_ULP_TX_FC_EOF 0x8e24
29114 #define S_EOF_LS3 24
29115 #define M_EOF_LS3 0xffU
29116 #define V_EOF_LS3(x) ((x) << S_EOF_LS3)
29117 #define G_EOF_LS3(x) (((x) >> S_EOF_LS3) & M_EOF_LS3)
29119 #define S_EOF_LS2 16
29120 #define M_EOF_LS2 0xffU
29121 #define V_EOF_LS2(x) ((x) << S_EOF_LS2)
29122 #define G_EOF_LS2(x) (((x) >> S_EOF_LS2) & M_EOF_LS2)
29125 #define M_EOF_3 0xffU
29126 #define V_EOF_3(x) ((x) << S_EOF_3)
29127 #define G_EOF_3(x) (((x) >> S_EOF_3) & M_EOF_3)
29130 #define M_EOF_2 0xffU
29131 #define V_EOF_2(x) ((x) << S_EOF_2)
29132 #define G_EOF_2(x) (((x) >> S_EOF_2) & M_EOF_2)
29134 #define A_ULP_TX_CGEN_GLOBAL 0x8e28
29136 #define S_ULP_TX_GLOBAL_CGEN 0
29137 #define V_ULP_TX_GLOBAL_CGEN(x) ((x) << S_ULP_TX_GLOBAL_CGEN)
29138 #define F_ULP_TX_GLOBAL_CGEN V_ULP_TX_GLOBAL_CGEN(1U)
29140 #define A_ULP_TX_CGEN 0x8e2c
29142 #define S_ULP_TX_CGEN_STORAGE 8
29143 #define M_ULP_TX_CGEN_STORAGE 0xfU
29144 #define V_ULP_TX_CGEN_STORAGE(x) ((x) << S_ULP_TX_CGEN_STORAGE)
29145 #define G_ULP_TX_CGEN_STORAGE(x) (((x) >> S_ULP_TX_CGEN_STORAGE) & M_ULP_TX_CGEN_STORAGE)
29147 #define S_ULP_TX_CGEN_RDMA 4
29148 #define M_ULP_TX_CGEN_RDMA 0xfU
29149 #define V_ULP_TX_CGEN_RDMA(x) ((x) << S_ULP_TX_CGEN_RDMA)
29150 #define G_ULP_TX_CGEN_RDMA(x) (((x) >> S_ULP_TX_CGEN_RDMA) & M_ULP_TX_CGEN_RDMA)
29152 #define S_ULP_TX_CGEN_CHANNEL 0
29153 #define M_ULP_TX_CGEN_CHANNEL 0xfU
29154 #define V_ULP_TX_CGEN_CHANNEL(x) ((x) << S_ULP_TX_CGEN_CHANNEL)
29155 #define G_ULP_TX_CGEN_CHANNEL(x) (((x) >> S_ULP_TX_CGEN_CHANNEL) & M_ULP_TX_CGEN_CHANNEL)
29157 #define A_ULP_TX_ULP2TP_BIST_CMD 0x8e30
29158 #define A_ULP_TX_MEM_CFG 0x8e30
29160 #define S_WRREQ_SZ 0
29161 #define M_WRREQ_SZ 0x7U
29162 #define V_WRREQ_SZ(x) ((x) << S_WRREQ_SZ)
29163 #define G_WRREQ_SZ(x) (((x) >> S_WRREQ_SZ) & M_WRREQ_SZ)
29165 #define A_ULP_TX_ULP2TP_BIST_ERROR_CNT 0x8e34
29166 #define A_ULP_TX_PERR_INJECT_2 0x8e34
29168 #define S_T5_MEMSEL 1
29169 #define M_T5_MEMSEL 0x7U
29170 #define V_T5_MEMSEL(x) ((x) << S_T5_MEMSEL)
29171 #define G_T5_MEMSEL(x) (((x) >> S_T5_MEMSEL) & M_T5_MEMSEL)
29173 #define S_MEMSEL_ULPTX 1
29174 #define M_MEMSEL_ULPTX 0x1fU
29175 #define V_MEMSEL_ULPTX(x) ((x) << S_MEMSEL_ULPTX)
29176 #define G_MEMSEL_ULPTX(x) (((x) >> S_MEMSEL_ULPTX) & M_MEMSEL_ULPTX)
29178 #define A_ULP_TX_FPGA_CMD_CTRL 0x8e38
29179 #define A_ULP_TX_T5_FPGA_CMD_CTRL 0x8e38
29181 #define S_CHANNEL_SEL 12
29182 #define M_CHANNEL_SEL 0x3U
29183 #define V_CHANNEL_SEL(x) ((x) << S_CHANNEL_SEL)
29184 #define G_CHANNEL_SEL(x) (((x) >> S_CHANNEL_SEL) & M_CHANNEL_SEL)
29186 #define S_INTF_SEL 4
29187 #define M_INTF_SEL 0xfU
29188 #define V_INTF_SEL(x) ((x) << S_INTF_SEL)
29189 #define G_INTF_SEL(x) (((x) >> S_INTF_SEL) & M_INTF_SEL)
29191 #define S_NUM_FLITS 1
29192 #define M_NUM_FLITS 0x7U
29193 #define V_NUM_FLITS(x) ((x) << S_NUM_FLITS)
29194 #define G_NUM_FLITS(x) (((x) >> S_NUM_FLITS) & M_NUM_FLITS)
29196 #define S_CMD_GEN_EN 0
29197 #define V_CMD_GEN_EN(x) ((x) << S_CMD_GEN_EN)
29198 #define F_CMD_GEN_EN V_CMD_GEN_EN(1U)
29200 #define A_ULP_TX_FPGA_CMD_0 0x8e3c
29201 #define A_ULP_TX_T5_FPGA_CMD_0 0x8e3c
29202 #define A_ULP_TX_FPGA_CMD_1 0x8e40
29203 #define A_ULP_TX_T5_FPGA_CMD_1 0x8e40
29204 #define A_ULP_TX_FPGA_CMD_2 0x8e44
29205 #define A_ULP_TX_T5_FPGA_CMD_2 0x8e44
29206 #define A_ULP_TX_FPGA_CMD_3 0x8e48
29207 #define A_ULP_TX_T5_FPGA_CMD_3 0x8e48
29208 #define A_ULP_TX_FPGA_CMD_4 0x8e4c
29209 #define A_ULP_TX_T5_FPGA_CMD_4 0x8e4c
29210 #define A_ULP_TX_FPGA_CMD_5 0x8e50
29211 #define A_ULP_TX_T5_FPGA_CMD_5 0x8e50
29212 #define A_ULP_TX_FPGA_CMD_6 0x8e54
29213 #define A_ULP_TX_T5_FPGA_CMD_6 0x8e54
29214 #define A_ULP_TX_FPGA_CMD_7 0x8e58
29215 #define A_ULP_TX_T5_FPGA_CMD_7 0x8e58
29216 #define A_ULP_TX_FPGA_CMD_8 0x8e5c
29217 #define A_ULP_TX_T5_FPGA_CMD_8 0x8e5c
29218 #define A_ULP_TX_FPGA_CMD_9 0x8e60
29219 #define A_ULP_TX_T5_FPGA_CMD_9 0x8e60
29220 #define A_ULP_TX_FPGA_CMD_10 0x8e64
29221 #define A_ULP_TX_T5_FPGA_CMD_10 0x8e64
29222 #define A_ULP_TX_FPGA_CMD_11 0x8e68
29223 #define A_ULP_TX_T5_FPGA_CMD_11 0x8e68
29224 #define A_ULP_TX_FPGA_CMD_12 0x8e6c
29225 #define A_ULP_TX_T5_FPGA_CMD_12 0x8e6c
29226 #define A_ULP_TX_FPGA_CMD_13 0x8e70
29227 #define A_ULP_TX_T5_FPGA_CMD_13 0x8e70
29228 #define A_ULP_TX_FPGA_CMD_14 0x8e74
29229 #define A_ULP_TX_T5_FPGA_CMD_14 0x8e74
29230 #define A_ULP_TX_FPGA_CMD_15 0x8e78
29231 #define A_ULP_TX_T5_FPGA_CMD_15 0x8e78
29232 #define A_ULP_TX_INT_ENABLE_2 0x8e7c
29234 #define S_SMARBT2ULP_DATA_PERR_SET 12
29235 #define V_SMARBT2ULP_DATA_PERR_SET(x) ((x) << S_SMARBT2ULP_DATA_PERR_SET)
29236 #define F_SMARBT2ULP_DATA_PERR_SET V_SMARBT2ULP_DATA_PERR_SET(1U)
29238 #define S_ULP2TP_DATA_PERR_SET 11
29239 #define V_ULP2TP_DATA_PERR_SET(x) ((x) << S_ULP2TP_DATA_PERR_SET)
29240 #define F_ULP2TP_DATA_PERR_SET V_ULP2TP_DATA_PERR_SET(1U)
29242 #define S_MA2ULP_DATA_PERR_SET 10
29243 #define V_MA2ULP_DATA_PERR_SET(x) ((x) << S_MA2ULP_DATA_PERR_SET)
29244 #define F_MA2ULP_DATA_PERR_SET V_MA2ULP_DATA_PERR_SET(1U)
29246 #define S_SGE2ULP_DATA_PERR_SET 9
29247 #define V_SGE2ULP_DATA_PERR_SET(x) ((x) << S_SGE2ULP_DATA_PERR_SET)
29248 #define F_SGE2ULP_DATA_PERR_SET V_SGE2ULP_DATA_PERR_SET(1U)
29250 #define S_CIM2ULP_DATA_PERR_SET 8
29251 #define V_CIM2ULP_DATA_PERR_SET(x) ((x) << S_CIM2ULP_DATA_PERR_SET)
29252 #define F_CIM2ULP_DATA_PERR_SET V_CIM2ULP_DATA_PERR_SET(1U)
29254 #define S_FSO_HDR_SRAM_PERR_SET3 7
29255 #define V_FSO_HDR_SRAM_PERR_SET3(x) ((x) << S_FSO_HDR_SRAM_PERR_SET3)
29256 #define F_FSO_HDR_SRAM_PERR_SET3 V_FSO_HDR_SRAM_PERR_SET3(1U)
29258 #define S_FSO_HDR_SRAM_PERR_SET2 6
29259 #define V_FSO_HDR_SRAM_PERR_SET2(x) ((x) << S_FSO_HDR_SRAM_PERR_SET2)
29260 #define F_FSO_HDR_SRAM_PERR_SET2 V_FSO_HDR_SRAM_PERR_SET2(1U)
29262 #define S_FSO_HDR_SRAM_PERR_SET1 5
29263 #define V_FSO_HDR_SRAM_PERR_SET1(x) ((x) << S_FSO_HDR_SRAM_PERR_SET1)
29264 #define F_FSO_HDR_SRAM_PERR_SET1 V_FSO_HDR_SRAM_PERR_SET1(1U)
29266 #define S_FSO_HDR_SRAM_PERR_SET0 4
29267 #define V_FSO_HDR_SRAM_PERR_SET0(x) ((x) << S_FSO_HDR_SRAM_PERR_SET0)
29268 #define F_FSO_HDR_SRAM_PERR_SET0 V_FSO_HDR_SRAM_PERR_SET0(1U)
29270 #define S_T10_PI_SRAM_PERR_SET3 3
29271 #define V_T10_PI_SRAM_PERR_SET3(x) ((x) << S_T10_PI_SRAM_PERR_SET3)
29272 #define F_T10_PI_SRAM_PERR_SET3 V_T10_PI_SRAM_PERR_SET3(1U)
29274 #define S_T10_PI_SRAM_PERR_SET2 2
29275 #define V_T10_PI_SRAM_PERR_SET2(x) ((x) << S_T10_PI_SRAM_PERR_SET2)
29276 #define F_T10_PI_SRAM_PERR_SET2 V_T10_PI_SRAM_PERR_SET2(1U)
29278 #define S_T10_PI_SRAM_PERR_SET1 1
29279 #define V_T10_PI_SRAM_PERR_SET1(x) ((x) << S_T10_PI_SRAM_PERR_SET1)
29280 #define F_T10_PI_SRAM_PERR_SET1 V_T10_PI_SRAM_PERR_SET1(1U)
29282 #define S_T10_PI_SRAM_PERR_SET0 0
29283 #define V_T10_PI_SRAM_PERR_SET0(x) ((x) << S_T10_PI_SRAM_PERR_SET0)
29284 #define F_T10_PI_SRAM_PERR_SET0 V_T10_PI_SRAM_PERR_SET0(1U)
29286 #define S_EDMA_IN_FIFO_PERR_SET3 31
29287 #define V_EDMA_IN_FIFO_PERR_SET3(x) ((x) << S_EDMA_IN_FIFO_PERR_SET3)
29288 #define F_EDMA_IN_FIFO_PERR_SET3 V_EDMA_IN_FIFO_PERR_SET3(1U)
29290 #define S_EDMA_IN_FIFO_PERR_SET2 30
29291 #define V_EDMA_IN_FIFO_PERR_SET2(x) ((x) << S_EDMA_IN_FIFO_PERR_SET2)
29292 #define F_EDMA_IN_FIFO_PERR_SET2 V_EDMA_IN_FIFO_PERR_SET2(1U)
29294 #define S_EDMA_IN_FIFO_PERR_SET1 29
29295 #define V_EDMA_IN_FIFO_PERR_SET1(x) ((x) << S_EDMA_IN_FIFO_PERR_SET1)
29296 #define F_EDMA_IN_FIFO_PERR_SET1 V_EDMA_IN_FIFO_PERR_SET1(1U)
29298 #define S_EDMA_IN_FIFO_PERR_SET0 28
29299 #define V_EDMA_IN_FIFO_PERR_SET0(x) ((x) << S_EDMA_IN_FIFO_PERR_SET0)
29300 #define F_EDMA_IN_FIFO_PERR_SET0 V_EDMA_IN_FIFO_PERR_SET0(1U)
29302 #define S_ALIGN_CTL_FIFO_PERR_SET3 27
29303 #define V_ALIGN_CTL_FIFO_PERR_SET3(x) ((x) << S_ALIGN_CTL_FIFO_PERR_SET3)
29304 #define F_ALIGN_CTL_FIFO_PERR_SET3 V_ALIGN_CTL_FIFO_PERR_SET3(1U)
29306 #define S_ALIGN_CTL_FIFO_PERR_SET2 26
29307 #define V_ALIGN_CTL_FIFO_PERR_SET2(x) ((x) << S_ALIGN_CTL_FIFO_PERR_SET2)
29308 #define F_ALIGN_CTL_FIFO_PERR_SET2 V_ALIGN_CTL_FIFO_PERR_SET2(1U)
29310 #define S_ALIGN_CTL_FIFO_PERR_SET1 25
29311 #define V_ALIGN_CTL_FIFO_PERR_SET1(x) ((x) << S_ALIGN_CTL_FIFO_PERR_SET1)
29312 #define F_ALIGN_CTL_FIFO_PERR_SET1 V_ALIGN_CTL_FIFO_PERR_SET1(1U)
29314 #define S_ALIGN_CTL_FIFO_PERR_SET0 24
29315 #define V_ALIGN_CTL_FIFO_PERR_SET0(x) ((x) << S_ALIGN_CTL_FIFO_PERR_SET0)
29316 #define F_ALIGN_CTL_FIFO_PERR_SET0 V_ALIGN_CTL_FIFO_PERR_SET0(1U)
29318 #define S_SGE_FIFO_PERR_SET3 23
29319 #define V_SGE_FIFO_PERR_SET3(x) ((x) << S_SGE_FIFO_PERR_SET3)
29320 #define F_SGE_FIFO_PERR_SET3 V_SGE_FIFO_PERR_SET3(1U)
29322 #define S_SGE_FIFO_PERR_SET2 22
29323 #define V_SGE_FIFO_PERR_SET2(x) ((x) << S_SGE_FIFO_PERR_SET2)
29324 #define F_SGE_FIFO_PERR_SET2 V_SGE_FIFO_PERR_SET2(1U)
29326 #define S_SGE_FIFO_PERR_SET1 21
29327 #define V_SGE_FIFO_PERR_SET1(x) ((x) << S_SGE_FIFO_PERR_SET1)
29328 #define F_SGE_FIFO_PERR_SET1 V_SGE_FIFO_PERR_SET1(1U)
29330 #define S_SGE_FIFO_PERR_SET0 20
29331 #define V_SGE_FIFO_PERR_SET0(x) ((x) << S_SGE_FIFO_PERR_SET0)
29332 #define F_SGE_FIFO_PERR_SET0 V_SGE_FIFO_PERR_SET0(1U)
29334 #define S_STAG_FIFO_PERR_SET3 19
29335 #define V_STAG_FIFO_PERR_SET3(x) ((x) << S_STAG_FIFO_PERR_SET3)
29336 #define F_STAG_FIFO_PERR_SET3 V_STAG_FIFO_PERR_SET3(1U)
29338 #define S_STAG_FIFO_PERR_SET2 18
29339 #define V_STAG_FIFO_PERR_SET2(x) ((x) << S_STAG_FIFO_PERR_SET2)
29340 #define F_STAG_FIFO_PERR_SET2 V_STAG_FIFO_PERR_SET2(1U)
29342 #define S_STAG_FIFO_PERR_SET1 17
29343 #define V_STAG_FIFO_PERR_SET1(x) ((x) << S_STAG_FIFO_PERR_SET1)
29344 #define F_STAG_FIFO_PERR_SET1 V_STAG_FIFO_PERR_SET1(1U)
29346 #define S_STAG_FIFO_PERR_SET0 16
29347 #define V_STAG_FIFO_PERR_SET0(x) ((x) << S_STAG_FIFO_PERR_SET0)
29348 #define F_STAG_FIFO_PERR_SET0 V_STAG_FIFO_PERR_SET0(1U)
29350 #define S_MAP_FIFO_PERR_SET3 15
29351 #define V_MAP_FIFO_PERR_SET3(x) ((x) << S_MAP_FIFO_PERR_SET3)
29352 #define F_MAP_FIFO_PERR_SET3 V_MAP_FIFO_PERR_SET3(1U)
29354 #define S_MAP_FIFO_PERR_SET2 14
29355 #define V_MAP_FIFO_PERR_SET2(x) ((x) << S_MAP_FIFO_PERR_SET2)
29356 #define F_MAP_FIFO_PERR_SET2 V_MAP_FIFO_PERR_SET2(1U)
29358 #define S_MAP_FIFO_PERR_SET1 13
29359 #define V_MAP_FIFO_PERR_SET1(x) ((x) << S_MAP_FIFO_PERR_SET1)
29360 #define F_MAP_FIFO_PERR_SET1 V_MAP_FIFO_PERR_SET1(1U)
29362 #define S_MAP_FIFO_PERR_SET0 12
29363 #define V_MAP_FIFO_PERR_SET0(x) ((x) << S_MAP_FIFO_PERR_SET0)
29364 #define F_MAP_FIFO_PERR_SET0 V_MAP_FIFO_PERR_SET0(1U)
29366 #define S_DMA_FIFO_PERR_SET3 11
29367 #define V_DMA_FIFO_PERR_SET3(x) ((x) << S_DMA_FIFO_PERR_SET3)
29368 #define F_DMA_FIFO_PERR_SET3 V_DMA_FIFO_PERR_SET3(1U)
29370 #define S_DMA_FIFO_PERR_SET2 10
29371 #define V_DMA_FIFO_PERR_SET2(x) ((x) << S_DMA_FIFO_PERR_SET2)
29372 #define F_DMA_FIFO_PERR_SET2 V_DMA_FIFO_PERR_SET2(1U)
29374 #define S_DMA_FIFO_PERR_SET1 9
29375 #define V_DMA_FIFO_PERR_SET1(x) ((x) << S_DMA_FIFO_PERR_SET1)
29376 #define F_DMA_FIFO_PERR_SET1 V_DMA_FIFO_PERR_SET1(1U)
29378 #define S_DMA_FIFO_PERR_SET0 8
29379 #define V_DMA_FIFO_PERR_SET0(x) ((x) << S_DMA_FIFO_PERR_SET0)
29380 #define F_DMA_FIFO_PERR_SET0 V_DMA_FIFO_PERR_SET0(1U)
29382 #define A_ULP_TX_INT_CAUSE_2 0x8e80
29383 #define A_ULP_TX_PERR_ENABLE_2 0x8e84
29384 #define A_ULP_TX_SE_CNT_ERR 0x8ea0
29386 #define S_ERR_CH3 12
29387 #define M_ERR_CH3 0xfU
29388 #define V_ERR_CH3(x) ((x) << S_ERR_CH3)
29389 #define G_ERR_CH3(x) (((x) >> S_ERR_CH3) & M_ERR_CH3)
29391 #define S_ERR_CH2 8
29392 #define M_ERR_CH2 0xfU
29393 #define V_ERR_CH2(x) ((x) << S_ERR_CH2)
29394 #define G_ERR_CH2(x) (((x) >> S_ERR_CH2) & M_ERR_CH2)
29396 #define S_ERR_CH1 4
29397 #define M_ERR_CH1 0xfU
29398 #define V_ERR_CH1(x) ((x) << S_ERR_CH1)
29399 #define G_ERR_CH1(x) (((x) >> S_ERR_CH1) & M_ERR_CH1)
29401 #define S_ERR_CH0 0
29402 #define M_ERR_CH0 0xfU
29403 #define V_ERR_CH0(x) ((x) << S_ERR_CH0)
29404 #define G_ERR_CH0(x) (((x) >> S_ERR_CH0) & M_ERR_CH0)
29406 #define A_ULP_TX_T5_SE_CNT_ERR 0x8ea0
29407 #define A_ULP_TX_SE_CNT_CLR 0x8ea4
29409 #define S_CLR_DROP 16
29410 #define M_CLR_DROP 0xfU
29411 #define V_CLR_DROP(x) ((x) << S_CLR_DROP)
29412 #define G_CLR_DROP(x) (((x) >> S_CLR_DROP) & M_CLR_DROP)
29414 #define S_CLR_CH3 12
29415 #define M_CLR_CH3 0xfU
29416 #define V_CLR_CH3(x) ((x) << S_CLR_CH3)
29417 #define G_CLR_CH3(x) (((x) >> S_CLR_CH3) & M_CLR_CH3)
29419 #define S_CLR_CH2 8
29420 #define M_CLR_CH2 0xfU
29421 #define V_CLR_CH2(x) ((x) << S_CLR_CH2)
29422 #define G_CLR_CH2(x) (((x) >> S_CLR_CH2) & M_CLR_CH2)
29424 #define S_CLR_CH1 4
29425 #define M_CLR_CH1 0xfU
29426 #define V_CLR_CH1(x) ((x) << S_CLR_CH1)
29427 #define G_CLR_CH1(x) (((x) >> S_CLR_CH1) & M_CLR_CH1)
29429 #define S_CLR_CH0 0
29430 #define M_CLR_CH0 0xfU
29431 #define V_CLR_CH0(x) ((x) << S_CLR_CH0)
29432 #define G_CLR_CH0(x) (((x) >> S_CLR_CH0) & M_CLR_CH0)
29434 #define A_ULP_TX_T5_SE_CNT_CLR 0x8ea4
29435 #define A_ULP_TX_SE_CNT_CH0 0x8ea8
29437 #define S_SOP_CNT_ULP2TP 28
29438 #define M_SOP_CNT_ULP2TP 0xfU
29439 #define V_SOP_CNT_ULP2TP(x) ((x) << S_SOP_CNT_ULP2TP)
29440 #define G_SOP_CNT_ULP2TP(x) (((x) >> S_SOP_CNT_ULP2TP) & M_SOP_CNT_ULP2TP)
29442 #define S_EOP_CNT_ULP2TP 24
29443 #define M_EOP_CNT_ULP2TP 0xfU
29444 #define V_EOP_CNT_ULP2TP(x) ((x) << S_EOP_CNT_ULP2TP)
29445 #define G_EOP_CNT_ULP2TP(x) (((x) >> S_EOP_CNT_ULP2TP) & M_EOP_CNT_ULP2TP)
29447 #define S_SOP_CNT_LSO_IN 20
29448 #define M_SOP_CNT_LSO_IN 0xfU
29449 #define V_SOP_CNT_LSO_IN(x) ((x) << S_SOP_CNT_LSO_IN)
29450 #define G_SOP_CNT_LSO_IN(x) (((x) >> S_SOP_CNT_LSO_IN) & M_SOP_CNT_LSO_IN)
29452 #define S_EOP_CNT_LSO_IN 16
29453 #define M_EOP_CNT_LSO_IN 0xfU
29454 #define V_EOP_CNT_LSO_IN(x) ((x) << S_EOP_CNT_LSO_IN)
29455 #define G_EOP_CNT_LSO_IN(x) (((x) >> S_EOP_CNT_LSO_IN) & M_EOP_CNT_LSO_IN)
29457 #define S_SOP_CNT_ALG_IN 12
29458 #define M_SOP_CNT_ALG_IN 0xfU
29459 #define V_SOP_CNT_ALG_IN(x) ((x) << S_SOP_CNT_ALG_IN)
29460 #define G_SOP_CNT_ALG_IN(x) (((x) >> S_SOP_CNT_ALG_IN) & M_SOP_CNT_ALG_IN)
29462 #define S_EOP_CNT_ALG_IN 8
29463 #define M_EOP_CNT_ALG_IN 0xfU
29464 #define V_EOP_CNT_ALG_IN(x) ((x) << S_EOP_CNT_ALG_IN)
29465 #define G_EOP_CNT_ALG_IN(x) (((x) >> S_EOP_CNT_ALG_IN) & M_EOP_CNT_ALG_IN)
29467 #define S_SOP_CNT_CIM2ULP 4
29468 #define M_SOP_CNT_CIM2ULP 0xfU
29469 #define V_SOP_CNT_CIM2ULP(x) ((x) << S_SOP_CNT_CIM2ULP)
29470 #define G_SOP_CNT_CIM2ULP(x) (((x) >> S_SOP_CNT_CIM2ULP) & M_SOP_CNT_CIM2ULP)
29472 #define S_EOP_CNT_CIM2ULP 0
29473 #define M_EOP_CNT_CIM2ULP 0xfU
29474 #define V_EOP_CNT_CIM2ULP(x) ((x) << S_EOP_CNT_CIM2ULP)
29475 #define G_EOP_CNT_CIM2ULP(x) (((x) >> S_EOP_CNT_CIM2ULP) & M_EOP_CNT_CIM2ULP)
29477 #define A_ULP_TX_T5_SE_CNT_CH0 0x8ea8
29478 #define A_ULP_TX_SE_CNT_CH1 0x8eac
29479 #define A_ULP_TX_T5_SE_CNT_CH1 0x8eac
29480 #define A_ULP_TX_SE_CNT_CH2 0x8eb0
29481 #define A_ULP_TX_T5_SE_CNT_CH2 0x8eb0
29482 #define A_ULP_TX_SE_CNT_CH3 0x8eb4
29483 #define A_ULP_TX_T5_SE_CNT_CH3 0x8eb4
29484 #define A_ULP_TX_DROP_CNT 0x8eb8
29486 #define S_DROP_CH3 12
29487 #define M_DROP_CH3 0xfU
29488 #define V_DROP_CH3(x) ((x) << S_DROP_CH3)
29489 #define G_DROP_CH3(x) (((x) >> S_DROP_CH3) & M_DROP_CH3)
29491 #define S_DROP_CH2 8
29492 #define M_DROP_CH2 0xfU
29493 #define V_DROP_CH2(x) ((x) << S_DROP_CH2)
29494 #define G_DROP_CH2(x) (((x) >> S_DROP_CH2) & M_DROP_CH2)
29496 #define S_DROP_CH1 4
29497 #define M_DROP_CH1 0xfU
29498 #define V_DROP_CH1(x) ((x) << S_DROP_CH1)
29499 #define G_DROP_CH1(x) (((x) >> S_DROP_CH1) & M_DROP_CH1)
29501 #define S_DROP_CH0 0
29502 #define M_DROP_CH0 0xfU
29503 #define V_DROP_CH0(x) ((x) << S_DROP_CH0)
29504 #define G_DROP_CH0(x) (((x) >> S_DROP_CH0) & M_DROP_CH0)
29506 #define A_ULP_TX_T5_DROP_CNT 0x8eb8
29508 #define S_DROP_INVLD_MC_CH3 28
29509 #define M_DROP_INVLD_MC_CH3 0xfU
29510 #define V_DROP_INVLD_MC_CH3(x) ((x) << S_DROP_INVLD_MC_CH3)
29511 #define G_DROP_INVLD_MC_CH3(x) (((x) >> S_DROP_INVLD_MC_CH3) & M_DROP_INVLD_MC_CH3)
29513 #define S_DROP_INVLD_MC_CH2 24
29514 #define M_DROP_INVLD_MC_CH2 0xfU
29515 #define V_DROP_INVLD_MC_CH2(x) ((x) << S_DROP_INVLD_MC_CH2)
29516 #define G_DROP_INVLD_MC_CH2(x) (((x) >> S_DROP_INVLD_MC_CH2) & M_DROP_INVLD_MC_CH2)
29518 #define S_DROP_INVLD_MC_CH1 20
29519 #define M_DROP_INVLD_MC_CH1 0xfU
29520 #define V_DROP_INVLD_MC_CH1(x) ((x) << S_DROP_INVLD_MC_CH1)
29521 #define G_DROP_INVLD_MC_CH1(x) (((x) >> S_DROP_INVLD_MC_CH1) & M_DROP_INVLD_MC_CH1)
29523 #define S_DROP_INVLD_MC_CH0 16
29524 #define M_DROP_INVLD_MC_CH0 0xfU
29525 #define V_DROP_INVLD_MC_CH0(x) ((x) << S_DROP_INVLD_MC_CH0)
29526 #define G_DROP_INVLD_MC_CH0(x) (((x) >> S_DROP_INVLD_MC_CH0) & M_DROP_INVLD_MC_CH0)
29528 #define A_ULP_TX_CSU_REVISION 0x8ebc
29529 #define A_ULP_TX_LA_RDPTR_0 0x8ec0
29530 #define A_ULP_TX_LA_RDDATA_0 0x8ec4
29531 #define A_ULP_TX_LA_WRPTR_0 0x8ec8
29532 #define A_ULP_TX_LA_RESERVED_0 0x8ecc
29533 #define A_ULP_TX_LA_RDPTR_1 0x8ed0
29534 #define A_ULP_TX_LA_RDDATA_1 0x8ed4
29535 #define A_ULP_TX_LA_WRPTR_1 0x8ed8
29536 #define A_ULP_TX_LA_RESERVED_1 0x8edc
29537 #define A_ULP_TX_LA_RDPTR_2 0x8ee0
29538 #define A_ULP_TX_LA_RDDATA_2 0x8ee4
29539 #define A_ULP_TX_LA_WRPTR_2 0x8ee8
29540 #define A_ULP_TX_LA_RESERVED_2 0x8eec
29541 #define A_ULP_TX_LA_RDPTR_3 0x8ef0
29542 #define A_ULP_TX_LA_RDDATA_3 0x8ef4
29543 #define A_ULP_TX_LA_WRPTR_3 0x8ef8
29544 #define A_ULP_TX_LA_RESERVED_3 0x8efc
29545 #define A_ULP_TX_LA_RDPTR_4 0x8f00
29546 #define A_ULP_TX_LA_RDDATA_4 0x8f04
29547 #define A_ULP_TX_LA_WRPTR_4 0x8f08
29548 #define A_ULP_TX_LA_RESERVED_4 0x8f0c
29549 #define A_ULP_TX_LA_RDPTR_5 0x8f10
29550 #define A_ULP_TX_LA_RDDATA_5 0x8f14
29551 #define A_ULP_TX_LA_WRPTR_5 0x8f18
29552 #define A_ULP_TX_LA_RESERVED_5 0x8f1c
29553 #define A_ULP_TX_LA_RDPTR_6 0x8f20
29554 #define A_ULP_TX_LA_RDDATA_6 0x8f24
29555 #define A_ULP_TX_LA_WRPTR_6 0x8f28
29556 #define A_ULP_TX_LA_RESERVED_6 0x8f2c
29557 #define A_ULP_TX_LA_RDPTR_7 0x8f30
29558 #define A_ULP_TX_LA_RDDATA_7 0x8f34
29559 #define A_ULP_TX_LA_WRPTR_7 0x8f38
29560 #define A_ULP_TX_LA_RESERVED_7 0x8f3c
29561 #define A_ULP_TX_LA_RDPTR_8 0x8f40
29562 #define A_ULP_TX_LA_RDDATA_8 0x8f44
29563 #define A_ULP_TX_LA_WRPTR_8 0x8f48
29564 #define A_ULP_TX_LA_RESERVED_8 0x8f4c
29565 #define A_ULP_TX_LA_RDPTR_9 0x8f50
29566 #define A_ULP_TX_LA_RDDATA_9 0x8f54
29567 #define A_ULP_TX_LA_WRPTR_9 0x8f58
29568 #define A_ULP_TX_LA_RESERVED_9 0x8f5c
29569 #define A_ULP_TX_LA_RDPTR_10 0x8f60
29570 #define A_ULP_TX_LA_RDDATA_10 0x8f64
29571 #define A_ULP_TX_LA_WRPTR_10 0x8f68
29572 #define A_ULP_TX_LA_RESERVED_10 0x8f6c
29573 #define A_ULP_TX_ASIC_DEBUG_CTRL 0x8f70
29576 #define V_LA_WR0(x) ((x) << S_LA_WR0)
29577 #define F_LA_WR0 V_LA_WR0(1U)
29579 #define A_ULP_TX_ASIC_DEBUG_0 0x8f74
29580 #define A_ULP_TX_ASIC_DEBUG_1 0x8f78
29581 #define A_ULP_TX_ASIC_DEBUG_2 0x8f7c
29582 #define A_ULP_TX_ASIC_DEBUG_3 0x8f80
29583 #define A_ULP_TX_ASIC_DEBUG_4 0x8f84
29584 #define A_ULP_TX_CPL_TX_DATA_FLAGS_MASK 0x8f88
29586 #define S_BYPASS_FIRST 26
29587 #define V_BYPASS_FIRST(x) ((x) << S_BYPASS_FIRST)
29588 #define F_BYPASS_FIRST V_BYPASS_FIRST(1U)
29590 #define S_BYPASS_MIDDLE 25
29591 #define V_BYPASS_MIDDLE(x) ((x) << S_BYPASS_MIDDLE)
29592 #define F_BYPASS_MIDDLE V_BYPASS_MIDDLE(1U)
29594 #define S_BYPASS_LAST 24
29595 #define V_BYPASS_LAST(x) ((x) << S_BYPASS_LAST)
29596 #define F_BYPASS_LAST V_BYPASS_LAST(1U)
29598 #define S_PUSH_FIRST 22
29599 #define V_PUSH_FIRST(x) ((x) << S_PUSH_FIRST)
29600 #define F_PUSH_FIRST V_PUSH_FIRST(1U)
29602 #define S_PUSH_MIDDLE 21
29603 #define V_PUSH_MIDDLE(x) ((x) << S_PUSH_MIDDLE)
29604 #define F_PUSH_MIDDLE V_PUSH_MIDDLE(1U)
29606 #define S_PUSH_LAST 20
29607 #define V_PUSH_LAST(x) ((x) << S_PUSH_LAST)
29608 #define F_PUSH_LAST V_PUSH_LAST(1U)
29610 #define S_SAVE_FIRST 18
29611 #define V_SAVE_FIRST(x) ((x) << S_SAVE_FIRST)
29612 #define F_SAVE_FIRST V_SAVE_FIRST(1U)
29614 #define S_SAVE_MIDDLE 17
29615 #define V_SAVE_MIDDLE(x) ((x) << S_SAVE_MIDDLE)
29616 #define F_SAVE_MIDDLE V_SAVE_MIDDLE(1U)
29618 #define S_SAVE_LAST 16
29619 #define V_SAVE_LAST(x) ((x) << S_SAVE_LAST)
29620 #define F_SAVE_LAST V_SAVE_LAST(1U)
29622 #define S_FLUSH_FIRST 14
29623 #define V_FLUSH_FIRST(x) ((x) << S_FLUSH_FIRST)
29624 #define F_FLUSH_FIRST V_FLUSH_FIRST(1U)
29626 #define S_FLUSH_MIDDLE 13
29627 #define V_FLUSH_MIDDLE(x) ((x) << S_FLUSH_MIDDLE)
29628 #define F_FLUSH_MIDDLE V_FLUSH_MIDDLE(1U)
29630 #define S_FLUSH_LAST 12
29631 #define V_FLUSH_LAST(x) ((x) << S_FLUSH_LAST)
29632 #define F_FLUSH_LAST V_FLUSH_LAST(1U)
29634 #define S_URGENT_FIRST 10
29635 #define V_URGENT_FIRST(x) ((x) << S_URGENT_FIRST)
29636 #define F_URGENT_FIRST V_URGENT_FIRST(1U)
29638 #define S_URGENT_MIDDLE 9
29639 #define V_URGENT_MIDDLE(x) ((x) << S_URGENT_MIDDLE)
29640 #define F_URGENT_MIDDLE V_URGENT_MIDDLE(1U)
29642 #define S_URGENT_LAST 8
29643 #define V_URGENT_LAST(x) ((x) << S_URGENT_LAST)
29644 #define F_URGENT_LAST V_URGENT_LAST(1U)
29646 #define S_MORE_FIRST 6
29647 #define V_MORE_FIRST(x) ((x) << S_MORE_FIRST)
29648 #define F_MORE_FIRST V_MORE_FIRST(1U)
29650 #define S_MORE_MIDDLE 5
29651 #define V_MORE_MIDDLE(x) ((x) << S_MORE_MIDDLE)
29652 #define F_MORE_MIDDLE V_MORE_MIDDLE(1U)
29654 #define S_MORE_LAST 4
29655 #define V_MORE_LAST(x) ((x) << S_MORE_LAST)
29656 #define F_MORE_LAST V_MORE_LAST(1U)
29658 #define S_SHOVE_FIRST 2
29659 #define V_SHOVE_FIRST(x) ((x) << S_SHOVE_FIRST)
29660 #define F_SHOVE_FIRST V_SHOVE_FIRST(1U)
29662 #define S_SHOVE_MIDDLE 1
29663 #define V_SHOVE_MIDDLE(x) ((x) << S_SHOVE_MIDDLE)
29664 #define F_SHOVE_MIDDLE V_SHOVE_MIDDLE(1U)
29666 #define S_SHOVE_LAST 0
29667 #define V_SHOVE_LAST(x) ((x) << S_SHOVE_LAST)
29668 #define F_SHOVE_LAST V_SHOVE_LAST(1U)
29670 #define A_ULP_TX_TLS_IND_CMD 0x8fb8
29672 #define S_TLS_TX_REG_OFF_ADDR 0
29673 #define M_TLS_TX_REG_OFF_ADDR 0x3ffU
29674 #define V_TLS_TX_REG_OFF_ADDR(x) ((x) << S_TLS_TX_REG_OFF_ADDR)
29675 #define G_TLS_TX_REG_OFF_ADDR(x) (((x) >> S_TLS_TX_REG_OFF_ADDR) & M_TLS_TX_REG_OFF_ADDR)
29677 #define A_ULP_TX_TLS_IND_DATA 0x8fbc
29679 /* registers for module PM_RX */
29680 #define PM_RX_BASE_ADDR 0x8fc0
29682 #define A_PM_RX_CFG 0x8fc0
29683 #define A_PM_RX_MODE 0x8fc4
29685 #define S_RX_USE_BUNDLE_LEN 4
29686 #define V_RX_USE_BUNDLE_LEN(x) ((x) << S_RX_USE_BUNDLE_LEN)
29687 #define F_RX_USE_BUNDLE_LEN V_RX_USE_BUNDLE_LEN(1U)
29689 #define S_STAT_TO_CH 3
29690 #define V_STAT_TO_CH(x) ((x) << S_STAT_TO_CH)
29691 #define F_STAT_TO_CH V_STAT_TO_CH(1U)
29693 #define S_STAT_FROM_CH 1
29694 #define M_STAT_FROM_CH 0x3U
29695 #define V_STAT_FROM_CH(x) ((x) << S_STAT_FROM_CH)
29696 #define G_STAT_FROM_CH(x) (((x) >> S_STAT_FROM_CH) & M_STAT_FROM_CH)
29698 #define S_PREFETCH_ENABLE 0
29699 #define V_PREFETCH_ENABLE(x) ((x) << S_PREFETCH_ENABLE)
29700 #define F_PREFETCH_ENABLE V_PREFETCH_ENABLE(1U)
29702 #define A_PM_RX_STAT_CONFIG 0x8fc8
29703 #define A_PM_RX_STAT_COUNT 0x8fcc
29704 #define A_PM_RX_STAT_LSB 0x8fd0
29705 #define A_PM_RX_DBG_CTRL 0x8fd0
29707 #define S_OSPIWRBUSY_T5 21
29708 #define M_OSPIWRBUSY_T5 0x3U
29709 #define V_OSPIWRBUSY_T5(x) ((x) << S_OSPIWRBUSY_T5)
29710 #define G_OSPIWRBUSY_T5(x) (((x) >> S_OSPIWRBUSY_T5) & M_OSPIWRBUSY_T5)
29712 #define S_ISPIWRBUSY 17
29713 #define M_ISPIWRBUSY 0xfU
29714 #define V_ISPIWRBUSY(x) ((x) << S_ISPIWRBUSY)
29715 #define G_ISPIWRBUSY(x) (((x) >> S_ISPIWRBUSY) & M_ISPIWRBUSY)
29717 #define S_PMDBGADDR 0
29718 #define M_PMDBGADDR 0x1ffffU
29719 #define V_PMDBGADDR(x) ((x) << S_PMDBGADDR)
29720 #define G_PMDBGADDR(x) (((x) >> S_PMDBGADDR) & M_PMDBGADDR)
29722 #define A_PM_RX_STAT_MSB 0x8fd4
29723 #define A_PM_RX_DBG_DATA 0x8fd4
29724 #define A_PM_RX_INT_ENABLE 0x8fd8
29726 #define S_ZERO_E_CMD_ERROR 22
29727 #define V_ZERO_E_CMD_ERROR(x) ((x) << S_ZERO_E_CMD_ERROR)
29728 #define F_ZERO_E_CMD_ERROR V_ZERO_E_CMD_ERROR(1U)
29730 #define S_IESPI0_FIFO2X_RX_FRAMING_ERROR 21
29731 #define V_IESPI0_FIFO2X_RX_FRAMING_ERROR(x) ((x) << S_IESPI0_FIFO2X_RX_FRAMING_ERROR)
29732 #define F_IESPI0_FIFO2X_RX_FRAMING_ERROR V_IESPI0_FIFO2X_RX_FRAMING_ERROR(1U)
29734 #define S_IESPI1_FIFO2X_RX_FRAMING_ERROR 20
29735 #define V_IESPI1_FIFO2X_RX_FRAMING_ERROR(x) ((x) << S_IESPI1_FIFO2X_RX_FRAMING_ERROR)
29736 #define F_IESPI1_FIFO2X_RX_FRAMING_ERROR V_IESPI1_FIFO2X_RX_FRAMING_ERROR(1U)
29738 #define S_IESPI2_FIFO2X_RX_FRAMING_ERROR 19
29739 #define V_IESPI2_FIFO2X_RX_FRAMING_ERROR(x) ((x) << S_IESPI2_FIFO2X_RX_FRAMING_ERROR)
29740 #define F_IESPI2_FIFO2X_RX_FRAMING_ERROR V_IESPI2_FIFO2X_RX_FRAMING_ERROR(1U)
29742 #define S_IESPI3_FIFO2X_RX_FRAMING_ERROR 18
29743 #define V_IESPI3_FIFO2X_RX_FRAMING_ERROR(x) ((x) << S_IESPI3_FIFO2X_RX_FRAMING_ERROR)
29744 #define F_IESPI3_FIFO2X_RX_FRAMING_ERROR V_IESPI3_FIFO2X_RX_FRAMING_ERROR(1U)
29746 #define S_IESPI0_RX_FRAMING_ERROR 17
29747 #define V_IESPI0_RX_FRAMING_ERROR(x) ((x) << S_IESPI0_RX_FRAMING_ERROR)
29748 #define F_IESPI0_RX_FRAMING_ERROR V_IESPI0_RX_FRAMING_ERROR(1U)
29750 #define S_IESPI1_RX_FRAMING_ERROR 16
29751 #define V_IESPI1_RX_FRAMING_ERROR(x) ((x) << S_IESPI1_RX_FRAMING_ERROR)
29752 #define F_IESPI1_RX_FRAMING_ERROR V_IESPI1_RX_FRAMING_ERROR(1U)
29754 #define S_IESPI2_RX_FRAMING_ERROR 15
29755 #define V_IESPI2_RX_FRAMING_ERROR(x) ((x) << S_IESPI2_RX_FRAMING_ERROR)
29756 #define F_IESPI2_RX_FRAMING_ERROR V_IESPI2_RX_FRAMING_ERROR(1U)
29758 #define S_IESPI3_RX_FRAMING_ERROR 14
29759 #define V_IESPI3_RX_FRAMING_ERROR(x) ((x) << S_IESPI3_RX_FRAMING_ERROR)
29760 #define F_IESPI3_RX_FRAMING_ERROR V_IESPI3_RX_FRAMING_ERROR(1U)
29762 #define S_IESPI0_TX_FRAMING_ERROR 13
29763 #define V_IESPI0_TX_FRAMING_ERROR(x) ((x) << S_IESPI0_TX_FRAMING_ERROR)
29764 #define F_IESPI0_TX_FRAMING_ERROR V_IESPI0_TX_FRAMING_ERROR(1U)
29766 #define S_IESPI1_TX_FRAMING_ERROR 12
29767 #define V_IESPI1_TX_FRAMING_ERROR(x) ((x) << S_IESPI1_TX_FRAMING_ERROR)
29768 #define F_IESPI1_TX_FRAMING_ERROR V_IESPI1_TX_FRAMING_ERROR(1U)
29770 #define S_IESPI2_TX_FRAMING_ERROR 11
29771 #define V_IESPI2_TX_FRAMING_ERROR(x) ((x) << S_IESPI2_TX_FRAMING_ERROR)
29772 #define F_IESPI2_TX_FRAMING_ERROR V_IESPI2_TX_FRAMING_ERROR(1U)
29774 #define S_IESPI3_TX_FRAMING_ERROR 10
29775 #define V_IESPI3_TX_FRAMING_ERROR(x) ((x) << S_IESPI3_TX_FRAMING_ERROR)
29776 #define F_IESPI3_TX_FRAMING_ERROR V_IESPI3_TX_FRAMING_ERROR(1U)
29778 #define S_OCSPI0_RX_FRAMING_ERROR 9
29779 #define V_OCSPI0_RX_FRAMING_ERROR(x) ((x) << S_OCSPI0_RX_FRAMING_ERROR)
29780 #define F_OCSPI0_RX_FRAMING_ERROR V_OCSPI0_RX_FRAMING_ERROR(1U)
29782 #define S_OCSPI1_RX_FRAMING_ERROR 8
29783 #define V_OCSPI1_RX_FRAMING_ERROR(x) ((x) << S_OCSPI1_RX_FRAMING_ERROR)
29784 #define F_OCSPI1_RX_FRAMING_ERROR V_OCSPI1_RX_FRAMING_ERROR(1U)
29786 #define S_OCSPI0_TX_FRAMING_ERROR 7
29787 #define V_OCSPI0_TX_FRAMING_ERROR(x) ((x) << S_OCSPI0_TX_FRAMING_ERROR)
29788 #define F_OCSPI0_TX_FRAMING_ERROR V_OCSPI0_TX_FRAMING_ERROR(1U)
29790 #define S_OCSPI1_TX_FRAMING_ERROR 6
29791 #define V_OCSPI1_TX_FRAMING_ERROR(x) ((x) << S_OCSPI1_TX_FRAMING_ERROR)
29792 #define F_OCSPI1_TX_FRAMING_ERROR V_OCSPI1_TX_FRAMING_ERROR(1U)
29794 #define S_OCSPI0_OFIFO2X_TX_FRAMING_ERROR 5
29795 #define V_OCSPI0_OFIFO2X_TX_FRAMING_ERROR(x) ((x) << S_OCSPI0_OFIFO2X_TX_FRAMING_ERROR)
29796 #define F_OCSPI0_OFIFO2X_TX_FRAMING_ERROR V_OCSPI0_OFIFO2X_TX_FRAMING_ERROR(1U)
29798 #define S_OCSPI1_OFIFO2X_TX_FRAMING_ERROR 4
29799 #define V_OCSPI1_OFIFO2X_TX_FRAMING_ERROR(x) ((x) << S_OCSPI1_OFIFO2X_TX_FRAMING_ERROR)
29800 #define F_OCSPI1_OFIFO2X_TX_FRAMING_ERROR V_OCSPI1_OFIFO2X_TX_FRAMING_ERROR(1U)
29802 #define S_OCSPI_PAR_ERROR 3
29803 #define V_OCSPI_PAR_ERROR(x) ((x) << S_OCSPI_PAR_ERROR)
29804 #define F_OCSPI_PAR_ERROR V_OCSPI_PAR_ERROR(1U)
29806 #define S_DB_OPTIONS_PAR_ERROR 2
29807 #define V_DB_OPTIONS_PAR_ERROR(x) ((x) << S_DB_OPTIONS_PAR_ERROR)
29808 #define F_DB_OPTIONS_PAR_ERROR V_DB_OPTIONS_PAR_ERROR(1U)
29810 #define S_IESPI_PAR_ERROR 1
29811 #define V_IESPI_PAR_ERROR(x) ((x) << S_IESPI_PAR_ERROR)
29812 #define F_IESPI_PAR_ERROR V_IESPI_PAR_ERROR(1U)
29814 #define S_E_PCMD_PAR_ERROR 0
29815 #define V_E_PCMD_PAR_ERROR(x) ((x) << S_E_PCMD_PAR_ERROR)
29816 #define F_E_PCMD_PAR_ERROR V_E_PCMD_PAR_ERROR(1U)
29818 #define S_OSPI_OVERFLOW1 28
29819 #define V_OSPI_OVERFLOW1(x) ((x) << S_OSPI_OVERFLOW1)
29820 #define F_OSPI_OVERFLOW1 V_OSPI_OVERFLOW1(1U)
29822 #define S_OSPI_OVERFLOW0 27
29823 #define V_OSPI_OVERFLOW0(x) ((x) << S_OSPI_OVERFLOW0)
29824 #define F_OSPI_OVERFLOW0 V_OSPI_OVERFLOW0(1U)
29826 #define S_MA_INTF_SDC_ERR 26
29827 #define V_MA_INTF_SDC_ERR(x) ((x) << S_MA_INTF_SDC_ERR)
29828 #define F_MA_INTF_SDC_ERR V_MA_INTF_SDC_ERR(1U)
29830 #define S_BUNDLE_LEN_PARERR 25
29831 #define V_BUNDLE_LEN_PARERR(x) ((x) << S_BUNDLE_LEN_PARERR)
29832 #define F_BUNDLE_LEN_PARERR V_BUNDLE_LEN_PARERR(1U)
29834 #define S_BUNDLE_LEN_OVFL 24
29835 #define V_BUNDLE_LEN_OVFL(x) ((x) << S_BUNDLE_LEN_OVFL)
29836 #define F_BUNDLE_LEN_OVFL V_BUNDLE_LEN_OVFL(1U)
29838 #define S_SDC_ERR 23
29839 #define V_SDC_ERR(x) ((x) << S_SDC_ERR)
29840 #define F_SDC_ERR V_SDC_ERR(1U)
29842 #define A_PM_RX_INT_CAUSE 0x8fdc
29843 #define A_PM_RX_ISPI_DBG_4B_DATA0 0x10000
29844 #define A_PM_RX_ISPI_DBG_4B_DATA1 0x10001
29845 #define A_PM_RX_ISPI_DBG_4B_DATA2 0x10002
29846 #define A_PM_RX_ISPI_DBG_4B_DATA3 0x10003
29847 #define A_PM_RX_ISPI_DBG_4B_DATA4 0x10004
29848 #define A_PM_RX_ISPI_DBG_4B_DATA5 0x10005
29849 #define A_PM_RX_ISPI_DBG_4B_DATA6 0x10006
29850 #define A_PM_RX_ISPI_DBG_4B_DATA7 0x10007
29851 #define A_PM_RX_ISPI_DBG_4B_DATA8 0x10008
29852 #define A_PM_RX_OSPI_DBG_4B_DATA0 0x10009
29853 #define A_PM_RX_OSPI_DBG_4B_DATA1 0x1000a
29854 #define A_PM_RX_OSPI_DBG_4B_DATA2 0x1000b
29855 #define A_PM_RX_OSPI_DBG_4B_DATA3 0x1000c
29856 #define A_PM_RX_OSPI_DBG_4B_DATA4 0x1000d
29857 #define A_PM_RX_OSPI_DBG_4B_DATA5 0x1000e
29858 #define A_PM_RX_OSPI_DBG_4B_DATA6 0x1000f
29859 #define A_PM_RX_OSPI_DBG_4B_DATA7 0x10010
29860 #define A_PM_RX_OSPI_DBG_4B_DATA8 0x10011
29861 #define A_PM_RX_OSPI_DBG_4B_DATA9 0x10012
29862 #define A_PM_RX_DBG_STAT_MSB 0x10013
29863 #define A_PM_RX_DBG_STAT_LSB 0x10014
29864 #define A_PM_RX_DBG_RSVD_FLIT_CNT 0x10015
29866 #define S_I_TO_O_PATH_RSVD_FLIT_BACKUP 12
29867 #define M_I_TO_O_PATH_RSVD_FLIT_BACKUP 0xfU
29868 #define V_I_TO_O_PATH_RSVD_FLIT_BACKUP(x) ((x) << S_I_TO_O_PATH_RSVD_FLIT_BACKUP)
29869 #define G_I_TO_O_PATH_RSVD_FLIT_BACKUP(x) (((x) >> S_I_TO_O_PATH_RSVD_FLIT_BACKUP) & M_I_TO_O_PATH_RSVD_FLIT_BACKUP)
29871 #define S_I_TO_O_PATH_RSVD_FLIT 8
29872 #define M_I_TO_O_PATH_RSVD_FLIT 0xfU
29873 #define V_I_TO_O_PATH_RSVD_FLIT(x) ((x) << S_I_TO_O_PATH_RSVD_FLIT)
29874 #define G_I_TO_O_PATH_RSVD_FLIT(x) (((x) >> S_I_TO_O_PATH_RSVD_FLIT) & M_I_TO_O_PATH_RSVD_FLIT)
29876 #define S_PRFCH_RSVD_FLIT 4
29877 #define M_PRFCH_RSVD_FLIT 0xfU
29878 #define V_PRFCH_RSVD_FLIT(x) ((x) << S_PRFCH_RSVD_FLIT)
29879 #define G_PRFCH_RSVD_FLIT(x) (((x) >> S_PRFCH_RSVD_FLIT) & M_PRFCH_RSVD_FLIT)
29881 #define S_OSPI_RSVD_FLIT 0
29882 #define M_OSPI_RSVD_FLIT 0xfU
29883 #define V_OSPI_RSVD_FLIT(x) ((x) << S_OSPI_RSVD_FLIT)
29884 #define G_OSPI_RSVD_FLIT(x) (((x) >> S_OSPI_RSVD_FLIT) & M_OSPI_RSVD_FLIT)
29886 #define A_PM_RX_SDC_EN 0x10016
29889 #define V_SDC_EN(x) ((x) << S_SDC_EN)
29890 #define F_SDC_EN V_SDC_EN(1U)
29892 #define A_PM_RX_INOUT_FIFO_DBG_CHNL_SEL 0x10017
29894 #define S_CHNL_3_SEL 3
29895 #define V_CHNL_3_SEL(x) ((x) << S_CHNL_3_SEL)
29896 #define F_CHNL_3_SEL V_CHNL_3_SEL(1U)
29898 #define S_CHNL_2_SEL 2
29899 #define V_CHNL_2_SEL(x) ((x) << S_CHNL_2_SEL)
29900 #define F_CHNL_2_SEL V_CHNL_2_SEL(1U)
29902 #define S_CHNL_1_SEL 1
29903 #define V_CHNL_1_SEL(x) ((x) << S_CHNL_1_SEL)
29904 #define F_CHNL_1_SEL V_CHNL_1_SEL(1U)
29906 #define S_CHNL_0_SEL 0
29907 #define V_CHNL_0_SEL(x) ((x) << S_CHNL_0_SEL)
29908 #define F_CHNL_0_SEL V_CHNL_0_SEL(1U)
29910 #define A_PM_RX_INOUT_FIFO_DBG_WR 0x10018
29912 #define S_O_FIFO_WRITE 3
29913 #define V_O_FIFO_WRITE(x) ((x) << S_O_FIFO_WRITE)
29914 #define F_O_FIFO_WRITE V_O_FIFO_WRITE(1U)
29916 #define S_I_FIFO_WRITE 2
29917 #define V_I_FIFO_WRITE(x) ((x) << S_I_FIFO_WRITE)
29918 #define F_I_FIFO_WRITE V_I_FIFO_WRITE(1U)
29920 #define S_O_FIFO_READ 1
29921 #define V_O_FIFO_READ(x) ((x) << S_O_FIFO_READ)
29922 #define F_O_FIFO_READ V_O_FIFO_READ(1U)
29924 #define S_I_FIFO_READ 0
29925 #define V_I_FIFO_READ(x) ((x) << S_I_FIFO_READ)
29926 #define F_I_FIFO_READ V_I_FIFO_READ(1U)
29928 #define A_PM_RX_INPUT_FIFO_STR_FWD_EN 0x10019
29930 #define S_ISPI_STR_FWD_EN 0
29931 #define V_ISPI_STR_FWD_EN(x) ((x) << S_ISPI_STR_FWD_EN)
29932 #define F_ISPI_STR_FWD_EN V_ISPI_STR_FWD_EN(1U)
29934 #define A_PM_RX_PRFTCH_ACROSS_BNDLE_EN 0x1001a
29936 #define S_PRFTCH_ACROSS_BNDLE_EN 0
29937 #define V_PRFTCH_ACROSS_BNDLE_EN(x) ((x) << S_PRFTCH_ACROSS_BNDLE_EN)
29938 #define F_PRFTCH_ACROSS_BNDLE_EN V_PRFTCH_ACROSS_BNDLE_EN(1U)
29940 #define A_PM_RX_PRFTCH_WRR_ENABLE 0x1001b
29942 #define S_PRFTCH_WRR_ENABLE 0
29943 #define V_PRFTCH_WRR_ENABLE(x) ((x) << S_PRFTCH_WRR_ENABLE)
29944 #define F_PRFTCH_WRR_ENABLE V_PRFTCH_WRR_ENABLE(1U)
29946 #define A_PM_RX_PRFTCH_WRR_MAX_DEFICIT_CNT 0x1001c
29948 #define S_CHNL1_MAX_DEFICIT_CNT 16
29949 #define M_CHNL1_MAX_DEFICIT_CNT 0xffffU
29950 #define V_CHNL1_MAX_DEFICIT_CNT(x) ((x) << S_CHNL1_MAX_DEFICIT_CNT)
29951 #define G_CHNL1_MAX_DEFICIT_CNT(x) (((x) >> S_CHNL1_MAX_DEFICIT_CNT) & M_CHNL1_MAX_DEFICIT_CNT)
29953 #define S_CHNL0_MAX_DEFICIT_CNT 0
29954 #define M_CHNL0_MAX_DEFICIT_CNT 0xffffU
29955 #define V_CHNL0_MAX_DEFICIT_CNT(x) ((x) << S_CHNL0_MAX_DEFICIT_CNT)
29956 #define G_CHNL0_MAX_DEFICIT_CNT(x) (((x) >> S_CHNL0_MAX_DEFICIT_CNT) & M_CHNL0_MAX_DEFICIT_CNT)
29958 #define A_PM_RX_FEATURE_EN 0x1001d
29960 #define S_PIO_CH_DEFICIT_CTL_EN_RX 0
29961 #define V_PIO_CH_DEFICIT_CTL_EN_RX(x) ((x) << S_PIO_CH_DEFICIT_CTL_EN_RX)
29962 #define F_PIO_CH_DEFICIT_CTL_EN_RX V_PIO_CH_DEFICIT_CTL_EN_RX(1U)
29964 #define A_PM_RX_CH0_OSPI_DEFICIT_THRSHLD 0x1001e
29966 #define S_CH0_OSPI_DEFICIT_THRSHLD 0
29967 #define M_CH0_OSPI_DEFICIT_THRSHLD 0xfffU
29968 #define V_CH0_OSPI_DEFICIT_THRSHLD(x) ((x) << S_CH0_OSPI_DEFICIT_THRSHLD)
29969 #define G_CH0_OSPI_DEFICIT_THRSHLD(x) (((x) >> S_CH0_OSPI_DEFICIT_THRSHLD) & M_CH0_OSPI_DEFICIT_THRSHLD)
29971 #define A_PM_RX_CH1_OSPI_DEFICIT_THRSHLD 0x1001f
29973 #define S_CH1_OSPI_DEFICIT_THRSHLD 0
29974 #define M_CH1_OSPI_DEFICIT_THRSHLD 0xfffU
29975 #define V_CH1_OSPI_DEFICIT_THRSHLD(x) ((x) << S_CH1_OSPI_DEFICIT_THRSHLD)
29976 #define G_CH1_OSPI_DEFICIT_THRSHLD(x) (((x) >> S_CH1_OSPI_DEFICIT_THRSHLD) & M_CH1_OSPI_DEFICIT_THRSHLD)
29978 #define A_PM_RX_INT_CAUSE_MASK_HALT 0x10020
29979 #define A_PM_RX_DBG_STAT0 0x10021
29981 #define S_RX_RD_I_BUSY 29
29982 #define V_RX_RD_I_BUSY(x) ((x) << S_RX_RD_I_BUSY)
29983 #define F_RX_RD_I_BUSY V_RX_RD_I_BUSY(1U)
29985 #define S_RX_WR_TO_O_BUSY 28
29986 #define V_RX_WR_TO_O_BUSY(x) ((x) << S_RX_WR_TO_O_BUSY)
29987 #define F_RX_WR_TO_O_BUSY V_RX_WR_TO_O_BUSY(1U)
29989 #define S_RX_M_TO_O_BUSY 27
29990 #define V_RX_M_TO_O_BUSY(x) ((x) << S_RX_M_TO_O_BUSY)
29991 #define F_RX_M_TO_O_BUSY V_RX_M_TO_O_BUSY(1U)
29993 #define S_RX_I_TO_M_BUSY 26
29994 #define V_RX_I_TO_M_BUSY(x) ((x) << S_RX_I_TO_M_BUSY)
29995 #define F_RX_I_TO_M_BUSY V_RX_I_TO_M_BUSY(1U)
29997 #define S_RX_PCMD_FB_ONLY 25
29998 #define V_RX_PCMD_FB_ONLY(x) ((x) << S_RX_PCMD_FB_ONLY)
29999 #define F_RX_PCMD_FB_ONLY V_RX_PCMD_FB_ONLY(1U)
30001 #define S_RX_PCMD_MEM 24
30002 #define V_RX_PCMD_MEM(x) ((x) << S_RX_PCMD_MEM)
30003 #define F_RX_PCMD_MEM V_RX_PCMD_MEM(1U)
30005 #define S_RX_PCMD_BYPASS 23
30006 #define V_RX_PCMD_BYPASS(x) ((x) << S_RX_PCMD_BYPASS)
30007 #define F_RX_PCMD_BYPASS V_RX_PCMD_BYPASS(1U)
30009 #define S_RX_PCMD_EOP 22
30010 #define V_RX_PCMD_EOP(x) ((x) << S_RX_PCMD_EOP)
30011 #define F_RX_PCMD_EOP V_RX_PCMD_EOP(1U)
30013 #define S_RX_DUMPLICATE_PCMD_EOP 21
30014 #define V_RX_DUMPLICATE_PCMD_EOP(x) ((x) << S_RX_DUMPLICATE_PCMD_EOP)
30015 #define F_RX_DUMPLICATE_PCMD_EOP V_RX_DUMPLICATE_PCMD_EOP(1U)
30017 #define S_RX_PCMD_EOB 20
30018 #define V_RX_PCMD_EOB(x) ((x) << S_RX_PCMD_EOB)
30019 #define F_RX_PCMD_EOB V_RX_PCMD_EOB(1U)
30021 #define S_RX_PCMD_FB 16
30022 #define M_RX_PCMD_FB 0xfU
30023 #define V_RX_PCMD_FB(x) ((x) << S_RX_PCMD_FB)
30024 #define G_RX_PCMD_FB(x) (((x) >> S_RX_PCMD_FB) & M_RX_PCMD_FB)
30026 #define S_RX_PCMD_LEN 0
30027 #define M_RX_PCMD_LEN 0xffffU
30028 #define V_RX_PCMD_LEN(x) ((x) << S_RX_PCMD_LEN)
30029 #define G_RX_PCMD_LEN(x) (((x) >> S_RX_PCMD_LEN) & M_RX_PCMD_LEN)
30031 #define A_PM_RX_DBG_STAT1 0x10022
30033 #define S_RX_PCMD0_MEM 30
30034 #define V_RX_PCMD0_MEM(x) ((x) << S_RX_PCMD0_MEM)
30035 #define F_RX_PCMD0_MEM V_RX_PCMD0_MEM(1U)
30037 #define S_RX_FREE_OSPI_CNT0 18
30038 #define M_RX_FREE_OSPI_CNT0 0xfffU
30039 #define V_RX_FREE_OSPI_CNT0(x) ((x) << S_RX_FREE_OSPI_CNT0)
30040 #define G_RX_FREE_OSPI_CNT0(x) (((x) >> S_RX_FREE_OSPI_CNT0) & M_RX_FREE_OSPI_CNT0)
30042 #define S_RX_PCMD0_FLIT_LEN 6
30043 #define M_RX_PCMD0_FLIT_LEN 0xfffU
30044 #define V_RX_PCMD0_FLIT_LEN(x) ((x) << S_RX_PCMD0_FLIT_LEN)
30045 #define G_RX_PCMD0_FLIT_LEN(x) (((x) >> S_RX_PCMD0_FLIT_LEN) & M_RX_PCMD0_FLIT_LEN)
30047 #define S_RX_PCMD0_CMD 2
30048 #define M_RX_PCMD0_CMD 0xfU
30049 #define V_RX_PCMD0_CMD(x) ((x) << S_RX_PCMD0_CMD)
30050 #define G_RX_PCMD0_CMD(x) (((x) >> S_RX_PCMD0_CMD) & M_RX_PCMD0_CMD)
30052 #define S_RX_OFIFO_FULL0 1
30053 #define V_RX_OFIFO_FULL0(x) ((x) << S_RX_OFIFO_FULL0)
30054 #define F_RX_OFIFO_FULL0 V_RX_OFIFO_FULL0(1U)
30056 #define S_RX_PCMD0_BYPASS 0
30057 #define V_RX_PCMD0_BYPASS(x) ((x) << S_RX_PCMD0_BYPASS)
30058 #define F_RX_PCMD0_BYPASS V_RX_PCMD0_BYPASS(1U)
30060 #define A_PM_RX_DBG_STAT2 0x10023
30062 #define S_RX_PCMD1_MEM 30
30063 #define V_RX_PCMD1_MEM(x) ((x) << S_RX_PCMD1_MEM)
30064 #define F_RX_PCMD1_MEM V_RX_PCMD1_MEM(1U)
30066 #define S_RX_FREE_OSPI_CNT1 18
30067 #define M_RX_FREE_OSPI_CNT1 0xfffU
30068 #define V_RX_FREE_OSPI_CNT1(x) ((x) << S_RX_FREE_OSPI_CNT1)
30069 #define G_RX_FREE_OSPI_CNT1(x) (((x) >> S_RX_FREE_OSPI_CNT1) & M_RX_FREE_OSPI_CNT1)
30071 #define S_RX_PCMD1_FLIT_LEN 6
30072 #define M_RX_PCMD1_FLIT_LEN 0xfffU
30073 #define V_RX_PCMD1_FLIT_LEN(x) ((x) << S_RX_PCMD1_FLIT_LEN)
30074 #define G_RX_PCMD1_FLIT_LEN(x) (((x) >> S_RX_PCMD1_FLIT_LEN) & M_RX_PCMD1_FLIT_LEN)
30076 #define S_RX_PCMD1_CMD 2
30077 #define M_RX_PCMD1_CMD 0xfU
30078 #define V_RX_PCMD1_CMD(x) ((x) << S_RX_PCMD1_CMD)
30079 #define G_RX_PCMD1_CMD(x) (((x) >> S_RX_PCMD1_CMD) & M_RX_PCMD1_CMD)
30081 #define S_RX_OFIFO_FULL1 1
30082 #define V_RX_OFIFO_FULL1(x) ((x) << S_RX_OFIFO_FULL1)
30083 #define F_RX_OFIFO_FULL1 V_RX_OFIFO_FULL1(1U)
30085 #define S_RX_PCMD1_BYPASS 0
30086 #define V_RX_PCMD1_BYPASS(x) ((x) << S_RX_PCMD1_BYPASS)
30087 #define F_RX_PCMD1_BYPASS V_RX_PCMD1_BYPASS(1U)
30089 #define A_PM_RX_DBG_STAT3 0x10024
30091 #define S_RX_SET_PCMD_RES_RDY_RD 10
30092 #define M_RX_SET_PCMD_RES_RDY_RD 0x3U
30093 #define V_RX_SET_PCMD_RES_RDY_RD(x) ((x) << S_RX_SET_PCMD_RES_RDY_RD)
30094 #define G_RX_SET_PCMD_RES_RDY_RD(x) (((x) >> S_RX_SET_PCMD_RES_RDY_RD) & M_RX_SET_PCMD_RES_RDY_RD)
30096 #define S_RX_ISSUED_PREFETCH_RD_E_CLR 8
30097 #define M_RX_ISSUED_PREFETCH_RD_E_CLR 0x3U
30098 #define V_RX_ISSUED_PREFETCH_RD_E_CLR(x) ((x) << S_RX_ISSUED_PREFETCH_RD_E_CLR)
30099 #define G_RX_ISSUED_PREFETCH_RD_E_CLR(x) (((x) >> S_RX_ISSUED_PREFETCH_RD_E_CLR) & M_RX_ISSUED_PREFETCH_RD_E_CLR)
30101 #define S_RX_ISSUED_PREFETCH_RD 6
30102 #define M_RX_ISSUED_PREFETCH_RD 0x3U
30103 #define V_RX_ISSUED_PREFETCH_RD(x) ((x) << S_RX_ISSUED_PREFETCH_RD)
30104 #define G_RX_ISSUED_PREFETCH_RD(x) (((x) >> S_RX_ISSUED_PREFETCH_RD) & M_RX_ISSUED_PREFETCH_RD)
30106 #define S_RX_PCMD_RES_RDY 4
30107 #define M_RX_PCMD_RES_RDY 0x3U
30108 #define V_RX_PCMD_RES_RDY(x) ((x) << S_RX_PCMD_RES_RDY)
30109 #define G_RX_PCMD_RES_RDY(x) (((x) >> S_RX_PCMD_RES_RDY) & M_RX_PCMD_RES_RDY)
30111 #define S_RX_DB_VLD 3
30112 #define V_RX_DB_VLD(x) ((x) << S_RX_DB_VLD)
30113 #define F_RX_DB_VLD V_RX_DB_VLD(1U)
30115 #define S_RX_FIRST_BUNDLE 1
30116 #define M_RX_FIRST_BUNDLE 0x3U
30117 #define V_RX_FIRST_BUNDLE(x) ((x) << S_RX_FIRST_BUNDLE)
30118 #define G_RX_FIRST_BUNDLE(x) (((x) >> S_RX_FIRST_BUNDLE) & M_RX_FIRST_BUNDLE)
30120 #define S_RX_SDC_DRDY 0
30121 #define V_RX_SDC_DRDY(x) ((x) << S_RX_SDC_DRDY)
30122 #define F_RX_SDC_DRDY V_RX_SDC_DRDY(1U)
30124 #define A_PM_RX_DBG_STAT4 0x10025
30126 #define S_RX_PCMD_VLD 26
30127 #define V_RX_PCMD_VLD(x) ((x) << S_RX_PCMD_VLD)
30128 #define F_RX_PCMD_VLD V_RX_PCMD_VLD(1U)
30130 #define S_RX_PCMD_TO_CH 25
30131 #define V_RX_PCMD_TO_CH(x) ((x) << S_RX_PCMD_TO_CH)
30132 #define F_RX_PCMD_TO_CH V_RX_PCMD_TO_CH(1U)
30134 #define S_RX_PCMD_FROM_CH 23
30135 #define M_RX_PCMD_FROM_CH 0x3U
30136 #define V_RX_PCMD_FROM_CH(x) ((x) << S_RX_PCMD_FROM_CH)
30137 #define G_RX_PCMD_FROM_CH(x) (((x) >> S_RX_PCMD_FROM_CH) & M_RX_PCMD_FROM_CH)
30139 #define S_RX_LINE 18
30140 #define M_RX_LINE 0x1fU
30141 #define V_RX_LINE(x) ((x) << S_RX_LINE)
30142 #define G_RX_LINE(x) (((x) >> S_RX_LINE) & M_RX_LINE)
30144 #define S_RX_IESPI_TXVALID 14
30145 #define M_RX_IESPI_TXVALID 0xfU
30146 #define V_RX_IESPI_TXVALID(x) ((x) << S_RX_IESPI_TXVALID)
30147 #define G_RX_IESPI_TXVALID(x) (((x) >> S_RX_IESPI_TXVALID) & M_RX_IESPI_TXVALID)
30149 #define S_RX_IESPI_TXFULL 10
30150 #define M_RX_IESPI_TXFULL 0xfU
30151 #define V_RX_IESPI_TXFULL(x) ((x) << S_RX_IESPI_TXFULL)
30152 #define G_RX_IESPI_TXFULL(x) (((x) >> S_RX_IESPI_TXFULL) & M_RX_IESPI_TXFULL)
30154 #define S_RX_PCMD_SRDY 8
30155 #define M_RX_PCMD_SRDY 0x3U
30156 #define V_RX_PCMD_SRDY(x) ((x) << S_RX_PCMD_SRDY)
30157 #define G_RX_PCMD_SRDY(x) (((x) >> S_RX_PCMD_SRDY) & M_RX_PCMD_SRDY)
30159 #define S_RX_PCMD_DRDY 6
30160 #define M_RX_PCMD_DRDY 0x3U
30161 #define V_RX_PCMD_DRDY(x) ((x) << S_RX_PCMD_DRDY)
30162 #define G_RX_PCMD_DRDY(x) (((x) >> S_RX_PCMD_DRDY) & M_RX_PCMD_DRDY)
30164 #define S_RX_PCMD_CMD 2
30165 #define M_RX_PCMD_CMD 0xfU
30166 #define V_RX_PCMD_CMD(x) ((x) << S_RX_PCMD_CMD)
30167 #define G_RX_PCMD_CMD(x) (((x) >> S_RX_PCMD_CMD) & M_RX_PCMD_CMD)
30169 #define S_DUPLICATE 0
30170 #define M_DUPLICATE 0x3U
30171 #define V_DUPLICATE(x) ((x) << S_DUPLICATE)
30172 #define G_DUPLICATE(x) (((x) >> S_DUPLICATE) & M_DUPLICATE)
30174 #define S_RX_PCMD_SRDY_STAT4 8
30175 #define M_RX_PCMD_SRDY_STAT4 0x3U
30176 #define V_RX_PCMD_SRDY_STAT4(x) ((x) << S_RX_PCMD_SRDY_STAT4)
30177 #define G_RX_PCMD_SRDY_STAT4(x) (((x) >> S_RX_PCMD_SRDY_STAT4) & M_RX_PCMD_SRDY_STAT4)
30179 #define S_RX_PCMD_DRDY_STAT4 6
30180 #define M_RX_PCMD_DRDY_STAT4 0x3U
30181 #define V_RX_PCMD_DRDY_STAT4(x) ((x) << S_RX_PCMD_DRDY_STAT4)
30182 #define G_RX_PCMD_DRDY_STAT4(x) (((x) >> S_RX_PCMD_DRDY_STAT4) & M_RX_PCMD_DRDY_STAT4)
30184 #define A_PM_RX_DBG_STAT5 0x10026
30186 #define S_RX_ATLST_1_PCMD_CH1 29
30187 #define V_RX_ATLST_1_PCMD_CH1(x) ((x) << S_RX_ATLST_1_PCMD_CH1)
30188 #define F_RX_ATLST_1_PCMD_CH1 V_RX_ATLST_1_PCMD_CH1(1U)
30190 #define S_RX_ATLST_1_PCMD_CH0 28
30191 #define V_RX_ATLST_1_PCMD_CH0(x) ((x) << S_RX_ATLST_1_PCMD_CH0)
30192 #define F_RX_ATLST_1_PCMD_CH0 V_RX_ATLST_1_PCMD_CH0(1U)
30194 #define S_T5_RX_PCMD_DRDY 26
30195 #define M_T5_RX_PCMD_DRDY 0x3U
30196 #define V_T5_RX_PCMD_DRDY(x) ((x) << S_T5_RX_PCMD_DRDY)
30197 #define G_T5_RX_PCMD_DRDY(x) (((x) >> S_T5_RX_PCMD_DRDY) & M_T5_RX_PCMD_DRDY)
30199 #define S_T5_RX_PCMD_SRDY 24
30200 #define M_T5_RX_PCMD_SRDY 0x3U
30201 #define V_T5_RX_PCMD_SRDY(x) ((x) << S_T5_RX_PCMD_SRDY)
30202 #define G_T5_RX_PCMD_SRDY(x) (((x) >> S_T5_RX_PCMD_SRDY) & M_T5_RX_PCMD_SRDY)
30204 #define S_RX_ISPI_TXVALID 20
30205 #define M_RX_ISPI_TXVALID 0xfU
30206 #define V_RX_ISPI_TXVALID(x) ((x) << S_RX_ISPI_TXVALID)
30207 #define G_RX_ISPI_TXVALID(x) (((x) >> S_RX_ISPI_TXVALID) & M_RX_ISPI_TXVALID)
30209 #define S_RX_ISPI_FULL 16
30210 #define M_RX_ISPI_FULL 0xfU
30211 #define V_RX_ISPI_FULL(x) ((x) << S_RX_ISPI_FULL)
30212 #define G_RX_ISPI_FULL(x) (((x) >> S_RX_ISPI_FULL) & M_RX_ISPI_FULL)
30214 #define S_RX_OSPI_TXVALID 14
30215 #define M_RX_OSPI_TXVALID 0x3U
30216 #define V_RX_OSPI_TXVALID(x) ((x) << S_RX_OSPI_TXVALID)
30217 #define G_RX_OSPI_TXVALID(x) (((x) >> S_RX_OSPI_TXVALID) & M_RX_OSPI_TXVALID)
30219 #define S_RX_OSPI_FULL 12
30220 #define M_RX_OSPI_FULL 0x3U
30221 #define V_RX_OSPI_FULL(x) ((x) << S_RX_OSPI_FULL)
30222 #define G_RX_OSPI_FULL(x) (((x) >> S_RX_OSPI_FULL) & M_RX_OSPI_FULL)
30224 #define S_RX_E_RXVALID 8
30225 #define M_RX_E_RXVALID 0xfU
30226 #define V_RX_E_RXVALID(x) ((x) << S_RX_E_RXVALID)
30227 #define G_RX_E_RXVALID(x) (((x) >> S_RX_E_RXVALID) & M_RX_E_RXVALID)
30229 #define S_RX_E_RXAFULL 4
30230 #define M_RX_E_RXAFULL 0xfU
30231 #define V_RX_E_RXAFULL(x) ((x) << S_RX_E_RXAFULL)
30232 #define G_RX_E_RXAFULL(x) (((x) >> S_RX_E_RXAFULL) & M_RX_E_RXAFULL)
30234 #define S_RX_C_TXVALID 2
30235 #define M_RX_C_TXVALID 0x3U
30236 #define V_RX_C_TXVALID(x) ((x) << S_RX_C_TXVALID)
30237 #define G_RX_C_TXVALID(x) (((x) >> S_RX_C_TXVALID) & M_RX_C_TXVALID)
30239 #define S_RX_C_TXAFULL 0
30240 #define M_RX_C_TXAFULL 0x3U
30241 #define V_RX_C_TXAFULL(x) ((x) << S_RX_C_TXAFULL)
30242 #define G_RX_C_TXAFULL(x) (((x) >> S_RX_C_TXAFULL) & M_RX_C_TXAFULL)
30244 #define S_T6_RX_PCMD_DRDY 26
30245 #define M_T6_RX_PCMD_DRDY 0x3U
30246 #define V_T6_RX_PCMD_DRDY(x) ((x) << S_T6_RX_PCMD_DRDY)
30247 #define G_T6_RX_PCMD_DRDY(x) (((x) >> S_T6_RX_PCMD_DRDY) & M_T6_RX_PCMD_DRDY)
30249 #define S_T6_RX_PCMD_SRDY 24
30250 #define M_T6_RX_PCMD_SRDY 0x3U
30251 #define V_T6_RX_PCMD_SRDY(x) ((x) << S_T6_RX_PCMD_SRDY)
30252 #define G_T6_RX_PCMD_SRDY(x) (((x) >> S_T6_RX_PCMD_SRDY) & M_T6_RX_PCMD_SRDY)
30254 #define A_PM_RX_DBG_STAT6 0x10027
30256 #define S_RX_M_INTRNL_FIFO_CNT 4
30257 #define M_RX_M_INTRNL_FIFO_CNT 0x3U
30258 #define V_RX_M_INTRNL_FIFO_CNT(x) ((x) << S_RX_M_INTRNL_FIFO_CNT)
30259 #define G_RX_M_INTRNL_FIFO_CNT(x) (((x) >> S_RX_M_INTRNL_FIFO_CNT) & M_RX_M_INTRNL_FIFO_CNT)
30261 #define S_RX_M_REQADDRRDY 3
30262 #define V_RX_M_REQADDRRDY(x) ((x) << S_RX_M_REQADDRRDY)
30263 #define F_RX_M_REQADDRRDY V_RX_M_REQADDRRDY(1U)
30265 #define S_RX_M_REQWRITE 2
30266 #define V_RX_M_REQWRITE(x) ((x) << S_RX_M_REQWRITE)
30267 #define F_RX_M_REQWRITE V_RX_M_REQWRITE(1U)
30269 #define S_RX_M_REQDATAVLD 1
30270 #define V_RX_M_REQDATAVLD(x) ((x) << S_RX_M_REQDATAVLD)
30271 #define F_RX_M_REQDATAVLD V_RX_M_REQDATAVLD(1U)
30273 #define S_RX_M_REQDATARDY 0
30274 #define V_RX_M_REQDATARDY(x) ((x) << S_RX_M_REQDATARDY)
30275 #define F_RX_M_REQDATARDY V_RX_M_REQDATARDY(1U)
30277 #define S_T6_RX_M_INTRNL_FIFO_CNT 7
30278 #define M_T6_RX_M_INTRNL_FIFO_CNT 0x3U
30279 #define V_T6_RX_M_INTRNL_FIFO_CNT(x) ((x) << S_T6_RX_M_INTRNL_FIFO_CNT)
30280 #define G_T6_RX_M_INTRNL_FIFO_CNT(x) (((x) >> S_T6_RX_M_INTRNL_FIFO_CNT) & M_T6_RX_M_INTRNL_FIFO_CNT)
30282 #define S_RX_M_RSPVLD 6
30283 #define V_RX_M_RSPVLD(x) ((x) << S_RX_M_RSPVLD)
30284 #define F_RX_M_RSPVLD V_RX_M_RSPVLD(1U)
30286 #define S_RX_M_RSPRDY 5
30287 #define V_RX_M_RSPRDY(x) ((x) << S_RX_M_RSPRDY)
30288 #define F_RX_M_RSPRDY V_RX_M_RSPRDY(1U)
30290 #define S_RX_M_REQADDRVLD 4
30291 #define V_RX_M_REQADDRVLD(x) ((x) << S_RX_M_REQADDRVLD)
30292 #define F_RX_M_REQADDRVLD V_RX_M_REQADDRVLD(1U)
30294 #define A_PM_RX_DBG_STAT7 0x10028
30296 #define S_RX_PCMD1_FREE_CNT 7
30297 #define M_RX_PCMD1_FREE_CNT 0x7fU
30298 #define V_RX_PCMD1_FREE_CNT(x) ((x) << S_RX_PCMD1_FREE_CNT)
30299 #define G_RX_PCMD1_FREE_CNT(x) (((x) >> S_RX_PCMD1_FREE_CNT) & M_RX_PCMD1_FREE_CNT)
30301 #define S_RX_PCMD0_FREE_CNT 0
30302 #define M_RX_PCMD0_FREE_CNT 0x7fU
30303 #define V_RX_PCMD0_FREE_CNT(x) ((x) << S_RX_PCMD0_FREE_CNT)
30304 #define G_RX_PCMD0_FREE_CNT(x) (((x) >> S_RX_PCMD0_FREE_CNT) & M_RX_PCMD0_FREE_CNT)
30306 #define A_PM_RX_DBG_STAT8 0x10029
30308 #define S_RX_IN_EOP_CNT3 28
30309 #define M_RX_IN_EOP_CNT3 0xfU
30310 #define V_RX_IN_EOP_CNT3(x) ((x) << S_RX_IN_EOP_CNT3)
30311 #define G_RX_IN_EOP_CNT3(x) (((x) >> S_RX_IN_EOP_CNT3) & M_RX_IN_EOP_CNT3)
30313 #define S_RX_IN_EOP_CNT2 24
30314 #define M_RX_IN_EOP_CNT2 0xfU
30315 #define V_RX_IN_EOP_CNT2(x) ((x) << S_RX_IN_EOP_CNT2)
30316 #define G_RX_IN_EOP_CNT2(x) (((x) >> S_RX_IN_EOP_CNT2) & M_RX_IN_EOP_CNT2)
30318 #define S_RX_IN_EOP_CNT1 20
30319 #define M_RX_IN_EOP_CNT1 0xfU
30320 #define V_RX_IN_EOP_CNT1(x) ((x) << S_RX_IN_EOP_CNT1)
30321 #define G_RX_IN_EOP_CNT1(x) (((x) >> S_RX_IN_EOP_CNT1) & M_RX_IN_EOP_CNT1)
30323 #define S_RX_IN_EOP_CNT0 16
30324 #define M_RX_IN_EOP_CNT0 0xfU
30325 #define V_RX_IN_EOP_CNT0(x) ((x) << S_RX_IN_EOP_CNT0)
30326 #define G_RX_IN_EOP_CNT0(x) (((x) >> S_RX_IN_EOP_CNT0) & M_RX_IN_EOP_CNT0)
30328 #define S_RX_IN_SOP_CNT3 12
30329 #define M_RX_IN_SOP_CNT3 0xfU
30330 #define V_RX_IN_SOP_CNT3(x) ((x) << S_RX_IN_SOP_CNT3)
30331 #define G_RX_IN_SOP_CNT3(x) (((x) >> S_RX_IN_SOP_CNT3) & M_RX_IN_SOP_CNT3)
30333 #define S_RX_IN_SOP_CNT2 8
30334 #define M_RX_IN_SOP_CNT2 0xfU
30335 #define V_RX_IN_SOP_CNT2(x) ((x) << S_RX_IN_SOP_CNT2)
30336 #define G_RX_IN_SOP_CNT2(x) (((x) >> S_RX_IN_SOP_CNT2) & M_RX_IN_SOP_CNT2)
30338 #define S_RX_IN_SOP_CNT1 4
30339 #define M_RX_IN_SOP_CNT1 0xfU
30340 #define V_RX_IN_SOP_CNT1(x) ((x) << S_RX_IN_SOP_CNT1)
30341 #define G_RX_IN_SOP_CNT1(x) (((x) >> S_RX_IN_SOP_CNT1) & M_RX_IN_SOP_CNT1)
30343 #define S_RX_IN_SOP_CNT0 0
30344 #define M_RX_IN_SOP_CNT0 0xfU
30345 #define V_RX_IN_SOP_CNT0(x) ((x) << S_RX_IN_SOP_CNT0)
30346 #define G_RX_IN_SOP_CNT0(x) (((x) >> S_RX_IN_SOP_CNT0) & M_RX_IN_SOP_CNT0)
30348 #define A_PM_RX_DBG_STAT9 0x1002a
30350 #define S_RX_RSVD0 28
30351 #define M_RX_RSVD0 0xfU
30352 #define V_RX_RSVD0(x) ((x) << S_RX_RSVD0)
30353 #define G_RX_RSVD0(x) (((x) >> S_RX_RSVD0) & M_RX_RSVD0)
30355 #define S_RX_RSVD1 24
30356 #define M_RX_RSVD1 0xfU
30357 #define V_RX_RSVD1(x) ((x) << S_RX_RSVD1)
30358 #define G_RX_RSVD1(x) (((x) >> S_RX_RSVD1) & M_RX_RSVD1)
30360 #define S_RX_OUT_EOP_CNT1 20
30361 #define M_RX_OUT_EOP_CNT1 0xfU
30362 #define V_RX_OUT_EOP_CNT1(x) ((x) << S_RX_OUT_EOP_CNT1)
30363 #define G_RX_OUT_EOP_CNT1(x) (((x) >> S_RX_OUT_EOP_CNT1) & M_RX_OUT_EOP_CNT1)
30365 #define S_RX_OUT_EOP_CNT0 16
30366 #define M_RX_OUT_EOP_CNT0 0xfU
30367 #define V_RX_OUT_EOP_CNT0(x) ((x) << S_RX_OUT_EOP_CNT0)
30368 #define G_RX_OUT_EOP_CNT0(x) (((x) >> S_RX_OUT_EOP_CNT0) & M_RX_OUT_EOP_CNT0)
30370 #define S_RX_RSVD2 12
30371 #define M_RX_RSVD2 0xfU
30372 #define V_RX_RSVD2(x) ((x) << S_RX_RSVD2)
30373 #define G_RX_RSVD2(x) (((x) >> S_RX_RSVD2) & M_RX_RSVD2)
30375 #define S_RX_RSVD3 8
30376 #define M_RX_RSVD3 0xfU
30377 #define V_RX_RSVD3(x) ((x) << S_RX_RSVD3)
30378 #define G_RX_RSVD3(x) (((x) >> S_RX_RSVD3) & M_RX_RSVD3)
30380 #define S_RX_OUT_SOP_CNT1 4
30381 #define M_RX_OUT_SOP_CNT1 0xfU
30382 #define V_RX_OUT_SOP_CNT1(x) ((x) << S_RX_OUT_SOP_CNT1)
30383 #define G_RX_OUT_SOP_CNT1(x) (((x) >> S_RX_OUT_SOP_CNT1) & M_RX_OUT_SOP_CNT1)
30385 #define S_RX_OUT_SOP_CNT0 0
30386 #define M_RX_OUT_SOP_CNT0 0xfU
30387 #define V_RX_OUT_SOP_CNT0(x) ((x) << S_RX_OUT_SOP_CNT0)
30388 #define G_RX_OUT_SOP_CNT0(x) (((x) >> S_RX_OUT_SOP_CNT0) & M_RX_OUT_SOP_CNT0)
30390 #define A_PM_RX_DBG_STAT10 0x1002b
30392 #define S_RX_CH_DEFICIT_BLOWED 24
30393 #define V_RX_CH_DEFICIT_BLOWED(x) ((x) << S_RX_CH_DEFICIT_BLOWED)
30394 #define F_RX_CH_DEFICIT_BLOWED V_RX_CH_DEFICIT_BLOWED(1U)
30396 #define S_RX_CH1_DEFICIT 12
30397 #define M_RX_CH1_DEFICIT 0xfffU
30398 #define V_RX_CH1_DEFICIT(x) ((x) << S_RX_CH1_DEFICIT)
30399 #define G_RX_CH1_DEFICIT(x) (((x) >> S_RX_CH1_DEFICIT) & M_RX_CH1_DEFICIT)
30401 #define S_RX_CH0_DEFICIT 0
30402 #define M_RX_CH0_DEFICIT 0xfffU
30403 #define V_RX_CH0_DEFICIT(x) ((x) << S_RX_CH0_DEFICIT)
30404 #define G_RX_CH0_DEFICIT(x) (((x) >> S_RX_CH0_DEFICIT) & M_RX_CH0_DEFICIT)
30406 #define A_PM_RX_DBG_STAT11 0x1002c
30408 #define S_RX_BUNDLE_LEN_SRDY 30
30409 #define M_RX_BUNDLE_LEN_SRDY 0x3U
30410 #define V_RX_BUNDLE_LEN_SRDY(x) ((x) << S_RX_BUNDLE_LEN_SRDY)
30411 #define G_RX_BUNDLE_LEN_SRDY(x) (((x) >> S_RX_BUNDLE_LEN_SRDY) & M_RX_BUNDLE_LEN_SRDY)
30413 #define S_RX_RSVD11_1 28
30414 #define M_RX_RSVD11_1 0x3U
30415 #define V_RX_RSVD11_1(x) ((x) << S_RX_RSVD11_1)
30416 #define G_RX_RSVD11_1(x) (((x) >> S_RX_RSVD11_1) & M_RX_RSVD11_1)
30418 #define S_RX_BUNDLE_LEN1 16
30419 #define M_RX_BUNDLE_LEN1 0xfffU
30420 #define V_RX_BUNDLE_LEN1(x) ((x) << S_RX_BUNDLE_LEN1)
30421 #define G_RX_BUNDLE_LEN1(x) (((x) >> S_RX_BUNDLE_LEN1) & M_RX_BUNDLE_LEN1)
30423 #define S_RX_RSVD11 12
30424 #define M_RX_RSVD11 0xfU
30425 #define V_RX_RSVD11(x) ((x) << S_RX_RSVD11)
30426 #define G_RX_RSVD11(x) (((x) >> S_RX_RSVD11) & M_RX_RSVD11)
30428 #define S_RX_BUNDLE_LEN0 0
30429 #define M_RX_BUNDLE_LEN0 0xfffU
30430 #define V_RX_BUNDLE_LEN0(x) ((x) << S_RX_BUNDLE_LEN0)
30431 #define G_RX_BUNDLE_LEN0(x) (((x) >> S_RX_BUNDLE_LEN0) & M_RX_BUNDLE_LEN0)
30433 /* registers for module PM_TX */
30434 #define PM_TX_BASE_ADDR 0x8fe0
30436 #define A_PM_TX_CFG 0x8fe0
30438 #define S_CH3_OUTPUT 17
30439 #define M_CH3_OUTPUT 0x1fU
30440 #define V_CH3_OUTPUT(x) ((x) << S_CH3_OUTPUT)
30441 #define G_CH3_OUTPUT(x) (((x) >> S_CH3_OUTPUT) & M_CH3_OUTPUT)
30443 #define A_PM_TX_MODE 0x8fe4
30445 #define S_CONG_THRESH3 25
30446 #define M_CONG_THRESH3 0x7fU
30447 #define V_CONG_THRESH3(x) ((x) << S_CONG_THRESH3)
30448 #define G_CONG_THRESH3(x) (((x) >> S_CONG_THRESH3) & M_CONG_THRESH3)
30450 #define S_CONG_THRESH2 18
30451 #define M_CONG_THRESH2 0x7fU
30452 #define V_CONG_THRESH2(x) ((x) << S_CONG_THRESH2)
30453 #define G_CONG_THRESH2(x) (((x) >> S_CONG_THRESH2) & M_CONG_THRESH2)
30455 #define S_CONG_THRESH1 11
30456 #define M_CONG_THRESH1 0x7fU
30457 #define V_CONG_THRESH1(x) ((x) << S_CONG_THRESH1)
30458 #define G_CONG_THRESH1(x) (((x) >> S_CONG_THRESH1) & M_CONG_THRESH1)
30460 #define S_CONG_THRESH0 4
30461 #define M_CONG_THRESH0 0x7fU
30462 #define V_CONG_THRESH0(x) ((x) << S_CONG_THRESH0)
30463 #define G_CONG_THRESH0(x) (((x) >> S_CONG_THRESH0) & M_CONG_THRESH0)
30465 #define S_TX_USE_BUNDLE_LEN 3
30466 #define V_TX_USE_BUNDLE_LEN(x) ((x) << S_TX_USE_BUNDLE_LEN)
30467 #define F_TX_USE_BUNDLE_LEN V_TX_USE_BUNDLE_LEN(1U)
30469 #define S_STAT_CHANNEL 1
30470 #define M_STAT_CHANNEL 0x3U
30471 #define V_STAT_CHANNEL(x) ((x) << S_STAT_CHANNEL)
30472 #define G_STAT_CHANNEL(x) (((x) >> S_STAT_CHANNEL) & M_STAT_CHANNEL)
30474 #define A_PM_TX_STAT_CONFIG 0x8fe8
30475 #define A_PM_TX_STAT_COUNT 0x8fec
30476 #define A_PM_TX_STAT_LSB 0x8ff0
30477 #define A_PM_TX_DBG_CTRL 0x8ff0
30479 #define S_OSPIWRBUSY 21
30480 #define M_OSPIWRBUSY 0xfU
30481 #define V_OSPIWRBUSY(x) ((x) << S_OSPIWRBUSY)
30482 #define G_OSPIWRBUSY(x) (((x) >> S_OSPIWRBUSY) & M_OSPIWRBUSY)
30484 #define A_PM_TX_STAT_MSB 0x8ff4
30485 #define A_PM_TX_DBG_DATA 0x8ff4
30486 #define A_PM_TX_INT_ENABLE 0x8ff8
30488 #define S_PCMD_LEN_OVFL0 31
30489 #define V_PCMD_LEN_OVFL0(x) ((x) << S_PCMD_LEN_OVFL0)
30490 #define F_PCMD_LEN_OVFL0 V_PCMD_LEN_OVFL0(1U)
30492 #define S_PCMD_LEN_OVFL1 30
30493 #define V_PCMD_LEN_OVFL1(x) ((x) << S_PCMD_LEN_OVFL1)
30494 #define F_PCMD_LEN_OVFL1 V_PCMD_LEN_OVFL1(1U)
30496 #define S_PCMD_LEN_OVFL2 29
30497 #define V_PCMD_LEN_OVFL2(x) ((x) << S_PCMD_LEN_OVFL2)
30498 #define F_PCMD_LEN_OVFL2 V_PCMD_LEN_OVFL2(1U)
30500 #define S_ZERO_C_CMD_ERRO 28
30501 #define V_ZERO_C_CMD_ERRO(x) ((x) << S_ZERO_C_CMD_ERRO)
30502 #define F_ZERO_C_CMD_ERRO V_ZERO_C_CMD_ERRO(1U)
30504 #define S_ICSPI0_FIFO2X_RX_FRAMING_ERROR 27
30505 #define V_ICSPI0_FIFO2X_RX_FRAMING_ERROR(x) ((x) << S_ICSPI0_FIFO2X_RX_FRAMING_ERROR)
30506 #define F_ICSPI0_FIFO2X_RX_FRAMING_ERROR V_ICSPI0_FIFO2X_RX_FRAMING_ERROR(1U)
30508 #define S_ICSPI1_FIFO2X_RX_FRAMING_ERROR 26
30509 #define V_ICSPI1_FIFO2X_RX_FRAMING_ERROR(x) ((x) << S_ICSPI1_FIFO2X_RX_FRAMING_ERROR)
30510 #define F_ICSPI1_FIFO2X_RX_FRAMING_ERROR V_ICSPI1_FIFO2X_RX_FRAMING_ERROR(1U)
30512 #define S_ICSPI2_FIFO2X_RX_FRAMING_ERROR 25
30513 #define V_ICSPI2_FIFO2X_RX_FRAMING_ERROR(x) ((x) << S_ICSPI2_FIFO2X_RX_FRAMING_ERROR)
30514 #define F_ICSPI2_FIFO2X_RX_FRAMING_ERROR V_ICSPI2_FIFO2X_RX_FRAMING_ERROR(1U)
30516 #define S_ICSPI3_FIFO2X_RX_FRAMING_ERROR 24
30517 #define V_ICSPI3_FIFO2X_RX_FRAMING_ERROR(x) ((x) << S_ICSPI3_FIFO2X_RX_FRAMING_ERROR)
30518 #define F_ICSPI3_FIFO2X_RX_FRAMING_ERROR V_ICSPI3_FIFO2X_RX_FRAMING_ERROR(1U)
30520 #define S_ICSPI0_RX_FRAMING_ERROR 23
30521 #define V_ICSPI0_RX_FRAMING_ERROR(x) ((x) << S_ICSPI0_RX_FRAMING_ERROR)
30522 #define F_ICSPI0_RX_FRAMING_ERROR V_ICSPI0_RX_FRAMING_ERROR(1U)
30524 #define S_ICSPI1_RX_FRAMING_ERROR 22
30525 #define V_ICSPI1_RX_FRAMING_ERROR(x) ((x) << S_ICSPI1_RX_FRAMING_ERROR)
30526 #define F_ICSPI1_RX_FRAMING_ERROR V_ICSPI1_RX_FRAMING_ERROR(1U)
30528 #define S_ICSPI2_RX_FRAMING_ERROR 21
30529 #define V_ICSPI2_RX_FRAMING_ERROR(x) ((x) << S_ICSPI2_RX_FRAMING_ERROR)
30530 #define F_ICSPI2_RX_FRAMING_ERROR V_ICSPI2_RX_FRAMING_ERROR(1U)
30532 #define S_ICSPI3_RX_FRAMING_ERROR 20
30533 #define V_ICSPI3_RX_FRAMING_ERROR(x) ((x) << S_ICSPI3_RX_FRAMING_ERROR)
30534 #define F_ICSPI3_RX_FRAMING_ERROR V_ICSPI3_RX_FRAMING_ERROR(1U)
30536 #define S_ICSPI0_TX_FRAMING_ERROR 19
30537 #define V_ICSPI0_TX_FRAMING_ERROR(x) ((x) << S_ICSPI0_TX_FRAMING_ERROR)
30538 #define F_ICSPI0_TX_FRAMING_ERROR V_ICSPI0_TX_FRAMING_ERROR(1U)
30540 #define S_ICSPI1_TX_FRAMING_ERROR 18
30541 #define V_ICSPI1_TX_FRAMING_ERROR(x) ((x) << S_ICSPI1_TX_FRAMING_ERROR)
30542 #define F_ICSPI1_TX_FRAMING_ERROR V_ICSPI1_TX_FRAMING_ERROR(1U)
30544 #define S_ICSPI2_TX_FRAMING_ERROR 17
30545 #define V_ICSPI2_TX_FRAMING_ERROR(x) ((x) << S_ICSPI2_TX_FRAMING_ERROR)
30546 #define F_ICSPI2_TX_FRAMING_ERROR V_ICSPI2_TX_FRAMING_ERROR(1U)
30548 #define S_ICSPI3_TX_FRAMING_ERROR 16
30549 #define V_ICSPI3_TX_FRAMING_ERROR(x) ((x) << S_ICSPI3_TX_FRAMING_ERROR)
30550 #define F_ICSPI3_TX_FRAMING_ERROR V_ICSPI3_TX_FRAMING_ERROR(1U)
30552 #define S_OESPI0_RX_FRAMING_ERROR 15
30553 #define V_OESPI0_RX_FRAMING_ERROR(x) ((x) << S_OESPI0_RX_FRAMING_ERROR)
30554 #define F_OESPI0_RX_FRAMING_ERROR V_OESPI0_RX_FRAMING_ERROR(1U)
30556 #define S_OESPI1_RX_FRAMING_ERROR 14
30557 #define V_OESPI1_RX_FRAMING_ERROR(x) ((x) << S_OESPI1_RX_FRAMING_ERROR)
30558 #define F_OESPI1_RX_FRAMING_ERROR V_OESPI1_RX_FRAMING_ERROR(1U)
30560 #define S_OESPI2_RX_FRAMING_ERROR 13
30561 #define V_OESPI2_RX_FRAMING_ERROR(x) ((x) << S_OESPI2_RX_FRAMING_ERROR)
30562 #define F_OESPI2_RX_FRAMING_ERROR V_OESPI2_RX_FRAMING_ERROR(1U)
30564 #define S_OESPI3_RX_FRAMING_ERROR 12
30565 #define V_OESPI3_RX_FRAMING_ERROR(x) ((x) << S_OESPI3_RX_FRAMING_ERROR)
30566 #define F_OESPI3_RX_FRAMING_ERROR V_OESPI3_RX_FRAMING_ERROR(1U)
30568 #define S_OESPI0_TX_FRAMING_ERROR 11
30569 #define V_OESPI0_TX_FRAMING_ERROR(x) ((x) << S_OESPI0_TX_FRAMING_ERROR)
30570 #define F_OESPI0_TX_FRAMING_ERROR V_OESPI0_TX_FRAMING_ERROR(1U)
30572 #define S_OESPI1_TX_FRAMING_ERROR 10
30573 #define V_OESPI1_TX_FRAMING_ERROR(x) ((x) << S_OESPI1_TX_FRAMING_ERROR)
30574 #define F_OESPI1_TX_FRAMING_ERROR V_OESPI1_TX_FRAMING_ERROR(1U)
30576 #define S_OESPI2_TX_FRAMING_ERROR 9
30577 #define V_OESPI2_TX_FRAMING_ERROR(x) ((x) << S_OESPI2_TX_FRAMING_ERROR)
30578 #define F_OESPI2_TX_FRAMING_ERROR V_OESPI2_TX_FRAMING_ERROR(1U)
30580 #define S_OESPI3_TX_FRAMING_ERROR 8
30581 #define V_OESPI3_TX_FRAMING_ERROR(x) ((x) << S_OESPI3_TX_FRAMING_ERROR)
30582 #define F_OESPI3_TX_FRAMING_ERROR V_OESPI3_TX_FRAMING_ERROR(1U)
30584 #define S_OESPI0_OFIFO2X_TX_FRAMING_ERROR 7
30585 #define V_OESPI0_OFIFO2X_TX_FRAMING_ERROR(x) ((x) << S_OESPI0_OFIFO2X_TX_FRAMING_ERROR)
30586 #define F_OESPI0_OFIFO2X_TX_FRAMING_ERROR V_OESPI0_OFIFO2X_TX_FRAMING_ERROR(1U)
30588 #define S_OESPI1_OFIFO2X_TX_FRAMING_ERROR 6
30589 #define V_OESPI1_OFIFO2X_TX_FRAMING_ERROR(x) ((x) << S_OESPI1_OFIFO2X_TX_FRAMING_ERROR)
30590 #define F_OESPI1_OFIFO2X_TX_FRAMING_ERROR V_OESPI1_OFIFO2X_TX_FRAMING_ERROR(1U)
30592 #define S_OESPI2_OFIFO2X_TX_FRAMING_ERROR 5
30593 #define V_OESPI2_OFIFO2X_TX_FRAMING_ERROR(x) ((x) << S_OESPI2_OFIFO2X_TX_FRAMING_ERROR)
30594 #define F_OESPI2_OFIFO2X_TX_FRAMING_ERROR V_OESPI2_OFIFO2X_TX_FRAMING_ERROR(1U)
30596 #define S_OESPI3_OFIFO2X_TX_FRAMING_ERROR 4
30597 #define V_OESPI3_OFIFO2X_TX_FRAMING_ERROR(x) ((x) << S_OESPI3_OFIFO2X_TX_FRAMING_ERROR)
30598 #define F_OESPI3_OFIFO2X_TX_FRAMING_ERROR V_OESPI3_OFIFO2X_TX_FRAMING_ERROR(1U)
30600 #define S_OESPI_PAR_ERROR 3
30601 #define V_OESPI_PAR_ERROR(x) ((x) << S_OESPI_PAR_ERROR)
30602 #define F_OESPI_PAR_ERROR V_OESPI_PAR_ERROR(1U)
30604 #define S_ICSPI_PAR_ERROR 1
30605 #define V_ICSPI_PAR_ERROR(x) ((x) << S_ICSPI_PAR_ERROR)
30606 #define F_ICSPI_PAR_ERROR V_ICSPI_PAR_ERROR(1U)
30608 #define S_C_PCMD_PAR_ERROR 0
30609 #define V_C_PCMD_PAR_ERROR(x) ((x) << S_C_PCMD_PAR_ERROR)
30610 #define F_C_PCMD_PAR_ERROR V_C_PCMD_PAR_ERROR(1U)
30612 #define A_PM_TX_INT_CAUSE 0x8ffc
30614 #define S_ZERO_C_CMD_ERROR 28
30615 #define V_ZERO_C_CMD_ERROR(x) ((x) << S_ZERO_C_CMD_ERROR)
30616 #define F_ZERO_C_CMD_ERROR V_ZERO_C_CMD_ERROR(1U)
30618 #define S_OSPI_OR_BUNDLE_LEN_PAR_ERR 3
30619 #define V_OSPI_OR_BUNDLE_LEN_PAR_ERR(x) ((x) << S_OSPI_OR_BUNDLE_LEN_PAR_ERR)
30620 #define F_OSPI_OR_BUNDLE_LEN_PAR_ERR V_OSPI_OR_BUNDLE_LEN_PAR_ERR(1U)
30622 #define A_PM_TX_ISPI_DBG_4B_DATA0 0x10000
30623 #define A_PM_TX_ISPI_DBG_4B_DATA1 0x10001
30624 #define A_PM_TX_ISPI_DBG_4B_DATA2 0x10002
30625 #define A_PM_TX_ISPI_DBG_4B_DATA3 0x10003
30626 #define A_PM_TX_ISPI_DBG_4B_DATA4 0x10004
30627 #define A_PM_TX_ISPI_DBG_4B_DATA5 0x10005
30628 #define A_PM_TX_ISPI_DBG_4B_DATA6 0x10006
30629 #define A_PM_TX_ISPI_DBG_4B_DATA7 0x10007
30630 #define A_PM_TX_ISPI_DBG_4B_DATA8 0x10008
30631 #define A_PM_TX_OSPI_DBG_4B_DATA0 0x10009
30632 #define A_PM_TX_OSPI_DBG_4B_DATA1 0x1000a
30633 #define A_PM_TX_OSPI_DBG_4B_DATA2 0x1000b
30634 #define A_PM_TX_OSPI_DBG_4B_DATA3 0x1000c
30635 #define A_PM_TX_OSPI_DBG_4B_DATA4 0x1000d
30636 #define A_PM_TX_OSPI_DBG_4B_DATA5 0x1000e
30637 #define A_PM_TX_OSPI_DBG_4B_DATA6 0x1000f
30638 #define A_PM_TX_OSPI_DBG_4B_DATA7 0x10010
30639 #define A_PM_TX_OSPI_DBG_4B_DATA8 0x10011
30640 #define A_PM_TX_OSPI_DBG_4B_DATA9 0x10012
30641 #define A_PM_TX_OSPI_DBG_4B_DATA10 0x10013
30642 #define A_PM_TX_OSPI_DBG_4B_DATA11 0x10014
30643 #define A_PM_TX_OSPI_DBG_4B_DATA12 0x10015
30644 #define A_PM_TX_OSPI_DBG_4B_DATA13 0x10016
30645 #define A_PM_TX_OSPI_DBG_4B_DATA14 0x10017
30646 #define A_PM_TX_OSPI_DBG_4B_DATA15 0x10018
30647 #define A_PM_TX_OSPI_DBG_4B_DATA16 0x10019
30648 #define A_PM_TX_DBG_STAT_MSB 0x1001a
30649 #define A_PM_TX_DBG_STAT_LSB 0x1001b
30650 #define A_PM_TX_DBG_RSVD_FLIT_CNT 0x1001c
30651 #define A_PM_TX_SDC_EN 0x1001d
30652 #define A_PM_TX_INOUT_FIFO_DBG_CHNL_SEL 0x1001e
30653 #define A_PM_TX_INOUT_FIFO_DBG_WR 0x1001f
30654 #define A_PM_TX_INPUT_FIFO_STR_FWD_EN 0x10020
30655 #define A_PM_TX_FEATURE_EN 0x10021
30657 #define S_PIO_CH_DEFICIT_CTL_EN 2
30658 #define V_PIO_CH_DEFICIT_CTL_EN(x) ((x) << S_PIO_CH_DEFICIT_CTL_EN)
30659 #define F_PIO_CH_DEFICIT_CTL_EN V_PIO_CH_DEFICIT_CTL_EN(1U)
30661 #define S_PIO_WRR_BASED_PRFTCH_EN 1
30662 #define V_PIO_WRR_BASED_PRFTCH_EN(x) ((x) << S_PIO_WRR_BASED_PRFTCH_EN)
30663 #define F_PIO_WRR_BASED_PRFTCH_EN V_PIO_WRR_BASED_PRFTCH_EN(1U)
30665 #define A_PM_TX_T5_PM_TX_INT_ENABLE 0x10022
30667 #define S_OSPI_OVERFLOW3 7
30668 #define V_OSPI_OVERFLOW3(x) ((x) << S_OSPI_OVERFLOW3)
30669 #define F_OSPI_OVERFLOW3 V_OSPI_OVERFLOW3(1U)
30671 #define S_OSPI_OVERFLOW2 6
30672 #define V_OSPI_OVERFLOW2(x) ((x) << S_OSPI_OVERFLOW2)
30673 #define F_OSPI_OVERFLOW2 V_OSPI_OVERFLOW2(1U)
30675 #define S_T5_OSPI_OVERFLOW1 5
30676 #define V_T5_OSPI_OVERFLOW1(x) ((x) << S_T5_OSPI_OVERFLOW1)
30677 #define F_T5_OSPI_OVERFLOW1 V_T5_OSPI_OVERFLOW1(1U)
30679 #define S_T5_OSPI_OVERFLOW0 4
30680 #define V_T5_OSPI_OVERFLOW0(x) ((x) << S_T5_OSPI_OVERFLOW0)
30681 #define F_T5_OSPI_OVERFLOW0 V_T5_OSPI_OVERFLOW0(1U)
30683 #define S_M_INTFPERREN 3
30684 #define V_M_INTFPERREN(x) ((x) << S_M_INTFPERREN)
30685 #define F_M_INTFPERREN V_M_INTFPERREN(1U)
30687 #define S_BUNDLE_LEN_PARERR_EN 2
30688 #define V_BUNDLE_LEN_PARERR_EN(x) ((x) << S_BUNDLE_LEN_PARERR_EN)
30689 #define F_BUNDLE_LEN_PARERR_EN V_BUNDLE_LEN_PARERR_EN(1U)
30691 #define S_BUNDLE_LEN_OVFL_EN 1
30692 #define V_BUNDLE_LEN_OVFL_EN(x) ((x) << S_BUNDLE_LEN_OVFL_EN)
30693 #define F_BUNDLE_LEN_OVFL_EN V_BUNDLE_LEN_OVFL_EN(1U)
30695 #define S_SDC_ERR_EN 0
30696 #define V_SDC_ERR_EN(x) ((x) << S_SDC_ERR_EN)
30697 #define F_SDC_ERR_EN V_SDC_ERR_EN(1U)
30699 #define S_OSPI_OVERFLOW3_T5 7
30700 #define V_OSPI_OVERFLOW3_T5(x) ((x) << S_OSPI_OVERFLOW3_T5)
30701 #define F_OSPI_OVERFLOW3_T5 V_OSPI_OVERFLOW3_T5(1U)
30703 #define S_OSPI_OVERFLOW2_T5 6
30704 #define V_OSPI_OVERFLOW2_T5(x) ((x) << S_OSPI_OVERFLOW2_T5)
30705 #define F_OSPI_OVERFLOW2_T5 V_OSPI_OVERFLOW2_T5(1U)
30707 #define S_OSPI_OVERFLOW1_T5 5
30708 #define V_OSPI_OVERFLOW1_T5(x) ((x) << S_OSPI_OVERFLOW1_T5)
30709 #define F_OSPI_OVERFLOW1_T5 V_OSPI_OVERFLOW1_T5(1U)
30711 #define S_OSPI_OVERFLOW0_T5 4
30712 #define V_OSPI_OVERFLOW0_T5(x) ((x) << S_OSPI_OVERFLOW0_T5)
30713 #define F_OSPI_OVERFLOW0_T5 V_OSPI_OVERFLOW0_T5(1U)
30715 #define A_PM_TX_PRFTCH_WRR_WAIT_CNT_THRSHLD0 0x10023
30716 #define A_PM_TX_PRFTCH_WRR_WAIT_CNT_THRSHLD1 0x10024
30717 #define A_PM_TX_PRFTCH_WRR_WAIT_CNT_THRSHLD2 0x10025
30718 #define A_PM_TX_PRFTCH_WRR_WAIT_CNT_THRSHLD3 0x10026
30719 #define A_PM_TX_CH0_OSPI_DEFICIT_THRSHLD 0x10027
30720 #define A_PM_TX_CH1_OSPI_DEFICIT_THRSHLD 0x10028
30721 #define A_PM_TX_CH2_OSPI_DEFICIT_THRSHLD 0x10029
30723 #define S_CH2_OSPI_DEFICIT_THRSHLD 0
30724 #define M_CH2_OSPI_DEFICIT_THRSHLD 0xfffU
30725 #define V_CH2_OSPI_DEFICIT_THRSHLD(x) ((x) << S_CH2_OSPI_DEFICIT_THRSHLD)
30726 #define G_CH2_OSPI_DEFICIT_THRSHLD(x) (((x) >> S_CH2_OSPI_DEFICIT_THRSHLD) & M_CH2_OSPI_DEFICIT_THRSHLD)
30728 #define A_PM_TX_CH3_OSPI_DEFICIT_THRSHLD 0x1002a
30730 #define S_CH3_OSPI_DEFICIT_THRSHLD 0
30731 #define M_CH3_OSPI_DEFICIT_THRSHLD 0xfffU
30732 #define V_CH3_OSPI_DEFICIT_THRSHLD(x) ((x) << S_CH3_OSPI_DEFICIT_THRSHLD)
30733 #define G_CH3_OSPI_DEFICIT_THRSHLD(x) (((x) >> S_CH3_OSPI_DEFICIT_THRSHLD) & M_CH3_OSPI_DEFICIT_THRSHLD)
30735 #define A_PM_TX_INT_CAUSE_MASK_HALT 0x1002b
30736 #define A_PM_TX_DBG_STAT0 0x1002c
30738 #define S_RD_I_BUSY 29
30739 #define V_RD_I_BUSY(x) ((x) << S_RD_I_BUSY)
30740 #define F_RD_I_BUSY V_RD_I_BUSY(1U)
30742 #define S_WR_O_BUSY 28
30743 #define V_WR_O_BUSY(x) ((x) << S_WR_O_BUSY)
30744 #define F_WR_O_BUSY V_WR_O_BUSY(1U)
30746 #define S_M_TO_O_BUSY 27
30747 #define V_M_TO_O_BUSY(x) ((x) << S_M_TO_O_BUSY)
30748 #define F_M_TO_O_BUSY V_M_TO_O_BUSY(1U)
30750 #define S_I_TO_M_BUSY 26
30751 #define V_I_TO_M_BUSY(x) ((x) << S_I_TO_M_BUSY)
30752 #define F_I_TO_M_BUSY V_I_TO_M_BUSY(1U)
30754 #define S_PCMD_FB_ONLY 25
30755 #define V_PCMD_FB_ONLY(x) ((x) << S_PCMD_FB_ONLY)
30756 #define F_PCMD_FB_ONLY V_PCMD_FB_ONLY(1U)
30758 #define S_PCMD_MEM 24
30759 #define V_PCMD_MEM(x) ((x) << S_PCMD_MEM)
30760 #define F_PCMD_MEM V_PCMD_MEM(1U)
30762 #define S_PCMD_BYPASS 23
30763 #define V_PCMD_BYPASS(x) ((x) << S_PCMD_BYPASS)
30764 #define F_PCMD_BYPASS V_PCMD_BYPASS(1U)
30766 #define S_PCMD_EOP2 22
30767 #define V_PCMD_EOP2(x) ((x) << S_PCMD_EOP2)
30768 #define F_PCMD_EOP2 V_PCMD_EOP2(1U)
30770 #define S_PCMD_EOP 21
30771 #define V_PCMD_EOP(x) ((x) << S_PCMD_EOP)
30772 #define F_PCMD_EOP V_PCMD_EOP(1U)
30774 #define S_PCMD_END_BUNDLE 20
30775 #define V_PCMD_END_BUNDLE(x) ((x) << S_PCMD_END_BUNDLE)
30776 #define F_PCMD_END_BUNDLE V_PCMD_END_BUNDLE(1U)
30778 #define S_PCMD_FB_CMD 16
30779 #define M_PCMD_FB_CMD 0xfU
30780 #define V_PCMD_FB_CMD(x) ((x) << S_PCMD_FB_CMD)
30781 #define G_PCMD_FB_CMD(x) (((x) >> S_PCMD_FB_CMD) & M_PCMD_FB_CMD)
30783 #define S_CUR_PCMD_LEN 0
30784 #define M_CUR_PCMD_LEN 0xffffU
30785 #define V_CUR_PCMD_LEN(x) ((x) << S_CUR_PCMD_LEN)
30786 #define G_CUR_PCMD_LEN(x) (((x) >> S_CUR_PCMD_LEN) & M_CUR_PCMD_LEN)
30788 #define S_T6_RD_I_BUSY 28
30789 #define V_T6_RD_I_BUSY(x) ((x) << S_T6_RD_I_BUSY)
30790 #define F_T6_RD_I_BUSY V_T6_RD_I_BUSY(1U)
30792 #define S_T6_WR_O_BUSY 27
30793 #define V_T6_WR_O_BUSY(x) ((x) << S_T6_WR_O_BUSY)
30794 #define F_T6_WR_O_BUSY V_T6_WR_O_BUSY(1U)
30796 #define S_T6_M_TO_O_BUSY 26
30797 #define V_T6_M_TO_O_BUSY(x) ((x) << S_T6_M_TO_O_BUSY)
30798 #define F_T6_M_TO_O_BUSY V_T6_M_TO_O_BUSY(1U)
30800 #define S_T6_I_TO_M_BUSY 25
30801 #define V_T6_I_TO_M_BUSY(x) ((x) << S_T6_I_TO_M_BUSY)
30802 #define F_T6_I_TO_M_BUSY V_T6_I_TO_M_BUSY(1U)
30804 #define S_T6_PCMD_FB_ONLY 24
30805 #define V_T6_PCMD_FB_ONLY(x) ((x) << S_T6_PCMD_FB_ONLY)
30806 #define F_T6_PCMD_FB_ONLY V_T6_PCMD_FB_ONLY(1U)
30808 #define S_T6_PCMD_MEM 23
30809 #define V_T6_PCMD_MEM(x) ((x) << S_T6_PCMD_MEM)
30810 #define F_T6_PCMD_MEM V_T6_PCMD_MEM(1U)
30812 #define S_T6_PCMD_BYPASS 22
30813 #define V_T6_PCMD_BYPASS(x) ((x) << S_T6_PCMD_BYPASS)
30814 #define F_T6_PCMD_BYPASS V_T6_PCMD_BYPASS(1U)
30816 #define A_PM_TX_DBG_STAT1 0x1002d
30818 #define S_PCMD_MEM0 31
30819 #define V_PCMD_MEM0(x) ((x) << S_PCMD_MEM0)
30820 #define F_PCMD_MEM0 V_PCMD_MEM0(1U)
30822 #define S_FREE_OESPI_CNT0 19
30823 #define M_FREE_OESPI_CNT0 0xfffU
30824 #define V_FREE_OESPI_CNT0(x) ((x) << S_FREE_OESPI_CNT0)
30825 #define G_FREE_OESPI_CNT0(x) (((x) >> S_FREE_OESPI_CNT0) & M_FREE_OESPI_CNT0)
30827 #define S_PCMD_FLIT_LEN0 7
30828 #define M_PCMD_FLIT_LEN0 0xfffU
30829 #define V_PCMD_FLIT_LEN0(x) ((x) << S_PCMD_FLIT_LEN0)
30830 #define G_PCMD_FLIT_LEN0(x) (((x) >> S_PCMD_FLIT_LEN0) & M_PCMD_FLIT_LEN0)
30832 #define S_PCMD_CMD0 3
30833 #define M_PCMD_CMD0 0xfU
30834 #define V_PCMD_CMD0(x) ((x) << S_PCMD_CMD0)
30835 #define G_PCMD_CMD0(x) (((x) >> S_PCMD_CMD0) & M_PCMD_CMD0)
30837 #define S_OFIFO_FULL0 2
30838 #define V_OFIFO_FULL0(x) ((x) << S_OFIFO_FULL0)
30839 #define F_OFIFO_FULL0 V_OFIFO_FULL0(1U)
30841 #define S_GCSUM_DRDY0 1
30842 #define V_GCSUM_DRDY0(x) ((x) << S_GCSUM_DRDY0)
30843 #define F_GCSUM_DRDY0 V_GCSUM_DRDY0(1U)
30845 #define S_BYPASS0 0
30846 #define V_BYPASS0(x) ((x) << S_BYPASS0)
30847 #define F_BYPASS0 V_BYPASS0(1U)
30849 #define A_PM_TX_DBG_STAT2 0x1002e
30851 #define S_PCMD_MEM1 31
30852 #define V_PCMD_MEM1(x) ((x) << S_PCMD_MEM1)
30853 #define F_PCMD_MEM1 V_PCMD_MEM1(1U)
30855 #define S_FREE_OESPI_CNT1 19
30856 #define M_FREE_OESPI_CNT1 0xfffU
30857 #define V_FREE_OESPI_CNT1(x) ((x) << S_FREE_OESPI_CNT1)
30858 #define G_FREE_OESPI_CNT1(x) (((x) >> S_FREE_OESPI_CNT1) & M_FREE_OESPI_CNT1)
30860 #define S_PCMD_FLIT_LEN1 7
30861 #define M_PCMD_FLIT_LEN1 0xfffU
30862 #define V_PCMD_FLIT_LEN1(x) ((x) << S_PCMD_FLIT_LEN1)
30863 #define G_PCMD_FLIT_LEN1(x) (((x) >> S_PCMD_FLIT_LEN1) & M_PCMD_FLIT_LEN1)
30865 #define S_PCMD_CMD1 3
30866 #define M_PCMD_CMD1 0xfU
30867 #define V_PCMD_CMD1(x) ((x) << S_PCMD_CMD1)
30868 #define G_PCMD_CMD1(x) (((x) >> S_PCMD_CMD1) & M_PCMD_CMD1)
30870 #define S_OFIFO_FULL1 2
30871 #define V_OFIFO_FULL1(x) ((x) << S_OFIFO_FULL1)
30872 #define F_OFIFO_FULL1 V_OFIFO_FULL1(1U)
30874 #define S_GCSUM_DRDY1 1
30875 #define V_GCSUM_DRDY1(x) ((x) << S_GCSUM_DRDY1)
30876 #define F_GCSUM_DRDY1 V_GCSUM_DRDY1(1U)
30878 #define S_BYPASS1 0
30879 #define V_BYPASS1(x) ((x) << S_BYPASS1)
30880 #define F_BYPASS1 V_BYPASS1(1U)
30882 #define A_PM_TX_DBG_STAT3 0x1002f
30884 #define S_PCMD_MEM2 31
30885 #define V_PCMD_MEM2(x) ((x) << S_PCMD_MEM2)
30886 #define F_PCMD_MEM2 V_PCMD_MEM2(1U)
30888 #define S_FREE_OESPI_CNT2 19
30889 #define M_FREE_OESPI_CNT2 0xfffU
30890 #define V_FREE_OESPI_CNT2(x) ((x) << S_FREE_OESPI_CNT2)
30891 #define G_FREE_OESPI_CNT2(x) (((x) >> S_FREE_OESPI_CNT2) & M_FREE_OESPI_CNT2)
30893 #define S_PCMD_FLIT_LEN2 7
30894 #define M_PCMD_FLIT_LEN2 0xfffU
30895 #define V_PCMD_FLIT_LEN2(x) ((x) << S_PCMD_FLIT_LEN2)
30896 #define G_PCMD_FLIT_LEN2(x) (((x) >> S_PCMD_FLIT_LEN2) & M_PCMD_FLIT_LEN2)
30898 #define S_PCMD_CMD2 3
30899 #define M_PCMD_CMD2 0xfU
30900 #define V_PCMD_CMD2(x) ((x) << S_PCMD_CMD2)
30901 #define G_PCMD_CMD2(x) (((x) >> S_PCMD_CMD2) & M_PCMD_CMD2)
30903 #define S_OFIFO_FULL2 2
30904 #define V_OFIFO_FULL2(x) ((x) << S_OFIFO_FULL2)
30905 #define F_OFIFO_FULL2 V_OFIFO_FULL2(1U)
30907 #define S_GCSUM_DRDY2 1
30908 #define V_GCSUM_DRDY2(x) ((x) << S_GCSUM_DRDY2)
30909 #define F_GCSUM_DRDY2 V_GCSUM_DRDY2(1U)
30911 #define S_BYPASS2 0
30912 #define V_BYPASS2(x) ((x) << S_BYPASS2)
30913 #define F_BYPASS2 V_BYPASS2(1U)
30915 #define A_PM_TX_DBG_STAT4 0x10030
30917 #define S_PCMD_MEM3 31
30918 #define V_PCMD_MEM3(x) ((x) << S_PCMD_MEM3)
30919 #define F_PCMD_MEM3 V_PCMD_MEM3(1U)
30921 #define S_FREE_OESPI_CNT3 19
30922 #define M_FREE_OESPI_CNT3 0xfffU
30923 #define V_FREE_OESPI_CNT3(x) ((x) << S_FREE_OESPI_CNT3)
30924 #define G_FREE_OESPI_CNT3(x) (((x) >> S_FREE_OESPI_CNT3) & M_FREE_OESPI_CNT3)
30926 #define S_PCMD_FLIT_LEN3 7
30927 #define M_PCMD_FLIT_LEN3 0xfffU
30928 #define V_PCMD_FLIT_LEN3(x) ((x) << S_PCMD_FLIT_LEN3)
30929 #define G_PCMD_FLIT_LEN3(x) (((x) >> S_PCMD_FLIT_LEN3) & M_PCMD_FLIT_LEN3)
30931 #define S_PCMD_CMD3 3
30932 #define M_PCMD_CMD3 0xfU
30933 #define V_PCMD_CMD3(x) ((x) << S_PCMD_CMD3)
30934 #define G_PCMD_CMD3(x) (((x) >> S_PCMD_CMD3) & M_PCMD_CMD3)
30936 #define S_OFIFO_FULL3 2
30937 #define V_OFIFO_FULL3(x) ((x) << S_OFIFO_FULL3)
30938 #define F_OFIFO_FULL3 V_OFIFO_FULL3(1U)
30940 #define S_GCSUM_DRDY3 1
30941 #define V_GCSUM_DRDY3(x) ((x) << S_GCSUM_DRDY3)
30942 #define F_GCSUM_DRDY3 V_GCSUM_DRDY3(1U)
30944 #define S_BYPASS3 0
30945 #define V_BYPASS3(x) ((x) << S_BYPASS3)
30946 #define F_BYPASS3 V_BYPASS3(1U)
30948 #define A_PM_TX_DBG_STAT5 0x10031
30950 #define S_SET_PCMD_RES_RDY_RD 24
30951 #define M_SET_PCMD_RES_RDY_RD 0xfU
30952 #define V_SET_PCMD_RES_RDY_RD(x) ((x) << S_SET_PCMD_RES_RDY_RD)
30953 #define G_SET_PCMD_RES_RDY_RD(x) (((x) >> S_SET_PCMD_RES_RDY_RD) & M_SET_PCMD_RES_RDY_RD)
30955 #define S_ISSUED_PREF_RD_ER_CLR 20
30956 #define M_ISSUED_PREF_RD_ER_CLR 0xfU
30957 #define V_ISSUED_PREF_RD_ER_CLR(x) ((x) << S_ISSUED_PREF_RD_ER_CLR)
30958 #define G_ISSUED_PREF_RD_ER_CLR(x) (((x) >> S_ISSUED_PREF_RD_ER_CLR) & M_ISSUED_PREF_RD_ER_CLR)
30960 #define S_ISSUED_PREF_RD 16
30961 #define M_ISSUED_PREF_RD 0xfU
30962 #define V_ISSUED_PREF_RD(x) ((x) << S_ISSUED_PREF_RD)
30963 #define G_ISSUED_PREF_RD(x) (((x) >> S_ISSUED_PREF_RD) & M_ISSUED_PREF_RD)
30965 #define S_PCMD_RES_RDY 12
30966 #define M_PCMD_RES_RDY 0xfU
30967 #define V_PCMD_RES_RDY(x) ((x) << S_PCMD_RES_RDY)
30968 #define G_PCMD_RES_RDY(x) (((x) >> S_PCMD_RES_RDY) & M_PCMD_RES_RDY)
30970 #define S_DB_VLD 11
30971 #define V_DB_VLD(x) ((x) << S_DB_VLD)
30972 #define F_DB_VLD V_DB_VLD(1U)
30974 #define S_INJECT0_DRDY 10
30975 #define V_INJECT0_DRDY(x) ((x) << S_INJECT0_DRDY)
30976 #define F_INJECT0_DRDY V_INJECT0_DRDY(1U)
30978 #define S_INJECT1_DRDY 9
30979 #define V_INJECT1_DRDY(x) ((x) << S_INJECT1_DRDY)
30980 #define F_INJECT1_DRDY V_INJECT1_DRDY(1U)
30982 #define S_FIRST_BUNDLE 5
30983 #define M_FIRST_BUNDLE 0xfU
30984 #define V_FIRST_BUNDLE(x) ((x) << S_FIRST_BUNDLE)
30985 #define G_FIRST_BUNDLE(x) (((x) >> S_FIRST_BUNDLE) & M_FIRST_BUNDLE)
30987 #define S_GCSUM_MORE_THAN_2_LEFT 1
30988 #define M_GCSUM_MORE_THAN_2_LEFT 0xfU
30989 #define V_GCSUM_MORE_THAN_2_LEFT(x) ((x) << S_GCSUM_MORE_THAN_2_LEFT)
30990 #define G_GCSUM_MORE_THAN_2_LEFT(x) (((x) >> S_GCSUM_MORE_THAN_2_LEFT) & M_GCSUM_MORE_THAN_2_LEFT)
30992 #define S_SDC_DRDY 0
30993 #define V_SDC_DRDY(x) ((x) << S_SDC_DRDY)
30994 #define F_SDC_DRDY V_SDC_DRDY(1U)
30996 #define A_PM_TX_DBG_STAT6 0x10032
30998 #define S_PCMD_VLD 31
30999 #define V_PCMD_VLD(x) ((x) << S_PCMD_VLD)
31000 #define F_PCMD_VLD V_PCMD_VLD(1U)
31002 #define S_PCMD_CH 29
31003 #define M_PCMD_CH 0x3U
31004 #define V_PCMD_CH(x) ((x) << S_PCMD_CH)
31005 #define G_PCMD_CH(x) (((x) >> S_PCMD_CH) & M_PCMD_CH)
31007 #define S_STATE_MACHINE_LOC 24
31008 #define M_STATE_MACHINE_LOC 0x1fU
31009 #define V_STATE_MACHINE_LOC(x) ((x) << S_STATE_MACHINE_LOC)
31010 #define G_STATE_MACHINE_LOC(x) (((x) >> S_STATE_MACHINE_LOC) & M_STATE_MACHINE_LOC)
31012 #define S_ICSPI_TXVALID 20
31013 #define M_ICSPI_TXVALID 0xfU
31014 #define V_ICSPI_TXVALID(x) ((x) << S_ICSPI_TXVALID)
31015 #define G_ICSPI_TXVALID(x) (((x) >> S_ICSPI_TXVALID) & M_ICSPI_TXVALID)
31017 #define S_ICSPI_TXFULL 16
31018 #define M_ICSPI_TXFULL 0xfU
31019 #define V_ICSPI_TXFULL(x) ((x) << S_ICSPI_TXFULL)
31020 #define G_ICSPI_TXFULL(x) (((x) >> S_ICSPI_TXFULL) & M_ICSPI_TXFULL)
31022 #define S_PCMD_SRDY 12
31023 #define M_PCMD_SRDY 0xfU
31024 #define V_PCMD_SRDY(x) ((x) << S_PCMD_SRDY)
31025 #define G_PCMD_SRDY(x) (((x) >> S_PCMD_SRDY) & M_PCMD_SRDY)
31027 #define S_PCMD_DRDY 8
31028 #define M_PCMD_DRDY 0xfU
31029 #define V_PCMD_DRDY(x) ((x) << S_PCMD_DRDY)
31030 #define G_PCMD_DRDY(x) (((x) >> S_PCMD_DRDY) & M_PCMD_DRDY)
31032 #define S_PCMD_CMD 4
31033 #define M_PCMD_CMD 0xfU
31034 #define V_PCMD_CMD(x) ((x) << S_PCMD_CMD)
31035 #define G_PCMD_CMD(x) (((x) >> S_PCMD_CMD) & M_PCMD_CMD)
31037 #define S_OEFIFO_FULL3 3
31038 #define V_OEFIFO_FULL3(x) ((x) << S_OEFIFO_FULL3)
31039 #define F_OEFIFO_FULL3 V_OEFIFO_FULL3(1U)
31041 #define S_OEFIFO_FULL2 2
31042 #define V_OEFIFO_FULL2(x) ((x) << S_OEFIFO_FULL2)
31043 #define F_OEFIFO_FULL2 V_OEFIFO_FULL2(1U)
31045 #define S_OEFIFO_FULL1 1
31046 #define V_OEFIFO_FULL1(x) ((x) << S_OEFIFO_FULL1)
31047 #define F_OEFIFO_FULL1 V_OEFIFO_FULL1(1U)
31049 #define S_OEFIFO_FULL0 0
31050 #define V_OEFIFO_FULL0(x) ((x) << S_OEFIFO_FULL0)
31051 #define F_OEFIFO_FULL0 V_OEFIFO_FULL0(1U)
31053 #define A_PM_TX_DBG_STAT7 0x10033
31055 #define S_ICSPI_RXVALID 28
31056 #define M_ICSPI_RXVALID 0xfU
31057 #define V_ICSPI_RXVALID(x) ((x) << S_ICSPI_RXVALID)
31058 #define G_ICSPI_RXVALID(x) (((x) >> S_ICSPI_RXVALID) & M_ICSPI_RXVALID)
31060 #define S_ICSPI_RXFULL 24
31061 #define M_ICSPI_RXFULL 0xfU
31062 #define V_ICSPI_RXFULL(x) ((x) << S_ICSPI_RXFULL)
31063 #define G_ICSPI_RXFULL(x) (((x) >> S_ICSPI_RXFULL) & M_ICSPI_RXFULL)
31065 #define S_OESPI_VALID 20
31066 #define M_OESPI_VALID 0xfU
31067 #define V_OESPI_VALID(x) ((x) << S_OESPI_VALID)
31068 #define G_OESPI_VALID(x) (((x) >> S_OESPI_VALID) & M_OESPI_VALID)
31070 #define S_OESPI_FULL 16
31071 #define M_OESPI_FULL 0xfU
31072 #define V_OESPI_FULL(x) ((x) << S_OESPI_FULL)
31073 #define G_OESPI_FULL(x) (((x) >> S_OESPI_FULL) & M_OESPI_FULL)
31075 #define S_C_RXVALID 12
31076 #define M_C_RXVALID 0xfU
31077 #define V_C_RXVALID(x) ((x) << S_C_RXVALID)
31078 #define G_C_RXVALID(x) (((x) >> S_C_RXVALID) & M_C_RXVALID)
31080 #define S_C_RXAFULL 8
31081 #define M_C_RXAFULL 0xfU
31082 #define V_C_RXAFULL(x) ((x) << S_C_RXAFULL)
31083 #define G_C_RXAFULL(x) (((x) >> S_C_RXAFULL) & M_C_RXAFULL)
31085 #define S_E_TXVALID3 7
31086 #define V_E_TXVALID3(x) ((x) << S_E_TXVALID3)
31087 #define F_E_TXVALID3 V_E_TXVALID3(1U)
31089 #define S_E_TXVALID2 6
31090 #define V_E_TXVALID2(x) ((x) << S_E_TXVALID2)
31091 #define F_E_TXVALID2 V_E_TXVALID2(1U)
31093 #define S_E_TXVALID1 5
31094 #define V_E_TXVALID1(x) ((x) << S_E_TXVALID1)
31095 #define F_E_TXVALID1 V_E_TXVALID1(1U)
31097 #define S_E_TXVALID0 4
31098 #define V_E_TXVALID0(x) ((x) << S_E_TXVALID0)
31099 #define F_E_TXVALID0 V_E_TXVALID0(1U)
31101 #define S_E_TXFULL3 3
31102 #define V_E_TXFULL3(x) ((x) << S_E_TXFULL3)
31103 #define F_E_TXFULL3 V_E_TXFULL3(1U)
31105 #define S_E_TXFULL2 2
31106 #define V_E_TXFULL2(x) ((x) << S_E_TXFULL2)
31107 #define F_E_TXFULL2 V_E_TXFULL2(1U)
31109 #define S_E_TXFULL1 1
31110 #define V_E_TXFULL1(x) ((x) << S_E_TXFULL1)
31111 #define F_E_TXFULL1 V_E_TXFULL1(1U)
31113 #define S_E_TXFULL0 0
31114 #define V_E_TXFULL0(x) ((x) << S_E_TXFULL0)
31115 #define F_E_TXFULL0 V_E_TXFULL0(1U)
31117 #define A_PM_TX_DBG_STAT8 0x10034
31119 #define S_MC_RSP_FIFO_CNT 24
31120 #define M_MC_RSP_FIFO_CNT 0x3U
31121 #define V_MC_RSP_FIFO_CNT(x) ((x) << S_MC_RSP_FIFO_CNT)
31122 #define G_MC_RSP_FIFO_CNT(x) (((x) >> S_MC_RSP_FIFO_CNT) & M_MC_RSP_FIFO_CNT)
31124 #define S_PCMD_FREE_CNT0 14
31125 #define M_PCMD_FREE_CNT0 0x3ffU
31126 #define V_PCMD_FREE_CNT0(x) ((x) << S_PCMD_FREE_CNT0)
31127 #define G_PCMD_FREE_CNT0(x) (((x) >> S_PCMD_FREE_CNT0) & M_PCMD_FREE_CNT0)
31129 #define S_PCMD_FREE_CNT1 4
31130 #define M_PCMD_FREE_CNT1 0x3ffU
31131 #define V_PCMD_FREE_CNT1(x) ((x) << S_PCMD_FREE_CNT1)
31132 #define G_PCMD_FREE_CNT1(x) (((x) >> S_PCMD_FREE_CNT1) & M_PCMD_FREE_CNT1)
31134 #define S_M_REQADDRRDY 3
31135 #define V_M_REQADDRRDY(x) ((x) << S_M_REQADDRRDY)
31136 #define F_M_REQADDRRDY V_M_REQADDRRDY(1U)
31138 #define S_M_REQWRITE 2
31139 #define V_M_REQWRITE(x) ((x) << S_M_REQWRITE)
31140 #define F_M_REQWRITE V_M_REQWRITE(1U)
31142 #define S_M_REQDATAVLD 1
31143 #define V_M_REQDATAVLD(x) ((x) << S_M_REQDATAVLD)
31144 #define F_M_REQDATAVLD V_M_REQDATAVLD(1U)
31146 #define S_M_REQDATARDY 0
31147 #define V_M_REQDATARDY(x) ((x) << S_M_REQDATARDY)
31148 #define F_M_REQDATARDY V_M_REQDATARDY(1U)
31150 #define S_T6_MC_RSP_FIFO_CNT 27
31151 #define M_T6_MC_RSP_FIFO_CNT 0x3U
31152 #define V_T6_MC_RSP_FIFO_CNT(x) ((x) << S_T6_MC_RSP_FIFO_CNT)
31153 #define G_T6_MC_RSP_FIFO_CNT(x) (((x) >> S_T6_MC_RSP_FIFO_CNT) & M_T6_MC_RSP_FIFO_CNT)
31155 #define S_T6_PCMD_FREE_CNT0 17
31156 #define M_T6_PCMD_FREE_CNT0 0x3ffU
31157 #define V_T6_PCMD_FREE_CNT0(x) ((x) << S_T6_PCMD_FREE_CNT0)
31158 #define G_T6_PCMD_FREE_CNT0(x) (((x) >> S_T6_PCMD_FREE_CNT0) & M_T6_PCMD_FREE_CNT0)
31160 #define S_T6_PCMD_FREE_CNT1 7
31161 #define M_T6_PCMD_FREE_CNT1 0x3ffU
31162 #define V_T6_PCMD_FREE_CNT1(x) ((x) << S_T6_PCMD_FREE_CNT1)
31163 #define G_T6_PCMD_FREE_CNT1(x) (((x) >> S_T6_PCMD_FREE_CNT1) & M_T6_PCMD_FREE_CNT1)
31165 #define S_M_RSPVLD 6
31166 #define V_M_RSPVLD(x) ((x) << S_M_RSPVLD)
31167 #define F_M_RSPVLD V_M_RSPVLD(1U)
31169 #define S_M_RSPRDY 5
31170 #define V_M_RSPRDY(x) ((x) << S_M_RSPRDY)
31171 #define F_M_RSPRDY V_M_RSPRDY(1U)
31173 #define S_M_REQADDRVLD 4
31174 #define V_M_REQADDRVLD(x) ((x) << S_M_REQADDRVLD)
31175 #define F_M_REQADDRVLD V_M_REQADDRVLD(1U)
31177 #define A_PM_TX_DBG_STAT9 0x10035
31179 #define S_PCMD_FREE_CNT2 10
31180 #define M_PCMD_FREE_CNT2 0x3ffU
31181 #define V_PCMD_FREE_CNT2(x) ((x) << S_PCMD_FREE_CNT2)
31182 #define G_PCMD_FREE_CNT2(x) (((x) >> S_PCMD_FREE_CNT2) & M_PCMD_FREE_CNT2)
31184 #define S_PCMD_FREE_CNT3 0
31185 #define M_PCMD_FREE_CNT3 0x3ffU
31186 #define V_PCMD_FREE_CNT3(x) ((x) << S_PCMD_FREE_CNT3)
31187 #define G_PCMD_FREE_CNT3(x) (((x) >> S_PCMD_FREE_CNT3) & M_PCMD_FREE_CNT3)
31189 #define A_PM_TX_DBG_STAT10 0x10036
31191 #define S_IN_EOP_CNT3 28
31192 #define M_IN_EOP_CNT3 0xfU
31193 #define V_IN_EOP_CNT3(x) ((x) << S_IN_EOP_CNT3)
31194 #define G_IN_EOP_CNT3(x) (((x) >> S_IN_EOP_CNT3) & M_IN_EOP_CNT3)
31196 #define S_IN_EOP_CNT2 24
31197 #define M_IN_EOP_CNT2 0xfU
31198 #define V_IN_EOP_CNT2(x) ((x) << S_IN_EOP_CNT2)
31199 #define G_IN_EOP_CNT2(x) (((x) >> S_IN_EOP_CNT2) & M_IN_EOP_CNT2)
31201 #define S_IN_EOP_CNT1 20
31202 #define M_IN_EOP_CNT1 0xfU
31203 #define V_IN_EOP_CNT1(x) ((x) << S_IN_EOP_CNT1)
31204 #define G_IN_EOP_CNT1(x) (((x) >> S_IN_EOP_CNT1) & M_IN_EOP_CNT1)
31206 #define S_IN_EOP_CNT0 16
31207 #define M_IN_EOP_CNT0 0xfU
31208 #define V_IN_EOP_CNT0(x) ((x) << S_IN_EOP_CNT0)
31209 #define G_IN_EOP_CNT0(x) (((x) >> S_IN_EOP_CNT0) & M_IN_EOP_CNT0)
31211 #define S_IN_SOP_CNT3 12
31212 #define M_IN_SOP_CNT3 0xfU
31213 #define V_IN_SOP_CNT3(x) ((x) << S_IN_SOP_CNT3)
31214 #define G_IN_SOP_CNT3(x) (((x) >> S_IN_SOP_CNT3) & M_IN_SOP_CNT3)
31216 #define S_IN_SOP_CNT2 8
31217 #define M_IN_SOP_CNT2 0xfU
31218 #define V_IN_SOP_CNT2(x) ((x) << S_IN_SOP_CNT2)
31219 #define G_IN_SOP_CNT2(x) (((x) >> S_IN_SOP_CNT2) & M_IN_SOP_CNT2)
31221 #define S_IN_SOP_CNT1 4
31222 #define M_IN_SOP_CNT1 0xfU
31223 #define V_IN_SOP_CNT1(x) ((x) << S_IN_SOP_CNT1)
31224 #define G_IN_SOP_CNT1(x) (((x) >> S_IN_SOP_CNT1) & M_IN_SOP_CNT1)
31226 #define S_IN_SOP_CNT0 0
31227 #define M_IN_SOP_CNT0 0xfU
31228 #define V_IN_SOP_CNT0(x) ((x) << S_IN_SOP_CNT0)
31229 #define G_IN_SOP_CNT0(x) (((x) >> S_IN_SOP_CNT0) & M_IN_SOP_CNT0)
31231 #define A_PM_TX_DBG_STAT11 0x10037
31233 #define S_OUT_EOP_CNT3 28
31234 #define M_OUT_EOP_CNT3 0xfU
31235 #define V_OUT_EOP_CNT3(x) ((x) << S_OUT_EOP_CNT3)
31236 #define G_OUT_EOP_CNT3(x) (((x) >> S_OUT_EOP_CNT3) & M_OUT_EOP_CNT3)
31238 #define S_OUT_EOP_CNT2 24
31239 #define M_OUT_EOP_CNT2 0xfU
31240 #define V_OUT_EOP_CNT2(x) ((x) << S_OUT_EOP_CNT2)
31241 #define G_OUT_EOP_CNT2(x) (((x) >> S_OUT_EOP_CNT2) & M_OUT_EOP_CNT2)
31243 #define S_OUT_EOP_CNT1 20
31244 #define M_OUT_EOP_CNT1 0xfU
31245 #define V_OUT_EOP_CNT1(x) ((x) << S_OUT_EOP_CNT1)
31246 #define G_OUT_EOP_CNT1(x) (((x) >> S_OUT_EOP_CNT1) & M_OUT_EOP_CNT1)
31248 #define S_OUT_EOP_CNT0 16
31249 #define M_OUT_EOP_CNT0 0xfU
31250 #define V_OUT_EOP_CNT0(x) ((x) << S_OUT_EOP_CNT0)
31251 #define G_OUT_EOP_CNT0(x) (((x) >> S_OUT_EOP_CNT0) & M_OUT_EOP_CNT0)
31253 #define S_OUT_SOP_CNT3 12
31254 #define M_OUT_SOP_CNT3 0xfU
31255 #define V_OUT_SOP_CNT3(x) ((x) << S_OUT_SOP_CNT3)
31256 #define G_OUT_SOP_CNT3(x) (((x) >> S_OUT_SOP_CNT3) & M_OUT_SOP_CNT3)
31258 #define S_OUT_SOP_CNT2 8
31259 #define M_OUT_SOP_CNT2 0xfU
31260 #define V_OUT_SOP_CNT2(x) ((x) << S_OUT_SOP_CNT2)
31261 #define G_OUT_SOP_CNT2(x) (((x) >> S_OUT_SOP_CNT2) & M_OUT_SOP_CNT2)
31263 #define S_OUT_SOP_CNT1 4
31264 #define M_OUT_SOP_CNT1 0xfU
31265 #define V_OUT_SOP_CNT1(x) ((x) << S_OUT_SOP_CNT1)
31266 #define G_OUT_SOP_CNT1(x) (((x) >> S_OUT_SOP_CNT1) & M_OUT_SOP_CNT1)
31268 #define S_OUT_SOP_CNT0 0
31269 #define M_OUT_SOP_CNT0 0xfU
31270 #define V_OUT_SOP_CNT0(x) ((x) << S_OUT_SOP_CNT0)
31271 #define G_OUT_SOP_CNT0(x) (((x) >> S_OUT_SOP_CNT0) & M_OUT_SOP_CNT0)
31273 #define A_PM_TX_DBG_STAT12 0x10038
31274 #define A_PM_TX_DBG_STAT13 0x10039
31276 #define S_CH_DEFICIT_BLOWED 31
31277 #define V_CH_DEFICIT_BLOWED(x) ((x) << S_CH_DEFICIT_BLOWED)
31278 #define F_CH_DEFICIT_BLOWED V_CH_DEFICIT_BLOWED(1U)
31280 #define S_CH1_DEFICIT 16
31281 #define M_CH1_DEFICIT 0xfffU
31282 #define V_CH1_DEFICIT(x) ((x) << S_CH1_DEFICIT)
31283 #define G_CH1_DEFICIT(x) (((x) >> S_CH1_DEFICIT) & M_CH1_DEFICIT)
31285 #define S_CH0_DEFICIT 0
31286 #define M_CH0_DEFICIT 0xfffU
31287 #define V_CH0_DEFICIT(x) ((x) << S_CH0_DEFICIT)
31288 #define G_CH0_DEFICIT(x) (((x) >> S_CH0_DEFICIT) & M_CH0_DEFICIT)
31290 #define A_PM_TX_DBG_STAT14 0x1003a
31292 #define S_CH3_DEFICIT 16
31293 #define M_CH3_DEFICIT 0xfffU
31294 #define V_CH3_DEFICIT(x) ((x) << S_CH3_DEFICIT)
31295 #define G_CH3_DEFICIT(x) (((x) >> S_CH3_DEFICIT) & M_CH3_DEFICIT)
31297 #define S_CH2_DEFICIT 0
31298 #define M_CH2_DEFICIT 0xfffU
31299 #define V_CH2_DEFICIT(x) ((x) << S_CH2_DEFICIT)
31300 #define G_CH2_DEFICIT(x) (((x) >> S_CH2_DEFICIT) & M_CH2_DEFICIT)
31302 #define A_PM_TX_DBG_STAT15 0x1003b
31304 #define S_BUNDLE_LEN_SRDY 28
31305 #define M_BUNDLE_LEN_SRDY 0xfU
31306 #define V_BUNDLE_LEN_SRDY(x) ((x) << S_BUNDLE_LEN_SRDY)
31307 #define G_BUNDLE_LEN_SRDY(x) (((x) >> S_BUNDLE_LEN_SRDY) & M_BUNDLE_LEN_SRDY)
31309 #define S_BUNDLE_LEN1 16
31310 #define M_BUNDLE_LEN1 0xfffU
31311 #define V_BUNDLE_LEN1(x) ((x) << S_BUNDLE_LEN1)
31312 #define G_BUNDLE_LEN1(x) (((x) >> S_BUNDLE_LEN1) & M_BUNDLE_LEN1)
31314 #define S_BUNDLE_LEN0 0
31315 #define M_BUNDLE_LEN0 0xfffU
31316 #define V_BUNDLE_LEN0(x) ((x) << S_BUNDLE_LEN0)
31317 #define G_BUNDLE_LEN0(x) (((x) >> S_BUNDLE_LEN0) & M_BUNDLE_LEN0)
31319 #define S_T6_BUNDLE_LEN_SRDY 24
31320 #define M_T6_BUNDLE_LEN_SRDY 0x3U
31321 #define V_T6_BUNDLE_LEN_SRDY(x) ((x) << S_T6_BUNDLE_LEN_SRDY)
31322 #define G_T6_BUNDLE_LEN_SRDY(x) (((x) >> S_T6_BUNDLE_LEN_SRDY) & M_T6_BUNDLE_LEN_SRDY)
31324 #define S_T6_BUNDLE_LEN1 12
31325 #define M_T6_BUNDLE_LEN1 0xfffU
31326 #define V_T6_BUNDLE_LEN1(x) ((x) << S_T6_BUNDLE_LEN1)
31327 #define G_T6_BUNDLE_LEN1(x) (((x) >> S_T6_BUNDLE_LEN1) & M_T6_BUNDLE_LEN1)
31329 #define A_PM_TX_DBG_STAT16 0x1003c
31331 #define S_BUNDLE_LEN3 16
31332 #define M_BUNDLE_LEN3 0xfffU
31333 #define V_BUNDLE_LEN3(x) ((x) << S_BUNDLE_LEN3)
31334 #define G_BUNDLE_LEN3(x) (((x) >> S_BUNDLE_LEN3) & M_BUNDLE_LEN3)
31336 #define S_BUNDLE_LEN2 0
31337 #define M_BUNDLE_LEN2 0xfffU
31338 #define V_BUNDLE_LEN2(x) ((x) << S_BUNDLE_LEN2)
31339 #define G_BUNDLE_LEN2(x) (((x) >> S_BUNDLE_LEN2) & M_BUNDLE_LEN2)
31341 /* registers for module MPS */
31342 #define MPS_BASE_ADDR 0x9000
31344 #define A_MPS_PORT_CTL 0x0
31346 #define S_LPBKEN 31
31347 #define V_LPBKEN(x) ((x) << S_LPBKEN)
31348 #define F_LPBKEN V_LPBKEN(1U)
31350 #define S_PORTTXEN 30
31351 #define V_PORTTXEN(x) ((x) << S_PORTTXEN)
31352 #define F_PORTTXEN V_PORTTXEN(1U)
31354 #define S_PORTRXEN 29
31355 #define V_PORTRXEN(x) ((x) << S_PORTRXEN)
31356 #define F_PORTRXEN V_PORTRXEN(1U)
31359 #define V_PPPEN(x) ((x) << S_PPPEN)
31360 #define F_PPPEN V_PPPEN(1U)
31362 #define S_FCSSTRIPEN 27
31363 #define V_FCSSTRIPEN(x) ((x) << S_FCSSTRIPEN)
31364 #define F_FCSSTRIPEN V_FCSSTRIPEN(1U)
31366 #define S_PPPANDPAUSE 26
31367 #define V_PPPANDPAUSE(x) ((x) << S_PPPANDPAUSE)
31368 #define F_PPPANDPAUSE V_PPPANDPAUSE(1U)
31370 #define S_PRIOPPPENMAP 16
31371 #define M_PRIOPPPENMAP 0xffU
31372 #define V_PRIOPPPENMAP(x) ((x) << S_PRIOPPPENMAP)
31373 #define G_PRIOPPPENMAP(x) (((x) >> S_PRIOPPPENMAP) & M_PRIOPPPENMAP)
31375 #define A_MPS_VF_CTL 0x0
31376 #define A_MPS_PORT_PAUSE_CTL 0x4
31378 #define S_TIMEUNIT 0
31379 #define M_TIMEUNIT 0xffffU
31380 #define V_TIMEUNIT(x) ((x) << S_TIMEUNIT)
31381 #define G_TIMEUNIT(x) (((x) >> S_TIMEUNIT) & M_TIMEUNIT)
31383 #define A_MPS_PORT_TX_PAUSE_CTL 0x8
31385 #define S_REGSENDOFF 24
31386 #define M_REGSENDOFF 0xffU
31387 #define V_REGSENDOFF(x) ((x) << S_REGSENDOFF)
31388 #define G_REGSENDOFF(x) (((x) >> S_REGSENDOFF) & M_REGSENDOFF)
31390 #define S_REGSENDON 16
31391 #define M_REGSENDON 0xffU
31392 #define V_REGSENDON(x) ((x) << S_REGSENDON)
31393 #define G_REGSENDON(x) (((x) >> S_REGSENDON) & M_REGSENDON)
31395 #define S_SGESENDEN 8
31396 #define M_SGESENDEN 0xffU
31397 #define V_SGESENDEN(x) ((x) << S_SGESENDEN)
31398 #define G_SGESENDEN(x) (((x) >> S_SGESENDEN) & M_SGESENDEN)
31400 #define S_RXSENDEN 0
31401 #define M_RXSENDEN 0xffU
31402 #define V_RXSENDEN(x) ((x) << S_RXSENDEN)
31403 #define G_RXSENDEN(x) (((x) >> S_RXSENDEN) & M_RXSENDEN)
31405 #define A_MPS_PORT_TX_PAUSE_CTL2 0xc
31407 #define S_XOFFDISABLE 0
31408 #define V_XOFFDISABLE(x) ((x) << S_XOFFDISABLE)
31409 #define F_XOFFDISABLE V_XOFFDISABLE(1U)
31411 #define A_MPS_PORT_RX_PAUSE_CTL 0x10
31413 #define S_REGHALTON 8
31414 #define M_REGHALTON 0xffU
31415 #define V_REGHALTON(x) ((x) << S_REGHALTON)
31416 #define G_REGHALTON(x) (((x) >> S_REGHALTON) & M_REGHALTON)
31418 #define S_RXHALTEN 0
31419 #define M_RXHALTEN 0xffU
31420 #define V_RXHALTEN(x) ((x) << S_RXHALTEN)
31421 #define G_RXHALTEN(x) (((x) >> S_RXHALTEN) & M_RXHALTEN)
31423 #define A_MPS_PORT_TX_PAUSE_STATUS 0x14
31425 #define S_REGSENDING 16
31426 #define M_REGSENDING 0xffU
31427 #define V_REGSENDING(x) ((x) << S_REGSENDING)
31428 #define G_REGSENDING(x) (((x) >> S_REGSENDING) & M_REGSENDING)
31430 #define S_SGESENDING 8
31431 #define M_SGESENDING 0xffU
31432 #define V_SGESENDING(x) ((x) << S_SGESENDING)
31433 #define G_SGESENDING(x) (((x) >> S_SGESENDING) & M_SGESENDING)
31435 #define S_RXSENDING 0
31436 #define M_RXSENDING 0xffU
31437 #define V_RXSENDING(x) ((x) << S_RXSENDING)
31438 #define G_RXSENDING(x) (((x) >> S_RXSENDING) & M_RXSENDING)
31440 #define A_MPS_PORT_RX_PAUSE_STATUS 0x18
31442 #define S_REGHALTED 8
31443 #define M_REGHALTED 0xffU
31444 #define V_REGHALTED(x) ((x) << S_REGHALTED)
31445 #define G_REGHALTED(x) (((x) >> S_REGHALTED) & M_REGHALTED)
31447 #define S_RXHALTED 0
31448 #define M_RXHALTED 0xffU
31449 #define V_RXHALTED(x) ((x) << S_RXHALTED)
31450 #define G_RXHALTED(x) (((x) >> S_RXHALTED) & M_RXHALTED)
31452 #define A_MPS_PORT_TX_PAUSE_DEST_L 0x1c
31453 #define A_MPS_PORT_TX_PAUSE_DEST_H 0x20
31456 #define M_ADDR 0xffffU
31457 #define V_ADDR(x) ((x) << S_ADDR)
31458 #define G_ADDR(x) (((x) >> S_ADDR) & M_ADDR)
31460 #define A_MPS_PORT_TX_PAUSE_SOURCE_L 0x24
31461 #define A_MPS_PORT_TX_PAUSE_SOURCE_H 0x28
31462 #define A_MPS_PORT_PRTY_BUFFER_GROUP_MAP 0x2c
31465 #define M_PRTY7 0x3U
31466 #define V_PRTY7(x) ((x) << S_PRTY7)
31467 #define G_PRTY7(x) (((x) >> S_PRTY7) & M_PRTY7)
31470 #define M_PRTY6 0x3U
31471 #define V_PRTY6(x) ((x) << S_PRTY6)
31472 #define G_PRTY6(x) (((x) >> S_PRTY6) & M_PRTY6)
31475 #define M_PRTY5 0x3U
31476 #define V_PRTY5(x) ((x) << S_PRTY5)
31477 #define G_PRTY5(x) (((x) >> S_PRTY5) & M_PRTY5)
31480 #define M_PRTY4 0x3U
31481 #define V_PRTY4(x) ((x) << S_PRTY4)
31482 #define G_PRTY4(x) (((x) >> S_PRTY4) & M_PRTY4)
31485 #define M_PRTY3 0x3U
31486 #define V_PRTY3(x) ((x) << S_PRTY3)
31487 #define G_PRTY3(x) (((x) >> S_PRTY3) & M_PRTY3)
31490 #define M_PRTY2 0x3U
31491 #define V_PRTY2(x) ((x) << S_PRTY2)
31492 #define G_PRTY2(x) (((x) >> S_PRTY2) & M_PRTY2)
31495 #define M_PRTY1 0x3U
31496 #define V_PRTY1(x) ((x) << S_PRTY1)
31497 #define G_PRTY1(x) (((x) >> S_PRTY1) & M_PRTY1)
31500 #define M_PRTY0 0x3U
31501 #define V_PRTY0(x) ((x) << S_PRTY0)
31502 #define G_PRTY0(x) (((x) >> S_PRTY0) & M_PRTY0)
31504 #define A_MPS_PORT_PRTY_BUFFER_GROUP_TH_MAP 0x30
31506 #define S_TXPRTY7 28
31507 #define M_TXPRTY7 0xfU
31508 #define V_TXPRTY7(x) ((x) << S_TXPRTY7)
31509 #define G_TXPRTY7(x) (((x) >> S_TXPRTY7) & M_TXPRTY7)
31511 #define S_TXPRTY6 24
31512 #define M_TXPRTY6 0xfU
31513 #define V_TXPRTY6(x) ((x) << S_TXPRTY6)
31514 #define G_TXPRTY6(x) (((x) >> S_TXPRTY6) & M_TXPRTY6)
31516 #define S_TXPRTY5 20
31517 #define M_TXPRTY5 0xfU
31518 #define V_TXPRTY5(x) ((x) << S_TXPRTY5)
31519 #define G_TXPRTY5(x) (((x) >> S_TXPRTY5) & M_TXPRTY5)
31521 #define S_TXPRTY4 16
31522 #define M_TXPRTY4 0xfU
31523 #define V_TXPRTY4(x) ((x) << S_TXPRTY4)
31524 #define G_TXPRTY4(x) (((x) >> S_TXPRTY4) & M_TXPRTY4)
31526 #define S_TXPRTY3 12
31527 #define M_TXPRTY3 0xfU
31528 #define V_TXPRTY3(x) ((x) << S_TXPRTY3)
31529 #define G_TXPRTY3(x) (((x) >> S_TXPRTY3) & M_TXPRTY3)
31531 #define S_TXPRTY2 8
31532 #define M_TXPRTY2 0xfU
31533 #define V_TXPRTY2(x) ((x) << S_TXPRTY2)
31534 #define G_TXPRTY2(x) (((x) >> S_TXPRTY2) & M_TXPRTY2)
31536 #define S_TXPRTY1 4
31537 #define M_TXPRTY1 0xfU
31538 #define V_TXPRTY1(x) ((x) << S_TXPRTY1)
31539 #define G_TXPRTY1(x) (((x) >> S_TXPRTY1) & M_TXPRTY1)
31541 #define S_TXPRTY0 0
31542 #define M_TXPRTY0 0xfU
31543 #define V_TXPRTY0(x) ((x) << S_TXPRTY0)
31544 #define G_TXPRTY0(x) (((x) >> S_TXPRTY0) & M_TXPRTY0)
31546 #define A_MPS_VF_STAT_TX_VF_BCAST_BYTES_L 0x80
31547 #define A_MPS_VF_STAT_TX_VF_BCAST_BYTES_H 0x84
31548 #define A_MPS_VF_STAT_TX_VF_BCAST_FRAMES_L 0x88
31549 #define A_MPS_VF_STAT_TX_VF_BCAST_FRAMES_H 0x8c
31550 #define A_MPS_VF_STAT_TX_VF_MCAST_BYTES_L 0x90
31551 #define A_MPS_VF_STAT_TX_VF_MCAST_BYTES_H 0x94
31552 #define A_MPS_VF_STAT_TX_VF_MCAST_FRAMES_L 0x98
31553 #define A_MPS_VF_STAT_TX_VF_MCAST_FRAMES_H 0x9c
31554 #define A_MPS_VF_STAT_TX_VF_UCAST_BYTES_L 0xa0
31555 #define A_MPS_VF_STAT_TX_VF_UCAST_BYTES_H 0xa4
31556 #define A_MPS_VF_STAT_TX_VF_UCAST_FRAMES_L 0xa8
31557 #define A_MPS_VF_STAT_TX_VF_UCAST_FRAMES_H 0xac
31558 #define A_MPS_VF_STAT_TX_VF_DROP_FRAMES_L 0xb0
31559 #define A_MPS_VF_STAT_TX_VF_DROP_FRAMES_H 0xb4
31560 #define A_MPS_VF_STAT_TX_VF_OFFLOAD_BYTES_L 0xb8
31561 #define A_MPS_VF_STAT_TX_VF_OFFLOAD_BYTES_H 0xbc
31562 #define A_MPS_VF_STAT_TX_VF_OFFLOAD_FRAMES_L 0xc0
31563 #define A_MPS_VF_STAT_TX_VF_OFFLOAD_FRAMES_H 0xc4
31564 #define A_MPS_VF_STAT_RX_VF_BCAST_BYTES_L 0xc8
31565 #define A_MPS_VF_STAT_RX_VF_BCAST_BYTES_H 0xcc
31566 #define A_MPS_VF_STAT_RX_VF_BCAST_FRAMES_L 0xd0
31567 #define A_MPS_VF_STAT_RX_VF_BCAST_FRAMES_H 0xd4
31568 #define A_MPS_VF_STAT_RX_VF_MCAST_BYTES_L 0xd8
31569 #define A_MPS_VF_STAT_RX_VF_MCAST_BYTES_H 0xdc
31570 #define A_MPS_VF_STAT_RX_VF_MCAST_FRAMES_L 0xe0
31571 #define A_MPS_VF_STAT_RX_VF_MCAST_FRAMES_H 0xe4
31572 #define A_MPS_VF_STAT_RX_VF_UCAST_BYTES_L 0xe8
31573 #define A_MPS_VF_STAT_RX_VF_UCAST_BYTES_H 0xec
31574 #define A_MPS_VF_STAT_RX_VF_UCAST_FRAMES_L 0xf0
31575 #define A_MPS_VF_STAT_RX_VF_UCAST_FRAMES_H 0xf4
31576 #define A_MPS_VF_STAT_RX_VF_ERR_FRAMES_L 0xf8
31577 #define A_MPS_VF_STAT_RX_VF_ERR_FRAMES_H 0xfc
31578 #define A_MPS_PORT_RX_CTL 0x100
31580 #define S_NO_RPLCT_M 20
31581 #define V_NO_RPLCT_M(x) ((x) << S_NO_RPLCT_M)
31582 #define F_NO_RPLCT_M V_NO_RPLCT_M(1U)
31584 #define S_RPLCT_SEL_L 18
31585 #define M_RPLCT_SEL_L 0x3U
31586 #define V_RPLCT_SEL_L(x) ((x) << S_RPLCT_SEL_L)
31587 #define G_RPLCT_SEL_L(x) (((x) >> S_RPLCT_SEL_L) & M_RPLCT_SEL_L)
31589 #define S_FLTR_VLAN_SEL 17
31590 #define V_FLTR_VLAN_SEL(x) ((x) << S_FLTR_VLAN_SEL)
31591 #define F_FLTR_VLAN_SEL V_FLTR_VLAN_SEL(1U)
31593 #define S_PRIO_VLAN_SEL 16
31594 #define V_PRIO_VLAN_SEL(x) ((x) << S_PRIO_VLAN_SEL)
31595 #define F_PRIO_VLAN_SEL V_PRIO_VLAN_SEL(1U)
31597 #define S_CHK_8023_LEN_M 15
31598 #define V_CHK_8023_LEN_M(x) ((x) << S_CHK_8023_LEN_M)
31599 #define F_CHK_8023_LEN_M V_CHK_8023_LEN_M(1U)
31601 #define S_CHK_8023_LEN_L 14
31602 #define V_CHK_8023_LEN_L(x) ((x) << S_CHK_8023_LEN_L)
31603 #define F_CHK_8023_LEN_L V_CHK_8023_LEN_L(1U)
31605 #define S_NIV_DROP 13
31606 #define V_NIV_DROP(x) ((x) << S_NIV_DROP)
31607 #define F_NIV_DROP V_NIV_DROP(1U)
31609 #define S_NOV_DROP 12
31610 #define V_NOV_DROP(x) ((x) << S_NOV_DROP)
31611 #define F_NOV_DROP V_NOV_DROP(1U)
31613 #define S_CLS_PRT 11
31614 #define V_CLS_PRT(x) ((x) << S_CLS_PRT)
31615 #define F_CLS_PRT V_CLS_PRT(1U)
31617 #define S_RX_QFC_EN 10
31618 #define V_RX_QFC_EN(x) ((x) << S_RX_QFC_EN)
31619 #define F_RX_QFC_EN V_RX_QFC_EN(1U)
31621 #define S_QFC_FWD_UP 9
31622 #define V_QFC_FWD_UP(x) ((x) << S_QFC_FWD_UP)
31623 #define F_QFC_FWD_UP V_QFC_FWD_UP(1U)
31625 #define S_PPP_FWD_UP 8
31626 #define V_PPP_FWD_UP(x) ((x) << S_PPP_FWD_UP)
31627 #define F_PPP_FWD_UP V_PPP_FWD_UP(1U)
31629 #define S_PAUSE_FWD_UP 7
31630 #define V_PAUSE_FWD_UP(x) ((x) << S_PAUSE_FWD_UP)
31631 #define F_PAUSE_FWD_UP V_PAUSE_FWD_UP(1U)
31633 #define S_LPBK_BP 6
31634 #define V_LPBK_BP(x) ((x) << S_LPBK_BP)
31635 #define F_LPBK_BP V_LPBK_BP(1U)
31637 #define S_PASS_NO_MATCH 5
31638 #define V_PASS_NO_MATCH(x) ((x) << S_PASS_NO_MATCH)
31639 #define F_PASS_NO_MATCH V_PASS_NO_MATCH(1U)
31641 #define S_IVLAN_EN 4
31642 #define V_IVLAN_EN(x) ((x) << S_IVLAN_EN)
31643 #define F_IVLAN_EN V_IVLAN_EN(1U)
31645 #define S_OVLAN_EN3 3
31646 #define V_OVLAN_EN3(x) ((x) << S_OVLAN_EN3)
31647 #define F_OVLAN_EN3 V_OVLAN_EN3(1U)
31649 #define S_OVLAN_EN2 2
31650 #define V_OVLAN_EN2(x) ((x) << S_OVLAN_EN2)
31651 #define F_OVLAN_EN2 V_OVLAN_EN2(1U)
31653 #define S_OVLAN_EN1 1
31654 #define V_OVLAN_EN1(x) ((x) << S_OVLAN_EN1)
31655 #define F_OVLAN_EN1 V_OVLAN_EN1(1U)
31657 #define S_OVLAN_EN0 0
31658 #define V_OVLAN_EN0(x) ((x) << S_OVLAN_EN0)
31659 #define F_OVLAN_EN0 V_OVLAN_EN0(1U)
31661 #define S_PTP_FWD_UP 21
31662 #define V_PTP_FWD_UP(x) ((x) << S_PTP_FWD_UP)
31663 #define F_PTP_FWD_UP V_PTP_FWD_UP(1U)
31665 #define S_HASH_PRIO_SEL_LPBK 25
31666 #define V_HASH_PRIO_SEL_LPBK(x) ((x) << S_HASH_PRIO_SEL_LPBK)
31667 #define F_HASH_PRIO_SEL_LPBK V_HASH_PRIO_SEL_LPBK(1U)
31669 #define S_HASH_PRIO_SEL_MAC 24
31670 #define V_HASH_PRIO_SEL_MAC(x) ((x) << S_HASH_PRIO_SEL_MAC)
31671 #define F_HASH_PRIO_SEL_MAC V_HASH_PRIO_SEL_MAC(1U)
31673 #define S_HASH_EN_LPBK 23
31674 #define V_HASH_EN_LPBK(x) ((x) << S_HASH_EN_LPBK)
31675 #define F_HASH_EN_LPBK V_HASH_EN_LPBK(1U)
31677 #define S_HASH_EN_MAC 22
31678 #define V_HASH_EN_MAC(x) ((x) << S_HASH_EN_MAC)
31679 #define F_HASH_EN_MAC V_HASH_EN_MAC(1U)
31681 #define A_MPS_PORT_RX_MTU 0x104
31682 #define A_MPS_PORT_RX_PF_MAP 0x108
31683 #define A_MPS_PORT_RX_VF_MAP0 0x10c
31684 #define A_MPS_PORT_RX_VF_MAP1 0x110
31685 #define A_MPS_PORT_RX_VF_MAP2 0x114
31686 #define A_MPS_PORT_RX_VF_MAP3 0x118
31687 #define A_MPS_PORT_RX_IVLAN 0x11c
31689 #define S_IVLAN_ETYPE 0
31690 #define M_IVLAN_ETYPE 0xffffU
31691 #define V_IVLAN_ETYPE(x) ((x) << S_IVLAN_ETYPE)
31692 #define G_IVLAN_ETYPE(x) (((x) >> S_IVLAN_ETYPE) & M_IVLAN_ETYPE)
31694 #define A_MPS_PORT_RX_OVLAN0 0x120
31696 #define S_OVLAN_MASK 16
31697 #define M_OVLAN_MASK 0xffffU
31698 #define V_OVLAN_MASK(x) ((x) << S_OVLAN_MASK)
31699 #define G_OVLAN_MASK(x) (((x) >> S_OVLAN_MASK) & M_OVLAN_MASK)
31701 #define S_OVLAN_ETYPE 0
31702 #define M_OVLAN_ETYPE 0xffffU
31703 #define V_OVLAN_ETYPE(x) ((x) << S_OVLAN_ETYPE)
31704 #define G_OVLAN_ETYPE(x) (((x) >> S_OVLAN_ETYPE) & M_OVLAN_ETYPE)
31706 #define A_MPS_PORT_RX_OVLAN1 0x124
31707 #define A_MPS_PORT_RX_OVLAN2 0x128
31708 #define A_MPS_PORT_RX_OVLAN3 0x12c
31709 #define A_MPS_PORT_RX_RSS_HASH 0x130
31710 #define A_MPS_PORT_RX_RSS_CONTROL 0x134
31712 #define S_RSS_CTRL 16
31713 #define M_RSS_CTRL 0xffU
31714 #define V_RSS_CTRL(x) ((x) << S_RSS_CTRL)
31715 #define G_RSS_CTRL(x) (((x) >> S_RSS_CTRL) & M_RSS_CTRL)
31717 #define S_QUE_NUM 0
31718 #define M_QUE_NUM 0xffffU
31719 #define V_QUE_NUM(x) ((x) << S_QUE_NUM)
31720 #define G_QUE_NUM(x) (((x) >> S_QUE_NUM) & M_QUE_NUM)
31722 #define A_MPS_PORT_RX_CTL1 0x138
31724 #define S_FIXED_PFVF_MAC 13
31725 #define V_FIXED_PFVF_MAC(x) ((x) << S_FIXED_PFVF_MAC)
31726 #define F_FIXED_PFVF_MAC V_FIXED_PFVF_MAC(1U)
31728 #define S_FIXED_PFVF_LPBK 12
31729 #define V_FIXED_PFVF_LPBK(x) ((x) << S_FIXED_PFVF_LPBK)
31730 #define F_FIXED_PFVF_LPBK V_FIXED_PFVF_LPBK(1U)
31732 #define S_FIXED_PFVF_LPBK_OV 11
31733 #define V_FIXED_PFVF_LPBK_OV(x) ((x) << S_FIXED_PFVF_LPBK_OV)
31734 #define F_FIXED_PFVF_LPBK_OV V_FIXED_PFVF_LPBK_OV(1U)
31736 #define S_FIXED_PF 8
31737 #define M_FIXED_PF 0x7U
31738 #define V_FIXED_PF(x) ((x) << S_FIXED_PF)
31739 #define G_FIXED_PF(x) (((x) >> S_FIXED_PF) & M_FIXED_PF)
31741 #define S_FIXED_VF_VLD 7
31742 #define V_FIXED_VF_VLD(x) ((x) << S_FIXED_VF_VLD)
31743 #define F_FIXED_VF_VLD V_FIXED_VF_VLD(1U)
31745 #define S_FIXED_VF 0
31746 #define M_FIXED_VF 0x7fU
31747 #define V_FIXED_VF(x) ((x) << S_FIXED_VF)
31748 #define G_FIXED_VF(x) (((x) >> S_FIXED_VF) & M_FIXED_VF)
31750 #define S_T6_FIXED_PFVF_MAC 14
31751 #define V_T6_FIXED_PFVF_MAC(x) ((x) << S_T6_FIXED_PFVF_MAC)
31752 #define F_T6_FIXED_PFVF_MAC V_T6_FIXED_PFVF_MAC(1U)
31754 #define S_T6_FIXED_PFVF_LPBK 13
31755 #define V_T6_FIXED_PFVF_LPBK(x) ((x) << S_T6_FIXED_PFVF_LPBK)
31756 #define F_T6_FIXED_PFVF_LPBK V_T6_FIXED_PFVF_LPBK(1U)
31758 #define S_T6_FIXED_PFVF_LPBK_OV 12
31759 #define V_T6_FIXED_PFVF_LPBK_OV(x) ((x) << S_T6_FIXED_PFVF_LPBK_OV)
31760 #define F_T6_FIXED_PFVF_LPBK_OV V_T6_FIXED_PFVF_LPBK_OV(1U)
31762 #define S_T6_FIXED_PF 9
31763 #define M_T6_FIXED_PF 0x7U
31764 #define V_T6_FIXED_PF(x) ((x) << S_T6_FIXED_PF)
31765 #define G_T6_FIXED_PF(x) (((x) >> S_T6_FIXED_PF) & M_T6_FIXED_PF)
31767 #define S_T6_FIXED_VF_VLD 8
31768 #define V_T6_FIXED_VF_VLD(x) ((x) << S_T6_FIXED_VF_VLD)
31769 #define F_T6_FIXED_VF_VLD V_T6_FIXED_VF_VLD(1U)
31771 #define S_T6_FIXED_VF 0
31772 #define M_T6_FIXED_VF 0xffU
31773 #define V_T6_FIXED_VF(x) ((x) << S_T6_FIXED_VF)
31774 #define G_T6_FIXED_VF(x) (((x) >> S_T6_FIXED_VF) & M_T6_FIXED_VF)
31776 #define A_MPS_PORT_RX_SPARE 0x13c
31777 #define A_MPS_PORT_RX_PTP_RSS_HASH 0x140
31778 #define A_MPS_PORT_RX_PTP_RSS_CONTROL 0x144
31779 #define A_MPS_PORT_RX_TS_VLD 0x148
31782 #define M_TS_VLD 0x3U
31783 #define V_TS_VLD(x) ((x) << S_TS_VLD)
31784 #define G_TS_VLD(x) (((x) >> S_TS_VLD) & M_TS_VLD)
31786 #define A_MPS_PORT_RX_TNL_LKP_INNER_SEL 0x14c
31788 #define S_LKP_SEL 0
31789 #define V_LKP_SEL(x) ((x) << S_LKP_SEL)
31790 #define F_LKP_SEL V_LKP_SEL(1U)
31792 #define A_MPS_PORT_RX_VF_MAP4 0x150
31793 #define A_MPS_PORT_RX_VF_MAP5 0x154
31794 #define A_MPS_PORT_RX_VF_MAP6 0x158
31795 #define A_MPS_PORT_RX_VF_MAP7 0x15c
31796 #define A_MPS_PORT_RX_PRS_DEBUG_FLAG_MAC 0x160
31798 #define S_OUTER_IPV4_N_INNER_IPV4 31
31799 #define V_OUTER_IPV4_N_INNER_IPV4(x) ((x) << S_OUTER_IPV4_N_INNER_IPV4)
31800 #define F_OUTER_IPV4_N_INNER_IPV4 V_OUTER_IPV4_N_INNER_IPV4(1U)
31802 #define S_OUTER_IPV4_N_INNER_IPV6 30
31803 #define V_OUTER_IPV4_N_INNER_IPV6(x) ((x) << S_OUTER_IPV4_N_INNER_IPV6)
31804 #define F_OUTER_IPV4_N_INNER_IPV6 V_OUTER_IPV4_N_INNER_IPV6(1U)
31806 #define S_OUTER_IPV6_N_INNER_IPV4 29
31807 #define V_OUTER_IPV6_N_INNER_IPV4(x) ((x) << S_OUTER_IPV6_N_INNER_IPV4)
31808 #define F_OUTER_IPV6_N_INNER_IPV4 V_OUTER_IPV6_N_INNER_IPV4(1U)
31810 #define S_OUTER_IPV6_N_INNER_IPV6 28
31811 #define V_OUTER_IPV6_N_INNER_IPV6(x) ((x) << S_OUTER_IPV6_N_INNER_IPV6)
31812 #define F_OUTER_IPV6_N_INNER_IPV6 V_OUTER_IPV6_N_INNER_IPV6(1U)
31814 #define S_OUTER_IPV4_N_VLAN_NVGRE 27
31815 #define V_OUTER_IPV4_N_VLAN_NVGRE(x) ((x) << S_OUTER_IPV4_N_VLAN_NVGRE)
31816 #define F_OUTER_IPV4_N_VLAN_NVGRE V_OUTER_IPV4_N_VLAN_NVGRE(1U)
31818 #define S_OUTER_IPV6_N_VLAN_NVGRE 26
31819 #define V_OUTER_IPV6_N_VLAN_NVGRE(x) ((x) << S_OUTER_IPV6_N_VLAN_NVGRE)
31820 #define F_OUTER_IPV6_N_VLAN_NVGRE V_OUTER_IPV6_N_VLAN_NVGRE(1U)
31822 #define S_OUTER_IPV4_N_DOUBLE_VLAN_NVGRE 25
31823 #define V_OUTER_IPV4_N_DOUBLE_VLAN_NVGRE(x) ((x) << S_OUTER_IPV4_N_DOUBLE_VLAN_NVGRE)
31824 #define F_OUTER_IPV4_N_DOUBLE_VLAN_NVGRE V_OUTER_IPV4_N_DOUBLE_VLAN_NVGRE(1U)
31826 #define S_OUTER_IPV6_N_DOUBLE_VLAN_NVGRE 24
31827 #define V_OUTER_IPV6_N_DOUBLE_VLAN_NVGRE(x) ((x) << S_OUTER_IPV6_N_DOUBLE_VLAN_NVGRE)
31828 #define F_OUTER_IPV6_N_DOUBLE_VLAN_NVGRE V_OUTER_IPV6_N_DOUBLE_VLAN_NVGRE(1U)
31830 #define S_OUTER_IPV4_N_VLAN_GRE 23
31831 #define V_OUTER_IPV4_N_VLAN_GRE(x) ((x) << S_OUTER_IPV4_N_VLAN_GRE)
31832 #define F_OUTER_IPV4_N_VLAN_GRE V_OUTER_IPV4_N_VLAN_GRE(1U)
31834 #define S_OUTER_IPV6_N_VLAN_GRE 22
31835 #define V_OUTER_IPV6_N_VLAN_GRE(x) ((x) << S_OUTER_IPV6_N_VLAN_GRE)
31836 #define F_OUTER_IPV6_N_VLAN_GRE V_OUTER_IPV6_N_VLAN_GRE(1U)
31838 #define S_OUTER_IPV4_N_DOUBLE_VLAN_GRE 21
31839 #define V_OUTER_IPV4_N_DOUBLE_VLAN_GRE(x) ((x) << S_OUTER_IPV4_N_DOUBLE_VLAN_GRE)
31840 #define F_OUTER_IPV4_N_DOUBLE_VLAN_GRE V_OUTER_IPV4_N_DOUBLE_VLAN_GRE(1U)
31842 #define S_OUTER_IPV6_N_DOUBLE_VLAN_GRE 20
31843 #define V_OUTER_IPV6_N_DOUBLE_VLAN_GRE(x) ((x) << S_OUTER_IPV6_N_DOUBLE_VLAN_GRE)
31844 #define F_OUTER_IPV6_N_DOUBLE_VLAN_GRE V_OUTER_IPV6_N_DOUBLE_VLAN_GRE(1U)
31846 #define S_OUTER_IPV4_N_VLAN_VXLAN 19
31847 #define V_OUTER_IPV4_N_VLAN_VXLAN(x) ((x) << S_OUTER_IPV4_N_VLAN_VXLAN)
31848 #define F_OUTER_IPV4_N_VLAN_VXLAN V_OUTER_IPV4_N_VLAN_VXLAN(1U)
31850 #define S_OUTER_IPV6_N_VLAN_VXLAN 18
31851 #define V_OUTER_IPV6_N_VLAN_VXLAN(x) ((x) << S_OUTER_IPV6_N_VLAN_VXLAN)
31852 #define F_OUTER_IPV6_N_VLAN_VXLAN V_OUTER_IPV6_N_VLAN_VXLAN(1U)
31854 #define S_OUTER_IPV4_N_DOUBLE_VLAN_VXLAN 17
31855 #define V_OUTER_IPV4_N_DOUBLE_VLAN_VXLAN(x) ((x) << S_OUTER_IPV4_N_DOUBLE_VLAN_VXLAN)
31856 #define F_OUTER_IPV4_N_DOUBLE_VLAN_VXLAN V_OUTER_IPV4_N_DOUBLE_VLAN_VXLAN(1U)
31858 #define S_OUTER_IPV6_N_DOUBLE_VLAN_VXLAN 16
31859 #define V_OUTER_IPV6_N_DOUBLE_VLAN_VXLAN(x) ((x) << S_OUTER_IPV6_N_DOUBLE_VLAN_VXLAN)
31860 #define F_OUTER_IPV6_N_DOUBLE_VLAN_VXLAN V_OUTER_IPV6_N_DOUBLE_VLAN_VXLAN(1U)
31862 #define S_OUTER_IPV4_N_VLAN_GENEVE 15
31863 #define V_OUTER_IPV4_N_VLAN_GENEVE(x) ((x) << S_OUTER_IPV4_N_VLAN_GENEVE)
31864 #define F_OUTER_IPV4_N_VLAN_GENEVE V_OUTER_IPV4_N_VLAN_GENEVE(1U)
31866 #define S_OUTER_IPV6_N_VLAN_GENEVE 14
31867 #define V_OUTER_IPV6_N_VLAN_GENEVE(x) ((x) << S_OUTER_IPV6_N_VLAN_GENEVE)
31868 #define F_OUTER_IPV6_N_VLAN_GENEVE V_OUTER_IPV6_N_VLAN_GENEVE(1U)
31870 #define S_OUTER_IPV4_N_DOUBLE_VLAN_GENEVE 13
31871 #define V_OUTER_IPV4_N_DOUBLE_VLAN_GENEVE(x) ((x) << S_OUTER_IPV4_N_DOUBLE_VLAN_GENEVE)
31872 #define F_OUTER_IPV4_N_DOUBLE_VLAN_GENEVE V_OUTER_IPV4_N_DOUBLE_VLAN_GENEVE(1U)
31874 #define S_OUTER_IPV6_N_DOUBLE_VLAN_GENEVE 12
31875 #define V_OUTER_IPV6_N_DOUBLE_VLAN_GENEVE(x) ((x) << S_OUTER_IPV6_N_DOUBLE_VLAN_GENEVE)
31876 #define F_OUTER_IPV6_N_DOUBLE_VLAN_GENEVE V_OUTER_IPV6_N_DOUBLE_VLAN_GENEVE(1U)
31878 #define S_ERR_TNL_HDR_LEN 11
31879 #define V_ERR_TNL_HDR_LEN(x) ((x) << S_ERR_TNL_HDR_LEN)
31880 #define F_ERR_TNL_HDR_LEN V_ERR_TNL_HDR_LEN(1U)
31882 #define S_NON_RUNT_FRAME 10
31883 #define V_NON_RUNT_FRAME(x) ((x) << S_NON_RUNT_FRAME)
31884 #define F_NON_RUNT_FRAME V_NON_RUNT_FRAME(1U)
31886 #define S_INNER_VLAN_VLD 9
31887 #define V_INNER_VLAN_VLD(x) ((x) << S_INNER_VLAN_VLD)
31888 #define F_INNER_VLAN_VLD V_INNER_VLAN_VLD(1U)
31890 #define S_ERR_IP_PAYLOAD_LEN 8
31891 #define V_ERR_IP_PAYLOAD_LEN(x) ((x) << S_ERR_IP_PAYLOAD_LEN)
31892 #define F_ERR_IP_PAYLOAD_LEN V_ERR_IP_PAYLOAD_LEN(1U)
31894 #define S_ERR_UDP_PAYLOAD_LEN 7
31895 #define V_ERR_UDP_PAYLOAD_LEN(x) ((x) << S_ERR_UDP_PAYLOAD_LEN)
31896 #define F_ERR_UDP_PAYLOAD_LEN V_ERR_UDP_PAYLOAD_LEN(1U)
31898 #define A_MPS_PORT_RX_PRS_DEBUG_FLAG_LPBK 0x164
31900 #define S_T6_INNER_VLAN_VLD 10
31901 #define V_T6_INNER_VLAN_VLD(x) ((x) << S_T6_INNER_VLAN_VLD)
31902 #define F_T6_INNER_VLAN_VLD V_T6_INNER_VLAN_VLD(1U)
31904 #define S_T6_ERR_IP_PAYLOAD_LEN 9
31905 #define V_T6_ERR_IP_PAYLOAD_LEN(x) ((x) << S_T6_ERR_IP_PAYLOAD_LEN)
31906 #define F_T6_ERR_IP_PAYLOAD_LEN V_T6_ERR_IP_PAYLOAD_LEN(1U)
31908 #define S_T6_ERR_UDP_PAYLOAD_LEN 8
31909 #define V_T6_ERR_UDP_PAYLOAD_LEN(x) ((x) << S_T6_ERR_UDP_PAYLOAD_LEN)
31910 #define F_T6_ERR_UDP_PAYLOAD_LEN V_T6_ERR_UDP_PAYLOAD_LEN(1U)
31912 #define A_MPS_PORT_RX_REPL_VECT_SEL 0x168
31914 #define S_DIS_REPL_VECT_SEL 4
31915 #define V_DIS_REPL_VECT_SEL(x) ((x) << S_DIS_REPL_VECT_SEL)
31916 #define F_DIS_REPL_VECT_SEL V_DIS_REPL_VECT_SEL(1U)
31918 #define S_REPL_VECT_SEL 0
31919 #define M_REPL_VECT_SEL 0xfU
31920 #define V_REPL_VECT_SEL(x) ((x) << S_REPL_VECT_SEL)
31921 #define G_REPL_VECT_SEL(x) (((x) >> S_REPL_VECT_SEL) & M_REPL_VECT_SEL)
31923 #define A_MPS_PORT_TX_MAC_RELOAD_CH0 0x190
31926 #define M_CREDIT 0xffffU
31927 #define V_CREDIT(x) ((x) << S_CREDIT)
31928 #define G_CREDIT(x) (((x) >> S_CREDIT) & M_CREDIT)
31930 #define A_MPS_PORT_TX_MAC_RELOAD_CH1 0x194
31931 #define A_MPS_PORT_TX_MAC_RELOAD_CH2 0x198
31932 #define A_MPS_PORT_TX_MAC_RELOAD_CH3 0x19c
31933 #define A_MPS_PORT_TX_MAC_RELOAD_CH4 0x1a0
31934 #define A_MPS_PORT_TX_LPBK_RELOAD_CH0 0x1a8
31935 #define A_MPS_PORT_TX_LPBK_RELOAD_CH1 0x1ac
31936 #define A_MPS_PORT_TX_LPBK_RELOAD_CH2 0x1b0
31937 #define A_MPS_PORT_TX_LPBK_RELOAD_CH3 0x1b4
31938 #define A_MPS_PORT_TX_LPBK_RELOAD_CH4 0x1b8
31939 #define A_MPS_PORT_TX_FIFO_CTL 0x1c4
31942 #define M_FIFOTH 0x1ffU
31943 #define V_FIFOTH(x) ((x) << S_FIFOTH)
31944 #define G_FIFOTH(x) (((x) >> S_FIFOTH) & M_FIFOTH)
31947 #define V_FIFOEN(x) ((x) << S_FIFOEN)
31948 #define F_FIFOEN V_FIFOEN(1U)
31950 #define S_MAXPKTCNT 0
31951 #define M_MAXPKTCNT 0xfU
31952 #define V_MAXPKTCNT(x) ((x) << S_MAXPKTCNT)
31953 #define G_MAXPKTCNT(x) (((x) >> S_MAXPKTCNT) & M_MAXPKTCNT)
31955 #define S_OUT_TH 22
31956 #define M_OUT_TH 0xffU
31957 #define V_OUT_TH(x) ((x) << S_OUT_TH)
31958 #define G_OUT_TH(x) (((x) >> S_OUT_TH) & M_OUT_TH)
31961 #define M_IN_TH 0xffU
31962 #define V_IN_TH(x) ((x) << S_IN_TH)
31963 #define G_IN_TH(x) (((x) >> S_IN_TH) & M_IN_TH)
31965 #define A_MPS_PORT_FPGA_PAUSE_CTL 0x1c8
31967 #define S_FPGAPAUSEEN 0
31968 #define V_FPGAPAUSEEN(x) ((x) << S_FPGAPAUSEEN)
31969 #define F_FPGAPAUSEEN V_FPGAPAUSEEN(1U)
31971 #define A_MPS_PORT_TX_PAUSE_PENDING_STATUS 0x1d0
31973 #define S_OFF_PENDING 8
31974 #define M_OFF_PENDING 0xffU
31975 #define V_OFF_PENDING(x) ((x) << S_OFF_PENDING)
31976 #define G_OFF_PENDING(x) (((x) >> S_OFF_PENDING) & M_OFF_PENDING)
31978 #define S_ON_PENDING 0
31979 #define M_ON_PENDING 0xffU
31980 #define V_ON_PENDING(x) ((x) << S_ON_PENDING)
31981 #define G_ON_PENDING(x) (((x) >> S_ON_PENDING) & M_ON_PENDING)
31983 #define A_MPS_PORT_CLS_HASH_SRAM 0x200
31986 #define V_VALID(x) ((x) << S_VALID)
31987 #define F_VALID V_VALID(1U)
31989 #define S_HASHPORTMAP 16
31990 #define M_HASHPORTMAP 0xfU
31991 #define V_HASHPORTMAP(x) ((x) << S_HASHPORTMAP)
31992 #define G_HASHPORTMAP(x) (((x) >> S_HASHPORTMAP) & M_HASHPORTMAP)
31994 #define S_MULTILISTEN 15
31995 #define V_MULTILISTEN(x) ((x) << S_MULTILISTEN)
31996 #define F_MULTILISTEN V_MULTILISTEN(1U)
31998 #define S_PRIORITY 12
31999 #define M_PRIORITY 0x7U
32000 #define V_PRIORITY(x) ((x) << S_PRIORITY)
32001 #define G_PRIORITY(x) (((x) >> S_PRIORITY) & M_PRIORITY)
32003 #define S_REPLICATE 11
32004 #define V_REPLICATE(x) ((x) << S_REPLICATE)
32005 #define F_REPLICATE V_REPLICATE(1U)
32009 #define V_PF(x) ((x) << S_PF)
32010 #define G_PF(x) (((x) >> S_PF) & M_PF)
32012 #define S_VF_VALID 7
32013 #define V_VF_VALID(x) ((x) << S_VF_VALID)
32014 #define F_VF_VALID V_VF_VALID(1U)
32018 #define V_VF(x) ((x) << S_VF)
32019 #define G_VF(x) (((x) >> S_VF) & M_VF)
32021 #define S_DISENCAPOUTERRPLCT 23
32022 #define V_DISENCAPOUTERRPLCT(x) ((x) << S_DISENCAPOUTERRPLCT)
32023 #define F_DISENCAPOUTERRPLCT V_DISENCAPOUTERRPLCT(1U)
32025 #define S_DISENCAP 22
32026 #define V_DISENCAP(x) ((x) << S_DISENCAP)
32027 #define F_DISENCAP V_DISENCAP(1U)
32029 #define S_T6_VALID 21
32030 #define V_T6_VALID(x) ((x) << S_T6_VALID)
32031 #define F_T6_VALID V_T6_VALID(1U)
32033 #define S_T6_HASHPORTMAP 17
32034 #define M_T6_HASHPORTMAP 0xfU
32035 #define V_T6_HASHPORTMAP(x) ((x) << S_T6_HASHPORTMAP)
32036 #define G_T6_HASHPORTMAP(x) (((x) >> S_T6_HASHPORTMAP) & M_T6_HASHPORTMAP)
32038 #define S_T6_MULTILISTEN 16
32039 #define V_T6_MULTILISTEN(x) ((x) << S_T6_MULTILISTEN)
32040 #define F_T6_MULTILISTEN V_T6_MULTILISTEN(1U)
32042 #define S_T6_PRIORITY 13
32043 #define M_T6_PRIORITY 0x7U
32044 #define V_T6_PRIORITY(x) ((x) << S_T6_PRIORITY)
32045 #define G_T6_PRIORITY(x) (((x) >> S_T6_PRIORITY) & M_T6_PRIORITY)
32047 #define S_T6_REPLICATE 12
32048 #define V_T6_REPLICATE(x) ((x) << S_T6_REPLICATE)
32049 #define F_T6_REPLICATE V_T6_REPLICATE(1U)
32052 #define M_T6_PF 0x7U
32053 #define V_T6_PF(x) ((x) << S_T6_PF)
32054 #define G_T6_PF(x) (((x) >> S_T6_PF) & M_T6_PF)
32056 #define S_T6_VF_VALID 8
32057 #define V_T6_VF_VALID(x) ((x) << S_T6_VF_VALID)
32058 #define F_T6_VF_VALID V_T6_VF_VALID(1U)
32061 #define M_T6_VF 0xffU
32062 #define V_T6_VF(x) ((x) << S_T6_VF)
32063 #define G_T6_VF(x) (((x) >> S_T6_VF) & M_T6_VF)
32065 #define A_MPS_PF_CTL 0x2c0
32068 #define V_TXEN(x) ((x) << S_TXEN)
32069 #define F_TXEN V_TXEN(1U)
32072 #define V_RXEN(x) ((x) << S_RXEN)
32073 #define F_RXEN V_RXEN(1U)
32075 #define A_MPS_PF_TX_QINQ_VLAN 0x2e0
32077 #define S_PROTOCOLID 16
32078 #define M_PROTOCOLID 0xffffU
32079 #define V_PROTOCOLID(x) ((x) << S_PROTOCOLID)
32080 #define G_PROTOCOLID(x) (((x) >> S_PROTOCOLID) & M_PROTOCOLID)
32082 #define S_VLAN_PRIO 13
32083 #define M_VLAN_PRIO 0x7U
32084 #define V_VLAN_PRIO(x) ((x) << S_VLAN_PRIO)
32085 #define G_VLAN_PRIO(x) (((x) >> S_VLAN_PRIO) & M_VLAN_PRIO)
32088 #define V_CFI(x) ((x) << S_CFI)
32089 #define F_CFI V_CFI(1U)
32092 #define M_TAG 0xfffU
32093 #define V_TAG(x) ((x) << S_TAG)
32094 #define G_TAG(x) (((x) >> S_TAG) & M_TAG)
32096 #define A_MPS_PF_STAT_TX_PF_BCAST_BYTES_L 0x300
32097 #define A_MPS_PF_STAT_TX_PF_BCAST_BYTES_H 0x304
32098 #define A_MPS_PORT_CLS_HASH_CTL 0x304
32100 #define S_UNICASTENABLE 31
32101 #define V_UNICASTENABLE(x) ((x) << S_UNICASTENABLE)
32102 #define F_UNICASTENABLE V_UNICASTENABLE(1U)
32104 #define A_MPS_PF_STAT_TX_PF_BCAST_FRAMES_L 0x308
32105 #define A_MPS_PORT_CLS_PROMISCUOUS_CTL 0x308
32107 #define S_PROMISCEN 31
32108 #define V_PROMISCEN(x) ((x) << S_PROMISCEN)
32109 #define F_PROMISCEN V_PROMISCEN(1U)
32111 #define S_T6_MULTILISTEN 16
32112 #define V_T6_MULTILISTEN(x) ((x) << S_T6_MULTILISTEN)
32113 #define F_T6_MULTILISTEN V_T6_MULTILISTEN(1U)
32115 #define S_T6_PRIORITY 13
32116 #define M_T6_PRIORITY 0x7U
32117 #define V_T6_PRIORITY(x) ((x) << S_T6_PRIORITY)
32118 #define G_T6_PRIORITY(x) (((x) >> S_T6_PRIORITY) & M_T6_PRIORITY)
32120 #define S_T6_REPLICATE 12
32121 #define V_T6_REPLICATE(x) ((x) << S_T6_REPLICATE)
32122 #define F_T6_REPLICATE V_T6_REPLICATE(1U)
32125 #define M_T6_PF 0x7U
32126 #define V_T6_PF(x) ((x) << S_T6_PF)
32127 #define G_T6_PF(x) (((x) >> S_T6_PF) & M_T6_PF)
32129 #define S_T6_VF_VALID 8
32130 #define V_T6_VF_VALID(x) ((x) << S_T6_VF_VALID)
32131 #define F_T6_VF_VALID V_T6_VF_VALID(1U)
32134 #define M_T6_VF 0xffU
32135 #define V_T6_VF(x) ((x) << S_T6_VF)
32136 #define G_T6_VF(x) (((x) >> S_T6_VF) & M_T6_VF)
32138 #define A_MPS_PF_STAT_TX_PF_BCAST_FRAMES_H 0x30c
32139 #define A_MPS_PORT_CLS_BMC_MAC_ADDR_L 0x30c
32140 #define A_MPS_PF_STAT_TX_PF_MCAST_BYTES_L 0x310
32141 #define A_MPS_PORT_CLS_BMC_MAC_ADDR_H 0x310
32143 #define S_MATCHBOTH 17
32144 #define V_MATCHBOTH(x) ((x) << S_MATCHBOTH)
32145 #define F_MATCHBOTH V_MATCHBOTH(1U)
32147 #define S_BMC_VLD 16
32148 #define V_BMC_VLD(x) ((x) << S_BMC_VLD)
32149 #define F_BMC_VLD V_BMC_VLD(1U)
32151 #define S_MATCHALL 18
32152 #define V_MATCHALL(x) ((x) << S_MATCHALL)
32153 #define F_MATCHALL V_MATCHALL(1U)
32155 #define A_MPS_PF_STAT_TX_PF_MCAST_BYTES_H 0x314
32156 #define A_MPS_PORT_CLS_BMC_VLAN 0x314
32158 #define S_BMC_VLAN_SEL 13
32159 #define V_BMC_VLAN_SEL(x) ((x) << S_BMC_VLAN_SEL)
32160 #define F_BMC_VLAN_SEL V_BMC_VLAN_SEL(1U)
32162 #define S_VLAN_VLD 12
32163 #define V_VLAN_VLD(x) ((x) << S_VLAN_VLD)
32164 #define F_VLAN_VLD V_VLAN_VLD(1U)
32166 #define A_MPS_PF_STAT_TX_PF_MCAST_FRAMES_L 0x318
32167 #define A_MPS_PORT_CLS_CTL 0x318
32169 #define S_PF_VLAN_SEL 0
32170 #define V_PF_VLAN_SEL(x) ((x) << S_PF_VLAN_SEL)
32171 #define F_PF_VLAN_SEL V_PF_VLAN_SEL(1U)
32173 #define S_LPBK_TCAM1_HIT_PRIORITY 14
32174 #define V_LPBK_TCAM1_HIT_PRIORITY(x) ((x) << S_LPBK_TCAM1_HIT_PRIORITY)
32175 #define F_LPBK_TCAM1_HIT_PRIORITY V_LPBK_TCAM1_HIT_PRIORITY(1U)
32177 #define S_LPBK_TCAM0_HIT_PRIORITY 13
32178 #define V_LPBK_TCAM0_HIT_PRIORITY(x) ((x) << S_LPBK_TCAM0_HIT_PRIORITY)
32179 #define F_LPBK_TCAM0_HIT_PRIORITY V_LPBK_TCAM0_HIT_PRIORITY(1U)
32181 #define S_LPBK_TCAM_PRIORITY 12
32182 #define V_LPBK_TCAM_PRIORITY(x) ((x) << S_LPBK_TCAM_PRIORITY)
32183 #define F_LPBK_TCAM_PRIORITY V_LPBK_TCAM_PRIORITY(1U)
32185 #define S_LPBK_SMAC_TCAM_SEL 10
32186 #define M_LPBK_SMAC_TCAM_SEL 0x3U
32187 #define V_LPBK_SMAC_TCAM_SEL(x) ((x) << S_LPBK_SMAC_TCAM_SEL)
32188 #define G_LPBK_SMAC_TCAM_SEL(x) (((x) >> S_LPBK_SMAC_TCAM_SEL) & M_LPBK_SMAC_TCAM_SEL)
32190 #define S_LPBK_DMAC_TCAM_SEL 8
32191 #define M_LPBK_DMAC_TCAM_SEL 0x3U
32192 #define V_LPBK_DMAC_TCAM_SEL(x) ((x) << S_LPBK_DMAC_TCAM_SEL)
32193 #define G_LPBK_DMAC_TCAM_SEL(x) (((x) >> S_LPBK_DMAC_TCAM_SEL) & M_LPBK_DMAC_TCAM_SEL)
32195 #define S_TCAM1_HIT_PRIORITY 7
32196 #define V_TCAM1_HIT_PRIORITY(x) ((x) << S_TCAM1_HIT_PRIORITY)
32197 #define F_TCAM1_HIT_PRIORITY V_TCAM1_HIT_PRIORITY(1U)
32199 #define S_TCAM0_HIT_PRIORITY 6
32200 #define V_TCAM0_HIT_PRIORITY(x) ((x) << S_TCAM0_HIT_PRIORITY)
32201 #define F_TCAM0_HIT_PRIORITY V_TCAM0_HIT_PRIORITY(1U)
32203 #define S_TCAM_PRIORITY 5
32204 #define V_TCAM_PRIORITY(x) ((x) << S_TCAM_PRIORITY)
32205 #define F_TCAM_PRIORITY V_TCAM_PRIORITY(1U)
32207 #define S_SMAC_TCAM_SEL 3
32208 #define M_SMAC_TCAM_SEL 0x3U
32209 #define V_SMAC_TCAM_SEL(x) ((x) << S_SMAC_TCAM_SEL)
32210 #define G_SMAC_TCAM_SEL(x) (((x) >> S_SMAC_TCAM_SEL) & M_SMAC_TCAM_SEL)
32212 #define S_DMAC_TCAM_SEL 1
32213 #define M_DMAC_TCAM_SEL 0x3U
32214 #define V_DMAC_TCAM_SEL(x) ((x) << S_DMAC_TCAM_SEL)
32215 #define G_DMAC_TCAM_SEL(x) (((x) >> S_DMAC_TCAM_SEL) & M_DMAC_TCAM_SEL)
32217 #define A_MPS_PF_STAT_TX_PF_MCAST_FRAMES_H 0x31c
32218 #define A_MPS_PORT_CLS_NCSI_ETH_TYPE 0x31c
32220 #define S_ETHTYPE2 0
32221 #define M_ETHTYPE2 0xffffU
32222 #define V_ETHTYPE2(x) ((x) << S_ETHTYPE2)
32223 #define G_ETHTYPE2(x) (((x) >> S_ETHTYPE2) & M_ETHTYPE2)
32225 #define A_MPS_PF_STAT_TX_PF_UCAST_BYTES_L 0x320
32226 #define A_MPS_PORT_CLS_NCSI_ETH_TYPE_EN 0x320
32229 #define V_EN1(x) ((x) << S_EN1)
32230 #define F_EN1 V_EN1(1U)
32233 #define V_EN2(x) ((x) << S_EN2)
32234 #define F_EN2 V_EN2(1U)
32236 #define A_MPS_PF_STAT_TX_PF_UCAST_BYTES_H 0x324
32237 #define A_MPS_PF_STAT_TX_PF_UCAST_FRAMES_L 0x328
32238 #define A_MPS_PF_STAT_TX_PF_UCAST_FRAMES_H 0x32c
32239 #define A_MPS_PF_STAT_TX_PF_OFFLOAD_BYTES_L 0x330
32240 #define A_MPS_PF_STAT_TX_PF_OFFLOAD_BYTES_H 0x334
32241 #define A_MPS_PF_STAT_TX_PF_OFFLOAD_FRAMES_L 0x338
32242 #define A_MPS_PF_STAT_TX_PF_OFFLOAD_FRAMES_H 0x33c
32243 #define A_MPS_PF_STAT_RX_PF_BYTES_L 0x340
32244 #define A_MPS_PF_STAT_RX_PF_BYTES_H 0x344
32245 #define A_MPS_PF_STAT_RX_PF_FRAMES_L 0x348
32246 #define A_MPS_PF_STAT_RX_PF_FRAMES_H 0x34c
32247 #define A_MPS_PF_STAT_RX_PF_BCAST_BYTES_L 0x350
32248 #define A_MPS_PF_STAT_RX_PF_BCAST_BYTES_H 0x354
32249 #define A_MPS_PF_STAT_RX_PF_BCAST_FRAMES_L 0x358
32250 #define A_MPS_PF_STAT_RX_PF_BCAST_FRAMES_H 0x35c
32251 #define A_MPS_PF_STAT_RX_PF_MCAST_BYTES_L 0x360
32252 #define A_MPS_PF_STAT_RX_PF_MCAST_BYTES_H 0x364
32253 #define A_MPS_PF_STAT_RX_PF_MCAST_FRAMES_L 0x368
32254 #define A_MPS_PF_STAT_RX_PF_MCAST_FRAMES_H 0x36c
32255 #define A_MPS_PF_STAT_RX_PF_UCAST_BYTES_L 0x370
32256 #define A_MPS_PF_STAT_RX_PF_UCAST_BYTES_H 0x374
32257 #define A_MPS_PF_STAT_RX_PF_UCAST_FRAMES_L 0x378
32258 #define A_MPS_PF_STAT_RX_PF_UCAST_FRAMES_H 0x37c
32259 #define A_MPS_PF_STAT_RX_PF_ERR_FRAMES_L 0x380
32260 #define A_MPS_PF_STAT_RX_PF_ERR_FRAMES_H 0x384
32261 #define A_MPS_PORT_STAT_TX_PORT_BYTES_L 0x400
32262 #define A_MPS_PORT_STAT_TX_PORT_BYTES_H 0x404
32263 #define A_MPS_PORT_STAT_TX_PORT_FRAMES_L 0x408
32264 #define A_MPS_PORT_STAT_TX_PORT_FRAMES_H 0x40c
32265 #define A_MPS_PORT_STAT_TX_PORT_BCAST_L 0x410
32266 #define A_MPS_PORT_STAT_TX_PORT_BCAST_H 0x414
32267 #define A_MPS_PORT_STAT_TX_PORT_MCAST_L 0x418
32268 #define A_MPS_PORT_STAT_TX_PORT_MCAST_H 0x41c
32269 #define A_MPS_PORT_STAT_TX_PORT_UCAST_L 0x420
32270 #define A_MPS_PORT_STAT_TX_PORT_UCAST_H 0x424
32271 #define A_MPS_PORT_STAT_TX_PORT_ERROR_L 0x428
32272 #define A_MPS_PORT_STAT_TX_PORT_ERROR_H 0x42c
32273 #define A_MPS_PORT_STAT_TX_PORT_64B_L 0x430
32274 #define A_MPS_PORT_STAT_TX_PORT_64B_H 0x434
32275 #define A_MPS_PORT_STAT_TX_PORT_65B_127B_L 0x438
32276 #define A_MPS_PORT_STAT_TX_PORT_65B_127B_H 0x43c
32277 #define A_MPS_PORT_STAT_TX_PORT_128B_255B_L 0x440
32278 #define A_MPS_PORT_STAT_TX_PORT_128B_255B_H 0x444
32279 #define A_MPS_PORT_STAT_TX_PORT_256B_511B_L 0x448
32280 #define A_MPS_PORT_STAT_TX_PORT_256B_511B_H 0x44c
32281 #define A_MPS_PORT_STAT_TX_PORT_512B_1023B_L 0x450
32282 #define A_MPS_PORT_STAT_TX_PORT_512B_1023B_H 0x454
32283 #define A_MPS_PORT_STAT_TX_PORT_1024B_1518B_L 0x458
32284 #define A_MPS_PORT_STAT_TX_PORT_1024B_1518B_H 0x45c
32285 #define A_MPS_PORT_STAT_TX_PORT_1519B_MAX_L 0x460
32286 #define A_MPS_PORT_STAT_TX_PORT_1519B_MAX_H 0x464
32287 #define A_MPS_PORT_STAT_TX_PORT_DROP_L 0x468
32288 #define A_MPS_PORT_STAT_TX_PORT_DROP_H 0x46c
32289 #define A_MPS_PORT_STAT_TX_PORT_PAUSE_L 0x470
32290 #define A_MPS_PORT_STAT_TX_PORT_PAUSE_H 0x474
32291 #define A_MPS_PORT_STAT_TX_PORT_PPP0_L 0x478
32292 #define A_MPS_PORT_STAT_TX_PORT_PPP0_H 0x47c
32293 #define A_MPS_PORT_STAT_TX_PORT_PPP1_L 0x480
32294 #define A_MPS_PORT_STAT_TX_PORT_PPP1_H 0x484
32295 #define A_MPS_PORT_STAT_TX_PORT_PPP2_L 0x488
32296 #define A_MPS_PORT_STAT_TX_PORT_PPP2_H 0x48c
32297 #define A_MPS_PORT_STAT_TX_PORT_PPP3_L 0x490
32298 #define A_MPS_PORT_STAT_TX_PORT_PPP3_H 0x494
32299 #define A_MPS_PORT_STAT_TX_PORT_PPP4_L 0x498
32300 #define A_MPS_PORT_STAT_TX_PORT_PPP4_H 0x49c
32301 #define A_MPS_PORT_STAT_TX_PORT_PPP5_L 0x4a0
32302 #define A_MPS_PORT_STAT_TX_PORT_PPP5_H 0x4a4
32303 #define A_MPS_PORT_STAT_TX_PORT_PPP6_L 0x4a8
32304 #define A_MPS_PORT_STAT_TX_PORT_PPP6_H 0x4ac
32305 #define A_MPS_PORT_STAT_TX_PORT_PPP7_L 0x4b0
32306 #define A_MPS_PORT_STAT_TX_PORT_PPP7_H 0x4b4
32307 #define A_MPS_PORT_STAT_LB_PORT_BYTES_L 0x4c0
32308 #define A_MPS_PORT_STAT_LB_PORT_BYTES_H 0x4c4
32309 #define A_MPS_PORT_STAT_LB_PORT_FRAMES_L 0x4c8
32310 #define A_MPS_PORT_STAT_LB_PORT_FRAMES_H 0x4cc
32311 #define A_MPS_PORT_STAT_LB_PORT_BCAST_L 0x4d0
32312 #define A_MPS_PORT_STAT_LB_PORT_BCAST_H 0x4d4
32313 #define A_MPS_PORT_STAT_LB_PORT_MCAST_L 0x4d8
32314 #define A_MPS_PORT_STAT_LB_PORT_MCAST_H 0x4dc
32315 #define A_MPS_PORT_STAT_LB_PORT_UCAST_L 0x4e0
32316 #define A_MPS_PORT_STAT_LB_PORT_UCAST_H 0x4e4
32317 #define A_MPS_PORT_STAT_LB_PORT_ERROR_L 0x4e8
32318 #define A_MPS_PORT_STAT_LB_PORT_ERROR_H 0x4ec
32319 #define A_MPS_PORT_STAT_LB_PORT_64B_L 0x4f0
32320 #define A_MPS_PORT_STAT_LB_PORT_64B_H 0x4f4
32321 #define A_MPS_PORT_STAT_LB_PORT_65B_127B_L 0x4f8
32322 #define A_MPS_PORT_STAT_LB_PORT_65B_127B_H 0x4fc
32323 #define A_MPS_PORT_STAT_LB_PORT_128B_255B_L 0x500
32324 #define A_MPS_PORT_STAT_LB_PORT_128B_255B_H 0x504
32325 #define A_MPS_PORT_STAT_LB_PORT_256B_511B_L 0x508
32326 #define A_MPS_PORT_STAT_LB_PORT_256B_511B_H 0x50c
32327 #define A_MPS_PORT_STAT_LB_PORT_512B_1023B_L 0x510
32328 #define A_MPS_PORT_STAT_LB_PORT_512B_1023B_H 0x514
32329 #define A_MPS_PORT_STAT_LB_PORT_1024B_1518B_L 0x518
32330 #define A_MPS_PORT_STAT_LB_PORT_1024B_1518B_H 0x51c
32331 #define A_MPS_PORT_STAT_LB_PORT_1519B_MAX_L 0x520
32332 #define A_MPS_PORT_STAT_LB_PORT_1519B_MAX_H 0x524
32333 #define A_MPS_PORT_STAT_LB_PORT_DROP_FRAMES 0x528
32334 #define A_MPS_PORT_STAT_LB_PORT_DROP_FRAMES_L 0x528
32335 #define A_MPS_PORT_STAT_LB_PORT_DROP_FRAMES_H 0x52c
32336 #define A_MPS_PORT_STAT_RX_PORT_BYTES_L 0x540
32337 #define A_MPS_PORT_STAT_RX_PORT_BYTES_H 0x544
32338 #define A_MPS_PORT_STAT_RX_PORT_FRAMES_L 0x548
32339 #define A_MPS_PORT_STAT_RX_PORT_FRAMES_H 0x54c
32340 #define A_MPS_PORT_STAT_RX_PORT_BCAST_L 0x550
32341 #define A_MPS_PORT_STAT_RX_PORT_BCAST_H 0x554
32342 #define A_MPS_PORT_STAT_RX_PORT_MCAST_L 0x558
32343 #define A_MPS_PORT_STAT_RX_PORT_MCAST_H 0x55c
32344 #define A_MPS_PORT_STAT_RX_PORT_UCAST_L 0x560
32345 #define A_MPS_PORT_STAT_RX_PORT_UCAST_H 0x564
32346 #define A_MPS_PORT_STAT_RX_PORT_MTU_ERROR_L 0x568
32347 #define A_MPS_PORT_STAT_RX_PORT_MTU_ERROR_H 0x56c
32348 #define A_MPS_PORT_STAT_RX_PORT_MTU_CRC_ERROR_L 0x570
32349 #define A_MPS_PORT_STAT_RX_PORT_MTU_CRC_ERROR_H 0x574
32350 #define A_MPS_PORT_STAT_RX_PORT_CRC_ERROR_L 0x578
32351 #define A_MPS_PORT_STAT_RX_PORT_CRC_ERROR_H 0x57c
32352 #define A_MPS_PORT_STAT_RX_PORT_LEN_ERROR_L 0x580
32353 #define A_MPS_PORT_STAT_RX_PORT_LEN_ERROR_H 0x584
32354 #define A_MPS_PORT_STAT_RX_PORT_SYM_ERROR_L 0x588
32355 #define A_MPS_PORT_STAT_RX_PORT_SYM_ERROR_H 0x58c
32356 #define A_MPS_PORT_STAT_RX_PORT_64B_L 0x590
32357 #define A_MPS_PORT_STAT_RX_PORT_64B_H 0x594
32358 #define A_MPS_PORT_STAT_RX_PORT_65B_127B_L 0x598
32359 #define A_MPS_PORT_STAT_RX_PORT_65B_127B_H 0x59c
32360 #define A_MPS_PORT_STAT_RX_PORT_128B_255B_L 0x5a0
32361 #define A_MPS_PORT_STAT_RX_PORT_128B_255B_H 0x5a4
32362 #define A_MPS_PORT_STAT_RX_PORT_256B_511B_L 0x5a8
32363 #define A_MPS_PORT_STAT_RX_PORT_256B_511B_H 0x5ac
32364 #define A_MPS_PORT_STAT_RX_PORT_512B_1023B_L 0x5b0
32365 #define A_MPS_PORT_STAT_RX_PORT_512B_1023B_H 0x5b4
32366 #define A_MPS_PORT_STAT_RX_PORT_1024B_1518B_L 0x5b8
32367 #define A_MPS_PORT_STAT_RX_PORT_1024B_1518B_H 0x5bc
32368 #define A_MPS_PORT_STAT_RX_PORT_1519B_MAX_L 0x5c0
32369 #define A_MPS_PORT_STAT_RX_PORT_1519B_MAX_H 0x5c4
32370 #define A_MPS_PORT_STAT_RX_PORT_PAUSE_L 0x5c8
32371 #define A_MPS_PORT_STAT_RX_PORT_PAUSE_H 0x5cc
32372 #define A_MPS_PORT_STAT_RX_PORT_PPP0_L 0x5d0
32373 #define A_MPS_PORT_STAT_RX_PORT_PPP0_H 0x5d4
32374 #define A_MPS_PORT_STAT_RX_PORT_PPP1_L 0x5d8
32375 #define A_MPS_PORT_STAT_RX_PORT_PPP1_H 0x5dc
32376 #define A_MPS_PORT_STAT_RX_PORT_PPP2_L 0x5e0
32377 #define A_MPS_PORT_STAT_RX_PORT_PPP2_H 0x5e4
32378 #define A_MPS_PORT_STAT_RX_PORT_PPP3_L 0x5e8
32379 #define A_MPS_PORT_STAT_RX_PORT_PPP3_H 0x5ec
32380 #define A_MPS_PORT_STAT_RX_PORT_PPP4_L 0x5f0
32381 #define A_MPS_PORT_STAT_RX_PORT_PPP4_H 0x5f4
32382 #define A_MPS_PORT_STAT_RX_PORT_PPP5_L 0x5f8
32383 #define A_MPS_PORT_STAT_RX_PORT_PPP5_H 0x5fc
32384 #define A_MPS_PORT_STAT_RX_PORT_PPP6_L 0x600
32385 #define A_MPS_PORT_STAT_RX_PORT_PPP6_H 0x604
32386 #define A_MPS_PORT_STAT_RX_PORT_PPP7_L 0x608
32387 #define A_MPS_PORT_STAT_RX_PORT_PPP7_H 0x60c
32388 #define A_MPS_PORT_STAT_RX_PORT_LESS_64B_L 0x610
32389 #define A_MPS_PORT_STAT_RX_PORT_LESS_64B_H 0x614
32390 #define A_MPS_PORT_STAT_RX_PORT_MAC_ERROR_L 0x618
32391 #define A_MPS_PORT_STAT_RX_PORT_MAC_ERROR_H 0x61c
32392 #define A_MPS_CMN_CTL 0x9000
32394 #define S_DETECT8023 3
32395 #define V_DETECT8023(x) ((x) << S_DETECT8023)
32396 #define F_DETECT8023 V_DETECT8023(1U)
32398 #define S_VFDIRECTACCESS 2
32399 #define V_VFDIRECTACCESS(x) ((x) << S_VFDIRECTACCESS)
32400 #define F_VFDIRECTACCESS V_VFDIRECTACCESS(1U)
32402 #define S_NUMPORTS 0
32403 #define M_NUMPORTS 0x3U
32404 #define V_NUMPORTS(x) ((x) << S_NUMPORTS)
32405 #define G_NUMPORTS(x) (((x) >> S_NUMPORTS) & M_NUMPORTS)
32407 #define S_LPBKCRDTCTRL 4
32408 #define V_LPBKCRDTCTRL(x) ((x) << S_LPBKCRDTCTRL)
32409 #define F_LPBKCRDTCTRL V_LPBKCRDTCTRL(1U)
32411 #define S_TX_PORT_STATS_MODE 8
32412 #define V_TX_PORT_STATS_MODE(x) ((x) << S_TX_PORT_STATS_MODE)
32413 #define F_TX_PORT_STATS_MODE V_TX_PORT_STATS_MODE(1U)
32416 #define V_T5MODE(x) ((x) << S_T5MODE)
32417 #define F_T5MODE V_T5MODE(1U)
32419 #define S_SPEEDMODE 5
32420 #define M_SPEEDMODE 0x3U
32421 #define V_SPEEDMODE(x) ((x) << S_SPEEDMODE)
32422 #define G_SPEEDMODE(x) (((x) >> S_SPEEDMODE) & M_SPEEDMODE)
32424 #define A_MPS_INT_ENABLE 0x9004
32426 #define S_STATINTENB 5
32427 #define V_STATINTENB(x) ((x) << S_STATINTENB)
32428 #define F_STATINTENB V_STATINTENB(1U)
32430 #define S_TXINTENB 4
32431 #define V_TXINTENB(x) ((x) << S_TXINTENB)
32432 #define F_TXINTENB V_TXINTENB(1U)
32434 #define S_RXINTENB 3
32435 #define V_RXINTENB(x) ((x) << S_RXINTENB)
32436 #define F_RXINTENB V_RXINTENB(1U)
32438 #define S_TRCINTENB 2
32439 #define V_TRCINTENB(x) ((x) << S_TRCINTENB)
32440 #define F_TRCINTENB V_TRCINTENB(1U)
32442 #define S_CLSINTENB 1
32443 #define V_CLSINTENB(x) ((x) << S_CLSINTENB)
32444 #define F_CLSINTENB V_CLSINTENB(1U)
32446 #define S_PLINTENB 0
32447 #define V_PLINTENB(x) ((x) << S_PLINTENB)
32448 #define F_PLINTENB V_PLINTENB(1U)
32450 #define A_MPS_INT_CAUSE 0x9008
32452 #define S_STATINT 5
32453 #define V_STATINT(x) ((x) << S_STATINT)
32454 #define F_STATINT V_STATINT(1U)
32457 #define V_TXINT(x) ((x) << S_TXINT)
32458 #define F_TXINT V_TXINT(1U)
32461 #define V_RXINT(x) ((x) << S_RXINT)
32462 #define F_RXINT V_RXINT(1U)
32465 #define V_TRCINT(x) ((x) << S_TRCINT)
32466 #define F_TRCINT V_TRCINT(1U)
32469 #define V_CLSINT(x) ((x) << S_CLSINT)
32470 #define F_CLSINT V_CLSINT(1U)
32473 #define V_PLINT(x) ((x) << S_PLINT)
32474 #define F_PLINT V_PLINT(1U)
32476 #define A_MPS_CGEN_GLOBAL 0x900c
32478 #define S_MPS_GLOBAL_CGEN 0
32479 #define V_MPS_GLOBAL_CGEN(x) ((x) << S_MPS_GLOBAL_CGEN)
32480 #define F_MPS_GLOBAL_CGEN V_MPS_GLOBAL_CGEN(1U)
32482 #define A_MPS_VF_TX_CTL_31_0 0x9010
32483 #define A_MPS_VF_TX_CTL_63_32 0x9014
32484 #define A_MPS_VF_TX_CTL_95_64 0x9018
32485 #define A_MPS_VF_TX_CTL_127_96 0x901c
32486 #define A_MPS_VF_RX_CTL_31_0 0x9020
32487 #define A_MPS_VF_RX_CTL_63_32 0x9024
32488 #define A_MPS_VF_RX_CTL_95_64 0x9028
32489 #define A_MPS_VF_RX_CTL_127_96 0x902c
32490 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP0 0x9030
32493 #define M_VALUE 0xffffU
32494 #define V_VALUE(x) ((x) << S_VALUE)
32495 #define G_VALUE(x) (((x) >> S_VALUE) & M_VALUE)
32497 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP1 0x9034
32498 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP2 0x9038
32499 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP3 0x903c
32500 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP0 0x9040
32501 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP1 0x9044
32502 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP2 0x9048
32503 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP3 0x904c
32504 #define A_MPS_TP_CSIDE_MUX_CTL_P0 0x9050
32507 #define M_WEIGHT 0xfffU
32508 #define V_WEIGHT(x) ((x) << S_WEIGHT)
32509 #define G_WEIGHT(x) (((x) >> S_WEIGHT) & M_WEIGHT)
32511 #define A_MPS_TP_CSIDE_MUX_CTL_P1 0x9054
32512 #define A_MPS_WOL_CTL_MODE 0x9058
32514 #define S_WOL_MODE 0
32515 #define V_WOL_MODE(x) ((x) << S_WOL_MODE)
32516 #define F_WOL_MODE V_WOL_MODE(1U)
32518 #define A_MPS_FPGA_DEBUG 0x9060
32520 #define S_LPBK_EN 8
32521 #define V_LPBK_EN(x) ((x) << S_LPBK_EN)
32522 #define F_LPBK_EN V_LPBK_EN(1U)
32524 #define S_CH_MAP3 6
32525 #define M_CH_MAP3 0x3U
32526 #define V_CH_MAP3(x) ((x) << S_CH_MAP3)
32527 #define G_CH_MAP3(x) (((x) >> S_CH_MAP3) & M_CH_MAP3)
32529 #define S_CH_MAP2 4
32530 #define M_CH_MAP2 0x3U
32531 #define V_CH_MAP2(x) ((x) << S_CH_MAP2)
32532 #define G_CH_MAP2(x) (((x) >> S_CH_MAP2) & M_CH_MAP2)
32534 #define S_CH_MAP1 2
32535 #define M_CH_MAP1 0x3U
32536 #define V_CH_MAP1(x) ((x) << S_CH_MAP1)
32537 #define G_CH_MAP1(x) (((x) >> S_CH_MAP1) & M_CH_MAP1)
32539 #define S_CH_MAP0 0
32540 #define M_CH_MAP0 0x3U
32541 #define V_CH_MAP0(x) ((x) << S_CH_MAP0)
32542 #define G_CH_MAP0(x) (((x) >> S_CH_MAP0) & M_CH_MAP0)
32544 #define S_FPGA_PTP_PORT 9
32545 #define M_FPGA_PTP_PORT 0x3U
32546 #define V_FPGA_PTP_PORT(x) ((x) << S_FPGA_PTP_PORT)
32547 #define G_FPGA_PTP_PORT(x) (((x) >> S_FPGA_PTP_PORT) & M_FPGA_PTP_PORT)
32549 #define A_MPS_DEBUG_CTL 0x9068
32551 #define S_DBGMODECTL_H 11
32552 #define V_DBGMODECTL_H(x) ((x) << S_DBGMODECTL_H)
32553 #define F_DBGMODECTL_H V_DBGMODECTL_H(1U)
32555 #define S_DBGSEL_H 6
32556 #define M_DBGSEL_H 0x1fU
32557 #define V_DBGSEL_H(x) ((x) << S_DBGSEL_H)
32558 #define G_DBGSEL_H(x) (((x) >> S_DBGSEL_H) & M_DBGSEL_H)
32560 #define S_DBGMODECTL_L 5
32561 #define V_DBGMODECTL_L(x) ((x) << S_DBGMODECTL_L)
32562 #define F_DBGMODECTL_L V_DBGMODECTL_L(1U)
32564 #define S_DBGSEL_L 0
32565 #define M_DBGSEL_L 0x1fU
32566 #define V_DBGSEL_L(x) ((x) << S_DBGSEL_L)
32567 #define G_DBGSEL_L(x) (((x) >> S_DBGSEL_L) & M_DBGSEL_L)
32569 #define A_MPS_DEBUG_DATA_REG_L 0x906c
32570 #define A_MPS_DEBUG_DATA_REG_H 0x9070
32571 #define A_MPS_TOP_SPARE 0x9074
32573 #define S_TOPSPARE 8
32574 #define M_TOPSPARE 0xffffffU
32575 #define V_TOPSPARE(x) ((x) << S_TOPSPARE)
32576 #define G_TOPSPARE(x) (((x) >> S_TOPSPARE) & M_TOPSPARE)
32578 #define S_OVLANSELLPBK3 7
32579 #define V_OVLANSELLPBK3(x) ((x) << S_OVLANSELLPBK3)
32580 #define F_OVLANSELLPBK3 V_OVLANSELLPBK3(1U)
32582 #define S_OVLANSELLPBK2 6
32583 #define V_OVLANSELLPBK2(x) ((x) << S_OVLANSELLPBK2)
32584 #define F_OVLANSELLPBK2 V_OVLANSELLPBK2(1U)
32586 #define S_OVLANSELLPBK1 5
32587 #define V_OVLANSELLPBK1(x) ((x) << S_OVLANSELLPBK1)
32588 #define F_OVLANSELLPBK1 V_OVLANSELLPBK1(1U)
32590 #define S_OVLANSELLPBK0 4
32591 #define V_OVLANSELLPBK0(x) ((x) << S_OVLANSELLPBK0)
32592 #define F_OVLANSELLPBK0 V_OVLANSELLPBK0(1U)
32594 #define S_OVLANSELMAC3 3
32595 #define V_OVLANSELMAC3(x) ((x) << S_OVLANSELMAC3)
32596 #define F_OVLANSELMAC3 V_OVLANSELMAC3(1U)
32598 #define S_OVLANSELMAC2 2
32599 #define V_OVLANSELMAC2(x) ((x) << S_OVLANSELMAC2)
32600 #define F_OVLANSELMAC2 V_OVLANSELMAC2(1U)
32602 #define S_OVLANSELMAC1 1
32603 #define V_OVLANSELMAC1(x) ((x) << S_OVLANSELMAC1)
32604 #define F_OVLANSELMAC1 V_OVLANSELMAC1(1U)
32606 #define S_OVLANSELMAC0 0
32607 #define V_OVLANSELMAC0(x) ((x) << S_OVLANSELMAC0)
32608 #define F_OVLANSELMAC0 V_OVLANSELMAC0(1U)
32610 #define S_T5_TOPSPARE 8
32611 #define M_T5_TOPSPARE 0xffffffU
32612 #define V_T5_TOPSPARE(x) ((x) << S_T5_TOPSPARE)
32613 #define G_T5_TOPSPARE(x) (((x) >> S_T5_TOPSPARE) & M_T5_TOPSPARE)
32615 #define A_MPS_T5_BUILD_REVISION 0x9078
32616 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH0 0x907c
32617 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH1 0x9080
32618 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH2 0x9084
32619 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH3 0x9088
32620 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH4 0x908c
32621 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH5 0x9090
32622 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH6 0x9094
32623 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH7 0x9098
32624 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH8 0x909c
32625 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH9 0x90a0
32626 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH10 0x90a4
32627 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH11 0x90a8
32628 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH12 0x90ac
32629 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH13 0x90b0
32630 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH14 0x90b4
32631 #define A_MPS_TX_PAUSE_DURATION_BUF_GRP_TH15 0x90b8
32632 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH0 0x90bc
32633 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH1 0x90c0
32634 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH2 0x90c4
32635 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH3 0x90c8
32636 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH4 0x90cc
32637 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH5 0x90d0
32638 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH6 0x90d4
32639 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH7 0x90d8
32640 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH8 0x90dc
32641 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH9 0x90e0
32642 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH10 0x90e4
32643 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH11 0x90e8
32644 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH12 0x90ec
32645 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH13 0x90f0
32646 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH14 0x90f4
32647 #define A_MPS_TX_PAUSE_RETRANS_BUF_GRP_TH15 0x90f8
32648 #define A_MPS_BUILD_REVISION 0x90fc
32649 #define A_MPS_VF_TX_CTL_159_128 0x9100
32650 #define A_MPS_VF_TX_CTL_191_160 0x9104
32651 #define A_MPS_VF_TX_CTL_223_192 0x9108
32652 #define A_MPS_VF_TX_CTL_255_224 0x910c
32653 #define A_MPS_VF_RX_CTL_159_128 0x9110
32654 #define A_MPS_VF_RX_CTL_191_160 0x9114
32655 #define A_MPS_VF_RX_CTL_223_192 0x9118
32656 #define A_MPS_VF_RX_CTL_255_224 0x911c
32657 #define A_MPS_FPGA_BIST_CFG_P0 0x9120
32659 #define S_ADDRMASK 16
32660 #define M_ADDRMASK 0xffffU
32661 #define V_ADDRMASK(x) ((x) << S_ADDRMASK)
32662 #define G_ADDRMASK(x) (((x) >> S_ADDRMASK) & M_ADDRMASK)
32664 #define S_T6_BASEADDR 0
32665 #define M_T6_BASEADDR 0xffffU
32666 #define V_T6_BASEADDR(x) ((x) << S_T6_BASEADDR)
32667 #define G_T6_BASEADDR(x) (((x) >> S_T6_BASEADDR) & M_T6_BASEADDR)
32669 #define A_MPS_FPGA_BIST_CFG_P1 0x9124
32671 #define S_T6_BASEADDR 0
32672 #define M_T6_BASEADDR 0xffffU
32673 #define V_T6_BASEADDR(x) ((x) << S_T6_BASEADDR)
32674 #define G_T6_BASEADDR(x) (((x) >> S_T6_BASEADDR) & M_T6_BASEADDR)
32676 #define A_MPS_TX_PRTY_SEL 0x9400
32678 #define S_CH4_PRTY 20
32679 #define M_CH4_PRTY 0x7U
32680 #define V_CH4_PRTY(x) ((x) << S_CH4_PRTY)
32681 #define G_CH4_PRTY(x) (((x) >> S_CH4_PRTY) & M_CH4_PRTY)
32683 #define S_CH3_PRTY 16
32684 #define M_CH3_PRTY 0x7U
32685 #define V_CH3_PRTY(x) ((x) << S_CH3_PRTY)
32686 #define G_CH3_PRTY(x) (((x) >> S_CH3_PRTY) & M_CH3_PRTY)
32688 #define S_CH2_PRTY 12
32689 #define M_CH2_PRTY 0x7U
32690 #define V_CH2_PRTY(x) ((x) << S_CH2_PRTY)
32691 #define G_CH2_PRTY(x) (((x) >> S_CH2_PRTY) & M_CH2_PRTY)
32693 #define S_CH1_PRTY 8
32694 #define M_CH1_PRTY 0x7U
32695 #define V_CH1_PRTY(x) ((x) << S_CH1_PRTY)
32696 #define G_CH1_PRTY(x) (((x) >> S_CH1_PRTY) & M_CH1_PRTY)
32698 #define S_CH0_PRTY 4
32699 #define M_CH0_PRTY 0x7U
32700 #define V_CH0_PRTY(x) ((x) << S_CH0_PRTY)
32701 #define G_CH0_PRTY(x) (((x) >> S_CH0_PRTY) & M_CH0_PRTY)
32703 #define S_TP_SOURCE 2
32704 #define M_TP_SOURCE 0x3U
32705 #define V_TP_SOURCE(x) ((x) << S_TP_SOURCE)
32706 #define G_TP_SOURCE(x) (((x) >> S_TP_SOURCE) & M_TP_SOURCE)
32708 #define S_NCSI_SOURCE 0
32709 #define M_NCSI_SOURCE 0x3U
32710 #define V_NCSI_SOURCE(x) ((x) << S_NCSI_SOURCE)
32711 #define G_NCSI_SOURCE(x) (((x) >> S_NCSI_SOURCE) & M_NCSI_SOURCE)
32713 #define A_MPS_TX_INT_ENABLE 0x9404
32715 #define S_PORTERR 16
32716 #define V_PORTERR(x) ((x) << S_PORTERR)
32717 #define F_PORTERR V_PORTERR(1U)
32719 #define S_FRMERR 15
32720 #define V_FRMERR(x) ((x) << S_FRMERR)
32721 #define F_FRMERR V_FRMERR(1U)
32723 #define S_SECNTERR 14
32724 #define V_SECNTERR(x) ((x) << S_SECNTERR)
32725 #define F_SECNTERR V_SECNTERR(1U)
32727 #define S_BUBBLE 13
32728 #define V_BUBBLE(x) ((x) << S_BUBBLE)
32729 #define F_BUBBLE V_BUBBLE(1U)
32731 #define S_TXDESCFIFO 9
32732 #define M_TXDESCFIFO 0xfU
32733 #define V_TXDESCFIFO(x) ((x) << S_TXDESCFIFO)
32734 #define G_TXDESCFIFO(x) (((x) >> S_TXDESCFIFO) & M_TXDESCFIFO)
32736 #define S_TXDATAFIFO 5
32737 #define M_TXDATAFIFO 0xfU
32738 #define V_TXDATAFIFO(x) ((x) << S_TXDATAFIFO)
32739 #define G_TXDATAFIFO(x) (((x) >> S_TXDATAFIFO) & M_TXDATAFIFO)
32741 #define S_NCSIFIFO 4
32742 #define V_NCSIFIFO(x) ((x) << S_NCSIFIFO)
32743 #define F_NCSIFIFO V_NCSIFIFO(1U)
32746 #define M_TPFIFO 0xfU
32747 #define V_TPFIFO(x) ((x) << S_TPFIFO)
32748 #define G_TPFIFO(x) (((x) >> S_TPFIFO) & M_TPFIFO)
32750 #define A_MPS_TX_INT_CAUSE 0x9408
32751 #define A_MPS_TX_NCSI2MPS_CNT 0x940c
32752 #define A_MPS_TX_PERR_ENABLE 0x9410
32753 #define A_MPS_TX_PERR_INJECT 0x9414
32755 #define S_MPSTXMEMSEL 1
32756 #define M_MPSTXMEMSEL 0x1fU
32757 #define V_MPSTXMEMSEL(x) ((x) << S_MPSTXMEMSEL)
32758 #define G_MPSTXMEMSEL(x) (((x) >> S_MPSTXMEMSEL) & M_MPSTXMEMSEL)
32760 #define A_MPS_TX_SE_CNT_TP01 0x9418
32761 #define A_MPS_TX_SE_CNT_TP23 0x941c
32762 #define A_MPS_TX_SE_CNT_MAC01 0x9420
32763 #define A_MPS_TX_SE_CNT_MAC23 0x9424
32764 #define A_MPS_TX_SECNT_SPI_BUBBLE_ERR 0x9428
32766 #define S_BUBBLEERR 16
32767 #define M_BUBBLEERR 0xffU
32768 #define V_BUBBLEERR(x) ((x) << S_BUBBLEERR)
32769 #define G_BUBBLEERR(x) (((x) >> S_BUBBLEERR) & M_BUBBLEERR)
32772 #define M_SPI 0xffU
32773 #define V_SPI(x) ((x) << S_SPI)
32774 #define G_SPI(x) (((x) >> S_SPI) & M_SPI)
32777 #define M_SECNT 0xffU
32778 #define V_SECNT(x) ((x) << S_SECNT)
32779 #define G_SECNT(x) (((x) >> S_SECNT) & M_SECNT)
32781 #define A_MPS_TX_SECNT_BUBBLE_CLR 0x942c
32783 #define S_BUBBLECLR 8
32784 #define M_BUBBLECLR 0xffU
32785 #define V_BUBBLECLR(x) ((x) << S_BUBBLECLR)
32786 #define G_BUBBLECLR(x) (((x) >> S_BUBBLECLR) & M_BUBBLECLR)
32788 #define S_NCSISECNT 20
32789 #define V_NCSISECNT(x) ((x) << S_NCSISECNT)
32790 #define F_NCSISECNT V_NCSISECNT(1U)
32792 #define S_LPBKSECNT 16
32793 #define M_LPBKSECNT 0xfU
32794 #define V_LPBKSECNT(x) ((x) << S_LPBKSECNT)
32795 #define G_LPBKSECNT(x) (((x) >> S_LPBKSECNT) & M_LPBKSECNT)
32797 #define A_MPS_TX_PORT_ERR 0x9430
32799 #define S_LPBKPT3 7
32800 #define V_LPBKPT3(x) ((x) << S_LPBKPT3)
32801 #define F_LPBKPT3 V_LPBKPT3(1U)
32803 #define S_LPBKPT2 6
32804 #define V_LPBKPT2(x) ((x) << S_LPBKPT2)
32805 #define F_LPBKPT2 V_LPBKPT2(1U)
32807 #define S_LPBKPT1 5
32808 #define V_LPBKPT1(x) ((x) << S_LPBKPT1)
32809 #define F_LPBKPT1 V_LPBKPT1(1U)
32811 #define S_LPBKPT0 4
32812 #define V_LPBKPT0(x) ((x) << S_LPBKPT0)
32813 #define F_LPBKPT0 V_LPBKPT0(1U)
32816 #define V_PT3(x) ((x) << S_PT3)
32817 #define F_PT3 V_PT3(1U)
32820 #define V_PT2(x) ((x) << S_PT2)
32821 #define F_PT2 V_PT2(1U)
32824 #define V_PT1(x) ((x) << S_PT1)
32825 #define F_PT1 V_PT1(1U)
32828 #define V_PT0(x) ((x) << S_PT0)
32829 #define F_PT0 V_PT0(1U)
32831 #define A_MPS_TX_LPBK_DROP_BP_CTL_CH0 0x9434
32834 #define V_BPEN(x) ((x) << S_BPEN)
32835 #define F_BPEN V_BPEN(1U)
32838 #define V_DROPEN(x) ((x) << S_DROPEN)
32839 #define F_DROPEN V_DROPEN(1U)
32841 #define A_MPS_TX_LPBK_DROP_BP_CTL_CH1 0x9438
32842 #define A_MPS_TX_LPBK_DROP_BP_CTL_CH2 0x943c
32843 #define A_MPS_TX_LPBK_DROP_BP_CTL_CH3 0x9440
32844 #define A_MPS_TX_DEBUG_REG_TP2TX_10 0x9444
32846 #define S_SOPCH1 31
32847 #define V_SOPCH1(x) ((x) << S_SOPCH1)
32848 #define F_SOPCH1 V_SOPCH1(1U)
32850 #define S_EOPCH1 30
32851 #define V_EOPCH1(x) ((x) << S_EOPCH1)
32852 #define F_EOPCH1 V_EOPCH1(1U)
32854 #define S_SIZECH1 27
32855 #define M_SIZECH1 0x7U
32856 #define V_SIZECH1(x) ((x) << S_SIZECH1)
32857 #define G_SIZECH1(x) (((x) >> S_SIZECH1) & M_SIZECH1)
32859 #define S_ERRCH1 26
32860 #define V_ERRCH1(x) ((x) << S_ERRCH1)
32861 #define F_ERRCH1 V_ERRCH1(1U)
32863 #define S_FULLCH1 25
32864 #define V_FULLCH1(x) ((x) << S_FULLCH1)
32865 #define F_FULLCH1 V_FULLCH1(1U)
32867 #define S_VALIDCH1 24
32868 #define V_VALIDCH1(x) ((x) << S_VALIDCH1)
32869 #define F_VALIDCH1 V_VALIDCH1(1U)
32871 #define S_DATACH1 16
32872 #define M_DATACH1 0xffU
32873 #define V_DATACH1(x) ((x) << S_DATACH1)
32874 #define G_DATACH1(x) (((x) >> S_DATACH1) & M_DATACH1)
32876 #define S_SOPCH0 15
32877 #define V_SOPCH0(x) ((x) << S_SOPCH0)
32878 #define F_SOPCH0 V_SOPCH0(1U)
32880 #define S_EOPCH0 14
32881 #define V_EOPCH0(x) ((x) << S_EOPCH0)
32882 #define F_EOPCH0 V_EOPCH0(1U)
32884 #define S_SIZECH0 11
32885 #define M_SIZECH0 0x7U
32886 #define V_SIZECH0(x) ((x) << S_SIZECH0)
32887 #define G_SIZECH0(x) (((x) >> S_SIZECH0) & M_SIZECH0)
32889 #define S_ERRCH0 10
32890 #define V_ERRCH0(x) ((x) << S_ERRCH0)
32891 #define F_ERRCH0 V_ERRCH0(1U)
32893 #define S_FULLCH0 9
32894 #define V_FULLCH0(x) ((x) << S_FULLCH0)
32895 #define F_FULLCH0 V_FULLCH0(1U)
32897 #define S_VALIDCH0 8
32898 #define V_VALIDCH0(x) ((x) << S_VALIDCH0)
32899 #define F_VALIDCH0 V_VALIDCH0(1U)
32901 #define S_DATACH0 0
32902 #define M_DATACH0 0xffU
32903 #define V_DATACH0(x) ((x) << S_DATACH0)
32904 #define G_DATACH0(x) (((x) >> S_DATACH0) & M_DATACH0)
32906 #define S_T5_SIZECH1 26
32907 #define M_T5_SIZECH1 0xfU
32908 #define V_T5_SIZECH1(x) ((x) << S_T5_SIZECH1)
32909 #define G_T5_SIZECH1(x) (((x) >> S_T5_SIZECH1) & M_T5_SIZECH1)
32911 #define S_T5_ERRCH1 25
32912 #define V_T5_ERRCH1(x) ((x) << S_T5_ERRCH1)
32913 #define F_T5_ERRCH1 V_T5_ERRCH1(1U)
32915 #define S_T5_FULLCH1 24
32916 #define V_T5_FULLCH1(x) ((x) << S_T5_FULLCH1)
32917 #define F_T5_FULLCH1 V_T5_FULLCH1(1U)
32919 #define S_T5_VALIDCH1 23
32920 #define V_T5_VALIDCH1(x) ((x) << S_T5_VALIDCH1)
32921 #define F_T5_VALIDCH1 V_T5_VALIDCH1(1U)
32923 #define S_T5_DATACH1 16
32924 #define M_T5_DATACH1 0x7fU
32925 #define V_T5_DATACH1(x) ((x) << S_T5_DATACH1)
32926 #define G_T5_DATACH1(x) (((x) >> S_T5_DATACH1) & M_T5_DATACH1)
32928 #define S_T5_SIZECH0 10
32929 #define M_T5_SIZECH0 0xfU
32930 #define V_T5_SIZECH0(x) ((x) << S_T5_SIZECH0)
32931 #define G_T5_SIZECH0(x) (((x) >> S_T5_SIZECH0) & M_T5_SIZECH0)
32933 #define S_T5_ERRCH0 9
32934 #define V_T5_ERRCH0(x) ((x) << S_T5_ERRCH0)
32935 #define F_T5_ERRCH0 V_T5_ERRCH0(1U)
32937 #define S_T5_FULLCH0 8
32938 #define V_T5_FULLCH0(x) ((x) << S_T5_FULLCH0)
32939 #define F_T5_FULLCH0 V_T5_FULLCH0(1U)
32941 #define S_T5_VALIDCH0 7
32942 #define V_T5_VALIDCH0(x) ((x) << S_T5_VALIDCH0)
32943 #define F_T5_VALIDCH0 V_T5_VALIDCH0(1U)
32945 #define S_T5_DATACH0 0
32946 #define M_T5_DATACH0 0x7fU
32947 #define V_T5_DATACH0(x) ((x) << S_T5_DATACH0)
32948 #define G_T5_DATACH0(x) (((x) >> S_T5_DATACH0) & M_T5_DATACH0)
32950 #define A_MPS_TX_DEBUG_REG_TP2TX_32 0x9448
32952 #define S_SOPCH3 31
32953 #define V_SOPCH3(x) ((x) << S_SOPCH3)
32954 #define F_SOPCH3 V_SOPCH3(1U)
32956 #define S_EOPCH3 30
32957 #define V_EOPCH3(x) ((x) << S_EOPCH3)
32958 #define F_EOPCH3 V_EOPCH3(1U)
32960 #define S_SIZECH3 27
32961 #define M_SIZECH3 0x7U
32962 #define V_SIZECH3(x) ((x) << S_SIZECH3)
32963 #define G_SIZECH3(x) (((x) >> S_SIZECH3) & M_SIZECH3)
32965 #define S_ERRCH3 26
32966 #define V_ERRCH3(x) ((x) << S_ERRCH3)
32967 #define F_ERRCH3 V_ERRCH3(1U)
32969 #define S_FULLCH3 25
32970 #define V_FULLCH3(x) ((x) << S_FULLCH3)
32971 #define F_FULLCH3 V_FULLCH3(1U)
32973 #define S_VALIDCH3 24
32974 #define V_VALIDCH3(x) ((x) << S_VALIDCH3)
32975 #define F_VALIDCH3 V_VALIDCH3(1U)
32977 #define S_DATACH3 16
32978 #define M_DATACH3 0xffU
32979 #define V_DATACH3(x) ((x) << S_DATACH3)
32980 #define G_DATACH3(x) (((x) >> S_DATACH3) & M_DATACH3)
32982 #define S_SOPCH2 15
32983 #define V_SOPCH2(x) ((x) << S_SOPCH2)
32984 #define F_SOPCH2 V_SOPCH2(1U)
32986 #define S_EOPCH2 14
32987 #define V_EOPCH2(x) ((x) << S_EOPCH2)
32988 #define F_EOPCH2 V_EOPCH2(1U)
32990 #define S_SIZECH2 11
32991 #define M_SIZECH2 0x7U
32992 #define V_SIZECH2(x) ((x) << S_SIZECH2)
32993 #define G_SIZECH2(x) (((x) >> S_SIZECH2) & M_SIZECH2)
32995 #define S_ERRCH2 10
32996 #define V_ERRCH2(x) ((x) << S_ERRCH2)
32997 #define F_ERRCH2 V_ERRCH2(1U)
32999 #define S_FULLCH2 9
33000 #define V_FULLCH2(x) ((x) << S_FULLCH2)
33001 #define F_FULLCH2 V_FULLCH2(1U)
33003 #define S_VALIDCH2 8
33004 #define V_VALIDCH2(x) ((x) << S_VALIDCH2)
33005 #define F_VALIDCH2 V_VALIDCH2(1U)
33007 #define S_DATACH2 0
33008 #define M_DATACH2 0xffU
33009 #define V_DATACH2(x) ((x) << S_DATACH2)
33010 #define G_DATACH2(x) (((x) >> S_DATACH2) & M_DATACH2)
33012 #define S_T5_SIZECH3 26
33013 #define M_T5_SIZECH3 0xfU
33014 #define V_T5_SIZECH3(x) ((x) << S_T5_SIZECH3)
33015 #define G_T5_SIZECH3(x) (((x) >> S_T5_SIZECH3) & M_T5_SIZECH3)
33017 #define S_T5_ERRCH3 25
33018 #define V_T5_ERRCH3(x) ((x) << S_T5_ERRCH3)
33019 #define F_T5_ERRCH3 V_T5_ERRCH3(1U)
33021 #define S_T5_FULLCH3 24
33022 #define V_T5_FULLCH3(x) ((x) << S_T5_FULLCH3)
33023 #define F_T5_FULLCH3 V_T5_FULLCH3(1U)
33025 #define S_T5_VALIDCH3 23
33026 #define V_T5_VALIDCH3(x) ((x) << S_T5_VALIDCH3)
33027 #define F_T5_VALIDCH3 V_T5_VALIDCH3(1U)
33029 #define S_T5_DATACH3 16
33030 #define M_T5_DATACH3 0x7fU
33031 #define V_T5_DATACH3(x) ((x) << S_T5_DATACH3)
33032 #define G_T5_DATACH3(x) (((x) >> S_T5_DATACH3) & M_T5_DATACH3)
33034 #define S_T5_SIZECH2 10
33035 #define M_T5_SIZECH2 0xfU
33036 #define V_T5_SIZECH2(x) ((x) << S_T5_SIZECH2)
33037 #define G_T5_SIZECH2(x) (((x) >> S_T5_SIZECH2) & M_T5_SIZECH2)
33039 #define S_T5_ERRCH2 9
33040 #define V_T5_ERRCH2(x) ((x) << S_T5_ERRCH2)
33041 #define F_T5_ERRCH2 V_T5_ERRCH2(1U)
33043 #define S_T5_FULLCH2 8
33044 #define V_T5_FULLCH2(x) ((x) << S_T5_FULLCH2)
33045 #define F_T5_FULLCH2 V_T5_FULLCH2(1U)
33047 #define S_T5_VALIDCH2 7
33048 #define V_T5_VALIDCH2(x) ((x) << S_T5_VALIDCH2)
33049 #define F_T5_VALIDCH2 V_T5_VALIDCH2(1U)
33051 #define S_T5_DATACH2 0
33052 #define M_T5_DATACH2 0x7fU
33053 #define V_T5_DATACH2(x) ((x) << S_T5_DATACH2)
33054 #define G_T5_DATACH2(x) (((x) >> S_T5_DATACH2) & M_T5_DATACH2)
33056 #define A_MPS_TX_DEBUG_REG_TX2MAC_10 0x944c
33058 #define S_SOPPT1 31
33059 #define V_SOPPT1(x) ((x) << S_SOPPT1)
33060 #define F_SOPPT1 V_SOPPT1(1U)
33062 #define S_EOPPT1 30
33063 #define V_EOPPT1(x) ((x) << S_EOPPT1)
33064 #define F_EOPPT1 V_EOPPT1(1U)
33066 #define S_SIZEPT1 27
33067 #define M_SIZEPT1 0x7U
33068 #define V_SIZEPT1(x) ((x) << S_SIZEPT1)
33069 #define G_SIZEPT1(x) (((x) >> S_SIZEPT1) & M_SIZEPT1)
33071 #define S_ERRPT1 26
33072 #define V_ERRPT1(x) ((x) << S_ERRPT1)
33073 #define F_ERRPT1 V_ERRPT1(1U)
33075 #define S_FULLPT1 25
33076 #define V_FULLPT1(x) ((x) << S_FULLPT1)
33077 #define F_FULLPT1 V_FULLPT1(1U)
33079 #define S_VALIDPT1 24
33080 #define V_VALIDPT1(x) ((x) << S_VALIDPT1)
33081 #define F_VALIDPT1 V_VALIDPT1(1U)
33083 #define S_DATAPT1 16
33084 #define M_DATAPT1 0xffU
33085 #define V_DATAPT1(x) ((x) << S_DATAPT1)
33086 #define G_DATAPT1(x) (((x) >> S_DATAPT1) & M_DATAPT1)
33088 #define S_SOPPT0 15
33089 #define V_SOPPT0(x) ((x) << S_SOPPT0)
33090 #define F_SOPPT0 V_SOPPT0(1U)
33092 #define S_EOPPT0 14
33093 #define V_EOPPT0(x) ((x) << S_EOPPT0)
33094 #define F_EOPPT0 V_EOPPT0(1U)
33096 #define S_SIZEPT0 11
33097 #define M_SIZEPT0 0x7U
33098 #define V_SIZEPT0(x) ((x) << S_SIZEPT0)
33099 #define G_SIZEPT0(x) (((x) >> S_SIZEPT0) & M_SIZEPT0)
33101 #define S_ERRPT0 10
33102 #define V_ERRPT0(x) ((x) << S_ERRPT0)
33103 #define F_ERRPT0 V_ERRPT0(1U)
33105 #define S_FULLPT0 9
33106 #define V_FULLPT0(x) ((x) << S_FULLPT0)
33107 #define F_FULLPT0 V_FULLPT0(1U)
33109 #define S_VALIDPT0 8
33110 #define V_VALIDPT0(x) ((x) << S_VALIDPT0)
33111 #define F_VALIDPT0 V_VALIDPT0(1U)
33113 #define S_DATAPT0 0
33114 #define M_DATAPT0 0xffU
33115 #define V_DATAPT0(x) ((x) << S_DATAPT0)
33116 #define G_DATAPT0(x) (((x) >> S_DATAPT0) & M_DATAPT0)
33118 #define S_T5_SIZEPT1 26
33119 #define M_T5_SIZEPT1 0xfU
33120 #define V_T5_SIZEPT1(x) ((x) << S_T5_SIZEPT1)
33121 #define G_T5_SIZEPT1(x) (((x) >> S_T5_SIZEPT1) & M_T5_SIZEPT1)
33123 #define S_T5_ERRPT1 25
33124 #define V_T5_ERRPT1(x) ((x) << S_T5_ERRPT1)
33125 #define F_T5_ERRPT1 V_T5_ERRPT1(1U)
33127 #define S_T5_FULLPT1 24
33128 #define V_T5_FULLPT1(x) ((x) << S_T5_FULLPT1)
33129 #define F_T5_FULLPT1 V_T5_FULLPT1(1U)
33131 #define S_T5_VALIDPT1 23
33132 #define V_T5_VALIDPT1(x) ((x) << S_T5_VALIDPT1)
33133 #define F_T5_VALIDPT1 V_T5_VALIDPT1(1U)
33135 #define S_T5_DATAPT1 16
33136 #define M_T5_DATAPT1 0x7fU
33137 #define V_T5_DATAPT1(x) ((x) << S_T5_DATAPT1)
33138 #define G_T5_DATAPT1(x) (((x) >> S_T5_DATAPT1) & M_T5_DATAPT1)
33140 #define S_T5_SIZEPT0 10
33141 #define M_T5_SIZEPT0 0xfU
33142 #define V_T5_SIZEPT0(x) ((x) << S_T5_SIZEPT0)
33143 #define G_T5_SIZEPT0(x) (((x) >> S_T5_SIZEPT0) & M_T5_SIZEPT0)
33145 #define S_T5_ERRPT0 9
33146 #define V_T5_ERRPT0(x) ((x) << S_T5_ERRPT0)
33147 #define F_T5_ERRPT0 V_T5_ERRPT0(1U)
33149 #define S_T5_FULLPT0 8
33150 #define V_T5_FULLPT0(x) ((x) << S_T5_FULLPT0)
33151 #define F_T5_FULLPT0 V_T5_FULLPT0(1U)
33153 #define S_T5_VALIDPT0 7
33154 #define V_T5_VALIDPT0(x) ((x) << S_T5_VALIDPT0)
33155 #define F_T5_VALIDPT0 V_T5_VALIDPT0(1U)
33157 #define S_T5_DATAPT0 0
33158 #define M_T5_DATAPT0 0x7fU
33159 #define V_T5_DATAPT0(x) ((x) << S_T5_DATAPT0)
33160 #define G_T5_DATAPT0(x) (((x) >> S_T5_DATAPT0) & M_T5_DATAPT0)
33162 #define A_MPS_TX_DEBUG_REG_TX2MAC_32 0x9450
33164 #define S_SOPPT3 31
33165 #define V_SOPPT3(x) ((x) << S_SOPPT3)
33166 #define F_SOPPT3 V_SOPPT3(1U)
33168 #define S_EOPPT3 30
33169 #define V_EOPPT3(x) ((x) << S_EOPPT3)
33170 #define F_EOPPT3 V_EOPPT3(1U)
33172 #define S_SIZEPT3 27
33173 #define M_SIZEPT3 0x7U
33174 #define V_SIZEPT3(x) ((x) << S_SIZEPT3)
33175 #define G_SIZEPT3(x) (((x) >> S_SIZEPT3) & M_SIZEPT3)
33177 #define S_ERRPT3 26
33178 #define V_ERRPT3(x) ((x) << S_ERRPT3)
33179 #define F_ERRPT3 V_ERRPT3(1U)
33181 #define S_FULLPT3 25
33182 #define V_FULLPT3(x) ((x) << S_FULLPT3)
33183 #define F_FULLPT3 V_FULLPT3(1U)
33185 #define S_VALIDPT3 24
33186 #define V_VALIDPT3(x) ((x) << S_VALIDPT3)
33187 #define F_VALIDPT3 V_VALIDPT3(1U)
33189 #define S_DATAPT3 16
33190 #define M_DATAPT3 0xffU
33191 #define V_DATAPT3(x) ((x) << S_DATAPT3)
33192 #define G_DATAPT3(x) (((x) >> S_DATAPT3) & M_DATAPT3)
33194 #define S_SOPPT2 15
33195 #define V_SOPPT2(x) ((x) << S_SOPPT2)
33196 #define F_SOPPT2 V_SOPPT2(1U)
33198 #define S_EOPPT2 14
33199 #define V_EOPPT2(x) ((x) << S_EOPPT2)
33200 #define F_EOPPT2 V_EOPPT2(1U)
33202 #define S_SIZEPT2 11
33203 #define M_SIZEPT2 0x7U
33204 #define V_SIZEPT2(x) ((x) << S_SIZEPT2)
33205 #define G_SIZEPT2(x) (((x) >> S_SIZEPT2) & M_SIZEPT2)
33207 #define S_ERRPT2 10
33208 #define V_ERRPT2(x) ((x) << S_ERRPT2)
33209 #define F_ERRPT2 V_ERRPT2(1U)
33211 #define S_FULLPT2 9
33212 #define V_FULLPT2(x) ((x) << S_FULLPT2)
33213 #define F_FULLPT2 V_FULLPT2(1U)
33215 #define S_VALIDPT2 8
33216 #define V_VALIDPT2(x) ((x) << S_VALIDPT2)
33217 #define F_VALIDPT2 V_VALIDPT2(1U)
33219 #define S_DATAPT2 0
33220 #define M_DATAPT2 0xffU
33221 #define V_DATAPT2(x) ((x) << S_DATAPT2)
33222 #define G_DATAPT2(x) (((x) >> S_DATAPT2) & M_DATAPT2)
33224 #define S_T5_SIZEPT3 26
33225 #define M_T5_SIZEPT3 0xfU
33226 #define V_T5_SIZEPT3(x) ((x) << S_T5_SIZEPT3)
33227 #define G_T5_SIZEPT3(x) (((x) >> S_T5_SIZEPT3) & M_T5_SIZEPT3)
33229 #define S_T5_ERRPT3 25
33230 #define V_T5_ERRPT3(x) ((x) << S_T5_ERRPT3)
33231 #define F_T5_ERRPT3 V_T5_ERRPT3(1U)
33233 #define S_T5_FULLPT3 24
33234 #define V_T5_FULLPT3(x) ((x) << S_T5_FULLPT3)
33235 #define F_T5_FULLPT3 V_T5_FULLPT3(1U)
33237 #define S_T5_VALIDPT3 23
33238 #define V_T5_VALIDPT3(x) ((x) << S_T5_VALIDPT3)
33239 #define F_T5_VALIDPT3 V_T5_VALIDPT3(1U)
33241 #define S_T5_DATAPT3 16
33242 #define M_T5_DATAPT3 0x7fU
33243 #define V_T5_DATAPT3(x) ((x) << S_T5_DATAPT3)
33244 #define G_T5_DATAPT3(x) (((x) >> S_T5_DATAPT3) & M_T5_DATAPT3)
33246 #define S_T5_SIZEPT2 10
33247 #define M_T5_SIZEPT2 0xfU
33248 #define V_T5_SIZEPT2(x) ((x) << S_T5_SIZEPT2)
33249 #define G_T5_SIZEPT2(x) (((x) >> S_T5_SIZEPT2) & M_T5_SIZEPT2)
33251 #define S_T5_ERRPT2 9
33252 #define V_T5_ERRPT2(x) ((x) << S_T5_ERRPT2)
33253 #define F_T5_ERRPT2 V_T5_ERRPT2(1U)
33255 #define S_T5_FULLPT2 8
33256 #define V_T5_FULLPT2(x) ((x) << S_T5_FULLPT2)
33257 #define F_T5_FULLPT2 V_T5_FULLPT2(1U)
33259 #define S_T5_VALIDPT2 7
33260 #define V_T5_VALIDPT2(x) ((x) << S_T5_VALIDPT2)
33261 #define F_T5_VALIDPT2 V_T5_VALIDPT2(1U)
33263 #define S_T5_DATAPT2 0
33264 #define M_T5_DATAPT2 0x7fU
33265 #define V_T5_DATAPT2(x) ((x) << S_T5_DATAPT2)
33266 #define G_T5_DATAPT2(x) (((x) >> S_T5_DATAPT2) & M_T5_DATAPT2)
33268 #define A_MPS_TX_SGE_CH_PAUSE_IGNR 0x9454
33270 #define S_SGEPAUSEIGNR 0
33271 #define M_SGEPAUSEIGNR 0xfU
33272 #define V_SGEPAUSEIGNR(x) ((x) << S_SGEPAUSEIGNR)
33273 #define G_SGEPAUSEIGNR(x) (((x) >> S_SGEPAUSEIGNR) & M_SGEPAUSEIGNR)
33275 #define A_MPS_T5_TX_SGE_CH_PAUSE_IGNR 0x9454
33277 #define S_T5SGEPAUSEIGNR 0
33278 #define M_T5SGEPAUSEIGNR 0xffffU
33279 #define V_T5SGEPAUSEIGNR(x) ((x) << S_T5SGEPAUSEIGNR)
33280 #define G_T5SGEPAUSEIGNR(x) (((x) >> S_T5SGEPAUSEIGNR) & M_T5SGEPAUSEIGNR)
33282 #define A_MPS_TX_DEBUG_SUBPART_SEL 0x9458
33284 #define S_SUBPRTH 11
33285 #define M_SUBPRTH 0x1fU
33286 #define V_SUBPRTH(x) ((x) << S_SUBPRTH)
33287 #define G_SUBPRTH(x) (((x) >> S_SUBPRTH) & M_SUBPRTH)
33290 #define M_PORTH 0x7U
33291 #define V_PORTH(x) ((x) << S_PORTH)
33292 #define G_PORTH(x) (((x) >> S_PORTH) & M_PORTH)
33294 #define S_SUBPRTL 3
33295 #define M_SUBPRTL 0x1fU
33296 #define V_SUBPRTL(x) ((x) << S_SUBPRTL)
33297 #define G_SUBPRTL(x) (((x) >> S_SUBPRTL) & M_SUBPRTL)
33300 #define M_PORTL 0x7U
33301 #define V_PORTL(x) ((x) << S_PORTL)
33302 #define G_PORTL(x) (((x) >> S_PORTL) & M_PORTL)
33304 #define A_MPS_TX_PAD_CTL 0x945c
33306 #define S_LPBKPADENPT3 7
33307 #define V_LPBKPADENPT3(x) ((x) << S_LPBKPADENPT3)
33308 #define F_LPBKPADENPT3 V_LPBKPADENPT3(1U)
33310 #define S_LPBKPADENPT2 6
33311 #define V_LPBKPADENPT2(x) ((x) << S_LPBKPADENPT2)
33312 #define F_LPBKPADENPT2 V_LPBKPADENPT2(1U)
33314 #define S_LPBKPADENPT1 5
33315 #define V_LPBKPADENPT1(x) ((x) << S_LPBKPADENPT1)
33316 #define F_LPBKPADENPT1 V_LPBKPADENPT1(1U)
33318 #define S_LPBKPADENPT0 4
33319 #define V_LPBKPADENPT0(x) ((x) << S_LPBKPADENPT0)
33320 #define F_LPBKPADENPT0 V_LPBKPADENPT0(1U)
33322 #define S_MACPADENPT3 3
33323 #define V_MACPADENPT3(x) ((x) << S_MACPADENPT3)
33324 #define F_MACPADENPT3 V_MACPADENPT3(1U)
33326 #define S_MACPADENPT2 2
33327 #define V_MACPADENPT2(x) ((x) << S_MACPADENPT2)
33328 #define F_MACPADENPT2 V_MACPADENPT2(1U)
33330 #define S_MACPADENPT1 1
33331 #define V_MACPADENPT1(x) ((x) << S_MACPADENPT1)
33332 #define F_MACPADENPT1 V_MACPADENPT1(1U)
33334 #define S_MACPADENPT0 0
33335 #define V_MACPADENPT0(x) ((x) << S_MACPADENPT0)
33336 #define F_MACPADENPT0 V_MACPADENPT0(1U)
33338 #define A_MPS_TX_PFVF_PORT_DROP_TP 0x9460
33340 #define S_TP2MPS_CH3 24
33341 #define M_TP2MPS_CH3 0xffU
33342 #define V_TP2MPS_CH3(x) ((x) << S_TP2MPS_CH3)
33343 #define G_TP2MPS_CH3(x) (((x) >> S_TP2MPS_CH3) & M_TP2MPS_CH3)
33345 #define S_TP2MPS_CH2 16
33346 #define M_TP2MPS_CH2 0xffU
33347 #define V_TP2MPS_CH2(x) ((x) << S_TP2MPS_CH2)
33348 #define G_TP2MPS_CH2(x) (((x) >> S_TP2MPS_CH2) & M_TP2MPS_CH2)
33350 #define S_TP2MPS_CH1 8
33351 #define M_TP2MPS_CH1 0xffU
33352 #define V_TP2MPS_CH1(x) ((x) << S_TP2MPS_CH1)
33353 #define G_TP2MPS_CH1(x) (((x) >> S_TP2MPS_CH1) & M_TP2MPS_CH1)
33355 #define S_TP2MPS_CH0 0
33356 #define M_TP2MPS_CH0 0xffU
33357 #define V_TP2MPS_CH0(x) ((x) << S_TP2MPS_CH0)
33358 #define G_TP2MPS_CH0(x) (((x) >> S_TP2MPS_CH0) & M_TP2MPS_CH0)
33360 #define A_MPS_TX_PFVF_PORT_DROP_NCSI 0x9464
33362 #define S_NCSI_CH4 0
33363 #define M_NCSI_CH4 0xffU
33364 #define V_NCSI_CH4(x) ((x) << S_NCSI_CH4)
33365 #define G_NCSI_CH4(x) (((x) >> S_NCSI_CH4) & M_NCSI_CH4)
33367 #define A_MPS_TX_PFVF_PORT_DROP_CTL 0x9468
33369 #define S_PFNOVFDROP 5
33370 #define V_PFNOVFDROP(x) ((x) << S_PFNOVFDROP)
33371 #define F_PFNOVFDROP V_PFNOVFDROP(1U)
33373 #define S_NCSI_CH4_CLR 4
33374 #define V_NCSI_CH4_CLR(x) ((x) << S_NCSI_CH4_CLR)
33375 #define F_NCSI_CH4_CLR V_NCSI_CH4_CLR(1U)
33377 #define S_TP2MPS_CH3_CLR 3
33378 #define V_TP2MPS_CH3_CLR(x) ((x) << S_TP2MPS_CH3_CLR)
33379 #define F_TP2MPS_CH3_CLR V_TP2MPS_CH3_CLR(1U)
33381 #define S_TP2MPS_CH2_CLR 2
33382 #define V_TP2MPS_CH2_CLR(x) ((x) << S_TP2MPS_CH2_CLR)
33383 #define F_TP2MPS_CH2_CLR V_TP2MPS_CH2_CLR(1U)
33385 #define S_TP2MPS_CH1_CLR 1
33386 #define V_TP2MPS_CH1_CLR(x) ((x) << S_TP2MPS_CH1_CLR)
33387 #define F_TP2MPS_CH1_CLR V_TP2MPS_CH1_CLR(1U)
33389 #define S_TP2MPS_CH0_CLR 0
33390 #define V_TP2MPS_CH0_CLR(x) ((x) << S_TP2MPS_CH0_CLR)
33391 #define F_TP2MPS_CH0_CLR V_TP2MPS_CH0_CLR(1U)
33393 #define A_MPS_TX_CGEN 0x946c
33395 #define S_TXOUTLPBK3_CGEN 31
33396 #define V_TXOUTLPBK3_CGEN(x) ((x) << S_TXOUTLPBK3_CGEN)
33397 #define F_TXOUTLPBK3_CGEN V_TXOUTLPBK3_CGEN(1U)
33399 #define S_TXOUTLPBK2_CGEN 30
33400 #define V_TXOUTLPBK2_CGEN(x) ((x) << S_TXOUTLPBK2_CGEN)
33401 #define F_TXOUTLPBK2_CGEN V_TXOUTLPBK2_CGEN(1U)
33403 #define S_TXOUTLPBK1_CGEN 29
33404 #define V_TXOUTLPBK1_CGEN(x) ((x) << S_TXOUTLPBK1_CGEN)
33405 #define F_TXOUTLPBK1_CGEN V_TXOUTLPBK1_CGEN(1U)
33407 #define S_TXOUTLPBK0_CGEN 28
33408 #define V_TXOUTLPBK0_CGEN(x) ((x) << S_TXOUTLPBK0_CGEN)
33409 #define F_TXOUTLPBK0_CGEN V_TXOUTLPBK0_CGEN(1U)
33411 #define S_TXOUTMAC3_CGEN 27
33412 #define V_TXOUTMAC3_CGEN(x) ((x) << S_TXOUTMAC3_CGEN)
33413 #define F_TXOUTMAC3_CGEN V_TXOUTMAC3_CGEN(1U)
33415 #define S_TXOUTMAC2_CGEN 26
33416 #define V_TXOUTMAC2_CGEN(x) ((x) << S_TXOUTMAC2_CGEN)
33417 #define F_TXOUTMAC2_CGEN V_TXOUTMAC2_CGEN(1U)
33419 #define S_TXOUTMAC1_CGEN 25
33420 #define V_TXOUTMAC1_CGEN(x) ((x) << S_TXOUTMAC1_CGEN)
33421 #define F_TXOUTMAC1_CGEN V_TXOUTMAC1_CGEN(1U)
33423 #define S_TXOUTMAC0_CGEN 24
33424 #define V_TXOUTMAC0_CGEN(x) ((x) << S_TXOUTMAC0_CGEN)
33425 #define F_TXOUTMAC0_CGEN V_TXOUTMAC0_CGEN(1U)
33427 #define S_TXSCHLPBK3_CGEN 23
33428 #define V_TXSCHLPBK3_CGEN(x) ((x) << S_TXSCHLPBK3_CGEN)
33429 #define F_TXSCHLPBK3_CGEN V_TXSCHLPBK3_CGEN(1U)
33431 #define S_TXSCHLPBK2_CGEN 22
33432 #define V_TXSCHLPBK2_CGEN(x) ((x) << S_TXSCHLPBK2_CGEN)
33433 #define F_TXSCHLPBK2_CGEN V_TXSCHLPBK2_CGEN(1U)
33435 #define S_TXSCHLPBK1_CGEN 21
33436 #define V_TXSCHLPBK1_CGEN(x) ((x) << S_TXSCHLPBK1_CGEN)
33437 #define F_TXSCHLPBK1_CGEN V_TXSCHLPBK1_CGEN(1U)
33439 #define S_TXSCHLPBK0_CGEN 20
33440 #define V_TXSCHLPBK0_CGEN(x) ((x) << S_TXSCHLPBK0_CGEN)
33441 #define F_TXSCHLPBK0_CGEN V_TXSCHLPBK0_CGEN(1U)
33443 #define S_TXSCHMAC3_CGEN 19
33444 #define V_TXSCHMAC3_CGEN(x) ((x) << S_TXSCHMAC3_CGEN)
33445 #define F_TXSCHMAC3_CGEN V_TXSCHMAC3_CGEN(1U)
33447 #define S_TXSCHMAC2_CGEN 18
33448 #define V_TXSCHMAC2_CGEN(x) ((x) << S_TXSCHMAC2_CGEN)
33449 #define F_TXSCHMAC2_CGEN V_TXSCHMAC2_CGEN(1U)
33451 #define S_TXSCHMAC1_CGEN 17
33452 #define V_TXSCHMAC1_CGEN(x) ((x) << S_TXSCHMAC1_CGEN)
33453 #define F_TXSCHMAC1_CGEN V_TXSCHMAC1_CGEN(1U)
33455 #define S_TXSCHMAC0_CGEN 16
33456 #define V_TXSCHMAC0_CGEN(x) ((x) << S_TXSCHMAC0_CGEN)
33457 #define F_TXSCHMAC0_CGEN V_TXSCHMAC0_CGEN(1U)
33459 #define S_TXINCH4_CGEN 15
33460 #define V_TXINCH4_CGEN(x) ((x) << S_TXINCH4_CGEN)
33461 #define F_TXINCH4_CGEN V_TXINCH4_CGEN(1U)
33463 #define S_TXINCH3_CGEN 14
33464 #define V_TXINCH3_CGEN(x) ((x) << S_TXINCH3_CGEN)
33465 #define F_TXINCH3_CGEN V_TXINCH3_CGEN(1U)
33467 #define S_TXINCH2_CGEN 13
33468 #define V_TXINCH2_CGEN(x) ((x) << S_TXINCH2_CGEN)
33469 #define F_TXINCH2_CGEN V_TXINCH2_CGEN(1U)
33471 #define S_TXINCH1_CGEN 12
33472 #define V_TXINCH1_CGEN(x) ((x) << S_TXINCH1_CGEN)
33473 #define F_TXINCH1_CGEN V_TXINCH1_CGEN(1U)
33475 #define S_TXINCH0_CGEN 11
33476 #define V_TXINCH0_CGEN(x) ((x) << S_TXINCH0_CGEN)
33477 #define F_TXINCH0_CGEN V_TXINCH0_CGEN(1U)
33479 #define A_MPS_TX_CGEN_DYNAMIC 0x9470
33480 #define A_MPS_STAT_CTL 0x9600
33482 #define S_COUNTVFINPF 1
33483 #define V_COUNTVFINPF(x) ((x) << S_COUNTVFINPF)
33484 #define F_COUNTVFINPF V_COUNTVFINPF(1U)
33486 #define S_LPBKERRSTAT 0
33487 #define V_LPBKERRSTAT(x) ((x) << S_LPBKERRSTAT)
33488 #define F_LPBKERRSTAT V_LPBKERRSTAT(1U)
33490 #define S_STATSTOPCTRL 10
33491 #define V_STATSTOPCTRL(x) ((x) << S_STATSTOPCTRL)
33492 #define F_STATSTOPCTRL V_STATSTOPCTRL(1U)
33494 #define S_STOPSTAT 9
33495 #define V_STOPSTAT(x) ((x) << S_STOPSTAT)
33496 #define F_STOPSTAT V_STOPSTAT(1U)
33498 #define S_STATWRITECTRL 8
33499 #define V_STATWRITECTRL(x) ((x) << S_STATWRITECTRL)
33500 #define F_STATWRITECTRL V_STATWRITECTRL(1U)
33502 #define S_COUNTLBPF 7
33503 #define V_COUNTLBPF(x) ((x) << S_COUNTLBPF)
33504 #define F_COUNTLBPF V_COUNTLBPF(1U)
33506 #define S_COUNTLBVF 6
33507 #define V_COUNTLBVF(x) ((x) << S_COUNTLBVF)
33508 #define F_COUNTLBVF V_COUNTLBVF(1U)
33510 #define S_COUNTPAUSEMCRX 5
33511 #define V_COUNTPAUSEMCRX(x) ((x) << S_COUNTPAUSEMCRX)
33512 #define F_COUNTPAUSEMCRX V_COUNTPAUSEMCRX(1U)
33514 #define S_COUNTPAUSESTATRX 4
33515 #define V_COUNTPAUSESTATRX(x) ((x) << S_COUNTPAUSESTATRX)
33516 #define F_COUNTPAUSESTATRX V_COUNTPAUSESTATRX(1U)
33518 #define S_COUNTPAUSEMCTX 3
33519 #define V_COUNTPAUSEMCTX(x) ((x) << S_COUNTPAUSEMCTX)
33520 #define F_COUNTPAUSEMCTX V_COUNTPAUSEMCTX(1U)
33522 #define S_COUNTPAUSESTATTX 2
33523 #define V_COUNTPAUSESTATTX(x) ((x) << S_COUNTPAUSESTATTX)
33524 #define F_COUNTPAUSESTATTX V_COUNTPAUSESTATTX(1U)
33526 #define A_MPS_STAT_INT_ENABLE 0x9608
33528 #define S_PLREADSYNCERR 0
33529 #define V_PLREADSYNCERR(x) ((x) << S_PLREADSYNCERR)
33530 #define F_PLREADSYNCERR V_PLREADSYNCERR(1U)
33532 #define A_MPS_STAT_INT_CAUSE 0x960c
33533 #define A_MPS_STAT_PERR_INT_ENABLE_SRAM 0x9610
33536 #define V_RXBG(x) ((x) << S_RXBG)
33537 #define F_RXBG V_RXBG(1U)
33540 #define M_RXVF 0x3U
33541 #define V_RXVF(x) ((x) << S_RXVF)
33542 #define G_RXVF(x) (((x) >> S_RXVF) & M_RXVF)
33545 #define M_TXVF 0x3U
33546 #define V_TXVF(x) ((x) << S_TXVF)
33547 #define G_TXVF(x) (((x) >> S_TXVF) & M_TXVF)
33550 #define M_RXPF 0x7U
33551 #define V_RXPF(x) ((x) << S_RXPF)
33552 #define G_RXPF(x) (((x) >> S_RXPF) & M_RXPF)
33555 #define M_TXPF 0x3U
33556 #define V_TXPF(x) ((x) << S_TXPF)
33557 #define G_TXPF(x) (((x) >> S_TXPF) & M_TXPF)
33560 #define M_RXPORT 0xfU
33561 #define V_RXPORT(x) ((x) << S_RXPORT)
33562 #define G_RXPORT(x) (((x) >> S_RXPORT) & M_RXPORT)
33565 #define M_LBPORT 0x7U
33566 #define V_LBPORT(x) ((x) << S_LBPORT)
33567 #define G_LBPORT(x) (((x) >> S_LBPORT) & M_LBPORT)
33570 #define M_TXPORT 0xfU
33571 #define V_TXPORT(x) ((x) << S_TXPORT)
33572 #define G_TXPORT(x) (((x) >> S_TXPORT) & M_TXPORT)
33574 #define S_T5_RXBG 27
33575 #define M_T5_RXBG 0x3U
33576 #define V_T5_RXBG(x) ((x) << S_T5_RXBG)
33577 #define G_T5_RXBG(x) (((x) >> S_T5_RXBG) & M_T5_RXBG)
33579 #define S_T5_RXPF 22
33580 #define M_T5_RXPF 0x1fU
33581 #define V_T5_RXPF(x) ((x) << S_T5_RXPF)
33582 #define G_T5_RXPF(x) (((x) >> S_T5_RXPF) & M_T5_RXPF)
33584 #define S_T5_TXPF 18
33585 #define M_T5_TXPF 0xfU
33586 #define V_T5_TXPF(x) ((x) << S_T5_TXPF)
33587 #define G_T5_TXPF(x) (((x) >> S_T5_TXPF) & M_T5_TXPF)
33589 #define S_T5_RXPORT 11
33590 #define M_T5_RXPORT 0x7fU
33591 #define V_T5_RXPORT(x) ((x) << S_T5_RXPORT)
33592 #define G_T5_RXPORT(x) (((x) >> S_T5_RXPORT) & M_T5_RXPORT)
33594 #define S_T5_LBPORT 6
33595 #define M_T5_LBPORT 0x1fU
33596 #define V_T5_LBPORT(x) ((x) << S_T5_LBPORT)
33597 #define G_T5_LBPORT(x) (((x) >> S_T5_LBPORT) & M_T5_LBPORT)
33599 #define S_T5_TXPORT 0
33600 #define M_T5_TXPORT 0x3fU
33601 #define V_T5_TXPORT(x) ((x) << S_T5_TXPORT)
33602 #define G_T5_TXPORT(x) (((x) >> S_T5_TXPORT) & M_T5_TXPORT)
33604 #define A_MPS_STAT_PERR_INT_CAUSE_SRAM 0x9614
33605 #define A_MPS_STAT_PERR_ENABLE_SRAM 0x9618
33606 #define A_MPS_STAT_PERR_INT_ENABLE_TX_FIFO 0x961c
33610 #define V_TX(x) ((x) << S_TX)
33611 #define G_TX(x) (((x) >> S_TX) & M_TX)
33613 #define S_TXPAUSEFIFO 8
33614 #define M_TXPAUSEFIFO 0xfU
33615 #define V_TXPAUSEFIFO(x) ((x) << S_TXPAUSEFIFO)
33616 #define G_TXPAUSEFIFO(x) (((x) >> S_TXPAUSEFIFO) & M_TXPAUSEFIFO)
33619 #define M_DROP 0xffU
33620 #define V_DROP(x) ((x) << S_DROP)
33621 #define G_DROP(x) (((x) >> S_DROP) & M_DROP)
33624 #define M_TXCH 0xfU
33625 #define V_TXCH(x) ((x) << S_TXCH)
33626 #define G_TXCH(x) (((x) >> S_TXCH) & M_TXCH)
33628 #define A_MPS_STAT_PERR_INT_CAUSE_TX_FIFO 0x9620
33629 #define A_MPS_STAT_PERR_ENABLE_TX_FIFO 0x9624
33630 #define A_MPS_STAT_PERR_INT_ENABLE_RX_FIFO 0x9628
33632 #define S_PAUSEFIFO 20
33633 #define M_PAUSEFIFO 0xfU
33634 #define V_PAUSEFIFO(x) ((x) << S_PAUSEFIFO)
33635 #define G_PAUSEFIFO(x) (((x) >> S_PAUSEFIFO) & M_PAUSEFIFO)
33638 #define M_LPBK 0xfU
33639 #define V_LPBK(x) ((x) << S_LPBK)
33640 #define G_LPBK(x) (((x) >> S_LPBK) & M_LPBK)
33644 #define V_NQ(x) ((x) << S_NQ)
33645 #define G_NQ(x) (((x) >> S_NQ) & M_NQ)
33649 #define V_PV(x) ((x) << S_PV)
33650 #define G_PV(x) (((x) >> S_PV) & M_PV)
33654 #define V_MAC(x) ((x) << S_MAC)
33655 #define G_MAC(x) (((x) >> S_MAC) & M_MAC)
33657 #define A_MPS_STAT_PERR_INT_CAUSE_RX_FIFO 0x962c
33658 #define A_MPS_STAT_PERR_ENABLE_RX_FIFO 0x9630
33659 #define A_MPS_STAT_PERR_INJECT 0x9634
33661 #define S_STATMEMSEL 1
33662 #define M_STATMEMSEL 0x7fU
33663 #define V_STATMEMSEL(x) ((x) << S_STATMEMSEL)
33664 #define G_STATMEMSEL(x) (((x) >> S_STATMEMSEL) & M_STATMEMSEL)
33666 #define A_MPS_STAT_DEBUG_SUB_SEL 0x9638
33668 #define S_STATSSUBPRTH 5
33669 #define M_STATSSUBPRTH 0x1fU
33670 #define V_STATSSUBPRTH(x) ((x) << S_STATSSUBPRTH)
33671 #define G_STATSSUBPRTH(x) (((x) >> S_STATSSUBPRTH) & M_STATSSUBPRTH)
33673 #define S_STATSSUBPRTL 0
33674 #define M_STATSSUBPRTL 0x1fU
33675 #define V_STATSSUBPRTL(x) ((x) << S_STATSSUBPRTL)
33676 #define G_STATSSUBPRTL(x) (((x) >> S_STATSSUBPRTL) & M_STATSSUBPRTL)
33678 #define S_STATSUBPRTH 5
33679 #define M_STATSUBPRTH 0x1fU
33680 #define V_STATSUBPRTH(x) ((x) << S_STATSUBPRTH)
33681 #define G_STATSUBPRTH(x) (((x) >> S_STATSUBPRTH) & M_STATSUBPRTH)
33683 #define A_MPS_STAT_RX_BG_0_MAC_DROP_FRAME_L 0x9640
33684 #define A_MPS_STAT_RX_BG_0_MAC_DROP_FRAME_H 0x9644
33685 #define A_MPS_STAT_RX_BG_1_MAC_DROP_FRAME_L 0x9648
33686 #define A_MPS_STAT_RX_BG_1_MAC_DROP_FRAME_H 0x964c
33687 #define A_MPS_STAT_RX_BG_2_MAC_DROP_FRAME_L 0x9650
33688 #define A_MPS_STAT_RX_BG_2_MAC_DROP_FRAME_H 0x9654
33689 #define A_MPS_STAT_RX_BG_3_MAC_DROP_FRAME_L 0x9658
33690 #define A_MPS_STAT_RX_BG_3_MAC_DROP_FRAME_H 0x965c
33691 #define A_MPS_STAT_RX_BG_0_LB_DROP_FRAME_L 0x9660
33692 #define A_MPS_STAT_RX_BG_0_LB_DROP_FRAME_H 0x9664
33693 #define A_MPS_STAT_RX_BG_1_LB_DROP_FRAME_L 0x9668
33694 #define A_MPS_STAT_RX_BG_1_LB_DROP_FRAME_H 0x966c
33695 #define A_MPS_STAT_RX_BG_2_LB_DROP_FRAME_L 0x9670
33696 #define A_MPS_STAT_RX_BG_2_LB_DROP_FRAME_H 0x9674
33697 #define A_MPS_STAT_RX_BG_3_LB_DROP_FRAME_L 0x9678
33698 #define A_MPS_STAT_RX_BG_3_LB_DROP_FRAME_H 0x967c
33699 #define A_MPS_STAT_RX_BG_0_MAC_TRUNC_FRAME_L 0x9680
33700 #define A_MPS_STAT_RX_BG_0_MAC_TRUNC_FRAME_H 0x9684
33701 #define A_MPS_STAT_RX_BG_1_MAC_TRUNC_FRAME_L 0x9688
33702 #define A_MPS_STAT_RX_BG_1_MAC_TRUNC_FRAME_H 0x968c
33703 #define A_MPS_STAT_RX_BG_2_MAC_TRUNC_FRAME_L 0x9690
33704 #define A_MPS_STAT_RX_BG_2_MAC_TRUNC_FRAME_H 0x9694
33705 #define A_MPS_STAT_RX_BG_3_MAC_TRUNC_FRAME_L 0x9698
33706 #define A_MPS_STAT_RX_BG_3_MAC_TRUNC_FRAME_H 0x969c
33707 #define A_MPS_STAT_RX_BG_0_LB_TRUNC_FRAME_L 0x96a0
33708 #define A_MPS_STAT_RX_BG_0_LB_TRUNC_FRAME_H 0x96a4
33709 #define A_MPS_STAT_RX_BG_1_LB_TRUNC_FRAME_L 0x96a8
33710 #define A_MPS_STAT_RX_BG_1_LB_TRUNC_FRAME_H 0x96ac
33711 #define A_MPS_STAT_RX_BG_2_LB_TRUNC_FRAME_L 0x96b0
33712 #define A_MPS_STAT_RX_BG_2_LB_TRUNC_FRAME_H 0x96b4
33713 #define A_MPS_STAT_RX_BG_3_LB_TRUNC_FRAME_L 0x96b8
33714 #define A_MPS_STAT_RX_BG_3_LB_TRUNC_FRAME_H 0x96bc
33715 #define A_MPS_STAT_PERR_INT_ENABLE_SRAM1 0x96c0
33717 #define S_T5_RXVF 5
33718 #define M_T5_RXVF 0x7U
33719 #define V_T5_RXVF(x) ((x) << S_T5_RXVF)
33720 #define G_T5_RXVF(x) (((x) >> S_T5_RXVF) & M_T5_RXVF)
33722 #define S_T5_TXVF 0
33723 #define M_T5_TXVF 0x1fU
33724 #define V_T5_TXVF(x) ((x) << S_T5_TXVF)
33725 #define G_T5_TXVF(x) (((x) >> S_T5_TXVF) & M_T5_TXVF)
33727 #define A_MPS_STAT_PERR_INT_CAUSE_SRAM1 0x96c4
33728 #define A_MPS_STAT_PERR_ENABLE_SRAM1 0x96c8
33729 #define A_MPS_STAT_STOP_UPD_BG 0x96cc
33732 #define M_BGRX 0xfU
33733 #define V_BGRX(x) ((x) << S_BGRX)
33734 #define G_BGRX(x) (((x) >> S_BGRX) & M_BGRX)
33736 #define A_MPS_STAT_STOP_UPD_PORT 0x96d0
33739 #define M_PTLPBK 0xfU
33740 #define V_PTLPBK(x) ((x) << S_PTLPBK)
33741 #define G_PTLPBK(x) (((x) >> S_PTLPBK) & M_PTLPBK)
33744 #define M_PTTX 0xfU
33745 #define V_PTTX(x) ((x) << S_PTTX)
33746 #define G_PTTX(x) (((x) >> S_PTTX) & M_PTTX)
33749 #define M_PTRX 0xfU
33750 #define V_PTRX(x) ((x) << S_PTRX)
33751 #define G_PTRX(x) (((x) >> S_PTRX) & M_PTRX)
33753 #define A_MPS_STAT_STOP_UPD_PF 0x96d4
33756 #define M_PFTX 0xffU
33757 #define V_PFTX(x) ((x) << S_PFTX)
33758 #define G_PFTX(x) (((x) >> S_PFTX) & M_PFTX)
33761 #define M_PFRX 0xffU
33762 #define V_PFRX(x) ((x) << S_PFRX)
33763 #define G_PFRX(x) (((x) >> S_PFRX) & M_PFRX)
33765 #define A_MPS_STAT_STOP_UPD_TX_VF_0_31 0x96d8
33766 #define A_MPS_STAT_STOP_UPD_TX_VF_32_63 0x96dc
33767 #define A_MPS_STAT_STOP_UPD_TX_VF_64_95 0x96e0
33768 #define A_MPS_STAT_STOP_UPD_TX_VF_96_127 0x96e4
33769 #define A_MPS_STAT_STOP_UPD_RX_VF_0_31 0x96e8
33770 #define A_MPS_STAT_STOP_UPD_RX_VF_32_63 0x96ec
33771 #define A_MPS_STAT_STOP_UPD_RX_VF_64_95 0x96f0
33772 #define A_MPS_STAT_STOP_UPD_RX_VF_96_127 0x96f4
33773 #define A_MPS_STAT_STOP_UPD_RX_VF_128_159 0x96f8
33774 #define A_MPS_STAT_STOP_UPD_RX_VF_160_191 0x96fc
33775 #define A_MPS_STAT_STOP_UPD_RX_VF_192_223 0x9700
33776 #define A_MPS_STAT_STOP_UPD_RX_VF_224_255 0x9704
33777 #define A_MPS_STAT_STOP_UPD_TX_VF_128_159 0x9710
33778 #define A_MPS_STAT_STOP_UPD_TX_VF_160_191 0x9714
33779 #define A_MPS_STAT_STOP_UPD_TX_VF_192_223 0x9718
33780 #define A_MPS_STAT_STOP_UPD_TX_VF_224_255 0x971c
33781 #define A_MPS_TRC_CFG 0x9800
33783 #define S_TRCFIFOEMPTY 4
33784 #define V_TRCFIFOEMPTY(x) ((x) << S_TRCFIFOEMPTY)
33785 #define F_TRCFIFOEMPTY V_TRCFIFOEMPTY(1U)
33787 #define S_TRCIGNOREDROPINPUT 3
33788 #define V_TRCIGNOREDROPINPUT(x) ((x) << S_TRCIGNOREDROPINPUT)
33789 #define F_TRCIGNOREDROPINPUT V_TRCIGNOREDROPINPUT(1U)
33791 #define S_TRCKEEPDUPLICATES 2
33792 #define V_TRCKEEPDUPLICATES(x) ((x) << S_TRCKEEPDUPLICATES)
33793 #define F_TRCKEEPDUPLICATES V_TRCKEEPDUPLICATES(1U)
33796 #define V_TRCEN(x) ((x) << S_TRCEN)
33797 #define F_TRCEN V_TRCEN(1U)
33799 #define S_TRCMULTIFILTER 0
33800 #define V_TRCMULTIFILTER(x) ((x) << S_TRCMULTIFILTER)
33801 #define F_TRCMULTIFILTER V_TRCMULTIFILTER(1U)
33803 #define S_TRCMULTIRSSFILTER 5
33804 #define V_TRCMULTIRSSFILTER(x) ((x) << S_TRCMULTIRSSFILTER)
33805 #define F_TRCMULTIRSSFILTER V_TRCMULTIRSSFILTER(1U)
33807 #define A_MPS_TRC_RSS_HASH 0x9804
33808 #define A_MPS_TRC_FILTER0_RSS_HASH 0x9804
33809 #define A_MPS_TRC_RSS_CONTROL 0x9808
33811 #define S_RSSCONTROL 16
33812 #define M_RSSCONTROL 0xffU
33813 #define V_RSSCONTROL(x) ((x) << S_RSSCONTROL)
33814 #define G_RSSCONTROL(x) (((x) >> S_RSSCONTROL) & M_RSSCONTROL)
33816 #define S_QUEUENUMBER 0
33817 #define M_QUEUENUMBER 0xffffU
33818 #define V_QUEUENUMBER(x) ((x) << S_QUEUENUMBER)
33819 #define G_QUEUENUMBER(x) (((x) >> S_QUEUENUMBER) & M_QUEUENUMBER)
33821 #define A_MPS_TRC_FILTER0_RSS_CONTROL 0x9808
33822 #define A_MPS_TRC_FILTER_MATCH_CTL_A 0x9810
33824 #define S_TFINVERTMATCH 24
33825 #define V_TFINVERTMATCH(x) ((x) << S_TFINVERTMATCH)
33826 #define F_TFINVERTMATCH V_TFINVERTMATCH(1U)
33828 #define S_TFPKTTOOLARGE 23
33829 #define V_TFPKTTOOLARGE(x) ((x) << S_TFPKTTOOLARGE)
33830 #define F_TFPKTTOOLARGE V_TFPKTTOOLARGE(1U)
33833 #define V_TFEN(x) ((x) << S_TFEN)
33834 #define F_TFEN V_TFEN(1U)
33836 #define S_TFPORT 18
33837 #define M_TFPORT 0xfU
33838 #define V_TFPORT(x) ((x) << S_TFPORT)
33839 #define G_TFPORT(x) (((x) >> S_TFPORT) & M_TFPORT)
33841 #define S_TFDROP 17
33842 #define V_TFDROP(x) ((x) << S_TFDROP)
33843 #define F_TFDROP V_TFDROP(1U)
33845 #define S_TFSOPEOPERR 16
33846 #define V_TFSOPEOPERR(x) ((x) << S_TFSOPEOPERR)
33847 #define F_TFSOPEOPERR V_TFSOPEOPERR(1U)
33849 #define S_TFLENGTH 8
33850 #define M_TFLENGTH 0x1fU
33851 #define V_TFLENGTH(x) ((x) << S_TFLENGTH)
33852 #define G_TFLENGTH(x) (((x) >> S_TFLENGTH) & M_TFLENGTH)
33854 #define S_TFOFFSET 0
33855 #define M_TFOFFSET 0x1fU
33856 #define V_TFOFFSET(x) ((x) << S_TFOFFSET)
33857 #define G_TFOFFSET(x) (((x) >> S_TFOFFSET) & M_TFOFFSET)
33859 #define S_TFINSERTACTLEN 27
33860 #define V_TFINSERTACTLEN(x) ((x) << S_TFINSERTACTLEN)
33861 #define F_TFINSERTACTLEN V_TFINSERTACTLEN(1U)
33863 #define S_TFINSERTTIMER 26
33864 #define V_TFINSERTTIMER(x) ((x) << S_TFINSERTTIMER)
33865 #define F_TFINSERTTIMER V_TFINSERTTIMER(1U)
33867 #define S_T5_TFINVERTMATCH 25
33868 #define V_T5_TFINVERTMATCH(x) ((x) << S_T5_TFINVERTMATCH)
33869 #define F_T5_TFINVERTMATCH V_T5_TFINVERTMATCH(1U)
33871 #define S_T5_TFPKTTOOLARGE 24
33872 #define V_T5_TFPKTTOOLARGE(x) ((x) << S_T5_TFPKTTOOLARGE)
33873 #define F_T5_TFPKTTOOLARGE V_T5_TFPKTTOOLARGE(1U)
33875 #define S_T5_TFEN 23
33876 #define V_T5_TFEN(x) ((x) << S_T5_TFEN)
33877 #define F_T5_TFEN V_T5_TFEN(1U)
33879 #define S_T5_TFPORT 18
33880 #define M_T5_TFPORT 0x1fU
33881 #define V_T5_TFPORT(x) ((x) << S_T5_TFPORT)
33882 #define G_T5_TFPORT(x) (((x) >> S_T5_TFPORT) & M_T5_TFPORT)
33884 #define A_MPS_TRC_FILTER_MATCH_CTL_B 0x9820
33886 #define S_TFMINPKTSIZE 16
33887 #define M_TFMINPKTSIZE 0x1ffU
33888 #define V_TFMINPKTSIZE(x) ((x) << S_TFMINPKTSIZE)
33889 #define G_TFMINPKTSIZE(x) (((x) >> S_TFMINPKTSIZE) & M_TFMINPKTSIZE)
33891 #define S_TFCAPTUREMAX 0
33892 #define M_TFCAPTUREMAX 0x3fffU
33893 #define V_TFCAPTUREMAX(x) ((x) << S_TFCAPTUREMAX)
33894 #define G_TFCAPTUREMAX(x) (((x) >> S_TFCAPTUREMAX) & M_TFCAPTUREMAX)
33896 #define A_MPS_TRC_FILTER_RUNT_CTL 0x9830
33898 #define S_TFRUNTSIZE 0
33899 #define M_TFRUNTSIZE 0x3fU
33900 #define V_TFRUNTSIZE(x) ((x) << S_TFRUNTSIZE)
33901 #define G_TFRUNTSIZE(x) (((x) >> S_TFRUNTSIZE) & M_TFRUNTSIZE)
33903 #define A_MPS_TRC_FILTER_DROP 0x9840
33905 #define S_TFDROPINPCOUNT 16
33906 #define M_TFDROPINPCOUNT 0xffffU
33907 #define V_TFDROPINPCOUNT(x) ((x) << S_TFDROPINPCOUNT)
33908 #define G_TFDROPINPCOUNT(x) (((x) >> S_TFDROPINPCOUNT) & M_TFDROPINPCOUNT)
33910 #define S_TFDROPBUFFERCOUNT 0
33911 #define M_TFDROPBUFFERCOUNT 0xffffU
33912 #define V_TFDROPBUFFERCOUNT(x) ((x) << S_TFDROPBUFFERCOUNT)
33913 #define G_TFDROPBUFFERCOUNT(x) (((x) >> S_TFDROPBUFFERCOUNT) & M_TFDROPBUFFERCOUNT)
33915 #define A_MPS_TRC_PERR_INJECT 0x9850
33917 #define S_TRCMEMSEL 1
33918 #define M_TRCMEMSEL 0xfU
33919 #define V_TRCMEMSEL(x) ((x) << S_TRCMEMSEL)
33920 #define G_TRCMEMSEL(x) (((x) >> S_TRCMEMSEL) & M_TRCMEMSEL)
33922 #define A_MPS_TRC_PERR_ENABLE 0x9854
33924 #define S_MISCPERR 8
33925 #define V_MISCPERR(x) ((x) << S_MISCPERR)
33926 #define F_MISCPERR V_MISCPERR(1U)
33928 #define S_PKTFIFO 4
33929 #define M_PKTFIFO 0xfU
33930 #define V_PKTFIFO(x) ((x) << S_PKTFIFO)
33931 #define G_PKTFIFO(x) (((x) >> S_PKTFIFO) & M_PKTFIFO)
33933 #define S_FILTMEM 0
33934 #define M_FILTMEM 0xfU
33935 #define V_FILTMEM(x) ((x) << S_FILTMEM)
33936 #define G_FILTMEM(x) (((x) >> S_FILTMEM) & M_FILTMEM)
33938 #define A_MPS_TRC_INT_ENABLE 0x9858
33940 #define S_TRCPLERRENB 9
33941 #define V_TRCPLERRENB(x) ((x) << S_TRCPLERRENB)
33942 #define F_TRCPLERRENB V_TRCPLERRENB(1U)
33944 #define A_MPS_TRC_INT_CAUSE 0x985c
33945 #define A_MPS_TRC_TIMESTAMP_L 0x9860
33946 #define A_MPS_TRC_TIMESTAMP_H 0x9864
33947 #define A_MPS_TRC_FILTER0_MATCH 0x9c00
33948 #define A_MPS_TRC_FILTER0_DONT_CARE 0x9c80
33949 #define A_MPS_TRC_FILTER1_MATCH 0x9d00
33950 #define A_MPS_TRC_FILTER1_DONT_CARE 0x9d80
33951 #define A_MPS_TRC_FILTER2_MATCH 0x9e00
33952 #define A_MPS_TRC_FILTER2_DONT_CARE 0x9e80
33953 #define A_MPS_TRC_FILTER3_MATCH 0x9f00
33954 #define A_MPS_TRC_FILTER3_DONT_CARE 0x9f80
33955 #define A_MPS_TRC_FILTER1_RSS_HASH 0x9ff0
33956 #define A_MPS_TRC_FILTER1_RSS_CONTROL 0x9ff4
33957 #define A_MPS_TRC_FILTER2_RSS_HASH 0x9ff8
33958 #define A_MPS_TRC_FILTER2_RSS_CONTROL 0x9ffc
33959 #define A_MPS_TRC_FILTER3_RSS_HASH 0xa000
33960 #define A_MPS_TRC_FILTER3_RSS_CONTROL 0xa004
33961 #define A_MPS_T5_TRC_RSS_HASH 0xa008
33962 #define A_MPS_T5_TRC_RSS_CONTROL 0xa00c
33963 #define A_MPS_TRC_VF_OFF_FILTER_0 0xa010
33965 #define S_TRCMPS2TP_MACONLY 20
33966 #define V_TRCMPS2TP_MACONLY(x) ((x) << S_TRCMPS2TP_MACONLY)
33967 #define F_TRCMPS2TP_MACONLY V_TRCMPS2TP_MACONLY(1U)
33969 #define S_TRCALLMPS2TP 19
33970 #define V_TRCALLMPS2TP(x) ((x) << S_TRCALLMPS2TP)
33971 #define F_TRCALLMPS2TP V_TRCALLMPS2TP(1U)
33973 #define S_TRCALLTP2MPS 18
33974 #define V_TRCALLTP2MPS(x) ((x) << S_TRCALLTP2MPS)
33975 #define F_TRCALLTP2MPS V_TRCALLTP2MPS(1U)
33977 #define S_TRCALLVF 17
33978 #define V_TRCALLVF(x) ((x) << S_TRCALLVF)
33979 #define F_TRCALLVF V_TRCALLVF(1U)
33981 #define S_TRC_OFLD_EN 16
33982 #define V_TRC_OFLD_EN(x) ((x) << S_TRC_OFLD_EN)
33983 #define F_TRC_OFLD_EN V_TRC_OFLD_EN(1U)
33985 #define S_VFFILTEN 15
33986 #define V_VFFILTEN(x) ((x) << S_VFFILTEN)
33987 #define F_VFFILTEN V_VFFILTEN(1U)
33989 #define S_VFFILTMASK 8
33990 #define M_VFFILTMASK 0x7fU
33991 #define V_VFFILTMASK(x) ((x) << S_VFFILTMASK)
33992 #define G_VFFILTMASK(x) (((x) >> S_VFFILTMASK) & M_VFFILTMASK)
33994 #define S_VFFILTVALID 7
33995 #define V_VFFILTVALID(x) ((x) << S_VFFILTVALID)
33996 #define F_VFFILTVALID V_VFFILTVALID(1U)
33998 #define S_VFFILTDATA 0
33999 #define M_VFFILTDATA 0x7fU
34000 #define V_VFFILTDATA(x) ((x) << S_VFFILTDATA)
34001 #define G_VFFILTDATA(x) (((x) >> S_VFFILTDATA) & M_VFFILTDATA)
34003 #define S_T6_TRCMPS2TP_MACONLY 22
34004 #define V_T6_TRCMPS2TP_MACONLY(x) ((x) << S_T6_TRCMPS2TP_MACONLY)
34005 #define F_T6_TRCMPS2TP_MACONLY V_T6_TRCMPS2TP_MACONLY(1U)
34007 #define S_T6_TRCALLMPS2TP 21
34008 #define V_T6_TRCALLMPS2TP(x) ((x) << S_T6_TRCALLMPS2TP)
34009 #define F_T6_TRCALLMPS2TP V_T6_TRCALLMPS2TP(1U)
34011 #define S_T6_TRCALLTP2MPS 20
34012 #define V_T6_TRCALLTP2MPS(x) ((x) << S_T6_TRCALLTP2MPS)
34013 #define F_T6_TRCALLTP2MPS V_T6_TRCALLTP2MPS(1U)
34015 #define S_T6_TRCALLVF 19
34016 #define V_T6_TRCALLVF(x) ((x) << S_T6_TRCALLVF)
34017 #define F_T6_TRCALLVF V_T6_TRCALLVF(1U)
34019 #define S_T6_TRC_OFLD_EN 18
34020 #define V_T6_TRC_OFLD_EN(x) ((x) << S_T6_TRC_OFLD_EN)
34021 #define F_T6_TRC_OFLD_EN V_T6_TRC_OFLD_EN(1U)
34023 #define S_T6_VFFILTEN 17
34024 #define V_T6_VFFILTEN(x) ((x) << S_T6_VFFILTEN)
34025 #define F_T6_VFFILTEN V_T6_VFFILTEN(1U)
34027 #define S_T6_VFFILTMASK 9
34028 #define M_T6_VFFILTMASK 0xffU
34029 #define V_T6_VFFILTMASK(x) ((x) << S_T6_VFFILTMASK)
34030 #define G_T6_VFFILTMASK(x) (((x) >> S_T6_VFFILTMASK) & M_T6_VFFILTMASK)
34032 #define S_T6_VFFILTVALID 8
34033 #define V_T6_VFFILTVALID(x) ((x) << S_T6_VFFILTVALID)
34034 #define F_T6_VFFILTVALID V_T6_VFFILTVALID(1U)
34036 #define S_T6_VFFILTDATA 0
34037 #define M_T6_VFFILTDATA 0xffU
34038 #define V_T6_VFFILTDATA(x) ((x) << S_T6_VFFILTDATA)
34039 #define G_T6_VFFILTDATA(x) (((x) >> S_T6_VFFILTDATA) & M_T6_VFFILTDATA)
34041 #define A_MPS_TRC_VF_OFF_FILTER_1 0xa014
34043 #define S_T6_TRCMPS2TP_MACONLY 22
34044 #define V_T6_TRCMPS2TP_MACONLY(x) ((x) << S_T6_TRCMPS2TP_MACONLY)
34045 #define F_T6_TRCMPS2TP_MACONLY V_T6_TRCMPS2TP_MACONLY(1U)
34047 #define S_T6_TRCALLMPS2TP 21
34048 #define V_T6_TRCALLMPS2TP(x) ((x) << S_T6_TRCALLMPS2TP)
34049 #define F_T6_TRCALLMPS2TP V_T6_TRCALLMPS2TP(1U)
34051 #define S_T6_TRCALLTP2MPS 20
34052 #define V_T6_TRCALLTP2MPS(x) ((x) << S_T6_TRCALLTP2MPS)
34053 #define F_T6_TRCALLTP2MPS V_T6_TRCALLTP2MPS(1U)
34055 #define S_T6_TRCALLVF 19
34056 #define V_T6_TRCALLVF(x) ((x) << S_T6_TRCALLVF)
34057 #define F_T6_TRCALLVF V_T6_TRCALLVF(1U)
34059 #define S_T6_TRC_OFLD_EN 18
34060 #define V_T6_TRC_OFLD_EN(x) ((x) << S_T6_TRC_OFLD_EN)
34061 #define F_T6_TRC_OFLD_EN V_T6_TRC_OFLD_EN(1U)
34063 #define S_T6_VFFILTEN 17
34064 #define V_T6_VFFILTEN(x) ((x) << S_T6_VFFILTEN)
34065 #define F_T6_VFFILTEN V_T6_VFFILTEN(1U)
34067 #define S_T6_VFFILTMASK 9
34068 #define M_T6_VFFILTMASK 0xffU
34069 #define V_T6_VFFILTMASK(x) ((x) << S_T6_VFFILTMASK)
34070 #define G_T6_VFFILTMASK(x) (((x) >> S_T6_VFFILTMASK) & M_T6_VFFILTMASK)
34072 #define S_T6_VFFILTVALID 8
34073 #define V_T6_VFFILTVALID(x) ((x) << S_T6_VFFILTVALID)
34074 #define F_T6_VFFILTVALID V_T6_VFFILTVALID(1U)
34076 #define S_T6_VFFILTDATA 0
34077 #define M_T6_VFFILTDATA 0xffU
34078 #define V_T6_VFFILTDATA(x) ((x) << S_T6_VFFILTDATA)
34079 #define G_T6_VFFILTDATA(x) (((x) >> S_T6_VFFILTDATA) & M_T6_VFFILTDATA)
34081 #define A_MPS_TRC_VF_OFF_FILTER_2 0xa018
34083 #define S_T6_TRCMPS2TP_MACONLY 22
34084 #define V_T6_TRCMPS2TP_MACONLY(x) ((x) << S_T6_TRCMPS2TP_MACONLY)
34085 #define F_T6_TRCMPS2TP_MACONLY V_T6_TRCMPS2TP_MACONLY(1U)
34087 #define S_T6_TRCALLMPS2TP 21
34088 #define V_T6_TRCALLMPS2TP(x) ((x) << S_T6_TRCALLMPS2TP)
34089 #define F_T6_TRCALLMPS2TP V_T6_TRCALLMPS2TP(1U)
34091 #define S_T6_TRCALLTP2MPS 20
34092 #define V_T6_TRCALLTP2MPS(x) ((x) << S_T6_TRCALLTP2MPS)
34093 #define F_T6_TRCALLTP2MPS V_T6_TRCALLTP2MPS(1U)
34095 #define S_T6_TRCALLVF 19
34096 #define V_T6_TRCALLVF(x) ((x) << S_T6_TRCALLVF)
34097 #define F_T6_TRCALLVF V_T6_TRCALLVF(1U)
34099 #define S_T6_TRC_OFLD_EN 18
34100 #define V_T6_TRC_OFLD_EN(x) ((x) << S_T6_TRC_OFLD_EN)
34101 #define F_T6_TRC_OFLD_EN V_T6_TRC_OFLD_EN(1U)
34103 #define S_T6_VFFILTEN 17
34104 #define V_T6_VFFILTEN(x) ((x) << S_T6_VFFILTEN)
34105 #define F_T6_VFFILTEN V_T6_VFFILTEN(1U)
34107 #define S_T6_VFFILTMASK 9
34108 #define M_T6_VFFILTMASK 0xffU
34109 #define V_T6_VFFILTMASK(x) ((x) << S_T6_VFFILTMASK)
34110 #define G_T6_VFFILTMASK(x) (((x) >> S_T6_VFFILTMASK) & M_T6_VFFILTMASK)
34112 #define S_T6_VFFILTVALID 8
34113 #define V_T6_VFFILTVALID(x) ((x) << S_T6_VFFILTVALID)
34114 #define F_T6_VFFILTVALID V_T6_VFFILTVALID(1U)
34116 #define S_T6_VFFILTDATA 0
34117 #define M_T6_VFFILTDATA 0xffU
34118 #define V_T6_VFFILTDATA(x) ((x) << S_T6_VFFILTDATA)
34119 #define G_T6_VFFILTDATA(x) (((x) >> S_T6_VFFILTDATA) & M_T6_VFFILTDATA)
34121 #define A_MPS_TRC_VF_OFF_FILTER_3 0xa01c
34123 #define S_T6_TRCMPS2TP_MACONLY 22
34124 #define V_T6_TRCMPS2TP_MACONLY(x) ((x) << S_T6_TRCMPS2TP_MACONLY)
34125 #define F_T6_TRCMPS2TP_MACONLY V_T6_TRCMPS2TP_MACONLY(1U)
34127 #define S_T6_TRCALLMPS2TP 21
34128 #define V_T6_TRCALLMPS2TP(x) ((x) << S_T6_TRCALLMPS2TP)
34129 #define F_T6_TRCALLMPS2TP V_T6_TRCALLMPS2TP(1U)
34131 #define S_T6_TRCALLTP2MPS 20
34132 #define V_T6_TRCALLTP2MPS(x) ((x) << S_T6_TRCALLTP2MPS)
34133 #define F_T6_TRCALLTP2MPS V_T6_TRCALLTP2MPS(1U)
34135 #define S_T6_TRCALLVF 19
34136 #define V_T6_TRCALLVF(x) ((x) << S_T6_TRCALLVF)
34137 #define F_T6_TRCALLVF V_T6_TRCALLVF(1U)
34139 #define S_T6_TRC_OFLD_EN 18
34140 #define V_T6_TRC_OFLD_EN(x) ((x) << S_T6_TRC_OFLD_EN)
34141 #define F_T6_TRC_OFLD_EN V_T6_TRC_OFLD_EN(1U)
34143 #define S_T6_VFFILTEN 17
34144 #define V_T6_VFFILTEN(x) ((x) << S_T6_VFFILTEN)
34145 #define F_T6_VFFILTEN V_T6_VFFILTEN(1U)
34147 #define S_T6_VFFILTMASK 9
34148 #define M_T6_VFFILTMASK 0xffU
34149 #define V_T6_VFFILTMASK(x) ((x) << S_T6_VFFILTMASK)
34150 #define G_T6_VFFILTMASK(x) (((x) >> S_T6_VFFILTMASK) & M_T6_VFFILTMASK)
34152 #define S_T6_VFFILTVALID 8
34153 #define V_T6_VFFILTVALID(x) ((x) << S_T6_VFFILTVALID)
34154 #define F_T6_VFFILTVALID V_T6_VFFILTVALID(1U)
34156 #define S_T6_VFFILTDATA 0
34157 #define M_T6_VFFILTDATA 0xffU
34158 #define V_T6_VFFILTDATA(x) ((x) << S_T6_VFFILTDATA)
34159 #define G_T6_VFFILTDATA(x) (((x) >> S_T6_VFFILTDATA) & M_T6_VFFILTDATA)
34161 #define A_MPS_TRC_CGEN 0xa020
34163 #define S_MPSTRCCGEN 0
34164 #define M_MPSTRCCGEN 0xfU
34165 #define V_MPSTRCCGEN(x) ((x) << S_MPSTRCCGEN)
34166 #define G_MPSTRCCGEN(x) (((x) >> S_MPSTRCCGEN) & M_MPSTRCCGEN)
34168 #define A_MPS_CLS_CTL 0xd000
34170 #define S_MEMWRITEFAULT 4
34171 #define V_MEMWRITEFAULT(x) ((x) << S_MEMWRITEFAULT)
34172 #define F_MEMWRITEFAULT V_MEMWRITEFAULT(1U)
34174 #define S_MEMWRITEWAITING 3
34175 #define V_MEMWRITEWAITING(x) ((x) << S_MEMWRITEWAITING)
34176 #define F_MEMWRITEWAITING V_MEMWRITEWAITING(1U)
34178 #define S_CIMNOPROMISCUOUS 2
34179 #define V_CIMNOPROMISCUOUS(x) ((x) << S_CIMNOPROMISCUOUS)
34180 #define F_CIMNOPROMISCUOUS V_CIMNOPROMISCUOUS(1U)
34182 #define S_HYPERVISORONLY 1
34183 #define V_HYPERVISORONLY(x) ((x) << S_HYPERVISORONLY)
34184 #define F_HYPERVISORONLY V_HYPERVISORONLY(1U)
34186 #define S_VLANCLSEN 0
34187 #define V_VLANCLSEN(x) ((x) << S_VLANCLSEN)
34188 #define F_VLANCLSEN V_VLANCLSEN(1U)
34190 #define S_VLANCLSEN_IN 7
34191 #define V_VLANCLSEN_IN(x) ((x) << S_VLANCLSEN_IN)
34192 #define F_VLANCLSEN_IN V_VLANCLSEN_IN(1U)
34194 #define S_DISTCAMPARCHK 6
34195 #define V_DISTCAMPARCHK(x) ((x) << S_DISTCAMPARCHK)
34196 #define F_DISTCAMPARCHK V_DISTCAMPARCHK(1U)
34198 #define S_VLANLKPEN 5
34199 #define V_VLANLKPEN(x) ((x) << S_VLANLKPEN)
34200 #define F_VLANLKPEN V_VLANLKPEN(1U)
34202 #define A_MPS_CLS_ARB_WEIGHT 0xd004
34204 #define S_PLWEIGHT 16
34205 #define M_PLWEIGHT 0x1fU
34206 #define V_PLWEIGHT(x) ((x) << S_PLWEIGHT)
34207 #define G_PLWEIGHT(x) (((x) >> S_PLWEIGHT) & M_PLWEIGHT)
34209 #define S_CIMWEIGHT 8
34210 #define M_CIMWEIGHT 0x1fU
34211 #define V_CIMWEIGHT(x) ((x) << S_CIMWEIGHT)
34212 #define G_CIMWEIGHT(x) (((x) >> S_CIMWEIGHT) & M_CIMWEIGHT)
34214 #define S_LPBKWEIGHT 0
34215 #define M_LPBKWEIGHT 0x1fU
34216 #define V_LPBKWEIGHT(x) ((x) << S_LPBKWEIGHT)
34217 #define G_LPBKWEIGHT(x) (((x) >> S_LPBKWEIGHT) & M_LPBKWEIGHT)
34219 #define A_MPS_CLS_NCSI_ETH_TYPE 0xd008
34220 #define A_MPS_CLS_NCSI_ETH_TYPE_EN 0xd00c
34221 #define A_MPS_CLS_BMC_MAC_ADDR_L 0xd010
34222 #define A_MPS_CLS_BMC_MAC_ADDR_H 0xd014
34223 #define A_MPS_CLS_BMC_VLAN 0xd018
34224 #define A_MPS_CLS_PERR_INJECT 0xd01c
34226 #define S_CLS_MEMSEL 1
34227 #define M_CLS_MEMSEL 0x3U
34228 #define V_CLS_MEMSEL(x) ((x) << S_CLS_MEMSEL)
34229 #define G_CLS_MEMSEL(x) (((x) >> S_CLS_MEMSEL) & M_CLS_MEMSEL)
34231 #define A_MPS_CLS_PERR_ENABLE 0xd020
34233 #define S_HASHSRAM 2
34234 #define V_HASHSRAM(x) ((x) << S_HASHSRAM)
34235 #define F_HASHSRAM V_HASHSRAM(1U)
34237 #define S_MATCHTCAM 1
34238 #define V_MATCHTCAM(x) ((x) << S_MATCHTCAM)
34239 #define F_MATCHTCAM V_MATCHTCAM(1U)
34241 #define S_MATCHSRAM 0
34242 #define V_MATCHSRAM(x) ((x) << S_MATCHSRAM)
34243 #define F_MATCHSRAM V_MATCHSRAM(1U)
34245 #define A_MPS_CLS_INT_ENABLE 0xd024
34247 #define S_PLERRENB 3
34248 #define V_PLERRENB(x) ((x) << S_PLERRENB)
34249 #define F_PLERRENB V_PLERRENB(1U)
34251 #define A_MPS_CLS_INT_CAUSE 0xd028
34252 #define A_MPS_CLS_PL_TEST_DATA_L 0xd02c
34253 #define A_MPS_CLS_PL_TEST_DATA_H 0xd030
34254 #define A_MPS_CLS_PL_TEST_RES_DATA 0xd034
34256 #define S_CLS_PRIORITY 24
34257 #define M_CLS_PRIORITY 0x7U
34258 #define V_CLS_PRIORITY(x) ((x) << S_CLS_PRIORITY)
34259 #define G_CLS_PRIORITY(x) (((x) >> S_CLS_PRIORITY) & M_CLS_PRIORITY)
34261 #define S_CLS_REPLICATE 23
34262 #define V_CLS_REPLICATE(x) ((x) << S_CLS_REPLICATE)
34263 #define F_CLS_REPLICATE V_CLS_REPLICATE(1U)
34265 #define S_CLS_INDEX 14
34266 #define M_CLS_INDEX 0x1ffU
34267 #define V_CLS_INDEX(x) ((x) << S_CLS_INDEX)
34268 #define G_CLS_INDEX(x) (((x) >> S_CLS_INDEX) & M_CLS_INDEX)
34271 #define M_CLS_VF 0x7fU
34272 #define V_CLS_VF(x) ((x) << S_CLS_VF)
34273 #define G_CLS_VF(x) (((x) >> S_CLS_VF) & M_CLS_VF)
34275 #define S_CLS_VF_VLD 6
34276 #define V_CLS_VF_VLD(x) ((x) << S_CLS_VF_VLD)
34277 #define F_CLS_VF_VLD V_CLS_VF_VLD(1U)
34280 #define M_CLS_PF 0x7U
34281 #define V_CLS_PF(x) ((x) << S_CLS_PF)
34282 #define G_CLS_PF(x) (((x) >> S_CLS_PF) & M_CLS_PF)
34284 #define S_CLS_MATCH 0
34285 #define M_CLS_MATCH 0x7U
34286 #define V_CLS_MATCH(x) ((x) << S_CLS_MATCH)
34287 #define G_CLS_MATCH(x) (((x) >> S_CLS_MATCH) & M_CLS_MATCH)
34289 #define S_CLS_SPARE 28
34290 #define M_CLS_SPARE 0xfU
34291 #define V_CLS_SPARE(x) ((x) << S_CLS_SPARE)
34292 #define G_CLS_SPARE(x) (((x) >> S_CLS_SPARE) & M_CLS_SPARE)
34294 #define S_T6_CLS_PRIORITY 25
34295 #define M_T6_CLS_PRIORITY 0x7U
34296 #define V_T6_CLS_PRIORITY(x) ((x) << S_T6_CLS_PRIORITY)
34297 #define G_T6_CLS_PRIORITY(x) (((x) >> S_T6_CLS_PRIORITY) & M_T6_CLS_PRIORITY)
34299 #define S_T6_CLS_REPLICATE 24
34300 #define V_T6_CLS_REPLICATE(x) ((x) << S_T6_CLS_REPLICATE)
34301 #define F_T6_CLS_REPLICATE V_T6_CLS_REPLICATE(1U)
34303 #define S_T6_CLS_INDEX 15
34304 #define M_T6_CLS_INDEX 0x1ffU
34305 #define V_T6_CLS_INDEX(x) ((x) << S_T6_CLS_INDEX)
34306 #define G_T6_CLS_INDEX(x) (((x) >> S_T6_CLS_INDEX) & M_T6_CLS_INDEX)
34308 #define S_T6_CLS_VF 7
34309 #define M_T6_CLS_VF 0xffU
34310 #define V_T6_CLS_VF(x) ((x) << S_T6_CLS_VF)
34311 #define G_T6_CLS_VF(x) (((x) >> S_T6_CLS_VF) & M_T6_CLS_VF)
34313 #define A_MPS_CLS_PL_TEST_CTL 0xd038
34315 #define S_PLTESTCTL 0
34316 #define V_PLTESTCTL(x) ((x) << S_PLTESTCTL)
34317 #define F_PLTESTCTL V_PLTESTCTL(1U)
34319 #define A_MPS_CLS_PORT_BMC_CTL 0xd03c
34321 #define S_PRTBMCCTL 0
34322 #define V_PRTBMCCTL(x) ((x) << S_PRTBMCCTL)
34323 #define F_PRTBMCCTL V_PRTBMCCTL(1U)
34325 #define A_MPS_CLS_MATCH_CNT_TCAM 0xd100
34326 #define A_MPS_CLS_MATCH_CNT_HASH 0xd104
34327 #define A_MPS_CLS_MATCH_CNT_BCAST 0xd108
34328 #define A_MPS_CLS_MATCH_CNT_BMC 0xd10c
34329 #define A_MPS_CLS_MATCH_CNT_PROM 0xd110
34330 #define A_MPS_CLS_MATCH_CNT_HPROM 0xd114
34331 #define A_MPS_CLS_MISS_CNT 0xd118
34332 #define A_MPS_CLS_REQUEST_TRACE_MAC_DA_L 0xd200
34333 #define A_MPS_CLS_REQUEST_TRACE_MAC_DA_H 0xd204
34335 #define S_CLSTRCMACDAHI 0
34336 #define M_CLSTRCMACDAHI 0xffffU
34337 #define V_CLSTRCMACDAHI(x) ((x) << S_CLSTRCMACDAHI)
34338 #define G_CLSTRCMACDAHI(x) (((x) >> S_CLSTRCMACDAHI) & M_CLSTRCMACDAHI)
34340 #define A_MPS_CLS_REQUEST_TRACE_MAC_SA_L 0xd208
34341 #define A_MPS_CLS_REQUEST_TRACE_MAC_SA_H 0xd20c
34343 #define S_CLSTRCMACSAHI 0
34344 #define M_CLSTRCMACSAHI 0xffffU
34345 #define V_CLSTRCMACSAHI(x) ((x) << S_CLSTRCMACSAHI)
34346 #define G_CLSTRCMACSAHI(x) (((x) >> S_CLSTRCMACSAHI) & M_CLSTRCMACSAHI)
34348 #define A_MPS_CLS_REQUEST_TRACE_PORT_VLAN 0xd210
34350 #define S_CLSTRCVLANVLD 31
34351 #define V_CLSTRCVLANVLD(x) ((x) << S_CLSTRCVLANVLD)
34352 #define F_CLSTRCVLANVLD V_CLSTRCVLANVLD(1U)
34354 #define S_CLSTRCVLANID 16
34355 #define M_CLSTRCVLANID 0xfffU
34356 #define V_CLSTRCVLANID(x) ((x) << S_CLSTRCVLANID)
34357 #define G_CLSTRCVLANID(x) (((x) >> S_CLSTRCVLANID) & M_CLSTRCVLANID)
34359 #define S_CLSTRCREQPORT 0
34360 #define M_CLSTRCREQPORT 0xfU
34361 #define V_CLSTRCREQPORT(x) ((x) << S_CLSTRCREQPORT)
34362 #define G_CLSTRCREQPORT(x) (((x) >> S_CLSTRCREQPORT) & M_CLSTRCREQPORT)
34364 #define A_MPS_CLS_REQUEST_TRACE_ENCAP 0xd214
34366 #define S_CLSTRCLKPTYPE 31
34367 #define V_CLSTRCLKPTYPE(x) ((x) << S_CLSTRCLKPTYPE)
34368 #define F_CLSTRCLKPTYPE V_CLSTRCLKPTYPE(1U)
34370 #define S_CLSTRCDIPHIT 30
34371 #define V_CLSTRCDIPHIT(x) ((x) << S_CLSTRCDIPHIT)
34372 #define F_CLSTRCDIPHIT V_CLSTRCDIPHIT(1U)
34374 #define S_CLSTRCVNI 0
34375 #define M_CLSTRCVNI 0xffffffU
34376 #define V_CLSTRCVNI(x) ((x) << S_CLSTRCVNI)
34377 #define G_CLSTRCVNI(x) (((x) >> S_CLSTRCVNI) & M_CLSTRCVNI)
34379 #define A_MPS_CLS_RESULT_TRACE 0xd300
34381 #define S_CLSTRCPORTNUM 31
34382 #define V_CLSTRCPORTNUM(x) ((x) << S_CLSTRCPORTNUM)
34383 #define F_CLSTRCPORTNUM V_CLSTRCPORTNUM(1U)
34385 #define S_CLSTRCPRIORITY 28
34386 #define M_CLSTRCPRIORITY 0x7U
34387 #define V_CLSTRCPRIORITY(x) ((x) << S_CLSTRCPRIORITY)
34388 #define G_CLSTRCPRIORITY(x) (((x) >> S_CLSTRCPRIORITY) & M_CLSTRCPRIORITY)
34390 #define S_CLSTRCMULTILISTEN 27
34391 #define V_CLSTRCMULTILISTEN(x) ((x) << S_CLSTRCMULTILISTEN)
34392 #define F_CLSTRCMULTILISTEN V_CLSTRCMULTILISTEN(1U)
34394 #define S_CLSTRCREPLICATE 26
34395 #define V_CLSTRCREPLICATE(x) ((x) << S_CLSTRCREPLICATE)
34396 #define F_CLSTRCREPLICATE V_CLSTRCREPLICATE(1U)
34398 #define S_CLSTRCPORTMAP 24
34399 #define M_CLSTRCPORTMAP 0x3U
34400 #define V_CLSTRCPORTMAP(x) ((x) << S_CLSTRCPORTMAP)
34401 #define G_CLSTRCPORTMAP(x) (((x) >> S_CLSTRCPORTMAP) & M_CLSTRCPORTMAP)
34403 #define S_CLSTRCMATCH 21
34404 #define M_CLSTRCMATCH 0x7U
34405 #define V_CLSTRCMATCH(x) ((x) << S_CLSTRCMATCH)
34406 #define G_CLSTRCMATCH(x) (((x) >> S_CLSTRCMATCH) & M_CLSTRCMATCH)
34408 #define S_CLSTRCINDEX 12
34409 #define M_CLSTRCINDEX 0x1ffU
34410 #define V_CLSTRCINDEX(x) ((x) << S_CLSTRCINDEX)
34411 #define G_CLSTRCINDEX(x) (((x) >> S_CLSTRCINDEX) & M_CLSTRCINDEX)
34413 #define S_CLSTRCVF_VLD 11
34414 #define V_CLSTRCVF_VLD(x) ((x) << S_CLSTRCVF_VLD)
34415 #define F_CLSTRCVF_VLD V_CLSTRCVF_VLD(1U)
34417 #define S_CLSTRCPF 3
34418 #define M_CLSTRCPF 0xffU
34419 #define V_CLSTRCPF(x) ((x) << S_CLSTRCPF)
34420 #define G_CLSTRCPF(x) (((x) >> S_CLSTRCPF) & M_CLSTRCPF)
34422 #define S_CLSTRCVF 0
34423 #define M_CLSTRCVF 0x7U
34424 #define V_CLSTRCVF(x) ((x) << S_CLSTRCVF)
34425 #define G_CLSTRCVF(x) (((x) >> S_CLSTRCVF) & M_CLSTRCVF)
34427 #define A_MPS_CLS_VLAN_TABLE 0xdfc0
34429 #define S_VLAN_MASK 16
34430 #define M_VLAN_MASK 0xfffU
34431 #define V_VLAN_MASK(x) ((x) << S_VLAN_MASK)
34432 #define G_VLAN_MASK(x) (((x) >> S_VLAN_MASK) & M_VLAN_MASK)
34434 #define S_VLANPF 13
34435 #define M_VLANPF 0x7U
34436 #define V_VLANPF(x) ((x) << S_VLANPF)
34437 #define G_VLANPF(x) (((x) >> S_VLANPF) & M_VLANPF)
34439 #define S_VLAN_VALID 12
34440 #define V_VLAN_VALID(x) ((x) << S_VLAN_VALID)
34441 #define F_VLAN_VALID V_VLAN_VALID(1U)
34443 #define A_MPS_CLS_SRAM_L 0xe000
34445 #define S_MULTILISTEN3 28
34446 #define V_MULTILISTEN3(x) ((x) << S_MULTILISTEN3)
34447 #define F_MULTILISTEN3 V_MULTILISTEN3(1U)
34449 #define S_MULTILISTEN2 27
34450 #define V_MULTILISTEN2(x) ((x) << S_MULTILISTEN2)
34451 #define F_MULTILISTEN2 V_MULTILISTEN2(1U)
34453 #define S_MULTILISTEN1 26
34454 #define V_MULTILISTEN1(x) ((x) << S_MULTILISTEN1)
34455 #define F_MULTILISTEN1 V_MULTILISTEN1(1U)
34457 #define S_MULTILISTEN0 25
34458 #define V_MULTILISTEN0(x) ((x) << S_MULTILISTEN0)
34459 #define F_MULTILISTEN0 V_MULTILISTEN0(1U)
34461 #define S_SRAM_PRIO3 22
34462 #define M_SRAM_PRIO3 0x7U
34463 #define V_SRAM_PRIO3(x) ((x) << S_SRAM_PRIO3)
34464 #define G_SRAM_PRIO3(x) (((x) >> S_SRAM_PRIO3) & M_SRAM_PRIO3)
34466 #define S_SRAM_PRIO2 19
34467 #define M_SRAM_PRIO2 0x7U
34468 #define V_SRAM_PRIO2(x) ((x) << S_SRAM_PRIO2)
34469 #define G_SRAM_PRIO2(x) (((x) >> S_SRAM_PRIO2) & M_SRAM_PRIO2)
34471 #define S_SRAM_PRIO1 16
34472 #define M_SRAM_PRIO1 0x7U
34473 #define V_SRAM_PRIO1(x) ((x) << S_SRAM_PRIO1)
34474 #define G_SRAM_PRIO1(x) (((x) >> S_SRAM_PRIO1) & M_SRAM_PRIO1)
34476 #define S_SRAM_PRIO0 13
34477 #define M_SRAM_PRIO0 0x7U
34478 #define V_SRAM_PRIO0(x) ((x) << S_SRAM_PRIO0)
34479 #define G_SRAM_PRIO0(x) (((x) >> S_SRAM_PRIO0) & M_SRAM_PRIO0)
34481 #define S_SRAM_VLD 12
34482 #define V_SRAM_VLD(x) ((x) << S_SRAM_VLD)
34483 #define F_SRAM_VLD V_SRAM_VLD(1U)
34485 #define A_MPS_T5_CLS_SRAM_L 0xe000
34487 #define S_T6_DISENCAPOUTERRPLCT 31
34488 #define V_T6_DISENCAPOUTERRPLCT(x) ((x) << S_T6_DISENCAPOUTERRPLCT)
34489 #define F_T6_DISENCAPOUTERRPLCT V_T6_DISENCAPOUTERRPLCT(1U)
34491 #define S_T6_DISENCAP 30
34492 #define V_T6_DISENCAP(x) ((x) << S_T6_DISENCAP)
34493 #define F_T6_DISENCAP V_T6_DISENCAP(1U)
34495 #define S_T6_MULTILISTEN3 29
34496 #define V_T6_MULTILISTEN3(x) ((x) << S_T6_MULTILISTEN3)
34497 #define F_T6_MULTILISTEN3 V_T6_MULTILISTEN3(1U)
34499 #define S_T6_MULTILISTEN2 28
34500 #define V_T6_MULTILISTEN2(x) ((x) << S_T6_MULTILISTEN2)
34501 #define F_T6_MULTILISTEN2 V_T6_MULTILISTEN2(1U)
34503 #define S_T6_MULTILISTEN1 27
34504 #define V_T6_MULTILISTEN1(x) ((x) << S_T6_MULTILISTEN1)
34505 #define F_T6_MULTILISTEN1 V_T6_MULTILISTEN1(1U)
34507 #define S_T6_MULTILISTEN0 26
34508 #define V_T6_MULTILISTEN0(x) ((x) << S_T6_MULTILISTEN0)
34509 #define F_T6_MULTILISTEN0 V_T6_MULTILISTEN0(1U)
34511 #define S_T6_SRAM_PRIO3 23
34512 #define M_T6_SRAM_PRIO3 0x7U
34513 #define V_T6_SRAM_PRIO3(x) ((x) << S_T6_SRAM_PRIO3)
34514 #define G_T6_SRAM_PRIO3(x) (((x) >> S_T6_SRAM_PRIO3) & M_T6_SRAM_PRIO3)
34516 #define S_T6_SRAM_PRIO2 20
34517 #define M_T6_SRAM_PRIO2 0x7U
34518 #define V_T6_SRAM_PRIO2(x) ((x) << S_T6_SRAM_PRIO2)
34519 #define G_T6_SRAM_PRIO2(x) (((x) >> S_T6_SRAM_PRIO2) & M_T6_SRAM_PRIO2)
34521 #define S_T6_SRAM_PRIO1 17
34522 #define M_T6_SRAM_PRIO1 0x7U
34523 #define V_T6_SRAM_PRIO1(x) ((x) << S_T6_SRAM_PRIO1)
34524 #define G_T6_SRAM_PRIO1(x) (((x) >> S_T6_SRAM_PRIO1) & M_T6_SRAM_PRIO1)
34526 #define S_T6_SRAM_PRIO0 14
34527 #define M_T6_SRAM_PRIO0 0x7U
34528 #define V_T6_SRAM_PRIO0(x) ((x) << S_T6_SRAM_PRIO0)
34529 #define G_T6_SRAM_PRIO0(x) (((x) >> S_T6_SRAM_PRIO0) & M_T6_SRAM_PRIO0)
34531 #define S_T6_SRAM_VLD 13
34532 #define V_T6_SRAM_VLD(x) ((x) << S_T6_SRAM_VLD)
34533 #define F_T6_SRAM_VLD V_T6_SRAM_VLD(1U)
34535 #define S_T6_REPLICATE 12
34536 #define V_T6_REPLICATE(x) ((x) << S_T6_REPLICATE)
34537 #define F_T6_REPLICATE V_T6_REPLICATE(1U)
34540 #define M_T6_PF 0x7U
34541 #define V_T6_PF(x) ((x) << S_T6_PF)
34542 #define G_T6_PF(x) (((x) >> S_T6_PF) & M_T6_PF)
34544 #define S_T6_VF_VALID 8
34545 #define V_T6_VF_VALID(x) ((x) << S_T6_VF_VALID)
34546 #define F_T6_VF_VALID V_T6_VF_VALID(1U)
34549 #define M_T6_VF 0xffU
34550 #define V_T6_VF(x) ((x) << S_T6_VF)
34551 #define G_T6_VF(x) (((x) >> S_T6_VF) & M_T6_VF)
34553 #define A_MPS_CLS_SRAM_H 0xe004
34555 #define S_MACPARITY1 9
34556 #define V_MACPARITY1(x) ((x) << S_MACPARITY1)
34557 #define F_MACPARITY1 V_MACPARITY1(1U)
34559 #define S_MACPARITY0 8
34560 #define V_MACPARITY0(x) ((x) << S_MACPARITY0)
34561 #define F_MACPARITY0 V_MACPARITY0(1U)
34563 #define S_MACPARITYMASKSIZE 4
34564 #define M_MACPARITYMASKSIZE 0xfU
34565 #define V_MACPARITYMASKSIZE(x) ((x) << S_MACPARITYMASKSIZE)
34566 #define G_MACPARITYMASKSIZE(x) (((x) >> S_MACPARITYMASKSIZE) & M_MACPARITYMASKSIZE)
34568 #define S_PORTMAP 0
34569 #define M_PORTMAP 0xfU
34570 #define V_PORTMAP(x) ((x) << S_PORTMAP)
34571 #define G_PORTMAP(x) (((x) >> S_PORTMAP) & M_PORTMAP)
34573 #define A_MPS_T5_CLS_SRAM_H 0xe004
34575 #define S_MACPARITY2 10
34576 #define V_MACPARITY2(x) ((x) << S_MACPARITY2)
34577 #define F_MACPARITY2 V_MACPARITY2(1U)
34579 #define A_MPS_CLS_TCAM_Y_L 0xf000
34580 #define A_MPS_CLS_TCAM_DATA0 0xf000
34581 #define A_MPS_CLS_TCAM_Y_H 0xf004
34584 #define M_TCAMYH 0xffffU
34585 #define V_TCAMYH(x) ((x) << S_TCAMYH)
34586 #define G_TCAMYH(x) (((x) >> S_TCAMYH) & M_TCAMYH)
34588 #define A_MPS_CLS_TCAM_DATA1 0xf004
34591 #define M_VIDL 0xffffU
34592 #define V_VIDL(x) ((x) << S_VIDL)
34593 #define G_VIDL(x) (((x) >> S_VIDL) & M_VIDL)
34596 #define M_DMACH 0xffffU
34597 #define V_DMACH(x) ((x) << S_DMACH)
34598 #define G_DMACH(x) (((x) >> S_DMACH) & M_DMACH)
34600 #define A_MPS_CLS_TCAM_X_L 0xf008
34601 #define A_MPS_CLS_TCAM_DATA2_CTL 0xf008
34603 #define S_CTLCMDTYPE 31
34604 #define V_CTLCMDTYPE(x) ((x) << S_CTLCMDTYPE)
34605 #define F_CTLCMDTYPE V_CTLCMDTYPE(1U)
34607 #define S_CTLREQID 30
34608 #define V_CTLREQID(x) ((x) << S_CTLREQID)
34609 #define F_CTLREQID V_CTLREQID(1U)
34611 #define S_CTLTCAMSEL 25
34612 #define V_CTLTCAMSEL(x) ((x) << S_CTLTCAMSEL)
34613 #define F_CTLTCAMSEL V_CTLTCAMSEL(1U)
34615 #define S_CTLTCAMINDEX 17
34616 #define M_CTLTCAMINDEX 0xffU
34617 #define V_CTLTCAMINDEX(x) ((x) << S_CTLTCAMINDEX)
34618 #define G_CTLTCAMINDEX(x) (((x) >> S_CTLTCAMINDEX) & M_CTLTCAMINDEX)
34620 #define S_CTLXYBITSEL 16
34621 #define V_CTLXYBITSEL(x) ((x) << S_CTLXYBITSEL)
34622 #define F_CTLXYBITSEL V_CTLXYBITSEL(1U)
34624 #define S_DATAPORTNUM 12
34625 #define M_DATAPORTNUM 0xfU
34626 #define V_DATAPORTNUM(x) ((x) << S_DATAPORTNUM)
34627 #define G_DATAPORTNUM(x) (((x) >> S_DATAPORTNUM) & M_DATAPORTNUM)
34629 #define S_DATALKPTYPE 10
34630 #define M_DATALKPTYPE 0x3U
34631 #define V_DATALKPTYPE(x) ((x) << S_DATALKPTYPE)
34632 #define G_DATALKPTYPE(x) (((x) >> S_DATALKPTYPE) & M_DATALKPTYPE)
34634 #define S_DATADIPHIT 8
34635 #define V_DATADIPHIT(x) ((x) << S_DATADIPHIT)
34636 #define F_DATADIPHIT V_DATADIPHIT(1U)
34638 #define S_DATAVIDH2 7
34639 #define V_DATAVIDH2(x) ((x) << S_DATAVIDH2)
34640 #define F_DATAVIDH2 V_DATAVIDH2(1U)
34642 #define S_DATAVIDH1 0
34643 #define M_DATAVIDH1 0x7fU
34644 #define V_DATAVIDH1(x) ((x) << S_DATAVIDH1)
34645 #define G_DATAVIDH1(x) (((x) >> S_DATAVIDH1) & M_DATAVIDH1)
34647 #define A_MPS_CLS_TCAM_X_H 0xf00c
34650 #define M_TCAMXH 0xffffU
34651 #define V_TCAMXH(x) ((x) << S_TCAMXH)
34652 #define G_TCAMXH(x) (((x) >> S_TCAMXH) & M_TCAMXH)
34654 #define A_MPS_CLS_TCAM_RDATA0_REQ_ID0 0xf010
34655 #define A_MPS_CLS_TCAM_RDATA1_REQ_ID0 0xf014
34656 #define A_MPS_CLS_TCAM_RDATA2_REQ_ID0 0xf018
34657 #define A_MPS_CLS_TCAM_RDATA0_REQ_ID1 0xf020
34658 #define A_MPS_CLS_TCAM_RDATA1_REQ_ID1 0xf024
34659 #define A_MPS_CLS_TCAM_RDATA2_REQ_ID1 0xf028
34660 #define A_MPS_RX_CTL 0x11000
34662 #define S_FILT_VLAN_SEL 17
34663 #define V_FILT_VLAN_SEL(x) ((x) << S_FILT_VLAN_SEL)
34664 #define F_FILT_VLAN_SEL V_FILT_VLAN_SEL(1U)
34666 #define S_CBA_EN 16
34667 #define V_CBA_EN(x) ((x) << S_CBA_EN)
34668 #define F_CBA_EN V_CBA_EN(1U)
34670 #define S_BLK_SNDR 12
34671 #define M_BLK_SNDR 0xfU
34672 #define V_BLK_SNDR(x) ((x) << S_BLK_SNDR)
34673 #define G_BLK_SNDR(x) (((x) >> S_BLK_SNDR) & M_BLK_SNDR)
34676 #define M_CMPRS 0xfU
34677 #define V_CMPRS(x) ((x) << S_CMPRS)
34678 #define G_CMPRS(x) (((x) >> S_CMPRS) & M_CMPRS)
34681 #define M_SNF 0xffU
34682 #define V_SNF(x) ((x) << S_SNF)
34683 #define G_SNF(x) (((x) >> S_SNF) & M_SNF)
34685 #define A_MPS_RX_PORT_MUX_CTL 0x11004
34687 #define S_CTL_P3 12
34688 #define M_CTL_P3 0xfU
34689 #define V_CTL_P3(x) ((x) << S_CTL_P3)
34690 #define G_CTL_P3(x) (((x) >> S_CTL_P3) & M_CTL_P3)
34693 #define M_CTL_P2 0xfU
34694 #define V_CTL_P2(x) ((x) << S_CTL_P2)
34695 #define G_CTL_P2(x) (((x) >> S_CTL_P2) & M_CTL_P2)
34698 #define M_CTL_P1 0xfU
34699 #define V_CTL_P1(x) ((x) << S_CTL_P1)
34700 #define G_CTL_P1(x) (((x) >> S_CTL_P1) & M_CTL_P1)
34703 #define M_CTL_P0 0xfU
34704 #define V_CTL_P0(x) ((x) << S_CTL_P0)
34705 #define G_CTL_P0(x) (((x) >> S_CTL_P0) & M_CTL_P0)
34707 #define A_MPS_RX_PG_FL 0x11008
34710 #define V_RST(x) ((x) << S_RST)
34711 #define F_RST V_RST(1U)
34714 #define M_CNT 0xffffU
34715 #define V_CNT(x) ((x) << S_CNT)
34716 #define G_CNT(x) (((x) >> S_CNT) & M_CNT)
34718 #define A_MPS_RX_FIFO_0_CTL 0x11008
34720 #define S_DEST_SELECT 0
34721 #define M_DEST_SELECT 0xfU
34722 #define V_DEST_SELECT(x) ((x) << S_DEST_SELECT)
34723 #define G_DEST_SELECT(x) (((x) >> S_DEST_SELECT) & M_DEST_SELECT)
34725 #define A_MPS_RX_PKT_FL 0x1100c
34726 #define A_MPS_RX_FIFO_1_CTL 0x1100c
34727 #define A_MPS_RX_PG_RSV0 0x11010
34729 #define S_CLR_INTR 31
34730 #define V_CLR_INTR(x) ((x) << S_CLR_INTR)
34731 #define F_CLR_INTR V_CLR_INTR(1U)
34733 #define S_SET_INTR 30
34734 #define V_SET_INTR(x) ((x) << S_SET_INTR)
34735 #define F_SET_INTR V_SET_INTR(1U)
34738 #define M_USED 0x7ffU
34739 #define V_USED(x) ((x) << S_USED)
34740 #define G_USED(x) (((x) >> S_USED) & M_USED)
34743 #define M_ALLOC 0x7ffU
34744 #define V_ALLOC(x) ((x) << S_ALLOC)
34745 #define G_ALLOC(x) (((x) >> S_ALLOC) & M_ALLOC)
34747 #define S_T5_USED 16
34748 #define M_T5_USED 0xfffU
34749 #define V_T5_USED(x) ((x) << S_T5_USED)
34750 #define G_T5_USED(x) (((x) >> S_T5_USED) & M_T5_USED)
34752 #define S_T5_ALLOC 0
34753 #define M_T5_ALLOC 0xfffU
34754 #define V_T5_ALLOC(x) ((x) << S_T5_ALLOC)
34755 #define G_T5_ALLOC(x) (((x) >> S_T5_ALLOC) & M_T5_ALLOC)
34757 #define A_MPS_RX_FIFO_2_CTL 0x11010
34758 #define A_MPS_RX_PG_RSV1 0x11014
34759 #define A_MPS_RX_FIFO_3_CTL 0x11014
34760 #define A_MPS_RX_PG_RSV2 0x11018
34761 #define A_MPS_RX_PG_RSV3 0x1101c
34762 #define A_MPS_RX_PG_RSV4 0x11020
34763 #define A_MPS_RX_PG_RSV5 0x11024
34764 #define A_MPS_RX_PG_RSV6 0x11028
34765 #define A_MPS_RX_PG_RSV7 0x1102c
34766 #define A_MPS_RX_PG_SHR_BG0 0x11030
34769 #define V_EN(x) ((x) << S_EN)
34770 #define F_EN V_EN(1U)
34773 #define V_SEL(x) ((x) << S_SEL)
34774 #define F_SEL V_SEL(1U)
34777 #define M_MAX 0x7ffU
34778 #define V_MAX(x) ((x) << S_MAX)
34779 #define G_MAX(x) (((x) >> S_MAX) & M_MAX)
34782 #define M_BORW 0x7ffU
34783 #define V_BORW(x) ((x) << S_BORW)
34784 #define G_BORW(x) (((x) >> S_BORW) & M_BORW)
34786 #define S_T5_MAX 16
34787 #define M_T5_MAX 0xfffU
34788 #define V_T5_MAX(x) ((x) << S_T5_MAX)
34789 #define G_T5_MAX(x) (((x) >> S_T5_MAX) & M_T5_MAX)
34791 #define S_T5_BORW 0
34792 #define M_T5_BORW 0xfffU
34793 #define V_T5_BORW(x) ((x) << S_T5_BORW)
34794 #define G_T5_BORW(x) (((x) >> S_T5_BORW) & M_T5_BORW)
34796 #define A_MPS_RX_PG_SHR_BG1 0x11034
34797 #define A_MPS_RX_PG_SHR_BG2 0x11038
34798 #define A_MPS_RX_PG_SHR_BG3 0x1103c
34799 #define A_MPS_RX_PG_SHR0 0x11040
34802 #define M_QUOTA 0x7ffU
34803 #define V_QUOTA(x) ((x) << S_QUOTA)
34804 #define G_QUOTA(x) (((x) >> S_QUOTA) & M_QUOTA)
34806 #define S_SHR_USED 0
34807 #define M_SHR_USED 0x7ffU
34808 #define V_SHR_USED(x) ((x) << S_SHR_USED)
34809 #define G_SHR_USED(x) (((x) >> S_SHR_USED) & M_SHR_USED)
34811 #define S_T5_QUOTA 16
34812 #define M_T5_QUOTA 0xfffU
34813 #define V_T5_QUOTA(x) ((x) << S_T5_QUOTA)
34814 #define G_T5_QUOTA(x) (((x) >> S_T5_QUOTA) & M_T5_QUOTA)
34816 #define S_T5_SHR_USED 0
34817 #define M_T5_SHR_USED 0xfffU
34818 #define V_T5_SHR_USED(x) ((x) << S_T5_SHR_USED)
34819 #define G_T5_SHR_USED(x) (((x) >> S_T5_SHR_USED) & M_T5_SHR_USED)
34821 #define A_MPS_RX_PG_SHR1 0x11044
34822 #define A_MPS_RX_PG_HYST_BG0 0x11048
34825 #define M_TH 0x7ffU
34826 #define V_TH(x) ((x) << S_TH)
34827 #define G_TH(x) (((x) >> S_TH) & M_TH)
34830 #define M_T5_TH 0xfffU
34831 #define V_T5_TH(x) ((x) << S_T5_TH)
34832 #define G_T5_TH(x) (((x) >> S_T5_TH) & M_T5_TH)
34835 #define M_T6_TH 0x7ffU
34836 #define V_T6_TH(x) ((x) << S_T6_TH)
34837 #define G_T6_TH(x) (((x) >> S_T6_TH) & M_T6_TH)
34839 #define A_MPS_RX_PG_HYST_BG1 0x1104c
34840 #define A_MPS_RX_PG_HYST_BG2 0x11050
34841 #define A_MPS_RX_PG_HYST_BG3 0x11054
34842 #define A_MPS_RX_OCH_CTL 0x11058
34844 #define S_DROP_WT 27
34845 #define M_DROP_WT 0x1fU
34846 #define V_DROP_WT(x) ((x) << S_DROP_WT)
34847 #define G_DROP_WT(x) (((x) >> S_DROP_WT) & M_DROP_WT)
34849 #define S_TRUNC_WT 22
34850 #define M_TRUNC_WT 0x1fU
34851 #define V_TRUNC_WT(x) ((x) << S_TRUNC_WT)
34852 #define G_TRUNC_WT(x) (((x) >> S_TRUNC_WT) & M_TRUNC_WT)
34854 #define S_OCH_DRAIN 13
34855 #define M_OCH_DRAIN 0x1fU
34856 #define V_OCH_DRAIN(x) ((x) << S_OCH_DRAIN)
34857 #define G_OCH_DRAIN(x) (((x) >> S_OCH_DRAIN) & M_OCH_DRAIN)
34859 #define S_OCH_DROP 8
34860 #define M_OCH_DROP 0x1fU
34861 #define V_OCH_DROP(x) ((x) << S_OCH_DROP)
34862 #define G_OCH_DROP(x) (((x) >> S_OCH_DROP) & M_OCH_DROP)
34865 #define M_STOP 0x1fU
34866 #define V_STOP(x) ((x) << S_STOP)
34867 #define G_STOP(x) (((x) >> S_STOP) & M_STOP)
34869 #define A_MPS_RX_LPBK_BP0 0x1105c
34872 #define M_THRESH 0x7ffU
34873 #define V_THRESH(x) ((x) << S_THRESH)
34874 #define G_THRESH(x) (((x) >> S_THRESH) & M_THRESH)
34876 #define A_MPS_RX_LPBK_BP1 0x11060
34877 #define A_MPS_RX_LPBK_BP2 0x11064
34878 #define A_MPS_RX_LPBK_BP3 0x11068
34879 #define A_MPS_RX_PORT_GAP 0x1106c
34882 #define M_GAP 0xfffffU
34883 #define V_GAP(x) ((x) << S_GAP)
34884 #define G_GAP(x) (((x) >> S_GAP) & M_GAP)
34886 #define A_MPS_RX_CHMN_CNT 0x11070
34887 #define A_MPS_RX_PERR_INT_CAUSE 0x11074
34890 #define V_FF(x) ((x) << S_FF)
34891 #define F_FF V_FF(1U)
34894 #define V_PGMO(x) ((x) << S_PGMO)
34895 #define F_PGMO V_PGMO(1U)
34898 #define V_PGME(x) ((x) << S_PGME)
34899 #define F_PGME V_PGME(1U)
34902 #define V_CHMN(x) ((x) << S_CHMN)
34903 #define F_CHMN V_CHMN(1U)
34906 #define V_RPLC(x) ((x) << S_RPLC)
34907 #define F_RPLC V_RPLC(1U)
34910 #define V_ATRB(x) ((x) << S_ATRB)
34911 #define F_ATRB V_ATRB(1U)
34914 #define V_PSMX(x) ((x) << S_PSMX)
34915 #define F_PSMX V_PSMX(1U)
34918 #define V_PGLL(x) ((x) << S_PGLL)
34919 #define F_PGLL V_PGLL(1U)
34922 #define V_PGFL(x) ((x) << S_PGFL)
34923 #define F_PGFL V_PGFL(1U)
34926 #define V_PKTQ(x) ((x) << S_PKTQ)
34927 #define F_PKTQ V_PKTQ(1U)
34930 #define V_PKFL(x) ((x) << S_PKFL)
34931 #define F_PKFL V_PKFL(1U)
34934 #define V_PPM3(x) ((x) << S_PPM3)
34935 #define F_PPM3 V_PPM3(1U)
34938 #define V_PPM2(x) ((x) << S_PPM2)
34939 #define F_PPM2 V_PPM2(1U)
34942 #define V_PPM1(x) ((x) << S_PPM1)
34943 #define F_PPM1 V_PPM1(1U)
34946 #define V_PPM0(x) ((x) << S_PPM0)
34947 #define F_PPM0 V_PPM0(1U)
34950 #define V_SPMX(x) ((x) << S_SPMX)
34951 #define F_SPMX V_SPMX(1U)
34954 #define V_CDL3(x) ((x) << S_CDL3)
34955 #define F_CDL3 V_CDL3(1U)
34958 #define V_CDL2(x) ((x) << S_CDL2)
34959 #define F_CDL2 V_CDL2(1U)
34962 #define V_CDL1(x) ((x) << S_CDL1)
34963 #define F_CDL1 V_CDL1(1U)
34966 #define V_CDL0(x) ((x) << S_CDL0)
34967 #define F_CDL0 V_CDL0(1U)
34970 #define V_CDM3(x) ((x) << S_CDM3)
34971 #define F_CDM3 V_CDM3(1U)
34974 #define V_CDM2(x) ((x) << S_CDM2)
34975 #define F_CDM2 V_CDM2(1U)
34978 #define V_CDM1(x) ((x) << S_CDM1)
34979 #define F_CDM1 V_CDM1(1U)
34982 #define V_CDM0(x) ((x) << S_CDM0)
34983 #define F_CDM0 V_CDM0(1U)
34985 #define S_T6_INT_ERR_INT 24
34986 #define V_T6_INT_ERR_INT(x) ((x) << S_T6_INT_ERR_INT)
34987 #define F_T6_INT_ERR_INT V_T6_INT_ERR_INT(1U)
34989 #define A_MPS_RX_PERR_INT_ENABLE 0x11078
34991 #define S_T6_INT_ERR_INT 24
34992 #define V_T6_INT_ERR_INT(x) ((x) << S_T6_INT_ERR_INT)
34993 #define F_T6_INT_ERR_INT V_T6_INT_ERR_INT(1U)
34995 #define A_MPS_RX_PERR_ENABLE 0x1107c
34997 #define S_T6_INT_ERR_INT 24
34998 #define V_T6_INT_ERR_INT(x) ((x) << S_T6_INT_ERR_INT)
34999 #define F_T6_INT_ERR_INT V_T6_INT_ERR_INT(1U)
35001 #define A_MPS_RX_PERR_INJECT 0x11080
35002 #define A_MPS_RX_FUNC_INT_CAUSE 0x11084
35004 #define S_INT_ERR_INT 8
35005 #define M_INT_ERR_INT 0x1fU
35006 #define V_INT_ERR_INT(x) ((x) << S_INT_ERR_INT)
35007 #define G_INT_ERR_INT(x) (((x) >> S_INT_ERR_INT) & M_INT_ERR_INT)
35009 #define S_PG_TH_INT7 7
35010 #define V_PG_TH_INT7(x) ((x) << S_PG_TH_INT7)
35011 #define F_PG_TH_INT7 V_PG_TH_INT7(1U)
35013 #define S_PG_TH_INT6 6
35014 #define V_PG_TH_INT6(x) ((x) << S_PG_TH_INT6)
35015 #define F_PG_TH_INT6 V_PG_TH_INT6(1U)
35017 #define S_PG_TH_INT5 5
35018 #define V_PG_TH_INT5(x) ((x) << S_PG_TH_INT5)
35019 #define F_PG_TH_INT5 V_PG_TH_INT5(1U)
35021 #define S_PG_TH_INT4 4
35022 #define V_PG_TH_INT4(x) ((x) << S_PG_TH_INT4)
35023 #define F_PG_TH_INT4 V_PG_TH_INT4(1U)
35025 #define S_PG_TH_INT3 3
35026 #define V_PG_TH_INT3(x) ((x) << S_PG_TH_INT3)
35027 #define F_PG_TH_INT3 V_PG_TH_INT3(1U)
35029 #define S_PG_TH_INT2 2
35030 #define V_PG_TH_INT2(x) ((x) << S_PG_TH_INT2)
35031 #define F_PG_TH_INT2 V_PG_TH_INT2(1U)
35033 #define S_PG_TH_INT1 1
35034 #define V_PG_TH_INT1(x) ((x) << S_PG_TH_INT1)
35035 #define F_PG_TH_INT1 V_PG_TH_INT1(1U)
35037 #define S_PG_TH_INT0 0
35038 #define V_PG_TH_INT0(x) ((x) << S_PG_TH_INT0)
35039 #define F_PG_TH_INT0 V_PG_TH_INT0(1U)
35041 #define S_MTU_ERR_INT3 19
35042 #define V_MTU_ERR_INT3(x) ((x) << S_MTU_ERR_INT3)
35043 #define F_MTU_ERR_INT3 V_MTU_ERR_INT3(1U)
35045 #define S_MTU_ERR_INT2 18
35046 #define V_MTU_ERR_INT2(x) ((x) << S_MTU_ERR_INT2)
35047 #define F_MTU_ERR_INT2 V_MTU_ERR_INT2(1U)
35049 #define S_MTU_ERR_INT1 17
35050 #define V_MTU_ERR_INT1(x) ((x) << S_MTU_ERR_INT1)
35051 #define F_MTU_ERR_INT1 V_MTU_ERR_INT1(1U)
35053 #define S_MTU_ERR_INT0 16
35054 #define V_MTU_ERR_INT0(x) ((x) << S_MTU_ERR_INT0)
35055 #define F_MTU_ERR_INT0 V_MTU_ERR_INT0(1U)
35057 #define S_SE_CNT_ERR_INT 15
35058 #define V_SE_CNT_ERR_INT(x) ((x) << S_SE_CNT_ERR_INT)
35059 #define F_SE_CNT_ERR_INT V_SE_CNT_ERR_INT(1U)
35061 #define S_FRM_ERR_INT 14
35062 #define V_FRM_ERR_INT(x) ((x) << S_FRM_ERR_INT)
35063 #define F_FRM_ERR_INT V_FRM_ERR_INT(1U)
35065 #define S_LEN_ERR_INT 13
35066 #define V_LEN_ERR_INT(x) ((x) << S_LEN_ERR_INT)
35067 #define F_LEN_ERR_INT V_LEN_ERR_INT(1U)
35069 #define A_MPS_RX_FUNC_INT_ENABLE 0x11088
35070 #define A_MPS_RX_PAUSE_GEN_TH_0 0x1108c
35072 #define S_TH_HIGH 16
35073 #define M_TH_HIGH 0xffffU
35074 #define V_TH_HIGH(x) ((x) << S_TH_HIGH)
35075 #define G_TH_HIGH(x) (((x) >> S_TH_HIGH) & M_TH_HIGH)
35078 #define M_TH_LOW 0xffffU
35079 #define V_TH_LOW(x) ((x) << S_TH_LOW)
35080 #define G_TH_LOW(x) (((x) >> S_TH_LOW) & M_TH_LOW)
35082 #define A_MPS_RX_PAUSE_GEN_TH_1 0x11090
35083 #define A_MPS_RX_PAUSE_GEN_TH_2 0x11094
35084 #define A_MPS_RX_PAUSE_GEN_TH_3 0x11098
35085 #define A_MPS_RX_REPL_CTL 0x11098
35087 #define S_INDEX_SEL 0
35088 #define V_INDEX_SEL(x) ((x) << S_INDEX_SEL)
35089 #define F_INDEX_SEL V_INDEX_SEL(1U)
35091 #define A_MPS_RX_PPP_ATRB 0x1109c
35094 #define M_ETYPE 0xffffU
35095 #define V_ETYPE(x) ((x) << S_ETYPE)
35096 #define G_ETYPE(x) (((x) >> S_ETYPE) & M_ETYPE)
35099 #define M_OPCODE 0xffffU
35100 #define V_OPCODE(x) ((x) << S_OPCODE)
35101 #define G_OPCODE(x) (((x) >> S_OPCODE) & M_OPCODE)
35103 #define A_MPS_RX_QFC0_ATRB 0x110a0
35106 #define M_DA 0xffffU
35107 #define V_DA(x) ((x) << S_DA)
35108 #define G_DA(x) (((x) >> S_DA) & M_DA)
35110 #define A_MPS_RX_QFC1_ATRB 0x110a4
35111 #define A_MPS_RX_PT_ARB0 0x110a8
35113 #define S_LPBK_WT 16
35114 #define M_LPBK_WT 0x3fffU
35115 #define V_LPBK_WT(x) ((x) << S_LPBK_WT)
35116 #define G_LPBK_WT(x) (((x) >> S_LPBK_WT) & M_LPBK_WT)
35119 #define M_MAC_WT 0x3fffU
35120 #define V_MAC_WT(x) ((x) << S_MAC_WT)
35121 #define G_MAC_WT(x) (((x) >> S_MAC_WT) & M_MAC_WT)
35123 #define A_MPS_RX_PT_ARB1 0x110ac
35124 #define A_MPS_RX_PT_ARB2 0x110b0
35125 #define A_MPS_RX_PT_ARB3 0x110b4
35126 #define A_T6_MPS_PF_OUT_EN 0x110b4
35127 #define A_MPS_RX_PT_ARB4 0x110b8
35128 #define A_T6_MPS_BMC_MTU 0x110b8
35129 #define A_MPS_PF_OUT_EN 0x110bc
35132 #define M_OUTEN 0xffU
35133 #define V_OUTEN(x) ((x) << S_OUTEN)
35134 #define G_OUTEN(x) (((x) >> S_OUTEN) & M_OUTEN)
35136 #define A_T6_MPS_BMC_PKT_CNT 0x110bc
35137 #define A_MPS_BMC_MTU 0x110c0
35140 #define M_MTU 0x3fffU
35141 #define V_MTU(x) ((x) << S_MTU)
35142 #define G_MTU(x) (((x) >> S_MTU) & M_MTU)
35144 #define A_T6_MPS_BMC_BYTE_CNT 0x110c0
35145 #define A_MPS_BMC_PKT_CNT 0x110c4
35146 #define A_T6_MPS_PFVF_ATRB_CTL 0x110c4
35148 #define S_T6_PFVF 0
35149 #define M_T6_PFVF 0x1ffU
35150 #define V_T6_PFVF(x) ((x) << S_T6_PFVF)
35151 #define G_T6_PFVF(x) (((x) >> S_T6_PFVF) & M_T6_PFVF)
35153 #define A_MPS_BMC_BYTE_CNT 0x110c8
35154 #define A_T6_MPS_PFVF_ATRB 0x110c8
35156 #define S_FULL_FRAME_MODE 14
35157 #define V_FULL_FRAME_MODE(x) ((x) << S_FULL_FRAME_MODE)
35158 #define F_FULL_FRAME_MODE V_FULL_FRAME_MODE(1U)
35160 #define A_MPS_PFVF_ATRB_CTL 0x110cc
35162 #define S_RD_WRN 31
35163 #define V_RD_WRN(x) ((x) << S_RD_WRN)
35164 #define F_RD_WRN V_RD_WRN(1U)
35167 #define M_PFVF 0xffU
35168 #define V_PFVF(x) ((x) << S_PFVF)
35169 #define G_PFVF(x) (((x) >> S_PFVF) & M_PFVF)
35171 #define A_T6_MPS_PFVF_ATRB_FLTR0 0x110cc
35172 #define A_MPS_PFVF_ATRB 0x110d0
35174 #define S_ATTR_PF 28
35175 #define M_ATTR_PF 0x7U
35176 #define V_ATTR_PF(x) ((x) << S_ATTR_PF)
35177 #define G_ATTR_PF(x) (((x) >> S_ATTR_PF) & M_ATTR_PF)
35180 #define V_OFF(x) ((x) << S_OFF)
35181 #define F_OFF V_OFF(1U)
35183 #define S_NV_DROP 17
35184 #define V_NV_DROP(x) ((x) << S_NV_DROP)
35185 #define F_NV_DROP V_NV_DROP(1U)
35187 #define S_ATTR_MODE 16
35188 #define V_ATTR_MODE(x) ((x) << S_ATTR_MODE)
35189 #define F_ATTR_MODE V_ATTR_MODE(1U)
35191 #define A_T6_MPS_PFVF_ATRB_FLTR1 0x110d0
35192 #define A_MPS_PFVF_ATRB_FLTR0 0x110d4
35194 #define S_VLAN_EN 16
35195 #define V_VLAN_EN(x) ((x) << S_VLAN_EN)
35196 #define F_VLAN_EN V_VLAN_EN(1U)
35198 #define S_VLAN_ID 0
35199 #define M_VLAN_ID 0xfffU
35200 #define V_VLAN_ID(x) ((x) << S_VLAN_ID)
35201 #define G_VLAN_ID(x) (((x) >> S_VLAN_ID) & M_VLAN_ID)
35203 #define A_T6_MPS_PFVF_ATRB_FLTR2 0x110d4
35204 #define A_MPS_PFVF_ATRB_FLTR1 0x110d8
35205 #define A_T6_MPS_PFVF_ATRB_FLTR3 0x110d8
35206 #define A_MPS_PFVF_ATRB_FLTR2 0x110dc
35207 #define A_T6_MPS_PFVF_ATRB_FLTR4 0x110dc
35208 #define A_MPS_PFVF_ATRB_FLTR3 0x110e0
35209 #define A_T6_MPS_PFVF_ATRB_FLTR5 0x110e0
35210 #define A_MPS_PFVF_ATRB_FLTR4 0x110e4
35211 #define A_T6_MPS_PFVF_ATRB_FLTR6 0x110e4
35212 #define A_MPS_PFVF_ATRB_FLTR5 0x110e8
35213 #define A_T6_MPS_PFVF_ATRB_FLTR7 0x110e8
35214 #define A_MPS_PFVF_ATRB_FLTR6 0x110ec
35215 #define A_T6_MPS_PFVF_ATRB_FLTR8 0x110ec
35216 #define A_MPS_PFVF_ATRB_FLTR7 0x110f0
35217 #define A_T6_MPS_PFVF_ATRB_FLTR9 0x110f0
35218 #define A_MPS_PFVF_ATRB_FLTR8 0x110f4
35219 #define A_T6_MPS_PFVF_ATRB_FLTR10 0x110f4
35220 #define A_MPS_PFVF_ATRB_FLTR9 0x110f8
35221 #define A_T6_MPS_PFVF_ATRB_FLTR11 0x110f8
35222 #define A_MPS_PFVF_ATRB_FLTR10 0x110fc
35223 #define A_T6_MPS_PFVF_ATRB_FLTR12 0x110fc
35224 #define A_MPS_PFVF_ATRB_FLTR11 0x11100
35225 #define A_T6_MPS_PFVF_ATRB_FLTR13 0x11100
35226 #define A_MPS_PFVF_ATRB_FLTR12 0x11104
35227 #define A_T6_MPS_PFVF_ATRB_FLTR14 0x11104
35228 #define A_MPS_PFVF_ATRB_FLTR13 0x11108
35229 #define A_T6_MPS_PFVF_ATRB_FLTR15 0x11108
35230 #define A_MPS_PFVF_ATRB_FLTR14 0x1110c
35231 #define A_T6_MPS_RPLC_MAP_CTL 0x1110c
35232 #define A_MPS_PFVF_ATRB_FLTR15 0x11110
35233 #define A_T6_MPS_PF_RPLCT_MAP 0x11110
35234 #define A_MPS_RPLC_MAP_CTL 0x11114
35236 #define S_RPLC_MAP_ADDR 0
35237 #define M_RPLC_MAP_ADDR 0x3ffU
35238 #define V_RPLC_MAP_ADDR(x) ((x) << S_RPLC_MAP_ADDR)
35239 #define G_RPLC_MAP_ADDR(x) (((x) >> S_RPLC_MAP_ADDR) & M_RPLC_MAP_ADDR)
35241 #define A_T6_MPS_VF_RPLCT_MAP0 0x11114
35242 #define A_MPS_PF_RPLCT_MAP 0x11118
35245 #define M_PF_EN 0xffU
35246 #define V_PF_EN(x) ((x) << S_PF_EN)
35247 #define G_PF_EN(x) (((x) >> S_PF_EN) & M_PF_EN)
35249 #define A_T6_MPS_VF_RPLCT_MAP1 0x11118
35250 #define A_MPS_VF_RPLCT_MAP0 0x1111c
35251 #define A_T6_MPS_VF_RPLCT_MAP2 0x1111c
35252 #define A_MPS_VF_RPLCT_MAP1 0x11120
35253 #define A_T6_MPS_VF_RPLCT_MAP3 0x11120
35254 #define A_MPS_VF_RPLCT_MAP2 0x11124
35255 #define A_MPS_VF_RPLCT_MAP3 0x11128
35256 #define A_MPS_MEM_DBG_CTL 0x1112c
35259 #define V_PKD(x) ((x) << S_PKD)
35260 #define F_PKD V_PKD(1U)
35263 #define V_PGD(x) ((x) << S_PGD)
35264 #define F_PGD V_PGD(1U)
35266 #define A_MPS_PKD_MEM_DATA0 0x11130
35267 #define A_MPS_PKD_MEM_DATA1 0x11134
35268 #define A_MPS_PKD_MEM_DATA2 0x11138
35269 #define A_MPS_PGD_MEM_DATA 0x1113c
35270 #define A_MPS_RX_SE_CNT_ERR 0x11140
35272 #define S_RX_SE_ERRMAP 0
35273 #define M_RX_SE_ERRMAP 0xfffffU
35274 #define V_RX_SE_ERRMAP(x) ((x) << S_RX_SE_ERRMAP)
35275 #define G_RX_SE_ERRMAP(x) (((x) >> S_RX_SE_ERRMAP) & M_RX_SE_ERRMAP)
35277 #define A_MPS_RX_SE_CNT_CLR 0x11144
35278 #define A_MPS_RX_SE_CNT_IN0 0x11148
35280 #define S_SOP_CNT_PM 24
35281 #define M_SOP_CNT_PM 0xffU
35282 #define V_SOP_CNT_PM(x) ((x) << S_SOP_CNT_PM)
35283 #define G_SOP_CNT_PM(x) (((x) >> S_SOP_CNT_PM) & M_SOP_CNT_PM)
35285 #define S_EOP_CNT_PM 16
35286 #define M_EOP_CNT_PM 0xffU
35287 #define V_EOP_CNT_PM(x) ((x) << S_EOP_CNT_PM)
35288 #define G_EOP_CNT_PM(x) (((x) >> S_EOP_CNT_PM) & M_EOP_CNT_PM)
35290 #define S_SOP_CNT_IN 8
35291 #define M_SOP_CNT_IN 0xffU
35292 #define V_SOP_CNT_IN(x) ((x) << S_SOP_CNT_IN)
35293 #define G_SOP_CNT_IN(x) (((x) >> S_SOP_CNT_IN) & M_SOP_CNT_IN)
35295 #define S_EOP_CNT_IN 0
35296 #define M_EOP_CNT_IN 0xffU
35297 #define V_EOP_CNT_IN(x) ((x) << S_EOP_CNT_IN)
35298 #define G_EOP_CNT_IN(x) (((x) >> S_EOP_CNT_IN) & M_EOP_CNT_IN)
35300 #define A_MPS_RX_SE_CNT_IN1 0x1114c
35301 #define A_MPS_RX_SE_CNT_IN2 0x11150
35302 #define A_MPS_RX_SE_CNT_IN3 0x11154
35303 #define A_MPS_RX_SE_CNT_IN4 0x11158
35304 #define A_MPS_RX_SE_CNT_IN5 0x1115c
35305 #define A_MPS_RX_SE_CNT_IN6 0x11160
35306 #define A_MPS_RX_SE_CNT_IN7 0x11164
35307 #define A_MPS_RX_SE_CNT_OUT01 0x11168
35309 #define S_SOP_CNT_1 24
35310 #define M_SOP_CNT_1 0xffU
35311 #define V_SOP_CNT_1(x) ((x) << S_SOP_CNT_1)
35312 #define G_SOP_CNT_1(x) (((x) >> S_SOP_CNT_1) & M_SOP_CNT_1)
35314 #define S_EOP_CNT_1 16
35315 #define M_EOP_CNT_1 0xffU
35316 #define V_EOP_CNT_1(x) ((x) << S_EOP_CNT_1)
35317 #define G_EOP_CNT_1(x) (((x) >> S_EOP_CNT_1) & M_EOP_CNT_1)
35319 #define S_SOP_CNT_0 8
35320 #define M_SOP_CNT_0 0xffU
35321 #define V_SOP_CNT_0(x) ((x) << S_SOP_CNT_0)
35322 #define G_SOP_CNT_0(x) (((x) >> S_SOP_CNT_0) & M_SOP_CNT_0)
35324 #define S_EOP_CNT_0 0
35325 #define M_EOP_CNT_0 0xffU
35326 #define V_EOP_CNT_0(x) ((x) << S_EOP_CNT_0)
35327 #define G_EOP_CNT_0(x) (((x) >> S_EOP_CNT_0) & M_EOP_CNT_0)
35329 #define A_MPS_RX_SE_CNT_OUT23 0x1116c
35331 #define S_SOP_CNT_3 24
35332 #define M_SOP_CNT_3 0xffU
35333 #define V_SOP_CNT_3(x) ((x) << S_SOP_CNT_3)
35334 #define G_SOP_CNT_3(x) (((x) >> S_SOP_CNT_3) & M_SOP_CNT_3)
35336 #define S_EOP_CNT_3 16
35337 #define M_EOP_CNT_3 0xffU
35338 #define V_EOP_CNT_3(x) ((x) << S_EOP_CNT_3)
35339 #define G_EOP_CNT_3(x) (((x) >> S_EOP_CNT_3) & M_EOP_CNT_3)
35341 #define S_SOP_CNT_2 8
35342 #define M_SOP_CNT_2 0xffU
35343 #define V_SOP_CNT_2(x) ((x) << S_SOP_CNT_2)
35344 #define G_SOP_CNT_2(x) (((x) >> S_SOP_CNT_2) & M_SOP_CNT_2)
35346 #define S_EOP_CNT_2 0
35347 #define M_EOP_CNT_2 0xffU
35348 #define V_EOP_CNT_2(x) ((x) << S_EOP_CNT_2)
35349 #define G_EOP_CNT_2(x) (((x) >> S_EOP_CNT_2) & M_EOP_CNT_2)
35351 #define A_MPS_RX_SPI_ERR 0x11170
35353 #define S_LENERR 21
35354 #define M_LENERR 0xfU
35355 #define V_LENERR(x) ((x) << S_LENERR)
35356 #define G_LENERR(x) (((x) >> S_LENERR) & M_LENERR)
35359 #define M_SPIERR 0x1fffffU
35360 #define V_SPIERR(x) ((x) << S_SPIERR)
35361 #define G_SPIERR(x) (((x) >> S_SPIERR) & M_SPIERR)
35363 #define A_MPS_RX_IN_BUS_STATE 0x11174
35366 #define M_ST3 0xffU
35367 #define V_ST3(x) ((x) << S_ST3)
35368 #define G_ST3(x) (((x) >> S_ST3) & M_ST3)
35371 #define M_ST2 0xffU
35372 #define V_ST2(x) ((x) << S_ST2)
35373 #define G_ST2(x) (((x) >> S_ST2) & M_ST2)
35376 #define M_ST1 0xffU
35377 #define V_ST1(x) ((x) << S_ST1)
35378 #define G_ST1(x) (((x) >> S_ST1) & M_ST1)
35381 #define M_ST0 0xffU
35382 #define V_ST0(x) ((x) << S_ST0)
35383 #define G_ST0(x) (((x) >> S_ST0) & M_ST0)
35385 #define A_MPS_RX_OUT_BUS_STATE 0x11178
35387 #define S_ST_NCSI 23
35388 #define M_ST_NCSI 0x1ffU
35389 #define V_ST_NCSI(x) ((x) << S_ST_NCSI)
35390 #define G_ST_NCSI(x) (((x) >> S_ST_NCSI) & M_ST_NCSI)
35393 #define M_ST_TP 0x7fffffU
35394 #define V_ST_TP(x) ((x) << S_ST_TP)
35395 #define G_ST_TP(x) (((x) >> S_ST_TP) & M_ST_TP)
35397 #define A_MPS_RX_DBG_CTL 0x1117c
35399 #define S_OUT_DBG_CHNL 8
35400 #define M_OUT_DBG_CHNL 0x7U
35401 #define V_OUT_DBG_CHNL(x) ((x) << S_OUT_DBG_CHNL)
35402 #define G_OUT_DBG_CHNL(x) (((x) >> S_OUT_DBG_CHNL) & M_OUT_DBG_CHNL)
35404 #define S_DBG_PKD_QSEL 7
35405 #define V_DBG_PKD_QSEL(x) ((x) << S_DBG_PKD_QSEL)
35406 #define F_DBG_PKD_QSEL V_DBG_PKD_QSEL(1U)
35408 #define S_DBG_CDS_INV 6
35409 #define V_DBG_CDS_INV(x) ((x) << S_DBG_CDS_INV)
35410 #define F_DBG_CDS_INV V_DBG_CDS_INV(1U)
35412 #define S_IN_DBG_PORT 3
35413 #define M_IN_DBG_PORT 0x7U
35414 #define V_IN_DBG_PORT(x) ((x) << S_IN_DBG_PORT)
35415 #define G_IN_DBG_PORT(x) (((x) >> S_IN_DBG_PORT) & M_IN_DBG_PORT)
35417 #define S_IN_DBG_CHNL 0
35418 #define M_IN_DBG_CHNL 0x7U
35419 #define V_IN_DBG_CHNL(x) ((x) << S_IN_DBG_CHNL)
35420 #define G_IN_DBG_CHNL(x) (((x) >> S_IN_DBG_CHNL) & M_IN_DBG_CHNL)
35422 #define A_MPS_RX_CLS_DROP_CNT0 0x11180
35424 #define S_LPBK_CNT0 16
35425 #define M_LPBK_CNT0 0xffffU
35426 #define V_LPBK_CNT0(x) ((x) << S_LPBK_CNT0)
35427 #define G_LPBK_CNT0(x) (((x) >> S_LPBK_CNT0) & M_LPBK_CNT0)
35429 #define S_MAC_CNT0 0
35430 #define M_MAC_CNT0 0xffffU
35431 #define V_MAC_CNT0(x) ((x) << S_MAC_CNT0)
35432 #define G_MAC_CNT0(x) (((x) >> S_MAC_CNT0) & M_MAC_CNT0)
35434 #define A_MPS_RX_CLS_DROP_CNT1 0x11184
35436 #define S_LPBK_CNT1 16
35437 #define M_LPBK_CNT1 0xffffU
35438 #define V_LPBK_CNT1(x) ((x) << S_LPBK_CNT1)
35439 #define G_LPBK_CNT1(x) (((x) >> S_LPBK_CNT1) & M_LPBK_CNT1)
35441 #define S_MAC_CNT1 0
35442 #define M_MAC_CNT1 0xffffU
35443 #define V_MAC_CNT1(x) ((x) << S_MAC_CNT1)
35444 #define G_MAC_CNT1(x) (((x) >> S_MAC_CNT1) & M_MAC_CNT1)
35446 #define A_MPS_RX_CLS_DROP_CNT2 0x11188
35448 #define S_LPBK_CNT2 16
35449 #define M_LPBK_CNT2 0xffffU
35450 #define V_LPBK_CNT2(x) ((x) << S_LPBK_CNT2)
35451 #define G_LPBK_CNT2(x) (((x) >> S_LPBK_CNT2) & M_LPBK_CNT2)
35453 #define S_MAC_CNT2 0
35454 #define M_MAC_CNT2 0xffffU
35455 #define V_MAC_CNT2(x) ((x) << S_MAC_CNT2)
35456 #define G_MAC_CNT2(x) (((x) >> S_MAC_CNT2) & M_MAC_CNT2)
35458 #define A_MPS_RX_CLS_DROP_CNT3 0x1118c
35460 #define S_LPBK_CNT3 16
35461 #define M_LPBK_CNT3 0xffffU
35462 #define V_LPBK_CNT3(x) ((x) << S_LPBK_CNT3)
35463 #define G_LPBK_CNT3(x) (((x) >> S_LPBK_CNT3) & M_LPBK_CNT3)
35465 #define S_MAC_CNT3 0
35466 #define M_MAC_CNT3 0xffffU
35467 #define V_MAC_CNT3(x) ((x) << S_MAC_CNT3)
35468 #define G_MAC_CNT3(x) (((x) >> S_MAC_CNT3) & M_MAC_CNT3)
35470 #define A_MPS_RX_SPARE 0x11190
35471 #define A_MPS_RX_PTP_ETYPE 0x11194
35473 #define S_PETYPE2 16
35474 #define M_PETYPE2 0xffffU
35475 #define V_PETYPE2(x) ((x) << S_PETYPE2)
35476 #define G_PETYPE2(x) (((x) >> S_PETYPE2) & M_PETYPE2)
35478 #define S_PETYPE1 0
35479 #define M_PETYPE1 0xffffU
35480 #define V_PETYPE1(x) ((x) << S_PETYPE1)
35481 #define G_PETYPE1(x) (((x) >> S_PETYPE1) & M_PETYPE1)
35483 #define A_MPS_RX_PTP_TCP 0x11198
35485 #define S_PTCPORT2 16
35486 #define M_PTCPORT2 0xffffU
35487 #define V_PTCPORT2(x) ((x) << S_PTCPORT2)
35488 #define G_PTCPORT2(x) (((x) >> S_PTCPORT2) & M_PTCPORT2)
35490 #define S_PTCPORT1 0
35491 #define M_PTCPORT1 0xffffU
35492 #define V_PTCPORT1(x) ((x) << S_PTCPORT1)
35493 #define G_PTCPORT1(x) (((x) >> S_PTCPORT1) & M_PTCPORT1)
35495 #define A_MPS_RX_PTP_UDP 0x1119c
35497 #define S_PUDPORT2 16
35498 #define M_PUDPORT2 0xffffU
35499 #define V_PUDPORT2(x) ((x) << S_PUDPORT2)
35500 #define G_PUDPORT2(x) (((x) >> S_PUDPORT2) & M_PUDPORT2)
35502 #define S_PUDPORT1 0
35503 #define M_PUDPORT1 0xffffU
35504 #define V_PUDPORT1(x) ((x) << S_PUDPORT1)
35505 #define G_PUDPORT1(x) (((x) >> S_PUDPORT1) & M_PUDPORT1)
35507 #define A_MPS_RX_PTP_CTL 0x111a0
35509 #define S_MIN_PTP_SPACE 24
35510 #define M_MIN_PTP_SPACE 0x7fU
35511 #define V_MIN_PTP_SPACE(x) ((x) << S_MIN_PTP_SPACE)
35512 #define G_MIN_PTP_SPACE(x) (((x) >> S_MIN_PTP_SPACE) & M_MIN_PTP_SPACE)
35514 #define S_PUDP2EN 20
35515 #define M_PUDP2EN 0xfU
35516 #define V_PUDP2EN(x) ((x) << S_PUDP2EN)
35517 #define G_PUDP2EN(x) (((x) >> S_PUDP2EN) & M_PUDP2EN)
35519 #define S_PUDP1EN 16
35520 #define M_PUDP1EN 0xfU
35521 #define V_PUDP1EN(x) ((x) << S_PUDP1EN)
35522 #define G_PUDP1EN(x) (((x) >> S_PUDP1EN) & M_PUDP1EN)
35524 #define S_PTCP2EN 12
35525 #define M_PTCP2EN 0xfU
35526 #define V_PTCP2EN(x) ((x) << S_PTCP2EN)
35527 #define G_PTCP2EN(x) (((x) >> S_PTCP2EN) & M_PTCP2EN)
35529 #define S_PTCP1EN 8
35530 #define M_PTCP1EN 0xfU
35531 #define V_PTCP1EN(x) ((x) << S_PTCP1EN)
35532 #define G_PTCP1EN(x) (((x) >> S_PTCP1EN) & M_PTCP1EN)
35534 #define S_PETYPE2EN 4
35535 #define M_PETYPE2EN 0xfU
35536 #define V_PETYPE2EN(x) ((x) << S_PETYPE2EN)
35537 #define G_PETYPE2EN(x) (((x) >> S_PETYPE2EN) & M_PETYPE2EN)
35539 #define S_PETYPE1EN 0
35540 #define M_PETYPE1EN 0xfU
35541 #define V_PETYPE1EN(x) ((x) << S_PETYPE1EN)
35542 #define G_PETYPE1EN(x) (((x) >> S_PETYPE1EN) & M_PETYPE1EN)
35544 #define A_MPS_RX_PAUSE_GEN_TH_0_0 0x111a4
35545 #define A_MPS_RX_PAUSE_GEN_TH_0_1 0x111a8
35546 #define A_MPS_RX_PAUSE_GEN_TH_0_2 0x111ac
35547 #define A_MPS_RX_PAUSE_GEN_TH_0_3 0x111b0
35548 #define A_MPS_RX_PAUSE_GEN_TH_1_0 0x111b4
35549 #define A_MPS_RX_PAUSE_GEN_TH_1_1 0x111b8
35550 #define A_MPS_RX_PAUSE_GEN_TH_1_2 0x111bc
35551 #define A_MPS_RX_PAUSE_GEN_TH_1_3 0x111c0
35552 #define A_MPS_RX_PAUSE_GEN_TH_2_0 0x111c4
35553 #define A_MPS_RX_PAUSE_GEN_TH_2_1 0x111c8
35554 #define A_MPS_RX_PAUSE_GEN_TH_2_2 0x111cc
35555 #define A_MPS_RX_PAUSE_GEN_TH_2_3 0x111d0
35556 #define A_MPS_RX_PAUSE_GEN_TH_3_0 0x111d4
35557 #define A_MPS_RX_PAUSE_GEN_TH_3_1 0x111d8
35558 #define A_MPS_RX_PAUSE_GEN_TH_3_2 0x111dc
35559 #define A_MPS_RX_PAUSE_GEN_TH_3_3 0x111e0
35560 #define A_MPS_RX_MAC_CLS_DROP_CNT0 0x111e4
35561 #define A_MPS_RX_MAC_CLS_DROP_CNT1 0x111e8
35562 #define A_MPS_RX_MAC_CLS_DROP_CNT2 0x111ec
35563 #define A_MPS_RX_MAC_CLS_DROP_CNT3 0x111f0
35564 #define A_MPS_RX_LPBK_CLS_DROP_CNT0 0x111f4
35565 #define A_MPS_RX_LPBK_CLS_DROP_CNT1 0x111f8
35566 #define A_MPS_RX_LPBK_CLS_DROP_CNT2 0x111fc
35567 #define A_MPS_RX_LPBK_CLS_DROP_CNT3 0x11200
35568 #define A_MPS_RX_CGEN 0x11204
35570 #define S_MPS_RX_CGEN_NCSI 12
35571 #define V_MPS_RX_CGEN_NCSI(x) ((x) << S_MPS_RX_CGEN_NCSI)
35572 #define F_MPS_RX_CGEN_NCSI V_MPS_RX_CGEN_NCSI(1U)
35574 #define S_MPS_RX_CGEN_OUT 8
35575 #define M_MPS_RX_CGEN_OUT 0xfU
35576 #define V_MPS_RX_CGEN_OUT(x) ((x) << S_MPS_RX_CGEN_OUT)
35577 #define G_MPS_RX_CGEN_OUT(x) (((x) >> S_MPS_RX_CGEN_OUT) & M_MPS_RX_CGEN_OUT)
35579 #define S_MPS_RX_CGEN_LPBK_IN 4
35580 #define M_MPS_RX_CGEN_LPBK_IN 0xfU
35581 #define V_MPS_RX_CGEN_LPBK_IN(x) ((x) << S_MPS_RX_CGEN_LPBK_IN)
35582 #define G_MPS_RX_CGEN_LPBK_IN(x) (((x) >> S_MPS_RX_CGEN_LPBK_IN) & M_MPS_RX_CGEN_LPBK_IN)
35584 #define S_MPS_RX_CGEN_MAC_IN 0
35585 #define M_MPS_RX_CGEN_MAC_IN 0xfU
35586 #define V_MPS_RX_CGEN_MAC_IN(x) ((x) << S_MPS_RX_CGEN_MAC_IN)
35587 #define G_MPS_RX_CGEN_MAC_IN(x) (((x) >> S_MPS_RX_CGEN_MAC_IN) & M_MPS_RX_CGEN_MAC_IN)
35589 #define A_MPS_RX_MAC_BG_PG_CNT0 0x11208
35591 #define S_MAC_USED 16
35592 #define M_MAC_USED 0x7ffU
35593 #define V_MAC_USED(x) ((x) << S_MAC_USED)
35594 #define G_MAC_USED(x) (((x) >> S_MAC_USED) & M_MAC_USED)
35596 #define S_MAC_ALLOC 0
35597 #define M_MAC_ALLOC 0x7ffU
35598 #define V_MAC_ALLOC(x) ((x) << S_MAC_ALLOC)
35599 #define G_MAC_ALLOC(x) (((x) >> S_MAC_ALLOC) & M_MAC_ALLOC)
35601 #define A_MPS_RX_MAC_BG_PG_CNT1 0x1120c
35602 #define A_MPS_RX_MAC_BG_PG_CNT2 0x11210
35603 #define A_MPS_RX_MAC_BG_PG_CNT3 0x11214
35604 #define A_MPS_RX_LPBK_BG_PG_CNT0 0x11218
35606 #define S_LPBK_USED 16
35607 #define M_LPBK_USED 0x7ffU
35608 #define V_LPBK_USED(x) ((x) << S_LPBK_USED)
35609 #define G_LPBK_USED(x) (((x) >> S_LPBK_USED) & M_LPBK_USED)
35611 #define S_LPBK_ALLOC 0
35612 #define M_LPBK_ALLOC 0x7ffU
35613 #define V_LPBK_ALLOC(x) ((x) << S_LPBK_ALLOC)
35614 #define G_LPBK_ALLOC(x) (((x) >> S_LPBK_ALLOC) & M_LPBK_ALLOC)
35616 #define A_MPS_RX_LPBK_BG_PG_CNT1 0x1121c
35617 #define A_MPS_RX_CONGESTION_THRESHOLD_BG0 0x11220
35619 #define S_CONG_EN 31
35620 #define V_CONG_EN(x) ((x) << S_CONG_EN)
35621 #define F_CONG_EN V_CONG_EN(1U)
35623 #define S_CONG_TH 0
35624 #define M_CONG_TH 0xfffffU
35625 #define V_CONG_TH(x) ((x) << S_CONG_TH)
35626 #define G_CONG_TH(x) (((x) >> S_CONG_TH) & M_CONG_TH)
35628 #define A_MPS_RX_CONGESTION_THRESHOLD_BG1 0x11224
35629 #define A_MPS_RX_CONGESTION_THRESHOLD_BG2 0x11228
35630 #define A_MPS_RX_CONGESTION_THRESHOLD_BG3 0x1122c
35631 #define A_MPS_RX_GRE_PROT_TYPE 0x11230
35633 #define S_NVGRE_EN 9
35634 #define V_NVGRE_EN(x) ((x) << S_NVGRE_EN)
35635 #define F_NVGRE_EN V_NVGRE_EN(1U)
35638 #define V_GRE_EN(x) ((x) << S_GRE_EN)
35639 #define F_GRE_EN V_GRE_EN(1U)
35642 #define M_GRE 0xffU
35643 #define V_GRE(x) ((x) << S_GRE)
35644 #define G_GRE(x) (((x) >> S_GRE) & M_GRE)
35646 #define A_MPS_RX_VXLAN_TYPE 0x11234
35648 #define S_VXLAN_EN 16
35649 #define V_VXLAN_EN(x) ((x) << S_VXLAN_EN)
35650 #define F_VXLAN_EN V_VXLAN_EN(1U)
35653 #define M_VXLAN 0xffffU
35654 #define V_VXLAN(x) ((x) << S_VXLAN)
35655 #define G_VXLAN(x) (((x) >> S_VXLAN) & M_VXLAN)
35657 #define A_MPS_RX_GENEVE_TYPE 0x11238
35659 #define S_GENEVE_EN 16
35660 #define V_GENEVE_EN(x) ((x) << S_GENEVE_EN)
35661 #define F_GENEVE_EN V_GENEVE_EN(1U)
35664 #define M_GENEVE 0xffffU
35665 #define V_GENEVE(x) ((x) << S_GENEVE)
35666 #define G_GENEVE(x) (((x) >> S_GENEVE) & M_GENEVE)
35668 #define A_MPS_RX_INNER_HDR_IVLAN 0x1123c
35670 #define S_T6_IVLAN_EN 16
35671 #define V_T6_IVLAN_EN(x) ((x) << S_T6_IVLAN_EN)
35672 #define F_T6_IVLAN_EN V_T6_IVLAN_EN(1U)
35674 #define A_MPS_RX_ENCAP_NVGRE 0x11240
35676 #define S_ETYPE_EN 16
35677 #define V_ETYPE_EN(x) ((x) << S_ETYPE_EN)
35678 #define F_ETYPE_EN V_ETYPE_EN(1U)
35680 #define S_T6_ETYPE 0
35681 #define M_T6_ETYPE 0xffffU
35682 #define V_T6_ETYPE(x) ((x) << S_T6_ETYPE)
35683 #define G_T6_ETYPE(x) (((x) >> S_T6_ETYPE) & M_T6_ETYPE)
35685 #define A_MPS_RX_ENCAP_GENEVE 0x11244
35687 #define S_T6_ETYPE 0
35688 #define M_T6_ETYPE 0xffffU
35689 #define V_T6_ETYPE(x) ((x) << S_T6_ETYPE)
35690 #define G_T6_ETYPE(x) (((x) >> S_T6_ETYPE) & M_T6_ETYPE)
35692 #define A_MPS_RX_TCP 0x11248
35694 #define S_PROT_TYPE_EN 8
35695 #define V_PROT_TYPE_EN(x) ((x) << S_PROT_TYPE_EN)
35696 #define F_PROT_TYPE_EN V_PROT_TYPE_EN(1U)
35698 #define S_PROT_TYPE 0
35699 #define M_PROT_TYPE 0xffU
35700 #define V_PROT_TYPE(x) ((x) << S_PROT_TYPE)
35701 #define G_PROT_TYPE(x) (((x) >> S_PROT_TYPE) & M_PROT_TYPE)
35703 #define A_MPS_RX_UDP 0x1124c
35704 #define A_MPS_RX_PAUSE 0x11250
35705 #define A_MPS_RX_LENGTH 0x11254
35707 #define S_SAP_VALUE 16
35708 #define M_SAP_VALUE 0xffffU
35709 #define V_SAP_VALUE(x) ((x) << S_SAP_VALUE)
35710 #define G_SAP_VALUE(x) (((x) >> S_SAP_VALUE) & M_SAP_VALUE)
35712 #define S_LENGTH_ETYPE 0
35713 #define M_LENGTH_ETYPE 0xffffU
35714 #define V_LENGTH_ETYPE(x) ((x) << S_LENGTH_ETYPE)
35715 #define G_LENGTH_ETYPE(x) (((x) >> S_LENGTH_ETYPE) & M_LENGTH_ETYPE)
35717 #define A_MPS_RX_CTL_ORG 0x11258
35719 #define S_CTL_VALUE 24
35720 #define M_CTL_VALUE 0xffU
35721 #define V_CTL_VALUE(x) ((x) << S_CTL_VALUE)
35722 #define G_CTL_VALUE(x) (((x) >> S_CTL_VALUE) & M_CTL_VALUE)
35724 #define S_ORG_VALUE 0
35725 #define M_ORG_VALUE 0xffffffU
35726 #define V_ORG_VALUE(x) ((x) << S_ORG_VALUE)
35727 #define G_ORG_VALUE(x) (((x) >> S_ORG_VALUE) & M_ORG_VALUE)
35729 #define A_MPS_RX_IPV4 0x1125c
35731 #define S_ETYPE_IPV4 0
35732 #define M_ETYPE_IPV4 0xffffU
35733 #define V_ETYPE_IPV4(x) ((x) << S_ETYPE_IPV4)
35734 #define G_ETYPE_IPV4(x) (((x) >> S_ETYPE_IPV4) & M_ETYPE_IPV4)
35736 #define A_MPS_RX_IPV6 0x11260
35738 #define S_ETYPE_IPV6 0
35739 #define M_ETYPE_IPV6 0xffffU
35740 #define V_ETYPE_IPV6(x) ((x) << S_ETYPE_IPV6)
35741 #define G_ETYPE_IPV6(x) (((x) >> S_ETYPE_IPV6) & M_ETYPE_IPV6)
35743 #define A_MPS_RX_TTL 0x11264
35745 #define S_TTL_IPV4 10
35746 #define M_TTL_IPV4 0xffU
35747 #define V_TTL_IPV4(x) ((x) << S_TTL_IPV4)
35748 #define G_TTL_IPV4(x) (((x) >> S_TTL_IPV4) & M_TTL_IPV4)
35750 #define S_TTL_IPV6 2
35751 #define M_TTL_IPV6 0xffU
35752 #define V_TTL_IPV6(x) ((x) << S_TTL_IPV6)
35753 #define G_TTL_IPV6(x) (((x) >> S_TTL_IPV6) & M_TTL_IPV6)
35755 #define S_TTL_CHK_EN_IPV4 1
35756 #define V_TTL_CHK_EN_IPV4(x) ((x) << S_TTL_CHK_EN_IPV4)
35757 #define F_TTL_CHK_EN_IPV4 V_TTL_CHK_EN_IPV4(1U)
35759 #define S_TTL_CHK_EN_IPV6 0
35760 #define V_TTL_CHK_EN_IPV6(x) ((x) << S_TTL_CHK_EN_IPV6)
35761 #define F_TTL_CHK_EN_IPV6 V_TTL_CHK_EN_IPV6(1U)
35763 #define A_MPS_RX_DEFAULT_VNI 0x11268
35766 #define M_VNI 0xffffffU
35767 #define V_VNI(x) ((x) << S_VNI)
35768 #define G_VNI(x) (((x) >> S_VNI) & M_VNI)
35770 #define A_MPS_RX_PRS_CTL 0x1126c
35772 #define S_CTL_CHK_EN 28
35773 #define V_CTL_CHK_EN(x) ((x) << S_CTL_CHK_EN)
35774 #define F_CTL_CHK_EN V_CTL_CHK_EN(1U)
35776 #define S_ORG_CHK_EN 27
35777 #define V_ORG_CHK_EN(x) ((x) << S_ORG_CHK_EN)
35778 #define F_ORG_CHK_EN V_ORG_CHK_EN(1U)
35780 #define S_SAP_CHK_EN 26
35781 #define V_SAP_CHK_EN(x) ((x) << S_SAP_CHK_EN)
35782 #define F_SAP_CHK_EN V_SAP_CHK_EN(1U)
35784 #define S_VXLAN_FLAG_CHK_EN 25
35785 #define V_VXLAN_FLAG_CHK_EN(x) ((x) << S_VXLAN_FLAG_CHK_EN)
35786 #define F_VXLAN_FLAG_CHK_EN V_VXLAN_FLAG_CHK_EN(1U)
35788 #define S_VXLAN_FLAG_MASK 17
35789 #define M_VXLAN_FLAG_MASK 0xffU
35790 #define V_VXLAN_FLAG_MASK(x) ((x) << S_VXLAN_FLAG_MASK)
35791 #define G_VXLAN_FLAG_MASK(x) (((x) >> S_VXLAN_FLAG_MASK) & M_VXLAN_FLAG_MASK)
35793 #define S_VXLAN_FLAG 9
35794 #define M_VXLAN_FLAG 0xffU
35795 #define V_VXLAN_FLAG(x) ((x) << S_VXLAN_FLAG)
35796 #define G_VXLAN_FLAG(x) (((x) >> S_VXLAN_FLAG) & M_VXLAN_FLAG)
35798 #define S_GRE_VER_CHK_EN 8
35799 #define V_GRE_VER_CHK_EN(x) ((x) << S_GRE_VER_CHK_EN)
35800 #define F_GRE_VER_CHK_EN V_GRE_VER_CHK_EN(1U)
35802 #define S_GRE_VER 5
35803 #define M_GRE_VER 0x7U
35804 #define V_GRE_VER(x) ((x) << S_GRE_VER)
35805 #define G_GRE_VER(x) (((x) >> S_GRE_VER) & M_GRE_VER)
35807 #define S_GENEVE_VER_CHK_EN 4
35808 #define V_GENEVE_VER_CHK_EN(x) ((x) << S_GENEVE_VER_CHK_EN)
35809 #define F_GENEVE_VER_CHK_EN V_GENEVE_VER_CHK_EN(1U)
35811 #define S_GENEVE_VER 2
35812 #define M_GENEVE_VER 0x3U
35813 #define V_GENEVE_VER(x) ((x) << S_GENEVE_VER)
35814 #define G_GENEVE_VER(x) (((x) >> S_GENEVE_VER) & M_GENEVE_VER)
35817 #define V_DIP_EN(x) ((x) << S_DIP_EN)
35818 #define F_DIP_EN V_DIP_EN(1U)
35820 #define A_MPS_RX_PRS_CTL_2 0x11270
35822 #define S_EN_UDP_CSUM_CHK 4
35823 #define V_EN_UDP_CSUM_CHK(x) ((x) << S_EN_UDP_CSUM_CHK)
35824 #define F_EN_UDP_CSUM_CHK V_EN_UDP_CSUM_CHK(1U)
35826 #define S_EN_UDP_LEN_CHK 3
35827 #define V_EN_UDP_LEN_CHK(x) ((x) << S_EN_UDP_LEN_CHK)
35828 #define F_EN_UDP_LEN_CHK V_EN_UDP_LEN_CHK(1U)
35830 #define S_EN_IP_CSUM_CHK 2
35831 #define V_EN_IP_CSUM_CHK(x) ((x) << S_EN_IP_CSUM_CHK)
35832 #define F_EN_IP_CSUM_CHK V_EN_IP_CSUM_CHK(1U)
35834 #define S_EN_IP_PAYLOAD_LEN_CHK 1
35835 #define V_EN_IP_PAYLOAD_LEN_CHK(x) ((x) << S_EN_IP_PAYLOAD_LEN_CHK)
35836 #define F_EN_IP_PAYLOAD_LEN_CHK V_EN_IP_PAYLOAD_LEN_CHK(1U)
35838 #define S_T6_IPV6_UDP_CSUM_COMPAT 0
35839 #define V_T6_IPV6_UDP_CSUM_COMPAT(x) ((x) << S_T6_IPV6_UDP_CSUM_COMPAT)
35840 #define F_T6_IPV6_UDP_CSUM_COMPAT V_T6_IPV6_UDP_CSUM_COMPAT(1U)
35842 #define A_MPS_RX_MPS2NCSI_CNT 0x11274
35843 #define A_MPS_RX_MAX_TNL_HDR_LEN 0x11278
35846 #define M_T6_LEN 0x1ffU
35847 #define V_T6_LEN(x) ((x) << S_T6_LEN)
35848 #define G_T6_LEN(x) (((x) >> S_T6_LEN) & M_T6_LEN)
35850 #define A_MPS_RX_PAUSE_DA_H 0x1127c
35851 #define A_MPS_RX_PAUSE_DA_L 0x11280
35852 #define A_MPS_RX_CNT_NVGRE_PKT_MAC0 0x11284
35853 #define A_MPS_RX_CNT_VXLAN_PKT_MAC0 0x11288
35854 #define A_MPS_RX_CNT_GENEVE_PKT_MAC0 0x1128c
35855 #define A_MPS_RX_CNT_TNL_ERR_PKT_MAC0 0x11290
35856 #define A_MPS_RX_CNT_NVGRE_PKT_MAC1 0x11294
35857 #define A_MPS_RX_CNT_VXLAN_PKT_MAC1 0x11298
35858 #define A_MPS_RX_CNT_GENEVE_PKT_MAC1 0x1129c
35859 #define A_MPS_RX_CNT_TNL_ERR_PKT_MAC1 0x112a0
35860 #define A_MPS_RX_CNT_NVGRE_PKT_LPBK0 0x112a4
35861 #define A_MPS_RX_CNT_VXLAN_PKT_LPBK0 0x112a8
35862 #define A_MPS_RX_CNT_GENEVE_PKT_LPBK0 0x112ac
35863 #define A_MPS_RX_CNT_TNL_ERR_PKT_LPBK0 0x112b0
35864 #define A_MPS_RX_CNT_NVGRE_PKT_LPBK1 0x112b4
35865 #define A_MPS_RX_CNT_VXLAN_PKT_LPBK1 0x112b8
35866 #define A_MPS_RX_CNT_GENEVE_PKT_LPBK1 0x112bc
35867 #define A_MPS_RX_CNT_TNL_ERR_PKT_LPBK1 0x112c0
35868 #define A_MPS_RX_CNT_NVGRE_PKT_TO_TP0 0x112c4
35869 #define A_MPS_RX_CNT_VXLAN_PKT_TO_TP0 0x112c8
35870 #define A_MPS_RX_CNT_GENEVE_PKT_TO_TP0 0x112cc
35871 #define A_MPS_RX_CNT_TNL_ERR_PKT_TO_TP0 0x112d0
35872 #define A_MPS_RX_CNT_NVGRE_PKT_TO_TP1 0x112d4
35873 #define A_MPS_RX_CNT_VXLAN_PKT_TO_TP1 0x112d8
35874 #define A_MPS_RX_CNT_GENEVE_PKT_TO_TP1 0x112dc
35875 #define A_MPS_RX_CNT_TNL_ERR_PKT_TO_TP1 0x112e0
35876 #define A_MPS_VF_RPLCT_MAP4 0x11300
35877 #define A_MPS_VF_RPLCT_MAP5 0x11304
35878 #define A_MPS_VF_RPLCT_MAP6 0x11308
35879 #define A_MPS_VF_RPLCT_MAP7 0x1130c
35880 #define A_MPS_CLS_DIPIPV4_ID_TABLE 0x12000
35881 #define A_MPS_CLS_DIPIPV4_MASK_TABLE 0x12004
35882 #define A_MPS_CLS_DIPIPV6ID_0_TABLE 0x12020
35883 #define A_MPS_CLS_DIPIPV6ID_1_TABLE 0x12024
35884 #define A_MPS_CLS_DIPIPV6ID_2_TABLE 0x12028
35885 #define A_MPS_CLS_DIPIPV6ID_3_TABLE 0x1202c
35886 #define A_MPS_CLS_DIPIPV6MASK_0_TABLE 0x12030
35887 #define A_MPS_CLS_DIPIPV6MASK_1_TABLE 0x12034
35888 #define A_MPS_CLS_DIPIPV6MASK_2_TABLE 0x12038
35889 #define A_MPS_CLS_DIPIPV6MASK_3_TABLE 0x1203c
35890 #define A_MPS_RX_HASH_LKP_TABLE 0x12060
35892 /* registers for module CPL_SWITCH */
35893 #define CPL_SWITCH_BASE_ADDR 0x19040
35895 #define A_CPL_SWITCH_CNTRL 0x19040
35897 #define S_CPL_PKT_TID 8
35898 #define M_CPL_PKT_TID 0xffffffU
35899 #define V_CPL_PKT_TID(x) ((x) << S_CPL_PKT_TID)
35900 #define G_CPL_PKT_TID(x) (((x) >> S_CPL_PKT_TID) & M_CPL_PKT_TID)
35902 #define S_CIM_TRUNCATE_ENABLE 5
35903 #define V_CIM_TRUNCATE_ENABLE(x) ((x) << S_CIM_TRUNCATE_ENABLE)
35904 #define F_CIM_TRUNCATE_ENABLE V_CIM_TRUNCATE_ENABLE(1U)
35906 #define S_CIM_TO_UP_FULL_SIZE 4
35907 #define V_CIM_TO_UP_FULL_SIZE(x) ((x) << S_CIM_TO_UP_FULL_SIZE)
35908 #define F_CIM_TO_UP_FULL_SIZE V_CIM_TO_UP_FULL_SIZE(1U)
35910 #define S_CPU_NO_ENABLE 3
35911 #define V_CPU_NO_ENABLE(x) ((x) << S_CPU_NO_ENABLE)
35912 #define F_CPU_NO_ENABLE V_CPU_NO_ENABLE(1U)
35914 #define S_SWITCH_TABLE_ENABLE 2
35915 #define V_SWITCH_TABLE_ENABLE(x) ((x) << S_SWITCH_TABLE_ENABLE)
35916 #define F_SWITCH_TABLE_ENABLE V_SWITCH_TABLE_ENABLE(1U)
35918 #define S_SGE_ENABLE 1
35919 #define V_SGE_ENABLE(x) ((x) << S_SGE_ENABLE)
35920 #define F_SGE_ENABLE V_SGE_ENABLE(1U)
35922 #define S_CIM_ENABLE 0
35923 #define V_CIM_ENABLE(x) ((x) << S_CIM_ENABLE)
35924 #define F_CIM_ENABLE V_CIM_ENABLE(1U)
35926 #define S_CIM_SPLIT_ENABLE 6
35927 #define V_CIM_SPLIT_ENABLE(x) ((x) << S_CIM_SPLIT_ENABLE)
35928 #define F_CIM_SPLIT_ENABLE V_CIM_SPLIT_ENABLE(1U)
35930 #define A_CPL_SWITCH_TBL_IDX 0x19044
35932 #define S_SWITCH_TBL_IDX 0
35933 #define M_SWITCH_TBL_IDX 0xfU
35934 #define V_SWITCH_TBL_IDX(x) ((x) << S_SWITCH_TBL_IDX)
35935 #define G_SWITCH_TBL_IDX(x) (((x) >> S_SWITCH_TBL_IDX) & M_SWITCH_TBL_IDX)
35937 #define A_CPL_SWITCH_TBL_DATA 0x19048
35938 #define A_CPL_SWITCH_ZERO_ERROR 0x1904c
35940 #define S_ZERO_CMD_CH1 8
35941 #define M_ZERO_CMD_CH1 0xffU
35942 #define V_ZERO_CMD_CH1(x) ((x) << S_ZERO_CMD_CH1)
35943 #define G_ZERO_CMD_CH1(x) (((x) >> S_ZERO_CMD_CH1) & M_ZERO_CMD_CH1)
35945 #define S_ZERO_CMD_CH0 0
35946 #define M_ZERO_CMD_CH0 0xffU
35947 #define V_ZERO_CMD_CH0(x) ((x) << S_ZERO_CMD_CH0)
35948 #define G_ZERO_CMD_CH0(x) (((x) >> S_ZERO_CMD_CH0) & M_ZERO_CMD_CH0)
35950 #define A_CPL_INTR_ENABLE 0x19050
35952 #define S_CIM_OP_MAP_PERR 5
35953 #define V_CIM_OP_MAP_PERR(x) ((x) << S_CIM_OP_MAP_PERR)
35954 #define F_CIM_OP_MAP_PERR V_CIM_OP_MAP_PERR(1U)
35956 #define S_CIM_OVFL_ERROR 4
35957 #define V_CIM_OVFL_ERROR(x) ((x) << S_CIM_OVFL_ERROR)
35958 #define F_CIM_OVFL_ERROR V_CIM_OVFL_ERROR(1U)
35960 #define S_TP_FRAMING_ERROR 3
35961 #define V_TP_FRAMING_ERROR(x) ((x) << S_TP_FRAMING_ERROR)
35962 #define F_TP_FRAMING_ERROR V_TP_FRAMING_ERROR(1U)
35964 #define S_SGE_FRAMING_ERROR 2
35965 #define V_SGE_FRAMING_ERROR(x) ((x) << S_SGE_FRAMING_ERROR)
35966 #define F_SGE_FRAMING_ERROR V_SGE_FRAMING_ERROR(1U)
35968 #define S_CIM_FRAMING_ERROR 1
35969 #define V_CIM_FRAMING_ERROR(x) ((x) << S_CIM_FRAMING_ERROR)
35970 #define F_CIM_FRAMING_ERROR V_CIM_FRAMING_ERROR(1U)
35972 #define S_ZERO_SWITCH_ERROR 0
35973 #define V_ZERO_SWITCH_ERROR(x) ((x) << S_ZERO_SWITCH_ERROR)
35974 #define F_ZERO_SWITCH_ERROR V_ZERO_SWITCH_ERROR(1U)
35976 #define S_PERR_CPL_128TO128_1 7
35977 #define V_PERR_CPL_128TO128_1(x) ((x) << S_PERR_CPL_128TO128_1)
35978 #define F_PERR_CPL_128TO128_1 V_PERR_CPL_128TO128_1(1U)
35980 #define S_PERR_CPL_128TO128_0 6
35981 #define V_PERR_CPL_128TO128_0(x) ((x) << S_PERR_CPL_128TO128_0)
35982 #define F_PERR_CPL_128TO128_0 V_PERR_CPL_128TO128_0(1U)
35984 #define A_CPL_INTR_CAUSE 0x19054
35985 #define A_CPL_MAP_TBL_IDX 0x19058
35987 #define S_MAP_TBL_IDX 0
35988 #define M_MAP_TBL_IDX 0xffU
35989 #define V_MAP_TBL_IDX(x) ((x) << S_MAP_TBL_IDX)
35990 #define G_MAP_TBL_IDX(x) (((x) >> S_MAP_TBL_IDX) & M_MAP_TBL_IDX)
35992 #define S_CIM_SPLIT_OPCODE_PROGRAM 8
35993 #define V_CIM_SPLIT_OPCODE_PROGRAM(x) ((x) << S_CIM_SPLIT_OPCODE_PROGRAM)
35994 #define F_CIM_SPLIT_OPCODE_PROGRAM V_CIM_SPLIT_OPCODE_PROGRAM(1U)
35996 #define A_CPL_MAP_TBL_DATA 0x1905c
35998 #define S_MAP_TBL_DATA 0
35999 #define M_MAP_TBL_DATA 0xffU
36000 #define V_MAP_TBL_DATA(x) ((x) << S_MAP_TBL_DATA)
36001 #define G_MAP_TBL_DATA(x) (((x) >> S_MAP_TBL_DATA) & M_MAP_TBL_DATA)
36003 /* registers for module SMB */
36004 #define SMB_BASE_ADDR 0x19060
36006 #define A_SMB_GLOBAL_TIME_CFG 0x19060
36008 #define S_MACROCNTCFG 8
36009 #define M_MACROCNTCFG 0x1fU
36010 #define V_MACROCNTCFG(x) ((x) << S_MACROCNTCFG)
36011 #define G_MACROCNTCFG(x) (((x) >> S_MACROCNTCFG) & M_MACROCNTCFG)
36013 #define S_MICROCNTCFG 0
36014 #define M_MICROCNTCFG 0xffU
36015 #define V_MICROCNTCFG(x) ((x) << S_MICROCNTCFG)
36016 #define G_MICROCNTCFG(x) (((x) >> S_MICROCNTCFG) & M_MICROCNTCFG)
36018 #define A_SMB_MST_TIMEOUT_CFG 0x19064
36020 #define S_MSTTIMEOUTCFG 0
36021 #define M_MSTTIMEOUTCFG 0xffffffU
36022 #define V_MSTTIMEOUTCFG(x) ((x) << S_MSTTIMEOUTCFG)
36023 #define G_MSTTIMEOUTCFG(x) (((x) >> S_MSTTIMEOUTCFG) & M_MSTTIMEOUTCFG)
36025 #define A_SMB_MST_CTL_CFG 0x19068
36027 #define S_MSTFIFODBG 31
36028 #define V_MSTFIFODBG(x) ((x) << S_MSTFIFODBG)
36029 #define F_MSTFIFODBG V_MSTFIFODBG(1U)
36031 #define S_MSTFIFODBGCLR 30
36032 #define V_MSTFIFODBGCLR(x) ((x) << S_MSTFIFODBGCLR)
36033 #define F_MSTFIFODBGCLR V_MSTFIFODBGCLR(1U)
36035 #define S_MSTRXBYTECFG 12
36036 #define M_MSTRXBYTECFG 0x3fU
36037 #define V_MSTRXBYTECFG(x) ((x) << S_MSTRXBYTECFG)
36038 #define G_MSTRXBYTECFG(x) (((x) >> S_MSTRXBYTECFG) & M_MSTRXBYTECFG)
36040 #define S_MSTTXBYTECFG 6
36041 #define M_MSTTXBYTECFG 0x3fU
36042 #define V_MSTTXBYTECFG(x) ((x) << S_MSTTXBYTECFG)
36043 #define G_MSTTXBYTECFG(x) (((x) >> S_MSTTXBYTECFG) & M_MSTTXBYTECFG)
36045 #define S_MSTRESET 1
36046 #define V_MSTRESET(x) ((x) << S_MSTRESET)
36047 #define F_MSTRESET V_MSTRESET(1U)
36049 #define S_MSTCTLEN 0
36050 #define V_MSTCTLEN(x) ((x) << S_MSTCTLEN)
36051 #define F_MSTCTLEN V_MSTCTLEN(1U)
36053 #define A_SMB_MST_CTL_STS 0x1906c
36055 #define S_MSTRXBYTECNT 12
36056 #define M_MSTRXBYTECNT 0x3fU
36057 #define V_MSTRXBYTECNT(x) ((x) << S_MSTRXBYTECNT)
36058 #define G_MSTRXBYTECNT(x) (((x) >> S_MSTRXBYTECNT) & M_MSTRXBYTECNT)
36060 #define S_MSTTXBYTECNT 6
36061 #define M_MSTTXBYTECNT 0x3fU
36062 #define V_MSTTXBYTECNT(x) ((x) << S_MSTTXBYTECNT)
36063 #define G_MSTTXBYTECNT(x) (((x) >> S_MSTTXBYTECNT) & M_MSTTXBYTECNT)
36065 #define S_MSTBUSYSTS 0
36066 #define V_MSTBUSYSTS(x) ((x) << S_MSTBUSYSTS)
36067 #define F_MSTBUSYSTS V_MSTBUSYSTS(1U)
36069 #define A_SMB_MST_TX_FIFO_RDWR 0x19070
36070 #define A_SMB_MST_RX_FIFO_RDWR 0x19074
36071 #define A_SMB_SLV_TIMEOUT_CFG 0x19078
36073 #define S_SLVTIMEOUTCFG 0
36074 #define M_SLVTIMEOUTCFG 0xffffffU
36075 #define V_SLVTIMEOUTCFG(x) ((x) << S_SLVTIMEOUTCFG)
36076 #define G_SLVTIMEOUTCFG(x) (((x) >> S_SLVTIMEOUTCFG) & M_SLVTIMEOUTCFG)
36078 #define A_SMB_SLV_CTL_CFG 0x1907c
36080 #define S_SLVFIFODBG 31
36081 #define V_SLVFIFODBG(x) ((x) << S_SLVFIFODBG)
36082 #define F_SLVFIFODBG V_SLVFIFODBG(1U)
36084 #define S_SLVFIFODBGCLR 30
36085 #define V_SLVFIFODBGCLR(x) ((x) << S_SLVFIFODBGCLR)
36086 #define F_SLVFIFODBGCLR V_SLVFIFODBGCLR(1U)
36088 #define S_SLVCRCOUTBITINV 21
36089 #define V_SLVCRCOUTBITINV(x) ((x) << S_SLVCRCOUTBITINV)
36090 #define F_SLVCRCOUTBITINV V_SLVCRCOUTBITINV(1U)
36092 #define S_SLVCRCOUTBITREV 20
36093 #define V_SLVCRCOUTBITREV(x) ((x) << S_SLVCRCOUTBITREV)
36094 #define F_SLVCRCOUTBITREV V_SLVCRCOUTBITREV(1U)
36096 #define S_SLVCRCINBITREV 19
36097 #define V_SLVCRCINBITREV(x) ((x) << S_SLVCRCINBITREV)
36098 #define F_SLVCRCINBITREV V_SLVCRCINBITREV(1U)
36100 #define S_SLVCRCPRESET 11
36101 #define M_SLVCRCPRESET 0xffU
36102 #define V_SLVCRCPRESET(x) ((x) << S_SLVCRCPRESET)
36103 #define G_SLVCRCPRESET(x) (((x) >> S_SLVCRCPRESET) & M_SLVCRCPRESET)
36105 #define S_SLVADDRCFG 4
36106 #define M_SLVADDRCFG 0x7fU
36107 #define V_SLVADDRCFG(x) ((x) << S_SLVADDRCFG)
36108 #define G_SLVADDRCFG(x) (((x) >> S_SLVADDRCFG) & M_SLVADDRCFG)
36110 #define S_SLVALRTSET 2
36111 #define V_SLVALRTSET(x) ((x) << S_SLVALRTSET)
36112 #define F_SLVALRTSET V_SLVALRTSET(1U)
36114 #define S_SLVRESET 1
36115 #define V_SLVRESET(x) ((x) << S_SLVRESET)
36116 #define F_SLVRESET V_SLVRESET(1U)
36118 #define S_SLVCTLEN 0
36119 #define V_SLVCTLEN(x) ((x) << S_SLVCTLEN)
36120 #define F_SLVCTLEN V_SLVCTLEN(1U)
36122 #define A_SMB_SLV_CTL_STS 0x19080
36124 #define S_SLVFIFOTXCNT 12
36125 #define M_SLVFIFOTXCNT 0x3fU
36126 #define V_SLVFIFOTXCNT(x) ((x) << S_SLVFIFOTXCNT)
36127 #define G_SLVFIFOTXCNT(x) (((x) >> S_SLVFIFOTXCNT) & M_SLVFIFOTXCNT)
36129 #define S_SLVFIFOCNT 6
36130 #define M_SLVFIFOCNT 0x3fU
36131 #define V_SLVFIFOCNT(x) ((x) << S_SLVFIFOCNT)
36132 #define G_SLVFIFOCNT(x) (((x) >> S_SLVFIFOCNT) & M_SLVFIFOCNT)
36134 #define S_SLVALRTSTS 2
36135 #define V_SLVALRTSTS(x) ((x) << S_SLVALRTSTS)
36136 #define F_SLVALRTSTS V_SLVALRTSTS(1U)
36138 #define S_SLVBUSYSTS 0
36139 #define V_SLVBUSYSTS(x) ((x) << S_SLVBUSYSTS)
36140 #define F_SLVBUSYSTS V_SLVBUSYSTS(1U)
36142 #define A_SMB_SLV_FIFO_RDWR 0x19084
36143 #define A_SMB_INT_ENABLE 0x1908c
36145 #define S_MSTTXFIFOPAREN 21
36146 #define V_MSTTXFIFOPAREN(x) ((x) << S_MSTTXFIFOPAREN)
36147 #define F_MSTTXFIFOPAREN V_MSTTXFIFOPAREN(1U)
36149 #define S_MSTRXFIFOPAREN 20
36150 #define V_MSTRXFIFOPAREN(x) ((x) << S_MSTRXFIFOPAREN)
36151 #define F_MSTRXFIFOPAREN V_MSTRXFIFOPAREN(1U)
36153 #define S_SLVFIFOPAREN 19
36154 #define V_SLVFIFOPAREN(x) ((x) << S_SLVFIFOPAREN)
36155 #define F_SLVFIFOPAREN V_SLVFIFOPAREN(1U)
36157 #define S_SLVUNEXPBUSSTOPEN 18
36158 #define V_SLVUNEXPBUSSTOPEN(x) ((x) << S_SLVUNEXPBUSSTOPEN)
36159 #define F_SLVUNEXPBUSSTOPEN V_SLVUNEXPBUSSTOPEN(1U)
36161 #define S_SLVUNEXPBUSSTARTEN 17
36162 #define V_SLVUNEXPBUSSTARTEN(x) ((x) << S_SLVUNEXPBUSSTARTEN)
36163 #define F_SLVUNEXPBUSSTARTEN V_SLVUNEXPBUSSTARTEN(1U)
36165 #define S_SLVCOMMANDCODEINVEN 16
36166 #define V_SLVCOMMANDCODEINVEN(x) ((x) << S_SLVCOMMANDCODEINVEN)
36167 #define F_SLVCOMMANDCODEINVEN V_SLVCOMMANDCODEINVEN(1U)
36169 #define S_SLVBYTECNTERREN 15
36170 #define V_SLVBYTECNTERREN(x) ((x) << S_SLVBYTECNTERREN)
36171 #define F_SLVBYTECNTERREN V_SLVBYTECNTERREN(1U)
36173 #define S_SLVUNEXPACKMSTEN 14
36174 #define V_SLVUNEXPACKMSTEN(x) ((x) << S_SLVUNEXPACKMSTEN)
36175 #define F_SLVUNEXPACKMSTEN V_SLVUNEXPACKMSTEN(1U)
36177 #define S_SLVUNEXPNACKMSTEN 13
36178 #define V_SLVUNEXPNACKMSTEN(x) ((x) << S_SLVUNEXPNACKMSTEN)
36179 #define F_SLVUNEXPNACKMSTEN V_SLVUNEXPNACKMSTEN(1U)
36181 #define S_SLVNOBUSSTOPEN 12
36182 #define V_SLVNOBUSSTOPEN(x) ((x) << S_SLVNOBUSSTOPEN)
36183 #define F_SLVNOBUSSTOPEN V_SLVNOBUSSTOPEN(1U)
36185 #define S_SLVNOREPSTARTEN 11
36186 #define V_SLVNOREPSTARTEN(x) ((x) << S_SLVNOREPSTARTEN)
36187 #define F_SLVNOREPSTARTEN V_SLVNOREPSTARTEN(1U)
36189 #define S_SLVRXADDRINTEN 10
36190 #define V_SLVRXADDRINTEN(x) ((x) << S_SLVRXADDRINTEN)
36191 #define F_SLVRXADDRINTEN V_SLVRXADDRINTEN(1U)
36193 #define S_SLVRXPECERRINTEN 9
36194 #define V_SLVRXPECERRINTEN(x) ((x) << S_SLVRXPECERRINTEN)
36195 #define F_SLVRXPECERRINTEN V_SLVRXPECERRINTEN(1U)
36197 #define S_SLVPREPTOARPINTEN 8
36198 #define V_SLVPREPTOARPINTEN(x) ((x) << S_SLVPREPTOARPINTEN)
36199 #define F_SLVPREPTOARPINTEN V_SLVPREPTOARPINTEN(1U)
36201 #define S_SLVTIMEOUTINTEN 7
36202 #define V_SLVTIMEOUTINTEN(x) ((x) << S_SLVTIMEOUTINTEN)
36203 #define F_SLVTIMEOUTINTEN V_SLVTIMEOUTINTEN(1U)
36205 #define S_SLVERRINTEN 6
36206 #define V_SLVERRINTEN(x) ((x) << S_SLVERRINTEN)
36207 #define F_SLVERRINTEN V_SLVERRINTEN(1U)
36209 #define S_SLVDONEINTEN 5
36210 #define V_SLVDONEINTEN(x) ((x) << S_SLVDONEINTEN)
36211 #define F_SLVDONEINTEN V_SLVDONEINTEN(1U)
36213 #define S_SLVRXRDYINTEN 4
36214 #define V_SLVRXRDYINTEN(x) ((x) << S_SLVRXRDYINTEN)
36215 #define F_SLVRXRDYINTEN V_SLVRXRDYINTEN(1U)
36217 #define S_MSTTIMEOUTINTEN 3
36218 #define V_MSTTIMEOUTINTEN(x) ((x) << S_MSTTIMEOUTINTEN)
36219 #define F_MSTTIMEOUTINTEN V_MSTTIMEOUTINTEN(1U)
36221 #define S_MSTNACKINTEN 2
36222 #define V_MSTNACKINTEN(x) ((x) << S_MSTNACKINTEN)
36223 #define F_MSTNACKINTEN V_MSTNACKINTEN(1U)
36225 #define S_MSTLOSTARBINTEN 1
36226 #define V_MSTLOSTARBINTEN(x) ((x) << S_MSTLOSTARBINTEN)
36227 #define F_MSTLOSTARBINTEN V_MSTLOSTARBINTEN(1U)
36229 #define S_MSTDONEINTEN 0
36230 #define V_MSTDONEINTEN(x) ((x) << S_MSTDONEINTEN)
36231 #define F_MSTDONEINTEN V_MSTDONEINTEN(1U)
36233 #define A_SMB_INT_CAUSE 0x19090
36235 #define S_MSTTXFIFOPARINT 21
36236 #define V_MSTTXFIFOPARINT(x) ((x) << S_MSTTXFIFOPARINT)
36237 #define F_MSTTXFIFOPARINT V_MSTTXFIFOPARINT(1U)
36239 #define S_MSTRXFIFOPARINT 20
36240 #define V_MSTRXFIFOPARINT(x) ((x) << S_MSTRXFIFOPARINT)
36241 #define F_MSTRXFIFOPARINT V_MSTRXFIFOPARINT(1U)
36243 #define S_SLVFIFOPARINT 19
36244 #define V_SLVFIFOPARINT(x) ((x) << S_SLVFIFOPARINT)
36245 #define F_SLVFIFOPARINT V_SLVFIFOPARINT(1U)
36247 #define S_SLVUNEXPBUSSTOPINT 18
36248 #define V_SLVUNEXPBUSSTOPINT(x) ((x) << S_SLVUNEXPBUSSTOPINT)
36249 #define F_SLVUNEXPBUSSTOPINT V_SLVUNEXPBUSSTOPINT(1U)
36251 #define S_SLVUNEXPBUSSTARTINT 17
36252 #define V_SLVUNEXPBUSSTARTINT(x) ((x) << S_SLVUNEXPBUSSTARTINT)
36253 #define F_SLVUNEXPBUSSTARTINT V_SLVUNEXPBUSSTARTINT(1U)
36255 #define S_SLVCOMMANDCODEINVINT 16
36256 #define V_SLVCOMMANDCODEINVINT(x) ((x) << S_SLVCOMMANDCODEINVINT)
36257 #define F_SLVCOMMANDCODEINVINT V_SLVCOMMANDCODEINVINT(1U)
36259 #define S_SLVBYTECNTERRINT 15
36260 #define V_SLVBYTECNTERRINT(x) ((x) << S_SLVBYTECNTERRINT)
36261 #define F_SLVBYTECNTERRINT V_SLVBYTECNTERRINT(1U)
36263 #define S_SLVUNEXPACKMSTINT 14
36264 #define V_SLVUNEXPACKMSTINT(x) ((x) << S_SLVUNEXPACKMSTINT)
36265 #define F_SLVUNEXPACKMSTINT V_SLVUNEXPACKMSTINT(1U)
36267 #define S_SLVUNEXPNACKMSTINT 13
36268 #define V_SLVUNEXPNACKMSTINT(x) ((x) << S_SLVUNEXPNACKMSTINT)
36269 #define F_SLVUNEXPNACKMSTINT V_SLVUNEXPNACKMSTINT(1U)
36271 #define S_SLVNOBUSSTOPINT 12
36272 #define V_SLVNOBUSSTOPINT(x) ((x) << S_SLVNOBUSSTOPINT)
36273 #define F_SLVNOBUSSTOPINT V_SLVNOBUSSTOPINT(1U)
36275 #define S_SLVNOREPSTARTINT 11
36276 #define V_SLVNOREPSTARTINT(x) ((x) << S_SLVNOREPSTARTINT)
36277 #define F_SLVNOREPSTARTINT V_SLVNOREPSTARTINT(1U)
36279 #define S_SLVRXADDRINT 10
36280 #define V_SLVRXADDRINT(x) ((x) << S_SLVRXADDRINT)
36281 #define F_SLVRXADDRINT V_SLVRXADDRINT(1U)
36283 #define S_SLVRXPECERRINT 9
36284 #define V_SLVRXPECERRINT(x) ((x) << S_SLVRXPECERRINT)
36285 #define F_SLVRXPECERRINT V_SLVRXPECERRINT(1U)
36287 #define S_SLVPREPTOARPINT 8
36288 #define V_SLVPREPTOARPINT(x) ((x) << S_SLVPREPTOARPINT)
36289 #define F_SLVPREPTOARPINT V_SLVPREPTOARPINT(1U)
36291 #define S_SLVTIMEOUTINT 7
36292 #define V_SLVTIMEOUTINT(x) ((x) << S_SLVTIMEOUTINT)
36293 #define F_SLVTIMEOUTINT V_SLVTIMEOUTINT(1U)
36295 #define S_SLVERRINT 6
36296 #define V_SLVERRINT(x) ((x) << S_SLVERRINT)
36297 #define F_SLVERRINT V_SLVERRINT(1U)
36299 #define S_SLVDONEINT 5
36300 #define V_SLVDONEINT(x) ((x) << S_SLVDONEINT)
36301 #define F_SLVDONEINT V_SLVDONEINT(1U)
36303 #define S_SLVRXRDYINT 4
36304 #define V_SLVRXRDYINT(x) ((x) << S_SLVRXRDYINT)
36305 #define F_SLVRXRDYINT V_SLVRXRDYINT(1U)
36307 #define S_MSTTIMEOUTINT 3
36308 #define V_MSTTIMEOUTINT(x) ((x) << S_MSTTIMEOUTINT)
36309 #define F_MSTTIMEOUTINT V_MSTTIMEOUTINT(1U)
36311 #define S_MSTNACKINT 2
36312 #define V_MSTNACKINT(x) ((x) << S_MSTNACKINT)
36313 #define F_MSTNACKINT V_MSTNACKINT(1U)
36315 #define S_MSTLOSTARBINT 1
36316 #define V_MSTLOSTARBINT(x) ((x) << S_MSTLOSTARBINT)
36317 #define F_MSTLOSTARBINT V_MSTLOSTARBINT(1U)
36319 #define S_MSTDONEINT 0
36320 #define V_MSTDONEINT(x) ((x) << S_MSTDONEINT)
36321 #define F_MSTDONEINT V_MSTDONEINT(1U)
36323 #define A_SMB_DEBUG_DATA 0x19094
36325 #define S_DEBUGDATAH 16
36326 #define M_DEBUGDATAH 0xffffU
36327 #define V_DEBUGDATAH(x) ((x) << S_DEBUGDATAH)
36328 #define G_DEBUGDATAH(x) (((x) >> S_DEBUGDATAH) & M_DEBUGDATAH)
36330 #define S_DEBUGDATAL 0
36331 #define M_DEBUGDATAL 0xffffU
36332 #define V_DEBUGDATAL(x) ((x) << S_DEBUGDATAL)
36333 #define G_DEBUGDATAL(x) (((x) >> S_DEBUGDATAL) & M_DEBUGDATAL)
36335 #define A_SMB_PERR_EN 0x19098
36337 #define S_MSTTXFIFOPERREN 2
36338 #define V_MSTTXFIFOPERREN(x) ((x) << S_MSTTXFIFOPERREN)
36339 #define F_MSTTXFIFOPERREN V_MSTTXFIFOPERREN(1U)
36341 #define S_MSTRXFIFOPERREN 1
36342 #define V_MSTRXFIFOPERREN(x) ((x) << S_MSTRXFIFOPERREN)
36343 #define F_MSTRXFIFOPERREN V_MSTRXFIFOPERREN(1U)
36345 #define S_SLVFIFOPERREN 0
36346 #define V_SLVFIFOPERREN(x) ((x) << S_SLVFIFOPERREN)
36347 #define F_SLVFIFOPERREN V_SLVFIFOPERREN(1U)
36349 #define S_MSTTXFIFO 21
36350 #define V_MSTTXFIFO(x) ((x) << S_MSTTXFIFO)
36351 #define F_MSTTXFIFO V_MSTTXFIFO(1U)
36353 #define S_MSTRXFIFO 19
36354 #define V_MSTRXFIFO(x) ((x) << S_MSTRXFIFO)
36355 #define F_MSTRXFIFO V_MSTRXFIFO(1U)
36357 #define S_SLVFIFO 18
36358 #define V_SLVFIFO(x) ((x) << S_SLVFIFO)
36359 #define F_SLVFIFO V_SLVFIFO(1U)
36361 #define A_SMB_PERR_INJ 0x1909c
36363 #define S_MSTTXINJDATAERR 3
36364 #define V_MSTTXINJDATAERR(x) ((x) << S_MSTTXINJDATAERR)
36365 #define F_MSTTXINJDATAERR V_MSTTXINJDATAERR(1U)
36367 #define S_MSTRXINJDATAERR 2
36368 #define V_MSTRXINJDATAERR(x) ((x) << S_MSTRXINJDATAERR)
36369 #define F_MSTRXINJDATAERR V_MSTRXINJDATAERR(1U)
36371 #define S_SLVINJDATAERR 1
36372 #define V_SLVINJDATAERR(x) ((x) << S_SLVINJDATAERR)
36373 #define F_SLVINJDATAERR V_SLVINJDATAERR(1U)
36375 #define S_FIFOINJDATAERREN 0
36376 #define V_FIFOINJDATAERREN(x) ((x) << S_FIFOINJDATAERREN)
36377 #define F_FIFOINJDATAERREN V_FIFOINJDATAERREN(1U)
36379 #define A_SMB_SLV_ARP_CTL 0x190a0
36381 #define S_ARPCOMMANDCODE 2
36382 #define M_ARPCOMMANDCODE 0xffU
36383 #define V_ARPCOMMANDCODE(x) ((x) << S_ARPCOMMANDCODE)
36384 #define G_ARPCOMMANDCODE(x) (((x) >> S_ARPCOMMANDCODE) & M_ARPCOMMANDCODE)
36386 #define S_ARPADDRRES 1
36387 #define V_ARPADDRRES(x) ((x) << S_ARPADDRRES)
36388 #define F_ARPADDRRES V_ARPADDRRES(1U)
36390 #define S_ARPADDRVAL 0
36391 #define V_ARPADDRVAL(x) ((x) << S_ARPADDRVAL)
36392 #define F_ARPADDRVAL V_ARPADDRVAL(1U)
36394 #define A_SMB_ARP_UDID0 0x190a4
36395 #define A_SMB_ARP_UDID1 0x190a8
36397 #define S_SUBSYSTEMVENDORID 16
36398 #define M_SUBSYSTEMVENDORID 0xffffU
36399 #define V_SUBSYSTEMVENDORID(x) ((x) << S_SUBSYSTEMVENDORID)
36400 #define G_SUBSYSTEMVENDORID(x) (((x) >> S_SUBSYSTEMVENDORID) & M_SUBSYSTEMVENDORID)
36402 #define S_SUBSYSTEMDEVICEID 0
36403 #define M_SUBSYSTEMDEVICEID 0xffffU
36404 #define V_SUBSYSTEMDEVICEID(x) ((x) << S_SUBSYSTEMDEVICEID)
36405 #define G_SUBSYSTEMDEVICEID(x) (((x) >> S_SUBSYSTEMDEVICEID) & M_SUBSYSTEMDEVICEID)
36407 #define A_SMB_ARP_UDID2 0x190ac
36409 #define S_DEVICEID 16
36410 #define M_DEVICEID 0xffffU
36411 #define V_DEVICEID(x) ((x) << S_DEVICEID)
36412 #define G_DEVICEID(x) (((x) >> S_DEVICEID) & M_DEVICEID)
36414 #define S_INTERFACE 0
36415 #define M_INTERFACE 0xffffU
36416 #define V_INTERFACE(x) ((x) << S_INTERFACE)
36417 #define G_INTERFACE(x) (((x) >> S_INTERFACE) & M_INTERFACE)
36419 #define A_SMB_ARP_UDID3 0x190b0
36421 #define S_DEVICECAP 24
36422 #define M_DEVICECAP 0xffU
36423 #define V_DEVICECAP(x) ((x) << S_DEVICECAP)
36424 #define G_DEVICECAP(x) (((x) >> S_DEVICECAP) & M_DEVICECAP)
36426 #define S_VERSIONID 16
36427 #define M_VERSIONID 0xffU
36428 #define V_VERSIONID(x) ((x) << S_VERSIONID)
36429 #define G_VERSIONID(x) (((x) >> S_VERSIONID) & M_VERSIONID)
36431 #define S_VENDORID 0
36432 #define M_VENDORID 0xffffU
36433 #define V_VENDORID(x) ((x) << S_VENDORID)
36434 #define G_VENDORID(x) (((x) >> S_VENDORID) & M_VENDORID)
36436 #define A_SMB_SLV_AUX_ADDR0 0x190b4
36438 #define S_AUXADDR0VAL 6
36439 #define V_AUXADDR0VAL(x) ((x) << S_AUXADDR0VAL)
36440 #define F_AUXADDR0VAL V_AUXADDR0VAL(1U)
36442 #define S_AUXADDR0 0
36443 #define M_AUXADDR0 0x3fU
36444 #define V_AUXADDR0(x) ((x) << S_AUXADDR0)
36445 #define G_AUXADDR0(x) (((x) >> S_AUXADDR0) & M_AUXADDR0)
36447 #define A_SMB_SLV_AUX_ADDR1 0x190b8
36449 #define S_AUXADDR1VAL 6
36450 #define V_AUXADDR1VAL(x) ((x) << S_AUXADDR1VAL)
36451 #define F_AUXADDR1VAL V_AUXADDR1VAL(1U)
36453 #define S_AUXADDR1 0
36454 #define M_AUXADDR1 0x3fU
36455 #define V_AUXADDR1(x) ((x) << S_AUXADDR1)
36456 #define G_AUXADDR1(x) (((x) >> S_AUXADDR1) & M_AUXADDR1)
36458 #define A_SMB_SLV_AUX_ADDR2 0x190bc
36460 #define S_AUXADDR2VAL 6
36461 #define V_AUXADDR2VAL(x) ((x) << S_AUXADDR2VAL)
36462 #define F_AUXADDR2VAL V_AUXADDR2VAL(1U)
36464 #define S_AUXADDR2 0
36465 #define M_AUXADDR2 0x3fU
36466 #define V_AUXADDR2(x) ((x) << S_AUXADDR2)
36467 #define G_AUXADDR2(x) (((x) >> S_AUXADDR2) & M_AUXADDR2)
36469 #define A_SMB_SLV_AUX_ADDR3 0x190c0
36471 #define S_AUXADDR3VAL 6
36472 #define V_AUXADDR3VAL(x) ((x) << S_AUXADDR3VAL)
36473 #define F_AUXADDR3VAL V_AUXADDR3VAL(1U)
36475 #define S_AUXADDR3 0
36476 #define M_AUXADDR3 0x3fU
36477 #define V_AUXADDR3(x) ((x) << S_AUXADDR3)
36478 #define G_AUXADDR3(x) (((x) >> S_AUXADDR3) & M_AUXADDR3)
36480 #define A_SMB_COMMAND_CODE0 0x190c4
36482 #define S_SMBUSCOMMANDCODE0 0
36483 #define M_SMBUSCOMMANDCODE0 0xffU
36484 #define V_SMBUSCOMMANDCODE0(x) ((x) << S_SMBUSCOMMANDCODE0)
36485 #define G_SMBUSCOMMANDCODE0(x) (((x) >> S_SMBUSCOMMANDCODE0) & M_SMBUSCOMMANDCODE0)
36487 #define A_SMB_COMMAND_CODE1 0x190c8
36489 #define S_SMBUSCOMMANDCODE1 0
36490 #define M_SMBUSCOMMANDCODE1 0xffU
36491 #define V_SMBUSCOMMANDCODE1(x) ((x) << S_SMBUSCOMMANDCODE1)
36492 #define G_SMBUSCOMMANDCODE1(x) (((x) >> S_SMBUSCOMMANDCODE1) & M_SMBUSCOMMANDCODE1)
36494 #define A_SMB_COMMAND_CODE2 0x190cc
36496 #define S_SMBUSCOMMANDCODE2 0
36497 #define M_SMBUSCOMMANDCODE2 0xffU
36498 #define V_SMBUSCOMMANDCODE2(x) ((x) << S_SMBUSCOMMANDCODE2)
36499 #define G_SMBUSCOMMANDCODE2(x) (((x) >> S_SMBUSCOMMANDCODE2) & M_SMBUSCOMMANDCODE2)
36501 #define A_SMB_COMMAND_CODE3 0x190d0
36503 #define S_SMBUSCOMMANDCODE3 0
36504 #define M_SMBUSCOMMANDCODE3 0xffU
36505 #define V_SMBUSCOMMANDCODE3(x) ((x) << S_SMBUSCOMMANDCODE3)
36506 #define G_SMBUSCOMMANDCODE3(x) (((x) >> S_SMBUSCOMMANDCODE3) & M_SMBUSCOMMANDCODE3)
36508 #define A_SMB_COMMAND_CODE4 0x190d4
36510 #define S_SMBUSCOMMANDCODE4 0
36511 #define M_SMBUSCOMMANDCODE4 0xffU
36512 #define V_SMBUSCOMMANDCODE4(x) ((x) << S_SMBUSCOMMANDCODE4)
36513 #define G_SMBUSCOMMANDCODE4(x) (((x) >> S_SMBUSCOMMANDCODE4) & M_SMBUSCOMMANDCODE4)
36515 #define A_SMB_COMMAND_CODE5 0x190d8
36517 #define S_SMBUSCOMMANDCODE5 0
36518 #define M_SMBUSCOMMANDCODE5 0xffU
36519 #define V_SMBUSCOMMANDCODE5(x) ((x) << S_SMBUSCOMMANDCODE5)
36520 #define G_SMBUSCOMMANDCODE5(x) (((x) >> S_SMBUSCOMMANDCODE5) & M_SMBUSCOMMANDCODE5)
36522 #define A_SMB_COMMAND_CODE6 0x190dc
36524 #define S_SMBUSCOMMANDCODE6 0
36525 #define M_SMBUSCOMMANDCODE6 0xffU
36526 #define V_SMBUSCOMMANDCODE6(x) ((x) << S_SMBUSCOMMANDCODE6)
36527 #define G_SMBUSCOMMANDCODE6(x) (((x) >> S_SMBUSCOMMANDCODE6) & M_SMBUSCOMMANDCODE6)
36529 #define A_SMB_COMMAND_CODE7 0x190e0
36531 #define S_SMBUSCOMMANDCODE7 0
36532 #define M_SMBUSCOMMANDCODE7 0xffU
36533 #define V_SMBUSCOMMANDCODE7(x) ((x) << S_SMBUSCOMMANDCODE7)
36534 #define G_SMBUSCOMMANDCODE7(x) (((x) >> S_SMBUSCOMMANDCODE7) & M_SMBUSCOMMANDCODE7)
36536 #define A_SMB_MICRO_CNT_CLK_CFG 0x190e4
36538 #define S_MACROCNTCLKCFG 8
36539 #define M_MACROCNTCLKCFG 0x1fU
36540 #define V_MACROCNTCLKCFG(x) ((x) << S_MACROCNTCLKCFG)
36541 #define G_MACROCNTCLKCFG(x) (((x) >> S_MACROCNTCLKCFG) & M_MACROCNTCLKCFG)
36543 #define S_MICROCNTCLKCFG 0
36544 #define M_MICROCNTCLKCFG 0xffU
36545 #define V_MICROCNTCLKCFG(x) ((x) << S_MICROCNTCLKCFG)
36546 #define G_MICROCNTCLKCFG(x) (((x) >> S_MICROCNTCLKCFG) & M_MICROCNTCLKCFG)
36548 #define A_SMB_CTL_STATUS 0x190e8
36550 #define S_MSTBUSBUSY 2
36551 #define V_MSTBUSBUSY(x) ((x) << S_MSTBUSBUSY)
36552 #define F_MSTBUSBUSY V_MSTBUSBUSY(1U)
36554 #define S_SLVBUSBUSY 1
36555 #define V_SLVBUSBUSY(x) ((x) << S_SLVBUSBUSY)
36556 #define F_SLVBUSBUSY V_SLVBUSBUSY(1U)
36558 #define S_BUSBUSY 0
36559 #define V_BUSBUSY(x) ((x) << S_BUSBUSY)
36560 #define F_BUSBUSY V_BUSBUSY(1U)
36562 /* registers for module I2CM */
36563 #define I2CM_BASE_ADDR 0x190f0
36565 #define A_I2CM_CFG 0x190f0
36567 #define S_I2C_CLKDIV 0
36568 #define M_I2C_CLKDIV 0xfffU
36569 #define V_I2C_CLKDIV(x) ((x) << S_I2C_CLKDIV)
36570 #define G_I2C_CLKDIV(x) (((x) >> S_I2C_CLKDIV) & M_I2C_CLKDIV)
36572 #define S_I2C_CLKDIV16B 0
36573 #define M_I2C_CLKDIV16B 0xffffU
36574 #define V_I2C_CLKDIV16B(x) ((x) << S_I2C_CLKDIV16B)
36575 #define G_I2C_CLKDIV16B(x) (((x) >> S_I2C_CLKDIV16B) & M_I2C_CLKDIV16B)
36577 #define A_I2CM_DATA 0x190f4
36579 #define S_I2C_DATA 0
36580 #define M_I2C_DATA 0xffU
36581 #define V_I2C_DATA(x) ((x) << S_I2C_DATA)
36582 #define G_I2C_DATA(x) (((x) >> S_I2C_DATA) & M_I2C_DATA)
36584 #define A_I2CM_OP 0x190f8
36586 #define S_I2C_ACK 30
36587 #define V_I2C_ACK(x) ((x) << S_I2C_ACK)
36588 #define F_I2C_ACK V_I2C_ACK(1U)
36590 #define S_I2C_CONT 1
36591 #define V_I2C_CONT(x) ((x) << S_I2C_CONT)
36592 #define F_I2C_CONT V_I2C_CONT(1U)
36595 #define V_OP(x) ((x) << S_OP)
36596 #define F_OP V_OP(1U)
36598 /* registers for module MI */
36599 #define MI_BASE_ADDR 0x19100
36601 #define A_MI_CFG 0x19100
36604 #define V_T4_ST(x) ((x) << S_T4_ST)
36605 #define F_T4_ST V_T4_ST(1U)
36608 #define M_CLKDIV 0xffU
36609 #define V_CLKDIV(x) ((x) << S_CLKDIV)
36610 #define G_CLKDIV(x) (((x) >> S_CLKDIV) & M_CLKDIV)
36614 #define V_ST(x) ((x) << S_ST)
36615 #define G_ST(x) (((x) >> S_ST) & M_ST)
36618 #define V_PREEN(x) ((x) << S_PREEN)
36619 #define F_PREEN V_PREEN(1U)
36622 #define V_MDIINV(x) ((x) << S_MDIINV)
36623 #define F_MDIINV V_MDIINV(1U)
36625 #define S_MDIO_1P2V_SEL 0
36626 #define V_MDIO_1P2V_SEL(x) ((x) << S_MDIO_1P2V_SEL)
36627 #define F_MDIO_1P2V_SEL V_MDIO_1P2V_SEL(1U)
36629 #define A_MI_ADDR 0x19104
36631 #define S_PHYADDR 5
36632 #define M_PHYADDR 0x1fU
36633 #define V_PHYADDR(x) ((x) << S_PHYADDR)
36634 #define G_PHYADDR(x) (((x) >> S_PHYADDR) & M_PHYADDR)
36636 #define S_REGADDR 0
36637 #define M_REGADDR 0x1fU
36638 #define V_REGADDR(x) ((x) << S_REGADDR)
36639 #define G_REGADDR(x) (((x) >> S_REGADDR) & M_REGADDR)
36641 #define A_MI_DATA 0x19108
36643 #define S_MDIDATA 0
36644 #define M_MDIDATA 0xffffU
36645 #define V_MDIDATA(x) ((x) << S_MDIDATA)
36646 #define G_MDIDATA(x) (((x) >> S_MDIDATA) & M_MDIDATA)
36648 #define A_MI_OP 0x1910c
36651 #define V_INC(x) ((x) << S_INC)
36652 #define F_INC V_INC(1U)
36655 #define M_MDIOP 0x3U
36656 #define V_MDIOP(x) ((x) << S_MDIOP)
36657 #define G_MDIOP(x) (((x) >> S_MDIOP) & M_MDIOP)
36659 /* registers for module UART */
36660 #define UART_BASE_ADDR 0x19110
36662 #define A_UART_CONFIG 0x19110
36664 #define S_STOPBITS 22
36665 #define M_STOPBITS 0x3U
36666 #define V_STOPBITS(x) ((x) << S_STOPBITS)
36667 #define G_STOPBITS(x) (((x) >> S_STOPBITS) & M_STOPBITS)
36669 #define S_PARITY 20
36670 #define M_PARITY 0x3U
36671 #define V_PARITY(x) ((x) << S_PARITY)
36672 #define G_PARITY(x) (((x) >> S_PARITY) & M_PARITY)
36674 #define S_DATABITS 16
36675 #define M_DATABITS 0xfU
36676 #define V_DATABITS(x) ((x) << S_DATABITS)
36677 #define G_DATABITS(x) (((x) >> S_DATABITS) & M_DATABITS)
36679 #define S_UART_CLKDIV 0
36680 #define M_UART_CLKDIV 0xfffU
36681 #define V_UART_CLKDIV(x) ((x) << S_UART_CLKDIV)
36682 #define G_UART_CLKDIV(x) (((x) >> S_UART_CLKDIV) & M_UART_CLKDIV)
36684 /* registers for module PMU */
36685 #define PMU_BASE_ADDR 0x19120
36687 #define A_PMU_PART_CG_PWRMODE 0x19120
36689 #define S_TPPARTCGEN 14
36690 #define V_TPPARTCGEN(x) ((x) << S_TPPARTCGEN)
36691 #define F_TPPARTCGEN V_TPPARTCGEN(1U)
36693 #define S_PDPPARTCGEN 13
36694 #define V_PDPPARTCGEN(x) ((x) << S_PDPPARTCGEN)
36695 #define F_PDPPARTCGEN V_PDPPARTCGEN(1U)
36697 #define S_PCIEPARTCGEN 12
36698 #define V_PCIEPARTCGEN(x) ((x) << S_PCIEPARTCGEN)
36699 #define F_PCIEPARTCGEN V_PCIEPARTCGEN(1U)
36701 #define S_EDC1PARTCGEN 11
36702 #define V_EDC1PARTCGEN(x) ((x) << S_EDC1PARTCGEN)
36703 #define F_EDC1PARTCGEN V_EDC1PARTCGEN(1U)
36705 #define S_MCPARTCGEN 10
36706 #define V_MCPARTCGEN(x) ((x) << S_MCPARTCGEN)
36707 #define F_MCPARTCGEN V_MCPARTCGEN(1U)
36709 #define S_EDC0PARTCGEN 9
36710 #define V_EDC0PARTCGEN(x) ((x) << S_EDC0PARTCGEN)
36711 #define F_EDC0PARTCGEN V_EDC0PARTCGEN(1U)
36713 #define S_LEPARTCGEN 8
36714 #define V_LEPARTCGEN(x) ((x) << S_LEPARTCGEN)
36715 #define F_LEPARTCGEN V_LEPARTCGEN(1U)
36717 #define S_INITPOWERMODE 0
36718 #define M_INITPOWERMODE 0x3U
36719 #define V_INITPOWERMODE(x) ((x) << S_INITPOWERMODE)
36720 #define G_INITPOWERMODE(x) (((x) >> S_INITPOWERMODE) & M_INITPOWERMODE)
36722 #define S_SGE_PART_CGEN 19
36723 #define V_SGE_PART_CGEN(x) ((x) << S_SGE_PART_CGEN)
36724 #define F_SGE_PART_CGEN V_SGE_PART_CGEN(1U)
36726 #define S_PDP_PART_CGEN 18
36727 #define V_PDP_PART_CGEN(x) ((x) << S_PDP_PART_CGEN)
36728 #define F_PDP_PART_CGEN V_PDP_PART_CGEN(1U)
36730 #define S_TP_PART_CGEN 17
36731 #define V_TP_PART_CGEN(x) ((x) << S_TP_PART_CGEN)
36732 #define F_TP_PART_CGEN V_TP_PART_CGEN(1U)
36734 #define S_EDC0_PART_CGEN 16
36735 #define V_EDC0_PART_CGEN(x) ((x) << S_EDC0_PART_CGEN)
36736 #define F_EDC0_PART_CGEN V_EDC0_PART_CGEN(1U)
36738 #define S_EDC1_PART_CGEN 15
36739 #define V_EDC1_PART_CGEN(x) ((x) << S_EDC1_PART_CGEN)
36740 #define F_EDC1_PART_CGEN V_EDC1_PART_CGEN(1U)
36742 #define S_LE_PART_CGEN 14
36743 #define V_LE_PART_CGEN(x) ((x) << S_LE_PART_CGEN)
36744 #define F_LE_PART_CGEN V_LE_PART_CGEN(1U)
36746 #define S_MA_PART_CGEN 13
36747 #define V_MA_PART_CGEN(x) ((x) << S_MA_PART_CGEN)
36748 #define F_MA_PART_CGEN V_MA_PART_CGEN(1U)
36750 #define S_MC0_PART_CGEN 12
36751 #define V_MC0_PART_CGEN(x) ((x) << S_MC0_PART_CGEN)
36752 #define F_MC0_PART_CGEN V_MC0_PART_CGEN(1U)
36754 #define S_MC1_PART_CGEN 11
36755 #define V_MC1_PART_CGEN(x) ((x) << S_MC1_PART_CGEN)
36756 #define F_MC1_PART_CGEN V_MC1_PART_CGEN(1U)
36758 #define S_PCIE_PART_CGEN 10
36759 #define V_PCIE_PART_CGEN(x) ((x) << S_PCIE_PART_CGEN)
36760 #define F_PCIE_PART_CGEN V_PCIE_PART_CGEN(1U)
36762 #define S_PL_DIS_PRTY_CHK 20
36763 #define V_PL_DIS_PRTY_CHK(x) ((x) << S_PL_DIS_PRTY_CHK)
36764 #define F_PL_DIS_PRTY_CHK V_PL_DIS_PRTY_CHK(1U)
36766 #define A_PMU_SLEEPMODE_WAKEUP 0x19124
36768 #define S_HWWAKEUPEN 5
36769 #define V_HWWAKEUPEN(x) ((x) << S_HWWAKEUPEN)
36770 #define F_HWWAKEUPEN V_HWWAKEUPEN(1U)
36772 #define S_PORT3SLEEPMODE 4
36773 #define V_PORT3SLEEPMODE(x) ((x) << S_PORT3SLEEPMODE)
36774 #define F_PORT3SLEEPMODE V_PORT3SLEEPMODE(1U)
36776 #define S_PORT2SLEEPMODE 3
36777 #define V_PORT2SLEEPMODE(x) ((x) << S_PORT2SLEEPMODE)
36778 #define F_PORT2SLEEPMODE V_PORT2SLEEPMODE(1U)
36780 #define S_PORT1SLEEPMODE 2
36781 #define V_PORT1SLEEPMODE(x) ((x) << S_PORT1SLEEPMODE)
36782 #define F_PORT1SLEEPMODE V_PORT1SLEEPMODE(1U)
36784 #define S_PORT0SLEEPMODE 1
36785 #define V_PORT0SLEEPMODE(x) ((x) << S_PORT0SLEEPMODE)
36786 #define F_PORT0SLEEPMODE V_PORT0SLEEPMODE(1U)
36789 #define V_WAKEUP(x) ((x) << S_WAKEUP)
36790 #define F_WAKEUP V_WAKEUP(1U)
36792 #define S_GLOBALDEEPSLEEPEN 6
36793 #define V_GLOBALDEEPSLEEPEN(x) ((x) << S_GLOBALDEEPSLEEPEN)
36794 #define F_GLOBALDEEPSLEEPEN V_GLOBALDEEPSLEEPEN(1U)
36796 /* registers for module ULP_RX */
36797 #define ULP_RX_BASE_ADDR 0x19150
36799 #define A_ULP_RX_CTL 0x19150
36801 #define S_PCMD1THRESHOLD 24
36802 #define M_PCMD1THRESHOLD 0xffU
36803 #define V_PCMD1THRESHOLD(x) ((x) << S_PCMD1THRESHOLD)
36804 #define G_PCMD1THRESHOLD(x) (((x) >> S_PCMD1THRESHOLD) & M_PCMD1THRESHOLD)
36806 #define S_PCMD0THRESHOLD 16
36807 #define M_PCMD0THRESHOLD 0xffU
36808 #define V_PCMD0THRESHOLD(x) ((x) << S_PCMD0THRESHOLD)
36809 #define G_PCMD0THRESHOLD(x) (((x) >> S_PCMD0THRESHOLD) & M_PCMD0THRESHOLD)
36811 #define S_DISABLE_0B_STAG_ERR 14
36812 #define V_DISABLE_0B_STAG_ERR(x) ((x) << S_DISABLE_0B_STAG_ERR)
36813 #define F_DISABLE_0B_STAG_ERR V_DISABLE_0B_STAG_ERR(1U)
36815 #define S_RDMA_0B_WR_OPCODE 10
36816 #define M_RDMA_0B_WR_OPCODE 0xfU
36817 #define V_RDMA_0B_WR_OPCODE(x) ((x) << S_RDMA_0B_WR_OPCODE)
36818 #define G_RDMA_0B_WR_OPCODE(x) (((x) >> S_RDMA_0B_WR_OPCODE) & M_RDMA_0B_WR_OPCODE)
36820 #define S_RDMA_0B_WR_PASS 9
36821 #define V_RDMA_0B_WR_PASS(x) ((x) << S_RDMA_0B_WR_PASS)
36822 #define F_RDMA_0B_WR_PASS V_RDMA_0B_WR_PASS(1U)
36824 #define S_STAG_RQE 8
36825 #define V_STAG_RQE(x) ((x) << S_STAG_RQE)
36826 #define F_STAG_RQE V_STAG_RQE(1U)
36828 #define S_RDMA_STATE_EN 7
36829 #define V_RDMA_STATE_EN(x) ((x) << S_RDMA_STATE_EN)
36830 #define F_RDMA_STATE_EN V_RDMA_STATE_EN(1U)
36832 #define S_CRC1_EN 6
36833 #define V_CRC1_EN(x) ((x) << S_CRC1_EN)
36834 #define F_CRC1_EN V_CRC1_EN(1U)
36836 #define S_RDMA_0B_WR_CQE 5
36837 #define V_RDMA_0B_WR_CQE(x) ((x) << S_RDMA_0B_WR_CQE)
36838 #define F_RDMA_0B_WR_CQE V_RDMA_0B_WR_CQE(1U)
36840 #define S_PCIE_ATRB_EN 4
36841 #define V_PCIE_ATRB_EN(x) ((x) << S_PCIE_ATRB_EN)
36842 #define F_PCIE_ATRB_EN V_PCIE_ATRB_EN(1U)
36844 #define S_RDMA_PERMISSIVE_MODE 3
36845 #define V_RDMA_PERMISSIVE_MODE(x) ((x) << S_RDMA_PERMISSIVE_MODE)
36846 #define F_RDMA_PERMISSIVE_MODE V_RDMA_PERMISSIVE_MODE(1U)
36848 #define S_PAGEPODME 2
36849 #define V_PAGEPODME(x) ((x) << S_PAGEPODME)
36850 #define F_PAGEPODME V_PAGEPODME(1U)
36852 #define S_ISCSITAGTCB 1
36853 #define V_ISCSITAGTCB(x) ((x) << S_ISCSITAGTCB)
36854 #define F_ISCSITAGTCB V_ISCSITAGTCB(1U)
36856 #define S_TDDPTAGTCB 0
36857 #define V_TDDPTAGTCB(x) ((x) << S_TDDPTAGTCB)
36858 #define F_TDDPTAGTCB V_TDDPTAGTCB(1U)
36860 #define A_ULP_RX_INT_ENABLE 0x19154
36862 #define S_ENABLE_CTX_1 24
36863 #define V_ENABLE_CTX_1(x) ((x) << S_ENABLE_CTX_1)
36864 #define F_ENABLE_CTX_1 V_ENABLE_CTX_1(1U)
36866 #define S_ENABLE_CTX_0 23
36867 #define V_ENABLE_CTX_0(x) ((x) << S_ENABLE_CTX_0)
36868 #define F_ENABLE_CTX_0 V_ENABLE_CTX_0(1U)
36870 #define S_ENABLE_FF 22
36871 #define V_ENABLE_FF(x) ((x) << S_ENABLE_FF)
36872 #define F_ENABLE_FF V_ENABLE_FF(1U)
36874 #define S_ENABLE_APF_1 21
36875 #define V_ENABLE_APF_1(x) ((x) << S_ENABLE_APF_1)
36876 #define F_ENABLE_APF_1 V_ENABLE_APF_1(1U)
36878 #define S_ENABLE_APF_0 20
36879 #define V_ENABLE_APF_0(x) ((x) << S_ENABLE_APF_0)
36880 #define F_ENABLE_APF_0 V_ENABLE_APF_0(1U)
36882 #define S_ENABLE_AF_1 19
36883 #define V_ENABLE_AF_1(x) ((x) << S_ENABLE_AF_1)
36884 #define F_ENABLE_AF_1 V_ENABLE_AF_1(1U)
36886 #define S_ENABLE_AF_0 18
36887 #define V_ENABLE_AF_0(x) ((x) << S_ENABLE_AF_0)
36888 #define F_ENABLE_AF_0 V_ENABLE_AF_0(1U)
36890 #define S_ENABLE_DDPDF_1 17
36891 #define V_ENABLE_DDPDF_1(x) ((x) << S_ENABLE_DDPDF_1)
36892 #define F_ENABLE_DDPDF_1 V_ENABLE_DDPDF_1(1U)
36894 #define S_ENABLE_DDPMF_1 16
36895 #define V_ENABLE_DDPMF_1(x) ((x) << S_ENABLE_DDPMF_1)
36896 #define F_ENABLE_DDPMF_1 V_ENABLE_DDPMF_1(1U)
36898 #define S_ENABLE_MEMRF_1 15
36899 #define V_ENABLE_MEMRF_1(x) ((x) << S_ENABLE_MEMRF_1)
36900 #define F_ENABLE_MEMRF_1 V_ENABLE_MEMRF_1(1U)
36902 #define S_ENABLE_PRSDF_1 14
36903 #define V_ENABLE_PRSDF_1(x) ((x) << S_ENABLE_PRSDF_1)
36904 #define F_ENABLE_PRSDF_1 V_ENABLE_PRSDF_1(1U)
36906 #define S_ENABLE_DDPDF_0 13
36907 #define V_ENABLE_DDPDF_0(x) ((x) << S_ENABLE_DDPDF_0)
36908 #define F_ENABLE_DDPDF_0 V_ENABLE_DDPDF_0(1U)
36910 #define S_ENABLE_DDPMF_0 12
36911 #define V_ENABLE_DDPMF_0(x) ((x) << S_ENABLE_DDPMF_0)
36912 #define F_ENABLE_DDPMF_0 V_ENABLE_DDPMF_0(1U)
36914 #define S_ENABLE_MEMRF_0 11
36915 #define V_ENABLE_MEMRF_0(x) ((x) << S_ENABLE_MEMRF_0)
36916 #define F_ENABLE_MEMRF_0 V_ENABLE_MEMRF_0(1U)
36918 #define S_ENABLE_PRSDF_0 10
36919 #define V_ENABLE_PRSDF_0(x) ((x) << S_ENABLE_PRSDF_0)
36920 #define F_ENABLE_PRSDF_0 V_ENABLE_PRSDF_0(1U)
36922 #define S_ENABLE_PCMDF_1 9
36923 #define V_ENABLE_PCMDF_1(x) ((x) << S_ENABLE_PCMDF_1)
36924 #define F_ENABLE_PCMDF_1 V_ENABLE_PCMDF_1(1U)
36926 #define S_ENABLE_TPTCF_1 8
36927 #define V_ENABLE_TPTCF_1(x) ((x) << S_ENABLE_TPTCF_1)
36928 #define F_ENABLE_TPTCF_1 V_ENABLE_TPTCF_1(1U)
36930 #define S_ENABLE_DDPCF_1 7
36931 #define V_ENABLE_DDPCF_1(x) ((x) << S_ENABLE_DDPCF_1)
36932 #define F_ENABLE_DDPCF_1 V_ENABLE_DDPCF_1(1U)
36934 #define S_ENABLE_MPARF_1 6
36935 #define V_ENABLE_MPARF_1(x) ((x) << S_ENABLE_MPARF_1)
36936 #define F_ENABLE_MPARF_1 V_ENABLE_MPARF_1(1U)
36938 #define S_ENABLE_MPARC_1 5
36939 #define V_ENABLE_MPARC_1(x) ((x) << S_ENABLE_MPARC_1)
36940 #define F_ENABLE_MPARC_1 V_ENABLE_MPARC_1(1U)
36942 #define S_ENABLE_PCMDF_0 4
36943 #define V_ENABLE_PCMDF_0(x) ((x) << S_ENABLE_PCMDF_0)
36944 #define F_ENABLE_PCMDF_0 V_ENABLE_PCMDF_0(1U)
36946 #define S_ENABLE_TPTCF_0 3
36947 #define V_ENABLE_TPTCF_0(x) ((x) << S_ENABLE_TPTCF_0)
36948 #define F_ENABLE_TPTCF_0 V_ENABLE_TPTCF_0(1U)
36950 #define S_ENABLE_DDPCF_0 2
36951 #define V_ENABLE_DDPCF_0(x) ((x) << S_ENABLE_DDPCF_0)
36952 #define F_ENABLE_DDPCF_0 V_ENABLE_DDPCF_0(1U)
36954 #define S_ENABLE_MPARF_0 1
36955 #define V_ENABLE_MPARF_0(x) ((x) << S_ENABLE_MPARF_0)
36956 #define F_ENABLE_MPARF_0 V_ENABLE_MPARF_0(1U)
36958 #define S_ENABLE_MPARC_0 0
36959 #define V_ENABLE_MPARC_0(x) ((x) << S_ENABLE_MPARC_0)
36960 #define F_ENABLE_MPARC_0 V_ENABLE_MPARC_0(1U)
36962 #define S_SE_CNT_MISMATCH_1 26
36963 #define V_SE_CNT_MISMATCH_1(x) ((x) << S_SE_CNT_MISMATCH_1)
36964 #define F_SE_CNT_MISMATCH_1 V_SE_CNT_MISMATCH_1(1U)
36966 #define S_SE_CNT_MISMATCH_0 25
36967 #define V_SE_CNT_MISMATCH_0(x) ((x) << S_SE_CNT_MISMATCH_0)
36968 #define F_SE_CNT_MISMATCH_0 V_SE_CNT_MISMATCH_0(1U)
36970 #define A_ULP_RX_INT_CAUSE 0x19158
36972 #define S_CAUSE_CTX_1 24
36973 #define V_CAUSE_CTX_1(x) ((x) << S_CAUSE_CTX_1)
36974 #define F_CAUSE_CTX_1 V_CAUSE_CTX_1(1U)
36976 #define S_CAUSE_CTX_0 23
36977 #define V_CAUSE_CTX_0(x) ((x) << S_CAUSE_CTX_0)
36978 #define F_CAUSE_CTX_0 V_CAUSE_CTX_0(1U)
36980 #define S_CAUSE_FF 22
36981 #define V_CAUSE_FF(x) ((x) << S_CAUSE_FF)
36982 #define F_CAUSE_FF V_CAUSE_FF(1U)
36984 #define S_CAUSE_APF_1 21
36985 #define V_CAUSE_APF_1(x) ((x) << S_CAUSE_APF_1)
36986 #define F_CAUSE_APF_1 V_CAUSE_APF_1(1U)
36988 #define S_CAUSE_APF_0 20
36989 #define V_CAUSE_APF_0(x) ((x) << S_CAUSE_APF_0)
36990 #define F_CAUSE_APF_0 V_CAUSE_APF_0(1U)
36992 #define S_CAUSE_AF_1 19
36993 #define V_CAUSE_AF_1(x) ((x) << S_CAUSE_AF_1)
36994 #define F_CAUSE_AF_1 V_CAUSE_AF_1(1U)
36996 #define S_CAUSE_AF_0 18
36997 #define V_CAUSE_AF_0(x) ((x) << S_CAUSE_AF_0)
36998 #define F_CAUSE_AF_0 V_CAUSE_AF_0(1U)
37000 #define S_CAUSE_DDPDF_1 17
37001 #define V_CAUSE_DDPDF_1(x) ((x) << S_CAUSE_DDPDF_1)
37002 #define F_CAUSE_DDPDF_1 V_CAUSE_DDPDF_1(1U)
37004 #define S_CAUSE_DDPMF_1 16
37005 #define V_CAUSE_DDPMF_1(x) ((x) << S_CAUSE_DDPMF_1)
37006 #define F_CAUSE_DDPMF_1 V_CAUSE_DDPMF_1(1U)
37008 #define S_CAUSE_MEMRF_1 15
37009 #define V_CAUSE_MEMRF_1(x) ((x) << S_CAUSE_MEMRF_1)
37010 #define F_CAUSE_MEMRF_1 V_CAUSE_MEMRF_1(1U)
37012 #define S_CAUSE_PRSDF_1 14
37013 #define V_CAUSE_PRSDF_1(x) ((x) << S_CAUSE_PRSDF_1)
37014 #define F_CAUSE_PRSDF_1 V_CAUSE_PRSDF_1(1U)
37016 #define S_CAUSE_DDPDF_0 13
37017 #define V_CAUSE_DDPDF_0(x) ((x) << S_CAUSE_DDPDF_0)
37018 #define F_CAUSE_DDPDF_0 V_CAUSE_DDPDF_0(1U)
37020 #define S_CAUSE_DDPMF_0 12
37021 #define V_CAUSE_DDPMF_0(x) ((x) << S_CAUSE_DDPMF_0)
37022 #define F_CAUSE_DDPMF_0 V_CAUSE_DDPMF_0(1U)
37024 #define S_CAUSE_MEMRF_0 11
37025 #define V_CAUSE_MEMRF_0(x) ((x) << S_CAUSE_MEMRF_0)
37026 #define F_CAUSE_MEMRF_0 V_CAUSE_MEMRF_0(1U)
37028 #define S_CAUSE_PRSDF_0 10
37029 #define V_CAUSE_PRSDF_0(x) ((x) << S_CAUSE_PRSDF_0)
37030 #define F_CAUSE_PRSDF_0 V_CAUSE_PRSDF_0(1U)
37032 #define S_CAUSE_PCMDF_1 9
37033 #define V_CAUSE_PCMDF_1(x) ((x) << S_CAUSE_PCMDF_1)
37034 #define F_CAUSE_PCMDF_1 V_CAUSE_PCMDF_1(1U)
37036 #define S_CAUSE_TPTCF_1 8
37037 #define V_CAUSE_TPTCF_1(x) ((x) << S_CAUSE_TPTCF_1)
37038 #define F_CAUSE_TPTCF_1 V_CAUSE_TPTCF_1(1U)
37040 #define S_CAUSE_DDPCF_1 7
37041 #define V_CAUSE_DDPCF_1(x) ((x) << S_CAUSE_DDPCF_1)
37042 #define F_CAUSE_DDPCF_1 V_CAUSE_DDPCF_1(1U)
37044 #define S_CAUSE_MPARF_1 6
37045 #define V_CAUSE_MPARF_1(x) ((x) << S_CAUSE_MPARF_1)
37046 #define F_CAUSE_MPARF_1 V_CAUSE_MPARF_1(1U)
37048 #define S_CAUSE_MPARC_1 5
37049 #define V_CAUSE_MPARC_1(x) ((x) << S_CAUSE_MPARC_1)
37050 #define F_CAUSE_MPARC_1 V_CAUSE_MPARC_1(1U)
37052 #define S_CAUSE_PCMDF_0 4
37053 #define V_CAUSE_PCMDF_0(x) ((x) << S_CAUSE_PCMDF_0)
37054 #define F_CAUSE_PCMDF_0 V_CAUSE_PCMDF_0(1U)
37056 #define S_CAUSE_TPTCF_0 3
37057 #define V_CAUSE_TPTCF_0(x) ((x) << S_CAUSE_TPTCF_0)
37058 #define F_CAUSE_TPTCF_0 V_CAUSE_TPTCF_0(1U)
37060 #define S_CAUSE_DDPCF_0 2
37061 #define V_CAUSE_DDPCF_0(x) ((x) << S_CAUSE_DDPCF_0)
37062 #define F_CAUSE_DDPCF_0 V_CAUSE_DDPCF_0(1U)
37064 #define S_CAUSE_MPARF_0 1
37065 #define V_CAUSE_MPARF_0(x) ((x) << S_CAUSE_MPARF_0)
37066 #define F_CAUSE_MPARF_0 V_CAUSE_MPARF_0(1U)
37068 #define S_CAUSE_MPARC_0 0
37069 #define V_CAUSE_MPARC_0(x) ((x) << S_CAUSE_MPARC_0)
37070 #define F_CAUSE_MPARC_0 V_CAUSE_MPARC_0(1U)
37072 #define A_ULP_RX_ISCSI_LLIMIT 0x1915c
37074 #define S_ISCSILLIMIT 6
37075 #define M_ISCSILLIMIT 0x3ffffffU
37076 #define V_ISCSILLIMIT(x) ((x) << S_ISCSILLIMIT)
37077 #define G_ISCSILLIMIT(x) (((x) >> S_ISCSILLIMIT) & M_ISCSILLIMIT)
37079 #define A_ULP_RX_ISCSI_ULIMIT 0x19160
37081 #define S_ISCSIULIMIT 6
37082 #define M_ISCSIULIMIT 0x3ffffffU
37083 #define V_ISCSIULIMIT(x) ((x) << S_ISCSIULIMIT)
37084 #define G_ISCSIULIMIT(x) (((x) >> S_ISCSIULIMIT) & M_ISCSIULIMIT)
37086 #define A_ULP_RX_ISCSI_TAGMASK 0x19164
37088 #define S_ISCSITAGMASK 6
37089 #define M_ISCSITAGMASK 0x3ffffffU
37090 #define V_ISCSITAGMASK(x) ((x) << S_ISCSITAGMASK)
37091 #define G_ISCSITAGMASK(x) (((x) >> S_ISCSITAGMASK) & M_ISCSITAGMASK)
37093 #define A_ULP_RX_ISCSI_PSZ 0x19168
37096 #define M_HPZ3 0xfU
37097 #define V_HPZ3(x) ((x) << S_HPZ3)
37098 #define G_HPZ3(x) (((x) >> S_HPZ3) & M_HPZ3)
37101 #define M_HPZ2 0xfU
37102 #define V_HPZ2(x) ((x) << S_HPZ2)
37103 #define G_HPZ2(x) (((x) >> S_HPZ2) & M_HPZ2)
37106 #define M_HPZ1 0xfU
37107 #define V_HPZ1(x) ((x) << S_HPZ1)
37108 #define G_HPZ1(x) (((x) >> S_HPZ1) & M_HPZ1)
37111 #define M_HPZ0 0xfU
37112 #define V_HPZ0(x) ((x) << S_HPZ0)
37113 #define G_HPZ0(x) (((x) >> S_HPZ0) & M_HPZ0)
37115 #define A_ULP_RX_TDDP_LLIMIT 0x1916c
37117 #define S_TDDPLLIMIT 6
37118 #define M_TDDPLLIMIT 0x3ffffffU
37119 #define V_TDDPLLIMIT(x) ((x) << S_TDDPLLIMIT)
37120 #define G_TDDPLLIMIT(x) (((x) >> S_TDDPLLIMIT) & M_TDDPLLIMIT)
37122 #define A_ULP_RX_TDDP_ULIMIT 0x19170
37124 #define S_TDDPULIMIT 6
37125 #define M_TDDPULIMIT 0x3ffffffU
37126 #define V_TDDPULIMIT(x) ((x) << S_TDDPULIMIT)
37127 #define G_TDDPULIMIT(x) (((x) >> S_TDDPULIMIT) & M_TDDPULIMIT)
37129 #define A_ULP_RX_TDDP_TAGMASK 0x19174
37131 #define S_TDDPTAGMASK 6
37132 #define M_TDDPTAGMASK 0x3ffffffU
37133 #define V_TDDPTAGMASK(x) ((x) << S_TDDPTAGMASK)
37134 #define G_TDDPTAGMASK(x) (((x) >> S_TDDPTAGMASK) & M_TDDPTAGMASK)
37136 #define A_ULP_RX_TDDP_PSZ 0x19178
37137 #define A_ULP_RX_STAG_LLIMIT 0x1917c
37138 #define A_ULP_RX_STAG_ULIMIT 0x19180
37139 #define A_ULP_RX_RQ_LLIMIT 0x19184
37140 #define A_ULP_RX_RQ_ULIMIT 0x19188
37141 #define A_ULP_RX_PBL_LLIMIT 0x1918c
37142 #define A_ULP_RX_PBL_ULIMIT 0x19190
37143 #define A_ULP_RX_CTX_BASE 0x19194
37144 #define A_ULP_RX_PERR_ENABLE 0x1919c
37146 #define S_PERR_ENABLE_FF 22
37147 #define V_PERR_ENABLE_FF(x) ((x) << S_PERR_ENABLE_FF)
37148 #define F_PERR_ENABLE_FF V_PERR_ENABLE_FF(1U)
37150 #define S_PERR_ENABLE_APF_1 21
37151 #define V_PERR_ENABLE_APF_1(x) ((x) << S_PERR_ENABLE_APF_1)
37152 #define F_PERR_ENABLE_APF_1 V_PERR_ENABLE_APF_1(1U)
37154 #define S_PERR_ENABLE_APF_0 20
37155 #define V_PERR_ENABLE_APF_0(x) ((x) << S_PERR_ENABLE_APF_0)
37156 #define F_PERR_ENABLE_APF_0 V_PERR_ENABLE_APF_0(1U)
37158 #define S_PERR_ENABLE_AF_1 19
37159 #define V_PERR_ENABLE_AF_1(x) ((x) << S_PERR_ENABLE_AF_1)
37160 #define F_PERR_ENABLE_AF_1 V_PERR_ENABLE_AF_1(1U)
37162 #define S_PERR_ENABLE_AF_0 18
37163 #define V_PERR_ENABLE_AF_0(x) ((x) << S_PERR_ENABLE_AF_0)
37164 #define F_PERR_ENABLE_AF_0 V_PERR_ENABLE_AF_0(1U)
37166 #define S_PERR_ENABLE_DDPDF_1 17
37167 #define V_PERR_ENABLE_DDPDF_1(x) ((x) << S_PERR_ENABLE_DDPDF_1)
37168 #define F_PERR_ENABLE_DDPDF_1 V_PERR_ENABLE_DDPDF_1(1U)
37170 #define S_PERR_ENABLE_DDPMF_1 16
37171 #define V_PERR_ENABLE_DDPMF_1(x) ((x) << S_PERR_ENABLE_DDPMF_1)
37172 #define F_PERR_ENABLE_DDPMF_1 V_PERR_ENABLE_DDPMF_1(1U)
37174 #define S_PERR_ENABLE_MEMRF_1 15
37175 #define V_PERR_ENABLE_MEMRF_1(x) ((x) << S_PERR_ENABLE_MEMRF_1)
37176 #define F_PERR_ENABLE_MEMRF_1 V_PERR_ENABLE_MEMRF_1(1U)
37178 #define S_PERR_ENABLE_PRSDF_1 14
37179 #define V_PERR_ENABLE_PRSDF_1(x) ((x) << S_PERR_ENABLE_PRSDF_1)
37180 #define F_PERR_ENABLE_PRSDF_1 V_PERR_ENABLE_PRSDF_1(1U)
37182 #define S_PERR_ENABLE_DDPDF_0 13
37183 #define V_PERR_ENABLE_DDPDF_0(x) ((x) << S_PERR_ENABLE_DDPDF_0)
37184 #define F_PERR_ENABLE_DDPDF_0 V_PERR_ENABLE_DDPDF_0(1U)
37186 #define S_PERR_ENABLE_DDPMF_0 12
37187 #define V_PERR_ENABLE_DDPMF_0(x) ((x) << S_PERR_ENABLE_DDPMF_0)
37188 #define F_PERR_ENABLE_DDPMF_0 V_PERR_ENABLE_DDPMF_0(1U)
37190 #define S_PERR_ENABLE_MEMRF_0 11
37191 #define V_PERR_ENABLE_MEMRF_0(x) ((x) << S_PERR_ENABLE_MEMRF_0)
37192 #define F_PERR_ENABLE_MEMRF_0 V_PERR_ENABLE_MEMRF_0(1U)
37194 #define S_PERR_ENABLE_PRSDF_0 10
37195 #define V_PERR_ENABLE_PRSDF_0(x) ((x) << S_PERR_ENABLE_PRSDF_0)
37196 #define F_PERR_ENABLE_PRSDF_0 V_PERR_ENABLE_PRSDF_0(1U)
37198 #define S_PERR_ENABLE_PCMDF_1 9
37199 #define V_PERR_ENABLE_PCMDF_1(x) ((x) << S_PERR_ENABLE_PCMDF_1)
37200 #define F_PERR_ENABLE_PCMDF_1 V_PERR_ENABLE_PCMDF_1(1U)
37202 #define S_PERR_ENABLE_TPTCF_1 8
37203 #define V_PERR_ENABLE_TPTCF_1(x) ((x) << S_PERR_ENABLE_TPTCF_1)
37204 #define F_PERR_ENABLE_TPTCF_1 V_PERR_ENABLE_TPTCF_1(1U)
37206 #define S_PERR_ENABLE_DDPCF_1 7
37207 #define V_PERR_ENABLE_DDPCF_1(x) ((x) << S_PERR_ENABLE_DDPCF_1)
37208 #define F_PERR_ENABLE_DDPCF_1 V_PERR_ENABLE_DDPCF_1(1U)
37210 #define S_PERR_ENABLE_MPARF_1 6
37211 #define V_PERR_ENABLE_MPARF_1(x) ((x) << S_PERR_ENABLE_MPARF_1)
37212 #define F_PERR_ENABLE_MPARF_1 V_PERR_ENABLE_MPARF_1(1U)
37214 #define S_PERR_ENABLE_MPARC_1 5
37215 #define V_PERR_ENABLE_MPARC_1(x) ((x) << S_PERR_ENABLE_MPARC_1)
37216 #define F_PERR_ENABLE_MPARC_1 V_PERR_ENABLE_MPARC_1(1U)
37218 #define S_PERR_ENABLE_PCMDF_0 4
37219 #define V_PERR_ENABLE_PCMDF_0(x) ((x) << S_PERR_ENABLE_PCMDF_0)
37220 #define F_PERR_ENABLE_PCMDF_0 V_PERR_ENABLE_PCMDF_0(1U)
37222 #define S_PERR_ENABLE_TPTCF_0 3
37223 #define V_PERR_ENABLE_TPTCF_0(x) ((x) << S_PERR_ENABLE_TPTCF_0)
37224 #define F_PERR_ENABLE_TPTCF_0 V_PERR_ENABLE_TPTCF_0(1U)
37226 #define S_PERR_ENABLE_DDPCF_0 2
37227 #define V_PERR_ENABLE_DDPCF_0(x) ((x) << S_PERR_ENABLE_DDPCF_0)
37228 #define F_PERR_ENABLE_DDPCF_0 V_PERR_ENABLE_DDPCF_0(1U)
37230 #define S_PERR_ENABLE_MPARF_0 1
37231 #define V_PERR_ENABLE_MPARF_0(x) ((x) << S_PERR_ENABLE_MPARF_0)
37232 #define F_PERR_ENABLE_MPARF_0 V_PERR_ENABLE_MPARF_0(1U)
37234 #define S_PERR_ENABLE_MPARC_0 0
37235 #define V_PERR_ENABLE_MPARC_0(x) ((x) << S_PERR_ENABLE_MPARC_0)
37236 #define F_PERR_ENABLE_MPARC_0 V_PERR_ENABLE_MPARC_0(1U)
37238 #define S_PERR_SE_CNT_MISMATCH_1 26
37239 #define V_PERR_SE_CNT_MISMATCH_1(x) ((x) << S_PERR_SE_CNT_MISMATCH_1)
37240 #define F_PERR_SE_CNT_MISMATCH_1 V_PERR_SE_CNT_MISMATCH_1(1U)
37242 #define S_PERR_SE_CNT_MISMATCH_0 25
37243 #define V_PERR_SE_CNT_MISMATCH_0(x) ((x) << S_PERR_SE_CNT_MISMATCH_0)
37244 #define F_PERR_SE_CNT_MISMATCH_0 V_PERR_SE_CNT_MISMATCH_0(1U)
37246 #define S_PERR_RSVD0 24
37247 #define V_PERR_RSVD0(x) ((x) << S_PERR_RSVD0)
37248 #define F_PERR_RSVD0 V_PERR_RSVD0(1U)
37250 #define S_PERR_RSVD1 23
37251 #define V_PERR_RSVD1(x) ((x) << S_PERR_RSVD1)
37252 #define F_PERR_RSVD1 V_PERR_RSVD1(1U)
37254 #define S_PERR_ENABLE_CTX_1 24
37255 #define V_PERR_ENABLE_CTX_1(x) ((x) << S_PERR_ENABLE_CTX_1)
37256 #define F_PERR_ENABLE_CTX_1 V_PERR_ENABLE_CTX_1(1U)
37258 #define S_PERR_ENABLE_CTX_0 23
37259 #define V_PERR_ENABLE_CTX_0(x) ((x) << S_PERR_ENABLE_CTX_0)
37260 #define F_PERR_ENABLE_CTX_0 V_PERR_ENABLE_CTX_0(1U)
37262 #define A_ULP_RX_PERR_INJECT 0x191a0
37263 #define A_ULP_RX_RQUDP_LLIMIT 0x191a4
37264 #define A_ULP_RX_RQUDP_ULIMIT 0x191a8
37265 #define A_ULP_RX_CTX_ACC_CH0 0x191ac
37268 #define V_REQ(x) ((x) << S_REQ)
37269 #define F_REQ V_REQ(1U)
37272 #define V_WB(x) ((x) << S_WB)
37273 #define F_WB V_WB(1U)
37275 #define S_ULPRX_TID 0
37276 #define M_ULPRX_TID 0xfffffU
37277 #define V_ULPRX_TID(x) ((x) << S_ULPRX_TID)
37278 #define G_ULPRX_TID(x) (((x) >> S_ULPRX_TID) & M_ULPRX_TID)
37280 #define A_ULP_RX_CTX_ACC_CH1 0x191b0
37281 #define A_ULP_RX_SE_CNT_ERR 0x191d0
37282 #define A_ULP_RX_SE_CNT_CLR 0x191d4
37284 #define S_CLRCHAN0 4
37285 #define M_CLRCHAN0 0xfU
37286 #define V_CLRCHAN0(x) ((x) << S_CLRCHAN0)
37287 #define G_CLRCHAN0(x) (((x) >> S_CLRCHAN0) & M_CLRCHAN0)
37289 #define S_CLRCHAN1 0
37290 #define M_CLRCHAN1 0xfU
37291 #define V_CLRCHAN1(x) ((x) << S_CLRCHAN1)
37292 #define G_CLRCHAN1(x) (((x) >> S_CLRCHAN1) & M_CLRCHAN1)
37294 #define A_ULP_RX_SE_CNT_CH0 0x191d8
37296 #define S_SOP_CNT_OUT0 28
37297 #define M_SOP_CNT_OUT0 0xfU
37298 #define V_SOP_CNT_OUT0(x) ((x) << S_SOP_CNT_OUT0)
37299 #define G_SOP_CNT_OUT0(x) (((x) >> S_SOP_CNT_OUT0) & M_SOP_CNT_OUT0)
37301 #define S_EOP_CNT_OUT0 24
37302 #define M_EOP_CNT_OUT0 0xfU
37303 #define V_EOP_CNT_OUT0(x) ((x) << S_EOP_CNT_OUT0)
37304 #define G_EOP_CNT_OUT0(x) (((x) >> S_EOP_CNT_OUT0) & M_EOP_CNT_OUT0)
37306 #define S_SOP_CNT_AL0 20
37307 #define M_SOP_CNT_AL0 0xfU
37308 #define V_SOP_CNT_AL0(x) ((x) << S_SOP_CNT_AL0)
37309 #define G_SOP_CNT_AL0(x) (((x) >> S_SOP_CNT_AL0) & M_SOP_CNT_AL0)
37311 #define S_EOP_CNT_AL0 16
37312 #define M_EOP_CNT_AL0 0xfU
37313 #define V_EOP_CNT_AL0(x) ((x) << S_EOP_CNT_AL0)
37314 #define G_EOP_CNT_AL0(x) (((x) >> S_EOP_CNT_AL0) & M_EOP_CNT_AL0)
37316 #define S_SOP_CNT_MR0 12
37317 #define M_SOP_CNT_MR0 0xfU
37318 #define V_SOP_CNT_MR0(x) ((x) << S_SOP_CNT_MR0)
37319 #define G_SOP_CNT_MR0(x) (((x) >> S_SOP_CNT_MR0) & M_SOP_CNT_MR0)
37321 #define S_EOP_CNT_MR0 8
37322 #define M_EOP_CNT_MR0 0xfU
37323 #define V_EOP_CNT_MR0(x) ((x) << S_EOP_CNT_MR0)
37324 #define G_EOP_CNT_MR0(x) (((x) >> S_EOP_CNT_MR0) & M_EOP_CNT_MR0)
37326 #define S_SOP_CNT_IN0 4
37327 #define M_SOP_CNT_IN0 0xfU
37328 #define V_SOP_CNT_IN0(x) ((x) << S_SOP_CNT_IN0)
37329 #define G_SOP_CNT_IN0(x) (((x) >> S_SOP_CNT_IN0) & M_SOP_CNT_IN0)
37331 #define S_EOP_CNT_IN0 0
37332 #define M_EOP_CNT_IN0 0xfU
37333 #define V_EOP_CNT_IN0(x) ((x) << S_EOP_CNT_IN0)
37334 #define G_EOP_CNT_IN0(x) (((x) >> S_EOP_CNT_IN0) & M_EOP_CNT_IN0)
37336 #define A_ULP_RX_SE_CNT_CH1 0x191dc
37338 #define S_SOP_CNT_OUT1 28
37339 #define M_SOP_CNT_OUT1 0xfU
37340 #define V_SOP_CNT_OUT1(x) ((x) << S_SOP_CNT_OUT1)
37341 #define G_SOP_CNT_OUT1(x) (((x) >> S_SOP_CNT_OUT1) & M_SOP_CNT_OUT1)
37343 #define S_EOP_CNT_OUT1 24
37344 #define M_EOP_CNT_OUT1 0xfU
37345 #define V_EOP_CNT_OUT1(x) ((x) << S_EOP_CNT_OUT1)
37346 #define G_EOP_CNT_OUT1(x) (((x) >> S_EOP_CNT_OUT1) & M_EOP_CNT_OUT1)
37348 #define S_SOP_CNT_AL1 20
37349 #define M_SOP_CNT_AL1 0xfU
37350 #define V_SOP_CNT_AL1(x) ((x) << S_SOP_CNT_AL1)
37351 #define G_SOP_CNT_AL1(x) (((x) >> S_SOP_CNT_AL1) & M_SOP_CNT_AL1)
37353 #define S_EOP_CNT_AL1 16
37354 #define M_EOP_CNT_AL1 0xfU
37355 #define V_EOP_CNT_AL1(x) ((x) << S_EOP_CNT_AL1)
37356 #define G_EOP_CNT_AL1(x) (((x) >> S_EOP_CNT_AL1) & M_EOP_CNT_AL1)
37358 #define S_SOP_CNT_MR1 12
37359 #define M_SOP_CNT_MR1 0xfU
37360 #define V_SOP_CNT_MR1(x) ((x) << S_SOP_CNT_MR1)
37361 #define G_SOP_CNT_MR1(x) (((x) >> S_SOP_CNT_MR1) & M_SOP_CNT_MR1)
37363 #define S_EOP_CNT_MR1 8
37364 #define M_EOP_CNT_MR1 0xfU
37365 #define V_EOP_CNT_MR1(x) ((x) << S_EOP_CNT_MR1)
37366 #define G_EOP_CNT_MR1(x) (((x) >> S_EOP_CNT_MR1) & M_EOP_CNT_MR1)
37368 #define S_SOP_CNT_IN1 4
37369 #define M_SOP_CNT_IN1 0xfU
37370 #define V_SOP_CNT_IN1(x) ((x) << S_SOP_CNT_IN1)
37371 #define G_SOP_CNT_IN1(x) (((x) >> S_SOP_CNT_IN1) & M_SOP_CNT_IN1)
37373 #define S_EOP_CNT_IN1 0
37374 #define M_EOP_CNT_IN1 0xfU
37375 #define V_EOP_CNT_IN1(x) ((x) << S_EOP_CNT_IN1)
37376 #define G_EOP_CNT_IN1(x) (((x) >> S_EOP_CNT_IN1) & M_EOP_CNT_IN1)
37378 #define A_ULP_RX_DBG_CTL 0x191e0
37380 #define S_EN_DBG_H 17
37381 #define V_EN_DBG_H(x) ((x) << S_EN_DBG_H)
37382 #define F_EN_DBG_H V_EN_DBG_H(1U)
37384 #define S_EN_DBG_L 16
37385 #define V_EN_DBG_L(x) ((x) << S_EN_DBG_L)
37386 #define F_EN_DBG_L V_EN_DBG_L(1U)
37389 #define M_SEL_H 0xffU
37390 #define V_SEL_H(x) ((x) << S_SEL_H)
37391 #define G_SEL_H(x) (((x) >> S_SEL_H) & M_SEL_H)
37394 #define M_SEL_L 0xffU
37395 #define V_SEL_L(x) ((x) << S_SEL_L)
37396 #define G_SEL_L(x) (((x) >> S_SEL_L) & M_SEL_L)
37398 #define A_ULP_RX_DBG_DATAH 0x191e4
37399 #define A_ULP_RX_DBG_DATAL 0x191e8
37400 #define A_ULP_RX_LA_CHNL 0x19238
37402 #define S_CHNL_SEL 0
37403 #define V_CHNL_SEL(x) ((x) << S_CHNL_SEL)
37404 #define F_CHNL_SEL V_CHNL_SEL(1U)
37406 #define A_ULP_RX_LA_CTL 0x1923c
37408 #define S_TRC_SEL 0
37409 #define V_TRC_SEL(x) ((x) << S_TRC_SEL)
37410 #define F_TRC_SEL V_TRC_SEL(1U)
37412 #define A_ULP_RX_LA_RDPTR 0x19240
37415 #define M_RD_PTR 0x1ffU
37416 #define V_RD_PTR(x) ((x) << S_RD_PTR)
37417 #define G_RD_PTR(x) (((x) >> S_RD_PTR) & M_RD_PTR)
37419 #define A_ULP_RX_LA_RDDATA 0x19244
37420 #define A_ULP_RX_LA_WRPTR 0x19248
37423 #define M_WR_PTR 0x1ffU
37424 #define V_WR_PTR(x) ((x) << S_WR_PTR)
37425 #define G_WR_PTR(x) (((x) >> S_WR_PTR) & M_WR_PTR)
37427 #define A_ULP_RX_LA_RESERVED 0x1924c
37428 #define A_ULP_RX_CQE_GEN_EN 0x19250
37430 #define S_TERMIMATE_MSG 1
37431 #define V_TERMIMATE_MSG(x) ((x) << S_TERMIMATE_MSG)
37432 #define F_TERMIMATE_MSG V_TERMIMATE_MSG(1U)
37434 #define S_TERMINATE_WITH_ERR 0
37435 #define V_TERMINATE_WITH_ERR(x) ((x) << S_TERMINATE_WITH_ERR)
37436 #define F_TERMINATE_WITH_ERR V_TERMINATE_WITH_ERR(1U)
37438 #define A_ULP_RX_ATOMIC_OPCODES 0x19254
37440 #define S_ATOMIC_REQ_QNO 22
37441 #define M_ATOMIC_REQ_QNO 0x3U
37442 #define V_ATOMIC_REQ_QNO(x) ((x) << S_ATOMIC_REQ_QNO)
37443 #define G_ATOMIC_REQ_QNO(x) (((x) >> S_ATOMIC_REQ_QNO) & M_ATOMIC_REQ_QNO)
37445 #define S_ATOMIC_RSP_QNO 20
37446 #define M_ATOMIC_RSP_QNO 0x3U
37447 #define V_ATOMIC_RSP_QNO(x) ((x) << S_ATOMIC_RSP_QNO)
37448 #define G_ATOMIC_RSP_QNO(x) (((x) >> S_ATOMIC_RSP_QNO) & M_ATOMIC_RSP_QNO)
37450 #define S_IMMEDIATE_QNO 18
37451 #define M_IMMEDIATE_QNO 0x3U
37452 #define V_IMMEDIATE_QNO(x) ((x) << S_IMMEDIATE_QNO)
37453 #define G_IMMEDIATE_QNO(x) (((x) >> S_IMMEDIATE_QNO) & M_IMMEDIATE_QNO)
37455 #define S_IMMEDIATE_WITH_SE_QNO 16
37456 #define M_IMMEDIATE_WITH_SE_QNO 0x3U
37457 #define V_IMMEDIATE_WITH_SE_QNO(x) ((x) << S_IMMEDIATE_WITH_SE_QNO)
37458 #define G_IMMEDIATE_WITH_SE_QNO(x) (((x) >> S_IMMEDIATE_WITH_SE_QNO) & M_IMMEDIATE_WITH_SE_QNO)
37460 #define S_ATOMIC_WR_OPCODE 12
37461 #define M_ATOMIC_WR_OPCODE 0xfU
37462 #define V_ATOMIC_WR_OPCODE(x) ((x) << S_ATOMIC_WR_OPCODE)
37463 #define G_ATOMIC_WR_OPCODE(x) (((x) >> S_ATOMIC_WR_OPCODE) & M_ATOMIC_WR_OPCODE)
37465 #define S_ATOMIC_RD_OPCODE 8
37466 #define M_ATOMIC_RD_OPCODE 0xfU
37467 #define V_ATOMIC_RD_OPCODE(x) ((x) << S_ATOMIC_RD_OPCODE)
37468 #define G_ATOMIC_RD_OPCODE(x) (((x) >> S_ATOMIC_RD_OPCODE) & M_ATOMIC_RD_OPCODE)
37470 #define S_IMMEDIATE_OPCODE 4
37471 #define M_IMMEDIATE_OPCODE 0xfU
37472 #define V_IMMEDIATE_OPCODE(x) ((x) << S_IMMEDIATE_OPCODE)
37473 #define G_IMMEDIATE_OPCODE(x) (((x) >> S_IMMEDIATE_OPCODE) & M_IMMEDIATE_OPCODE)
37475 #define S_IMMEDIATE_WITH_SE_OPCODE 0
37476 #define M_IMMEDIATE_WITH_SE_OPCODE 0xfU
37477 #define V_IMMEDIATE_WITH_SE_OPCODE(x) ((x) << S_IMMEDIATE_WITH_SE_OPCODE)
37478 #define G_IMMEDIATE_WITH_SE_OPCODE(x) (((x) >> S_IMMEDIATE_WITH_SE_OPCODE) & M_IMMEDIATE_WITH_SE_OPCODE)
37480 #define A_ULP_RX_T10_CRC_ENDIAN_SWITCHING 0x19258
37482 #define S_EN_ORIG_DATA 0
37483 #define V_EN_ORIG_DATA(x) ((x) << S_EN_ORIG_DATA)
37484 #define F_EN_ORIG_DATA V_EN_ORIG_DATA(1U)
37486 #define A_ULP_RX_MISC_FEATURE_ENABLE 0x1925c
37488 #define S_TERMINATE_STATUS_EN 4
37489 #define V_TERMINATE_STATUS_EN(x) ((x) << S_TERMINATE_STATUS_EN)
37490 #define F_TERMINATE_STATUS_EN V_TERMINATE_STATUS_EN(1U)
37492 #define S_MULTIPLE_PREF_ENABLE 3
37493 #define V_MULTIPLE_PREF_ENABLE(x) ((x) << S_MULTIPLE_PREF_ENABLE)
37494 #define F_MULTIPLE_PREF_ENABLE V_MULTIPLE_PREF_ENABLE(1U)
37496 #define S_UMUDP_PBL_PREF_ENABLE 2
37497 #define V_UMUDP_PBL_PREF_ENABLE(x) ((x) << S_UMUDP_PBL_PREF_ENABLE)
37498 #define F_UMUDP_PBL_PREF_ENABLE V_UMUDP_PBL_PREF_ENABLE(1U)
37500 #define S_RDMA_PBL_PREF_EN 1
37501 #define V_RDMA_PBL_PREF_EN(x) ((x) << S_RDMA_PBL_PREF_EN)
37502 #define F_RDMA_PBL_PREF_EN V_RDMA_PBL_PREF_EN(1U)
37504 #define S_SDC_CRC_PROT_EN 0
37505 #define V_SDC_CRC_PROT_EN(x) ((x) << S_SDC_CRC_PROT_EN)
37506 #define F_SDC_CRC_PROT_EN V_SDC_CRC_PROT_EN(1U)
37508 #define S_ISCSI_DCRC_ERROR_CMP_EN 25
37509 #define V_ISCSI_DCRC_ERROR_CMP_EN(x) ((x) << S_ISCSI_DCRC_ERROR_CMP_EN)
37510 #define F_ISCSI_DCRC_ERROR_CMP_EN V_ISCSI_DCRC_ERROR_CMP_EN(1U)
37512 #define S_ISCSITAGPI 24
37513 #define V_ISCSITAGPI(x) ((x) << S_ISCSITAGPI)
37514 #define F_ISCSITAGPI V_ISCSITAGPI(1U)
37516 #define S_DDP_VERSION_1 22
37517 #define M_DDP_VERSION_1 0x3U
37518 #define V_DDP_VERSION_1(x) ((x) << S_DDP_VERSION_1)
37519 #define G_DDP_VERSION_1(x) (((x) >> S_DDP_VERSION_1) & M_DDP_VERSION_1)
37521 #define S_DDP_VERSION_0 20
37522 #define M_DDP_VERSION_0 0x3U
37523 #define V_DDP_VERSION_0(x) ((x) << S_DDP_VERSION_0)
37524 #define G_DDP_VERSION_0(x) (((x) >> S_DDP_VERSION_0) & M_DDP_VERSION_0)
37526 #define S_RDMA_VERSION_1 18
37527 #define M_RDMA_VERSION_1 0x3U
37528 #define V_RDMA_VERSION_1(x) ((x) << S_RDMA_VERSION_1)
37529 #define G_RDMA_VERSION_1(x) (((x) >> S_RDMA_VERSION_1) & M_RDMA_VERSION_1)
37531 #define S_RDMA_VERSION_0 16
37532 #define M_RDMA_VERSION_0 0x3U
37533 #define V_RDMA_VERSION_0(x) ((x) << S_RDMA_VERSION_0)
37534 #define G_RDMA_VERSION_0(x) (((x) >> S_RDMA_VERSION_0) & M_RDMA_VERSION_0)
37536 #define S_PBL_BOUND_CHECK_W_PGLEN 15
37537 #define V_PBL_BOUND_CHECK_W_PGLEN(x) ((x) << S_PBL_BOUND_CHECK_W_PGLEN)
37538 #define F_PBL_BOUND_CHECK_W_PGLEN V_PBL_BOUND_CHECK_W_PGLEN(1U)
37540 #define S_ZBYTE_FIX_DISABLE 14
37541 #define V_ZBYTE_FIX_DISABLE(x) ((x) << S_ZBYTE_FIX_DISABLE)
37542 #define F_ZBYTE_FIX_DISABLE V_ZBYTE_FIX_DISABLE(1U)
37544 #define S_T10_OFFSET_UPDATE_EN 13
37545 #define V_T10_OFFSET_UPDATE_EN(x) ((x) << S_T10_OFFSET_UPDATE_EN)
37546 #define F_T10_OFFSET_UPDATE_EN V_T10_OFFSET_UPDATE_EN(1U)
37548 #define S_ULP_INSERT_PI 12
37549 #define V_ULP_INSERT_PI(x) ((x) << S_ULP_INSERT_PI)
37550 #define F_ULP_INSERT_PI V_ULP_INSERT_PI(1U)
37552 #define S_PDU_DPI 11
37553 #define V_PDU_DPI(x) ((x) << S_PDU_DPI)
37554 #define F_PDU_DPI V_PDU_DPI(1U)
37556 #define S_ISCSI_EFF_OFFSET_EN 10
37557 #define V_ISCSI_EFF_OFFSET_EN(x) ((x) << S_ISCSI_EFF_OFFSET_EN)
37558 #define F_ISCSI_EFF_OFFSET_EN V_ISCSI_EFF_OFFSET_EN(1U)
37560 #define S_ISCSI_ALL_CMP_MODE 9
37561 #define V_ISCSI_ALL_CMP_MODE(x) ((x) << S_ISCSI_ALL_CMP_MODE)
37562 #define F_ISCSI_ALL_CMP_MODE V_ISCSI_ALL_CMP_MODE(1U)
37564 #define S_ISCSI_ENABLE_HDR_CMD 8
37565 #define V_ISCSI_ENABLE_HDR_CMD(x) ((x) << S_ISCSI_ENABLE_HDR_CMD)
37566 #define F_ISCSI_ENABLE_HDR_CMD V_ISCSI_ENABLE_HDR_CMD(1U)
37568 #define S_ISCSI_FORCE_CMP_MODE 7
37569 #define V_ISCSI_FORCE_CMP_MODE(x) ((x) << S_ISCSI_FORCE_CMP_MODE)
37570 #define F_ISCSI_FORCE_CMP_MODE V_ISCSI_FORCE_CMP_MODE(1U)
37572 #define S_ISCSI_ENABLE_CMP_MODE 6
37573 #define V_ISCSI_ENABLE_CMP_MODE(x) ((x) << S_ISCSI_ENABLE_CMP_MODE)
37574 #define F_ISCSI_ENABLE_CMP_MODE V_ISCSI_ENABLE_CMP_MODE(1U)
37576 #define S_PIO_RDMA_SEND_RQE 5
37577 #define V_PIO_RDMA_SEND_RQE(x) ((x) << S_PIO_RDMA_SEND_RQE)
37578 #define F_PIO_RDMA_SEND_RQE V_PIO_RDMA_SEND_RQE(1U)
37580 #define A_ULP_RX_CH0_CGEN 0x19260
37582 #define S_BYPASS_CGEN 7
37583 #define V_BYPASS_CGEN(x) ((x) << S_BYPASS_CGEN)
37584 #define F_BYPASS_CGEN V_BYPASS_CGEN(1U)
37586 #define S_TDDP_CGEN 6
37587 #define V_TDDP_CGEN(x) ((x) << S_TDDP_CGEN)
37588 #define F_TDDP_CGEN V_TDDP_CGEN(1U)
37590 #define S_ISCSI_CGEN 5
37591 #define V_ISCSI_CGEN(x) ((x) << S_ISCSI_CGEN)
37592 #define F_ISCSI_CGEN V_ISCSI_CGEN(1U)
37594 #define S_RDMA_CGEN 4
37595 #define V_RDMA_CGEN(x) ((x) << S_RDMA_CGEN)
37596 #define F_RDMA_CGEN V_RDMA_CGEN(1U)
37598 #define S_CHANNEL_CGEN 3
37599 #define V_CHANNEL_CGEN(x) ((x) << S_CHANNEL_CGEN)
37600 #define F_CHANNEL_CGEN V_CHANNEL_CGEN(1U)
37602 #define S_ALL_DATAPATH_CGEN 2
37603 #define V_ALL_DATAPATH_CGEN(x) ((x) << S_ALL_DATAPATH_CGEN)
37604 #define F_ALL_DATAPATH_CGEN V_ALL_DATAPATH_CGEN(1U)
37606 #define S_T10DIFF_DATAPATH_CGEN 1
37607 #define V_T10DIFF_DATAPATH_CGEN(x) ((x) << S_T10DIFF_DATAPATH_CGEN)
37608 #define F_T10DIFF_DATAPATH_CGEN V_T10DIFF_DATAPATH_CGEN(1U)
37610 #define S_RDMA_DATAPATH_CGEN 0
37611 #define V_RDMA_DATAPATH_CGEN(x) ((x) << S_RDMA_DATAPATH_CGEN)
37612 #define F_RDMA_DATAPATH_CGEN V_RDMA_DATAPATH_CGEN(1U)
37614 #define A_ULP_RX_CH1_CGEN 0x19264
37615 #define A_ULP_RX_RFE_DISABLE 0x19268
37617 #define S_RQE_LIM_CHECK_RFE_DISABLE 0
37618 #define V_RQE_LIM_CHECK_RFE_DISABLE(x) ((x) << S_RQE_LIM_CHECK_RFE_DISABLE)
37619 #define F_RQE_LIM_CHECK_RFE_DISABLE V_RQE_LIM_CHECK_RFE_DISABLE(1U)
37621 #define A_ULP_RX_INT_ENABLE_2 0x1926c
37623 #define S_ULPRX2MA_INTFPERR 8
37624 #define V_ULPRX2MA_INTFPERR(x) ((x) << S_ULPRX2MA_INTFPERR)
37625 #define F_ULPRX2MA_INTFPERR V_ULPRX2MA_INTFPERR(1U)
37627 #define S_ALN_SDC_ERR_1 7
37628 #define V_ALN_SDC_ERR_1(x) ((x) << S_ALN_SDC_ERR_1)
37629 #define F_ALN_SDC_ERR_1 V_ALN_SDC_ERR_1(1U)
37631 #define S_ALN_SDC_ERR_0 6
37632 #define V_ALN_SDC_ERR_0(x) ((x) << S_ALN_SDC_ERR_0)
37633 #define F_ALN_SDC_ERR_0 V_ALN_SDC_ERR_0(1U)
37635 #define S_PF_UNTAGGED_TPT_1 5
37636 #define V_PF_UNTAGGED_TPT_1(x) ((x) << S_PF_UNTAGGED_TPT_1)
37637 #define F_PF_UNTAGGED_TPT_1 V_PF_UNTAGGED_TPT_1(1U)
37639 #define S_PF_UNTAGGED_TPT_0 4
37640 #define V_PF_UNTAGGED_TPT_0(x) ((x) << S_PF_UNTAGGED_TPT_0)
37641 #define F_PF_UNTAGGED_TPT_0 V_PF_UNTAGGED_TPT_0(1U)
37643 #define S_PF_PBL_1 3
37644 #define V_PF_PBL_1(x) ((x) << S_PF_PBL_1)
37645 #define F_PF_PBL_1 V_PF_PBL_1(1U)
37647 #define S_PF_PBL_0 2
37648 #define V_PF_PBL_0(x) ((x) << S_PF_PBL_0)
37649 #define F_PF_PBL_0 V_PF_PBL_0(1U)
37651 #define S_DDP_HINT_1 1
37652 #define V_DDP_HINT_1(x) ((x) << S_DDP_HINT_1)
37653 #define F_DDP_HINT_1 V_DDP_HINT_1(1U)
37655 #define S_DDP_HINT_0 0
37656 #define V_DDP_HINT_0(x) ((x) << S_DDP_HINT_0)
37657 #define F_DDP_HINT_0 V_DDP_HINT_0(1U)
37659 #define A_ULP_RX_INT_CAUSE_2 0x19270
37660 #define A_ULP_RX_PERR_ENABLE_2 0x19274
37662 #define S_ENABLE_ULPRX2MA_INTFPERR 8
37663 #define V_ENABLE_ULPRX2MA_INTFPERR(x) ((x) << S_ENABLE_ULPRX2MA_INTFPERR)
37664 #define F_ENABLE_ULPRX2MA_INTFPERR V_ENABLE_ULPRX2MA_INTFPERR(1U)
37666 #define S_ENABLE_ALN_SDC_ERR_1 7
37667 #define V_ENABLE_ALN_SDC_ERR_1(x) ((x) << S_ENABLE_ALN_SDC_ERR_1)
37668 #define F_ENABLE_ALN_SDC_ERR_1 V_ENABLE_ALN_SDC_ERR_1(1U)
37670 #define S_ENABLE_ALN_SDC_ERR_0 6
37671 #define V_ENABLE_ALN_SDC_ERR_0(x) ((x) << S_ENABLE_ALN_SDC_ERR_0)
37672 #define F_ENABLE_ALN_SDC_ERR_0 V_ENABLE_ALN_SDC_ERR_0(1U)
37674 #define S_ENABLE_PF_UNTAGGED_TPT_1 5
37675 #define V_ENABLE_PF_UNTAGGED_TPT_1(x) ((x) << S_ENABLE_PF_UNTAGGED_TPT_1)
37676 #define F_ENABLE_PF_UNTAGGED_TPT_1 V_ENABLE_PF_UNTAGGED_TPT_1(1U)
37678 #define S_ENABLE_PF_UNTAGGED_TPT_0 4
37679 #define V_ENABLE_PF_UNTAGGED_TPT_0(x) ((x) << S_ENABLE_PF_UNTAGGED_TPT_0)
37680 #define F_ENABLE_PF_UNTAGGED_TPT_0 V_ENABLE_PF_UNTAGGED_TPT_0(1U)
37682 #define S_ENABLE_PF_PBL_1 3
37683 #define V_ENABLE_PF_PBL_1(x) ((x) << S_ENABLE_PF_PBL_1)
37684 #define F_ENABLE_PF_PBL_1 V_ENABLE_PF_PBL_1(1U)
37686 #define S_ENABLE_PF_PBL_0 2
37687 #define V_ENABLE_PF_PBL_0(x) ((x) << S_ENABLE_PF_PBL_0)
37688 #define F_ENABLE_PF_PBL_0 V_ENABLE_PF_PBL_0(1U)
37690 #define S_ENABLE_DDP_HINT_1 1
37691 #define V_ENABLE_DDP_HINT_1(x) ((x) << S_ENABLE_DDP_HINT_1)
37692 #define F_ENABLE_DDP_HINT_1 V_ENABLE_DDP_HINT_1(1U)
37694 #define S_ENABLE_DDP_HINT_0 0
37695 #define V_ENABLE_DDP_HINT_0(x) ((x) << S_ENABLE_DDP_HINT_0)
37696 #define F_ENABLE_DDP_HINT_0 V_ENABLE_DDP_HINT_0(1U)
37698 #define A_ULP_RX_RQE_PBL_MULTIPLE_OUTSTANDING_CNT 0x19278
37700 #define S_PIO_RQE_PBL_MULTIPLE_CNT 0
37701 #define M_PIO_RQE_PBL_MULTIPLE_CNT 0xfU
37702 #define V_PIO_RQE_PBL_MULTIPLE_CNT(x) ((x) << S_PIO_RQE_PBL_MULTIPLE_CNT)
37703 #define G_PIO_RQE_PBL_MULTIPLE_CNT(x) (((x) >> S_PIO_RQE_PBL_MULTIPLE_CNT) & M_PIO_RQE_PBL_MULTIPLE_CNT)
37705 #define A_ULP_RX_ATOMIC_LEN 0x1927c
37707 #define S_ATOMIC_RPL_LEN 16
37708 #define M_ATOMIC_RPL_LEN 0xffU
37709 #define V_ATOMIC_RPL_LEN(x) ((x) << S_ATOMIC_RPL_LEN)
37710 #define G_ATOMIC_RPL_LEN(x) (((x) >> S_ATOMIC_RPL_LEN) & M_ATOMIC_RPL_LEN)
37712 #define S_ATOMIC_REQ_LEN 8
37713 #define M_ATOMIC_REQ_LEN 0xffU
37714 #define V_ATOMIC_REQ_LEN(x) ((x) << S_ATOMIC_REQ_LEN)
37715 #define G_ATOMIC_REQ_LEN(x) (((x) >> S_ATOMIC_REQ_LEN) & M_ATOMIC_REQ_LEN)
37717 #define S_ATOMIC_IMMEDIATE_LEN 0
37718 #define M_ATOMIC_IMMEDIATE_LEN 0xffU
37719 #define V_ATOMIC_IMMEDIATE_LEN(x) ((x) << S_ATOMIC_IMMEDIATE_LEN)
37720 #define G_ATOMIC_IMMEDIATE_LEN(x) (((x) >> S_ATOMIC_IMMEDIATE_LEN) & M_ATOMIC_IMMEDIATE_LEN)
37722 #define A_ULP_RX_CGEN_GLOBAL 0x19280
37723 #define A_ULP_RX_CTX_SKIP_MA_REQ 0x19284
37725 #define S_CLEAR_CTX_ERR_CNT1 3
37726 #define V_CLEAR_CTX_ERR_CNT1(x) ((x) << S_CLEAR_CTX_ERR_CNT1)
37727 #define F_CLEAR_CTX_ERR_CNT1 V_CLEAR_CTX_ERR_CNT1(1U)
37729 #define S_CLEAR_CTX_ERR_CNT0 2
37730 #define V_CLEAR_CTX_ERR_CNT0(x) ((x) << S_CLEAR_CTX_ERR_CNT0)
37731 #define F_CLEAR_CTX_ERR_CNT0 V_CLEAR_CTX_ERR_CNT0(1U)
37733 #define S_SKIP_MA_REQ_EN1 1
37734 #define V_SKIP_MA_REQ_EN1(x) ((x) << S_SKIP_MA_REQ_EN1)
37735 #define F_SKIP_MA_REQ_EN1 V_SKIP_MA_REQ_EN1(1U)
37737 #define S_SKIP_MA_REQ_EN0 0
37738 #define V_SKIP_MA_REQ_EN0(x) ((x) << S_SKIP_MA_REQ_EN0)
37739 #define F_SKIP_MA_REQ_EN0 V_SKIP_MA_REQ_EN0(1U)
37741 #define A_ULP_RX_CHNL0_CTX_ERROR_COUNT_PER_TID 0x19288
37742 #define A_ULP_RX_CHNL1_CTX_ERROR_COUNT_PER_TID 0x1928c
37743 #define A_ULP_RX_MSN_CHECK_ENABLE 0x19290
37745 #define S_RD_OR_TERM_MSN_CHECK_ENABLE 2
37746 #define V_RD_OR_TERM_MSN_CHECK_ENABLE(x) ((x) << S_RD_OR_TERM_MSN_CHECK_ENABLE)
37747 #define F_RD_OR_TERM_MSN_CHECK_ENABLE V_RD_OR_TERM_MSN_CHECK_ENABLE(1U)
37749 #define S_ATOMIC_OP_MSN_CHECK_ENABLE 1
37750 #define V_ATOMIC_OP_MSN_CHECK_ENABLE(x) ((x) << S_ATOMIC_OP_MSN_CHECK_ENABLE)
37751 #define F_ATOMIC_OP_MSN_CHECK_ENABLE V_ATOMIC_OP_MSN_CHECK_ENABLE(1U)
37753 #define S_SEND_MSN_CHECK_ENABLE 0
37754 #define V_SEND_MSN_CHECK_ENABLE(x) ((x) << S_SEND_MSN_CHECK_ENABLE)
37755 #define F_SEND_MSN_CHECK_ENABLE V_SEND_MSN_CHECK_ENABLE(1U)
37757 #define A_ULP_RX_TLS_PP_LLIMIT 0x192a4
37759 #define S_TLSPPLLIMIT 6
37760 #define M_TLSPPLLIMIT 0x3ffffffU
37761 #define V_TLSPPLLIMIT(x) ((x) << S_TLSPPLLIMIT)
37762 #define G_TLSPPLLIMIT(x) (((x) >> S_TLSPPLLIMIT) & M_TLSPPLLIMIT)
37764 #define A_ULP_RX_TLS_PP_ULIMIT 0x192a8
37766 #define S_TLSPPULIMIT 6
37767 #define M_TLSPPULIMIT 0x3ffffffU
37768 #define V_TLSPPULIMIT(x) ((x) << S_TLSPPULIMIT)
37769 #define G_TLSPPULIMIT(x) (((x) >> S_TLSPPULIMIT) & M_TLSPPULIMIT)
37771 #define A_ULP_RX_TLS_KEY_LLIMIT 0x192ac
37773 #define S_TLSKEYLLIMIT 8
37774 #define M_TLSKEYLLIMIT 0xffffffU
37775 #define V_TLSKEYLLIMIT(x) ((x) << S_TLSKEYLLIMIT)
37776 #define G_TLSKEYLLIMIT(x) (((x) >> S_TLSKEYLLIMIT) & M_TLSKEYLLIMIT)
37778 #define A_ULP_RX_TLS_KEY_ULIMIT 0x192b0
37780 #define S_TLSKEYULIMIT 8
37781 #define M_TLSKEYULIMIT 0xffffffU
37782 #define V_TLSKEYULIMIT(x) ((x) << S_TLSKEYULIMIT)
37783 #define G_TLSKEYULIMIT(x) (((x) >> S_TLSKEYULIMIT) & M_TLSKEYULIMIT)
37785 #define A_ULP_RX_TLS_CTL 0x192bc
37786 #define A_ULP_RX_TLS_IND_CMD 0x19348
37788 #define S_TLS_RX_REG_OFF_ADDR 0
37789 #define M_TLS_RX_REG_OFF_ADDR 0x3ffU
37790 #define V_TLS_RX_REG_OFF_ADDR(x) ((x) << S_TLS_RX_REG_OFF_ADDR)
37791 #define G_TLS_RX_REG_OFF_ADDR(x) (((x) >> S_TLS_RX_REG_OFF_ADDR) & M_TLS_RX_REG_OFF_ADDR)
37793 #define A_ULP_RX_TLS_IND_DATA 0x1934c
37795 /* registers for module SF */
37796 #define SF_BASE_ADDR 0x193f8
37798 #define A_SF_DATA 0x193f8
37799 #define A_SF_OP 0x193fc
37801 #define S_SF_LOCK 4
37802 #define V_SF_LOCK(x) ((x) << S_SF_LOCK)
37803 #define F_SF_LOCK V_SF_LOCK(1U)
37806 #define V_CONT(x) ((x) << S_CONT)
37807 #define F_CONT V_CONT(1U)
37809 #define S_BYTECNT 1
37810 #define M_BYTECNT 0x3U
37811 #define V_BYTECNT(x) ((x) << S_BYTECNT)
37812 #define G_BYTECNT(x) (((x) >> S_BYTECNT) & M_BYTECNT)
37814 /* registers for module PL */
37815 #define PL_BASE_ADDR 0x19400
37817 #define A_PL_VF_WHOAMI 0x0
37819 #define S_PORTXMAP 24
37820 #define M_PORTXMAP 0x7U
37821 #define V_PORTXMAP(x) ((x) << S_PORTXMAP)
37822 #define G_PORTXMAP(x) (((x) >> S_PORTXMAP) & M_PORTXMAP)
37824 #define S_SOURCEBUS 16
37825 #define M_SOURCEBUS 0x3U
37826 #define V_SOURCEBUS(x) ((x) << S_SOURCEBUS)
37827 #define G_SOURCEBUS(x) (((x) >> S_SOURCEBUS) & M_SOURCEBUS)
37829 #define S_SOURCEPF 8
37830 #define M_SOURCEPF 0x7U
37831 #define V_SOURCEPF(x) ((x) << S_SOURCEPF)
37832 #define G_SOURCEPF(x) (((x) >> S_SOURCEPF) & M_SOURCEPF)
37835 #define V_ISVF(x) ((x) << S_ISVF)
37836 #define F_ISVF V_ISVF(1U)
37839 #define M_VFID 0x7fU
37840 #define V_VFID(x) ((x) << S_VFID)
37841 #define G_VFID(x) (((x) >> S_VFID) & M_VFID)
37843 #define S_T6_SOURCEPF 9
37844 #define M_T6_SOURCEPF 0x7U
37845 #define V_T6_SOURCEPF(x) ((x) << S_T6_SOURCEPF)
37846 #define G_T6_SOURCEPF(x) (((x) >> S_T6_SOURCEPF) & M_T6_SOURCEPF)
37848 #define S_T6_ISVF 8
37849 #define V_T6_ISVF(x) ((x) << S_T6_ISVF)
37850 #define F_T6_ISVF V_T6_ISVF(1U)
37852 #define S_T6_VFID 0
37853 #define M_T6_VFID 0xffU
37854 #define V_T6_VFID(x) ((x) << S_T6_VFID)
37855 #define G_T6_VFID(x) (((x) >> S_T6_VFID) & M_T6_VFID)
37857 #define A_PL_VF_REV 0x4
37860 #define M_CHIPID 0xfU
37861 #define V_CHIPID(x) ((x) << S_CHIPID)
37862 #define G_CHIPID(x) (((x) >> S_CHIPID) & M_CHIPID)
37864 #define A_PL_VF_REVISION 0x8
37865 #define A_PL_PF_INT_CAUSE 0x3c0
37868 #define V_PFSW(x) ((x) << S_PFSW)
37869 #define F_PFSW V_PFSW(1U)
37872 #define V_PFSGE(x) ((x) << S_PFSGE)
37873 #define F_PFSGE V_PFSGE(1U)
37876 #define V_PFCIM(x) ((x) << S_PFCIM)
37877 #define F_PFCIM V_PFCIM(1U)
37880 #define V_PFMPS(x) ((x) << S_PFMPS)
37881 #define F_PFMPS V_PFMPS(1U)
37883 #define A_PL_PF_INT_ENABLE 0x3c4
37884 #define A_PL_PF_CTL 0x3c8
37887 #define V_SWINT(x) ((x) << S_SWINT)
37888 #define F_SWINT V_SWINT(1U)
37890 #define A_PL_WHOAMI 0x19400
37892 #define S_T6_SOURCEPF 9
37893 #define M_T6_SOURCEPF 0x7U
37894 #define V_T6_SOURCEPF(x) ((x) << S_T6_SOURCEPF)
37895 #define G_T6_SOURCEPF(x) (((x) >> S_T6_SOURCEPF) & M_T6_SOURCEPF)
37897 #define S_T6_ISVF 8
37898 #define V_T6_ISVF(x) ((x) << S_T6_ISVF)
37899 #define F_T6_ISVF V_T6_ISVF(1U)
37901 #define S_T6_VFID 0
37902 #define M_T6_VFID 0xffU
37903 #define V_T6_VFID(x) ((x) << S_T6_VFID)
37904 #define G_T6_VFID(x) (((x) >> S_T6_VFID) & M_T6_VFID)
37906 #define A_PL_PERR_CAUSE 0x19404
37909 #define V_UART(x) ((x) << S_UART)
37910 #define F_UART V_UART(1U)
37912 #define S_ULP_TX 27
37913 #define V_ULP_TX(x) ((x) << S_ULP_TX)
37914 #define F_ULP_TX V_ULP_TX(1U)
37917 #define V_SGE(x) ((x) << S_SGE)
37918 #define F_SGE V_SGE(1U)
37921 #define V_HMA(x) ((x) << S_HMA)
37922 #define F_HMA V_HMA(1U)
37924 #define S_CPL_SWITCH 24
37925 #define V_CPL_SWITCH(x) ((x) << S_CPL_SWITCH)
37926 #define F_CPL_SWITCH V_CPL_SWITCH(1U)
37928 #define S_ULP_RX 23
37929 #define V_ULP_RX(x) ((x) << S_ULP_RX)
37930 #define F_ULP_RX V_ULP_RX(1U)
37933 #define V_PM_RX(x) ((x) << S_PM_RX)
37934 #define F_PM_RX V_PM_RX(1U)
37937 #define V_PM_TX(x) ((x) << S_PM_TX)
37938 #define F_PM_TX V_PM_TX(1U)
37941 #define V_MA(x) ((x) << S_MA)
37942 #define F_MA V_MA(1U)
37945 #define V_TP(x) ((x) << S_TP)
37946 #define F_TP V_TP(1U)
37949 #define V_LE(x) ((x) << S_LE)
37950 #define F_LE V_LE(1U)
37953 #define V_EDC1(x) ((x) << S_EDC1)
37954 #define F_EDC1 V_EDC1(1U)
37957 #define V_EDC0(x) ((x) << S_EDC0)
37958 #define F_EDC0 V_EDC0(1U)
37961 #define V_MC(x) ((x) << S_MC)
37962 #define F_MC V_MC(1U)
37965 #define V_PCIE(x) ((x) << S_PCIE)
37966 #define F_PCIE V_PCIE(1U)
37969 #define V_PMU(x) ((x) << S_PMU)
37970 #define F_PMU V_PMU(1U)
37972 #define S_XGMAC_KR1 12
37973 #define V_XGMAC_KR1(x) ((x) << S_XGMAC_KR1)
37974 #define F_XGMAC_KR1 V_XGMAC_KR1(1U)
37976 #define S_XGMAC_KR0 11
37977 #define V_XGMAC_KR0(x) ((x) << S_XGMAC_KR0)
37978 #define F_XGMAC_KR0 V_XGMAC_KR0(1U)
37980 #define S_XGMAC1 10
37981 #define V_XGMAC1(x) ((x) << S_XGMAC1)
37982 #define F_XGMAC1 V_XGMAC1(1U)
37985 #define V_XGMAC0(x) ((x) << S_XGMAC0)
37986 #define F_XGMAC0 V_XGMAC0(1U)
37989 #define V_SMB(x) ((x) << S_SMB)
37990 #define F_SMB V_SMB(1U)
37993 #define V_SF(x) ((x) << S_SF)
37994 #define F_SF V_SF(1U)
37997 #define V_PL(x) ((x) << S_PL)
37998 #define F_PL V_PL(1U)
38001 #define V_NCSI(x) ((x) << S_NCSI)
38002 #define F_NCSI V_NCSI(1U)
38005 #define V_MPS(x) ((x) << S_MPS)
38006 #define F_MPS V_MPS(1U)
38009 #define V_MI(x) ((x) << S_MI)
38010 #define F_MI V_MI(1U)
38013 #define V_DBG(x) ((x) << S_DBG)
38014 #define F_DBG V_DBG(1U)
38017 #define V_I2CM(x) ((x) << S_I2CM)
38018 #define F_I2CM V_I2CM(1U)
38021 #define V_CIM(x) ((x) << S_CIM)
38022 #define F_CIM V_CIM(1U)
38025 #define V_MC1(x) ((x) << S_MC1)
38026 #define F_MC1 V_MC1(1U)
38029 #define V_MC0(x) ((x) << S_MC0)
38030 #define F_MC0 V_MC0(1U)
38033 #define V_ANYMAC(x) ((x) << S_ANYMAC)
38034 #define F_ANYMAC V_ANYMAC(1U)
38036 #define A_PL_PERR_ENABLE 0x19408
38037 #define A_PL_INT_CAUSE 0x1940c
38040 #define V_FLR(x) ((x) << S_FLR)
38041 #define F_FLR V_FLR(1U)
38043 #define S_SW_CIM 29
38044 #define V_SW_CIM(x) ((x) << S_SW_CIM)
38045 #define F_SW_CIM V_SW_CIM(1U)
38048 #define V_MAC3(x) ((x) << S_MAC3)
38049 #define F_MAC3 V_MAC3(1U)
38052 #define V_MAC2(x) ((x) << S_MAC2)
38053 #define F_MAC2 V_MAC2(1U)
38056 #define V_MAC1(x) ((x) << S_MAC1)
38057 #define F_MAC1 V_MAC1(1U)
38060 #define V_MAC0(x) ((x) << S_MAC0)
38061 #define F_MAC0 V_MAC0(1U)
38063 #define A_PL_INT_ENABLE 0x19410
38064 #define A_PL_INT_MAP0 0x19414
38066 #define S_MAPNCSI 16
38067 #define M_MAPNCSI 0x1ffU
38068 #define V_MAPNCSI(x) ((x) << S_MAPNCSI)
38069 #define G_MAPNCSI(x) (((x) >> S_MAPNCSI) & M_MAPNCSI)
38071 #define S_MAPDEFAULT 0
38072 #define M_MAPDEFAULT 0x1ffU
38073 #define V_MAPDEFAULT(x) ((x) << S_MAPDEFAULT)
38074 #define G_MAPDEFAULT(x) (((x) >> S_MAPDEFAULT) & M_MAPDEFAULT)
38076 #define A_PL_INT_MAP1 0x19418
38078 #define S_MAPXGMAC1 16
38079 #define M_MAPXGMAC1 0x1ffU
38080 #define V_MAPXGMAC1(x) ((x) << S_MAPXGMAC1)
38081 #define G_MAPXGMAC1(x) (((x) >> S_MAPXGMAC1) & M_MAPXGMAC1)
38083 #define S_MAPXGMAC0 0
38084 #define M_MAPXGMAC0 0x1ffU
38085 #define V_MAPXGMAC0(x) ((x) << S_MAPXGMAC0)
38086 #define G_MAPXGMAC0(x) (((x) >> S_MAPXGMAC0) & M_MAPXGMAC0)
38088 #define S_MAPMAC1 16
38089 #define M_MAPMAC1 0x1ffU
38090 #define V_MAPMAC1(x) ((x) << S_MAPMAC1)
38091 #define G_MAPMAC1(x) (((x) >> S_MAPMAC1) & M_MAPMAC1)
38093 #define S_MAPMAC0 0
38094 #define M_MAPMAC0 0x1ffU
38095 #define V_MAPMAC0(x) ((x) << S_MAPMAC0)
38096 #define G_MAPMAC0(x) (((x) >> S_MAPMAC0) & M_MAPMAC0)
38098 #define A_PL_INT_MAP2 0x1941c
38100 #define S_MAPXGMAC_KR1 16
38101 #define M_MAPXGMAC_KR1 0x1ffU
38102 #define V_MAPXGMAC_KR1(x) ((x) << S_MAPXGMAC_KR1)
38103 #define G_MAPXGMAC_KR1(x) (((x) >> S_MAPXGMAC_KR1) & M_MAPXGMAC_KR1)
38105 #define S_MAPXGMAC_KR0 0
38106 #define M_MAPXGMAC_KR0 0x1ffU
38107 #define V_MAPXGMAC_KR0(x) ((x) << S_MAPXGMAC_KR0)
38108 #define G_MAPXGMAC_KR0(x) (((x) >> S_MAPXGMAC_KR0) & M_MAPXGMAC_KR0)
38110 #define S_MAPMAC3 16
38111 #define M_MAPMAC3 0x1ffU
38112 #define V_MAPMAC3(x) ((x) << S_MAPMAC3)
38113 #define G_MAPMAC3(x) (((x) >> S_MAPMAC3) & M_MAPMAC3)
38115 #define S_MAPMAC2 0
38116 #define M_MAPMAC2 0x1ffU
38117 #define V_MAPMAC2(x) ((x) << S_MAPMAC2)
38118 #define G_MAPMAC2(x) (((x) >> S_MAPMAC2) & M_MAPMAC2)
38120 #define A_PL_INT_MAP3 0x19420
38123 #define M_MAPMI 0x1ffU
38124 #define V_MAPMI(x) ((x) << S_MAPMI)
38125 #define G_MAPMI(x) (((x) >> S_MAPMI) & M_MAPMI)
38128 #define M_MAPSMB 0x1ffU
38129 #define V_MAPSMB(x) ((x) << S_MAPSMB)
38130 #define G_MAPSMB(x) (((x) >> S_MAPSMB) & M_MAPSMB)
38132 #define A_PL_INT_MAP4 0x19424
38134 #define S_MAPDBG 16
38135 #define M_MAPDBG 0x1ffU
38136 #define V_MAPDBG(x) ((x) << S_MAPDBG)
38137 #define G_MAPDBG(x) (((x) >> S_MAPDBG) & M_MAPDBG)
38139 #define S_MAPI2CM 0
38140 #define M_MAPI2CM 0x1ffU
38141 #define V_MAPI2CM(x) ((x) << S_MAPI2CM)
38142 #define G_MAPI2CM(x) (((x) >> S_MAPI2CM) & M_MAPI2CM)
38144 #define A_PL_RST 0x19428
38146 #define S_FATALPERREN 3
38147 #define V_FATALPERREN(x) ((x) << S_FATALPERREN)
38148 #define F_FATALPERREN V_FATALPERREN(1U)
38150 #define S_SWINTCIM 2
38151 #define V_SWINTCIM(x) ((x) << S_SWINTCIM)
38152 #define F_SWINTCIM V_SWINTCIM(1U)
38155 #define V_PIORST(x) ((x) << S_PIORST)
38156 #define F_PIORST V_PIORST(1U)
38158 #define S_PIORSTMODE 0
38159 #define V_PIORSTMODE(x) ((x) << S_PIORSTMODE)
38160 #define F_PIORSTMODE V_PIORSTMODE(1U)
38162 #define S_AUTOPCIEPAUSE 4
38163 #define V_AUTOPCIEPAUSE(x) ((x) << S_AUTOPCIEPAUSE)
38164 #define F_AUTOPCIEPAUSE V_AUTOPCIEPAUSE(1U)
38166 #define A_PL_PL_PERR_INJECT 0x1942c
38168 #define S_PL_MEMSEL 1
38169 #define V_PL_MEMSEL(x) ((x) << S_PL_MEMSEL)
38170 #define F_PL_MEMSEL V_PL_MEMSEL(1U)
38172 #define A_PL_PL_INT_CAUSE 0x19430
38174 #define S_PF_ENABLEERR 5
38175 #define V_PF_ENABLEERR(x) ((x) << S_PF_ENABLEERR)
38176 #define F_PF_ENABLEERR V_PF_ENABLEERR(1U)
38178 #define S_FATALPERR 4
38179 #define V_FATALPERR(x) ((x) << S_FATALPERR)
38180 #define F_FATALPERR V_FATALPERR(1U)
38182 #define S_INVALIDACCESS 3
38183 #define V_INVALIDACCESS(x) ((x) << S_INVALIDACCESS)
38184 #define F_INVALIDACCESS V_INVALIDACCESS(1U)
38186 #define S_TIMEOUT 2
38187 #define V_TIMEOUT(x) ((x) << S_TIMEOUT)
38188 #define F_TIMEOUT V_TIMEOUT(1U)
38191 #define V_PLERR(x) ((x) << S_PLERR)
38192 #define F_PLERR V_PLERR(1U)
38194 #define S_PERRVFID 0
38195 #define V_PERRVFID(x) ((x) << S_PERRVFID)
38196 #define F_PERRVFID V_PERRVFID(1U)
38198 #define S_PL_BUSPERR 6
38199 #define V_PL_BUSPERR(x) ((x) << S_PL_BUSPERR)
38200 #define F_PL_BUSPERR V_PL_BUSPERR(1U)
38202 #define A_PL_PL_INT_ENABLE 0x19434
38203 #define A_PL_PL_PERR_ENABLE 0x19438
38204 #define A_PL_REV 0x1943c
38208 #define V_REV(x) ((x) << S_REV)
38209 #define G_REV(x) (((x) >> S_REV) & M_REV)
38211 #define A_PL_PCIE_LINK 0x19440
38213 #define S_LN0_AESTAT 26
38214 #define M_LN0_AESTAT 0x7U
38215 #define V_LN0_AESTAT(x) ((x) << S_LN0_AESTAT)
38216 #define G_LN0_AESTAT(x) (((x) >> S_LN0_AESTAT) & M_LN0_AESTAT)
38218 #define S_LN0_AECMD 23
38219 #define M_LN0_AECMD 0x7U
38220 #define V_LN0_AECMD(x) ((x) << S_LN0_AECMD)
38221 #define G_LN0_AECMD(x) (((x) >> S_LN0_AECMD) & M_LN0_AECMD)
38223 #define S_T5_STATECFGINITF 16
38224 #define M_T5_STATECFGINITF 0x7fU
38225 #define V_T5_STATECFGINITF(x) ((x) << S_T5_STATECFGINITF)
38226 #define G_T5_STATECFGINITF(x) (((x) >> S_T5_STATECFGINITF) & M_T5_STATECFGINITF)
38228 #define S_T5_STATECFGINIT 12
38229 #define M_T5_STATECFGINIT 0xfU
38230 #define V_T5_STATECFGINIT(x) ((x) << S_T5_STATECFGINIT)
38231 #define G_T5_STATECFGINIT(x) (((x) >> S_T5_STATECFGINIT) & M_T5_STATECFGINIT)
38233 #define S_PCIE_SPEED 8
38234 #define M_PCIE_SPEED 0x3U
38235 #define V_PCIE_SPEED(x) ((x) << S_PCIE_SPEED)
38236 #define G_PCIE_SPEED(x) (((x) >> S_PCIE_SPEED) & M_PCIE_SPEED)
38238 #define S_T5_PERSTTIMEOUT 7
38239 #define V_T5_PERSTTIMEOUT(x) ((x) << S_T5_PERSTTIMEOUT)
38240 #define F_T5_PERSTTIMEOUT V_T5_PERSTTIMEOUT(1U)
38242 #define S_T5_LTSSMENABLE 6
38243 #define V_T5_LTSSMENABLE(x) ((x) << S_T5_LTSSMENABLE)
38244 #define F_T5_LTSSMENABLE V_T5_LTSSMENABLE(1U)
38247 #define M_LTSSM 0x3fU
38248 #define V_LTSSM(x) ((x) << S_LTSSM)
38249 #define G_LTSSM(x) (((x) >> S_LTSSM) & M_LTSSM)
38251 #define S_T6_LN0_AESTAT 27
38252 #define M_T6_LN0_AESTAT 0x7U
38253 #define V_T6_LN0_AESTAT(x) ((x) << S_T6_LN0_AESTAT)
38254 #define G_T6_LN0_AESTAT(x) (((x) >> S_T6_LN0_AESTAT) & M_T6_LN0_AESTAT)
38256 #define S_T6_LN0_AECMD 24
38257 #define M_T6_LN0_AECMD 0x7U
38258 #define V_T6_LN0_AECMD(x) ((x) << S_T6_LN0_AECMD)
38259 #define G_T6_LN0_AECMD(x) (((x) >> S_T6_LN0_AECMD) & M_T6_LN0_AECMD)
38261 #define S_T6_STATECFGINITF 16
38262 #define M_T6_STATECFGINITF 0xffU
38263 #define V_T6_STATECFGINITF(x) ((x) << S_T6_STATECFGINITF)
38264 #define G_T6_STATECFGINITF(x) (((x) >> S_T6_STATECFGINITF) & M_T6_STATECFGINITF)
38266 #define S_T6_STATECFGINIT 12
38267 #define M_T6_STATECFGINIT 0xfU
38268 #define V_T6_STATECFGINIT(x) ((x) << S_T6_STATECFGINIT)
38269 #define G_T6_STATECFGINIT(x) (((x) >> S_T6_STATECFGINIT) & M_T6_STATECFGINIT)
38271 #define S_PHY_STATUS 10
38272 #define V_PHY_STATUS(x) ((x) << S_PHY_STATUS)
38273 #define F_PHY_STATUS V_PHY_STATUS(1U)
38275 #define S_SPEED_PL 8
38276 #define M_SPEED_PL 0x3U
38277 #define V_SPEED_PL(x) ((x) << S_SPEED_PL)
38278 #define G_SPEED_PL(x) (((x) >> S_SPEED_PL) & M_SPEED_PL)
38280 #define S_PERSTTIMEOUT_PL 7
38281 #define V_PERSTTIMEOUT_PL(x) ((x) << S_PERSTTIMEOUT_PL)
38282 #define F_PERSTTIMEOUT_PL V_PERSTTIMEOUT_PL(1U)
38284 #define S_T6_LTSSMENABLE 6
38285 #define V_T6_LTSSMENABLE(x) ((x) << S_T6_LTSSMENABLE)
38286 #define F_T6_LTSSMENABLE V_T6_LTSSMENABLE(1U)
38288 #define A_PL_PCIE_CTL_STAT 0x19444
38290 #define S_PCIE_STATUS 16
38291 #define M_PCIE_STATUS 0xffffU
38292 #define V_PCIE_STATUS(x) ((x) << S_PCIE_STATUS)
38293 #define G_PCIE_STATUS(x) (((x) >> S_PCIE_STATUS) & M_PCIE_STATUS)
38295 #define S_PCIE_CONTROL 0
38296 #define M_PCIE_CONTROL 0xffffU
38297 #define V_PCIE_CONTROL(x) ((x) << S_PCIE_CONTROL)
38298 #define G_PCIE_CONTROL(x) (((x) >> S_PCIE_CONTROL) & M_PCIE_CONTROL)
38300 #define A_PL_SEMAPHORE_CTL 0x1944c
38302 #define S_LOCKSTATUS 16
38303 #define M_LOCKSTATUS 0xffU
38304 #define V_LOCKSTATUS(x) ((x) << S_LOCKSTATUS)
38305 #define G_LOCKSTATUS(x) (((x) >> S_LOCKSTATUS) & M_LOCKSTATUS)
38307 #define S_OWNEROVERRIDE 8
38308 #define V_OWNEROVERRIDE(x) ((x) << S_OWNEROVERRIDE)
38309 #define F_OWNEROVERRIDE V_OWNEROVERRIDE(1U)
38311 #define S_ENABLEPF 0
38312 #define M_ENABLEPF 0xffU
38313 #define V_ENABLEPF(x) ((x) << S_ENABLEPF)
38314 #define G_ENABLEPF(x) (((x) >> S_ENABLEPF) & M_ENABLEPF)
38316 #define A_PL_SEMAPHORE_LOCK 0x19450
38318 #define S_SEMLOCK 31
38319 #define V_SEMLOCK(x) ((x) << S_SEMLOCK)
38320 #define F_SEMLOCK V_SEMLOCK(1U)
38322 #define S_SEMSRCBUS 3
38323 #define M_SEMSRCBUS 0x3U
38324 #define V_SEMSRCBUS(x) ((x) << S_SEMSRCBUS)
38325 #define G_SEMSRCBUS(x) (((x) >> S_SEMSRCBUS) & M_SEMSRCBUS)
38327 #define S_SEMSRCPF 0
38328 #define M_SEMSRCPF 0x7U
38329 #define V_SEMSRCPF(x) ((x) << S_SEMSRCPF)
38330 #define G_SEMSRCPF(x) (((x) >> S_SEMSRCPF) & M_SEMSRCPF)
38332 #define A_PL_PF_ENABLE 0x19470
38334 #define S_PF_ENABLE 0
38335 #define M_PF_ENABLE 0xffU
38336 #define V_PF_ENABLE(x) ((x) << S_PF_ENABLE)
38337 #define G_PF_ENABLE(x) (((x) >> S_PF_ENABLE) & M_PF_ENABLE)
38339 #define A_PL_PORTX_MAP 0x19474
38342 #define M_MAP7 0x7U
38343 #define V_MAP7(x) ((x) << S_MAP7)
38344 #define G_MAP7(x) (((x) >> S_MAP7) & M_MAP7)
38347 #define M_MAP6 0x7U
38348 #define V_MAP6(x) ((x) << S_MAP6)
38349 #define G_MAP6(x) (((x) >> S_MAP6) & M_MAP6)
38352 #define M_MAP5 0x7U
38353 #define V_MAP5(x) ((x) << S_MAP5)
38354 #define G_MAP5(x) (((x) >> S_MAP5) & M_MAP5)
38357 #define M_MAP4 0x7U
38358 #define V_MAP4(x) ((x) << S_MAP4)
38359 #define G_MAP4(x) (((x) >> S_MAP4) & M_MAP4)
38362 #define M_MAP3 0x7U
38363 #define V_MAP3(x) ((x) << S_MAP3)
38364 #define G_MAP3(x) (((x) >> S_MAP3) & M_MAP3)
38367 #define M_MAP2 0x7U
38368 #define V_MAP2(x) ((x) << S_MAP2)
38369 #define G_MAP2(x) (((x) >> S_MAP2) & M_MAP2)
38372 #define M_MAP1 0x7U
38373 #define V_MAP1(x) ((x) << S_MAP1)
38374 #define G_MAP1(x) (((x) >> S_MAP1) & M_MAP1)
38377 #define M_MAP0 0x7U
38378 #define V_MAP0(x) ((x) << S_MAP0)
38379 #define G_MAP0(x) (((x) >> S_MAP0) & M_MAP0)
38381 #define A_PL_VF_SLICE_L 0x19490
38383 #define S_LIMITADDR 16
38384 #define M_LIMITADDR 0x3ffU
38385 #define V_LIMITADDR(x) ((x) << S_LIMITADDR)
38386 #define G_LIMITADDR(x) (((x) >> S_LIMITADDR) & M_LIMITADDR)
38388 #define S_SLICEBASEADDR 0
38389 #define M_SLICEBASEADDR 0x3ffU
38390 #define V_SLICEBASEADDR(x) ((x) << S_SLICEBASEADDR)
38391 #define G_SLICEBASEADDR(x) (((x) >> S_SLICEBASEADDR) & M_SLICEBASEADDR)
38393 #define A_PL_VF_SLICE_H 0x19494
38395 #define S_MODINDX 16
38396 #define M_MODINDX 0x7U
38397 #define V_MODINDX(x) ((x) << S_MODINDX)
38398 #define G_MODINDX(x) (((x) >> S_MODINDX) & M_MODINDX)
38400 #define S_MODOFFSET 0
38401 #define M_MODOFFSET 0x3ffU
38402 #define V_MODOFFSET(x) ((x) << S_MODOFFSET)
38403 #define G_MODOFFSET(x) (((x) >> S_MODOFFSET) & M_MODOFFSET)
38405 #define A_PL_FLR_VF_STATUS 0x194d0
38406 #define A_PL_FLR_PF_STATUS 0x194e0
38409 #define M_FLR_PF 0xffU
38410 #define V_FLR_PF(x) ((x) << S_FLR_PF)
38411 #define G_FLR_PF(x) (((x) >> S_FLR_PF) & M_FLR_PF)
38413 #define A_PL_TIMEOUT_CTL 0x194f0
38415 #define S_PL_TIMEOUT 0
38416 #define M_PL_TIMEOUT 0xffffU
38417 #define V_PL_TIMEOUT(x) ((x) << S_PL_TIMEOUT)
38418 #define G_PL_TIMEOUT(x) (((x) >> S_PL_TIMEOUT) & M_PL_TIMEOUT)
38420 #define S_PERRCAPTURE 16
38421 #define V_PERRCAPTURE(x) ((x) << S_PERRCAPTURE)
38422 #define F_PERRCAPTURE V_PERRCAPTURE(1U)
38424 #define A_PL_TIMEOUT_STATUS0 0x194f4
38426 #define S_PL_TOADDR 2
38427 #define M_PL_TOADDR 0xfffffffU
38428 #define V_PL_TOADDR(x) ((x) << S_PL_TOADDR)
38429 #define G_PL_TOADDR(x) (((x) >> S_PL_TOADDR) & M_PL_TOADDR)
38431 #define A_PL_TIMEOUT_STATUS1 0x194f8
38433 #define S_PL_TOVALID 31
38434 #define V_PL_TOVALID(x) ((x) << S_PL_TOVALID)
38435 #define F_PL_TOVALID V_PL_TOVALID(1U)
38438 #define V_WRITE(x) ((x) << S_WRITE)
38439 #define F_WRITE V_WRITE(1U)
38441 #define S_PL_TOBUS 20
38442 #define M_PL_TOBUS 0x3U
38443 #define V_PL_TOBUS(x) ((x) << S_PL_TOBUS)
38444 #define G_PL_TOBUS(x) (((x) >> S_PL_TOBUS) & M_PL_TOBUS)
38447 #define V_RGN(x) ((x) << S_RGN)
38448 #define F_RGN V_RGN(1U)
38450 #define S_PL_TOPF 16
38451 #define M_PL_TOPF 0x7U
38452 #define V_PL_TOPF(x) ((x) << S_PL_TOPF)
38453 #define G_PL_TOPF(x) (((x) >> S_PL_TOPF) & M_PL_TOPF)
38455 #define S_PL_TORID 0
38456 #define M_PL_TORID 0xffffU
38457 #define V_PL_TORID(x) ((x) << S_PL_TORID)
38458 #define G_PL_TORID(x) (((x) >> S_PL_TORID) & M_PL_TORID)
38460 #define S_VALIDPERR 30
38461 #define V_VALIDPERR(x) ((x) << S_VALIDPERR)
38462 #define F_VALIDPERR V_VALIDPERR(1U)
38464 #define S_PL_TOVFID 0
38465 #define M_PL_TOVFID 0xffU
38466 #define V_PL_TOVFID(x) ((x) << S_PL_TOVFID)
38467 #define G_PL_TOVFID(x) (((x) >> S_PL_TOVFID) & M_PL_TOVFID)
38469 #define S_T6_PL_TOVFID 0
38470 #define M_T6_PL_TOVFID 0x1ffU
38471 #define V_T6_PL_TOVFID(x) ((x) << S_T6_PL_TOVFID)
38472 #define G_T6_PL_TOVFID(x) (((x) >> S_T6_PL_TOVFID) & M_T6_PL_TOVFID)
38474 #define A_PL_VFID_MAP 0x19800
38476 #define S_VFID_VLD 7
38477 #define V_VFID_VLD(x) ((x) << S_VFID_VLD)
38478 #define F_VFID_VLD V_VFID_VLD(1U)
38480 /* registers for module LE */
38481 #define LE_BASE_ADDR 0x19c00
38483 #define A_LE_BUF_CONFIG 0x19c00
38484 #define A_LE_DB_ID 0x19c00
38485 #define A_LE_DB_CONFIG 0x19c04
38487 #define S_TCAMCMDOVLAPEN 21
38488 #define V_TCAMCMDOVLAPEN(x) ((x) << S_TCAMCMDOVLAPEN)
38489 #define F_TCAMCMDOVLAPEN V_TCAMCMDOVLAPEN(1U)
38491 #define S_HASHEN 20
38492 #define V_HASHEN(x) ((x) << S_HASHEN)
38493 #define F_HASHEN V_HASHEN(1U)
38495 #define S_ASBOTHSRCHEN 18
38496 #define V_ASBOTHSRCHEN(x) ((x) << S_ASBOTHSRCHEN)
38497 #define F_ASBOTHSRCHEN V_ASBOTHSRCHEN(1U)
38499 #define S_ASLIPCOMPEN 17
38500 #define V_ASLIPCOMPEN(x) ((x) << S_ASLIPCOMPEN)
38501 #define F_ASLIPCOMPEN V_ASLIPCOMPEN(1U)
38504 #define V_BUILD(x) ((x) << S_BUILD)
38505 #define F_BUILD V_BUILD(1U)
38507 #define S_FILTEREN 11
38508 #define V_FILTEREN(x) ((x) << S_FILTEREN)
38509 #define F_FILTEREN V_FILTEREN(1U)
38511 #define S_SYNMODE 7
38512 #define M_SYNMODE 0x3U
38513 #define V_SYNMODE(x) ((x) << S_SYNMODE)
38514 #define G_SYNMODE(x) (((x) >> S_SYNMODE) & M_SYNMODE)
38516 #define S_LEBUSEN 5
38517 #define V_LEBUSEN(x) ((x) << S_LEBUSEN)
38518 #define F_LEBUSEN V_LEBUSEN(1U)
38520 #define S_ELOOKDUMEN 4
38521 #define V_ELOOKDUMEN(x) ((x) << S_ELOOKDUMEN)
38522 #define F_ELOOKDUMEN V_ELOOKDUMEN(1U)
38524 #define S_IPV4ONLYEN 3
38525 #define V_IPV4ONLYEN(x) ((x) << S_IPV4ONLYEN)
38526 #define F_IPV4ONLYEN V_IPV4ONLYEN(1U)
38528 #define S_MOSTCMDOEN 2
38529 #define V_MOSTCMDOEN(x) ((x) << S_MOSTCMDOEN)
38530 #define F_MOSTCMDOEN V_MOSTCMDOEN(1U)
38532 #define S_DELACTSYNOEN 1
38533 #define V_DELACTSYNOEN(x) ((x) << S_DELACTSYNOEN)
38534 #define F_DELACTSYNOEN V_DELACTSYNOEN(1U)
38536 #define S_CMDOVERLAPDIS 0
38537 #define V_CMDOVERLAPDIS(x) ((x) << S_CMDOVERLAPDIS)
38538 #define F_CMDOVERLAPDIS V_CMDOVERLAPDIS(1U)
38540 #define S_MASKCMDOLAPDIS 26
38541 #define V_MASKCMDOLAPDIS(x) ((x) << S_MASKCMDOLAPDIS)
38542 #define F_MASKCMDOLAPDIS V_MASKCMDOLAPDIS(1U)
38544 #define S_IPV4HASHSIZEEN 25
38545 #define V_IPV4HASHSIZEEN(x) ((x) << S_IPV4HASHSIZEEN)
38546 #define F_IPV4HASHSIZEEN V_IPV4HASHSIZEEN(1U)
38548 #define S_PROTOCOLMASKEN 24
38549 #define V_PROTOCOLMASKEN(x) ((x) << S_PROTOCOLMASKEN)
38550 #define F_PROTOCOLMASKEN V_PROTOCOLMASKEN(1U)
38552 #define S_TUPLESIZEEN 23
38553 #define V_TUPLESIZEEN(x) ((x) << S_TUPLESIZEEN)
38554 #define F_TUPLESIZEEN V_TUPLESIZEEN(1U)
38556 #define S_SRVRSRAMEN 22
38557 #define V_SRVRSRAMEN(x) ((x) << S_SRVRSRAMEN)
38558 #define F_SRVRSRAMEN V_SRVRSRAMEN(1U)
38560 #define S_ASBOTHSRCHENPR 19
38561 #define V_ASBOTHSRCHENPR(x) ((x) << S_ASBOTHSRCHENPR)
38562 #define F_ASBOTHSRCHENPR V_ASBOTHSRCHENPR(1U)
38564 #define S_POCLIPTID0 15
38565 #define V_POCLIPTID0(x) ((x) << S_POCLIPTID0)
38566 #define F_POCLIPTID0 V_POCLIPTID0(1U)
38568 #define S_TCAMARBOFF 14
38569 #define V_TCAMARBOFF(x) ((x) << S_TCAMARBOFF)
38570 #define F_TCAMARBOFF V_TCAMARBOFF(1U)
38572 #define S_ACCNTFULLEN 13
38573 #define V_ACCNTFULLEN(x) ((x) << S_ACCNTFULLEN)
38574 #define F_ACCNTFULLEN V_ACCNTFULLEN(1U)
38576 #define S_FILTERRWNOCLIP 12
38577 #define V_FILTERRWNOCLIP(x) ((x) << S_FILTERRWNOCLIP)
38578 #define F_FILTERRWNOCLIP V_FILTERRWNOCLIP(1U)
38580 #define S_CRCHASH 10
38581 #define V_CRCHASH(x) ((x) << S_CRCHASH)
38582 #define F_CRCHASH V_CRCHASH(1U)
38584 #define S_COMPTID 9
38585 #define V_COMPTID(x) ((x) << S_COMPTID)
38586 #define F_COMPTID V_COMPTID(1U)
38588 #define S_SINGLETHREAD 6
38589 #define V_SINGLETHREAD(x) ((x) << S_SINGLETHREAD)
38590 #define F_SINGLETHREAD V_SINGLETHREAD(1U)
38592 #define S_CHK_FUL_TUP_ZERO 27
38593 #define V_CHK_FUL_TUP_ZERO(x) ((x) << S_CHK_FUL_TUP_ZERO)
38594 #define F_CHK_FUL_TUP_ZERO V_CHK_FUL_TUP_ZERO(1U)
38596 #define S_PRI_HASH 26
38597 #define V_PRI_HASH(x) ((x) << S_PRI_HASH)
38598 #define F_PRI_HASH V_PRI_HASH(1U)
38600 #define S_EXTN_HASH_IPV4 25
38601 #define V_EXTN_HASH_IPV4(x) ((x) << S_EXTN_HASH_IPV4)
38602 #define F_EXTN_HASH_IPV4 V_EXTN_HASH_IPV4(1U)
38604 #define S_ASLIPCOMPEN_IPV4 18
38605 #define V_ASLIPCOMPEN_IPV4(x) ((x) << S_ASLIPCOMPEN_IPV4)
38606 #define F_ASLIPCOMPEN_IPV4 V_ASLIPCOMPEN_IPV4(1U)
38608 #define S_IGNR_TUP_ZERO 9
38609 #define V_IGNR_TUP_ZERO(x) ((x) << S_IGNR_TUP_ZERO)
38610 #define F_IGNR_TUP_ZERO V_IGNR_TUP_ZERO(1U)
38612 #define S_IGNR_LIP_ZERO 8
38613 #define V_IGNR_LIP_ZERO(x) ((x) << S_IGNR_LIP_ZERO)
38614 #define F_IGNR_LIP_ZERO V_IGNR_LIP_ZERO(1U)
38616 #define S_CLCAM_INIT_BUSY 7
38617 #define V_CLCAM_INIT_BUSY(x) ((x) << S_CLCAM_INIT_BUSY)
38618 #define F_CLCAM_INIT_BUSY V_CLCAM_INIT_BUSY(1U)
38620 #define S_CLCAM_INIT 6
38621 #define V_CLCAM_INIT(x) ((x) << S_CLCAM_INIT)
38622 #define F_CLCAM_INIT V_CLCAM_INIT(1U)
38624 #define S_MTCAM_INIT_BUSY 5
38625 #define V_MTCAM_INIT_BUSY(x) ((x) << S_MTCAM_INIT_BUSY)
38626 #define F_MTCAM_INIT_BUSY V_MTCAM_INIT_BUSY(1U)
38628 #define S_MTCAM_INIT 4
38629 #define V_MTCAM_INIT(x) ((x) << S_MTCAM_INIT)
38630 #define F_MTCAM_INIT V_MTCAM_INIT(1U)
38632 #define S_REGION_EN 0
38633 #define M_REGION_EN 0xfU
38634 #define V_REGION_EN(x) ((x) << S_REGION_EN)
38635 #define G_REGION_EN(x) (((x) >> S_REGION_EN) & M_REGION_EN)
38637 #define A_LE_MISC 0x19c08
38639 #define S_CMPUNVAIL 0
38640 #define M_CMPUNVAIL 0xfU
38641 #define V_CMPUNVAIL(x) ((x) << S_CMPUNVAIL)
38642 #define G_CMPUNVAIL(x) (((x) >> S_CMPUNVAIL) & M_CMPUNVAIL)
38644 #define S_SRAMDEEPSLEEP_STAT 11
38645 #define V_SRAMDEEPSLEEP_STAT(x) ((x) << S_SRAMDEEPSLEEP_STAT)
38646 #define F_SRAMDEEPSLEEP_STAT V_SRAMDEEPSLEEP_STAT(1U)
38648 #define S_TCAMDEEPSLEEP1_STAT 10
38649 #define V_TCAMDEEPSLEEP1_STAT(x) ((x) << S_TCAMDEEPSLEEP1_STAT)
38650 #define F_TCAMDEEPSLEEP1_STAT V_TCAMDEEPSLEEP1_STAT(1U)
38652 #define S_TCAMDEEPSLEEP0_STAT 9
38653 #define V_TCAMDEEPSLEEP0_STAT(x) ((x) << S_TCAMDEEPSLEEP0_STAT)
38654 #define F_TCAMDEEPSLEEP0_STAT V_TCAMDEEPSLEEP0_STAT(1U)
38656 #define S_SRAMDEEPSLEEP 8
38657 #define V_SRAMDEEPSLEEP(x) ((x) << S_SRAMDEEPSLEEP)
38658 #define F_SRAMDEEPSLEEP V_SRAMDEEPSLEEP(1U)
38660 #define S_TCAMDEEPSLEEP1 7
38661 #define V_TCAMDEEPSLEEP1(x) ((x) << S_TCAMDEEPSLEEP1)
38662 #define F_TCAMDEEPSLEEP1 V_TCAMDEEPSLEEP1(1U)
38664 #define S_TCAMDEEPSLEEP0 6
38665 #define V_TCAMDEEPSLEEP0(x) ((x) << S_TCAMDEEPSLEEP0)
38666 #define F_TCAMDEEPSLEEP0 V_TCAMDEEPSLEEP0(1U)
38668 #define S_SRVRAMCLKOFF 5
38669 #define V_SRVRAMCLKOFF(x) ((x) << S_SRVRAMCLKOFF)
38670 #define F_SRVRAMCLKOFF V_SRVRAMCLKOFF(1U)
38672 #define S_HASHCLKOFF 4
38673 #define V_HASHCLKOFF(x) ((x) << S_HASHCLKOFF)
38674 #define F_HASHCLKOFF V_HASHCLKOFF(1U)
38676 #define A_LE_DB_EXEC_CTRL 0x19c08
38678 #define S_TPDB_IF_PAUSE_ACK 10
38679 #define V_TPDB_IF_PAUSE_ACK(x) ((x) << S_TPDB_IF_PAUSE_ACK)
38680 #define F_TPDB_IF_PAUSE_ACK V_TPDB_IF_PAUSE_ACK(1U)
38682 #define S_TPDB_IF_PAUSE_REQ 9
38683 #define V_TPDB_IF_PAUSE_REQ(x) ((x) << S_TPDB_IF_PAUSE_REQ)
38684 #define F_TPDB_IF_PAUSE_REQ V_TPDB_IF_PAUSE_REQ(1U)
38686 #define S_ERRSTOP_EN 8
38687 #define V_ERRSTOP_EN(x) ((x) << S_ERRSTOP_EN)
38688 #define F_ERRSTOP_EN V_ERRSTOP_EN(1U)
38690 #define S_CMDLIMIT 0
38691 #define M_CMDLIMIT 0xffU
38692 #define V_CMDLIMIT(x) ((x) << S_CMDLIMIT)
38693 #define G_CMDLIMIT(x) (((x) >> S_CMDLIMIT) & M_CMDLIMIT)
38695 #define A_LE_DB_PS_CTRL 0x19c0c
38697 #define S_CLTCAMDEEPSLEEP_STAT 10
38698 #define V_CLTCAMDEEPSLEEP_STAT(x) ((x) << S_CLTCAMDEEPSLEEP_STAT)
38699 #define F_CLTCAMDEEPSLEEP_STAT V_CLTCAMDEEPSLEEP_STAT(1U)
38701 #define S_TCAMDEEPSLEEP_STAT 9
38702 #define V_TCAMDEEPSLEEP_STAT(x) ((x) << S_TCAMDEEPSLEEP_STAT)
38703 #define F_TCAMDEEPSLEEP_STAT V_TCAMDEEPSLEEP_STAT(1U)
38705 #define S_CLTCAMDEEPSLEEP 7
38706 #define V_CLTCAMDEEPSLEEP(x) ((x) << S_CLTCAMDEEPSLEEP)
38707 #define F_CLTCAMDEEPSLEEP V_CLTCAMDEEPSLEEP(1U)
38709 #define S_TCAMDEEPSLEEP 6
38710 #define V_TCAMDEEPSLEEP(x) ((x) << S_TCAMDEEPSLEEP)
38711 #define F_TCAMDEEPSLEEP V_TCAMDEEPSLEEP(1U)
38713 #define A_LE_DB_ROUTING_TABLE_INDEX 0x19c10
38716 #define M_RTINDX 0x3fU
38717 #define V_RTINDX(x) ((x) << S_RTINDX)
38718 #define G_RTINDX(x) (((x) >> S_RTINDX) & M_RTINDX)
38720 #define A_LE_DB_ACTIVE_TABLE_START_INDEX 0x19c10
38723 #define M_ATINDX 0xfffffU
38724 #define V_ATINDX(x) ((x) << S_ATINDX)
38725 #define G_ATINDX(x) (((x) >> S_ATINDX) & M_ATINDX)
38727 #define A_LE_DB_FILTER_TABLE_INDEX 0x19c14
38730 #define M_FTINDX 0x3fU
38731 #define V_FTINDX(x) ((x) << S_FTINDX)
38732 #define G_FTINDX(x) (((x) >> S_FTINDX) & M_FTINDX)
38734 #define A_LE_DB_NORM_FILT_TABLE_START_INDEX 0x19c14
38736 #define S_NFTINDX 0
38737 #define M_NFTINDX 0xfffffU
38738 #define V_NFTINDX(x) ((x) << S_NFTINDX)
38739 #define G_NFTINDX(x) (((x) >> S_NFTINDX) & M_NFTINDX)
38741 #define A_LE_DB_SERVER_INDEX 0x19c18
38744 #define M_SRINDX 0x3fU
38745 #define V_SRINDX(x) ((x) << S_SRINDX)
38746 #define G_SRINDX(x) (((x) >> S_SRINDX) & M_SRINDX)
38748 #define A_LE_DB_SRVR_START_INDEX 0x19c18
38750 #define S_T6_SRINDX 0
38751 #define M_T6_SRINDX 0xfffffU
38752 #define V_T6_SRINDX(x) ((x) << S_T6_SRINDX)
38753 #define G_T6_SRINDX(x) (((x) >> S_T6_SRINDX) & M_T6_SRINDX)
38755 #define A_LE_DB_CLIP_TABLE_INDEX 0x19c1c
38757 #define S_CLIPTINDX 7
38758 #define M_CLIPTINDX 0x3fU
38759 #define V_CLIPTINDX(x) ((x) << S_CLIPTINDX)
38760 #define G_CLIPTINDX(x) (((x) >> S_CLIPTINDX) & M_CLIPTINDX)
38762 #define A_LE_DB_HPRI_FILT_TABLE_START_INDEX 0x19c1c
38764 #define S_HFTINDX 0
38765 #define M_HFTINDX 0xfffffU
38766 #define V_HFTINDX(x) ((x) << S_HFTINDX)
38767 #define G_HFTINDX(x) (((x) >> S_HFTINDX) & M_HFTINDX)
38769 #define A_LE_DB_ACT_CNT_IPV4 0x19c20
38771 #define S_ACTCNTIPV4 0
38772 #define M_ACTCNTIPV4 0xfffffU
38773 #define V_ACTCNTIPV4(x) ((x) << S_ACTCNTIPV4)
38774 #define G_ACTCNTIPV4(x) (((x) >> S_ACTCNTIPV4) & M_ACTCNTIPV4)
38776 #define A_LE_DB_ACT_CNT_IPV6 0x19c24
38778 #define S_ACTCNTIPV6 0
38779 #define M_ACTCNTIPV6 0xfffffU
38780 #define V_ACTCNTIPV6(x) ((x) << S_ACTCNTIPV6)
38781 #define G_ACTCNTIPV6(x) (((x) >> S_ACTCNTIPV6) & M_ACTCNTIPV6)
38783 #define A_LE_DB_HASH_CONFIG 0x19c28
38785 #define S_HASHTIDSIZE 16
38786 #define M_HASHTIDSIZE 0x3fU
38787 #define V_HASHTIDSIZE(x) ((x) << S_HASHTIDSIZE)
38788 #define G_HASHTIDSIZE(x) (((x) >> S_HASHTIDSIZE) & M_HASHTIDSIZE)
38790 #define S_HASHSIZE 0
38791 #define M_HASHSIZE 0x3fU
38792 #define V_HASHSIZE(x) ((x) << S_HASHSIZE)
38793 #define G_HASHSIZE(x) (((x) >> S_HASHSIZE) & M_HASHSIZE)
38795 #define S_NUMHASHBKT 20
38796 #define M_NUMHASHBKT 0x1fU
38797 #define V_NUMHASHBKT(x) ((x) << S_NUMHASHBKT)
38798 #define G_NUMHASHBKT(x) (((x) >> S_NUMHASHBKT) & M_NUMHASHBKT)
38800 #define S_HASHTBLSIZE 3
38801 #define M_HASHTBLSIZE 0x1ffffU
38802 #define V_HASHTBLSIZE(x) ((x) << S_HASHTBLSIZE)
38803 #define G_HASHTBLSIZE(x) (((x) >> S_HASHTBLSIZE) & M_HASHTBLSIZE)
38805 #define A_LE_DB_HASH_TABLE_BASE 0x19c2c
38806 #define A_LE_DB_MIN_NUM_ACTV_TCAM_ENTRIES 0x19c2c
38808 #define S_MIN_ATCAM_ENTS 0
38809 #define M_MIN_ATCAM_ENTS 0xfffffU
38810 #define V_MIN_ATCAM_ENTS(x) ((x) << S_MIN_ATCAM_ENTS)
38811 #define G_MIN_ATCAM_ENTS(x) (((x) >> S_MIN_ATCAM_ENTS) & M_MIN_ATCAM_ENTS)
38813 #define A_LE_DB_HASH_TID_BASE 0x19c30
38814 #define A_LE_DB_HASH_TBL_BASE_ADDR 0x19c30
38816 #define S_HASHTBLADDR 4
38817 #define M_HASHTBLADDR 0xfffffffU
38818 #define V_HASHTBLADDR(x) ((x) << S_HASHTBLADDR)
38819 #define G_HASHTBLADDR(x) (((x) >> S_HASHTBLADDR) & M_HASHTBLADDR)
38821 #define A_LE_DB_SIZE 0x19c34
38822 #define A_LE_TCAM_SIZE 0x19c34
38824 #define S_TCAM_SIZE 0
38825 #define M_TCAM_SIZE 0x3U
38826 #define V_TCAM_SIZE(x) ((x) << S_TCAM_SIZE)
38827 #define G_TCAM_SIZE(x) (((x) >> S_TCAM_SIZE) & M_TCAM_SIZE)
38829 #define A_LE_DB_INT_ENABLE 0x19c38
38831 #define S_MSGSEL 27
38832 #define M_MSGSEL 0x1fU
38833 #define V_MSGSEL(x) ((x) << S_MSGSEL)
38834 #define G_MSGSEL(x) (((x) >> S_MSGSEL) & M_MSGSEL)
38836 #define S_REQQPARERR 16
38837 #define V_REQQPARERR(x) ((x) << S_REQQPARERR)
38838 #define F_REQQPARERR V_REQQPARERR(1U)
38840 #define S_UNKNOWNCMD 15
38841 #define V_UNKNOWNCMD(x) ((x) << S_UNKNOWNCMD)
38842 #define F_UNKNOWNCMD V_UNKNOWNCMD(1U)
38844 #define S_DROPFILTERHIT 13
38845 #define V_DROPFILTERHIT(x) ((x) << S_DROPFILTERHIT)
38846 #define F_DROPFILTERHIT V_DROPFILTERHIT(1U)
38848 #define S_FILTERHIT 12
38849 #define V_FILTERHIT(x) ((x) << S_FILTERHIT)
38850 #define F_FILTERHIT V_FILTERHIT(1U)
38852 #define S_SYNCOOKIEOFF 11
38853 #define V_SYNCOOKIEOFF(x) ((x) << S_SYNCOOKIEOFF)
38854 #define F_SYNCOOKIEOFF V_SYNCOOKIEOFF(1U)
38856 #define S_SYNCOOKIEBAD 10
38857 #define V_SYNCOOKIEBAD(x) ((x) << S_SYNCOOKIEBAD)
38858 #define F_SYNCOOKIEBAD V_SYNCOOKIEBAD(1U)
38860 #define S_SYNCOOKIE 9
38861 #define V_SYNCOOKIE(x) ((x) << S_SYNCOOKIE)
38862 #define F_SYNCOOKIE V_SYNCOOKIE(1U)
38864 #define S_NFASRCHFAIL 8
38865 #define V_NFASRCHFAIL(x) ((x) << S_NFASRCHFAIL)
38866 #define F_NFASRCHFAIL V_NFASRCHFAIL(1U)
38868 #define S_ACTRGNFULL 7
38869 #define V_ACTRGNFULL(x) ((x) << S_ACTRGNFULL)
38870 #define F_ACTRGNFULL V_ACTRGNFULL(1U)
38872 #define S_PARITYERR 6
38873 #define V_PARITYERR(x) ((x) << S_PARITYERR)
38874 #define F_PARITYERR V_PARITYERR(1U)
38876 #define S_LIPMISS 5
38877 #define V_LIPMISS(x) ((x) << S_LIPMISS)
38878 #define F_LIPMISS V_LIPMISS(1U)
38881 #define V_LIP0(x) ((x) << S_LIP0)
38882 #define F_LIP0 V_LIP0(1U)
38885 #define V_MISS(x) ((x) << S_MISS)
38886 #define F_MISS V_MISS(1U)
38888 #define S_ROUTINGHIT 2
38889 #define V_ROUTINGHIT(x) ((x) << S_ROUTINGHIT)
38890 #define F_ROUTINGHIT V_ROUTINGHIT(1U)
38892 #define S_ACTIVEHIT 1
38893 #define V_ACTIVEHIT(x) ((x) << S_ACTIVEHIT)
38894 #define F_ACTIVEHIT V_ACTIVEHIT(1U)
38896 #define S_SERVERHIT 0
38897 #define V_SERVERHIT(x) ((x) << S_SERVERHIT)
38898 #define F_SERVERHIT V_SERVERHIT(1U)
38900 #define S_ACTCNTIPV6TZERO 21
38901 #define V_ACTCNTIPV6TZERO(x) ((x) << S_ACTCNTIPV6TZERO)
38902 #define F_ACTCNTIPV6TZERO V_ACTCNTIPV6TZERO(1U)
38904 #define S_ACTCNTIPV4TZERO 20
38905 #define V_ACTCNTIPV4TZERO(x) ((x) << S_ACTCNTIPV4TZERO)
38906 #define F_ACTCNTIPV4TZERO V_ACTCNTIPV4TZERO(1U)
38908 #define S_ACTCNTIPV6ZERO 19
38909 #define V_ACTCNTIPV6ZERO(x) ((x) << S_ACTCNTIPV6ZERO)
38910 #define F_ACTCNTIPV6ZERO V_ACTCNTIPV6ZERO(1U)
38912 #define S_ACTCNTIPV4ZERO 18
38913 #define V_ACTCNTIPV4ZERO(x) ((x) << S_ACTCNTIPV4ZERO)
38914 #define F_ACTCNTIPV4ZERO V_ACTCNTIPV4ZERO(1U)
38916 #define S_MARSPPARERR 17
38917 #define V_MARSPPARERR(x) ((x) << S_MARSPPARERR)
38918 #define F_MARSPPARERR V_MARSPPARERR(1U)
38920 #define S_VFPARERR 14
38921 #define V_VFPARERR(x) ((x) << S_VFPARERR)
38922 #define F_VFPARERR V_VFPARERR(1U)
38924 #define S_CLIPSUBERR 29
38925 #define V_CLIPSUBERR(x) ((x) << S_CLIPSUBERR)
38926 #define F_CLIPSUBERR V_CLIPSUBERR(1U)
38928 #define S_CLCAMFIFOERR 28
38929 #define V_CLCAMFIFOERR(x) ((x) << S_CLCAMFIFOERR)
38930 #define F_CLCAMFIFOERR V_CLCAMFIFOERR(1U)
38932 #define S_HASHTBLMEMCRCERR 27
38933 #define V_HASHTBLMEMCRCERR(x) ((x) << S_HASHTBLMEMCRCERR)
38934 #define F_HASHTBLMEMCRCERR V_HASHTBLMEMCRCERR(1U)
38936 #define S_CTCAMINVLDENT 26
38937 #define V_CTCAMINVLDENT(x) ((x) << S_CTCAMINVLDENT)
38938 #define F_CTCAMINVLDENT V_CTCAMINVLDENT(1U)
38940 #define S_TCAMINVLDENT 25
38941 #define V_TCAMINVLDENT(x) ((x) << S_TCAMINVLDENT)
38942 #define F_TCAMINVLDENT V_TCAMINVLDENT(1U)
38944 #define S_TOTCNTERR 24
38945 #define V_TOTCNTERR(x) ((x) << S_TOTCNTERR)
38946 #define F_TOTCNTERR V_TOTCNTERR(1U)
38948 #define S_CMDPRSRINTERR 23
38949 #define V_CMDPRSRINTERR(x) ((x) << S_CMDPRSRINTERR)
38950 #define F_CMDPRSRINTERR V_CMDPRSRINTERR(1U)
38952 #define S_CMDTIDERR 22
38953 #define V_CMDTIDERR(x) ((x) << S_CMDTIDERR)
38954 #define F_CMDTIDERR V_CMDTIDERR(1U)
38956 #define S_T6_ACTRGNFULL 21
38957 #define V_T6_ACTRGNFULL(x) ((x) << S_T6_ACTRGNFULL)
38958 #define F_T6_ACTRGNFULL V_T6_ACTRGNFULL(1U)
38960 #define S_T6_ACTCNTIPV6TZERO 20
38961 #define V_T6_ACTCNTIPV6TZERO(x) ((x) << S_T6_ACTCNTIPV6TZERO)
38962 #define F_T6_ACTCNTIPV6TZERO V_T6_ACTCNTIPV6TZERO(1U)
38964 #define S_T6_ACTCNTIPV4TZERO 19
38965 #define V_T6_ACTCNTIPV4TZERO(x) ((x) << S_T6_ACTCNTIPV4TZERO)
38966 #define F_T6_ACTCNTIPV4TZERO V_T6_ACTCNTIPV4TZERO(1U)
38968 #define S_T6_ACTCNTIPV6ZERO 18
38969 #define V_T6_ACTCNTIPV6ZERO(x) ((x) << S_T6_ACTCNTIPV6ZERO)
38970 #define F_T6_ACTCNTIPV6ZERO V_T6_ACTCNTIPV6ZERO(1U)
38972 #define S_T6_ACTCNTIPV4ZERO 17
38973 #define V_T6_ACTCNTIPV4ZERO(x) ((x) << S_T6_ACTCNTIPV4ZERO)
38974 #define F_T6_ACTCNTIPV4ZERO V_T6_ACTCNTIPV4ZERO(1U)
38976 #define S_MAIFWRINTPERR 16
38977 #define V_MAIFWRINTPERR(x) ((x) << S_MAIFWRINTPERR)
38978 #define F_MAIFWRINTPERR V_MAIFWRINTPERR(1U)
38980 #define S_HASHTBLMEMACCERR 15
38981 #define V_HASHTBLMEMACCERR(x) ((x) << S_HASHTBLMEMACCERR)
38982 #define F_HASHTBLMEMACCERR V_HASHTBLMEMACCERR(1U)
38984 #define S_TCAMCRCERR 14
38985 #define V_TCAMCRCERR(x) ((x) << S_TCAMCRCERR)
38986 #define F_TCAMCRCERR V_TCAMCRCERR(1U)
38988 #define S_TCAMINTPERR 13
38989 #define V_TCAMINTPERR(x) ((x) << S_TCAMINTPERR)
38990 #define F_TCAMINTPERR V_TCAMINTPERR(1U)
38992 #define S_VFSRAMPERR 12
38993 #define V_VFSRAMPERR(x) ((x) << S_VFSRAMPERR)
38994 #define F_VFSRAMPERR V_VFSRAMPERR(1U)
38996 #define S_SRVSRAMPERR 11
38997 #define V_SRVSRAMPERR(x) ((x) << S_SRVSRAMPERR)
38998 #define F_SRVSRAMPERR V_SRVSRAMPERR(1U)
39000 #define S_SSRAMINTPERR 10
39001 #define V_SSRAMINTPERR(x) ((x) << S_SSRAMINTPERR)
39002 #define F_SSRAMINTPERR V_SSRAMINTPERR(1U)
39004 #define S_CLCAMINTPERR 9
39005 #define V_CLCAMINTPERR(x) ((x) << S_CLCAMINTPERR)
39006 #define F_CLCAMINTPERR V_CLCAMINTPERR(1U)
39008 #define S_CLCAMCRCPARERR 8
39009 #define V_CLCAMCRCPARERR(x) ((x) << S_CLCAMCRCPARERR)
39010 #define F_CLCAMCRCPARERR V_CLCAMCRCPARERR(1U)
39012 #define S_HASHTBLACCFAIL 7
39013 #define V_HASHTBLACCFAIL(x) ((x) << S_HASHTBLACCFAIL)
39014 #define F_HASHTBLACCFAIL V_HASHTBLACCFAIL(1U)
39016 #define S_TCAMACCFAIL 6
39017 #define V_TCAMACCFAIL(x) ((x) << S_TCAMACCFAIL)
39018 #define F_TCAMACCFAIL V_TCAMACCFAIL(1U)
39020 #define S_SRVSRAMACCFAIL 5
39021 #define V_SRVSRAMACCFAIL(x) ((x) << S_SRVSRAMACCFAIL)
39022 #define F_SRVSRAMACCFAIL V_SRVSRAMACCFAIL(1U)
39024 #define S_CLIPTCAMACCFAIL 4
39025 #define V_CLIPTCAMACCFAIL(x) ((x) << S_CLIPTCAMACCFAIL)
39026 #define F_CLIPTCAMACCFAIL V_CLIPTCAMACCFAIL(1U)
39028 #define S_T6_UNKNOWNCMD 3
39029 #define V_T6_UNKNOWNCMD(x) ((x) << S_T6_UNKNOWNCMD)
39030 #define F_T6_UNKNOWNCMD V_T6_UNKNOWNCMD(1U)
39032 #define S_T6_LIP0 2
39033 #define V_T6_LIP0(x) ((x) << S_T6_LIP0)
39034 #define F_T6_LIP0 V_T6_LIP0(1U)
39036 #define S_T6_LIPMISS 1
39037 #define V_T6_LIPMISS(x) ((x) << S_T6_LIPMISS)
39038 #define F_T6_LIPMISS V_T6_LIPMISS(1U)
39040 #define S_PIPELINEERR 0
39041 #define V_PIPELINEERR(x) ((x) << S_PIPELINEERR)
39042 #define F_PIPELINEERR V_PIPELINEERR(1U)
39044 #define A_LE_DB_INT_CAUSE 0x19c3c
39046 #define S_T6_ACTRGNFULL 21
39047 #define V_T6_ACTRGNFULL(x) ((x) << S_T6_ACTRGNFULL)
39048 #define F_T6_ACTRGNFULL V_T6_ACTRGNFULL(1U)
39050 #define S_T6_ACTCNTIPV6TZERO 20
39051 #define V_T6_ACTCNTIPV6TZERO(x) ((x) << S_T6_ACTCNTIPV6TZERO)
39052 #define F_T6_ACTCNTIPV6TZERO V_T6_ACTCNTIPV6TZERO(1U)
39054 #define S_T6_ACTCNTIPV4TZERO 19
39055 #define V_T6_ACTCNTIPV4TZERO(x) ((x) << S_T6_ACTCNTIPV4TZERO)
39056 #define F_T6_ACTCNTIPV4TZERO V_T6_ACTCNTIPV4TZERO(1U)
39058 #define S_T6_ACTCNTIPV6ZERO 18
39059 #define V_T6_ACTCNTIPV6ZERO(x) ((x) << S_T6_ACTCNTIPV6ZERO)
39060 #define F_T6_ACTCNTIPV6ZERO V_T6_ACTCNTIPV6ZERO(1U)
39062 #define S_T6_ACTCNTIPV4ZERO 17
39063 #define V_T6_ACTCNTIPV4ZERO(x) ((x) << S_T6_ACTCNTIPV4ZERO)
39064 #define F_T6_ACTCNTIPV4ZERO V_T6_ACTCNTIPV4ZERO(1U)
39066 #define S_T6_UNKNOWNCMD 3
39067 #define V_T6_UNKNOWNCMD(x) ((x) << S_T6_UNKNOWNCMD)
39068 #define F_T6_UNKNOWNCMD V_T6_UNKNOWNCMD(1U)
39070 #define S_T6_LIP0 2
39071 #define V_T6_LIP0(x) ((x) << S_T6_LIP0)
39072 #define F_T6_LIP0 V_T6_LIP0(1U)
39074 #define S_T6_LIPMISS 1
39075 #define V_T6_LIPMISS(x) ((x) << S_T6_LIPMISS)
39076 #define F_T6_LIPMISS V_T6_LIPMISS(1U)
39078 #define A_LE_DB_INT_TID 0x19c40
39081 #define M_INTTID 0xfffffU
39082 #define V_INTTID(x) ((x) << S_INTTID)
39083 #define G_INTTID(x) (((x) >> S_INTTID) & M_INTTID)
39085 #define A_LE_DB_DBG_MATCH_CMD_IDX_MASK 0x19c40
39087 #define S_CMD_CMP_MASK 20
39088 #define M_CMD_CMP_MASK 0x1fU
39089 #define V_CMD_CMP_MASK(x) ((x) << S_CMD_CMP_MASK)
39090 #define G_CMD_CMP_MASK(x) (((x) >> S_CMD_CMP_MASK) & M_CMD_CMP_MASK)
39092 #define S_TID_CMP_MASK 0
39093 #define M_TID_CMP_MASK 0xfffffU
39094 #define V_TID_CMP_MASK(x) ((x) << S_TID_CMP_MASK)
39095 #define G_TID_CMP_MASK(x) (((x) >> S_TID_CMP_MASK) & M_TID_CMP_MASK)
39097 #define A_LE_DB_INT_PTID 0x19c44
39099 #define S_INTPTID 0
39100 #define M_INTPTID 0xfffffU
39101 #define V_INTPTID(x) ((x) << S_INTPTID)
39102 #define G_INTPTID(x) (((x) >> S_INTPTID) & M_INTPTID)
39104 #define A_LE_DB_DBG_MATCH_CMD_IDX_DATA 0x19c44
39106 #define S_CMD_CMP 20
39107 #define M_CMD_CMP 0x1fU
39108 #define V_CMD_CMP(x) ((x) << S_CMD_CMP)
39109 #define G_CMD_CMP(x) (((x) >> S_CMD_CMP) & M_CMD_CMP)
39111 #define S_TID_CMP 0
39112 #define M_TID_CMP 0xfffffU
39113 #define V_TID_CMP(x) ((x) << S_TID_CMP)
39114 #define G_TID_CMP(x) (((x) >> S_TID_CMP) & M_TID_CMP)
39116 #define A_LE_DB_INT_INDEX 0x19c48
39118 #define S_INTINDEX 0
39119 #define M_INTINDEX 0xfffffU
39120 #define V_INTINDEX(x) ((x) << S_INTINDEX)
39121 #define G_INTINDEX(x) (((x) >> S_INTINDEX) & M_INTINDEX)
39123 #define A_LE_DB_ERR_CMD_TID 0x19c48
39125 #define S_ERR_CID 22
39126 #define M_ERR_CID 0xffU
39127 #define V_ERR_CID(x) ((x) << S_ERR_CID)
39128 #define G_ERR_CID(x) (((x) >> S_ERR_CID) & M_ERR_CID)
39130 #define S_ERR_PROT 20
39131 #define M_ERR_PROT 0x3U
39132 #define V_ERR_PROT(x) ((x) << S_ERR_PROT)
39133 #define G_ERR_PROT(x) (((x) >> S_ERR_PROT) & M_ERR_PROT)
39135 #define S_ERR_TID 0
39136 #define M_ERR_TID 0xfffffU
39137 #define V_ERR_TID(x) ((x) << S_ERR_TID)
39138 #define G_ERR_TID(x) (((x) >> S_ERR_TID) & M_ERR_TID)
39140 #define A_LE_DB_INT_CMD 0x19c4c
39143 #define M_INTCMD 0xfU
39144 #define V_INTCMD(x) ((x) << S_INTCMD)
39145 #define G_INTCMD(x) (((x) >> S_INTCMD) & M_INTCMD)
39147 #define A_LE_DB_MASK_IPV4 0x19c50
39148 #define A_LE_T5_DB_MASK_IPV4 0x19c50
39149 #define A_LE_DB_DBG_MATCH_DATA_MASK 0x19c50
39150 #define A_LE_DB_MAX_NUM_HASH_ENTRIES 0x19c70
39152 #define S_MAX_HASH_ENTS 0
39153 #define M_MAX_HASH_ENTS 0xfffffU
39154 #define V_MAX_HASH_ENTS(x) ((x) << S_MAX_HASH_ENTS)
39155 #define G_MAX_HASH_ENTS(x) (((x) >> S_MAX_HASH_ENTS) & M_MAX_HASH_ENTS)
39157 #define A_LE_DB_RSP_CODE_0 0x19c74
39159 #define S_SUCCESS 25
39160 #define M_SUCCESS 0x1fU
39161 #define V_SUCCESS(x) ((x) << S_SUCCESS)
39162 #define G_SUCCESS(x) (((x) >> S_SUCCESS) & M_SUCCESS)
39164 #define S_TCAM_ACTV_SUCC 20
39165 #define M_TCAM_ACTV_SUCC 0x1fU
39166 #define V_TCAM_ACTV_SUCC(x) ((x) << S_TCAM_ACTV_SUCC)
39167 #define G_TCAM_ACTV_SUCC(x) (((x) >> S_TCAM_ACTV_SUCC) & M_TCAM_ACTV_SUCC)
39169 #define S_HASH_ACTV_SUCC 15
39170 #define M_HASH_ACTV_SUCC 0x1fU
39171 #define V_HASH_ACTV_SUCC(x) ((x) << S_HASH_ACTV_SUCC)
39172 #define G_HASH_ACTV_SUCC(x) (((x) >> S_HASH_ACTV_SUCC) & M_HASH_ACTV_SUCC)
39174 #define S_TCAM_SRVR_HIT 10
39175 #define M_TCAM_SRVR_HIT 0x1fU
39176 #define V_TCAM_SRVR_HIT(x) ((x) << S_TCAM_SRVR_HIT)
39177 #define G_TCAM_SRVR_HIT(x) (((x) >> S_TCAM_SRVR_HIT) & M_TCAM_SRVR_HIT)
39179 #define S_SRAM_SRVR_HIT 5
39180 #define M_SRAM_SRVR_HIT 0x1fU
39181 #define V_SRAM_SRVR_HIT(x) ((x) << S_SRAM_SRVR_HIT)
39182 #define G_SRAM_SRVR_HIT(x) (((x) >> S_SRAM_SRVR_HIT) & M_SRAM_SRVR_HIT)
39184 #define S_TCAM_ACTV_HIT 0
39185 #define M_TCAM_ACTV_HIT 0x1fU
39186 #define V_TCAM_ACTV_HIT(x) ((x) << S_TCAM_ACTV_HIT)
39187 #define G_TCAM_ACTV_HIT(x) (((x) >> S_TCAM_ACTV_HIT) & M_TCAM_ACTV_HIT)
39189 #define A_LE_DB_RSP_CODE_1 0x19c78
39191 #define S_HASH_ACTV_HIT 25
39192 #define M_HASH_ACTV_HIT 0x1fU
39193 #define V_HASH_ACTV_HIT(x) ((x) << S_HASH_ACTV_HIT)
39194 #define G_HASH_ACTV_HIT(x) (((x) >> S_HASH_ACTV_HIT) & M_HASH_ACTV_HIT)
39196 #define S_T6_MISS 20
39197 #define M_T6_MISS 0x1fU
39198 #define V_T6_MISS(x) ((x) << S_T6_MISS)
39199 #define G_T6_MISS(x) (((x) >> S_T6_MISS) & M_T6_MISS)
39201 #define S_NORM_FILT_HIT 15
39202 #define M_NORM_FILT_HIT 0x1fU
39203 #define V_NORM_FILT_HIT(x) ((x) << S_NORM_FILT_HIT)
39204 #define G_NORM_FILT_HIT(x) (((x) >> S_NORM_FILT_HIT) & M_NORM_FILT_HIT)
39206 #define S_HPRI_FILT_HIT 10
39207 #define M_HPRI_FILT_HIT 0x1fU
39208 #define V_HPRI_FILT_HIT(x) ((x) << S_HPRI_FILT_HIT)
39209 #define G_HPRI_FILT_HIT(x) (((x) >> S_HPRI_FILT_HIT) & M_HPRI_FILT_HIT)
39211 #define S_ACTV_OPEN_ERR 5
39212 #define M_ACTV_OPEN_ERR 0x1fU
39213 #define V_ACTV_OPEN_ERR(x) ((x) << S_ACTV_OPEN_ERR)
39214 #define G_ACTV_OPEN_ERR(x) (((x) >> S_ACTV_OPEN_ERR) & M_ACTV_OPEN_ERR)
39216 #define S_ACTV_FULL_ERR 0
39217 #define M_ACTV_FULL_ERR 0x1fU
39218 #define V_ACTV_FULL_ERR(x) ((x) << S_ACTV_FULL_ERR)
39219 #define G_ACTV_FULL_ERR(x) (((x) >> S_ACTV_FULL_ERR) & M_ACTV_FULL_ERR)
39221 #define A_LE_DB_RSP_CODE_2 0x19c7c
39223 #define S_SRCH_RGN_HIT 25
39224 #define M_SRCH_RGN_HIT 0x1fU
39225 #define V_SRCH_RGN_HIT(x) ((x) << S_SRCH_RGN_HIT)
39226 #define G_SRCH_RGN_HIT(x) (((x) >> S_SRCH_RGN_HIT) & M_SRCH_RGN_HIT)
39228 #define S_CLIP_FAIL 20
39229 #define M_CLIP_FAIL 0x1fU
39230 #define V_CLIP_FAIL(x) ((x) << S_CLIP_FAIL)
39231 #define G_CLIP_FAIL(x) (((x) >> S_CLIP_FAIL) & M_CLIP_FAIL)
39233 #define S_LIP_ZERO_ERR 15
39234 #define M_LIP_ZERO_ERR 0x1fU
39235 #define V_LIP_ZERO_ERR(x) ((x) << S_LIP_ZERO_ERR)
39236 #define G_LIP_ZERO_ERR(x) (((x) >> S_LIP_ZERO_ERR) & M_LIP_ZERO_ERR)
39238 #define S_UNKNOWN_CMD 10
39239 #define M_UNKNOWN_CMD 0x1fU
39240 #define V_UNKNOWN_CMD(x) ((x) << S_UNKNOWN_CMD)
39241 #define G_UNKNOWN_CMD(x) (((x) >> S_UNKNOWN_CMD) & M_UNKNOWN_CMD)
39243 #define S_CMD_TID_ERR 5
39244 #define M_CMD_TID_ERR 0x1fU
39245 #define V_CMD_TID_ERR(x) ((x) << S_CMD_TID_ERR)
39246 #define G_CMD_TID_ERR(x) (((x) >> S_CMD_TID_ERR) & M_CMD_TID_ERR)
39248 #define S_INTERNAL_ERR 0
39249 #define M_INTERNAL_ERR 0x1fU
39250 #define V_INTERNAL_ERR(x) ((x) << S_INTERNAL_ERR)
39251 #define G_INTERNAL_ERR(x) (((x) >> S_INTERNAL_ERR) & M_INTERNAL_ERR)
39253 #define A_LE_DB_RSP_CODE_3 0x19c80
39255 #define S_SRAM_SRVR_HIT_ACTF 25
39256 #define M_SRAM_SRVR_HIT_ACTF 0x1fU
39257 #define V_SRAM_SRVR_HIT_ACTF(x) ((x) << S_SRAM_SRVR_HIT_ACTF)
39258 #define G_SRAM_SRVR_HIT_ACTF(x) (((x) >> S_SRAM_SRVR_HIT_ACTF) & M_SRAM_SRVR_HIT_ACTF)
39260 #define S_TCAM_SRVR_HIT_ACTF 20
39261 #define M_TCAM_SRVR_HIT_ACTF 0x1fU
39262 #define V_TCAM_SRVR_HIT_ACTF(x) ((x) << S_TCAM_SRVR_HIT_ACTF)
39263 #define G_TCAM_SRVR_HIT_ACTF(x) (((x) >> S_TCAM_SRVR_HIT_ACTF) & M_TCAM_SRVR_HIT_ACTF)
39265 #define S_INVLDRD 15
39266 #define M_INVLDRD 0x1fU
39267 #define V_INVLDRD(x) ((x) << S_INVLDRD)
39268 #define G_INVLDRD(x) (((x) >> S_INVLDRD) & M_INVLDRD)
39270 #define S_TUPLZERO 10
39271 #define M_TUPLZERO 0x1fU
39272 #define V_TUPLZERO(x) ((x) << S_TUPLZERO)
39273 #define G_TUPLZERO(x) (((x) >> S_TUPLZERO) & M_TUPLZERO)
39275 #define A_LE_DB_ACT_CNT_IPV4_TCAM 0x19c94
39276 #define A_LE_DB_ACT_CNT_IPV6_TCAM 0x19c98
39277 #define A_LE_ACT_CNT_THRSH 0x19c9c
39279 #define S_ACT_CNT_THRSH 0
39280 #define M_ACT_CNT_THRSH 0x1fffffU
39281 #define V_ACT_CNT_THRSH(x) ((x) << S_ACT_CNT_THRSH)
39282 #define G_ACT_CNT_THRSH(x) (((x) >> S_ACT_CNT_THRSH) & M_ACT_CNT_THRSH)
39284 #define A_LE_DB_MASK_IPV6 0x19ca0
39285 #define A_LE_DB_DBG_MATCH_DATA 0x19ca0
39286 #define A_LE_DB_REQ_RSP_CNT 0x19ce4
39288 #define S_T4_RSPCNT 16
39289 #define M_T4_RSPCNT 0xffffU
39290 #define V_T4_RSPCNT(x) ((x) << S_T4_RSPCNT)
39291 #define G_T4_RSPCNT(x) (((x) >> S_T4_RSPCNT) & M_T4_RSPCNT)
39293 #define S_T4_REQCNT 0
39294 #define M_T4_REQCNT 0xffffU
39295 #define V_T4_REQCNT(x) ((x) << S_T4_REQCNT)
39296 #define G_T4_REQCNT(x) (((x) >> S_T4_REQCNT) & M_T4_REQCNT)
39298 #define S_RSPCNTLE 16
39299 #define M_RSPCNTLE 0xffffU
39300 #define V_RSPCNTLE(x) ((x) << S_RSPCNTLE)
39301 #define G_RSPCNTLE(x) (((x) >> S_RSPCNTLE) & M_RSPCNTLE)
39303 #define S_REQCNTLE 0
39304 #define M_REQCNTLE 0xffffU
39305 #define V_REQCNTLE(x) ((x) << S_REQCNTLE)
39306 #define G_REQCNTLE(x) (((x) >> S_REQCNTLE) & M_REQCNTLE)
39308 #define A_LE_DB_DBGI_CONFIG 0x19cf0
39310 #define S_DBGICMDPERR 31
39311 #define V_DBGICMDPERR(x) ((x) << S_DBGICMDPERR)
39312 #define F_DBGICMDPERR V_DBGICMDPERR(1U)
39314 #define S_DBGICMDRANGE 22
39315 #define M_DBGICMDRANGE 0x7U
39316 #define V_DBGICMDRANGE(x) ((x) << S_DBGICMDRANGE)
39317 #define G_DBGICMDRANGE(x) (((x) >> S_DBGICMDRANGE) & M_DBGICMDRANGE)
39319 #define S_DBGICMDMSKTYPE 21
39320 #define V_DBGICMDMSKTYPE(x) ((x) << S_DBGICMDMSKTYPE)
39321 #define F_DBGICMDMSKTYPE V_DBGICMDMSKTYPE(1U)
39323 #define S_DBGICMDSEARCH 20
39324 #define V_DBGICMDSEARCH(x) ((x) << S_DBGICMDSEARCH)
39325 #define F_DBGICMDSEARCH V_DBGICMDSEARCH(1U)
39327 #define S_DBGICMDREAD 19
39328 #define V_DBGICMDREAD(x) ((x) << S_DBGICMDREAD)
39329 #define F_DBGICMDREAD V_DBGICMDREAD(1U)
39331 #define S_DBGICMDLEARN 18
39332 #define V_DBGICMDLEARN(x) ((x) << S_DBGICMDLEARN)
39333 #define F_DBGICMDLEARN V_DBGICMDLEARN(1U)
39335 #define S_DBGICMDERASE 17
39336 #define V_DBGICMDERASE(x) ((x) << S_DBGICMDERASE)
39337 #define F_DBGICMDERASE V_DBGICMDERASE(1U)
39339 #define S_DBGICMDIPV6 16
39340 #define V_DBGICMDIPV6(x) ((x) << S_DBGICMDIPV6)
39341 #define F_DBGICMDIPV6 V_DBGICMDIPV6(1U)
39343 #define S_DBGICMDTYPE 13
39344 #define M_DBGICMDTYPE 0x7U
39345 #define V_DBGICMDTYPE(x) ((x) << S_DBGICMDTYPE)
39346 #define G_DBGICMDTYPE(x) (((x) >> S_DBGICMDTYPE) & M_DBGICMDTYPE)
39348 #define S_DBGICMDACKERR 12
39349 #define V_DBGICMDACKERR(x) ((x) << S_DBGICMDACKERR)
39350 #define F_DBGICMDACKERR V_DBGICMDACKERR(1U)
39352 #define S_DBGICMDBUSY 3
39353 #define V_DBGICMDBUSY(x) ((x) << S_DBGICMDBUSY)
39354 #define F_DBGICMDBUSY V_DBGICMDBUSY(1U)
39356 #define S_DBGICMDSTRT 2
39357 #define V_DBGICMDSTRT(x) ((x) << S_DBGICMDSTRT)
39358 #define F_DBGICMDSTRT V_DBGICMDSTRT(1U)
39360 #define S_DBGICMDMODE 0
39361 #define M_DBGICMDMODE 0x3U
39362 #define V_DBGICMDMODE(x) ((x) << S_DBGICMDMODE)
39363 #define G_DBGICMDMODE(x) (((x) >> S_DBGICMDMODE) & M_DBGICMDMODE)
39365 #define S_DBGICMDMSKREAD 21
39366 #define V_DBGICMDMSKREAD(x) ((x) << S_DBGICMDMSKREAD)
39367 #define F_DBGICMDMSKREAD V_DBGICMDMSKREAD(1U)
39369 #define S_DBGICMDWRITE 17
39370 #define V_DBGICMDWRITE(x) ((x) << S_DBGICMDWRITE)
39371 #define F_DBGICMDWRITE V_DBGICMDWRITE(1U)
39373 #define A_LE_DB_DBGI_REQ_TCAM_CMD 0x19cf4
39375 #define S_DBGICMD 20
39376 #define M_DBGICMD 0xfU
39377 #define V_DBGICMD(x) ((x) << S_DBGICMD)
39378 #define G_DBGICMD(x) (((x) >> S_DBGICMD) & M_DBGICMD)
39380 #define S_DBGITINDEX 0
39381 #define M_DBGITINDEX 0xfffffU
39382 #define V_DBGITINDEX(x) ((x) << S_DBGITINDEX)
39383 #define G_DBGITINDEX(x) (((x) >> S_DBGITINDEX) & M_DBGITINDEX)
39385 #define A_LE_DB_DBGI_REQ_CMD 0x19cf4
39387 #define S_DBGITID 0
39388 #define M_DBGITID 0xfffffU
39389 #define V_DBGITID(x) ((x) << S_DBGITID)
39390 #define G_DBGITID(x) (((x) >> S_DBGITID) & M_DBGITID)
39392 #define A_LE_PERR_ENABLE 0x19cf8
39394 #define S_REQQUEUE 1
39395 #define V_REQQUEUE(x) ((x) << S_REQQUEUE)
39396 #define F_REQQUEUE V_REQQUEUE(1U)
39399 #define V_TCAM(x) ((x) << S_TCAM)
39400 #define F_TCAM V_TCAM(1U)
39402 #define S_MARSPPARERRLE 17
39403 #define V_MARSPPARERRLE(x) ((x) << S_MARSPPARERRLE)
39404 #define F_MARSPPARERRLE V_MARSPPARERRLE(1U)
39406 #define S_REQQUEUELE 16
39407 #define V_REQQUEUELE(x) ((x) << S_REQQUEUELE)
39408 #define F_REQQUEUELE V_REQQUEUELE(1U)
39410 #define S_VFPARERRLE 14
39411 #define V_VFPARERRLE(x) ((x) << S_VFPARERRLE)
39412 #define F_VFPARERRLE V_VFPARERRLE(1U)
39415 #define V_TCAMLE(x) ((x) << S_TCAMLE)
39416 #define F_TCAMLE V_TCAMLE(1U)
39418 #define S_BKCHKPERIOD 22
39419 #define M_BKCHKPERIOD 0x3ffU
39420 #define V_BKCHKPERIOD(x) ((x) << S_BKCHKPERIOD)
39421 #define G_BKCHKPERIOD(x) (((x) >> S_BKCHKPERIOD) & M_BKCHKPERIOD)
39423 #define S_TCAMBKCHKEN 21
39424 #define V_TCAMBKCHKEN(x) ((x) << S_TCAMBKCHKEN)
39425 #define F_TCAMBKCHKEN V_TCAMBKCHKEN(1U)
39427 #define S_T6_CLCAMFIFOERR 2
39428 #define V_T6_CLCAMFIFOERR(x) ((x) << S_T6_CLCAMFIFOERR)
39429 #define F_T6_CLCAMFIFOERR V_T6_CLCAMFIFOERR(1U)
39431 #define S_T6_HASHTBLMEMCRCERR 1
39432 #define V_T6_HASHTBLMEMCRCERR(x) ((x) << S_T6_HASHTBLMEMCRCERR)
39433 #define F_T6_HASHTBLMEMCRCERR V_T6_HASHTBLMEMCRCERR(1U)
39435 #define A_LE_SPARE 0x19cfc
39436 #define A_LE_DB_DBGI_REQ_DATA 0x19d00
39437 #define A_LE_DB_DBGI_REQ_MASK 0x19d50
39438 #define A_LE_DB_DBGI_RSP_STATUS 0x19d94
39440 #define S_DBGIRSPINDEX 12
39441 #define M_DBGIRSPINDEX 0xfffffU
39442 #define V_DBGIRSPINDEX(x) ((x) << S_DBGIRSPINDEX)
39443 #define G_DBGIRSPINDEX(x) (((x) >> S_DBGIRSPINDEX) & M_DBGIRSPINDEX)
39445 #define S_DBGIRSPMSG 8
39446 #define M_DBGIRSPMSG 0xfU
39447 #define V_DBGIRSPMSG(x) ((x) << S_DBGIRSPMSG)
39448 #define G_DBGIRSPMSG(x) (((x) >> S_DBGIRSPMSG) & M_DBGIRSPMSG)
39450 #define S_DBGIRSPMSGVLD 7
39451 #define V_DBGIRSPMSGVLD(x) ((x) << S_DBGIRSPMSGVLD)
39452 #define F_DBGIRSPMSGVLD V_DBGIRSPMSGVLD(1U)
39454 #define S_DBGIRSPMHIT 2
39455 #define V_DBGIRSPMHIT(x) ((x) << S_DBGIRSPMHIT)
39456 #define F_DBGIRSPMHIT V_DBGIRSPMHIT(1U)
39458 #define S_DBGIRSPHIT 1
39459 #define V_DBGIRSPHIT(x) ((x) << S_DBGIRSPHIT)
39460 #define F_DBGIRSPHIT V_DBGIRSPHIT(1U)
39462 #define S_DBGIRSPVALID 0
39463 #define V_DBGIRSPVALID(x) ((x) << S_DBGIRSPVALID)
39464 #define F_DBGIRSPVALID V_DBGIRSPVALID(1U)
39466 #define S_DBGIRSPTID 12
39467 #define M_DBGIRSPTID 0xfffffU
39468 #define V_DBGIRSPTID(x) ((x) << S_DBGIRSPTID)
39469 #define G_DBGIRSPTID(x) (((x) >> S_DBGIRSPTID) & M_DBGIRSPTID)
39471 #define S_DBGIRSPLEARN 2
39472 #define V_DBGIRSPLEARN(x) ((x) << S_DBGIRSPLEARN)
39473 #define F_DBGIRSPLEARN V_DBGIRSPLEARN(1U)
39475 #define A_LE_DBG_SEL 0x19d98
39476 #define A_LE_DB_DBGI_RSP_DATA 0x19da0
39477 #define A_LE_DB_DBGI_RSP_LAST_CMD 0x19de4
39479 #define S_LASTCMDB 16
39480 #define M_LASTCMDB 0x7ffU
39481 #define V_LASTCMDB(x) ((x) << S_LASTCMDB)
39482 #define G_LASTCMDB(x) (((x) >> S_LASTCMDB) & M_LASTCMDB)
39484 #define S_LASTCMDA 0
39485 #define M_LASTCMDA 0x7ffU
39486 #define V_LASTCMDA(x) ((x) << S_LASTCMDA)
39487 #define G_LASTCMDA(x) (((x) >> S_LASTCMDA) & M_LASTCMDA)
39489 #define A_LE_DB_DROP_FILTER_ENTRY 0x19de8
39491 #define S_DROPFILTEREN 31
39492 #define V_DROPFILTEREN(x) ((x) << S_DROPFILTEREN)
39493 #define F_DROPFILTEREN V_DROPFILTEREN(1U)
39495 #define S_DROPFILTERCLEAR 17
39496 #define V_DROPFILTERCLEAR(x) ((x) << S_DROPFILTERCLEAR)
39497 #define F_DROPFILTERCLEAR V_DROPFILTERCLEAR(1U)
39499 #define S_DROPFILTERSET 16
39500 #define V_DROPFILTERSET(x) ((x) << S_DROPFILTERSET)
39501 #define F_DROPFILTERSET V_DROPFILTERSET(1U)
39503 #define S_DROPFILTERFIDX 0
39504 #define M_DROPFILTERFIDX 0x1fffU
39505 #define V_DROPFILTERFIDX(x) ((x) << S_DROPFILTERFIDX)
39506 #define G_DROPFILTERFIDX(x) (((x) >> S_DROPFILTERFIDX) & M_DROPFILTERFIDX)
39508 #define A_LE_DB_PTID_SVRBASE 0x19df0
39510 #define S_SVRBASE_ADDR 2
39511 #define M_SVRBASE_ADDR 0x3ffffU
39512 #define V_SVRBASE_ADDR(x) ((x) << S_SVRBASE_ADDR)
39513 #define G_SVRBASE_ADDR(x) (((x) >> S_SVRBASE_ADDR) & M_SVRBASE_ADDR)
39515 #define A_LE_DB_TCAM_TID_BASE 0x19df0
39517 #define S_TCAM_TID_BASE 0
39518 #define M_TCAM_TID_BASE 0xfffffU
39519 #define V_TCAM_TID_BASE(x) ((x) << S_TCAM_TID_BASE)
39520 #define G_TCAM_TID_BASE(x) (((x) >> S_TCAM_TID_BASE) & M_TCAM_TID_BASE)
39522 #define A_LE_DB_FTID_FLTRBASE 0x19df4
39524 #define S_FLTRBASE_ADDR 2
39525 #define M_FLTRBASE_ADDR 0x3ffffU
39526 #define V_FLTRBASE_ADDR(x) ((x) << S_FLTRBASE_ADDR)
39527 #define G_FLTRBASE_ADDR(x) (((x) >> S_FLTRBASE_ADDR) & M_FLTRBASE_ADDR)
39529 #define A_LE_DB_CLCAM_TID_BASE 0x19df4
39531 #define S_CLCAM_TID_BASE 0
39532 #define M_CLCAM_TID_BASE 0xfffffU
39533 #define V_CLCAM_TID_BASE(x) ((x) << S_CLCAM_TID_BASE)
39534 #define G_CLCAM_TID_BASE(x) (((x) >> S_CLCAM_TID_BASE) & M_CLCAM_TID_BASE)
39536 #define A_LE_DB_TID_HASHBASE 0x19df8
39538 #define S_HASHBASE_ADDR 2
39539 #define M_HASHBASE_ADDR 0xfffffU
39540 #define V_HASHBASE_ADDR(x) ((x) << S_HASHBASE_ADDR)
39541 #define G_HASHBASE_ADDR(x) (((x) >> S_HASHBASE_ADDR) & M_HASHBASE_ADDR)
39543 #define A_T6_LE_DB_HASH_TID_BASE 0x19df8
39545 #define S_HASH_TID_BASE 0
39546 #define M_HASH_TID_BASE 0xfffffU
39547 #define V_HASH_TID_BASE(x) ((x) << S_HASH_TID_BASE)
39548 #define G_HASH_TID_BASE(x) (((x) >> S_HASH_TID_BASE) & M_HASH_TID_BASE)
39550 #define A_LE_PERR_INJECT 0x19dfc
39552 #define S_LEMEMSEL 1
39553 #define M_LEMEMSEL 0x7U
39554 #define V_LEMEMSEL(x) ((x) << S_LEMEMSEL)
39555 #define G_LEMEMSEL(x) (((x) >> S_LEMEMSEL) & M_LEMEMSEL)
39557 #define A_LE_DB_SSRAM_TID_BASE 0x19dfc
39559 #define S_SSRAM_TID_BASE 0
39560 #define M_SSRAM_TID_BASE 0xfffffU
39561 #define V_SSRAM_TID_BASE(x) ((x) << S_SSRAM_TID_BASE)
39562 #define G_SSRAM_TID_BASE(x) (((x) >> S_SSRAM_TID_BASE) & M_SSRAM_TID_BASE)
39564 #define A_LE_DB_ACTIVE_MASK_IPV4 0x19e00
39565 #define A_LE_T5_DB_ACTIVE_MASK_IPV4 0x19e00
39566 #define A_LE_DB_ACTIVE_MASK_IPV6 0x19e50
39567 #define A_LE_HASH_MASK_GEN_IPV4 0x19ea0
39568 #define A_LE_HASH_MASK_GEN_IPV4T5 0x19ea0
39569 #define A_LE_HASH_MASK_GEN_IPV6 0x19eb0
39570 #define A_LE_HASH_MASK_GEN_IPV6T5 0x19eb4
39571 #define A_T6_LE_HASH_MASK_GEN_IPV6T5 0x19ec4
39572 #define A_LE_HASH_MASK_CMP_IPV4 0x19ee0
39573 #define A_LE_HASH_MASK_CMP_IPV4T5 0x19ee4
39574 #define A_LE_DB_PSV_FILTER_MASK_TUP_IPV4 0x19ee4
39575 #define A_LE_HASH_MASK_CMP_IPV6 0x19ef0
39576 #define A_LE_DB_PSV_FILTER_MASK_FLT_IPV4 0x19ef0
39577 #define A_LE_HASH_MASK_CMP_IPV6T5 0x19ef8
39578 #define A_LE_DB_PSV_FILTER_MASK_TUP_IPV6 0x19f04
39579 #define A_LE_DEBUG_LA_CONFIG 0x19f20
39580 #define A_LE_REQ_DEBUG_LA_DATA 0x19f24
39581 #define A_LE_REQ_DEBUG_LA_WRPTR 0x19f28
39582 #define A_LE_DB_PSV_FILTER_MASK_FLT_IPV6 0x19f28
39583 #define A_LE_RSP_DEBUG_LA_DATA 0x19f2c
39584 #define A_LE_RSP_DEBUG_LA_WRPTR 0x19f30
39585 #define A_LE_DEBUG_LA_SELECTOR 0x19f34
39586 #define A_LE_SRVR_SRAM_INIT 0x19f34
39588 #define S_SRVRSRAMBASE 2
39589 #define M_SRVRSRAMBASE 0xfffffU
39590 #define V_SRVRSRAMBASE(x) ((x) << S_SRVRSRAMBASE)
39591 #define G_SRVRSRAMBASE(x) (((x) >> S_SRVRSRAMBASE) & M_SRVRSRAMBASE)
39593 #define S_SRVRINITBUSY 1
39594 #define V_SRVRINITBUSY(x) ((x) << S_SRVRINITBUSY)
39595 #define F_SRVRINITBUSY V_SRVRINITBUSY(1U)
39597 #define S_SRVRINIT 0
39598 #define V_SRVRINIT(x) ((x) << S_SRVRINIT)
39599 #define F_SRVRINIT V_SRVRINIT(1U)
39601 #define A_LE_DB_SRVR_SRAM_CONFIG 0x19f34
39603 #define S_PRI_HFILT 4
39604 #define V_PRI_HFILT(x) ((x) << S_PRI_HFILT)
39605 #define F_PRI_HFILT V_PRI_HFILT(1U)
39607 #define S_PRI_SRVR 3
39608 #define V_PRI_SRVR(x) ((x) << S_PRI_SRVR)
39609 #define F_PRI_SRVR V_PRI_SRVR(1U)
39611 #define S_PRI_FILT 2
39612 #define V_PRI_FILT(x) ((x) << S_PRI_FILT)
39613 #define F_PRI_FILT V_PRI_FILT(1U)
39615 #define A_LE_DEBUG_LA_CAPTURED_DATA 0x19f38
39616 #define A_LE_SRVR_VF_SRCH_TABLE 0x19f38
39619 #define V_RDWR(x) ((x) << S_RDWR)
39620 #define F_RDWR V_RDWR(1U)
39622 #define S_VFINDEX 14
39623 #define M_VFINDEX 0x7fU
39624 #define V_VFINDEX(x) ((x) << S_VFINDEX)
39625 #define G_VFINDEX(x) (((x) >> S_VFINDEX) & M_VFINDEX)
39627 #define S_SRCHHADDR 7
39628 #define M_SRCHHADDR 0x7fU
39629 #define V_SRCHHADDR(x) ((x) << S_SRCHHADDR)
39630 #define G_SRCHHADDR(x) (((x) >> S_SRCHHADDR) & M_SRCHHADDR)
39632 #define S_SRCHLADDR 0
39633 #define M_SRCHLADDR 0x7fU
39634 #define V_SRCHLADDR(x) ((x) << S_SRCHLADDR)
39635 #define G_SRCHLADDR(x) (((x) >> S_SRCHLADDR) & M_SRCHLADDR)
39637 #define A_LE_DB_SRVR_VF_SRCH_TABLE_CTRL 0x19f38
39639 #define S_VFLUTBUSY 10
39640 #define V_VFLUTBUSY(x) ((x) << S_VFLUTBUSY)
39641 #define F_VFLUTBUSY V_VFLUTBUSY(1U)
39643 #define S_VFLUTSTART 9
39644 #define V_VFLUTSTART(x) ((x) << S_VFLUTSTART)
39645 #define F_VFLUTSTART V_VFLUTSTART(1U)
39647 #define S_T6_RDWR 8
39648 #define V_T6_RDWR(x) ((x) << S_T6_RDWR)
39649 #define F_T6_RDWR V_T6_RDWR(1U)
39651 #define S_T6_VFINDEX 0
39652 #define M_T6_VFINDEX 0xffU
39653 #define V_T6_VFINDEX(x) ((x) << S_T6_VFINDEX)
39654 #define G_T6_VFINDEX(x) (((x) >> S_T6_VFINDEX) & M_T6_VFINDEX)
39656 #define A_LE_MA_DEBUG_LA_DATA 0x19f3c
39657 #define A_LE_DB_SRVR_VF_SRCH_TABLE_DATA 0x19f3c
39659 #define S_T6_SRCHHADDR 12
39660 #define M_T6_SRCHHADDR 0xfffU
39661 #define V_T6_SRCHHADDR(x) ((x) << S_T6_SRCHHADDR)
39662 #define G_T6_SRCHHADDR(x) (((x) >> S_T6_SRCHHADDR) & M_T6_SRCHHADDR)
39664 #define S_T6_SRCHLADDR 0
39665 #define M_T6_SRCHLADDR 0xfffU
39666 #define V_T6_SRCHLADDR(x) ((x) << S_T6_SRCHLADDR)
39667 #define G_T6_SRCHLADDR(x) (((x) >> S_T6_SRCHLADDR) & M_T6_SRCHLADDR)
39669 #define A_LE_RSP_DEBUG_LA_HASH_WRPTR 0x19f40
39670 #define A_LE_DB_SECOND_ACTIVE_MASK_IPV4 0x19f40
39671 #define A_LE_HASH_DEBUG_LA_DATA 0x19f44
39672 #define A_LE_RSP_DEBUG_LA_TCAM_WRPTR 0x19f48
39673 #define A_LE_TCAM_DEBUG_LA_DATA 0x19f4c
39674 #define A_LE_DB_SECOND_GEN_HASH_MASK_IPV4 0x19f90
39675 #define A_LE_DB_SECOND_CMP_HASH_MASK_IPV4 0x19fa4
39676 #define A_LE_HASH_COLLISION 0x19fc4
39677 #define A_LE_GLOBAL_COLLISION 0x19fc8
39678 #define A_LE_FULL_CNT_COLLISION 0x19fcc
39679 #define A_LE_DEBUG_LA_CONFIGT5 0x19fd0
39680 #define A_LE_REQ_DEBUG_LA_DATAT5 0x19fd4
39681 #define A_LE_REQ_DEBUG_LA_WRPTRT5 0x19fd8
39682 #define A_LE_RSP_DEBUG_LA_DATAT5 0x19fdc
39683 #define A_LE_RSP_DEBUG_LA_WRPTRT5 0x19fe0
39684 #define A_LE_DEBUG_LA_SEL_DATA 0x19fe4
39686 /* registers for module NCSI */
39687 #define NCSI_BASE_ADDR 0x1a000
39689 #define A_NCSI_PORT_CFGREG 0x1a000
39691 #define S_WIREEN 28
39692 #define M_WIREEN 0xfU
39693 #define V_WIREEN(x) ((x) << S_WIREEN)
39694 #define G_WIREEN(x) (((x) >> S_WIREEN) & M_WIREEN)
39696 #define S_STRP_CRC 24
39697 #define M_STRP_CRC 0xfU
39698 #define V_STRP_CRC(x) ((x) << S_STRP_CRC)
39699 #define G_STRP_CRC(x) (((x) >> S_STRP_CRC) & M_STRP_CRC)
39701 #define S_RX_HALT 22
39702 #define V_RX_HALT(x) ((x) << S_RX_HALT)
39703 #define F_RX_HALT V_RX_HALT(1U)
39705 #define S_FLUSH_RX_FIFO 21
39706 #define V_FLUSH_RX_FIFO(x) ((x) << S_FLUSH_RX_FIFO)
39707 #define F_FLUSH_RX_FIFO V_FLUSH_RX_FIFO(1U)
39709 #define S_HW_ARB_EN 20
39710 #define V_HW_ARB_EN(x) ((x) << S_HW_ARB_EN)
39711 #define F_HW_ARB_EN V_HW_ARB_EN(1U)
39713 #define S_SOFT_PKG_SEL 19
39714 #define V_SOFT_PKG_SEL(x) ((x) << S_SOFT_PKG_SEL)
39715 #define F_SOFT_PKG_SEL V_SOFT_PKG_SEL(1U)
39717 #define S_ERR_DISCARD_EN 18
39718 #define V_ERR_DISCARD_EN(x) ((x) << S_ERR_DISCARD_EN)
39719 #define F_ERR_DISCARD_EN V_ERR_DISCARD_EN(1U)
39721 #define S_MAX_PKT_SIZE 4
39722 #define M_MAX_PKT_SIZE 0x3fffU
39723 #define V_MAX_PKT_SIZE(x) ((x) << S_MAX_PKT_SIZE)
39724 #define G_MAX_PKT_SIZE(x) (((x) >> S_MAX_PKT_SIZE) & M_MAX_PKT_SIZE)
39726 #define S_RX_BYTE_SWAP 3
39727 #define V_RX_BYTE_SWAP(x) ((x) << S_RX_BYTE_SWAP)
39728 #define F_RX_BYTE_SWAP V_RX_BYTE_SWAP(1U)
39730 #define S_TX_BYTE_SWAP 2
39731 #define V_TX_BYTE_SWAP(x) ((x) << S_TX_BYTE_SWAP)
39732 #define F_TX_BYTE_SWAP V_TX_BYTE_SWAP(1U)
39734 #define A_NCSI_RST_CTRL 0x1a004
39736 #define S_MAC_REF_RST 2
39737 #define V_MAC_REF_RST(x) ((x) << S_MAC_REF_RST)
39738 #define F_MAC_REF_RST V_MAC_REF_RST(1U)
39740 #define S_MAC_RX_RST 1
39741 #define V_MAC_RX_RST(x) ((x) << S_MAC_RX_RST)
39742 #define F_MAC_RX_RST V_MAC_RX_RST(1U)
39744 #define S_MAC_TX_RST 0
39745 #define V_MAC_TX_RST(x) ((x) << S_MAC_TX_RST)
39746 #define F_MAC_TX_RST V_MAC_TX_RST(1U)
39748 #define A_NCSI_CH0_SADDR_LOW 0x1a010
39749 #define A_NCSI_CH0_SADDR_HIGH 0x1a014
39751 #define S_CHO_SADDR_EN 31
39752 #define V_CHO_SADDR_EN(x) ((x) << S_CHO_SADDR_EN)
39753 #define F_CHO_SADDR_EN V_CHO_SADDR_EN(1U)
39755 #define S_CH0_SADDR_HIGH 0
39756 #define M_CH0_SADDR_HIGH 0xffffU
39757 #define V_CH0_SADDR_HIGH(x) ((x) << S_CH0_SADDR_HIGH)
39758 #define G_CH0_SADDR_HIGH(x) (((x) >> S_CH0_SADDR_HIGH) & M_CH0_SADDR_HIGH)
39760 #define A_NCSI_CH1_SADDR_LOW 0x1a018
39761 #define A_NCSI_CH1_SADDR_HIGH 0x1a01c
39763 #define S_CH1_SADDR_EN 31
39764 #define V_CH1_SADDR_EN(x) ((x) << S_CH1_SADDR_EN)
39765 #define F_CH1_SADDR_EN V_CH1_SADDR_EN(1U)
39767 #define S_CH1_SADDR_HIGH 0
39768 #define M_CH1_SADDR_HIGH 0xffffU
39769 #define V_CH1_SADDR_HIGH(x) ((x) << S_CH1_SADDR_HIGH)
39770 #define G_CH1_SADDR_HIGH(x) (((x) >> S_CH1_SADDR_HIGH) & M_CH1_SADDR_HIGH)
39772 #define A_NCSI_CH2_SADDR_LOW 0x1a020
39773 #define A_NCSI_CH2_SADDR_HIGH 0x1a024
39775 #define S_CH2_SADDR_EN 31
39776 #define V_CH2_SADDR_EN(x) ((x) << S_CH2_SADDR_EN)
39777 #define F_CH2_SADDR_EN V_CH2_SADDR_EN(1U)
39779 #define S_CH2_SADDR_HIGH 0
39780 #define M_CH2_SADDR_HIGH 0xffffU
39781 #define V_CH2_SADDR_HIGH(x) ((x) << S_CH2_SADDR_HIGH)
39782 #define G_CH2_SADDR_HIGH(x) (((x) >> S_CH2_SADDR_HIGH) & M_CH2_SADDR_HIGH)
39784 #define A_NCSI_CH3_SADDR_LOW 0x1a028
39785 #define A_NCSI_CH3_SADDR_HIGH 0x1a02c
39787 #define S_CH3_SADDR_EN 31
39788 #define V_CH3_SADDR_EN(x) ((x) << S_CH3_SADDR_EN)
39789 #define F_CH3_SADDR_EN V_CH3_SADDR_EN(1U)
39791 #define S_CH3_SADDR_HIGH 0
39792 #define M_CH3_SADDR_HIGH 0xffffU
39793 #define V_CH3_SADDR_HIGH(x) ((x) << S_CH3_SADDR_HIGH)
39794 #define G_CH3_SADDR_HIGH(x) (((x) >> S_CH3_SADDR_HIGH) & M_CH3_SADDR_HIGH)
39796 #define A_NCSI_WORK_REQHDR_0 0x1a030
39797 #define A_NCSI_WORK_REQHDR_1 0x1a034
39798 #define A_NCSI_WORK_REQHDR_2 0x1a038
39799 #define A_NCSI_WORK_REQHDR_3 0x1a03c
39800 #define A_NCSI_MPS_HDR_LO 0x1a040
39801 #define A_NCSI_MPS_HDR_HI 0x1a044
39802 #define A_NCSI_CTL 0x1a048
39804 #define S_STRIP_OVLAN 3
39805 #define V_STRIP_OVLAN(x) ((x) << S_STRIP_OVLAN)
39806 #define F_STRIP_OVLAN V_STRIP_OVLAN(1U)
39808 #define S_BMC_DROP_NON_BC 2
39809 #define V_BMC_DROP_NON_BC(x) ((x) << S_BMC_DROP_NON_BC)
39810 #define F_BMC_DROP_NON_BC V_BMC_DROP_NON_BC(1U)
39812 #define S_BMC_RX_FWD_ALL 1
39813 #define V_BMC_RX_FWD_ALL(x) ((x) << S_BMC_RX_FWD_ALL)
39814 #define F_BMC_RX_FWD_ALL V_BMC_RX_FWD_ALL(1U)
39816 #define S_FWD_BMC 0
39817 #define V_FWD_BMC(x) ((x) << S_FWD_BMC)
39818 #define F_FWD_BMC V_FWD_BMC(1U)
39820 #define A_NCSI_NCSI_ETYPE 0x1a04c
39822 #define S_NCSI_ETHERTYPE 0
39823 #define M_NCSI_ETHERTYPE 0xffffU
39824 #define V_NCSI_ETHERTYPE(x) ((x) << S_NCSI_ETHERTYPE)
39825 #define G_NCSI_ETHERTYPE(x) (((x) >> S_NCSI_ETHERTYPE) & M_NCSI_ETHERTYPE)
39827 #define A_NCSI_RX_FIFO_CNT 0x1a050
39829 #define S_NCSI_RXFIFO_CNT 0
39830 #define M_NCSI_RXFIFO_CNT 0x7ffU
39831 #define V_NCSI_RXFIFO_CNT(x) ((x) << S_NCSI_RXFIFO_CNT)
39832 #define G_NCSI_RXFIFO_CNT(x) (((x) >> S_NCSI_RXFIFO_CNT) & M_NCSI_RXFIFO_CNT)
39834 #define A_NCSI_RX_ERR_CNT 0x1a054
39835 #define A_NCSI_RX_OF_CNT 0x1a058
39836 #define A_NCSI_RX_MS_CNT 0x1a05c
39837 #define A_NCSI_RX_IE_CNT 0x1a060
39838 #define A_NCSI_MPS_DEMUX_CNT 0x1a064
39840 #define S_MPS2CIM_CNT 16
39841 #define M_MPS2CIM_CNT 0x1ffU
39842 #define V_MPS2CIM_CNT(x) ((x) << S_MPS2CIM_CNT)
39843 #define G_MPS2CIM_CNT(x) (((x) >> S_MPS2CIM_CNT) & M_MPS2CIM_CNT)
39845 #define S_MPS2BMC_CNT 0
39846 #define M_MPS2BMC_CNT 0x1ffU
39847 #define V_MPS2BMC_CNT(x) ((x) << S_MPS2BMC_CNT)
39848 #define G_MPS2BMC_CNT(x) (((x) >> S_MPS2BMC_CNT) & M_MPS2BMC_CNT)
39850 #define A_NCSI_CIM_DEMUX_CNT 0x1a068
39852 #define S_CIM2MPS_CNT 16
39853 #define M_CIM2MPS_CNT 0x1ffU
39854 #define V_CIM2MPS_CNT(x) ((x) << S_CIM2MPS_CNT)
39855 #define G_CIM2MPS_CNT(x) (((x) >> S_CIM2MPS_CNT) & M_CIM2MPS_CNT)
39857 #define S_CIM2BMC_CNT 0
39858 #define M_CIM2BMC_CNT 0x1ffU
39859 #define V_CIM2BMC_CNT(x) ((x) << S_CIM2BMC_CNT)
39860 #define G_CIM2BMC_CNT(x) (((x) >> S_CIM2BMC_CNT) & M_CIM2BMC_CNT)
39862 #define A_NCSI_TX_FIFO_CNT 0x1a06c
39864 #define S_TX_FIFO_CNT 0
39865 #define M_TX_FIFO_CNT 0x3ffU
39866 #define V_TX_FIFO_CNT(x) ((x) << S_TX_FIFO_CNT)
39867 #define G_TX_FIFO_CNT(x) (((x) >> S_TX_FIFO_CNT) & M_TX_FIFO_CNT)
39869 #define A_NCSI_SE_CNT_CTL 0x1a0b0
39871 #define S_SE_CNT_CLR 0
39872 #define M_SE_CNT_CLR 0xfU
39873 #define V_SE_CNT_CLR(x) ((x) << S_SE_CNT_CLR)
39874 #define G_SE_CNT_CLR(x) (((x) >> S_SE_CNT_CLR) & M_SE_CNT_CLR)
39876 #define A_NCSI_SE_CNT_MPS 0x1a0b4
39878 #define S_NC2MPS_SOP_CNT 24
39879 #define M_NC2MPS_SOP_CNT 0xffU
39880 #define V_NC2MPS_SOP_CNT(x) ((x) << S_NC2MPS_SOP_CNT)
39881 #define G_NC2MPS_SOP_CNT(x) (((x) >> S_NC2MPS_SOP_CNT) & M_NC2MPS_SOP_CNT)
39883 #define S_NC2MPS_EOP_CNT 16
39884 #define M_NC2MPS_EOP_CNT 0x3fU
39885 #define V_NC2MPS_EOP_CNT(x) ((x) << S_NC2MPS_EOP_CNT)
39886 #define G_NC2MPS_EOP_CNT(x) (((x) >> S_NC2MPS_EOP_CNT) & M_NC2MPS_EOP_CNT)
39888 #define S_MPS2NC_SOP_CNT 8
39889 #define M_MPS2NC_SOP_CNT 0xffU
39890 #define V_MPS2NC_SOP_CNT(x) ((x) << S_MPS2NC_SOP_CNT)
39891 #define G_MPS2NC_SOP_CNT(x) (((x) >> S_MPS2NC_SOP_CNT) & M_MPS2NC_SOP_CNT)
39893 #define S_MPS2NC_EOP_CNT 0
39894 #define M_MPS2NC_EOP_CNT 0xffU
39895 #define V_MPS2NC_EOP_CNT(x) ((x) << S_MPS2NC_EOP_CNT)
39896 #define G_MPS2NC_EOP_CNT(x) (((x) >> S_MPS2NC_EOP_CNT) & M_MPS2NC_EOP_CNT)
39898 #define A_NCSI_SE_CNT_CIM 0x1a0b8
39900 #define S_NC2CIM_SOP_CNT 24
39901 #define M_NC2CIM_SOP_CNT 0xffU
39902 #define V_NC2CIM_SOP_CNT(x) ((x) << S_NC2CIM_SOP_CNT)
39903 #define G_NC2CIM_SOP_CNT(x) (((x) >> S_NC2CIM_SOP_CNT) & M_NC2CIM_SOP_CNT)
39905 #define S_NC2CIM_EOP_CNT 16
39906 #define M_NC2CIM_EOP_CNT 0x3fU
39907 #define V_NC2CIM_EOP_CNT(x) ((x) << S_NC2CIM_EOP_CNT)
39908 #define G_NC2CIM_EOP_CNT(x) (((x) >> S_NC2CIM_EOP_CNT) & M_NC2CIM_EOP_CNT)
39910 #define S_CIM2NC_SOP_CNT 8
39911 #define M_CIM2NC_SOP_CNT 0xffU
39912 #define V_CIM2NC_SOP_CNT(x) ((x) << S_CIM2NC_SOP_CNT)
39913 #define G_CIM2NC_SOP_CNT(x) (((x) >> S_CIM2NC_SOP_CNT) & M_CIM2NC_SOP_CNT)
39915 #define S_CIM2NC_EOP_CNT 0
39916 #define M_CIM2NC_EOP_CNT 0xffU
39917 #define V_CIM2NC_EOP_CNT(x) ((x) << S_CIM2NC_EOP_CNT)
39918 #define G_CIM2NC_EOP_CNT(x) (((x) >> S_CIM2NC_EOP_CNT) & M_CIM2NC_EOP_CNT)
39920 #define A_NCSI_BUS_DEBUG 0x1a0bc
39922 #define S_SOP_CNT_ERR 12
39923 #define M_SOP_CNT_ERR 0xfU
39924 #define V_SOP_CNT_ERR(x) ((x) << S_SOP_CNT_ERR)
39925 #define G_SOP_CNT_ERR(x) (((x) >> S_SOP_CNT_ERR) & M_SOP_CNT_ERR)
39927 #define S_BUS_STATE_MPS_OUT 6
39928 #define M_BUS_STATE_MPS_OUT 0x3U
39929 #define V_BUS_STATE_MPS_OUT(x) ((x) << S_BUS_STATE_MPS_OUT)
39930 #define G_BUS_STATE_MPS_OUT(x) (((x) >> S_BUS_STATE_MPS_OUT) & M_BUS_STATE_MPS_OUT)
39932 #define S_BUS_STATE_MPS_IN 4
39933 #define M_BUS_STATE_MPS_IN 0x3U
39934 #define V_BUS_STATE_MPS_IN(x) ((x) << S_BUS_STATE_MPS_IN)
39935 #define G_BUS_STATE_MPS_IN(x) (((x) >> S_BUS_STATE_MPS_IN) & M_BUS_STATE_MPS_IN)
39937 #define S_BUS_STATE_CIM_OUT 2
39938 #define M_BUS_STATE_CIM_OUT 0x3U
39939 #define V_BUS_STATE_CIM_OUT(x) ((x) << S_BUS_STATE_CIM_OUT)
39940 #define G_BUS_STATE_CIM_OUT(x) (((x) >> S_BUS_STATE_CIM_OUT) & M_BUS_STATE_CIM_OUT)
39942 #define S_BUS_STATE_CIM_IN 0
39943 #define M_BUS_STATE_CIM_IN 0x3U
39944 #define V_BUS_STATE_CIM_IN(x) ((x) << S_BUS_STATE_CIM_IN)
39945 #define G_BUS_STATE_CIM_IN(x) (((x) >> S_BUS_STATE_CIM_IN) & M_BUS_STATE_CIM_IN)
39947 #define A_NCSI_LA_RDPTR 0x1a0c0
39948 #define A_NCSI_LA_RDDATA 0x1a0c4
39949 #define A_NCSI_LA_WRPTR 0x1a0c8
39950 #define A_NCSI_LA_RESERVED 0x1a0cc
39951 #define A_NCSI_LA_CTL 0x1a0d0
39952 #define A_NCSI_INT_ENABLE 0x1a0d4
39954 #define S_CIM_DM_PRTY_ERR 8
39955 #define V_CIM_DM_PRTY_ERR(x) ((x) << S_CIM_DM_PRTY_ERR)
39956 #define F_CIM_DM_PRTY_ERR V_CIM_DM_PRTY_ERR(1U)
39958 #define S_MPS_DM_PRTY_ERR 7
39959 #define V_MPS_DM_PRTY_ERR(x) ((x) << S_MPS_DM_PRTY_ERR)
39960 #define F_MPS_DM_PRTY_ERR V_MPS_DM_PRTY_ERR(1U)
39963 #define V_TOKEN(x) ((x) << S_TOKEN)
39964 #define F_TOKEN V_TOKEN(1U)
39966 #define S_ARB_DONE 5
39967 #define V_ARB_DONE(x) ((x) << S_ARB_DONE)
39968 #define F_ARB_DONE V_ARB_DONE(1U)
39970 #define S_ARB_STARTED 4
39971 #define V_ARB_STARTED(x) ((x) << S_ARB_STARTED)
39972 #define F_ARB_STARTED V_ARB_STARTED(1U)
39975 #define V_WOL(x) ((x) << S_WOL)
39976 #define F_WOL V_WOL(1U)
39979 #define V_MACINT(x) ((x) << S_MACINT)
39980 #define F_MACINT V_MACINT(1U)
39982 #define S_TXFIFO_PRTY_ERR 1
39983 #define V_TXFIFO_PRTY_ERR(x) ((x) << S_TXFIFO_PRTY_ERR)
39984 #define F_TXFIFO_PRTY_ERR V_TXFIFO_PRTY_ERR(1U)
39986 #define S_RXFIFO_PRTY_ERR 0
39987 #define V_RXFIFO_PRTY_ERR(x) ((x) << S_RXFIFO_PRTY_ERR)
39988 #define F_RXFIFO_PRTY_ERR V_RXFIFO_PRTY_ERR(1U)
39990 #define A_NCSI_INT_CAUSE 0x1a0d8
39991 #define A_NCSI_STATUS 0x1a0dc
39994 #define V_MASTER(x) ((x) << S_MASTER)
39995 #define F_MASTER V_MASTER(1U)
39997 #define S_ARB_STATUS 0
39998 #define V_ARB_STATUS(x) ((x) << S_ARB_STATUS)
39999 #define F_ARB_STATUS V_ARB_STATUS(1U)
40001 #define A_NCSI_PAUSE_CTRL 0x1a0e0
40003 #define S_FORCEPAUSE 0
40004 #define V_FORCEPAUSE(x) ((x) << S_FORCEPAUSE)
40005 #define F_FORCEPAUSE V_FORCEPAUSE(1U)
40007 #define A_NCSI_PAUSE_TIMEOUT 0x1a0e4
40008 #define A_NCSI_PAUSE_WM 0x1a0ec
40010 #define S_PAUSEHWM 16
40011 #define M_PAUSEHWM 0x7ffU
40012 #define V_PAUSEHWM(x) ((x) << S_PAUSEHWM)
40013 #define G_PAUSEHWM(x) (((x) >> S_PAUSEHWM) & M_PAUSEHWM)
40015 #define S_PAUSELWM 0
40016 #define M_PAUSELWM 0x7ffU
40017 #define V_PAUSELWM(x) ((x) << S_PAUSELWM)
40018 #define G_PAUSELWM(x) (((x) >> S_PAUSELWM) & M_PAUSELWM)
40020 #define A_NCSI_DEBUG 0x1a0f0
40022 #define S_DEBUGSEL 0
40023 #define M_DEBUGSEL 0x3fU
40024 #define V_DEBUGSEL(x) ((x) << S_DEBUGSEL)
40025 #define G_DEBUGSEL(x) (((x) >> S_DEBUGSEL) & M_DEBUGSEL)
40027 #define S_TXFIFO_EMPTY 4
40028 #define V_TXFIFO_EMPTY(x) ((x) << S_TXFIFO_EMPTY)
40029 #define F_TXFIFO_EMPTY V_TXFIFO_EMPTY(1U)
40031 #define S_TXFIFO_FULL 3
40032 #define V_TXFIFO_FULL(x) ((x) << S_TXFIFO_FULL)
40033 #define F_TXFIFO_FULL V_TXFIFO_FULL(1U)
40036 #define M_PKG_ID 0x7U
40037 #define V_PKG_ID(x) ((x) << S_PKG_ID)
40038 #define G_PKG_ID(x) (((x) >> S_PKG_ID) & M_PKG_ID)
40040 #define A_NCSI_PERR_INJECT 0x1a0f4
40042 #define S_MCSIMELSEL 1
40043 #define V_MCSIMELSEL(x) ((x) << S_MCSIMELSEL)
40044 #define F_MCSIMELSEL V_MCSIMELSEL(1U)
40046 #define A_NCSI_PERR_ENABLE 0x1a0f8
40047 #define A_NCSI_MACB_NETWORK_CTRL 0x1a100
40049 #define S_TXSNDZEROPAUSE 12
40050 #define V_TXSNDZEROPAUSE(x) ((x) << S_TXSNDZEROPAUSE)
40051 #define F_TXSNDZEROPAUSE V_TXSNDZEROPAUSE(1U)
40053 #define S_TXSNDPAUSE 11
40054 #define V_TXSNDPAUSE(x) ((x) << S_TXSNDPAUSE)
40055 #define F_TXSNDPAUSE V_TXSNDPAUSE(1U)
40057 #define S_TXSTOP 10
40058 #define V_TXSTOP(x) ((x) << S_TXSTOP)
40059 #define F_TXSTOP V_TXSTOP(1U)
40061 #define S_TXSTART 9
40062 #define V_TXSTART(x) ((x) << S_TXSTART)
40063 #define F_TXSTART V_TXSTART(1U)
40065 #define S_BACKPRESS 8
40066 #define V_BACKPRESS(x) ((x) << S_BACKPRESS)
40067 #define F_BACKPRESS V_BACKPRESS(1U)
40069 #define S_STATWREN 7
40070 #define V_STATWREN(x) ((x) << S_STATWREN)
40071 #define F_STATWREN V_STATWREN(1U)
40073 #define S_INCRSTAT 6
40074 #define V_INCRSTAT(x) ((x) << S_INCRSTAT)
40075 #define F_INCRSTAT V_INCRSTAT(1U)
40077 #define S_CLEARSTAT 5
40078 #define V_CLEARSTAT(x) ((x) << S_CLEARSTAT)
40079 #define F_CLEARSTAT V_CLEARSTAT(1U)
40081 #define S_ENMGMTPORT 4
40082 #define V_ENMGMTPORT(x) ((x) << S_ENMGMTPORT)
40083 #define F_ENMGMTPORT V_ENMGMTPORT(1U)
40085 #define S_NCSITXEN 3
40086 #define V_NCSITXEN(x) ((x) << S_NCSITXEN)
40087 #define F_NCSITXEN V_NCSITXEN(1U)
40089 #define S_NCSIRXEN 2
40090 #define V_NCSIRXEN(x) ((x) << S_NCSIRXEN)
40091 #define F_NCSIRXEN V_NCSIRXEN(1U)
40093 #define S_LOOPLOCAL 1
40094 #define V_LOOPLOCAL(x) ((x) << S_LOOPLOCAL)
40095 #define F_LOOPLOCAL V_LOOPLOCAL(1U)
40097 #define S_LOOPPHY 0
40098 #define V_LOOPPHY(x) ((x) << S_LOOPPHY)
40099 #define F_LOOPPHY V_LOOPPHY(1U)
40101 #define A_NCSI_MACB_NETWORK_CFG 0x1a104
40103 #define S_PCLKDIV128 22
40104 #define V_PCLKDIV128(x) ((x) << S_PCLKDIV128)
40105 #define F_PCLKDIV128 V_PCLKDIV128(1U)
40107 #define S_COPYPAUSE 21
40108 #define V_COPYPAUSE(x) ((x) << S_COPYPAUSE)
40109 #define F_COPYPAUSE V_COPYPAUSE(1U)
40111 #define S_NONSTDPREOK 20
40112 #define V_NONSTDPREOK(x) ((x) << S_NONSTDPREOK)
40113 #define F_NONSTDPREOK V_NONSTDPREOK(1U)
40116 #define V_NOFCS(x) ((x) << S_NOFCS)
40117 #define F_NOFCS V_NOFCS(1U)
40119 #define S_RXENHALFDUP 18
40120 #define V_RXENHALFDUP(x) ((x) << S_RXENHALFDUP)
40121 #define F_RXENHALFDUP V_RXENHALFDUP(1U)
40123 #define S_NOCOPYFCS 17
40124 #define V_NOCOPYFCS(x) ((x) << S_NOCOPYFCS)
40125 #define F_NOCOPYFCS V_NOCOPYFCS(1U)
40127 #define S_LENCHKEN 16
40128 #define V_LENCHKEN(x) ((x) << S_LENCHKEN)
40129 #define F_LENCHKEN V_LENCHKEN(1U)
40131 #define S_RXBUFOFFSET 14
40132 #define M_RXBUFOFFSET 0x3U
40133 #define V_RXBUFOFFSET(x) ((x) << S_RXBUFOFFSET)
40134 #define G_RXBUFOFFSET(x) (((x) >> S_RXBUFOFFSET) & M_RXBUFOFFSET)
40136 #define S_PAUSEEN 13
40137 #define V_PAUSEEN(x) ((x) << S_PAUSEEN)
40138 #define F_PAUSEEN V_PAUSEEN(1U)
40140 #define S_RETRYTEST 12
40141 #define V_RETRYTEST(x) ((x) << S_RETRYTEST)
40142 #define F_RETRYTEST V_RETRYTEST(1U)
40144 #define S_PCLKDIV 10
40145 #define M_PCLKDIV 0x3U
40146 #define V_PCLKDIV(x) ((x) << S_PCLKDIV)
40147 #define G_PCLKDIV(x) (((x) >> S_PCLKDIV) & M_PCLKDIV)
40149 #define S_EXTCLASS 9
40150 #define V_EXTCLASS(x) ((x) << S_EXTCLASS)
40151 #define F_EXTCLASS V_EXTCLASS(1U)
40153 #define S_EN1536FRAME 8
40154 #define V_EN1536FRAME(x) ((x) << S_EN1536FRAME)
40155 #define F_EN1536FRAME V_EN1536FRAME(1U)
40157 #define S_UCASTHASHEN 7
40158 #define V_UCASTHASHEN(x) ((x) << S_UCASTHASHEN)
40159 #define F_UCASTHASHEN V_UCASTHASHEN(1U)
40161 #define S_MCASTHASHEN 6
40162 #define V_MCASTHASHEN(x) ((x) << S_MCASTHASHEN)
40163 #define F_MCASTHASHEN V_MCASTHASHEN(1U)
40165 #define S_RXBCASTDIS 5
40166 #define V_RXBCASTDIS(x) ((x) << S_RXBCASTDIS)
40167 #define F_RXBCASTDIS V_RXBCASTDIS(1U)
40169 #define S_NCSICOPYALLFRAMES 4
40170 #define V_NCSICOPYALLFRAMES(x) ((x) << S_NCSICOPYALLFRAMES)
40171 #define F_NCSICOPYALLFRAMES V_NCSICOPYALLFRAMES(1U)
40173 #define S_JUMBOEN 3
40174 #define V_JUMBOEN(x) ((x) << S_JUMBOEN)
40175 #define F_JUMBOEN V_JUMBOEN(1U)
40178 #define V_SEREN(x) ((x) << S_SEREN)
40179 #define F_SEREN V_SEREN(1U)
40181 #define S_FULLDUPLEX 1
40182 #define V_FULLDUPLEX(x) ((x) << S_FULLDUPLEX)
40183 #define F_FULLDUPLEX V_FULLDUPLEX(1U)
40186 #define V_SPEED(x) ((x) << S_SPEED)
40187 #define F_SPEED V_SPEED(1U)
40189 #define A_NCSI_MACB_NETWORK_STATUS 0x1a108
40191 #define S_PHYMGMTSTATUS 2
40192 #define V_PHYMGMTSTATUS(x) ((x) << S_PHYMGMTSTATUS)
40193 #define F_PHYMGMTSTATUS V_PHYMGMTSTATUS(1U)
40195 #define S_MDISTATUS 1
40196 #define V_MDISTATUS(x) ((x) << S_MDISTATUS)
40197 #define F_MDISTATUS V_MDISTATUS(1U)
40199 #define S_LINKSTATUS 0
40200 #define V_LINKSTATUS(x) ((x) << S_LINKSTATUS)
40201 #define F_LINKSTATUS V_LINKSTATUS(1U)
40203 #define A_NCSI_MACB_TX_STATUS 0x1a114
40205 #define S_UNDERRUNERR 6
40206 #define V_UNDERRUNERR(x) ((x) << S_UNDERRUNERR)
40207 #define F_UNDERRUNERR V_UNDERRUNERR(1U)
40209 #define S_TXCOMPLETE 5
40210 #define V_TXCOMPLETE(x) ((x) << S_TXCOMPLETE)
40211 #define F_TXCOMPLETE V_TXCOMPLETE(1U)
40213 #define S_BUFFEREXHAUSTED 4
40214 #define V_BUFFEREXHAUSTED(x) ((x) << S_BUFFEREXHAUSTED)
40215 #define F_BUFFEREXHAUSTED V_BUFFEREXHAUSTED(1U)
40217 #define S_TXPROGRESS 3
40218 #define V_TXPROGRESS(x) ((x) << S_TXPROGRESS)
40219 #define F_TXPROGRESS V_TXPROGRESS(1U)
40221 #define S_RETRYLIMIT 2
40222 #define V_RETRYLIMIT(x) ((x) << S_RETRYLIMIT)
40223 #define F_RETRYLIMIT V_RETRYLIMIT(1U)
40225 #define S_COLEVENT 1
40226 #define V_COLEVENT(x) ((x) << S_COLEVENT)
40227 #define F_COLEVENT V_COLEVENT(1U)
40229 #define S_USEDBITREAD 0
40230 #define V_USEDBITREAD(x) ((x) << S_USEDBITREAD)
40231 #define F_USEDBITREAD V_USEDBITREAD(1U)
40233 #define A_NCSI_MACB_RX_BUF_QPTR 0x1a118
40235 #define S_RXBUFQPTR 2
40236 #define M_RXBUFQPTR 0x3fffffffU
40237 #define V_RXBUFQPTR(x) ((x) << S_RXBUFQPTR)
40238 #define G_RXBUFQPTR(x) (((x) >> S_RXBUFQPTR) & M_RXBUFQPTR)
40240 #define A_NCSI_MACB_TX_BUF_QPTR 0x1a11c
40242 #define S_TXBUFQPTR 2
40243 #define M_TXBUFQPTR 0x3fffffffU
40244 #define V_TXBUFQPTR(x) ((x) << S_TXBUFQPTR)
40245 #define G_TXBUFQPTR(x) (((x) >> S_TXBUFQPTR) & M_TXBUFQPTR)
40247 #define A_NCSI_MACB_RX_STATUS 0x1a120
40249 #define S_RXOVERRUNERR 2
40250 #define V_RXOVERRUNERR(x) ((x) << S_RXOVERRUNERR)
40251 #define F_RXOVERRUNERR V_RXOVERRUNERR(1U)
40253 #define S_MACB_FRAMERCVD 1
40254 #define V_MACB_FRAMERCVD(x) ((x) << S_MACB_FRAMERCVD)
40255 #define F_MACB_FRAMERCVD V_MACB_FRAMERCVD(1U)
40257 #define S_NORXBUF 0
40258 #define V_NORXBUF(x) ((x) << S_NORXBUF)
40259 #define F_NORXBUF V_NORXBUF(1U)
40261 #define A_NCSI_MACB_INT_STATUS 0x1a124
40263 #define S_PAUSETIMEZERO 13
40264 #define V_PAUSETIMEZERO(x) ((x) << S_PAUSETIMEZERO)
40265 #define F_PAUSETIMEZERO V_PAUSETIMEZERO(1U)
40267 #define S_PAUSERCVD 12
40268 #define V_PAUSERCVD(x) ((x) << S_PAUSERCVD)
40269 #define F_PAUSERCVD V_PAUSERCVD(1U)
40271 #define S_HRESPNOTOK 11
40272 #define V_HRESPNOTOK(x) ((x) << S_HRESPNOTOK)
40273 #define F_HRESPNOTOK V_HRESPNOTOK(1U)
40275 #define S_RXOVERRUN 10
40276 #define V_RXOVERRUN(x) ((x) << S_RXOVERRUN)
40277 #define F_RXOVERRUN V_RXOVERRUN(1U)
40279 #define S_LINKCHANGE 9
40280 #define V_LINKCHANGE(x) ((x) << S_LINKCHANGE)
40281 #define F_LINKCHANGE V_LINKCHANGE(1U)
40283 #define S_INT_TXCOMPLETE 7
40284 #define V_INT_TXCOMPLETE(x) ((x) << S_INT_TXCOMPLETE)
40285 #define F_INT_TXCOMPLETE V_INT_TXCOMPLETE(1U)
40287 #define S_TXBUFERR 6
40288 #define V_TXBUFERR(x) ((x) << S_TXBUFERR)
40289 #define F_TXBUFERR V_TXBUFERR(1U)
40291 #define S_RETRYLIMITERR 5
40292 #define V_RETRYLIMITERR(x) ((x) << S_RETRYLIMITERR)
40293 #define F_RETRYLIMITERR V_RETRYLIMITERR(1U)
40295 #define S_TXBUFUNDERRUN 4
40296 #define V_TXBUFUNDERRUN(x) ((x) << S_TXBUFUNDERRUN)
40297 #define F_TXBUFUNDERRUN V_TXBUFUNDERRUN(1U)
40299 #define S_TXUSEDBITREAD 3
40300 #define V_TXUSEDBITREAD(x) ((x) << S_TXUSEDBITREAD)
40301 #define F_TXUSEDBITREAD V_TXUSEDBITREAD(1U)
40303 #define S_RXUSEDBITREAD 2
40304 #define V_RXUSEDBITREAD(x) ((x) << S_RXUSEDBITREAD)
40305 #define F_RXUSEDBITREAD V_RXUSEDBITREAD(1U)
40307 #define S_RXCOMPLETE 1
40308 #define V_RXCOMPLETE(x) ((x) << S_RXCOMPLETE)
40309 #define F_RXCOMPLETE V_RXCOMPLETE(1U)
40311 #define S_MGMTFRAMESENT 0
40312 #define V_MGMTFRAMESENT(x) ((x) << S_MGMTFRAMESENT)
40313 #define F_MGMTFRAMESENT V_MGMTFRAMESENT(1U)
40315 #define A_NCSI_MACB_INT_EN 0x1a128
40316 #define A_NCSI_MACB_INT_DIS 0x1a12c
40317 #define A_NCSI_MACB_INT_MASK 0x1a130
40318 #define A_NCSI_MACB_PAUSE_TIME 0x1a138
40320 #define S_PAUSETIME 0
40321 #define M_PAUSETIME 0xffffU
40322 #define V_PAUSETIME(x) ((x) << S_PAUSETIME)
40323 #define G_PAUSETIME(x) (((x) >> S_PAUSETIME) & M_PAUSETIME)
40325 #define A_NCSI_MACB_PAUSE_FRAMES_RCVD 0x1a13c
40327 #define S_PAUSEFRRCVD 0
40328 #define M_PAUSEFRRCVD 0xffffU
40329 #define V_PAUSEFRRCVD(x) ((x) << S_PAUSEFRRCVD)
40330 #define G_PAUSEFRRCVD(x) (((x) >> S_PAUSEFRRCVD) & M_PAUSEFRRCVD)
40332 #define A_NCSI_MACB_TX_FRAMES_OK 0x1a140
40334 #define S_TXFRAMESOK 0
40335 #define M_TXFRAMESOK 0xffffffU
40336 #define V_TXFRAMESOK(x) ((x) << S_TXFRAMESOK)
40337 #define G_TXFRAMESOK(x) (((x) >> S_TXFRAMESOK) & M_TXFRAMESOK)
40339 #define A_NCSI_MACB_SINGLE_COL_FRAMES 0x1a144
40341 #define S_SINGLECOLTXFRAMES 0
40342 #define M_SINGLECOLTXFRAMES 0xffffU
40343 #define V_SINGLECOLTXFRAMES(x) ((x) << S_SINGLECOLTXFRAMES)
40344 #define G_SINGLECOLTXFRAMES(x) (((x) >> S_SINGLECOLTXFRAMES) & M_SINGLECOLTXFRAMES)
40346 #define A_NCSI_MACB_MUL_COL_FRAMES 0x1a148
40348 #define S_MULCOLTXFRAMES 0
40349 #define M_MULCOLTXFRAMES 0xffffU
40350 #define V_MULCOLTXFRAMES(x) ((x) << S_MULCOLTXFRAMES)
40351 #define G_MULCOLTXFRAMES(x) (((x) >> S_MULCOLTXFRAMES) & M_MULCOLTXFRAMES)
40353 #define A_NCSI_MACB_RX_FRAMES_OK 0x1a14c
40355 #define S_RXFRAMESOK 0
40356 #define M_RXFRAMESOK 0xffffffU
40357 #define V_RXFRAMESOK(x) ((x) << S_RXFRAMESOK)
40358 #define G_RXFRAMESOK(x) (((x) >> S_RXFRAMESOK) & M_RXFRAMESOK)
40360 #define A_NCSI_MACB_FCS_ERR 0x1a150
40362 #define S_RXFCSERR 0
40363 #define M_RXFCSERR 0xffU
40364 #define V_RXFCSERR(x) ((x) << S_RXFCSERR)
40365 #define G_RXFCSERR(x) (((x) >> S_RXFCSERR) & M_RXFCSERR)
40367 #define A_NCSI_MACB_ALIGN_ERR 0x1a154
40369 #define S_RXALIGNERR 0
40370 #define M_RXALIGNERR 0xffU
40371 #define V_RXALIGNERR(x) ((x) << S_RXALIGNERR)
40372 #define G_RXALIGNERR(x) (((x) >> S_RXALIGNERR) & M_RXALIGNERR)
40374 #define A_NCSI_MACB_DEF_TX_FRAMES 0x1a158
40376 #define S_TXDEFERREDFRAMES 0
40377 #define M_TXDEFERREDFRAMES 0xffffU
40378 #define V_TXDEFERREDFRAMES(x) ((x) << S_TXDEFERREDFRAMES)
40379 #define G_TXDEFERREDFRAMES(x) (((x) >> S_TXDEFERREDFRAMES) & M_TXDEFERREDFRAMES)
40381 #define A_NCSI_MACB_LATE_COL 0x1a15c
40383 #define S_LATECOLLISIONS 0
40384 #define M_LATECOLLISIONS 0xffffU
40385 #define V_LATECOLLISIONS(x) ((x) << S_LATECOLLISIONS)
40386 #define G_LATECOLLISIONS(x) (((x) >> S_LATECOLLISIONS) & M_LATECOLLISIONS)
40388 #define A_NCSI_MACB_EXCESSIVE_COL 0x1a160
40390 #define S_EXCESSIVECOLLISIONS 0
40391 #define M_EXCESSIVECOLLISIONS 0xffU
40392 #define V_EXCESSIVECOLLISIONS(x) ((x) << S_EXCESSIVECOLLISIONS)
40393 #define G_EXCESSIVECOLLISIONS(x) (((x) >> S_EXCESSIVECOLLISIONS) & M_EXCESSIVECOLLISIONS)
40395 #define A_NCSI_MACB_TX_UNDERRUN_ERR 0x1a164
40397 #define S_TXUNDERRUNERR 0
40398 #define M_TXUNDERRUNERR 0xffU
40399 #define V_TXUNDERRUNERR(x) ((x) << S_TXUNDERRUNERR)
40400 #define G_TXUNDERRUNERR(x) (((x) >> S_TXUNDERRUNERR) & M_TXUNDERRUNERR)
40402 #define A_NCSI_MACB_CARRIER_SENSE_ERR 0x1a168
40404 #define S_CARRIERSENSEERRS 0
40405 #define M_CARRIERSENSEERRS 0xffU
40406 #define V_CARRIERSENSEERRS(x) ((x) << S_CARRIERSENSEERRS)
40407 #define G_CARRIERSENSEERRS(x) (((x) >> S_CARRIERSENSEERRS) & M_CARRIERSENSEERRS)
40409 #define A_NCSI_MACB_RX_RESOURCE_ERR 0x1a16c
40411 #define S_RXRESOURCEERR 0
40412 #define M_RXRESOURCEERR 0xffffU
40413 #define V_RXRESOURCEERR(x) ((x) << S_RXRESOURCEERR)
40414 #define G_RXRESOURCEERR(x) (((x) >> S_RXRESOURCEERR) & M_RXRESOURCEERR)
40416 #define A_NCSI_MACB_RX_OVERRUN_ERR 0x1a170
40418 #define S_RXOVERRUNERRCNT 0
40419 #define M_RXOVERRUNERRCNT 0xffU
40420 #define V_RXOVERRUNERRCNT(x) ((x) << S_RXOVERRUNERRCNT)
40421 #define G_RXOVERRUNERRCNT(x) (((x) >> S_RXOVERRUNERRCNT) & M_RXOVERRUNERRCNT)
40423 #define A_NCSI_MACB_RX_SYMBOL_ERR 0x1a174
40425 #define S_RXSYMBOLERR 0
40426 #define M_RXSYMBOLERR 0xffU
40427 #define V_RXSYMBOLERR(x) ((x) << S_RXSYMBOLERR)
40428 #define G_RXSYMBOLERR(x) (((x) >> S_RXSYMBOLERR) & M_RXSYMBOLERR)
40430 #define A_NCSI_MACB_RX_OVERSIZE_FRAME 0x1a178
40432 #define S_RXOVERSIZEERR 0
40433 #define M_RXOVERSIZEERR 0xffU
40434 #define V_RXOVERSIZEERR(x) ((x) << S_RXOVERSIZEERR)
40435 #define G_RXOVERSIZEERR(x) (((x) >> S_RXOVERSIZEERR) & M_RXOVERSIZEERR)
40437 #define A_NCSI_MACB_RX_JABBER_ERR 0x1a17c
40439 #define S_RXJABBERERR 0
40440 #define M_RXJABBERERR 0xffU
40441 #define V_RXJABBERERR(x) ((x) << S_RXJABBERERR)
40442 #define G_RXJABBERERR(x) (((x) >> S_RXJABBERERR) & M_RXJABBERERR)
40444 #define A_NCSI_MACB_RX_UNDERSIZE_FRAME 0x1a180
40446 #define S_RXUNDERSIZEFR 0
40447 #define M_RXUNDERSIZEFR 0xffU
40448 #define V_RXUNDERSIZEFR(x) ((x) << S_RXUNDERSIZEFR)
40449 #define G_RXUNDERSIZEFR(x) (((x) >> S_RXUNDERSIZEFR) & M_RXUNDERSIZEFR)
40451 #define A_NCSI_MACB_SQE_TEST_ERR 0x1a184
40453 #define S_SQETESTERR 0
40454 #define M_SQETESTERR 0xffU
40455 #define V_SQETESTERR(x) ((x) << S_SQETESTERR)
40456 #define G_SQETESTERR(x) (((x) >> S_SQETESTERR) & M_SQETESTERR)
40458 #define A_NCSI_MACB_LENGTH_ERR 0x1a188
40460 #define S_LENGTHERR 0
40461 #define M_LENGTHERR 0xffU
40462 #define V_LENGTHERR(x) ((x) << S_LENGTHERR)
40463 #define G_LENGTHERR(x) (((x) >> S_LENGTHERR) & M_LENGTHERR)
40465 #define A_NCSI_MACB_TX_PAUSE_FRAMES 0x1a18c
40467 #define S_TXPAUSEFRAMES 0
40468 #define M_TXPAUSEFRAMES 0xffffU
40469 #define V_TXPAUSEFRAMES(x) ((x) << S_TXPAUSEFRAMES)
40470 #define G_TXPAUSEFRAMES(x) (((x) >> S_TXPAUSEFRAMES) & M_TXPAUSEFRAMES)
40472 #define A_NCSI_MACB_HASH_LOW 0x1a190
40473 #define A_NCSI_MACB_HASH_HIGH 0x1a194
40474 #define A_NCSI_MACB_SPECIFIC_1_LOW 0x1a198
40475 #define A_NCSI_MACB_SPECIFIC_1_HIGH 0x1a19c
40477 #define S_MATCHHIGH 0
40478 #define M_MATCHHIGH 0xffffU
40479 #define V_MATCHHIGH(x) ((x) << S_MATCHHIGH)
40480 #define G_MATCHHIGH(x) (((x) >> S_MATCHHIGH) & M_MATCHHIGH)
40482 #define A_NCSI_MACB_SPECIFIC_2_LOW 0x1a1a0
40483 #define A_NCSI_MACB_SPECIFIC_2_HIGH 0x1a1a4
40484 #define A_NCSI_MACB_SPECIFIC_3_LOW 0x1a1a8
40485 #define A_NCSI_MACB_SPECIFIC_3_HIGH 0x1a1ac
40486 #define A_NCSI_MACB_SPECIFIC_4_LOW 0x1a1b0
40487 #define A_NCSI_MACB_SPECIFIC_4_HIGH 0x1a1b4
40488 #define A_NCSI_MACB_TYPE_ID 0x1a1b8
40491 #define M_TYPEID 0xffffU
40492 #define V_TYPEID(x) ((x) << S_TYPEID)
40493 #define G_TYPEID(x) (((x) >> S_TYPEID) & M_TYPEID)
40495 #define A_NCSI_MACB_TX_PAUSE_QUANTUM 0x1a1bc
40497 #define S_TXPAUSEQUANTUM 0
40498 #define M_TXPAUSEQUANTUM 0xffffU
40499 #define V_TXPAUSEQUANTUM(x) ((x) << S_TXPAUSEQUANTUM)
40500 #define G_TXPAUSEQUANTUM(x) (((x) >> S_TXPAUSEQUANTUM) & M_TXPAUSEQUANTUM)
40502 #define A_NCSI_MACB_USER_IO 0x1a1c0
40504 #define S_USERPROGINPUT 16
40505 #define M_USERPROGINPUT 0xffffU
40506 #define V_USERPROGINPUT(x) ((x) << S_USERPROGINPUT)
40507 #define G_USERPROGINPUT(x) (((x) >> S_USERPROGINPUT) & M_USERPROGINPUT)
40509 #define S_USERPROGOUTPUT 0
40510 #define M_USERPROGOUTPUT 0xffffU
40511 #define V_USERPROGOUTPUT(x) ((x) << S_USERPROGOUTPUT)
40512 #define G_USERPROGOUTPUT(x) (((x) >> S_USERPROGOUTPUT) & M_USERPROGOUTPUT)
40514 #define A_NCSI_MACB_WOL_CFG 0x1a1c4
40516 #define S_MCHASHEN 19
40517 #define V_MCHASHEN(x) ((x) << S_MCHASHEN)
40518 #define F_MCHASHEN V_MCHASHEN(1U)
40520 #define S_SPECIFIC1EN 18
40521 #define V_SPECIFIC1EN(x) ((x) << S_SPECIFIC1EN)
40522 #define F_SPECIFIC1EN V_SPECIFIC1EN(1U)
40525 #define V_ARPEN(x) ((x) << S_ARPEN)
40526 #define F_ARPEN V_ARPEN(1U)
40528 #define S_MAGICPKTEN 16
40529 #define V_MAGICPKTEN(x) ((x) << S_MAGICPKTEN)
40530 #define F_MAGICPKTEN V_MAGICPKTEN(1U)
40532 #define S_ARPIPADDR 0
40533 #define M_ARPIPADDR 0xffffU
40534 #define V_ARPIPADDR(x) ((x) << S_ARPIPADDR)
40535 #define G_ARPIPADDR(x) (((x) >> S_ARPIPADDR) & M_ARPIPADDR)
40537 #define A_NCSI_MACB_REV_STATUS 0x1a1fc
40539 #define S_PARTREF 16
40540 #define M_PARTREF 0xffffU
40541 #define V_PARTREF(x) ((x) << S_PARTREF)
40542 #define G_PARTREF(x) (((x) >> S_PARTREF) & M_PARTREF)
40545 #define M_DESREV 0xffffU
40546 #define V_DESREV(x) ((x) << S_DESREV)
40547 #define G_DESREV(x) (((x) >> S_DESREV) & M_DESREV)
40549 /* registers for module XGMAC */
40550 #define XGMAC_BASE_ADDR 0x0
40552 #define A_XGMAC_PORT_CFG 0x1000
40554 #define S_XGMII_CLK_SEL 29
40555 #define M_XGMII_CLK_SEL 0x7U
40556 #define V_XGMII_CLK_SEL(x) ((x) << S_XGMII_CLK_SEL)
40557 #define G_XGMII_CLK_SEL(x) (((x) >> S_XGMII_CLK_SEL) & M_XGMII_CLK_SEL)
40559 #define S_SINKTX 27
40560 #define V_SINKTX(x) ((x) << S_SINKTX)
40561 #define F_SINKTX V_SINKTX(1U)
40563 #define S_SINKTXONLINKDOWN 26
40564 #define V_SINKTXONLINKDOWN(x) ((x) << S_SINKTXONLINKDOWN)
40565 #define F_SINKTXONLINKDOWN V_SINKTXONLINKDOWN(1U)
40567 #define S_XG2G_SPEED_MODE 25
40568 #define V_XG2G_SPEED_MODE(x) ((x) << S_XG2G_SPEED_MODE)
40569 #define F_XG2G_SPEED_MODE V_XG2G_SPEED_MODE(1U)
40571 #define S_LOOPNOFWD 24
40572 #define V_LOOPNOFWD(x) ((x) << S_LOOPNOFWD)
40573 #define F_LOOPNOFWD V_LOOPNOFWD(1U)
40575 #define S_XGM_TX_PAUSE_SIZE 23
40576 #define V_XGM_TX_PAUSE_SIZE(x) ((x) << S_XGM_TX_PAUSE_SIZE)
40577 #define F_XGM_TX_PAUSE_SIZE V_XGM_TX_PAUSE_SIZE(1U)
40579 #define S_XGM_TX_PAUSE_FRAME 22
40580 #define V_XGM_TX_PAUSE_FRAME(x) ((x) << S_XGM_TX_PAUSE_FRAME)
40581 #define F_XGM_TX_PAUSE_FRAME V_XGM_TX_PAUSE_FRAME(1U)
40583 #define S_XGM_TX_DISABLE_PRE 21
40584 #define V_XGM_TX_DISABLE_PRE(x) ((x) << S_XGM_TX_DISABLE_PRE)
40585 #define F_XGM_TX_DISABLE_PRE V_XGM_TX_DISABLE_PRE(1U)
40587 #define S_XGM_TX_DISABLE_CRC 20
40588 #define V_XGM_TX_DISABLE_CRC(x) ((x) << S_XGM_TX_DISABLE_CRC)
40589 #define F_XGM_TX_DISABLE_CRC V_XGM_TX_DISABLE_CRC(1U)
40591 #define S_SMUX_RX_LOOP 19
40592 #define V_SMUX_RX_LOOP(x) ((x) << S_SMUX_RX_LOOP)
40593 #define F_SMUX_RX_LOOP V_SMUX_RX_LOOP(1U)
40595 #define S_RX_LANE_SWAP 18
40596 #define V_RX_LANE_SWAP(x) ((x) << S_RX_LANE_SWAP)
40597 #define F_RX_LANE_SWAP V_RX_LANE_SWAP(1U)
40599 #define S_TX_LANE_SWAP 17
40600 #define V_TX_LANE_SWAP(x) ((x) << S_TX_LANE_SWAP)
40601 #define F_TX_LANE_SWAP V_TX_LANE_SWAP(1U)
40603 #define S_SIGNAL_DET 14
40604 #define V_SIGNAL_DET(x) ((x) << S_SIGNAL_DET)
40605 #define F_SIGNAL_DET V_SIGNAL_DET(1U)
40607 #define S_PMUX_RX_LOOP 13
40608 #define V_PMUX_RX_LOOP(x) ((x) << S_PMUX_RX_LOOP)
40609 #define F_PMUX_RX_LOOP V_PMUX_RX_LOOP(1U)
40611 #define S_PMUX_TX_LOOP 12
40612 #define V_PMUX_TX_LOOP(x) ((x) << S_PMUX_TX_LOOP)
40613 #define F_PMUX_TX_LOOP V_PMUX_TX_LOOP(1U)
40615 #define S_XGM_RX_SEL 10
40616 #define M_XGM_RX_SEL 0x3U
40617 #define V_XGM_RX_SEL(x) ((x) << S_XGM_RX_SEL)
40618 #define G_XGM_RX_SEL(x) (((x) >> S_XGM_RX_SEL) & M_XGM_RX_SEL)
40620 #define S_PCS_TX_SEL 8
40621 #define M_PCS_TX_SEL 0x3U
40622 #define V_PCS_TX_SEL(x) ((x) << S_PCS_TX_SEL)
40623 #define G_PCS_TX_SEL(x) (((x) >> S_PCS_TX_SEL) & M_PCS_TX_SEL)
40625 #define S_XAUI20_REM_PRE 5
40626 #define V_XAUI20_REM_PRE(x) ((x) << S_XAUI20_REM_PRE)
40627 #define F_XAUI20_REM_PRE V_XAUI20_REM_PRE(1U)
40629 #define S_XAUI20_XGMII_SEL 4
40630 #define V_XAUI20_XGMII_SEL(x) ((x) << S_XAUI20_XGMII_SEL)
40631 #define F_XAUI20_XGMII_SEL V_XAUI20_XGMII_SEL(1U)
40633 #define S_PORT_SEL 0
40634 #define V_PORT_SEL(x) ((x) << S_PORT_SEL)
40635 #define F_PORT_SEL V_PORT_SEL(1U)
40637 #define A_XGMAC_PORT_RESET_CTRL 0x1004
40639 #define S_AUXEXT_RESET 10
40640 #define V_AUXEXT_RESET(x) ((x) << S_AUXEXT_RESET)
40641 #define F_AUXEXT_RESET V_AUXEXT_RESET(1U)
40643 #define S_TXFIFO_RESET 9
40644 #define V_TXFIFO_RESET(x) ((x) << S_TXFIFO_RESET)
40645 #define F_TXFIFO_RESET V_TXFIFO_RESET(1U)
40647 #define S_RXFIFO_RESET 8
40648 #define V_RXFIFO_RESET(x) ((x) << S_RXFIFO_RESET)
40649 #define F_RXFIFO_RESET V_RXFIFO_RESET(1U)
40651 #define S_BEAN_RESET 7
40652 #define V_BEAN_RESET(x) ((x) << S_BEAN_RESET)
40653 #define F_BEAN_RESET V_BEAN_RESET(1U)
40655 #define S_XAUI_RESET 6
40656 #define V_XAUI_RESET(x) ((x) << S_XAUI_RESET)
40657 #define F_XAUI_RESET V_XAUI_RESET(1U)
40659 #define S_AE_RESET 5
40660 #define V_AE_RESET(x) ((x) << S_AE_RESET)
40661 #define F_AE_RESET V_AE_RESET(1U)
40663 #define S_XGM_RESET 4
40664 #define V_XGM_RESET(x) ((x) << S_XGM_RESET)
40665 #define F_XGM_RESET V_XGM_RESET(1U)
40667 #define S_XG2G_RESET 3
40668 #define V_XG2G_RESET(x) ((x) << S_XG2G_RESET)
40669 #define F_XG2G_RESET V_XG2G_RESET(1U)
40671 #define S_WOL_RESET 2
40672 #define V_WOL_RESET(x) ((x) << S_WOL_RESET)
40673 #define F_WOL_RESET V_WOL_RESET(1U)
40675 #define S_XFI_PCS_RESET 1
40676 #define V_XFI_PCS_RESET(x) ((x) << S_XFI_PCS_RESET)
40677 #define F_XFI_PCS_RESET V_XFI_PCS_RESET(1U)
40679 #define S_HSS_RESET 0
40680 #define V_HSS_RESET(x) ((x) << S_HSS_RESET)
40681 #define F_HSS_RESET V_HSS_RESET(1U)
40683 #define A_XGMAC_PORT_LED_CFG 0x1008
40685 #define S_LED1_CFG 5
40686 #define M_LED1_CFG 0x7U
40687 #define V_LED1_CFG(x) ((x) << S_LED1_CFG)
40688 #define G_LED1_CFG(x) (((x) >> S_LED1_CFG) & M_LED1_CFG)
40690 #define S_LED1_POLARITY_INV 4
40691 #define V_LED1_POLARITY_INV(x) ((x) << S_LED1_POLARITY_INV)
40692 #define F_LED1_POLARITY_INV V_LED1_POLARITY_INV(1U)
40694 #define S_LED0_CFG 1
40695 #define M_LED0_CFG 0x7U
40696 #define V_LED0_CFG(x) ((x) << S_LED0_CFG)
40697 #define G_LED0_CFG(x) (((x) >> S_LED0_CFG) & M_LED0_CFG)
40699 #define S_LED0_POLARITY_INV 0
40700 #define V_LED0_POLARITY_INV(x) ((x) << S_LED0_POLARITY_INV)
40701 #define F_LED0_POLARITY_INV V_LED0_POLARITY_INV(1U)
40703 #define A_XGMAC_PORT_LED_COUNTHI 0x100c
40705 #define S_LED_COUNT_HI 0
40706 #define M_LED_COUNT_HI 0x1ffffffU
40707 #define V_LED_COUNT_HI(x) ((x) << S_LED_COUNT_HI)
40708 #define G_LED_COUNT_HI(x) (((x) >> S_LED_COUNT_HI) & M_LED_COUNT_HI)
40710 #define A_XGMAC_PORT_LED_COUNTLO 0x1010
40712 #define S_LED_COUNT_LO 0
40713 #define M_LED_COUNT_LO 0x1ffffffU
40714 #define V_LED_COUNT_LO(x) ((x) << S_LED_COUNT_LO)
40715 #define G_LED_COUNT_LO(x) (((x) >> S_LED_COUNT_LO) & M_LED_COUNT_LO)
40717 #define A_XGMAC_PORT_DEBUG_CFG 0x1014
40719 #define S_TESTCLK_SEL 0
40720 #define M_TESTCLK_SEL 0xfU
40721 #define V_TESTCLK_SEL(x) ((x) << S_TESTCLK_SEL)
40722 #define G_TESTCLK_SEL(x) (((x) >> S_TESTCLK_SEL) & M_TESTCLK_SEL)
40724 #define A_XGMAC_PORT_CFG2 0x1018
40726 #define S_RX_POLARITY_INV 28
40727 #define M_RX_POLARITY_INV 0xfU
40728 #define V_RX_POLARITY_INV(x) ((x) << S_RX_POLARITY_INV)
40729 #define G_RX_POLARITY_INV(x) (((x) >> S_RX_POLARITY_INV) & M_RX_POLARITY_INV)
40731 #define S_TX_POLARITY_INV 24
40732 #define M_TX_POLARITY_INV 0xfU
40733 #define V_TX_POLARITY_INV(x) ((x) << S_TX_POLARITY_INV)
40734 #define G_TX_POLARITY_INV(x) (((x) >> S_TX_POLARITY_INV) & M_TX_POLARITY_INV)
40736 #define S_INSTANCENUM 22
40737 #define M_INSTANCENUM 0x3U
40738 #define V_INSTANCENUM(x) ((x) << S_INSTANCENUM)
40739 #define G_INSTANCENUM(x) (((x) >> S_INSTANCENUM) & M_INSTANCENUM)
40741 #define S_STOPONPERR 21
40742 #define V_STOPONPERR(x) ((x) << S_STOPONPERR)
40743 #define F_STOPONPERR V_STOPONPERR(1U)
40745 #define S_MACTXEN 20
40746 #define V_MACTXEN(x) ((x) << S_MACTXEN)
40747 #define F_MACTXEN V_MACTXEN(1U)
40749 #define S_MACRXEN 19
40750 #define V_MACRXEN(x) ((x) << S_MACRXEN)
40751 #define F_MACRXEN V_MACRXEN(1U)
40754 #define V_PATEN(x) ((x) << S_PATEN)
40755 #define F_PATEN V_PATEN(1U)
40757 #define S_MAGICEN 17
40758 #define V_MAGICEN(x) ((x) << S_MAGICEN)
40759 #define F_MAGICEN V_MAGICEN(1U)
40762 #define M_TX_IPG 0x1fffU
40763 #define V_TX_IPG(x) ((x) << S_TX_IPG)
40764 #define G_TX_IPG(x) (((x) >> S_TX_IPG) & M_TX_IPG)
40766 #define S_AEC_PMA_TX_READY 1
40767 #define V_AEC_PMA_TX_READY(x) ((x) << S_AEC_PMA_TX_READY)
40768 #define F_AEC_PMA_TX_READY V_AEC_PMA_TX_READY(1U)
40770 #define S_AEC_PMA_RX_READY 0
40771 #define V_AEC_PMA_RX_READY(x) ((x) << S_AEC_PMA_RX_READY)
40772 #define F_AEC_PMA_RX_READY V_AEC_PMA_RX_READY(1U)
40774 #define A_XGMAC_PORT_PKT_COUNT 0x101c
40776 #define S_TX_SOP_COUNT 24
40777 #define M_TX_SOP_COUNT 0xffU
40778 #define V_TX_SOP_COUNT(x) ((x) << S_TX_SOP_COUNT)
40779 #define G_TX_SOP_COUNT(x) (((x) >> S_TX_SOP_COUNT) & M_TX_SOP_COUNT)
40781 #define S_TX_EOP_COUNT 16
40782 #define M_TX_EOP_COUNT 0xffU
40783 #define V_TX_EOP_COUNT(x) ((x) << S_TX_EOP_COUNT)
40784 #define G_TX_EOP_COUNT(x) (((x) >> S_TX_EOP_COUNT) & M_TX_EOP_COUNT)
40786 #define S_RX_SOP_COUNT 8
40787 #define M_RX_SOP_COUNT 0xffU
40788 #define V_RX_SOP_COUNT(x) ((x) << S_RX_SOP_COUNT)
40789 #define G_RX_SOP_COUNT(x) (((x) >> S_RX_SOP_COUNT) & M_RX_SOP_COUNT)
40791 #define S_RX_EOP_COUNT 0
40792 #define M_RX_EOP_COUNT 0xffU
40793 #define V_RX_EOP_COUNT(x) ((x) << S_RX_EOP_COUNT)
40794 #define G_RX_EOP_COUNT(x) (((x) >> S_RX_EOP_COUNT) & M_RX_EOP_COUNT)
40796 #define A_XGMAC_PORT_PERR_INJECT 0x1020
40798 #define S_XGMMEMSEL 1
40799 #define V_XGMMEMSEL(x) ((x) << S_XGMMEMSEL)
40800 #define F_XGMMEMSEL V_XGMMEMSEL(1U)
40802 #define A_XGMAC_PORT_MAGIC_MACID_LO 0x1024
40803 #define A_XGMAC_PORT_MAGIC_MACID_HI 0x1028
40805 #define S_MAC_WOL_DA 0
40806 #define M_MAC_WOL_DA 0xffffU
40807 #define V_MAC_WOL_DA(x) ((x) << S_MAC_WOL_DA)
40808 #define G_MAC_WOL_DA(x) (((x) >> S_MAC_WOL_DA) & M_MAC_WOL_DA)
40810 #define A_XGMAC_PORT_BUILD_REVISION 0x102c
40811 #define A_XGMAC_PORT_XGMII_SE_COUNT 0x1030
40814 #define M_TXSOP 0xffU
40815 #define V_TXSOP(x) ((x) << S_TXSOP)
40816 #define G_TXSOP(x) (((x) >> S_TXSOP) & M_TXSOP)
40819 #define M_TXEOP 0xffU
40820 #define V_TXEOP(x) ((x) << S_TXEOP)
40821 #define G_TXEOP(x) (((x) >> S_TXEOP) & M_TXEOP)
40824 #define M_RXSOP 0xffU
40825 #define V_RXSOP(x) ((x) << S_RXSOP)
40826 #define G_RXSOP(x) (((x) >> S_RXSOP) & M_RXSOP)
40828 #define S_T4_RXEOP 0
40829 #define M_T4_RXEOP 0xffU
40830 #define V_T4_RXEOP(x) ((x) << S_T4_RXEOP)
40831 #define G_T4_RXEOP(x) (((x) >> S_T4_RXEOP) & M_T4_RXEOP)
40833 #define A_XGMAC_PORT_LINK_STATUS 0x1034
40836 #define V_REMFLT(x) ((x) << S_REMFLT)
40837 #define F_REMFLT V_REMFLT(1U)
40840 #define V_LOCFLT(x) ((x) << S_LOCFLT)
40841 #define F_LOCFLT V_LOCFLT(1U)
40844 #define V_LINKUP(x) ((x) << S_LINKUP)
40845 #define F_LINKUP V_LINKUP(1U)
40848 #define V_LINKDN(x) ((x) << S_LINKDN)
40849 #define F_LINKDN V_LINKDN(1U)
40851 #define A_XGMAC_PORT_CHECKIN 0x1038
40853 #define S_PREAMBLE 1
40854 #define V_PREAMBLE(x) ((x) << S_PREAMBLE)
40855 #define F_PREAMBLE V_PREAMBLE(1U)
40857 #define S_CHECKIN 0
40858 #define V_CHECKIN(x) ((x) << S_CHECKIN)
40859 #define F_CHECKIN V_CHECKIN(1U)
40861 #define A_XGMAC_PORT_FAULT_TEST 0x103c
40863 #define S_FLTTYPE 1
40864 #define V_FLTTYPE(x) ((x) << S_FLTTYPE)
40865 #define F_FLTTYPE V_FLTTYPE(1U)
40867 #define S_FLTCTRL 0
40868 #define V_FLTCTRL(x) ((x) << S_FLTCTRL)
40869 #define F_FLTCTRL V_FLTCTRL(1U)
40871 #define A_XGMAC_PORT_SPARE 0x1040
40872 #define A_XGMAC_PORT_HSS_SIGDET_STATUS 0x1044
40874 #define S_SIGNALDETECT 0
40875 #define M_SIGNALDETECT 0xfU
40876 #define V_SIGNALDETECT(x) ((x) << S_SIGNALDETECT)
40877 #define G_SIGNALDETECT(x) (((x) >> S_SIGNALDETECT) & M_SIGNALDETECT)
40879 #define A_XGMAC_PORT_EXT_LOS_STATUS 0x1048
40880 #define A_XGMAC_PORT_EXT_LOS_CTRL 0x104c
40883 #define M_CTRL 0xfU
40884 #define V_CTRL(x) ((x) << S_CTRL)
40885 #define G_CTRL(x) (((x) >> S_CTRL) & M_CTRL)
40887 #define A_XGMAC_PORT_FPGA_PAUSE_CTL 0x1050
40890 #define V_CTL(x) ((x) << S_CTL)
40891 #define F_CTL V_CTL(1U)
40894 #define M_HWM 0x1fffU
40895 #define V_HWM(x) ((x) << S_HWM)
40896 #define G_HWM(x) (((x) >> S_HWM) & M_HWM)
40899 #define M_LWM 0x1fffU
40900 #define V_LWM(x) ((x) << S_LWM)
40901 #define G_LWM(x) (((x) >> S_LWM) & M_LWM)
40903 #define A_XGMAC_PORT_FPGA_ERRPKT_CNT 0x1054
40904 #define A_XGMAC_PORT_LA_TX_0 0x1058
40905 #define A_XGMAC_PORT_LA_RX_0 0x105c
40906 #define A_XGMAC_PORT_FPGA_LA_CTL 0x1060
40909 #define V_RXRST(x) ((x) << S_RXRST)
40910 #define F_RXRST V_RXRST(1U)
40913 #define V_TXRST(x) ((x) << S_TXRST)
40914 #define F_TXRST V_TXRST(1U)
40917 #define V_XGMII(x) ((x) << S_XGMII)
40918 #define F_XGMII V_XGMII(1U)
40920 #define S_LAPAUSE 2
40921 #define V_LAPAUSE(x) ((x) << S_LAPAUSE)
40922 #define F_LAPAUSE V_LAPAUSE(1U)
40924 #define S_STOPERR 1
40925 #define V_STOPERR(x) ((x) << S_STOPERR)
40926 #define F_STOPERR V_STOPERR(1U)
40929 #define V_LASTOP(x) ((x) << S_LASTOP)
40930 #define F_LASTOP V_LASTOP(1U)
40932 #define A_XGMAC_PORT_EPIO_DATA0 0x10c0
40933 #define A_XGMAC_PORT_EPIO_DATA1 0x10c4
40934 #define A_XGMAC_PORT_EPIO_DATA2 0x10c8
40935 #define A_XGMAC_PORT_EPIO_DATA3 0x10cc
40936 #define A_XGMAC_PORT_EPIO_OP 0x10d0
40939 #define V_EPIOWR(x) ((x) << S_EPIOWR)
40940 #define F_EPIOWR V_EPIOWR(1U)
40942 #define S_ADDRESS 0
40943 #define M_ADDRESS 0xffU
40944 #define V_ADDRESS(x) ((x) << S_ADDRESS)
40945 #define G_ADDRESS(x) (((x) >> S_ADDRESS) & M_ADDRESS)
40947 #define A_XGMAC_PORT_WOL_STATUS 0x10d4
40949 #define S_MAGICDETECTED 31
40950 #define V_MAGICDETECTED(x) ((x) << S_MAGICDETECTED)
40951 #define F_MAGICDETECTED V_MAGICDETECTED(1U)
40953 #define S_PATDETECTED 30
40954 #define V_PATDETECTED(x) ((x) << S_PATDETECTED)
40955 #define F_PATDETECTED V_PATDETECTED(1U)
40957 #define S_CLEARMAGIC 4
40958 #define V_CLEARMAGIC(x) ((x) << S_CLEARMAGIC)
40959 #define F_CLEARMAGIC V_CLEARMAGIC(1U)
40961 #define S_CLEARMATCH 3
40962 #define V_CLEARMATCH(x) ((x) << S_CLEARMATCH)
40963 #define F_CLEARMATCH V_CLEARMATCH(1U)
40965 #define S_MATCHEDFILTER 0
40966 #define M_MATCHEDFILTER 0x7U
40967 #define V_MATCHEDFILTER(x) ((x) << S_MATCHEDFILTER)
40968 #define G_MATCHEDFILTER(x) (((x) >> S_MATCHEDFILTER) & M_MATCHEDFILTER)
40970 #define A_XGMAC_PORT_INT_EN 0x10d8
40972 #define S_EXT_LOS 28
40973 #define V_EXT_LOS(x) ((x) << S_EXT_LOS)
40974 #define F_EXT_LOS V_EXT_LOS(1U)
40976 #define S_INCMPTBL_LINK 27
40977 #define V_INCMPTBL_LINK(x) ((x) << S_INCMPTBL_LINK)
40978 #define F_INCMPTBL_LINK V_INCMPTBL_LINK(1U)
40980 #define S_PATDETWAKE 26
40981 #define V_PATDETWAKE(x) ((x) << S_PATDETWAKE)
40982 #define F_PATDETWAKE V_PATDETWAKE(1U)
40984 #define S_MAGICWAKE 25
40985 #define V_MAGICWAKE(x) ((x) << S_MAGICWAKE)
40986 #define F_MAGICWAKE V_MAGICWAKE(1U)
40988 #define S_SIGDETCHG 24
40989 #define V_SIGDETCHG(x) ((x) << S_SIGDETCHG)
40990 #define F_SIGDETCHG V_SIGDETCHG(1U)
40992 #define S_PCSR_FEC_CORR 23
40993 #define V_PCSR_FEC_CORR(x) ((x) << S_PCSR_FEC_CORR)
40994 #define F_PCSR_FEC_CORR V_PCSR_FEC_CORR(1U)
40996 #define S_AE_TRAIN_LOCAL 22
40997 #define V_AE_TRAIN_LOCAL(x) ((x) << S_AE_TRAIN_LOCAL)
40998 #define F_AE_TRAIN_LOCAL V_AE_TRAIN_LOCAL(1U)
41000 #define S_HSSPLL_LOCK 21
41001 #define V_HSSPLL_LOCK(x) ((x) << S_HSSPLL_LOCK)
41002 #define F_HSSPLL_LOCK V_HSSPLL_LOCK(1U)
41004 #define S_HSSPRT_READY 20
41005 #define V_HSSPRT_READY(x) ((x) << S_HSSPRT_READY)
41006 #define F_HSSPRT_READY V_HSSPRT_READY(1U)
41008 #define S_AUTONEG_DONE 19
41009 #define V_AUTONEG_DONE(x) ((x) << S_AUTONEG_DONE)
41010 #define F_AUTONEG_DONE V_AUTONEG_DONE(1U)
41012 #define S_PCSR_HI_BER 18
41013 #define V_PCSR_HI_BER(x) ((x) << S_PCSR_HI_BER)
41014 #define F_PCSR_HI_BER V_PCSR_HI_BER(1U)
41016 #define S_PCSR_FEC_ERROR 17
41017 #define V_PCSR_FEC_ERROR(x) ((x) << S_PCSR_FEC_ERROR)
41018 #define F_PCSR_FEC_ERROR V_PCSR_FEC_ERROR(1U)
41020 #define S_PCSR_LINK_FAIL 16
41021 #define V_PCSR_LINK_FAIL(x) ((x) << S_PCSR_LINK_FAIL)
41022 #define F_PCSR_LINK_FAIL V_PCSR_LINK_FAIL(1U)
41024 #define S_XAUI_DEC_ERROR 15
41025 #define V_XAUI_DEC_ERROR(x) ((x) << S_XAUI_DEC_ERROR)
41026 #define F_XAUI_DEC_ERROR V_XAUI_DEC_ERROR(1U)
41028 #define S_XAUI_LINK_FAIL 14
41029 #define V_XAUI_LINK_FAIL(x) ((x) << S_XAUI_LINK_FAIL)
41030 #define F_XAUI_LINK_FAIL V_XAUI_LINK_FAIL(1U)
41032 #define S_PCS_CTC_ERROR 13
41033 #define V_PCS_CTC_ERROR(x) ((x) << S_PCS_CTC_ERROR)
41034 #define F_PCS_CTC_ERROR V_PCS_CTC_ERROR(1U)
41036 #define S_PCS_LINK_GOOD 12
41037 #define V_PCS_LINK_GOOD(x) ((x) << S_PCS_LINK_GOOD)
41038 #define F_PCS_LINK_GOOD V_PCS_LINK_GOOD(1U)
41040 #define S_PCS_LINK_FAIL 11
41041 #define V_PCS_LINK_FAIL(x) ((x) << S_PCS_LINK_FAIL)
41042 #define F_PCS_LINK_FAIL V_PCS_LINK_FAIL(1U)
41044 #define S_RXFIFOOVERFLOW 10
41045 #define V_RXFIFOOVERFLOW(x) ((x) << S_RXFIFOOVERFLOW)
41046 #define F_RXFIFOOVERFLOW V_RXFIFOOVERFLOW(1U)
41048 #define S_HSSPRBSERR 9
41049 #define V_HSSPRBSERR(x) ((x) << S_HSSPRBSERR)
41050 #define F_HSSPRBSERR V_HSSPRBSERR(1U)
41052 #define S_HSSEYEQUAL 8
41053 #define V_HSSEYEQUAL(x) ((x) << S_HSSEYEQUAL)
41054 #define F_HSSEYEQUAL V_HSSEYEQUAL(1U)
41056 #define S_REMOTEFAULT 7
41057 #define V_REMOTEFAULT(x) ((x) << S_REMOTEFAULT)
41058 #define F_REMOTEFAULT V_REMOTEFAULT(1U)
41060 #define S_LOCALFAULT 6
41061 #define V_LOCALFAULT(x) ((x) << S_LOCALFAULT)
41062 #define F_LOCALFAULT V_LOCALFAULT(1U)
41064 #define S_MAC_LINK_DOWN 5
41065 #define V_MAC_LINK_DOWN(x) ((x) << S_MAC_LINK_DOWN)
41066 #define F_MAC_LINK_DOWN V_MAC_LINK_DOWN(1U)
41068 #define S_MAC_LINK_UP 4
41069 #define V_MAC_LINK_UP(x) ((x) << S_MAC_LINK_UP)
41070 #define F_MAC_LINK_UP V_MAC_LINK_UP(1U)
41072 #define S_BEAN_INT 3
41073 #define V_BEAN_INT(x) ((x) << S_BEAN_INT)
41074 #define F_BEAN_INT V_BEAN_INT(1U)
41076 #define S_XGM_INT 2
41077 #define V_XGM_INT(x) ((x) << S_XGM_INT)
41078 #define F_XGM_INT V_XGM_INT(1U)
41080 #define A_XGMAC_PORT_INT_CAUSE 0x10dc
41081 #define A_XGMAC_PORT_HSS_CFG0 0x10e0
41084 #define V_TXDTS(x) ((x) << S_TXDTS)
41085 #define F_TXDTS V_TXDTS(1U)
41088 #define V_TXCTS(x) ((x) << S_TXCTS)
41089 #define F_TXCTS V_TXCTS(1U)
41092 #define V_TXBTS(x) ((x) << S_TXBTS)
41093 #define F_TXBTS V_TXBTS(1U)
41096 #define V_TXATS(x) ((x) << S_TXATS)
41097 #define F_TXATS V_TXATS(1U)
41099 #define S_TXDOBS 27
41100 #define V_TXDOBS(x) ((x) << S_TXDOBS)
41101 #define F_TXDOBS V_TXDOBS(1U)
41103 #define S_TXCOBS 26
41104 #define V_TXCOBS(x) ((x) << S_TXCOBS)
41105 #define F_TXCOBS V_TXCOBS(1U)
41107 #define S_TXBOBS 25
41108 #define V_TXBOBS(x) ((x) << S_TXBOBS)
41109 #define F_TXBOBS V_TXBOBS(1U)
41111 #define S_TXAOBS 24
41112 #define V_TXAOBS(x) ((x) << S_TXAOBS)
41113 #define F_TXAOBS V_TXAOBS(1U)
41115 #define S_HSSREFCLKSEL 20
41116 #define V_HSSREFCLKSEL(x) ((x) << S_HSSREFCLKSEL)
41117 #define F_HSSREFCLKSEL V_HSSREFCLKSEL(1U)
41119 #define S_HSSAVDHI 17
41120 #define V_HSSAVDHI(x) ((x) << S_HSSAVDHI)
41121 #define F_HSSAVDHI V_HSSAVDHI(1U)
41123 #define S_HSSRXTS 16
41124 #define V_HSSRXTS(x) ((x) << S_HSSRXTS)
41125 #define F_HSSRXTS V_HSSRXTS(1U)
41127 #define S_HSSTXACMODE 15
41128 #define V_HSSTXACMODE(x) ((x) << S_HSSTXACMODE)
41129 #define F_HSSTXACMODE V_HSSTXACMODE(1U)
41131 #define S_HSSRXACMODE 14
41132 #define V_HSSRXACMODE(x) ((x) << S_HSSRXACMODE)
41133 #define F_HSSRXACMODE V_HSSRXACMODE(1U)
41135 #define S_HSSRESYNC 13
41136 #define V_HSSRESYNC(x) ((x) << S_HSSRESYNC)
41137 #define F_HSSRESYNC V_HSSRESYNC(1U)
41139 #define S_HSSRECCAL 12
41140 #define V_HSSRECCAL(x) ((x) << S_HSSRECCAL)
41141 #define F_HSSRECCAL V_HSSRECCAL(1U)
41143 #define S_HSSPDWNPLL 11
41144 #define V_HSSPDWNPLL(x) ((x) << S_HSSPDWNPLL)
41145 #define F_HSSPDWNPLL V_HSSPDWNPLL(1U)
41147 #define S_HSSDIVSEL 9
41148 #define M_HSSDIVSEL 0x3U
41149 #define V_HSSDIVSEL(x) ((x) << S_HSSDIVSEL)
41150 #define G_HSSDIVSEL(x) (((x) >> S_HSSDIVSEL) & M_HSSDIVSEL)
41152 #define S_HSSREFDIV 8
41153 #define V_HSSREFDIV(x) ((x) << S_HSSREFDIV)
41154 #define F_HSSREFDIV V_HSSREFDIV(1U)
41156 #define S_HSSPLLBYP 7
41157 #define V_HSSPLLBYP(x) ((x) << S_HSSPLLBYP)
41158 #define F_HSSPLLBYP V_HSSPLLBYP(1U)
41160 #define S_HSSLOFREQPLL 6
41161 #define V_HSSLOFREQPLL(x) ((x) << S_HSSLOFREQPLL)
41162 #define F_HSSLOFREQPLL V_HSSLOFREQPLL(1U)
41164 #define S_HSSLOFREQ2PLL 5
41165 #define V_HSSLOFREQ2PLL(x) ((x) << S_HSSLOFREQ2PLL)
41166 #define F_HSSLOFREQ2PLL V_HSSLOFREQ2PLL(1U)
41168 #define S_HSSEXTC16SEL 4
41169 #define V_HSSEXTC16SEL(x) ((x) << S_HSSEXTC16SEL)
41170 #define F_HSSEXTC16SEL V_HSSEXTC16SEL(1U)
41172 #define S_HSSRSTCONFIG 1
41173 #define M_HSSRSTCONFIG 0x7U
41174 #define V_HSSRSTCONFIG(x) ((x) << S_HSSRSTCONFIG)
41175 #define G_HSSRSTCONFIG(x) (((x) >> S_HSSRSTCONFIG) & M_HSSRSTCONFIG)
41177 #define S_HSSPRBSEN 0
41178 #define V_HSSPRBSEN(x) ((x) << S_HSSPRBSEN)
41179 #define F_HSSPRBSEN V_HSSPRBSEN(1U)
41181 #define A_XGMAC_PORT_HSS_CFG1 0x10e4
41183 #define S_RXDPRBSRST 28
41184 #define V_RXDPRBSRST(x) ((x) << S_RXDPRBSRST)
41185 #define F_RXDPRBSRST V_RXDPRBSRST(1U)
41187 #define S_RXDPRBSEN 27
41188 #define V_RXDPRBSEN(x) ((x) << S_RXDPRBSEN)
41189 #define F_RXDPRBSEN V_RXDPRBSEN(1U)
41191 #define S_RXDPRBSFRCERR 26
41192 #define V_RXDPRBSFRCERR(x) ((x) << S_RXDPRBSFRCERR)
41193 #define F_RXDPRBSFRCERR V_RXDPRBSFRCERR(1U)
41195 #define S_TXDPRBSRST 25
41196 #define V_TXDPRBSRST(x) ((x) << S_TXDPRBSRST)
41197 #define F_TXDPRBSRST V_TXDPRBSRST(1U)
41199 #define S_TXDPRBSEN 24
41200 #define V_TXDPRBSEN(x) ((x) << S_TXDPRBSEN)
41201 #define F_TXDPRBSEN V_TXDPRBSEN(1U)
41203 #define S_RXCPRBSRST 20
41204 #define V_RXCPRBSRST(x) ((x) << S_RXCPRBSRST)
41205 #define F_RXCPRBSRST V_RXCPRBSRST(1U)
41207 #define S_RXCPRBSEN 19
41208 #define V_RXCPRBSEN(x) ((x) << S_RXCPRBSEN)
41209 #define F_RXCPRBSEN V_RXCPRBSEN(1U)
41211 #define S_RXCPRBSFRCERR 18
41212 #define V_RXCPRBSFRCERR(x) ((x) << S_RXCPRBSFRCERR)
41213 #define F_RXCPRBSFRCERR V_RXCPRBSFRCERR(1U)
41215 #define S_TXCPRBSRST 17
41216 #define V_TXCPRBSRST(x) ((x) << S_TXCPRBSRST)
41217 #define F_TXCPRBSRST V_TXCPRBSRST(1U)
41219 #define S_TXCPRBSEN 16
41220 #define V_TXCPRBSEN(x) ((x) << S_TXCPRBSEN)
41221 #define F_TXCPRBSEN V_TXCPRBSEN(1U)
41223 #define S_RXBPRBSRST 12
41224 #define V_RXBPRBSRST(x) ((x) << S_RXBPRBSRST)
41225 #define F_RXBPRBSRST V_RXBPRBSRST(1U)
41227 #define S_RXBPRBSEN 11
41228 #define V_RXBPRBSEN(x) ((x) << S_RXBPRBSEN)
41229 #define F_RXBPRBSEN V_RXBPRBSEN(1U)
41231 #define S_RXBPRBSFRCERR 10
41232 #define V_RXBPRBSFRCERR(x) ((x) << S_RXBPRBSFRCERR)
41233 #define F_RXBPRBSFRCERR V_RXBPRBSFRCERR(1U)
41235 #define S_TXBPRBSRST 9
41236 #define V_TXBPRBSRST(x) ((x) << S_TXBPRBSRST)
41237 #define F_TXBPRBSRST V_TXBPRBSRST(1U)
41239 #define S_TXBPRBSEN 8
41240 #define V_TXBPRBSEN(x) ((x) << S_TXBPRBSEN)
41241 #define F_TXBPRBSEN V_TXBPRBSEN(1U)
41243 #define S_RXAPRBSRST 4
41244 #define V_RXAPRBSRST(x) ((x) << S_RXAPRBSRST)
41245 #define F_RXAPRBSRST V_RXAPRBSRST(1U)
41247 #define S_RXAPRBSEN 3
41248 #define V_RXAPRBSEN(x) ((x) << S_RXAPRBSEN)
41249 #define F_RXAPRBSEN V_RXAPRBSEN(1U)
41251 #define S_RXAPRBSFRCERR 2
41252 #define V_RXAPRBSFRCERR(x) ((x) << S_RXAPRBSFRCERR)
41253 #define F_RXAPRBSFRCERR V_RXAPRBSFRCERR(1U)
41255 #define S_TXAPRBSRST 1
41256 #define V_TXAPRBSRST(x) ((x) << S_TXAPRBSRST)
41257 #define F_TXAPRBSRST V_TXAPRBSRST(1U)
41259 #define S_TXAPRBSEN 0
41260 #define V_TXAPRBSEN(x) ((x) << S_TXAPRBSEN)
41261 #define F_TXAPRBSEN V_TXAPRBSEN(1U)
41263 #define A_XGMAC_PORT_HSS_CFG2 0x10e8
41265 #define S_RXDDATASYNC 23
41266 #define V_RXDDATASYNC(x) ((x) << S_RXDDATASYNC)
41267 #define F_RXDDATASYNC V_RXDDATASYNC(1U)
41269 #define S_RXCDATASYNC 22
41270 #define V_RXCDATASYNC(x) ((x) << S_RXCDATASYNC)
41271 #define F_RXCDATASYNC V_RXCDATASYNC(1U)
41273 #define S_RXBDATASYNC 21
41274 #define V_RXBDATASYNC(x) ((x) << S_RXBDATASYNC)
41275 #define F_RXBDATASYNC V_RXBDATASYNC(1U)
41277 #define S_RXADATASYNC 20
41278 #define V_RXADATASYNC(x) ((x) << S_RXADATASYNC)
41279 #define F_RXADATASYNC V_RXADATASYNC(1U)
41281 #define S_RXDEARLYIN 19
41282 #define V_RXDEARLYIN(x) ((x) << S_RXDEARLYIN)
41283 #define F_RXDEARLYIN V_RXDEARLYIN(1U)
41285 #define S_RXDLATEIN 18
41286 #define V_RXDLATEIN(x) ((x) << S_RXDLATEIN)
41287 #define F_RXDLATEIN V_RXDLATEIN(1U)
41289 #define S_RXDPHSLOCK 17
41290 #define V_RXDPHSLOCK(x) ((x) << S_RXDPHSLOCK)
41291 #define F_RXDPHSLOCK V_RXDPHSLOCK(1U)
41293 #define S_RXDPHSDNIN 16
41294 #define V_RXDPHSDNIN(x) ((x) << S_RXDPHSDNIN)
41295 #define F_RXDPHSDNIN V_RXDPHSDNIN(1U)
41297 #define S_RXDPHSUPIN 15
41298 #define V_RXDPHSUPIN(x) ((x) << S_RXDPHSUPIN)
41299 #define F_RXDPHSUPIN V_RXDPHSUPIN(1U)
41301 #define S_RXCEARLYIN 14
41302 #define V_RXCEARLYIN(x) ((x) << S_RXCEARLYIN)
41303 #define F_RXCEARLYIN V_RXCEARLYIN(1U)
41305 #define S_RXCLATEIN 13
41306 #define V_RXCLATEIN(x) ((x) << S_RXCLATEIN)
41307 #define F_RXCLATEIN V_RXCLATEIN(1U)
41309 #define S_RXCPHSLOCK 12
41310 #define V_RXCPHSLOCK(x) ((x) << S_RXCPHSLOCK)
41311 #define F_RXCPHSLOCK V_RXCPHSLOCK(1U)
41313 #define S_RXCPHSDNIN 11
41314 #define V_RXCPHSDNIN(x) ((x) << S_RXCPHSDNIN)
41315 #define F_RXCPHSDNIN V_RXCPHSDNIN(1U)
41317 #define S_RXCPHSUPIN 10
41318 #define V_RXCPHSUPIN(x) ((x) << S_RXCPHSUPIN)
41319 #define F_RXCPHSUPIN V_RXCPHSUPIN(1U)
41321 #define S_RXBEARLYIN 9
41322 #define V_RXBEARLYIN(x) ((x) << S_RXBEARLYIN)
41323 #define F_RXBEARLYIN V_RXBEARLYIN(1U)
41325 #define S_RXBLATEIN 8
41326 #define V_RXBLATEIN(x) ((x) << S_RXBLATEIN)
41327 #define F_RXBLATEIN V_RXBLATEIN(1U)
41329 #define S_RXBPHSLOCK 7
41330 #define V_RXBPHSLOCK(x) ((x) << S_RXBPHSLOCK)
41331 #define F_RXBPHSLOCK V_RXBPHSLOCK(1U)
41333 #define S_RXBPHSDNIN 6
41334 #define V_RXBPHSDNIN(x) ((x) << S_RXBPHSDNIN)
41335 #define F_RXBPHSDNIN V_RXBPHSDNIN(1U)
41337 #define S_RXBPHSUPIN 5
41338 #define V_RXBPHSUPIN(x) ((x) << S_RXBPHSUPIN)
41339 #define F_RXBPHSUPIN V_RXBPHSUPIN(1U)
41341 #define S_RXAEARLYIN 4
41342 #define V_RXAEARLYIN(x) ((x) << S_RXAEARLYIN)
41343 #define F_RXAEARLYIN V_RXAEARLYIN(1U)
41345 #define S_RXALATEIN 3
41346 #define V_RXALATEIN(x) ((x) << S_RXALATEIN)
41347 #define F_RXALATEIN V_RXALATEIN(1U)
41349 #define S_RXAPHSLOCK 2
41350 #define V_RXAPHSLOCK(x) ((x) << S_RXAPHSLOCK)
41351 #define F_RXAPHSLOCK V_RXAPHSLOCK(1U)
41353 #define S_RXAPHSDNIN 1
41354 #define V_RXAPHSDNIN(x) ((x) << S_RXAPHSDNIN)
41355 #define F_RXAPHSDNIN V_RXAPHSDNIN(1U)
41357 #define S_RXAPHSUPIN 0
41358 #define V_RXAPHSUPIN(x) ((x) << S_RXAPHSUPIN)
41359 #define F_RXAPHSUPIN V_RXAPHSUPIN(1U)
41361 #define A_XGMAC_PORT_HSS_STATUS 0x10ec
41363 #define S_RXDPRBSSYNC 15
41364 #define V_RXDPRBSSYNC(x) ((x) << S_RXDPRBSSYNC)
41365 #define F_RXDPRBSSYNC V_RXDPRBSSYNC(1U)
41367 #define S_RXCPRBSSYNC 14
41368 #define V_RXCPRBSSYNC(x) ((x) << S_RXCPRBSSYNC)
41369 #define F_RXCPRBSSYNC V_RXCPRBSSYNC(1U)
41371 #define S_RXBPRBSSYNC 13
41372 #define V_RXBPRBSSYNC(x) ((x) << S_RXBPRBSSYNC)
41373 #define F_RXBPRBSSYNC V_RXBPRBSSYNC(1U)
41375 #define S_RXAPRBSSYNC 12
41376 #define V_RXAPRBSSYNC(x) ((x) << S_RXAPRBSSYNC)
41377 #define F_RXAPRBSSYNC V_RXAPRBSSYNC(1U)
41379 #define S_RXDPRBSERR 11
41380 #define V_RXDPRBSERR(x) ((x) << S_RXDPRBSERR)
41381 #define F_RXDPRBSERR V_RXDPRBSERR(1U)
41383 #define S_RXCPRBSERR 10
41384 #define V_RXCPRBSERR(x) ((x) << S_RXCPRBSERR)
41385 #define F_RXCPRBSERR V_RXCPRBSERR(1U)
41387 #define S_RXBPRBSERR 9
41388 #define V_RXBPRBSERR(x) ((x) << S_RXBPRBSERR)
41389 #define F_RXBPRBSERR V_RXBPRBSERR(1U)
41391 #define S_RXAPRBSERR 8
41392 #define V_RXAPRBSERR(x) ((x) << S_RXAPRBSERR)
41393 #define F_RXAPRBSERR V_RXAPRBSERR(1U)
41395 #define S_RXDSIGDET 7
41396 #define V_RXDSIGDET(x) ((x) << S_RXDSIGDET)
41397 #define F_RXDSIGDET V_RXDSIGDET(1U)
41399 #define S_RXCSIGDET 6
41400 #define V_RXCSIGDET(x) ((x) << S_RXCSIGDET)
41401 #define F_RXCSIGDET V_RXCSIGDET(1U)
41403 #define S_RXBSIGDET 5
41404 #define V_RXBSIGDET(x) ((x) << S_RXBSIGDET)
41405 #define F_RXBSIGDET V_RXBSIGDET(1U)
41407 #define S_RXASIGDET 4
41408 #define V_RXASIGDET(x) ((x) << S_RXASIGDET)
41409 #define F_RXASIGDET V_RXASIGDET(1U)
41411 #define S_HSSPLLLOCK 1
41412 #define V_HSSPLLLOCK(x) ((x) << S_HSSPLLLOCK)
41413 #define F_HSSPLLLOCK V_HSSPLLLOCK(1U)
41415 #define S_HSSPRTREADY 0
41416 #define V_HSSPRTREADY(x) ((x) << S_HSSPRTREADY)
41417 #define F_HSSPRTREADY V_HSSPRTREADY(1U)
41419 #define A_XGMAC_PORT_XGM_TX_CTRL 0x1200
41421 #define S_SENDPAUSE 2
41422 #define V_SENDPAUSE(x) ((x) << S_SENDPAUSE)
41423 #define F_SENDPAUSE V_SENDPAUSE(1U)
41425 #define S_SENDZEROPAUSE 1
41426 #define V_SENDZEROPAUSE(x) ((x) << S_SENDZEROPAUSE)
41427 #define F_SENDZEROPAUSE V_SENDZEROPAUSE(1U)
41429 #define S_XGM_TXEN 0
41430 #define V_XGM_TXEN(x) ((x) << S_XGM_TXEN)
41431 #define F_XGM_TXEN V_XGM_TXEN(1U)
41433 #define A_XGMAC_PORT_XGM_TX_CFG 0x1204
41436 #define M_CRCCAL 0x3U
41437 #define V_CRCCAL(x) ((x) << S_CRCCAL)
41438 #define G_CRCCAL(x) (((x) >> S_CRCCAL) & M_CRCCAL)
41440 #define S_DISDEFIDLECNT 7
41441 #define V_DISDEFIDLECNT(x) ((x) << S_DISDEFIDLECNT)
41442 #define F_DISDEFIDLECNT V_DISDEFIDLECNT(1U)
41444 #define S_DECAVGTXIPG 6
41445 #define V_DECAVGTXIPG(x) ((x) << S_DECAVGTXIPG)
41446 #define F_DECAVGTXIPG V_DECAVGTXIPG(1U)
41448 #define S_UNIDIRTXEN 5
41449 #define V_UNIDIRTXEN(x) ((x) << S_UNIDIRTXEN)
41450 #define F_UNIDIRTXEN V_UNIDIRTXEN(1U)
41452 #define S_CFGCLKSPEED 2
41453 #define M_CFGCLKSPEED 0x7U
41454 #define V_CFGCLKSPEED(x) ((x) << S_CFGCLKSPEED)
41455 #define G_CFGCLKSPEED(x) (((x) >> S_CFGCLKSPEED) & M_CFGCLKSPEED)
41457 #define S_STRETCHMODE 1
41458 #define V_STRETCHMODE(x) ((x) << S_STRETCHMODE)
41459 #define F_STRETCHMODE V_STRETCHMODE(1U)
41461 #define S_TXPAUSEEN 0
41462 #define V_TXPAUSEEN(x) ((x) << S_TXPAUSEEN)
41463 #define F_TXPAUSEEN V_TXPAUSEEN(1U)
41465 #define A_XGMAC_PORT_XGM_TX_PAUSE_QUANTA 0x1208
41467 #define S_TXPAUSEQUANTA 0
41468 #define M_TXPAUSEQUANTA 0xffffU
41469 #define V_TXPAUSEQUANTA(x) ((x) << S_TXPAUSEQUANTA)
41470 #define G_TXPAUSEQUANTA(x) (((x) >> S_TXPAUSEQUANTA) & M_TXPAUSEQUANTA)
41472 #define A_XGMAC_PORT_XGM_RX_CTRL 0x120c
41473 #define A_XGMAC_PORT_XGM_RX_CFG 0x1210
41475 #define S_RXCRCCAL 16
41476 #define M_RXCRCCAL 0x3U
41477 #define V_RXCRCCAL(x) ((x) << S_RXCRCCAL)
41478 #define G_RXCRCCAL(x) (((x) >> S_RXCRCCAL) & M_RXCRCCAL)
41480 #define S_STATLOCALFAULT 15
41481 #define V_STATLOCALFAULT(x) ((x) << S_STATLOCALFAULT)
41482 #define F_STATLOCALFAULT V_STATLOCALFAULT(1U)
41484 #define S_STATREMOTEFAULT 14
41485 #define V_STATREMOTEFAULT(x) ((x) << S_STATREMOTEFAULT)
41486 #define F_STATREMOTEFAULT V_STATREMOTEFAULT(1U)
41488 #define S_LENERRFRAMEDIS 13
41489 #define V_LENERRFRAMEDIS(x) ((x) << S_LENERRFRAMEDIS)
41490 #define F_LENERRFRAMEDIS V_LENERRFRAMEDIS(1U)
41492 #define S_CON802_3PREAMBLE 12
41493 #define V_CON802_3PREAMBLE(x) ((x) << S_CON802_3PREAMBLE)
41494 #define F_CON802_3PREAMBLE V_CON802_3PREAMBLE(1U)
41496 #define S_ENNON802_3PREAMBLE 11
41497 #define V_ENNON802_3PREAMBLE(x) ((x) << S_ENNON802_3PREAMBLE)
41498 #define F_ENNON802_3PREAMBLE V_ENNON802_3PREAMBLE(1U)
41500 #define S_COPYPREAMBLE 10
41501 #define V_COPYPREAMBLE(x) ((x) << S_COPYPREAMBLE)
41502 #define F_COPYPREAMBLE V_COPYPREAMBLE(1U)
41504 #define S_DISPAUSEFRAMES 9
41505 #define V_DISPAUSEFRAMES(x) ((x) << S_DISPAUSEFRAMES)
41506 #define F_DISPAUSEFRAMES V_DISPAUSEFRAMES(1U)
41508 #define S_EN1536BFRAMES 8
41509 #define V_EN1536BFRAMES(x) ((x) << S_EN1536BFRAMES)
41510 #define F_EN1536BFRAMES V_EN1536BFRAMES(1U)
41512 #define S_ENJUMBO 7
41513 #define V_ENJUMBO(x) ((x) << S_ENJUMBO)
41514 #define F_ENJUMBO V_ENJUMBO(1U)
41517 #define V_RMFCS(x) ((x) << S_RMFCS)
41518 #define F_RMFCS V_RMFCS(1U)
41520 #define S_DISNONVLAN 5
41521 #define V_DISNONVLAN(x) ((x) << S_DISNONVLAN)
41522 #define F_DISNONVLAN V_DISNONVLAN(1U)
41524 #define S_ENEXTMATCH 4
41525 #define V_ENEXTMATCH(x) ((x) << S_ENEXTMATCH)
41526 #define F_ENEXTMATCH V_ENEXTMATCH(1U)
41528 #define S_ENHASHUCAST 3
41529 #define V_ENHASHUCAST(x) ((x) << S_ENHASHUCAST)
41530 #define F_ENHASHUCAST V_ENHASHUCAST(1U)
41532 #define S_ENHASHMCAST 2
41533 #define V_ENHASHMCAST(x) ((x) << S_ENHASHMCAST)
41534 #define F_ENHASHMCAST V_ENHASHMCAST(1U)
41536 #define S_DISBCAST 1
41537 #define V_DISBCAST(x) ((x) << S_DISBCAST)
41538 #define F_DISBCAST V_DISBCAST(1U)
41540 #define S_COPYALLFRAMES 0
41541 #define V_COPYALLFRAMES(x) ((x) << S_COPYALLFRAMES)
41542 #define F_COPYALLFRAMES V_COPYALLFRAMES(1U)
41544 #define A_XGMAC_PORT_XGM_RX_HASH_LOW 0x1214
41545 #define A_XGMAC_PORT_XGM_RX_HASH_HIGH 0x1218
41546 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_LOW_1 0x121c
41547 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_HIGH_1 0x1220
41549 #define S_ADDRESS_HIGH 0
41550 #define M_ADDRESS_HIGH 0xffffU
41551 #define V_ADDRESS_HIGH(x) ((x) << S_ADDRESS_HIGH)
41552 #define G_ADDRESS_HIGH(x) (((x) >> S_ADDRESS_HIGH) & M_ADDRESS_HIGH)
41554 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_LOW_2 0x1224
41555 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_HIGH_2 0x1228
41556 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_LOW_3 0x122c
41557 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_HIGH_3 0x1230
41558 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_LOW_4 0x1234
41559 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_HIGH_4 0x1238
41560 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_LOW_5 0x123c
41561 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_HIGH_5 0x1240
41562 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_LOW_6 0x1244
41563 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_HIGH_6 0x1248
41564 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_LOW_7 0x124c
41565 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_HIGH_7 0x1250
41566 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_LOW_8 0x1254
41567 #define A_XGMAC_PORT_XGM_RX_EXACT_MATCH_HIGH_8 0x1258
41568 #define A_XGMAC_PORT_XGM_RX_TYPE_MATCH_1 0x125c
41570 #define S_ENTYPEMATCH 31
41571 #define V_ENTYPEMATCH(x) ((x) << S_ENTYPEMATCH)
41572 #define F_ENTYPEMATCH V_ENTYPEMATCH(1U)
41575 #define M_TYPE 0xffffU
41576 #define V_TYPE(x) ((x) << S_TYPE)
41577 #define G_TYPE(x) (((x) >> S_TYPE) & M_TYPE)
41579 #define A_XGMAC_PORT_XGM_RX_TYPE_MATCH_2 0x1260
41580 #define A_XGMAC_PORT_XGM_RX_TYPE_MATCH_3 0x1264
41581 #define A_XGMAC_PORT_XGM_RX_TYPE_MATCH_4 0x1268
41582 #define A_XGMAC_PORT_XGM_INT_STATUS 0x126c
41584 #define S_XGMIIEXTINT 10
41585 #define V_XGMIIEXTINT(x) ((x) << S_XGMIIEXTINT)
41586 #define F_XGMIIEXTINT V_XGMIIEXTINT(1U)
41588 #define S_LINKFAULTCHANGE 9
41589 #define V_LINKFAULTCHANGE(x) ((x) << S_LINKFAULTCHANGE)
41590 #define F_LINKFAULTCHANGE V_LINKFAULTCHANGE(1U)
41592 #define S_PHYFRAMECOMPLETE 8
41593 #define V_PHYFRAMECOMPLETE(x) ((x) << S_PHYFRAMECOMPLETE)
41594 #define F_PHYFRAMECOMPLETE V_PHYFRAMECOMPLETE(1U)
41596 #define S_PAUSEFRAMETXMT 7
41597 #define V_PAUSEFRAMETXMT(x) ((x) << S_PAUSEFRAMETXMT)
41598 #define F_PAUSEFRAMETXMT V_PAUSEFRAMETXMT(1U)
41600 #define S_PAUSECNTRTIMEOUT 6
41601 #define V_PAUSECNTRTIMEOUT(x) ((x) << S_PAUSECNTRTIMEOUT)
41602 #define F_PAUSECNTRTIMEOUT V_PAUSECNTRTIMEOUT(1U)
41604 #define S_NON0PAUSERCVD 5
41605 #define V_NON0PAUSERCVD(x) ((x) << S_NON0PAUSERCVD)
41606 #define F_NON0PAUSERCVD V_NON0PAUSERCVD(1U)
41608 #define S_STATOFLOW 4
41609 #define V_STATOFLOW(x) ((x) << S_STATOFLOW)
41610 #define F_STATOFLOW V_STATOFLOW(1U)
41612 #define S_TXERRFIFO 3
41613 #define V_TXERRFIFO(x) ((x) << S_TXERRFIFO)
41614 #define F_TXERRFIFO V_TXERRFIFO(1U)
41616 #define S_TXUFLOW 2
41617 #define V_TXUFLOW(x) ((x) << S_TXUFLOW)
41618 #define F_TXUFLOW V_TXUFLOW(1U)
41620 #define S_FRAMETXMT 1
41621 #define V_FRAMETXMT(x) ((x) << S_FRAMETXMT)
41622 #define F_FRAMETXMT V_FRAMETXMT(1U)
41624 #define S_FRAMERCVD 0
41625 #define V_FRAMERCVD(x) ((x) << S_FRAMERCVD)
41626 #define F_FRAMERCVD V_FRAMERCVD(1U)
41628 #define A_XGMAC_PORT_XGM_INT_MASK 0x1270
41629 #define A_XGMAC_PORT_XGM_INT_EN 0x1274
41630 #define A_XGMAC_PORT_XGM_INT_DISABLE 0x1278
41631 #define A_XGMAC_PORT_XGM_TX_PAUSE_TIMER 0x127c
41633 #define S_CURPAUSETIMER 0
41634 #define M_CURPAUSETIMER 0xffffU
41635 #define V_CURPAUSETIMER(x) ((x) << S_CURPAUSETIMER)
41636 #define G_CURPAUSETIMER(x) (((x) >> S_CURPAUSETIMER) & M_CURPAUSETIMER)
41638 #define A_XGMAC_PORT_XGM_STAT_CTRL 0x1280
41640 #define S_READSNPSHOT 4
41641 #define V_READSNPSHOT(x) ((x) << S_READSNPSHOT)
41642 #define F_READSNPSHOT V_READSNPSHOT(1U)
41644 #define S_TAKESNPSHOT 3
41645 #define V_TAKESNPSHOT(x) ((x) << S_TAKESNPSHOT)
41646 #define F_TAKESNPSHOT V_TAKESNPSHOT(1U)
41648 #define S_CLRSTATS 2
41649 #define V_CLRSTATS(x) ((x) << S_CLRSTATS)
41650 #define F_CLRSTATS V_CLRSTATS(1U)
41652 #define S_INCRSTATS 1
41653 #define V_INCRSTATS(x) ((x) << S_INCRSTATS)
41654 #define F_INCRSTATS V_INCRSTATS(1U)
41656 #define S_ENTESTMODEWR 0
41657 #define V_ENTESTMODEWR(x) ((x) << S_ENTESTMODEWR)
41658 #define F_ENTESTMODEWR V_ENTESTMODEWR(1U)
41660 #define A_XGMAC_PORT_XGM_MDIO_CTRL 0x1284
41662 #define S_FRAMETYPE 30
41663 #define M_FRAMETYPE 0x3U
41664 #define V_FRAMETYPE(x) ((x) << S_FRAMETYPE)
41665 #define G_FRAMETYPE(x) (((x) >> S_FRAMETYPE) & M_FRAMETYPE)
41667 #define S_OPERATION 28
41668 #define M_OPERATION 0x3U
41669 #define V_OPERATION(x) ((x) << S_OPERATION)
41670 #define G_OPERATION(x) (((x) >> S_OPERATION) & M_OPERATION)
41672 #define S_PORTADDR 23
41673 #define M_PORTADDR 0x1fU
41674 #define V_PORTADDR(x) ((x) << S_PORTADDR)
41675 #define G_PORTADDR(x) (((x) >> S_PORTADDR) & M_PORTADDR)
41677 #define S_DEVADDR 18
41678 #define M_DEVADDR 0x1fU
41679 #define V_DEVADDR(x) ((x) << S_DEVADDR)
41680 #define G_DEVADDR(x) (((x) >> S_DEVADDR) & M_DEVADDR)
41683 #define M_RESRV 0x3U
41684 #define V_RESRV(x) ((x) << S_RESRV)
41685 #define G_RESRV(x) (((x) >> S_RESRV) & M_RESRV)
41688 #define M_DATA 0xffffU
41689 #define V_DATA(x) ((x) << S_DATA)
41690 #define G_DATA(x) (((x) >> S_DATA) & M_DATA)
41692 #define A_XGMAC_PORT_XGM_MODULE_ID 0x12fc
41694 #define S_MODULEID 16
41695 #define M_MODULEID 0xffffU
41696 #define V_MODULEID(x) ((x) << S_MODULEID)
41697 #define G_MODULEID(x) (((x) >> S_MODULEID) & M_MODULEID)
41699 #define S_MODULEREV 0
41700 #define M_MODULEREV 0xffffU
41701 #define V_MODULEREV(x) ((x) << S_MODULEREV)
41702 #define G_MODULEREV(x) (((x) >> S_MODULEREV) & M_MODULEREV)
41704 #define A_XGMAC_PORT_XGM_STAT_TX_BYTE_LOW 0x1300
41705 #define A_XGMAC_PORT_XGM_STAT_TX_BYTE_HIGH 0x1304
41707 #define S_TXBYTES_HIGH 0
41708 #define M_TXBYTES_HIGH 0x1fffU
41709 #define V_TXBYTES_HIGH(x) ((x) << S_TXBYTES_HIGH)
41710 #define G_TXBYTES_HIGH(x) (((x) >> S_TXBYTES_HIGH) & M_TXBYTES_HIGH)
41712 #define A_XGMAC_PORT_XGM_STAT_TX_FRAME_LOW 0x1308
41713 #define A_XGMAC_PORT_XGM_STAT_TX_FRAME_HIGH 0x130c
41715 #define S_TXFRAMES_HIGH 0
41716 #define M_TXFRAMES_HIGH 0xfU
41717 #define V_TXFRAMES_HIGH(x) ((x) << S_TXFRAMES_HIGH)
41718 #define G_TXFRAMES_HIGH(x) (((x) >> S_TXFRAMES_HIGH) & M_TXFRAMES_HIGH)
41720 #define A_XGMAC_PORT_XGM_STAT_TX_BCAST 0x1310
41721 #define A_XGMAC_PORT_XGM_STAT_TX_MCAST 0x1314
41722 #define A_XGMAC_PORT_XGM_STAT_TX_PAUSE 0x1318
41723 #define A_XGMAC_PORT_XGM_STAT_TX_64B_FRAMES 0x131c
41724 #define A_XGMAC_PORT_XGM_STAT_TX_65_127B_FRAMES 0x1320
41725 #define A_XGMAC_PORT_XGM_STAT_TX_128_255B_FRAMES 0x1324
41726 #define A_XGMAC_PORT_XGM_STAT_TX_256_511B_FRAMES 0x1328
41727 #define A_XGMAC_PORT_XGM_STAT_TX_512_1023B_FRAMES 0x132c
41728 #define A_XGMAC_PORT_XGM_STAT_TX_1024_1518B_FRAMES 0x1330
41729 #define A_XGMAC_PORT_XGM_STAT_TX_1519_MAXB_FRAMES 0x1334
41730 #define A_XGMAC_PORT_XGM_STAT_TX_ERR_FRAMES 0x1338
41731 #define A_XGMAC_PORT_XGM_STAT_RX_BYTES_LOW 0x133c
41732 #define A_XGMAC_PORT_XGM_STAT_RX_BYTES_HIGH 0x1340
41734 #define S_RXBYTES_HIGH 0
41735 #define M_RXBYTES_HIGH 0x1fffU
41736 #define V_RXBYTES_HIGH(x) ((x) << S_RXBYTES_HIGH)
41737 #define G_RXBYTES_HIGH(x) (((x) >> S_RXBYTES_HIGH) & M_RXBYTES_HIGH)
41739 #define A_XGMAC_PORT_XGM_STAT_RX_FRAMES_LOW 0x1344
41740 #define A_XGMAC_PORT_XGM_STAT_RX_FRAMES_HIGH 0x1348
41742 #define S_RXFRAMES_HIGH 0
41743 #define M_RXFRAMES_HIGH 0xfU
41744 #define V_RXFRAMES_HIGH(x) ((x) << S_RXFRAMES_HIGH)
41745 #define G_RXFRAMES_HIGH(x) (((x) >> S_RXFRAMES_HIGH) & M_RXFRAMES_HIGH)
41747 #define A_XGMAC_PORT_XGM_STAT_RX_BCAST_FRAMES 0x134c
41748 #define A_XGMAC_PORT_XGM_STAT_RX_MCAST_FRAMES 0x1350
41749 #define A_XGMAC_PORT_XGM_STAT_RX_PAUSE_FRAMES 0x1354
41751 #define S_RXPAUSEFRAMES 0
41752 #define M_RXPAUSEFRAMES 0xffffU
41753 #define V_RXPAUSEFRAMES(x) ((x) << S_RXPAUSEFRAMES)
41754 #define G_RXPAUSEFRAMES(x) (((x) >> S_RXPAUSEFRAMES) & M_RXPAUSEFRAMES)
41756 #define A_XGMAC_PORT_XGM_STAT_RX_64B_FRAMES 0x1358
41757 #define A_XGMAC_PORT_XGM_STAT_RX_65_127B_FRAMES 0x135c
41758 #define A_XGMAC_PORT_XGM_STAT_RX_128_255B_FRAMES 0x1360
41759 #define A_XGMAC_PORT_XGM_STAT_RX_256_511B_FRAMES 0x1364
41760 #define A_XGMAC_PORT_XGM_STAT_RX_512_1023B_FRAMES 0x1368
41761 #define A_XGMAC_PORT_XGM_STAT_RX_1024_1518B_FRAMES 0x136c
41762 #define A_XGMAC_PORT_XGM_STAT_RX_1519_MAXB_FRAMES 0x1370
41763 #define A_XGMAC_PORT_XGM_STAT_RX_SHORT_FRAMES 0x1374
41765 #define S_RXSHORTFRAMES 0
41766 #define M_RXSHORTFRAMES 0xffffU
41767 #define V_RXSHORTFRAMES(x) ((x) << S_RXSHORTFRAMES)
41768 #define G_RXSHORTFRAMES(x) (((x) >> S_RXSHORTFRAMES) & M_RXSHORTFRAMES)
41770 #define A_XGMAC_PORT_XGM_STAT_RX_OVERSIZE_FRAMES 0x1378
41772 #define S_RXOVERSIZEFRAMES 0
41773 #define M_RXOVERSIZEFRAMES 0xffffU
41774 #define V_RXOVERSIZEFRAMES(x) ((x) << S_RXOVERSIZEFRAMES)
41775 #define G_RXOVERSIZEFRAMES(x) (((x) >> S_RXOVERSIZEFRAMES) & M_RXOVERSIZEFRAMES)
41777 #define A_XGMAC_PORT_XGM_STAT_RX_JABBER_FRAMES 0x137c
41779 #define S_RXJABBERFRAMES 0
41780 #define M_RXJABBERFRAMES 0xffffU
41781 #define V_RXJABBERFRAMES(x) ((x) << S_RXJABBERFRAMES)
41782 #define G_RXJABBERFRAMES(x) (((x) >> S_RXJABBERFRAMES) & M_RXJABBERFRAMES)
41784 #define A_XGMAC_PORT_XGM_STAT_RX_CRC_ERR_FRAMES 0x1380
41786 #define S_RXCRCERRFRAMES 0
41787 #define M_RXCRCERRFRAMES 0xffffU
41788 #define V_RXCRCERRFRAMES(x) ((x) << S_RXCRCERRFRAMES)
41789 #define G_RXCRCERRFRAMES(x) (((x) >> S_RXCRCERRFRAMES) & M_RXCRCERRFRAMES)
41791 #define A_XGMAC_PORT_XGM_STAT_RX_LENGTH_ERR_FRAMES 0x1384
41793 #define S_RXLENGTHERRFRAMES 0
41794 #define M_RXLENGTHERRFRAMES 0xffffU
41795 #define V_RXLENGTHERRFRAMES(x) ((x) << S_RXLENGTHERRFRAMES)
41796 #define G_RXLENGTHERRFRAMES(x) (((x) >> S_RXLENGTHERRFRAMES) & M_RXLENGTHERRFRAMES)
41798 #define A_XGMAC_PORT_XGM_STAT_RX_SYM_CODE_ERR_FRAMES 0x1388
41800 #define S_RXSYMCODEERRFRAMES 0
41801 #define M_RXSYMCODEERRFRAMES 0xffffU
41802 #define V_RXSYMCODEERRFRAMES(x) ((x) << S_RXSYMCODEERRFRAMES)
41803 #define G_RXSYMCODEERRFRAMES(x) (((x) >> S_RXSYMCODEERRFRAMES) & M_RXSYMCODEERRFRAMES)
41805 #define A_XGMAC_PORT_XAUI_CTRL 0x1400
41807 #define S_POLARITY_INV_RX 8
41808 #define M_POLARITY_INV_RX 0xfU
41809 #define V_POLARITY_INV_RX(x) ((x) << S_POLARITY_INV_RX)
41810 #define G_POLARITY_INV_RX(x) (((x) >> S_POLARITY_INV_RX) & M_POLARITY_INV_RX)
41812 #define S_POLARITY_INV_TX 4
41813 #define M_POLARITY_INV_TX 0xfU
41814 #define V_POLARITY_INV_TX(x) ((x) << S_POLARITY_INV_TX)
41815 #define G_POLARITY_INV_TX(x) (((x) >> S_POLARITY_INV_TX) & M_POLARITY_INV_TX)
41817 #define S_TEST_SEL 2
41818 #define M_TEST_SEL 0x3U
41819 #define V_TEST_SEL(x) ((x) << S_TEST_SEL)
41820 #define G_TEST_SEL(x) (((x) >> S_TEST_SEL) & M_TEST_SEL)
41822 #define S_TEST_EN 0
41823 #define V_TEST_EN(x) ((x) << S_TEST_EN)
41824 #define F_TEST_EN V_TEST_EN(1U)
41826 #define A_XGMAC_PORT_XAUI_STATUS 0x1404
41828 #define S_DECODE_ERROR 12
41829 #define M_DECODE_ERROR 0xffU
41830 #define V_DECODE_ERROR(x) ((x) << S_DECODE_ERROR)
41831 #define G_DECODE_ERROR(x) (((x) >> S_DECODE_ERROR) & M_DECODE_ERROR)
41833 #define S_LANE3_CTC_STATUS 11
41834 #define V_LANE3_CTC_STATUS(x) ((x) << S_LANE3_CTC_STATUS)
41835 #define F_LANE3_CTC_STATUS V_LANE3_CTC_STATUS(1U)
41837 #define S_LANE2_CTC_STATUS 10
41838 #define V_LANE2_CTC_STATUS(x) ((x) << S_LANE2_CTC_STATUS)
41839 #define F_LANE2_CTC_STATUS V_LANE2_CTC_STATUS(1U)
41841 #define S_LANE1_CTC_STATUS 9
41842 #define V_LANE1_CTC_STATUS(x) ((x) << S_LANE1_CTC_STATUS)
41843 #define F_LANE1_CTC_STATUS V_LANE1_CTC_STATUS(1U)
41845 #define S_LANE0_CTC_STATUS 8
41846 #define V_LANE0_CTC_STATUS(x) ((x) << S_LANE0_CTC_STATUS)
41847 #define F_LANE0_CTC_STATUS V_LANE0_CTC_STATUS(1U)
41849 #define S_ALIGN_STATUS 4
41850 #define V_ALIGN_STATUS(x) ((x) << S_ALIGN_STATUS)
41851 #define F_ALIGN_STATUS V_ALIGN_STATUS(1U)
41853 #define S_LANE3_SYNC_STATUS 3
41854 #define V_LANE3_SYNC_STATUS(x) ((x) << S_LANE3_SYNC_STATUS)
41855 #define F_LANE3_SYNC_STATUS V_LANE3_SYNC_STATUS(1U)
41857 #define S_LANE2_SYNC_STATUS 2
41858 #define V_LANE2_SYNC_STATUS(x) ((x) << S_LANE2_SYNC_STATUS)
41859 #define F_LANE2_SYNC_STATUS V_LANE2_SYNC_STATUS(1U)
41861 #define S_LANE1_SYNC_STATUS 1
41862 #define V_LANE1_SYNC_STATUS(x) ((x) << S_LANE1_SYNC_STATUS)
41863 #define F_LANE1_SYNC_STATUS V_LANE1_SYNC_STATUS(1U)
41865 #define S_LANE0_SYNC_STATUS 0
41866 #define V_LANE0_SYNC_STATUS(x) ((x) << S_LANE0_SYNC_STATUS)
41867 #define F_LANE0_SYNC_STATUS V_LANE0_SYNC_STATUS(1U)
41869 #define A_XGMAC_PORT_PCSR_CTRL 0x1500
41871 #define S_RX_CLK_SPEED 7
41872 #define V_RX_CLK_SPEED(x) ((x) << S_RX_CLK_SPEED)
41873 #define F_RX_CLK_SPEED V_RX_CLK_SPEED(1U)
41875 #define S_SCRBYPASS 6
41876 #define V_SCRBYPASS(x) ((x) << S_SCRBYPASS)
41877 #define F_SCRBYPASS V_SCRBYPASS(1U)
41879 #define S_FECERRINDEN 5
41880 #define V_FECERRINDEN(x) ((x) << S_FECERRINDEN)
41881 #define F_FECERRINDEN V_FECERRINDEN(1U)
41884 #define V_FECEN(x) ((x) << S_FECEN)
41885 #define F_FECEN V_FECEN(1U)
41887 #define S_TESTSEL 2
41888 #define M_TESTSEL 0x3U
41889 #define V_TESTSEL(x) ((x) << S_TESTSEL)
41890 #define G_TESTSEL(x) (((x) >> S_TESTSEL) & M_TESTSEL)
41892 #define S_SCRLOOPEN 1
41893 #define V_SCRLOOPEN(x) ((x) << S_SCRLOOPEN)
41894 #define F_SCRLOOPEN V_SCRLOOPEN(1U)
41896 #define S_XGMIILOOPEN 0
41897 #define V_XGMIILOOPEN(x) ((x) << S_XGMIILOOPEN)
41898 #define F_XGMIILOOPEN V_XGMIILOOPEN(1U)
41900 #define A_XGMAC_PORT_PCSR_TXTEST_CTRL 0x1510
41902 #define S_TX_PRBS9_EN 4
41903 #define V_TX_PRBS9_EN(x) ((x) << S_TX_PRBS9_EN)
41904 #define F_TX_PRBS9_EN V_TX_PRBS9_EN(1U)
41906 #define S_TX_PRBS31_EN 3
41907 #define V_TX_PRBS31_EN(x) ((x) << S_TX_PRBS31_EN)
41908 #define F_TX_PRBS31_EN V_TX_PRBS31_EN(1U)
41910 #define S_TX_TST_DAT_SEL 2
41911 #define V_TX_TST_DAT_SEL(x) ((x) << S_TX_TST_DAT_SEL)
41912 #define F_TX_TST_DAT_SEL V_TX_TST_DAT_SEL(1U)
41914 #define S_TX_TST_SEL 1
41915 #define V_TX_TST_SEL(x) ((x) << S_TX_TST_SEL)
41916 #define F_TX_TST_SEL V_TX_TST_SEL(1U)
41918 #define S_TX_TST_EN 0
41919 #define V_TX_TST_EN(x) ((x) << S_TX_TST_EN)
41920 #define F_TX_TST_EN V_TX_TST_EN(1U)
41922 #define A_XGMAC_PORT_PCSR_TXTEST_SEEDA_LOWER 0x1514
41923 #define A_XGMAC_PORT_PCSR_TXTEST_SEEDA_UPPER 0x1518
41925 #define S_SEEDA_UPPER 0
41926 #define M_SEEDA_UPPER 0x3ffffffU
41927 #define V_SEEDA_UPPER(x) ((x) << S_SEEDA_UPPER)
41928 #define G_SEEDA_UPPER(x) (((x) >> S_SEEDA_UPPER) & M_SEEDA_UPPER)
41930 #define A_XGMAC_PORT_PCSR_TXTEST_SEEDB_LOWER 0x152c
41931 #define A_XGMAC_PORT_PCSR_TXTEST_SEEDB_UPPER 0x1530
41933 #define S_SEEDB_UPPER 0
41934 #define M_SEEDB_UPPER 0x3ffffffU
41935 #define V_SEEDB_UPPER(x) ((x) << S_SEEDB_UPPER)
41936 #define G_SEEDB_UPPER(x) (((x) >> S_SEEDB_UPPER) & M_SEEDB_UPPER)
41938 #define A_XGMAC_PORT_PCSR_RXTEST_CTRL 0x153c
41940 #define S_TPTER_CNT_RST 7
41941 #define V_TPTER_CNT_RST(x) ((x) << S_TPTER_CNT_RST)
41942 #define F_TPTER_CNT_RST V_TPTER_CNT_RST(1U)
41944 #define S_TEST_CNT_125US 6
41945 #define V_TEST_CNT_125US(x) ((x) << S_TEST_CNT_125US)
41946 #define F_TEST_CNT_125US V_TEST_CNT_125US(1U)
41948 #define S_TEST_CNT_PRE 5
41949 #define V_TEST_CNT_PRE(x) ((x) << S_TEST_CNT_PRE)
41950 #define F_TEST_CNT_PRE V_TEST_CNT_PRE(1U)
41952 #define S_BER_CNT_RST 4
41953 #define V_BER_CNT_RST(x) ((x) << S_BER_CNT_RST)
41954 #define F_BER_CNT_RST V_BER_CNT_RST(1U)
41956 #define S_ERR_BLK_CNT_RST 3
41957 #define V_ERR_BLK_CNT_RST(x) ((x) << S_ERR_BLK_CNT_RST)
41958 #define F_ERR_BLK_CNT_RST V_ERR_BLK_CNT_RST(1U)
41960 #define S_RX_PRBS31_EN 2
41961 #define V_RX_PRBS31_EN(x) ((x) << S_RX_PRBS31_EN)
41962 #define F_RX_PRBS31_EN V_RX_PRBS31_EN(1U)
41964 #define S_RX_TST_DAT_SEL 1
41965 #define V_RX_TST_DAT_SEL(x) ((x) << S_RX_TST_DAT_SEL)
41966 #define F_RX_TST_DAT_SEL V_RX_TST_DAT_SEL(1U)
41968 #define S_RX_TST_EN 0
41969 #define V_RX_TST_EN(x) ((x) << S_RX_TST_EN)
41970 #define F_RX_TST_EN V_RX_TST_EN(1U)
41972 #define A_XGMAC_PORT_PCSR_STATUS 0x1550
41974 #define S_ERR_BLK_CNT 16
41975 #define M_ERR_BLK_CNT 0xffU
41976 #define V_ERR_BLK_CNT(x) ((x) << S_ERR_BLK_CNT)
41977 #define G_ERR_BLK_CNT(x) (((x) >> S_ERR_BLK_CNT) & M_ERR_BLK_CNT)
41979 #define S_BER_COUNT 8
41980 #define M_BER_COUNT 0x3fU
41981 #define V_BER_COUNT(x) ((x) << S_BER_COUNT)
41982 #define G_BER_COUNT(x) (((x) >> S_BER_COUNT) & M_BER_COUNT)
41985 #define V_HI_BER(x) ((x) << S_HI_BER)
41986 #define F_HI_BER V_HI_BER(1U)
41988 #define S_RX_FAULT 1
41989 #define V_RX_FAULT(x) ((x) << S_RX_FAULT)
41990 #define F_RX_FAULT V_RX_FAULT(1U)
41992 #define S_TX_FAULT 0
41993 #define V_TX_FAULT(x) ((x) << S_TX_FAULT)
41994 #define F_TX_FAULT V_TX_FAULT(1U)
41996 #define A_XGMAC_PORT_PCSR_TEST_STATUS 0x1554
41998 #define S_TPT_ERR_CNT 0
41999 #define M_TPT_ERR_CNT 0xffffU
42000 #define V_TPT_ERR_CNT(x) ((x) << S_TPT_ERR_CNT)
42001 #define G_TPT_ERR_CNT(x) (((x) >> S_TPT_ERR_CNT) & M_TPT_ERR_CNT)
42003 #define A_XGMAC_PORT_AN_CONTROL 0x1600
42005 #define S_SOFT_RESET 15
42006 #define V_SOFT_RESET(x) ((x) << S_SOFT_RESET)
42007 #define F_SOFT_RESET V_SOFT_RESET(1U)
42009 #define S_AN_ENABLE 12
42010 #define V_AN_ENABLE(x) ((x) << S_AN_ENABLE)
42011 #define F_AN_ENABLE V_AN_ENABLE(1U)
42013 #define S_RESTART_AN 9
42014 #define V_RESTART_AN(x) ((x) << S_RESTART_AN)
42015 #define F_RESTART_AN V_RESTART_AN(1U)
42017 #define A_XGMAC_PORT_AN_STATUS 0x1604
42019 #define S_NONCER_MATCH 31
42020 #define V_NONCER_MATCH(x) ((x) << S_NONCER_MATCH)
42021 #define F_NONCER_MATCH V_NONCER_MATCH(1U)
42023 #define S_PARALLEL_DET_FAULT 9
42024 #define V_PARALLEL_DET_FAULT(x) ((x) << S_PARALLEL_DET_FAULT)
42025 #define F_PARALLEL_DET_FAULT V_PARALLEL_DET_FAULT(1U)
42027 #define S_PAGE_RECEIVED 6
42028 #define V_PAGE_RECEIVED(x) ((x) << S_PAGE_RECEIVED)
42029 #define F_PAGE_RECEIVED V_PAGE_RECEIVED(1U)
42031 #define S_AN_COMPLETE 5
42032 #define V_AN_COMPLETE(x) ((x) << S_AN_COMPLETE)
42033 #define F_AN_COMPLETE V_AN_COMPLETE(1U)
42035 #define S_STAT_REMFAULT 4
42036 #define V_STAT_REMFAULT(x) ((x) << S_STAT_REMFAULT)
42037 #define F_STAT_REMFAULT V_STAT_REMFAULT(1U)
42039 #define S_AN_ABILITY 3
42040 #define V_AN_ABILITY(x) ((x) << S_AN_ABILITY)
42041 #define F_AN_ABILITY V_AN_ABILITY(1U)
42043 #define S_LINK_STATUS 2
42044 #define V_LINK_STATUS(x) ((x) << S_LINK_STATUS)
42045 #define F_LINK_STATUS V_LINK_STATUS(1U)
42047 #define S_PARTNER_AN_ABILITY 0
42048 #define V_PARTNER_AN_ABILITY(x) ((x) << S_PARTNER_AN_ABILITY)
42049 #define F_PARTNER_AN_ABILITY V_PARTNER_AN_ABILITY(1U)
42051 #define A_XGMAC_PORT_AN_ADVERTISEMENT 0x1608
42053 #define S_FEC_ENABLE 31
42054 #define V_FEC_ENABLE(x) ((x) << S_FEC_ENABLE)
42055 #define F_FEC_ENABLE V_FEC_ENABLE(1U)
42057 #define S_FEC_ABILITY 30
42058 #define V_FEC_ABILITY(x) ((x) << S_FEC_ABILITY)
42059 #define F_FEC_ABILITY V_FEC_ABILITY(1U)
42061 #define S_10GBASE_KR_CAPABLE 23
42062 #define V_10GBASE_KR_CAPABLE(x) ((x) << S_10GBASE_KR_CAPABLE)
42063 #define F_10GBASE_KR_CAPABLE V_10GBASE_KR_CAPABLE(1U)
42065 #define S_10GBASE_KX4_CAPABLE 22
42066 #define V_10GBASE_KX4_CAPABLE(x) ((x) << S_10GBASE_KX4_CAPABLE)
42067 #define F_10GBASE_KX4_CAPABLE V_10GBASE_KX4_CAPABLE(1U)
42069 #define S_1000BASE_KX_CAPABLE 21
42070 #define V_1000BASE_KX_CAPABLE(x) ((x) << S_1000BASE_KX_CAPABLE)
42071 #define F_1000BASE_KX_CAPABLE V_1000BASE_KX_CAPABLE(1U)
42073 #define S_TRANSMITTED_NONCE 16
42074 #define M_TRANSMITTED_NONCE 0x1fU
42075 #define V_TRANSMITTED_NONCE(x) ((x) << S_TRANSMITTED_NONCE)
42076 #define G_TRANSMITTED_NONCE(x) (((x) >> S_TRANSMITTED_NONCE) & M_TRANSMITTED_NONCE)
42079 #define V_NP(x) ((x) << S_NP)
42080 #define F_NP V_NP(1U)
42083 #define V_ACK(x) ((x) << S_ACK)
42084 #define F_ACK V_ACK(1U)
42086 #define S_REMOTE_FAULT 13
42087 #define V_REMOTE_FAULT(x) ((x) << S_REMOTE_FAULT)
42088 #define F_REMOTE_FAULT V_REMOTE_FAULT(1U)
42090 #define S_ASM_DIR 11
42091 #define V_ASM_DIR(x) ((x) << S_ASM_DIR)
42092 #define F_ASM_DIR V_ASM_DIR(1U)
42095 #define V_PAUSE(x) ((x) << S_PAUSE)
42096 #define F_PAUSE V_PAUSE(1U)
42098 #define S_ECHOED_NONCE 5
42099 #define M_ECHOED_NONCE 0x1fU
42100 #define V_ECHOED_NONCE(x) ((x) << S_ECHOED_NONCE)
42101 #define G_ECHOED_NONCE(x) (((x) >> S_ECHOED_NONCE) & M_ECHOED_NONCE)
42103 #define A_XGMAC_PORT_AN_LINK_PARTNER_ABILITY 0x160c
42105 #define S_SELECTOR_FIELD 0
42106 #define M_SELECTOR_FIELD 0x1fU
42107 #define V_SELECTOR_FIELD(x) ((x) << S_SELECTOR_FIELD)
42108 #define G_SELECTOR_FIELD(x) (((x) >> S_SELECTOR_FIELD) & M_SELECTOR_FIELD)
42110 #define A_XGMAC_PORT_AN_NP_LOWER_TRANSMIT 0x1610
42112 #define S_NP_INFO 16
42113 #define M_NP_INFO 0xffffU
42114 #define V_NP_INFO(x) ((x) << S_NP_INFO)
42115 #define G_NP_INFO(x) (((x) >> S_NP_INFO) & M_NP_INFO)
42117 #define S_NP_INDICATION 15
42118 #define V_NP_INDICATION(x) ((x) << S_NP_INDICATION)
42119 #define F_NP_INDICATION V_NP_INDICATION(1U)
42121 #define S_MESSAGE_PAGE 13
42122 #define V_MESSAGE_PAGE(x) ((x) << S_MESSAGE_PAGE)
42123 #define F_MESSAGE_PAGE V_MESSAGE_PAGE(1U)
42126 #define V_ACK_2(x) ((x) << S_ACK_2)
42127 #define F_ACK_2 V_ACK_2(1U)
42129 #define S_TOGGLE 11
42130 #define V_TOGGLE(x) ((x) << S_TOGGLE)
42131 #define F_TOGGLE V_TOGGLE(1U)
42133 #define A_XGMAC_PORT_AN_NP_UPPER_TRANSMIT 0x1614
42135 #define S_NP_INFO_HI 0
42136 #define M_NP_INFO_HI 0xffffU
42137 #define V_NP_INFO_HI(x) ((x) << S_NP_INFO_HI)
42138 #define G_NP_INFO_HI(x) (((x) >> S_NP_INFO_HI) & M_NP_INFO_HI)
42140 #define A_XGMAC_PORT_AN_LP_NP_LOWER 0x1618
42141 #define A_XGMAC_PORT_AN_LP_NP_UPPER 0x161c
42142 #define A_XGMAC_PORT_AN_BACKPLANE_ETHERNET_STATUS 0x1624
42144 #define S_TX_PAUSE_OKAY 6
42145 #define V_TX_PAUSE_OKAY(x) ((x) << S_TX_PAUSE_OKAY)
42146 #define F_TX_PAUSE_OKAY V_TX_PAUSE_OKAY(1U)
42148 #define S_RX_PAUSE_OKAY 5
42149 #define V_RX_PAUSE_OKAY(x) ((x) << S_RX_PAUSE_OKAY)
42150 #define F_RX_PAUSE_OKAY V_RX_PAUSE_OKAY(1U)
42152 #define S_10GBASE_KR_FEC_NEG 4
42153 #define V_10GBASE_KR_FEC_NEG(x) ((x) << S_10GBASE_KR_FEC_NEG)
42154 #define F_10GBASE_KR_FEC_NEG V_10GBASE_KR_FEC_NEG(1U)
42156 #define S_10GBASE_KR_NEG 3
42157 #define V_10GBASE_KR_NEG(x) ((x) << S_10GBASE_KR_NEG)
42158 #define F_10GBASE_KR_NEG V_10GBASE_KR_NEG(1U)
42160 #define S_10GBASE_KX4_NEG 2
42161 #define V_10GBASE_KX4_NEG(x) ((x) << S_10GBASE_KX4_NEG)
42162 #define F_10GBASE_KX4_NEG V_10GBASE_KX4_NEG(1U)
42164 #define S_1000BASE_KX_NEG 1
42165 #define V_1000BASE_KX_NEG(x) ((x) << S_1000BASE_KX_NEG)
42166 #define F_1000BASE_KX_NEG V_1000BASE_KX_NEG(1U)
42168 #define S_BP_AN_ABILITY 0
42169 #define V_BP_AN_ABILITY(x) ((x) << S_BP_AN_ABILITY)
42170 #define F_BP_AN_ABILITY V_BP_AN_ABILITY(1U)
42172 #define A_XGMAC_PORT_AN_TX_NONCE_CONTROL 0x1628
42174 #define S_BYPASS_LFSR 15
42175 #define V_BYPASS_LFSR(x) ((x) << S_BYPASS_LFSR)
42176 #define F_BYPASS_LFSR V_BYPASS_LFSR(1U)
42178 #define S_LFSR_INIT 0
42179 #define M_LFSR_INIT 0x7fffU
42180 #define V_LFSR_INIT(x) ((x) << S_LFSR_INIT)
42181 #define G_LFSR_INIT(x) (((x) >> S_LFSR_INIT) & M_LFSR_INIT)
42183 #define A_XGMAC_PORT_AN_INTERRUPT_STATUS 0x162c
42185 #define S_NP_FROM_LP 3
42186 #define V_NP_FROM_LP(x) ((x) << S_NP_FROM_LP)
42187 #define F_NP_FROM_LP V_NP_FROM_LP(1U)
42189 #define S_PARALLELDETFAULTINT 2
42190 #define V_PARALLELDETFAULTINT(x) ((x) << S_PARALLELDETFAULTINT)
42191 #define F_PARALLELDETFAULTINT V_PARALLELDETFAULTINT(1U)
42193 #define S_BP_FROM_LP 1
42194 #define V_BP_FROM_LP(x) ((x) << S_BP_FROM_LP)
42195 #define F_BP_FROM_LP V_BP_FROM_LP(1U)
42197 #define S_PCS_AN_COMPLETE 0
42198 #define V_PCS_AN_COMPLETE(x) ((x) << S_PCS_AN_COMPLETE)
42199 #define F_PCS_AN_COMPLETE V_PCS_AN_COMPLETE(1U)
42201 #define A_XGMAC_PORT_AN_GENERIC_TIMER_TIMEOUT 0x1630
42203 #define S_GENERIC_TIMEOUT 0
42204 #define M_GENERIC_TIMEOUT 0x7fffffU
42205 #define V_GENERIC_TIMEOUT(x) ((x) << S_GENERIC_TIMEOUT)
42206 #define G_GENERIC_TIMEOUT(x) (((x) >> S_GENERIC_TIMEOUT) & M_GENERIC_TIMEOUT)
42208 #define A_XGMAC_PORT_AN_BREAK_LINK_TIMEOUT 0x1634
42210 #define S_BREAK_LINK_TIMEOUT 0
42211 #define M_BREAK_LINK_TIMEOUT 0xffffffU
42212 #define V_BREAK_LINK_TIMEOUT(x) ((x) << S_BREAK_LINK_TIMEOUT)
42213 #define G_BREAK_LINK_TIMEOUT(x) (((x) >> S_BREAK_LINK_TIMEOUT) & M_BREAK_LINK_TIMEOUT)
42215 #define A_XGMAC_PORT_AN_MODULE_ID 0x163c
42217 #define S_MODULE_ID 16
42218 #define M_MODULE_ID 0xffffU
42219 #define V_MODULE_ID(x) ((x) << S_MODULE_ID)
42220 #define G_MODULE_ID(x) (((x) >> S_MODULE_ID) & M_MODULE_ID)
42222 #define S_MODULE_REVISION 0
42223 #define M_MODULE_REVISION 0xffffU
42224 #define V_MODULE_REVISION(x) ((x) << S_MODULE_REVISION)
42225 #define G_MODULE_REVISION(x) (((x) >> S_MODULE_REVISION) & M_MODULE_REVISION)
42227 #define A_XGMAC_PORT_AE_RX_COEF_REQ 0x1700
42229 #define S_RXREQ_CPRE 13
42230 #define V_RXREQ_CPRE(x) ((x) << S_RXREQ_CPRE)
42231 #define F_RXREQ_CPRE V_RXREQ_CPRE(1U)
42233 #define S_RXREQ_CINIT 12
42234 #define V_RXREQ_CINIT(x) ((x) << S_RXREQ_CINIT)
42235 #define F_RXREQ_CINIT V_RXREQ_CINIT(1U)
42237 #define S_RXREQ_C0 4
42238 #define M_RXREQ_C0 0x3U
42239 #define V_RXREQ_C0(x) ((x) << S_RXREQ_C0)
42240 #define G_RXREQ_C0(x) (((x) >> S_RXREQ_C0) & M_RXREQ_C0)
42242 #define S_RXREQ_C1 2
42243 #define M_RXREQ_C1 0x3U
42244 #define V_RXREQ_C1(x) ((x) << S_RXREQ_C1)
42245 #define G_RXREQ_C1(x) (((x) >> S_RXREQ_C1) & M_RXREQ_C1)
42247 #define S_RXREQ_C2 0
42248 #define M_RXREQ_C2 0x3U
42249 #define V_RXREQ_C2(x) ((x) << S_RXREQ_C2)
42250 #define G_RXREQ_C2(x) (((x) >> S_RXREQ_C2) & M_RXREQ_C2)
42252 #define A_XGMAC_PORT_AE_RX_COEF_STAT 0x1704
42254 #define S_RXSTAT_RDY 15
42255 #define V_RXSTAT_RDY(x) ((x) << S_RXSTAT_RDY)
42256 #define F_RXSTAT_RDY V_RXSTAT_RDY(1U)
42258 #define S_RXSTAT_C0 4
42259 #define M_RXSTAT_C0 0x3U
42260 #define V_RXSTAT_C0(x) ((x) << S_RXSTAT_C0)
42261 #define G_RXSTAT_C0(x) (((x) >> S_RXSTAT_C0) & M_RXSTAT_C0)
42263 #define S_RXSTAT_C1 2
42264 #define M_RXSTAT_C1 0x3U
42265 #define V_RXSTAT_C1(x) ((x) << S_RXSTAT_C1)
42266 #define G_RXSTAT_C1(x) (((x) >> S_RXSTAT_C1) & M_RXSTAT_C1)
42268 #define S_RXSTAT_C2 0
42269 #define M_RXSTAT_C2 0x3U
42270 #define V_RXSTAT_C2(x) ((x) << S_RXSTAT_C2)
42271 #define G_RXSTAT_C2(x) (((x) >> S_RXSTAT_C2) & M_RXSTAT_C2)
42273 #define A_XGMAC_PORT_AE_TX_COEF_REQ 0x1708
42275 #define S_TXREQ_CPRE 13
42276 #define V_TXREQ_CPRE(x) ((x) << S_TXREQ_CPRE)
42277 #define F_TXREQ_CPRE V_TXREQ_CPRE(1U)
42279 #define S_TXREQ_CINIT 12
42280 #define V_TXREQ_CINIT(x) ((x) << S_TXREQ_CINIT)
42281 #define F_TXREQ_CINIT V_TXREQ_CINIT(1U)
42283 #define S_TXREQ_C0 4
42284 #define M_TXREQ_C0 0x3U
42285 #define V_TXREQ_C0(x) ((x) << S_TXREQ_C0)
42286 #define G_TXREQ_C0(x) (((x) >> S_TXREQ_C0) & M_TXREQ_C0)
42288 #define S_TXREQ_C1 2
42289 #define M_TXREQ_C1 0x3U
42290 #define V_TXREQ_C1(x) ((x) << S_TXREQ_C1)
42291 #define G_TXREQ_C1(x) (((x) >> S_TXREQ_C1) & M_TXREQ_C1)
42293 #define S_TXREQ_C2 0
42294 #define M_TXREQ_C2 0x3U
42295 #define V_TXREQ_C2(x) ((x) << S_TXREQ_C2)
42296 #define G_TXREQ_C2(x) (((x) >> S_TXREQ_C2) & M_TXREQ_C2)
42298 #define A_XGMAC_PORT_AE_TX_COEF_STAT 0x170c
42300 #define S_TXSTAT_RDY 15
42301 #define V_TXSTAT_RDY(x) ((x) << S_TXSTAT_RDY)
42302 #define F_TXSTAT_RDY V_TXSTAT_RDY(1U)
42304 #define S_TXSTAT_C0 4
42305 #define M_TXSTAT_C0 0x3U
42306 #define V_TXSTAT_C0(x) ((x) << S_TXSTAT_C0)
42307 #define G_TXSTAT_C0(x) (((x) >> S_TXSTAT_C0) & M_TXSTAT_C0)
42309 #define S_TXSTAT_C1 2
42310 #define M_TXSTAT_C1 0x3U
42311 #define V_TXSTAT_C1(x) ((x) << S_TXSTAT_C1)
42312 #define G_TXSTAT_C1(x) (((x) >> S_TXSTAT_C1) & M_TXSTAT_C1)
42314 #define S_TXSTAT_C2 0
42315 #define M_TXSTAT_C2 0x3U
42316 #define V_TXSTAT_C2(x) ((x) << S_TXSTAT_C2)
42317 #define G_TXSTAT_C2(x) (((x) >> S_TXSTAT_C2) & M_TXSTAT_C2)
42319 #define A_XGMAC_PORT_AE_REG_MODE 0x1710
42321 #define S_MAN_DEC 4
42322 #define M_MAN_DEC 0x3U
42323 #define V_MAN_DEC(x) ((x) << S_MAN_DEC)
42324 #define G_MAN_DEC(x) (((x) >> S_MAN_DEC) & M_MAN_DEC)
42326 #define S_MANUAL_RDY 3
42327 #define V_MANUAL_RDY(x) ((x) << S_MANUAL_RDY)
42328 #define F_MANUAL_RDY V_MANUAL_RDY(1U)
42330 #define S_MWT_DISABLE 2
42331 #define V_MWT_DISABLE(x) ((x) << S_MWT_DISABLE)
42332 #define F_MWT_DISABLE V_MWT_DISABLE(1U)
42334 #define S_MDIO_OVR 1
42335 #define V_MDIO_OVR(x) ((x) << S_MDIO_OVR)
42336 #define F_MDIO_OVR V_MDIO_OVR(1U)
42338 #define S_STICKY_MODE 0
42339 #define V_STICKY_MODE(x) ((x) << S_STICKY_MODE)
42340 #define F_STICKY_MODE V_STICKY_MODE(1U)
42342 #define A_XGMAC_PORT_AE_PRBS_CTL 0x1714
42344 #define S_PRBS_CHK_ERRCNT 8
42345 #define M_PRBS_CHK_ERRCNT 0xffU
42346 #define V_PRBS_CHK_ERRCNT(x) ((x) << S_PRBS_CHK_ERRCNT)
42347 #define G_PRBS_CHK_ERRCNT(x) (((x) >> S_PRBS_CHK_ERRCNT) & M_PRBS_CHK_ERRCNT)
42349 #define S_PRBS_SYNCCNT 5
42350 #define M_PRBS_SYNCCNT 0x7U
42351 #define V_PRBS_SYNCCNT(x) ((x) << S_PRBS_SYNCCNT)
42352 #define G_PRBS_SYNCCNT(x) (((x) >> S_PRBS_SYNCCNT) & M_PRBS_SYNCCNT)
42354 #define S_PRBS_CHK_SYNC 4
42355 #define V_PRBS_CHK_SYNC(x) ((x) << S_PRBS_CHK_SYNC)
42356 #define F_PRBS_CHK_SYNC V_PRBS_CHK_SYNC(1U)
42358 #define S_PRBS_CHK_RST 3
42359 #define V_PRBS_CHK_RST(x) ((x) << S_PRBS_CHK_RST)
42360 #define F_PRBS_CHK_RST V_PRBS_CHK_RST(1U)
42362 #define S_PRBS_CHK_OFF 2
42363 #define V_PRBS_CHK_OFF(x) ((x) << S_PRBS_CHK_OFF)
42364 #define F_PRBS_CHK_OFF V_PRBS_CHK_OFF(1U)
42366 #define S_PRBS_GEN_FRCERR 1
42367 #define V_PRBS_GEN_FRCERR(x) ((x) << S_PRBS_GEN_FRCERR)
42368 #define F_PRBS_GEN_FRCERR V_PRBS_GEN_FRCERR(1U)
42370 #define S_PRBS_GEN_OFF 0
42371 #define V_PRBS_GEN_OFF(x) ((x) << S_PRBS_GEN_OFF)
42372 #define F_PRBS_GEN_OFF V_PRBS_GEN_OFF(1U)
42374 #define A_XGMAC_PORT_AE_FSM_CTL 0x1718
42376 #define S_FSM_TR_LCL 14
42377 #define V_FSM_TR_LCL(x) ((x) << S_FSM_TR_LCL)
42378 #define F_FSM_TR_LCL V_FSM_TR_LCL(1U)
42380 #define S_FSM_GDMRK 11
42381 #define M_FSM_GDMRK 0x7U
42382 #define V_FSM_GDMRK(x) ((x) << S_FSM_GDMRK)
42383 #define G_FSM_GDMRK(x) (((x) >> S_FSM_GDMRK) & M_FSM_GDMRK)
42385 #define S_FSM_BADMRK 8
42386 #define M_FSM_BADMRK 0x7U
42387 #define V_FSM_BADMRK(x) ((x) << S_FSM_BADMRK)
42388 #define G_FSM_BADMRK(x) (((x) >> S_FSM_BADMRK) & M_FSM_BADMRK)
42390 #define S_FSM_TR_FAIL 7
42391 #define V_FSM_TR_FAIL(x) ((x) << S_FSM_TR_FAIL)
42392 #define F_FSM_TR_FAIL V_FSM_TR_FAIL(1U)
42394 #define S_FSM_TR_ACT 6
42395 #define V_FSM_TR_ACT(x) ((x) << S_FSM_TR_ACT)
42396 #define F_FSM_TR_ACT V_FSM_TR_ACT(1U)
42398 #define S_FSM_FRM_LCK 5
42399 #define V_FSM_FRM_LCK(x) ((x) << S_FSM_FRM_LCK)
42400 #define F_FSM_FRM_LCK V_FSM_FRM_LCK(1U)
42402 #define S_FSM_TR_COMP 4
42403 #define V_FSM_TR_COMP(x) ((x) << S_FSM_TR_COMP)
42404 #define F_FSM_TR_COMP V_FSM_TR_COMP(1U)
42406 #define S_MC_RX_RDY 3
42407 #define V_MC_RX_RDY(x) ((x) << S_MC_RX_RDY)
42408 #define F_MC_RX_RDY V_MC_RX_RDY(1U)
42410 #define S_FSM_CU_DIS 2
42411 #define V_FSM_CU_DIS(x) ((x) << S_FSM_CU_DIS)
42412 #define F_FSM_CU_DIS V_FSM_CU_DIS(1U)
42414 #define S_FSM_TR_RST 1
42415 #define V_FSM_TR_RST(x) ((x) << S_FSM_TR_RST)
42416 #define F_FSM_TR_RST V_FSM_TR_RST(1U)
42418 #define S_FSM_TR_EN 0
42419 #define V_FSM_TR_EN(x) ((x) << S_FSM_TR_EN)
42420 #define F_FSM_TR_EN V_FSM_TR_EN(1U)
42422 #define A_XGMAC_PORT_AE_FSM_STATE 0x171c
42424 #define S_CC2FSM_STATE 13
42425 #define M_CC2FSM_STATE 0x7U
42426 #define V_CC2FSM_STATE(x) ((x) << S_CC2FSM_STATE)
42427 #define G_CC2FSM_STATE(x) (((x) >> S_CC2FSM_STATE) & M_CC2FSM_STATE)
42429 #define S_CC1FSM_STATE 10
42430 #define M_CC1FSM_STATE 0x7U
42431 #define V_CC1FSM_STATE(x) ((x) << S_CC1FSM_STATE)
42432 #define G_CC1FSM_STATE(x) (((x) >> S_CC1FSM_STATE) & M_CC1FSM_STATE)
42434 #define S_CC0FSM_STATE 7
42435 #define M_CC0FSM_STATE 0x7U
42436 #define V_CC0FSM_STATE(x) ((x) << S_CC0FSM_STATE)
42437 #define G_CC0FSM_STATE(x) (((x) >> S_CC0FSM_STATE) & M_CC0FSM_STATE)
42439 #define S_FLFSM_STATE 4
42440 #define M_FLFSM_STATE 0x7U
42441 #define V_FLFSM_STATE(x) ((x) << S_FLFSM_STATE)
42442 #define G_FLFSM_STATE(x) (((x) >> S_FLFSM_STATE) & M_FLFSM_STATE)
42444 #define S_TFSM_STATE 0
42445 #define M_TFSM_STATE 0x7U
42446 #define V_TFSM_STATE(x) ((x) << S_TFSM_STATE)
42447 #define G_TFSM_STATE(x) (((x) >> S_TFSM_STATE) & M_TFSM_STATE)
42449 #define A_XGMAC_PORT_AE_TX_DIS 0x1780
42451 #define S_PMD_TX_DIS 0
42452 #define V_PMD_TX_DIS(x) ((x) << S_PMD_TX_DIS)
42453 #define F_PMD_TX_DIS V_PMD_TX_DIS(1U)
42455 #define A_XGMAC_PORT_AE_KR_CTRL 0x1784
42457 #define S_TRAINING_ENABLE 1
42458 #define V_TRAINING_ENABLE(x) ((x) << S_TRAINING_ENABLE)
42459 #define F_TRAINING_ENABLE V_TRAINING_ENABLE(1U)
42461 #define S_RESTART_TRAINING 0
42462 #define V_RESTART_TRAINING(x) ((x) << S_RESTART_TRAINING)
42463 #define F_RESTART_TRAINING V_RESTART_TRAINING(1U)
42465 #define A_XGMAC_PORT_AE_RX_SIGDET 0x1788
42467 #define S_PMD_SIGDET 0
42468 #define V_PMD_SIGDET(x) ((x) << S_PMD_SIGDET)
42469 #define F_PMD_SIGDET V_PMD_SIGDET(1U)
42471 #define A_XGMAC_PORT_AE_KR_STATUS 0x178c
42473 #define S_TRAINING_FAILURE 3
42474 #define V_TRAINING_FAILURE(x) ((x) << S_TRAINING_FAILURE)
42475 #define F_TRAINING_FAILURE V_TRAINING_FAILURE(1U)
42477 #define S_TRAINING 2
42478 #define V_TRAINING(x) ((x) << S_TRAINING)
42479 #define F_TRAINING V_TRAINING(1U)
42481 #define S_FRAME_LOCK 1
42482 #define V_FRAME_LOCK(x) ((x) << S_FRAME_LOCK)
42483 #define F_FRAME_LOCK V_FRAME_LOCK(1U)
42485 #define S_RX_TRAINED 0
42486 #define V_RX_TRAINED(x) ((x) << S_RX_TRAINED)
42487 #define F_RX_TRAINED V_RX_TRAINED(1U)
42489 #define A_XGMAC_PORT_HSS_TXA_MODE_CFG 0x1800
42492 #define M_BWSEL 0x3U
42493 #define V_BWSEL(x) ((x) << S_BWSEL)
42494 #define G_BWSEL(x) (((x) >> S_BWSEL) & M_BWSEL)
42497 #define M_RTSEL 0x3U
42498 #define V_RTSEL(x) ((x) << S_RTSEL)
42499 #define G_RTSEL(x) (((x) >> S_RTSEL) & M_RTSEL)
42501 #define A_XGMAC_PORT_HSS_TXA_TEST_CTRL 0x1804
42504 #define V_TWDP(x) ((x) << S_TWDP)
42505 #define F_TWDP V_TWDP(1U)
42508 #define V_TPGRST(x) ((x) << S_TPGRST)
42509 #define F_TPGRST V_TPGRST(1U)
42512 #define V_TPGEN(x) ((x) << S_TPGEN)
42513 #define F_TPGEN V_TPGEN(1U)
42516 #define M_TPSEL 0x7U
42517 #define V_TPSEL(x) ((x) << S_TPSEL)
42518 #define G_TPSEL(x) (((x) >> S_TPSEL) & M_TPSEL)
42520 #define A_XGMAC_PORT_HSS_TXA_COEFF_CTRL 0x1808
42522 #define S_AEINVPOL 6
42523 #define V_AEINVPOL(x) ((x) << S_AEINVPOL)
42524 #define F_AEINVPOL V_AEINVPOL(1U)
42526 #define S_AESOURCE 5
42527 #define V_AESOURCE(x) ((x) << S_AESOURCE)
42528 #define F_AESOURCE V_AESOURCE(1U)
42531 #define V_EQMODE(x) ((x) << S_EQMODE)
42532 #define F_EQMODE V_EQMODE(1U)
42535 #define V_OCOEF(x) ((x) << S_OCOEF)
42536 #define F_OCOEF V_OCOEF(1U)
42538 #define S_COEFRST 2
42539 #define V_COEFRST(x) ((x) << S_COEFRST)
42540 #define F_COEFRST V_COEFRST(1U)
42543 #define V_SPEN(x) ((x) << S_SPEN)
42544 #define F_SPEN V_SPEN(1U)
42547 #define V_ALOAD(x) ((x) << S_ALOAD)
42548 #define F_ALOAD V_ALOAD(1U)
42550 #define A_XGMAC_PORT_HSS_TXA_DRIVER_MODE 0x180c
42552 #define S_DRVOFFT 5
42553 #define V_DRVOFFT(x) ((x) << S_DRVOFFT)
42554 #define F_DRVOFFT V_DRVOFFT(1U)
42557 #define M_SLEW 0x7U
42558 #define V_SLEW(x) ((x) << S_SLEW)
42559 #define G_SLEW(x) (((x) >> S_SLEW) & M_SLEW)
42563 #define V_FFE(x) ((x) << S_FFE)
42564 #define G_FFE(x) (((x) >> S_FFE) & M_FFE)
42566 #define A_XGMAC_PORT_HSS_TXA_DRIVER_OVR_CTRL 0x1810
42569 #define V_VLINC(x) ((x) << S_VLINC)
42570 #define F_VLINC V_VLINC(1U)
42573 #define V_VLDEC(x) ((x) << S_VLDEC)
42574 #define F_VLDEC V_VLDEC(1U)
42577 #define V_LOPWR(x) ((x) << S_LOPWR)
42578 #define F_LOPWR V_LOPWR(1U)
42581 #define V_TDMEN(x) ((x) << S_TDMEN)
42582 #define F_TDMEN V_TDMEN(1U)
42585 #define V_DCCEN(x) ((x) << S_DCCEN)
42586 #define F_DCCEN V_DCCEN(1U)
42589 #define V_VHSEL(x) ((x) << S_VHSEL)
42590 #define F_VHSEL V_VHSEL(1U)
42593 #define M_IDAC 0x3U
42594 #define V_IDAC(x) ((x) << S_IDAC)
42595 #define G_IDAC(x) (((x) >> S_IDAC) & M_IDAC)
42597 #define A_XGMAC_PORT_HSS_TXA_TDM_BIASGEN_STANDBY_TIMER 0x1814
42600 #define M_STBY 0xffffU
42601 #define V_STBY(x) ((x) << S_STBY)
42602 #define G_STBY(x) (((x) >> S_STBY) & M_STBY)
42604 #define A_XGMAC_PORT_HSS_TXA_TDM_BIASGEN_PWRON_TIMER 0x1818
42607 #define M_PON 0xffffU
42608 #define V_PON(x) ((x) << S_PON)
42609 #define G_PON(x) (((x) >> S_PON) & M_PON)
42611 #define A_XGMAC_PORT_HSS_TXA_TAP0_COEFF 0x1820
42614 #define M_NXTT0 0xfU
42615 #define V_NXTT0(x) ((x) << S_NXTT0)
42616 #define G_NXTT0(x) (((x) >> S_NXTT0) & M_NXTT0)
42618 #define A_XGMAC_PORT_HSS_TXA_TAP1_COEFF 0x1824
42621 #define M_NXTT1 0x3fU
42622 #define V_NXTT1(x) ((x) << S_NXTT1)
42623 #define G_NXTT1(x) (((x) >> S_NXTT1) & M_NXTT1)
42625 #define A_XGMAC_PORT_HSS_TXA_TAP2_COEFF 0x1828
42628 #define M_NXTT2 0x1fU
42629 #define V_NXTT2(x) ((x) << S_NXTT2)
42630 #define G_NXTT2(x) (((x) >> S_NXTT2) & M_NXTT2)
42632 #define A_XGMAC_PORT_HSS_TXA_PWR 0x1830
42635 #define M_TXPWR 0x7fU
42636 #define V_TXPWR(x) ((x) << S_TXPWR)
42637 #define G_TXPWR(x) (((x) >> S_TXPWR) & M_TXPWR)
42639 #define A_XGMAC_PORT_HSS_TXA_POLARITY 0x1834
42642 #define M_TXPOL 0x7U
42643 #define V_TXPOL(x) ((x) << S_TXPOL)
42644 #define G_TXPOL(x) (((x) >> S_TXPOL) & M_TXPOL)
42647 #define M_NTXPOL 0x7U
42648 #define V_NTXPOL(x) ((x) << S_NTXPOL)
42649 #define G_NTXPOL(x) (((x) >> S_NTXPOL) & M_NTXPOL)
42651 #define A_XGMAC_PORT_HSS_TXA_8023AP_AE_CMD 0x1838
42653 #define S_CXPRESET 13
42654 #define V_CXPRESET(x) ((x) << S_CXPRESET)
42655 #define F_CXPRESET V_CXPRESET(1U)
42657 #define S_CXINIT 12
42658 #define V_CXINIT(x) ((x) << S_CXINIT)
42659 #define F_CXINIT V_CXINIT(1U)
42662 #define M_C2UPDT 0x3U
42663 #define V_C2UPDT(x) ((x) << S_C2UPDT)
42664 #define G_C2UPDT(x) (((x) >> S_C2UPDT) & M_C2UPDT)
42667 #define M_C1UPDT 0x3U
42668 #define V_C1UPDT(x) ((x) << S_C1UPDT)
42669 #define G_C1UPDT(x) (((x) >> S_C1UPDT) & M_C1UPDT)
42672 #define M_C0UPDT 0x3U
42673 #define V_C0UPDT(x) ((x) << S_C0UPDT)
42674 #define G_C0UPDT(x) (((x) >> S_C0UPDT) & M_C0UPDT)
42676 #define A_XGMAC_PORT_HSS_TXA_8023AP_AE_STATUS 0x183c
42679 #define M_C2STAT 0x3U
42680 #define V_C2STAT(x) ((x) << S_C2STAT)
42681 #define G_C2STAT(x) (((x) >> S_C2STAT) & M_C2STAT)
42684 #define M_C1STAT 0x3U
42685 #define V_C1STAT(x) ((x) << S_C1STAT)
42686 #define G_C1STAT(x) (((x) >> S_C1STAT) & M_C1STAT)
42689 #define M_C0STAT 0x3U
42690 #define V_C0STAT(x) ((x) << S_C0STAT)
42691 #define G_C0STAT(x) (((x) >> S_C0STAT) & M_C0STAT)
42693 #define A_XGMAC_PORT_HSS_TXA_TAP0_IDAC_OVR 0x1840
42696 #define M_NIDAC0 0x1fU
42697 #define V_NIDAC0(x) ((x) << S_NIDAC0)
42698 #define G_NIDAC0(x) (((x) >> S_NIDAC0) & M_NIDAC0)
42700 #define A_XGMAC_PORT_HSS_TXA_TAP1_IDAC_OVR 0x1844
42703 #define M_NIDAC1 0x7fU
42704 #define V_NIDAC1(x) ((x) << S_NIDAC1)
42705 #define G_NIDAC1(x) (((x) >> S_NIDAC1) & M_NIDAC1)
42707 #define A_XGMAC_PORT_HSS_TXA_TAP2_IDAC_OVR 0x1848
42710 #define M_NIDAC2 0x3fU
42711 #define V_NIDAC2(x) ((x) << S_NIDAC2)
42712 #define G_NIDAC2(x) (((x) >> S_NIDAC2) & M_NIDAC2)
42714 #define A_XGMAC_PORT_HSS_TXA_PWR_DAC_OVR 0x1850
42717 #define V_OPEN(x) ((x) << S_OPEN)
42718 #define F_OPEN V_OPEN(1U)
42721 #define M_OPVAL 0x1fU
42722 #define V_OPVAL(x) ((x) << S_OPVAL)
42723 #define G_OPVAL(x) (((x) >> S_OPVAL) & M_OPVAL)
42725 #define A_XGMAC_PORT_HSS_TXA_PWR_DAC 0x1854
42728 #define M_PDAC 0x1fU
42729 #define V_PDAC(x) ((x) << S_PDAC)
42730 #define G_PDAC(x) (((x) >> S_PDAC) & M_PDAC)
42732 #define A_XGMAC_PORT_HSS_TXA_TAP0_IDAC_APP 0x1860
42735 #define M_AIDAC0 0x1fU
42736 #define V_AIDAC0(x) ((x) << S_AIDAC0)
42737 #define G_AIDAC0(x) (((x) >> S_AIDAC0) & M_AIDAC0)
42739 #define A_XGMAC_PORT_HSS_TXA_TAP1_IDAC_APP 0x1864
42742 #define M_AIDAC1 0x1fU
42743 #define V_AIDAC1(x) ((x) << S_AIDAC1)
42744 #define G_AIDAC1(x) (((x) >> S_AIDAC1) & M_AIDAC1)
42746 #define A_XGMAC_PORT_HSS_TXA_TAP2_IDAC_APP 0x1868
42748 #define S_TXA_AIDAC2 0
42749 #define M_TXA_AIDAC2 0x1fU
42750 #define V_TXA_AIDAC2(x) ((x) << S_TXA_AIDAC2)
42751 #define G_TXA_AIDAC2(x) (((x) >> S_TXA_AIDAC2) & M_TXA_AIDAC2)
42753 #define A_XGMAC_PORT_HSS_TXA_SEG_DIS_APP 0x1870
42756 #define M_CURSD 0x7fU
42757 #define V_CURSD(x) ((x) << S_CURSD)
42758 #define G_CURSD(x) (((x) >> S_CURSD) & M_CURSD)
42760 #define A_XGMAC_PORT_HSS_TXA_EXT_ADDR_DATA 0x1878
42763 #define M_XDATA 0xffffU
42764 #define V_XDATA(x) ((x) << S_XDATA)
42765 #define G_XDATA(x) (((x) >> S_XDATA) & M_XDATA)
42767 #define A_XGMAC_PORT_HSS_TXA_EXT_ADDR 0x187c
42769 #define S_EXTADDR 1
42770 #define M_EXTADDR 0x1fU
42771 #define V_EXTADDR(x) ((x) << S_EXTADDR)
42772 #define G_EXTADDR(x) (((x) >> S_EXTADDR) & M_EXTADDR)
42775 #define V_XWR(x) ((x) << S_XWR)
42776 #define F_XWR V_XWR(1U)
42778 #define A_XGMAC_PORT_HSS_TXB_MODE_CFG 0x1880
42779 #define A_XGMAC_PORT_HSS_TXB_TEST_CTRL 0x1884
42780 #define A_XGMAC_PORT_HSS_TXB_COEFF_CTRL 0x1888
42781 #define A_XGMAC_PORT_HSS_TXB_DRIVER_MODE 0x188c
42782 #define A_XGMAC_PORT_HSS_TXB_DRIVER_OVR_CTRL 0x1890
42783 #define A_XGMAC_PORT_HSS_TXB_TDM_BIASGEN_STANDBY_TIMER 0x1894
42784 #define A_XGMAC_PORT_HSS_TXB_TDM_BIASGEN_PWRON_TIMER 0x1898
42785 #define A_XGMAC_PORT_HSS_TXB_TAP0_COEFF 0x18a0
42786 #define A_XGMAC_PORT_HSS_TXB_TAP1_COEFF 0x18a4
42787 #define A_XGMAC_PORT_HSS_TXB_TAP2_COEFF 0x18a8
42788 #define A_XGMAC_PORT_HSS_TXB_PWR 0x18b0
42789 #define A_XGMAC_PORT_HSS_TXB_POLARITY 0x18b4
42790 #define A_XGMAC_PORT_HSS_TXB_8023AP_AE_CMD 0x18b8
42791 #define A_XGMAC_PORT_HSS_TXB_8023AP_AE_STATUS 0x18bc
42792 #define A_XGMAC_PORT_HSS_TXB_TAP0_IDAC_OVR 0x18c0
42793 #define A_XGMAC_PORT_HSS_TXB_TAP1_IDAC_OVR 0x18c4
42794 #define A_XGMAC_PORT_HSS_TXB_TAP2_IDAC_OVR 0x18c8
42795 #define A_XGMAC_PORT_HSS_TXB_PWR_DAC_OVR 0x18d0
42796 #define A_XGMAC_PORT_HSS_TXB_PWR_DAC 0x18d4
42797 #define A_XGMAC_PORT_HSS_TXB_TAP0_IDAC_APP 0x18e0
42798 #define A_XGMAC_PORT_HSS_TXB_TAP1_IDAC_APP 0x18e4
42799 #define A_XGMAC_PORT_HSS_TXB_TAP2_IDAC_APP 0x18e8
42802 #define M_AIDAC2 0x3fU
42803 #define V_AIDAC2(x) ((x) << S_AIDAC2)
42804 #define G_AIDAC2(x) (((x) >> S_AIDAC2) & M_AIDAC2)
42806 #define A_XGMAC_PORT_HSS_TXB_SEG_DIS_APP 0x18f0
42807 #define A_XGMAC_PORT_HSS_TXB_EXT_ADDR_DATA 0x18f8
42808 #define A_XGMAC_PORT_HSS_TXB_EXT_ADDR 0x18fc
42811 #define M_XADDR 0xfU
42812 #define V_XADDR(x) ((x) << S_XADDR)
42813 #define G_XADDR(x) (((x) >> S_XADDR) & M_XADDR)
42815 #define A_XGMAC_PORT_HSS_RXA_CFG_MODE 0x1900
42818 #define V_BW810(x) ((x) << S_BW810)
42819 #define F_BW810 V_BW810(1U)
42822 #define V_AUXCLK(x) ((x) << S_AUXCLK)
42823 #define F_AUXCLK V_AUXCLK(1U)
42826 #define M_DMSEL 0x7U
42827 #define V_DMSEL(x) ((x) << S_DMSEL)
42828 #define G_DMSEL(x) (((x) >> S_DMSEL) & M_DMSEL)
42830 #define A_XGMAC_PORT_HSS_RXA_TEST_CTRL 0x1904
42832 #define S_RCLKEN 15
42833 #define V_RCLKEN(x) ((x) << S_RCLKEN)
42834 #define F_RCLKEN V_RCLKEN(1U)
42837 #define M_RRATE 0x3U
42838 #define V_RRATE(x) ((x) << S_RRATE)
42839 #define G_RRATE(x) (((x) >> S_RRATE) & M_RRATE)
42841 #define S_LBFRCERROR 10
42842 #define V_LBFRCERROR(x) ((x) << S_LBFRCERROR)
42843 #define F_LBFRCERROR V_LBFRCERROR(1U)
42845 #define S_LBERROR 9
42846 #define V_LBERROR(x) ((x) << S_LBERROR)
42847 #define F_LBERROR V_LBERROR(1U)
42850 #define V_LBSYNC(x) ((x) << S_LBSYNC)
42851 #define F_LBSYNC V_LBSYNC(1U)
42853 #define S_FDWRAPCLK 7
42854 #define V_FDWRAPCLK(x) ((x) << S_FDWRAPCLK)
42855 #define F_FDWRAPCLK V_FDWRAPCLK(1U)
42858 #define V_FDWRAP(x) ((x) << S_FDWRAP)
42859 #define F_FDWRAP V_FDWRAP(1U)
42862 #define V_PRST(x) ((x) << S_PRST)
42863 #define F_PRST V_PRST(1U)
42866 #define V_PCHKEN(x) ((x) << S_PCHKEN)
42867 #define F_PCHKEN V_PCHKEN(1U)
42869 #define S_PRBSSEL 0
42870 #define M_PRBSSEL 0x7U
42871 #define V_PRBSSEL(x) ((x) << S_PRBSSEL)
42872 #define G_PRBSSEL(x) (((x) >> S_PRBSSEL) & M_PRBSSEL)
42874 #define A_XGMAC_PORT_HSS_RXA_PH_ROTATOR_CTRL 0x1908
42876 #define S_FTHROT 12
42877 #define M_FTHROT 0xfU
42878 #define V_FTHROT(x) ((x) << S_FTHROT)
42879 #define G_FTHROT(x) (((x) >> S_FTHROT) & M_FTHROT)
42881 #define S_RTHROT 11
42882 #define V_RTHROT(x) ((x) << S_RTHROT)
42883 #define F_RTHROT V_RTHROT(1U)
42885 #define S_FILTCTL 7
42886 #define M_FILTCTL 0xfU
42887 #define V_FILTCTL(x) ((x) << S_FILTCTL)
42888 #define G_FILTCTL(x) (((x) >> S_FILTCTL) & M_FILTCTL)
42891 #define M_RSRVO 0x3U
42892 #define V_RSRVO(x) ((x) << S_RSRVO)
42893 #define G_RSRVO(x) (((x) >> S_RSRVO) & M_RSRVO)
42896 #define V_EXTEL(x) ((x) << S_EXTEL)
42897 #define F_EXTEL V_EXTEL(1U)
42899 #define S_RSTONSTUCK 3
42900 #define V_RSTONSTUCK(x) ((x) << S_RSTONSTUCK)
42901 #define F_RSTONSTUCK V_RSTONSTUCK(1U)
42903 #define S_FREEZEFW 2
42904 #define V_FREEZEFW(x) ((x) << S_FREEZEFW)
42905 #define F_FREEZEFW V_FREEZEFW(1U)
42907 #define S_RESETFW 1
42908 #define V_RESETFW(x) ((x) << S_RESETFW)
42909 #define F_RESETFW V_RESETFW(1U)
42911 #define S_SSCENABLE 0
42912 #define V_SSCENABLE(x) ((x) << S_SSCENABLE)
42913 #define F_SSCENABLE V_SSCENABLE(1U)
42915 #define A_XGMAC_PORT_HSS_RXA_PH_ROTATOR_OFFSET_CTRL 0x190c
42918 #define V_RSNP(x) ((x) << S_RSNP)
42919 #define F_RSNP V_RSNP(1U)
42922 #define V_TSOEN(x) ((x) << S_TSOEN)
42923 #define F_TSOEN V_TSOEN(1U)
42926 #define V_OFFEN(x) ((x) << S_OFFEN)
42927 #define F_OFFEN V_OFFEN(1U)
42930 #define M_TMSCAL 0x3U
42931 #define V_TMSCAL(x) ((x) << S_TMSCAL)
42932 #define G_TMSCAL(x) (((x) >> S_TMSCAL) & M_TMSCAL)
42935 #define V_APADJ(x) ((x) << S_APADJ)
42936 #define F_APADJ V_APADJ(1U)
42939 #define V_RSEL(x) ((x) << S_RSEL)
42940 #define F_RSEL V_RSEL(1U)
42943 #define M_PHOFFS 0x1fU
42944 #define V_PHOFFS(x) ((x) << S_PHOFFS)
42945 #define G_PHOFFS(x) (((x) >> S_PHOFFS) & M_PHOFFS)
42947 #define A_XGMAC_PORT_HSS_RXA_PH_ROTATOR_POSITION1 0x1910
42950 #define M_ROT0A 0x3fU
42951 #define V_ROT0A(x) ((x) << S_ROT0A)
42952 #define G_ROT0A(x) (((x) >> S_ROT0A) & M_ROT0A)
42954 #define S_RTSEL_SNAPSHOT 0
42955 #define M_RTSEL_SNAPSHOT 0x3fU
42956 #define V_RTSEL_SNAPSHOT(x) ((x) << S_RTSEL_SNAPSHOT)
42957 #define G_RTSEL_SNAPSHOT(x) (((x) >> S_RTSEL_SNAPSHOT) & M_RTSEL_SNAPSHOT)
42959 #define A_XGMAC_PORT_HSS_RXA_PH_ROTATOR_POSITION2 0x1914
42962 #define M_ROT90 0x3fU
42963 #define V_ROT90(x) ((x) << S_ROT90)
42964 #define G_ROT90(x) (((x) >> S_ROT90) & M_ROT90)
42966 #define A_XGMAC_PORT_HSS_RXA_PH_ROTATOR_STATIC_PH_OFFSET 0x1918
42968 #define S_RCALER 15
42969 #define V_RCALER(x) ((x) << S_RCALER)
42970 #define F_RCALER V_RCALER(1U)
42972 #define S_RAOOFF 10
42973 #define M_RAOOFF 0x1fU
42974 #define V_RAOOFF(x) ((x) << S_RAOOFF)
42975 #define G_RAOOFF(x) (((x) >> S_RAOOFF) & M_RAOOFF)
42978 #define M_RAEOFF 0x1fU
42979 #define V_RAEOFF(x) ((x) << S_RAEOFF)
42980 #define G_RAEOFF(x) (((x) >> S_RAEOFF) & M_RAEOFF)
42983 #define M_RDOFF 0x1fU
42984 #define V_RDOFF(x) ((x) << S_RDOFF)
42985 #define G_RDOFF(x) (((x) >> S_RDOFF) & M_RDOFF)
42987 #define A_XGMAC_PORT_HSS_RXA_SIGDET_CTRL 0x191c
42989 #define S_SIGNSD 13
42990 #define M_SIGNSD 0x3U
42991 #define V_SIGNSD(x) ((x) << S_SIGNSD)
42992 #define G_SIGNSD(x) (((x) >> S_SIGNSD) & M_SIGNSD)
42995 #define M_DACSD 0x1fU
42996 #define V_DACSD(x) ((x) << S_DACSD)
42997 #define G_DACSD(x) (((x) >> S_DACSD) & M_DACSD)
43000 #define V_SDPDN(x) ((x) << S_SDPDN)
43001 #define F_SDPDN V_SDPDN(1U)
43004 #define V_SIGDET(x) ((x) << S_SIGDET)
43005 #define F_SIGDET V_SIGDET(1U)
43008 #define M_SDLVL 0x1fU
43009 #define V_SDLVL(x) ((x) << S_SDLVL)
43010 #define G_SDLVL(x) (((x) >> S_SDLVL) & M_SDLVL)
43012 #define A_XGMAC_PORT_HSS_RXA_DFE_CTRL 0x1920
43014 #define S_REQCMP 15
43015 #define V_REQCMP(x) ((x) << S_REQCMP)
43016 #define F_REQCMP V_REQCMP(1U)
43018 #define S_DFEREQ 14
43019 #define V_DFEREQ(x) ((x) << S_DFEREQ)
43020 #define F_DFEREQ V_DFEREQ(1U)
43023 #define V_SPCEN(x) ((x) << S_SPCEN)
43024 #define F_SPCEN V_SPCEN(1U)
43026 #define S_GATEEN 12
43027 #define V_GATEEN(x) ((x) << S_GATEEN)
43028 #define F_GATEEN V_GATEEN(1U)
43031 #define M_SPIFMT 0x7U
43032 #define V_SPIFMT(x) ((x) << S_SPIFMT)
43033 #define G_SPIFMT(x) (((x) >> S_SPIFMT) & M_SPIFMT)
43036 #define M_DFEPWR 0x7U
43037 #define V_DFEPWR(x) ((x) << S_DFEPWR)
43038 #define G_DFEPWR(x) (((x) >> S_DFEPWR) & M_DFEPWR)
43041 #define V_STNDBY(x) ((x) << S_STNDBY)
43042 #define F_STNDBY V_STNDBY(1U)
43045 #define V_FRCH(x) ((x) << S_FRCH)
43046 #define F_FRCH V_FRCH(1U)
43049 #define V_NONRND(x) ((x) << S_NONRND)
43050 #define F_NONRND V_NONRND(1U)
43053 #define V_NONRNF(x) ((x) << S_NONRNF)
43054 #define F_NONRNF V_NONRNF(1U)
43057 #define V_FSTLCK(x) ((x) << S_FSTLCK)
43058 #define F_FSTLCK V_FSTLCK(1U)
43061 #define V_DFERST(x) ((x) << S_DFERST)
43062 #define F_DFERST V_DFERST(1U)
43064 #define A_XGMAC_PORT_HSS_RXA_DFE_DATA_EDGE_SAMPLE 0x1924
43067 #define M_ESAMP 0xffU
43068 #define V_ESAMP(x) ((x) << S_ESAMP)
43069 #define G_ESAMP(x) (((x) >> S_ESAMP) & M_ESAMP)
43072 #define M_DSAMP 0xffU
43073 #define V_DSAMP(x) ((x) << S_DSAMP)
43074 #define G_DSAMP(x) (((x) >> S_DSAMP) & M_DSAMP)
43076 #define A_XGMAC_PORT_HSS_RXA_DFE_AMP_SAMPLE 0x1928
43079 #define M_SMODE 0xfU
43080 #define V_SMODE(x) ((x) << S_SMODE)
43081 #define G_SMODE(x) (((x) >> S_SMODE) & M_SMODE)
43084 #define V_ADCORR(x) ((x) << S_ADCORR)
43085 #define F_ADCORR V_ADCORR(1U)
43087 #define S_TRAINEN 6
43088 #define V_TRAINEN(x) ((x) << S_TRAINEN)
43089 #define F_TRAINEN V_TRAINEN(1U)
43092 #define M_ASAMPQ 0x7U
43093 #define V_ASAMPQ(x) ((x) << S_ASAMPQ)
43094 #define G_ASAMPQ(x) (((x) >> S_ASAMPQ) & M_ASAMPQ)
43097 #define M_ASAMP 0x7U
43098 #define V_ASAMP(x) ((x) << S_ASAMP)
43099 #define G_ASAMP(x) (((x) >> S_ASAMP) & M_ASAMP)
43101 #define A_XGMAC_PORT_HSS_RXA_VGA_CTRL1 0x192c
43104 #define M_POLE 0x3U
43105 #define V_POLE(x) ((x) << S_POLE)
43106 #define G_POLE(x) (((x) >> S_POLE) & M_POLE)
43109 #define M_PEAK 0x7U
43110 #define V_PEAK(x) ((x) << S_PEAK)
43111 #define G_PEAK(x) (((x) >> S_PEAK) & M_PEAK)
43114 #define M_VOFFSN 0x3U
43115 #define V_VOFFSN(x) ((x) << S_VOFFSN)
43116 #define G_VOFFSN(x) (((x) >> S_VOFFSN) & M_VOFFSN)
43119 #define M_VOFFA 0x3fU
43120 #define V_VOFFA(x) ((x) << S_VOFFA)
43121 #define G_VOFFA(x) (((x) >> S_VOFFA) & M_VOFFA)
43123 #define A_XGMAC_PORT_HSS_RXA_VGA_CTRL2 0x1930
43125 #define S_SHORTV 10
43126 #define V_SHORTV(x) ((x) << S_SHORTV)
43127 #define F_SHORTV V_SHORTV(1U)
43130 #define M_VGAIN 0xfU
43131 #define V_VGAIN(x) ((x) << S_VGAIN)
43132 #define G_VGAIN(x) (((x) >> S_VGAIN) & M_VGAIN)
43134 #define A_XGMAC_PORT_HSS_RXA_VGA_CTRL3 0x1934
43137 #define V_HBND1(x) ((x) << S_HBND1)
43138 #define F_HBND1 V_HBND1(1U)
43141 #define V_HBND0(x) ((x) << S_HBND0)
43142 #define F_HBND0 V_HBND0(1U)
43145 #define V_VLCKD(x) ((x) << S_VLCKD)
43146 #define F_VLCKD V_VLCKD(1U)
43149 #define V_VLCKDF(x) ((x) << S_VLCKDF)
43150 #define F_VLCKDF V_VLCKDF(1U)
43153 #define M_AMAXT 0x7fU
43154 #define V_AMAXT(x) ((x) << S_AMAXT)
43155 #define G_AMAXT(x) (((x) >> S_AMAXT) & M_AMAXT)
43157 #define A_XGMAC_PORT_HSS_RXA_DFE_D00_D01_OFFSET 0x1938
43160 #define M_D01SN 0x3U
43161 #define V_D01SN(x) ((x) << S_D01SN)
43162 #define G_D01SN(x) (((x) >> S_D01SN) & M_D01SN)
43165 #define M_D01AMP 0x1fU
43166 #define V_D01AMP(x) ((x) << S_D01AMP)
43167 #define G_D01AMP(x) (((x) >> S_D01AMP) & M_D01AMP)
43170 #define M_D00SN 0x3U
43171 #define V_D00SN(x) ((x) << S_D00SN)
43172 #define G_D00SN(x) (((x) >> S_D00SN) & M_D00SN)
43175 #define M_D00AMP 0x1fU
43176 #define V_D00AMP(x) ((x) << S_D00AMP)
43177 #define G_D00AMP(x) (((x) >> S_D00AMP) & M_D00AMP)
43179 #define A_XGMAC_PORT_HSS_RXA_DFE_D10_D11_OFFSET 0x193c
43182 #define M_D11SN 0x3U
43183 #define V_D11SN(x) ((x) << S_D11SN)
43184 #define G_D11SN(x) (((x) >> S_D11SN) & M_D11SN)
43187 #define M_D11AMP 0x1fU
43188 #define V_D11AMP(x) ((x) << S_D11AMP)
43189 #define G_D11AMP(x) (((x) >> S_D11AMP) & M_D11AMP)
43192 #define M_D10SN 0x3U
43193 #define V_D10SN(x) ((x) << S_D10SN)
43194 #define G_D10SN(x) (((x) >> S_D10SN) & M_D10SN)
43197 #define M_D10AMP 0x1fU
43198 #define V_D10AMP(x) ((x) << S_D10AMP)
43199 #define G_D10AMP(x) (((x) >> S_D10AMP) & M_D10AMP)
43201 #define A_XGMAC_PORT_HSS_RXA_DFE_E0_E1_OFFSET 0x1940
43204 #define M_E1SN 0x3U
43205 #define V_E1SN(x) ((x) << S_E1SN)
43206 #define G_E1SN(x) (((x) >> S_E1SN) & M_E1SN)
43209 #define M_E1AMP 0x1fU
43210 #define V_E1AMP(x) ((x) << S_E1AMP)
43211 #define G_E1AMP(x) (((x) >> S_E1AMP) & M_E1AMP)
43214 #define M_E0SN 0x3U
43215 #define V_E0SN(x) ((x) << S_E0SN)
43216 #define G_E0SN(x) (((x) >> S_E0SN) & M_E0SN)
43219 #define M_E0AMP 0x1fU
43220 #define V_E0AMP(x) ((x) << S_E0AMP)
43221 #define G_E0AMP(x) (((x) >> S_E0AMP) & M_E0AMP)
43223 #define A_XGMAC_PORT_HSS_RXA_DACA_OFFSET 0x1944
43226 #define M_AOFFO 0x3fU
43227 #define V_AOFFO(x) ((x) << S_AOFFO)
43228 #define G_AOFFO(x) (((x) >> S_AOFFO) & M_AOFFO)
43231 #define M_AOFFE 0x3fU
43232 #define V_AOFFE(x) ((x) << S_AOFFE)
43233 #define G_AOFFE(x) (((x) >> S_AOFFE) & M_AOFFE)
43235 #define A_XGMAC_PORT_HSS_RXA_DACAP_DAC_AN_OFFSET 0x1948
43238 #define M_DACAN 0xffU
43239 #define V_DACAN(x) ((x) << S_DACAN)
43240 #define G_DACAN(x) (((x) >> S_DACAN) & M_DACAN)
43243 #define M_DACAP 0xffU
43244 #define V_DACAP(x) ((x) << S_DACAP)
43245 #define G_DACAP(x) (((x) >> S_DACAP) & M_DACAP)
43247 #define A_XGMAC_PORT_HSS_RXA_DACA_MIN 0x194c
43250 #define M_DACAZ 0xffU
43251 #define V_DACAZ(x) ((x) << S_DACAZ)
43252 #define G_DACAZ(x) (((x) >> S_DACAZ) & M_DACAZ)
43255 #define M_DACAM 0xffU
43256 #define V_DACAM(x) ((x) << S_DACAM)
43257 #define G_DACAM(x) (((x) >> S_DACAM) & M_DACAM)
43259 #define A_XGMAC_PORT_HSS_RXA_ADAC_CTRL 0x1950
43262 #define M_ADSN 0x3U
43263 #define V_ADSN(x) ((x) << S_ADSN)
43264 #define G_ADSN(x) (((x) >> S_ADSN) & M_ADSN)
43267 #define M_ADMAG 0x7fU
43268 #define V_ADMAG(x) ((x) << S_ADMAG)
43269 #define G_ADMAG(x) (((x) >> S_ADMAG) & M_ADMAG)
43271 #define A_XGMAC_PORT_HSS_RXA_DIGITAL_EYE_CTRL 0x1954
43274 #define V_BLKAZ(x) ((x) << S_BLKAZ)
43275 #define F_BLKAZ V_BLKAZ(1U)
43278 #define M_WIDTH 0x1fU
43279 #define V_WIDTH(x) ((x) << S_WIDTH)
43280 #define G_WIDTH(x) (((x) >> S_WIDTH) & M_WIDTH)
43282 #define S_MINWIDTH 5
43283 #define M_MINWIDTH 0x1fU
43284 #define V_MINWIDTH(x) ((x) << S_MINWIDTH)
43285 #define G_MINWIDTH(x) (((x) >> S_MINWIDTH) & M_MINWIDTH)
43288 #define M_MINAMP 0x1fU
43289 #define V_MINAMP(x) ((x) << S_MINAMP)
43290 #define G_MINAMP(x) (((x) >> S_MINAMP) & M_MINAMP)
43292 #define A_XGMAC_PORT_HSS_RXA_DIGITAL_EYE_METRICS 0x1958
43294 #define S_EMBRDY 10
43295 #define V_EMBRDY(x) ((x) << S_EMBRDY)
43296 #define F_EMBRDY V_EMBRDY(1U)
43299 #define V_EMBUMP(x) ((x) << S_EMBUMP)
43300 #define F_EMBUMP V_EMBUMP(1U)
43303 #define M_EMMD 0x3U
43304 #define V_EMMD(x) ((x) << S_EMMD)
43305 #define G_EMMD(x) (((x) >> S_EMMD) & M_EMMD)
43308 #define V_EMPAT(x) ((x) << S_EMPAT)
43309 #define F_EMPAT V_EMPAT(1U)
43312 #define V_EMEN(x) ((x) << S_EMEN)
43313 #define F_EMEN V_EMEN(1U)
43315 #define A_XGMAC_PORT_HSS_RXA_DFE_H1 0x195c
43318 #define M_H1OSN 0x3U
43319 #define V_H1OSN(x) ((x) << S_H1OSN)
43320 #define G_H1OSN(x) (((x) >> S_H1OSN) & M_H1OSN)
43323 #define M_H1OMAG 0x3fU
43324 #define V_H1OMAG(x) ((x) << S_H1OMAG)
43325 #define G_H1OMAG(x) (((x) >> S_H1OMAG) & M_H1OMAG)
43328 #define M_H1ESN 0x3U
43329 #define V_H1ESN(x) ((x) << S_H1ESN)
43330 #define G_H1ESN(x) (((x) >> S_H1ESN) & M_H1ESN)
43333 #define M_H1EMAG 0x3fU
43334 #define V_H1EMAG(x) ((x) << S_H1EMAG)
43335 #define G_H1EMAG(x) (((x) >> S_H1EMAG) & M_H1EMAG)
43337 #define A_XGMAC_PORT_HSS_RXA_DFE_H2 0x1960
43340 #define M_H2OSN 0x3U
43341 #define V_H2OSN(x) ((x) << S_H2OSN)
43342 #define G_H2OSN(x) (((x) >> S_H2OSN) & M_H2OSN)
43345 #define M_H2OMAG 0x1fU
43346 #define V_H2OMAG(x) ((x) << S_H2OMAG)
43347 #define G_H2OMAG(x) (((x) >> S_H2OMAG) & M_H2OMAG)
43350 #define M_H2ESN 0x3U
43351 #define V_H2ESN(x) ((x) << S_H2ESN)
43352 #define G_H2ESN(x) (((x) >> S_H2ESN) & M_H2ESN)
43355 #define M_H2EMAG 0x1fU
43356 #define V_H2EMAG(x) ((x) << S_H2EMAG)
43357 #define G_H2EMAG(x) (((x) >> S_H2EMAG) & M_H2EMAG)
43359 #define A_XGMAC_PORT_HSS_RXA_DFE_H3 0x1964
43362 #define M_H3OSN 0x3U
43363 #define V_H3OSN(x) ((x) << S_H3OSN)
43364 #define G_H3OSN(x) (((x) >> S_H3OSN) & M_H3OSN)
43367 #define M_H3OMAG 0xfU
43368 #define V_H3OMAG(x) ((x) << S_H3OMAG)
43369 #define G_H3OMAG(x) (((x) >> S_H3OMAG) & M_H3OMAG)
43372 #define M_H3ESN 0x3U
43373 #define V_H3ESN(x) ((x) << S_H3ESN)
43374 #define G_H3ESN(x) (((x) >> S_H3ESN) & M_H3ESN)
43377 #define M_H3EMAG 0xfU
43378 #define V_H3EMAG(x) ((x) << S_H3EMAG)
43379 #define G_H3EMAG(x) (((x) >> S_H3EMAG) & M_H3EMAG)
43381 #define A_XGMAC_PORT_HSS_RXA_DFE_H4 0x1968
43384 #define M_H4OSN 0x3U
43385 #define V_H4OSN(x) ((x) << S_H4OSN)
43386 #define G_H4OSN(x) (((x) >> S_H4OSN) & M_H4OSN)
43389 #define M_H4OMAG 0xfU
43390 #define V_H4OMAG(x) ((x) << S_H4OMAG)
43391 #define G_H4OMAG(x) (((x) >> S_H4OMAG) & M_H4OMAG)
43394 #define M_H4ESN 0x3U
43395 #define V_H4ESN(x) ((x) << S_H4ESN)
43396 #define G_H4ESN(x) (((x) >> S_H4ESN) & M_H4ESN)
43399 #define M_H4EMAG 0xfU
43400 #define V_H4EMAG(x) ((x) << S_H4EMAG)
43401 #define G_H4EMAG(x) (((x) >> S_H4EMAG) & M_H4EMAG)
43403 #define A_XGMAC_PORT_HSS_RXA_DFE_H5 0x196c
43406 #define M_H5OSN 0x3U
43407 #define V_H5OSN(x) ((x) << S_H5OSN)
43408 #define G_H5OSN(x) (((x) >> S_H5OSN) & M_H5OSN)
43411 #define M_H5OMAG 0xfU
43412 #define V_H5OMAG(x) ((x) << S_H5OMAG)
43413 #define G_H5OMAG(x) (((x) >> S_H5OMAG) & M_H5OMAG)
43416 #define M_H5ESN 0x3U
43417 #define V_H5ESN(x) ((x) << S_H5ESN)
43418 #define G_H5ESN(x) (((x) >> S_H5ESN) & M_H5ESN)
43421 #define M_H5EMAG 0xfU
43422 #define V_H5EMAG(x) ((x) << S_H5EMAG)
43423 #define G_H5EMAG(x) (((x) >> S_H5EMAG) & M_H5EMAG)
43425 #define A_XGMAC_PORT_HSS_RXA_DAC_DPC 0x1970
43427 #define S_DPCCVG 13
43428 #define V_DPCCVG(x) ((x) << S_DPCCVG)
43429 #define F_DPCCVG V_DPCCVG(1U)
43431 #define S_DACCVG 12
43432 #define V_DACCVG(x) ((x) << S_DACCVG)
43433 #define F_DACCVG V_DACCVG(1U)
43436 #define M_DPCTGT 0x7U
43437 #define V_DPCTGT(x) ((x) << S_DPCTGT)
43438 #define G_DPCTGT(x) (((x) >> S_DPCTGT) & M_DPCTGT)
43441 #define V_BLKH1T(x) ((x) << S_BLKH1T)
43442 #define F_BLKH1T V_BLKH1T(1U)
43445 #define V_BLKOAE(x) ((x) << S_BLKOAE)
43446 #define F_BLKOAE V_BLKOAE(1U)
43449 #define M_H1TGT 0x7U
43450 #define V_H1TGT(x) ((x) << S_H1TGT)
43451 #define G_H1TGT(x) (((x) >> S_H1TGT) & M_H1TGT)
43455 #define V_OAE(x) ((x) << S_OAE)
43456 #define G_OAE(x) (((x) >> S_OAE) & M_OAE)
43458 #define A_XGMAC_PORT_HSS_RXA_DDC 0x1974
43461 #define M_OLS 0x1fU
43462 #define V_OLS(x) ((x) << S_OLS)
43463 #define G_OLS(x) (((x) >> S_OLS) & M_OLS)
43466 #define M_OES 0x1fU
43467 #define V_OES(x) ((x) << S_OES)
43468 #define G_OES(x) (((x) >> S_OES) & M_OES)
43470 #define S_BLKODEC 5
43471 #define V_BLKODEC(x) ((x) << S_BLKODEC)
43472 #define F_BLKODEC V_BLKODEC(1U)
43475 #define M_ODEC 0x1fU
43476 #define V_ODEC(x) ((x) << S_ODEC)
43477 #define G_ODEC(x) (((x) >> S_ODEC) & M_ODEC)
43479 #define A_XGMAC_PORT_HSS_RXA_INTERNAL_STATUS 0x1978
43482 #define V_BER6(x) ((x) << S_BER6)
43483 #define F_BER6 V_BER6(1U)
43485 #define S_BER6VAL 14
43486 #define V_BER6VAL(x) ((x) << S_BER6VAL)
43487 #define F_BER6VAL V_BER6VAL(1U)
43489 #define S_BER3VAL 13
43490 #define V_BER3VAL(x) ((x) << S_BER3VAL)
43491 #define F_BER3VAL V_BER3VAL(1U)
43494 #define V_DPCCMP(x) ((x) << S_DPCCMP)
43495 #define F_DPCCMP V_DPCCMP(1U)
43498 #define V_DACCMP(x) ((x) << S_DACCMP)
43499 #define F_DACCMP V_DACCMP(1U)
43502 #define V_DDCCMP(x) ((x) << S_DDCCMP)
43503 #define F_DDCCMP V_DDCCMP(1U)
43505 #define S_AERRFLG 6
43506 #define V_AERRFLG(x) ((x) << S_AERRFLG)
43507 #define F_AERRFLG V_AERRFLG(1U)
43509 #define S_WERRFLG 5
43510 #define V_WERRFLG(x) ((x) << S_WERRFLG)
43511 #define F_WERRFLG V_WERRFLG(1U)
43514 #define V_TRCMP(x) ((x) << S_TRCMP)
43515 #define F_TRCMP V_TRCMP(1U)
43518 #define V_VLCKF(x) ((x) << S_VLCKF)
43519 #define F_VLCKF V_VLCKF(1U)
43522 #define V_ROCADJ(x) ((x) << S_ROCADJ)
43523 #define F_ROCADJ V_ROCADJ(1U)
43526 #define V_ROCCMP(x) ((x) << S_ROCCMP)
43527 #define F_ROCCMP V_ROCCMP(1U)
43530 #define V_OCCMP(x) ((x) << S_OCCMP)
43531 #define F_OCCMP V_OCCMP(1U)
43533 #define A_XGMAC_PORT_HSS_RXA_DFE_FUNC_CTRL 0x197c
43536 #define V_FDPC(x) ((x) << S_FDPC)
43537 #define F_FDPC V_FDPC(1U)
43540 #define V_FDAC(x) ((x) << S_FDAC)
43541 #define F_FDAC V_FDAC(1U)
43544 #define V_FDDC(x) ((x) << S_FDDC)
43545 #define F_FDDC V_FDDC(1U)
43548 #define V_FNRND(x) ((x) << S_FNRND)
43549 #define F_FNRND V_FNRND(1U)
43551 #define S_FVGAIN 11
43552 #define V_FVGAIN(x) ((x) << S_FVGAIN)
43553 #define F_FVGAIN V_FVGAIN(1U)
43556 #define V_FVOFF(x) ((x) << S_FVOFF)
43557 #define F_FVOFF V_FVOFF(1U)
43560 #define V_FSDET(x) ((x) << S_FSDET)
43561 #define F_FSDET V_FSDET(1U)
43564 #define V_FBER6(x) ((x) << S_FBER6)
43565 #define F_FBER6 V_FBER6(1U)
43568 #define V_FROTO(x) ((x) << S_FROTO)
43569 #define F_FROTO V_FROTO(1U)
43572 #define V_FH4H5(x) ((x) << S_FH4H5)
43573 #define F_FH4H5 V_FH4H5(1U)
43576 #define V_FH2H3(x) ((x) << S_FH2H3)
43577 #define F_FH2H3 V_FH2H3(1U)
43580 #define V_FH1(x) ((x) << S_FH1)
43581 #define F_FH1 V_FH1(1U)
43584 #define V_FH1SN(x) ((x) << S_FH1SN)
43585 #define F_FH1SN V_FH1SN(1U)
43588 #define V_FNRDF(x) ((x) << S_FNRDF)
43589 #define F_FNRDF V_FNRDF(1U)
43592 #define V_FADAC(x) ((x) << S_FADAC)
43593 #define F_FADAC V_FADAC(1U)
43595 #define A_XGMAC_PORT_HSS_RXB_CFG_MODE 0x1980
43596 #define A_XGMAC_PORT_HSS_RXB_TEST_CTRL 0x1984
43597 #define A_XGMAC_PORT_HSS_RXB_PH_ROTATOR_CTRL 0x1988
43598 #define A_XGMAC_PORT_HSS_RXB_PH_ROTATOR_OFFSET_CTRL 0x198c
43599 #define A_XGMAC_PORT_HSS_RXB_PH_ROTATOR_POSITION1 0x1990
43600 #define A_XGMAC_PORT_HSS_RXB_PH_ROTATOR_POSITION2 0x1994
43601 #define A_XGMAC_PORT_HSS_RXB_PH_ROTATOR_STATIC_PH_OFFSET 0x1998
43602 #define A_XGMAC_PORT_HSS_RXB_SIGDET_CTRL 0x199c
43603 #define A_XGMAC_PORT_HSS_RXB_DFE_CTRL 0x19a0
43604 #define A_XGMAC_PORT_HSS_RXB_DFE_DATA_EDGE_SAMPLE 0x19a4
43605 #define A_XGMAC_PORT_HSS_RXB_DFE_AMP_SAMPLE 0x19a8
43606 #define A_XGMAC_PORT_HSS_RXB_VGA_CTRL1 0x19ac
43607 #define A_XGMAC_PORT_HSS_RXB_VGA_CTRL2 0x19b0
43608 #define A_XGMAC_PORT_HSS_RXB_VGA_CTRL3 0x19b4
43609 #define A_XGMAC_PORT_HSS_RXB_DFE_D00_D01_OFFSET 0x19b8
43610 #define A_XGMAC_PORT_HSS_RXB_DFE_D10_D11_OFFSET 0x19bc
43611 #define A_XGMAC_PORT_HSS_RXB_DFE_E0_E1_OFFSET 0x19c0
43612 #define A_XGMAC_PORT_HSS_RXB_DACA_OFFSET 0x19c4
43613 #define A_XGMAC_PORT_HSS_RXB_DACAP_DAC_AN_OFFSET 0x19c8
43614 #define A_XGMAC_PORT_HSS_RXB_DACA_MIN 0x19cc
43615 #define A_XGMAC_PORT_HSS_RXB_ADAC_CTRL 0x19d0
43616 #define A_XGMAC_PORT_HSS_RXB_DIGITAL_EYE_CTRL 0x19d4
43617 #define A_XGMAC_PORT_HSS_RXB_DIGITAL_EYE_METRICS 0x19d8
43618 #define A_XGMAC_PORT_HSS_RXB_DFE_H1 0x19dc
43619 #define A_XGMAC_PORT_HSS_RXB_DFE_H2 0x19e0
43620 #define A_XGMAC_PORT_HSS_RXB_DFE_H3 0x19e4
43621 #define A_XGMAC_PORT_HSS_RXB_DFE_H4 0x19e8
43622 #define A_XGMAC_PORT_HSS_RXB_DFE_H5 0x19ec
43623 #define A_XGMAC_PORT_HSS_RXB_DAC_DPC 0x19f0
43624 #define A_XGMAC_PORT_HSS_RXB_DDC 0x19f4
43625 #define A_XGMAC_PORT_HSS_RXB_INTERNAL_STATUS 0x19f8
43626 #define A_XGMAC_PORT_HSS_RXB_DFE_FUNC_CTRL 0x19fc
43627 #define A_XGMAC_PORT_HSS_TXC_MODE_CFG 0x1a00
43628 #define A_XGMAC_PORT_HSS_TXC_TEST_CTRL 0x1a04
43629 #define A_XGMAC_PORT_HSS_TXC_COEFF_CTRL 0x1a08
43630 #define A_XGMAC_PORT_HSS_TXC_DRIVER_MODE 0x1a0c
43631 #define A_XGMAC_PORT_HSS_TXC_DRIVER_OVR_CTRL 0x1a10
43632 #define A_XGMAC_PORT_HSS_TXC_TDM_BIASGEN_STANDBY_TIMER 0x1a14
43633 #define A_XGMAC_PORT_HSS_TXC_TDM_BIASGEN_PWRON_TIMER 0x1a18
43634 #define A_XGMAC_PORT_HSS_TXC_TAP0_COEFF 0x1a20
43635 #define A_XGMAC_PORT_HSS_TXC_TAP1_COEFF 0x1a24
43636 #define A_XGMAC_PORT_HSS_TXC_TAP2_COEFF 0x1a28
43637 #define A_XGMAC_PORT_HSS_TXC_PWR 0x1a30
43638 #define A_XGMAC_PORT_HSS_TXC_POLARITY 0x1a34
43639 #define A_XGMAC_PORT_HSS_TXC_8023AP_AE_CMD 0x1a38
43640 #define A_XGMAC_PORT_HSS_TXC_8023AP_AE_STATUS 0x1a3c
43641 #define A_XGMAC_PORT_HSS_TXC_TAP0_IDAC_OVR 0x1a40
43642 #define A_XGMAC_PORT_HSS_TXC_TAP1_IDAC_OVR 0x1a44
43643 #define A_XGMAC_PORT_HSS_TXC_TAP2_IDAC_OVR 0x1a48
43644 #define A_XGMAC_PORT_HSS_TXC_PWR_DAC_OVR 0x1a50
43645 #define A_XGMAC_PORT_HSS_TXC_PWR_DAC 0x1a54
43646 #define A_XGMAC_PORT_HSS_TXC_TAP0_IDAC_APP 0x1a60
43647 #define A_XGMAC_PORT_HSS_TXC_TAP1_IDAC_APP 0x1a64
43648 #define A_XGMAC_PORT_HSS_TXC_TAP2_IDAC_APP 0x1a68
43649 #define A_XGMAC_PORT_HSS_TXC_SEG_DIS_APP 0x1a70
43650 #define A_XGMAC_PORT_HSS_TXC_EXT_ADDR_DATA 0x1a78
43651 #define A_XGMAC_PORT_HSS_TXC_EXT_ADDR 0x1a7c
43652 #define A_XGMAC_PORT_HSS_TXD_MODE_CFG 0x1a80
43653 #define A_XGMAC_PORT_HSS_TXD_TEST_CTRL 0x1a84
43654 #define A_XGMAC_PORT_HSS_TXD_COEFF_CTRL 0x1a88
43655 #define A_XGMAC_PORT_HSS_TXD_DRIVER_MODE 0x1a8c
43656 #define A_XGMAC_PORT_HSS_TXD_DRIVER_OVR_CTRL 0x1a90
43657 #define A_XGMAC_PORT_HSS_TXD_TDM_BIASGEN_STANDBY_TIMER 0x1a94
43658 #define A_XGMAC_PORT_HSS_TXD_TDM_BIASGEN_PWRON_TIMER 0x1a98
43659 #define A_XGMAC_PORT_HSS_TXD_TAP0_COEFF 0x1aa0
43660 #define A_XGMAC_PORT_HSS_TXD_TAP1_COEFF 0x1aa4
43661 #define A_XGMAC_PORT_HSS_TXD_TAP2_COEFF 0x1aa8
43662 #define A_XGMAC_PORT_HSS_TXD_PWR 0x1ab0
43663 #define A_XGMAC_PORT_HSS_TXD_POLARITY 0x1ab4
43664 #define A_XGMAC_PORT_HSS_TXD_8023AP_AE_CMD 0x1ab8
43665 #define A_XGMAC_PORT_HSS_TXD_8023AP_AE_STATUS 0x1abc
43666 #define A_XGMAC_PORT_HSS_TXD_TAP0_IDAC_OVR 0x1ac0
43667 #define A_XGMAC_PORT_HSS_TXD_TAP1_IDAC_OVR 0x1ac4
43668 #define A_XGMAC_PORT_HSS_TXD_TAP2_IDAC_OVR 0x1ac8
43669 #define A_XGMAC_PORT_HSS_TXD_PWR_DAC_OVR 0x1ad0
43670 #define A_XGMAC_PORT_HSS_TXD_PWR_DAC 0x1ad4
43671 #define A_XGMAC_PORT_HSS_TXD_TAP0_IDAC_APP 0x1ae0
43672 #define A_XGMAC_PORT_HSS_TXD_TAP1_IDAC_APP 0x1ae4
43673 #define A_XGMAC_PORT_HSS_TXD_TAP2_IDAC_APP 0x1ae8
43674 #define A_XGMAC_PORT_HSS_TXD_SEG_DIS_APP 0x1af0
43675 #define A_XGMAC_PORT_HSS_TXD_EXT_ADDR_DATA 0x1af8
43676 #define A_XGMAC_PORT_HSS_TXD_EXT_ADDR 0x1afc
43677 #define A_XGMAC_PORT_HSS_RXC_CFG_MODE 0x1b00
43678 #define A_XGMAC_PORT_HSS_RXC_TEST_CTRL 0x1b04
43679 #define A_XGMAC_PORT_HSS_RXC_PH_ROTATOR_CTRL 0x1b08
43680 #define A_XGMAC_PORT_HSS_RXC_PH_ROTATOR_OFFSET_CTRL 0x1b0c
43681 #define A_XGMAC_PORT_HSS_RXC_PH_ROTATOR_POSITION1 0x1b10
43682 #define A_XGMAC_PORT_HSS_RXC_PH_ROTATOR_POSITION2 0x1b14
43683 #define A_XGMAC_PORT_HSS_RXC_PH_ROTATOR_STATIC_PH_OFFSET 0x1b18
43684 #define A_XGMAC_PORT_HSS_RXC_SIGDET_CTRL 0x1b1c
43685 #define A_XGMAC_PORT_HSS_RXC_DFE_CTRL 0x1b20
43686 #define A_XGMAC_PORT_HSS_RXC_DFE_DATA_EDGE_SAMPLE 0x1b24
43687 #define A_XGMAC_PORT_HSS_RXC_DFE_AMP_SAMPLE 0x1b28
43688 #define A_XGMAC_PORT_HSS_RXC_VGA_CTRL1 0x1b2c
43689 #define A_XGMAC_PORT_HSS_RXC_VGA_CTRL2 0x1b30
43690 #define A_XGMAC_PORT_HSS_RXC_VGA_CTRL3 0x1b34
43691 #define A_XGMAC_PORT_HSS_RXC_DFE_D00_D01_OFFSET 0x1b38
43692 #define A_XGMAC_PORT_HSS_RXC_DFE_D10_D11_OFFSET 0x1b3c
43693 #define A_XGMAC_PORT_HSS_RXC_DFE_E0_E1_OFFSET 0x1b40
43694 #define A_XGMAC_PORT_HSS_RXC_DACA_OFFSET 0x1b44
43695 #define A_XGMAC_PORT_HSS_RXC_DACAP_DAC_AN_OFFSET 0x1b48
43696 #define A_XGMAC_PORT_HSS_RXC_DACA_MIN 0x1b4c
43697 #define A_XGMAC_PORT_HSS_RXC_ADAC_CTRL 0x1b50
43698 #define A_XGMAC_PORT_HSS_RXC_DIGITAL_EYE_CTRL 0x1b54
43699 #define A_XGMAC_PORT_HSS_RXC_DIGITAL_EYE_METRICS 0x1b58
43700 #define A_XGMAC_PORT_HSS_RXC_DFE_H1 0x1b5c
43701 #define A_XGMAC_PORT_HSS_RXC_DFE_H2 0x1b60
43702 #define A_XGMAC_PORT_HSS_RXC_DFE_H3 0x1b64
43703 #define A_XGMAC_PORT_HSS_RXC_DFE_H4 0x1b68
43704 #define A_XGMAC_PORT_HSS_RXC_DFE_H5 0x1b6c
43705 #define A_XGMAC_PORT_HSS_RXC_DAC_DPC 0x1b70
43706 #define A_XGMAC_PORT_HSS_RXC_DDC 0x1b74
43707 #define A_XGMAC_PORT_HSS_RXC_INTERNAL_STATUS 0x1b78
43708 #define A_XGMAC_PORT_HSS_RXC_DFE_FUNC_CTRL 0x1b7c
43709 #define A_XGMAC_PORT_HSS_RXD_CFG_MODE 0x1b80
43710 #define A_XGMAC_PORT_HSS_RXD_TEST_CTRL 0x1b84
43711 #define A_XGMAC_PORT_HSS_RXD_PH_ROTATOR_CTRL 0x1b88
43712 #define A_XGMAC_PORT_HSS_RXD_PH_ROTATOR_OFFSET_CTRL 0x1b8c
43713 #define A_XGMAC_PORT_HSS_RXD_PH_ROTATOR_POSITION1 0x1b90
43714 #define A_XGMAC_PORT_HSS_RXD_PH_ROTATOR_POSITION2 0x1b94
43715 #define A_XGMAC_PORT_HSS_RXD_PH_ROTATOR_STATIC_PH_OFFSET 0x1b98
43716 #define A_XGMAC_PORT_HSS_RXD_SIGDET_CTRL 0x1b9c
43717 #define A_XGMAC_PORT_HSS_RXD_DFE_CTRL 0x1ba0
43718 #define A_XGMAC_PORT_HSS_RXD_DFE_DATA_EDGE_SAMPLE 0x1ba4
43719 #define A_XGMAC_PORT_HSS_RXD_DFE_AMP_SAMPLE 0x1ba8
43720 #define A_XGMAC_PORT_HSS_RXD_VGA_CTRL1 0x1bac
43721 #define A_XGMAC_PORT_HSS_RXD_VGA_CTRL2 0x1bb0
43722 #define A_XGMAC_PORT_HSS_RXD_VGA_CTRL3 0x1bb4
43723 #define A_XGMAC_PORT_HSS_RXD_DFE_D00_D01_OFFSET 0x1bb8
43724 #define A_XGMAC_PORT_HSS_RXD_DFE_D10_D11_OFFSET 0x1bbc
43725 #define A_XGMAC_PORT_HSS_RXD_DFE_E0_E1_OFFSET 0x1bc0
43726 #define A_XGMAC_PORT_HSS_RXD_DACA_OFFSET 0x1bc4
43727 #define A_XGMAC_PORT_HSS_RXD_DACAP_DAC_AN_OFFSET 0x1bc8
43728 #define A_XGMAC_PORT_HSS_RXD_DACA_MIN 0x1bcc
43729 #define A_XGMAC_PORT_HSS_RXD_ADAC_CTRL 0x1bd0
43730 #define A_XGMAC_PORT_HSS_RXD_DIGITAL_EYE_CTRL 0x1bd4
43731 #define A_XGMAC_PORT_HSS_RXD_DIGITAL_EYE_METRICS 0x1bd8
43732 #define A_XGMAC_PORT_HSS_RXD_DFE_H1 0x1bdc
43733 #define A_XGMAC_PORT_HSS_RXD_DFE_H2 0x1be0
43734 #define A_XGMAC_PORT_HSS_RXD_DFE_H3 0x1be4
43735 #define A_XGMAC_PORT_HSS_RXD_DFE_H4 0x1be8
43736 #define A_XGMAC_PORT_HSS_RXD_DFE_H5 0x1bec
43737 #define A_XGMAC_PORT_HSS_RXD_DAC_DPC 0x1bf0
43738 #define A_XGMAC_PORT_HSS_RXD_DDC 0x1bf4
43739 #define A_XGMAC_PORT_HSS_RXD_INTERNAL_STATUS 0x1bf8
43740 #define A_XGMAC_PORT_HSS_RXD_DFE_FUNC_CTRL 0x1bfc
43741 #define A_XGMAC_PORT_HSS_VCO_COARSE_CALIBRATION_0 0x1c00
43744 #define M_BSELO 0xfU
43745 #define V_BSELO(x) ((x) << S_BSELO)
43746 #define G_BSELO(x) (((x) >> S_BSELO) & M_BSELO)
43748 #define A_XGMAC_PORT_HSS_VCO_COARSE_CALIBRATION_1 0x1c04
43751 #define V_LDET(x) ((x) << S_LDET)
43752 #define F_LDET V_LDET(1U)
43755 #define V_CCERR(x) ((x) << S_CCERR)
43756 #define F_CCERR V_CCERR(1U)
43759 #define V_CCCMP(x) ((x) << S_CCCMP)
43760 #define F_CCCMP V_CCCMP(1U)
43762 #define A_XGMAC_PORT_HSS_VCO_COARSE_CALIBRATION_2 0x1c08
43765 #define M_BSELI 0xfU
43766 #define V_BSELI(x) ((x) << S_BSELI)
43767 #define G_BSELI(x) (((x) >> S_BSELI) & M_BSELI)
43769 #define A_XGMAC_PORT_HSS_VCO_COARSE_CALIBRATION_3 0x1c0c
43772 #define V_VISEL(x) ((x) << S_VISEL)
43773 #define F_VISEL V_VISEL(1U)
43776 #define V_FMIN(x) ((x) << S_FMIN)
43777 #define F_FMIN V_FMIN(1U)
43780 #define V_FMAX(x) ((x) << S_FMAX)
43781 #define F_FMAX V_FMAX(1U)
43784 #define V_CVHOLD(x) ((x) << S_CVHOLD)
43785 #define F_CVHOLD V_CVHOLD(1U)
43788 #define V_TCDIS(x) ((x) << S_TCDIS)
43789 #define F_TCDIS V_TCDIS(1U)
43791 #define A_XGMAC_PORT_HSS_VCO_COARSE_CALIBRATION_4 0x1c10
43794 #define V_CMETH(x) ((x) << S_CMETH)
43795 #define F_CMETH V_CMETH(1U)
43798 #define V_RECAL(x) ((x) << S_RECAL)
43799 #define F_RECAL V_RECAL(1U)
43802 #define V_CCLD(x) ((x) << S_CCLD)
43803 #define F_CCLD V_CCLD(1U)
43805 #define A_XGMAC_PORT_HSS_ANALOG_TEST_MUX 0x1c14
43808 #define M_ATST 0x1fU
43809 #define V_ATST(x) ((x) << S_ATST)
43810 #define G_ATST(x) (((x) >> S_ATST) & M_ATST)
43812 #define A_XGMAC_PORT_HSS_PORT_EN_0 0x1c18
43815 #define V_RXDEN(x) ((x) << S_RXDEN)
43816 #define F_RXDEN V_RXDEN(1U)
43819 #define V_RXCEN(x) ((x) << S_RXCEN)
43820 #define F_RXCEN V_RXCEN(1U)
43823 #define V_TXDEN(x) ((x) << S_TXDEN)
43824 #define F_TXDEN V_TXDEN(1U)
43827 #define V_TXCEN(x) ((x) << S_TXCEN)
43828 #define F_TXCEN V_TXCEN(1U)
43831 #define V_RXBEN(x) ((x) << S_RXBEN)
43832 #define F_RXBEN V_RXBEN(1U)
43835 #define V_RXAEN(x) ((x) << S_RXAEN)
43836 #define F_RXAEN V_RXAEN(1U)
43839 #define V_TXBEN(x) ((x) << S_TXBEN)
43840 #define F_TXBEN V_TXBEN(1U)
43843 #define V_TXAEN(x) ((x) << S_TXAEN)
43844 #define F_TXAEN V_TXAEN(1U)
43846 #define A_XGMAC_PORT_HSS_PORT_RESET_0 0x1c20
43849 #define V_RXDRST(x) ((x) << S_RXDRST)
43850 #define F_RXDRST V_RXDRST(1U)
43853 #define V_RXCRST(x) ((x) << S_RXCRST)
43854 #define F_RXCRST V_RXCRST(1U)
43857 #define V_TXDRST(x) ((x) << S_TXDRST)
43858 #define F_TXDRST V_TXDRST(1U)
43861 #define V_TXCRST(x) ((x) << S_TXCRST)
43862 #define F_TXCRST V_TXCRST(1U)
43865 #define V_RXBRST(x) ((x) << S_RXBRST)
43866 #define F_RXBRST V_RXBRST(1U)
43869 #define V_RXARST(x) ((x) << S_RXARST)
43870 #define F_RXARST V_RXARST(1U)
43873 #define V_TXBRST(x) ((x) << S_TXBRST)
43874 #define F_TXBRST V_TXBRST(1U)
43877 #define V_TXARST(x) ((x) << S_TXARST)
43878 #define F_TXARST V_TXARST(1U)
43880 #define A_XGMAC_PORT_HSS_CHARGE_PUMP_CTRL 0x1c28
43883 #define V_ENCPIS(x) ((x) << S_ENCPIS)
43884 #define F_ENCPIS V_ENCPIS(1U)
43887 #define M_CPISEL 0x3U
43888 #define V_CPISEL(x) ((x) << S_CPISEL)
43889 #define G_CPISEL(x) (((x) >> S_CPISEL) & M_CPISEL)
43891 #define A_XGMAC_PORT_HSS_BAND_GAP_CTRL 0x1c2c
43894 #define M_BGCTL 0x1fU
43895 #define V_BGCTL(x) ((x) << S_BGCTL)
43896 #define G_BGCTL(x) (((x) >> S_BGCTL) & M_BGCTL)
43898 #define A_XGMAC_PORT_HSS_LOFREQ_OVR 0x1c30
43901 #define V_LFREQ2(x) ((x) << S_LFREQ2)
43902 #define F_LFREQ2 V_LFREQ2(1U)
43905 #define V_LFREQ1(x) ((x) << S_LFREQ1)
43906 #define F_LFREQ1 V_LFREQ1(1U)
43909 #define V_LFREQO(x) ((x) << S_LFREQO)
43910 #define F_LFREQO V_LFREQO(1U)
43913 #define V_LFSEL(x) ((x) << S_LFSEL)
43914 #define F_LFSEL V_LFSEL(1U)
43916 #define A_XGMAC_PORT_HSS_VOLTAGE_BOOST_CTRL 0x1c38
43919 #define V_PFVAL(x) ((x) << S_PFVAL)
43920 #define F_PFVAL V_PFVAL(1U)
43923 #define V_PFEN(x) ((x) << S_PFEN)
43924 #define F_PFEN V_PFEN(1U)
43927 #define V_VBADJ(x) ((x) << S_VBADJ)
43928 #define F_VBADJ V_VBADJ(1U)
43930 #define A_XGMAC_PORT_HSS_TX_MODE_CFG 0x1c80
43931 #define A_XGMAC_PORT_HSS_TXTEST_CTRL 0x1c84
43932 #define A_XGMAC_PORT_HSS_TX_COEFF_CTRL 0x1c88
43933 #define A_XGMAC_PORT_HSS_TX_DRIVER_MODE 0x1c8c
43934 #define A_XGMAC_PORT_HSS_TX_DRIVER_OVR_CTRL 0x1c90
43935 #define A_XGMAC_PORT_HSS_TX_TDM_BIASGEN_STANDBY_TIMER 0x1c94
43936 #define A_XGMAC_PORT_HSS_TX_TDM_BIASGEN_PWRON_TIMER 0x1c98
43937 #define A_XGMAC_PORT_HSS_TX_TAP0_COEFF 0x1ca0
43938 #define A_XGMAC_PORT_HSS_TX_TAP1_COEFF 0x1ca4
43939 #define A_XGMAC_PORT_HSS_TX_TAP2_COEFF 0x1ca8
43940 #define A_XGMAC_PORT_HSS_TX_PWR 0x1cb0
43941 #define A_XGMAC_PORT_HSS_TX_POLARITY 0x1cb4
43942 #define A_XGMAC_PORT_HSS_TX_8023AP_AE_CMD 0x1cb8
43943 #define A_XGMAC_PORT_HSS_TX_8023AP_AE_STATUS 0x1cbc
43944 #define A_XGMAC_PORT_HSS_TX_TAP0_IDAC_OVR 0x1cc0
43945 #define A_XGMAC_PORT_HSS_TX_TAP1_IDAC_OVR 0x1cc4
43946 #define A_XGMAC_PORT_HSS_TX_TAP2_IDAC_OVR 0x1cc8
43947 #define A_XGMAC_PORT_HSS_TX_PWR_DAC_OVR 0x1cd0
43948 #define A_XGMAC_PORT_HSS_TX_PWR_DAC 0x1cd4
43949 #define A_XGMAC_PORT_HSS_TX_TAP0_IDAC_APP 0x1ce0
43950 #define A_XGMAC_PORT_HSS_TX_TAP1_IDAC_APP 0x1ce4
43951 #define A_XGMAC_PORT_HSS_TX_TAP2_IDAC_APP 0x1ce8
43952 #define A_XGMAC_PORT_HSS_TX_SEG_DIS_APP 0x1cf0
43953 #define A_XGMAC_PORT_HSS_TX_EXT_ADDR_DATA 0x1cf8
43954 #define A_XGMAC_PORT_HSS_TX_EXT_ADDR 0x1cfc
43955 #define A_XGMAC_PORT_HSS_RX_CFG_MODE 0x1d00
43956 #define A_XGMAC_PORT_HSS_RXTEST_CTRL 0x1d04
43957 #define A_XGMAC_PORT_HSS_RX_PH_ROTATOR_CTRL 0x1d08
43958 #define A_XGMAC_PORT_HSS_RX_PH_ROTATOR_OFFSET_CTRL 0x1d0c
43959 #define A_XGMAC_PORT_HSS_RX_PH_ROTATOR_POSITION1 0x1d10
43960 #define A_XGMAC_PORT_HSS_RX_PH_ROTATOR_POSITION2 0x1d14
43961 #define A_XGMAC_PORT_HSS_RX_PH_ROTATOR_STATIC_PH_OFFSET 0x1d18
43962 #define A_XGMAC_PORT_HSS_RX_SIGDET_CTRL 0x1d1c
43963 #define A_XGMAC_PORT_HSS_RX_DFE_CTRL 0x1d20
43964 #define A_XGMAC_PORT_HSS_RX_DFE_DATA_EDGE_SAMPLE 0x1d24
43965 #define A_XGMAC_PORT_HSS_RX_DFE_AMP_SAMPLE 0x1d28
43966 #define A_XGMAC_PORT_HSS_RX_VGA_CTRL1 0x1d2c
43967 #define A_XGMAC_PORT_HSS_RX_VGA_CTRL2 0x1d30
43968 #define A_XGMAC_PORT_HSS_RX_VGA_CTRL3 0x1d34
43969 #define A_XGMAC_PORT_HSS_RX_DFE_D00_D01_OFFSET 0x1d38
43970 #define A_XGMAC_PORT_HSS_RX_DFE_D10_D11_OFFSET 0x1d3c
43971 #define A_XGMAC_PORT_HSS_RX_DFE_E0_E1_OFFSET 0x1d40
43972 #define A_XGMAC_PORT_HSS_RX_DACA_OFFSET 0x1d44
43973 #define A_XGMAC_PORT_HSS_RX_DACAP_DAC_AN_OFFSET 0x1d48
43974 #define A_XGMAC_PORT_HSS_RX_DACA_MIN 0x1d4c
43975 #define A_XGMAC_PORT_HSS_RX_ADAC_CTRL 0x1d50
43976 #define A_XGMAC_PORT_HSS_RX_DIGITAL_EYE_CTRL 0x1d54
43977 #define A_XGMAC_PORT_HSS_RX_DIGITAL_EYE_METRICS 0x1d58
43978 #define A_XGMAC_PORT_HSS_RX_DFE_H1 0x1d5c
43979 #define A_XGMAC_PORT_HSS_RX_DFE_H2 0x1d60
43980 #define A_XGMAC_PORT_HSS_RX_DFE_H3 0x1d64
43981 #define A_XGMAC_PORT_HSS_RX_DFE_H4 0x1d68
43982 #define A_XGMAC_PORT_HSS_RX_DFE_H5 0x1d6c
43983 #define A_XGMAC_PORT_HSS_RX_DAC_DPC 0x1d70
43984 #define A_XGMAC_PORT_HSS_RX_DDC 0x1d74
43985 #define A_XGMAC_PORT_HSS_RX_INTERNAL_STATUS 0x1d78
43986 #define A_XGMAC_PORT_HSS_RX_DFE_FUNC_CTRL 0x1d7c
43987 #define A_XGMAC_PORT_HSS_TXRX_CFG_MODE 0x1e00
43988 #define A_XGMAC_PORT_HSS_TXRXTEST_CTRL 0x1e04
43990 /* registers for module UP */
43991 #define UP_BASE_ADDR 0x0
43993 #define A_UP_IBQ_CONFIG 0x0
43995 #define S_IBQGEN2 2
43996 #define M_IBQGEN2 0x3fffffffU
43997 #define V_IBQGEN2(x) ((x) << S_IBQGEN2)
43998 #define G_IBQGEN2(x) (((x) >> S_IBQGEN2) & M_IBQGEN2)
44000 #define S_IBQBUSY 1
44001 #define V_IBQBUSY(x) ((x) << S_IBQBUSY)
44002 #define F_IBQBUSY V_IBQBUSY(1U)
44005 #define V_IBQEN(x) ((x) << S_IBQEN)
44006 #define F_IBQEN V_IBQEN(1U)
44008 #define A_UP_OBQ_CONFIG 0x4
44010 #define S_OBQGEN2 2
44011 #define M_OBQGEN2 0x3fffffffU
44012 #define V_OBQGEN2(x) ((x) << S_OBQGEN2)
44013 #define G_OBQGEN2(x) (((x) >> S_OBQGEN2) & M_OBQGEN2)
44015 #define S_OBQBUSY 1
44016 #define V_OBQBUSY(x) ((x) << S_OBQBUSY)
44017 #define F_OBQBUSY V_OBQBUSY(1U)
44020 #define V_OBQEN(x) ((x) << S_OBQEN)
44021 #define F_OBQEN V_OBQEN(1U)
44023 #define A_UP_IBQ_GEN 0x8
44025 #define S_IBQGEN0 22
44026 #define M_IBQGEN0 0x3ffU
44027 #define V_IBQGEN0(x) ((x) << S_IBQGEN0)
44028 #define G_IBQGEN0(x) (((x) >> S_IBQGEN0) & M_IBQGEN0)
44030 #define S_IBQTSCHCHNLRDY 18
44031 #define M_IBQTSCHCHNLRDY 0xfU
44032 #define V_IBQTSCHCHNLRDY(x) ((x) << S_IBQTSCHCHNLRDY)
44033 #define G_IBQTSCHCHNLRDY(x) (((x) >> S_IBQTSCHCHNLRDY) & M_IBQTSCHCHNLRDY)
44035 #define S_IBQMBVFSTATUS 17
44036 #define V_IBQMBVFSTATUS(x) ((x) << S_IBQMBVFSTATUS)
44037 #define F_IBQMBVFSTATUS V_IBQMBVFSTATUS(1U)
44039 #define S_IBQMBSTATUS 16
44040 #define V_IBQMBSTATUS(x) ((x) << S_IBQMBSTATUS)
44041 #define F_IBQMBSTATUS V_IBQMBSTATUS(1U)
44043 #define S_IBQGEN1 6
44044 #define M_IBQGEN1 0x3ffU
44045 #define V_IBQGEN1(x) ((x) << S_IBQGEN1)
44046 #define G_IBQGEN1(x) (((x) >> S_IBQGEN1) & M_IBQGEN1)
44048 #define S_IBQEMPTY 0
44049 #define M_IBQEMPTY 0x3fU
44050 #define V_IBQEMPTY(x) ((x) << S_IBQEMPTY)
44051 #define G_IBQEMPTY(x) (((x) >> S_IBQEMPTY) & M_IBQEMPTY)
44053 #define A_UP_OBQ_GEN 0xc
44056 #define M_OBQGEN 0x3ffffffU
44057 #define V_OBQGEN(x) ((x) << S_OBQGEN)
44058 #define G_OBQGEN(x) (((x) >> S_OBQGEN) & M_OBQGEN)
44060 #define S_OBQFULL 0
44061 #define M_OBQFULL 0x3fU
44062 #define V_OBQFULL(x) ((x) << S_OBQFULL)
44063 #define G_OBQFULL(x) (((x) >> S_OBQFULL) & M_OBQFULL)
44065 #define S_T5_OBQGEN 8
44066 #define M_T5_OBQGEN 0xffffffU
44067 #define V_T5_OBQGEN(x) ((x) << S_T5_OBQGEN)
44068 #define G_T5_OBQGEN(x) (((x) >> S_T5_OBQGEN) & M_T5_OBQGEN)
44070 #define S_T5_OBQFULL 0
44071 #define M_T5_OBQFULL 0xffU
44072 #define V_T5_OBQFULL(x) ((x) << S_T5_OBQFULL)
44073 #define G_T5_OBQFULL(x) (((x) >> S_T5_OBQFULL) & M_T5_OBQFULL)
44075 #define A_UP_IBQ_0_RDADDR 0x10
44078 #define M_QUEID 0x7ffffU
44079 #define V_QUEID(x) ((x) << S_QUEID)
44080 #define G_QUEID(x) (((x) >> S_QUEID) & M_QUEID)
44082 #define S_IBQRDADDR 0
44083 #define M_IBQRDADDR 0x1fffU
44084 #define V_IBQRDADDR(x) ((x) << S_IBQRDADDR)
44085 #define G_IBQRDADDR(x) (((x) >> S_IBQRDADDR) & M_IBQRDADDR)
44087 #define A_UP_IBQ_0_WRADDR 0x14
44089 #define S_IBQWRADDR 0
44090 #define M_IBQWRADDR 0x1fffU
44091 #define V_IBQWRADDR(x) ((x) << S_IBQWRADDR)
44092 #define G_IBQWRADDR(x) (((x) >> S_IBQWRADDR) & M_IBQWRADDR)
44094 #define A_UP_IBQ_0_STATUS 0x18
44096 #define S_QUEERRFRAME 31
44097 #define V_QUEERRFRAME(x) ((x) << S_QUEERRFRAME)
44098 #define F_QUEERRFRAME V_QUEERRFRAME(1U)
44100 #define S_QUEREMFLITS 0
44101 #define M_QUEREMFLITS 0x7ffU
44102 #define V_QUEREMFLITS(x) ((x) << S_QUEREMFLITS)
44103 #define G_QUEREMFLITS(x) (((x) >> S_QUEREMFLITS) & M_QUEREMFLITS)
44105 #define A_UP_IBQ_0_PKTCNT 0x1c
44107 #define S_QUEEOPCNT 16
44108 #define M_QUEEOPCNT 0xfffU
44109 #define V_QUEEOPCNT(x) ((x) << S_QUEEOPCNT)
44110 #define G_QUEEOPCNT(x) (((x) >> S_QUEEOPCNT) & M_QUEEOPCNT)
44112 #define S_QUESOPCNT 0
44113 #define M_QUESOPCNT 0xfffU
44114 #define V_QUESOPCNT(x) ((x) << S_QUESOPCNT)
44115 #define G_QUESOPCNT(x) (((x) >> S_QUESOPCNT) & M_QUESOPCNT)
44117 #define A_UP_IBQ_1_RDADDR 0x20
44118 #define A_UP_IBQ_1_WRADDR 0x24
44119 #define A_UP_IBQ_1_STATUS 0x28
44120 #define A_UP_IBQ_1_PKTCNT 0x2c
44121 #define A_UP_IBQ_2_RDADDR 0x30
44122 #define A_UP_IBQ_2_WRADDR 0x34
44123 #define A_UP_IBQ_2_STATUS 0x38
44124 #define A_UP_IBQ_2_PKTCNT 0x3c
44125 #define A_UP_IBQ_3_RDADDR 0x40
44126 #define A_UP_IBQ_3_WRADDR 0x44
44127 #define A_UP_IBQ_3_STATUS 0x48
44128 #define A_UP_IBQ_3_PKTCNT 0x4c
44129 #define A_UP_IBQ_4_RDADDR 0x50
44130 #define A_UP_IBQ_4_WRADDR 0x54
44131 #define A_UP_IBQ_4_STATUS 0x58
44132 #define A_UP_IBQ_4_PKTCNT 0x5c
44133 #define A_UP_IBQ_5_RDADDR 0x60
44134 #define A_UP_IBQ_5_WRADDR 0x64
44135 #define A_UP_IBQ_5_STATUS 0x68
44136 #define A_UP_IBQ_5_PKTCNT 0x6c
44137 #define A_UP_OBQ_0_RDADDR 0x70
44140 #define M_OBQID 0x1ffffU
44141 #define V_OBQID(x) ((x) << S_OBQID)
44142 #define G_OBQID(x) (((x) >> S_OBQID) & M_OBQID)
44144 #define S_QUERDADDR 0
44145 #define M_QUERDADDR 0x7fffU
44146 #define V_QUERDADDR(x) ((x) << S_QUERDADDR)
44147 #define G_QUERDADDR(x) (((x) >> S_QUERDADDR) & M_QUERDADDR)
44149 #define A_UP_OBQ_0_WRADDR 0x74
44151 #define S_QUEWRADDR 0
44152 #define M_QUEWRADDR 0x7fffU
44153 #define V_QUEWRADDR(x) ((x) << S_QUEWRADDR)
44154 #define G_QUEWRADDR(x) (((x) >> S_QUEWRADDR) & M_QUEWRADDR)
44156 #define A_UP_OBQ_0_STATUS 0x78
44157 #define A_UP_OBQ_0_PKTCNT 0x7c
44158 #define A_UP_OBQ_1_RDADDR 0x80
44159 #define A_UP_OBQ_1_WRADDR 0x84
44160 #define A_UP_OBQ_1_STATUS 0x88
44161 #define A_UP_OBQ_1_PKTCNT 0x8c
44162 #define A_UP_OBQ_2_RDADDR 0x90
44163 #define A_UP_OBQ_2_WRADDR 0x94
44164 #define A_UP_OBQ_2_STATUS 0x98
44165 #define A_UP_OBQ_2_PKTCNT 0x9c
44166 #define A_UP_OBQ_3_RDADDR 0xa0
44167 #define A_UP_OBQ_3_WRADDR 0xa4
44168 #define A_UP_OBQ_3_STATUS 0xa8
44169 #define A_UP_OBQ_3_PKTCNT 0xac
44170 #define A_UP_OBQ_4_RDADDR 0xb0
44171 #define A_UP_OBQ_4_WRADDR 0xb4
44172 #define A_UP_OBQ_4_STATUS 0xb8
44173 #define A_UP_OBQ_4_PKTCNT 0xbc
44174 #define A_UP_OBQ_5_RDADDR 0xc0
44175 #define A_UP_OBQ_5_WRADDR 0xc4
44176 #define A_UP_OBQ_5_STATUS 0xc8
44177 #define A_UP_OBQ_5_PKTCNT 0xcc
44178 #define A_UP_IBQ_0_CONFIG 0xd0
44180 #define S_QUESIZE 26
44181 #define M_QUESIZE 0x3fU
44182 #define V_QUESIZE(x) ((x) << S_QUESIZE)
44183 #define G_QUESIZE(x) (((x) >> S_QUESIZE) & M_QUESIZE)
44185 #define S_QUEBASE 8
44186 #define M_QUEBASE 0x3fU
44187 #define V_QUEBASE(x) ((x) << S_QUEBASE)
44188 #define G_QUEBASE(x) (((x) >> S_QUEBASE) & M_QUEBASE)
44190 #define S_QUEDBG8BEN 7
44191 #define V_QUEDBG8BEN(x) ((x) << S_QUEDBG8BEN)
44192 #define F_QUEDBG8BEN V_QUEDBG8BEN(1U)
44194 #define S_QUEBAREADDR 0
44195 #define V_QUEBAREADDR(x) ((x) << S_QUEBAREADDR)
44196 #define F_QUEBAREADDR V_QUEBAREADDR(1U)
44198 #define S_QUE1KEN 6
44199 #define V_QUE1KEN(x) ((x) << S_QUE1KEN)
44200 #define F_QUE1KEN V_QUE1KEN(1U)
44202 #define A_UP_IBQ_0_REALADDR 0xd4
44204 #define S_QUERDADDRWRAP 31
44205 #define V_QUERDADDRWRAP(x) ((x) << S_QUERDADDRWRAP)
44206 #define F_QUERDADDRWRAP V_QUERDADDRWRAP(1U)
44208 #define S_QUEWRADDRWRAP 30
44209 #define V_QUEWRADDRWRAP(x) ((x) << S_QUEWRADDRWRAP)
44210 #define F_QUEWRADDRWRAP V_QUEWRADDRWRAP(1U)
44212 #define S_QUEMEMADDR 3
44213 #define M_QUEMEMADDR 0x7ffU
44214 #define V_QUEMEMADDR(x) ((x) << S_QUEMEMADDR)
44215 #define G_QUEMEMADDR(x) (((x) >> S_QUEMEMADDR) & M_QUEMEMADDR)
44217 #define A_UP_IBQ_1_CONFIG 0xd8
44218 #define A_UP_IBQ_1_REALADDR 0xdc
44219 #define A_UP_IBQ_2_CONFIG 0xe0
44220 #define A_UP_IBQ_2_REALADDR 0xe4
44221 #define A_UP_IBQ_3_CONFIG 0xe8
44222 #define A_UP_IBQ_3_REALADDR 0xec
44223 #define A_UP_IBQ_4_CONFIG 0xf0
44224 #define A_UP_IBQ_4_REALADDR 0xf4
44225 #define A_UP_IBQ_5_CONFIG 0xf8
44226 #define A_UP_IBQ_5_REALADDR 0xfc
44227 #define A_UP_OBQ_0_CONFIG 0x100
44228 #define A_UP_OBQ_0_REALADDR 0x104
44229 #define A_UP_OBQ_1_CONFIG 0x108
44230 #define A_UP_OBQ_1_REALADDR 0x10c
44231 #define A_UP_OBQ_2_CONFIG 0x110
44232 #define A_UP_OBQ_2_REALADDR 0x114
44233 #define A_UP_OBQ_3_CONFIG 0x118
44234 #define A_UP_OBQ_3_REALADDR 0x11c
44235 #define A_UP_OBQ_4_CONFIG 0x120
44236 #define A_UP_OBQ_4_REALADDR 0x124
44237 #define A_UP_OBQ_5_CONFIG 0x128
44238 #define A_UP_OBQ_5_REALADDR 0x12c
44239 #define A_UP_MAILBOX_STATUS 0x130
44241 #define S_MBGEN0 20
44242 #define M_MBGEN0 0xfffU
44243 #define V_MBGEN0(x) ((x) << S_MBGEN0)
44244 #define G_MBGEN0(x) (((x) >> S_MBGEN0) & M_MBGEN0)
44246 #define S_GENTIMERTRIGGER 16
44247 #define M_GENTIMERTRIGGER 0xfU
44248 #define V_GENTIMERTRIGGER(x) ((x) << S_GENTIMERTRIGGER)
44249 #define G_GENTIMERTRIGGER(x) (((x) >> S_GENTIMERTRIGGER) & M_GENTIMERTRIGGER)
44252 #define M_MBGEN1 0xffU
44253 #define V_MBGEN1(x) ((x) << S_MBGEN1)
44254 #define G_MBGEN1(x) (((x) >> S_MBGEN1) & M_MBGEN1)
44256 #define S_MBPFINT 0
44257 #define M_MBPFINT 0xffU
44258 #define V_MBPFINT(x) ((x) << S_MBPFINT)
44259 #define G_MBPFINT(x) (((x) >> S_MBPFINT) & M_MBPFINT)
44261 #define A_UP_UP_DBG_LA_CFG 0x140
44263 #define S_UPDBGLACAPTBUB 31
44264 #define V_UPDBGLACAPTBUB(x) ((x) << S_UPDBGLACAPTBUB)
44265 #define F_UPDBGLACAPTBUB V_UPDBGLACAPTBUB(1U)
44267 #define S_UPDBGLACAPTPCONLY 30
44268 #define V_UPDBGLACAPTPCONLY(x) ((x) << S_UPDBGLACAPTPCONLY)
44269 #define F_UPDBGLACAPTPCONLY V_UPDBGLACAPTPCONLY(1U)
44271 #define S_UPDBGLAMASKSTOP 29
44272 #define V_UPDBGLAMASKSTOP(x) ((x) << S_UPDBGLAMASKSTOP)
44273 #define F_UPDBGLAMASKSTOP V_UPDBGLAMASKSTOP(1U)
44275 #define S_UPDBGLAMASKTRIG 28
44276 #define V_UPDBGLAMASKTRIG(x) ((x) << S_UPDBGLAMASKTRIG)
44277 #define F_UPDBGLAMASKTRIG V_UPDBGLAMASKTRIG(1U)
44279 #define S_UPDBGLAWRPTR 16
44280 #define M_UPDBGLAWRPTR 0xfffU
44281 #define V_UPDBGLAWRPTR(x) ((x) << S_UPDBGLAWRPTR)
44282 #define G_UPDBGLAWRPTR(x) (((x) >> S_UPDBGLAWRPTR) & M_UPDBGLAWRPTR)
44284 #define S_UPDBGLARDPTR 2
44285 #define M_UPDBGLARDPTR 0xfffU
44286 #define V_UPDBGLARDPTR(x) ((x) << S_UPDBGLARDPTR)
44287 #define G_UPDBGLARDPTR(x) (((x) >> S_UPDBGLARDPTR) & M_UPDBGLARDPTR)
44289 #define S_UPDBGLARDEN 1
44290 #define V_UPDBGLARDEN(x) ((x) << S_UPDBGLARDEN)
44291 #define F_UPDBGLARDEN V_UPDBGLARDEN(1U)
44293 #define S_UPDBGLAEN 0
44294 #define V_UPDBGLAEN(x) ((x) << S_UPDBGLAEN)
44295 #define F_UPDBGLAEN V_UPDBGLAEN(1U)
44297 #define S_UPDBGLABUSY 14
44298 #define V_UPDBGLABUSY(x) ((x) << S_UPDBGLABUSY)
44299 #define F_UPDBGLABUSY V_UPDBGLABUSY(1U)
44301 #define A_UP_UP_DBG_LA_DATA 0x144
44302 #define A_UP_PIO_MST_CONFIG 0x148
44305 #define M_FLSRC 0x7U
44306 #define V_FLSRC(x) ((x) << S_FLSRC)
44307 #define G_FLSRC(x) (((x) >> S_FLSRC) & M_FLSRC)
44309 #define S_SEPROT 23
44310 #define V_SEPROT(x) ((x) << S_SEPROT)
44311 #define F_SEPROT V_SEPROT(1U)
44314 #define M_SESRC 0x7U
44315 #define V_SESRC(x) ((x) << S_SESRC)
44316 #define G_SESRC(x) (((x) >> S_SESRC) & M_SESRC)
44319 #define V_UPRGN(x) ((x) << S_UPRGN)
44320 #define F_UPRGN V_UPRGN(1U)
44323 #define M_UPPF 0x7U
44324 #define V_UPPF(x) ((x) << S_UPPF)
44325 #define G_UPPF(x) (((x) >> S_UPPF) & M_UPPF)
44328 #define M_UPRID 0xffffU
44329 #define V_UPRID(x) ((x) << S_UPRID)
44330 #define G_UPRID(x) (((x) >> S_UPRID) & M_UPRID)
44332 #define S_REQVFVLD 27
44333 #define V_REQVFVLD(x) ((x) << S_REQVFVLD)
44334 #define F_REQVFVLD V_REQVFVLD(1U)
44336 #define S_T5_UPRID 0
44337 #define M_T5_UPRID 0xffU
44338 #define V_T5_UPRID(x) ((x) << S_T5_UPRID)
44339 #define G_T5_UPRID(x) (((x) >> S_T5_UPRID) & M_T5_UPRID)
44341 #define S_T6_UPRID 0
44342 #define M_T6_UPRID 0x1ffU
44343 #define V_T6_UPRID(x) ((x) << S_T6_UPRID)
44344 #define G_T6_UPRID(x) (((x) >> S_T6_UPRID) & M_T6_UPRID)
44346 #define A_UP_UP_SELF_CONTROL 0x14c
44348 #define S_UPSELFRESET 0
44349 #define V_UPSELFRESET(x) ((x) << S_UPSELFRESET)
44350 #define F_UPSELFRESET V_UPSELFRESET(1U)
44352 #define A_UP_MAILBOX_PF0_CTL 0x180
44353 #define A_UP_MAILBOX_PF1_CTL 0x190
44354 #define A_UP_MAILBOX_PF2_CTL 0x1a0
44355 #define A_UP_MAILBOX_PF3_CTL 0x1b0
44356 #define A_UP_MAILBOX_PF4_CTL 0x1c0
44357 #define A_UP_MAILBOX_PF5_CTL 0x1d0
44358 #define A_UP_MAILBOX_PF6_CTL 0x1e0
44359 #define A_UP_MAILBOX_PF7_CTL 0x1f0
44360 #define A_UP_TSCH_CHNLN_CLASS_RDY 0x200
44362 #define S_ECO_15444_SGE_DB_BUSY 31
44363 #define V_ECO_15444_SGE_DB_BUSY(x) ((x) << S_ECO_15444_SGE_DB_BUSY)
44364 #define F_ECO_15444_SGE_DB_BUSY V_ECO_15444_SGE_DB_BUSY(1U)
44366 #define S_ECO_15444_PL_INTF_BUSY 30
44367 #define V_ECO_15444_PL_INTF_BUSY(x) ((x) << S_ECO_15444_PL_INTF_BUSY)
44368 #define F_ECO_15444_PL_INTF_BUSY V_ECO_15444_PL_INTF_BUSY(1U)
44370 #define S_TSCHCHNLCRDY 0
44371 #define M_TSCHCHNLCRDY 0x3fffffffU
44372 #define V_TSCHCHNLCRDY(x) ((x) << S_TSCHCHNLCRDY)
44373 #define G_TSCHCHNLCRDY(x) (((x) >> S_TSCHCHNLCRDY) & M_TSCHCHNLCRDY)
44375 #define A_UP_TSCH_CHNLN_CLASS_WATCH_RDY 0x204
44377 #define S_TSCHWRRLIMIT 16
44378 #define M_TSCHWRRLIMIT 0xffffU
44379 #define V_TSCHWRRLIMIT(x) ((x) << S_TSCHWRRLIMIT)
44380 #define G_TSCHWRRLIMIT(x) (((x) >> S_TSCHWRRLIMIT) & M_TSCHWRRLIMIT)
44382 #define S_TSCHCHNLCWRDY 0
44383 #define M_TSCHCHNLCWRDY 0xffffU
44384 #define V_TSCHCHNLCWRDY(x) ((x) << S_TSCHCHNLCWRDY)
44385 #define G_TSCHCHNLCWRDY(x) (((x) >> S_TSCHCHNLCWRDY) & M_TSCHCHNLCWRDY)
44387 #define A_UP_TSCH_CHNLN_CLASS_WATCH_LIST 0x208
44389 #define S_TSCHWRRRELOAD 16
44390 #define M_TSCHWRRRELOAD 0xffffU
44391 #define V_TSCHWRRRELOAD(x) ((x) << S_TSCHWRRRELOAD)
44392 #define G_TSCHWRRRELOAD(x) (((x) >> S_TSCHWRRRELOAD) & M_TSCHWRRRELOAD)
44394 #define S_TSCHCHNLCWATCH 0
44395 #define M_TSCHCHNLCWATCH 0xffffU
44396 #define V_TSCHCHNLCWATCH(x) ((x) << S_TSCHCHNLCWATCH)
44397 #define G_TSCHCHNLCWATCH(x) (((x) >> S_TSCHCHNLCWATCH) & M_TSCHCHNLCWATCH)
44399 #define A_UP_TSCH_CHNLN_CLASS_TAKE 0x20c
44401 #define S_TSCHCHNLCNUM 24
44402 #define M_TSCHCHNLCNUM 0x1fU
44403 #define V_TSCHCHNLCNUM(x) ((x) << S_TSCHCHNLCNUM)
44404 #define G_TSCHCHNLCNUM(x) (((x) >> S_TSCHCHNLCNUM) & M_TSCHCHNLCNUM)
44406 #define S_TSCHCHNLCCNT 0
44407 #define M_TSCHCHNLCCNT 0xffffffU
44408 #define V_TSCHCHNLCCNT(x) ((x) << S_TSCHCHNLCCNT)
44409 #define G_TSCHCHNLCCNT(x) (((x) >> S_TSCHCHNLCCNT) & M_TSCHCHNLCCNT)
44411 #define S_TSCHCHNLCHDIS 31
44412 #define V_TSCHCHNLCHDIS(x) ((x) << S_TSCHCHNLCHDIS)
44413 #define F_TSCHCHNLCHDIS V_TSCHCHNLCHDIS(1U)
44415 #define S_TSCHCHNLWDIS 30
44416 #define V_TSCHCHNLWDIS(x) ((x) << S_TSCHCHNLWDIS)
44417 #define F_TSCHCHNLWDIS V_TSCHCHNLWDIS(1U)
44419 #define S_TSCHCHNLCLDIS 29
44420 #define V_TSCHCHNLCLDIS(x) ((x) << S_TSCHCHNLCLDIS)
44421 #define F_TSCHCHNLCLDIS V_TSCHCHNLCLDIS(1U)
44423 #define A_UP_UPLADBGPCCHKDATA_0 0x240
44424 #define A_UP_UPLADBGPCCHKMASK_0 0x244
44425 #define A_UP_UPLADBGPCCHKDATA_1 0x250
44426 #define A_UP_UPLADBGPCCHKMASK_1 0x254
44427 #define A_UP_UPLADBGPCCHKDATA_2 0x260
44428 #define A_UP_UPLADBGPCCHKMASK_2 0x264
44429 #define A_UP_UPLADBGPCCHKDATA_3 0x270
44430 #define A_UP_UPLADBGPCCHKMASK_3 0x274
44431 #define A_UP_IBQ_0_SHADOW_RDADDR 0x280
44432 #define A_UP_IBQ_0_SHADOW_WRADDR 0x284
44433 #define A_UP_IBQ_0_SHADOW_STATUS 0x288
44434 #define A_UP_IBQ_0_SHADOW_PKTCNT 0x28c
44435 #define A_UP_IBQ_1_SHADOW_RDADDR 0x290
44436 #define A_UP_IBQ_1_SHADOW_WRADDR 0x294
44437 #define A_UP_IBQ_1_SHADOW_STATUS 0x298
44438 #define A_UP_IBQ_1_SHADOW_PKTCNT 0x29c
44439 #define A_UP_IBQ_2_SHADOW_RDADDR 0x2a0
44440 #define A_UP_IBQ_2_SHADOW_WRADDR 0x2a4
44441 #define A_UP_IBQ_2_SHADOW_STATUS 0x2a8
44442 #define A_UP_IBQ_2_SHADOW_PKTCNT 0x2ac
44443 #define A_UP_IBQ_3_SHADOW_RDADDR 0x2b0
44444 #define A_UP_IBQ_3_SHADOW_WRADDR 0x2b4
44445 #define A_UP_IBQ_3_SHADOW_STATUS 0x2b8
44446 #define A_UP_IBQ_3_SHADOW_PKTCNT 0x2bc
44447 #define A_UP_IBQ_4_SHADOW_RDADDR 0x2c0
44448 #define A_UP_IBQ_4_SHADOW_WRADDR 0x2c4
44449 #define A_UP_IBQ_4_SHADOW_STATUS 0x2c8
44450 #define A_UP_IBQ_4_SHADOW_PKTCNT 0x2cc
44451 #define A_UP_IBQ_5_SHADOW_RDADDR 0x2d0
44452 #define A_UP_IBQ_5_SHADOW_WRADDR 0x2d4
44453 #define A_UP_IBQ_5_SHADOW_STATUS 0x2d8
44454 #define A_UP_IBQ_5_SHADOW_PKTCNT 0x2dc
44455 #define A_UP_OBQ_0_SHADOW_RDADDR 0x2e0
44456 #define A_UP_OBQ_0_SHADOW_WRADDR 0x2e4
44457 #define A_UP_OBQ_0_SHADOW_STATUS 0x2e8
44458 #define A_UP_OBQ_0_SHADOW_PKTCNT 0x2ec
44459 #define A_UP_OBQ_1_SHADOW_RDADDR 0x2f0
44460 #define A_UP_OBQ_1_SHADOW_WRADDR 0x2f4
44461 #define A_UP_OBQ_1_SHADOW_STATUS 0x2f8
44462 #define A_UP_OBQ_1_SHADOW_PKTCNT 0x2fc
44463 #define A_UP_OBQ_2_SHADOW_RDADDR 0x300
44464 #define A_UP_OBQ_2_SHADOW_WRADDR 0x304
44465 #define A_UP_OBQ_2_SHADOW_STATUS 0x308
44466 #define A_UP_OBQ_2_SHADOW_PKTCNT 0x30c
44467 #define A_UP_OBQ_3_SHADOW_RDADDR 0x310
44468 #define A_UP_OBQ_3_SHADOW_WRADDR 0x314
44469 #define A_UP_OBQ_3_SHADOW_STATUS 0x318
44470 #define A_UP_OBQ_3_SHADOW_PKTCNT 0x31c
44471 #define A_UP_OBQ_4_SHADOW_RDADDR 0x320
44472 #define A_UP_OBQ_4_SHADOW_WRADDR 0x324
44473 #define A_UP_OBQ_4_SHADOW_STATUS 0x328
44474 #define A_UP_OBQ_4_SHADOW_PKTCNT 0x32c
44475 #define A_UP_OBQ_5_SHADOW_RDADDR 0x330
44476 #define A_UP_OBQ_5_SHADOW_WRADDR 0x334
44477 #define A_UP_OBQ_5_SHADOW_STATUS 0x338
44478 #define A_UP_OBQ_5_SHADOW_PKTCNT 0x33c
44479 #define A_UP_OBQ_6_SHADOW_RDADDR 0x340
44480 #define A_UP_OBQ_6_SHADOW_WRADDR 0x344
44481 #define A_UP_OBQ_6_SHADOW_STATUS 0x348
44482 #define A_UP_OBQ_6_SHADOW_PKTCNT 0x34c
44483 #define A_UP_OBQ_7_SHADOW_RDADDR 0x350
44484 #define A_UP_OBQ_7_SHADOW_WRADDR 0x354
44485 #define A_UP_OBQ_7_SHADOW_STATUS 0x358
44486 #define A_UP_OBQ_7_SHADOW_PKTCNT 0x35c
44487 #define A_UP_IBQ_0_SHADOW_CONFIG 0x360
44488 #define A_UP_IBQ_0_SHADOW_REALADDR 0x364
44489 #define A_UP_IBQ_1_SHADOW_CONFIG 0x368
44490 #define A_UP_IBQ_1_SHADOW_REALADDR 0x36c
44491 #define A_UP_IBQ_2_SHADOW_CONFIG 0x370
44492 #define A_UP_IBQ_2_SHADOW_REALADDR 0x374
44493 #define A_UP_IBQ_3_SHADOW_CONFIG 0x378
44494 #define A_UP_IBQ_3_SHADOW_REALADDR 0x37c
44495 #define A_UP_IBQ_4_SHADOW_CONFIG 0x380
44496 #define A_UP_IBQ_4_SHADOW_REALADDR 0x384
44497 #define A_UP_IBQ_5_SHADOW_CONFIG 0x388
44498 #define A_UP_IBQ_5_SHADOW_REALADDR 0x38c
44499 #define A_UP_OBQ_0_SHADOW_CONFIG 0x390
44500 #define A_UP_OBQ_0_SHADOW_REALADDR 0x394
44501 #define A_UP_OBQ_1_SHADOW_CONFIG 0x398
44502 #define A_UP_OBQ_1_SHADOW_REALADDR 0x39c
44503 #define A_UP_OBQ_2_SHADOW_CONFIG 0x3a0
44504 #define A_UP_OBQ_2_SHADOW_REALADDR 0x3a4
44505 #define A_UP_OBQ_3_SHADOW_CONFIG 0x3a8
44506 #define A_UP_OBQ_3_SHADOW_REALADDR 0x3ac
44507 #define A_UP_OBQ_4_SHADOW_CONFIG 0x3b0
44508 #define A_UP_OBQ_4_SHADOW_REALADDR 0x3b4
44509 #define A_UP_OBQ_5_SHADOW_CONFIG 0x3b8
44510 #define A_UP_OBQ_5_SHADOW_REALADDR 0x3bc
44511 #define A_UP_OBQ_6_SHADOW_CONFIG 0x3c0
44512 #define A_UP_OBQ_6_SHADOW_REALADDR 0x3c4
44513 #define A_UP_OBQ_7_SHADOW_CONFIG 0x3c8
44514 #define A_UP_OBQ_7_SHADOW_REALADDR 0x3cc
44516 /* registers for module CIM_CTL */
44517 #define CIM_CTL_BASE_ADDR 0x0
44519 #define A_CIM_CTL_CONFIG 0x0
44521 #define S_AUTOPREFLOC 17
44522 #define M_AUTOPREFLOC 0x1fU
44523 #define V_AUTOPREFLOC(x) ((x) << S_AUTOPREFLOC)
44524 #define G_AUTOPREFLOC(x) (((x) >> S_AUTOPREFLOC) & M_AUTOPREFLOC)
44526 #define S_AUTOPREFEN 16
44527 #define V_AUTOPREFEN(x) ((x) << S_AUTOPREFEN)
44528 #define F_AUTOPREFEN V_AUTOPREFEN(1U)
44530 #define S_DISMATIMEOUT 15
44531 #define V_DISMATIMEOUT(x) ((x) << S_DISMATIMEOUT)
44532 #define F_DISMATIMEOUT V_DISMATIMEOUT(1U)
44534 #define S_PIFMULTICMD 8
44535 #define V_PIFMULTICMD(x) ((x) << S_PIFMULTICMD)
44536 #define F_PIFMULTICMD V_PIFMULTICMD(1U)
44538 #define S_UPSELFRESETTOUT 7
44539 #define V_UPSELFRESETTOUT(x) ((x) << S_UPSELFRESETTOUT)
44540 #define F_UPSELFRESETTOUT V_UPSELFRESETTOUT(1U)
44542 #define S_PLSWAPDISWR 6
44543 #define V_PLSWAPDISWR(x) ((x) << S_PLSWAPDISWR)
44544 #define F_PLSWAPDISWR V_PLSWAPDISWR(1U)
44546 #define S_PLSWAPDISRD 5
44547 #define V_PLSWAPDISRD(x) ((x) << S_PLSWAPDISRD)
44548 #define F_PLSWAPDISRD V_PLSWAPDISRD(1U)
44551 #define V_PREFEN(x) ((x) << S_PREFEN)
44552 #define F_PREFEN V_PREFEN(1U)
44554 #define S_DISSLOWTIMEOUT 14
44555 #define V_DISSLOWTIMEOUT(x) ((x) << S_DISSLOWTIMEOUT)
44556 #define F_DISSLOWTIMEOUT V_DISSLOWTIMEOUT(1U)
44558 #define S_INTLRSPEN 9
44559 #define V_INTLRSPEN(x) ((x) << S_INTLRSPEN)
44560 #define F_INTLRSPEN V_INTLRSPEN(1U)
44562 #define A_CIM_CTL_PREFADDR 0x4
44563 #define A_CIM_CTL_ALLOCADDR 0x8
44564 #define A_CIM_CTL_INVLDTADDR 0xc
44565 #define A_CIM_CTL_STATIC_PREFADDR0 0x10
44566 #define A_CIM_CTL_STATIC_PREFADDR1 0x14
44567 #define A_CIM_CTL_STATIC_PREFADDR2 0x18
44568 #define A_CIM_CTL_STATIC_PREFADDR3 0x1c
44569 #define A_CIM_CTL_STATIC_PREFADDR4 0x20
44570 #define A_CIM_CTL_STATIC_PREFADDR5 0x24
44571 #define A_CIM_CTL_STATIC_PREFADDR6 0x28
44572 #define A_CIM_CTL_STATIC_PREFADDR7 0x2c
44573 #define A_CIM_CTL_STATIC_PREFADDR8 0x30
44574 #define A_CIM_CTL_STATIC_PREFADDR9 0x34
44575 #define A_CIM_CTL_STATIC_PREFADDR10 0x38
44576 #define A_CIM_CTL_STATIC_PREFADDR11 0x3c
44577 #define A_CIM_CTL_STATIC_PREFADDR12 0x40
44578 #define A_CIM_CTL_STATIC_PREFADDR13 0x44
44579 #define A_CIM_CTL_STATIC_PREFADDR14 0x48
44580 #define A_CIM_CTL_STATIC_PREFADDR15 0x4c
44581 #define A_CIM_CTL_STATIC_ALLOCADDR0 0x50
44582 #define A_CIM_CTL_STATIC_ALLOCADDR1 0x54
44583 #define A_CIM_CTL_STATIC_ALLOCADDR2 0x58
44584 #define A_CIM_CTL_STATIC_ALLOCADDR3 0x5c
44585 #define A_CIM_CTL_STATIC_ALLOCADDR4 0x60
44586 #define A_CIM_CTL_STATIC_ALLOCADDR5 0x64
44587 #define A_CIM_CTL_STATIC_ALLOCADDR6 0x68
44588 #define A_CIM_CTL_STATIC_ALLOCADDR7 0x6c
44589 #define A_CIM_CTL_STATIC_ALLOCADDR8 0x70
44590 #define A_CIM_CTL_STATIC_ALLOCADDR9 0x74
44591 #define A_CIM_CTL_STATIC_ALLOCADDR10 0x78
44592 #define A_CIM_CTL_STATIC_ALLOCADDR11 0x7c
44593 #define A_CIM_CTL_STATIC_ALLOCADDR12 0x80
44594 #define A_CIM_CTL_STATIC_ALLOCADDR13 0x84
44595 #define A_CIM_CTL_STATIC_ALLOCADDR14 0x88
44596 #define A_CIM_CTL_STATIC_ALLOCADDR15 0x8c
44597 #define A_CIM_CTL_FIFO_CNT 0x90
44599 #define S_CTLFIFOCNT 0
44600 #define M_CTLFIFOCNT 0xfU
44601 #define V_CTLFIFOCNT(x) ((x) << S_CTLFIFOCNT)
44602 #define G_CTLFIFOCNT(x) (((x) >> S_CTLFIFOCNT) & M_CTLFIFOCNT)
44604 #define A_CIM_CTL_GLB_TIMER 0x94
44605 #define A_CIM_CTL_TIMER0 0x98
44606 #define A_CIM_CTL_TIMER1 0x9c
44607 #define A_CIM_CTL_GEN0 0xa0
44608 #define A_CIM_CTL_GEN1 0xa4
44609 #define A_CIM_CTL_GEN2 0xa8
44610 #define A_CIM_CTL_GEN3 0xac
44611 #define A_CIM_CTL_GLB_TIMER_TICK 0xb0
44612 #define A_CIM_CTL_GEN_TIMER0_CTL 0xb4
44614 #define S_GENTIMERRUN 7
44615 #define V_GENTIMERRUN(x) ((x) << S_GENTIMERRUN)
44616 #define F_GENTIMERRUN V_GENTIMERRUN(1U)
44618 #define S_GENTIMERTRIG 6
44619 #define V_GENTIMERTRIG(x) ((x) << S_GENTIMERTRIG)
44620 #define F_GENTIMERTRIG V_GENTIMERTRIG(1U)
44622 #define S_GENTIMERACT 4
44623 #define M_GENTIMERACT 0x3U
44624 #define V_GENTIMERACT(x) ((x) << S_GENTIMERACT)
44625 #define G_GENTIMERACT(x) (((x) >> S_GENTIMERACT) & M_GENTIMERACT)
44627 #define S_GENTIMERCFG 2
44628 #define M_GENTIMERCFG 0x3U
44629 #define V_GENTIMERCFG(x) ((x) << S_GENTIMERCFG)
44630 #define G_GENTIMERCFG(x) (((x) >> S_GENTIMERCFG) & M_GENTIMERCFG)
44632 #define S_GENTIMERSTOP 1
44633 #define V_GENTIMERSTOP(x) ((x) << S_GENTIMERSTOP)
44634 #define F_GENTIMERSTOP V_GENTIMERSTOP(1U)
44636 #define S_GENTIMERSTRT 0
44637 #define V_GENTIMERSTRT(x) ((x) << S_GENTIMERSTRT)
44638 #define F_GENTIMERSTRT V_GENTIMERSTRT(1U)
44640 #define A_CIM_CTL_GEN_TIMER0 0xb8
44641 #define A_CIM_CTL_GEN_TIMER1_CTL 0xbc
44642 #define A_CIM_CTL_GEN_TIMER1 0xc0
44643 #define A_CIM_CTL_GEN_TIMER2_CTL 0xc4
44644 #define A_CIM_CTL_GEN_TIMER2 0xc8
44645 #define A_CIM_CTL_GEN_TIMER3_CTL 0xcc
44646 #define A_CIM_CTL_GEN_TIMER3 0xd0
44647 #define A_CIM_CTL_MAILBOX_VF_STATUS 0xe0
44648 #define A_CIM_CTL_MAILBOX_VFN_CTL 0x100
44649 #define A_CIM_CTL_TSCH_CHNLN_CTL 0x900
44651 #define S_TSCHNLEN 31
44652 #define V_TSCHNLEN(x) ((x) << S_TSCHNLEN)
44653 #define F_TSCHNLEN V_TSCHNLEN(1U)
44655 #define S_TSCHNRESET 30
44656 #define V_TSCHNRESET(x) ((x) << S_TSCHNRESET)
44657 #define F_TSCHNRESET V_TSCHNRESET(1U)
44659 #define S_T6_MIN_MAX_EN 29
44660 #define V_T6_MIN_MAX_EN(x) ((x) << S_T6_MIN_MAX_EN)
44661 #define F_T6_MIN_MAX_EN V_T6_MIN_MAX_EN(1U)
44663 #define A_CIM_CTL_TSCH_CHNLN_TICK 0x904
44665 #define S_TSCHNLTICK 0
44666 #define M_TSCHNLTICK 0xffffU
44667 #define V_TSCHNLTICK(x) ((x) << S_TSCHNLTICK)
44668 #define G_TSCHNLTICK(x) (((x) >> S_TSCHNLTICK) & M_TSCHNLTICK)
44670 #define A_CIM_CTL_TSCH_CHNLN_CLASS_RATECTL 0x904
44672 #define S_TSC15RATECTL 15
44673 #define V_TSC15RATECTL(x) ((x) << S_TSC15RATECTL)
44674 #define F_TSC15RATECTL V_TSC15RATECTL(1U)
44676 #define S_TSC14RATECTL 14
44677 #define V_TSC14RATECTL(x) ((x) << S_TSC14RATECTL)
44678 #define F_TSC14RATECTL V_TSC14RATECTL(1U)
44680 #define S_TSC13RATECTL 13
44681 #define V_TSC13RATECTL(x) ((x) << S_TSC13RATECTL)
44682 #define F_TSC13RATECTL V_TSC13RATECTL(1U)
44684 #define S_TSC12RATECTL 12
44685 #define V_TSC12RATECTL(x) ((x) << S_TSC12RATECTL)
44686 #define F_TSC12RATECTL V_TSC12RATECTL(1U)
44688 #define S_TSC11RATECTL 11
44689 #define V_TSC11RATECTL(x) ((x) << S_TSC11RATECTL)
44690 #define F_TSC11RATECTL V_TSC11RATECTL(1U)
44692 #define S_TSC10RATECTL 10
44693 #define V_TSC10RATECTL(x) ((x) << S_TSC10RATECTL)
44694 #define F_TSC10RATECTL V_TSC10RATECTL(1U)
44696 #define S_TSC9RATECTL 9
44697 #define V_TSC9RATECTL(x) ((x) << S_TSC9RATECTL)
44698 #define F_TSC9RATECTL V_TSC9RATECTL(1U)
44700 #define S_TSC8RATECTL 8
44701 #define V_TSC8RATECTL(x) ((x) << S_TSC8RATECTL)
44702 #define F_TSC8RATECTL V_TSC8RATECTL(1U)
44704 #define S_TSC7RATECTL 7
44705 #define V_TSC7RATECTL(x) ((x) << S_TSC7RATECTL)
44706 #define F_TSC7RATECTL V_TSC7RATECTL(1U)
44708 #define S_TSC6RATECTL 6
44709 #define V_TSC6RATECTL(x) ((x) << S_TSC6RATECTL)
44710 #define F_TSC6RATECTL V_TSC6RATECTL(1U)
44712 #define S_TSC5RATECTL 5
44713 #define V_TSC5RATECTL(x) ((x) << S_TSC5RATECTL)
44714 #define F_TSC5RATECTL V_TSC5RATECTL(1U)
44716 #define S_TSC4RATECTL 4
44717 #define V_TSC4RATECTL(x) ((x) << S_TSC4RATECTL)
44718 #define F_TSC4RATECTL V_TSC4RATECTL(1U)
44720 #define S_TSC3RATECTL 3
44721 #define V_TSC3RATECTL(x) ((x) << S_TSC3RATECTL)
44722 #define F_TSC3RATECTL V_TSC3RATECTL(1U)
44724 #define S_TSC2RATECTL 2
44725 #define V_TSC2RATECTL(x) ((x) << S_TSC2RATECTL)
44726 #define F_TSC2RATECTL V_TSC2RATECTL(1U)
44728 #define S_TSC1RATECTL 1
44729 #define V_TSC1RATECTL(x) ((x) << S_TSC1RATECTL)
44730 #define F_TSC1RATECTL V_TSC1RATECTL(1U)
44732 #define S_TSC0RATECTL 0
44733 #define V_TSC0RATECTL(x) ((x) << S_TSC0RATECTL)
44734 #define F_TSC0RATECTL V_TSC0RATECTL(1U)
44736 #define A_CIM_CTL_TSCH_CHNLN_CLASS_ENABLE_A 0x908
44738 #define S_TSC15WRREN 31
44739 #define V_TSC15WRREN(x) ((x) << S_TSC15WRREN)
44740 #define F_TSC15WRREN V_TSC15WRREN(1U)
44742 #define S_TSC15RATEEN 30
44743 #define V_TSC15RATEEN(x) ((x) << S_TSC15RATEEN)
44744 #define F_TSC15RATEEN V_TSC15RATEEN(1U)
44746 #define S_TSC14WRREN 29
44747 #define V_TSC14WRREN(x) ((x) << S_TSC14WRREN)
44748 #define F_TSC14WRREN V_TSC14WRREN(1U)
44750 #define S_TSC14RATEEN 28
44751 #define V_TSC14RATEEN(x) ((x) << S_TSC14RATEEN)
44752 #define F_TSC14RATEEN V_TSC14RATEEN(1U)
44754 #define S_TSC13WRREN 27
44755 #define V_TSC13WRREN(x) ((x) << S_TSC13WRREN)
44756 #define F_TSC13WRREN V_TSC13WRREN(1U)
44758 #define S_TSC13RATEEN 26
44759 #define V_TSC13RATEEN(x) ((x) << S_TSC13RATEEN)
44760 #define F_TSC13RATEEN V_TSC13RATEEN(1U)
44762 #define S_TSC12WRREN 25
44763 #define V_TSC12WRREN(x) ((x) << S_TSC12WRREN)
44764 #define F_TSC12WRREN V_TSC12WRREN(1U)
44766 #define S_TSC12RATEEN 24
44767 #define V_TSC12RATEEN(x) ((x) << S_TSC12RATEEN)
44768 #define F_TSC12RATEEN V_TSC12RATEEN(1U)
44770 #define S_TSC11WRREN 23
44771 #define V_TSC11WRREN(x) ((x) << S_TSC11WRREN)
44772 #define F_TSC11WRREN V_TSC11WRREN(1U)
44774 #define S_TSC11RATEEN 22
44775 #define V_TSC11RATEEN(x) ((x) << S_TSC11RATEEN)
44776 #define F_TSC11RATEEN V_TSC11RATEEN(1U)
44778 #define S_TSC10WRREN 21
44779 #define V_TSC10WRREN(x) ((x) << S_TSC10WRREN)
44780 #define F_TSC10WRREN V_TSC10WRREN(1U)
44782 #define S_TSC10RATEEN 20
44783 #define V_TSC10RATEEN(x) ((x) << S_TSC10RATEEN)
44784 #define F_TSC10RATEEN V_TSC10RATEEN(1U)
44786 #define S_TSC9WRREN 19
44787 #define V_TSC9WRREN(x) ((x) << S_TSC9WRREN)
44788 #define F_TSC9WRREN V_TSC9WRREN(1U)
44790 #define S_TSC9RATEEN 18
44791 #define V_TSC9RATEEN(x) ((x) << S_TSC9RATEEN)
44792 #define F_TSC9RATEEN V_TSC9RATEEN(1U)
44794 #define S_TSC8WRREN 17
44795 #define V_TSC8WRREN(x) ((x) << S_TSC8WRREN)
44796 #define F_TSC8WRREN V_TSC8WRREN(1U)
44798 #define S_TSC8RATEEN 16
44799 #define V_TSC8RATEEN(x) ((x) << S_TSC8RATEEN)
44800 #define F_TSC8RATEEN V_TSC8RATEEN(1U)
44802 #define S_TSC7WRREN 15
44803 #define V_TSC7WRREN(x) ((x) << S_TSC7WRREN)
44804 #define F_TSC7WRREN V_TSC7WRREN(1U)
44806 #define S_TSC7RATEEN 14
44807 #define V_TSC7RATEEN(x) ((x) << S_TSC7RATEEN)
44808 #define F_TSC7RATEEN V_TSC7RATEEN(1U)
44810 #define S_TSC6WRREN 13
44811 #define V_TSC6WRREN(x) ((x) << S_TSC6WRREN)
44812 #define F_TSC6WRREN V_TSC6WRREN(1U)
44814 #define S_TSC6RATEEN 12
44815 #define V_TSC6RATEEN(x) ((x) << S_TSC6RATEEN)
44816 #define F_TSC6RATEEN V_TSC6RATEEN(1U)
44818 #define S_TSC5WRREN 11
44819 #define V_TSC5WRREN(x) ((x) << S_TSC5WRREN)
44820 #define F_TSC5WRREN V_TSC5WRREN(1U)
44822 #define S_TSC5RATEEN 10
44823 #define V_TSC5RATEEN(x) ((x) << S_TSC5RATEEN)
44824 #define F_TSC5RATEEN V_TSC5RATEEN(1U)
44826 #define S_TSC4WRREN 9
44827 #define V_TSC4WRREN(x) ((x) << S_TSC4WRREN)
44828 #define F_TSC4WRREN V_TSC4WRREN(1U)
44830 #define S_TSC4RATEEN 8
44831 #define V_TSC4RATEEN(x) ((x) << S_TSC4RATEEN)
44832 #define F_TSC4RATEEN V_TSC4RATEEN(1U)
44834 #define S_TSC3WRREN 7
44835 #define V_TSC3WRREN(x) ((x) << S_TSC3WRREN)
44836 #define F_TSC3WRREN V_TSC3WRREN(1U)
44838 #define S_TSC3RATEEN 6
44839 #define V_TSC3RATEEN(x) ((x) << S_TSC3RATEEN)
44840 #define F_TSC3RATEEN V_TSC3RATEEN(1U)
44842 #define S_TSC2WRREN 5
44843 #define V_TSC2WRREN(x) ((x) << S_TSC2WRREN)
44844 #define F_TSC2WRREN V_TSC2WRREN(1U)
44846 #define S_TSC2RATEEN 4
44847 #define V_TSC2RATEEN(x) ((x) << S_TSC2RATEEN)
44848 #define F_TSC2RATEEN V_TSC2RATEEN(1U)
44850 #define S_TSC1WRREN 3
44851 #define V_TSC1WRREN(x) ((x) << S_TSC1WRREN)
44852 #define F_TSC1WRREN V_TSC1WRREN(1U)
44854 #define S_TSC1RATEEN 2
44855 #define V_TSC1RATEEN(x) ((x) << S_TSC1RATEEN)
44856 #define F_TSC1RATEEN V_TSC1RATEEN(1U)
44858 #define S_TSC0WRREN 1
44859 #define V_TSC0WRREN(x) ((x) << S_TSC0WRREN)
44860 #define F_TSC0WRREN V_TSC0WRREN(1U)
44862 #define S_TSC0RATEEN 0
44863 #define V_TSC0RATEEN(x) ((x) << S_TSC0RATEEN)
44864 #define F_TSC0RATEEN V_TSC0RATEEN(1U)
44866 #define A_CIM_CTL_TSCH_MIN_MAX_EN 0x90c
44868 #define S_MIN_MAX_EN 0
44869 #define V_MIN_MAX_EN(x) ((x) << S_MIN_MAX_EN)
44870 #define F_MIN_MAX_EN V_MIN_MAX_EN(1U)
44872 #define A_CIM_CTL_TSCH_CHNLN_RATE_LIMITER 0x910
44874 #define S_TSCHNLRATENEG 31
44875 #define V_TSCHNLRATENEG(x) ((x) << S_TSCHNLRATENEG)
44876 #define F_TSCHNLRATENEG V_TSCHNLRATENEG(1U)
44878 #define S_TSCHNLRATEL 0
44879 #define M_TSCHNLRATEL 0x7fffffffU
44880 #define V_TSCHNLRATEL(x) ((x) << S_TSCHNLRATEL)
44881 #define G_TSCHNLRATEL(x) (((x) >> S_TSCHNLRATEL) & M_TSCHNLRATEL)
44883 #define S_TSCHNLRATEPROT 30
44884 #define V_TSCHNLRATEPROT(x) ((x) << S_TSCHNLRATEPROT)
44885 #define F_TSCHNLRATEPROT V_TSCHNLRATEPROT(1U)
44887 #define S_T6_TSCHNLRATEL 0
44888 #define M_T6_TSCHNLRATEL 0x3fffffffU
44889 #define V_T6_TSCHNLRATEL(x) ((x) << S_T6_TSCHNLRATEL)
44890 #define G_T6_TSCHNLRATEL(x) (((x) >> S_T6_TSCHNLRATEL) & M_T6_TSCHNLRATEL)
44892 #define A_CIM_CTL_TSCH_CHNLN_RATE_PROPERTIES 0x914
44894 #define S_TSCHNLRMAX 16
44895 #define M_TSCHNLRMAX 0xffffU
44896 #define V_TSCHNLRMAX(x) ((x) << S_TSCHNLRMAX)
44897 #define G_TSCHNLRMAX(x) (((x) >> S_TSCHNLRMAX) & M_TSCHNLRMAX)
44899 #define S_TSCHNLRINCR 0
44900 #define M_TSCHNLRINCR 0xffffU
44901 #define V_TSCHNLRINCR(x) ((x) << S_TSCHNLRINCR)
44902 #define G_TSCHNLRINCR(x) (((x) >> S_TSCHNLRINCR) & M_TSCHNLRINCR)
44904 #define S_TSCHNLRTSEL 14
44905 #define M_TSCHNLRTSEL 0x3U
44906 #define V_TSCHNLRTSEL(x) ((x) << S_TSCHNLRTSEL)
44907 #define G_TSCHNLRTSEL(x) (((x) >> S_TSCHNLRTSEL) & M_TSCHNLRTSEL)
44909 #define S_T6_TSCHNLRINCR 0
44910 #define M_T6_TSCHNLRINCR 0x3fffU
44911 #define V_T6_TSCHNLRINCR(x) ((x) << S_T6_TSCHNLRINCR)
44912 #define G_T6_TSCHNLRINCR(x) (((x) >> S_T6_TSCHNLRINCR) & M_T6_TSCHNLRINCR)
44914 #define A_CIM_CTL_TSCH_CHNLN_WRR 0x918
44915 #define A_CIM_CTL_TSCH_CHNLN_WEIGHT 0x91c
44917 #define S_TSCHNLWEIGHT 0
44918 #define M_TSCHNLWEIGHT 0x3fffffU
44919 #define V_TSCHNLWEIGHT(x) ((x) << S_TSCHNLWEIGHT)
44920 #define G_TSCHNLWEIGHT(x) (((x) >> S_TSCHNLWEIGHT) & M_TSCHNLWEIGHT)
44922 #define A_CIM_CTL_TSCH_CHNLN_CLASSM_RATE_LIMITER 0x920
44924 #define S_TSCCLRATENEG 31
44925 #define V_TSCCLRATENEG(x) ((x) << S_TSCCLRATENEG)
44926 #define F_TSCCLRATENEG V_TSCCLRATENEG(1U)
44928 #define S_TSCCLRATEL 0
44929 #define M_TSCCLRATEL 0xffffffU
44930 #define V_TSCCLRATEL(x) ((x) << S_TSCCLRATEL)
44931 #define G_TSCCLRATEL(x) (((x) >> S_TSCCLRATEL) & M_TSCCLRATEL)
44933 #define S_TSCCLRATEPROT 30
44934 #define V_TSCCLRATEPROT(x) ((x) << S_TSCCLRATEPROT)
44935 #define F_TSCCLRATEPROT V_TSCCLRATEPROT(1U)
44937 #define A_CIM_CTL_TSCH_CHNLN_CLASSM_RATE_PROPERTIES 0x924
44939 #define S_TSCCLRMAX 16
44940 #define M_TSCCLRMAX 0xffffU
44941 #define V_TSCCLRMAX(x) ((x) << S_TSCCLRMAX)
44942 #define G_TSCCLRMAX(x) (((x) >> S_TSCCLRMAX) & M_TSCCLRMAX)
44944 #define S_TSCCLRINCR 0
44945 #define M_TSCCLRINCR 0xffffU
44946 #define V_TSCCLRINCR(x) ((x) << S_TSCCLRINCR)
44947 #define G_TSCCLRINCR(x) (((x) >> S_TSCCLRINCR) & M_TSCCLRINCR)
44949 #define S_TSCCLRTSEL 14
44950 #define M_TSCCLRTSEL 0x3U
44951 #define V_TSCCLRTSEL(x) ((x) << S_TSCCLRTSEL)
44952 #define G_TSCCLRTSEL(x) (((x) >> S_TSCCLRTSEL) & M_TSCCLRTSEL)
44954 #define S_T6_TSCCLRINCR 0
44955 #define M_T6_TSCCLRINCR 0x3fffU
44956 #define V_T6_TSCCLRINCR(x) ((x) << S_T6_TSCCLRINCR)
44957 #define G_T6_TSCCLRINCR(x) (((x) >> S_T6_TSCCLRINCR) & M_T6_TSCCLRINCR)
44959 #define A_CIM_CTL_TSCH_CHNLN_CLASSM_WRR 0x928
44961 #define S_TSCCLWRRNEG 31
44962 #define V_TSCCLWRRNEG(x) ((x) << S_TSCCLWRRNEG)
44963 #define F_TSCCLWRRNEG V_TSCCLWRRNEG(1U)
44965 #define S_TSCCLWRR 0
44966 #define M_TSCCLWRR 0x3ffffffU
44967 #define V_TSCCLWRR(x) ((x) << S_TSCCLWRR)
44968 #define G_TSCCLWRR(x) (((x) >> S_TSCCLWRR) & M_TSCCLWRR)
44970 #define S_TSCCLWRRPROT 30
44971 #define V_TSCCLWRRPROT(x) ((x) << S_TSCCLWRRPROT)
44972 #define F_TSCCLWRRPROT V_TSCCLWRRPROT(1U)
44974 #define A_CIM_CTL_TSCH_CHNLN_CLASSM_WEIGHT 0x92c
44976 #define S_TSCCLWEIGHT 0
44977 #define M_TSCCLWEIGHT 0xffffU
44978 #define V_TSCCLWEIGHT(x) ((x) << S_TSCCLWEIGHT)
44979 #define G_TSCCLWEIGHT(x) (((x) >> S_TSCCLWEIGHT) & M_TSCCLWEIGHT)
44981 #define S_PAUSEVECSEL 28
44982 #define M_PAUSEVECSEL 0x3U
44983 #define V_PAUSEVECSEL(x) ((x) << S_PAUSEVECSEL)
44984 #define G_PAUSEVECSEL(x) (((x) >> S_PAUSEVECSEL) & M_PAUSEVECSEL)
44986 #define S_MPSPAUSEMASK 20
44987 #define M_MPSPAUSEMASK 0xffU
44988 #define V_MPSPAUSEMASK(x) ((x) << S_MPSPAUSEMASK)
44989 #define G_MPSPAUSEMASK(x) (((x) >> S_MPSPAUSEMASK) & M_MPSPAUSEMASK)
44991 #define A_CIM_CTL_TSCH_TICK0 0xd80
44992 #define A_CIM_CTL_MAILBOX_PF0_CTL 0xd84
44993 #define A_CIM_CTL_TSCH_TICK1 0xd84
44994 #define A_CIM_CTL_MAILBOX_PF1_CTL 0xd88
44995 #define A_CIM_CTL_TSCH_TICK2 0xd88
44996 #define A_CIM_CTL_MAILBOX_PF2_CTL 0xd8c
44997 #define A_CIM_CTL_TSCH_TICK3 0xd8c
44998 #define A_CIM_CTL_MAILBOX_PF3_CTL 0xd90
44999 #define A_T6_CIM_CTL_MAILBOX_PF0_CTL 0xd90
45000 #define A_CIM_CTL_MAILBOX_PF4_CTL 0xd94
45001 #define A_T6_CIM_CTL_MAILBOX_PF1_CTL 0xd94
45002 #define A_CIM_CTL_MAILBOX_PF5_CTL 0xd98
45003 #define A_T6_CIM_CTL_MAILBOX_PF2_CTL 0xd98
45004 #define A_CIM_CTL_MAILBOX_PF6_CTL 0xd9c
45005 #define A_T6_CIM_CTL_MAILBOX_PF3_CTL 0xd9c
45006 #define A_CIM_CTL_MAILBOX_PF7_CTL 0xda0
45007 #define A_T6_CIM_CTL_MAILBOX_PF4_CTL 0xda0
45008 #define A_CIM_CTL_MAILBOX_CTL_OWNER_COPY 0xda4
45010 #define S_PF7_OWNER_PL 15
45011 #define V_PF7_OWNER_PL(x) ((x) << S_PF7_OWNER_PL)
45012 #define F_PF7_OWNER_PL V_PF7_OWNER_PL(1U)
45014 #define S_PF6_OWNER_PL 14
45015 #define V_PF6_OWNER_PL(x) ((x) << S_PF6_OWNER_PL)
45016 #define F_PF6_OWNER_PL V_PF6_OWNER_PL(1U)
45018 #define S_PF5_OWNER_PL 13
45019 #define V_PF5_OWNER_PL(x) ((x) << S_PF5_OWNER_PL)
45020 #define F_PF5_OWNER_PL V_PF5_OWNER_PL(1U)
45022 #define S_PF4_OWNER_PL 12
45023 #define V_PF4_OWNER_PL(x) ((x) << S_PF4_OWNER_PL)
45024 #define F_PF4_OWNER_PL V_PF4_OWNER_PL(1U)
45026 #define S_PF3_OWNER_PL 11
45027 #define V_PF3_OWNER_PL(x) ((x) << S_PF3_OWNER_PL)
45028 #define F_PF3_OWNER_PL V_PF3_OWNER_PL(1U)
45030 #define S_PF2_OWNER_PL 10
45031 #define V_PF2_OWNER_PL(x) ((x) << S_PF2_OWNER_PL)
45032 #define F_PF2_OWNER_PL V_PF2_OWNER_PL(1U)
45034 #define S_PF1_OWNER_PL 9
45035 #define V_PF1_OWNER_PL(x) ((x) << S_PF1_OWNER_PL)
45036 #define F_PF1_OWNER_PL V_PF1_OWNER_PL(1U)
45038 #define S_PF0_OWNER_PL 8
45039 #define V_PF0_OWNER_PL(x) ((x) << S_PF0_OWNER_PL)
45040 #define F_PF0_OWNER_PL V_PF0_OWNER_PL(1U)
45042 #define S_PF7_OWNER_UP 7
45043 #define V_PF7_OWNER_UP(x) ((x) << S_PF7_OWNER_UP)
45044 #define F_PF7_OWNER_UP V_PF7_OWNER_UP(1U)
45046 #define S_PF6_OWNER_UP 6
45047 #define V_PF6_OWNER_UP(x) ((x) << S_PF6_OWNER_UP)
45048 #define F_PF6_OWNER_UP V_PF6_OWNER_UP(1U)
45050 #define S_PF5_OWNER_UP 5
45051 #define V_PF5_OWNER_UP(x) ((x) << S_PF5_OWNER_UP)
45052 #define F_PF5_OWNER_UP V_PF5_OWNER_UP(1U)
45054 #define S_PF4_OWNER_UP 4
45055 #define V_PF4_OWNER_UP(x) ((x) << S_PF4_OWNER_UP)
45056 #define F_PF4_OWNER_UP V_PF4_OWNER_UP(1U)
45058 #define S_PF3_OWNER_UP 3
45059 #define V_PF3_OWNER_UP(x) ((x) << S_PF3_OWNER_UP)
45060 #define F_PF3_OWNER_UP V_PF3_OWNER_UP(1U)
45062 #define S_PF2_OWNER_UP 2
45063 #define V_PF2_OWNER_UP(x) ((x) << S_PF2_OWNER_UP)
45064 #define F_PF2_OWNER_UP V_PF2_OWNER_UP(1U)
45066 #define S_PF1_OWNER_UP 1
45067 #define V_PF1_OWNER_UP(x) ((x) << S_PF1_OWNER_UP)
45068 #define F_PF1_OWNER_UP V_PF1_OWNER_UP(1U)
45070 #define S_PF0_OWNER_UP 0
45071 #define V_PF0_OWNER_UP(x) ((x) << S_PF0_OWNER_UP)
45072 #define F_PF0_OWNER_UP V_PF0_OWNER_UP(1U)
45074 #define A_T6_CIM_CTL_MAILBOX_PF5_CTL 0xda4
45075 #define A_CIM_CTL_PIO_MST_CONFIG 0xda8
45077 #define S_T5_CTLRID 0
45078 #define M_T5_CTLRID 0xffU
45079 #define V_T5_CTLRID(x) ((x) << S_T5_CTLRID)
45080 #define G_T5_CTLRID(x) (((x) >> S_T5_CTLRID) & M_T5_CTLRID)
45082 #define A_T6_CIM_CTL_MAILBOX_PF6_CTL 0xda8
45083 #define A_T6_CIM_CTL_MAILBOX_PF7_CTL 0xdac
45084 #define A_T6_CIM_CTL_MAILBOX_CTL_OWNER_COPY 0xdb0
45085 #define A_T6_CIM_CTL_PIO_MST_CONFIG 0xdb4
45087 #define S_T6_UPRID 0
45088 #define M_T6_UPRID 0x1ffU
45089 #define V_T6_UPRID(x) ((x) << S_T6_UPRID)
45090 #define G_T6_UPRID(x) (((x) >> S_T6_UPRID) & M_T6_UPRID)
45092 #define A_CIM_CTL_ULP_OBQ0_PAUSE_MASK 0xe00
45093 #define A_CIM_CTL_ULP_OBQ1_PAUSE_MASK 0xe04
45094 #define A_CIM_CTL_ULP_OBQ2_PAUSE_MASK 0xe08
45095 #define A_CIM_CTL_ULP_OBQ3_PAUSE_MASK 0xe0c
45096 #define A_CIM_CTL_ULP_OBQ_CONFIG 0xe10
45098 #define S_CH1_PRIO_EN 1
45099 #define V_CH1_PRIO_EN(x) ((x) << S_CH1_PRIO_EN)
45100 #define F_CH1_PRIO_EN V_CH1_PRIO_EN(1U)
45102 #define S_CH0_PRIO_EN 0
45103 #define V_CH0_PRIO_EN(x) ((x) << S_CH0_PRIO_EN)
45104 #define F_CH0_PRIO_EN V_CH0_PRIO_EN(1U)
45106 #define A_CIM_CTL_PIF_TIMEOUT 0xe40
45108 #define S_SLOW_TIMEOUT 16
45109 #define M_SLOW_TIMEOUT 0xffffU
45110 #define V_SLOW_TIMEOUT(x) ((x) << S_SLOW_TIMEOUT)
45111 #define G_SLOW_TIMEOUT(x) (((x) >> S_SLOW_TIMEOUT) & M_SLOW_TIMEOUT)
45113 #define S_MA_TIMEOUT 0
45114 #define M_MA_TIMEOUT 0xffffU
45115 #define V_MA_TIMEOUT(x) ((x) << S_MA_TIMEOUT)
45116 #define G_MA_TIMEOUT(x) (((x) >> S_MA_TIMEOUT) & M_MA_TIMEOUT)
45118 /* registers for module MAC */
45119 #define MAC_BASE_ADDR 0x0
45121 #define A_MAC_PORT_CFG 0x800
45123 #define S_MAC_CLK_SEL 29
45124 #define M_MAC_CLK_SEL 0x7U
45125 #define V_MAC_CLK_SEL(x) ((x) << S_MAC_CLK_SEL)
45126 #define G_MAC_CLK_SEL(x) (((x) >> S_MAC_CLK_SEL) & M_MAC_CLK_SEL)
45128 #define S_SMUXTXSEL 9
45129 #define V_SMUXTXSEL(x) ((x) << S_SMUXTXSEL)
45130 #define F_SMUXTXSEL V_SMUXTXSEL(1U)
45132 #define S_SMUXRXSEL 8
45133 #define V_SMUXRXSEL(x) ((x) << S_SMUXRXSEL)
45134 #define F_SMUXRXSEL V_SMUXRXSEL(1U)
45136 #define S_PORTSPEED 4
45137 #define M_PORTSPEED 0x3U
45138 #define V_PORTSPEED(x) ((x) << S_PORTSPEED)
45139 #define G_PORTSPEED(x) (((x) >> S_PORTSPEED) & M_PORTSPEED)
45141 #define S_ENA_ERR_RSP 28
45142 #define V_ENA_ERR_RSP(x) ((x) << S_ENA_ERR_RSP)
45143 #define F_ENA_ERR_RSP V_ENA_ERR_RSP(1U)
45145 #define S_DEBUG_CLR 25
45146 #define V_DEBUG_CLR(x) ((x) << S_DEBUG_CLR)
45147 #define F_DEBUG_CLR V_DEBUG_CLR(1U)
45149 #define S_PLL_SEL 23
45150 #define V_PLL_SEL(x) ((x) << S_PLL_SEL)
45151 #define F_PLL_SEL V_PLL_SEL(1U)
45153 #define S_PORT_MAP 20
45154 #define M_PORT_MAP 0x7U
45155 #define V_PORT_MAP(x) ((x) << S_PORT_MAP)
45156 #define G_PORT_MAP(x) (((x) >> S_PORT_MAP) & M_PORT_MAP)
45158 #define S_AEC_PAT_DATA 15
45159 #define V_AEC_PAT_DATA(x) ((x) << S_AEC_PAT_DATA)
45160 #define F_AEC_PAT_DATA V_AEC_PAT_DATA(1U)
45162 #define S_MACCLK_SEL 13
45163 #define V_MACCLK_SEL(x) ((x) << S_MACCLK_SEL)
45164 #define F_MACCLK_SEL V_MACCLK_SEL(1U)
45166 #define S_XGMII_SEL 12
45167 #define V_XGMII_SEL(x) ((x) << S_XGMII_SEL)
45168 #define F_XGMII_SEL V_XGMII_SEL(1U)
45170 #define S_DEBUG_PORT_SEL 10
45171 #define M_DEBUG_PORT_SEL 0x3U
45172 #define V_DEBUG_PORT_SEL(x) ((x) << S_DEBUG_PORT_SEL)
45173 #define G_DEBUG_PORT_SEL(x) (((x) >> S_DEBUG_PORT_SEL) & M_DEBUG_PORT_SEL)
45175 #define S_ENABLE_25G 7
45176 #define V_ENABLE_25G(x) ((x) << S_ENABLE_25G)
45177 #define F_ENABLE_25G V_ENABLE_25G(1U)
45179 #define S_ENABLE_50G 6
45180 #define V_ENABLE_50G(x) ((x) << S_ENABLE_50G)
45181 #define F_ENABLE_50G V_ENABLE_50G(1U)
45183 #define S_DEBUG_TX_RX_SEL 1
45184 #define V_DEBUG_TX_RX_SEL(x) ((x) << S_DEBUG_TX_RX_SEL)
45185 #define F_DEBUG_TX_RX_SEL V_DEBUG_TX_RX_SEL(1U)
45187 #define A_MAC_PORT_RESET_CTRL 0x804
45189 #define S_TWGDSK_HSSC16B 31
45190 #define V_TWGDSK_HSSC16B(x) ((x) << S_TWGDSK_HSSC16B)
45191 #define F_TWGDSK_HSSC16B V_TWGDSK_HSSC16B(1U)
45193 #define S_EEE_RESET 30
45194 #define V_EEE_RESET(x) ((x) << S_EEE_RESET)
45195 #define F_EEE_RESET V_EEE_RESET(1U)
45197 #define S_PTP_TIMER 29
45198 #define V_PTP_TIMER(x) ((x) << S_PTP_TIMER)
45199 #define F_PTP_TIMER V_PTP_TIMER(1U)
45201 #define S_MTIPREFRESET 28
45202 #define V_MTIPREFRESET(x) ((x) << S_MTIPREFRESET)
45203 #define F_MTIPREFRESET V_MTIPREFRESET(1U)
45205 #define S_MTIPTXFFRESET 27
45206 #define V_MTIPTXFFRESET(x) ((x) << S_MTIPTXFFRESET)
45207 #define F_MTIPTXFFRESET V_MTIPTXFFRESET(1U)
45209 #define S_MTIPRXFFRESET 26
45210 #define V_MTIPRXFFRESET(x) ((x) << S_MTIPRXFFRESET)
45211 #define F_MTIPRXFFRESET V_MTIPRXFFRESET(1U)
45213 #define S_MTIPREGRESET 25
45214 #define V_MTIPREGRESET(x) ((x) << S_MTIPREGRESET)
45215 #define F_MTIPREGRESET V_MTIPREGRESET(1U)
45217 #define S_AEC3RESET 23
45218 #define V_AEC3RESET(x) ((x) << S_AEC3RESET)
45219 #define F_AEC3RESET V_AEC3RESET(1U)
45221 #define S_AEC2RESET 22
45222 #define V_AEC2RESET(x) ((x) << S_AEC2RESET)
45223 #define F_AEC2RESET V_AEC2RESET(1U)
45225 #define S_AEC1RESET 21
45226 #define V_AEC1RESET(x) ((x) << S_AEC1RESET)
45227 #define F_AEC1RESET V_AEC1RESET(1U)
45229 #define S_AEC0RESET 20
45230 #define V_AEC0RESET(x) ((x) << S_AEC0RESET)
45231 #define F_AEC0RESET V_AEC0RESET(1U)
45233 #define S_AET3RESET 19
45234 #define V_AET3RESET(x) ((x) << S_AET3RESET)
45235 #define F_AET3RESET V_AET3RESET(1U)
45237 #define S_AET2RESET 18
45238 #define V_AET2RESET(x) ((x) << S_AET2RESET)
45239 #define F_AET2RESET V_AET2RESET(1U)
45241 #define S_AET1RESET 17
45242 #define V_AET1RESET(x) ((x) << S_AET1RESET)
45243 #define F_AET1RESET V_AET1RESET(1U)
45245 #define S_AET0RESET 16
45246 #define V_AET0RESET(x) ((x) << S_AET0RESET)
45247 #define F_AET0RESET V_AET0RESET(1U)
45249 #define S_TXIF_RESET 12
45250 #define V_TXIF_RESET(x) ((x) << S_TXIF_RESET)
45251 #define F_TXIF_RESET V_TXIF_RESET(1U)
45253 #define S_RXIF_RESET 11
45254 #define V_RXIF_RESET(x) ((x) << S_RXIF_RESET)
45255 #define F_RXIF_RESET V_RXIF_RESET(1U)
45257 #define S_MTIPSD3TXRST 9
45258 #define V_MTIPSD3TXRST(x) ((x) << S_MTIPSD3TXRST)
45259 #define F_MTIPSD3TXRST V_MTIPSD3TXRST(1U)
45261 #define S_MTIPSD2TXRST 8
45262 #define V_MTIPSD2TXRST(x) ((x) << S_MTIPSD2TXRST)
45263 #define F_MTIPSD2TXRST V_MTIPSD2TXRST(1U)
45265 #define S_MTIPSD1TXRST 7
45266 #define V_MTIPSD1TXRST(x) ((x) << S_MTIPSD1TXRST)
45267 #define F_MTIPSD1TXRST V_MTIPSD1TXRST(1U)
45269 #define S_MTIPSD0TXRST 6
45270 #define V_MTIPSD0TXRST(x) ((x) << S_MTIPSD0TXRST)
45271 #define F_MTIPSD0TXRST V_MTIPSD0TXRST(1U)
45273 #define S_MTIPSD3RXRST 5
45274 #define V_MTIPSD3RXRST(x) ((x) << S_MTIPSD3RXRST)
45275 #define F_MTIPSD3RXRST V_MTIPSD3RXRST(1U)
45277 #define S_MTIPSD2RXRST 4
45278 #define V_MTIPSD2RXRST(x) ((x) << S_MTIPSD2RXRST)
45279 #define F_MTIPSD2RXRST V_MTIPSD2RXRST(1U)
45281 #define S_MTIPSD1RXRST 3
45282 #define V_MTIPSD1RXRST(x) ((x) << S_MTIPSD1RXRST)
45283 #define F_MTIPSD1RXRST V_MTIPSD1RXRST(1U)
45285 #define S_MTIPSD0RXRST 1
45286 #define V_MTIPSD0RXRST(x) ((x) << S_MTIPSD0RXRST)
45287 #define F_MTIPSD0RXRST V_MTIPSD0RXRST(1U)
45289 #define S_MAC100G40G_RESET 27
45290 #define V_MAC100G40G_RESET(x) ((x) << S_MAC100G40G_RESET)
45291 #define F_MAC100G40G_RESET V_MAC100G40G_RESET(1U)
45293 #define S_MAC10G1G_RESET 26
45294 #define V_MAC10G1G_RESET(x) ((x) << S_MAC10G1G_RESET)
45295 #define F_MAC10G1G_RESET V_MAC10G1G_RESET(1U)
45297 #define S_PCS1G_RESET 24
45298 #define V_PCS1G_RESET(x) ((x) << S_PCS1G_RESET)
45299 #define F_PCS1G_RESET V_PCS1G_RESET(1U)
45301 #define S_PCS10G_RESET 15
45302 #define V_PCS10G_RESET(x) ((x) << S_PCS10G_RESET)
45303 #define F_PCS10G_RESET V_PCS10G_RESET(1U)
45305 #define S_PCS40G_RESET 14
45306 #define V_PCS40G_RESET(x) ((x) << S_PCS40G_RESET)
45307 #define F_PCS40G_RESET V_PCS40G_RESET(1U)
45309 #define S_PCS100G_RESET 13
45310 #define V_PCS100G_RESET(x) ((x) << S_PCS100G_RESET)
45311 #define F_PCS100G_RESET V_PCS100G_RESET(1U)
45313 #define A_MAC_PORT_LED_CFG 0x808
45315 #define S_LED1_CFG1 14
45316 #define M_LED1_CFG1 0x3U
45317 #define V_LED1_CFG1(x) ((x) << S_LED1_CFG1)
45318 #define G_LED1_CFG1(x) (((x) >> S_LED1_CFG1) & M_LED1_CFG1)
45320 #define S_LED0_CFG1 12
45321 #define M_LED0_CFG1 0x3U
45322 #define V_LED0_CFG1(x) ((x) << S_LED0_CFG1)
45323 #define G_LED0_CFG1(x) (((x) >> S_LED0_CFG1) & M_LED0_CFG1)
45325 #define S_LED1_TLO 11
45326 #define V_LED1_TLO(x) ((x) << S_LED1_TLO)
45327 #define F_LED1_TLO V_LED1_TLO(1U)
45329 #define S_LED1_THI 10
45330 #define V_LED1_THI(x) ((x) << S_LED1_THI)
45331 #define F_LED1_THI V_LED1_THI(1U)
45333 #define S_LED0_TLO 9
45334 #define V_LED0_TLO(x) ((x) << S_LED0_TLO)
45335 #define F_LED0_TLO V_LED0_TLO(1U)
45337 #define S_LED0_THI 8
45338 #define V_LED0_THI(x) ((x) << S_LED0_THI)
45339 #define F_LED0_THI V_LED0_THI(1U)
45341 #define A_MAC_PORT_LED_COUNTHI 0x80c
45342 #define A_MAC_PORT_LED_COUNTLO 0x810
45343 #define A_MAC_PORT_CFG3 0x814
45345 #define S_T5_FPGA_PTP_PORT 26
45346 #define M_T5_FPGA_PTP_PORT 0x3U
45347 #define V_T5_FPGA_PTP_PORT(x) ((x) << S_T5_FPGA_PTP_PORT)
45348 #define G_T5_FPGA_PTP_PORT(x) (((x) >> S_T5_FPGA_PTP_PORT) & M_T5_FPGA_PTP_PORT)
45350 #define S_FCSDISCTRL 25
45351 #define V_FCSDISCTRL(x) ((x) << S_FCSDISCTRL)
45352 #define F_FCSDISCTRL V_FCSDISCTRL(1U)
45354 #define S_SIGDETCTRL 24
45355 #define V_SIGDETCTRL(x) ((x) << S_SIGDETCTRL)
45356 #define F_SIGDETCTRL V_SIGDETCTRL(1U)
45358 #define S_TX_LANE 23
45359 #define V_TX_LANE(x) ((x) << S_TX_LANE)
45360 #define F_TX_LANE V_TX_LANE(1U)
45362 #define S_RX_LANE 22
45363 #define V_RX_LANE(x) ((x) << S_RX_LANE)
45364 #define F_RX_LANE V_RX_LANE(1U)
45366 #define S_SE_CLR 21
45367 #define V_SE_CLR(x) ((x) << S_SE_CLR)
45368 #define F_SE_CLR V_SE_CLR(1U)
45370 #define S_AN_ENA 17
45371 #define M_AN_ENA 0xfU
45372 #define V_AN_ENA(x) ((x) << S_AN_ENA)
45373 #define G_AN_ENA(x) (((x) >> S_AN_ENA) & M_AN_ENA)
45375 #define S_SD_RX_CLK_ENA 13
45376 #define M_SD_RX_CLK_ENA 0xfU
45377 #define V_SD_RX_CLK_ENA(x) ((x) << S_SD_RX_CLK_ENA)
45378 #define G_SD_RX_CLK_ENA(x) (((x) >> S_SD_RX_CLK_ENA) & M_SD_RX_CLK_ENA)
45380 #define S_SD_TX_CLK_ENA 9
45381 #define M_SD_TX_CLK_ENA 0xfU
45382 #define V_SD_TX_CLK_ENA(x) ((x) << S_SD_TX_CLK_ENA)
45383 #define G_SD_TX_CLK_ENA(x) (((x) >> S_SD_TX_CLK_ENA) & M_SD_TX_CLK_ENA)
45385 #define S_SGMIISEL 8
45386 #define V_SGMIISEL(x) ((x) << S_SGMIISEL)
45387 #define F_SGMIISEL V_SGMIISEL(1U)
45389 #define S_HSSPLLSEL 4
45390 #define M_HSSPLLSEL 0xfU
45391 #define V_HSSPLLSEL(x) ((x) << S_HSSPLLSEL)
45392 #define G_HSSPLLSEL(x) (((x) >> S_HSSPLLSEL) & M_HSSPLLSEL)
45394 #define S_HSSC16C20SEL 0
45395 #define M_HSSC16C20SEL 0xfU
45396 #define V_HSSC16C20SEL(x) ((x) << S_HSSC16C20SEL)
45397 #define G_HSSC16C20SEL(x) (((x) >> S_HSSC16C20SEL) & M_HSSC16C20SEL)
45399 #define S_REF_CLK_SEL 30
45400 #define M_REF_CLK_SEL 0x3U
45401 #define V_REF_CLK_SEL(x) ((x) << S_REF_CLK_SEL)
45402 #define G_REF_CLK_SEL(x) (((x) >> S_REF_CLK_SEL) & M_REF_CLK_SEL)
45404 #define S_SGMII_SD_SIG_DET 29
45405 #define V_SGMII_SD_SIG_DET(x) ((x) << S_SGMII_SD_SIG_DET)
45406 #define F_SGMII_SD_SIG_DET V_SGMII_SD_SIG_DET(1U)
45408 #define S_SGMII_SGPCS_ENA 28
45409 #define V_SGMII_SGPCS_ENA(x) ((x) << S_SGMII_SGPCS_ENA)
45410 #define F_SGMII_SGPCS_ENA V_SGMII_SGPCS_ENA(1U)
45412 #define S_MAC_FPGA_PTP_PORT 26
45413 #define M_MAC_FPGA_PTP_PORT 0x3U
45414 #define V_MAC_FPGA_PTP_PORT(x) ((x) << S_MAC_FPGA_PTP_PORT)
45415 #define G_MAC_FPGA_PTP_PORT(x) (((x) >> S_MAC_FPGA_PTP_PORT) & M_MAC_FPGA_PTP_PORT)
45417 #define A_MAC_PORT_CFG2 0x818
45419 #define S_T5_AEC_PMA_TX_READY 4
45420 #define M_T5_AEC_PMA_TX_READY 0xfU
45421 #define V_T5_AEC_PMA_TX_READY(x) ((x) << S_T5_AEC_PMA_TX_READY)
45422 #define G_T5_AEC_PMA_TX_READY(x) (((x) >> S_T5_AEC_PMA_TX_READY) & M_T5_AEC_PMA_TX_READY)
45424 #define S_T5_AEC_PMA_RX_READY 0
45425 #define M_T5_AEC_PMA_RX_READY 0xfU
45426 #define V_T5_AEC_PMA_RX_READY(x) ((x) << S_T5_AEC_PMA_RX_READY)
45427 #define G_T5_AEC_PMA_RX_READY(x) (((x) >> S_T5_AEC_PMA_RX_READY) & M_T5_AEC_PMA_RX_READY)
45429 #define S_AN_DATA_CTL 19
45430 #define V_AN_DATA_CTL(x) ((x) << S_AN_DATA_CTL)
45431 #define F_AN_DATA_CTL V_AN_DATA_CTL(1U)
45433 #define A_MAC_PORT_PKT_COUNT 0x81c
45434 #define A_MAC_PORT_CFG4 0x820
45436 #define S_AEC3_RX_WIDTH 14
45437 #define M_AEC3_RX_WIDTH 0x3U
45438 #define V_AEC3_RX_WIDTH(x) ((x) << S_AEC3_RX_WIDTH)
45439 #define G_AEC3_RX_WIDTH(x) (((x) >> S_AEC3_RX_WIDTH) & M_AEC3_RX_WIDTH)
45441 #define S_AEC2_RX_WIDTH 12
45442 #define M_AEC2_RX_WIDTH 0x3U
45443 #define V_AEC2_RX_WIDTH(x) ((x) << S_AEC2_RX_WIDTH)
45444 #define G_AEC2_RX_WIDTH(x) (((x) >> S_AEC2_RX_WIDTH) & M_AEC2_RX_WIDTH)
45446 #define S_AEC1_RX_WIDTH 10
45447 #define M_AEC1_RX_WIDTH 0x3U
45448 #define V_AEC1_RX_WIDTH(x) ((x) << S_AEC1_RX_WIDTH)
45449 #define G_AEC1_RX_WIDTH(x) (((x) >> S_AEC1_RX_WIDTH) & M_AEC1_RX_WIDTH)
45451 #define S_AEC0_RX_WIDTH 8
45452 #define M_AEC0_RX_WIDTH 0x3U
45453 #define V_AEC0_RX_WIDTH(x) ((x) << S_AEC0_RX_WIDTH)
45454 #define G_AEC0_RX_WIDTH(x) (((x) >> S_AEC0_RX_WIDTH) & M_AEC0_RX_WIDTH)
45456 #define S_AEC3_TX_WIDTH 6
45457 #define M_AEC3_TX_WIDTH 0x3U
45458 #define V_AEC3_TX_WIDTH(x) ((x) << S_AEC3_TX_WIDTH)
45459 #define G_AEC3_TX_WIDTH(x) (((x) >> S_AEC3_TX_WIDTH) & M_AEC3_TX_WIDTH)
45461 #define S_AEC2_TX_WIDTH 4
45462 #define M_AEC2_TX_WIDTH 0x3U
45463 #define V_AEC2_TX_WIDTH(x) ((x) << S_AEC2_TX_WIDTH)
45464 #define G_AEC2_TX_WIDTH(x) (((x) >> S_AEC2_TX_WIDTH) & M_AEC2_TX_WIDTH)
45466 #define S_AEC1_TX_WIDTH 2
45467 #define M_AEC1_TX_WIDTH 0x3U
45468 #define V_AEC1_TX_WIDTH(x) ((x) << S_AEC1_TX_WIDTH)
45469 #define G_AEC1_TX_WIDTH(x) (((x) >> S_AEC1_TX_WIDTH) & M_AEC1_TX_WIDTH)
45471 #define S_AEC0_TX_WIDTH 0
45472 #define M_AEC0_TX_WIDTH 0x3U
45473 #define V_AEC0_TX_WIDTH(x) ((x) << S_AEC0_TX_WIDTH)
45474 #define G_AEC0_TX_WIDTH(x) (((x) >> S_AEC0_TX_WIDTH) & M_AEC0_TX_WIDTH)
45476 #define A_MAC_PORT_MAGIC_MACID_LO 0x824
45477 #define A_MAC_PORT_MAGIC_MACID_HI 0x828
45478 #define A_MAC_PORT_MTIP_RESET_CTRL 0x82c
45480 #define S_AN_RESET_SD_TX_CLK 31
45481 #define V_AN_RESET_SD_TX_CLK(x) ((x) << S_AN_RESET_SD_TX_CLK)
45482 #define F_AN_RESET_SD_TX_CLK V_AN_RESET_SD_TX_CLK(1U)
45484 #define S_AN_RESET_SD_RX_CLK 30
45485 #define V_AN_RESET_SD_RX_CLK(x) ((x) << S_AN_RESET_SD_RX_CLK)
45486 #define F_AN_RESET_SD_RX_CLK V_AN_RESET_SD_RX_CLK(1U)
45488 #define S_SGMII_RESET_TX_CLK 29
45489 #define V_SGMII_RESET_TX_CLK(x) ((x) << S_SGMII_RESET_TX_CLK)
45490 #define F_SGMII_RESET_TX_CLK V_SGMII_RESET_TX_CLK(1U)
45492 #define S_SGMII_RESET_RX_CLK 28
45493 #define V_SGMII_RESET_RX_CLK(x) ((x) << S_SGMII_RESET_RX_CLK)
45494 #define F_SGMII_RESET_RX_CLK V_SGMII_RESET_RX_CLK(1U)
45496 #define S_SGMII_RESET_REF_CLK 27
45497 #define V_SGMII_RESET_REF_CLK(x) ((x) << S_SGMII_RESET_REF_CLK)
45498 #define F_SGMII_RESET_REF_CLK V_SGMII_RESET_REF_CLK(1U)
45500 #define S_PCS10G_RESET_XFI_RXCLK 26
45501 #define V_PCS10G_RESET_XFI_RXCLK(x) ((x) << S_PCS10G_RESET_XFI_RXCLK)
45502 #define F_PCS10G_RESET_XFI_RXCLK V_PCS10G_RESET_XFI_RXCLK(1U)
45504 #define S_PCS10G_RESET_XFI_TXCLK 25
45505 #define V_PCS10G_RESET_XFI_TXCLK(x) ((x) << S_PCS10G_RESET_XFI_TXCLK)
45506 #define F_PCS10G_RESET_XFI_TXCLK V_PCS10G_RESET_XFI_TXCLK(1U)
45508 #define S_PCS10G_RESET_SD_TX_CLK 24
45509 #define V_PCS10G_RESET_SD_TX_CLK(x) ((x) << S_PCS10G_RESET_SD_TX_CLK)
45510 #define F_PCS10G_RESET_SD_TX_CLK V_PCS10G_RESET_SD_TX_CLK(1U)
45512 #define S_PCS10G_RESET_SD_RX_CLK 23
45513 #define V_PCS10G_RESET_SD_RX_CLK(x) ((x) << S_PCS10G_RESET_SD_RX_CLK)
45514 #define F_PCS10G_RESET_SD_RX_CLK V_PCS10G_RESET_SD_RX_CLK(1U)
45516 #define S_PCS40G_RESET_RXCLK 22
45517 #define V_PCS40G_RESET_RXCLK(x) ((x) << S_PCS40G_RESET_RXCLK)
45518 #define F_PCS40G_RESET_RXCLK V_PCS40G_RESET_RXCLK(1U)
45520 #define S_PCS40G_RESET_SD_TX_CLK 21
45521 #define V_PCS40G_RESET_SD_TX_CLK(x) ((x) << S_PCS40G_RESET_SD_TX_CLK)
45522 #define F_PCS40G_RESET_SD_TX_CLK V_PCS40G_RESET_SD_TX_CLK(1U)
45524 #define S_PCS40G_RESET_SD0_RX_CLK 20
45525 #define V_PCS40G_RESET_SD0_RX_CLK(x) ((x) << S_PCS40G_RESET_SD0_RX_CLK)
45526 #define F_PCS40G_RESET_SD0_RX_CLK V_PCS40G_RESET_SD0_RX_CLK(1U)
45528 #define S_PCS40G_RESET_SD1_RX_CLK 19
45529 #define V_PCS40G_RESET_SD1_RX_CLK(x) ((x) << S_PCS40G_RESET_SD1_RX_CLK)
45530 #define F_PCS40G_RESET_SD1_RX_CLK V_PCS40G_RESET_SD1_RX_CLK(1U)
45532 #define S_PCS40G_RESET_SD2_RX_CLK 18
45533 #define V_PCS40G_RESET_SD2_RX_CLK(x) ((x) << S_PCS40G_RESET_SD2_RX_CLK)
45534 #define F_PCS40G_RESET_SD2_RX_CLK V_PCS40G_RESET_SD2_RX_CLK(1U)
45536 #define S_PCS40G_RESET_SD3_RX_CLK 17
45537 #define V_PCS40G_RESET_SD3_RX_CLK(x) ((x) << S_PCS40G_RESET_SD3_RX_CLK)
45538 #define F_PCS40G_RESET_SD3_RX_CLK V_PCS40G_RESET_SD3_RX_CLK(1U)
45540 #define S_PCS100G_RESET_CGMII_RXCLK 16
45541 #define V_PCS100G_RESET_CGMII_RXCLK(x) ((x) << S_PCS100G_RESET_CGMII_RXCLK)
45542 #define F_PCS100G_RESET_CGMII_RXCLK V_PCS100G_RESET_CGMII_RXCLK(1U)
45544 #define S_PCS100G_RESET_CGMII_TXCLK 15
45545 #define V_PCS100G_RESET_CGMII_TXCLK(x) ((x) << S_PCS100G_RESET_CGMII_TXCLK)
45546 #define F_PCS100G_RESET_CGMII_TXCLK V_PCS100G_RESET_CGMII_TXCLK(1U)
45548 #define S_PCS100G_RESET_TX_CLK 14
45549 #define V_PCS100G_RESET_TX_CLK(x) ((x) << S_PCS100G_RESET_TX_CLK)
45550 #define F_PCS100G_RESET_TX_CLK V_PCS100G_RESET_TX_CLK(1U)
45552 #define S_PCS100G_RESET_SD0_RX_CLK 13
45553 #define V_PCS100G_RESET_SD0_RX_CLK(x) ((x) << S_PCS100G_RESET_SD0_RX_CLK)
45554 #define F_PCS100G_RESET_SD0_RX_CLK V_PCS100G_RESET_SD0_RX_CLK(1U)
45556 #define S_PCS100G_RESET_SD1_RX_CLK 12
45557 #define V_PCS100G_RESET_SD1_RX_CLK(x) ((x) << S_PCS100G_RESET_SD1_RX_CLK)
45558 #define F_PCS100G_RESET_SD1_RX_CLK V_PCS100G_RESET_SD1_RX_CLK(1U)
45560 #define S_PCS100G_RESET_SD2_RX_CLK 11
45561 #define V_PCS100G_RESET_SD2_RX_CLK(x) ((x) << S_PCS100G_RESET_SD2_RX_CLK)
45562 #define F_PCS100G_RESET_SD2_RX_CLK V_PCS100G_RESET_SD2_RX_CLK(1U)
45564 #define S_PCS100G_RESET_SD3_RX_CLK 10
45565 #define V_PCS100G_RESET_SD3_RX_CLK(x) ((x) << S_PCS100G_RESET_SD3_RX_CLK)
45566 #define F_PCS100G_RESET_SD3_RX_CLK V_PCS100G_RESET_SD3_RX_CLK(1U)
45568 #define S_MAC40G100G_RESET_TXCLK 9
45569 #define V_MAC40G100G_RESET_TXCLK(x) ((x) << S_MAC40G100G_RESET_TXCLK)
45570 #define F_MAC40G100G_RESET_TXCLK V_MAC40G100G_RESET_TXCLK(1U)
45572 #define S_MAC40G100G_RESET_RXCLK 8
45573 #define V_MAC40G100G_RESET_RXCLK(x) ((x) << S_MAC40G100G_RESET_RXCLK)
45574 #define F_MAC40G100G_RESET_RXCLK V_MAC40G100G_RESET_RXCLK(1U)
45576 #define S_MAC40G100G_RESET_FF_TX_CLK 7
45577 #define V_MAC40G100G_RESET_FF_TX_CLK(x) ((x) << S_MAC40G100G_RESET_FF_TX_CLK)
45578 #define F_MAC40G100G_RESET_FF_TX_CLK V_MAC40G100G_RESET_FF_TX_CLK(1U)
45580 #define S_MAC40G100G_RESET_FF_RX_CLK 6
45581 #define V_MAC40G100G_RESET_FF_RX_CLK(x) ((x) << S_MAC40G100G_RESET_FF_RX_CLK)
45582 #define F_MAC40G100G_RESET_FF_RX_CLK V_MAC40G100G_RESET_FF_RX_CLK(1U)
45584 #define S_MAC40G100G_RESET_TS_CLK 5
45585 #define V_MAC40G100G_RESET_TS_CLK(x) ((x) << S_MAC40G100G_RESET_TS_CLK)
45586 #define F_MAC40G100G_RESET_TS_CLK V_MAC40G100G_RESET_TS_CLK(1U)
45588 #define S_MAC1G10G_RESET_RXCLK 4
45589 #define V_MAC1G10G_RESET_RXCLK(x) ((x) << S_MAC1G10G_RESET_RXCLK)
45590 #define F_MAC1G10G_RESET_RXCLK V_MAC1G10G_RESET_RXCLK(1U)
45592 #define S_MAC1G10G_RESET_TXCLK 3
45593 #define V_MAC1G10G_RESET_TXCLK(x) ((x) << S_MAC1G10G_RESET_TXCLK)
45594 #define F_MAC1G10G_RESET_TXCLK V_MAC1G10G_RESET_TXCLK(1U)
45596 #define S_MAC1G10G_RESET_FF_RX_CLK 2
45597 #define V_MAC1G10G_RESET_FF_RX_CLK(x) ((x) << S_MAC1G10G_RESET_FF_RX_CLK)
45598 #define F_MAC1G10G_RESET_FF_RX_CLK V_MAC1G10G_RESET_FF_RX_CLK(1U)
45600 #define S_MAC1G10G_RESET_FF_TX_CLK 1
45601 #define V_MAC1G10G_RESET_FF_TX_CLK(x) ((x) << S_MAC1G10G_RESET_FF_TX_CLK)
45602 #define F_MAC1G10G_RESET_FF_TX_CLK V_MAC1G10G_RESET_FF_TX_CLK(1U)
45604 #define S_XGMII_CLK_RESET 0
45605 #define V_XGMII_CLK_RESET(x) ((x) << S_XGMII_CLK_RESET)
45606 #define F_XGMII_CLK_RESET V_XGMII_CLK_RESET(1U)
45608 #define A_MAC_PORT_MTIP_GATE_CTRL 0x830
45610 #define S_AN_GATE_SD_TX_CLK 31
45611 #define V_AN_GATE_SD_TX_CLK(x) ((x) << S_AN_GATE_SD_TX_CLK)
45612 #define F_AN_GATE_SD_TX_CLK V_AN_GATE_SD_TX_CLK(1U)
45614 #define S_AN_GATE_SD_RX_CLK 30
45615 #define V_AN_GATE_SD_RX_CLK(x) ((x) << S_AN_GATE_SD_RX_CLK)
45616 #define F_AN_GATE_SD_RX_CLK V_AN_GATE_SD_RX_CLK(1U)
45618 #define S_SGMII_GATE_TX_CLK 29
45619 #define V_SGMII_GATE_TX_CLK(x) ((x) << S_SGMII_GATE_TX_CLK)
45620 #define F_SGMII_GATE_TX_CLK V_SGMII_GATE_TX_CLK(1U)
45622 #define S_SGMII_GATE_RX_CLK 28
45623 #define V_SGMII_GATE_RX_CLK(x) ((x) << S_SGMII_GATE_RX_CLK)
45624 #define F_SGMII_GATE_RX_CLK V_SGMII_GATE_RX_CLK(1U)
45626 #define S_SGMII_GATE_REF_CLK 27
45627 #define V_SGMII_GATE_REF_CLK(x) ((x) << S_SGMII_GATE_REF_CLK)
45628 #define F_SGMII_GATE_REF_CLK V_SGMII_GATE_REF_CLK(1U)
45630 #define S_PCS10G_GATE_XFI_RXCLK 26
45631 #define V_PCS10G_GATE_XFI_RXCLK(x) ((x) << S_PCS10G_GATE_XFI_RXCLK)
45632 #define F_PCS10G_GATE_XFI_RXCLK V_PCS10G_GATE_XFI_RXCLK(1U)
45634 #define S_PCS10G_GATE_XFI_TXCLK 25
45635 #define V_PCS10G_GATE_XFI_TXCLK(x) ((x) << S_PCS10G_GATE_XFI_TXCLK)
45636 #define F_PCS10G_GATE_XFI_TXCLK V_PCS10G_GATE_XFI_TXCLK(1U)
45638 #define S_PCS10G_GATE_SD_TX_CLK 24
45639 #define V_PCS10G_GATE_SD_TX_CLK(x) ((x) << S_PCS10G_GATE_SD_TX_CLK)
45640 #define F_PCS10G_GATE_SD_TX_CLK V_PCS10G_GATE_SD_TX_CLK(1U)
45642 #define S_PCS10G_GATE_SD_RX_CLK 23
45643 #define V_PCS10G_GATE_SD_RX_CLK(x) ((x) << S_PCS10G_GATE_SD_RX_CLK)
45644 #define F_PCS10G_GATE_SD_RX_CLK V_PCS10G_GATE_SD_RX_CLK(1U)
45646 #define S_PCS40G_GATE_RXCLK 22
45647 #define V_PCS40G_GATE_RXCLK(x) ((x) << S_PCS40G_GATE_RXCLK)
45648 #define F_PCS40G_GATE_RXCLK V_PCS40G_GATE_RXCLK(1U)
45650 #define S_PCS40G_GATE_SD_TX_CLK 21
45651 #define V_PCS40G_GATE_SD_TX_CLK(x) ((x) << S_PCS40G_GATE_SD_TX_CLK)
45652 #define F_PCS40G_GATE_SD_TX_CLK V_PCS40G_GATE_SD_TX_CLK(1U)
45654 #define S_PCS40G_GATE_SD_RX_CLK 20
45655 #define V_PCS40G_GATE_SD_RX_CLK(x) ((x) << S_PCS40G_GATE_SD_RX_CLK)
45656 #define F_PCS40G_GATE_SD_RX_CLK V_PCS40G_GATE_SD_RX_CLK(1U)
45658 #define S_PCS100G_GATE_CGMII_RXCLK 19
45659 #define V_PCS100G_GATE_CGMII_RXCLK(x) ((x) << S_PCS100G_GATE_CGMII_RXCLK)
45660 #define F_PCS100G_GATE_CGMII_RXCLK V_PCS100G_GATE_CGMII_RXCLK(1U)
45662 #define S_PCS100G_GATE_CGMII_TXCLK 18
45663 #define V_PCS100G_GATE_CGMII_TXCLK(x) ((x) << S_PCS100G_GATE_CGMII_TXCLK)
45664 #define F_PCS100G_GATE_CGMII_TXCLK V_PCS100G_GATE_CGMII_TXCLK(1U)
45666 #define S_PCS100G_GATE_TX_CLK 17
45667 #define V_PCS100G_GATE_TX_CLK(x) ((x) << S_PCS100G_GATE_TX_CLK)
45668 #define F_PCS100G_GATE_TX_CLK V_PCS100G_GATE_TX_CLK(1U)
45670 #define S_PCS100G_GATE_SD_RX_CLK 16
45671 #define V_PCS100G_GATE_SD_RX_CLK(x) ((x) << S_PCS100G_GATE_SD_RX_CLK)
45672 #define F_PCS100G_GATE_SD_RX_CLK V_PCS100G_GATE_SD_RX_CLK(1U)
45674 #define S_MAC40G100G_GATE_TXCLK 15
45675 #define V_MAC40G100G_GATE_TXCLK(x) ((x) << S_MAC40G100G_GATE_TXCLK)
45676 #define F_MAC40G100G_GATE_TXCLK V_MAC40G100G_GATE_TXCLK(1U)
45678 #define S_MAC40G100G_GATE_RXCLK 14
45679 #define V_MAC40G100G_GATE_RXCLK(x) ((x) << S_MAC40G100G_GATE_RXCLK)
45680 #define F_MAC40G100G_GATE_RXCLK V_MAC40G100G_GATE_RXCLK(1U)
45682 #define S_MAC40G100G_GATE_FF_TX_CLK 13
45683 #define V_MAC40G100G_GATE_FF_TX_CLK(x) ((x) << S_MAC40G100G_GATE_FF_TX_CLK)
45684 #define F_MAC40G100G_GATE_FF_TX_CLK V_MAC40G100G_GATE_FF_TX_CLK(1U)
45686 #define S_MAC40G100G_GATE_FF_RX_CLK 12
45687 #define V_MAC40G100G_GATE_FF_RX_CLK(x) ((x) << S_MAC40G100G_GATE_FF_RX_CLK)
45688 #define F_MAC40G100G_GATE_FF_RX_CLK V_MAC40G100G_GATE_FF_RX_CLK(1U)
45690 #define S_MAC40G100G_TS_CLK 11
45691 #define V_MAC40G100G_TS_CLK(x) ((x) << S_MAC40G100G_TS_CLK)
45692 #define F_MAC40G100G_TS_CLK V_MAC40G100G_TS_CLK(1U)
45694 #define S_MAC1G10G_GATE_RXCLK 10
45695 #define V_MAC1G10G_GATE_RXCLK(x) ((x) << S_MAC1G10G_GATE_RXCLK)
45696 #define F_MAC1G10G_GATE_RXCLK V_MAC1G10G_GATE_RXCLK(1U)
45698 #define S_MAC1G10G_GATE_TXCLK 9
45699 #define V_MAC1G10G_GATE_TXCLK(x) ((x) << S_MAC1G10G_GATE_TXCLK)
45700 #define F_MAC1G10G_GATE_TXCLK V_MAC1G10G_GATE_TXCLK(1U)
45702 #define S_MAC1G10G_GATE_FF_RX_CLK 8
45703 #define V_MAC1G10G_GATE_FF_RX_CLK(x) ((x) << S_MAC1G10G_GATE_FF_RX_CLK)
45704 #define F_MAC1G10G_GATE_FF_RX_CLK V_MAC1G10G_GATE_FF_RX_CLK(1U)
45706 #define S_MAC1G10G_GATE_FF_TX_CLK 7
45707 #define V_MAC1G10G_GATE_FF_TX_CLK(x) ((x) << S_MAC1G10G_GATE_FF_TX_CLK)
45708 #define F_MAC1G10G_GATE_FF_TX_CLK V_MAC1G10G_GATE_FF_TX_CLK(1U)
45711 #define V_AEC_RX(x) ((x) << S_AEC_RX)
45712 #define F_AEC_RX V_AEC_RX(1U)
45715 #define V_AEC_TX(x) ((x) << S_AEC_TX)
45716 #define F_AEC_TX V_AEC_TX(1U)
45718 #define S_PCS100G_CLK_ENABLE 4
45719 #define V_PCS100G_CLK_ENABLE(x) ((x) << S_PCS100G_CLK_ENABLE)
45720 #define F_PCS100G_CLK_ENABLE V_PCS100G_CLK_ENABLE(1U)
45722 #define S_PCS40G_CLK_ENABLE 3
45723 #define V_PCS40G_CLK_ENABLE(x) ((x) << S_PCS40G_CLK_ENABLE)
45724 #define F_PCS40G_CLK_ENABLE V_PCS40G_CLK_ENABLE(1U)
45726 #define S_PCS10G_CLK_ENABLE 2
45727 #define V_PCS10G_CLK_ENABLE(x) ((x) << S_PCS10G_CLK_ENABLE)
45728 #define F_PCS10G_CLK_ENABLE V_PCS10G_CLK_ENABLE(1U)
45730 #define S_PCS1G_CLK_ENABLE 1
45731 #define V_PCS1G_CLK_ENABLE(x) ((x) << S_PCS1G_CLK_ENABLE)
45732 #define F_PCS1G_CLK_ENABLE V_PCS1G_CLK_ENABLE(1U)
45734 #define S_AN_CLK_ENABLE 0
45735 #define V_AN_CLK_ENABLE(x) ((x) << S_AN_CLK_ENABLE)
45736 #define F_AN_CLK_ENABLE V_AN_CLK_ENABLE(1U)
45738 #define A_MAC_PORT_LINK_STATUS 0x834
45740 #define S_AN_DONE 6
45741 #define V_AN_DONE(x) ((x) << S_AN_DONE)
45742 #define F_AN_DONE V_AN_DONE(1U)
45744 #define S_ALIGN_DONE 5
45745 #define V_ALIGN_DONE(x) ((x) << S_ALIGN_DONE)
45746 #define F_ALIGN_DONE V_ALIGN_DONE(1U)
45748 #define S_BLOCK_LOCK 4
45749 #define V_BLOCK_LOCK(x) ((x) << S_BLOCK_LOCK)
45750 #define F_BLOCK_LOCK V_BLOCK_LOCK(1U)
45752 #define S_HI_BER_ST 7
45753 #define V_HI_BER_ST(x) ((x) << S_HI_BER_ST)
45754 #define F_HI_BER_ST V_HI_BER_ST(1U)
45756 #define S_AN_DONE_ST 6
45757 #define V_AN_DONE_ST(x) ((x) << S_AN_DONE_ST)
45758 #define F_AN_DONE_ST V_AN_DONE_ST(1U)
45760 #define A_MAC_PORT_AEC_ADD_CTL_STAT_0 0x838
45762 #define S_AEC_SYS_LANE_TYPE_3 11
45763 #define V_AEC_SYS_LANE_TYPE_3(x) ((x) << S_AEC_SYS_LANE_TYPE_3)
45764 #define F_AEC_SYS_LANE_TYPE_3 V_AEC_SYS_LANE_TYPE_3(1U)
45766 #define S_AEC_SYS_LANE_TYPE_2 10
45767 #define V_AEC_SYS_LANE_TYPE_2(x) ((x) << S_AEC_SYS_LANE_TYPE_2)
45768 #define F_AEC_SYS_LANE_TYPE_2 V_AEC_SYS_LANE_TYPE_2(1U)
45770 #define S_AEC_SYS_LANE_TYPE_1 9
45771 #define V_AEC_SYS_LANE_TYPE_1(x) ((x) << S_AEC_SYS_LANE_TYPE_1)
45772 #define F_AEC_SYS_LANE_TYPE_1 V_AEC_SYS_LANE_TYPE_1(1U)
45774 #define S_AEC_SYS_LANE_TYPE_0 8
45775 #define V_AEC_SYS_LANE_TYPE_0(x) ((x) << S_AEC_SYS_LANE_TYPE_0)
45776 #define F_AEC_SYS_LANE_TYPE_0 V_AEC_SYS_LANE_TYPE_0(1U)
45778 #define S_AEC_SYS_LANE_SELECT_3 6
45779 #define M_AEC_SYS_LANE_SELECT_3 0x3U
45780 #define V_AEC_SYS_LANE_SELECT_3(x) ((x) << S_AEC_SYS_LANE_SELECT_3)
45781 #define G_AEC_SYS_LANE_SELECT_3(x) (((x) >> S_AEC_SYS_LANE_SELECT_3) & M_AEC_SYS_LANE_SELECT_3)
45783 #define S_AEC_SYS_LANE_SELECT_2 4
45784 #define M_AEC_SYS_LANE_SELECT_2 0x3U
45785 #define V_AEC_SYS_LANE_SELECT_2(x) ((x) << S_AEC_SYS_LANE_SELECT_2)
45786 #define G_AEC_SYS_LANE_SELECT_2(x) (((x) >> S_AEC_SYS_LANE_SELECT_2) & M_AEC_SYS_LANE_SELECT_2)
45788 #define S_AEC_SYS_LANE_SELECT_1 2
45789 #define M_AEC_SYS_LANE_SELECT_1 0x3U
45790 #define V_AEC_SYS_LANE_SELECT_1(x) ((x) << S_AEC_SYS_LANE_SELECT_1)
45791 #define G_AEC_SYS_LANE_SELECT_1(x) (((x) >> S_AEC_SYS_LANE_SELECT_1) & M_AEC_SYS_LANE_SELECT_1)
45793 #define S_AEC_SYS_LANE_SELECT_O 0
45794 #define M_AEC_SYS_LANE_SELECT_O 0x3U
45795 #define V_AEC_SYS_LANE_SELECT_O(x) ((x) << S_AEC_SYS_LANE_SELECT_O)
45796 #define G_AEC_SYS_LANE_SELECT_O(x) (((x) >> S_AEC_SYS_LANE_SELECT_O) & M_AEC_SYS_LANE_SELECT_O)
45798 #define A_MAC_PORT_AEC_ADD_CTL_STAT_1 0x83c
45800 #define S_AEC_RX_UNKNOWN_LANE_3 11
45801 #define V_AEC_RX_UNKNOWN_LANE_3(x) ((x) << S_AEC_RX_UNKNOWN_LANE_3)
45802 #define F_AEC_RX_UNKNOWN_LANE_3 V_AEC_RX_UNKNOWN_LANE_3(1U)
45804 #define S_AEC_RX_UNKNOWN_LANE_2 10
45805 #define V_AEC_RX_UNKNOWN_LANE_2(x) ((x) << S_AEC_RX_UNKNOWN_LANE_2)
45806 #define F_AEC_RX_UNKNOWN_LANE_2 V_AEC_RX_UNKNOWN_LANE_2(1U)
45808 #define S_AEC_RX_UNKNOWN_LANE_1 9
45809 #define V_AEC_RX_UNKNOWN_LANE_1(x) ((x) << S_AEC_RX_UNKNOWN_LANE_1)
45810 #define F_AEC_RX_UNKNOWN_LANE_1 V_AEC_RX_UNKNOWN_LANE_1(1U)
45812 #define S_AEC_RX_UNKNOWN_LANE_0 8
45813 #define V_AEC_RX_UNKNOWN_LANE_0(x) ((x) << S_AEC_RX_UNKNOWN_LANE_0)
45814 #define F_AEC_RX_UNKNOWN_LANE_0 V_AEC_RX_UNKNOWN_LANE_0(1U)
45816 #define S_AEC_RX_LANE_ID_3 6
45817 #define M_AEC_RX_LANE_ID_3 0x3U
45818 #define V_AEC_RX_LANE_ID_3(x) ((x) << S_AEC_RX_LANE_ID_3)
45819 #define G_AEC_RX_LANE_ID_3(x) (((x) >> S_AEC_RX_LANE_ID_3) & M_AEC_RX_LANE_ID_3)
45821 #define S_AEC_RX_LANE_ID_2 4
45822 #define M_AEC_RX_LANE_ID_2 0x3U
45823 #define V_AEC_RX_LANE_ID_2(x) ((x) << S_AEC_RX_LANE_ID_2)
45824 #define G_AEC_RX_LANE_ID_2(x) (((x) >> S_AEC_RX_LANE_ID_2) & M_AEC_RX_LANE_ID_2)
45826 #define S_AEC_RX_LANE_ID_1 2
45827 #define M_AEC_RX_LANE_ID_1 0x3U
45828 #define V_AEC_RX_LANE_ID_1(x) ((x) << S_AEC_RX_LANE_ID_1)
45829 #define G_AEC_RX_LANE_ID_1(x) (((x) >> S_AEC_RX_LANE_ID_1) & M_AEC_RX_LANE_ID_1)
45831 #define S_AEC_RX_LANE_ID_O 0
45832 #define M_AEC_RX_LANE_ID_O 0x3U
45833 #define V_AEC_RX_LANE_ID_O(x) ((x) << S_AEC_RX_LANE_ID_O)
45834 #define G_AEC_RX_LANE_ID_O(x) (((x) >> S_AEC_RX_LANE_ID_O) & M_AEC_RX_LANE_ID_O)
45836 #define A_MAC_PORT_AEC_XGMII_TIMER_LO_40G 0x840
45838 #define S_XGMII_CLK_IN_1MS_LO_40G 0
45839 #define M_XGMII_CLK_IN_1MS_LO_40G 0xffffU
45840 #define V_XGMII_CLK_IN_1MS_LO_40G(x) ((x) << S_XGMII_CLK_IN_1MS_LO_40G)
45841 #define G_XGMII_CLK_IN_1MS_LO_40G(x) (((x) >> S_XGMII_CLK_IN_1MS_LO_40G) & M_XGMII_CLK_IN_1MS_LO_40G)
45843 #define A_MAC_PORT_AEC_XGMII_TIMER_HI_40G 0x844
45845 #define S_XGMII_CLK_IN_1MS_HI_40G 0
45846 #define M_XGMII_CLK_IN_1MS_HI_40G 0xfU
45847 #define V_XGMII_CLK_IN_1MS_HI_40G(x) ((x) << S_XGMII_CLK_IN_1MS_HI_40G)
45848 #define G_XGMII_CLK_IN_1MS_HI_40G(x) (((x) >> S_XGMII_CLK_IN_1MS_HI_40G) & M_XGMII_CLK_IN_1MS_HI_40G)
45850 #define A_MAC_PORT_AEC_XGMII_TIMER_LO_100G 0x848
45852 #define S_XGMII_CLK_IN_1MS_LO_100G 0
45853 #define M_XGMII_CLK_IN_1MS_LO_100G 0xffffU
45854 #define V_XGMII_CLK_IN_1MS_LO_100G(x) ((x) << S_XGMII_CLK_IN_1MS_LO_100G)
45855 #define G_XGMII_CLK_IN_1MS_LO_100G(x) (((x) >> S_XGMII_CLK_IN_1MS_LO_100G) & M_XGMII_CLK_IN_1MS_LO_100G)
45857 #define A_MAC_PORT_AEC_XGMII_TIMER_HI_100G 0x84c
45859 #define S_XGMII_CLK_IN_1MS_HI_100G 0
45860 #define M_XGMII_CLK_IN_1MS_HI_100G 0xfU
45861 #define V_XGMII_CLK_IN_1MS_HI_100G(x) ((x) << S_XGMII_CLK_IN_1MS_HI_100G)
45862 #define G_XGMII_CLK_IN_1MS_HI_100G(x) (((x) >> S_XGMII_CLK_IN_1MS_HI_100G) & M_XGMII_CLK_IN_1MS_HI_100G)
45864 #define A_MAC_PORT_AEC_DEBUG_LO_0 0x850
45866 #define S_CTL_FSM_CUR_STATE 28
45867 #define M_CTL_FSM_CUR_STATE 0x7U
45868 #define V_CTL_FSM_CUR_STATE(x) ((x) << S_CTL_FSM_CUR_STATE)
45869 #define G_CTL_FSM_CUR_STATE(x) (((x) >> S_CTL_FSM_CUR_STATE) & M_CTL_FSM_CUR_STATE)
45871 #define S_CIN_FSM_CUR_STATE 26
45872 #define M_CIN_FSM_CUR_STATE 0x3U
45873 #define V_CIN_FSM_CUR_STATE(x) ((x) << S_CIN_FSM_CUR_STATE)
45874 #define G_CIN_FSM_CUR_STATE(x) (((x) >> S_CIN_FSM_CUR_STATE) & M_CIN_FSM_CUR_STATE)
45876 #define S_CRI_FSM_CUR_STATE 23
45877 #define M_CRI_FSM_CUR_STATE 0x7U
45878 #define V_CRI_FSM_CUR_STATE(x) ((x) << S_CRI_FSM_CUR_STATE)
45879 #define G_CRI_FSM_CUR_STATE(x) (((x) >> S_CRI_FSM_CUR_STATE) & M_CRI_FSM_CUR_STATE)
45881 #define S_CU_C3_ACK_VALUE 21
45882 #define M_CU_C3_ACK_VALUE 0x3U
45883 #define V_CU_C3_ACK_VALUE(x) ((x) << S_CU_C3_ACK_VALUE)
45884 #define G_CU_C3_ACK_VALUE(x) (((x) >> S_CU_C3_ACK_VALUE) & M_CU_C3_ACK_VALUE)
45886 #define S_CU_C2_ACK_VALUE 19
45887 #define M_CU_C2_ACK_VALUE 0x3U
45888 #define V_CU_C2_ACK_VALUE(x) ((x) << S_CU_C2_ACK_VALUE)
45889 #define G_CU_C2_ACK_VALUE(x) (((x) >> S_CU_C2_ACK_VALUE) & M_CU_C2_ACK_VALUE)
45891 #define S_CU_C1_ACK_VALUE 17
45892 #define M_CU_C1_ACK_VALUE 0x3U
45893 #define V_CU_C1_ACK_VALUE(x) ((x) << S_CU_C1_ACK_VALUE)
45894 #define G_CU_C1_ACK_VALUE(x) (((x) >> S_CU_C1_ACK_VALUE) & M_CU_C1_ACK_VALUE)
45896 #define S_CU_C0_ACK_VALUE 15
45897 #define M_CU_C0_ACK_VALUE 0x3U
45898 #define V_CU_C0_ACK_VALUE(x) ((x) << S_CU_C0_ACK_VALUE)
45899 #define G_CU_C0_ACK_VALUE(x) (((x) >> S_CU_C0_ACK_VALUE) & M_CU_C0_ACK_VALUE)
45901 #define S_CX_INIT 13
45902 #define V_CX_INIT(x) ((x) << S_CX_INIT)
45903 #define F_CX_INIT V_CX_INIT(1U)
45905 #define S_CX_PRESET 12
45906 #define V_CX_PRESET(x) ((x) << S_CX_PRESET)
45907 #define F_CX_PRESET V_CX_PRESET(1U)
45909 #define S_CUF_C3_UPDATE 9
45910 #define M_CUF_C3_UPDATE 0x3U
45911 #define V_CUF_C3_UPDATE(x) ((x) << S_CUF_C3_UPDATE)
45912 #define G_CUF_C3_UPDATE(x) (((x) >> S_CUF_C3_UPDATE) & M_CUF_C3_UPDATE)
45914 #define S_CUF_C2_UPDATE 7
45915 #define M_CUF_C2_UPDATE 0x3U
45916 #define V_CUF_C2_UPDATE(x) ((x) << S_CUF_C2_UPDATE)
45917 #define G_CUF_C2_UPDATE(x) (((x) >> S_CUF_C2_UPDATE) & M_CUF_C2_UPDATE)
45919 #define S_CUF_C1_UPDATE 5
45920 #define M_CUF_C1_UPDATE 0x3U
45921 #define V_CUF_C1_UPDATE(x) ((x) << S_CUF_C1_UPDATE)
45922 #define G_CUF_C1_UPDATE(x) (((x) >> S_CUF_C1_UPDATE) & M_CUF_C1_UPDATE)
45924 #define S_CUF_C0_UPDATE 3
45925 #define M_CUF_C0_UPDATE 0x3U
45926 #define V_CUF_C0_UPDATE(x) ((x) << S_CUF_C0_UPDATE)
45927 #define G_CUF_C0_UPDATE(x) (((x) >> S_CUF_C0_UPDATE) & M_CUF_C0_UPDATE)
45929 #define S_REG_FPH_ATTR_TXUPDAT_VALID 2
45930 #define V_REG_FPH_ATTR_TXUPDAT_VALID(x) ((x) << S_REG_FPH_ATTR_TXUPDAT_VALID)
45931 #define F_REG_FPH_ATTR_TXUPDAT_VALID V_REG_FPH_ATTR_TXUPDAT_VALID(1U)
45933 #define S_REG_FPH_ATTR_TXSTAT_VALID 1
45934 #define V_REG_FPH_ATTR_TXSTAT_VALID(x) ((x) << S_REG_FPH_ATTR_TXSTAT_VALID)
45935 #define F_REG_FPH_ATTR_TXSTAT_VALID V_REG_FPH_ATTR_TXSTAT_VALID(1U)
45937 #define S_REG_MAN_DEC_REQ 0
45938 #define V_REG_MAN_DEC_REQ(x) ((x) << S_REG_MAN_DEC_REQ)
45939 #define F_REG_MAN_DEC_REQ V_REG_MAN_DEC_REQ(1U)
45941 #define A_MAC_PORT_AEC_DEBUG_HI_0 0x854
45943 #define S_FC_LSNA_ 12
45944 #define V_FC_LSNA_(x) ((x) << S_FC_LSNA_)
45945 #define F_FC_LSNA_ V_FC_LSNA_(1U)
45947 #define S_CUF_C0_FSM_DEBUG 9
45948 #define M_CUF_C0_FSM_DEBUG 0x7U
45949 #define V_CUF_C0_FSM_DEBUG(x) ((x) << S_CUF_C0_FSM_DEBUG)
45950 #define G_CUF_C0_FSM_DEBUG(x) (((x) >> S_CUF_C0_FSM_DEBUG) & M_CUF_C0_FSM_DEBUG)
45952 #define S_CUF_C1_FSM_DEBUG 6
45953 #define M_CUF_C1_FSM_DEBUG 0x7U
45954 #define V_CUF_C1_FSM_DEBUG(x) ((x) << S_CUF_C1_FSM_DEBUG)
45955 #define G_CUF_C1_FSM_DEBUG(x) (((x) >> S_CUF_C1_FSM_DEBUG) & M_CUF_C1_FSM_DEBUG)
45957 #define S_CUF_C2_FSM_DEBUG 3
45958 #define M_CUF_C2_FSM_DEBUG 0x7U
45959 #define V_CUF_C2_FSM_DEBUG(x) ((x) << S_CUF_C2_FSM_DEBUG)
45960 #define G_CUF_C2_FSM_DEBUG(x) (((x) >> S_CUF_C2_FSM_DEBUG) & M_CUF_C2_FSM_DEBUG)
45962 #define S_LCK_FSM_CUR_STATE 0
45963 #define M_LCK_FSM_CUR_STATE 0x7U
45964 #define V_LCK_FSM_CUR_STATE(x) ((x) << S_LCK_FSM_CUR_STATE)
45965 #define G_LCK_FSM_CUR_STATE(x) (((x) >> S_LCK_FSM_CUR_STATE) & M_LCK_FSM_CUR_STATE)
45967 #define A_MAC_PORT_AEC_DEBUG_LO_1 0x858
45968 #define A_MAC_PORT_AEC_DEBUG_HI_1 0x85c
45969 #define A_MAC_PORT_AEC_DEBUG_LO_2 0x860
45970 #define A_MAC_PORT_AEC_DEBUG_HI_2 0x864
45971 #define A_MAC_PORT_AEC_DEBUG_LO_3 0x868
45972 #define A_MAC_PORT_AEC_DEBUG_HI_3 0x86c
45973 #define A_MAC_PORT_MAC_DEBUG_RO 0x870
45975 #define S_MAC40G100G_TX_UNDERFLOW 13
45976 #define V_MAC40G100G_TX_UNDERFLOW(x) ((x) << S_MAC40G100G_TX_UNDERFLOW)
45977 #define F_MAC40G100G_TX_UNDERFLOW V_MAC40G100G_TX_UNDERFLOW(1U)
45979 #define S_MAC1G10G_MAGIC_IND 12
45980 #define V_MAC1G10G_MAGIC_IND(x) ((x) << S_MAC1G10G_MAGIC_IND)
45981 #define F_MAC1G10G_MAGIC_IND V_MAC1G10G_MAGIC_IND(1U)
45983 #define S_MAC1G10G_FF_RX_EMPTY 11
45984 #define V_MAC1G10G_FF_RX_EMPTY(x) ((x) << S_MAC1G10G_FF_RX_EMPTY)
45985 #define F_MAC1G10G_FF_RX_EMPTY V_MAC1G10G_FF_RX_EMPTY(1U)
45987 #define S_MAC1G10G_FF_TX_OVR_ERR 10
45988 #define V_MAC1G10G_FF_TX_OVR_ERR(x) ((x) << S_MAC1G10G_FF_TX_OVR_ERR)
45989 #define F_MAC1G10G_FF_TX_OVR_ERR V_MAC1G10G_FF_TX_OVR_ERR(1U)
45991 #define S_MAC1G10G_IF_MODE_ENA 8
45992 #define M_MAC1G10G_IF_MODE_ENA 0x3U
45993 #define V_MAC1G10G_IF_MODE_ENA(x) ((x) << S_MAC1G10G_IF_MODE_ENA)
45994 #define G_MAC1G10G_IF_MODE_ENA(x) (((x) >> S_MAC1G10G_IF_MODE_ENA) & M_MAC1G10G_IF_MODE_ENA)
45996 #define S_MAC1G10G_MII_ENA_10 7
45997 #define V_MAC1G10G_MII_ENA_10(x) ((x) << S_MAC1G10G_MII_ENA_10)
45998 #define F_MAC1G10G_MII_ENA_10 V_MAC1G10G_MII_ENA_10(1U)
46000 #define S_MAC1G10G_PAUSE_ON 6
46001 #define V_MAC1G10G_PAUSE_ON(x) ((x) << S_MAC1G10G_PAUSE_ON)
46002 #define F_MAC1G10G_PAUSE_ON V_MAC1G10G_PAUSE_ON(1U)
46004 #define S_MAC1G10G_PFC_MODE 5
46005 #define V_MAC1G10G_PFC_MODE(x) ((x) << S_MAC1G10G_PFC_MODE)
46006 #define F_MAC1G10G_PFC_MODE V_MAC1G10G_PFC_MODE(1U)
46008 #define S_MAC1G10G_RX_SFD_O 4
46009 #define V_MAC1G10G_RX_SFD_O(x) ((x) << S_MAC1G10G_RX_SFD_O)
46010 #define F_MAC1G10G_RX_SFD_O V_MAC1G10G_RX_SFD_O(1U)
46012 #define S_MAC1G10G_TX_EMPTY 3
46013 #define V_MAC1G10G_TX_EMPTY(x) ((x) << S_MAC1G10G_TX_EMPTY)
46014 #define F_MAC1G10G_TX_EMPTY V_MAC1G10G_TX_EMPTY(1U)
46016 #define S_MAC1G10G_TX_SFD_O 2
46017 #define V_MAC1G10G_TX_SFD_O(x) ((x) << S_MAC1G10G_TX_SFD_O)
46018 #define F_MAC1G10G_TX_SFD_O V_MAC1G10G_TX_SFD_O(1U)
46020 #define S_MAC1G10G_TX_TS_FRM_OUT 1
46021 #define V_MAC1G10G_TX_TS_FRM_OUT(x) ((x) << S_MAC1G10G_TX_TS_FRM_OUT)
46022 #define F_MAC1G10G_TX_TS_FRM_OUT V_MAC1G10G_TX_TS_FRM_OUT(1U)
46024 #define S_MAC1G10G_TX_UNDERFLOW 0
46025 #define V_MAC1G10G_TX_UNDERFLOW(x) ((x) << S_MAC1G10G_TX_UNDERFLOW)
46026 #define F_MAC1G10G_TX_UNDERFLOW V_MAC1G10G_TX_UNDERFLOW(1U)
46028 #define A_MAC_PORT_MAC_CTRL_RW 0x874
46030 #define S_MAC40G100G_FF_TX_PFC_XOFF 17
46031 #define M_MAC40G100G_FF_TX_PFC_XOFF 0xffU
46032 #define V_MAC40G100G_FF_TX_PFC_XOFF(x) ((x) << S_MAC40G100G_FF_TX_PFC_XOFF)
46033 #define G_MAC40G100G_FF_TX_PFC_XOFF(x) (((x) >> S_MAC40G100G_FF_TX_PFC_XOFF) & M_MAC40G100G_FF_TX_PFC_XOFF)
46035 #define S_MAC40G100G_TX_LOC_FAULT 16
46036 #define V_MAC40G100G_TX_LOC_FAULT(x) ((x) << S_MAC40G100G_TX_LOC_FAULT)
46037 #define F_MAC40G100G_TX_LOC_FAULT V_MAC40G100G_TX_LOC_FAULT(1U)
46039 #define S_MAC40G100G_TX_REM_FAULT 15
46040 #define V_MAC40G100G_TX_REM_FAULT(x) ((x) << S_MAC40G100G_TX_REM_FAULT)
46041 #define F_MAC40G100G_TX_REM_FAULT V_MAC40G100G_TX_REM_FAULT(1U)
46043 #define S_MAC40G_LOOP_BCK 14
46044 #define V_MAC40G_LOOP_BCK(x) ((x) << S_MAC40G_LOOP_BCK)
46045 #define F_MAC40G_LOOP_BCK V_MAC40G_LOOP_BCK(1U)
46047 #define S_MAC1G10G_MAGIC_ENA 13
46048 #define V_MAC1G10G_MAGIC_ENA(x) ((x) << S_MAC1G10G_MAGIC_ENA)
46049 #define F_MAC1G10G_MAGIC_ENA V_MAC1G10G_MAGIC_ENA(1U)
46051 #define S_MAC1G10G_IF_MODE_SET 11
46052 #define M_MAC1G10G_IF_MODE_SET 0x3U
46053 #define V_MAC1G10G_IF_MODE_SET(x) ((x) << S_MAC1G10G_IF_MODE_SET)
46054 #define G_MAC1G10G_IF_MODE_SET(x) (((x) >> S_MAC1G10G_IF_MODE_SET) & M_MAC1G10G_IF_MODE_SET)
46056 #define S_MAC1G10G_TX_LOC_FAULT 10
46057 #define V_MAC1G10G_TX_LOC_FAULT(x) ((x) << S_MAC1G10G_TX_LOC_FAULT)
46058 #define F_MAC1G10G_TX_LOC_FAULT V_MAC1G10G_TX_LOC_FAULT(1U)
46060 #define S_MAC1G10G_TX_REM_FAULT 9
46061 #define V_MAC1G10G_TX_REM_FAULT(x) ((x) << S_MAC1G10G_TX_REM_FAULT)
46062 #define F_MAC1G10G_TX_REM_FAULT V_MAC1G10G_TX_REM_FAULT(1U)
46064 #define S_MAC1G10G_XOFF_GEN 1
46065 #define M_MAC1G10G_XOFF_GEN 0xffU
46066 #define V_MAC1G10G_XOFF_GEN(x) ((x) << S_MAC1G10G_XOFF_GEN)
46067 #define G_MAC1G10G_XOFF_GEN(x) (((x) >> S_MAC1G10G_XOFF_GEN) & M_MAC1G10G_XOFF_GEN)
46069 #define S_MAC1G_LOOP_BCK 0
46070 #define V_MAC1G_LOOP_BCK(x) ((x) << S_MAC1G_LOOP_BCK)
46071 #define F_MAC1G_LOOP_BCK V_MAC1G_LOOP_BCK(1U)
46073 #define A_MAC_PORT_PCS_DEBUG0_RO 0x878
46075 #define S_FPGA_LOCK 26
46076 #define M_FPGA_LOCK 0xfU
46077 #define V_FPGA_LOCK(x) ((x) << S_FPGA_LOCK)
46078 #define G_FPGA_LOCK(x) (((x) >> S_FPGA_LOCK) & M_FPGA_LOCK)
46080 #define S_T6_AN_DONE 25
46081 #define V_T6_AN_DONE(x) ((x) << S_T6_AN_DONE)
46082 #define F_T6_AN_DONE V_T6_AN_DONE(1U)
46084 #define S_AN_INT 24
46085 #define V_AN_INT(x) ((x) << S_AN_INT)
46086 #define F_AN_INT V_AN_INT(1U)
46088 #define S_AN_PCS_RX_CLK_ENA 23
46089 #define V_AN_PCS_RX_CLK_ENA(x) ((x) << S_AN_PCS_RX_CLK_ENA)
46090 #define F_AN_PCS_RX_CLK_ENA V_AN_PCS_RX_CLK_ENA(1U)
46092 #define S_AN_PCS_TX_CLK_ENA 22
46093 #define V_AN_PCS_TX_CLK_ENA(x) ((x) << S_AN_PCS_TX_CLK_ENA)
46094 #define F_AN_PCS_TX_CLK_ENA V_AN_PCS_TX_CLK_ENA(1U)
46096 #define S_AN_SELECT 17
46097 #define M_AN_SELECT 0x1fU
46098 #define V_AN_SELECT(x) ((x) << S_AN_SELECT)
46099 #define G_AN_SELECT(x) (((x) >> S_AN_SELECT) & M_AN_SELECT)
46101 #define S_AN_PROG 16
46102 #define V_AN_PROG(x) ((x) << S_AN_PROG)
46103 #define F_AN_PROG V_AN_PROG(1U)
46105 #define S_PCS40G_BLOCK_LOCK 12
46106 #define M_PCS40G_BLOCK_LOCK 0xfU
46107 #define V_PCS40G_BLOCK_LOCK(x) ((x) << S_PCS40G_BLOCK_LOCK)
46108 #define G_PCS40G_BLOCK_LOCK(x) (((x) >> S_PCS40G_BLOCK_LOCK) & M_PCS40G_BLOCK_LOCK)
46110 #define S_PCS40G_BER_TIMER_DONE 11
46111 #define V_PCS40G_BER_TIMER_DONE(x) ((x) << S_PCS40G_BER_TIMER_DONE)
46112 #define F_PCS40G_BER_TIMER_DONE V_PCS40G_BER_TIMER_DONE(1U)
46114 #define S_PCS10G_FEC_LOCKED 10
46115 #define V_PCS10G_FEC_LOCKED(x) ((x) << S_PCS10G_FEC_LOCKED)
46116 #define F_PCS10G_FEC_LOCKED V_PCS10G_FEC_LOCKED(1U)
46118 #define S_PCS10G_BLOCK_LOCK 9
46119 #define V_PCS10G_BLOCK_LOCK(x) ((x) << S_PCS10G_BLOCK_LOCK)
46120 #define F_PCS10G_BLOCK_LOCK V_PCS10G_BLOCK_LOCK(1U)
46122 #define S_SGMII_GMII_COL 8
46123 #define V_SGMII_GMII_COL(x) ((x) << S_SGMII_GMII_COL)
46124 #define F_SGMII_GMII_COL V_SGMII_GMII_COL(1U)
46126 #define S_SGMII_GMII_CRS 7
46127 #define V_SGMII_GMII_CRS(x) ((x) << S_SGMII_GMII_CRS)
46128 #define F_SGMII_GMII_CRS V_SGMII_GMII_CRS(1U)
46130 #define S_SGMII_SD_LOOPBACK 6
46131 #define V_SGMII_SD_LOOPBACK(x) ((x) << S_SGMII_SD_LOOPBACK)
46132 #define F_SGMII_SD_LOOPBACK V_SGMII_SD_LOOPBACK(1U)
46134 #define S_SGMII_SG_AN_DONE 5
46135 #define V_SGMII_SG_AN_DONE(x) ((x) << S_SGMII_SG_AN_DONE)
46136 #define F_SGMII_SG_AN_DONE V_SGMII_SG_AN_DONE(1U)
46138 #define S_SGMII_SG_HD 4
46139 #define V_SGMII_SG_HD(x) ((x) << S_SGMII_SG_HD)
46140 #define F_SGMII_SG_HD V_SGMII_SG_HD(1U)
46142 #define S_SGMII_SG_PAGE_RX 3
46143 #define V_SGMII_SG_PAGE_RX(x) ((x) << S_SGMII_SG_PAGE_RX)
46144 #define F_SGMII_SG_PAGE_RX V_SGMII_SG_PAGE_RX(1U)
46146 #define S_SGMII_SG_RX_SYNC 2
46147 #define V_SGMII_SG_RX_SYNC(x) ((x) << S_SGMII_SG_RX_SYNC)
46148 #define F_SGMII_SG_RX_SYNC V_SGMII_SG_RX_SYNC(1U)
46150 #define S_SGMII_SG_SPEED 0
46151 #define M_SGMII_SG_SPEED 0x3U
46152 #define V_SGMII_SG_SPEED(x) ((x) << S_SGMII_SG_SPEED)
46153 #define G_SGMII_SG_SPEED(x) (((x) >> S_SGMII_SG_SPEED) & M_SGMII_SG_SPEED)
46155 #define A_MAC_PORT_PCS_CTRL_RW 0x87c
46157 #define S_TX_LI_FAULT 31
46158 #define V_TX_LI_FAULT(x) ((x) << S_TX_LI_FAULT)
46159 #define F_TX_LI_FAULT V_TX_LI_FAULT(1U)
46161 #define S_T6_PAD 30
46162 #define V_T6_PAD(x) ((x) << S_T6_PAD)
46163 #define F_T6_PAD V_T6_PAD(1U)
46165 #define S_BLK_STB_VAL 22
46166 #define M_BLK_STB_VAL 0xffU
46167 #define V_BLK_STB_VAL(x) ((x) << S_BLK_STB_VAL)
46168 #define G_BLK_STB_VAL(x) (((x) >> S_BLK_STB_VAL) & M_BLK_STB_VAL)
46170 #define S_DEBUG_SEL 18
46171 #define M_DEBUG_SEL 0xfU
46172 #define V_DEBUG_SEL(x) ((x) << S_DEBUG_SEL)
46173 #define G_DEBUG_SEL(x) (((x) >> S_DEBUG_SEL) & M_DEBUG_SEL)
46175 #define S_SGMII_LOOP 15
46176 #define M_SGMII_LOOP 0x7U
46177 #define V_SGMII_LOOP(x) ((x) << S_SGMII_LOOP)
46178 #define G_SGMII_LOOP(x) (((x) >> S_SGMII_LOOP) & M_SGMII_LOOP)
46180 #define S_AN_DIS_TIMER 14
46181 #define V_AN_DIS_TIMER(x) ((x) << S_AN_DIS_TIMER)
46182 #define F_AN_DIS_TIMER V_AN_DIS_TIMER(1U)
46184 #define S_PCS100G_BER_TIMER_SHORT 13
46185 #define V_PCS100G_BER_TIMER_SHORT(x) ((x) << S_PCS100G_BER_TIMER_SHORT)
46186 #define F_PCS100G_BER_TIMER_SHORT V_PCS100G_BER_TIMER_SHORT(1U)
46188 #define S_PCS100G_TX_LANE_THRESH 9
46189 #define M_PCS100G_TX_LANE_THRESH 0xfU
46190 #define V_PCS100G_TX_LANE_THRESH(x) ((x) << S_PCS100G_TX_LANE_THRESH)
46191 #define G_PCS100G_TX_LANE_THRESH(x) (((x) >> S_PCS100G_TX_LANE_THRESH) & M_PCS100G_TX_LANE_THRESH)
46193 #define S_PCS100G_VL_INTVL 8
46194 #define V_PCS100G_VL_INTVL(x) ((x) << S_PCS100G_VL_INTVL)
46195 #define F_PCS100G_VL_INTVL V_PCS100G_VL_INTVL(1U)
46197 #define S_SGMII_TX_LANE_CKMULT 4
46198 #define M_SGMII_TX_LANE_CKMULT 0x7U
46199 #define V_SGMII_TX_LANE_CKMULT(x) ((x) << S_SGMII_TX_LANE_CKMULT)
46200 #define G_SGMII_TX_LANE_CKMULT(x) (((x) >> S_SGMII_TX_LANE_CKMULT) & M_SGMII_TX_LANE_CKMULT)
46202 #define S_SGMII_TX_LANE_THRESH 0
46203 #define M_SGMII_TX_LANE_THRESH 0xfU
46204 #define V_SGMII_TX_LANE_THRESH(x) ((x) << S_SGMII_TX_LANE_THRESH)
46205 #define G_SGMII_TX_LANE_THRESH(x) (((x) >> S_SGMII_TX_LANE_THRESH) & M_SGMII_TX_LANE_THRESH)
46207 #define A_MAC_PORT_PCS_DEBUG1_RO 0x880
46209 #define S_PCS100G_ALIGN_LOCK 21
46210 #define V_PCS100G_ALIGN_LOCK(x) ((x) << S_PCS100G_ALIGN_LOCK)
46211 #define F_PCS100G_ALIGN_LOCK V_PCS100G_ALIGN_LOCK(1U)
46213 #define S_PCS100G_BER_TIMER_DONE 20
46214 #define V_PCS100G_BER_TIMER_DONE(x) ((x) << S_PCS100G_BER_TIMER_DONE)
46215 #define F_PCS100G_BER_TIMER_DONE V_PCS100G_BER_TIMER_DONE(1U)
46217 #define S_PCS100G_BLOCK_LOCK 0
46218 #define M_PCS100G_BLOCK_LOCK 0xfffffU
46219 #define V_PCS100G_BLOCK_LOCK(x) ((x) << S_PCS100G_BLOCK_LOCK)
46220 #define G_PCS100G_BLOCK_LOCK(x) (((x) >> S_PCS100G_BLOCK_LOCK) & M_PCS100G_BLOCK_LOCK)
46222 #define A_MAC_PORT_PERR_INT_EN_100G 0x884
46224 #define S_PERR_RX_FEC100G_DLY 29
46225 #define V_PERR_RX_FEC100G_DLY(x) ((x) << S_PERR_RX_FEC100G_DLY)
46226 #define F_PERR_RX_FEC100G_DLY V_PERR_RX_FEC100G_DLY(1U)
46228 #define S_PERR_RX_FEC100G 28
46229 #define V_PERR_RX_FEC100G(x) ((x) << S_PERR_RX_FEC100G)
46230 #define F_PERR_RX_FEC100G V_PERR_RX_FEC100G(1U)
46232 #define S_PERR_RX3_FEC100G_DK 27
46233 #define V_PERR_RX3_FEC100G_DK(x) ((x) << S_PERR_RX3_FEC100G_DK)
46234 #define F_PERR_RX3_FEC100G_DK V_PERR_RX3_FEC100G_DK(1U)
46236 #define S_PERR_RX2_FEC100G_DK 26
46237 #define V_PERR_RX2_FEC100G_DK(x) ((x) << S_PERR_RX2_FEC100G_DK)
46238 #define F_PERR_RX2_FEC100G_DK V_PERR_RX2_FEC100G_DK(1U)
46240 #define S_PERR_RX1_FEC100G_DK 25
46241 #define V_PERR_RX1_FEC100G_DK(x) ((x) << S_PERR_RX1_FEC100G_DK)
46242 #define F_PERR_RX1_FEC100G_DK V_PERR_RX1_FEC100G_DK(1U)
46244 #define S_PERR_RX0_FEC100G_DK 24
46245 #define V_PERR_RX0_FEC100G_DK(x) ((x) << S_PERR_RX0_FEC100G_DK)
46246 #define F_PERR_RX0_FEC100G_DK V_PERR_RX0_FEC100G_DK(1U)
46248 #define S_PERR_TX3_PCS100G 23
46249 #define V_PERR_TX3_PCS100G(x) ((x) << S_PERR_TX3_PCS100G)
46250 #define F_PERR_TX3_PCS100G V_PERR_TX3_PCS100G(1U)
46252 #define S_PERR_TX2_PCS100G 22
46253 #define V_PERR_TX2_PCS100G(x) ((x) << S_PERR_TX2_PCS100G)
46254 #define F_PERR_TX2_PCS100G V_PERR_TX2_PCS100G(1U)
46256 #define S_PERR_TX1_PCS100G 21
46257 #define V_PERR_TX1_PCS100G(x) ((x) << S_PERR_TX1_PCS100G)
46258 #define F_PERR_TX1_PCS100G V_PERR_TX1_PCS100G(1U)
46260 #define S_PERR_TX0_PCS100G 20
46261 #define V_PERR_TX0_PCS100G(x) ((x) << S_PERR_TX0_PCS100G)
46262 #define F_PERR_TX0_PCS100G V_PERR_TX0_PCS100G(1U)
46264 #define S_PERR_RX19_PCS100G 19
46265 #define V_PERR_RX19_PCS100G(x) ((x) << S_PERR_RX19_PCS100G)
46266 #define F_PERR_RX19_PCS100G V_PERR_RX19_PCS100G(1U)
46268 #define S_PERR_RX18_PCS100G 18
46269 #define V_PERR_RX18_PCS100G(x) ((x) << S_PERR_RX18_PCS100G)
46270 #define F_PERR_RX18_PCS100G V_PERR_RX18_PCS100G(1U)
46272 #define S_PERR_RX17_PCS100G 17
46273 #define V_PERR_RX17_PCS100G(x) ((x) << S_PERR_RX17_PCS100G)
46274 #define F_PERR_RX17_PCS100G V_PERR_RX17_PCS100G(1U)
46276 #define S_PERR_RX16_PCS100G 16
46277 #define V_PERR_RX16_PCS100G(x) ((x) << S_PERR_RX16_PCS100G)
46278 #define F_PERR_RX16_PCS100G V_PERR_RX16_PCS100G(1U)
46280 #define S_PERR_RX15_PCS100G 15
46281 #define V_PERR_RX15_PCS100G(x) ((x) << S_PERR_RX15_PCS100G)
46282 #define F_PERR_RX15_PCS100G V_PERR_RX15_PCS100G(1U)
46284 #define S_PERR_RX14_PCS100G 14
46285 #define V_PERR_RX14_PCS100G(x) ((x) << S_PERR_RX14_PCS100G)
46286 #define F_PERR_RX14_PCS100G V_PERR_RX14_PCS100G(1U)
46288 #define S_PERR_RX13_PCS100G 13
46289 #define V_PERR_RX13_PCS100G(x) ((x) << S_PERR_RX13_PCS100G)
46290 #define F_PERR_RX13_PCS100G V_PERR_RX13_PCS100G(1U)
46292 #define S_PERR_RX12_PCS100G 12
46293 #define V_PERR_RX12_PCS100G(x) ((x) << S_PERR_RX12_PCS100G)
46294 #define F_PERR_RX12_PCS100G V_PERR_RX12_PCS100G(1U)
46296 #define S_PERR_RX11_PCS100G 11
46297 #define V_PERR_RX11_PCS100G(x) ((x) << S_PERR_RX11_PCS100G)
46298 #define F_PERR_RX11_PCS100G V_PERR_RX11_PCS100G(1U)
46300 #define S_PERR_RX10_PCS100G 10
46301 #define V_PERR_RX10_PCS100G(x) ((x) << S_PERR_RX10_PCS100G)
46302 #define F_PERR_RX10_PCS100G V_PERR_RX10_PCS100G(1U)
46304 #define S_PERR_RX9_PCS100G 9
46305 #define V_PERR_RX9_PCS100G(x) ((x) << S_PERR_RX9_PCS100G)
46306 #define F_PERR_RX9_PCS100G V_PERR_RX9_PCS100G(1U)
46308 #define S_PERR_RX8_PCS100G 8
46309 #define V_PERR_RX8_PCS100G(x) ((x) << S_PERR_RX8_PCS100G)
46310 #define F_PERR_RX8_PCS100G V_PERR_RX8_PCS100G(1U)
46312 #define S_PERR_RX7_PCS100G 7
46313 #define V_PERR_RX7_PCS100G(x) ((x) << S_PERR_RX7_PCS100G)
46314 #define F_PERR_RX7_PCS100G V_PERR_RX7_PCS100G(1U)
46316 #define S_PERR_RX6_PCS100G 6
46317 #define V_PERR_RX6_PCS100G(x) ((x) << S_PERR_RX6_PCS100G)
46318 #define F_PERR_RX6_PCS100G V_PERR_RX6_PCS100G(1U)
46320 #define S_PERR_RX5_PCS100G 5
46321 #define V_PERR_RX5_PCS100G(x) ((x) << S_PERR_RX5_PCS100G)
46322 #define F_PERR_RX5_PCS100G V_PERR_RX5_PCS100G(1U)
46324 #define S_PERR_RX4_PCS100G 4
46325 #define V_PERR_RX4_PCS100G(x) ((x) << S_PERR_RX4_PCS100G)
46326 #define F_PERR_RX4_PCS100G V_PERR_RX4_PCS100G(1U)
46328 #define S_PERR_RX3_PCS100G 3
46329 #define V_PERR_RX3_PCS100G(x) ((x) << S_PERR_RX3_PCS100G)
46330 #define F_PERR_RX3_PCS100G V_PERR_RX3_PCS100G(1U)
46332 #define S_PERR_RX2_PCS100G 2
46333 #define V_PERR_RX2_PCS100G(x) ((x) << S_PERR_RX2_PCS100G)
46334 #define F_PERR_RX2_PCS100G V_PERR_RX2_PCS100G(1U)
46336 #define S_PERR_RX1_PCS100G 1
46337 #define V_PERR_RX1_PCS100G(x) ((x) << S_PERR_RX1_PCS100G)
46338 #define F_PERR_RX1_PCS100G V_PERR_RX1_PCS100G(1U)
46340 #define S_PERR_RX0_PCS100G 0
46341 #define V_PERR_RX0_PCS100G(x) ((x) << S_PERR_RX0_PCS100G)
46342 #define F_PERR_RX0_PCS100G V_PERR_RX0_PCS100G(1U)
46344 #define A_MAC_PORT_PERR_INT_CAUSE_100G 0x888
46345 #define A_MAC_PORT_PERR_ENABLE_100G 0x88c
46346 #define A_MAC_PORT_MAC_STAT_DEBUG 0x890
46347 #define A_MAC_PORT_MAC_25G_50G_AM0 0x894
46348 #define A_MAC_PORT_MAC_25G_50G_AM1 0x898
46349 #define A_MAC_PORT_MAC_25G_50G_AM2 0x89c
46350 #define A_MAC_PORT_MAC_25G_50G_AM3 0x8a0
46351 #define A_MAC_PORT_MAC_AN_STATE_STATUS 0x8a4
46352 #define A_MAC_PORT_EPIO_DATA0 0x8c0
46353 #define A_MAC_PORT_EPIO_DATA1 0x8c4
46354 #define A_MAC_PORT_EPIO_DATA2 0x8c8
46355 #define A_MAC_PORT_EPIO_DATA3 0x8cc
46356 #define A_MAC_PORT_EPIO_OP 0x8d0
46357 #define A_MAC_PORT_WOL_STATUS 0x8d4
46358 #define A_MAC_PORT_INT_EN 0x8d8
46360 #define S_TX_TS_AVAIL 29
46361 #define V_TX_TS_AVAIL(x) ((x) << S_TX_TS_AVAIL)
46362 #define F_TX_TS_AVAIL V_TX_TS_AVAIL(1U)
46364 #define S_AN_PAGE_RCVD 2
46365 #define V_AN_PAGE_RCVD(x) ((x) << S_AN_PAGE_RCVD)
46366 #define F_AN_PAGE_RCVD V_AN_PAGE_RCVD(1U)
46369 #define V_PPS(x) ((x) << S_PPS)
46370 #define F_PPS V_PPS(1U)
46372 #define S_SINGLE_ALARM 28
46373 #define V_SINGLE_ALARM(x) ((x) << S_SINGLE_ALARM)
46374 #define F_SINGLE_ALARM V_SINGLE_ALARM(1U)
46376 #define S_PERIODIC_ALARM 27
46377 #define V_PERIODIC_ALARM(x) ((x) << S_PERIODIC_ALARM)
46378 #define F_PERIODIC_ALARM V_PERIODIC_ALARM(1U)
46380 #define A_MAC_PORT_INT_CAUSE 0x8dc
46381 #define A_MAC_PORT_PERR_INT_EN 0x8e0
46383 #define S_PERR_PKT_RAM 24
46384 #define V_PERR_PKT_RAM(x) ((x) << S_PERR_PKT_RAM)
46385 #define F_PERR_PKT_RAM V_PERR_PKT_RAM(1U)
46387 #define S_PERR_MASK_RAM 23
46388 #define V_PERR_MASK_RAM(x) ((x) << S_PERR_MASK_RAM)
46389 #define F_PERR_MASK_RAM V_PERR_MASK_RAM(1U)
46391 #define S_PERR_CRC_RAM 22
46392 #define V_PERR_CRC_RAM(x) ((x) << S_PERR_CRC_RAM)
46393 #define F_PERR_CRC_RAM V_PERR_CRC_RAM(1U)
46395 #define S_RX_DFF_SEG0 21
46396 #define V_RX_DFF_SEG0(x) ((x) << S_RX_DFF_SEG0)
46397 #define F_RX_DFF_SEG0 V_RX_DFF_SEG0(1U)
46399 #define S_RX_SFF_SEG0 20
46400 #define V_RX_SFF_SEG0(x) ((x) << S_RX_SFF_SEG0)
46401 #define F_RX_SFF_SEG0 V_RX_SFF_SEG0(1U)
46403 #define S_RX_DFF_MAC10 19
46404 #define V_RX_DFF_MAC10(x) ((x) << S_RX_DFF_MAC10)
46405 #define F_RX_DFF_MAC10 V_RX_DFF_MAC10(1U)
46407 #define S_RX_SFF_MAC10 18
46408 #define V_RX_SFF_MAC10(x) ((x) << S_RX_SFF_MAC10)
46409 #define F_RX_SFF_MAC10 V_RX_SFF_MAC10(1U)
46411 #define S_TX_DFF_SEG0 17
46412 #define V_TX_DFF_SEG0(x) ((x) << S_TX_DFF_SEG0)
46413 #define F_TX_DFF_SEG0 V_TX_DFF_SEG0(1U)
46415 #define S_TX_SFF_SEG0 16
46416 #define V_TX_SFF_SEG0(x) ((x) << S_TX_SFF_SEG0)
46417 #define F_TX_SFF_SEG0 V_TX_SFF_SEG0(1U)
46419 #define S_TX_DFF_MAC10 15
46420 #define V_TX_DFF_MAC10(x) ((x) << S_TX_DFF_MAC10)
46421 #define F_TX_DFF_MAC10 V_TX_DFF_MAC10(1U)
46423 #define S_TX_SFF_MAC10 14
46424 #define V_TX_SFF_MAC10(x) ((x) << S_TX_SFF_MAC10)
46425 #define F_TX_SFF_MAC10 V_TX_SFF_MAC10(1U)
46427 #define S_RX_STATS 13
46428 #define V_RX_STATS(x) ((x) << S_RX_STATS)
46429 #define F_RX_STATS V_RX_STATS(1U)
46431 #define S_TX_STATS 12
46432 #define V_TX_STATS(x) ((x) << S_TX_STATS)
46433 #define F_TX_STATS V_TX_STATS(1U)
46435 #define S_PERR3_RX_MIX 11
46436 #define V_PERR3_RX_MIX(x) ((x) << S_PERR3_RX_MIX)
46437 #define F_PERR3_RX_MIX V_PERR3_RX_MIX(1U)
46439 #define S_PERR3_RX_SD 10
46440 #define V_PERR3_RX_SD(x) ((x) << S_PERR3_RX_SD)
46441 #define F_PERR3_RX_SD V_PERR3_RX_SD(1U)
46443 #define S_PERR3_TX 9
46444 #define V_PERR3_TX(x) ((x) << S_PERR3_TX)
46445 #define F_PERR3_TX V_PERR3_TX(1U)
46447 #define S_PERR2_RX_MIX 8
46448 #define V_PERR2_RX_MIX(x) ((x) << S_PERR2_RX_MIX)
46449 #define F_PERR2_RX_MIX V_PERR2_RX_MIX(1U)
46451 #define S_PERR2_RX_SD 7
46452 #define V_PERR2_RX_SD(x) ((x) << S_PERR2_RX_SD)
46453 #define F_PERR2_RX_SD V_PERR2_RX_SD(1U)
46455 #define S_PERR2_TX 6
46456 #define V_PERR2_TX(x) ((x) << S_PERR2_TX)
46457 #define F_PERR2_TX V_PERR2_TX(1U)
46459 #define S_PERR1_RX_MIX 5
46460 #define V_PERR1_RX_MIX(x) ((x) << S_PERR1_RX_MIX)
46461 #define F_PERR1_RX_MIX V_PERR1_RX_MIX(1U)
46463 #define S_PERR1_RX_SD 4
46464 #define V_PERR1_RX_SD(x) ((x) << S_PERR1_RX_SD)
46465 #define F_PERR1_RX_SD V_PERR1_RX_SD(1U)
46467 #define S_PERR1_TX 3
46468 #define V_PERR1_TX(x) ((x) << S_PERR1_TX)
46469 #define F_PERR1_TX V_PERR1_TX(1U)
46471 #define S_PERR0_RX_MIX 2
46472 #define V_PERR0_RX_MIX(x) ((x) << S_PERR0_RX_MIX)
46473 #define F_PERR0_RX_MIX V_PERR0_RX_MIX(1U)
46475 #define S_PERR0_RX_SD 1
46476 #define V_PERR0_RX_SD(x) ((x) << S_PERR0_RX_SD)
46477 #define F_PERR0_RX_SD V_PERR0_RX_SD(1U)
46479 #define S_PERR0_TX 0
46480 #define V_PERR0_TX(x) ((x) << S_PERR0_TX)
46481 #define F_PERR0_TX V_PERR0_TX(1U)
46483 #define S_T6_PERR_PKT_RAM 31
46484 #define V_T6_PERR_PKT_RAM(x) ((x) << S_T6_PERR_PKT_RAM)
46485 #define F_T6_PERR_PKT_RAM V_T6_PERR_PKT_RAM(1U)
46487 #define S_T6_PERR_MASK_RAM 30
46488 #define V_T6_PERR_MASK_RAM(x) ((x) << S_T6_PERR_MASK_RAM)
46489 #define F_T6_PERR_MASK_RAM V_T6_PERR_MASK_RAM(1U)
46491 #define S_T6_PERR_CRC_RAM 29
46492 #define V_T6_PERR_CRC_RAM(x) ((x) << S_T6_PERR_CRC_RAM)
46493 #define F_T6_PERR_CRC_RAM V_T6_PERR_CRC_RAM(1U)
46495 #define S_RX_MAC40G 28
46496 #define V_RX_MAC40G(x) ((x) << S_RX_MAC40G)
46497 #define F_RX_MAC40G V_RX_MAC40G(1U)
46499 #define S_TX_MAC40G 27
46500 #define V_TX_MAC40G(x) ((x) << S_TX_MAC40G)
46501 #define F_TX_MAC40G V_TX_MAC40G(1U)
46503 #define S_RX_ST_MAC40G 26
46504 #define V_RX_ST_MAC40G(x) ((x) << S_RX_ST_MAC40G)
46505 #define F_RX_ST_MAC40G V_RX_ST_MAC40G(1U)
46507 #define S_TX_ST_MAC40G 25
46508 #define V_TX_ST_MAC40G(x) ((x) << S_TX_ST_MAC40G)
46509 #define F_TX_ST_MAC40G V_TX_ST_MAC40G(1U)
46511 #define S_TX_MAC1G10G 24
46512 #define V_TX_MAC1G10G(x) ((x) << S_TX_MAC1G10G)
46513 #define F_TX_MAC1G10G V_TX_MAC1G10G(1U)
46515 #define S_RX_MAC1G10G 23
46516 #define V_RX_MAC1G10G(x) ((x) << S_RX_MAC1G10G)
46517 #define F_RX_MAC1G10G V_RX_MAC1G10G(1U)
46519 #define S_RX_STATUS_MAC1G10G 22
46520 #define V_RX_STATUS_MAC1G10G(x) ((x) << S_RX_STATUS_MAC1G10G)
46521 #define F_RX_STATUS_MAC1G10G V_RX_STATUS_MAC1G10G(1U)
46523 #define S_RX_ST_MAC1G10G 21
46524 #define V_RX_ST_MAC1G10G(x) ((x) << S_RX_ST_MAC1G10G)
46525 #define F_RX_ST_MAC1G10G V_RX_ST_MAC1G10G(1U)
46527 #define S_TX_ST_MAC1G10G 20
46528 #define V_TX_ST_MAC1G10G(x) ((x) << S_TX_ST_MAC1G10G)
46529 #define F_TX_ST_MAC1G10G V_TX_ST_MAC1G10G(1U)
46531 #define S_PERR_TX0_PCS40G 19
46532 #define V_PERR_TX0_PCS40G(x) ((x) << S_PERR_TX0_PCS40G)
46533 #define F_PERR_TX0_PCS40G V_PERR_TX0_PCS40G(1U)
46535 #define S_PERR_TX1_PCS40G 18
46536 #define V_PERR_TX1_PCS40G(x) ((x) << S_PERR_TX1_PCS40G)
46537 #define F_PERR_TX1_PCS40G V_PERR_TX1_PCS40G(1U)
46539 #define S_PERR_TX2_PCS40G 17
46540 #define V_PERR_TX2_PCS40G(x) ((x) << S_PERR_TX2_PCS40G)
46541 #define F_PERR_TX2_PCS40G V_PERR_TX2_PCS40G(1U)
46543 #define S_PERR_TX3_PCS40G 16
46544 #define V_PERR_TX3_PCS40G(x) ((x) << S_PERR_TX3_PCS40G)
46545 #define F_PERR_TX3_PCS40G V_PERR_TX3_PCS40G(1U)
46547 #define S_PERR_TX0_FEC40G 15
46548 #define V_PERR_TX0_FEC40G(x) ((x) << S_PERR_TX0_FEC40G)
46549 #define F_PERR_TX0_FEC40G V_PERR_TX0_FEC40G(1U)
46551 #define S_PERR_TX1_FEC40G 14
46552 #define V_PERR_TX1_FEC40G(x) ((x) << S_PERR_TX1_FEC40G)
46553 #define F_PERR_TX1_FEC40G V_PERR_TX1_FEC40G(1U)
46555 #define S_PERR_TX2_FEC40G 13
46556 #define V_PERR_TX2_FEC40G(x) ((x) << S_PERR_TX2_FEC40G)
46557 #define F_PERR_TX2_FEC40G V_PERR_TX2_FEC40G(1U)
46559 #define S_PERR_TX3_FEC40G 12
46560 #define V_PERR_TX3_FEC40G(x) ((x) << S_PERR_TX3_FEC40G)
46561 #define F_PERR_TX3_FEC40G V_PERR_TX3_FEC40G(1U)
46563 #define S_PERR_RX0_PCS40G 11
46564 #define V_PERR_RX0_PCS40G(x) ((x) << S_PERR_RX0_PCS40G)
46565 #define F_PERR_RX0_PCS40G V_PERR_RX0_PCS40G(1U)
46567 #define S_PERR_RX1_PCS40G 10
46568 #define V_PERR_RX1_PCS40G(x) ((x) << S_PERR_RX1_PCS40G)
46569 #define F_PERR_RX1_PCS40G V_PERR_RX1_PCS40G(1U)
46571 #define S_PERR_RX2_PCS40G 9
46572 #define V_PERR_RX2_PCS40G(x) ((x) << S_PERR_RX2_PCS40G)
46573 #define F_PERR_RX2_PCS40G V_PERR_RX2_PCS40G(1U)
46575 #define S_PERR_RX3_PCS40G 8
46576 #define V_PERR_RX3_PCS40G(x) ((x) << S_PERR_RX3_PCS40G)
46577 #define F_PERR_RX3_PCS40G V_PERR_RX3_PCS40G(1U)
46579 #define S_PERR_RX0_FEC40G 7
46580 #define V_PERR_RX0_FEC40G(x) ((x) << S_PERR_RX0_FEC40G)
46581 #define F_PERR_RX0_FEC40G V_PERR_RX0_FEC40G(1U)
46583 #define S_PERR_RX1_FEC40G 6
46584 #define V_PERR_RX1_FEC40G(x) ((x) << S_PERR_RX1_FEC40G)
46585 #define F_PERR_RX1_FEC40G V_PERR_RX1_FEC40G(1U)
46587 #define S_PERR_RX2_FEC40G 5
46588 #define V_PERR_RX2_FEC40G(x) ((x) << S_PERR_RX2_FEC40G)
46589 #define F_PERR_RX2_FEC40G V_PERR_RX2_FEC40G(1U)
46591 #define S_PERR_RX3_FEC40G 4
46592 #define V_PERR_RX3_FEC40G(x) ((x) << S_PERR_RX3_FEC40G)
46593 #define F_PERR_RX3_FEC40G V_PERR_RX3_FEC40G(1U)
46595 #define S_PERR_RX_PCS10G_LPBK 3
46596 #define V_PERR_RX_PCS10G_LPBK(x) ((x) << S_PERR_RX_PCS10G_LPBK)
46597 #define F_PERR_RX_PCS10G_LPBK V_PERR_RX_PCS10G_LPBK(1U)
46599 #define S_PERR_RX_PCS10G 2
46600 #define V_PERR_RX_PCS10G(x) ((x) << S_PERR_RX_PCS10G)
46601 #define F_PERR_RX_PCS10G V_PERR_RX_PCS10G(1U)
46603 #define S_PERR_RX_PCS1G 1
46604 #define V_PERR_RX_PCS1G(x) ((x) << S_PERR_RX_PCS1G)
46605 #define F_PERR_RX_PCS1G V_PERR_RX_PCS1G(1U)
46607 #define S_PERR_TX_PCS1G 0
46608 #define V_PERR_TX_PCS1G(x) ((x) << S_PERR_TX_PCS1G)
46609 #define F_PERR_TX_PCS1G V_PERR_TX_PCS1G(1U)
46611 #define A_MAC_PORT_PERR_INT_CAUSE 0x8e4
46613 #define S_T6_PERR_PKT_RAM 31
46614 #define V_T6_PERR_PKT_RAM(x) ((x) << S_T6_PERR_PKT_RAM)
46615 #define F_T6_PERR_PKT_RAM V_T6_PERR_PKT_RAM(1U)
46617 #define S_T6_PERR_MASK_RAM 30
46618 #define V_T6_PERR_MASK_RAM(x) ((x) << S_T6_PERR_MASK_RAM)
46619 #define F_T6_PERR_MASK_RAM V_T6_PERR_MASK_RAM(1U)
46621 #define S_T6_PERR_CRC_RAM 29
46622 #define V_T6_PERR_CRC_RAM(x) ((x) << S_T6_PERR_CRC_RAM)
46623 #define F_T6_PERR_CRC_RAM V_T6_PERR_CRC_RAM(1U)
46625 #define A_MAC_PORT_PERR_ENABLE 0x8e8
46627 #define S_T6_PERR_PKT_RAM 31
46628 #define V_T6_PERR_PKT_RAM(x) ((x) << S_T6_PERR_PKT_RAM)
46629 #define F_T6_PERR_PKT_RAM V_T6_PERR_PKT_RAM(1U)
46631 #define S_T6_PERR_MASK_RAM 30
46632 #define V_T6_PERR_MASK_RAM(x) ((x) << S_T6_PERR_MASK_RAM)
46633 #define F_T6_PERR_MASK_RAM V_T6_PERR_MASK_RAM(1U)
46635 #define S_T6_PERR_CRC_RAM 29
46636 #define V_T6_PERR_CRC_RAM(x) ((x) << S_T6_PERR_CRC_RAM)
46637 #define F_T6_PERR_CRC_RAM V_T6_PERR_CRC_RAM(1U)
46639 #define A_MAC_PORT_PERR_INJECT 0x8ec
46641 #define S_MEMSEL_PERR 1
46642 #define M_MEMSEL_PERR 0x3fU
46643 #define V_MEMSEL_PERR(x) ((x) << S_MEMSEL_PERR)
46644 #define G_MEMSEL_PERR(x) (((x) >> S_MEMSEL_PERR) & M_MEMSEL_PERR)
46646 #define A_MAC_PORT_HSS_CFG0 0x8f0
46648 #define S_HSSREFCLKVALIDA 20
46649 #define V_HSSREFCLKVALIDA(x) ((x) << S_HSSREFCLKVALIDA)
46650 #define F_HSSREFCLKVALIDA V_HSSREFCLKVALIDA(1U)
46652 #define S_HSSREFCLKVALIDB 19
46653 #define V_HSSREFCLKVALIDB(x) ((x) << S_HSSREFCLKVALIDB)
46654 #define F_HSSREFCLKVALIDB V_HSSREFCLKVALIDB(1U)
46656 #define S_HSSRESYNCA 18
46657 #define V_HSSRESYNCA(x) ((x) << S_HSSRESYNCA)
46658 #define F_HSSRESYNCA V_HSSRESYNCA(1U)
46660 #define S_HSSRESYNCB 16
46661 #define V_HSSRESYNCB(x) ((x) << S_HSSRESYNCB)
46662 #define F_HSSRESYNCB V_HSSRESYNCB(1U)
46664 #define S_HSSRECCALA 15
46665 #define V_HSSRECCALA(x) ((x) << S_HSSRECCALA)
46666 #define F_HSSRECCALA V_HSSRECCALA(1U)
46668 #define S_HSSRECCALB 13
46669 #define V_HSSRECCALB(x) ((x) << S_HSSRECCALB)
46670 #define F_HSSRECCALB V_HSSRECCALB(1U)
46672 #define S_HSSPLLBYPA 12
46673 #define V_HSSPLLBYPA(x) ((x) << S_HSSPLLBYPA)
46674 #define F_HSSPLLBYPA V_HSSPLLBYPA(1U)
46676 #define S_HSSPLLBYPB 11
46677 #define V_HSSPLLBYPB(x) ((x) << S_HSSPLLBYPB)
46678 #define F_HSSPLLBYPB V_HSSPLLBYPB(1U)
46680 #define S_HSSPDWNPLLA 10
46681 #define V_HSSPDWNPLLA(x) ((x) << S_HSSPDWNPLLA)
46682 #define F_HSSPDWNPLLA V_HSSPDWNPLLA(1U)
46684 #define S_HSSPDWNPLLB 9
46685 #define V_HSSPDWNPLLB(x) ((x) << S_HSSPDWNPLLB)
46686 #define F_HSSPDWNPLLB V_HSSPDWNPLLB(1U)
46688 #define S_HSSVCOSELA 8
46689 #define V_HSSVCOSELA(x) ((x) << S_HSSVCOSELA)
46690 #define F_HSSVCOSELA V_HSSVCOSELA(1U)
46692 #define S_HSSVCOSELB 7
46693 #define V_HSSVCOSELB(x) ((x) << S_HSSVCOSELB)
46694 #define F_HSSVCOSELB V_HSSVCOSELB(1U)
46696 #define S_HSSCALCOMP 6
46697 #define V_HSSCALCOMP(x) ((x) << S_HSSCALCOMP)
46698 #define F_HSSCALCOMP V_HSSCALCOMP(1U)
46700 #define S_HSSCALENAB 5
46701 #define V_HSSCALENAB(x) ((x) << S_HSSCALENAB)
46702 #define F_HSSCALENAB V_HSSCALENAB(1U)
46704 #define A_MAC_PORT_HSS_CFG1 0x8f4
46706 #define S_RXACONFIGSEL 30
46707 #define M_RXACONFIGSEL 0x3U
46708 #define V_RXACONFIGSEL(x) ((x) << S_RXACONFIGSEL)
46709 #define G_RXACONFIGSEL(x) (((x) >> S_RXACONFIGSEL) & M_RXACONFIGSEL)
46711 #define S_RXAQUIET 29
46712 #define V_RXAQUIET(x) ((x) << S_RXAQUIET)
46713 #define F_RXAQUIET V_RXAQUIET(1U)
46715 #define S_RXAREFRESH 28
46716 #define V_RXAREFRESH(x) ((x) << S_RXAREFRESH)
46717 #define F_RXAREFRESH V_RXAREFRESH(1U)
46719 #define S_RXBCONFIGSEL 26
46720 #define M_RXBCONFIGSEL 0x3U
46721 #define V_RXBCONFIGSEL(x) ((x) << S_RXBCONFIGSEL)
46722 #define G_RXBCONFIGSEL(x) (((x) >> S_RXBCONFIGSEL) & M_RXBCONFIGSEL)
46724 #define S_RXBQUIET 25
46725 #define V_RXBQUIET(x) ((x) << S_RXBQUIET)
46726 #define F_RXBQUIET V_RXBQUIET(1U)
46728 #define S_RXBREFRESH 24
46729 #define V_RXBREFRESH(x) ((x) << S_RXBREFRESH)
46730 #define F_RXBREFRESH V_RXBREFRESH(1U)
46732 #define S_RXCCONFIGSEL 22
46733 #define M_RXCCONFIGSEL 0x3U
46734 #define V_RXCCONFIGSEL(x) ((x) << S_RXCCONFIGSEL)
46735 #define G_RXCCONFIGSEL(x) (((x) >> S_RXCCONFIGSEL) & M_RXCCONFIGSEL)
46737 #define S_RXCQUIET 21
46738 #define V_RXCQUIET(x) ((x) << S_RXCQUIET)
46739 #define F_RXCQUIET V_RXCQUIET(1U)
46741 #define S_RXCREFRESH 20
46742 #define V_RXCREFRESH(x) ((x) << S_RXCREFRESH)
46743 #define F_RXCREFRESH V_RXCREFRESH(1U)
46745 #define S_RXDCONFIGSEL 18
46746 #define M_RXDCONFIGSEL 0x3U
46747 #define V_RXDCONFIGSEL(x) ((x) << S_RXDCONFIGSEL)
46748 #define G_RXDCONFIGSEL(x) (((x) >> S_RXDCONFIGSEL) & M_RXDCONFIGSEL)
46750 #define S_RXDQUIET 17
46751 #define V_RXDQUIET(x) ((x) << S_RXDQUIET)
46752 #define F_RXDQUIET V_RXDQUIET(1U)
46754 #define S_RXDREFRESH 16
46755 #define V_RXDREFRESH(x) ((x) << S_RXDREFRESH)
46756 #define F_RXDREFRESH V_RXDREFRESH(1U)
46758 #define S_TXACONFIGSEL 14
46759 #define M_TXACONFIGSEL 0x3U
46760 #define V_TXACONFIGSEL(x) ((x) << S_TXACONFIGSEL)
46761 #define G_TXACONFIGSEL(x) (((x) >> S_TXACONFIGSEL) & M_TXACONFIGSEL)
46763 #define S_TXAQUIET 13
46764 #define V_TXAQUIET(x) ((x) << S_TXAQUIET)
46765 #define F_TXAQUIET V_TXAQUIET(1U)
46767 #define S_TXAREFRESH 12
46768 #define V_TXAREFRESH(x) ((x) << S_TXAREFRESH)
46769 #define F_TXAREFRESH V_TXAREFRESH(1U)
46771 #define S_TXBCONFIGSEL 10
46772 #define M_TXBCONFIGSEL 0x3U
46773 #define V_TXBCONFIGSEL(x) ((x) << S_TXBCONFIGSEL)
46774 #define G_TXBCONFIGSEL(x) (((x) >> S_TXBCONFIGSEL) & M_TXBCONFIGSEL)
46776 #define S_TXBQUIET 9
46777 #define V_TXBQUIET(x) ((x) << S_TXBQUIET)
46778 #define F_TXBQUIET V_TXBQUIET(1U)
46780 #define S_TXBREFRESH 8
46781 #define V_TXBREFRESH(x) ((x) << S_TXBREFRESH)
46782 #define F_TXBREFRESH V_TXBREFRESH(1U)
46784 #define S_TXCCONFIGSEL 6
46785 #define M_TXCCONFIGSEL 0x3U
46786 #define V_TXCCONFIGSEL(x) ((x) << S_TXCCONFIGSEL)
46787 #define G_TXCCONFIGSEL(x) (((x) >> S_TXCCONFIGSEL) & M_TXCCONFIGSEL)
46789 #define S_TXCQUIET 5
46790 #define V_TXCQUIET(x) ((x) << S_TXCQUIET)
46791 #define F_TXCQUIET V_TXCQUIET(1U)
46793 #define S_TXCREFRESH 4
46794 #define V_TXCREFRESH(x) ((x) << S_TXCREFRESH)
46795 #define F_TXCREFRESH V_TXCREFRESH(1U)
46797 #define S_TXDCONFIGSEL 2
46798 #define M_TXDCONFIGSEL 0x3U
46799 #define V_TXDCONFIGSEL(x) ((x) << S_TXDCONFIGSEL)
46800 #define G_TXDCONFIGSEL(x) (((x) >> S_TXDCONFIGSEL) & M_TXDCONFIGSEL)
46802 #define S_TXDQUIET 1
46803 #define V_TXDQUIET(x) ((x) << S_TXDQUIET)
46804 #define F_TXDQUIET V_TXDQUIET(1U)
46806 #define S_TXDREFRESH 0
46807 #define V_TXDREFRESH(x) ((x) << S_TXDREFRESH)
46808 #define F_TXDREFRESH V_TXDREFRESH(1U)
46810 #define A_MAC_PORT_HSS_CFG2 0x8f8
46812 #define S_RXAASSTCLK 31
46813 #define V_RXAASSTCLK(x) ((x) << S_RXAASSTCLK)
46814 #define F_RXAASSTCLK V_RXAASSTCLK(1U)
46816 #define S_T5RXAPRBSRST 30
46817 #define V_T5RXAPRBSRST(x) ((x) << S_T5RXAPRBSRST)
46818 #define F_T5RXAPRBSRST V_T5RXAPRBSRST(1U)
46820 #define S_RXBASSTCLK 29
46821 #define V_RXBASSTCLK(x) ((x) << S_RXBASSTCLK)
46822 #define F_RXBASSTCLK V_RXBASSTCLK(1U)
46824 #define S_T5RXBPRBSRST 28
46825 #define V_T5RXBPRBSRST(x) ((x) << S_T5RXBPRBSRST)
46826 #define F_T5RXBPRBSRST V_T5RXBPRBSRST(1U)
46828 #define S_RXCASSTCLK 27
46829 #define V_RXCASSTCLK(x) ((x) << S_RXCASSTCLK)
46830 #define F_RXCASSTCLK V_RXCASSTCLK(1U)
46832 #define S_T5RXCPRBSRST 26
46833 #define V_T5RXCPRBSRST(x) ((x) << S_T5RXCPRBSRST)
46834 #define F_T5RXCPRBSRST V_T5RXCPRBSRST(1U)
46836 #define S_RXDASSTCLK 25
46837 #define V_RXDASSTCLK(x) ((x) << S_RXDASSTCLK)
46838 #define F_RXDASSTCLK V_RXDASSTCLK(1U)
46840 #define S_T5RXDPRBSRST 24
46841 #define V_T5RXDPRBSRST(x) ((x) << S_T5RXDPRBSRST)
46842 #define F_T5RXDPRBSRST V_T5RXDPRBSRST(1U)
46844 #define A_MAC_PORT_HSS_CFG3 0x8fc
46846 #define S_HSSCALSSTN 25
46847 #define M_HSSCALSSTN 0x7U
46848 #define V_HSSCALSSTN(x) ((x) << S_HSSCALSSTN)
46849 #define G_HSSCALSSTN(x) (((x) >> S_HSSCALSSTN) & M_HSSCALSSTN)
46851 #define S_HSSCALSSTP 22
46852 #define M_HSSCALSSTP 0x7U
46853 #define V_HSSCALSSTP(x) ((x) << S_HSSCALSSTP)
46854 #define G_HSSCALSSTP(x) (((x) >> S_HSSCALSSTP) & M_HSSCALSSTP)
46856 #define S_HSSVBOOSTDIVB 19
46857 #define M_HSSVBOOSTDIVB 0x7U
46858 #define V_HSSVBOOSTDIVB(x) ((x) << S_HSSVBOOSTDIVB)
46859 #define G_HSSVBOOSTDIVB(x) (((x) >> S_HSSVBOOSTDIVB) & M_HSSVBOOSTDIVB)
46861 #define S_HSSVBOOSTDIVA 16
46862 #define M_HSSVBOOSTDIVA 0x7U
46863 #define V_HSSVBOOSTDIVA(x) ((x) << S_HSSVBOOSTDIVA)
46864 #define G_HSSVBOOSTDIVA(x) (((x) >> S_HSSVBOOSTDIVA) & M_HSSVBOOSTDIVA)
46866 #define S_HSSPLLCONFIGB 8
46867 #define M_HSSPLLCONFIGB 0xffU
46868 #define V_HSSPLLCONFIGB(x) ((x) << S_HSSPLLCONFIGB)
46869 #define G_HSSPLLCONFIGB(x) (((x) >> S_HSSPLLCONFIGB) & M_HSSPLLCONFIGB)
46871 #define S_HSSPLLCONFIGA 0
46872 #define M_HSSPLLCONFIGA 0xffU
46873 #define V_HSSPLLCONFIGA(x) ((x) << S_HSSPLLCONFIGA)
46874 #define G_HSSPLLCONFIGA(x) (((x) >> S_HSSPLLCONFIGA) & M_HSSPLLCONFIGA)
46876 #define S_T6_HSSCALSSTN 22
46877 #define M_T6_HSSCALSSTN 0x3fU
46878 #define V_T6_HSSCALSSTN(x) ((x) << S_T6_HSSCALSSTN)
46879 #define G_T6_HSSCALSSTN(x) (((x) >> S_T6_HSSCALSSTN) & M_T6_HSSCALSSTN)
46881 #define S_T6_HSSCALSSTP 16
46882 #define M_T6_HSSCALSSTP 0x3fU
46883 #define V_T6_HSSCALSSTP(x) ((x) << S_T6_HSSCALSSTP)
46884 #define G_T6_HSSCALSSTP(x) (((x) >> S_T6_HSSCALSSTP) & M_T6_HSSCALSSTP)
46886 #define A_MAC_PORT_HSS_CFG4 0x900
46888 #define S_HSSDIVSELA 9
46889 #define M_HSSDIVSELA 0x1ffU
46890 #define V_HSSDIVSELA(x) ((x) << S_HSSDIVSELA)
46891 #define G_HSSDIVSELA(x) (((x) >> S_HSSDIVSELA) & M_HSSDIVSELA)
46893 #define S_HSSDIVSELB 0
46894 #define M_HSSDIVSELB 0x1ffU
46895 #define V_HSSDIVSELB(x) ((x) << S_HSSDIVSELB)
46896 #define G_HSSDIVSELB(x) (((x) >> S_HSSDIVSELB) & M_HSSDIVSELB)
46898 #define S_HSSREFDIVA 24
46899 #define M_HSSREFDIVA 0xfU
46900 #define V_HSSREFDIVA(x) ((x) << S_HSSREFDIVA)
46901 #define G_HSSREFDIVA(x) (((x) >> S_HSSREFDIVA) & M_HSSREFDIVA)
46903 #define S_HSSREFDIVB 20
46904 #define M_HSSREFDIVB 0xfU
46905 #define V_HSSREFDIVB(x) ((x) << S_HSSREFDIVB)
46906 #define G_HSSREFDIVB(x) (((x) >> S_HSSREFDIVB) & M_HSSREFDIVB)
46908 #define S_HSSPLLDIV2B 19
46909 #define V_HSSPLLDIV2B(x) ((x) << S_HSSPLLDIV2B)
46910 #define F_HSSPLLDIV2B V_HSSPLLDIV2B(1U)
46912 #define S_HSSPLLDIV2A 18
46913 #define V_HSSPLLDIV2A(x) ((x) << S_HSSPLLDIV2A)
46914 #define F_HSSPLLDIV2A V_HSSPLLDIV2A(1U)
46916 #define A_MAC_PORT_HSS_STATUS 0x904
46918 #define S_HSSPLLLOCKB 3
46919 #define V_HSSPLLLOCKB(x) ((x) << S_HSSPLLLOCKB)
46920 #define F_HSSPLLLOCKB V_HSSPLLLOCKB(1U)
46922 #define S_HSSPLLLOCKA 2
46923 #define V_HSSPLLLOCKA(x) ((x) << S_HSSPLLLOCKA)
46924 #define F_HSSPLLLOCKA V_HSSPLLLOCKA(1U)
46926 #define S_HSSPRTREADYB 1
46927 #define V_HSSPRTREADYB(x) ((x) << S_HSSPRTREADYB)
46928 #define F_HSSPRTREADYB V_HSSPRTREADYB(1U)
46930 #define S_HSSPRTREADYA 0
46931 #define V_HSSPRTREADYA(x) ((x) << S_HSSPRTREADYA)
46932 #define F_HSSPRTREADYA V_HSSPRTREADYA(1U)
46934 #define S_RXDERROFLOW 19
46935 #define V_RXDERROFLOW(x) ((x) << S_RXDERROFLOW)
46936 #define F_RXDERROFLOW V_RXDERROFLOW(1U)
46938 #define S_RXCERROFLOW 18
46939 #define V_RXCERROFLOW(x) ((x) << S_RXCERROFLOW)
46940 #define F_RXCERROFLOW V_RXCERROFLOW(1U)
46942 #define S_RXBERROFLOW 17
46943 #define V_RXBERROFLOW(x) ((x) << S_RXBERROFLOW)
46944 #define F_RXBERROFLOW V_RXBERROFLOW(1U)
46946 #define S_RXAERROFLOW 16
46947 #define V_RXAERROFLOW(x) ((x) << S_RXAERROFLOW)
46948 #define F_RXAERROFLOW V_RXAERROFLOW(1U)
46950 #define A_MAC_PORT_HSS_EEE_STATUS 0x908
46952 #define S_RXAQUIET_STATUS 15
46953 #define V_RXAQUIET_STATUS(x) ((x) << S_RXAQUIET_STATUS)
46954 #define F_RXAQUIET_STATUS V_RXAQUIET_STATUS(1U)
46956 #define S_RXAREFRESH_STATUS 14
46957 #define V_RXAREFRESH_STATUS(x) ((x) << S_RXAREFRESH_STATUS)
46958 #define F_RXAREFRESH_STATUS V_RXAREFRESH_STATUS(1U)
46960 #define S_RXBQUIET_STATUS 13
46961 #define V_RXBQUIET_STATUS(x) ((x) << S_RXBQUIET_STATUS)
46962 #define F_RXBQUIET_STATUS V_RXBQUIET_STATUS(1U)
46964 #define S_RXBREFRESH_STATUS 12
46965 #define V_RXBREFRESH_STATUS(x) ((x) << S_RXBREFRESH_STATUS)
46966 #define F_RXBREFRESH_STATUS V_RXBREFRESH_STATUS(1U)
46968 #define S_RXCQUIET_STATUS 11
46969 #define V_RXCQUIET_STATUS(x) ((x) << S_RXCQUIET_STATUS)
46970 #define F_RXCQUIET_STATUS V_RXCQUIET_STATUS(1U)
46972 #define S_RXCREFRESH_STATUS 10
46973 #define V_RXCREFRESH_STATUS(x) ((x) << S_RXCREFRESH_STATUS)
46974 #define F_RXCREFRESH_STATUS V_RXCREFRESH_STATUS(1U)
46976 #define S_RXDQUIET_STATUS 9
46977 #define V_RXDQUIET_STATUS(x) ((x) << S_RXDQUIET_STATUS)
46978 #define F_RXDQUIET_STATUS V_RXDQUIET_STATUS(1U)
46980 #define S_RXDREFRESH_STATUS 8
46981 #define V_RXDREFRESH_STATUS(x) ((x) << S_RXDREFRESH_STATUS)
46982 #define F_RXDREFRESH_STATUS V_RXDREFRESH_STATUS(1U)
46984 #define S_TXAQUIET_STATUS 7
46985 #define V_TXAQUIET_STATUS(x) ((x) << S_TXAQUIET_STATUS)
46986 #define F_TXAQUIET_STATUS V_TXAQUIET_STATUS(1U)
46988 #define S_TXAREFRESH_STATUS 6
46989 #define V_TXAREFRESH_STATUS(x) ((x) << S_TXAREFRESH_STATUS)
46990 #define F_TXAREFRESH_STATUS V_TXAREFRESH_STATUS(1U)
46992 #define S_TXBQUIET_STATUS 5
46993 #define V_TXBQUIET_STATUS(x) ((x) << S_TXBQUIET_STATUS)
46994 #define F_TXBQUIET_STATUS V_TXBQUIET_STATUS(1U)
46996 #define S_TXBREFRESH_STATUS 4
46997 #define V_TXBREFRESH_STATUS(x) ((x) << S_TXBREFRESH_STATUS)
46998 #define F_TXBREFRESH_STATUS V_TXBREFRESH_STATUS(1U)
47000 #define S_TXCQUIET_STATUS 3
47001 #define V_TXCQUIET_STATUS(x) ((x) << S_TXCQUIET_STATUS)
47002 #define F_TXCQUIET_STATUS V_TXCQUIET_STATUS(1U)
47004 #define S_TXCREFRESH_STATUS 2
47005 #define V_TXCREFRESH_STATUS(x) ((x) << S_TXCREFRESH_STATUS)
47006 #define F_TXCREFRESH_STATUS V_TXCREFRESH_STATUS(1U)
47008 #define S_TXDQUIET_STATUS 1
47009 #define V_TXDQUIET_STATUS(x) ((x) << S_TXDQUIET_STATUS)
47010 #define F_TXDQUIET_STATUS V_TXDQUIET_STATUS(1U)
47012 #define S_TXDREFRESH_STATUS 0
47013 #define V_TXDREFRESH_STATUS(x) ((x) << S_TXDREFRESH_STATUS)
47014 #define F_TXDREFRESH_STATUS V_TXDREFRESH_STATUS(1U)
47016 #define A_MAC_PORT_HSS_SIGDET_STATUS 0x90c
47017 #define A_MAC_PORT_HSS_PL_CTL 0x910
47020 #define M_TOV 0xffU
47021 #define V_TOV(x) ((x) << S_TOV)
47022 #define G_TOV(x) (((x) >> S_TOV) & M_TOV)
47025 #define M_TSU 0xffU
47026 #define V_TSU(x) ((x) << S_TSU)
47027 #define G_TSU(x) (((x) >> S_TSU) & M_TSU)
47030 #define M_IPW 0xffU
47031 #define V_IPW(x) ((x) << S_IPW)
47032 #define G_IPW(x) (((x) >> S_IPW) & M_IPW)
47034 #define A_MAC_PORT_RUNT_FRAME 0x914
47036 #define S_RUNTCLEAR 16
47037 #define V_RUNTCLEAR(x) ((x) << S_RUNTCLEAR)
47038 #define F_RUNTCLEAR V_RUNTCLEAR(1U)
47041 #define M_RUNT 0xffffU
47042 #define V_RUNT(x) ((x) << S_RUNT)
47043 #define G_RUNT(x) (((x) >> S_RUNT) & M_RUNT)
47045 #define A_MAC_PORT_EEE_STATUS 0x918
47047 #define S_EEE_TX_10G_STATE 10
47048 #define M_EEE_TX_10G_STATE 0x3U
47049 #define V_EEE_TX_10G_STATE(x) ((x) << S_EEE_TX_10G_STATE)
47050 #define G_EEE_TX_10G_STATE(x) (((x) >> S_EEE_TX_10G_STATE) & M_EEE_TX_10G_STATE)
47052 #define S_EEE_RX_10G_STATE 8
47053 #define M_EEE_RX_10G_STATE 0x3U
47054 #define V_EEE_RX_10G_STATE(x) ((x) << S_EEE_RX_10G_STATE)
47055 #define G_EEE_RX_10G_STATE(x) (((x) >> S_EEE_RX_10G_STATE) & M_EEE_RX_10G_STATE)
47057 #define S_EEE_TX_1G_STATE 6
47058 #define M_EEE_TX_1G_STATE 0x3U
47059 #define V_EEE_TX_1G_STATE(x) ((x) << S_EEE_TX_1G_STATE)
47060 #define G_EEE_TX_1G_STATE(x) (((x) >> S_EEE_TX_1G_STATE) & M_EEE_TX_1G_STATE)
47062 #define S_EEE_RX_1G_STATE 4
47063 #define M_EEE_RX_1G_STATE 0x3U
47064 #define V_EEE_RX_1G_STATE(x) ((x) << S_EEE_RX_1G_STATE)
47065 #define G_EEE_RX_1G_STATE(x) (((x) >> S_EEE_RX_1G_STATE) & M_EEE_RX_1G_STATE)
47067 #define S_PMA_RX_REFRESH 3
47068 #define V_PMA_RX_REFRESH(x) ((x) << S_PMA_RX_REFRESH)
47069 #define F_PMA_RX_REFRESH V_PMA_RX_REFRESH(1U)
47071 #define S_PMA_RX_QUIET 2
47072 #define V_PMA_RX_QUIET(x) ((x) << S_PMA_RX_QUIET)
47073 #define F_PMA_RX_QUIET V_PMA_RX_QUIET(1U)
47075 #define S_PMA_TX_REFRESH 1
47076 #define V_PMA_TX_REFRESH(x) ((x) << S_PMA_TX_REFRESH)
47077 #define F_PMA_TX_REFRESH V_PMA_TX_REFRESH(1U)
47079 #define S_PMA_TX_QUIET 0
47080 #define V_PMA_TX_QUIET(x) ((x) << S_PMA_TX_QUIET)
47081 #define F_PMA_TX_QUIET V_PMA_TX_QUIET(1U)
47083 #define A_MAC_PORT_CGEN 0x91c
47086 #define V_CGEN(x) ((x) << S_CGEN)
47087 #define F_CGEN V_CGEN(1U)
47089 #define S_SD7_CGEN 7
47090 #define V_SD7_CGEN(x) ((x) << S_SD7_CGEN)
47091 #define F_SD7_CGEN V_SD7_CGEN(1U)
47093 #define S_SD6_CGEN 6
47094 #define V_SD6_CGEN(x) ((x) << S_SD6_CGEN)
47095 #define F_SD6_CGEN V_SD6_CGEN(1U)
47097 #define S_SD5_CGEN 5
47098 #define V_SD5_CGEN(x) ((x) << S_SD5_CGEN)
47099 #define F_SD5_CGEN V_SD5_CGEN(1U)
47101 #define S_SD4_CGEN 4
47102 #define V_SD4_CGEN(x) ((x) << S_SD4_CGEN)
47103 #define F_SD4_CGEN V_SD4_CGEN(1U)
47105 #define S_SD3_CGEN 3
47106 #define V_SD3_CGEN(x) ((x) << S_SD3_CGEN)
47107 #define F_SD3_CGEN V_SD3_CGEN(1U)
47109 #define S_SD2_CGEN 2
47110 #define V_SD2_CGEN(x) ((x) << S_SD2_CGEN)
47111 #define F_SD2_CGEN V_SD2_CGEN(1U)
47113 #define S_SD1_CGEN 1
47114 #define V_SD1_CGEN(x) ((x) << S_SD1_CGEN)
47115 #define F_SD1_CGEN V_SD1_CGEN(1U)
47117 #define S_SD0_CGEN 0
47118 #define V_SD0_CGEN(x) ((x) << S_SD0_CGEN)
47119 #define F_SD0_CGEN V_SD0_CGEN(1U)
47121 #define A_MAC_PORT_CGEN_MTIP 0x920
47123 #define S_MACSEG5_CGEN 11
47124 #define V_MACSEG5_CGEN(x) ((x) << S_MACSEG5_CGEN)
47125 #define F_MACSEG5_CGEN V_MACSEG5_CGEN(1U)
47127 #define S_PCSSEG5_CGEN 10
47128 #define V_PCSSEG5_CGEN(x) ((x) << S_PCSSEG5_CGEN)
47129 #define F_PCSSEG5_CGEN V_PCSSEG5_CGEN(1U)
47131 #define S_MACSEG4_CGEN 9
47132 #define V_MACSEG4_CGEN(x) ((x) << S_MACSEG4_CGEN)
47133 #define F_MACSEG4_CGEN V_MACSEG4_CGEN(1U)
47135 #define S_PCSSEG4_CGEN 8
47136 #define V_PCSSEG4_CGEN(x) ((x) << S_PCSSEG4_CGEN)
47137 #define F_PCSSEG4_CGEN V_PCSSEG4_CGEN(1U)
47139 #define S_MACSEG3_CGEN 7
47140 #define V_MACSEG3_CGEN(x) ((x) << S_MACSEG3_CGEN)
47141 #define F_MACSEG3_CGEN V_MACSEG3_CGEN(1U)
47143 #define S_PCSSEG3_CGEN 6
47144 #define V_PCSSEG3_CGEN(x) ((x) << S_PCSSEG3_CGEN)
47145 #define F_PCSSEG3_CGEN V_PCSSEG3_CGEN(1U)
47147 #define S_MACSEG2_CGEN 5
47148 #define V_MACSEG2_CGEN(x) ((x) << S_MACSEG2_CGEN)
47149 #define F_MACSEG2_CGEN V_MACSEG2_CGEN(1U)
47151 #define S_PCSSEG2_CGEN 4
47152 #define V_PCSSEG2_CGEN(x) ((x) << S_PCSSEG2_CGEN)
47153 #define F_PCSSEG2_CGEN V_PCSSEG2_CGEN(1U)
47155 #define S_MACSEG1_CGEN 3
47156 #define V_MACSEG1_CGEN(x) ((x) << S_MACSEG1_CGEN)
47157 #define F_MACSEG1_CGEN V_MACSEG1_CGEN(1U)
47159 #define S_PCSSEG1_CGEN 2
47160 #define V_PCSSEG1_CGEN(x) ((x) << S_PCSSEG1_CGEN)
47161 #define F_PCSSEG1_CGEN V_PCSSEG1_CGEN(1U)
47163 #define S_MACSEG0_CGEN 1
47164 #define V_MACSEG0_CGEN(x) ((x) << S_MACSEG0_CGEN)
47165 #define F_MACSEG0_CGEN V_MACSEG0_CGEN(1U)
47167 #define S_PCSSEG0_CGEN 0
47168 #define V_PCSSEG0_CGEN(x) ((x) << S_PCSSEG0_CGEN)
47169 #define F_PCSSEG0_CGEN V_PCSSEG0_CGEN(1U)
47171 #define A_MAC_PORT_TX_TS_ID 0x924
47174 #define M_TS_ID 0x7U
47175 #define V_TS_ID(x) ((x) << S_TS_ID)
47176 #define G_TS_ID(x) (((x) >> S_TS_ID) & M_TS_ID)
47178 #define A_MAC_PORT_TX_TS_VAL_LO 0x928
47179 #define A_MAC_PORT_TX_TS_VAL_HI 0x92c
47180 #define A_MAC_PORT_EEE_CTL 0x930
47182 #define S_EEE_CTRL 2
47183 #define M_EEE_CTRL 0x3fffffffU
47184 #define V_EEE_CTRL(x) ((x) << S_EEE_CTRL)
47185 #define G_EEE_CTRL(x) (((x) >> S_EEE_CTRL) & M_EEE_CTRL)
47187 #define S_TICK_START 1
47188 #define V_TICK_START(x) ((x) << S_TICK_START)
47189 #define F_TICK_START V_TICK_START(1U)
47191 #define S_EEE_ENABLE 0
47192 #define V_EEE_ENABLE(x) ((x) << S_EEE_ENABLE)
47193 #define F_EEE_ENABLE V_EEE_ENABLE(1U)
47195 #define A_MAC_PORT_EEE_TX_CTL 0x934
47197 #define S_WAKE_TIMER 16
47198 #define M_WAKE_TIMER 0xffffU
47199 #define V_WAKE_TIMER(x) ((x) << S_WAKE_TIMER)
47200 #define G_WAKE_TIMER(x) (((x) >> S_WAKE_TIMER) & M_WAKE_TIMER)
47202 #define S_HSS_TIMER 5
47203 #define M_HSS_TIMER 0xfU
47204 #define V_HSS_TIMER(x) ((x) << S_HSS_TIMER)
47205 #define G_HSS_TIMER(x) (((x) >> S_HSS_TIMER) & M_HSS_TIMER)
47207 #define S_HSS_CTL 4
47208 #define V_HSS_CTL(x) ((x) << S_HSS_CTL)
47209 #define F_HSS_CTL V_HSS_CTL(1U)
47211 #define S_LPI_ACTIVE 3
47212 #define V_LPI_ACTIVE(x) ((x) << S_LPI_ACTIVE)
47213 #define F_LPI_ACTIVE V_LPI_ACTIVE(1U)
47215 #define S_LPI_TXHOLD 2
47216 #define V_LPI_TXHOLD(x) ((x) << S_LPI_TXHOLD)
47217 #define F_LPI_TXHOLD V_LPI_TXHOLD(1U)
47219 #define S_LPI_REQ 1
47220 #define V_LPI_REQ(x) ((x) << S_LPI_REQ)
47221 #define F_LPI_REQ V_LPI_REQ(1U)
47223 #define S_EEE_TX_RESET 0
47224 #define V_EEE_TX_RESET(x) ((x) << S_EEE_TX_RESET)
47225 #define F_EEE_TX_RESET V_EEE_TX_RESET(1U)
47227 #define A_MAC_PORT_EEE_RX_CTL 0x938
47229 #define S_LPI_IND 1
47230 #define V_LPI_IND(x) ((x) << S_LPI_IND)
47231 #define F_LPI_IND V_LPI_IND(1U)
47233 #define S_EEE_RX_RESET 0
47234 #define V_EEE_RX_RESET(x) ((x) << S_EEE_RX_RESET)
47235 #define F_EEE_RX_RESET V_EEE_RX_RESET(1U)
47237 #define A_MAC_PORT_EEE_TX_10G_SLEEP_TIMER 0x93c
47238 #define A_MAC_PORT_EEE_TX_10G_QUIET_TIMER 0x940
47239 #define A_MAC_PORT_EEE_TX_10G_WAKE_TIMER 0x944
47240 #define A_MAC_PORT_EEE_TX_1G_SLEEP_TIMER 0x948
47241 #define A_MAC_PORT_EEE_TX_1G_QUIET_TIMER 0x94c
47242 #define A_MAC_PORT_EEE_TX_1G_REFRESH_TIMER 0x950
47243 #define A_MAC_PORT_EEE_RX_10G_QUIET_TIMER 0x954
47244 #define A_MAC_PORT_EEE_RX_10G_WAKE_TIMER 0x958
47245 #define A_MAC_PORT_EEE_RX_10G_WF_TIMER 0x95c
47246 #define A_MAC_PORT_EEE_RX_1G_QUIET_TIMER 0x960
47247 #define A_MAC_PORT_EEE_RX_1G_WAKE_TIMER 0x964
47248 #define A_MAC_PORT_EEE_WF_COUNT 0x968
47250 #define S_WAKE_CNT_CLR 16
47251 #define V_WAKE_CNT_CLR(x) ((x) << S_WAKE_CNT_CLR)
47252 #define F_WAKE_CNT_CLR V_WAKE_CNT_CLR(1U)
47254 #define S_WAKE_CNT 0
47255 #define M_WAKE_CNT 0xffffU
47256 #define V_WAKE_CNT(x) ((x) << S_WAKE_CNT)
47257 #define G_WAKE_CNT(x) (((x) >> S_WAKE_CNT) & M_WAKE_CNT)
47259 #define A_MAC_PORT_PTP_TIMER_RD0_LO 0x96c
47260 #define A_MAC_PORT_PTP_TIMER_RD0_HI 0x970
47261 #define A_MAC_PORT_PTP_TIMER_RD1_LO 0x974
47262 #define A_MAC_PORT_PTP_TIMER_RD1_HI 0x978
47263 #define A_MAC_PORT_PTP_TIMER_WR_LO 0x97c
47264 #define A_MAC_PORT_PTP_TIMER_WR_HI 0x980
47265 #define A_MAC_PORT_PTP_TIMER_OFFSET_0 0x984
47266 #define A_MAC_PORT_PTP_TIMER_OFFSET_1 0x988
47267 #define A_MAC_PORT_PTP_TIMER_OFFSET_2 0x98c
47269 #define S_PTP_OFFSET 0
47270 #define M_PTP_OFFSET 0xffU
47271 #define V_PTP_OFFSET(x) ((x) << S_PTP_OFFSET)
47272 #define G_PTP_OFFSET(x) (((x) >> S_PTP_OFFSET) & M_PTP_OFFSET)
47274 #define A_MAC_PORT_PTP_SUM_LO 0x990
47275 #define A_MAC_PORT_PTP_SUM_HI 0x994
47276 #define A_MAC_PORT_PTP_TIMER_INCR0 0x998
47279 #define M_Y 0xffffU
47280 #define V_Y(x) ((x) << S_Y)
47281 #define G_Y(x) (((x) >> S_Y) & M_Y)
47284 #define M_X 0xffffU
47285 #define V_X(x) ((x) << S_X)
47286 #define G_X(x) (((x) >> S_X) & M_X)
47288 #define A_MAC_PORT_PTP_TIMER_INCR1 0x99c
47290 #define S_Y_TICK 16
47291 #define M_Y_TICK 0xffffU
47292 #define V_Y_TICK(x) ((x) << S_Y_TICK)
47293 #define G_Y_TICK(x) (((x) >> S_Y_TICK) & M_Y_TICK)
47296 #define M_X_TICK 0xffffU
47297 #define V_X_TICK(x) ((x) << S_X_TICK)
47298 #define G_X_TICK(x) (((x) >> S_X_TICK) & M_X_TICK)
47300 #define A_MAC_PORT_PTP_DRIFT_ADJUST_COUNT 0x9a0
47301 #define A_MAC_PORT_PTP_OFFSET_ADJUST_FINE 0x9a4
47304 #define M_B 0xffffU
47305 #define V_B(x) ((x) << S_B)
47306 #define G_B(x) (((x) >> S_B) & M_B)
47309 #define M_A 0xffffU
47310 #define V_A(x) ((x) << S_A)
47311 #define G_A(x) (((x) >> S_A) & M_A)
47313 #define A_MAC_PORT_PTP_OFFSET_ADJUST_TOTAL 0x9a8
47314 #define A_MAC_PORT_PTP_CFG 0x9ac
47317 #define V_FRZ(x) ((x) << S_FRZ)
47318 #define F_FRZ V_FRZ(1U)
47320 #define S_OFFSER_ADJUST_SIGN 17
47321 #define V_OFFSER_ADJUST_SIGN(x) ((x) << S_OFFSER_ADJUST_SIGN)
47322 #define F_OFFSER_ADJUST_SIGN V_OFFSER_ADJUST_SIGN(1U)
47324 #define S_ADD_OFFSET 16
47325 #define V_ADD_OFFSET(x) ((x) << S_ADD_OFFSET)
47326 #define F_ADD_OFFSET V_ADD_OFFSET(1U)
47329 #define M_CYCLE1 0xffU
47330 #define V_CYCLE1(x) ((x) << S_CYCLE1)
47331 #define G_CYCLE1(x) (((x) >> S_CYCLE1) & M_CYCLE1)
47335 #define V_Q(x) ((x) << S_Q)
47336 #define G_Q(x) (((x) >> S_Q) & M_Q)
47338 #define S_ALARM_EN 21
47339 #define V_ALARM_EN(x) ((x) << S_ALARM_EN)
47340 #define F_ALARM_EN V_ALARM_EN(1U)
47342 #define S_ALARM_START 20
47343 #define V_ALARM_START(x) ((x) << S_ALARM_START)
47344 #define F_ALARM_START V_ALARM_START(1U)
47346 #define S_PPS_EN 19
47347 #define V_PPS_EN(x) ((x) << S_PPS_EN)
47348 #define F_PPS_EN V_PPS_EN(1U)
47350 #define A_MAC_PORT_PTP_PPS 0x9b0
47351 #define A_MAC_PORT_PTP_SINGLE_ALARM 0x9b4
47352 #define A_MAC_PORT_PTP_PERIODIC_ALARM 0x9b8
47353 #define A_MAC_PORT_PTP_STATUS 0x9bc
47355 #define S_ALARM_DONE 0
47356 #define V_ALARM_DONE(x) ((x) << S_ALARM_DONE)
47357 #define F_ALARM_DONE V_ALARM_DONE(1U)
47359 #define A_MAC_PORT_MTIP_REVISION 0xa00
47361 #define S_CUSTREV 16
47362 #define M_CUSTREV 0xffffU
47363 #define V_CUSTREV(x) ((x) << S_CUSTREV)
47364 #define G_CUSTREV(x) (((x) >> S_CUSTREV) & M_CUSTREV)
47367 #define M_VER 0xffU
47368 #define V_VER(x) ((x) << S_VER)
47369 #define G_VER(x) (((x) >> S_VER) & M_VER)
47371 #define S_MTIP_REV 0
47372 #define M_MTIP_REV 0xffU
47373 #define V_MTIP_REV(x) ((x) << S_MTIP_REV)
47374 #define G_MTIP_REV(x) (((x) >> S_MTIP_REV) & M_MTIP_REV)
47376 #define A_MAC_PORT_MTIP_SCRATCH 0xa04
47377 #define A_MAC_PORT_MTIP_COMMAND_CONFIG 0xa08
47379 #define S_TX_FLUSH_ENABLE 22
47380 #define V_TX_FLUSH_ENABLE(x) ((x) << S_TX_FLUSH_ENABLE)
47381 #define F_TX_FLUSH_ENABLE V_TX_FLUSH_ENABLE(1U)
47383 #define S_RX_SFD_ANY 21
47384 #define V_RX_SFD_ANY(x) ((x) << S_RX_SFD_ANY)
47385 #define F_RX_SFD_ANY V_RX_SFD_ANY(1U)
47387 #define S_PAUSE_PFC_COMP 20
47388 #define V_PAUSE_PFC_COMP(x) ((x) << S_PAUSE_PFC_COMP)
47389 #define F_PAUSE_PFC_COMP V_PAUSE_PFC_COMP(1U)
47391 #define S_PFC_MODE 19
47392 #define V_PFC_MODE(x) ((x) << S_PFC_MODE)
47393 #define F_PFC_MODE V_PFC_MODE(1U)
47395 #define S_RS_COL_CNT_EXT 18
47396 #define V_RS_COL_CNT_EXT(x) ((x) << S_RS_COL_CNT_EXT)
47397 #define F_RS_COL_CNT_EXT V_RS_COL_CNT_EXT(1U)
47399 #define S_NO_LGTH_CHECK 17
47400 #define V_NO_LGTH_CHECK(x) ((x) << S_NO_LGTH_CHECK)
47401 #define F_NO_LGTH_CHECK V_NO_LGTH_CHECK(1U)
47403 #define S_SEND_IDLE 16
47404 #define V_SEND_IDLE(x) ((x) << S_SEND_IDLE)
47405 #define F_SEND_IDLE V_SEND_IDLE(1U)
47407 #define S_PHY_TXENA 15
47408 #define V_PHY_TXENA(x) ((x) << S_PHY_TXENA)
47409 #define F_PHY_TXENA V_PHY_TXENA(1U)
47411 #define S_RX_ERR_DISC 14
47412 #define V_RX_ERR_DISC(x) ((x) << S_RX_ERR_DISC)
47413 #define F_RX_ERR_DISC V_RX_ERR_DISC(1U)
47415 #define S_CMD_FRAME_ENA 13
47416 #define V_CMD_FRAME_ENA(x) ((x) << S_CMD_FRAME_ENA)
47417 #define F_CMD_FRAME_ENA V_CMD_FRAME_ENA(1U)
47419 #define S_SW_RESET 12
47420 #define V_SW_RESET(x) ((x) << S_SW_RESET)
47421 #define F_SW_RESET V_SW_RESET(1U)
47423 #define S_TX_PAD_EN 11
47424 #define V_TX_PAD_EN(x) ((x) << S_TX_PAD_EN)
47425 #define F_TX_PAD_EN V_TX_PAD_EN(1U)
47427 #define S_PHY_LOOPBACK_EN 10
47428 #define V_PHY_LOOPBACK_EN(x) ((x) << S_PHY_LOOPBACK_EN)
47429 #define F_PHY_LOOPBACK_EN V_PHY_LOOPBACK_EN(1U)
47431 #define S_TX_ADDR_INS 9
47432 #define V_TX_ADDR_INS(x) ((x) << S_TX_ADDR_INS)
47433 #define F_TX_ADDR_INS V_TX_ADDR_INS(1U)
47435 #define S_PAUSE_IGNORE 8
47436 #define V_PAUSE_IGNORE(x) ((x) << S_PAUSE_IGNORE)
47437 #define F_PAUSE_IGNORE V_PAUSE_IGNORE(1U)
47439 #define S_PAUSE_FWD 7
47440 #define V_PAUSE_FWD(x) ((x) << S_PAUSE_FWD)
47441 #define F_PAUSE_FWD V_PAUSE_FWD(1U)
47443 #define S_CRC_FWD 6
47444 #define V_CRC_FWD(x) ((x) << S_CRC_FWD)
47445 #define F_CRC_FWD V_CRC_FWD(1U)
47448 #define V_PAD_EN(x) ((x) << S_PAD_EN)
47449 #define F_PAD_EN V_PAD_EN(1U)
47451 #define S_PROMIS_EN 4
47452 #define V_PROMIS_EN(x) ((x) << S_PROMIS_EN)
47453 #define F_PROMIS_EN V_PROMIS_EN(1U)
47455 #define S_WAN_MODE 3
47456 #define V_WAN_MODE(x) ((x) << S_WAN_MODE)
47457 #define F_WAN_MODE V_WAN_MODE(1U)
47460 #define V_RX_ENA(x) ((x) << S_RX_ENA)
47461 #define F_RX_ENA V_RX_ENA(1U)
47464 #define V_TX_ENA(x) ((x) << S_TX_ENA)
47465 #define F_TX_ENA V_TX_ENA(1U)
47467 #define A_MAC_PORT_MTIP_MAC_ADDR_0 0xa0c
47468 #define A_MAC_PORT_MTIP_MAC_ADDR_1 0xa10
47470 #define S_MACADDRHI 0
47471 #define M_MACADDRHI 0xffffU
47472 #define V_MACADDRHI(x) ((x) << S_MACADDRHI)
47473 #define G_MACADDRHI(x) (((x) >> S_MACADDRHI) & M_MACADDRHI)
47475 #define A_MAC_PORT_MTIP_FRM_LENGTH 0xa14
47478 #define M_LEN 0xffffU
47479 #define V_LEN(x) ((x) << S_LEN)
47480 #define G_LEN(x) (((x) >> S_LEN) & M_LEN)
47482 #define A_MAC_PORT_MTIP_RX_FIFO_SECTIONS 0xa1c
47485 #define M_AVAIL 0xffffU
47486 #define V_AVAIL(x) ((x) << S_AVAIL)
47487 #define G_AVAIL(x) (((x) >> S_AVAIL) & M_AVAIL)
47490 #define M_EMPTY 0xffffU
47491 #define V_EMPTY(x) ((x) << S_EMPTY)
47492 #define G_EMPTY(x) (((x) >> S_EMPTY) & M_EMPTY)
47494 #define A_MAC_PORT_MTIP_TX_FIFO_SECTIONS 0xa20
47495 #define A_MAC_PORT_MTIP_RX_FIFO_ALMOST_F_E 0xa24
47497 #define S_ALMSTFULL 16
47498 #define M_ALMSTFULL 0xffffU
47499 #define V_ALMSTFULL(x) ((x) << S_ALMSTFULL)
47500 #define G_ALMSTFULL(x) (((x) >> S_ALMSTFULL) & M_ALMSTFULL)
47502 #define S_ALMSTEMPTY 0
47503 #define M_ALMSTEMPTY 0xffffU
47504 #define V_ALMSTEMPTY(x) ((x) << S_ALMSTEMPTY)
47505 #define G_ALMSTEMPTY(x) (((x) >> S_ALMSTEMPTY) & M_ALMSTEMPTY)
47507 #define A_MAC_PORT_MTIP_TX_FIFO_ALMOST_F_E 0xa28
47508 #define A_MAC_PORT_MTIP_HASHTABLE_LOAD 0xa2c
47510 #define S_ENABLE_MCAST_RX 8
47511 #define V_ENABLE_MCAST_RX(x) ((x) << S_ENABLE_MCAST_RX)
47512 #define F_ENABLE_MCAST_RX V_ENABLE_MCAST_RX(1U)
47514 #define S_HASHTABLE_ADDR 0
47515 #define M_HASHTABLE_ADDR 0x3fU
47516 #define V_HASHTABLE_ADDR(x) ((x) << S_HASHTABLE_ADDR)
47517 #define G_HASHTABLE_ADDR(x) (((x) >> S_HASHTABLE_ADDR) & M_HASHTABLE_ADDR)
47519 #define A_MAC_PORT_MTIP_MAC_STATUS 0xa40
47521 #define S_TS_AVAIL 3
47522 #define V_TS_AVAIL(x) ((x) << S_TS_AVAIL)
47523 #define F_TS_AVAIL V_TS_AVAIL(1U)
47525 #define S_PHY_LOS 2
47526 #define V_PHY_LOS(x) ((x) << S_PHY_LOS)
47527 #define F_PHY_LOS V_PHY_LOS(1U)
47529 #define S_RX_REM_FAULT 1
47530 #define V_RX_REM_FAULT(x) ((x) << S_RX_REM_FAULT)
47531 #define F_RX_REM_FAULT V_RX_REM_FAULT(1U)
47533 #define S_RX_LOC_FAULT 0
47534 #define V_RX_LOC_FAULT(x) ((x) << S_RX_LOC_FAULT)
47535 #define F_RX_LOC_FAULT V_RX_LOC_FAULT(1U)
47537 #define A_MAC_PORT_MTIP_TX_IPG_LENGTH 0xa44
47540 #define M_IPG 0x7fU
47541 #define V_IPG(x) ((x) << S_IPG)
47542 #define G_IPG(x) (((x) >> S_IPG) & M_IPG)
47544 #define A_MAC_PORT_MTIP_MAC_CREDIT_TRIGGER 0xa48
47546 #define S_RXFIFORST 0
47547 #define V_RXFIFORST(x) ((x) << S_RXFIFORST)
47548 #define F_RXFIFORST V_RXFIFORST(1U)
47550 #define A_MAC_PORT_MTIP_INIT_CREDIT 0xa4c
47552 #define S_MACCRDRST 0
47553 #define M_MACCRDRST 0xffU
47554 #define V_MACCRDRST(x) ((x) << S_MACCRDRST)
47555 #define G_MACCRDRST(x) (((x) >> S_MACCRDRST) & M_MACCRDRST)
47557 #define A_MAC_PORT_MTIP_CURRENT_CREDIT 0xa50
47559 #define S_INITCREDIT 0
47560 #define M_INITCREDIT 0xffU
47561 #define V_INITCREDIT(x) ((x) << S_INITCREDIT)
47562 #define G_INITCREDIT(x) (((x) >> S_INITCREDIT) & M_INITCREDIT)
47564 #define A_MAC_PORT_RX_PAUSE_STATUS 0xa74
47567 #define M_STATUS 0xffU
47568 #define V_STATUS(x) ((x) << S_STATUS)
47569 #define G_STATUS(x) (((x) >> S_STATUS) & M_STATUS)
47571 #define A_MAC_PORT_MTIP_TS_TIMESTAMP 0xa7c
47572 #define A_MAC_PORT_AFRAMESTRANSMITTEDOK 0xa80
47573 #define A_MAC_PORT_AFRAMESTRANSMITTEDOKHI 0xa84
47574 #define A_MAC_PORT_AFRAMESRECEIVEDOK 0xa88
47575 #define A_MAC_PORT_AFRAMESRECEIVEDOKHI 0xa8c
47576 #define A_MAC_PORT_AFRAMECHECKSEQUENCEERRORS 0xa90
47577 #define A_MAC_PORT_AFRAMECHECKSEQUENCEERRORSHI 0xa94
47578 #define A_MAC_PORT_AALIGNMENTERRORS 0xa98
47579 #define A_MAC_PORT_AALIGNMENTERRORSHI 0xa9c
47580 #define A_MAC_PORT_APAUSEMACCTRLFRAMESTRANSMITTED 0xaa0
47581 #define A_MAC_PORT_APAUSEMACCTRLFRAMESTRANSMITTEDHI 0xaa4
47582 #define A_MAC_PORT_APAUSEMACCTRLFRAMESRECEIVED 0xaa8
47583 #define A_MAC_PORT_APAUSEMACCTRLFRAMESRECEIVEDHI 0xaac
47584 #define A_MAC_PORT_AFRAMETOOLONGERRORS 0xab0
47585 #define A_MAC_PORT_AFRAMETOOLONGERRORSHI 0xab4
47586 #define A_MAC_PORT_AINRANGELENGTHERRORS 0xab8
47587 #define A_MAC_PORT_AINRANGELENGTHERRORSHI 0xabc
47588 #define A_MAC_PORT_VLANTRANSMITTEDOK 0xac0
47589 #define A_MAC_PORT_VLANTRANSMITTEDOKHI 0xac4
47590 #define A_MAC_PORT_VLANRECEIVEDOK 0xac8
47591 #define A_MAC_PORT_VLANRECEIVEDOKHI 0xacc
47592 #define A_MAC_PORT_AOCTETSTRANSMITTEDOK 0xad0
47593 #define A_MAC_PORT_AOCTETSTRANSMITTEDOKHI 0xad4
47594 #define A_MAC_PORT_AOCTETSRECEIVEDOK 0xad8
47595 #define A_MAC_PORT_AOCTETSRECEIVEDOKHI 0xadc
47596 #define A_MAC_PORT_IFINUCASTPKTS 0xae0
47597 #define A_MAC_PORT_IFINUCASTPKTSHI 0xae4
47598 #define A_MAC_PORT_IFINMULTICASTPKTS 0xae8
47599 #define A_MAC_PORT_IFINMULTICASTPKTSHI 0xaec
47600 #define A_MAC_PORT_IFINBROADCASTPKTS 0xaf0
47601 #define A_MAC_PORT_IFINBROADCASTPKTSHI 0xaf4
47602 #define A_MAC_PORT_IFOUTERRORS 0xaf8
47603 #define A_MAC_PORT_IFOUTERRORSHI 0xafc
47604 #define A_MAC_PORT_IFOUTUCASTPKTS 0xb08
47605 #define A_MAC_PORT_IFOUTUCASTPKTSHI 0xb0c
47606 #define A_MAC_PORT_IFOUTMULTICASTPKTS 0xb10
47607 #define A_MAC_PORT_IFOUTMULTICASTPKTSHI 0xb14
47608 #define A_MAC_PORT_IFOUTBROADCASTPKTS 0xb18
47609 #define A_MAC_PORT_IFOUTBROADCASTPKTSHI 0xb1c
47610 #define A_MAC_PORT_ETHERSTATSDROPEVENTS 0xb20
47611 #define A_MAC_PORT_ETHERSTATSDROPEVENTSHI 0xb24
47612 #define A_MAC_PORT_ETHERSTATSOCTETS 0xb28
47613 #define A_MAC_PORT_ETHERSTATSOCTETSHI 0xb2c
47614 #define A_MAC_PORT_ETHERSTATSPKTS 0xb30
47615 #define A_MAC_PORT_ETHERSTATSPKTSHI 0xb34
47616 #define A_MAC_PORT_ETHERSTATSUNDERSIZEPKTS 0xb38
47617 #define A_MAC_PORT_ETHERSTATSUNDERSIZEPKTSHI 0xb3c
47618 #define A_MAC_PORT_ETHERSTATSPKTS64OCTETS 0xb40
47619 #define A_MAC_PORT_ETHERSTATSPKTS64OCTETSHI 0xb44
47620 #define A_MAC_PORT_ETHERSTATSPKTS65TO127OCTETS 0xb48
47621 #define A_MAC_PORT_ETHERSTATSPKTS65TO127OCTETSHI 0xb4c
47622 #define A_MAC_PORT_ETHERSTATSPKTS128TO255OCTETS 0xb50
47623 #define A_MAC_PORT_ETHERSTATSPKTS128TO255OCTETSHI 0xb54
47624 #define A_MAC_PORT_ETHERSTATSPKTS256TO511OCTETS 0xb58
47625 #define A_MAC_PORT_ETHERSTATSPKTS256TO511OCTETSHI 0xb5c
47626 #define A_MAC_PORT_ETHERSTATSPKTS512TO1023OCTETS 0xb60
47627 #define A_MAC_PORT_ETHERSTATSPKTS512TO1023OCTETSHI 0xb64
47628 #define A_MAC_PORT_ETHERSTATSPKTS1024TO1518OCTETS 0xb68
47629 #define A_MAC_PORT_ETHERSTATSPKTS1024TO1518OCTETSHI 0xb6c
47630 #define A_MAC_PORT_ETHERSTATSPKTS1519TOMAXOCTETS 0xb70
47631 #define A_MAC_PORT_ETHERSTATSPKTS1519TOMAXOCTETSHI 0xb74
47632 #define A_MAC_PORT_ETHERSTATSOVERSIZEPKTS 0xb78
47633 #define A_MAC_PORT_ETHERSTATSOVERSIZEPKTSHI 0xb7c
47634 #define A_MAC_PORT_ETHERSTATSJABBERS 0xb80
47635 #define A_MAC_PORT_ETHERSTATSJABBERSHI 0xb84
47636 #define A_MAC_PORT_ETHERSTATSFRAGMENTS 0xb88
47637 #define A_MAC_PORT_ETHERSTATSFRAGMENTSHI 0xb8c
47638 #define A_MAC_PORT_IFINERRORS 0xb90
47639 #define A_MAC_PORT_IFINERRORSHI 0xb94
47640 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_0 0xb98
47641 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_0HI 0xb9c
47642 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_1 0xba0
47643 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_1HI 0xba4
47644 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_2 0xba8
47645 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_2HI 0xbac
47646 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_3 0xbb0
47647 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_3HI 0xbb4
47648 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_4 0xbb8
47649 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_4HI 0xbbc
47650 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_5 0xbc0
47651 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_5HI 0xbc4
47652 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_6 0xbc8
47653 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_6HI 0xbcc
47654 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_7 0xbd0
47655 #define A_MAC_PORT_ACBFCPAUSEFRAMESTRANSMITTED_7HI 0xbd4
47656 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_0 0xbd8
47657 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_0HI 0xbdc
47658 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_1 0xbe0
47659 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_1HI 0xbe4
47660 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_2 0xbe8
47661 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_2HI 0xbec
47662 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_3 0xbf0
47663 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_3HI 0xbf4
47664 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_4 0xbf8
47665 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_4HI 0xbfc
47666 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_5 0xc00
47667 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_5HI 0xc04
47668 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_6 0xc08
47669 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_6HI 0xc0c
47670 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_7 0xc10
47671 #define A_MAC_PORT_ACBFCPAUSEFRAMESRECEIVED_7HI 0xc14
47672 #define A_MAC_PORT_AMACCONTROLFRAMESTRANSMITTED 0xc18
47673 #define A_MAC_PORT_AMACCONTROLFRAMESTRANSMITTEDHI 0xc1c
47674 #define A_MAC_PORT_AMACCONTROLFRAMESRECEIVED 0xc20
47675 #define A_MAC_PORT_AMACCONTROLFRAMESRECEIVEDHI 0xc24
47676 #define A_MAC_PORT_MTIP_SGMII_CONTROL 0xd00
47679 #define V_RESET(x) ((x) << S_RESET)
47680 #define F_RESET V_RESET(1U)
47682 #define S_LOOPBACK 14
47683 #define V_LOOPBACK(x) ((x) << S_LOOPBACK)
47684 #define F_LOOPBACK V_LOOPBACK(1U)
47686 #define S_SPPEDSEL1 13
47687 #define V_SPPEDSEL1(x) ((x) << S_SPPEDSEL1)
47688 #define F_SPPEDSEL1 V_SPPEDSEL1(1U)
47691 #define V_AN_EN(x) ((x) << S_AN_EN)
47692 #define F_AN_EN V_AN_EN(1U)
47694 #define S_PWRDWN 11
47695 #define V_PWRDWN(x) ((x) << S_PWRDWN)
47696 #define F_PWRDWN V_PWRDWN(1U)
47698 #define S_ISOLATE 10
47699 #define V_ISOLATE(x) ((x) << S_ISOLATE)
47700 #define F_ISOLATE V_ISOLATE(1U)
47702 #define S_AN_RESTART 9
47703 #define V_AN_RESTART(x) ((x) << S_AN_RESTART)
47704 #define F_AN_RESTART V_AN_RESTART(1U)
47707 #define V_DPLX(x) ((x) << S_DPLX)
47708 #define F_DPLX V_DPLX(1U)
47710 #define S_COLLISIONTEST 7
47711 #define V_COLLISIONTEST(x) ((x) << S_COLLISIONTEST)
47712 #define F_COLLISIONTEST V_COLLISIONTEST(1U)
47714 #define S_SPEEDSEL0 6
47715 #define V_SPEEDSEL0(x) ((x) << S_SPEEDSEL0)
47716 #define F_SPEEDSEL0 V_SPEEDSEL0(1U)
47718 #define A_MAC_PORT_MTIP_1G10G_REVISION 0xd00
47720 #define S_VER_1G10G 8
47721 #define M_VER_1G10G 0xffU
47722 #define V_VER_1G10G(x) ((x) << S_VER_1G10G)
47723 #define G_VER_1G10G(x) (((x) >> S_VER_1G10G) & M_VER_1G10G)
47725 #define S_REV_1G10G 0
47726 #define M_REV_1G10G 0xffU
47727 #define V_REV_1G10G(x) ((x) << S_REV_1G10G)
47728 #define G_REV_1G10G(x) (((x) >> S_REV_1G10G) & M_REV_1G10G)
47730 #define A_MAC_PORT_MTIP_SGMII_STATUS 0xd04
47732 #define S_100BASET4 15
47733 #define V_100BASET4(x) ((x) << S_100BASET4)
47734 #define F_100BASET4 V_100BASET4(1U)
47736 #define S_100BASEXFULLDPLX 14
47737 #define V_100BASEXFULLDPLX(x) ((x) << S_100BASEXFULLDPLX)
47738 #define F_100BASEXFULLDPLX V_100BASEXFULLDPLX(1U)
47740 #define S_100BASEXHALFDPLX 13
47741 #define V_100BASEXHALFDPLX(x) ((x) << S_100BASEXHALFDPLX)
47742 #define F_100BASEXHALFDPLX V_100BASEXHALFDPLX(1U)
47744 #define S_10MBPSFULLDPLX 12
47745 #define V_10MBPSFULLDPLX(x) ((x) << S_10MBPSFULLDPLX)
47746 #define F_10MBPSFULLDPLX V_10MBPSFULLDPLX(1U)
47748 #define S_10MBPSHALFDPLX 11
47749 #define V_10MBPSHALFDPLX(x) ((x) << S_10MBPSHALFDPLX)
47750 #define F_10MBPSHALFDPLX V_10MBPSHALFDPLX(1U)
47752 #define S_100BASET2FULLDPLX 10
47753 #define V_100BASET2FULLDPLX(x) ((x) << S_100BASET2FULLDPLX)
47754 #define F_100BASET2FULLDPLX V_100BASET2FULLDPLX(1U)
47756 #define S_100BASET2HALFDPLX 9
47757 #define V_100BASET2HALFDPLX(x) ((x) << S_100BASET2HALFDPLX)
47758 #define F_100BASET2HALFDPLX V_100BASET2HALFDPLX(1U)
47760 #define S_EXTDSTATUS 8
47761 #define V_EXTDSTATUS(x) ((x) << S_EXTDSTATUS)
47762 #define F_EXTDSTATUS V_EXTDSTATUS(1U)
47764 #define S_SGMII_REM_FAULT 4
47765 #define V_SGMII_REM_FAULT(x) ((x) << S_SGMII_REM_FAULT)
47766 #define F_SGMII_REM_FAULT V_SGMII_REM_FAULT(1U)
47768 #define S_JABBERDETECT 1
47769 #define V_JABBERDETECT(x) ((x) << S_JABBERDETECT)
47770 #define F_JABBERDETECT V_JABBERDETECT(1U)
47772 #define S_EXTDCAPABILITY 0
47773 #define V_EXTDCAPABILITY(x) ((x) << S_EXTDCAPABILITY)
47774 #define F_EXTDCAPABILITY V_EXTDCAPABILITY(1U)
47776 #define A_MAC_PORT_MTIP_1G10G_SCRATCH 0xd04
47777 #define A_MAC_PORT_MTIP_SGMII_PHY_IDENTIFIER_0 0xd08
47778 #define A_MAC_PORT_MTIP_1G10G_COMMAND_CONFIG 0xd08
47780 #define S_SHORT_DISCARD 25
47781 #define V_SHORT_DISCARD(x) ((x) << S_SHORT_DISCARD)
47782 #define F_SHORT_DISCARD V_SHORT_DISCARD(1U)
47784 #define S_REG_LOWP_RXEMPTY 24
47785 #define V_REG_LOWP_RXEMPTY(x) ((x) << S_REG_LOWP_RXEMPTY)
47786 #define F_REG_LOWP_RXEMPTY V_REG_LOWP_RXEMPTY(1U)
47788 #define S_TX_LOWP_ENA 23
47789 #define V_TX_LOWP_ENA(x) ((x) << S_TX_LOWP_ENA)
47790 #define F_TX_LOWP_ENA V_TX_LOWP_ENA(1U)
47792 #define S_TX_FLUSH_EN 22
47793 #define V_TX_FLUSH_EN(x) ((x) << S_TX_FLUSH_EN)
47794 #define F_TX_FLUSH_EN V_TX_FLUSH_EN(1U)
47796 #define S_SFD_ANY 21
47797 #define V_SFD_ANY(x) ((x) << S_SFD_ANY)
47798 #define F_SFD_ANY V_SFD_ANY(1U)
47800 #define S_COL_CNT_EXT 18
47801 #define V_COL_CNT_EXT(x) ((x) << S_COL_CNT_EXT)
47802 #define F_COL_CNT_EXT V_COL_CNT_EXT(1U)
47804 #define S_FORCE_SEND_IDLE 16
47805 #define V_FORCE_SEND_IDLE(x) ((x) << S_FORCE_SEND_IDLE)
47806 #define F_FORCE_SEND_IDLE V_FORCE_SEND_IDLE(1U)
47808 #define S_CNTL_FRM_ENA 13
47809 #define V_CNTL_FRM_ENA(x) ((x) << S_CNTL_FRM_ENA)
47810 #define F_CNTL_FRM_ENA V_CNTL_FRM_ENA(1U)
47812 #define S_RX_ENAMAC 1
47813 #define V_RX_ENAMAC(x) ((x) << S_RX_ENAMAC)
47814 #define F_RX_ENAMAC V_RX_ENAMAC(1U)
47816 #define S_TX_ENAMAC 0
47817 #define V_TX_ENAMAC(x) ((x) << S_TX_ENAMAC)
47818 #define F_TX_ENAMAC V_TX_ENAMAC(1U)
47820 #define A_MAC_PORT_MTIP_SGMII_PHY_IDENTIFIER_1 0xd0c
47821 #define A_MAC_PORT_MTIP_1G10G_MAC_ADDR_0 0xd0c
47822 #define A_MAC_PORT_MTIP_SGMII_DEV_ABILITY 0xd10
47825 #define V_RF2(x) ((x) << S_RF2)
47826 #define F_RF2 V_RF2(1U)
47829 #define V_RF1(x) ((x) << S_RF1)
47830 #define F_RF1 V_RF1(1U)
47833 #define V_PS2(x) ((x) << S_PS2)
47834 #define F_PS2 V_PS2(1U)
47837 #define V_PS1(x) ((x) << S_PS1)
47838 #define F_PS1 V_PS1(1U)
47841 #define V_HD(x) ((x) << S_HD)
47842 #define F_HD V_HD(1U)
47845 #define V_FD(x) ((x) << S_FD)
47846 #define F_FD V_FD(1U)
47848 #define A_MAC_PORT_MTIP_1G10G_MAC_ADDR_1 0xd10
47849 #define A_MAC_PORT_MTIP_SGMII_PARTNER_ABILITY 0xd14
47851 #define S_CULINKSTATUS 15
47852 #define V_CULINKSTATUS(x) ((x) << S_CULINKSTATUS)
47853 #define F_CULINKSTATUS V_CULINKSTATUS(1U)
47855 #define S_CUDPLXSTATUS 12
47856 #define V_CUDPLXSTATUS(x) ((x) << S_CUDPLXSTATUS)
47857 #define F_CUDPLXSTATUS V_CUDPLXSTATUS(1U)
47859 #define S_CUSPEED 10
47860 #define M_CUSPEED 0x3U
47861 #define V_CUSPEED(x) ((x) << S_CUSPEED)
47862 #define G_CUSPEED(x) (((x) >> S_CUSPEED) & M_CUSPEED)
47864 #define A_MAC_PORT_MTIP_1G10G_FRM_LENGTH_TX_MTU 0xd14
47866 #define S_SET_LEN 16
47867 #define M_SET_LEN 0xffffU
47868 #define V_SET_LEN(x) ((x) << S_SET_LEN)
47869 #define G_SET_LEN(x) (((x) >> S_SET_LEN) & M_SET_LEN)
47871 #define S_FRM_LEN_SET 0
47872 #define M_FRM_LEN_SET 0xffffU
47873 #define V_FRM_LEN_SET(x) ((x) << S_FRM_LEN_SET)
47874 #define G_FRM_LEN_SET(x) (((x) >> S_FRM_LEN_SET) & M_FRM_LEN_SET)
47876 #define A_MAC_PORT_MTIP_SGMII_AN_EXPANSION 0xd18
47879 #define V_PGRCVD(x) ((x) << S_PGRCVD)
47880 #define F_PGRCVD V_PGRCVD(1U)
47882 #define S_REALTIMEPGRCVD 0
47883 #define V_REALTIMEPGRCVD(x) ((x) << S_REALTIMEPGRCVD)
47884 #define F_REALTIMEPGRCVD V_REALTIMEPGRCVD(1U)
47886 #define A_MAC_PORT_MTIP_SGMII_DEVICE_NP 0xd1c
47887 #define A_MAC_PORT_MTIP_1G10G_RX_FIFO_SECTIONS 0xd1c
47889 #define S_RX1G10G_EMPTY 16
47890 #define M_RX1G10G_EMPTY 0xffffU
47891 #define V_RX1G10G_EMPTY(x) ((x) << S_RX1G10G_EMPTY)
47892 #define G_RX1G10G_EMPTY(x) (((x) >> S_RX1G10G_EMPTY) & M_RX1G10G_EMPTY)
47894 #define S_RX1G10G_AVAIL 0
47895 #define M_RX1G10G_AVAIL 0xffffU
47896 #define V_RX1G10G_AVAIL(x) ((x) << S_RX1G10G_AVAIL)
47897 #define G_RX1G10G_AVAIL(x) (((x) >> S_RX1G10G_AVAIL) & M_RX1G10G_AVAIL)
47899 #define A_MAC_PORT_MTIP_SGMII_PARTNER_NP 0xd20
47900 #define A_MAC_PORT_MTIP_1G10G_TX_FIFO_SECTIONS 0xd20
47902 #define S_TX1G10G_EMPTY 16
47903 #define M_TX1G10G_EMPTY 0xffffU
47904 #define V_TX1G10G_EMPTY(x) ((x) << S_TX1G10G_EMPTY)
47905 #define G_TX1G10G_EMPTY(x) (((x) >> S_TX1G10G_EMPTY) & M_TX1G10G_EMPTY)
47907 #define S_TX1G10G_AVAIL 0
47908 #define M_TX1G10G_AVAIL 0xffffU
47909 #define V_TX1G10G_AVAIL(x) ((x) << S_TX1G10G_AVAIL)
47910 #define G_TX1G10G_AVAIL(x) (((x) >> S_TX1G10G_AVAIL) & M_TX1G10G_AVAIL)
47912 #define A_MAC_PORT_MTIP_1G10G_RX_FIFO_ALMOST_F_E 0xd24
47914 #define S_ALMOSTFULL 16
47915 #define M_ALMOSTFULL 0xffffU
47916 #define V_ALMOSTFULL(x) ((x) << S_ALMOSTFULL)
47917 #define G_ALMOSTFULL(x) (((x) >> S_ALMOSTFULL) & M_ALMOSTFULL)
47919 #define S_ALMOSTEMPTY 0
47920 #define M_ALMOSTEMPTY 0xffffU
47921 #define V_ALMOSTEMPTY(x) ((x) << S_ALMOSTEMPTY)
47922 #define G_ALMOSTEMPTY(x) (((x) >> S_ALMOSTEMPTY) & M_ALMOSTEMPTY)
47924 #define A_MAC_PORT_MTIP_1G10G_TX_FIFO_ALMOST_F_E 0xd28
47925 #define A_MAC_PORT_MTIP_1G10G_HASHTABLE_LOAD 0xd2c
47926 #define A_MAC_PORT_MTIP_1G10G_MDIO_CFG_STATUS 0xd30
47928 #define S_CLK_DIVISOR 7
47929 #define M_CLK_DIVISOR 0x1ffU
47930 #define V_CLK_DIVISOR(x) ((x) << S_CLK_DIVISOR)
47931 #define G_CLK_DIVISOR(x) (((x) >> S_CLK_DIVISOR) & M_CLK_DIVISOR)
47933 #define S_ENA_CLAUSE 6
47934 #define V_ENA_CLAUSE(x) ((x) << S_ENA_CLAUSE)
47935 #define F_ENA_CLAUSE V_ENA_CLAUSE(1U)
47937 #define S_PREAMBLE_DISABLE 5
47938 #define V_PREAMBLE_DISABLE(x) ((x) << S_PREAMBLE_DISABLE)
47939 #define F_PREAMBLE_DISABLE V_PREAMBLE_DISABLE(1U)
47941 #define S_HOLD_TIME_SETTING 2
47942 #define M_HOLD_TIME_SETTING 0x7U
47943 #define V_HOLD_TIME_SETTING(x) ((x) << S_HOLD_TIME_SETTING)
47944 #define G_HOLD_TIME_SETTING(x) (((x) >> S_HOLD_TIME_SETTING) & M_HOLD_TIME_SETTING)
47946 #define S_MDIO_READ_ERROR 1
47947 #define V_MDIO_READ_ERROR(x) ((x) << S_MDIO_READ_ERROR)
47948 #define F_MDIO_READ_ERROR V_MDIO_READ_ERROR(1U)
47950 #define A_MAC_PORT_MTIP_1G10G_MDIO_COMMAND 0xd34
47952 #define S_READ_MODE 15
47953 #define V_READ_MODE(x) ((x) << S_READ_MODE)
47954 #define F_READ_MODE V_READ_MODE(1U)
47956 #define S_POST_INCR_READ 14
47957 #define V_POST_INCR_READ(x) ((x) << S_POST_INCR_READ)
47958 #define F_POST_INCR_READ V_POST_INCR_READ(1U)
47960 #define S_PORT_PHY_ADDR 5
47961 #define M_PORT_PHY_ADDR 0x1fU
47962 #define V_PORT_PHY_ADDR(x) ((x) << S_PORT_PHY_ADDR)
47963 #define G_PORT_PHY_ADDR(x) (((x) >> S_PORT_PHY_ADDR) & M_PORT_PHY_ADDR)
47965 #define S_DEVICE_REG_ADDR 0
47966 #define M_DEVICE_REG_ADDR 0x1fU
47967 #define V_DEVICE_REG_ADDR(x) ((x) << S_DEVICE_REG_ADDR)
47968 #define G_DEVICE_REG_ADDR(x) (((x) >> S_DEVICE_REG_ADDR) & M_DEVICE_REG_ADDR)
47970 #define A_MAC_PORT_MTIP_1G10G_MDIO_DATA 0xd38
47972 #define S_MDIO_DATA 0
47973 #define M_MDIO_DATA 0xffffU
47974 #define V_MDIO_DATA(x) ((x) << S_MDIO_DATA)
47975 #define G_MDIO_DATA(x) (((x) >> S_MDIO_DATA) & M_MDIO_DATA)
47977 #define A_MAC_PORT_MTIP_SGMII_EXTENDED_STATUS 0xd3c
47978 #define A_MAC_PORT_MTIP_1G10G_MDIO_REGADDR 0xd3c
47979 #define A_MAC_PORT_MTIP_1G10G_STATUS 0xd40
47981 #define S_RX_LINT_FAULT 7
47982 #define V_RX_LINT_FAULT(x) ((x) << S_RX_LINT_FAULT)
47983 #define F_RX_LINT_FAULT V_RX_LINT_FAULT(1U)
47985 #define S_RX_EMPTY 6
47986 #define V_RX_EMPTY(x) ((x) << S_RX_EMPTY)
47987 #define F_RX_EMPTY V_RX_EMPTY(1U)
47989 #define S_TX_EMPTY 5
47990 #define V_TX_EMPTY(x) ((x) << S_TX_EMPTY)
47991 #define F_TX_EMPTY V_TX_EMPTY(1U)
47993 #define S_RX_LOWP 4
47994 #define V_RX_LOWP(x) ((x) << S_RX_LOWP)
47995 #define F_RX_LOWP V_RX_LOWP(1U)
47997 #define A_MAC_PORT_MTIP_1G10G_TX_IPG_LENGTH 0xd44
47998 #define A_MAC_PORT_MTIP_SGMII_LINK_TIMER_LO 0xd48
48000 #define S_COUNT_LO 0
48001 #define M_COUNT_LO 0xffffU
48002 #define V_COUNT_LO(x) ((x) << S_COUNT_LO)
48003 #define G_COUNT_LO(x) (((x) >> S_COUNT_LO) & M_COUNT_LO)
48005 #define A_MAC_PORT_MTIP_1G10G_CREDIT_TRIGGER 0xd48
48006 #define A_MAC_PORT_MTIP_SGMII_LINK_TIMER_HI 0xd4c
48008 #define S_COUNT_HI 0
48009 #define M_COUNT_HI 0x1fU
48010 #define V_COUNT_HI(x) ((x) << S_COUNT_HI)
48011 #define G_COUNT_HI(x) (((x) >> S_COUNT_HI) & M_COUNT_HI)
48013 #define A_MAC_PORT_MTIP_1G10G_INIT_CREDIT 0xd4c
48014 #define A_MAC_PORT_MTIP_SGMII_IF_MODE 0xd50
48016 #define S_SGMII_PCS_ENABLE 5
48017 #define V_SGMII_PCS_ENABLE(x) ((x) << S_SGMII_PCS_ENABLE)
48018 #define F_SGMII_PCS_ENABLE V_SGMII_PCS_ENABLE(1U)
48020 #define S_SGMII_HDUPLEX 4
48021 #define V_SGMII_HDUPLEX(x) ((x) << S_SGMII_HDUPLEX)
48022 #define F_SGMII_HDUPLEX V_SGMII_HDUPLEX(1U)
48024 #define S_SGMII_SPEED 2
48025 #define M_SGMII_SPEED 0x3U
48026 #define V_SGMII_SPEED(x) ((x) << S_SGMII_SPEED)
48027 #define G_SGMII_SPEED(x) (((x) >> S_SGMII_SPEED) & M_SGMII_SPEED)
48029 #define S_USE_SGMII_AN 1
48030 #define V_USE_SGMII_AN(x) ((x) << S_USE_SGMII_AN)
48031 #define F_USE_SGMII_AN V_USE_SGMII_AN(1U)
48033 #define S_SGMII_ENA 0
48034 #define V_SGMII_ENA(x) ((x) << S_SGMII_ENA)
48035 #define F_SGMII_ENA V_SGMII_ENA(1U)
48037 #define A_MAC_PORT_MTIP_1G10G_CL01_PAUSE_QUANTA 0xd54
48039 #define S_CL1_PAUSE_QUANTA 16
48040 #define M_CL1_PAUSE_QUANTA 0xffffU
48041 #define V_CL1_PAUSE_QUANTA(x) ((x) << S_CL1_PAUSE_QUANTA)
48042 #define G_CL1_PAUSE_QUANTA(x) (((x) >> S_CL1_PAUSE_QUANTA) & M_CL1_PAUSE_QUANTA)
48044 #define S_CL0_PAUSE_QUANTA 0
48045 #define M_CL0_PAUSE_QUANTA 0xffffU
48046 #define V_CL0_PAUSE_QUANTA(x) ((x) << S_CL0_PAUSE_QUANTA)
48047 #define G_CL0_PAUSE_QUANTA(x) (((x) >> S_CL0_PAUSE_QUANTA) & M_CL0_PAUSE_QUANTA)
48049 #define A_MAC_PORT_MTIP_1G10G_CL23_PAUSE_QUANTA 0xd58
48051 #define S_CL3_PAUSE_QUANTA 16
48052 #define M_CL3_PAUSE_QUANTA 0xffffU
48053 #define V_CL3_PAUSE_QUANTA(x) ((x) << S_CL3_PAUSE_QUANTA)
48054 #define G_CL3_PAUSE_QUANTA(x) (((x) >> S_CL3_PAUSE_QUANTA) & M_CL3_PAUSE_QUANTA)
48056 #define S_CL2_PAUSE_QUANTA 0
48057 #define M_CL2_PAUSE_QUANTA 0xffffU
48058 #define V_CL2_PAUSE_QUANTA(x) ((x) << S_CL2_PAUSE_QUANTA)
48059 #define G_CL2_PAUSE_QUANTA(x) (((x) >> S_CL2_PAUSE_QUANTA) & M_CL2_PAUSE_QUANTA)
48061 #define A_MAC_PORT_MTIP_1G10G_CL45_PAUSE_QUANTA 0xd5c
48063 #define S_CL5_PAUSE_QUANTA 16
48064 #define M_CL5_PAUSE_QUANTA 0xffffU
48065 #define V_CL5_PAUSE_QUANTA(x) ((x) << S_CL5_PAUSE_QUANTA)
48066 #define G_CL5_PAUSE_QUANTA(x) (((x) >> S_CL5_PAUSE_QUANTA) & M_CL5_PAUSE_QUANTA)
48068 #define S_CL4_PAUSE_QUANTA 0
48069 #define M_CL4_PAUSE_QUANTA 0xffffU
48070 #define V_CL4_PAUSE_QUANTA(x) ((x) << S_CL4_PAUSE_QUANTA)
48071 #define G_CL4_PAUSE_QUANTA(x) (((x) >> S_CL4_PAUSE_QUANTA) & M_CL4_PAUSE_QUANTA)
48073 #define A_MAC_PORT_MTIP_1G10G_CL67_PAUSE_QUANTA 0xd60
48075 #define S_CL7_PAUSE_QUANTA 16
48076 #define M_CL7_PAUSE_QUANTA 0xffffU
48077 #define V_CL7_PAUSE_QUANTA(x) ((x) << S_CL7_PAUSE_QUANTA)
48078 #define G_CL7_PAUSE_QUANTA(x) (((x) >> S_CL7_PAUSE_QUANTA) & M_CL7_PAUSE_QUANTA)
48080 #define S_CL6_PAUSE_QUANTA 0
48081 #define M_CL6_PAUSE_QUANTA 0xffffU
48082 #define V_CL6_PAUSE_QUANTA(x) ((x) << S_CL6_PAUSE_QUANTA)
48083 #define G_CL6_PAUSE_QUANTA(x) (((x) >> S_CL6_PAUSE_QUANTA) & M_CL6_PAUSE_QUANTA)
48085 #define A_MAC_PORT_MTIP_1G10G_CL01_QUANTA_THRESH 0xd64
48087 #define S_CL1_QUANTA_THRESH 16
48088 #define M_CL1_QUANTA_THRESH 0xffffU
48089 #define V_CL1_QUANTA_THRESH(x) ((x) << S_CL1_QUANTA_THRESH)
48090 #define G_CL1_QUANTA_THRESH(x) (((x) >> S_CL1_QUANTA_THRESH) & M_CL1_QUANTA_THRESH)
48092 #define S_CL0_QUANTA_THRESH 0
48093 #define M_CL0_QUANTA_THRESH 0xffffU
48094 #define V_CL0_QUANTA_THRESH(x) ((x) << S_CL0_QUANTA_THRESH)
48095 #define G_CL0_QUANTA_THRESH(x) (((x) >> S_CL0_QUANTA_THRESH) & M_CL0_QUANTA_THRESH)
48097 #define A_MAC_PORT_MTIP_1G10G_CL23_QUANTA_THRESH 0xd68
48099 #define S_CL3_QUANTA_THRESH 16
48100 #define M_CL3_QUANTA_THRESH 0xffffU
48101 #define V_CL3_QUANTA_THRESH(x) ((x) << S_CL3_QUANTA_THRESH)
48102 #define G_CL3_QUANTA_THRESH(x) (((x) >> S_CL3_QUANTA_THRESH) & M_CL3_QUANTA_THRESH)
48104 #define S_CL2_QUANTA_THRESH 0
48105 #define M_CL2_QUANTA_THRESH 0xffffU
48106 #define V_CL2_QUANTA_THRESH(x) ((x) << S_CL2_QUANTA_THRESH)
48107 #define G_CL2_QUANTA_THRESH(x) (((x) >> S_CL2_QUANTA_THRESH) & M_CL2_QUANTA_THRESH)
48109 #define A_MAC_PORT_MTIP_1G10G_CL45_QUANTA_THRESH 0xd6c
48111 #define S_CL5_QUANTA_THRESH 16
48112 #define M_CL5_QUANTA_THRESH 0xffffU
48113 #define V_CL5_QUANTA_THRESH(x) ((x) << S_CL5_QUANTA_THRESH)
48114 #define G_CL5_QUANTA_THRESH(x) (((x) >> S_CL5_QUANTA_THRESH) & M_CL5_QUANTA_THRESH)
48116 #define S_CL4_QUANTA_THRESH 0
48117 #define M_CL4_QUANTA_THRESH 0xffffU
48118 #define V_CL4_QUANTA_THRESH(x) ((x) << S_CL4_QUANTA_THRESH)
48119 #define G_CL4_QUANTA_THRESH(x) (((x) >> S_CL4_QUANTA_THRESH) & M_CL4_QUANTA_THRESH)
48121 #define A_MAC_PORT_MTIP_1G10G_CL67_QUANTA_THRESH 0xd70
48123 #define S_CL7_QUANTA_THRESH 16
48124 #define M_CL7_QUANTA_THRESH 0xffffU
48125 #define V_CL7_QUANTA_THRESH(x) ((x) << S_CL7_QUANTA_THRESH)
48126 #define G_CL7_QUANTA_THRESH(x) (((x) >> S_CL7_QUANTA_THRESH) & M_CL7_QUANTA_THRESH)
48128 #define S_CL6_QUANTA_THRESH 0
48129 #define M_CL6_QUANTA_THRESH 0xffffU
48130 #define V_CL6_QUANTA_THRESH(x) ((x) << S_CL6_QUANTA_THRESH)
48131 #define G_CL6_QUANTA_THRESH(x) (((x) >> S_CL6_QUANTA_THRESH) & M_CL6_QUANTA_THRESH)
48133 #define A_MAC_PORT_MTIP_1G10G_RX_PAUSE_STATUS 0xd74
48135 #define S_STATUS_BIT 0
48136 #define M_STATUS_BIT 0xffU
48137 #define V_STATUS_BIT(x) ((x) << S_STATUS_BIT)
48138 #define G_STATUS_BIT(x) (((x) >> S_STATUS_BIT) & M_STATUS_BIT)
48140 #define A_MAC_PORT_MTIP_1G10G_TS_TIMESTAMP 0xd7c
48141 #define A_MAC_PORT_MTIP_1G10G_STATN_CONFIG 0xde0
48144 #define V_CLEAR(x) ((x) << S_CLEAR)
48145 #define F_CLEAR V_CLEAR(1U)
48147 #define S_CLEAR_ON_READ 1
48148 #define V_CLEAR_ON_READ(x) ((x) << S_CLEAR_ON_READ)
48149 #define F_CLEAR_ON_READ V_CLEAR_ON_READ(1U)
48151 #define S_SATURATE 0
48152 #define V_SATURATE(x) ((x) << S_SATURATE)
48153 #define F_SATURATE V_SATURATE(1U)
48155 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSOCTETS 0xe00
48156 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSOCTETSHI 0xe04
48157 #define A_MAC_PORT_MTIP_1G10G_RX_OCTETSOK 0xe08
48158 #define A_MAC_PORT_MTIP_1G10G_RX_OCTETSOKHI 0xe0c
48159 #define A_MAC_PORT_MTIP_1G10G_RX_AALIGNMENTERRORS 0xe10
48160 #define A_MAC_PORT_MTIP_1G10G_RX_AALIGNMENTERRORSHI 0xe14
48161 #define A_MAC_PORT_MTIP_1G10G_RX_APAUSEMACCTRLFRAMES 0xe18
48162 #define A_MAC_PORT_MTIP_1G10G_RX_APAUSEMACCTRLFRAMESHI 0xe1c
48163 #define A_MAC_PORT_MTIP_1G10G_RX_FRAMESOK 0xe20
48164 #define A_MAC_PORT_MTIP_1G10G_RX_FRAMESOKHI 0xe24
48165 #define A_MAC_PORT_MTIP_1G10G_RX_CRCERRORS 0xe28
48166 #define A_MAC_PORT_MTIP_1G10G_RX_CRCERRORSHI 0xe2c
48167 #define A_MAC_PORT_MTIP_1G10G_RX_VLANOK 0xe30
48168 #define A_MAC_PORT_MTIP_1G10G_RX_VLANOKHI 0xe34
48169 #define A_MAC_PORT_MTIP_1G10G_RX_IFINERRORS 0xe38
48170 #define A_MAC_PORT_MTIP_1G10G_RX_IFINERRORSHI 0xe3c
48171 #define A_MAC_PORT_MTIP_1G10G_RX_IFINUCASTPKTS 0xe40
48172 #define A_MAC_PORT_MTIP_1G10G_RX_IFINUCASTPKTSHI 0xe44
48173 #define A_MAC_PORT_MTIP_1G10G_RX_IFINMULTICASTPKTS 0xe48
48174 #define A_MAC_PORT_MTIP_1G10G_RX_IFINMULTICASTPKTSHI 0xe4c
48175 #define A_MAC_PORT_MTIP_1G10G_RX_IFINBROADCASTPKTS 0xe50
48176 #define A_MAC_PORT_MTIP_1G10G_RX_IFINBROADCASTPKTSHI 0xe54
48177 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSDROPEVENTS 0xe58
48178 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSDROPEVENTSHI 0xe5c
48179 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS 0xe60
48180 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTSHI 0xe64
48181 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSUNDERSIZEPKTS 0xe68
48182 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSUNDERSIZEPKTSHI 0xe6c
48183 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS64OCTETS 0xe70
48184 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS64OCTETSHI 0xe74
48185 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS65TO127OCTETS 0xe78
48186 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS65TO127OCTETSHI 0xe7c
48187 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS128TO255OCTETS 0xe80
48188 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS128TO255OCTETSHI 0xe84
48189 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS256TO511OCTETS 0xe88
48190 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS256TO511OCTETSHI 0xe8c
48191 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS512TO1023OCTETS 0xe90
48192 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS512TO1023OCTETSHI 0xe94
48193 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS1024TO1518OCTETS 0xe98
48194 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS1024TO1518OCTETSHI 0xe9c
48195 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS1519TOMAX 0xea0
48196 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSPKTS1519TOMAXHI 0xea4
48197 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSOVERSIZEPKTS 0xea8
48198 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSOVERSIZEPKTSHI 0xeac
48199 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSJABBERS 0xeb0
48200 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSJABBERSHI 0xeb4
48201 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSFRAGMENTS 0xeb8
48202 #define A_MAC_PORT_MTIP_1G10G_RX_ETHERSTATSFRAGMENTSHI 0xebc
48203 #define A_MAC_PORT_MTIP_1G10G_AMACCONTROLFRAMESRECEIVED 0xec0
48204 #define A_MAC_PORT_MTIP_1G10G_AMACCONTROLFRAMESRECEIVEDHI 0xec4
48205 #define A_MAC_PORT_MTIP_1G10G_RX_AFRAMETOOLONG 0xec8
48206 #define A_MAC_PORT_MTIP_1G10G_RX_AFRAMETOOLONGHI 0xecc
48207 #define A_MAC_PORT_MTIP_1G10G_RX_AINRANGELENGTHERRORS 0xed0
48208 #define A_MAC_PORT_MTIP_1G10G_RX_AINRANGELENGTHERRORSHI 0xed4
48209 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSOCTETS 0xf00
48210 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSOCTETSHI 0xf04
48211 #define A_MAC_PORT_MTIP_1G10G_TX_OCTETSOK 0xf08
48212 #define A_MAC_PORT_MTIP_1G10G_TX_OCTETSOKHI 0xf0c
48213 #define A_MAC_PORT_MTIP_1G10G_TX_AALIGNMENTERRORS 0xf10
48214 #define A_MAC_PORT_MTIP_1G10G_TX_AALIGNMENTERRORSHI 0xf14
48215 #define A_MAC_PORT_MTIP_1G10G_TX_APAUSEMACCTRLFRAMES 0xf18
48216 #define A_MAC_PORT_MTIP_1G10G_TX_APAUSEMACCTRLFRAMESHI 0xf1c
48217 #define A_MAC_PORT_MTIP_1G10G_TX_FRAMESOK 0xf20
48218 #define A_MAC_PORT_MTIP_1G10G_TX_FRAMESOKHI 0xf24
48219 #define A_MAC_PORT_MTIP_1G10G_TX_CRCERRORS 0xf28
48220 #define A_MAC_PORT_MTIP_1G10G_TX_CRCERRORSHI 0xf2c
48221 #define A_MAC_PORT_MTIP_1G10G_TX_VLANOK 0xf30
48222 #define A_MAC_PORT_MTIP_1G10G_TX_VLANOKHI 0xf34
48223 #define A_MAC_PORT_MTIP_1G10G_TX_IFOUTERRORS 0xf38
48224 #define A_MAC_PORT_MTIP_1G10G_TX_IFOUTERRORSHI 0xf3c
48225 #define A_MAC_PORT_MTIP_1G10G_TX_IFUCASTPKTS 0xf40
48226 #define A_MAC_PORT_MTIP_1G10G_TX_IFUCASTPKTSHI 0xf44
48227 #define A_MAC_PORT_MTIP_1G10G_TX_IFMULTICASTPKTS 0xf48
48228 #define A_MAC_PORT_MTIP_1G10G_TX_IFMULTICASTPKTSHI 0xf4c
48229 #define A_MAC_PORT_MTIP_1G10G_TX_IFBROADCASTPKTS 0xf50
48230 #define A_MAC_PORT_MTIP_1G10G_TX_IFBROADCASTPKTSHI 0xf54
48231 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSDROPEVENTS 0xf58
48232 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSDROPEVENTSHI 0xf5c
48233 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS 0xf60
48234 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTSHI 0xf64
48235 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSUNDERSIZEPKTS 0xf68
48236 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSUNDERSIZEPKTSHI 0xf6c
48237 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS64OCTETS 0xf70
48238 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS64OCTETSHI 0xf74
48239 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS65TO127OCTETS 0xf78
48240 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS65TO127OCTETSHI 0xf7c
48241 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS128TO255OCTETS 0xf80
48242 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS128TO255OCTETSHI 0xf84
48243 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS256TO511OCTETS 0xf88
48244 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS256TO511OCTETSHI 0xf8c
48245 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS512TO1023OCTETS 0xf90
48246 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS512TO1023OCTETSHI 0xf94
48247 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS1024TO1518OCTETS 0xf98
48248 #define A_MAC_PORT_MTIP_1G10G_TX_ETHERSTATSPKTS1024TO1518OCTETSHI 0xf9c
48249 #define A_MAC_PORT_MTIP_1G10G_ETHERSTATSPKTS1519TOTX_MTU 0xfa0
48250 #define A_MAC_PORT_MTIP_1G10G_ETHERSTATSPKTS1519TOTX_MTUHI 0xfa4
48251 #define A_MAC_PORT_MTIP_1G10G_TX_AMACCONTROLFRAMES 0xfc0
48252 #define A_MAC_PORT_MTIP_1G10G_TX_AMACCONTROLFRAMESHI 0xfc4
48253 #define A_MAC_PORT_MTIP_1G10G_IF_MODE 0x1000
48255 #define S_MII_ENA_10 4
48256 #define V_MII_ENA_10(x) ((x) << S_MII_ENA_10)
48257 #define F_MII_ENA_10 V_MII_ENA_10(1U)
48259 #define S_IF_MODE 0
48260 #define M_IF_MODE 0x3U
48261 #define V_IF_MODE(x) ((x) << S_IF_MODE)
48262 #define G_IF_MODE(x) (((x) >> S_IF_MODE) & M_IF_MODE)
48264 #define A_MAC_PORT_MTIP_1G10G_IF_STATUS 0x1004
48266 #define S_IF_STATUS_MODE 0
48267 #define M_IF_STATUS_MODE 0x3U
48268 #define V_IF_STATUS_MODE(x) ((x) << S_IF_STATUS_MODE)
48269 #define G_IF_STATUS_MODE(x) (((x) >> S_IF_STATUS_MODE) & M_IF_STATUS_MODE)
48271 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_0 0x1080
48272 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_0HI 0x1084
48273 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_1 0x1088
48274 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_1HI 0x108c
48275 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_2 0x1090
48276 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_2HI 0x1094
48277 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_3 0x1098
48278 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_3HI 0x109c
48279 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_4 0x10a0
48280 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_4HI 0x10a4
48281 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_5 0x10a8
48282 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_5HI 0x10ac
48283 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_6 0x10b0
48284 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_6HI 0x10b4
48285 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_7 0x10b8
48286 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESRECEIVED_7HI 0x10bc
48287 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_0 0x10c0
48288 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_0HI 0x10c4
48289 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_1 0x10c8
48290 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_1HI 0x10cc
48291 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_2 0x10d0
48292 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_2HI 0x10d4
48293 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_3 0x10d8
48294 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_3HI 0x10dc
48295 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_4 0x10e0
48296 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_4HI 0x10e4
48297 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_5 0x10e8
48298 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_5HI 0x10ec
48299 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_6 0x10f0
48300 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_6HI 0x10f4
48301 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_7 0x10f8
48302 #define A_MAC_PORT_MTIP_1G10G_PFCFRAMESTRANSMITTED_7HI 0x10fc
48303 #define A_MAC_PORT_MTIP_ACT_CTL_SEG 0x1200
48306 #define M_ACTIVE 0x3fU
48307 #define V_ACTIVE(x) ((x) << S_ACTIVE)
48308 #define G_ACTIVE(x) (((x) >> S_ACTIVE) & M_ACTIVE)
48310 #define A_T6_MAC_PORT_MTIP_SGMII_CONTROL 0x1200
48312 #define S_SPEED_SEL 13
48313 #define V_SPEED_SEL(x) ((x) << S_SPEED_SEL)
48314 #define F_SPEED_SEL V_SPEED_SEL(1U)
48316 #define S_PWR_DWN 11
48317 #define V_PWR_DWN(x) ((x) << S_PWR_DWN)
48318 #define F_PWR_DWN V_PWR_DWN(1U)
48320 #define S_DUPLEX_MODE 8
48321 #define V_DUPLEX_MODE(x) ((x) << S_DUPLEX_MODE)
48322 #define F_DUPLEX_MODE V_DUPLEX_MODE(1U)
48324 #define S_COLLISION_TEST 7
48325 #define V_COLLISION_TEST(x) ((x) << S_COLLISION_TEST)
48326 #define F_COLLISION_TEST V_COLLISION_TEST(1U)
48328 #define S_T6_SPEED_SEL1 6
48329 #define V_T6_SPEED_SEL1(x) ((x) << S_T6_SPEED_SEL1)
48330 #define F_T6_SPEED_SEL1 V_T6_SPEED_SEL1(1U)
48332 #define A_MAC_PORT_MTIP_MODE_CTL_SEG 0x1204
48334 #define S_MODE_CTL 0
48335 #define M_MODE_CTL 0x3U
48336 #define V_MODE_CTL(x) ((x) << S_MODE_CTL)
48337 #define G_MODE_CTL(x) (((x) >> S_MODE_CTL) & M_MODE_CTL)
48339 #define A_T6_MAC_PORT_MTIP_SGMII_STATUS 0x1204
48341 #define S_T6_REM_FAULT 4
48342 #define V_T6_REM_FAULT(x) ((x) << S_T6_REM_FAULT)
48343 #define F_T6_REM_FAULT V_T6_REM_FAULT(1U)
48345 #define A_MAC_PORT_MTIP_TXCLK_CTL_SEG 0x1208
48347 #define S_TXCLK_CTL 0
48348 #define M_TXCLK_CTL 0xffffU
48349 #define V_TXCLK_CTL(x) ((x) << S_TXCLK_CTL)
48350 #define G_TXCLK_CTL(x) (((x) >> S_TXCLK_CTL) & M_TXCLK_CTL)
48352 #define A_T6_MAC_PORT_MTIP_SGMII_PHY_IDENTIFIER_0 0x1208
48353 #define A_MAC_PORT_MTIP_TX_PRMBL_CTL_SEG 0x120c
48354 #define A_T6_MAC_PORT_MTIP_SGMII_PHY_IDENTIFIER_1 0x120c
48355 #define A_T6_MAC_PORT_MTIP_SGMII_DEV_ABILITY 0x1210
48356 #define A_T6_MAC_PORT_MTIP_SGMII_PARTNER_ABILITY 0x1214
48357 #define A_T6_MAC_PORT_MTIP_SGMII_AN_EXPANSION 0x1218
48359 #define S_NEXT_PAGE_ABLE 2
48360 #define V_NEXT_PAGE_ABLE(x) ((x) << S_NEXT_PAGE_ABLE)
48361 #define F_NEXT_PAGE_ABLE V_NEXT_PAGE_ABLE(1U)
48363 #define S_PAGE_RECEIVE 1
48364 #define V_PAGE_RECEIVE(x) ((x) << S_PAGE_RECEIVE)
48365 #define F_PAGE_RECEIVE V_PAGE_RECEIVE(1U)
48367 #define A_MAC_PORT_MTIP_SGMII_NP_TX 0x121c
48370 #define M_NP_TX 0xffffU
48371 #define V_NP_TX(x) ((x) << S_NP_TX)
48372 #define G_NP_TX(x) (((x) >> S_NP_TX) & M_NP_TX)
48374 #define A_MAC_PORT_MTIP_WAN_RS_COL_CNT 0x1220
48376 #define S_COL_CNT 0
48377 #define M_COL_CNT 0xffffU
48378 #define V_COL_CNT(x) ((x) << S_COL_CNT)
48379 #define G_COL_CNT(x) (((x) >> S_COL_CNT) & M_COL_CNT)
48381 #define A_MAC_PORT_MTIP_SGMII_LP_NP_RX 0x1220
48383 #define S_LP_NP_RX 0
48384 #define M_LP_NP_RX 0xffffU
48385 #define V_LP_NP_RX(x) ((x) << S_LP_NP_RX)
48386 #define G_LP_NP_RX(x) (((x) >> S_LP_NP_RX) & M_LP_NP_RX)
48388 #define A_T6_MAC_PORT_MTIP_SGMII_EXTENDED_STATUS 0x123c
48390 #define S_EXTENDED_STATUS 0
48391 #define M_EXTENDED_STATUS 0xffffU
48392 #define V_EXTENDED_STATUS(x) ((x) << S_EXTENDED_STATUS)
48393 #define G_EXTENDED_STATUS(x) (((x) >> S_EXTENDED_STATUS) & M_EXTENDED_STATUS)
48395 #define A_MAC_PORT_MTIP_VL_INTVL 0x1240
48397 #define S_VL_INTVL 1
48398 #define V_VL_INTVL(x) ((x) << S_VL_INTVL)
48399 #define F_VL_INTVL V_VL_INTVL(1U)
48401 #define A_MAC_PORT_MTIP_SGMII_SCRATCH 0x1240
48403 #define S_SCRATCH 0
48404 #define M_SCRATCH 0xffffU
48405 #define V_SCRATCH(x) ((x) << S_SCRATCH)
48406 #define G_SCRATCH(x) (((x) >> S_SCRATCH) & M_SCRATCH)
48408 #define A_MAC_PORT_MTIP_SGMII_REV 0x1244
48410 #define S_SGMII_VER 8
48411 #define M_SGMII_VER 0xffU
48412 #define V_SGMII_VER(x) ((x) << S_SGMII_VER)
48413 #define G_SGMII_VER(x) (((x) >> S_SGMII_VER) & M_SGMII_VER)
48415 #define S_SGMII_REV 0
48416 #define M_SGMII_REV 0xffU
48417 #define V_SGMII_REV(x) ((x) << S_SGMII_REV)
48418 #define G_SGMII_REV(x) (((x) >> S_SGMII_REV) & M_SGMII_REV)
48420 #define A_T6_MAC_PORT_MTIP_SGMII_LINK_TIMER_LO 0x1248
48422 #define S_LINK_TIMER_LO 0
48423 #define M_LINK_TIMER_LO 0xffffU
48424 #define V_LINK_TIMER_LO(x) ((x) << S_LINK_TIMER_LO)
48425 #define G_LINK_TIMER_LO(x) (((x) >> S_LINK_TIMER_LO) & M_LINK_TIMER_LO)
48427 #define A_T6_MAC_PORT_MTIP_SGMII_LINK_TIMER_HI 0x124c
48429 #define S_LINK_TIMER_HI 0
48430 #define M_LINK_TIMER_HI 0xffffU
48431 #define V_LINK_TIMER_HI(x) ((x) << S_LINK_TIMER_HI)
48432 #define G_LINK_TIMER_HI(x) (((x) >> S_LINK_TIMER_HI) & M_LINK_TIMER_HI)
48434 #define A_T6_MAC_PORT_MTIP_SGMII_IF_MODE 0x1250
48436 #define S_SGMII_DUPLEX 4
48437 #define V_SGMII_DUPLEX(x) ((x) << S_SGMII_DUPLEX)
48438 #define F_SGMII_DUPLEX V_SGMII_DUPLEX(1U)
48440 #define A_MAC_PORT_MTIP_SGMII_DECODE_ERROR 0x1254
48442 #define S_T6_DECODE_ERROR 0
48443 #define M_T6_DECODE_ERROR 0xffffU
48444 #define V_T6_DECODE_ERROR(x) ((x) << S_T6_DECODE_ERROR)
48445 #define G_T6_DECODE_ERROR(x) (((x) >> S_T6_DECODE_ERROR) & M_T6_DECODE_ERROR)
48447 #define A_MAC_PORT_MTIP_KR_PCS_CONTROL_1 0x1300
48449 #define S_LOW_POWER 11
48450 #define V_LOW_POWER(x) ((x) << S_LOW_POWER)
48451 #define F_LOW_POWER V_LOW_POWER(1U)
48453 #define S_T6_SPEED_SEL1 6
48454 #define V_T6_SPEED_SEL1(x) ((x) << S_T6_SPEED_SEL1)
48455 #define F_T6_SPEED_SEL1 V_T6_SPEED_SEL1(1U)
48457 #define S_SPEED_SEL2 2
48458 #define M_SPEED_SEL2 0xfU
48459 #define V_SPEED_SEL2(x) ((x) << S_SPEED_SEL2)
48460 #define G_SPEED_SEL2(x) (((x) >> S_SPEED_SEL2) & M_SPEED_SEL2)
48462 #define A_MAC_PORT_MTIP_KR_PCS_STATUS_1 0x1304
48464 #define S_TX_LPI 11
48465 #define V_TX_LPI(x) ((x) << S_TX_LPI)
48466 #define F_TX_LPI V_TX_LPI(1U)
48468 #define S_RX_LPI 10
48469 #define V_RX_LPI(x) ((x) << S_RX_LPI)
48470 #define F_RX_LPI V_RX_LPI(1U)
48472 #define S_TX_LPI_ACTIVE 9
48473 #define V_TX_LPI_ACTIVE(x) ((x) << S_TX_LPI_ACTIVE)
48474 #define F_TX_LPI_ACTIVE V_TX_LPI_ACTIVE(1U)
48476 #define S_RX_LPI_ACTIVE 8
48477 #define V_RX_LPI_ACTIVE(x) ((x) << S_RX_LPI_ACTIVE)
48478 #define F_RX_LPI_ACTIVE V_RX_LPI_ACTIVE(1U)
48481 #define V_FAULT(x) ((x) << S_FAULT)
48482 #define F_FAULT V_FAULT(1U)
48484 #define S_PCS_RX_LINK_STAT 2
48485 #define V_PCS_RX_LINK_STAT(x) ((x) << S_PCS_RX_LINK_STAT)
48486 #define F_PCS_RX_LINK_STAT V_PCS_RX_LINK_STAT(1U)
48488 #define S_LOW_POWER_ABILITY 1
48489 #define V_LOW_POWER_ABILITY(x) ((x) << S_LOW_POWER_ABILITY)
48490 #define F_LOW_POWER_ABILITY V_LOW_POWER_ABILITY(1U)
48492 #define A_MAC_PORT_MTIP_KR_PCS_DEVICE_IDENTIFIER_1 0x1308
48493 #define A_MAC_PORT_MTIP_KR_PCS_DEVICE_IDENTIFIER_2 0x130c
48494 #define A_MAC_PORT_MTIP_KR_PCS_SPEED_ABILITY 0x1310
48496 #define S_10G_CAPABLE 0
48497 #define V_10G_CAPABLE(x) ((x) << S_10G_CAPABLE)
48498 #define F_10G_CAPABLE V_10G_CAPABLE(1U)
48500 #define A_MAC_PORT_MTIP_KR_PCS_DEVICES_IN_PACKAGELO 0x1314
48502 #define S_AUTO_NEGOTIATION_PRESENT 7
48503 #define V_AUTO_NEGOTIATION_PRESENT(x) ((x) << S_AUTO_NEGOTIATION_PRESENT)
48504 #define F_AUTO_NEGOTIATION_PRESENT V_AUTO_NEGOTIATION_PRESENT(1U)
48506 #define S_DTE_XS_PRESENT 5
48507 #define V_DTE_XS_PRESENT(x) ((x) << S_DTE_XS_PRESENT)
48508 #define F_DTE_XS_PRESENT V_DTE_XS_PRESENT(1U)
48510 #define S_PHY_XS_PRESENT 4
48511 #define V_PHY_XS_PRESENT(x) ((x) << S_PHY_XS_PRESENT)
48512 #define F_PHY_XS_PRESENT V_PHY_XS_PRESENT(1U)
48514 #define S_PCS_PRESENT 3
48515 #define V_PCS_PRESENT(x) ((x) << S_PCS_PRESENT)
48516 #define F_PCS_PRESENT V_PCS_PRESENT(1U)
48518 #define S_WIS_PRESENT 2
48519 #define V_WIS_PRESENT(x) ((x) << S_WIS_PRESENT)
48520 #define F_WIS_PRESENT V_WIS_PRESENT(1U)
48522 #define S_PMD_PMA_PRESENT 1
48523 #define V_PMD_PMA_PRESENT(x) ((x) << S_PMD_PMA_PRESENT)
48524 #define F_PMD_PMA_PRESENT V_PMD_PMA_PRESENT(1U)
48526 #define S_CLAUSE_22_REG_PRESENT 0
48527 #define V_CLAUSE_22_REG_PRESENT(x) ((x) << S_CLAUSE_22_REG_PRESENT)
48528 #define F_CLAUSE_22_REG_PRESENT V_CLAUSE_22_REG_PRESENT(1U)
48530 #define A_MAC_PORT_MTIP_KR_PCS_DEVICES_IN_PACKAGEHI 0x1318
48531 #define A_MAC_PORT_MTIP_KR_PCS_CONTROL_2 0x131c
48533 #define S_PCS_TYPE_SELECTION 0
48534 #define M_PCS_TYPE_SELECTION 0x3U
48535 #define V_PCS_TYPE_SELECTION(x) ((x) << S_PCS_TYPE_SELECTION)
48536 #define G_PCS_TYPE_SELECTION(x) (((x) >> S_PCS_TYPE_SELECTION) & M_PCS_TYPE_SELECTION)
48538 #define A_MAC_PORT_MTIP_KR_PCS_STATUS_2 0x1320
48540 #define S_DEVICE_PRESENT 14
48541 #define M_DEVICE_PRESENT 0x3U
48542 #define V_DEVICE_PRESENT(x) ((x) << S_DEVICE_PRESENT)
48543 #define G_DEVICE_PRESENT(x) (((x) >> S_DEVICE_PRESENT) & M_DEVICE_PRESENT)
48545 #define S_TRANSMIT_FAULT 11
48546 #define V_TRANSMIT_FAULT(x) ((x) << S_TRANSMIT_FAULT)
48547 #define F_TRANSMIT_FAULT V_TRANSMIT_FAULT(1U)
48549 #define S_RECEIVE_FAULT 10
48550 #define V_RECEIVE_FAULT(x) ((x) << S_RECEIVE_FAULT)
48551 #define F_RECEIVE_FAULT V_RECEIVE_FAULT(1U)
48553 #define S_10GBASE_W_CAPABLE 2
48554 #define V_10GBASE_W_CAPABLE(x) ((x) << S_10GBASE_W_CAPABLE)
48555 #define F_10GBASE_W_CAPABLE V_10GBASE_W_CAPABLE(1U)
48557 #define S_10GBASE_X_CAPABLE 1
48558 #define V_10GBASE_X_CAPABLE(x) ((x) << S_10GBASE_X_CAPABLE)
48559 #define F_10GBASE_X_CAPABLE V_10GBASE_X_CAPABLE(1U)
48561 #define S_10GBASE_R_CAPABLE 0
48562 #define V_10GBASE_R_CAPABLE(x) ((x) << S_10GBASE_R_CAPABLE)
48563 #define F_10GBASE_R_CAPABLE V_10GBASE_R_CAPABLE(1U)
48565 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_PACKAGE_IDENTIFIER_LO 0x1338
48567 #define S_PCS_PACKAGE_IDENTIFIER_LO 0
48568 #define M_PCS_PACKAGE_IDENTIFIER_LO 0xffffU
48569 #define V_PCS_PACKAGE_IDENTIFIER_LO(x) ((x) << S_PCS_PACKAGE_IDENTIFIER_LO)
48570 #define G_PCS_PACKAGE_IDENTIFIER_LO(x) (((x) >> S_PCS_PACKAGE_IDENTIFIER_LO) & M_PCS_PACKAGE_IDENTIFIER_LO)
48572 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_PACKAGE_IDENTIFIER_HI 0x133c
48574 #define S_PCS_PACKAGE_IDENTIFIER_HI 0
48575 #define M_PCS_PACKAGE_IDENTIFIER_HI 0xffffU
48576 #define V_PCS_PACKAGE_IDENTIFIER_HI(x) ((x) << S_PCS_PACKAGE_IDENTIFIER_HI)
48577 #define G_PCS_PACKAGE_IDENTIFIER_HI(x) (((x) >> S_PCS_PACKAGE_IDENTIFIER_HI) & M_PCS_PACKAGE_IDENTIFIER_HI)
48579 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_STATUS_1 0x1380
48581 #define S_10GBASE_R_RX_LINK_STATUS 12
48582 #define V_10GBASE_R_RX_LINK_STATUS(x) ((x) << S_10GBASE_R_RX_LINK_STATUS)
48583 #define F_10GBASE_R_RX_LINK_STATUS V_10GBASE_R_RX_LINK_STATUS(1U)
48585 #define S_PRBS9_PTTRN_TSTNG_ABILITY 3
48586 #define V_PRBS9_PTTRN_TSTNG_ABILITY(x) ((x) << S_PRBS9_PTTRN_TSTNG_ABILITY)
48587 #define F_PRBS9_PTTRN_TSTNG_ABILITY V_PRBS9_PTTRN_TSTNG_ABILITY(1U)
48589 #define S_PRBS31_PTTRN_TSTNG_ABILITY 2
48590 #define V_PRBS31_PTTRN_TSTNG_ABILITY(x) ((x) << S_PRBS31_PTTRN_TSTNG_ABILITY)
48591 #define F_PRBS31_PTTRN_TSTNG_ABILITY V_PRBS31_PTTRN_TSTNG_ABILITY(1U)
48593 #define S_10GBASE_R_PCS_HIGH_BER 1
48594 #define V_10GBASE_R_PCS_HIGH_BER(x) ((x) << S_10GBASE_R_PCS_HIGH_BER)
48595 #define F_10GBASE_R_PCS_HIGH_BER V_10GBASE_R_PCS_HIGH_BER(1U)
48597 #define S_10GBASE_R_PCS_BLOCK_LOCK 0
48598 #define V_10GBASE_R_PCS_BLOCK_LOCK(x) ((x) << S_10GBASE_R_PCS_BLOCK_LOCK)
48599 #define F_10GBASE_R_PCS_BLOCK_LOCK V_10GBASE_R_PCS_BLOCK_LOCK(1U)
48601 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_STATUS_2 0x1384
48603 #define S_LATCHED_BLOCK_LOCK 15
48604 #define V_LATCHED_BLOCK_LOCK(x) ((x) << S_LATCHED_BLOCK_LOCK)
48605 #define F_LATCHED_BLOCK_LOCK V_LATCHED_BLOCK_LOCK(1U)
48607 #define S_LATCHED_HIGH_BER 14
48608 #define V_LATCHED_HIGH_BER(x) ((x) << S_LATCHED_HIGH_BER)
48609 #define F_LATCHED_HIGH_BER V_LATCHED_HIGH_BER(1U)
48611 #define S_BERBER_COUNTER 8
48612 #define M_BERBER_COUNTER 0x3fU
48613 #define V_BERBER_COUNTER(x) ((x) << S_BERBER_COUNTER)
48614 #define G_BERBER_COUNTER(x) (((x) >> S_BERBER_COUNTER) & M_BERBER_COUNTER)
48616 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_SEED_A_0 0x1388
48618 #define S_TEST_PATTERN_SEED_A0 0
48619 #define M_TEST_PATTERN_SEED_A0 0xffffU
48620 #define V_TEST_PATTERN_SEED_A0(x) ((x) << S_TEST_PATTERN_SEED_A0)
48621 #define G_TEST_PATTERN_SEED_A0(x) (((x) >> S_TEST_PATTERN_SEED_A0) & M_TEST_PATTERN_SEED_A0)
48623 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_SEED_A_1 0x138c
48625 #define S_TEST_PATTERN_SEED_A1 0
48626 #define M_TEST_PATTERN_SEED_A1 0xffffU
48627 #define V_TEST_PATTERN_SEED_A1(x) ((x) << S_TEST_PATTERN_SEED_A1)
48628 #define G_TEST_PATTERN_SEED_A1(x) (((x) >> S_TEST_PATTERN_SEED_A1) & M_TEST_PATTERN_SEED_A1)
48630 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_SEED_A_2 0x1390
48632 #define S_TEST_PATTERN_SEED_A2 0
48633 #define M_TEST_PATTERN_SEED_A2 0xffffU
48634 #define V_TEST_PATTERN_SEED_A2(x) ((x) << S_TEST_PATTERN_SEED_A2)
48635 #define G_TEST_PATTERN_SEED_A2(x) (((x) >> S_TEST_PATTERN_SEED_A2) & M_TEST_PATTERN_SEED_A2)
48637 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_SEED_A_3 0x1394
48639 #define S_TEST_PATTERN_SEED_A3 0
48640 #define M_TEST_PATTERN_SEED_A3 0x3ffU
48641 #define V_TEST_PATTERN_SEED_A3(x) ((x) << S_TEST_PATTERN_SEED_A3)
48642 #define G_TEST_PATTERN_SEED_A3(x) (((x) >> S_TEST_PATTERN_SEED_A3) & M_TEST_PATTERN_SEED_A3)
48644 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_SEED_B_0 0x1398
48646 #define S_TEST_PATTERN_SEED_B0 0
48647 #define M_TEST_PATTERN_SEED_B0 0xffffU
48648 #define V_TEST_PATTERN_SEED_B0(x) ((x) << S_TEST_PATTERN_SEED_B0)
48649 #define G_TEST_PATTERN_SEED_B0(x) (((x) >> S_TEST_PATTERN_SEED_B0) & M_TEST_PATTERN_SEED_B0)
48651 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_SEED_B_1 0x139c
48653 #define S_TEST_PATTERN_SEED_B1 0
48654 #define M_TEST_PATTERN_SEED_B1 0xffffU
48655 #define V_TEST_PATTERN_SEED_B1(x) ((x) << S_TEST_PATTERN_SEED_B1)
48656 #define G_TEST_PATTERN_SEED_B1(x) (((x) >> S_TEST_PATTERN_SEED_B1) & M_TEST_PATTERN_SEED_B1)
48658 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_SEED_B_2 0x13a0
48660 #define S_TEST_PATTERN_SEED_B2 0
48661 #define M_TEST_PATTERN_SEED_B2 0xffffU
48662 #define V_TEST_PATTERN_SEED_B2(x) ((x) << S_TEST_PATTERN_SEED_B2)
48663 #define G_TEST_PATTERN_SEED_B2(x) (((x) >> S_TEST_PATTERN_SEED_B2) & M_TEST_PATTERN_SEED_B2)
48665 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_SEED_B_3 0x13a4
48667 #define S_TEST_PATTERN_SEED_B3 0
48668 #define M_TEST_PATTERN_SEED_B3 0x3ffU
48669 #define V_TEST_PATTERN_SEED_B3(x) ((x) << S_TEST_PATTERN_SEED_B3)
48670 #define G_TEST_PATTERN_SEED_B3(x) (((x) >> S_TEST_PATTERN_SEED_B3) & M_TEST_PATTERN_SEED_B3)
48672 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_CONTROL 0x13a8
48674 #define S_PRBS9_TX_TST_PTTRN_EN 6
48675 #define V_PRBS9_TX_TST_PTTRN_EN(x) ((x) << S_PRBS9_TX_TST_PTTRN_EN)
48676 #define F_PRBS9_TX_TST_PTTRN_EN V_PRBS9_TX_TST_PTTRN_EN(1U)
48678 #define S_PRBS31_RX_TST_PTTRN_EN 5
48679 #define V_PRBS31_RX_TST_PTTRN_EN(x) ((x) << S_PRBS31_RX_TST_PTTRN_EN)
48680 #define F_PRBS31_RX_TST_PTTRN_EN V_PRBS31_RX_TST_PTTRN_EN(1U)
48682 #define S_PRBS31_TX_TST_PTTRN_EN 4
48683 #define V_PRBS31_TX_TST_PTTRN_EN(x) ((x) << S_PRBS31_TX_TST_PTTRN_EN)
48684 #define F_PRBS31_TX_TST_PTTRN_EN V_PRBS31_TX_TST_PTTRN_EN(1U)
48686 #define S_TX_TEST_PATTERN_EN 3
48687 #define V_TX_TEST_PATTERN_EN(x) ((x) << S_TX_TEST_PATTERN_EN)
48688 #define F_TX_TEST_PATTERN_EN V_TX_TEST_PATTERN_EN(1U)
48690 #define S_RX_TEST_PATTERN_EN 2
48691 #define V_RX_TEST_PATTERN_EN(x) ((x) << S_RX_TEST_PATTERN_EN)
48692 #define F_RX_TEST_PATTERN_EN V_RX_TEST_PATTERN_EN(1U)
48694 #define S_TEST_PATTERN_SELECT 1
48695 #define V_TEST_PATTERN_SELECT(x) ((x) << S_TEST_PATTERN_SELECT)
48696 #define F_TEST_PATTERN_SELECT V_TEST_PATTERN_SELECT(1U)
48698 #define S_DATA_PATTERN_SELECT 0
48699 #define V_DATA_PATTERN_SELECT(x) ((x) << S_DATA_PATTERN_SELECT)
48700 #define F_DATA_PATTERN_SELECT V_DATA_PATTERN_SELECT(1U)
48702 #define A_MAC_PORT_MTIP_KR_10GBASE_R_PCS_TEST_PATTERN_ERROR_COUNTER 0x13ac
48704 #define S_TEST_PATTERN_ERR_CNTR 0
48705 #define M_TEST_PATTERN_ERR_CNTR 0xffffU
48706 #define V_TEST_PATTERN_ERR_CNTR(x) ((x) << S_TEST_PATTERN_ERR_CNTR)
48707 #define G_TEST_PATTERN_ERR_CNTR(x) (((x) >> S_TEST_PATTERN_ERR_CNTR) & M_TEST_PATTERN_ERR_CNTR)
48709 #define A_MAC_PORT_MTIP_KR_VENDOR_SPECIFIC_PCS_STATUS 0x13b4
48711 #define S_TRANSMIT_FIFO_FAULT 1
48712 #define V_TRANSMIT_FIFO_FAULT(x) ((x) << S_TRANSMIT_FIFO_FAULT)
48713 #define F_TRANSMIT_FIFO_FAULT V_TRANSMIT_FIFO_FAULT(1U)
48715 #define S_RECEIVE_FIFO_FAULT 0
48716 #define V_RECEIVE_FIFO_FAULT(x) ((x) << S_RECEIVE_FIFO_FAULT)
48717 #define F_RECEIVE_FIFO_FAULT V_RECEIVE_FIFO_FAULT(1U)
48719 #define A_MAC_PORT_MTIP_KR4_CONTROL_1 0x1400
48721 #define S_SPEED_SELECTION 13
48722 #define V_SPEED_SELECTION(x) ((x) << S_SPEED_SELECTION)
48723 #define F_SPEED_SELECTION V_SPEED_SELECTION(1U)
48725 #define S_SPEED_SELECTION1 6
48726 #define V_SPEED_SELECTION1(x) ((x) << S_SPEED_SELECTION1)
48727 #define F_SPEED_SELECTION1 V_SPEED_SELECTION1(1U)
48729 #define S_SPEED_SELECTION2 2
48730 #define M_SPEED_SELECTION2 0xfU
48731 #define V_SPEED_SELECTION2(x) ((x) << S_SPEED_SELECTION2)
48732 #define G_SPEED_SELECTION2(x) (((x) >> S_SPEED_SELECTION2) & M_SPEED_SELECTION2)
48734 #define A_MAC_PORT_MTIP_KR4_STATUS_1 0x1404
48736 #define S_RECEIVE_LINK_STAT 2
48737 #define V_RECEIVE_LINK_STAT(x) ((x) << S_RECEIVE_LINK_STAT)
48738 #define F_RECEIVE_LINK_STAT V_RECEIVE_LINK_STAT(1U)
48740 #define A_MAC_PORT_MTIP_KR4_DEVICE_ID0 0x1408
48741 #define A_MAC_PORT_MTIP_KR4_DEVICE_ID1 0x140c
48743 #define S_T6_DEVICE_ID1 16
48744 #define M_T6_DEVICE_ID1 0xffffU
48745 #define V_T6_DEVICE_ID1(x) ((x) << S_T6_DEVICE_ID1)
48746 #define G_T6_DEVICE_ID1(x) (((x) >> S_T6_DEVICE_ID1) & M_T6_DEVICE_ID1)
48748 #define A_MAC_PORT_MTIP_KR4_SPEED_ABILITY 0x1410
48750 #define S_100G_CAPABLE 3
48751 #define V_100G_CAPABLE(x) ((x) << S_100G_CAPABLE)
48752 #define F_100G_CAPABLE V_100G_CAPABLE(1U)
48754 #define S_40G_CAPABLE 2
48755 #define V_40G_CAPABLE(x) ((x) << S_40G_CAPABLE)
48756 #define F_40G_CAPABLE V_40G_CAPABLE(1U)
48758 #define S_10PASS_TS_2BASE_TL_CAPABLE 1
48759 #define V_10PASS_TS_2BASE_TL_CAPABLE(x) ((x) << S_10PASS_TS_2BASE_TL_CAPABLE)
48760 #define F_10PASS_TS_2BASE_TL_CAPABLE V_10PASS_TS_2BASE_TL_CAPABLE(1U)
48762 #define A_MAC_PORT_MTIP_KR4_DEVICES_IN_PKG1 0x1414
48764 #define S_CLAUSE_22_REG 0
48765 #define V_CLAUSE_22_REG(x) ((x) << S_CLAUSE_22_REG)
48766 #define F_CLAUSE_22_REG V_CLAUSE_22_REG(1U)
48768 #define A_MAC_PORT_MTIP_KR4_DEVICES_IN_PKG2 0x1418
48770 #define S_VENDOR_SPECIFIC_DEVICE 15
48771 #define V_VENDOR_SPECIFIC_DEVICE(x) ((x) << S_VENDOR_SPECIFIC_DEVICE)
48772 #define F_VENDOR_SPECIFIC_DEVICE V_VENDOR_SPECIFIC_DEVICE(1U)
48774 #define S_VENDOR_SPECIFIC_DEVICE1 14
48775 #define V_VENDOR_SPECIFIC_DEVICE1(x) ((x) << S_VENDOR_SPECIFIC_DEVICE1)
48776 #define F_VENDOR_SPECIFIC_DEVICE1 V_VENDOR_SPECIFIC_DEVICE1(1U)
48778 #define S_CLAUSE_22_EXT 13
48779 #define V_CLAUSE_22_EXT(x) ((x) << S_CLAUSE_22_EXT)
48780 #define F_CLAUSE_22_EXT V_CLAUSE_22_EXT(1U)
48782 #define A_MAC_PORT_MTIP_KR4_CONTROL_2 0x141c
48784 #define S_PCS_TYPE_SEL 0
48785 #define M_PCS_TYPE_SEL 0x7U
48786 #define V_PCS_TYPE_SEL(x) ((x) << S_PCS_TYPE_SEL)
48787 #define G_PCS_TYPE_SEL(x) (((x) >> S_PCS_TYPE_SEL) & M_PCS_TYPE_SEL)
48789 #define A_MAC_PORT_MTIP_KR4_STATUS_2 0x1420
48791 #define S_100GBASE_R_CAPABLE 5
48792 #define V_100GBASE_R_CAPABLE(x) ((x) << S_100GBASE_R_CAPABLE)
48793 #define F_100GBASE_R_CAPABLE V_100GBASE_R_CAPABLE(1U)
48795 #define S_40GBASE_R_CAPABLE 4
48796 #define V_40GBASE_R_CAPABLE(x) ((x) << S_40GBASE_R_CAPABLE)
48797 #define F_40GBASE_R_CAPABLE V_40GBASE_R_CAPABLE(1U)
48799 #define S_10GBASE_T_CAPABLE 3
48800 #define V_10GBASE_T_CAPABLE(x) ((x) << S_10GBASE_T_CAPABLE)
48801 #define F_10GBASE_T_CAPABLE V_10GBASE_T_CAPABLE(1U)
48803 #define A_MAC_PORT_MTIP_KR4_PKG_ID0 0x1438
48804 #define A_MAC_PORT_MTIP_KR4_PKG_ID1 0x143c
48805 #define A_MAC_PORT_MTIP_KR4_BASE_R_STATUS_1 0x1480
48807 #define S_T6_RX_LINK_STATUS 12
48808 #define V_T6_RX_LINK_STATUS(x) ((x) << S_T6_RX_LINK_STATUS)
48809 #define F_T6_RX_LINK_STATUS V_T6_RX_LINK_STATUS(1U)
48811 #define S_HIGH_BER 1
48812 #define V_HIGH_BER(x) ((x) << S_HIGH_BER)
48813 #define F_HIGH_BER V_HIGH_BER(1U)
48815 #define S_KR4_BLOCK_LOCK 0
48816 #define V_KR4_BLOCK_LOCK(x) ((x) << S_KR4_BLOCK_LOCK)
48817 #define F_KR4_BLOCK_LOCK V_KR4_BLOCK_LOCK(1U)
48819 #define A_MAC_PORT_MTIP_KR4_BASE_R_STATUS_2 0x1484
48821 #define S_LATCHED_BL_LK 15
48822 #define V_LATCHED_BL_LK(x) ((x) << S_LATCHED_BL_LK)
48823 #define F_LATCHED_BL_LK V_LATCHED_BL_LK(1U)
48825 #define S_LATCHED_HG_BR 14
48826 #define V_LATCHED_HG_BR(x) ((x) << S_LATCHED_HG_BR)
48827 #define F_LATCHED_HG_BR V_LATCHED_HG_BR(1U)
48829 #define S_BER_CNT 8
48830 #define M_BER_CNT 0x3fU
48831 #define V_BER_CNT(x) ((x) << S_BER_CNT)
48832 #define G_BER_CNT(x) (((x) >> S_BER_CNT) & M_BER_CNT)
48834 #define S_ERR_BL_CNT 0
48835 #define M_ERR_BL_CNT 0xffU
48836 #define V_ERR_BL_CNT(x) ((x) << S_ERR_BL_CNT)
48837 #define G_ERR_BL_CNT(x) (((x) >> S_ERR_BL_CNT) & M_ERR_BL_CNT)
48839 #define A_MAC_PORT_MTIP_KR4_BASE_R_TEST_CONTROL 0x14a8
48841 #define S_TX_TP_EN 3
48842 #define V_TX_TP_EN(x) ((x) << S_TX_TP_EN)
48843 #define F_TX_TP_EN V_TX_TP_EN(1U)
48845 #define S_RX_TP_EN 2
48846 #define V_RX_TP_EN(x) ((x) << S_RX_TP_EN)
48847 #define F_RX_TP_EN V_RX_TP_EN(1U)
48849 #define A_MAC_PORT_MTIP_KR4_BASE_R_TEST_ERR_CNT 0x14ac
48851 #define S_TP_ERR_CNTR 0
48852 #define M_TP_ERR_CNTR 0xffffU
48853 #define V_TP_ERR_CNTR(x) ((x) << S_TP_ERR_CNTR)
48854 #define G_TP_ERR_CNTR(x) (((x) >> S_TP_ERR_CNTR) & M_TP_ERR_CNTR)
48856 #define A_MAC_PORT_MTIP_KR4_BER_HIGH_ORDER_CNT 0x14b0
48858 #define S_BER_HI_ORDER_CNT 0
48859 #define M_BER_HI_ORDER_CNT 0xffffU
48860 #define V_BER_HI_ORDER_CNT(x) ((x) << S_BER_HI_ORDER_CNT)
48861 #define G_BER_HI_ORDER_CNT(x) (((x) >> S_BER_HI_ORDER_CNT) & M_BER_HI_ORDER_CNT)
48863 #define A_MAC_PORT_MTIP_KR4_ERR_BLK_HIGH_ORDER_CNT 0x14b4
48865 #define S_HI_ORDER_CNT_EN 15
48866 #define V_HI_ORDER_CNT_EN(x) ((x) << S_HI_ORDER_CNT_EN)
48867 #define F_HI_ORDER_CNT_EN V_HI_ORDER_CNT_EN(1U)
48869 #define S_ERR_BLK_CNTR 0
48870 #define M_ERR_BLK_CNTR 0x3fffU
48871 #define V_ERR_BLK_CNTR(x) ((x) << S_ERR_BLK_CNTR)
48872 #define G_ERR_BLK_CNTR(x) (((x) >> S_ERR_BLK_CNTR) & M_ERR_BLK_CNTR)
48874 #define A_MAC_PORT_MTIP_KR4_MULTI_LANE_ALIGN_STATUS_1 0x14c8
48876 #define S_LANE_ALIGN_STATUS 12
48877 #define V_LANE_ALIGN_STATUS(x) ((x) << S_LANE_ALIGN_STATUS)
48878 #define F_LANE_ALIGN_STATUS V_LANE_ALIGN_STATUS(1U)
48880 #define S_LANE_3_BLK_LCK 3
48881 #define V_LANE_3_BLK_LCK(x) ((x) << S_LANE_3_BLK_LCK)
48882 #define F_LANE_3_BLK_LCK V_LANE_3_BLK_LCK(1U)
48884 #define S_LANE_2_BLK_LC32_6431K 2
48885 #define V_LANE_2_BLK_LC32_6431K(x) ((x) << S_LANE_2_BLK_LC32_6431K)
48886 #define F_LANE_2_BLK_LC32_6431K V_LANE_2_BLK_LC32_6431K(1U)
48888 #define S_LANE_1_BLK_LCK 1
48889 #define V_LANE_1_BLK_LCK(x) ((x) << S_LANE_1_BLK_LCK)
48890 #define F_LANE_1_BLK_LCK V_LANE_1_BLK_LCK(1U)
48892 #define S_LANE_0_BLK_LCK 0
48893 #define V_LANE_0_BLK_LCK(x) ((x) << S_LANE_0_BLK_LCK)
48894 #define F_LANE_0_BLK_LCK V_LANE_0_BLK_LCK(1U)
48896 #define A_MAC_PORT_MTIP_KR4_MULTI_LANE_ALIGN_STATUS_2 0x14cc
48897 #define A_MAC_PORT_MTIP_KR4_MULTI_LANE_ALIGN_STATUS_3 0x14d0
48899 #define S_LANE_3_ALIGN_MRKR_LCK 3
48900 #define V_LANE_3_ALIGN_MRKR_LCK(x) ((x) << S_LANE_3_ALIGN_MRKR_LCK)
48901 #define F_LANE_3_ALIGN_MRKR_LCK V_LANE_3_ALIGN_MRKR_LCK(1U)
48903 #define S_LANE_2_ALIGN_MRKR_LCK 2
48904 #define V_LANE_2_ALIGN_MRKR_LCK(x) ((x) << S_LANE_2_ALIGN_MRKR_LCK)
48905 #define F_LANE_2_ALIGN_MRKR_LCK V_LANE_2_ALIGN_MRKR_LCK(1U)
48907 #define S_LANE_1_ALIGN_MRKR_LCK 1
48908 #define V_LANE_1_ALIGN_MRKR_LCK(x) ((x) << S_LANE_1_ALIGN_MRKR_LCK)
48909 #define F_LANE_1_ALIGN_MRKR_LCK V_LANE_1_ALIGN_MRKR_LCK(1U)
48911 #define S_LANE_0_ALIGN_MRKR_LCK 0
48912 #define V_LANE_0_ALIGN_MRKR_LCK(x) ((x) << S_LANE_0_ALIGN_MRKR_LCK)
48913 #define F_LANE_0_ALIGN_MRKR_LCK V_LANE_0_ALIGN_MRKR_LCK(1U)
48915 #define A_MAC_PORT_MTIP_KR4_MULTI_LANE_ALIGN_STATUS_4 0x14d4
48916 #define A_MAC_PORT_MTIP_MDIO_CFG_STATUS 0x1600
48918 #define S_CLK_DIV 7
48919 #define M_CLK_DIV 0x1ffU
48920 #define V_CLK_DIV(x) ((x) << S_CLK_DIV)
48921 #define G_CLK_DIV(x) (((x) >> S_CLK_DIV) & M_CLK_DIV)
48923 #define S_CL45_EN 6
48924 #define V_CL45_EN(x) ((x) << S_CL45_EN)
48925 #define F_CL45_EN V_CL45_EN(1U)
48927 #define S_DISABLE_PREAMBLE 5
48928 #define V_DISABLE_PREAMBLE(x) ((x) << S_DISABLE_PREAMBLE)
48929 #define F_DISABLE_PREAMBLE V_DISABLE_PREAMBLE(1U)
48931 #define S_MDIO_HOLD_TIME 2
48932 #define M_MDIO_HOLD_TIME 0x7U
48933 #define V_MDIO_HOLD_TIME(x) ((x) << S_MDIO_HOLD_TIME)
48934 #define G_MDIO_HOLD_TIME(x) (((x) >> S_MDIO_HOLD_TIME) & M_MDIO_HOLD_TIME)
48936 #define S_MDIO_READ_ERR 1
48937 #define V_MDIO_READ_ERR(x) ((x) << S_MDIO_READ_ERR)
48938 #define F_MDIO_READ_ERR V_MDIO_READ_ERR(1U)
48940 #define S_MDIO_BUSY 0
48941 #define V_MDIO_BUSY(x) ((x) << S_MDIO_BUSY)
48942 #define F_MDIO_BUSY V_MDIO_BUSY(1U)
48944 #define A_MAC_PORT_MTIP_MDIO_COMMAND 0x1604
48946 #define S_MDIO_CMD_READ 15
48947 #define V_MDIO_CMD_READ(x) ((x) << S_MDIO_CMD_READ)
48948 #define F_MDIO_CMD_READ V_MDIO_CMD_READ(1U)
48950 #define S_READ_INCR 14
48951 #define V_READ_INCR(x) ((x) << S_READ_INCR)
48952 #define F_READ_INCR V_READ_INCR(1U)
48954 #define S_PORT_ADDR 5
48955 #define M_PORT_ADDR 0x1fU
48956 #define V_PORT_ADDR(x) ((x) << S_PORT_ADDR)
48957 #define G_PORT_ADDR(x) (((x) >> S_PORT_ADDR) & M_PORT_ADDR)
48959 #define S_DEV_ADDR 0
48960 #define M_DEV_ADDR 0x1fU
48961 #define V_DEV_ADDR(x) ((x) << S_DEV_ADDR)
48962 #define G_DEV_ADDR(x) (((x) >> S_DEV_ADDR) & M_DEV_ADDR)
48964 #define A_MAC_PORT_MTIP_MDIO_DATA 0x1608
48966 #define S_READBUSY 31
48967 #define V_READBUSY(x) ((x) << S_READBUSY)
48968 #define F_READBUSY V_READBUSY(1U)
48970 #define S_DATA_WORD 0
48971 #define M_DATA_WORD 0xffffU
48972 #define V_DATA_WORD(x) ((x) << S_DATA_WORD)
48973 #define G_DATA_WORD(x) (((x) >> S_DATA_WORD) & M_DATA_WORD)
48975 #define A_MAC_PORT_MTIP_MDIO_REGADDR 0x160c
48977 #define S_MDIO_ADDR 0
48978 #define M_MDIO_ADDR 0xffffU
48979 #define V_MDIO_ADDR(x) ((x) << S_MDIO_ADDR)
48980 #define G_MDIO_ADDR(x) (((x) >> S_MDIO_ADDR) & M_MDIO_ADDR)
48982 #define A_MAC_PORT_MTIP_KR4_BIP_ERR_CNT_LANE_0 0x1720
48984 #define S_BIP_ERR_CNT_LANE_0 0
48985 #define M_BIP_ERR_CNT_LANE_0 0xffffU
48986 #define V_BIP_ERR_CNT_LANE_0(x) ((x) << S_BIP_ERR_CNT_LANE_0)
48987 #define G_BIP_ERR_CNT_LANE_0(x) (((x) >> S_BIP_ERR_CNT_LANE_0) & M_BIP_ERR_CNT_LANE_0)
48989 #define A_MAC_PORT_MTIP_KR4_BIP_ERR_CNT_LANE_1 0x1724
48991 #define S_BIP_ERR_CNT_LANE_1 0
48992 #define M_BIP_ERR_CNT_LANE_1 0xffffU
48993 #define V_BIP_ERR_CNT_LANE_1(x) ((x) << S_BIP_ERR_CNT_LANE_1)
48994 #define G_BIP_ERR_CNT_LANE_1(x) (((x) >> S_BIP_ERR_CNT_LANE_1) & M_BIP_ERR_CNT_LANE_1)
48996 #define A_MAC_PORT_MTIP_KR4_BIP_ERR_CNT_LANE_2 0x1728
48998 #define S_BIP_ERR_CNT_LANE_2 0
48999 #define M_BIP_ERR_CNT_LANE_2 0xffffU
49000 #define V_BIP_ERR_CNT_LANE_2(x) ((x) << S_BIP_ERR_CNT_LANE_2)
49001 #define G_BIP_ERR_CNT_LANE_2(x) (((x) >> S_BIP_ERR_CNT_LANE_2) & M_BIP_ERR_CNT_LANE_2)
49003 #define A_MAC_PORT_MTIP_KR4_BIP_ERR_CNT_LANE_3 0x172c
49005 #define S_BIP_ERR_CNT_LANE_3 0
49006 #define M_BIP_ERR_CNT_LANE_3 0xffffU
49007 #define V_BIP_ERR_CNT_LANE_3(x) ((x) << S_BIP_ERR_CNT_LANE_3)
49008 #define G_BIP_ERR_CNT_LANE_3(x) (((x) >> S_BIP_ERR_CNT_LANE_3) & M_BIP_ERR_CNT_LANE_3)
49010 #define A_MAC_PORT_MTIP_VLAN_TPID_0 0x1a00
49012 #define S_VLANTAG 0
49013 #define CXGBE_M_VLANTAG 0xffffU
49014 #define V_VLANTAG(x) ((x) << S_VLANTAG)
49015 #define G_VLANTAG(x) (((x) >> S_VLANTAG) & CXGBE_M_VLANTAG)
49017 #define A_MAC_PORT_MTIP_VLAN_TPID_1 0x1a04
49018 #define A_MAC_PORT_MTIP_VLAN_TPID_2 0x1a08
49019 #define A_MAC_PORT_MTIP_VLAN_TPID_3 0x1a0c
49020 #define A_MAC_PORT_MTIP_VLAN_TPID_4 0x1a10
49021 #define A_MAC_PORT_MTIP_VLAN_TPID_5 0x1a14
49022 #define A_MAC_PORT_MTIP_VLAN_TPID_6 0x1a18
49023 #define A_MAC_PORT_MTIP_VLAN_TPID_7 0x1a1c
49024 #define A_MAC_PORT_MTIP_KR4_LANE_0_MAPPING 0x1a40
49026 #define S_KR4_LANE_0_MAPPING 0
49027 #define M_KR4_LANE_0_MAPPING 0x3U
49028 #define V_KR4_LANE_0_MAPPING(x) ((x) << S_KR4_LANE_0_MAPPING)
49029 #define G_KR4_LANE_0_MAPPING(x) (((x) >> S_KR4_LANE_0_MAPPING) & M_KR4_LANE_0_MAPPING)
49031 #define A_MAC_PORT_MTIP_KR4_LANE_1_MAPPING 0x1a44
49033 #define S_KR4_LANE_1_MAPPING 0
49034 #define M_KR4_LANE_1_MAPPING 0x3U
49035 #define V_KR4_LANE_1_MAPPING(x) ((x) << S_KR4_LANE_1_MAPPING)
49036 #define G_KR4_LANE_1_MAPPING(x) (((x) >> S_KR4_LANE_1_MAPPING) & M_KR4_LANE_1_MAPPING)
49038 #define A_MAC_PORT_MTIP_KR4_LANE_2_MAPPING 0x1a48
49040 #define S_KR4_LANE_2_MAPPING 0
49041 #define M_KR4_LANE_2_MAPPING 0x3U
49042 #define V_KR4_LANE_2_MAPPING(x) ((x) << S_KR4_LANE_2_MAPPING)
49043 #define G_KR4_LANE_2_MAPPING(x) (((x) >> S_KR4_LANE_2_MAPPING) & M_KR4_LANE_2_MAPPING)
49045 #define A_MAC_PORT_MTIP_KR4_LANE_3_MAPPING 0x1a4c
49047 #define S_KR4_LANE_3_MAPPING 0
49048 #define M_KR4_LANE_3_MAPPING 0x3U
49049 #define V_KR4_LANE_3_MAPPING(x) ((x) << S_KR4_LANE_3_MAPPING)
49050 #define G_KR4_LANE_3_MAPPING(x) (((x) >> S_KR4_LANE_3_MAPPING) & M_KR4_LANE_3_MAPPING)
49052 #define A_MAC_PORT_MTIP_KR4_SCRATCH 0x1af0
49053 #define A_MAC_PORT_MTIP_KR4_CORE_REVISION 0x1af4
49054 #define A_MAC_PORT_MTIP_KR4_VL_INTVL 0x1af8
49056 #define S_SHRT_MRKR_CNFG 0
49057 #define V_SHRT_MRKR_CNFG(x) ((x) << S_SHRT_MRKR_CNFG)
49058 #define F_SHRT_MRKR_CNFG V_SHRT_MRKR_CNFG(1U)
49060 #define A_MAC_PORT_MTIP_KR4_TX_LANE_THRESH 0x1afc
49061 #define A_MAC_PORT_MTIP_CR4_CONTROL_1 0x1b00
49062 #define A_MAC_PORT_MTIP_CR4_STATUS_1 0x1b04
49064 #define S_CR4_RX_LINK_STATUS 2
49065 #define V_CR4_RX_LINK_STATUS(x) ((x) << S_CR4_RX_LINK_STATUS)
49066 #define F_CR4_RX_LINK_STATUS V_CR4_RX_LINK_STATUS(1U)
49068 #define A_MAC_PORT_MTIP_CR4_DEVICE_ID0 0x1b08
49070 #define S_CR4_DEVICE_ID0 0
49071 #define M_CR4_DEVICE_ID0 0xffffU
49072 #define V_CR4_DEVICE_ID0(x) ((x) << S_CR4_DEVICE_ID0)
49073 #define G_CR4_DEVICE_ID0(x) (((x) >> S_CR4_DEVICE_ID0) & M_CR4_DEVICE_ID0)
49075 #define A_MAC_PORT_MTIP_CR4_DEVICE_ID1 0x1b0c
49077 #define S_CR4_DEVICE_ID1 0
49078 #define M_CR4_DEVICE_ID1 0xffffU
49079 #define V_CR4_DEVICE_ID1(x) ((x) << S_CR4_DEVICE_ID1)
49080 #define G_CR4_DEVICE_ID1(x) (((x) >> S_CR4_DEVICE_ID1) & M_CR4_DEVICE_ID1)
49082 #define A_MAC_PORT_MTIP_CR4_SPEED_ABILITY 0x1b10
49084 #define S_CR4_100G_CAPABLE 8
49085 #define V_CR4_100G_CAPABLE(x) ((x) << S_CR4_100G_CAPABLE)
49086 #define F_CR4_100G_CAPABLE V_CR4_100G_CAPABLE(1U)
49088 #define S_CR4_40G_CAPABLE 7
49089 #define V_CR4_40G_CAPABLE(x) ((x) << S_CR4_40G_CAPABLE)
49090 #define F_CR4_40G_CAPABLE V_CR4_40G_CAPABLE(1U)
49092 #define A_MAC_PORT_MTIP_CR4_DEVICES_IN_PKG1 0x1b14
49094 #define S_CLAUSE22REG_PRESENT 0
49095 #define V_CLAUSE22REG_PRESENT(x) ((x) << S_CLAUSE22REG_PRESENT)
49096 #define F_CLAUSE22REG_PRESENT V_CLAUSE22REG_PRESENT(1U)
49098 #define A_MAC_PORT_MTIP_CR4_DEVICES_IN_PKG2 0x1b18
49100 #define S_VSD_2_PRESENT 15
49101 #define V_VSD_2_PRESENT(x) ((x) << S_VSD_2_PRESENT)
49102 #define F_VSD_2_PRESENT V_VSD_2_PRESENT(1U)
49104 #define S_VSD_1_PRESENT 14
49105 #define V_VSD_1_PRESENT(x) ((x) << S_VSD_1_PRESENT)
49106 #define F_VSD_1_PRESENT V_VSD_1_PRESENT(1U)
49108 #define S_CLAUSE22_EXT_PRESENT 13
49109 #define V_CLAUSE22_EXT_PRESENT(x) ((x) << S_CLAUSE22_EXT_PRESENT)
49110 #define F_CLAUSE22_EXT_PRESENT V_CLAUSE22_EXT_PRESENT(1U)
49112 #define A_MAC_PORT_MTIP_CR4_CONTROL_2 0x1b1c
49114 #define S_CR4_PCS_TYPE_SELECTION 0
49115 #define M_CR4_PCS_TYPE_SELECTION 0x7U
49116 #define V_CR4_PCS_TYPE_SELECTION(x) ((x) << S_CR4_PCS_TYPE_SELECTION)
49117 #define G_CR4_PCS_TYPE_SELECTION(x) (((x) >> S_CR4_PCS_TYPE_SELECTION) & M_CR4_PCS_TYPE_SELECTION)
49119 #define A_MAC_PORT_MTIP_CR4_STATUS_2 0x1b20
49120 #define A_MAC_PORT_MTIP_CR4_PKG_ID0 0x1b38
49121 #define A_MAC_PORT_MTIP_CR4_PKG_ID1 0x1b3c
49122 #define A_MAC_PORT_MTIP_CR4_BASE_R_STATUS_1 0x1b80
49124 #define S_RX_LINK_STAT 12
49125 #define V_RX_LINK_STAT(x) ((x) << S_RX_LINK_STAT)
49126 #define F_RX_LINK_STAT V_RX_LINK_STAT(1U)
49128 #define S_BR_BLOCK_LOCK 0
49129 #define V_BR_BLOCK_LOCK(x) ((x) << S_BR_BLOCK_LOCK)
49130 #define F_BR_BLOCK_LOCK V_BR_BLOCK_LOCK(1U)
49132 #define A_MAC_PORT_MTIP_CR4_BASE_R_STATUS_2 0x1b84
49134 #define S_BER_COUNTER 8
49135 #define M_BER_COUNTER 0x3fU
49136 #define V_BER_COUNTER(x) ((x) << S_BER_COUNTER)
49137 #define G_BER_COUNTER(x) (((x) >> S_BER_COUNTER) & M_BER_COUNTER)
49139 #define S_ERRORED_BLOCKS_CNTR 0
49140 #define M_ERRORED_BLOCKS_CNTR 0xffU
49141 #define V_ERRORED_BLOCKS_CNTR(x) ((x) << S_ERRORED_BLOCKS_CNTR)
49142 #define G_ERRORED_BLOCKS_CNTR(x) (((x) >> S_ERRORED_BLOCKS_CNTR) & M_ERRORED_BLOCKS_CNTR)
49144 #define A_MAC_PORT_MTIP_CR4_BASE_R_TEST_CONTROL 0x1ba8
49146 #define S_SCRAMBLED_ID_TP_EN 7
49147 #define V_SCRAMBLED_ID_TP_EN(x) ((x) << S_SCRAMBLED_ID_TP_EN)
49148 #define F_SCRAMBLED_ID_TP_EN V_SCRAMBLED_ID_TP_EN(1U)
49150 #define A_MAC_PORT_MTIP_CR4_BASE_R_TEST_ERR_CNT 0x1bac
49152 #define S_BASE_R_TEST_ERR_CNT 0
49153 #define M_BASE_R_TEST_ERR_CNT 0xffffU
49154 #define V_BASE_R_TEST_ERR_CNT(x) ((x) << S_BASE_R_TEST_ERR_CNT)
49155 #define G_BASE_R_TEST_ERR_CNT(x) (((x) >> S_BASE_R_TEST_ERR_CNT) & M_BASE_R_TEST_ERR_CNT)
49157 #define A_MAC_PORT_MTIP_CR4_BER_HIGH_ORDER_CNT 0x1bb0
49159 #define S_BER_HIGH_ORDER_CNT 0
49160 #define M_BER_HIGH_ORDER_CNT 0xffffU
49161 #define V_BER_HIGH_ORDER_CNT(x) ((x) << S_BER_HIGH_ORDER_CNT)
49162 #define G_BER_HIGH_ORDER_CNT(x) (((x) >> S_BER_HIGH_ORDER_CNT) & M_BER_HIGH_ORDER_CNT)
49164 #define A_MAC_PORT_MTIP_CR4_ERR_BLK_HIGH_ORDER_CNT 0x1bb4
49166 #define S_HI_ORDER_CNT_PRESENT 15
49167 #define V_HI_ORDER_CNT_PRESENT(x) ((x) << S_HI_ORDER_CNT_PRESENT)
49168 #define F_HI_ORDER_CNT_PRESENT V_HI_ORDER_CNT_PRESENT(1U)
49170 #define S_ERR_BLKS_CNTR 0
49171 #define M_ERR_BLKS_CNTR 0x3fffU
49172 #define V_ERR_BLKS_CNTR(x) ((x) << S_ERR_BLKS_CNTR)
49173 #define G_ERR_BLKS_CNTR(x) (((x) >> S_ERR_BLKS_CNTR) & M_ERR_BLKS_CNTR)
49175 #define A_MAC_PORT_MTIP_CR4_MULTI_LANE_ALIGN_STATUS_1 0x1bc8
49177 #define S_LANE_ALIGN_STAT 12
49178 #define V_LANE_ALIGN_STAT(x) ((x) << S_LANE_ALIGN_STAT)
49179 #define F_LANE_ALIGN_STAT V_LANE_ALIGN_STAT(1U)
49181 #define S_LANE_7_BLCK_LCK 7
49182 #define V_LANE_7_BLCK_LCK(x) ((x) << S_LANE_7_BLCK_LCK)
49183 #define F_LANE_7_BLCK_LCK V_LANE_7_BLCK_LCK(1U)
49185 #define S_LANE_6_BLCK_LCK 6
49186 #define V_LANE_6_BLCK_LCK(x) ((x) << S_LANE_6_BLCK_LCK)
49187 #define F_LANE_6_BLCK_LCK V_LANE_6_BLCK_LCK(1U)
49189 #define S_LANE_5_BLCK_LCK 5
49190 #define V_LANE_5_BLCK_LCK(x) ((x) << S_LANE_5_BLCK_LCK)
49191 #define F_LANE_5_BLCK_LCK V_LANE_5_BLCK_LCK(1U)
49193 #define S_LANE_4_BLCK_LCK 4
49194 #define V_LANE_4_BLCK_LCK(x) ((x) << S_LANE_4_BLCK_LCK)
49195 #define F_LANE_4_BLCK_LCK V_LANE_4_BLCK_LCK(1U)
49197 #define S_LANE_3_BLCK_LCK 3
49198 #define V_LANE_3_BLCK_LCK(x) ((x) << S_LANE_3_BLCK_LCK)
49199 #define F_LANE_3_BLCK_LCK V_LANE_3_BLCK_LCK(1U)
49201 #define S_LANE_2_BLCK_LCK 2
49202 #define V_LANE_2_BLCK_LCK(x) ((x) << S_LANE_2_BLCK_LCK)
49203 #define F_LANE_2_BLCK_LCK V_LANE_2_BLCK_LCK(1U)
49205 #define S_LANE_1_BLCK_LCK 1
49206 #define V_LANE_1_BLCK_LCK(x) ((x) << S_LANE_1_BLCK_LCK)
49207 #define F_LANE_1_BLCK_LCK V_LANE_1_BLCK_LCK(1U)
49209 #define S_LANE_0_BLCK_LCK 0
49210 #define V_LANE_0_BLCK_LCK(x) ((x) << S_LANE_0_BLCK_LCK)
49211 #define F_LANE_0_BLCK_LCK V_LANE_0_BLCK_LCK(1U)
49213 #define A_MAC_PORT_MTIP_CR4_MULTI_LANE_ALIGN_STATUS_2 0x1bcc
49215 #define S_LANE_19_BLCK_LCK 11
49216 #define V_LANE_19_BLCK_LCK(x) ((x) << S_LANE_19_BLCK_LCK)
49217 #define F_LANE_19_BLCK_LCK V_LANE_19_BLCK_LCK(1U)
49219 #define S_LANE_18_BLCK_LCK 10
49220 #define V_LANE_18_BLCK_LCK(x) ((x) << S_LANE_18_BLCK_LCK)
49221 #define F_LANE_18_BLCK_LCK V_LANE_18_BLCK_LCK(1U)
49223 #define S_LANE_17_BLCK_LCK 9
49224 #define V_LANE_17_BLCK_LCK(x) ((x) << S_LANE_17_BLCK_LCK)
49225 #define F_LANE_17_BLCK_LCK V_LANE_17_BLCK_LCK(1U)
49227 #define S_LANE_16_BLCK_LCK 8
49228 #define V_LANE_16_BLCK_LCK(x) ((x) << S_LANE_16_BLCK_LCK)
49229 #define F_LANE_16_BLCK_LCK V_LANE_16_BLCK_LCK(1U)
49231 #define S_LANE_15_BLCK_LCK 7
49232 #define V_LANE_15_BLCK_LCK(x) ((x) << S_LANE_15_BLCK_LCK)
49233 #define F_LANE_15_BLCK_LCK V_LANE_15_BLCK_LCK(1U)
49235 #define S_LANE_14_BLCK_LCK 6
49236 #define V_LANE_14_BLCK_LCK(x) ((x) << S_LANE_14_BLCK_LCK)
49237 #define F_LANE_14_BLCK_LCK V_LANE_14_BLCK_LCK(1U)
49239 #define S_LANE_13_BLCK_LCK 5
49240 #define V_LANE_13_BLCK_LCK(x) ((x) << S_LANE_13_BLCK_LCK)
49241 #define F_LANE_13_BLCK_LCK V_LANE_13_BLCK_LCK(1U)
49243 #define S_LANE_12_BLCK_LCK 4
49244 #define V_LANE_12_BLCK_LCK(x) ((x) << S_LANE_12_BLCK_LCK)
49245 #define F_LANE_12_BLCK_LCK V_LANE_12_BLCK_LCK(1U)
49247 #define S_LANE_11_BLCK_LCK 3
49248 #define V_LANE_11_BLCK_LCK(x) ((x) << S_LANE_11_BLCK_LCK)
49249 #define F_LANE_11_BLCK_LCK V_LANE_11_BLCK_LCK(1U)
49251 #define S_LANE_10_BLCK_LCK 2
49252 #define V_LANE_10_BLCK_LCK(x) ((x) << S_LANE_10_BLCK_LCK)
49253 #define F_LANE_10_BLCK_LCK V_LANE_10_BLCK_LCK(1U)
49255 #define S_LANE_9_BLCK_LCK 1
49256 #define V_LANE_9_BLCK_LCK(x) ((x) << S_LANE_9_BLCK_LCK)
49257 #define F_LANE_9_BLCK_LCK V_LANE_9_BLCK_LCK(1U)
49259 #define S_LANE_8_BLCK_LCK 0
49260 #define V_LANE_8_BLCK_LCK(x) ((x) << S_LANE_8_BLCK_LCK)
49261 #define F_LANE_8_BLCK_LCK V_LANE_8_BLCK_LCK(1U)
49263 #define A_MAC_PORT_MTIP_CR4_MULTI_LANE_ALIGN_STATUS_3 0x1bd0
49265 #define S_LANE7_ALGN_MRKR_LCK 7
49266 #define V_LANE7_ALGN_MRKR_LCK(x) ((x) << S_LANE7_ALGN_MRKR_LCK)
49267 #define F_LANE7_ALGN_MRKR_LCK V_LANE7_ALGN_MRKR_LCK(1U)
49269 #define S_LANE6_ALGN_MRKR_LCK 6
49270 #define V_LANE6_ALGN_MRKR_LCK(x) ((x) << S_LANE6_ALGN_MRKR_LCK)
49271 #define F_LANE6_ALGN_MRKR_LCK V_LANE6_ALGN_MRKR_LCK(1U)
49273 #define S_LANE5_ALGN_MRKR_LCK 5
49274 #define V_LANE5_ALGN_MRKR_LCK(x) ((x) << S_LANE5_ALGN_MRKR_LCK)
49275 #define F_LANE5_ALGN_MRKR_LCK V_LANE5_ALGN_MRKR_LCK(1U)
49277 #define S_LANE4_ALGN_MRKR_LCK 4
49278 #define V_LANE4_ALGN_MRKR_LCK(x) ((x) << S_LANE4_ALGN_MRKR_LCK)
49279 #define F_LANE4_ALGN_MRKR_LCK V_LANE4_ALGN_MRKR_LCK(1U)
49281 #define S_LANE3_ALGN_MRKR_LCK 3
49282 #define V_LANE3_ALGN_MRKR_LCK(x) ((x) << S_LANE3_ALGN_MRKR_LCK)
49283 #define F_LANE3_ALGN_MRKR_LCK V_LANE3_ALGN_MRKR_LCK(1U)
49285 #define S_LANE2_ALGN_MRKR_LCK 2
49286 #define V_LANE2_ALGN_MRKR_LCK(x) ((x) << S_LANE2_ALGN_MRKR_LCK)
49287 #define F_LANE2_ALGN_MRKR_LCK V_LANE2_ALGN_MRKR_LCK(1U)
49289 #define S_LANE1_ALGN_MRKR_LCK 1
49290 #define V_LANE1_ALGN_MRKR_LCK(x) ((x) << S_LANE1_ALGN_MRKR_LCK)
49291 #define F_LANE1_ALGN_MRKR_LCK V_LANE1_ALGN_MRKR_LCK(1U)
49293 #define S_LANE0_ALGN_MRKR_LCK 0
49294 #define V_LANE0_ALGN_MRKR_LCK(x) ((x) << S_LANE0_ALGN_MRKR_LCK)
49295 #define F_LANE0_ALGN_MRKR_LCK V_LANE0_ALGN_MRKR_LCK(1U)
49297 #define A_MAC_PORT_MTIP_CR4_MULTI_LANE_ALIGN_STATUS_4 0x1bd4
49299 #define S_LANE19_ALGN_MRKR_LCK 11
49300 #define V_LANE19_ALGN_MRKR_LCK(x) ((x) << S_LANE19_ALGN_MRKR_LCK)
49301 #define F_LANE19_ALGN_MRKR_LCK V_LANE19_ALGN_MRKR_LCK(1U)
49303 #define S_LANE18_ALGN_MRKR_LCK 10
49304 #define V_LANE18_ALGN_MRKR_LCK(x) ((x) << S_LANE18_ALGN_MRKR_LCK)
49305 #define F_LANE18_ALGN_MRKR_LCK V_LANE18_ALGN_MRKR_LCK(1U)
49307 #define S_LANE17_ALGN_MRKR_LCK 9
49308 #define V_LANE17_ALGN_MRKR_LCK(x) ((x) << S_LANE17_ALGN_MRKR_LCK)
49309 #define F_LANE17_ALGN_MRKR_LCK V_LANE17_ALGN_MRKR_LCK(1U)
49311 #define S_LANE16_ALGN_MRKR_LCK 8
49312 #define V_LANE16_ALGN_MRKR_LCK(x) ((x) << S_LANE16_ALGN_MRKR_LCK)
49313 #define F_LANE16_ALGN_MRKR_LCK V_LANE16_ALGN_MRKR_LCK(1U)
49315 #define S_LANE15_ALGN_MRKR_LCK 7
49316 #define V_LANE15_ALGN_MRKR_LCK(x) ((x) << S_LANE15_ALGN_MRKR_LCK)
49317 #define F_LANE15_ALGN_MRKR_LCK V_LANE15_ALGN_MRKR_LCK(1U)
49319 #define S_LANE14_ALGN_MRKR_LCK 6
49320 #define V_LANE14_ALGN_MRKR_LCK(x) ((x) << S_LANE14_ALGN_MRKR_LCK)
49321 #define F_LANE14_ALGN_MRKR_LCK V_LANE14_ALGN_MRKR_LCK(1U)
49323 #define S_LANE13_ALGN_MRKR_LCK 5
49324 #define V_LANE13_ALGN_MRKR_LCK(x) ((x) << S_LANE13_ALGN_MRKR_LCK)
49325 #define F_LANE13_ALGN_MRKR_LCK V_LANE13_ALGN_MRKR_LCK(1U)
49327 #define S_LANE12_ALGN_MRKR_LCK 4
49328 #define V_LANE12_ALGN_MRKR_LCK(x) ((x) << S_LANE12_ALGN_MRKR_LCK)
49329 #define F_LANE12_ALGN_MRKR_LCK V_LANE12_ALGN_MRKR_LCK(1U)
49331 #define S_LANE11_ALGN_MRKR_LCK 3
49332 #define V_LANE11_ALGN_MRKR_LCK(x) ((x) << S_LANE11_ALGN_MRKR_LCK)
49333 #define F_LANE11_ALGN_MRKR_LCK V_LANE11_ALGN_MRKR_LCK(1U)
49335 #define S_LANE10_ALGN_MRKR_LCK 2
49336 #define V_LANE10_ALGN_MRKR_LCK(x) ((x) << S_LANE10_ALGN_MRKR_LCK)
49337 #define F_LANE10_ALGN_MRKR_LCK V_LANE10_ALGN_MRKR_LCK(1U)
49339 #define S_LANE9_ALGN_MRKR_LCK 1
49340 #define V_LANE9_ALGN_MRKR_LCK(x) ((x) << S_LANE9_ALGN_MRKR_LCK)
49341 #define F_LANE9_ALGN_MRKR_LCK V_LANE9_ALGN_MRKR_LCK(1U)
49343 #define S_LANE8_ALGN_MRKR_LCK 0
49344 #define V_LANE8_ALGN_MRKR_LCK(x) ((x) << S_LANE8_ALGN_MRKR_LCK)
49345 #define F_LANE8_ALGN_MRKR_LCK V_LANE8_ALGN_MRKR_LCK(1U)
49347 #define A_MAC_PORT_MTIP_PCS_CTL 0x1e00
49349 #define S_PCS_LPBK 14
49350 #define V_PCS_LPBK(x) ((x) << S_PCS_LPBK)
49351 #define F_PCS_LPBK V_PCS_LPBK(1U)
49353 #define S_SPEED_SEL1 13
49354 #define V_SPEED_SEL1(x) ((x) << S_SPEED_SEL1)
49355 #define F_SPEED_SEL1 V_SPEED_SEL1(1U)
49357 #define S_LP_MODE 11
49358 #define V_LP_MODE(x) ((x) << S_LP_MODE)
49359 #define F_LP_MODE V_LP_MODE(1U)
49361 #define S_SPEED_SEL0 6
49362 #define V_SPEED_SEL0(x) ((x) << S_SPEED_SEL0)
49363 #define F_SPEED_SEL0 V_SPEED_SEL0(1U)
49365 #define S_PCS_SPEED 2
49366 #define M_PCS_SPEED 0xfU
49367 #define V_PCS_SPEED(x) ((x) << S_PCS_SPEED)
49368 #define G_PCS_SPEED(x) (((x) >> S_PCS_SPEED) & M_PCS_SPEED)
49370 #define A_MAC_PORT_MTIP_PCS_STATUS1 0x1e04
49372 #define S_FAULTDET 7
49373 #define V_FAULTDET(x) ((x) << S_FAULTDET)
49374 #define F_FAULTDET V_FAULTDET(1U)
49376 #define S_RX_LINK_STATUS 2
49377 #define V_RX_LINK_STATUS(x) ((x) << S_RX_LINK_STATUS)
49378 #define F_RX_LINK_STATUS V_RX_LINK_STATUS(1U)
49380 #define S_LOPWRABL 1
49381 #define V_LOPWRABL(x) ((x) << S_LOPWRABL)
49382 #define F_LOPWRABL V_LOPWRABL(1U)
49384 #define A_MAC_PORT_MTIP_PCS_DEVICE_ID0 0x1e08
49386 #define S_DEVICE_ID0 0
49387 #define M_DEVICE_ID0 0xffffU
49388 #define V_DEVICE_ID0(x) ((x) << S_DEVICE_ID0)
49389 #define G_DEVICE_ID0(x) (((x) >> S_DEVICE_ID0) & M_DEVICE_ID0)
49391 #define A_MAC_PORT_MTIP_PCS_DEVICE_ID1 0x1e0c
49393 #define S_DEVICE_ID1 0
49394 #define M_DEVICE_ID1 0xffffU
49395 #define V_DEVICE_ID1(x) ((x) << S_DEVICE_ID1)
49396 #define G_DEVICE_ID1(x) (((x) >> S_DEVICE_ID1) & M_DEVICE_ID1)
49398 #define A_MAC_PORT_MTIP_PCS_SPEED_ABILITY 0x1e10
49401 #define V_100G(x) ((x) << S_100G)
49402 #define F_100G V_100G(1U)
49405 #define V_40G(x) ((x) << S_40G)
49406 #define F_40G V_40G(1U)
49408 #define S_10BASE_TL 1
49409 #define V_10BASE_TL(x) ((x) << S_10BASE_TL)
49410 #define F_10BASE_TL V_10BASE_TL(1U)
49413 #define V_10G(x) ((x) << S_10G)
49414 #define F_10G V_10G(1U)
49416 #define A_MAC_PORT_MTIP_PCS_DEVICE_PKG1 0x1e14
49418 #define S_TC_PRESENT 6
49419 #define V_TC_PRESENT(x) ((x) << S_TC_PRESENT)
49420 #define F_TC_PRESENT V_TC_PRESENT(1U)
49423 #define V_DTEXS(x) ((x) << S_DTEXS)
49424 #define F_DTEXS V_DTEXS(1U)
49427 #define V_PHYXS(x) ((x) << S_PHYXS)
49428 #define F_PHYXS V_PHYXS(1U)
49431 #define V_PCS(x) ((x) << S_PCS)
49432 #define F_PCS V_PCS(1U)
49435 #define V_WIS(x) ((x) << S_WIS)
49436 #define F_WIS V_WIS(1U)
49438 #define S_PMD_PMA 1
49439 #define V_PMD_PMA(x) ((x) << S_PMD_PMA)
49440 #define F_PMD_PMA V_PMD_PMA(1U)
49443 #define V_CL22(x) ((x) << S_CL22)
49444 #define F_CL22 V_CL22(1U)
49446 #define A_MAC_PORT_MTIP_PCS_DEVICE_PKG2 0x1e18
49448 #define S_VENDDEV2 15
49449 #define V_VENDDEV2(x) ((x) << S_VENDDEV2)
49450 #define F_VENDDEV2 V_VENDDEV2(1U)
49452 #define S_VENDDEV1 14
49453 #define V_VENDDEV1(x) ((x) << S_VENDDEV1)
49454 #define F_VENDDEV1 V_VENDDEV1(1U)
49456 #define S_CL22EXT 13
49457 #define V_CL22EXT(x) ((x) << S_CL22EXT)
49458 #define F_CL22EXT V_CL22EXT(1U)
49460 #define A_MAC_PORT_MTIP_PCS_CTL2 0x1e1c
49462 #define S_PCSTYPE 0
49463 #define M_PCSTYPE 0x7U
49464 #define V_PCSTYPE(x) ((x) << S_PCSTYPE)
49465 #define G_PCSTYPE(x) (((x) >> S_PCSTYPE) & M_PCSTYPE)
49467 #define A_MAC_PORT_MTIP_PCS_STATUS2 0x1e20
49469 #define S_PCS_STAT2_DEVICE 15
49470 #define V_PCS_STAT2_DEVICE(x) ((x) << S_PCS_STAT2_DEVICE)
49471 #define F_PCS_STAT2_DEVICE V_PCS_STAT2_DEVICE(1U)
49473 #define S_TXFAULT 7
49474 #define V_TXFAULT(x) ((x) << S_TXFAULT)
49475 #define F_TXFAULT V_TXFAULT(1U)
49477 #define S_RXFAULT 6
49478 #define V_RXFAULT(x) ((x) << S_RXFAULT)
49479 #define F_RXFAULT V_RXFAULT(1U)
49481 #define S_100BASE_R 5
49482 #define V_100BASE_R(x) ((x) << S_100BASE_R)
49483 #define F_100BASE_R V_100BASE_R(1U)
49485 #define S_40GBASE_R 4
49486 #define V_40GBASE_R(x) ((x) << S_40GBASE_R)
49487 #define F_40GBASE_R V_40GBASE_R(1U)
49489 #define S_10GBASE_T 3
49490 #define V_10GBASE_T(x) ((x) << S_10GBASE_T)
49491 #define F_10GBASE_T V_10GBASE_T(1U)
49493 #define S_10GBASE_W 2
49494 #define V_10GBASE_W(x) ((x) << S_10GBASE_W)
49495 #define F_10GBASE_W V_10GBASE_W(1U)
49497 #define S_10GBASE_X 1
49498 #define V_10GBASE_X(x) ((x) << S_10GBASE_X)
49499 #define F_10GBASE_X V_10GBASE_X(1U)
49501 #define S_10GBASE_R 0
49502 #define V_10GBASE_R(x) ((x) << S_10GBASE_R)
49503 #define F_10GBASE_R V_10GBASE_R(1U)
49505 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_0 0x1e20
49507 #define S_BIP_ERR_CNTLANE_0 0
49508 #define M_BIP_ERR_CNTLANE_0 0xffffU
49509 #define V_BIP_ERR_CNTLANE_0(x) ((x) << S_BIP_ERR_CNTLANE_0)
49510 #define G_BIP_ERR_CNTLANE_0(x) (((x) >> S_BIP_ERR_CNTLANE_0) & M_BIP_ERR_CNTLANE_0)
49512 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_1 0x1e24
49514 #define S_BIP_ERR_CNTLANE_1 0
49515 #define M_BIP_ERR_CNTLANE_1 0xffffU
49516 #define V_BIP_ERR_CNTLANE_1(x) ((x) << S_BIP_ERR_CNTLANE_1)
49517 #define G_BIP_ERR_CNTLANE_1(x) (((x) >> S_BIP_ERR_CNTLANE_1) & M_BIP_ERR_CNTLANE_1)
49519 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_2 0x1e28
49521 #define S_BIP_ERR_CNTLANE_2 0
49522 #define M_BIP_ERR_CNTLANE_2 0xffffU
49523 #define V_BIP_ERR_CNTLANE_2(x) ((x) << S_BIP_ERR_CNTLANE_2)
49524 #define G_BIP_ERR_CNTLANE_2(x) (((x) >> S_BIP_ERR_CNTLANE_2) & M_BIP_ERR_CNTLANE_2)
49526 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_3 0x1e2c
49528 #define S_BIP_ERR_CNTLANE_3 0
49529 #define M_BIP_ERR_CNTLANE_3 0xffffU
49530 #define V_BIP_ERR_CNTLANE_3(x) ((x) << S_BIP_ERR_CNTLANE_3)
49531 #define G_BIP_ERR_CNTLANE_3(x) (((x) >> S_BIP_ERR_CNTLANE_3) & M_BIP_ERR_CNTLANE_3)
49533 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_4 0x1e30
49535 #define S_BIP_ERR_CNTLANE_4 0
49536 #define M_BIP_ERR_CNTLANE_4 0xffffU
49537 #define V_BIP_ERR_CNTLANE_4(x) ((x) << S_BIP_ERR_CNTLANE_4)
49538 #define G_BIP_ERR_CNTLANE_4(x) (((x) >> S_BIP_ERR_CNTLANE_4) & M_BIP_ERR_CNTLANE_4)
49540 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_5 0x1e34
49542 #define S_BIP_ERR_CNTLANE_5 0
49543 #define M_BIP_ERR_CNTLANE_5 0xffffU
49544 #define V_BIP_ERR_CNTLANE_5(x) ((x) << S_BIP_ERR_CNTLANE_5)
49545 #define G_BIP_ERR_CNTLANE_5(x) (((x) >> S_BIP_ERR_CNTLANE_5) & M_BIP_ERR_CNTLANE_5)
49547 #define A_MAC_PORT_MTIP_PCS_PKG_ID0 0x1e38
49549 #define S_PKG_ID0 0
49550 #define M_PKG_ID0 0xffffU
49551 #define V_PKG_ID0(x) ((x) << S_PKG_ID0)
49552 #define G_PKG_ID0(x) (((x) >> S_PKG_ID0) & M_PKG_ID0)
49554 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_6 0x1e38
49556 #define S_BIP_ERR_CNTLANE_6 0
49557 #define M_BIP_ERR_CNTLANE_6 0xffffU
49558 #define V_BIP_ERR_CNTLANE_6(x) ((x) << S_BIP_ERR_CNTLANE_6)
49559 #define G_BIP_ERR_CNTLANE_6(x) (((x) >> S_BIP_ERR_CNTLANE_6) & M_BIP_ERR_CNTLANE_6)
49561 #define A_MAC_PORT_MTIP_PCS_PKG_ID1 0x1e3c
49563 #define S_PKG_ID1 0
49564 #define M_PKG_ID1 0xffffU
49565 #define V_PKG_ID1(x) ((x) << S_PKG_ID1)
49566 #define G_PKG_ID1(x) (((x) >> S_PKG_ID1) & M_PKG_ID1)
49568 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_7 0x1e3c
49570 #define S_BIP_ERR_CNTLANE_7 0
49571 #define M_BIP_ERR_CNTLANE_7 0xffffU
49572 #define V_BIP_ERR_CNTLANE_7(x) ((x) << S_BIP_ERR_CNTLANE_7)
49573 #define G_BIP_ERR_CNTLANE_7(x) (((x) >> S_BIP_ERR_CNTLANE_7) & M_BIP_ERR_CNTLANE_7)
49575 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_8 0x1e40
49577 #define S_BIP_ERR_CNTLANE_8 0
49578 #define M_BIP_ERR_CNTLANE_8 0xffffU
49579 #define V_BIP_ERR_CNTLANE_8(x) ((x) << S_BIP_ERR_CNTLANE_8)
49580 #define G_BIP_ERR_CNTLANE_8(x) (((x) >> S_BIP_ERR_CNTLANE_8) & M_BIP_ERR_CNTLANE_8)
49582 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_9 0x1e44
49584 #define S_BIP_ERR_CNTLANE_9 0
49585 #define M_BIP_ERR_CNTLANE_9 0xffffU
49586 #define V_BIP_ERR_CNTLANE_9(x) ((x) << S_BIP_ERR_CNTLANE_9)
49587 #define G_BIP_ERR_CNTLANE_9(x) (((x) >> S_BIP_ERR_CNTLANE_9) & M_BIP_ERR_CNTLANE_9)
49589 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_10 0x1e48
49591 #define S_BIP_ERR_CNTLANE_10 0
49592 #define M_BIP_ERR_CNTLANE_10 0xffffU
49593 #define V_BIP_ERR_CNTLANE_10(x) ((x) << S_BIP_ERR_CNTLANE_10)
49594 #define G_BIP_ERR_CNTLANE_10(x) (((x) >> S_BIP_ERR_CNTLANE_10) & M_BIP_ERR_CNTLANE_10)
49596 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_11 0x1e4c
49598 #define S_BIP_ERR_CNTLANE_11 0
49599 #define M_BIP_ERR_CNTLANE_11 0xffffU
49600 #define V_BIP_ERR_CNTLANE_11(x) ((x) << S_BIP_ERR_CNTLANE_11)
49601 #define G_BIP_ERR_CNTLANE_11(x) (((x) >> S_BIP_ERR_CNTLANE_11) & M_BIP_ERR_CNTLANE_11)
49603 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_12 0x1e50
49605 #define S_BIP_ERR_CNTLANE_12 0
49606 #define M_BIP_ERR_CNTLANE_12 0xffffU
49607 #define V_BIP_ERR_CNTLANE_12(x) ((x) << S_BIP_ERR_CNTLANE_12)
49608 #define G_BIP_ERR_CNTLANE_12(x) (((x) >> S_BIP_ERR_CNTLANE_12) & M_BIP_ERR_CNTLANE_12)
49610 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_13 0x1e54
49612 #define S_BIP_ERR_CNTLANE_13 0
49613 #define M_BIP_ERR_CNTLANE_13 0xffffU
49614 #define V_BIP_ERR_CNTLANE_13(x) ((x) << S_BIP_ERR_CNTLANE_13)
49615 #define G_BIP_ERR_CNTLANE_13(x) (((x) >> S_BIP_ERR_CNTLANE_13) & M_BIP_ERR_CNTLANE_13)
49617 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_14 0x1e58
49619 #define S_BIP_ERR_CNTLANE_14 0
49620 #define M_BIP_ERR_CNTLANE_14 0xffffU
49621 #define V_BIP_ERR_CNTLANE_14(x) ((x) << S_BIP_ERR_CNTLANE_14)
49622 #define G_BIP_ERR_CNTLANE_14(x) (((x) >> S_BIP_ERR_CNTLANE_14) & M_BIP_ERR_CNTLANE_14)
49624 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_15 0x1e5c
49626 #define S_BIP_ERR_CNTLANE_15 0
49627 #define M_BIP_ERR_CNTLANE_15 0xffffU
49628 #define V_BIP_ERR_CNTLANE_15(x) ((x) << S_BIP_ERR_CNTLANE_15)
49629 #define G_BIP_ERR_CNTLANE_15(x) (((x) >> S_BIP_ERR_CNTLANE_15) & M_BIP_ERR_CNTLANE_15)
49631 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_16 0x1e60
49633 #define S_BIP_ERR_CNTLANE_16 0
49634 #define M_BIP_ERR_CNTLANE_16 0xffffU
49635 #define V_BIP_ERR_CNTLANE_16(x) ((x) << S_BIP_ERR_CNTLANE_16)
49636 #define G_BIP_ERR_CNTLANE_16(x) (((x) >> S_BIP_ERR_CNTLANE_16) & M_BIP_ERR_CNTLANE_16)
49638 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_17 0x1e64
49640 #define S_BIP_ERR_CNTLANE_17 0
49641 #define M_BIP_ERR_CNTLANE_17 0xffffU
49642 #define V_BIP_ERR_CNTLANE_17(x) ((x) << S_BIP_ERR_CNTLANE_17)
49643 #define G_BIP_ERR_CNTLANE_17(x) (((x) >> S_BIP_ERR_CNTLANE_17) & M_BIP_ERR_CNTLANE_17)
49645 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_18 0x1e68
49647 #define S_BIP_ERR_CNTLANE_18 0
49648 #define M_BIP_ERR_CNTLANE_18 0xffffU
49649 #define V_BIP_ERR_CNTLANE_18(x) ((x) << S_BIP_ERR_CNTLANE_18)
49650 #define G_BIP_ERR_CNTLANE_18(x) (((x) >> S_BIP_ERR_CNTLANE_18) & M_BIP_ERR_CNTLANE_18)
49652 #define A_MAC_PORT_MTIP_CR4_BIP_ERR_CNTLANE_19 0x1e6c
49654 #define S_BIP_ERR_CNTLANE_19 0
49655 #define M_BIP_ERR_CNTLANE_19 0xffffU
49656 #define V_BIP_ERR_CNTLANE_19(x) ((x) << S_BIP_ERR_CNTLANE_19)
49657 #define G_BIP_ERR_CNTLANE_19(x) (((x) >> S_BIP_ERR_CNTLANE_19) & M_BIP_ERR_CNTLANE_19)
49659 #define A_MAC_PORT_MTIP_PCS_BASER_STATUS1 0x1e80
49661 #define S_RXLINKSTATUS 12
49662 #define V_RXLINKSTATUS(x) ((x) << S_RXLINKSTATUS)
49663 #define F_RXLINKSTATUS V_RXLINKSTATUS(1U)
49665 #define S_RESEREVED 4
49666 #define M_RESEREVED 0xffU
49667 #define V_RESEREVED(x) ((x) << S_RESEREVED)
49668 #define G_RESEREVED(x) (((x) >> S_RESEREVED) & M_RESEREVED)
49670 #define S_10GPRBS9 3
49671 #define V_10GPRBS9(x) ((x) << S_10GPRBS9)
49672 #define F_10GPRBS9 V_10GPRBS9(1U)
49674 #define S_10GPRBS31 2
49675 #define V_10GPRBS31(x) ((x) << S_10GPRBS31)
49676 #define F_10GPRBS31 V_10GPRBS31(1U)
49679 #define V_HIBER(x) ((x) << S_HIBER)
49680 #define F_HIBER V_HIBER(1U)
49682 #define S_BLOCKLOCK 0
49683 #define V_BLOCKLOCK(x) ((x) << S_BLOCKLOCK)
49684 #define F_BLOCKLOCK V_BLOCKLOCK(1U)
49686 #define A_MAC_PORT_MTIP_PCS_BASER_STATUS2 0x1e84
49688 #define S_BLOCKLOCKLL 15
49689 #define V_BLOCKLOCKLL(x) ((x) << S_BLOCKLOCKLL)
49690 #define F_BLOCKLOCKLL V_BLOCKLOCKLL(1U)
49692 #define S_HIBERLH 14
49693 #define V_HIBERLH(x) ((x) << S_HIBERLH)
49694 #define F_HIBERLH V_HIBERLH(1U)
49696 #define S_HIBERCOUNT 8
49697 #define M_HIBERCOUNT 0x3fU
49698 #define V_HIBERCOUNT(x) ((x) << S_HIBERCOUNT)
49699 #define G_HIBERCOUNT(x) (((x) >> S_HIBERCOUNT) & M_HIBERCOUNT)
49701 #define S_ERRBLKCNT 0
49702 #define M_ERRBLKCNT 0xffU
49703 #define V_ERRBLKCNT(x) ((x) << S_ERRBLKCNT)
49704 #define G_ERRBLKCNT(x) (((x) >> S_ERRBLKCNT) & M_ERRBLKCNT)
49706 #define A_MAC_PORT_MTIP_10GBASER_SEED_A 0x1e88
49709 #define M_SEEDA 0xffffU
49710 #define V_SEEDA(x) ((x) << S_SEEDA)
49711 #define G_SEEDA(x) (((x) >> S_SEEDA) & M_SEEDA)
49713 #define A_MAC_PORT_MTIP_10GBASER_SEED_A1 0x1e8c
49716 #define M_SEEDA1 0xffffU
49717 #define V_SEEDA1(x) ((x) << S_SEEDA1)
49718 #define G_SEEDA1(x) (((x) >> S_SEEDA1) & M_SEEDA1)
49720 #define A_MAC_PORT_MTIP_10GBASER_SEED_A2 0x1e90
49723 #define M_SEEDA2 0xffffU
49724 #define V_SEEDA2(x) ((x) << S_SEEDA2)
49725 #define G_SEEDA2(x) (((x) >> S_SEEDA2) & M_SEEDA2)
49727 #define A_MAC_PORT_MTIP_10GBASER_SEED_A3 0x1e94
49730 #define M_SEEDA3 0x3ffU
49731 #define V_SEEDA3(x) ((x) << S_SEEDA3)
49732 #define G_SEEDA3(x) (((x) >> S_SEEDA3) & M_SEEDA3)
49734 #define A_MAC_PORT_MTIP_10GBASER_SEED_B 0x1e98
49737 #define M_SEEDB 0xffffU
49738 #define V_SEEDB(x) ((x) << S_SEEDB)
49739 #define G_SEEDB(x) (((x) >> S_SEEDB) & M_SEEDB)
49741 #define A_MAC_PORT_MTIP_10GBASER_SEED_B1 0x1e9c
49744 #define M_SEEDB1 0xffffU
49745 #define V_SEEDB1(x) ((x) << S_SEEDB1)
49746 #define G_SEEDB1(x) (((x) >> S_SEEDB1) & M_SEEDB1)
49748 #define A_MAC_PORT_MTIP_10GBASER_SEED_B2 0x1ea0
49751 #define M_SEEDB2 0xffffU
49752 #define V_SEEDB2(x) ((x) << S_SEEDB2)
49753 #define G_SEEDB2(x) (((x) >> S_SEEDB2) & M_SEEDB2)
49755 #define A_MAC_PORT_MTIP_10GBASER_SEED_B3 0x1ea4
49758 #define M_SEEDB3 0x3ffU
49759 #define V_SEEDB3(x) ((x) << S_SEEDB3)
49760 #define G_SEEDB3(x) (((x) >> S_SEEDB3) & M_SEEDB3)
49762 #define A_MAC_PORT_MTIP_BASER_TEST_CTRL 0x1ea8
49764 #define S_TXPRBS9 6
49765 #define V_TXPRBS9(x) ((x) << S_TXPRBS9)
49766 #define F_TXPRBS9 V_TXPRBS9(1U)
49768 #define S_RXPRBS31 5
49769 #define V_RXPRBS31(x) ((x) << S_RXPRBS31)
49770 #define F_RXPRBS31 V_RXPRBS31(1U)
49772 #define S_TXPRBS31 4
49773 #define V_TXPRBS31(x) ((x) << S_TXPRBS31)
49774 #define F_TXPRBS31 V_TXPRBS31(1U)
49776 #define S_TXTESTPATEN 3
49777 #define V_TXTESTPATEN(x) ((x) << S_TXTESTPATEN)
49778 #define F_TXTESTPATEN V_TXTESTPATEN(1U)
49780 #define S_RXTESTPATEN 2
49781 #define V_RXTESTPATEN(x) ((x) << S_RXTESTPATEN)
49782 #define F_RXTESTPATEN V_RXTESTPATEN(1U)
49784 #define S_TESTPATSEL 1
49785 #define V_TESTPATSEL(x) ((x) << S_TESTPATSEL)
49786 #define F_TESTPATSEL V_TESTPATSEL(1U)
49788 #define S_DATAPATSEL 0
49789 #define V_DATAPATSEL(x) ((x) << S_DATAPATSEL)
49790 #define F_DATAPATSEL V_DATAPATSEL(1U)
49792 #define A_MAC_PORT_MTIP_BASER_TEST_ERR_CNT 0x1eac
49794 #define S_TEST_ERR_CNT 0
49795 #define M_TEST_ERR_CNT 0xffffU
49796 #define V_TEST_ERR_CNT(x) ((x) << S_TEST_ERR_CNT)
49797 #define G_TEST_ERR_CNT(x) (((x) >> S_TEST_ERR_CNT) & M_TEST_ERR_CNT)
49799 #define A_MAC_PORT_MTIP_BER_HIGH_ORDER_CNT 0x1eb0
49801 #define S_BER_CNT_HI 0
49802 #define M_BER_CNT_HI 0xffffU
49803 #define V_BER_CNT_HI(x) ((x) << S_BER_CNT_HI)
49804 #define G_BER_CNT_HI(x) (((x) >> S_BER_CNT_HI) & M_BER_CNT_HI)
49806 #define A_MAC_PORT_MTIP_BLK_HIGH_ORDER_CNT 0x1eb4
49808 #define S_HICOUNTPRSNT 15
49809 #define V_HICOUNTPRSNT(x) ((x) << S_HICOUNTPRSNT)
49810 #define F_HICOUNTPRSNT V_HICOUNTPRSNT(1U)
49812 #define S_BLOCK_CNT_HI 0
49813 #define M_BLOCK_CNT_HI 0x3fffU
49814 #define V_BLOCK_CNT_HI(x) ((x) << S_BLOCK_CNT_HI)
49815 #define G_BLOCK_CNT_HI(x) (((x) >> S_BLOCK_CNT_HI) & M_BLOCK_CNT_HI)
49817 #define A_MAC_PORT_MTIP_PCS_MULTI_LANE_ALIGN_STATUS1 0x1ec8
49819 #define S_ALIGNSTATUS 12
49820 #define V_ALIGNSTATUS(x) ((x) << S_ALIGNSTATUS)
49821 #define F_ALIGNSTATUS V_ALIGNSTATUS(1U)
49824 #define V_LANE7(x) ((x) << S_LANE7)
49825 #define F_LANE7 V_LANE7(1U)
49828 #define V_LANE6(x) ((x) << S_LANE6)
49829 #define F_LANE6 V_LANE6(1U)
49832 #define V_LANE5(x) ((x) << S_LANE5)
49833 #define F_LANE5 V_LANE5(1U)
49836 #define V_LANE4(x) ((x) << S_LANE4)
49837 #define F_LANE4 V_LANE4(1U)
49840 #define V_LANE3(x) ((x) << S_LANE3)
49841 #define F_LANE3 V_LANE3(1U)
49844 #define V_LANE2(x) ((x) << S_LANE2)
49845 #define F_LANE2 V_LANE2(1U)
49848 #define V_LANE1(x) ((x) << S_LANE1)
49849 #define F_LANE1 V_LANE1(1U)
49852 #define V_LANE0(x) ((x) << S_LANE0)
49853 #define F_LANE0 V_LANE0(1U)
49855 #define A_MAC_PORT_MTIP_PCS_MULTI_LANE_ALIGN_STATUS2 0x1ecc
49857 #define S_LANE19 11
49858 #define V_LANE19(x) ((x) << S_LANE19)
49859 #define F_LANE19 V_LANE19(1U)
49861 #define S_LANE18 10
49862 #define V_LANE18(x) ((x) << S_LANE18)
49863 #define F_LANE18 V_LANE18(1U)
49866 #define V_LANE17(x) ((x) << S_LANE17)
49867 #define F_LANE17 V_LANE17(1U)
49870 #define V_LANE16(x) ((x) << S_LANE16)
49871 #define F_LANE16 V_LANE16(1U)
49874 #define V_LANE15(x) ((x) << S_LANE15)
49875 #define F_LANE15 V_LANE15(1U)
49878 #define V_LANE14(x) ((x) << S_LANE14)
49879 #define F_LANE14 V_LANE14(1U)
49882 #define V_LANE13(x) ((x) << S_LANE13)
49883 #define F_LANE13 V_LANE13(1U)
49886 #define V_LANE12(x) ((x) << S_LANE12)
49887 #define F_LANE12 V_LANE12(1U)
49890 #define V_LANE11(x) ((x) << S_LANE11)
49891 #define F_LANE11 V_LANE11(1U)
49894 #define V_LANE10(x) ((x) << S_LANE10)
49895 #define F_LANE10 V_LANE10(1U)
49898 #define V_LANE9(x) ((x) << S_LANE9)
49899 #define F_LANE9 V_LANE9(1U)
49902 #define V_LANE8(x) ((x) << S_LANE8)
49903 #define F_LANE8 V_LANE8(1U)
49905 #define A_MAC_PORT_MTIP_PCS_MULTI_LANE_ALIGN_STATUS3 0x1ed0
49907 #define S_AMLOCK7 7
49908 #define V_AMLOCK7(x) ((x) << S_AMLOCK7)
49909 #define F_AMLOCK7 V_AMLOCK7(1U)
49911 #define S_AMLOCK6 6
49912 #define V_AMLOCK6(x) ((x) << S_AMLOCK6)
49913 #define F_AMLOCK6 V_AMLOCK6(1U)
49915 #define S_AMLOCK5 5
49916 #define V_AMLOCK5(x) ((x) << S_AMLOCK5)
49917 #define F_AMLOCK5 V_AMLOCK5(1U)
49919 #define S_AMLOCK4 4
49920 #define V_AMLOCK4(x) ((x) << S_AMLOCK4)
49921 #define F_AMLOCK4 V_AMLOCK4(1U)
49923 #define S_AMLOCK3 3
49924 #define V_AMLOCK3(x) ((x) << S_AMLOCK3)
49925 #define F_AMLOCK3 V_AMLOCK3(1U)
49927 #define S_AMLOCK2 2
49928 #define V_AMLOCK2(x) ((x) << S_AMLOCK2)
49929 #define F_AMLOCK2 V_AMLOCK2(1U)
49931 #define S_AMLOCK1 1
49932 #define V_AMLOCK1(x) ((x) << S_AMLOCK1)
49933 #define F_AMLOCK1 V_AMLOCK1(1U)
49935 #define S_AMLOCK0 0
49936 #define V_AMLOCK0(x) ((x) << S_AMLOCK0)
49937 #define F_AMLOCK0 V_AMLOCK0(1U)
49939 #define A_MAC_PORT_MTIP_PCS_MULTI_LANE_ALIGN_STATUS4 0x1ed4
49941 #define S_AMLOCK19 11
49942 #define V_AMLOCK19(x) ((x) << S_AMLOCK19)
49943 #define F_AMLOCK19 V_AMLOCK19(1U)
49945 #define S_AMLOCK18 10
49946 #define V_AMLOCK18(x) ((x) << S_AMLOCK18)
49947 #define F_AMLOCK18 V_AMLOCK18(1U)
49949 #define S_AMLOCK17 9
49950 #define V_AMLOCK17(x) ((x) << S_AMLOCK17)
49951 #define F_AMLOCK17 V_AMLOCK17(1U)
49953 #define S_AMLOCK16 8
49954 #define V_AMLOCK16(x) ((x) << S_AMLOCK16)
49955 #define F_AMLOCK16 V_AMLOCK16(1U)
49957 #define S_AMLOCK15 7
49958 #define V_AMLOCK15(x) ((x) << S_AMLOCK15)
49959 #define F_AMLOCK15 V_AMLOCK15(1U)
49961 #define S_AMLOCK14 6
49962 #define V_AMLOCK14(x) ((x) << S_AMLOCK14)
49963 #define F_AMLOCK14 V_AMLOCK14(1U)
49965 #define S_AMLOCK13 5
49966 #define V_AMLOCK13(x) ((x) << S_AMLOCK13)
49967 #define F_AMLOCK13 V_AMLOCK13(1U)
49969 #define S_AMLOCK12 4
49970 #define V_AMLOCK12(x) ((x) << S_AMLOCK12)
49971 #define F_AMLOCK12 V_AMLOCK12(1U)
49973 #define S_AMLOCK11 3
49974 #define V_AMLOCK11(x) ((x) << S_AMLOCK11)
49975 #define F_AMLOCK11 V_AMLOCK11(1U)
49977 #define S_AMLOCK10 2
49978 #define V_AMLOCK10(x) ((x) << S_AMLOCK10)
49979 #define F_AMLOCK10 V_AMLOCK10(1U)
49981 #define S_AMLOCK9 1
49982 #define V_AMLOCK9(x) ((x) << S_AMLOCK9)
49983 #define F_AMLOCK9 V_AMLOCK9(1U)
49985 #define S_AMLOCK8 0
49986 #define V_AMLOCK8(x) ((x) << S_AMLOCK8)
49987 #define F_AMLOCK8 V_AMLOCK8(1U)
49989 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_0 0x1f68
49991 #define S_BIPERR_CNT 0
49992 #define M_BIPERR_CNT 0xffffU
49993 #define V_BIPERR_CNT(x) ((x) << S_BIPERR_CNT)
49994 #define G_BIPERR_CNT(x) (((x) >> S_BIPERR_CNT) & M_BIPERR_CNT)
49996 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_1 0x1f6c
49997 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_2 0x1f70
49998 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_3 0x1f74
49999 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_4 0x1f78
50000 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_5 0x1f7c
50001 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_6 0x1f80
50002 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_7 0x1f84
50003 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_8 0x1f88
50004 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_9 0x1f8c
50005 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_10 0x1f90
50006 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_11 0x1f94
50007 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_12 0x1f98
50008 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_13 0x1f9c
50009 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_14 0x1fa0
50010 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_15 0x1fa4
50011 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_16 0x1fa8
50012 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_17 0x1fac
50013 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_18 0x1fb0
50014 #define A_MAC_PORT_MTIP_PCS_BIP_ERR_CNT_19 0x1fb4
50015 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_0 0x1fb8
50018 #define M_MAP 0x1fU
50019 #define V_MAP(x) ((x) << S_MAP)
50020 #define G_MAP(x) (((x) >> S_MAP) & M_MAP)
50022 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_1 0x1fbc
50023 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_2 0x1fc0
50024 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_3 0x1fc4
50025 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_4 0x1fc8
50026 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_5 0x1fcc
50027 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_6 0x1fd0
50028 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_7 0x1fd4
50029 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_8 0x1fd8
50030 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_9 0x1fdc
50031 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_10 0x1fe0
50032 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_11 0x1fe4
50033 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_12 0x1fe8
50034 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_13 0x1fec
50035 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_14 0x1ff0
50036 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_15 0x1ff4
50037 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_16 0x1ff8
50038 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_17 0x1ffc
50039 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_18 0x2000
50040 #define A_MAC_PORT_MTIP_PCS_LANE_MAP_19 0x2004
50041 #define A_MAC_PORT_MTIP_CR4_LANE_0_MAPPING 0x2140
50043 #define S_LANE_0_MAPPING 0
50044 #define M_LANE_0_MAPPING 0x3fU
50045 #define V_LANE_0_MAPPING(x) ((x) << S_LANE_0_MAPPING)
50046 #define G_LANE_0_MAPPING(x) (((x) >> S_LANE_0_MAPPING) & M_LANE_0_MAPPING)
50048 #define A_MAC_PORT_MTIP_CR4_LANE_1_MAPPING 0x2144
50050 #define S_LANE_1_MAPPING 0
50051 #define M_LANE_1_MAPPING 0x3fU
50052 #define V_LANE_1_MAPPING(x) ((x) << S_LANE_1_MAPPING)
50053 #define G_LANE_1_MAPPING(x) (((x) >> S_LANE_1_MAPPING) & M_LANE_1_MAPPING)
50055 #define A_MAC_PORT_MTIP_CR4_LANE_2_MAPPING 0x2148
50057 #define S_LANE_2_MAPPING 0
50058 #define M_LANE_2_MAPPING 0x3fU
50059 #define V_LANE_2_MAPPING(x) ((x) << S_LANE_2_MAPPING)
50060 #define G_LANE_2_MAPPING(x) (((x) >> S_LANE_2_MAPPING) & M_LANE_2_MAPPING)
50062 #define A_MAC_PORT_MTIP_CR4_LANE_3_MAPPING 0x214c
50064 #define S_LANE_3_MAPPING 0
50065 #define M_LANE_3_MAPPING 0x3fU
50066 #define V_LANE_3_MAPPING(x) ((x) << S_LANE_3_MAPPING)
50067 #define G_LANE_3_MAPPING(x) (((x) >> S_LANE_3_MAPPING) & M_LANE_3_MAPPING)
50069 #define A_MAC_PORT_MTIP_CR4_LANE_4_MAPPING 0x2150
50071 #define S_LANE_4_MAPPING 0
50072 #define M_LANE_4_MAPPING 0x3fU
50073 #define V_LANE_4_MAPPING(x) ((x) << S_LANE_4_MAPPING)
50074 #define G_LANE_4_MAPPING(x) (((x) >> S_LANE_4_MAPPING) & M_LANE_4_MAPPING)
50076 #define A_MAC_PORT_MTIP_CR4_LANE_5_MAPPING 0x2154
50078 #define S_LANE_5_MAPPING 0
50079 #define M_LANE_5_MAPPING 0x3fU
50080 #define V_LANE_5_MAPPING(x) ((x) << S_LANE_5_MAPPING)
50081 #define G_LANE_5_MAPPING(x) (((x) >> S_LANE_5_MAPPING) & M_LANE_5_MAPPING)
50083 #define A_MAC_PORT_MTIP_CR4_LANE_6_MAPPING 0x2158
50085 #define S_LANE_6_MAPPING 0
50086 #define M_LANE_6_MAPPING 0x3fU
50087 #define V_LANE_6_MAPPING(x) ((x) << S_LANE_6_MAPPING)
50088 #define G_LANE_6_MAPPING(x) (((x) >> S_LANE_6_MAPPING) & M_LANE_6_MAPPING)
50090 #define A_MAC_PORT_MTIP_CR4_LANE_7_MAPPING 0x215c
50092 #define S_LANE_7_MAPPING 0
50093 #define M_LANE_7_MAPPING 0x3fU
50094 #define V_LANE_7_MAPPING(x) ((x) << S_LANE_7_MAPPING)
50095 #define G_LANE_7_MAPPING(x) (((x) >> S_LANE_7_MAPPING) & M_LANE_7_MAPPING)
50097 #define A_MAC_PORT_MTIP_CR4_LANE_8_MAPPING 0x2160
50099 #define S_LANE_8_MAPPING 0
50100 #define M_LANE_8_MAPPING 0x3fU
50101 #define V_LANE_8_MAPPING(x) ((x) << S_LANE_8_MAPPING)
50102 #define G_LANE_8_MAPPING(x) (((x) >> S_LANE_8_MAPPING) & M_LANE_8_MAPPING)
50104 #define A_MAC_PORT_MTIP_CR4_LANE_9_MAPPING 0x2164
50106 #define S_LANE_9_MAPPING 0
50107 #define M_LANE_9_MAPPING 0x3fU
50108 #define V_LANE_9_MAPPING(x) ((x) << S_LANE_9_MAPPING)
50109 #define G_LANE_9_MAPPING(x) (((x) >> S_LANE_9_MAPPING) & M_LANE_9_MAPPING)
50111 #define A_MAC_PORT_MTIP_CR4_LANE_10_MAPPING 0x2168
50113 #define S_LANE_10_MAPPING 0
50114 #define M_LANE_10_MAPPING 0x3fU
50115 #define V_LANE_10_MAPPING(x) ((x) << S_LANE_10_MAPPING)
50116 #define G_LANE_10_MAPPING(x) (((x) >> S_LANE_10_MAPPING) & M_LANE_10_MAPPING)
50118 #define A_MAC_PORT_MTIP_CR4_LANE_11_MAPPING 0x216c
50120 #define S_LANE_11_MAPPING 0
50121 #define M_LANE_11_MAPPING 0x3fU
50122 #define V_LANE_11_MAPPING(x) ((x) << S_LANE_11_MAPPING)
50123 #define G_LANE_11_MAPPING(x) (((x) >> S_LANE_11_MAPPING) & M_LANE_11_MAPPING)
50125 #define A_MAC_PORT_MTIP_CR4_LANE_12_MAPPING 0x2170
50127 #define S_LANE_12_MAPPING 0
50128 #define M_LANE_12_MAPPING 0x3fU
50129 #define V_LANE_12_MAPPING(x) ((x) << S_LANE_12_MAPPING)
50130 #define G_LANE_12_MAPPING(x) (((x) >> S_LANE_12_MAPPING) & M_LANE_12_MAPPING)
50132 #define A_MAC_PORT_MTIP_CR4_LANE_13_MAPPING 0x2174
50134 #define S_LANE_13_MAPPING 0
50135 #define M_LANE_13_MAPPING 0x3fU
50136 #define V_LANE_13_MAPPING(x) ((x) << S_LANE_13_MAPPING)
50137 #define G_LANE_13_MAPPING(x) (((x) >> S_LANE_13_MAPPING) & M_LANE_13_MAPPING)
50139 #define A_MAC_PORT_MTIP_CR4_LANE_14_MAPPING 0x2178
50141 #define S_LANE_14_MAPPING 0
50142 #define M_LANE_14_MAPPING 0x3fU
50143 #define V_LANE_14_MAPPING(x) ((x) << S_LANE_14_MAPPING)
50144 #define G_LANE_14_MAPPING(x) (((x) >> S_LANE_14_MAPPING) & M_LANE_14_MAPPING)
50146 #define A_MAC_PORT_MTIP_CR4_LANE_15_MAPPING 0x217c
50148 #define S_LANE_15_MAPPING 0
50149 #define M_LANE_15_MAPPING 0x3fU
50150 #define V_LANE_15_MAPPING(x) ((x) << S_LANE_15_MAPPING)
50151 #define G_LANE_15_MAPPING(x) (((x) >> S_LANE_15_MAPPING) & M_LANE_15_MAPPING)
50153 #define A_MAC_PORT_MTIP_CR4_LANE_16_MAPPING 0x2180
50155 #define S_LANE_16_MAPPING 0
50156 #define M_LANE_16_MAPPING 0x3fU
50157 #define V_LANE_16_MAPPING(x) ((x) << S_LANE_16_MAPPING)
50158 #define G_LANE_16_MAPPING(x) (((x) >> S_LANE_16_MAPPING) & M_LANE_16_MAPPING)
50160 #define A_MAC_PORT_MTIP_CR4_LANE_17_MAPPING 0x2184
50162 #define S_LANE_17_MAPPING 0
50163 #define M_LANE_17_MAPPING 0x3fU
50164 #define V_LANE_17_MAPPING(x) ((x) << S_LANE_17_MAPPING)
50165 #define G_LANE_17_MAPPING(x) (((x) >> S_LANE_17_MAPPING) & M_LANE_17_MAPPING)
50167 #define A_MAC_PORT_MTIP_CR4_LANE_18_MAPPING 0x2188
50169 #define S_LANE_18_MAPPING 0
50170 #define M_LANE_18_MAPPING 0x3fU
50171 #define V_LANE_18_MAPPING(x) ((x) << S_LANE_18_MAPPING)
50172 #define G_LANE_18_MAPPING(x) (((x) >> S_LANE_18_MAPPING) & M_LANE_18_MAPPING)
50174 #define A_MAC_PORT_MTIP_CR4_LANE_19_MAPPING 0x218c
50176 #define S_LANE_19_MAPPING 0
50177 #define M_LANE_19_MAPPING 0x3fU
50178 #define V_LANE_19_MAPPING(x) ((x) << S_LANE_19_MAPPING)
50179 #define G_LANE_19_MAPPING(x) (((x) >> S_LANE_19_MAPPING) & M_LANE_19_MAPPING)
50181 #define A_MAC_PORT_MTIP_CR4_SCRATCH 0x21f0
50182 #define A_MAC_PORT_MTIP_CR4_CORE_REVISION 0x21f4
50184 #define S_CORE_REVISION 0
50185 #define M_CORE_REVISION 0xffffU
50186 #define V_CORE_REVISION(x) ((x) << S_CORE_REVISION)
50187 #define G_CORE_REVISION(x) (((x) >> S_CORE_REVISION) & M_CORE_REVISION)
50189 #define A_MAC_PORT_BEAN_CTL 0x2200
50191 #define S_AN_RESET 15
50192 #define V_AN_RESET(x) ((x) << S_AN_RESET)
50193 #define F_AN_RESET V_AN_RESET(1U)
50195 #define S_EXT_NXP_CTRL 13
50196 #define V_EXT_NXP_CTRL(x) ((x) << S_EXT_NXP_CTRL)
50197 #define F_EXT_NXP_CTRL V_EXT_NXP_CTRL(1U)
50199 #define S_BEAN_EN 12
50200 #define V_BEAN_EN(x) ((x) << S_BEAN_EN)
50201 #define F_BEAN_EN V_BEAN_EN(1U)
50203 #define S_RESTART_BEAN 9
50204 #define V_RESTART_BEAN(x) ((x) << S_RESTART_BEAN)
50205 #define F_RESTART_BEAN V_RESTART_BEAN(1U)
50207 #define A_MAC_PORT_MTIP_RS_FEC_CONTROL 0x2200
50209 #define S_RS_FEC_BYPASS_ERROR_INDICATION 1
50210 #define V_RS_FEC_BYPASS_ERROR_INDICATION(x) ((x) << S_RS_FEC_BYPASS_ERROR_INDICATION)
50211 #define F_RS_FEC_BYPASS_ERROR_INDICATION V_RS_FEC_BYPASS_ERROR_INDICATION(1U)
50213 #define S_RS_FEC_BYPASS_CORRECTION 0
50214 #define V_RS_FEC_BYPASS_CORRECTION(x) ((x) << S_RS_FEC_BYPASS_CORRECTION)
50215 #define F_RS_FEC_BYPASS_CORRECTION V_RS_FEC_BYPASS_CORRECTION(1U)
50217 #define A_MAC_PORT_BEAN_STATUS 0x2204
50220 #define V_PDF(x) ((x) << S_PDF)
50221 #define F_PDF V_PDF(1U)
50223 #define S_EXT_NXP_STATUS 7
50224 #define V_EXT_NXP_STATUS(x) ((x) << S_EXT_NXP_STATUS)
50225 #define F_EXT_NXP_STATUS V_EXT_NXP_STATUS(1U)
50227 #define S_PAGE_RCVD 6
50228 #define V_PAGE_RCVD(x) ((x) << S_PAGE_RCVD)
50229 #define F_PAGE_RCVD V_PAGE_RCVD(1U)
50231 #define S_BEAN_COMPLETE 5
50232 #define V_BEAN_COMPLETE(x) ((x) << S_BEAN_COMPLETE)
50233 #define F_BEAN_COMPLETE V_BEAN_COMPLETE(1U)
50235 #define S_REM_FAULT_STATUS 4
50236 #define V_REM_FAULT_STATUS(x) ((x) << S_REM_FAULT_STATUS)
50237 #define F_REM_FAULT_STATUS V_REM_FAULT_STATUS(1U)
50239 #define S_BEAN_ABILITY 3
50240 #define V_BEAN_ABILITY(x) ((x) << S_BEAN_ABILITY)
50241 #define F_BEAN_ABILITY V_BEAN_ABILITY(1U)
50243 #define S_LP_BEAN_ABILITY 0
50244 #define V_LP_BEAN_ABILITY(x) ((x) << S_LP_BEAN_ABILITY)
50245 #define F_LP_BEAN_ABILITY V_LP_BEAN_ABILITY(1U)
50247 #define A_MAC_PORT_MTIP_RS_FEC_STATUS 0x2204
50249 #define S_RS_FEC_PCS_ALIGN_STATUS 15
50250 #define V_RS_FEC_PCS_ALIGN_STATUS(x) ((x) << S_RS_FEC_PCS_ALIGN_STATUS)
50251 #define F_RS_FEC_PCS_ALIGN_STATUS V_RS_FEC_PCS_ALIGN_STATUS(1U)
50253 #define S_FEC_ALIGN_STATUS 14
50254 #define V_FEC_ALIGN_STATUS(x) ((x) << S_FEC_ALIGN_STATUS)
50255 #define F_FEC_ALIGN_STATUS V_FEC_ALIGN_STATUS(1U)
50257 #define S_RS_FEC_HIGH_SER 2
50258 #define V_RS_FEC_HIGH_SER(x) ((x) << S_RS_FEC_HIGH_SER)
50259 #define F_RS_FEC_HIGH_SER V_RS_FEC_HIGH_SER(1U)
50261 #define S_RS_FEC_BYPASS_ERROR_INDICATION_ABILITY 1
50262 #define V_RS_FEC_BYPASS_ERROR_INDICATION_ABILITY(x) ((x) << S_RS_FEC_BYPASS_ERROR_INDICATION_ABILITY)
50263 #define F_RS_FEC_BYPASS_ERROR_INDICATION_ABILITY V_RS_FEC_BYPASS_ERROR_INDICATION_ABILITY(1U)
50265 #define S_RS_FEC_BYPASS_CORRECTION_ABILITY 0
50266 #define V_RS_FEC_BYPASS_CORRECTION_ABILITY(x) ((x) << S_RS_FEC_BYPASS_CORRECTION_ABILITY)
50267 #define F_RS_FEC_BYPASS_CORRECTION_ABILITY V_RS_FEC_BYPASS_CORRECTION_ABILITY(1U)
50269 #define A_MAC_PORT_BEAN_ABILITY_0 0x2208
50272 #define V_NXP(x) ((x) << S_NXP)
50273 #define F_NXP V_NXP(1U)
50275 #define S_REM_FAULT 13
50276 #define V_REM_FAULT(x) ((x) << S_REM_FAULT)
50277 #define F_REM_FAULT V_REM_FAULT(1U)
50279 #define S_PAUSE_ABILITY 10
50280 #define M_PAUSE_ABILITY 0x7U
50281 #define V_PAUSE_ABILITY(x) ((x) << S_PAUSE_ABILITY)
50282 #define G_PAUSE_ABILITY(x) (((x) >> S_PAUSE_ABILITY) & M_PAUSE_ABILITY)
50284 #define S_ECHO_NONCE 5
50285 #define M_ECHO_NONCE 0x1fU
50286 #define V_ECHO_NONCE(x) ((x) << S_ECHO_NONCE)
50287 #define G_ECHO_NONCE(x) (((x) >> S_ECHO_NONCE) & M_ECHO_NONCE)
50289 #define S_SELECTOR 0
50290 #define M_SELECTOR 0x1fU
50291 #define V_SELECTOR(x) ((x) << S_SELECTOR)
50292 #define G_SELECTOR(x) (((x) >> S_SELECTOR) & M_SELECTOR)
50294 #define A_MAC_PORT_MTIP_RS_FEC_CCW_LO 0x2208
50296 #define S_RS_RS_FEC_CCW_LO 0
50297 #define M_RS_RS_FEC_CCW_LO 0xffffU
50298 #define V_RS_RS_FEC_CCW_LO(x) ((x) << S_RS_RS_FEC_CCW_LO)
50299 #define G_RS_RS_FEC_CCW_LO(x) (((x) >> S_RS_RS_FEC_CCW_LO) & M_RS_RS_FEC_CCW_LO)
50301 #define A_MAC_PORT_BEAN_ABILITY_1 0x220c
50303 #define S_TECH_ABILITY_1 5
50304 #define M_TECH_ABILITY_1 0x7ffU
50305 #define V_TECH_ABILITY_1(x) ((x) << S_TECH_ABILITY_1)
50306 #define G_TECH_ABILITY_1(x) (((x) >> S_TECH_ABILITY_1) & M_TECH_ABILITY_1)
50308 #define S_TX_NONCE 0
50309 #define M_TX_NONCE 0x1fU
50310 #define V_TX_NONCE(x) ((x) << S_TX_NONCE)
50311 #define G_TX_NONCE(x) (((x) >> S_TX_NONCE) & M_TX_NONCE)
50313 #define A_MAC_PORT_MTIP_RS_FEC_CCW_HI 0x220c
50315 #define S_RS_RS_FEC_CCW_HI 0
50316 #define M_RS_RS_FEC_CCW_HI 0xffffU
50317 #define V_RS_RS_FEC_CCW_HI(x) ((x) << S_RS_RS_FEC_CCW_HI)
50318 #define G_RS_RS_FEC_CCW_HI(x) (((x) >> S_RS_RS_FEC_CCW_HI) & M_RS_RS_FEC_CCW_HI)
50320 #define A_MAC_PORT_BEAN_ABILITY_2 0x2210
50322 #define S_T5_FEC_ABILITY 14
50323 #define M_T5_FEC_ABILITY 0x3U
50324 #define V_T5_FEC_ABILITY(x) ((x) << S_T5_FEC_ABILITY)
50325 #define G_T5_FEC_ABILITY(x) (((x) >> S_T5_FEC_ABILITY) & M_T5_FEC_ABILITY)
50327 #define S_TECH_ABILITY_2 0
50328 #define M_TECH_ABILITY_2 0x3fffU
50329 #define V_TECH_ABILITY_2(x) ((x) << S_TECH_ABILITY_2)
50330 #define G_TECH_ABILITY_2(x) (((x) >> S_TECH_ABILITY_2) & M_TECH_ABILITY_2)
50332 #define A_MAC_PORT_MTIP_RS_FEC_NCCW_LO 0x2210
50334 #define S_RS_RS_FEC_NCCW_LO 0
50335 #define M_RS_RS_FEC_NCCW_LO 0xffffU
50336 #define V_RS_RS_FEC_NCCW_LO(x) ((x) << S_RS_RS_FEC_NCCW_LO)
50337 #define G_RS_RS_FEC_NCCW_LO(x) (((x) >> S_RS_RS_FEC_NCCW_LO) & M_RS_RS_FEC_NCCW_LO)
50339 #define A_MAC_PORT_BEAN_REM_ABILITY_0 0x2214
50340 #define A_MAC_PORT_MTIP_RS_FEC_NCCW_HI 0x2214
50342 #define S_RS_RS_FEC_NCCW_HI 0
50343 #define M_RS_RS_FEC_NCCW_HI 0xffffU
50344 #define V_RS_RS_FEC_NCCW_HI(x) ((x) << S_RS_RS_FEC_NCCW_HI)
50345 #define G_RS_RS_FEC_NCCW_HI(x) (((x) >> S_RS_RS_FEC_NCCW_HI) & M_RS_RS_FEC_NCCW_HI)
50347 #define A_MAC_PORT_BEAN_REM_ABILITY_1 0x2218
50348 #define A_MAC_PORT_MTIP_RS_FEC_LANEMAPRS_FEC_NCCW_HI 0x2218
50350 #define S_PMA_MAPPING 0
50351 #define M_PMA_MAPPING 0xffU
50352 #define V_PMA_MAPPING(x) ((x) << S_PMA_MAPPING)
50353 #define G_PMA_MAPPING(x) (((x) >> S_PMA_MAPPING) & M_PMA_MAPPING)
50355 #define A_MAC_PORT_BEAN_REM_ABILITY_2 0x221c
50356 #define A_MAC_PORT_BEAN_MS_COUNT 0x2220
50358 #define S_MS_COUNT 0
50359 #define M_MS_COUNT 0xffffU
50360 #define V_MS_COUNT(x) ((x) << S_MS_COUNT)
50361 #define G_MS_COUNT(x) (((x) >> S_MS_COUNT) & M_MS_COUNT)
50363 #define A_MAC_PORT_BEAN_XNP_0 0x2224
50366 #define V_XNP(x) ((x) << S_XNP)
50367 #define F_XNP V_XNP(1U)
50369 #define S_ACKNOWLEDGE 14
50370 #define V_ACKNOWLEDGE(x) ((x) << S_ACKNOWLEDGE)
50371 #define F_ACKNOWLEDGE V_ACKNOWLEDGE(1U)
50374 #define V_MP(x) ((x) << S_MP)
50375 #define F_MP V_MP(1U)
50378 #define V_ACK2(x) ((x) << S_ACK2)
50379 #define F_ACK2 V_ACK2(1U)
50382 #define M_MU 0x7ffU
50383 #define V_MU(x) ((x) << S_MU)
50384 #define G_MU(x) (((x) >> S_MU) & M_MU)
50386 #define A_MAC_PORT_BEAN_XNP_1 0x2228
50388 #define S_UNFORMATED 0
50389 #define M_UNFORMATED 0xffffU
50390 #define V_UNFORMATED(x) ((x) << S_UNFORMATED)
50391 #define G_UNFORMATED(x) (((x) >> S_UNFORMATED) & M_UNFORMATED)
50393 #define A_MAC_PORT_MTIP_RS_FEC_SYMBLERR0_LO 0x2228
50395 #define S_RS_FEC_SYMBLERR0_LO 0
50396 #define V_RS_FEC_SYMBLERR0_LO(x) ((x) << S_RS_FEC_SYMBLERR0_LO)
50397 #define F_RS_FEC_SYMBLERR0_LO V_RS_FEC_SYMBLERR0_LO(1U)
50399 #define A_MAC_PORT_BEAN_XNP_2 0x222c
50400 #define A_MAC_PORT_MTIP_RS_FEC_SYMBLERR0_HI 0x222c
50402 #define S_RS_FEC_SYMBLERR0_HI 0
50403 #define V_RS_FEC_SYMBLERR0_HI(x) ((x) << S_RS_FEC_SYMBLERR0_HI)
50404 #define F_RS_FEC_SYMBLERR0_HI V_RS_FEC_SYMBLERR0_HI(1U)
50406 #define A_MAC_PORT_LP_BEAN_XNP_0 0x2230
50407 #define A_MAC_PORT_MTIP_RS_FEC_SYMBLERR1_LO 0x2230
50409 #define S_RS_FEC_SYMBLERR1_LO 0
50410 #define V_RS_FEC_SYMBLERR1_LO(x) ((x) << S_RS_FEC_SYMBLERR1_LO)
50411 #define F_RS_FEC_SYMBLERR1_LO V_RS_FEC_SYMBLERR1_LO(1U)
50413 #define A_MAC_PORT_LP_BEAN_XNP_1 0x2234
50414 #define A_MAC_PORT_MTIP_RS_FEC_SYMBLERR1_HI 0x2234
50416 #define S_RS_FEC_SYMBLERR1_HI 0
50417 #define V_RS_FEC_SYMBLERR1_HI(x) ((x) << S_RS_FEC_SYMBLERR1_HI)
50418 #define F_RS_FEC_SYMBLERR1_HI V_RS_FEC_SYMBLERR1_HI(1U)
50420 #define A_MAC_PORT_LP_BEAN_XNP_2 0x2238
50421 #define A_MAC_PORT_MTIP_RS_FEC_SYMBLERR2_LO 0x2238
50423 #define S_RS_FEC_SYMBLERR2_LO 0
50424 #define V_RS_FEC_SYMBLERR2_LO(x) ((x) << S_RS_FEC_SYMBLERR2_LO)
50425 #define F_RS_FEC_SYMBLERR2_LO V_RS_FEC_SYMBLERR2_LO(1U)
50427 #define A_MAC_PORT_BEAN_ETH_STATUS 0x223c
50429 #define S_100GCR10 8
50430 #define V_100GCR10(x) ((x) << S_100GCR10)
50431 #define F_100GCR10 V_100GCR10(1U)
50434 #define V_40GCR4(x) ((x) << S_40GCR4)
50435 #define F_40GCR4 V_40GCR4(1U)
50438 #define V_40GKR4(x) ((x) << S_40GKR4)
50439 #define F_40GKR4 V_40GKR4(1U)
50442 #define V_FEC(x) ((x) << S_FEC)
50443 #define F_FEC V_FEC(1U)
50446 #define V_10GKR(x) ((x) << S_10GKR)
50447 #define F_10GKR V_10GKR(1U)
50450 #define V_10GKX4(x) ((x) << S_10GKX4)
50451 #define F_10GKX4 V_10GKX4(1U)
50454 #define V_1GKX(x) ((x) << S_1GKX)
50455 #define F_1GKX V_1GKX(1U)
50457 #define A_MAC_PORT_MTIP_RS_FEC_SYMBLERR2_HI 0x223c
50459 #define S_RS_FEC_SYMBLERR2_HI 0
50460 #define V_RS_FEC_SYMBLERR2_HI(x) ((x) << S_RS_FEC_SYMBLERR2_HI)
50461 #define F_RS_FEC_SYMBLERR2_HI V_RS_FEC_SYMBLERR2_HI(1U)
50463 #define A_MAC_PORT_BEAN_CTL_LANE1 0x2240
50464 #define A_MAC_PORT_MTIP_RS_FEC_SYMBLERR3_LO 0x2240
50466 #define S_RS_FEC_SYMBLERR3_LO 0
50467 #define V_RS_FEC_SYMBLERR3_LO(x) ((x) << S_RS_FEC_SYMBLERR3_LO)
50468 #define F_RS_FEC_SYMBLERR3_LO V_RS_FEC_SYMBLERR3_LO(1U)
50470 #define A_MAC_PORT_BEAN_STATUS_LANE1 0x2244
50471 #define A_MAC_PORT_MTIP_RS_FEC_SYMBLERR3_HI 0x2244
50473 #define S_RS_FEC_SYMBLERR3_HI 0
50474 #define V_RS_FEC_SYMBLERR3_HI(x) ((x) << S_RS_FEC_SYMBLERR3_HI)
50475 #define F_RS_FEC_SYMBLERR3_HI V_RS_FEC_SYMBLERR3_HI(1U)
50477 #define A_MAC_PORT_BEAN_ABILITY_0_LANE1 0x2248
50478 #define A_MAC_PORT_BEAN_ABILITY_1_LANE1 0x224c
50479 #define A_MAC_PORT_BEAN_ABILITY_2_LANE1 0x2250
50480 #define A_MAC_PORT_BEAN_REM_ABILITY_0_LANE1 0x2254
50481 #define A_MAC_PORT_BEAN_REM_ABILITY_1_LANE1 0x2258
50482 #define A_MAC_PORT_BEAN_REM_ABILITY_2_LANE1 0x225c
50483 #define A_MAC_PORT_BEAN_MS_COUNT_LANE1 0x2260
50484 #define A_MAC_PORT_BEAN_XNP_0_LANE1 0x2264
50485 #define A_MAC_PORT_BEAN_XNP_1_LANE1 0x2268
50486 #define A_MAC_PORT_BEAN_XNP_2_LANE1 0x226c
50487 #define A_MAC_PORT_LP_BEAN_XNP_0_LANE1 0x2270
50488 #define A_MAC_PORT_LP_BEAN_XNP_1_LANE1 0x2274
50489 #define A_MAC_PORT_LP_BEAN_XNP_2_LANE1 0x2278
50490 #define A_MAC_PORT_BEAN_ETH_STATUS_LANE1 0x227c
50491 #define A_MAC_PORT_BEAN_CTL_LANE2 0x2280
50492 #define A_MAC_PORT_BEAN_STATUS_LANE2 0x2284
50493 #define A_MAC_PORT_BEAN_ABILITY_0_LANE2 0x2288
50494 #define A_MAC_PORT_BEAN_ABILITY_1_LANE2 0x228c
50495 #define A_MAC_PORT_BEAN_ABILITY_2_LANE2 0x2290
50496 #define A_MAC_PORT_BEAN_REM_ABILITY_0_LANE2 0x2294
50497 #define A_MAC_PORT_BEAN_REM_ABILITY_1_LANE2 0x2298
50498 #define A_MAC_PORT_BEAN_REM_ABILITY_2_LANE2 0x229c
50499 #define A_MAC_PORT_BEAN_MS_COUNT_LANE2 0x22a0
50500 #define A_MAC_PORT_BEAN_XNP_0_LANE2 0x22a4
50501 #define A_MAC_PORT_BEAN_XNP_1_LANE2 0x22a8
50502 #define A_MAC_PORT_BEAN_XNP_2_LANE2 0x22ac
50503 #define A_MAC_PORT_LP_BEAN_XNP_0_LANE2 0x22b0
50504 #define A_MAC_PORT_LP_BEAN_XNP_1_LANE2 0x22b4
50505 #define A_MAC_PORT_LP_BEAN_XNP_2_LANE2 0x22b8
50506 #define A_MAC_PORT_BEAN_ETH_STATUS_LANE2 0x22bc
50507 #define A_MAC_PORT_BEAN_CTL_LANE3 0x22c0
50508 #define A_MAC_PORT_BEAN_STATUS_LANE3 0x22c4
50509 #define A_MAC_PORT_BEAN_ABILITY_0_LANE3 0x22c8
50510 #define A_MAC_PORT_BEAN_ABILITY_1_LANE3 0x22cc
50511 #define A_MAC_PORT_BEAN_ABILITY_2_LANE3 0x22d0
50512 #define A_MAC_PORT_BEAN_REM_ABILITY_0_LANE3 0x22d4
50513 #define A_MAC_PORT_BEAN_REM_ABILITY_1_LANE3 0x22d8
50514 #define A_MAC_PORT_BEAN_REM_ABILITY_2_LANE3 0x22dc
50515 #define A_MAC_PORT_BEAN_MS_COUNT_LANE3 0x22e0
50516 #define A_MAC_PORT_BEAN_XNP_0_LANE3 0x22e4
50517 #define A_MAC_PORT_BEAN_XNP_1_LANE3 0x22e8
50518 #define A_MAC_PORT_BEAN_XNP_2_LANE3 0x22ec
50519 #define A_MAC_PORT_LP_BEAN_XNP_0_LANE3 0x22f0
50520 #define A_MAC_PORT_LP_BEAN_XNP_1_LANE3 0x22f4
50521 #define A_MAC_PORT_LP_BEAN_XNP_2_LANE3 0x22f8
50522 #define A_MAC_PORT_BEAN_ETH_STATUS_LANE3 0x22fc
50523 #define A_MAC_PORT_MTIP_RS_FEC_VENDOR_CONTROL 0x2400
50525 #define S_RS_FEC_ENABLED_STATUS 15
50526 #define V_RS_FEC_ENABLED_STATUS(x) ((x) << S_RS_FEC_ENABLED_STATUS)
50527 #define F_RS_FEC_ENABLED_STATUS V_RS_FEC_ENABLED_STATUS(1U)
50529 #define S_RS_FEC_ENABLE 2
50530 #define V_RS_FEC_ENABLE(x) ((x) << S_RS_FEC_ENABLE)
50531 #define F_RS_FEC_ENABLE V_RS_FEC_ENABLE(1U)
50533 #define A_MAC_PORT_MTIP_RS_FEC_VENDOR_INFO_1 0x2404
50535 #define S_DESKEW_EMPTY 12
50536 #define M_DESKEW_EMPTY 0xfU
50537 #define V_DESKEW_EMPTY(x) ((x) << S_DESKEW_EMPTY)
50538 #define G_DESKEW_EMPTY(x) (((x) >> S_DESKEW_EMPTY) & M_DESKEW_EMPTY)
50540 #define S_FEC_ALIGN_STATUS_LH 10
50541 #define V_FEC_ALIGN_STATUS_LH(x) ((x) << S_FEC_ALIGN_STATUS_LH)
50542 #define F_FEC_ALIGN_STATUS_LH V_FEC_ALIGN_STATUS_LH(1U)
50544 #define S_TX_DP_OVERFLOW 9
50545 #define V_TX_DP_OVERFLOW(x) ((x) << S_TX_DP_OVERFLOW)
50546 #define F_TX_DP_OVERFLOW V_TX_DP_OVERFLOW(1U)
50548 #define S_RX_DP_OVERFLOW 8
50549 #define V_RX_DP_OVERFLOW(x) ((x) << S_RX_DP_OVERFLOW)
50550 #define F_RX_DP_OVERFLOW V_RX_DP_OVERFLOW(1U)
50552 #define S_TX_DATAPATH_RESTART 7
50553 #define V_TX_DATAPATH_RESTART(x) ((x) << S_TX_DATAPATH_RESTART)
50554 #define F_TX_DATAPATH_RESTART V_TX_DATAPATH_RESTART(1U)
50556 #define S_RX_DATAPATH_RESTART 6
50557 #define V_RX_DATAPATH_RESTART(x) ((x) << S_RX_DATAPATH_RESTART)
50558 #define F_RX_DATAPATH_RESTART V_RX_DATAPATH_RESTART(1U)
50560 #define S_MARKER_CHECK_RESTART 5
50561 #define V_MARKER_CHECK_RESTART(x) ((x) << S_MARKER_CHECK_RESTART)
50562 #define F_MARKER_CHECK_RESTART V_MARKER_CHECK_RESTART(1U)
50564 #define S_FEC_ALIGN_STATUS_LL 4
50565 #define V_FEC_ALIGN_STATUS_LL(x) ((x) << S_FEC_ALIGN_STATUS_LL)
50566 #define F_FEC_ALIGN_STATUS_LL V_FEC_ALIGN_STATUS_LL(1U)
50568 #define S_AMPS_LOCK 0
50569 #define M_AMPS_LOCK 0xfU
50570 #define V_AMPS_LOCK(x) ((x) << S_AMPS_LOCK)
50571 #define G_AMPS_LOCK(x) (((x) >> S_AMPS_LOCK) & M_AMPS_LOCK)
50573 #define A_MAC_PORT_MTIP_RS_FEC_VENDOR_INFO_2 0x2408
50574 #define A_MAC_PORT_MTIP_RS_FEC_VENDOR_REVISION 0x240c
50576 #define S_RS_FEC_VENDOR_REVISION 0
50577 #define M_RS_FEC_VENDOR_REVISION 0xffffU
50578 #define V_RS_FEC_VENDOR_REVISION(x) ((x) << S_RS_FEC_VENDOR_REVISION)
50579 #define G_RS_FEC_VENDOR_REVISION(x) (((x) >> S_RS_FEC_VENDOR_REVISION) & M_RS_FEC_VENDOR_REVISION)
50581 #define A_MAC_PORT_MTIP_RS_FEC_VENDOR_TX_TEST_KEY 0x2410
50583 #define S_RS_FEC_VENDOR_TX_TEST_KEY 0
50584 #define M_RS_FEC_VENDOR_TX_TEST_KEY 0xffffU
50585 #define V_RS_FEC_VENDOR_TX_TEST_KEY(x) ((x) << S_RS_FEC_VENDOR_TX_TEST_KEY)
50586 #define G_RS_FEC_VENDOR_TX_TEST_KEY(x) (((x) >> S_RS_FEC_VENDOR_TX_TEST_KEY) & M_RS_FEC_VENDOR_TX_TEST_KEY)
50588 #define A_MAC_PORT_MTIP_RS_FEC_VENDOR_TX_TEST_SYMBOLS 0x2414
50590 #define S_RS_FEC_VENDOR_TX_TEST_SYMBOLS 0
50591 #define M_RS_FEC_VENDOR_TX_TEST_SYMBOLS 0xffffU
50592 #define V_RS_FEC_VENDOR_TX_TEST_SYMBOLS(x) ((x) << S_RS_FEC_VENDOR_TX_TEST_SYMBOLS)
50593 #define G_RS_FEC_VENDOR_TX_TEST_SYMBOLS(x) (((x) >> S_RS_FEC_VENDOR_TX_TEST_SYMBOLS) & M_RS_FEC_VENDOR_TX_TEST_SYMBOLS)
50595 #define A_MAC_PORT_MTIP_RS_FEC_VENDOR_TX_TEST_PATTERN 0x2418
50597 #define S_RS_FEC_VENDOR_TX_TEST_PATTERN 0
50598 #define M_RS_FEC_VENDOR_TX_TEST_PATTERN 0xffffU
50599 #define V_RS_FEC_VENDOR_TX_TEST_PATTERN(x) ((x) << S_RS_FEC_VENDOR_TX_TEST_PATTERN)
50600 #define G_RS_FEC_VENDOR_TX_TEST_PATTERN(x) (((x) >> S_RS_FEC_VENDOR_TX_TEST_PATTERN) & M_RS_FEC_VENDOR_TX_TEST_PATTERN)
50602 #define A_MAC_PORT_MTIP_RS_FEC_VENDOR_TX_TEST_TRIGGER 0x241c
50604 #define S_RS_FEC_VENDOR_TX_TEST_TRIGGER 0
50605 #define M_RS_FEC_VENDOR_TX_TEST_TRIGGER 0xffffU
50606 #define V_RS_FEC_VENDOR_TX_TEST_TRIGGER(x) ((x) << S_RS_FEC_VENDOR_TX_TEST_TRIGGER)
50607 #define G_RS_FEC_VENDOR_TX_TEST_TRIGGER(x) (((x) >> S_RS_FEC_VENDOR_TX_TEST_TRIGGER) & M_RS_FEC_VENDOR_TX_TEST_TRIGGER)
50609 #define A_MAC_PORT_FEC_KR_CONTROL 0x2600
50611 #define S_ENABLE_TR 1
50612 #define V_ENABLE_TR(x) ((x) << S_ENABLE_TR)
50613 #define F_ENABLE_TR V_ENABLE_TR(1U)
50615 #define S_RESTART_TR 0
50616 #define V_RESTART_TR(x) ((x) << S_RESTART_TR)
50617 #define F_RESTART_TR V_RESTART_TR(1U)
50619 #define A_MAC_PORT_FEC_KR_STATUS 0x2604
50621 #define S_FECKRSIGDET 15
50622 #define V_FECKRSIGDET(x) ((x) << S_FECKRSIGDET)
50623 #define F_FECKRSIGDET V_FECKRSIGDET(1U)
50625 #define S_TRAIN_FAIL 3
50626 #define V_TRAIN_FAIL(x) ((x) << S_TRAIN_FAIL)
50627 #define F_TRAIN_FAIL V_TRAIN_FAIL(1U)
50629 #define S_STARTUP_STATUS 2
50630 #define V_STARTUP_STATUS(x) ((x) << S_STARTUP_STATUS)
50631 #define F_STARTUP_STATUS V_STARTUP_STATUS(1U)
50633 #define S_RX_STATUS 0
50634 #define V_RX_STATUS(x) ((x) << S_RX_STATUS)
50635 #define F_RX_STATUS V_RX_STATUS(1U)
50637 #define A_MAC_PORT_FEC_KR_LP_COEFF 0x2608
50639 #define S_PRESET 13
50640 #define V_PRESET(x) ((x) << S_PRESET)
50641 #define F_PRESET V_PRESET(1U)
50643 #define S_INITIALIZE 12
50644 #define V_INITIALIZE(x) ((x) << S_INITIALIZE)
50645 #define F_INITIALIZE V_INITIALIZE(1U)
50647 #define S_CP1_UPD 4
50648 #define M_CP1_UPD 0x3U
50649 #define V_CP1_UPD(x) ((x) << S_CP1_UPD)
50650 #define G_CP1_UPD(x) (((x) >> S_CP1_UPD) & M_CP1_UPD)
50653 #define M_C0_UPD 0x3U
50654 #define V_C0_UPD(x) ((x) << S_C0_UPD)
50655 #define G_C0_UPD(x) (((x) >> S_C0_UPD) & M_C0_UPD)
50657 #define S_CN1_UPD 0
50658 #define M_CN1_UPD 0x3U
50659 #define V_CN1_UPD(x) ((x) << S_CN1_UPD)
50660 #define G_CN1_UPD(x) (((x) >> S_CN1_UPD) & M_CN1_UPD)
50662 #define A_MAC_PORT_FEC_KR_LP_STAT 0x260c
50664 #define S_RX_READY 15
50665 #define V_RX_READY(x) ((x) << S_RX_READY)
50666 #define F_RX_READY V_RX_READY(1U)
50668 #define S_CP1_STAT 4
50669 #define M_CP1_STAT 0x3U
50670 #define V_CP1_STAT(x) ((x) << S_CP1_STAT)
50671 #define G_CP1_STAT(x) (((x) >> S_CP1_STAT) & M_CP1_STAT)
50673 #define S_C0_STAT 2
50674 #define M_C0_STAT 0x3U
50675 #define V_C0_STAT(x) ((x) << S_C0_STAT)
50676 #define G_C0_STAT(x) (((x) >> S_C0_STAT) & M_C0_STAT)
50678 #define S_CN1_STAT 0
50679 #define M_CN1_STAT 0x3U
50680 #define V_CN1_STAT(x) ((x) << S_CN1_STAT)
50681 #define G_CN1_STAT(x) (((x) >> S_CN1_STAT) & M_CN1_STAT)
50683 #define A_MAC_PORT_FEC_KR_LD_COEFF 0x2610
50684 #define A_MAC_PORT_FEC_KR_LD_STAT 0x2614
50685 #define A_MAC_PORT_FEC_ABILITY 0x2618
50687 #define S_FEC_IND_ABILITY 1
50688 #define V_FEC_IND_ABILITY(x) ((x) << S_FEC_IND_ABILITY)
50689 #define F_FEC_IND_ABILITY V_FEC_IND_ABILITY(1U)
50691 #define S_ABILITY 0
50692 #define V_ABILITY(x) ((x) << S_ABILITY)
50693 #define F_ABILITY V_ABILITY(1U)
50695 #define A_MAC_PORT_MTIP_FEC_ABILITY 0x2618
50697 #define S_BASE_R_FEC_ERROR_INDICATION_ABILITY 1
50698 #define V_BASE_R_FEC_ERROR_INDICATION_ABILITY(x) ((x) << S_BASE_R_FEC_ERROR_INDICATION_ABILITY)
50699 #define F_BASE_R_FEC_ERROR_INDICATION_ABILITY V_BASE_R_FEC_ERROR_INDICATION_ABILITY(1U)
50701 #define S_BASE_R_FEC_ABILITY 0
50702 #define V_BASE_R_FEC_ABILITY(x) ((x) << S_BASE_R_FEC_ABILITY)
50703 #define F_BASE_R_FEC_ABILITY V_BASE_R_FEC_ABILITY(1U)
50705 #define A_MAC_PORT_FEC_CONTROL 0x261c
50707 #define S_FEC_EN_ERR_IND 1
50708 #define V_FEC_EN_ERR_IND(x) ((x) << S_FEC_EN_ERR_IND)
50709 #define F_FEC_EN_ERR_IND V_FEC_EN_ERR_IND(1U)
50712 #define V_FEC_EN(x) ((x) << S_FEC_EN)
50713 #define F_FEC_EN V_FEC_EN(1U)
50715 #define A_MAC_PORT_FEC_STATUS 0x2620
50717 #define S_FEC_LOCKED_100 1
50718 #define V_FEC_LOCKED_100(x) ((x) << S_FEC_LOCKED_100)
50719 #define F_FEC_LOCKED_100 V_FEC_LOCKED_100(1U)
50721 #define S_FEC_LOCKED 0
50722 #define V_FEC_LOCKED(x) ((x) << S_FEC_LOCKED)
50723 #define F_FEC_LOCKED V_FEC_LOCKED(1U)
50725 #define S_FEC_LOCKED0 1
50726 #define M_FEC_LOCKED0 0xfU
50727 #define V_FEC_LOCKED0(x) ((x) << S_FEC_LOCKED0)
50728 #define G_FEC_LOCKED0(x) (((x) >> S_FEC_LOCKED0) & M_FEC_LOCKED0)
50730 #define A_MAC_PORT_FEC_CERR_CNT_0 0x2624
50732 #define S_FEC_CERR_CNT_0 0
50733 #define M_FEC_CERR_CNT_0 0xffffU
50734 #define V_FEC_CERR_CNT_0(x) ((x) << S_FEC_CERR_CNT_0)
50735 #define G_FEC_CERR_CNT_0(x) (((x) >> S_FEC_CERR_CNT_0) & M_FEC_CERR_CNT_0)
50737 #define A_MAC_PORT_MTIP_FEC0_CERR_CNT_0 0x2624
50738 #define A_MAC_PORT_FEC_CERR_CNT_1 0x2628
50740 #define S_FEC_CERR_CNT_1 0
50741 #define M_FEC_CERR_CNT_1 0xffffU
50742 #define V_FEC_CERR_CNT_1(x) ((x) << S_FEC_CERR_CNT_1)
50743 #define G_FEC_CERR_CNT_1(x) (((x) >> S_FEC_CERR_CNT_1) & M_FEC_CERR_CNT_1)
50745 #define A_MAC_PORT_MTIP_FEC0_CERR_CNT_1 0x2628
50746 #define A_MAC_PORT_FEC_NCERR_CNT_0 0x262c
50748 #define S_FEC_NCERR_CNT_0 0
50749 #define M_FEC_NCERR_CNT_0 0xffffU
50750 #define V_FEC_NCERR_CNT_0(x) ((x) << S_FEC_NCERR_CNT_0)
50751 #define G_FEC_NCERR_CNT_0(x) (((x) >> S_FEC_NCERR_CNT_0) & M_FEC_NCERR_CNT_0)
50753 #define A_MAC_PORT_MTIP_FEC0_NCERR_CNT_0 0x262c
50755 #define S_FEC0_NCERR_CNT_0 0
50756 #define M_FEC0_NCERR_CNT_0 0xffffU
50757 #define V_FEC0_NCERR_CNT_0(x) ((x) << S_FEC0_NCERR_CNT_0)
50758 #define G_FEC0_NCERR_CNT_0(x) (((x) >> S_FEC0_NCERR_CNT_0) & M_FEC0_NCERR_CNT_0)
50760 #define A_MAC_PORT_FEC_NCERR_CNT_1 0x2630
50762 #define S_FEC_NCERR_CNT_1 0
50763 #define M_FEC_NCERR_CNT_1 0xffffU
50764 #define V_FEC_NCERR_CNT_1(x) ((x) << S_FEC_NCERR_CNT_1)
50765 #define G_FEC_NCERR_CNT_1(x) (((x) >> S_FEC_NCERR_CNT_1) & M_FEC_NCERR_CNT_1)
50767 #define A_MAC_PORT_MTIP_FEC0_NCERR_CNT_1 0x2630
50769 #define S_FEC0_NCERR_CNT_1 0
50770 #define M_FEC0_NCERR_CNT_1 0xffffU
50771 #define V_FEC0_NCERR_CNT_1(x) ((x) << S_FEC0_NCERR_CNT_1)
50772 #define G_FEC0_NCERR_CNT_1(x) (((x) >> S_FEC0_NCERR_CNT_1) & M_FEC0_NCERR_CNT_1)
50774 #define A_MAC_PORT_MTIP_FEC_STATUS1 0x2664
50775 #define A_MAC_PORT_MTIP_FEC1_CERR_CNT_0 0x2668
50776 #define A_MAC_PORT_MTIP_FEC1_CERR_CNT_1 0x266c
50777 #define A_MAC_PORT_MTIP_FEC1_NCERR_CNT_0 0x2670
50778 #define A_MAC_PORT_MTIP_FEC1_NCERR_CNT_1 0x2674
50779 #define A_MAC_PORT_MTIP_FEC_STATUS2 0x26a8
50780 #define A_MAC_PORT_MTIP_FEC2_CERR_CNT_0 0x26ac
50781 #define A_MAC_PORT_MTIP_FEC2_CERR_CNT_1 0x26b0
50782 #define A_MAC_PORT_MTIP_FEC2_NCERR_CNT_0 0x26b4
50783 #define A_MAC_PORT_MTIP_FEC2_NCERR_CNT_1 0x26b8
50784 #define A_MAC_PORT_MTIP_FEC_STATUS3 0x26ec
50785 #define A_MAC_PORT_MTIP_FEC3_CERR_CNT_0 0x26f0
50786 #define A_MAC_PORT_MTIP_FEC3_CERR_CNT_1 0x26f4
50787 #define A_MAC_PORT_MTIP_FEC3_NCERR_CNT_0 0x26f8
50788 #define A_MAC_PORT_MTIP_FEC3_NCERR_CNT_1 0x26fc
50789 #define A_MAC_PORT_AE_RX_COEF_REQ 0x2a00
50791 #define S_T5_RXREQ_C2 4
50792 #define M_T5_RXREQ_C2 0x3U
50793 #define V_T5_RXREQ_C2(x) ((x) << S_T5_RXREQ_C2)
50794 #define G_T5_RXREQ_C2(x) (((x) >> S_T5_RXREQ_C2) & M_T5_RXREQ_C2)
50796 #define S_T5_RXREQ_C1 2
50797 #define M_T5_RXREQ_C1 0x3U
50798 #define V_T5_RXREQ_C1(x) ((x) << S_T5_RXREQ_C1)
50799 #define G_T5_RXREQ_C1(x) (((x) >> S_T5_RXREQ_C1) & M_T5_RXREQ_C1)
50801 #define S_T5_RXREQ_C0 0
50802 #define M_T5_RXREQ_C0 0x3U
50803 #define V_T5_RXREQ_C0(x) ((x) << S_T5_RXREQ_C0)
50804 #define G_T5_RXREQ_C0(x) (((x) >> S_T5_RXREQ_C0) & M_T5_RXREQ_C0)
50806 #define S_T5_RXREQ_C3 6
50807 #define M_T5_RXREQ_C3 0x3U
50808 #define V_T5_RXREQ_C3(x) ((x) << S_T5_RXREQ_C3)
50809 #define G_T5_RXREQ_C3(x) (((x) >> S_T5_RXREQ_C3) & M_T5_RXREQ_C3)
50811 #define A_MAC_PORT_AE_RX_COEF_STAT 0x2a04
50813 #define S_T5_AE0_RXSTAT_RDY 15
50814 #define V_T5_AE0_RXSTAT_RDY(x) ((x) << S_T5_AE0_RXSTAT_RDY)
50815 #define F_T5_AE0_RXSTAT_RDY V_T5_AE0_RXSTAT_RDY(1U)
50817 #define S_T5_AE0_RXSTAT_C2 4
50818 #define M_T5_AE0_RXSTAT_C2 0x3U
50819 #define V_T5_AE0_RXSTAT_C2(x) ((x) << S_T5_AE0_RXSTAT_C2)
50820 #define G_T5_AE0_RXSTAT_C2(x) (((x) >> S_T5_AE0_RXSTAT_C2) & M_T5_AE0_RXSTAT_C2)
50822 #define S_T5_AE0_RXSTAT_C1 2
50823 #define M_T5_AE0_RXSTAT_C1 0x3U
50824 #define V_T5_AE0_RXSTAT_C1(x) ((x) << S_T5_AE0_RXSTAT_C1)
50825 #define G_T5_AE0_RXSTAT_C1(x) (((x) >> S_T5_AE0_RXSTAT_C1) & M_T5_AE0_RXSTAT_C1)
50827 #define S_T5_AE0_RXSTAT_C0 0
50828 #define M_T5_AE0_RXSTAT_C0 0x3U
50829 #define V_T5_AE0_RXSTAT_C0(x) ((x) << S_T5_AE0_RXSTAT_C0)
50830 #define G_T5_AE0_RXSTAT_C0(x) (((x) >> S_T5_AE0_RXSTAT_C0) & M_T5_AE0_RXSTAT_C0)
50832 #define S_T5_AE0_RXSTAT_LSNA 14
50833 #define V_T5_AE0_RXSTAT_LSNA(x) ((x) << S_T5_AE0_RXSTAT_LSNA)
50834 #define F_T5_AE0_RXSTAT_LSNA V_T5_AE0_RXSTAT_LSNA(1U)
50836 #define S_T5_AE0_RXSTAT_FEC 13
50837 #define V_T5_AE0_RXSTAT_FEC(x) ((x) << S_T5_AE0_RXSTAT_FEC)
50838 #define F_T5_AE0_RXSTAT_FEC V_T5_AE0_RXSTAT_FEC(1U)
50840 #define S_T5_AE0_RXSTAT_TF 12
50841 #define V_T5_AE0_RXSTAT_TF(x) ((x) << S_T5_AE0_RXSTAT_TF)
50842 #define F_T5_AE0_RXSTAT_TF V_T5_AE0_RXSTAT_TF(1U)
50844 #define S_T5_AE0_RXSTAT_C3 6
50845 #define M_T5_AE0_RXSTAT_C3 0x3U
50846 #define V_T5_AE0_RXSTAT_C3(x) ((x) << S_T5_AE0_RXSTAT_C3)
50847 #define G_T5_AE0_RXSTAT_C3(x) (((x) >> S_T5_AE0_RXSTAT_C3) & M_T5_AE0_RXSTAT_C3)
50849 #define A_MAC_PORT_AE_TX_COEF_REQ 0x2a08
50851 #define S_T5_TXREQ_C2 4
50852 #define M_T5_TXREQ_C2 0x3U
50853 #define V_T5_TXREQ_C2(x) ((x) << S_T5_TXREQ_C2)
50854 #define G_T5_TXREQ_C2(x) (((x) >> S_T5_TXREQ_C2) & M_T5_TXREQ_C2)
50856 #define S_T5_TXREQ_C1 2
50857 #define M_T5_TXREQ_C1 0x3U
50858 #define V_T5_TXREQ_C1(x) ((x) << S_T5_TXREQ_C1)
50859 #define G_T5_TXREQ_C1(x) (((x) >> S_T5_TXREQ_C1) & M_T5_TXREQ_C1)
50861 #define S_T5_TXREQ_C0 0
50862 #define M_T5_TXREQ_C0 0x3U
50863 #define V_T5_TXREQ_C0(x) ((x) << S_T5_TXREQ_C0)
50864 #define G_T5_TXREQ_C0(x) (((x) >> S_T5_TXREQ_C0) & M_T5_TXREQ_C0)
50866 #define S_TXREQ_FEC 11
50867 #define V_TXREQ_FEC(x) ((x) << S_TXREQ_FEC)
50868 #define F_TXREQ_FEC V_TXREQ_FEC(1U)
50870 #define S_T5_TXREQ_C3 6
50871 #define M_T5_TXREQ_C3 0x3U
50872 #define V_T5_TXREQ_C3(x) ((x) << S_T5_TXREQ_C3)
50873 #define G_T5_TXREQ_C3(x) (((x) >> S_T5_TXREQ_C3) & M_T5_TXREQ_C3)
50875 #define A_MAC_PORT_AE_TX_COEF_STAT 0x2a0c
50877 #define S_T5_TXSTAT_C2 4
50878 #define M_T5_TXSTAT_C2 0x3U
50879 #define V_T5_TXSTAT_C2(x) ((x) << S_T5_TXSTAT_C2)
50880 #define G_T5_TXSTAT_C2(x) (((x) >> S_T5_TXSTAT_C2) & M_T5_TXSTAT_C2)
50882 #define S_T5_TXSTAT_C1 2
50883 #define M_T5_TXSTAT_C1 0x3U
50884 #define V_T5_TXSTAT_C1(x) ((x) << S_T5_TXSTAT_C1)
50885 #define G_T5_TXSTAT_C1(x) (((x) >> S_T5_TXSTAT_C1) & M_T5_TXSTAT_C1)
50887 #define S_T5_TXSTAT_C0 0
50888 #define M_T5_TXSTAT_C0 0x3U
50889 #define V_T5_TXSTAT_C0(x) ((x) << S_T5_TXSTAT_C0)
50890 #define G_T5_TXSTAT_C0(x) (((x) >> S_T5_TXSTAT_C0) & M_T5_TXSTAT_C0)
50892 #define S_T5_TXSTAT_C3 6
50893 #define M_T5_TXSTAT_C3 0x3U
50894 #define V_T5_TXSTAT_C3(x) ((x) << S_T5_TXSTAT_C3)
50895 #define G_T5_TXSTAT_C3(x) (((x) >> S_T5_TXSTAT_C3) & M_T5_TXSTAT_C3)
50897 #define A_MAC_PORT_AE_REG_MODE 0x2a10
50899 #define S_AET_RSVD 7
50900 #define V_AET_RSVD(x) ((x) << S_AET_RSVD)
50901 #define F_AET_RSVD V_AET_RSVD(1U)
50903 #define S_AET_ENABLE 6
50904 #define V_AET_ENABLE(x) ((x) << S_AET_ENABLE)
50905 #define F_AET_ENABLE V_AET_ENABLE(1U)
50907 #define S_SET_WAIT_TIMER 13
50908 #define M_SET_WAIT_TIMER 0x3U
50909 #define V_SET_WAIT_TIMER(x) ((x) << S_SET_WAIT_TIMER)
50910 #define G_SET_WAIT_TIMER(x) (((x) >> S_SET_WAIT_TIMER) & M_SET_WAIT_TIMER)
50912 #define S_C2_C3_STATE_SEL 12
50913 #define V_C2_C3_STATE_SEL(x) ((x) << S_C2_C3_STATE_SEL)
50914 #define F_C2_C3_STATE_SEL V_C2_C3_STATE_SEL(1U)
50916 #define S_FFE4_EN 11
50917 #define V_FFE4_EN(x) ((x) << S_FFE4_EN)
50918 #define F_FFE4_EN V_FFE4_EN(1U)
50920 #define S_FEC_REQUEST 10
50921 #define V_FEC_REQUEST(x) ((x) << S_FEC_REQUEST)
50922 #define F_FEC_REQUEST V_FEC_REQUEST(1U)
50924 #define S_FEC_SUPPORTED 9
50925 #define V_FEC_SUPPORTED(x) ((x) << S_FEC_SUPPORTED)
50926 #define F_FEC_SUPPORTED V_FEC_SUPPORTED(1U)
50928 #define S_TX_FIXED 8
50929 #define V_TX_FIXED(x) ((x) << S_TX_FIXED)
50930 #define F_TX_FIXED V_TX_FIXED(1U)
50932 #define A_MAC_PORT_AE_PRBS_CTL 0x2a14
50933 #define A_MAC_PORT_AE_FSM_CTL 0x2a18
50935 #define S_CIN_ENABLE 15
50936 #define V_CIN_ENABLE(x) ((x) << S_CIN_ENABLE)
50937 #define F_CIN_ENABLE V_CIN_ENABLE(1U)
50939 #define A_MAC_PORT_AE_FSM_STATE 0x2a1c
50940 #define A_MAC_PORT_AE_RX_COEF_REQ_1 0x2a20
50941 #define A_MAC_PORT_AE_RX_COEF_STAT_1 0x2a24
50943 #define S_T5_AE1_RXSTAT_RDY 15
50944 #define V_T5_AE1_RXSTAT_RDY(x) ((x) << S_T5_AE1_RXSTAT_RDY)
50945 #define F_T5_AE1_RXSTAT_RDY V_T5_AE1_RXSTAT_RDY(1U)
50947 #define S_T5_AE1_RXSTAT_C2 4
50948 #define M_T5_AE1_RXSTAT_C2 0x3U
50949 #define V_T5_AE1_RXSTAT_C2(x) ((x) << S_T5_AE1_RXSTAT_C2)
50950 #define G_T5_AE1_RXSTAT_C2(x) (((x) >> S_T5_AE1_RXSTAT_C2) & M_T5_AE1_RXSTAT_C2)
50952 #define S_T5_AE1_RXSTAT_C1 2
50953 #define M_T5_AE1_RXSTAT_C1 0x3U
50954 #define V_T5_AE1_RXSTAT_C1(x) ((x) << S_T5_AE1_RXSTAT_C1)
50955 #define G_T5_AE1_RXSTAT_C1(x) (((x) >> S_T5_AE1_RXSTAT_C1) & M_T5_AE1_RXSTAT_C1)
50957 #define S_T5_AE1_RXSTAT_C0 0
50958 #define M_T5_AE1_RXSTAT_C0 0x3U
50959 #define V_T5_AE1_RXSTAT_C0(x) ((x) << S_T5_AE1_RXSTAT_C0)
50960 #define G_T5_AE1_RXSTAT_C0(x) (((x) >> S_T5_AE1_RXSTAT_C0) & M_T5_AE1_RXSTAT_C0)
50962 #define S_T5_AE1_RXSTAT_LSNA 14
50963 #define V_T5_AE1_RXSTAT_LSNA(x) ((x) << S_T5_AE1_RXSTAT_LSNA)
50964 #define F_T5_AE1_RXSTAT_LSNA V_T5_AE1_RXSTAT_LSNA(1U)
50966 #define S_T5_AE1_RXSTAT_FEC 13
50967 #define V_T5_AE1_RXSTAT_FEC(x) ((x) << S_T5_AE1_RXSTAT_FEC)
50968 #define F_T5_AE1_RXSTAT_FEC V_T5_AE1_RXSTAT_FEC(1U)
50970 #define S_T5_AE1_RXSTAT_TF 12
50971 #define V_T5_AE1_RXSTAT_TF(x) ((x) << S_T5_AE1_RXSTAT_TF)
50972 #define F_T5_AE1_RXSTAT_TF V_T5_AE1_RXSTAT_TF(1U)
50974 #define S_T5_AE1_RXSTAT_C3 6
50975 #define M_T5_AE1_RXSTAT_C3 0x3U
50976 #define V_T5_AE1_RXSTAT_C3(x) ((x) << S_T5_AE1_RXSTAT_C3)
50977 #define G_T5_AE1_RXSTAT_C3(x) (((x) >> S_T5_AE1_RXSTAT_C3) & M_T5_AE1_RXSTAT_C3)
50979 #define A_MAC_PORT_AE_TX_COEF_REQ_1 0x2a28
50980 #define A_MAC_PORT_AE_TX_COEF_STAT_1 0x2a2c
50981 #define A_MAC_PORT_AE_REG_MODE_1 0x2a30
50982 #define A_MAC_PORT_AE_PRBS_CTL_1 0x2a34
50983 #define A_MAC_PORT_AE_FSM_CTL_1 0x2a38
50984 #define A_MAC_PORT_AE_FSM_STATE_1 0x2a3c
50985 #define A_MAC_PORT_AE_RX_COEF_REQ_2 0x2a40
50986 #define A_MAC_PORT_AE_RX_COEF_STAT_2 0x2a44
50988 #define S_T5_AE2_RXSTAT_RDY 15
50989 #define V_T5_AE2_RXSTAT_RDY(x) ((x) << S_T5_AE2_RXSTAT_RDY)
50990 #define F_T5_AE2_RXSTAT_RDY V_T5_AE2_RXSTAT_RDY(1U)
50992 #define S_T5_AE2_RXSTAT_C2 4
50993 #define M_T5_AE2_RXSTAT_C2 0x3U
50994 #define V_T5_AE2_RXSTAT_C2(x) ((x) << S_T5_AE2_RXSTAT_C2)
50995 #define G_T5_AE2_RXSTAT_C2(x) (((x) >> S_T5_AE2_RXSTAT_C2) & M_T5_AE2_RXSTAT_C2)
50997 #define S_T5_AE2_RXSTAT_C1 2
50998 #define M_T5_AE2_RXSTAT_C1 0x3U
50999 #define V_T5_AE2_RXSTAT_C1(x) ((x) << S_T5_AE2_RXSTAT_C1)
51000 #define G_T5_AE2_RXSTAT_C1(x) (((x) >> S_T5_AE2_RXSTAT_C1) & M_T5_AE2_RXSTAT_C1)
51002 #define S_T5_AE2_RXSTAT_C0 0
51003 #define M_T5_AE2_RXSTAT_C0 0x3U
51004 #define V_T5_AE2_RXSTAT_C0(x) ((x) << S_T5_AE2_RXSTAT_C0)
51005 #define G_T5_AE2_RXSTAT_C0(x) (((x) >> S_T5_AE2_RXSTAT_C0) & M_T5_AE2_RXSTAT_C0)
51007 #define S_T5_AE2_RXSTAT_LSNA 14
51008 #define V_T5_AE2_RXSTAT_LSNA(x) ((x) << S_T5_AE2_RXSTAT_LSNA)
51009 #define F_T5_AE2_RXSTAT_LSNA V_T5_AE2_RXSTAT_LSNA(1U)
51011 #define S_T5_AE2_RXSTAT_FEC 13
51012 #define V_T5_AE2_RXSTAT_FEC(x) ((x) << S_T5_AE2_RXSTAT_FEC)
51013 #define F_T5_AE2_RXSTAT_FEC V_T5_AE2_RXSTAT_FEC(1U)
51015 #define S_T5_AE2_RXSTAT_TF 12
51016 #define V_T5_AE2_RXSTAT_TF(x) ((x) << S_T5_AE2_RXSTAT_TF)
51017 #define F_T5_AE2_RXSTAT_TF V_T5_AE2_RXSTAT_TF(1U)
51019 #define S_T5_AE2_RXSTAT_C3 6
51020 #define M_T5_AE2_RXSTAT_C3 0x3U
51021 #define V_T5_AE2_RXSTAT_C3(x) ((x) << S_T5_AE2_RXSTAT_C3)
51022 #define G_T5_AE2_RXSTAT_C3(x) (((x) >> S_T5_AE2_RXSTAT_C3) & M_T5_AE2_RXSTAT_C3)
51024 #define A_MAC_PORT_AE_TX_COEF_REQ_2 0x2a48
51025 #define A_MAC_PORT_AE_TX_COEF_STAT_2 0x2a4c
51026 #define A_MAC_PORT_AE_REG_MODE_2 0x2a50
51027 #define A_MAC_PORT_AE_PRBS_CTL_2 0x2a54
51028 #define A_MAC_PORT_AE_FSM_CTL_2 0x2a58
51029 #define A_MAC_PORT_AE_FSM_STATE_2 0x2a5c
51030 #define A_MAC_PORT_AE_RX_COEF_REQ_3 0x2a60
51031 #define A_MAC_PORT_AE_RX_COEF_STAT_3 0x2a64
51033 #define S_T5_AE3_RXSTAT_RDY 15
51034 #define V_T5_AE3_RXSTAT_RDY(x) ((x) << S_T5_AE3_RXSTAT_RDY)
51035 #define F_T5_AE3_RXSTAT_RDY V_T5_AE3_RXSTAT_RDY(1U)
51037 #define S_T5_AE3_RXSTAT_C2 4
51038 #define M_T5_AE3_RXSTAT_C2 0x3U
51039 #define V_T5_AE3_RXSTAT_C2(x) ((x) << S_T5_AE3_RXSTAT_C2)
51040 #define G_T5_AE3_RXSTAT_C2(x) (((x) >> S_T5_AE3_RXSTAT_C2) & M_T5_AE3_RXSTAT_C2)
51042 #define S_T5_AE3_RXSTAT_C1 2
51043 #define M_T5_AE3_RXSTAT_C1 0x3U
51044 #define V_T5_AE3_RXSTAT_C1(x) ((x) << S_T5_AE3_RXSTAT_C1)
51045 #define G_T5_AE3_RXSTAT_C1(x) (((x) >> S_T5_AE3_RXSTAT_C1) & M_T5_AE3_RXSTAT_C1)
51047 #define S_T5_AE3_RXSTAT_C0 0
51048 #define M_T5_AE3_RXSTAT_C0 0x3U
51049 #define V_T5_AE3_RXSTAT_C0(x) ((x) << S_T5_AE3_RXSTAT_C0)
51050 #define G_T5_AE3_RXSTAT_C0(x) (((x) >> S_T5_AE3_RXSTAT_C0) & M_T5_AE3_RXSTAT_C0)
51052 #define S_T5_AE3_RXSTAT_LSNA 14
51053 #define V_T5_AE3_RXSTAT_LSNA(x) ((x) << S_T5_AE3_RXSTAT_LSNA)
51054 #define F_T5_AE3_RXSTAT_LSNA V_T5_AE3_RXSTAT_LSNA(1U)
51056 #define S_T5_AE3_RXSTAT_FEC 13
51057 #define V_T5_AE3_RXSTAT_FEC(x) ((x) << S_T5_AE3_RXSTAT_FEC)
51058 #define F_T5_AE3_RXSTAT_FEC V_T5_AE3_RXSTAT_FEC(1U)
51060 #define S_T5_AE3_RXSTAT_TF 12
51061 #define V_T5_AE3_RXSTAT_TF(x) ((x) << S_T5_AE3_RXSTAT_TF)
51062 #define F_T5_AE3_RXSTAT_TF V_T5_AE3_RXSTAT_TF(1U)
51064 #define S_T5_AE3_RXSTAT_C3 6
51065 #define M_T5_AE3_RXSTAT_C3 0x3U
51066 #define V_T5_AE3_RXSTAT_C3(x) ((x) << S_T5_AE3_RXSTAT_C3)
51067 #define G_T5_AE3_RXSTAT_C3(x) (((x) >> S_T5_AE3_RXSTAT_C3) & M_T5_AE3_RXSTAT_C3)
51069 #define A_MAC_PORT_AE_TX_COEF_REQ_3 0x2a68
51070 #define A_MAC_PORT_AE_TX_COEF_STAT_3 0x2a6c
51071 #define A_MAC_PORT_AE_REG_MODE_3 0x2a70
51072 #define A_MAC_PORT_AE_PRBS_CTL_3 0x2a74
51073 #define A_MAC_PORT_AE_FSM_CTL_3 0x2a78
51074 #define A_MAC_PORT_AE_FSM_STATE_3 0x2a7c
51075 #define A_MAC_PORT_AE_TX_DIS 0x2a80
51076 #define A_MAC_PORT_AE_KR_CTRL 0x2a84
51077 #define A_MAC_PORT_AE_RX_SIGDET 0x2a88
51078 #define A_MAC_PORT_AE_KR_STATUS 0x2a8c
51079 #define A_MAC_PORT_AE_TX_DIS_1 0x2a90
51080 #define A_MAC_PORT_AE_KR_CTRL_1 0x2a94
51081 #define A_MAC_PORT_AE_RX_SIGDET_1 0x2a98
51082 #define A_MAC_PORT_AE_KR_STATUS_1 0x2a9c
51083 #define A_MAC_PORT_AE_TX_DIS_2 0x2aa0
51084 #define A_MAC_PORT_AE_KR_CTRL_2 0x2aa4
51085 #define A_MAC_PORT_AE_RX_SIGDET_2 0x2aa8
51086 #define A_MAC_PORT_AE_KR_STATUS_2 0x2aac
51087 #define A_MAC_PORT_AE_TX_DIS_3 0x2ab0
51088 #define A_MAC_PORT_AE_KR_CTRL_3 0x2ab4
51089 #define A_MAC_PORT_AE_RX_SIGDET_3 0x2ab8
51090 #define A_MAC_PORT_AE_KR_STATUS_3 0x2abc
51091 #define A_MAC_PORT_AET_STAGE_CONFIGURATION_0 0x2b00
51093 #define S_EN_HOLD_FAIL 14
51094 #define V_EN_HOLD_FAIL(x) ((x) << S_EN_HOLD_FAIL)
51095 #define F_EN_HOLD_FAIL V_EN_HOLD_FAIL(1U)
51097 #define S_INIT_METH 12
51098 #define M_INIT_METH 0x3U
51099 #define V_INIT_METH(x) ((x) << S_INIT_METH)
51100 #define G_INIT_METH(x) (((x) >> S_INIT_METH) & M_INIT_METH)
51102 #define S_CE_DECS 8
51103 #define M_CE_DECS 0xfU
51104 #define V_CE_DECS(x) ((x) << S_CE_DECS)
51105 #define G_CE_DECS(x) (((x) >> S_CE_DECS) & M_CE_DECS)
51108 #define V_EN_ZFE(x) ((x) << S_EN_ZFE)
51109 #define F_EN_ZFE V_EN_ZFE(1U)
51111 #define S_EN_GAIN_TOG 6
51112 #define V_EN_GAIN_TOG(x) ((x) << S_EN_GAIN_TOG)
51113 #define F_EN_GAIN_TOG V_EN_GAIN_TOG(1U)
51115 #define S_EN_AI_C1 5
51116 #define V_EN_AI_C1(x) ((x) << S_EN_AI_C1)
51117 #define F_EN_AI_C1 V_EN_AI_C1(1U)
51119 #define S_EN_MAX_ST 4
51120 #define V_EN_MAX_ST(x) ((x) << S_EN_MAX_ST)
51121 #define F_EN_MAX_ST V_EN_MAX_ST(1U)
51123 #define S_EN_H1T_EQ 3
51124 #define V_EN_H1T_EQ(x) ((x) << S_EN_H1T_EQ)
51125 #define F_EN_H1T_EQ V_EN_H1T_EQ(1U)
51127 #define S_H1TEQ_GOAL 0
51128 #define M_H1TEQ_GOAL 0x7U
51129 #define V_H1TEQ_GOAL(x) ((x) << S_H1TEQ_GOAL)
51130 #define G_H1TEQ_GOAL(x) (((x) >> S_H1TEQ_GOAL) & M_H1TEQ_GOAL)
51132 #define S_T6_INIT_METH 12
51133 #define M_T6_INIT_METH 0xfU
51134 #define V_T6_INIT_METH(x) ((x) << S_T6_INIT_METH)
51135 #define G_T6_INIT_METH(x) (((x) >> S_T6_INIT_METH) & M_T6_INIT_METH)
51137 #define S_INIT_CNT 8
51138 #define M_INIT_CNT 0xfU
51139 #define V_INIT_CNT(x) ((x) << S_INIT_CNT)
51140 #define G_INIT_CNT(x) (((x) >> S_INIT_CNT) & M_INIT_CNT)
51142 #define S_EN_AI_N0 5
51143 #define V_EN_AI_N0(x) ((x) << S_EN_AI_N0)
51144 #define F_EN_AI_N0 V_EN_AI_N0(1U)
51146 #define A_MAC_PORT_AET_SIGNAL_LOSS_DETECTION_0 0x2b04
51148 #define S_GAIN_TH 6
51149 #define M_GAIN_TH 0x1fU
51150 #define V_GAIN_TH(x) ((x) << S_GAIN_TH)
51151 #define G_GAIN_TH(x) (((x) >> S_GAIN_TH) & M_GAIN_TH)
51153 #define S_EN_SD_TH 5
51154 #define V_EN_SD_TH(x) ((x) << S_EN_SD_TH)
51155 #define F_EN_SD_TH V_EN_SD_TH(1U)
51157 #define S_EN_AMIN_TH 4
51158 #define V_EN_AMIN_TH(x) ((x) << S_EN_AMIN_TH)
51159 #define F_EN_AMIN_TH V_EN_AMIN_TH(1U)
51161 #define S_AMIN_TH 0
51162 #define M_AMIN_TH 0xfU
51163 #define V_AMIN_TH(x) ((x) << S_AMIN_TH)
51164 #define G_AMIN_TH(x) (((x) >> S_AMIN_TH) & M_AMIN_TH)
51166 #define S_FEC_CNV 15
51167 #define V_FEC_CNV(x) ((x) << S_FEC_CNV)
51168 #define F_FEC_CNV V_FEC_CNV(1U)
51170 #define S_EN_RETRY 14
51171 #define V_EN_RETRY(x) ((x) << S_EN_RETRY)
51172 #define F_EN_RETRY V_EN_RETRY(1U)
51174 #define S_DPC_METH 12
51175 #define M_DPC_METH 0x3U
51176 #define V_DPC_METH(x) ((x) << S_DPC_METH)
51177 #define G_DPC_METH(x) (((x) >> S_DPC_METH) & M_DPC_METH)
51180 #define V_EN_P2(x) ((x) << S_EN_P2)
51181 #define F_EN_P2 V_EN_P2(1U)
51183 #define A_MAC_PORT_AET_ZFE_LIMITS_0 0x2b08
51185 #define S_ACC_LIM 8
51186 #define M_ACC_LIM 0xfU
51187 #define V_ACC_LIM(x) ((x) << S_ACC_LIM)
51188 #define G_ACC_LIM(x) (((x) >> S_ACC_LIM) & M_ACC_LIM)
51190 #define S_CNV_LIM 4
51191 #define M_CNV_LIM 0xfU
51192 #define V_CNV_LIM(x) ((x) << S_CNV_LIM)
51193 #define G_CNV_LIM(x) (((x) >> S_CNV_LIM) & M_CNV_LIM)
51195 #define S_TOG_LIM 0
51196 #define M_TOG_LIM 0xfU
51197 #define V_TOG_LIM(x) ((x) << S_TOG_LIM)
51198 #define G_TOG_LIM(x) (((x) >> S_TOG_LIM) & M_TOG_LIM)
51200 #define A_MAC_PORT_AET_BOOTSTRAP_LOOKUP_TABLE_0 0x2b0c
51202 #define S_BOOT_LUT7 12
51203 #define M_BOOT_LUT7 0xfU
51204 #define V_BOOT_LUT7(x) ((x) << S_BOOT_LUT7)
51205 #define G_BOOT_LUT7(x) (((x) >> S_BOOT_LUT7) & M_BOOT_LUT7)
51207 #define S_BOOT_LUT6 8
51208 #define M_BOOT_LUT6 0xfU
51209 #define V_BOOT_LUT6(x) ((x) << S_BOOT_LUT6)
51210 #define G_BOOT_LUT6(x) (((x) >> S_BOOT_LUT6) & M_BOOT_LUT6)
51212 #define S_BOOT_LUT45 4
51213 #define M_BOOT_LUT45 0xfU
51214 #define V_BOOT_LUT45(x) ((x) << S_BOOT_LUT45)
51215 #define G_BOOT_LUT45(x) (((x) >> S_BOOT_LUT45) & M_BOOT_LUT45)
51217 #define S_BOOT_LUT0123 2
51218 #define M_BOOT_LUT0123 0x3U
51219 #define V_BOOT_LUT0123(x) ((x) << S_BOOT_LUT0123)
51220 #define G_BOOT_LUT0123(x) (((x) >> S_BOOT_LUT0123) & M_BOOT_LUT0123)
51222 #define S_BOOT_DEC_C0 1
51223 #define V_BOOT_DEC_C0(x) ((x) << S_BOOT_DEC_C0)
51224 #define F_BOOT_DEC_C0 V_BOOT_DEC_C0(1U)
51226 #define S_BOOT_LUT5 8
51227 #define M_BOOT_LUT5 0xfU
51228 #define V_BOOT_LUT5(x) ((x) << S_BOOT_LUT5)
51229 #define G_BOOT_LUT5(x) (((x) >> S_BOOT_LUT5) & M_BOOT_LUT5)
51231 #define A_MAC_PORT_AET_STATUS_0 0x2b10
51233 #define S_AET_STAT 9
51234 #define M_AET_STAT 0xfU
51235 #define V_AET_STAT(x) ((x) << S_AET_STAT)
51236 #define G_AET_STAT(x) (((x) >> S_AET_STAT) & M_AET_STAT)
51238 #define S_NEU_STATE 5
51239 #define M_NEU_STATE 0xfU
51240 #define V_NEU_STATE(x) ((x) << S_NEU_STATE)
51241 #define G_NEU_STATE(x) (((x) >> S_NEU_STATE) & M_NEU_STATE)
51243 #define S_CTRL_STATE 0
51244 #define M_CTRL_STATE 0x1fU
51245 #define V_CTRL_STATE(x) ((x) << S_CTRL_STATE)
51246 #define G_CTRL_STATE(x) (((x) >> S_CTRL_STATE) & M_CTRL_STATE)
51248 #define S_CTRL_STAT 8
51249 #define M_CTRL_STAT 0x1fU
51250 #define V_CTRL_STAT(x) ((x) << S_CTRL_STAT)
51251 #define G_CTRL_STAT(x) (((x) >> S_CTRL_STAT) & M_CTRL_STAT)
51253 #define S_T6_NEU_STATE 4
51254 #define M_T6_NEU_STATE 0xfU
51255 #define V_T6_NEU_STATE(x) ((x) << S_T6_NEU_STATE)
51256 #define G_T6_NEU_STATE(x) (((x) >> S_T6_NEU_STATE) & M_T6_NEU_STATE)
51258 #define S_T6_CTRL_STATE 0
51259 #define M_T6_CTRL_STATE 0xfU
51260 #define V_T6_CTRL_STATE(x) ((x) << S_T6_CTRL_STATE)
51261 #define G_T6_CTRL_STATE(x) (((x) >> S_T6_CTRL_STATE) & M_T6_CTRL_STATE)
51263 #define A_MAC_PORT_AET_STATUS_20 0x2b14
51265 #define S_FRAME_LOCK_CNT 0
51266 #define M_FRAME_LOCK_CNT 0x7U
51267 #define V_FRAME_LOCK_CNT(x) ((x) << S_FRAME_LOCK_CNT)
51268 #define G_FRAME_LOCK_CNT(x) (((x) >> S_FRAME_LOCK_CNT) & M_FRAME_LOCK_CNT)
51270 #define A_MAC_PORT_AET_LIMITS0 0x2b18
51272 #define S_DPC_TIME_LIM 0
51273 #define M_DPC_TIME_LIM 0x3U
51274 #define V_DPC_TIME_LIM(x) ((x) << S_DPC_TIME_LIM)
51275 #define G_DPC_TIME_LIM(x) (((x) >> S_DPC_TIME_LIM) & M_DPC_TIME_LIM)
51277 #define A_MAC_PORT_AET_STAGE_CONFIGURATION_1 0x2b20
51279 #define S_T6_INIT_METH 12
51280 #define M_T6_INIT_METH 0xfU
51281 #define V_T6_INIT_METH(x) ((x) << S_T6_INIT_METH)
51282 #define G_T6_INIT_METH(x) (((x) >> S_T6_INIT_METH) & M_T6_INIT_METH)
51284 #define A_MAC_PORT_AET_SIGNAL_LOSS_DETECTION_1 0x2b24
51285 #define A_MAC_PORT_AET_ZFE_LIMITS_1 0x2b28
51286 #define A_MAC_PORT_AET_BOOTSTRAP_LOOKUP_TABLE_1 0x2b2c
51287 #define A_MAC_PORT_AET_STATUS_1 0x2b30
51289 #define S_T6_NEU_STATE 4
51290 #define M_T6_NEU_STATE 0xfU
51291 #define V_T6_NEU_STATE(x) ((x) << S_T6_NEU_STATE)
51292 #define G_T6_NEU_STATE(x) (((x) >> S_T6_NEU_STATE) & M_T6_NEU_STATE)
51294 #define S_T6_CTRL_STATE 0
51295 #define M_T6_CTRL_STATE 0xfU
51296 #define V_T6_CTRL_STATE(x) ((x) << S_T6_CTRL_STATE)
51297 #define G_T6_CTRL_STATE(x) (((x) >> S_T6_CTRL_STATE) & M_T6_CTRL_STATE)
51299 #define A_MAC_PORT_AET_STATUS_21 0x2b34
51300 #define A_MAC_PORT_AET_LIMITS1 0x2b38
51301 #define A_MAC_PORT_AET_STAGE_CONFIGURATION_2 0x2b40
51303 #define S_T6_INIT_METH 12
51304 #define M_T6_INIT_METH 0xfU
51305 #define V_T6_INIT_METH(x) ((x) << S_T6_INIT_METH)
51306 #define G_T6_INIT_METH(x) (((x) >> S_T6_INIT_METH) & M_T6_INIT_METH)
51308 #define A_MAC_PORT_AET_SIGNAL_LOSS_DETECTION_2 0x2b44
51309 #define A_MAC_PORT_AET_ZFE_LIMITS_2 0x2b48
51310 #define A_MAC_PORT_AET_BOOTSTRAP_LOOKUP_TABLE_2 0x2b4c
51311 #define A_MAC_PORT_AET_STATUS_2 0x2b50
51313 #define S_T6_NEU_STATE 4
51314 #define M_T6_NEU_STATE 0xfU
51315 #define V_T6_NEU_STATE(x) ((x) << S_T6_NEU_STATE)
51316 #define G_T6_NEU_STATE(x) (((x) >> S_T6_NEU_STATE) & M_T6_NEU_STATE)
51318 #define S_T6_CTRL_STATE 0
51319 #define M_T6_CTRL_STATE 0xfU
51320 #define V_T6_CTRL_STATE(x) ((x) << S_T6_CTRL_STATE)
51321 #define G_T6_CTRL_STATE(x) (((x) >> S_T6_CTRL_STATE) & M_T6_CTRL_STATE)
51323 #define A_MAC_PORT_AET_STATUS_22 0x2b54
51324 #define A_MAC_PORT_AET_LIMITS2 0x2b58
51325 #define A_MAC_PORT_AET_STAGE_CONFIGURATION_3 0x2b60
51327 #define S_T6_INIT_METH 12
51328 #define M_T6_INIT_METH 0xfU
51329 #define V_T6_INIT_METH(x) ((x) << S_T6_INIT_METH)
51330 #define G_T6_INIT_METH(x) (((x) >> S_T6_INIT_METH) & M_T6_INIT_METH)
51332 #define A_MAC_PORT_AET_SIGNAL_LOSS_DETECTION_3 0x2b64
51333 #define A_MAC_PORT_AET_ZFE_LIMITS_3 0x2b68
51334 #define A_MAC_PORT_AET_BOOTSTRAP_LOOKUP_TABLE_3 0x2b6c
51335 #define A_MAC_PORT_AET_STATUS_3 0x2b70
51337 #define S_T6_NEU_STATE 4
51338 #define M_T6_NEU_STATE 0xfU
51339 #define V_T6_NEU_STATE(x) ((x) << S_T6_NEU_STATE)
51340 #define G_T6_NEU_STATE(x) (((x) >> S_T6_NEU_STATE) & M_T6_NEU_STATE)
51342 #define S_T6_CTRL_STATE 0
51343 #define M_T6_CTRL_STATE 0xfU
51344 #define V_T6_CTRL_STATE(x) ((x) << S_T6_CTRL_STATE)
51345 #define G_T6_CTRL_STATE(x) (((x) >> S_T6_CTRL_STATE) & M_T6_CTRL_STATE)
51347 #define A_MAC_PORT_AET_STATUS_23 0x2b74
51348 #define A_MAC_PORT_AET_LIMITS3 0x2b78
51349 #define A_T6_MAC_PORT_BEAN_CTL 0x2c00
51350 #define A_T6_MAC_PORT_BEAN_STATUS 0x2c04
51351 #define A_T6_MAC_PORT_BEAN_ABILITY_0 0x2c08
51353 #define S_BEAN_REM_FAULT 13
51354 #define V_BEAN_REM_FAULT(x) ((x) << S_BEAN_REM_FAULT)
51355 #define F_BEAN_REM_FAULT V_BEAN_REM_FAULT(1U)
51357 #define A_T6_MAC_PORT_BEAN_ABILITY_1 0x2c0c
51358 #define A_T6_MAC_PORT_BEAN_ABILITY_2 0x2c10
51359 #define A_T6_MAC_PORT_BEAN_REM_ABILITY_0 0x2c14
51361 #define S_BEAN_ABL_REM_FAULT 13
51362 #define V_BEAN_ABL_REM_FAULT(x) ((x) << S_BEAN_ABL_REM_FAULT)
51363 #define F_BEAN_ABL_REM_FAULT V_BEAN_ABL_REM_FAULT(1U)
51365 #define A_T6_MAC_PORT_BEAN_REM_ABILITY_1 0x2c18
51366 #define A_T6_MAC_PORT_BEAN_REM_ABILITY_2 0x2c1c
51367 #define A_T6_MAC_PORT_BEAN_MS_COUNT 0x2c20
51368 #define A_T6_MAC_PORT_BEAN_XNP_0 0x2c24
51369 #define A_T6_MAC_PORT_BEAN_XNP_1 0x2c28
51370 #define A_T6_MAC_PORT_BEAN_XNP_2 0x2c2c
51371 #define A_T6_MAC_PORT_LP_BEAN_XNP_0 0x2c30
51372 #define A_T6_MAC_PORT_LP_BEAN_XNP_1 0x2c34
51373 #define A_T6_MAC_PORT_LP_BEAN_XNP_2 0x2c38
51374 #define A_T6_MAC_PORT_BEAN_ETH_STATUS 0x2c3c
51376 #define S_100GCR4 11
51377 #define V_100GCR4(x) ((x) << S_100GCR4)
51378 #define F_100GCR4 V_100GCR4(1U)
51380 #define S_100GKR4 10
51381 #define V_100GKR4(x) ((x) << S_100GKR4)
51382 #define F_100GKR4 V_100GKR4(1U)
51384 #define S_100GKP4 9
51385 #define V_100GKP4(x) ((x) << S_100GKP4)
51386 #define F_100GKP4 V_100GKP4(1U)
51388 #define A_MAC_PORT_TX_LINKA_TRANSMIT_CONFIGURATION_MODE 0x3000
51390 #define S_T5_TX_LINKEN 15
51391 #define V_T5_TX_LINKEN(x) ((x) << S_T5_TX_LINKEN)
51392 #define F_T5_TX_LINKEN V_T5_TX_LINKEN(1U)
51394 #define S_T5_TX_LINKRST 14
51395 #define V_T5_TX_LINKRST(x) ((x) << S_T5_TX_LINKRST)
51396 #define F_T5_TX_LINKRST V_T5_TX_LINKRST(1U)
51398 #define S_T5_TX_CFGWRT 13
51399 #define V_T5_TX_CFGWRT(x) ((x) << S_T5_TX_CFGWRT)
51400 #define F_T5_TX_CFGWRT V_T5_TX_CFGWRT(1U)
51402 #define S_T5_TX_CFGPTR 11
51403 #define M_T5_TX_CFGPTR 0x3U
51404 #define V_T5_TX_CFGPTR(x) ((x) << S_T5_TX_CFGPTR)
51405 #define G_T5_TX_CFGPTR(x) (((x) >> S_T5_TX_CFGPTR) & M_T5_TX_CFGPTR)
51407 #define S_T5_TX_CFGEXT 10
51408 #define V_T5_TX_CFGEXT(x) ((x) << S_T5_TX_CFGEXT)
51409 #define F_T5_TX_CFGEXT V_T5_TX_CFGEXT(1U)
51411 #define S_T5_TX_CFGACT 9
51412 #define V_T5_TX_CFGACT(x) ((x) << S_T5_TX_CFGACT)
51413 #define F_T5_TX_CFGACT V_T5_TX_CFGACT(1U)
51415 #define S_T5_TX_RSYNCC 8
51416 #define V_T5_TX_RSYNCC(x) ((x) << S_T5_TX_RSYNCC)
51417 #define F_T5_TX_RSYNCC V_T5_TX_RSYNCC(1U)
51419 #define S_T5_TX_PLLSEL 6
51420 #define M_T5_TX_PLLSEL 0x3U
51421 #define V_T5_TX_PLLSEL(x) ((x) << S_T5_TX_PLLSEL)
51422 #define G_T5_TX_PLLSEL(x) (((x) >> S_T5_TX_PLLSEL) & M_T5_TX_PLLSEL)
51424 #define S_T5_TX_EXTC16 5
51425 #define V_T5_TX_EXTC16(x) ((x) << S_T5_TX_EXTC16)
51426 #define F_T5_TX_EXTC16 V_T5_TX_EXTC16(1U)
51428 #define S_T5_TX_DCKSEL 4
51429 #define V_T5_TX_DCKSEL(x) ((x) << S_T5_TX_DCKSEL)
51430 #define F_T5_TX_DCKSEL V_T5_TX_DCKSEL(1U)
51432 #define S_T5_TX_RXLOOP 3
51433 #define V_T5_TX_RXLOOP(x) ((x) << S_T5_TX_RXLOOP)
51434 #define F_T5_TX_RXLOOP V_T5_TX_RXLOOP(1U)
51436 #define S_T5_TX_BWSEL 2
51437 #define V_T5_TX_BWSEL(x) ((x) << S_T5_TX_BWSEL)
51438 #define F_T5_TX_BWSEL V_T5_TX_BWSEL(1U)
51440 #define S_T5_TX_RTSEL 0
51441 #define M_T5_TX_RTSEL 0x3U
51442 #define V_T5_TX_RTSEL(x) ((x) << S_T5_TX_RTSEL)
51443 #define G_T5_TX_RTSEL(x) (((x) >> S_T5_TX_RTSEL) & M_T5_TX_RTSEL)
51445 #define S_T6_T5_TX_RXLOOP 5
51446 #define V_T6_T5_TX_RXLOOP(x) ((x) << S_T6_T5_TX_RXLOOP)
51447 #define F_T6_T5_TX_RXLOOP V_T6_T5_TX_RXLOOP(1U)
51449 #define S_T5_TX_ENFFE4 4
51450 #define V_T5_TX_ENFFE4(x) ((x) << S_T5_TX_ENFFE4)
51451 #define F_T5_TX_ENFFE4 V_T5_TX_ENFFE4(1U)
51453 #define S_T6_T5_TX_BWSEL 2
51454 #define M_T6_T5_TX_BWSEL 0x3U
51455 #define V_T6_T5_TX_BWSEL(x) ((x) << S_T6_T5_TX_BWSEL)
51456 #define G_T6_T5_TX_BWSEL(x) (((x) >> S_T6_T5_TX_BWSEL) & M_T6_T5_TX_BWSEL)
51458 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TEST_CONTROL 0x3004
51461 #define M_SPSEL 0x7U
51462 #define V_SPSEL(x) ((x) << S_SPSEL)
51463 #define G_SPSEL(x) (((x) >> S_SPSEL) & M_SPSEL)
51466 #define V_AFDWEN(x) ((x) << S_AFDWEN)
51467 #define F_AFDWEN V_AFDWEN(1U)
51470 #define V_TPGMD(x) ((x) << S_TPGMD)
51471 #define F_TPGMD V_TPGMD(1U)
51473 #define S_TC_FRCERR 10
51474 #define V_TC_FRCERR(x) ((x) << S_TC_FRCERR)
51475 #define F_TC_FRCERR V_TC_FRCERR(1U)
51477 #define S_T6_ERROR 9
51478 #define V_T6_ERROR(x) ((x) << S_T6_ERROR)
51479 #define F_T6_ERROR V_T6_ERROR(1U)
51482 #define V_SYNC(x) ((x) << S_SYNC)
51483 #define F_SYNC V_SYNC(1U)
51486 #define V_P7CHK(x) ((x) << S_P7CHK)
51487 #define F_P7CHK V_P7CHK(1U)
51489 #define A_MAC_PORT_TX_LINKA_TRANSMIT_COEFFICIENT_CONTROL 0x3008
51491 #define S_ZCALOVRD 8
51492 #define V_ZCALOVRD(x) ((x) << S_ZCALOVRD)
51493 #define F_ZCALOVRD V_ZCALOVRD(1U)
51496 #define V_AMMODE(x) ((x) << S_AMMODE)
51497 #define F_AMMODE V_AMMODE(1U)
51500 #define V_AEPOL(x) ((x) << S_AEPOL)
51501 #define F_AEPOL V_AEPOL(1U)
51504 #define V_AESRC(x) ((x) << S_AESRC)
51505 #define F_AESRC V_AESRC(1U)
51507 #define S_SASMODE 7
51508 #define V_SASMODE(x) ((x) << S_SASMODE)
51509 #define F_SASMODE V_SASMODE(1U)
51511 #define A_MAC_PORT_TX_LINKA_TRANSMIT_DRIVER_MODE_CONTROL 0x300c
51513 #define S_T5DRVHIZ 5
51514 #define V_T5DRVHIZ(x) ((x) << S_T5DRVHIZ)
51515 #define F_T5DRVHIZ V_T5DRVHIZ(1U)
51517 #define S_T5SASIMP 4
51518 #define V_T5SASIMP(x) ((x) << S_T5SASIMP)
51519 #define F_T5SASIMP V_T5SASIMP(1U)
51522 #define M_T5SLEW 0x3U
51523 #define V_T5SLEW(x) ((x) << S_T5SLEW)
51524 #define G_T5SLEW(x) (((x) >> S_T5SLEW) & M_T5SLEW)
51526 #define A_MAC_PORT_TX_LINKA_TRANSMIT_DRIVER_OVERRIDE_CONTROL 0x3010
51528 #define S_T5C2BUFDCEN 5
51529 #define V_T5C2BUFDCEN(x) ((x) << S_T5C2BUFDCEN)
51530 #define F_T5C2BUFDCEN V_T5C2BUFDCEN(1U)
51532 #define S_T5DCCEN 4
51533 #define V_T5DCCEN(x) ((x) << S_T5DCCEN)
51534 #define F_T5DCCEN V_T5DCCEN(1U)
51536 #define S_T5REGBYP 3
51537 #define V_T5REGBYP(x) ((x) << S_T5REGBYP)
51538 #define F_T5REGBYP V_T5REGBYP(1U)
51540 #define S_T5REGAEN 2
51541 #define V_T5REGAEN(x) ((x) << S_T5REGAEN)
51542 #define F_T5REGAEN V_T5REGAEN(1U)
51544 #define S_T5REGAMP 0
51545 #define M_T5REGAMP 0x3U
51546 #define V_T5REGAMP(x) ((x) << S_T5REGAMP)
51547 #define G_T5REGAMP(x) (((x) >> S_T5REGAMP) & M_T5REGAMP)
51549 #define A_MAC_PORT_TX_LINKA_TRANSMIT_DCLK_ROTATOR_OVERRIDE 0x3014
51552 #define V_RSTEP(x) ((x) << S_RSTEP)
51553 #define F_RSTEP V_RSTEP(1U)
51556 #define V_RLOCK(x) ((x) << S_RLOCK)
51557 #define F_RLOCK V_RLOCK(1U)
51560 #define M_RPOS 0x3fU
51561 #define V_RPOS(x) ((x) << S_RPOS)
51562 #define G_RPOS(x) (((x) >> S_RPOS) & M_RPOS)
51564 #define S_DCLKSAM 7
51565 #define V_DCLKSAM(x) ((x) << S_DCLKSAM)
51566 #define F_DCLKSAM V_DCLKSAM(1U)
51568 #define A_MAC_PORT_TX_LINKA_TRANSMIT_IMPEDANCE_CALIBRATION_OVERRIDE 0x3018
51570 #define S_CALSSTN 3
51571 #define M_CALSSTN 0x7U
51572 #define V_CALSSTN(x) ((x) << S_CALSSTN)
51573 #define G_CALSSTN(x) (((x) >> S_CALSSTN) & M_CALSSTN)
51575 #define S_CALSSTP 0
51576 #define M_CALSSTP 0x7U
51577 #define V_CALSSTP(x) ((x) << S_CALSSTP)
51578 #define G_CALSSTP(x) (((x) >> S_CALSSTP) & M_CALSSTP)
51580 #define S_T6_CALSSTN 8
51581 #define M_T6_CALSSTN 0x3fU
51582 #define V_T6_CALSSTN(x) ((x) << S_T6_CALSSTN)
51583 #define G_T6_CALSSTN(x) (((x) >> S_T6_CALSSTN) & M_T6_CALSSTN)
51585 #define S_T6_CALSSTP 0
51586 #define M_T6_CALSSTP 0x3fU
51587 #define V_T6_CALSSTP(x) ((x) << S_T6_CALSSTP)
51588 #define G_T6_CALSSTP(x) (((x) >> S_T6_CALSSTP) & M_T6_CALSSTP)
51590 #define A_MAC_PORT_TX_LINKA_TRANSMIT_DCLK_DRIFT_TOLERANCE 0x301c
51593 #define M_DRTOL 0x1fU
51594 #define V_DRTOL(x) ((x) << S_DRTOL)
51595 #define G_DRTOL(x) (((x) >> S_DRTOL) & M_DRTOL)
51597 #define S_T6_DRTOL 2
51598 #define M_T6_DRTOL 0x7U
51599 #define V_T6_DRTOL(x) ((x) << S_T6_DRTOL)
51600 #define G_T6_DRTOL(x) (((x) >> S_T6_DRTOL) & M_T6_DRTOL)
51602 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_0_COEFFICIENT 0x3020
51604 #define S_T5NXTT0 0
51605 #define M_T5NXTT0 0x1fU
51606 #define V_T5NXTT0(x) ((x) << S_T5NXTT0)
51607 #define G_T5NXTT0(x) (((x) >> S_T5NXTT0) & M_T5NXTT0)
51609 #define S_T6_NXTT0 0
51610 #define M_T6_NXTT0 0x3fU
51611 #define V_T6_NXTT0(x) ((x) << S_T6_NXTT0)
51612 #define G_T6_NXTT0(x) (((x) >> S_T6_NXTT0) & M_T6_NXTT0)
51614 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_1_COEFFICIENT 0x3024
51616 #define S_T5NXTT1 0
51617 #define M_T5NXTT1 0x3fU
51618 #define V_T5NXTT1(x) ((x) << S_T5NXTT1)
51619 #define G_T5NXTT1(x) (((x) >> S_T5NXTT1) & M_T5NXTT1)
51621 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_2_COEFFICIENT 0x3028
51623 #define S_T5NXTT2 0
51624 #define M_T5NXTT2 0x3fU
51625 #define V_T5NXTT2(x) ((x) << S_T5NXTT2)
51626 #define G_T5NXTT2(x) (((x) >> S_T5NXTT2) & M_T5NXTT2)
51628 #define S_T6_NXTT2 0
51629 #define M_T6_NXTT2 0x3fU
51630 #define V_T6_NXTT2(x) ((x) << S_T6_NXTT2)
51631 #define G_T6_NXTT2(x) (((x) >> S_T6_NXTT2) & M_T6_NXTT2)
51633 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_3_COEFFICIENT 0x302c
51636 #define M_NXTT3 0x3fU
51637 #define V_NXTT3(x) ((x) << S_NXTT3)
51638 #define G_NXTT3(x) (((x) >> S_NXTT3) & M_NXTT3)
51640 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AMPLITUDE 0x3030
51642 #define S_T5TXPWR 0
51643 #define M_T5TXPWR 0x3fU
51644 #define V_T5TXPWR(x) ((x) << S_T5TXPWR)
51645 #define G_T5TXPWR(x) (((x) >> S_T5TXPWR) & M_T5TXPWR)
51647 #define A_MAC_PORT_TX_LINKA_TRANSMIT_POLARITY 0x3034
51650 #define M_NXTPOL 0x7U
51651 #define V_NXTPOL(x) ((x) << S_NXTPOL)
51652 #define G_NXTPOL(x) (((x) >> S_NXTPOL) & M_NXTPOL)
51654 #define S_T6_NXTPOL 0
51655 #define M_T6_NXTPOL 0xfU
51656 #define V_T6_NXTPOL(x) ((x) << S_T6_NXTPOL)
51657 #define G_T6_NXTPOL(x) (((x) >> S_T6_NXTPOL) & M_T6_NXTPOL)
51659 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_COMMAND 0x3038
51661 #define S_CPREST 13
51662 #define V_CPREST(x) ((x) << S_CPREST)
51663 #define F_CPREST V_CPREST(1U)
51666 #define V_CINIT(x) ((x) << S_CINIT)
51667 #define F_CINIT V_CINIT(1U)
51669 #define S_SASCMD 10
51670 #define M_SASCMD 0x3U
51671 #define V_SASCMD(x) ((x) << S_SASCMD)
51672 #define G_SASCMD(x) (((x) >> S_SASCMD) & M_SASCMD)
51674 #define S_T6_C0UPDT 6
51675 #define M_T6_C0UPDT 0x3U
51676 #define V_T6_C0UPDT(x) ((x) << S_T6_C0UPDT)
51677 #define G_T6_C0UPDT(x) (((x) >> S_T6_C0UPDT) & M_T6_C0UPDT)
51680 #define M_C3UPDT 0x3U
51681 #define V_C3UPDT(x) ((x) << S_C3UPDT)
51682 #define G_C3UPDT(x) (((x) >> S_C3UPDT) & M_C3UPDT)
51684 #define S_T6_C2UPDT 2
51685 #define M_T6_C2UPDT 0x3U
51686 #define V_T6_C2UPDT(x) ((x) << S_T6_C2UPDT)
51687 #define G_T6_C2UPDT(x) (((x) >> S_T6_C2UPDT) & M_T6_C2UPDT)
51689 #define S_T6_C1UPDT 0
51690 #define M_T6_C1UPDT 0x3U
51691 #define V_T6_C1UPDT(x) ((x) << S_T6_C1UPDT)
51692 #define G_T6_C1UPDT(x) (((x) >> S_T6_C1UPDT) & M_T6_C1UPDT)
51694 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_STATUS 0x303c
51696 #define S_T6_C0STAT 6
51697 #define M_T6_C0STAT 0x3U
51698 #define V_T6_C0STAT(x) ((x) << S_T6_C0STAT)
51699 #define G_T6_C0STAT(x) (((x) >> S_T6_C0STAT) & M_T6_C0STAT)
51702 #define M_C3STAT 0x3U
51703 #define V_C3STAT(x) ((x) << S_C3STAT)
51704 #define G_C3STAT(x) (((x) >> S_C3STAT) & M_C3STAT)
51706 #define S_T6_C2STAT 2
51707 #define M_T6_C2STAT 0x3U
51708 #define V_T6_C2STAT(x) ((x) << S_T6_C2STAT)
51709 #define G_T6_C2STAT(x) (((x) >> S_T6_C2STAT) & M_T6_C2STAT)
51711 #define S_T6_C1STAT 0
51712 #define M_T6_C1STAT 0x3U
51713 #define V_T6_C1STAT(x) ((x) << S_T6_C1STAT)
51714 #define G_T6_C1STAT(x) (((x) >> S_T6_C1STAT) & M_T6_C1STAT)
51716 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_0_COEFFICIENT_OVERRIDE 0x3040
51717 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_TAP_0_COEFFICIENT_OVERRIDE 0x3040
51720 #define M_AETAP0 0x7fU
51721 #define V_AETAP0(x) ((x) << S_AETAP0)
51722 #define G_AETAP0(x) (((x) >> S_AETAP0) & M_AETAP0)
51724 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_1_COEFFICIENT_OVERRIDE 0x3044
51726 #define S_T5NIDAC1 0
51727 #define M_T5NIDAC1 0x3fU
51728 #define V_T5NIDAC1(x) ((x) << S_T5NIDAC1)
51729 #define G_T5NIDAC1(x) (((x) >> S_T5NIDAC1) & M_T5NIDAC1)
51731 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_TAP_1_COEFFICIENT_OVERRIDE 0x3044
51734 #define M_AETAP1 0x7fU
51735 #define V_AETAP1(x) ((x) << S_AETAP1)
51736 #define G_AETAP1(x) (((x) >> S_AETAP1) & M_AETAP1)
51738 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_2_COEFFICIENT_OVERRIDE 0x3048
51740 #define S_T5NIDAC2 0
51741 #define M_T5NIDAC2 0x3fU
51742 #define V_T5NIDAC2(x) ((x) << S_T5NIDAC2)
51743 #define G_T5NIDAC2(x) (((x) >> S_T5NIDAC2) & M_T5NIDAC2)
51745 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_TAP_2_COEFFICIENT_OVERRIDE 0x3048
51748 #define M_AETAP2 0x7fU
51749 #define V_AETAP2(x) ((x) << S_AETAP2)
51750 #define G_AETAP2(x) (((x) >> S_AETAP2) & M_AETAP2)
51752 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_TAP_3_COEFFICIENT_OVERRIDE 0x304c
51755 #define M_AETAP3 0x7fU
51756 #define V_AETAP3(x) ((x) << S_AETAP3)
51757 #define G_AETAP3(x) (((x) >> S_AETAP3) & M_AETAP3)
51759 #define A_MAC_PORT_TX_LINKA_TRANSMIT_APPLIED_TUNE_REGISTER 0x3050
51762 #define M_ATUNEN 0xffU
51763 #define V_ATUNEN(x) ((x) << S_ATUNEN)
51764 #define G_ATUNEN(x) (((x) >> S_ATUNEN) & M_ATUNEN)
51767 #define M_ATUNEP 0xffU
51768 #define V_ATUNEP(x) ((x) << S_ATUNEP)
51769 #define G_ATUNEP(x) (((x) >> S_ATUNEP) & M_ATUNEP)
51771 #define A_MAC_PORT_TX_LINKA_TRANSMIT_ANALOG_DIAGNOSTICS_REGISTER 0x3058
51773 #define S_DCCCOMPINV 8
51774 #define V_DCCCOMPINV(x) ((x) << S_DCCCOMPINV)
51775 #define F_DCCCOMPINV V_DCCCOMPINV(1U)
51777 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_0_COEFFICIENT_APPLIED 0x3060
51778 #define A_MAC_PORT_TX_LINKA_TRANSMIT_4X_SEGMENT_APPLIED 0x3060
51781 #define M_AS4X7 0x3U
51782 #define V_AS4X7(x) ((x) << S_AS4X7)
51783 #define G_AS4X7(x) (((x) >> S_AS4X7) & M_AS4X7)
51786 #define M_AS4X6 0x3U
51787 #define V_AS4X6(x) ((x) << S_AS4X6)
51788 #define G_AS4X6(x) (((x) >> S_AS4X6) & M_AS4X6)
51791 #define M_AS4X5 0x3U
51792 #define V_AS4X5(x) ((x) << S_AS4X5)
51793 #define G_AS4X5(x) (((x) >> S_AS4X5) & M_AS4X5)
51796 #define M_AS4X4 0x3U
51797 #define V_AS4X4(x) ((x) << S_AS4X4)
51798 #define G_AS4X4(x) (((x) >> S_AS4X4) & M_AS4X4)
51801 #define M_AS4X3 0x3U
51802 #define V_AS4X3(x) ((x) << S_AS4X3)
51803 #define G_AS4X3(x) (((x) >> S_AS4X3) & M_AS4X3)
51806 #define M_AS4X2 0x3U
51807 #define V_AS4X2(x) ((x) << S_AS4X2)
51808 #define G_AS4X2(x) (((x) >> S_AS4X2) & M_AS4X2)
51811 #define M_AS4X1 0x3U
51812 #define V_AS4X1(x) ((x) << S_AS4X1)
51813 #define G_AS4X1(x) (((x) >> S_AS4X1) & M_AS4X1)
51816 #define M_AS4X0 0x3U
51817 #define V_AS4X0(x) ((x) << S_AS4X0)
51818 #define G_AS4X0(x) (((x) >> S_AS4X0) & M_AS4X0)
51820 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_1_COEFFICIENT_APPLIED 0x3064
51822 #define S_T5AIDAC1 0
51823 #define M_T5AIDAC1 0x3fU
51824 #define V_T5AIDAC1(x) ((x) << S_T5AIDAC1)
51825 #define G_T5AIDAC1(x) (((x) >> S_T5AIDAC1) & M_T5AIDAC1)
51827 #define A_MAC_PORT_TX_LINKA_TRANSMIT_2X_SEGMENT_APPLIED 0x3064
51830 #define M_AS2X3 0x3U
51831 #define V_AS2X3(x) ((x) << S_AS2X3)
51832 #define G_AS2X3(x) (((x) >> S_AS2X3) & M_AS2X3)
51835 #define M_AS2X2 0x3U
51836 #define V_AS2X2(x) ((x) << S_AS2X2)
51837 #define G_AS2X2(x) (((x) >> S_AS2X2) & M_AS2X2)
51840 #define M_AS2X1 0x3U
51841 #define V_AS2X1(x) ((x) << S_AS2X1)
51842 #define G_AS2X1(x) (((x) >> S_AS2X1) & M_AS2X1)
51845 #define M_AS2X0 0x3U
51846 #define V_AS2X0(x) ((x) << S_AS2X0)
51847 #define G_AS2X0(x) (((x) >> S_AS2X0) & M_AS2X0)
51849 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_2_COEFFICIENT_APPLIED 0x3068
51850 #define A_MAC_PORT_TX_LINKA_TRANSMIT_1X_SEGMENT_APPLIED 0x3068
51853 #define M_AS1X7 0x3U
51854 #define V_AS1X7(x) ((x) << S_AS1X7)
51855 #define G_AS1X7(x) (((x) >> S_AS1X7) & M_AS1X7)
51858 #define M_AS1X6 0x3U
51859 #define V_AS1X6(x) ((x) << S_AS1X6)
51860 #define G_AS1X6(x) (((x) >> S_AS1X6) & M_AS1X6)
51863 #define M_AS1X5 0x3U
51864 #define V_AS1X5(x) ((x) << S_AS1X5)
51865 #define G_AS1X5(x) (((x) >> S_AS1X5) & M_AS1X5)
51868 #define M_AS1X4 0x3U
51869 #define V_AS1X4(x) ((x) << S_AS1X4)
51870 #define G_AS1X4(x) (((x) >> S_AS1X4) & M_AS1X4)
51873 #define M_AS1X3 0x3U
51874 #define V_AS1X3(x) ((x) << S_AS1X3)
51875 #define G_AS1X3(x) (((x) >> S_AS1X3) & M_AS1X3)
51878 #define M_AS1X2 0x3U
51879 #define V_AS1X2(x) ((x) << S_AS1X2)
51880 #define G_AS1X2(x) (((x) >> S_AS1X2) & M_AS1X2)
51883 #define M_AS1X1 0x3U
51884 #define V_AS1X1(x) ((x) << S_AS1X1)
51885 #define G_AS1X1(x) (((x) >> S_AS1X1) & M_AS1X1)
51888 #define M_AS1X0 0x3U
51889 #define V_AS1X0(x) ((x) << S_AS1X0)
51890 #define G_AS1X0(x) (((x) >> S_AS1X0) & M_AS1X0)
51892 #define A_MAC_PORT_TX_LINKA_TRANSMIT_SEGMENT_4X_TERMINATION_APPLIED 0x306c
51895 #define M_AT4X 0xffU
51896 #define V_AT4X(x) ((x) << S_AT4X)
51897 #define G_AT4X(x) (((x) >> S_AT4X) & M_AT4X)
51899 #define A_MAC_PORT_TX_LINKA_TRANSMIT_SEGMENT_DISABLE_APPLIED_1 0x3070
51902 #define M_MAINSC 0x3fU
51903 #define V_MAINSC(x) ((x) << S_MAINSC)
51904 #define G_MAINSC(x) (((x) >> S_MAINSC) & M_MAINSC)
51907 #define M_POSTSC 0x3fU
51908 #define V_POSTSC(x) ((x) << S_POSTSC)
51909 #define G_POSTSC(x) (((x) >> S_POSTSC) & M_POSTSC)
51911 #define A_MAC_PORT_TX_LINKA_TRANSMIT_SEGMENT_2X1X_TERMINATION_APPLIED 0x3070
51914 #define M_AT2X 0xfU
51915 #define V_AT2X(x) ((x) << S_AT2X)
51916 #define G_AT2X(x) (((x) >> S_AT2X) & M_AT2X)
51918 #define A_MAC_PORT_TX_LINKA_TRANSMIT_SEGMENT_DISABLE_APPLIED_2 0x3074
51921 #define M_PRESC 0x1fU
51922 #define V_PRESC(x) ((x) << S_PRESC)
51923 #define G_PRESC(x) (((x) >> S_PRESC) & M_PRESC)
51925 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_SIGN_APPLIED_REGISTER 0x3074
51928 #define M_ATSIGN 0xfU
51929 #define V_ATSIGN(x) ((x) << S_ATSIGN)
51930 #define G_ATSIGN(x) (((x) >> S_ATSIGN) & M_ATSIGN)
51932 #define A_MAC_PORT_TX_LINKA_TRANSMIT_EXTENDED_ADDRESS_DATA 0x3078
51933 #define A_MAC_PORT_TX_LINKA_TRANSMIT_EXTENDED_ADDRESS_ADDR 0x307c
51935 #define S_T5XADDR 1
51936 #define M_T5XADDR 0x1fU
51937 #define V_T5XADDR(x) ((x) << S_T5XADDR)
51938 #define G_T5XADDR(x) (((x) >> S_T5XADDR) & M_T5XADDR)
51941 #define V_T5XWR(x) ((x) << S_T5XWR)
51942 #define F_T5XWR V_T5XWR(1U)
51944 #define S_T6_XADDR 1
51945 #define M_T6_XADDR 0x1fU
51946 #define V_T6_XADDR(x) ((x) << S_T6_XADDR)
51947 #define G_T6_XADDR(x) (((x) >> S_T6_XADDR) & M_T6_XADDR)
51949 #define A_MAC_PORT_TX_LINKA_TRANSMIT_PATTERN_BUFFER_BYTES_1_0 0x3080
51952 #define M_XDAT10 0xffffU
51953 #define V_XDAT10(x) ((x) << S_XDAT10)
51954 #define G_XDAT10(x) (((x) >> S_XDAT10) & M_XDAT10)
51956 #define A_MAC_PORT_TX_LINKA_TRANSMIT_PATTERN_BUFFER_BYTES_3_2 0x3084
51959 #define M_XDAT32 0xffffU
51960 #define V_XDAT32(x) ((x) << S_XDAT32)
51961 #define G_XDAT32(x) (((x) >> S_XDAT32) & M_XDAT32)
51963 #define A_MAC_PORT_TX_LINKA_TRANSMIT_PATTERN_BUFFER_BYTE_4 0x3088
51966 #define M_XDAT4 0xffU
51967 #define V_XDAT4(x) ((x) << S_XDAT4)
51968 #define G_XDAT4(x) (((x) >> S_XDAT4) & M_XDAT4)
51970 #define A_MAC_PORT_TX_LINKA_TRANSMIT_PATTERN_BUFFER_BYTES_5_4 0x3088
51973 #define M_XDAT54 0xffffU
51974 #define V_XDAT54(x) ((x) << S_XDAT54)
51975 #define G_XDAT54(x) (((x) >> S_XDAT54) & M_XDAT54)
51977 #define A_MAC_PORT_TX_LINKA_TRANSMIT_DCC_CONTROL 0x308c
51979 #define S_DCCTIMEDOUT 15
51980 #define V_DCCTIMEDOUT(x) ((x) << S_DCCTIMEDOUT)
51981 #define F_DCCTIMEDOUT V_DCCTIMEDOUT(1U)
51983 #define S_DCCTIMEEN 14
51984 #define V_DCCTIMEEN(x) ((x) << S_DCCTIMEEN)
51985 #define F_DCCTIMEEN V_DCCTIMEEN(1U)
51987 #define S_DCCLOCK 13
51988 #define V_DCCLOCK(x) ((x) << S_DCCLOCK)
51989 #define F_DCCLOCK V_DCCLOCK(1U)
51991 #define S_DCCOFFSET 8
51992 #define M_DCCOFFSET 0x1fU
51993 #define V_DCCOFFSET(x) ((x) << S_DCCOFFSET)
51994 #define G_DCCOFFSET(x) (((x) >> S_DCCOFFSET) & M_DCCOFFSET)
51996 #define S_DCCSTEP 6
51997 #define M_DCCSTEP 0x3U
51998 #define V_DCCSTEP(x) ((x) << S_DCCSTEP)
51999 #define G_DCCSTEP(x) (((x) >> S_DCCSTEP) & M_DCCSTEP)
52001 #define S_DCCASTEP 1
52002 #define M_DCCASTEP 0x1fU
52003 #define V_DCCASTEP(x) ((x) << S_DCCASTEP)
52004 #define G_DCCASTEP(x) (((x) >> S_DCCASTEP) & M_DCCASTEP)
52007 #define V_DCCAEN(x) ((x) << S_DCCAEN)
52008 #define F_DCCAEN V_DCCAEN(1U)
52010 #define A_MAC_PORT_TX_LINKA_TRANSMIT_PATTERN_BUFFER_BYTES_7_6 0x308c
52013 #define M_XDAT76 0xffffU
52014 #define V_XDAT76(x) ((x) << S_XDAT76)
52015 #define G_XDAT76(x) (((x) >> S_XDAT76) & M_XDAT76)
52017 #define A_MAC_PORT_TX_LINKA_TRANSMIT_DCC_OVERRIDE 0x3090
52019 #define S_DCCOUT 12
52020 #define V_DCCOUT(x) ((x) << S_DCCOUT)
52021 #define F_DCCOUT V_DCCOUT(1U)
52023 #define S_DCCCLK 11
52024 #define V_DCCCLK(x) ((x) << S_DCCCLK)
52025 #define F_DCCCLK V_DCCCLK(1U)
52027 #define S_DCCHOLD 10
52028 #define V_DCCHOLD(x) ((x) << S_DCCHOLD)
52029 #define F_DCCHOLD V_DCCHOLD(1U)
52031 #define S_DCCSIGN 8
52032 #define M_DCCSIGN 0x3U
52033 #define V_DCCSIGN(x) ((x) << S_DCCSIGN)
52034 #define G_DCCSIGN(x) (((x) >> S_DCCSIGN) & M_DCCSIGN)
52037 #define M_DCCAMP 0x7fU
52038 #define V_DCCAMP(x) ((x) << S_DCCAMP)
52039 #define G_DCCAMP(x) (((x) >> S_DCCAMP) & M_DCCAMP)
52042 #define V_DCCOEN(x) ((x) << S_DCCOEN)
52043 #define F_DCCOEN V_DCCOEN(1U)
52045 #define A_MAC_PORT_TX_LINKA_TRANSMIT_DCC_APPLIED 0x3094
52047 #define S_DCCASIGN 7
52048 #define M_DCCASIGN 0x3U
52049 #define V_DCCASIGN(x) ((x) << S_DCCASIGN)
52050 #define G_DCCASIGN(x) (((x) >> S_DCCASIGN) & M_DCCASIGN)
52052 #define S_DCCAAMP 0
52053 #define M_DCCAAMP 0x7fU
52054 #define V_DCCAAMP(x) ((x) << S_DCCAAMP)
52055 #define G_DCCAAMP(x) (((x) >> S_DCCAAMP) & M_DCCAAMP)
52057 #define A_MAC_PORT_TX_LINKA_TRANSMIT_DCC_TIME_OUT 0x3098
52059 #define S_DCCTIMEOUTVAL 0
52060 #define M_DCCTIMEOUTVAL 0xffffU
52061 #define V_DCCTIMEOUTVAL(x) ((x) << S_DCCTIMEOUTVAL)
52062 #define G_DCCTIMEOUTVAL(x) (((x) >> S_DCCTIMEOUTVAL) & M_DCCTIMEOUTVAL)
52064 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AZ_CONTROL 0x309c
52066 #define S_LPIDCLK 4
52067 #define V_LPIDCLK(x) ((x) << S_LPIDCLK)
52068 #define F_LPIDCLK V_LPIDCLK(1U)
52070 #define S_LPITERM 2
52071 #define M_LPITERM 0x3U
52072 #define V_LPITERM(x) ((x) << S_LPITERM)
52073 #define G_LPITERM(x) (((x) >> S_LPITERM) & M_LPITERM)
52075 #define S_LPIPRCD 0
52076 #define M_LPIPRCD 0x3U
52077 #define V_LPIPRCD(x) ((x) << S_LPIPRCD)
52078 #define G_LPIPRCD(x) (((x) >> S_LPIPRCD) & M_LPIPRCD)
52080 #define A_T6_MAC_PORT_TX_LINKA_TRANSMIT_DCC_CONTROL 0x30a0
52082 #define S_T6_DCCTIMEEN 13
52083 #define M_T6_DCCTIMEEN 0x3U
52084 #define V_T6_DCCTIMEEN(x) ((x) << S_T6_DCCTIMEEN)
52085 #define G_T6_DCCTIMEEN(x) (((x) >> S_T6_DCCTIMEEN) & M_T6_DCCTIMEEN)
52087 #define S_T6_DCCLOCK 11
52088 #define M_T6_DCCLOCK 0x3U
52089 #define V_T6_DCCLOCK(x) ((x) << S_T6_DCCLOCK)
52090 #define G_T6_DCCLOCK(x) (((x) >> S_T6_DCCLOCK) & M_T6_DCCLOCK)
52092 #define S_T6_DCCOFFSET 8
52093 #define M_T6_DCCOFFSET 0x7U
52094 #define V_T6_DCCOFFSET(x) ((x) << S_T6_DCCOFFSET)
52095 #define G_T6_DCCOFFSET(x) (((x) >> S_T6_DCCOFFSET) & M_T6_DCCOFFSET)
52097 #define S_TX_LINKA_DCCSTEP_CTL 6
52098 #define M_TX_LINKA_DCCSTEP_CTL 0x3U
52099 #define V_TX_LINKA_DCCSTEP_CTL(x) ((x) << S_TX_LINKA_DCCSTEP_CTL)
52100 #define G_TX_LINKA_DCCSTEP_CTL(x) (((x) >> S_TX_LINKA_DCCSTEP_CTL) & M_TX_LINKA_DCCSTEP_CTL)
52102 #define A_T6_MAC_PORT_TX_LINKA_TRANSMIT_DCC_OVERRIDE 0x30a4
52103 #define A_T6_MAC_PORT_TX_LINKA_TRANSMIT_DCC_APPLIED 0x30a8
52104 #define A_T6_MAC_PORT_TX_LINKA_TRANSMIT_DCC_TIME_OUT 0x30ac
52105 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_SIGN_OVERRIDE 0x30c0
52108 #define M_OSIGN 0xfU
52109 #define V_OSIGN(x) ((x) << S_OSIGN)
52110 #define G_OSIGN(x) (((x) >> S_OSIGN) & M_OSIGN)
52112 #define A_MAC_PORT_TX_LINKA_TRANSMIT_SEGMENT_4X_OVERRIDE 0x30c8
52115 #define M_OS4X7 0x3U
52116 #define V_OS4X7(x) ((x) << S_OS4X7)
52117 #define G_OS4X7(x) (((x) >> S_OS4X7) & M_OS4X7)
52120 #define M_OS4X6 0x3U
52121 #define V_OS4X6(x) ((x) << S_OS4X6)
52122 #define G_OS4X6(x) (((x) >> S_OS4X6) & M_OS4X6)
52125 #define M_OS4X5 0x3U
52126 #define V_OS4X5(x) ((x) << S_OS4X5)
52127 #define G_OS4X5(x) (((x) >> S_OS4X5) & M_OS4X5)
52130 #define M_OS4X4 0x3U
52131 #define V_OS4X4(x) ((x) << S_OS4X4)
52132 #define G_OS4X4(x) (((x) >> S_OS4X4) & M_OS4X4)
52135 #define M_OS4X3 0x3U
52136 #define V_OS4X3(x) ((x) << S_OS4X3)
52137 #define G_OS4X3(x) (((x) >> S_OS4X3) & M_OS4X3)
52140 #define M_OS4X2 0x3U
52141 #define V_OS4X2(x) ((x) << S_OS4X2)
52142 #define G_OS4X2(x) (((x) >> S_OS4X2) & M_OS4X2)
52145 #define M_OS4X1 0x3U
52146 #define V_OS4X1(x) ((x) << S_OS4X1)
52147 #define G_OS4X1(x) (((x) >> S_OS4X1) & M_OS4X1)
52150 #define M_OS4X0 0x3U
52151 #define V_OS4X0(x) ((x) << S_OS4X0)
52152 #define G_OS4X0(x) (((x) >> S_OS4X0) & M_OS4X0)
52154 #define A_MAC_PORT_TX_LINKA_TRANSMIT_SEGMENT_2X_OVERRIDE 0x30cc
52157 #define M_OS2X3 0x3U
52158 #define V_OS2X3(x) ((x) << S_OS2X3)
52159 #define G_OS2X3(x) (((x) >> S_OS2X3) & M_OS2X3)
52162 #define M_OS2X2 0x3U
52163 #define V_OS2X2(x) ((x) << S_OS2X2)
52164 #define G_OS2X2(x) (((x) >> S_OS2X2) & M_OS2X2)
52167 #define M_OS2X1 0x3U
52168 #define V_OS2X1(x) ((x) << S_OS2X1)
52169 #define G_OS2X1(x) (((x) >> S_OS2X1) & M_OS2X1)
52172 #define M_OS2X0 0x3U
52173 #define V_OS2X0(x) ((x) << S_OS2X0)
52174 #define G_OS2X0(x) (((x) >> S_OS2X0) & M_OS2X0)
52176 #define A_MAC_PORT_TX_LINKA_TRANSMIT_SEGMENT_1X_OVERRIDE 0x30d0
52179 #define M_OS1X7 0x3U
52180 #define V_OS1X7(x) ((x) << S_OS1X7)
52181 #define G_OS1X7(x) (((x) >> S_OS1X7) & M_OS1X7)
52184 #define M_OS1X6 0x3U
52185 #define V_OS1X6(x) ((x) << S_OS1X6)
52186 #define G_OS1X6(x) (((x) >> S_OS1X6) & M_OS1X6)
52189 #define M_OS1X5 0x3U
52190 #define V_OS1X5(x) ((x) << S_OS1X5)
52191 #define G_OS1X5(x) (((x) >> S_OS1X5) & M_OS1X5)
52194 #define M_OS1X4 0x3U
52195 #define V_OS1X4(x) ((x) << S_OS1X4)
52196 #define G_OS1X4(x) (((x) >> S_OS1X4) & M_OS1X4)
52199 #define M_OS1X3 0x3U
52200 #define V_OS1X3(x) ((x) << S_OS1X3)
52201 #define G_OS1X3(x) (((x) >> S_OS1X3) & M_OS1X3)
52204 #define M_OS1X2 0x3U
52205 #define V_OS1X2(x) ((x) << S_OS1X2)
52206 #define G_OS1X2(x) (((x) >> S_OS1X2) & M_OS1X2)
52209 #define M_OS1X1 0x3U
52210 #define V_OS1X1(x) ((x) << S_OS1X1)
52211 #define G_OS1X1(x) (((x) >> S_OS1X1) & M_OS1X1)
52214 #define M_OS1X0 0x3U
52215 #define V_OS1X0(x) ((x) << S_OS1X0)
52216 #define G_OS1X0(x) (((x) >> S_OS1X0) & M_OS1X0)
52218 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_SEGMENT_4X_TERMINATION_OVERRIDE 0x30d8
52221 #define M_OT4X 0xffU
52222 #define V_OT4X(x) ((x) << S_OT4X)
52223 #define G_OT4X(x) (((x) >> S_OT4X) & M_OT4X)
52225 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_SEGMENT_2X_TERMINATION_OVERRIDE 0x30dc
52228 #define M_OT2X 0xfU
52229 #define V_OT2X(x) ((x) << S_OT2X)
52230 #define G_OT2X(x) (((x) >> S_OT2X) & M_OT2X)
52232 #define A_MAC_PORT_TX_LINKA_TRANSMIT_TAP_SEGMENT_1X_TERMINATION_OVERRIDE 0x30e0
52235 #define M_OT1X 0xffU
52236 #define V_OT1X(x) ((x) << S_OT1X)
52237 #define G_OT1X(x) (((x) >> S_OT1X) & M_OT1X)
52239 #define A_MAC_PORT_TX_LINKA_TRANSMIT_MACRO_TEST_CONTROL_5 0x30ec
52241 #define S_ERRORP 15
52242 #define V_ERRORP(x) ((x) << S_ERRORP)
52243 #define F_ERRORP V_ERRORP(1U)
52245 #define S_ERRORN 14
52246 #define V_ERRORN(x) ((x) << S_ERRORN)
52247 #define F_ERRORN V_ERRORN(1U)
52249 #define S_TESTENA 13
52250 #define V_TESTENA(x) ((x) << S_TESTENA)
52251 #define F_TESTENA V_TESTENA(1U)
52253 #define S_TUNEBIT 10
52254 #define M_TUNEBIT 0x7U
52255 #define V_TUNEBIT(x) ((x) << S_TUNEBIT)
52256 #define G_TUNEBIT(x) (((x) >> S_TUNEBIT) & M_TUNEBIT)
52258 #define S_DATAPOS 8
52259 #define M_DATAPOS 0x3U
52260 #define V_DATAPOS(x) ((x) << S_DATAPOS)
52261 #define G_DATAPOS(x) (((x) >> S_DATAPOS) & M_DATAPOS)
52264 #define M_SEGSEL 0x1fU
52265 #define V_SEGSEL(x) ((x) << S_SEGSEL)
52266 #define G_SEGSEL(x) (((x) >> S_SEGSEL) & M_SEGSEL)
52269 #define M_TAPSEL 0x3U
52270 #define V_TAPSEL(x) ((x) << S_TAPSEL)
52271 #define G_TAPSEL(x) (((x) >> S_TAPSEL) & M_TAPSEL)
52273 #define S_DATASIGN 0
52274 #define V_DATASIGN(x) ((x) << S_DATASIGN)
52275 #define F_DATASIGN V_DATASIGN(1U)
52277 #define A_MAC_PORT_TX_LINKA_TRANSMIT_MACRO_TEST_CONTROL_4 0x30f0
52279 #define S_SDOVRDEN 8
52280 #define V_SDOVRDEN(x) ((x) << S_SDOVRDEN)
52281 #define F_SDOVRDEN V_SDOVRDEN(1U)
52284 #define M_SDOVRD 0xffU
52285 #define V_SDOVRD(x) ((x) << S_SDOVRD)
52286 #define G_SDOVRD(x) (((x) >> S_SDOVRD) & M_SDOVRD)
52288 #define S_T6_SDOVRD 0
52289 #define M_T6_SDOVRD 0xffffU
52290 #define V_T6_SDOVRD(x) ((x) << S_T6_SDOVRD)
52291 #define G_T6_SDOVRD(x) (((x) >> S_T6_SDOVRD) & M_T6_SDOVRD)
52293 #define A_MAC_PORT_TX_LINKA_TRANSMIT_MACRO_TEST_CONTROL_3 0x30f4
52295 #define S_SLEWCODE 1
52296 #define M_SLEWCODE 0x3U
52297 #define V_SLEWCODE(x) ((x) << S_SLEWCODE)
52298 #define G_SLEWCODE(x) (((x) >> S_SLEWCODE) & M_SLEWCODE)
52301 #define V_ASEGEN(x) ((x) << S_ASEGEN)
52302 #define F_ASEGEN V_ASEGEN(1U)
52305 #define M_WCNT 0x3ffU
52306 #define V_WCNT(x) ((x) << S_WCNT)
52307 #define G_WCNT(x) (((x) >> S_WCNT) & M_WCNT)
52309 #define A_MAC_PORT_TX_LINKA_TRANSMIT_MACRO_TEST_CONTROL_2 0x30f8
52311 #define S_AECMDVAL 14
52312 #define V_AECMDVAL(x) ((x) << S_AECMDVAL)
52313 #define F_AECMDVAL V_AECMDVAL(1U)
52315 #define S_AECMD1312 12
52316 #define M_AECMD1312 0x3U
52317 #define V_AECMD1312(x) ((x) << S_AECMD1312)
52318 #define G_AECMD1312(x) (((x) >> S_AECMD1312) & M_AECMD1312)
52320 #define S_AECMD70 0
52321 #define M_AECMD70 0xffU
52322 #define V_AECMD70(x) ((x) << S_AECMD70)
52323 #define G_AECMD70(x) (((x) >> S_AECMD70) & M_AECMD70)
52325 #define A_MAC_PORT_TX_LINKA_TRANSMIT_MACRO_TEST_CONTROL_1 0x30fc
52327 #define S_C48DIVCTL 12
52328 #define M_C48DIVCTL 0x7U
52329 #define V_C48DIVCTL(x) ((x) << S_C48DIVCTL)
52330 #define G_C48DIVCTL(x) (((x) >> S_C48DIVCTL) & M_C48DIVCTL)
52332 #define S_RATEDIVCTL 9
52333 #define M_RATEDIVCTL 0x7U
52334 #define V_RATEDIVCTL(x) ((x) << S_RATEDIVCTL)
52335 #define G_RATEDIVCTL(x) (((x) >> S_RATEDIVCTL) & M_RATEDIVCTL)
52337 #define S_ANLGFLSH 8
52338 #define V_ANLGFLSH(x) ((x) << S_ANLGFLSH)
52339 #define F_ANLGFLSH V_ANLGFLSH(1U)
52341 #define S_DCCTSTOUT 7
52342 #define V_DCCTSTOUT(x) ((x) << S_DCCTSTOUT)
52343 #define F_DCCTSTOUT V_DCCTSTOUT(1U)
52346 #define V_BSOUT(x) ((x) << S_BSOUT)
52347 #define F_BSOUT V_BSOUT(1U)
52350 #define V_BSIN(x) ((x) << S_BSIN)
52351 #define F_BSIN V_BSIN(1U)
52353 #define S_JTAGAMPL 3
52354 #define M_JTAGAMPL 0x3U
52355 #define V_JTAGAMPL(x) ((x) << S_JTAGAMPL)
52356 #define G_JTAGAMPL(x) (((x) >> S_JTAGAMPL) & M_JTAGAMPL)
52359 #define V_JTAGTS(x) ((x) << S_JTAGTS)
52360 #define F_JTAGTS V_JTAGTS(1U)
52363 #define V_TS(x) ((x) << S_TS)
52364 #define F_TS V_TS(1U)
52367 #define V_OBS(x) ((x) << S_OBS)
52368 #define F_OBS V_OBS(1U)
52370 #define S_T6_SDOVRDEN 15
52371 #define V_T6_SDOVRDEN(x) ((x) << S_T6_SDOVRDEN)
52372 #define F_T6_SDOVRDEN V_T6_SDOVRDEN(1U)
52375 #define V_BSOUTN(x) ((x) << S_BSOUTN)
52376 #define F_BSOUTN V_BSOUTN(1U)
52379 #define V_BSOUTP(x) ((x) << S_BSOUTP)
52380 #define F_BSOUTP V_BSOUTP(1U)
52382 #define A_MAC_PORT_TX_LINKB_TRANSMIT_CONFIGURATION_MODE 0x3100
52384 #define S_T6_T5_TX_RXLOOP 5
52385 #define V_T6_T5_TX_RXLOOP(x) ((x) << S_T6_T5_TX_RXLOOP)
52386 #define F_T6_T5_TX_RXLOOP V_T6_T5_TX_RXLOOP(1U)
52388 #define S_T6_T5_TX_BWSEL 2
52389 #define M_T6_T5_TX_BWSEL 0x3U
52390 #define V_T6_T5_TX_BWSEL(x) ((x) << S_T6_T5_TX_BWSEL)
52391 #define G_T6_T5_TX_BWSEL(x) (((x) >> S_T6_T5_TX_BWSEL) & M_T6_T5_TX_BWSEL)
52393 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TEST_CONTROL 0x3104
52395 #define S_T6_ERROR 9
52396 #define V_T6_ERROR(x) ((x) << S_T6_ERROR)
52397 #define F_T6_ERROR V_T6_ERROR(1U)
52399 #define A_MAC_PORT_TX_LINKB_TRANSMIT_COEFFICIENT_CONTROL 0x3108
52400 #define A_MAC_PORT_TX_LINKB_TRANSMIT_DRIVER_MODE_CONTROL 0x310c
52401 #define A_MAC_PORT_TX_LINKB_TRANSMIT_DRIVER_OVERRIDE_CONTROL 0x3110
52402 #define A_MAC_PORT_TX_LINKB_TRANSMIT_DCLK_ROTATOR_OVERRIDE 0x3114
52403 #define A_MAC_PORT_TX_LINKB_TRANSMIT_IMPEDANCE_CALIBRATION_OVERRIDE 0x3118
52405 #define S_T6_CALSSTN 8
52406 #define M_T6_CALSSTN 0x3fU
52407 #define V_T6_CALSSTN(x) ((x) << S_T6_CALSSTN)
52408 #define G_T6_CALSSTN(x) (((x) >> S_T6_CALSSTN) & M_T6_CALSSTN)
52410 #define S_T6_CALSSTP 0
52411 #define M_T6_CALSSTP 0x3fU
52412 #define V_T6_CALSSTP(x) ((x) << S_T6_CALSSTP)
52413 #define G_T6_CALSSTP(x) (((x) >> S_T6_CALSSTP) & M_T6_CALSSTP)
52415 #define A_MAC_PORT_TX_LINKB_TRANSMIT_DCLK_DRIFT_TOLERANCE 0x311c
52417 #define S_T6_DRTOL 2
52418 #define M_T6_DRTOL 0x7U
52419 #define V_T6_DRTOL(x) ((x) << S_T6_DRTOL)
52420 #define G_T6_DRTOL(x) (((x) >> S_T6_DRTOL) & M_T6_DRTOL)
52422 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_0_COEFFICIENT 0x3120
52424 #define S_T6_NXTT0 0
52425 #define M_T6_NXTT0 0x3fU
52426 #define V_T6_NXTT0(x) ((x) << S_T6_NXTT0)
52427 #define G_T6_NXTT0(x) (((x) >> S_T6_NXTT0) & M_T6_NXTT0)
52429 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_1_COEFFICIENT 0x3124
52430 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_2_COEFFICIENT 0x3128
52432 #define S_T6_NXTT2 0
52433 #define M_T6_NXTT2 0x3fU
52434 #define V_T6_NXTT2(x) ((x) << S_T6_NXTT2)
52435 #define G_T6_NXTT2(x) (((x) >> S_T6_NXTT2) & M_T6_NXTT2)
52437 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_3_COEFFICIENT 0x312c
52438 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AMPLITUDE 0x3130
52439 #define A_MAC_PORT_TX_LINKB_TRANSMIT_POLARITY 0x3134
52441 #define S_T6_NXTPOL 0
52442 #define M_T6_NXTPOL 0xfU
52443 #define V_T6_NXTPOL(x) ((x) << S_T6_NXTPOL)
52444 #define G_T6_NXTPOL(x) (((x) >> S_T6_NXTPOL) & M_T6_NXTPOL)
52446 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_COMMAND 0x3138
52448 #define S_T6_C0UPDT 6
52449 #define M_T6_C0UPDT 0x3U
52450 #define V_T6_C0UPDT(x) ((x) << S_T6_C0UPDT)
52451 #define G_T6_C0UPDT(x) (((x) >> S_T6_C0UPDT) & M_T6_C0UPDT)
52453 #define S_T6_C2UPDT 2
52454 #define M_T6_C2UPDT 0x3U
52455 #define V_T6_C2UPDT(x) ((x) << S_T6_C2UPDT)
52456 #define G_T6_C2UPDT(x) (((x) >> S_T6_C2UPDT) & M_T6_C2UPDT)
52458 #define S_T6_C1UPDT 0
52459 #define M_T6_C1UPDT 0x3U
52460 #define V_T6_C1UPDT(x) ((x) << S_T6_C1UPDT)
52461 #define G_T6_C1UPDT(x) (((x) >> S_T6_C1UPDT) & M_T6_C1UPDT)
52463 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_STATUS 0x313c
52465 #define S_T6_C0STAT 6
52466 #define M_T6_C0STAT 0x3U
52467 #define V_T6_C0STAT(x) ((x) << S_T6_C0STAT)
52468 #define G_T6_C0STAT(x) (((x) >> S_T6_C0STAT) & M_T6_C0STAT)
52470 #define S_T6_C2STAT 2
52471 #define M_T6_C2STAT 0x3U
52472 #define V_T6_C2STAT(x) ((x) << S_T6_C2STAT)
52473 #define G_T6_C2STAT(x) (((x) >> S_T6_C2STAT) & M_T6_C2STAT)
52475 #define S_T6_C1STAT 0
52476 #define M_T6_C1STAT 0x3U
52477 #define V_T6_C1STAT(x) ((x) << S_T6_C1STAT)
52478 #define G_T6_C1STAT(x) (((x) >> S_T6_C1STAT) & M_T6_C1STAT)
52480 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_0_COEFFICIENT_OVERRIDE 0x3140
52481 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_TAP_0_COEFFICIENT_OVERRIDE 0x3140
52482 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_1_COEFFICIENT_OVERRIDE 0x3144
52483 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_TAP_1_COEFFICIENT_OVERRIDE 0x3144
52484 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_2_COEFFICIENT_OVERRIDE 0x3148
52485 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_TAP_2_COEFFICIENT_OVERRIDE 0x3148
52486 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_TAP_3_COEFFICIENT_OVERRIDE 0x314c
52487 #define A_MAC_PORT_TX_LINKB_TRANSMIT_APPLIED_TUNE_REGISTER 0x3150
52488 #define A_MAC_PORT_TX_LINKB_TRANSMIT_ANALOG_DIAGNOSTICS_REGISTER 0x3158
52489 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_0_COEFFICIENT_APPLIED 0x3160
52490 #define A_MAC_PORT_TX_LINKB_TRANSMIT_4X_SEGMENT_APPLIED 0x3160
52491 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_1_COEFFICIENT_APPLIED 0x3164
52492 #define A_MAC_PORT_TX_LINKB_TRANSMIT_2X_SEGMENT_APPLIED 0x3164
52493 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_2_COEFFICIENT_APPLIED 0x3168
52494 #define A_MAC_PORT_TX_LINKB_TRANSMIT_1X_SEGMENT_APPLIED 0x3168
52495 #define A_MAC_PORT_TX_LINKB_TRANSMIT_SEGMENT_4X_TERMINATION_APPLIED 0x316c
52496 #define A_MAC_PORT_TX_LINKB_TRANSMIT_SEGMENT_DISABLE_APPLIED_1 0x3170
52497 #define A_MAC_PORT_TX_LINKB_TRANSMIT_SEGMENT_2X1X_TERMINATION_APPLIED 0x3170
52498 #define A_MAC_PORT_TX_LINKB_TRANSMIT_SEGMENT_DISABLE_APPLIED_2 0x3174
52499 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_SIGN_APPLIED_REGISTER 0x3174
52500 #define A_MAC_PORT_TX_LINKB_TRANSMIT_EXTENDED_ADDRESS_DATA 0x3178
52501 #define A_MAC_PORT_TX_LINKB_TRANSMIT_EXTENDED_ADDRESS_ADDR 0x317c
52503 #define S_T6_XADDR 1
52504 #define M_T6_XADDR 0x1fU
52505 #define V_T6_XADDR(x) ((x) << S_T6_XADDR)
52506 #define G_T6_XADDR(x) (((x) >> S_T6_XADDR) & M_T6_XADDR)
52508 #define A_MAC_PORT_TX_LINKB_TRANSMIT_PATTERN_BUFFER_BYTES_1_0 0x3180
52509 #define A_MAC_PORT_TX_LINKB_TRANSMIT_PATTERN_BUFFER_BYTES_3_2 0x3184
52510 #define A_MAC_PORT_TX_LINKB_TRANSMIT_PATTERN_BUFFER_BYTE_4 0x3188
52511 #define A_MAC_PORT_TX_LINKB_TRANSMIT_PATTERN_BUFFER_BYTES_5_4 0x3188
52512 #define A_MAC_PORT_TX_LINKB_TRANSMIT_DCC_CONTROL 0x318c
52513 #define A_MAC_PORT_TX_LINKB_TRANSMIT_PATTERN_BUFFER_BYTES_7_6 0x318c
52514 #define A_MAC_PORT_TX_LINKB_TRANSMIT_DCC_OVERRIDE 0x3190
52515 #define A_MAC_PORT_TX_LINKB_TRANSMIT_DCC_APPLIED 0x3194
52516 #define A_MAC_PORT_TX_LINKB_TRANSMIT_DCC_TIME_OUT 0x3198
52517 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AZ_CONTROL 0x319c
52518 #define A_T6_MAC_PORT_TX_LINKB_TRANSMIT_DCC_CONTROL 0x31a0
52520 #define S_T6_DCCTIMEEN 13
52521 #define M_T6_DCCTIMEEN 0x3U
52522 #define V_T6_DCCTIMEEN(x) ((x) << S_T6_DCCTIMEEN)
52523 #define G_T6_DCCTIMEEN(x) (((x) >> S_T6_DCCTIMEEN) & M_T6_DCCTIMEEN)
52525 #define S_T6_DCCLOCK 11
52526 #define M_T6_DCCLOCK 0x3U
52527 #define V_T6_DCCLOCK(x) ((x) << S_T6_DCCLOCK)
52528 #define G_T6_DCCLOCK(x) (((x) >> S_T6_DCCLOCK) & M_T6_DCCLOCK)
52530 #define S_T6_DCCOFFSET 8
52531 #define M_T6_DCCOFFSET 0x7U
52532 #define V_T6_DCCOFFSET(x) ((x) << S_T6_DCCOFFSET)
52533 #define G_T6_DCCOFFSET(x) (((x) >> S_T6_DCCOFFSET) & M_T6_DCCOFFSET)
52535 #define S_TX_LINKB_DCCSTEP_CTL 6
52536 #define M_TX_LINKB_DCCSTEP_CTL 0x3U
52537 #define V_TX_LINKB_DCCSTEP_CTL(x) ((x) << S_TX_LINKB_DCCSTEP_CTL)
52538 #define G_TX_LINKB_DCCSTEP_CTL(x) (((x) >> S_TX_LINKB_DCCSTEP_CTL) & M_TX_LINKB_DCCSTEP_CTL)
52540 #define A_T6_MAC_PORT_TX_LINKB_TRANSMIT_DCC_OVERRIDE 0x31a4
52541 #define A_T6_MAC_PORT_TX_LINKB_TRANSMIT_DCC_APPLIED 0x31a8
52542 #define A_T6_MAC_PORT_TX_LINKB_TRANSMIT_DCC_TIME_OUT 0x31ac
52543 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_SIGN_OVERRIDE 0x31c0
52544 #define A_MAC_PORT_TX_LINKB_TRANSMIT_SEGMENT_4X_OVERRIDE 0x31c8
52545 #define A_MAC_PORT_TX_LINKB_TRANSMIT_SEGMENT_2X_OVERRIDE 0x31cc
52546 #define A_MAC_PORT_TX_LINKB_TRANSMIT_SEGMENT_1X_OVERRIDE 0x31d0
52547 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_SEGMENT_4X_TERMINATION_OVERRIDE 0x31d8
52548 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_SEGMENT_2X_TERMINATION_OVERRIDE 0x31dc
52549 #define A_MAC_PORT_TX_LINKB_TRANSMIT_TAP_SEGMENT_1X_TERMINATION_OVERRIDE 0x31e0
52550 #define A_MAC_PORT_TX_LINKB_TRANSMIT_MACRO_TEST_CONTROL_5 0x31ec
52551 #define A_MAC_PORT_TX_LINKB_TRANSMIT_MACRO_TEST_CONTROL_4 0x31f0
52553 #define S_T6_SDOVRD 0
52554 #define M_T6_SDOVRD 0xffffU
52555 #define V_T6_SDOVRD(x) ((x) << S_T6_SDOVRD)
52556 #define G_T6_SDOVRD(x) (((x) >> S_T6_SDOVRD) & M_T6_SDOVRD)
52558 #define A_MAC_PORT_TX_LINKB_TRANSMIT_MACRO_TEST_CONTROL_3 0x31f4
52559 #define A_MAC_PORT_TX_LINKB_TRANSMIT_MACRO_TEST_CONTROL_2 0x31f8
52560 #define A_MAC_PORT_TX_LINKB_TRANSMIT_MACRO_TEST_CONTROL_1 0x31fc
52562 #define S_T6_SDOVRDEN 15
52563 #define V_T6_SDOVRDEN(x) ((x) << S_T6_SDOVRDEN)
52564 #define F_T6_SDOVRDEN V_T6_SDOVRDEN(1U)
52566 #define A_MAC_PORT_RX_LINKA_RECEIVER_CONFIGURATION_MODE 0x3200
52568 #define S_T5_RX_LINKEN 15
52569 #define V_T5_RX_LINKEN(x) ((x) << S_T5_RX_LINKEN)
52570 #define F_T5_RX_LINKEN V_T5_RX_LINKEN(1U)
52572 #define S_T5_RX_LINKRST 14
52573 #define V_T5_RX_LINKRST(x) ((x) << S_T5_RX_LINKRST)
52574 #define F_T5_RX_LINKRST V_T5_RX_LINKRST(1U)
52576 #define S_T5_RX_CFGWRT 13
52577 #define V_T5_RX_CFGWRT(x) ((x) << S_T5_RX_CFGWRT)
52578 #define F_T5_RX_CFGWRT V_T5_RX_CFGWRT(1U)
52580 #define S_T5_RX_CFGPTR 11
52581 #define M_T5_RX_CFGPTR 0x3U
52582 #define V_T5_RX_CFGPTR(x) ((x) << S_T5_RX_CFGPTR)
52583 #define G_T5_RX_CFGPTR(x) (((x) >> S_T5_RX_CFGPTR) & M_T5_RX_CFGPTR)
52585 #define S_T5_RX_CFGEXT 10
52586 #define V_T5_RX_CFGEXT(x) ((x) << S_T5_RX_CFGEXT)
52587 #define F_T5_RX_CFGEXT V_T5_RX_CFGEXT(1U)
52589 #define S_T5_RX_CFGACT 9
52590 #define V_T5_RX_CFGACT(x) ((x) << S_T5_RX_CFGACT)
52591 #define F_T5_RX_CFGACT V_T5_RX_CFGACT(1U)
52593 #define S_T5_RX_AUXCLK 8
52594 #define V_T5_RX_AUXCLK(x) ((x) << S_T5_RX_AUXCLK)
52595 #define F_T5_RX_AUXCLK V_T5_RX_AUXCLK(1U)
52597 #define S_T5_RX_PLLSEL 6
52598 #define M_T5_RX_PLLSEL 0x3U
52599 #define V_T5_RX_PLLSEL(x) ((x) << S_T5_RX_PLLSEL)
52600 #define G_T5_RX_PLLSEL(x) (((x) >> S_T5_RX_PLLSEL) & M_T5_RX_PLLSEL)
52602 #define S_T5_RX_DMSEL 4
52603 #define M_T5_RX_DMSEL 0x3U
52604 #define V_T5_RX_DMSEL(x) ((x) << S_T5_RX_DMSEL)
52605 #define G_T5_RX_DMSEL(x) (((x) >> S_T5_RX_DMSEL) & M_T5_RX_DMSEL)
52607 #define S_T5_RX_BWSEL 2
52608 #define M_T5_RX_BWSEL 0x3U
52609 #define V_T5_RX_BWSEL(x) ((x) << S_T5_RX_BWSEL)
52610 #define G_T5_RX_BWSEL(x) (((x) >> S_T5_RX_BWSEL) & M_T5_RX_BWSEL)
52612 #define S_T5_RX_RTSEL 0
52613 #define M_T5_RX_RTSEL 0x3U
52614 #define V_T5_RX_RTSEL(x) ((x) << S_T5_RX_RTSEL)
52615 #define G_T5_RX_RTSEL(x) (((x) >> S_T5_RX_RTSEL) & M_T5_RX_RTSEL)
52617 #define S_T5_RX_MODE8023AZ 8
52618 #define V_T5_RX_MODE8023AZ(x) ((x) << S_T5_RX_MODE8023AZ)
52619 #define F_T5_RX_MODE8023AZ V_T5_RX_MODE8023AZ(1U)
52621 #define A_MAC_PORT_RX_LINKA_RECEIVER_TEST_CONTROL 0x3204
52623 #define S_FERRST 10
52624 #define V_FERRST(x) ((x) << S_FERRST)
52625 #define F_FERRST V_FERRST(1U)
52628 #define V_ERRST(x) ((x) << S_ERRST)
52629 #define F_ERRST V_ERRST(1U)
52632 #define V_SYNCST(x) ((x) << S_SYNCST)
52633 #define F_SYNCST V_SYNCST(1U)
52636 #define V_WRPSM(x) ((x) << S_WRPSM)
52637 #define F_WRPSM V_WRPSM(1U)
52640 #define V_WPLPEN(x) ((x) << S_WPLPEN)
52641 #define F_WPLPEN V_WPLPEN(1U)
52644 #define V_WRPMD(x) ((x) << S_WRPMD)
52645 #define F_WRPMD V_WRPMD(1U)
52648 #define M_PATSEL 0x7U
52649 #define V_PATSEL(x) ((x) << S_PATSEL)
52650 #define G_PATSEL(x) (((x) >> S_PATSEL) & M_PATSEL)
52652 #define S_APLYDCD 15
52653 #define V_APLYDCD(x) ((x) << S_APLYDCD)
52654 #define F_APLYDCD V_APLYDCD(1U)
52657 #define M_PPOL 0x3U
52658 #define V_PPOL(x) ((x) << S_PPOL)
52659 #define G_PPOL(x) (((x) >> S_PPOL) & M_PPOL)
52661 #define S_PCLKSEL 11
52662 #define M_PCLKSEL 0x3U
52663 #define V_PCLKSEL(x) ((x) << S_PCLKSEL)
52664 #define G_PCLKSEL(x) (((x) >> S_PCLKSEL) & M_PCLKSEL)
52666 #define A_MAC_PORT_RX_LINKA_PHASE_ROTATOR_CONTROL 0x3208
52669 #define V_RSTUCK(x) ((x) << S_RSTUCK)
52670 #define F_RSTUCK V_RSTUCK(1U)
52673 #define V_FRZFW(x) ((x) << S_FRZFW)
52674 #define F_FRZFW V_FRZFW(1U)
52677 #define V_RSTFW(x) ((x) << S_RSTFW)
52678 #define F_RSTFW V_RSTFW(1U)
52681 #define V_SSCEN(x) ((x) << S_SSCEN)
52682 #define F_SSCEN V_SSCEN(1U)
52684 #define A_MAC_PORT_RX_LINKA_PHASE_ROTATOR_OFFSET_CONTROL 0x320c
52686 #define S_H1ANOFST 12
52687 #define M_H1ANOFST 0xfU
52688 #define V_H1ANOFST(x) ((x) << S_H1ANOFST)
52689 #define G_H1ANOFST(x) (((x) >> S_H1ANOFST) & M_H1ANOFST)
52691 #define S_T6_TMSCAL 8
52692 #define M_T6_TMSCAL 0x3U
52693 #define V_T6_TMSCAL(x) ((x) << S_T6_TMSCAL)
52694 #define G_T6_TMSCAL(x) (((x) >> S_T6_TMSCAL) & M_T6_TMSCAL)
52696 #define S_T6_APADJ 7
52697 #define V_T6_APADJ(x) ((x) << S_T6_APADJ)
52698 #define F_T6_APADJ V_T6_APADJ(1U)
52700 #define S_T6_RSEL 6
52701 #define V_T6_RSEL(x) ((x) << S_T6_RSEL)
52702 #define F_T6_RSEL V_T6_RSEL(1U)
52704 #define S_T6_PHOFFS 0
52705 #define M_T6_PHOFFS 0x3fU
52706 #define V_T6_PHOFFS(x) ((x) << S_T6_PHOFFS)
52707 #define G_T6_PHOFFS(x) (((x) >> S_T6_PHOFFS) & M_T6_PHOFFS)
52709 #define A_MAC_PORT_RX_LINKA_PHASE_ROTATOR_POSITION_1 0x3210
52712 #define M_ROT00 0x3fU
52713 #define V_ROT00(x) ((x) << S_ROT00)
52714 #define G_ROT00(x) (((x) >> S_ROT00) & M_ROT00)
52717 #define M_ROTA 0x3fU
52718 #define V_ROTA(x) ((x) << S_ROTA)
52719 #define G_ROTA(x) (((x) >> S_ROTA) & M_ROTA)
52722 #define M_ROTD 0x3fU
52723 #define V_ROTD(x) ((x) << S_ROTD)
52724 #define G_ROTD(x) (((x) >> S_ROTD) & M_ROTD)
52726 #define A_MAC_PORT_RX_LINKA_PHASE_ROTATOR_POSITION_2 0x3214
52729 #define M_FREQFW 0xffU
52730 #define V_FREQFW(x) ((x) << S_FREQFW)
52731 #define G_FREQFW(x) (((x) >> S_FREQFW) & M_FREQFW)
52734 #define V_FWSNAP(x) ((x) << S_FWSNAP)
52735 #define F_FWSNAP V_FWSNAP(1U)
52738 #define M_ROTE 0x3fU
52739 #define V_ROTE(x) ((x) << S_ROTE)
52740 #define G_ROTE(x) (((x) >> S_ROTE) & M_ROTE)
52742 #define A_MAC_PORT_RX_LINKA_PHASE_ROTATOR_STATIC_PHASE_OFFSET_1 0x3218
52745 #define M_RAOFFF 0xfU
52746 #define V_RAOFFF(x) ((x) << S_RAOFFF)
52747 #define G_RAOFFF(x) (((x) >> S_RAOFFF) & M_RAOFFF)
52750 #define M_RAOFF 0x1fU
52751 #define V_RAOFF(x) ((x) << S_RAOFF)
52752 #define G_RAOFF(x) (((x) >> S_RAOFF) & M_RAOFF)
52754 #define A_MAC_PORT_RX_LINKA_PHASE_ROTATOR_STATIC_PHASE_OFFSET_2 0x321c
52756 #define S_RBOOFF 10
52757 #define M_RBOOFF 0x1fU
52758 #define V_RBOOFF(x) ((x) << S_RBOOFF)
52759 #define G_RBOOFF(x) (((x) >> S_RBOOFF) & M_RBOOFF)
52762 #define M_RBEOFF 0x1fU
52763 #define V_RBEOFF(x) ((x) << S_RBEOFF)
52764 #define G_RBEOFF(x) (((x) >> S_RBEOFF) & M_RBEOFF)
52766 #define A_MAC_PORT_RX_LINKA_DFE_CONTROL 0x3220
52768 #define S_T6_SPIFMT 8
52769 #define M_T6_SPIFMT 0xfU
52770 #define V_T6_SPIFMT(x) ((x) << S_T6_SPIFMT)
52771 #define G_T6_SPIFMT(x) (((x) >> S_T6_SPIFMT) & M_T6_SPIFMT)
52773 #define A_MAC_PORT_RX_LINKA_DFE_SAMPLE_SNAPSHOT_1 0x3224
52775 #define S_T5BYTE1 8
52776 #define M_T5BYTE1 0xffU
52777 #define V_T5BYTE1(x) ((x) << S_T5BYTE1)
52778 #define G_T5BYTE1(x) (((x) >> S_T5BYTE1) & M_T5BYTE1)
52780 #define S_T5BYTE0 0
52781 #define M_T5BYTE0 0xffU
52782 #define V_T5BYTE0(x) ((x) << S_T5BYTE0)
52783 #define G_T5BYTE0(x) (((x) >> S_T5BYTE0) & M_T5BYTE0)
52785 #define A_MAC_PORT_RX_LINKA_DFE_SAMPLE_SNAPSHOT_2 0x3228
52787 #define S_T5_RX_SMODE 8
52788 #define M_T5_RX_SMODE 0x7U
52789 #define V_T5_RX_SMODE(x) ((x) << S_T5_RX_SMODE)
52790 #define G_T5_RX_SMODE(x) (((x) >> S_T5_RX_SMODE) & M_T5_RX_SMODE)
52792 #define S_T5_RX_ADCORR 7
52793 #define V_T5_RX_ADCORR(x) ((x) << S_T5_RX_ADCORR)
52794 #define F_T5_RX_ADCORR V_T5_RX_ADCORR(1U)
52796 #define S_T5_RX_TRAINEN 6
52797 #define V_T5_RX_TRAINEN(x) ((x) << S_T5_RX_TRAINEN)
52798 #define F_T5_RX_TRAINEN V_T5_RX_TRAINEN(1U)
52800 #define S_T5_RX_ASAMPQ 3
52801 #define M_T5_RX_ASAMPQ 0x7U
52802 #define V_T5_RX_ASAMPQ(x) ((x) << S_T5_RX_ASAMPQ)
52803 #define G_T5_RX_ASAMPQ(x) (((x) >> S_T5_RX_ASAMPQ) & M_T5_RX_ASAMPQ)
52805 #define S_T5_RX_ASAMP 0
52806 #define M_T5_RX_ASAMP 0x7U
52807 #define V_T5_RX_ASAMP(x) ((x) << S_T5_RX_ASAMP)
52808 #define G_T5_RX_ASAMP(x) (((x) >> S_T5_RX_ASAMP) & M_T5_RX_ASAMP)
52810 #define S_REQWOV 15
52811 #define V_REQWOV(x) ((x) << S_REQWOV)
52812 #define F_REQWOV V_REQWOV(1U)
52815 #define M_RASEL 0x7U
52816 #define V_RASEL(x) ((x) << S_RASEL)
52817 #define G_RASEL(x) (((x) >> S_RASEL) & M_RASEL)
52819 #define A_MAC_PORT_RX_LINKA_RECEIVER_VGA_CONTROL_1 0x322c
52821 #define S_T6_WRAPSEL 15
52822 #define V_T6_WRAPSEL(x) ((x) << S_T6_WRAPSEL)
52823 #define F_T6_WRAPSEL V_T6_WRAPSEL(1U)
52826 #define V_ACTL(x) ((x) << S_ACTL)
52827 #define F_ACTL V_ACTL(1U)
52829 #define S_T6_PEAK 9
52830 #define M_T6_PEAK 0x1fU
52831 #define V_T6_PEAK(x) ((x) << S_T6_PEAK)
52832 #define G_T6_PEAK(x) (((x) >> S_T6_PEAK) & M_T6_PEAK)
52834 #define A_MAC_PORT_RX_LINKA_RECEIVER_VGA_CONTROL_2 0x3230
52836 #define S_T5SHORTV 10
52837 #define V_T5SHORTV(x) ((x) << S_T5SHORTV)
52838 #define F_T5SHORTV V_T5SHORTV(1U)
52840 #define S_T5VGAIN 0
52841 #define M_T5VGAIN 0x1fU
52842 #define V_T5VGAIN(x) ((x) << S_T5VGAIN)
52843 #define G_T5VGAIN(x) (((x) >> S_T5VGAIN) & M_T5VGAIN)
52845 #define S_FVOFFSKP 15
52846 #define V_FVOFFSKP(x) ((x) << S_FVOFFSKP)
52847 #define F_FVOFFSKP V_FVOFFSKP(1U)
52849 #define S_FGAINCHK 14
52850 #define V_FGAINCHK(x) ((x) << S_FGAINCHK)
52851 #define F_FGAINCHK V_FGAINCHK(1U)
52853 #define S_FH1ACAL 13
52854 #define V_FH1ACAL(x) ((x) << S_FH1ACAL)
52855 #define F_FH1ACAL V_FH1ACAL(1U)
52857 #define S_FH1AFLTR 11
52858 #define M_FH1AFLTR 0x3U
52859 #define V_FH1AFLTR(x) ((x) << S_FH1AFLTR)
52860 #define G_FH1AFLTR(x) (((x) >> S_FH1AFLTR) & M_FH1AFLTR)
52863 #define M_WGAIN 0x3U
52864 #define V_WGAIN(x) ((x) << S_WGAIN)
52865 #define G_WGAIN(x) (((x) >> S_WGAIN) & M_WGAIN)
52867 #define S_GAIN_STAT 7
52868 #define V_GAIN_STAT(x) ((x) << S_GAIN_STAT)
52869 #define F_GAIN_STAT V_GAIN_STAT(1U)
52871 #define S_T6_T5VGAIN 0
52872 #define M_T6_T5VGAIN 0x7fU
52873 #define V_T6_T5VGAIN(x) ((x) << S_T6_T5VGAIN)
52874 #define G_T6_T5VGAIN(x) (((x) >> S_T6_T5VGAIN) & M_T6_T5VGAIN)
52876 #define A_MAC_PORT_RX_LINKA_RECEIVER_VGA_CONTROL_3 0x3234
52877 #define A_MAC_PORT_RX_LINKA_RECEIVER_DQCC_CONTROL_1 0x3238
52880 #define M_IQSEP 0x1fU
52881 #define V_IQSEP(x) ((x) << S_IQSEP)
52882 #define G_IQSEP(x) (((x) >> S_IQSEP) & M_IQSEP)
52885 #define M_DUTYQ 0x1fU
52886 #define V_DUTYQ(x) ((x) << S_DUTYQ)
52887 #define G_DUTYQ(x) (((x) >> S_DUTYQ) & M_DUTYQ)
52890 #define M_DUTYI 0x1fU
52891 #define V_DUTYI(x) ((x) << S_DUTYI)
52892 #define G_DUTYI(x) (((x) >> S_DUTYI) & M_DUTYI)
52894 #define A_MAC_PORT_RX_LINKA_RECEIVER_POWER_MANAGEMENT_CONTROL 0x3238
52897 #define M_PMCFG 0x3U
52898 #define V_PMCFG(x) ((x) << S_PMCFG)
52899 #define G_PMCFG(x) (((x) >> S_PMCFG) & M_PMCFG)
52901 #define S_PMOFFTIME 0
52902 #define M_PMOFFTIME 0x3fU
52903 #define V_PMOFFTIME(x) ((x) << S_PMOFFTIME)
52904 #define G_PMOFFTIME(x) (((x) >> S_PMOFFTIME) & M_PMOFFTIME)
52906 #define A_MAC_PORT_RX_LINKA_RECEIVER_IQAMP_CONTROL_1 0x323c
52909 #define V_SELI(x) ((x) << S_SELI)
52910 #define F_SELI V_SELI(1U)
52912 #define S_SERVREF 5
52913 #define M_SERVREF 0x7U
52914 #define V_SERVREF(x) ((x) << S_SERVREF)
52915 #define G_SERVREF(x) (((x) >> S_SERVREF) & M_SERVREF)
52918 #define M_IQAMP 0x1fU
52919 #define V_IQAMP(x) ((x) << S_IQAMP)
52920 #define G_IQAMP(x) (((x) >> S_IQAMP) & M_IQAMP)
52922 #define A_MAC_PORT_RX_LINKA_RECEIVER_DQCC_CONTROL_3 0x3240
52925 #define M_DTHR 0x3fU
52926 #define V_DTHR(x) ((x) << S_DTHR)
52927 #define G_DTHR(x) (((x) >> S_DTHR) & M_DTHR)
52930 #define M_SNUL 0x1fU
52931 #define V_SNUL(x) ((x) << S_SNUL)
52932 #define G_SNUL(x) (((x) >> S_SNUL) & M_SNUL)
52934 #define A_MAC_PORT_RX_LINKA_RECEIVER_IQAMP_CONTROL_2 0x3240
52935 #define A_MAC_PORT_RX_LINKA_RECEIVER_DACAP_AND_DACAN_SELECTION 0x3244
52937 #define S_SAVEADAC 8
52938 #define V_SAVEADAC(x) ((x) << S_SAVEADAC)
52939 #define F_SAVEADAC V_SAVEADAC(1U)
52942 #define V_LOAD2(x) ((x) << S_LOAD2)
52943 #define F_LOAD2 V_LOAD2(1U)
52946 #define V_LOAD1(x) ((x) << S_LOAD1)
52947 #define F_LOAD1 V_LOAD1(1U)
52949 #define S_WRTACC2 5
52950 #define V_WRTACC2(x) ((x) << S_WRTACC2)
52951 #define F_WRTACC2 V_WRTACC2(1U)
52953 #define S_WRTACC1 4
52954 #define V_WRTACC1(x) ((x) << S_WRTACC1)
52955 #define F_WRTACC1 V_WRTACC1(1U)
52957 #define S_SELAPAN 3
52958 #define V_SELAPAN(x) ((x) << S_SELAPAN)
52959 #define F_SELAPAN V_SELAPAN(1U)
52962 #define M_DASEL 0x7U
52963 #define V_DASEL(x) ((x) << S_DASEL)
52964 #define G_DASEL(x) (((x) >> S_DASEL) & M_DASEL)
52966 #define A_MAC_PORT_RX_LINKA_RECEIVER_DACAP_AND_DACAN 0x3248
52967 #define A_MAC_PORT_RX_LINKA_RECEIVER_DACA_MIN_AND_DACAZ 0x324c
52968 #define A_MAC_PORT_RX_LINKA_RECEIVER_DACA_MIN 0x324c
52969 #define A_MAC_PORT_RX_LINKA_RECEIVER_ADAC_CONTROL 0x3250
52971 #define S_ADSN_READWRITE 8
52972 #define V_ADSN_READWRITE(x) ((x) << S_ADSN_READWRITE)
52973 #define F_ADSN_READWRITE V_ADSN_READWRITE(1U)
52975 #define S_ADSN_READONLY 7
52976 #define V_ADSN_READONLY(x) ((x) << S_ADSN_READONLY)
52977 #define F_ADSN_READONLY V_ADSN_READONLY(1U)
52980 #define M_ADAC2 0xffU
52981 #define V_ADAC2(x) ((x) << S_ADAC2)
52982 #define G_ADAC2(x) (((x) >> S_ADAC2) & M_ADAC2)
52985 #define M_ADAC1 0xffU
52986 #define V_ADAC1(x) ((x) << S_ADAC1)
52987 #define G_ADAC1(x) (((x) >> S_ADAC1) & M_ADAC1)
52989 #define A_MAC_PORT_RX_LINKA_RECEIVER_AC_COUPLING_CONTROL 0x3254
52991 #define S_FACCPLDYN 13
52992 #define V_FACCPLDYN(x) ((x) << S_FACCPLDYN)
52993 #define F_FACCPLDYN V_FACCPLDYN(1U)
52995 #define S_ACCPLGAIN 10
52996 #define M_ACCPLGAIN 0x7U
52997 #define V_ACCPLGAIN(x) ((x) << S_ACCPLGAIN)
52998 #define G_ACCPLGAIN(x) (((x) >> S_ACCPLGAIN) & M_ACCPLGAIN)
53000 #define S_ACCPLREF 8
53001 #define M_ACCPLREF 0x3U
53002 #define V_ACCPLREF(x) ((x) << S_ACCPLREF)
53003 #define G_ACCPLREF(x) (((x) >> S_ACCPLREF) & M_ACCPLREF)
53005 #define S_ACCPLSTEP 6
53006 #define M_ACCPLSTEP 0x3U
53007 #define V_ACCPLSTEP(x) ((x) << S_ACCPLSTEP)
53008 #define G_ACCPLSTEP(x) (((x) >> S_ACCPLSTEP) & M_ACCPLSTEP)
53010 #define S_ACCPLASTEP 1
53011 #define M_ACCPLASTEP 0x1fU
53012 #define V_ACCPLASTEP(x) ((x) << S_ACCPLASTEP)
53013 #define G_ACCPLASTEP(x) (((x) >> S_ACCPLASTEP) & M_ACCPLASTEP)
53016 #define V_FACCPL(x) ((x) << S_FACCPL)
53017 #define F_FACCPL V_FACCPL(1U)
53019 #define A_MAC_PORT_RX_LINKA_RECEIVER_AC_COUPLING_VALUE 0x3258
53021 #define S_ACCPLMEANS 15
53022 #define V_ACCPLMEANS(x) ((x) << S_ACCPLMEANS)
53023 #define F_ACCPLMEANS V_ACCPLMEANS(1U)
53025 #define S_CDROVREN 8
53026 #define V_CDROVREN(x) ((x) << S_CDROVREN)
53027 #define F_CDROVREN V_CDROVREN(1U)
53029 #define S_ACCPLBIAS 0
53030 #define M_ACCPLBIAS 0xffU
53031 #define V_ACCPLBIAS(x) ((x) << S_ACCPLBIAS)
53032 #define G_ACCPLBIAS(x) (((x) >> S_ACCPLBIAS) & M_ACCPLBIAS)
53034 #define A_MAC_PORT_RX_LINKA_DFE_H1_LOCAL_OFFSET_ODD2_EVN2 0x325c
53037 #define M_H1O2 0x3fU
53038 #define V_H1O2(x) ((x) << S_H1O2)
53039 #define G_H1O2(x) (((x) >> S_H1O2) & M_H1O2)
53042 #define M_H1E2 0x3fU
53043 #define V_H1E2(x) ((x) << S_H1E2)
53044 #define G_H1E2(x) (((x) >> S_H1E2) & M_H1E2)
53046 #define A_MAC_PORT_RX_LINKA_DFE_H1H2H3_LOCAL_OFFSET 0x325c
53049 #define M_H123CH 0x3fU
53050 #define V_H123CH(x) ((x) << S_H123CH)
53051 #define G_H123CH(x) (((x) >> S_H123CH) & M_H123CH)
53053 #define A_MAC_PORT_RX_LINKA_DFE_H1_LOCAL_OFFSET_ODD3_EVN3 0x3260
53056 #define M_H1O3 0x3fU
53057 #define V_H1O3(x) ((x) << S_H1O3)
53058 #define G_H1O3(x) (((x) >> S_H1O3) & M_H1O3)
53061 #define M_H1E3 0x3fU
53062 #define V_H1E3(x) ((x) << S_H1E3)
53063 #define G_H1E3(x) (((x) >> S_H1E3) & M_H1E3)
53065 #define A_MAC_PORT_RX_LINKA_DFE_H1H2H3_LOCAL_OFFSET_VALUE 0x3260
53068 #define M_H1OX 0x3fU
53069 #define V_H1OX(x) ((x) << S_H1OX)
53070 #define G_H1OX(x) (((x) >> S_H1OX) & M_H1OX)
53073 #define M_H1EX 0x3fU
53074 #define V_H1EX(x) ((x) << S_H1EX)
53075 #define G_H1EX(x) (((x) >> S_H1EX) & M_H1EX)
53077 #define A_MAC_PORT_RX_LINKA_DFE_H1_LOCAL_OFFSET_ODD4_EVN4 0x3264
53080 #define M_H1O4 0x3fU
53081 #define V_H1O4(x) ((x) << S_H1O4)
53082 #define G_H1O4(x) (((x) >> S_H1O4) & M_H1O4)
53085 #define M_H1E4 0x3fU
53086 #define V_H1E4(x) ((x) << S_H1E4)
53087 #define G_H1E4(x) (((x) >> S_H1E4) & M_H1E4)
53089 #define A_MAC_PORT_RX_LINKA_PEAKED_INTEGRATOR 0x3264
53091 #define S_PILOCK 10
53092 #define V_PILOCK(x) ((x) << S_PILOCK)
53093 #define F_PILOCK V_PILOCK(1U)
53095 #define S_UNPKPKA 2
53096 #define M_UNPKPKA 0x3fU
53097 #define V_UNPKPKA(x) ((x) << S_UNPKPKA)
53098 #define G_UNPKPKA(x) (((x) >> S_UNPKPKA) & M_UNPKPKA)
53100 #define S_UNPKVGA 0
53101 #define M_UNPKVGA 0x3U
53102 #define V_UNPKVGA(x) ((x) << S_UNPKVGA)
53103 #define G_UNPKVGA(x) (((x) >> S_UNPKVGA) & M_UNPKVGA)
53105 #define A_MAC_PORT_RX_LINKA_CDR_ANALOG_SWITCH 0x3268
53108 #define V_OVRAC(x) ((x) << S_OVRAC)
53109 #define F_OVRAC V_OVRAC(1U)
53112 #define V_OVRPK(x) ((x) << S_OVRPK)
53113 #define F_OVRPK V_OVRPK(1U)
53115 #define S_OVRTAILS 12
53116 #define M_OVRTAILS 0x3U
53117 #define V_OVRTAILS(x) ((x) << S_OVRTAILS)
53118 #define G_OVRTAILS(x) (((x) >> S_OVRTAILS) & M_OVRTAILS)
53120 #define S_OVRTAILV 9
53121 #define M_OVRTAILV 0x7U
53122 #define V_OVRTAILV(x) ((x) << S_OVRTAILV)
53123 #define G_OVRTAILV(x) (((x) >> S_OVRTAILV) & M_OVRTAILV)
53126 #define V_OVRCAP(x) ((x) << S_OVRCAP)
53127 #define F_OVRCAP V_OVRCAP(1U)
53129 #define S_OVRDCDPRE 7
53130 #define V_OVRDCDPRE(x) ((x) << S_OVRDCDPRE)
53131 #define F_OVRDCDPRE V_OVRDCDPRE(1U)
53133 #define S_OVRDCDPST 6
53134 #define V_OVRDCDPST(x) ((x) << S_OVRDCDPST)
53135 #define F_OVRDCDPST V_OVRDCDPST(1U)
53137 #define S_DCVSCTMODE 2
53138 #define V_DCVSCTMODE(x) ((x) << S_DCVSCTMODE)
53139 #define F_DCVSCTMODE V_DCVSCTMODE(1U)
53141 #define S_CDRANLGSW 0
53142 #define M_CDRANLGSW 0x3U
53143 #define V_CDRANLGSW(x) ((x) << S_CDRANLGSW)
53144 #define G_CDRANLGSW(x) (((x) >> S_CDRANLGSW) & M_CDRANLGSW)
53146 #define A_MAC_PORT_RX_LINKA_PEAKING_AMPLIFIER_INTIALIZATION_CONTROL 0x326c
53149 #define M_PFLAG 0x3U
53150 #define V_PFLAG(x) ((x) << S_PFLAG)
53151 #define G_PFLAG(x) (((x) >> S_PFLAG) & M_PFLAG)
53153 #define A_MAC_PORT_RX_LINKA_DYNAMIC_AMPLITUDE_CENTERING_DAC_AND_DYNAMIC_PEAKING_CONTROL_DPC 0x3270
53156 #define V_DPCMD(x) ((x) << S_DPCMD)
53157 #define F_DPCMD V_DPCMD(1U)
53159 #define S_DACCLIP 15
53160 #define V_DACCLIP(x) ((x) << S_DACCLIP)
53161 #define F_DACCLIP V_DACCLIP(1U)
53163 #define S_DPCFRZ 14
53164 #define V_DPCFRZ(x) ((x) << S_DPCFRZ)
53165 #define F_DPCFRZ V_DPCFRZ(1U)
53167 #define S_DPCLKNQ 11
53168 #define V_DPCLKNQ(x) ((x) << S_DPCLKNQ)
53169 #define F_DPCLKNQ V_DPCLKNQ(1U)
53171 #define S_DPCWDFE 10
53172 #define V_DPCWDFE(x) ((x) << S_DPCWDFE)
53173 #define F_DPCWDFE V_DPCWDFE(1U)
53176 #define V_DPCWPK(x) ((x) << S_DPCWPK)
53177 #define F_DPCWPK V_DPCWPK(1U)
53179 #define A_MAC_PORT_RX_LINKA_DYNAMIC_DATA_CENTERING_DDC 0x3274
53181 #define S_VIEWSCAN 4
53182 #define V_VIEWSCAN(x) ((x) << S_VIEWSCAN)
53183 #define F_VIEWSCAN V_VIEWSCAN(1U)
53185 #define S_T6_ODEC 0
53186 #define M_T6_ODEC 0xfU
53187 #define V_T6_ODEC(x) ((x) << S_T6_ODEC)
53188 #define G_T6_ODEC(x) (((x) >> S_T6_ODEC) & M_T6_ODEC)
53190 #define A_MAC_PORT_RX_LINKA_RECEIVER_INTERNAL_STATUS 0x3278
53192 #define S_T5BER6VAL 15
53193 #define V_T5BER6VAL(x) ((x) << S_T5BER6VAL)
53194 #define F_T5BER6VAL V_T5BER6VAL(1U)
53196 #define S_T5BER6 14
53197 #define V_T5BER6(x) ((x) << S_T5BER6)
53198 #define F_T5BER6 V_T5BER6(1U)
53200 #define S_T5BER3VAL 13
53201 #define V_T5BER3VAL(x) ((x) << S_T5BER3VAL)
53202 #define F_T5BER3VAL V_T5BER3VAL(1U)
53204 #define S_T5TOOFAST 12
53205 #define V_T5TOOFAST(x) ((x) << S_T5TOOFAST)
53206 #define F_T5TOOFAST V_T5TOOFAST(1U)
53208 #define S_T5DPCCMP 9
53209 #define V_T5DPCCMP(x) ((x) << S_T5DPCCMP)
53210 #define F_T5DPCCMP V_T5DPCCMP(1U)
53212 #define S_T5DACCMP 8
53213 #define V_T5DACCMP(x) ((x) << S_T5DACCMP)
53214 #define F_T5DACCMP V_T5DACCMP(1U)
53216 #define S_T5DDCCMP 7
53217 #define V_T5DDCCMP(x) ((x) << S_T5DDCCMP)
53218 #define F_T5DDCCMP V_T5DDCCMP(1U)
53220 #define S_T5AERRFLG 6
53221 #define V_T5AERRFLG(x) ((x) << S_T5AERRFLG)
53222 #define F_T5AERRFLG V_T5AERRFLG(1U)
53224 #define S_T5WERRFLG 5
53225 #define V_T5WERRFLG(x) ((x) << S_T5WERRFLG)
53226 #define F_T5WERRFLG V_T5WERRFLG(1U)
53228 #define S_T5TRCMP 4
53229 #define V_T5TRCMP(x) ((x) << S_T5TRCMP)
53230 #define F_T5TRCMP V_T5TRCMP(1U)
53232 #define S_T5VLCKF 3
53233 #define V_T5VLCKF(x) ((x) << S_T5VLCKF)
53234 #define F_T5VLCKF V_T5VLCKF(1U)
53236 #define S_T5ROCCMP 2
53237 #define V_T5ROCCMP(x) ((x) << S_T5ROCCMP)
53238 #define F_T5ROCCMP V_T5ROCCMP(1U)
53240 #define S_T5DQCCCMP 1
53241 #define V_T5DQCCCMP(x) ((x) << S_T5DQCCCMP)
53242 #define F_T5DQCCCMP V_T5DQCCCMP(1U)
53244 #define S_T5OCCMP 0
53245 #define V_T5OCCMP(x) ((x) << S_T5OCCMP)
53246 #define F_T5OCCMP V_T5OCCMP(1U)
53248 #define S_RX_LINKA_ACCCMP_RIS 11
53249 #define V_RX_LINKA_ACCCMP_RIS(x) ((x) << S_RX_LINKA_ACCCMP_RIS)
53250 #define F_RX_LINKA_ACCCMP_RIS V_RX_LINKA_ACCCMP_RIS(1U)
53252 #define S_DCCCMP 10
53253 #define V_DCCCMP(x) ((x) << S_DCCCMP)
53254 #define F_DCCCMP V_DCCCMP(1U)
53256 #define S_T5IQCMP 1
53257 #define V_T5IQCMP(x) ((x) << S_T5IQCMP)
53258 #define F_T5IQCMP V_T5IQCMP(1U)
53260 #define A_MAC_PORT_RX_LINKA_DFE_FUNCTION_CONTROL_1 0x327c
53263 #define V_FLOFF(x) ((x) << S_FLOFF)
53264 #define F_FLOFF V_FLOFF(1U)
53266 #define A_MAC_PORT_RX_LINKA_DFE_FUNCTION_CONTROL_2 0x3280
53268 #define S_H25SPC 15
53269 #define V_H25SPC(x) ((x) << S_H25SPC)
53270 #define F_H25SPC V_H25SPC(1U)
53272 #define S_FTOOFAST 8
53273 #define V_FTOOFAST(x) ((x) << S_FTOOFAST)
53274 #define F_FTOOFAST V_FTOOFAST(1U)
53276 #define S_FINTTRIM 7
53277 #define V_FINTTRIM(x) ((x) << S_FINTTRIM)
53278 #define F_FINTTRIM V_FINTTRIM(1U)
53281 #define V_FDINV(x) ((x) << S_FDINV)
53282 #define F_FDINV V_FDINV(1U)
53285 #define V_FHGS(x) ((x) << S_FHGS)
53286 #define F_FHGS V_FHGS(1U)
53289 #define V_FH6H12(x) ((x) << S_FH6H12)
53290 #define F_FH6H12 V_FH6H12(1U)
53293 #define V_FH1CAL(x) ((x) << S_FH1CAL)
53294 #define F_FH1CAL V_FH1CAL(1U)
53296 #define S_FINTCAL 2
53297 #define V_FINTCAL(x) ((x) << S_FINTCAL)
53298 #define F_FINTCAL V_FINTCAL(1U)
53301 #define V_FDCA(x) ((x) << S_FDCA)
53302 #define F_FDCA V_FDCA(1U)
53305 #define V_FDQCC(x) ((x) << S_FDQCC)
53306 #define F_FDQCC V_FDQCC(1U)
53308 #define S_FDCCAL 14
53309 #define V_FDCCAL(x) ((x) << S_FDCCAL)
53310 #define F_FDCCAL V_FDCCAL(1U)
53312 #define S_FROTCAL 13
53313 #define V_FROTCAL(x) ((x) << S_FROTCAL)
53314 #define F_FROTCAL V_FROTCAL(1U)
53316 #define S_FIQAMP 12
53317 #define V_FIQAMP(x) ((x) << S_FIQAMP)
53318 #define F_FIQAMP V_FIQAMP(1U)
53320 #define S_FRPTCALF 11
53321 #define V_FRPTCALF(x) ((x) << S_FRPTCALF)
53322 #define F_FRPTCALF V_FRPTCALF(1U)
53324 #define S_FINTCALGS 10
53325 #define V_FINTCALGS(x) ((x) << S_FINTCALGS)
53326 #define F_FINTCALGS V_FINTCALGS(1U)
53329 #define V_FDCC(x) ((x) << S_FDCC)
53330 #define F_FDCC V_FDCC(1U)
53333 #define V_FDCD(x) ((x) << S_FDCD)
53334 #define F_FDCD V_FDCD(1U)
53336 #define S_FINTRCALDYN 1
53337 #define V_FINTRCALDYN(x) ((x) << S_FINTRCALDYN)
53338 #define F_FINTRCALDYN V_FINTRCALDYN(1U)
53341 #define V_FQCC(x) ((x) << S_FQCC)
53342 #define F_FQCC V_FQCC(1U)
53344 #define A_MAC_PORT_RX_LINKA_DFE_OFFSET_EVN1_EVN2 0x3284
53346 #define S_LOFE2S_READWRITE 16
53347 #define V_LOFE2S_READWRITE(x) ((x) << S_LOFE2S_READWRITE)
53348 #define F_LOFE2S_READWRITE V_LOFE2S_READWRITE(1U)
53350 #define S_LOFE2S_READONLY 14
53351 #define M_LOFE2S_READONLY 0x3U
53352 #define V_LOFE2S_READONLY(x) ((x) << S_LOFE2S_READONLY)
53353 #define G_LOFE2S_READONLY(x) (((x) >> S_LOFE2S_READONLY) & M_LOFE2S_READONLY)
53356 #define M_LOFE2 0x3fU
53357 #define V_LOFE2(x) ((x) << S_LOFE2)
53358 #define G_LOFE2(x) (((x) >> S_LOFE2) & M_LOFE2)
53360 #define S_LOFE1S_READWRITE 7
53361 #define V_LOFE1S_READWRITE(x) ((x) << S_LOFE1S_READWRITE)
53362 #define F_LOFE1S_READWRITE V_LOFE1S_READWRITE(1U)
53364 #define S_LOFE1S_READONLY 6
53365 #define V_LOFE1S_READONLY(x) ((x) << S_LOFE1S_READONLY)
53366 #define F_LOFE1S_READONLY V_LOFE1S_READONLY(1U)
53369 #define M_LOFE1 0x3fU
53370 #define V_LOFE1(x) ((x) << S_LOFE1)
53371 #define G_LOFE1(x) (((x) >> S_LOFE1) & M_LOFE1)
53373 #define A_MAC_PORT_RX_LINKA_DFE_OFFSET_CHANNEL 0x3284
53375 #define S_QCCIND 13
53376 #define V_QCCIND(x) ((x) << S_QCCIND)
53377 #define F_QCCIND V_QCCIND(1U)
53379 #define S_DCDIND 10
53380 #define M_DCDIND 0x7U
53381 #define V_DCDIND(x) ((x) << S_DCDIND)
53382 #define G_DCDIND(x) (((x) >> S_DCDIND) & M_DCDIND)
53385 #define M_DCCIND 0x3U
53386 #define V_DCCIND(x) ((x) << S_DCCIND)
53387 #define G_DCCIND(x) (((x) >> S_DCCIND) & M_DCCIND)
53390 #define V_CFSEL(x) ((x) << S_CFSEL)
53391 #define F_CFSEL V_CFSEL(1U)
53394 #define M_LOFCH 0x1fU
53395 #define V_LOFCH(x) ((x) << S_LOFCH)
53396 #define G_LOFCH(x) (((x) >> S_LOFCH) & M_LOFCH)
53398 #define A_MAC_PORT_RX_LINKA_DFE_OFFSET_ODD1_ODD2 0x3288
53400 #define S_LOFO2S_READWRITE 15
53401 #define V_LOFO2S_READWRITE(x) ((x) << S_LOFO2S_READWRITE)
53402 #define F_LOFO2S_READWRITE V_LOFO2S_READWRITE(1U)
53404 #define S_LOFO2S_READONLY 14
53405 #define V_LOFO2S_READONLY(x) ((x) << S_LOFO2S_READONLY)
53406 #define F_LOFO2S_READONLY V_LOFO2S_READONLY(1U)
53409 #define M_LOFO2 0x3fU
53410 #define V_LOFO2(x) ((x) << S_LOFO2)
53411 #define G_LOFO2(x) (((x) >> S_LOFO2) & M_LOFO2)
53413 #define S_LOFO1S_READWRITE 7
53414 #define V_LOFO1S_READWRITE(x) ((x) << S_LOFO1S_READWRITE)
53415 #define F_LOFO1S_READWRITE V_LOFO1S_READWRITE(1U)
53417 #define S_LOFO1S_READONLY 6
53418 #define V_LOFO1S_READONLY(x) ((x) << S_LOFO1S_READONLY)
53419 #define F_LOFO1S_READONLY V_LOFO1S_READONLY(1U)
53422 #define M_LOFO1 0x3fU
53423 #define V_LOFO1(x) ((x) << S_LOFO1)
53424 #define G_LOFO1(x) (((x) >> S_LOFO1) & M_LOFO1)
53426 #define A_MAC_PORT_RX_LINKA_DFE_OFFSET_VALUE 0x3288
53429 #define M_LOFU 0x7fU
53430 #define V_LOFU(x) ((x) << S_LOFU)
53431 #define G_LOFU(x) (((x) >> S_LOFU) & M_LOFU)
53434 #define M_LOFL 0x7fU
53435 #define V_LOFL(x) ((x) << S_LOFL)
53436 #define G_LOFL(x) (((x) >> S_LOFL) & M_LOFL)
53438 #define A_MAC_PORT_RX_LINKA_DFE_OFFSET_EVN3_EVN4 0x328c
53440 #define S_LOFE4S_READWRITE 15
53441 #define V_LOFE4S_READWRITE(x) ((x) << S_LOFE4S_READWRITE)
53442 #define F_LOFE4S_READWRITE V_LOFE4S_READWRITE(1U)
53444 #define S_LOFE4S_READONLY 14
53445 #define V_LOFE4S_READONLY(x) ((x) << S_LOFE4S_READONLY)
53446 #define F_LOFE4S_READONLY V_LOFE4S_READONLY(1U)
53449 #define M_LOFE 0x3fU
53450 #define V_LOFE(x) ((x) << S_LOFE)
53451 #define G_LOFE(x) (((x) >> S_LOFE) & M_LOFE)
53453 #define S_LOFE3S_READWRITE 7
53454 #define V_LOFE3S_READWRITE(x) ((x) << S_LOFE3S_READWRITE)
53455 #define F_LOFE3S_READWRITE V_LOFE3S_READWRITE(1U)
53457 #define S_LOFE3S_READONLY 6
53458 #define V_LOFE3S_READONLY(x) ((x) << S_LOFE3S_READONLY)
53459 #define F_LOFE3S_READONLY V_LOFE3S_READONLY(1U)
53462 #define M_LOFE3 0x3fU
53463 #define V_LOFE3(x) ((x) << S_LOFE3)
53464 #define G_LOFE3(x) (((x) >> S_LOFE3) & M_LOFE3)
53466 #define A_MAC_PORT_RX_LINKA_H_COEFFICIENBT_BIST 0x328c
53468 #define S_HBISTMAN 12
53469 #define V_HBISTMAN(x) ((x) << S_HBISTMAN)
53470 #define F_HBISTMAN V_HBISTMAN(1U)
53472 #define S_HBISTRES 11
53473 #define V_HBISTRES(x) ((x) << S_HBISTRES)
53474 #define F_HBISTRES V_HBISTRES(1U)
53476 #define S_HBISTSP 8
53477 #define M_HBISTSP 0x7U
53478 #define V_HBISTSP(x) ((x) << S_HBISTSP)
53479 #define G_HBISTSP(x) (((x) >> S_HBISTSP) & M_HBISTSP)
53481 #define S_HBISTEN 7
53482 #define V_HBISTEN(x) ((x) << S_HBISTEN)
53483 #define F_HBISTEN V_HBISTEN(1U)
53485 #define S_HBISTRST 6
53486 #define V_HBISTRST(x) ((x) << S_HBISTRST)
53487 #define F_HBISTRST V_HBISTRST(1U)
53490 #define V_HCOMP(x) ((x) << S_HCOMP)
53491 #define F_HCOMP V_HCOMP(1U)
53494 #define V_HPASS(x) ((x) << S_HPASS)
53495 #define F_HPASS V_HPASS(1U)
53498 #define M_HSEL 0xfU
53499 #define V_HSEL(x) ((x) << S_HSEL)
53500 #define G_HSEL(x) (((x) >> S_HSEL) & M_HSEL)
53502 #define A_MAC_PORT_RX_LINKA_DFE_OFFSET_ODD3_ODD4 0x3290
53504 #define S_LOFO4S_READWRITE 15
53505 #define V_LOFO4S_READWRITE(x) ((x) << S_LOFO4S_READWRITE)
53506 #define F_LOFO4S_READWRITE V_LOFO4S_READWRITE(1U)
53508 #define S_LOFO4S_READONLY 14
53509 #define V_LOFO4S_READONLY(x) ((x) << S_LOFO4S_READONLY)
53510 #define F_LOFO4S_READONLY V_LOFO4S_READONLY(1U)
53513 #define M_LOFO4 0x3fU
53514 #define V_LOFO4(x) ((x) << S_LOFO4)
53515 #define G_LOFO4(x) (((x) >> S_LOFO4) & M_LOFO4)
53517 #define S_LOFO3S_READWRITE 7
53518 #define V_LOFO3S_READWRITE(x) ((x) << S_LOFO3S_READWRITE)
53519 #define F_LOFO3S_READWRITE V_LOFO3S_READWRITE(1U)
53521 #define S_LOFO3S_READONLY 6
53522 #define V_LOFO3S_READONLY(x) ((x) << S_LOFO3S_READONLY)
53523 #define F_LOFO3S_READONLY V_LOFO3S_READONLY(1U)
53526 #define M_LOFO3 0x3fU
53527 #define V_LOFO3(x) ((x) << S_LOFO3)
53528 #define G_LOFO3(x) (((x) >> S_LOFO3) & M_LOFO3)
53530 #define A_MAC_PORT_RX_LINKA_AC_CAPACITOR_BIST 0x3290
53532 #define S_RX_LINKA_ACCCMP_BIST 13
53533 #define V_RX_LINKA_ACCCMP_BIST(x) ((x) << S_RX_LINKA_ACCCMP_BIST)
53534 #define F_RX_LINKA_ACCCMP_BIST V_RX_LINKA_ACCCMP_BIST(1U)
53537 #define V_ACCEN(x) ((x) << S_ACCEN)
53538 #define F_ACCEN V_ACCEN(1U)
53540 #define S_ACCRST 11
53541 #define V_ACCRST(x) ((x) << S_ACCRST)
53542 #define F_ACCRST V_ACCRST(1U)
53545 #define M_ACCIND 0x7U
53546 #define V_ACCIND(x) ((x) << S_ACCIND)
53547 #define G_ACCIND(x) (((x) >> S_ACCIND) & M_ACCIND)
53550 #define M_ACCRD 0xffU
53551 #define V_ACCRD(x) ((x) << S_ACCRD)
53552 #define G_ACCRD(x) (((x) >> S_ACCRD) & M_ACCRD)
53554 #define A_MAC_PORT_RX_LINKA_DFE_E0_AND_E1_OFFSET 0x3294
53556 #define S_T5E1SN_READWRITE 15
53557 #define V_T5E1SN_READWRITE(x) ((x) << S_T5E1SN_READWRITE)
53558 #define F_T5E1SN_READWRITE V_T5E1SN_READWRITE(1U)
53560 #define S_T5E1SN_READONLY 14
53561 #define V_T5E1SN_READONLY(x) ((x) << S_T5E1SN_READONLY)
53562 #define F_T5E1SN_READONLY V_T5E1SN_READONLY(1U)
53564 #define S_T5E1AMP 8
53565 #define M_T5E1AMP 0x3fU
53566 #define V_T5E1AMP(x) ((x) << S_T5E1AMP)
53567 #define G_T5E1AMP(x) (((x) >> S_T5E1AMP) & M_T5E1AMP)
53569 #define S_T5E0SN_READWRITE 7
53570 #define V_T5E0SN_READWRITE(x) ((x) << S_T5E0SN_READWRITE)
53571 #define F_T5E0SN_READWRITE V_T5E0SN_READWRITE(1U)
53573 #define S_T5E0SN_READONLY 6
53574 #define V_T5E0SN_READONLY(x) ((x) << S_T5E0SN_READONLY)
53575 #define F_T5E0SN_READONLY V_T5E0SN_READONLY(1U)
53577 #define S_T5E0AMP 0
53578 #define M_T5E0AMP 0x3fU
53579 #define V_T5E0AMP(x) ((x) << S_T5E0AMP)
53580 #define G_T5E0AMP(x) (((x) >> S_T5E0AMP) & M_T5E0AMP)
53582 #define A_MAC_PORT_RX_LINKA_RECEIVER_LOFF_CONTROL 0x3298
53584 #define S_T5LFREG 12
53585 #define V_T5LFREG(x) ((x) << S_T5LFREG)
53586 #define F_T5LFREG V_T5LFREG(1U)
53588 #define S_T5LFRC 11
53589 #define V_T5LFRC(x) ((x) << S_T5LFRC)
53590 #define F_T5LFRC V_T5LFRC(1U)
53592 #define S_T5LFSEL 8
53593 #define M_T5LFSEL 0x7U
53594 #define V_T5LFSEL(x) ((x) << S_T5LFSEL)
53595 #define G_T5LFSEL(x) (((x) >> S_T5LFSEL) & M_T5LFSEL)
53597 #define A_MAC_PORT_RX_LINKA_RECEIVER_LOFF_CONTROL_REGISTER 0x3298
53600 #define V_LFREG(x) ((x) << S_LFREG)
53601 #define F_LFREG V_LFREG(1U)
53604 #define V_LFRC(x) ((x) << S_LFRC)
53605 #define F_LFRC V_LFRC(1U)
53607 #define S_LGIDLE 13
53608 #define V_LGIDLE(x) ((x) << S_LGIDLE)
53609 #define F_LGIDLE V_LGIDLE(1U)
53612 #define M_LFTGT 0x1fU
53613 #define V_LFTGT(x) ((x) << S_LFTGT)
53614 #define G_LFTGT(x) (((x) >> S_LFTGT) & M_LFTGT)
53617 #define V_LGTGT(x) ((x) << S_LGTGT)
53618 #define F_LGTGT V_LGTGT(1U)
53621 #define V_LRDY(x) ((x) << S_LRDY)
53622 #define F_LRDY V_LRDY(1U)
53625 #define V_LIDLE(x) ((x) << S_LIDLE)
53626 #define F_LIDLE V_LIDLE(1U)
53629 #define M_LCURR 0x1fU
53630 #define V_LCURR(x) ((x) << S_LCURR)
53631 #define G_LCURR(x) (((x) >> S_LCURR) & M_LCURR)
53633 #define A_MAC_PORT_RX_LINKA_RECEIVER_SIGDET_CONTROL 0x329c
53635 #define S_OFFSN_READWRITE 14
53636 #define V_OFFSN_READWRITE(x) ((x) << S_OFFSN_READWRITE)
53637 #define F_OFFSN_READWRITE V_OFFSN_READWRITE(1U)
53639 #define S_OFFSN_READONLY 13
53640 #define V_OFFSN_READONLY(x) ((x) << S_OFFSN_READONLY)
53641 #define F_OFFSN_READONLY V_OFFSN_READONLY(1U)
53644 #define M_OFFAMP 0x1fU
53645 #define V_OFFAMP(x) ((x) << S_OFFAMP)
53646 #define G_OFFAMP(x) (((x) >> S_OFFAMP) & M_OFFAMP)
53649 #define V_SDACDC(x) ((x) << S_SDACDC)
53650 #define F_SDACDC V_SDACDC(1U)
53653 #define M_OFFSN 0x3U
53654 #define V_OFFSN(x) ((x) << S_OFFSN)
53655 #define G_OFFSN(x) (((x) >> S_OFFSN) & M_OFFSN)
53657 #define A_MAC_PORT_RX_LINKA_RECEIVER_ANALOG_CONTROL_SWITCH 0x32a0
53659 #define S_T5_RX_SETHDIS 7
53660 #define V_T5_RX_SETHDIS(x) ((x) << S_T5_RX_SETHDIS)
53661 #define F_T5_RX_SETHDIS V_T5_RX_SETHDIS(1U)
53663 #define S_T5_RX_PDTERM 6
53664 #define V_T5_RX_PDTERM(x) ((x) << S_T5_RX_PDTERM)
53665 #define F_T5_RX_PDTERM V_T5_RX_PDTERM(1U)
53667 #define S_T5_RX_BYPASS 5
53668 #define V_T5_RX_BYPASS(x) ((x) << S_T5_RX_BYPASS)
53669 #define F_T5_RX_BYPASS V_T5_RX_BYPASS(1U)
53671 #define S_T5_RX_LPFEN 4
53672 #define V_T5_RX_LPFEN(x) ((x) << S_T5_RX_LPFEN)
53673 #define F_T5_RX_LPFEN V_T5_RX_LPFEN(1U)
53675 #define S_T5_RX_VGABOD 3
53676 #define V_T5_RX_VGABOD(x) ((x) << S_T5_RX_VGABOD)
53677 #define F_T5_RX_VGABOD V_T5_RX_VGABOD(1U)
53679 #define S_T5_RX_VTBYP 2
53680 #define V_T5_RX_VTBYP(x) ((x) << S_T5_RX_VTBYP)
53681 #define F_T5_RX_VTBYP V_T5_RX_VTBYP(1U)
53683 #define S_T5_RX_VTERM 0
53684 #define M_T5_RX_VTERM 0x3U
53685 #define V_T5_RX_VTERM(x) ((x) << S_T5_RX_VTERM)
53686 #define G_T5_RX_VTERM(x) (((x) >> S_T5_RX_VTERM) & M_T5_RX_VTERM)
53688 #define S_RX_OVRSUMPD 15
53689 #define V_RX_OVRSUMPD(x) ((x) << S_RX_OVRSUMPD)
53690 #define F_RX_OVRSUMPD V_RX_OVRSUMPD(1U)
53692 #define S_RX_OVRKBPD 14
53693 #define V_RX_OVRKBPD(x) ((x) << S_RX_OVRKBPD)
53694 #define F_RX_OVRKBPD V_RX_OVRKBPD(1U)
53696 #define S_RX_OVRDIVPD 13
53697 #define V_RX_OVRDIVPD(x) ((x) << S_RX_OVRDIVPD)
53698 #define F_RX_OVRDIVPD V_RX_OVRDIVPD(1U)
53700 #define S_RX_OFFVGADIS 12
53701 #define V_RX_OFFVGADIS(x) ((x) << S_RX_OFFVGADIS)
53702 #define F_RX_OFFVGADIS V_RX_OFFVGADIS(1U)
53704 #define S_RX_OFFACDIS 11
53705 #define V_RX_OFFACDIS(x) ((x) << S_RX_OFFACDIS)
53706 #define F_RX_OFFACDIS V_RX_OFFACDIS(1U)
53708 #define S_RX_VTERM 10
53709 #define V_RX_VTERM(x) ((x) << S_RX_VTERM)
53710 #define F_RX_VTERM V_RX_VTERM(1U)
53712 #define S_RX_DISSPY2D 8
53713 #define V_RX_DISSPY2D(x) ((x) << S_RX_DISSPY2D)
53714 #define F_RX_DISSPY2D V_RX_DISSPY2D(1U)
53716 #define S_RX_OBSOVEN 7
53717 #define V_RX_OBSOVEN(x) ((x) << S_RX_OBSOVEN)
53718 #define F_RX_OBSOVEN V_RX_OBSOVEN(1U)
53720 #define S_RX_LINKANLGSW 0
53721 #define M_RX_LINKANLGSW 0x7fU
53722 #define V_RX_LINKANLGSW(x) ((x) << S_RX_LINKANLGSW)
53723 #define G_RX_LINKANLGSW(x) (((x) >> S_RX_LINKANLGSW) & M_RX_LINKANLGSW)
53725 #define A_MAC_PORT_RX_LINKA_INTEGRATOR_DAC_OFFSET 0x32a4
53727 #define S_ISTRIMS 14
53728 #define M_ISTRIMS 0x3U
53729 #define V_ISTRIMS(x) ((x) << S_ISTRIMS)
53730 #define G_ISTRIMS(x) (((x) >> S_ISTRIMS) & M_ISTRIMS)
53733 #define M_ISTRIM 0x3fU
53734 #define V_ISTRIM(x) ((x) << S_ISTRIM)
53735 #define G_ISTRIM(x) (((x) >> S_ISTRIM) & M_ISTRIM)
53738 #define V_HALF1(x) ((x) << S_HALF1)
53739 #define F_HALF1 V_HALF1(1U)
53742 #define V_HALF2(x) ((x) << S_HALF2)
53743 #define F_HALF2 V_HALF2(1U)
53746 #define M_INTDAC 0x3fU
53747 #define V_INTDAC(x) ((x) << S_INTDAC)
53748 #define G_INTDAC(x) (((x) >> S_INTDAC) & M_INTDAC)
53750 #define S_INTDACEGS 13
53751 #define M_INTDACEGS 0x7U
53752 #define V_INTDACEGS(x) ((x) << S_INTDACEGS)
53753 #define G_INTDACEGS(x) (((x) >> S_INTDACEGS) & M_INTDACEGS)
53755 #define S_INTDACE 8
53756 #define M_INTDACE 0x1fU
53757 #define V_INTDACE(x) ((x) << S_INTDACE)
53758 #define G_INTDACE(x) (((x) >> S_INTDACE) & M_INTDACE)
53760 #define S_INTDACGS 6
53761 #define M_INTDACGS 0x3U
53762 #define V_INTDACGS(x) ((x) << S_INTDACGS)
53763 #define G_INTDACGS(x) (((x) >> S_INTDACGS) & M_INTDACGS)
53765 #define A_MAC_PORT_RX_LINKA_DIGITAL_EYE_CONTROL 0x32a8
53767 #define S_MINWDTH 5
53768 #define M_MINWDTH 0x1fU
53769 #define V_MINWDTH(x) ((x) << S_MINWDTH)
53770 #define G_MINWDTH(x) (((x) >> S_MINWDTH) & M_MINWDTH)
53772 #define A_MAC_PORT_RX_LINKA_DIGITAL_EYE_METRICS 0x32ac
53774 #define S_T5SMQM 13
53775 #define M_T5SMQM 0x7U
53776 #define V_T5SMQM(x) ((x) << S_T5SMQM)
53777 #define G_T5SMQM(x) (((x) >> S_T5SMQM) & M_T5SMQM)
53780 #define M_T5SMQ 0xffU
53781 #define V_T5SMQ(x) ((x) << S_T5SMQ)
53782 #define G_T5SMQ(x) (((x) >> S_T5SMQ) & M_T5SMQ)
53785 #define M_T5EMMD 0x3U
53786 #define V_T5EMMD(x) ((x) << S_T5EMMD)
53787 #define G_T5EMMD(x) (((x) >> S_T5EMMD) & M_T5EMMD)
53789 #define S_T5EMBRDY 2
53790 #define V_T5EMBRDY(x) ((x) << S_T5EMBRDY)
53791 #define F_T5EMBRDY V_T5EMBRDY(1U)
53793 #define S_T5EMBUMP 1
53794 #define V_T5EMBUMP(x) ((x) << S_T5EMBUMP)
53795 #define F_T5EMBUMP V_T5EMBUMP(1U)
53798 #define V_T5EMEN(x) ((x) << S_T5EMEN)
53799 #define F_T5EMEN V_T5EMEN(1U)
53802 #define M_SMQM 0x7U
53803 #define V_SMQM(x) ((x) << S_SMQM)
53804 #define G_SMQM(x) (((x) >> S_SMQM) & M_SMQM)
53807 #define M_SMQ 0xffU
53808 #define V_SMQ(x) ((x) << S_SMQ)
53809 #define G_SMQ(x) (((x) >> S_SMQ) & M_SMQ)
53811 #define S_T6_EMMD 3
53812 #define M_T6_EMMD 0x3U
53813 #define V_T6_EMMD(x) ((x) << S_T6_EMMD)
53814 #define G_T6_EMMD(x) (((x) >> S_T6_EMMD) & M_T6_EMMD)
53816 #define S_T6_EMBRDY 2
53817 #define V_T6_EMBRDY(x) ((x) << S_T6_EMBRDY)
53818 #define F_T6_EMBRDY V_T6_EMBRDY(1U)
53820 #define S_T6_EMBUMP 1
53821 #define V_T6_EMBUMP(x) ((x) << S_T6_EMBUMP)
53822 #define F_T6_EMBUMP V_T6_EMBUMP(1U)
53824 #define A_MAC_PORT_RX_LINKA_DIGITAL_EYE_METRICS_ERROR_COUNT 0x32b0
53827 #define V_EMF8(x) ((x) << S_EMF8)
53828 #define F_EMF8 V_EMF8(1U)
53831 #define M_EMCNT 0xffU
53832 #define V_EMCNT(x) ((x) << S_EMCNT)
53833 #define G_EMCNT(x) (((x) >> S_EMCNT) & M_EMCNT)
53836 #define V_EMOFLO(x) ((x) << S_EMOFLO)
53837 #define F_EMOFLO V_EMOFLO(1U)
53840 #define V_EMCRST(x) ((x) << S_EMCRST)
53841 #define F_EMCRST V_EMCRST(1U)
53844 #define V_EMCEN(x) ((x) << S_EMCEN)
53845 #define F_EMCEN V_EMCEN(1U)
53848 #define V_EMSF(x) ((x) << S_EMSF)
53849 #define F_EMSF V_EMSF(1U)
53851 #define S_EMDATA59 12
53852 #define V_EMDATA59(x) ((x) << S_EMDATA59)
53853 #define F_EMDATA59 V_EMDATA59(1U)
53855 #define A_MAC_PORT_RX_LINKA_DIGITAL_EYE_METRICS_PDF_EYE_COUNT 0x32b4
53857 #define S_SM2RDY 15
53858 #define V_SM2RDY(x) ((x) << S_SM2RDY)
53859 #define F_SM2RDY V_SM2RDY(1U)
53861 #define S_SM2RST 14
53862 #define V_SM2RST(x) ((x) << S_SM2RST)
53863 #define F_SM2RST V_SM2RST(1U)
53866 #define M_APDF 0xfffU
53867 #define V_APDF(x) ((x) << S_APDF)
53868 #define G_APDF(x) (((x) >> S_APDF) & M_APDF)
53870 #define A_MAC_PORT_RX_LINKA_DIGITAL_EYE_METRICS_PATTERN_LENGTH 0x32b8
53873 #define M_SM0LEN 0x7fffU
53874 #define V_SM0LEN(x) ((x) << S_SM0LEN)
53875 #define G_SM0LEN(x) (((x) >> S_SM0LEN) & M_SM0LEN)
53877 #define A_MAC_PORT_RX_LINKA_DFE_FUNCTION_CONTROL_3 0x32bc
53879 #define S_FTIMEOUT 15
53880 #define V_FTIMEOUT(x) ((x) << S_FTIMEOUT)
53881 #define F_FTIMEOUT V_FTIMEOUT(1U)
53883 #define S_FROTCAL4 14
53884 #define V_FROTCAL4(x) ((x) << S_FROTCAL4)
53885 #define F_FROTCAL4 V_FROTCAL4(1U)
53888 #define V_FDCD2(x) ((x) << S_FDCD2)
53889 #define F_FDCD2 V_FDCD2(1U)
53891 #define S_FPRBSPOLTOG 12
53892 #define V_FPRBSPOLTOG(x) ((x) << S_FPRBSPOLTOG)
53893 #define F_FPRBSPOLTOG V_FPRBSPOLTOG(1U)
53895 #define S_FPRBSOFF2 11
53896 #define V_FPRBSOFF2(x) ((x) << S_FPRBSOFF2)
53897 #define F_FPRBSOFF2 V_FPRBSOFF2(1U)
53899 #define S_FDDCAL2 10
53900 #define V_FDDCAL2(x) ((x) << S_FDDCAL2)
53901 #define F_FDDCAL2 V_FDDCAL2(1U)
53903 #define S_FDDCFLTR 9
53904 #define V_FDDCFLTR(x) ((x) << S_FDDCFLTR)
53905 #define F_FDDCFLTR V_FDDCFLTR(1U)
53908 #define V_FDAC6(x) ((x) << S_FDAC6)
53909 #define F_FDAC6 V_FDAC6(1U)
53912 #define V_FDDC5(x) ((x) << S_FDDC5)
53913 #define F_FDDC5 V_FDDC5(1U)
53915 #define S_FDDC3456 6
53916 #define V_FDDC3456(x) ((x) << S_FDDC3456)
53917 #define F_FDDC3456 V_FDDC3456(1U)
53919 #define S_FSPY2DATA 5
53920 #define V_FSPY2DATA(x) ((x) << S_FSPY2DATA)
53921 #define F_FSPY2DATA V_FSPY2DATA(1U)
53923 #define S_FPHSLOCK 4
53924 #define V_FPHSLOCK(x) ((x) << S_FPHSLOCK)
53925 #define F_FPHSLOCK V_FPHSLOCK(1U)
53927 #define S_FCLKALGN 3
53928 #define V_FCLKALGN(x) ((x) << S_FCLKALGN)
53929 #define F_FCLKALGN V_FCLKALGN(1U)
53931 #define S_FCLKALDYN 2
53932 #define V_FCLKALDYN(x) ((x) << S_FCLKALDYN)
53933 #define F_FCLKALDYN V_FCLKALDYN(1U)
53936 #define V_FDFE(x) ((x) << S_FDFE)
53937 #define F_FDFE V_FDFE(1U)
53939 #define S_FPRBSOFF 0
53940 #define V_FPRBSOFF(x) ((x) << S_FPRBSOFF)
53941 #define F_FPRBSOFF V_FPRBSOFF(1U)
53943 #define A_MAC_PORT_RX_LINKA_DFE_TAP_ENABLE 0x32c0
53946 #define M_H_EN 0xfffU
53947 #define V_H_EN(x) ((x) << S_H_EN)
53948 #define G_H_EN(x) (((x) >> S_H_EN) & M_H_EN)
53950 #define A_MAC_PORT_RX_LINKA_DFE_TAP_CONTROL 0x32c0
53952 #define S_RX_LINKA_INDEX_DFE_TC 0
53953 #define M_RX_LINKA_INDEX_DFE_TC 0xfU
53954 #define V_RX_LINKA_INDEX_DFE_TC(x) ((x) << S_RX_LINKA_INDEX_DFE_TC)
53955 #define G_RX_LINKA_INDEX_DFE_TC(x) (((x) >> S_RX_LINKA_INDEX_DFE_TC) & M_RX_LINKA_INDEX_DFE_TC)
53957 #define A_MAC_PORT_RX_LINKA_DFE_H1 0x32c4
53958 #define A_MAC_PORT_RX_LINKA_DFE_TAP 0x32c4
53960 #define S_RX_LINKA_INDEX_DFE_TAP 0
53961 #define M_RX_LINKA_INDEX_DFE_TAP 0xfU
53962 #define V_RX_LINKA_INDEX_DFE_TAP(x) ((x) << S_RX_LINKA_INDEX_DFE_TAP)
53963 #define G_RX_LINKA_INDEX_DFE_TAP(x) (((x) >> S_RX_LINKA_INDEX_DFE_TAP) & M_RX_LINKA_INDEX_DFE_TAP)
53965 #define A_MAC_PORT_RX_LINKA_DFE_H2 0x32c8
53967 #define S_H2OSN_READWRITE 14
53968 #define V_H2OSN_READWRITE(x) ((x) << S_H2OSN_READWRITE)
53969 #define F_H2OSN_READWRITE V_H2OSN_READWRITE(1U)
53971 #define S_H2OSN_READONLY 13
53972 #define V_H2OSN_READONLY(x) ((x) << S_H2OSN_READONLY)
53973 #define F_H2OSN_READONLY V_H2OSN_READONLY(1U)
53975 #define S_H2ESN_READWRITE 6
53976 #define V_H2ESN_READWRITE(x) ((x) << S_H2ESN_READWRITE)
53977 #define F_H2ESN_READWRITE V_H2ESN_READWRITE(1U)
53979 #define S_H2ESN_READONLY 5
53980 #define V_H2ESN_READONLY(x) ((x) << S_H2ESN_READONLY)
53981 #define F_H2ESN_READONLY V_H2ESN_READONLY(1U)
53983 #define A_MAC_PORT_RX_LINKA_DFE_H3 0x32cc
53985 #define S_H3OSN_READWRITE 13
53986 #define V_H3OSN_READWRITE(x) ((x) << S_H3OSN_READWRITE)
53987 #define F_H3OSN_READWRITE V_H3OSN_READWRITE(1U)
53989 #define S_H3OSN_READONLY 12
53990 #define V_H3OSN_READONLY(x) ((x) << S_H3OSN_READONLY)
53991 #define F_H3OSN_READONLY V_H3OSN_READONLY(1U)
53993 #define S_H3ESN_READWRITE 5
53994 #define V_H3ESN_READWRITE(x) ((x) << S_H3ESN_READWRITE)
53995 #define F_H3ESN_READWRITE V_H3ESN_READWRITE(1U)
53997 #define S_H3ESN_READONLY 4
53998 #define V_H3ESN_READONLY(x) ((x) << S_H3ESN_READONLY)
53999 #define F_H3ESN_READONLY V_H3ESN_READONLY(1U)
54001 #define A_MAC_PORT_RX_LINKA_DFE_H4 0x32d0
54004 #define M_H4OGS 0x3U
54005 #define V_H4OGS(x) ((x) << S_H4OGS)
54006 #define G_H4OGS(x) (((x) >> S_H4OGS) & M_H4OGS)
54008 #define S_H4OSN_READWRITE 13
54009 #define V_H4OSN_READWRITE(x) ((x) << S_H4OSN_READWRITE)
54010 #define F_H4OSN_READWRITE V_H4OSN_READWRITE(1U)
54012 #define S_H4OSN_READONLY 12
54013 #define V_H4OSN_READONLY(x) ((x) << S_H4OSN_READONLY)
54014 #define F_H4OSN_READONLY V_H4OSN_READONLY(1U)
54017 #define M_H4EGS 0x3U
54018 #define V_H4EGS(x) ((x) << S_H4EGS)
54019 #define G_H4EGS(x) (((x) >> S_H4EGS) & M_H4EGS)
54021 #define S_H4ESN_READWRITE 5
54022 #define V_H4ESN_READWRITE(x) ((x) << S_H4ESN_READWRITE)
54023 #define F_H4ESN_READWRITE V_H4ESN_READWRITE(1U)
54025 #define S_H4ESN_READONLY 4
54026 #define V_H4ESN_READONLY(x) ((x) << S_H4ESN_READONLY)
54027 #define F_H4ESN_READONLY V_H4ESN_READONLY(1U)
54029 #define A_MAC_PORT_RX_LINKA_DFE_H5 0x32d4
54032 #define M_H5OGS 0x3U
54033 #define V_H5OGS(x) ((x) << S_H5OGS)
54034 #define G_H5OGS(x) (((x) >> S_H5OGS) & M_H5OGS)
54036 #define S_H5OSN_READWRITE 13
54037 #define V_H5OSN_READWRITE(x) ((x) << S_H5OSN_READWRITE)
54038 #define F_H5OSN_READWRITE V_H5OSN_READWRITE(1U)
54040 #define S_H5OSN_READONLY 12
54041 #define V_H5OSN_READONLY(x) ((x) << S_H5OSN_READONLY)
54042 #define F_H5OSN_READONLY V_H5OSN_READONLY(1U)
54045 #define M_H5EGS 0x3U
54046 #define V_H5EGS(x) ((x) << S_H5EGS)
54047 #define G_H5EGS(x) (((x) >> S_H5EGS) & M_H5EGS)
54049 #define S_H5ESN_READWRITE 5
54050 #define V_H5ESN_READWRITE(x) ((x) << S_H5ESN_READWRITE)
54051 #define F_H5ESN_READWRITE V_H5ESN_READWRITE(1U)
54053 #define S_H5ESN_READONLY 4
54054 #define V_H5ESN_READONLY(x) ((x) << S_H5ESN_READONLY)
54055 #define F_H5ESN_READONLY V_H5ESN_READONLY(1U)
54057 #define A_MAC_PORT_RX_LINKA_DFE_H6_AND_H7 0x32d8
54060 #define M_H7GS 0x3U
54061 #define V_H7GS(x) ((x) << S_H7GS)
54062 #define G_H7GS(x) (((x) >> S_H7GS) & M_H7GS)
54064 #define S_H7SN_READWRITE 13
54065 #define V_H7SN_READWRITE(x) ((x) << S_H7SN_READWRITE)
54066 #define F_H7SN_READWRITE V_H7SN_READWRITE(1U)
54068 #define S_H7SN_READONLY 12
54069 #define V_H7SN_READONLY(x) ((x) << S_H7SN_READONLY)
54070 #define F_H7SN_READONLY V_H7SN_READONLY(1U)
54073 #define M_H7MAG 0xfU
54074 #define V_H7MAG(x) ((x) << S_H7MAG)
54075 #define G_H7MAG(x) (((x) >> S_H7MAG) & M_H7MAG)
54078 #define M_H6GS 0x3U
54079 #define V_H6GS(x) ((x) << S_H6GS)
54080 #define G_H6GS(x) (((x) >> S_H6GS) & M_H6GS)
54082 #define S_H6SN_READWRITE 5
54083 #define V_H6SN_READWRITE(x) ((x) << S_H6SN_READWRITE)
54084 #define F_H6SN_READWRITE V_H6SN_READWRITE(1U)
54086 #define S_H6SN_READONLY 4
54087 #define V_H6SN_READONLY(x) ((x) << S_H6SN_READONLY)
54088 #define F_H6SN_READONLY V_H6SN_READONLY(1U)
54091 #define M_H6MAG 0xfU
54092 #define V_H6MAG(x) ((x) << S_H6MAG)
54093 #define G_H6MAG(x) (((x) >> S_H6MAG) & M_H6MAG)
54095 #define A_MAC_PORT_RX_LINKA_DFE_H8_AND_H9 0x32dc
54098 #define M_H9GS 0x3U
54099 #define V_H9GS(x) ((x) << S_H9GS)
54100 #define G_H9GS(x) (((x) >> S_H9GS) & M_H9GS)
54102 #define S_H9SN_READWRITE 13
54103 #define V_H9SN_READWRITE(x) ((x) << S_H9SN_READWRITE)
54104 #define F_H9SN_READWRITE V_H9SN_READWRITE(1U)
54106 #define S_H9SN_READONLY 12
54107 #define V_H9SN_READONLY(x) ((x) << S_H9SN_READONLY)
54108 #define F_H9SN_READONLY V_H9SN_READONLY(1U)
54111 #define M_H9MAG 0xfU
54112 #define V_H9MAG(x) ((x) << S_H9MAG)
54113 #define G_H9MAG(x) (((x) >> S_H9MAG) & M_H9MAG)
54116 #define M_H8GS 0x3U
54117 #define V_H8GS(x) ((x) << S_H8GS)
54118 #define G_H8GS(x) (((x) >> S_H8GS) & M_H8GS)
54120 #define S_H8SN_READWRITE 5
54121 #define V_H8SN_READWRITE(x) ((x) << S_H8SN_READWRITE)
54122 #define F_H8SN_READWRITE V_H8SN_READWRITE(1U)
54124 #define S_H8SN_READONLY 4
54125 #define V_H8SN_READONLY(x) ((x) << S_H8SN_READONLY)
54126 #define F_H8SN_READONLY V_H8SN_READONLY(1U)
54129 #define M_H8MAG 0xfU
54130 #define V_H8MAG(x) ((x) << S_H8MAG)
54131 #define G_H8MAG(x) (((x) >> S_H8MAG) & M_H8MAG)
54133 #define A_MAC_PORT_RX_LINKA_DFE_H10_AND_H11 0x32e0
54136 #define M_H11GS 0x3U
54137 #define V_H11GS(x) ((x) << S_H11GS)
54138 #define G_H11GS(x) (((x) >> S_H11GS) & M_H11GS)
54140 #define S_H11SN_READWRITE 13
54141 #define V_H11SN_READWRITE(x) ((x) << S_H11SN_READWRITE)
54142 #define F_H11SN_READWRITE V_H11SN_READWRITE(1U)
54144 #define S_H11SN_READONLY 12
54145 #define V_H11SN_READONLY(x) ((x) << S_H11SN_READONLY)
54146 #define F_H11SN_READONLY V_H11SN_READONLY(1U)
54149 #define M_H11MAG 0xfU
54150 #define V_H11MAG(x) ((x) << S_H11MAG)
54151 #define G_H11MAG(x) (((x) >> S_H11MAG) & M_H11MAG)
54154 #define M_H10GS 0x3U
54155 #define V_H10GS(x) ((x) << S_H10GS)
54156 #define G_H10GS(x) (((x) >> S_H10GS) & M_H10GS)
54158 #define S_H10SN_READWRITE 5
54159 #define V_H10SN_READWRITE(x) ((x) << S_H10SN_READWRITE)
54160 #define F_H10SN_READWRITE V_H10SN_READWRITE(1U)
54162 #define S_H10SN_READONLY 4
54163 #define V_H10SN_READONLY(x) ((x) << S_H10SN_READONLY)
54164 #define F_H10SN_READONLY V_H10SN_READONLY(1U)
54167 #define M_H10MAG 0xfU
54168 #define V_H10MAG(x) ((x) << S_H10MAG)
54169 #define G_H10MAG(x) (((x) >> S_H10MAG) & M_H10MAG)
54171 #define A_MAC_PORT_RX_LINKA_DFE_H12 0x32e4
54174 #define M_H12GS 0x3U
54175 #define V_H12GS(x) ((x) << S_H12GS)
54176 #define G_H12GS(x) (((x) >> S_H12GS) & M_H12GS)
54178 #define S_H12SN_READWRITE 5
54179 #define V_H12SN_READWRITE(x) ((x) << S_H12SN_READWRITE)
54180 #define F_H12SN_READWRITE V_H12SN_READWRITE(1U)
54182 #define S_H12SN_READONLY 4
54183 #define V_H12SN_READONLY(x) ((x) << S_H12SN_READONLY)
54184 #define F_H12SN_READONLY V_H12SN_READONLY(1U)
54187 #define M_H12MAG 0xfU
54188 #define V_H12MAG(x) ((x) << S_H12MAG)
54189 #define G_H12MAG(x) (((x) >> S_H12MAG) & M_H12MAG)
54191 #define A_MAC_PORT_RX_LINKA_RECEIVER_INTERNAL_STATUS_2 0x32e4
54193 #define S_STNDBYSTAT 15
54194 #define V_STNDBYSTAT(x) ((x) << S_STNDBYSTAT)
54195 #define F_STNDBYSTAT V_STNDBYSTAT(1U)
54197 #define S_CALSDONE 14
54198 #define V_CALSDONE(x) ((x) << S_CALSDONE)
54199 #define F_CALSDONE V_CALSDONE(1U)
54201 #define S_ACISRCCMP 5
54202 #define V_ACISRCCMP(x) ((x) << S_ACISRCCMP)
54203 #define F_ACISRCCMP V_ACISRCCMP(1U)
54205 #define S_PRBSOFFCMP 4
54206 #define V_PRBSOFFCMP(x) ((x) << S_PRBSOFFCMP)
54207 #define F_PRBSOFFCMP V_PRBSOFFCMP(1U)
54209 #define S_CLKALGNCMP 3
54210 #define V_CLKALGNCMP(x) ((x) << S_CLKALGNCMP)
54211 #define F_CLKALGNCMP V_CLKALGNCMP(1U)
54213 #define S_ROTFCMP 2
54214 #define V_ROTFCMP(x) ((x) << S_ROTFCMP)
54215 #define F_ROTFCMP V_ROTFCMP(1U)
54218 #define V_DCDCMP(x) ((x) << S_DCDCMP)
54219 #define F_DCDCMP V_DCDCMP(1U)
54222 #define V_QCCCMP(x) ((x) << S_QCCCMP)
54223 #define F_QCCCMP V_QCCCMP(1U)
54225 #define A_MAC_PORT_RX_LINKA_AC_COUPLING_CURRENT_SOURCE_ADJUST 0x32e8
54228 #define V_FCSADJ(x) ((x) << S_FCSADJ)
54229 #define F_FCSADJ V_FCSADJ(1U)
54232 #define M_CSIND 0x3U
54233 #define V_CSIND(x) ((x) << S_CSIND)
54234 #define G_CSIND(x) (((x) >> S_CSIND) & M_CSIND)
54237 #define M_CSVAL 0x7U
54238 #define V_CSVAL(x) ((x) << S_CSVAL)
54239 #define G_CSVAL(x) (((x) >> S_CSVAL) & M_CSVAL)
54241 #define A_MAC_PORT_RX_LINKA_RECEIVER_DCD_CONTROL 0x32ec
54243 #define S_DCDTMDOUT 15
54244 #define V_DCDTMDOUT(x) ((x) << S_DCDTMDOUT)
54245 #define F_DCDTMDOUT V_DCDTMDOUT(1U)
54247 #define S_DCDTOEN 14
54248 #define V_DCDTOEN(x) ((x) << S_DCDTOEN)
54249 #define F_DCDTOEN V_DCDTOEN(1U)
54251 #define S_DCDLOCK 13
54252 #define V_DCDLOCK(x) ((x) << S_DCDLOCK)
54253 #define F_DCDLOCK V_DCDLOCK(1U)
54255 #define S_DCDSTEP 11
54256 #define M_DCDSTEP 0x3U
54257 #define V_DCDSTEP(x) ((x) << S_DCDSTEP)
54258 #define G_DCDSTEP(x) (((x) >> S_DCDSTEP) & M_DCDSTEP)
54260 #define S_DCDALTWPDIS 10
54261 #define V_DCDALTWPDIS(x) ((x) << S_DCDALTWPDIS)
54262 #define F_DCDALTWPDIS V_DCDALTWPDIS(1U)
54264 #define S_DCDOVRDEN 9
54265 #define V_DCDOVRDEN(x) ((x) << S_DCDOVRDEN)
54266 #define F_DCDOVRDEN V_DCDOVRDEN(1U)
54268 #define S_DCCAOVRDEN 8
54269 #define V_DCCAOVRDEN(x) ((x) << S_DCCAOVRDEN)
54270 #define F_DCCAOVRDEN V_DCCAOVRDEN(1U)
54272 #define S_DCDSIGN 6
54273 #define M_DCDSIGN 0x3U
54274 #define V_DCDSIGN(x) ((x) << S_DCDSIGN)
54275 #define G_DCDSIGN(x) (((x) >> S_DCDSIGN) & M_DCDSIGN)
54278 #define M_DCDAMP 0x3fU
54279 #define V_DCDAMP(x) ((x) << S_DCDAMP)
54280 #define G_DCDAMP(x) (((x) >> S_DCDAMP) & M_DCDAMP)
54282 #define A_MAC_PORT_RX_LINKA_RECEIVER_DCC_CONTROL 0x32f0
54284 #define S_PRBSMODE 14
54285 #define M_PRBSMODE 0x3U
54286 #define V_PRBSMODE(x) ((x) << S_PRBSMODE)
54287 #define G_PRBSMODE(x) (((x) >> S_PRBSMODE) & M_PRBSMODE)
54289 #define S_RX_LINKA_DCCSTEP_RXCTL 10
54290 #define M_RX_LINKA_DCCSTEP_RXCTL 0x3U
54291 #define V_RX_LINKA_DCCSTEP_RXCTL(x) ((x) << S_RX_LINKA_DCCSTEP_RXCTL)
54292 #define G_RX_LINKA_DCCSTEP_RXCTL(x) (((x) >> S_RX_LINKA_DCCSTEP_RXCTL) & M_RX_LINKA_DCCSTEP_RXCTL)
54294 #define S_DCCOVRDEN 9
54295 #define V_DCCOVRDEN(x) ((x) << S_DCCOVRDEN)
54296 #define F_DCCOVRDEN V_DCCOVRDEN(1U)
54298 #define S_RX_LINKA_DCCLOCK_RXCTL 8
54299 #define V_RX_LINKA_DCCLOCK_RXCTL(x) ((x) << S_RX_LINKA_DCCLOCK_RXCTL)
54300 #define F_RX_LINKA_DCCLOCK_RXCTL V_RX_LINKA_DCCLOCK_RXCTL(1U)
54302 #define A_MAC_PORT_RX_LINKA_RECEIVER_QCC_CONTROL 0x32f4
54304 #define S_DCCQCCMODE 15
54305 #define V_DCCQCCMODE(x) ((x) << S_DCCQCCMODE)
54306 #define F_DCCQCCMODE V_DCCQCCMODE(1U)
54308 #define S_DCCQCCDYN 14
54309 #define V_DCCQCCDYN(x) ((x) << S_DCCQCCDYN)
54310 #define F_DCCQCCDYN V_DCCQCCDYN(1U)
54312 #define S_DCCQCCHOLD 13
54313 #define V_DCCQCCHOLD(x) ((x) << S_DCCQCCHOLD)
54314 #define F_DCCQCCHOLD V_DCCQCCHOLD(1U)
54316 #define S_QCCSTEP 10
54317 #define M_QCCSTEP 0x3U
54318 #define V_QCCSTEP(x) ((x) << S_QCCSTEP)
54319 #define G_QCCSTEP(x) (((x) >> S_QCCSTEP) & M_QCCSTEP)
54321 #define S_QCCOVRDEN 9
54322 #define V_QCCOVRDEN(x) ((x) << S_QCCOVRDEN)
54323 #define F_QCCOVRDEN V_QCCOVRDEN(1U)
54325 #define S_QCCLOCK 8
54326 #define V_QCCLOCK(x) ((x) << S_QCCLOCK)
54327 #define F_QCCLOCK V_QCCLOCK(1U)
54329 #define S_QCCSIGN 6
54330 #define M_QCCSIGN 0x3U
54331 #define V_QCCSIGN(x) ((x) << S_QCCSIGN)
54332 #define G_QCCSIGN(x) (((x) >> S_QCCSIGN) & M_QCCSIGN)
54335 #define M_QCDAMP 0x3fU
54336 #define V_QCDAMP(x) ((x) << S_QCDAMP)
54337 #define G_QCDAMP(x) (((x) >> S_QCDAMP) & M_QCDAMP)
54339 #define A_MAC_PORT_RX_LINKA_RECEIVER_MACRO_TEST_CONTROL_2 0x32f8
54341 #define S_DFEDACLSSD 6
54342 #define V_DFEDACLSSD(x) ((x) << S_DFEDACLSSD)
54343 #define F_DFEDACLSSD V_DFEDACLSSD(1U)
54346 #define V_SDLSSD(x) ((x) << S_SDLSSD)
54347 #define F_SDLSSD V_SDLSSD(1U)
54349 #define S_DFEOBSBIAS 4
54350 #define V_DFEOBSBIAS(x) ((x) << S_DFEOBSBIAS)
54351 #define F_DFEOBSBIAS V_DFEOBSBIAS(1U)
54353 #define S_GBOFSTLSSD 3
54354 #define V_GBOFSTLSSD(x) ((x) << S_GBOFSTLSSD)
54355 #define F_GBOFSTLSSD V_GBOFSTLSSD(1U)
54358 #define V_RXDOBS(x) ((x) << S_RXDOBS)
54359 #define F_RXDOBS V_RXDOBS(1U)
54362 #define V_ACJZPT(x) ((x) << S_ACJZPT)
54363 #define F_ACJZPT V_ACJZPT(1U)
54366 #define V_ACJZNT(x) ((x) << S_ACJZNT)
54367 #define F_ACJZNT V_ACJZNT(1U)
54369 #define A_MAC_PORT_RX_LINKA_RECEIVER_MACRO_TEST_CONTROL_REGISTER_2 0x32f8
54371 #define S_TSTCMP 15
54372 #define V_TSTCMP(x) ((x) << S_TSTCMP)
54373 #define F_TSTCMP V_TSTCMP(1U)
54375 #define A_MAC_PORT_RX_LINKA_RECEIVER_MACRO_TEST_CONTROL_1 0x32fc
54377 #define S_PHSLOCK 10
54378 #define V_PHSLOCK(x) ((x) << S_PHSLOCK)
54379 #define F_PHSLOCK V_PHSLOCK(1U)
54381 #define S_TESTMODE 9
54382 #define V_TESTMODE(x) ((x) << S_TESTMODE)
54383 #define F_TESTMODE V_TESTMODE(1U)
54385 #define S_CALMODE 8
54386 #define V_CALMODE(x) ((x) << S_CALMODE)
54387 #define F_CALMODE V_CALMODE(1U)
54390 #define V_AMPSEL(x) ((x) << S_AMPSEL)
54391 #define F_AMPSEL V_AMPSEL(1U)
54393 #define S_WHICHNRZ 6
54394 #define V_WHICHNRZ(x) ((x) << S_WHICHNRZ)
54395 #define F_WHICHNRZ V_WHICHNRZ(1U)
54398 #define V_BANKA(x) ((x) << S_BANKA)
54399 #define F_BANKA V_BANKA(1U)
54402 #define V_BANKB(x) ((x) << S_BANKB)
54403 #define F_BANKB V_BANKB(1U)
54406 #define V_ACJPDP(x) ((x) << S_ACJPDP)
54407 #define F_ACJPDP V_ACJPDP(1U)
54410 #define V_ACJPDN(x) ((x) << S_ACJPDN)
54411 #define F_ACJPDN V_ACJPDN(1U)
54414 #define V_LSSDT(x) ((x) << S_LSSDT)
54415 #define F_LSSDT V_LSSDT(1U)
54418 #define V_MTHOLD(x) ((x) << S_MTHOLD)
54419 #define F_MTHOLD V_MTHOLD(1U)
54421 #define S_CALMODEEDGE 14
54422 #define V_CALMODEEDGE(x) ((x) << S_CALMODEEDGE)
54423 #define F_CALMODEEDGE V_CALMODEEDGE(1U)
54425 #define S_TESTCAP 13
54426 #define V_TESTCAP(x) ((x) << S_TESTCAP)
54427 #define F_TESTCAP V_TESTCAP(1U)
54429 #define S_SNAPEN 12
54430 #define V_SNAPEN(x) ((x) << S_SNAPEN)
54431 #define F_SNAPEN V_SNAPEN(1U)
54433 #define S_ASYNCDIR 11
54434 #define V_ASYNCDIR(x) ((x) << S_ASYNCDIR)
54435 #define F_ASYNCDIR V_ASYNCDIR(1U)
54437 #define A_MAC_PORT_RX_LINKB_RECEIVER_CONFIGURATION_MODE 0x3300
54438 #define A_MAC_PORT_RX_LINKB_RECEIVER_TEST_CONTROL 0x3304
54439 #define A_MAC_PORT_RX_LINKB_PHASE_ROTATOR_CONTROL 0x3308
54440 #define A_MAC_PORT_RX_LINKB_PHASE_ROTATOR_OFFSET_CONTROL 0x330c
54442 #define S_T6_TMSCAL 8
54443 #define M_T6_TMSCAL 0x3U
54444 #define V_T6_TMSCAL(x) ((x) << S_T6_TMSCAL)
54445 #define G_T6_TMSCAL(x) (((x) >> S_T6_TMSCAL) & M_T6_TMSCAL)
54447 #define S_T6_APADJ 7
54448 #define V_T6_APADJ(x) ((x) << S_T6_APADJ)
54449 #define F_T6_APADJ V_T6_APADJ(1U)
54451 #define S_T6_RSEL 6
54452 #define V_T6_RSEL(x) ((x) << S_T6_RSEL)
54453 #define F_T6_RSEL V_T6_RSEL(1U)
54455 #define S_T6_PHOFFS 0
54456 #define M_T6_PHOFFS 0x3fU
54457 #define V_T6_PHOFFS(x) ((x) << S_T6_PHOFFS)
54458 #define G_T6_PHOFFS(x) (((x) >> S_T6_PHOFFS) & M_T6_PHOFFS)
54460 #define A_MAC_PORT_RX_LINKB_PHASE_ROTATOR_POSITION_1 0x3310
54461 #define A_MAC_PORT_RX_LINKB_PHASE_ROTATOR_POSITION_2 0x3314
54462 #define A_MAC_PORT_RX_LINKB_PHASE_ROTATOR_STATIC_PHASE_OFFSET_1 0x3318
54463 #define A_MAC_PORT_RX_LINKB_PHASE_ROTATOR_STATIC_PHASE_OFFSET_2 0x331c
54464 #define A_MAC_PORT_RX_LINKB_DFE_CONTROL 0x3320
54466 #define S_T6_SPIFMT 8
54467 #define M_T6_SPIFMT 0xfU
54468 #define V_T6_SPIFMT(x) ((x) << S_T6_SPIFMT)
54469 #define G_T6_SPIFMT(x) (((x) >> S_T6_SPIFMT) & M_T6_SPIFMT)
54471 #define A_MAC_PORT_RX_LINKB_DFE_SAMPLE_SNAPSHOT_1 0x3324
54472 #define A_MAC_PORT_RX_LINKB_DFE_SAMPLE_SNAPSHOT_2 0x3328
54473 #define A_MAC_PORT_RX_LINKB_RECEIVER_VGA_CONTROL_1 0x332c
54475 #define S_T6_WRAPSEL 15
54476 #define V_T6_WRAPSEL(x) ((x) << S_T6_WRAPSEL)
54477 #define F_T6_WRAPSEL V_T6_WRAPSEL(1U)
54479 #define S_T6_PEAK 9
54480 #define M_T6_PEAK 0x1fU
54481 #define V_T6_PEAK(x) ((x) << S_T6_PEAK)
54482 #define G_T6_PEAK(x) (((x) >> S_T6_PEAK) & M_T6_PEAK)
54484 #define A_MAC_PORT_RX_LINKB_RECEIVER_VGA_CONTROL_2 0x3330
54486 #define S_T6_T5VGAIN 0
54487 #define M_T6_T5VGAIN 0x7fU
54488 #define V_T6_T5VGAIN(x) ((x) << S_T6_T5VGAIN)
54489 #define G_T6_T5VGAIN(x) (((x) >> S_T6_T5VGAIN) & M_T6_T5VGAIN)
54491 #define A_MAC_PORT_RX_LINKB_RECEIVER_VGA_CONTROL_3 0x3334
54492 #define A_MAC_PORT_RX_LINKB_RECEIVER_DQCC_CONTROL_1 0x3338
54493 #define A_MAC_PORT_RX_LINKB_RECEIVER_POWER_MANAGEMENT_CONTROL 0x3338
54494 #define A_MAC_PORT_RX_LINKB_RECEIVER_IQAMP_CONTROL_1 0x333c
54495 #define A_MAC_PORT_RX_LINKB_RECEIVER_DQCC_CONTROL_3 0x3340
54496 #define A_MAC_PORT_RX_LINKB_RECEIVER_IQAMP_CONTROL_2 0x3340
54497 #define A_MAC_PORT_RX_LINKB_RECEIVER_DACAP_AND_DACAN_SELECTION 0x3344
54498 #define A_MAC_PORT_RX_LINKB_RECEIVER_DACAP_AND_DACAN 0x3348
54499 #define A_MAC_PORT_RX_LINKB_RECEIVER_DACA_MIN_AND_DACAZ 0x334c
54500 #define A_MAC_PORT_RX_LINKB_RECEIVER_DACA_MIN 0x334c
54501 #define A_MAC_PORT_RX_LINKB_RECEIVER_ADAC_CONTROL 0x3350
54502 #define A_MAC_PORT_RX_LINKB_RECEIVER_AC_COUPLING_CONTROL 0x3354
54503 #define A_MAC_PORT_RX_LINKB_RECEIVER_AC_COUPLING_VALUE 0x3358
54504 #define A_MAC_PORT_RX_LINKB_DFE_H1_LOCAL_OFFSET_ODD2_EVN2 0x335c
54505 #define A_MAC_PORT_RX_LINKB_DFE_H1H2H3_LOCAL_OFFSET 0x335c
54506 #define A_MAC_PORT_RX_LINKB_DFE_H1_LOCAL_OFFSET_ODD3_EVN3 0x3360
54507 #define A_MAC_PORT_RX_LINKB_DFE_H1H2H3_LOCAL_OFFSET_VALUE 0x3360
54508 #define A_MAC_PORT_RX_LINKB_DFE_H1_LOCAL_OFFSET_ODD4_EVN4 0x3364
54509 #define A_MAC_PORT_RX_LINKB_PEAKED_INTEGRATOR 0x3364
54510 #define A_MAC_PORT_RX_LINKB_CDR_ANALOG_SWITCH 0x3368
54511 #define A_MAC_PORT_RX_LINKB_PEAKING_AMPLIFIER_INTIALIZATION_CONTROL 0x336c
54512 #define A_MAC_PORT_RX_LINKB_DYNAMIC_AMPLITUDE_CENTERING_DAC_AND_DYNAMIC_PEAKING_CONTROL_DPC 0x3370
54513 #define A_MAC_PORT_RX_LINKB_DYNAMIC_DATA_CENTERING_DDC 0x3374
54515 #define S_T6_ODEC 0
54516 #define M_T6_ODEC 0xfU
54517 #define V_T6_ODEC(x) ((x) << S_T6_ODEC)
54518 #define G_T6_ODEC(x) (((x) >> S_T6_ODEC) & M_T6_ODEC)
54520 #define A_MAC_PORT_RX_LINKB_RECEIVER_INTERNAL_STATUS 0x3378
54522 #define S_RX_LINKB_ACCCMP_RIS 11
54523 #define V_RX_LINKB_ACCCMP_RIS(x) ((x) << S_RX_LINKB_ACCCMP_RIS)
54524 #define F_RX_LINKB_ACCCMP_RIS V_RX_LINKB_ACCCMP_RIS(1U)
54526 #define A_MAC_PORT_RX_LINKB_DFE_FUNCTION_CONTROL_1 0x337c
54527 #define A_MAC_PORT_RX_LINKB_DFE_FUNCTION_CONTROL_2 0x3380
54528 #define A_MAC_PORT_RX_LINKB_DFE_OFFSET_EVN1_EVN2 0x3384
54529 #define A_MAC_PORT_RX_LINKB_DFE_OFFSET_CHANNEL 0x3384
54530 #define A_MAC_PORT_RX_LINKB_DFE_OFFSET_ODD1_ODD2 0x3388
54531 #define A_MAC_PORT_RX_LINKB_DFE_OFFSET_VALUE 0x3388
54532 #define A_MAC_PORT_RX_LINKB_DFE_OFFSET_EVN3_EVN4 0x338c
54533 #define A_MAC_PORT_RX_LINKB_H_COEFFICIENBT_BIST 0x338c
54534 #define A_MAC_PORT_RX_LINKB_DFE_OFFSET_ODD3_ODD4 0x3390
54535 #define A_MAC_PORT_RX_LINKB_AC_CAPACITOR_BIST 0x3390
54537 #define S_RX_LINKB_ACCCMP_BIST 13
54538 #define V_RX_LINKB_ACCCMP_BIST(x) ((x) << S_RX_LINKB_ACCCMP_BIST)
54539 #define F_RX_LINKB_ACCCMP_BIST V_RX_LINKB_ACCCMP_BIST(1U)
54541 #define A_MAC_PORT_RX_LINKB_DFE_E0_AND_E1_OFFSET 0x3394
54542 #define A_MAC_PORT_RX_LINKB_RECEIVER_LOFF_CONTROL 0x3398
54543 #define A_MAC_PORT_RX_LINKB_RECEIVER_LOFF_CONTROL_REGISTER 0x3398
54544 #define A_MAC_PORT_RX_LINKB_RECEIVER_SIGDET_CONTROL 0x339c
54545 #define A_MAC_PORT_RX_LINKB_RECEIVER_ANALOG_CONTROL_SWITCH 0x33a0
54546 #define A_MAC_PORT_RX_LINKB_INTEGRATOR_DAC_OFFSET 0x33a4
54547 #define A_MAC_PORT_RX_LINKB_DIGITAL_EYE_CONTROL 0x33a8
54548 #define A_MAC_PORT_RX_LINKB_DIGITAL_EYE_METRICS 0x33ac
54550 #define S_T6_EMMD 3
54551 #define M_T6_EMMD 0x3U
54552 #define V_T6_EMMD(x) ((x) << S_T6_EMMD)
54553 #define G_T6_EMMD(x) (((x) >> S_T6_EMMD) & M_T6_EMMD)
54555 #define S_T6_EMBRDY 2
54556 #define V_T6_EMBRDY(x) ((x) << S_T6_EMBRDY)
54557 #define F_T6_EMBRDY V_T6_EMBRDY(1U)
54559 #define S_T6_EMBUMP 1
54560 #define V_T6_EMBUMP(x) ((x) << S_T6_EMBUMP)
54561 #define F_T6_EMBUMP V_T6_EMBUMP(1U)
54563 #define A_MAC_PORT_RX_LINKB_DIGITAL_EYE_METRICS_ERROR_COUNT 0x33b0
54564 #define A_MAC_PORT_RX_LINKB_DIGITAL_EYE_METRICS_PDF_EYE_COUNT 0x33b4
54565 #define A_MAC_PORT_RX_LINKB_DIGITAL_EYE_METRICS_PATTERN_LENGTH 0x33b8
54566 #define A_MAC_PORT_RX_LINKB_DFE_FUNCTION_CONTROL_3 0x33bc
54567 #define A_MAC_PORT_RX_LINKB_DFE_TAP_ENABLE 0x33c0
54568 #define A_MAC_PORT_RX_LINKB_DFE_TAP_CONTROL 0x33c0
54570 #define S_RX_LINKB_INDEX_DFE_TC 0
54571 #define M_RX_LINKB_INDEX_DFE_TC 0xfU
54572 #define V_RX_LINKB_INDEX_DFE_TC(x) ((x) << S_RX_LINKB_INDEX_DFE_TC)
54573 #define G_RX_LINKB_INDEX_DFE_TC(x) (((x) >> S_RX_LINKB_INDEX_DFE_TC) & M_RX_LINKB_INDEX_DFE_TC)
54575 #define A_MAC_PORT_RX_LINKB_DFE_H1 0x33c4
54576 #define A_MAC_PORT_RX_LINKB_DFE_TAP 0x33c4
54578 #define S_RX_LINKB_INDEX_DFE_TAP 0
54579 #define M_RX_LINKB_INDEX_DFE_TAP 0xfU
54580 #define V_RX_LINKB_INDEX_DFE_TAP(x) ((x) << S_RX_LINKB_INDEX_DFE_TAP)
54581 #define G_RX_LINKB_INDEX_DFE_TAP(x) (((x) >> S_RX_LINKB_INDEX_DFE_TAP) & M_RX_LINKB_INDEX_DFE_TAP)
54583 #define A_MAC_PORT_RX_LINKB_DFE_H2 0x33c8
54584 #define A_MAC_PORT_RX_LINKB_DFE_H3 0x33cc
54585 #define A_MAC_PORT_RX_LINKB_DFE_H4 0x33d0
54586 #define A_MAC_PORT_RX_LINKB_DFE_H5 0x33d4
54587 #define A_MAC_PORT_RX_LINKB_DFE_H6_AND_H7 0x33d8
54588 #define A_MAC_PORT_RX_LINKB_DFE_H8_AND_H9 0x33dc
54589 #define A_MAC_PORT_RX_LINKB_DFE_H10_AND_H11 0x33e0
54590 #define A_MAC_PORT_RX_LINKB_DFE_H12 0x33e4
54591 #define A_MAC_PORT_RX_LINKB_RECEIVER_INTERNAL_STATUS_2 0x33e4
54592 #define A_MAC_PORT_RX_LINKB_AC_COUPLING_CURRENT_SOURCE_ADJUST 0x33e8
54593 #define A_MAC_PORT_RX_LINKB_RECEIVER_DCD_CONTROL 0x33ec
54594 #define A_MAC_PORT_RX_LINKB_RECEIVER_DCC_CONTROL 0x33f0
54596 #define S_RX_LINKB_DCCSTEP_RXCTL 10
54597 #define M_RX_LINKB_DCCSTEP_RXCTL 0x3U
54598 #define V_RX_LINKB_DCCSTEP_RXCTL(x) ((x) << S_RX_LINKB_DCCSTEP_RXCTL)
54599 #define G_RX_LINKB_DCCSTEP_RXCTL(x) (((x) >> S_RX_LINKB_DCCSTEP_RXCTL) & M_RX_LINKB_DCCSTEP_RXCTL)
54601 #define S_RX_LINKB_DCCLOCK_RXCTL 8
54602 #define V_RX_LINKB_DCCLOCK_RXCTL(x) ((x) << S_RX_LINKB_DCCLOCK_RXCTL)
54603 #define F_RX_LINKB_DCCLOCK_RXCTL V_RX_LINKB_DCCLOCK_RXCTL(1U)
54605 #define A_MAC_PORT_RX_LINKB_RECEIVER_QCC_CONTROL 0x33f4
54606 #define A_MAC_PORT_RX_LINKB_RECEIVER_MACRO_TEST_CONTROL_2 0x33f8
54607 #define A_MAC_PORT_RX_LINKB_RECEIVER_MACRO_TEST_CONTROL_REGISTER_2 0x33f8
54608 #define A_MAC_PORT_RX_LINKB_RECEIVER_MACRO_TEST_CONTROL_1 0x33fc
54609 #define A_MAC_PORT_TX_LINKC_TRANSMIT_CONFIGURATION_MODE 0x3400
54611 #define S_T6_T5_TX_RXLOOP 5
54612 #define V_T6_T5_TX_RXLOOP(x) ((x) << S_T6_T5_TX_RXLOOP)
54613 #define F_T6_T5_TX_RXLOOP V_T6_T5_TX_RXLOOP(1U)
54615 #define S_T6_T5_TX_BWSEL 2
54616 #define M_T6_T5_TX_BWSEL 0x3U
54617 #define V_T6_T5_TX_BWSEL(x) ((x) << S_T6_T5_TX_BWSEL)
54618 #define G_T6_T5_TX_BWSEL(x) (((x) >> S_T6_T5_TX_BWSEL) & M_T6_T5_TX_BWSEL)
54620 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TEST_CONTROL 0x3404
54622 #define S_T6_ERROR 9
54623 #define V_T6_ERROR(x) ((x) << S_T6_ERROR)
54624 #define F_T6_ERROR V_T6_ERROR(1U)
54626 #define A_MAC_PORT_TX_LINKC_TRANSMIT_COEFFICIENT_CONTROL 0x3408
54627 #define A_MAC_PORT_TX_LINKC_TRANSMIT_DRIVER_MODE_CONTROL 0x340c
54628 #define A_MAC_PORT_TX_LINKC_TRANSMIT_DRIVER_OVERRIDE_CONTROL 0x3410
54629 #define A_MAC_PORT_TX_LINKC_TRANSMIT_DCLK_ROTATOR_OVERRIDE 0x3414
54630 #define A_MAC_PORT_TX_LINKC_TRANSMIT_IMPEDANCE_CALIBRATION_OVERRIDE 0x3418
54632 #define S_T6_CALSSTN 8
54633 #define M_T6_CALSSTN 0x3fU
54634 #define V_T6_CALSSTN(x) ((x) << S_T6_CALSSTN)
54635 #define G_T6_CALSSTN(x) (((x) >> S_T6_CALSSTN) & M_T6_CALSSTN)
54637 #define S_T6_CALSSTP 0
54638 #define M_T6_CALSSTP 0x3fU
54639 #define V_T6_CALSSTP(x) ((x) << S_T6_CALSSTP)
54640 #define G_T6_CALSSTP(x) (((x) >> S_T6_CALSSTP) & M_T6_CALSSTP)
54642 #define A_MAC_PORT_TX_LINKC_TRANSMIT_DCLK_DRIFT_TOLERANCE 0x341c
54644 #define S_T6_DRTOL 2
54645 #define M_T6_DRTOL 0x7U
54646 #define V_T6_DRTOL(x) ((x) << S_T6_DRTOL)
54647 #define G_T6_DRTOL(x) (((x) >> S_T6_DRTOL) & M_T6_DRTOL)
54649 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_0_COEFFICIENT 0x3420
54651 #define S_T6_NXTT0 0
54652 #define M_T6_NXTT0 0x3fU
54653 #define V_T6_NXTT0(x) ((x) << S_T6_NXTT0)
54654 #define G_T6_NXTT0(x) (((x) >> S_T6_NXTT0) & M_T6_NXTT0)
54656 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_1_COEFFICIENT 0x3424
54657 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_2_COEFFICIENT 0x3428
54659 #define S_T6_NXTT2 0
54660 #define M_T6_NXTT2 0x3fU
54661 #define V_T6_NXTT2(x) ((x) << S_T6_NXTT2)
54662 #define G_T6_NXTT2(x) (((x) >> S_T6_NXTT2) & M_T6_NXTT2)
54664 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_3_COEFFICIENT 0x342c
54665 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AMPLITUDE 0x3430
54666 #define A_MAC_PORT_TX_LINKC_TRANSMIT_POLARITY 0x3434
54668 #define S_T6_NXTPOL 0
54669 #define M_T6_NXTPOL 0xfU
54670 #define V_T6_NXTPOL(x) ((x) << S_T6_NXTPOL)
54671 #define G_T6_NXTPOL(x) (((x) >> S_T6_NXTPOL) & M_T6_NXTPOL)
54673 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_COMMAND 0x3438
54675 #define S_T6_C0UPDT 6
54676 #define M_T6_C0UPDT 0x3U
54677 #define V_T6_C0UPDT(x) ((x) << S_T6_C0UPDT)
54678 #define G_T6_C0UPDT(x) (((x) >> S_T6_C0UPDT) & M_T6_C0UPDT)
54680 #define S_T6_C2UPDT 2
54681 #define M_T6_C2UPDT 0x3U
54682 #define V_T6_C2UPDT(x) ((x) << S_T6_C2UPDT)
54683 #define G_T6_C2UPDT(x) (((x) >> S_T6_C2UPDT) & M_T6_C2UPDT)
54685 #define S_T6_C1UPDT 0
54686 #define M_T6_C1UPDT 0x3U
54687 #define V_T6_C1UPDT(x) ((x) << S_T6_C1UPDT)
54688 #define G_T6_C1UPDT(x) (((x) >> S_T6_C1UPDT) & M_T6_C1UPDT)
54690 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_STATUS 0x343c
54692 #define S_T6_C0STAT 6
54693 #define M_T6_C0STAT 0x3U
54694 #define V_T6_C0STAT(x) ((x) << S_T6_C0STAT)
54695 #define G_T6_C0STAT(x) (((x) >> S_T6_C0STAT) & M_T6_C0STAT)
54697 #define S_T6_C2STAT 2
54698 #define M_T6_C2STAT 0x3U
54699 #define V_T6_C2STAT(x) ((x) << S_T6_C2STAT)
54700 #define G_T6_C2STAT(x) (((x) >> S_T6_C2STAT) & M_T6_C2STAT)
54702 #define S_T6_C1STAT 0
54703 #define M_T6_C1STAT 0x3U
54704 #define V_T6_C1STAT(x) ((x) << S_T6_C1STAT)
54705 #define G_T6_C1STAT(x) (((x) >> S_T6_C1STAT) & M_T6_C1STAT)
54707 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_0_COEFFICIENT_OVERRIDE 0x3440
54708 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_TAP_0_COEFFICIENT_OVERRIDE 0x3440
54709 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_1_COEFFICIENT_OVERRIDE 0x3444
54710 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_TAP_1_COEFFICIENT_OVERRIDE 0x3444
54711 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_2_COEFFICIENT_OVERRIDE 0x3448
54712 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_TAP_2_COEFFICIENT_OVERRIDE 0x3448
54713 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_TAP_3_COEFFICIENT_OVERRIDE 0x344c
54714 #define A_MAC_PORT_TX_LINKC_TRANSMIT_APPLIED_TUNE_REGISTER 0x3450
54715 #define A_MAC_PORT_TX_LINKC_TRANSMIT_ANALOG_DIAGNOSTICS_REGISTER 0x3458
54716 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_0_COEFFICIENT_APPLIED 0x3460
54717 #define A_MAC_PORT_TX_LINKC_TRANSMIT_4X_SEGMENT_APPLIED 0x3460
54718 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_1_COEFFICIENT_APPLIED 0x3464
54719 #define A_MAC_PORT_TX_LINKC_TRANSMIT_2X_SEGMENT_APPLIED 0x3464
54720 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_2_COEFFICIENT_APPLIED 0x3468
54721 #define A_MAC_PORT_TX_LINKC_TRANSMIT_1X_SEGMENT_APPLIED 0x3468
54722 #define A_MAC_PORT_TX_LINKC_TRANSMIT_SEGMENT_4X_TERMINATION_APPLIED 0x346c
54723 #define A_MAC_PORT_TX_LINKC_TRANSMIT_SEGMENT_DISABLE_APPLIED_1 0x3470
54724 #define A_MAC_PORT_TX_LINKC_TRANSMIT_SEGMENT_2X1X_TERMINATION_APPLIED 0x3470
54725 #define A_MAC_PORT_TX_LINKC_TRANSMIT_SEGMENT_DISABLE_APPLIED_2 0x3474
54726 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_SIGN_APPLIED_REGISTER 0x3474
54727 #define A_MAC_PORT_TX_LINKC_TRANSMIT_EXTENDED_ADDRESS_DATA 0x3478
54728 #define A_MAC_PORT_TX_LINKC_TRANSMIT_EXTENDED_ADDRESS_ADDR 0x347c
54730 #define S_T6_XADDR 1
54731 #define M_T6_XADDR 0x1fU
54732 #define V_T6_XADDR(x) ((x) << S_T6_XADDR)
54733 #define G_T6_XADDR(x) (((x) >> S_T6_XADDR) & M_T6_XADDR)
54735 #define A_MAC_PORT_TX_LINKC_TRANSMIT_PATTERN_BUFFER_BYTES_1_0 0x3480
54736 #define A_MAC_PORT_TX_LINKC_TRANSMIT_PATTERN_BUFFER_BYTES_3_2 0x3484
54737 #define A_MAC_PORT_TX_LINKC_TRANSMIT_PATTERN_BUFFER_BYTE_4 0x3488
54738 #define A_MAC_PORT_TX_LINKC_TRANSMIT_PATTERN_BUFFER_BYTES_5_4 0x3488
54739 #define A_MAC_PORT_TX_LINKC_TRANSMIT_DCC_CONTROL 0x348c
54740 #define A_MAC_PORT_TX_LINKC_TRANSMIT_PATTERN_BUFFER_BYTES_7_6 0x348c
54741 #define A_MAC_PORT_TX_LINKC_TRANSMIT_DCC_OVERRIDE 0x3490
54742 #define A_MAC_PORT_TX_LINKC_TRANSMIT_DCC_APPLIED 0x3494
54743 #define A_MAC_PORT_TX_LINKC_TRANSMIT_DCC_TIME_OUT 0x3498
54744 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AZ_CONTROL 0x349c
54745 #define A_T6_MAC_PORT_TX_LINKC_TRANSMIT_DCC_CONTROL 0x34a0
54747 #define S_T6_DCCTIMEEN 13
54748 #define M_T6_DCCTIMEEN 0x3U
54749 #define V_T6_DCCTIMEEN(x) ((x) << S_T6_DCCTIMEEN)
54750 #define G_T6_DCCTIMEEN(x) (((x) >> S_T6_DCCTIMEEN) & M_T6_DCCTIMEEN)
54752 #define S_T6_DCCLOCK 11
54753 #define M_T6_DCCLOCK 0x3U
54754 #define V_T6_DCCLOCK(x) ((x) << S_T6_DCCLOCK)
54755 #define G_T6_DCCLOCK(x) (((x) >> S_T6_DCCLOCK) & M_T6_DCCLOCK)
54757 #define S_T6_DCCOFFSET 8
54758 #define M_T6_DCCOFFSET 0x7U
54759 #define V_T6_DCCOFFSET(x) ((x) << S_T6_DCCOFFSET)
54760 #define G_T6_DCCOFFSET(x) (((x) >> S_T6_DCCOFFSET) & M_T6_DCCOFFSET)
54762 #define S_TX_LINKC_DCCSTEP_CTL 6
54763 #define M_TX_LINKC_DCCSTEP_CTL 0x3U
54764 #define V_TX_LINKC_DCCSTEP_CTL(x) ((x) << S_TX_LINKC_DCCSTEP_CTL)
54765 #define G_TX_LINKC_DCCSTEP_CTL(x) (((x) >> S_TX_LINKC_DCCSTEP_CTL) & M_TX_LINKC_DCCSTEP_CTL)
54767 #define A_T6_MAC_PORT_TX_LINKC_TRANSMIT_DCC_OVERRIDE 0x34a4
54768 #define A_T6_MAC_PORT_TX_LINKC_TRANSMIT_DCC_APPLIED 0x34a8
54769 #define A_T6_MAC_PORT_TX_LINKC_TRANSMIT_DCC_TIME_OUT 0x34ac
54770 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_SIGN_OVERRIDE 0x34c0
54771 #define A_MAC_PORT_TX_LINKC_TRANSMIT_SEGMENT_4X_OVERRIDE 0x34c8
54772 #define A_MAC_PORT_TX_LINKC_TRANSMIT_SEGMENT_2X_OVERRIDE 0x34cc
54773 #define A_MAC_PORT_TX_LINKC_TRANSMIT_SEGMENT_1X_OVERRIDE 0x34d0
54774 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_SEGMENT_4X_TERMINATION_OVERRIDE 0x34d8
54775 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_SEGMENT_2X_TERMINATION_OVERRIDE 0x34dc
54776 #define A_MAC_PORT_TX_LINKC_TRANSMIT_TAP_SEGMENT_1X_TERMINATION_OVERRIDE 0x34e0
54777 #define A_MAC_PORT_TX_LINKC_TRANSMIT_MACRO_TEST_CONTROL_5 0x34ec
54778 #define A_MAC_PORT_TX_LINKC_TRANSMIT_MACRO_TEST_CONTROL_4 0x34f0
54780 #define S_T6_SDOVRD 0
54781 #define M_T6_SDOVRD 0xffffU
54782 #define V_T6_SDOVRD(x) ((x) << S_T6_SDOVRD)
54783 #define G_T6_SDOVRD(x) (((x) >> S_T6_SDOVRD) & M_T6_SDOVRD)
54785 #define A_MAC_PORT_TX_LINKC_TRANSMIT_MACRO_TEST_CONTROL_3 0x34f4
54786 #define A_MAC_PORT_TX_LINKC_TRANSMIT_MACRO_TEST_CONTROL_2 0x34f8
54787 #define A_MAC_PORT_TX_LINKC_TRANSMIT_MACRO_TEST_CONTROL_1 0x34fc
54789 #define S_T6_SDOVRDEN 15
54790 #define V_T6_SDOVRDEN(x) ((x) << S_T6_SDOVRDEN)
54791 #define F_T6_SDOVRDEN V_T6_SDOVRDEN(1U)
54793 #define A_MAC_PORT_TX_LINKD_TRANSMIT_CONFIGURATION_MODE 0x3500
54795 #define S_T6_T5_TX_RXLOOP 5
54796 #define V_T6_T5_TX_RXLOOP(x) ((x) << S_T6_T5_TX_RXLOOP)
54797 #define F_T6_T5_TX_RXLOOP V_T6_T5_TX_RXLOOP(1U)
54799 #define S_T6_T5_TX_BWSEL 2
54800 #define M_T6_T5_TX_BWSEL 0x3U
54801 #define V_T6_T5_TX_BWSEL(x) ((x) << S_T6_T5_TX_BWSEL)
54802 #define G_T6_T5_TX_BWSEL(x) (((x) >> S_T6_T5_TX_BWSEL) & M_T6_T5_TX_BWSEL)
54804 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TEST_CONTROL 0x3504
54806 #define S_T6_ERROR 9
54807 #define V_T6_ERROR(x) ((x) << S_T6_ERROR)
54808 #define F_T6_ERROR V_T6_ERROR(1U)
54810 #define A_MAC_PORT_TX_LINKD_TRANSMIT_COEFFICIENT_CONTROL 0x3508
54811 #define A_MAC_PORT_TX_LINKD_TRANSMIT_DRIVER_MODE_CONTROL 0x350c
54812 #define A_MAC_PORT_TX_LINKD_TRANSMIT_DRIVER_OVERRIDE_CONTROL 0x3510
54813 #define A_MAC_PORT_TX_LINKD_TRANSMIT_DCLK_ROTATOR_OVERRIDE 0x3514
54814 #define A_MAC_PORT_TX_LINKD_TRANSMIT_IMPEDANCE_CALIBRATION_OVERRIDE 0x3518
54816 #define S_T6_CALSSTN 8
54817 #define M_T6_CALSSTN 0x3fU
54818 #define V_T6_CALSSTN(x) ((x) << S_T6_CALSSTN)
54819 #define G_T6_CALSSTN(x) (((x) >> S_T6_CALSSTN) & M_T6_CALSSTN)
54821 #define S_T6_CALSSTP 0
54822 #define M_T6_CALSSTP 0x3fU
54823 #define V_T6_CALSSTP(x) ((x) << S_T6_CALSSTP)
54824 #define G_T6_CALSSTP(x) (((x) >> S_T6_CALSSTP) & M_T6_CALSSTP)
54826 #define A_MAC_PORT_TX_LINKD_TRANSMIT_DCLK_DRIFT_TOLERANCE 0x351c
54828 #define S_T6_DRTOL 2
54829 #define M_T6_DRTOL 0x7U
54830 #define V_T6_DRTOL(x) ((x) << S_T6_DRTOL)
54831 #define G_T6_DRTOL(x) (((x) >> S_T6_DRTOL) & M_T6_DRTOL)
54833 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_0_COEFFICIENT 0x3520
54835 #define S_T6_NXTT0 0
54836 #define M_T6_NXTT0 0x3fU
54837 #define V_T6_NXTT0(x) ((x) << S_T6_NXTT0)
54838 #define G_T6_NXTT0(x) (((x) >> S_T6_NXTT0) & M_T6_NXTT0)
54840 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_1_COEFFICIENT 0x3524
54841 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_2_COEFFICIENT 0x3528
54843 #define S_T6_NXTT2 0
54844 #define M_T6_NXTT2 0x3fU
54845 #define V_T6_NXTT2(x) ((x) << S_T6_NXTT2)
54846 #define G_T6_NXTT2(x) (((x) >> S_T6_NXTT2) & M_T6_NXTT2)
54848 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_3_COEFFICIENT 0x352c
54849 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AMPLITUDE 0x3530
54850 #define A_MAC_PORT_TX_LINKD_TRANSMIT_POLARITY 0x3534
54852 #define S_T6_NXTPOL 0
54853 #define M_T6_NXTPOL 0xfU
54854 #define V_T6_NXTPOL(x) ((x) << S_T6_NXTPOL)
54855 #define G_T6_NXTPOL(x) (((x) >> S_T6_NXTPOL) & M_T6_NXTPOL)
54857 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_COMMAND 0x3538
54859 #define S_T6_C0UPDT 6
54860 #define M_T6_C0UPDT 0x3U
54861 #define V_T6_C0UPDT(x) ((x) << S_T6_C0UPDT)
54862 #define G_T6_C0UPDT(x) (((x) >> S_T6_C0UPDT) & M_T6_C0UPDT)
54864 #define S_T6_C2UPDT 2
54865 #define M_T6_C2UPDT 0x3U
54866 #define V_T6_C2UPDT(x) ((x) << S_T6_C2UPDT)
54867 #define G_T6_C2UPDT(x) (((x) >> S_T6_C2UPDT) & M_T6_C2UPDT)
54869 #define S_T6_C1UPDT 0
54870 #define M_T6_C1UPDT 0x3U
54871 #define V_T6_C1UPDT(x) ((x) << S_T6_C1UPDT)
54872 #define G_T6_C1UPDT(x) (((x) >> S_T6_C1UPDT) & M_T6_C1UPDT)
54874 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_STATUS 0x353c
54876 #define S_T6_C0STAT 6
54877 #define M_T6_C0STAT 0x3U
54878 #define V_T6_C0STAT(x) ((x) << S_T6_C0STAT)
54879 #define G_T6_C0STAT(x) (((x) >> S_T6_C0STAT) & M_T6_C0STAT)
54881 #define S_T6_C2STAT 2
54882 #define M_T6_C2STAT 0x3U
54883 #define V_T6_C2STAT(x) ((x) << S_T6_C2STAT)
54884 #define G_T6_C2STAT(x) (((x) >> S_T6_C2STAT) & M_T6_C2STAT)
54886 #define S_T6_C1STAT 0
54887 #define M_T6_C1STAT 0x3U
54888 #define V_T6_C1STAT(x) ((x) << S_T6_C1STAT)
54889 #define G_T6_C1STAT(x) (((x) >> S_T6_C1STAT) & M_T6_C1STAT)
54891 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_0_COEFFICIENT_OVERRIDE 0x3540
54892 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_TAP_0_COEFFICIENT_OVERRIDE 0x3540
54893 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_1_COEFFICIENT_OVERRIDE 0x3544
54894 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_TAP_1_COEFFICIENT_OVERRIDE 0x3544
54895 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_2_COEFFICIENT_OVERRIDE 0x3548
54896 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_TAP_2_COEFFICIENT_OVERRIDE 0x3548
54897 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_TAP_3_COEFFICIENT_OVERRIDE 0x354c
54898 #define A_MAC_PORT_TX_LINKD_TRANSMIT_APPLIED_TUNE_REGISTER 0x3550
54899 #define A_MAC_PORT_TX_LINKD_TRANSMIT_ANALOG_DIAGNOSTICS_REGISTER 0x3558
54900 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_0_COEFFICIENT_APPLIED 0x3560
54901 #define A_MAC_PORT_TX_LINKD_TRANSMIT_4X_SEGMENT_APPLIED 0x3560
54902 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_1_COEFFICIENT_APPLIED 0x3564
54903 #define A_MAC_PORT_TX_LINKD_TRANSMIT_2X_SEGMENT_APPLIED 0x3564
54904 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_2_COEFFICIENT_APPLIED 0x3568
54905 #define A_MAC_PORT_TX_LINKD_TRANSMIT_1X_SEGMENT_APPLIED 0x3568
54906 #define A_MAC_PORT_TX_LINKD_TRANSMIT_SEGMENT_4X_TERMINATION_APPLIED 0x356c
54907 #define A_MAC_PORT_TX_LINKD_TRANSMIT_SEGMENT_DISABLE_APPLIED_1 0x3570
54908 #define A_MAC_PORT_TX_LINKD_TRANSMIT_SEGMENT_2X1X_TERMINATION_APPLIED 0x3570
54909 #define A_MAC_PORT_TX_LINKD_TRANSMIT_SEGMENT_DISABLE_APPLIED_2 0x3574
54910 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_SIGN_APPLIED_REGISTER 0x3574
54911 #define A_MAC_PORT_TX_LINKD_TRANSMIT_EXTENDED_ADDRESS_DATA 0x3578
54912 #define A_MAC_PORT_TX_LINKD_TRANSMIT_EXTENDED_ADDRESS_ADDR 0x357c
54914 #define S_T6_XADDR 1
54915 #define M_T6_XADDR 0x1fU
54916 #define V_T6_XADDR(x) ((x) << S_T6_XADDR)
54917 #define G_T6_XADDR(x) (((x) >> S_T6_XADDR) & M_T6_XADDR)
54919 #define A_MAC_PORT_TX_LINKD_TRANSMIT_PATTERN_BUFFER_BYTES_1_0 0x3580
54920 #define A_MAC_PORT_TX_LINKD_TRANSMIT_PATTERN_BUFFER_BYTES_3_2 0x3584
54921 #define A_MAC_PORT_TX_LINKD_TRANSMIT_PATTERN_BUFFER_BYTE_4 0x3588
54922 #define A_MAC_PORT_TX_LINKD_TRANSMIT_PATTERN_BUFFER_BYTES_5_4 0x3588
54923 #define A_MAC_PORT_TX_LINKD_TRANSMIT_DCC_CONTROL 0x358c
54924 #define A_MAC_PORT_TX_LINKD_TRANSMIT_PATTERN_BUFFER_BYTES_7_6 0x358c
54925 #define A_MAC_PORT_TX_LINKD_TRANSMIT_DCC_OVERRIDE 0x3590
54926 #define A_MAC_PORT_TX_LINKD_TRANSMIT_DCC_APPLIED 0x3594
54927 #define A_MAC_PORT_TX_LINKD_TRANSMIT_DCC_TIME_OUT 0x3598
54928 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AZ_CONTROL 0x359c
54929 #define A_T6_MAC_PORT_TX_LINKD_TRANSMIT_DCC_CONTROL 0x35a0
54931 #define S_T6_DCCTIMEEN 13
54932 #define M_T6_DCCTIMEEN 0x3U
54933 #define V_T6_DCCTIMEEN(x) ((x) << S_T6_DCCTIMEEN)
54934 #define G_T6_DCCTIMEEN(x) (((x) >> S_T6_DCCTIMEEN) & M_T6_DCCTIMEEN)
54936 #define S_T6_DCCLOCK 11
54937 #define M_T6_DCCLOCK 0x3U
54938 #define V_T6_DCCLOCK(x) ((x) << S_T6_DCCLOCK)
54939 #define G_T6_DCCLOCK(x) (((x) >> S_T6_DCCLOCK) & M_T6_DCCLOCK)
54941 #define S_T6_DCCOFFSET 8
54942 #define M_T6_DCCOFFSET 0x7U
54943 #define V_T6_DCCOFFSET(x) ((x) << S_T6_DCCOFFSET)
54944 #define G_T6_DCCOFFSET(x) (((x) >> S_T6_DCCOFFSET) & M_T6_DCCOFFSET)
54946 #define S_TX_LINKD_DCCSTEP_CTL 6
54947 #define M_TX_LINKD_DCCSTEP_CTL 0x3U
54948 #define V_TX_LINKD_DCCSTEP_CTL(x) ((x) << S_TX_LINKD_DCCSTEP_CTL)
54949 #define G_TX_LINKD_DCCSTEP_CTL(x) (((x) >> S_TX_LINKD_DCCSTEP_CTL) & M_TX_LINKD_DCCSTEP_CTL)
54951 #define A_T6_MAC_PORT_TX_LINKD_TRANSMIT_DCC_OVERRIDE 0x35a4
54952 #define A_T6_MAC_PORT_TX_LINKD_TRANSMIT_DCC_APPLIED 0x35a8
54953 #define A_T6_MAC_PORT_TX_LINKD_TRANSMIT_DCC_TIME_OUT 0x35ac
54954 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_SIGN_OVERRIDE 0x35c0
54955 #define A_MAC_PORT_TX_LINKD_TRANSMIT_SEGMENT_4X_OVERRIDE 0x35c8
54956 #define A_MAC_PORT_TX_LINKD_TRANSMIT_SEGMENT_2X_OVERRIDE 0x35cc
54957 #define A_MAC_PORT_TX_LINKD_TRANSMIT_SEGMENT_1X_OVERRIDE 0x35d0
54958 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_SEGMENT_4X_TERMINATION_OVERRIDE 0x35d8
54959 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_SEGMENT_2X_TERMINATION_OVERRIDE 0x35dc
54960 #define A_MAC_PORT_TX_LINKD_TRANSMIT_TAP_SEGMENT_1X_TERMINATION_OVERRIDE 0x35e0
54961 #define A_MAC_PORT_TX_LINKD_TRANSMIT_MACRO_TEST_CONTROL_5 0x35ec
54962 #define A_MAC_PORT_TX_LINKD_TRANSMIT_MACRO_TEST_CONTROL_4 0x35f0
54964 #define S_T6_SDOVRD 0
54965 #define M_T6_SDOVRD 0xffffU
54966 #define V_T6_SDOVRD(x) ((x) << S_T6_SDOVRD)
54967 #define G_T6_SDOVRD(x) (((x) >> S_T6_SDOVRD) & M_T6_SDOVRD)
54969 #define A_MAC_PORT_TX_LINKD_TRANSMIT_MACRO_TEST_CONTROL_3 0x35f4
54970 #define A_MAC_PORT_TX_LINKD_TRANSMIT_MACRO_TEST_CONTROL_2 0x35f8
54971 #define A_MAC_PORT_TX_LINKD_TRANSMIT_MACRO_TEST_CONTROL_1 0x35fc
54973 #define S_T6_SDOVRDEN 15
54974 #define V_T6_SDOVRDEN(x) ((x) << S_T6_SDOVRDEN)
54975 #define F_T6_SDOVRDEN V_T6_SDOVRDEN(1U)
54977 #define A_MAC_PORT_RX_LINKC_RECEIVER_CONFIGURATION_MODE 0x3600
54978 #define A_MAC_PORT_RX_LINKC_RECEIVER_TEST_CONTROL 0x3604
54979 #define A_MAC_PORT_RX_LINKC_PHASE_ROTATOR_CONTROL 0x3608
54980 #define A_MAC_PORT_RX_LINKC_PHASE_ROTATOR_OFFSET_CONTROL 0x360c
54982 #define S_T6_TMSCAL 8
54983 #define M_T6_TMSCAL 0x3U
54984 #define V_T6_TMSCAL(x) ((x) << S_T6_TMSCAL)
54985 #define G_T6_TMSCAL(x) (((x) >> S_T6_TMSCAL) & M_T6_TMSCAL)
54987 #define S_T6_APADJ 7
54988 #define V_T6_APADJ(x) ((x) << S_T6_APADJ)
54989 #define F_T6_APADJ V_T6_APADJ(1U)
54991 #define S_T6_RSEL 6
54992 #define V_T6_RSEL(x) ((x) << S_T6_RSEL)
54993 #define F_T6_RSEL V_T6_RSEL(1U)
54995 #define S_T6_PHOFFS 0
54996 #define M_T6_PHOFFS 0x3fU
54997 #define V_T6_PHOFFS(x) ((x) << S_T6_PHOFFS)
54998 #define G_T6_PHOFFS(x) (((x) >> S_T6_PHOFFS) & M_T6_PHOFFS)
55000 #define A_MAC_PORT_RX_LINKC_PHASE_ROTATOR_POSITION_1 0x3610
55001 #define A_MAC_PORT_RX_LINKC_PHASE_ROTATOR_POSITION_2 0x3614
55002 #define A_MAC_PORT_RX_LINKC_PHASE_ROTATOR_STATIC_PHASE_OFFSET_1 0x3618
55003 #define A_MAC_PORT_RX_LINKC_PHASE_ROTATOR_STATIC_PHASE_OFFSET_2 0x361c
55004 #define A_MAC_PORT_RX_LINKC_DFE_CONTROL 0x3620
55006 #define S_T6_SPIFMT 8
55007 #define M_T6_SPIFMT 0xfU
55008 #define V_T6_SPIFMT(x) ((x) << S_T6_SPIFMT)
55009 #define G_T6_SPIFMT(x) (((x) >> S_T6_SPIFMT) & M_T6_SPIFMT)
55011 #define A_MAC_PORT_RX_LINKC_DFE_SAMPLE_SNAPSHOT_1 0x3624
55012 #define A_MAC_PORT_RX_LINKC_DFE_SAMPLE_SNAPSHOT_2 0x3628
55013 #define A_MAC_PORT_RX_LINKC_RECEIVER_VGA_CONTROL_1 0x362c
55015 #define S_T6_WRAPSEL 15
55016 #define V_T6_WRAPSEL(x) ((x) << S_T6_WRAPSEL)
55017 #define F_T6_WRAPSEL V_T6_WRAPSEL(1U)
55019 #define S_T6_PEAK 9
55020 #define M_T6_PEAK 0x1fU
55021 #define V_T6_PEAK(x) ((x) << S_T6_PEAK)
55022 #define G_T6_PEAK(x) (((x) >> S_T6_PEAK) & M_T6_PEAK)
55024 #define A_MAC_PORT_RX_LINKC_RECEIVER_VGA_CONTROL_2 0x3630
55026 #define S_T6_T5VGAIN 0
55027 #define M_T6_T5VGAIN 0x7fU
55028 #define V_T6_T5VGAIN(x) ((x) << S_T6_T5VGAIN)
55029 #define G_T6_T5VGAIN(x) (((x) >> S_T6_T5VGAIN) & M_T6_T5VGAIN)
55031 #define A_MAC_PORT_RX_LINKC_RECEIVER_VGA_CONTROL_3 0x3634
55032 #define A_MAC_PORT_RX_LINKC_RECEIVER_DQCC_CONTROL_1 0x3638
55033 #define A_MAC_PORT_RX_LINKC_RECEIVER_POWER_MANAGEMENT_CONTROL 0x3638
55034 #define A_MAC_PORT_RX_LINKC_RECEIVER_IQAMP_CONTROL_1 0x363c
55035 #define A_MAC_PORT_RX_LINKC_RECEIVER_DQCC_CONTROL_3 0x3640
55036 #define A_MAC_PORT_RX_LINKC_RECEIVER_IQAMP_CONTROL_2 0x3640
55037 #define A_MAC_PORT_RX_LINKC_RECEIVER_DACAP_AND_DACAN_SELECTION 0x3644
55038 #define A_MAC_PORT_RX_LINKC_RECEIVER_DACAP_AND_DACAN 0x3648
55039 #define A_MAC_PORT_RX_LINKC_RECEIVER_DACA_MIN_AND_DACAZ 0x364c
55040 #define A_MAC_PORT_RX_LINKC_RECEIVER_DACA_MIN 0x364c
55041 #define A_MAC_PORT_RX_LINKC_RECEIVER_ADAC_CONTROL 0x3650
55042 #define A_MAC_PORT_RX_LINKC_RECEIVER_AC_COUPLING_CONTROL 0x3654
55043 #define A_MAC_PORT_RX_LINKC_RECEIVER_AC_COUPLING_VALUE 0x3658
55044 #define A_MAC_PORT_RX_LINKC_DFE_H1_LOCAL_OFFSET_ODD2_EVN2 0x365c
55045 #define A_MAC_PORT_RX_LINKC_DFE_H1H2H3_LOCAL_OFFSET 0x365c
55046 #define A_MAC_PORT_RX_LINKC_DFE_H1_LOCAL_OFFSET_ODD3_EVN3 0x3660
55047 #define A_MAC_PORT_RX_LINKC_DFE_H1H2H3_LOCAL_OFFSET_VALUE 0x3660
55048 #define A_MAC_PORT_RX_LINKC_DFE_H1_LOCAL_OFFSET_ODD4_EVN4 0x3664
55049 #define A_MAC_PORT_RX_LINKC_PEAKED_INTEGRATOR 0x3664
55050 #define A_MAC_PORT_RX_LINKC_CDR_ANALOG_SWITCH 0x3668
55051 #define A_MAC_PORT_RX_LINKC_PEAKING_AMPLIFIER_INTIALIZATION_CONTROL 0x366c
55052 #define A_MAC_PORT_RX_LINKC_DYNAMIC_AMPLITUDE_CENTERING_DAC_AND_DYNAMIC_PEAKING_CONTROL_DPC 0x3670
55053 #define A_MAC_PORT_RX_LINKC_DYNAMIC_DATA_CENTERING_DDC 0x3674
55055 #define S_T6_ODEC 0
55056 #define M_T6_ODEC 0xfU
55057 #define V_T6_ODEC(x) ((x) << S_T6_ODEC)
55058 #define G_T6_ODEC(x) (((x) >> S_T6_ODEC) & M_T6_ODEC)
55060 #define A_MAC_PORT_RX_LINKC_RECEIVER_INTERNAL_STATUS 0x3678
55062 #define S_RX_LINKC_ACCCMP_RIS 11
55063 #define V_RX_LINKC_ACCCMP_RIS(x) ((x) << S_RX_LINKC_ACCCMP_RIS)
55064 #define F_RX_LINKC_ACCCMP_RIS V_RX_LINKC_ACCCMP_RIS(1U)
55066 #define A_MAC_PORT_RX_LINKC_DFE_FUNCTION_CONTROL_1 0x367c
55067 #define A_MAC_PORT_RX_LINKC_DFE_FUNCTION_CONTROL_2 0x3680
55068 #define A_MAC_PORT_RX_LINKC_DFE_OFFSET_EVN1_EVN2 0x3684
55069 #define A_MAC_PORT_RX_LINKC_DFE_OFFSET_CHANNEL 0x3684
55070 #define A_MAC_PORT_RX_LINKC_DFE_OFFSET_ODD1_ODD2 0x3688
55071 #define A_MAC_PORT_RX_LINKC_DFE_OFFSET_VALUE 0x3688
55072 #define A_MAC_PORT_RX_LINKC_DFE_OFFSET_EVN3_EVN4 0x368c
55073 #define A_MAC_PORT_RX_LINKC_H_COEFFICIENBT_BIST 0x368c
55074 #define A_MAC_PORT_RX_LINKC_DFE_OFFSET_ODD3_ODD4 0x3690
55075 #define A_MAC_PORT_RX_LINKC_AC_CAPACITOR_BIST 0x3690
55077 #define S_RX_LINKC_ACCCMP_BIST 13
55078 #define V_RX_LINKC_ACCCMP_BIST(x) ((x) << S_RX_LINKC_ACCCMP_BIST)
55079 #define F_RX_LINKC_ACCCMP_BIST V_RX_LINKC_ACCCMP_BIST(1U)
55081 #define A_MAC_PORT_RX_LINKC_DFE_E0_AND_E1_OFFSET 0x3694
55082 #define A_MAC_PORT_RX_LINKC_RECEIVER_LOFF_CONTROL 0x3698
55083 #define A_MAC_PORT_RX_LINKC_RECEIVER_LOFF_CONTROL_REGISTER 0x3698
55084 #define A_MAC_PORT_RX_LINKC_RECEIVER_SIGDET_CONTROL 0x369c
55085 #define A_MAC_PORT_RX_LINKC_RECEIVER_ANALOG_CONTROL_SWITCH 0x36a0
55086 #define A_MAC_PORT_RX_LINKC_INTEGRATOR_DAC_OFFSET 0x36a4
55087 #define A_MAC_PORT_RX_LINKC_DIGITAL_EYE_CONTROL 0x36a8
55088 #define A_MAC_PORT_RX_LINKC_DIGITAL_EYE_METRICS 0x36ac
55090 #define S_T6_EMMD 3
55091 #define M_T6_EMMD 0x3U
55092 #define V_T6_EMMD(x) ((x) << S_T6_EMMD)
55093 #define G_T6_EMMD(x) (((x) >> S_T6_EMMD) & M_T6_EMMD)
55095 #define S_T6_EMBRDY 2
55096 #define V_T6_EMBRDY(x) ((x) << S_T6_EMBRDY)
55097 #define F_T6_EMBRDY V_T6_EMBRDY(1U)
55099 #define S_T6_EMBUMP 1
55100 #define V_T6_EMBUMP(x) ((x) << S_T6_EMBUMP)
55101 #define F_T6_EMBUMP V_T6_EMBUMP(1U)
55103 #define A_MAC_PORT_RX_LINKC_DIGITAL_EYE_METRICS_ERROR_COUNT 0x36b0
55104 #define A_MAC_PORT_RX_LINKC_DIGITAL_EYE_METRICS_PDF_EYE_COUNT 0x36b4
55105 #define A_MAC_PORT_RX_LINKC_DIGITAL_EYE_METRICS_PATTERN_LENGTH 0x36b8
55106 #define A_MAC_PORT_RX_LINKC_DFE_FUNCTION_CONTROL_3 0x36bc
55107 #define A_MAC_PORT_RX_LINKC_DFE_TAP_ENABLE 0x36c0
55108 #define A_MAC_PORT_RX_LINKC_DFE_TAP_CONTROL 0x36c0
55110 #define S_RX_LINKC_INDEX_DFE_TC 0
55111 #define M_RX_LINKC_INDEX_DFE_TC 0xfU
55112 #define V_RX_LINKC_INDEX_DFE_TC(x) ((x) << S_RX_LINKC_INDEX_DFE_TC)
55113 #define G_RX_LINKC_INDEX_DFE_TC(x) (((x) >> S_RX_LINKC_INDEX_DFE_TC) & M_RX_LINKC_INDEX_DFE_TC)
55115 #define A_MAC_PORT_RX_LINKC_DFE_H1 0x36c4
55116 #define A_MAC_PORT_RX_LINKC_DFE_TAP 0x36c4
55118 #define S_RX_LINKC_INDEX_DFE_TAP 0
55119 #define M_RX_LINKC_INDEX_DFE_TAP 0xfU
55120 #define V_RX_LINKC_INDEX_DFE_TAP(x) ((x) << S_RX_LINKC_INDEX_DFE_TAP)
55121 #define G_RX_LINKC_INDEX_DFE_TAP(x) (((x) >> S_RX_LINKC_INDEX_DFE_TAP) & M_RX_LINKC_INDEX_DFE_TAP)
55123 #define A_MAC_PORT_RX_LINKC_DFE_H2 0x36c8
55124 #define A_MAC_PORT_RX_LINKC_DFE_H3 0x36cc
55125 #define A_MAC_PORT_RX_LINKC_DFE_H4 0x36d0
55126 #define A_MAC_PORT_RX_LINKC_DFE_H5 0x36d4
55127 #define A_MAC_PORT_RX_LINKC_DFE_H6_AND_H7 0x36d8
55128 #define A_MAC_PORT_RX_LINKC_DFE_H8_AND_H9 0x36dc
55129 #define A_MAC_PORT_RX_LINKC_DFE_H10_AND_H11 0x36e0
55130 #define A_MAC_PORT_RX_LINKC_DFE_H12 0x36e4
55131 #define A_MAC_PORT_RX_LINKC_RECEIVER_INTERNAL_STATUS_2 0x36e4
55132 #define A_MAC_PORT_RX_LINKC_AC_COUPLING_CURRENT_SOURCE_ADJUST 0x36e8
55133 #define A_MAC_PORT_RX_LINKC_RECEIVER_DCD_CONTROL 0x36ec
55134 #define A_MAC_PORT_RX_LINKC_RECEIVER_DCC_CONTROL 0x36f0
55136 #define S_RX_LINKC_DCCSTEP_RXCTL 10
55137 #define M_RX_LINKC_DCCSTEP_RXCTL 0x3U
55138 #define V_RX_LINKC_DCCSTEP_RXCTL(x) ((x) << S_RX_LINKC_DCCSTEP_RXCTL)
55139 #define G_RX_LINKC_DCCSTEP_RXCTL(x) (((x) >> S_RX_LINKC_DCCSTEP_RXCTL) & M_RX_LINKC_DCCSTEP_RXCTL)
55141 #define S_RX_LINKC_DCCLOCK_RXCTL 8
55142 #define V_RX_LINKC_DCCLOCK_RXCTL(x) ((x) << S_RX_LINKC_DCCLOCK_RXCTL)
55143 #define F_RX_LINKC_DCCLOCK_RXCTL V_RX_LINKC_DCCLOCK_RXCTL(1U)
55145 #define A_MAC_PORT_RX_LINKC_RECEIVER_QCC_CONTROL 0x36f4
55146 #define A_MAC_PORT_RX_LINKC_RECEIVER_MACRO_TEST_CONTROL_2 0x36f8
55147 #define A_MAC_PORT_RX_LINKC_RECEIVER_MACRO_TEST_CONTROL_REGISTER_2 0x36f8
55148 #define A_MAC_PORT_RX_LINKC_RECEIVER_MACRO_TEST_CONTROL_1 0x36fc
55149 #define A_MAC_PORT_RX_LINKD_RECEIVER_CONFIGURATION_MODE 0x3700
55150 #define A_MAC_PORT_RX_LINKD_RECEIVER_TEST_CONTROL 0x3704
55151 #define A_MAC_PORT_RX_LINKD_PHASE_ROTATOR_CONTROL 0x3708
55152 #define A_MAC_PORT_RX_LINKD_PHASE_ROTATOR_OFFSET_CONTROL 0x370c
55154 #define S_T6_TMSCAL 8
55155 #define M_T6_TMSCAL 0x3U
55156 #define V_T6_TMSCAL(x) ((x) << S_T6_TMSCAL)
55157 #define G_T6_TMSCAL(x) (((x) >> S_T6_TMSCAL) & M_T6_TMSCAL)
55159 #define S_T6_APADJ 7
55160 #define V_T6_APADJ(x) ((x) << S_T6_APADJ)
55161 #define F_T6_APADJ V_T6_APADJ(1U)
55163 #define S_T6_RSEL 6
55164 #define V_T6_RSEL(x) ((x) << S_T6_RSEL)
55165 #define F_T6_RSEL V_T6_RSEL(1U)
55167 #define S_T6_PHOFFS 0
55168 #define M_T6_PHOFFS 0x3fU
55169 #define V_T6_PHOFFS(x) ((x) << S_T6_PHOFFS)
55170 #define G_T6_PHOFFS(x) (((x) >> S_T6_PHOFFS) & M_T6_PHOFFS)
55172 #define A_MAC_PORT_RX_LINKD_PHASE_ROTATOR_POSITION_1 0x3710
55173 #define A_MAC_PORT_RX_LINKD_PHASE_ROTATOR_POSITION_2 0x3714
55174 #define A_MAC_PORT_RX_LINKD_PHASE_ROTATOR_STATIC_PHASE_OFFSET_1 0x3718
55175 #define A_MAC_PORT_RX_LINKD_PHASE_ROTATOR_STATIC_PHASE_OFFSET_2 0x371c
55176 #define A_MAC_PORT_RX_LINKD_DFE_CONTROL 0x3720
55178 #define S_T6_SPIFMT 8
55179 #define M_T6_SPIFMT 0xfU
55180 #define V_T6_SPIFMT(x) ((x) << S_T6_SPIFMT)
55181 #define G_T6_SPIFMT(x) (((x) >> S_T6_SPIFMT) & M_T6_SPIFMT)
55183 #define A_MAC_PORT_RX_LINKD_DFE_SAMPLE_SNAPSHOT_1 0x3724
55184 #define A_MAC_PORT_RX_LINKD_DFE_SAMPLE_SNAPSHOT_2 0x3728
55185 #define A_MAC_PORT_RX_LINKD_RECEIVER_VGA_CONTROL_1 0x372c
55187 #define S_T6_WRAPSEL 15
55188 #define V_T6_WRAPSEL(x) ((x) << S_T6_WRAPSEL)
55189 #define F_T6_WRAPSEL V_T6_WRAPSEL(1U)
55191 #define S_T6_PEAK 9
55192 #define M_T6_PEAK 0x1fU
55193 #define V_T6_PEAK(x) ((x) << S_T6_PEAK)
55194 #define G_T6_PEAK(x) (((x) >> S_T6_PEAK) & M_T6_PEAK)
55196 #define A_MAC_PORT_RX_LINKD_RECEIVER_VGA_CONTROL_2 0x3730
55198 #define S_T6_T5VGAIN 0
55199 #define M_T6_T5VGAIN 0x7fU
55200 #define V_T6_T5VGAIN(x) ((x) << S_T6_T5VGAIN)
55201 #define G_T6_T5VGAIN(x) (((x) >> S_T6_T5VGAIN) & M_T6_T5VGAIN)
55203 #define A_MAC_PORT_RX_LINKD_RECEIVER_VGA_CONTROL_3 0x3734
55204 #define A_MAC_PORT_RX_LINKD_RECEIVER_DQCC_CONTROL_1 0x3738
55205 #define A_MAC_PORT_RX_LINKD_RECEIVER_POWER_MANAGEMENT_CONTROL 0x3738
55206 #define A_MAC_PORT_RX_LINKD_RECEIVER_IQAMP_CONTROL_1 0x373c
55207 #define A_MAC_PORT_RX_LINKD_RECEIVER_DQCC_CONTROL_3 0x3740
55208 #define A_MAC_PORT_RX_LINKD_RECEIVER_IQAMP_CONTROL_2 0x3740
55209 #define A_MAC_PORT_RX_LINKD_RECEIVER_DACAP_AND_DACAN_SELECTION 0x3744
55210 #define A_MAC_PORT_RX_LINKD_RECEIVER_DACAP_AND_DACAN 0x3748
55211 #define A_MAC_PORT_RX_LINKD_RECEIVER_DACA_MIN_AND_DACAZ 0x374c
55212 #define A_MAC_PORT_RX_LINKD_RECEIVER_DACA_MIN 0x374c
55213 #define A_MAC_PORT_RX_LINKD_RECEIVER_ADAC_CONTROL 0x3750
55214 #define A_MAC_PORT_RX_LINKD_RECEIVER_AC_COUPLING_CONTROL 0x3754
55215 #define A_MAC_PORT_RX_LINKD_RECEIVER_AC_COUPLING_VALUE 0x3758
55216 #define A_MAC_PORT_RX_LINKD_DFE_H1_LOCAL_OFFSET_ODD2_EVN2 0x375c
55217 #define A_MAC_PORT_RX_LINKD_DFE_H1H2H3_LOCAL_OFFSET 0x375c
55218 #define A_MAC_PORT_RX_LINKD_DFE_H1_LOCAL_OFFSET_ODD3_EVN3 0x3760
55219 #define A_MAC_PORT_RX_LINKD_DFE_H1H2H3_LOCAL_OFFSET_VALUE 0x3760
55220 #define A_MAC_PORT_RX_LINKD_DFE_H1_LOCAL_OFFSET_ODD4_EVN4 0x3764
55221 #define A_MAC_PORT_RX_LINKD_PEAKED_INTEGRATOR 0x3764
55222 #define A_MAC_PORT_RX_LINKD_CDR_ANALOG_SWITCH 0x3768
55223 #define A_MAC_PORT_RX_LINKD_PEAKING_AMPLIFIER_INTIALIZATION_CONTROL 0x376c
55224 #define A_MAC_PORT_RX_LINKD_DYNAMIC_AMPLITUDE_CENTERING_DAC_AND_DYNAMIC_PEAKING_CONTROL_DPC 0x3770
55225 #define A_MAC_PORT_RX_LINKD_DYNAMIC_DATA_CENTERING_DDC 0x3774
55227 #define S_T6_ODEC 0
55228 #define M_T6_ODEC 0xfU
55229 #define V_T6_ODEC(x) ((x) << S_T6_ODEC)
55230 #define G_T6_ODEC(x) (((x) >> S_T6_ODEC) & M_T6_ODEC)
55232 #define A_MAC_PORT_RX_LINKD_RECEIVER_INTERNAL_STATUS 0x3778
55234 #define S_RX_LINKD_ACCCMP_RIS 11
55235 #define V_RX_LINKD_ACCCMP_RIS(x) ((x) << S_RX_LINKD_ACCCMP_RIS)
55236 #define F_RX_LINKD_ACCCMP_RIS V_RX_LINKD_ACCCMP_RIS(1U)
55238 #define A_MAC_PORT_RX_LINKD_DFE_FUNCTION_CONTROL_1 0x377c
55239 #define A_MAC_PORT_RX_LINKD_DFE_FUNCTION_CONTROL_2 0x3780
55240 #define A_MAC_PORT_RX_LINKD_DFE_OFFSET_EVN1_EVN2 0x3784
55241 #define A_MAC_PORT_RX_LINKD_DFE_OFFSET_CHANNEL 0x3784
55242 #define A_MAC_PORT_RX_LINKD_DFE_OFFSET_ODD1_ODD2 0x3788
55243 #define A_MAC_PORT_RX_LINKD_DFE_OFFSET_VALUE 0x3788
55244 #define A_MAC_PORT_RX_LINKD_DFE_OFFSET_EVN3_EVN4 0x378c
55245 #define A_MAC_PORT_RX_LINKD_H_COEFFICIENBT_BIST 0x378c
55246 #define A_MAC_PORT_RX_LINKD_DFE_OFFSET_ODD3_ODD4 0x3790
55247 #define A_MAC_PORT_RX_LINKD_AC_CAPACITOR_BIST 0x3790
55249 #define S_RX_LINKD_ACCCMP_BIST 13
55250 #define V_RX_LINKD_ACCCMP_BIST(x) ((x) << S_RX_LINKD_ACCCMP_BIST)
55251 #define F_RX_LINKD_ACCCMP_BIST V_RX_LINKD_ACCCMP_BIST(1U)
55253 #define A_MAC_PORT_RX_LINKD_DFE_E0_AND_E1_OFFSET 0x3794
55254 #define A_MAC_PORT_RX_LINKD_RECEIVER_LOFF_CONTROL 0x3798
55255 #define A_MAC_PORT_RX_LINKD_RECEIVER_LOFF_CONTROL_REGISTER 0x3798
55256 #define A_MAC_PORT_RX_LINKD_RECEIVER_SIGDET_CONTROL 0x379c
55257 #define A_MAC_PORT_RX_LINKD_RECEIVER_ANALOG_CONTROL_SWITCH 0x37a0
55258 #define A_MAC_PORT_RX_LINKD_INTEGRATOR_DAC_OFFSET 0x37a4
55259 #define A_MAC_PORT_RX_LINKD_DIGITAL_EYE_CONTROL 0x37a8
55260 #define A_MAC_PORT_RX_LINKD_DIGITAL_EYE_METRICS 0x37ac
55262 #define S_T6_EMMD 3
55263 #define M_T6_EMMD 0x3U
55264 #define V_T6_EMMD(x) ((x) << S_T6_EMMD)
55265 #define G_T6_EMMD(x) (((x) >> S_T6_EMMD) & M_T6_EMMD)
55267 #define S_T6_EMBRDY 2
55268 #define V_T6_EMBRDY(x) ((x) << S_T6_EMBRDY)
55269 #define F_T6_EMBRDY V_T6_EMBRDY(1U)
55271 #define S_T6_EMBUMP 1
55272 #define V_T6_EMBUMP(x) ((x) << S_T6_EMBUMP)
55273 #define F_T6_EMBUMP V_T6_EMBUMP(1U)
55275 #define A_MAC_PORT_RX_LINKD_DIGITAL_EYE_METRICS_ERROR_COUNT 0x37b0
55276 #define A_MAC_PORT_RX_LINKD_DIGITAL_EYE_METRICS_PDF_EYE_COUNT 0x37b4
55277 #define A_MAC_PORT_RX_LINKD_DIGITAL_EYE_METRICS_PATTERN_LENGTH 0x37b8
55278 #define A_MAC_PORT_RX_LINKD_DFE_FUNCTION_CONTROL_3 0x37bc
55279 #define A_MAC_PORT_RX_LINKD_DFE_TAP_ENABLE 0x37c0
55280 #define A_MAC_PORT_RX_LINKD_DFE_TAP_CONTROL 0x37c0
55282 #define S_RX_LINKD_INDEX_DFE_TC 0
55283 #define M_RX_LINKD_INDEX_DFE_TC 0xfU
55284 #define V_RX_LINKD_INDEX_DFE_TC(x) ((x) << S_RX_LINKD_INDEX_DFE_TC)
55285 #define G_RX_LINKD_INDEX_DFE_TC(x) (((x) >> S_RX_LINKD_INDEX_DFE_TC) & M_RX_LINKD_INDEX_DFE_TC)
55287 #define A_MAC_PORT_RX_LINKD_DFE_H1 0x37c4
55288 #define A_MAC_PORT_RX_LINKD_DFE_TAP 0x37c4
55290 #define S_RX_LINKD_INDEX_DFE_TAP 0
55291 #define M_RX_LINKD_INDEX_DFE_TAP 0xfU
55292 #define V_RX_LINKD_INDEX_DFE_TAP(x) ((x) << S_RX_LINKD_INDEX_DFE_TAP)
55293 #define G_RX_LINKD_INDEX_DFE_TAP(x) (((x) >> S_RX_LINKD_INDEX_DFE_TAP) & M_RX_LINKD_INDEX_DFE_TAP)
55295 #define A_MAC_PORT_RX_LINKD_DFE_H2 0x37c8
55296 #define A_MAC_PORT_RX_LINKD_DFE_H3 0x37cc
55297 #define A_MAC_PORT_RX_LINKD_DFE_H4 0x37d0
55298 #define A_MAC_PORT_RX_LINKD_DFE_H5 0x37d4
55299 #define A_MAC_PORT_RX_LINKD_DFE_H6_AND_H7 0x37d8
55300 #define A_MAC_PORT_RX_LINKD_DFE_H8_AND_H9 0x37dc
55301 #define A_MAC_PORT_RX_LINKD_DFE_H10_AND_H11 0x37e0
55302 #define A_MAC_PORT_RX_LINKD_DFE_H12 0x37e4
55303 #define A_MAC_PORT_RX_LINKD_RECEIVER_INTERNAL_STATUS_2 0x37e4
55304 #define A_MAC_PORT_RX_LINKD_AC_COUPLING_CURRENT_SOURCE_ADJUST 0x37e8
55305 #define A_MAC_PORT_RX_LINKD_RECEIVER_DCD_CONTROL 0x37ec
55306 #define A_MAC_PORT_RX_LINKD_RECEIVER_DCC_CONTROL 0x37f0
55308 #define S_RX_LINKD_DCCSTEP_RXCTL 10
55309 #define M_RX_LINKD_DCCSTEP_RXCTL 0x3U
55310 #define V_RX_LINKD_DCCSTEP_RXCTL(x) ((x) << S_RX_LINKD_DCCSTEP_RXCTL)
55311 #define G_RX_LINKD_DCCSTEP_RXCTL(x) (((x) >> S_RX_LINKD_DCCSTEP_RXCTL) & M_RX_LINKD_DCCSTEP_RXCTL)
55313 #define S_RX_LINKD_DCCLOCK_RXCTL 8
55314 #define V_RX_LINKD_DCCLOCK_RXCTL(x) ((x) << S_RX_LINKD_DCCLOCK_RXCTL)
55315 #define F_RX_LINKD_DCCLOCK_RXCTL V_RX_LINKD_DCCLOCK_RXCTL(1U)
55317 #define A_MAC_PORT_RX_LINKD_RECEIVER_QCC_CONTROL 0x37f4
55318 #define A_MAC_PORT_RX_LINKD_RECEIVER_MACRO_TEST_CONTROL_2 0x37f8
55319 #define A_MAC_PORT_RX_LINKD_RECEIVER_MACRO_TEST_CONTROL_REGISTER_2 0x37f8
55320 #define A_MAC_PORT_RX_LINKD_RECEIVER_MACRO_TEST_CONTROL_1 0x37fc
55321 #define A_MAC_PORT_ANALOG_TEST_MUX 0x3814
55322 #define A_MAC_PORT_BANDGAP_CONTROL 0x382c
55324 #define S_T5BGCTL 0
55325 #define M_T5BGCTL 0xfU
55326 #define V_T5BGCTL(x) ((x) << S_T5BGCTL)
55327 #define G_T5BGCTL(x) (((x) >> S_T5BGCTL) & M_T5BGCTL)
55329 #define A_MAC_PORT_PLLREFSEL_CONTROL 0x3854
55332 #define M_REFSEL 0x7U
55333 #define V_REFSEL(x) ((x) << S_REFSEL)
55334 #define G_REFSEL(x) (((x) >> S_REFSEL) & M_REFSEL)
55336 #define A_MAC_PORT_REFISINK_CONTROL 0x3858
55338 #define S_REFISINK 0
55339 #define M_REFISINK 0x3fU
55340 #define V_REFISINK(x) ((x) << S_REFISINK)
55341 #define G_REFISINK(x) (((x) >> S_REFISINK) & M_REFISINK)
55343 #define A_MAC_PORT_REFISRC_CONTROL 0x385c
55345 #define S_REFISRC 0
55346 #define M_REFISRC 0x3fU
55347 #define V_REFISRC(x) ((x) << S_REFISRC)
55348 #define G_REFISRC(x) (((x) >> S_REFISRC) & M_REFISRC)
55350 #define A_MAC_PORT_REFVREG_CONTROL 0x3860
55352 #define S_REFVREG 0
55353 #define M_REFVREG 0x3fU
55354 #define V_REFVREG(x) ((x) << S_REFVREG)
55355 #define G_REFVREG(x) (((x) >> S_REFVREG) & M_REFVREG)
55357 #define A_MAC_PORT_VBGENDOC_CONTROL 0x3864
55359 #define S_BGCLKSEL 2
55360 #define V_BGCLKSEL(x) ((x) << S_BGCLKSEL)
55361 #define F_BGCLKSEL V_BGCLKSEL(1U)
55363 #define S_VBGENDOC 0
55364 #define M_VBGENDOC 0x3U
55365 #define V_VBGENDOC(x) ((x) << S_VBGENDOC)
55366 #define G_VBGENDOC(x) (((x) >> S_VBGENDOC) & M_VBGENDOC)
55368 #define A_MAC_PORT_VREFTUNE_CONTROL 0x3868
55370 #define S_VREFTUNE 0
55371 #define M_VREFTUNE 0xfU
55372 #define V_VREFTUNE(x) ((x) << S_VREFTUNE)
55373 #define G_VREFTUNE(x) (((x) >> S_VREFTUNE) & M_VREFTUNE)
55375 #define A_MAC_PORT_RESISTOR_CALIBRATION_CONTROL 0x3880
55378 #define V_RCCTL1(x) ((x) << S_RCCTL1)
55379 #define F_RCCTL1 V_RCCTL1(1U)
55382 #define V_RCCTL0(x) ((x) << S_RCCTL0)
55383 #define F_RCCTL0 V_RCCTL0(1U)
55386 #define V_RCAMP1(x) ((x) << S_RCAMP1)
55387 #define F_RCAMP1 V_RCAMP1(1U)
55390 #define V_RCAMP0(x) ((x) << S_RCAMP0)
55391 #define F_RCAMP0 V_RCAMP0(1U)
55393 #define S_RCAMPEN 1
55394 #define V_RCAMPEN(x) ((x) << S_RCAMPEN)
55395 #define F_RCAMPEN V_RCAMPEN(1U)
55398 #define V_RCRST(x) ((x) << S_RCRST)
55399 #define F_RCRST V_RCRST(1U)
55401 #define A_MAC_PORT_IMPEDENCE_CALIBRATION_CONTROL 0x3880
55403 #define S_FRCCAL_COMP 6
55404 #define V_FRCCAL_COMP(x) ((x) << S_FRCCAL_COMP)
55405 #define F_FRCCAL_COMP V_FRCCAL_COMP(1U)
55407 #define S_IC_FRCERR 5
55408 #define V_IC_FRCERR(x) ((x) << S_IC_FRCERR)
55409 #define F_IC_FRCERR V_IC_FRCERR(1U)
55411 #define S_CAL_BISTENAB 4
55412 #define V_CAL_BISTENAB(x) ((x) << S_CAL_BISTENAB)
55413 #define F_CAL_BISTENAB V_CAL_BISTENAB(1U)
55415 #define S_RCAL_RESET 0
55416 #define V_RCAL_RESET(x) ((x) << S_RCAL_RESET)
55417 #define F_RCAL_RESET V_RCAL_RESET(1U)
55419 #define A_MAC_PORT_RESISTOR_CALIBRATION_STATUS_1 0x3884
55422 #define V_RCERR(x) ((x) << S_RCERR)
55423 #define F_RCERR V_RCERR(1U)
55426 #define V_RCCOMP(x) ((x) << S_RCCOMP)
55427 #define F_RCCOMP V_RCCOMP(1U)
55429 #define A_MAC_PORT_IMPEDENCE_CALIBRATION_STATUS_1 0x3884
55431 #define S_RCALBENAB 3
55432 #define V_RCALBENAB(x) ((x) << S_RCALBENAB)
55433 #define F_RCALBENAB V_RCALBENAB(1U)
55435 #define S_RCALBUSY 2
55436 #define V_RCALBUSY(x) ((x) << S_RCALBUSY)
55437 #define F_RCALBUSY V_RCALBUSY(1U)
55439 #define S_RCALERR 1
55440 #define V_RCALERR(x) ((x) << S_RCALERR)
55441 #define F_RCALERR V_RCALERR(1U)
55443 #define S_RCALCOMP 0
55444 #define V_RCALCOMP(x) ((x) << S_RCALCOMP)
55445 #define F_RCALCOMP V_RCALCOMP(1U)
55447 #define A_MAC_PORT_RESISTOR_CALIBRATION_STATUS_2 0x3888
55449 #define S_RESREG2 0
55450 #define M_RESREG2 0xffU
55451 #define V_RESREG2(x) ((x) << S_RESREG2)
55452 #define G_RESREG2(x) (((x) >> S_RESREG2) & M_RESREG2)
55454 #define A_MAC_PORT_IMPEDENCE_CALIBRATION_STATUS_2 0x3888
55456 #define S_T6_RESREG2 0
55457 #define M_T6_RESREG2 0x3fU
55458 #define V_T6_RESREG2(x) ((x) << S_T6_RESREG2)
55459 #define G_T6_RESREG2(x) (((x) >> S_T6_RESREG2) & M_T6_RESREG2)
55461 #define A_MAC_PORT_RESISTOR_CALIBRATION_STATUS_3 0x388c
55463 #define S_RESREG3 0
55464 #define M_RESREG3 0xffU
55465 #define V_RESREG3(x) ((x) << S_RESREG3)
55466 #define G_RESREG3(x) (((x) >> S_RESREG3) & M_RESREG3)
55468 #define A_MAC_PORT_IMPEDENCE_CALIBRATION_STATUS_3 0x388c
55470 #define S_T6_RESREG3 0
55471 #define M_T6_RESREG3 0x3fU
55472 #define V_T6_RESREG3(x) ((x) << S_T6_RESREG3)
55473 #define G_T6_RESREG3(x) (((x) >> S_T6_RESREG3) & M_T6_RESREG3)
55475 #define A_MAC_PORT_INEQUALITY_CONTROL_AND_RESULT 0x38c0
55478 #define V_ISGT(x) ((x) << S_ISGT)
55479 #define F_ISGT V_ISGT(1U)
55482 #define V_ISLT(x) ((x) << S_ISLT)
55483 #define F_ISLT V_ISLT(1U)
55486 #define V_ISEQ(x) ((x) << S_ISEQ)
55487 #define F_ISEQ V_ISEQ(1U)
55490 #define M_ISVAL 0x3U
55491 #define V_ISVAL(x) ((x) << S_ISVAL)
55492 #define G_ISVAL(x) (((x) >> S_ISVAL) & M_ISVAL)
55495 #define M_GTORLT 0x3U
55496 #define V_GTORLT(x) ((x) << S_GTORLT)
55497 #define G_GTORLT(x) (((x) >> S_GTORLT) & M_GTORLT)
55500 #define V_INEQ(x) ((x) << S_INEQ)
55501 #define F_INEQ V_INEQ(1U)
55503 #define A_MAC_PORT_INEQUALITY_LOW_LIMIT 0x38c4
55506 #define M_LLIM 0xffffU
55507 #define V_LLIM(x) ((x) << S_LLIM)
55508 #define G_LLIM(x) (((x) >> S_LLIM) & M_LLIM)
55510 #define A_MAC_PORT_INEQUALITY_LOW_LIMIT_MASK 0x38c8
55513 #define M_LMSK 0xffffU
55514 #define V_LMSK(x) ((x) << S_LMSK)
55515 #define G_LMSK(x) (((x) >> S_LMSK) & M_LMSK)
55517 #define A_MAC_PORT_INEQUALITY_HIGH_LIMIT 0x38cc
55520 #define M_HLIM 0xffffU
55521 #define V_HLIM(x) ((x) << S_HLIM)
55522 #define G_HLIM(x) (((x) >> S_HLIM) & M_HLIM)
55524 #define A_MAC_PORT_INEQUALITY_HIGH_LIMIT_MASK 0x38d0
55527 #define M_HMSK 0xffffU
55528 #define V_HMSK(x) ((x) << S_HMSK)
55529 #define G_HMSK(x) (((x) >> S_HMSK) & M_HMSK)
55531 #define A_MAC_PORT_MACRO_TEST_CONTROL_6 0x38e8
55534 #define V_LBIST(x) ((x) << S_LBIST)
55535 #define F_LBIST V_LBIST(1U)
55537 #define S_LOGICTEST 6
55538 #define V_LOGICTEST(x) ((x) << S_LOGICTEST)
55539 #define F_LOGICTEST V_LOGICTEST(1U)
55542 #define V_MAVDHI(x) ((x) << S_MAVDHI)
55543 #define F_MAVDHI V_MAVDHI(1U)
55546 #define V_AUXEN(x) ((x) << S_AUXEN)
55547 #define F_AUXEN V_AUXEN(1U)
55550 #define V_JTAGMD(x) ((x) << S_JTAGMD)
55551 #define F_JTAGMD V_JTAGMD(1U)
55553 #define S_RXACMODE 2
55554 #define V_RXACMODE(x) ((x) << S_RXACMODE)
55555 #define F_RXACMODE V_RXACMODE(1U)
55557 #define S_HSSACJPC 1
55558 #define V_HSSACJPC(x) ((x) << S_HSSACJPC)
55559 #define F_HSSACJPC V_HSSACJPC(1U)
55561 #define S_HSSACJAC 0
55562 #define V_HSSACJAC(x) ((x) << S_HSSACJAC)
55563 #define F_HSSACJAC V_HSSACJAC(1U)
55565 #define A_MAC_PORT_MACRO_TEST_CONTROL_5 0x38ec
55567 #define S_REFVALIDD 6
55568 #define V_REFVALIDD(x) ((x) << S_REFVALIDD)
55569 #define F_REFVALIDD V_REFVALIDD(1U)
55571 #define S_REFVALIDC 5
55572 #define V_REFVALIDC(x) ((x) << S_REFVALIDC)
55573 #define F_REFVALIDC V_REFVALIDC(1U)
55575 #define S_REFVALIDB 4
55576 #define V_REFVALIDB(x) ((x) << S_REFVALIDB)
55577 #define F_REFVALIDB V_REFVALIDB(1U)
55579 #define S_REFVALIDA 3
55580 #define V_REFVALIDA(x) ((x) << S_REFVALIDA)
55581 #define F_REFVALIDA V_REFVALIDA(1U)
55583 #define S_REFSELRESET 2
55584 #define V_REFSELRESET(x) ((x) << S_REFSELRESET)
55585 #define F_REFSELRESET V_REFSELRESET(1U)
55587 #define S_SOFTRESET 1
55588 #define V_SOFTRESET(x) ((x) << S_SOFTRESET)
55589 #define F_SOFTRESET V_SOFTRESET(1U)
55591 #define S_MACROTEST 0
55592 #define V_MACROTEST(x) ((x) << S_MACROTEST)
55593 #define F_MACROTEST V_MACROTEST(1U)
55595 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_CONFIGURATION_MODE 0x3900
55597 #define S_T6_T5_TX_RXLOOP 5
55598 #define V_T6_T5_TX_RXLOOP(x) ((x) << S_T6_T5_TX_RXLOOP)
55599 #define F_T6_T5_TX_RXLOOP V_T6_T5_TX_RXLOOP(1U)
55601 #define S_T6_T5_TX_BWSEL 2
55602 #define M_T6_T5_TX_BWSEL 0x3U
55603 #define V_T6_T5_TX_BWSEL(x) ((x) << S_T6_T5_TX_BWSEL)
55604 #define G_T6_T5_TX_BWSEL(x) (((x) >> S_T6_T5_TX_BWSEL) & M_T6_T5_TX_BWSEL)
55606 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TEST_CONTROL 0x3904
55608 #define S_T6_ERROR 9
55609 #define V_T6_ERROR(x) ((x) << S_T6_ERROR)
55610 #define F_T6_ERROR V_T6_ERROR(1U)
55612 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_COEFFICIENT_CONTROL 0x3908
55613 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_DRIVER_MODE_CONTROL 0x390c
55614 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_DRIVER_OVERRIDE_CONTROL 0x3910
55615 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCLK_ROTATOR_OVERRIDE 0x3914
55616 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_IMPEDANCE_CALIBRATION_OVERRIDE 0x3918
55618 #define S_T6_CALSSTN 8
55619 #define M_T6_CALSSTN 0x3fU
55620 #define V_T6_CALSSTN(x) ((x) << S_T6_CALSSTN)
55621 #define G_T6_CALSSTN(x) (((x) >> S_T6_CALSSTN) & M_T6_CALSSTN)
55623 #define S_T6_CALSSTP 0
55624 #define M_T6_CALSSTP 0x3fU
55625 #define V_T6_CALSSTP(x) ((x) << S_T6_CALSSTP)
55626 #define G_T6_CALSSTP(x) (((x) >> S_T6_CALSSTP) & M_T6_CALSSTP)
55628 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCLK_DRIFT_TOLERANCE 0x391c
55630 #define S_T6_DRTOL 2
55631 #define M_T6_DRTOL 0x7U
55632 #define V_T6_DRTOL(x) ((x) << S_T6_DRTOL)
55633 #define G_T6_DRTOL(x) (((x) >> S_T6_DRTOL) & M_T6_DRTOL)
55635 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_0_COEFFICIENT 0x3920
55637 #define S_T6_NXTT0 0
55638 #define M_T6_NXTT0 0x3fU
55639 #define V_T6_NXTT0(x) ((x) << S_T6_NXTT0)
55640 #define G_T6_NXTT0(x) (((x) >> S_T6_NXTT0) & M_T6_NXTT0)
55642 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_1_COEFFICIENT 0x3924
55643 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_2_COEFFICIENT 0x3928
55645 #define S_T6_NXTT2 0
55646 #define M_T6_NXTT2 0x3fU
55647 #define V_T6_NXTT2(x) ((x) << S_T6_NXTT2)
55648 #define G_T6_NXTT2(x) (((x) >> S_T6_NXTT2) & M_T6_NXTT2)
55650 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_3_COEFFICIENT 0x392c
55651 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AMPLITUDE 0x3930
55652 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_POLARITY 0x3934
55654 #define S_T6_NXTPOL 0
55655 #define M_T6_NXTPOL 0xfU
55656 #define V_T6_NXTPOL(x) ((x) << S_T6_NXTPOL)
55657 #define G_T6_NXTPOL(x) (((x) >> S_T6_NXTPOL) & M_T6_NXTPOL)
55659 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_COMMAND 0x3938
55661 #define S_T6_C0UPDT 6
55662 #define M_T6_C0UPDT 0x3U
55663 #define V_T6_C0UPDT(x) ((x) << S_T6_C0UPDT)
55664 #define G_T6_C0UPDT(x) (((x) >> S_T6_C0UPDT) & M_T6_C0UPDT)
55666 #define S_T6_C2UPDT 2
55667 #define M_T6_C2UPDT 0x3U
55668 #define V_T6_C2UPDT(x) ((x) << S_T6_C2UPDT)
55669 #define G_T6_C2UPDT(x) (((x) >> S_T6_C2UPDT) & M_T6_C2UPDT)
55671 #define S_T6_C1UPDT 0
55672 #define M_T6_C1UPDT 0x3U
55673 #define V_T6_C1UPDT(x) ((x) << S_T6_C1UPDT)
55674 #define G_T6_C1UPDT(x) (((x) >> S_T6_C1UPDT) & M_T6_C1UPDT)
55676 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_ADAPTIVE_EQUALIZATION_STATUS 0x393c
55678 #define S_T6_C0STAT 6
55679 #define M_T6_C0STAT 0x3U
55680 #define V_T6_C0STAT(x) ((x) << S_T6_C0STAT)
55681 #define G_T6_C0STAT(x) (((x) >> S_T6_C0STAT) & M_T6_C0STAT)
55683 #define S_T6_C2STAT 2
55684 #define M_T6_C2STAT 0x3U
55685 #define V_T6_C2STAT(x) ((x) << S_T6_C2STAT)
55686 #define G_T6_C2STAT(x) (((x) >> S_T6_C2STAT) & M_T6_C2STAT)
55688 #define S_T6_C1STAT 0
55689 #define M_T6_C1STAT 0x3U
55690 #define V_T6_C1STAT(x) ((x) << S_T6_C1STAT)
55691 #define G_T6_C1STAT(x) (((x) >> S_T6_C1STAT) & M_T6_C1STAT)
55693 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_0_COEFFICIENT_OVERRIDE 0x3940
55694 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_TAP_0_COEFFICIENT_OVERRIDE 0x3940
55695 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_1_COEFFICIENT_OVERRIDE 0x3944
55696 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_TAP_1_COEFFICIENT_OVERRIDE 0x3944
55697 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_2_COEFFICIENT_OVERRIDE 0x3948
55698 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_TAP_2_COEFFICIENT_OVERRIDE 0x3948
55699 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_TAP_3_COEFFICIENT_OVERRIDE 0x394c
55700 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_APPLIED_TUNE_REGISTER 0x3950
55701 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_ANALOG_DIAGNOSTICS_REGISTER 0x3958
55702 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_0_COEFFICIENT_APPLIED 0x3960
55703 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_4X_SEGMENT_APPLIED 0x3960
55704 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_1_COEFFICIENT_APPLIED 0x3964
55705 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_2X_SEGMENT_APPLIED 0x3964
55706 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_2_COEFFICIENT_APPLIED 0x3968
55707 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_1X_SEGMENT_APPLIED 0x3968
55708 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_SEGMENT_4X_TERMINATION_APPLIED 0x396c
55709 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_SEGMENT_DISABLE_APPLIED_1 0x3970
55710 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_SEGMENT_2X1X_TERMINATION_APPLIED 0x3970
55711 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_SEGMENT_DISABLE_APPLIED_2 0x3974
55712 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_SIGN_APPLIED_REGISTER 0x3974
55713 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_EXTENDED_ADDRESS_DATA 0x3978
55714 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_EXTENDED_ADDRESS_ADDR 0x397c
55716 #define S_T6_XADDR 1
55717 #define M_T6_XADDR 0x1fU
55718 #define V_T6_XADDR(x) ((x) << S_T6_XADDR)
55719 #define G_T6_XADDR(x) (((x) >> S_T6_XADDR) & M_T6_XADDR)
55721 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_PATTERN_BUFFER_BYTES_1_0 0x3980
55722 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_PATTERN_BUFFER_BYTES_3_2 0x3984
55723 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_PATTERN_BUFFER_BYTE_4 0x3988
55724 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_PATTERN_BUFFER_BYTES_5_4 0x3988
55725 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCC_CONTROL 0x398c
55726 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_PATTERN_BUFFER_BYTES_7_6 0x398c
55727 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCC_OVERRIDE 0x3990
55728 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCC_APPLIED 0x3994
55729 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCC_TIME_OUT 0x3998
55730 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AZ_CONTROL 0x399c
55731 #define A_T6_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCC_CONTROL 0x39a0
55733 #define S_T6_DCCTIMEEN 13
55734 #define M_T6_DCCTIMEEN 0x3U
55735 #define V_T6_DCCTIMEEN(x) ((x) << S_T6_DCCTIMEEN)
55736 #define G_T6_DCCTIMEEN(x) (((x) >> S_T6_DCCTIMEEN) & M_T6_DCCTIMEEN)
55738 #define S_T6_DCCLOCK 11
55739 #define M_T6_DCCLOCK 0x3U
55740 #define V_T6_DCCLOCK(x) ((x) << S_T6_DCCLOCK)
55741 #define G_T6_DCCLOCK(x) (((x) >> S_T6_DCCLOCK) & M_T6_DCCLOCK)
55743 #define S_T6_DCCOFFSET 8
55744 #define M_T6_DCCOFFSET 0x7U
55745 #define V_T6_DCCOFFSET(x) ((x) << S_T6_DCCOFFSET)
55746 #define G_T6_DCCOFFSET(x) (((x) >> S_T6_DCCOFFSET) & M_T6_DCCOFFSET)
55748 #define S_TX_LINK_BCST_DCCSTEP_CTL 6
55749 #define M_TX_LINK_BCST_DCCSTEP_CTL 0x3U
55750 #define V_TX_LINK_BCST_DCCSTEP_CTL(x) ((x) << S_TX_LINK_BCST_DCCSTEP_CTL)
55751 #define G_TX_LINK_BCST_DCCSTEP_CTL(x) (((x) >> S_TX_LINK_BCST_DCCSTEP_CTL) & M_TX_LINK_BCST_DCCSTEP_CTL)
55753 #define A_T6_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCC_OVERRIDE 0x39a4
55754 #define A_T6_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCC_APPLIED 0x39a8
55755 #define A_T6_MAC_PORT_TX_LINK_BCST_TRANSMIT_DCC_TIME_OUT 0x39ac
55756 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_SIGN_OVERRIDE 0x39c0
55757 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_SEGMENT_4X_OVERRIDE 0x39c8
55758 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_SEGMENT_2X_OVERRIDE 0x39cc
55759 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_SEGMENT_1X_OVERRIDE 0x39d0
55760 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_SEGMENT_4X_TERMINATION_OVERRIDE 0x39d8
55761 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_SEGMENT_2X_TERMINATION_OVERRIDE 0x39dc
55762 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_TAP_SEGMENT_1X_TERMINATION_OVERRIDE 0x39e0
55763 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_MACRO_TEST_CONTROL_5 0x39ec
55764 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_MACRO_TEST_CONTROL_4 0x39f0
55766 #define S_T6_SDOVRD 0
55767 #define M_T6_SDOVRD 0xffffU
55768 #define V_T6_SDOVRD(x) ((x) << S_T6_SDOVRD)
55769 #define G_T6_SDOVRD(x) (((x) >> S_T6_SDOVRD) & M_T6_SDOVRD)
55771 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_MACRO_TEST_CONTROL_3 0x39f4
55772 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_MACRO_TEST_CONTROL_2 0x39f8
55773 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_MACRO_TEST_CONTROL_1 0x39fc
55775 #define S_T6_SDOVRDEN 15
55776 #define V_T6_SDOVRDEN(x) ((x) << S_T6_SDOVRDEN)
55777 #define F_T6_SDOVRDEN V_T6_SDOVRDEN(1U)
55779 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_CONFIGURATION_MODE 0x3a00
55780 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_TEST_CONTROL 0x3a04
55781 #define A_MAC_PORT_RX_LINK_BCST_PHASE_ROTATOR_CONTROL 0x3a08
55782 #define A_MAC_PORT_RX_LINK_BCST_PHASE_ROTATOR_OFFSET_CONTROL 0x3a0c
55784 #define S_T6_TMSCAL 8
55785 #define M_T6_TMSCAL 0x3U
55786 #define V_T6_TMSCAL(x) ((x) << S_T6_TMSCAL)
55787 #define G_T6_TMSCAL(x) (((x) >> S_T6_TMSCAL) & M_T6_TMSCAL)
55789 #define S_T6_APADJ 7
55790 #define V_T6_APADJ(x) ((x) << S_T6_APADJ)
55791 #define F_T6_APADJ V_T6_APADJ(1U)
55793 #define S_T6_RSEL 6
55794 #define V_T6_RSEL(x) ((x) << S_T6_RSEL)
55795 #define F_T6_RSEL V_T6_RSEL(1U)
55797 #define S_T6_PHOFFS 0
55798 #define M_T6_PHOFFS 0x3fU
55799 #define V_T6_PHOFFS(x) ((x) << S_T6_PHOFFS)
55800 #define G_T6_PHOFFS(x) (((x) >> S_T6_PHOFFS) & M_T6_PHOFFS)
55802 #define A_MAC_PORT_RX_LINK_BCST_PHASE_ROTATOR_POSITION_1 0x3a10
55803 #define A_MAC_PORT_RX_LINK_BCST_PHASE_ROTATOR_POSITION_2 0x3a14
55804 #define A_MAC_PORT_RX_LINK_BCST_PHASE_ROTATOR_STATIC_PHASE_OFFSET_1 0x3a18
55805 #define A_MAC_PORT_RX_LINK_BCST_PHASE_ROTATOR_STATIC_PHASE_OFFSET_2 0x3a1c
55806 #define A_MAC_PORT_RX_LINK_BCST_DFE_CONTROL 0x3a20
55808 #define S_T6_SPIFMT 8
55809 #define M_T6_SPIFMT 0xfU
55810 #define V_T6_SPIFMT(x) ((x) << S_T6_SPIFMT)
55811 #define G_T6_SPIFMT(x) (((x) >> S_T6_SPIFMT) & M_T6_SPIFMT)
55813 #define A_MAC_PORT_RX_LINK_BCST_DFE_SAMPLE_SNAPSHOT_1 0x3a24
55814 #define A_MAC_PORT_RX_LINK_BCST_DFE_SAMPLE_SNAPSHOT_2 0x3a28
55815 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_VGA_CONTROL_1 0x3a2c
55817 #define S_T6_WRAPSEL 15
55818 #define V_T6_WRAPSEL(x) ((x) << S_T6_WRAPSEL)
55819 #define F_T6_WRAPSEL V_T6_WRAPSEL(1U)
55821 #define S_T6_PEAK 9
55822 #define M_T6_PEAK 0x1fU
55823 #define V_T6_PEAK(x) ((x) << S_T6_PEAK)
55824 #define G_T6_PEAK(x) (((x) >> S_T6_PEAK) & M_T6_PEAK)
55826 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_VGA_CONTROL_2 0x3a30
55828 #define S_T6_T5VGAIN 0
55829 #define M_T6_T5VGAIN 0x7fU
55830 #define V_T6_T5VGAIN(x) ((x) << S_T6_T5VGAIN)
55831 #define G_T6_T5VGAIN(x) (((x) >> S_T6_T5VGAIN) & M_T6_T5VGAIN)
55833 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_VGA_CONTROL_3 0x3a34
55834 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_DQCC_CONTROL_1 0x3a38
55835 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_POWER_MANAGEMENT_CONTROL 0x3a38
55836 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_IQAMP_CONTROL_1 0x3a3c
55837 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_DQCC_CONTROL_3 0x3a40
55838 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_IQAMP_CONTROL_2 0x3a40
55839 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_DACAP_AND_DACAN_SELECTION 0x3a44
55840 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_DACAP_AND_DACAN 0x3a48
55841 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_DACA_MIN_AND_DACAZ 0x3a4c
55842 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_DACA_MIN 0x3a4c
55843 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_ADAC_CONTROL 0x3a50
55844 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_AC_COUPLING_CONTROL 0x3a54
55845 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_AC_COUPLING_VALUE 0x3a58
55846 #define A_MAC_PORT_RX_LINK_BCST_DFE_H1_LOCAL_OFFSET_ODD2_EVN2 0x3a5c
55847 #define A_MAC_PORT_RX_LINK_BCST_DFE_H1H2H3_LOCAL_OFFSET 0x3a5c
55848 #define A_MAC_PORT_RX_LINK_BCST_DFE_H1_LOCAL_OFFSET_ODD3_EVN3 0x3a60
55849 #define A_MAC_PORT_RX_LINK_BCST_DFE_H1H2H3_LOCAL_OFFSET_VALUE 0x3a60
55850 #define A_MAC_PORT_RX_LINK_BCST_DFE_H1_LOCAL_OFFSET_ODD4_EVN4 0x3a64
55851 #define A_MAC_PORT_RX_LINK_BCST_PEAKED_INTEGRATOR 0x3a64
55852 #define A_MAC_PORT_RX_LINK_BCST_CDR_ANALOG_SWITCH 0x3a68
55853 #define A_MAC_PORT_RX_LINK_BCST_PEAKING_AMPLIFIER_INTIALIZATION_CONTROL 0x3a6c
55854 #define A_MAC_PORT_RX_LINK_BCST_DYNAMIC_AMPLITUDE_CENTERING_DAC_AND_DYNAMIC_PEAKING_CONTROL_DPC 0x3a70
55855 #define A_MAC_PORT_RX_LINK_BCST_DYNAMIC_DATA_CENTERING_DDC 0x3a74
55857 #define S_T6_ODEC 0
55858 #define M_T6_ODEC 0xfU
55859 #define V_T6_ODEC(x) ((x) << S_T6_ODEC)
55860 #define G_T6_ODEC(x) (((x) >> S_T6_ODEC) & M_T6_ODEC)
55862 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_INTERNAL_STATUS 0x3a78
55864 #define S_RX_LINK_BCST_ACCCMP_RIS 11
55865 #define V_RX_LINK_BCST_ACCCMP_RIS(x) ((x) << S_RX_LINK_BCST_ACCCMP_RIS)
55866 #define F_RX_LINK_BCST_ACCCMP_RIS V_RX_LINK_BCST_ACCCMP_RIS(1U)
55868 #define A_MAC_PORT_RX_LINK_BCST_DFE_FUNCTION_CONTROL_1 0x3a7c
55869 #define A_MAC_PORT_RX_LINK_BCST_DFE_FUNCTION_CONTROL_2 0x3a80
55870 #define A_MAC_PORT_RX_LINK_BCST_DFE_OFFSET_EVN1_EVN2 0x3a84
55871 #define A_MAC_PORT_RX_LINK_BCST_DFE_OFFSET_CHANNEL 0x3a84
55872 #define A_MAC_PORT_RX_LINK_BCST_DFE_OFFSET_ODD1_ODD2 0x3a88
55873 #define A_MAC_PORT_RX_LINK_BCST_DFE_OFFSET_VALUE 0x3a88
55874 #define A_MAC_PORT_RX_LINK_BCST_DFE_OFFSET_EVN3_EVN4 0x3a8c
55875 #define A_MAC_PORT_RX_LINK_BCST_H_COEFFICIENBT_BIST 0x3a8c
55876 #define A_MAC_PORT_RX_LINK_BCST_DFE_OFFSET_ODD3_ODD4 0x3a90
55877 #define A_MAC_PORT_RX_LINK_BCST_AC_CAPACITOR_BIST 0x3a90
55879 #define S_RX_LINK_BCST_ACCCMP_BIST 13
55880 #define V_RX_LINK_BCST_ACCCMP_BIST(x) ((x) << S_RX_LINK_BCST_ACCCMP_BIST)
55881 #define F_RX_LINK_BCST_ACCCMP_BIST V_RX_LINK_BCST_ACCCMP_BIST(1U)
55883 #define A_MAC_PORT_RX_LINK_BCST_DFE_E0_AND_E1_OFFSET 0x3a94
55884 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_LOFF_CONTROL 0x3a98
55885 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_LOFF_CONTROL_REGISTER 0x3a98
55886 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_SIGDET_CONTROL 0x3a9c
55887 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_ANALOG_CONTROL_SWITCH 0x3aa0
55888 #define A_MAC_PORT_RX_LINK_BCST_INTEGRATOR_DAC_OFFSET 0x3aa4
55889 #define A_MAC_PORT_RX_LINK_BCST_DIGITAL_EYE_CONTROL 0x3aa8
55890 #define A_MAC_PORT_RX_LINK_BCST_DIGITAL_EYE_METRICS 0x3aac
55892 #define S_T6_EMMD 3
55893 #define M_T6_EMMD 0x3U
55894 #define V_T6_EMMD(x) ((x) << S_T6_EMMD)
55895 #define G_T6_EMMD(x) (((x) >> S_T6_EMMD) & M_T6_EMMD)
55897 #define S_T6_EMBRDY 2
55898 #define V_T6_EMBRDY(x) ((x) << S_T6_EMBRDY)
55899 #define F_T6_EMBRDY V_T6_EMBRDY(1U)
55901 #define S_T6_EMBUMP 1
55902 #define V_T6_EMBUMP(x) ((x) << S_T6_EMBUMP)
55903 #define F_T6_EMBUMP V_T6_EMBUMP(1U)
55905 #define A_MAC_PORT_RX_LINK_BCST_DIGITAL_EYE_METRICS_ERROR_COUNT 0x3ab0
55906 #define A_MAC_PORT_RX_LINK_BCST_DIGITAL_EYE_METRICS_PDF_EYE_COUNT 0x3ab4
55907 #define A_MAC_PORT_RX_LINK_BCST_DIGITAL_EYE_METRICS_PATTERN_LENGTH 0x3ab8
55908 #define A_MAC_PORT_RX_LINK_BCST_DFE_FUNCTION_CONTROL_3 0x3abc
55909 #define A_MAC_PORT_RX_LINK_BCST_DFE_TAP_ENABLE 0x3ac0
55910 #define A_MAC_PORT_RX_LINK_BCST_DFE_TAP_CONTROL 0x3ac0
55912 #define S_RX_LINK_BCST_INDEX_DFE_TC 0
55913 #define M_RX_LINK_BCST_INDEX_DFE_TC 0xfU
55914 #define V_RX_LINK_BCST_INDEX_DFE_TC(x) ((x) << S_RX_LINK_BCST_INDEX_DFE_TC)
55915 #define G_RX_LINK_BCST_INDEX_DFE_TC(x) (((x) >> S_RX_LINK_BCST_INDEX_DFE_TC) & M_RX_LINK_BCST_INDEX_DFE_TC)
55917 #define A_MAC_PORT_RX_LINK_BCST_DFE_H1 0x3ac4
55918 #define A_MAC_PORT_RX_LINK_BCST_DFE_TAP 0x3ac4
55920 #define S_RX_LINK_BCST_INDEX_DFE_TAP 0
55921 #define M_RX_LINK_BCST_INDEX_DFE_TAP 0xfU
55922 #define V_RX_LINK_BCST_INDEX_DFE_TAP(x) ((x) << S_RX_LINK_BCST_INDEX_DFE_TAP)
55923 #define G_RX_LINK_BCST_INDEX_DFE_TAP(x) (((x) >> S_RX_LINK_BCST_INDEX_DFE_TAP) & M_RX_LINK_BCST_INDEX_DFE_TAP)
55925 #define A_MAC_PORT_RX_LINK_BCST_DFE_H2 0x3ac8
55926 #define A_MAC_PORT_RX_LINK_BCST_DFE_H3 0x3acc
55927 #define A_MAC_PORT_RX_LINK_BCST_DFE_H4 0x3ad0
55928 #define A_MAC_PORT_RX_LINK_BCST_DFE_H5 0x3ad4
55929 #define A_MAC_PORT_RX_LINK_BCST_DFE_H6_AND_H7 0x3ad8
55930 #define A_MAC_PORT_RX_LINK_BCST_DFE_H8_AND_H9 0x3adc
55931 #define A_MAC_PORT_RX_LINK_BCST_DFE_H10_AND_H11 0x3ae0
55932 #define A_MAC_PORT_RX_LINK_BCST_DFE_H12 0x3ae4
55933 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_INTERNAL_STATUS_2 0x3ae4
55934 #define A_MAC_PORT_RX_LINK_BCST_AC_COUPLING_CURRENT_SOURCE_ADJUST 0x3ae8
55935 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_DCD_CONTROL 0x3aec
55936 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_DCC_CONTROL 0x3af0
55938 #define S_RX_LINK_BCST_DCCSTEP_RXCTL 10
55939 #define M_RX_LINK_BCST_DCCSTEP_RXCTL 0x3U
55940 #define V_RX_LINK_BCST_DCCSTEP_RXCTL(x) ((x) << S_RX_LINK_BCST_DCCSTEP_RXCTL)
55941 #define G_RX_LINK_BCST_DCCSTEP_RXCTL(x) (((x) >> S_RX_LINK_BCST_DCCSTEP_RXCTL) & M_RX_LINK_BCST_DCCSTEP_RXCTL)
55943 #define S_RX_LINK_BCST_DCCLOCK_RXCTL 8
55944 #define V_RX_LINK_BCST_DCCLOCK_RXCTL(x) ((x) << S_RX_LINK_BCST_DCCLOCK_RXCTL)
55945 #define F_RX_LINK_BCST_DCCLOCK_RXCTL V_RX_LINK_BCST_DCCLOCK_RXCTL(1U)
55947 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_QCC_CONTROL 0x3af4
55948 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_MACRO_TEST_CONTROL_2 0x3af8
55949 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_MACRO_TEST_CONTROL_REGISTER_2 0x3af8
55950 #define A_MAC_PORT_RX_LINK_BCST_RECEIVER_MACRO_TEST_CONTROL_1 0x3afc
55951 #define A_MAC_PORT_PLLA_VCO_COARSE_CALIBRATION_0 0x3b00
55952 #define A_MAC_PORT_PLLA_VCO_COARSE_CALIBRATION_1 0x3b04
55953 #define A_MAC_PORT_PLLA_VCO_COARSE_CALIBRATION_2 0x3b08
55954 #define A_MAC_PORT_PLLA_VCO_COARSE_CALIBRATION_3 0x3b0c
55955 #define A_MAC_PORT_PLLA_VCO_COARSE_CALIBRATION_4 0x3b10
55956 #define A_MAC_PORT_PLLA_POWER_CONTROL 0x3b24
55958 #define S_SPWRENA 1
55959 #define V_SPWRENA(x) ((x) << S_SPWRENA)
55960 #define F_SPWRENA V_SPWRENA(1U)
55962 #define S_NPWRENA 0
55963 #define V_NPWRENA(x) ((x) << S_NPWRENA)
55964 #define F_NPWRENA V_NPWRENA(1U)
55966 #define A_MAC_PORT_PLLA_CHARGE_PUMP_CONTROL 0x3b28
55968 #define S_T5CPISEL 0
55969 #define M_T5CPISEL 0x7U
55970 #define V_T5CPISEL(x) ((x) << S_T5CPISEL)
55971 #define G_T5CPISEL(x) (((x) >> S_T5CPISEL) & M_T5CPISEL)
55973 #define A_MAC_PORT_PLLA_PLL_MICELLANEOUS_CONTROL 0x3b38
55974 #define A_MAC_PORT_PLLA_PCLK_CONTROL 0x3b3c
55977 #define M_SPEDIV 0x1fU
55978 #define V_SPEDIV(x) ((x) << S_SPEDIV)
55979 #define G_SPEDIV(x) (((x) >> S_SPEDIV) & M_SPEDIV)
55982 #define M_PCKSEL 0x7U
55983 #define V_PCKSEL(x) ((x) << S_PCKSEL)
55984 #define G_PCKSEL(x) (((x) >> S_PCKSEL) & M_PCKSEL)
55986 #define A_MAC_PORT_PLLA_EYE_METRICS_INTERVAL_CONTROL 0x3b40
55989 #define V_EMIL(x) ((x) << S_EMIL)
55990 #define F_EMIL V_EMIL(1U)
55993 #define V_EMID(x) ((x) << S_EMID)
55994 #define F_EMID V_EMID(1U)
55997 #define V_EMIS(x) ((x) << S_EMIS)
55998 #define F_EMIS V_EMIS(1U)
56000 #define A_MAC_PORT_PLLA_EYE_METRICS_INTERVAL_LIMIT_1 0x3b44
56003 #define M_EMIL1 0xffU
56004 #define V_EMIL1(x) ((x) << S_EMIL1)
56005 #define G_EMIL1(x) (((x) >> S_EMIL1) & M_EMIL1)
56007 #define A_MAC_PORT_PLLA_EYE_METRICS_INTERVAL_LIMIT_2 0x3b48
56010 #define M_EMIL2 0xffU
56011 #define V_EMIL2(x) ((x) << S_EMIL2)
56012 #define G_EMIL2(x) (((x) >> S_EMIL2) & M_EMIL2)
56014 #define A_MAC_PORT_PLLA_EYE_METRICS_INTERVAL_LIMIT_3 0x3b4c
56017 #define M_EMIL3 0xffU
56018 #define V_EMIL3(x) ((x) << S_EMIL3)
56019 #define G_EMIL3(x) (((x) >> S_EMIL3) & M_EMIL3)
56021 #define A_MAC_PORT_PLLA_EYE_METRICS_INTERVAL_LIMIT_4 0x3b50
56024 #define M_EMIL4 0xffU
56025 #define V_EMIL4(x) ((x) << S_EMIL4)
56026 #define G_EMIL4(x) (((x) >> S_EMIL4) & M_EMIL4)
56028 #define A_MAC_PORT_PLLA_MACRO_TEST_CONTROL_4 0x3bf0
56031 #define M_VBST 0x7U
56032 #define V_VBST(x) ((x) << S_VBST)
56033 #define G_VBST(x) (((x) >> S_VBST) & M_VBST)
56035 #define S_PLLDIVA 4
56036 #define V_PLLDIVA(x) ((x) << S_PLLDIVA)
56037 #define F_PLLDIVA V_PLLDIVA(1U)
56040 #define M_REFDIV 0xfU
56041 #define V_REFDIV(x) ((x) << S_REFDIV)
56042 #define G_REFDIV(x) (((x) >> S_REFDIV) & M_REFDIV)
56044 #define A_MAC_PORT_PLLA_MACRO_TEST_CONTROL_3 0x3bf4
56047 #define V_RESYNC(x) ((x) << S_RESYNC)
56048 #define F_RESYNC V_RESYNC(1U)
56050 #define S_RXCLKSEL 5
56051 #define V_RXCLKSEL(x) ((x) << S_RXCLKSEL)
56052 #define F_RXCLKSEL V_RXCLKSEL(1U)
56054 #define S_FRCBAND 4
56055 #define V_FRCBAND(x) ((x) << S_FRCBAND)
56056 #define F_FRCBAND V_FRCBAND(1U)
56059 #define V_PLLBYP(x) ((x) << S_PLLBYP)
56060 #define F_PLLBYP V_PLLBYP(1U)
56063 #define V_PDWNP(x) ((x) << S_PDWNP)
56064 #define F_PDWNP V_PDWNP(1U)
56067 #define V_VCOSEL(x) ((x) << S_VCOSEL)
56068 #define F_VCOSEL V_VCOSEL(1U)
56070 #define S_DIVSEL8 0
56071 #define V_DIVSEL8(x) ((x) << S_DIVSEL8)
56072 #define F_DIVSEL8 V_DIVSEL8(1U)
56074 #define A_MAC_PORT_PLLA_MACRO_TEST_CONTROL_2 0x3bf8
56077 #define M_DIVSEL 0xffU
56078 #define V_DIVSEL(x) ((x) << S_DIVSEL)
56079 #define G_DIVSEL(x) (((x) >> S_DIVSEL) & M_DIVSEL)
56081 #define A_MAC_PORT_PLLA_MACRO_TEST_CONTROL_1 0x3bfc
56084 #define M_CONFIG 0xffU
56085 #define V_CONFIG(x) ((x) << S_CONFIG)
56086 #define G_CONFIG(x) (((x) >> S_CONFIG) & M_CONFIG)
56088 #define A_MAC_PORT_PLLB_VCO_COARSE_CALIBRATION_0 0x3c00
56089 #define A_MAC_PORT_PLLB_VCO_COARSE_CALIBRATION_1 0x3c04
56090 #define A_MAC_PORT_PLLB_VCO_COARSE_CALIBRATION_2 0x3c08
56091 #define A_MAC_PORT_PLLB_VCO_COARSE_CALIBRATION_3 0x3c0c
56092 #define A_MAC_PORT_PLLB_VCO_COARSE_CALIBRATION_4 0x3c10
56093 #define A_MAC_PORT_PLLB_POWER_CONTROL 0x3c24
56094 #define A_MAC_PORT_PLLB_CHARGE_PUMP_CONTROL 0x3c28
56095 #define A_MAC_PORT_PLLB_PLL_MICELLANEOUS_CONTROL 0x3c38
56096 #define A_MAC_PORT_PLLB_PCLK_CONTROL 0x3c3c
56097 #define A_MAC_PORT_PLLB_EYE_METRICS_INTERVAL_CONTROL 0x3c40
56098 #define A_MAC_PORT_PLLB_EYE_METRICS_INTERVAL_LIMIT_1 0x3c44
56099 #define A_MAC_PORT_PLLB_EYE_METRICS_INTERVAL_LIMIT_2 0x3c48
56100 #define A_MAC_PORT_PLLB_EYE_METRICS_INTERVAL_LIMIT_3 0x3c4c
56101 #define A_MAC_PORT_PLLB_EYE_METRICS_INTERVAL_LIMIT_4 0x3c50
56102 #define A_MAC_PORT_PLLB_MACRO_TEST_CONTROL_4 0x3cf0
56103 #define A_MAC_PORT_PLLB_MACRO_TEST_CONTROL_3 0x3cf4
56104 #define A_MAC_PORT_PLLB_MACRO_TEST_CONTROL_2 0x3cf8
56105 #define A_MAC_PORT_PLLB_MACRO_TEST_CONTROL_1 0x3cfc
56106 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_STEP_SIZE_EXTENDED 0x0
56109 #define M_STEP 0x7U
56110 #define V_STEP(x) ((x) << S_STEP)
56111 #define G_STEP(x) (((x) >> S_STEP) & M_STEP)
56113 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_STEP_SIZE_EXTENDED 0x0
56114 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_C0_INIT_EXTENDED 0x8
56117 #define M_C0INIT 0x1fU
56118 #define V_C0INIT(x) ((x) << S_C0INIT)
56119 #define G_C0INIT(x) (((x) >> S_C0INIT) & M_C0INIT)
56121 #define S_C0PRESET 8
56122 #define M_C0PRESET 0x7fU
56123 #define V_C0PRESET(x) ((x) << S_C0PRESET)
56124 #define G_C0PRESET(x) (((x) >> S_C0PRESET) & M_C0PRESET)
56126 #define S_C0INIT1 0
56127 #define M_C0INIT1 0x7fU
56128 #define V_C0INIT1(x) ((x) << S_C0INIT1)
56129 #define G_C0INIT1(x) (((x) >> S_C0INIT1) & M_C0INIT1)
56131 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_C0_LIMIT_EXTENDED 0x10
56134 #define M_C0MAX 0x1fU
56135 #define V_C0MAX(x) ((x) << S_C0MAX)
56136 #define G_C0MAX(x) (((x) >> S_C0MAX) & M_C0MAX)
56139 #define M_C0MIN 0x1fU
56140 #define V_C0MIN(x) ((x) << S_C0MIN)
56141 #define G_C0MIN(x) (((x) >> S_C0MIN) & M_C0MIN)
56143 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C0_LIMIT_EXTENDED 0x10
56145 #define S_T6_C0MAX 8
56146 #define M_T6_C0MAX 0x7fU
56147 #define V_T6_C0MAX(x) ((x) << S_T6_C0MAX)
56148 #define G_T6_C0MAX(x) (((x) >> S_T6_C0MAX) & M_T6_C0MAX)
56150 #define S_T6_C0MIN 0
56151 #define M_T6_C0MIN 0x7fU
56152 #define V_T6_C0MIN(x) ((x) << S_T6_C0MIN)
56153 #define G_T6_C0MIN(x) (((x) >> S_T6_C0MIN) & M_T6_C0MIN)
56155 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_C1_INIT_EXTENDED 0x18
56158 #define M_C1INIT 0x7fU
56159 #define V_C1INIT(x) ((x) << S_C1INIT)
56160 #define G_C1INIT(x) (((x) >> S_C1INIT) & M_C1INIT)
56162 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C1_INIT_EXTENDED 0x18
56164 #define S_C1PRESET 8
56165 #define M_C1PRESET 0x7fU
56166 #define V_C1PRESET(x) ((x) << S_C1PRESET)
56167 #define G_C1PRESET(x) (((x) >> S_C1PRESET) & M_C1PRESET)
56169 #define S_C1INIT1 0
56170 #define M_C1INIT1 0x7fU
56171 #define V_C1INIT1(x) ((x) << S_C1INIT1)
56172 #define G_C1INIT1(x) (((x) >> S_C1INIT1) & M_C1INIT1)
56174 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_C1_LIMIT_EXTENDED 0x20
56177 #define M_C1MAX 0x7fU
56178 #define V_C1MAX(x) ((x) << S_C1MAX)
56179 #define G_C1MAX(x) (((x) >> S_C1MAX) & M_C1MAX)
56182 #define M_C1MIN 0x7fU
56183 #define V_C1MIN(x) ((x) << S_C1MIN)
56184 #define G_C1MIN(x) (((x) >> S_C1MIN) & M_C1MIN)
56186 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C1_LIMIT_EXTENDED 0x20
56187 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_C2_INIT_EXTENDED 0x28
56190 #define M_C2INIT 0x3fU
56191 #define V_C2INIT(x) ((x) << S_C2INIT)
56192 #define G_C2INIT(x) (((x) >> S_C2INIT) & M_C2INIT)
56194 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C2_INIT_EXTENDED 0x28
56196 #define S_C2PRESET 8
56197 #define M_C2PRESET 0x7fU
56198 #define V_C2PRESET(x) ((x) << S_C2PRESET)
56199 #define G_C2PRESET(x) (((x) >> S_C2PRESET) & M_C2PRESET)
56201 #define S_C2INIT1 0
56202 #define M_C2INIT1 0x7fU
56203 #define V_C2INIT1(x) ((x) << S_C2INIT1)
56204 #define G_C2INIT1(x) (((x) >> S_C2INIT1) & M_C2INIT1)
56206 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_C2_LIMIT_EXTENDED 0x30
56209 #define M_C2MAX 0x3fU
56210 #define V_C2MAX(x) ((x) << S_C2MAX)
56211 #define G_C2MAX(x) (((x) >> S_C2MAX) & M_C2MAX)
56214 #define M_C2MIN 0x3fU
56215 #define V_C2MIN(x) ((x) << S_C2MIN)
56216 #define G_C2MIN(x) (((x) >> S_C2MIN) & M_C2MIN)
56218 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C2_LIMIT_EXTENDED 0x30
56220 #define S_T6_C2MAX 8
56221 #define M_T6_C2MAX 0x7fU
56222 #define V_T6_C2MAX(x) ((x) << S_T6_C2MAX)
56223 #define G_T6_C2MAX(x) (((x) >> S_T6_C2MAX) & M_T6_C2MAX)
56225 #define S_T6_C2MIN 0
56226 #define M_T6_C2MIN 0x7fU
56227 #define V_T6_C2MIN(x) ((x) << S_T6_C2MIN)
56228 #define G_T6_C2MIN(x) (((x) >> S_T6_C2MIN) & M_T6_C2MIN)
56230 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_VM_LIMIT_EXTENDED 0x38
56233 #define M_VMMAX 0x7fU
56234 #define V_VMMAX(x) ((x) << S_VMMAX)
56235 #define G_VMMAX(x) (((x) >> S_VMMAX) & M_VMMAX)
56237 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_VM_LIMIT_EXTENDED 0x38
56238 #define A_MAC_PORT_TX_LINKA_TRANSMIT_802_3AP_V2_LIMIT_EXTENDED 0x40
56241 #define M_V2MIN 0x7fU
56242 #define V_V2MIN(x) ((x) << S_V2MIN)
56243 #define G_V2MIN(x) (((x) >> S_V2MIN) & M_V2MIN)
56245 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_V2_LIMIT_EXTENDED 0x40
56246 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C3_INIT_EXTENDED 0x48
56248 #define S_C3PRESET 8
56249 #define M_C3PRESET 0x7fU
56250 #define V_C3PRESET(x) ((x) << S_C3PRESET)
56251 #define G_C3PRESET(x) (((x) >> S_C3PRESET) & M_C3PRESET)
56253 #define S_C3INIT1 0
56254 #define M_C3INIT1 0x7fU
56255 #define V_C3INIT1(x) ((x) << S_C3INIT1)
56256 #define G_C3INIT1(x) (((x) >> S_C3INIT1) & M_C3INIT1)
56258 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C3_LIMIT_EXTENDED 0x50
56261 #define M_C3MAX 0x7fU
56262 #define V_C3MAX(x) ((x) << S_C3MAX)
56263 #define G_C3MAX(x) (((x) >> S_C3MAX) & M_C3MAX)
56266 #define M_C3MIN 0x7fU
56267 #define V_C3MIN(x) ((x) << S_C3MIN)
56268 #define G_C3MIN(x) (((x) >> S_C3MIN) & M_C3MIN)
56270 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C0_INIT2_EXTENDED 0x5c
56272 #define S_C0INIT2 0
56273 #define M_C0INIT2 0x7fU
56274 #define V_C0INIT2(x) ((x) << S_C0INIT2)
56275 #define G_C0INIT2(x) (((x) >> S_C0INIT2) & M_C0INIT2)
56277 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C1_INIT2_EXTENDED 0x60
56279 #define S_C1INIT2 0
56280 #define M_C1INIT2 0x7fU
56281 #define V_C1INIT2(x) ((x) << S_C1INIT2)
56282 #define G_C1INIT2(x) (((x) >> S_C1INIT2) & M_C1INIT2)
56284 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C2_INIT2_EXTENDED 0x68
56286 #define S_C2INIT2 0
56287 #define M_C2INIT2 0x7fU
56288 #define V_C2INIT2(x) ((x) << S_C2INIT2)
56289 #define G_C2INIT2(x) (((x) >> S_C2INIT2) & M_C2INIT2)
56291 #define A_MAC_PORT_TX_LINKA_TRANSMIT_AE_C3_INIT2_EXTENDED 0x70
56293 #define S_C3INIT2 0
56294 #define M_C3INIT2 0x7fU
56295 #define V_C3INIT2(x) ((x) << S_C3INIT2)
56296 #define G_C3INIT2(x) (((x) >> S_C3INIT2) & M_C3INIT2)
56298 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_STEP_SIZE_EXTENDED 0x0
56299 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_STEP_SIZE_EXTENDED 0x0
56300 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_C0_INIT_EXTENDED 0x8
56301 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_C0_LIMIT_EXTENDED 0x10
56302 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C0_LIMIT_EXTENDED 0x10
56304 #define S_T6_C0MAX 8
56305 #define M_T6_C0MAX 0x7fU
56306 #define V_T6_C0MAX(x) ((x) << S_T6_C0MAX)
56307 #define G_T6_C0MAX(x) (((x) >> S_T6_C0MAX) & M_T6_C0MAX)
56309 #define S_T6_C0MIN 0
56310 #define M_T6_C0MIN 0x7fU
56311 #define V_T6_C0MIN(x) ((x) << S_T6_C0MIN)
56312 #define G_T6_C0MIN(x) (((x) >> S_T6_C0MIN) & M_T6_C0MIN)
56314 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_C1_INIT_EXTENDED 0x18
56315 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C1_INIT_EXTENDED 0x18
56316 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_C1_LIMIT_EXTENDED 0x20
56317 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C1_LIMIT_EXTENDED 0x20
56318 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_C2_INIT_EXTENDED 0x28
56319 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C2_INIT_EXTENDED 0x28
56320 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_C2_LIMIT_EXTENDED 0x30
56321 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C2_LIMIT_EXTENDED 0x30
56323 #define S_T6_C2MAX 8
56324 #define M_T6_C2MAX 0x7fU
56325 #define V_T6_C2MAX(x) ((x) << S_T6_C2MAX)
56326 #define G_T6_C2MAX(x) (((x) >> S_T6_C2MAX) & M_T6_C2MAX)
56328 #define S_T6_C2MIN 0
56329 #define M_T6_C2MIN 0x7fU
56330 #define V_T6_C2MIN(x) ((x) << S_T6_C2MIN)
56331 #define G_T6_C2MIN(x) (((x) >> S_T6_C2MIN) & M_T6_C2MIN)
56333 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_VM_LIMIT_EXTENDED 0x38
56334 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_VM_LIMIT_EXTENDED 0x38
56335 #define A_MAC_PORT_TX_LINKB_TRANSMIT_802_3AP_V2_LIMIT_EXTENDED 0x40
56336 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_V2_LIMIT_EXTENDED 0x40
56337 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C3_INIT_EXTENDED 0x48
56338 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C3_LIMIT_EXTENDED 0x50
56339 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C0_INIT2_EXTENDED 0x5c
56340 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C1_INIT2_EXTENDED 0x60
56341 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C2_INIT2_EXTENDED 0x68
56342 #define A_MAC_PORT_TX_LINKB_TRANSMIT_AE_C3_INIT2_EXTENDED 0x70
56343 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_STEP_SIZE_EXTENDED 0x0
56344 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_STEP_SIZE_EXTENDED 0x0
56345 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_C0_INIT_EXTENDED 0x8
56346 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_C0_LIMIT_EXTENDED 0x10
56347 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C0_LIMIT_EXTENDED 0x10
56349 #define S_T6_C0MAX 8
56350 #define M_T6_C0MAX 0x7fU
56351 #define V_T6_C0MAX(x) ((x) << S_T6_C0MAX)
56352 #define G_T6_C0MAX(x) (((x) >> S_T6_C0MAX) & M_T6_C0MAX)
56354 #define S_T6_C0MIN 0
56355 #define M_T6_C0MIN 0x7fU
56356 #define V_T6_C0MIN(x) ((x) << S_T6_C0MIN)
56357 #define G_T6_C0MIN(x) (((x) >> S_T6_C0MIN) & M_T6_C0MIN)
56359 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_C1_INIT_EXTENDED 0x18
56360 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C1_INIT_EXTENDED 0x18
56361 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_C1_LIMIT_EXTENDED 0x20
56362 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C1_LIMIT_EXTENDED 0x20
56363 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_C2_INIT_EXTENDED 0x28
56364 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C2_INIT_EXTENDED 0x28
56365 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_C2_LIMIT_EXTENDED 0x30
56366 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C2_LIMIT_EXTENDED 0x30
56368 #define S_T6_C2MAX 8
56369 #define M_T6_C2MAX 0x7fU
56370 #define V_T6_C2MAX(x) ((x) << S_T6_C2MAX)
56371 #define G_T6_C2MAX(x) (((x) >> S_T6_C2MAX) & M_T6_C2MAX)
56373 #define S_T6_C2MIN 0
56374 #define M_T6_C2MIN 0x7fU
56375 #define V_T6_C2MIN(x) ((x) << S_T6_C2MIN)
56376 #define G_T6_C2MIN(x) (((x) >> S_T6_C2MIN) & M_T6_C2MIN)
56378 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_VM_LIMIT_EXTENDED 0x38
56379 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_VM_LIMIT_EXTENDED 0x38
56380 #define A_MAC_PORT_TX_LINKC_TRANSMIT_802_3AP_V2_LIMIT_EXTENDED 0x40
56381 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_V2_LIMIT_EXTENDED 0x40
56382 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C3_INIT_EXTENDED 0x48
56383 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C3_LIMIT_EXTENDED 0x50
56384 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C0_INIT2_EXTENDED 0x5c
56385 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C1_INIT2_EXTENDED 0x60
56386 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C2_INIT2_EXTENDED 0x68
56387 #define A_MAC_PORT_TX_LINKC_TRANSMIT_AE_C3_INIT2_EXTENDED 0x70
56388 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_STEP_SIZE_EXTENDED 0x0
56389 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_STEP_SIZE_EXTENDED 0x0
56390 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_C0_INIT_EXTENDED 0x8
56391 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_C0_LIMIT_EXTENDED 0x10
56392 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C0_LIMIT_EXTENDED 0x10
56394 #define S_T6_C0MAX 8
56395 #define M_T6_C0MAX 0x7fU
56396 #define V_T6_C0MAX(x) ((x) << S_T6_C0MAX)
56397 #define G_T6_C0MAX(x) (((x) >> S_T6_C0MAX) & M_T6_C0MAX)
56399 #define S_T6_C0MIN 0
56400 #define M_T6_C0MIN 0x7fU
56401 #define V_T6_C0MIN(x) ((x) << S_T6_C0MIN)
56402 #define G_T6_C0MIN(x) (((x) >> S_T6_C0MIN) & M_T6_C0MIN)
56404 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_C1_INIT_EXTENDED 0x18
56405 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C1_INIT_EXTENDED 0x18
56406 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_C1_LIMIT_EXTENDED 0x20
56407 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C1_LIMIT_EXTENDED 0x20
56408 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_C2_INIT_EXTENDED 0x28
56409 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C2_INIT_EXTENDED 0x28
56410 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_C2_LIMIT_EXTENDED 0x30
56411 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C2_LIMIT_EXTENDED 0x30
56413 #define S_T6_C2MAX 8
56414 #define M_T6_C2MAX 0x7fU
56415 #define V_T6_C2MAX(x) ((x) << S_T6_C2MAX)
56416 #define G_T6_C2MAX(x) (((x) >> S_T6_C2MAX) & M_T6_C2MAX)
56418 #define S_T6_C2MIN 0
56419 #define M_T6_C2MIN 0x7fU
56420 #define V_T6_C2MIN(x) ((x) << S_T6_C2MIN)
56421 #define G_T6_C2MIN(x) (((x) >> S_T6_C2MIN) & M_T6_C2MIN)
56423 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_VM_LIMIT_EXTENDED 0x38
56424 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_VM_LIMIT_EXTENDED 0x38
56425 #define A_MAC_PORT_TX_LINKD_TRANSMIT_802_3AP_V2_LIMIT_EXTENDED 0x40
56426 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_V2_LIMIT_EXTENDED 0x40
56427 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C3_INIT_EXTENDED 0x48
56428 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C3_LIMIT_EXTENDED 0x50
56429 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C0_INIT2_EXTENDED 0x5c
56430 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C1_INIT2_EXTENDED 0x60
56431 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C2_INIT2_EXTENDED 0x68
56432 #define A_MAC_PORT_TX_LINKD_TRANSMIT_AE_C3_INIT2_EXTENDED 0x70
56433 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_STEP_SIZE_EXTENDED 0x0
56434 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_STEP_SIZE_EXTENDED 0x0
56435 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_C0_INIT_EXTENDED 0x8
56436 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_C0_LIMIT_EXTENDED 0x10
56437 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C0_LIMIT_EXTENDED 0x10
56439 #define S_T6_C0MAX 8
56440 #define M_T6_C0MAX 0x7fU
56441 #define V_T6_C0MAX(x) ((x) << S_T6_C0MAX)
56442 #define G_T6_C0MAX(x) (((x) >> S_T6_C0MAX) & M_T6_C0MAX)
56444 #define S_T6_C0MIN 0
56445 #define M_T6_C0MIN 0x7fU
56446 #define V_T6_C0MIN(x) ((x) << S_T6_C0MIN)
56447 #define G_T6_C0MIN(x) (((x) >> S_T6_C0MIN) & M_T6_C0MIN)
56449 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_C1_INIT_EXTENDED 0x18
56450 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C1_INIT_EXTENDED 0x18
56451 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_C1_LIMIT_EXTENDED 0x20
56452 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C1_LIMIT_EXTENDED 0x20
56453 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_C2_INIT_EXTENDED 0x28
56454 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C2_INIT_EXTENDED 0x28
56455 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_C2_LIMIT_EXTENDED 0x30
56456 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C2_LIMIT_EXTENDED 0x30
56458 #define S_T6_C2MAX 8
56459 #define M_T6_C2MAX 0x7fU
56460 #define V_T6_C2MAX(x) ((x) << S_T6_C2MAX)
56461 #define G_T6_C2MAX(x) (((x) >> S_T6_C2MAX) & M_T6_C2MAX)
56463 #define S_T6_C2MIN 0
56464 #define M_T6_C2MIN 0x7fU
56465 #define V_T6_C2MIN(x) ((x) << S_T6_C2MIN)
56466 #define G_T6_C2MIN(x) (((x) >> S_T6_C2MIN) & M_T6_C2MIN)
56468 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_VM_LIMIT_EXTENDED 0x38
56469 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_VM_LIMIT_EXTENDED 0x38
56470 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_802_3AP_V2_LIMIT_EXTENDED 0x40
56471 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_V2_LIMIT_EXTENDED 0x40
56472 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C3_INIT_EXTENDED 0x48
56473 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C3_LIMIT_EXTENDED 0x50
56474 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C0_INIT2_EXTENDED 0x5c
56475 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C1_INIT2_EXTENDED 0x60
56476 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C2_INIT2_EXTENDED 0x68
56477 #define A_MAC_PORT_TX_LINK_BCST_TRANSMIT_AE_C3_INIT2_EXTENDED 0x70
56478 #define A_T6_MAC_PORT_RX_LINKA_DFE_TAP_ENABLE 0x2a00
56480 #define S_RX_LINKA_INDEX_DFE_EN 1
56481 #define M_RX_LINKA_INDEX_DFE_EN 0x7fffU
56482 #define V_RX_LINKA_INDEX_DFE_EN(x) ((x) << S_RX_LINKA_INDEX_DFE_EN)
56483 #define G_RX_LINKA_INDEX_DFE_EN(x) (((x) >> S_RX_LINKA_INDEX_DFE_EN) & M_RX_LINKA_INDEX_DFE_EN)
56485 #define A_T6_MAC_PORT_RX_LINKA_DFE_H1 0x2a04
56487 #define S_T6_H1OSN 13
56488 #define M_T6_H1OSN 0x7U
56489 #define V_T6_H1OSN(x) ((x) << S_T6_H1OSN)
56490 #define G_T6_H1OSN(x) (((x) >> S_T6_H1OSN) & M_T6_H1OSN)
56492 #define S_T6_H1OMAG 8
56493 #define M_T6_H1OMAG 0x1fU
56494 #define V_T6_H1OMAG(x) ((x) << S_T6_H1OMAG)
56495 #define G_T6_H1OMAG(x) (((x) >> S_T6_H1OMAG) & M_T6_H1OMAG)
56497 #define A_T6_MAC_PORT_RX_LINKA_DFE_H2 0x2a08
56498 #define A_T6_MAC_PORT_RX_LINKA_DFE_H3 0x2a0c
56499 #define A_T6_MAC_PORT_RX_LINKA_DFE_H4 0x2a10
56502 #define M_H4SN 0x3U
56503 #define V_H4SN(x) ((x) << S_H4SN)
56504 #define G_H4SN(x) (((x) >> S_H4SN) & M_H4SN)
56507 #define M_H4MAG 0xfU
56508 #define V_H4MAG(x) ((x) << S_H4MAG)
56509 #define G_H4MAG(x) (((x) >> S_H4MAG) & M_H4MAG)
56511 #define A_T6_MAC_PORT_RX_LINKA_DFE_H5 0x2a14
56514 #define M_H5GS 0x3U
56515 #define V_H5GS(x) ((x) << S_H5GS)
56516 #define G_H5GS(x) (((x) >> S_H5GS) & M_H5GS)
56519 #define M_H5SN 0x3U
56520 #define V_H5SN(x) ((x) << S_H5SN)
56521 #define G_H5SN(x) (((x) >> S_H5SN) & M_H5SN)
56524 #define M_H5MAG 0xfU
56525 #define V_H5MAG(x) ((x) << S_H5MAG)
56526 #define G_H5MAG(x) (((x) >> S_H5MAG) & M_H5MAG)
56528 #define A_T6_MAC_PORT_RX_LINKA_DFE_H6_AND_H7 0x2a18
56531 #define M_H7SN 0x3U
56532 #define V_H7SN(x) ((x) << S_H7SN)
56533 #define G_H7SN(x) (((x) >> S_H7SN) & M_H7SN)
56536 #define M_H6SN 0x3U
56537 #define V_H6SN(x) ((x) << S_H6SN)
56538 #define G_H6SN(x) (((x) >> S_H6SN) & M_H6SN)
56540 #define A_T6_MAC_PORT_RX_LINKA_DFE_H8_AND_H9 0x2a1c
56543 #define M_H9SN 0x3U
56544 #define V_H9SN(x) ((x) << S_H9SN)
56545 #define G_H9SN(x) (((x) >> S_H9SN) & M_H9SN)
56548 #define M_H8SN 0x3U
56549 #define V_H8SN(x) ((x) << S_H8SN)
56550 #define G_H8SN(x) (((x) >> S_H8SN) & M_H8SN)
56552 #define A_T6_MAC_PORT_RX_LINKA_DFE_H10_AND_H11 0x2a20
56555 #define M_H11SN 0x3U
56556 #define V_H11SN(x) ((x) << S_H11SN)
56557 #define G_H11SN(x) (((x) >> S_H11SN) & M_H11SN)
56560 #define M_H10SN 0x3U
56561 #define V_H10SN(x) ((x) << S_H10SN)
56562 #define G_H10SN(x) (((x) >> S_H10SN) & M_H10SN)
56564 #define A_MAC_PORT_RX_LINKA_DFE_H12_13 0x2a24
56567 #define M_H13GS 0x7U
56568 #define V_H13GS(x) ((x) << S_H13GS)
56569 #define G_H13GS(x) (((x) >> S_H13GS) & M_H13GS)
56572 #define M_H13SN 0x7U
56573 #define V_H13SN(x) ((x) << S_H13SN)
56574 #define G_H13SN(x) (((x) >> S_H13SN) & M_H13SN)
56577 #define M_H13MAG 0x3U
56578 #define V_H13MAG(x) ((x) << S_H13MAG)
56579 #define G_H13MAG(x) (((x) >> S_H13MAG) & M_H13MAG)
56582 #define M_H12SN 0x3U
56583 #define V_H12SN(x) ((x) << S_H12SN)
56584 #define G_H12SN(x) (((x) >> S_H12SN) & M_H12SN)
56586 #define A_MAC_PORT_RX_LINKA_DFE_H14_15 0x2a28
56589 #define M_H15GS 0x7U
56590 #define V_H15GS(x) ((x) << S_H15GS)
56591 #define G_H15GS(x) (((x) >> S_H15GS) & M_H15GS)
56594 #define M_H15SN 0x7U
56595 #define V_H15SN(x) ((x) << S_H15SN)
56596 #define G_H15SN(x) (((x) >> S_H15SN) & M_H15SN)
56599 #define M_H15MAG 0x3U
56600 #define V_H15MAG(x) ((x) << S_H15MAG)
56601 #define G_H15MAG(x) (((x) >> S_H15MAG) & M_H15MAG)
56604 #define M_H14GS 0x3U
56605 #define V_H14GS(x) ((x) << S_H14GS)
56606 #define G_H14GS(x) (((x) >> S_H14GS) & M_H14GS)
56609 #define M_H14SN 0x3U
56610 #define V_H14SN(x) ((x) << S_H14SN)
56611 #define G_H14SN(x) (((x) >> S_H14SN) & M_H14SN)
56614 #define M_H14MAG 0xfU
56615 #define V_H14MAG(x) ((x) << S_H14MAG)
56616 #define G_H14MAG(x) (((x) >> S_H14MAG) & M_H14MAG)
56618 #define A_MAC_PORT_RX_LINKA_DFE_H1ODD_DELTA_AND_H1EVEN_DELTA 0x2a2c
56620 #define S_H1ODELTA 8
56621 #define M_H1ODELTA 0x1fU
56622 #define V_H1ODELTA(x) ((x) << S_H1ODELTA)
56623 #define G_H1ODELTA(x) (((x) >> S_H1ODELTA) & M_H1ODELTA)
56625 #define S_H1EDELTA 0
56626 #define M_H1EDELTA 0x3fU
56627 #define V_H1EDELTA(x) ((x) << S_H1EDELTA)
56628 #define G_H1EDELTA(x) (((x) >> S_H1EDELTA) & M_H1EDELTA)
56630 #define A_T6_MAC_PORT_RX_LINKB_DFE_TAP_ENABLE 0x2b00
56632 #define S_RX_LINKB_INDEX_DFE_EN 1
56633 #define M_RX_LINKB_INDEX_DFE_EN 0x7fffU
56634 #define V_RX_LINKB_INDEX_DFE_EN(x) ((x) << S_RX_LINKB_INDEX_DFE_EN)
56635 #define G_RX_LINKB_INDEX_DFE_EN(x) (((x) >> S_RX_LINKB_INDEX_DFE_EN) & M_RX_LINKB_INDEX_DFE_EN)
56637 #define A_T6_MAC_PORT_RX_LINKB_DFE_H1 0x2b04
56639 #define S_T6_H1OSN 13
56640 #define M_T6_H1OSN 0x7U
56641 #define V_T6_H1OSN(x) ((x) << S_T6_H1OSN)
56642 #define G_T6_H1OSN(x) (((x) >> S_T6_H1OSN) & M_T6_H1OSN)
56644 #define S_T6_H1OMAG 8
56645 #define M_T6_H1OMAG 0x1fU
56646 #define V_T6_H1OMAG(x) ((x) << S_T6_H1OMAG)
56647 #define G_T6_H1OMAG(x) (((x) >> S_T6_H1OMAG) & M_T6_H1OMAG)
56649 #define A_T6_MAC_PORT_RX_LINKB_DFE_H2 0x2b08
56650 #define A_T6_MAC_PORT_RX_LINKB_DFE_H3 0x2b0c
56651 #define A_T6_MAC_PORT_RX_LINKB_DFE_H4 0x2b10
56652 #define A_T6_MAC_PORT_RX_LINKB_DFE_H5 0x2b14
56653 #define A_T6_MAC_PORT_RX_LINKB_DFE_H6_AND_H7 0x2b18
56654 #define A_T6_MAC_PORT_RX_LINKB_DFE_H8_AND_H9 0x2b1c
56655 #define A_T6_MAC_PORT_RX_LINKB_DFE_H10_AND_H11 0x2b20
56656 #define A_MAC_PORT_RX_LINKB_DFE_H12_13 0x2b24
56657 #define A_MAC_PORT_RX_LINKB_DFE_H14_15 0x2b28
56658 #define A_MAC_PORT_RX_LINKB_DFE_H1ODD_DELTA_AND_H1EVEN_DELTA 0x2b2c
56659 #define A_T6_MAC_PORT_RX_LINKC_DFE_TAP_ENABLE 0x2e00
56661 #define S_RX_LINKC_INDEX_DFE_EN 1
56662 #define M_RX_LINKC_INDEX_DFE_EN 0x7fffU
56663 #define V_RX_LINKC_INDEX_DFE_EN(x) ((x) << S_RX_LINKC_INDEX_DFE_EN)
56664 #define G_RX_LINKC_INDEX_DFE_EN(x) (((x) >> S_RX_LINKC_INDEX_DFE_EN) & M_RX_LINKC_INDEX_DFE_EN)
56666 #define A_T6_MAC_PORT_RX_LINKC_DFE_H1 0x2e04
56668 #define S_T6_H1OSN 13
56669 #define M_T6_H1OSN 0x7U
56670 #define V_T6_H1OSN(x) ((x) << S_T6_H1OSN)
56671 #define G_T6_H1OSN(x) (((x) >> S_T6_H1OSN) & M_T6_H1OSN)
56673 #define S_T6_H1OMAG 8
56674 #define M_T6_H1OMAG 0x1fU
56675 #define V_T6_H1OMAG(x) ((x) << S_T6_H1OMAG)
56676 #define G_T6_H1OMAG(x) (((x) >> S_T6_H1OMAG) & M_T6_H1OMAG)
56678 #define A_T6_MAC_PORT_RX_LINKC_DFE_H2 0x2e08
56679 #define A_T6_MAC_PORT_RX_LINKC_DFE_H3 0x2e0c
56680 #define A_T6_MAC_PORT_RX_LINKC_DFE_H4 0x2e10
56681 #define A_T6_MAC_PORT_RX_LINKC_DFE_H5 0x2e14
56682 #define A_T6_MAC_PORT_RX_LINKC_DFE_H6_AND_H7 0x2e18
56683 #define A_T6_MAC_PORT_RX_LINKC_DFE_H8_AND_H9 0x2e1c
56684 #define A_T6_MAC_PORT_RX_LINKC_DFE_H10_AND_H11 0x2e20
56685 #define A_MAC_PORT_RX_LINKC_DFE_H12_13 0x2e24
56686 #define A_MAC_PORT_RX_LINKC_DFE_H14_15 0x2e28
56687 #define A_MAC_PORT_RX_LINKC_DFE_H1ODD_DELTA_AND_H1EVEN_DELTA 0x2e2c
56688 #define A_T6_MAC_PORT_RX_LINKD_DFE_TAP_ENABLE 0x2f00
56690 #define S_RX_LINKD_INDEX_DFE_EN 1
56691 #define M_RX_LINKD_INDEX_DFE_EN 0x7fffU
56692 #define V_RX_LINKD_INDEX_DFE_EN(x) ((x) << S_RX_LINKD_INDEX_DFE_EN)
56693 #define G_RX_LINKD_INDEX_DFE_EN(x) (((x) >> S_RX_LINKD_INDEX_DFE_EN) & M_RX_LINKD_INDEX_DFE_EN)
56695 #define A_T6_MAC_PORT_RX_LINKD_DFE_H1 0x2f04
56697 #define S_T6_H1OSN 13
56698 #define M_T6_H1OSN 0x7U
56699 #define V_T6_H1OSN(x) ((x) << S_T6_H1OSN)
56700 #define G_T6_H1OSN(x) (((x) >> S_T6_H1OSN) & M_T6_H1OSN)
56702 #define S_T6_H1OMAG 8
56703 #define M_T6_H1OMAG 0x1fU
56704 #define V_T6_H1OMAG(x) ((x) << S_T6_H1OMAG)
56705 #define G_T6_H1OMAG(x) (((x) >> S_T6_H1OMAG) & M_T6_H1OMAG)
56707 #define A_T6_MAC_PORT_RX_LINKD_DFE_H2 0x2f08
56708 #define A_T6_MAC_PORT_RX_LINKD_DFE_H3 0x2f0c
56709 #define A_T6_MAC_PORT_RX_LINKD_DFE_H4 0x2f10
56710 #define A_T6_MAC_PORT_RX_LINKD_DFE_H5 0x2f14
56711 #define A_T6_MAC_PORT_RX_LINKD_DFE_H6_AND_H7 0x2f18
56712 #define A_T6_MAC_PORT_RX_LINKD_DFE_H8_AND_H9 0x2f1c
56713 #define A_T6_MAC_PORT_RX_LINKD_DFE_H10_AND_H11 0x2f20
56714 #define A_MAC_PORT_RX_LINKD_DFE_H12_13 0x2f24
56715 #define A_MAC_PORT_RX_LINKD_DFE_H14_15 0x2f28
56716 #define A_MAC_PORT_RX_LINKD_DFE_H1ODD_DELTA_AND_H1EVEN_DELTA 0x2f2c
56717 #define A_T6_MAC_PORT_RX_LINK_BCST_DFE_TAP_ENABLE 0x3200
56719 #define S_RX_LINK_BCST_INDEX_DFE_EN 1
56720 #define M_RX_LINK_BCST_INDEX_DFE_EN 0x7fffU
56721 #define V_RX_LINK_BCST_INDEX_DFE_EN(x) ((x) << S_RX_LINK_BCST_INDEX_DFE_EN)
56722 #define G_RX_LINK_BCST_INDEX_DFE_EN(x) (((x) >> S_RX_LINK_BCST_INDEX_DFE_EN) & M_RX_LINK_BCST_INDEX_DFE_EN)
56724 #define A_T6_MAC_PORT_RX_LINK_BCST_DFE_H1 0x3204
56726 #define S_T6_H1OSN 13
56727 #define M_T6_H1OSN 0x7U
56728 #define V_T6_H1OSN(x) ((x) << S_T6_H1OSN)
56729 #define G_T6_H1OSN(x) (((x) >> S_T6_H1OSN) & M_T6_H1OSN)
56731 #define S_T6_H1OMAG 8
56732 #define M_T6_H1OMAG 0x1fU
56733 #define V_T6_H1OMAG(x) ((x) << S_T6_H1OMAG)
56734 #define G_T6_H1OMAG(x) (((x) >> S_T6_H1OMAG) & M_T6_H1OMAG)
56736 #define A_T6_MAC_PORT_RX_LINK_BCST_DFE_H2 0x3208
56737 #define A_T6_MAC_PORT_RX_LINK_BCST_DFE_H3 0x320c
56738 #define A_T6_MAC_PORT_RX_LINK_BCST_DFE_H4 0x3210
56739 #define A_T6_MAC_PORT_RX_LINK_BCST_DFE_H5 0x3214
56740 #define A_T6_MAC_PORT_RX_LINK_BCST_DFE_H6_AND_H7 0x3218
56741 #define A_T6_MAC_PORT_RX_LINK_BCST_DFE_H8_AND_H9 0x321c
56742 #define A_T6_MAC_PORT_RX_LINK_BCST_DFE_H10_AND_H11 0x3220
56743 #define A_MAC_PORT_RX_LINK_BCST_DFE_H12_13 0x3224
56744 #define A_MAC_PORT_RX_LINK_BCST_DFE_H14_15 0x3228
56745 #define A_MAC_PORT_RX_LINK_BCST_DFE_H1ODD_DELTA_AND_H1EVEN_DELTA 0x322c
56747 /* registers for module MC_0 */
56748 #define MC_0_BASE_ADDR 0x40000
56750 #define A_MC_UPCTL_SCFG 0x40000
56752 #define S_BBFLAGS_TIMING 8
56753 #define M_BBFLAGS_TIMING 0xfU
56754 #define V_BBFLAGS_TIMING(x) ((x) << S_BBFLAGS_TIMING)
56755 #define G_BBFLAGS_TIMING(x) (((x) >> S_BBFLAGS_TIMING) & M_BBFLAGS_TIMING)
56757 #define S_NFIFO_NIF1_DIS 6
56758 #define V_NFIFO_NIF1_DIS(x) ((x) << S_NFIFO_NIF1_DIS)
56759 #define F_NFIFO_NIF1_DIS V_NFIFO_NIF1_DIS(1U)
56761 #define A_MC_UPCTL_SCTL 0x40004
56762 #define A_MC_UPCTL_STAT 0x40008
56764 #define S_LP_TRIG 4
56765 #define M_LP_TRIG 0x7U
56766 #define V_LP_TRIG(x) ((x) << S_LP_TRIG)
56767 #define G_LP_TRIG(x) (((x) >> S_LP_TRIG) & M_LP_TRIG)
56769 #define A_MC_UPCTL_INTRSTAT 0x4000c
56771 #define S_PARITY_INTR 1
56772 #define V_PARITY_INTR(x) ((x) << S_PARITY_INTR)
56773 #define F_PARITY_INTR V_PARITY_INTR(1U)
56775 #define S_ECC_INTR 0
56776 #define V_ECC_INTR(x) ((x) << S_ECC_INTR)
56777 #define F_ECC_INTR V_ECC_INTR(1U)
56779 #define A_MC_UPCTL_MCMD 0x40040
56781 #define S_CMD_OPCODE0 0
56782 #define M_CMD_OPCODE0 0xfU
56783 #define V_CMD_OPCODE0(x) ((x) << S_CMD_OPCODE0)
56784 #define G_CMD_OPCODE0(x) (((x) >> S_CMD_OPCODE0) & M_CMD_OPCODE0)
56786 #define A_MC_LMC_MCSTAT 0x40040
56788 #define S_INIT_COMPLETE 31
56789 #define V_INIT_COMPLETE(x) ((x) << S_INIT_COMPLETE)
56790 #define F_INIT_COMPLETE V_INIT_COMPLETE(1U)
56792 #define S_SELF_REF_MODE 30
56793 #define V_SELF_REF_MODE(x) ((x) << S_SELF_REF_MODE)
56794 #define F_SELF_REF_MODE V_SELF_REF_MODE(1U)
56797 #define V_IDLE(x) ((x) << S_IDLE)
56798 #define F_IDLE V_IDLE(1U)
56800 #define S_T6_DFI_INIT_COMPLETE 28
56801 #define V_T6_DFI_INIT_COMPLETE(x) ((x) << S_T6_DFI_INIT_COMPLETE)
56802 #define F_T6_DFI_INIT_COMPLETE V_T6_DFI_INIT_COMPLETE(1U)
56804 #define S_PREFILL_COMPLETE 27
56805 #define V_PREFILL_COMPLETE(x) ((x) << S_PREFILL_COMPLETE)
56806 #define F_PREFILL_COMPLETE V_PREFILL_COMPLETE(1U)
56808 #define A_MC_UPCTL_POWCTL 0x40044
56809 #define A_MC_UPCTL_POWSTAT 0x40048
56810 #define A_MC_UPCTL_CMDTSTAT 0x4004c
56812 #define S_CMD_TSTAT 0
56813 #define V_CMD_TSTAT(x) ((x) << S_CMD_TSTAT)
56814 #define F_CMD_TSTAT V_CMD_TSTAT(1U)
56816 #define A_MC_UPCTL_CMDTSTATEN 0x40050
56818 #define S_CMD_TSTAT_EN 0
56819 #define V_CMD_TSTAT_EN(x) ((x) << S_CMD_TSTAT_EN)
56820 #define F_CMD_TSTAT_EN V_CMD_TSTAT_EN(1U)
56822 #define A_MC_UPCTL_MRRCFG0 0x40060
56824 #define S_MRR_BYTE_SEL 0
56825 #define M_MRR_BYTE_SEL 0xfU
56826 #define V_MRR_BYTE_SEL(x) ((x) << S_MRR_BYTE_SEL)
56827 #define G_MRR_BYTE_SEL(x) (((x) >> S_MRR_BYTE_SEL) & M_MRR_BYTE_SEL)
56829 #define A_MC_UPCTL_MRRSTAT0 0x40064
56831 #define S_MRRSTAT_BEAT3 24
56832 #define M_MRRSTAT_BEAT3 0xffU
56833 #define V_MRRSTAT_BEAT3(x) ((x) << S_MRRSTAT_BEAT3)
56834 #define G_MRRSTAT_BEAT3(x) (((x) >> S_MRRSTAT_BEAT3) & M_MRRSTAT_BEAT3)
56836 #define S_MRRSTAT_BEAT2 16
56837 #define M_MRRSTAT_BEAT2 0xffU
56838 #define V_MRRSTAT_BEAT2(x) ((x) << S_MRRSTAT_BEAT2)
56839 #define G_MRRSTAT_BEAT2(x) (((x) >> S_MRRSTAT_BEAT2) & M_MRRSTAT_BEAT2)
56841 #define S_MRRSTAT_BEAT1 8
56842 #define M_MRRSTAT_BEAT1 0xffU
56843 #define V_MRRSTAT_BEAT1(x) ((x) << S_MRRSTAT_BEAT1)
56844 #define G_MRRSTAT_BEAT1(x) (((x) >> S_MRRSTAT_BEAT1) & M_MRRSTAT_BEAT1)
56846 #define S_MRRSTAT_BEAT0 0
56847 #define M_MRRSTAT_BEAT0 0xffU
56848 #define V_MRRSTAT_BEAT0(x) ((x) << S_MRRSTAT_BEAT0)
56849 #define G_MRRSTAT_BEAT0(x) (((x) >> S_MRRSTAT_BEAT0) & M_MRRSTAT_BEAT0)
56851 #define A_MC_UPCTL_MRRSTAT1 0x40068
56853 #define S_MRRSTAT_BEAT7 24
56854 #define M_MRRSTAT_BEAT7 0xffU
56855 #define V_MRRSTAT_BEAT7(x) ((x) << S_MRRSTAT_BEAT7)
56856 #define G_MRRSTAT_BEAT7(x) (((x) >> S_MRRSTAT_BEAT7) & M_MRRSTAT_BEAT7)
56858 #define S_MRRSTAT_BEAT6 16
56859 #define M_MRRSTAT_BEAT6 0xffU
56860 #define V_MRRSTAT_BEAT6(x) ((x) << S_MRRSTAT_BEAT6)
56861 #define G_MRRSTAT_BEAT6(x) (((x) >> S_MRRSTAT_BEAT6) & M_MRRSTAT_BEAT6)
56863 #define S_MRRSTAT_BEAT5 8
56864 #define M_MRRSTAT_BEAT5 0xffU
56865 #define V_MRRSTAT_BEAT5(x) ((x) << S_MRRSTAT_BEAT5)
56866 #define G_MRRSTAT_BEAT5(x) (((x) >> S_MRRSTAT_BEAT5) & M_MRRSTAT_BEAT5)
56868 #define S_MRRSTAT_BEAT4 0
56869 #define M_MRRSTAT_BEAT4 0xffU
56870 #define V_MRRSTAT_BEAT4(x) ((x) << S_MRRSTAT_BEAT4)
56871 #define G_MRRSTAT_BEAT4(x) (((x) >> S_MRRSTAT_BEAT4) & M_MRRSTAT_BEAT4)
56873 #define A_MC_UPCTL_MCFG1 0x4007c
56875 #define S_HW_EXIT_IDLE_EN 31
56876 #define V_HW_EXIT_IDLE_EN(x) ((x) << S_HW_EXIT_IDLE_EN)
56877 #define F_HW_EXIT_IDLE_EN V_HW_EXIT_IDLE_EN(1U)
56879 #define S_HW_IDLE 16
56880 #define M_HW_IDLE 0xffU
56881 #define V_HW_IDLE(x) ((x) << S_HW_IDLE)
56882 #define G_HW_IDLE(x) (((x) >> S_HW_IDLE) & M_HW_IDLE)
56884 #define S_SR_IDLE 0
56885 #define M_SR_IDLE 0xffU
56886 #define V_SR_IDLE(x) ((x) << S_SR_IDLE)
56887 #define G_SR_IDLE(x) (((x) >> S_SR_IDLE) & M_SR_IDLE)
56889 #define A_MC_UPCTL_MCFG 0x40080
56891 #define S_MDDR_LPDDR2_CLK_STOP_IDLE 24
56892 #define M_MDDR_LPDDR2_CLK_STOP_IDLE 0xffU
56893 #define V_MDDR_LPDDR2_CLK_STOP_IDLE(x) ((x) << S_MDDR_LPDDR2_CLK_STOP_IDLE)
56894 #define G_MDDR_LPDDR2_CLK_STOP_IDLE(x) (((x) >> S_MDDR_LPDDR2_CLK_STOP_IDLE) & M_MDDR_LPDDR2_CLK_STOP_IDLE)
56896 #define S_MDDR_LPDDR2_EN 22
56897 #define M_MDDR_LPDDR2_EN 0x3U
56898 #define V_MDDR_LPDDR2_EN(x) ((x) << S_MDDR_LPDDR2_EN)
56899 #define G_MDDR_LPDDR2_EN(x) (((x) >> S_MDDR_LPDDR2_EN) & M_MDDR_LPDDR2_EN)
56901 #define S_MDDR_LPDDR2_BL 20
56902 #define M_MDDR_LPDDR2_BL 0x3U
56903 #define V_MDDR_LPDDR2_BL(x) ((x) << S_MDDR_LPDDR2_BL)
56904 #define G_MDDR_LPDDR2_BL(x) (((x) >> S_MDDR_LPDDR2_BL) & M_MDDR_LPDDR2_BL)
56906 #define S_LPDDR2_S4 6
56907 #define V_LPDDR2_S4(x) ((x) << S_LPDDR2_S4)
56908 #define F_LPDDR2_S4 V_LPDDR2_S4(1U)
56910 #define S_STAGGER_CS 4
56911 #define V_STAGGER_CS(x) ((x) << S_STAGGER_CS)
56912 #define F_STAGGER_CS V_STAGGER_CS(1U)
56914 #define S_CKE_OR_EN 1
56915 #define V_CKE_OR_EN(x) ((x) << S_CKE_OR_EN)
56916 #define F_CKE_OR_EN V_CKE_OR_EN(1U)
56918 #define A_MC_LMC_MCOPT1 0x40080
56920 #define S_MC_PROTOCOL 31
56921 #define V_MC_PROTOCOL(x) ((x) << S_MC_PROTOCOL)
56922 #define F_MC_PROTOCOL V_MC_PROTOCOL(1U)
56924 #define S_DM_ENABLE 30
56925 #define V_DM_ENABLE(x) ((x) << S_DM_ENABLE)
56926 #define F_DM_ENABLE V_DM_ENABLE(1U)
56928 #define S_T6_ECC_EN 29
56929 #define V_T6_ECC_EN(x) ((x) << S_T6_ECC_EN)
56930 #define F_T6_ECC_EN V_T6_ECC_EN(1U)
56932 #define S_ECC_COR 28
56933 #define V_ECC_COR(x) ((x) << S_ECC_COR)
56934 #define F_ECC_COR V_ECC_COR(1U)
56937 #define V_RDIMM(x) ((x) << S_RDIMM)
56938 #define F_RDIMM V_RDIMM(1U)
56941 #define M_PMUM 0x3U
56942 #define V_PMUM(x) ((x) << S_PMUM)
56943 #define G_PMUM(x) (((x) >> S_PMUM) & M_PMUM)
56945 #define S_WIDTH0 24
56946 #define V_WIDTH0(x) ((x) << S_WIDTH0)
56947 #define F_WIDTH0 V_WIDTH0(1U)
56949 #define S_PORT_ID_CHK_EN 23
56950 #define V_PORT_ID_CHK_EN(x) ((x) << S_PORT_ID_CHK_EN)
56951 #define F_PORT_ID_CHK_EN V_PORT_ID_CHK_EN(1U)
56954 #define V_UIOS(x) ((x) << S_UIOS)
56955 #define F_UIOS V_UIOS(1U)
56957 #define S_QUADCS_RDIMM 21
56958 #define V_QUADCS_RDIMM(x) ((x) << S_QUADCS_RDIMM)
56959 #define F_QUADCS_RDIMM V_QUADCS_RDIMM(1U)
56961 #define S_ZQCL_EN 20
56962 #define V_ZQCL_EN(x) ((x) << S_ZQCL_EN)
56963 #define F_ZQCL_EN V_ZQCL_EN(1U)
56965 #define S_WIDTH1 19
56966 #define V_WIDTH1(x) ((x) << S_WIDTH1)
56967 #define F_WIDTH1 V_WIDTH1(1U)
56969 #define S_WD_DLY 18
56970 #define V_WD_DLY(x) ((x) << S_WD_DLY)
56971 #define F_WD_DLY V_WD_DLY(1U)
56973 #define S_QDEPTH 16
56974 #define M_QDEPTH 0x3U
56975 #define V_QDEPTH(x) ((x) << S_QDEPTH)
56976 #define G_QDEPTH(x) (((x) >> S_QDEPTH) & M_QDEPTH)
56979 #define V_RWOO(x) ((x) << S_RWOO)
56980 #define F_RWOO V_RWOO(1U)
56983 #define V_WOOO(x) ((x) << S_WOOO)
56984 #define F_WOOO V_WOOO(1U)
56987 #define V_DCOO(x) ((x) << S_DCOO)
56988 #define F_DCOO V_DCOO(1U)
56990 #define S_DEF_REF 12
56991 #define V_DEF_REF(x) ((x) << S_DEF_REF)
56992 #define F_DEF_REF V_DEF_REF(1U)
56994 #define S_DEV_TYPE 11
56995 #define V_DEV_TYPE(x) ((x) << S_DEV_TYPE)
56996 #define F_DEV_TYPE V_DEV_TYPE(1U)
56998 #define S_CA_PTY_DLY 10
56999 #define V_CA_PTY_DLY(x) ((x) << S_CA_PTY_DLY)
57000 #define F_CA_PTY_DLY V_CA_PTY_DLY(1U)
57002 #define S_ECC_MUX 8
57003 #define M_ECC_MUX 0x3U
57004 #define V_ECC_MUX(x) ((x) << S_ECC_MUX)
57005 #define G_ECC_MUX(x) (((x) >> S_ECC_MUX) & M_ECC_MUX)
57007 #define S_CE_THRESHOLD 0
57008 #define M_CE_THRESHOLD 0xffU
57009 #define V_CE_THRESHOLD(x) ((x) << S_CE_THRESHOLD)
57010 #define G_CE_THRESHOLD(x) (((x) >> S_CE_THRESHOLD) & M_CE_THRESHOLD)
57012 #define A_MC_UPCTL_PPCFG 0x40084
57013 #define A_MC_LMC_MCOPT2 0x40084
57015 #define S_SELF_REF_EN 31
57016 #define V_SELF_REF_EN(x) ((x) << S_SELF_REF_EN)
57017 #define F_SELF_REF_EN V_SELF_REF_EN(1U)
57019 #define S_XSR_PREVENT 30
57020 #define V_XSR_PREVENT(x) ((x) << S_XSR_PREVENT)
57021 #define F_XSR_PREVENT V_XSR_PREVENT(1U)
57023 #define S_INIT_START 29
57024 #define V_INIT_START(x) ((x) << S_INIT_START)
57025 #define F_INIT_START V_INIT_START(1U)
57027 #define S_MC_ENABLE 28
57028 #define V_MC_ENABLE(x) ((x) << S_MC_ENABLE)
57029 #define F_MC_ENABLE V_MC_ENABLE(1U)
57031 #define S_CLK_DISABLE 24
57032 #define M_CLK_DISABLE 0xfU
57033 #define V_CLK_DISABLE(x) ((x) << S_CLK_DISABLE)
57034 #define G_CLK_DISABLE(x) (((x) >> S_CLK_DISABLE) & M_CLK_DISABLE)
57036 #define S_RESET_RANK 20
57037 #define M_RESET_RANK 0xfU
57038 #define V_RESET_RANK(x) ((x) << S_RESET_RANK)
57039 #define G_RESET_RANK(x) (((x) >> S_RESET_RANK) & M_RESET_RANK)
57041 #define S_MCIF_COMP_PTY_EN 19
57042 #define V_MCIF_COMP_PTY_EN(x) ((x) << S_MCIF_COMP_PTY_EN)
57043 #define F_MCIF_COMP_PTY_EN V_MCIF_COMP_PTY_EN(1U)
57045 #define S_CKE_OE 17
57046 #define V_CKE_OE(x) ((x) << S_CKE_OE)
57047 #define F_CKE_OE V_CKE_OE(1U)
57049 #define S_RESET_OE 16
57050 #define V_RESET_OE(x) ((x) << S_RESET_OE)
57051 #define F_RESET_OE V_RESET_OE(1U)
57053 #define S_DFI_PHYUD_CNTL 14
57054 #define V_DFI_PHYUD_CNTL(x) ((x) << S_DFI_PHYUD_CNTL)
57055 #define F_DFI_PHYUD_CNTL V_DFI_PHYUD_CNTL(1U)
57057 #define S_DFI_PHYUD_ACK 13
57058 #define V_DFI_PHYUD_ACK(x) ((x) << S_DFI_PHYUD_ACK)
57059 #define F_DFI_PHYUD_ACK V_DFI_PHYUD_ACK(1U)
57061 #define S_T6_DFI_INIT_START 12
57062 #define V_T6_DFI_INIT_START(x) ((x) << S_T6_DFI_INIT_START)
57063 #define F_T6_DFI_INIT_START V_T6_DFI_INIT_START(1U)
57065 #define S_PM_ENABLE 8
57066 #define M_PM_ENABLE 0xfU
57067 #define V_PM_ENABLE(x) ((x) << S_PM_ENABLE)
57068 #define G_PM_ENABLE(x) (((x) >> S_PM_ENABLE) & M_PM_ENABLE)
57070 #define S_RD_DEFREF_CNT 4
57071 #define M_RD_DEFREF_CNT 0xfU
57072 #define V_RD_DEFREF_CNT(x) ((x) << S_RD_DEFREF_CNT)
57073 #define G_RD_DEFREF_CNT(x) (((x) >> S_RD_DEFREF_CNT) & M_RD_DEFREF_CNT)
57075 #define A_MC_UPCTL_MSTAT 0x40088
57077 #define S_SELF_REFRESH 2
57078 #define V_SELF_REFRESH(x) ((x) << S_SELF_REFRESH)
57079 #define F_SELF_REFRESH V_SELF_REFRESH(1U)
57081 #define S_CLOCK_STOP 1
57082 #define V_CLOCK_STOP(x) ((x) << S_CLOCK_STOP)
57083 #define F_CLOCK_STOP V_CLOCK_STOP(1U)
57085 #define A_MC_UPCTL_LPDDR2ZQCFG 0x4008c
57087 #define S_ZQCL_OP 24
57088 #define M_ZQCL_OP 0xffU
57089 #define V_ZQCL_OP(x) ((x) << S_ZQCL_OP)
57090 #define G_ZQCL_OP(x) (((x) >> S_ZQCL_OP) & M_ZQCL_OP)
57092 #define S_ZQCL_MA 16
57093 #define M_ZQCL_MA 0xffU
57094 #define V_ZQCL_MA(x) ((x) << S_ZQCL_MA)
57095 #define G_ZQCL_MA(x) (((x) >> S_ZQCL_MA) & M_ZQCL_MA)
57097 #define S_ZQCS_OP 8
57098 #define M_ZQCS_OP 0xffU
57099 #define V_ZQCS_OP(x) ((x) << S_ZQCS_OP)
57100 #define G_ZQCS_OP(x) (((x) >> S_ZQCS_OP) & M_ZQCS_OP)
57102 #define S_ZQCS_MA 0
57103 #define M_ZQCS_MA 0xffU
57104 #define V_ZQCS_MA(x) ((x) << S_ZQCS_MA)
57105 #define G_ZQCS_MA(x) (((x) >> S_ZQCS_MA) & M_ZQCS_MA)
57107 #define A_MC_UPCTL_DTUPDES 0x40094
57109 #define S_DTU_ERR_B7 7
57110 #define V_DTU_ERR_B7(x) ((x) << S_DTU_ERR_B7)
57111 #define F_DTU_ERR_B7 V_DTU_ERR_B7(1U)
57113 #define A_MC_UPCTL_DTUNA 0x40098
57114 #define A_MC_UPCTL_DTUNE 0x4009c
57115 #define A_MC_UPCTL_DTUPRD0 0x400a0
57116 #define A_MC_UPCTL_DTUPRD1 0x400a4
57117 #define A_MC_UPCTL_DTUPRD2 0x400a8
57118 #define A_MC_UPCTL_DTUPRD3 0x400ac
57119 #define A_MC_UPCTL_DTUAWDT 0x400b0
57120 #define A_MC_UPCTL_TOGCNT1U 0x400c0
57121 #define A_MC_UPCTL_TINIT 0x400c4
57122 #define A_MC_UPCTL_TRSTH 0x400c8
57123 #define A_MC_UPCTL_TOGCNT100N 0x400cc
57124 #define A_MC_UPCTL_TREFI 0x400d0
57125 #define A_MC_UPCTL_TMRD 0x400d4
57126 #define A_MC_UPCTL_TRFC 0x400d8
57129 #define M_T_RFC0 0x1ffU
57130 #define V_T_RFC0(x) ((x) << S_T_RFC0)
57131 #define G_T_RFC0(x) (((x) >> S_T_RFC0) & M_T_RFC0)
57133 #define A_MC_UPCTL_TRP 0x400dc
57135 #define S_PREA_EXTRA 16
57136 #define M_PREA_EXTRA 0x3U
57137 #define V_PREA_EXTRA(x) ((x) << S_PREA_EXTRA)
57138 #define G_PREA_EXTRA(x) (((x) >> S_PREA_EXTRA) & M_PREA_EXTRA)
57140 #define A_MC_UPCTL_TRTW 0x400e0
57143 #define M_T_RTW0 0xfU
57144 #define V_T_RTW0(x) ((x) << S_T_RTW0)
57145 #define G_T_RTW0(x) (((x) >> S_T_RTW0) & M_T_RTW0)
57147 #define A_MC_UPCTL_TAL 0x400e4
57148 #define A_MC_UPCTL_TCL 0x400e8
57149 #define A_MC_UPCTL_TCWL 0x400ec
57150 #define A_MC_UPCTL_TRAS 0x400f0
57151 #define A_MC_UPCTL_TRC 0x400f4
57152 #define A_MC_UPCTL_TRCD 0x400f8
57153 #define A_MC_UPCTL_TRRD 0x400fc
57154 #define A_MC_UPCTL_TRTP 0x40100
57157 #define M_T_RTP0 0xfU
57158 #define V_T_RTP0(x) ((x) << S_T_RTP0)
57159 #define G_T_RTP0(x) (((x) >> S_T_RTP0) & M_T_RTP0)
57161 #define A_MC_LMC_CFGR0 0x40100
57163 #define S_ROW_WIDTH 12
57164 #define M_ROW_WIDTH 0x7U
57165 #define V_ROW_WIDTH(x) ((x) << S_ROW_WIDTH)
57166 #define G_ROW_WIDTH(x) (((x) >> S_ROW_WIDTH) & M_ROW_WIDTH)
57168 #define S_ADDR_MODE 8
57169 #define M_ADDR_MODE 0xfU
57170 #define V_ADDR_MODE(x) ((x) << S_ADDR_MODE)
57171 #define G_ADDR_MODE(x) (((x) >> S_ADDR_MODE) & M_ADDR_MODE)
57174 #define V_MIRROR(x) ((x) << S_MIRROR)
57175 #define F_MIRROR V_MIRROR(1U)
57177 #define S_RANK_ENABLE 0
57178 #define V_RANK_ENABLE(x) ((x) << S_RANK_ENABLE)
57179 #define F_RANK_ENABLE V_RANK_ENABLE(1U)
57181 #define A_MC_UPCTL_TWR 0x40104
57184 #define M_U_T_WR 0x1fU
57185 #define V_U_T_WR(x) ((x) << S_U_T_WR)
57186 #define G_U_T_WR(x) (((x) >> S_U_T_WR) & M_U_T_WR)
57188 #define A_MC_UPCTL_TWTR 0x40108
57191 #define M_T_WTR0 0xfU
57192 #define V_T_WTR0(x) ((x) << S_T_WTR0)
57193 #define G_T_WTR0(x) (((x) >> S_T_WTR0) & M_T_WTR0)
57195 #define A_MC_UPCTL_TEXSR 0x4010c
57196 #define A_MC_UPCTL_TXP 0x40110
57197 #define A_MC_UPCTL_TXPDLL 0x40114
57198 #define A_MC_UPCTL_TZQCS 0x40118
57199 #define A_MC_UPCTL_TZQCSI 0x4011c
57200 #define A_MC_UPCTL_TDQS 0x40120
57201 #define A_MC_UPCTL_TCKSRE 0x40124
57203 #define S_T_CKSRE0 0
57204 #define M_T_CKSRE0 0x1fU
57205 #define V_T_CKSRE0(x) ((x) << S_T_CKSRE0)
57206 #define G_T_CKSRE0(x) (((x) >> S_T_CKSRE0) & M_T_CKSRE0)
57208 #define A_MC_UPCTL_TCKSRX 0x40128
57210 #define S_T_CKSRX0 0
57211 #define M_T_CKSRX0 0x1fU
57212 #define V_T_CKSRX0(x) ((x) << S_T_CKSRX0)
57213 #define G_T_CKSRX0(x) (((x) >> S_T_CKSRX0) & M_T_CKSRX0)
57215 #define A_MC_UPCTL_TCKE 0x4012c
57216 #define A_MC_UPCTL_TMOD 0x40130
57219 #define M_T_MOD0 0x1fU
57220 #define V_T_MOD0(x) ((x) << S_T_MOD0)
57221 #define G_T_MOD0(x) (((x) >> S_T_MOD0) & M_T_MOD0)
57223 #define A_MC_UPCTL_TRSTL 0x40134
57226 #define M_T_RSTL 0x7fU
57227 #define V_T_RSTL(x) ((x) << S_T_RSTL)
57228 #define G_T_RSTL(x) (((x) >> S_T_RSTL) & M_T_RSTL)
57230 #define A_MC_UPCTL_TZQCL 0x40138
57231 #define A_MC_UPCTL_TMRR 0x4013c
57234 #define M_T_MRR 0xffU
57235 #define V_T_MRR(x) ((x) << S_T_MRR)
57236 #define G_T_MRR(x) (((x) >> S_T_MRR) & M_T_MRR)
57238 #define A_MC_UPCTL_TCKESR 0x40140
57240 #define S_T_CKESR 0
57241 #define M_T_CKESR 0xfU
57242 #define V_T_CKESR(x) ((x) << S_T_CKESR)
57243 #define G_T_CKESR(x) (((x) >> S_T_CKESR) & M_T_CKESR)
57245 #define A_MC_LMC_INITSEQ0 0x40140
57247 #define S_INIT_ENABLE 31
57248 #define V_INIT_ENABLE(x) ((x) << S_INIT_ENABLE)
57249 #define F_INIT_ENABLE V_INIT_ENABLE(1U)
57252 #define M_WAIT 0xfffU
57253 #define CXGBE_V_WAIT(x) ((x) << S_WAIT)
57254 #define G_WAIT(x) (((x) >> S_WAIT) & M_WAIT)
57256 #define S_EN_MULTI_RANK_SEL 4
57257 #define V_EN_MULTI_RANK_SEL(x) ((x) << S_EN_MULTI_RANK_SEL)
57258 #define F_EN_MULTI_RANK_SEL V_EN_MULTI_RANK_SEL(1U)
57260 #define S_T6_RANK 0
57261 #define M_T6_RANK 0xfU
57262 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57263 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57265 #define A_MC_UPCTL_TDPD 0x40144
57268 #define M_T_DPD 0x3ffU
57269 #define V_T_DPD(x) ((x) << S_T_DPD)
57270 #define G_T_DPD(x) (((x) >> S_T_DPD) & M_T_DPD)
57272 #define A_MC_LMC_CMD0 0x40144
57276 #define V_CMD(x) ((x) << S_CMD)
57277 #define G_CMD(x) (((x) >> S_CMD) & M_CMD)
57279 #define S_CMD_ACTN 28
57280 #define V_CMD_ACTN(x) ((x) << S_CMD_ACTN)
57281 #define F_CMD_ACTN V_CMD_ACTN(1U)
57284 #define V_BG1(x) ((x) << S_BG1)
57285 #define F_BG1 V_BG1(1U)
57288 #define M_BANK 0x7U
57289 #define V_BANK(x) ((x) << S_BANK)
57290 #define G_BANK(x) (((x) >> S_BANK) & M_BANK)
57292 #define A_MC_LMC_INITSEQ1 0x40148
57294 #define S_T6_RANK 0
57295 #define M_T6_RANK 0xfU
57296 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57297 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57299 #define A_MC_LMC_CMD1 0x4014c
57300 #define A_MC_LMC_INITSEQ2 0x40150
57302 #define S_T6_RANK 0
57303 #define M_T6_RANK 0xfU
57304 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57305 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57307 #define A_MC_LMC_CMD2 0x40154
57308 #define A_MC_LMC_INITSEQ3 0x40158
57310 #define S_T6_RANK 0
57311 #define M_T6_RANK 0xfU
57312 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57313 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57315 #define A_MC_LMC_CMD3 0x4015c
57316 #define A_MC_LMC_INITSEQ4 0x40160
57318 #define S_T6_RANK 0
57319 #define M_T6_RANK 0xfU
57320 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57321 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57323 #define A_MC_LMC_CMD4 0x40164
57324 #define A_MC_LMC_INITSEQ5 0x40168
57326 #define S_T6_RANK 0
57327 #define M_T6_RANK 0xfU
57328 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57329 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57331 #define A_MC_LMC_CMD5 0x4016c
57332 #define A_MC_LMC_INITSEQ6 0x40170
57334 #define S_T6_RANK 0
57335 #define M_T6_RANK 0xfU
57336 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57337 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57339 #define A_MC_LMC_CMD6 0x40174
57340 #define A_MC_LMC_INITSEQ7 0x40178
57342 #define S_T6_RANK 0
57343 #define M_T6_RANK 0xfU
57344 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57345 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57347 #define A_MC_LMC_CMD7 0x4017c
57348 #define A_MC_UPCTL_ECCCFG 0x40180
57349 #define A_MC_LMC_INITSEQ8 0x40180
57351 #define S_T6_RANK 0
57352 #define M_T6_RANK 0xfU
57353 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57354 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57356 #define A_MC_UPCTL_ECCTST 0x40184
57358 #define S_ECC_TEST_MASK0 0
57359 #define M_ECC_TEST_MASK0 0x7fU
57360 #define V_ECC_TEST_MASK0(x) ((x) << S_ECC_TEST_MASK0)
57361 #define G_ECC_TEST_MASK0(x) (((x) >> S_ECC_TEST_MASK0) & M_ECC_TEST_MASK0)
57363 #define A_MC_LMC_CMD8 0x40184
57364 #define A_MC_UPCTL_ECCCLR 0x40188
57365 #define A_MC_LMC_INITSEQ9 0x40188
57367 #define S_T6_RANK 0
57368 #define M_T6_RANK 0xfU
57369 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57370 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57372 #define A_MC_UPCTL_ECCLOG 0x4018c
57373 #define A_MC_LMC_CMD9 0x4018c
57374 #define A_MC_LMC_INITSEQ10 0x40190
57376 #define S_T6_RANK 0
57377 #define M_T6_RANK 0xfU
57378 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57379 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57381 #define A_MC_LMC_CMD10 0x40194
57382 #define A_MC_LMC_INITSEQ11 0x40198
57384 #define S_T6_RANK 0
57385 #define M_T6_RANK 0xfU
57386 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57387 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57389 #define A_MC_LMC_CMD11 0x4019c
57390 #define A_MC_LMC_INITSEQ12 0x401a0
57392 #define S_T6_RANK 0
57393 #define M_T6_RANK 0xfU
57394 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57395 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57397 #define A_MC_LMC_CMD12 0x401a4
57398 #define A_MC_LMC_INITSEQ13 0x401a8
57400 #define S_T6_RANK 0
57401 #define M_T6_RANK 0xfU
57402 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57403 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57405 #define A_MC_LMC_CMD13 0x401ac
57406 #define A_MC_LMC_INITSEQ14 0x401b0
57408 #define S_T6_RANK 0
57409 #define M_T6_RANK 0xfU
57410 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57411 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57413 #define A_MC_LMC_CMD14 0x401b4
57414 #define A_MC_LMC_INITSEQ15 0x401b8
57416 #define S_T6_RANK 0
57417 #define M_T6_RANK 0xfU
57418 #define V_T6_RANK(x) ((x) << S_T6_RANK)
57419 #define G_T6_RANK(x) (((x) >> S_T6_RANK) & M_T6_RANK)
57421 #define A_MC_LMC_CMD15 0x401bc
57422 #define A_MC_UPCTL_DTUWACTL 0x40200
57424 #define S_DTU_WR_ROW0 13
57425 #define M_DTU_WR_ROW0 0xffffU
57426 #define V_DTU_WR_ROW0(x) ((x) << S_DTU_WR_ROW0)
57427 #define G_DTU_WR_ROW0(x) (((x) >> S_DTU_WR_ROW0) & M_DTU_WR_ROW0)
57429 #define A_MC_LMC_SDTR0 0x40200
57432 #define M_REFI 0xffffU
57433 #define V_REFI(x) ((x) << S_REFI)
57434 #define G_REFI(x) (((x) >> S_REFI) & M_REFI)
57436 #define S_T_RFC_XPR 0
57437 #define M_T_RFC_XPR 0xfffU
57438 #define V_T_RFC_XPR(x) ((x) << S_T_RFC_XPR)
57439 #define G_T_RFC_XPR(x) (((x) >> S_T_RFC_XPR) & M_T_RFC_XPR)
57441 #define A_MC_UPCTL_DTURACTL 0x40204
57443 #define S_DTU_RD_ROW0 13
57444 #define M_DTU_RD_ROW0 0xffffU
57445 #define V_DTU_RD_ROW0(x) ((x) << S_DTU_RD_ROW0)
57446 #define G_DTU_RD_ROW0(x) (((x) >> S_DTU_RD_ROW0) & M_DTU_RD_ROW0)
57448 #define A_MC_LMC_SDTR1 0x40204
57450 #define S_T_LEADOFF 31
57451 #define V_T_LEADOFF(x) ((x) << S_T_LEADOFF)
57452 #define F_T_LEADOFF V_T_LEADOFF(1U)
57454 #define S_ODT_DELAY 30
57455 #define V_ODT_DELAY(x) ((x) << S_ODT_DELAY)
57456 #define F_ODT_DELAY V_ODT_DELAY(1U)
57458 #define S_ODT_WIDTH 29
57459 #define V_ODT_WIDTH(x) ((x) << S_ODT_WIDTH)
57460 #define F_ODT_WIDTH V_ODT_WIDTH(1U)
57462 #define S_T_WTRO 24
57463 #define M_T_WTRO 0xfU
57464 #define V_T_WTRO(x) ((x) << S_T_WTRO)
57465 #define G_T_WTRO(x) (((x) >> S_T_WTRO) & M_T_WTRO)
57467 #define S_T_RTWO 16
57468 #define M_T_RTWO 0xfU
57469 #define V_T_RTWO(x) ((x) << S_T_RTWO)
57470 #define G_T_RTWO(x) (((x) >> S_T_RTWO) & M_T_RTWO)
57472 #define S_T_RTW_ADJ 12
57473 #define M_T_RTW_ADJ 0xfU
57474 #define V_T_RTW_ADJ(x) ((x) << S_T_RTW_ADJ)
57475 #define G_T_RTW_ADJ(x) (((x) >> S_T_RTW_ADJ) & M_T_RTW_ADJ)
57478 #define M_T_WTWO 0xfU
57479 #define V_T_WTWO(x) ((x) << S_T_WTWO)
57480 #define G_T_WTWO(x) (((x) >> S_T_WTWO) & M_T_WTWO)
57483 #define M_T_RTRO 0xfU
57484 #define V_T_RTRO(x) ((x) << S_T_RTRO)
57485 #define G_T_RTRO(x) (((x) >> S_T_RTRO) & M_T_RTRO)
57487 #define A_MC_UPCTL_DTUCFG 0x40208
57488 #define A_MC_LMC_SDTR2 0x40208
57490 #define S_T6_T_CWL 28
57491 #define M_T6_T_CWL 0xfU
57492 #define V_T6_T_CWL(x) ((x) << S_T6_T_CWL)
57493 #define G_T6_T_CWL(x) (((x) >> S_T6_T_CWL) & M_T6_T_CWL)
57495 #define S_T_RCD0 24
57496 #define M_T_RCD0 0xfU
57497 #define V_T_RCD0(x) ((x) << S_T_RCD0)
57498 #define G_T_RCD0(x) (((x) >> S_T_RCD0) & M_T_RCD0)
57501 #define M_T_PL 0xfU
57502 #define V_T_PL(x) ((x) << S_T_PL)
57503 #define G_T_PL(x) (((x) >> S_T_PL) & M_T_PL)
57506 #define M_T_RP0 0xfU
57507 #define V_T_RP0(x) ((x) << S_T_RP0)
57508 #define G_T_RP0(x) (((x) >> S_T_RP0) & M_T_RP0)
57511 #define V_T_RP1(x) ((x) << S_T_RP1)
57512 #define F_T_RP1 V_T_RP1(1U)
57514 #define S_T_RCD1 14
57515 #define V_T_RCD1(x) ((x) << S_T_RCD1)
57516 #define F_T_RCD1 V_T_RCD1(1U)
57518 #define S_T6_T_RC 8
57519 #define M_T6_T_RC 0x3fU
57520 #define V_T6_T_RC(x) ((x) << S_T6_T_RC)
57521 #define G_T6_T_RC(x) (((x) >> S_T6_T_RC) & M_T6_T_RC)
57523 #define A_MC_UPCTL_DTUECTL 0x4020c
57524 #define A_MC_LMC_SDTR3 0x4020c
57526 #define S_T_WTR_S 28
57527 #define M_T_WTR_S 0xfU
57528 #define V_T_WTR_S(x) ((x) << S_T_WTR_S)
57529 #define G_T_WTR_S(x) (((x) >> S_T_WTR_S) & M_T_WTR_S)
57531 #define S_T6_T_WTR 24
57532 #define M_T6_T_WTR 0xfU
57533 #define V_T6_T_WTR(x) ((x) << S_T6_T_WTR)
57534 #define G_T6_T_WTR(x) (((x) >> S_T6_T_WTR) & M_T6_T_WTR)
57536 #define S_FAW_ADJ 20
57537 #define M_FAW_ADJ 0x3U
57538 #define V_FAW_ADJ(x) ((x) << S_FAW_ADJ)
57539 #define G_FAW_ADJ(x) (((x) >> S_FAW_ADJ) & M_FAW_ADJ)
57541 #define S_T6_T_RTP 16
57542 #define M_T6_T_RTP 0xfU
57543 #define V_T6_T_RTP(x) ((x) << S_T6_T_RTP)
57544 #define G_T6_T_RTP(x) (((x) >> S_T6_T_RTP) & M_T6_T_RTP)
57546 #define S_T_RRD_L 12
57547 #define M_T_RRD_L 0xfU
57548 #define V_T_RRD_L(x) ((x) << S_T_RRD_L)
57549 #define G_T_RRD_L(x) (((x) >> S_T_RRD_L) & M_T_RRD_L)
57551 #define S_T6_T_RRD 8
57552 #define M_T6_T_RRD 0xfU
57553 #define V_T6_T_RRD(x) ((x) << S_T6_T_RRD)
57554 #define G_T6_T_RRD(x) (((x) >> S_T6_T_RRD) & M_T6_T_RRD)
57556 #define S_T_XSDLL 0
57557 #define M_T_XSDLL 0xffU
57558 #define V_T_XSDLL(x) ((x) << S_T_XSDLL)
57559 #define G_T_XSDLL(x) (((x) >> S_T_XSDLL) & M_T_XSDLL)
57561 #define A_MC_UPCTL_DTUWD0 0x40210
57562 #define A_MC_LMC_SDTR4 0x40210
57564 #define S_T_RDDATA_EN 24
57565 #define M_T_RDDATA_EN 0x7fU
57566 #define V_T_RDDATA_EN(x) ((x) << S_T_RDDATA_EN)
57567 #define G_T_RDDATA_EN(x) (((x) >> S_T_RDDATA_EN) & M_T_RDDATA_EN)
57569 #define S_T_SYS_RDLAT 16
57570 #define M_T_SYS_RDLAT 0x3fU
57571 #define V_T_SYS_RDLAT(x) ((x) << S_T_SYS_RDLAT)
57572 #define G_T_SYS_RDLAT(x) (((x) >> S_T_SYS_RDLAT) & M_T_SYS_RDLAT)
57574 #define S_T_CCD_L 12
57575 #define M_T_CCD_L 0xfU
57576 #define V_T_CCD_L(x) ((x) << S_T_CCD_L)
57577 #define G_T_CCD_L(x) (((x) >> S_T_CCD_L) & M_T_CCD_L)
57580 #define M_T_CCD 0x7U
57581 #define V_T_CCD(x) ((x) << S_T_CCD)
57582 #define G_T_CCD(x) (((x) >> S_T_CCD) & M_T_CCD)
57584 #define S_T_CPDED 5
57585 #define M_T_CPDED 0x7U
57586 #define V_T_CPDED(x) ((x) << S_T_CPDED)
57587 #define G_T_CPDED(x) (((x) >> S_T_CPDED) & M_T_CPDED)
57589 #define S_T6_T_MOD 0
57590 #define M_T6_T_MOD 0x1fU
57591 #define V_T6_T_MOD(x) ((x) << S_T6_T_MOD)
57592 #define G_T6_T_MOD(x) (((x) >> S_T6_T_MOD) & M_T6_T_MOD)
57594 #define A_MC_UPCTL_DTUWD1 0x40214
57595 #define A_MC_LMC_SDTR5 0x40214
57597 #define S_T_PHY_WRDATA 24
57598 #define M_T_PHY_WRDATA 0x7U
57599 #define V_T_PHY_WRDATA(x) ((x) << S_T_PHY_WRDATA)
57600 #define G_T_PHY_WRDATA(x) (((x) >> S_T_PHY_WRDATA) & M_T_PHY_WRDATA)
57602 #define S_T_PHY_WRLAT 16
57603 #define M_T_PHY_WRLAT 0x1fU
57604 #define V_T_PHY_WRLAT(x) ((x) << S_T_PHY_WRLAT)
57605 #define G_T_PHY_WRLAT(x) (((x) >> S_T_PHY_WRLAT) & M_T_PHY_WRLAT)
57607 #define A_MC_UPCTL_DTUWD2 0x40218
57608 #define A_MC_UPCTL_DTUWD3 0x4021c
57609 #define A_MC_UPCTL_DTUWDM 0x40220
57610 #define A_MC_UPCTL_DTURD0 0x40224
57611 #define A_MC_UPCTL_DTURD1 0x40228
57612 #define A_MC_LMC_DBG0 0x40228
57614 #define S_T_SYS_RDLAT_DBG 16
57615 #define M_T_SYS_RDLAT_DBG 0x1fU
57616 #define V_T_SYS_RDLAT_DBG(x) ((x) << S_T_SYS_RDLAT_DBG)
57617 #define G_T_SYS_RDLAT_DBG(x) (((x) >> S_T_SYS_RDLAT_DBG) & M_T_SYS_RDLAT_DBG)
57619 #define A_MC_UPCTL_DTURD2 0x4022c
57620 #define A_MC_UPCTL_DTURD3 0x40230
57621 #define A_MC_UPCTL_DTULFSRWD 0x40234
57622 #define A_MC_UPCTL_DTULFSRRD 0x40238
57623 #define A_MC_UPCTL_DTUEAF 0x4023c
57625 #define S_EA_ROW0 13
57626 #define M_EA_ROW0 0xffffU
57627 #define V_EA_ROW0(x) ((x) << S_EA_ROW0)
57628 #define G_EA_ROW0(x) (((x) >> S_EA_ROW0) & M_EA_ROW0)
57630 #define A_MC_UPCTL_DFITCTRLDELAY 0x40240
57632 #define S_TCTRL_DELAY 0
57633 #define M_TCTRL_DELAY 0xfU
57634 #define V_TCTRL_DELAY(x) ((x) << S_TCTRL_DELAY)
57635 #define G_TCTRL_DELAY(x) (((x) >> S_TCTRL_DELAY) & M_TCTRL_DELAY)
57637 #define A_MC_LMC_SMR0 0x40240
57639 #define S_SMR0_RFU0 13
57640 #define M_SMR0_RFU0 0x7U
57641 #define V_SMR0_RFU0(x) ((x) << S_SMR0_RFU0)
57642 #define G_SMR0_RFU0(x) (((x) >> S_SMR0_RFU0) & M_SMR0_RFU0)
57645 #define V_PPD(x) ((x) << S_PPD)
57646 #define F_PPD V_PPD(1U)
57649 #define M_WR_RTP 0x7U
57650 #define V_WR_RTP(x) ((x) << S_WR_RTP)
57651 #define G_WR_RTP(x) (((x) >> S_WR_RTP) & M_WR_RTP)
57653 #define S_SMR0_DLL 8
57654 #define V_SMR0_DLL(x) ((x) << S_SMR0_DLL)
57655 #define F_SMR0_DLL V_SMR0_DLL(1U)
57658 #define V_TM(x) ((x) << S_TM)
57659 #define F_TM V_TM(1U)
57662 #define M_CL31 0x7U
57663 #define V_CL31(x) ((x) << S_CL31)
57664 #define G_CL31(x) (((x) >> S_CL31) & M_CL31)
57667 #define V_RBT(x) ((x) << S_RBT)
57668 #define F_RBT V_RBT(1U)
57671 #define V_CL0(x) ((x) << S_CL0)
57672 #define F_CL0 V_CL0(1U)
57676 #define V_BL(x) ((x) << S_BL)
57677 #define G_BL(x) (((x) >> S_BL) & M_BL)
57679 #define A_MC_UPCTL_DFIODTCFG 0x40244
57681 #define S_RANK3_ODT_WRITE_NSEL 26
57682 #define V_RANK3_ODT_WRITE_NSEL(x) ((x) << S_RANK3_ODT_WRITE_NSEL)
57683 #define F_RANK3_ODT_WRITE_NSEL V_RANK3_ODT_WRITE_NSEL(1U)
57685 #define A_MC_LMC_SMR1 0x40244
57688 #define V_QOFF(x) ((x) << S_QOFF)
57689 #define F_QOFF V_QOFF(1U)
57692 #define V_TDQS(x) ((x) << S_TDQS)
57693 #define F_TDQS V_TDQS(1U)
57695 #define S_SMR1_RFU0 10
57696 #define V_SMR1_RFU0(x) ((x) << S_SMR1_RFU0)
57697 #define F_SMR1_RFU0 V_SMR1_RFU0(1U)
57699 #define S_RTT_NOM0 9
57700 #define V_RTT_NOM0(x) ((x) << S_RTT_NOM0)
57701 #define F_RTT_NOM0 V_RTT_NOM0(1U)
57703 #define S_SMR1_RFU1 8
57704 #define V_SMR1_RFU1(x) ((x) << S_SMR1_RFU1)
57705 #define F_SMR1_RFU1 V_SMR1_RFU1(1U)
57707 #define S_WR_LEVEL 7
57708 #define V_WR_LEVEL(x) ((x) << S_WR_LEVEL)
57709 #define F_WR_LEVEL V_WR_LEVEL(1U)
57711 #define S_RTT_NOM1 6
57712 #define V_RTT_NOM1(x) ((x) << S_RTT_NOM1)
57713 #define F_RTT_NOM1 V_RTT_NOM1(1U)
57716 #define V_DIC0(x) ((x) << S_DIC0)
57717 #define F_DIC0 V_DIC0(1U)
57721 #define V_AL(x) ((x) << S_AL)
57722 #define G_AL(x) (((x) >> S_AL) & M_AL)
57724 #define S_RTT_NOM2 2
57725 #define V_RTT_NOM2(x) ((x) << S_RTT_NOM2)
57726 #define F_RTT_NOM2 V_RTT_NOM2(1U)
57729 #define V_DIC1(x) ((x) << S_DIC1)
57730 #define F_DIC1 V_DIC1(1U)
57732 #define S_SMR1_DLL 0
57733 #define V_SMR1_DLL(x) ((x) << S_SMR1_DLL)
57734 #define F_SMR1_DLL V_SMR1_DLL(1U)
57736 #define A_MC_UPCTL_DFIODTCFG1 0x40248
57738 #define S_ODT_LEN_B8_R 24
57739 #define M_ODT_LEN_B8_R 0x7U
57740 #define V_ODT_LEN_B8_R(x) ((x) << S_ODT_LEN_B8_R)
57741 #define G_ODT_LEN_B8_R(x) (((x) >> S_ODT_LEN_B8_R) & M_ODT_LEN_B8_R)
57743 #define S_ODT_LEN_BL8_W 16
57744 #define M_ODT_LEN_BL8_W 0x7U
57745 #define V_ODT_LEN_BL8_W(x) ((x) << S_ODT_LEN_BL8_W)
57746 #define G_ODT_LEN_BL8_W(x) (((x) >> S_ODT_LEN_BL8_W) & M_ODT_LEN_BL8_W)
57748 #define S_ODT_LAT_R 8
57749 #define M_ODT_LAT_R 0x1fU
57750 #define V_ODT_LAT_R(x) ((x) << S_ODT_LAT_R)
57751 #define G_ODT_LAT_R(x) (((x) >> S_ODT_LAT_R) & M_ODT_LAT_R)
57753 #define S_ODT_LAT_W 0
57754 #define M_ODT_LAT_W 0x1fU
57755 #define V_ODT_LAT_W(x) ((x) << S_ODT_LAT_W)
57756 #define G_ODT_LAT_W(x) (((x) >> S_ODT_LAT_W) & M_ODT_LAT_W)
57758 #define A_MC_LMC_SMR2 0x40248
57760 #define S_WR_CRC 12
57761 #define V_WR_CRC(x) ((x) << S_WR_CRC)
57762 #define F_WR_CRC V_WR_CRC(1U)
57764 #define S_RD_CRC 11
57765 #define V_RD_CRC(x) ((x) << S_RD_CRC)
57766 #define F_RD_CRC V_RD_CRC(1U)
57769 #define M_RTT_WR 0x3U
57770 #define V_RTT_WR(x) ((x) << S_RTT_WR)
57771 #define G_RTT_WR(x) (((x) >> S_RTT_WR) & M_RTT_WR)
57773 #define S_SMR2_RFU0 8
57774 #define V_SMR2_RFU0(x) ((x) << S_SMR2_RFU0)
57775 #define F_SMR2_RFU0 V_SMR2_RFU0(1U)
57777 #define S_SRT_ASR1 7
57778 #define V_SRT_ASR1(x) ((x) << S_SRT_ASR1)
57779 #define F_SRT_ASR1 V_SRT_ASR1(1U)
57782 #define V_ASR0(x) ((x) << S_ASR0)
57783 #define F_ASR0 V_ASR0(1U)
57787 #define V_CWL(x) ((x) << S_CWL)
57788 #define G_CWL(x) (((x) >> S_CWL) & M_CWL)
57791 #define M_PASR 0x7U
57792 #define V_PASR(x) ((x) << S_PASR)
57793 #define G_PASR(x) (((x) >> S_PASR) & M_PASR)
57795 #define A_MC_UPCTL_DFIODTRANKMAP 0x4024c
57797 #define S_ODT_RANK_MAP3 12
57798 #define M_ODT_RANK_MAP3 0xfU
57799 #define V_ODT_RANK_MAP3(x) ((x) << S_ODT_RANK_MAP3)
57800 #define G_ODT_RANK_MAP3(x) (((x) >> S_ODT_RANK_MAP3) & M_ODT_RANK_MAP3)
57802 #define S_ODT_RANK_MAP2 8
57803 #define M_ODT_RANK_MAP2 0xfU
57804 #define V_ODT_RANK_MAP2(x) ((x) << S_ODT_RANK_MAP2)
57805 #define G_ODT_RANK_MAP2(x) (((x) >> S_ODT_RANK_MAP2) & M_ODT_RANK_MAP2)
57807 #define S_ODT_RANK_MAP1 4
57808 #define M_ODT_RANK_MAP1 0xfU
57809 #define V_ODT_RANK_MAP1(x) ((x) << S_ODT_RANK_MAP1)
57810 #define G_ODT_RANK_MAP1(x) (((x) >> S_ODT_RANK_MAP1) & M_ODT_RANK_MAP1)
57812 #define S_ODT_RANK_MAP0 0
57813 #define M_ODT_RANK_MAP0 0xfU
57814 #define V_ODT_RANK_MAP0(x) ((x) << S_ODT_RANK_MAP0)
57815 #define G_ODT_RANK_MAP0(x) (((x) >> S_ODT_RANK_MAP0) & M_ODT_RANK_MAP0)
57817 #define A_MC_LMC_SMR3 0x4024c
57819 #define S_MPR_RD_FMT 11
57820 #define M_MPR_RD_FMT 0x3U
57821 #define V_MPR_RD_FMT(x) ((x) << S_MPR_RD_FMT)
57822 #define G_MPR_RD_FMT(x) (((x) >> S_MPR_RD_FMT) & M_MPR_RD_FMT)
57824 #define S_SMR3_RFU0 9
57825 #define M_SMR3_RFU0 0x3U
57826 #define V_SMR3_RFU0(x) ((x) << S_SMR3_RFU0)
57827 #define G_SMR3_RFU0(x) (((x) >> S_SMR3_RFU0) & M_SMR3_RFU0)
57829 #define S_FGR_MODE 6
57830 #define M_FGR_MODE 0x7U
57831 #define V_FGR_MODE(x) ((x) << S_FGR_MODE)
57832 #define G_FGR_MODE(x) (((x) >> S_FGR_MODE) & M_FGR_MODE)
57834 #define S_MRS_RDO 5
57835 #define V_MRS_RDO(x) ((x) << S_MRS_RDO)
57836 #define F_MRS_RDO V_MRS_RDO(1U)
57838 #define S_DRAM_ADR 4
57839 #define V_DRAM_ADR(x) ((x) << S_DRAM_ADR)
57840 #define F_DRAM_ADR V_DRAM_ADR(1U)
57842 #define S_GD_MODE 3
57843 #define V_GD_MODE(x) ((x) << S_GD_MODE)
57844 #define F_GD_MODE V_GD_MODE(1U)
57847 #define V_MPR(x) ((x) << S_MPR)
57848 #define F_MPR V_MPR(1U)
57850 #define S_MPR_SEL 0
57851 #define M_MPR_SEL 0x3U
57852 #define V_MPR_SEL(x) ((x) << S_MPR_SEL)
57853 #define G_MPR_SEL(x) (((x) >> S_MPR_SEL) & M_MPR_SEL)
57855 #define A_MC_UPCTL_DFITPHYWRDATA 0x40250
57857 #define S_TPHY_WRDATA 0
57858 #define M_TPHY_WRDATA 0x1fU
57859 #define V_TPHY_WRDATA(x) ((x) << S_TPHY_WRDATA)
57860 #define G_TPHY_WRDATA(x) (((x) >> S_TPHY_WRDATA) & M_TPHY_WRDATA)
57862 #define A_MC_LMC_SMR4 0x40250
57864 #define S_WR_PRE 12
57865 #define V_WR_PRE(x) ((x) << S_WR_PRE)
57866 #define F_WR_PRE V_WR_PRE(1U)
57868 #define S_RD_PRE 11
57869 #define V_RD_PRE(x) ((x) << S_RD_PRE)
57870 #define F_RD_PRE V_RD_PRE(1U)
57872 #define S_RPT_MODE 10
57873 #define V_RPT_MODE(x) ((x) << S_RPT_MODE)
57874 #define F_RPT_MODE V_RPT_MODE(1U)
57876 #define S_FESR_MODE 9
57877 #define V_FESR_MODE(x) ((x) << S_FESR_MODE)
57878 #define F_FESR_MODE V_FESR_MODE(1U)
57880 #define S_CS_LAT_MODE 6
57881 #define M_CS_LAT_MODE 0x7U
57882 #define V_CS_LAT_MODE(x) ((x) << S_CS_LAT_MODE)
57883 #define G_CS_LAT_MODE(x) (((x) >> S_CS_LAT_MODE) & M_CS_LAT_MODE)
57885 #define S_ALERT_STAT 5
57886 #define V_ALERT_STAT(x) ((x) << S_ALERT_STAT)
57887 #define F_ALERT_STAT V_ALERT_STAT(1U)
57889 #define S_IVM_MODE 4
57890 #define V_IVM_MODE(x) ((x) << S_IVM_MODE)
57891 #define F_IVM_MODE V_IVM_MODE(1U)
57893 #define S_TCR_MODE 3
57894 #define V_TCR_MODE(x) ((x) << S_TCR_MODE)
57895 #define F_TCR_MODE V_TCR_MODE(1U)
57897 #define S_TCR_RANGE 2
57898 #define V_TCR_RANGE(x) ((x) << S_TCR_RANGE)
57899 #define F_TCR_RANGE V_TCR_RANGE(1U)
57901 #define S_MPD_MODE 1
57902 #define V_MPD_MODE(x) ((x) << S_MPD_MODE)
57903 #define F_MPD_MODE V_MPD_MODE(1U)
57905 #define S_SMR4_RFU 0
57906 #define V_SMR4_RFU(x) ((x) << S_SMR4_RFU)
57907 #define F_SMR4_RFU V_SMR4_RFU(1U)
57909 #define A_MC_UPCTL_DFITPHYWRLAT 0x40254
57911 #define S_TPHY_WRLAT 0
57912 #define M_TPHY_WRLAT 0x1fU
57913 #define V_TPHY_WRLAT(x) ((x) << S_TPHY_WRLAT)
57914 #define G_TPHY_WRLAT(x) (((x) >> S_TPHY_WRLAT) & M_TPHY_WRLAT)
57916 #define A_MC_LMC_SMR5 0x40254
57918 #define S_RD_DBI 11
57919 #define V_RD_DBI(x) ((x) << S_RD_DBI)
57920 #define F_RD_DBI V_RD_DBI(1U)
57922 #define S_WR_DBI 10
57923 #define V_WR_DBI(x) ((x) << S_WR_DBI)
57924 #define F_WR_DBI V_WR_DBI(1U)
57926 #define S_DM_MODE 9
57927 #define V_DM_MODE(x) ((x) << S_DM_MODE)
57928 #define F_DM_MODE V_DM_MODE(1U)
57930 #define S_RTT_PARK 6
57931 #define M_RTT_PARK 0x7U
57932 #define V_RTT_PARK(x) ((x) << S_RTT_PARK)
57933 #define G_RTT_PARK(x) (((x) >> S_RTT_PARK) & M_RTT_PARK)
57935 #define S_SMR5_RFU 5
57936 #define V_SMR5_RFU(x) ((x) << S_SMR5_RFU)
57937 #define F_SMR5_RFU V_SMR5_RFU(1U)
57939 #define S_PAR_ERR_STAT 4
57940 #define V_PAR_ERR_STAT(x) ((x) << S_PAR_ERR_STAT)
57941 #define F_PAR_ERR_STAT V_PAR_ERR_STAT(1U)
57943 #define S_CRC_CLEAR 3
57944 #define V_CRC_CLEAR(x) ((x) << S_CRC_CLEAR)
57945 #define F_CRC_CLEAR V_CRC_CLEAR(1U)
57947 #define S_PAR_LAT_MODE 0
57948 #define M_PAR_LAT_MODE 0x7U
57949 #define V_PAR_LAT_MODE(x) ((x) << S_PAR_LAT_MODE)
57950 #define G_PAR_LAT_MODE(x) (((x) >> S_PAR_LAT_MODE) & M_PAR_LAT_MODE)
57952 #define A_MC_LMC_SMR6 0x40258
57954 #define S_TCCD_L 10
57955 #define M_TCCD_L 0x7U
57956 #define V_TCCD_L(x) ((x) << S_TCCD_L)
57957 #define G_TCCD_L(x) (((x) >> S_TCCD_L) & M_TCCD_L)
57959 #define S_SRM6_RFU 7
57960 #define M_SRM6_RFU 0x7U
57961 #define V_SRM6_RFU(x) ((x) << S_SRM6_RFU)
57962 #define G_SRM6_RFU(x) (((x) >> S_SRM6_RFU) & M_SRM6_RFU)
57964 #define S_VREF_DQ_RANGE 6
57965 #define V_VREF_DQ_RANGE(x) ((x) << S_VREF_DQ_RANGE)
57966 #define F_VREF_DQ_RANGE V_VREF_DQ_RANGE(1U)
57968 #define S_VREF_DQ_VALUE 0
57969 #define M_VREF_DQ_VALUE 0x3fU
57970 #define V_VREF_DQ_VALUE(x) ((x) << S_VREF_DQ_VALUE)
57971 #define G_VREF_DQ_VALUE(x) (((x) >> S_VREF_DQ_VALUE) & M_VREF_DQ_VALUE)
57973 #define A_MC_UPCTL_DFITRDDATAEN 0x40260
57975 #define S_TRDDATA_EN 0
57976 #define M_TRDDATA_EN 0x1fU
57977 #define V_TRDDATA_EN(x) ((x) << S_TRDDATA_EN)
57978 #define G_TRDDATA_EN(x) (((x) >> S_TRDDATA_EN) & M_TRDDATA_EN)
57980 #define A_MC_UPCTL_DFITPHYRDLAT 0x40264
57982 #define S_TPHY_RDLAT 0
57983 #define M_TPHY_RDLAT 0x3fU
57984 #define V_TPHY_RDLAT(x) ((x) << S_TPHY_RDLAT)
57985 #define G_TPHY_RDLAT(x) (((x) >> S_TPHY_RDLAT) & M_TPHY_RDLAT)
57987 #define A_MC_UPCTL_DFITPHYUPDTYPE0 0x40270
57989 #define S_TPHYUPD_TYPE0 0
57990 #define M_TPHYUPD_TYPE0 0xfffU
57991 #define V_TPHYUPD_TYPE0(x) ((x) << S_TPHYUPD_TYPE0)
57992 #define G_TPHYUPD_TYPE0(x) (((x) >> S_TPHYUPD_TYPE0) & M_TPHYUPD_TYPE0)
57994 #define A_MC_UPCTL_DFITPHYUPDTYPE1 0x40274
57996 #define S_TPHYUPD_TYPE1 0
57997 #define M_TPHYUPD_TYPE1 0xfffU
57998 #define V_TPHYUPD_TYPE1(x) ((x) << S_TPHYUPD_TYPE1)
57999 #define G_TPHYUPD_TYPE1(x) (((x) >> S_TPHYUPD_TYPE1) & M_TPHYUPD_TYPE1)
58001 #define A_MC_UPCTL_DFITPHYUPDTYPE2 0x40278
58003 #define S_TPHYUPD_TYPE2 0
58004 #define M_TPHYUPD_TYPE2 0xfffU
58005 #define V_TPHYUPD_TYPE2(x) ((x) << S_TPHYUPD_TYPE2)
58006 #define G_TPHYUPD_TYPE2(x) (((x) >> S_TPHYUPD_TYPE2) & M_TPHYUPD_TYPE2)
58008 #define A_MC_UPCTL_DFITPHYUPDTYPE3 0x4027c
58010 #define S_TPHYUPD_TYPE3 0
58011 #define M_TPHYUPD_TYPE3 0xfffU
58012 #define V_TPHYUPD_TYPE3(x) ((x) << S_TPHYUPD_TYPE3)
58013 #define G_TPHYUPD_TYPE3(x) (((x) >> S_TPHYUPD_TYPE3) & M_TPHYUPD_TYPE3)
58015 #define A_MC_UPCTL_DFITCTRLUPDMIN 0x40280
58017 #define S_TCTRLUPD_MIN 0
58018 #define M_TCTRLUPD_MIN 0xffffU
58019 #define V_TCTRLUPD_MIN(x) ((x) << S_TCTRLUPD_MIN)
58020 #define G_TCTRLUPD_MIN(x) (((x) >> S_TCTRLUPD_MIN) & M_TCTRLUPD_MIN)
58022 #define A_MC_LMC_ODTR0 0x40280
58025 #define V_RK0W(x) ((x) << S_RK0W)
58026 #define F_RK0W V_RK0W(1U)
58029 #define V_RK0R(x) ((x) << S_RK0R)
58030 #define F_RK0R V_RK0R(1U)
58032 #define A_MC_UPCTL_DFITCTRLUPDMAX 0x40284
58034 #define S_TCTRLUPD_MAX 0
58035 #define M_TCTRLUPD_MAX 0xffffU
58036 #define V_TCTRLUPD_MAX(x) ((x) << S_TCTRLUPD_MAX)
58037 #define G_TCTRLUPD_MAX(x) (((x) >> S_TCTRLUPD_MAX) & M_TCTRLUPD_MAX)
58039 #define A_MC_UPCTL_DFITCTRLUPDDLY 0x40288
58041 #define S_TCTRLUPD_DLY 0
58042 #define M_TCTRLUPD_DLY 0xfU
58043 #define V_TCTRLUPD_DLY(x) ((x) << S_TCTRLUPD_DLY)
58044 #define G_TCTRLUPD_DLY(x) (((x) >> S_TCTRLUPD_DLY) & M_TCTRLUPD_DLY)
58046 #define A_MC_UPCTL_DFIUPDCFG 0x40290
58048 #define S_DFI_PHYUPD_EN 1
58049 #define V_DFI_PHYUPD_EN(x) ((x) << S_DFI_PHYUPD_EN)
58050 #define F_DFI_PHYUPD_EN V_DFI_PHYUPD_EN(1U)
58052 #define S_DFI_CTRLUPD_EN 0
58053 #define V_DFI_CTRLUPD_EN(x) ((x) << S_DFI_CTRLUPD_EN)
58054 #define F_DFI_CTRLUPD_EN V_DFI_CTRLUPD_EN(1U)
58056 #define A_MC_UPCTL_DFITREFMSKI 0x40294
58058 #define S_TREFMSKI 0
58059 #define M_TREFMSKI 0xffU
58060 #define V_TREFMSKI(x) ((x) << S_TREFMSKI)
58061 #define G_TREFMSKI(x) (((x) >> S_TREFMSKI) & M_TREFMSKI)
58063 #define A_MC_UPCTL_DFITCTRLUPDI 0x40298
58064 #define A_MC_UPCTL_DFITRCFG0 0x402ac
58066 #define S_DFI_WRLVL_RANK_SEL 16
58067 #define M_DFI_WRLVL_RANK_SEL 0xfU
58068 #define V_DFI_WRLVL_RANK_SEL(x) ((x) << S_DFI_WRLVL_RANK_SEL)
58069 #define G_DFI_WRLVL_RANK_SEL(x) (((x) >> S_DFI_WRLVL_RANK_SEL) & M_DFI_WRLVL_RANK_SEL)
58071 #define S_DFI_RDLVL_EDGE 4
58072 #define M_DFI_RDLVL_EDGE 0x1ffU
58073 #define V_DFI_RDLVL_EDGE(x) ((x) << S_DFI_RDLVL_EDGE)
58074 #define G_DFI_RDLVL_EDGE(x) (((x) >> S_DFI_RDLVL_EDGE) & M_DFI_RDLVL_EDGE)
58076 #define S_DFI_RDLVL_RANK_SEL 0
58077 #define M_DFI_RDLVL_RANK_SEL 0xfU
58078 #define V_DFI_RDLVL_RANK_SEL(x) ((x) << S_DFI_RDLVL_RANK_SEL)
58079 #define G_DFI_RDLVL_RANK_SEL(x) (((x) >> S_DFI_RDLVL_RANK_SEL) & M_DFI_RDLVL_RANK_SEL)
58081 #define A_MC_UPCTL_DFITRSTAT0 0x402b0
58083 #define S_DFI_WRLVL_MODE 16
58084 #define M_DFI_WRLVL_MODE 0x3U
58085 #define V_DFI_WRLVL_MODE(x) ((x) << S_DFI_WRLVL_MODE)
58086 #define G_DFI_WRLVL_MODE(x) (((x) >> S_DFI_WRLVL_MODE) & M_DFI_WRLVL_MODE)
58088 #define S_DFI_RDLVL_GATE_MODE 8
58089 #define M_DFI_RDLVL_GATE_MODE 0x3U
58090 #define V_DFI_RDLVL_GATE_MODE(x) ((x) << S_DFI_RDLVL_GATE_MODE)
58091 #define G_DFI_RDLVL_GATE_MODE(x) (((x) >> S_DFI_RDLVL_GATE_MODE) & M_DFI_RDLVL_GATE_MODE)
58093 #define S_DFI_RDLVL_MODE 0
58094 #define M_DFI_RDLVL_MODE 0x3U
58095 #define V_DFI_RDLVL_MODE(x) ((x) << S_DFI_RDLVL_MODE)
58096 #define G_DFI_RDLVL_MODE(x) (((x) >> S_DFI_RDLVL_MODE) & M_DFI_RDLVL_MODE)
58098 #define A_MC_UPCTL_DFITRWRLVLEN 0x402b4
58100 #define S_DFI_WRLVL_EN 0
58101 #define M_DFI_WRLVL_EN 0x1ffU
58102 #define V_DFI_WRLVL_EN(x) ((x) << S_DFI_WRLVL_EN)
58103 #define G_DFI_WRLVL_EN(x) (((x) >> S_DFI_WRLVL_EN) & M_DFI_WRLVL_EN)
58105 #define A_MC_UPCTL_DFITRRDLVLEN 0x402b8
58107 #define S_DFI_RDLVL_EN 0
58108 #define M_DFI_RDLVL_EN 0x1ffU
58109 #define V_DFI_RDLVL_EN(x) ((x) << S_DFI_RDLVL_EN)
58110 #define G_DFI_RDLVL_EN(x) (((x) >> S_DFI_RDLVL_EN) & M_DFI_RDLVL_EN)
58112 #define A_MC_UPCTL_DFITRRDLVLGATEEN 0x402bc
58114 #define S_DFI_RDLVL_GATE_EN 0
58115 #define M_DFI_RDLVL_GATE_EN 0x1ffU
58116 #define V_DFI_RDLVL_GATE_EN(x) ((x) << S_DFI_RDLVL_GATE_EN)
58117 #define G_DFI_RDLVL_GATE_EN(x) (((x) >> S_DFI_RDLVL_GATE_EN) & M_DFI_RDLVL_GATE_EN)
58119 #define A_MC_UPCTL_DFISTSTAT0 0x402c0
58121 #define S_DFI_DATA_BYTE_DISABLE 16
58122 #define M_DFI_DATA_BYTE_DISABLE 0x1ffU
58123 #define V_DFI_DATA_BYTE_DISABLE(x) ((x) << S_DFI_DATA_BYTE_DISABLE)
58124 #define G_DFI_DATA_BYTE_DISABLE(x) (((x) >> S_DFI_DATA_BYTE_DISABLE) & M_DFI_DATA_BYTE_DISABLE)
58126 #define S_DFI_FREQ_RATIO 4
58127 #define M_DFI_FREQ_RATIO 0x3U
58128 #define V_DFI_FREQ_RATIO(x) ((x) << S_DFI_FREQ_RATIO)
58129 #define G_DFI_FREQ_RATIO(x) (((x) >> S_DFI_FREQ_RATIO) & M_DFI_FREQ_RATIO)
58131 #define S_DFI_INIT_START0 1
58132 #define V_DFI_INIT_START0(x) ((x) << S_DFI_INIT_START0)
58133 #define F_DFI_INIT_START0 V_DFI_INIT_START0(1U)
58135 #define S_DFI_INIT_COMPLETE 0
58136 #define V_DFI_INIT_COMPLETE(x) ((x) << S_DFI_INIT_COMPLETE)
58137 #define F_DFI_INIT_COMPLETE V_DFI_INIT_COMPLETE(1U)
58139 #define A_MC_UPCTL_DFISTCFG0 0x402c4
58141 #define S_DFI_DATA_BYTE_DISABLE_EN 2
58142 #define V_DFI_DATA_BYTE_DISABLE_EN(x) ((x) << S_DFI_DATA_BYTE_DISABLE_EN)
58143 #define F_DFI_DATA_BYTE_DISABLE_EN V_DFI_DATA_BYTE_DISABLE_EN(1U)
58145 #define S_DFI_FREQ_RATIO_EN 1
58146 #define V_DFI_FREQ_RATIO_EN(x) ((x) << S_DFI_FREQ_RATIO_EN)
58147 #define F_DFI_FREQ_RATIO_EN V_DFI_FREQ_RATIO_EN(1U)
58149 #define S_DFI_INIT_START 0
58150 #define V_DFI_INIT_START(x) ((x) << S_DFI_INIT_START)
58151 #define F_DFI_INIT_START V_DFI_INIT_START(1U)
58153 #define A_MC_UPCTL_DFISTCFG1 0x402c8
58155 #define S_DFI_DRAM_CLK_DISABLE_EN_DPD 1
58156 #define V_DFI_DRAM_CLK_DISABLE_EN_DPD(x) ((x) << S_DFI_DRAM_CLK_DISABLE_EN_DPD)
58157 #define F_DFI_DRAM_CLK_DISABLE_EN_DPD V_DFI_DRAM_CLK_DISABLE_EN_DPD(1U)
58159 #define S_DFI_DRAM_CLK_DISABLE_EN 0
58160 #define V_DFI_DRAM_CLK_DISABLE_EN(x) ((x) << S_DFI_DRAM_CLK_DISABLE_EN)
58161 #define F_DFI_DRAM_CLK_DISABLE_EN V_DFI_DRAM_CLK_DISABLE_EN(1U)
58163 #define A_MC_UPCTL_DFITDRAMCLKEN 0x402d0
58165 #define S_TDRAM_CLK_ENABLE 0
58166 #define M_TDRAM_CLK_ENABLE 0xfU
58167 #define V_TDRAM_CLK_ENABLE(x) ((x) << S_TDRAM_CLK_ENABLE)
58168 #define G_TDRAM_CLK_ENABLE(x) (((x) >> S_TDRAM_CLK_ENABLE) & M_TDRAM_CLK_ENABLE)
58170 #define A_MC_UPCTL_DFITDRAMCLKDIS 0x402d4
58172 #define S_TDRAM_CLK_DISABLE 0
58173 #define M_TDRAM_CLK_DISABLE 0xfU
58174 #define V_TDRAM_CLK_DISABLE(x) ((x) << S_TDRAM_CLK_DISABLE)
58175 #define G_TDRAM_CLK_DISABLE(x) (((x) >> S_TDRAM_CLK_DISABLE) & M_TDRAM_CLK_DISABLE)
58177 #define A_MC_UPCTL_DFISTCFG2 0x402d8
58179 #define S_PARITY_EN 1
58180 #define V_PARITY_EN(x) ((x) << S_PARITY_EN)
58181 #define F_PARITY_EN V_PARITY_EN(1U)
58183 #define S_PARITY_INTR_EN 0
58184 #define V_PARITY_INTR_EN(x) ((x) << S_PARITY_INTR_EN)
58185 #define F_PARITY_INTR_EN V_PARITY_INTR_EN(1U)
58187 #define A_MC_UPCTL_DFISTPARCLR 0x402dc
58189 #define S_PARITY_LOG_CLR 1
58190 #define V_PARITY_LOG_CLR(x) ((x) << S_PARITY_LOG_CLR)
58191 #define F_PARITY_LOG_CLR V_PARITY_LOG_CLR(1U)
58193 #define S_PARITY_INTR_CLR 0
58194 #define V_PARITY_INTR_CLR(x) ((x) << S_PARITY_INTR_CLR)
58195 #define F_PARITY_INTR_CLR V_PARITY_INTR_CLR(1U)
58197 #define A_MC_UPCTL_DFISTPARLOG 0x402e0
58198 #define A_MC_UPCTL_DFILPCFG0 0x402f0
58200 #define S_DFI_LP_WAKEUP_DPD 28
58201 #define M_DFI_LP_WAKEUP_DPD 0xfU
58202 #define V_DFI_LP_WAKEUP_DPD(x) ((x) << S_DFI_LP_WAKEUP_DPD)
58203 #define G_DFI_LP_WAKEUP_DPD(x) (((x) >> S_DFI_LP_WAKEUP_DPD) & M_DFI_LP_WAKEUP_DPD)
58205 #define S_DFI_LP_EN_DPD 24
58206 #define V_DFI_LP_EN_DPD(x) ((x) << S_DFI_LP_EN_DPD)
58207 #define F_DFI_LP_EN_DPD V_DFI_LP_EN_DPD(1U)
58209 #define S_DFI_TLP_RESP 16
58210 #define M_DFI_TLP_RESP 0xfU
58211 #define V_DFI_TLP_RESP(x) ((x) << S_DFI_TLP_RESP)
58212 #define G_DFI_TLP_RESP(x) (((x) >> S_DFI_TLP_RESP) & M_DFI_TLP_RESP)
58214 #define S_DFI_LP_EN_SR 8
58215 #define V_DFI_LP_EN_SR(x) ((x) << S_DFI_LP_EN_SR)
58216 #define F_DFI_LP_EN_SR V_DFI_LP_EN_SR(1U)
58218 #define S_DFI_LP_WAKEUP_PD 4
58219 #define M_DFI_LP_WAKEUP_PD 0xfU
58220 #define V_DFI_LP_WAKEUP_PD(x) ((x) << S_DFI_LP_WAKEUP_PD)
58221 #define G_DFI_LP_WAKEUP_PD(x) (((x) >> S_DFI_LP_WAKEUP_PD) & M_DFI_LP_WAKEUP_PD)
58223 #define S_DFI_LP_EN_PD 0
58224 #define V_DFI_LP_EN_PD(x) ((x) << S_DFI_LP_EN_PD)
58225 #define F_DFI_LP_EN_PD V_DFI_LP_EN_PD(1U)
58227 #define A_MC_UPCTL_DFITRWRLVLRESP0 0x40300
58228 #define A_MC_UPCTL_DFITRWRLVLRESP1 0x40304
58229 #define A_MC_LMC_CALSTAT 0x40304
58231 #define S_PHYUPD_ERR 28
58232 #define M_PHYUPD_ERR 0xfU
58233 #define V_PHYUPD_ERR(x) ((x) << S_PHYUPD_ERR)
58234 #define G_PHYUPD_ERR(x) (((x) >> S_PHYUPD_ERR) & M_PHYUPD_ERR)
58236 #define S_PHYUPD_BUSY 27
58237 #define V_PHYUPD_BUSY(x) ((x) << S_PHYUPD_BUSY)
58238 #define F_PHYUPD_BUSY V_PHYUPD_BUSY(1U)
58240 #define A_MC_UPCTL_DFITRWRLVLRESP2 0x40308
58242 #define S_DFI_WRLVL_RESP2 0
58243 #define M_DFI_WRLVL_RESP2 0xffU
58244 #define V_DFI_WRLVL_RESP2(x) ((x) << S_DFI_WRLVL_RESP2)
58245 #define G_DFI_WRLVL_RESP2(x) (((x) >> S_DFI_WRLVL_RESP2) & M_DFI_WRLVL_RESP2)
58247 #define A_MC_UPCTL_DFITRRDLVLRESP0 0x4030c
58248 #define A_MC_UPCTL_DFITRRDLVLRESP1 0x40310
58249 #define A_MC_UPCTL_DFITRRDLVLRESP2 0x40314
58251 #define S_DFI_RDLVL_RESP2 0
58252 #define M_DFI_RDLVL_RESP2 0xffU
58253 #define V_DFI_RDLVL_RESP2(x) ((x) << S_DFI_RDLVL_RESP2)
58254 #define G_DFI_RDLVL_RESP2(x) (((x) >> S_DFI_RDLVL_RESP2) & M_DFI_RDLVL_RESP2)
58256 #define A_MC_UPCTL_DFITRWRLVLDELAY0 0x40318
58257 #define A_MC_UPCTL_DFITRWRLVLDELAY1 0x4031c
58258 #define A_MC_UPCTL_DFITRWRLVLDELAY2 0x40320
58260 #define S_DFI_WRLVL_DELAY2 0
58261 #define M_DFI_WRLVL_DELAY2 0xffU
58262 #define V_DFI_WRLVL_DELAY2(x) ((x) << S_DFI_WRLVL_DELAY2)
58263 #define G_DFI_WRLVL_DELAY2(x) (((x) >> S_DFI_WRLVL_DELAY2) & M_DFI_WRLVL_DELAY2)
58265 #define A_MC_UPCTL_DFITRRDLVLDELAY0 0x40324
58266 #define A_MC_UPCTL_DFITRRDLVLDELAY1 0x40328
58267 #define A_MC_UPCTL_DFITRRDLVLDELAY2 0x4032c
58269 #define S_DFI_RDLVL_DELAY2 0
58270 #define M_DFI_RDLVL_DELAY2 0xffU
58271 #define V_DFI_RDLVL_DELAY2(x) ((x) << S_DFI_RDLVL_DELAY2)
58272 #define G_DFI_RDLVL_DELAY2(x) (((x) >> S_DFI_RDLVL_DELAY2) & M_DFI_RDLVL_DELAY2)
58274 #define A_MC_UPCTL_DFITRRDLVLGATEDELAY0 0x40330
58275 #define A_MC_LMC_T_PHYUPD0 0x40330
58276 #define A_MC_UPCTL_DFITRRDLVLGATEDELAY1 0x40334
58277 #define A_MC_LMC_T_PHYUPD1 0x40334
58278 #define A_MC_UPCTL_DFITRRDLVLGATEDELAY2 0x40338
58280 #define S_DFI_RDLVL_GATE_DELAY2 0
58281 #define M_DFI_RDLVL_GATE_DELAY2 0xffU
58282 #define V_DFI_RDLVL_GATE_DELAY2(x) ((x) << S_DFI_RDLVL_GATE_DELAY2)
58283 #define G_DFI_RDLVL_GATE_DELAY2(x) (((x) >> S_DFI_RDLVL_GATE_DELAY2) & M_DFI_RDLVL_GATE_DELAY2)
58285 #define A_MC_LMC_T_PHYUPD2 0x40338
58286 #define A_MC_UPCTL_DFITRCMD 0x4033c
58288 #define S_DFITRCMD_START 31
58289 #define V_DFITRCMD_START(x) ((x) << S_DFITRCMD_START)
58290 #define F_DFITRCMD_START V_DFITRCMD_START(1U)
58292 #define S_DFITRCMD_EN 4
58293 #define M_DFITRCMD_EN 0x1ffU
58294 #define V_DFITRCMD_EN(x) ((x) << S_DFITRCMD_EN)
58295 #define G_DFITRCMD_EN(x) (((x) >> S_DFITRCMD_EN) & M_DFITRCMD_EN)
58297 #define S_DFITRCMD_OPCODE 0
58298 #define M_DFITRCMD_OPCODE 0x3U
58299 #define V_DFITRCMD_OPCODE(x) ((x) << S_DFITRCMD_OPCODE)
58300 #define G_DFITRCMD_OPCODE(x) (((x) >> S_DFITRCMD_OPCODE) & M_DFITRCMD_OPCODE)
58302 #define A_MC_LMC_T_PHYUPD3 0x4033c
58303 #define A_MC_UPCTL_IPVR 0x403f8
58304 #define A_MC_UPCTL_IPTR 0x403fc
58305 #define A_MC_P_DDRPHY_RST_CTRL 0x41300
58307 #define S_PHY_DRAM_WL 17
58308 #define M_PHY_DRAM_WL 0x1fU
58309 #define V_PHY_DRAM_WL(x) ((x) << S_PHY_DRAM_WL)
58310 #define G_PHY_DRAM_WL(x) (((x) >> S_PHY_DRAM_WL) & M_PHY_DRAM_WL)
58312 #define S_PHY_CALIB_DONE 5
58313 #define V_PHY_CALIB_DONE(x) ((x) << S_PHY_CALIB_DONE)
58314 #define F_PHY_CALIB_DONE V_PHY_CALIB_DONE(1U)
58316 #define S_CTL_CAL_REQ 4
58317 #define V_CTL_CAL_REQ(x) ((x) << S_CTL_CAL_REQ)
58318 #define F_CTL_CAL_REQ V_CTL_CAL_REQ(1U)
58320 #define S_CTL_CKE 3
58321 #define V_CTL_CKE(x) ((x) << S_CTL_CKE)
58322 #define F_CTL_CKE V_CTL_CKE(1U)
58324 #define S_CTL_RST_N 2
58325 #define V_CTL_RST_N(x) ((x) << S_CTL_RST_N)
58326 #define F_CTL_RST_N V_CTL_RST_N(1U)
58328 #define S_PHY_CAL_REQ 21
58329 #define V_PHY_CAL_REQ(x) ((x) << S_PHY_CAL_REQ)
58330 #define F_PHY_CAL_REQ V_PHY_CAL_REQ(1U)
58332 #define S_T6_PHY_DRAM_WL 17
58333 #define M_T6_PHY_DRAM_WL 0xfU
58334 #define V_T6_PHY_DRAM_WL(x) ((x) << S_T6_PHY_DRAM_WL)
58335 #define G_T6_PHY_DRAM_WL(x) (((x) >> S_T6_PHY_DRAM_WL) & M_T6_PHY_DRAM_WL)
58337 #define A_MC_P_PERFORMANCE_CTRL 0x41304
58339 #define S_BUF_USE_TH 12
58340 #define M_BUF_USE_TH 0x7U
58341 #define V_BUF_USE_TH(x) ((x) << S_BUF_USE_TH)
58342 #define G_BUF_USE_TH(x) (((x) >> S_BUF_USE_TH) & M_BUF_USE_TH)
58344 #define S_MC_IDLE_TH 8
58345 #define M_MC_IDLE_TH 0xfU
58346 #define V_MC_IDLE_TH(x) ((x) << S_MC_IDLE_TH)
58347 #define G_MC_IDLE_TH(x) (((x) >> S_MC_IDLE_TH) & M_MC_IDLE_TH)
58349 #define S_RMW_DEFER_EN 7
58350 #define V_RMW_DEFER_EN(x) ((x) << S_RMW_DEFER_EN)
58351 #define F_RMW_DEFER_EN V_RMW_DEFER_EN(1U)
58353 #define S_DDR3_BRBC_MODE 6
58354 #define V_DDR3_BRBC_MODE(x) ((x) << S_DDR3_BRBC_MODE)
58355 #define F_DDR3_BRBC_MODE V_DDR3_BRBC_MODE(1U)
58357 #define S_RMW_DWRITE_EN 5
58358 #define V_RMW_DWRITE_EN(x) ((x) << S_RMW_DWRITE_EN)
58359 #define F_RMW_DWRITE_EN V_RMW_DWRITE_EN(1U)
58361 #define S_RMW_MERGE_EN 4
58362 #define V_RMW_MERGE_EN(x) ((x) << S_RMW_MERGE_EN)
58363 #define F_RMW_MERGE_EN V_RMW_MERGE_EN(1U)
58365 #define S_SYNC_PAB_EN 3
58366 #define V_SYNC_PAB_EN(x) ((x) << S_SYNC_PAB_EN)
58367 #define F_SYNC_PAB_EN V_SYNC_PAB_EN(1U)
58369 #define A_MC_P_ECC_CTRL 0x41308
58370 #define A_MC_P_PAR_ENABLE 0x4130c
58371 #define A_MC_P_PAR_CAUSE 0x41310
58372 #define A_MC_P_INT_ENABLE 0x41314
58373 #define A_MC_P_INT_CAUSE 0x41318
58374 #define A_MC_P_ECC_STATUS 0x4131c
58375 #define A_MC_P_PHY_CTRL 0x41320
58376 #define A_MC_P_STATIC_CFG_STATUS 0x41324
58378 #define S_STATIC_AWEN 23
58379 #define V_STATIC_AWEN(x) ((x) << S_STATIC_AWEN)
58380 #define F_STATIC_AWEN V_STATIC_AWEN(1U)
58382 #define S_STATIC_SWLAT 18
58383 #define M_STATIC_SWLAT 0x1fU
58384 #define V_STATIC_SWLAT(x) ((x) << S_STATIC_SWLAT)
58385 #define G_STATIC_SWLAT(x) (((x) >> S_STATIC_SWLAT) & M_STATIC_SWLAT)
58387 #define S_STATIC_WLAT 17
58388 #define V_STATIC_WLAT(x) ((x) << S_STATIC_WLAT)
58389 #define F_STATIC_WLAT V_STATIC_WLAT(1U)
58391 #define S_STATIC_ALIGN 16
58392 #define V_STATIC_ALIGN(x) ((x) << S_STATIC_ALIGN)
58393 #define F_STATIC_ALIGN V_STATIC_ALIGN(1U)
58395 #define S_STATIC_SLAT 11
58396 #define M_STATIC_SLAT 0x1fU
58397 #define V_STATIC_SLAT(x) ((x) << S_STATIC_SLAT)
58398 #define G_STATIC_SLAT(x) (((x) >> S_STATIC_SLAT) & M_STATIC_SLAT)
58400 #define S_STATIC_LAT 10
58401 #define V_STATIC_LAT(x) ((x) << S_STATIC_LAT)
58402 #define F_STATIC_LAT V_STATIC_LAT(1U)
58404 #define S_STATIC_PP64 26
58405 #define V_STATIC_PP64(x) ((x) << S_STATIC_PP64)
58406 #define F_STATIC_PP64 V_STATIC_PP64(1U)
58408 #define S_STATIC_PPEN 25
58409 #define V_STATIC_PPEN(x) ((x) << S_STATIC_PPEN)
58410 #define F_STATIC_PPEN V_STATIC_PPEN(1U)
58412 #define S_STATIC_OOOEN 24
58413 #define V_STATIC_OOOEN(x) ((x) << S_STATIC_OOOEN)
58414 #define F_STATIC_OOOEN V_STATIC_OOOEN(1U)
58416 #define A_MC_P_CORE_PCTL_STAT 0x41328
58417 #define A_MC_P_DEBUG_CNT 0x4132c
58418 #define A_MC_CE_ERR_DATA_RDATA 0x41330
58419 #define A_MC_CE_COR_DATA_RDATA 0x41350
58420 #define A_MC_UE_ERR_DATA_RDATA 0x41370
58421 #define A_MC_UE_COR_DATA_RDATA 0x41390
58422 #define A_MC_CE_ADDR 0x413b0
58423 #define A_MC_UE_ADDR 0x413b4
58424 #define A_MC_P_DEEP_SLEEP 0x413b8
58426 #define S_SLEEPSTATUS 1
58427 #define V_SLEEPSTATUS(x) ((x) << S_SLEEPSTATUS)
58428 #define F_SLEEPSTATUS V_SLEEPSTATUS(1U)
58430 #define S_SLEEPREQ 0
58431 #define V_SLEEPREQ(x) ((x) << S_SLEEPREQ)
58432 #define F_SLEEPREQ V_SLEEPREQ(1U)
58434 #define A_MC_P_FPGA_BONUS 0x413bc
58435 #define A_MC_P_DEBUG_CFG 0x413c0
58436 #define A_MC_P_DEBUG_RPT 0x413c4
58437 #define A_MC_P_PHY_ADR_CK_EN 0x413c8
58439 #define S_ADR_CK_EN 0
58440 #define V_ADR_CK_EN(x) ((x) << S_ADR_CK_EN)
58441 #define F_ADR_CK_EN V_ADR_CK_EN(1U)
58443 #define A_MC_CE_ERR_ECC_DATA0 0x413d0
58444 #define A_MC_CE_ERR_ECC_DATA1 0x413d4
58445 #define A_MC_UE_ERR_ECC_DATA0 0x413d8
58446 #define A_MC_UE_ERR_ECC_DATA1 0x413dc
58447 #define A_MC_P_RMW_PRIO 0x413f0
58449 #define S_WR_HI_TH 24
58450 #define M_WR_HI_TH 0xffU
58451 #define V_WR_HI_TH(x) ((x) << S_WR_HI_TH)
58452 #define G_WR_HI_TH(x) (((x) >> S_WR_HI_TH) & M_WR_HI_TH)
58454 #define S_WR_MID_TH 16
58455 #define M_WR_MID_TH 0xffU
58456 #define V_WR_MID_TH(x) ((x) << S_WR_MID_TH)
58457 #define G_WR_MID_TH(x) (((x) >> S_WR_MID_TH) & M_WR_MID_TH)
58459 #define S_RD_HI_TH 8
58460 #define M_RD_HI_TH 0xffU
58461 #define V_RD_HI_TH(x) ((x) << S_RD_HI_TH)
58462 #define G_RD_HI_TH(x) (((x) >> S_RD_HI_TH) & M_RD_HI_TH)
58464 #define S_RD_MID_TH 0
58465 #define M_RD_MID_TH 0xffU
58466 #define V_RD_MID_TH(x) ((x) << S_RD_MID_TH)
58467 #define G_RD_MID_TH(x) (((x) >> S_RD_MID_TH) & M_RD_MID_TH)
58469 #define A_MC_P_BIST_CMD 0x41400
58471 #define S_BURST_LEN 16
58472 #define M_BURST_LEN 0x3U
58473 #define V_BURST_LEN(x) ((x) << S_BURST_LEN)
58474 #define G_BURST_LEN(x) (((x) >> S_BURST_LEN) & M_BURST_LEN)
58476 #define A_MC_P_BIST_CMD_ADDR 0x41404
58477 #define A_MC_P_BIST_CMD_LEN 0x41408
58478 #define A_MC_P_BIST_DATA_PATTERN 0x4140c
58479 #define A_MC_P_BIST_USER_WDATA0 0x41414
58480 #define A_MC_P_BIST_USER_WMASK0 0x41414
58481 #define A_MC_P_BIST_USER_WDATA1 0x41418
58482 #define A_MC_P_BIST_USER_WMASK1 0x41418
58483 #define A_MC_P_BIST_USER_WDATA2 0x4141c
58485 #define S_USER_DATA_MASK 8
58486 #define M_USER_DATA_MASK 0x1ffU
58487 #define V_USER_DATA_MASK(x) ((x) << S_USER_DATA_MASK)
58488 #define G_USER_DATA_MASK(x) (((x) >> S_USER_DATA_MASK) & M_USER_DATA_MASK)
58490 #define A_MC_P_BIST_USER_WMASK2 0x4141c
58492 #define S_MASK_128_1 9
58493 #define V_MASK_128_1(x) ((x) << S_MASK_128_1)
58494 #define F_MASK_128_1 V_MASK_128_1(1U)
58496 #define S_MASK_128_0 8
58497 #define V_MASK_128_0(x) ((x) << S_MASK_128_0)
58498 #define F_MASK_128_0 V_MASK_128_0(1U)
58500 #define S_USER_MASK_ECC 0
58501 #define M_USER_MASK_ECC 0xffU
58502 #define V_USER_MASK_ECC(x) ((x) << S_USER_MASK_ECC)
58503 #define G_USER_MASK_ECC(x) (((x) >> S_USER_MASK_ECC) & M_USER_MASK_ECC)
58505 #define A_MC_P_BIST_NUM_ERR 0x41480
58506 #define A_MC_P_BIST_ERR_FIRST_ADDR 0x41484
58507 #define A_MC_P_BIST_STATUS_RDATA 0x41488
58508 #define A_MC_P_BIST_CRC_SEED 0x414d0
58509 #define A_MC_DDRPHY_DP18_DATA_BIT_ENABLE0 0x44000
58511 #define S_DATA_BIT_ENABLE_0_15 0
58512 #define M_DATA_BIT_ENABLE_0_15 0xffffU
58513 #define V_DATA_BIT_ENABLE_0_15(x) ((x) << S_DATA_BIT_ENABLE_0_15)
58514 #define G_DATA_BIT_ENABLE_0_15(x) (((x) >> S_DATA_BIT_ENABLE_0_15) & M_DATA_BIT_ENABLE_0_15)
58516 #define A_MC_DDRPHY_DP18_DATA_BIT_ENABLE1 0x44004
58518 #define S_DATA_BIT_ENABLE_16_23 8
58519 #define M_DATA_BIT_ENABLE_16_23 0xffU
58520 #define V_DATA_BIT_ENABLE_16_23(x) ((x) << S_DATA_BIT_ENABLE_16_23)
58521 #define G_DATA_BIT_ENABLE_16_23(x) (((x) >> S_DATA_BIT_ENABLE_16_23) & M_DATA_BIT_ENABLE_16_23)
58523 #define S_DFT_FORCE_OUTPUTS 7
58524 #define V_DFT_FORCE_OUTPUTS(x) ((x) << S_DFT_FORCE_OUTPUTS)
58525 #define F_DFT_FORCE_OUTPUTS V_DFT_FORCE_OUTPUTS(1U)
58527 #define S_DFT_PRBS7_GEN_EN 6
58528 #define V_DFT_PRBS7_GEN_EN(x) ((x) << S_DFT_PRBS7_GEN_EN)
58529 #define F_DFT_PRBS7_GEN_EN V_DFT_PRBS7_GEN_EN(1U)
58531 #define S_WRAPSEL 5
58532 #define V_WRAPSEL(x) ((x) << S_WRAPSEL)
58533 #define F_WRAPSEL V_WRAPSEL(1U)
58535 #define S_MRS_CMD_DATA_N0 3
58536 #define V_MRS_CMD_DATA_N0(x) ((x) << S_MRS_CMD_DATA_N0)
58537 #define F_MRS_CMD_DATA_N0 V_MRS_CMD_DATA_N0(1U)
58539 #define S_MRS_CMD_DATA_N1 2
58540 #define V_MRS_CMD_DATA_N1(x) ((x) << S_MRS_CMD_DATA_N1)
58541 #define F_MRS_CMD_DATA_N1 V_MRS_CMD_DATA_N1(1U)
58543 #define S_MRS_CMD_DATA_N2 1
58544 #define V_MRS_CMD_DATA_N2(x) ((x) << S_MRS_CMD_DATA_N2)
58545 #define F_MRS_CMD_DATA_N2 V_MRS_CMD_DATA_N2(1U)
58547 #define S_MRS_CMD_DATA_N3 0
58548 #define V_MRS_CMD_DATA_N3(x) ((x) << S_MRS_CMD_DATA_N3)
58549 #define F_MRS_CMD_DATA_N3 V_MRS_CMD_DATA_N3(1U)
58551 #define S_DP18_WRAPSEL 5
58552 #define V_DP18_WRAPSEL(x) ((x) << S_DP18_WRAPSEL)
58553 #define F_DP18_WRAPSEL V_DP18_WRAPSEL(1U)
58555 #define S_HW_VALUE 4
58556 #define V_HW_VALUE(x) ((x) << S_HW_VALUE)
58557 #define F_HW_VALUE V_HW_VALUE(1U)
58559 #define A_MC_DDRPHY_DP18_DATA_BIT_DIR0 0x44008
58561 #define S_DATA_BIT_DIR_0_15 0
58562 #define M_DATA_BIT_DIR_0_15 0xffffU
58563 #define V_DATA_BIT_DIR_0_15(x) ((x) << S_DATA_BIT_DIR_0_15)
58564 #define G_DATA_BIT_DIR_0_15(x) (((x) >> S_DATA_BIT_DIR_0_15) & M_DATA_BIT_DIR_0_15)
58566 #define A_MC_DDRPHY_DP18_DATA_BIT_DIR1 0x4400c
58568 #define S_DATA_BIT_DIR_16_23 8
58569 #define M_DATA_BIT_DIR_16_23 0xffU
58570 #define V_DATA_BIT_DIR_16_23(x) ((x) << S_DATA_BIT_DIR_16_23)
58571 #define G_DATA_BIT_DIR_16_23(x) (((x) >> S_DATA_BIT_DIR_16_23) & M_DATA_BIT_DIR_16_23)
58573 #define S_WL_ADVANCE_DISABLE 7
58574 #define V_WL_ADVANCE_DISABLE(x) ((x) << S_WL_ADVANCE_DISABLE)
58575 #define F_WL_ADVANCE_DISABLE V_WL_ADVANCE_DISABLE(1U)
58577 #define S_DISABLE_PING_PONG 6
58578 #define V_DISABLE_PING_PONG(x) ((x) << S_DISABLE_PING_PONG)
58579 #define F_DISABLE_PING_PONG V_DISABLE_PING_PONG(1U)
58581 #define S_DELAY_PING_PONG_HALF 5
58582 #define V_DELAY_PING_PONG_HALF(x) ((x) << S_DELAY_PING_PONG_HALF)
58583 #define F_DELAY_PING_PONG_HALF V_DELAY_PING_PONG_HALF(1U)
58585 #define S_ADVANCE_PING_PONG 4
58586 #define V_ADVANCE_PING_PONG(x) ((x) << S_ADVANCE_PING_PONG)
58587 #define F_ADVANCE_PING_PONG V_ADVANCE_PING_PONG(1U)
58589 #define S_ATEST_MUX_CTL0 3
58590 #define V_ATEST_MUX_CTL0(x) ((x) << S_ATEST_MUX_CTL0)
58591 #define F_ATEST_MUX_CTL0 V_ATEST_MUX_CTL0(1U)
58593 #define S_ATEST_MUX_CTL1 2
58594 #define V_ATEST_MUX_CTL1(x) ((x) << S_ATEST_MUX_CTL1)
58595 #define F_ATEST_MUX_CTL1 V_ATEST_MUX_CTL1(1U)
58597 #define S_ATEST_MUX_CTL2 1
58598 #define V_ATEST_MUX_CTL2(x) ((x) << S_ATEST_MUX_CTL2)
58599 #define F_ATEST_MUX_CTL2 V_ATEST_MUX_CTL2(1U)
58601 #define S_ATEST_MUX_CTL3 0
58602 #define V_ATEST_MUX_CTL3(x) ((x) << S_ATEST_MUX_CTL3)
58603 #define F_ATEST_MUX_CTL3 V_ATEST_MUX_CTL3(1U)
58605 #define A_MC_DDRPHY_DP18_READ_CLOCK_RANK_PAIR 0x44010
58607 #define S_QUAD0_CLK16_BIT0 15
58608 #define V_QUAD0_CLK16_BIT0(x) ((x) << S_QUAD0_CLK16_BIT0)
58609 #define F_QUAD0_CLK16_BIT0 V_QUAD0_CLK16_BIT0(1U)
58611 #define S_QUAD1_CLK16_BIT1 14
58612 #define V_QUAD1_CLK16_BIT1(x) ((x) << S_QUAD1_CLK16_BIT1)
58613 #define F_QUAD1_CLK16_BIT1 V_QUAD1_CLK16_BIT1(1U)
58615 #define S_QUAD2_CLK16_BIT2 13
58616 #define V_QUAD2_CLK16_BIT2(x) ((x) << S_QUAD2_CLK16_BIT2)
58617 #define F_QUAD2_CLK16_BIT2 V_QUAD2_CLK16_BIT2(1U)
58619 #define S_QUAD3_CLK16_BIT3 12
58620 #define V_QUAD3_CLK16_BIT3(x) ((x) << S_QUAD3_CLK16_BIT3)
58621 #define F_QUAD3_CLK16_BIT3 V_QUAD3_CLK16_BIT3(1U)
58623 #define S_QUAD0_CLK18_BIT4 11
58624 #define V_QUAD0_CLK18_BIT4(x) ((x) << S_QUAD0_CLK18_BIT4)
58625 #define F_QUAD0_CLK18_BIT4 V_QUAD0_CLK18_BIT4(1U)
58627 #define S_QUAD1_CLK18_BIT5 10
58628 #define V_QUAD1_CLK18_BIT5(x) ((x) << S_QUAD1_CLK18_BIT5)
58629 #define F_QUAD1_CLK18_BIT5 V_QUAD1_CLK18_BIT5(1U)
58631 #define S_QUAD2_CLK20_BIT6 9
58632 #define V_QUAD2_CLK20_BIT6(x) ((x) << S_QUAD2_CLK20_BIT6)
58633 #define F_QUAD2_CLK20_BIT6 V_QUAD2_CLK20_BIT6(1U)
58635 #define S_QUAD3_CLK20_BIT7 8
58636 #define V_QUAD3_CLK20_BIT7(x) ((x) << S_QUAD3_CLK20_BIT7)
58637 #define F_QUAD3_CLK20_BIT7 V_QUAD3_CLK20_BIT7(1U)
58639 #define S_QUAD2_CLK22_BIT8 7
58640 #define V_QUAD2_CLK22_BIT8(x) ((x) << S_QUAD2_CLK22_BIT8)
58641 #define F_QUAD2_CLK22_BIT8 V_QUAD2_CLK22_BIT8(1U)
58643 #define S_QUAD3_CLK22_BIT9 6
58644 #define V_QUAD3_CLK22_BIT9(x) ((x) << S_QUAD3_CLK22_BIT9)
58645 #define F_QUAD3_CLK22_BIT9 V_QUAD3_CLK22_BIT9(1U)
58647 #define S_CLK16_SINGLE_ENDED_BIT10 5
58648 #define V_CLK16_SINGLE_ENDED_BIT10(x) ((x) << S_CLK16_SINGLE_ENDED_BIT10)
58649 #define F_CLK16_SINGLE_ENDED_BIT10 V_CLK16_SINGLE_ENDED_BIT10(1U)
58651 #define S_CLK18_SINGLE_ENDED_BIT11 4
58652 #define V_CLK18_SINGLE_ENDED_BIT11(x) ((x) << S_CLK18_SINGLE_ENDED_BIT11)
58653 #define F_CLK18_SINGLE_ENDED_BIT11 V_CLK18_SINGLE_ENDED_BIT11(1U)
58655 #define S_CLK20_SINGLE_ENDED_BIT12 3
58656 #define V_CLK20_SINGLE_ENDED_BIT12(x) ((x) << S_CLK20_SINGLE_ENDED_BIT12)
58657 #define F_CLK20_SINGLE_ENDED_BIT12 V_CLK20_SINGLE_ENDED_BIT12(1U)
58659 #define S_CLK22_SINGLE_ENDED_BIT13 2
58660 #define V_CLK22_SINGLE_ENDED_BIT13(x) ((x) << S_CLK22_SINGLE_ENDED_BIT13)
58661 #define F_CLK22_SINGLE_ENDED_BIT13 V_CLK22_SINGLE_ENDED_BIT13(1U)
58663 #define A_MC_DDRPHY_DP18_WRCLK_EN_RP 0x44014
58665 #define S_QUAD2_CLK18_BIT14 1
58666 #define V_QUAD2_CLK18_BIT14(x) ((x) << S_QUAD2_CLK18_BIT14)
58667 #define F_QUAD2_CLK18_BIT14 V_QUAD2_CLK18_BIT14(1U)
58669 #define S_QUAD3_CLK18_BIT15 0
58670 #define V_QUAD3_CLK18_BIT15(x) ((x) << S_QUAD3_CLK18_BIT15)
58671 #define F_QUAD3_CLK18_BIT15 V_QUAD3_CLK18_BIT15(1U)
58673 #define A_MC_DDRPHY_DP18_RX_PEAK_AMP 0x44018
58675 #define S_PEAK_AMP_CTL_SIDE0 13
58676 #define M_PEAK_AMP_CTL_SIDE0 0x7U
58677 #define V_PEAK_AMP_CTL_SIDE0(x) ((x) << S_PEAK_AMP_CTL_SIDE0)
58678 #define G_PEAK_AMP_CTL_SIDE0(x) (((x) >> S_PEAK_AMP_CTL_SIDE0) & M_PEAK_AMP_CTL_SIDE0)
58680 #define S_PEAK_AMP_CTL_SIDE1 9
58681 #define M_PEAK_AMP_CTL_SIDE1 0x7U
58682 #define V_PEAK_AMP_CTL_SIDE1(x) ((x) << S_PEAK_AMP_CTL_SIDE1)
58683 #define G_PEAK_AMP_CTL_SIDE1(x) (((x) >> S_PEAK_AMP_CTL_SIDE1) & M_PEAK_AMP_CTL_SIDE1)
58685 #define S_SXMCVREF_0_3 4
58686 #define M_SXMCVREF_0_3 0xfU
58687 #define V_SXMCVREF_0_3(x) ((x) << S_SXMCVREF_0_3)
58688 #define G_SXMCVREF_0_3(x) (((x) >> S_SXMCVREF_0_3) & M_SXMCVREF_0_3)
58690 #define S_SXPODVREF 3
58691 #define V_SXPODVREF(x) ((x) << S_SXPODVREF)
58692 #define F_SXPODVREF V_SXPODVREF(1U)
58694 #define S_DISABLE_TERMINATION 2
58695 #define V_DISABLE_TERMINATION(x) ((x) << S_DISABLE_TERMINATION)
58696 #define F_DISABLE_TERMINATION V_DISABLE_TERMINATION(1U)
58698 #define S_READ_CENTERING_MODE 0
58699 #define M_READ_CENTERING_MODE 0x3U
58700 #define V_READ_CENTERING_MODE(x) ((x) << S_READ_CENTERING_MODE)
58701 #define G_READ_CENTERING_MODE(x) (((x) >> S_READ_CENTERING_MODE) & M_READ_CENTERING_MODE)
58703 #define A_MC_DDRPHY_DP18_SYSCLK_PR 0x4401c
58705 #define S_SYSCLK_PHASE_ALIGN_RESET 6
58706 #define V_SYSCLK_PHASE_ALIGN_RESET(x) ((x) << S_SYSCLK_PHASE_ALIGN_RESET)
58707 #define F_SYSCLK_PHASE_ALIGN_RESET V_SYSCLK_PHASE_ALIGN_RESET(1U)
58709 #define A_MC_DDRPHY_DP18_DFT_DIG_EYE 0x44020
58711 #define S_DIGITAL_EYE_EN 15
58712 #define V_DIGITAL_EYE_EN(x) ((x) << S_DIGITAL_EYE_EN)
58713 #define F_DIGITAL_EYE_EN V_DIGITAL_EYE_EN(1U)
58716 #define V_BUMP(x) ((x) << S_BUMP)
58717 #define F_BUMP V_BUMP(1U)
58719 #define S_TRIG_PERIOD 13
58720 #define V_TRIG_PERIOD(x) ((x) << S_TRIG_PERIOD)
58721 #define F_TRIG_PERIOD V_TRIG_PERIOD(1U)
58723 #define S_CNTL_POL 12
58724 #define V_CNTL_POL(x) ((x) << S_CNTL_POL)
58725 #define F_CNTL_POL V_CNTL_POL(1U)
58727 #define S_CNTL_SRC 8
58728 #define V_CNTL_SRC(x) ((x) << S_CNTL_SRC)
58729 #define F_CNTL_SRC V_CNTL_SRC(1U)
58731 #define S_DIGITAL_EYE_VALUE 0
58732 #define M_DIGITAL_EYE_VALUE 0xffU
58733 #define V_DIGITAL_EYE_VALUE(x) ((x) << S_DIGITAL_EYE_VALUE)
58734 #define G_DIGITAL_EYE_VALUE(x) (((x) >> S_DIGITAL_EYE_VALUE) & M_DIGITAL_EYE_VALUE)
58736 #define A_MC_DDRPHY_DP18_DQS_RD_PHASE_SELECT_RANK_PAIR 0x44024
58738 #define S_DQSCLK_SELECT0 14
58739 #define M_DQSCLK_SELECT0 0x3U
58740 #define V_DQSCLK_SELECT0(x) ((x) << S_DQSCLK_SELECT0)
58741 #define G_DQSCLK_SELECT0(x) (((x) >> S_DQSCLK_SELECT0) & M_DQSCLK_SELECT0)
58743 #define S_RDCLK_SELECT0 12
58744 #define M_RDCLK_SELECT0 0x3U
58745 #define V_RDCLK_SELECT0(x) ((x) << S_RDCLK_SELECT0)
58746 #define G_RDCLK_SELECT0(x) (((x) >> S_RDCLK_SELECT0) & M_RDCLK_SELECT0)
58748 #define S_DQSCLK_SELECT1 10
58749 #define M_DQSCLK_SELECT1 0x3U
58750 #define V_DQSCLK_SELECT1(x) ((x) << S_DQSCLK_SELECT1)
58751 #define G_DQSCLK_SELECT1(x) (((x) >> S_DQSCLK_SELECT1) & M_DQSCLK_SELECT1)
58753 #define S_RDCLK_SELECT1 8
58754 #define M_RDCLK_SELECT1 0x3U
58755 #define V_RDCLK_SELECT1(x) ((x) << S_RDCLK_SELECT1)
58756 #define G_RDCLK_SELECT1(x) (((x) >> S_RDCLK_SELECT1) & M_RDCLK_SELECT1)
58758 #define S_DQSCLK_SELECT2 6
58759 #define M_DQSCLK_SELECT2 0x3U
58760 #define V_DQSCLK_SELECT2(x) ((x) << S_DQSCLK_SELECT2)
58761 #define G_DQSCLK_SELECT2(x) (((x) >> S_DQSCLK_SELECT2) & M_DQSCLK_SELECT2)
58763 #define S_RDCLK_SELECT2 4
58764 #define M_RDCLK_SELECT2 0x3U
58765 #define V_RDCLK_SELECT2(x) ((x) << S_RDCLK_SELECT2)
58766 #define G_RDCLK_SELECT2(x) (((x) >> S_RDCLK_SELECT2) & M_RDCLK_SELECT2)
58768 #define S_DQSCLK_SELECT3 2
58769 #define M_DQSCLK_SELECT3 0x3U
58770 #define V_DQSCLK_SELECT3(x) ((x) << S_DQSCLK_SELECT3)
58771 #define G_DQSCLK_SELECT3(x) (((x) >> S_DQSCLK_SELECT3) & M_DQSCLK_SELECT3)
58773 #define S_RDCLK_SELECT3 0
58774 #define M_RDCLK_SELECT3 0x3U
58775 #define V_RDCLK_SELECT3(x) ((x) << S_RDCLK_SELECT3)
58776 #define G_RDCLK_SELECT3(x) (((x) >> S_RDCLK_SELECT3) & M_RDCLK_SELECT3)
58778 #define A_MC_DDRPHY_DP18_DRIFT_LIMITS 0x44028
58780 #define S_MIN_RD_EYE_SIZE 8
58781 #define M_MIN_RD_EYE_SIZE 0x3fU
58782 #define V_MIN_RD_EYE_SIZE(x) ((x) << S_MIN_RD_EYE_SIZE)
58783 #define G_MIN_RD_EYE_SIZE(x) (((x) >> S_MIN_RD_EYE_SIZE) & M_MIN_RD_EYE_SIZE)
58785 #define S_MAX_DQS_DRIFT 0
58786 #define M_MAX_DQS_DRIFT 0x3fU
58787 #define V_MAX_DQS_DRIFT(x) ((x) << S_MAX_DQS_DRIFT)
58788 #define G_MAX_DQS_DRIFT(x) (((x) >> S_MAX_DQS_DRIFT) & M_MAX_DQS_DRIFT)
58790 #define A_MC_DDRPHY_DP18_DEBUG_SEL 0x4402c
58792 #define S_HS_PROBE_A_SEL 11
58793 #define M_HS_PROBE_A_SEL 0x1fU
58794 #define V_HS_PROBE_A_SEL(x) ((x) << S_HS_PROBE_A_SEL)
58795 #define G_HS_PROBE_A_SEL(x) (((x) >> S_HS_PROBE_A_SEL) & M_HS_PROBE_A_SEL)
58797 #define S_HS_PROBE_B_SEL 6
58798 #define M_HS_PROBE_B_SEL 0x1fU
58799 #define V_HS_PROBE_B_SEL(x) ((x) << S_HS_PROBE_B_SEL)
58800 #define G_HS_PROBE_B_SEL(x) (((x) >> S_HS_PROBE_B_SEL) & M_HS_PROBE_B_SEL)
58802 #define S_RD_DEBUG_SEL 3
58803 #define M_RD_DEBUG_SEL 0x7U
58804 #define V_RD_DEBUG_SEL(x) ((x) << S_RD_DEBUG_SEL)
58805 #define G_RD_DEBUG_SEL(x) (((x) >> S_RD_DEBUG_SEL) & M_RD_DEBUG_SEL)
58807 #define S_WR_DEBUG_SEL 0
58808 #define M_WR_DEBUG_SEL 0x7U
58809 #define V_WR_DEBUG_SEL(x) ((x) << S_WR_DEBUG_SEL)
58810 #define G_WR_DEBUG_SEL(x) (((x) >> S_WR_DEBUG_SEL) & M_WR_DEBUG_SEL)
58812 #define S_DP18_HS_PROBE_A_SEL 11
58813 #define M_DP18_HS_PROBE_A_SEL 0x1fU
58814 #define V_DP18_HS_PROBE_A_SEL(x) ((x) << S_DP18_HS_PROBE_A_SEL)
58815 #define G_DP18_HS_PROBE_A_SEL(x) (((x) >> S_DP18_HS_PROBE_A_SEL) & M_DP18_HS_PROBE_A_SEL)
58817 #define S_DP18_HS_PROBE_B_SEL 6
58818 #define M_DP18_HS_PROBE_B_SEL 0x1fU
58819 #define V_DP18_HS_PROBE_B_SEL(x) ((x) << S_DP18_HS_PROBE_B_SEL)
58820 #define G_DP18_HS_PROBE_B_SEL(x) (((x) >> S_DP18_HS_PROBE_B_SEL) & M_DP18_HS_PROBE_B_SEL)
58822 #define A_MC_DDRPHY_DP18_READ_DELAY_OFFSET0_RANK_PAIR 0x44030
58824 #define S_OFFSET_BITS1_7 8
58825 #define M_OFFSET_BITS1_7 0x7fU
58826 #define V_OFFSET_BITS1_7(x) ((x) << S_OFFSET_BITS1_7)
58827 #define G_OFFSET_BITS1_7(x) (((x) >> S_OFFSET_BITS1_7) & M_OFFSET_BITS1_7)
58829 #define S_OFFSET_BITS9_15 0
58830 #define M_OFFSET_BITS9_15 0x7fU
58831 #define V_OFFSET_BITS9_15(x) ((x) << S_OFFSET_BITS9_15)
58832 #define G_OFFSET_BITS9_15(x) (((x) >> S_OFFSET_BITS9_15) & M_OFFSET_BITS9_15)
58834 #define A_MC_DDRPHY_DP18_READ_DELAY_OFFSET1_RANK_PAIR 0x44034
58835 #define A_MC_DDRPHY_DP18_RD_LVL_STATUS0 0x44038
58837 #define S_LEADING_EDGE_NOT_FOUND_0 0
58838 #define M_LEADING_EDGE_NOT_FOUND_0 0xffffU
58839 #define V_LEADING_EDGE_NOT_FOUND_0(x) ((x) << S_LEADING_EDGE_NOT_FOUND_0)
58840 #define G_LEADING_EDGE_NOT_FOUND_0(x) (((x) >> S_LEADING_EDGE_NOT_FOUND_0) & M_LEADING_EDGE_NOT_FOUND_0)
58842 #define A_MC_DDRPHY_DP18_RD_LVL_STATUS1 0x4403c
58844 #define S_LEADING_EDGE_NOT_FOUND_1 8
58845 #define M_LEADING_EDGE_NOT_FOUND_1 0xffU
58846 #define V_LEADING_EDGE_NOT_FOUND_1(x) ((x) << S_LEADING_EDGE_NOT_FOUND_1)
58847 #define G_LEADING_EDGE_NOT_FOUND_1(x) (((x) >> S_LEADING_EDGE_NOT_FOUND_1) & M_LEADING_EDGE_NOT_FOUND_1)
58849 #define A_MC_DDRPHY_DP18_RD_LVL_STATUS2 0x44040
58851 #define S_TRAILING_EDGE_NOT_FOUND 0
58852 #define M_TRAILING_EDGE_NOT_FOUND 0xffffU
58853 #define V_TRAILING_EDGE_NOT_FOUND(x) ((x) << S_TRAILING_EDGE_NOT_FOUND)
58854 #define G_TRAILING_EDGE_NOT_FOUND(x) (((x) >> S_TRAILING_EDGE_NOT_FOUND) & M_TRAILING_EDGE_NOT_FOUND)
58856 #define A_MC_DDRPHY_DP18_RD_LVL_STATUS3 0x44044
58858 #define S_TRAILING_EDGE_NOT_FOUND_16_23 8
58859 #define M_TRAILING_EDGE_NOT_FOUND_16_23 0xffU
58860 #define V_TRAILING_EDGE_NOT_FOUND_16_23(x) ((x) << S_TRAILING_EDGE_NOT_FOUND_16_23)
58861 #define G_TRAILING_EDGE_NOT_FOUND_16_23(x) (((x) >> S_TRAILING_EDGE_NOT_FOUND_16_23) & M_TRAILING_EDGE_NOT_FOUND_16_23)
58863 #define A_MC_DDRPHY_DP18_RD_DIA_CONFIG5 0x44048
58865 #define S_DYN_POWER_CNTL_EN 15
58866 #define V_DYN_POWER_CNTL_EN(x) ((x) << S_DYN_POWER_CNTL_EN)
58867 #define F_DYN_POWER_CNTL_EN V_DYN_POWER_CNTL_EN(1U)
58869 #define S_DYN_MCTERM_CNTL_EN 14
58870 #define V_DYN_MCTERM_CNTL_EN(x) ((x) << S_DYN_MCTERM_CNTL_EN)
58871 #define F_DYN_MCTERM_CNTL_EN V_DYN_MCTERM_CNTL_EN(1U)
58873 #define S_DYN_RX_GATE_CNTL_EN 13
58874 #define V_DYN_RX_GATE_CNTL_EN(x) ((x) << S_DYN_RX_GATE_CNTL_EN)
58875 #define F_DYN_RX_GATE_CNTL_EN V_DYN_RX_GATE_CNTL_EN(1U)
58877 #define S_CALGATE_ON 12
58878 #define V_CALGATE_ON(x) ((x) << S_CALGATE_ON)
58879 #define F_CALGATE_ON V_CALGATE_ON(1U)
58881 #define S_PER_RDCLK_UPDATE_DIS 11
58882 #define V_PER_RDCLK_UPDATE_DIS(x) ((x) << S_PER_RDCLK_UPDATE_DIS)
58883 #define F_PER_RDCLK_UPDATE_DIS V_PER_RDCLK_UPDATE_DIS(1U)
58885 #define S_DQS_ALIGN_BY_QUAD 4
58886 #define V_DQS_ALIGN_BY_QUAD(x) ((x) << S_DQS_ALIGN_BY_QUAD)
58887 #define F_DQS_ALIGN_BY_QUAD V_DQS_ALIGN_BY_QUAD(1U)
58889 #define A_MC_DDRPHY_DP18_DQS_GATE_DELAY_RP 0x4404c
58891 #define S_DQS_GATE_DELAY_N0 12
58892 #define M_DQS_GATE_DELAY_N0 0x7U
58893 #define V_DQS_GATE_DELAY_N0(x) ((x) << S_DQS_GATE_DELAY_N0)
58894 #define G_DQS_GATE_DELAY_N0(x) (((x) >> S_DQS_GATE_DELAY_N0) & M_DQS_GATE_DELAY_N0)
58896 #define S_DQS_GATE_DELAY_N1 8
58897 #define M_DQS_GATE_DELAY_N1 0x7U
58898 #define V_DQS_GATE_DELAY_N1(x) ((x) << S_DQS_GATE_DELAY_N1)
58899 #define G_DQS_GATE_DELAY_N1(x) (((x) >> S_DQS_GATE_DELAY_N1) & M_DQS_GATE_DELAY_N1)
58901 #define S_DQS_GATE_DELAY_N2 4
58902 #define M_DQS_GATE_DELAY_N2 0x7U
58903 #define V_DQS_GATE_DELAY_N2(x) ((x) << S_DQS_GATE_DELAY_N2)
58904 #define G_DQS_GATE_DELAY_N2(x) (((x) >> S_DQS_GATE_DELAY_N2) & M_DQS_GATE_DELAY_N2)
58906 #define S_DQS_GATE_DELAY_N3 0
58907 #define M_DQS_GATE_DELAY_N3 0x7U
58908 #define V_DQS_GATE_DELAY_N3(x) ((x) << S_DQS_GATE_DELAY_N3)
58909 #define G_DQS_GATE_DELAY_N3(x) (((x) >> S_DQS_GATE_DELAY_N3) & M_DQS_GATE_DELAY_N3)
58911 #define A_MC_DDRPHY_DP18_RD_STATUS0 0x44050
58913 #define S_NO_EYE_DETECTED 15
58914 #define V_NO_EYE_DETECTED(x) ((x) << S_NO_EYE_DETECTED)
58915 #define F_NO_EYE_DETECTED V_NO_EYE_DETECTED(1U)
58917 #define S_LEADING_EDGE_FOUND 14
58918 #define V_LEADING_EDGE_FOUND(x) ((x) << S_LEADING_EDGE_FOUND)
58919 #define F_LEADING_EDGE_FOUND V_LEADING_EDGE_FOUND(1U)
58921 #define S_TRAILING_EDGE_FOUND 13
58922 #define V_TRAILING_EDGE_FOUND(x) ((x) << S_TRAILING_EDGE_FOUND)
58923 #define F_TRAILING_EDGE_FOUND V_TRAILING_EDGE_FOUND(1U)
58925 #define S_INCOMPLETE_RD_CAL_N0 12
58926 #define V_INCOMPLETE_RD_CAL_N0(x) ((x) << S_INCOMPLETE_RD_CAL_N0)
58927 #define F_INCOMPLETE_RD_CAL_N0 V_INCOMPLETE_RD_CAL_N0(1U)
58929 #define S_INCOMPLETE_RD_CAL_N1 11
58930 #define V_INCOMPLETE_RD_CAL_N1(x) ((x) << S_INCOMPLETE_RD_CAL_N1)
58931 #define F_INCOMPLETE_RD_CAL_N1 V_INCOMPLETE_RD_CAL_N1(1U)
58933 #define S_INCOMPLETE_RD_CAL_N2 10
58934 #define V_INCOMPLETE_RD_CAL_N2(x) ((x) << S_INCOMPLETE_RD_CAL_N2)
58935 #define F_INCOMPLETE_RD_CAL_N2 V_INCOMPLETE_RD_CAL_N2(1U)
58937 #define S_INCOMPLETE_RD_CAL_N3 9
58938 #define V_INCOMPLETE_RD_CAL_N3(x) ((x) << S_INCOMPLETE_RD_CAL_N3)
58939 #define F_INCOMPLETE_RD_CAL_N3 V_INCOMPLETE_RD_CAL_N3(1U)
58941 #define S_COARSE_PATTERN_ERR_N0 8
58942 #define V_COARSE_PATTERN_ERR_N0(x) ((x) << S_COARSE_PATTERN_ERR_N0)
58943 #define F_COARSE_PATTERN_ERR_N0 V_COARSE_PATTERN_ERR_N0(1U)
58945 #define S_COARSE_PATTERN_ERR_N1 7
58946 #define V_COARSE_PATTERN_ERR_N1(x) ((x) << S_COARSE_PATTERN_ERR_N1)
58947 #define F_COARSE_PATTERN_ERR_N1 V_COARSE_PATTERN_ERR_N1(1U)
58949 #define S_COARSE_PATTERN_ERR_N2 6
58950 #define V_COARSE_PATTERN_ERR_N2(x) ((x) << S_COARSE_PATTERN_ERR_N2)
58951 #define F_COARSE_PATTERN_ERR_N2 V_COARSE_PATTERN_ERR_N2(1U)
58953 #define S_COARSE_PATTERN_ERR_N3 5
58954 #define V_COARSE_PATTERN_ERR_N3(x) ((x) << S_COARSE_PATTERN_ERR_N3)
58955 #define F_COARSE_PATTERN_ERR_N3 V_COARSE_PATTERN_ERR_N3(1U)
58957 #define S_EYE_CLIPPING 4
58958 #define V_EYE_CLIPPING(x) ((x) << S_EYE_CLIPPING)
58959 #define F_EYE_CLIPPING V_EYE_CLIPPING(1U)
58962 #define V_NO_DQS(x) ((x) << S_NO_DQS)
58963 #define F_NO_DQS V_NO_DQS(1U)
58965 #define S_NO_LOCK 2
58966 #define V_NO_LOCK(x) ((x) << S_NO_LOCK)
58967 #define F_NO_LOCK V_NO_LOCK(1U)
58969 #define S_DRIFT_ERROR 1
58970 #define V_DRIFT_ERROR(x) ((x) << S_DRIFT_ERROR)
58971 #define F_DRIFT_ERROR V_DRIFT_ERROR(1U)
58973 #define S_MIN_EYE 0
58974 #define V_MIN_EYE(x) ((x) << S_MIN_EYE)
58975 #define F_MIN_EYE V_MIN_EYE(1U)
58977 #define A_MC_DDRPHY_DP18_RD_ERROR_MASK0 0x44054
58979 #define S_NO_EYE_DETECTED_MASK 15
58980 #define V_NO_EYE_DETECTED_MASK(x) ((x) << S_NO_EYE_DETECTED_MASK)
58981 #define F_NO_EYE_DETECTED_MASK V_NO_EYE_DETECTED_MASK(1U)
58983 #define S_LEADING_EDGE_FOUND_MASK 14
58984 #define V_LEADING_EDGE_FOUND_MASK(x) ((x) << S_LEADING_EDGE_FOUND_MASK)
58985 #define F_LEADING_EDGE_FOUND_MASK V_LEADING_EDGE_FOUND_MASK(1U)
58987 #define S_TRAILING_EDGE_FOUND_MASK 13
58988 #define V_TRAILING_EDGE_FOUND_MASK(x) ((x) << S_TRAILING_EDGE_FOUND_MASK)
58989 #define F_TRAILING_EDGE_FOUND_MASK V_TRAILING_EDGE_FOUND_MASK(1U)
58991 #define S_INCOMPLETE_RD_CAL_N0_MASK 12
58992 #define V_INCOMPLETE_RD_CAL_N0_MASK(x) ((x) << S_INCOMPLETE_RD_CAL_N0_MASK)
58993 #define F_INCOMPLETE_RD_CAL_N0_MASK V_INCOMPLETE_RD_CAL_N0_MASK(1U)
58995 #define S_INCOMPLETE_RD_CAL_N1_MASK 11
58996 #define V_INCOMPLETE_RD_CAL_N1_MASK(x) ((x) << S_INCOMPLETE_RD_CAL_N1_MASK)
58997 #define F_INCOMPLETE_RD_CAL_N1_MASK V_INCOMPLETE_RD_CAL_N1_MASK(1U)
58999 #define S_INCOMPLETE_RD_CAL_N2_MASK 10
59000 #define V_INCOMPLETE_RD_CAL_N2_MASK(x) ((x) << S_INCOMPLETE_RD_CAL_N2_MASK)
59001 #define F_INCOMPLETE_RD_CAL_N2_MASK V_INCOMPLETE_RD_CAL_N2_MASK(1U)
59003 #define S_INCOMPLETE_RD_CAL_N3_MASK 9
59004 #define V_INCOMPLETE_RD_CAL_N3_MASK(x) ((x) << S_INCOMPLETE_RD_CAL_N3_MASK)
59005 #define F_INCOMPLETE_RD_CAL_N3_MASK V_INCOMPLETE_RD_CAL_N3_MASK(1U)
59007 #define S_COARSE_PATTERN_ERR_N0_MASK 8
59008 #define V_COARSE_PATTERN_ERR_N0_MASK(x) ((x) << S_COARSE_PATTERN_ERR_N0_MASK)
59009 #define F_COARSE_PATTERN_ERR_N0_MASK V_COARSE_PATTERN_ERR_N0_MASK(1U)
59011 #define S_COARSE_PATTERN_ERR_N1_MASK 7
59012 #define V_COARSE_PATTERN_ERR_N1_MASK(x) ((x) << S_COARSE_PATTERN_ERR_N1_MASK)
59013 #define F_COARSE_PATTERN_ERR_N1_MASK V_COARSE_PATTERN_ERR_N1_MASK(1U)
59015 #define S_COARSE_PATTERN_ERR_N2_MASK 6
59016 #define V_COARSE_PATTERN_ERR_N2_MASK(x) ((x) << S_COARSE_PATTERN_ERR_N2_MASK)
59017 #define F_COARSE_PATTERN_ERR_N2_MASK V_COARSE_PATTERN_ERR_N2_MASK(1U)
59019 #define S_COARSE_PATTERN_ERR_N3_MASK 5
59020 #define V_COARSE_PATTERN_ERR_N3_MASK(x) ((x) << S_COARSE_PATTERN_ERR_N3_MASK)
59021 #define F_COARSE_PATTERN_ERR_N3_MASK V_COARSE_PATTERN_ERR_N3_MASK(1U)
59023 #define S_EYE_CLIPPING_MASK 4
59024 #define V_EYE_CLIPPING_MASK(x) ((x) << S_EYE_CLIPPING_MASK)
59025 #define F_EYE_CLIPPING_MASK V_EYE_CLIPPING_MASK(1U)
59027 #define S_NO_DQS_MASK 3
59028 #define V_NO_DQS_MASK(x) ((x) << S_NO_DQS_MASK)
59029 #define F_NO_DQS_MASK V_NO_DQS_MASK(1U)
59031 #define S_NO_LOCK_MASK 2
59032 #define V_NO_LOCK_MASK(x) ((x) << S_NO_LOCK_MASK)
59033 #define F_NO_LOCK_MASK V_NO_LOCK_MASK(1U)
59035 #define S_DRIFT_ERROR_MASK 1
59036 #define V_DRIFT_ERROR_MASK(x) ((x) << S_DRIFT_ERROR_MASK)
59037 #define F_DRIFT_ERROR_MASK V_DRIFT_ERROR_MASK(1U)
59039 #define S_MIN_EYE_MASK 0
59040 #define V_MIN_EYE_MASK(x) ((x) << S_MIN_EYE_MASK)
59041 #define F_MIN_EYE_MASK V_MIN_EYE_MASK(1U)
59043 #define A_MC_DDRPHY_DP18_WRCLK_CNTL 0x44058
59045 #define S_PRBS_WAIT 14
59046 #define M_PRBS_WAIT 0x3U
59047 #define V_PRBS_WAIT(x) ((x) << S_PRBS_WAIT)
59048 #define G_PRBS_WAIT(x) (((x) >> S_PRBS_WAIT) & M_PRBS_WAIT)
59050 #define S_PRBS_SYNC_EARLY 13
59051 #define V_PRBS_SYNC_EARLY(x) ((x) << S_PRBS_SYNC_EARLY)
59052 #define F_PRBS_SYNC_EARLY V_PRBS_SYNC_EARLY(1U)
59054 #define S_RD_DELAY_EARLY 12
59055 #define V_RD_DELAY_EARLY(x) ((x) << S_RD_DELAY_EARLY)
59056 #define F_RD_DELAY_EARLY V_RD_DELAY_EARLY(1U)
59058 #define S_SS_QUAD_CAL 10
59059 #define V_SS_QUAD_CAL(x) ((x) << S_SS_QUAD_CAL)
59060 #define F_SS_QUAD_CAL V_SS_QUAD_CAL(1U)
59062 #define S_SS_QUAD 8
59063 #define M_SS_QUAD 0x3U
59064 #define V_SS_QUAD(x) ((x) << S_SS_QUAD)
59065 #define G_SS_QUAD(x) (((x) >> S_SS_QUAD) & M_SS_QUAD)
59067 #define S_SS_RD_DELAY 7
59068 #define V_SS_RD_DELAY(x) ((x) << S_SS_RD_DELAY)
59069 #define F_SS_RD_DELAY V_SS_RD_DELAY(1U)
59071 #define S_FORCE_HI_Z 6
59072 #define V_FORCE_HI_Z(x) ((x) << S_FORCE_HI_Z)
59073 #define F_FORCE_HI_Z V_FORCE_HI_Z(1U)
59075 #define A_MC_DDRPHY_DP18_WR_LVL_STATUS0 0x4405c
59077 #define S_CLK_LEVEL 14
59078 #define M_CLK_LEVEL 0x3U
59079 #define V_CLK_LEVEL(x) ((x) << S_CLK_LEVEL)
59080 #define G_CLK_LEVEL(x) (((x) >> S_CLK_LEVEL) & M_CLK_LEVEL)
59082 #define S_FINE_STEPPING 13
59083 #define V_FINE_STEPPING(x) ((x) << S_FINE_STEPPING)
59084 #define F_FINE_STEPPING V_FINE_STEPPING(1U)
59087 #define V_DONE(x) ((x) << S_DONE)
59088 #define F_DONE V_DONE(1U)
59090 #define S_WL_ERR_CLK16_ST 11
59091 #define V_WL_ERR_CLK16_ST(x) ((x) << S_WL_ERR_CLK16_ST)
59092 #define F_WL_ERR_CLK16_ST V_WL_ERR_CLK16_ST(1U)
59094 #define S_WL_ERR_CLK18_ST 10
59095 #define V_WL_ERR_CLK18_ST(x) ((x) << S_WL_ERR_CLK18_ST)
59096 #define F_WL_ERR_CLK18_ST V_WL_ERR_CLK18_ST(1U)
59098 #define S_WL_ERR_CLK20_ST 9
59099 #define V_WL_ERR_CLK20_ST(x) ((x) << S_WL_ERR_CLK20_ST)
59100 #define F_WL_ERR_CLK20_ST V_WL_ERR_CLK20_ST(1U)
59102 #define S_WL_ERR_CLK22_ST 8
59103 #define V_WL_ERR_CLK22_ST(x) ((x) << S_WL_ERR_CLK22_ST)
59104 #define F_WL_ERR_CLK22_ST V_WL_ERR_CLK22_ST(1U)
59106 #define S_ZERO_DETECTED 7
59107 #define V_ZERO_DETECTED(x) ((x) << S_ZERO_DETECTED)
59108 #define F_ZERO_DETECTED V_ZERO_DETECTED(1U)
59110 #define S_WR_LVL_DONE 12
59111 #define V_WR_LVL_DONE(x) ((x) << S_WR_LVL_DONE)
59112 #define F_WR_LVL_DONE V_WR_LVL_DONE(1U)
59114 #define A_MC_DDRPHY_DP18_WR_CNTR_STATUS0 0x44060
59116 #define S_BIT_CENTERED 11
59117 #define M_BIT_CENTERED 0x1fU
59118 #define V_BIT_CENTERED(x) ((x) << S_BIT_CENTERED)
59119 #define G_BIT_CENTERED(x) (((x) >> S_BIT_CENTERED) & M_BIT_CENTERED)
59121 #define S_SMALL_STEP_LEFT 10
59122 #define V_SMALL_STEP_LEFT(x) ((x) << S_SMALL_STEP_LEFT)
59123 #define F_SMALL_STEP_LEFT V_SMALL_STEP_LEFT(1U)
59125 #define S_BIG_STEP_RIGHT 9
59126 #define V_BIG_STEP_RIGHT(x) ((x) << S_BIG_STEP_RIGHT)
59127 #define F_BIG_STEP_RIGHT V_BIG_STEP_RIGHT(1U)
59129 #define S_MATCH_STEP_RIGHT 8
59130 #define V_MATCH_STEP_RIGHT(x) ((x) << S_MATCH_STEP_RIGHT)
59131 #define F_MATCH_STEP_RIGHT V_MATCH_STEP_RIGHT(1U)
59133 #define S_JUMP_BACK_RIGHT 7
59134 #define V_JUMP_BACK_RIGHT(x) ((x) << S_JUMP_BACK_RIGHT)
59135 #define F_JUMP_BACK_RIGHT V_JUMP_BACK_RIGHT(1U)
59137 #define S_SMALL_STEP_RIGHT 6
59138 #define V_SMALL_STEP_RIGHT(x) ((x) << S_SMALL_STEP_RIGHT)
59139 #define F_SMALL_STEP_RIGHT V_SMALL_STEP_RIGHT(1U)
59142 #define V_DDONE(x) ((x) << S_DDONE)
59143 #define F_DDONE V_DDONE(1U)
59145 #define S_WR_CNTR_DONE 5
59146 #define V_WR_CNTR_DONE(x) ((x) << S_WR_CNTR_DONE)
59147 #define F_WR_CNTR_DONE V_WR_CNTR_DONE(1U)
59149 #define A_MC_DDRPHY_DP18_WR_CNTR_STATUS1 0x44064
59151 #define S_FW_LEFT_SIDE 5
59152 #define M_FW_LEFT_SIDE 0x7ffU
59153 #define V_FW_LEFT_SIDE(x) ((x) << S_FW_LEFT_SIDE)
59154 #define G_FW_LEFT_SIDE(x) (((x) >> S_FW_LEFT_SIDE) & M_FW_LEFT_SIDE)
59156 #define A_MC_DDRPHY_DP18_WR_CNTR_STATUS2 0x44068
59158 #define S_FW_RIGHT_SIDE 5
59159 #define M_FW_RIGHT_SIDE 0x7ffU
59160 #define V_FW_RIGHT_SIDE(x) ((x) << S_FW_RIGHT_SIDE)
59161 #define G_FW_RIGHT_SIDE(x) (((x) >> S_FW_RIGHT_SIDE) & M_FW_RIGHT_SIDE)
59163 #define A_MC_DDRPHY_DP18_WR_ERROR0 0x4406c
59165 #define S_WL_ERR_CLK16 15
59166 #define V_WL_ERR_CLK16(x) ((x) << S_WL_ERR_CLK16)
59167 #define F_WL_ERR_CLK16 V_WL_ERR_CLK16(1U)
59169 #define S_WL_ERR_CLK18 14
59170 #define V_WL_ERR_CLK18(x) ((x) << S_WL_ERR_CLK18)
59171 #define F_WL_ERR_CLK18 V_WL_ERR_CLK18(1U)
59173 #define S_WL_ERR_CLK20 13
59174 #define V_WL_ERR_CLK20(x) ((x) << S_WL_ERR_CLK20)
59175 #define F_WL_ERR_CLK20 V_WL_ERR_CLK20(1U)
59177 #define S_WL_ERR_CLK22 12
59178 #define V_WL_ERR_CLK22(x) ((x) << S_WL_ERR_CLK22)
59179 #define F_WL_ERR_CLK22 V_WL_ERR_CLK22(1U)
59181 #define S_VALID_NS_BIG_L 7
59182 #define V_VALID_NS_BIG_L(x) ((x) << S_VALID_NS_BIG_L)
59183 #define F_VALID_NS_BIG_L V_VALID_NS_BIG_L(1U)
59185 #define S_INVALID_NS_SMALL_L 6
59186 #define V_INVALID_NS_SMALL_L(x) ((x) << S_INVALID_NS_SMALL_L)
59187 #define F_INVALID_NS_SMALL_L V_INVALID_NS_SMALL_L(1U)
59189 #define S_VALID_NS_BIG_R 5
59190 #define V_VALID_NS_BIG_R(x) ((x) << S_VALID_NS_BIG_R)
59191 #define F_VALID_NS_BIG_R V_VALID_NS_BIG_R(1U)
59193 #define S_INVALID_NS_BIG_R 4
59194 #define V_INVALID_NS_BIG_R(x) ((x) << S_INVALID_NS_BIG_R)
59195 #define F_INVALID_NS_BIG_R V_INVALID_NS_BIG_R(1U)
59197 #define S_VALID_NS_JUMP_BACK 3
59198 #define V_VALID_NS_JUMP_BACK(x) ((x) << S_VALID_NS_JUMP_BACK)
59199 #define F_VALID_NS_JUMP_BACK V_VALID_NS_JUMP_BACK(1U)
59201 #define S_INVALID_NS_SMALL_R 2
59202 #define V_INVALID_NS_SMALL_R(x) ((x) << S_INVALID_NS_SMALL_R)
59203 #define F_INVALID_NS_SMALL_R V_INVALID_NS_SMALL_R(1U)
59205 #define S_OFFSET_ERR 1
59206 #define V_OFFSET_ERR(x) ((x) << S_OFFSET_ERR)
59207 #define F_OFFSET_ERR V_OFFSET_ERR(1U)
59209 #define A_MC_DDRPHY_DP18_WR_ERROR_MASK0 0x44070
59211 #define S_WL_ERR_CLK16_MASK 15
59212 #define V_WL_ERR_CLK16_MASK(x) ((x) << S_WL_ERR_CLK16_MASK)
59213 #define F_WL_ERR_CLK16_MASK V_WL_ERR_CLK16_MASK(1U)
59215 #define S_WL_ERR_CLK18_MASK 14
59216 #define V_WL_ERR_CLK18_MASK(x) ((x) << S_WL_ERR_CLK18_MASK)
59217 #define F_WL_ERR_CLK18_MASK V_WL_ERR_CLK18_MASK(1U)
59219 #define S_WL_ERR_CLK20_MASK 13
59220 #define V_WL_ERR_CLK20_MASK(x) ((x) << S_WL_ERR_CLK20_MASK)
59221 #define F_WL_ERR_CLK20_MASK V_WL_ERR_CLK20_MASK(1U)
59223 #define S_WR_ERR_CLK22_MASK 12
59224 #define V_WR_ERR_CLK22_MASK(x) ((x) << S_WR_ERR_CLK22_MASK)
59225 #define F_WR_ERR_CLK22_MASK V_WR_ERR_CLK22_MASK(1U)
59227 #define S_VALID_NS_BIG_L_MASK 7
59228 #define V_VALID_NS_BIG_L_MASK(x) ((x) << S_VALID_NS_BIG_L_MASK)
59229 #define F_VALID_NS_BIG_L_MASK V_VALID_NS_BIG_L_MASK(1U)
59231 #define S_INVALID_NS_SMALL_L_MASK 6
59232 #define V_INVALID_NS_SMALL_L_MASK(x) ((x) << S_INVALID_NS_SMALL_L_MASK)
59233 #define F_INVALID_NS_SMALL_L_MASK V_INVALID_NS_SMALL_L_MASK(1U)
59235 #define S_VALID_NS_BIG_R_MASK 5
59236 #define V_VALID_NS_BIG_R_MASK(x) ((x) << S_VALID_NS_BIG_R_MASK)
59237 #define F_VALID_NS_BIG_R_MASK V_VALID_NS_BIG_R_MASK(1U)
59239 #define S_INVALID_NS_BIG_R_MASK 4
59240 #define V_INVALID_NS_BIG_R_MASK(x) ((x) << S_INVALID_NS_BIG_R_MASK)
59241 #define F_INVALID_NS_BIG_R_MASK V_INVALID_NS_BIG_R_MASK(1U)
59243 #define S_VALID_NS_JUMP_BACK_MASK 3
59244 #define V_VALID_NS_JUMP_BACK_MASK(x) ((x) << S_VALID_NS_JUMP_BACK_MASK)
59245 #define F_VALID_NS_JUMP_BACK_MASK V_VALID_NS_JUMP_BACK_MASK(1U)
59247 #define S_INVALID_NS_SMALL_R_MASK 2
59248 #define V_INVALID_NS_SMALL_R_MASK(x) ((x) << S_INVALID_NS_SMALL_R_MASK)
59249 #define F_INVALID_NS_SMALL_R_MASK V_INVALID_NS_SMALL_R_MASK(1U)
59251 #define S_OFFSET_ERR_MASK 1
59252 #define V_OFFSET_ERR_MASK(x) ((x) << S_OFFSET_ERR_MASK)
59253 #define F_OFFSET_ERR_MASK V_OFFSET_ERR_MASK(1U)
59255 #define S_DQS_REC_LOW_POWER 11
59256 #define V_DQS_REC_LOW_POWER(x) ((x) << S_DQS_REC_LOW_POWER)
59257 #define F_DQS_REC_LOW_POWER V_DQS_REC_LOW_POWER(1U)
59259 #define S_DQ_REC_LOW_POWER 10
59260 #define V_DQ_REC_LOW_POWER(x) ((x) << S_DQ_REC_LOW_POWER)
59261 #define F_DQ_REC_LOW_POWER V_DQ_REC_LOW_POWER(1U)
59263 #define S_ADVANCE_PR_VALUE 0
59264 #define V_ADVANCE_PR_VALUE(x) ((x) << S_ADVANCE_PR_VALUE)
59265 #define F_ADVANCE_PR_VALUE V_ADVANCE_PR_VALUE(1U)
59267 #define A_MC_DDRPHY_DP18_DFT_WRAP_STATUS 0x44074
59269 #define S_CHECKER_RESET 14
59270 #define V_CHECKER_RESET(x) ((x) << S_CHECKER_RESET)
59271 #define F_CHECKER_RESET V_CHECKER_RESET(1U)
59273 #define S_DP18_DFT_SYNC 6
59274 #define M_DP18_DFT_SYNC 0x3fU
59275 #define V_DP18_DFT_SYNC(x) ((x) << S_DP18_DFT_SYNC)
59276 #define G_DP18_DFT_SYNC(x) (((x) >> S_DP18_DFT_SYNC) & M_DP18_DFT_SYNC)
59279 #define M_ERROR 0x3fU
59280 #define V_ERROR(x) ((x) << S_ERROR)
59281 #define G_ERROR(x) (((x) >> S_ERROR) & M_ERROR)
59283 #define S_CHECKER_ENABLE 15
59284 #define V_CHECKER_ENABLE(x) ((x) << S_CHECKER_ENABLE)
59285 #define F_CHECKER_ENABLE V_CHECKER_ENABLE(1U)
59287 #define S_DP18_DFT_ERROR 0
59288 #define M_DP18_DFT_ERROR 0x3fU
59289 #define V_DP18_DFT_ERROR(x) ((x) << S_DP18_DFT_ERROR)
59290 #define G_DP18_DFT_ERROR(x) (((x) >> S_DP18_DFT_ERROR) & M_DP18_DFT_ERROR)
59292 #define A_MC_DDRPHY_DP18_RD_DIA_CONFIG0 0x44078
59294 #define S_SYSCLK_RDCLK_OFFSET 8
59295 #define M_SYSCLK_RDCLK_OFFSET 0x7fU
59296 #define V_SYSCLK_RDCLK_OFFSET(x) ((x) << S_SYSCLK_RDCLK_OFFSET)
59297 #define G_SYSCLK_RDCLK_OFFSET(x) (((x) >> S_SYSCLK_RDCLK_OFFSET) & M_SYSCLK_RDCLK_OFFSET)
59299 #define S_SYSCLK_DQSCLK_OFFSET 0
59300 #define M_SYSCLK_DQSCLK_OFFSET 0x7fU
59301 #define V_SYSCLK_DQSCLK_OFFSET(x) ((x) << S_SYSCLK_DQSCLK_OFFSET)
59302 #define G_SYSCLK_DQSCLK_OFFSET(x) (((x) >> S_SYSCLK_DQSCLK_OFFSET) & M_SYSCLK_DQSCLK_OFFSET)
59304 #define S_T6_SYSCLK_DQSCLK_OFFSET 8
59305 #define M_T6_SYSCLK_DQSCLK_OFFSET 0x7fU
59306 #define V_T6_SYSCLK_DQSCLK_OFFSET(x) ((x) << S_T6_SYSCLK_DQSCLK_OFFSET)
59307 #define G_T6_SYSCLK_DQSCLK_OFFSET(x) (((x) >> S_T6_SYSCLK_DQSCLK_OFFSET) & M_T6_SYSCLK_DQSCLK_OFFSET)
59309 #define S_T6_SYSCLK_RDCLK_OFFSET 0
59310 #define M_T6_SYSCLK_RDCLK_OFFSET 0x7fU
59311 #define V_T6_SYSCLK_RDCLK_OFFSET(x) ((x) << S_T6_SYSCLK_RDCLK_OFFSET)
59312 #define G_T6_SYSCLK_RDCLK_OFFSET(x) (((x) >> S_T6_SYSCLK_RDCLK_OFFSET) & M_T6_SYSCLK_RDCLK_OFFSET)
59314 #define A_MC_DDRPHY_DP18_WRCLK_AUX_CNTL 0x4407c
59315 #define A_MC_DDRPHY_DP18_DQSCLK_PR0_RANK_PAIR 0x440c0
59317 #define S_DQSCLK_ROT_CLK_N0_N2 8
59318 #define M_DQSCLK_ROT_CLK_N0_N2 0x7fU
59319 #define V_DQSCLK_ROT_CLK_N0_N2(x) ((x) << S_DQSCLK_ROT_CLK_N0_N2)
59320 #define G_DQSCLK_ROT_CLK_N0_N2(x) (((x) >> S_DQSCLK_ROT_CLK_N0_N2) & M_DQSCLK_ROT_CLK_N0_N2)
59322 #define S_DQSCLK_ROT_CLK_N1_N3 0
59323 #define M_DQSCLK_ROT_CLK_N1_N3 0x7fU
59324 #define V_DQSCLK_ROT_CLK_N1_N3(x) ((x) << S_DQSCLK_ROT_CLK_N1_N3)
59325 #define G_DQSCLK_ROT_CLK_N1_N3(x) (((x) >> S_DQSCLK_ROT_CLK_N1_N3) & M_DQSCLK_ROT_CLK_N1_N3)
59327 #define A_MC_DDRPHY_DP18_DQSCLK_PR1_RANK_PAIR 0x440c4
59328 #define A_MC_DDRPHY_DP18_PATTERN_POS_0 0x440c8
59330 #define S_MEMINTD00_POS 14
59331 #define M_MEMINTD00_POS 0x3U
59332 #define V_MEMINTD00_POS(x) ((x) << S_MEMINTD00_POS)
59333 #define G_MEMINTD00_POS(x) (((x) >> S_MEMINTD00_POS) & M_MEMINTD00_POS)
59335 #define S_MEMINTD01_PO 12
59336 #define M_MEMINTD01_PO 0x3U
59337 #define V_MEMINTD01_PO(x) ((x) << S_MEMINTD01_PO)
59338 #define G_MEMINTD01_PO(x) (((x) >> S_MEMINTD01_PO) & M_MEMINTD01_PO)
59340 #define S_MEMINTD02_POS 10
59341 #define M_MEMINTD02_POS 0x3U
59342 #define V_MEMINTD02_POS(x) ((x) << S_MEMINTD02_POS)
59343 #define G_MEMINTD02_POS(x) (((x) >> S_MEMINTD02_POS) & M_MEMINTD02_POS)
59345 #define S_MEMINTD03_POS 8
59346 #define M_MEMINTD03_POS 0x3U
59347 #define V_MEMINTD03_POS(x) ((x) << S_MEMINTD03_POS)
59348 #define G_MEMINTD03_POS(x) (((x) >> S_MEMINTD03_POS) & M_MEMINTD03_POS)
59350 #define S_MEMINTD04_POS 6
59351 #define M_MEMINTD04_POS 0x3U
59352 #define V_MEMINTD04_POS(x) ((x) << S_MEMINTD04_POS)
59353 #define G_MEMINTD04_POS(x) (((x) >> S_MEMINTD04_POS) & M_MEMINTD04_POS)
59355 #define S_MEMINTD05_POS 4
59356 #define M_MEMINTD05_POS 0x3U
59357 #define V_MEMINTD05_POS(x) ((x) << S_MEMINTD05_POS)
59358 #define G_MEMINTD05_POS(x) (((x) >> S_MEMINTD05_POS) & M_MEMINTD05_POS)
59360 #define S_MEMINTD06_POS 2
59361 #define M_MEMINTD06_POS 0x3U
59362 #define V_MEMINTD06_POS(x) ((x) << S_MEMINTD06_POS)
59363 #define G_MEMINTD06_POS(x) (((x) >> S_MEMINTD06_POS) & M_MEMINTD06_POS)
59365 #define S_MEMINTD07_POS 0
59366 #define M_MEMINTD07_POS 0x3U
59367 #define V_MEMINTD07_POS(x) ((x) << S_MEMINTD07_POS)
59368 #define G_MEMINTD07_POS(x) (((x) >> S_MEMINTD07_POS) & M_MEMINTD07_POS)
59370 #define A_MC_DDRPHY_DP18_PATTERN_POS_1 0x440cc
59372 #define S_MEMINTD08_POS 14
59373 #define M_MEMINTD08_POS 0x3U
59374 #define V_MEMINTD08_POS(x) ((x) << S_MEMINTD08_POS)
59375 #define G_MEMINTD08_POS(x) (((x) >> S_MEMINTD08_POS) & M_MEMINTD08_POS)
59377 #define S_MEMINTD09_POS 12
59378 #define M_MEMINTD09_POS 0x3U
59379 #define V_MEMINTD09_POS(x) ((x) << S_MEMINTD09_POS)
59380 #define G_MEMINTD09_POS(x) (((x) >> S_MEMINTD09_POS) & M_MEMINTD09_POS)
59382 #define S_MEMINTD10_POS 10
59383 #define M_MEMINTD10_POS 0x3U
59384 #define V_MEMINTD10_POS(x) ((x) << S_MEMINTD10_POS)
59385 #define G_MEMINTD10_POS(x) (((x) >> S_MEMINTD10_POS) & M_MEMINTD10_POS)
59387 #define S_MEMINTD11_POS 8
59388 #define M_MEMINTD11_POS 0x3U
59389 #define V_MEMINTD11_POS(x) ((x) << S_MEMINTD11_POS)
59390 #define G_MEMINTD11_POS(x) (((x) >> S_MEMINTD11_POS) & M_MEMINTD11_POS)
59392 #define S_MEMINTD12_POS 6
59393 #define M_MEMINTD12_POS 0x3U
59394 #define V_MEMINTD12_POS(x) ((x) << S_MEMINTD12_POS)
59395 #define G_MEMINTD12_POS(x) (((x) >> S_MEMINTD12_POS) & M_MEMINTD12_POS)
59397 #define S_MEMINTD13_POS 4
59398 #define M_MEMINTD13_POS 0x3U
59399 #define V_MEMINTD13_POS(x) ((x) << S_MEMINTD13_POS)
59400 #define G_MEMINTD13_POS(x) (((x) >> S_MEMINTD13_POS) & M_MEMINTD13_POS)
59402 #define S_MEMINTD14_POS 2
59403 #define M_MEMINTD14_POS 0x3U
59404 #define V_MEMINTD14_POS(x) ((x) << S_MEMINTD14_POS)
59405 #define G_MEMINTD14_POS(x) (((x) >> S_MEMINTD14_POS) & M_MEMINTD14_POS)
59407 #define S_MEMINTD15_POS 0
59408 #define M_MEMINTD15_POS 0x3U
59409 #define V_MEMINTD15_POS(x) ((x) << S_MEMINTD15_POS)
59410 #define G_MEMINTD15_POS(x) (((x) >> S_MEMINTD15_POS) & M_MEMINTD15_POS)
59412 #define A_MC_DDRPHY_DP18_PATTERN_POS_2 0x440d0
59414 #define S_MEMINTD16_POS 14
59415 #define M_MEMINTD16_POS 0x3U
59416 #define V_MEMINTD16_POS(x) ((x) << S_MEMINTD16_POS)
59417 #define G_MEMINTD16_POS(x) (((x) >> S_MEMINTD16_POS) & M_MEMINTD16_POS)
59419 #define S_MEMINTD17_POS 12
59420 #define M_MEMINTD17_POS 0x3U
59421 #define V_MEMINTD17_POS(x) ((x) << S_MEMINTD17_POS)
59422 #define G_MEMINTD17_POS(x) (((x) >> S_MEMINTD17_POS) & M_MEMINTD17_POS)
59424 #define S_MEMINTD18_POS 10
59425 #define M_MEMINTD18_POS 0x3U
59426 #define V_MEMINTD18_POS(x) ((x) << S_MEMINTD18_POS)
59427 #define G_MEMINTD18_POS(x) (((x) >> S_MEMINTD18_POS) & M_MEMINTD18_POS)
59429 #define S_MEMINTD19_POS 8
59430 #define M_MEMINTD19_POS 0x3U
59431 #define V_MEMINTD19_POS(x) ((x) << S_MEMINTD19_POS)
59432 #define G_MEMINTD19_POS(x) (((x) >> S_MEMINTD19_POS) & M_MEMINTD19_POS)
59434 #define S_MEMINTD20_POS 6
59435 #define M_MEMINTD20_POS 0x3U
59436 #define V_MEMINTD20_POS(x) ((x) << S_MEMINTD20_POS)
59437 #define G_MEMINTD20_POS(x) (((x) >> S_MEMINTD20_POS) & M_MEMINTD20_POS)
59439 #define S_MEMINTD21_POS 4
59440 #define M_MEMINTD21_POS 0x3U
59441 #define V_MEMINTD21_POS(x) ((x) << S_MEMINTD21_POS)
59442 #define G_MEMINTD21_POS(x) (((x) >> S_MEMINTD21_POS) & M_MEMINTD21_POS)
59444 #define S_MEMINTD22_POS 2
59445 #define M_MEMINTD22_POS 0x3U
59446 #define V_MEMINTD22_POS(x) ((x) << S_MEMINTD22_POS)
59447 #define G_MEMINTD22_POS(x) (((x) >> S_MEMINTD22_POS) & M_MEMINTD22_POS)
59449 #define S_MEMINTD23_POS 0
59450 #define M_MEMINTD23_POS 0x3U
59451 #define V_MEMINTD23_POS(x) ((x) << S_MEMINTD23_POS)
59452 #define G_MEMINTD23_POS(x) (((x) >> S_MEMINTD23_POS) & M_MEMINTD23_POS)
59454 #define A_MC_DDRPHY_DP18_RD_DIA_CONFIG1 0x440d4
59456 #define S_DQS_ALIGN_SM 11
59457 #define M_DQS_ALIGN_SM 0x1fU
59458 #define V_DQS_ALIGN_SM(x) ((x) << S_DQS_ALIGN_SM)
59459 #define G_DQS_ALIGN_SM(x) (((x) >> S_DQS_ALIGN_SM) & M_DQS_ALIGN_SM)
59461 #define S_DQS_ALIGN_CNTR 7
59462 #define M_DQS_ALIGN_CNTR 0xfU
59463 #define V_DQS_ALIGN_CNTR(x) ((x) << S_DQS_ALIGN_CNTR)
59464 #define G_DQS_ALIGN_CNTR(x) (((x) >> S_DQS_ALIGN_CNTR) & M_DQS_ALIGN_CNTR)
59466 #define S_ITERATION_CNTR 6
59467 #define V_ITERATION_CNTR(x) ((x) << S_ITERATION_CNTR)
59468 #define F_ITERATION_CNTR V_ITERATION_CNTR(1U)
59470 #define S_DQS_ALIGN_ITER_CNTR 0
59471 #define M_DQS_ALIGN_ITER_CNTR 0x3fU
59472 #define V_DQS_ALIGN_ITER_CNTR(x) ((x) << S_DQS_ALIGN_ITER_CNTR)
59473 #define G_DQS_ALIGN_ITER_CNTR(x) (((x) >> S_DQS_ALIGN_ITER_CNTR) & M_DQS_ALIGN_ITER_CNTR)
59475 #define A_MC_DDRPHY_DP18_RD_DIA_CONFIG2 0x440d8
59477 #define S_CALIBRATE_BIT 13
59478 #define M_CALIBRATE_BIT 0x7U
59479 #define V_CALIBRATE_BIT(x) ((x) << S_CALIBRATE_BIT)
59480 #define G_CALIBRATE_BIT(x) (((x) >> S_CALIBRATE_BIT) & M_CALIBRATE_BIT)
59482 #define S_DQS_ALIGN_QUAD 11
59483 #define M_DQS_ALIGN_QUAD 0x3U
59484 #define V_DQS_ALIGN_QUAD(x) ((x) << S_DQS_ALIGN_QUAD)
59485 #define G_DQS_ALIGN_QUAD(x) (((x) >> S_DQS_ALIGN_QUAD) & M_DQS_ALIGN_QUAD)
59487 #define S_DQS_QUAD_CONFIG 8
59488 #define M_DQS_QUAD_CONFIG 0x7U
59489 #define V_DQS_QUAD_CONFIG(x) ((x) << S_DQS_QUAD_CONFIG)
59490 #define G_DQS_QUAD_CONFIG(x) (((x) >> S_DQS_QUAD_CONFIG) & M_DQS_QUAD_CONFIG)
59492 #define S_OPERATE_MODE 4
59493 #define M_OPERATE_MODE 0xfU
59494 #define V_OPERATE_MODE(x) ((x) << S_OPERATE_MODE)
59495 #define G_OPERATE_MODE(x) (((x) >> S_OPERATE_MODE) & M_OPERATE_MODE)
59497 #define S_EN_DQS_OFFSET 3
59498 #define V_EN_DQS_OFFSET(x) ((x) << S_EN_DQS_OFFSET)
59499 #define F_EN_DQS_OFFSET V_EN_DQS_OFFSET(1U)
59501 #define S_DQS_ALIGN_JITTER 2
59502 #define V_DQS_ALIGN_JITTER(x) ((x) << S_DQS_ALIGN_JITTER)
59503 #define F_DQS_ALIGN_JITTER V_DQS_ALIGN_JITTER(1U)
59505 #define S_DIS_CLK_GATE 1
59506 #define V_DIS_CLK_GATE(x) ((x) << S_DIS_CLK_GATE)
59507 #define F_DIS_CLK_GATE V_DIS_CLK_GATE(1U)
59509 #define S_MAX_DQS_ITER 0
59510 #define V_MAX_DQS_ITER(x) ((x) << S_MAX_DQS_ITER)
59511 #define F_MAX_DQS_ITER V_MAX_DQS_ITER(1U)
59513 #define A_MC_DDRPHY_DP18_DQSCLK_OFFSET 0x440dc
59515 #define S_DQS_OFFSET 8
59516 #define M_DQS_OFFSET 0x7fU
59517 #define V_DQS_OFFSET(x) ((x) << S_DQS_OFFSET)
59518 #define G_DQS_OFFSET(x) (((x) >> S_DQS_OFFSET) & M_DQS_OFFSET)
59520 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_0_RP 0x440e0
59522 #define S_WR_DELAY 6
59523 #define M_WR_DELAY 0x3ffU
59524 #define V_WR_DELAY(x) ((x) << S_WR_DELAY)
59525 #define G_WR_DELAY(x) (((x) >> S_WR_DELAY) & M_WR_DELAY)
59527 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_1_RP 0x440e4
59528 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_2_RP 0x440e8
59529 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_3_RP 0x440ec
59530 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_4_RP 0x440f0
59531 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_5_RP 0x440f4
59532 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_6_RP 0x440f8
59533 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_7_RP 0x440fc
59534 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_8_RP 0x44100
59535 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_9_RP 0x44104
59536 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_10_RP 0x44108
59537 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_11_RP 0x4410c
59538 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_12_RP 0x44110
59539 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_13_RP 0x44114
59540 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_14_RP 0x44118
59541 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_15_RP 0x4411c
59542 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_16_RP 0x44120
59543 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_17_RP 0x44124
59544 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_18_RP 0x44128
59545 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_19_RP 0x4412c
59546 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_20_RP 0x44130
59547 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_21_RP 0x44134
59548 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_22_RP 0x44138
59549 #define A_MC_DDRPHY_DP18_WR_DELAY_VALUE_23_RP 0x4413c
59550 #define A_MC_DDRPHY_DP18_READ_DELAY0_RANK_PAIR 0x44140
59552 #define S_RD_DELAY_BITS0_6 9
59553 #define M_RD_DELAY_BITS0_6 0x7fU
59554 #define V_RD_DELAY_BITS0_6(x) ((x) << S_RD_DELAY_BITS0_6)
59555 #define G_RD_DELAY_BITS0_6(x) (((x) >> S_RD_DELAY_BITS0_6) & M_RD_DELAY_BITS0_6)
59557 #define S_RD_DELAY_BITS8_14 1
59558 #define M_RD_DELAY_BITS8_14 0x7fU
59559 #define V_RD_DELAY_BITS8_14(x) ((x) << S_RD_DELAY_BITS8_14)
59560 #define G_RD_DELAY_BITS8_14(x) (((x) >> S_RD_DELAY_BITS8_14) & M_RD_DELAY_BITS8_14)
59562 #define A_MC_DDRPHY_DP18_READ_DELAY1_RANK_PAIR 0x44144
59563 #define A_MC_DDRPHY_DP18_READ_DELAY2_RANK_PAIR 0x44148
59564 #define A_MC_DDRPHY_DP18_READ_DELAY3_RANK_PAIR 0x4414c
59565 #define A_MC_DDRPHY_DP18_READ_DELAY4_RANK_PAIR 0x44150
59566 #define A_MC_DDRPHY_DP18_READ_DELAY5_RANK_PAIR 0x44154
59567 #define A_MC_DDRPHY_DP18_READ_DELAY6_RANK_PAIR 0x44158
59568 #define A_MC_DDRPHY_DP18_READ_DELAY7_RANK_PAIR 0x4415c
59569 #define A_MC_DDRPHY_DP18_READ_DELAY8_RANK_PAIR 0x44160
59570 #define A_MC_DDRPHY_DP18_READ_DELAY9_RANK_PAIR 0x44164
59571 #define A_MC_DDRPHY_DP18_READ_DELAY10_RANK_PAIR 0x44168
59572 #define A_MC_DDRPHY_DP18_READ_DELAY11_RANK_PAIR 0x4416c
59573 #define A_MC_DDRPHY_DP18_INITIAL_DQS_ALIGN0_RANK_PAIR 0x44170
59575 #define S_INITIAL_DQS_ROT_N0_N2 8
59576 #define M_INITIAL_DQS_ROT_N0_N2 0x7fU
59577 #define V_INITIAL_DQS_ROT_N0_N2(x) ((x) << S_INITIAL_DQS_ROT_N0_N2)
59578 #define G_INITIAL_DQS_ROT_N0_N2(x) (((x) >> S_INITIAL_DQS_ROT_N0_N2) & M_INITIAL_DQS_ROT_N0_N2)
59580 #define S_INITIAL_DQS_ROT_N1_N3 0
59581 #define M_INITIAL_DQS_ROT_N1_N3 0x7fU
59582 #define V_INITIAL_DQS_ROT_N1_N3(x) ((x) << S_INITIAL_DQS_ROT_N1_N3)
59583 #define G_INITIAL_DQS_ROT_N1_N3(x) (((x) >> S_INITIAL_DQS_ROT_N1_N3) & M_INITIAL_DQS_ROT_N1_N3)
59585 #define A_MC_DDRPHY_DP18_INITIAL_DQS_ALIGN1_RANK_PAIR 0x44174
59586 #define A_MC_DDRPHY_DP18_WRCLK_STATUS 0x44178
59588 #define S_WRCLK_CALIB_DONE 15
59589 #define V_WRCLK_CALIB_DONE(x) ((x) << S_WRCLK_CALIB_DONE)
59590 #define F_WRCLK_CALIB_DONE V_WRCLK_CALIB_DONE(1U)
59592 #define S_VALUE_UPDATED 14
59593 #define V_VALUE_UPDATED(x) ((x) << S_VALUE_UPDATED)
59594 #define F_VALUE_UPDATED V_VALUE_UPDATED(1U)
59596 #define S_FAIL_PASS_V 13
59597 #define V_FAIL_PASS_V(x) ((x) << S_FAIL_PASS_V)
59598 #define F_FAIL_PASS_V V_FAIL_PASS_V(1U)
59600 #define S_PASS_FAIL_V 12
59601 #define V_PASS_FAIL_V(x) ((x) << S_PASS_FAIL_V)
59602 #define F_PASS_FAIL_V V_PASS_FAIL_V(1U)
59604 #define S_FP_PF_EDGE_NF 11
59605 #define V_FP_PF_EDGE_NF(x) ((x) << S_FP_PF_EDGE_NF)
59606 #define F_FP_PF_EDGE_NF V_FP_PF_EDGE_NF(1U)
59608 #define S_NON_SYMETRIC 10
59609 #define V_NON_SYMETRIC(x) ((x) << S_NON_SYMETRIC)
59610 #define F_NON_SYMETRIC V_NON_SYMETRIC(1U)
59612 #define S_FULL_RANGE 8
59613 #define V_FULL_RANGE(x) ((x) << S_FULL_RANGE)
59614 #define F_FULL_RANGE V_FULL_RANGE(1U)
59616 #define S_QUAD3_EDGES 7
59617 #define V_QUAD3_EDGES(x) ((x) << S_QUAD3_EDGES)
59618 #define F_QUAD3_EDGES V_QUAD3_EDGES(1U)
59620 #define S_QUAD2_EDGES 6
59621 #define V_QUAD2_EDGES(x) ((x) << S_QUAD2_EDGES)
59622 #define F_QUAD2_EDGES V_QUAD2_EDGES(1U)
59624 #define S_QUAD1_EDGES 5
59625 #define V_QUAD1_EDGES(x) ((x) << S_QUAD1_EDGES)
59626 #define F_QUAD1_EDGES V_QUAD1_EDGES(1U)
59628 #define S_QUAD0_EDGES 4
59629 #define V_QUAD0_EDGES(x) ((x) << S_QUAD0_EDGES)
59630 #define F_QUAD0_EDGES V_QUAD0_EDGES(1U)
59632 #define S_QUAD3_CAVEAT 3
59633 #define V_QUAD3_CAVEAT(x) ((x) << S_QUAD3_CAVEAT)
59634 #define F_QUAD3_CAVEAT V_QUAD3_CAVEAT(1U)
59636 #define S_QUAD2_CAVEAT 2
59637 #define V_QUAD2_CAVEAT(x) ((x) << S_QUAD2_CAVEAT)
59638 #define F_QUAD2_CAVEAT V_QUAD2_CAVEAT(1U)
59640 #define S_QUAD1_CAVEAT 1
59641 #define V_QUAD1_CAVEAT(x) ((x) << S_QUAD1_CAVEAT)
59642 #define F_QUAD1_CAVEAT V_QUAD1_CAVEAT(1U)
59644 #define S_QUAD0_CAVEAT 0
59645 #define V_QUAD0_CAVEAT(x) ((x) << S_QUAD0_CAVEAT)
59646 #define F_QUAD0_CAVEAT V_QUAD0_CAVEAT(1U)
59648 #define A_MC_DDRPHY_DP18_WRCLK_EDGE 0x4417c
59650 #define S_FAIL_PASS_VALUE 8
59651 #define M_FAIL_PASS_VALUE 0x7fU
59652 #define V_FAIL_PASS_VALUE(x) ((x) << S_FAIL_PASS_VALUE)
59653 #define G_FAIL_PASS_VALUE(x) (((x) >> S_FAIL_PASS_VALUE) & M_FAIL_PASS_VALUE)
59655 #define S_PASS_FAIL_VALUE 0
59656 #define M_PASS_FAIL_VALUE 0xffU
59657 #define V_PASS_FAIL_VALUE(x) ((x) << S_PASS_FAIL_VALUE)
59658 #define G_PASS_FAIL_VALUE(x) (((x) >> S_PASS_FAIL_VALUE) & M_PASS_FAIL_VALUE)
59660 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE0_RANK_PAIR 0x44180
59662 #define S_RD_EYE_SIZE_BITS2_7 8
59663 #define M_RD_EYE_SIZE_BITS2_7 0x3fU
59664 #define V_RD_EYE_SIZE_BITS2_7(x) ((x) << S_RD_EYE_SIZE_BITS2_7)
59665 #define G_RD_EYE_SIZE_BITS2_7(x) (((x) >> S_RD_EYE_SIZE_BITS2_7) & M_RD_EYE_SIZE_BITS2_7)
59667 #define S_RD_EYE_SIZE_BITS10_15 0
59668 #define M_RD_EYE_SIZE_BITS10_15 0x3fU
59669 #define V_RD_EYE_SIZE_BITS10_15(x) ((x) << S_RD_EYE_SIZE_BITS10_15)
59670 #define G_RD_EYE_SIZE_BITS10_15(x) (((x) >> S_RD_EYE_SIZE_BITS10_15) & M_RD_EYE_SIZE_BITS10_15)
59672 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE1_RANK_PAIR 0x44184
59673 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE2_RANK_PAIR 0x44188
59674 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE3_RANK_PAIR 0x4418c
59675 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE4_RANK_PAIR 0x44190
59676 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE5_RANK_PAIR 0x44194
59677 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE6_RANK_PAIR 0x44198
59678 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE7_RANK_PAIR 0x4419c
59679 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE8_RANK_PAIR 0x441a0
59680 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE9_RANK_PAIR 0x441a4
59681 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE10_RANK_PAIR 0x441a8
59682 #define A_MC_DDRPHY_DP18_READ_EYE_SIZE11_RANK_PAIR 0x441ac
59683 #define A_MC_DDRPHY_DP18_RD_DIA_CONFIG3 0x441b4
59685 #define S_DESIRED_EDGE_CNTR_TARGET_HIGH 8
59686 #define M_DESIRED_EDGE_CNTR_TARGET_HIGH 0xffU
59687 #define V_DESIRED_EDGE_CNTR_TARGET_HIGH(x) ((x) << S_DESIRED_EDGE_CNTR_TARGET_HIGH)
59688 #define G_DESIRED_EDGE_CNTR_TARGET_HIGH(x) (((x) >> S_DESIRED_EDGE_CNTR_TARGET_HIGH) & M_DESIRED_EDGE_CNTR_TARGET_HIGH)
59690 #define S_DESIRED_EDGE_CNTR_TARGET_LOW 0
59691 #define M_DESIRED_EDGE_CNTR_TARGET_LOW 0xffU
59692 #define V_DESIRED_EDGE_CNTR_TARGET_LOW(x) ((x) << S_DESIRED_EDGE_CNTR_TARGET_LOW)
59693 #define G_DESIRED_EDGE_CNTR_TARGET_LOW(x) (((x) >> S_DESIRED_EDGE_CNTR_TARGET_LOW) & M_DESIRED_EDGE_CNTR_TARGET_LOW)
59695 #define A_MC_DDRPHY_DP18_RD_DIA_CONFIG4 0x441b8
59697 #define S_APPROACH_ALIGNMENT 15
59698 #define V_APPROACH_ALIGNMENT(x) ((x) << S_APPROACH_ALIGNMENT)
59699 #define F_APPROACH_ALIGNMENT V_APPROACH_ALIGNMENT(1U)
59701 #define A_MC_DDRPHY_DP18_DELAY_LINE_PWR_CTL 0x441bc
59703 #define S_QUAD0_PWR_CTL 12
59704 #define M_QUAD0_PWR_CTL 0xfU
59705 #define V_QUAD0_PWR_CTL(x) ((x) << S_QUAD0_PWR_CTL)
59706 #define G_QUAD0_PWR_CTL(x) (((x) >> S_QUAD0_PWR_CTL) & M_QUAD0_PWR_CTL)
59708 #define S_QUAD1_PWR_CTL 8
59709 #define M_QUAD1_PWR_CTL 0xfU
59710 #define V_QUAD1_PWR_CTL(x) ((x) << S_QUAD1_PWR_CTL)
59711 #define G_QUAD1_PWR_CTL(x) (((x) >> S_QUAD1_PWR_CTL) & M_QUAD1_PWR_CTL)
59713 #define S_QUAD2_PWR_CTL 4
59714 #define M_QUAD2_PWR_CTL 0xfU
59715 #define V_QUAD2_PWR_CTL(x) ((x) << S_QUAD2_PWR_CTL)
59716 #define G_QUAD2_PWR_CTL(x) (((x) >> S_QUAD2_PWR_CTL) & M_QUAD2_PWR_CTL)
59718 #define S_QUAD3_PWR_CTL 0
59719 #define M_QUAD3_PWR_CTL 0xfU
59720 #define V_QUAD3_PWR_CTL(x) ((x) << S_QUAD3_PWR_CTL)
59721 #define G_QUAD3_PWR_CTL(x) (((x) >> S_QUAD3_PWR_CTL) & M_QUAD3_PWR_CTL)
59723 #define A_MC_DDRPHY_DP18_READ_TIMING_REFERENCE0 0x441c0
59725 #define S_REFERENCE_BITS1_7 8
59726 #define M_REFERENCE_BITS1_7 0x7fU
59727 #define V_REFERENCE_BITS1_7(x) ((x) << S_REFERENCE_BITS1_7)
59728 #define G_REFERENCE_BITS1_7(x) (((x) >> S_REFERENCE_BITS1_7) & M_REFERENCE_BITS1_7)
59730 #define S_REFERENCE_BITS9_15 0
59731 #define M_REFERENCE_BITS9_15 0x7fU
59732 #define V_REFERENCE_BITS9_15(x) ((x) << S_REFERENCE_BITS9_15)
59733 #define G_REFERENCE_BITS9_15(x) (((x) >> S_REFERENCE_BITS9_15) & M_REFERENCE_BITS9_15)
59735 #define A_MC_DDRPHY_DP18_READ_TIMING_REFERENCE1 0x441c4
59736 #define A_MC_DDRPHY_DP18_READ_DQS_TIMING_REFERENCE 0x441c8
59738 #define S_REFERENCE 8
59739 #define M_REFERENCE 0x7fU
59740 #define V_REFERENCE(x) ((x) << S_REFERENCE)
59741 #define G_REFERENCE(x) (((x) >> S_REFERENCE) & M_REFERENCE)
59743 #define A_MC_DDRPHY_DP18_SYSCLK_PR_VALUE 0x441cc
59744 #define A_MC_DDRPHY_DP18_WRCLK_PR 0x441d0
59745 #define A_MC_DDRPHY_DP18_IO_TX_CONFIG0 0x441d4
59747 #define S_INTERP_SIG_SLEW 12
59748 #define M_INTERP_SIG_SLEW 0xfU
59749 #define V_INTERP_SIG_SLEW(x) ((x) << S_INTERP_SIG_SLEW)
59750 #define G_INTERP_SIG_SLEW(x) (((x) >> S_INTERP_SIG_SLEW) & M_INTERP_SIG_SLEW)
59752 #define S_POST_CURSOR 8
59753 #define M_POST_CURSOR 0xfU
59754 #define V_POST_CURSOR(x) ((x) << S_POST_CURSOR)
59755 #define G_POST_CURSOR(x) (((x) >> S_POST_CURSOR) & M_POST_CURSOR)
59757 #define S_SLEW_CTL 4
59758 #define M_SLEW_CTL 0xfU
59759 #define V_SLEW_CTL(x) ((x) << S_SLEW_CTL)
59760 #define G_SLEW_CTL(x) (((x) >> S_SLEW_CTL) & M_SLEW_CTL)
59762 #define A_MC_DDRPHY_DP18_PLL_CONFIG0 0x441d8
59763 #define A_MC_DDRPHY_DP18_PLL_CONFIG1 0x441dc
59765 #define S_CE0DLTVCCA 7
59766 #define V_CE0DLTVCCA(x) ((x) << S_CE0DLTVCCA)
59767 #define F_CE0DLTVCCA V_CE0DLTVCCA(1U)
59769 #define S_CE0DLTVCCD1 4
59770 #define V_CE0DLTVCCD1(x) ((x) << S_CE0DLTVCCD1)
59771 #define F_CE0DLTVCCD1 V_CE0DLTVCCD1(1U)
59773 #define S_CE0DLTVCCD2 3
59774 #define V_CE0DLTVCCD2(x) ((x) << S_CE0DLTVCCD2)
59775 #define F_CE0DLTVCCD2 V_CE0DLTVCCD2(1U)
59777 #define S_S0INSDLYTAP 2
59778 #define V_S0INSDLYTAP(x) ((x) << S_S0INSDLYTAP)
59779 #define F_S0INSDLYTAP V_S0INSDLYTAP(1U)
59781 #define S_S1INSDLYTAP 1
59782 #define V_S1INSDLYTAP(x) ((x) << S_S1INSDLYTAP)
59783 #define F_S1INSDLYTAP V_S1INSDLYTAP(1U)
59785 #define A_MC_DDRPHY_DP18_IO_TX_NFET_SLICE 0x441e0
59787 #define S_EN_SLICE_N_WR 8
59788 #define M_EN_SLICE_N_WR 0xffU
59789 #define V_EN_SLICE_N_WR(x) ((x) << S_EN_SLICE_N_WR)
59790 #define G_EN_SLICE_N_WR(x) (((x) >> S_EN_SLICE_N_WR) & M_EN_SLICE_N_WR)
59792 #define A_MC_DDRPHY_DP18_IO_TX_PFET_SLICE 0x441e4
59793 #define A_MC_DDRPHY_DP18_IO_TX_NFET_TERM 0x441e8
59795 #define S_EN_TERM_N_WR 8
59796 #define M_EN_TERM_N_WR 0xffU
59797 #define V_EN_TERM_N_WR(x) ((x) << S_EN_TERM_N_WR)
59798 #define G_EN_TERM_N_WR(x) (((x) >> S_EN_TERM_N_WR) & M_EN_TERM_N_WR)
59800 #define S_EN_TERM_N_WR_FFE 4
59801 #define M_EN_TERM_N_WR_FFE 0xfU
59802 #define V_EN_TERM_N_WR_FFE(x) ((x) << S_EN_TERM_N_WR_FFE)
59803 #define G_EN_TERM_N_WR_FFE(x) (((x) >> S_EN_TERM_N_WR_FFE) & M_EN_TERM_N_WR_FFE)
59805 #define A_MC_DDRPHY_DP18_IO_TX_PFET_TERM 0x441ec
59807 #define S_EN_TERM_P_WR 8
59808 #define M_EN_TERM_P_WR 0xffU
59809 #define V_EN_TERM_P_WR(x) ((x) << S_EN_TERM_P_WR)
59810 #define G_EN_TERM_P_WR(x) (((x) >> S_EN_TERM_P_WR) & M_EN_TERM_P_WR)
59812 #define S_EN_TERM_P_WR_FFE 4
59813 #define M_EN_TERM_P_WR_FFE 0xfU
59814 #define V_EN_TERM_P_WR_FFE(x) ((x) << S_EN_TERM_P_WR_FFE)
59815 #define G_EN_TERM_P_WR_FFE(x) (((x) >> S_EN_TERM_P_WR_FFE) & M_EN_TERM_P_WR_FFE)
59817 #define A_MC_DDRPHY_DP18_DATA_BIT_DISABLE0_RP 0x441f0
59819 #define S_DATA_BIT_DISABLE_0_15 0
59820 #define M_DATA_BIT_DISABLE_0_15 0xffffU
59821 #define V_DATA_BIT_DISABLE_0_15(x) ((x) << S_DATA_BIT_DISABLE_0_15)
59822 #define G_DATA_BIT_DISABLE_0_15(x) (((x) >> S_DATA_BIT_DISABLE_0_15) & M_DATA_BIT_DISABLE_0_15)
59824 #define A_MC_DDRPHY_DP18_DATA_BIT_DISABLE1_RP 0x441f4
59826 #define S_DATA_BIT_DISABLE_16_23 8
59827 #define M_DATA_BIT_DISABLE_16_23 0xffU
59828 #define V_DATA_BIT_DISABLE_16_23(x) ((x) << S_DATA_BIT_DISABLE_16_23)
59829 #define G_DATA_BIT_DISABLE_16_23(x) (((x) >> S_DATA_BIT_DISABLE_16_23) & M_DATA_BIT_DISABLE_16_23)
59831 #define A_MC_DDRPHY_DP18_DQ_WR_OFFSET_RP 0x441f8
59833 #define S_DQ_WR_OFFSET_N0 12
59834 #define M_DQ_WR_OFFSET_N0 0xfU
59835 #define V_DQ_WR_OFFSET_N0(x) ((x) << S_DQ_WR_OFFSET_N0)
59836 #define G_DQ_WR_OFFSET_N0(x) (((x) >> S_DQ_WR_OFFSET_N0) & M_DQ_WR_OFFSET_N0)
59838 #define S_DQ_WR_OFFSET_N1 8
59839 #define M_DQ_WR_OFFSET_N1 0xfU
59840 #define V_DQ_WR_OFFSET_N1(x) ((x) << S_DQ_WR_OFFSET_N1)
59841 #define G_DQ_WR_OFFSET_N1(x) (((x) >> S_DQ_WR_OFFSET_N1) & M_DQ_WR_OFFSET_N1)
59843 #define S_DQ_WR_OFFSET_N2 4
59844 #define M_DQ_WR_OFFSET_N2 0xfU
59845 #define V_DQ_WR_OFFSET_N2(x) ((x) << S_DQ_WR_OFFSET_N2)
59846 #define G_DQ_WR_OFFSET_N2(x) (((x) >> S_DQ_WR_OFFSET_N2) & M_DQ_WR_OFFSET_N2)
59848 #define S_DQ_WR_OFFSET_N3 0
59849 #define M_DQ_WR_OFFSET_N3 0xfU
59850 #define V_DQ_WR_OFFSET_N3(x) ((x) << S_DQ_WR_OFFSET_N3)
59851 #define G_DQ_WR_OFFSET_N3(x) (((x) >> S_DQ_WR_OFFSET_N3) & M_DQ_WR_OFFSET_N3)
59853 #define A_MC_DDRPHY_DP18_POWERDOWN_1 0x441fc
59855 #define S_EYEDAC_PD 13
59856 #define V_EYEDAC_PD(x) ((x) << S_EYEDAC_PD)
59857 #define F_EYEDAC_PD V_EYEDAC_PD(1U)
59859 #define S_ANALOG_OUTPUT_STAB 9
59860 #define V_ANALOG_OUTPUT_STAB(x) ((x) << S_ANALOG_OUTPUT_STAB)
59861 #define F_ANALOG_OUTPUT_STAB V_ANALOG_OUTPUT_STAB(1U)
59863 #define S_DP18_RX_PD 2
59864 #define M_DP18_RX_PD 0x3U
59865 #define V_DP18_RX_PD(x) ((x) << S_DP18_RX_PD)
59866 #define G_DP18_RX_PD(x) (((x) >> S_DP18_RX_PD) & M_DP18_RX_PD)
59868 #define S_DELAY_LINE_CTL_OVERRIDE 4
59869 #define V_DELAY_LINE_CTL_OVERRIDE(x) ((x) << S_DELAY_LINE_CTL_OVERRIDE)
59870 #define F_DELAY_LINE_CTL_OVERRIDE V_DELAY_LINE_CTL_OVERRIDE(1U)
59872 #define S_VCC_REG_PD 0
59873 #define V_VCC_REG_PD(x) ((x) << S_VCC_REG_PD)
59874 #define F_VCC_REG_PD V_VCC_REG_PD(1U)
59876 #define A_MC_ADR_DDRPHY_ADR_BIT_ENABLE 0x45000
59878 #define S_BIT_ENABLE_0_11 4
59879 #define M_BIT_ENABLE_0_11 0xfffU
59880 #define V_BIT_ENABLE_0_11(x) ((x) << S_BIT_ENABLE_0_11)
59881 #define G_BIT_ENABLE_0_11(x) (((x) >> S_BIT_ENABLE_0_11) & M_BIT_ENABLE_0_11)
59883 #define S_BIT_ENABLE_12_15 0
59884 #define M_BIT_ENABLE_12_15 0xfU
59885 #define V_BIT_ENABLE_12_15(x) ((x) << S_BIT_ENABLE_12_15)
59886 #define G_BIT_ENABLE_12_15(x) (((x) >> S_BIT_ENABLE_12_15) & M_BIT_ENABLE_12_15)
59888 #define A_MC_ADR_DDRPHY_ADR_DIFFPAIR_ENABLE 0x45004
59890 #define S_DI_ADR0_ADR1 15
59891 #define V_DI_ADR0_ADR1(x) ((x) << S_DI_ADR0_ADR1)
59892 #define F_DI_ADR0_ADR1 V_DI_ADR0_ADR1(1U)
59894 #define S_DI_ADR2_ADR3 14
59895 #define V_DI_ADR2_ADR3(x) ((x) << S_DI_ADR2_ADR3)
59896 #define F_DI_ADR2_ADR3 V_DI_ADR2_ADR3(1U)
59898 #define S_DI_ADR4_ADR5 13
59899 #define V_DI_ADR4_ADR5(x) ((x) << S_DI_ADR4_ADR5)
59900 #define F_DI_ADR4_ADR5 V_DI_ADR4_ADR5(1U)
59902 #define S_DI_ADR6_ADR7 12
59903 #define V_DI_ADR6_ADR7(x) ((x) << S_DI_ADR6_ADR7)
59904 #define F_DI_ADR6_ADR7 V_DI_ADR6_ADR7(1U)
59906 #define S_DI_ADR8_ADR9 11
59907 #define V_DI_ADR8_ADR9(x) ((x) << S_DI_ADR8_ADR9)
59908 #define F_DI_ADR8_ADR9 V_DI_ADR8_ADR9(1U)
59910 #define S_DI_ADR10_ADR11 10
59911 #define V_DI_ADR10_ADR11(x) ((x) << S_DI_ADR10_ADR11)
59912 #define F_DI_ADR10_ADR11 V_DI_ADR10_ADR11(1U)
59914 #define S_DI_ADR12_ADR13 9
59915 #define V_DI_ADR12_ADR13(x) ((x) << S_DI_ADR12_ADR13)
59916 #define F_DI_ADR12_ADR13 V_DI_ADR12_ADR13(1U)
59918 #define S_DI_ADR14_ADR15 8
59919 #define V_DI_ADR14_ADR15(x) ((x) << S_DI_ADR14_ADR15)
59920 #define F_DI_ADR14_ADR15 V_DI_ADR14_ADR15(1U)
59922 #define A_MC_ADR_DDRPHY_ADR_DELAY0 0x45010
59924 #define S_ADR_DELAY_BITS1_7 8
59925 #define M_ADR_DELAY_BITS1_7 0x7fU
59926 #define V_ADR_DELAY_BITS1_7(x) ((x) << S_ADR_DELAY_BITS1_7)
59927 #define G_ADR_DELAY_BITS1_7(x) (((x) >> S_ADR_DELAY_BITS1_7) & M_ADR_DELAY_BITS1_7)
59929 #define S_ADR_DELAY_BITS9_15 0
59930 #define M_ADR_DELAY_BITS9_15 0x7fU
59931 #define V_ADR_DELAY_BITS9_15(x) ((x) << S_ADR_DELAY_BITS9_15)
59932 #define G_ADR_DELAY_BITS9_15(x) (((x) >> S_ADR_DELAY_BITS9_15) & M_ADR_DELAY_BITS9_15)
59934 #define A_MC_ADR_DDRPHY_ADR_DELAY1 0x45014
59935 #define A_MC_ADR_DDRPHY_ADR_DELAY2 0x45018
59936 #define A_MC_ADR_DDRPHY_ADR_DELAY3 0x4501c
59937 #define A_MC_ADR_DDRPHY_ADR_DELAY4 0x45020
59938 #define A_MC_ADR_DDRPHY_ADR_DELAY5 0x45024
59939 #define A_MC_ADR_DDRPHY_ADR_DELAY6 0x45028
59940 #define A_MC_ADR_DDRPHY_ADR_DELAY7 0x4502c
59941 #define A_MC_ADR_DDRPHY_ADR_DFT_WRAP_STATUS_CONTROL 0x45030
59943 #define S_ADR_TEST_LANE_PAIR_FAIL 8
59944 #define M_ADR_TEST_LANE_PAIR_FAIL 0xffU
59945 #define V_ADR_TEST_LANE_PAIR_FAIL(x) ((x) << S_ADR_TEST_LANE_PAIR_FAIL)
59946 #define G_ADR_TEST_LANE_PAIR_FAIL(x) (((x) >> S_ADR_TEST_LANE_PAIR_FAIL) & M_ADR_TEST_LANE_PAIR_FAIL)
59948 #define S_ADR_TEST_DATA_EN 7
59949 #define V_ADR_TEST_DATA_EN(x) ((x) << S_ADR_TEST_DATA_EN)
59950 #define F_ADR_TEST_DATA_EN V_ADR_TEST_DATA_EN(1U)
59952 #define S_DADR_TEST_MODE 5
59953 #define M_DADR_TEST_MODE 0x3U
59954 #define V_DADR_TEST_MODE(x) ((x) << S_DADR_TEST_MODE)
59955 #define G_DADR_TEST_MODE(x) (((x) >> S_DADR_TEST_MODE) & M_DADR_TEST_MODE)
59957 #define S_ADR_TEST_4TO1_MODE 4
59958 #define V_ADR_TEST_4TO1_MODE(x) ((x) << S_ADR_TEST_4TO1_MODE)
59959 #define F_ADR_TEST_4TO1_MODE V_ADR_TEST_4TO1_MODE(1U)
59961 #define S_ADR_TEST_RESET 3
59962 #define V_ADR_TEST_RESET(x) ((x) << S_ADR_TEST_RESET)
59963 #define F_ADR_TEST_RESET V_ADR_TEST_RESET(1U)
59965 #define S_ADR_TEST_GEN_EN 2
59966 #define V_ADR_TEST_GEN_EN(x) ((x) << S_ADR_TEST_GEN_EN)
59967 #define F_ADR_TEST_GEN_EN V_ADR_TEST_GEN_EN(1U)
59969 #define S_ADR_TEST_CLEAR_ERROR 1
59970 #define V_ADR_TEST_CLEAR_ERROR(x) ((x) << S_ADR_TEST_CLEAR_ERROR)
59971 #define F_ADR_TEST_CLEAR_ERROR V_ADR_TEST_CLEAR_ERROR(1U)
59973 #define S_ADR_TEST_CHECK_EN 0
59974 #define V_ADR_TEST_CHECK_EN(x) ((x) << S_ADR_TEST_CHECK_EN)
59975 #define F_ADR_TEST_CHECK_EN V_ADR_TEST_CHECK_EN(1U)
59977 #define A_MC_ADR_DDRPHY_ADR_IO_NFET_SLICE_EN0 0x45040
59979 #define S_EN_SLICE_N_WR_0 8
59980 #define M_EN_SLICE_N_WR_0 0xffU
59981 #define V_EN_SLICE_N_WR_0(x) ((x) << S_EN_SLICE_N_WR_0)
59982 #define G_EN_SLICE_N_WR_0(x) (((x) >> S_EN_SLICE_N_WR_0) & M_EN_SLICE_N_WR_0)
59984 #define S_EN_SLICE_N_WR_FFE 4
59985 #define M_EN_SLICE_N_WR_FFE 0xfU
59986 #define V_EN_SLICE_N_WR_FFE(x) ((x) << S_EN_SLICE_N_WR_FFE)
59987 #define G_EN_SLICE_N_WR_FFE(x) (((x) >> S_EN_SLICE_N_WR_FFE) & M_EN_SLICE_N_WR_FFE)
59989 #define A_MC_ADR_DDRPHY_ADR_IO_NFET_SLICE_EN1 0x45044
59991 #define S_EN_SLICE_N_WR_1 8
59992 #define M_EN_SLICE_N_WR_1 0xffU
59993 #define V_EN_SLICE_N_WR_1(x) ((x) << S_EN_SLICE_N_WR_1)
59994 #define G_EN_SLICE_N_WR_1(x) (((x) >> S_EN_SLICE_N_WR_1) & M_EN_SLICE_N_WR_1)
59996 #define A_MC_ADR_DDRPHY_ADR_IO_NFET_SLICE_EN2 0x45048
59998 #define S_EN_SLICE_N_WR_2 8
59999 #define M_EN_SLICE_N_WR_2 0xffU
60000 #define V_EN_SLICE_N_WR_2(x) ((x) << S_EN_SLICE_N_WR_2)
60001 #define G_EN_SLICE_N_WR_2(x) (((x) >> S_EN_SLICE_N_WR_2) & M_EN_SLICE_N_WR_2)
60003 #define A_MC_ADR_DDRPHY_ADR_IO_NFET_SLICE_EN3 0x4504c
60005 #define S_EN_SLICE_N_WR_3 8
60006 #define M_EN_SLICE_N_WR_3 0xffU
60007 #define V_EN_SLICE_N_WR_3(x) ((x) << S_EN_SLICE_N_WR_3)
60008 #define G_EN_SLICE_N_WR_3(x) (((x) >> S_EN_SLICE_N_WR_3) & M_EN_SLICE_N_WR_3)
60010 #define A_MC_ADR_DDRPHY_ADR_IO_PFET_SLICE_EN0 0x45050
60012 #define S_EN_SLICE_P_WR 8
60013 #define M_EN_SLICE_P_WR 0xffU
60014 #define V_EN_SLICE_P_WR(x) ((x) << S_EN_SLICE_P_WR)
60015 #define G_EN_SLICE_P_WR(x) (((x) >> S_EN_SLICE_P_WR) & M_EN_SLICE_P_WR)
60017 #define S_EN_SLICE_P_WR_FFE 4
60018 #define M_EN_SLICE_P_WR_FFE 0xfU
60019 #define V_EN_SLICE_P_WR_FFE(x) ((x) << S_EN_SLICE_P_WR_FFE)
60020 #define G_EN_SLICE_P_WR_FFE(x) (((x) >> S_EN_SLICE_P_WR_FFE) & M_EN_SLICE_P_WR_FFE)
60022 #define A_MC_ADR_DDRPHY_ADR_IO_PFET_SLICE_EN1 0x45054
60023 #define A_MC_ADR_DDRPHY_ADR_IO_PFET_SLICE_EN2 0x45058
60024 #define A_MC_ADR_DDRPHY_ADR_IO_PFET_SLICE_EN3 0x4505c
60025 #define A_MC_ADR_DDRPHY_ADR_IO_POST_CURSOR_VALUE 0x45060
60027 #define S_POST_CURSOR0 12
60028 #define M_POST_CURSOR0 0xfU
60029 #define V_POST_CURSOR0(x) ((x) << S_POST_CURSOR0)
60030 #define G_POST_CURSOR0(x) (((x) >> S_POST_CURSOR0) & M_POST_CURSOR0)
60032 #define S_POST_CURSOR1 8
60033 #define M_POST_CURSOR1 0xfU
60034 #define V_POST_CURSOR1(x) ((x) << S_POST_CURSOR1)
60035 #define G_POST_CURSOR1(x) (((x) >> S_POST_CURSOR1) & M_POST_CURSOR1)
60037 #define S_POST_CURSOR2 4
60038 #define M_POST_CURSOR2 0xfU
60039 #define V_POST_CURSOR2(x) ((x) << S_POST_CURSOR2)
60040 #define G_POST_CURSOR2(x) (((x) >> S_POST_CURSOR2) & M_POST_CURSOR2)
60042 #define S_POST_CURSOR3 0
60043 #define M_POST_CURSOR3 0xfU
60044 #define V_POST_CURSOR3(x) ((x) << S_POST_CURSOR3)
60045 #define G_POST_CURSOR3(x) (((x) >> S_POST_CURSOR3) & M_POST_CURSOR3)
60047 #define A_MC_ADR_DDRPHY_ADR_IO_SLEW_CTL_VALUE 0x45068
60049 #define S_SLEW_CTL0 12
60050 #define M_SLEW_CTL0 0xfU
60051 #define V_SLEW_CTL0(x) ((x) << S_SLEW_CTL0)
60052 #define G_SLEW_CTL0(x) (((x) >> S_SLEW_CTL0) & M_SLEW_CTL0)
60054 #define S_SLEW_CTL1 8
60055 #define M_SLEW_CTL1 0xfU
60056 #define V_SLEW_CTL1(x) ((x) << S_SLEW_CTL1)
60057 #define G_SLEW_CTL1(x) (((x) >> S_SLEW_CTL1) & M_SLEW_CTL1)
60059 #define S_SLEW_CTL2 4
60060 #define M_SLEW_CTL2 0xfU
60061 #define V_SLEW_CTL2(x) ((x) << S_SLEW_CTL2)
60062 #define G_SLEW_CTL2(x) (((x) >> S_SLEW_CTL2) & M_SLEW_CTL2)
60064 #define S_SLEW_CTL3 0
60065 #define M_SLEW_CTL3 0xfU
60066 #define V_SLEW_CTL3(x) ((x) << S_SLEW_CTL3)
60067 #define G_SLEW_CTL3(x) (((x) >> S_SLEW_CTL3) & M_SLEW_CTL3)
60069 #define A_MC_ADR_DDRPHY_ADR_IO_FET_SLICE_EN_MAP0 0x45080
60071 #define S_SLICE_SEL_REG_BITS0_1 14
60072 #define M_SLICE_SEL_REG_BITS0_1 0x3U
60073 #define V_SLICE_SEL_REG_BITS0_1(x) ((x) << S_SLICE_SEL_REG_BITS0_1)
60074 #define G_SLICE_SEL_REG_BITS0_1(x) (((x) >> S_SLICE_SEL_REG_BITS0_1) & M_SLICE_SEL_REG_BITS0_1)
60076 #define S_SLICE_SEL_REG_BITS2_3 12
60077 #define M_SLICE_SEL_REG_BITS2_3 0x3U
60078 #define V_SLICE_SEL_REG_BITS2_3(x) ((x) << S_SLICE_SEL_REG_BITS2_3)
60079 #define G_SLICE_SEL_REG_BITS2_3(x) (((x) >> S_SLICE_SEL_REG_BITS2_3) & M_SLICE_SEL_REG_BITS2_3)
60081 #define S_SLICE_SEL_REG_BITS4_5 10
60082 #define M_SLICE_SEL_REG_BITS4_5 0x3U
60083 #define V_SLICE_SEL_REG_BITS4_5(x) ((x) << S_SLICE_SEL_REG_BITS4_5)
60084 #define G_SLICE_SEL_REG_BITS4_5(x) (((x) >> S_SLICE_SEL_REG_BITS4_5) & M_SLICE_SEL_REG_BITS4_5)
60086 #define S_SLICE_SEL_REG_BITS6_7 8
60087 #define M_SLICE_SEL_REG_BITS6_7 0x3U
60088 #define V_SLICE_SEL_REG_BITS6_7(x) ((x) << S_SLICE_SEL_REG_BITS6_7)
60089 #define G_SLICE_SEL_REG_BITS6_7(x) (((x) >> S_SLICE_SEL_REG_BITS6_7) & M_SLICE_SEL_REG_BITS6_7)
60091 #define S_SLICE_SEL_REG_BITS8_9 6
60092 #define M_SLICE_SEL_REG_BITS8_9 0x3U
60093 #define V_SLICE_SEL_REG_BITS8_9(x) ((x) << S_SLICE_SEL_REG_BITS8_9)
60094 #define G_SLICE_SEL_REG_BITS8_9(x) (((x) >> S_SLICE_SEL_REG_BITS8_9) & M_SLICE_SEL_REG_BITS8_9)
60096 #define S_SLICE_SEL_REG_BITS10_11 4
60097 #define M_SLICE_SEL_REG_BITS10_11 0x3U
60098 #define V_SLICE_SEL_REG_BITS10_11(x) ((x) << S_SLICE_SEL_REG_BITS10_11)
60099 #define G_SLICE_SEL_REG_BITS10_11(x) (((x) >> S_SLICE_SEL_REG_BITS10_11) & M_SLICE_SEL_REG_BITS10_11)
60101 #define S_SLICE_SEL_REG_BITS12_13 2
60102 #define M_SLICE_SEL_REG_BITS12_13 0x3U
60103 #define V_SLICE_SEL_REG_BITS12_13(x) ((x) << S_SLICE_SEL_REG_BITS12_13)
60104 #define G_SLICE_SEL_REG_BITS12_13(x) (((x) >> S_SLICE_SEL_REG_BITS12_13) & M_SLICE_SEL_REG_BITS12_13)
60106 #define S_SLICE_SEL_REG_BITS14_15 0
60107 #define M_SLICE_SEL_REG_BITS14_15 0x3U
60108 #define V_SLICE_SEL_REG_BITS14_15(x) ((x) << S_SLICE_SEL_REG_BITS14_15)
60109 #define G_SLICE_SEL_REG_BITS14_15(x) (((x) >> S_SLICE_SEL_REG_BITS14_15) & M_SLICE_SEL_REG_BITS14_15)
60111 #define A_MC_ADR_DDRPHY_ADR_IO_FET_SLICE_EN_MAP1 0x45084
60112 #define A_MC_ADR_DDRPHY_ADR_IO_POST_CURSOR_VALUE_MAP0 0x450a0
60114 #define S_POST_CUR_SEL_BITS0_1 14
60115 #define M_POST_CUR_SEL_BITS0_1 0x3U
60116 #define V_POST_CUR_SEL_BITS0_1(x) ((x) << S_POST_CUR_SEL_BITS0_1)
60117 #define G_POST_CUR_SEL_BITS0_1(x) (((x) >> S_POST_CUR_SEL_BITS0_1) & M_POST_CUR_SEL_BITS0_1)
60119 #define S_POST_CUR_SEL_BITS2_3 12
60120 #define M_POST_CUR_SEL_BITS2_3 0x3U
60121 #define V_POST_CUR_SEL_BITS2_3(x) ((x) << S_POST_CUR_SEL_BITS2_3)
60122 #define G_POST_CUR_SEL_BITS2_3(x) (((x) >> S_POST_CUR_SEL_BITS2_3) & M_POST_CUR_SEL_BITS2_3)
60124 #define S_POST_CUR_SEL_BITS4_5 10
60125 #define M_POST_CUR_SEL_BITS4_5 0x3U
60126 #define V_POST_CUR_SEL_BITS4_5(x) ((x) << S_POST_CUR_SEL_BITS4_5)
60127 #define G_POST_CUR_SEL_BITS4_5(x) (((x) >> S_POST_CUR_SEL_BITS4_5) & M_POST_CUR_SEL_BITS4_5)
60129 #define S_POST_CUR_SEL_BITS6_7 8
60130 #define M_POST_CUR_SEL_BITS6_7 0x3U
60131 #define V_POST_CUR_SEL_BITS6_7(x) ((x) << S_POST_CUR_SEL_BITS6_7)
60132 #define G_POST_CUR_SEL_BITS6_7(x) (((x) >> S_POST_CUR_SEL_BITS6_7) & M_POST_CUR_SEL_BITS6_7)
60134 #define S_POST_CUR_SEL_BITS8_9 6
60135 #define M_POST_CUR_SEL_BITS8_9 0x3U
60136 #define V_POST_CUR_SEL_BITS8_9(x) ((x) << S_POST_CUR_SEL_BITS8_9)
60137 #define G_POST_CUR_SEL_BITS8_9(x) (((x) >> S_POST_CUR_SEL_BITS8_9) & M_POST_CUR_SEL_BITS8_9)
60139 #define S_POST_CUR_SEL_BITS10_11 4
60140 #define M_POST_CUR_SEL_BITS10_11 0x3U
60141 #define V_POST_CUR_SEL_BITS10_11(x) ((x) << S_POST_CUR_SEL_BITS10_11)
60142 #define G_POST_CUR_SEL_BITS10_11(x) (((x) >> S_POST_CUR_SEL_BITS10_11) & M_POST_CUR_SEL_BITS10_11)
60144 #define S_POST_CUR_SEL_BITS12_13 2
60145 #define M_POST_CUR_SEL_BITS12_13 0x3U
60146 #define V_POST_CUR_SEL_BITS12_13(x) ((x) << S_POST_CUR_SEL_BITS12_13)
60147 #define G_POST_CUR_SEL_BITS12_13(x) (((x) >> S_POST_CUR_SEL_BITS12_13) & M_POST_CUR_SEL_BITS12_13)
60149 #define S_POST_CUR_SEL_BITS14_15 0
60150 #define M_POST_CUR_SEL_BITS14_15 0x3U
60151 #define V_POST_CUR_SEL_BITS14_15(x) ((x) << S_POST_CUR_SEL_BITS14_15)
60152 #define G_POST_CUR_SEL_BITS14_15(x) (((x) >> S_POST_CUR_SEL_BITS14_15) & M_POST_CUR_SEL_BITS14_15)
60154 #define A_MC_ADR_DDRPHY_ADR_IO_POST_CURSOR_VALUE_MAP1 0x450a4
60155 #define A_MC_ADR_DDRPHY_ADR_IO_SLEW_CTL_VALUE_MAP0 0x450a8
60157 #define S_SLEW_CTL_SEL_BITS0_1 14
60158 #define M_SLEW_CTL_SEL_BITS0_1 0x3U
60159 #define V_SLEW_CTL_SEL_BITS0_1(x) ((x) << S_SLEW_CTL_SEL_BITS0_1)
60160 #define G_SLEW_CTL_SEL_BITS0_1(x) (((x) >> S_SLEW_CTL_SEL_BITS0_1) & M_SLEW_CTL_SEL_BITS0_1)
60162 #define S_SLEW_CTL_SEL_BITS2_3 12
60163 #define M_SLEW_CTL_SEL_BITS2_3 0x3U
60164 #define V_SLEW_CTL_SEL_BITS2_3(x) ((x) << S_SLEW_CTL_SEL_BITS2_3)
60165 #define G_SLEW_CTL_SEL_BITS2_3(x) (((x) >> S_SLEW_CTL_SEL_BITS2_3) & M_SLEW_CTL_SEL_BITS2_3)
60167 #define S_SLEW_CTL_SEL_BITS4_5 10
60168 #define M_SLEW_CTL_SEL_BITS4_5 0x3U
60169 #define V_SLEW_CTL_SEL_BITS4_5(x) ((x) << S_SLEW_CTL_SEL_BITS4_5)
60170 #define G_SLEW_CTL_SEL_BITS4_5(x) (((x) >> S_SLEW_CTL_SEL_BITS4_5) & M_SLEW_CTL_SEL_BITS4_5)
60172 #define S_SLEW_CTL_SEL_BITS6_7 8
60173 #define M_SLEW_CTL_SEL_BITS6_7 0x3U
60174 #define V_SLEW_CTL_SEL_BITS6_7(x) ((x) << S_SLEW_CTL_SEL_BITS6_7)
60175 #define G_SLEW_CTL_SEL_BITS6_7(x) (((x) >> S_SLEW_CTL_SEL_BITS6_7) & M_SLEW_CTL_SEL_BITS6_7)
60177 #define S_SLEW_CTL_SEL_BITS8_9 6
60178 #define M_SLEW_CTL_SEL_BITS8_9 0x3U
60179 #define V_SLEW_CTL_SEL_BITS8_9(x) ((x) << S_SLEW_CTL_SEL_BITS8_9)
60180 #define G_SLEW_CTL_SEL_BITS8_9(x) (((x) >> S_SLEW_CTL_SEL_BITS8_9) & M_SLEW_CTL_SEL_BITS8_9)
60182 #define S_SLEW_CTL_SEL_BITS10_11 4
60183 #define M_SLEW_CTL_SEL_BITS10_11 0x3U
60184 #define V_SLEW_CTL_SEL_BITS10_11(x) ((x) << S_SLEW_CTL_SEL_BITS10_11)
60185 #define G_SLEW_CTL_SEL_BITS10_11(x) (((x) >> S_SLEW_CTL_SEL_BITS10_11) & M_SLEW_CTL_SEL_BITS10_11)
60187 #define S_SLEW_CTL_SEL_BITS12_13 2
60188 #define M_SLEW_CTL_SEL_BITS12_13 0x3U
60189 #define V_SLEW_CTL_SEL_BITS12_13(x) ((x) << S_SLEW_CTL_SEL_BITS12_13)
60190 #define G_SLEW_CTL_SEL_BITS12_13(x) (((x) >> S_SLEW_CTL_SEL_BITS12_13) & M_SLEW_CTL_SEL_BITS12_13)
60192 #define S_SLEW_CTL_SEL_BITS14_15 0
60193 #define M_SLEW_CTL_SEL_BITS14_15 0x3U
60194 #define V_SLEW_CTL_SEL_BITS14_15(x) ((x) << S_SLEW_CTL_SEL_BITS14_15)
60195 #define G_SLEW_CTL_SEL_BITS14_15(x) (((x) >> S_SLEW_CTL_SEL_BITS14_15) & M_SLEW_CTL_SEL_BITS14_15)
60197 #define A_MC_ADR_DDRPHY_ADR_IO_SLEW_CTL_VALUE_MAP1 0x450ac
60198 #define A_MC_ADR_DDRPHY_ADR_POWERDOWN_2 0x450b0
60200 #define S_ADR_LANE_0_11_PD 4
60201 #define M_ADR_LANE_0_11_PD 0xfffU
60202 #define V_ADR_LANE_0_11_PD(x) ((x) << S_ADR_LANE_0_11_PD)
60203 #define G_ADR_LANE_0_11_PD(x) (((x) >> S_ADR_LANE_0_11_PD) & M_ADR_LANE_0_11_PD)
60205 #define S_ADR_LANE_12_15_PD 0
60206 #define M_ADR_LANE_12_15_PD 0xfU
60207 #define V_ADR_LANE_12_15_PD(x) ((x) << S_ADR_LANE_12_15_PD)
60208 #define G_ADR_LANE_12_15_PD(x) (((x) >> S_ADR_LANE_12_15_PD) & M_ADR_LANE_12_15_PD)
60210 #define A_T6_MC_ADR_DDRPHY_ADR_BIT_ENABLE 0x45800
60211 #define A_T6_MC_ADR_DDRPHY_ADR_DIFFPAIR_ENABLE 0x45804
60212 #define A_T6_MC_ADR_DDRPHY_ADR_DELAY0 0x45810
60213 #define A_T6_MC_ADR_DDRPHY_ADR_DELAY1 0x45814
60214 #define A_T6_MC_ADR_DDRPHY_ADR_DELAY2 0x45818
60215 #define A_T6_MC_ADR_DDRPHY_ADR_DELAY3 0x4581c
60216 #define A_T6_MC_ADR_DDRPHY_ADR_DELAY4 0x45820
60217 #define A_T6_MC_ADR_DDRPHY_ADR_DELAY5 0x45824
60218 #define A_T6_MC_ADR_DDRPHY_ADR_DELAY6 0x45828
60219 #define A_T6_MC_ADR_DDRPHY_ADR_DELAY7 0x4582c
60220 #define A_T6_MC_ADR_DDRPHY_ADR_DFT_WRAP_STATUS_CONTROL 0x45830
60222 #define S_ADR_TEST_MODE 5
60223 #define M_ADR_TEST_MODE 0x3U
60224 #define V_ADR_TEST_MODE(x) ((x) << S_ADR_TEST_MODE)
60225 #define G_ADR_TEST_MODE(x) (((x) >> S_ADR_TEST_MODE) & M_ADR_TEST_MODE)
60227 #define A_T6_MC_ADR_DDRPHY_ADR_IO_NFET_SLICE_EN0 0x45840
60228 #define A_T6_MC_ADR_DDRPHY_ADR_IO_NFET_SLICE_EN1 0x45844
60229 #define A_T6_MC_ADR_DDRPHY_ADR_IO_NFET_SLICE_EN2 0x45848
60230 #define A_T6_MC_ADR_DDRPHY_ADR_IO_NFET_SLICE_EN3 0x4584c
60231 #define A_T6_MC_ADR_DDRPHY_ADR_IO_PFET_SLICE_EN0 0x45850
60232 #define A_T6_MC_ADR_DDRPHY_ADR_IO_PFET_SLICE_EN1 0x45854
60233 #define A_T6_MC_ADR_DDRPHY_ADR_IO_PFET_SLICE_EN2 0x45858
60234 #define A_T6_MC_ADR_DDRPHY_ADR_IO_PFET_SLICE_EN3 0x4585c
60235 #define A_T6_MC_ADR_DDRPHY_ADR_IO_POST_CURSOR_VALUE 0x45860
60236 #define A_T6_MC_ADR_DDRPHY_ADR_IO_SLEW_CTL_VALUE 0x45868
60237 #define A_T6_MC_ADR_DDRPHY_ADR_IO_FET_SLICE_EN_MAP0 0x45880
60238 #define A_T6_MC_ADR_DDRPHY_ADR_IO_FET_SLICE_EN_MAP1 0x45884
60239 #define A_T6_MC_ADR_DDRPHY_ADR_IO_POST_CURSOR_VALUE_MAP0 0x458a0
60240 #define A_T6_MC_ADR_DDRPHY_ADR_IO_POST_CURSOR_VALUE_MAP1 0x458a4
60241 #define A_T6_MC_ADR_DDRPHY_ADR_IO_SLEW_CTL_VALUE_MAP0 0x458a8
60242 #define A_T6_MC_ADR_DDRPHY_ADR_IO_SLEW_CTL_VALUE_MAP1 0x458ac
60243 #define A_T6_MC_ADR_DDRPHY_ADR_POWERDOWN_2 0x458b0
60244 #define A_MC_DDRPHY_ADR_PLL_VREG_CONFIG_0 0x460c0
60246 #define S_PLL_TUNE_0_2 13
60247 #define M_PLL_TUNE_0_2 0x7U
60248 #define V_PLL_TUNE_0_2(x) ((x) << S_PLL_TUNE_0_2)
60249 #define G_PLL_TUNE_0_2(x) (((x) >> S_PLL_TUNE_0_2) & M_PLL_TUNE_0_2)
60251 #define S_PLL_TUNECP_0_2 10
60252 #define M_PLL_TUNECP_0_2 0x7U
60253 #define V_PLL_TUNECP_0_2(x) ((x) << S_PLL_TUNECP_0_2)
60254 #define G_PLL_TUNECP_0_2(x) (((x) >> S_PLL_TUNECP_0_2) & M_PLL_TUNECP_0_2)
60256 #define S_PLL_TUNEF_0_5 4
60257 #define M_PLL_TUNEF_0_5 0x3fU
60258 #define V_PLL_TUNEF_0_5(x) ((x) << S_PLL_TUNEF_0_5)
60259 #define G_PLL_TUNEF_0_5(x) (((x) >> S_PLL_TUNEF_0_5) & M_PLL_TUNEF_0_5)
60261 #define S_PLL_TUNEVCO_0_1 2
60262 #define M_PLL_TUNEVCO_0_1 0x3U
60263 #define V_PLL_TUNEVCO_0_1(x) ((x) << S_PLL_TUNEVCO_0_1)
60264 #define G_PLL_TUNEVCO_0_1(x) (((x) >> S_PLL_TUNEVCO_0_1) & M_PLL_TUNEVCO_0_1)
60266 #define S_PLL_PLLXTR_0_1 0
60267 #define M_PLL_PLLXTR_0_1 0x3U
60268 #define V_PLL_PLLXTR_0_1(x) ((x) << S_PLL_PLLXTR_0_1)
60269 #define G_PLL_PLLXTR_0_1(x) (((x) >> S_PLL_PLLXTR_0_1) & M_PLL_PLLXTR_0_1)
60271 #define A_MC_DDRPHY_AD32S_PLL_VREG_CONFIG_0 0x460c0
60272 #define A_MC_DDRPHY_ADR_PLL_VREG_CONFIG_1 0x460c4
60274 #define S_PLL_TUNETDIV_0_2 13
60275 #define M_PLL_TUNETDIV_0_2 0x7U
60276 #define V_PLL_TUNETDIV_0_2(x) ((x) << S_PLL_TUNETDIV_0_2)
60277 #define G_PLL_TUNETDIV_0_2(x) (((x) >> S_PLL_TUNETDIV_0_2) & M_PLL_TUNETDIV_0_2)
60279 #define S_PLL_TUNEMDIV_0_1 11
60280 #define M_PLL_TUNEMDIV_0_1 0x3U
60281 #define V_PLL_TUNEMDIV_0_1(x) ((x) << S_PLL_TUNEMDIV_0_1)
60282 #define G_PLL_TUNEMDIV_0_1(x) (((x) >> S_PLL_TUNEMDIV_0_1) & M_PLL_TUNEMDIV_0_1)
60284 #define S_PLL_TUNEATST 10
60285 #define V_PLL_TUNEATST(x) ((x) << S_PLL_TUNEATST)
60286 #define F_PLL_TUNEATST V_PLL_TUNEATST(1U)
60288 #define S_VREG_RANGE_0_1 8
60289 #define M_VREG_RANGE_0_1 0x3U
60290 #define V_VREG_RANGE_0_1(x) ((x) << S_VREG_RANGE_0_1)
60291 #define G_VREG_RANGE_0_1(x) (((x) >> S_VREG_RANGE_0_1) & M_VREG_RANGE_0_1)
60293 #define S_VREG_VREGSPARE 7
60294 #define V_VREG_VREGSPARE(x) ((x) << S_VREG_VREGSPARE)
60295 #define F_VREG_VREGSPARE V_VREG_VREGSPARE(1U)
60297 #define S_VREG_VCCTUNE_0_1 5
60298 #define M_VREG_VCCTUNE_0_1 0x3U
60299 #define V_VREG_VCCTUNE_0_1(x) ((x) << S_VREG_VCCTUNE_0_1)
60300 #define G_VREG_VCCTUNE_0_1(x) (((x) >> S_VREG_VCCTUNE_0_1) & M_VREG_VCCTUNE_0_1)
60302 #define S_INTERP_SIG_SLEW_0_3 1
60303 #define M_INTERP_SIG_SLEW_0_3 0xfU
60304 #define V_INTERP_SIG_SLEW_0_3(x) ((x) << S_INTERP_SIG_SLEW_0_3)
60305 #define G_INTERP_SIG_SLEW_0_3(x) (((x) >> S_INTERP_SIG_SLEW_0_3) & M_INTERP_SIG_SLEW_0_3)
60307 #define S_ANALOG_WRAPON 0
60308 #define V_ANALOG_WRAPON(x) ((x) << S_ANALOG_WRAPON)
60309 #define F_ANALOG_WRAPON V_ANALOG_WRAPON(1U)
60311 #define A_MC_DDRPHY_AD32S_PLL_VREG_CONFIG_1 0x460c4
60312 #define A_MC_DDRPHY_ADR_SYSCLK_CNTL_PR 0x460c8
60314 #define S_SYSCLK_ENABLE 15
60315 #define V_SYSCLK_ENABLE(x) ((x) << S_SYSCLK_ENABLE)
60316 #define F_SYSCLK_ENABLE V_SYSCLK_ENABLE(1U)
60318 #define S_SYSCLK_ROT_OVERRIDE 8
60319 #define M_SYSCLK_ROT_OVERRIDE 0x7fU
60320 #define V_SYSCLK_ROT_OVERRIDE(x) ((x) << S_SYSCLK_ROT_OVERRIDE)
60321 #define G_SYSCLK_ROT_OVERRIDE(x) (((x) >> S_SYSCLK_ROT_OVERRIDE) & M_SYSCLK_ROT_OVERRIDE)
60323 #define S_SYSCLK_ROT_OVERRIDE_EN 7
60324 #define V_SYSCLK_ROT_OVERRIDE_EN(x) ((x) << S_SYSCLK_ROT_OVERRIDE_EN)
60325 #define F_SYSCLK_ROT_OVERRIDE_EN V_SYSCLK_ROT_OVERRIDE_EN(1U)
60327 #define S_SYSCLK_PHASE_ALIGN_RESE 6
60328 #define V_SYSCLK_PHASE_ALIGN_RESE(x) ((x) << S_SYSCLK_PHASE_ALIGN_RESE)
60329 #define F_SYSCLK_PHASE_ALIGN_RESE V_SYSCLK_PHASE_ALIGN_RESE(1U)
60331 #define S_SYSCLK_PHASE_CNTL_EN 5
60332 #define V_SYSCLK_PHASE_CNTL_EN(x) ((x) << S_SYSCLK_PHASE_CNTL_EN)
60333 #define F_SYSCLK_PHASE_CNTL_EN V_SYSCLK_PHASE_CNTL_EN(1U)
60335 #define S_SYSCLK_PHASE_DEFAULT_EN 4
60336 #define V_SYSCLK_PHASE_DEFAULT_EN(x) ((x) << S_SYSCLK_PHASE_DEFAULT_EN)
60337 #define F_SYSCLK_PHASE_DEFAULT_EN V_SYSCLK_PHASE_DEFAULT_EN(1U)
60339 #define S_SYSCLK_POS_EDGE_ALIGN 3
60340 #define V_SYSCLK_POS_EDGE_ALIGN(x) ((x) << S_SYSCLK_POS_EDGE_ALIGN)
60341 #define F_SYSCLK_POS_EDGE_ALIGN V_SYSCLK_POS_EDGE_ALIGN(1U)
60343 #define S_CONTINUOUS_UPDATE 2
60344 #define V_CONTINUOUS_UPDATE(x) ((x) << S_CONTINUOUS_UPDATE)
60345 #define F_CONTINUOUS_UPDATE V_CONTINUOUS_UPDATE(1U)
60347 #define S_CE0DLTVCC 0
60348 #define M_CE0DLTVCC 0x3U
60349 #define V_CE0DLTVCC(x) ((x) << S_CE0DLTVCC)
60350 #define G_CE0DLTVCC(x) (((x) >> S_CE0DLTVCC) & M_CE0DLTVCC)
60352 #define A_MC_DDRPHY_AD32S_SYSCLK_CNTL_PR 0x460c8
60353 #define A_MC_DDRPHY_ADR_MCCLK_WRCLK_PR_STATIC_OFFSET 0x460cc
60355 #define S_TSYS_WRCLK 8
60356 #define M_TSYS_WRCLK 0x7fU
60357 #define V_TSYS_WRCLK(x) ((x) << S_TSYS_WRCLK)
60358 #define G_TSYS_WRCLK(x) (((x) >> S_TSYS_WRCLK) & M_TSYS_WRCLK)
60360 #define A_MC_DDRPHY_AD32S_MCCLK_WRCLK_PR_STATIC_OFFSET 0x460cc
60361 #define A_MC_DDRPHY_ADR_SYSCLK_PR_VALUE_RO 0x460d0
60363 #define S_SLEW_LATE_SAMPLE 15
60364 #define V_SLEW_LATE_SAMPLE(x) ((x) << S_SLEW_LATE_SAMPLE)
60365 #define F_SLEW_LATE_SAMPLE V_SLEW_LATE_SAMPLE(1U)
60367 #define S_SYSCLK_ROT 8
60368 #define M_SYSCLK_ROT 0x7fU
60369 #define V_SYSCLK_ROT(x) ((x) << S_SYSCLK_ROT)
60370 #define G_SYSCLK_ROT(x) (((x) >> S_SYSCLK_ROT) & M_SYSCLK_ROT)
60372 #define S_BB_LOCK 7
60373 #define V_BB_LOCK(x) ((x) << S_BB_LOCK)
60374 #define F_BB_LOCK V_BB_LOCK(1U)
60376 #define S_SLEW_EARLY_SAMPLE 6
60377 #define V_SLEW_EARLY_SAMPLE(x) ((x) << S_SLEW_EARLY_SAMPLE)
60378 #define F_SLEW_EARLY_SAMPLE V_SLEW_EARLY_SAMPLE(1U)
60380 #define S_SLEW_DONE_STATUS 4
60381 #define M_SLEW_DONE_STATUS 0x3U
60382 #define V_SLEW_DONE_STATUS(x) ((x) << S_SLEW_DONE_STATUS)
60383 #define G_SLEW_DONE_STATUS(x) (((x) >> S_SLEW_DONE_STATUS) & M_SLEW_DONE_STATUS)
60385 #define S_SLEW_CNTL 0
60386 #define M_SLEW_CNTL 0xfU
60387 #define V_SLEW_CNTL(x) ((x) << S_SLEW_CNTL)
60388 #define G_SLEW_CNTL(x) (((x) >> S_SLEW_CNTL) & M_SLEW_CNTL)
60390 #define A_MC_DDRPHY_AD32S_SYSCLK_PR_VALUE_RO 0x460d0
60391 #define A_MC_DDRPHY_ADR_GMTEST_ATEST_CNTL 0x460d4
60394 #define V_FLUSH(x) ((x) << S_FLUSH)
60395 #define F_FLUSH V_FLUSH(1U)
60397 #define S_GIANT_MUX_TEST_EN 14
60398 #define V_GIANT_MUX_TEST_EN(x) ((x) << S_GIANT_MUX_TEST_EN)
60399 #define F_GIANT_MUX_TEST_EN V_GIANT_MUX_TEST_EN(1U)
60401 #define S_GIANT_MUX_TEST_VAL 13
60402 #define V_GIANT_MUX_TEST_VAL(x) ((x) << S_GIANT_MUX_TEST_VAL)
60403 #define F_GIANT_MUX_TEST_VAL V_GIANT_MUX_TEST_VAL(1U)
60405 #define S_HS_PROBE_A_SEL_ 8
60406 #define M_HS_PROBE_A_SEL_ 0xfU
60407 #define V_HS_PROBE_A_SEL_(x) ((x) << S_HS_PROBE_A_SEL_)
60408 #define G_HS_PROBE_A_SEL_(x) (((x) >> S_HS_PROBE_A_SEL_) & M_HS_PROBE_A_SEL_)
60410 #define S_HS_PROBE_B_SEL_ 4
60411 #define M_HS_PROBE_B_SEL_ 0xfU
60412 #define V_HS_PROBE_B_SEL_(x) ((x) << S_HS_PROBE_B_SEL_)
60413 #define G_HS_PROBE_B_SEL_(x) (((x) >> S_HS_PROBE_B_SEL_) & M_HS_PROBE_B_SEL_)
60415 #define S_ATEST1CTL0 3
60416 #define V_ATEST1CTL0(x) ((x) << S_ATEST1CTL0)
60417 #define F_ATEST1CTL0 V_ATEST1CTL0(1U)
60419 #define S_ATEST1CTL1 2
60420 #define V_ATEST1CTL1(x) ((x) << S_ATEST1CTL1)
60421 #define F_ATEST1CTL1 V_ATEST1CTL1(1U)
60423 #define S_ATEST1CTL2 1
60424 #define V_ATEST1CTL2(x) ((x) << S_ATEST1CTL2)
60425 #define F_ATEST1CTL2 V_ATEST1CTL2(1U)
60427 #define S_ATEST1CTL3 0
60428 #define V_ATEST1CTL3(x) ((x) << S_ATEST1CTL3)
60429 #define F_ATEST1CTL3 V_ATEST1CTL3(1U)
60431 #define A_MC_DDRPHY_AD32S_OUTPUT_FORCE_ATEST_CNTL 0x460d4
60433 #define S_FORCE_EN 14
60434 #define V_FORCE_EN(x) ((x) << S_FORCE_EN)
60435 #define F_FORCE_EN V_FORCE_EN(1U)
60437 #define S_AD32S_HS_PROBE_A_SEL 8
60438 #define M_AD32S_HS_PROBE_A_SEL 0xfU
60439 #define V_AD32S_HS_PROBE_A_SEL(x) ((x) << S_AD32S_HS_PROBE_A_SEL)
60440 #define G_AD32S_HS_PROBE_A_SEL(x) (((x) >> S_AD32S_HS_PROBE_A_SEL) & M_AD32S_HS_PROBE_A_SEL)
60442 #define S_AD32S_HS_PROBE_B_SEL 4
60443 #define M_AD32S_HS_PROBE_B_SEL 0xfU
60444 #define V_AD32S_HS_PROBE_B_SEL(x) ((x) << S_AD32S_HS_PROBE_B_SEL)
60445 #define G_AD32S_HS_PROBE_B_SEL(x) (((x) >> S_AD32S_HS_PROBE_B_SEL) & M_AD32S_HS_PROBE_B_SEL)
60447 #define A_MC_DDRPHY_ADR_GIANT_MUX_RESULTS_A0 0x460d8
60449 #define S_GIANT_MUX_TEST_RESULTS 0
60450 #define M_GIANT_MUX_TEST_RESULTS 0xffffU
60451 #define V_GIANT_MUX_TEST_RESULTS(x) ((x) << S_GIANT_MUX_TEST_RESULTS)
60452 #define G_GIANT_MUX_TEST_RESULTS(x) (((x) >> S_GIANT_MUX_TEST_RESULTS) & M_GIANT_MUX_TEST_RESULTS)
60454 #define A_MC_DDRPHY_AD32S_OUTPUT_DRIVER_FORCE_VALUE0 0x460d8
60456 #define S_OUTPUT_DRIVER_FORCE_VALUE 0
60457 #define M_OUTPUT_DRIVER_FORCE_VALUE 0xffffU
60458 #define V_OUTPUT_DRIVER_FORCE_VALUE(x) ((x) << S_OUTPUT_DRIVER_FORCE_VALUE)
60459 #define G_OUTPUT_DRIVER_FORCE_VALUE(x) (((x) >> S_OUTPUT_DRIVER_FORCE_VALUE) & M_OUTPUT_DRIVER_FORCE_VALUE)
60461 #define A_MC_DDRPHY_ADR_GIANT_MUX_RESULTS_A1 0x460dc
60462 #define A_MC_DDRPHY_AD32S_OUTPUT_DRIVER_FORCE_VALUE1 0x460dc
60463 #define A_MC_DDRPHY_ADR_POWERDOWN_1 0x460e0
60465 #define S_MASTER_PD_CNTL 15
60466 #define V_MASTER_PD_CNTL(x) ((x) << S_MASTER_PD_CNTL)
60467 #define F_MASTER_PD_CNTL V_MASTER_PD_CNTL(1U)
60469 #define S_ANALOG_INPUT_STAB2 14
60470 #define V_ANALOG_INPUT_STAB2(x) ((x) << S_ANALOG_INPUT_STAB2)
60471 #define F_ANALOG_INPUT_STAB2 V_ANALOG_INPUT_STAB2(1U)
60473 #define S_ANALOG_INPUT_STAB1 8
60474 #define V_ANALOG_INPUT_STAB1(x) ((x) << S_ANALOG_INPUT_STAB1)
60475 #define F_ANALOG_INPUT_STAB1 V_ANALOG_INPUT_STAB1(1U)
60477 #define S_SYSCLK_CLK_GATE 6
60478 #define M_SYSCLK_CLK_GATE 0x3U
60479 #define V_SYSCLK_CLK_GATE(x) ((x) << S_SYSCLK_CLK_GATE)
60480 #define G_SYSCLK_CLK_GATE(x) (((x) >> S_SYSCLK_CLK_GATE) & M_SYSCLK_CLK_GATE)
60482 #define S_WR_FIFO_STAB 5
60483 #define V_WR_FIFO_STAB(x) ((x) << S_WR_FIFO_STAB)
60484 #define F_WR_FIFO_STAB V_WR_FIFO_STAB(1U)
60486 #define S_ADR_RX_PD 4
60487 #define V_ADR_RX_PD(x) ((x) << S_ADR_RX_PD)
60488 #define F_ADR_RX_PD V_ADR_RX_PD(1U)
60490 #define S_TX_TRISTATE_CNTL 1
60491 #define V_TX_TRISTATE_CNTL(x) ((x) << S_TX_TRISTATE_CNTL)
60492 #define F_TX_TRISTATE_CNTL V_TX_TRISTATE_CNTL(1U)
60494 #define S_DVCC_REG_PD 0
60495 #define V_DVCC_REG_PD(x) ((x) << S_DVCC_REG_PD)
60496 #define F_DVCC_REG_PD V_DVCC_REG_PD(1U)
60498 #define A_MC_DDRPHY_AD32S_POWERDOWN_1 0x460e0
60499 #define A_MC_DDRPHY_ADR_SLEW_CAL_CNTL 0x460e4
60501 #define S_SLEW_CAL_ENABLE 15
60502 #define V_SLEW_CAL_ENABLE(x) ((x) << S_SLEW_CAL_ENABLE)
60503 #define F_SLEW_CAL_ENABLE V_SLEW_CAL_ENABLE(1U)
60505 #define S_SLEW_CAL_START 14
60506 #define V_SLEW_CAL_START(x) ((x) << S_SLEW_CAL_START)
60507 #define F_SLEW_CAL_START V_SLEW_CAL_START(1U)
60509 #define S_SLEW_CAL_OVERRIDE_EN 12
60510 #define V_SLEW_CAL_OVERRIDE_EN(x) ((x) << S_SLEW_CAL_OVERRIDE_EN)
60511 #define F_SLEW_CAL_OVERRIDE_EN V_SLEW_CAL_OVERRIDE_EN(1U)
60513 #define S_SLEW_CAL_OVERRIDE 8
60514 #define M_SLEW_CAL_OVERRIDE 0xfU
60515 #define V_SLEW_CAL_OVERRIDE(x) ((x) << S_SLEW_CAL_OVERRIDE)
60516 #define G_SLEW_CAL_OVERRIDE(x) (((x) >> S_SLEW_CAL_OVERRIDE) & M_SLEW_CAL_OVERRIDE)
60518 #define S_SLEW_TARGET_PR_OFFSET 0
60519 #define M_SLEW_TARGET_PR_OFFSET 0x1fU
60520 #define V_SLEW_TARGET_PR_OFFSET(x) ((x) << S_SLEW_TARGET_PR_OFFSET)
60521 #define G_SLEW_TARGET_PR_OFFSET(x) (((x) >> S_SLEW_TARGET_PR_OFFSET) & M_SLEW_TARGET_PR_OFFSET)
60523 #define A_MC_DDRPHY_AD32S_SLEW_CAL_CNTL 0x460e4
60524 #define A_MC_DDRPHY_PC_DP18_PLL_LOCK_STATUS 0x47000
60526 #define S_DP18_PLL_LOCK 1
60527 #define M_DP18_PLL_LOCK 0x7fffU
60528 #define V_DP18_PLL_LOCK(x) ((x) << S_DP18_PLL_LOCK)
60529 #define G_DP18_PLL_LOCK(x) (((x) >> S_DP18_PLL_LOCK) & M_DP18_PLL_LOCK)
60531 #define A_MC_DDRPHY_PC_AD32S_PLL_LOCK_STATUS 0x47004
60533 #define S_AD32S_PLL_LOCK 14
60534 #define M_AD32S_PLL_LOCK 0x3U
60535 #define V_AD32S_PLL_LOCK(x) ((x) << S_AD32S_PLL_LOCK)
60536 #define G_AD32S_PLL_LOCK(x) (((x) >> S_AD32S_PLL_LOCK) & M_AD32S_PLL_LOCK)
60538 #define A_MC_DDRPHY_PC_RANK_PAIR0 0x47008
60540 #define S_RANK_PAIR0_PRI 13
60541 #define M_RANK_PAIR0_PRI 0x7U
60542 #define V_RANK_PAIR0_PRI(x) ((x) << S_RANK_PAIR0_PRI)
60543 #define G_RANK_PAIR0_PRI(x) (((x) >> S_RANK_PAIR0_PRI) & M_RANK_PAIR0_PRI)
60545 #define S_RANK_PAIR0_PRI_V 12
60546 #define V_RANK_PAIR0_PRI_V(x) ((x) << S_RANK_PAIR0_PRI_V)
60547 #define F_RANK_PAIR0_PRI_V V_RANK_PAIR0_PRI_V(1U)
60549 #define S_RANK_PAIR0_SEC 9
60550 #define M_RANK_PAIR0_SEC 0x7U
60551 #define V_RANK_PAIR0_SEC(x) ((x) << S_RANK_PAIR0_SEC)
60552 #define G_RANK_PAIR0_SEC(x) (((x) >> S_RANK_PAIR0_SEC) & M_RANK_PAIR0_SEC)
60554 #define S_RANK_PAIR0_SEC_V 8
60555 #define V_RANK_PAIR0_SEC_V(x) ((x) << S_RANK_PAIR0_SEC_V)
60556 #define F_RANK_PAIR0_SEC_V V_RANK_PAIR0_SEC_V(1U)
60558 #define S_RANK_PAIR1_PRI 5
60559 #define M_RANK_PAIR1_PRI 0x7U
60560 #define V_RANK_PAIR1_PRI(x) ((x) << S_RANK_PAIR1_PRI)
60561 #define G_RANK_PAIR1_PRI(x) (((x) >> S_RANK_PAIR1_PRI) & M_RANK_PAIR1_PRI)
60563 #define S_RANK_PAIR1_PRI_V 4
60564 #define V_RANK_PAIR1_PRI_V(x) ((x) << S_RANK_PAIR1_PRI_V)
60565 #define F_RANK_PAIR1_PRI_V V_RANK_PAIR1_PRI_V(1U)
60567 #define S_RANK_PAIR1_SEC 1
60568 #define M_RANK_PAIR1_SEC 0x7U
60569 #define V_RANK_PAIR1_SEC(x) ((x) << S_RANK_PAIR1_SEC)
60570 #define G_RANK_PAIR1_SEC(x) (((x) >> S_RANK_PAIR1_SEC) & M_RANK_PAIR1_SEC)
60572 #define S_RANK_PAIR1_SEC_V 0
60573 #define V_RANK_PAIR1_SEC_V(x) ((x) << S_RANK_PAIR1_SEC_V)
60574 #define F_RANK_PAIR1_SEC_V V_RANK_PAIR1_SEC_V(1U)
60576 #define A_MC_DDRPHY_PC_RANK_PAIR1 0x4700c
60578 #define S_RANK_PAIR2_PRI 13
60579 #define M_RANK_PAIR2_PRI 0x7U
60580 #define V_RANK_PAIR2_PRI(x) ((x) << S_RANK_PAIR2_PRI)
60581 #define G_RANK_PAIR2_PRI(x) (((x) >> S_RANK_PAIR2_PRI) & M_RANK_PAIR2_PRI)
60583 #define S_RANK_PAIR2_PRI_V 12
60584 #define V_RANK_PAIR2_PRI_V(x) ((x) << S_RANK_PAIR2_PRI_V)
60585 #define F_RANK_PAIR2_PRI_V V_RANK_PAIR2_PRI_V(1U)
60587 #define S_RANK_PAIR2_SEC 9
60588 #define M_RANK_PAIR2_SEC 0x7U
60589 #define V_RANK_PAIR2_SEC(x) ((x) << S_RANK_PAIR2_SEC)
60590 #define G_RANK_PAIR2_SEC(x) (((x) >> S_RANK_PAIR2_SEC) & M_RANK_PAIR2_SEC)
60592 #define S_RANK_PAIR2_SEC_V 8
60593 #define V_RANK_PAIR2_SEC_V(x) ((x) << S_RANK_PAIR2_SEC_V)
60594 #define F_RANK_PAIR2_SEC_V V_RANK_PAIR2_SEC_V(1U)
60596 #define S_RANK_PAIR3_PRI 5
60597 #define M_RANK_PAIR3_PRI 0x7U
60598 #define V_RANK_PAIR3_PRI(x) ((x) << S_RANK_PAIR3_PRI)
60599 #define G_RANK_PAIR3_PRI(x) (((x) >> S_RANK_PAIR3_PRI) & M_RANK_PAIR3_PRI)
60601 #define S_RANK_PAIR3_PRI_V 4
60602 #define V_RANK_PAIR3_PRI_V(x) ((x) << S_RANK_PAIR3_PRI_V)
60603 #define F_RANK_PAIR3_PRI_V V_RANK_PAIR3_PRI_V(1U)
60605 #define S_RANK_PAIR3_SEC 1
60606 #define M_RANK_PAIR3_SEC 0x7U
60607 #define V_RANK_PAIR3_SEC(x) ((x) << S_RANK_PAIR3_SEC)
60608 #define G_RANK_PAIR3_SEC(x) (((x) >> S_RANK_PAIR3_SEC) & M_RANK_PAIR3_SEC)
60610 #define S_RANK_PAIR3_SEC_V 0
60611 #define V_RANK_PAIR3_SEC_V(x) ((x) << S_RANK_PAIR3_SEC_V)
60612 #define F_RANK_PAIR3_SEC_V V_RANK_PAIR3_SEC_V(1U)
60614 #define A_MC_DDRPHY_PC_BASE_CNTR0 0x47010
60616 #define S_PERIODIC_BASE_CNTR0 0
60617 #define M_PERIODIC_BASE_CNTR0 0xffffU
60618 #define V_PERIODIC_BASE_CNTR0(x) ((x) << S_PERIODIC_BASE_CNTR0)
60619 #define G_PERIODIC_BASE_CNTR0(x) (((x) >> S_PERIODIC_BASE_CNTR0) & M_PERIODIC_BASE_CNTR0)
60621 #define A_MC_DDRPHY_PC_RELOAD_VALUE0 0x47014
60623 #define S_PERIODIC_CAL_REQ_EN 15
60624 #define V_PERIODIC_CAL_REQ_EN(x) ((x) << S_PERIODIC_CAL_REQ_EN)
60625 #define F_PERIODIC_CAL_REQ_EN V_PERIODIC_CAL_REQ_EN(1U)
60627 #define S_PERIODIC_RELOAD_VALUE0 0
60628 #define M_PERIODIC_RELOAD_VALUE0 0x7fffU
60629 #define V_PERIODIC_RELOAD_VALUE0(x) ((x) << S_PERIODIC_RELOAD_VALUE0)
60630 #define G_PERIODIC_RELOAD_VALUE0(x) (((x) >> S_PERIODIC_RELOAD_VALUE0) & M_PERIODIC_RELOAD_VALUE0)
60632 #define A_MC_DDRPHY_PC_BASE_CNTR1 0x47018
60634 #define S_PERIODIC_BASE_CNTR1 0
60635 #define M_PERIODIC_BASE_CNTR1 0xffffU
60636 #define V_PERIODIC_BASE_CNTR1(x) ((x) << S_PERIODIC_BASE_CNTR1)
60637 #define G_PERIODIC_BASE_CNTR1(x) (((x) >> S_PERIODIC_BASE_CNTR1) & M_PERIODIC_BASE_CNTR1)
60639 #define A_MC_DDRPHY_PC_CAL_TIMER 0x4701c
60641 #define S_PERIODIC_CAL_TIMER 0
60642 #define M_PERIODIC_CAL_TIMER 0xffffU
60643 #define V_PERIODIC_CAL_TIMER(x) ((x) << S_PERIODIC_CAL_TIMER)
60644 #define G_PERIODIC_CAL_TIMER(x) (((x) >> S_PERIODIC_CAL_TIMER) & M_PERIODIC_CAL_TIMER)
60646 #define A_MC_DDRPHY_PC_CAL_TIMER_RELOAD_VALUE 0x47020
60648 #define S_PERIODIC_TIMER_RELOAD_VALUE 0
60649 #define M_PERIODIC_TIMER_RELOAD_VALUE 0xffffU
60650 #define V_PERIODIC_TIMER_RELOAD_VALUE(x) ((x) << S_PERIODIC_TIMER_RELOAD_VALUE)
60651 #define G_PERIODIC_TIMER_RELOAD_VALUE(x) (((x) >> S_PERIODIC_TIMER_RELOAD_VALUE) & M_PERIODIC_TIMER_RELOAD_VALUE)
60653 #define A_MC_DDRPHY_PC_ZCAL_TIMER 0x47024
60655 #define S_PERIODIC_ZCAL_TIMER 0
60656 #define M_PERIODIC_ZCAL_TIMER 0xffffU
60657 #define V_PERIODIC_ZCAL_TIMER(x) ((x) << S_PERIODIC_ZCAL_TIMER)
60658 #define G_PERIODIC_ZCAL_TIMER(x) (((x) >> S_PERIODIC_ZCAL_TIMER) & M_PERIODIC_ZCAL_TIMER)
60660 #define A_MC_DDRPHY_PC_ZCAL_TIMER_RELOAD_VALUE 0x47028
60661 #define A_MC_DDRPHY_PC_PER_CAL_CONFIG 0x4702c
60663 #define S_PER_ENA_RANK_PAIR 12
60664 #define M_PER_ENA_RANK_PAIR 0xfU
60665 #define V_PER_ENA_RANK_PAIR(x) ((x) << S_PER_ENA_RANK_PAIR)
60666 #define G_PER_ENA_RANK_PAIR(x) (((x) >> S_PER_ENA_RANK_PAIR) & M_PER_ENA_RANK_PAIR)
60668 #define S_PER_ENA_ZCAL 11
60669 #define V_PER_ENA_ZCAL(x) ((x) << S_PER_ENA_ZCAL)
60670 #define F_PER_ENA_ZCAL V_PER_ENA_ZCAL(1U)
60672 #define S_PER_ENA_SYSCLK_ALIGN 10
60673 #define V_PER_ENA_SYSCLK_ALIGN(x) ((x) << S_PER_ENA_SYSCLK_ALIGN)
60674 #define F_PER_ENA_SYSCLK_ALIGN V_PER_ENA_SYSCLK_ALIGN(1U)
60676 #define S_ENA_PER_READ_CTR 9
60677 #define V_ENA_PER_READ_CTR(x) ((x) << S_ENA_PER_READ_CTR)
60678 #define F_ENA_PER_READ_CTR V_ENA_PER_READ_CTR(1U)
60680 #define S_ENA_PER_RDCLK_ALIGN 8
60681 #define V_ENA_PER_RDCLK_ALIGN(x) ((x) << S_ENA_PER_RDCLK_ALIGN)
60682 #define F_ENA_PER_RDCLK_ALIGN V_ENA_PER_RDCLK_ALIGN(1U)
60684 #define S_ENA_PER_DQS_ALIGN 7
60685 #define V_ENA_PER_DQS_ALIGN(x) ((x) << S_ENA_PER_DQS_ALIGN)
60686 #define F_ENA_PER_DQS_ALIGN V_ENA_PER_DQS_ALIGN(1U)
60688 #define S_PER_NEXT_RANK_PAIR 5
60689 #define M_PER_NEXT_RANK_PAIR 0x3U
60690 #define V_PER_NEXT_RANK_PAIR(x) ((x) << S_PER_NEXT_RANK_PAIR)
60691 #define G_PER_NEXT_RANK_PAIR(x) (((x) >> S_PER_NEXT_RANK_PAIR) & M_PER_NEXT_RANK_PAIR)
60693 #define S_FAST_SIM_PER_CNTR 4
60694 #define V_FAST_SIM_PER_CNTR(x) ((x) << S_FAST_SIM_PER_CNTR)
60695 #define F_FAST_SIM_PER_CNTR V_FAST_SIM_PER_CNTR(1U)
60697 #define S_START_INIT_CAL 3
60698 #define V_START_INIT_CAL(x) ((x) << S_START_INIT_CAL)
60699 #define F_START_INIT_CAL V_START_INIT_CAL(1U)
60701 #define S_START_PER_CAL 2
60702 #define V_START_PER_CAL(x) ((x) << S_START_PER_CAL)
60703 #define F_START_PER_CAL V_START_PER_CAL(1U)
60705 #define S_ABORT_ON_ERR_EN 1
60706 #define V_ABORT_ON_ERR_EN(x) ((x) << S_ABORT_ON_ERR_EN)
60707 #define F_ABORT_ON_ERR_EN V_ABORT_ON_ERR_EN(1U)
60709 #define S_ENA_PER_RD_CTR 9
60710 #define V_ENA_PER_RD_CTR(x) ((x) << S_ENA_PER_RD_CTR)
60711 #define F_ENA_PER_RD_CTR V_ENA_PER_RD_CTR(1U)
60713 #define A_MC_DDRPHY_PC_CONFIG0 0x47030
60715 #define S_PROTOCOL_DDR 12
60716 #define M_PROTOCOL_DDR 0xfU
60717 #define V_PROTOCOL_DDR(x) ((x) << S_PROTOCOL_DDR)
60718 #define G_PROTOCOL_DDR(x) (((x) >> S_PROTOCOL_DDR) & M_PROTOCOL_DDR)
60720 #define S_DATA_MUX4_1MODE 11
60721 #define V_DATA_MUX4_1MODE(x) ((x) << S_DATA_MUX4_1MODE)
60722 #define F_DATA_MUX4_1MODE V_DATA_MUX4_1MODE(1U)
60724 #define S_DDR4_CMD_SIG_REDUCTION 9
60725 #define V_DDR4_CMD_SIG_REDUCTION(x) ((x) << S_DDR4_CMD_SIG_REDUCTION)
60726 #define F_DDR4_CMD_SIG_REDUCTION V_DDR4_CMD_SIG_REDUCTION(1U)
60728 #define S_SYSCLK_2X_MEMINTCLKO 8
60729 #define V_SYSCLK_2X_MEMINTCLKO(x) ((x) << S_SYSCLK_2X_MEMINTCLKO)
60730 #define F_SYSCLK_2X_MEMINTCLKO V_SYSCLK_2X_MEMINTCLKO(1U)
60732 #define S_RANK_OVERRIDE 7
60733 #define V_RANK_OVERRIDE(x) ((x) << S_RANK_OVERRIDE)
60734 #define F_RANK_OVERRIDE V_RANK_OVERRIDE(1U)
60736 #define S_RANK_OVERRIDE_VALUE 4
60737 #define M_RANK_OVERRIDE_VALUE 0x7U
60738 #define V_RANK_OVERRIDE_VALUE(x) ((x) << S_RANK_OVERRIDE_VALUE)
60739 #define G_RANK_OVERRIDE_VALUE(x) (((x) >> S_RANK_OVERRIDE_VALUE) & M_RANK_OVERRIDE_VALUE)
60741 #define S_LOW_LATENCY 3
60742 #define V_LOW_LATENCY(x) ((x) << S_LOW_LATENCY)
60743 #define F_LOW_LATENCY V_LOW_LATENCY(1U)
60745 #define S_DDR4_BANK_REFRESH 2
60746 #define V_DDR4_BANK_REFRESH(x) ((x) << S_DDR4_BANK_REFRESH)
60747 #define F_DDR4_BANK_REFRESH V_DDR4_BANK_REFRESH(1U)
60749 #define S_DDR4_VLEVEL_BANK_GROUP 1
60750 #define V_DDR4_VLEVEL_BANK_GROUP(x) ((x) << S_DDR4_VLEVEL_BANK_GROUP)
60751 #define F_DDR4_VLEVEL_BANK_GROUP V_DDR4_VLEVEL_BANK_GROUP(1U)
60753 #define S_DDRPHY_PROTOCOL 12
60754 #define M_DDRPHY_PROTOCOL 0xfU
60755 #define V_DDRPHY_PROTOCOL(x) ((x) << S_DDRPHY_PROTOCOL)
60756 #define G_DDRPHY_PROTOCOL(x) (((x) >> S_DDRPHY_PROTOCOL) & M_DDRPHY_PROTOCOL)
60758 #define S_SPAM_EN 10
60759 #define V_SPAM_EN(x) ((x) << S_SPAM_EN)
60760 #define F_SPAM_EN V_SPAM_EN(1U)
60762 #define S_DDR4_IPW_LOOP_DIS 2
60763 #define V_DDR4_IPW_LOOP_DIS(x) ((x) << S_DDR4_IPW_LOOP_DIS)
60764 #define F_DDR4_IPW_LOOP_DIS V_DDR4_IPW_LOOP_DIS(1U)
60766 #define A_MC_DDRPHY_PC_CONFIG1 0x47034
60768 #define S_WRITE_LATENCY_OFFSET 12
60769 #define M_WRITE_LATENCY_OFFSET 0xfU
60770 #define V_WRITE_LATENCY_OFFSET(x) ((x) << S_WRITE_LATENCY_OFFSET)
60771 #define G_WRITE_LATENCY_OFFSET(x) (((x) >> S_WRITE_LATENCY_OFFSET) & M_WRITE_LATENCY_OFFSET)
60773 #define S_READ_LATENCY_OFFSET 8
60774 #define M_READ_LATENCY_OFFSET 0xfU
60775 #define V_READ_LATENCY_OFFSET(x) ((x) << S_READ_LATENCY_OFFSET)
60776 #define G_READ_LATENCY_OFFSET(x) (((x) >> S_READ_LATENCY_OFFSET) & M_READ_LATENCY_OFFSET)
60778 #define S_MEMCTL_CIC_FAST 7
60779 #define V_MEMCTL_CIC_FAST(x) ((x) << S_MEMCTL_CIC_FAST)
60780 #define F_MEMCTL_CIC_FAST V_MEMCTL_CIC_FAST(1U)
60782 #define S_MEMCTL_CTRN_IGNORE 6
60783 #define V_MEMCTL_CTRN_IGNORE(x) ((x) << S_MEMCTL_CTRN_IGNORE)
60784 #define F_MEMCTL_CTRN_IGNORE V_MEMCTL_CTRN_IGNORE(1U)
60786 #define S_DISABLE_MEMCTL_CAL 5
60787 #define V_DISABLE_MEMCTL_CAL(x) ((x) << S_DISABLE_MEMCTL_CAL)
60788 #define F_DISABLE_MEMCTL_CAL V_DISABLE_MEMCTL_CAL(1U)
60790 #define S_MEMCTL_CIS_IGNORE 6
60791 #define V_MEMCTL_CIS_IGNORE(x) ((x) << S_MEMCTL_CIS_IGNORE)
60792 #define F_MEMCTL_CIS_IGNORE V_MEMCTL_CIS_IGNORE(1U)
60794 #define S_MEMORY_TYPE 2
60795 #define M_MEMORY_TYPE 0x7U
60796 #define V_MEMORY_TYPE(x) ((x) << S_MEMORY_TYPE)
60797 #define G_MEMORY_TYPE(x) (((x) >> S_MEMORY_TYPE) & M_MEMORY_TYPE)
60799 #define S_DDR4_PDA_MODE 1
60800 #define V_DDR4_PDA_MODE(x) ((x) << S_DDR4_PDA_MODE)
60801 #define F_DDR4_PDA_MODE V_DDR4_PDA_MODE(1U)
60803 #define A_MC_DDRPHY_PC_RESETS 0x47038
60805 #define S_PLL_RESET 15
60806 #define V_PLL_RESET(x) ((x) << S_PLL_RESET)
60807 #define F_PLL_RESET V_PLL_RESET(1U)
60809 #define S_SYSCLK_RESET 14
60810 #define V_SYSCLK_RESET(x) ((x) << S_SYSCLK_RESET)
60811 #define F_SYSCLK_RESET V_SYSCLK_RESET(1U)
60813 #define A_MC_DDRPHY_PC_PER_ZCAL_CONFIG 0x4703c
60815 #define S_PER_ZCAL_ENA_RANK 8
60816 #define M_PER_ZCAL_ENA_RANK 0xffU
60817 #define V_PER_ZCAL_ENA_RANK(x) ((x) << S_PER_ZCAL_ENA_RANK)
60818 #define G_PER_ZCAL_ENA_RANK(x) (((x) >> S_PER_ZCAL_ENA_RANK) & M_PER_ZCAL_ENA_RANK)
60820 #define S_PER_ZCAL_NEXT_RANK 5
60821 #define M_PER_ZCAL_NEXT_RANK 0x7U
60822 #define V_PER_ZCAL_NEXT_RANK(x) ((x) << S_PER_ZCAL_NEXT_RANK)
60823 #define G_PER_ZCAL_NEXT_RANK(x) (((x) >> S_PER_ZCAL_NEXT_RANK) & M_PER_ZCAL_NEXT_RANK)
60825 #define S_START_PER_ZCAL 4
60826 #define V_START_PER_ZCAL(x) ((x) << S_START_PER_ZCAL)
60827 #define F_START_PER_ZCAL V_START_PER_ZCAL(1U)
60829 #define A_MC_DDRPHY_PC_RANK_GROUP 0x47044
60831 #define S_ADDR_MIRROR_RP0_PRI 15
60832 #define V_ADDR_MIRROR_RP0_PRI(x) ((x) << S_ADDR_MIRROR_RP0_PRI)
60833 #define F_ADDR_MIRROR_RP0_PRI V_ADDR_MIRROR_RP0_PRI(1U)
60835 #define S_ADDR_MIRROR_RP0_SEC 14
60836 #define V_ADDR_MIRROR_RP0_SEC(x) ((x) << S_ADDR_MIRROR_RP0_SEC)
60837 #define F_ADDR_MIRROR_RP0_SEC V_ADDR_MIRROR_RP0_SEC(1U)
60839 #define S_ADDR_MIRROR_RP1_PRI 13
60840 #define V_ADDR_MIRROR_RP1_PRI(x) ((x) << S_ADDR_MIRROR_RP1_PRI)
60841 #define F_ADDR_MIRROR_RP1_PRI V_ADDR_MIRROR_RP1_PRI(1U)
60843 #define S_ADDR_MIRROR_RP1_SEC 12
60844 #define V_ADDR_MIRROR_RP1_SEC(x) ((x) << S_ADDR_MIRROR_RP1_SEC)
60845 #define F_ADDR_MIRROR_RP1_SEC V_ADDR_MIRROR_RP1_SEC(1U)
60847 #define S_ADDR_MIRROR_RP2_PRI 11
60848 #define V_ADDR_MIRROR_RP2_PRI(x) ((x) << S_ADDR_MIRROR_RP2_PRI)
60849 #define F_ADDR_MIRROR_RP2_PRI V_ADDR_MIRROR_RP2_PRI(1U)
60851 #define S_ADDR_MIRROR_RP2_SEC 10
60852 #define V_ADDR_MIRROR_RP2_SEC(x) ((x) << S_ADDR_MIRROR_RP2_SEC)
60853 #define F_ADDR_MIRROR_RP2_SEC V_ADDR_MIRROR_RP2_SEC(1U)
60855 #define S_ADDR_MIRROR_RP3_PRI 9
60856 #define V_ADDR_MIRROR_RP3_PRI(x) ((x) << S_ADDR_MIRROR_RP3_PRI)
60857 #define F_ADDR_MIRROR_RP3_PRI V_ADDR_MIRROR_RP3_PRI(1U)
60859 #define S_ADDR_MIRROR_RP3_SEC 8
60860 #define V_ADDR_MIRROR_RP3_SEC(x) ((x) << S_ADDR_MIRROR_RP3_SEC)
60861 #define F_ADDR_MIRROR_RP3_SEC V_ADDR_MIRROR_RP3_SEC(1U)
60863 #define S_RANK_GROUPING 6
60864 #define M_RANK_GROUPING 0x3U
60865 #define V_RANK_GROUPING(x) ((x) << S_RANK_GROUPING)
60866 #define G_RANK_GROUPING(x) (((x) >> S_RANK_GROUPING) & M_RANK_GROUPING)
60868 #define S_ADDR_MIRROR_A3_A4 5
60869 #define V_ADDR_MIRROR_A3_A4(x) ((x) << S_ADDR_MIRROR_A3_A4)
60870 #define F_ADDR_MIRROR_A3_A4 V_ADDR_MIRROR_A3_A4(1U)
60872 #define S_ADDR_MIRROR_A5_A6 4
60873 #define V_ADDR_MIRROR_A5_A6(x) ((x) << S_ADDR_MIRROR_A5_A6)
60874 #define F_ADDR_MIRROR_A5_A6 V_ADDR_MIRROR_A5_A6(1U)
60876 #define S_ADDR_MIRROR_A7_A8 3
60877 #define V_ADDR_MIRROR_A7_A8(x) ((x) << S_ADDR_MIRROR_A7_A8)
60878 #define F_ADDR_MIRROR_A7_A8 V_ADDR_MIRROR_A7_A8(1U)
60880 #define S_ADDR_MIRROR_A11_A13 2
60881 #define V_ADDR_MIRROR_A11_A13(x) ((x) << S_ADDR_MIRROR_A11_A13)
60882 #define F_ADDR_MIRROR_A11_A13 V_ADDR_MIRROR_A11_A13(1U)
60884 #define S_ADDR_MIRROR_BA0_BA1 1
60885 #define V_ADDR_MIRROR_BA0_BA1(x) ((x) << S_ADDR_MIRROR_BA0_BA1)
60886 #define F_ADDR_MIRROR_BA0_BA1 V_ADDR_MIRROR_BA0_BA1(1U)
60888 #define S_ADDR_MIRROR_BG0_BG1 0
60889 #define V_ADDR_MIRROR_BG0_BG1(x) ((x) << S_ADDR_MIRROR_BG0_BG1)
60890 #define F_ADDR_MIRROR_BG0_BG1 V_ADDR_MIRROR_BG0_BG1(1U)
60892 #define A_MC_DDRPHY_PC_ERROR_STATUS0 0x47048
60894 #define S_RC_ERROR 15
60895 #define V_RC_ERROR(x) ((x) << S_RC_ERROR)
60896 #define F_RC_ERROR V_RC_ERROR(1U)
60898 #define S_WC_ERROR 14
60899 #define V_WC_ERROR(x) ((x) << S_WC_ERROR)
60900 #define F_WC_ERROR V_WC_ERROR(1U)
60902 #define S_SEQ_ERROR 13
60903 #define V_SEQ_ERROR(x) ((x) << S_SEQ_ERROR)
60904 #define F_SEQ_ERROR V_SEQ_ERROR(1U)
60906 #define S_CC_ERROR 12
60907 #define V_CC_ERROR(x) ((x) << S_CC_ERROR)
60908 #define F_CC_ERROR V_CC_ERROR(1U)
60910 #define S_APB_ERROR 11
60911 #define V_APB_ERROR(x) ((x) << S_APB_ERROR)
60912 #define F_APB_ERROR V_APB_ERROR(1U)
60914 #define S_PC_ERROR 10
60915 #define V_PC_ERROR(x) ((x) << S_PC_ERROR)
60916 #define F_PC_ERROR V_PC_ERROR(1U)
60918 #define A_MC_DDRPHY_PC_ERROR_MASK0 0x4704c
60920 #define S_RC_ERROR_MASK 15
60921 #define V_RC_ERROR_MASK(x) ((x) << S_RC_ERROR_MASK)
60922 #define F_RC_ERROR_MASK V_RC_ERROR_MASK(1U)
60924 #define S_WC_ERROR_MASK 14
60925 #define V_WC_ERROR_MASK(x) ((x) << S_WC_ERROR_MASK)
60926 #define F_WC_ERROR_MASK V_WC_ERROR_MASK(1U)
60928 #define S_SEQ_ERROR_MASK 13
60929 #define V_SEQ_ERROR_MASK(x) ((x) << S_SEQ_ERROR_MASK)
60930 #define F_SEQ_ERROR_MASK V_SEQ_ERROR_MASK(1U)
60932 #define S_CC_ERROR_MASK 12
60933 #define V_CC_ERROR_MASK(x) ((x) << S_CC_ERROR_MASK)
60934 #define F_CC_ERROR_MASK V_CC_ERROR_MASK(1U)
60936 #define S_APB_ERROR_MASK 11
60937 #define V_APB_ERROR_MASK(x) ((x) << S_APB_ERROR_MASK)
60938 #define F_APB_ERROR_MASK V_APB_ERROR_MASK(1U)
60940 #define S_PC_ERROR_MASK 10
60941 #define V_PC_ERROR_MASK(x) ((x) << S_PC_ERROR_MASK)
60942 #define F_PC_ERROR_MASK V_PC_ERROR_MASK(1U)
60944 #define A_MC_DDRPHY_PC_IO_PVT_FET_CONTROL 0x47050
60947 #define M_PVTP 0x1fU
60948 #define V_PVTP(x) ((x) << S_PVTP)
60949 #define G_PVTP(x) (((x) >> S_PVTP) & M_PVTP)
60952 #define M_PVTN 0x1fU
60953 #define V_PVTN(x) ((x) << S_PVTN)
60954 #define G_PVTN(x) (((x) >> S_PVTN) & M_PVTN)
60956 #define S_PVT_OVERRIDE 5
60957 #define V_PVT_OVERRIDE(x) ((x) << S_PVT_OVERRIDE)
60958 #define F_PVT_OVERRIDE V_PVT_OVERRIDE(1U)
60960 #define S_ENABLE_ZCAL 4
60961 #define V_ENABLE_ZCAL(x) ((x) << S_ENABLE_ZCAL)
60962 #define F_ENABLE_ZCAL V_ENABLE_ZCAL(1U)
60964 #define A_MC_DDRPHY_PC_VREF_DRV_CONTROL 0x47054
60966 #define S_VREFDQ0DSGN 15
60967 #define V_VREFDQ0DSGN(x) ((x) << S_VREFDQ0DSGN)
60968 #define F_VREFDQ0DSGN V_VREFDQ0DSGN(1U)
60970 #define S_VREFDQ0D 11
60971 #define M_VREFDQ0D 0xfU
60972 #define V_VREFDQ0D(x) ((x) << S_VREFDQ0D)
60973 #define G_VREFDQ0D(x) (((x) >> S_VREFDQ0D) & M_VREFDQ0D)
60975 #define S_VREFDQ1DSGN 10
60976 #define V_VREFDQ1DSGN(x) ((x) << S_VREFDQ1DSGN)
60977 #define F_VREFDQ1DSGN V_VREFDQ1DSGN(1U)
60979 #define S_VREFDQ1D 6
60980 #define M_VREFDQ1D 0xfU
60981 #define V_VREFDQ1D(x) ((x) << S_VREFDQ1D)
60982 #define G_VREFDQ1D(x) (((x) >> S_VREFDQ1D) & M_VREFDQ1D)
60984 #define S_EN_ANALOG_PD 3
60985 #define V_EN_ANALOG_PD(x) ((x) << S_EN_ANALOG_PD)
60986 #define F_EN_ANALOG_PD V_EN_ANALOG_PD(1U)
60988 #define S_ANALOG_PD_DLY 2
60989 #define V_ANALOG_PD_DLY(x) ((x) << S_ANALOG_PD_DLY)
60990 #define F_ANALOG_PD_DLY V_ANALOG_PD_DLY(1U)
60992 #define S_ANALOG_PD_DIV 0
60993 #define M_ANALOG_PD_DIV 0x3U
60994 #define V_ANALOG_PD_DIV(x) ((x) << S_ANALOG_PD_DIV)
60995 #define G_ANALOG_PD_DIV(x) (((x) >> S_ANALOG_PD_DIV) & M_ANALOG_PD_DIV)
60997 #define A_MC_DDRPHY_PC_INIT_CAL_CONFIG0 0x47058
60999 #define S_ENA_WR_LEVEL 15
61000 #define V_ENA_WR_LEVEL(x) ((x) << S_ENA_WR_LEVEL)
61001 #define F_ENA_WR_LEVEL V_ENA_WR_LEVEL(1U)
61003 #define S_ENA_INITIAL_PAT_WR 14
61004 #define V_ENA_INITIAL_PAT_WR(x) ((x) << S_ENA_INITIAL_PAT_WR)
61005 #define F_ENA_INITIAL_PAT_WR V_ENA_INITIAL_PAT_WR(1U)
61007 #define S_ENA_DQS_ALIGN 13
61008 #define V_ENA_DQS_ALIGN(x) ((x) << S_ENA_DQS_ALIGN)
61009 #define F_ENA_DQS_ALIGN V_ENA_DQS_ALIGN(1U)
61011 #define S_ENA_RDCLK_ALIGN 12
61012 #define V_ENA_RDCLK_ALIGN(x) ((x) << S_ENA_RDCLK_ALIGN)
61013 #define F_ENA_RDCLK_ALIGN V_ENA_RDCLK_ALIGN(1U)
61015 #define S_ENA_READ_CTR 11
61016 #define V_ENA_READ_CTR(x) ((x) << S_ENA_READ_CTR)
61017 #define F_ENA_READ_CTR V_ENA_READ_CTR(1U)
61019 #define S_ENA_WRITE_CTR 10
61020 #define V_ENA_WRITE_CTR(x) ((x) << S_ENA_WRITE_CTR)
61021 #define F_ENA_WRITE_CTR V_ENA_WRITE_CTR(1U)
61023 #define S_ENA_INITIAL_COARSE_WR 9
61024 #define V_ENA_INITIAL_COARSE_WR(x) ((x) << S_ENA_INITIAL_COARSE_WR)
61025 #define F_ENA_INITIAL_COARSE_WR V_ENA_INITIAL_COARSE_WR(1U)
61027 #define S_ENA_COARSE_RD 8
61028 #define V_ENA_COARSE_RD(x) ((x) << S_ENA_COARSE_RD)
61029 #define F_ENA_COARSE_RD V_ENA_COARSE_RD(1U)
61031 #define S_ENA_CUSTOM_RD 7
61032 #define V_ENA_CUSTOM_RD(x) ((x) << S_ENA_CUSTOM_RD)
61033 #define F_ENA_CUSTOM_RD V_ENA_CUSTOM_RD(1U)
61035 #define S_ENA_CUSTOM_WR 6
61036 #define V_ENA_CUSTOM_WR(x) ((x) << S_ENA_CUSTOM_WR)
61037 #define F_ENA_CUSTOM_WR V_ENA_CUSTOM_WR(1U)
61039 #define S_ABORT_ON_CAL_ERROR 5
61040 #define V_ABORT_ON_CAL_ERROR(x) ((x) << S_ABORT_ON_CAL_ERROR)
61041 #define F_ABORT_ON_CAL_ERROR V_ABORT_ON_CAL_ERROR(1U)
61043 #define S_ENA_DIGITAL_EYE 4
61044 #define V_ENA_DIGITAL_EYE(x) ((x) << S_ENA_DIGITAL_EYE)
61045 #define F_ENA_DIGITAL_EYE V_ENA_DIGITAL_EYE(1U)
61047 #define S_ENA_RANK_PAIR 0
61048 #define M_ENA_RANK_PAIR 0xfU
61049 #define V_ENA_RANK_PAIR(x) ((x) << S_ENA_RANK_PAIR)
61050 #define G_ENA_RANK_PAIR(x) (((x) >> S_ENA_RANK_PAIR) & M_ENA_RANK_PAIR)
61052 #define A_MC_DDRPHY_PC_INIT_CAL_CONFIG1 0x4705c
61054 #define S_REFRESH_COUNT 12
61055 #define M_REFRESH_COUNT 0xfU
61056 #define V_REFRESH_COUNT(x) ((x) << S_REFRESH_COUNT)
61057 #define G_REFRESH_COUNT(x) (((x) >> S_REFRESH_COUNT) & M_REFRESH_COUNT)
61059 #define S_REFRESH_CONTROL 10
61060 #define M_REFRESH_CONTROL 0x3U
61061 #define V_REFRESH_CONTROL(x) ((x) << S_REFRESH_CONTROL)
61062 #define G_REFRESH_CONTROL(x) (((x) >> S_REFRESH_CONTROL) & M_REFRESH_CONTROL)
61064 #define S_REFRESH_ALL_RANKS 9
61065 #define V_REFRESH_ALL_RANKS(x) ((x) << S_REFRESH_ALL_RANKS)
61066 #define F_REFRESH_ALL_RANKS V_REFRESH_ALL_RANKS(1U)
61068 #define S_REFRESH_INTERVAL 0
61069 #define M_REFRESH_INTERVAL 0x7fU
61070 #define V_REFRESH_INTERVAL(x) ((x) << S_REFRESH_INTERVAL)
61071 #define G_REFRESH_INTERVAL(x) (((x) >> S_REFRESH_INTERVAL) & M_REFRESH_INTERVAL)
61073 #define A_MC_DDRPHY_PC_INIT_CAL_ERROR 0x47060
61075 #define S_ERROR_WR_LEVEL 15
61076 #define V_ERROR_WR_LEVEL(x) ((x) << S_ERROR_WR_LEVEL)
61077 #define F_ERROR_WR_LEVEL V_ERROR_WR_LEVEL(1U)
61079 #define S_ERROR_INITIAL_PAT_WRITE 14
61080 #define V_ERROR_INITIAL_PAT_WRITE(x) ((x) << S_ERROR_INITIAL_PAT_WRITE)
61081 #define F_ERROR_INITIAL_PAT_WRITE V_ERROR_INITIAL_PAT_WRITE(1U)
61083 #define S_ERROR_DQS_ALIGN 13
61084 #define V_ERROR_DQS_ALIGN(x) ((x) << S_ERROR_DQS_ALIGN)
61085 #define F_ERROR_DQS_ALIGN V_ERROR_DQS_ALIGN(1U)
61087 #define S_ERROR_RDCLK_ALIGN 12
61088 #define V_ERROR_RDCLK_ALIGN(x) ((x) << S_ERROR_RDCLK_ALIGN)
61089 #define F_ERROR_RDCLK_ALIGN V_ERROR_RDCLK_ALIGN(1U)
61091 #define S_ERROR_READ_CTR 11
61092 #define V_ERROR_READ_CTR(x) ((x) << S_ERROR_READ_CTR)
61093 #define F_ERROR_READ_CTR V_ERROR_READ_CTR(1U)
61095 #define S_ERROR_WRITE_CTR 10
61096 #define V_ERROR_WRITE_CTR(x) ((x) << S_ERROR_WRITE_CTR)
61097 #define F_ERROR_WRITE_CTR V_ERROR_WRITE_CTR(1U)
61099 #define S_ERROR_INITIAL_COARSE_WR 9
61100 #define V_ERROR_INITIAL_COARSE_WR(x) ((x) << S_ERROR_INITIAL_COARSE_WR)
61101 #define F_ERROR_INITIAL_COARSE_WR V_ERROR_INITIAL_COARSE_WR(1U)
61103 #define S_ERROR_COARSE_RD 8
61104 #define V_ERROR_COARSE_RD(x) ((x) << S_ERROR_COARSE_RD)
61105 #define F_ERROR_COARSE_RD V_ERROR_COARSE_RD(1U)
61107 #define S_ERROR_CUSTOM_RD 7
61108 #define V_ERROR_CUSTOM_RD(x) ((x) << S_ERROR_CUSTOM_RD)
61109 #define F_ERROR_CUSTOM_RD V_ERROR_CUSTOM_RD(1U)
61111 #define S_ERROR_CUSTOM_WR 6
61112 #define V_ERROR_CUSTOM_WR(x) ((x) << S_ERROR_CUSTOM_WR)
61113 #define F_ERROR_CUSTOM_WR V_ERROR_CUSTOM_WR(1U)
61115 #define S_ERROR_DIGITAL_EYE 5
61116 #define V_ERROR_DIGITAL_EYE(x) ((x) << S_ERROR_DIGITAL_EYE)
61117 #define F_ERROR_DIGITAL_EYE V_ERROR_DIGITAL_EYE(1U)
61119 #define S_ERROR_RANK_PAIR 0
61120 #define M_ERROR_RANK_PAIR 0xfU
61121 #define V_ERROR_RANK_PAIR(x) ((x) << S_ERROR_RANK_PAIR)
61122 #define G_ERROR_RANK_PAIR(x) (((x) >> S_ERROR_RANK_PAIR) & M_ERROR_RANK_PAIR)
61124 #define A_MC_DDRPHY_PC_INIT_CAL_STATUS 0x47064
61126 #define S_INIT_CAL_COMPLETE 12
61127 #define M_INIT_CAL_COMPLETE 0xfU
61128 #define V_INIT_CAL_COMPLETE(x) ((x) << S_INIT_CAL_COMPLETE)
61129 #define G_INIT_CAL_COMPLETE(x) (((x) >> S_INIT_CAL_COMPLETE) & M_INIT_CAL_COMPLETE)
61131 #define S_PER_CAL_ABORT 6
61132 #define V_PER_CAL_ABORT(x) ((x) << S_PER_CAL_ABORT)
61133 #define F_PER_CAL_ABORT V_PER_CAL_ABORT(1U)
61135 #define A_MC_DDRPHY_PC_INIT_CAL_MASK 0x47068
61137 #define S_ERROR_WR_LEVEL_MASK 15
61138 #define V_ERROR_WR_LEVEL_MASK(x) ((x) << S_ERROR_WR_LEVEL_MASK)
61139 #define F_ERROR_WR_LEVEL_MASK V_ERROR_WR_LEVEL_MASK(1U)
61141 #define S_ERROR_INITIAL_PAT_WRITE_MASK 14
61142 #define V_ERROR_INITIAL_PAT_WRITE_MASK(x) ((x) << S_ERROR_INITIAL_PAT_WRITE_MASK)
61143 #define F_ERROR_INITIAL_PAT_WRITE_MASK V_ERROR_INITIAL_PAT_WRITE_MASK(1U)
61145 #define S_ERROR_DQS_ALIGN_MASK 13
61146 #define V_ERROR_DQS_ALIGN_MASK(x) ((x) << S_ERROR_DQS_ALIGN_MASK)
61147 #define F_ERROR_DQS_ALIGN_MASK V_ERROR_DQS_ALIGN_MASK(1U)
61149 #define S_ERROR_RDCLK_ALIGN_MASK 12
61150 #define V_ERROR_RDCLK_ALIGN_MASK(x) ((x) << S_ERROR_RDCLK_ALIGN_MASK)
61151 #define F_ERROR_RDCLK_ALIGN_MASK V_ERROR_RDCLK_ALIGN_MASK(1U)
61153 #define S_ERROR_READ_CTR_MASK 11
61154 #define V_ERROR_READ_CTR_MASK(x) ((x) << S_ERROR_READ_CTR_MASK)
61155 #define F_ERROR_READ_CTR_MASK V_ERROR_READ_CTR_MASK(1U)
61157 #define S_ERROR_WRITE_CTR_MASK 10
61158 #define V_ERROR_WRITE_CTR_MASK(x) ((x) << S_ERROR_WRITE_CTR_MASK)
61159 #define F_ERROR_WRITE_CTR_MASK V_ERROR_WRITE_CTR_MASK(1U)
61161 #define S_ERROR_INITIAL_COARSE_WR_MASK 9
61162 #define V_ERROR_INITIAL_COARSE_WR_MASK(x) ((x) << S_ERROR_INITIAL_COARSE_WR_MASK)
61163 #define F_ERROR_INITIAL_COARSE_WR_MASK V_ERROR_INITIAL_COARSE_WR_MASK(1U)
61165 #define S_ERROR_COARSE_RD_MASK 8
61166 #define V_ERROR_COARSE_RD_MASK(x) ((x) << S_ERROR_COARSE_RD_MASK)
61167 #define F_ERROR_COARSE_RD_MASK V_ERROR_COARSE_RD_MASK(1U)
61169 #define S_ERROR_CUSTOM_RD_MASK 7
61170 #define V_ERROR_CUSTOM_RD_MASK(x) ((x) << S_ERROR_CUSTOM_RD_MASK)
61171 #define F_ERROR_CUSTOM_RD_MASK V_ERROR_CUSTOM_RD_MASK(1U)
61173 #define S_ERROR_CUSTOM_WR_MASK 6
61174 #define V_ERROR_CUSTOM_WR_MASK(x) ((x) << S_ERROR_CUSTOM_WR_MASK)
61175 #define F_ERROR_CUSTOM_WR_MASK V_ERROR_CUSTOM_WR_MASK(1U)
61177 #define S_ERROR_DIGITAL_EYE_MASK 5
61178 #define V_ERROR_DIGITAL_EYE_MASK(x) ((x) << S_ERROR_DIGITAL_EYE_MASK)
61179 #define F_ERROR_DIGITAL_EYE_MASK V_ERROR_DIGITAL_EYE_MASK(1U)
61181 #define A_MC_DDRPHY_PC_IO_PVT_FET_STATUS 0x4706c
61182 #define A_MC_DDRPHY_PC_MR0_PRI_RP 0x47070
61184 #define S_MODEREGISTER0VALUE 0
61185 #define M_MODEREGISTER0VALUE 0xffffU
61186 #define V_MODEREGISTER0VALUE(x) ((x) << S_MODEREGISTER0VALUE)
61187 #define G_MODEREGISTER0VALUE(x) (((x) >> S_MODEREGISTER0VALUE) & M_MODEREGISTER0VALUE)
61189 #define A_MC_DDRPHY_PC_MR1_PRI_RP 0x47074
61191 #define S_MODEREGISTER1VALUE 0
61192 #define M_MODEREGISTER1VALUE 0xffffU
61193 #define V_MODEREGISTER1VALUE(x) ((x) << S_MODEREGISTER1VALUE)
61194 #define G_MODEREGISTER1VALUE(x) (((x) >> S_MODEREGISTER1VALUE) & M_MODEREGISTER1VALUE)
61196 #define A_MC_DDRPHY_PC_MR2_PRI_RP 0x47078
61198 #define S_MODEREGISTER2VALUE 0
61199 #define M_MODEREGISTER2VALUE 0xffffU
61200 #define V_MODEREGISTER2VALUE(x) ((x) << S_MODEREGISTER2VALUE)
61201 #define G_MODEREGISTER2VALUE(x) (((x) >> S_MODEREGISTER2VALUE) & M_MODEREGISTER2VALUE)
61203 #define A_MC_DDRPHY_PC_MR3_PRI_RP 0x4707c
61205 #define S_MODEREGISTER3VALUE 0
61206 #define M_MODEREGISTER3VALUE 0xffffU
61207 #define V_MODEREGISTER3VALUE(x) ((x) << S_MODEREGISTER3VALUE)
61208 #define G_MODEREGISTER3VALUE(x) (((x) >> S_MODEREGISTER3VALUE) & M_MODEREGISTER3VALUE)
61210 #define A_MC_DDRPHY_PC_MR0_SEC_RP 0x47080
61211 #define A_MC_DDRPHY_PC_MR1_SEC_RP 0x47084
61212 #define A_MC_DDRPHY_PC_MR2_SEC_RP 0x47088
61213 #define A_MC_DDRPHY_PC_MR3_SEC_RP 0x4708c
61215 #define S_MODE_REGISTER_3_VALUE 0
61216 #define M_MODE_REGISTER_3_VALUE 0xffffU
61217 #define V_MODE_REGISTER_3_VALUE(x) ((x) << S_MODE_REGISTER_3_VALUE)
61218 #define G_MODE_REGISTER_3_VALUE(x) (((x) >> S_MODE_REGISTER_3_VALUE) & M_MODE_REGISTER_3_VALUE)
61220 #define A_MC_DDRPHY_SEQ_RD_WR_DATA0 0x47200
61222 #define S_DRD_WR_DATA_REG 0
61223 #define M_DRD_WR_DATA_REG 0xffffU
61224 #define V_DRD_WR_DATA_REG(x) ((x) << S_DRD_WR_DATA_REG)
61225 #define G_DRD_WR_DATA_REG(x) (((x) >> S_DRD_WR_DATA_REG) & M_DRD_WR_DATA_REG)
61227 #define A_MC_DDRPHY_SEQ_RD_WR_DATA1 0x47204
61228 #define A_MC_DDRPHY_SEQ_CONFIG0 0x47208
61230 #define S_MPR_PATTERN_BIT 15
61231 #define V_MPR_PATTERN_BIT(x) ((x) << S_MPR_PATTERN_BIT)
61232 #define F_MPR_PATTERN_BIT V_MPR_PATTERN_BIT(1U)
61234 #define S_TWO_CYCLE_ADDR_EN 14
61235 #define V_TWO_CYCLE_ADDR_EN(x) ((x) << S_TWO_CYCLE_ADDR_EN)
61236 #define F_TWO_CYCLE_ADDR_EN V_TWO_CYCLE_ADDR_EN(1U)
61238 #define S_MR_MASK_EN 10
61239 #define M_MR_MASK_EN 0xfU
61240 #define V_MR_MASK_EN(x) ((x) << S_MR_MASK_EN)
61241 #define G_MR_MASK_EN(x) (((x) >> S_MR_MASK_EN) & M_MR_MASK_EN)
61243 #define S_PARITY_DLY 9
61244 #define V_PARITY_DLY(x) ((x) << S_PARITY_DLY)
61245 #define F_PARITY_DLY V_PARITY_DLY(1U)
61247 #define S_FORCE_RESERVED 7
61248 #define V_FORCE_RESERVED(x) ((x) << S_FORCE_RESERVED)
61249 #define F_FORCE_RESERVED V_FORCE_RESERVED(1U)
61251 #define S_HALT_ROTATION 6
61252 #define V_HALT_ROTATION(x) ((x) << S_HALT_ROTATION)
61253 #define F_HALT_ROTATION V_HALT_ROTATION(1U)
61255 #define S_FORCE_MPR 5
61256 #define V_FORCE_MPR(x) ((x) << S_FORCE_MPR)
61257 #define F_FORCE_MPR V_FORCE_MPR(1U)
61259 #define S_IPW_SIDEAB_SEL 2
61260 #define V_IPW_SIDEAB_SEL(x) ((x) << S_IPW_SIDEAB_SEL)
61261 #define F_IPW_SIDEAB_SEL V_IPW_SIDEAB_SEL(1U)
61263 #define S_PARITY_A17_MASK 1
61264 #define V_PARITY_A17_MASK(x) ((x) << S_PARITY_A17_MASK)
61265 #define F_PARITY_A17_MASK V_PARITY_A17_MASK(1U)
61267 #define S_X16_DEVICE 0
61268 #define V_X16_DEVICE(x) ((x) << S_X16_DEVICE)
61269 #define F_X16_DEVICE V_X16_DEVICE(1U)
61271 #define A_MC_DDRPHY_SEQ_RESERVED_ADDR0 0x4720c
61272 #define A_MC_DDRPHY_SEQ_RESERVED_ADDR1 0x47210
61273 #define A_MC_DDRPHY_SEQ_RESERVED_ADDR2 0x47214
61274 #define A_MC_DDRPHY_SEQ_RESERVED_ADDR3 0x47218
61275 #define A_MC_DDRPHY_SEQ_RESERVED_ADDR4 0x4721c
61276 #define A_MC_DDRPHY_SEQ_ERROR_STATUS0 0x47220
61278 #define S_MULTIPLE_REQ_ERROR 15
61279 #define V_MULTIPLE_REQ_ERROR(x) ((x) << S_MULTIPLE_REQ_ERROR)
61280 #define F_MULTIPLE_REQ_ERROR V_MULTIPLE_REQ_ERROR(1U)
61282 #define S_INVALID_REQTYPE_ERRO 14
61283 #define V_INVALID_REQTYPE_ERRO(x) ((x) << S_INVALID_REQTYPE_ERRO)
61284 #define F_INVALID_REQTYPE_ERRO V_INVALID_REQTYPE_ERRO(1U)
61286 #define S_EARLY_REQ_ERROR 13
61287 #define V_EARLY_REQ_ERROR(x) ((x) << S_EARLY_REQ_ERROR)
61288 #define F_EARLY_REQ_ERROR V_EARLY_REQ_ERROR(1U)
61290 #define S_MULTIPLE_REQ_SOURCE 10
61291 #define M_MULTIPLE_REQ_SOURCE 0x7U
61292 #define V_MULTIPLE_REQ_SOURCE(x) ((x) << S_MULTIPLE_REQ_SOURCE)
61293 #define G_MULTIPLE_REQ_SOURCE(x) (((x) >> S_MULTIPLE_REQ_SOURCE) & M_MULTIPLE_REQ_SOURCE)
61295 #define S_INVALID_REQTYPE 6
61296 #define M_INVALID_REQTYPE 0xfU
61297 #define V_INVALID_REQTYPE(x) ((x) << S_INVALID_REQTYPE)
61298 #define G_INVALID_REQTYPE(x) (((x) >> S_INVALID_REQTYPE) & M_INVALID_REQTYPE)
61300 #define S_INVALID_REQ_SOURCE 3
61301 #define M_INVALID_REQ_SOURCE 0x7U
61302 #define V_INVALID_REQ_SOURCE(x) ((x) << S_INVALID_REQ_SOURCE)
61303 #define G_INVALID_REQ_SOURCE(x) (((x) >> S_INVALID_REQ_SOURCE) & M_INVALID_REQ_SOURCE)
61305 #define S_EARLY_REQ_SOURCE 0
61306 #define M_EARLY_REQ_SOURCE 0x7U
61307 #define V_EARLY_REQ_SOURCE(x) ((x) << S_EARLY_REQ_SOURCE)
61308 #define G_EARLY_REQ_SOURCE(x) (((x) >> S_EARLY_REQ_SOURCE) & M_EARLY_REQ_SOURCE)
61310 #define A_MC_DDRPHY_SEQ_ERROR_MASK0 0x47224
61312 #define S_MULT_REQ_ERR_MASK 15
61313 #define V_MULT_REQ_ERR_MASK(x) ((x) << S_MULT_REQ_ERR_MASK)
61314 #define F_MULT_REQ_ERR_MASK V_MULT_REQ_ERR_MASK(1U)
61316 #define S_INVALID_REQTYPE_ERR_MASK 14
61317 #define V_INVALID_REQTYPE_ERR_MASK(x) ((x) << S_INVALID_REQTYPE_ERR_MASK)
61318 #define F_INVALID_REQTYPE_ERR_MASK V_INVALID_REQTYPE_ERR_MASK(1U)
61320 #define S_EARLY_REQ_ERR_MASK 13
61321 #define V_EARLY_REQ_ERR_MASK(x) ((x) << S_EARLY_REQ_ERR_MASK)
61322 #define F_EARLY_REQ_ERR_MASK V_EARLY_REQ_ERR_MASK(1U)
61324 #define A_MC_DDRPHY_SEQ_ODT_WR_CONFIG0 0x47228
61326 #define S_ODT_WR_VALUES_BITS0_7 8
61327 #define M_ODT_WR_VALUES_BITS0_7 0xffU
61328 #define V_ODT_WR_VALUES_BITS0_7(x) ((x) << S_ODT_WR_VALUES_BITS0_7)
61329 #define G_ODT_WR_VALUES_BITS0_7(x) (((x) >> S_ODT_WR_VALUES_BITS0_7) & M_ODT_WR_VALUES_BITS0_7)
61331 #define S_ODT_WR_VALUES_BITS8_15 0
61332 #define M_ODT_WR_VALUES_BITS8_15 0xffU
61333 #define V_ODT_WR_VALUES_BITS8_15(x) ((x) << S_ODT_WR_VALUES_BITS8_15)
61334 #define G_ODT_WR_VALUES_BITS8_15(x) (((x) >> S_ODT_WR_VALUES_BITS8_15) & M_ODT_WR_VALUES_BITS8_15)
61336 #define A_MC_DDRPHY_SEQ_ODT_WR_CONFIG1 0x4722c
61337 #define A_MC_DDRPHY_SEQ_ODT_WR_CONFIG2 0x47230
61338 #define A_MC_DDRPHY_SEQ_ODT_WR_CONFIG3 0x47234
61339 #define A_MC_DDRPHY_SEQ_ODT_RD_CONFIG0 0x47238
61341 #define S_ODT_RD_VALUES_X2 8
61342 #define M_ODT_RD_VALUES_X2 0xffU
61343 #define V_ODT_RD_VALUES_X2(x) ((x) << S_ODT_RD_VALUES_X2)
61344 #define G_ODT_RD_VALUES_X2(x) (((x) >> S_ODT_RD_VALUES_X2) & M_ODT_RD_VALUES_X2)
61346 #define S_ODT_RD_VALUES_X2PLUS1 0
61347 #define M_ODT_RD_VALUES_X2PLUS1 0xffU
61348 #define V_ODT_RD_VALUES_X2PLUS1(x) ((x) << S_ODT_RD_VALUES_X2PLUS1)
61349 #define G_ODT_RD_VALUES_X2PLUS1(x) (((x) >> S_ODT_RD_VALUES_X2PLUS1) & M_ODT_RD_VALUES_X2PLUS1)
61351 #define A_MC_DDRPHY_SEQ_ODT_RD_CONFIG1 0x4723c
61352 #define A_MC_DDRPHY_SEQ_ODT_RD_CONFIG2 0x47240
61353 #define A_MC_DDRPHY_SEQ_ODT_RD_CONFIG3 0x47244
61354 #define A_MC_DDRPHY_SEQ_MEM_TIMING_PARAM0 0x47248
61356 #define S_TMOD_CYCLES 12
61357 #define M_TMOD_CYCLES 0xfU
61358 #define V_TMOD_CYCLES(x) ((x) << S_TMOD_CYCLES)
61359 #define G_TMOD_CYCLES(x) (((x) >> S_TMOD_CYCLES) & M_TMOD_CYCLES)
61361 #define S_TRCD_CYCLES 8
61362 #define M_TRCD_CYCLES 0xfU
61363 #define V_TRCD_CYCLES(x) ((x) << S_TRCD_CYCLES)
61364 #define G_TRCD_CYCLES(x) (((x) >> S_TRCD_CYCLES) & M_TRCD_CYCLES)
61366 #define S_TRP_CYCLES 4
61367 #define M_TRP_CYCLES 0xfU
61368 #define V_TRP_CYCLES(x) ((x) << S_TRP_CYCLES)
61369 #define G_TRP_CYCLES(x) (((x) >> S_TRP_CYCLES) & M_TRP_CYCLES)
61371 #define S_TRFC_CYCLES 0
61372 #define M_TRFC_CYCLES 0xfU
61373 #define V_TRFC_CYCLES(x) ((x) << S_TRFC_CYCLES)
61374 #define G_TRFC_CYCLES(x) (((x) >> S_TRFC_CYCLES) & M_TRFC_CYCLES)
61376 #define A_MC_DDRPHY_SEQ_MEM_TIMING_PARAM1 0x4724c
61378 #define S_TZQINIT_CYCLES 12
61379 #define M_TZQINIT_CYCLES 0xfU
61380 #define V_TZQINIT_CYCLES(x) ((x) << S_TZQINIT_CYCLES)
61381 #define G_TZQINIT_CYCLES(x) (((x) >> S_TZQINIT_CYCLES) & M_TZQINIT_CYCLES)
61383 #define S_TZQCS_CYCLES 8
61384 #define M_TZQCS_CYCLES 0xfU
61385 #define V_TZQCS_CYCLES(x) ((x) << S_TZQCS_CYCLES)
61386 #define G_TZQCS_CYCLES(x) (((x) >> S_TZQCS_CYCLES) & M_TZQCS_CYCLES)
61388 #define S_TWLDQSEN_CYCLES 4
61389 #define M_TWLDQSEN_CYCLES 0xfU
61390 #define V_TWLDQSEN_CYCLES(x) ((x) << S_TWLDQSEN_CYCLES)
61391 #define G_TWLDQSEN_CYCLES(x) (((x) >> S_TWLDQSEN_CYCLES) & M_TWLDQSEN_CYCLES)
61393 #define S_TWRMRD_CYCLES 0
61394 #define M_TWRMRD_CYCLES 0xfU
61395 #define V_TWRMRD_CYCLES(x) ((x) << S_TWRMRD_CYCLES)
61396 #define G_TWRMRD_CYCLES(x) (((x) >> S_TWRMRD_CYCLES) & M_TWRMRD_CYCLES)
61398 #define A_MC_DDRPHY_SEQ_MEM_TIMING_PARAM2 0x47250
61400 #define S_TODTLON_OFF_CYCLES 12
61401 #define M_TODTLON_OFF_CYCLES 0xfU
61402 #define V_TODTLON_OFF_CYCLES(x) ((x) << S_TODTLON_OFF_CYCLES)
61403 #define G_TODTLON_OFF_CYCLES(x) (((x) >> S_TODTLON_OFF_CYCLES) & M_TODTLON_OFF_CYCLES)
61405 #define S_TRC_CYCLES 8
61406 #define M_TRC_CYCLES 0xfU
61407 #define V_TRC_CYCLES(x) ((x) << S_TRC_CYCLES)
61408 #define G_TRC_CYCLES(x) (((x) >> S_TRC_CYCLES) & M_TRC_CYCLES)
61410 #define S_TMRSC_CYCLES 4
61411 #define M_TMRSC_CYCLES 0xfU
61412 #define V_TMRSC_CYCLES(x) ((x) << S_TMRSC_CYCLES)
61413 #define G_TMRSC_CYCLES(x) (((x) >> S_TMRSC_CYCLES) & M_TMRSC_CYCLES)
61415 #define S_MRS_CMD_SPACE 0
61416 #define M_MRS_CMD_SPACE 0xfU
61417 #define V_MRS_CMD_SPACE(x) ((x) << S_MRS_CMD_SPACE)
61418 #define G_MRS_CMD_SPACE(x) (((x) >> S_MRS_CMD_SPACE) & M_MRS_CMD_SPACE)
61420 #define A_MC_DDRPHY_RC_CONFIG0 0x47400
61422 #define S_GLOBAL_PHY_OFFSET 12
61423 #define M_GLOBAL_PHY_OFFSET 0xfU
61424 #define V_GLOBAL_PHY_OFFSET(x) ((x) << S_GLOBAL_PHY_OFFSET)
61425 #define G_GLOBAL_PHY_OFFSET(x) (((x) >> S_GLOBAL_PHY_OFFSET) & M_GLOBAL_PHY_OFFSET)
61427 #define S_ADVANCE_RD_VALID 11
61428 #define V_ADVANCE_RD_VALID(x) ((x) << S_ADVANCE_RD_VALID)
61429 #define F_ADVANCE_RD_VALID V_ADVANCE_RD_VALID(1U)
61431 #define S_SINGLE_BIT_MPR_RP0 6
61432 #define V_SINGLE_BIT_MPR_RP0(x) ((x) << S_SINGLE_BIT_MPR_RP0)
61433 #define F_SINGLE_BIT_MPR_RP0 V_SINGLE_BIT_MPR_RP0(1U)
61435 #define S_SINGLE_BIT_MPR_RP1 5
61436 #define V_SINGLE_BIT_MPR_RP1(x) ((x) << S_SINGLE_BIT_MPR_RP1)
61437 #define F_SINGLE_BIT_MPR_RP1 V_SINGLE_BIT_MPR_RP1(1U)
61439 #define S_SINGLE_BIT_MPR_RP2 4
61440 #define V_SINGLE_BIT_MPR_RP2(x) ((x) << S_SINGLE_BIT_MPR_RP2)
61441 #define F_SINGLE_BIT_MPR_RP2 V_SINGLE_BIT_MPR_RP2(1U)
61443 #define S_SINGLE_BIT_MPR_RP3 3
61444 #define V_SINGLE_BIT_MPR_RP3(x) ((x) << S_SINGLE_BIT_MPR_RP3)
61445 #define F_SINGLE_BIT_MPR_RP3 V_SINGLE_BIT_MPR_RP3(1U)
61447 #define S_ALIGN_ON_EVEN_CYCLES 2
61448 #define V_ALIGN_ON_EVEN_CYCLES(x) ((x) << S_ALIGN_ON_EVEN_CYCLES)
61449 #define F_ALIGN_ON_EVEN_CYCLES V_ALIGN_ON_EVEN_CYCLES(1U)
61451 #define S_PERFORM_RDCLK_ALIGN 1
61452 #define V_PERFORM_RDCLK_ALIGN(x) ((x) << S_PERFORM_RDCLK_ALIGN)
61453 #define F_PERFORM_RDCLK_ALIGN V_PERFORM_RDCLK_ALIGN(1U)
61455 #define S_STAGGERED_PATTERN 0
61456 #define V_STAGGERED_PATTERN(x) ((x) << S_STAGGERED_PATTERN)
61457 #define F_STAGGERED_PATTERN V_STAGGERED_PATTERN(1U)
61459 #define S_ERS_MODE 10
61460 #define V_ERS_MODE(x) ((x) << S_ERS_MODE)
61461 #define F_ERS_MODE V_ERS_MODE(1U)
61463 #define A_MC_DDRPHY_RC_CONFIG1 0x47404
61465 #define S_OUTER_LOOP_CNT 2
61466 #define M_OUTER_LOOP_CNT 0x3fffU
61467 #define V_OUTER_LOOP_CNT(x) ((x) << S_OUTER_LOOP_CNT)
61468 #define G_OUTER_LOOP_CNT(x) (((x) >> S_OUTER_LOOP_CNT) & M_OUTER_LOOP_CNT)
61470 #define A_MC_DDRPHY_RC_CONFIG2 0x47408
61472 #define S_CONSEQ_PASS 11
61473 #define M_CONSEQ_PASS 0x1fU
61474 #define V_CONSEQ_PASS(x) ((x) << S_CONSEQ_PASS)
61475 #define G_CONSEQ_PASS(x) (((x) >> S_CONSEQ_PASS) & M_CONSEQ_PASS)
61477 #define S_BURST_WINDOW 5
61478 #define M_BURST_WINDOW 0x3U
61479 #define V_BURST_WINDOW(x) ((x) << S_BURST_WINDOW)
61480 #define G_BURST_WINDOW(x) (((x) >> S_BURST_WINDOW) & M_BURST_WINDOW)
61482 #define S_ALLOW_RD_FIFO_AUTO_R_ESET 4
61483 #define V_ALLOW_RD_FIFO_AUTO_R_ESET(x) ((x) << S_ALLOW_RD_FIFO_AUTO_R_ESET)
61484 #define F_ALLOW_RD_FIFO_AUTO_R_ESET V_ALLOW_RD_FIFO_AUTO_R_ESET(1U)
61486 #define S_DIS_LOW_PWR_PER_CAL 3
61487 #define V_DIS_LOW_PWR_PER_CAL(x) ((x) << S_DIS_LOW_PWR_PER_CAL)
61488 #define F_DIS_LOW_PWR_PER_CAL V_DIS_LOW_PWR_PER_CAL(1U)
61490 #define A_MC_DDRPHY_RC_ERROR_STATUS0 0x47414
61492 #define S_RD_CNTL_ERROR 15
61493 #define V_RD_CNTL_ERROR(x) ((x) << S_RD_CNTL_ERROR)
61494 #define F_RD_CNTL_ERROR V_RD_CNTL_ERROR(1U)
61496 #define A_MC_DDRPHY_RC_ERROR_MASK0 0x47418
61498 #define S_RD_CNTL_ERROR_MASK 15
61499 #define V_RD_CNTL_ERROR_MASK(x) ((x) << S_RD_CNTL_ERROR_MASK)
61500 #define F_RD_CNTL_ERROR_MASK V_RD_CNTL_ERROR_MASK(1U)
61502 #define A_MC_DDRPHY_RC_CONFIG3 0x4741c
61504 #define S_FINE_CAL_STEP_SIZE 13
61505 #define M_FINE_CAL_STEP_SIZE 0x7U
61506 #define V_FINE_CAL_STEP_SIZE(x) ((x) << S_FINE_CAL_STEP_SIZE)
61507 #define G_FINE_CAL_STEP_SIZE(x) (((x) >> S_FINE_CAL_STEP_SIZE) & M_FINE_CAL_STEP_SIZE)
61509 #define S_COARSE_CAL_STEP_SIZE 9
61510 #define M_COARSE_CAL_STEP_SIZE 0xfU
61511 #define V_COARSE_CAL_STEP_SIZE(x) ((x) << S_COARSE_CAL_STEP_SIZE)
61512 #define G_COARSE_CAL_STEP_SIZE(x) (((x) >> S_COARSE_CAL_STEP_SIZE) & M_COARSE_CAL_STEP_SIZE)
61514 #define S_DQ_SEL_QUAD 7
61515 #define M_DQ_SEL_QUAD 0x3U
61516 #define V_DQ_SEL_QUAD(x) ((x) << S_DQ_SEL_QUAD)
61517 #define G_DQ_SEL_QUAD(x) (((x) >> S_DQ_SEL_QUAD) & M_DQ_SEL_QUAD)
61519 #define S_DQ_SEL_LANE 4
61520 #define M_DQ_SEL_LANE 0x7U
61521 #define V_DQ_SEL_LANE(x) ((x) << S_DQ_SEL_LANE)
61522 #define G_DQ_SEL_LANE(x) (((x) >> S_DQ_SEL_LANE) & M_DQ_SEL_LANE)
61524 #define A_MC_DDRPHY_RC_PERIODIC 0x47420
61525 #define A_MC_DDRPHY_WC_CONFIG0 0x47600
61527 #define S_TWLO_TWLOE 8
61528 #define M_TWLO_TWLOE 0xffU
61529 #define V_TWLO_TWLOE(x) ((x) << S_TWLO_TWLOE)
61530 #define G_TWLO_TWLOE(x) (((x) >> S_TWLO_TWLOE) & M_TWLO_TWLOE)
61532 #define S_WL_ONE_DQS_PULSE 7
61533 #define V_WL_ONE_DQS_PULSE(x) ((x) << S_WL_ONE_DQS_PULSE)
61534 #define F_WL_ONE_DQS_PULSE V_WL_ONE_DQS_PULSE(1U)
61536 #define S_FW_WR_RD 1
61537 #define M_FW_WR_RD 0x3fU
61538 #define V_FW_WR_RD(x) ((x) << S_FW_WR_RD)
61539 #define G_FW_WR_RD(x) (((x) >> S_FW_WR_RD) & M_FW_WR_RD)
61541 #define S_CUSTOM_INIT_WRITE 0
61542 #define V_CUSTOM_INIT_WRITE(x) ((x) << S_CUSTOM_INIT_WRITE)
61543 #define F_CUSTOM_INIT_WRITE V_CUSTOM_INIT_WRITE(1U)
61545 #define A_MC_DDRPHY_WC_CONFIG1 0x47604
61547 #define S_BIG_STEP 12
61548 #define M_BIG_STEP 0xfU
61549 #define V_BIG_STEP(x) ((x) << S_BIG_STEP)
61550 #define G_BIG_STEP(x) (((x) >> S_BIG_STEP) & M_BIG_STEP)
61552 #define S_SMALL_STEP 9
61553 #define M_SMALL_STEP 0x7U
61554 #define V_SMALL_STEP(x) ((x) << S_SMALL_STEP)
61555 #define G_SMALL_STEP(x) (((x) >> S_SMALL_STEP) & M_SMALL_STEP)
61557 #define S_WR_PRE_DLY 3
61558 #define M_WR_PRE_DLY 0x3fU
61559 #define V_WR_PRE_DLY(x) ((x) << S_WR_PRE_DLY)
61560 #define G_WR_PRE_DLY(x) (((x) >> S_WR_PRE_DLY) & M_WR_PRE_DLY)
61562 #define A_MC_DDRPHY_WC_CONFIG2 0x47608
61564 #define S_NUM_VALID_SAMPLES 12
61565 #define M_NUM_VALID_SAMPLES 0xfU
61566 #define V_NUM_VALID_SAMPLES(x) ((x) << S_NUM_VALID_SAMPLES)
61567 #define G_NUM_VALID_SAMPLES(x) (((x) >> S_NUM_VALID_SAMPLES) & M_NUM_VALID_SAMPLES)
61569 #define S_FW_RD_WR 6
61570 #define M_FW_RD_WR 0x3fU
61571 #define V_FW_RD_WR(x) ((x) << S_FW_RD_WR)
61572 #define G_FW_RD_WR(x) (((x) >> S_FW_RD_WR) & M_FW_RD_WR)
61574 #define S_EN_RESET_WR_DELAY_WL 0
61575 #define V_EN_RESET_WR_DELAY_WL(x) ((x) << S_EN_RESET_WR_DELAY_WL)
61576 #define F_EN_RESET_WR_DELAY_WL V_EN_RESET_WR_DELAY_WL(1U)
61578 #define S_TWR_MPR 2
61579 #define M_TWR_MPR 0xfU
61580 #define V_TWR_MPR(x) ((x) << S_TWR_MPR)
61581 #define G_TWR_MPR(x) (((x) >> S_TWR_MPR) & M_TWR_MPR)
61583 #define A_MC_DDRPHY_WC_ERROR_STATUS0 0x4760c
61585 #define S_WR_CNTL_ERROR 15
61586 #define V_WR_CNTL_ERROR(x) ((x) << S_WR_CNTL_ERROR)
61587 #define F_WR_CNTL_ERROR V_WR_CNTL_ERROR(1U)
61589 #define A_MC_DDRPHY_WC_ERROR_MASK0 0x47610
61591 #define S_WR_CNTL_ERROR_MASK 15
61592 #define V_WR_CNTL_ERROR_MASK(x) ((x) << S_WR_CNTL_ERROR_MASK)
61593 #define F_WR_CNTL_ERROR_MASK V_WR_CNTL_ERROR_MASK(1U)
61595 #define A_MC_DDRPHY_WC_CONFIG3 0x47614
61597 #define S_DDR4_MRS_CMD_DQ_EN 15
61598 #define V_DDR4_MRS_CMD_DQ_EN(x) ((x) << S_DDR4_MRS_CMD_DQ_EN)
61599 #define F_DDR4_MRS_CMD_DQ_EN V_DDR4_MRS_CMD_DQ_EN(1U)
61601 #define S_MRS_CMD_DQ_ON 9
61602 #define M_MRS_CMD_DQ_ON 0x3fU
61603 #define V_MRS_CMD_DQ_ON(x) ((x) << S_MRS_CMD_DQ_ON)
61604 #define G_MRS_CMD_DQ_ON(x) (((x) >> S_MRS_CMD_DQ_ON) & M_MRS_CMD_DQ_ON)
61606 #define S_MRS_CMD_DQ_OFF 3
61607 #define M_MRS_CMD_DQ_OFF 0x3fU
61608 #define V_MRS_CMD_DQ_OFF(x) ((x) << S_MRS_CMD_DQ_OFF)
61609 #define G_MRS_CMD_DQ_OFF(x) (((x) >> S_MRS_CMD_DQ_OFF) & M_MRS_CMD_DQ_OFF)
61611 #define A_MC_DDRPHY_WC_WRCLK_CNTL 0x47618
61613 #define S_WRCLK_CAL_START 15
61614 #define V_WRCLK_CAL_START(x) ((x) << S_WRCLK_CAL_START)
61615 #define F_WRCLK_CAL_START V_WRCLK_CAL_START(1U)
61617 #define S_WRCLK_CAL_DONE 14
61618 #define V_WRCLK_CAL_DONE(x) ((x) << S_WRCLK_CAL_DONE)
61619 #define F_WRCLK_CAL_DONE V_WRCLK_CAL_DONE(1U)
61621 #define A_MC_DDRPHY_APB_CONFIG0 0x47800
61623 #define S_DISABLE_PARITY_CHECKER 15
61624 #define V_DISABLE_PARITY_CHECKER(x) ((x) << S_DISABLE_PARITY_CHECKER)
61625 #define F_DISABLE_PARITY_CHECKER V_DISABLE_PARITY_CHECKER(1U)
61627 #define S_GENERATE_EVEN_PARITY 14
61628 #define V_GENERATE_EVEN_PARITY(x) ((x) << S_GENERATE_EVEN_PARITY)
61629 #define F_GENERATE_EVEN_PARITY V_GENERATE_EVEN_PARITY(1U)
61631 #define S_FORCE_ON_CLK_GATE 13
61632 #define V_FORCE_ON_CLK_GATE(x) ((x) << S_FORCE_ON_CLK_GATE)
61633 #define F_FORCE_ON_CLK_GATE V_FORCE_ON_CLK_GATE(1U)
61635 #define S_DEBUG_BUS_SEL_LO 12
61636 #define V_DEBUG_BUS_SEL_LO(x) ((x) << S_DEBUG_BUS_SEL_LO)
61637 #define F_DEBUG_BUS_SEL_LO V_DEBUG_BUS_SEL_LO(1U)
61639 #define S_DEBUG_BUS_SEL_HI 8
61640 #define M_DEBUG_BUS_SEL_HI 0xfU
61641 #define V_DEBUG_BUS_SEL_HI(x) ((x) << S_DEBUG_BUS_SEL_HI)
61642 #define G_DEBUG_BUS_SEL_HI(x) (((x) >> S_DEBUG_BUS_SEL_HI) & M_DEBUG_BUS_SEL_HI)
61644 #define A_MC_DDRPHY_APB_ERROR_STATUS0 0x47804
61646 #define S_INVALID_ADDRESS 15
61647 #define V_INVALID_ADDRESS(x) ((x) << S_INVALID_ADDRESS)
61648 #define F_INVALID_ADDRESS V_INVALID_ADDRESS(1U)
61650 #define S_WR_PAR_ERR 14
61651 #define V_WR_PAR_ERR(x) ((x) << S_WR_PAR_ERR)
61652 #define F_WR_PAR_ERR V_WR_PAR_ERR(1U)
61654 #define A_MC_DDRPHY_APB_ERROR_MASK0 0x47808
61656 #define S_INVALID_ADDRESS_MASK 15
61657 #define V_INVALID_ADDRESS_MASK(x) ((x) << S_INVALID_ADDRESS_MASK)
61658 #define F_INVALID_ADDRESS_MASK V_INVALID_ADDRESS_MASK(1U)
61660 #define S_WR_PAR_ERR_MASK 14
61661 #define V_WR_PAR_ERR_MASK(x) ((x) << S_WR_PAR_ERR_MASK)
61662 #define F_WR_PAR_ERR_MASK V_WR_PAR_ERR_MASK(1U)
61664 #define A_MC_DDRPHY_APB_DP18_POPULATION 0x4780c
61666 #define S_DP18_0_POPULATED 15
61667 #define V_DP18_0_POPULATED(x) ((x) << S_DP18_0_POPULATED)
61668 #define F_DP18_0_POPULATED V_DP18_0_POPULATED(1U)
61670 #define S_DP18_1_POPULATED 14
61671 #define V_DP18_1_POPULATED(x) ((x) << S_DP18_1_POPULATED)
61672 #define F_DP18_1_POPULATED V_DP18_1_POPULATED(1U)
61674 #define S_DP18_2_POPULATED 13
61675 #define V_DP18_2_POPULATED(x) ((x) << S_DP18_2_POPULATED)
61676 #define F_DP18_2_POPULATED V_DP18_2_POPULATED(1U)
61678 #define S_DP18_3_POPULATED 12
61679 #define V_DP18_3_POPULATED(x) ((x) << S_DP18_3_POPULATED)
61680 #define F_DP18_3_POPULATED V_DP18_3_POPULATED(1U)
61682 #define S_DP18_4_POPULATED 11
61683 #define V_DP18_4_POPULATED(x) ((x) << S_DP18_4_POPULATED)
61684 #define F_DP18_4_POPULATED V_DP18_4_POPULATED(1U)
61686 #define S_DP18_5_POPULATED 10
61687 #define V_DP18_5_POPULATED(x) ((x) << S_DP18_5_POPULATED)
61688 #define F_DP18_5_POPULATED V_DP18_5_POPULATED(1U)
61690 #define S_DP18_6_POPULATED 9
61691 #define V_DP18_6_POPULATED(x) ((x) << S_DP18_6_POPULATED)
61692 #define F_DP18_6_POPULATED V_DP18_6_POPULATED(1U)
61694 #define S_DP18_7_POPULATED 8
61695 #define V_DP18_7_POPULATED(x) ((x) << S_DP18_7_POPULATED)
61696 #define F_DP18_7_POPULATED V_DP18_7_POPULATED(1U)
61698 #define S_DP18_8_POPULATED 7
61699 #define V_DP18_8_POPULATED(x) ((x) << S_DP18_8_POPULATED)
61700 #define F_DP18_8_POPULATED V_DP18_8_POPULATED(1U)
61702 #define S_DP18_9_POPULATED 6
61703 #define V_DP18_9_POPULATED(x) ((x) << S_DP18_9_POPULATED)
61704 #define F_DP18_9_POPULATED V_DP18_9_POPULATED(1U)
61706 #define S_DP18_10_POPULATED 5
61707 #define V_DP18_10_POPULATED(x) ((x) << S_DP18_10_POPULATED)
61708 #define F_DP18_10_POPULATED V_DP18_10_POPULATED(1U)
61710 #define S_DP18_11_POPULATED 4
61711 #define V_DP18_11_POPULATED(x) ((x) << S_DP18_11_POPULATED)
61712 #define F_DP18_11_POPULATED V_DP18_11_POPULATED(1U)
61714 #define S_DP18_12_POPULATED 3
61715 #define V_DP18_12_POPULATED(x) ((x) << S_DP18_12_POPULATED)
61716 #define F_DP18_12_POPULATED V_DP18_12_POPULATED(1U)
61718 #define S_DP18_13_POPULATED 2
61719 #define V_DP18_13_POPULATED(x) ((x) << S_DP18_13_POPULATED)
61720 #define F_DP18_13_POPULATED V_DP18_13_POPULATED(1U)
61722 #define S_DP18_14_POPULATED 1
61723 #define V_DP18_14_POPULATED(x) ((x) << S_DP18_14_POPULATED)
61724 #define F_DP18_14_POPULATED V_DP18_14_POPULATED(1U)
61726 #define A_MC_DDRPHY_APB_ADR_POPULATION 0x47810
61728 #define S_ADR16_0_POPULATED 15
61729 #define V_ADR16_0_POPULATED(x) ((x) << S_ADR16_0_POPULATED)
61730 #define F_ADR16_0_POPULATED V_ADR16_0_POPULATED(1U)
61732 #define S_ADR16_1_POPULATED 14
61733 #define V_ADR16_1_POPULATED(x) ((x) << S_ADR16_1_POPULATED)
61734 #define F_ADR16_1_POPULATED V_ADR16_1_POPULATED(1U)
61736 #define S_ADR16_2_POPULATED 13
61737 #define V_ADR16_2_POPULATED(x) ((x) << S_ADR16_2_POPULATED)
61738 #define F_ADR16_2_POPULATED V_ADR16_2_POPULATED(1U)
61740 #define S_ADR16_3_POPULATED 12
61741 #define V_ADR16_3_POPULATED(x) ((x) << S_ADR16_3_POPULATED)
61742 #define F_ADR16_3_POPULATED V_ADR16_3_POPULATED(1U)
61744 #define S_ADR12_0_POPULATED 7
61745 #define V_ADR12_0_POPULATED(x) ((x) << S_ADR12_0_POPULATED)
61746 #define F_ADR12_0_POPULATED V_ADR12_0_POPULATED(1U)
61748 #define S_ADR12_1_POPULATED 6
61749 #define V_ADR12_1_POPULATED(x) ((x) << S_ADR12_1_POPULATED)
61750 #define F_ADR12_1_POPULATED V_ADR12_1_POPULATED(1U)
61752 #define S_ADR12_2_POPULATED 5
61753 #define V_ADR12_2_POPULATED(x) ((x) << S_ADR12_2_POPULATED)
61754 #define F_ADR12_2_POPULATED V_ADR12_2_POPULATED(1U)
61756 #define S_ADR12_3_POPULATED 4
61757 #define V_ADR12_3_POPULATED(x) ((x) << S_ADR12_3_POPULATED)
61758 #define F_ADR12_3_POPULATED V_ADR12_3_POPULATED(1U)
61760 #define A_MC_DDRPHY_APB_ATEST_MUX_SEL 0x47814
61762 #define S_ATEST_CNTL 10
61763 #define M_ATEST_CNTL 0x3fU
61764 #define V_ATEST_CNTL(x) ((x) << S_ATEST_CNTL)
61765 #define G_ATEST_CNTL(x) (((x) >> S_ATEST_CNTL) & M_ATEST_CNTL)
61767 #define A_MC_DDRPHY_APB_MTCTL_REG0 0x47820
61769 #define S_MT_DATA_MUX4_1MODE 15
61770 #define V_MT_DATA_MUX4_1MODE(x) ((x) << S_MT_DATA_MUX4_1MODE)
61771 #define F_MT_DATA_MUX4_1MODE V_MT_DATA_MUX4_1MODE(1U)
61773 #define S_MT_PLL_RESET 14
61774 #define V_MT_PLL_RESET(x) ((x) << S_MT_PLL_RESET)
61775 #define F_MT_PLL_RESET V_MT_PLL_RESET(1U)
61777 #define S_MT_SYSCLK_RESET 13
61778 #define V_MT_SYSCLK_RESET(x) ((x) << S_MT_SYSCLK_RESET)
61779 #define F_MT_SYSCLK_RESET V_MT_SYSCLK_RESET(1U)
61781 #define S_MT_GLOBAL_PHY_OFFSET 9
61782 #define M_MT_GLOBAL_PHY_OFFSET 0xfU
61783 #define V_MT_GLOBAL_PHY_OFFSET(x) ((x) << S_MT_GLOBAL_PHY_OFFSET)
61784 #define G_MT_GLOBAL_PHY_OFFSET(x) (((x) >> S_MT_GLOBAL_PHY_OFFSET) & M_MT_GLOBAL_PHY_OFFSET)
61786 #define S_MT_DQ_SEL_QUAD 7
61787 #define M_MT_DQ_SEL_QUAD 0x3U
61788 #define V_MT_DQ_SEL_QUAD(x) ((x) << S_MT_DQ_SEL_QUAD)
61789 #define G_MT_DQ_SEL_QUAD(x) (((x) >> S_MT_DQ_SEL_QUAD) & M_MT_DQ_SEL_QUAD)
61791 #define S_MT_PERFORM_RDCLK_ALIGN 6
61792 #define V_MT_PERFORM_RDCLK_ALIGN(x) ((x) << S_MT_PERFORM_RDCLK_ALIGN)
61793 #define F_MT_PERFORM_RDCLK_ALIGN V_MT_PERFORM_RDCLK_ALIGN(1U)
61795 #define S_MT_ALIGN_ON_EVEN_CYCLES 5
61796 #define V_MT_ALIGN_ON_EVEN_CYCLES(x) ((x) << S_MT_ALIGN_ON_EVEN_CYCLES)
61797 #define F_MT_ALIGN_ON_EVEN_CYCLES V_MT_ALIGN_ON_EVEN_CYCLES(1U)
61799 #define S_MT_WRCLK_CAL_START 4
61800 #define V_MT_WRCLK_CAL_START(x) ((x) << S_MT_WRCLK_CAL_START)
61801 #define F_MT_WRCLK_CAL_START V_MT_WRCLK_CAL_START(1U)
61803 #define A_MC_DDRPHY_APB_MTCTL_REG1 0x47824
61805 #define S_MT_WPRD_ENABLE 15
61806 #define V_MT_WPRD_ENABLE(x) ((x) << S_MT_WPRD_ENABLE)
61807 #define F_MT_WPRD_ENABLE V_MT_WPRD_ENABLE(1U)
61809 #define S_MT_PVTP 10
61810 #define M_MT_PVTP 0x1fU
61811 #define V_MT_PVTP(x) ((x) << S_MT_PVTP)
61812 #define G_MT_PVTP(x) (((x) >> S_MT_PVTP) & M_MT_PVTP)
61814 #define S_MT_PVTN 5
61815 #define M_MT_PVTN 0x1fU
61816 #define V_MT_PVTN(x) ((x) << S_MT_PVTN)
61817 #define G_MT_PVTN(x) (((x) >> S_MT_PVTN) & M_MT_PVTN)
61819 #define A_MC_DDRPHY_APB_MTSTAT_REG0 0x47828
61820 #define A_MC_DDRPHY_APB_MTSTAT_REG1 0x4782c
61822 #define S_MT_ADR32_PLL_LOCK_SUM 1
61823 #define V_MT_ADR32_PLL_LOCK_SUM(x) ((x) << S_MT_ADR32_PLL_LOCK_SUM)
61824 #define F_MT_ADR32_PLL_LOCK_SUM V_MT_ADR32_PLL_LOCK_SUM(1U)
61826 #define S_MT_DP18_PLL_LOCK_SUM 0
61827 #define V_MT_DP18_PLL_LOCK_SUM(x) ((x) << S_MT_DP18_PLL_LOCK_SUM)
61828 #define F_MT_DP18_PLL_LOCK_SUM V_MT_DP18_PLL_LOCK_SUM(1U)
61830 /* registers for module MC_1 */
61831 #define MC_1_BASE_ADDR 0x48000
61833 /* registers for module EDC_T50 */
61834 #define EDC_T50_BASE_ADDR 0x50000
61836 #define A_EDC_H_REF 0x50000
61838 #define S_EDC_SLEEPSTATUS 31
61839 #define V_EDC_SLEEPSTATUS(x) ((x) << S_EDC_SLEEPSTATUS)
61840 #define F_EDC_SLEEPSTATUS V_EDC_SLEEPSTATUS(1U)
61842 #define S_EDC_SLEEPREQ 30
61843 #define V_EDC_SLEEPREQ(x) ((x) << S_EDC_SLEEPREQ)
61844 #define F_EDC_SLEEPREQ V_EDC_SLEEPREQ(1U)
61846 #define S_PING_PONG 29
61847 #define V_PING_PONG(x) ((x) << S_PING_PONG)
61848 #define F_PING_PONG V_PING_PONG(1U)
61850 #define A_EDC_H_BIST_CMD 0x50004
61851 #define A_EDC_H_BIST_CMD_ADDR 0x50008
61852 #define A_EDC_H_BIST_CMD_LEN 0x5000c
61853 #define A_EDC_H_BIST_DATA_PATTERN 0x50010
61854 #define A_EDC_H_BIST_USER_WDATA0 0x50014
61855 #define A_EDC_H_BIST_USER_WDATA1 0x50018
61856 #define A_EDC_H_BIST_USER_WDATA2 0x5001c
61857 #define A_EDC_H_BIST_NUM_ERR 0x50020
61858 #define A_EDC_H_BIST_ERR_FIRST_ADDR 0x50024
61859 #define A_EDC_H_BIST_STATUS_RDATA 0x50028
61860 #define A_EDC_H_PAR_ENABLE 0x50070
61862 #define S_PERR_PAR_ENABLE 0
61863 #define V_PERR_PAR_ENABLE(x) ((x) << S_PERR_PAR_ENABLE)
61864 #define F_PERR_PAR_ENABLE V_PERR_PAR_ENABLE(1U)
61866 #define A_EDC_H_INT_ENABLE 0x50074
61867 #define A_EDC_H_INT_CAUSE 0x50078
61869 #define S_ECC_UE_INT0_CAUSE 5
61870 #define V_ECC_UE_INT0_CAUSE(x) ((x) << S_ECC_UE_INT0_CAUSE)
61871 #define F_ECC_UE_INT0_CAUSE V_ECC_UE_INT0_CAUSE(1U)
61873 #define S_ECC_CE_INT0_CAUSE 4
61874 #define V_ECC_CE_INT0_CAUSE(x) ((x) << S_ECC_CE_INT0_CAUSE)
61875 #define F_ECC_CE_INT0_CAUSE V_ECC_CE_INT0_CAUSE(1U)
61877 #define S_PERR_INT0_CAUSE 3
61878 #define V_PERR_INT0_CAUSE(x) ((x) << S_PERR_INT0_CAUSE)
61879 #define F_PERR_INT0_CAUSE V_PERR_INT0_CAUSE(1U)
61881 #define A_EDC_H_ECC_STATUS 0x5007c
61882 #define A_EDC_H_ECC_ERR_SEL 0x50080
61886 #define V_CFG(x) ((x) << S_CFG)
61887 #define G_CFG(x) (((x) >> S_CFG) & M_CFG)
61889 #define A_EDC_H_ECC_ERR_ADDR 0x50084
61891 #define S_ECC_ADDR 0
61892 #define M_ECC_ADDR 0x7fffffU
61893 #define V_ECC_ADDR(x) ((x) << S_ECC_ADDR)
61894 #define G_ECC_ADDR(x) (((x) >> S_ECC_ADDR) & M_ECC_ADDR)
61896 #define A_EDC_H_ECC_ERR_DATA_RDATA 0x50090
61897 #define A_EDC_H_BIST_CRC_SEED 0x50400
61899 /* registers for module EDC_T51 */
61900 #define EDC_T51_BASE_ADDR 0x50800
61902 /* registers for module HMA_T5 */
61903 #define HMA_T5_BASE_ADDR 0x51000
61905 #define A_HMA_TABLE_ACCESS 0x51000
61908 #define V_TRIG(x) ((x) << S_TRIG)
61909 #define F_TRIG V_TRIG(1U)
61912 #define V_RW(x) ((x) << S_RW)
61913 #define F_RW V_RW(1U)
61916 #define M_L_SEL 0xfU
61917 #define V_L_SEL(x) ((x) << S_L_SEL)
61918 #define G_L_SEL(x) (((x) >> S_L_SEL) & M_L_SEL)
61920 #define A_HMA_TABLE_LINE0 0x51004
61922 #define S_CLIENT_EN 0
61923 #define M_CLIENT_EN 0x1fffU
61924 #define V_CLIENT_EN(x) ((x) << S_CLIENT_EN)
61925 #define G_CLIENT_EN(x) (((x) >> S_CLIENT_EN) & M_CLIENT_EN)
61927 #define A_HMA_TABLE_LINE1 0x51008
61928 #define A_HMA_TABLE_LINE2 0x5100c
61929 #define A_HMA_TABLE_LINE3 0x51010
61930 #define A_HMA_TABLE_LINE4 0x51014
61931 #define A_HMA_TABLE_LINE5 0x51018
61934 #define M_FID 0x7ffU
61935 #define V_FID(x) ((x) << S_FID)
61936 #define G_FID(x) (((x) >> S_FID) & M_FID)
61939 #define V_NOS(x) ((x) << S_NOS)
61940 #define F_NOS V_NOS(1U)
61943 #define V_RO(x) ((x) << S_RO)
61944 #define F_RO V_RO(1U)
61946 #define A_HMA_COOKIE 0x5101c
61949 #define V_C_REQ(x) ((x) << S_C_REQ)
61950 #define F_C_REQ V_C_REQ(1U)
61953 #define M_C_FID 0x7ffU
61954 #define V_C_FID(x) ((x) << S_C_FID)
61955 #define G_C_FID(x) (((x) >> S_C_FID) & M_C_FID)
61958 #define M_C_VAL 0x3ffU
61959 #define V_C_VAL(x) ((x) << S_C_VAL)
61960 #define G_C_VAL(x) (((x) >> S_C_VAL) & M_C_VAL)
61963 #define M_C_SEL 0xfU
61964 #define V_C_SEL(x) ((x) << S_C_SEL)
61965 #define G_C_SEL(x) (((x) >> S_C_SEL) & M_C_SEL)
61967 #define A_HMA_PAR_ENABLE 0x51300
61968 #define A_HMA_INT_ENABLE 0x51304
61969 #define A_HMA_INT_CAUSE 0x51308
61971 /* registers for module EDC_T60 */
61972 #define EDC_T60_BASE_ADDR 0x50000
61974 #define S_QDR_CLKPHASE 24
61975 #define M_QDR_CLKPHASE 0x7U
61976 #define V_QDR_CLKPHASE(x) ((x) << S_QDR_CLKPHASE)
61977 #define G_QDR_CLKPHASE(x) (((x) >> S_QDR_CLKPHASE) & M_QDR_CLKPHASE)
61979 #define S_MAXOPSPERTRC 21
61980 #define M_MAXOPSPERTRC 0x7U
61981 #define V_MAXOPSPERTRC(x) ((x) << S_MAXOPSPERTRC)
61982 #define G_MAXOPSPERTRC(x) (((x) >> S_MAXOPSPERTRC) & M_MAXOPSPERTRC)
61984 #define S_NUMPIPESTAGES 19
61985 #define M_NUMPIPESTAGES 0x3U
61986 #define V_NUMPIPESTAGES(x) ((x) << S_NUMPIPESTAGES)
61987 #define G_NUMPIPESTAGES(x) (((x) >> S_NUMPIPESTAGES) & M_NUMPIPESTAGES)
61989 #define A_EDC_H_DBG_MA_CMD_INTF 0x50300
61991 #define S_MCMDADDR 12
61992 #define M_MCMDADDR 0xfffffU
61993 #define V_MCMDADDR(x) ((x) << S_MCMDADDR)
61994 #define G_MCMDADDR(x) (((x) >> S_MCMDADDR) & M_MCMDADDR)
61996 #define S_MCMDLEN 5
61997 #define M_MCMDLEN 0x7fU
61998 #define V_MCMDLEN(x) ((x) << S_MCMDLEN)
61999 #define G_MCMDLEN(x) (((x) >> S_MCMDLEN) & M_MCMDLEN)
62001 #define S_MCMDNRE 4
62002 #define V_MCMDNRE(x) ((x) << S_MCMDNRE)
62003 #define F_MCMDNRE V_MCMDNRE(1U)
62005 #define S_MCMDNRB 3
62006 #define V_MCMDNRB(x) ((x) << S_MCMDNRB)
62007 #define F_MCMDNRB V_MCMDNRB(1U)
62010 #define V_MCMDWR(x) ((x) << S_MCMDWR)
62011 #define F_MCMDWR V_MCMDWR(1U)
62013 #define S_MCMDRDY 1
62014 #define V_MCMDRDY(x) ((x) << S_MCMDRDY)
62015 #define F_MCMDRDY V_MCMDRDY(1U)
62017 #define S_MCMDVLD 0
62018 #define V_MCMDVLD(x) ((x) << S_MCMDVLD)
62019 #define F_MCMDVLD V_MCMDVLD(1U)
62021 #define A_EDC_H_DBG_MA_WDATA_INTF 0x50304
62023 #define S_MWDATAVLD 31
62024 #define V_MWDATAVLD(x) ((x) << S_MWDATAVLD)
62025 #define F_MWDATAVLD V_MWDATAVLD(1U)
62027 #define S_MWDATARDY 30
62028 #define V_MWDATARDY(x) ((x) << S_MWDATARDY)
62029 #define F_MWDATARDY V_MWDATARDY(1U)
62032 #define M_MWDATA 0x3fffffffU
62033 #define V_MWDATA(x) ((x) << S_MWDATA)
62034 #define G_MWDATA(x) (((x) >> S_MWDATA) & M_MWDATA)
62036 #define A_EDC_H_DBG_MA_RDATA_INTF 0x50308
62038 #define S_MRSPVLD 31
62039 #define V_MRSPVLD(x) ((x) << S_MRSPVLD)
62040 #define F_MRSPVLD V_MRSPVLD(1U)
62042 #define S_MRSPRDY 30
62043 #define V_MRSPRDY(x) ((x) << S_MRSPRDY)
62044 #define F_MRSPRDY V_MRSPRDY(1U)
62046 #define S_MRSPDATA 0
62047 #define M_MRSPDATA 0x3fffffffU
62048 #define V_MRSPDATA(x) ((x) << S_MRSPDATA)
62049 #define G_MRSPDATA(x) (((x) >> S_MRSPDATA) & M_MRSPDATA)
62051 #define A_EDC_H_DBG_BIST_CMD_INTF 0x5030c
62053 #define S_BCMDADDR 9
62054 #define M_BCMDADDR 0x7fffffU
62055 #define V_BCMDADDR(x) ((x) << S_BCMDADDR)
62056 #define G_BCMDADDR(x) (((x) >> S_BCMDADDR) & M_BCMDADDR)
62058 #define S_BCMDLEN 3
62059 #define M_BCMDLEN 0x3fU
62060 #define V_BCMDLEN(x) ((x) << S_BCMDLEN)
62061 #define G_BCMDLEN(x) (((x) >> S_BCMDLEN) & M_BCMDLEN)
62064 #define V_BCMDWR(x) ((x) << S_BCMDWR)
62065 #define F_BCMDWR V_BCMDWR(1U)
62067 #define S_BCMDRDY 1
62068 #define V_BCMDRDY(x) ((x) << S_BCMDRDY)
62069 #define F_BCMDRDY V_BCMDRDY(1U)
62071 #define S_BCMDVLD 0
62072 #define V_BCMDVLD(x) ((x) << S_BCMDVLD)
62073 #define F_BCMDVLD V_BCMDVLD(1U)
62075 #define A_EDC_H_DBG_BIST_WDATA_INTF 0x50310
62077 #define S_BWDATAVLD 31
62078 #define V_BWDATAVLD(x) ((x) << S_BWDATAVLD)
62079 #define F_BWDATAVLD V_BWDATAVLD(1U)
62081 #define S_BWDATARDY 30
62082 #define V_BWDATARDY(x) ((x) << S_BWDATARDY)
62083 #define F_BWDATARDY V_BWDATARDY(1U)
62086 #define M_BWDATA 0x3fffffffU
62087 #define V_BWDATA(x) ((x) << S_BWDATA)
62088 #define G_BWDATA(x) (((x) >> S_BWDATA) & M_BWDATA)
62090 #define A_EDC_H_DBG_BIST_RDATA_INTF 0x50314
62092 #define S_BRSPVLD 31
62093 #define V_BRSPVLD(x) ((x) << S_BRSPVLD)
62094 #define F_BRSPVLD V_BRSPVLD(1U)
62096 #define S_BRSPRDY 30
62097 #define V_BRSPRDY(x) ((x) << S_BRSPRDY)
62098 #define F_BRSPRDY V_BRSPRDY(1U)
62100 #define S_BRSPDATA 0
62101 #define M_BRSPDATA 0x3fffffffU
62102 #define V_BRSPDATA(x) ((x) << S_BRSPDATA)
62103 #define G_BRSPDATA(x) (((x) >> S_BRSPDATA) & M_BRSPDATA)
62105 #define A_EDC_H_DBG_EDRAM_CMD_INTF 0x50318
62107 #define S_EDRAMADDR 16
62108 #define M_EDRAMADDR 0xffffU
62109 #define V_EDRAMADDR(x) ((x) << S_EDRAMADDR)
62110 #define G_EDRAMADDR(x) (((x) >> S_EDRAMADDR) & M_EDRAMADDR)
62112 #define S_EDRAMDWSN 8
62113 #define M_EDRAMDWSN 0xffU
62114 #define V_EDRAMDWSN(x) ((x) << S_EDRAMDWSN)
62115 #define G_EDRAMDWSN(x) (((x) >> S_EDRAMDWSN) & M_EDRAMDWSN)
62117 #define S_EDRAMCRA 5
62118 #define M_EDRAMCRA 0x7U
62119 #define V_EDRAMCRA(x) ((x) << S_EDRAMCRA)
62120 #define G_EDRAMCRA(x) (((x) >> S_EDRAMCRA) & M_EDRAMCRA)
62122 #define S_EDRAMREFENLO 4
62123 #define V_EDRAMREFENLO(x) ((x) << S_EDRAMREFENLO)
62124 #define F_EDRAMREFENLO V_EDRAMREFENLO(1U)
62126 #define S_EDRAM1WRENLO 3
62127 #define V_EDRAM1WRENLO(x) ((x) << S_EDRAM1WRENLO)
62128 #define F_EDRAM1WRENLO V_EDRAM1WRENLO(1U)
62130 #define S_EDRAM1RDENLO 2
62131 #define V_EDRAM1RDENLO(x) ((x) << S_EDRAM1RDENLO)
62132 #define F_EDRAM1RDENLO V_EDRAM1RDENLO(1U)
62134 #define S_EDRAM0WRENLO 1
62135 #define V_EDRAM0WRENLO(x) ((x) << S_EDRAM0WRENLO)
62136 #define F_EDRAM0WRENLO V_EDRAM0WRENLO(1U)
62138 #define S_EDRAM0RDENLO 0
62139 #define V_EDRAM0RDENLO(x) ((x) << S_EDRAM0RDENLO)
62140 #define F_EDRAM0RDENLO V_EDRAM0RDENLO(1U)
62142 #define A_EDC_H_DBG_EDRAM_WDATA_INTF 0x5031c
62144 #define S_EDRAMWDATA 9
62145 #define M_EDRAMWDATA 0x7fffffU
62146 #define V_EDRAMWDATA(x) ((x) << S_EDRAMWDATA)
62147 #define G_EDRAMWDATA(x) (((x) >> S_EDRAMWDATA) & M_EDRAMWDATA)
62149 #define S_EDRAMWBYTEEN 0
62150 #define M_EDRAMWBYTEEN 0x1ffU
62151 #define V_EDRAMWBYTEEN(x) ((x) << S_EDRAMWBYTEEN)
62152 #define G_EDRAMWBYTEEN(x) (((x) >> S_EDRAMWBYTEEN) & M_EDRAMWBYTEEN)
62154 #define A_EDC_H_DBG_EDRAM0_RDATA_INTF 0x50320
62155 #define A_EDC_H_DBG_EDRAM1_RDATA_INTF 0x50324
62156 #define A_EDC_H_DBG_MA_WR_REQ_CNT 0x50328
62157 #define A_EDC_H_DBG_MA_WR_EXP_DAT_CYC_CNT 0x5032c
62158 #define A_EDC_H_DBG_MA_WR_DAT_CYC_CNT 0x50330
62159 #define A_EDC_H_DBG_MA_RD_REQ_CNT 0x50334
62160 #define A_EDC_H_DBG_MA_RD_EXP_DAT_CYC_CNT 0x50338
62161 #define A_EDC_H_DBG_MA_RD_DAT_CYC_CNT 0x5033c
62162 #define A_EDC_H_DBG_BIST_WR_REQ_CNT 0x50340
62163 #define A_EDC_H_DBG_BIST_WR_EXP_DAT_CYC_CNT 0x50344
62164 #define A_EDC_H_DBG_BIST_WR_DAT_CYC_CNT 0x50348
62165 #define A_EDC_H_DBG_BIST_RD_REQ_CNT 0x5034c
62166 #define A_EDC_H_DBG_BIST_RD_EXP_DAT_CYC_CNT 0x50350
62167 #define A_EDC_H_DBG_BIST_RD_DAT_CYC_CNT 0x50354
62168 #define A_EDC_H_DBG_EDRAM0_WR_REQ_CNT 0x50358
62169 #define A_EDC_H_DBG_EDRAM0_RD_REQ_CNT 0x5035c
62170 #define A_EDC_H_DBG_EDRAM0_RMW_CNT 0x50360
62171 #define A_EDC_H_DBG_EDRAM1_WR_REQ_CNT 0x50364
62172 #define A_EDC_H_DBG_EDRAM1_RD_REQ_CNT 0x50368
62173 #define A_EDC_H_DBG_EDRAM1_RMW_CNT 0x5036c
62174 #define A_EDC_H_DBG_EDRAM_REF_BURST_CNT 0x50370
62175 #define A_EDC_H_DBG_FIFO_STATUS 0x50374
62177 #define S_RDTAG_NOTFULL 17
62178 #define V_RDTAG_NOTFULL(x) ((x) << S_RDTAG_NOTFULL)
62179 #define F_RDTAG_NOTFULL V_RDTAG_NOTFULL(1U)
62181 #define S_RDTAG_NOTEMPTY 16
62182 #define V_RDTAG_NOTEMPTY(x) ((x) << S_RDTAG_NOTEMPTY)
62183 #define F_RDTAG_NOTEMPTY V_RDTAG_NOTEMPTY(1U)
62185 #define S_INP_CMDQ_NOTFULL_ARB 15
62186 #define V_INP_CMDQ_NOTFULL_ARB(x) ((x) << S_INP_CMDQ_NOTFULL_ARB)
62187 #define F_INP_CMDQ_NOTFULL_ARB V_INP_CMDQ_NOTFULL_ARB(1U)
62189 #define S_INP_CMDQ_NOTEMPTY 14
62190 #define V_INP_CMDQ_NOTEMPTY(x) ((x) << S_INP_CMDQ_NOTEMPTY)
62191 #define F_INP_CMDQ_NOTEMPTY V_INP_CMDQ_NOTEMPTY(1U)
62193 #define S_INP_WRDQ_WRRDY 13
62194 #define V_INP_WRDQ_WRRDY(x) ((x) << S_INP_WRDQ_WRRDY)
62195 #define F_INP_WRDQ_WRRDY V_INP_WRDQ_WRRDY(1U)
62197 #define S_INP_WRDQ_NOTEMPTY 12
62198 #define V_INP_WRDQ_NOTEMPTY(x) ((x) << S_INP_WRDQ_NOTEMPTY)
62199 #define F_INP_WRDQ_NOTEMPTY V_INP_WRDQ_NOTEMPTY(1U)
62201 #define S_INP_BEQ_WRRDY_OPEN 11
62202 #define V_INP_BEQ_WRRDY_OPEN(x) ((x) << S_INP_BEQ_WRRDY_OPEN)
62203 #define F_INP_BEQ_WRRDY_OPEN V_INP_BEQ_WRRDY_OPEN(1U)
62205 #define S_INP_BEQ_NOTEMPTY 10
62206 #define V_INP_BEQ_NOTEMPTY(x) ((x) << S_INP_BEQ_NOTEMPTY)
62207 #define F_INP_BEQ_NOTEMPTY V_INP_BEQ_NOTEMPTY(1U)
62209 #define S_RDDQ_NOTFULL_OPEN 9
62210 #define V_RDDQ_NOTFULL_OPEN(x) ((x) << S_RDDQ_NOTFULL_OPEN)
62211 #define F_RDDQ_NOTFULL_OPEN V_RDDQ_NOTFULL_OPEN(1U)
62213 #define S_RDDQ_RDCNT 4
62214 #define M_RDDQ_RDCNT 0x1fU
62215 #define V_RDDQ_RDCNT(x) ((x) << S_RDDQ_RDCNT)
62216 #define G_RDDQ_RDCNT(x) (((x) >> S_RDDQ_RDCNT) & M_RDDQ_RDCNT)
62218 #define S_RDSIDEQ_NOTFULL 3
62219 #define V_RDSIDEQ_NOTFULL(x) ((x) << S_RDSIDEQ_NOTFULL)
62220 #define F_RDSIDEQ_NOTFULL V_RDSIDEQ_NOTFULL(1U)
62222 #define S_RDSIDEQ_NOTEMPTY 2
62223 #define V_RDSIDEQ_NOTEMPTY(x) ((x) << S_RDSIDEQ_NOTEMPTY)
62224 #define F_RDSIDEQ_NOTEMPTY V_RDSIDEQ_NOTEMPTY(1U)
62226 #define S_STG_CMDQ_NOTEMPTY 1
62227 #define V_STG_CMDQ_NOTEMPTY(x) ((x) << S_STG_CMDQ_NOTEMPTY)
62228 #define F_STG_CMDQ_NOTEMPTY V_STG_CMDQ_NOTEMPTY(1U)
62230 #define S_STG_WRDQ_NOTEMPTY 0
62231 #define V_STG_WRDQ_NOTEMPTY(x) ((x) << S_STG_WRDQ_NOTEMPTY)
62232 #define F_STG_WRDQ_NOTEMPTY V_STG_WRDQ_NOTEMPTY(1U)
62234 #define A_EDC_H_DBG_FSM_STATE 0x50378
62236 #define S_CMDSPLITFSM 3
62237 #define V_CMDSPLITFSM(x) ((x) << S_CMDSPLITFSM)
62238 #define F_CMDSPLITFSM V_CMDSPLITFSM(1U)
62241 #define M_CMDFSM 0x7U
62242 #define V_CMDFSM(x) ((x) << S_CMDFSM)
62243 #define G_CMDFSM(x) (((x) >> S_CMDFSM) & M_CMDFSM)
62245 #define A_EDC_H_DBG_STALL_CYCLES 0x5037c
62247 #define S_STALL_RMW 19
62248 #define V_STALL_RMW(x) ((x) << S_STALL_RMW)
62249 #define F_STALL_RMW V_STALL_RMW(1U)
62251 #define S_STALL_EDC_CMD 18
62252 #define V_STALL_EDC_CMD(x) ((x) << S_STALL_EDC_CMD)
62253 #define F_STALL_EDC_CMD V_STALL_EDC_CMD(1U)
62255 #define S_DEAD_CYCLE0 17
62256 #define V_DEAD_CYCLE0(x) ((x) << S_DEAD_CYCLE0)
62257 #define F_DEAD_CYCLE0 V_DEAD_CYCLE0(1U)
62259 #define S_DEAD_CYCLE1 16
62260 #define V_DEAD_CYCLE1(x) ((x) << S_DEAD_CYCLE1)
62261 #define F_DEAD_CYCLE1 V_DEAD_CYCLE1(1U)
62263 #define S_DEAD_CYCLE0_BBI 15
62264 #define V_DEAD_CYCLE0_BBI(x) ((x) << S_DEAD_CYCLE0_BBI)
62265 #define F_DEAD_CYCLE0_BBI V_DEAD_CYCLE0_BBI(1U)
62267 #define S_DEAD_CYCLE1_BBI 14
62268 #define V_DEAD_CYCLE1_BBI(x) ((x) << S_DEAD_CYCLE1_BBI)
62269 #define F_DEAD_CYCLE1_BBI V_DEAD_CYCLE1_BBI(1U)
62271 #define S_DEAD_CYCLE0_MAX_OP 13
62272 #define V_DEAD_CYCLE0_MAX_OP(x) ((x) << S_DEAD_CYCLE0_MAX_OP)
62273 #define F_DEAD_CYCLE0_MAX_OP V_DEAD_CYCLE0_MAX_OP(1U)
62275 #define S_DEAD_CYCLE1_MAX_OP 12
62276 #define V_DEAD_CYCLE1_MAX_OP(x) ((x) << S_DEAD_CYCLE1_MAX_OP)
62277 #define F_DEAD_CYCLE1_MAX_OP V_DEAD_CYCLE1_MAX_OP(1U)
62279 #define S_DEAD_CYCLE0_PRE_REF 11
62280 #define V_DEAD_CYCLE0_PRE_REF(x) ((x) << S_DEAD_CYCLE0_PRE_REF)
62281 #define F_DEAD_CYCLE0_PRE_REF V_DEAD_CYCLE0_PRE_REF(1U)
62283 #define S_DEAD_CYCLE1_PRE_REF 10
62284 #define V_DEAD_CYCLE1_PRE_REF(x) ((x) << S_DEAD_CYCLE1_PRE_REF)
62285 #define F_DEAD_CYCLE1_PRE_REF V_DEAD_CYCLE1_PRE_REF(1U)
62287 #define S_DEAD_CYCLE0_POST_REF 9
62288 #define V_DEAD_CYCLE0_POST_REF(x) ((x) << S_DEAD_CYCLE0_POST_REF)
62289 #define F_DEAD_CYCLE0_POST_REF V_DEAD_CYCLE0_POST_REF(1U)
62291 #define S_DEAD_CYCLE1_POST_REF 8
62292 #define V_DEAD_CYCLE1_POST_REF(x) ((x) << S_DEAD_CYCLE1_POST_REF)
62293 #define F_DEAD_CYCLE1_POST_REF V_DEAD_CYCLE1_POST_REF(1U)
62295 #define S_DEAD_CYCLE0_RMW 7
62296 #define V_DEAD_CYCLE0_RMW(x) ((x) << S_DEAD_CYCLE0_RMW)
62297 #define F_DEAD_CYCLE0_RMW V_DEAD_CYCLE0_RMW(1U)
62299 #define S_DEAD_CYCLE1_RMW 6
62300 #define V_DEAD_CYCLE1_RMW(x) ((x) << S_DEAD_CYCLE1_RMW)
62301 #define F_DEAD_CYCLE1_RMW V_DEAD_CYCLE1_RMW(1U)
62303 #define S_DEAD_CYCLE0_BBI_RMW 5
62304 #define V_DEAD_CYCLE0_BBI_RMW(x) ((x) << S_DEAD_CYCLE0_BBI_RMW)
62305 #define F_DEAD_CYCLE0_BBI_RMW V_DEAD_CYCLE0_BBI_RMW(1U)
62307 #define S_DEAD_CYCLE1_BBI_RMW 4
62308 #define V_DEAD_CYCLE1_BBI_RMW(x) ((x) << S_DEAD_CYCLE1_BBI_RMW)
62309 #define F_DEAD_CYCLE1_BBI_RMW V_DEAD_CYCLE1_BBI_RMW(1U)
62311 #define S_DEAD_CYCLE0_PRE_REF_RMW 3
62312 #define V_DEAD_CYCLE0_PRE_REF_RMW(x) ((x) << S_DEAD_CYCLE0_PRE_REF_RMW)
62313 #define F_DEAD_CYCLE0_PRE_REF_RMW V_DEAD_CYCLE0_PRE_REF_RMW(1U)
62315 #define S_DEAD_CYCLE1_PRE_REF_RMW 2
62316 #define V_DEAD_CYCLE1_PRE_REF_RMW(x) ((x) << S_DEAD_CYCLE1_PRE_REF_RMW)
62317 #define F_DEAD_CYCLE1_PRE_REF_RMW V_DEAD_CYCLE1_PRE_REF_RMW(1U)
62319 #define S_DEAD_CYCLE0_POST_REF_RMW 1
62320 #define V_DEAD_CYCLE0_POST_REF_RMW(x) ((x) << S_DEAD_CYCLE0_POST_REF_RMW)
62321 #define F_DEAD_CYCLE0_POST_REF_RMW V_DEAD_CYCLE0_POST_REF_RMW(1U)
62323 #define S_DEAD_CYCLE1_POST_REF_RMW 0
62324 #define V_DEAD_CYCLE1_POST_REF_RMW(x) ((x) << S_DEAD_CYCLE1_POST_REF_RMW)
62325 #define F_DEAD_CYCLE1_POST_REF_RMW V_DEAD_CYCLE1_POST_REF_RMW(1U)
62327 #define A_EDC_H_DBG_CMD_QUEUE 0x50380
62329 #define S_ECMDNRE 31
62330 #define V_ECMDNRE(x) ((x) << S_ECMDNRE)
62331 #define F_ECMDNRE V_ECMDNRE(1U)
62333 #define S_ECMDNRB 30
62334 #define V_ECMDNRB(x) ((x) << S_ECMDNRB)
62335 #define F_ECMDNRB V_ECMDNRB(1U)
62337 #define S_ECMDWR 29
62338 #define V_ECMDWR(x) ((x) << S_ECMDWR)
62339 #define F_ECMDWR V_ECMDWR(1U)
62341 #define S_ECMDLEN 22
62342 #define M_ECMDLEN 0x7fU
62343 #define V_ECMDLEN(x) ((x) << S_ECMDLEN)
62344 #define G_ECMDLEN(x) (((x) >> S_ECMDLEN) & M_ECMDLEN)
62346 #define S_ECMDADDR 0
62347 #define M_ECMDADDR 0x3fffffU
62348 #define V_ECMDADDR(x) ((x) << S_ECMDADDR)
62349 #define G_ECMDADDR(x) (((x) >> S_ECMDADDR) & M_ECMDADDR)
62351 #define A_EDC_H_DBG_REFRESH 0x50384
62353 #define S_REFDONE 12
62354 #define V_REFDONE(x) ((x) << S_REFDONE)
62355 #define F_REFDONE V_REFDONE(1U)
62357 #define S_REFCNTEXPR 11
62358 #define V_REFCNTEXPR(x) ((x) << S_REFCNTEXPR)
62359 #define F_REFCNTEXPR V_REFCNTEXPR(1U)
62362 #define M_REFPTR 0x7U
62363 #define V_REFPTR(x) ((x) << S_REFPTR)
62364 #define G_REFPTR(x) (((x) >> S_REFPTR) & M_REFPTR)
62367 #define M_REFCNT 0xffU
62368 #define V_REFCNT(x) ((x) << S_REFCNT)
62369 #define G_REFCNT(x) (((x) >> S_REFCNT) & M_REFCNT)
62371 /* registers for module EDC_T61 */
62372 #define EDC_T61_BASE_ADDR 0x50800
62374 /* registers for module HMA_T6 */
62375 #define HMA_T6_BASE_ADDR 0x51000
62379 #define V_TPH(x) ((x) << S_TPH)
62380 #define G_TPH(x) (((x) >> S_TPH) & M_TPH)
62383 #define V_TPH_V(x) ((x) << S_TPH_V)
62384 #define F_TPH_V V_TPH_V(1U)
62387 #define M_DCA 0x7ffU
62388 #define V_DCA(x) ((x) << S_DCA)
62389 #define G_DCA(x) (((x) >> S_DCA) & M_DCA)
62391 #define A_HMA_CFG 0x51020
62393 #define S_OP_MODE 31
62394 #define V_OP_MODE(x) ((x) << S_OP_MODE)
62395 #define F_OP_MODE V_OP_MODE(1U)
62397 #define A_HMA_TLB_ACCESS 0x51028
62399 #define S_INV_ALL 29
62400 #define V_INV_ALL(x) ((x) << S_INV_ALL)
62401 #define F_INV_ALL V_INV_ALL(1U)
62403 #define S_LOCK_ENTRY 28
62404 #define V_LOCK_ENTRY(x) ((x) << S_LOCK_ENTRY)
62405 #define F_LOCK_ENTRY V_LOCK_ENTRY(1U)
62408 #define M_E_SEL 0x1fU
62409 #define V_E_SEL(x) ((x) << S_E_SEL)
62410 #define G_E_SEL(x) (((x) >> S_E_SEL) & M_E_SEL)
62412 #define A_HMA_TLB_BITS 0x5102c
62415 #define M_VA 0xfffffU
62416 #define V_VA(x) ((x) << S_VA)
62417 #define G_VA(x) (((x) >> S_VA) & M_VA)
62419 #define S_VALID_E 4
62420 #define V_VALID_E(x) ((x) << S_VALID_E)
62421 #define F_VALID_E V_VALID_E(1U)
62423 #define S_LOCK_HMA 3
62424 #define V_LOCK_HMA(x) ((x) << S_LOCK_HMA)
62425 #define F_LOCK_HMA V_LOCK_HMA(1U)
62427 #define S_T6_USED 2
62428 #define V_T6_USED(x) ((x) << S_T6_USED)
62429 #define F_T6_USED V_T6_USED(1U)
62432 #define M_REGION 0x3U
62433 #define V_REGION(x) ((x) << S_REGION)
62434 #define G_REGION(x) (((x) >> S_REGION) & M_REGION)
62436 #define A_HMA_TLB_DESC_0_H 0x51030
62437 #define A_HMA_TLB_DESC_0_L 0x51034
62438 #define A_HMA_TLB_DESC_1_H 0x51038
62439 #define A_HMA_TLB_DESC_1_L 0x5103c
62440 #define A_HMA_TLB_DESC_2_H 0x51040
62441 #define A_HMA_TLB_DESC_2_L 0x51044
62442 #define A_HMA_TLB_DESC_3_H 0x51048
62443 #define A_HMA_TLB_DESC_3_L 0x5104c
62444 #define A_HMA_TLB_DESC_4_H 0x51050
62445 #define A_HMA_TLB_DESC_4_L 0x51054
62446 #define A_HMA_TLB_DESC_5_H 0x51058
62447 #define A_HMA_TLB_DESC_5_L 0x5105c
62448 #define A_HMA_TLB_DESC_6_H 0x51060
62449 #define A_HMA_TLB_DESC_6_L 0x51064
62450 #define A_HMA_TLB_DESC_7_H 0x51068
62451 #define A_HMA_TLB_DESC_7_L 0x5106c
62452 #define A_HMA_REG0_MIN 0x51070
62454 #define S_ADDR0_MIN 12
62455 #define M_ADDR0_MIN 0xfffffU
62456 #define V_ADDR0_MIN(x) ((x) << S_ADDR0_MIN)
62457 #define G_ADDR0_MIN(x) (((x) >> S_ADDR0_MIN) & M_ADDR0_MIN)
62459 #define A_HMA_REG0_MAX 0x51074
62461 #define S_ADDR0_MAX 12
62462 #define M_ADDR0_MAX 0xfffffU
62463 #define V_ADDR0_MAX(x) ((x) << S_ADDR0_MAX)
62464 #define G_ADDR0_MAX(x) (((x) >> S_ADDR0_MAX) & M_ADDR0_MAX)
62466 #define A_HMA_REG0_MASK 0x51078
62468 #define S_PAGE_SIZE0 12
62469 #define M_PAGE_SIZE0 0xfffffU
62470 #define V_PAGE_SIZE0(x) ((x) << S_PAGE_SIZE0)
62471 #define G_PAGE_SIZE0(x) (((x) >> S_PAGE_SIZE0) & M_PAGE_SIZE0)
62473 #define A_HMA_REG0_BASE 0x5107c
62474 #define A_HMA_REG1_MIN 0x51080
62476 #define S_ADDR1_MIN 12
62477 #define M_ADDR1_MIN 0xfffffU
62478 #define V_ADDR1_MIN(x) ((x) << S_ADDR1_MIN)
62479 #define G_ADDR1_MIN(x) (((x) >> S_ADDR1_MIN) & M_ADDR1_MIN)
62481 #define A_HMA_REG1_MAX 0x51084
62483 #define S_ADDR1_MAX 12
62484 #define M_ADDR1_MAX 0xfffffU
62485 #define V_ADDR1_MAX(x) ((x) << S_ADDR1_MAX)
62486 #define G_ADDR1_MAX(x) (((x) >> S_ADDR1_MAX) & M_ADDR1_MAX)
62488 #define A_HMA_REG1_MASK 0x51088
62490 #define S_PAGE_SIZE1 12
62491 #define M_PAGE_SIZE1 0xfffffU
62492 #define V_PAGE_SIZE1(x) ((x) << S_PAGE_SIZE1)
62493 #define G_PAGE_SIZE1(x) (((x) >> S_PAGE_SIZE1) & M_PAGE_SIZE1)
62495 #define A_HMA_REG1_BASE 0x5108c
62496 #define A_HMA_REG2_MIN 0x51090
62498 #define S_ADDR2_MIN 12
62499 #define M_ADDR2_MIN 0xfffffU
62500 #define V_ADDR2_MIN(x) ((x) << S_ADDR2_MIN)
62501 #define G_ADDR2_MIN(x) (((x) >> S_ADDR2_MIN) & M_ADDR2_MIN)
62503 #define A_HMA_REG2_MAX 0x51094
62505 #define S_ADDR2_MAX 12
62506 #define M_ADDR2_MAX 0xfffffU
62507 #define V_ADDR2_MAX(x) ((x) << S_ADDR2_MAX)
62508 #define G_ADDR2_MAX(x) (((x) >> S_ADDR2_MAX) & M_ADDR2_MAX)
62510 #define A_HMA_REG2_MASK 0x51098
62512 #define S_PAGE_SIZE2 12
62513 #define M_PAGE_SIZE2 0xfffffU
62514 #define V_PAGE_SIZE2(x) ((x) << S_PAGE_SIZE2)
62515 #define G_PAGE_SIZE2(x) (((x) >> S_PAGE_SIZE2) & M_PAGE_SIZE2)
62517 #define A_HMA_REG2_BASE 0x5109c
62518 #define A_HMA_REG3_MIN 0x510a0
62520 #define S_ADDR3_MIN 12
62521 #define M_ADDR3_MIN 0xfffffU
62522 #define V_ADDR3_MIN(x) ((x) << S_ADDR3_MIN)
62523 #define G_ADDR3_MIN(x) (((x) >> S_ADDR3_MIN) & M_ADDR3_MIN)
62525 #define A_HMA_REG3_MAX 0x510a4
62527 #define S_ADDR3_MAX 12
62528 #define M_ADDR3_MAX 0xfffffU
62529 #define V_ADDR3_MAX(x) ((x) << S_ADDR3_MAX)
62530 #define G_ADDR3_MAX(x) (((x) >> S_ADDR3_MAX) & M_ADDR3_MAX)
62532 #define A_HMA_REG3_MASK 0x510a8
62534 #define S_PAGE_SIZE3 12
62535 #define M_PAGE_SIZE3 0xfffffU
62536 #define V_PAGE_SIZE3(x) ((x) << S_PAGE_SIZE3)
62537 #define G_PAGE_SIZE3(x) (((x) >> S_PAGE_SIZE3) & M_PAGE_SIZE3)
62539 #define A_HMA_REG3_BASE 0x510ac
62540 #define A_HMA_SW_SYNC 0x510b0
62542 #define S_ENTER_SYNC 31
62543 #define V_ENTER_SYNC(x) ((x) << S_ENTER_SYNC)
62544 #define F_ENTER_SYNC V_ENTER_SYNC(1U)
62546 #define S_EXIT_SYNC 30
62547 #define V_EXIT_SYNC(x) ((x) << S_EXIT_SYNC)
62548 #define F_EXIT_SYNC V_EXIT_SYNC(1U)
62550 #define S_IDTF_INT_ENABLE 5
62551 #define V_IDTF_INT_ENABLE(x) ((x) << S_IDTF_INT_ENABLE)
62552 #define F_IDTF_INT_ENABLE V_IDTF_INT_ENABLE(1U)
62554 #define S_OTF_INT_ENABLE 4
62555 #define V_OTF_INT_ENABLE(x) ((x) << S_OTF_INT_ENABLE)
62556 #define F_OTF_INT_ENABLE V_OTF_INT_ENABLE(1U)
62558 #define S_RTF_INT_ENABLE 3
62559 #define V_RTF_INT_ENABLE(x) ((x) << S_RTF_INT_ENABLE)
62560 #define F_RTF_INT_ENABLE V_RTF_INT_ENABLE(1U)
62562 #define S_PCIEMST_INT_ENABLE 2
62563 #define V_PCIEMST_INT_ENABLE(x) ((x) << S_PCIEMST_INT_ENABLE)
62564 #define F_PCIEMST_INT_ENABLE V_PCIEMST_INT_ENABLE(1U)
62566 #define S_MAMST_INT_ENABLE 1
62567 #define V_MAMST_INT_ENABLE(x) ((x) << S_MAMST_INT_ENABLE)
62568 #define F_MAMST_INT_ENABLE V_MAMST_INT_ENABLE(1U)
62570 #define S_IDTF_INT_CAUSE 5
62571 #define V_IDTF_INT_CAUSE(x) ((x) << S_IDTF_INT_CAUSE)
62572 #define F_IDTF_INT_CAUSE V_IDTF_INT_CAUSE(1U)
62574 #define S_OTF_INT_CAUSE 4
62575 #define V_OTF_INT_CAUSE(x) ((x) << S_OTF_INT_CAUSE)
62576 #define F_OTF_INT_CAUSE V_OTF_INT_CAUSE(1U)
62578 #define S_RTF_INT_CAUSE 3
62579 #define V_RTF_INT_CAUSE(x) ((x) << S_RTF_INT_CAUSE)
62580 #define F_RTF_INT_CAUSE V_RTF_INT_CAUSE(1U)
62582 #define S_PCIEMST_INT_CAUSE 2
62583 #define V_PCIEMST_INT_CAUSE(x) ((x) << S_PCIEMST_INT_CAUSE)
62584 #define F_PCIEMST_INT_CAUSE V_PCIEMST_INT_CAUSE(1U)
62586 #define S_MAMST_INT_CAUSE 1
62587 #define V_MAMST_INT_CAUSE(x) ((x) << S_MAMST_INT_CAUSE)
62588 #define F_MAMST_INT_CAUSE V_MAMST_INT_CAUSE(1U)
62590 #define A_HMA_MA_MST_ERR 0x5130c
62591 #define A_HMA_RTF_ERR 0x51310
62592 #define A_HMA_OTF_ERR 0x51314
62593 #define A_HMA_IDTF_ERR 0x51318
62594 #define A_HMA_EXIT_TF 0x5131c
62597 #define V_RTF(x) ((x) << S_RTF)
62598 #define F_RTF V_RTF(1U)
62601 #define V_OTF(x) ((x) << S_OTF)
62602 #define F_OTF V_OTF(1U)
62605 #define V_IDTF(x) ((x) << S_IDTF)
62606 #define F_IDTF V_IDTF(1U)
62608 #define A_HMA_LOCAL_DEBUG_CFG 0x51320
62609 #define A_HMA_LOCAL_DEBUG_RPT 0x51324
62610 #define A_HMA_DEBUG_FSM_0 0xa000
62612 #define S_EDC_FSM 18
62613 #define M_EDC_FSM 0x1fU
62614 #define V_EDC_FSM(x) ((x) << S_EDC_FSM)
62615 #define G_EDC_FSM(x) (((x) >> S_EDC_FSM) & M_EDC_FSM)
62617 #define S_RAS_FSM_SLV 15
62618 #define M_RAS_FSM_SLV 0x7U
62619 #define V_RAS_FSM_SLV(x) ((x) << S_RAS_FSM_SLV)
62620 #define G_RAS_FSM_SLV(x) (((x) >> S_RAS_FSM_SLV) & M_RAS_FSM_SLV)
62622 #define S_FC_FSM 10
62623 #define M_FC_FSM 0x1fU
62624 #define V_FC_FSM(x) ((x) << S_FC_FSM)
62625 #define G_FC_FSM(x) (((x) >> S_FC_FSM) & M_FC_FSM)
62627 #define S_COOKIE_ARB_FSM 8
62628 #define M_COOKIE_ARB_FSM 0x3U
62629 #define V_COOKIE_ARB_FSM(x) ((x) << S_COOKIE_ARB_FSM)
62630 #define G_COOKIE_ARB_FSM(x) (((x) >> S_COOKIE_ARB_FSM) & M_COOKIE_ARB_FSM)
62632 #define S_PCIE_CHUNK_FSM 6
62633 #define M_PCIE_CHUNK_FSM 0x3U
62634 #define V_PCIE_CHUNK_FSM(x) ((x) << S_PCIE_CHUNK_FSM)
62635 #define G_PCIE_CHUNK_FSM(x) (((x) >> S_PCIE_CHUNK_FSM) & M_PCIE_CHUNK_FSM)
62637 #define S_WTRANSFER_FSM 4
62638 #define M_WTRANSFER_FSM 0x3U
62639 #define V_WTRANSFER_FSM(x) ((x) << S_WTRANSFER_FSM)
62640 #define G_WTRANSFER_FSM(x) (((x) >> S_WTRANSFER_FSM) & M_WTRANSFER_FSM)
62643 #define M_WD_FSM 0x3U
62644 #define V_WD_FSM(x) ((x) << S_WD_FSM)
62645 #define G_WD_FSM(x) (((x) >> S_WD_FSM) & M_WD_FSM)
62648 #define M_RD_FSM 0x3U
62649 #define V_RD_FSM(x) ((x) << S_RD_FSM)
62650 #define G_RD_FSM(x) (((x) >> S_RD_FSM) & M_RD_FSM)
62652 #define A_HMA_DEBUG_FSM_1 0xa001
62654 #define S_SYNC_FSM 11
62655 #define M_SYNC_FSM 0x3ffU
62656 #define V_SYNC_FSM(x) ((x) << S_SYNC_FSM)
62657 #define G_SYNC_FSM(x) (((x) >> S_SYNC_FSM) & M_SYNC_FSM)
62659 #define S_OCHK_FSM 9
62660 #define M_OCHK_FSM 0x3U
62661 #define V_OCHK_FSM(x) ((x) << S_OCHK_FSM)
62662 #define G_OCHK_FSM(x) (((x) >> S_OCHK_FSM) & M_OCHK_FSM)
62664 #define S_TLB_FSM 5
62665 #define M_TLB_FSM 0xfU
62666 #define V_TLB_FSM(x) ((x) << S_TLB_FSM)
62667 #define G_TLB_FSM(x) (((x) >> S_TLB_FSM) & M_TLB_FSM)
62669 #define S_PIO_FSM 0
62670 #define M_PIO_FSM 0x1fU
62671 #define V_PIO_FSM(x) ((x) << S_PIO_FSM)
62672 #define G_PIO_FSM(x) (((x) >> S_PIO_FSM) & M_PIO_FSM)
62674 #define A_HMA_DEBUG_PCIE_INTF 0xa002
62676 #define S_T6_H_REQVLD 28
62677 #define V_T6_H_REQVLD(x) ((x) << S_T6_H_REQVLD)
62678 #define F_T6_H_REQVLD V_T6_H_REQVLD(1U)
62680 #define S_H_REQFULL 27
62681 #define V_H_REQFULL(x) ((x) << S_H_REQFULL)
62682 #define F_H_REQFULL V_H_REQFULL(1U)
62684 #define S_H_REQSOP 26
62685 #define V_H_REQSOP(x) ((x) << S_H_REQSOP)
62686 #define F_H_REQSOP V_H_REQSOP(1U)
62688 #define S_H_REQEOP 25
62689 #define V_H_REQEOP(x) ((x) << S_H_REQEOP)
62690 #define F_H_REQEOP V_H_REQEOP(1U)
62692 #define S_T6_H_RSPVLD 24
62693 #define V_T6_H_RSPVLD(x) ((x) << S_T6_H_RSPVLD)
62694 #define F_T6_H_RSPVLD V_T6_H_RSPVLD(1U)
62696 #define S_H_RSPFULL 23
62697 #define V_H_RSPFULL(x) ((x) << S_H_RSPFULL)
62698 #define F_H_RSPFULL V_H_RSPFULL(1U)
62700 #define S_H_RSPSOP 22
62701 #define V_H_RSPSOP(x) ((x) << S_H_RSPSOP)
62702 #define F_H_RSPSOP V_H_RSPSOP(1U)
62704 #define S_H_RSPEOP 21
62705 #define V_H_RSPEOP(x) ((x) << S_H_RSPEOP)
62706 #define F_H_RSPEOP V_H_RSPEOP(1U)
62708 #define S_H_RSPERR 20
62709 #define V_H_RSPERR(x) ((x) << S_H_RSPERR)
62710 #define F_H_RSPERR V_H_RSPERR(1U)
62712 #define S_PCIE_CMD_AVAIL 19
62713 #define V_PCIE_CMD_AVAIL(x) ((x) << S_PCIE_CMD_AVAIL)
62714 #define F_PCIE_CMD_AVAIL V_PCIE_CMD_AVAIL(1U)
62716 #define S_PCIE_CMD_RDY 18
62717 #define V_PCIE_CMD_RDY(x) ((x) << S_PCIE_CMD_RDY)
62718 #define F_PCIE_CMD_RDY V_PCIE_CMD_RDY(1U)
62720 #define S_PCIE_WNR 17
62721 #define V_PCIE_WNR(x) ((x) << S_PCIE_WNR)
62722 #define F_PCIE_WNR V_PCIE_WNR(1U)
62724 #define S_PCIE_LEN 9
62725 #define M_PCIE_LEN 0xffU
62726 #define V_PCIE_LEN(x) ((x) << S_PCIE_LEN)
62727 #define G_PCIE_LEN(x) (((x) >> S_PCIE_LEN) & M_PCIE_LEN)
62729 #define S_PCIE_TRWDAT_RDY 8
62730 #define V_PCIE_TRWDAT_RDY(x) ((x) << S_PCIE_TRWDAT_RDY)
62731 #define F_PCIE_TRWDAT_RDY V_PCIE_TRWDAT_RDY(1U)
62733 #define S_PCIE_TRWDAT_AVAIL 7
62734 #define V_PCIE_TRWDAT_AVAIL(x) ((x) << S_PCIE_TRWDAT_AVAIL)
62735 #define F_PCIE_TRWDAT_AVAIL V_PCIE_TRWDAT_AVAIL(1U)
62737 #define S_PCIE_TRWSOP 6
62738 #define V_PCIE_TRWSOP(x) ((x) << S_PCIE_TRWSOP)
62739 #define F_PCIE_TRWSOP V_PCIE_TRWSOP(1U)
62741 #define S_PCIE_TRWEOP 5
62742 #define V_PCIE_TRWEOP(x) ((x) << S_PCIE_TRWEOP)
62743 #define F_PCIE_TRWEOP V_PCIE_TRWEOP(1U)
62745 #define S_PCIE_TRRDAT_RDY 4
62746 #define V_PCIE_TRRDAT_RDY(x) ((x) << S_PCIE_TRRDAT_RDY)
62747 #define F_PCIE_TRRDAT_RDY V_PCIE_TRRDAT_RDY(1U)
62749 #define S_PCIE_TRRDAT_AVAIL 3
62750 #define V_PCIE_TRRDAT_AVAIL(x) ((x) << S_PCIE_TRRDAT_AVAIL)
62751 #define F_PCIE_TRRDAT_AVAIL V_PCIE_TRRDAT_AVAIL(1U)
62753 #define S_PCIE_TRRSOP 2
62754 #define V_PCIE_TRRSOP(x) ((x) << S_PCIE_TRRSOP)
62755 #define F_PCIE_TRRSOP V_PCIE_TRRSOP(1U)
62757 #define S_PCIE_TRREOP 1
62758 #define V_PCIE_TRREOP(x) ((x) << S_PCIE_TRREOP)
62759 #define F_PCIE_TRREOP V_PCIE_TRREOP(1U)
62761 #define S_PCIE_TRRERR 0
62762 #define V_PCIE_TRRERR(x) ((x) << S_PCIE_TRRERR)
62763 #define F_PCIE_TRRERR V_PCIE_TRRERR(1U)
62765 #define A_HMA_DEBUG_PCIE_ADDR_INTERNAL_LO 0xa003
62766 #define A_HMA_DEBUG_PCIE_ADDR_INTERNAL_HI 0xa004
62767 #define A_HMA_DEBUG_PCIE_REQ_DATA_EXTERNAL 0xa005
62769 #define S_REQDATA2 24
62770 #define M_REQDATA2 0xffU
62771 #define V_REQDATA2(x) ((x) << S_REQDATA2)
62772 #define G_REQDATA2(x) (((x) >> S_REQDATA2) & M_REQDATA2)
62774 #define S_REQDATA1 21
62775 #define M_REQDATA1 0x7U
62776 #define V_REQDATA1(x) ((x) << S_REQDATA1)
62777 #define G_REQDATA1(x) (((x) >> S_REQDATA1) & M_REQDATA1)
62779 #define S_REQDATA0 0
62780 #define M_REQDATA0 0x1fffffU
62781 #define V_REQDATA0(x) ((x) << S_REQDATA0)
62782 #define G_REQDATA0(x) (((x) >> S_REQDATA0) & M_REQDATA0)
62784 #define A_HMA_DEBUG_PCIE_RSP_DATA_EXTERNAL 0xa006
62786 #define S_RSPDATA3 24
62787 #define M_RSPDATA3 0xffU
62788 #define V_RSPDATA3(x) ((x) << S_RSPDATA3)
62789 #define G_RSPDATA3(x) (((x) >> S_RSPDATA3) & M_RSPDATA3)
62791 #define S_RSPDATA2 16
62792 #define M_RSPDATA2 0xffU
62793 #define V_RSPDATA2(x) ((x) << S_RSPDATA2)
62794 #define G_RSPDATA2(x) (((x) >> S_RSPDATA2) & M_RSPDATA2)
62796 #define S_RSPDATA1 8
62797 #define M_RSPDATA1 0xffU
62798 #define V_RSPDATA1(x) ((x) << S_RSPDATA1)
62799 #define G_RSPDATA1(x) (((x) >> S_RSPDATA1) & M_RSPDATA1)
62801 #define S_RSPDATA0 0
62802 #define M_RSPDATA0 0xffU
62803 #define V_RSPDATA0(x) ((x) << S_RSPDATA0)
62804 #define G_RSPDATA0(x) (((x) >> S_RSPDATA0) & M_RSPDATA0)
62806 #define A_HMA_DEBUG_MA_SLV_CTL 0xa007
62808 #define S_MA_CMD_AVAIL 19
62809 #define V_MA_CMD_AVAIL(x) ((x) << S_MA_CMD_AVAIL)
62810 #define F_MA_CMD_AVAIL V_MA_CMD_AVAIL(1U)
62812 #define S_MA_CLNT 15
62813 #define M_MA_CLNT 0xfU
62814 #define V_MA_CLNT(x) ((x) << S_MA_CLNT)
62815 #define G_MA_CLNT(x) (((x) >> S_MA_CLNT) & M_MA_CLNT)
62817 #define S_MA_WNR 14
62818 #define V_MA_WNR(x) ((x) << S_MA_WNR)
62819 #define F_MA_WNR V_MA_WNR(1U)
62822 #define M_MA_LEN 0xffU
62823 #define V_MA_LEN(x) ((x) << S_MA_LEN)
62824 #define G_MA_LEN(x) (((x) >> S_MA_LEN) & M_MA_LEN)
62826 #define S_MA_MST_RD 5
62827 #define V_MA_MST_RD(x) ((x) << S_MA_MST_RD)
62828 #define F_MA_MST_RD V_MA_MST_RD(1U)
62830 #define S_MA_MST_VLD 4
62831 #define V_MA_MST_VLD(x) ((x) << S_MA_MST_VLD)
62832 #define F_MA_MST_VLD V_MA_MST_VLD(1U)
62834 #define S_MA_MST_ERR 3
62835 #define V_MA_MST_ERR(x) ((x) << S_MA_MST_ERR)
62836 #define F_MA_MST_ERR V_MA_MST_ERR(1U)
62838 #define S_MAS_TLB_REQ 2
62839 #define V_MAS_TLB_REQ(x) ((x) << S_MAS_TLB_REQ)
62840 #define F_MAS_TLB_REQ V_MAS_TLB_REQ(1U)
62842 #define S_MAS_TLB_ACK 1
62843 #define V_MAS_TLB_ACK(x) ((x) << S_MAS_TLB_ACK)
62844 #define F_MAS_TLB_ACK V_MAS_TLB_ACK(1U)
62846 #define S_MAS_TLB_ERR 0
62847 #define V_MAS_TLB_ERR(x) ((x) << S_MAS_TLB_ERR)
62848 #define F_MAS_TLB_ERR V_MAS_TLB_ERR(1U)
62850 #define A_HMA_DEBUG_MA_SLV_ADDR_INTERNAL 0xa008
62851 #define A_HMA_DEBUG_TLB_HIT_ENTRY 0xa009
62852 #define A_HMA_DEBUG_TLB_HIT_CNT 0xa00a
62853 #define A_HMA_DEBUG_TLB_MISS_CNT 0xa00b
62854 #define A_HMA_DEBUG_PAGE_TBL_LKP_CTL 0xa00c
62856 #define S_LKP_REQ_VLD 4
62857 #define V_LKP_REQ_VLD(x) ((x) << S_LKP_REQ_VLD)
62858 #define F_LKP_REQ_VLD V_LKP_REQ_VLD(1U)
62860 #define S_LKP_DESC_SEL 1
62861 #define M_LKP_DESC_SEL 0x7U
62862 #define V_LKP_DESC_SEL(x) ((x) << S_LKP_DESC_SEL)
62863 #define G_LKP_DESC_SEL(x) (((x) >> S_LKP_DESC_SEL) & M_LKP_DESC_SEL)
62865 #define S_LKP_RSP_VLD 0
62866 #define V_LKP_RSP_VLD(x) ((x) << S_LKP_RSP_VLD)
62867 #define F_LKP_RSP_VLD V_LKP_RSP_VLD(1U)
62869 #define A_HMA_DEBUG_PAGE_TBL_LKP_REQ_ADDR 0xa00d
62870 #define A_HMA_DEBUG_PAGE_TBL_LKP_RSP_0 0xa00e
62871 #define A_HMA_DEBUG_PAGE_TBL_LKP_RSP_1 0xa00f
62872 #define A_HMA_DEBUG_PAGE_TBL_LKP_RSP_2 0xa010
62873 #define A_HMA_DEBUG_PAGE_TBL_LKP_RSP_3 0xa011
62874 #define A_HMA_DEBUG_PAGE_TBL_LKP_RSP_4 0xa012
62875 #define A_HMA_DEBUG_PAGE_TBL_LKP_RSP_5 0xa013
62876 #define A_HMA_DEBUG_PAGE_TBL_LKP_RSP_6 0xa014
62877 #define A_HMA_DEBUG_PAGE_TBL_LKP_RSP_7 0xa015
62878 #define A_HMA_DEBUG_PHYS_DESC_INTERNAL_LO 0xa016
62879 #define A_HMA_DEBUG_PCIE_RD_REQ_CNT_LO 0xa017
62880 #define A_HMA_DEBUG_PCIE_RD_REQ_CNT_HI 0xa018
62881 #define A_HMA_DEBUG_PCIE_WR_REQ_CNT_LO 0xa019
62882 #define A_HMA_DEBUG_PCIE_WR_REQ_CNT_HI 0xa01a
62883 #define A_HMA_DEBUG_PCIE_RD_DATA_CYC_CNT_LO 0xa01b
62884 #define A_HMA_DEBUG_PCIE_RD_DATA_CYC_CNT_HI 0xa01c
62885 #define A_HMA_DEBUG_PCIE_WR_DATA_CYC_CNT_LO 0xa01d
62886 #define A_HMA_DEBUG_PCIE_WR_DATA_CYC_CNT_HI 0xa01e
62887 #define A_HMA_DEBUG_PCIE_SOP_EOP_CNT 0xa01f
62889 #define S_WR_EOP_CNT 16
62890 #define M_WR_EOP_CNT 0xffU
62891 #define V_WR_EOP_CNT(x) ((x) << S_WR_EOP_CNT)
62892 #define G_WR_EOP_CNT(x) (((x) >> S_WR_EOP_CNT) & M_WR_EOP_CNT)
62894 #define S_RD_SOP_CNT 8
62895 #define M_RD_SOP_CNT 0xffU
62896 #define V_RD_SOP_CNT(x) ((x) << S_RD_SOP_CNT)
62897 #define G_RD_SOP_CNT(x) (((x) >> S_RD_SOP_CNT) & M_RD_SOP_CNT)
62899 #define S_RD_EOP_CNT 0
62900 #define M_RD_EOP_CNT 0xffU
62901 #define V_RD_EOP_CNT(x) ((x) << S_RD_EOP_CNT)
62902 #define G_RD_EOP_CNT(x) (((x) >> S_RD_EOP_CNT) & M_RD_EOP_CNT)