/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_nvm.c | 47 struct e1000_nvm_info *nvm = &hw->nvm; local 51 nvm->ops.init_params = e1000_null_ops_generic; 52 nvm->ops.acquire = e1000_null_ops_generic; 53 nvm->ops.read = e1000_null_read_nvm; 54 nvm->ops.release = e1000_null_nvm_generic; 55 nvm->ops.reload = e1000_reload_nvm_generic; 56 nvm->ops.update = e1000_null_ops_generic; 57 nvm->ops.valid_led_default = e1000_null_led_default; 58 nvm 149 struct e1000_nvm_info *nvm = &hw->nvm; local 297 struct e1000_nvm_info *nvm = &hw->nvm; local 383 struct e1000_nvm_info *nvm = &hw->nvm; local 442 struct e1000_nvm_info *nvm = &hw->nvm; local 503 struct e1000_nvm_info *nvm = &hw->nvm; local 557 struct e1000_nvm_info *nvm = &hw->nvm; local 605 struct e1000_nvm_info *nvm = &hw->nvm; local 686 struct e1000_nvm_info *nvm = &hw->nvm; local [all...] |
H A D | e1000_i210.c | 165 s32 timeout = hw->nvm.word_size + 1; 249 if (hw->nvm.ops.acquire(hw) == E1000_SUCCESS) { 252 hw->nvm.ops.release(hw); 294 if (hw->nvm.ops.acquire(hw) == E1000_SUCCESS) { 297 hw->nvm.ops.release(hw); 324 struct e1000_nvm_info *nvm = &hw->nvm; local 335 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || 337 DEBUGOUT("nvm paramete 675 struct e1000_nvm_info *nvm = &hw->nvm; local [all...] |
H A D | e1000_82541.c | 130 struct e1000_nvm_info *nvm = &hw->nvm; local 137 switch (nvm->override) { 139 nvm->type = e1000_nvm_eeprom_spi; 143 nvm->type = e1000_nvm_eeprom_spi; 147 nvm->type = e1000_nvm_eeprom_microwire; 151 nvm->type = e1000_nvm_eeprom_microwire; 155 nvm->type = eecd & E1000_EECD_TYPE ? e1000_nvm_eeprom_spi 160 if (nvm->type == e1000_nvm_eeprom_spi) { 161 nvm [all...] |
H A D | e1000_82540.c | 119 struct e1000_nvm_info *nvm = &hw->nvm; local 124 nvm->type = e1000_nvm_eeprom_microwire; 125 nvm->delay_usec = 50; 126 nvm->opcode_bits = 3; 127 switch (nvm->override) { 129 nvm->address_bits = 8; 130 nvm->word_size = 256; 133 nvm->address_bits = 6; 134 nvm [all...] |
H A D | e1000_82542.c | 76 struct e1000_nvm_info *nvm = &hw->nvm; local 80 nvm->address_bits = 6; 81 nvm->delay_usec = 50; 82 nvm->opcode_bits = 3; 83 nvm->type = e1000_nvm_eeprom_microwire; 84 nvm->word_size = 64; 87 nvm->ops.read = e1000_read_nvm_microwire; 88 nvm->ops.release = e1000_stop_nvm; 89 nvm [all...] |
H A D | e1000_82571.c | 207 struct e1000_nvm_info *nvm = &hw->nvm; local 213 nvm->opcode_bits = 8; 214 nvm->delay_usec = 1; 215 switch (nvm->override) { 217 nvm->page_size = 32; 218 nvm->address_bits = 16; 221 nvm->page_size = 8; 222 nvm->address_bits = 8; 225 nvm 914 struct e1000_nvm_info *nvm = &hw->nvm; local 1897 struct e1000_nvm_info *nvm = &hw->nvm; local [all...] |
H A D | e1000_80003es2lan.c | 142 struct e1000_nvm_info *nvm = &hw->nvm; local 148 nvm->opcode_bits = 8; 149 nvm->delay_usec = 1; 150 switch (nvm->override) { 152 nvm->page_size = 32; 153 nvm->address_bits = 16; 156 nvm->page_size = 8; 157 nvm->address_bits = 8; 160 nvm [all...] |
H A D | e1000_api.c | 74 if (hw->nvm.ops.init_params) { 75 ret_val = hw->nvm.ops.init_params(hw); 81 DEBUGOUT("nvm.init_nvm_params was NULL\n"); 1239 if (hw->nvm.ops.validate) 1240 return hw->nvm.ops.validate(hw); 1254 if (hw->nvm.ops.update) 1255 return hw->nvm.ops.update(hw); 1269 if (hw->nvm.ops.reload) 1270 hw->nvm.ops.reload(hw); 1285 if (hw->nvm [all...] |
H A D | e1000_82543.c | 169 struct e1000_nvm_info *nvm = &hw->nvm; local 173 nvm->type = e1000_nvm_eeprom_microwire; 174 nvm->word_size = 64; 175 nvm->delay_usec = 50; 176 nvm->address_bits = 6; 177 nvm->opcode_bits = 3; 180 nvm->ops.read = e1000_read_nvm_microwire; 181 nvm->ops.update = e1000_update_nvm_checksum_generic; 182 nvm [all...] |
H A D | e1000_82575.c | 332 struct e1000_nvm_info *nvm = &hw->nvm; local 352 nvm->word_size = 1 << size; 354 nvm->opcode_bits = 8; 355 nvm->delay_usec = 1; 357 switch (nvm->override) { 359 nvm->page_size = 32; 360 nvm->address_bits = 16; 363 nvm->page_size = 8; 364 nvm [all...] |
H A D | e1000_ich8lan.c | 634 struct e1000_nvm_info *nvm = &hw->nvm; local 642 nvm->type = e1000_nvm_flash_sw; 651 nvm->flash_base_addr = 0; 655 nvm->flash_bank_size = nvm_size / 2; 657 nvm->flash_bank_size /= sizeof(u16); 677 nvm->flash_base_addr = sector_base_addr 683 nvm->flash_bank_size = ((sector_end_addr - sector_base_addr) 685 nvm->flash_bank_size /= 2; 687 nvm 3404 struct e1000_nvm_info *nvm = &hw->nvm; local 3506 struct e1000_nvm_info *nvm = &hw->nvm; local 3599 struct e1000_nvm_info *nvm = &hw->nvm; local 4019 struct e1000_nvm_info *nvm = &hw->nvm; local 4056 struct e1000_nvm_info *nvm = &hw->nvm; local 4225 struct e1000_nvm_info *nvm = &hw->nvm; local 4702 struct e1000_nvm_info *nvm = &hw->nvm; local [all...] |
H A D | e1000_vf.c | 80 hw->nvm.type = e1000_nvm_none; 81 hw->nvm.ops.acquire = e1000_acquire_vf; 82 hw->nvm.ops.release = e1000_release_vf; 149 hw->nvm.ops.init_params = e1000_init_nvm_params_vf;
|
H A D | e1000_mac.c | 392 * Checks the nvm for an alternate MAC address. An alternate MAC address 409 ret_val = hw->nvm.ops.read(hw, NVM_COMPAT, 1, &nvm_data); 423 ret_val = hw->nvm.ops.read(hw, NVM_ALT_MAC_ADDR_PTR, 1, 444 ret_val = hw->nvm.ops.read(hw, offset, 1, &nvm_data); 965 ret_val = hw->nvm.ops.read(hw, 970 ret_val = hw->nvm.ops.read(hw, 1718 s32 timeout = hw->nvm.word_size + 1; 1820 ret_val = hw->nvm.ops.read(hw, NVM_ID_LED_SETTINGS, 1, data); 1849 ret_val = hw->nvm.ops.valid_led_default(hw, &data);
|
H A D | e1000_hw.h | 1005 struct e1000_nvm_info nvm; member in struct:e1000_hw
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_nvm.c | 61 struct i40e_nvm_info *nvm = &hw->nvm; local 68 /* The SR size is stored regardless of the nvm programming mode 75 nvm->sr_size = BIT(sr_size) * I40E_SR_WORDS_IN_1KB; 81 nvm->timeout = I40E_MAX_NVM_TIMEOUT; 82 nvm->blank_nvm_mode = FALSE; 84 nvm->blank_nvm_mode = TRUE; 109 if (hw->nvm.blank_nvm_mode) 118 hw->nvm.hw_semaphore_timeout = I40E_MS_TO_GTIME(time_left) + gtime; 136 hw->nvm [all...] |
H A D | i40e_adminq.c | 627 &hw->nvm.version); 630 hw->nvm.eetrack = (eetrack_hi << 16) | eetrack_lo; 636 hw->nvm.oem_ver = ((u32)oem_hi << 16) | oem_lo;
|
H A D | i40e_type.h | 574 struct i40e_nvm_info nvm; member in struct:i40e_hw 608 /* state of nvm update process */
|
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | ses_subr.c | 137 __ses_set_errno(ses_errno_t err, const char *nvm) argument 139 if (nvm == NULL) { 142 (void) strlcpy(_ses_nverr_member, nvm,
|