Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dcoredump.c86 struct mt7996_crash_data *crash_data = dev->coredump.crash_data; in mt7996_coredump_new() local
94 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() local
173 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 …]
H A Dmac.c2008 struct mt7996_crash_data *crash_data; in mt7996_mac_dump_work() local
2020 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()
H A Dmt7996.h283 struct mt7996_crash_data *crash_data; member
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dcoredump.c133 struct mt7915_crash_data *crash_data = dev->coredump.crash_data; in mt7915_coredump_new() local
137 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() local
313 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 …]
H A Dmac.c1613 struct mt7915_crash_data *crash_data; in mt7915_mac_dump_work() local
1625 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()
H A Dmt7915.h284 struct mt7915_crash_data *crash_data; member
/linux/drivers/net/wireless/ath/ath10k/
H A Dcoredump.c1477 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_new() local
1485 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() local
1505 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 …]
H A Dsdio.c2247 struct ath10k_fw_crash_data *crash_data, in ath10k_sdio_dump_registers() argument
2282 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() argument
2428 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() local
2493 crash_data = ath10k_coredump_new(ar); in ath10k_sdio_fw_crashed_dump()
2495 if (crash_data) in ath10k_sdio_fw_crashed_dump()
[all …]
H A Dsnoc.c1425 struct ath10k_fw_crash_data *crash_data) in ath10k_msa_dump_memory() argument
1433 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() local
1475 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()
H A Dce.h263 struct ath10k_fw_crash_data *crash_data);
H A Dce.c1788 struct ath10k_fw_crash_data *crash_data) in ath10k_ce_dump_registers() argument
1812 if (crash_data) in ath10k_ce_dump_registers()
1813 crash_data->ce_crash_data[id] = ce_data; in ath10k_ce_dump_registers()