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 NETX_IO_PHYS   0x00100000
 
#define NETX_IO_VIRT   0xe0000000
 
#define NETX_IO_SIZE   0x00100000
 
#define SRAM_INTERNAL_PHYS_0   0x00000
 
#define SRAM_INTERNAL_PHYS_1   0x08000
 
#define SRAM_INTERNAL_PHYS_2   0x10000
 
#define SRAM_INTERNAL_PHYS_3   0x18000
 
#define SRAM_INTERNAL_PHYS(no)   ((no) * 0x8000)
 
#define XPEC_MEM_SIZE   0x4000
 
#define XMAC_MEM_SIZE   0x1000
 
#define SRAM_MEM_SIZE   0x8000
 
#define io_p2v(x)   IOMEM((x) - NETX_IO_PHYS + NETX_IO_VIRT)
 
#define io_v2p(x)   ((x) - NETX_IO_VIRT + NETX_IO_PHYS)
 

Macro Definition Documentation

#define io_p2v (   x)    IOMEM((x) - NETX_IO_PHYS + NETX_IO_VIRT)

Definition at line 36 of file hardware.h.

#define io_v2p (   x)    ((x) - NETX_IO_VIRT + NETX_IO_PHYS)

Definition at line 37 of file hardware.h.

#define NETX_IO_PHYS   0x00100000

Definition at line 22 of file hardware.h.

#define NETX_IO_SIZE   0x00100000

Definition at line 24 of file hardware.h.

#define NETX_IO_VIRT   0xe0000000

Definition at line 23 of file hardware.h.

#define SRAM_INTERNAL_PHYS (   no)    ((no) * 0x8000)

Definition at line 30 of file hardware.h.

#define SRAM_INTERNAL_PHYS_0   0x00000

Definition at line 26 of file hardware.h.

#define SRAM_INTERNAL_PHYS_1   0x08000

Definition at line 27 of file hardware.h.

#define SRAM_INTERNAL_PHYS_2   0x10000

Definition at line 28 of file hardware.h.

#define SRAM_INTERNAL_PHYS_3   0x18000

Definition at line 29 of file hardware.h.

#define SRAM_MEM_SIZE   0x8000

Definition at line 34 of file hardware.h.

#define XMAC_MEM_SIZE   0x1000

Definition at line 33 of file hardware.h.

#define XPEC_MEM_SIZE   0x4000

Definition at line 32 of file hardware.h.