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_PHYS   UL(0x01c00000)
 
#define IO_OFFSET   0xfd000000 /* Virtual IO = 0xfec00000 */
 
#define IO_SIZE   0x00400000
 
#define IO_VIRT   (IO_PHYS + IO_OFFSET)
 
#define io_v2p(va)   ((va) - IO_OFFSET)
 
#define __IO_ADDRESS(x)   ((x) + IO_OFFSET)
 
#define IO_ADDRESS(pa)   IOMEM(__IO_ADDRESS(pa))
 

Macro Definition Documentation

#define __IO_ADDRESS (   x)    ((x) + IO_OFFSET)

Definition at line 30 of file hardware.h.

#define IO_ADDRESS (   pa)    IOMEM(__IO_ADDRESS(pa))

Definition at line 31 of file hardware.h.

#define IO_OFFSET   0xfd000000 /* Virtual IO = 0xfec00000 */

Definition at line 26 of file hardware.h.

#define IO_PHYS   UL(0x01c00000)

Definition at line 25 of file hardware.h.

#define IO_SIZE   0x00400000

Definition at line 27 of file hardware.h.

#define io_v2p (   va)    ((va) - IO_OFFSET)

Definition at line 29 of file hardware.h.

#define IO_VIRT   (IO_PHYS + IO_OFFSET)

Definition at line 28 of file hardware.h.