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

Go to the source code of this file.

Macros

#define S3C2410_LCDREG(x)   (x)
 
#define S3C2410_LCDCON1   S3C2410_LCDREG(0x00)
 
#define S3C2410_LCDCON2   S3C2410_LCDREG(0x04)
 
#define S3C2410_LCDCON3   S3C2410_LCDREG(0x08)
 
#define S3C2410_LCDCON4   S3C2410_LCDREG(0x0C)
 
#define S3C2410_LCDCON5   S3C2410_LCDREG(0x10)
 
#define S3C2410_LCDCON1_CLKVAL(x)   ((x) << 8)
 
#define S3C2410_LCDCON1_MMODE   (1<<7)
 
#define S3C2410_LCDCON1_DSCAN4   (0<<5)
 
#define S3C2410_LCDCON1_STN4   (1<<5)
 
#define S3C2410_LCDCON1_STN8   (2<<5)
 
#define S3C2410_LCDCON1_TFT   (3<<5)
 
#define S3C2410_LCDCON1_STN1BPP   (0<<1)
 
#define S3C2410_LCDCON1_STN2GREY   (1<<1)
 
#define S3C2410_LCDCON1_STN4GREY   (2<<1)
 
#define S3C2410_LCDCON1_STN8BPP   (3<<1)
 
#define S3C2410_LCDCON1_STN12BPP   (4<<1)
 
#define S3C2410_LCDCON1_TFT1BPP   (8<<1)
 
#define S3C2410_LCDCON1_TFT2BPP   (9<<1)
 
#define S3C2410_LCDCON1_TFT4BPP   (10<<1)
 
#define S3C2410_LCDCON1_TFT8BPP   (11<<1)
 
#define S3C2410_LCDCON1_TFT16BPP   (12<<1)
 
#define S3C2410_LCDCON1_TFT24BPP   (13<<1)
 
#define S3C2410_LCDCON1_ENVID   (1)
 
#define S3C2410_LCDCON1_MODEMASK   0x1E
 
#define S3C2410_LCDCON2_VBPD(x)   ((x) << 24)
 
#define S3C2410_LCDCON2_LINEVAL(x)   ((x) << 14)
 
#define S3C2410_LCDCON2_VFPD(x)   ((x) << 6)
 
#define S3C2410_LCDCON2_VSPW(x)   ((x) << 0)
 
#define S3C2410_LCDCON2_GET_VBPD(x)   ( ((x) >> 24) & 0xFF)
 
#define S3C2410_LCDCON2_GET_VFPD(x)   ( ((x) >> 6) & 0xFF)
 
#define S3C2410_LCDCON2_GET_VSPW(x)   ( ((x) >> 0) & 0x3F)
 
#define S3C2410_LCDCON3_HBPD(x)   ((x) << 19)
 
#define S3C2410_LCDCON3_WDLY(x)   ((x) << 19)
 
#define S3C2410_LCDCON3_HOZVAL(x)   ((x) << 8)
 
#define S3C2410_LCDCON3_HFPD(x)   ((x) << 0)
 
#define S3C2410_LCDCON3_LINEBLANK(x)   ((x) << 0)
 
#define S3C2410_LCDCON3_GET_HBPD(x)   ( ((x) >> 19) & 0x7F)
 
#define S3C2410_LCDCON3_GET_HFPD(x)   ( ((x) >> 0) & 0xFF)
 
#define S3C2410_LCDCON4_MVAL(x)   ((x) << 8)
 
#define S3C2410_LCDCON4_HSPW(x)   ((x) << 0)
 
#define S3C2410_LCDCON4_WLH(x)   ((x) << 0)
 
#define S3C2410_LCDCON4_GET_HSPW(x)   ( ((x) >> 0) & 0xFF)
 
#define S3C2410_LCDCON5_BPP24BL   (1<<12)
 
#define S3C2410_LCDCON5_FRM565   (1<<11)
 
#define S3C2410_LCDCON5_INVVCLK   (1<<10)
 
#define S3C2410_LCDCON5_INVVLINE   (1<<9)
 
#define S3C2410_LCDCON5_INVVFRAME   (1<<8)
 
#define S3C2410_LCDCON5_INVVD   (1<<7)
 
#define S3C2410_LCDCON5_INVVDEN   (1<<6)
 
#define S3C2410_LCDCON5_INVPWREN   (1<<5)
 
#define S3C2410_LCDCON5_INVLEND   (1<<4)
 
#define S3C2410_LCDCON5_PWREN   (1<<3)
 
#define S3C2410_LCDCON5_ENLEND   (1<<2)
 
#define S3C2410_LCDCON5_BSWP   (1<<1)
 
#define S3C2410_LCDCON5_HWSWP   (1<<0)
 
#define S3C2410_LCDSADDR1   S3C2410_LCDREG(0x14)
 
#define S3C2410_LCDSADDR2   S3C2410_LCDREG(0x18)
 
#define S3C2410_LCDSADDR3   S3C2410_LCDREG(0x1C)
 
#define S3C2410_LCDBANK(x)   ((x) << 21)
 
#define S3C2410_LCDBASEU(x)   (x)
 
#define S3C2410_OFFSIZE(x)   ((x) << 11)
 
#define S3C2410_PAGEWIDTH(x)   (x)
 
#define S3C2410_REDLUT   S3C2410_LCDREG(0x20)
 
#define S3C2410_GREENLUT   S3C2410_LCDREG(0x24)
 
#define S3C2410_BLUELUT   S3C2410_LCDREG(0x28)
 
#define S3C2410_DITHMODE   S3C2410_LCDREG(0x4C)
 
#define S3C2410_TPAL   S3C2410_LCDREG(0x50)
 
#define S3C2410_TPAL_EN   (1<<24)
 
#define S3C2410_LCDINTPND   S3C2410_LCDREG(0x54)
 
#define S3C2410_LCDSRCPND   S3C2410_LCDREG(0x58)
 
#define S3C2410_LCDINTMSK   S3C2410_LCDREG(0x5C)
 
#define S3C2410_LCDINT_FIWSEL   (1<<2)
 
#define S3C2410_LCDINT_FRSYNC   (1<<1)
 
#define S3C2410_LCDINT_FICNT   (1<<0)
 
#define S3C2442_REDLUT   S3C2410_LCDREG(0x20)
 
#define S3C2442_GREENLUT   S3C2410_LCDREG(0x24)
 
#define S3C2442_BLUELUT   S3C2410_LCDREG(0x28)
 
#define S3C2442_DITHMODE   S3C2410_LCDREG(0x20)
 
#define S3C2410_LPCSEL   S3C2410_LCDREG(0x60)
 
#define S3C2410_TFTPAL(x)   S3C2410_LCDREG((0x400 + (x)*4))
 
#define S3C2412_TPAL   S3C2410_LCDREG(0x20)
 
#define S3C2412_LCDINTPND   S3C2410_LCDREG(0x24)
 
#define S3C2412_LCDSRCPND   S3C2410_LCDREG(0x28)
 
#define S3C2412_LCDINTMSK   S3C2410_LCDREG(0x2C)
 
#define S3C2412_TCONSEL   S3C2410_LCDREG(0x30)
 
#define S3C2412_LCDCON6   S3C2410_LCDREG(0x34)
 
#define S3C2412_LCDCON7   S3C2410_LCDREG(0x38)
 
#define S3C2412_LCDCON8   S3C2410_LCDREG(0x3C)
 
#define S3C2412_LCDCON9   S3C2410_LCDREG(0x40)
 
#define S3C2412_REDLUT(x)   S3C2410_LCDREG(0x44 + ((x)*4))
 
#define S3C2412_GREENLUT(x)   S3C2410_LCDREG(0x60 + ((x)*4))
 
#define S3C2412_BLUELUT(x)   S3C2410_LCDREG(0x98 + ((x)*4))
 
#define S3C2412_FRCPAT(x)   S3C2410_LCDREG(0xB4 + ((x)*4))
 
#define S3C2410_LCDINTBASE   S3C2410_LCDREG(0x54)
 
#define S3C2412_LCDINTBASE   S3C2410_LCDREG(0x24)
 
#define S3C24XX_LCDINTPND   (0x00)
 
#define S3C24XX_LCDSRCPND   (0x04)
 
#define S3C24XX_LCDINTMSK   (0x08)
 

Macro Definition Documentation

#define S3C2410_BLUELUT   S3C2410_LCDREG(0x28)

Definition at line 103 of file regs-lcd.h.

#define S3C2410_DITHMODE   S3C2410_LCDREG(0x4C)

Definition at line 105 of file regs-lcd.h.

#define S3C2410_GREENLUT   S3C2410_LCDREG(0x24)

Definition at line 102 of file regs-lcd.h.

#define S3C2410_LCDBANK (   x)    ((x) << 21)

Definition at line 93 of file regs-lcd.h.

#define S3C2410_LCDBASEU (   x)    (x)

Definition at line 94 of file regs-lcd.h.

#define S3C2410_LCDCON1   S3C2410_LCDREG(0x00)

Definition at line 18 of file regs-lcd.h.

#define S3C2410_LCDCON1_CLKVAL (   x)    ((x) << 8)

Definition at line 24 of file regs-lcd.h.

#define S3C2410_LCDCON1_DSCAN4   (0<<5)

Definition at line 26 of file regs-lcd.h.

#define S3C2410_LCDCON1_ENVID   (1)

Definition at line 44 of file regs-lcd.h.

#define S3C2410_LCDCON1_MMODE   (1<<7)

Definition at line 25 of file regs-lcd.h.

#define S3C2410_LCDCON1_MODEMASK   0x1E

Definition at line 46 of file regs-lcd.h.

#define S3C2410_LCDCON1_STN12BPP   (4<<1)

Definition at line 35 of file regs-lcd.h.

#define S3C2410_LCDCON1_STN1BPP   (0<<1)

Definition at line 31 of file regs-lcd.h.

#define S3C2410_LCDCON1_STN2GREY   (1<<1)

Definition at line 32 of file regs-lcd.h.

#define S3C2410_LCDCON1_STN4   (1<<5)

Definition at line 27 of file regs-lcd.h.

#define S3C2410_LCDCON1_STN4GREY   (2<<1)

Definition at line 33 of file regs-lcd.h.

#define S3C2410_LCDCON1_STN8   (2<<5)

Definition at line 28 of file regs-lcd.h.

#define S3C2410_LCDCON1_STN8BPP   (3<<1)

Definition at line 34 of file regs-lcd.h.

#define S3C2410_LCDCON1_TFT   (3<<5)

Definition at line 29 of file regs-lcd.h.

#define S3C2410_LCDCON1_TFT16BPP   (12<<1)

Definition at line 41 of file regs-lcd.h.

#define S3C2410_LCDCON1_TFT1BPP   (8<<1)

Definition at line 37 of file regs-lcd.h.

#define S3C2410_LCDCON1_TFT24BPP   (13<<1)

Definition at line 42 of file regs-lcd.h.

#define S3C2410_LCDCON1_TFT2BPP   (9<<1)

Definition at line 38 of file regs-lcd.h.

#define S3C2410_LCDCON1_TFT4BPP   (10<<1)

Definition at line 39 of file regs-lcd.h.

#define S3C2410_LCDCON1_TFT8BPP   (11<<1)

Definition at line 40 of file regs-lcd.h.

#define S3C2410_LCDCON2   S3C2410_LCDREG(0x04)

Definition at line 19 of file regs-lcd.h.

#define S3C2410_LCDCON2_GET_VBPD (   x)    ( ((x) >> 24) & 0xFF)

Definition at line 53 of file regs-lcd.h.

#define S3C2410_LCDCON2_GET_VFPD (   x)    ( ((x) >> 6) & 0xFF)

Definition at line 54 of file regs-lcd.h.

#define S3C2410_LCDCON2_GET_VSPW (   x)    ( ((x) >> 0) & 0x3F)

Definition at line 55 of file regs-lcd.h.

#define S3C2410_LCDCON2_LINEVAL (   x)    ((x) << 14)

Definition at line 49 of file regs-lcd.h.

#define S3C2410_LCDCON2_VBPD (   x)    ((x) << 24)

Definition at line 48 of file regs-lcd.h.

#define S3C2410_LCDCON2_VFPD (   x)    ((x) << 6)

Definition at line 50 of file regs-lcd.h.

#define S3C2410_LCDCON2_VSPW (   x)    ((x) << 0)

Definition at line 51 of file regs-lcd.h.

#define S3C2410_LCDCON3   S3C2410_LCDREG(0x08)

Definition at line 20 of file regs-lcd.h.

#define S3C2410_LCDCON3_GET_HBPD (   x)    ( ((x) >> 19) & 0x7F)

Definition at line 63 of file regs-lcd.h.

#define S3C2410_LCDCON3_GET_HFPD (   x)    ( ((x) >> 0) & 0xFF)

Definition at line 64 of file regs-lcd.h.

#define S3C2410_LCDCON3_HBPD (   x)    ((x) << 19)

Definition at line 57 of file regs-lcd.h.

#define S3C2410_LCDCON3_HFPD (   x)    ((x) << 0)

Definition at line 60 of file regs-lcd.h.

#define S3C2410_LCDCON3_HOZVAL (   x)    ((x) << 8)

Definition at line 59 of file regs-lcd.h.

#define S3C2410_LCDCON3_LINEBLANK (   x)    ((x) << 0)

Definition at line 61 of file regs-lcd.h.

#define S3C2410_LCDCON3_WDLY (   x)    ((x) << 19)

Definition at line 58 of file regs-lcd.h.

#define S3C2410_LCDCON4   S3C2410_LCDREG(0x0C)

Definition at line 21 of file regs-lcd.h.

#define S3C2410_LCDCON4_GET_HSPW (   x)    ( ((x) >> 0) & 0xFF)

Definition at line 72 of file regs-lcd.h.

#define S3C2410_LCDCON4_HSPW (   x)    ((x) << 0)

Definition at line 69 of file regs-lcd.h.

#define S3C2410_LCDCON4_MVAL (   x)    ((x) << 8)

Definition at line 68 of file regs-lcd.h.

#define S3C2410_LCDCON4_WLH (   x)    ((x) << 0)

Definition at line 70 of file regs-lcd.h.

#define S3C2410_LCDCON5   S3C2410_LCDREG(0x10)

Definition at line 22 of file regs-lcd.h.

#define S3C2410_LCDCON5_BPP24BL   (1<<12)

Definition at line 74 of file regs-lcd.h.

#define S3C2410_LCDCON5_BSWP   (1<<1)

Definition at line 85 of file regs-lcd.h.

#define S3C2410_LCDCON5_ENLEND   (1<<2)

Definition at line 84 of file regs-lcd.h.

#define S3C2410_LCDCON5_FRM565   (1<<11)

Definition at line 75 of file regs-lcd.h.

#define S3C2410_LCDCON5_HWSWP   (1<<0)

Definition at line 86 of file regs-lcd.h.

#define S3C2410_LCDCON5_INVLEND   (1<<4)

Definition at line 82 of file regs-lcd.h.

#define S3C2410_LCDCON5_INVPWREN   (1<<5)

Definition at line 81 of file regs-lcd.h.

#define S3C2410_LCDCON5_INVVCLK   (1<<10)

Definition at line 76 of file regs-lcd.h.

#define S3C2410_LCDCON5_INVVD   (1<<7)

Definition at line 79 of file regs-lcd.h.

#define S3C2410_LCDCON5_INVVDEN   (1<<6)

Definition at line 80 of file regs-lcd.h.

#define S3C2410_LCDCON5_INVVFRAME   (1<<8)

Definition at line 78 of file regs-lcd.h.

#define S3C2410_LCDCON5_INVVLINE   (1<<9)

Definition at line 77 of file regs-lcd.h.

#define S3C2410_LCDCON5_PWREN   (1<<3)

Definition at line 83 of file regs-lcd.h.

#define S3C2410_LCDINT_FICNT   (1<<0)

Definition at line 116 of file regs-lcd.h.

#define S3C2410_LCDINT_FIWSEL   (1<<2)

Definition at line 114 of file regs-lcd.h.

#define S3C2410_LCDINT_FRSYNC   (1<<1)

Definition at line 115 of file regs-lcd.h.

#define S3C2410_LCDINTBASE   S3C2410_LCDREG(0x54)

Definition at line 155 of file regs-lcd.h.

#define S3C2410_LCDINTMSK   S3C2410_LCDREG(0x5C)

Definition at line 113 of file regs-lcd.h.

#define S3C2410_LCDINTPND   S3C2410_LCDREG(0x54)

Definition at line 111 of file regs-lcd.h.

#define S3C2410_LCDREG (   x)    (x)

Definition at line 15 of file regs-lcd.h.

#define S3C2410_LCDSADDR1   S3C2410_LCDREG(0x14)

Definition at line 89 of file regs-lcd.h.

#define S3C2410_LCDSADDR2   S3C2410_LCDREG(0x18)

Definition at line 90 of file regs-lcd.h.

#define S3C2410_LCDSADDR3   S3C2410_LCDREG(0x1C)

Definition at line 91 of file regs-lcd.h.

#define S3C2410_LCDSRCPND   S3C2410_LCDREG(0x58)

Definition at line 112 of file regs-lcd.h.

#define S3C2410_LPCSEL   S3C2410_LCDREG(0x60)

Definition at line 125 of file regs-lcd.h.

#define S3C2410_OFFSIZE (   x)    ((x) << 11)

Definition at line 96 of file regs-lcd.h.

#define S3C2410_PAGEWIDTH (   x)    (x)

Definition at line 97 of file regs-lcd.h.

#define S3C2410_REDLUT   S3C2410_LCDREG(0x20)

Definition at line 101 of file regs-lcd.h.

#define S3C2410_TFTPAL (   x)    S3C2410_LCDREG((0x400 + (x)*4))

Definition at line 127 of file regs-lcd.h.

#define S3C2410_TPAL   S3C2410_LCDREG(0x50)

Definition at line 106 of file regs-lcd.h.

#define S3C2410_TPAL_EN   (1<<24)

Definition at line 108 of file regs-lcd.h.

#define S3C2412_BLUELUT (   x)    S3C2410_LCDREG(0x98 + ((x)*4))

Definition at line 146 of file regs-lcd.h.

#define S3C2412_FRCPAT (   x)    S3C2410_LCDREG(0xB4 + ((x)*4))

Definition at line 148 of file regs-lcd.h.

#define S3C2412_GREENLUT (   x)    S3C2410_LCDREG(0x60 + ((x)*4))

Definition at line 145 of file regs-lcd.h.

#define S3C2412_LCDCON6   S3C2410_LCDREG(0x34)

Definition at line 139 of file regs-lcd.h.

#define S3C2412_LCDCON7   S3C2410_LCDREG(0x38)

Definition at line 140 of file regs-lcd.h.

#define S3C2412_LCDCON8   S3C2410_LCDREG(0x3C)

Definition at line 141 of file regs-lcd.h.

#define S3C2412_LCDCON9   S3C2410_LCDREG(0x40)

Definition at line 142 of file regs-lcd.h.

#define S3C2412_LCDINTBASE   S3C2410_LCDREG(0x24)

Definition at line 156 of file regs-lcd.h.

#define S3C2412_LCDINTMSK   S3C2410_LCDREG(0x2C)

Definition at line 135 of file regs-lcd.h.

#define S3C2412_LCDINTPND   S3C2410_LCDREG(0x24)

Definition at line 133 of file regs-lcd.h.

#define S3C2412_LCDSRCPND   S3C2410_LCDREG(0x28)

Definition at line 134 of file regs-lcd.h.

#define S3C2412_REDLUT (   x)    S3C2410_LCDREG(0x44 + ((x)*4))

Definition at line 144 of file regs-lcd.h.

#define S3C2412_TCONSEL   S3C2410_LCDREG(0x30)

Definition at line 137 of file regs-lcd.h.

#define S3C2412_TPAL   S3C2410_LCDREG(0x20)

Definition at line 131 of file regs-lcd.h.

#define S3C2442_BLUELUT   S3C2410_LCDREG(0x28)

Definition at line 122 of file regs-lcd.h.

#define S3C2442_DITHMODE   S3C2410_LCDREG(0x20)

Definition at line 123 of file regs-lcd.h.

#define S3C2442_GREENLUT   S3C2410_LCDREG(0x24)

Definition at line 121 of file regs-lcd.h.

#define S3C2442_REDLUT   S3C2410_LCDREG(0x20)

Definition at line 120 of file regs-lcd.h.

#define S3C24XX_LCDINTMSK   (0x08)

Definition at line 160 of file regs-lcd.h.

#define S3C24XX_LCDINTPND   (0x00)

Definition at line 158 of file regs-lcd.h.

#define S3C24XX_LCDSRCPND   (0x04)

Definition at line 159 of file regs-lcd.h.