30 #ifndef _SAMV71_GMAC_COMPONENT_ 31 #define _SAMV71_GMAC_COMPONENT_ 39 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 42 __IO uint32_t GMAC_SAB;
43 __IO uint32_t GMAC_SAT;
48 __IO uint32_t GMAC_ST2COM0;
49 __IO uint32_t GMAC_ST2COM1;
53 #define GMACSA_NUMBER 4 54 #define GMACST2COMPARE_NUMBER 24 56 __IO uint32_t GMAC_NCR;
57 __IO uint32_t GMAC_NCFGR;
58 __I uint32_t GMAC_NSR;
59 __IO uint32_t GMAC_UR;
60 __IO uint32_t GMAC_DCFGR;
61 __IO uint32_t GMAC_TSR;
62 __IO uint32_t GMAC_RBQB;
63 __IO uint32_t GMAC_TBQB;
64 __IO uint32_t GMAC_RSR;
65 __I uint32_t GMAC_ISR;
66 __O uint32_t GMAC_IER;
67 __O uint32_t GMAC_IDR;
68 __IO uint32_t GMAC_IMR;
69 __IO uint32_t GMAC_MAN;
70 __I uint32_t GMAC_RPQ;
71 __IO uint32_t GMAC_TPQ;
72 __IO uint32_t GMAC_TPSF;
73 __IO uint32_t GMAC_RPSF;
74 __IO uint32_t GMAC_RJFML;
75 __I uint32_t Reserved1[13];
76 __IO uint32_t GMAC_HRB;
77 __IO uint32_t GMAC_HRT;
79 __IO uint32_t GMAC_TIDM1;
80 __IO uint32_t GMAC_TIDM2;
81 __IO uint32_t GMAC_TIDM3;
82 __IO uint32_t GMAC_TIDM4;
83 __IO uint32_t GMAC_WOL;
84 __IO uint32_t GMAC_IPGS;
85 __IO uint32_t GMAC_SVLAN;
86 __IO uint32_t GMAC_TPFCP;
87 __IO uint32_t GMAC_SAMB1;
88 __IO uint32_t GMAC_SAMT1;
89 __I uint32_t Reserved2[3];
90 __IO uint32_t GMAC_NSC;
91 __IO uint32_t GMAC_SCL;
92 __IO uint32_t GMAC_SCH;
93 __I uint32_t GMAC_EFTSH;
94 __I uint32_t GMAC_EFRSH;
95 __I uint32_t GMAC_PEFTSH;
96 __I uint32_t GMAC_PEFRSH;
97 __I uint32_t Reserved3[1];
99 __I uint32_t GMAC_OTLO;
100 __I uint32_t GMAC_OTHI;
101 __I uint32_t GMAC_FT;
102 __I uint32_t GMAC_BCFT;
103 __I uint32_t GMAC_MFT;
104 __I uint32_t GMAC_PFT;
105 __I uint32_t GMAC_BFT64;
106 __I uint32_t GMAC_TBFT127;
107 __I uint32_t GMAC_TBFT255;
108 __I uint32_t GMAC_TBFT511;
109 __I uint32_t GMAC_TBFT1023;
110 __I uint32_t GMAC_TBFT1518;
111 __I uint32_t GMAC_GTBFT1518;
112 __I uint32_t GMAC_TUR;
113 __I uint32_t GMAC_SCF;
114 __I uint32_t GMAC_MCF;
115 __I uint32_t GMAC_EC;
116 __I uint32_t GMAC_LC;
117 __I uint32_t GMAC_DTF;
118 __I uint32_t GMAC_CSE;
119 __I uint32_t GMAC_ORLO;
120 __I uint32_t GMAC_ORHI;
121 __I uint32_t GMAC_FR;
122 __I uint32_t GMAC_BCFR;
123 __I uint32_t GMAC_MFR;
124 __I uint32_t GMAC_PFR;
125 __I uint32_t GMAC_BFR64;
126 __I uint32_t GMAC_TBFR127;
127 __I uint32_t GMAC_TBFR255;
128 __I uint32_t GMAC_TBFR511;
129 __I uint32_t GMAC_TBFR1023;
130 __I uint32_t GMAC_TBFR1518;
131 __I uint32_t GMAC_TMXBFR;
132 __I uint32_t GMAC_UFR;
133 __I uint32_t GMAC_OFR;
134 __I uint32_t GMAC_JR;
135 __I uint32_t GMAC_FCSE;
136 __I uint32_t GMAC_LFFE;
137 __I uint32_t GMAC_RSE;
138 __I uint32_t GMAC_AE;
139 __I uint32_t GMAC_RRE;
140 __I uint32_t GMAC_ROE;
141 __I uint32_t GMAC_IHCE;
142 __I uint32_t GMAC_TCE;
143 __I uint32_t GMAC_UCE;
144 __I uint32_t Reserved4[2];
145 __IO uint32_t GMAC_TISUBN;
146 __IO uint32_t GMAC_TSH;
147 __I uint32_t Reserved5[3];
148 __IO uint32_t GMAC_TSL;
149 __IO uint32_t GMAC_TN;
150 __O uint32_t GMAC_TA;
151 __IO uint32_t GMAC_TI;
152 __I uint32_t GMAC_EFTSL;
153 __I uint32_t GMAC_EFTN;
154 __I uint32_t GMAC_EFRSL;
155 __I uint32_t GMAC_EFRN;
156 __I uint32_t GMAC_PEFTSL;
157 __I uint32_t GMAC_PEFTN;
158 __I uint32_t GMAC_PEFRSL;
159 __I uint32_t GMAC_PEFRN;
160 __I uint32_t Reserved6[128];
161 __I uint32_t GMAC_ISRPQ[2];
162 __I uint32_t Reserved7[14];
163 __IO uint32_t GMAC_TBQBAPQ[2];
164 __I uint32_t Reserved8[14];
165 __IO uint32_t GMAC_RBQBAPQ[2];
166 __I uint32_t Reserved9[6];
167 __IO uint32_t GMAC_RBSRPQ[2];
168 __I uint32_t Reserved10[5];
169 __IO uint32_t GMAC_CBSCR;
170 __IO uint32_t GMAC_CBSISQA;
171 __IO uint32_t GMAC_CBSISQB;
172 __I uint32_t Reserved11[14];
173 __IO uint32_t GMAC_ST1RPQ[4];
174 __I uint32_t Reserved12[12];
175 __IO uint32_t GMAC_ST2RPQ[8];
176 __I uint32_t Reserved13[12];
177 __I uint32_t Reserved14[28];
178 __O uint32_t GMAC_IERPQ[2];
179 __I uint32_t Reserved15[6];
180 __O uint32_t GMAC_IDRPQ[2];
181 __I uint32_t Reserved16[6];
182 __IO uint32_t GMAC_IMRPQ[2];
183 __I uint32_t Reserved17[38];
184 __IO uint32_t GMAC_ST2ER[4];
185 __I uint32_t Reserved18[4];
190 #define GMAC_NCR_LBL (0x1u << 1) 191 #define GMAC_NCR_RXEN (0x1u << 2) 192 #define GMAC_NCR_TXEN (0x1u << 3) 193 #define GMAC_NCR_MPE (0x1u << 4) 194 #define GMAC_NCR_CLRSTAT (0x1u << 5) 195 #define GMAC_NCR_INCSTAT (0x1u << 6) 196 #define GMAC_NCR_WESTAT (0x1u << 7) 197 #define GMAC_NCR_BP (0x1u << 8) 198 #define GMAC_NCR_TSTART (0x1u << 9) 199 #define GMAC_NCR_THALT (0x1u << 10) 200 #define GMAC_NCR_TXPF (0x1u << 11) 201 #define GMAC_NCR_TXZQPF (0x1u << 12) 202 #define GMAC_NCR_SRTSM (0x1u << 15) 203 #define GMAC_NCR_ENPBPR (0x1u << 16) 204 #define GMAC_NCR_TXPBPF (0x1u << 17) 205 #define GMAC_NCR_FNP (0x1u << 18) 207 #define GMAC_NCFGR_SPD (0x1u << 0) 208 #define GMAC_NCFGR_FD (0x1u << 1) 209 #define GMAC_NCFGR_DNVLAN (0x1u << 2) 210 #define GMAC_NCFGR_JFRAME (0x1u << 3) 211 #define GMAC_NCFGR_CAF (0x1u << 4) 212 #define GMAC_NCFGR_NBC (0x1u << 5) 213 #define GMAC_NCFGR_MTIHEN (0x1u << 6) 214 #define GMAC_NCFGR_UNIHEN (0x1u << 7) 215 #define GMAC_NCFGR_MAXFS (0x1u << 8) 216 #define GMAC_NCFGR_RTY (0x1u << 12) 217 #define GMAC_NCFGR_PEN (0x1u << 13) 218 #define GMAC_NCFGR_RXBUFO_Pos 14 219 #define GMAC_NCFGR_RXBUFO_Msk (0x3u << GMAC_NCFGR_RXBUFO_Pos) 220 #define GMAC_NCFGR_RXBUFO(value) ((GMAC_NCFGR_RXBUFO_Msk & ((value) << GMAC_NCFGR_RXBUFO_Pos))) 221 #define GMAC_NCFGR_LFERD (0x1u << 16) 222 #define GMAC_NCFGR_RFCS (0x1u << 17) 223 #define GMAC_NCFGR_CLK_Pos 18 224 #define GMAC_NCFGR_CLK_Msk (0x7u << GMAC_NCFGR_CLK_Pos) 225 #define GMAC_NCFGR_CLK(value) ((GMAC_NCFGR_CLK_Msk & ((value) << GMAC_NCFGR_CLK_Pos))) 226 #define GMAC_NCFGR_CLK_MCK_8 (0x0u << 18) 227 #define GMAC_NCFGR_CLK_MCK_16 (0x1u << 18) 228 #define GMAC_NCFGR_CLK_MCK_32 (0x2u << 18) 229 #define GMAC_NCFGR_CLK_MCK_48 (0x3u << 18) 230 #define GMAC_NCFGR_CLK_MCK_64 (0x4u << 18) 231 #define GMAC_NCFGR_CLK_MCK_96 (0x5u << 18) 232 #define GMAC_NCFGR_DBW_Pos 21 233 #define GMAC_NCFGR_DBW_Msk (0x3u << GMAC_NCFGR_DBW_Pos) 234 #define GMAC_NCFGR_DBW(value) ((GMAC_NCFGR_DBW_Msk & ((value) << GMAC_NCFGR_DBW_Pos))) 235 #define GMAC_NCFGR_DCPF (0x1u << 23) 236 #define GMAC_NCFGR_RXCOEN (0x1u << 24) 237 #define GMAC_NCFGR_EFRHD (0x1u << 25) 238 #define GMAC_NCFGR_IRXFCS (0x1u << 26) 239 #define GMAC_NCFGR_IPGSEN (0x1u << 28) 240 #define GMAC_NCFGR_RXBP (0x1u << 29) 241 #define GMAC_NCFGR_IRXER (0x1u << 30) 243 #define GMAC_NSR_MDIO (0x1u << 1) 244 #define GMAC_NSR_IDLE (0x1u << 2) 246 #define GMAC_UR_RMII (0x1u << 0) 248 #define GMAC_DCFGR_FBLDO_Pos 0 249 #define GMAC_DCFGR_FBLDO_Msk (0x1fu << GMAC_DCFGR_FBLDO_Pos) 250 #define GMAC_DCFGR_FBLDO(value) ((GMAC_DCFGR_FBLDO_Msk & ((value) << GMAC_DCFGR_FBLDO_Pos))) 251 #define GMAC_DCFGR_FBLDO_SINGLE (0x1u << 0) 252 #define GMAC_DCFGR_FBLDO_INCR4 (0x4u << 0) 253 #define GMAC_DCFGR_FBLDO_INCR8 (0x8u << 0) 254 #define GMAC_DCFGR_FBLDO_INCR16 (0x10u << 0) 255 #define GMAC_DCFGR_ESMA (0x1u << 6) 256 #define GMAC_DCFGR_ESPA (0x1u << 7) 257 #define GMAC_DCFGR_RXBMS_Pos 8 258 #define GMAC_DCFGR_RXBMS_Msk (0x3u << GMAC_DCFGR_RXBMS_Pos) 259 #define GMAC_DCFGR_RXBMS(value) ((GMAC_DCFGR_RXBMS_Msk & ((value) << GMAC_DCFGR_RXBMS_Pos))) 260 #define GMAC_DCFGR_RXBMS_EIGHTH (0x0u << 8) 261 #define GMAC_DCFGR_RXBMS_QUARTER (0x1u << 8) 262 #define GMAC_DCFGR_RXBMS_HALF (0x2u << 8) 263 #define GMAC_DCFGR_RXBMS_FULL (0x3u << 8) 264 #define GMAC_DCFGR_TXPBMS (0x1u << 10) 265 #define GMAC_DCFGR_TXCOEN (0x1u << 11) 266 #define GMAC_DCFGR_DRBS_Pos 16 267 #define GMAC_DCFGR_DRBS_Msk (0xffu << GMAC_DCFGR_DRBS_Pos) 268 #define GMAC_DCFGR_DRBS(value) ((GMAC_DCFGR_DRBS_Msk & ((value) << GMAC_DCFGR_DRBS_Pos))) 269 #define GMAC_DCFGR_DDRP (0x1u << 24) 271 #define GMAC_TSR_UBR (0x1u << 0) 272 #define GMAC_TSR_COL (0x1u << 1) 273 #define GMAC_TSR_RLE (0x1u << 2) 274 #define GMAC_TSR_TXGO (0x1u << 3) 275 #define GMAC_TSR_TFC (0x1u << 4) 276 #define GMAC_TSR_TXCOMP (0x1u << 5) 277 #define GMAC_TSR_HRESP (0x1u << 8) 279 #define GMAC_RBQB_ADDR_Pos 2 280 #define GMAC_RBQB_ADDR_Msk (0x3fffffffu << GMAC_RBQB_ADDR_Pos) 281 #define GMAC_RBQB_ADDR(value) ((GMAC_RBQB_ADDR_Msk & ((value) << GMAC_RBQB_ADDR_Pos))) 283 #define GMAC_TBQB_ADDR_Pos 2 284 #define GMAC_TBQB_ADDR_Msk (0x3fffffffu << GMAC_TBQB_ADDR_Pos) 285 #define GMAC_TBQB_ADDR(value) ((GMAC_TBQB_ADDR_Msk & ((value) << GMAC_TBQB_ADDR_Pos))) 287 #define GMAC_RSR_BNA (0x1u << 0) 288 #define GMAC_RSR_REC (0x1u << 1) 289 #define GMAC_RSR_RXOVR (0x1u << 2) 290 #define GMAC_RSR_HNO (0x1u << 3) 292 #define GMAC_ISR_MFS (0x1u << 0) 293 #define GMAC_ISR_RCOMP (0x1u << 1) 294 #define GMAC_ISR_RXUBR (0x1u << 2) 295 #define GMAC_ISR_TXUBR (0x1u << 3) 296 #define GMAC_ISR_TUR (0x1u << 4) 297 #define GMAC_ISR_RLEX (0x1u << 5) 298 #define GMAC_ISR_TFC (0x1u << 6) 299 #define GMAC_ISR_TCOMP (0x1u << 7) 300 #define GMAC_ISR_ROVR (0x1u << 10) 301 #define GMAC_ISR_HRESP (0x1u << 11) 302 #define GMAC_ISR_PFNZ (0x1u << 12) 303 #define GMAC_ISR_PTZ (0x1u << 13) 304 #define GMAC_ISR_PFTR (0x1u << 14) 305 #define GMAC_ISR_DRQFR (0x1u << 18) 306 #define GMAC_ISR_SFR (0x1u << 19) 307 #define GMAC_ISR_DRQFT (0x1u << 20) 308 #define GMAC_ISR_SFT (0x1u << 21) 309 #define GMAC_ISR_PDRQFR (0x1u << 22) 310 #define GMAC_ISR_PDRSFR (0x1u << 23) 311 #define GMAC_ISR_PDRQFT (0x1u << 24) 312 #define GMAC_ISR_PDRSFT (0x1u << 25) 313 #define GMAC_ISR_SRI (0x1u << 26) 314 #define GMAC_ISR_WOL (0x1u << 28) 315 #define GMAC_ISR_TSU (0x1u << 29) 317 #define GMAC_IER_MFS (0x1u << 0) 318 #define GMAC_IER_RCOMP (0x1u << 1) 319 #define GMAC_IER_RXUBR (0x1u << 2) 320 #define GMAC_IER_TXUBR (0x1u << 3) 321 #define GMAC_IER_TUR (0x1u << 4) 322 #define GMAC_IER_RLEX (0x1u << 5) 323 #define GMAC_IER_TFC (0x1u << 6) 324 #define GMAC_IER_TCOMP (0x1u << 7) 325 #define GMAC_IER_ROVR (0x1u << 10) 326 #define GMAC_IER_HRESP (0x1u << 11) 327 #define GMAC_IER_PFNZ (0x1u << 12) 328 #define GMAC_IER_PTZ (0x1u << 13) 329 #define GMAC_IER_PFTR (0x1u << 14) 330 #define GMAC_IER_EXINT (0x1u << 15) 331 #define GMAC_IER_DRQFR (0x1u << 18) 332 #define GMAC_IER_SFR (0x1u << 19) 333 #define GMAC_IER_DRQFT (0x1u << 20) 334 #define GMAC_IER_SFT (0x1u << 21) 335 #define GMAC_IER_PDRQFR (0x1u << 22) 336 #define GMAC_IER_PDRSFR (0x1u << 23) 337 #define GMAC_IER_PDRQFT (0x1u << 24) 338 #define GMAC_IER_PDRSFT (0x1u << 25) 339 #define GMAC_IER_SRI (0x1u << 26) 340 #define GMAC_IER_WOL (0x1u << 28) 342 #define GMAC_IDR_MFS (0x1u << 0) 343 #define GMAC_IDR_RCOMP (0x1u << 1) 344 #define GMAC_IDR_RXUBR (0x1u << 2) 345 #define GMAC_IDR_TXUBR (0x1u << 3) 346 #define GMAC_IDR_TUR (0x1u << 4) 347 #define GMAC_IDR_RLEX (0x1u << 5) 348 #define GMAC_IDR_TFC (0x1u << 6) 349 #define GMAC_IDR_TCOMP (0x1u << 7) 350 #define GMAC_IDR_ROVR (0x1u << 10) 351 #define GMAC_IDR_HRESP (0x1u << 11) 352 #define GMAC_IDR_PFNZ (0x1u << 12) 353 #define GMAC_IDR_PTZ (0x1u << 13) 354 #define GMAC_IDR_PFTR (0x1u << 14) 355 #define GMAC_IDR_EXINT (0x1u << 15) 356 #define GMAC_IDR_DRQFR (0x1u << 18) 357 #define GMAC_IDR_SFR (0x1u << 19) 358 #define GMAC_IDR_DRQFT (0x1u << 20) 359 #define GMAC_IDR_SFT (0x1u << 21) 360 #define GMAC_IDR_PDRQFR (0x1u << 22) 361 #define GMAC_IDR_PDRSFR (0x1u << 23) 362 #define GMAC_IDR_PDRQFT (0x1u << 24) 363 #define GMAC_IDR_PDRSFT (0x1u << 25) 364 #define GMAC_IDR_SRI (0x1u << 26) 365 #define GMAC_IDR_WOL (0x1u << 28) 367 #define GMAC_IMR_MFS (0x1u << 0) 368 #define GMAC_IMR_RCOMP (0x1u << 1) 369 #define GMAC_IMR_RXUBR (0x1u << 2) 370 #define GMAC_IMR_TXUBR (0x1u << 3) 371 #define GMAC_IMR_TUR (0x1u << 4) 372 #define GMAC_IMR_RLEX (0x1u << 5) 373 #define GMAC_IMR_TFC (0x1u << 6) 374 #define GMAC_IMR_TCOMP (0x1u << 7) 375 #define GMAC_IMR_ROVR (0x1u << 10) 376 #define GMAC_IMR_HRESP (0x1u << 11) 377 #define GMAC_IMR_PFNZ (0x1u << 12) 378 #define GMAC_IMR_PTZ (0x1u << 13) 379 #define GMAC_IMR_PFTR (0x1u << 14) 380 #define GMAC_IMR_EXINT (0x1u << 15) 381 #define GMAC_IMR_DRQFR (0x1u << 18) 382 #define GMAC_IMR_SFR (0x1u << 19) 383 #define GMAC_IMR_DRQFT (0x1u << 20) 384 #define GMAC_IMR_SFT (0x1u << 21) 385 #define GMAC_IMR_PDRQFR (0x1u << 22) 386 #define GMAC_IMR_PDRSFR (0x1u << 23) 387 #define GMAC_IMR_PDRQFT (0x1u << 24) 388 #define GMAC_IMR_PDRSFT (0x1u << 25) 390 #define GMAC_MAN_DATA_Pos 0 391 #define GMAC_MAN_DATA_Msk (0xffffu << GMAC_MAN_DATA_Pos) 392 #define GMAC_MAN_DATA(value) ((GMAC_MAN_DATA_Msk & ((value) << GMAC_MAN_DATA_Pos))) 393 #define GMAC_MAN_WTN_Pos 16 394 #define GMAC_MAN_WTN_Msk (0x3u << GMAC_MAN_WTN_Pos) 395 #define GMAC_MAN_WTN(value) ((GMAC_MAN_WTN_Msk & ((value) << GMAC_MAN_WTN_Pos))) 396 #define GMAC_MAN_REGA_Pos 18 397 #define GMAC_MAN_REGA_Msk (0x1fu << GMAC_MAN_REGA_Pos) 398 #define GMAC_MAN_REGA(value) ((GMAC_MAN_REGA_Msk & ((value) << GMAC_MAN_REGA_Pos))) 399 #define GMAC_MAN_PHYA_Pos 23 400 #define GMAC_MAN_PHYA_Msk (0x1fu << GMAC_MAN_PHYA_Pos) 401 #define GMAC_MAN_PHYA(value) ((GMAC_MAN_PHYA_Msk & ((value) << GMAC_MAN_PHYA_Pos))) 402 #define GMAC_MAN_OP_Pos 28 403 #define GMAC_MAN_OP_Msk (0x3u << GMAC_MAN_OP_Pos) 404 #define GMAC_MAN_OP(value) ((GMAC_MAN_OP_Msk & ((value) << GMAC_MAN_OP_Pos))) 405 #define GMAC_MAN_CLTTO (0x1u << 30) 406 #define GMAC_MAN_WZO (0x1u << 31) 408 #define GMAC_RPQ_RPQ_Pos 0 409 #define GMAC_RPQ_RPQ_Msk (0xffffu << GMAC_RPQ_RPQ_Pos) 411 #define GMAC_TPQ_TPQ_Pos 0 412 #define GMAC_TPQ_TPQ_Msk (0xffffu << GMAC_TPQ_TPQ_Pos) 413 #define GMAC_TPQ_TPQ(value) ((GMAC_TPQ_TPQ_Msk & ((value) << GMAC_TPQ_TPQ_Pos))) 415 #define GMAC_TPSF_TPB1ADR_Pos 0 416 #define GMAC_TPSF_TPB1ADR_Msk (0xfffu << GMAC_TPSF_TPB1ADR_Pos) 417 #define GMAC_TPSF_TPB1ADR(value) ((GMAC_TPSF_TPB1ADR_Msk & ((value) << GMAC_TPSF_TPB1ADR_Pos))) 418 #define GMAC_TPSF_ENTXP (0x1u << 31) 420 #define GMAC_RPSF_RPB1ADR_Pos 0 421 #define GMAC_RPSF_RPB1ADR_Msk (0xfffu << GMAC_RPSF_RPB1ADR_Pos) 422 #define GMAC_RPSF_RPB1ADR(value) ((GMAC_RPSF_RPB1ADR_Msk & ((value) << GMAC_RPSF_RPB1ADR_Pos))) 423 #define GMAC_RPSF_ENRXP (0x1u << 31) 425 #define GMAC_RJFML_FML_Pos 0 426 #define GMAC_RJFML_FML_Msk (0x3fffu << GMAC_RJFML_FML_Pos) 427 #define GMAC_RJFML_FML(value) ((GMAC_RJFML_FML_Msk & ((value) << GMAC_RJFML_FML_Pos))) 429 #define GMAC_HRB_ADDR_Pos 0 430 #define GMAC_HRB_ADDR_Msk (0xffffffffu << GMAC_HRB_ADDR_Pos) 431 #define GMAC_HRB_ADDR(value) ((GMAC_HRB_ADDR_Msk & ((value) << GMAC_HRB_ADDR_Pos))) 433 #define GMAC_HRT_ADDR_Pos 0 434 #define GMAC_HRT_ADDR_Msk (0xffffffffu << GMAC_HRT_ADDR_Pos) 435 #define GMAC_HRT_ADDR(value) ((GMAC_HRT_ADDR_Msk & ((value) << GMAC_HRT_ADDR_Pos))) 437 #define GMAC_SAB_ADDR_Pos 0 438 #define GMAC_SAB_ADDR_Msk (0xffffffffu << GMAC_SAB_ADDR_Pos) 439 #define GMAC_SAB_ADDR(value) ((GMAC_SAB_ADDR_Msk & ((value) << GMAC_SAB_ADDR_Pos))) 441 #define GMAC_SAT_ADDR_Pos 0 442 #define GMAC_SAT_ADDR_Msk (0xffffu << GMAC_SAT_ADDR_Pos) 443 #define GMAC_SAT_ADDR(value) ((GMAC_SAT_ADDR_Msk & ((value) << GMAC_SAT_ADDR_Pos))) 445 #define GMAC_TIDM1_TID_Pos 0 446 #define GMAC_TIDM1_TID_Msk (0xffffu << GMAC_TIDM1_TID_Pos) 447 #define GMAC_TIDM1_TID(value) ((GMAC_TIDM1_TID_Msk & ((value) << GMAC_TIDM1_TID_Pos))) 448 #define GMAC_TIDM1_ENID1 (0x1u << 31) 450 #define GMAC_TIDM2_TID_Pos 0 451 #define GMAC_TIDM2_TID_Msk (0xffffu << GMAC_TIDM2_TID_Pos) 452 #define GMAC_TIDM2_TID(value) ((GMAC_TIDM2_TID_Msk & ((value) << GMAC_TIDM2_TID_Pos))) 453 #define GMAC_TIDM2_ENID2 (0x1u << 31) 455 #define GMAC_TIDM3_TID_Pos 0 456 #define GMAC_TIDM3_TID_Msk (0xffffu << GMAC_TIDM3_TID_Pos) 457 #define GMAC_TIDM3_TID(value) ((GMAC_TIDM3_TID_Msk & ((value) << GMAC_TIDM3_TID_Pos))) 458 #define GMAC_TIDM3_ENID3 (0x1u << 31) 460 #define GMAC_TIDM4_TID_Pos 0 461 #define GMAC_TIDM4_TID_Msk (0xffffu << GMAC_TIDM4_TID_Pos) 462 #define GMAC_TIDM4_TID(value) ((GMAC_TIDM4_TID_Msk & ((value) << GMAC_TIDM4_TID_Pos))) 463 #define GMAC_TIDM4_ENID4 (0x1u << 31) 465 #define GMAC_WOL_IP_Pos 0 466 #define GMAC_WOL_IP_Msk (0xffffu << GMAC_WOL_IP_Pos) 467 #define GMAC_WOL_IP(value) ((GMAC_WOL_IP_Msk & ((value) << GMAC_WOL_IP_Pos))) 468 #define GMAC_WOL_MAG (0x1u << 16) 469 #define GMAC_WOL_ARP (0x1u << 17) 470 #define GMAC_WOL_SA1 (0x1u << 18) 471 #define GMAC_WOL_MTI (0x1u << 19) 473 #define GMAC_IPGS_FL_Pos 0 474 #define GMAC_IPGS_FL_Msk (0xffffu << GMAC_IPGS_FL_Pos) 475 #define GMAC_IPGS_FL(value) ((GMAC_IPGS_FL_Msk & ((value) << GMAC_IPGS_FL_Pos))) 477 #define GMAC_SVLAN_VLAN_TYPE_Pos 0 478 #define GMAC_SVLAN_VLAN_TYPE_Msk (0xffffu << GMAC_SVLAN_VLAN_TYPE_Pos) 479 #define GMAC_SVLAN_VLAN_TYPE(value) ((GMAC_SVLAN_VLAN_TYPE_Msk & ((value) << GMAC_SVLAN_VLAN_TYPE_Pos))) 480 #define GMAC_SVLAN_ESVLAN (0x1u << 31) 482 #define GMAC_TPFCP_PEV_Pos 0 483 #define GMAC_TPFCP_PEV_Msk (0xffu << GMAC_TPFCP_PEV_Pos) 484 #define GMAC_TPFCP_PEV(value) ((GMAC_TPFCP_PEV_Msk & ((value) << GMAC_TPFCP_PEV_Pos))) 485 #define GMAC_TPFCP_PQ_Pos 8 486 #define GMAC_TPFCP_PQ_Msk (0xffu << GMAC_TPFCP_PQ_Pos) 487 #define GMAC_TPFCP_PQ(value) ((GMAC_TPFCP_PQ_Msk & ((value) << GMAC_TPFCP_PQ_Pos))) 489 #define GMAC_SAMB1_ADDR_Pos 0 490 #define GMAC_SAMB1_ADDR_Msk (0xffffffffu << GMAC_SAMB1_ADDR_Pos) 491 #define GMAC_SAMB1_ADDR(value) ((GMAC_SAMB1_ADDR_Msk & ((value) << GMAC_SAMB1_ADDR_Pos))) 493 #define GMAC_SAMT1_ADDR_Pos 0 494 #define GMAC_SAMT1_ADDR_Msk (0xffffu << GMAC_SAMT1_ADDR_Pos) 495 #define GMAC_SAMT1_ADDR(value) ((GMAC_SAMT1_ADDR_Msk & ((value) << GMAC_SAMT1_ADDR_Pos))) 497 #define GMAC_NSC_NANOSEC_Pos 0 498 #define GMAC_NSC_NANOSEC_Msk (0x3fffffu << GMAC_NSC_NANOSEC_Pos) 499 #define GMAC_NSC_NANOSEC(value) ((GMAC_NSC_NANOSEC_Msk & ((value) << GMAC_NSC_NANOSEC_Pos))) 501 #define GMAC_SCL_SEC_Pos 0 502 #define GMAC_SCL_SEC_Msk (0xffffffffu << GMAC_SCL_SEC_Pos) 503 #define GMAC_SCL_SEC(value) ((GMAC_SCL_SEC_Msk & ((value) << GMAC_SCL_SEC_Pos))) 505 #define GMAC_SCH_SEC_Pos 0 506 #define GMAC_SCH_SEC_Msk (0xffffu << GMAC_SCH_SEC_Pos) 507 #define GMAC_SCH_SEC(value) ((GMAC_SCH_SEC_Msk & ((value) << GMAC_SCH_SEC_Pos))) 509 #define GMAC_EFTSH_RUD_Pos 0 510 #define GMAC_EFTSH_RUD_Msk (0xffffu << GMAC_EFTSH_RUD_Pos) 512 #define GMAC_EFRSH_RUD_Pos 0 513 #define GMAC_EFRSH_RUD_Msk (0xffffu << GMAC_EFRSH_RUD_Pos) 515 #define GMAC_PEFTSH_RUD_Pos 0 516 #define GMAC_PEFTSH_RUD_Msk (0xffffu << GMAC_PEFTSH_RUD_Pos) 518 #define GMAC_PEFRSH_RUD_Pos 0 519 #define GMAC_PEFRSH_RUD_Msk (0xffffu << GMAC_PEFRSH_RUD_Pos) 521 #define GMAC_MID_MREV_Pos 0 522 #define GMAC_MID_MREV_Msk (0xffffu << GMAC_MID_MREV_Pos) 523 #define GMAC_MID_MID_Pos 16 524 #define GMAC_MID_MID_Msk (0xffffu << GMAC_MID_MID_Pos) 526 #define GMAC_OTLO_TXO_Pos 0 527 #define GMAC_OTLO_TXO_Msk (0xffffffffu << GMAC_OTLO_TXO_Pos) 529 #define GMAC_OTHI_TXO_Pos 0 530 #define GMAC_OTHI_TXO_Msk (0xffffu << GMAC_OTHI_TXO_Pos) 532 #define GMAC_FT_FTX_Pos 0 533 #define GMAC_FT_FTX_Msk (0xffffffffu << GMAC_FT_FTX_Pos) 535 #define GMAC_BCFT_BFTX_Pos 0 536 #define GMAC_BCFT_BFTX_Msk (0xffffffffu << GMAC_BCFT_BFTX_Pos) 538 #define GMAC_MFT_MFTX_Pos 0 539 #define GMAC_MFT_MFTX_Msk (0xffffffffu << GMAC_MFT_MFTX_Pos) 541 #define GMAC_PFT_PFTX_Pos 0 542 #define GMAC_PFT_PFTX_Msk (0xffffu << GMAC_PFT_PFTX_Pos) 544 #define GMAC_BFT64_NFTX_Pos 0 545 #define GMAC_BFT64_NFTX_Msk (0xffffffffu << GMAC_BFT64_NFTX_Pos) 547 #define GMAC_TBFT127_NFTX_Pos 0 548 #define GMAC_TBFT127_NFTX_Msk (0xffffffffu << GMAC_TBFT127_NFTX_Pos) 550 #define GMAC_TBFT255_NFTX_Pos 0 551 #define GMAC_TBFT255_NFTX_Msk (0xffffffffu << GMAC_TBFT255_NFTX_Pos) 553 #define GMAC_TBFT511_NFTX_Pos 0 554 #define GMAC_TBFT511_NFTX_Msk (0xffffffffu << GMAC_TBFT511_NFTX_Pos) 556 #define GMAC_TBFT1023_NFTX_Pos 0 557 #define GMAC_TBFT1023_NFTX_Msk (0xffffffffu << GMAC_TBFT1023_NFTX_Pos) 559 #define GMAC_TBFT1518_NFTX_Pos 0 560 #define GMAC_TBFT1518_NFTX_Msk (0xffffffffu << GMAC_TBFT1518_NFTX_Pos) 562 #define GMAC_GTBFT1518_NFTX_Pos 0 563 #define GMAC_GTBFT1518_NFTX_Msk (0xffffffffu << GMAC_GTBFT1518_NFTX_Pos) 565 #define GMAC_TUR_TXUNR_Pos 0 566 #define GMAC_TUR_TXUNR_Msk (0x3ffu << GMAC_TUR_TXUNR_Pos) 568 #define GMAC_SCF_SCOL_Pos 0 569 #define GMAC_SCF_SCOL_Msk (0x3ffffu << GMAC_SCF_SCOL_Pos) 571 #define GMAC_MCF_MCOL_Pos 0 572 #define GMAC_MCF_MCOL_Msk (0x3ffffu << GMAC_MCF_MCOL_Pos) 574 #define GMAC_EC_XCOL_Pos 0 575 #define GMAC_EC_XCOL_Msk (0x3ffu << GMAC_EC_XCOL_Pos) 577 #define GMAC_LC_LCOL_Pos 0 578 #define GMAC_LC_LCOL_Msk (0x3ffu << GMAC_LC_LCOL_Pos) 580 #define GMAC_DTF_DEFT_Pos 0 581 #define GMAC_DTF_DEFT_Msk (0x3ffffu << GMAC_DTF_DEFT_Pos) 583 #define GMAC_CSE_CSR_Pos 0 584 #define GMAC_CSE_CSR_Msk (0x3ffu << GMAC_CSE_CSR_Pos) 586 #define GMAC_ORLO_RXO_Pos 0 587 #define GMAC_ORLO_RXO_Msk (0xffffffffu << GMAC_ORLO_RXO_Pos) 589 #define GMAC_ORHI_RXO_Pos 0 590 #define GMAC_ORHI_RXO_Msk (0xffffu << GMAC_ORHI_RXO_Pos) 592 #define GMAC_FR_FRX_Pos 0 593 #define GMAC_FR_FRX_Msk (0xffffffffu << GMAC_FR_FRX_Pos) 595 #define GMAC_BCFR_BFRX_Pos 0 596 #define GMAC_BCFR_BFRX_Msk (0xffffffffu << GMAC_BCFR_BFRX_Pos) 598 #define GMAC_MFR_MFRX_Pos 0 599 #define GMAC_MFR_MFRX_Msk (0xffffffffu << GMAC_MFR_MFRX_Pos) 601 #define GMAC_PFR_PFRX_Pos 0 602 #define GMAC_PFR_PFRX_Msk (0xffffu << GMAC_PFR_PFRX_Pos) 604 #define GMAC_BFR64_NFRX_Pos 0 605 #define GMAC_BFR64_NFRX_Msk (0xffffffffu << GMAC_BFR64_NFRX_Pos) 607 #define GMAC_TBFR127_NFRX_Pos 0 608 #define GMAC_TBFR127_NFRX_Msk (0xffffffffu << GMAC_TBFR127_NFRX_Pos) 610 #define GMAC_TBFR255_NFRX_Pos 0 611 #define GMAC_TBFR255_NFRX_Msk (0xffffffffu << GMAC_TBFR255_NFRX_Pos) 613 #define GMAC_TBFR511_NFRX_Pos 0 614 #define GMAC_TBFR511_NFRX_Msk (0xffffffffu << GMAC_TBFR511_NFRX_Pos) 616 #define GMAC_TBFR1023_NFRX_Pos 0 617 #define GMAC_TBFR1023_NFRX_Msk (0xffffffffu << GMAC_TBFR1023_NFRX_Pos) 619 #define GMAC_TBFR1518_NFRX_Pos 0 620 #define GMAC_TBFR1518_NFRX_Msk (0xffffffffu << GMAC_TBFR1518_NFRX_Pos) 622 #define GMAC_TMXBFR_NFRX_Pos 0 623 #define GMAC_TMXBFR_NFRX_Msk (0xffffffffu << GMAC_TMXBFR_NFRX_Pos) 625 #define GMAC_UFR_UFRX_Pos 0 626 #define GMAC_UFR_UFRX_Msk (0x3ffu << GMAC_UFR_UFRX_Pos) 628 #define GMAC_OFR_OFRX_Pos 0 629 #define GMAC_OFR_OFRX_Msk (0x3ffu << GMAC_OFR_OFRX_Pos) 631 #define GMAC_JR_JRX_Pos 0 632 #define GMAC_JR_JRX_Msk (0x3ffu << GMAC_JR_JRX_Pos) 634 #define GMAC_FCSE_FCKR_Pos 0 635 #define GMAC_FCSE_FCKR_Msk (0x3ffu << GMAC_FCSE_FCKR_Pos) 637 #define GMAC_LFFE_LFER_Pos 0 638 #define GMAC_LFFE_LFER_Msk (0x3ffu << GMAC_LFFE_LFER_Pos) 640 #define GMAC_RSE_RXSE_Pos 0 641 #define GMAC_RSE_RXSE_Msk (0x3ffu << GMAC_RSE_RXSE_Pos) 643 #define GMAC_AE_AER_Pos 0 644 #define GMAC_AE_AER_Msk (0x3ffu << GMAC_AE_AER_Pos) 646 #define GMAC_RRE_RXRER_Pos 0 647 #define GMAC_RRE_RXRER_Msk (0x3ffffu << GMAC_RRE_RXRER_Pos) 649 #define GMAC_ROE_RXOVR_Pos 0 650 #define GMAC_ROE_RXOVR_Msk (0x3ffu << GMAC_ROE_RXOVR_Pos) 652 #define GMAC_IHCE_HCKER_Pos 0 653 #define GMAC_IHCE_HCKER_Msk (0xffu << GMAC_IHCE_HCKER_Pos) 655 #define GMAC_TCE_TCKER_Pos 0 656 #define GMAC_TCE_TCKER_Msk (0xffu << GMAC_TCE_TCKER_Pos) 658 #define GMAC_UCE_UCKER_Pos 0 659 #define GMAC_UCE_UCKER_Msk (0xffu << GMAC_UCE_UCKER_Pos) 661 #define GMAC_TISUBN_LSBTIR_Pos 0 662 #define GMAC_TISUBN_LSBTIR_Msk (0xffffu << GMAC_TISUBN_LSBTIR_Pos) 663 #define GMAC_TISUBN_LSBTIR(value) ((GMAC_TISUBN_LSBTIR_Msk & ((value) << GMAC_TISUBN_LSBTIR_Pos))) 665 #define GMAC_TSH_TCS_Pos 0 666 #define GMAC_TSH_TCS_Msk (0xffffu << GMAC_TSH_TCS_Pos) 667 #define GMAC_TSH_TCS(value) ((GMAC_TSH_TCS_Msk & ((value) << GMAC_TSH_TCS_Pos))) 669 #define GMAC_TSL_TCS_Pos 0 670 #define GMAC_TSL_TCS_Msk (0xffffffffu << GMAC_TSL_TCS_Pos) 671 #define GMAC_TSL_TCS(value) ((GMAC_TSL_TCS_Msk & ((value) << GMAC_TSL_TCS_Pos))) 673 #define GMAC_TN_TNS_Pos 0 674 #define GMAC_TN_TNS_Msk (0x3fffffffu << GMAC_TN_TNS_Pos) 675 #define GMAC_TN_TNS(value) ((GMAC_TN_TNS_Msk & ((value) << GMAC_TN_TNS_Pos))) 677 #define GMAC_TA_ITDT_Pos 0 678 #define GMAC_TA_ITDT_Msk (0x3fffffffu << GMAC_TA_ITDT_Pos) 679 #define GMAC_TA_ITDT(value) ((GMAC_TA_ITDT_Msk & ((value) << GMAC_TA_ITDT_Pos))) 680 #define GMAC_TA_ADJ (0x1u << 31) 682 #define GMAC_TI_CNS_Pos 0 683 #define GMAC_TI_CNS_Msk (0xffu << GMAC_TI_CNS_Pos) 684 #define GMAC_TI_CNS(value) ((GMAC_TI_CNS_Msk & ((value) << GMAC_TI_CNS_Pos))) 685 #define GMAC_TI_ACNS_Pos 8 686 #define GMAC_TI_ACNS_Msk (0xffu << GMAC_TI_ACNS_Pos) 687 #define GMAC_TI_ACNS(value) ((GMAC_TI_ACNS_Msk & ((value) << GMAC_TI_ACNS_Pos))) 688 #define GMAC_TI_NIT_Pos 16 689 #define GMAC_TI_NIT_Msk (0xffu << GMAC_TI_NIT_Pos) 690 #define GMAC_TI_NIT(value) ((GMAC_TI_NIT_Msk & ((value) << GMAC_TI_NIT_Pos))) 692 #define GMAC_EFTSL_RUD_Pos 0 693 #define GMAC_EFTSL_RUD_Msk (0xffffffffu << GMAC_EFTSL_RUD_Pos) 695 #define GMAC_EFTN_RUD_Pos 0 696 #define GMAC_EFTN_RUD_Msk (0x3fffffffu << GMAC_EFTN_RUD_Pos) 698 #define GMAC_EFRSL_RUD_Pos 0 699 #define GMAC_EFRSL_RUD_Msk (0xffffffffu << GMAC_EFRSL_RUD_Pos) 701 #define GMAC_EFRN_RUD_Pos 0 702 #define GMAC_EFRN_RUD_Msk (0x3fffffffu << GMAC_EFRN_RUD_Pos) 704 #define GMAC_PEFTSL_RUD_Pos 0 705 #define GMAC_PEFTSL_RUD_Msk (0xffffffffu << GMAC_PEFTSL_RUD_Pos) 707 #define GMAC_PEFTN_RUD_Pos 0 708 #define GMAC_PEFTN_RUD_Msk (0x3fffffffu << GMAC_PEFTN_RUD_Pos) 710 #define GMAC_PEFRSL_RUD_Pos 0 711 #define GMAC_PEFRSL_RUD_Msk (0xffffffffu << GMAC_PEFRSL_RUD_Pos) 713 #define GMAC_PEFRN_RUD_Pos 0 714 #define GMAC_PEFRN_RUD_Msk (0x3fffffffu << GMAC_PEFRN_RUD_Pos) 716 #define GMAC_ISRPQ_RCOMP (0x1u << 1) 717 #define GMAC_ISRPQ_RXUBR (0x1u << 2) 718 #define GMAC_ISRPQ_RLEX (0x1u << 5) 719 #define GMAC_ISRPQ_TFC (0x1u << 6) 720 #define GMAC_ISRPQ_TCOMP (0x1u << 7) 721 #define GMAC_ISRPQ_ROVR (0x1u << 10) 722 #define GMAC_ISRPQ_HRESP (0x1u << 11) 724 #define GMAC_TBQBAPQ_TXBQBA_Pos 2 725 #define GMAC_TBQBAPQ_TXBQBA_Msk (0x3fffffffu << GMAC_TBQBAPQ_TXBQBA_Pos) 726 #define GMAC_TBQBAPQ_TXBQBA(value) ((GMAC_TBQBAPQ_TXBQBA_Msk & ((value) << GMAC_TBQBAPQ_TXBQBA_Pos))) 728 #define GMAC_RBQBAPQ_RXBQBA_Pos 2 729 #define GMAC_RBQBAPQ_RXBQBA_Msk (0x3fffffffu << GMAC_RBQBAPQ_RXBQBA_Pos) 730 #define GMAC_RBQBAPQ_RXBQBA(value) ((GMAC_RBQBAPQ_RXBQBA_Msk & ((value) << GMAC_RBQBAPQ_RXBQBA_Pos))) 732 #define GMAC_RBSRPQ_RBS_Pos 0 733 #define GMAC_RBSRPQ_RBS_Msk (0xffffu << GMAC_RBSRPQ_RBS_Pos) 734 #define GMAC_RBSRPQ_RBS(value) ((GMAC_RBSRPQ_RBS_Msk & ((value) << GMAC_RBSRPQ_RBS_Pos))) 736 #define GMAC_CBSCR_QBE (0x1u << 0) 737 #define GMAC_CBSCR_QAE (0x1u << 1) 739 #define GMAC_CBSISQA_IS_Pos 0 740 #define GMAC_CBSISQA_IS_Msk (0xffffffffu << GMAC_CBSISQA_IS_Pos) 741 #define GMAC_CBSISQA_IS(value) ((GMAC_CBSISQA_IS_Msk & ((value) << GMAC_CBSISQA_IS_Pos))) 743 #define GMAC_CBSISQB_IS_Pos 0 744 #define GMAC_CBSISQB_IS_Msk (0xffffffffu << GMAC_CBSISQB_IS_Pos) 745 #define GMAC_CBSISQB_IS(value) ((GMAC_CBSISQB_IS_Msk & ((value) << GMAC_CBSISQB_IS_Pos))) 747 #define GMAC_ST1RPQ_QNB_Pos 0 748 #define GMAC_ST1RPQ_QNB_Msk (0x7u << GMAC_ST1RPQ_QNB_Pos) 749 #define GMAC_ST1RPQ_QNB(value) ((GMAC_ST1RPQ_QNB_Msk & ((value) << GMAC_ST1RPQ_QNB_Pos))) 750 #define GMAC_ST1RPQ_DSTCM_Pos 4 751 #define GMAC_ST1RPQ_DSTCM_Msk (0xffu << GMAC_ST1RPQ_DSTCM_Pos) 752 #define GMAC_ST1RPQ_DSTCM(value) ((GMAC_ST1RPQ_DSTCM_Msk & ((value) << GMAC_ST1RPQ_DSTCM_Pos))) 753 #define GMAC_ST1RPQ_UDPM_Pos 12 754 #define GMAC_ST1RPQ_UDPM_Msk (0xffffu << GMAC_ST1RPQ_UDPM_Pos) 755 #define GMAC_ST1RPQ_UDPM(value) ((GMAC_ST1RPQ_UDPM_Msk & ((value) << GMAC_ST1RPQ_UDPM_Pos))) 756 #define GMAC_ST1RPQ_DSTCE (0x1u << 28) 757 #define GMAC_ST1RPQ_UDPE (0x1u << 29) 759 #define GMAC_ST2RPQ_QNB_Pos 0 760 #define GMAC_ST2RPQ_QNB_Msk (0x7u << GMAC_ST2RPQ_QNB_Pos) 761 #define GMAC_ST2RPQ_QNB(value) ((GMAC_ST2RPQ_QNB_Msk & ((value) << GMAC_ST2RPQ_QNB_Pos))) 762 #define GMAC_ST2RPQ_VLANP_Pos 4 763 #define GMAC_ST2RPQ_VLANP_Msk (0x7u << GMAC_ST2RPQ_VLANP_Pos) 764 #define GMAC_ST2RPQ_VLANP(value) ((GMAC_ST2RPQ_VLANP_Msk & ((value) << GMAC_ST2RPQ_VLANP_Pos))) 765 #define GMAC_ST2RPQ_VLANE (0x1u << 8) 766 #define GMAC_ST2RPQ_I2ETH_Pos 9 767 #define GMAC_ST2RPQ_I2ETH_Msk (0x7u << GMAC_ST2RPQ_I2ETH_Pos) 768 #define GMAC_ST2RPQ_I2ETH(value) ((GMAC_ST2RPQ_I2ETH_Msk & ((value) << GMAC_ST2RPQ_I2ETH_Pos))) 769 #define GMAC_ST2RPQ_ETHE (0x1u << 12) 770 #define GMAC_ST2RPQ_COMPA_Pos 13 771 #define GMAC_ST2RPQ_COMPA_Msk (0x1fu << GMAC_ST2RPQ_COMPA_Pos) 772 #define GMAC_ST2RPQ_COMPA(value) ((GMAC_ST2RPQ_COMPA_Msk & ((value) << GMAC_ST2RPQ_COMPA_Pos))) 773 #define GMAC_ST2RPQ_COMPAE (0x1u << 18) 774 #define GMAC_ST2RPQ_COMPB_Pos 19 775 #define GMAC_ST2RPQ_COMPB_Msk (0x1fu << GMAC_ST2RPQ_COMPB_Pos) 776 #define GMAC_ST2RPQ_COMPB(value) ((GMAC_ST2RPQ_COMPB_Msk & ((value) << GMAC_ST2RPQ_COMPB_Pos))) 777 #define GMAC_ST2RPQ_COMPBE (0x1u << 24) 778 #define GMAC_ST2RPQ_COMPC_Pos 25 779 #define GMAC_ST2RPQ_COMPC_Msk (0x1fu << GMAC_ST2RPQ_COMPC_Pos) 780 #define GMAC_ST2RPQ_COMPC(value) ((GMAC_ST2RPQ_COMPC_Msk & ((value) << GMAC_ST2RPQ_COMPC_Pos))) 781 #define GMAC_ST2RPQ_COMPCE (0x1u << 30) 783 #define GMAC_IERPQ_RCOMP (0x1u << 1) 784 #define GMAC_IERPQ_RXUBR (0x1u << 2) 785 #define GMAC_IERPQ_RLEX (0x1u << 5) 786 #define GMAC_IERPQ_TFC (0x1u << 6) 787 #define GMAC_IERPQ_TCOMP (0x1u << 7) 788 #define GMAC_IERPQ_ROVR (0x1u << 10) 789 #define GMAC_IERPQ_HRESP (0x1u << 11) 791 #define GMAC_IDRPQ_RCOMP (0x1u << 1) 792 #define GMAC_IDRPQ_RXUBR (0x1u << 2) 793 #define GMAC_IDRPQ_RLEX (0x1u << 5) 794 #define GMAC_IDRPQ_TFC (0x1u << 6) 795 #define GMAC_IDRPQ_TCOMP (0x1u << 7) 796 #define GMAC_IDRPQ_ROVR (0x1u << 10) 797 #define GMAC_IDRPQ_HRESP (0x1u << 11) 799 #define GMAC_IMRPQ_RCOMP (0x1u << 1) 800 #define GMAC_IMRPQ_RXUBR (0x1u << 2) 801 #define GMAC_IMRPQ_RLEX (0x1u << 5) 802 #define GMAC_IMRPQ_AHB (0x1u << 6) 803 #define GMAC_IMRPQ_TCOMP (0x1u << 7) 804 #define GMAC_IMRPQ_ROVR (0x1u << 10) 805 #define GMAC_IMRPQ_HRESP (0x1u << 11) 807 #define GMAC_ST2ER_COMPVAL_Pos 0 808 #define GMAC_ST2ER_COMPVAL_Msk (0xffffu << GMAC_ST2ER_COMPVAL_Pos) 809 #define GMAC_ST2ER_COMPVAL(value) ((GMAC_ST2ER_COMPVAL_Msk & ((value) << GMAC_ST2ER_COMPVAL_Pos))) 811 #define GMAC_ST2CW00_MASKVAL_Pos 0 812 #define GMAC_ST2CW00_MASKVAL_Msk (0xffffu << GMAC_ST2CW00_MASKVAL_Pos) 813 #define GMAC_ST2CW00_MASKVAL(value) ((GMAC_ST2CW00_MASKVAL_Msk & ((value) << GMAC_ST2CW00_MASKVAL_Pos))) 814 #define GMAC_ST2CW00_COMPVAL_Pos 16 815 #define GMAC_ST2CW00_COMPVAL_Msk (0xffffu << GMAC_ST2CW00_COMPVAL_Pos) 816 #define GMAC_ST2CW00_COMPVAL(value) ((GMAC_ST2CW00_COMPVAL_Msk & ((value) << GMAC_ST2CW00_COMPVAL_Pos))) 818 #define GMAC_ST2CW10_OFFSVAL_Pos 0 819 #define GMAC_ST2CW10_OFFSVAL_Msk (0x7fu << GMAC_ST2CW10_OFFSVAL_Pos) 820 #define GMAC_ST2CW10_OFFSVAL(value) ((GMAC_ST2CW10_OFFSVAL_Msk & ((value) << GMAC_ST2CW10_OFFSVAL_Pos))) 821 #define GMAC_ST2CW10_OFFSSTRT_Pos 7 822 #define GMAC_ST2CW10_OFFSSTRT_Msk (0x3u << GMAC_ST2CW10_OFFSSTRT_Pos) 823 #define GMAC_ST2CW10_OFFSSTRT(value) ((GMAC_ST2CW10_OFFSSTRT_Msk & ((value) << GMAC_ST2CW10_OFFSSTRT_Pos))) 824 #define GMAC_ST2CW10_OFFSSTRT_FRAMESTART (0x0u << 7) 825 #define GMAC_ST2CW10_OFFSSTRT_ETHERTYPE (0x1u << 7) 826 #define GMAC_ST2CW10_OFFSSTRT_IP (0x2u << 7) 827 #define GMAC_ST2CW10_OFFSSTRT_TCP_UDP (0x3u << 7) 829 #define GMAC_ST2CW01_MASKVAL_Pos 0 830 #define GMAC_ST2CW01_MASKVAL_Msk (0xffffu << GMAC_ST2CW01_MASKVAL_Pos) 831 #define GMAC_ST2CW01_MASKVAL(value) ((GMAC_ST2CW01_MASKVAL_Msk & ((value) << GMAC_ST2CW01_MASKVAL_Pos))) 832 #define GMAC_ST2CW01_COMPVAL_Pos 16 833 #define GMAC_ST2CW01_COMPVAL_Msk (0xffffu << GMAC_ST2CW01_COMPVAL_Pos) 834 #define GMAC_ST2CW01_COMPVAL(value) ((GMAC_ST2CW01_COMPVAL_Msk & ((value) << GMAC_ST2CW01_COMPVAL_Pos))) 836 #define GMAC_ST2CW11_OFFSVAL_Pos 0 837 #define GMAC_ST2CW11_OFFSVAL_Msk (0x7fu << GMAC_ST2CW11_OFFSVAL_Pos) 838 #define GMAC_ST2CW11_OFFSVAL(value) ((GMAC_ST2CW11_OFFSVAL_Msk & ((value) << GMAC_ST2CW11_OFFSVAL_Pos))) 839 #define GMAC_ST2CW11_OFFSSTRT_Pos 7 840 #define GMAC_ST2CW11_OFFSSTRT_Msk (0x3u << GMAC_ST2CW11_OFFSSTRT_Pos) 841 #define GMAC_ST2CW11_OFFSSTRT(value) ((GMAC_ST2CW11_OFFSSTRT_Msk & ((value) << GMAC_ST2CW11_OFFSSTRT_Pos))) 842 #define GMAC_ST2CW11_OFFSSTRT_FRAMESTART (0x0u << 7) 843 #define GMAC_ST2CW11_OFFSSTRT_ETHERTYPE (0x1u << 7) 844 #define GMAC_ST2CW11_OFFSSTRT_IP (0x2u << 7) 845 #define GMAC_ST2CW11_OFFSSTRT_TCP_UDP (0x3u << 7) 847 #define GMAC_ST2CW02_MASKVAL_Pos 0 848 #define GMAC_ST2CW02_MASKVAL_Msk (0xffffu << GMAC_ST2CW02_MASKVAL_Pos) 849 #define GMAC_ST2CW02_MASKVAL(value) ((GMAC_ST2CW02_MASKVAL_Msk & ((value) << GMAC_ST2CW02_MASKVAL_Pos))) 850 #define GMAC_ST2CW02_COMPVAL_Pos 16 851 #define GMAC_ST2CW02_COMPVAL_Msk (0xffffu << GMAC_ST2CW02_COMPVAL_Pos) 852 #define GMAC_ST2CW02_COMPVAL(value) ((GMAC_ST2CW02_COMPVAL_Msk & ((value) << GMAC_ST2CW02_COMPVAL_Pos))) 854 #define GMAC_ST2CW12_OFFSVAL_Pos 0 855 #define GMAC_ST2CW12_OFFSVAL_Msk (0x7fu << GMAC_ST2CW12_OFFSVAL_Pos) 856 #define GMAC_ST2CW12_OFFSVAL(value) ((GMAC_ST2CW12_OFFSVAL_Msk & ((value) << GMAC_ST2CW12_OFFSVAL_Pos))) 857 #define GMAC_ST2CW12_OFFSSTRT_Pos 7 858 #define GMAC_ST2CW12_OFFSSTRT_Msk (0x3u << GMAC_ST2CW12_OFFSSTRT_Pos) 859 #define GMAC_ST2CW12_OFFSSTRT(value) ((GMAC_ST2CW12_OFFSSTRT_Msk & ((value) << GMAC_ST2CW12_OFFSSTRT_Pos))) 860 #define GMAC_ST2CW12_OFFSSTRT_FRAMESTART (0x0u << 7) 861 #define GMAC_ST2CW12_OFFSSTRT_ETHERTYPE (0x1u << 7) 862 #define GMAC_ST2CW12_OFFSSTRT_IP (0x2u << 7) 863 #define GMAC_ST2CW12_OFFSSTRT_TCP_UDP (0x3u << 7) 865 #define GMAC_ST2CW03_MASKVAL_Pos 0 866 #define GMAC_ST2CW03_MASKVAL_Msk (0xffffu << GMAC_ST2CW03_MASKVAL_Pos) 867 #define GMAC_ST2CW03_MASKVAL(value) ((GMAC_ST2CW03_MASKVAL_Msk & ((value) << GMAC_ST2CW03_MASKVAL_Pos))) 868 #define GMAC_ST2CW03_COMPVAL_Pos 16 869 #define GMAC_ST2CW03_COMPVAL_Msk (0xffffu << GMAC_ST2CW03_COMPVAL_Pos) 870 #define GMAC_ST2CW03_COMPVAL(value) ((GMAC_ST2CW03_COMPVAL_Msk & ((value) << GMAC_ST2CW03_COMPVAL_Pos))) 872 #define GMAC_ST2CW13_OFFSVAL_Pos 0 873 #define GMAC_ST2CW13_OFFSVAL_Msk (0x7fu << GMAC_ST2CW13_OFFSVAL_Pos) 874 #define GMAC_ST2CW13_OFFSVAL(value) ((GMAC_ST2CW13_OFFSVAL_Msk & ((value) << GMAC_ST2CW13_OFFSVAL_Pos))) 875 #define GMAC_ST2CW13_OFFSSTRT_Pos 7 876 #define GMAC_ST2CW13_OFFSSTRT_Msk (0x3u << GMAC_ST2CW13_OFFSSTRT_Pos) 877 #define GMAC_ST2CW13_OFFSSTRT(value) ((GMAC_ST2CW13_OFFSSTRT_Msk & ((value) << GMAC_ST2CW13_OFFSSTRT_Pos))) 878 #define GMAC_ST2CW13_OFFSSTRT_FRAMESTART (0x0u << 7) 879 #define GMAC_ST2CW13_OFFSSTRT_ETHERTYPE (0x1u << 7) 880 #define GMAC_ST2CW13_OFFSSTRT_IP (0x2u << 7) 881 #define GMAC_ST2CW13_OFFSSTRT_TCP_UDP (0x3u << 7) 883 #define GMAC_ST2CW04_MASKVAL_Pos 0 884 #define GMAC_ST2CW04_MASKVAL_Msk (0xffffu << GMAC_ST2CW04_MASKVAL_Pos) 885 #define GMAC_ST2CW04_MASKVAL(value) ((GMAC_ST2CW04_MASKVAL_Msk & ((value) << GMAC_ST2CW04_MASKVAL_Pos))) 886 #define GMAC_ST2CW04_COMPVAL_Pos 16 887 #define GMAC_ST2CW04_COMPVAL_Msk (0xffffu << GMAC_ST2CW04_COMPVAL_Pos) 888 #define GMAC_ST2CW04_COMPVAL(value) ((GMAC_ST2CW04_COMPVAL_Msk & ((value) << GMAC_ST2CW04_COMPVAL_Pos))) 890 #define GMAC_ST2CW14_OFFSVAL_Pos 0 891 #define GMAC_ST2CW14_OFFSVAL_Msk (0x7fu << GMAC_ST2CW14_OFFSVAL_Pos) 892 #define GMAC_ST2CW14_OFFSVAL(value) ((GMAC_ST2CW14_OFFSVAL_Msk & ((value) << GMAC_ST2CW14_OFFSVAL_Pos))) 893 #define GMAC_ST2CW14_OFFSSTRT_Pos 7 894 #define GMAC_ST2CW14_OFFSSTRT_Msk (0x3u << GMAC_ST2CW14_OFFSSTRT_Pos) 895 #define GMAC_ST2CW14_OFFSSTRT(value) ((GMAC_ST2CW14_OFFSSTRT_Msk & ((value) << GMAC_ST2CW14_OFFSSTRT_Pos))) 896 #define GMAC_ST2CW14_OFFSSTRT_FRAMESTART (0x0u << 7) 897 #define GMAC_ST2CW14_OFFSSTRT_ETHERTYPE (0x1u << 7) 898 #define GMAC_ST2CW14_OFFSSTRT_IP (0x2u << 7) 899 #define GMAC_ST2CW14_OFFSSTRT_TCP_UDP (0x3u << 7) 901 #define GMAC_ST2CW05_MASKVAL_Pos 0 902 #define GMAC_ST2CW05_MASKVAL_Msk (0xffffu << GMAC_ST2CW05_MASKVAL_Pos) 903 #define GMAC_ST2CW05_MASKVAL(value) ((GMAC_ST2CW05_MASKVAL_Msk & ((value) << GMAC_ST2CW05_MASKVAL_Pos))) 904 #define GMAC_ST2CW05_COMPVAL_Pos 16 905 #define GMAC_ST2CW05_COMPVAL_Msk (0xffffu << GMAC_ST2CW05_COMPVAL_Pos) 906 #define GMAC_ST2CW05_COMPVAL(value) ((GMAC_ST2CW05_COMPVAL_Msk & ((value) << GMAC_ST2CW05_COMPVAL_Pos))) 908 #define GMAC_ST2CW15_OFFSVAL_Pos 0 909 #define GMAC_ST2CW15_OFFSVAL_Msk (0x7fu << GMAC_ST2CW15_OFFSVAL_Pos) 910 #define GMAC_ST2CW15_OFFSVAL(value) ((GMAC_ST2CW15_OFFSVAL_Msk & ((value) << GMAC_ST2CW15_OFFSVAL_Pos))) 911 #define GMAC_ST2CW15_OFFSSTRT_Pos 7 912 #define GMAC_ST2CW15_OFFSSTRT_Msk (0x3u << GMAC_ST2CW15_OFFSSTRT_Pos) 913 #define GMAC_ST2CW15_OFFSSTRT(value) ((GMAC_ST2CW15_OFFSSTRT_Msk & ((value) << GMAC_ST2CW15_OFFSSTRT_Pos))) 914 #define GMAC_ST2CW15_OFFSSTRT_FRAMESTART (0x0u << 7) 915 #define GMAC_ST2CW15_OFFSSTRT_ETHERTYPE (0x1u << 7) 916 #define GMAC_ST2CW15_OFFSSTRT_IP (0x2u << 7) 917 #define GMAC_ST2CW15_OFFSSTRT_TCP_UDP (0x3u << 7) 919 #define GMAC_ST2CW06_MASKVAL_Pos 0 920 #define GMAC_ST2CW06_MASKVAL_Msk (0xffffu << GMAC_ST2CW06_MASKVAL_Pos) 921 #define GMAC_ST2CW06_MASKVAL(value) ((GMAC_ST2CW06_MASKVAL_Msk & ((value) << GMAC_ST2CW06_MASKVAL_Pos))) 922 #define GMAC_ST2CW06_COMPVAL_Pos 16 923 #define GMAC_ST2CW06_COMPVAL_Msk (0xffffu << GMAC_ST2CW06_COMPVAL_Pos) 924 #define GMAC_ST2CW06_COMPVAL(value) ((GMAC_ST2CW06_COMPVAL_Msk & ((value) << GMAC_ST2CW06_COMPVAL_Pos))) 926 #define GMAC_ST2CW16_OFFSVAL_Pos 0 927 #define GMAC_ST2CW16_OFFSVAL_Msk (0x7fu << GMAC_ST2CW16_OFFSVAL_Pos) 928 #define GMAC_ST2CW16_OFFSVAL(value) ((GMAC_ST2CW16_OFFSVAL_Msk & ((value) << GMAC_ST2CW16_OFFSVAL_Pos))) 929 #define GMAC_ST2CW16_OFFSSTRT_Pos 7 930 #define GMAC_ST2CW16_OFFSSTRT_Msk (0x3u << GMAC_ST2CW16_OFFSSTRT_Pos) 931 #define GMAC_ST2CW16_OFFSSTRT(value) ((GMAC_ST2CW16_OFFSSTRT_Msk & ((value) << GMAC_ST2CW16_OFFSSTRT_Pos))) 932 #define GMAC_ST2CW16_OFFSSTRT_FRAMESTART (0x0u << 7) 933 #define GMAC_ST2CW16_OFFSSTRT_ETHERTYPE (0x1u << 7) 934 #define GMAC_ST2CW16_OFFSSTRT_IP (0x2u << 7) 935 #define GMAC_ST2CW16_OFFSSTRT_TCP_UDP (0x3u << 7) 937 #define GMAC_ST2CW07_MASKVAL_Pos 0 938 #define GMAC_ST2CW07_MASKVAL_Msk (0xffffu << GMAC_ST2CW07_MASKVAL_Pos) 939 #define GMAC_ST2CW07_MASKVAL(value) ((GMAC_ST2CW07_MASKVAL_Msk & ((value) << GMAC_ST2CW07_MASKVAL_Pos))) 940 #define GMAC_ST2CW07_COMPVAL_Pos 16 941 #define GMAC_ST2CW07_COMPVAL_Msk (0xffffu << GMAC_ST2CW07_COMPVAL_Pos) 942 #define GMAC_ST2CW07_COMPVAL(value) ((GMAC_ST2CW07_COMPVAL_Msk & ((value) << GMAC_ST2CW07_COMPVAL_Pos))) 944 #define GMAC_ST2CW17_OFFSVAL_Pos 0 945 #define GMAC_ST2CW17_OFFSVAL_Msk (0x7fu << GMAC_ST2CW17_OFFSVAL_Pos) 946 #define GMAC_ST2CW17_OFFSVAL(value) ((GMAC_ST2CW17_OFFSVAL_Msk & ((value) << GMAC_ST2CW17_OFFSVAL_Pos))) 947 #define GMAC_ST2CW17_OFFSSTRT_Pos 7 948 #define GMAC_ST2CW17_OFFSSTRT_Msk (0x3u << GMAC_ST2CW17_OFFSSTRT_Pos) 949 #define GMAC_ST2CW17_OFFSSTRT(value) ((GMAC_ST2CW17_OFFSSTRT_Msk & ((value) << GMAC_ST2CW17_OFFSSTRT_Pos))) 950 #define GMAC_ST2CW17_OFFSSTRT_FRAMESTART (0x0u << 7) 951 #define GMAC_ST2CW17_OFFSSTRT_ETHERTYPE (0x1u << 7) 952 #define GMAC_ST2CW17_OFFSSTRT_IP (0x2u << 7) 953 #define GMAC_ST2CW17_OFFSSTRT_TCP_UDP (0x3u << 7) 955 #define GMAC_ST2CW08_MASKVAL_Pos 0 956 #define GMAC_ST2CW08_MASKVAL_Msk (0xffffu << GMAC_ST2CW08_MASKVAL_Pos) 957 #define GMAC_ST2CW08_MASKVAL(value) ((GMAC_ST2CW08_MASKVAL_Msk & ((value) << GMAC_ST2CW08_MASKVAL_Pos))) 958 #define GMAC_ST2CW08_COMPVAL_Pos 16 959 #define GMAC_ST2CW08_COMPVAL_Msk (0xffffu << GMAC_ST2CW08_COMPVAL_Pos) 960 #define GMAC_ST2CW08_COMPVAL(value) ((GMAC_ST2CW08_COMPVAL_Msk & ((value) << GMAC_ST2CW08_COMPVAL_Pos))) 962 #define GMAC_ST2CW18_OFFSVAL_Pos 0 963 #define GMAC_ST2CW18_OFFSVAL_Msk (0x7fu << GMAC_ST2CW18_OFFSVAL_Pos) 964 #define GMAC_ST2CW18_OFFSVAL(value) ((GMAC_ST2CW18_OFFSVAL_Msk & ((value) << GMAC_ST2CW18_OFFSVAL_Pos))) 965 #define GMAC_ST2CW18_OFFSSTRT_Pos 7 966 #define GMAC_ST2CW18_OFFSSTRT_Msk (0x3u << GMAC_ST2CW18_OFFSSTRT_Pos) 967 #define GMAC_ST2CW18_OFFSSTRT(value) ((GMAC_ST2CW18_OFFSSTRT_Msk & ((value) << GMAC_ST2CW18_OFFSSTRT_Pos))) 968 #define GMAC_ST2CW18_OFFSSTRT_FRAMESTART (0x0u << 7) 969 #define GMAC_ST2CW18_OFFSSTRT_ETHERTYPE (0x1u << 7) 970 #define GMAC_ST2CW18_OFFSSTRT_IP (0x2u << 7) 971 #define GMAC_ST2CW18_OFFSSTRT_TCP_UDP (0x3u << 7) 973 #define GMAC_ST2CW09_MASKVAL_Pos 0 974 #define GMAC_ST2CW09_MASKVAL_Msk (0xffffu << GMAC_ST2CW09_MASKVAL_Pos) 975 #define GMAC_ST2CW09_MASKVAL(value) ((GMAC_ST2CW09_MASKVAL_Msk & ((value) << GMAC_ST2CW09_MASKVAL_Pos))) 976 #define GMAC_ST2CW09_COMPVAL_Pos 16 977 #define GMAC_ST2CW09_COMPVAL_Msk (0xffffu << GMAC_ST2CW09_COMPVAL_Pos) 978 #define GMAC_ST2CW09_COMPVAL(value) ((GMAC_ST2CW09_COMPVAL_Msk & ((value) << GMAC_ST2CW09_COMPVAL_Pos))) 980 #define GMAC_ST2CW19_OFFSVAL_Pos 0 981 #define GMAC_ST2CW19_OFFSVAL_Msk (0x7fu << GMAC_ST2CW19_OFFSVAL_Pos) 982 #define GMAC_ST2CW19_OFFSVAL(value) ((GMAC_ST2CW19_OFFSVAL_Msk & ((value) << GMAC_ST2CW19_OFFSVAL_Pos))) 983 #define GMAC_ST2CW19_OFFSSTRT_Pos 7 984 #define GMAC_ST2CW19_OFFSSTRT_Msk (0x3u << GMAC_ST2CW19_OFFSSTRT_Pos) 985 #define GMAC_ST2CW19_OFFSSTRT(value) ((GMAC_ST2CW19_OFFSSTRT_Msk & ((value) << GMAC_ST2CW19_OFFSSTRT_Pos))) 986 #define GMAC_ST2CW19_OFFSSTRT_FRAMESTART (0x0u << 7) 987 #define GMAC_ST2CW19_OFFSSTRT_ETHERTYPE (0x1u << 7) 988 #define GMAC_ST2CW19_OFFSSTRT_IP (0x2u << 7) 989 #define GMAC_ST2CW19_OFFSSTRT_TCP_UDP (0x3u << 7) 991 #define GMAC_ST2CW010_MASKVAL_Pos 0 992 #define GMAC_ST2CW010_MASKVAL_Msk (0xffffu << GMAC_ST2CW010_MASKVAL_Pos) 993 #define GMAC_ST2CW010_MASKVAL(value) ((GMAC_ST2CW010_MASKVAL_Msk & ((value) << GMAC_ST2CW010_MASKVAL_Pos))) 994 #define GMAC_ST2CW010_COMPVAL_Pos 16 995 #define GMAC_ST2CW010_COMPVAL_Msk (0xffffu << GMAC_ST2CW010_COMPVAL_Pos) 996 #define GMAC_ST2CW010_COMPVAL(value) ((GMAC_ST2CW010_COMPVAL_Msk & ((value) << GMAC_ST2CW010_COMPVAL_Pos))) 998 #define GMAC_ST2CW110_OFFSVAL_Pos 0 999 #define GMAC_ST2CW110_OFFSVAL_Msk (0x7fu << GMAC_ST2CW110_OFFSVAL_Pos) 1000 #define GMAC_ST2CW110_OFFSVAL(value) ((GMAC_ST2CW110_OFFSVAL_Msk & ((value) << GMAC_ST2CW110_OFFSVAL_Pos))) 1001 #define GMAC_ST2CW110_OFFSSTRT_Pos 7 1002 #define GMAC_ST2CW110_OFFSSTRT_Msk (0x3u << GMAC_ST2CW110_OFFSSTRT_Pos) 1003 #define GMAC_ST2CW110_OFFSSTRT(value) ((GMAC_ST2CW110_OFFSSTRT_Msk & ((value) << GMAC_ST2CW110_OFFSSTRT_Pos))) 1004 #define GMAC_ST2CW110_OFFSSTRT_FRAMESTART (0x0u << 7) 1005 #define GMAC_ST2CW110_OFFSSTRT_ETHERTYPE (0x1u << 7) 1006 #define GMAC_ST2CW110_OFFSSTRT_IP (0x2u << 7) 1007 #define GMAC_ST2CW110_OFFSSTRT_TCP_UDP (0x3u << 7) 1009 #define GMAC_ST2CW011_MASKVAL_Pos 0 1010 #define GMAC_ST2CW011_MASKVAL_Msk (0xffffu << GMAC_ST2CW011_MASKVAL_Pos) 1011 #define GMAC_ST2CW011_MASKVAL(value) ((GMAC_ST2CW011_MASKVAL_Msk & ((value) << GMAC_ST2CW011_MASKVAL_Pos))) 1012 #define GMAC_ST2CW011_COMPVAL_Pos 16 1013 #define GMAC_ST2CW011_COMPVAL_Msk (0xffffu << GMAC_ST2CW011_COMPVAL_Pos) 1014 #define GMAC_ST2CW011_COMPVAL(value) ((GMAC_ST2CW011_COMPVAL_Msk & ((value) << GMAC_ST2CW011_COMPVAL_Pos))) 1016 #define GMAC_ST2CW111_OFFSVAL_Pos 0 1017 #define GMAC_ST2CW111_OFFSVAL_Msk (0x7fu << GMAC_ST2CW111_OFFSVAL_Pos) 1018 #define GMAC_ST2CW111_OFFSVAL(value) ((GMAC_ST2CW111_OFFSVAL_Msk & ((value) << GMAC_ST2CW111_OFFSVAL_Pos))) 1019 #define GMAC_ST2CW111_OFFSSTRT_Pos 7 1020 #define GMAC_ST2CW111_OFFSSTRT_Msk (0x3u << GMAC_ST2CW111_OFFSSTRT_Pos) 1021 #define GMAC_ST2CW111_OFFSSTRT(value) ((GMAC_ST2CW111_OFFSSTRT_Msk & ((value) << GMAC_ST2CW111_OFFSSTRT_Pos))) 1022 #define GMAC_ST2CW111_OFFSSTRT_FRAMESTART (0x0u << 7) 1023 #define GMAC_ST2CW111_OFFSSTRT_ETHERTYPE (0x1u << 7) 1024 #define GMAC_ST2CW111_OFFSSTRT_IP (0x2u << 7) 1025 #define GMAC_ST2CW111_OFFSSTRT_TCP_UDP (0x3u << 7) 1027 #define GMAC_ST2CW012_MASKVAL_Pos 0 1028 #define GMAC_ST2CW012_MASKVAL_Msk (0xffffu << GMAC_ST2CW012_MASKVAL_Pos) 1029 #define GMAC_ST2CW012_MASKVAL(value) ((GMAC_ST2CW012_MASKVAL_Msk & ((value) << GMAC_ST2CW012_MASKVAL_Pos))) 1030 #define GMAC_ST2CW012_COMPVAL_Pos 16 1031 #define GMAC_ST2CW012_COMPVAL_Msk (0xffffu << GMAC_ST2CW012_COMPVAL_Pos) 1032 #define GMAC_ST2CW012_COMPVAL(value) ((GMAC_ST2CW012_COMPVAL_Msk & ((value) << GMAC_ST2CW012_COMPVAL_Pos))) 1034 #define GMAC_ST2CW112_OFFSVAL_Pos 0 1035 #define GMAC_ST2CW112_OFFSVAL_Msk (0x7fu << GMAC_ST2CW112_OFFSVAL_Pos) 1036 #define GMAC_ST2CW112_OFFSVAL(value) ((GMAC_ST2CW112_OFFSVAL_Msk & ((value) << GMAC_ST2CW112_OFFSVAL_Pos))) 1037 #define GMAC_ST2CW112_OFFSSTRT_Pos 7 1038 #define GMAC_ST2CW112_OFFSSTRT_Msk (0x3u << GMAC_ST2CW112_OFFSSTRT_Pos) 1039 #define GMAC_ST2CW112_OFFSSTRT(value) ((GMAC_ST2CW112_OFFSSTRT_Msk & ((value) << GMAC_ST2CW112_OFFSSTRT_Pos))) 1040 #define GMAC_ST2CW112_OFFSSTRT_FRAMESTART (0x0u << 7) 1041 #define GMAC_ST2CW112_OFFSSTRT_ETHERTYPE (0x1u << 7) 1042 #define GMAC_ST2CW112_OFFSSTRT_IP (0x2u << 7) 1043 #define GMAC_ST2CW112_OFFSSTRT_TCP_UDP (0x3u << 7) 1045 #define GMAC_ST2CW013_MASKVAL_Pos 0 1046 #define GMAC_ST2CW013_MASKVAL_Msk (0xffffu << GMAC_ST2CW013_MASKVAL_Pos) 1047 #define GMAC_ST2CW013_MASKVAL(value) ((GMAC_ST2CW013_MASKVAL_Msk & ((value) << GMAC_ST2CW013_MASKVAL_Pos))) 1048 #define GMAC_ST2CW013_COMPVAL_Pos 16 1049 #define GMAC_ST2CW013_COMPVAL_Msk (0xffffu << GMAC_ST2CW013_COMPVAL_Pos) 1050 #define GMAC_ST2CW013_COMPVAL(value) ((GMAC_ST2CW013_COMPVAL_Msk & ((value) << GMAC_ST2CW013_COMPVAL_Pos))) 1052 #define GMAC_ST2CW113_OFFSVAL_Pos 0 1053 #define GMAC_ST2CW113_OFFSVAL_Msk (0x7fu << GMAC_ST2CW113_OFFSVAL_Pos) 1054 #define GMAC_ST2CW113_OFFSVAL(value) ((GMAC_ST2CW113_OFFSVAL_Msk & ((value) << GMAC_ST2CW113_OFFSVAL_Pos))) 1055 #define GMAC_ST2CW113_OFFSSTRT_Pos 7 1056 #define GMAC_ST2CW113_OFFSSTRT_Msk (0x3u << GMAC_ST2CW113_OFFSSTRT_Pos) 1057 #define GMAC_ST2CW113_OFFSSTRT(value) ((GMAC_ST2CW113_OFFSSTRT_Msk & ((value) << GMAC_ST2CW113_OFFSSTRT_Pos))) 1058 #define GMAC_ST2CW113_OFFSSTRT_FRAMESTART (0x0u << 7) 1059 #define GMAC_ST2CW113_OFFSSTRT_ETHERTYPE (0x1u << 7) 1060 #define GMAC_ST2CW113_OFFSSTRT_IP (0x2u << 7) 1061 #define GMAC_ST2CW113_OFFSSTRT_TCP_UDP (0x3u << 7) 1063 #define GMAC_ST2CW014_MASKVAL_Pos 0 1064 #define GMAC_ST2CW014_MASKVAL_Msk (0xffffu << GMAC_ST2CW014_MASKVAL_Pos) 1065 #define GMAC_ST2CW014_MASKVAL(value) ((GMAC_ST2CW014_MASKVAL_Msk & ((value) << GMAC_ST2CW014_MASKVAL_Pos))) 1066 #define GMAC_ST2CW014_COMPVAL_Pos 16 1067 #define GMAC_ST2CW014_COMPVAL_Msk (0xffffu << GMAC_ST2CW014_COMPVAL_Pos) 1068 #define GMAC_ST2CW014_COMPVAL(value) ((GMAC_ST2CW014_COMPVAL_Msk & ((value) << GMAC_ST2CW014_COMPVAL_Pos))) 1070 #define GMAC_ST2CW114_OFFSVAL_Pos 0 1071 #define GMAC_ST2CW114_OFFSVAL_Msk (0x7fu << GMAC_ST2CW114_OFFSVAL_Pos) 1072 #define GMAC_ST2CW114_OFFSVAL(value) ((GMAC_ST2CW114_OFFSVAL_Msk & ((value) << GMAC_ST2CW114_OFFSVAL_Pos))) 1073 #define GMAC_ST2CW114_OFFSSTRT_Pos 7 1074 #define GMAC_ST2CW114_OFFSSTRT_Msk (0x3u << GMAC_ST2CW114_OFFSSTRT_Pos) 1075 #define GMAC_ST2CW114_OFFSSTRT(value) ((GMAC_ST2CW114_OFFSSTRT_Msk & ((value) << GMAC_ST2CW114_OFFSSTRT_Pos))) 1076 #define GMAC_ST2CW114_OFFSSTRT_FRAMESTART (0x0u << 7) 1077 #define GMAC_ST2CW114_OFFSSTRT_ETHERTYPE (0x1u << 7) 1078 #define GMAC_ST2CW114_OFFSSTRT_IP (0x2u << 7) 1079 #define GMAC_ST2CW114_OFFSSTRT_TCP_UDP (0x3u << 7) 1081 #define GMAC_ST2CW015_MASKVAL_Pos 0 1082 #define GMAC_ST2CW015_MASKVAL_Msk (0xffffu << GMAC_ST2CW015_MASKVAL_Pos) 1083 #define GMAC_ST2CW015_MASKVAL(value) ((GMAC_ST2CW015_MASKVAL_Msk & ((value) << GMAC_ST2CW015_MASKVAL_Pos))) 1084 #define GMAC_ST2CW015_COMPVAL_Pos 16 1085 #define GMAC_ST2CW015_COMPVAL_Msk (0xffffu << GMAC_ST2CW015_COMPVAL_Pos) 1086 #define GMAC_ST2CW015_COMPVAL(value) ((GMAC_ST2CW015_COMPVAL_Msk & ((value) << GMAC_ST2CW015_COMPVAL_Pos))) 1088 #define GMAC_ST2CW115_OFFSVAL_Pos 0 1089 #define GMAC_ST2CW115_OFFSVAL_Msk (0x7fu << GMAC_ST2CW115_OFFSVAL_Pos) 1090 #define GMAC_ST2CW115_OFFSVAL(value) ((GMAC_ST2CW115_OFFSVAL_Msk & ((value) << GMAC_ST2CW115_OFFSVAL_Pos))) 1091 #define GMAC_ST2CW115_OFFSSTRT_Pos 7 1092 #define GMAC_ST2CW115_OFFSSTRT_Msk (0x3u << GMAC_ST2CW115_OFFSSTRT_Pos) 1093 #define GMAC_ST2CW115_OFFSSTRT(value) ((GMAC_ST2CW115_OFFSSTRT_Msk & ((value) << GMAC_ST2CW115_OFFSSTRT_Pos))) 1094 #define GMAC_ST2CW115_OFFSSTRT_FRAMESTART (0x0u << 7) 1095 #define GMAC_ST2CW115_OFFSSTRT_ETHERTYPE (0x1u << 7) 1096 #define GMAC_ST2CW115_OFFSSTRT_IP (0x2u << 7) 1097 #define GMAC_ST2CW115_OFFSSTRT_TCP_UDP (0x3u << 7) 1099 #define GMAC_ST2CW016_MASKVAL_Pos 0 1100 #define GMAC_ST2CW016_MASKVAL_Msk (0xffffu << GMAC_ST2CW016_MASKVAL_Pos) 1101 #define GMAC_ST2CW016_MASKVAL(value) ((GMAC_ST2CW016_MASKVAL_Msk & ((value) << GMAC_ST2CW016_MASKVAL_Pos))) 1102 #define GMAC_ST2CW016_COMPVAL_Pos 16 1103 #define GMAC_ST2CW016_COMPVAL_Msk (0xffffu << GMAC_ST2CW016_COMPVAL_Pos) 1104 #define GMAC_ST2CW016_COMPVAL(value) ((GMAC_ST2CW016_COMPVAL_Msk & ((value) << GMAC_ST2CW016_COMPVAL_Pos))) 1106 #define GMAC_ST2CW116_OFFSVAL_Pos 0 1107 #define GMAC_ST2CW116_OFFSVAL_Msk (0x7fu << GMAC_ST2CW116_OFFSVAL_Pos) 1108 #define GMAC_ST2CW116_OFFSVAL(value) ((GMAC_ST2CW116_OFFSVAL_Msk & ((value) << GMAC_ST2CW116_OFFSVAL_Pos))) 1109 #define GMAC_ST2CW116_OFFSSTRT_Pos 7 1110 #define GMAC_ST2CW116_OFFSSTRT_Msk (0x3u << GMAC_ST2CW116_OFFSSTRT_Pos) 1111 #define GMAC_ST2CW116_OFFSSTRT(value) ((GMAC_ST2CW116_OFFSSTRT_Msk & ((value) << GMAC_ST2CW116_OFFSSTRT_Pos))) 1112 #define GMAC_ST2CW116_OFFSSTRT_FRAMESTART (0x0u << 7) 1113 #define GMAC_ST2CW116_OFFSSTRT_ETHERTYPE (0x1u << 7) 1114 #define GMAC_ST2CW116_OFFSSTRT_IP (0x2u << 7) 1115 #define GMAC_ST2CW116_OFFSSTRT_TCP_UDP (0x3u << 7) 1117 #define GMAC_ST2CW017_MASKVAL_Pos 0 1118 #define GMAC_ST2CW017_MASKVAL_Msk (0xffffu << GMAC_ST2CW017_MASKVAL_Pos) 1119 #define GMAC_ST2CW017_MASKVAL(value) ((GMAC_ST2CW017_MASKVAL_Msk & ((value) << GMAC_ST2CW017_MASKVAL_Pos))) 1120 #define GMAC_ST2CW017_COMPVAL_Pos 16 1121 #define GMAC_ST2CW017_COMPVAL_Msk (0xffffu << GMAC_ST2CW017_COMPVAL_Pos) 1122 #define GMAC_ST2CW017_COMPVAL(value) ((GMAC_ST2CW017_COMPVAL_Msk & ((value) << GMAC_ST2CW017_COMPVAL_Pos))) 1124 #define GMAC_ST2CW117_OFFSVAL_Pos 0 1125 #define GMAC_ST2CW117_OFFSVAL_Msk (0x7fu << GMAC_ST2CW117_OFFSVAL_Pos) 1126 #define GMAC_ST2CW117_OFFSVAL(value) ((GMAC_ST2CW117_OFFSVAL_Msk & ((value) << GMAC_ST2CW117_OFFSVAL_Pos))) 1127 #define GMAC_ST2CW117_OFFSSTRT_Pos 7 1128 #define GMAC_ST2CW117_OFFSSTRT_Msk (0x3u << GMAC_ST2CW117_OFFSSTRT_Pos) 1129 #define GMAC_ST2CW117_OFFSSTRT(value) ((GMAC_ST2CW117_OFFSSTRT_Msk & ((value) << GMAC_ST2CW117_OFFSSTRT_Pos))) 1130 #define GMAC_ST2CW117_OFFSSTRT_FRAMESTART (0x0u << 7) 1131 #define GMAC_ST2CW117_OFFSSTRT_ETHERTYPE (0x1u << 7) 1132 #define GMAC_ST2CW117_OFFSSTRT_IP (0x2u << 7) 1133 #define GMAC_ST2CW117_OFFSSTRT_TCP_UDP (0x3u << 7) 1135 #define GMAC_ST2CW018_MASKVAL_Pos 0 1136 #define GMAC_ST2CW018_MASKVAL_Msk (0xffffu << GMAC_ST2CW018_MASKVAL_Pos) 1137 #define GMAC_ST2CW018_MASKVAL(value) ((GMAC_ST2CW018_MASKVAL_Msk & ((value) << GMAC_ST2CW018_MASKVAL_Pos))) 1138 #define GMAC_ST2CW018_COMPVAL_Pos 16 1139 #define GMAC_ST2CW018_COMPVAL_Msk (0xffffu << GMAC_ST2CW018_COMPVAL_Pos) 1140 #define GMAC_ST2CW018_COMPVAL(value) ((GMAC_ST2CW018_COMPVAL_Msk & ((value) << GMAC_ST2CW018_COMPVAL_Pos))) 1142 #define GMAC_ST2CW118_OFFSVAL_Pos 0 1143 #define GMAC_ST2CW118_OFFSVAL_Msk (0x7fu << GMAC_ST2CW118_OFFSVAL_Pos) 1144 #define GMAC_ST2CW118_OFFSVAL(value) ((GMAC_ST2CW118_OFFSVAL_Msk & ((value) << GMAC_ST2CW118_OFFSVAL_Pos))) 1145 #define GMAC_ST2CW118_OFFSSTRT_Pos 7 1146 #define GMAC_ST2CW118_OFFSSTRT_Msk (0x3u << GMAC_ST2CW118_OFFSSTRT_Pos) 1147 #define GMAC_ST2CW118_OFFSSTRT(value) ((GMAC_ST2CW118_OFFSSTRT_Msk & ((value) << GMAC_ST2CW118_OFFSSTRT_Pos))) 1148 #define GMAC_ST2CW118_OFFSSTRT_FRAMESTART (0x0u << 7) 1149 #define GMAC_ST2CW118_OFFSSTRT_ETHERTYPE (0x1u << 7) 1150 #define GMAC_ST2CW118_OFFSSTRT_IP (0x2u << 7) 1151 #define GMAC_ST2CW118_OFFSSTRT_TCP_UDP (0x3u << 7) 1153 #define GMAC_ST2CW019_MASKVAL_Pos 0 1154 #define GMAC_ST2CW019_MASKVAL_Msk (0xffffu << GMAC_ST2CW019_MASKVAL_Pos) 1155 #define GMAC_ST2CW019_MASKVAL(value) ((GMAC_ST2CW019_MASKVAL_Msk & ((value) << GMAC_ST2CW019_MASKVAL_Pos))) 1156 #define GMAC_ST2CW019_COMPVAL_Pos 16 1157 #define GMAC_ST2CW019_COMPVAL_Msk (0xffffu << GMAC_ST2CW019_COMPVAL_Pos) 1158 #define GMAC_ST2CW019_COMPVAL(value) ((GMAC_ST2CW019_COMPVAL_Msk & ((value) << GMAC_ST2CW019_COMPVAL_Pos))) 1160 #define GMAC_ST2CW119_OFFSVAL_Pos 0 1161 #define GMAC_ST2CW119_OFFSVAL_Msk (0x7fu << GMAC_ST2CW119_OFFSVAL_Pos) 1162 #define GMAC_ST2CW119_OFFSVAL(value) ((GMAC_ST2CW119_OFFSVAL_Msk & ((value) << GMAC_ST2CW119_OFFSVAL_Pos))) 1163 #define GMAC_ST2CW119_OFFSSTRT_Pos 7 1164 #define GMAC_ST2CW119_OFFSSTRT_Msk (0x3u << GMAC_ST2CW119_OFFSSTRT_Pos) 1165 #define GMAC_ST2CW119_OFFSSTRT(value) ((GMAC_ST2CW119_OFFSSTRT_Msk & ((value) << GMAC_ST2CW119_OFFSSTRT_Pos))) 1166 #define GMAC_ST2CW119_OFFSSTRT_FRAMESTART (0x0u << 7) 1167 #define GMAC_ST2CW119_OFFSSTRT_ETHERTYPE (0x1u << 7) 1168 #define GMAC_ST2CW119_OFFSSTRT_IP (0x2u << 7) 1169 #define GMAC_ST2CW119_OFFSSTRT_TCP_UDP (0x3u << 7) 1171 #define GMAC_ST2CW020_MASKVAL_Pos 0 1172 #define GMAC_ST2CW020_MASKVAL_Msk (0xffffu << GMAC_ST2CW020_MASKVAL_Pos) 1173 #define GMAC_ST2CW020_MASKVAL(value) ((GMAC_ST2CW020_MASKVAL_Msk & ((value) << GMAC_ST2CW020_MASKVAL_Pos))) 1174 #define GMAC_ST2CW020_COMPVAL_Pos 16 1175 #define GMAC_ST2CW020_COMPVAL_Msk (0xffffu << GMAC_ST2CW020_COMPVAL_Pos) 1176 #define GMAC_ST2CW020_COMPVAL(value) ((GMAC_ST2CW020_COMPVAL_Msk & ((value) << GMAC_ST2CW020_COMPVAL_Pos))) 1178 #define GMAC_ST2CW120_OFFSVAL_Pos 0 1179 #define GMAC_ST2CW120_OFFSVAL_Msk (0x7fu << GMAC_ST2CW120_OFFSVAL_Pos) 1180 #define GMAC_ST2CW120_OFFSVAL(value) ((GMAC_ST2CW120_OFFSVAL_Msk & ((value) << GMAC_ST2CW120_OFFSVAL_Pos))) 1181 #define GMAC_ST2CW120_OFFSSTRT_Pos 7 1182 #define GMAC_ST2CW120_OFFSSTRT_Msk (0x3u << GMAC_ST2CW120_OFFSSTRT_Pos) 1183 #define GMAC_ST2CW120_OFFSSTRT(value) ((GMAC_ST2CW120_OFFSSTRT_Msk & ((value) << GMAC_ST2CW120_OFFSSTRT_Pos))) 1184 #define GMAC_ST2CW120_OFFSSTRT_FRAMESTART (0x0u << 7) 1185 #define GMAC_ST2CW120_OFFSSTRT_ETHERTYPE (0x1u << 7) 1186 #define GMAC_ST2CW120_OFFSSTRT_IP (0x2u << 7) 1187 #define GMAC_ST2CW120_OFFSSTRT_TCP_UDP (0x3u << 7) 1189 #define GMAC_ST2CW021_MASKVAL_Pos 0 1190 #define GMAC_ST2CW021_MASKVAL_Msk (0xffffu << GMAC_ST2CW021_MASKVAL_Pos) 1191 #define GMAC_ST2CW021_MASKVAL(value) ((GMAC_ST2CW021_MASKVAL_Msk & ((value) << GMAC_ST2CW021_MASKVAL_Pos))) 1192 #define GMAC_ST2CW021_COMPVAL_Pos 16 1193 #define GMAC_ST2CW021_COMPVAL_Msk (0xffffu << GMAC_ST2CW021_COMPVAL_Pos) 1194 #define GMAC_ST2CW021_COMPVAL(value) ((GMAC_ST2CW021_COMPVAL_Msk & ((value) << GMAC_ST2CW021_COMPVAL_Pos))) 1196 #define GMAC_ST2CW121_OFFSVAL_Pos 0 1197 #define GMAC_ST2CW121_OFFSVAL_Msk (0x7fu << GMAC_ST2CW121_OFFSVAL_Pos) 1198 #define GMAC_ST2CW121_OFFSVAL(value) ((GMAC_ST2CW121_OFFSVAL_Msk & ((value) << GMAC_ST2CW121_OFFSVAL_Pos))) 1199 #define GMAC_ST2CW121_OFFSSTRT_Pos 7 1200 #define GMAC_ST2CW121_OFFSSTRT_Msk (0x3u << GMAC_ST2CW121_OFFSSTRT_Pos) 1201 #define GMAC_ST2CW121_OFFSSTRT(value) ((GMAC_ST2CW121_OFFSSTRT_Msk & ((value) << GMAC_ST2CW121_OFFSSTRT_Pos))) 1202 #define GMAC_ST2CW121_OFFSSTRT_FRAMESTART (0x0u << 7) 1203 #define GMAC_ST2CW121_OFFSSTRT_ETHERTYPE (0x1u << 7) 1204 #define GMAC_ST2CW121_OFFSSTRT_IP (0x2u << 7) 1205 #define GMAC_ST2CW121_OFFSSTRT_TCP_UDP (0x3u << 7) 1207 #define GMAC_ST2CW022_MASKVAL_Pos 0 1208 #define GMAC_ST2CW022_MASKVAL_Msk (0xffffu << GMAC_ST2CW022_MASKVAL_Pos) 1209 #define GMAC_ST2CW022_MASKVAL(value) ((GMAC_ST2CW022_MASKVAL_Msk & ((value) << GMAC_ST2CW022_MASKVAL_Pos))) 1210 #define GMAC_ST2CW022_COMPVAL_Pos 16 1211 #define GMAC_ST2CW022_COMPVAL_Msk (0xffffu << GMAC_ST2CW022_COMPVAL_Pos) 1212 #define GMAC_ST2CW022_COMPVAL(value) ((GMAC_ST2CW022_COMPVAL_Msk & ((value) << GMAC_ST2CW022_COMPVAL_Pos))) 1214 #define GMAC_ST2CW122_OFFSVAL_Pos 0 1215 #define GMAC_ST2CW122_OFFSVAL_Msk (0x7fu << GMAC_ST2CW122_OFFSVAL_Pos) 1216 #define GMAC_ST2CW122_OFFSVAL(value) ((GMAC_ST2CW122_OFFSVAL_Msk & ((value) << GMAC_ST2CW122_OFFSVAL_Pos))) 1217 #define GMAC_ST2CW122_OFFSSTRT_Pos 7 1218 #define GMAC_ST2CW122_OFFSSTRT_Msk (0x3u << GMAC_ST2CW122_OFFSSTRT_Pos) 1219 #define GMAC_ST2CW122_OFFSSTRT(value) ((GMAC_ST2CW122_OFFSSTRT_Msk & ((value) << GMAC_ST2CW122_OFFSSTRT_Pos))) 1220 #define GMAC_ST2CW122_OFFSSTRT_FRAMESTART (0x0u << 7) 1221 #define GMAC_ST2CW122_OFFSSTRT_ETHERTYPE (0x1u << 7) 1222 #define GMAC_ST2CW122_OFFSSTRT_IP (0x2u << 7) 1223 #define GMAC_ST2CW122_OFFSSTRT_TCP_UDP (0x3u << 7) 1225 #define GMAC_ST2CW023_MASKVAL_Pos 0 1226 #define GMAC_ST2CW023_MASKVAL_Msk (0xffffu << GMAC_ST2CW023_MASKVAL_Pos) 1227 #define GMAC_ST2CW023_MASKVAL(value) ((GMAC_ST2CW023_MASKVAL_Msk & ((value) << GMAC_ST2CW023_MASKVAL_Pos))) 1228 #define GMAC_ST2CW023_COMPVAL_Pos 16 1229 #define GMAC_ST2CW023_COMPVAL_Msk (0xffffu << GMAC_ST2CW023_COMPVAL_Pos) 1230 #define GMAC_ST2CW023_COMPVAL(value) ((GMAC_ST2CW023_COMPVAL_Msk & ((value) << GMAC_ST2CW023_COMPVAL_Pos))) 1232 #define GMAC_ST2CW123_OFFSVAL_Pos 0 1233 #define GMAC_ST2CW123_OFFSVAL_Msk (0x7fu << GMAC_ST2CW123_OFFSVAL_Pos) 1234 #define GMAC_ST2CW123_OFFSVAL(value) ((GMAC_ST2CW123_OFFSVAL_Msk & ((value) << GMAC_ST2CW123_OFFSVAL_Pos))) 1235 #define GMAC_ST2CW123_OFFSSTRT_Pos 7 1236 #define GMAC_ST2CW123_OFFSSTRT_Msk (0x3u << GMAC_ST2CW123_OFFSSTRT_Pos) 1237 #define GMAC_ST2CW123_OFFSSTRT(value) ((GMAC_ST2CW123_OFFSSTRT_Msk & ((value) << GMAC_ST2CW123_OFFSSTRT_Pos))) 1238 #define GMAC_ST2CW123_OFFSSTRT_FRAMESTART (0x0u << 7) 1239 #define GMAC_ST2CW123_OFFSSTRT_ETHERTYPE (0x1u << 7) 1240 #define GMAC_ST2CW123_OFFSSTRT_IP (0x2u << 7) 1241 #define GMAC_ST2CW123_OFFSSTRT_TCP_UDP (0x3u << 7) Definition: component_gmac.h:55
#define __IO
Definition: core_cm7.h:287
#define __O
Definition: core_cm7.h:286
GmacSa hardware registers.
Definition: component_gmac.h:41
#define GMACSA_NUMBER
Gmac hardware registers.
Definition: component_gmac.h:53
__I uint32_t GMAC_MID
(Gmac Offset: 0x0FC) Module ID Register
Definition: component_gmac.h:98
GmacSt2Compare hardware registers.
Definition: component_gmac.h:47
#define __I
Definition: core_cm7.h:284