Lines Matching defs:firmware

48 #include <linux/firmware.h>
58 * Make it easy to toggle firmware file name and if it gets loaded by
132 u8 firmware[];
142 u8 firmware[];
151 const struct firmware *fw;
399 "invalid firmware header field %s: expected 0x%x, actual 0x%x\n",
437 "firmware \"%s\", size %ld, must be larger than %ld bytes\n",
446 * Request the firmware from the system. Extract the pieces and fill in
460 dd_dev_warn(dd, "cannot find firmware \"%s\", err %d\n",
465 /* verify the firmware */
467 dd_dev_err(dd, "firmware \"%s\" is too small\n", name);
491 hfi1_cdbg(FIRMWARE, "firmware size: 0x%lx bytes",
508 /* non-augmented firmware file */
522 fdet->firmware_ptr = ff->firmware;
529 dd_dev_err(dd, "driver is unable to validate firmware without r2 and mu (not in firmware file)\n");
533 /* augmented firmware file */
547 fdet->firmware_ptr = aff->firmware;
554 "invalid firmware header field size: expected 0x%lx or 0x%lx, actual 0x%x\n",
578 * at all. If called with the firmware state in FW_TRY, use alternate names.
579 * On exit, this routine will have set the firmware state to one of FW_TRY,
600 dd_dev_warn(dd, "using alternate firmware names\n");
602 * Let others run. Some systems, when missing firmware, does
621 * Add a delay before obtaining and loading debug firmware.
622 * Authorization will fail if the delay between firmware
656 /* oops, had problems obtaining a firmware */
662 dd_dev_err(dd, "unable to obtain working firmware\n");
676 * Called by all HFIs when loading their firmware - i.e. device probe time.
677 * The first one will do the actual firmware load. Use a mutex to resolve
690 /* 40s delay due to long delay on missing firmware on some systems */
694 * Another device is trying the firmware. Wait until it
699 dd_dev_err(dd, "Timeout waiting for firmware try");
722 * firmware is being disposed. The mutexes can be moved to do that
723 * safely, but then the firmware would be requested from the OS multiple
742 * Called with the result of a firmware download.
744 * Return 1 to retry loading the firmware, 0 to stop.
761 /* load failed, obtain alternate firmware */
877 dd_dev_err(dd, "%s firmware security bad idle state\n",
897 dd_dev_err(dd, "%s firmware security time out\n", who);
922 dd_dev_warn(dd, "%s firmware authorization failed\n",
925 dd_dev_warn(dd, "%s firmware key mismatch\n", who);
946 /* return the 8051 firmware state */
956 * Wait until the firmware is up and ready to take host requests.
978 * Load the 8051 firmware.
991 * Load DC 8051 firmware
1009 * DC reset step 3: Load DC8051 firmware
1030 * DC reset step 4. Host starts the DC8051 firmware
1046 * DC reset step 5. Wait for firmware to be ready to accept host
1057 dd_dev_info(dd, "8051 firmware version %d.%d.%d\n",
1162 * off the firmware validation on this HFI. This means we can't write to the
1164 * re-download and validation of the fabric serdes firmware. This, as a
1200 * No need for firmware retry - what to download has already
1264 dd_dev_info(dd, "Downloading fabric firmware\n");
1305 dd_dev_info(dd, "Downloading SBus firmware\n");
1342 dd_dev_info(dd, "Downloading PCIe firmware\n");
1350 /* step 4: load firmware into SBus Master XDMEM */
1365 * steps 7-11: run RSA, if it succeeds, firmware is available to
2162 * Download the firmware needed for the Gen3 PCIe SerDes. An update
2163 * to the SBus firmware is needed before updating the PCIe firmware.
2171 /* both firmware loads below use the SBus */
2216 /* read and display firmware version info */
2229 dd_dev_err(dd, "Unable to acquire SBus to read firmware versions\n");
2242 dd_dev_info(dd, "SBus Master firmware version 0x%08x\n", sbus_vers);
2258 dd_dev_info(dd, "PCIe SerDes firmware version 0x%x\n",
2261 dd_dev_warn(dd, "PCIe SerDes do not have the same firmware version\n");
2264 "PCIe SerDes lane %d firmware version 0x%x\n",
2283 dd_dev_info(dd, "Fabric SerDes firmware version 0x%x\n",
2286 dd_dev_warn(dd, "Fabric SerDes do not have the same firmware version\n");
2289 "Fabric SerDes lane %d firmware version 0x%x\n",