Searched refs:nvm_buffer (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/media/i2c/ |
D | ov2740.c | 83 char *nvm_buffer; member 661 if (nvm->nvm_buffer) in ov2740_load_otp_data() 667 nvm->nvm_buffer = kzalloc(CUSTOMER_USE_OTP_SIZE, GFP_KERNEL); in ov2740_load_otp_data() 668 if (!nvm->nvm_buffer) in ov2740_load_otp_data() 713 nvm->nvm_buffer, CUSTOMER_USE_OTP_SIZE); in ov2740_load_otp_data() 740 kfree(nvm->nvm_buffer); in ov2740_load_otp_data() 741 nvm->nvm_buffer = NULL; in ov2740_load_otp_data() 1079 if (nvm->nvm_buffer) { in ov2740_nvmem_read() 1080 memcpy(val, nvm->nvm_buffer + off, count); in ov2740_nvmem_read() 1091 memcpy(val, nvm->nvm_buffer + off, count); in ov2740_nvmem_read()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | nvm.c | 303 u8 *nvm_buffer, *temp; in iwl_nvm_init() local 313 nvm_buffer = kmalloc(mvm->trans->trans_cfg->base_params->eeprom_size, in iwl_nvm_init() 315 if (!nvm_buffer) in iwl_nvm_init() 319 ret = iwl_nvm_read_section(mvm, section, nvm_buffer, in iwl_nvm_init() 328 temp = kmemdup(nvm_buffer, ret, GFP_KERNEL); in iwl_nvm_init() 373 kfree(nvm_buffer); in iwl_nvm_init()
|