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

/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Ddebug.c894 struct ath10k_fw_crash_data *crash_data = ar->debug.fw_crash_data; ath10k_debug_get_new_fw_crash_data() local
898 crash_data->crashed_since_read = true; ath10k_debug_get_new_fw_crash_data()
899 uuid_le_gen(&crash_data->uuid); ath10k_debug_get_new_fw_crash_data()
900 getnstimeofday(&crash_data->timestamp); ath10k_debug_get_new_fw_crash_data()
902 return crash_data; ath10k_debug_get_new_fw_crash_data()
908 struct ath10k_fw_crash_data *crash_data = ar->debug.fw_crash_data; ath10k_build_dump_file() local
916 len += sizeof(*dump_tlv) + sizeof(crash_data->registers); ath10k_build_dump_file()
929 if (!crash_data->crashed_since_read) { ath10k_build_dump_file()
942 memcpy(dump_data->uuid, &crash_data->uuid, sizeof(dump_data->uuid)); ath10k_build_dump_file()
964 dump_data->tv_sec = cpu_to_le64(crash_data->timestamp.tv_sec); ath10k_build_dump_file()
965 dump_data->tv_nsec = cpu_to_le64(crash_data->timestamp.tv_nsec); ath10k_build_dump_file()
970 dump_tlv->tlv_len = cpu_to_le32(sizeof(crash_data->registers)); ath10k_build_dump_file()
971 memcpy(dump_tlv->tlv_data, &crash_data->registers, ath10k_build_dump_file()
972 sizeof(crash_data->registers)); ath10k_build_dump_file()
973 sofar += sizeof(*dump_tlv) + sizeof(crash_data->registers); ath10k_build_dump_file()
H A Dpci.c993 struct ath10k_fw_crash_data *crash_data) ath10k_pci_dump_registers()
1019 if (!crash_data) ath10k_pci_dump_registers()
1023 crash_data->registers[i] = reg_dump_values[i]; ath10k_pci_dump_registers()
1028 struct ath10k_fw_crash_data *crash_data; ath10k_pci_fw_crashed_dump() local
1035 crash_data = ath10k_debug_get_new_fw_crash_data(ar); ath10k_pci_fw_crashed_dump()
1037 if (crash_data) ath10k_pci_fw_crashed_dump()
1038 scnprintf(uuid, sizeof(uuid), "%pUl", &crash_data->uuid); ath10k_pci_fw_crashed_dump()
1044 ath10k_pci_dump_registers(ar, crash_data); ath10k_pci_fw_crashed_dump()
992 ath10k_pci_dump_registers(struct ath10k *ar, struct ath10k_fw_crash_data *crash_data) ath10k_pci_dump_registers() argument

Completed in 274 milliseconds