Home
last modified time | relevance | path

Searched refs:fw_buffer (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/media/usb/siano/
Dsmsusb.c251 u8 *fw_buffer; in smsusb1_load_firmware() local
280 fw_buffer = kmalloc(fw->size, GFP_KERNEL); in smsusb1_load_firmware()
281 if (fw_buffer) { in smsusb1_load_firmware()
282 memcpy(fw_buffer, fw->data, fw->size); in smsusb1_load_firmware()
285 fw_buffer, fw->size, &dummy, 1000); in smsusb1_load_firmware()
289 kfree(fw_buffer); in smsusb1_load_firmware()
/Linux-v5.4/drivers/net/wireless/intersil/orinoco/
Dorinoco_usb.c799 u8 *fw_buffer; in ezusb_firmware_download() local
803 fw_buffer = kmalloc(FW_BUF_SIZE, GFP_KERNEL); in ezusb_firmware_download()
804 if (!fw_buffer) { in ezusb_firmware_download()
831 memcpy(fw_buffer, &fw->code[addr], FW_BUF_SIZE); in ezusb_firmware_download()
837 fw_buffer[variant_offset - addr] = FW_VAR_VALUE; in ezusb_firmware_download()
845 fw_buffer, FW_BUF_SIZE, in ezusb_firmware_download()
860 kfree(fw_buffer); in ezusb_firmware_download()
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h279 char *fw_buffer; member
Dpvrusb2-hdw.c2672 if (hdw->fw_buffer) { in pvr2_hdw_destroy()
2673 kfree(hdw->fw_buffer); in pvr2_hdw_destroy()
2674 hdw->fw_buffer = NULL; in pvr2_hdw_destroy()
3399 if ((hdw->fw_buffer == NULL) == !enable_flag) break; in pvr2_hdw_cpufw_set_enabled()
3404 kfree(hdw->fw_buffer); in pvr2_hdw_cpufw_set_enabled()
3405 hdw->fw_buffer = NULL; in pvr2_hdw_cpufw_set_enabled()
3421 hdw->fw_buffer = kzalloc(hdw->fw_size,GFP_KERNEL); in pvr2_hdw_cpufw_set_enabled()
3422 if (!hdw->fw_buffer) { in pvr2_hdw_cpufw_set_enabled()
3441 hdw->fw_buffer+address, in pvr2_hdw_cpufw_set_enabled()
3451 hdw->fw_buffer = pvr2_full_eeprom_fetch(hdw); in pvr2_hdw_cpufw_set_enabled()
[all …]