Searched refs:I40E_NVM_SECTOR_SIZE (Results 1 – 1 of 1) sorted by relevance
1861 #define I40E_NVM_SECTOR_SIZE 4096 in i40e_get_eeprom() macro1905 sectors = eeprom->len / I40E_NVM_SECTOR_SIZE; in i40e_get_eeprom()1906 sectors += (eeprom->len % I40E_NVM_SECTOR_SIZE) ? 1 : 0; in i40e_get_eeprom()1907 len = I40E_NVM_SECTOR_SIZE; in i40e_get_eeprom()1911 len = eeprom->len - (I40E_NVM_SECTOR_SIZE * i); in i40e_get_eeprom()1914 offset = eeprom->offset + (I40E_NVM_SECTOR_SIZE * i), in i40e_get_eeprom()1916 (u8 *)eeprom_buff + (I40E_NVM_SECTOR_SIZE * i), in i40e_get_eeprom()