Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/usb/siano/
Dsmsusb.c253 u8 *fw_buffer; in smsusb1_load_firmware() local
282 fw_buffer = kmalloc(fw->size, GFP_KERNEL); in smsusb1_load_firmware()
283 if (fw_buffer) { in smsusb1_load_firmware()
284 memcpy(fw_buffer, fw->data, fw->size); in smsusb1_load_firmware()
287 fw_buffer, fw->size, &dummy, 1000); in smsusb1_load_firmware()
291 kfree(fw_buffer); in smsusb1_load_firmware()
/Linux-v6.6/drivers/net/wireless/intersil/orinoco/
Dorinoco_usb.c811 u8 *fw_buffer; in ezusb_firmware_download() local
815 fw_buffer = kmalloc(FW_BUF_SIZE, GFP_KERNEL); in ezusb_firmware_download()
816 if (!fw_buffer) { in ezusb_firmware_download()
843 memcpy(fw_buffer, &fw->code[addr], FW_BUF_SIZE); in ezusb_firmware_download()
849 fw_buffer[variant_offset - addr] = FW_VAR_VALUE; in ezusb_firmware_download()
857 fw_buffer, FW_BUF_SIZE, in ezusb_firmware_download()
872 kfree(fw_buffer); in ezusb_firmware_download()
/Linux-v6.6/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c2675 if (hdw->fw_buffer) { in pvr2_hdw_destroy()
2676 kfree(hdw->fw_buffer); in pvr2_hdw_destroy()
2677 hdw->fw_buffer = NULL; in pvr2_hdw_destroy()
3405 if ((hdw->fw_buffer == NULL) == !enable_flag) break; in pvr2_hdw_cpufw_set_enabled()
3410 kfree(hdw->fw_buffer); in pvr2_hdw_cpufw_set_enabled()
3411 hdw->fw_buffer = NULL; in pvr2_hdw_cpufw_set_enabled()
3427 hdw->fw_buffer = kzalloc(hdw->fw_size,GFP_KERNEL); in pvr2_hdw_cpufw_set_enabled()
3428 if (!hdw->fw_buffer) { in pvr2_hdw_cpufw_set_enabled()
3447 hdw->fw_buffer+address, in pvr2_hdw_cpufw_set_enabled()
3457 hdw->fw_buffer = pvr2_full_eeprom_fetch(hdw); in pvr2_hdw_cpufw_set_enabled()
[all …]
Dpvrusb2-hdw-internal.h279 char *fw_buffer; member