Lines Matching refs:nic_cfg
9411 u32 nic_cfg; in tg3_chip_reset() local
9413 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_chip_reset()
9414 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_chip_reset()
9420 tg3_read_mem(tp, NIC_SRAM_DATA_CFG_3, &nic_cfg); in tg3_chip_reset()
9421 if (nic_cfg & NIC_SRAM_1G_ON_VAUX_OK) in tg3_chip_reset()
9423 if (nic_cfg & NIC_SRAM_LNK_FLAP_AVOID) in tg3_chip_reset()
15276 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local
15281 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_get_eeprom_hw_cfg()
15282 tp->nic_sram_data_cfg = nic_cfg; in tg3_get_eeprom_hw_cfg()
15300 if ((nic_cfg & NIC_SRAM_DATA_CFG_PHY_TYPE_MASK) == in tg3_get_eeprom_hw_cfg()
15327 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg()
15386 if (nic_cfg & NIC_SRAM_DATA_CFG_EEPROM_WP) { in tg3_get_eeprom_hw_cfg()
15398 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_get_eeprom_hw_cfg()
15404 if ((nic_cfg & NIC_SRAM_DATA_CFG_APE_ENABLE) && in tg3_get_eeprom_hw_cfg()
15409 !(nic_cfg & NIC_SRAM_DATA_CFG_FIBER_WOL)) in tg3_get_eeprom_hw_cfg()
15413 (nic_cfg & NIC_SRAM_DATA_CFG_WOL_ENABLE)) { in tg3_get_eeprom_hw_cfg()