#include <linux/debugfs.h>
#include <linux/bitfield.h>
#include "dw-edma-v0-debugfs.h"
#include "dw-edma-v0-regs.h"
#include "dw-edma-core.h"
#define REGS_ADDR(dw, name) …
#define REGS_CH_ADDR(dw, name, _dir, _ch) …
#define REGISTER(dw, name) …
#define CTX_REGISTER(dw, name, dir, ch) …
#define WR_REGISTER(dw, name) …
#define RD_REGISTER(dw, name) …
#define WR_REGISTER_LEGACY(dw, name) …
#define RD_REGISTER_LEGACY(name) …
#define WR_REGISTER_UNROLL(dw, name) …
#define RD_REGISTER_UNROLL(dw, name) …
#define WRITE_STR …
#define READ_STR …
#define CHANNEL_STR …
#define REGISTERS_STR …
struct dw_edma_debugfs_entry { … };
static int dw_edma_debugfs_u32_get(void *data, u64 *val)
{ … }
DEFINE_DEBUGFS_ATTRIBUTE(…);
static void dw_edma_debugfs_create_x32(struct dw_edma *dw,
const struct dw_edma_debugfs_entry ini[],
int nr_entries, struct dentry *dent)
{ … }
static void dw_edma_debugfs_regs_ch(struct dw_edma *dw, enum dw_edma_dir dir,
u16 ch, struct dentry *dent)
{ … }
static noinline_for_stack void
dw_edma_debugfs_regs_wr(struct dw_edma *dw, struct dentry *dent)
{ … }
static noinline_for_stack void dw_edma_debugfs_regs_rd(struct dw_edma *dw,
struct dentry *dent)
{ … }
static void dw_edma_debugfs_regs(struct dw_edma *dw)
{ … }
void dw_edma_v0_debugfs_on(struct dw_edma *dw)
{ … }