#include <linux/devcoredump.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/utsname.h>
#include "coredump.h"
static bool coredump_memdump;
module_param(coredump_memdump, bool, 0644);
MODULE_PARM_DESC(…) …;
static const struct mt7915_mem_region mt7915_mem_regions[] = …;
static const struct mt7915_mem_region mt7916_mem_regions[] = …;
static const struct mt7915_mem_region mt798x_mem_regions[] = …;
const struct mt7915_mem_region*
mt7915_coredump_get_mem_layout(struct mt7915_dev *dev, u32 *num)
{ … }
static int mt7915_coredump_get_mem_size(struct mt7915_dev *dev)
{ … }
struct mt7915_crash_data *mt7915_coredump_new(struct mt7915_dev *dev)
{ … }
static void
mt7915_coredump_fw_state(struct mt7915_dev *dev, struct mt7915_coredump *dump,
bool *exception)
{ … }
static void
mt7915_coredump_fw_trace(struct mt7915_dev *dev, struct mt7915_coredump *dump,
bool exception)
{ … }
static void
mt7915_coredump_fw_stack(struct mt7915_dev *dev, struct mt7915_coredump *dump,
bool exception)
{ … }
static void
mt7915_coredump_fw_task(struct mt7915_dev *dev, struct mt7915_coredump *dump)
{ … }
static void
mt7915_coredump_fw_context(struct mt7915_dev *dev, struct mt7915_coredump *dump)
{ … }
static struct mt7915_coredump *mt7915_coredump_build(struct mt7915_dev *dev)
{ … }
int mt7915_coredump_submit(struct mt7915_dev *dev)
{ … }
int mt7915_coredump_register(struct mt7915_dev *dev)
{ … }
void mt7915_coredump_unregister(struct mt7915_dev *dev)
{ … }