Searched refs:I40E_NVM_SECTOR_SIZE (Results 1 – 1 of 1) sorted by relevance
1771 #define I40E_NVM_SECTOR_SIZE 4096 in i40e_get_eeprom() macro1815 sectors = eeprom->len / I40E_NVM_SECTOR_SIZE; in i40e_get_eeprom()1816 sectors += (eeprom->len % I40E_NVM_SECTOR_SIZE) ? 1 : 0; in i40e_get_eeprom()1817 len = I40E_NVM_SECTOR_SIZE; in i40e_get_eeprom()1821 len = eeprom->len - (I40E_NVM_SECTOR_SIZE * i); in i40e_get_eeprom()1824 offset = eeprom->offset + (I40E_NVM_SECTOR_SIZE * i), in i40e_get_eeprom()1826 (u8 *)eeprom_buff + (I40E_NVM_SECTOR_SIZE * i), in i40e_get_eeprom()