#include <linux/circ_buf.h>
#include <linux/ctype.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/string_helpers.h>
#include <drm/drm_debugfs.h>
#include "v3d_drv.h"
#include "v3d_regs.h"
#define REGDEF(min_ver, max_ver, reg) …
struct v3d_reg_def { … };
static const struct v3d_reg_def v3d_hub_reg_defs[] = …;
static const struct v3d_reg_def v3d_gca_reg_defs[] = …;
static const struct v3d_reg_def v3d_core_reg_defs[] = …;
static const struct v3d_reg_def v3d_csd_reg_defs[] = …;
static int v3d_v3d_debugfs_regs(struct seq_file *m, void *unused)
{ … }
static int v3d_v3d_debugfs_ident(struct seq_file *m, void *unused)
{ … }
static int v3d_debugfs_bo_stats(struct seq_file *m, void *unused)
{ … }
static int v3d_measure_clock(struct seq_file *m, void *unused)
{ … }
static int v3d_debugfs_mm(struct seq_file *m, void *unused)
{ … }
static const struct drm_debugfs_info v3d_debugfs_list[] = …;
void
v3d_debugfs_init(struct drm_minor *minor)
{ … }