Go to the documentation of this file.
28 #ifndef __CVMX_L2C_DEFS_H__
29 #define __CVMX_L2C_DEFS_H__
31 #define CVMX_L2C_BIG_CTL (CVMX_ADD_IO_SEG(0x0001180080800030ull))
32 #define CVMX_L2C_BST (CVMX_ADD_IO_SEG(0x00011800808007F8ull))
33 #define CVMX_L2C_BST0 (CVMX_ADD_IO_SEG(0x00011800800007F8ull))
34 #define CVMX_L2C_BST1 (CVMX_ADD_IO_SEG(0x00011800800007F0ull))
35 #define CVMX_L2C_BST2 (CVMX_ADD_IO_SEG(0x00011800800007E8ull))
36 #define CVMX_L2C_BST_MEMX(block_id) (CVMX_ADD_IO_SEG(0x0001180080C007F8ull) + ((block_id) & 3) * 0x40000ull)
37 #define CVMX_L2C_BST_TDTX(block_id) (CVMX_ADD_IO_SEG(0x0001180080A007F0ull) + ((block_id) & 3) * 0x40000ull)
38 #define CVMX_L2C_BST_TTGX(block_id) (CVMX_ADD_IO_SEG(0x0001180080A007F8ull) + ((block_id) & 3) * 0x40000ull)
39 #define CVMX_L2C_CFG (CVMX_ADD_IO_SEG(0x0001180080000000ull))
40 #define CVMX_L2C_COP0_MAPX(offset) (CVMX_ADD_IO_SEG(0x0001180080940000ull) + ((offset) & 16383) * 8)
41 #define CVMX_L2C_CTL (CVMX_ADD_IO_SEG(0x0001180080800000ull))
42 #define CVMX_L2C_DBG (CVMX_ADD_IO_SEG(0x0001180080000030ull))
43 #define CVMX_L2C_DUT (CVMX_ADD_IO_SEG(0x0001180080000050ull))
44 #define CVMX_L2C_DUT_MAPX(offset) (CVMX_ADD_IO_SEG(0x0001180080E00000ull) + ((offset) & 8191) * 8)
45 #define CVMX_L2C_ERR_TDTX(block_id) (CVMX_ADD_IO_SEG(0x0001180080A007E0ull) + ((block_id) & 3) * 0x40000ull)
46 #define CVMX_L2C_ERR_TTGX(block_id) (CVMX_ADD_IO_SEG(0x0001180080A007E8ull) + ((block_id) & 3) * 0x40000ull)
47 #define CVMX_L2C_ERR_VBFX(block_id) (CVMX_ADD_IO_SEG(0x0001180080C007F0ull) + ((block_id) & 3) * 0x40000ull)
48 #define CVMX_L2C_ERR_XMC (CVMX_ADD_IO_SEG(0x00011800808007D8ull))
49 #define CVMX_L2C_GRPWRR0 (CVMX_ADD_IO_SEG(0x00011800800000C8ull))
50 #define CVMX_L2C_GRPWRR1 (CVMX_ADD_IO_SEG(0x00011800800000D0ull))
51 #define CVMX_L2C_INT_EN (CVMX_ADD_IO_SEG(0x0001180080000100ull))
52 #define CVMX_L2C_INT_ENA (CVMX_ADD_IO_SEG(0x0001180080800020ull))
53 #define CVMX_L2C_INT_REG (CVMX_ADD_IO_SEG(0x0001180080800018ull))
54 #define CVMX_L2C_INT_STAT (CVMX_ADD_IO_SEG(0x00011800800000F8ull))
55 #define CVMX_L2C_IOCX_PFC(block_id) (CVMX_ADD_IO_SEG(0x0001180080800420ull))
56 #define CVMX_L2C_IORX_PFC(block_id) (CVMX_ADD_IO_SEG(0x0001180080800428ull))
57 #define CVMX_L2C_LCKBASE (CVMX_ADD_IO_SEG(0x0001180080000058ull))
58 #define CVMX_L2C_LCKOFF (CVMX_ADD_IO_SEG(0x0001180080000060ull))
59 #define CVMX_L2C_LFB0 (CVMX_ADD_IO_SEG(0x0001180080000038ull))
60 #define CVMX_L2C_LFB1 (CVMX_ADD_IO_SEG(0x0001180080000040ull))
61 #define CVMX_L2C_LFB2 (CVMX_ADD_IO_SEG(0x0001180080000048ull))
62 #define CVMX_L2C_LFB3 (CVMX_ADD_IO_SEG(0x00011800800000B8ull))
63 #define CVMX_L2C_OOB (CVMX_ADD_IO_SEG(0x00011800800000D8ull))
64 #define CVMX_L2C_OOB1 (CVMX_ADD_IO_SEG(0x00011800800000E0ull))
65 #define CVMX_L2C_OOB2 (CVMX_ADD_IO_SEG(0x00011800800000E8ull))
66 #define CVMX_L2C_OOB3 (CVMX_ADD_IO_SEG(0x00011800800000F0ull))
67 #define CVMX_L2C_PFC0 CVMX_L2C_PFCX(0)
68 #define CVMX_L2C_PFC1 CVMX_L2C_PFCX(1)
69 #define CVMX_L2C_PFC2 CVMX_L2C_PFCX(2)
70 #define CVMX_L2C_PFC3 CVMX_L2C_PFCX(3)
71 #define CVMX_L2C_PFCTL (CVMX_ADD_IO_SEG(0x0001180080000090ull))
72 #define CVMX_L2C_PFCX(offset) (CVMX_ADD_IO_SEG(0x0001180080000098ull) + ((offset) & 3) * 8)
73 #define CVMX_L2C_PPGRP (CVMX_ADD_IO_SEG(0x00011800800000C0ull))
74 #define CVMX_L2C_QOS_IOBX(offset) (CVMX_ADD_IO_SEG(0x0001180080880200ull) + ((offset) & 1) * 8)
75 #define CVMX_L2C_QOS_PPX(offset) (CVMX_ADD_IO_SEG(0x0001180080880000ull) + ((offset) & 31) * 8)
76 #define CVMX_L2C_QOS_WGT (CVMX_ADD_IO_SEG(0x0001180080800008ull))
77 #define CVMX_L2C_RSCX_PFC(offset) (CVMX_ADD_IO_SEG(0x0001180080800410ull) + ((offset) & 3) * 64)
78 #define CVMX_L2C_RSDX_PFC(offset) (CVMX_ADD_IO_SEG(0x0001180080800418ull) + ((offset) & 3) * 64)
79 #define CVMX_L2C_SPAR0 (CVMX_ADD_IO_SEG(0x0001180080000068ull))
80 #define CVMX_L2C_SPAR1 (CVMX_ADD_IO_SEG(0x0001180080000070ull))
81 #define CVMX_L2C_SPAR2 (CVMX_ADD_IO_SEG(0x0001180080000078ull))
82 #define CVMX_L2C_SPAR3 (CVMX_ADD_IO_SEG(0x0001180080000080ull))
83 #define CVMX_L2C_SPAR4 (CVMX_ADD_IO_SEG(0x0001180080000088ull))
84 #define CVMX_L2C_TADX_ECC0(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00018ull) + ((block_id) & 3) * 0x40000ull)
85 #define CVMX_L2C_TADX_ECC1(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00020ull) + ((block_id) & 3) * 0x40000ull)
86 #define CVMX_L2C_TADX_IEN(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00000ull) + ((block_id) & 3) * 0x40000ull)
87 #define CVMX_L2C_TADX_INT(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00028ull) + ((block_id) & 3) * 0x40000ull)
88 #define CVMX_L2C_TADX_PFC0(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00400ull) + ((block_id) & 3) * 0x40000ull)
89 #define CVMX_L2C_TADX_PFC1(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00408ull) + ((block_id) & 3) * 0x40000ull)
90 #define CVMX_L2C_TADX_PFC2(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00410ull) + ((block_id) & 3) * 0x40000ull)
91 #define CVMX_L2C_TADX_PFC3(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00418ull) + ((block_id) & 3) * 0x40000ull)
92 #define CVMX_L2C_TADX_PRF(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00008ull) + ((block_id) & 3) * 0x40000ull)
93 #define CVMX_L2C_TADX_TAG(block_id) (CVMX_ADD_IO_SEG(0x0001180080A00010ull) + ((block_id) & 3) * 0x40000ull)
94 #define CVMX_L2C_VER_ID (CVMX_ADD_IO_SEG(0x00011800808007E0ull))
95 #define CVMX_L2C_VER_IOB (CVMX_ADD_IO_SEG(0x00011800808007F0ull))
96 #define CVMX_L2C_VER_MSC (CVMX_ADD_IO_SEG(0x00011800808007D0ull))
97 #define CVMX_L2C_VER_PP (CVMX_ADD_IO_SEG(0x00011800808007E8ull))
98 #define CVMX_L2C_VIRTID_IOBX(offset) (CVMX_ADD_IO_SEG(0x00011800808C0200ull) + ((offset) & 1) * 8)
99 #define CVMX_L2C_VIRTID_PPX(offset) (CVMX_ADD_IO_SEG(0x00011800808C0000ull) + ((offset) & 31) * 8)
100 #define CVMX_L2C_VRT_CTL (CVMX_ADD_IO_SEG(0x0001180080800010ull))
101 #define CVMX_L2C_VRT_MEMX(offset) (CVMX_ADD_IO_SEG(0x0001180080900000ull) + ((offset) & 1023) * 8)
102 #define CVMX_L2C_WPAR_IOBX(offset) (CVMX_ADD_IO_SEG(0x0001180080840200ull) + ((offset) & 1) * 8)
103 #define CVMX_L2C_WPAR_PPX(offset) (CVMX_ADD_IO_SEG(0x0001180080840000ull) + ((offset) & 31) * 8)
104 #define CVMX_L2C_XMCX_PFC(offset) (CVMX_ADD_IO_SEG(0x0001180080800400ull) + ((offset) & 3) * 64)
105 #define CVMX_L2C_XMC_CMD (CVMX_ADD_IO_SEG(0x0001180080800028ull))
106 #define CVMX_L2C_XMDX_PFC(offset) (CVMX_ADD_IO_SEG(0x0001180080800408ull) + ((offset) & 3) * 64)
111 #ifdef __BIG_ENDIAN_BITFIELD
134 #ifdef __BIG_ENDIAN_BITFIELD
157 #ifdef __BIG_ENDIAN_BITFIELD
186 #ifdef __BIG_ENDIAN_BITFIELD
216 #ifdef __BIG_ENDIAN_BITFIELD
252 #ifdef __BIG_ENDIAN_BITFIELD
271 #ifdef __BIG_ENDIAN_BITFIELD
290 #ifdef __BIG_ENDIAN_BITFIELD
309 #ifdef __BIG_ENDIAN_BITFIELD
325 #ifdef __BIG_ENDIAN_BITFIELD
356 #ifdef __BIG_ENDIAN_BITFIELD
365 #ifdef __BIG_ENDIAN_BITFIELD
383 #ifdef __BIG_ENDIAN_BITFIELD
400 #ifdef __BIG_ENDIAN_BITFIELD
424 #ifdef __BIG_ENDIAN_BITFIELD
458 #ifdef __BIG_ENDIAN_BITFIELD
477 #ifdef __BIG_ENDIAN_BITFIELD
499 #ifdef __BIG_ENDIAN_BITFIELD
524 #ifdef __BIG_ENDIAN_BITFIELD
552 #ifdef __BIG_ENDIAN_BITFIELD
578 #ifdef __BIG_ENDIAN_BITFIELD
595 #ifdef __BIG_ENDIAN_BITFIELD
616 #ifdef __BIG_ENDIAN_BITFIELD
638 #ifdef __BIG_ENDIAN_BITFIELD
673 #ifdef __BIG_ENDIAN_BITFIELD
699 #ifdef __BIG_ENDIAN_BITFIELD
732 #ifdef __BIG_ENDIAN_BITFIELD
763 #ifdef __BIG_ENDIAN_BITFIELD
792 #ifdef __BIG_ENDIAN_BITFIELD
810 #ifdef __BIG_ENDIAN_BITFIELD
847 #ifdef __BIG_ENDIAN_BITFIELD
882 #ifdef __BIG_ENDIAN_BITFIELD
915 #ifdef __BIG_ENDIAN_BITFIELD
950 #ifdef __BIG_ENDIAN_BITFIELD
971 #ifdef __BIG_ENDIAN_BITFIELD
996 #ifdef __BIG_ENDIAN_BITFIELD
1023 #ifdef __BIG_ENDIAN_BITFIELD
1046 #ifdef __BIG_ENDIAN_BITFIELD
1078 #ifdef __BIG_ENDIAN_BITFIELD
1108 #ifdef __BIG_ENDIAN_BITFIELD
1132 #ifdef __BIG_ENDIAN_BITFIELD
1155 #ifdef __BIG_ENDIAN_BITFIELD
1178 #ifdef __BIG_ENDIAN_BITFIELD
1210 #ifdef __BIG_ENDIAN_BITFIELD
1233 #ifdef __BIG_ENDIAN_BITFIELD
1256 #ifdef __BIG_ENDIAN_BITFIELD
1288 #ifdef __BIG_ENDIAN_BITFIELD
1316 #ifdef __BIG_ENDIAN_BITFIELD
1331 #ifdef __BIG_ENDIAN_BITFIELD
1348 #ifdef __BIG_ENDIAN_BITFIELD
1370 #ifdef __BIG_ENDIAN_BITFIELD
1387 #ifdef __BIG_ENDIAN_BITFIELD
1404 #ifdef __BIG_ENDIAN_BITFIELD
1437 #ifdef __BIG_ENDIAN_BITFIELD
1462 #ifdef __BIG_ENDIAN_BITFIELD
1489 #ifdef __BIG_ENDIAN_BITFIELD
1522 #ifdef __BIG_ENDIAN_BITFIELD
1550 #ifdef __BIG_ENDIAN_BITFIELD
1581 #ifdef __BIG_ENDIAN_BITFIELD
1614 #ifdef __BIG_ENDIAN_BITFIELD
1632 #ifdef __BIG_ENDIAN_BITFIELD
1650 #ifdef __BIG_ENDIAN_BITFIELD
1678 #ifdef __BIG_ENDIAN_BITFIELD
1702 #ifdef __BIG_ENDIAN_BITFIELD
1735 #ifdef __BIG_ENDIAN_BITFIELD
1774 #ifdef __BIG_ENDIAN_BITFIELD
1815 #ifdef __BIG_ENDIAN_BITFIELD
1862 #ifdef __BIG_ENDIAN_BITFIELD
1920 #ifdef __BIG_ENDIAN_BITFIELD
1927 #ifdef __BIG_ENDIAN_BITFIELD
1938 #ifdef __BIG_ENDIAN_BITFIELD
1951 #ifdef __BIG_ENDIAN_BITFIELD
1962 #ifdef __BIG_ENDIAN_BITFIELD
1974 #ifdef __BIG_ENDIAN_BITFIELD
1992 #ifdef __BIG_ENDIAN_BITFIELD
2003 #ifdef __BIG_ENDIAN_BITFIELD
2016 #ifdef __BIG_ENDIAN_BITFIELD
2042 #ifdef __BIG_ENDIAN_BITFIELD
2061 #ifdef __BIG_ENDIAN_BITFIELD
2086 #ifdef __BIG_ENDIAN_BITFIELD
2111 #ifdef __BIG_ENDIAN_BITFIELD
2136 #ifdef __BIG_ENDIAN_BITFIELD
2160 #ifdef __BIG_ENDIAN_BITFIELD
2214 #ifdef __BIG_ENDIAN_BITFIELD
2245 #ifdef __BIG_ENDIAN_BITFIELD
2267 #ifdef __BIG_ENDIAN_BITFIELD
2280 #ifdef __BIG_ENDIAN_BITFIELD
2303 #ifdef __BIG_ENDIAN_BITFIELD
2312 #ifdef __BIG_ENDIAN_BITFIELD
2331 #ifdef __BIG_ENDIAN_BITFIELD
2352 #ifdef __BIG_ENDIAN_BITFIELD
2377 #ifdef __BIG_ENDIAN_BITFIELD
2395 #ifdef __BIG_ENDIAN_BITFIELD
2413 #ifdef __BIG_ENDIAN_BITFIELD
2428 #ifdef __BIG_ENDIAN_BITFIELD
2437 #ifdef __BIG_ENDIAN_BITFIELD
2452 #ifdef __BIG_ENDIAN_BITFIELD
2473 #ifdef __BIG_ENDIAN_BITFIELD
2498 #ifdef __BIG_ENDIAN_BITFIELD
2523 #ifdef __BIG_ENDIAN_BITFIELD
2546 #ifdef __BIG_ENDIAN_BITFIELD
2555 #ifdef __BIG_ENDIAN_BITFIELD
2578 #ifdef __BIG_ENDIAN_BITFIELD
2610 #ifdef __BIG_ENDIAN_BITFIELD
2642 #ifdef __BIG_ENDIAN_BITFIELD
2669 #ifdef __BIG_ENDIAN_BITFIELD
2698 #ifdef __BIG_ENDIAN_BITFIELD
2733 #ifdef __BIG_ENDIAN_BITFIELD
2751 #ifdef __BIG_ENDIAN_BITFIELD
2769 #ifdef __BIG_ENDIAN_BITFIELD
2787 #ifdef __BIG_ENDIAN_BITFIELD
2805 #ifdef __BIG_ENDIAN_BITFIELD
2831 #ifdef __BIG_ENDIAN_BITFIELD
2865 #ifdef __BIG_ENDIAN_BITFIELD
2883 #ifdef __BIG_ENDIAN_BITFIELD
2892 #ifdef __BIG_ENDIAN_BITFIELD
2911 #ifdef __BIG_ENDIAN_BITFIELD
2932 #ifdef __BIG_ENDIAN_BITFIELD
2941 #ifdef __BIG_ENDIAN_BITFIELD
2950 #ifdef __BIG_ENDIAN_BITFIELD
2960 #ifdef __BIG_ENDIAN_BITFIELD
2976 #ifdef __BIG_ENDIAN_BITFIELD
3000 #ifdef __BIG_ENDIAN_BITFIELD
3020 #ifdef __BIG_ENDIAN_BITFIELD
3048 #ifdef __BIG_ENDIAN_BITFIELD
3070 #ifdef __BIG_ENDIAN_BITFIELD
3090 #ifdef __BIG_ENDIAN_BITFIELD
3110 #ifdef __BIG_ENDIAN_BITFIELD
3128 #ifdef __BIG_ENDIAN_BITFIELD
3152 #ifdef __BIG_ENDIAN_BITFIELD