/drivers/net/wireless/orinoco/ |
H A D | fw.c | 105 const struct firmware *fw_entry; local 132 err = request_firmware(&fw_entry, firmware, priv->dev); 140 fw_entry = orinoco_cached_fw_get(priv, false); 142 hdr = (const struct orinoco_fw_header *) fw_entry->data; 144 fw_err = validate_fw(hdr, fw_entry->size); 159 first_block = (fw_entry->data + 162 end = fw_entry->data + fw_entry->size; 170 first_block = (fw_entry->data + 192 release_firmware(fw_entry); 292 const struct firmware *fw_entry; local 359 const struct firmware *fw_entry = NULL; local [all...] |
H A D | orinoco_usb.c | 1572 const struct firmware *fw_entry = NULL; local 1663 if (request_firmware(&fw_entry, "orinoco_ezusb_fw", 1665 firmware.size = fw_entry->size; 1666 firmware.code = fw_entry->data; 1715 if (fw_entry) { 1718 release_firmware(fw_entry);
|
/drivers/staging/gs_fpgaboot/ |
H A D | gs_fpgaboot.h | 44 const struct firmware *fw_entry; member in struct:fpgaimage
|
H A D | gs_fpgaboot.c | 164 bitdata = (char *)fimage->fw_entry->data; 165 size = fimage->fw_entry->size; 204 err = request_firmware(&fimage->fw_entry, file, &firmware_pdev->dev); 281 release_firmware(fimage->fw_entry);
|
/drivers/net/wireless/rsi/ |
H A D | rsi_91x_usb_ops.c | 136 const struct firmware *fw_entry = NULL; local 142 status = request_firmware(&fw_entry, FIRMWARE_RSI9113, adapter->device); 149 fw = kmemdup(fw_entry->data, fw_entry->size, GFP_KERNEL); 150 len = fw_entry->size; 161 release_firmware(fw_entry);
|
H A D | rsi_91x_sdio_ops.c | 176 const struct firmware *fw_entry = NULL; local 197 status = request_firmware(&fw_entry, FIRMWARE_RSI9113, adapter->device); 204 fw = kmemdup(fw_entry->data, fw_entry->size, GFP_KERNEL); 205 len = fw_entry->size; 216 release_firmware(fw_entry);
|
/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_firmware.c | 262 const struct firmware *fw_entry; local 265 rc = request_firmware(&fw_entry, 272 if (fw_entry->size > 282 fw_entry->data, fw_entry->size); 284 fw_entry->size; 290 fw_entry->data, fw_entry->size); 292 fw_entry->size + 128; 296 release_firmware(fw_entry); [all...] |
/drivers/staging/rtl8192u/ |
H A D | r819xU_firmware.c | 211 const struct firmware *fw_entry; local 243 rc = request_firmware(&fw_entry, fw_name[init_step],&priv->udev->dev); 249 if (fw_entry->size > sizeof(pfirmware->firmware_buf)) { 255 memcpy(pfirmware->firmware_buf,fw_entry->data,fw_entry->size); 257 file_length = fw_entry->size; 260 memcpy(&pfirmware->firmware_buf[128],fw_entry->data,fw_entry->size); 262 file_length = fw_entry->size + 128; 280 release_firmware(fw_entry); [all...] |
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | nvm.c | 334 const struct firmware *fw_entry; local 364 ret = request_firmware(&fw_entry, mvm->nvm_file_name, 373 mvm->nvm_file_name, fw_entry->size); 375 if (fw_entry->size < sizeof(*file_sec)) { 381 if (fw_entry->size > MAX_NVM_FILE_LEN) { 387 eof = fw_entry->data + fw_entry->size; 389 file_sec = (void *)fw_entry->data; 455 release_firmware(fw_entry);
|
/drivers/misc/ti-st/ |
H A D | st_kim.c | 302 request_firmware(&kim_gdata->fw_entry, bts_scr_name, 304 if (unlikely((err != 0) || (kim_gdata->fw_entry->data == NULL) || 305 (kim_gdata->fw_entry->size == 0))) { 310 ptr = (void *)kim_gdata->fw_entry->data; 311 len = kim_gdata->fw_entry->size; 349 release_firmware(kim_gdata->fw_entry); 360 release_firmware(kim_gdata->fw_entry); 377 release_firmware(kim_gdata->fw_entry); 388 release_firmware(kim_gdata->fw_entry); 399 release_firmware(kim_gdata->fw_entry); [all...] |
/drivers/media/usb/go7007/ |
H A D | go7007-driver.c | 88 const struct firmware *fw_entry; local 95 if (request_firmware(&fw_entry, fw_name, go->dev)) { 99 if (fw_entry->size < 16 || memcmp(fw_entry->data, "WISGO7007FW", 11)) { 101 release_firmware(fw_entry); 104 fw_len = fw_entry->size - 16; 105 bounce = kmemdup(fw_entry->data + 16, fw_len, GFP_KERNEL); 108 release_firmware(fw_entry); 111 release_firmware(fw_entry);
|
H A D | go7007-fw.c | 1550 const struct firmware *fw_entry; local 1573 if (request_firmware(&fw_entry, GO7007_FW_NAME, go->dev)) { 1583 src = (__le16 *)fw_entry->data; 1584 srclen = fw_entry->size / 2; 1617 release_firmware(fw_entry); 1624 release_firmware(fw_entry);
|
/drivers/net/wireless/prism54/ |
H A D | islpci_dev.c | 90 const struct firmware *fw_entry = NULL; local 94 rc = request_firmware(&fw_entry, priv->firmware, PRISM_FW_PDEV); 104 fw_ptr = (u32 *) fw_entry->data; 105 fw_len = fw_entry->size; 111 release_firmware(fw_entry); 151 priv->ndev->name, fw_entry->data + 40); 153 release_firmware(fw_entry);
|
/drivers/staging/media/lirc/ |
H A D | lirc_zilog.c | 759 const struct firmware *fw_entry; local 769 ret = request_firmware(&fw_entry, "haup-ir-blaster.bin", tx->ir->l.dev); 776 dprintk("firmware of size %zu loaded\n", fw_entry->size); 782 release_firmware(fw_entry); 789 tx_data->datap = vmalloc(fw_entry->size); 792 release_firmware(fw_entry); 797 memcpy(tx_data->datap, fw_entry->data, fw_entry->size); 798 tx_data->endp = tx_data->datap + fw_entry->size; 799 release_firmware(fw_entry); fw_entr [all...] |
/drivers/video/fbdev/ |
H A D | metronomefb.c | 580 const struct firmware *fw_entry; local 679 retval = request_firmware(&fw_entry, "metronome.wbf", &dev->dev); 685 retval = load_waveform((u8 *) fw_entry->data, fw_entry->size, 3, 31, 687 release_firmware(fw_entry);
|
H A D | broadsheetfb.c | 738 const struct firmware *fw_entry; local 743 err = request_firmware(&fw_entry, "broadsheet.wbf", dev); 750 if ((fw_entry->size < 8*1024) || (fw_entry->size > 64*1024)) { 757 err = broadsheet_store_waveform_to_spiflash(par, fw_entry->data, 758 fw_entry->size); 766 dev_info(dev, "Stored broadsheet waveform, size %zd\n", fw_entry->size);
|
/drivers/media/usb/ttusb-dec/ |
H A D | ttusb_dec.c | 1295 const struct firmware *fw_entry = NULL; local 1299 result = request_firmware(&fw_entry, dec->firmware_name, &dec->udev->dev); 1306 firmware = fw_entry->data; 1307 firmware_size = fw_entry->size; 1312 release_firmware(fw_entry); 1326 release_firmware(fw_entry); 1342 release_firmware(fw_entry); 1351 release_firmware(fw_entry); 1382 release_firmware(fw_entry);
|
/drivers/staging/wlan-ng/ |
H A D | prism2fw.c | 206 const struct firmware *fw_entry = NULL; local 210 if (request_ihex_firmware(&fw_entry, 221 PRISM2_USB_FWFILE, fw_entry->size); 222 prism2_fwapply((const struct ihex_binrec *)fw_entry->data, wlandev); 224 release_firmware(fw_entry);
|
/drivers/media/radio/wl128x/ |
H A D | fmdrv_common.c | 1243 const struct firmware *fw_entry; local 1253 ret = request_firmware(&fw_entry, fw_name, 1259 fmdbg("Firmware(%s) length : %zu bytes\n", fw_name, fw_entry->size); 1261 fw_data = (void *)fw_entry->data; 1262 fw_len = fw_entry->size; 1299 release_firmware(fw_entry);
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | init.c | 668 const struct firmware *fw_entry; local 671 ret = request_firmware(&fw_entry, filename, ar->dev); 675 *fw_len = fw_entry->size; 676 *fw = kmemdup(fw_entry->data, fw_entry->size, GFP_KERNEL); 681 release_firmware(fw_entry);
|
/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-hdw.c | 1358 fw_entry will be filled in. Otherwise a negative error is returned on 1362 const struct firmware **fw_entry, 1370 ret = request_firmware(fw_entry, 1424 const struct firmware *fw_entry = NULL; local 1443 ret = pvr2_locate_firmware(hdw,&fw_entry,"fx2 controller", 1454 fwsize = fw_entry->size; 1469 release_firmware(fw_entry); 1475 release_firmware(fw_entry); 1487 memcpy(fw_ptr, fw_entry->data + address, 0x800); 1498 release_firmware(fw_entry); 1361 pvr2_locate_firmware(struct pvr2_hdw *hdw, const struct firmware **fw_entry, const char *fwtypename, unsigned int fwcount, const char *fwnames[]) argument 1521 const struct firmware *fw_entry = NULL; local [all...] |
/drivers/usb/atm/ |
H A D | ueagle-atm.c | 642 static void uea_upload_pre_firmware(const struct firmware *fw_entry, argument 652 if (!fw_entry) { 657 pfw = fw_entry->data; 658 size = fw_entry->size; 714 release_firmware(fw_entry); 1951 const struct firmware *fw_entry; local 1959 ret = request_firmware(&fw_entry, fw_name, &sc->usb_dev->dev); 1966 pfw = fw_entry->data; 1967 size = fw_entry->size; 2000 release_firmware(fw_entry); [all...] |
/drivers/staging/ft1000/ft1000-pcmcia/ |
H A D | ft1000_hw.c | 56 static const struct firmware *fw_entry; variable in typeref:struct:firmware 478 if (card_download(dev, fw_entry->data, fw_entry->size)) { 2102 release_firmware(fw_entry); 2234 if (request_firmware(&fw_entry, "ft1000.img", &link->dev) != 0) { 2240 if (request_firmware(&fw_entry, "ft2000.img", &link->dev) != 0) {
|
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_init.c | 702 struct qlcnic_flt_entry fw_entry; local 708 &fw_entry); 711 &fw_entry); 715 qlcnic_rom_fast_read(adapter, fw_entry.start_addr + 4,
|
/drivers/net/wireless/ |
H A D | zd1201.c | 53 const struct firmware *fw_entry; local 66 err = request_firmware(&fw_entry, fwfile, &dev->dev); 74 data = fw_entry->data; 75 len = fw_entry->size; 117 release_firmware(fw_entry);
|