linux/drivers/media/platform/rockchip/rkisp1/rkisp1-debug.c

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Rockchip ISP1 Driver - Base driver
 *
 * Copyright (C) 2019 Collabora, Ltd.
 *
 * Based on Rockchip ISP1 driver by Rockchip Electronics Co., Ltd.
 * Copyright (C) 2017 Rockchip Electronics Co., Ltd.
 */

#include <linux/debugfs.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/minmax.h>
#include <linux/pm_runtime.h>
#include <linux/seq_file.h>
#include <linux/string.h>

#include "rkisp1-common.h"
#include "rkisp1-regs.h"

struct rkisp1_debug_register {};

#define RKISP1_DEBUG_REG(name)
#define RKISP1_DEBUG_SHD_REG(name)

/* Keep this up-to-date when adding new registers. */
#define RKISP1_MAX_REG_LENGTH

static int rkisp1_debug_dump_regs(struct rkisp1_device *rkisp1,
				  struct seq_file *m, unsigned int offset,
				  const struct rkisp1_debug_register *regs)
{}

static int rkisp1_debug_dump_core_regs_show(struct seq_file *m, void *p)
{}
DEFINE_SHOW_ATTRIBUTE();

static int rkisp1_debug_dump_isp_regs_show(struct seq_file *m, void *p)
{}
DEFINE_SHOW_ATTRIBUTE();

static int rkisp1_debug_dump_rsz_regs_show(struct seq_file *m, void *p)
{}
DEFINE_SHOW_ATTRIBUTE();

static int rkisp1_debug_dump_mi_mp_show(struct seq_file *m, void *p)
{}
DEFINE_SHOW_ATTRIBUTE();

#define RKISP1_DEBUG_DATA_COUNT_BINS
#define RKISP1_DEBUG_DATA_COUNT_STEP

static int rkisp1_debug_input_status_show(struct seq_file *m, void *p)
{}
DEFINE_SHOW_ATTRIBUTE();

void rkisp1_debug_init(struct rkisp1_device *rkisp1)
{}

void rkisp1_debug_cleanup(struct rkisp1_device *rkisp1)
{}