Searched refs:crash_data (Results 1 – 11 of 11) sorted by relevance
86 struct mt7996_crash_data *crash_data = dev->coredump.crash_data; in mt7996_coredump_new() local94 guid_gen(&crash_data->guid); in mt7996_coredump_new()95 ktime_get_real_ts64(&crash_data->timestamp); in mt7996_coredump_new()97 return crash_data; in mt7996_coredump_new()164 struct mt7996_crash_data *crash_data = dev->coredump.crash_data; in mt7996_coredump_build() local173 if (coredump_memdump && crash_data->memdump_buf_len) in mt7996_coredump_build()174 len += sizeof(*dump_mem) + crash_data->memdump_buf_len; in mt7996_coredump_build()196 guid_copy(&dump->guid, &crash_data->guid); in mt7996_coredump_build()197 dump->tv_sec = crash_data->timestamp.tv_sec; in mt7996_coredump_build()198 dump->tv_nsec = crash_data->timestamp.tv_nsec; in mt7996_coredump_build()[all …]
2008 struct mt7996_crash_data *crash_data; in mt7996_mac_dump_work() local2020 crash_data = mt7996_coredump_new(dev); in mt7996_mac_dump_work()2021 if (!crash_data) { in mt7996_mac_dump_work()2027 if (!mem_region || !crash_data->memdump_buf_len) { in mt7996_mac_dump_work()2032 buf = crash_data->memdump_buf; in mt7996_mac_dump_work()2033 buf_len = crash_data->memdump_buf_len; in mt7996_mac_dump_work()
283 struct mt7996_crash_data *crash_data; member
133 struct mt7915_crash_data *crash_data = dev->coredump.crash_data; in mt7915_coredump_new() local137 guid_gen(&crash_data->guid); in mt7915_coredump_new()138 ktime_get_real_ts64(&crash_data->timestamp); in mt7915_coredump_new()140 return crash_data; in mt7915_coredump_new()304 struct mt7915_crash_data *crash_data = dev->coredump.crash_data; in mt7915_coredump_build() local313 if (coredump_memdump && crash_data->memdump_buf_len) in mt7915_coredump_build()314 len += sizeof(*dump_mem) + crash_data->memdump_buf_len; in mt7915_coredump_build()336 guid_copy(&dump->guid, &crash_data->guid); in mt7915_coredump_build()337 dump->tv_sec = crash_data->timestamp.tv_sec; in mt7915_coredump_build()338 dump->tv_nsec = crash_data->timestamp.tv_nsec; in mt7915_coredump_build()[all …]
1613 struct mt7915_crash_data *crash_data; in mt7915_mac_dump_work() local1625 crash_data = mt7915_coredump_new(dev); in mt7915_mac_dump_work()1626 if (!crash_data) { in mt7915_mac_dump_work()1632 if (!mem_region || !crash_data->memdump_buf_len) { in mt7915_mac_dump_work()1637 buf = crash_data->memdump_buf; in mt7915_mac_dump_work()1638 buf_len = crash_data->memdump_buf_len; in mt7915_mac_dump_work()
284 struct mt7915_crash_data *crash_data; member
1477 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_new() local1485 guid_gen(&crash_data->guid); in ath10k_coredump_new()1486 ktime_get_real_ts64(&crash_data->timestamp); in ath10k_coredump_new()1488 return crash_data; in ath10k_coredump_new()1494 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_build() local1505 len += sizeof(*dump_tlv) + sizeof(crash_data->registers); in ath10k_coredump_build()1512 len += sizeof(*dump_tlv) + crash_data->ramdump_buf_len; in ath10k_coredump_build()1532 guid_copy(&dump_data->guid, &crash_data->guid); in ath10k_coredump_build()1554 dump_data->tv_sec = cpu_to_le64(crash_data->timestamp.tv_sec); in ath10k_coredump_build()1555 dump_data->tv_nsec = cpu_to_le64(crash_data->timestamp.tv_nsec); in ath10k_coredump_build()[all …]
2247 struct ath10k_fw_crash_data *crash_data, in ath10k_sdio_dump_registers() argument2282 if (!crash_data) in ath10k_sdio_dump_registers()2286 crash_data->registers[i] = __cpu_to_le32(reg_dump_values[i]); in ath10k_sdio_dump_registers()2417 struct ath10k_fw_crash_data *crash_data, in ath10k_sdio_dump_memory() argument2428 if (!crash_data) in ath10k_sdio_dump_memory()2437 buf = crash_data->ramdump_buf; in ath10k_sdio_dump_memory()2438 buf_len = crash_data->ramdump_buf_len; in ath10k_sdio_dump_memory()2480 struct ath10k_fw_crash_data *crash_data; in ath10k_sdio_fw_crashed_dump() local2493 crash_data = ath10k_coredump_new(ar); in ath10k_sdio_fw_crashed_dump()2495 if (crash_data) in ath10k_sdio_fw_crashed_dump()[all …]
1425 struct ath10k_fw_crash_data *crash_data) in ath10k_msa_dump_memory() argument1433 if (!crash_data || !crash_data->ramdump_buf) in ath10k_msa_dump_memory()1442 buf = crash_data->ramdump_buf; in ath10k_msa_dump_memory()1443 buf_len = crash_data->ramdump_buf_len; in ath10k_msa_dump_memory()1466 struct ath10k_fw_crash_data *crash_data; in ath10k_snoc_fw_crashed_dump() local1475 crash_data = ath10k_coredump_new(ar); in ath10k_snoc_fw_crashed_dump()1477 if (crash_data) in ath10k_snoc_fw_crashed_dump()1478 scnprintf(guid, sizeof(guid), "%pUl", &crash_data->guid); in ath10k_snoc_fw_crashed_dump()1484 ath10k_msa_dump_memory(ar, crash_data); in ath10k_snoc_fw_crashed_dump()
263 struct ath10k_fw_crash_data *crash_data);
1788 struct ath10k_fw_crash_data *crash_data) in ath10k_ce_dump_registers() argument1812 if (crash_data) in ath10k_ce_dump_registers()1813 crash_data->ce_crash_data[id] = ce_data; in ath10k_ce_dump_registers()