Searched refs:cursize (Results 1 – 1 of 1) sorted by relevance
14378 u32 cursize, val, magic; in tg3_get_eeprom_size() local14395 cursize = 0x10; in tg3_get_eeprom_size()14397 while (cursize < tp->nvram_size) { in tg3_get_eeprom_size()14398 if (tg3_nvram_read(tp, cursize, &val) != 0) in tg3_get_eeprom_size()14404 cursize <<= 1; in tg3_get_eeprom_size()14407 tp->nvram_size = cursize; in tg3_get_eeprom_size()