Lines Matching refs:block_id

31 static inline uint64_t CVMX_GMXX_HG2_CONTROL(unsigned long block_id)  in CVMX_GMXX_HG2_CONTROL()  argument
35 return CVMX_ADD_IO_SEG(0x0001180008000550ull) + (block_id) * 0x1000000ull; in CVMX_GMXX_HG2_CONTROL()
37 return CVMX_ADD_IO_SEG(0x0001180008000550ull) + (block_id) * 0x8000000ull; in CVMX_GMXX_HG2_CONTROL()
40 static inline uint64_t CVMX_GMXX_INF_MODE(unsigned long block_id) in CVMX_GMXX_INF_MODE() argument
44 return CVMX_ADD_IO_SEG(0x00011800080007F8ull) + (block_id) * 0x1000000ull; in CVMX_GMXX_INF_MODE()
46 return CVMX_ADD_IO_SEG(0x00011800080007F8ull) + (block_id) * 0x8000000ull; in CVMX_GMXX_INF_MODE()
49 static inline uint64_t CVMX_GMXX_PRTX_CFG(unsigned long offset, unsigned long block_id) in CVMX_GMXX_PRTX_CFG() argument
53 return CVMX_ADD_IO_SEG(0x0001180008000010ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_PRTX_CFG()
55 return CVMX_ADD_IO_SEG(0x0001180008000010ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_PRTX_CFG()
57 return CVMX_ADD_IO_SEG(0x0001180008000010ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_PRTX_CFG()
60 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM0(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_ADR_CAM0() argument
64 return CVMX_ADD_IO_SEG(0x0001180008000180ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM0()
66 return CVMX_ADD_IO_SEG(0x0001180008000180ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM0()
68 return CVMX_ADD_IO_SEG(0x0001180008000180ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM0()
71 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM1(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_ADR_CAM1() argument
75 return CVMX_ADD_IO_SEG(0x0001180008000188ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM1()
77 return CVMX_ADD_IO_SEG(0x0001180008000188ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM1()
79 return CVMX_ADD_IO_SEG(0x0001180008000188ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM1()
82 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM2(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_ADR_CAM2() argument
86 return CVMX_ADD_IO_SEG(0x0001180008000190ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM2()
88 return CVMX_ADD_IO_SEG(0x0001180008000190ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM2()
90 return CVMX_ADD_IO_SEG(0x0001180008000190ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM2()
93 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM3(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_ADR_CAM3() argument
97 return CVMX_ADD_IO_SEG(0x0001180008000198ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM3()
99 return CVMX_ADD_IO_SEG(0x0001180008000198ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM3()
101 return CVMX_ADD_IO_SEG(0x0001180008000198ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM3()
104 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM4(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_ADR_CAM4() argument
108 return CVMX_ADD_IO_SEG(0x00011800080001A0ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM4()
110 return CVMX_ADD_IO_SEG(0x00011800080001A0ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM4()
112 return CVMX_ADD_IO_SEG(0x00011800080001A0ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM4()
115 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM5(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_ADR_CAM5() argument
119 return CVMX_ADD_IO_SEG(0x00011800080001A8ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM5()
121 return CVMX_ADD_IO_SEG(0x00011800080001A8ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM5()
123 return CVMX_ADD_IO_SEG(0x00011800080001A8ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM5()
126 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM_EN(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_ADR_CAM_EN() argument
130 return CVMX_ADD_IO_SEG(0x0001180008000108ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM_EN()
132 return CVMX_ADD_IO_SEG(0x0001180008000108ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM_EN()
134 return CVMX_ADD_IO_SEG(0x0001180008000108ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_ADR_CAM_EN()
137 static inline uint64_t CVMX_GMXX_RXX_ADR_CTL(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_ADR_CTL() argument
141 return CVMX_ADD_IO_SEG(0x0001180008000100ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_ADR_CTL()
143 return CVMX_ADD_IO_SEG(0x0001180008000100ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_ADR_CTL()
145 return CVMX_ADD_IO_SEG(0x0001180008000100ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_ADR_CTL()
148 static inline uint64_t CVMX_GMXX_RXX_FRM_CTL(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_FRM_CTL() argument
152 return CVMX_ADD_IO_SEG(0x0001180008000018ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_FRM_CTL()
154 return CVMX_ADD_IO_SEG(0x0001180008000018ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_FRM_CTL()
156 return CVMX_ADD_IO_SEG(0x0001180008000018ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_FRM_CTL()
159 …efine CVMX_GMXX_RXX_FRM_MAX(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000030ull) + (((offset)… argument
160 …efine CVMX_GMXX_RXX_FRM_MIN(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000028ull) + (((offset)… argument
162 static inline uint64_t CVMX_GMXX_RXX_INT_EN(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_INT_EN() argument
166 return CVMX_ADD_IO_SEG(0x0001180008000008ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_INT_EN()
168 return CVMX_ADD_IO_SEG(0x0001180008000008ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_INT_EN()
170 return CVMX_ADD_IO_SEG(0x0001180008000008ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_INT_EN()
173 static inline uint64_t CVMX_GMXX_RXX_INT_REG(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_INT_REG() argument
177 return CVMX_ADD_IO_SEG(0x0001180008000000ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_INT_REG()
179 return CVMX_ADD_IO_SEG(0x0001180008000000ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_INT_REG()
181 return CVMX_ADD_IO_SEG(0x0001180008000000ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_INT_REG()
184 static inline uint64_t CVMX_GMXX_RXX_JABBER(unsigned long offset, unsigned long block_id) in CVMX_GMXX_RXX_JABBER() argument
188 return CVMX_ADD_IO_SEG(0x0001180008000038ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_RXX_JABBER()
190 return CVMX_ADD_IO_SEG(0x0001180008000038ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_RXX_JABBER()
192 return CVMX_ADD_IO_SEG(0x0001180008000038ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_RXX_JABBER()
195 …fine CVMX_GMXX_RXX_RX_INBND(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000060ull) + (((offset)… argument
197 static inline uint64_t CVMX_GMXX_RX_PRTS(unsigned long block_id) in CVMX_GMXX_RX_PRTS() argument
201 return CVMX_ADD_IO_SEG(0x0001180008000410ull) + (block_id) * 0x1000000ull; in CVMX_GMXX_RX_PRTS()
203 return CVMX_ADD_IO_SEG(0x0001180008000410ull) + (block_id) * 0x8000000ull; in CVMX_GMXX_RX_PRTS()
206 static inline uint64_t CVMX_GMXX_RX_XAUI_CTL(unsigned long block_id) in CVMX_GMXX_RX_XAUI_CTL() argument
210 return CVMX_ADD_IO_SEG(0x0001180008000530ull) + (block_id) * 0x1000000ull; in CVMX_GMXX_RX_XAUI_CTL()
212 return CVMX_ADD_IO_SEG(0x0001180008000530ull) + (block_id) * 0x8000000ull; in CVMX_GMXX_RX_XAUI_CTL()
215 static inline uint64_t CVMX_GMXX_SMACX(unsigned long offset, unsigned long block_id) in CVMX_GMXX_SMACX() argument
219 return CVMX_ADD_IO_SEG(0x0001180008000230ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_SMACX()
221 return CVMX_ADD_IO_SEG(0x0001180008000230ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_SMACX()
223 return CVMX_ADD_IO_SEG(0x0001180008000230ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_SMACX()
226 static inline uint64_t CVMX_GMXX_TXX_BURST(unsigned long offset, unsigned long block_id) in CVMX_GMXX_TXX_BURST() argument
230 return CVMX_ADD_IO_SEG(0x0001180008000228ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_TXX_BURST()
232 return CVMX_ADD_IO_SEG(0x0001180008000228ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_TXX_BURST()
234 return CVMX_ADD_IO_SEG(0x0001180008000228ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_TXX_BURST()
237 #define CVMX_GMXX_TXX_CLK(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000208ull) + (((offset) & … argument
238 static inline uint64_t CVMX_GMXX_TXX_CTL(unsigned long offset, unsigned long block_id) in CVMX_GMXX_TXX_CTL() argument
242 return CVMX_ADD_IO_SEG(0x0001180008000270ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_TXX_CTL()
244 return CVMX_ADD_IO_SEG(0x0001180008000270ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_TXX_CTL()
246 return CVMX_ADD_IO_SEG(0x0001180008000270ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_TXX_CTL()
249 …atic inline uint64_t CVMX_GMXX_TXX_PAUSE_PKT_INTERVAL(unsigned long offset, unsigned long block_id) in CVMX_GMXX_TXX_PAUSE_PKT_INTERVAL() argument
253 return CVMX_ADD_IO_SEG(0x0001180008000248ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_TXX_PAUSE_PKT_INTERVAL()
255 return CVMX_ADD_IO_SEG(0x0001180008000248ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_TXX_PAUSE_PKT_INTERVAL()
257 return CVMX_ADD_IO_SEG(0x0001180008000248ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_TXX_PAUSE_PKT_INTERVAL()
260 static inline uint64_t CVMX_GMXX_TXX_PAUSE_PKT_TIME(unsigned long offset, unsigned long block_id) in CVMX_GMXX_TXX_PAUSE_PKT_TIME() argument
264 return CVMX_ADD_IO_SEG(0x0001180008000238ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_TXX_PAUSE_PKT_TIME()
266 return CVMX_ADD_IO_SEG(0x0001180008000238ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_TXX_PAUSE_PKT_TIME()
268 return CVMX_ADD_IO_SEG(0x0001180008000238ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_TXX_PAUSE_PKT_TIME()
271 static inline uint64_t CVMX_GMXX_TXX_SLOT(unsigned long offset, unsigned long block_id) in CVMX_GMXX_TXX_SLOT() argument
275 return CVMX_ADD_IO_SEG(0x0001180008000220ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_TXX_SLOT()
277 return CVMX_ADD_IO_SEG(0x0001180008000220ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_TXX_SLOT()
279 return CVMX_ADD_IO_SEG(0x0001180008000220ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_TXX_SLOT()
282 static inline uint64_t CVMX_GMXX_TXX_THRESH(unsigned long offset, unsigned long block_id) in CVMX_GMXX_TXX_THRESH() argument
286 return CVMX_ADD_IO_SEG(0x0001180008000210ull) + ((offset) + (block_id) * 0x0ull) * 2048; in CVMX_GMXX_TXX_THRESH()
288 return CVMX_ADD_IO_SEG(0x0001180008000210ull) + ((offset) + (block_id) * 0x2000ull) * 2048; in CVMX_GMXX_TXX_THRESH()
290 return CVMX_ADD_IO_SEG(0x0001180008000210ull) + ((offset) + (block_id) * 0x10000ull) * 2048; in CVMX_GMXX_TXX_THRESH()
293 static inline uint64_t CVMX_GMXX_TX_INT_EN(unsigned long block_id) in CVMX_GMXX_TX_INT_EN() argument
297 return CVMX_ADD_IO_SEG(0x0001180008000508ull) + (block_id) * 0x1000000ull; in CVMX_GMXX_TX_INT_EN()
299 return CVMX_ADD_IO_SEG(0x0001180008000508ull) + (block_id) * 0x8000000ull; in CVMX_GMXX_TX_INT_EN()
302 static inline uint64_t CVMX_GMXX_TX_INT_REG(unsigned long block_id) in CVMX_GMXX_TX_INT_REG() argument
306 return CVMX_ADD_IO_SEG(0x0001180008000500ull) + (block_id) * 0x1000000ull; in CVMX_GMXX_TX_INT_REG()
308 return CVMX_ADD_IO_SEG(0x0001180008000500ull) + (block_id) * 0x8000000ull; in CVMX_GMXX_TX_INT_REG()
311 static inline uint64_t CVMX_GMXX_TX_OVR_BP(unsigned long block_id) in CVMX_GMXX_TX_OVR_BP() argument
315 return CVMX_ADD_IO_SEG(0x00011800080004C8ull) + (block_id) * 0x1000000ull; in CVMX_GMXX_TX_OVR_BP()
317 return CVMX_ADD_IO_SEG(0x00011800080004C8ull) + (block_id) * 0x8000000ull; in CVMX_GMXX_TX_OVR_BP()
320 static inline uint64_t CVMX_GMXX_TX_PRTS(unsigned long block_id) in CVMX_GMXX_TX_PRTS() argument
324 return CVMX_ADD_IO_SEG(0x0001180008000480ull) + (block_id) * 0x1000000ull; in CVMX_GMXX_TX_PRTS()
326 return CVMX_ADD_IO_SEG(0x0001180008000480ull) + (block_id) * 0x8000000ull; in CVMX_GMXX_TX_PRTS()
329 #define CVMX_GMXX_TX_SPI_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800080004C0ull) + ((block_id) & 1) *… argument
330 #define CVMX_GMXX_TX_SPI_MAX(block_id) (CVMX_ADD_IO_SEG(0x00011800080004B0ull) + ((block_id) & 1) *… argument
331 #define CVMX_GMXX_TX_SPI_THRESH(block_id) (CVMX_ADD_IO_SEG(0x00011800080004B8ull) + ((block_id) & 1… argument
332 static inline uint64_t CVMX_GMXX_TX_XAUI_CTL(unsigned long block_id) in CVMX_GMXX_TX_XAUI_CTL() argument
336 return CVMX_ADD_IO_SEG(0x0001180008000528ull) + (block_id) * 0x1000000ull; in CVMX_GMXX_TX_XAUI_CTL()
338 return CVMX_ADD_IO_SEG(0x0001180008000528ull) + (block_id) * 0x8000000ull; in CVMX_GMXX_TX_XAUI_CTL()