Lines Matching refs:nic_cfg
7264 u32 nic_cfg; in tg3_chip_reset() local
7266 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_chip_reset()
7267 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_chip_reset()
12339 u32 nic_cfg, led_cfg; in tg3_get_eeprom_hw_cfg() local
12343 tg3_read_mem(tp, NIC_SRAM_DATA_CFG, &nic_cfg); in tg3_get_eeprom_hw_cfg()
12344 tp->nic_sram_data_cfg = nic_cfg; in tg3_get_eeprom_hw_cfg()
12357 if ((nic_cfg & NIC_SRAM_DATA_CFG_PHY_TYPE_MASK) == in tg3_get_eeprom_hw_cfg()
12384 led_cfg = nic_cfg & NIC_SRAM_DATA_CFG_LED_MODE_MASK; in tg3_get_eeprom_hw_cfg()
12439 if (nic_cfg & NIC_SRAM_DATA_CFG_EEPROM_WP) { in tg3_get_eeprom_hw_cfg()
12451 if (nic_cfg & NIC_SRAM_DATA_CFG_ASF_ENABLE) { in tg3_get_eeprom_hw_cfg()
12457 if ((nic_cfg & NIC_SRAM_DATA_CFG_APE_ENABLE) && in tg3_get_eeprom_hw_cfg()
12462 !(nic_cfg & NIC_SRAM_DATA_CFG_FIBER_WOL)) in tg3_get_eeprom_hw_cfg()
12466 (nic_cfg & NIC_SRAM_DATA_CFG_WOL_ENABLE)) { in tg3_get_eeprom_hw_cfg()