Go to the documentation of this file.
28 #ifndef __CVMX_AGL_DEFS_H__
29 #define __CVMX_AGL_DEFS_H__
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)
109 #ifdef __BIG_ENDIAN_BITFIELD
142 #ifdef __BIG_ENDIAN_BITFIELD
176 #ifdef __BIG_ENDIAN_BITFIELD
214 #ifdef __BIG_ENDIAN_BITFIELD
223 #ifdef __BIG_ENDIAN_BITFIELD
245 #ifdef __BIG_ENDIAN_BITFIELD
276 #ifdef __BIG_ENDIAN_BITFIELD
298 #ifdef __BIG_ENDIAN_BITFIELD
317 #ifdef __BIG_ENDIAN_BITFIELD
348 #ifdef __BIG_ENDIAN_BITFIELD
380 #ifdef __BIG_ENDIAN_BITFIELD
401 #ifdef __BIG_ENDIAN_BITFIELD
422 #ifdef __BIG_ENDIAN_BITFIELD
443 #ifdef __BIG_ENDIAN_BITFIELD
464 #ifdef __BIG_ENDIAN_BITFIELD
485 #ifdef __BIG_ENDIAN_BITFIELD
506 #ifdef __BIG_ENDIAN_BITFIELD
529 #ifdef __BIG_ENDIAN_BITFIELD
556 #ifdef __BIG_ENDIAN_BITFIELD
579 #ifdef __BIG_ENDIAN_BITFIELD
606 #ifdef __BIG_ENDIAN_BITFIELD
644 #ifdef __BIG_ENDIAN_BITFIELD
677 #ifdef __BIG_ENDIAN_BITFIELD
717 #ifdef __BIG_ENDIAN_BITFIELD
740 #ifdef __BIG_ENDIAN_BITFIELD
763 #ifdef __BIG_ENDIAN_BITFIELD
786 #ifdef __BIG_ENDIAN_BITFIELD
833 #ifdef __BIG_ENDIAN_BITFIELD
889 #ifdef __BIG_ENDIAN_BITFIELD
936 #ifdef __BIG_ENDIAN_BITFIELD
992 #ifdef __BIG_ENDIAN_BITFIELD
1015 #ifdef __BIG_ENDIAN_BITFIELD
1038 #ifdef __BIG_ENDIAN_BITFIELD
1061 #ifdef __BIG_ENDIAN_BITFIELD
1084 #ifdef __BIG_ENDIAN_BITFIELD
1107 #ifdef __BIG_ENDIAN_BITFIELD
1130 #ifdef __BIG_ENDIAN_BITFIELD
1153 #ifdef __BIG_ENDIAN_BITFIELD
1176 #ifdef __BIG_ENDIAN_BITFIELD
1199 #ifdef __BIG_ENDIAN_BITFIELD
1222 #ifdef __BIG_ENDIAN_BITFIELD
1245 #ifdef __BIG_ENDIAN_BITFIELD
1268 #ifdef __BIG_ENDIAN_BITFIELD
1291 #ifdef __BIG_ENDIAN_BITFIELD
1318 #ifdef __BIG_ENDIAN_BITFIELD
1341 #ifdef __BIG_ENDIAN_BITFIELD
1364 #ifdef __BIG_ENDIAN_BITFIELD
1387 #ifdef __BIG_ENDIAN_BITFIELD
1402 #ifdef __BIG_ENDIAN_BITFIELD
1426 #ifdef __BIG_ENDIAN_BITFIELD
1441 #ifdef __BIG_ENDIAN_BITFIELD
1465 #ifdef __BIG_ENDIAN_BITFIELD
1488 #ifdef __BIG_ENDIAN_BITFIELD
1513 #ifdef __BIG_ENDIAN_BITFIELD
1542 #ifdef __BIG_ENDIAN_BITFIELD
1561 #ifdef __BIG_ENDIAN_BITFIELD
1586 #ifdef __BIG_ENDIAN_BITFIELD
1609 #ifdef __BIG_ENDIAN_BITFIELD
1632 #ifdef __BIG_ENDIAN_BITFIELD
1655 #ifdef __BIG_ENDIAN_BITFIELD
1678 #ifdef __BIG_ENDIAN_BITFIELD
1701 #ifdef __BIG_ENDIAN_BITFIELD
1724 #ifdef __BIG_ENDIAN_BITFIELD
1747 #ifdef __BIG_ENDIAN_BITFIELD
1770 #ifdef __BIG_ENDIAN_BITFIELD
1793 #ifdef __BIG_ENDIAN_BITFIELD
1816 #ifdef __BIG_ENDIAN_BITFIELD
1839 #ifdef __BIG_ENDIAN_BITFIELD
1862 #ifdef __BIG_ENDIAN_BITFIELD
1885 #ifdef __BIG_ENDIAN_BITFIELD
1908 #ifdef __BIG_ENDIAN_BITFIELD
1931 #ifdef __BIG_ENDIAN_BITFIELD
1954 #ifdef __BIG_ENDIAN_BITFIELD
1977 #ifdef __BIG_ENDIAN_BITFIELD
2000 #ifdef __BIG_ENDIAN_BITFIELD
2011 #ifdef __BIG_ENDIAN_BITFIELD
2031 #ifdef __BIG_ENDIAN_BITFIELD
2054 #ifdef __BIG_ENDIAN_BITFIELD
2079 #ifdef __BIG_ENDIAN_BITFIELD
2108 #ifdef __BIG_ENDIAN_BITFIELD
2134 #ifdef __BIG_ENDIAN_BITFIELD
2170 #ifdef __BIG_ENDIAN_BITFIELD
2199 #ifdef __BIG_ENDIAN_BITFIELD
2225 #ifdef __BIG_ENDIAN_BITFIELD
2261 #ifdef __BIG_ENDIAN_BITFIELD
2284 #ifdef __BIG_ENDIAN_BITFIELD
2307 #ifdef __BIG_ENDIAN_BITFIELD
2326 #ifdef __BIG_ENDIAN_BITFIELD
2354 #ifdef __BIG_ENDIAN_BITFIELD
2377 #ifdef __BIG_ENDIAN_BITFIELD
2400 #ifdef __BIG_ENDIAN_BITFIELD