Go to the documentation of this file.
28 #ifndef __CVMX_PKO_DEFS_H__
29 #define __CVMX_PKO_DEFS_H__
31 #define CVMX_PKO_MEM_COUNT0 (CVMX_ADD_IO_SEG(0x0001180050001080ull))
32 #define CVMX_PKO_MEM_COUNT1 (CVMX_ADD_IO_SEG(0x0001180050001088ull))
33 #define CVMX_PKO_MEM_DEBUG0 (CVMX_ADD_IO_SEG(0x0001180050001100ull))
34 #define CVMX_PKO_MEM_DEBUG1 (CVMX_ADD_IO_SEG(0x0001180050001108ull))
35 #define CVMX_PKO_MEM_DEBUG10 (CVMX_ADD_IO_SEG(0x0001180050001150ull))
36 #define CVMX_PKO_MEM_DEBUG11 (CVMX_ADD_IO_SEG(0x0001180050001158ull))
37 #define CVMX_PKO_MEM_DEBUG12 (CVMX_ADD_IO_SEG(0x0001180050001160ull))
38 #define CVMX_PKO_MEM_DEBUG13 (CVMX_ADD_IO_SEG(0x0001180050001168ull))
39 #define CVMX_PKO_MEM_DEBUG14 (CVMX_ADD_IO_SEG(0x0001180050001170ull))
40 #define CVMX_PKO_MEM_DEBUG2 (CVMX_ADD_IO_SEG(0x0001180050001110ull))
41 #define CVMX_PKO_MEM_DEBUG3 (CVMX_ADD_IO_SEG(0x0001180050001118ull))
42 #define CVMX_PKO_MEM_DEBUG4 (CVMX_ADD_IO_SEG(0x0001180050001120ull))
43 #define CVMX_PKO_MEM_DEBUG5 (CVMX_ADD_IO_SEG(0x0001180050001128ull))
44 #define CVMX_PKO_MEM_DEBUG6 (CVMX_ADD_IO_SEG(0x0001180050001130ull))
45 #define CVMX_PKO_MEM_DEBUG7 (CVMX_ADD_IO_SEG(0x0001180050001138ull))
46 #define CVMX_PKO_MEM_DEBUG8 (CVMX_ADD_IO_SEG(0x0001180050001140ull))
47 #define CVMX_PKO_MEM_DEBUG9 (CVMX_ADD_IO_SEG(0x0001180050001148ull))
48 #define CVMX_PKO_MEM_IPORT_PTRS (CVMX_ADD_IO_SEG(0x0001180050001030ull))
49 #define CVMX_PKO_MEM_IPORT_QOS (CVMX_ADD_IO_SEG(0x0001180050001038ull))
50 #define CVMX_PKO_MEM_IQUEUE_PTRS (CVMX_ADD_IO_SEG(0x0001180050001040ull))
51 #define CVMX_PKO_MEM_IQUEUE_QOS (CVMX_ADD_IO_SEG(0x0001180050001048ull))
52 #define CVMX_PKO_MEM_PORT_PTRS (CVMX_ADD_IO_SEG(0x0001180050001010ull))
53 #define CVMX_PKO_MEM_PORT_QOS (CVMX_ADD_IO_SEG(0x0001180050001018ull))
54 #define CVMX_PKO_MEM_PORT_RATE0 (CVMX_ADD_IO_SEG(0x0001180050001020ull))
55 #define CVMX_PKO_MEM_PORT_RATE1 (CVMX_ADD_IO_SEG(0x0001180050001028ull))
56 #define CVMX_PKO_MEM_QUEUE_PTRS (CVMX_ADD_IO_SEG(0x0001180050001000ull))
57 #define CVMX_PKO_MEM_QUEUE_QOS (CVMX_ADD_IO_SEG(0x0001180050001008ull))
58 #define CVMX_PKO_MEM_THROTTLE_INT (CVMX_ADD_IO_SEG(0x0001180050001058ull))
59 #define CVMX_PKO_MEM_THROTTLE_PIPE (CVMX_ADD_IO_SEG(0x0001180050001050ull))
60 #define CVMX_PKO_REG_BIST_RESULT (CVMX_ADD_IO_SEG(0x0001180050000080ull))
61 #define CVMX_PKO_REG_CMD_BUF (CVMX_ADD_IO_SEG(0x0001180050000010ull))
62 #define CVMX_PKO_REG_CRC_CTLX(offset) (CVMX_ADD_IO_SEG(0x0001180050000028ull) + ((offset) & 1) * 8)
63 #define CVMX_PKO_REG_CRC_ENABLE (CVMX_ADD_IO_SEG(0x0001180050000020ull))
64 #define CVMX_PKO_REG_CRC_IVX(offset) (CVMX_ADD_IO_SEG(0x0001180050000038ull) + ((offset) & 1) * 8)
65 #define CVMX_PKO_REG_DEBUG0 (CVMX_ADD_IO_SEG(0x0001180050000098ull))
66 #define CVMX_PKO_REG_DEBUG1 (CVMX_ADD_IO_SEG(0x00011800500000A0ull))
67 #define CVMX_PKO_REG_DEBUG2 (CVMX_ADD_IO_SEG(0x00011800500000A8ull))
68 #define CVMX_PKO_REG_DEBUG3 (CVMX_ADD_IO_SEG(0x00011800500000B0ull))
69 #define CVMX_PKO_REG_DEBUG4 (CVMX_ADD_IO_SEG(0x00011800500000B8ull))
70 #define CVMX_PKO_REG_ENGINE_INFLIGHT (CVMX_ADD_IO_SEG(0x0001180050000050ull))
71 #define CVMX_PKO_REG_ENGINE_INFLIGHT1 (CVMX_ADD_IO_SEG(0x0001180050000318ull))
72 #define CVMX_PKO_REG_ENGINE_STORAGEX(offset) (CVMX_ADD_IO_SEG(0x0001180050000300ull) + ((offset) & 1) * 8)
73 #define CVMX_PKO_REG_ENGINE_THRESH (CVMX_ADD_IO_SEG(0x0001180050000058ull))
74 #define CVMX_PKO_REG_ERROR (CVMX_ADD_IO_SEG(0x0001180050000088ull))
75 #define CVMX_PKO_REG_FLAGS (CVMX_ADD_IO_SEG(0x0001180050000000ull))
76 #define CVMX_PKO_REG_GMX_PORT_MODE (CVMX_ADD_IO_SEG(0x0001180050000018ull))
77 #define CVMX_PKO_REG_INT_MASK (CVMX_ADD_IO_SEG(0x0001180050000090ull))
78 #define CVMX_PKO_REG_LOOPBACK_BPID (CVMX_ADD_IO_SEG(0x0001180050000118ull))
79 #define CVMX_PKO_REG_LOOPBACK_PKIND (CVMX_ADD_IO_SEG(0x0001180050000068ull))
80 #define CVMX_PKO_REG_MIN_PKT (CVMX_ADD_IO_SEG(0x0001180050000070ull))
81 #define CVMX_PKO_REG_PREEMPT (CVMX_ADD_IO_SEG(0x0001180050000110ull))
82 #define CVMX_PKO_REG_QUEUE_MODE (CVMX_ADD_IO_SEG(0x0001180050000048ull))
83 #define CVMX_PKO_REG_QUEUE_PREEMPT (CVMX_ADD_IO_SEG(0x0001180050000108ull))
84 #define CVMX_PKO_REG_QUEUE_PTRS1 (CVMX_ADD_IO_SEG(0x0001180050000100ull))
85 #define CVMX_PKO_REG_READ_IDX (CVMX_ADD_IO_SEG(0x0001180050000008ull))
86 #define CVMX_PKO_REG_THROTTLE (CVMX_ADD_IO_SEG(0x0001180050000078ull))
87 #define CVMX_PKO_REG_TIMESTAMP (CVMX_ADD_IO_SEG(0x0001180050000060ull))
92 #ifdef __BIG_ENDIAN_BITFIELD
123 #ifdef __BIG_ENDIAN_BITFIELD
154 #ifdef __BIG_ENDIAN_BITFIELD
189 #ifdef __BIG_ENDIAN_BITFIELD
226 #ifdef __BIG_ENDIAN_BITFIELD
233 #ifdef __BIG_ENDIAN_BITFIELD
249 #ifdef __BIG_ENDIAN_BITFIELD
279 #ifdef __BIG_ENDIAN_BITFIELD
294 #ifdef __BIG_ENDIAN_BITFIELD
312 #ifdef __BIG_ENDIAN_BITFIELD
350 #ifdef __BIG_ENDIAN_BITFIELD
357 #ifdef __BIG_ENDIAN_BITFIELD
367 #ifdef __BIG_ENDIAN_BITFIELD
390 #ifdef __BIG_ENDIAN_BITFIELD
403 #ifdef __BIG_ENDIAN_BITFIELD
410 #ifdef __BIG_ENDIAN_BITFIELD
426 #ifdef __BIG_ENDIAN_BITFIELD
451 #ifdef __BIG_ENDIAN_BITFIELD
464 #ifdef __BIG_ENDIAN_BITFIELD
471 #ifdef __BIG_ENDIAN_BITFIELD
483 #ifdef __BIG_ENDIAN_BITFIELD
502 #ifdef __BIG_ENDIAN_BITFIELD
539 #ifdef __BIG_ENDIAN_BITFIELD
546 #ifdef __BIG_ENDIAN_BITFIELD
564 #ifdef __BIG_ENDIAN_BITFIELD
588 #ifdef __BIG_ENDIAN_BITFIELD
595 #ifdef __BIG_ENDIAN_BITFIELD
605 #ifdef __BIG_ENDIAN_BITFIELD
646 #ifdef __BIG_ENDIAN_BITFIELD
693 #ifdef __BIG_ENDIAN_BITFIELD
700 #ifdef __BIG_ENDIAN_BITFIELD
746 #ifdef __BIG_ENDIAN_BITFIELD
759 #ifdef __BIG_ENDIAN_BITFIELD
777 #ifdef __BIG_ENDIAN_BITFIELD
797 #ifdef __BIG_ENDIAN_BITFIELD
822 #ifdef __BIG_ENDIAN_BITFIELD
851 #ifdef __BIG_ENDIAN_BITFIELD
873 #ifdef __BIG_ENDIAN_BITFIELD
882 #ifdef __BIG_ENDIAN_BITFIELD
929 #ifdef __BIG_ENDIAN_BITFIELD
936 #ifdef __BIG_ENDIAN_BITFIELD
952 #ifdef __BIG_ENDIAN_BITFIELD
979 #ifdef __BIG_ENDIAN_BITFIELD
1002 #ifdef __BIG_ENDIAN_BITFIELD
1015 #ifdef __BIG_ENDIAN_BITFIELD
1035 #ifdef __BIG_ENDIAN_BITFIELD
1054 #ifdef __BIG_ENDIAN_BITFIELD
1082 #ifdef __BIG_ENDIAN_BITFIELD
1114 #ifdef __BIG_ENDIAN_BITFIELD
1143 #ifdef __BIG_ENDIAN_BITFIELD
1154 #ifdef __BIG_ENDIAN_BITFIELD
1172 #ifdef __BIG_ENDIAN_BITFIELD
1192 #ifdef __BIG_ENDIAN_BITFIELD
1222 #ifdef __BIG_ENDIAN_BITFIELD
1259 #ifdef __BIG_ENDIAN_BITFIELD
1282 #ifdef __BIG_ENDIAN_BITFIELD
1313 #ifdef __BIG_ENDIAN_BITFIELD
1334 #ifdef __BIG_ENDIAN_BITFIELD
1366 #ifdef __BIG_ENDIAN_BITFIELD
1394 #ifdef __BIG_ENDIAN_BITFIELD
1409 #ifdef __BIG_ENDIAN_BITFIELD
1438 #ifdef __BIG_ENDIAN_BITFIELD
1451 #ifdef __BIG_ENDIAN_BITFIELD
1478 #ifdef __BIG_ENDIAN_BITFIELD
1521 #ifdef __BIG_ENDIAN_BITFIELD
1556 #ifdef __BIG_ENDIAN_BITFIELD
1579 #ifdef __BIG_ENDIAN_BITFIELD
1602 #ifdef __BIG_ENDIAN_BITFIELD
1609 #ifdef __BIG_ENDIAN_BITFIELD
1643 #ifdef __BIG_ENDIAN_BITFIELD
1678 #ifdef __BIG_ENDIAN_BITFIELD
1724 #ifdef __BIG_ENDIAN_BITFIELD
1769 #ifdef __BIG_ENDIAN_BITFIELD
1817 #ifdef __BIG_ENDIAN_BITFIELD
1852 #ifdef __BIG_ENDIAN_BITFIELD
1871 #ifdef __BIG_ENDIAN_BITFIELD
1888 #ifdef __BIG_ENDIAN_BITFIELD
1905 #ifdef __BIG_ENDIAN_BITFIELD
1912 #ifdef __BIG_ENDIAN_BITFIELD
1942 #ifdef __BIG_ENDIAN_BITFIELD
1967 #ifdef __BIG_ENDIAN_BITFIELD
1992 #ifdef __BIG_ENDIAN_BITFIELD
2017 #ifdef __BIG_ENDIAN_BITFIELD
2030 #ifdef __BIG_ENDIAN_BITFIELD
2067 #ifdef __BIG_ENDIAN_BITFIELD
2097 #ifdef __BIG_ENDIAN_BITFIELD
2132 #ifdef __BIG_ENDIAN_BITFIELD
2172 #ifdef __BIG_ENDIAN_BITFIELD
2193 #ifdef __BIG_ENDIAN_BITFIELD
2236 #ifdef __BIG_ENDIAN_BITFIELD
2245 #ifdef __BIG_ENDIAN_BITFIELD
2257 #ifdef __BIG_ENDIAN_BITFIELD
2266 #ifdef __BIG_ENDIAN_BITFIELD
2284 #ifdef __BIG_ENDIAN_BITFIELD
2299 #ifdef __BIG_ENDIAN_BITFIELD
2313 #ifdef __BIG_ENDIAN_BITFIELD
2343 #ifdef __BIG_ENDIAN_BITFIELD
2368 #ifdef __BIG_ENDIAN_BITFIELD
2393 #ifdef __BIG_ENDIAN_BITFIELD
2418 #ifdef __BIG_ENDIAN_BITFIELD
2444 #ifdef __BIG_ENDIAN_BITFIELD
2475 #ifdef __BIG_ENDIAN_BITFIELD
2490 #ifdef __BIG_ENDIAN_BITFIELD
2504 #ifdef __BIG_ENDIAN_BITFIELD
2534 #ifdef __BIG_ENDIAN_BITFIELD
2579 #ifdef __BIG_ENDIAN_BITFIELD
2624 #ifdef __BIG_ENDIAN_BITFIELD
2651 #ifdef __BIG_ENDIAN_BITFIELD
2675 #ifdef __BIG_ENDIAN_BITFIELD
2706 #ifdef __BIG_ENDIAN_BITFIELD
2732 #ifdef __BIG_ENDIAN_BITFIELD
2759 #ifdef __BIG_ENDIAN_BITFIELD
2792 #ifdef __BIG_ENDIAN_BITFIELD
2807 #ifdef __BIG_ENDIAN_BITFIELD