Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_nvm.c192 u8 sr_size; in ice_init_nvm() local
198 sr_size = (gens_stat & GLNVM_GENS_SR_SIZE_M) >> GLNVM_GENS_SR_SIZE_S; in ice_init_nvm()
201 nvm->sr_words = BIT(sr_size) * ICE_SR_WORDS_IN_1KB; in ice_init_nvm()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c21 u8 sr_size; in i40e_init_nvm() local
27 sr_size = ((gens & I40E_GLNVM_GENS_SR_SIZE_MASK) >> in i40e_init_nvm()
30 nvm->sr_size = BIT(sr_size) * I40E_SR_WORDS_IN_1KB; in i40e_init_nvm()
174 if (offset >= hw->nvm.sr_size) { in i40e_read_nvm_word_srctl()
177 offset, hw->nvm.sr_size); in i40e_read_nvm_word_srctl()
235 if ((offset + words) > hw->nvm.sr_size) in i40e_read_nvm_aq()
238 (offset + words), hw->nvm.sr_size); in i40e_read_nvm_aq()
458 if ((offset + words) > hw->nvm.sr_size) in i40e_write_nvm_aq()
461 (offset + words), hw->nvm.sr_size); in i40e_write_nvm_aq()
528 for (i = 0; i < hw->nvm.sr_size; i++) { in i40e_calc_nvm_checksum()
Di40e_type.h356 u16 sr_size; /* Shadow RAM size in words */ member
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dpio.h107 u32 sr_size; /* size of the shadow ring */ member
Dpio.c861 sc->sr_size = sci->credits + 1; in sc_alloc()
862 sc->sr = kcalloc_node(sc->sr_size, in sc_alloc()
957 if (sc->sr_tail >= sc->sr_size) in sc_disable()
1509 if (next >= sc->sr_size) in sc_buffer_alloc()
1725 if (tail >= sc->sr_size) in sc_release_update()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40e_type.h315 u16 sr_size; /* Shadow RAM size in words */ member