Go to the documentation of this file.
17 #ifndef __ASM_ARCH_HARDWARE_H
18 #define __ASM_ARCH_HARDWARE_H
23 #define IO_BASE 0xF0000000
28 #define IO_ADDRESS(x) IOMEM(((((x) & 0xff000000) >> 4) | ((x) & 0xfffff)) |\
31 #define io_p2v(x) ((void __iomem *) (unsigned long) IO_ADDRESS(x))
32 #define io_v2p(x) ((((x) & 0x0ff00000) << 4) | ((x) & 0x000fffff))