|
iPXE
|
Go to the source code of this file.
Data Structures | |
| struct | tg3_tx_buffer_desc |
| struct | tg3_rx_buffer_desc |
| struct | tg3_ext_rx_buffer_desc |
| struct | tg3_internal_buffer_desc |
| struct | tg3_hw_status |
| struct | tg3_stat64_t |
| struct | tg3_hw_stats |
| struct | ring_info |
| struct | tg3_link_config |
| struct | tg3_bufmgr_config |
| struct | tg3_ethtool_stats |
| struct | tg3_rx_prodring_set |
| struct | tg3 |
Functions | |
| static void | tw32_mailbox_flush (struct tg3 *tp, u32 off, u32 val) |
| u32 | tg3_read_indirect_reg32 (struct tg3 *tp, u32 off) |
| void | tg3_write_indirect_reg32 (struct tg3 *tp, u32 off, u32 val) |
| u32 | tg3_read_indirect_mbox (struct tg3 *tp, u32 off) |
| void | tg3_write_indirect_mbox (struct tg3 *tp, u32 off, u32 val) |
| static int | _tg3_flag (enum TG3_FLAGS flag, unsigned long *bits) |
| static void | _tg3_flag_set (enum TG3_FLAGS flag, unsigned long *bits) |
| static void | _tg3_flag_clear (enum TG3_FLAGS flag, unsigned long *bits) |
| int | tg3_init_rings (struct tg3 *tp) |
| void | tg3_rx_prodring_fini (struct tg3_rx_prodring_set *tpr) |
| u32 | tg3_read_otp_phycfg (struct tg3 *tp) |
| int tg3_rx_prodring_init(struct tg3 *tp, struct tg3_rx_prodring_set *tpr); | |
| void | tg3_mdio_init (struct tg3 *tp) |
| int | tg3_phy_probe (struct tg3 *tp) |
| int | tg3_phy_reset (struct tg3 *tp) |
| int | tg3_setup_phy (struct tg3 *tp, int force_reset) |
| int | tg3_readphy (struct tg3 *tp, int reg, u32 *val) |
| int | tg3_writephy (struct tg3 *tp, int reg, u32 val) |
| void | _tw32_flush (struct tg3 *tp, u32 off, u32 val, u32 usec_wait) |
| void | tg3_write_mem (struct tg3 *tp, u32 off, u32 val) |
| int | tg3_get_invariants (struct tg3 *tp) |
| void | tg3_init_bufmgr_config (struct tg3 *tp) |
| int | tg3_get_device_address (struct tg3 *tp) |
| int | tg3_halt (struct tg3 *tp) |
| void | tg3_set_txd (struct tg3 *tp, int entry, dma_addr_t mapping, int len, u32 flags) |
| void | tg3_set_power_state_0 (struct tg3 *tp) |
| int | tg3_alloc_consistent (struct tg3 *tp) |
| int | tg3_init_hw (struct tg3 *tp, int reset_phy) |
| void | tg3_poll_link (struct tg3 *tp) |
| void | tg3_wait_for_event_ack (struct tg3 *tp) |
| void | __tg3_set_mac_addr (struct tg3 *tp, int skip_mac_1) |
| void | tg3_disable_ints (struct tg3 *tp) |
| void | tg3_enable_ints (struct tg3 *tp) |
| static void | tg3_generate_fw_event (struct tg3 *tp) |
| static u8 | mii_resolve_flowctrl_fdx (u16 lcladv, u16 rmtadv) |
| mii_resolve_flowctrl_fdx @lcladv: value of MII ADVERTISE register @rmtadv: value of MII LPA register | |
| static u32 | mii_adv_to_ethtool_adv_x (u32 adv) |
| static u32 | ethtool_adv_to_mii_adv_x (u32 ethadv) |
| #define ERRFILE ERRFILE_tg3 |
| #define PCI_EXP_LNKCTL 16 /* Link Control */ |
Definition at line 17 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_setup_copper_phy().
| #define PCI_EXP_LNKCTL_CLKREQ_EN 0x100 /* Enable clkreq */ |
Definition at line 18 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_setup_copper_phy().
Definition at line 21 of file tg3.h.
Referenced by tg3_reset_hw().
| #define PCI_X_CMD_MAX_READ 0x000c /* Max Memory Read Byte Count */ |
Definition at line 22 of file tg3.h.
Referenced by tg3_reset_hw().
| #define PCI_X_CMD_MAX_SPLIT 0x0070 /* Max Outstanding Split Transactions */ |
Definition at line 24 of file tg3.h.
Referenced by tg3_reset_hw().
| #define ADVERTISED_Pause (1 << 13) |
Definition at line 38 of file tg3.h.
Referenced by ethtool_adv_to_mii_adv_x(), mii_adv_to_ethtool_adv_x(), and tg3_phy_init_link_config().
| #define ADVERTISED_Asym_Pause (1 << 14) |
Definition at line 41 of file tg3.h.
Referenced by ethtool_adv_to_mii_adv_x(), and mii_adv_to_ethtool_adv_x().
| #define MDIO_AN_EEE_ADV_100TX 0x0002 /* Advertise 100TX EEE cap */ |
| #define MDIO_AN_EEE_ADV_1000T 0x0004 /* Advertise 1000T EEE cap */ |
| #define PCI_EXP_DEVCTL_RELAX_EN 0x0010 /* Enable relaxed ordering */ |
Definition at line 62 of file tg3.h.
Referenced by tg3_chip_reset().
| #define PCI_EXP_DEVCTL_NOSNOOP_EN 0x0800 /* Enable No Snoop */ |
Definition at line 63 of file tg3.h.
Referenced by tg3_chip_reset().
| #define PCI_EXP_DEVCTL_PAYLOAD 0x00e0 /* Max_Payload_Size */ |
Definition at line 64 of file tg3.h.
Referenced by tg3_chip_reset().
| #define PCI_EXP_DEVSTA 10 /* Device Status */ |
Definition at line 65 of file tg3.h.
Referenced by tg3_chip_reset().
| #define PCI_EXP_DEVSTA_CED 0x01 /* Correctable Error Detected */ |
Definition at line 66 of file tg3.h.
Referenced by tg3_chip_reset().
| #define PCI_EXP_DEVSTA_NFED 0x02 /* Non-Fatal Error Detected */ |
Definition at line 67 of file tg3.h.
Referenced by tg3_chip_reset().
| #define PCI_EXP_DEVSTA_FED 0x04 /* Fatal Error Detected */ |
Definition at line 68 of file tg3.h.
Referenced by tg3_chip_reset().
| #define PCI_EXP_DEVSTA_URD 0x08 /* Unsupported Request Detected */ |
Definition at line 69 of file tg3.h.
Referenced by tg3_chip_reset().
| #define PCI_VENDOR_ID_BROADCOM 0x14e4 |
Definition at line 73 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5722 0x165a |
Definition at line 93 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5705F 0x166e |
Definition at line 103 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5755M 0x1673 |
Definition at line 105 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5756 0x1674 |
Definition at line 106 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5751F 0x167e |
Definition at line 113 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5787F 0x167f |
Definition at line 114 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5761 0x1681 |
Definition at line 116 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5753F 0x16fe |
Definition at line 135 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5901 0x170d |
Definition at line 136 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_DEVICE_ID_TIGON3_5901_2 0x170e |
Definition at line 137 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCI_VENDOR_ID_DELL 0x1028 |
Definition at line 142 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define SPEED_UNKNOWN -1 |
Definition at line 150 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy(), and tg3_setup_fiber_phy().
| #define DUPLEX_UNKNOWN 0xff |
Definition at line 156 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy(), and tg3_setup_fiber_phy().
| #define TG3_64BIT_REG_HIGH 0x00UL |
Definition at line 159 of file tg3.h.
Referenced by tg3_reset_hw(), tg3_rings_reset(), and tg3_set_bdinfo().
| #define TG3_64BIT_REG_LOW 0x04UL |
Definition at line 160 of file tg3.h.
Referenced by tg3_init_one(), tg3_reset_hw(), tg3_rings_reset(), tg3_set_bdinfo(), and tg3_write_indirect_mbox().
| #define TG3_BDINFO_HOST_ADDR 0x0UL /* 64-bit */ |
Definition at line 163 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_set_bdinfo().
| #define TG3_BDINFO_MAXLEN_FLAGS 0x8UL /* 32-bit */ |
Definition at line 164 of file tg3.h.
Referenced by tg3_reset_hw(), tg3_rings_reset(), and tg3_set_bdinfo().
| #define BDINFO_FLAGS_USE_EXT_RECV 0x00000001 /* ext rx_buffer_desc */ |
| #define BDINFO_FLAGS_DISABLED 0x00000002 |
Definition at line 166 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_rings_reset().
| #define BDINFO_FLAGS_MAXLEN_SHIFT 16 |
Definition at line 168 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_rings_reset().
| #define TG3_BDINFO_NIC_ADDR 0xcUL /* 32-bit */ |
Definition at line 169 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_set_bdinfo().
| #define TG3_BDINFO_SIZE 0x10UL |
Definition at line 170 of file tg3.h.
Referenced by tg3_rings_reset().
| #define RX_STD_MAX_SIZE 1536 |
Definition at line 172 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_RX_STD_MAX_SIZE_5700 512 |
Definition at line 173 of file tg3.h.
Referenced by tg3_alloc_rx_iob(), tg3_refill_prod_ring(), tg3_reset_hw(), and tg3_rx_prodring_alloc().
| #define TG3_RX_RET_MAX_SIZE_5705 512 |
Definition at line 178 of file tg3.h.
Referenced by tg3_rings_reset(), and tg3_rx_complete().
| #define TG3PCI_DEVICE_TIGON3_5761S 0x1688 |
Definition at line 189 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_57790 0x1694 |
Definition at line 193 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_5717 0x1655 |
Definition at line 197 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_5718 0x1656 |
Definition at line 198 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_phy_probe().
| #define TG3PCI_DEVICE_TIGON3_57781 0x16b1 |
Definition at line 199 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_57785 0x16b5 |
Definition at line 200 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_57761 0x16b0 |
Definition at line 201 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_57762 0x1682 |
Definition at line 202 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_57765 0x16b4 |
Definition at line 203 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_57766 0x1686 |
Definition at line 204 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_57791 0x16b2 |
Definition at line 205 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_57795 0x16b6 |
Definition at line 206 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_5719 0x1657 |
Definition at line 207 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_DEVICE_TIGON3_5720 0x165f |
Definition at line 208 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_SUBVENDOR_ID_BROADCOM PCI_VENDOR_ID_BROADCOM |
| #define TG3PCI_SUBVENDOR_ID_3COM PCI_VENDOR_ID_3COM |
| #define TG3PCI_SUBVENDOR_ID_DELL PCI_VENDOR_ID_DELL |
| #define TG3PCI_SUBVENDOR_ID_COMPAQ PCI_VENDOR_ID_COMPAQ |
| #define TG3PCI_SUBVENDOR_ID_IBM PCI_VENDOR_ID_IBM |
| #define TG3PCI_MSI_DATA 0x00000064 |
Definition at line 242 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3PCI_MISC_HOST_CTRL 0x00000068 |
Definition at line 244 of file tg3.h.
Referenced by tg3_disable_ints(), tg3_enable_ints(), tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_restore_pci_state(), and tg3_set_power_state_0().
| #define MISC_HOST_CTRL_MASK_PCI_INT 0x00000002 |
Definition at line 246 of file tg3.h.
Referenced by tg3_disable_ints(), tg3_enable_ints(), and tg3_init_one().
| #define MISC_HOST_CTRL_WORD_SWAP 0x00000008 |
Definition at line 248 of file tg3.h.
Referenced by tg3_init_one().
| #define MISC_HOST_CTRL_PCISTATE_RW 0x00000010 |
Definition at line 249 of file tg3.h.
Referenced by tg3_init_one().
| #define MISC_HOST_CTRL_INDIR_ACCESS 0x00000080 |
Definition at line 252 of file tg3.h.
Referenced by tg3_init_one().
| #define MISC_HOST_CTRL_TAGGED_STATUS 0x00000200 |
Definition at line 254 of file tg3.h.
Referenced by tg3_get_invariants().
| #define MISC_HOST_CTRL_CHIPREV 0xffff0000 |
Definition at line 255 of file tg3.h.
Referenced by tg3_get_invariants().
| #define MISC_HOST_CTRL_CHIPREV_SHIFT 16 |
Definition at line 256 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GET_CHIP_REV_ID | ( | MISC_HOST_CTRL | ) |
Definition at line 257 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_ID_5700_ALTIMA 0x7104 |
Definition at line 265 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define CHIPREV_ID_5701_A0 0x0000 |
Definition at line 267 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_phy_autoneg_cfg(), tg3_reset_hw(), and tg3_setup_copper_phy().
| #define CHIPREV_ID_5701_B0 0x0100 |
Definition at line 268 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_phy_autoneg_cfg(), and tg3_setup_copper_phy().
| #define CHIPREV_ID_5701_B2 0x0102 |
Definition at line 269 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_ID_5701_B5 0x0105 |
Definition at line 270 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_ID_5703_A1 0x1001 |
Definition at line 272 of file tg3.h.
Referenced by tg3_reset_hw().
| #define CHIPREV_ID_5704_A0 0x2000 |
Definition at line 275 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_reset_hw(), tg3_restore_pci_state(), and tg3_setup_fiber_hw_autoneg().
| #define CHIPREV_ID_5704_A1 0x2001 |
Definition at line 276 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define CHIPREV_ID_5705_A0 0x3000 |
Definition at line 279 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_invariants(), and tg3_reset_hw().
| #define CHIPREV_ID_5705_A1 0x3001 |
Definition at line 280 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_ID_5750_A0 0x4000 |
Definition at line 283 of file tg3.h.
Referenced by tg3_chip_reset(), and tg3_get_eeprom_hw_cfg().
| #define CHIPREV_ID_5750_A1 0x4001 |
Definition at line 284 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define CHIPREV_ID_5750_A3 0x4003 |
Definition at line 285 of file tg3.h.
Referenced by tg3_chip_reset().
| #define CHIPREV_ID_5752_A0_HW 0x5000 |
Definition at line 287 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_ID_5752_A0 0x6000 |
Definition at line 288 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_ID_5906_A1 0xc001 |
Definition at line 291 of file tg3.h.
Referenced by tg3_reset_hw().
| #define CHIPREV_ID_57780_A0 0x57780000 |
Definition at line 292 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_ID_57780_A1 0x57780001 |
Definition at line 293 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_ID_5717_A0 0x05717000 |
Definition at line 294 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_mdio_init(), and tg3_phy_probe().
| #define CHIPREV_ID_57765_A0 0x57785000 |
Definition at line 295 of file tg3.h.
Referenced by tg3_phy_probe(), tg3_poll_fw(), and tg3_reset_hw().
| #define CHIPREV_ID_5719_A0 0x05719000 |
Definition at line 296 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define CHIPREV_ID_5720_A0 0x05720000 |
Definition at line 297 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define GET_ASIC_REV | ( | CHIP_REV_ID | ) |
Definition at line 298 of file tg3.h.
Referenced by __tg3_set_mac_addr(), tg3_chip_reset(), tg3_get_device_address(), tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_init_bufmgr_config(), tg3_phy_probe(), tg3_phy_reset(), tg3_poll_fw(), tg3_read_mem(), tg3_reset_hw(), tg3_restore_pci_state(), tg3_rings_reset(), tg3_setup_copper_phy(), tg3_setup_fiber_mii_phy(), tg3_setup_phy(), tg3_setup_rxbd_thresholds(), tg3_test_dma(), and tg3_write_mem().
| #define ASIC_REV_5700 0x07 |
Definition at line 299 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_reset_hw(), tg3_setup_copper_phy(), and tg3_test_dma().
| #define ASIC_REV_5701 0x00 |
Definition at line 300 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg(), tg3_setup_copper_phy(), and tg3_test_dma().
| #define ASIC_REV_5703 0x01 |
Definition at line 301 of file tg3.h.
Referenced by __tg3_set_mac_addr(), tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_phy_reset(), tg3_reset_hw(), tg3_setup_copper_phy(), and tg3_test_dma().
| #define ASIC_REV_5704 0x02 |
Definition at line 302 of file tg3.h.
Referenced by __tg3_set_mac_addr(), tg3_get_device_address(), tg3_phy_reset(), tg3_reset_hw(), tg3_setup_copper_phy(), and tg3_test_dma().
| #define ASIC_REV_5705 0x03 |
Definition at line 303 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_invariants(), tg3_phy_reset(), tg3_reset_hw(), tg3_setup_copper_phy(), and tg3_test_dma().
| #define ASIC_REV_5750 0x04 |
Definition at line 304 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_setup_rxbd_thresholds(), and tg3_test_dma().
| #define ASIC_REV_5752 0x06 |
Definition at line 305 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_invariants(), tg3_reset_hw(), and tg3_setup_rxbd_thresholds().
| #define ASIC_REV_5780 0x08 |
Definition at line 306 of file tg3.h.
Referenced by tg3_test_dma().
| #define ASIC_REV_5714 0x09 |
Definition at line 307 of file tg3.h.
Referenced by tg3_reset_hw(), tg3_setup_fiber_mii_phy(), and tg3_test_dma().
| #define ASIC_REV_5755 0x0a |
Definition at line 308 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_reset_hw(), tg3_rings_reset(), and tg3_setup_rxbd_thresholds().
| #define ASIC_REV_5787 0x0b |
Definition at line 309 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_setup_rxbd_thresholds().
| #define ASIC_REV_5906 0x0c |
Definition at line 310 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_device_address(), tg3_get_invariants(), tg3_init_bufmgr_config(), tg3_phy_reset(), tg3_poll_fw(), tg3_read_mem(), tg3_reset_hw(), and tg3_write_mem().
| #define ASIC_REV_USE_PROD_ID_REG 0x0f |
Definition at line 311 of file tg3.h.
Referenced by tg3_get_invariants().
| #define ASIC_REV_5784 0x5784 |
Definition at line 312 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_phy_reset(), and tg3_reset_hw().
| #define ASIC_REV_5761 0x5761 |
Definition at line 313 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define ASIC_REV_5785 0x5785 |
Definition at line 314 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_reset_hw(), and tg3_restore_pci_state().
| #define ASIC_REV_57780 0x57780 |
Definition at line 315 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_invariants(), and tg3_reset_hw().
| #define ASIC_REV_5717 0x5717 |
Definition at line 316 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define ASIC_REV_57765 0x57785 |
Definition at line 317 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_phy_probe(), tg3_reset_hw(), and tg3_rings_reset().
| #define ASIC_REV_57766 0x57766 |
Definition at line 318 of file tg3.h.
Referenced by tg3_get_invariants().
| #define ASIC_REV_5719 0x5719 |
Definition at line 319 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_reset_hw(), and tg3_setup_fiber_mii_phy().
| #define ASIC_REV_5720 0x5720 |
Definition at line 320 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_invariants(), tg3_reset_hw(), tg3_setup_fiber_mii_phy(), and tg3_setup_phy().
| #define GET_CHIP_REV | ( | CHIP_REV_ID | ) |
Definition at line 321 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_phy_reset(), and tg3_reset_hw().
| #define CHIPREV_5700_AX 0x70 |
Definition at line 322 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_5700_BX 0x71 |
Definition at line 323 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_5703_AX 0x10 |
Definition at line 326 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_5704_AX 0x20 |
Definition at line 327 of file tg3.h.
Referenced by tg3_get_invariants().
| #define CHIPREV_5704_BX 0x21 |
Definition at line 328 of file tg3.h.
Referenced by tg3_reset_hw().
| #define CHIPREV_5784_AX 0x57840 |
Definition at line 331 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), and tg3_phy_reset().
| #define CHIPREV_5761_AX 0x57610 |
Definition at line 332 of file tg3.h.
Referenced by tg3_phy_reset().
| #define CHIPREV_57765_AX 0x577650 |
Definition at line 333 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GET_METAL_REV | ( | CHIP_REV_ID | ) |
| #define TG3PCI_DMA_RW_CTRL 0x0000006c |
Definition at line 340 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_test_dma().
| #define DMA_RWCTRL_DIS_CACHE_ALIGNMENT 0x00000001 |
Definition at line 341 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_test_dma().
| #define DMA_RWCTRL_TAGGED_STAT_WA 0x00000080 |
Definition at line 342 of file tg3.h.
Referenced by tg3_reset_hw().
| #define DMA_RWCTRL_CRDRDR_RDMA_MRRS_MSK 0x00000380 |
Definition at line 343 of file tg3.h.
Referenced by tg3_reset_hw().
| #define DMA_RWCTRL_WRITE_BNDRY_MASK 0x00003800 |
Definition at line 356 of file tg3.h.
Referenced by tg3_test_dma().
| #define DMA_RWCTRL_WRITE_BNDRY_16 0x00000800 |
Definition at line 358 of file tg3.h.
Referenced by tg3_test_dma().
| #define DMA_RWCTRL_ONE_DMA 0x00004000 |
Definition at line 368 of file tg3.h.
Referenced by tg3_test_dma().
| #define DMA_RWCTRL_READ_WATER_SHIFT 16 |
Definition at line 370 of file tg3.h.
Referenced by tg3_test_dma().
| #define DMA_RWCTRL_WRITE_WATER_SHIFT 19 |
Definition at line 372 of file tg3.h.
Referenced by tg3_test_dma().
| #define DMA_RWCTRL_USE_MEM_READ_MULT 0x00400000 |
Definition at line 373 of file tg3.h.
Referenced by tg3_test_dma().
| #define DMA_RWCTRL_ASSERT_ALL_BE 0x00800000 |
Definition at line 374 of file tg3.h.
Referenced by tg3_test_dma().
| #define DMA_RWCTRL_PCI_READ_CMD_SHIFT 24 |
Definition at line 376 of file tg3.h.
Referenced by tg3_test_dma().
| #define DMA_RWCTRL_PCI_WRITE_CMD_SHIFT 28 |
Definition at line 378 of file tg3.h.
Referenced by tg3_test_dma().
| #define TG3PCI_PCISTATE 0x00000070 |
Definition at line 382 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_reset_hw(), and tg3_restore_pci_state().
| #define PCISTATE_CONV_PCI_MODE 0x00000004 |
Definition at line 385 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCISTATE_BUS_SPEED_HIGH 0x00000008 |
Definition at line 386 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define PCISTATE_BUS_32BIT 0x00000010 |
Definition at line 387 of file tg3.h.
Referenced by tg3_get_invariants().
| #define PCISTATE_ROM_ENABLE 0x00000020 |
Definition at line 388 of file tg3.h.
Referenced by tg3_restore_pci_state().
| #define PCISTATE_ROM_RETRY_ENABLE 0x00000040 |
Definition at line 389 of file tg3.h.
Referenced by tg3_restore_pci_state().
| #define PCISTATE_RETRY_SAME_DMA 0x00002000 |
Definition at line 391 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_reset_hw(), and tg3_restore_pci_state().
| #define TG3PCI_CLOCK_CTRL 0x00000074 |
Definition at line 395 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_reset_hw(), tg3_switch_clocks(), and tg3_test_dma().
| #define CLOCK_CTRL_ALTCLK 0x00001000 |
Definition at line 399 of file tg3.h.
Referenced by tg3_switch_clocks().
| #define CLOCK_CTRL_44MHZ_CORE 0x00040000 |
Definition at line 401 of file tg3.h.
Referenced by tg3_switch_clocks().
| #define CLOCK_CTRL_625_CORE 0x00100000 |
Definition at line 402 of file tg3.h.
Referenced by tg3_switch_clocks().
| #define CLOCK_CTRL_FORCE_CLKRUN 0x00200000 |
Definition at line 403 of file tg3.h.
Referenced by tg3_chip_reset(), and tg3_switch_clocks().
| #define CLOCK_CTRL_CLKRUN_OENABLE 0x00400000 |
Definition at line 404 of file tg3.h.
Referenced by tg3_chip_reset(), and tg3_switch_clocks().
| #define CLOCK_CTRL_DELAY_PCI_GRANT 0x80000000 |
Definition at line 405 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3PCI_REG_BASE_ADDR 0x00000078 |
Definition at line 406 of file tg3.h.
Referenced by tg3_read_indirect_mbox(), tg3_read_indirect_reg32(), tg3_write_indirect_mbox(), and tg3_write_indirect_reg32().
| #define TG3PCI_MEM_WIN_BASE_ADDR 0x0000007c |
Definition at line 407 of file tg3.h.
Referenced by tg3_do_test_dma(), tg3_get_invariants(), tg3_init_hw(), tg3_read_mem(), and tg3_write_mem().
| #define TG3PCI_REG_DATA 0x00000080 |
Definition at line 408 of file tg3.h.
Referenced by tg3_read_indirect_mbox(), tg3_read_indirect_reg32(), tg3_write_indirect_mbox(), and tg3_write_indirect_reg32().
| #define TG3PCI_MEM_WIN_DATA 0x00000084 |
Definition at line 409 of file tg3.h.
Referenced by tg3_do_test_dma(), tg3_read_mem(), and tg3_write_mem().
| #define TG3PCI_MISC_LOCAL_CTRL 0x00000090 |
Definition at line 410 of file tg3.h.
Referenced by tg3_write_indirect_mbox().
| #define TG3PCI_STD_RING_PROD_IDX 0x00000098 /* 64-bit */ |
Definition at line 412 of file tg3.h.
Referenced by tg3_write_indirect_mbox().
| #define TG3PCI_RCV_RET_RING_CON_IDX 0x000000a0 /* 64-bit */ |
Definition at line 413 of file tg3.h.
Referenced by tg3_write_indirect_mbox().
| #define TG3PCI_DUAL_MAC_CTRL 0x000000b8 |
Definition at line 415 of file tg3.h.
Referenced by tg3_get_device_address(), and tg3_setup_fiber_hw_autoneg().
| #define DUAL_MAC_CTRL_ID 0x00000004 |
Definition at line 417 of file tg3.h.
Referenced by tg3_get_device_address(), and tg3_setup_fiber_hw_autoneg().
| #define TG3PCI_PRODID_ASICREV 0x000000bc |
Definition at line 418 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_GEN2_PRODID_ASICREV 0x000000f4 |
Definition at line 422 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3PCI_GEN15_PRODID_ASICREV 0x000000fc |
Definition at line 423 of file tg3.h.
Referenced by tg3_get_invariants().
| #define TG3_CORR_ERR_STAT 0x00000110 |
Definition at line 426 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_CORR_ERR_STAT_CLEAR 0xffffffff |
Definition at line 427 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAILBOX_INTERRUPT_0 0x00000200 /* 64-bit */ |
Definition at line 431 of file tg3.h.
Referenced by tg3_init_one(), and tg3_write_indirect_mbox().
| #define TG3_RX_STD_PROD_IDX_REG |
Definition at line 445 of file tg3.h.
Referenced by tg3_refill_prod_ring(), tg3_reset_hw(), and tg3_write_indirect_mbox().
| #define TG3_RX_JMB_PROD_IDX_REG |
Definition at line 448 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAILBOX_RCVRET_CON_IDX_0 0x00000280 /* 64-bit */ |
Definition at line 451 of file tg3.h.
Referenced by tg3_init_one(), and tg3_write_indirect_mbox().
| #define MAILBOX_SNDHOST_PROD_IDX_0 0x00000300 /* 64-bit */ |
Definition at line 467 of file tg3.h.
Referenced by tg3_init_one().
| #define MAILBOX_SNDNIC_PROD_IDX_0 0x00000380 /* 64-bit */ |
Definition at line 483 of file tg3.h.
Referenced by tg3_rings_reset().
| #define MAC_MODE 0x00000400 |
Definition at line 501 of file tg3.h.
Referenced by fiber_autoneg(), tg3_abort_hw(), tg3_chip_reset(), tg3_fiber_aneg_smachine(), tg3_reset_hw(), tg3_setup_copper_phy(), tg3_setup_fiber_by_hand(), tg3_setup_fiber_mii_phy(), and tg3_setup_fiber_phy().
| #define MAC_MODE_HALF_DUPLEX 0x00000002 |
Definition at line 503 of file tg3.h.
Referenced by tg3_setup_copper_phy(), tg3_setup_fiber_mii_phy(), and tg3_setup_fiber_phy().
| #define MAC_MODE_PORT_MODE_MASK 0x0000000c |
Definition at line 504 of file tg3.h.
Referenced by fiber_autoneg(), tg3_setup_copper_phy(), tg3_setup_fiber_mii_phy(), and tg3_setup_fiber_phy().
| #define MAC_MODE_PORT_MODE_TBI 0x0000000c |
Definition at line 505 of file tg3.h.
Referenced by tg3_chip_reset(), and tg3_setup_fiber_phy().
| #define MAC_MODE_PORT_MODE_GMII 0x00000008 |
Definition at line 506 of file tg3.h.
Referenced by fiber_autoneg(), tg3_chip_reset(), tg3_setup_copper_phy(), and tg3_setup_fiber_mii_phy().
| #define MAC_MODE_PORT_MODE_MII 0x00000004 |
Definition at line 507 of file tg3.h.
Referenced by tg3_setup_copper_phy(), and tg3_setup_fiber_mii_phy().
| #define MAC_MODE_PORT_INT_LPBACK 0x00000010 |
Definition at line 509 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define MAC_MODE_LINK_POLARITY 0x00000400 |
Definition at line 513 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_copper_phy().
| #define MAC_MODE_RXSTAT_ENABLE 0x00000800 |
Definition at line 514 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_MODE_RXSTAT_CLEAR 0x00001000 |
Definition at line 515 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_MODE_TXSTAT_ENABLE 0x00004000 |
Definition at line 517 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_MODE_TXSTAT_CLEAR 0x00008000 |
Definition at line 518 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_MODE_SEND_CONFIGS 0x00020000 |
Definition at line 520 of file tg3.h.
Referenced by fiber_autoneg(), tg3_fiber_aneg_smachine(), tg3_setup_fiber_by_hand(), and tg3_setup_fiber_phy().
| #define MAC_MODE_TDE_ENABLE 0x00200000 |
Definition at line 524 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define MAC_MODE_RDE_ENABLE 0x00400000 |
Definition at line 525 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_MODE_FHDE_ENABLE 0x00800000 |
Definition at line 526 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_MODE_APE_RX_EN 0x08000000 |
Definition at line 528 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define MAC_MODE_APE_TX_EN 0x10000000 |
Definition at line 529 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define MAC_STATUS 0x00000404 |
Definition at line 530 of file tg3.h.
Referenced by tg3_clear_mac_status(), tg3_fiber_aneg_smachine(), tg3_init_bcm8002(), tg3_setup_copper_phy(), tg3_setup_fiber_by_hand(), tg3_setup_fiber_hw_autoneg(), and tg3_setup_fiber_phy().
| #define MAC_STATUS_PCS_SYNCED 0x00000001 |
Definition at line 531 of file tg3.h.
Referenced by tg3_init_bcm8002(), tg3_setup_fiber_by_hand(), tg3_setup_fiber_hw_autoneg(), and tg3_setup_fiber_phy().
| #define MAC_STATUS_SIGNAL_DET 0x00000002 |
Definition at line 532 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg(), and tg3_setup_fiber_phy().
| #define MAC_STATUS_RCVD_CFG 0x00000004 |
Definition at line 533 of file tg3.h.
Referenced by tg3_fiber_aneg_smachine(), tg3_setup_fiber_by_hand(), tg3_setup_fiber_hw_autoneg(), and tg3_setup_fiber_phy().
| #define MAC_STATUS_CFG_CHANGED 0x00000008 |
Definition at line 534 of file tg3.h.
Referenced by tg3_clear_mac_status(), tg3_setup_copper_phy(), tg3_setup_fiber_by_hand(), and tg3_setup_fiber_phy().
| #define MAC_STATUS_SYNC_CHANGED 0x00000010 |
Definition at line 535 of file tg3.h.
Referenced by tg3_clear_mac_status(), tg3_setup_copper_phy(), tg3_setup_fiber_by_hand(), and tg3_setup_fiber_phy().
| #define MAC_STATUS_LNKSTATE_CHANGED 0x00001000 |
Definition at line 537 of file tg3.h.
Referenced by tg3_clear_mac_status(), tg3_setup_copper_phy(), and tg3_setup_fiber_phy().
| #define MAC_STATUS_MI_COMPLETION 0x00400000 |
Definition at line 538 of file tg3.h.
Referenced by tg3_clear_mac_status(), and tg3_setup_copper_phy().
| #define MAC_EVENT 0x00000408 |
Definition at line 544 of file tg3.h.
Referenced by tg3_clear_mac_status(), tg3_setup_copper_phy(), tg3_setup_fiber_mii_phy(), and tg3_setup_fiber_phy().
| #define MAC_EVENT_LNKSTATE_CHANGED 0x00001000 |
Definition at line 546 of file tg3.h.
Referenced by tg3_setup_copper_phy(), tg3_setup_fiber_mii_phy(), and tg3_setup_fiber_phy().
| #define MAC_LED_CTRL 0x0000040c |
Definition at line 553 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_fiber_phy().
| #define LED_CTRL_LNKLED_OVERRIDE 0x00000001 |
Definition at line 554 of file tg3.h.
Referenced by tg3_setup_fiber_phy().
| #define LED_CTRL_1000MBPS_ON 0x00000002 |
Definition at line 555 of file tg3.h.
Referenced by tg3_setup_fiber_phy().
| #define LED_CTRL_TRAFFIC_OVERRIDE 0x00000010 |
Definition at line 558 of file tg3.h.
Referenced by tg3_setup_fiber_phy().
| #define LED_CTRL_MODE_MAC 0x00000000 |
Definition at line 565 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define LED_CTRL_MODE_PHY_1 0x00000800 |
Definition at line 566 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg(), and tg3_setup_copper_phy().
| #define LED_CTRL_MODE_PHY_2 0x00001000 |
Definition at line 567 of file tg3.h.
Referenced by tg3_5700_link_polarity(), and tg3_get_eeprom_hw_cfg().
| #define LED_CTRL_MODE_SHASTA_MAC 0x00002000 |
Definition at line 568 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define LED_CTRL_MODE_SHARED 0x00004000 |
Definition at line 569 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define LED_CTRL_MODE_COMBO 0x00008000 |
Definition at line 570 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define MAC_ADDR_0_HIGH 0x00000410 /* upper 2 bytes */ |
Definition at line 575 of file tg3.h.
Referenced by __tg3_set_mac_addr(), and tg3_get_device_address().
| #define MAC_ADDR_0_LOW 0x00000414 /* lower 4 bytes */ |
Definition at line 576 of file tg3.h.
Referenced by __tg3_set_mac_addr(), and tg3_get_device_address().
| #define MAC_TX_BACKOFF_SEED 0x00000438 |
Definition at line 589 of file tg3.h.
Referenced by __tg3_set_mac_addr().
| #define TX_BACKOFF_SEED_MASK 0x000003ff |
Definition at line 590 of file tg3.h.
Referenced by __tg3_set_mac_addr().
| #define MAC_RX_MTU_SIZE 0x0000043c |
Definition at line 591 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_TX_AUTO_NEG 0x00000444 |
Definition at line 597 of file tg3.h.
Referenced by fiber_autoneg(), tg3_fiber_aneg_smachine(), and tg3_setup_fiber_phy().
| #define MAC_RX_AUTO_NEG 0x00000448 |
Definition at line 600 of file tg3.h.
Referenced by tg3_fiber_aneg_smachine().
| #define MAC_MI_COM 0x0000044c |
Definition at line 603 of file tg3.h.
Referenced by tg3_readphy(), and tg3_writephy().
| #define MI_COM_CMD_WRITE 0x04000000 |
Definition at line 605 of file tg3.h.
Referenced by tg3_writephy().
| #define MI_COM_CMD_READ 0x08000000 |
Definition at line 606 of file tg3.h.
Referenced by tg3_readphy().
| #define MI_COM_START 0x20000000 |
Definition at line 608 of file tg3.h.
Referenced by tg3_readphy(), and tg3_writephy().
| #define MI_COM_BUSY 0x20000000 |
Definition at line 609 of file tg3.h.
Referenced by tg3_readphy(), and tg3_writephy().
| #define MI_COM_PHY_ADDR_MASK 0x03e00000 |
Definition at line 610 of file tg3.h.
Referenced by tg3_readphy(), and tg3_writephy().
| #define MI_COM_PHY_ADDR_SHIFT 21 |
Definition at line 611 of file tg3.h.
Referenced by tg3_readphy(), and tg3_writephy().
| #define MI_COM_REG_ADDR_MASK 0x001f0000 |
Definition at line 612 of file tg3.h.
Referenced by tg3_readphy(), and tg3_writephy().
| #define MI_COM_REG_ADDR_SHIFT 16 |
Definition at line 613 of file tg3.h.
Referenced by tg3_readphy(), and tg3_writephy().
| #define MI_COM_DATA_MASK 0x0000ffff |
Definition at line 614 of file tg3.h.
Referenced by tg3_readphy(), and tg3_writephy().
| #define MAC_MI_STAT 0x00000450 |
Definition at line 615 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_MI_STAT_LNKSTAT_ATTN_ENAB 0x00000001 |
Definition at line 616 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_MI_MODE 0x00000454 |
Definition at line 618 of file tg3.h.
Referenced by tg3_readphy(), tg3_setup_copper_phy(), and tg3_writephy().
| #define MAC_MI_MODE_AUTO_POLL 0x00000010 |
Definition at line 621 of file tg3.h.
Referenced by tg3_readphy(), tg3_setup_copper_phy(), and tg3_writephy().
| #define MAC_MI_MODE_500KHZ_CONST 0x00008000 |
Definition at line 622 of file tg3.h.
Referenced by tg3_get_invariants().
| #define MAC_MI_MODE_BASE 0x000c0000 /* XXX magic values XXX */ |
Definition at line 623 of file tg3.h.
Referenced by tg3_get_invariants().
| #define MAC_TX_MODE 0x0000045c |
Definition at line 626 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_reset_hw(), and tg3_setup_flow_control().
| #define TX_MODE_ENABLE 0x00000002 |
Definition at line 628 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define TX_MODE_FLOW_CTRL_ENABLE 0x00000010 |
Definition at line 629 of file tg3.h.
Referenced by tg3_setup_flow_control().
| #define TX_MODE_MBUF_LOCKUP_FIX 0x00000100 |
Definition at line 632 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TX_MODE_JMB_FRM_LEN 0x00400000 |
Definition at line 633 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TX_MODE_CNT_DN_MODE 0x00800000 |
Definition at line 634 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_TX_STATUS 0x00000460 |
Definition at line 635 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy().
| #define TX_STATUS_LINK_UP 0x00000008 |
Definition at line 639 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy().
| #define MAC_TX_LENGTHS 0x00000464 |
Definition at line 642 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_phy().
| #define TX_LENGTHS_SLOT_TIME_SHIFT 0 |
Definition at line 644 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_phy().
| #define TX_LENGTHS_IPG_SHIFT 8 |
Definition at line 646 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_phy().
| #define TX_LENGTHS_IPG_CRS_SHIFT 12 |
Definition at line 648 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_phy().
| #define TX_LENGTHS_JMB_FRM_LEN_MSK 0x00ff0000 |
Definition at line 649 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_phy().
| #define TX_LENGTHS_CNT_DWN_VAL_MSK 0xff000000 |
Definition at line 650 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_phy().
| #define MAC_RX_MODE 0x00000468 |
Definition at line 651 of file tg3.h.
Referenced by __tg3_set_rx_mode(), tg3_abort_hw(), tg3_reset_hw(), and tg3_setup_flow_control().
| #define RX_MODE_RESET 0x00000001 |
Definition at line 652 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RX_MODE_ENABLE 0x00000002 |
Definition at line 653 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RX_MODE_FLOW_CTRL_ENABLE 0x00000004 |
Definition at line 654 of file tg3.h.
Referenced by tg3_setup_flow_control().
| #define RX_MODE_PROMISC 0x00000100 |
Definition at line 660 of file tg3.h.
Referenced by __tg3_set_rx_mode().
| #define RX_MODE_KEEP_VLAN_TAG 0x00000400 |
Definition at line 662 of file tg3.h.
Referenced by __tg3_set_rx_mode().
| #define MAC_HASH_REG_0 0x00000470 |
Definition at line 674 of file tg3.h.
Referenced by __tg3_set_rx_mode().
| #define MAC_HASH_REG_1 0x00000474 |
Definition at line 675 of file tg3.h.
Referenced by __tg3_set_rx_mode().
| #define MAC_HASH_REG_2 0x00000478 |
Definition at line 676 of file tg3.h.
Referenced by __tg3_set_rx_mode().
| #define MAC_HASH_REG_3 0x0000047c |
Definition at line 677 of file tg3.h.
Referenced by __tg3_set_rx_mode().
| #define MAC_RCV_RULE_0 0x00000480 |
Definition at line 678 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_0 0x00000484 |
Definition at line 679 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_1 0x00000488 |
Definition at line 680 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_1 0x0000048c |
Definition at line 681 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_4 0x000004a0 |
Definition at line 686 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_4 0x000004a4 |
Definition at line 687 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_5 0x000004a8 |
Definition at line 688 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_5 0x000004ac |
Definition at line 689 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_6 0x000004b0 |
Definition at line 690 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_6 0x000004b4 |
Definition at line 691 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_7 0x000004b8 |
Definition at line 692 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_7 0x000004bc |
Definition at line 693 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_8 0x000004c0 |
Definition at line 694 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_8 0x000004c4 |
Definition at line 695 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_9 0x000004c8 |
Definition at line 696 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_9 0x000004cc |
Definition at line 697 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_10 0x000004d0 |
Definition at line 698 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_10 0x000004d4 |
Definition at line 699 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_11 0x000004d8 |
Definition at line 700 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_11 0x000004dc |
Definition at line 701 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_12 0x000004e0 |
Definition at line 702 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_12 0x000004e4 |
Definition at line 703 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_13 0x000004e8 |
Definition at line 704 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_13 0x000004ec |
Definition at line 705 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_14 0x000004f0 |
Definition at line 706 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_14 0x000004f4 |
Definition at line 707 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_15 0x000004f8 |
Definition at line 708 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_VALUE_15 0x000004fc |
Definition at line 709 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCV_RULE_DISABLE_MASK 0x7fffffff |
Definition at line 710 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_RCV_RULE_CFG 0x00000500 |
Definition at line 711 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCV_RULE_CFG_DEFAULT_CLASS 0x00000008 |
Definition at line 712 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_LOW_WMARK_MAX_RX_FRAME 0x00000504 |
Definition at line 713 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MAC_EXTADDR_0_HIGH 0x00000530 |
Definition at line 719 of file tg3.h.
Referenced by __tg3_set_mac_addr().
| #define MAC_EXTADDR_0_LOW 0x00000534 |
Definition at line 720 of file tg3.h.
Referenced by __tg3_set_mac_addr().
| #define MAC_SERDES_CFG 0x00000590 |
Definition at line 743 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_fiber_hw_autoneg().
| #define MAC_PHYCFG2_50610_LED_MODES |
Definition at line 808 of file tg3.h.
| #define MAC_PHYCFG2_AC131_LED_MODES |
Definition at line 819 of file tg3.h.
| #define MAC_PHYCFG2_RTL8211C_LED_MODES |
Definition at line 830 of file tg3.h.
| #define MAC_PHYCFG2_RTL8201E_LED_MODES |
Definition at line 841 of file tg3.h.
| #define SERDES_RX_CTRL 0x000005b0 /* 5780/5714 only */ |
Definition at line 861 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SERDES_RX_SIG_DETECT 0x00000400 |
Definition at line 862 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SG_DIG_CTRL 0x000005b0 |
Definition at line 863 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SG_DIG_USING_HW_AUTONEG 0x80000000 |
Definition at line 864 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SG_DIG_SOFT_RESET 0x40000000 |
Definition at line 865 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SG_DIG_PAUSE_CAP 0x00000800 |
Definition at line 879 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SG_DIG_ASYM_PAUSE 0x00001000 |
Definition at line 880 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SG_DIG_COMMON_SETUP |
Definition at line 892 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SG_DIG_STATUS 0x000005b4 |
Definition at line 897 of file tg3.h.
Referenced by tg3_mdio_init(), and tg3_setup_fiber_hw_autoneg().
| #define SG_DIG_PARTNER_FAULT_MASK 0x00600000 /* If !MRADV_CRC16_SELECT */ |
| #define SG_DIG_PARTNER_ASYM_PAUSE 0x00100000 /* If !MRADV_CRC16_SELECT */ |
Definition at line 900 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SG_DIG_PARTNER_PAUSE_CAPABLE 0x00080000 /* If !MRADV_CRC16_SELECT */ |
Definition at line 901 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SG_DIG_PARTNER_HALF_DUPLEX 0x00040000 /* If !MRADV_CRC16_SELECT */ |
| #define SG_DIG_PARTNER_FULL_DUPLEX 0x00020000 /* If !MRADV_CRC16_SELECT */ |
| #define SG_DIG_PARTNER_NEXT_PAGE 0x00010000 /* If !MRADV_CRC16_SELECT */ |
| #define SG_DIG_IS_SERDES 0x00000100 |
Definition at line 906 of file tg3.h.
Referenced by tg3_mdio_init().
| #define SG_DIG_AUTONEG_COMPLETE 0x00000002 |
Definition at line 909 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SNDDATAI_MODE 0x00000c00 |
Definition at line 980 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDDATAI_MODE_ENABLE 0x00000002 |
Definition at line 982 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDDATAI_STATSCTRL 0x00000c08 |
Definition at line 986 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SNDDATAI_SCTRL_ENABLE 0x00000001 |
Definition at line 987 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SNDDATAI_SCTRL_FASTUPD 0x00000002 |
Definition at line 988 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SNDDATAI_STATSENAB 0x00000c0c |
Definition at line 992 of file tg3.h.
Referenced by tg3_reset_hw().
| #define ISO_PKT_TX 0x00000c20 |
Definition at line 994 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SNDDATAC_MODE 0x00001000 |
Definition at line 1023 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDDATAC_MODE_ENABLE 0x00000002 |
Definition at line 1025 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDDATAC_MODE_CDELAY 0x00000010 |
Definition at line 1026 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SNDBDS_MODE 0x00001400 |
Definition at line 1030 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDBDS_MODE_ENABLE 0x00000002 |
Definition at line 1032 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDBDS_MODE_ATTN_ENABLE 0x00000004 |
Definition at line 1033 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SNDBDI_MODE 0x00001800 |
Definition at line 1057 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDBDI_MODE_ENABLE 0x00000002 |
Definition at line 1059 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDBDI_MODE_ATTN_ENABLE 0x00000004 |
Definition at line 1060 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SNDBDI_MODE_MULTI_TXQ_EN 0x00000020 |
Definition at line 1061 of file tg3.h.
Referenced by tg3_reset_hw().
| #define SNDBDC_MODE 0x00001c00 |
Definition at line 1083 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDBDC_MODE_ENABLE 0x00000002 |
Definition at line 1085 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define SNDBDC_MODE_ATTN_ENABLE 0x00000004 |
Definition at line 1086 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVLPC_MODE 0x00002000 |
Definition at line 1090 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVLPC_MODE_ENABLE 0x00000002 |
Definition at line 1092 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVLPC_CONFIG 0x00002010 |
Definition at line 1107 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVLPC_STATSCTRL 0x00002014 |
Definition at line 1108 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVLPC_STATSCTRL_ENABLE 0x00000001 |
Definition at line 1109 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVLPC_STATS_ENABLE 0x00002018 |
Definition at line 1111 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVLPC_STATSENAB_DACK_FIX 0x00040000 |
Definition at line 1113 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVLPC_STATSENAB_LNGBRST_RFIX 0x00400000 |
Definition at line 1114 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVLPC_SELLST_BASE 0x00002100 /* 16 16-byte entries */ |
| #define RCVLPC_COS_CNTL_BASE 0x00002200 /* 16 4-byte entries */ |
| #define RCVDBDI_MODE 0x00002400 |
Definition at line 1132 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVDBDI_MODE_ENABLE 0x00000002 |
Definition at line 1134 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVDBDI_MODE_INV_RING_SZ 0x00000010 |
Definition at line 1137 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVDBDI_MODE_LRG_RING_SZ 0x00010000 |
Definition at line 1138 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVDBDI_STD_BD 0x00002450 /* TG3_BDINFO_... */ |
Definition at line 1146 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVDBDI_MINI_BD 0x00002460 /* TG3_BDINFO_... */ |
Definition at line 1147 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVDCC_MODE 0x00002800 |
Definition at line 1172 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVDCC_MODE_ENABLE 0x00000002 |
Definition at line 1174 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVDCC_MODE_ATTN_ENABLE 0x00000004 |
Definition at line 1175 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVBDI_MODE 0x00002c00 |
Definition at line 1179 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVBDI_MODE_ENABLE 0x00000002 |
Definition at line 1181 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVBDI_MODE_RCB_ATTN_ENAB 0x00000004 |
Definition at line 1182 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVBDI_STD_THRESH 0x00002c18 |
Definition at line 1189 of file tg3.h.
Referenced by tg3_setup_rxbd_thresholds().
| #define STD_REPLENISH_LWM 0x00002d00 |
Definition at line 1193 of file tg3.h.
Referenced by tg3_setup_rxbd_thresholds().
| #define RCVCC_MODE 0x00003000 |
Definition at line 1198 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVCC_MODE_ENABLE 0x00000002 |
Definition at line 1200 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVCC_MODE_ATTN_ENABLE 0x00000004 |
Definition at line 1201 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RCVLSC_MODE 0x00003400 |
Definition at line 1210 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_reset_hw(), and tg3_stop_block().
| #define RCVLSC_MODE_ENABLE 0x00000002 |
Definition at line 1212 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define RCVLSC_MODE_ATTN_ENABLE 0x00000004 |
Definition at line 1213 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_CPMU_CTRL 0x00003600 |
Definition at line 1219 of file tg3.h.
Referenced by tg3_phy_reset().
| #define CPMU_CTRL_GPHY_10MB_RXONLY 0x00010000 |
Definition at line 1223 of file tg3.h.
Referenced by tg3_phy_reset().
| #define TG3_CPMU_LSPD_10MB_CLK 0x00003604 |
Definition at line 1224 of file tg3.h.
Referenced by tg3_reset_hw().
| #define CPMU_LSPD_10MB_MACCLK_MASK 0x001f0000 |
Definition at line 1225 of file tg3.h.
Referenced by tg3_reset_hw().
| #define CPMU_LSPD_10MB_MACCLK_6_25 0x00130000 |
Definition at line 1226 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_CPMU_LSPD_1000MB_CLK 0x0000360c |
Definition at line 1229 of file tg3.h.
Referenced by tg3_phy_reset().
| #define CPMU_LSPD_1000MB_MACCLK_12_5 0x00110000 |
Definition at line 1231 of file tg3.h.
Referenced by tg3_phy_reset().
| #define CPMU_LSPD_1000MB_MACCLK_MASK 0x001f0000 |
Definition at line 1232 of file tg3.h.
Referenced by tg3_phy_reset().
| #define TG3_CPMU_D0_CLCK_POLICY 0x00003614 |
Definition at line 1237 of file tg3.h.
Referenced by tg3_chip_reset().
| #define TG3_CPMU_CLCK_ORIDE 0x00003624 |
Definition at line 1245 of file tg3.h.
Referenced by tg3_chip_reset().
| #define CPMU_CLCK_ORIDE_MAC_ORIDE_EN 0x80000000 |
Definition at line 1246 of file tg3.h.
Referenced by tg3_chip_reset().
| #define TG3_CPMU_CLCK_ORIDE_EN 0x00003628 |
Definition at line 1248 of file tg3.h.
Referenced by tg3_chip_reset().
| #define CPMU_CLCK_ORIDE_MAC_CLCK_ORIDE_EN 0x00002000 |
Definition at line 1249 of file tg3.h.
Referenced by tg3_chip_reset().
| #define TG3_CPMU_PHY_STRAP 0x00003664 |
Definition at line 1262 of file tg3.h.
Referenced by tg3_mdio_init().
| #define TG3_CPMU_PHY_STRAP_IS_SERDES 0x00000020 |
Definition at line 1263 of file tg3.h.
Referenced by tg3_mdio_init().
| #define MBFREE_MODE 0x00003800 |
Definition at line 1292 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_reset_hw(), and tg3_stop_block().
| #define MBFREE_MODE_ENABLE 0x00000002 |
Definition at line 1294 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define HOSTCC_MODE 0x00003c00 |
Definition at line 1299 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_enable_ints(), tg3_init_one(), and tg3_reset_hw().
| #define HOSTCC_MODE_ENABLE 0x00000002 |
Definition at line 1301 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_enable_ints(), tg3_init_one(), and tg3_reset_hw().
| #define HOSTCC_MODE_ATTN 0x00000004 |
Definition at line 1302 of file tg3.h.
Referenced by tg3_get_invariants().
| #define HOSTCC_MODE_NOW 0x00000008 |
Definition at line 1303 of file tg3.h.
Referenced by tg3_init_one().
| #define HOSTCC_MODE_32BYTE 0x00000100 |
Definition at line 1306 of file tg3.h.
Referenced by tg3_get_invariants().
| #define HOSTCC_MODE_CLRTICK_RXBD 0x00000200 |
Definition at line 1307 of file tg3.h.
Referenced by tg3_get_invariants().
| #define HOSTCC_MODE_CLRTICK_TXBD 0x00000400 |
Definition at line 1308 of file tg3.h.
Referenced by tg3_get_invariants().
| #define HOSTCC_RXCOL_TICKS 0x00003c08 |
Definition at line 1314 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define HOSTCC_TXCOL_TICKS 0x00003c0c |
Definition at line 1320 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define LOW_TXCOL_TICKS 0x00000096 |
Definition at line 1321 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define HOSTCC_RXMAX_FRAMES 0x00003c10 |
Definition at line 1326 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define LOW_RXMAX_FRAMES 0x00000005 |
Definition at line 1327 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define HOSTCC_TXMAX_FRAMES 0x00003c14 |
Definition at line 1331 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define HOSTCC_RXCOAL_TICK_INT 0x00003c18 |
Definition at line 1336 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define DEFAULT_RXCOAL_TICK_INT 0x00000019 |
Definition at line 1337 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define HOSTCC_TXCOAL_TICK_INT 0x00003c1c |
Definition at line 1340 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define DEFAULT_TXCOAL_TICK_INT 0x00000019 |
Definition at line 1341 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define HOSTCC_RXCOAL_MAXF_INT 0x00003c20 |
Definition at line 1344 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define HOSTCC_TXCOAL_MAXF_INT 0x00003c24 |
Definition at line 1347 of file tg3.h.
Referenced by __tg3_set_coalesce().
| #define HOSTCC_STAT_COAL_TICKS 0x00003c28 |
Definition at line 1350 of file tg3.h.
Referenced by __tg3_set_coalesce(), and tg3_setup_phy().
| #define DEFAULT_STAT_COAL_TICKS 0x000f4240 |
Definition at line 1351 of file tg3.h.
Referenced by __tg3_set_coalesce(), and tg3_setup_phy().
| #define HOSTCC_STATUS_BLK_HOST_ADDR 0x00003c38 /* 64-bit */ |
Definition at line 1356 of file tg3.h.
Referenced by tg3_rings_reset().
| #define HOSTCC_STATUS_BLK_NIC_ADDR 0x00003c44 |
Definition at line 1358 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MEMARB_MODE 0x00004000 |
Definition at line 1410 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_chip_reset(), tg3_get_eeprom_hw_cfg(), tg3_init_one(), and tg3_stop_block().
| #define MEMARB_MODE_ENABLE 0x00000002 |
Definition at line 1412 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_chip_reset(), tg3_get_eeprom_hw_cfg(), and tg3_init_one().
| #define BUFMGR_MODE 0x00004400 |
Definition at line 1419 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_do_test_dma(), tg3_reset_hw(), and tg3_stop_block().
| #define BUFMGR_MODE_ENABLE 0x00000002 |
Definition at line 1421 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define BUFMGR_MODE_ATTN_ENABLE 0x00000004 |
Definition at line 1422 of file tg3.h.
Referenced by tg3_reset_hw().
| #define BUFMGR_MODE_MBLOW_ATTN_ENAB 0x00000010 |
Definition at line 1424 of file tg3.h.
Referenced by tg3_reset_hw().
| #define BUFMGR_MODE_NO_TX_UNDERRUN 0x80000000 |
Definition at line 1425 of file tg3.h.
Referenced by tg3_reset_hw().
| #define BUFMGR_MB_POOL_ADDR 0x00004408 |
Definition at line 1429 of file tg3.h.
Referenced by tg3_reset_hw().
| #define BUFMGR_MB_POOL_SIZE 0x0000440c |
Definition at line 1430 of file tg3.h.
Referenced by tg3_reset_hw().
| #define BUFMGR_MB_RDMA_LOW_WATER 0x00004410 |
Definition at line 1431 of file tg3.h.
Referenced by tg3_reset_hw().
| #define DEFAULT_MB_RDMA_LOW_WATER 0x00000050 |
Definition at line 1432 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_RDMA_LOW_WATER_5705 0x00000000 |
Definition at line 1433 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_RDMA_LOW_WATER_JUMBO 0x00000130 |
Definition at line 1434 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_RDMA_LOW_WATER_JUMBO_5780 0x00000000 |
Definition at line 1435 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define BUFMGR_MB_MACRX_LOW_WATER 0x00004414 |
Definition at line 1436 of file tg3.h.
Referenced by tg3_reset_hw().
| #define DEFAULT_MB_MACRX_LOW_WATER 0x00000020 |
Definition at line 1437 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_MACRX_LOW_WATER_5705 0x00000010 |
Definition at line 1438 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_MACRX_LOW_WATER_5906 0x00000004 |
Definition at line 1439 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_MACRX_LOW_WATER_57765 0x0000002a |
Definition at line 1440 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_MACRX_LOW_WATER_JUMBO 0x00000098 |
Definition at line 1441 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_MACRX_LOW_WATER_JUMBO_5780 0x0000004b |
Definition at line 1442 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_MACRX_LOW_WATER_JUMBO_57765 0x0000007e |
Definition at line 1443 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define BUFMGR_MB_HIGH_WATER 0x00004418 |
Definition at line 1444 of file tg3.h.
Referenced by tg3_reset_hw().
| #define DEFAULT_MB_HIGH_WATER 0x00000060 |
Definition at line 1445 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_HIGH_WATER_5705 0x00000060 |
Definition at line 1446 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_HIGH_WATER_5906 0x00000010 |
Definition at line 1447 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_HIGH_WATER_57765 0x000000a0 |
Definition at line 1448 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_HIGH_WATER_JUMBO 0x0000017c |
Definition at line 1449 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_HIGH_WATER_JUMBO_5780 0x00000096 |
Definition at line 1450 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define DEFAULT_MB_HIGH_WATER_JUMBO_57765 0x000000ea |
Definition at line 1451 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define BUFMGR_DMA_DESC_POOL_ADDR 0x0000442c |
Definition at line 1457 of file tg3.h.
Referenced by tg3_reset_hw().
| #define BUFMGR_DMA_DESC_POOL_SIZE 0x00004430 |
Definition at line 1458 of file tg3.h.
Referenced by tg3_reset_hw().
| #define BUFMGR_DMA_LOW_WATER 0x00004434 |
Definition at line 1459 of file tg3.h.
Referenced by tg3_reset_hw().
| #define DEFAULT_DMA_LOW_WATER 0x00000005 |
Definition at line 1460 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define BUFMGR_DMA_HIGH_WATER 0x00004438 |
Definition at line 1461 of file tg3.h.
Referenced by tg3_reset_hw().
| #define DEFAULT_DMA_HIGH_WATER 0x0000000a |
Definition at line 1462 of file tg3.h.
Referenced by tg3_init_bufmgr_config().
| #define RDMAC_MODE 0x00004800 |
Definition at line 1473 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_do_test_dma(), and tg3_reset_hw().
| #define RDMAC_MODE_ENABLE 0x00000002 |
Definition at line 1475 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_do_test_dma(), and tg3_reset_hw().
| #define RDMAC_MODE_TGTABORT_ENAB 0x00000004 |
Definition at line 1476 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_MSTABORT_ENAB 0x00000008 |
Definition at line 1477 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_PARITYERR_ENAB 0x00000010 |
Definition at line 1478 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_ADDROFLOW_ENAB 0x00000020 |
Definition at line 1479 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_FIFOOFLOW_ENAB 0x00000040 |
Definition at line 1480 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_FIFOURUN_ENAB 0x00000080 |
Definition at line 1481 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_FIFOOREAD_ENAB 0x00000100 |
Definition at line 1482 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_LNGREAD_ENAB 0x00000200 |
Definition at line 1483 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_BD_SBD_CRPT_ENAB 0x00000800 |
Definition at line 1485 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_MBUF_RBD_CRPT_ENAB 0x00001000 |
Definition at line 1487 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_MBUF_SBD_CRPT_ENAB 0x00002000 |
Definition at line 1488 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_FIFO_SIZE_128 0x00020000 |
Definition at line 1489 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_FIFO_LONG_BURST 0x00030000 |
Definition at line 1490 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_MULT_DMA_RD_DIS 0x01000000 |
Definition at line 1491 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_MODE_H2BNC_VLAN_DET 0x20000000 |
Definition at line 1494 of file tg3.h.
Referenced by tg3_reset_hw().
| #define RDMAC_STATUS 0x00004804 |
Definition at line 1495 of file tg3.h.
Referenced by tg3_do_test_dma().
| #define TG3_RDMA_RSRVCTRL_REG 0x00004900 |
Definition at line 1506 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_RDMA_RSRVCTRL_FIFO_OFLW_FIX 0x00000004 |
Definition at line 1507 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_RDMA_RSRVCTRL_FIFO_LWM_1_5K 0x00000c00 |
Definition at line 1508 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_RDMA_RSRVCTRL_FIFO_LWM_MASK 0x00000ff0 |
Definition at line 1509 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_RDMA_RSRVCTRL_FIFO_HWM_1_5K 0x000c0000 |
Definition at line 1510 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_RDMA_RSRVCTRL_FIFO_HWM_MASK 0x000ff000 |
Definition at line 1511 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_RDMA_RSRVCTRL_TXMRGN_320B 0x28000000 |
Definition at line 1512 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_RDMA_RSRVCTRL_TXMRGN_MASK 0xffe00000 |
Definition at line 1513 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_LSO_RD_DMA_CRPTEN_CTRL 0x00004910 |
Definition at line 1516 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_LSO_RD_DMA_CRPTEN_CTRL_BLEN_BD_4K 0x00030000 |
Definition at line 1517 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_LSO_RD_DMA_CRPTEN_CTRL_BLEN_LSO_4K 0x000c0000 |
Definition at line 1518 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE 0x00004c00 |
Definition at line 1522 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_do_test_dma(), tg3_init_one(), and tg3_reset_hw().
| #define WDMAC_MODE_ENABLE 0x00000002 |
Definition at line 1524 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_do_test_dma(), tg3_init_one(), and tg3_reset_hw().
| #define WDMAC_MODE_TGTABORT_ENAB 0x00000004 |
Definition at line 1525 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE_MSTABORT_ENAB 0x00000008 |
Definition at line 1526 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE_PARITYERR_ENAB 0x00000010 |
Definition at line 1527 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE_ADDROFLOW_ENAB 0x00000020 |
Definition at line 1528 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE_FIFOOFLOW_ENAB 0x00000040 |
Definition at line 1529 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE_FIFOURUN_ENAB 0x00000080 |
Definition at line 1530 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE_FIFOOREAD_ENAB 0x00000100 |
Definition at line 1531 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE_LNGREAD_ENAB 0x00000200 |
Definition at line 1532 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE_STATUS_TAG_FIX 0x20000000 |
Definition at line 1534 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_MODE_BURST_ALL_DATA 0xc0000000 |
Definition at line 1535 of file tg3.h.
Referenced by tg3_reset_hw().
| #define WDMAC_STATUS 0x00004c04 |
Definition at line 1536 of file tg3.h.
Referenced by tg3_do_test_dma().
| #define VCPU_STATUS 0x00005100 |
Definition at line 1610 of file tg3.h.
Referenced by tg3_chip_reset(), and tg3_poll_fw().
| #define VCPU_STATUS_INIT_DONE 0x04000000 |
Definition at line 1611 of file tg3.h.
Referenced by tg3_poll_fw().
| #define VCPU_STATUS_DRV_RESET 0x08000000 |
Definition at line 1612 of file tg3.h.
Referenced by tg3_chip_reset().
| #define GRCMBOX_BASE 0x00005600 |
Definition at line 1620 of file tg3.h.
Referenced by tg3_read32_mbox_5906(), and tg3_write32_mbox_5906().
| #define FTQ_RESET 0x00005c00 |
Definition at line 1692 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_do_test_dma().
| #define FTQ_DMA_HIGH_READ_FIFO_ENQDEQ 0x00005c28 |
Definition at line 1700 of file tg3.h.
Referenced by tg3_do_test_dma().
| #define FTQ_DMA_HIGH_WRITE_FIFO_ENQDEQ 0x00005c78 |
Definition at line 1720 of file tg3.h.
Referenced by tg3_do_test_dma().
| #define FTQ_RCVBD_COMP_FIFO_ENQDEQ 0x00005cd8 |
Definition at line 1744 of file tg3.h.
Referenced by tg3_do_test_dma().
| #define FTQ_RCVDATA_COMP_FIFO_ENQDEQ 0x00005d08 |
Definition at line 1756 of file tg3.h.
Referenced by tg3_do_test_dma().
| #define DMAC_MODE 0x00006400 |
Definition at line 1776 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_reset_hw(), and tg3_stop_block().
| #define DMAC_MODE_ENABLE 0x00000002 |
Definition at line 1778 of file tg3.h.
Referenced by tg3_abort_hw(), and tg3_reset_hw().
| #define GRC_MODE 0x00006800 |
Definition at line 1782 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_invariants(), and tg3_reset_hw().
| #define GRC_MODE_BSWAP_NONFRM_DATA 0x00000002 |
Definition at line 1784 of file tg3.h.
Referenced by tg3_init_one().
| #define GRC_MODE_WSWAP_NONFRM_DATA 0x00000004 |
Definition at line 1785 of file tg3.h.
Referenced by tg3_init_one().
| #define GRC_MODE_BSWAP_DATA 0x00000010 |
Definition at line 1786 of file tg3.h.
Referenced by tg3_init_one().
| #define GRC_MODE_WSWAP_DATA 0x00000020 |
Definition at line 1787 of file tg3.h.
Referenced by tg3_init_one().
| #define GRC_MODE_BYTE_SWAP_B2HRX_DATA 0x00000040 |
Definition at line 1788 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_MODE_WORD_SWAP_B2HRX_DATA 0x00000080 |
Definition at line 1789 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_MODE_B2HRX_ENABLE 0x00008000 |
Definition at line 1797 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_MODE_HOST_STACKUP 0x00010000 |
Definition at line 1798 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define GRC_MODE_HOST_SENDBDS 0x00020000 |
Definition at line 1799 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_MODE_HTX2B_ENABLE 0x00040000 |
Definition at line 1800 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_MODE_NO_TX_PHDR_CSUM 0x00100000 |
Definition at line 1801 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_MODE_PCIE_PL_SEL 0x00400000 |
Definition at line 1804 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_MODE_NO_RX_PHDR_CSUM 0x00800000 |
Definition at line 1805 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_MODE_IRQ_ON_MAC_ATTN 0x04000000 |
Definition at line 1808 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_MODE_IRQ_ON_FLOW_ATTN 0x10000000 |
Definition at line 1810 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_MODE_4X_NIC_SEND_RINGS 0x20000000 |
Definition at line 1811 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_MODE_PCIE_DL_SEL 0x20000000 |
Definition at line 1812 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_MODE_PCIE_PORT_MASK |
Definition at line 1815 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_MISC_CFG 0x00006804 |
Definition at line 1819 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_invariants(), tg3_phy_reset(), and tg3_reset_hw().
| #define GRC_MISC_CFG_CORECLK_RESET 0x00000001 |
Definition at line 1820 of file tg3.h.
Referenced by tg3_chip_reset().
| #define GRC_MISC_CFG_PRESCALAR_SHIFT 1 |
Definition at line 1822 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_MISC_CFG_BOARD_ID_MASK 0x0001e000 |
Definition at line 1823 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_MISC_CFG_BOARD_ID_5788 0x00010000 |
Definition at line 1832 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_MISC_CFG_BOARD_ID_5788M 0x00018000 |
Definition at line 1833 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_MISC_CFG_EPHY_IDDQ 0x00200000 |
Definition at line 1835 of file tg3.h.
Referenced by tg3_phy_reset().
| #define GRC_MISC_CFG_KEEP_GPHY_POWER 0x04000000 |
Definition at line 1836 of file tg3.h.
Referenced by tg3_chip_reset().
| #define GRC_LOCAL_CTRL 0x00006808 |
Definition at line 1837 of file tg3.h.
Referenced by tg3_enable_ints(), tg3_reset_hw(), and tg3_set_power_state_0().
| #define GRC_LCLCTRL_CLEARINT 0x00000002 |
Definition at line 1839 of file tg3.h.
Referenced by tg3_write_indirect_mbox().
| #define GRC_LCLCTRL_SETINT 0x00000004 |
Definition at line 1840 of file tg3.h.
Referenced by tg3_enable_ints().
| #define GRC_LCLCTRL_INT_ON_ATTN 0x00000008 |
Definition at line 1841 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_LCLCTRL_GPIO_UART_SEL 0x00000010 /* 5755 only */ |
Definition at line 1842 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define GRC_LCLCTRL_USE_SIG_DETECT 0x00000010 /* 5714/5780 only */ |
Definition at line 1843 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_LCLCTRL_USE_EXT_SIG_DETECT 0x00000020 /* 5714/5780 only */ |
Definition at line 1844 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_LCLCTRL_GPIO_OE3 0x00000040 |
Definition at line 1846 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define GRC_LCLCTRL_GPIO_OUTPUT3 0x00000080 |
Definition at line 1847 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_LCLCTRL_GPIO_OE0 0x00000800 |
Definition at line 1851 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define GRC_LCLCTRL_GPIO_OE1 0x00001000 |
Definition at line 1852 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define GRC_LCLCTRL_GPIO_OE2 0x00002000 |
Definition at line 1853 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_LCLCTRL_GPIO_OUTPUT0 0x00004000 |
Definition at line 1854 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define GRC_LCLCTRL_GPIO_OUTPUT1 0x00008000 |
Definition at line 1855 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_reset_hw().
| #define GRC_LCLCTRL_GPIO_OUTPUT2 0x00010000 |
Definition at line 1856 of file tg3.h.
Referenced by tg3_reset_hw().
| #define GRC_LCLCTRL_AUTO_SEEPROM 0x01000000 |
Definition at line 1868 of file tg3.h.
Referenced by tg3_get_invariants().
| #define GRC_RX_CPU_EVENT 0x00006810 |
Definition at line 1870 of file tg3.h.
Referenced by tg3_generate_fw_event(), and tg3_wait_for_event_ack().
| #define GRC_RX_CPU_DRIVER_EVENT 0x00004000 |
Definition at line 1871 of file tg3.h.
Referenced by tg3_generate_fw_event(), and tg3_wait_for_event_ack().
| #define GRC_EEPROM_ADDR 0x00006838 |
Definition at line 1880 of file tg3.h.
Referenced by tg3_nvram_read_using_eeprom().
| #define EEPROM_ADDR_READ 0x80000000 |
Definition at line 1882 of file tg3.h.
Referenced by tg3_nvram_read_using_eeprom().
| #define EEPROM_ADDR_COMPLETE 0x40000000 |
Definition at line 1883 of file tg3.h.
Referenced by tg3_nvram_read_using_eeprom().
| #define EEPROM_ADDR_DEVID_MASK 0x1c000000 |
Definition at line 1885 of file tg3.h.
Referenced by tg3_nvram_read_using_eeprom().
| #define EEPROM_ADDR_DEVID_SHIFT 26 |
Definition at line 1886 of file tg3.h.
Referenced by tg3_nvram_read_using_eeprom().
| #define EEPROM_ADDR_START 0x02000000 |
Definition at line 1887 of file tg3.h.
Referenced by tg3_nvram_read_using_eeprom().
| #define EEPROM_ADDR_ADDR_MASK 0x0000ffff |
Definition at line 1889 of file tg3.h.
Referenced by tg3_nvram_read_using_eeprom().
| #define EEPROM_ADDR_ADDR_SHIFT 0 |
Definition at line 1890 of file tg3.h.
Referenced by tg3_nvram_read_using_eeprom().
| #define GRC_EEPROM_DATA 0x0000683c |
Definition at line 1893 of file tg3.h.
Referenced by tg3_nvram_read_using_eeprom().
| #define GRC_VCPU_EXT_CTRL 0x00006890 |
Definition at line 1898 of file tg3.h.
Referenced by tg3_chip_reset().
| #define GRC_VCPU_EXT_CTRL_HALT_CPU 0x00400000 |
Definition at line 1899 of file tg3.h.
Referenced by tg3_chip_reset().
| #define GRC_FASTBOOT_PC 0x00006894 /* 5752, 5755, 5787 */ |
Definition at line 1901 of file tg3.h.
Referenced by tg3_chip_reset().
| #define NVRAM_CMD 0x00007000 |
Definition at line 1906 of file tg3.h.
Referenced by tg3_get_device_address(), and tg3_nvram_exec_cmd().
| #define NVRAM_CMD_RESET 0x00000001 |
Definition at line 1907 of file tg3.h.
Referenced by tg3_get_device_address().
| #define NVRAM_CMD_DONE 0x00000008 |
Definition at line 1908 of file tg3.h.
Referenced by tg3_nvram_exec_cmd(), and tg3_nvram_read().
| #define NVRAM_CMD_GO 0x00000010 |
Definition at line 1909 of file tg3.h.
Referenced by tg3_nvram_read().
| #define NVRAM_CMD_RD 0x00000000 |
Definition at line 1911 of file tg3.h.
Referenced by tg3_nvram_read().
| #define NVRAM_CMD_FIRST 0x00000080 |
Definition at line 1913 of file tg3.h.
Referenced by tg3_nvram_read().
| #define NVRAM_CMD_LAST 0x00000100 |
Definition at line 1914 of file tg3.h.
Referenced by tg3_nvram_read().
| #define NVRAM_ADDR 0x0000700c |
Definition at line 1919 of file tg3.h.
Referenced by tg3_nvram_read().
| #define NVRAM_ADDR_MSK 0x00ffffff |
Definition at line 1920 of file tg3.h.
Referenced by tg3_nvram_read().
| #define NVRAM_RDDATA 0x00007010 |
Definition at line 1921 of file tg3.h.
Referenced by tg3_nvram_read().
| #define NVRAM_SWARB 0x00007020 |
Definition at line 2039 of file tg3.h.
Referenced by tg3_nvram_lock(), and tg3_nvram_unlock().
| #define SWARB_REQ_SET1 0x00000002 |
Definition at line 2041 of file tg3.h.
Referenced by tg3_nvram_lock().
| #define SWARB_REQ_CLR1 0x00000020 |
Definition at line 2045 of file tg3.h.
Referenced by tg3_nvram_lock(), and tg3_nvram_unlock().
| #define SWARB_GNT1 0x00000200 |
Definition at line 2049 of file tg3.h.
Referenced by tg3_nvram_lock().
| #define NVRAM_ACCESS 0x00007024 |
Definition at line 2056 of file tg3.h.
Referenced by tg3_disable_nvram_access(), and tg3_enable_nvram_access().
| #define ACCESS_ENABLE 0x00000001 |
Definition at line 2057 of file tg3.h.
Referenced by tg3_disable_nvram_access(), and tg3_enable_nvram_access().
| #define OTP_MODE 0x00007500 |
Definition at line 2065 of file tg3.h.
Referenced by tg3_read_otp_phycfg().
| #define OTP_MODE_OTP_THRU_GRC 0x00000001 |
Definition at line 2066 of file tg3.h.
Referenced by tg3_read_otp_phycfg().
| #define OTP_CTRL 0x00007504 |
Definition at line 2067 of file tg3.h.
Referenced by tg3_issue_otp_command().
| #define OTP_CTRL_OTP_CMD_READ 0x00000000 |
Definition at line 2069 of file tg3.h.
Referenced by tg3_read_otp_phycfg().
| #define OTP_CTRL_OTP_CMD_INIT 0x00000008 |
Definition at line 2070 of file tg3.h.
Referenced by tg3_read_otp_phycfg().
| #define OTP_CTRL_OTP_CMD_START 0x00000001 |
Definition at line 2071 of file tg3.h.
Referenced by tg3_issue_otp_command().
| #define OTP_STATUS 0x00007508 |
Definition at line 2072 of file tg3.h.
Referenced by tg3_issue_otp_command().
| #define OTP_STATUS_CMD_DONE 0x00000001 |
Definition at line 2073 of file tg3.h.
Referenced by tg3_issue_otp_command().
| #define OTP_ADDRESS 0x0000750c |
Definition at line 2074 of file tg3.h.
Referenced by tg3_read_otp_phycfg().
| #define OTP_ADDRESS_MAGIC1 0x000000a0 |
Definition at line 2075 of file tg3.h.
Referenced by tg3_read_otp_phycfg().
| #define OTP_ADDRESS_MAGIC2 0x00000080 |
Definition at line 2076 of file tg3.h.
Referenced by tg3_read_otp_phycfg().
| #define OTP_READ_DATA 0x00007514 |
Definition at line 2079 of file tg3.h.
Referenced by tg3_read_otp_phycfg().
| #define PCIE_PWR_MGMT_THRESH 0x00007d28 |
Definition at line 2087 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_phy().
| #define PCIE_PWR_MGMT_L1_THRESH_MSK 0x0000ff00 |
Definition at line 2088 of file tg3.h.
Referenced by tg3_reset_hw(), and tg3_setup_phy().
| #define PCIE_PWR_MGMT_L1_THRESH_4MS 0x0000ff00 |
Definition at line 2089 of file tg3.h.
Referenced by tg3_reset_hw().
| #define PCIE_PWR_MGMT_EXT_ASPM_TMR_EN 0x01000000 |
Definition at line 2090 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_LNKCTL 0x00007d54 |
Definition at line 2093 of file tg3.h.
Referenced by tg3_chip_reset(), and tg3_reset_hw().
| #define TG3_PCIE_LNKCTL_L1_PLL_PD_EN 0x00000008 |
Definition at line 2094 of file tg3.h.
Referenced by tg3_chip_reset(), and tg3_reset_hw().
| #define TG3_PCIE_LNKCTL_L1_PLL_PD_DIS 0x00000080 |
Definition at line 2095 of file tg3.h.
Referenced by tg3_chip_reset(), and tg3_reset_hw().
| #define TG3_PCIE_PHY_TSTCTL 0x00007e2c |
Definition at line 2098 of file tg3.h.
Referenced by tg3_chip_reset().
| #define TG3_PCIE_PHY_TSTCTL_PCIE10 0x00000040 |
Definition at line 2099 of file tg3.h.
Referenced by tg3_chip_reset().
| #define TG3_PCIE_PHY_TSTCTL_PSCRAM 0x00000020 |
Definition at line 2100 of file tg3.h.
Referenced by tg3_chip_reset().
| #define TG3_PCIE_EIDLE_DELAY 0x00007e70 |
Definition at line 2102 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_EIDLE_DELAY_MASK 0x0000001f |
Definition at line 2103 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_EIDLE_DELAY_13_CLKS 0x0000000c |
Definition at line 2104 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_TLDLPL_PORT 0x00007c00 |
Definition at line 2109 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_DL_LO_FTSMAX 0x0000000c |
Definition at line 2110 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_DL_LO_FTSMAX_MSK 0x000000ff |
Definition at line 2111 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_DL_LO_FTSMAX_VAL 0x0000002c |
Definition at line 2112 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_PL_LO_PHYCTL1 0x00000004 |
Definition at line 2113 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_PL_LO_PHYCTL1_L1PLLPD_EN 0x00001000 |
Definition at line 2114 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_PL_LO_PHYCTL5 0x00000014 |
Definition at line 2115 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_PCIE_PL_LO_PHYCTL5_DIS_L2CLKREQ 0x80000000 |
Definition at line 2116 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_OTP_AGCTGT_MASK 0x000000e0 |
Definition at line 2121 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_AGCTGT_SHIFT 1 |
Definition at line 2122 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_HPFFLTR_MASK 0x00000300 |
Definition at line 2123 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_HPFFLTR_SHIFT 1 |
Definition at line 2124 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_HPFOVER_MASK 0x00000400 |
Definition at line 2125 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_HPFOVER_SHIFT 1 |
Definition at line 2126 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_LPFDIS_MASK 0x00000800 |
Definition at line 2127 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_LPFDIS_SHIFT 11 |
Definition at line 2128 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_VDAC_MASK 0xff000000 |
Definition at line 2129 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_VDAC_SHIFT 24 |
Definition at line 2130 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_10BTAMP_MASK 0x0000f000 |
Definition at line 2131 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_10BTAMP_SHIFT 8 |
Definition at line 2132 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_ROFF_MASK 0x00e00000 |
Definition at line 2133 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_ROFF_SHIFT 11 |
Definition at line 2134 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_RCOFF_MASK 0x001c0000 |
Definition at line 2135 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_RCOFF_SHIFT 16 |
Definition at line 2136 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define TG3_OTP_DEFAULT 0x286c1640 |
Definition at line 2138 of file tg3.h.
Referenced by tg3_get_invariants().
| #define NIC_SRAM_WIN_BASE 0x00008000 |
Definition at line 2194 of file tg3.h.
Referenced by tg3_get_invariants().
| #define NIC_SRAM_SEND_RCB 0x00000100 /* 16 * TG3_BDINFO_... */ |
Definition at line 2198 of file tg3.h.
Referenced by tg3_rings_reset().
| #define NIC_SRAM_RCV_RET_RCB 0x00000200 /* 16 * TG3_BDINFO_... */ |
Definition at line 2199 of file tg3.h.
Referenced by tg3_rings_reset().
| #define NIC_SRAM_STATS_BLK 0x00000300 |
Definition at line 2200 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_read_mem(), tg3_reset_hw(), and tg3_write_mem().
| #define NIC_SRAM_STATUS_BLK 0x00000b00 |
Definition at line 2201 of file tg3.h.
Referenced by tg3_reset_hw().
| #define NIC_SRAM_FIRMWARE_MBOX 0x00000b50 |
Definition at line 2203 of file tg3.h.
Referenced by tg3_poll_fw(), tg3_setup_copper_phy(), and tg3_write_sig_pre_reset().
| #define NIC_SRAM_FIRMWARE_MBOX_MAGIC1 0x4B657654 |
Definition at line 2204 of file tg3.h.
Referenced by tg3_poll_fw(), and tg3_write_sig_pre_reset().
| #define NIC_SRAM_FIRMWARE_MBOX_MAGIC2 0x4861764b /* !dma on linkchg */ |
Definition at line 2205 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define NIC_SRAM_DATA_SIG 0x00000b54 |
Definition at line 2207 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_SIG_MAGIC 0x4b657654 /* ascii for 'KevT' */ |
Definition at line 2208 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG 0x00000b58 |
Definition at line 2210 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_LED_MODE_MASK 0x0000000c |
Definition at line 2211 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_LED_MODE_MAC 0x00000000 |
Definition at line 2212 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_LED_MODE_PHY_1 0x00000004 |
Definition at line 2213 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_LED_MODE_PHY_2 0x00000008 |
Definition at line 2214 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_PHY_TYPE_MASK 0x00000030 |
Definition at line 2215 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_PHY_TYPE_FIBER 0x00000020 |
Definition at line 2218 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_ASF_ENABLE 0x00000080 |
Definition at line 2220 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_EEPROM_WP 0x00000100 |
Definition at line 2221 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_MINI_PCI 0x00001000 |
Definition at line 2222 of file tg3.h.
Referenced by tg3_chip_reset().
| #define NIC_SRAM_DATA_CFG_APE_ENABLE 0x00200000 |
Definition at line 2225 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_VER 0x00000b5c |
Definition at line 2227 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_VER_SHIFT 16 |
Definition at line 2228 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_PHY_ID 0x00000b74 |
Definition at line 2230 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_PHY_ID1_MASK 0xffff0000 |
Definition at line 2231 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_PHY_ID2_MASK 0x0000ffff |
Definition at line 2232 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_FW_CMD_MBOX 0x00000b78 |
Definition at line 2234 of file tg3.h.
Referenced by tg3_stop_fw(), and tg3_ump_link_report().
| #define FWCMD_NICDRV_PAUSE_FW 0x00000002 |
Definition at line 2236 of file tg3.h.
Referenced by tg3_stop_fw().
| #define FWCMD_NICDRV_LINK_UPDATE 0x0000000c |
Definition at line 2241 of file tg3.h.
Referenced by tg3_ump_link_report().
| #define NIC_SRAM_FW_CMD_LEN_MBOX 0x00000b7c |
Definition at line 2244 of file tg3.h.
Referenced by tg3_ump_link_report().
| #define NIC_SRAM_FW_CMD_DATA_MBOX 0x00000b80 |
Definition at line 2245 of file tg3.h.
Referenced by tg3_ump_link_report().
| #define NIC_SRAM_MAC_ADDR_HIGH_MBOX 0x00000c14 |
Definition at line 2257 of file tg3.h.
Referenced by tg3_get_device_address().
| #define NIC_SRAM_MAC_ADDR_LOW_MBOX 0x00000c18 |
Definition at line 2258 of file tg3.h.
Referenced by tg3_get_device_address().
| #define NIC_SRAM_DATA_CFG_2 0x00000d38 |
Definition at line 2266 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_2_APD_EN 0x00000400 |
Definition at line 2268 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define SHASTA_EXT_LED_MODE_MASK 0x00018000 |
Definition at line 2269 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define SHASTA_EXT_LED_SHARED 0x00008000 |
Definition at line 2271 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define SHASTA_EXT_LED_MAC 0x00010000 |
Definition at line 2272 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define SHASTA_EXT_LED_COMBO 0x00018000 |
Definition at line 2273 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_3 0x00000d3c |
Definition at line 2275 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DATA_CFG_4 0x00000d60 |
Definition at line 2278 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_RGMII_INBAND_DISABLE 0x00000004 |
Definition at line 2280 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_RGMII_EXT_IBND_RX_EN 0x00000008 |
Definition at line 2281 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_RGMII_EXT_IBND_TX_EN 0x00000010 |
Definition at line 2282 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define NIC_SRAM_DMA_DESC_POOL_BASE 0x00002000 |
Definition at line 2286 of file tg3.h.
Referenced by tg3_do_test_dma(), and tg3_reset_hw().
| #define NIC_SRAM_DMA_DESC_POOL_SIZE 0x00002000 |
Definition at line 2287 of file tg3.h.
Referenced by tg3_reset_hw().
| #define NIC_SRAM_TX_BUFFER_DESC 0x00004000 /* 512 entries */ |
Definition at line 2288 of file tg3.h.
Referenced by tg3_read_mem(), tg3_rings_reset(), and tg3_write_mem().
| #define NIC_SRAM_RX_BUFFER_DESC 0x00006000 /* 256 entries */ |
Definition at line 2289 of file tg3.h.
Referenced by tg3_reset_hw().
| #define NIC_SRAM_RX_JUMBO_BUFFER_DESC 0x00007000 /* 256 entries */ |
| #define NIC_SRAM_MBUF_POOL_BASE 0x00008000 |
Definition at line 2291 of file tg3.h.
Referenced by tg3_reset_hw().
| #define NIC_SRAM_MBUF_POOL_SIZE96 0x00018000 |
Definition at line 2292 of file tg3.h.
Referenced by tg3_reset_hw().
| #define NIC_SRAM_MBUF_POOL_SIZE64 0x00010000 |
Definition at line 2293 of file tg3.h.
Referenced by tg3_reset_hw().
| #define TG3_SRAM_RX_STD_BDCACHE_SIZE_5700 128 |
Definition at line 2297 of file tg3.h.
Referenced by tg3_setup_rxbd_thresholds().
| #define TG3_SRAM_RX_STD_BDCACHE_SIZE_5755 64 |
Definition at line 2298 of file tg3.h.
Referenced by tg3_setup_rxbd_thresholds().
| #define TG3_SRAM_RX_STD_BDCACHE_SIZE_5906 32 |
Definition at line 2299 of file tg3.h.
Referenced by tg3_setup_rxbd_thresholds().
| #define TG3_PHY_MII_ADDR 0x01 |
Definition at line 2306 of file tg3.h.
Referenced by tg3_mdio_init().
| #define TG3_BMCR_SPEED1000 0x0040 |
Definition at line 2310 of file tg3.h.
Referenced by tg3_phy_reset_5703_4_5().
| #define MII_TG3_CTRL 0x09 /* 1000-baseT control register */ |
Definition at line 2312 of file tg3.h.
Referenced by tg3_copper_is_advertising_all(), tg3_phy_autoneg_cfg(), tg3_phy_reset_5703_4_5(), and tg3_writephy().
| #define MII_TG3_CTRL_ADV_1000_HALF 0x0100 |
Definition at line 2313 of file tg3.h.
Referenced by tg3_phy_autoneg_cfg().
| #define MII_TG3_CTRL_ADV_1000_FULL 0x0200 |
Definition at line 2314 of file tg3.h.
Referenced by tg3_phy_autoneg_cfg().
| #define MII_TG3_CTRL_AS_MASTER 0x0800 |
Definition at line 2315 of file tg3.h.
Referenced by tg3_phy_autoneg_cfg(), and tg3_phy_reset_5703_4_5().
| #define MII_TG3_CTRL_ENABLE_AS_MASTER 0x1000 |
Definition at line 2316 of file tg3.h.
Referenced by tg3_phy_autoneg_cfg(), and tg3_phy_reset_5703_4_5().
| #define MII_TG3_MMD_CTRL 0x0d /* MMD Access Control register */ |
| #define MII_TG3_MMD_ADDRESS 0x0e /* MMD Address Data register */ |
| #define MII_TG3_EXT_CTRL 0x10 /* Extended control register */ |
Definition at line 2322 of file tg3.h.
Referenced by tg3_phy_reset_5703_4_5(), and tg3_setup_copper_phy().
| #define MII_TG3_EXT_CTRL_LNK3_LED_MODE 0x0002 |
Definition at line 2324 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define MII_TG3_RXR_COUNTERS 0x14 /* Local/Remote Receiver Counts */ |
Definition at line 2331 of file tg3.h.
Referenced by tg3_reset_hw().
Definition at line 2332 of file tg3.h.
Referenced by tg3_phy_reset(), tg3_phy_reset_chanpat(), tg3_phy_write_and_check_testpat(), and tg3_phydsp_write().
| #define MII_TG3_DSP_CONTROL 0x16 /* DSP control register */ |
Definition at line 2333 of file tg3.h.
Referenced by tg3_phy_reset_5703_4_5(), tg3_phy_reset_chanpat(), tg3_phy_write_and_check_testpat(), and tg3_wait_macro_done().
| #define MII_TG3_DSP_ADDRESS 0x17 /* DSP address register */ |
Definition at line 2334 of file tg3.h.
Referenced by tg3_phy_reset(), tg3_phy_reset_5703_4_5(), tg3_phy_reset_chanpat(), tg3_phy_write_and_check_testpat(), and tg3_phydsp_write().
| #define MII_TG3_DSP_TAP1 0x0001 |
Definition at line 2336 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define MII_TG3_DSP_TAP1_AGCTGT_DFLT 0x0007 |
Definition at line 2337 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define MII_TG3_DSP_AADJ1CH0 0x001f |
Definition at line 2342 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define MII_TG3_DSP_AADJ1CH3 0x601f |
Definition at line 2345 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define MII_TG3_DSP_AADJ1CH3_ADCCKADJ 0x0002 |
Definition at line 2346 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define MII_TG3_DSP_EXP8 0x0f08 |
Definition at line 2348 of file tg3.h.
Referenced by tg3_phy_reset().
| #define MII_TG3_DSP_EXP8_REJ2MHz 0x0001 |
Definition at line 2349 of file tg3.h.
Referenced by tg3_phy_reset().
| #define MII_TG3_DSP_EXP8_AEDW 0x0200 |
Definition at line 2350 of file tg3.h.
Referenced by tg3_phy_reset().
| #define MII_TG3_DSP_EXP75 0x0f75 |
Definition at line 2351 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define MII_TG3_DSP_EXP96 0x0f96 |
Definition at line 2352 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define MII_TG3_DSP_EXP97 0x0f97 |
Definition at line 2353 of file tg3.h.
Referenced by tg3_phy_apply_otp().
| #define MII_TG3_AUX_CTRL 0x18 /* auxiliary control register */ |
Definition at line 2355 of file tg3.h.
Referenced by tg3_phy_auxctl_read(), tg3_phy_auxctl_write(), and tg3_writephy().
| #define MII_TG3_AUXCTL_SHDWSEL_AUXCTL 0x0000 |
Definition at line 2357 of file tg3.h.
Referenced by tg3_init_5401phy_dsp(), and tg3_phy_reset().
| #define MII_TG3_AUXCTL_SHDWSEL_PWRCTL 0x0002 |
Definition at line 2362 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define MII_TG3_AUXCTL_SHDWSEL_MISCTEST 0x0004 |
Definition at line 2369 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define MII_TG3_AUXCTL_SHDWSEL_MISC 0x0007 |
Definition at line 2371 of file tg3.h.
Referenced by tg3_phy_auxctl_read(), tg3_phy_auxctl_write(), tg3_phy_set_wirespeed(), and tg3_phy_toggle_automdix().
| #define MII_TG3_AUXCTL_MISC_WIRESPD_EN 0x0010 |
Definition at line 2372 of file tg3.h.
Referenced by tg3_phy_set_wirespeed().
| #define MII_TG3_AUXCTL_MISC_FORCE_AMDIX 0x0200 |
Definition at line 2373 of file tg3.h.
Referenced by tg3_phy_toggle_automdix().
| #define MII_TG3_AUXCTL_MISC_RDSEL_SHIFT 12 |
Definition at line 2374 of file tg3.h.
Referenced by tg3_phy_auxctl_read().
| #define MII_TG3_AUXCTL_MISC_WREN 0x8000 |
Definition at line 2375 of file tg3.h.
Referenced by tg3_phy_auxctl_write().
| #define MII_TG3_AUX_STAT 0x19 /* auxiliary status register */ |
Definition at line 2378 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define MII_TG3_AUX_STAT_SPDMASK 0x0700 |
Definition at line 2380 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex().
| #define MII_TG3_AUX_STAT_10HALF 0x0100 |
Definition at line 2381 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex().
| #define MII_TG3_AUX_STAT_10FULL 0x0200 |
Definition at line 2382 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex().
| #define MII_TG3_AUX_STAT_100HALF 0x0300 |
Definition at line 2383 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex().
| #define MII_TG3_AUX_STAT_100FULL 0x0500 |
Definition at line 2385 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex().
| #define MII_TG3_AUX_STAT_1000HALF 0x0600 |
Definition at line 2386 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex().
| #define MII_TG3_AUX_STAT_1000FULL 0x0700 |
Definition at line 2387 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex().
| #define MII_TG3_AUX_STAT_100 0x0008 |
Definition at line 2388 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex().
| #define MII_TG3_AUX_STAT_FULL 0x0001 |
Definition at line 2389 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex().
| #define MII_TG3_ISTAT 0x1a /* IRQ status register */ |
Definition at line 2391 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define MII_TG3_IMASK 0x1b /* IRQ mask register */ |
Definition at line 2392 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define MII_TG3_INT_LINKCHG 0x0002 |
Definition at line 2395 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define MII_TG3_MISC_SHDW 0x1c |
Definition at line 2400 of file tg3.h.
Referenced by tg3_phy_reset(), and tg3_setup_copper_phy().
| #define MII_TG3_TEST1 0x1e |
Definition at line 2414 of file tg3.h.
Referenced by tg3_phy_reset(), and tg3_reset_hw().
| #define MII_TG3_TEST1_TRIM_EN 0x0010 |
Definition at line 2415 of file tg3.h.
Referenced by tg3_phy_reset().
| #define MII_TG3_TEST1_CRC_EN 0x8000 |
Definition at line 2416 of file tg3.h.
Referenced by tg3_reset_hw().
| #define MII_TG3_FET_PTEST 0x17 |
Definition at line 2425 of file tg3.h.
Referenced by tg3_phy_reset().
| #define MII_TG3_FET_TEST 0x1f |
Definition at line 2429 of file tg3.h.
Referenced by tg3_phy_toggle_automdix().
| #define MII_TG3_FET_SHADOW_EN 0x0080 |
Definition at line 2430 of file tg3.h.
Referenced by tg3_phy_toggle_automdix().
| #define MII_TG3_FET_SHDW_MISCCTRL 0x10 |
Definition at line 2432 of file tg3.h.
Referenced by tg3_phy_toggle_automdix().
| #define MII_TG3_FET_SHDW_MISCCTRL_MDIX 0x4000 |
Definition at line 2433 of file tg3.h.
Referenced by tg3_phy_toggle_automdix().
| #define SERDES_TG3_1000X_STATUS 0x14 |
Definition at line 2442 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy().
| #define SERDES_TG3_SGMII_MODE 0x0001 |
Definition at line 2443 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy().
| #define SERDES_TG3_LINK_UP 0x0002 |
Definition at line 2444 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy().
| #define SERDES_TG3_FULL_DUPLEX 0x0004 |
Definition at line 2445 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy().
| #define SERDES_TG3_SPEED_100 0x0008 |
Definition at line 2446 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy().
| #define SERDES_TG3_SPEED_1000 0x0010 |
Definition at line 2447 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy().
| #define APE_HOST_DRIVER_ID_MAGIC | ( | maj, | |
| min ) |
Definition at line 2480 of file tg3.h.
| #define TXD_FLAG_END 0x0004 |
Definition at line 2560 of file tg3.h.
Referenced by tg3_transmit().
| #define TXD_LEN_SHIFT 16 |
Definition at line 2571 of file tg3.h.
Referenced by tg3_set_txd().
| #define RXD_LEN_MASK 0x0000ffff |
Definition at line 2590 of file tg3.h.
Referenced by tg3_rx_complete().
| #define RXD_LEN_SHIFT 0 |
Definition at line 2591 of file tg3.h.
Referenced by tg3_rx_complete(), and tg3_rx_prodring_alloc().
| #define RXD_FLAGS_SHIFT 0 |
Definition at line 2595 of file tg3.h.
Referenced by tg3_rx_prodring_alloc().
| #define RXD_FLAG_END 0x0004 |
Definition at line 2597 of file tg3.h.
Referenced by tg3_rx_prodring_alloc().
| #define RXD_ERR_ODD_NIBBLE_RCVD_MII 0x00100000 |
Definition at line 2620 of file tg3.h.
Referenced by tg3_rx_complete().
| #define RXD_ERR_MASK 0xffff0000 |
Definition at line 2625 of file tg3.h.
Referenced by tg3_rx_complete().
| #define RXD_OPAQUE_INDEX_MASK 0x0000ffff |
Definition at line 2629 of file tg3.h.
Referenced by tg3_rx_complete().
| #define RXD_OPAQUE_INDEX_SHIFT 0 |
Definition at line 2630 of file tg3.h.
Referenced by tg3_rx_prodring_alloc().
| #define RXD_OPAQUE_RING_STD 0x00010000 |
Definition at line 2631 of file tg3.h.
Referenced by tg3_rx_prodring_alloc().
| #define TG3_HW_STATUS_SIZE 0x50 |
Definition at line 2669 of file tg3.h.
Referenced by tg3_abort_hw(), tg3_alloc_consistent(), tg3_free_consistent(), tg3_init_rings(), tg3_reset_hw(), and tg3_rings_reset().
| #define SD_STATUS_UPDATED 0x00000001 |
Definition at line 2672 of file tg3.h.
Referenced by tg3_enable_ints(), tg3_poll(), and tg3_setup_fiber_phy().
| #define SD_STATUS_LINK_CHG 0x00000002 |
Definition at line 2673 of file tg3.h.
Referenced by tg3_poll_link(), and tg3_setup_fiber_phy().
| #define AUTONEG_INVALID 0xff |
Definition at line 2837 of file tg3.h.
Referenced by tg3_phy_init_link_config().
| #define TG3_DEF_RX_RING_PENDING 8 |
Definition at line 2949 of file tg3.h.
Referenced by tg3_alloc_rx_iob(), tg3_refill_prod_ring(), tg3_rx_complete(), tg3_rx_prodring_free(), and tg3_setup_rxbd_thresholds().
| #define TG3_IRQ_MAX_VECS TG3_IRQ_MAX_VECS_RSS |
| #define BITS_TO_LONGS | ( | nr | ) |
| #define SERDES_AN_TIMEOUT_5704S 2 |
Definition at line 3150 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SERDES_PARALLEL_DET_TIMEOUT 1 |
Definition at line 3151 of file tg3.h.
Referenced by tg3_setup_fiber_hw_autoneg().
| #define SERDES_AN_TIMEOUT_5714S 1 |
Definition at line 3152 of file tg3.h.
Referenced by tg3_setup_fiber_mii_phy().
| #define TG3_PHY_ID_MASK 0xfffffff0 |
Definition at line 3185 of file tg3.h.
Referenced by tg3_5700_link_polarity(), tg3_phy_probe(), tg3_phy_reset(), and tg3_setup_copper_phy().
| #define TG3_PHY_ID_BCM5401 0x60008050 |
Definition at line 3187 of file tg3.h.
Referenced by tg3_phy_probe(), tg3_phy_reset(), and tg3_setup_copper_phy().
| #define TG3_PHY_ID_BCM5411 0x60008070 |
Definition at line 3188 of file tg3.h.
Referenced by tg3_5700_link_polarity(), and tg3_setup_copper_phy().
| #define TG3_PHY_ID_BCM8002 0x60010140 |
Definition at line 3208 of file tg3.h.
Referenced by tg3_phy_probe(), and tg3_setup_fiber_phy().
| #define TG3_PHY_ID_INVALID 0xffffffff |
Definition at line 3209 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg(), and tg3_phy_probe().
| #define TG3_PHY_ID_REV_MASK 0x0000000f |
Definition at line 3214 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define TG3_PHY_REV_BCM5401_B0 0x1 |
Definition at line 3215 of file tg3.h.
Referenced by tg3_setup_copper_phy().
| #define TG3_KNOWN_PHY_ID | ( | X | ) |
Definition at line 3220 of file tg3.h.
Referenced by tg3_phy_probe().
| #define TG3_PHYFLG_USE_MI_INTERRUPT 0x00000004 |
Definition at line 3236 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_setup_copper_phy().
| #define TG3_PHYFLG_PHY_SERDES 0x00000010 |
Definition at line 3237 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_phy_probe(), tg3_reset_hw(), and tg3_setup_phy().
| #define TG3_PHYFLG_MII_SERDES 0x00000020 |
Definition at line 3238 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_eeprom_hw_cfg(), tg3_phy_reset(), tg3_reset_hw(), tg3_setup_phy(), tg3_test_and_report_link_chg(), and tg3_ump_link_report().
| #define TG3_PHYFLG_ANY_SERDES |
Definition at line 3239 of file tg3.h.
Referenced by tg3_get_invariants(), tg3_phy_init_link_config(), tg3_phy_probe(), tg3_phy_toggle_automdix(), and tg3_setup_flow_control().
| #define TG3_PHYFLG_IS_FET 0x00000040 |
Definition at line 3241 of file tg3.h.
Referenced by tg3_aux_stat_to_speed_duplex(), tg3_get_invariants(), tg3_phy_toggle_automdix(), tg3_reset_hw(), tg3_setup_copper_phy(), and tg3_writephy().
| #define TG3_PHYFLG_10_100_ONLY 0x00000080 |
Definition at line 3242 of file tg3.h.
Referenced by tg3_copper_is_advertising_all(), tg3_get_invariants(), tg3_phy_autoneg_cfg(), tg3_phy_copper_begin(), and tg3_phy_init_link_config().
| #define TG3_PHYFLG_ENABLE_APD 0x00000100 |
Definition at line 3243 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg().
| #define TG3_PHYFLG_CAPACITIVE_COUPLING 0x00000200 |
Definition at line 3244 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg(), and tg3_setup_copper_phy().
| #define TG3_PHYFLG_NO_ETH_WIRE_SPEED 0x00000400 |
Definition at line 3245 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_phy_set_wirespeed().
| #define TG3_PHYFLG_JITTER_BUG 0x00000800 |
Definition at line 3246 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_phy_reset().
| #define TG3_PHYFLG_ADJUST_TRIM 0x00001000 |
Definition at line 3247 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_phy_reset().
| #define TG3_PHYFLG_ADC_BUG 0x00002000 |
Definition at line 3248 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_phy_reset().
| #define TG3_PHYFLG_5704_A0_BUG 0x00004000 |
Definition at line 3249 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_phy_reset().
| #define TG3_PHYFLG_BER_BUG 0x00008000 |
Definition at line 3250 of file tg3.h.
Referenced by tg3_get_invariants(), and tg3_phy_reset().
| #define TG3_PHYFLG_SERDES_PREEMPHASIS 0x00010000 |
Definition at line 3251 of file tg3.h.
Referenced by tg3_get_eeprom_hw_cfg(), and tg3_reset_hw().
| #define TG3_PHYFLG_PARALLEL_DETECT 0x00020000 |
Definition at line 3252 of file tg3.h.
Referenced by tg3_reset_hw(), tg3_setup_fiber_hw_autoneg(), tg3_setup_fiber_mii_phy(), and tg3_test_and_report_link_chg().
| #define TG3_PHYFLG_EEE_CAP 0x00040000 |
Definition at line 3253 of file tg3.h.
Referenced by tg3_link_report(), tg3_phy_autoneg_cfg(), and tg3_phy_probe().
| #define JEDEC_ATMEL 0x1f |
Definition at line 3280 of file tg3.h.
Referenced by tg3_nvram_phys_addr().
| #define ATMEL_AT24C02_CHIP_SIZE TG3_NVRAM_SIZE_2KB |
| #define ATMEL_AT24C64_CHIP_SIZE TG3_NVRAM_SIZE_64KB |
| #define ATMEL_AT24C512_CHIP_SIZE TG3_NVRAM_SIZE_512KB |
| #define ATMEL_AT45DB0X1B_PAGE_POS 9 |
Definition at line 3294 of file tg3.h.
Referenced by tg3_nvram_phys_addr().
| #define TG3_TX_RING_SIZE 512 |
Definition at line 3310 of file tg3.h.
Referenced by tg3_alloc_consistent(), tg3_rings_reset(), and tg3_tx_avail().
| #define TG3_DEF_TX_RING_PENDING (TG3_TX_RING_SIZE - 1) |
Definition at line 3311 of file tg3.h.
Referenced by tg3_tx_avail().
| #define TG3_DMA_ALIGNMENT 16 |
Definition at line 3313 of file tg3.h.
Referenced by tg3_alloc_consistent(), and tg3_test_dma().
| #define TG3_RX_STD_DMA_SZ (1536 + 64 + 2) |
Definition at line 3315 of file tg3.h.
Referenced by tg3_alloc_rx_iob(), and tg3_rx_prodring_alloc().
Definition at line 3329 of file tg3.h.
Referenced by __tg3_set_coalesce(), __tg3_set_mac_addr(), __tg3_set_rx_mode(), _tw32_flush(), tg3_abort_hw(), tg3_chip_reset(), tg3_clear_mac_status(), tg3_disable_ints(), tg3_disable_nvram_access(), tg3_do_test_dma(), tg3_enable_ints(), tg3_enable_nvram_access(), tg3_fiber_aneg_smachine(), tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_init_hw(), tg3_init_one(), tg3_issue_otp_command(), tg3_nvram_exec_cmd(), tg3_nvram_lock(), tg3_nvram_read(), tg3_nvram_read_using_eeprom(), tg3_phy_reset(), tg3_read_otp_phycfg(), tg3_reset_hw(), tg3_rings_reset(), tg3_setup_copper_phy(), tg3_setup_fiber_phy(), tg3_setup_phy(), tg3_setup_rxbd_thresholds(), and tg3_test_dma().
#define tw32_mailbox(reg, val) tg3_write_indirect_mbox(((val) & 0xffffffff), tp->regs + (reg))
Definition at line 3331 of file tg3.h.
Referenced by tg3_rings_reset().
Definition at line 3332 of file tg3.h.
Referenced by tg3_disable_ints(), tg3_enable_ints(), and tg3_rings_reset().
Definition at line 3333 of file tg3.h.
Referenced by __tg3_set_rx_mode(), fiber_autoneg(), tg3_abort_hw(), tg3_chip_reset(), tg3_clear_mac_status(), tg3_do_test_dma(), tg3_fiber_aneg_smachine(), tg3_generate_fw_event(), tg3_get_device_address(), tg3_nvram_unlock(), tg3_phy_reset(), tg3_readphy(), tg3_reset_hw(), tg3_setup_copper_phy(), tg3_setup_fiber_by_hand(), tg3_setup_fiber_hw_autoneg(), tg3_setup_fiber_mii_phy(), tg3_setup_fiber_phy(), tg3_setup_flow_control(), tg3_stop_block(), and tg3_writephy().
Definition at line 3334 of file tg3.h.
Referenced by tg3_set_power_state_0(), and tg3_switch_clocks().
Definition at line 3336 of file tg3.h.
Referenced by tg3_rings_reset(), and tg3_transmit().
Definition at line 3337 of file tg3.h.
Referenced by tg3_refill_prod_ring(), tg3_reset_hw(), tg3_rings_reset(), and tg3_rx_complete().
| #define tr32 | ( | reg | ) |
Definition at line 3339 of file tg3.h.
Referenced by _tw32_flush(), tg3_abort_hw(), tg3_chip_reset(), tg3_disable_nvram_access(), tg3_do_test_dma(), tg3_enable_nvram_access(), tg3_fiber_aneg_smachine(), tg3_generate_fw_event(), tg3_get_device_address(), tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_init_bcm8002(), tg3_init_one(), tg3_issue_otp_command(), tg3_mdio_init(), tg3_nvram_exec_cmd(), tg3_nvram_lock(), tg3_nvram_read(), tg3_nvram_read_using_eeprom(), tg3_phy_reset(), tg3_poll_fw(), tg3_read_otp_phycfg(), tg3_readphy(), tg3_reset_hw(), tg3_setup_fiber_by_hand(), tg3_setup_fiber_hw_autoneg(), tg3_setup_fiber_mii_phy(), tg3_setup_fiber_phy(), tg3_setup_phy(), tg3_stop_block(), tg3_switch_clocks(), tg3_test_dma(), tg3_wait_for_event_ack(), and tg3_writephy().
Definition at line 3365 of file tg3.h.
Referenced by __tg3_set_coalesce(), tg3_adv_1000T_flowctrl_ok(), tg3_chip_reset(), tg3_disable_nvram_access(), tg3_enable_ints(), tg3_enable_nvram_access(), tg3_get_device_address(), tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_init_bcm8002(), tg3_init_bufmgr_config(), tg3_mdio_init(), tg3_nvram_lock(), tg3_nvram_phys_addr(), tg3_nvram_read(), tg3_nvram_unlock(), tg3_phy_probe(), tg3_phy_reset(), tg3_phy_toggle_automdix(), tg3_poll_fw(), tg3_reset_hw(), tg3_restore_pci_state(), tg3_rings_reset(), tg3_set_bdinfo(), tg3_setup_copper_phy(), tg3_setup_fiber_mii_phy(), tg3_setup_fiber_phy(), tg3_setup_flow_control(), tg3_setup_phy(), tg3_setup_rxbd_thresholds(), tg3_stop_block(), tg3_stop_fw(), tg3_switch_clocks(), tg3_test_dma(), and tg3_ump_link_report().
Definition at line 3367 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), tg3_phy_probe(), tg3_poll_fw(), and tg3_reset_hw().
Definition at line 3369 of file tg3.h.
Referenced by tg3_chip_reset(), tg3_close(), tg3_get_eeprom_hw_cfg(), and tg3_get_invariants().
| enum TG3_FLAGS |
Definition at line 2963 of file tg3.h.
Definition at line 49 of file tg3_hw.c.
References DBGP, pci_read_config_dword(), pci_write_config_dword(), TG3PCI_REG_BASE_ADDR, TG3PCI_REG_DATA, tp, u32, and val.
Definition at line 42 of file tg3_hw.c.
References DBGP, pci_write_config_dword(), TG3PCI_REG_BASE_ADDR, TG3PCI_REG_DATA, tp, u32, and val.
Referenced by tg3_get_invariants().
Definition at line 98 of file tg3_hw.c.
References DBGP, pci_read_config_dword(), pci_write_config_dword(), TG3PCI_REG_BASE_ADDR, TG3PCI_REG_DATA, tp, u32, and val.
Referenced by tg3_get_invariants().
Definition at line 71 of file tg3_hw.c.
References DBGP, GRC_LCLCTRL_CLEARINT, MAILBOX_INTERRUPT_0, MAILBOX_RCVRET_CON_IDX_0, pci_write_config_dword(), TG3_64BIT_REG_LOW, TG3_RX_STD_PROD_IDX_REG, TG3PCI_MISC_LOCAL_CTRL, TG3PCI_RCV_RET_RING_CON_IDX, TG3PCI_REG_BASE_ADDR, TG3PCI_REG_DATA, TG3PCI_STD_RING_PROD_IDX, tp, u32, and val.
Referenced by tg3_get_invariants().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| int tg3_init_rings | ( | struct tg3 * | tp | ) |
tg3_free_rings(tp);
Definition at line 204 of file tg3.c.
References DBGC, DBGP, ENOMEM, memset(), TG3_HW_STATUS_SIZE, tg3_rx_prodring_alloc(), tg3_rx_prodring_free(), TG3_RX_RCB_RING_BYTES, TG3_TX_RING_BYTES, and tp.
Referenced by tg3_reset_hw().
| void tg3_rx_prodring_fini | ( | struct tg3_rx_prodring_set * | tpr | ) |
Definition at line 42 of file tg3.c.
References DBGP, free_phys(), NULL, tg3_rx_prodring_set::rx_std, TG3_RX_STD_RING_BYTES, and tp.
Referenced by tg3_free_consistent().
int tg3_rx_prodring_init(struct tg3 *tp, struct tg3_rx_prodring_set *tpr);
Definition at line 57 of file tg3_phy.c.
References DBGP, OTP_ADDRESS, OTP_ADDRESS_MAGIC1, OTP_ADDRESS_MAGIC2, OTP_CTRL_OTP_CMD_INIT, OTP_CTRL_OTP_CMD_READ, OTP_MODE, OTP_MODE_OTP_THRU_GRC, OTP_READ_DATA, tg3_issue_otp_command(), tp, tr32, tw32, and u32.
Referenced by tg3_get_invariants().
| void tg3_mdio_init | ( | struct tg3 * | tp | ) |
Definition at line 14 of file tg3_phy.c.
References CHIPREV_ID_5717_A0, DBGP, PCI_FUNC, SG_DIG_IS_SERDES, SG_DIG_STATUS, TG3_CPMU_PHY_STRAP, TG3_CPMU_PHY_STRAP_IS_SERDES, tg3_flag, TG3_PHY_MII_ADDR, tp, tr32, and u32.
Referenced by tg3_get_invariants().
| int tg3_phy_probe | ( | struct tg3 * | tp | ) |
Definition at line 896 of file tg3_phy.c.
References ADVERTISED_1000baseT_Full, ADVERTISED_1000baseT_Half, ADVERTISED_100baseT_Full, ADVERTISED_100baseT_Half, ADVERTISED_10baseT_Full, ADVERTISED_10baseT_Half, ASIC_REV_57765, BMCR_ANENABLE, BMCR_ANRESTART, BMSR_LSTATUS, CHIPREV_ID_5717_A0, CHIPREV_ID_57765_A0, DBGC, DBGP, ENODEV, FLOW_CTRL_RX, FLOW_CTRL_TX, GET_ASIC_REV, MII_BMCR, MII_BMSR, MII_PHYSID1, MII_PHYSID2, subsys_tbl_ent::phy_id, tg3_copper_is_advertising_all(), tg3_flag, tg3_flag_set, tg3_init_5401phy_dsp(), TG3_KNOWN_PHY_ID, tg3_lookup_by_subsys(), tg3_phy_autoneg_cfg(), TG3_PHY_ID_BCM5401, TG3_PHY_ID_BCM8002, TG3_PHY_ID_INVALID, TG3_PHY_ID_MASK, tg3_phy_init_link_config(), tg3_phy_reset(), tg3_phy_set_wirespeed(), TG3_PHYFLG_ANY_SERDES, TG3_PHYFLG_EEE_CAP, TG3_PHYFLG_PHY_SERDES, tg3_readphy(), tg3_writephy(), TG3PCI_DEVICE_TIGON3_5718, tp, and u32.
Referenced by tg3_get_invariants().
| int tg3_phy_reset | ( | struct tg3 * | tp | ) |
Definition at line 622 of file tg3_phy.c.
References ASIC_REV_5703, ASIC_REV_5704, ASIC_REV_5705, ASIC_REV_5784, ASIC_REV_5906, CHIPREV_5761_AX, CHIPREV_5784_AX, CPMU_CTRL_GPHY_10MB_RXONLY, CPMU_LSPD_1000MB_MACCLK_12_5, CPMU_LSPD_1000MB_MACCLK_MASK, DBGCP, DBGP, EBUSY, GET_ASIC_REV, GET_CHIP_REV, GRC_MISC_CFG, GRC_MISC_CFG_EPHY_IDDQ, MII_BMSR, MII_TG3_AUXCTL_SHDWSEL_AUXCTL, MII_TG3_DSP_ADDRESS, MII_TG3_DSP_EXP8, MII_TG3_DSP_EXP8_AEDW, MII_TG3_DSP_EXP8_REJ2MHz, MII_TG3_DSP_RW_PORT, MII_TG3_FET_PTEST, MII_TG3_MISC_SHDW, MII_TG3_TEST1, MII_TG3_TEST1_TRIM_EN, netdev_link_down(), out, tg3_bmcr_reset(), TG3_CPMU_CTRL, TG3_CPMU_LSPD_1000MB_CLK, tg3_flag, tg3_link_report(), tg3_phy_apply_otp(), TG3_PHY_AUXCTL_SMDSP_DISABLE, TG3_PHY_AUXCTL_SMDSP_ENABLE, tg3_phy_auxctl_write(), TG3_PHY_ID_BCM5401, TG3_PHY_ID_MASK, tg3_phy_reset_5703_4_5(), tg3_phy_set_wirespeed(), tg3_phy_toggle_automdix(), tg3_phydsp_write(), TG3_PHYFLG_5704_A0_BUG, TG3_PHYFLG_ADC_BUG, TG3_PHYFLG_ADJUST_TRIM, TG3_PHYFLG_BER_BUG, TG3_PHYFLG_JITTER_BUG, TG3_PHYFLG_MII_SERDES, tg3_readphy(), tg3_writephy(), tp, tr32, tw32, tw32_f, u32, udelay(), and val.
Referenced by tg3_phy_probe(), tg3_reset_hw(), tg3_setup_copper_phy(), and tg3_setup_fiber_mii_phy().
| int tg3_setup_phy | ( | struct tg3 * | tp, |
| int | force_reset ) |
Definition at line 2521 of file tg3_phy.c.
References ASIC_REV_5720, DBGP, DEFAULT_STAT_COAL_TICKS, DUPLEX_HALF, GET_ASIC_REV, HOSTCC_STAT_COAL_TICKS, MAC_TX_LENGTHS, netdev_link_ok(), PCIE_PWR_MGMT_L1_THRESH_MSK, PCIE_PWR_MGMT_THRESH, SPEED_1000, tg3_flag, TG3_PHYFLG_MII_SERDES, TG3_PHYFLG_PHY_SERDES, tg3_setup_copper_phy(), tg3_setup_fiber_mii_phy(), tg3_setup_fiber_phy(), tp, tr32, tw32, TX_LENGTHS_CNT_DWN_VAL_MSK, TX_LENGTHS_IPG_CRS_SHIFT, TX_LENGTHS_IPG_SHIFT, TX_LENGTHS_JMB_FRM_LEN_MSK, TX_LENGTHS_SLOT_TIME_SHIFT, u32, and val.
Referenced by tg3_init_one(), tg3_poll_link(), and tg3_reset_hw().
Definition at line 86 of file tg3_phy.c.
References DBGP, EBUSY, MAC_MI_COM, MAC_MI_MODE, MAC_MI_MODE_AUTO_POLL, MI_COM_BUSY, MI_COM_CMD_READ, MI_COM_DATA_MASK, MI_COM_PHY_ADDR_MASK, MI_COM_PHY_ADDR_SHIFT, MI_COM_REG_ADDR_MASK, MI_COM_REG_ADDR_SHIFT, MI_COM_START, PHY_BUSY_LOOPS, reg, tp, tr32, tw32_f, u32, udelay(), and val.
Referenced by tg3_adv_1000T_flowctrl_ok(), tg3_bmcr_reset(), tg3_copper_is_advertising_all(), tg3_phy_auxctl_read(), tg3_phy_probe(), tg3_phy_reset(), tg3_phy_reset_5703_4_5(), tg3_phy_toggle_automdix(), tg3_phy_write_and_check_testpat(), tg3_reset_hw(), tg3_setup_copper_phy(), tg3_setup_fiber_mii_phy(), tg3_ump_link_report(), and tg3_wait_macro_done().
Definition at line 222 of file tg3_phy.c.
References DBGP, EBUSY, MAC_MI_COM, MAC_MI_MODE, MAC_MI_MODE_AUTO_POLL, MI_COM_BUSY, MI_COM_CMD_WRITE, MI_COM_DATA_MASK, MI_COM_PHY_ADDR_MASK, MI_COM_PHY_ADDR_SHIFT, MI_COM_REG_ADDR_MASK, MI_COM_REG_ADDR_SHIFT, MI_COM_START, MII_TG3_AUX_CTRL, MII_TG3_CTRL, PHY_BUSY_LOOPS, reg, TG3_PHYFLG_IS_FET, tp, tr32, tw32_f, u32, udelay(), and val.
Referenced by tg3_adv_1000T_flowctrl_ok(), tg3_bmcr_reset(), tg3_init_bcm8002(), tg3_phy_autoneg_cfg(), tg3_phy_auxctl_read(), tg3_phy_auxctl_write(), tg3_phy_copper_begin(), tg3_phy_probe(), tg3_phy_reset(), tg3_phy_reset_5703_4_5(), tg3_phy_reset_chanpat(), tg3_phy_toggle_automdix(), tg3_phy_write_and_check_testpat(), tg3_phydsp_write(), tg3_reset_hw(), tg3_setup_copper_phy(), and tg3_setup_fiber_mii_phy().
Definition at line 922 of file tg3_hw.c.
References ASIC_REV_5906, DBGP, GET_ASIC_REV, NIC_SRAM_STATS_BLK, NIC_SRAM_TX_BUFFER_DESC, pci_write_config_dword(), TG3PCI_MEM_WIN_BASE_ADDR, TG3PCI_MEM_WIN_DATA, tp, u32, and val.
Referenced by tg3_reset_hw(), tg3_rings_reset(), tg3_set_bdinfo(), tg3_setup_copper_phy(), tg3_stop_fw(), tg3_ump_link_report(), and tg3_write_sig_pre_reset().
| int tg3_get_invariants | ( | struct tg3 * | tp | ) |
tg3_nvram_init(tp);
Definition at line 394 of file tg3_hw.c.
References ASIC_REV_5700, ASIC_REV_5703, ASIC_REV_5705, ASIC_REV_5717, ASIC_REV_5719, ASIC_REV_5720, ASIC_REV_5750, ASIC_REV_5752, ASIC_REV_5755, ASIC_REV_5761, ASIC_REV_57765, ASIC_REV_57766, ASIC_REV_57780, ASIC_REV_5784, ASIC_REV_5785, ASIC_REV_5787, ASIC_REV_5906, ASIC_REV_USE_PROD_ID_REG, CHIPREV_5700_AX, CHIPREV_5700_BX, CHIPREV_5703_AX, CHIPREV_5704_AX, CHIPREV_5784_AX, CHIPREV_ID_5701_A0, CHIPREV_ID_5701_B0, CHIPREV_ID_5701_B2, CHIPREV_ID_5701_B5, CHIPREV_ID_5704_A0, CHIPREV_ID_5705_A0, CHIPREV_ID_5705_A1, CHIPREV_ID_5717_A0, CHIPREV_ID_5719_A0, CHIPREV_ID_5720_A0, CHIPREV_ID_5752_A0, CHIPREV_ID_5752_A0_HW, CHIPREV_ID_57780_A0, CHIPREV_ID_57780_A1, DBGC, DBGP, EIO, GET_ASIC_REV, GET_CHIP_REV, GET_CHIP_REV_ID, GRC_LCLCTRL_AUTO_SEEPROM, GRC_LCLCTRL_GPIO_OE0, GRC_LCLCTRL_GPIO_OE1, GRC_LCLCTRL_GPIO_OE3, GRC_LCLCTRL_GPIO_OUTPUT0, GRC_LCLCTRL_GPIO_OUTPUT1, GRC_LCLCTRL_GPIO_UART_SEL, GRC_LCLCTRL_INT_ON_ATTN, GRC_MISC_CFG, GRC_MISC_CFG_BOARD_ID_5788, GRC_MISC_CFG_BOARD_ID_5788M, GRC_MISC_CFG_BOARD_ID_MASK, GRC_MODE, GRC_MODE_B2HRX_ENABLE, GRC_MODE_BYTE_SWAP_B2HRX_DATA, GRC_MODE_HOST_STACKUP, GRC_MODE_HTX2B_ENABLE, GRC_MODE_IRQ_ON_FLOW_ATTN, GRC_MODE_WORD_SWAP_B2HRX_DATA, HOSTCC_MODE_32BYTE, HOSTCC_MODE_ATTN, HOSTCC_MODE_CLRTICK_RXBD, HOSTCC_MODE_CLRTICK_TXBD, MAC_MI_MODE_500KHZ_CONST, MAC_MI_MODE_BASE, MAC_MODE_APE_RX_EN, MAC_MODE_APE_TX_EN, MISC_HOST_CTRL_CHIPREV, MISC_HOST_CTRL_CHIPREV_SHIFT, MISC_HOST_CTRL_TAGGED_STATUS, NIC_SRAM_STATS_BLK, NIC_SRAM_WIN_BASE, PCI_CACHE_LINE_SIZE, PCI_CAP_ID_EXP, PCI_CAP_ID_PCIX, PCI_COMMAND, PCI_COMMAND_INVALIDATE, PCI_COMMAND_PARITY, PCI_COMMAND_SERR, PCI_DEVICE_ID_TIGON3_5705F, PCI_DEVICE_ID_TIGON3_5722, PCI_DEVICE_ID_TIGON3_5751F, PCI_DEVICE_ID_TIGON3_5753F, PCI_DEVICE_ID_TIGON3_5755M, PCI_DEVICE_ID_TIGON3_5756, PCI_DEVICE_ID_TIGON3_5761, PCI_DEVICE_ID_TIGON3_5787F, PCI_DEVICE_ID_TIGON3_5901, PCI_DEVICE_ID_TIGON3_5901_2, PCI_EXP_LNKCTL, PCI_EXP_LNKCTL_CLKREQ_EN, pci_find_capability(), PCI_LATENCY_TIMER, PCI_PM_CTRL, PCI_PM_CTRL_PME_ENABLE, PCI_PM_CTRL_STATE_MASK, pci_read_config_byte(), pci_read_config_dword(), pci_read_config_word(), PCI_VENDOR_ID_BROADCOM, pci_write_config_byte(), pci_write_config_dword(), pci_write_config_word(), PCISTATE_BUS_32BIT, PCISTATE_BUS_SPEED_HIGH, PCISTATE_CONV_PCI_MODE, PCISTATE_RETRY_SAME_DMA, readl, strerror(), TG3_DEF_MAC_MODE, tg3_flag, tg3_flag_clear, tg3_flag_set, tg3_get_eeprom_hw_cfg(), tg3_mdio_init(), TG3_OTP_DEFAULT, tg3_phy_probe(), TG3_PHYFLG_10_100_ONLY, TG3_PHYFLG_5704_A0_BUG, TG3_PHYFLG_ADC_BUG, TG3_PHYFLG_ADJUST_TRIM, TG3_PHYFLG_ANY_SERDES, TG3_PHYFLG_BER_BUG, TG3_PHYFLG_IS_FET, TG3_PHYFLG_JITTER_BUG, TG3_PHYFLG_NO_ETH_WIRE_SPEED, TG3_PHYFLG_PHY_SERDES, TG3_PHYFLG_USE_MI_INTERRUPT, tg3_read32_mbox_5906(), tg3_read_indirect_mbox(), tg3_read_otp_phycfg(), tg3_set_power_state_0(), tg3_switch_clocks(), tg3_write32_mbox_5906(), tg3_write_indirect_mbox(), tg3_write_indirect_reg32(), TG3PCI_DEVICE_TIGON3_5717, TG3PCI_DEVICE_TIGON3_5718, TG3PCI_DEVICE_TIGON3_5719, TG3PCI_DEVICE_TIGON3_5720, TG3PCI_DEVICE_TIGON3_5761S, TG3PCI_DEVICE_TIGON3_57761, TG3PCI_DEVICE_TIGON3_57762, TG3PCI_DEVICE_TIGON3_57765, TG3PCI_DEVICE_TIGON3_57766, TG3PCI_DEVICE_TIGON3_57781, TG3PCI_DEVICE_TIGON3_57785, TG3PCI_DEVICE_TIGON3_57790, TG3PCI_DEVICE_TIGON3_57791, TG3PCI_DEVICE_TIGON3_57795, TG3PCI_GEN15_PRODID_ASICREV, TG3PCI_GEN2_PRODID_ASICREV, TG3PCI_MEM_WIN_BASE_ADDR, TG3PCI_MISC_HOST_CTRL, TG3PCI_PCISTATE, TG3PCI_PRODID_ASICREV, tp, tr32, tw32, u16, u32, udelay(), val, and writel.
Referenced by tg3_init_one().
| void tg3_init_bufmgr_config | ( | struct tg3 * | tp | ) |
Definition at line 850 of file tg3_hw.c.
References ASIC_REV_5906, DBGP, DEFAULT_DMA_HIGH_WATER, DEFAULT_DMA_LOW_WATER, DEFAULT_MB_HIGH_WATER, DEFAULT_MB_HIGH_WATER_5705, DEFAULT_MB_HIGH_WATER_57765, DEFAULT_MB_HIGH_WATER_5906, DEFAULT_MB_HIGH_WATER_JUMBO, DEFAULT_MB_HIGH_WATER_JUMBO_57765, DEFAULT_MB_HIGH_WATER_JUMBO_5780, DEFAULT_MB_MACRX_LOW_WATER, DEFAULT_MB_MACRX_LOW_WATER_5705, DEFAULT_MB_MACRX_LOW_WATER_57765, DEFAULT_MB_MACRX_LOW_WATER_5906, DEFAULT_MB_MACRX_LOW_WATER_JUMBO, DEFAULT_MB_MACRX_LOW_WATER_JUMBO_57765, DEFAULT_MB_MACRX_LOW_WATER_JUMBO_5780, DEFAULT_MB_RDMA_LOW_WATER, DEFAULT_MB_RDMA_LOW_WATER_5705, DEFAULT_MB_RDMA_LOW_WATER_JUMBO, DEFAULT_MB_RDMA_LOW_WATER_JUMBO_5780, GET_ASIC_REV, tg3_flag, and tp.
Referenced by tg3_init_one().
| int tg3_get_device_address | ( | struct tg3 * | tp | ) |
Definition at line 1650 of file tg3_hw.c.
References ASIC_REV_5704, ASIC_REV_5906, DBGP, net_device::dev, DUAL_MAC_CTRL_ID, EINVAL, GET_ASIC_REV, is_valid_ether_addr(), MAC_ADDR_0_HIGH, MAC_ADDR_0_LOW, memcpy(), NIC_SRAM_MAC_ADDR_HIGH_MBOX, NIC_SRAM_MAC_ADDR_LOW_MBOX, NVRAM_CMD, NVRAM_CMD_RESET, PCI_FUNC, tg3_flag, tg3_nvram_lock(), tg3_nvram_read_be32(), tg3_nvram_unlock(), tg3_read_mem(), TG3PCI_DUAL_MAC_CTRL, tp, tr32, tw32_f, and u32.
Referenced by tg3_init_one().
| int tg3_halt | ( | struct tg3 * | tp | ) |
Definition at line 1481 of file tg3_hw.c.
References __tg3_set_mac_addr(), DBGP, tg3_abort_hw(), tg3_chip_reset(), tg3_stop_fw(), tg3_write_sig_pre_reset(), and tp.
Referenced by tg3_close(), and tg3_init_one().
| void tg3_set_txd | ( | struct tg3 * | tp, |
| int | entry, | ||
| dma_addr_t | mapping, | ||
| int | len, | ||
| u32 | flags ) |
Definition at line 2583 of file tg3_hw.c.
References DBGP, dma_addr_t, flags, len, tp, txd, TXD_LEN_SHIFT, and u32.
Referenced by tg3_transmit().
| void tg3_set_power_state_0 | ( | struct tg3 * | tp | ) |
Definition at line 130 of file tg3_hw.c.
References DBGP, GRC_LOCAL_CTRL, PCI_PM_CTRL, PCI_PM_CTRL_PME_STATUS, PCI_PM_CTRL_STATE_MASK, pci_read_config_word(), pci_write_config_dword(), pci_write_config_word(), TG3PCI_MISC_HOST_CTRL, tp, and tw32_wait_f.
Referenced by tg3_get_invariants(), and tg3_open().
| int tg3_alloc_consistent | ( | struct tg3 * | tp | ) |
Definition at line 85 of file tg3.c.
References DBGC, DBGP, ENOMEM, tg3_hw_status::idx, malloc_phys(), memset(), tg3_hw_status::rx_producer, tg3_rx_prodring_set::rx_std, tg3_rx_prodring_set::rx_std_mapping, TG3_DMA_ALIGNMENT, tg3_free_consistent(), TG3_HW_STATUS_SIZE, TG3_RX_RCB_RING_BYTES, TG3_RX_STD_RING_BYTES, TG3_TX_RING_BYTES, TG3_TX_RING_SIZE, tp, virt_to_bus(), and zalloc().
Referenced by tg3_open().
| int tg3_init_hw | ( | struct tg3 * | tp, |
| int | reset_phy ) |
Definition at line 2573 of file tg3_hw.c.
References DBGP, tg3_reset_hw(), tg3_switch_clocks(), TG3PCI_MEM_WIN_BASE_ADDR, tp, and tw32.
Referenced by tg3_open().
| void tg3_poll_link | ( | struct tg3 * | tp | ) |
Definition at line 1009 of file tg3_phy.c.
References DBGC, DBGP, SD_STATUS_LINK_CHG, tg3_setup_phy(), and tp.
Referenced by tg3_poll().
| void tg3_wait_for_event_ack | ( | struct tg3 * | tp | ) |
Definition at line 909 of file tg3_hw.c.
References DBGP, GRC_RX_CPU_DRIVER_EVENT, GRC_RX_CPU_EVENT, TG3_FW_EVENT_TIMEOUT_USEC, tp, tr32, and udelay().
Referenced by tg3_stop_fw(), and tg3_ump_link_report().
| void __tg3_set_mac_addr | ( | struct tg3 * | tp, |
| int | skip_mac_1 ) |
Definition at line 1094 of file tg3_hw.c.
References ASIC_REV_5703, ASIC_REV_5704, DBGP, GET_ASIC_REV, MAC_ADDR_0_HIGH, MAC_ADDR_0_LOW, MAC_EXTADDR_0_HIGH, MAC_EXTADDR_0_LOW, MAC_TX_BACKOFF_SEED, tp, tw32, TX_BACKOFF_SEED_MASK, and u32.
Referenced by tg3_halt(), tg3_open(), and tg3_reset_hw().
| void tg3_disable_ints | ( | struct tg3 * | tp | ) |
Definition at line 959 of file tg3_hw.c.
References DBGP, MISC_HOST_CTRL_MASK_PCI_INT, TG3PCI_MISC_HOST_CTRL, tp, tw32, and tw32_mailbox_f.
Referenced by tg3_abort_hw(), and tg3_irq().
| void tg3_enable_ints | ( | struct tg3 * | tp | ) |
Definition at line 968 of file tg3_hw.c.
References DBGP, GRC_LCLCTRL_SETINT, GRC_LOCAL_CTRL, HOSTCC_MODE, HOSTCC_MODE_ENABLE, MISC_HOST_CTRL_MASK_PCI_INT, SD_STATUS_UPDATED, tg3_flag, TG3PCI_MISC_HOST_CTRL, tp, tw32, and tw32_mailbox_f.
Referenced by tg3_irq().
|
inlinestatic |
Definition at line 3403 of file tg3.h.
References GRC_RX_CPU_DRIVER_EVENT, GRC_RX_CPU_EVENT, tp, tr32, tw32_f, u32, and val.
Referenced by tg3_stop_fw(), and tg3_ump_link_report().
mii_resolve_flowctrl_fdx @lcladv: value of MII ADVERTISE register @rmtadv: value of MII LPA register
Resolve full duplex flow control as per IEEE 802.3-2005 table 28B-3
Definition at line 3420 of file tg3.h.
References ADVERTISE_PAUSE_ASYM, ADVERTISE_PAUSE_CAP, FLOW_CTRL_RX, FLOW_CTRL_TX, u16, and u8.
Referenced by tg3_setup_flow_control().
Definition at line 3436 of file tg3.h.
References ADVERTISE_1000XFULL, ADVERTISE_1000XHALF, ADVERTISE_1000XPAUSE, ADVERTISE_1000XPSE_ASYM, ADVERTISED_1000baseT_Full, ADVERTISED_1000baseT_Half, ADVERTISED_Asym_Pause, ADVERTISED_Pause, result, and u32.
Referenced by tg3_setup_fiber_by_hand(), tg3_setup_fiber_hw_autoneg(), and tg3_setup_fiber_mii_phy().
Definition at line 3452 of file tg3.h.
References ADVERTISE_1000XFULL, ADVERTISE_1000XHALF, ADVERTISE_1000XPAUSE, ADVERTISE_1000XPSE_ASYM, ADVERTISED_1000baseT_Full, ADVERTISED_1000baseT_Half, ADVERTISED_Asym_Pause, ADVERTISED_Pause, result, and u32.
Referenced by tg3_setup_fiber_mii_phy().