Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
regs-ldm.h File Reference
#include <mach/map.h>

Go to the source code of this file.

Macros

#define REG_LCM_DCCS   (0x00)
 
#define LCM_DCCS_ENG_RST   (1 << 0)
 
#define LCM_DCCS_VA_EN   (1 << 1)
 
#define LCM_DCCS_OSD_EN   (1 << 2)
 
#define LCM_DCCS_DISP_OUT_EN   (1 << 3)
 
#define LCM_DCCS_DISP_INT_EN   (1 << 4)
 
#define LCM_DCCS_CMD_ON   (1 << 5)
 
#define LCM_DCCS_FIELD_INTR   (1 << 6)
 
#define LCM_DCCS_SINGLE   (1 << 7)
 
#define REG_LCM_DEV_CTRL   (0x04)
 
#define LCM_DEV_CTRL_LCD_DDA   (8)
 
#define LCM_DEV_CTRL_YUV2CCIR   (16)
 
#define LCM_DEV_CTRL_CMD16   (29)
 
#define LCM_DEV_CTRL_CM16t18   (30)
 
#define LCM_DEV_CTRL_CMD_LOW   (31)
 
#define REG_LCM_MPU_CMD   (0x08)
 
#define REG_LCM_INT_CS   (0x0c)
 
#define LCM_INT_CS_DISP_F_EN   (1 << 0)
 
#define LCM_INT_CS_UNDERRUN_EN   (1 << 1)
 
#define LCM_INT_CS_BUS_ERROR_INT   (1 << 28)
 
#define LCM_INT_CS_UNDERRUN_INT   (1 << 29)
 
#define LCM_INT_CS_DISP_F_STATUS   (1 << 30)
 
#define LCM_INT_CS_DISP_F_INT   (1 << 31)
 
#define REG_LCM_CRTC_SIZE   (0x10)
 
#define LCM_CRTC_SIZE_VTTVAL(x)   ((x) << 16)
 
#define LCM_CRTC_SIZE_HTTVAL(x)   ((x) << 0)
 
#define REG_LCM_CRTC_DEND   (0x14)
 
#define LCM_CRTC_DEND_VDENDVAL(x)   ((x) << 16)
 
#define LCM_CRTC_DEND_HDENDVAL(x)   ((x) << 0)
 
#define REG_LCM_CRTC_HR   (0x18)
 
#define LCM_CRTC_HR_EVAL(x)   ((x) << 16)
 
#define LCM_CRTC_HR_SVAL(x)   ((x) << 0)
 
#define REG_LCM_CRTC_HSYNC   (0x1C)
 
#define LCM_CRTC_HSYNC_SHIFTVAL(x)   ((x) << 30)
 
#define LCM_CRTC_HSYNC_EVAL(x)   ((x) << 16)
 
#define LCM_CRTC_HSYNC_SVAL(x)   ((x) << 0)
 
#define REG_LCM_CRTC_VR   (0x20)
 
#define LCM_CRTC_VR_EVAL(x)   ((x) << 16)
 
#define LCM_CRTC_VR_SVAL(x)   ((x) << 0)
 
#define REG_LCM_VA_BADDR0   (0x24)
 
#define REG_LCM_VA_BADDR1   (0x28)
 
#define REG_LCM_VA_FBCTRL   (0x2C)
 
#define LCM_VA_FBCTRL_IO_REGION_HALF   (1 << 28)
 
#define LCM_VA_FBCTRL_FIELD_DUAL   (1 << 29)
 
#define LCM_VA_FBCTRL_START_BUF   (1 << 30)
 
#define LCM_VA_FBCTRL_DB_EN   (1 << 31)
 
#define REG_LCM_VA_SCALE   (0x30)
 
#define LCM_VA_SCALE_XCOPY_INTERPOLATION   (0 << 15)
 
#define LCM_VA_SCALE_XCOPY_DUPLICATION   (1 << 15)
 
#define REG_LCM_VA_WIN   (0x38)
 
#define REG_LCM_VA_STUFF   (0x3C)
 
#define REG_LCM_OSD_WINS   (0x40)
 
#define REG_LCM_OSD_WINE   (0x44)
 
#define REG_LCM_OSD_BADDR   (0x48)
 
#define REG_LCM_OSD_FBCTRL   (0x4c)
 
#define REG_LCM_OSD_OVERLAY   (0x50)
 
#define REG_LCM_OSD_CKEY   (0x54)
 
#define REG_LCM_OSD_CMASK   (0x58)
 
#define REG_LCM_OSD_SKIP1   (0x5C)
 
#define REG_LCM_OSD_SKIP2   (0x60)
 
#define REG_LCM_OSD_SCALE   (0x64)
 
#define REG_LCM_MPU_VSYNC   (0x68)
 
#define REG_LCM_HC_CTRL   (0x6C)
 
#define REG_LCM_HC_POS   (0x70)
 
#define REG_LCM_HC_WBCTRL   (0x74)
 
#define REG_LCM_HC_BADDR   (0x78)
 
#define REG_LCM_HC_COLOR0   (0x7C)
 
#define REG_LCM_HC_COLOR1   (0x80)
 
#define REG_LCM_HC_COLOR2   (0x84)
 
#define REG_LCM_HC_COLOR3   (0x88)
 

Enumerations

enum  LCM_DCCS_VA_SRC {
  LCM_DCCS_VA_SRC_YUV422 = (0 << 8), LCM_DCCS_VA_SRC_YCBCR422 = (1 << 8), LCM_DCCS_VA_SRC_RGB888 = (2 << 8), LCM_DCCS_VA_SRC_RGB666 = (3 << 8),
  LCM_DCCS_VA_SRC_RGB565 = (4 << 8), LCM_DCCS_VA_SRC_RGB444LOW = (5 << 8), LCM_DCCS_VA_SRC_RGB444HIGH = (7 << 8)
}
 
enum  LCM_DEV_CTRL_SWAP_YCbCr { LCM_DEV_CTRL_SWAP_UYVY = (0 << 1), LCM_DEV_CTRL_SWAP_YUYV = (1 << 1), LCM_DEV_CTRL_SWAP_VYUY = (2 << 1), LCM_DEV_CTRL_SWAP_YVYU = (3 << 1) }
 
enum  LCM_DEV_CTRL_RGB_SHIFT { LCM_DEV_CTRL_RGB_SHIFT_NOT = (0 << 3), LCM_DEV_CTRL_RGB_SHIFT_ONECYCLE = (1 << 3), LCM_DEV_CTRL_RGB_SHIFT_TWOCYCLE = (2 << 3), LCM_DEV_CTRL_RGB_SHIFT_NOT_DEF = (3 << 3) }
 
enum  LCM_DEV_CTRL_DEVICE {
  LCM_DEV_CTRL_DEVICE_YUV422 = (0 << 5), LCM_DEV_CTRL_DEVICE_YUV444 = (1 << 5), LCM_DEV_CTRL_DEVICE_UNIPAC = (4 << 5), LCM_DEV_CTRL_DEVICE_SEIKO_EPSON = (5 << 5),
  LCM_DEV_CTRL_DEVICE_HIGH_COLOR = (6 << 5), LCM_DEV_CTRL_DEVICE_MPU = (7 << 5)
}
 
enum  LCM_DEV_CTRL_LCD_SEL { LCM_DEV_CTRL_LCD_SEL_RGB_GBR = (0 << 17), LCM_DEV_CTRL_LCD_SEL_BGR_RBG = (1 << 17), LCM_DEV_CTRL_LCD_SEL_GBR_RGB = (2 << 17), LCM_DEV_CTRL_LCD_SEL_RBG_BGR = (3 << 17) }
 
enum  LCM_DEV_CTRL_FAL_D { LCM_DEV_CTRL_FAL_D_FALLING = (0 << 19), LCM_DEV_CTRL_FAL_D_RISING = (1 << 19) }
 
enum  LCM_DEV_CTRL_H_POL { LCM_DEV_CTRL_H_POL_LOW = (0 << 20), LCM_DEV_CTRL_H_POL_HIGH = (1 << 20) }
 
enum  LCM_DEV_CTRL_V_POL { LCM_DEV_CTRL_V_POL_LOW = (0 << 21), LCM_DEV_CTRL_V_POL_HIGH = (1 << 21) }
 
enum  LCM_DEV_CTRL_VR_LACE { LCM_DEV_CTRL_VR_LACE_NINTERLACE = (0 << 22), LCM_DEV_CTRL_VR_LACE_INTERLACE = (1 << 22) }
 
enum  LCM_DEV_CTRL_LACE { LCM_DEV_CTRL_LACE_NINTERLACE = (0 << 23), LCM_DEV_CTRL_LACE_INTERLACE = (1 << 23) }
 
enum  LCM_DEV_CTRL_RGB_SCALE { LCM_DEV_CTRL_RGB_SCALE_4096 = (0 << 24), LCM_DEV_CTRL_RGB_SCALE_65536 = (1 << 24), LCM_DEV_CTRL_RGB_SCALE_262144 = (2 << 24), LCM_DEV_CTRL_RGB_SCALE_16777216 = (3 << 24) }
 
enum  LCM_DEV_CTRL_DBWORD { LCM_DEV_CTRL_DBWORD_HALFWORD = (0 << 26), LCM_DEV_CTRL_DBWORD_FULLWORD = (1 << 26) }
 
enum  LCM_DEV_CTRL_MPU68 { LCM_DEV_CTRL_MPU68_80_SERIES = (0 << 27), LCM_DEV_CTRL_MPU68_68_SERIES = (1 << 27) }
 
enum  LCM_DEV_CTRL_DE_POL { LCM_DEV_CTRL_DE_POL_HIGH = (0 << 28), LCM_DEV_CTRL_DE_POL_LOW = (1 << 28) }
 

Macro Definition Documentation

#define LCM_CRTC_DEND_HDENDVAL (   x)    ((x) << 0)

Definition at line 154 of file regs-ldm.h.

#define LCM_CRTC_DEND_VDENDVAL (   x)    ((x) << 16)

Definition at line 153 of file regs-ldm.h.

#define LCM_CRTC_HR_EVAL (   x)    ((x) << 16)

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

#define LCM_CRTC_HR_SVAL (   x)    ((x) << 0)

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

#define LCM_CRTC_HSYNC_EVAL (   x)    ((x) << 16)

Definition at line 164 of file regs-ldm.h.

#define LCM_CRTC_HSYNC_SHIFTVAL (   x)    ((x) << 30)

Definition at line 163 of file regs-ldm.h.

#define LCM_CRTC_HSYNC_SVAL (   x)    ((x) << 0)

Definition at line 165 of file regs-ldm.h.

#define LCM_CRTC_SIZE_HTTVAL (   x)    ((x) << 0)

Definition at line 149 of file regs-ldm.h.

#define LCM_CRTC_SIZE_VTTVAL (   x)    ((x) << 16)

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

#define LCM_CRTC_VR_EVAL (   x)    ((x) << 16)

Definition at line 169 of file regs-ldm.h.

#define LCM_CRTC_VR_SVAL (   x)    ((x) << 0)

Definition at line 170 of file regs-ldm.h.

#define LCM_DCCS_CMD_ON   (1 << 5)

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

#define LCM_DCCS_DISP_INT_EN   (1 << 4)

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

#define LCM_DCCS_DISP_OUT_EN   (1 << 3)

Definition at line 30 of file regs-ldm.h.

#define LCM_DCCS_ENG_RST   (1 << 0)

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

#define LCM_DCCS_FIELD_INTR   (1 << 6)

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

#define LCM_DCCS_OSD_EN   (1 << 2)

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

#define LCM_DCCS_SINGLE   (1 << 7)

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

#define LCM_DCCS_VA_EN   (1 << 1)

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

#define LCM_DEV_CTRL_CM16t18   (30)

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

#define LCM_DEV_CTRL_CMD16   (29)

Definition at line 130 of file regs-ldm.h.

#define LCM_DEV_CTRL_CMD_LOW   (31)

Definition at line 132 of file regs-ldm.h.

#define LCM_DEV_CTRL_LCD_DDA   (8)

Definition at line 73 of file regs-ldm.h.

#define LCM_DEV_CTRL_YUV2CCIR   (16)

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

#define LCM_INT_CS_BUS_ERROR_INT   (1 << 28)

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

#define LCM_INT_CS_DISP_F_EN   (1 << 0)

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

#define LCM_INT_CS_DISP_F_INT   (1 << 31)

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

#define LCM_INT_CS_DISP_F_STATUS   (1 << 30)

Definition at line 143 of file regs-ldm.h.

#define LCM_INT_CS_UNDERRUN_EN   (1 << 1)

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

#define LCM_INT_CS_UNDERRUN_INT   (1 << 29)

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

#define LCM_VA_FBCTRL_DB_EN   (1 << 31)

Definition at line 183 of file regs-ldm.h.

#define LCM_VA_FBCTRL_FIELD_DUAL   (1 << 29)

Definition at line 181 of file regs-ldm.h.

#define LCM_VA_FBCTRL_IO_REGION_HALF   (1 << 28)

Definition at line 180 of file regs-ldm.h.

#define LCM_VA_FBCTRL_START_BUF   (1 << 30)

Definition at line 182 of file regs-ldm.h.

#define LCM_VA_SCALE_XCOPY_DUPLICATION   (1 << 15)

Definition at line 188 of file regs-ldm.h.

#define LCM_VA_SCALE_XCOPY_INTERPOLATION   (0 << 15)

Definition at line 187 of file regs-ldm.h.

#define REG_LCM_CRTC_DEND   (0x14)

Definition at line 152 of file regs-ldm.h.

#define REG_LCM_CRTC_HR   (0x18)

Definition at line 157 of file regs-ldm.h.

#define REG_LCM_CRTC_HSYNC   (0x1C)

Definition at line 162 of file regs-ldm.h.

#define REG_LCM_CRTC_SIZE   (0x10)

Definition at line 147 of file regs-ldm.h.

#define REG_LCM_CRTC_VR   (0x20)

Definition at line 168 of file regs-ldm.h.

#define REG_LCM_DCCS   (0x00)

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

#define REG_LCM_DEV_CTRL   (0x04)

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

#define REG_LCM_HC_BADDR   (0x78)

Definition at line 239 of file regs-ldm.h.

#define REG_LCM_HC_COLOR0   (0x7C)

Definition at line 242 of file regs-ldm.h.

#define REG_LCM_HC_COLOR1   (0x80)

Definition at line 245 of file regs-ldm.h.

#define REG_LCM_HC_COLOR2   (0x84)

Definition at line 248 of file regs-ldm.h.

#define REG_LCM_HC_COLOR3   (0x88)

Definition at line 251 of file regs-ldm.h.

#define REG_LCM_HC_CTRL   (0x6C)

Definition at line 230 of file regs-ldm.h.

#define REG_LCM_HC_POS   (0x70)

Definition at line 233 of file regs-ldm.h.

#define REG_LCM_HC_WBCTRL   (0x74)

Definition at line 236 of file regs-ldm.h.

#define REG_LCM_INT_CS   (0x0c)

Definition at line 138 of file regs-ldm.h.

#define REG_LCM_MPU_CMD   (0x08)

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

#define REG_LCM_MPU_VSYNC   (0x68)

Definition at line 227 of file regs-ldm.h.

#define REG_LCM_OSD_BADDR   (0x48)

Definition at line 203 of file regs-ldm.h.

#define REG_LCM_OSD_CKEY   (0x54)

Definition at line 212 of file regs-ldm.h.

#define REG_LCM_OSD_CMASK   (0x58)

Definition at line 215 of file regs-ldm.h.

#define REG_LCM_OSD_FBCTRL   (0x4c)

Definition at line 206 of file regs-ldm.h.

#define REG_LCM_OSD_OVERLAY   (0x50)

Definition at line 209 of file regs-ldm.h.

#define REG_LCM_OSD_SCALE   (0x64)

Definition at line 224 of file regs-ldm.h.

#define REG_LCM_OSD_SKIP1   (0x5C)

Definition at line 218 of file regs-ldm.h.

#define REG_LCM_OSD_SKIP2   (0x60)

Definition at line 221 of file regs-ldm.h.

#define REG_LCM_OSD_WINE   (0x44)

Definition at line 200 of file regs-ldm.h.

#define REG_LCM_OSD_WINS   (0x40)

Definition at line 197 of file regs-ldm.h.

#define REG_LCM_VA_BADDR0   (0x24)

Definition at line 173 of file regs-ldm.h.

#define REG_LCM_VA_BADDR1   (0x28)

Definition at line 176 of file regs-ldm.h.

#define REG_LCM_VA_FBCTRL   (0x2C)

Definition at line 179 of file regs-ldm.h.

#define REG_LCM_VA_SCALE   (0x30)

Definition at line 186 of file regs-ldm.h.

#define REG_LCM_VA_STUFF   (0x3C)

Definition at line 194 of file regs-ldm.h.

#define REG_LCM_VA_WIN   (0x38)

Definition at line 191 of file regs-ldm.h.

Enumeration Type Documentation

Enumerator:
LCM_DCCS_VA_SRC_YUV422 
LCM_DCCS_VA_SRC_YCBCR422 
LCM_DCCS_VA_SRC_RGB888 
LCM_DCCS_VA_SRC_RGB666 
LCM_DCCS_VA_SRC_RGB565 
LCM_DCCS_VA_SRC_RGB444LOW 
LCM_DCCS_VA_SRC_RGB444HIGH 

Definition at line 36 of file regs-ldm.h.

Enumerator:
LCM_DEV_CTRL_DBWORD_HALFWORD 
LCM_DEV_CTRL_DBWORD_FULLWORD 

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

Enumerator:
LCM_DEV_CTRL_DE_POL_HIGH 
LCM_DEV_CTRL_DE_POL_LOW 

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

Enumerator:
LCM_DEV_CTRL_DEVICE_YUV422 
LCM_DEV_CTRL_DEVICE_YUV444 
LCM_DEV_CTRL_DEVICE_UNIPAC 
LCM_DEV_CTRL_DEVICE_SEIKO_EPSON 
LCM_DEV_CTRL_DEVICE_HIGH_COLOR 
LCM_DEV_CTRL_DEVICE_MPU 

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

Enumerator:
LCM_DEV_CTRL_FAL_D_FALLING 
LCM_DEV_CTRL_FAL_D_RISING 

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

Enumerator:
LCM_DEV_CTRL_H_POL_LOW 
LCM_DEV_CTRL_H_POL_HIGH 

Definition at line 88 of file regs-ldm.h.

Enumerator:
LCM_DEV_CTRL_LACE_NINTERLACE 
LCM_DEV_CTRL_LACE_INTERLACE 

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

Enumerator:
LCM_DEV_CTRL_LCD_SEL_RGB_GBR 
LCM_DEV_CTRL_LCD_SEL_BGR_RBG 
LCM_DEV_CTRL_LCD_SEL_GBR_RGB 
LCM_DEV_CTRL_LCD_SEL_RBG_BGR 

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

Enumerator:
LCM_DEV_CTRL_MPU68_80_SERIES 
LCM_DEV_CTRL_MPU68_68_SERIES 

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

Enumerator:
LCM_DEV_CTRL_RGB_SCALE_4096 
LCM_DEV_CTRL_RGB_SCALE_65536 
LCM_DEV_CTRL_RGB_SCALE_262144 
LCM_DEV_CTRL_RGB_SCALE_16777216 

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

Enumerator:
LCM_DEV_CTRL_RGB_SHIFT_NOT 
LCM_DEV_CTRL_RGB_SHIFT_ONECYCLE 
LCM_DEV_CTRL_RGB_SHIFT_TWOCYCLE 
LCM_DEV_CTRL_RGB_SHIFT_NOT_DEF 

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

Enumerator:
LCM_DEV_CTRL_SWAP_UYVY 
LCM_DEV_CTRL_SWAP_YUYV 
LCM_DEV_CTRL_SWAP_VYUY 
LCM_DEV_CTRL_SWAP_YVYU 

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

Enumerator:
LCM_DEV_CTRL_V_POL_LOW 
LCM_DEV_CTRL_V_POL_HIGH 

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

Enumerator:
LCM_DEV_CTRL_VR_LACE_NINTERLACE 
LCM_DEV_CTRL_VR_LACE_INTERLACE 

Definition at line 98 of file regs-ldm.h.