Lines Matching defs:firmware
23 #include <linux/firmware.h>
362 /* wait for firmware to handle the API command */
443 const struct firmware *firmware;
462 retval = request_firmware(&firmware, CX2341X_FIRM_ENC_FILENAME,
466 pr_err("Hotplug firmware request failed (%s).\n",
468 pr_err("Please fix your hotplug setup, the board will not work without firmware loaded!\n");
472 if (firmware->size != BLACKBIRD_FIRM_IMAGE_SIZE) {
474 firmware->size, BLACKBIRD_FIRM_IMAGE_SIZE);
475 release_firmware(firmware);
479 if (memcmp(firmware->data, magic, 8) != 0) {
481 release_firmware(firmware);
486 dprintk(1, "Loading firmware ...\n");
487 dataptr = (__le32 *)firmware->data;
488 for (i = 0; i < (firmware->size >> 2); i++) {
500 release_firmware(firmware);
559 /* ping was not successful, reset and upload firmware */