Searched refs:sr_size (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c64 u8 sr_size; local
72 sr_size = ((gens & I40E_GLNVM_GENS_SR_SIZE_MASK) >>
74 /* Switching to words (sr_size contains power of 2KB) */
75 nvm->sr_size = BIT(sr_size) * I40E_SR_WORDS_IN_1KB;
244 if (offset >= hw->nvm.sr_size) {
247 offset, hw->nvm.sr_size);
440 if ((offset + words) > hw->nvm.sr_size)
443 (offset + words), hw->nvm.sr_size);
492 if ((offset + words) > hw->nvm.sr_size)
[all...]
H A Di40e_type.h392 u16 sr_size; /* Shadow RAM size in words */ member in struct:i40e_nvm_info
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtwvar.h136 uint16_t sr_size; member in struct:rtw_srom
H A Drtw.c667 kmem_free(sr->sr_content, sr->sr_size);
668 sr->sr_size = 0;
803 sr->sr_size = 256;
807 sr->sr_size = 128;
817 sr->sr_content = kmem_zalloc(sr->sr_size, KM_SLEEP);
825 (void) memset(sr->sr_content, 0, sr->sr_size);
851 if (!read_seeprom(&sd, sr->sr_content, 0, sr->sr_size/2)) {
853 kmem_free(sr->sr_content, sr->sr_size);
873 for (i = 0; i < sr->sr_size/2; i++) {

Completed in 91 milliseconds