Lines Matching refs:nic_cfg
9285 u32 nic_cfg; in tg3_chip_reset() local
9287 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_chip_reset()
9288 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_chip_reset()
9294 tg3_read_mem(tp, NIC_SRAM_DATA_CFG_3, &nic_cfg); in tg3_chip_reset()
9295 if (nic_cfg & NIC_SRAM_1G_ON_VAUX_OK) in tg3_chip_reset()
9297 if (nic_cfg & NIC_SRAM_LNK_FLAP_AVOID) in tg3_chip_reset()
15109 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local
15114 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_get_eeprom_hw_cfg()
15115 tp->nic_sram_data_cfg = nic_cfg; in tg3_get_eeprom_hw_cfg()
15133 if ((nic_cfg & NIC_SRAM_DATA_CFG_PHY_TYPE_MASK) == in tg3_get_eeprom_hw_cfg()
15160 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg()
15219 if (nic_cfg & NIC_SRAM_DATA_CFG_EEPROM_WP) { in tg3_get_eeprom_hw_cfg()
15231 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_get_eeprom_hw_cfg()
15237 if ((nic_cfg & NIC_SRAM_DATA_CFG_APE_ENABLE) && in tg3_get_eeprom_hw_cfg()
15242 !(nic_cfg & NIC_SRAM_DATA_CFG_FIBER_WOL)) in tg3_get_eeprom_hw_cfg()
15246 (nic_cfg & NIC_SRAM_DATA_CFG_WOL_ENABLE)) { in tg3_get_eeprom_hw_cfg()