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

Go to the source code of this file.

Macros

#define REG_READ(type, addr)   (*((volatile type *) (addr)))
 
#define REG_WRITE(type, addr, val)   do { *((volatile type *) (addr)) = (val); } while(0)
 

Macro Definition Documentation

#define REG_READ (   type,
  addr 
)    (*((volatile type *) (addr)))

Definition at line 9 of file reg_rdwr.h.

#define REG_WRITE (   type,
  addr,
  val 
)    do { *((volatile type *) (addr)) = (val); } while(0)

Definition at line 13 of file reg_rdwr.h.