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

Go to the source code of this file.

Macros

#define IO_BASE   0xF0000000
 
#define IO_ADDRESS(x)
 
#define io_p2v(x)   ((void __iomem *) (unsigned long) IO_ADDRESS(x))
 
#define io_v2p(x)   ((((x) & 0x0ff00000) << 4) | ((x) & 0x000fffff))
 

Macro Definition Documentation

#define IO_ADDRESS (   x)
Value:
IOMEM(((((x) & 0xff000000) >> 4) | ((x) & 0xfffff)) |\

Definition at line 28 of file hardware.h.

#define IO_BASE   0xF0000000

Definition at line 23 of file hardware.h.

#define io_p2v (   x)    ((void __iomem *) (unsigned long) IO_ADDRESS(x))

Definition at line 31 of file hardware.h.

#define io_v2p (   x)    ((((x) & 0x0ff00000) << 4) | ((x) & 0x000fffff))

Definition at line 32 of file hardware.h.