Lines Matching defs:firmware

6 #include <linux/firmware.h>
15 * Make it easy to toggle firmware file name and if it gets loaded by
89 u8 firmware[];
99 u8 firmware[];
108 const struct firmware *fw;
356 "invalid firmware header field %s: expected 0x%x, actual 0x%x\n",
394 "firmware \"%s\", size %ld, must be larger than %ld bytes\n",
403 * Request the firmware from the system. Extract the pieces and fill in
417 dd_dev_warn(dd, "cannot find firmware \"%s\", err %d\n",
422 /* verify the firmware */
424 dd_dev_err(dd, "firmware \"%s\" is too small\n", name);
448 hfi1_cdbg(FIRMWARE, "firmware size: 0x%lx bytes",
465 /* non-augmented firmware file */
479 fdet->firmware_ptr = ff->firmware;
486 dd_dev_err(dd, "driver is unable to validate firmware without r2 and mu (not in firmware file)\n");
490 /* augmented firmware file */
504 fdet->firmware_ptr = aff->firmware;
511 "invalid firmware header field size: expected 0x%lx or 0x%lx, actual 0x%x\n",
535 * at all. If called with the firmware state in FW_TRY, use alternate names.
536 * On exit, this routine will have set the firmware state to one of FW_TRY,
557 dd_dev_warn(dd, "using alternate firmware names\n");
559 * Let others run. Some systems, when missing firmware, does
578 * Add a delay before obtaining and loading debug firmware.
579 * Authorization will fail if the delay between firmware
613 /* oops, had problems obtaining a firmware */
619 dd_dev_err(dd, "unable to obtain working firmware\n");
633 * Called by all HFIs when loading their firmware - i.e. device probe time.
634 * The first one will do the actual firmware load. Use a mutex to resolve
647 /* 40s delay due to long delay on missing firmware on some systems */
651 * Another device is trying the firmware. Wait until it
656 dd_dev_err(dd, "Timeout waiting for firmware try");
679 * firmware is being disposed. The mutexes can be moved to do that
680 * safely, but then the firmware would be requested from the OS multiple
699 * Called with the result of a firmware download.
701 * Return 1 to retry loading the firmware, 0 to stop.
718 /* load failed, obtain alternate firmware */
834 dd_dev_err(dd, "%s firmware security bad idle state\n",
854 dd_dev_err(dd, "%s firmware security time out\n", who);
879 dd_dev_warn(dd, "%s firmware authorization failed\n",
882 dd_dev_warn(dd, "%s firmware key mismatch\n", who);
903 /* return the 8051 firmware state */
913 * Wait until the firmware is up and ready to take host requests.
935 * Load the 8051 firmware.
948 * Load DC 8051 firmware
966 * DC reset step 3: Load DC8051 firmware
987 * DC reset step 4. Host starts the DC8051 firmware
1003 * DC reset step 5. Wait for firmware to be ready to accept host
1014 dd_dev_info(dd, "8051 firmware version %d.%d.%d\n",
1119 * off the firmware validation on this HFI. This means we can't write to the
1121 * re-download and validation of the fabric serdes firmware. This, as a
1157 * No need for firmware retry - what to download has already
1221 dd_dev_info(dd, "Downloading fabric firmware\n");
1262 dd_dev_info(dd, "Downloading SBus firmware\n");
1299 dd_dev_info(dd, "Downloading PCIe firmware\n");
1307 /* step 4: load firmware into SBus Master XDMEM */
1322 * steps 7-11: run RSA, if it succeeds, firmware is available to
2119 * Download the firmware needed for the Gen3 PCIe SerDes. An update
2120 * to the SBus firmware is needed before updating the PCIe firmware.
2128 /* both firmware loads below use the SBus */
2173 /* read and display firmware version info */
2186 dd_dev_err(dd, "Unable to acquire SBus to read firmware versions\n");
2199 dd_dev_info(dd, "SBus Master firmware version 0x%08x\n", sbus_vers);
2215 dd_dev_info(dd, "PCIe SerDes firmware version 0x%x\n",
2218 dd_dev_warn(dd, "PCIe SerDes do not have the same firmware version\n");
2221 "PCIe SerDes lane %d firmware version 0x%x\n",
2240 dd_dev_info(dd, "Fabric SerDes firmware version 0x%x\n",
2243 dd_dev_warn(dd, "Fabric SerDes do not have the same firmware version\n");
2246 "Fabric SerDes lane %d firmware version 0x%x\n",