#include <linux/kernel.h>
#include <linux/debugfs.h>
#include <linux/stringify.h>
#include "cc_driver.h"
#include "cc_crypto_ctx.h"
#include "cc_debugfs.h"
#define CC_DEBUG_REG(_X) …
static struct dentry *cc_debugfs_dir;
static struct debugfs_reg32 ver_sig_regs[] = …;
static const struct debugfs_reg32 pid_cid_regs[] = …;
static const struct debugfs_reg32 debug_regs[] = …;
void __init cc_debugfs_global_init(void)
{ … }
void cc_debugfs_global_fini(void)
{ … }
int cc_debugfs_init(struct cc_drvdata *drvdata)
{ … }
void cc_debugfs_fini(struct cc_drvdata *drvdata)
{ … }