Lines Matching refs:nic_cfg
9315 u32 nic_cfg; in tg3_chip_reset() local
9317 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_chip_reset()
9318 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_chip_reset()
9324 tg3_read_mem(tp, NIC_SRAM_DATA_CFG_3, &nic_cfg); in tg3_chip_reset()
9325 if (nic_cfg & NIC_SRAM_1G_ON_VAUX_OK) in tg3_chip_reset()
9327 if (nic_cfg & NIC_SRAM_LNK_FLAP_AVOID) in tg3_chip_reset()
15181 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local
15186 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_get_eeprom_hw_cfg()
15187 tp->nic_sram_data_cfg = nic_cfg; in tg3_get_eeprom_hw_cfg()
15205 if ((nic_cfg & NIC_SRAM_DATA_CFG_PHY_TYPE_MASK) == in tg3_get_eeprom_hw_cfg()
15232 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg()
15291 if (nic_cfg & NIC_SRAM_DATA_CFG_EEPROM_WP) { in tg3_get_eeprom_hw_cfg()
15303 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_get_eeprom_hw_cfg()
15309 if ((nic_cfg & NIC_SRAM_DATA_CFG_APE_ENABLE) && in tg3_get_eeprom_hw_cfg()
15314 !(nic_cfg & NIC_SRAM_DATA_CFG_FIBER_WOL)) in tg3_get_eeprom_hw_cfg()
15318 (nic_cfg & NIC_SRAM_DATA_CFG_WOL_ENABLE)) { in tg3_get_eeprom_hw_cfg()