Home
last modified time | relevance | path

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

/freebsd/sys/dev/ixl/
H A Di40e_nvm.c51 u8 sr_size; in i40e_init_nvm() local
59 sr_size = ((gens & I40E_GLNVM_GENS_SR_SIZE_MASK) >> in i40e_init_nvm()
62 nvm->sr_size = BIT(sr_size) * I40E_SR_WORDS_IN_1KB; in i40e_init_nvm()
215 if (offset >= hw->nvm.sr_size) { in i40e_read_nvm_word_srctl()
218 offset, hw->nvm.sr_size); in i40e_read_nvm_word_srctl()
278 if ((offset + words) > hw->nvm.sr_size) in i40e_read_nvm_aq()
281 (offset + words), hw->nvm.sr_size); in i40e_read_nvm_aq()
611 if ((offset + words) > hw->nvm.sr_size) in i40e_write_nvm_aq()
731 for (i = 0; i < hw->nvm.sr_size; i++) { in i40e_calc_nvm_checksum()
H A Di40e_type.h468 u16 sr_size; /* Shadow RAM size in words */ member
/freebsd/sys/dev/ice/
H A Dice_nvm.c1420 u8 sr_size; in ice_init_nvm()
1429 sr_size = (gens_stat & GLNVM_GENS_SR_SIZE_M) >> GLNVM_GENS_SR_SIZE_S; in ice_init_nvm()
1431 /* Switching to words (sr_size contains power of 2) */ in ice_init_nvm()
1432 flash->sr_words = BIT(sr_size) * ICE_SR_WORDS_IN_1KB; in ice_init_nvm()
1410 u8 sr_size; ice_init_nvm() local