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

Go to the source code of this file.

Macros

#define VIDCON0   (0x00)
 
#define VIDCON0_INTERLACE   (1 << 29)
 
#define VIDCON0_VIDOUT_MASK   (0x3 << 26)
 
#define VIDCON0_VIDOUT_SHIFT   (26)
 
#define VIDCON0_VIDOUT_RGB   (0x0 << 26)
 
#define VIDCON0_VIDOUT_TV   (0x1 << 26)
 
#define VIDCON0_VIDOUT_I80_LDI0   (0x2 << 26)
 
#define VIDCON0_VIDOUT_I80_LDI1   (0x3 << 26)
 
#define VIDCON0_L1_DATA_MASK   (0x7 << 23)
 
#define VIDCON0_L1_DATA_SHIFT   (23)
 
#define VIDCON0_L1_DATA_16BPP   (0x0 << 23)
 
#define VIDCON0_L1_DATA_18BPP16   (0x1 << 23)
 
#define VIDCON0_L1_DATA_18BPP9   (0x2 << 23)
 
#define VIDCON0_L1_DATA_24BPP   (0x3 << 23)
 
#define VIDCON0_L1_DATA_18BPP   (0x4 << 23)
 
#define VIDCON0_L1_DATA_16BPP8   (0x5 << 23)
 
#define VIDCON0_L0_DATA_MASK   (0x7 << 20)
 
#define VIDCON0_L0_DATA_SHIFT   (20)
 
#define VIDCON0_L0_DATA_16BPP   (0x0 << 20)
 
#define VIDCON0_L0_DATA_18BPP16   (0x1 << 20)
 
#define VIDCON0_L0_DATA_18BPP9   (0x2 << 20)
 
#define VIDCON0_L0_DATA_24BPP   (0x3 << 20)
 
#define VIDCON0_L0_DATA_18BPP   (0x4 << 20)
 
#define VIDCON0_L0_DATA_16BPP8   (0x5 << 20)
 
#define VIDCON0_PNRMODE_MASK   (0x3 << 17)
 
#define VIDCON0_PNRMODE_SHIFT   (17)
 
#define VIDCON0_PNRMODE_RGB   (0x0 << 17)
 
#define VIDCON0_PNRMODE_BGR   (0x1 << 17)
 
#define VIDCON0_PNRMODE_SERIAL_RGB   (0x2 << 17)
 
#define VIDCON0_PNRMODE_SERIAL_BGR   (0x3 << 17)
 
#define VIDCON0_CLKVALUP   (1 << 16)
 
#define VIDCON0_CLKVAL_F_MASK   (0xff << 6)
 
#define VIDCON0_CLKVAL_F_SHIFT   (6)
 
#define VIDCON0_CLKVAL_F_LIMIT   (0xff)
 
#define VIDCON0_CLKVAL_F(_x)   ((_x) << 6)
 
#define VIDCON0_VLCKFREE   (1 << 5)
 
#define VIDCON0_CLKDIR   (1 << 4)
 
#define VIDCON0_CLKSEL_MASK   (0x3 << 2)
 
#define VIDCON0_CLKSEL_SHIFT   (2)
 
#define VIDCON0_CLKSEL_HCLK   (0x0 << 2)
 
#define VIDCON0_CLKSEL_LCD   (0x1 << 2)
 
#define VIDCON0_CLKSEL_27M   (0x3 << 2)
 
#define VIDCON0_ENVID   (1 << 1)
 
#define VIDCON0_ENVID_F   (1 << 0)
 
#define VIDCON1   (0x04)
 
#define VIDCON1_LINECNT_MASK   (0x7ff << 16)
 
#define VIDCON1_LINECNT_SHIFT   (16)
 
#define VIDCON1_LINECNT_GET(_v)   (((_v) >> 16) & 0x7ff)
 
#define VIDCON1_VSTATUS_MASK   (0x3 << 13)
 
#define VIDCON1_VSTATUS_SHIFT   (13)
 
#define VIDCON1_VSTATUS_VSYNC   (0x0 << 13)
 
#define VIDCON1_VSTATUS_BACKPORCH   (0x1 << 13)
 
#define VIDCON1_VSTATUS_ACTIVE   (0x2 << 13)
 
#define VIDCON1_VSTATUS_FRONTPORCH   (0x0 << 13)
 
#define VIDCON1_VCLK_MASK   (0x3 << 9)
 
#define VIDCON1_VCLK_HOLD   (0x0 << 9)
 
#define VIDCON1_VCLK_RUN   (0x1 << 9)
 
#define VIDCON1_INV_VCLK   (1 << 7)
 
#define VIDCON1_INV_HSYNC   (1 << 6)
 
#define VIDCON1_INV_VSYNC   (1 << 5)
 
#define VIDCON1_INV_VDEN   (1 << 4)
 
#define VIDCON2   (0x08)
 
#define VIDCON2_EN601   (1 << 23)
 
#define VIDCON2_TVFMTSEL_SW   (1 << 14)
 
#define VIDCON2_TVFMTSEL1_MASK   (0x3 << 12)
 
#define VIDCON2_TVFMTSEL1_SHIFT   (12)
 
#define VIDCON2_TVFMTSEL1_RGB   (0x0 << 12)
 
#define VIDCON2_TVFMTSEL1_YUV422   (0x1 << 12)
 
#define VIDCON2_TVFMTSEL1_YUV444   (0x2 << 12)
 
#define VIDCON2_ORGYCbCr   (1 << 8)
 
#define VIDCON2_YUVORDCrCb   (1 << 7)
 
#define PRTCON   (0x0c)
 
#define PRTCON_PROTECT   (1 << 11)
 
#define VIDTCON0_VBPDE_MASK   (0xff << 24)
 
#define VIDTCON0_VBPDE_SHIFT   (24)
 
#define VIDTCON0_VBPDE_LIMIT   (0xff)
 
#define VIDTCON0_VBPDE(_x)   ((_x) << 24)
 
#define VIDTCON0_VBPD_MASK   (0xff << 16)
 
#define VIDTCON0_VBPD_SHIFT   (16)
 
#define VIDTCON0_VBPD_LIMIT   (0xff)
 
#define VIDTCON0_VBPD(_x)   ((_x) << 16)
 
#define VIDTCON0_VFPD_MASK   (0xff << 8)
 
#define VIDTCON0_VFPD_SHIFT   (8)
 
#define VIDTCON0_VFPD_LIMIT   (0xff)
 
#define VIDTCON0_VFPD(_x)   ((_x) << 8)
 
#define VIDTCON0_VSPW_MASK   (0xff << 0)
 
#define VIDTCON0_VSPW_SHIFT   (0)
 
#define VIDTCON0_VSPW_LIMIT   (0xff)
 
#define VIDTCON0_VSPW(_x)   ((_x) << 0)
 
#define VIDTCON1_VFPDE_MASK   (0xff << 24)
 
#define VIDTCON1_VFPDE_SHIFT   (24)
 
#define VIDTCON1_VFPDE_LIMIT   (0xff)
 
#define VIDTCON1_VFPDE(_x)   ((_x) << 24)
 
#define VIDTCON1_HBPD_MASK   (0xff << 16)
 
#define VIDTCON1_HBPD_SHIFT   (16)
 
#define VIDTCON1_HBPD_LIMIT   (0xff)
 
#define VIDTCON1_HBPD(_x)   ((_x) << 16)
 
#define VIDTCON1_HFPD_MASK   (0xff << 8)
 
#define VIDTCON1_HFPD_SHIFT   (8)
 
#define VIDTCON1_HFPD_LIMIT   (0xff)
 
#define VIDTCON1_HFPD(_x)   ((_x) << 8)
 
#define VIDTCON1_HSPW_MASK   (0xff << 0)
 
#define VIDTCON1_HSPW_SHIFT   (0)
 
#define VIDTCON1_HSPW_LIMIT   (0xff)
 
#define VIDTCON1_HSPW(_x)   ((_x) << 0)
 
#define VIDTCON2   (0x18)
 
#define VIDTCON2_LINEVAL_E(_x)   ((((_x) & 0x800) >> 11) << 23)
 
#define VIDTCON2_LINEVAL_MASK   (0x7ff << 11)
 
#define VIDTCON2_LINEVAL_SHIFT   (11)
 
#define VIDTCON2_LINEVAL_LIMIT   (0x7ff)
 
#define VIDTCON2_LINEVAL(_x)   (((_x) & 0x7ff) << 11)
 
#define VIDTCON2_HOZVAL_E(_x)   ((((_x) & 0x800) >> 11) << 22)
 
#define VIDTCON2_HOZVAL_MASK   (0x7ff << 0)
 
#define VIDTCON2_HOZVAL_SHIFT   (0)
 
#define VIDTCON2_HOZVAL_LIMIT   (0x7ff)
 
#define VIDTCON2_HOZVAL(_x)   (((_x) & 0x7ff) << 0)
 
#define WINCONx_BITSWP   (1 << 18)
 
#define WINCONx_BYTSWP   (1 << 17)
 
#define WINCONx_HAWSWP   (1 << 16)
 
#define WINCONx_WSWP   (1 << 15)
 
#define WINCONx_BURSTLEN_MASK   (0x3 << 9)
 
#define WINCONx_BURSTLEN_SHIFT   (9)
 
#define WINCONx_BURSTLEN_16WORD   (0x0 << 9)
 
#define WINCONx_BURSTLEN_8WORD   (0x1 << 9)
 
#define WINCONx_BURSTLEN_4WORD   (0x2 << 9)
 
#define WINCONx_ENWIN   (1 << 0)
 
#define WINCON0_BPPMODE_MASK   (0xf << 2)
 
#define WINCON0_BPPMODE_SHIFT   (2)
 
#define WINCON0_BPPMODE_1BPP   (0x0 << 2)
 
#define WINCON0_BPPMODE_2BPP   (0x1 << 2)
 
#define WINCON0_BPPMODE_4BPP   (0x2 << 2)
 
#define WINCON0_BPPMODE_8BPP_PALETTE   (0x3 << 2)
 
#define WINCON0_BPPMODE_16BPP_565   (0x5 << 2)
 
#define WINCON0_BPPMODE_16BPP_1555   (0x7 << 2)
 
#define WINCON0_BPPMODE_18BPP_666   (0x8 << 2)
 
#define WINCON0_BPPMODE_24BPP_888   (0xb << 2)
 
#define WINCON1_BLD_PIX   (1 << 6)
 
#define WINCON1_ALPHA_SEL   (1 << 1)
 
#define WINCON1_BPPMODE_MASK   (0xf << 2)
 
#define WINCON1_BPPMODE_SHIFT   (2)
 
#define WINCON1_BPPMODE_1BPP   (0x0 << 2)
 
#define WINCON1_BPPMODE_2BPP   (0x1 << 2)
 
#define WINCON1_BPPMODE_4BPP   (0x2 << 2)
 
#define WINCON1_BPPMODE_8BPP_PALETTE   (0x3 << 2)
 
#define WINCON1_BPPMODE_8BPP_1232   (0x4 << 2)
 
#define WINCON1_BPPMODE_16BPP_565   (0x5 << 2)
 
#define WINCON1_BPPMODE_16BPP_A1555   (0x6 << 2)
 
#define WINCON1_BPPMODE_16BPP_I1555   (0x7 << 2)
 
#define WINCON1_BPPMODE_18BPP_666   (0x8 << 2)
 
#define WINCON1_BPPMODE_18BPP_A1665   (0x9 << 2)
 
#define WINCON1_BPPMODE_19BPP_A1666   (0xa << 2)
 
#define WINCON1_BPPMODE_24BPP_888   (0xb << 2)
 
#define WINCON1_BPPMODE_24BPP_A1887   (0xc << 2)
 
#define WINCON1_BPPMODE_25BPP_A1888   (0xd << 2)
 
#define WINCON1_BPPMODE_28BPP_A4888   (0xd << 2)
 
#define SHADOWCON   (0x34)
 
#define SHADOWCON_WINx_PROTECT(_win)   (1 << (10 + (_win)))
 
#define SHADOWCON_CHx_ENABLE(_win)   (1 << (_win))
 
#define SHADOWCON_CHx_LOCAL_ENABLE(_win)   (1 << (5 + (_win)))
 
#define VIDOSDxA_TOPLEFT_X_E(_x)   ((((_x) & 0x800) >> 11) << 23)
 
#define VIDOSDxA_TOPLEFT_X_MASK   (0x7ff << 11)
 
#define VIDOSDxA_TOPLEFT_X_SHIFT   (11)
 
#define VIDOSDxA_TOPLEFT_X_LIMIT   (0x7ff)
 
#define VIDOSDxA_TOPLEFT_X(_x)   (((_x) & 0x7ff) << 11)
 
#define VIDOSDxA_TOPLEFT_Y_E(_x)   ((((_x) & 0x800) >> 11) << 22)
 
#define VIDOSDxA_TOPLEFT_Y_MASK   (0x7ff << 0)
 
#define VIDOSDxA_TOPLEFT_Y_SHIFT   (0)
 
#define VIDOSDxA_TOPLEFT_Y_LIMIT   (0x7ff)
 
#define VIDOSDxA_TOPLEFT_Y(_x)   (((_x) & 0x7ff) << 0)
 
#define VIDOSDxB_BOTRIGHT_X_E(_x)   ((((_x) & 0x800) >> 11) << 23)
 
#define VIDOSDxB_BOTRIGHT_X_MASK   (0x7ff << 11)
 
#define VIDOSDxB_BOTRIGHT_X_SHIFT   (11)
 
#define VIDOSDxB_BOTRIGHT_X_LIMIT   (0x7ff)
 
#define VIDOSDxB_BOTRIGHT_X(_x)   (((_x) & 0x7ff) << 11)
 
#define VIDOSDxB_BOTRIGHT_Y_E(_x)   ((((_x) & 0x800) >> 11) << 22)
 
#define VIDOSDxB_BOTRIGHT_Y_MASK   (0x7ff << 0)
 
#define VIDOSDxB_BOTRIGHT_Y_SHIFT   (0)
 
#define VIDOSDxB_BOTRIGHT_Y_LIMIT   (0x7ff)
 
#define VIDOSDxB_BOTRIGHT_Y(_x)   (((_x) & 0x7ff) << 0)
 
#define VIDISD14C_ALPHA0_R(_x)   ((_x) << 20)
 
#define VIDISD14C_ALPHA0_G_MASK   (0xf << 16)
 
#define VIDISD14C_ALPHA0_G_SHIFT   (16)
 
#define VIDISD14C_ALPHA0_G_LIMIT   (0xf)
 
#define VIDISD14C_ALPHA0_G(_x)   ((_x) << 16)
 
#define VIDISD14C_ALPHA0_B_MASK   (0xf << 12)
 
#define VIDISD14C_ALPHA0_B_SHIFT   (12)
 
#define VIDISD14C_ALPHA0_B_LIMIT   (0xf)
 
#define VIDISD14C_ALPHA0_B(_x)   ((_x) << 12)
 
#define VIDISD14C_ALPHA1_R_MASK   (0xf << 8)
 
#define VIDISD14C_ALPHA1_R_SHIFT   (8)
 
#define VIDISD14C_ALPHA1_R_LIMIT   (0xf)
 
#define VIDISD14C_ALPHA1_R(_x)   ((_x) << 8)
 
#define VIDISD14C_ALPHA1_G_MASK   (0xf << 4)
 
#define VIDISD14C_ALPHA1_G_SHIFT   (4)
 
#define VIDISD14C_ALPHA1_G_LIMIT   (0xf)
 
#define VIDISD14C_ALPHA1_G(_x)   ((_x) << 4)
 
#define VIDISD14C_ALPHA1_B_MASK   (0xf << 0)
 
#define VIDISD14C_ALPHA1_B_SHIFT   (0)
 
#define VIDISD14C_ALPHA1_B_LIMIT   (0xf)
 
#define VIDISD14C_ALPHA1_B(_x)   ((_x) << 0)
 
#define VIDW_BUF_START(_buff)   (0xA0 + ((_buff) * 8))
 
#define VIDW_BUF_START1(_buff)   (0xA4 + ((_buff) * 8))
 
#define VIDW_BUF_END(_buff)   (0xD0 + ((_buff) * 8))
 
#define VIDW_BUF_END1(_buff)   (0xD4 + ((_buff) * 8))
 
#define VIDW_BUF_SIZE(_buff)   (0x100 + ((_buff) * 4))
 
#define VIDW_BUF_SIZE_OFFSET_E(_x)   ((((_x) & 0x2000) >> 13) << 27)
 
#define VIDW_BUF_SIZE_OFFSET_MASK   (0x1fff << 13)
 
#define VIDW_BUF_SIZE_OFFSET_SHIFT   (13)
 
#define VIDW_BUF_SIZE_OFFSET_LIMIT   (0x1fff)
 
#define VIDW_BUF_SIZE_OFFSET(_x)   (((_x) & 0x1fff) << 13)
 
#define VIDW_BUF_SIZE_PAGEWIDTH_E(_x)   ((((_x) & 0x2000) >> 13) << 26)
 
#define VIDW_BUF_SIZE_PAGEWIDTH_MASK   (0x1fff << 0)
 
#define VIDW_BUF_SIZE_PAGEWIDTH_SHIFT   (0)
 
#define VIDW_BUF_SIZE_PAGEWIDTH_LIMIT   (0x1fff)
 
#define VIDW_BUF_SIZE_PAGEWIDTH(_x)   (((_x) & 0x1fff) << 0)
 
#define VIDINTCON0_FIFOINTERVAL_MASK   (0x3f << 20)
 
#define VIDINTCON0_FIFOINTERVAL_SHIFT   (20)
 
#define VIDINTCON0_FIFOINTERVAL_LIMIT   (0x3f)
 
#define VIDINTCON0_FIFOINTERVAL(_x)   ((_x) << 20)
 
#define VIDINTCON0_INT_SYSMAINCON   (1 << 19)
 
#define VIDINTCON0_INT_SYSSUBCON   (1 << 18)
 
#define VIDINTCON0_INT_I80IFDONE   (1 << 17)
 
#define VIDINTCON0_FRAMESEL0_MASK   (0x3 << 15)
 
#define VIDINTCON0_FRAMESEL0_SHIFT   (15)
 
#define VIDINTCON0_FRAMESEL0_BACKPORCH   (0x0 << 15)
 
#define VIDINTCON0_FRAMESEL0_VSYNC   (0x1 << 15)
 
#define VIDINTCON0_FRAMESEL0_ACTIVE   (0x2 << 15)
 
#define VIDINTCON0_FRAMESEL0_FRONTPORCH   (0x3 << 15)
 
#define VIDINTCON0_FRAMESEL1   (1 << 13)
 
#define VIDINTCON0_FRAMESEL1_MASK   (0x3 << 13)
 
#define VIDINTCON0_FRAMESEL1_NONE   (0x0 << 13)
 
#define VIDINTCON0_FRAMESEL1_BACKPORCH   (0x1 << 13)
 
#define VIDINTCON0_FRAMESEL1_VSYNC   (0x2 << 13)
 
#define VIDINTCON0_FRAMESEL1_FRONTPORCH   (0x3 << 13)
 
#define VIDINTCON0_INT_FRAME   (1 << 12)
 
#define VIDINTCON0_FIFIOSEL_MASK   (0x7f << 5)
 
#define VIDINTCON0_FIFIOSEL_SHIFT   (5)
 
#define VIDINTCON0_FIFIOSEL_WINDOW0   (0x1 << 5)
 
#define VIDINTCON0_FIFIOSEL_WINDOW1   (0x2 << 5)
 
#define VIDINTCON0_FIFOLEVEL_MASK   (0x7 << 2)
 
#define VIDINTCON0_FIFOLEVEL_SHIFT   (2)
 
#define VIDINTCON0_FIFOLEVEL_TO25PC   (0x0 << 2)
 
#define VIDINTCON0_FIFOLEVEL_TO50PC   (0x1 << 2)
 
#define VIDINTCON0_FIFOLEVEL_TO75PC   (0x2 << 2)
 
#define VIDINTCON0_FIFOLEVEL_EMPTY   (0x3 << 2)
 
#define VIDINTCON0_FIFOLEVEL_FULL   (0x4 << 2)
 
#define VIDINTCON0_INT_FIFO_MASK   (0x3 << 0)
 
#define VIDINTCON0_INT_FIFO_SHIFT   (0)
 
#define VIDINTCON0_INT_ENABLE   (1 << 0)
 
#define VIDINTCON1   (0x134)
 
#define VIDINTCON1_INT_I180   (1 << 2)
 
#define VIDINTCON1_INT_FRAME   (1 << 1)
 
#define VIDINTCON1_INT_FIFO   (1 << 0)
 
#define WKEYCON   (0x140) /* 6410,V210 */
 
#define WKEYCON0   (0x00)
 
#define WKEYCON1   (0x04)
 
#define WxKEYCON0_KEYBL_EN   (1 << 26)
 
#define WxKEYCON0_KEYEN_F   (1 << 25)
 
#define WxKEYCON0_DIRCON   (1 << 24)
 
#define WxKEYCON0_COMPKEY_MASK   (0xffffff << 0)
 
#define WxKEYCON0_COMPKEY_SHIFT   (0)
 
#define WxKEYCON0_COMPKEY_LIMIT   (0xffffff)
 
#define WxKEYCON0_COMPKEY(_x)   ((_x) << 0)
 
#define WxKEYCON1_COLVAL_MASK   (0xffffff << 0)
 
#define WxKEYCON1_COLVAL_SHIFT   (0)
 
#define WxKEYCON1_COLVAL_LIMIT   (0xffffff)
 
#define WxKEYCON1_COLVAL(_x)   ((_x) << 0)
 
#define WINxMAP_MAP   (1 << 24)
 
#define WINxMAP_MAP_COLOUR_MASK   (0xffffff << 0)
 
#define WINxMAP_MAP_COLOUR_SHIFT   (0)
 
#define WINxMAP_MAP_COLOUR_LIMIT   (0xffffff)
 
#define WINxMAP_MAP_COLOUR(_x)   ((_x) << 0)
 
#define WPALCON_PAL_UPDATE   (1 << 9)
 
#define WPALCON_W1PAL_MASK   (0x7 << 3)
 
#define WPALCON_W1PAL_SHIFT   (3)
 
#define WPALCON_W1PAL_25BPP_A888   (0x0 << 3)
 
#define WPALCON_W1PAL_24BPP   (0x1 << 3)
 
#define WPALCON_W1PAL_19BPP_A666   (0x2 << 3)
 
#define WPALCON_W1PAL_18BPP_A665   (0x3 << 3)
 
#define WPALCON_W1PAL_18BPP   (0x4 << 3)
 
#define WPALCON_W1PAL_16BPP_A555   (0x5 << 3)
 
#define WPALCON_W1PAL_16BPP_565   (0x6 << 3)
 
#define WPALCON_W0PAL_MASK   (0x7 << 0)
 
#define WPALCON_W0PAL_SHIFT   (0)
 
#define WPALCON_W0PAL_25BPP_A888   (0x0 << 0)
 
#define WPALCON_W0PAL_24BPP   (0x1 << 0)
 
#define WPALCON_W0PAL_19BPP_A666   (0x2 << 0)
 
#define WPALCON_W0PAL_18BPP_A665   (0x3 << 0)
 
#define WPALCON_W0PAL_18BPP   (0x4 << 0)
 
#define WPALCON_W0PAL_16BPP_A555   (0x5 << 0)
 
#define WPALCON_W0PAL_16BPP_565   (0x6 << 0)
 
#define BLENDCON   (0x260)
 
#define BLENDCON_NEW_MASK   (1 << 0)
 
#define BLENDCON_NEW_8BIT_ALPHA_VALUE   (1 << 0)
 
#define BLENDCON_NEW_4BIT_ALPHA_VALUE   (0 << 0)
 
#define S3C_FB_MAX_WIN   (5) /* number of hardware windows available. */
 
#define VIDCON1_FSTATUS_EVEN   (1 << 15)
 
#define VIDTCON0   (0x10)
 
#define VIDTCON1   (0x14)
 
#define VIDTCON2   (0x18)
 
#define WINCON(_win)   (0x20 + ((_win) * 4))
 
#define VIDOSD_BASE   (0x40)
 
#define VIDINTCON0   (0x130)
 
#define WINCONx_CSCWIDTH_MASK   (0x3 << 26)
 
#define WINCONx_CSCWIDTH_SHIFT   (26)
 
#define WINCONx_CSCWIDTH_WIDE   (0x0 << 26)
 
#define WINCONx_CSCWIDTH_NARROW   (0x3 << 26)
 
#define WINCONx_ENLOCAL   (1 << 22)
 
#define WINCONx_BUFSTATUS   (1 << 21)
 
#define WINCONx_BUFSEL   (1 << 20)
 
#define WINCONx_BUFAUTOEN   (1 << 19)
 
#define WINCONx_YCbCr   (1 << 13)
 
#define WINCON1_LOCALSEL_CAMIF   (1 << 23)
 
#define WINCON2_LOCALSEL_CAMIF   (1 << 23)
 
#define WINCON2_BLD_PIX   (1 << 6)
 
#define WINCON2_ALPHA_SEL   (1 << 1)
 
#define WINCON2_BPPMODE_MASK   (0xf << 2)
 
#define WINCON2_BPPMODE_SHIFT   (2)
 
#define WINCON2_BPPMODE_1BPP   (0x0 << 2)
 
#define WINCON2_BPPMODE_2BPP   (0x1 << 2)
 
#define WINCON2_BPPMODE_4BPP   (0x2 << 2)
 
#define WINCON2_BPPMODE_8BPP_1232   (0x4 << 2)
 
#define WINCON2_BPPMODE_16BPP_565   (0x5 << 2)
 
#define WINCON2_BPPMODE_16BPP_A1555   (0x6 << 2)
 
#define WINCON2_BPPMODE_16BPP_I1555   (0x7 << 2)
 
#define WINCON2_BPPMODE_18BPP_666   (0x8 << 2)
 
#define WINCON2_BPPMODE_18BPP_A1665   (0x9 << 2)
 
#define WINCON2_BPPMODE_19BPP_A1666   (0xa << 2)
 
#define WINCON2_BPPMODE_24BPP_888   (0xb << 2)
 
#define WINCON2_BPPMODE_24BPP_A1887   (0xc << 2)
 
#define WINCON2_BPPMODE_25BPP_A1888   (0xd << 2)
 
#define WINCON2_BPPMODE_28BPP_A4888   (0xd << 2)
 
#define WINCON3_BLD_PIX   (1 << 6)
 
#define WINCON3_ALPHA_SEL   (1 << 1)
 
#define WINCON3_BPPMODE_MASK   (0xf << 2)
 
#define WINCON3_BPPMODE_SHIFT   (2)
 
#define WINCON3_BPPMODE_1BPP   (0x0 << 2)
 
#define WINCON3_BPPMODE_2BPP   (0x1 << 2)
 
#define WINCON3_BPPMODE_4BPP   (0x2 << 2)
 
#define WINCON3_BPPMODE_16BPP_565   (0x5 << 2)
 
#define WINCON3_BPPMODE_16BPP_A1555   (0x6 << 2)
 
#define WINCON3_BPPMODE_16BPP_I1555   (0x7 << 2)
 
#define WINCON3_BPPMODE_18BPP_666   (0x8 << 2)
 
#define WINCON3_BPPMODE_18BPP_A1665   (0x9 << 2)
 
#define WINCON3_BPPMODE_19BPP_A1666   (0xa << 2)
 
#define WINCON3_BPPMODE_24BPP_888   (0xb << 2)
 
#define WINCON3_BPPMODE_24BPP_A1887   (0xc << 2)
 
#define WINCON3_BPPMODE_25BPP_A1888   (0xd << 2)
 
#define WINCON3_BPPMODE_28BPP_A4888   (0xd << 2)
 
#define VIDINTCON0_FIFIOSEL_WINDOW2   (0x10 << 5)
 
#define VIDINTCON0_FIFIOSEL_WINDOW3   (0x20 << 5)
 
#define VIDINTCON0_FIFIOSEL_WINDOW4   (0x40 << 5)
 
#define DITHMODE   (0x170)
 
#define WINxMAP(_win)   (0x180 + ((_win) * 4))
 
#define DITHMODE_R_POS_MASK   (0x3 << 5)
 
#define DITHMODE_R_POS_SHIFT   (5)
 
#define DITHMODE_R_POS_8BIT   (0x0 << 5)
 
#define DITHMODE_R_POS_6BIT   (0x1 << 5)
 
#define DITHMODE_R_POS_5BIT   (0x2 << 5)
 
#define DITHMODE_G_POS_MASK   (0x3 << 3)
 
#define DITHMODE_G_POS_SHIFT   (3)
 
#define DITHMODE_G_POS_8BIT   (0x0 << 3)
 
#define DITHMODE_G_POS_6BIT   (0x1 << 3)
 
#define DITHMODE_G_POS_5BIT   (0x2 << 3)
 
#define DITHMODE_B_POS_MASK   (0x3 << 1)
 
#define DITHMODE_B_POS_SHIFT   (1)
 
#define DITHMODE_B_POS_8BIT   (0x0 << 1)
 
#define DITHMODE_B_POS_6BIT   (0x1 << 1)
 
#define DITHMODE_B_POS_5BIT   (0x2 << 1)
 
#define DITHMODE_DITH_EN   (1 << 0)
 
#define WPALCON   (0x1A0)
 
#define WPALCON_W4PAL_16BPP_A555   (1 << 8)
 
#define WPALCON_W3PAL_16BPP_A555   (1 << 7)
 
#define WPALCON_W2PAL_16BPP_A555   (1 << 6)
 
#define FIMD_V8_VIDTCON0   (0x20010)
 
#define FIMD_V8_VIDTCON1   (0x20014)
 
#define FIMD_V8_VIDTCON2   (0x20018)
 
#define FIMD_V8_VIDTCON3   (0x2001C)
 
#define FIMD_V8_VIDCON1   (0x20004)
 

Macro Definition Documentation

#define BLENDCON   (0x260)

Definition at line 391 of file samsung_fimd.h.

#define BLENDCON_NEW_4BIT_ALPHA_VALUE   (0 << 0)

Definition at line 394 of file samsung_fimd.h.

#define BLENDCON_NEW_8BIT_ALPHA_VALUE   (1 << 0)

Definition at line 393 of file samsung_fimd.h.

#define BLENDCON_NEW_MASK   (1 << 0)

Definition at line 392 of file samsung_fimd.h.

#define DITHMODE   (0x170)

Definition at line 473 of file samsung_fimd.h.

#define DITHMODE_B_POS_5BIT   (0x2 << 1)

Definition at line 493 of file samsung_fimd.h.

#define DITHMODE_B_POS_6BIT   (0x1 << 1)

Definition at line 492 of file samsung_fimd.h.

#define DITHMODE_B_POS_8BIT   (0x0 << 1)

Definition at line 491 of file samsung_fimd.h.

#define DITHMODE_B_POS_MASK   (0x3 << 1)

Definition at line 489 of file samsung_fimd.h.

#define DITHMODE_B_POS_SHIFT   (1)

Definition at line 490 of file samsung_fimd.h.

#define DITHMODE_DITH_EN   (1 << 0)

Definition at line 495 of file samsung_fimd.h.

#define DITHMODE_G_POS_5BIT   (0x2 << 3)

Definition at line 487 of file samsung_fimd.h.

#define DITHMODE_G_POS_6BIT   (0x1 << 3)

Definition at line 486 of file samsung_fimd.h.

#define DITHMODE_G_POS_8BIT   (0x0 << 3)

Definition at line 485 of file samsung_fimd.h.

#define DITHMODE_G_POS_MASK   (0x3 << 3)

Definition at line 483 of file samsung_fimd.h.

#define DITHMODE_G_POS_SHIFT   (3)

Definition at line 484 of file samsung_fimd.h.

#define DITHMODE_R_POS_5BIT   (0x2 << 5)

Definition at line 481 of file samsung_fimd.h.

#define DITHMODE_R_POS_6BIT   (0x1 << 5)

Definition at line 480 of file samsung_fimd.h.

#define DITHMODE_R_POS_8BIT   (0x0 << 5)

Definition at line 479 of file samsung_fimd.h.

#define DITHMODE_R_POS_MASK   (0x3 << 5)

Definition at line 477 of file samsung_fimd.h.

#define DITHMODE_R_POS_SHIFT   (5)

Definition at line 478 of file samsung_fimd.h.

#define FIMD_V8_VIDCON1   (0x20004)

Definition at line 533 of file samsung_fimd.h.

#define FIMD_V8_VIDTCON0   (0x20010)

Definition at line 529 of file samsung_fimd.h.

#define FIMD_V8_VIDTCON1   (0x20014)

Definition at line 530 of file samsung_fimd.h.

#define FIMD_V8_VIDTCON2   (0x20018)

Definition at line 531 of file samsung_fimd.h.

#define FIMD_V8_VIDTCON3   (0x2001C)

Definition at line 532 of file samsung_fimd.h.

#define PRTCON   (0x0c)

Definition at line 114 of file samsung_fimd.h.

#define PRTCON_PROTECT   (1 << 11)

Definition at line 115 of file samsung_fimd.h.

#define S3C_FB_MAX_WIN   (5) /* number of hardware windows available. */

Definition at line 396 of file samsung_fimd.h.

#define SHADOWCON   (0x34)

Definition at line 221 of file samsung_fimd.h.

#define SHADOWCON_CHx_ENABLE (   _win)    (1 << (_win))

Definition at line 224 of file samsung_fimd.h.

#define SHADOWCON_CHx_LOCAL_ENABLE (   _win)    (1 << (5 + (_win)))

Definition at line 226 of file samsung_fimd.h.

#define SHADOWCON_WINx_PROTECT (   _win)    (1 << (10 + (_win)))

Definition at line 222 of file samsung_fimd.h.

#define VIDCON0   (0x00)

Definition at line 25 of file samsung_fimd.h.

#define VIDCON0_CLKDIR   (1 << 4)

Definition at line 65 of file samsung_fimd.h.

#define VIDCON0_CLKSEL_27M   (0x3 << 2)

Definition at line 71 of file samsung_fimd.h.

#define VIDCON0_CLKSEL_HCLK   (0x0 << 2)

Definition at line 69 of file samsung_fimd.h.

#define VIDCON0_CLKSEL_LCD   (0x1 << 2)

Definition at line 70 of file samsung_fimd.h.

#define VIDCON0_CLKSEL_MASK   (0x3 << 2)

Definition at line 67 of file samsung_fimd.h.

#define VIDCON0_CLKSEL_SHIFT   (2)

Definition at line 68 of file samsung_fimd.h.

#define VIDCON0_CLKVAL_F (   _x)    ((_x) << 6)

Definition at line 63 of file samsung_fimd.h.

#define VIDCON0_CLKVAL_F_LIMIT   (0xff)

Definition at line 62 of file samsung_fimd.h.

#define VIDCON0_CLKVAL_F_MASK   (0xff << 6)

Definition at line 60 of file samsung_fimd.h.

#define VIDCON0_CLKVAL_F_SHIFT   (6)

Definition at line 61 of file samsung_fimd.h.

#define VIDCON0_CLKVALUP   (1 << 16)

Definition at line 59 of file samsung_fimd.h.

#define VIDCON0_ENVID   (1 << 1)

Definition at line 73 of file samsung_fimd.h.

#define VIDCON0_ENVID_F   (1 << 0)

Definition at line 74 of file samsung_fimd.h.

#define VIDCON0_INTERLACE   (1 << 29)

Definition at line 26 of file samsung_fimd.h.

#define VIDCON0_L0_DATA_16BPP   (0x0 << 20)

Definition at line 45 of file samsung_fimd.h.

#define VIDCON0_L0_DATA_16BPP8   (0x5 << 20)

Definition at line 50 of file samsung_fimd.h.

#define VIDCON0_L0_DATA_18BPP   (0x4 << 20)

Definition at line 49 of file samsung_fimd.h.

#define VIDCON0_L0_DATA_18BPP16   (0x1 << 20)

Definition at line 46 of file samsung_fimd.h.

#define VIDCON0_L0_DATA_18BPP9   (0x2 << 20)

Definition at line 47 of file samsung_fimd.h.

#define VIDCON0_L0_DATA_24BPP   (0x3 << 20)

Definition at line 48 of file samsung_fimd.h.

#define VIDCON0_L0_DATA_MASK   (0x7 << 20)

Definition at line 43 of file samsung_fimd.h.

#define VIDCON0_L0_DATA_SHIFT   (20)

Definition at line 44 of file samsung_fimd.h.

#define VIDCON0_L1_DATA_16BPP   (0x0 << 23)

Definition at line 36 of file samsung_fimd.h.

#define VIDCON0_L1_DATA_16BPP8   (0x5 << 23)

Definition at line 41 of file samsung_fimd.h.

#define VIDCON0_L1_DATA_18BPP   (0x4 << 23)

Definition at line 40 of file samsung_fimd.h.

#define VIDCON0_L1_DATA_18BPP16   (0x1 << 23)

Definition at line 37 of file samsung_fimd.h.

#define VIDCON0_L1_DATA_18BPP9   (0x2 << 23)

Definition at line 38 of file samsung_fimd.h.

#define VIDCON0_L1_DATA_24BPP   (0x3 << 23)

Definition at line 39 of file samsung_fimd.h.

#define VIDCON0_L1_DATA_MASK   (0x7 << 23)

Definition at line 34 of file samsung_fimd.h.

#define VIDCON0_L1_DATA_SHIFT   (23)

Definition at line 35 of file samsung_fimd.h.

#define VIDCON0_PNRMODE_BGR   (0x1 << 17)

Definition at line 55 of file samsung_fimd.h.

#define VIDCON0_PNRMODE_MASK   (0x3 << 17)

Definition at line 52 of file samsung_fimd.h.

#define VIDCON0_PNRMODE_RGB   (0x0 << 17)

Definition at line 54 of file samsung_fimd.h.

#define VIDCON0_PNRMODE_SERIAL_BGR   (0x3 << 17)

Definition at line 57 of file samsung_fimd.h.

#define VIDCON0_PNRMODE_SERIAL_RGB   (0x2 << 17)

Definition at line 56 of file samsung_fimd.h.

#define VIDCON0_PNRMODE_SHIFT   (17)

Definition at line 53 of file samsung_fimd.h.

#define VIDCON0_VIDOUT_I80_LDI0   (0x2 << 26)

Definition at line 31 of file samsung_fimd.h.

#define VIDCON0_VIDOUT_I80_LDI1   (0x3 << 26)

Definition at line 32 of file samsung_fimd.h.

#define VIDCON0_VIDOUT_MASK   (0x3 << 26)

Definition at line 27 of file samsung_fimd.h.

#define VIDCON0_VIDOUT_RGB   (0x0 << 26)

Definition at line 29 of file samsung_fimd.h.

#define VIDCON0_VIDOUT_SHIFT   (26)

Definition at line 28 of file samsung_fimd.h.

#define VIDCON0_VIDOUT_TV   (0x1 << 26)

Definition at line 30 of file samsung_fimd.h.

#define VIDCON0_VLCKFREE   (1 << 5)

Definition at line 64 of file samsung_fimd.h.

#define VIDCON1   (0x04)

Definition at line 76 of file samsung_fimd.h.

#define VIDCON1_FSTATUS_EVEN   (1 << 15)

Definition at line 397 of file samsung_fimd.h.

#define VIDCON1_INV_HSYNC   (1 << 6)

Definition at line 91 of file samsung_fimd.h.

#define VIDCON1_INV_VCLK   (1 << 7)

Definition at line 90 of file samsung_fimd.h.

#define VIDCON1_INV_VDEN   (1 << 4)

Definition at line 93 of file samsung_fimd.h.

#define VIDCON1_INV_VSYNC   (1 << 5)

Definition at line 92 of file samsung_fimd.h.

#define VIDCON1_LINECNT_GET (   _v)    (((_v) >> 16) & 0x7ff)

Definition at line 79 of file samsung_fimd.h.

#define VIDCON1_LINECNT_MASK   (0x7ff << 16)

Definition at line 77 of file samsung_fimd.h.

#define VIDCON1_LINECNT_SHIFT   (16)

Definition at line 78 of file samsung_fimd.h.

#define VIDCON1_VCLK_HOLD   (0x0 << 9)

Definition at line 87 of file samsung_fimd.h.

#define VIDCON1_VCLK_MASK   (0x3 << 9)

Definition at line 86 of file samsung_fimd.h.

#define VIDCON1_VCLK_RUN   (0x1 << 9)

Definition at line 88 of file samsung_fimd.h.

#define VIDCON1_VSTATUS_ACTIVE   (0x2 << 13)

Definition at line 84 of file samsung_fimd.h.

#define VIDCON1_VSTATUS_BACKPORCH   (0x1 << 13)

Definition at line 83 of file samsung_fimd.h.

#define VIDCON1_VSTATUS_FRONTPORCH   (0x0 << 13)

Definition at line 85 of file samsung_fimd.h.

#define VIDCON1_VSTATUS_MASK   (0x3 << 13)

Definition at line 80 of file samsung_fimd.h.

#define VIDCON1_VSTATUS_SHIFT   (13)

Definition at line 81 of file samsung_fimd.h.

#define VIDCON1_VSTATUS_VSYNC   (0x0 << 13)

Definition at line 82 of file samsung_fimd.h.

#define VIDCON2   (0x08)

Definition at line 97 of file samsung_fimd.h.

#define VIDCON2_EN601   (1 << 23)

Definition at line 98 of file samsung_fimd.h.

#define VIDCON2_ORGYCbCr   (1 << 8)

Definition at line 107 of file samsung_fimd.h.

#define VIDCON2_TVFMTSEL1_MASK   (0x3 << 12)

Definition at line 101 of file samsung_fimd.h.

#define VIDCON2_TVFMTSEL1_RGB   (0x0 << 12)

Definition at line 103 of file samsung_fimd.h.

#define VIDCON2_TVFMTSEL1_SHIFT   (12)

Definition at line 102 of file samsung_fimd.h.

#define VIDCON2_TVFMTSEL1_YUV422   (0x1 << 12)

Definition at line 104 of file samsung_fimd.h.

#define VIDCON2_TVFMTSEL1_YUV444   (0x2 << 12)

Definition at line 105 of file samsung_fimd.h.

#define VIDCON2_TVFMTSEL_SW   (1 << 14)

Definition at line 99 of file samsung_fimd.h.

#define VIDCON2_YUVORDCrCb   (1 << 7)

Definition at line 108 of file samsung_fimd.h.

#define VIDINTCON0   (0x130)

Definition at line 412 of file samsung_fimd.h.

#define VIDINTCON0_FIFIOSEL_MASK   (0x7f << 5)

Definition at line 320 of file samsung_fimd.h.

#define VIDINTCON0_FIFIOSEL_SHIFT   (5)

Definition at line 321 of file samsung_fimd.h.

#define VIDINTCON0_FIFIOSEL_WINDOW0   (0x1 << 5)

Definition at line 322 of file samsung_fimd.h.

#define VIDINTCON0_FIFIOSEL_WINDOW1   (0x2 << 5)

Definition at line 323 of file samsung_fimd.h.

#define VIDINTCON0_FIFIOSEL_WINDOW2   (0x10 << 5)

Definition at line 469 of file samsung_fimd.h.

#define VIDINTCON0_FIFIOSEL_WINDOW3   (0x20 << 5)

Definition at line 470 of file samsung_fimd.h.

#define VIDINTCON0_FIFIOSEL_WINDOW4   (0x40 << 5)

Definition at line 471 of file samsung_fimd.h.

#define VIDINTCON0_FIFOINTERVAL (   _x)    ((_x) << 20)

Definition at line 299 of file samsung_fimd.h.

#define VIDINTCON0_FIFOINTERVAL_LIMIT   (0x3f)

Definition at line 298 of file samsung_fimd.h.

#define VIDINTCON0_FIFOINTERVAL_MASK   (0x3f << 20)

Definition at line 296 of file samsung_fimd.h.

#define VIDINTCON0_FIFOINTERVAL_SHIFT   (20)

Definition at line 297 of file samsung_fimd.h.

#define VIDINTCON0_FIFOLEVEL_EMPTY   (0x3 << 2)

Definition at line 330 of file samsung_fimd.h.

#define VIDINTCON0_FIFOLEVEL_FULL   (0x4 << 2)

Definition at line 331 of file samsung_fimd.h.

#define VIDINTCON0_FIFOLEVEL_MASK   (0x7 << 2)

Definition at line 325 of file samsung_fimd.h.

#define VIDINTCON0_FIFOLEVEL_SHIFT   (2)

Definition at line 326 of file samsung_fimd.h.

#define VIDINTCON0_FIFOLEVEL_TO25PC   (0x0 << 2)

Definition at line 327 of file samsung_fimd.h.

#define VIDINTCON0_FIFOLEVEL_TO50PC   (0x1 << 2)

Definition at line 328 of file samsung_fimd.h.

#define VIDINTCON0_FIFOLEVEL_TO75PC   (0x2 << 2)

Definition at line 329 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL0_ACTIVE   (0x2 << 15)

Definition at line 309 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL0_BACKPORCH   (0x0 << 15)

Definition at line 307 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL0_FRONTPORCH   (0x3 << 15)

Definition at line 310 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL0_MASK   (0x3 << 15)

Definition at line 305 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL0_SHIFT   (15)

Definition at line 306 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL0_VSYNC   (0x1 << 15)

Definition at line 308 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL1   (1 << 13)

Definition at line 312 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL1_BACKPORCH   (0x1 << 13)

Definition at line 315 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL1_FRONTPORCH   (0x3 << 13)

Definition at line 317 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL1_MASK   (0x3 << 13)

Definition at line 313 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL1_NONE   (0x0 << 13)

Definition at line 314 of file samsung_fimd.h.

#define VIDINTCON0_FRAMESEL1_VSYNC   (0x2 << 13)

Definition at line 316 of file samsung_fimd.h.

#define VIDINTCON0_INT_ENABLE   (1 << 0)

Definition at line 335 of file samsung_fimd.h.

#define VIDINTCON0_INT_FIFO_MASK   (0x3 << 0)

Definition at line 333 of file samsung_fimd.h.

#define VIDINTCON0_INT_FIFO_SHIFT   (0)

Definition at line 334 of file samsung_fimd.h.

#define VIDINTCON0_INT_FRAME   (1 << 12)

Definition at line 319 of file samsung_fimd.h.

#define VIDINTCON0_INT_I80IFDONE   (1 << 17)

Definition at line 303 of file samsung_fimd.h.

#define VIDINTCON0_INT_SYSMAINCON   (1 << 19)

Definition at line 301 of file samsung_fimd.h.

#define VIDINTCON0_INT_SYSSUBCON   (1 << 18)

Definition at line 302 of file samsung_fimd.h.

#define VIDINTCON1   (0x134)

Definition at line 337 of file samsung_fimd.h.

#define VIDINTCON1_INT_FIFO   (1 << 0)

Definition at line 340 of file samsung_fimd.h.

#define VIDINTCON1_INT_FRAME   (1 << 1)

Definition at line 339 of file samsung_fimd.h.

#define VIDINTCON1_INT_I180   (1 << 2)

Definition at line 338 of file samsung_fimd.h.

#define VIDISD14C_ALPHA0_B (   _x)    ((_x) << 12)

Definition at line 261 of file samsung_fimd.h.

#define VIDISD14C_ALPHA0_B_LIMIT   (0xf)

Definition at line 260 of file samsung_fimd.h.

#define VIDISD14C_ALPHA0_B_MASK   (0xf << 12)

Definition at line 258 of file samsung_fimd.h.

#define VIDISD14C_ALPHA0_B_SHIFT   (12)

Definition at line 259 of file samsung_fimd.h.

#define VIDISD14C_ALPHA0_G (   _x)    ((_x) << 16)

Definition at line 257 of file samsung_fimd.h.

#define VIDISD14C_ALPHA0_G_LIMIT   (0xf)

Definition at line 256 of file samsung_fimd.h.

#define VIDISD14C_ALPHA0_G_MASK   (0xf << 16)

Definition at line 254 of file samsung_fimd.h.

#define VIDISD14C_ALPHA0_G_SHIFT   (16)

Definition at line 255 of file samsung_fimd.h.

#define VIDISD14C_ALPHA0_R (   _x)    ((_x) << 20)

Definition at line 253 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_B (   _x)    ((_x) << 0)

Definition at line 273 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_B_LIMIT   (0xf)

Definition at line 272 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_B_MASK   (0xf << 0)

Definition at line 270 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_B_SHIFT   (0)

Definition at line 271 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_G (   _x)    ((_x) << 4)

Definition at line 269 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_G_LIMIT   (0xf)

Definition at line 268 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_G_MASK   (0xf << 4)

Definition at line 266 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_G_SHIFT   (4)

Definition at line 267 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_R (   _x)    ((_x) << 8)

Definition at line 265 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_R_LIMIT   (0xf)

Definition at line 264 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_R_MASK   (0xf << 8)

Definition at line 262 of file samsung_fimd.h.

#define VIDISD14C_ALPHA1_R_SHIFT   (8)

Definition at line 263 of file samsung_fimd.h.

#define VIDOSD_BASE   (0x40)

Definition at line 410 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_X (   _x)    (((_x) & 0x7ff) << 11)

Definition at line 232 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_X_E (   _x)    ((((_x) & 0x800) >> 11) << 23)

Definition at line 228 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_X_LIMIT   (0x7ff)

Definition at line 231 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_X_MASK   (0x7ff << 11)

Definition at line 229 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_X_SHIFT   (11)

Definition at line 230 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_Y (   _x)    (((_x) & 0x7ff) << 0)

Definition at line 238 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_Y_E (   _x)    ((((_x) & 0x800) >> 11) << 22)

Definition at line 234 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_Y_LIMIT   (0x7ff)

Definition at line 237 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_Y_MASK   (0x7ff << 0)

Definition at line 235 of file samsung_fimd.h.

#define VIDOSDxA_TOPLEFT_Y_SHIFT   (0)

Definition at line 236 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_X (   _x)    (((_x) & 0x7ff) << 11)

Definition at line 244 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_X_E (   _x)    ((((_x) & 0x800) >> 11) << 23)

Definition at line 240 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_X_LIMIT   (0x7ff)

Definition at line 243 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_X_MASK   (0x7ff << 11)

Definition at line 241 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_X_SHIFT   (11)

Definition at line 242 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_Y (   _x)    (((_x) & 0x7ff) << 0)

Definition at line 250 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_Y_E (   _x)    ((((_x) & 0x800) >> 11) << 22)

Definition at line 246 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_Y_LIMIT   (0x7ff)

Definition at line 249 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_Y_MASK   (0x7ff << 0)

Definition at line 247 of file samsung_fimd.h.

#define VIDOSDxB_BOTRIGHT_Y_SHIFT   (0)

Definition at line 248 of file samsung_fimd.h.

#define VIDTCON0   (0x10)

Definition at line 400 of file samsung_fimd.h.

#define VIDTCON0_VBPD (   _x)    ((_x) << 16)

Definition at line 127 of file samsung_fimd.h.

#define VIDTCON0_VBPD_LIMIT   (0xff)

Definition at line 126 of file samsung_fimd.h.

#define VIDTCON0_VBPD_MASK   (0xff << 16)

Definition at line 124 of file samsung_fimd.h.

#define VIDTCON0_VBPD_SHIFT   (16)

Definition at line 125 of file samsung_fimd.h.

#define VIDTCON0_VBPDE (   _x)    ((_x) << 24)

Definition at line 122 of file samsung_fimd.h.

#define VIDTCON0_VBPDE_LIMIT   (0xff)

Definition at line 121 of file samsung_fimd.h.

#define VIDTCON0_VBPDE_MASK   (0xff << 24)

Definition at line 119 of file samsung_fimd.h.

#define VIDTCON0_VBPDE_SHIFT   (24)

Definition at line 120 of file samsung_fimd.h.

#define VIDTCON0_VFPD (   _x)    ((_x) << 8)

Definition at line 132 of file samsung_fimd.h.

#define VIDTCON0_VFPD_LIMIT   (0xff)

Definition at line 131 of file samsung_fimd.h.

#define VIDTCON0_VFPD_MASK   (0xff << 8)

Definition at line 129 of file samsung_fimd.h.

#define VIDTCON0_VFPD_SHIFT   (8)

Definition at line 130 of file samsung_fimd.h.

#define VIDTCON0_VSPW (   _x)    ((_x) << 0)

Definition at line 137 of file samsung_fimd.h.

#define VIDTCON0_VSPW_LIMIT   (0xff)

Definition at line 136 of file samsung_fimd.h.

#define VIDTCON0_VSPW_MASK   (0xff << 0)

Definition at line 134 of file samsung_fimd.h.

#define VIDTCON0_VSPW_SHIFT   (0)

Definition at line 135 of file samsung_fimd.h.

#define VIDTCON1   (0x14)

Definition at line 401 of file samsung_fimd.h.

#define VIDTCON1_HBPD (   _x)    ((_x) << 16)

Definition at line 149 of file samsung_fimd.h.

#define VIDTCON1_HBPD_LIMIT   (0xff)

Definition at line 148 of file samsung_fimd.h.

#define VIDTCON1_HBPD_MASK   (0xff << 16)

Definition at line 146 of file samsung_fimd.h.

#define VIDTCON1_HBPD_SHIFT   (16)

Definition at line 147 of file samsung_fimd.h.

#define VIDTCON1_HFPD (   _x)    ((_x) << 8)

Definition at line 154 of file samsung_fimd.h.

#define VIDTCON1_HFPD_LIMIT   (0xff)

Definition at line 153 of file samsung_fimd.h.

#define VIDTCON1_HFPD_MASK   (0xff << 8)

Definition at line 151 of file samsung_fimd.h.

#define VIDTCON1_HFPD_SHIFT   (8)

Definition at line 152 of file samsung_fimd.h.

#define VIDTCON1_HSPW (   _x)    ((_x) << 0)

Definition at line 159 of file samsung_fimd.h.

#define VIDTCON1_HSPW_LIMIT   (0xff)

Definition at line 158 of file samsung_fimd.h.

#define VIDTCON1_HSPW_MASK   (0xff << 0)

Definition at line 156 of file samsung_fimd.h.

#define VIDTCON1_HSPW_SHIFT   (0)

Definition at line 157 of file samsung_fimd.h.

#define VIDTCON1_VFPDE (   _x)    ((_x) << 24)

Definition at line 144 of file samsung_fimd.h.

#define VIDTCON1_VFPDE_LIMIT   (0xff)

Definition at line 143 of file samsung_fimd.h.

#define VIDTCON1_VFPDE_MASK   (0xff << 24)

Definition at line 141 of file samsung_fimd.h.

#define VIDTCON1_VFPDE_SHIFT   (24)

Definition at line 142 of file samsung_fimd.h.

#define VIDTCON2   (0x18)

Definition at line 402 of file samsung_fimd.h.

#define VIDTCON2   (0x18)

Definition at line 402 of file samsung_fimd.h.

#define VIDTCON2_HOZVAL (   _x)    (((_x) & 0x7ff) << 0)

Definition at line 172 of file samsung_fimd.h.

#define VIDTCON2_HOZVAL_E (   _x)    ((((_x) & 0x800) >> 11) << 22)

Definition at line 168 of file samsung_fimd.h.

#define VIDTCON2_HOZVAL_LIMIT   (0x7ff)

Definition at line 171 of file samsung_fimd.h.

#define VIDTCON2_HOZVAL_MASK   (0x7ff << 0)

Definition at line 169 of file samsung_fimd.h.

#define VIDTCON2_HOZVAL_SHIFT   (0)

Definition at line 170 of file samsung_fimd.h.

#define VIDTCON2_LINEVAL (   _x)    (((_x) & 0x7ff) << 11)

Definition at line 166 of file samsung_fimd.h.

#define VIDTCON2_LINEVAL_E (   _x)    ((((_x) & 0x800) >> 11) << 23)

Definition at line 162 of file samsung_fimd.h.

#define VIDTCON2_LINEVAL_LIMIT   (0x7ff)

Definition at line 165 of file samsung_fimd.h.

#define VIDTCON2_LINEVAL_MASK   (0x7ff << 11)

Definition at line 163 of file samsung_fimd.h.

#define VIDTCON2_LINEVAL_SHIFT   (11)

Definition at line 164 of file samsung_fimd.h.

#define VIDW_BUF_END (   _buff)    (0xD0 + ((_buff) * 8))

Definition at line 278 of file samsung_fimd.h.

#define VIDW_BUF_END1 (   _buff)    (0xD4 + ((_buff) * 8))

Definition at line 279 of file samsung_fimd.h.

#define VIDW_BUF_SIZE (   _buff)    (0x100 + ((_buff) * 4))

Definition at line 280 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_OFFSET (   _x)    (((_x) & 0x1fff) << 13)

Definition at line 286 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_OFFSET_E (   _x)    ((((_x) & 0x2000) >> 13) << 27)

Definition at line 282 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_OFFSET_LIMIT   (0x1fff)

Definition at line 285 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_OFFSET_MASK   (0x1fff << 13)

Definition at line 283 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_OFFSET_SHIFT   (13)

Definition at line 284 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_PAGEWIDTH (   _x)    (((_x) & 0x1fff) << 0)

Definition at line 292 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_PAGEWIDTH_E (   _x)    ((((_x) & 0x2000) >> 13) << 26)

Definition at line 288 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_PAGEWIDTH_LIMIT   (0x1fff)

Definition at line 291 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_PAGEWIDTH_MASK   (0x1fff << 0)

Definition at line 289 of file samsung_fimd.h.

#define VIDW_BUF_SIZE_PAGEWIDTH_SHIFT   (0)

Definition at line 290 of file samsung_fimd.h.

#define VIDW_BUF_START (   _buff)    (0xA0 + ((_buff) * 8))

Definition at line 276 of file samsung_fimd.h.

#define VIDW_BUF_START1 (   _buff)    (0xA4 + ((_buff) * 8))

Definition at line 277 of file samsung_fimd.h.

#define WINCON (   _win)    (0x20 + ((_win) * 4))

Definition at line 406 of file samsung_fimd.h.

#define WINCON0_BPPMODE_16BPP_1555   (0x7 << 2)

Definition at line 195 of file samsung_fimd.h.

#define WINCON0_BPPMODE_16BPP_565   (0x5 << 2)

Definition at line 194 of file samsung_fimd.h.

#define WINCON0_BPPMODE_18BPP_666   (0x8 << 2)

Definition at line 196 of file samsung_fimd.h.

#define WINCON0_BPPMODE_1BPP   (0x0 << 2)

Definition at line 190 of file samsung_fimd.h.

#define WINCON0_BPPMODE_24BPP_888   (0xb << 2)

Definition at line 197 of file samsung_fimd.h.

#define WINCON0_BPPMODE_2BPP   (0x1 << 2)

Definition at line 191 of file samsung_fimd.h.

#define WINCON0_BPPMODE_4BPP   (0x2 << 2)

Definition at line 192 of file samsung_fimd.h.

#define WINCON0_BPPMODE_8BPP_PALETTE   (0x3 << 2)

Definition at line 193 of file samsung_fimd.h.

#define WINCON0_BPPMODE_MASK   (0xf << 2)

Definition at line 188 of file samsung_fimd.h.

#define WINCON0_BPPMODE_SHIFT   (2)

Definition at line 189 of file samsung_fimd.h.

#define WINCON1_ALPHA_SEL   (1 << 1)

Definition at line 201 of file samsung_fimd.h.

#define WINCON1_BLD_PIX   (1 << 6)

Definition at line 199 of file samsung_fimd.h.

#define WINCON1_BPPMODE_16BPP_565   (0x5 << 2)

Definition at line 209 of file samsung_fimd.h.

#define WINCON1_BPPMODE_16BPP_A1555   (0x6 << 2)

Definition at line 210 of file samsung_fimd.h.

#define WINCON1_BPPMODE_16BPP_I1555   (0x7 << 2)

Definition at line 211 of file samsung_fimd.h.

#define WINCON1_BPPMODE_18BPP_666   (0x8 << 2)

Definition at line 212 of file samsung_fimd.h.

#define WINCON1_BPPMODE_18BPP_A1665   (0x9 << 2)

Definition at line 213 of file samsung_fimd.h.

#define WINCON1_BPPMODE_19BPP_A1666   (0xa << 2)

Definition at line 214 of file samsung_fimd.h.

#define WINCON1_BPPMODE_1BPP   (0x0 << 2)

Definition at line 204 of file samsung_fimd.h.

#define WINCON1_BPPMODE_24BPP_888   (0xb << 2)

Definition at line 215 of file samsung_fimd.h.

#define WINCON1_BPPMODE_24BPP_A1887   (0xc << 2)

Definition at line 216 of file samsung_fimd.h.

#define WINCON1_BPPMODE_25BPP_A1888   (0xd << 2)

Definition at line 217 of file samsung_fimd.h.

#define WINCON1_BPPMODE_28BPP_A4888   (0xd << 2)

Definition at line 218 of file samsung_fimd.h.

#define WINCON1_BPPMODE_2BPP   (0x1 << 2)

Definition at line 205 of file samsung_fimd.h.

#define WINCON1_BPPMODE_4BPP   (0x2 << 2)

Definition at line 206 of file samsung_fimd.h.

#define WINCON1_BPPMODE_8BPP_1232   (0x4 << 2)

Definition at line 208 of file samsung_fimd.h.

#define WINCON1_BPPMODE_8BPP_PALETTE   (0x3 << 2)

Definition at line 207 of file samsung_fimd.h.

#define WINCON1_BPPMODE_MASK   (0xf << 2)

Definition at line 202 of file samsung_fimd.h.

#define WINCON1_BPPMODE_SHIFT   (2)

Definition at line 203 of file samsung_fimd.h.

#define WINCON1_LOCALSEL_CAMIF   (1 << 23)

Definition at line 427 of file samsung_fimd.h.

#define WINCON2_ALPHA_SEL   (1 << 1)

Definition at line 432 of file samsung_fimd.h.

#define WINCON2_BLD_PIX   (1 << 6)

Definition at line 430 of file samsung_fimd.h.

#define WINCON2_BPPMODE_16BPP_565   (0x5 << 2)

Definition at line 439 of file samsung_fimd.h.

#define WINCON2_BPPMODE_16BPP_A1555   (0x6 << 2)

Definition at line 440 of file samsung_fimd.h.

#define WINCON2_BPPMODE_16BPP_I1555   (0x7 << 2)

Definition at line 441 of file samsung_fimd.h.

#define WINCON2_BPPMODE_18BPP_666   (0x8 << 2)

Definition at line 442 of file samsung_fimd.h.

#define WINCON2_BPPMODE_18BPP_A1665   (0x9 << 2)

Definition at line 443 of file samsung_fimd.h.

#define WINCON2_BPPMODE_19BPP_A1666   (0xa << 2)

Definition at line 444 of file samsung_fimd.h.

#define WINCON2_BPPMODE_1BPP   (0x0 << 2)

Definition at line 435 of file samsung_fimd.h.

#define WINCON2_BPPMODE_24BPP_888   (0xb << 2)

Definition at line 445 of file samsung_fimd.h.

#define WINCON2_BPPMODE_24BPP_A1887   (0xc << 2)

Definition at line 446 of file samsung_fimd.h.

#define WINCON2_BPPMODE_25BPP_A1888   (0xd << 2)

Definition at line 447 of file samsung_fimd.h.

#define WINCON2_BPPMODE_28BPP_A4888   (0xd << 2)

Definition at line 448 of file samsung_fimd.h.

#define WINCON2_BPPMODE_2BPP   (0x1 << 2)

Definition at line 436 of file samsung_fimd.h.

#define WINCON2_BPPMODE_4BPP   (0x2 << 2)

Definition at line 437 of file samsung_fimd.h.

#define WINCON2_BPPMODE_8BPP_1232   (0x4 << 2)

Definition at line 438 of file samsung_fimd.h.

#define WINCON2_BPPMODE_MASK   (0xf << 2)

Definition at line 433 of file samsung_fimd.h.

#define WINCON2_BPPMODE_SHIFT   (2)

Definition at line 434 of file samsung_fimd.h.

#define WINCON2_LOCALSEL_CAMIF   (1 << 23)

Definition at line 429 of file samsung_fimd.h.

#define WINCON3_ALPHA_SEL   (1 << 1)

Definition at line 452 of file samsung_fimd.h.

#define WINCON3_BLD_PIX   (1 << 6)

Definition at line 450 of file samsung_fimd.h.

#define WINCON3_BPPMODE_16BPP_565   (0x5 << 2)

Definition at line 458 of file samsung_fimd.h.

#define WINCON3_BPPMODE_16BPP_A1555   (0x6 << 2)

Definition at line 459 of file samsung_fimd.h.

#define WINCON3_BPPMODE_16BPP_I1555   (0x7 << 2)

Definition at line 460 of file samsung_fimd.h.

#define WINCON3_BPPMODE_18BPP_666   (0x8 << 2)

Definition at line 461 of file samsung_fimd.h.

#define WINCON3_BPPMODE_18BPP_A1665   (0x9 << 2)

Definition at line 462 of file samsung_fimd.h.

#define WINCON3_BPPMODE_19BPP_A1666   (0xa << 2)

Definition at line 463 of file samsung_fimd.h.

#define WINCON3_BPPMODE_1BPP   (0x0 << 2)

Definition at line 455 of file samsung_fimd.h.

#define WINCON3_BPPMODE_24BPP_888   (0xb << 2)

Definition at line 464 of file samsung_fimd.h.

#define WINCON3_BPPMODE_24BPP_A1887   (0xc << 2)

Definition at line 465 of file samsung_fimd.h.

#define WINCON3_BPPMODE_25BPP_A1888   (0xd << 2)

Definition at line 466 of file samsung_fimd.h.

#define WINCON3_BPPMODE_28BPP_A4888   (0xd << 2)

Definition at line 467 of file samsung_fimd.h.

#define WINCON3_BPPMODE_2BPP   (0x1 << 2)

Definition at line 456 of file samsung_fimd.h.

#define WINCON3_BPPMODE_4BPP   (0x2 << 2)

Definition at line 457 of file samsung_fimd.h.

#define WINCON3_BPPMODE_MASK   (0xf << 2)

Definition at line 453 of file samsung_fimd.h.

#define WINCON3_BPPMODE_SHIFT   (2)

Definition at line 454 of file samsung_fimd.h.

#define WINCONx_BITSWP   (1 << 18)

Definition at line 177 of file samsung_fimd.h.

#define WINCONx_BUFAUTOEN   (1 << 19)

Definition at line 424 of file samsung_fimd.h.

#define WINCONx_BUFSEL   (1 << 20)

Definition at line 423 of file samsung_fimd.h.

#define WINCONx_BUFSTATUS   (1 << 21)

Definition at line 422 of file samsung_fimd.h.

#define WINCONx_BURSTLEN_16WORD   (0x0 << 9)

Definition at line 183 of file samsung_fimd.h.

#define WINCONx_BURSTLEN_4WORD   (0x2 << 9)

Definition at line 185 of file samsung_fimd.h.

#define WINCONx_BURSTLEN_8WORD   (0x1 << 9)

Definition at line 184 of file samsung_fimd.h.

#define WINCONx_BURSTLEN_MASK   (0x3 << 9)

Definition at line 181 of file samsung_fimd.h.

#define WINCONx_BURSTLEN_SHIFT   (9)

Definition at line 182 of file samsung_fimd.h.

#define WINCONx_BYTSWP   (1 << 17)

Definition at line 178 of file samsung_fimd.h.

#define WINCONx_CSCWIDTH_MASK   (0x3 << 26)

Definition at line 416 of file samsung_fimd.h.

#define WINCONx_CSCWIDTH_NARROW   (0x3 << 26)

Definition at line 419 of file samsung_fimd.h.

#define WINCONx_CSCWIDTH_SHIFT   (26)

Definition at line 417 of file samsung_fimd.h.

#define WINCONx_CSCWIDTH_WIDE   (0x0 << 26)

Definition at line 418 of file samsung_fimd.h.

#define WINCONx_ENLOCAL   (1 << 22)

Definition at line 421 of file samsung_fimd.h.

#define WINCONx_ENWIN   (1 << 0)

Definition at line 187 of file samsung_fimd.h.

#define WINCONx_HAWSWP   (1 << 16)

Definition at line 179 of file samsung_fimd.h.

#define WINCONx_WSWP   (1 << 15)

Definition at line 180 of file samsung_fimd.h.

#define WINCONx_YCbCr   (1 << 13)

Definition at line 425 of file samsung_fimd.h.

#define WINxMAP (   _win)    (0x180 + ((_win) * 4))

Definition at line 474 of file samsung_fimd.h.

#define WINxMAP_MAP   (1 << 24)

Definition at line 363 of file samsung_fimd.h.

#define WINxMAP_MAP_COLOUR (   _x)    ((_x) << 0)

Definition at line 367 of file samsung_fimd.h.

#define WINxMAP_MAP_COLOUR_LIMIT   (0xffffff)

Definition at line 366 of file samsung_fimd.h.

#define WINxMAP_MAP_COLOUR_MASK   (0xffffff << 0)

Definition at line 364 of file samsung_fimd.h.

#define WINxMAP_MAP_COLOUR_SHIFT   (0)

Definition at line 365 of file samsung_fimd.h.

#define WKEYCON   (0x140) /* 6410,V210 */

Definition at line 343 of file samsung_fimd.h.

#define WKEYCON0   (0x00)

Definition at line 345 of file samsung_fimd.h.

#define WKEYCON1   (0x04)

Definition at line 346 of file samsung_fimd.h.

#define WPALCON   (0x1A0)

Definition at line 497 of file samsung_fimd.h.

#define WPALCON_PAL_UPDATE   (1 << 9)

Definition at line 369 of file samsung_fimd.h.

#define WPALCON_W0PAL_16BPP_565   (0x6 << 0)

Definition at line 388 of file samsung_fimd.h.

#define WPALCON_W0PAL_16BPP_A555   (0x5 << 0)

Definition at line 387 of file samsung_fimd.h.

#define WPALCON_W0PAL_18BPP   (0x4 << 0)

Definition at line 386 of file samsung_fimd.h.

#define WPALCON_W0PAL_18BPP_A665   (0x3 << 0)

Definition at line 385 of file samsung_fimd.h.

#define WPALCON_W0PAL_19BPP_A666   (0x2 << 0)

Definition at line 384 of file samsung_fimd.h.

#define WPALCON_W0PAL_24BPP   (0x1 << 0)

Definition at line 383 of file samsung_fimd.h.

#define WPALCON_W0PAL_25BPP_A888   (0x0 << 0)

Definition at line 382 of file samsung_fimd.h.

#define WPALCON_W0PAL_MASK   (0x7 << 0)

Definition at line 380 of file samsung_fimd.h.

#define WPALCON_W0PAL_SHIFT   (0)

Definition at line 381 of file samsung_fimd.h.

#define WPALCON_W1PAL_16BPP_565   (0x6 << 3)

Definition at line 378 of file samsung_fimd.h.

#define WPALCON_W1PAL_16BPP_A555   (0x5 << 3)

Definition at line 377 of file samsung_fimd.h.

#define WPALCON_W1PAL_18BPP   (0x4 << 3)

Definition at line 376 of file samsung_fimd.h.

#define WPALCON_W1PAL_18BPP_A665   (0x3 << 3)

Definition at line 375 of file samsung_fimd.h.

#define WPALCON_W1PAL_19BPP_A666   (0x2 << 3)

Definition at line 374 of file samsung_fimd.h.

#define WPALCON_W1PAL_24BPP   (0x1 << 3)

Definition at line 373 of file samsung_fimd.h.

#define WPALCON_W1PAL_25BPP_A888   (0x0 << 3)

Definition at line 372 of file samsung_fimd.h.

#define WPALCON_W1PAL_MASK   (0x7 << 3)

Definition at line 370 of file samsung_fimd.h.

#define WPALCON_W1PAL_SHIFT   (3)

Definition at line 371 of file samsung_fimd.h.

#define WPALCON_W2PAL_16BPP_A555   (1 << 6)

Definition at line 504 of file samsung_fimd.h.

#define WPALCON_W3PAL_16BPP_A555   (1 << 7)

Definition at line 503 of file samsung_fimd.h.

#define WPALCON_W4PAL_16BPP_A555   (1 << 8)

Definition at line 502 of file samsung_fimd.h.

#define WxKEYCON0_COMPKEY (   _x)    ((_x) << 0)

Definition at line 354 of file samsung_fimd.h.

#define WxKEYCON0_COMPKEY_LIMIT   (0xffffff)

Definition at line 353 of file samsung_fimd.h.

#define WxKEYCON0_COMPKEY_MASK   (0xffffff << 0)

Definition at line 351 of file samsung_fimd.h.

#define WxKEYCON0_COMPKEY_SHIFT   (0)

Definition at line 352 of file samsung_fimd.h.

#define WxKEYCON0_DIRCON   (1 << 24)

Definition at line 350 of file samsung_fimd.h.

#define WxKEYCON0_KEYBL_EN   (1 << 26)

Definition at line 348 of file samsung_fimd.h.

#define WxKEYCON0_KEYEN_F   (1 << 25)

Definition at line 349 of file samsung_fimd.h.

#define WxKEYCON1_COLVAL (   _x)    ((_x) << 0)

Definition at line 358 of file samsung_fimd.h.

#define WxKEYCON1_COLVAL_LIMIT   (0xffffff)

Definition at line 357 of file samsung_fimd.h.

#define WxKEYCON1_COLVAL_MASK   (0xffffff << 0)

Definition at line 355 of file samsung_fimd.h.

#define WxKEYCON1_COLVAL_SHIFT   (0)

Definition at line 356 of file samsung_fimd.h.