Home
last modified time | relevance | path

Searched refs:I40E_NVM_SECTOR_SIZE (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c1864 #define I40E_NVM_SECTOR_SIZE 4096 in i40e_get_eeprom() macro
1908 sectors = eeprom->len / I40E_NVM_SECTOR_SIZE; in i40e_get_eeprom()
1909 sectors += (eeprom->len % I40E_NVM_SECTOR_SIZE) ? 1 : 0; in i40e_get_eeprom()
1910 len = I40E_NVM_SECTOR_SIZE; in i40e_get_eeprom()
1914 len = eeprom->len - (I40E_NVM_SECTOR_SIZE * i); in i40e_get_eeprom()
1917 offset = eeprom->offset + (I40E_NVM_SECTOR_SIZE * i), in i40e_get_eeprom()
1919 (u8 *)eeprom_buff + (I40E_NVM_SECTOR_SIZE * i), in i40e_get_eeprom()