tg3_flag 132 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, JUMBO_CAPABLE) ? 9000 : 1500) tg3_flag 139 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, LRG_PROD_RING_CAP) ? \ tg3_flag 143 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, LRG_PROD_RING_CAP) ? \ tg3_flag 214 drivers/net/ethernet/broadcom/tg3.c #define TG3_MAX_UCAST_ADDR(tp) (tg3_flag((tp), ENABLE_ASF) ? 2 : 3) tg3_flag 215 drivers/net/ethernet/broadcom/tg3.c #define TG3_UCAST_ADDR_IDX(tp) (tg3_flag((tp), ENABLE_ASF) ? 2 : 1) tg3_flag 571 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCIX_TARGET_HWBUG) || tg3_flag(tp, ICH_WORKAROUND)) tg3_flag 591 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, FLUSH_POSTED_WRITES) || tg3_flag 592 drivers/net/ethernet/broadcom/tg3.c (!tg3_flag(tp, MBOX_WRITE_REORDER) && tg3_flag 593 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, ICH_WORKAROUND))) tg3_flag 601 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TXD_MBOX_HWBUG)) tg3_flag 603 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, MBOX_WRITE_REORDER) || tg3_flag 604 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, FLUSH_POSTED_WRITES)) tg3_flag 638 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, SRAM_USE_CONFIG)) { tg3_flag 665 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, SRAM_USE_CONFIG)) { tg3_flag 717 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_APE)) tg3_flag 778 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_APE)) tg3_flag 855 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, APE_HAS_NCSI)) tg3_flag 946 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_APE)) tg3_flag 969 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, WOL_ENABLE)) { tg3_flag 993 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_APE) || tg3_flag 1026 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 1SHOT_MSI)) tg3_flag 1033 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, TAGGED_STATUS) && tg3_flag 1049 drivers/net/ethernet/broadcom/tg3.c if (!(tg3_flag(tp, USE_LINKCHG_REG) || tg3_flag(tp, POLL_SERDES))) { tg3_flag 1081 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, TAGGED_STATUS) && tg3_has_work(tnapi)) tg3_flag 1091 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, CPMU_PRESENT) || tg3_flag(tp, 5780_CLASS)) tg3_flag 1102 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS)) { tg3_flag 1452 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, RGMII_INBAND_DISABLE)) tg3_flag 1465 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, RGMII_INBAND_DISABLE)) { tg3_flag 1466 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, RGMII_EXT_IBND_RX_EN)) tg3_flag 1468 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, RGMII_EXT_IBND_TX_EN)) tg3_flag 1483 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, RGMII_INBAND_DISABLE)) { tg3_flag 1484 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, RGMII_EXT_IBND_RX_EN)) tg3_flag 1489 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, RGMII_EXT_IBND_TX_EN)) tg3_flag 1503 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, MDIOBUS_INITED) && tg3_flag 1514 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5717_PLUS)) { tg3_flag 1526 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, IS_SSB_CORE) && tg3_flag(tp, ROBOSWITCH)) { tg3_flag 1538 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, USE_PHYLIB) || tg3_flag(tp, MDIOBUS_INITED)) tg3_flag 1589 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, RGMII_INBAND_DISABLE)) tg3_flag 1591 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, RGMII_EXT_IBND_RX_EN)) tg3_flag 1593 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, RGMII_EXT_IBND_TX_EN)) tg3_flag 1617 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, MDIOBUS_INITED)) { tg3_flag 1708 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5780_CLASS) || !tg3_flag(tp, ENABLE_ASF)) tg3_flag 1728 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF) && !tg3_flag(tp, ENABLE_APE)) { tg3_flag 1747 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ASF_NEW_HANDSHAKE)) { tg3_flag 1773 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ASF_NEW_HANDSHAKE)) { tg3_flag 1794 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF)) { tg3_flag 1822 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NO_FWARE_REPORTED)) tg3_flag 1825 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, IS_SSB_CORE)) { tg3_flag 1849 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, NO_FWARE_REPORTED)) { tg3_flag 1865 drivers/net/ethernet/broadcom/tg3.c if (i >= 100000 && !tg3_flag(tp, NO_FWARE_REPORTED)) { tg3_flag 1978 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) tg3_flag 1983 drivers/net/ethernet/broadcom/tg3.c if (autoneg == AUTONEG_ENABLE && tg3_flag(tp, PAUSE_AUTONEG)) { tg3_flag 2233 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS) || tg3_flag 2234 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, 5717_PLUS) && tg3_flag 2264 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS) || tg3_flag 2439 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 57765_CLASS)) && tg3_flag 2631 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF)) tg3_flag 2699 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5717_PLUS) && tg3_flag 2749 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, JUMBO_CAPABLE)) { tg3_flag 2761 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_CAPABLE)) { tg3_flag 2821 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, IS_NIC)) tg3_flag 2848 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, IS_NIC) || tg3_flag 2870 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, IS_NIC)) tg3_flag 2953 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF) || tg3_flag(tp, ENABLE_APE) || wol_enable) tg3_flag 2975 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, IS_NIC) || tg3_flag(tp, 57765_CLASS)) tg3_flag 2982 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, WOL_ENABLE) != 0 : 0); tg3_flag 2995 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp_peer, INIT_COMPLETE)) tg3_flag 2998 drivers/net/ethernet/broadcom/tg3.c if ((include_wol && tg3_flag(tp_peer, WOL_ENABLE)) || tg3_flag 2999 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp_peer, ENABLE_ASF)) tg3_flag 3004 drivers/net/ethernet/broadcom/tg3.c if ((include_wol && tg3_flag(tp, WOL_ENABLE)) || tg3_flag 3005 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, ENABLE_ASF)) tg3_flag 3143 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NVRAM)) { tg3_flag 3166 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NVRAM)) { tg3_flag 3177 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS) && !tg3_flag(tp, PROTECTED_NVRAM)) { tg3_flag 3187 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS) && !tg3_flag(tp, PROTECTED_NVRAM)) { tg3_flag 3257 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NVRAM) && tg3_flag 3258 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, NVRAM_BUFFERED) && tg3_flag 3259 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, FLASH) && tg3_flag 3260 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, NO_NVRAM_ADDR_TRANS) && tg3_flag 3272 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NVRAM) && tg3_flag 3273 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, NVRAM_BUFFERED) && tg3_flag 3274 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, FLASH) && tg3_flag 3275 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, NO_NVRAM_ADDR_TRANS) && tg3_flag 3295 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, NVRAM)) tg3_flag 3509 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, FLASH) || tg3_flag 3510 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, 57765_PLUS)) tg3_flag 3514 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, 5755_PLUS) && tg3_flag 3524 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, FLASH)) { tg3_flag 3541 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, EEPROM_WRITE_PROT)) { tg3_flag 3547 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, NVRAM)) { tg3_flag 3557 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS) && !tg3_flag(tp, PROTECTED_NVRAM)) tg3_flag 3563 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NVRAM_BUFFERED) || !tg3_flag(tp, FLASH)) { tg3_flag 3578 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, EEPROM_WRITE_PROT)) { tg3_flag 3645 drivers/net/ethernet/broadcom/tg3.c BUG_ON(cpu_base == TX_CPU_BASE && tg3_flag(tp, 5705_PLUS)); tg3_flag 3660 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, IS_SSB_CORE)) tg3_flag 3673 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NVRAM)) tg3_flag 3714 drivers/net/ethernet/broadcom/tg3.c if (cpu_base == TX_CPU_BASE && tg3_flag(tp, 5705_PLUS)) { tg3_flag 3721 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS) && tg3_asic_rev(tp) != ASIC_REV_57766) tg3_flag 3870 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, NO_NVRAM)) tg3_flag 3913 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, FW_TSO)) tg3_flag 4040 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, CLKREQ_BUG)) tg3_flag 4049 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, WOL_ENABLE); tg3_flag 4051 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) { tg3_flag 4078 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF) || device_should_wake) { tg3_flag 4079 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, WOL_SPEED_100MB)) { tg3_flag 4119 drivers/net/ethernet/broadcom/tg3.c } else if (!tg3_flag(tp, ENABLE_ASF)) { tg3_flag 4130 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, WOL_CAP)) tg3_flag 4163 drivers/net/ethernet/broadcom/tg3.c u32 speed = tg3_flag(tp, WOL_SPEED_100MB) ? tg3_flag 4174 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5750_PLUS)) tg3_flag 4178 drivers/net/ethernet/broadcom/tg3.c if ((tg3_flag(tp, 5705_PLUS) && !tg3_flag(tp, 5780_CLASS)) && tg3_flag 4179 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, ENABLE_ASF) || tg3_flag(tp, ENABLE_APE))) tg3_flag 4182 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) tg3_flag 4194 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, WOL_SPEED_100MB) && tg3_flag 4205 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, 5780_CLASS) || tg3_flag 4206 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, CPMU_PRESENT) || tg3_flag 4209 drivers/net/ethernet/broadcom/tg3.c } else if (!(tg3_flag(tp, 5750_PLUS) && tg3_flag(tp, ENABLE_ASF))) { tg3_flag 4218 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, 5705_PLUS)) { tg3_flag 4232 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) { tg3_flag 4249 drivers/net/ethernet/broadcom/tg3.c if (!(device_should_wake) && !tg3_flag(tp, ENABLE_ASF)) tg3_flag 4255 drivers/net/ethernet/broadcom/tg3.c if ((!tg3_flag(tp, IS_SSB_CORE)) && tg3_flag 4262 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_ASF)) { tg3_flag 4281 drivers/net/ethernet/broadcom/tg3.c pci_wake_from_d3(tp->pdev, tg3_flag(tp, WOL_ENABLE)); tg3_flag 4426 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, WOL_SPEED_100MB)) tg3_flag 4770 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) tg3_flag 4821 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, INIT_COMPLETE)) tg3_flag 4985 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ROBOSWITCH)) { tg3_flag 5015 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, RGMII_MODE)) { tg3_flag 5059 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_LINKCHG_REG)) { tg3_flag 5070 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, PCIX_MODE) || tg3_flag(tp, PCI_HIGH_SPEED))) { tg3_flag 5082 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, CLKREQ_BUG)) { tg3_flag 5464 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, INIT_COMPLETE) && tg3_flag 5731 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, HW_AUTONEG) && tg3_flag 5733 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, INIT_COMPLETE)) { tg3_flag 5765 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_AUTONEG)) tg3_flag 5987 drivers/net/ethernet/broadcom/tg3.c } else if (!tg3_flag(tp, 5780_CLASS)) { tg3_flag 6119 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) { tg3_flag 6128 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ASPM_WORKAROUND)) { tg3_flag 6175 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PTP_CAPABLE)) { tg3_flag 6364 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, PTP_CAPABLE)) tg3_flag 6376 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, PTP_CAPABLE)) tg3_flag 6385 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, PTP_CAPABLE) || !tp->ptp_clock) tg3_flag 6429 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, SUPPORT_MSIX)) tg3_flag 6441 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) { tg3_flag 6453 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NVRAM)) tg3_flag 6466 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_EXPRESS)) { tg3_flag 6521 drivers/net/ethernet/broadcom/tg3.c BUG_ON(tg3_flag(tp, MBOX_WRITE_REORDER) || tg3_flag 6554 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_TSS)) tg3_flag 6989 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_RSS)) { tg3_flag 7026 drivers/net/ethernet/broadcom/tg3.c if (!(tg3_flag(tp, USE_LINKCHG_REG) || tg3_flag(tp, POLL_SERDES))) { tg3_flag 7033 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) { tg3_flag 7180 drivers/net/ethernet/broadcom/tg3.c if (unlikely(tg3_flag(tp, TX_RECOVERY_PENDING))) tg3_flag 7194 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_RSS) && tnapi == &tp->napi[1]) { tg3_flag 7245 drivers/net/ethernet/broadcom/tg3.c if (unlikely(tg3_flag(tp, TX_RECOVERY_PENDING))) tg3_flag 7300 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ERROR_PROCESSED)) tg3_flag 7344 drivers/net/ethernet/broadcom/tg3.c if (unlikely(tg3_flag(tp, TX_RECOVERY_PENDING))) tg3_flag 7350 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TAGGED_STATUS)) { tg3_flag 7531 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, CHIP_RESETTING) || tg3_flag 7580 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, CHIP_RESETTING) || tg3_flag 7687 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 40BIT_DMA_BUG)) tg3_flag 7712 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, SHORT_DMA_BUG) && len <= 8) tg3_flag 7932 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_TSS)) tg3_flag 7980 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, TSO_BUG)) { tg3_flag 7997 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_TSO_1) || tg3_flag 7998 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_2) || tg3_flag 7999 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_3)) { tg3_flag 8007 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_TSO_3)) { tg3_flag 8012 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, HW_TSO_2)) tg3_flag 8014 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, HW_TSO_1) || tg3_flag 8043 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_JUMBO_BDFLAG) && tg3_flag 8053 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, TX_TSTAMP_EN)) { tg3_flag 8070 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5701_DMA_BUG)) tg3_flag 8080 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, HW_TSO_1) && tg3_flag 8081 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, HW_TSO_2) && tg3_flag 8082 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, HW_TSO_3)) tg3_flag 8183 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 8193 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS) || tg3_flag 8265 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5780_CLASS)) { tg3_flag 8327 drivers/net/ethernet/broadcom/tg3.c if (dev->mtu > ETH_DATA_LEN && tg3_flag(tp, 5780_CLASS)) tg3_flag 8354 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_CAPABLE)) { tg3_flag 8370 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_CAPABLE) && !tg3_flag(tp, 5780_CLASS)) { tg3_flag 8407 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5780_CLASS) && tg3_flag 8443 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, JUMBO_CAPABLE) || tg3_flag(tp, 5780_CLASS)) tg3_flag 8448 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, JUMBO_RING_ENABLE)) tg3_flag 8520 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_CAPABLE) && !tg3_flag(tp, 5780_CLASS)) { tg3_flag 8643 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_TSS)) tg3_flag 8697 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_RSS)) tg3_flag 8710 drivers/net/ethernet/broadcom/tg3.c if (!i && tg3_flag(tp, ENABLE_RSS)) tg3_flag 8788 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_RSS)) { tg3_flag 8837 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS)) { tg3_flag 8973 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, PCIX_MODE)) tg3_flag 8976 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) tg3_flag 8984 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, PCI_EXPRESS)) { tg3_flag 8992 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCIX_MODE)) { tg3_flag 9002 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5780_CLASS)) { tg3_flag 9007 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USING_MSI)) { tg3_flag 9093 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5755_PLUS)) tg3_flag 9139 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_EXPRESS)) { tg3_flag 9142 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, 57765_PLUS) && tg3_flag 9167 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS) && !tg3_flag(tp, CPMU_PRESENT)) tg3_flag 9200 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_EXPRESS) && pci_is_pcie(tp->pdev)) { tg3_flag 9222 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, CPMU_PRESENT)) tg3_flag 9240 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5780_CLASS)) tg3_flag 9249 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, IS_SSB_CORE)) { tg3_flag 9295 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_EXPRESS) && tg3_flag 9298 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, 57765_PLUS)) { tg3_flag 9329 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS)) tg3_flag 9391 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF)) { tg3_flag 9427 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 9438 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_TSS)) { tg3_flag 9471 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_RSS)) { tg3_flag 9505 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) { tg3_flag 9524 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 9526 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, 5717_PLUS)) tg3_flag 9528 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, 57765_CLASS) || tg3_flag 9546 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_TSS)) tg3_flag 9567 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5717_PLUS)) tg3_flag 9569 drivers/net/ethernet/broadcom/tg3.c else if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 9573 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 57765_CLASS)) tg3_flag 9590 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_RSS)) tg3_flag 9623 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, SUPPORT_MSIX)) { tg3_flag 9627 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_TSS)) tg3_flag 9635 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_TSS)) tg3_flag 9645 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) { tg3_flag 9680 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5750_PLUS) || tg3_flag 9681 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5780_CLASS) || tg3_flag 9684 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 57765_PLUS)) tg3_flag 9698 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS)) tg3_flag 9701 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, JUMBO_CAPABLE) || tg3_flag(tp, 5780_CLASS)) tg3_flag 9711 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS)) tg3_flag 9760 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_ASF)) tg3_flag 9828 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, SUPPORT_MSIX)) tg3_flag 9884 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, INIT_COMPLETE)) tg3_flag 9943 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, L1PLLPD_EN)) { tg3_flag 9957 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_CLASS)) { tg3_flag 10007 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, CPMU_PRESENT)) { tg3_flag 10008 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, PCI_EXPRESS)) tg3_flag 10014 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, PCIX_MODE)) { tg3_flag 10020 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) { tg3_flag 10047 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS)) { tg3_flag 10052 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 57765_CLASS) && tg3_flag 10084 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PTP_CAPABLE)) tg3_flag 10106 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS)) { tg3_flag 10116 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, TSO_CAPABLE)) { tg3_flag 10192 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5717_PLUS)) tg3_flag 10197 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 10205 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, JUMBO_CAPABLE) && !tg3_flag(tp, 5780_CLASS))) { tg3_flag 10207 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_RING_ENABLE)) { tg3_flag 10216 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, USE_JUMBO_BDFLAG) || tg3_flag 10217 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 57765_CLASS) || tg3_flag 10226 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS)) { tg3_flag 10241 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, JUMBO_RING_ENABLE) ? tp->rx_jumbo_pending : 0; tg3_flag 10293 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TSO_CAPABLE) && tg3_flag 10297 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, IS_5788)) { tg3_flag 10302 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_EXPRESS)) tg3_flag 10313 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_TSO_1) || tg3_flag 10314 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_2) || tg3_flag 10315 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_3)) tg3_flag 10318 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS) || tg3_flag 10331 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 57765_PLUS)) { tg3_flag 10369 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS)) { tg3_flag 10374 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, TSO_CAPABLE)) { tg3_flag 10397 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) { tg3_flag 10423 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 10436 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) tg3_flag 10438 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS) && tg3_flag 10451 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, IS_NIC)) { tg3_flag 10469 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, EEPROM_WRITE_PROT)) tg3_flag 10476 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USING_MSIX)) { tg3_flag 10481 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 1SHOT_MSI)) tg3_flag 10486 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) { tg3_flag 10499 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TSO_CAPABLE) && tg3_flag 10504 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, IS_5788)) { tg3_flag 10510 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5755_PLUS)) tg3_flag 10519 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCIX_MODE)) { tg3_flag 10553 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 10565 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, LRG_PROD_RING_CAP)) tg3_flag 10569 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_TSO_1) || tg3_flag 10570 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_2) || tg3_flag 10571 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_3)) tg3_flag 10574 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_TSS)) tg3_flag 10592 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TSO_CAPABLE)) { tg3_flag 10600 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5755_PLUS) || tg3_flag 10614 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_RSS)) { tg3_flag 10626 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5755_PLUS)) tg3_flag 10632 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_RSS)) tg3_flag 10670 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_CLASS)) tg3_flag 10693 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, USE_PHYLIB)) { tg3_flag 10722 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS) && !tg3_flag(tp, 5780_CLASS)) tg3_flag 10726 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF)) tg3_flag 10776 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) tg3_flag 10921 drivers/net/ethernet/broadcom/tg3.c if (unlikely(tg3_flag(tp, 5719_5720_RDMA_BUG) && tg3_flag 10996 drivers/net/ethernet/broadcom/tg3.c if (tp->irq_sync || tg3_flag(tp, RESET_TASK_PENDING)) { tg3_flag 11002 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 57765_CLASS)) tg3_flag 11005 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, FLUSH_POSTED_WRITES)) { tg3_flag 11010 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, TAGGED_STATUS)) { tg3_flag 11032 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS)) tg3_flag 11038 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_LINKCHG_REG)) { tg3_flag 11053 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, POLL_SERDES)) { tg3_flag 11078 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5780_CLASS)) { tg3_flag 11080 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, POLL_CPMU_LINK)) { tg3_flag 11110 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF) && !tg3_flag(tp, ENABLE_APE)) { tg3_flag 11136 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TAGGED_STATUS) && tg3_flag 11138 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, 57765_CLASS)) tg3_flag 11213 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TX_RECOVERY_PENDING)) { tg3_flag 11263 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USING_MSI) || tg3_flag(tp, USING_MSIX)) { tg3_flag 11265 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 1SHOT_MSI)) tg3_flag 11270 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TAGGED_STATUS)) tg3_flag 11296 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS)) { tg3_flag 11324 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS) && tg3_flag 11342 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS) && tg3_flag(tp, 1SHOT_MSI)) { tg3_flag 11360 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, USING_MSI)) tg3_flag 11521 drivers/net/ethernet/broadcom/tg3.c if ((tg3_flag(tp, SUPPORT_MSI) || tg3_flag(tp, SUPPORT_MSIX)) && tg3_flag 11522 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, TAGGED_STATUS)) { tg3_flag 11531 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, SUPPORT_MSIX) && tg3_enable_msix(tp)) tg3_flag 11533 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, SUPPORT_MSI) && pci_enable_msi(tp->pdev) == 0) tg3_flag 11536 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USING_MSI) || tg3_flag(tp, USING_MSIX)) { tg3_flag 11538 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USING_MSIX) && tp->irq_cnt > 1) tg3_flag 11540 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 1SHOT_MSI)) tg3_flag 11545 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, USING_MSIX)) { tg3_flag 11560 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USING_MSIX)) tg3_flag 11562 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, USING_MSI)) tg3_flag 11623 drivers/net/ethernet/broadcom/tg3.c if (test_irq && tg3_flag(tp, USING_MSI)) { tg3_flag 11635 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 57765_PLUS) && tg3_flag(tp, USING_MSI)) { tg3_flag 11747 drivers/net/ethernet/broadcom/tg3.c } else if (!tg3_flag(tp, TSO_CAPABLE)) { tg3_flag 12007 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NO_NVRAM)) tg3_flag 12017 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, CPMU_PRESENT)) { tg3_flag 12098 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NO_NVRAM) || tg3_flag 12152 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) { tg3_flag 12183 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PAUSE_AUTONEG)) { tg3_flag 12228 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) { tg3_flag 12331 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, WOL_CAP) && device_can_wakeup(&tp->pdev->dev)) tg3_flag 12336 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, WOL_ENABLE) && device_can_wakeup(&tp->pdev->dev)) tg3_flag 12349 drivers/net/ethernet/broadcom/tg3.c !(tg3_flag(tp, WOL_CAP) && device_can_wakeup(dp))) tg3_flag 12387 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) { tg3_flag 12415 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_RING_ENABLE)) tg3_flag 12423 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_RING_ENABLE)) tg3_flag 12441 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, TSO_BUG) && tg3_flag 12455 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, MAX_RXPEND_64) && tg3_flag 12459 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_RING_ENABLE)) tg3_flag 12490 drivers/net/ethernet/broadcom/tg3.c epause->autoneg = !!tg3_flag(tp, PAUSE_AUTONEG); tg3_flag 12512 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) { tg3_flag 12613 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, SUPPORT_MSIX)) tg3_flag 12638 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, SUPPORT_MSIX)) tg3_flag 12679 drivers/net/ethernet/broadcom/tg3.c if (!netif_running(dev) || !tg3_flag(tp, ENABLE_RSS)) tg3_flag 12722 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, SUPPORT_MSIX)) tg3_flag 12809 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NO_NVRAM) || tg3_nvram_read(tp, 0, &magic)) tg3_flag 12894 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NO_NVRAM)) tg3_flag 13244 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS)) { tg3_flag 13246 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS)) tg3_flag 13257 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, IS_5788) && tg3_flag 13380 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5717_PLUS)) tg3_flag 13382 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, 57765_CLASS) || tg3_flag 13385 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, 5755_PLUS)) tg3_flag 13389 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, 5705_PLUS)) tg3_flag 13442 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_RSS)) tg3_flag 13444 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_TSS)) tg3_flag 13481 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_TSO_1) || tg3_flag 13482 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_2) || tg3_flag 13483 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_3)) { tg3_flag 13491 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_TSO_3)) { tg3_flag 13496 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, HW_TSO_2)) tg3_flag 13498 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, HW_TSO_1) || tg3_flag 13510 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_JUMBO_BDFLAG) && tg3_flag 13671 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_RSS)) { tg3_flag 13686 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, CPMU_PRESENT)) { tg3_flag 13692 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_RING_ENABLE) && tg3_flag 13700 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, USE_PHYLIB)) { tg3_flag 13714 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TSO_CAPABLE) && tg3_flag 13717 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_RING_ENABLE) && tg3_flag 13733 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TSO_CAPABLE) && tg3_flag 13737 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, JUMBO_RING_ENABLE) && tg3_flag 13795 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 13851 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, PTP_CAPABLE)) tg3_flag 13938 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, PTP_CAPABLE)) tg3_flag 13942 drivers/net/ethernet/broadcom/tg3.c stmpconf.tx_type = (tg3_flag(tp, TX_TSTAMP_EN) ? tg3_flag 14000 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) { tg3_flag 14073 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) { tg3_flag 14207 drivers/net/ethernet/broadcom/tg3.c if (!tp->hw_stats || !tg3_flag(tp, INIT_COMPLETE)) { tg3_flag 14235 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5780_CLASS)) { tg3_flag 14242 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5780_CLASS)) { tg3_flag 14352 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NO_NVRAM) || tg3_nvram_read(tp, 0, &val) != 0) tg3_flag 14394 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5780_CLASS)) { tg3_flag 14489 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, FLASH)) { tg3_flag 14994 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, IS_SSB_CORE)) { tg3_flag 15041 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 57765_CLASS)) tg3_flag 15219 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 15225 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS)) tg3_flag 15260 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5717_PLUS) || tg3_flag 15302 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS)) tg3_flag 15307 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5750_PLUS)) tg3_flag 15314 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, WOL_CAP) && tg3_flag 15328 drivers/net/ethernet/broadcom/tg3.c if ((tg3_flag(tp, 57765_PLUS) || tg3_flag 15334 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_EXPRESS)) { tg3_flag 15339 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, 57765_PLUS) && tg3_flag 15359 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, WOL_CAP)) tg3_flag 15361 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, WOL_ENABLE)); tg3_flag 15487 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) { tg3_flag 15504 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, ENABLE_ASF) && tg3_flag 15510 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) tg3_flag 15517 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF) || tg3_flag(tp, ENABLE_APE)) { tg3_flag 15555 drivers/net/ethernet/broadcom/tg3.c } else if (!tg3_flag(tp, IS_SSB_CORE)) { tg3_flag 15596 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, ENABLE_APE) && tg3_flag 15597 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, ENABLE_ASF)) { tg3_flag 15910 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS)) tg3_flag 15968 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, APE_HAS_NCSI)) tg3_flag 16018 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, NO_NVRAM)) { tg3_flag 16034 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_ASF)) { tg3_flag 16035 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) { tg3_flag 16049 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, LRG_PROD_RING_CAP)) tg3_flag 16051 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, JUMBO_CAPABLE) && !tg3_flag(tp, 5780_CLASS)) tg3_flag 16150 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_CLASS) || tg3_flag(tp, 5717_PLUS) || tg3_flag 16161 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 57765_PLUS)) tg3_flag 16171 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5755_PLUS) || tg3_flag 16172 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5780_CLASS)) tg3_flag 16176 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5750_PLUS)) tg3_flag 16331 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5780_CLASS)) { tg3_flag 16360 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, 57765_PLUS)) tg3_flag 16362 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, 5755_PLUS) || tg3_flag 16365 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, 5750_PLUS)) { tg3_flag 16383 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_TSO_1) || tg3_flag 16384 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_2) || tg3_flag 16385 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_3) || tg3_flag 16386 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, FW_TSO)) { tg3_flag 16406 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5750_PLUS)) { tg3_flag 16415 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5755_PLUS) || tg3_flag 16420 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS)) { tg3_flag 16437 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5755_PLUS) || tg3_flag 16450 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS) && tg3_flag 16454 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, 5705_PLUS) || tg3_flag 16455 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5780_CLASS) || tg3_flag 16456 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, USE_JUMBO_BDFLAG)) tg3_flag 16487 drivers/net/ethernet/broadcom/tg3.c } else if (!tg3_flag(tp, 5705_PLUS) || tg3_flag 16488 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5780_CLASS)) { tg3_flag 16507 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, PCI_EXPRESS)) tg3_flag 16535 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCIX_MODE)) { tg3_flag 16581 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCIX_TARGET_HWBUG)) tg3_flag 16584 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, PCI_EXPRESS) && tg3_flag 16596 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TXD_MBOX_HWBUG) || tg3_flag(tp, MBOX_WRITE_REORDER)) { tg3_flag 16598 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, MBOX_WRITE_REORDER)) tg3_flag 16602 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ICH_WORKAROUND)) { tg3_flag 16625 drivers/net/ethernet/broadcom/tg3.c (tg3_flag(tp, PCIX_MODE) && tg3_flag 16640 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5780_CLASS)) { tg3_flag 16641 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCIX_MODE)) { tg3_flag 16661 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, FLUSH_POSTED_WRITES)) { tg3_flag 16676 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, FW_TSO) && tg3_flag(tp, ENABLE_ASF)) { tg3_flag 16682 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) { tg3_flag 16704 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, EEPROM_WRITE_PROT)) tg3_flag 16715 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 57765_CLASS)) tg3_flag 16722 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, IS_NIC)) tg3_flag 16738 drivers/net/ethernet/broadcom/tg3.c if (tp->dev->mtu > ETH_DATA_LEN && !tg3_flag(tp, 5780_CLASS)) tg3_flag 16769 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS) && tg3_flag 16773 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, 57765_PLUS)) { tg3_flag 16794 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, CPMU_PRESENT)) tg3_flag 16846 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, PCIX_TARGET_HWBUG)) { tg3_flag 16872 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, NO_NVRAM)) tg3_flag 16883 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, IS_5788) && tg3_flag 16886 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, TAGGED_STATUS)) { tg3_flag 16896 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE)) tg3_flag 16949 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ENABLE_APE) && tg3_flag(tp, ENABLE_ASF)) tg3_flag 16955 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, PCIX_MODE)) { tg3_flag 16976 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ASPM_WORKAROUND)) tg3_flag 16993 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, IS_SSB_CORE)) { tg3_flag 17001 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, 5780_CLASS)) { tg3_flag 17008 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, 5717_PLUS)) { tg3_flag 17033 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, NO_NVRAM) && tg3_flag 17078 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, PCI_EXPRESS)) tg3_flag 17091 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS)) { tg3_flag 17110 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCIX_MODE) && !tg3_flag(tp, PCI_EXPRESS)) { tg3_flag 17135 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, PCI_EXPRESS)) { tg3_flag 17308 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS)) tg3_flag 17311 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_EXPRESS)) { tg3_flag 17314 drivers/net/ethernet/broadcom/tg3.c } else if (!tg3_flag(tp, PCIX_MODE)) { tg3_flag 17330 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 40BIT_DMA_BUG) && tg3_flag 17353 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, ONE_DMA_AT_ONCE)) tg3_flag 17466 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 57765_PLUS)) { tg3_flag 17480 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, 5705_PLUS)) { tg3_flag 17554 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_EXPRESS)) { tg3_flag 17557 drivers/net/ethernet/broadcom/tg3.c } else if (tg3_flag(tp, PCIX_MODE)) { tg3_flag 17576 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_HIGH_SPEED)) tg3_flag 17581 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PCI_32BIT)) tg3_flag 17612 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5705_PLUS)) { tg3_flag 17759 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, IS_5788)) tg3_flag 17761 drivers/net/ethernet/broadcom/tg3.c else if (tg3_flag(tp, 40BIT_DMA_BUG)) { tg3_flag 17800 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, 5755_PLUS)) tg3_flag 17808 drivers/net/ethernet/broadcom/tg3.c if ((tg3_flag(tp, HW_TSO_1) || tg3_flag 17809 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_2) || tg3_flag 17810 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, HW_TSO_3)) && tg3_flag 17813 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_TSO_2) || tg3_flag(tp, HW_TSO_3)) { tg3_flag 17816 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, HW_TSO_3) || tg3_flag 17835 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, CPMU_PRESENT)) tg3_flag 17847 drivers/net/ethernet/broadcom/tg3.c !tg3_flag(tp, TSO_CAPABLE) && tg3_flag 17883 drivers/net/ethernet/broadcom/tg3.c if (!tg3_flag(tp, SUPPORT_MSIX)) tg3_flag 17942 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, PTP_CAPABLE)) { tg3_flag 17975 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, USE_LINKCHG_REG) != 0, tg3_flag 17977 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, ENABLE_ASF) != 0, tg3_flag 17978 drivers/net/ethernet/broadcom/tg3.c tg3_flag(tp, TSO_CAPABLE) != 0); tg3_flag 18025 drivers/net/ethernet/broadcom/tg3.c if (tg3_flag(tp, USE_PHYLIB)) {