Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cvmx-agl-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_AGL_DEFS_H__
29 #define __CVMX_AGL_DEFS_H__
30 
31 #define CVMX_AGL_GMX_BAD_REG (CVMX_ADD_IO_SEG(0x00011800E0000518ull))
32 #define CVMX_AGL_GMX_BIST (CVMX_ADD_IO_SEG(0x00011800E0000400ull))
33 #define CVMX_AGL_GMX_DRV_CTL (CVMX_ADD_IO_SEG(0x00011800E00007F0ull))
34 #define CVMX_AGL_GMX_INF_MODE (CVMX_ADD_IO_SEG(0x00011800E00007F8ull))
35 #define CVMX_AGL_GMX_PRTX_CFG(offset) (CVMX_ADD_IO_SEG(0x00011800E0000010ull) + ((offset) & 1) * 2048)
36 #define CVMX_AGL_GMX_RXX_ADR_CAM0(offset) (CVMX_ADD_IO_SEG(0x00011800E0000180ull) + ((offset) & 1) * 2048)
37 #define CVMX_AGL_GMX_RXX_ADR_CAM1(offset) (CVMX_ADD_IO_SEG(0x00011800E0000188ull) + ((offset) & 1) * 2048)
38 #define CVMX_AGL_GMX_RXX_ADR_CAM2(offset) (CVMX_ADD_IO_SEG(0x00011800E0000190ull) + ((offset) & 1) * 2048)
39 #define CVMX_AGL_GMX_RXX_ADR_CAM3(offset) (CVMX_ADD_IO_SEG(0x00011800E0000198ull) + ((offset) & 1) * 2048)
40 #define CVMX_AGL_GMX_RXX_ADR_CAM4(offset) (CVMX_ADD_IO_SEG(0x00011800E00001A0ull) + ((offset) & 1) * 2048)
41 #define CVMX_AGL_GMX_RXX_ADR_CAM5(offset) (CVMX_ADD_IO_SEG(0x00011800E00001A8ull) + ((offset) & 1) * 2048)
42 #define CVMX_AGL_GMX_RXX_ADR_CAM_EN(offset) (CVMX_ADD_IO_SEG(0x00011800E0000108ull) + ((offset) & 1) * 2048)
43 #define CVMX_AGL_GMX_RXX_ADR_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000100ull) + ((offset) & 1) * 2048)
44 #define CVMX_AGL_GMX_RXX_DECISION(offset) (CVMX_ADD_IO_SEG(0x00011800E0000040ull) + ((offset) & 1) * 2048)
45 #define CVMX_AGL_GMX_RXX_FRM_CHK(offset) (CVMX_ADD_IO_SEG(0x00011800E0000020ull) + ((offset) & 1) * 2048)
46 #define CVMX_AGL_GMX_RXX_FRM_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000018ull) + ((offset) & 1) * 2048)
47 #define CVMX_AGL_GMX_RXX_FRM_MAX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000030ull) + ((offset) & 1) * 2048)
48 #define CVMX_AGL_GMX_RXX_FRM_MIN(offset) (CVMX_ADD_IO_SEG(0x00011800E0000028ull) + ((offset) & 1) * 2048)
49 #define CVMX_AGL_GMX_RXX_IFG(offset) (CVMX_ADD_IO_SEG(0x00011800E0000058ull) + ((offset) & 1) * 2048)
50 #define CVMX_AGL_GMX_RXX_INT_EN(offset) (CVMX_ADD_IO_SEG(0x00011800E0000008ull) + ((offset) & 1) * 2048)
51 #define CVMX_AGL_GMX_RXX_INT_REG(offset) (CVMX_ADD_IO_SEG(0x00011800E0000000ull) + ((offset) & 1) * 2048)
52 #define CVMX_AGL_GMX_RXX_JABBER(offset) (CVMX_ADD_IO_SEG(0x00011800E0000038ull) + ((offset) & 1) * 2048)
53 #define CVMX_AGL_GMX_RXX_PAUSE_DROP_TIME(offset) (CVMX_ADD_IO_SEG(0x00011800E0000068ull) + ((offset) & 1) * 2048)
54 #define CVMX_AGL_GMX_RXX_RX_INBND(offset) (CVMX_ADD_IO_SEG(0x00011800E0000060ull) + ((offset) & 1) * 2048)
55 #define CVMX_AGL_GMX_RXX_STATS_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000050ull) + ((offset) & 1) * 2048)
56 #define CVMX_AGL_GMX_RXX_STATS_OCTS(offset) (CVMX_ADD_IO_SEG(0x00011800E0000088ull) + ((offset) & 1) * 2048)
57 #define CVMX_AGL_GMX_RXX_STATS_OCTS_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000098ull) + ((offset) & 1) * 2048)
58 #define CVMX_AGL_GMX_RXX_STATS_OCTS_DMAC(offset) (CVMX_ADD_IO_SEG(0x00011800E00000A8ull) + ((offset) & 1) * 2048)
59 #define CVMX_AGL_GMX_RXX_STATS_OCTS_DRP(offset) (CVMX_ADD_IO_SEG(0x00011800E00000B8ull) + ((offset) & 1) * 2048)
60 #define CVMX_AGL_GMX_RXX_STATS_PKTS(offset) (CVMX_ADD_IO_SEG(0x00011800E0000080ull) + ((offset) & 1) * 2048)
61 #define CVMX_AGL_GMX_RXX_STATS_PKTS_BAD(offset) (CVMX_ADD_IO_SEG(0x00011800E00000C0ull) + ((offset) & 1) * 2048)
62 #define CVMX_AGL_GMX_RXX_STATS_PKTS_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000090ull) + ((offset) & 1) * 2048)
63 #define CVMX_AGL_GMX_RXX_STATS_PKTS_DMAC(offset) (CVMX_ADD_IO_SEG(0x00011800E00000A0ull) + ((offset) & 1) * 2048)
64 #define CVMX_AGL_GMX_RXX_STATS_PKTS_DRP(offset) (CVMX_ADD_IO_SEG(0x00011800E00000B0ull) + ((offset) & 1) * 2048)
65 #define CVMX_AGL_GMX_RXX_UDD_SKP(offset) (CVMX_ADD_IO_SEG(0x00011800E0000048ull) + ((offset) & 1) * 2048)
66 #define CVMX_AGL_GMX_RX_BP_DROPX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000420ull) + ((offset) & 1) * 8)
67 #define CVMX_AGL_GMX_RX_BP_OFFX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000460ull) + ((offset) & 1) * 8)
68 #define CVMX_AGL_GMX_RX_BP_ONX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000440ull) + ((offset) & 1) * 8)
69 #define CVMX_AGL_GMX_RX_PRT_INFO (CVMX_ADD_IO_SEG(0x00011800E00004E8ull))
70 #define CVMX_AGL_GMX_RX_TX_STATUS (CVMX_ADD_IO_SEG(0x00011800E00007E8ull))
71 #define CVMX_AGL_GMX_SMACX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000230ull) + ((offset) & 1) * 2048)
72 #define CVMX_AGL_GMX_STAT_BP (CVMX_ADD_IO_SEG(0x00011800E0000520ull))
73 #define CVMX_AGL_GMX_TXX_APPEND(offset) (CVMX_ADD_IO_SEG(0x00011800E0000218ull) + ((offset) & 1) * 2048)
74 #define CVMX_AGL_GMX_TXX_CLK(offset) (CVMX_ADD_IO_SEG(0x00011800E0000208ull) + ((offset) & 1) * 2048)
75 #define CVMX_AGL_GMX_TXX_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000270ull) + ((offset) & 1) * 2048)
76 #define CVMX_AGL_GMX_TXX_MIN_PKT(offset) (CVMX_ADD_IO_SEG(0x00011800E0000240ull) + ((offset) & 1) * 2048)
77 #define CVMX_AGL_GMX_TXX_PAUSE_PKT_INTERVAL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000248ull) + ((offset) & 1) * 2048)
78 #define CVMX_AGL_GMX_TXX_PAUSE_PKT_TIME(offset) (CVMX_ADD_IO_SEG(0x00011800E0000238ull) + ((offset) & 1) * 2048)
79 #define CVMX_AGL_GMX_TXX_PAUSE_TOGO(offset) (CVMX_ADD_IO_SEG(0x00011800E0000258ull) + ((offset) & 1) * 2048)
80 #define CVMX_AGL_GMX_TXX_PAUSE_ZERO(offset) (CVMX_ADD_IO_SEG(0x00011800E0000260ull) + ((offset) & 1) * 2048)
81 #define CVMX_AGL_GMX_TXX_SOFT_PAUSE(offset) (CVMX_ADD_IO_SEG(0x00011800E0000250ull) + ((offset) & 1) * 2048)
82 #define CVMX_AGL_GMX_TXX_STAT0(offset) (CVMX_ADD_IO_SEG(0x00011800E0000280ull) + ((offset) & 1) * 2048)
83 #define CVMX_AGL_GMX_TXX_STAT1(offset) (CVMX_ADD_IO_SEG(0x00011800E0000288ull) + ((offset) & 1) * 2048)
84 #define CVMX_AGL_GMX_TXX_STAT2(offset) (CVMX_ADD_IO_SEG(0x00011800E0000290ull) + ((offset) & 1) * 2048)
85 #define CVMX_AGL_GMX_TXX_STAT3(offset) (CVMX_ADD_IO_SEG(0x00011800E0000298ull) + ((offset) & 1) * 2048)
86 #define CVMX_AGL_GMX_TXX_STAT4(offset) (CVMX_ADD_IO_SEG(0x00011800E00002A0ull) + ((offset) & 1) * 2048)
87 #define CVMX_AGL_GMX_TXX_STAT5(offset) (CVMX_ADD_IO_SEG(0x00011800E00002A8ull) + ((offset) & 1) * 2048)
88 #define CVMX_AGL_GMX_TXX_STAT6(offset) (CVMX_ADD_IO_SEG(0x00011800E00002B0ull) + ((offset) & 1) * 2048)
89 #define CVMX_AGL_GMX_TXX_STAT7(offset) (CVMX_ADD_IO_SEG(0x00011800E00002B8ull) + ((offset) & 1) * 2048)
90 #define CVMX_AGL_GMX_TXX_STAT8(offset) (CVMX_ADD_IO_SEG(0x00011800E00002C0ull) + ((offset) & 1) * 2048)
91 #define CVMX_AGL_GMX_TXX_STAT9(offset) (CVMX_ADD_IO_SEG(0x00011800E00002C8ull) + ((offset) & 1) * 2048)
92 #define CVMX_AGL_GMX_TXX_STATS_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000268ull) + ((offset) & 1) * 2048)
93 #define CVMX_AGL_GMX_TXX_THRESH(offset) (CVMX_ADD_IO_SEG(0x00011800E0000210ull) + ((offset) & 1) * 2048)
94 #define CVMX_AGL_GMX_TX_BP (CVMX_ADD_IO_SEG(0x00011800E00004D0ull))
95 #define CVMX_AGL_GMX_TX_COL_ATTEMPT (CVMX_ADD_IO_SEG(0x00011800E0000498ull))
96 #define CVMX_AGL_GMX_TX_IFG (CVMX_ADD_IO_SEG(0x00011800E0000488ull))
97 #define CVMX_AGL_GMX_TX_INT_EN (CVMX_ADD_IO_SEG(0x00011800E0000508ull))
98 #define CVMX_AGL_GMX_TX_INT_REG (CVMX_ADD_IO_SEG(0x00011800E0000500ull))
99 #define CVMX_AGL_GMX_TX_JAM (CVMX_ADD_IO_SEG(0x00011800E0000490ull))
100 #define CVMX_AGL_GMX_TX_LFSR (CVMX_ADD_IO_SEG(0x00011800E00004F8ull))
101 #define CVMX_AGL_GMX_TX_OVR_BP (CVMX_ADD_IO_SEG(0x00011800E00004C8ull))
102 #define CVMX_AGL_GMX_TX_PAUSE_PKT_DMAC (CVMX_ADD_IO_SEG(0x00011800E00004A0ull))
103 #define CVMX_AGL_GMX_TX_PAUSE_PKT_TYPE (CVMX_ADD_IO_SEG(0x00011800E00004A8ull))
104 #define CVMX_AGL_PRTX_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0002000ull) + ((offset) & 1) * 8)
105 
109 #ifdef __BIG_ENDIAN_BITFIELD
111  uint64_t txpsh1:1;
112  uint64_t txpop1:1;
113  uint64_t ovrflw1:1;
114  uint64_t txpsh:1;
115  uint64_t txpop:1;
116  uint64_t ovrflw:1;
118  uint64_t statovr:1;
120  uint64_t loststat:2;
122  uint64_t out_ovr:2;
124 #else
139 #endif
140  } s;
142 #ifdef __BIG_ENDIAN_BITFIELD
144  uint64_t txpsh1:1;
145  uint64_t txpop1:1;
146  uint64_t ovrflw1:1;
147  uint64_t txpsh:1;
148  uint64_t txpop:1;
149  uint64_t ovrflw:1;
151  uint64_t statovr:1;
153  uint64_t loststat:1;
155  uint64_t out_ovr:2;
157 #else
172 #endif
173  } cn52xx;
176 #ifdef __BIG_ENDIAN_BITFIELD
178  uint64_t txpsh:1;
179  uint64_t txpop:1;
180  uint64_t ovrflw:1;
182  uint64_t statovr:1;
184  uint64_t loststat:1;
186  uint64_t out_ovr:1;
188 #else
200 #endif
201  } cn56xx;
209 };
210 
214 #ifdef __BIG_ENDIAN_BITFIELD
216  uint64_t status:25;
217 #else
220 #endif
221  } s;
223 #ifdef __BIG_ENDIAN_BITFIELD
225  uint64_t status:10;
226 #else
229 #endif
230  } cn52xx;
240 };
241 
245 #ifdef __BIG_ENDIAN_BITFIELD
247  uint64_t byp_en1:1;
249  uint64_t pctl1:5;
251  uint64_t nctl1:5;
253  uint64_t byp_en:1;
255  uint64_t pctl:5;
257  uint64_t nctl:5;
258 #else
271 #endif
272  } s;
276 #ifdef __BIG_ENDIAN_BITFIELD
278  uint64_t byp_en:1;
280  uint64_t pctl:5;
282  uint64_t nctl:5;
283 #else
290 #endif
291  } cn56xx;
293 };
294 
298 #ifdef __BIG_ENDIAN_BITFIELD
300  uint64_t en:1;
302 #else
306 #endif
307  } s;
312 };
313 
317 #ifdef __BIG_ENDIAN_BITFIELD
319  uint64_t tx_idle:1;
320  uint64_t rx_idle:1;
324  uint64_t burst:1;
325  uint64_t tx_en:1;
326  uint64_t rx_en:1;
327  uint64_t slottime:1;
328  uint64_t duplex:1;
329  uint64_t speed:1;
330  uint64_t en:1;
331 #else
345 #endif
346  } s;
348 #ifdef __BIG_ENDIAN_BITFIELD
350  uint64_t tx_en:1;
351  uint64_t rx_en:1;
352  uint64_t slottime:1;
353  uint64_t duplex:1;
354  uint64_t speed:1;
355  uint64_t en:1;
356 #else
364 #endif
365  } cn52xx;
375 };
376 
380 #ifdef __BIG_ENDIAN_BITFIELD
381  uint64_t adr:64;
382 #else
384 #endif
385  } s;
396 };
397 
401 #ifdef __BIG_ENDIAN_BITFIELD
402  uint64_t adr:64;
403 #else
405 #endif
406  } s;
417 };
418 
422 #ifdef __BIG_ENDIAN_BITFIELD
423  uint64_t adr:64;
424 #else
426 #endif
427  } s;
438 };
439 
443 #ifdef __BIG_ENDIAN_BITFIELD
444  uint64_t adr:64;
445 #else
447 #endif
448  } s;
459 };
460 
464 #ifdef __BIG_ENDIAN_BITFIELD
465  uint64_t adr:64;
466 #else
468 #endif
469  } s;
480 };
481 
485 #ifdef __BIG_ENDIAN_BITFIELD
486  uint64_t adr:64;
487 #else
489 #endif
490  } s;
501 };
502 
506 #ifdef __BIG_ENDIAN_BITFIELD
508  uint64_t en:8;
509 #else
512 #endif
513  } s;
524 };
525 
529 #ifdef __BIG_ENDIAN_BITFIELD
531  uint64_t cam_mode:1;
532  uint64_t mcst:2;
533  uint64_t bcst:1;
534 #else
539 #endif
540  } s;
551 };
552 
556 #ifdef __BIG_ENDIAN_BITFIELD
558  uint64_t cnt:5;
559 #else
562 #endif
563  } s;
574 };
575 
579 #ifdef __BIG_ENDIAN_BITFIELD
581  uint64_t niberr:1;
582  uint64_t skperr:1;
583  uint64_t rcverr:1;
584  uint64_t lenerr:1;
585  uint64_t alnerr:1;
586  uint64_t fcserr:1;
587  uint64_t jabber:1;
588  uint64_t maxerr:1;
589  uint64_t carext:1;
590  uint64_t minerr:1;
591 #else
603 #endif
604  } s;
606 #ifdef __BIG_ENDIAN_BITFIELD
608  uint64_t skperr:1;
609  uint64_t rcverr:1;
610  uint64_t lenerr:1;
611  uint64_t alnerr:1;
612  uint64_t fcserr:1;
613  uint64_t jabber:1;
614  uint64_t maxerr:1;
616  uint64_t minerr:1;
617 #else
628 #endif
629  } cn52xx;
639 };
640 
644 #ifdef __BIG_ENDIAN_BITFIELD
646  uint64_t ptp_mode:1;
648  uint64_t null_dis:1;
650  uint64_t pad_len:1;
651  uint64_t vlan_len:1;
652  uint64_t pre_free:1;
653  uint64_t ctl_smac:1;
654  uint64_t ctl_mcst:1;
655  uint64_t ctl_bck:1;
656  uint64_t ctl_drp:1;
657  uint64_t pre_strp:1;
658  uint64_t pre_chk:1;
659 #else
674 #endif
675  } s;
677 #ifdef __BIG_ENDIAN_BITFIELD
680  uint64_t pad_len:1;
681  uint64_t vlan_len:1;
682  uint64_t pre_free:1;
683  uint64_t ctl_smac:1;
684  uint64_t ctl_mcst:1;
685  uint64_t ctl_bck:1;
686  uint64_t ctl_drp:1;
687  uint64_t pre_strp:1;
688  uint64_t pre_chk:1;
689 #else
701 #endif
702  } cn52xx;
712 };
713 
717 #ifdef __BIG_ENDIAN_BITFIELD
719  uint64_t len:16;
720 #else
723 #endif
724  } s;
735 };
736 
740 #ifdef __BIG_ENDIAN_BITFIELD
742  uint64_t len:16;
743 #else
746 #endif
747  } s;
758 };
759 
763 #ifdef __BIG_ENDIAN_BITFIELD
765  uint64_t ifg:4;
766 #else
769 #endif
770  } s;
781 };
782 
786 #ifdef __BIG_ENDIAN_BITFIELD
789  uint64_t phy_dupx:1;
790  uint64_t phy_spd:1;
791  uint64_t phy_link:1;
792  uint64_t ifgerr:1;
793  uint64_t coldet:1;
794  uint64_t falerr:1;
795  uint64_t rsverr:1;
796  uint64_t pcterr:1;
797  uint64_t ovrerr:1;
798  uint64_t niberr:1;
799  uint64_t skperr:1;
800  uint64_t rcverr:1;
801  uint64_t lenerr:1;
802  uint64_t alnerr:1;
803  uint64_t fcserr:1;
804  uint64_t jabber:1;
805  uint64_t maxerr:1;
806  uint64_t carext:1;
807  uint64_t minerr:1;
808 #else
830 #endif
831  } s;
833 #ifdef __BIG_ENDIAN_BITFIELD
837  uint64_t ifgerr:1;
838  uint64_t coldet:1;
839  uint64_t falerr:1;
840  uint64_t rsverr:1;
841  uint64_t pcterr:1;
842  uint64_t ovrerr:1;
844  uint64_t skperr:1;
845  uint64_t rcverr:1;
846  uint64_t lenerr:1;
847  uint64_t alnerr:1;
848  uint64_t fcserr:1;
849  uint64_t jabber:1;
850  uint64_t maxerr:1;
852  uint64_t minerr:1;
853 #else
873 #endif
874  } cn52xx;
884 };
885 
889 #ifdef __BIG_ENDIAN_BITFIELD
892  uint64_t phy_dupx:1;
893  uint64_t phy_spd:1;
894  uint64_t phy_link:1;
895  uint64_t ifgerr:1;
896  uint64_t coldet:1;
897  uint64_t falerr:1;
898  uint64_t rsverr:1;
899  uint64_t pcterr:1;
900  uint64_t ovrerr:1;
901  uint64_t niberr:1;
902  uint64_t skperr:1;
903  uint64_t rcverr:1;
904  uint64_t lenerr:1;
905  uint64_t alnerr:1;
906  uint64_t fcserr:1;
907  uint64_t jabber:1;
908  uint64_t maxerr:1;
909  uint64_t carext:1;
910  uint64_t minerr:1;
911 #else
933 #endif
934  } s;
936 #ifdef __BIG_ENDIAN_BITFIELD
940  uint64_t ifgerr:1;
941  uint64_t coldet:1;
942  uint64_t falerr:1;
943  uint64_t rsverr:1;
944  uint64_t pcterr:1;
945  uint64_t ovrerr:1;
947  uint64_t skperr:1;
948  uint64_t rcverr:1;
949  uint64_t lenerr:1;
950  uint64_t alnerr:1;
951  uint64_t fcserr:1;
952  uint64_t jabber:1;
953  uint64_t maxerr:1;
955  uint64_t minerr:1;
956 #else
976 #endif
977  } cn52xx;
987 };
988 
992 #ifdef __BIG_ENDIAN_BITFIELD
994  uint64_t cnt:16;
995 #else
998 #endif
999  } s;
1010 };
1011 
1015 #ifdef __BIG_ENDIAN_BITFIELD
1017  uint64_t status:16;
1018 #else
1021 #endif
1022  } s;
1033 };
1034 
1038 #ifdef __BIG_ENDIAN_BITFIELD
1040  uint64_t duplex:1;
1041  uint64_t speed:2;
1042  uint64_t status:1;
1043 #else
1048 #endif
1049  } s;
1056 };
1057 
1061 #ifdef __BIG_ENDIAN_BITFIELD
1063  uint64_t rd_clr:1;
1064 #else
1067 #endif
1068  } s;
1079 };
1080 
1084 #ifdef __BIG_ENDIAN_BITFIELD
1086  uint64_t cnt:48;
1087 #else
1090 #endif
1091  } s;
1102 };
1103 
1107 #ifdef __BIG_ENDIAN_BITFIELD
1109  uint64_t cnt:48;
1110 #else
1113 #endif
1114  } s;
1125 };
1126 
1130 #ifdef __BIG_ENDIAN_BITFIELD
1132  uint64_t cnt:48;
1133 #else
1136 #endif
1137  } s;
1148 };
1149 
1153 #ifdef __BIG_ENDIAN_BITFIELD
1155  uint64_t cnt:48;
1156 #else
1159 #endif
1160  } s;
1171 };
1172 
1176 #ifdef __BIG_ENDIAN_BITFIELD
1178  uint64_t cnt:32;
1179 #else
1182 #endif
1183  } s;
1194 };
1195 
1199 #ifdef __BIG_ENDIAN_BITFIELD
1201  uint64_t cnt:32;
1202 #else
1205 #endif
1206  } s;
1217 };
1218 
1222 #ifdef __BIG_ENDIAN_BITFIELD
1224  uint64_t cnt:32;
1225 #else
1228 #endif
1229  } s;
1240 };
1241 
1245 #ifdef __BIG_ENDIAN_BITFIELD
1247  uint64_t cnt:32;
1248 #else
1251 #endif
1252  } s;
1263 };
1264 
1268 #ifdef __BIG_ENDIAN_BITFIELD
1270  uint64_t cnt:32;
1271 #else
1274 #endif
1275  } s;
1286 };
1287 
1291 #ifdef __BIG_ENDIAN_BITFIELD
1293  uint64_t fcssel:1;
1295  uint64_t len:7;
1296 #else
1301 #endif
1302  } s;
1313 };
1314 
1318 #ifdef __BIG_ENDIAN_BITFIELD
1320  uint64_t mark:6;
1321 #else
1324 #endif
1325  } s;
1336 };
1337 
1341 #ifdef __BIG_ENDIAN_BITFIELD
1343  uint64_t mark:6;
1344 #else
1347 #endif
1348  } s;
1359 };
1360 
1364 #ifdef __BIG_ENDIAN_BITFIELD
1366  uint64_t mark:9;
1367 #else
1370 #endif
1371  } s;
1382 };
1383 
1387 #ifdef __BIG_ENDIAN_BITFIELD
1389  uint64_t drop:2;
1391  uint64_t commit:2;
1392 #else
1397 #endif
1398  } s;
1402 #ifdef __BIG_ENDIAN_BITFIELD
1404  uint64_t drop:1;
1406  uint64_t commit:1;
1407 #else
1412 #endif
1413  } cn56xx;
1421 };
1422 
1426 #ifdef __BIG_ENDIAN_BITFIELD
1428  uint64_t tx:2;
1430  uint64_t rx:2;
1431 #else
1436 #endif
1437  } s;
1441 #ifdef __BIG_ENDIAN_BITFIELD
1443  uint64_t tx:1;
1445  uint64_t rx:1;
1446 #else
1451 #endif
1452  } cn56xx;
1460 };
1461 
1465 #ifdef __BIG_ENDIAN_BITFIELD
1467  uint64_t smac:48;
1468 #else
1471 #endif
1472  } s;
1483 };
1484 
1488 #ifdef __BIG_ENDIAN_BITFIELD
1490  uint64_t bp:1;
1491  uint64_t cnt:16;
1492 #else
1496 #endif
1497  } s;
1508 };
1509 
1513 #ifdef __BIG_ENDIAN_BITFIELD
1515  uint64_t force_fcs:1;
1516  uint64_t fcs:1;
1517  uint64_t pad:1;
1518  uint64_t preamble:1;
1519 #else
1525 #endif
1526  } s;
1537 };
1538 
1542 #ifdef __BIG_ENDIAN_BITFIELD
1544  uint64_t clk_cnt:6;
1545 #else
1548 #endif
1549  } s;
1556 };
1557 
1561 #ifdef __BIG_ENDIAN_BITFIELD
1563  uint64_t xsdef_en:1;
1564  uint64_t xscol_en:1;
1565 #else
1569 #endif
1570  } s;
1581 };
1582 
1586 #ifdef __BIG_ENDIAN_BITFIELD
1588  uint64_t min_size:8;
1589 #else
1592 #endif
1593  } s;
1604 };
1605 
1609 #ifdef __BIG_ENDIAN_BITFIELD
1611  uint64_t interval:16;
1612 #else
1615 #endif
1616  } s;
1627 };
1628 
1632 #ifdef __BIG_ENDIAN_BITFIELD
1634  uint64_t time:16;
1635 #else
1638 #endif
1639  } s;
1650 };
1651 
1655 #ifdef __BIG_ENDIAN_BITFIELD
1657  uint64_t time:16;
1658 #else
1661 #endif
1662  } s;
1673 };
1674 
1678 #ifdef __BIG_ENDIAN_BITFIELD
1680  uint64_t send:1;
1681 #else
1684 #endif
1685  } s;
1696 };
1697 
1701 #ifdef __BIG_ENDIAN_BITFIELD
1703  uint64_t time:16;
1704 #else
1707 #endif
1708  } s;
1719 };
1720 
1724 #ifdef __BIG_ENDIAN_BITFIELD
1725  uint64_t xsdef:32;
1726  uint64_t xscol:32;
1727 #else
1730 #endif
1731  } s;
1742 };
1743 
1747 #ifdef __BIG_ENDIAN_BITFIELD
1748  uint64_t scol:32;
1749  uint64_t mcol:32;
1750 #else
1753 #endif
1754  } s;
1765 };
1766 
1770 #ifdef __BIG_ENDIAN_BITFIELD
1772  uint64_t octs:48;
1773 #else
1776 #endif
1777  } s;
1788 };
1789 
1793 #ifdef __BIG_ENDIAN_BITFIELD
1795  uint64_t pkts:32;
1796 #else
1799 #endif
1800  } s;
1811 };
1812 
1816 #ifdef __BIG_ENDIAN_BITFIELD
1817  uint64_t hist1:32;
1818  uint64_t hist0:32;
1819 #else
1822 #endif
1823  } s;
1834 };
1835 
1839 #ifdef __BIG_ENDIAN_BITFIELD
1840  uint64_t hist3:32;
1841  uint64_t hist2:32;
1842 #else
1845 #endif
1846  } s;
1857 };
1858 
1862 #ifdef __BIG_ENDIAN_BITFIELD
1863  uint64_t hist5:32;
1864  uint64_t hist4:32;
1865 #else
1868 #endif
1869  } s;
1880 };
1881 
1885 #ifdef __BIG_ENDIAN_BITFIELD
1886  uint64_t hist7:32;
1887  uint64_t hist6:32;
1888 #else
1891 #endif
1892  } s;
1903 };
1904 
1908 #ifdef __BIG_ENDIAN_BITFIELD
1909  uint64_t mcst:32;
1910  uint64_t bcst:32;
1911 #else
1914 #endif
1915  } s;
1926 };
1927 
1931 #ifdef __BIG_ENDIAN_BITFIELD
1932  uint64_t undflw:32;
1933  uint64_t ctl:32;
1934 #else
1937 #endif
1938  } s;
1949 };
1950 
1954 #ifdef __BIG_ENDIAN_BITFIELD
1956  uint64_t rd_clr:1;
1957 #else
1960 #endif
1961  } s;
1972 };
1973 
1977 #ifdef __BIG_ENDIAN_BITFIELD
1979  uint64_t cnt:6;
1980 #else
1983 #endif
1984  } s;
1995 };
1996 
2000 #ifdef __BIG_ENDIAN_BITFIELD
2002  uint64_t bp:2;
2003 #else
2006 #endif
2007  } s;
2011 #ifdef __BIG_ENDIAN_BITFIELD
2013  uint64_t bp:1;
2014 #else
2017 #endif
2018  } cn56xx;
2026 };
2027 
2031 #ifdef __BIG_ENDIAN_BITFIELD
2033  uint64_t limit:5;
2034 #else
2037 #endif
2038  } s;
2049 };
2050 
2054 #ifdef __BIG_ENDIAN_BITFIELD
2056  uint64_t ifg2:4;
2057  uint64_t ifg1:4;
2058 #else
2062 #endif
2063  } s;
2074 };
2075 
2079 #ifdef __BIG_ENDIAN_BITFIELD
2081  uint64_t ptp_lost:2;
2083  uint64_t late_col:2;
2085  uint64_t xsdef:2;
2087  uint64_t xscol:2;
2089  uint64_t undflw:2;
2091  uint64_t pko_nxa:1;
2092 #else
2105 #endif
2106  } s;
2108 #ifdef __BIG_ENDIAN_BITFIELD
2110  uint64_t late_col:2;
2112  uint64_t xsdef:2;
2114  uint64_t xscol:2;
2116  uint64_t undflw:2;
2118  uint64_t pko_nxa:1;
2119 #else
2130 #endif
2131  } cn52xx;
2134 #ifdef __BIG_ENDIAN_BITFIELD
2136  uint64_t late_col:1;
2138  uint64_t xsdef:1;
2140  uint64_t xscol:1;
2142  uint64_t undflw:1;
2144  uint64_t pko_nxa:1;
2145 #else
2156 #endif
2157  } cn56xx;
2165 };
2166 
2170 #ifdef __BIG_ENDIAN_BITFIELD
2172  uint64_t ptp_lost:2;
2174  uint64_t late_col:2;
2176  uint64_t xsdef:2;
2178  uint64_t xscol:2;
2180  uint64_t undflw:2;
2182  uint64_t pko_nxa:1;
2183 #else
2196 #endif
2197  } s;
2199 #ifdef __BIG_ENDIAN_BITFIELD
2201  uint64_t late_col:2;
2203  uint64_t xsdef:2;
2205  uint64_t xscol:2;
2207  uint64_t undflw:2;
2209  uint64_t pko_nxa:1;
2210 #else
2221 #endif
2222  } cn52xx;
2225 #ifdef __BIG_ENDIAN_BITFIELD
2227  uint64_t late_col:1;
2229  uint64_t xsdef:1;
2231  uint64_t xscol:1;
2233  uint64_t undflw:1;
2235  uint64_t pko_nxa:1;
2236 #else
2247 #endif
2248  } cn56xx;
2256 };
2257 
2261 #ifdef __BIG_ENDIAN_BITFIELD
2263  uint64_t jam:8;
2264 #else
2267 #endif
2268  } s;
2279 };
2280 
2284 #ifdef __BIG_ENDIAN_BITFIELD
2286  uint64_t lfsr:16;
2287 #else
2290 #endif
2291  } s;
2302 };
2303 
2307 #ifdef __BIG_ENDIAN_BITFIELD
2309  uint64_t en:2;
2311  uint64_t bp:2;
2313  uint64_t ign_full:2;
2314 #else
2321 #endif
2322  } s;
2326 #ifdef __BIG_ENDIAN_BITFIELD
2328  uint64_t en:1;
2330  uint64_t bp:1;
2332  uint64_t ign_full:1;
2333 #else
2340 #endif
2341  } cn56xx;
2349 };
2350 
2354 #ifdef __BIG_ENDIAN_BITFIELD
2356  uint64_t dmac:48;
2357 #else
2360 #endif
2361  } s;
2372 };
2373 
2377 #ifdef __BIG_ENDIAN_BITFIELD
2379  uint64_t type:16;
2380 #else
2383 #endif
2384  } s;
2395 };
2396 
2400 #ifdef __BIG_ENDIAN_BITFIELD
2401  uint64_t drv_byp:1;
2403  uint64_t cmp_pctl:6;
2405  uint64_t cmp_nctl:6;
2407  uint64_t drv_pctl:6;
2409  uint64_t drv_nctl:6;
2411  uint64_t clk_set:5;
2412  uint64_t clkrx_byp:1;
2414  uint64_t clkrx_set:5;
2415  uint64_t clktx_byp:1;
2417  uint64_t clktx_set:5;
2419  uint64_t dllrst:1;
2420  uint64_t comp:1;
2421  uint64_t enable:1;
2422  uint64_t clkrst:1;
2423  uint64_t mode:1;
2424 #else
2448 #endif
2449  } s;
2456 };
2457 
2458 #endif