Searched refs:nvm_buffer (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | nvm.c | 312 u8 *nvm_buffer, *temp; in iwl_nvm_init() 322 nvm_buffer = kmalloc(mvm->trans->trans_cfg->base_params->eeprom_size, in iwl_nvm_init() 324 if (!nvm_buffer) in iwl_nvm_init() 328 ret = iwl_nvm_read_section(mvm, section, nvm_buffer, in iwl_nvm_init() 337 temp = kmemdup(nvm_buffer, ret, GFP_KERNEL); in iwl_nvm_init() 382 kfree(nvm_buffer); in iwl_nvm_init() 305 u8 *nvm_buffer, *temp; iwl_nvm_init() local
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm.c | 2295 uint8_t *nvm_buffer, *temp; in iwm_nvm_init() local 2307 nvm_buffer = malloc(sc->cfg->eeprom_size, M_DEVBUF, M_NOWAIT | M_ZERO); in iwm_nvm_init() 2308 if (!nvm_buffer) in iwm_nvm_init() 2312 ret = iwm_nvm_read_section(sc, section, nvm_buffer, in iwm_nvm_init() 2322 memcpy(temp, nvm_buffer, len); in iwm_nvm_init() 2329 free(nvm_buffer, M_DEVBUF); in iwm_nvm_init()
|
/freebsd/sys/dev/ice/ |
H A D | ice_lib.c | 10056 u8 *nvm_buffer; in ice_sysctl_read_i2c_diag_data() 10097 nvm_buffer = (u8 *)malloc(malloc_len, M_ICE, M_ZERO | M_WAITOK); in ice_sysctl_read_i2c_diag_data() 10098 if (!nvm_buffer) in ice_sysctl_read_i2c_diag_data() 10103 err = copyin(ifd->ifd_data, nvm_buffer, ifd_len); in ice_sysctl_read_i2c_diag_data() 10114 cmd = (struct ice_nvm_access_cmd *)nvm_buffer; in ice_sysctl_read_i2c_diag_data() 10115 data = (union ice_nvm_access_data *)(nvm_buffer + sizeof(struct ice_nvm_access_cmd)); in ice_sysctl_read_i2c_diag_data() 10125 err = copyout(nvm_buffer, ifd->ifd_data, ifd_len); in ice_sysctl_read_i2c_diag_data() 10150 free(nvm_buffer, M_ICE); in ice_alloc_intr_tracking() 9854 u8 *nvm_buffer; ice_handle_nvm_access_ioctl() local
|