Lines Matching +full:64 +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Copyright (C) 2007-2016 Broadcom Corporation.
9 * Copyright (C) 2016-2017 Broadcom Limited.
21 #define TG3_BDINFO_HOST_ADDR 0x0UL /* 64-bit */
22 #define TG3_BDINFO_MAXLEN_FLAGS 0x8UL /* 32-bit */
27 #define TG3_BDINFO_NIC_ADDR 0xcUL /* 32-bit */
78 /* 0x04 --> 0x2c unused */
115 /* 0x30 --> 0x64 unused */
117 /* 0x66 --> 0x68 unused */
284 /* 0x94 --> 0x98 unused */
285 #define TG3PCI_STD_RING_PROD_IDX 0x00000098 /* 64-bit */
286 #define TG3PCI_RCV_RET_RING_CON_IDX 0x000000a0 /* 64-bit */
287 /* 0xa8 --> 0xb8 unused */
296 /* 0xc0 --> 0xf4 unused */
300 /* 0xf8 --> 0x200 unused */
304 /* 0x114 --> 0x200 unused */
307 #define MAILBOX_INTERRUPT_0 0x00000200 /* 64-bit */
308 #define MAILBOX_INTERRUPT_1 0x00000208 /* 64-bit */
309 #define MAILBOX_INTERRUPT_2 0x00000210 /* 64-bit */
310 #define MAILBOX_INTERRUPT_3 0x00000218 /* 64-bit */
311 #define MAILBOX_GENERAL_0 0x00000220 /* 64-bit */
312 #define MAILBOX_GENERAL_1 0x00000228 /* 64-bit */
313 #define MAILBOX_GENERAL_2 0x00000230 /* 64-bit */
314 #define MAILBOX_GENERAL_3 0x00000238 /* 64-bit */
315 #define MAILBOX_GENERAL_4 0x00000240 /* 64-bit */
316 #define MAILBOX_GENERAL_5 0x00000248 /* 64-bit */
317 #define MAILBOX_GENERAL_6 0x00000250 /* 64-bit */
318 #define MAILBOX_GENERAL_7 0x00000258 /* 64-bit */
319 #define MAILBOX_RELOAD_STAT 0x00000260 /* 64-bit */
320 #define MAILBOX_RCV_STD_PROD_IDX 0x00000268 /* 64-bit */
323 #define MAILBOX_RCV_JUMBO_PROD_IDX 0x00000270 /* 64-bit */
326 #define MAILBOX_RCV_MINI_PROD_IDX 0x00000278 /* 64-bit */
327 #define MAILBOX_RCVRET_CON_IDX_0 0x00000280 /* 64-bit */
328 #define MAILBOX_RCVRET_CON_IDX_1 0x00000288 /* 64-bit */
329 #define MAILBOX_RCVRET_CON_IDX_2 0x00000290 /* 64-bit */
330 #define MAILBOX_RCVRET_CON_IDX_3 0x00000298 /* 64-bit */
331 #define MAILBOX_RCVRET_CON_IDX_4 0x000002a0 /* 64-bit */
332 #define MAILBOX_RCVRET_CON_IDX_5 0x000002a8 /* 64-bit */
333 #define MAILBOX_RCVRET_CON_IDX_6 0x000002b0 /* 64-bit */
334 #define MAILBOX_RCVRET_CON_IDX_7 0x000002b8 /* 64-bit */
335 #define MAILBOX_RCVRET_CON_IDX_8 0x000002c0 /* 64-bit */
336 #define MAILBOX_RCVRET_CON_IDX_9 0x000002c8 /* 64-bit */
337 #define MAILBOX_RCVRET_CON_IDX_10 0x000002d0 /* 64-bit */
338 #define MAILBOX_RCVRET_CON_IDX_11 0x000002d8 /* 64-bit */
339 #define MAILBOX_RCVRET_CON_IDX_12 0x000002e0 /* 64-bit */
340 #define MAILBOX_RCVRET_CON_IDX_13 0x000002e8 /* 64-bit */
341 #define MAILBOX_RCVRET_CON_IDX_14 0x000002f0 /* 64-bit */
342 #define MAILBOX_RCVRET_CON_IDX_15 0x000002f8 /* 64-bit */
343 #define MAILBOX_SNDHOST_PROD_IDX_0 0x00000300 /* 64-bit */
344 #define MAILBOX_SNDHOST_PROD_IDX_1 0x00000308 /* 64-bit */
345 #define MAILBOX_SNDHOST_PROD_IDX_2 0x00000310 /* 64-bit */
346 #define MAILBOX_SNDHOST_PROD_IDX_3 0x00000318 /* 64-bit */
347 #define MAILBOX_SNDHOST_PROD_IDX_4 0x00000320 /* 64-bit */
348 #define MAILBOX_SNDHOST_PROD_IDX_5 0x00000328 /* 64-bit */
349 #define MAILBOX_SNDHOST_PROD_IDX_6 0x00000330 /* 64-bit */
350 #define MAILBOX_SNDHOST_PROD_IDX_7 0x00000338 /* 64-bit */
351 #define MAILBOX_SNDHOST_PROD_IDX_8 0x00000340 /* 64-bit */
352 #define MAILBOX_SNDHOST_PROD_IDX_9 0x00000348 /* 64-bit */
353 #define MAILBOX_SNDHOST_PROD_IDX_10 0x00000350 /* 64-bit */
354 #define MAILBOX_SNDHOST_PROD_IDX_11 0x00000358 /* 64-bit */
355 #define MAILBOX_SNDHOST_PROD_IDX_12 0x00000360 /* 64-bit */
356 #define MAILBOX_SNDHOST_PROD_IDX_13 0x00000368 /* 64-bit */
357 #define MAILBOX_SNDHOST_PROD_IDX_14 0x00000370 /* 64-bit */
358 #define MAILBOX_SNDHOST_PROD_IDX_15 0x00000378 /* 64-bit */
359 #define MAILBOX_SNDNIC_PROD_IDX_0 0x00000380 /* 64-bit */
360 #define MAILBOX_SNDNIC_PROD_IDX_1 0x00000388 /* 64-bit */
361 #define MAILBOX_SNDNIC_PROD_IDX_2 0x00000390 /* 64-bit */
362 #define MAILBOX_SNDNIC_PROD_IDX_3 0x00000398 /* 64-bit */
363 #define MAILBOX_SNDNIC_PROD_IDX_4 0x000003a0 /* 64-bit */
364 #define MAILBOX_SNDNIC_PROD_IDX_5 0x000003a8 /* 64-bit */
365 #define MAILBOX_SNDNIC_PROD_IDX_6 0x000003b0 /* 64-bit */
366 #define MAILBOX_SNDNIC_PROD_IDX_7 0x000003b8 /* 64-bit */
367 #define MAILBOX_SNDNIC_PROD_IDX_8 0x000003c0 /* 64-bit */
368 #define MAILBOX_SNDNIC_PROD_IDX_9 0x000003c8 /* 64-bit */
369 #define MAILBOX_SNDNIC_PROD_IDX_10 0x000003d0 /* 64-bit */
370 #define MAILBOX_SNDNIC_PROD_IDX_11 0x000003d8 /* 64-bit */
371 #define MAILBOX_SNDNIC_PROD_IDX_12 0x000003e0 /* 64-bit */
372 #define MAILBOX_SNDNIC_PROD_IDX_13 0x000003e8 /* 64-bit */
373 #define MAILBOX_SNDNIC_PROD_IDX_14 0x000003f0 /* 64-bit */
374 #define MAILBOX_SNDNIC_PROD_IDX_15 0x000003f8 /* 64-bit */
591 /* 0x508 --> 0x520 unused */
623 /* 0x598 --> 0x5a0 unused */
737 /* 0x5ac --> 0x5b0 unused */
791 /* 0x5c8 --> 0x600 unused */
794 /* 0x624 --> 0x670 unused */
808 /* 0x698 --> 0x6b0 unused */
812 /* 0x6b8 --> 0x6c8 unused */
837 /* 0x6cc --> 0x800 unused */
886 /* 0x8bc --> 0xc00 unused */
904 /* 0xc24 --> 0xc80 unused */
929 /* 0xce0 --> 0x1000 unused */
936 /* 0x1004 --> 0x1400 unused */
946 /* 0x140c --> 0x1440 */
963 /* 0x1480 --> 0x1800 unused */
989 /* 0x1848 --> 0x1c00 unused */
996 /* 0x1c04 --> 0x2000 unused */
1025 /* 0x2020 --> 0x2100 unused */
1026 #define RCVLPC_SELLST_BASE 0x00002100 /* 16 16-byte entries */
1030 #define RCVLPC_COS_CNTL_BASE 0x00002200 /* 16 4-byte entries */
1038 /* 0x225c --> 0x2400 unused */
1053 /* 0x240c --> 0x2440 unused */
1060 /* 0x247c --> 0x2480 unused */
1078 /* 0x24c4 --> 0x2800 unused */
1085 /* 0x2804 --> 0x2c00 unused */
1100 /* 0x2c20 --> 0x2d00 unused */
1104 /* 0x2d08 --> 0x3000 unused */
1116 /* 0x3014 --> 0x3400 unused */
1125 /* 0x3408 --> 0x3600 unused */
1138 /* 0x3608 --> 0x360c unused */
1147 /* 0x3614 --> 0x361c unused */
1152 /* 0x3620 --> 0x3630 unused */
1171 /* 0x3634 --> 0x365c unused */
1181 /* 0x3664 --> 0x36b0 unused */
1202 /* 0x36c0 --> 0x36d0 unused */
1208 /* 0x36d4 --> 0x3800 unused */
1215 /* 0x3808 --> 0x3c00 unused */
1273 /* 0x3c2c --> 0x3c30 unused */
1274 #define HOSTCC_STATS_BLK_HOST_ADDR 0x00003c30 /* 64-bit */
1275 #define HOSTCC_STATUS_BLK_HOST_ADDR 0x00003c38 /* 64-bit */
1280 /* 0x3c4c --> 0x3c50 unused */
1284 /* 0x3c5c --> 0x3c80 unused */
1318 /* 0x3d00 --> 0x3d80 unused */
1326 /* 0x3d98 --> 0x4000 unused */
1335 /* 0x4010 --> 0x4400 unused */
1389 /* 0x4458 --> 0x4800 unused */
1424 /* 0x4808 --> 0x4890 unused */
1437 /* 0x4904 --> 0x4910 unused */
1444 /* 0x4914 --> 0x4be0 unused */
1473 /* 0x4c08 --> 0x5000 unused */
1475 /* Per-cpu register offsets (arm9) */
1481 /* 0xc --> 0x1c reserved */
1489 /* 0x38 --> 0x44 unused */
1493 /* 0x50 --> 0x200 unused */
1526 /* 0x280 --> 0x400 unused */
1549 #define GRCMBOX_INTERRUPT_0 0x00005800 /* 64-bit */
1550 #define GRCMBOX_INTERRUPT_1 0x00005808 /* 64-bit */
1551 #define GRCMBOX_INTERRUPT_2 0x00005810 /* 64-bit */
1552 #define GRCMBOX_INTERRUPT_3 0x00005818 /* 64-bit */
1553 #define GRCMBOX_GENERAL_0 0x00005820 /* 64-bit */
1554 #define GRCMBOX_GENERAL_1 0x00005828 /* 64-bit */
1555 #define GRCMBOX_GENERAL_2 0x00005830 /* 64-bit */
1556 #define GRCMBOX_GENERAL_3 0x00005838 /* 64-bit */
1557 #define GRCMBOX_GENERAL_4 0x00005840 /* 64-bit */
1558 #define GRCMBOX_GENERAL_5 0x00005848 /* 64-bit */
1559 #define GRCMBOX_GENERAL_6 0x00005850 /* 64-bit */
1560 #define GRCMBOX_GENERAL_7 0x00005858 /* 64-bit */
1561 #define GRCMBOX_RELOAD_STAT 0x00005860 /* 64-bit */
1562 #define GRCMBOX_RCVSTD_PROD_IDX 0x00005868 /* 64-bit */
1563 #define GRCMBOX_RCVJUMBO_PROD_IDX 0x00005870 /* 64-bit */
1564 #define GRCMBOX_RCVMINI_PROD_IDX 0x00005878 /* 64-bit */
1565 #define GRCMBOX_RCVRET_CON_IDX_0 0x00005880 /* 64-bit */
1566 #define GRCMBOX_RCVRET_CON_IDX_1 0x00005888 /* 64-bit */
1567 #define GRCMBOX_RCVRET_CON_IDX_2 0x00005890 /* 64-bit */
1568 #define GRCMBOX_RCVRET_CON_IDX_3 0x00005898 /* 64-bit */
1569 #define GRCMBOX_RCVRET_CON_IDX_4 0x000058a0 /* 64-bit */
1570 #define GRCMBOX_RCVRET_CON_IDX_5 0x000058a8 /* 64-bit */
1571 #define GRCMBOX_RCVRET_CON_IDX_6 0x000058b0 /* 64-bit */
1572 #define GRCMBOX_RCVRET_CON_IDX_7 0x000058b8 /* 64-bit */
1573 #define GRCMBOX_RCVRET_CON_IDX_8 0x000058c0 /* 64-bit */
1574 #define GRCMBOX_RCVRET_CON_IDX_9 0x000058c8 /* 64-bit */
1575 #define GRCMBOX_RCVRET_CON_IDX_10 0x000058d0 /* 64-bit */
1576 #define GRCMBOX_RCVRET_CON_IDX_11 0x000058d8 /* 64-bit */
1577 #define GRCMBOX_RCVRET_CON_IDX_12 0x000058e0 /* 64-bit */
1578 #define GRCMBOX_RCVRET_CON_IDX_13 0x000058e8 /* 64-bit */
1579 #define GRCMBOX_RCVRET_CON_IDX_14 0x000058f0 /* 64-bit */
1580 #define GRCMBOX_RCVRET_CON_IDX_15 0x000058f8 /* 64-bit */
1581 #define GRCMBOX_SNDHOST_PROD_IDX_0 0x00005900 /* 64-bit */
1582 #define GRCMBOX_SNDHOST_PROD_IDX_1 0x00005908 /* 64-bit */
1583 #define GRCMBOX_SNDHOST_PROD_IDX_2 0x00005910 /* 64-bit */
1584 #define GRCMBOX_SNDHOST_PROD_IDX_3 0x00005918 /* 64-bit */
1585 #define GRCMBOX_SNDHOST_PROD_IDX_4 0x00005920 /* 64-bit */
1586 #define GRCMBOX_SNDHOST_PROD_IDX_5 0x00005928 /* 64-bit */
1587 #define GRCMBOX_SNDHOST_PROD_IDX_6 0x00005930 /* 64-bit */
1588 #define GRCMBOX_SNDHOST_PROD_IDX_7 0x00005938 /* 64-bit */
1589 #define GRCMBOX_SNDHOST_PROD_IDX_8 0x00005940 /* 64-bit */
1590 #define GRCMBOX_SNDHOST_PROD_IDX_9 0x00005948 /* 64-bit */
1591 #define GRCMBOX_SNDHOST_PROD_IDX_10 0x00005950 /* 64-bit */
1592 #define GRCMBOX_SNDHOST_PROD_IDX_11 0x00005958 /* 64-bit */
1593 #define GRCMBOX_SNDHOST_PROD_IDX_12 0x00005960 /* 64-bit */
1594 #define GRCMBOX_SNDHOST_PROD_IDX_13 0x00005968 /* 64-bit */
1595 #define GRCMBOX_SNDHOST_PROD_IDX_14 0x00005970 /* 64-bit */
1596 #define GRCMBOX_SNDHOST_PROD_IDX_15 0x00005978 /* 64-bit */
1597 #define GRCMBOX_SNDNIC_PROD_IDX_0 0x00005980 /* 64-bit */
1598 #define GRCMBOX_SNDNIC_PROD_IDX_1 0x00005988 /* 64-bit */
1599 #define GRCMBOX_SNDNIC_PROD_IDX_2 0x00005990 /* 64-bit */
1600 #define GRCMBOX_SNDNIC_PROD_IDX_3 0x00005998 /* 64-bit */
1601 #define GRCMBOX_SNDNIC_PROD_IDX_4 0x000059a0 /* 64-bit */
1602 #define GRCMBOX_SNDNIC_PROD_IDX_5 0x000059a8 /* 64-bit */
1603 #define GRCMBOX_SNDNIC_PROD_IDX_6 0x000059b0 /* 64-bit */
1604 #define GRCMBOX_SNDNIC_PROD_IDX_7 0x000059b8 /* 64-bit */
1605 #define GRCMBOX_SNDNIC_PROD_IDX_8 0x000059c0 /* 64-bit */
1606 #define GRCMBOX_SNDNIC_PROD_IDX_9 0x000059c8 /* 64-bit */
1607 #define GRCMBOX_SNDNIC_PROD_IDX_10 0x000059d0 /* 64-bit */
1608 #define GRCMBOX_SNDNIC_PROD_IDX_11 0x000059d8 /* 64-bit */
1609 #define GRCMBOX_SNDNIC_PROD_IDX_12 0x000059e0 /* 64-bit */
1610 #define GRCMBOX_SNDNIC_PROD_IDX_13 0x000059e8 /* 64-bit */
1611 #define GRCMBOX_SNDNIC_PROD_IDX_14 0x000059f0 /* 64-bit */
1612 #define GRCMBOX_SNDNIC_PROD_IDX_15 0x000059f8 /* 64-bit */
1617 /* 0x5a10 --> 0x5c00 */
1621 /* 0x5c04 --> 0x5c10 unused */
1690 /* 0x5d20 --> 0x6000 unused */
1701 /* 0x600c --> 0x6400 unused */
1707 /* 0x6404 --> 0x6800 unused */
1808 #define GRC_MEM_POWER_UP 0x00006830 /* 64-bit */
1821 #define EEPROM_CHIP_SIZE (64 * 1024)
1826 /* 0x684c --> 0x6890 unused */
1851 /* 0x692c --> 0x7000 unused */
2023 /* 0x703c --> 0x7500 unused */
2040 /* 0x7518 --> 0x7c04 unused */
2045 /* 0x7c08 --> 0x7d28 unused */
2051 /* 0x7d2c --> 0x7d54 unused */
2056 /* 0x7d58 --> 0x7e70 unused */
2065 /* 0x7e74 --> 0x8000 unused */
2080 /* OTP bit definitions */
2273 #define TG3_SRAM_RX_STD_BDCACHE_SIZE_5755 64
2276 #define TG3_SRAM_RX_JMB_BDCACHE_SIZE_5700 64
2513 #define TG3_APE_HB_INTERVAL (tp->ape_hb_interval)
2519 * exist only in the cards on-chip SRAM. All 16 send bds are under
2528 * 3) In NIC_SRAM_SEND_RCB (of desired index) of on-chip SRAM:
2538 * To use on-chip TX descriptors:
2541 * 2) In NIC_SRAM_SEND_RCB (of desired index) of on-chip SRAM:
2545 * 3) Access TX descriptors directly in on-chip SRAM
2579 #define TXD_ADDR 0x00UL /* 64-bit */
2580 #define TXD_LEN_FLAGS 0x08UL /* 32-bit (upper 16-bits are len) */
2581 #define TXD_VLAN_TAG 0x0cUL /* 32-bit (upper 16-bits are tag) */
2717 u8 __reserved0[0x400-0x300];
2817 u8 __reserved4[0xb00-0x9c8];
3138 /* begin "general, frequently-used members" cacheline section */
3142 * SYNC flag is set by non-IRQ context code to initiate
3446 ((tp)->pci_chip_rev_id)
3448 ((tp)->pci_chip_rev_id >> 12)
3450 ((tp)->pci_chip_rev_id >> 8)