Lines Matching refs:nic_cfg
9317 u32 nic_cfg; in tg3_chip_reset() local
9319 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_chip_reset()
9320 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_chip_reset()
9326 tg3_read_mem(tp, NIC_SRAM_DATA_CFG_3, &nic_cfg); in tg3_chip_reset()
9327 if (nic_cfg & NIC_SRAM_1G_ON_VAUX_OK) in tg3_chip_reset()
9329 if (nic_cfg & NIC_SRAM_LNK_FLAP_AVOID) in tg3_chip_reset()
15182 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local
15187 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_get_eeprom_hw_cfg()
15188 tp->nic_sram_data_cfg = nic_cfg; in tg3_get_eeprom_hw_cfg()
15206 if ((nic_cfg & NIC_SRAM_DATA_CFG_PHY_TYPE_MASK) == in tg3_get_eeprom_hw_cfg()
15233 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg()
15292 if (nic_cfg & NIC_SRAM_DATA_CFG_EEPROM_WP) { in tg3_get_eeprom_hw_cfg()
15304 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_get_eeprom_hw_cfg()
15310 if ((nic_cfg & NIC_SRAM_DATA_CFG_APE_ENABLE) && in tg3_get_eeprom_hw_cfg()
15315 !(nic_cfg & NIC_SRAM_DATA_CFG_FIBER_WOL)) in tg3_get_eeprom_hw_cfg()
15319 (nic_cfg & NIC_SRAM_DATA_CFG_WOL_ENABLE)) { in tg3_get_eeprom_hw_cfg()