Home
last modified time | relevance | path

Searched refs:crash_data (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/ath/ath10k/
Ddebug.c658 struct ath10k_fw_crash_data *crash_data = ar->debug.fw_crash_data; in ath10k_debug_get_new_fw_crash_data() local
662 crash_data->crashed_since_read = true; in ath10k_debug_get_new_fw_crash_data()
663 uuid_le_gen(&crash_data->uuid); in ath10k_debug_get_new_fw_crash_data()
664 getnstimeofday(&crash_data->timestamp); in ath10k_debug_get_new_fw_crash_data()
666 return crash_data; in ath10k_debug_get_new_fw_crash_data()
672 struct ath10k_fw_crash_data *crash_data = ar->debug.fw_crash_data; in ath10k_build_dump_file() local
680 len += sizeof(*dump_tlv) + sizeof(crash_data->registers); in ath10k_build_dump_file()
693 if (!crash_data->crashed_since_read) { in ath10k_build_dump_file()
706 memcpy(dump_data->uuid, &crash_data->uuid, sizeof(dump_data->uuid)); in ath10k_build_dump_file()
728 dump_data->tv_sec = cpu_to_le64(crash_data->timestamp.tv_sec); in ath10k_build_dump_file()
[all …]
Dpci.c1337 struct ath10k_fw_crash_data *crash_data) in ath10k_pci_dump_registers() argument
1363 if (!crash_data) in ath10k_pci_dump_registers()
1367 crash_data->registers[i] = reg_dump_values[i]; in ath10k_pci_dump_registers()
1372 struct ath10k_fw_crash_data *crash_data; in ath10k_pci_fw_crashed_dump() local
1379 crash_data = ath10k_debug_get_new_fw_crash_data(ar); in ath10k_pci_fw_crashed_dump()
1381 if (crash_data) in ath10k_pci_fw_crashed_dump()
1382 scnprintf(uuid, sizeof(uuid), "%pUl", &crash_data->uuid); in ath10k_pci_fw_crashed_dump()
1388 ath10k_pci_dump_registers(ar, crash_data); in ath10k_pci_fw_crashed_dump()