linux/drivers/net/ethernet/mediatek/mtk_wed_debugfs.c

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 2021 Felix Fietkau <[email protected]> */

#include <linux/seq_file.h>
#include <linux/soc/mediatek/mtk_wed.h>
#include "mtk_wed.h"
#include "mtk_wed_regs.h"

struct reg_dump {};

enum {};

#define DUMP_STR(_str)
#define DUMP_REG(_reg, ...)
#define DUMP_REG_MASK(_reg, _mask)
#define DUMP_RING(_prefix, _base, ...)

#define DUMP_WED(_reg)
#define DUMP_WED_MASK(_reg, _mask)
#define DUMP_WED_RING(_base)

#define DUMP_WDMA(_reg)
#define DUMP_WDMA_RING(_base)

#define DUMP_WPDMA_TX_RING(_n)
#define DUMP_WPDMA_TXFREE_RING
#define DUMP_WPDMA_RX_RING(_n)
#define DUMP_WED_RRO_RING(_base)
#define DUMP_WED_RRO_FDBK(_base)

static void
print_reg_val(struct seq_file *s, const char *name, u32 val)
{}

static void
dump_wed_regs(struct seq_file *s, struct mtk_wed_device *dev,
	      const struct reg_dump *regs, int n_regs)
{}

static int
wed_txinfo_show(struct seq_file *s, void *data)
{}
DEFINE_SHOW_ATTRIBUTE();

static int
wed_rxinfo_show(struct seq_file *s, void *data)
{}
DEFINE_SHOW_ATTRIBUTE();

static int
wed_amsdu_show(struct seq_file *s, void *data)
{}
DEFINE_SHOW_ATTRIBUTE();

static int
wed_rtqm_show(struct seq_file *s, void *data)
{}
DEFINE_SHOW_ATTRIBUTE();

static int
wed_rro_show(struct seq_file *s, void *data)
{}
DEFINE_SHOW_ATTRIBUTE();

static int
mtk_wed_reg_set(void *data, u64 val)
{}

static int
mtk_wed_reg_get(void *data, u64 *val)
{}

DEFINE_DEBUGFS_ATTRIBUTE();

void mtk_wed_hw_add_debugfs(struct mtk_wed_hw *hw)
{}