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

Go to the source code of this file.

Macros

#define PLAT_PHYS_OFFSET   UL(0x00000000)
 
#define BUS_OFFSET   UL(0x80000000)
 
#define __virt_to_bus(x)   ((x) - PAGE_OFFSET + BUS_OFFSET)
 
#define __bus_to_virt(x)   ((x) - BUS_OFFSET + PAGE_OFFSET)
 
#define __pfn_to_bus(x)   (__pfn_to_phys(x) + (BUS_OFFSET - PHYS_OFFSET))
 
#define __bus_to_pfn(x)   __phys_to_pfn((x) - (BUS_OFFSET - PHYS_OFFSET))
 

Macro Definition Documentation

#define __bus_to_pfn (   x)    __phys_to_pfn((x) - (BUS_OFFSET - PHYS_OFFSET))

Definition at line 32 of file memory.h.

#define __bus_to_virt (   x)    ((x) - BUS_OFFSET + PAGE_OFFSET)

Definition at line 30 of file memory.h.

#define __pfn_to_bus (   x)    (__pfn_to_phys(x) + (BUS_OFFSET - PHYS_OFFSET))

Definition at line 31 of file memory.h.

#define __virt_to_bus (   x)    ((x) - PAGE_OFFSET + BUS_OFFSET)

Definition at line 29 of file memory.h.

#define BUS_OFFSET   UL(0x80000000)

Definition at line 28 of file memory.h.

#define PLAT_PHYS_OFFSET   UL(0x00000000)

Definition at line 26 of file memory.h.