#define pr_fmt(fmt) …
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include "wcn36xx.h"
#include "debug.h"
#include "pmc.h"
#include "firmware.h"
#ifdef CONFIG_WCN36XX_DEBUGFS
static ssize_t read_file_bool_bmps(struct file *file, char __user *user_buf,
size_t count, loff_t *ppos)
{ … }
static ssize_t write_file_bool_bmps(struct file *file,
const char __user *user_buf,
size_t count, loff_t *ppos)
{ … }
static const struct file_operations fops_wcn36xx_bmps = …;
static ssize_t write_file_dump(struct file *file,
const char __user *user_buf,
size_t count, loff_t *ppos)
{ … }
static const struct file_operations fops_wcn36xx_dump = …;
static ssize_t read_file_firmware_feature_caps(struct file *file,
char __user *user_buf,
size_t count, loff_t *ppos)
{ … }
static const struct file_operations fops_wcn36xx_firmware_feat_caps = …;
#define ADD_FILE(name, mode, fop, priv_data) …
void wcn36xx_debugfs_init(struct wcn36xx *wcn)
{ … }
void wcn36xx_debugfs_exit(struct wcn36xx *wcn)
{ … }
#endif