Searched refs:I40E_NVM_SECTOR_SIZE (Results 1 – 1 of 1) sorted by relevance
1863 #define I40E_NVM_SECTOR_SIZE 4096 in i40e_get_eeprom() macro1907 sectors = eeprom->len / I40E_NVM_SECTOR_SIZE; in i40e_get_eeprom()1908 sectors += (eeprom->len % I40E_NVM_SECTOR_SIZE) ? 1 : 0; in i40e_get_eeprom()1909 len = I40E_NVM_SECTOR_SIZE; in i40e_get_eeprom()1913 len = eeprom->len - (I40E_NVM_SECTOR_SIZE * i); in i40e_get_eeprom()1916 offset = eeprom->offset + (I40E_NVM_SECTOR_SIZE * i), in i40e_get_eeprom()1918 (u8 *)eeprom_buff + (I40E_NVM_SECTOR_SIZE * i), in i40e_get_eeprom()