#include <linux/cb710.h>
#include <linux/kernel.h>
#include <linux/module.h>
#define CB710_REG_COUNT …
static const u16 allow[CB710_REG_COUNT/16] = …;
static const char *const prefix[ARRAY_SIZE(allow)] = …;
static inline int allow_reg_read(unsigned block, unsigned offset, unsigned bits)
{ … }
#define CB710_READ_REGS_TEMPLATE(t) …
static const char cb710_regf_8[] = …;
static const char cb710_regf_16[] = …;
static const char cb710_regf_32[] = …;
static const char cb710_xes[] = …;
#define CB710_DUMP_REGS_TEMPLATE(t) …
#define CB710_READ_AND_DUMP_REGS_TEMPLATE(t) …
#define CB710_REG_ACCESS_TEMPLATES(t) …
CB710_REG_ACCESS_TEMPLATES(…)
CB710_REG_ACCESS_TEMPLATES(…)
CB710_REG_ACCESS_TEMPLATES(…)
void cb710_dump_regs(struct cb710_chip *chip, unsigned select)
{ … }
EXPORT_SYMBOL_GPL(…);