#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 = …;
void mei_dbgfs_deregister(struct mei_device *dev)
{ … }
void mei_dbgfs_register(struct mei_device *dev, const char *name)
{ … }