Lines Matching defs:firmware
12 #include <linux/firmware.h>
42 const struct firmware *firmware;
61 firmware = ar->normal_mode_fw.fw_file.firmware;
62 if (firmware)
63 crc = crc32_le(0, firmware->data, firmware->size);
65 ath10k_info(ar, "firmware ver %s api %d features %s crc32 %08x\n",
75 const struct firmware *board;
275 /* Stat data may exceed htc-wmi buffer limit. In such case firmware
317 * prevent firmware from DoS-ing the host.
501 /* This is a clean assert crash in firmware. */
514 /* big enough number so that firmware asserts */
526 "To simulate firmware crash write one of the keywords to this file:\n"
527 "`soft` - this will send WMI_FORCE_FW_HANG_ASSERT to firmware if FW supports that command.\n"
528 "`hard` - this will send to firmware command with illegal parameters causing firmware crash.\n"
529 "`assert` - this will send special illegal parameter to firmware to cause assert failure and crash.\n"
535 /* Simulate firmware crash:
536 * 'soft': Call wmi command causing firmware hang. This firmware hang is
537 * recoverable by warm firmware reset.
538 * 'hard': Force firmware crash by setting any vdev parameter for not allowed
539 * vdev id. This is hard firmware crash because it is recoverable only by cold
540 * firmware reset.
572 ath10k_info(ar, "simulating soft firmware crash\n");
575 ath10k_info(ar, "simulating hard firmware crash\n");
577 * firmware variants in order to force a firmware crash.
583 ath10k_info(ar, "simulating firmware assert crash\n");
595 ath10k_warn(ar, "failed to simulate firmware crash: %d\n", ret);
1406 /* there's no way to switch back to the firmware default */
1415 /* firmware is not running, nothing else to do */
2008 ath10k_info(ar, "restarting firmware due to btcoex change");
2138 ath10k_info(ar, "restarting firmware due to Peer stats change");
2186 "firmware-N.bin\t\t%08x\n",
2187 crc32_le(0, ar->normal_mode_fw.fw_file.firmware->data,
2188 ar->normal_mode_fw.fw_file.firmware->size));