linux/drivers/soundwire/intel_ace2x_debugfs.c

// SPDX-License-Identifier: GPL-2.0-only
// Copyright(c) 2023 Intel Corporation

#include <linux/acpi.h>
#include <linux/debugfs.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/pm_runtime.h>
#include <linux/soundwire/sdw.h>
#include <linux/soundwire/sdw_intel.h>
#include <linux/soundwire/sdw_registers.h>
#include "bus.h"
#include "cadence_master.h"
#include "intel.h"

/*
 * debugfs
 */
#ifdef CONFIG_DEBUG_FS

#define RD_BUF

static ssize_t intel_sprintf(void __iomem *mem, bool l,
			     char *buf, size_t pos, unsigned int reg)
{}

static int intel_reg_show(struct seq_file *s_file, void *data)
{}
DEFINE_SHOW_ATTRIBUTE();

static int intel_set_m_datamode(void *data, u64 value)
{}
DEFINE_DEBUGFS_ATTRIBUTE();

static int intel_set_s_datamode(void *data, u64 value)
{}
DEFINE_DEBUGFS_ATTRIBUTE();

void intel_ace2x_debugfs_init(struct sdw_intel *sdw)
{}

void intel_ace2x_debugfs_exit(struct sdw_intel *sdw)
{}
#endif /* CONFIG_DEBUG_FS */