Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
hardware.h File Reference
#include <mach/clps711x.h>

Go to the source code of this file.

Macros

#define CLPS711X_VIRT_BASE   IOMEM(0xff000000)
 
#define clps_readb(off)   readb(CLPS711X_VIRT_BASE + (off))
 
#define clps_readw(off)   readw(CLPS711X_VIRT_BASE + (off))
 
#define clps_readl(off)   readl(CLPS711X_VIRT_BASE + (off))
 
#define clps_writeb(val, off)   writeb(val, CLPS711X_VIRT_BASE + (off))
 
#define clps_writew(val, off)   writew(val, CLPS711X_VIRT_BASE + (off))
 
#define clps_writel(val, off)   writel(val, CLPS711X_VIRT_BASE + (off))
 
#define CS0_PHYS_BASE   (0x00000000)
 
#define CS1_PHYS_BASE   (0x10000000)
 
#define CS2_PHYS_BASE   (0x20000000)
 
#define CS3_PHYS_BASE   (0x30000000)
 
#define CS4_PHYS_BASE   (0x40000000)
 
#define CS5_PHYS_BASE   (0x50000000)
 
#define CS6_PHYS_BASE   (0x60000000)
 
#define CS7_PHYS_BASE   (0x70000000)
 
#define SYSPLD_VIRT_BASE   0xfe000000
 
#define SYSPLD_BASE   SYSPLD_VIRT_BASE
 
#define EDB_PD1_LCD_DC_DC_EN   (1<<1)
 
#define EDB_PD2_LCDEN   (1<<2)
 
#define EDB_PD3_LCDBL   (1<<3)
 

Macro Definition Documentation

#define CLPS711X_VIRT_BASE   IOMEM(0xff000000)

Definition at line 27 of file hardware.h.

#define clps_readb (   off)    readb(CLPS711X_VIRT_BASE + (off))

Definition at line 30 of file hardware.h.

#define clps_readl (   off)    readl(CLPS711X_VIRT_BASE + (off))

Definition at line 32 of file hardware.h.

#define clps_readw (   off)    readw(CLPS711X_VIRT_BASE + (off))

Definition at line 31 of file hardware.h.

#define clps_writeb (   val,
  off 
)    writeb(val, CLPS711X_VIRT_BASE + (off))

Definition at line 33 of file hardware.h.

#define clps_writel (   val,
  off 
)    writel(val, CLPS711X_VIRT_BASE + (off))

Definition at line 35 of file hardware.h.

#define clps_writew (   val,
  off 
)    writew(val, CLPS711X_VIRT_BASE + (off))

Definition at line 34 of file hardware.h.

#define CS0_PHYS_BASE   (0x00000000)

Definition at line 45 of file hardware.h.

#define CS1_PHYS_BASE   (0x10000000)

Definition at line 46 of file hardware.h.

#define CS2_PHYS_BASE   (0x20000000)

Definition at line 47 of file hardware.h.

#define CS3_PHYS_BASE   (0x30000000)

Definition at line 48 of file hardware.h.

#define CS4_PHYS_BASE   (0x40000000)

Definition at line 49 of file hardware.h.

#define CS5_PHYS_BASE   (0x50000000)

Definition at line 50 of file hardware.h.

#define CS6_PHYS_BASE   (0x60000000)

Definition at line 51 of file hardware.h.

#define CS7_PHYS_BASE   (0x70000000)

Definition at line 52 of file hardware.h.

#define EDB_PD1_LCD_DC_DC_EN   (1<<1)

Definition at line 123 of file hardware.h.

#define EDB_PD2_LCDEN   (1<<2)

Definition at line 124 of file hardware.h.

#define EDB_PD3_LCDBL   (1<<3)

Definition at line 125 of file hardware.h.

#define SYSPLD_BASE   SYSPLD_VIRT_BASE

Definition at line 65 of file hardware.h.

#define SYSPLD_VIRT_BASE   0xfe000000

Definition at line 64 of file hardware.h.