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

Go to the source code of this file.

Macros

#define S3C2412_MEMREG(x)   (S3C24XX_VA_MEMCTRL + (x))
 
#define S3C2412_EBIREG(x)   (S3C2412_VA_EBI + (x))
 
#define S3C2412_SSMCREG(x)   (S3C2412_VA_SSMC + (x))
 
#define S3C2412_SSMC(x, o)   (S3C2412_SSMCREG((x * 0x20) + (o)))
 
#define S3C2412_BANKCFG   S3C2412_MEMREG(0x00)
 
#define S3C2412_BANKCON1   S3C2412_MEMREG(0x04)
 
#define S3C2412_BANKCON2   S3C2412_MEMREG(0x08)
 
#define S3C2412_BANKCON3   S3C2412_MEMREG(0x0C)
 
#define S3C2412_REFRESH   S3C2412_MEMREG(0x10)
 
#define S3C2412_TIMEOUT   S3C2412_MEMREG(0x14)
 
#define S3C2412_EBI_PR   S3C2412_EBIREG(0x00)
 
#define S3C2412_EBI_BANKCFG   S3C2412_EBIREG(0x04)
 
#define S3C2412_SSMC_BANK(x)   S3C2412_SSMC(x, 0x00)
 
#define S3C2412_SMIDCYR(x)   S3C2412_SSMC(x, 0x00)
 
#define S3C2412_SMBWSTRD(x)   S3C2412_SSMC(x, 0x04)
 
#define S3C2412_SMBWSTWRR(x)   S3C2412_SSMC(x, 0x08)
 
#define S3C2412_SMBWSTOENR(x)   S3C2412_SSMC(x, 0x0C)
 
#define S3C2412_SMBWSTWENR(x)   S3C2412_SSMC(x, 0x10)
 
#define S3C2412_SMBCR(x)   S3C2412_SSMC(x, 0x14)
 
#define S3C2412_SMBSR(x)   S3C2412_SSMC(x, 0x18)
 
#define S3C2412_SMBWSTBRDR(x)   S3C2412_SSMC(x, 0x1C)
 

Macro Definition Documentation

#define S3C2412_BANKCFG   S3C2412_MEMREG(0x00)

Definition at line 23 of file regs-s3c2412-mem.h.

#define S3C2412_BANKCON1   S3C2412_MEMREG(0x04)

Definition at line 24 of file regs-s3c2412-mem.h.

#define S3C2412_BANKCON2   S3C2412_MEMREG(0x08)

Definition at line 25 of file regs-s3c2412-mem.h.

#define S3C2412_BANKCON3   S3C2412_MEMREG(0x0C)

Definition at line 26 of file regs-s3c2412-mem.h.

#define S3C2412_EBI_BANKCFG   S3C2412_EBIREG(0x04)

Definition at line 34 of file regs-s3c2412-mem.h.

#define S3C2412_EBI_PR   S3C2412_EBIREG(0x00)

Definition at line 33 of file regs-s3c2412-mem.h.

#define S3C2412_EBIREG (   x)    (S3C2412_VA_EBI + (x))

Definition at line 18 of file regs-s3c2412-mem.h.

#define S3C2412_MEMREG (   x)    (S3C24XX_VA_MEMCTRL + (x))

Definition at line 17 of file regs-s3c2412-mem.h.

#define S3C2412_REFRESH   S3C2412_MEMREG(0x10)

Definition at line 28 of file regs-s3c2412-mem.h.

#define S3C2412_SMBCR (   x)    S3C2412_SSMC(x, 0x14)

Definition at line 44 of file regs-s3c2412-mem.h.

#define S3C2412_SMBSR (   x)    S3C2412_SSMC(x, 0x18)

Definition at line 45 of file regs-s3c2412-mem.h.

#define S3C2412_SMBWSTBRDR (   x)    S3C2412_SSMC(x, 0x1C)

Definition at line 46 of file regs-s3c2412-mem.h.

#define S3C2412_SMBWSTOENR (   x)    S3C2412_SSMC(x, 0x0C)

Definition at line 42 of file regs-s3c2412-mem.h.

#define S3C2412_SMBWSTRD (   x)    S3C2412_SSMC(x, 0x04)

Definition at line 40 of file regs-s3c2412-mem.h.

#define S3C2412_SMBWSTWENR (   x)    S3C2412_SSMC(x, 0x10)

Definition at line 43 of file regs-s3c2412-mem.h.

#define S3C2412_SMBWSTWRR (   x)    S3C2412_SSMC(x, 0x08)

Definition at line 41 of file regs-s3c2412-mem.h.

#define S3C2412_SMIDCYR (   x)    S3C2412_SSMC(x, 0x00)

Definition at line 39 of file regs-s3c2412-mem.h.

#define S3C2412_SSMC (   x,
 
)    (S3C2412_SSMCREG((x * 0x20) + (o)))

Definition at line 21 of file regs-s3c2412-mem.h.

#define S3C2412_SSMC_BANK (   x)    S3C2412_SSMC(x, 0x00)

Definition at line 38 of file regs-s3c2412-mem.h.

#define S3C2412_SSMCREG (   x)    (S3C2412_VA_SSMC + (x))

Definition at line 20 of file regs-s3c2412-mem.h.

#define S3C2412_TIMEOUT   S3C2412_MEMREG(0x14)

Definition at line 29 of file regs-s3c2412-mem.h.