Searched refs:sr_size (Results 1 – 5 of 5) sorted by relevance
24 u8 sr_size; in i40e_init_nvm() local30 sr_size = ((gens & I40E_GLNVM_GENS_SR_SIZE_MASK) >> in i40e_init_nvm()33 nvm->sr_size = BIT(sr_size) * I40E_SR_WORDS_IN_1KB; in i40e_init_nvm()177 if (offset >= hw->nvm.sr_size) { in i40e_read_nvm_word_srctl()180 offset, hw->nvm.sr_size); in i40e_read_nvm_word_srctl()238 if ((offset + words) > hw->nvm.sr_size) in i40e_read_nvm_aq()241 (offset + words), hw->nvm.sr_size); in i40e_read_nvm_aq()565 if ((offset + words) > hw->nvm.sr_size) in i40e_write_nvm_aq()568 (offset + words), hw->nvm.sr_size); in i40e_write_nvm_aq()635 for (i = 0; i < hw->nvm.sr_size; i++) { in i40e_calc_nvm_checksum()
295 u16 sr_size; /* Shadow RAM size in words */ member
812 sc->sr_size = sci->credits + 1; in sc_alloc()813 sc->sr = kcalloc_node(sc->sr_size, in sc_alloc()909 if (sc->sr_tail >= sc->sr_size) in sc_disable()1479 if (next >= sc->sr_size) in sc_buffer_alloc()1698 if (tail >= sc->sr_size) in sc_release_update()2133 sc->sr_size, sc->credits, sc->sr_head, sc->sr_tail); in seqfile_dump_sci()
65 u32 sr_size; /* size of the shadow ring */ member
1037 u8 sr_size; in ice_init_nvm() local1044 sr_size = (gens_stat & GLNVM_GENS_SR_SIZE_M) >> GLNVM_GENS_SR_SIZE_S; in ice_init_nvm()1047 flash->sr_words = BIT(sr_size) * ICE_SR_WORDS_IN_1KB; in ice_init_nvm()