linux/drivers/misc/mei/debugfs.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2012-2022, Intel Corporation. All rights reserved
 * Intel Management Engine Interface (Intel MEI) Linux driver
 */

#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>

#include <linux/mei.h>

#include "mei_dev.h"
#include "client.h"
#include "hw.h"

static int mei_dbgfs_meclients_show(struct seq_file *m, void *unused)
{}
DEFINE_SHOW_ATTRIBUTE();

static int mei_dbgfs_active_show(struct seq_file *m, void *unused)
{}
DEFINE_SHOW_ATTRIBUTE();

static const char *mei_dev_pxp_mode_str(enum mei_dev_pxp_mode state)
{}

static int mei_dbgfs_devstate_show(struct seq_file *m, void *unused)
{}
DEFINE_SHOW_ATTRIBUTE();

static ssize_t mei_dbgfs_write_allow_fa(struct file *file,
					const char __user *user_buf,
					size_t count, loff_t *ppos)
{}

static const struct file_operations mei_dbgfs_allow_fa_fops =;

/**
 * mei_dbgfs_deregister - Remove the debugfs files and directories
 *
 * @dev: the mei device structure
 */
void mei_dbgfs_deregister(struct mei_device *dev)
{}

/**
 * mei_dbgfs_register - Add the debugfs files
 *
 * @dev: the mei device structure
 * @name: the mei device name
 */
void mei_dbgfs_register(struct mei_device *dev, const char *name)
{}