#include <linux/module.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include "cw1200.h"
#include "debug.h"
#include "fwio.h"
static const char * const cw1200_debug_join_status[] = …;
static const char * const cw1200_debug_preamble[] = …;
static const char * const cw1200_debug_link_id[] = …;
static const char *cw1200_debug_mode(int mode)
{ … }
static void cw1200_queue_status_show(struct seq_file *seq,
struct cw1200_queue *q)
{ … }
static void cw1200_debug_print_map(struct seq_file *seq,
struct cw1200_common *priv,
const char *label,
u32 map)
{ … }
static int cw1200_status_show(struct seq_file *seq, void *v)
{ … }
DEFINE_SHOW_ATTRIBUTE(…);
static int cw1200_counters_show(struct seq_file *seq, void *v)
{ … }
DEFINE_SHOW_ATTRIBUTE(…);
static ssize_t cw1200_wsm_dumps(struct file *file,
const char __user *user_buf, size_t count, loff_t *ppos)
{ … }
static const struct file_operations fops_wsm_dumps = …;
int cw1200_debug_init(struct cw1200_common *priv)
{ … }
void cw1200_debug_release(struct cw1200_common *priv)
{ … }