Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cvmx-npei-defs.h
Go to the documentation of this file.
1 /***********************license start***************
2  * Author: Cavium Networks
3  *
4  * Contact: [email protected]
5  * This file is part of the OCTEON SDK
6  *
7  * Copyright (c) 2003-2012 Cavium Networks
8  *
9  * This file is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License, Version 2, as
11  * published by the Free Software Foundation.
12  *
13  * This file is distributed in the hope that it will be useful, but
14  * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
15  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or
16  * NONINFRINGEMENT. See the GNU General Public License for more
17  * details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this file; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22  * or visit http://www.gnu.org/licenses/.
23  *
24  * This file may also be available under a different license from Cavium.
25  * Contact Cavium Networks for more information
26  ***********************license end**************************************/
27 
28 #ifndef __CVMX_NPEI_DEFS_H__
29 #define __CVMX_NPEI_DEFS_H__
30 
31 #define CVMX_NPEI_BAR1_INDEXX(offset) (0x0000000000000000ull + ((offset) & 31) * 16)
32 #define CVMX_NPEI_BIST_STATUS (0x0000000000000580ull)
33 #define CVMX_NPEI_BIST_STATUS2 (0x0000000000000680ull)
34 #define CVMX_NPEI_CTL_PORT0 (0x0000000000000250ull)
35 #define CVMX_NPEI_CTL_PORT1 (0x0000000000000260ull)
36 #define CVMX_NPEI_CTL_STATUS (0x0000000000000570ull)
37 #define CVMX_NPEI_CTL_STATUS2 (0x0000000000003C00ull)
38 #define CVMX_NPEI_DATA_OUT_CNT (0x00000000000005F0ull)
39 #define CVMX_NPEI_DBG_DATA (0x0000000000000510ull)
40 #define CVMX_NPEI_DBG_SELECT (0x0000000000000500ull)
41 #define CVMX_NPEI_DMA0_INT_LEVEL (0x00000000000005C0ull)
42 #define CVMX_NPEI_DMA1_INT_LEVEL (0x00000000000005D0ull)
43 #define CVMX_NPEI_DMAX_COUNTS(offset) (0x0000000000000450ull + ((offset) & 7) * 16)
44 #define CVMX_NPEI_DMAX_DBELL(offset) (0x00000000000003B0ull + ((offset) & 7) * 16)
45 #define CVMX_NPEI_DMAX_IBUFF_SADDR(offset) (0x0000000000000400ull + ((offset) & 7) * 16)
46 #define CVMX_NPEI_DMAX_NADDR(offset) (0x00000000000004A0ull + ((offset) & 7) * 16)
47 #define CVMX_NPEI_DMA_CNTS (0x00000000000005E0ull)
48 #define CVMX_NPEI_DMA_CONTROL (0x00000000000003A0ull)
49 #define CVMX_NPEI_DMA_PCIE_REQ_NUM (0x00000000000005B0ull)
50 #define CVMX_NPEI_DMA_STATE1 (0x00000000000006C0ull)
51 #define CVMX_NPEI_DMA_STATE1_P1 (0x0000000000000680ull)
52 #define CVMX_NPEI_DMA_STATE2 (0x00000000000006D0ull)
53 #define CVMX_NPEI_DMA_STATE2_P1 (0x0000000000000690ull)
54 #define CVMX_NPEI_DMA_STATE3_P1 (0x00000000000006A0ull)
55 #define CVMX_NPEI_DMA_STATE4_P1 (0x00000000000006B0ull)
56 #define CVMX_NPEI_DMA_STATE5_P1 (0x00000000000006C0ull)
57 #define CVMX_NPEI_INT_A_ENB (0x0000000000000560ull)
58 #define CVMX_NPEI_INT_A_ENB2 (0x0000000000003CE0ull)
59 #define CVMX_NPEI_INT_A_SUM (0x0000000000000550ull)
60 #define CVMX_NPEI_INT_ENB (0x0000000000000540ull)
61 #define CVMX_NPEI_INT_ENB2 (0x0000000000003CD0ull)
62 #define CVMX_NPEI_INT_INFO (0x0000000000000590ull)
63 #define CVMX_NPEI_INT_SUM (0x0000000000000530ull)
64 #define CVMX_NPEI_INT_SUM2 (0x0000000000003CC0ull)
65 #define CVMX_NPEI_LAST_WIN_RDATA0 (0x0000000000000600ull)
66 #define CVMX_NPEI_LAST_WIN_RDATA1 (0x0000000000000610ull)
67 #define CVMX_NPEI_MEM_ACCESS_CTL (0x00000000000004F0ull)
68 #define CVMX_NPEI_MEM_ACCESS_SUBIDX(offset) (0x0000000000000280ull + ((offset) & 31) * 16 - 16*12)
69 #define CVMX_NPEI_MSI_ENB0 (0x0000000000003C50ull)
70 #define CVMX_NPEI_MSI_ENB1 (0x0000000000003C60ull)
71 #define CVMX_NPEI_MSI_ENB2 (0x0000000000003C70ull)
72 #define CVMX_NPEI_MSI_ENB3 (0x0000000000003C80ull)
73 #define CVMX_NPEI_MSI_RCV0 (0x0000000000003C10ull)
74 #define CVMX_NPEI_MSI_RCV1 (0x0000000000003C20ull)
75 #define CVMX_NPEI_MSI_RCV2 (0x0000000000003C30ull)
76 #define CVMX_NPEI_MSI_RCV3 (0x0000000000003C40ull)
77 #define CVMX_NPEI_MSI_RD_MAP (0x0000000000003CA0ull)
78 #define CVMX_NPEI_MSI_W1C_ENB0 (0x0000000000003CF0ull)
79 #define CVMX_NPEI_MSI_W1C_ENB1 (0x0000000000003D00ull)
80 #define CVMX_NPEI_MSI_W1C_ENB2 (0x0000000000003D10ull)
81 #define CVMX_NPEI_MSI_W1C_ENB3 (0x0000000000003D20ull)
82 #define CVMX_NPEI_MSI_W1S_ENB0 (0x0000000000003D30ull)
83 #define CVMX_NPEI_MSI_W1S_ENB1 (0x0000000000003D40ull)
84 #define CVMX_NPEI_MSI_W1S_ENB2 (0x0000000000003D50ull)
85 #define CVMX_NPEI_MSI_W1S_ENB3 (0x0000000000003D60ull)
86 #define CVMX_NPEI_MSI_WR_MAP (0x0000000000003C90ull)
87 #define CVMX_NPEI_PCIE_CREDIT_CNT (0x0000000000003D70ull)
88 #define CVMX_NPEI_PCIE_MSI_RCV (0x0000000000003CB0ull)
89 #define CVMX_NPEI_PCIE_MSI_RCV_B1 (0x0000000000000650ull)
90 #define CVMX_NPEI_PCIE_MSI_RCV_B2 (0x0000000000000660ull)
91 #define CVMX_NPEI_PCIE_MSI_RCV_B3 (0x0000000000000670ull)
92 #define CVMX_NPEI_PKTX_CNTS(offset) (0x0000000000002400ull + ((offset) & 31) * 16)
93 #define CVMX_NPEI_PKTX_INSTR_BADDR(offset) (0x0000000000002800ull + ((offset) & 31) * 16)
94 #define CVMX_NPEI_PKTX_INSTR_BAOFF_DBELL(offset) (0x0000000000002C00ull + ((offset) & 31) * 16)
95 #define CVMX_NPEI_PKTX_INSTR_FIFO_RSIZE(offset) (0x0000000000003000ull + ((offset) & 31) * 16)
96 #define CVMX_NPEI_PKTX_INSTR_HEADER(offset) (0x0000000000003400ull + ((offset) & 31) * 16)
97 #define CVMX_NPEI_PKTX_IN_BP(offset) (0x0000000000003800ull + ((offset) & 31) * 16)
98 #define CVMX_NPEI_PKTX_SLIST_BADDR(offset) (0x0000000000001400ull + ((offset) & 31) * 16)
99 #define CVMX_NPEI_PKTX_SLIST_BAOFF_DBELL(offset) (0x0000000000001800ull + ((offset) & 31) * 16)
100 #define CVMX_NPEI_PKTX_SLIST_FIFO_RSIZE(offset) (0x0000000000001C00ull + ((offset) & 31) * 16)
101 #define CVMX_NPEI_PKT_CNT_INT (0x0000000000001110ull)
102 #define CVMX_NPEI_PKT_CNT_INT_ENB (0x0000000000001130ull)
103 #define CVMX_NPEI_PKT_DATA_OUT_ES (0x00000000000010B0ull)
104 #define CVMX_NPEI_PKT_DATA_OUT_NS (0x00000000000010A0ull)
105 #define CVMX_NPEI_PKT_DATA_OUT_ROR (0x0000000000001090ull)
106 #define CVMX_NPEI_PKT_DPADDR (0x0000000000001080ull)
107 #define CVMX_NPEI_PKT_INPUT_CONTROL (0x0000000000001150ull)
108 #define CVMX_NPEI_PKT_INSTR_ENB (0x0000000000001000ull)
109 #define CVMX_NPEI_PKT_INSTR_RD_SIZE (0x0000000000001190ull)
110 #define CVMX_NPEI_PKT_INSTR_SIZE (0x0000000000001020ull)
111 #define CVMX_NPEI_PKT_INT_LEVELS (0x0000000000001100ull)
112 #define CVMX_NPEI_PKT_IN_BP (0x00000000000006B0ull)
113 #define CVMX_NPEI_PKT_IN_DONEX_CNTS(offset) (0x0000000000002000ull + ((offset) & 31) * 16)
114 #define CVMX_NPEI_PKT_IN_INSTR_COUNTS (0x00000000000006A0ull)
115 #define CVMX_NPEI_PKT_IN_PCIE_PORT (0x00000000000011A0ull)
116 #define CVMX_NPEI_PKT_IPTR (0x0000000000001070ull)
117 #define CVMX_NPEI_PKT_OUTPUT_WMARK (0x0000000000001160ull)
118 #define CVMX_NPEI_PKT_OUT_BMODE (0x00000000000010D0ull)
119 #define CVMX_NPEI_PKT_OUT_ENB (0x0000000000001010ull)
120 #define CVMX_NPEI_PKT_PCIE_PORT (0x00000000000010E0ull)
121 #define CVMX_NPEI_PKT_PORT_IN_RST (0x0000000000000690ull)
122 #define CVMX_NPEI_PKT_SLIST_ES (0x0000000000001050ull)
123 #define CVMX_NPEI_PKT_SLIST_ID_SIZE (0x0000000000001180ull)
124 #define CVMX_NPEI_PKT_SLIST_NS (0x0000000000001040ull)
125 #define CVMX_NPEI_PKT_SLIST_ROR (0x0000000000001030ull)
126 #define CVMX_NPEI_PKT_TIME_INT (0x0000000000001120ull)
127 #define CVMX_NPEI_PKT_TIME_INT_ENB (0x0000000000001140ull)
128 #define CVMX_NPEI_RSL_INT_BLOCKS (0x0000000000000520ull)
129 #define CVMX_NPEI_SCRATCH_1 (0x0000000000000270ull)
130 #define CVMX_NPEI_STATE1 (0x0000000000000620ull)
131 #define CVMX_NPEI_STATE2 (0x0000000000000630ull)
132 #define CVMX_NPEI_STATE3 (0x0000000000000640ull)
133 #define CVMX_NPEI_WINDOW_CTL (0x0000000000000380ull)
134 #define CVMX_NPEI_WIN_RD_ADDR (0x0000000000000210ull)
135 #define CVMX_NPEI_WIN_RD_DATA (0x0000000000000240ull)
136 #define CVMX_NPEI_WIN_WR_ADDR (0x0000000000000200ull)
137 #define CVMX_NPEI_WIN_WR_DATA (0x0000000000000220ull)
138 #define CVMX_NPEI_WIN_WR_MASK (0x0000000000000230ull)
139 
143 #ifdef __BIG_ENDIAN_BITFIELD
145  uint32_t addr_idx:14;
146  uint32_t ca:1;
147  uint32_t end_swp:2;
148  uint32_t addr_v:1;
149 #else
155 #endif
156  } s;
161 };
162 
166 #ifdef __BIG_ENDIAN_BITFIELD
167  uint64_t pkt_rdf:1;
169  uint64_t pcr_gim:1;
170  uint64_t pkt_pif:1;
171  uint64_t pcsr_int:1;
172  uint64_t pcsr_im:1;
173  uint64_t pcsr_cnt:1;
174  uint64_t pcsr_id:1;
175  uint64_t pcsr_sl:1;
177  uint64_t pkt_ind:1;
178  uint64_t pkt_slm:1;
180  uint64_t d0_pst:1;
181  uint64_t d1_pst:1;
182  uint64_t d2_pst:1;
183  uint64_t d3_pst:1;
185  uint64_t n2p0_c:1;
186  uint64_t n2p0_o:1;
187  uint64_t n2p1_c:1;
188  uint64_t n2p1_o:1;
189  uint64_t cpl_p0:1;
190  uint64_t cpl_p1:1;
191  uint64_t p2n1_po:1;
192  uint64_t p2n1_no:1;
193  uint64_t p2n1_co:1;
194  uint64_t p2n0_po:1;
195  uint64_t p2n0_no:1;
196  uint64_t p2n0_co:1;
197  uint64_t p2n0_c0:1;
198  uint64_t p2n0_c1:1;
199  uint64_t p2n0_n:1;
200  uint64_t p2n0_p0:1;
201  uint64_t p2n0_p1:1;
202  uint64_t p2n1_c0:1;
203  uint64_t p2n1_c1:1;
204  uint64_t p2n1_n:1;
205  uint64_t p2n1_p0:1;
206  uint64_t p2n1_p1:1;
207  uint64_t csm0:1;
208  uint64_t csm1:1;
209  uint64_t dif0:1;
210  uint64_t dif1:1;
211  uint64_t dif2:1;
212  uint64_t dif3:1;
214  uint64_t msi:1;
215  uint64_t ncb_cmd:1;
216 #else
266 #endif
267  } s;
269 #ifdef __BIG_ENDIAN_BITFIELD
270  uint64_t pkt_rdf:1;
272  uint64_t pcr_gim:1;
273  uint64_t pkt_pif:1;
274  uint64_t pcsr_int:1;
275  uint64_t pcsr_im:1;
276  uint64_t pcsr_cnt:1;
277  uint64_t pcsr_id:1;
278  uint64_t pcsr_sl:1;
279  uint64_t pkt_imem:1;
280  uint64_t pkt_pfm:1;
281  uint64_t pkt_pof:1;
283  uint64_t pkt_pop0:1;
284  uint64_t pkt_pop1:1;
285  uint64_t d0_mem:1;
286  uint64_t d1_mem:1;
287  uint64_t d2_mem:1;
288  uint64_t d3_mem:1;
289  uint64_t d4_mem:1;
290  uint64_t ds_mem:1;
292  uint64_t d0_pst:1;
293  uint64_t d1_pst:1;
294  uint64_t d2_pst:1;
295  uint64_t d3_pst:1;
296  uint64_t d4_pst:1;
297  uint64_t n2p0_c:1;
298  uint64_t n2p0_o:1;
299  uint64_t n2p1_c:1;
300  uint64_t n2p1_o:1;
301  uint64_t cpl_p0:1;
302  uint64_t cpl_p1:1;
303  uint64_t p2n1_po:1;
304  uint64_t p2n1_no:1;
305  uint64_t p2n1_co:1;
306  uint64_t p2n0_po:1;
307  uint64_t p2n0_no:1;
308  uint64_t p2n0_co:1;
309  uint64_t p2n0_c0:1;
310  uint64_t p2n0_c1:1;
311  uint64_t p2n0_n:1;
312  uint64_t p2n0_p0:1;
313  uint64_t p2n0_p1:1;
314  uint64_t p2n1_c0:1;
315  uint64_t p2n1_c1:1;
316  uint64_t p2n1_n:1;
317  uint64_t p2n1_p0:1;
318  uint64_t p2n1_p1:1;
319  uint64_t csm0:1;
320  uint64_t csm1:1;
321  uint64_t dif0:1;
322  uint64_t dif1:1;
323  uint64_t dif2:1;
324  uint64_t dif3:1;
325  uint64_t dif4:1;
326  uint64_t msi:1;
327  uint64_t ncb_cmd:1;
328 #else
387 #endif
388  } cn52xx;
390 #ifdef __BIG_ENDIAN_BITFIELD
392  uint64_t d0_mem0:1;
393  uint64_t d1_mem1:1;
394  uint64_t d2_mem2:1;
395  uint64_t d3_mem3:1;
396  uint64_t dr0_mem:1;
397  uint64_t d0_mem:1;
398  uint64_t d1_mem:1;
399  uint64_t d2_mem:1;
400  uint64_t d3_mem:1;
401  uint64_t dr1_mem:1;
402  uint64_t d0_pst:1;
403  uint64_t d1_pst:1;
404  uint64_t d2_pst:1;
405  uint64_t d3_pst:1;
406  uint64_t dr2_mem:1;
407  uint64_t n2p0_c:1;
408  uint64_t n2p0_o:1;
409  uint64_t n2p1_c:1;
410  uint64_t n2p1_o:1;
411  uint64_t cpl_p0:1;
412  uint64_t cpl_p1:1;
413  uint64_t p2n1_po:1;
414  uint64_t p2n1_no:1;
415  uint64_t p2n1_co:1;
416  uint64_t p2n0_po:1;
417  uint64_t p2n0_no:1;
418  uint64_t p2n0_co:1;
419  uint64_t p2n0_c0:1;
420  uint64_t p2n0_c1:1;
421  uint64_t p2n0_n:1;
422  uint64_t p2n0_p0:1;
423  uint64_t p2n0_p1:1;
424  uint64_t p2n1_c0:1;
425  uint64_t p2n1_c1:1;
426  uint64_t p2n1_n:1;
427  uint64_t p2n1_p0:1;
428  uint64_t p2n1_p1:1;
429  uint64_t csm0:1;
430  uint64_t csm1:1;
431  uint64_t dif0:1;
432  uint64_t dif1:1;
433  uint64_t dif2:1;
434  uint64_t dif3:1;
435  uint64_t dr3_mem:1;
436  uint64_t msi:1;
437  uint64_t ncb_cmd:1;
438 #else
486 #endif
487  } cn52xxp1;
490 #ifdef __BIG_ENDIAN_BITFIELD
492  uint64_t pcsr_int:1;
493  uint64_t pcsr_im:1;
494  uint64_t pcsr_cnt:1;
495  uint64_t pcsr_id:1;
496  uint64_t pcsr_sl:1;
497  uint64_t pkt_pout:1;
498  uint64_t pkt_imem:1;
499  uint64_t pkt_cntm:1;
500  uint64_t pkt_ind:1;
501  uint64_t pkt_slm:1;
502  uint64_t pkt_odf:1;
503  uint64_t pkt_oif:1;
504  uint64_t pkt_out:1;
505  uint64_t pkt_i0:1;
506  uint64_t pkt_i1:1;
507  uint64_t pkt_s0:1;
508  uint64_t pkt_s1:1;
509  uint64_t d0_mem:1;
510  uint64_t d1_mem:1;
511  uint64_t d2_mem:1;
512  uint64_t d3_mem:1;
513  uint64_t d4_mem:1;
514  uint64_t d0_pst:1;
515  uint64_t d1_pst:1;
516  uint64_t d2_pst:1;
517  uint64_t d3_pst:1;
518  uint64_t d4_pst:1;
519  uint64_t n2p0_c:1;
520  uint64_t n2p0_o:1;
521  uint64_t n2p1_c:1;
522  uint64_t n2p1_o:1;
523  uint64_t cpl_p0:1;
524  uint64_t cpl_p1:1;
525  uint64_t p2n1_po:1;
526  uint64_t p2n1_no:1;
527  uint64_t p2n1_co:1;
528  uint64_t p2n0_po:1;
529  uint64_t p2n0_no:1;
530  uint64_t p2n0_co:1;
531  uint64_t p2n0_c0:1;
532  uint64_t p2n0_c1:1;
533  uint64_t p2n0_n:1;
534  uint64_t p2n0_p0:1;
535  uint64_t p2n0_p1:1;
536  uint64_t p2n1_c0:1;
537  uint64_t p2n1_c1:1;
538  uint64_t p2n1_n:1;
539  uint64_t p2n1_p0:1;
540  uint64_t p2n1_p1:1;
541  uint64_t csm0:1;
542  uint64_t csm1:1;
543  uint64_t dif0:1;
544  uint64_t dif1:1;
545  uint64_t dif2:1;
546  uint64_t dif3:1;
547  uint64_t dif4:1;
548  uint64_t msi:1;
549  uint64_t ncb_cmd:1;
550 #else
610 #endif
611  } cn56xxp1;
612 };
613 
617 #ifdef __BIG_ENDIAN_BITFIELD
619  uint64_t prd_tag:1;
620  uint64_t prd_st0:1;
621  uint64_t prd_st1:1;
622  uint64_t prd_err:1;
623  uint64_t nrd_st:1;
624  uint64_t nwe_st:1;
625  uint64_t nwe_wr0:1;
626  uint64_t nwe_wr1:1;
627  uint64_t pkt_rd:1;
628  uint64_t psc_p0:1;
629  uint64_t psc_p1:1;
630  uint64_t pkt_gd:1;
631  uint64_t pkt_gl:1;
632  uint64_t pkt_blk:1;
633 #else
649 #endif
650  } s;
653 };
654 
658 #ifdef __BIG_ENDIAN_BITFIELD
661  uint64_t intd:1;
662  uint64_t intc:1;
663  uint64_t intb:1;
664  uint64_t inta:1;
665  uint64_t intd_map:2;
666  uint64_t intc_map:2;
667  uint64_t intb_map:2;
668  uint64_t inta_map:2;
669  uint64_t ctlp_ro:1;
671  uint64_t ptlp_ro:1;
672  uint64_t bar2_enb:1;
673  uint64_t bar2_esx:2;
674  uint64_t bar2_cax:1;
675  uint64_t wait_com:1;
676 #else
694 #endif
695  } s;
700 };
701 
705 #ifdef __BIG_ENDIAN_BITFIELD
708  uint64_t intd:1;
709  uint64_t intc:1;
710  uint64_t intb:1;
711  uint64_t inta:1;
712  uint64_t intd_map:2;
713  uint64_t intc_map:2;
714  uint64_t intb_map:2;
715  uint64_t inta_map:2;
716  uint64_t ctlp_ro:1;
718  uint64_t ptlp_ro:1;
719  uint64_t bar2_enb:1;
720  uint64_t bar2_esx:2;
721  uint64_t bar2_cax:1;
722  uint64_t wait_com:1;
723 #else
741 #endif
742  } s;
747 };
748 
752 #ifdef __BIG_ENDIAN_BITFIELD
754  uint64_t p1_ntags:6;
755  uint64_t p0_ntags:6;
756  uint64_t cfg_rtry:16;
757  uint64_t ring_en:1;
758  uint64_t lnk_rst:1;
759  uint64_t arb:1;
760  uint64_t pkt_bp:4;
762  uint64_t chip_rev:8;
763 #else
774 #endif
775  } s;
778 #ifdef __BIG_ENDIAN_BITFIELD
780  uint64_t p1_ntags:6;
781  uint64_t p0_ntags:6;
782  uint64_t cfg_rtry:16;
784  uint64_t lnk_rst:1;
785  uint64_t arb:1;
788  uint64_t chip_rev:8;
789 #else
800 #endif
801  } cn52xxp1;
804 #ifdef __BIG_ENDIAN_BITFIELD
806  uint64_t lnk_rst:1;
807  uint64_t arb:1;
808  uint64_t pkt_bp:4;
810  uint64_t chip_rev:8;
811 #else
818 #endif
819  } cn56xxp1;
820 };
821 
825 #ifdef __BIG_ENDIAN_BITFIELD
827  uint64_t mps:1;
828  uint64_t mrrs:3;
829  uint64_t c1_w_flt:1;
830  uint64_t c0_w_flt:1;
831  uint64_t c1_b1_s:3;
832  uint64_t c0_b1_s:3;
833  uint64_t c1_wi_d:1;
834  uint64_t c1_b0_d:1;
835  uint64_t c0_wi_d:1;
836  uint64_t c0_b0_d:1;
837 #else
849 #endif
850  } s;
855 };
856 
860 #ifdef __BIG_ENDIAN_BITFIELD
862  uint64_t p1_ucnt:16;
863  uint64_t p1_fcnt:6;
864  uint64_t p0_ucnt:16;
865  uint64_t p0_fcnt:6;
866 #else
872 #endif
873  } s;
878 };
879 
883 #ifdef __BIG_ENDIAN_BITFIELD
887  uint64_t qlm1_spd:2;
888  uint64_t c_mul:5;
889  uint64_t dsel_ext:1;
890  uint64_t data:17;
891 #else
899 #endif
900  } s;
902 #ifdef __BIG_ENDIAN_BITFIELD
907  uint64_t qlm1_spd:2;
908  uint64_t c_mul:5;
909  uint64_t dsel_ext:1;
910  uint64_t data:17;
911 #else
920 #endif
921  } cn52xx;
924 #ifdef __BIG_ENDIAN_BITFIELD
928  uint64_t qlm3_spd:2;
929  uint64_t qlm1_spd:2;
930  uint64_t c_mul:5;
931  uint64_t dsel_ext:1;
932  uint64_t data:17;
933 #else
942 #endif
943  } cn56xx;
945 };
946 
950 #ifdef __BIG_ENDIAN_BITFIELD
952  uint64_t dbg_sel:16;
953 #else
956 #endif
957  } s;
962 };
963 
967 #ifdef __BIG_ENDIAN_BITFIELD
969  uint64_t fcnt:7;
970  uint64_t dbell:32;
971 #else
975 #endif
976  } s;
981 };
982 
986 #ifdef __BIG_ENDIAN_BITFIELD
988  uint32_t dbell:16;
989 #else
992 #endif
993  } s;
998 };
999 
1003 #ifdef __BIG_ENDIAN_BITFIELD
1005  uint64_t idle:1;
1006  uint64_t saddr:29;
1008 #else
1013 #endif
1014  } s;
1017 #ifdef __BIG_ENDIAN_BITFIELD
1019  uint64_t saddr:29;
1021 #else
1025 #endif
1026  } cn52xxp1;
1029 };
1030 
1034 #ifdef __BIG_ENDIAN_BITFIELD
1036  uint64_t addr:36;
1037 #else
1040 #endif
1041  } s;
1046 };
1047 
1051 #ifdef __BIG_ENDIAN_BITFIELD
1052  uint64_t time:32;
1053  uint64_t cnt:32;
1054 #else
1057 #endif
1058  } s;
1063 };
1064 
1068 #ifdef __BIG_ENDIAN_BITFIELD
1069  uint64_t time:32;
1070  uint64_t cnt:32;
1071 #else
1074 #endif
1075  } s;
1080 };
1081 
1085 #ifdef __BIG_ENDIAN_BITFIELD
1086  uint64_t dma1:32;
1087  uint64_t dma0:32;
1088 #else
1091 #endif
1092  } s;
1097 };
1098 
1102 #ifdef __BIG_ENDIAN_BITFIELD
1104  uint64_t p_32b_m:1;
1105  uint64_t dma4_enb:1;
1106  uint64_t dma3_enb:1;
1107  uint64_t dma2_enb:1;
1108  uint64_t dma1_enb:1;
1109  uint64_t dma0_enb:1;
1110  uint64_t b0_lend:1;
1111  uint64_t dwb_denb:1;
1112  uint64_t dwb_ichk:9;
1113  uint64_t fpa_que:3;
1114  uint64_t o_add1:1;
1115  uint64_t o_ro:1;
1116  uint64_t o_ns:1;
1117  uint64_t o_es:2;
1118  uint64_t o_mode:1;
1119  uint64_t csize:14;
1120 #else
1138 #endif
1139  } s;
1142 #ifdef __BIG_ENDIAN_BITFIELD
1144  uint64_t dma3_enb:1;
1145  uint64_t dma2_enb:1;
1146  uint64_t dma1_enb:1;
1147  uint64_t dma0_enb:1;
1148  uint64_t b0_lend:1;
1149  uint64_t dwb_denb:1;
1150  uint64_t dwb_ichk:9;
1151  uint64_t fpa_que:3;
1152  uint64_t o_add1:1;
1153  uint64_t o_ro:1;
1154  uint64_t o_ns:1;
1155  uint64_t o_es:2;
1156  uint64_t o_mode:1;
1157  uint64_t csize:14;
1158 #else
1174 #endif
1175  } cn52xxp1;
1178 #ifdef __BIG_ENDIAN_BITFIELD
1180  uint64_t dma4_enb:1;
1181  uint64_t dma3_enb:1;
1182  uint64_t dma2_enb:1;
1183  uint64_t dma1_enb:1;
1184  uint64_t dma0_enb:1;
1185  uint64_t b0_lend:1;
1186  uint64_t dwb_denb:1;
1187  uint64_t dwb_ichk:9;
1188  uint64_t fpa_que:3;
1189  uint64_t o_add1:1;
1190  uint64_t o_ro:1;
1191  uint64_t o_ns:1;
1192  uint64_t o_es:2;
1193  uint64_t o_mode:1;
1194  uint64_t csize:14;
1195 #else
1212 #endif
1213  } cn56xxp1;
1214 };
1215 
1219 #ifdef __BIG_ENDIAN_BITFIELD
1220  uint64_t dma_arb:1;
1222  uint64_t pkt_cnt:5;
1224  uint64_t dma4_cnt:5;
1226  uint64_t dma3_cnt:5;
1228  uint64_t dma2_cnt:5;
1230  uint64_t dma1_cnt:5;
1232  uint64_t dma0_cnt:5;
1234  uint64_t dma_cnt:5;
1235 #else
1251 #endif
1252  } s;
1255 };
1256 
1260 #ifdef __BIG_ENDIAN_BITFIELD
1262  uint64_t d4_dwe:8;
1263  uint64_t d3_dwe:8;
1264  uint64_t d2_dwe:8;
1265  uint64_t d1_dwe:8;
1266  uint64_t d0_dwe:8;
1267 #else
1274 #endif
1275  } s;
1277 };
1278 
1282 #ifdef __BIG_ENDIAN_BITFIELD
1284  uint64_t d0_difst:7;
1285  uint64_t d1_difst:7;
1286  uint64_t d2_difst:7;
1287  uint64_t d3_difst:7;
1288  uint64_t d4_difst:7;
1289  uint64_t d0_reqst:5;
1290  uint64_t d1_reqst:5;
1291  uint64_t d2_reqst:5;
1292  uint64_t d3_reqst:5;
1293  uint64_t d4_reqst:5;
1294 #else
1306 #endif
1307  } s;
1309 #ifdef __BIG_ENDIAN_BITFIELD
1311  uint64_t d0_difst:7;
1312  uint64_t d1_difst:7;
1313  uint64_t d2_difst:7;
1314  uint64_t d3_difst:7;
1316  uint64_t d0_reqst:5;
1317  uint64_t d1_reqst:5;
1318  uint64_t d2_reqst:5;
1319  uint64_t d3_reqst:5;
1321 #else
1333 #endif
1334  } cn52xxp1;
1336 };
1337 
1341 #ifdef __BIG_ENDIAN_BITFIELD
1343  uint64_t ndwe:4;
1345  uint64_t ndre:5;
1347  uint64_t prd:10;
1348 #else
1355 #endif
1356  } s;
1358 };
1359 
1363 #ifdef __BIG_ENDIAN_BITFIELD
1365  uint64_t d0_dffst:9;
1366  uint64_t d1_dffst:9;
1367  uint64_t d2_dffst:9;
1368  uint64_t d3_dffst:9;
1369  uint64_t d4_dffst:9;
1370 #else
1377 #endif
1378  } s;
1380 #ifdef __BIG_ENDIAN_BITFIELD
1382  uint64_t d0_dffst:9;
1383  uint64_t d1_dffst:9;
1384  uint64_t d2_dffst:9;
1385  uint64_t d3_dffst:9;
1387 #else
1394 #endif
1395  } cn52xxp1;
1397 };
1398 
1402 #ifdef __BIG_ENDIAN_BITFIELD
1404  uint64_t d0_drest:15;
1405  uint64_t d1_drest:15;
1406  uint64_t d2_drest:15;
1407  uint64_t d3_drest:15;
1408 #else
1414 #endif
1415  } s;
1418 };
1419 
1423 #ifdef __BIG_ENDIAN_BITFIELD
1425  uint64_t d0_dwest:13;
1426  uint64_t d1_dwest:13;
1427  uint64_t d2_dwest:13;
1428  uint64_t d3_dwest:13;
1429 #else
1435 #endif
1436  } s;
1439 };
1440 
1444 #ifdef __BIG_ENDIAN_BITFIELD
1446  uint64_t d4_drest:15;
1447  uint64_t d4_dwest:13;
1448 #else
1452 #endif
1453  } s;
1455 };
1456 
1460 #ifdef __BIG_ENDIAN_BITFIELD
1462  uint64_t pout_err:1;
1463  uint64_t pin_bp:1;
1464  uint64_t p1_rdlk:1;
1465  uint64_t p0_rdlk:1;
1466  uint64_t pgl_err:1;
1467  uint64_t pdi_err:1;
1468  uint64_t pop_err:1;
1469  uint64_t pins_err:1;
1470  uint64_t dma1_cpl:1;
1471  uint64_t dma0_cpl:1;
1472 #else
1484 #endif
1485  } s;
1488 #ifdef __BIG_ENDIAN_BITFIELD
1490  uint64_t dma1_cpl:1;
1491  uint64_t dma0_cpl:1;
1492 #else
1496 #endif
1497  } cn52xxp1;
1499 };
1500 
1504 #ifdef __BIG_ENDIAN_BITFIELD
1506  uint64_t pout_err:1;
1507  uint64_t pin_bp:1;
1508  uint64_t p1_rdlk:1;
1509  uint64_t p0_rdlk:1;
1510  uint64_t pgl_err:1;
1511  uint64_t pdi_err:1;
1512  uint64_t pop_err:1;
1513  uint64_t pins_err:1;
1514  uint64_t dma1_cpl:1;
1515  uint64_t dma0_cpl:1;
1516 #else
1528 #endif
1529  } s;
1532 #ifdef __BIG_ENDIAN_BITFIELD
1534  uint64_t dma1_cpl:1;
1535  uint64_t dma0_cpl:1;
1536 #else
1540 #endif
1541  } cn52xxp1;
1543 };
1544 
1548 #ifdef __BIG_ENDIAN_BITFIELD
1550  uint64_t pout_err:1;
1551  uint64_t pin_bp:1;
1552  uint64_t p1_rdlk:1;
1553  uint64_t p0_rdlk:1;
1554  uint64_t pgl_err:1;
1555  uint64_t pdi_err:1;
1556  uint64_t pop_err:1;
1557  uint64_t pins_err:1;
1558  uint64_t dma1_cpl:1;
1559  uint64_t dma0_cpl:1;
1560 #else
1572 #endif
1573  } s;
1576 #ifdef __BIG_ENDIAN_BITFIELD
1578  uint64_t dma1_cpl:1;
1579  uint64_t dma0_cpl:1;
1580 #else
1584 #endif
1585  } cn52xxp1;
1587 };
1588 
1592 #ifdef __BIG_ENDIAN_BITFIELD
1593  uint64_t mio_inta:1;
1595  uint64_t int_a:1;
1596  uint64_t c1_ldwn:1;
1597  uint64_t c0_ldwn:1;
1598  uint64_t c1_exc:1;
1599  uint64_t c0_exc:1;
1600  uint64_t c1_up_wf:1;
1601  uint64_t c0_up_wf:1;
1602  uint64_t c1_un_wf:1;
1603  uint64_t c0_un_wf:1;
1604  uint64_t c1_un_bx:1;
1605  uint64_t c1_un_wi:1;
1606  uint64_t c1_un_b2:1;
1607  uint64_t c1_un_b1:1;
1608  uint64_t c1_un_b0:1;
1609  uint64_t c1_up_bx:1;
1610  uint64_t c1_up_wi:1;
1611  uint64_t c1_up_b2:1;
1612  uint64_t c1_up_b1:1;
1613  uint64_t c1_up_b0:1;
1614  uint64_t c0_un_bx:1;
1615  uint64_t c0_un_wi:1;
1616  uint64_t c0_un_b2:1;
1617  uint64_t c0_un_b1:1;
1618  uint64_t c0_un_b0:1;
1619  uint64_t c0_up_bx:1;
1620  uint64_t c0_up_wi:1;
1621  uint64_t c0_up_b2:1;
1622  uint64_t c0_up_b1:1;
1623  uint64_t c0_up_b0:1;
1624  uint64_t c1_hpint:1;
1625  uint64_t c1_pmei:1;
1626  uint64_t c1_wake:1;
1627  uint64_t crs1_dr:1;
1628  uint64_t c1_se:1;
1629  uint64_t crs1_er:1;
1630  uint64_t c1_aeri:1;
1631  uint64_t c0_hpint:1;
1632  uint64_t c0_pmei:1;
1633  uint64_t c0_wake:1;
1634  uint64_t crs0_dr:1;
1635  uint64_t c0_se:1;
1636  uint64_t crs0_er:1;
1637  uint64_t c0_aeri:1;
1638  uint64_t ptime:1;
1639  uint64_t pcnt:1;
1640  uint64_t pidbof:1;
1641  uint64_t psldbof:1;
1642  uint64_t dtime1:1;
1643  uint64_t dtime0:1;
1644  uint64_t dcnt1:1;
1645  uint64_t dcnt0:1;
1646  uint64_t dma1fi:1;
1647  uint64_t dma0fi:1;
1648  uint64_t dma4dbo:1;
1649  uint64_t dma3dbo:1;
1650  uint64_t dma2dbo:1;
1651  uint64_t dma1dbo:1;
1652  uint64_t dma0dbo:1;
1653  uint64_t iob2big:1;
1654  uint64_t bar0_to:1;
1655  uint64_t rml_wto:1;
1656  uint64_t rml_rto:1;
1657 #else
1722 #endif
1723  } s;
1726 #ifdef __BIG_ENDIAN_BITFIELD
1727  uint64_t mio_inta:1;
1729  uint64_t int_a:1;
1730  uint64_t c1_ldwn:1;
1731  uint64_t c0_ldwn:1;
1732  uint64_t c1_exc:1;
1733  uint64_t c0_exc:1;
1734  uint64_t c1_up_wf:1;
1735  uint64_t c0_up_wf:1;
1736  uint64_t c1_un_wf:1;
1737  uint64_t c0_un_wf:1;
1738  uint64_t c1_un_bx:1;
1739  uint64_t c1_un_wi:1;
1740  uint64_t c1_un_b2:1;
1741  uint64_t c1_un_b1:1;
1742  uint64_t c1_un_b0:1;
1743  uint64_t c1_up_bx:1;
1744  uint64_t c1_up_wi:1;
1745  uint64_t c1_up_b2:1;
1746  uint64_t c1_up_b1:1;
1747  uint64_t c1_up_b0:1;
1748  uint64_t c0_un_bx:1;
1749  uint64_t c0_un_wi:1;
1750  uint64_t c0_un_b2:1;
1751  uint64_t c0_un_b1:1;
1752  uint64_t c0_un_b0:1;
1753  uint64_t c0_up_bx:1;
1754  uint64_t c0_up_wi:1;
1755  uint64_t c0_up_b2:1;
1756  uint64_t c0_up_b1:1;
1757  uint64_t c0_up_b0:1;
1758  uint64_t c1_hpint:1;
1759  uint64_t c1_pmei:1;
1760  uint64_t c1_wake:1;
1761  uint64_t crs1_dr:1;
1762  uint64_t c1_se:1;
1763  uint64_t crs1_er:1;
1764  uint64_t c1_aeri:1;
1765  uint64_t c0_hpint:1;
1766  uint64_t c0_pmei:1;
1767  uint64_t c0_wake:1;
1768  uint64_t crs0_dr:1;
1769  uint64_t c0_se:1;
1770  uint64_t crs0_er:1;
1771  uint64_t c0_aeri:1;
1772  uint64_t ptime:1;
1773  uint64_t pcnt:1;
1774  uint64_t pidbof:1;
1775  uint64_t psldbof:1;
1776  uint64_t dtime1:1;
1777  uint64_t dtime0:1;
1778  uint64_t dcnt1:1;
1779  uint64_t dcnt0:1;
1780  uint64_t dma1fi:1;
1781  uint64_t dma0fi:1;
1783  uint64_t dma3dbo:1;
1784  uint64_t dma2dbo:1;
1785  uint64_t dma1dbo:1;
1786  uint64_t dma0dbo:1;
1787  uint64_t iob2big:1;
1788  uint64_t bar0_to:1;
1789  uint64_t rml_wto:1;
1790  uint64_t rml_rto:1;
1791 #else
1856 #endif
1857  } cn52xxp1;
1860 #ifdef __BIG_ENDIAN_BITFIELD
1861  uint64_t mio_inta:1;
1863  uint64_t c1_ldwn:1;
1864  uint64_t c0_ldwn:1;
1865  uint64_t c1_exc:1;
1866  uint64_t c0_exc:1;
1867  uint64_t c1_up_wf:1;
1868  uint64_t c0_up_wf:1;
1869  uint64_t c1_un_wf:1;
1870  uint64_t c0_un_wf:1;
1871  uint64_t c1_un_bx:1;
1872  uint64_t c1_un_wi:1;
1873  uint64_t c1_un_b2:1;
1874  uint64_t c1_un_b1:1;
1875  uint64_t c1_un_b0:1;
1876  uint64_t c1_up_bx:1;
1877  uint64_t c1_up_wi:1;
1878  uint64_t c1_up_b2:1;
1879  uint64_t c1_up_b1:1;
1880  uint64_t c1_up_b0:1;
1881  uint64_t c0_un_bx:1;
1882  uint64_t c0_un_wi:1;
1883  uint64_t c0_un_b2:1;
1884  uint64_t c0_un_b1:1;
1885  uint64_t c0_un_b0:1;
1886  uint64_t c0_up_bx:1;
1887  uint64_t c0_up_wi:1;
1888  uint64_t c0_up_b2:1;
1889  uint64_t c0_up_b1:1;
1890  uint64_t c0_up_b0:1;
1891  uint64_t c1_hpint:1;
1892  uint64_t c1_pmei:1;
1893  uint64_t c1_wake:1;
1895  uint64_t c1_se:1;
1897  uint64_t c1_aeri:1;
1898  uint64_t c0_hpint:1;
1899  uint64_t c0_pmei:1;
1900  uint64_t c0_wake:1;
1902  uint64_t c0_se:1;
1904  uint64_t c0_aeri:1;
1905  uint64_t ptime:1;
1906  uint64_t pcnt:1;
1907  uint64_t pidbof:1;
1908  uint64_t psldbof:1;
1909  uint64_t dtime1:1;
1910  uint64_t dtime0:1;
1911  uint64_t dcnt1:1;
1912  uint64_t dcnt0:1;
1913  uint64_t dma1fi:1;
1914  uint64_t dma0fi:1;
1915  uint64_t dma4dbo:1;
1916  uint64_t dma3dbo:1;
1917  uint64_t dma2dbo:1;
1918  uint64_t dma1dbo:1;
1919  uint64_t dma0dbo:1;
1920  uint64_t iob2big:1;
1921  uint64_t bar0_to:1;
1922  uint64_t rml_wto:1;
1923  uint64_t rml_rto:1;
1924 #else
1988 #endif
1989  } cn56xxp1;
1990 };
1991 
1995 #ifdef __BIG_ENDIAN_BITFIELD
1997  uint64_t int_a:1;
1998  uint64_t c1_ldwn:1;
1999  uint64_t c0_ldwn:1;
2000  uint64_t c1_exc:1;
2001  uint64_t c0_exc:1;
2002  uint64_t c1_up_wf:1;
2003  uint64_t c0_up_wf:1;
2004  uint64_t c1_un_wf:1;
2005  uint64_t c0_un_wf:1;
2006  uint64_t c1_un_bx:1;
2007  uint64_t c1_un_wi:1;
2008  uint64_t c1_un_b2:1;
2009  uint64_t c1_un_b1:1;
2010  uint64_t c1_un_b0:1;
2011  uint64_t c1_up_bx:1;
2012  uint64_t c1_up_wi:1;
2013  uint64_t c1_up_b2:1;
2014  uint64_t c1_up_b1:1;
2015  uint64_t c1_up_b0:1;
2016  uint64_t c0_un_bx:1;
2017  uint64_t c0_un_wi:1;
2018  uint64_t c0_un_b2:1;
2019  uint64_t c0_un_b1:1;
2020  uint64_t c0_un_b0:1;
2021  uint64_t c0_up_bx:1;
2022  uint64_t c0_up_wi:1;
2023  uint64_t c0_up_b2:1;
2024  uint64_t c0_up_b1:1;
2025  uint64_t c0_up_b0:1;
2026  uint64_t c1_hpint:1;
2027  uint64_t c1_pmei:1;
2028  uint64_t c1_wake:1;
2029  uint64_t crs1_dr:1;
2030  uint64_t c1_se:1;
2031  uint64_t crs1_er:1;
2032  uint64_t c1_aeri:1;
2033  uint64_t c0_hpint:1;
2034  uint64_t c0_pmei:1;
2035  uint64_t c0_wake:1;
2036  uint64_t crs0_dr:1;
2037  uint64_t c0_se:1;
2038  uint64_t crs0_er:1;
2039  uint64_t c0_aeri:1;
2040  uint64_t ptime:1;
2041  uint64_t pcnt:1;
2042  uint64_t pidbof:1;
2043  uint64_t psldbof:1;
2044  uint64_t dtime1:1;
2045  uint64_t dtime0:1;
2046  uint64_t dcnt1:1;
2047  uint64_t dcnt0:1;
2048  uint64_t dma1fi:1;
2049  uint64_t dma0fi:1;
2050  uint64_t dma4dbo:1;
2051  uint64_t dma3dbo:1;
2052  uint64_t dma2dbo:1;
2053  uint64_t dma1dbo:1;
2054  uint64_t dma0dbo:1;
2055  uint64_t iob2big:1;
2056  uint64_t bar0_to:1;
2057  uint64_t rml_wto:1;
2058  uint64_t rml_rto:1;
2059 #else
2123 #endif
2124  } s;
2127 #ifdef __BIG_ENDIAN_BITFIELD
2129  uint64_t int_a:1;
2130  uint64_t c1_ldwn:1;
2131  uint64_t c0_ldwn:1;
2132  uint64_t c1_exc:1;
2133  uint64_t c0_exc:1;
2134  uint64_t c1_up_wf:1;
2135  uint64_t c0_up_wf:1;
2136  uint64_t c1_un_wf:1;
2137  uint64_t c0_un_wf:1;
2138  uint64_t c1_un_bx:1;
2139  uint64_t c1_un_wi:1;
2140  uint64_t c1_un_b2:1;
2141  uint64_t c1_un_b1:1;
2142  uint64_t c1_un_b0:1;
2143  uint64_t c1_up_bx:1;
2144  uint64_t c1_up_wi:1;
2145  uint64_t c1_up_b2:1;
2146  uint64_t c1_up_b1:1;
2147  uint64_t c1_up_b0:1;
2148  uint64_t c0_un_bx:1;
2149  uint64_t c0_un_wi:1;
2150  uint64_t c0_un_b2:1;
2151  uint64_t c0_un_b1:1;
2152  uint64_t c0_un_b0:1;
2153  uint64_t c0_up_bx:1;
2154  uint64_t c0_up_wi:1;
2155  uint64_t c0_up_b2:1;
2156  uint64_t c0_up_b1:1;
2157  uint64_t c0_up_b0:1;
2158  uint64_t c1_hpint:1;
2159  uint64_t c1_pmei:1;
2160  uint64_t c1_wake:1;
2161  uint64_t crs1_dr:1;
2162  uint64_t c1_se:1;
2163  uint64_t crs1_er:1;
2164  uint64_t c1_aeri:1;
2165  uint64_t c0_hpint:1;
2166  uint64_t c0_pmei:1;
2167  uint64_t c0_wake:1;
2168  uint64_t crs0_dr:1;
2169  uint64_t c0_se:1;
2170  uint64_t crs0_er:1;
2171  uint64_t c0_aeri:1;
2172  uint64_t ptime:1;
2173  uint64_t pcnt:1;
2174  uint64_t pidbof:1;
2175  uint64_t psldbof:1;
2176  uint64_t dtime1:1;
2177  uint64_t dtime0:1;
2178  uint64_t dcnt1:1;
2179  uint64_t dcnt0:1;
2180  uint64_t dma1fi:1;
2181  uint64_t dma0fi:1;
2183  uint64_t dma3dbo:1;
2184  uint64_t dma2dbo:1;
2185  uint64_t dma1dbo:1;
2186  uint64_t dma0dbo:1;
2187  uint64_t iob2big:1;
2188  uint64_t bar0_to:1;
2189  uint64_t rml_wto:1;
2190  uint64_t rml_rto:1;
2191 #else
2255 #endif
2256  } cn52xxp1;
2259 #ifdef __BIG_ENDIAN_BITFIELD
2261  uint64_t c1_ldwn:1;
2262  uint64_t c0_ldwn:1;
2263  uint64_t c1_exc:1;
2264  uint64_t c0_exc:1;
2265  uint64_t c1_up_wf:1;
2266  uint64_t c0_up_wf:1;
2267  uint64_t c1_un_wf:1;
2268  uint64_t c0_un_wf:1;
2269  uint64_t c1_un_bx:1;
2270  uint64_t c1_un_wi:1;
2271  uint64_t c1_un_b2:1;
2272  uint64_t c1_un_b1:1;
2273  uint64_t c1_un_b0:1;
2274  uint64_t c1_up_bx:1;
2275  uint64_t c1_up_wi:1;
2276  uint64_t c1_up_b2:1;
2277  uint64_t c1_up_b1:1;
2278  uint64_t c1_up_b0:1;
2279  uint64_t c0_un_bx:1;
2280  uint64_t c0_un_wi:1;
2281  uint64_t c0_un_b2:1;
2282  uint64_t c0_un_b1:1;
2283  uint64_t c0_un_b0:1;
2284  uint64_t c0_up_bx:1;
2285  uint64_t c0_up_wi:1;
2286  uint64_t c0_up_b2:1;
2287  uint64_t c0_up_b1:1;
2288  uint64_t c0_up_b0:1;
2289  uint64_t c1_hpint:1;
2290  uint64_t c1_pmei:1;
2291  uint64_t c1_wake:1;
2293  uint64_t c1_se:1;
2295  uint64_t c1_aeri:1;
2296  uint64_t c0_hpint:1;
2297  uint64_t c0_pmei:1;
2298  uint64_t c0_wake:1;
2300  uint64_t c0_se:1;
2302  uint64_t c0_aeri:1;
2303  uint64_t ptime:1;
2304  uint64_t pcnt:1;
2305  uint64_t pidbof:1;
2306  uint64_t psldbof:1;
2307  uint64_t dtime1:1;
2308  uint64_t dtime0:1;
2309  uint64_t dcnt1:1;
2310  uint64_t dcnt0:1;
2311  uint64_t dma1fi:1;
2312  uint64_t dma0fi:1;
2313  uint64_t dma4dbo:1;
2314  uint64_t dma3dbo:1;
2315  uint64_t dma2dbo:1;
2316  uint64_t dma1dbo:1;
2317  uint64_t dma0dbo:1;
2318  uint64_t iob2big:1;
2319  uint64_t bar0_to:1;
2320  uint64_t rml_wto:1;
2321  uint64_t rml_rto:1;
2322 #else
2385 #endif
2386  } cn56xxp1;
2387 };
2388 
2392 #ifdef __BIG_ENDIAN_BITFIELD
2394  uint64_t pidbof:6;
2395  uint64_t psldbof:6;
2396 #else
2400 #endif
2401  } s;
2405 };
2406 
2410 #ifdef __BIG_ENDIAN_BITFIELD
2411  uint64_t mio_inta:1;
2413  uint64_t int_a:1;
2414  uint64_t c1_ldwn:1;
2415  uint64_t c0_ldwn:1;
2416  uint64_t c1_exc:1;
2417  uint64_t c0_exc:1;
2418  uint64_t c1_up_wf:1;
2419  uint64_t c0_up_wf:1;
2420  uint64_t c1_un_wf:1;
2421  uint64_t c0_un_wf:1;
2422  uint64_t c1_un_bx:1;
2423  uint64_t c1_un_wi:1;
2424  uint64_t c1_un_b2:1;
2425  uint64_t c1_un_b1:1;
2426  uint64_t c1_un_b0:1;
2427  uint64_t c1_up_bx:1;
2428  uint64_t c1_up_wi:1;
2429  uint64_t c1_up_b2:1;
2430  uint64_t c1_up_b1:1;
2431  uint64_t c1_up_b0:1;
2432  uint64_t c0_un_bx:1;
2433  uint64_t c0_un_wi:1;
2434  uint64_t c0_un_b2:1;
2435  uint64_t c0_un_b1:1;
2436  uint64_t c0_un_b0:1;
2437  uint64_t c0_up_bx:1;
2438  uint64_t c0_up_wi:1;
2439  uint64_t c0_up_b2:1;
2440  uint64_t c0_up_b1:1;
2441  uint64_t c0_up_b0:1;
2442  uint64_t c1_hpint:1;
2443  uint64_t c1_pmei:1;
2444  uint64_t c1_wake:1;
2445  uint64_t crs1_dr:1;
2446  uint64_t c1_se:1;
2447  uint64_t crs1_er:1;
2448  uint64_t c1_aeri:1;
2449  uint64_t c0_hpint:1;
2450  uint64_t c0_pmei:1;
2451  uint64_t c0_wake:1;
2452  uint64_t crs0_dr:1;
2453  uint64_t c0_se:1;
2454  uint64_t crs0_er:1;
2455  uint64_t c0_aeri:1;
2456  uint64_t ptime:1;
2457  uint64_t pcnt:1;
2458  uint64_t pidbof:1;
2459  uint64_t psldbof:1;
2460  uint64_t dtime1:1;
2461  uint64_t dtime0:1;
2462  uint64_t dcnt1:1;
2463  uint64_t dcnt0:1;
2464  uint64_t dma1fi:1;
2465  uint64_t dma0fi:1;
2466  uint64_t dma4dbo:1;
2467  uint64_t dma3dbo:1;
2468  uint64_t dma2dbo:1;
2469  uint64_t dma1dbo:1;
2470  uint64_t dma0dbo:1;
2471  uint64_t iob2big:1;
2472  uint64_t bar0_to:1;
2473  uint64_t rml_wto:1;
2474  uint64_t rml_rto:1;
2475 #else
2540 #endif
2541  } s;
2544 #ifdef __BIG_ENDIAN_BITFIELD
2545  uint64_t mio_inta:1;
2547  uint64_t int_a:1;
2548  uint64_t c1_ldwn:1;
2549  uint64_t c0_ldwn:1;
2550  uint64_t c1_exc:1;
2551  uint64_t c0_exc:1;
2552  uint64_t c1_up_wf:1;
2553  uint64_t c0_up_wf:1;
2554  uint64_t c1_un_wf:1;
2555  uint64_t c0_un_wf:1;
2556  uint64_t c1_un_bx:1;
2557  uint64_t c1_un_wi:1;
2558  uint64_t c1_un_b2:1;
2559  uint64_t c1_un_b1:1;
2560  uint64_t c1_un_b0:1;
2561  uint64_t c1_up_bx:1;
2562  uint64_t c1_up_wi:1;
2563  uint64_t c1_up_b2:1;
2564  uint64_t c1_up_b1:1;
2565  uint64_t c1_up_b0:1;
2566  uint64_t c0_un_bx:1;
2567  uint64_t c0_un_wi:1;
2568  uint64_t c0_un_b2:1;
2569  uint64_t c0_un_b1:1;
2570  uint64_t c0_un_b0:1;
2571  uint64_t c0_up_bx:1;
2572  uint64_t c0_up_wi:1;
2573  uint64_t c0_up_b2:1;
2574  uint64_t c0_up_b1:1;
2575  uint64_t c0_up_b0:1;
2576  uint64_t c1_hpint:1;
2577  uint64_t c1_pmei:1;
2578  uint64_t c1_wake:1;
2579  uint64_t crs1_dr:1;
2580  uint64_t c1_se:1;
2581  uint64_t crs1_er:1;
2582  uint64_t c1_aeri:1;
2583  uint64_t c0_hpint:1;
2584  uint64_t c0_pmei:1;
2585  uint64_t c0_wake:1;
2586  uint64_t crs0_dr:1;
2587  uint64_t c0_se:1;
2588  uint64_t crs0_er:1;
2589  uint64_t c0_aeri:1;
2591  uint64_t dtime1:1;
2592  uint64_t dtime0:1;
2593  uint64_t dcnt1:1;
2594  uint64_t dcnt0:1;
2595  uint64_t dma1fi:1;
2596  uint64_t dma0fi:1;
2598  uint64_t dma3dbo:1;
2599  uint64_t dma2dbo:1;
2600  uint64_t dma1dbo:1;
2601  uint64_t dma0dbo:1;
2602  uint64_t iob2big:1;
2603  uint64_t bar0_to:1;
2604  uint64_t rml_wto:1;
2605  uint64_t rml_rto:1;
2606 #else
2668 #endif
2669  } cn52xxp1;
2672 #ifdef __BIG_ENDIAN_BITFIELD
2673  uint64_t mio_inta:1;
2675  uint64_t c1_ldwn:1;
2676  uint64_t c0_ldwn:1;
2677  uint64_t c1_exc:1;
2678  uint64_t c0_exc:1;
2679  uint64_t c1_up_wf:1;
2680  uint64_t c0_up_wf:1;
2681  uint64_t c1_un_wf:1;
2682  uint64_t c0_un_wf:1;
2683  uint64_t c1_un_bx:1;
2684  uint64_t c1_un_wi:1;
2685  uint64_t c1_un_b2:1;
2686  uint64_t c1_un_b1:1;
2687  uint64_t c1_un_b0:1;
2688  uint64_t c1_up_bx:1;
2689  uint64_t c1_up_wi:1;
2690  uint64_t c1_up_b2:1;
2691  uint64_t c1_up_b1:1;
2692  uint64_t c1_up_b0:1;
2693  uint64_t c0_un_bx:1;
2694  uint64_t c0_un_wi:1;
2695  uint64_t c0_un_b2:1;
2696  uint64_t c0_un_b1:1;
2697  uint64_t c0_un_b0:1;
2698  uint64_t c0_up_bx:1;
2699  uint64_t c0_up_wi:1;
2700  uint64_t c0_up_b2:1;
2701  uint64_t c0_up_b1:1;
2702  uint64_t c0_up_b0:1;
2703  uint64_t c1_hpint:1;
2704  uint64_t c1_pmei:1;
2705  uint64_t c1_wake:1;
2707  uint64_t c1_se:1;
2709  uint64_t c1_aeri:1;
2710  uint64_t c0_hpint:1;
2711  uint64_t c0_pmei:1;
2712  uint64_t c0_wake:1;
2714  uint64_t c0_se:1;
2716  uint64_t c0_aeri:1;
2718  uint64_t dtime1:1;
2719  uint64_t dtime0:1;
2720  uint64_t dcnt1:1;
2721  uint64_t dcnt0:1;
2722  uint64_t dma1fi:1;
2723  uint64_t dma0fi:1;
2724  uint64_t dma4dbo:1;
2725  uint64_t dma3dbo:1;
2726  uint64_t dma2dbo:1;
2727  uint64_t dma1dbo:1;
2728  uint64_t dma0dbo:1;
2729  uint64_t iob2big:1;
2730  uint64_t bar0_to:1;
2731  uint64_t rml_wto:1;
2732  uint64_t rml_rto:1;
2733 #else
2794 #endif
2795  } cn56xxp1;
2796 };
2797 
2801 #ifdef __BIG_ENDIAN_BITFIELD
2802  uint64_t mio_inta:1;
2804  uint64_t int_a:1;
2805  uint64_t c1_ldwn:1;
2806  uint64_t c0_ldwn:1;
2807  uint64_t c1_exc:1;
2808  uint64_t c0_exc:1;
2809  uint64_t c1_up_wf:1;
2810  uint64_t c0_up_wf:1;
2811  uint64_t c1_un_wf:1;
2812  uint64_t c0_un_wf:1;
2813  uint64_t c1_un_bx:1;
2814  uint64_t c1_un_wi:1;
2815  uint64_t c1_un_b2:1;
2816  uint64_t c1_un_b1:1;
2817  uint64_t c1_un_b0:1;
2818  uint64_t c1_up_bx:1;
2819  uint64_t c1_up_wi:1;
2820  uint64_t c1_up_b2:1;
2821  uint64_t c1_up_b1:1;
2822  uint64_t c1_up_b0:1;
2823  uint64_t c0_un_bx:1;
2824  uint64_t c0_un_wi:1;
2825  uint64_t c0_un_b2:1;
2826  uint64_t c0_un_b1:1;
2827  uint64_t c0_un_b0:1;
2828  uint64_t c0_up_bx:1;
2829  uint64_t c0_up_wi:1;
2830  uint64_t c0_up_b2:1;
2831  uint64_t c0_up_b1:1;
2832  uint64_t c0_up_b0:1;
2833  uint64_t c1_hpint:1;
2834  uint64_t c1_pmei:1;
2835  uint64_t c1_wake:1;
2836  uint64_t crs1_dr:1;
2837  uint64_t c1_se:1;
2838  uint64_t crs1_er:1;
2839  uint64_t c1_aeri:1;
2840  uint64_t c0_hpint:1;
2841  uint64_t c0_pmei:1;
2842  uint64_t c0_wake:1;
2843  uint64_t crs0_dr:1;
2844  uint64_t c0_se:1;
2845  uint64_t crs0_er:1;
2846  uint64_t c0_aeri:1;
2848  uint64_t dtime1:1;
2849  uint64_t dtime0:1;
2850  uint64_t dcnt1:1;
2851  uint64_t dcnt0:1;
2852  uint64_t dma1fi:1;
2853  uint64_t dma0fi:1;
2855  uint64_t dma3dbo:1;
2856  uint64_t dma2dbo:1;
2857  uint64_t dma1dbo:1;
2858  uint64_t dma0dbo:1;
2859  uint64_t iob2big:1;
2860  uint64_t bar0_to:1;
2861  uint64_t rml_wto:1;
2862  uint64_t rml_rto:1;
2863 #else
2925 #endif
2926  } s;
2930 };
2931 
2935 #ifdef __BIG_ENDIAN_BITFIELD
2936  uint64_t data:64;
2937 #else
2939 #endif
2940  } s;
2945 };
2946 
2950 #ifdef __BIG_ENDIAN_BITFIELD
2951  uint64_t data:64;
2952 #else
2954 #endif
2955  } s;
2960 };
2961 
2965 #ifdef __BIG_ENDIAN_BITFIELD
2967  uint64_t max_word:4;
2968  uint64_t timer:10;
2969 #else
2973 #endif
2974  } s;
2979 };
2980 
2984 #ifdef __BIG_ENDIAN_BITFIELD
2986  uint64_t zero:1;
2987  uint64_t port:2;
2988  uint64_t nmerge:1;
2989  uint64_t esr:2;
2990  uint64_t esw:2;
2991  uint64_t nsr:1;
2992  uint64_t nsw:1;
2993  uint64_t ror:1;
2994  uint64_t row:1;
2995  uint64_t ba:30;
2996 #else
3008 #endif
3009  } s;
3014 };
3015 
3019 #ifdef __BIG_ENDIAN_BITFIELD
3020  uint64_t enb:64;
3021 #else
3023 #endif
3024  } s;
3029 };
3030 
3034 #ifdef __BIG_ENDIAN_BITFIELD
3035  uint64_t enb:64;
3036 #else
3038 #endif
3039  } s;
3044 };
3045 
3049 #ifdef __BIG_ENDIAN_BITFIELD
3050  uint64_t enb:64;
3051 #else
3053 #endif
3054  } s;
3059 };
3060 
3064 #ifdef __BIG_ENDIAN_BITFIELD
3065  uint64_t enb:64;
3066 #else
3068 #endif
3069  } s;
3074 };
3075 
3079 #ifdef __BIG_ENDIAN_BITFIELD
3080  uint64_t intr:64;
3081 #else
3083 #endif
3084  } s;
3089 };
3090 
3094 #ifdef __BIG_ENDIAN_BITFIELD
3095  uint64_t intr:64;
3096 #else
3098 #endif
3099  } s;
3104 };
3105 
3109 #ifdef __BIG_ENDIAN_BITFIELD
3110  uint64_t intr:64;
3111 #else
3113 #endif
3114  } s;
3119 };
3120 
3124 #ifdef __BIG_ENDIAN_BITFIELD
3125  uint64_t intr:64;
3126 #else
3128 #endif
3129  } s;
3134 };
3135 
3139 #ifdef __BIG_ENDIAN_BITFIELD
3141  uint64_t rd_int:8;
3142  uint64_t msi_int:8;
3143 #else
3147 #endif
3148  } s;
3153 };
3154 
3158 #ifdef __BIG_ENDIAN_BITFIELD
3159  uint64_t clr:64;
3160 #else
3162 #endif
3163  } s;
3166 };
3167 
3171 #ifdef __BIG_ENDIAN_BITFIELD
3172  uint64_t clr:64;
3173 #else
3175 #endif
3176  } s;
3179 };
3180 
3184 #ifdef __BIG_ENDIAN_BITFIELD
3185  uint64_t clr:64;
3186 #else
3188 #endif
3189  } s;
3192 };
3193 
3197 #ifdef __BIG_ENDIAN_BITFIELD
3198  uint64_t clr:64;
3199 #else
3201 #endif
3202  } s;
3205 };
3206 
3210 #ifdef __BIG_ENDIAN_BITFIELD
3211  uint64_t set:64;
3212 #else
3213  uint64_t set:64;
3214 #endif
3215  } s;
3218 };
3219 
3223 #ifdef __BIG_ENDIAN_BITFIELD
3224  uint64_t set:64;
3225 #else
3226  uint64_t set:64;
3227 #endif
3228  } s;
3231 };
3232 
3236 #ifdef __BIG_ENDIAN_BITFIELD
3237  uint64_t set:64;
3238 #else
3239  uint64_t set:64;
3240 #endif
3241  } s;
3244 };
3245 
3249 #ifdef __BIG_ENDIAN_BITFIELD
3250  uint64_t set:64;
3251 #else
3252  uint64_t set:64;
3253 #endif
3254  } s;
3257 };
3258 
3262 #ifdef __BIG_ENDIAN_BITFIELD
3264  uint64_t ciu_int:8;
3265  uint64_t msi_int:8;
3266 #else
3270 #endif
3271  } s;
3276 };
3277 
3281 #ifdef __BIG_ENDIAN_BITFIELD
3283  uint64_t p1_ccnt:8;
3284  uint64_t p1_ncnt:8;
3285  uint64_t p1_pcnt:8;
3286  uint64_t p0_ccnt:8;
3287  uint64_t p0_ncnt:8;
3288  uint64_t p0_pcnt:8;
3289 #else
3297 #endif
3298  } s;
3301 };
3302 
3306 #ifdef __BIG_ENDIAN_BITFIELD
3308  uint64_t intr:8;
3309 #else
3312 #endif
3313  } s;
3318 };
3319 
3323 #ifdef __BIG_ENDIAN_BITFIELD
3325  uint64_t intr:8;
3327 #else
3331 #endif
3332  } s;
3337 };
3338 
3342 #ifdef __BIG_ENDIAN_BITFIELD
3344  uint64_t intr:8;
3346 #else
3350 #endif
3351  } s;
3356 };
3357 
3361 #ifdef __BIG_ENDIAN_BITFIELD
3363  uint64_t intr:8;
3365 #else
3369 #endif
3370  } s;
3375 };
3376 
3380 #ifdef __BIG_ENDIAN_BITFIELD
3382  uint64_t timer:22;
3383  uint64_t cnt:32;
3384 #else
3388 #endif
3389  } s;
3392 };
3393 
3397 #ifdef __BIG_ENDIAN_BITFIELD
3398  uint64_t wmark:32;
3399  uint64_t cnt:32;
3400 #else
3403 #endif
3404  } s;
3407 };
3408 
3412 #ifdef __BIG_ENDIAN_BITFIELD
3413  uint64_t addr:61;
3415 #else
3418 #endif
3419  } s;
3422 };
3423 
3427 #ifdef __BIG_ENDIAN_BITFIELD
3428  uint64_t aoff:32;
3429  uint64_t dbell:32;
3430 #else
3433 #endif
3434  } s;
3437 };
3438 
3442 #ifdef __BIG_ENDIAN_BITFIELD
3443  uint64_t max:9;
3444  uint64_t rrp:9;
3445  uint64_t wrp:9;
3446  uint64_t fcnt:5;
3447  uint64_t rsize:32;
3448 #else
3454 #endif
3455  } s;
3458 };
3459 
3463 #ifdef __BIG_ENDIAN_BITFIELD
3465  uint64_t pbp:1;
3467  uint64_t rparmode:2;
3469  uint64_t rskp_len:7;
3471  uint64_t use_ihdr:1;
3473  uint64_t par_mode:2;
3475  uint64_t skp_len:7;
3477 #else
3491 #endif
3492  } s;
3495 };
3496 
3500 #ifdef __BIG_ENDIAN_BITFIELD
3501  uint64_t addr:60;
3503 #else
3506 #endif
3507  } s;
3510 };
3511 
3515 #ifdef __BIG_ENDIAN_BITFIELD
3516  uint64_t aoff:32;
3517  uint64_t dbell:32;
3518 #else
3521 #endif
3522  } s;
3525 };
3526 
3530 #ifdef __BIG_ENDIAN_BITFIELD
3532  uint64_t rsize:32;
3533 #else
3536 #endif
3537  } s;
3540 };
3541 
3545 #ifdef __BIG_ENDIAN_BITFIELD
3547  uint64_t port:32;
3548 #else
3551 #endif
3552  } s;
3555 };
3556 
3560 #ifdef __BIG_ENDIAN_BITFIELD
3562  uint64_t port:32;
3563 #else
3566 #endif
3567  } s;
3570 };
3571 
3575 #ifdef __BIG_ENDIAN_BITFIELD
3576  uint64_t es:64;
3577 #else
3579 #endif
3580  } s;
3583 };
3584 
3588 #ifdef __BIG_ENDIAN_BITFIELD
3590  uint64_t nsr:32;
3591 #else
3594 #endif
3595  } s;
3598 };
3599 
3603 #ifdef __BIG_ENDIAN_BITFIELD
3605  uint64_t ror:32;
3606 #else
3609 #endif
3610  } s;
3613 };
3614 
3618 #ifdef __BIG_ENDIAN_BITFIELD
3620  uint64_t dptr:32;
3621 #else
3624 #endif
3625  } s;
3628 };
3629 
3633 #ifdef __BIG_ENDIAN_BITFIELD
3635  uint64_t bp:32;
3636 #else
3639 #endif
3640  } s;
3643 };
3644 
3648 #ifdef __BIG_ENDIAN_BITFIELD
3650  uint64_t cnt:32;
3651 #else
3654 #endif
3655  } s;
3658 };
3659 
3663 #ifdef __BIG_ENDIAN_BITFIELD
3664  uint64_t wr_cnt:32;
3665  uint64_t rd_cnt:32;
3666 #else
3669 #endif
3670  } s;
3673 };
3674 
3678 #ifdef __BIG_ENDIAN_BITFIELD
3679  uint64_t pp:64;
3680 #else
3682 #endif
3683  } s;
3686 };
3687 
3691 #ifdef __BIG_ENDIAN_BITFIELD
3693  uint64_t pkt_rr:1;
3694  uint64_t pbp_dhi:13;
3695  uint64_t d_nsr:1;
3696  uint64_t d_esr:2;
3697  uint64_t d_ror:1;
3698  uint64_t use_csr:1;
3699  uint64_t nsr:1;
3700  uint64_t esr:2;
3701  uint64_t ror:1;
3702 #else
3713 #endif
3714  } s;
3717 };
3718 
3722 #ifdef __BIG_ENDIAN_BITFIELD
3724  uint64_t enb:32;
3725 #else
3728 #endif
3729  } s;
3732 };
3733 
3737 #ifdef __BIG_ENDIAN_BITFIELD
3738  uint64_t rdsize:64;
3739 #else
3741 #endif
3742  } s;
3745 };
3746 
3750 #ifdef __BIG_ENDIAN_BITFIELD
3752  uint64_t is_64b:32;
3753 #else
3756 #endif
3757  } s;
3760 };
3761 
3765 #ifdef __BIG_ENDIAN_BITFIELD
3767  uint64_t time:22;
3768  uint64_t cnt:32;
3769 #else
3773 #endif
3774  } s;
3777 };
3778 
3782 #ifdef __BIG_ENDIAN_BITFIELD
3784  uint64_t iptr:32;
3785 #else
3788 #endif
3789  } s;
3792 };
3793 
3797 #ifdef __BIG_ENDIAN_BITFIELD
3799  uint64_t bmode:32;
3800 #else
3803 #endif
3804  } s;
3807 };
3808 
3812 #ifdef __BIG_ENDIAN_BITFIELD
3814  uint64_t enb:32;
3815 #else
3818 #endif
3819  } s;
3822 };
3823 
3827 #ifdef __BIG_ENDIAN_BITFIELD
3829  uint64_t wmark:32;
3830 #else
3833 #endif
3834  } s;
3837 };
3838 
3842 #ifdef __BIG_ENDIAN_BITFIELD
3843  uint64_t pp:64;
3844 #else
3846 #endif
3847  } s;
3850 };
3851 
3855 #ifdef __BIG_ENDIAN_BITFIELD
3856  uint64_t in_rst:32;
3857  uint64_t out_rst:32;
3858 #else
3861 #endif
3862  } s;
3865 };
3866 
3870 #ifdef __BIG_ENDIAN_BITFIELD
3871  uint64_t es:64;
3872 #else
3874 #endif
3875  } s;
3878 };
3879 
3883 #ifdef __BIG_ENDIAN_BITFIELD
3885  uint64_t isize:7;
3886  uint64_t bsize:16;
3887 #else
3891 #endif
3892  } s;
3895 };
3896 
3900 #ifdef __BIG_ENDIAN_BITFIELD
3902  uint64_t nsr:32;
3903 #else
3906 #endif
3907  } s;
3910 };
3911 
3915 #ifdef __BIG_ENDIAN_BITFIELD
3917  uint64_t ror:32;
3918 #else
3921 #endif
3922  } s;
3925 };
3926 
3930 #ifdef __BIG_ENDIAN_BITFIELD
3932  uint64_t port:32;
3933 #else
3936 #endif
3937  } s;
3940 };
3941 
3945 #ifdef __BIG_ENDIAN_BITFIELD
3947  uint64_t port:32;
3948 #else
3951 #endif
3952  } s;
3955 };
3956 
3960 #ifdef __BIG_ENDIAN_BITFIELD
3962  uint64_t iob:1;
3963  uint64_t lmc1:1;
3964  uint64_t agl:1;
3966  uint64_t asxpcs1:1;
3967  uint64_t asxpcs0:1;
3969  uint64_t pip:1;
3970  uint64_t spx1:1;
3971  uint64_t spx0:1;
3972  uint64_t lmc0:1;
3973  uint64_t l2c:1;
3974  uint64_t usb1:1;
3975  uint64_t rad:1;
3976  uint64_t usb:1;
3977  uint64_t pow:1;
3978  uint64_t tim:1;
3979  uint64_t pko:1;
3980  uint64_t ipd:1;
3982  uint64_t zip:1;
3983  uint64_t dfa:1;
3984  uint64_t fpa:1;
3985  uint64_t key:1;
3986  uint64_t npei:1;
3987  uint64_t gmx1:1;
3988  uint64_t gmx0:1;
3989  uint64_t mio:1;
3990 #else
4020 #endif
4021  } s;
4026 };
4027 
4031 #ifdef __BIG_ENDIAN_BITFIELD
4032  uint64_t data:64;
4033 #else
4035 #endif
4036  } s;
4041 };
4042 
4046 #ifdef __BIG_ENDIAN_BITFIELD
4047  uint64_t cpl1:12;
4048  uint64_t cpl0:12;
4049  uint64_t arb:1;
4050  uint64_t csr:39;
4051 #else
4056 #endif
4057  } s;
4062 };
4063 
4067 #ifdef __BIG_ENDIAN_BITFIELD
4069  uint64_t npei:1;
4070  uint64_t rac:1;
4071  uint64_t csm1:15;
4072  uint64_t csm0:15;
4073  uint64_t nnp0:8;
4074  uint64_t nnd:8;
4075 #else
4083 #endif
4084  } s;
4089 };
4090 
4094 #ifdef __BIG_ENDIAN_BITFIELD
4096  uint64_t psm1:15;
4097  uint64_t psm0:15;
4098  uint64_t nsm1:13;
4099  uint64_t nsm0:13;
4100 #else
4106 #endif
4107  } s;
4112 };
4113 
4117 #ifdef __BIG_ENDIAN_BITFIELD
4119  uint64_t ld_cmd:2;
4120  uint64_t iobit:1;
4121  uint64_t rd_addr:48;
4122 #else
4127 #endif
4128  } s;
4133 };
4134 
4138 #ifdef __BIG_ENDIAN_BITFIELD
4139  uint64_t rd_data:64;
4140 #else
4142 #endif
4143  } s;
4148 };
4149 
4153 #ifdef __BIG_ENDIAN_BITFIELD
4155  uint64_t iobit:1;
4156  uint64_t wr_addr:46;
4158 #else
4163 #endif
4164  } s;
4169 };
4170 
4174 #ifdef __BIG_ENDIAN_BITFIELD
4175  uint64_t wr_data:64;
4176 #else
4178 #endif
4179  } s;
4184 };
4185 
4189 #ifdef __BIG_ENDIAN_BITFIELD
4191  uint64_t wr_mask:8;
4192 #else
4195 #endif
4196  } s;
4201 };
4202 
4206 #ifdef __BIG_ENDIAN_BITFIELD
4208  uint64_t time:32;
4209 #else
4212 #endif
4213  } s;
4218 };
4219 
4220 #endif