linux/drivers/dma/dw-edma/dw-hdma-v0-debugfs.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2023 Cai Huoqing
 * Synopsys DesignWare HDMA v0 debugfs
 *
 * Author: Cai Huoqing <[email protected]>
 */

#include <linux/debugfs.h>
#include <linux/bitfield.h>

#include "dw-hdma-v0-debugfs.h"
#include "dw-hdma-v0-regs.h"
#include "dw-edma-core.h"

#define REGS_ADDR(dw, name)

#define REGS_CH_ADDR(dw, name, _dir, _ch)

#define CTX_REGISTER(dw, name, dir, ch)

#define WRITE_STR
#define READ_STR
#define CHANNEL_STR
#define REGISTERS_STR

struct dw_hdma_debugfs_entry {};

static int dw_hdma_debugfs_u32_get(void *data, u64 *val)
{}
DEFINE_DEBUGFS_ATTRIBUTE();

static void dw_hdma_debugfs_create_x32(struct dw_edma *dw,
				       const struct dw_hdma_debugfs_entry ini[],
				       int nr_entries, struct dentry *dent)
{}

static void dw_hdma_debugfs_regs_ch(struct dw_edma *dw, enum dw_edma_dir dir,
				    u16 ch, struct dentry *dent)
{}

static void dw_hdma_debugfs_regs_wr(struct dw_edma *dw, struct dentry *dent)
{}

static void dw_hdma_debugfs_regs_rd(struct dw_edma *dw, struct dentry *dent)
{}

static void dw_hdma_debugfs_regs(struct dw_edma *dw)
{}

void dw_hdma_v0_debugfs_on(struct dw_edma *dw)
{}