Lines Matching defs:firmware

12 #include <linux/firmware.h>
41 const struct firmware *firmware;
60 firmware = ar->normal_mode_fw.fw_file.firmware;
61 if (firmware)
62 crc = crc32_le(0, firmware->data, firmware->size);
64 ath10k_info(ar, "firmware ver %s api %d features %s crc32 %08x\n",
74 const struct firmware *board;
274 /* Stat data may exceed htc-wmi buffer limit. In such case firmware
316 * prevent firmware from DoS-ing the host.
500 /* This is a clean assert crash in firmware. */
513 /* big enough number so that firmware asserts */
525 "To simulate firmware crash write one of the keywords to this file:\n"
526 "`soft` - this will send WMI_FORCE_FW_HANG_ASSERT to firmware if FW supports that command.\n"
527 "`hard` - this will send to firmware command with illegal parameters causing firmware crash.\n"
528 "`assert` - this will send special illegal parameter to firmware to cause assert failure and crash.\n"
534 /* Simulate firmware crash:
535 * 'soft': Call wmi command causing firmware hang. This firmware hang is
536 * recoverable by warm firmware reset.
537 * 'hard': Force firmware crash by setting any vdev parameter for not allowed
538 * vdev id. This is hard firmware crash because it is recoverable only by cold
539 * firmware reset.
571 ath10k_info(ar, "simulating soft firmware crash\n");
574 ath10k_info(ar, "simulating hard firmware crash\n");
576 * firmware variants in order to force a firmware crash.
582 ath10k_info(ar, "simulating firmware assert crash\n");
594 ath10k_warn(ar, "failed to simulate firmware crash: %d\n", ret);
1405 /* there's no way to switch back to the firmware default */
1414 /* firmware is not running, nothing else to do */
2007 ath10k_info(ar, "restarting firmware due to btcoex change");
2137 ath10k_info(ar, "restarting firmware due to Peer stats change");
2185 "firmware-N.bin\t\t%08x\n",
2186 crc32_le(0, ar->normal_mode_fw.fw_file.firmware->data,
2187 ar->normal_mode_fw.fw_file.firmware->size));