Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
rt2x00debug.h File Reference

Go to the source code of this file.

Data Structures

struct  rt2x00debug
 

Macros

#define RT2X00DEBUGFS_REGISTER_ENTRY(__name, __type)
 

Enumerations

enum  rt2x00debugfs_entry_flags { RT2X00DEBUGFS_OFFSET = (1 << 0) }
 

Macro Definition Documentation

#define RT2X00DEBUGFS_REGISTER_ENTRY (   __name,
  __type 
)
Value:
struct reg##__name { \
void (*read)(struct rt2x00_dev *rt2x00dev, \
const unsigned int word, __type *data); \
void (*write)(struct rt2x00_dev *rt2x00dev, \
const unsigned int word, __type data); \
\
unsigned int flags; \
\
unsigned int word_base; \
unsigned int word_size; \
unsigned int word_count; \
} __name

Definition at line 41 of file rt2x00debug.h.

Enumeration Type Documentation

enum rt2x00debugfs_entry_flags: Flags for debugfs registry entry

: rt2x00lib should pass the register offset as argument when using the callback function read()/write()

Enumerator:
RT2X00DEBUGFS_OFFSET 

Definition at line 37 of file rt2x00debug.h.