Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
debugfs.c File Reference
#include <linux/debugfs.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/spinlock.h>
#include <linux/device.h>
#include <linux/export.h>
#include "i2400m.h"
#include "debug-levels.h"

Go to the source code of this file.

Macros

#define D_SUBMODULE   debugfs
 
#define __debugfs_register(prefix, name, parent)
 

Functions

 DEFINE_SIMPLE_ATTRIBUTE (fops_netdev_queue_stopped, debugfs_netdev_queue_stopped_get, NULL,"%llu\n")
 
 DEFINE_SIMPLE_ATTRIBUTE (fops_i2400m_suspend, NULL, debugfs_i2400m_suspend_set,"%llu\n")
 
 DEFINE_SIMPLE_ATTRIBUTE (fops_i2400m_reset, NULL, debugfs_i2400m_reset_set,"%llu\n")
 
int i2400m_debugfs_add (struct i2400m *i2400m)
 
void i2400m_debugfs_rm (struct i2400m *i2400m)
 

Macro Definition Documentation

#define __debugfs_register (   prefix,
  name,
  parent 
)
Value:
do { \
result = d_level_register_debugfs(prefix, name, parent); \
if (result < 0) \
goto error; \
} while (0)

Definition at line 230 of file debugfs.c.

#define D_SUBMODULE   debugfs

Definition at line 33 of file debugfs.c.

Function Documentation

DEFINE_SIMPLE_ATTRIBUTE ( fops_netdev_queue_stopped  ,
debugfs_netdev_queue_stopped_get  ,
NULL  ,
"%llu\n"   
)
DEFINE_SIMPLE_ATTRIBUTE ( fops_i2400m_suspend  ,
NULL  ,
debugfs_i2400m_suspend_set  ,
"%llu\n"   
)
DEFINE_SIMPLE_ATTRIBUTE ( fops_i2400m_reset  ,
NULL  ,
debugfs_i2400m_reset_set  ,
"%llu\n"   
)
int i2400m_debugfs_add ( struct i2400m i2400m)

Definition at line 238 of file debugfs.c.

void i2400m_debugfs_rm ( struct i2400m i2400m)

Definition at line 367 of file debugfs.c.