Home
last modified time | relevance | path

Searched refs:fw_entry (Results 1 – 25 of 29) sorted by relevance

12

/drivers/net/wireless/orinoco/
Dfw.c105 const struct firmware *fw_entry; in orinoco_dl_firmware() local
132 err = request_firmware(&fw_entry, firmware, priv->dev); in orinoco_dl_firmware()
140 fw_entry = orinoco_cached_fw_get(priv, false); in orinoco_dl_firmware()
142 hdr = (const struct orinoco_fw_header *) fw_entry->data; in orinoco_dl_firmware()
144 fw_err = validate_fw(hdr, fw_entry->size); in orinoco_dl_firmware()
159 first_block = (fw_entry->data + in orinoco_dl_firmware()
162 end = fw_entry->data + fw_entry->size; in orinoco_dl_firmware()
170 first_block = (fw_entry->data + in orinoco_dl_firmware()
192 release_firmware(fw_entry); in orinoco_dl_firmware()
292 const struct firmware *fw_entry; in symbol_dl_firmware() local
[all …]
Dorinoco_usb.c1587 const struct firmware *fw_entry = NULL; in ezusb_probe() local
1684 if (request_firmware(&fw_entry, "orinoco_ezusb_fw", in ezusb_probe()
1686 firmware.size = fw_entry->size; in ezusb_probe()
1687 firmware.code = fw_entry->data; in ezusb_probe()
1736 if (fw_entry) { in ezusb_probe()
1739 release_firmware(fw_entry); in ezusb_probe()
/drivers/staging/rtl8192u/
Dr819xU_firmware.c254 const struct firmware *fw_entry; in init_firmware() local
286 rc = request_firmware(&fw_entry, fw_name[init_step],&priv->udev->dev); in init_firmware()
292 if(fw_entry->size > sizeof(pfirmware->firmware_buf)) { in init_firmware()
298 memcpy(pfirmware->firmware_buf,fw_entry->data,fw_entry->size); in init_firmware()
300 file_length = fw_entry->size; in init_firmware()
303 memcpy(pfirmware->firmware_buf,fw_entry->data,fw_entry->size); in init_firmware()
305 file_length = fw_entry->size; in init_firmware()
308 memcpy(&pfirmware->firmware_buf[128],fw_entry->data,fw_entry->size); in init_firmware()
310 file_length = fw_entry->size + 128; in init_firmware()
329 release_firmware(fw_entry); in init_firmware()
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_firmware.c273 const struct firmware *fw_entry; in init_firmware() local
275 rc = request_firmware(&fw_entry, in init_firmware()
282 if (fw_entry->size > in init_firmware()
292 fw_entry->data, fw_entry->size); in init_firmware()
294 fw_entry->size; in init_firmware()
300 fw_entry->data, fw_entry->size); in init_firmware()
302 fw_entry->size + 128; in init_firmware()
306 release_firmware(fw_entry); in init_firmware()
/drivers/staging/csr/
Dfirmware.c313 const struct firmware *fw_entry; in uf_request_firmware_files() local
339 r = request_firmware(&fw_entry, fw_name, priv->unifi_device); in uf_request_firmware_files()
341 priv->fw_sta.dl_data = fw_entry->data; in uf_request_firmware_files()
342 priv->fw_sta.dl_len = fw_entry->size; in uf_request_firmware_files()
343 priv->fw_sta.fw_desc = (void *)fw_entry; in uf_request_firmware_files()
Dputest.c390 const struct firmware *fw_entry; in unifi_putest_dl_fw() local
427 r = request_firmware(&fw_entry, fw_path, priv->unifi_device); in unifi_putest_dl_fw()
429 priv->fw_sta.fw_desc = (void *)fw_entry; in unifi_putest_dl_fw()
430 priv->fw_sta.dl_data = fw_entry->data; in unifi_putest_dl_fw()
431 priv->fw_sta.dl_len = fw_entry->size; in unifi_putest_dl_fw()
/drivers/misc/ti-st/
Dst_kim.c301 request_firmware(&kim_gdata->fw_entry, bts_scr_name, in download_firmware()
303 if (unlikely((err != 0) || (kim_gdata->fw_entry->data == NULL) || in download_firmware()
304 (kim_gdata->fw_entry->size == 0))) { in download_firmware()
309 ptr = (void *)kim_gdata->fw_entry->data; in download_firmware()
310 len = kim_gdata->fw_entry->size; in download_firmware()
348 release_firmware(kim_gdata->fw_entry); in download_firmware()
359 release_firmware(kim_gdata->fw_entry); in download_firmware()
376 release_firmware(kim_gdata->fw_entry); in download_firmware()
387 release_firmware(kim_gdata->fw_entry); in download_firmware()
398 release_firmware(kim_gdata->fw_entry); in download_firmware()
[all …]
/drivers/staging/media/go7007/
Dgo7007-driver.c92 const struct firmware *fw_entry; in go7007_load_encoder() local
99 if (request_firmware(&fw_entry, fw_name, go->dev)) { in go7007_load_encoder()
103 if (fw_entry->size < 16 || memcmp(fw_entry->data, "WISGO7007FW", 11)) { in go7007_load_encoder()
105 release_firmware(fw_entry); in go7007_load_encoder()
108 fw_len = fw_entry->size - 16; in go7007_load_encoder()
109 bounce = kmemdup(fw_entry->data + 16, fw_len, GFP_KERNEL); in go7007_load_encoder()
112 release_firmware(fw_entry); in go7007_load_encoder()
115 release_firmware(fw_entry); in go7007_load_encoder()
Dgo7007-fw.c1550 const struct firmware *fw_entry; in go7007_construct_fw_image() local
1573 if (request_firmware(&fw_entry, GO7007_FW_NAME, go->dev)) { in go7007_construct_fw_image()
1583 src = (__le16 *)fw_entry->data; in go7007_construct_fw_image()
1584 srclen = fw_entry->size / 2; in go7007_construct_fw_image()
1617 release_firmware(fw_entry); in go7007_construct_fw_image()
1624 release_firmware(fw_entry); in go7007_construct_fw_image()
/drivers/net/wireless/prism54/
Dislpci_dev.c91 const struct firmware *fw_entry = NULL; in isl_upload_firmware() local
95 rc = request_firmware(&fw_entry, priv->firmware, PRISM_FW_PDEV); in isl_upload_firmware()
105 fw_ptr = (u32 *) fw_entry->data; in isl_upload_firmware()
106 fw_len = fw_entry->size; in isl_upload_firmware()
112 release_firmware(fw_entry); in isl_upload_firmware()
152 priv->ndev->name, fw_entry->data + 40); in isl_upload_firmware()
154 release_firmware(fw_entry); in isl_upload_firmware()
/drivers/staging/media/lirc/
Dlirc_zilog.c755 const struct firmware *fw_entry; in fw_load() local
765 ret = request_firmware(&fw_entry, "haup-ir-blaster.bin", tx->ir->l.dev); in fw_load()
772 dprintk("firmware of size %zu loaded\n", fw_entry->size); in fw_load()
778 release_firmware(fw_entry); in fw_load()
785 tx_data->datap = vmalloc(fw_entry->size); in fw_load()
788 release_firmware(fw_entry); in fw_load()
793 memcpy(tx_data->datap, fw_entry->data, fw_entry->size); in fw_load()
794 tx_data->endp = tx_data->datap + fw_entry->size; in fw_load()
795 release_firmware(fw_entry); fw_entry = NULL; in fw_load()
/drivers/video/
Dmetronomefb.c580 const struct firmware *fw_entry; in metronomefb_probe() local
679 retval = request_firmware(&fw_entry, "metronome.wbf", &dev->dev); in metronomefb_probe()
685 retval = load_waveform((u8 *) fw_entry->data, fw_entry->size, 3, 31, in metronomefb_probe()
687 release_firmware(fw_entry); in metronomefb_probe()
Dbroadsheetfb.c738 const struct firmware *fw_entry; in broadsheet_loadstore_waveform() local
743 err = request_firmware(&fw_entry, "broadsheet.wbf", dev); in broadsheet_loadstore_waveform()
750 if ((fw_entry->size < 8*1024) || (fw_entry->size > 64*1024)) { in broadsheet_loadstore_waveform()
757 err = broadsheet_store_waveform_to_spiflash(par, fw_entry->data, in broadsheet_loadstore_waveform()
758 fw_entry->size); in broadsheet_loadstore_waveform()
766 dev_info(dev, "Stored broadsheet waveform, size %zd\n", fw_entry->size); in broadsheet_loadstore_waveform()
/drivers/media/usb/ttusb-dec/
Dttusb_dec.c1292 const struct firmware *fw_entry = NULL; in ttusb_dec_boot_dsp() local
1296 if (request_firmware(&fw_entry, dec->firmware_name, &dec->udev->dev)) { in ttusb_dec_boot_dsp()
1302 firmware = fw_entry->data; in ttusb_dec_boot_dsp()
1303 firmware_size = fw_entry->size; in ttusb_dec_boot_dsp()
1308 release_firmware(fw_entry); in ttusb_dec_boot_dsp()
1322 release_firmware(fw_entry); in ttusb_dec_boot_dsp()
1338 release_firmware(fw_entry); in ttusb_dec_boot_dsp()
1347 release_firmware(fw_entry); in ttusb_dec_boot_dsp()
1378 release_firmware(fw_entry); in ttusb_dec_boot_dsp()
/drivers/staging/wlan-ng/
Dprism2fw.c206 const struct firmware *fw_entry = NULL; in prism2_fwtry() local
210 if (request_ihex_firmware(&fw_entry, in prism2_fwtry()
220 PRISM2_USB_FWFILE, fw_entry->size); in prism2_fwtry()
221 prism2_fwapply((const struct ihex_binrec *)fw_entry->data, wlandev); in prism2_fwtry()
223 release_firmware(fw_entry); in prism2_fwtry()
/drivers/media/radio/wl128x/
Dfmdrv_common.c1239 const struct firmware *fw_entry; in fm_download_firmware() local
1249 ret = request_firmware(&fw_entry, fw_name, in fm_download_firmware()
1255 fmdbg("Firmware(%s) length : %d bytes\n", fw_name, fw_entry->size); in fm_download_firmware()
1257 fw_data = (void *)fw_entry->data; in fm_download_firmware()
1258 fw_len = fw_entry->size; in fm_download_firmware()
1295 release_firmware(fw_entry); in fm_download_firmware()
/drivers/net/wireless/ath/ath6kl/
Dinit.c643 const struct firmware *fw_entry; in ath6kl_get_fw() local
646 ret = request_firmware(&fw_entry, filename, ar->dev); in ath6kl_get_fw()
650 *fw_len = fw_entry->size; in ath6kl_get_fw()
651 *fw = kmemdup(fw_entry->data, fw_entry->size, GFP_KERNEL); in ath6kl_get_fw()
656 release_firmware(fw_entry); in ath6kl_get_fw()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c1362 const struct firmware **fw_entry, in pvr2_locate_firmware() argument
1370 ret = request_firmware(fw_entry, in pvr2_locate_firmware()
1424 const struct firmware *fw_entry = NULL; in pvr2_upload_firmware1() local
1443 ret = pvr2_locate_firmware(hdw,&fw_entry,"fx2 controller", in pvr2_upload_firmware1()
1454 fwsize = fw_entry->size; in pvr2_upload_firmware1()
1469 release_firmware(fw_entry); in pvr2_upload_firmware1()
1475 release_firmware(fw_entry); in pvr2_upload_firmware1()
1487 memcpy(fw_ptr, fw_entry->data + address, 0x800); in pvr2_upload_firmware1()
1498 release_firmware(fw_entry); in pvr2_upload_firmware1()
1521 const struct firmware *fw_entry = NULL; in pvr2_upload_firmware2() local
[all …]
/drivers/usb/atm/
Dueagle-atm.c643 static void uea_upload_pre_firmware(const struct firmware *fw_entry, in uea_upload_pre_firmware() argument
653 if (!fw_entry) { in uea_upload_pre_firmware()
658 pfw = fw_entry->data; in uea_upload_pre_firmware()
659 size = fw_entry->size; in uea_upload_pre_firmware()
715 release_firmware(fw_entry); in uea_upload_pre_firmware()
1952 const struct firmware *fw_entry; in load_XILINX_firmware() local
1960 ret = request_firmware(&fw_entry, fw_name, &sc->usb_dev->dev); in load_XILINX_firmware()
1967 pfw = fw_entry->data; in load_XILINX_firmware()
1968 size = fw_entry->size; in load_XILINX_firmware()
2001 release_firmware(fw_entry); in load_XILINX_firmware()
/drivers/staging/ft1000/ft1000-pcmcia/
Dft1000_hw.c58 static const struct firmware *fw_entry; variable
478 if (card_download(dev, fw_entry->data, fw_entry->size)) { in ft1000_reset_card()
2073 release_firmware(fw_entry); in stop_ft1000_card()
2206 if (request_firmware(&fw_entry, "ft1000.img", &link->dev) != 0) { in init_ft1000_card()
2212 if (request_firmware(&fw_entry, "ft2000.img", &link->dev) != 0) { in init_ft1000_card()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c685 struct qlcnic_flt_entry fw_entry; in qlcnic_check_flash_fw_ver() local
691 &fw_entry); in qlcnic_check_flash_fw_ver()
694 &fw_entry); in qlcnic_check_flash_fw_ver()
698 qlcnic_rom_fast_read(adapter, fw_entry.start_addr + 4, in qlcnic_check_flash_fw_ver()
/drivers/net/wireless/
Dzd1201.c53 const struct firmware *fw_entry; in zd1201_fw_upload() local
66 err = request_firmware(&fw_entry, fwfile, &dev->dev); in zd1201_fw_upload()
74 data = fw_entry->data; in zd1201_fw_upload()
75 len = fw_entry->size; in zd1201_fw_upload()
113 release_firmware(fw_entry); in zd1201_fw_upload()
/drivers/net/ethernet/broadcom/
Dbnx2.c3741 const struct bnx2_rv2p_fw_file_entry *fw_entry) in load_rv2p_fw() argument
3748 rv2p_code_len = be32_to_cpu(fw_entry->rv2p.len); in load_rv2p_fw()
3749 file_offset = be32_to_cpu(fw_entry->rv2p.offset); in load_rv2p_fw()
3775 loc = be32_to_cpu(fw_entry->fixup[i]); in load_rv2p_fw()
3801 const struct bnx2_mips_fw_file_entry *fw_entry) in load_cpu_fw() argument
3815 addr = be32_to_cpu(fw_entry->text.addr); in load_cpu_fw()
3816 len = be32_to_cpu(fw_entry->text.len); in load_cpu_fw()
3817 file_offset = be32_to_cpu(fw_entry->text.offset); in load_cpu_fw()
3829 addr = be32_to_cpu(fw_entry->data.addr); in load_cpu_fw()
3830 len = be32_to_cpu(fw_entry->data.len); in load_cpu_fw()
[all …]
/drivers/media/pci/bt8xx/
Dbttv-cards.c3758 const struct firmware *fw_entry; in pvr_boot() local
3761 rc = request_firmware(&fw_entry, "hcwamc.rbf", &btv->c.pci->dev); in pvr_boot()
3766 rc = pvr_altera_load(btv, fw_entry->data, fw_entry->size); in pvr_boot()
3769 release_firmware(fw_entry); in pvr_boot()
/drivers/base/
Dfirmware_class.c1337 static void __async_dev_cache_fw_image(void *fw_entry, in __async_dev_cache_fw_image() argument
1340 struct fw_cache_entry *fce = fw_entry; in __async_dev_cache_fw_image()

12