Searched refs:eeprom_size (Results 1 – 2 of 2) sorted by relevance
188 int eeprom_size = (inf_3c90x->isBrev ? 0x20 : 0x17) * 2; in a3c90x_internal_ReadEepromContents() local192 nvs_read(&inf_3c90x->nvs, 0, inf_3c90x->eeprom, eeprom_size); in a3c90x_internal_ReadEepromContents()
4505 uint16_t eeprom_size; in e1000_init_eeprom_params() local4696 ret_val = e1000_read_eeprom(hw, EEPROM_CFG, 1, &eeprom_size); in e1000_init_eeprom_params()4699 eeprom_size = (eeprom_size & EEPROM_SIZE_MASK) >> EEPROM_SIZE_SHIFT; in e1000_init_eeprom_params()4703 if (eeprom_size) in e1000_init_eeprom_params()4704 eeprom_size++; in e1000_init_eeprom_params()4706 eeprom_size = (uint16_t)((eecd & E1000_EECD_SIZE_EX_MASK) >> in e1000_init_eeprom_params()4710 eeprom->word_size = 1 << (eeprom_size + EEPROM_WORD_SIZE_SHIFT); in e1000_init_eeprom_params()