/drivers/usb/misc/ |
H A D | isight_firmware.c | 2 * Driver for loading USB isight firmware 12 * need firmware to be loaded beforehand. After firmware loading, the device 16 * The firmware is non-free and must be extracted by the user. Tools to do this 19 * The isight firmware loading was reverse engineered by Johannes Berg 25 #include <linux/firmware.h> 42 const struct firmware *firmware; local 50 if (request_firmware(&firmware, "isight.fw", &dev->dev) != 0) { 51 printk(KERN_ERR "Unable to load isight firmware\ [all...] |
H A D | ezusb.c | 15 #include <linux/firmware.h> 78 const struct firmware *firmware = NULL; local 81 if (request_ihex_firmware(&firmware, firmware_path, 93 record = (const struct ihex_binrec *)firmware->data; 113 record = (const struct ihex_binrec *)firmware->data; 131 release_firmware(firmware);
|
/drivers/media/i2c/cx25840/ |
H A D | cx25840-firmware.c | 1 /* cx25840 firmware functions 20 #include <linux/firmware.h> 28 * size of the firmware chunks sent down the I2C bus to the chip. 39 static char *firmware = ""; variable 41 module_param(firmware, charp, 0444); 43 MODULE_PARM_DESC(firmware, "Firmware image to load"); 72 if (firmware[0]) 73 return firmware; 88 v4l_err(client, "firmware %s load failed\n", 93 v4l_info(client, "loaded %s firmware ( [all...] |
/drivers/net/wireless/libertas/ |
H A D | firmware.c | 6 #include <linux/firmware.h> 15 const struct firmware *helper, const struct firmware *mainfw) 19 lbs_deb_fw("firmware load complete, code %d\n", ret); 31 void (*cb)(const struct firmware *fw, void *context)) 44 static void main_firmware_cb(const struct firmware *firmware, void *context) argument 48 if (!firmware) { 49 /* Failed to find firmware: try next table entry */ 55 lbs_fw_loaded(priv, 0, priv->helper_fw, firmware); 63 helper_firmware_cb(const struct firmware *firmware, void *context) argument [all...] |
H A D | if_usb.c | 9 #include <linux/firmware.h> 45 /* table of firmware file names */ 67 const struct firmware *fw, 68 const struct firmware *unused); 334 const uint8_t *firmware = cardp->fw->data; local 349 firmware binary. Insert the seqnum in the middle... */ 350 memcpy(&fwdata->hdr, &firmware[cardp->totalbytes], 356 memcpy(fwdata->data, &firmware[cardp->totalbytes], 587 /* Give device 5s to either write firmware to its RAM or eeprom */ 822 pr_err("firmware fil [all...] |
/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | sw.c | 87 static void rtl92se_fw_cb(const struct firmware *firmware, void *context) argument 96 if (!firmware) { 101 if (firmware->size > rtlpriv->max_fw_size) { 105 release_firmware(firmware); 109 memcpy(pfirmware->sz_fw_tmpbuffer, firmware->data, firmware->size); 110 pfirmware->sz_fw_tmpbufferlen = firmware->size; 111 release_firmware(firmware); 207 /* for firmware bu [all...] |
/drivers/bluetooth/ |
H A D | bcm203x.c | 3 * Broadcom Blutonium firmware driver 35 #include <linux/firmware.h> 170 const struct firmware *firmware; local 195 if (request_firmware(&firmware, "BCM2033-MD.hex", &udev->dev) < 0) { 201 BT_DBG("minidrv data %p size %zu", firmware->data, firmware->size); 203 size = max_t(uint, firmware->size, 4096); 208 release_firmware(firmware); 213 memcpy(data->buffer, firmware [all...] |
H A D | ath3k.c | 28 #include <linux/firmware.h> 65 /* Atheros AR3011 with sflash firmware*/ 73 /* Atheros AR9285 Malbec with sflash firmware */ 76 /* Atheros AR3012 with sflash firmware*/ 110 /* Atheros AR5BBU12 with sflash firmware */ 113 /* Atheros AR5BBU22 with sflash firmware */ 127 /* Atheros AR3012 with sflash firmware*/ 161 /* Atheros AR5BBU22 with sflash firmware */ 173 const struct firmware *firmware) 172 ath3k_load_firmware(struct usb_device *udev, const struct firmware *firmware) argument 265 ath3k_load_fwfile(struct usb_device *udev, const struct firmware *firmware) argument 354 const struct firmware *firmware; local 407 const struct firmware *firmware; local 457 const struct firmware *firmware; local [all...] |
H A D | bfusb.c | 34 #include <linux/firmware.h> 545 const unsigned char *firmware, int count) 552 BT_INFO("BlueFRITZ! USB loading firmware"); 556 BT_ERR("Can't allocate memory chunk for firmware"); 576 memcpy(buf, firmware + sent, size); 582 BT_ERR("Error in firmware loading"); 626 const struct firmware *firmware; local 647 /* Initialize control structure and load firmware */ 667 if (request_firmware(&firmware, "bfubas 544 bfusb_load_firmware(struct bfusb_data *data, const unsigned char *firmware, int count) argument [all...] |
H A D | btmrvl_sdio.h | 24 /* SD block size can not bigger than 64 due to buf size limit in firmware */ 28 /* Number of blocks for firmware transfer */ 31 /* This is for firmware specific length */ 90 const char *firmware; member in struct:btmrvl_sdio_card 100 const char *firmware; member in struct:btmrvl_sdio_device
|
H A D | bt3c_cs.c | 45 #include <linux/firmware.h> 455 const unsigned char *firmware, 458 char *ptr = (char *) firmware; 478 BT_ERR("Bad address in firmware"); 502 BT_ERR("Checksum error in firmware"); 542 const struct firmware *firmware; local 572 /* Load firmware */ 573 err = request_firmware(&firmware, "BT3CPCC.bin", &info->p_dev->dev); 579 err = bt3c_load_firmware(info, firmware 454 bt3c_load_firmware(struct bt3c_info *info, const unsigned char *firmware, int count) argument [all...] |
/drivers/media/usb/as102/ |
H A D | as102_fw.c | 20 #include <linux/firmware.h> 47 * Parse INTEL HEX firmware file to extract address and data. 57 pr_err("invalid firmware file\n"); 102 const struct firmware *firmware) { 108 for (total_read_bytes = 0; total_read_bytes < firmware->size; ) { 113 (u8 *) (firmware->data + total_read_bytes), 124 if (total_read_bytes == firmware->size) { 161 const struct firmware *firmware local 100 as102_firmware_upload(struct as10x_bus_adapter_t *bus_adap, unsigned char *cmd, const struct firmware *firmware) argument [all...] |
/drivers/net/wireless/cw1200/ |
H A D | fwio.c | 19 #include <linux/firmware.h> 62 const struct firmware *firmware = NULL; local 141 /* Load a firmware file */ 142 ret = request_firmware(&firmware, fw_path, priv->pdev); 144 pr_err("Can't load firmware file %s.\n", fw_path); 150 pr_err("Can't allocate firmware load buffer.\n"); 170 num_blocks = (firmware->size - 1) / DOWNLOAD_BLOCK_SIZE + 1; 173 val32 = firmware->size; /* Explicit cast from size_t to u32 */ 205 tx_size = block_size = min_t(size_t, firmware [all...] |
/drivers/misc/mic/host/ |
H A D | mic_sysfs.c | 235 char *firmware; local 240 firmware = mdev->firmware; 242 if (firmware) 243 return scnprintf(buf, PAGE_SIZE, "%s\n", firmware); 257 kfree(mdev->firmware); 259 mdev->firmware = kmalloc(count + 1, GFP_KERNEL); 260 if (!mdev->firmware) { 264 strncpy(mdev->firmware, buf, count); 266 if (mdev->firmware[coun [all...] |
H A D | mic_device.h | 73 * @firmware: Firmware file name. 112 char *firmware; member in struct:mic_device 147 * @reset_fw_ready: Reset firmware ready field. 148 * @is_fw_ready: Check if firmware is ready for OS download. 149 * @send_firmware_intr: Send an interrupt to the card firmware. 150 * @load_mic_fw: Load firmware segments required to boot the card 152 * @get_postcode: Get post code status from firmware.
|
/drivers/net/wireless/mwifiex/ |
H A D | main.c | 380 * This function gets firmware and initializes it. 383 * - Download the correct firmware to card 384 * - Issue the init commands to firmware 386 static void mwifiex_fw_dpc(const struct firmware *firmware, void *context) argument 397 if (!firmware) { 399 "Failed to get firmware %s\n", adapter->fw_name); 404 adapter->firmware = firmware; 405 fw.fw_buf = (u8 *) adapter->firmware [all...] |
H A D | usb.c | 349 /* PID_1 is used for firmware downloading only */ 436 * 'host sleep activate' request to the firmware and turns off the traffic. 487 * sends a 'host sleep cancel' request to the firmware. 805 u8 *firmware = fw->fw_buf, *recv_buff; local 812 if (!firmware) { 814 "No firmware image found! Terminating download\n"); 836 memcpy(&fwdata->fw_hdr, &firmware[tlen], 843 memcpy(fwdata->data, &firmware[tlen], dlen); 854 /* send the firmware block */ 867 /* Receive the firmware bloc [all...] |
/drivers/net/wireless/orinoco/ |
H A D | fw.c | 7 #include <linux/firmware.h> 17 /* End markers (for Symbol firmware only) */ 78 /* TODO: consider adding a checksum or CRC to the firmware format */ 83 static inline const struct firmware * 95 /* Download either STA or AP firmware into the card. */ 105 const struct firmware *fw_entry; 109 const char *firmware; local 119 firmware = fw->ap_fw; 121 firmware = fw->sta_fw; 123 dev_dbg(dev, "Attempting to download firmware [all...] |
/drivers/net/wireless/p54/ |
H A D | p54spi.h | 122 const struct firmware *firmware; member in struct:p54s_priv
|
H A D | p54pci.h | 97 const struct firmware *firmware; member in struct:p54p_priv
|
/drivers/staging/rtl8712/ |
H A D | hal_init.c | 34 #include <linux/firmware.h> 44 static void rtl871x_load_fw_cb(const struct firmware *firmware, void *context) argument 49 if (!firmware) { 58 padapter->fw = firmware; 59 /* firmware available - start netdev */ 71 dev_info(dev, "r8712u: Loading firmware from \"%s\"\n", firmware_file); 82 const struct firmware **praw = &padapter->fw; 181 /* firmware check ok */ 331 /* r8712 firmware downloa [all...] |
/drivers/gpu/drm/nouveau/core/engine/graph/ |
H A D | nvc0.h | 95 bool firmware; member in struct:nvc0_graph_priv
|
/drivers/input/touchscreen/ |
H A D | ili210x.c | 191 struct firmware_version firmware; local 207 /* Get firmware version */ 209 &firmware, sizeof(firmware)); 211 dev_err(dev, "Failed to get firmware version, err: %d\n", 286 "ILI210x initialized (IRQ: %d), firmware version %d.%d.%d", 287 client->irq, firmware.id, firmware.major, firmware.minor);
|
/drivers/isdn/hardware/mISDN/ |
H A D | speedfax.c | 31 #include <linux/firmware.h> 377 const struct firmware *firmware; local 394 err = request_firmware(&firmware, "isdn/ISAR.BIN", &card->pdev->dev); 396 pr_info("%s: firmware request failed %d\n", 401 pr_notice("%s: got firmware %zu bytes\n", 402 card->name, firmware->size); 428 err = card->isar.firmware(&card->isar, firmware->data, firmware [all...] |
/drivers/net/wireless/libertas_tf/ |
H A D | if_usb.c | 19 #include <linux/firmware.h> 284 u8 *firmware = (u8 *) cardp->fw->data; local 301 firmware binary. Insert the seqnum in the middle... */ 302 memcpy(&fwdata->hdr, &firmware[cardp->totalbytes], 308 memcpy(fwdata->data, &firmware[cardp->totalbytes], 809 pr_err("firmware file format check FAIL\n"); 811 lbtf_deb_fw("firmware file format check PASS\n"); 829 pr_err("firmware %s not found\n", lbtf_fw_name); 876 /* Send the first firmware packet... */
|