gem5  v22.1.0.0
ns_gige_reg.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2004-2005 The Regents of The University of Michigan
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are
7  * met: redistributions of source code must retain the above copyright
8  * notice, this list of conditions and the following disclaimer;
9  * redistributions in binary form must reproduce the above copyright
10  * notice, this list of conditions and the following disclaimer in the
11  * documentation and/or other materials provided with the distribution;
12  * neither the name of the copyright holders nor the names of its
13  * contributors may be used to endorse or promote products derived from
14  * this software without specific prior written permission.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27  */
28 
34 #ifndef __DEV_NS_GIGE_REG_H__
35 #define __DEV_NS_GIGE_REG_H__
36 
37 namespace gem5
38 {
39 
40 /* Device Register Address Map */
42 {
43  CR = 0x00,
44  CFGR = 0x04,
45  MEAR = 0x08,
46  PTSCR = 0x0c,
47  ISR = 0x10,
48  IMR = 0x14,
49  IER = 0x18,
50  IHR = 0x1c,
51  TXDP = 0x20,
52  TXDP_HI = 0x24,
53  TX_CFG = 0x28,
54  GPIOR = 0x2c,
55  RXDP = 0x30,
56  RXDP_HI = 0x34,
57  RX_CFG = 0x38,
58  PQCR = 0x3c,
59  WCSR = 0x40,
60  PCR = 0x44,
61  RFCR = 0x48,
62  RFDR = 0x4c,
63  BRAR = 0x50,
64  BRDR = 0x54,
65  SRR = 0x58,
66  MIBC = 0x5c,
67  MIB_START = 0x60,
68  MIB_END = 0x88,
69  VRCR = 0xbc,
70  VTCR = 0xc0,
71  VDR = 0xc4,
72  CCSR = 0xcc,
73  TBICR = 0xe0,
74  TBISR = 0xe4,
75  TANAR = 0xe8,
76  TANLPAR = 0xec,
77  TANER = 0xf0,
78  TESR = 0xf4,
79  M5REG = 0xf8,
80  LAST = 0xf8,
81  RESERVED = 0xfc
82 };
83 
84 /* Chip Command Register */
86 {
87  CR_TXE = 0x00000001,
88  CR_TXD = 0x00000002,
89  CR_RXE = 0x00000004,
90  CR_RXD = 0x00000008,
91  CR_TXR = 0x00000010,
92  CR_RXR = 0x00000020,
93  CR_SWI = 0x00000080,
94  CR_RST = 0x00000100
95 };
96 
97 /* configuration register */
99 {
100  CFGR_ZERO = 0x00000000,
101  CFGR_LNKSTS = 0x80000000,
102  CFGR_SPDSTS = 0x60000000,
103  CFGR_SPDSTS1 = 0x40000000,
104  CFGR_SPDSTS0 = 0x20000000,
105  CFGR_DUPSTS = 0x10000000,
106  CFGR_TBI_EN = 0x01000000,
107  CFGR_RESERVED = 0x0e000000,
108  CFGR_MODE_1000 = 0x00400000,
109  CFGR_AUTO_1000 = 0x00200000,
110  CFGR_PINT_CTL = 0x001c0000,
111  CFGR_PINT_DUPSTS = 0x00100000,
112  CFGR_PINT_LNKSTS = 0x00080000,
113  CFGR_PINT_SPDSTS = 0x00040000,
114  CFGR_TMRTEST = 0x00020000,
115  CFGR_MRM_DIS = 0x00010000,
116  CFGR_MWI_DIS = 0x00008000,
117  CFGR_T64ADDR = 0x00004000,
118  CFGR_PCI64_DET = 0x00002000,
119  CFGR_DATA64_EN = 0x00001000,
120  CFGR_M64ADDR = 0x00000800,
121  CFGR_PHY_RST = 0x00000400,
122  CFGR_PHY_DIS = 0x00000200,
123  CFGR_EXTSTS_EN = 0x00000100,
124  CFGR_REQALG = 0x00000080,
125  CFGR_SB = 0x00000040,
126  CFGR_POW = 0x00000020,
127  CFGR_EXD = 0x00000010,
128  CFGR_PESEL = 0x00000008,
129  CFGR_BROM_DIS = 0x00000004,
130  CFGR_EXT_125 = 0x00000002,
131  CFGR_BEM = 0x00000001
132 };
133 
134 /* EEPROM access register */
136 {
137  MEAR_EEDI = 0x00000001,
138  MEAR_EEDO = 0x00000002,
139  MEAR_EECLK = 0x00000004,
140  MEAR_EESEL = 0x00000008,
141  MEAR_MDIO = 0x00000010,
142  MEAR_MDDIR = 0x00000020,
143  MEAR_MDC = 0x00000040,
144 };
145 
146 /* PCI test control register */
148 {
149  PTSCR_EEBIST_FAIL = 0x00000001,
150  PTSCR_EEBIST_EN = 0x00000002,
151  PTSCR_EELOAD_EN = 0x00000004,
152  PTSCR_RBIST_FAIL = 0x000001b8,
153  PTSCR_RBIST_DONE = 0x00000200,
154  PTSCR_RBIST_EN = 0x00000400,
155  PTSCR_RBIST_RST = 0x00002000,
156  PTSCR_RBIST_RDONLY = 0x000003f9
157 };
158 
159 /* interrupt status register */
161 {
162  ISR_RESERVE = 0x80000000,
163  ISR_TXDESC3 = 0x40000000,
164  ISR_TXDESC2 = 0x20000000,
165  ISR_TXDESC1 = 0x10000000,
166  ISR_TXDESC0 = 0x08000000,
167  ISR_RXDESC3 = 0x04000000,
168  ISR_RXDESC2 = 0x02000000,
169  ISR_RXDESC1 = 0x01000000,
170  ISR_RXDESC0 = 0x00800000,
171  ISR_TXRCMP = 0x00400000,
172  ISR_RXRCMP = 0x00200000,
173  ISR_DPERR = 0x00100000,
174  ISR_SSERR = 0x00080000,
175  ISR_RMABT = 0x00040000,
176  ISR_RTAB = 0x00020000,
177  ISR_RXSOVR = 0x00010000,
178  ISR_HIBINT = 0x00008000,
179  ISR_PHY = 0x00004000,
180  ISR_PME = 0x00002000,
181  ISR_SWI = 0x00001000,
182  ISR_MIB = 0x00000800,
183  ISR_TXURN = 0x00000400,
184  ISR_TXIDLE = 0x00000200,
185  ISR_TXERR = 0x00000100,
186  ISR_TXDESC = 0x00000080,
187  ISR_TXOK = 0x00000040,
188  ISR_RXORN = 0x00000020,
189  ISR_RXIDLE = 0x00000010,
190  ISR_RXEARLY = 0x00000008,
191  ISR_RXERR = 0x00000004,
192  ISR_RXDESC = 0x00000002,
193  ISR_RXOK = 0x00000001,
194  ISR_ALL = 0x7FFFFFFF,
201 };
202 
203 /* transmit configuration register */
205 {
206  TX_CFG_CSI = 0x80000000,
207  TX_CFG_HBI = 0x40000000,
208  TX_CFG_MLB = 0x20000000,
209  TX_CFG_ATP = 0x10000000,
210  TX_CFG_ECRETRY = 0x00800000,
211  TX_CFG_BRST_DIS = 0x00080000,
212  TX_CFG_MXDMA1024 = 0x00000000,
213  TX_CFG_MXDMA512 = 0x00700000,
214  TX_CFG_MXDMA256 = 0x00600000,
215  TX_CFG_MXDMA128 = 0x00500000,
216  TX_CFG_MXDMA64 = 0x00400000,
217  TX_CFG_MXDMA32 = 0x00300000,
218  TX_CFG_MXDMA16 = 0x00200000,
219  TX_CFG_MXDMA8 = 0x00100000,
220  TX_CFG_MXDMA = 0x00700000,
221 
222  TX_CFG_FLTH_MASK = 0x0000ff00,
223  TX_CFG_DRTH_MASK = 0x000000ff
224 };
225 
226 /*general purpose I/O control register */
228 {
229  GPIOR_UNUSED = 0xffff8000,
230  GPIOR_GP5_IN = 0x00004000,
231  GPIOR_GP4_IN = 0x00002000,
232  GPIOR_GP3_IN = 0x00001000,
233  GPIOR_GP2_IN = 0x00000800,
234  GPIOR_GP1_IN = 0x00000400,
235  GPIOR_GP5_OE = 0x00000200,
236  GPIOR_GP4_OE = 0x00000100,
237  GPIOR_GP3_OE = 0x00000080,
238  GPIOR_GP2_OE = 0x00000040,
239  GPIOR_GP1_OE = 0x00000020,
240  GPIOR_GP5_OUT = 0x00000010,
241  GPIOR_GP4_OUT = 0x00000008,
242  GPIOR_GP3_OUT = 0x00000004,
243  GPIOR_GP2_OUT = 0x00000002,
244  GPIOR_GP1_OUT = 0x00000001
245 };
246 
247 /* receive configuration register */
249 {
250  RX_CFG_AEP = 0x80000000,
251  RX_CFG_ARP = 0x40000000,
252  RX_CFG_STRIPCRC = 0x20000000,
253  RX_CFG_RX_FD = 0x10000000,
254  RX_CFG_ALP = 0x08000000,
255  RX_CFG_AIRL = 0x04000000,
256  RX_CFG_MXDMA512 = 0x00700000,
257  RX_CFG_MXDMA = 0x00700000,
258  RX_CFG_DRTH = 0x0000003e,
259  RX_CFG_DRTH0 = 0x00000002
260 };
261 
262 /* pause control status register */
264 {
265  PCR_PSEN = (1 << 31),
266  PCR_PS_MCAST = (1 << 30),
267  PCR_PS_DA = (1 << 29),
268  PCR_STHI_8 = (3 << 23),
269  PCR_STLO_4 = (1 << 23),
270  PCR_FFHI_8K = (3 << 21),
271  PCR_FFLO_4K = (1 << 21),
272  PCR_PAUSE_CNT = 0xFFFE
273 };
274 
275 /*receive filter/match control register */
277 {
278  RFCR_RFEN = 0x80000000,
279  RFCR_AAB = 0x40000000,
280  RFCR_AAM = 0x20000000,
281  RFCR_AAU = 0x10000000,
282  RFCR_APM = 0x08000000,
283  RFCR_APAT = 0x07800000,
284  RFCR_APAT3 = 0x04000000,
285  RFCR_APAT2 = 0x02000000,
286  RFCR_APAT1 = 0x01000000,
287  RFCR_APAT0 = 0x00800000,
288  RFCR_AARP = 0x00400000,
289  RFCR_MHEN = 0x00200000,
290  RFCR_UHEN = 0x00100000,
291  RFCR_ULM = 0x00080000,
292  RFCR_RFADDR = 0x000003ff
293 };
294 
295 /* receive filter/match data register */
297 {
298  RFDR_BMASK = 0x00030000,
299  RFDR_RFDATA0 = 0x000000ff,
300  RFDR_RFDATA1 = 0x0000ff00
301 };
302 
303 /* management information base control register */
305 {
306  MIBC_MIBS = 0x00000008,
307  MIBC_ACLR = 0x00000004,
308  MIBC_FRZ = 0x00000002,
309  MIBC_WRN = 0x00000001
310 };
311 
312 /* VLAN/IP receive control register */
314 {
315  VRCR_RUDPE = 0x00000080,
316  VRCR_RTCPE = 0x00000040,
317  VRCR_RIPE = 0x00000020,
318  VRCR_IPEN = 0x00000010,
319  VRCR_DUTF = 0x00000008,
320  VRCR_DVTF = 0x00000004,
321  VRCR_VTREN = 0x00000002,
322  VRCR_VTDEN = 0x00000001
323 };
324 
325 /* VLAN/IP transmit control register */
327 {
328  VTCR_PPCHK = 0x00000008,
329  VTCR_GCHK = 0x00000004,
330  VTCR_VPPTI = 0x00000002,
331  VTCR_VGTI = 0x00000001
332 };
333 
334 /* Clockrun Control/Status Register */
336 {
337  CCSR_CLKRUN_EN = 0x00000001
338 };
339 
340 /* TBI control register */
342 {
343  TBICR_MR_LOOPBACK = 0x00004000,
344  TBICR_MR_AN_ENABLE = 0x00001000,
345  TBICR_MR_RESTART_AN = 0x00000200
346 };
347 
348 /* TBI status register */
350 {
351  TBISR_MR_LINK_STATUS = 0x00000020,
352  TBISR_MR_AN_COMPLETE = 0x00000004
353 };
354 
355 /* TBI auto-negotiation advertisement register */
357 {
358  TANAR_NP = 0x00008000,
359  TANAR_RF2 = 0x00002000,
360  TANAR_RF1 = 0x00001000,
361  TANAR_PS2 = 0x00000100,
362  TANAR_PS1 = 0x00000080,
363  TANAR_HALF_DUP = 0x00000040,
364  TANAR_FULL_DUP = 0x00000020,
365  TANAR_UNUSED = 0x00000E1F
366 };
367 
368 /* M5 control register */
370 {
371  M5REG_RESERVED = 0xfffffffc,
372  M5REG_RSS = 0x00000004,
373  M5REG_RX_THREAD = 0x00000002,
374  M5REG_TX_THREAD = 0x00000001
375 };
376 
377 struct ns_desc32
378 {
379  uint32_t link; /* link field to next descriptor in linked list */
380  uint32_t bufptr; /* pointer to the first fragment or buffer */
381  uint32_t cmdsts; /* command/status field */
382  uint32_t extsts; /* extended status field for VLAN and IP info */
383 };
384 
385 struct ns_desc64
386 {
387  uint64_t link; /* link field to next descriptor in linked list */
388  uint64_t bufptr; /* pointer to the first fragment or buffer */
389  uint32_t cmdsts; /* command/status field */
390  uint32_t extsts; /* extended status field for VLAN and IP info */
391 };
392 
393 /* cmdsts flags for descriptors */
395 {
396  CMDSTS_OWN = 0x80000000,
397  CMDSTS_MORE = 0x40000000,
398  CMDSTS_INTR = 0x20000000,
399  CMDSTS_ERR = 0x10000000,
400  CMDSTS_OK = 0x08000000,
401  CMDSTS_LEN_MASK = 0x0000ffff,
402 
403  CMDSTS_DEST_MASK = 0x01800000,
404  CMDSTS_DEST_SELF = 0x00800000,
405  CMDSTS_DEST_MULTI = 0x01000000
406 };
407 
408 /* extended flags for descriptors */
410 {
411  EXTSTS_UDPERR = 0x00400000,
412  EXTSTS_UDPPKT = 0x00200000,
413  EXTSTS_TCPERR = 0x00100000,
414  EXTSTS_TCPPKT = 0x00080000,
415  EXTSTS_IPERR = 0x00040000,
416  EXTSTS_IPPKT = 0x00020000
417 };
418 
419 /* speed status */
420 static inline int
421 SPDSTS_POLARITY(int lnksts)
422 {
424  (lnksts ? CFGR_LNKSTS : CFGR_ZERO));
425 }
426 
427 } // namespace gem5
428 
429 #endif /* __DEV_NS_GIGE_REG_H__ */
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
ClockrunControlStatusRegister
Definition: ns_gige_reg.h:336
@ CCSR_CLKRUN_EN
Definition: ns_gige_reg.h:337
ExtendedFlagsForDescriptors
Definition: ns_gige_reg.h:410
@ EXTSTS_TCPERR
Definition: ns_gige_reg.h:413
@ EXTSTS_IPERR
Definition: ns_gige_reg.h:415
@ EXTSTS_TCPPKT
Definition: ns_gige_reg.h:414
@ EXTSTS_UDPPKT
Definition: ns_gige_reg.h:412
@ EXTSTS_UDPERR
Definition: ns_gige_reg.h:411
@ EXTSTS_IPPKT
Definition: ns_gige_reg.h:416
ReceiveConfigurationRegister
Definition: ns_gige_reg.h:249
@ RX_CFG_AIRL
Definition: ns_gige_reg.h:255
@ RX_CFG_ARP
Definition: ns_gige_reg.h:251
@ RX_CFG_STRIPCRC
Definition: ns_gige_reg.h:252
@ RX_CFG_ALP
Definition: ns_gige_reg.h:254
@ RX_CFG_DRTH
Definition: ns_gige_reg.h:258
@ RX_CFG_MXDMA512
Definition: ns_gige_reg.h:256
@ RX_CFG_RX_FD
Definition: ns_gige_reg.h:253
@ RX_CFG_MXDMA
Definition: ns_gige_reg.h:257
@ RX_CFG_DRTH0
Definition: ns_gige_reg.h:259
@ RX_CFG_AEP
Definition: ns_gige_reg.h:250
TBIStatusRegister
Definition: ns_gige_reg.h:350
@ TBISR_MR_AN_COMPLETE
Definition: ns_gige_reg.h:352
@ TBISR_MR_LINK_STATUS
Definition: ns_gige_reg.h:351
EEPROMAccessRegister
Definition: ns_gige_reg.h:136
@ MEAR_MDDIR
Definition: ns_gige_reg.h:142
@ MEAR_EEDO
Definition: ns_gige_reg.h:138
@ MEAR_EESEL
Definition: ns_gige_reg.h:140
@ MEAR_MDIO
Definition: ns_gige_reg.h:141
@ MEAR_MDC
Definition: ns_gige_reg.h:143
@ MEAR_EEDI
Definition: ns_gige_reg.h:137
@ MEAR_EECLK
Definition: ns_gige_reg.h:139
ChipCommandRegister
Definition: ns_gige_reg.h:86
@ CR_RST
Definition: ns_gige_reg.h:94
@ CR_TXD
Definition: ns_gige_reg.h:88
@ CR_TXE
Definition: ns_gige_reg.h:87
@ CR_TXR
Definition: ns_gige_reg.h:91
@ CR_RXE
Definition: ns_gige_reg.h:89
@ CR_SWI
Definition: ns_gige_reg.h:93
@ CR_RXR
Definition: ns_gige_reg.h:92
@ CR_RXD
Definition: ns_gige_reg.h:90
ReceiveFilterMatchDataRegister
Definition: ns_gige_reg.h:297
@ RFDR_RFDATA0
Definition: ns_gige_reg.h:299
@ RFDR_BMASK
Definition: ns_gige_reg.h:298
@ RFDR_RFDATA1
Definition: ns_gige_reg.h:300
TBIAutoNegotiationAdvertisementRegister
Definition: ns_gige_reg.h:357
@ TANAR_NP
Definition: ns_gige_reg.h:358
@ TANAR_PS1
Definition: ns_gige_reg.h:362
@ TANAR_RF2
Definition: ns_gige_reg.h:359
@ TANAR_RF1
Definition: ns_gige_reg.h:360
@ TANAR_HALF_DUP
Definition: ns_gige_reg.h:363
@ TANAR_UNUSED
Definition: ns_gige_reg.h:365
@ TANAR_FULL_DUP
Definition: ns_gige_reg.h:364
@ TANAR_PS2
Definition: ns_gige_reg.h:361
DeviceRegisterAddress
Definition: ns_gige_reg.h:42
@ ISR
Definition: ns_gige_reg.h:47
@ IMR
Definition: ns_gige_reg.h:48
@ TBICR
Definition: ns_gige_reg.h:73
@ VTCR
Definition: ns_gige_reg.h:70
@ GPIOR
Definition: ns_gige_reg.h:54
@ WCSR
Definition: ns_gige_reg.h:59
@ RXDP
Definition: ns_gige_reg.h:55
@ TANLPAR
Definition: ns_gige_reg.h:76
@ TESR
Definition: ns_gige_reg.h:78
@ TXDP_HI
Definition: ns_gige_reg.h:52
@ PQCR
Definition: ns_gige_reg.h:58
@ LAST
Definition: ns_gige_reg.h:80
@ MEAR
Definition: ns_gige_reg.h:45
@ PCR
Definition: ns_gige_reg.h:60
@ RXDP_HI
Definition: ns_gige_reg.h:56
@ TANER
Definition: ns_gige_reg.h:77
@ IHR
Definition: ns_gige_reg.h:50
@ RFDR
Definition: ns_gige_reg.h:62
@ BRAR
Definition: ns_gige_reg.h:63
@ RESERVED
Definition: ns_gige_reg.h:81
@ M5REG
Definition: ns_gige_reg.h:79
@ RX_CFG
Definition: ns_gige_reg.h:57
@ VDR
Definition: ns_gige_reg.h:71
@ MIB_END
Definition: ns_gige_reg.h:68
@ CFGR
Definition: ns_gige_reg.h:44
@ TXDP
Definition: ns_gige_reg.h:51
@ MIB_START
Definition: ns_gige_reg.h:67
@ BRDR
Definition: ns_gige_reg.h:64
@ TANAR
Definition: ns_gige_reg.h:75
@ RFCR
Definition: ns_gige_reg.h:61
@ CCSR
Definition: ns_gige_reg.h:72
@ TBISR
Definition: ns_gige_reg.h:74
@ CR
Definition: ns_gige_reg.h:43
@ MIBC
Definition: ns_gige_reg.h:66
@ VRCR
Definition: ns_gige_reg.h:69
@ SRR
Definition: ns_gige_reg.h:65
@ IER
Definition: ns_gige_reg.h:49
@ PTSCR
Definition: ns_gige_reg.h:46
@ TX_CFG
Definition: ns_gige_reg.h:53
PCITestControlRegister
Definition: ns_gige_reg.h:148
@ PTSCR_RBIST_RDONLY
Definition: ns_gige_reg.h:156
@ PTSCR_EEBIST_FAIL
Definition: ns_gige_reg.h:149
@ PTSCR_EELOAD_EN
Definition: ns_gige_reg.h:151
@ PTSCR_RBIST_EN
Definition: ns_gige_reg.h:154
@ PTSCR_RBIST_FAIL
Definition: ns_gige_reg.h:152
@ PTSCR_EEBIST_EN
Definition: ns_gige_reg.h:150
@ PTSCR_RBIST_DONE
Definition: ns_gige_reg.h:153
@ PTSCR_RBIST_RST
Definition: ns_gige_reg.h:155
ManagementInformationBaseControlRegister
Definition: ns_gige_reg.h:305
@ MIBC_FRZ
Definition: ns_gige_reg.h:308
@ MIBC_MIBS
Definition: ns_gige_reg.h:306
@ MIBC_ACLR
Definition: ns_gige_reg.h:307
@ MIBC_WRN
Definition: ns_gige_reg.h:309
ConfigurationRegisters
Definition: ns_gige_reg.h:99
@ CFGR_PESEL
Definition: ns_gige_reg.h:128
@ CFGR_TBI_EN
Definition: ns_gige_reg.h:106
@ CFGR_SPDSTS1
Definition: ns_gige_reg.h:103
@ CFGR_PINT_LNKSTS
Definition: ns_gige_reg.h:112
@ CFGR_LNKSTS
Definition: ns_gige_reg.h:101
@ CFGR_PCI64_DET
Definition: ns_gige_reg.h:118
@ CFGR_BROM_DIS
Definition: ns_gige_reg.h:129
@ CFGR_DUPSTS
Definition: ns_gige_reg.h:105
@ CFGR_DATA64_EN
Definition: ns_gige_reg.h:119
@ CFGR_PHY_RST
Definition: ns_gige_reg.h:121
@ CFGR_M64ADDR
Definition: ns_gige_reg.h:120
@ CFGR_SPDSTS0
Definition: ns_gige_reg.h:104
@ CFGR_SPDSTS
Definition: ns_gige_reg.h:102
@ CFGR_PINT_CTL
Definition: ns_gige_reg.h:110
@ CFGR_EXT_125
Definition: ns_gige_reg.h:130
@ CFGR_TMRTEST
Definition: ns_gige_reg.h:114
@ CFGR_T64ADDR
Definition: ns_gige_reg.h:117
@ CFGR_PINT_DUPSTS
Definition: ns_gige_reg.h:111
@ CFGR_MWI_DIS
Definition: ns_gige_reg.h:116
@ CFGR_MODE_1000
Definition: ns_gige_reg.h:108
@ CFGR_PINT_SPDSTS
Definition: ns_gige_reg.h:113
@ CFGR_AUTO_1000
Definition: ns_gige_reg.h:109
@ CFGR_POW
Definition: ns_gige_reg.h:126
@ CFGR_EXTSTS_EN
Definition: ns_gige_reg.h:123
@ CFGR_BEM
Definition: ns_gige_reg.h:131
@ CFGR_ZERO
Definition: ns_gige_reg.h:100
@ CFGR_EXD
Definition: ns_gige_reg.h:127
@ CFGR_REQALG
Definition: ns_gige_reg.h:124
@ CFGR_SB
Definition: ns_gige_reg.h:125
@ CFGR_PHY_DIS
Definition: ns_gige_reg.h:122
@ CFGR_RESERVED
Definition: ns_gige_reg.h:107
@ CFGR_MRM_DIS
Definition: ns_gige_reg.h:115
M5ControlRegister
Definition: ns_gige_reg.h:370
@ M5REG_RX_THREAD
Definition: ns_gige_reg.h:373
@ M5REG_TX_THREAD
Definition: ns_gige_reg.h:374
@ M5REG_RESERVED
Definition: ns_gige_reg.h:371
@ M5REG_RSS
Definition: ns_gige_reg.h:372
GeneralPurposeIOControlRegister
Definition: ns_gige_reg.h:228
@ GPIOR_GP3_OE
Definition: ns_gige_reg.h:237
@ GPIOR_GP5_IN
Definition: ns_gige_reg.h:230
@ GPIOR_GP5_OE
Definition: ns_gige_reg.h:235
@ GPIOR_GP1_OUT
Definition: ns_gige_reg.h:244
@ GPIOR_GP4_OUT
Definition: ns_gige_reg.h:241
@ GPIOR_GP2_OE
Definition: ns_gige_reg.h:238
@ GPIOR_GP2_IN
Definition: ns_gige_reg.h:233
@ GPIOR_GP1_OE
Definition: ns_gige_reg.h:239
@ GPIOR_GP3_IN
Definition: ns_gige_reg.h:232
@ GPIOR_GP5_OUT
Definition: ns_gige_reg.h:240
@ GPIOR_GP4_OE
Definition: ns_gige_reg.h:236
@ GPIOR_UNUSED
Definition: ns_gige_reg.h:229
@ GPIOR_GP2_OUT
Definition: ns_gige_reg.h:243
@ GPIOR_GP3_OUT
Definition: ns_gige_reg.h:242
@ GPIOR_GP4_IN
Definition: ns_gige_reg.h:231
@ GPIOR_GP1_IN
Definition: ns_gige_reg.h:234
VLANIPReceiveControlRegister
Definition: ns_gige_reg.h:314
@ VRCR_RUDPE
Definition: ns_gige_reg.h:315
@ VRCR_RTCPE
Definition: ns_gige_reg.h:316
@ VRCR_VTDEN
Definition: ns_gige_reg.h:322
@ VRCR_DVTF
Definition: ns_gige_reg.h:320
@ VRCR_DUTF
Definition: ns_gige_reg.h:319
@ VRCR_VTREN
Definition: ns_gige_reg.h:321
@ VRCR_RIPE
Definition: ns_gige_reg.h:317
@ VRCR_IPEN
Definition: ns_gige_reg.h:318
InterruptStatusRegister
Definition: ns_gige_reg.h:161
@ ISR_RXDESC
Definition: ns_gige_reg.h:192
@ ISR_RXRCMP
Definition: ns_gige_reg.h:172
@ ISR_DPERR
Definition: ns_gige_reg.h:173
@ ISR_TXDESC2
Definition: ns_gige_reg.h:164
@ ISR_IMPL
Definition: ns_gige_reg.h:198
@ ISR_RMABT
Definition: ns_gige_reg.h:175
@ ISR_RXEARLY
Definition: ns_gige_reg.h:190
@ ISR_NODELAY
Definition: ns_gige_reg.h:197
@ ISR_TXDESC1
Definition: ns_gige_reg.h:165
@ ISR_RXDESC2
Definition: ns_gige_reg.h:168
@ ISR_TXDESC3
Definition: ns_gige_reg.h:163
@ ISR_RXOK
Definition: ns_gige_reg.h:193
@ ISR_PHY
Definition: ns_gige_reg.h:179
@ ISR_DELAY
Definition: ns_gige_reg.h:195
@ ISR_TXIDLE
Definition: ns_gige_reg.h:184
@ ISR_TXDESC
Definition: ns_gige_reg.h:186
@ ISR_RXDESC1
Definition: ns_gige_reg.h:169
@ ISR_TXOK
Definition: ns_gige_reg.h:187
@ ISR_MIB
Definition: ns_gige_reg.h:182
@ ISR_RXDESC3
Definition: ns_gige_reg.h:167
@ ISR_SWI
Definition: ns_gige_reg.h:181
@ ISR_RESERVE
Definition: ns_gige_reg.h:162
@ ISR_RXSOVR
Definition: ns_gige_reg.h:177
@ ISR_TXDESC0
Definition: ns_gige_reg.h:166
@ ISR_RXERR
Definition: ns_gige_reg.h:191
@ ISR_TXERR
Definition: ns_gige_reg.h:185
@ ISR_RXORN
Definition: ns_gige_reg.h:188
@ ISR_TXRCMP
Definition: ns_gige_reg.h:171
@ ISR_PME
Definition: ns_gige_reg.h:180
@ ISR_NOIMPL
Definition: ns_gige_reg.h:200
@ ISR_HIBINT
Definition: ns_gige_reg.h:178
@ ISR_TXURN
Definition: ns_gige_reg.h:183
@ ISR_ALL
Definition: ns_gige_reg.h:194
@ ISR_SSERR
Definition: ns_gige_reg.h:174
@ ISR_RXIDLE
Definition: ns_gige_reg.h:189
@ ISR_RXDESC0
Definition: ns_gige_reg.h:170
@ ISR_RTAB
Definition: ns_gige_reg.h:176
ReceiveFilterMatchControlRegister
Definition: ns_gige_reg.h:277
@ RFCR_APAT0
Definition: ns_gige_reg.h:287
@ RFCR_APAT1
Definition: ns_gige_reg.h:286
@ RFCR_APAT3
Definition: ns_gige_reg.h:284
@ RFCR_UHEN
Definition: ns_gige_reg.h:290
@ RFCR_APM
Definition: ns_gige_reg.h:282
@ RFCR_ULM
Definition: ns_gige_reg.h:291
@ RFCR_MHEN
Definition: ns_gige_reg.h:289
@ RFCR_APAT
Definition: ns_gige_reg.h:283
@ RFCR_AARP
Definition: ns_gige_reg.h:288
@ RFCR_APAT2
Definition: ns_gige_reg.h:285
@ RFCR_AAM
Definition: ns_gige_reg.h:280
@ RFCR_AAU
Definition: ns_gige_reg.h:281
@ RFCR_RFADDR
Definition: ns_gige_reg.h:292
@ RFCR_AAB
Definition: ns_gige_reg.h:279
@ RFCR_RFEN
Definition: ns_gige_reg.h:278
TransmitConfigurationRegister
Definition: ns_gige_reg.h:205
@ TX_CFG_ECRETRY
Definition: ns_gige_reg.h:210
@ TX_CFG_MXDMA8
Definition: ns_gige_reg.h:219
@ TX_CFG_MXDMA1024
Definition: ns_gige_reg.h:212
@ TX_CFG_BRST_DIS
Definition: ns_gige_reg.h:211
@ TX_CFG_FLTH_MASK
Definition: ns_gige_reg.h:222
@ TX_CFG_MXDMA512
Definition: ns_gige_reg.h:213
@ TX_CFG_HBI
Definition: ns_gige_reg.h:207
@ TX_CFG_MXDMA
Definition: ns_gige_reg.h:220
@ TX_CFG_MXDMA16
Definition: ns_gige_reg.h:218
@ TX_CFG_CSI
Definition: ns_gige_reg.h:206
@ TX_CFG_MXDMA128
Definition: ns_gige_reg.h:215
@ TX_CFG_MXDMA32
Definition: ns_gige_reg.h:217
@ TX_CFG_ATP
Definition: ns_gige_reg.h:209
@ TX_CFG_DRTH_MASK
Definition: ns_gige_reg.h:223
@ TX_CFG_MLB
Definition: ns_gige_reg.h:208
@ TX_CFG_MXDMA256
Definition: ns_gige_reg.h:214
@ TX_CFG_MXDMA64
Definition: ns_gige_reg.h:216
CMDSTSFlatsForDescriptors
Definition: ns_gige_reg.h:395
@ CMDSTS_OWN
Definition: ns_gige_reg.h:396
@ CMDSTS_LEN_MASK
Definition: ns_gige_reg.h:401
@ CMDSTS_OK
Definition: ns_gige_reg.h:400
@ CMDSTS_INTR
Definition: ns_gige_reg.h:398
@ CMDSTS_DEST_MASK
Definition: ns_gige_reg.h:403
@ CMDSTS_DEST_SELF
Definition: ns_gige_reg.h:404
@ CMDSTS_ERR
Definition: ns_gige_reg.h:399
@ CMDSTS_DEST_MULTI
Definition: ns_gige_reg.h:405
@ CMDSTS_MORE
Definition: ns_gige_reg.h:397
static int SPDSTS_POLARITY(int lnksts)
Definition: ns_gige_reg.h:421
PauseControlStatusRegister
Definition: ns_gige_reg.h:264
@ PCR_STHI_8
Definition: ns_gige_reg.h:268
@ PCR_PAUSE_CNT
Definition: ns_gige_reg.h:272
@ PCR_PS_DA
Definition: ns_gige_reg.h:267
@ PCR_PSEN
Definition: ns_gige_reg.h:265
@ PCR_STLO_4
Definition: ns_gige_reg.h:269
@ PCR_FFLO_4K
Definition: ns_gige_reg.h:271
@ PCR_FFHI_8K
Definition: ns_gige_reg.h:270
@ PCR_PS_MCAST
Definition: ns_gige_reg.h:266
TBIControlRegister
Definition: ns_gige_reg.h:342
@ TBICR_MR_LOOPBACK
Definition: ns_gige_reg.h:343
@ TBICR_MR_AN_ENABLE
Definition: ns_gige_reg.h:344
@ TBICR_MR_RESTART_AN
Definition: ns_gige_reg.h:345
VLANIPTransmitControlRegister
Definition: ns_gige_reg.h:327
@ VTCR_GCHK
Definition: ns_gige_reg.h:329
@ VTCR_PPCHK
Definition: ns_gige_reg.h:328
@ VTCR_VPPTI
Definition: ns_gige_reg.h:330
@ VTCR_VGTI
Definition: ns_gige_reg.h:331
uint32_t bufptr
Definition: ns_gige_reg.h:380
uint32_t cmdsts
Definition: ns_gige_reg.h:381
uint32_t extsts
Definition: ns_gige_reg.h:382
uint64_t bufptr
Definition: ns_gige_reg.h:388
uint32_t cmdsts
Definition: ns_gige_reg.h:389
uint32_t extsts
Definition: ns_gige_reg.h:390

Generated on Wed Dec 21 2022 10:22:34 for gem5 by doxygen 1.9.1