Lines Matching full:firmware
1 /* Firmware file reading and download helpers
7 #include <linux/firmware.h>
17 /* End markers (for Symbol firmware only) */
78 /* TODO: consider adding a checksum or CRC to the firmware format */ in validate_fw()
83 static inline const struct firmware *
95 /* Download either STA or AP firmware into the card. */
105 const struct firmware *fw_entry; in orinoco_dl_firmware()
109 const char *firmware; in orinoco_dl_firmware() local
119 firmware = fw->ap_fw; in orinoco_dl_firmware()
121 firmware = fw->sta_fw; in orinoco_dl_firmware()
123 dev_dbg(dev, "Attempting to download firmware %s\n", firmware); in orinoco_dl_firmware()
132 err = request_firmware(&fw_entry, firmware, priv->dev); in orinoco_dl_firmware()
135 dev_err(dev, "Cannot find firmware %s\n", firmware); in orinoco_dl_firmware()
146 dev_warn(dev, "Invalid firmware image detected (%s). " in orinoco_dl_firmware()
190 /* If we requested the firmware, release it. */ in orinoco_dl_firmware()
200 * Process a firmware image - stop the card, load the firmware, reset
201 * the card and make sure it responds. For the secondary firmware take
202 * care of the PDA - read it and then write it on top of the firmware.
233 /* Stop the firmware, so that it can be safely rewritten */ in symbol_dl_image()
240 /* Program the adapter with new firmware */ in symbol_dl_image()
256 /* Run the firmware */ in symbol_dl_image()
266 /* hermes_reset() should return 0 with the secondary firmware */ in symbol_dl_image()
270 /* And this should work with any firmware */ in symbol_dl_image()
283 * Download the firmware into the card, this also does a PCMCIA soft
292 const struct firmware *fw_entry; in symbol_dl_firmware()
296 dev_err(dev, "Cannot find firmware: %s\n", fw->pri_fw); in symbol_dl_firmware()
302 /* Load primary firmware */ in symbol_dl_firmware()
309 dev_err(dev, "Primary firmware download failed\n"); in symbol_dl_firmware()
315 dev_err(dev, "Cannot find firmware: %s\n", fw->sta_fw); in symbol_dl_firmware()
321 /* Load secondary firmware */ in symbol_dl_firmware()
327 dev_err(dev, "Secondary firmware download failed\n"); in symbol_dl_firmware()
335 /* Reload firmware */ in orinoco_download()
359 const struct firmware *fw_entry = NULL; in orinoco_cache_fw()