Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mdp_hw.h File Reference
#include <linux/platform_data/video-msm_fb.h>

Go to the source code of this file.

Data Structures

struct  mdp_info
 

Macros

#define mdp_writel(mdp, value, offset)   writel(value, mdp->base + offset)
 
#define mdp_readl(mdp, offset)   readl(mdp->base + offset)
 
#define MDP_SYNC_CONFIG_0   (0x00000)
 
#define MDP_SYNC_CONFIG_1   (0x00004)
 
#define MDP_SYNC_CONFIG_2   (0x00008)
 
#define MDP_SYNC_STATUS_0   (0x0000c)
 
#define MDP_SYNC_STATUS_1   (0x00010)
 
#define MDP_SYNC_STATUS_2   (0x00014)
 
#define MDP_SYNC_THRESH_0   (0x00018)
 
#define MDP_SYNC_THRESH_1   (0x0001c)
 
#define MDP_INTR_ENABLE   (0x00020)
 
#define MDP_INTR_STATUS   (0x00024)
 
#define MDP_INTR_CLEAR   (0x00028)
 
#define MDP_DISPLAY0_START   (0x00030)
 
#define MDP_DISPLAY1_START   (0x00034)
 
#define MDP_DISPLAY_STATUS   (0x00038)
 
#define MDP_EBI2_LCD0   (0x0003c)
 
#define MDP_EBI2_LCD1   (0x00040)
 
#define MDP_DISPLAY0_ADDR   (0x00054)
 
#define MDP_DISPLAY1_ADDR   (0x00058)
 
#define MDP_EBI2_PORTMAP_MODE   (0x0005c)
 
#define MDP_MODE   (0x00060)
 
#define MDP_TV_OUT_STATUS   (0x00064)
 
#define MDP_HW_VERSION   (0x00070)
 
#define MDP_SW_RESET   (0x00074)
 
#define MDP_AXI_ERROR_MASTER_STOP   (0x00078)
 
#define MDP_SEL_CLK_OR_HCLK_TEST_BUS   (0x0007c)
 
#define MDP_PRIMARY_VSYNC_OUT_CTRL   (0x00080)
 
#define MDP_SECONDARY_VSYNC_OUT_CTRL   (0x00084)
 
#define MDP_EXTERNAL_VSYNC_OUT_CTRL   (0x00088)
 
#define MDP_VSYNC_CTRL   (0x0008c)
 
#define MDP_CGC_EN   (0x00100)
 
#define MDP_CMD_STATUS   (0x10008)
 
#define MDP_PROFILE_EN   (0x10010)
 
#define MDP_PROFILE_COUNT   (0x10014)
 
#define MDP_DMA_START   (0x10044)
 
#define MDP_FULL_BYPASS_WORD0   (0x10100)
 
#define MDP_FULL_BYPASS_WORD1   (0x10104)
 
#define MDP_COMMAND_CONFIG   (0x10104)
 
#define MDP_FULL_BYPASS_WORD2   (0x10108)
 
#define MDP_FULL_BYPASS_WORD3   (0x1010c)
 
#define MDP_FULL_BYPASS_WORD4   (0x10110)
 
#define MDP_FULL_BYPASS_WORD6   (0x10118)
 
#define MDP_FULL_BYPASS_WORD7   (0x1011c)
 
#define MDP_FULL_BYPASS_WORD8   (0x10120)
 
#define MDP_FULL_BYPASS_WORD9   (0x10124)
 
#define MDP_PPP_SOURCE_CONFIG   (0x10124)
 
#define MDP_FULL_BYPASS_WORD10   (0x10128)
 
#define MDP_FULL_BYPASS_WORD11   (0x1012c)
 
#define MDP_FULL_BYPASS_WORD12   (0x10130)
 
#define MDP_FULL_BYPASS_WORD13   (0x10134)
 
#define MDP_FULL_BYPASS_WORD14   (0x10138)
 
#define MDP_PPP_OPERATION_CONFIG   (0x10138)
 
#define MDP_FULL_BYPASS_WORD15   (0x1013c)
 
#define MDP_FULL_BYPASS_WORD16   (0x10140)
 
#define MDP_FULL_BYPASS_WORD17   (0x10144)
 
#define MDP_FULL_BYPASS_WORD18   (0x10148)
 
#define MDP_FULL_BYPASS_WORD19   (0x1014c)
 
#define MDP_FULL_BYPASS_WORD20   (0x10150)
 
#define MDP_PPP_DESTINATION_CONFIG   (0x10150)
 
#define MDP_FULL_BYPASS_WORD21   (0x10154)
 
#define MDP_FULL_BYPASS_WORD22   (0x10158)
 
#define MDP_FULL_BYPASS_WORD23   (0x1015c)
 
#define MDP_FULL_BYPASS_WORD24   (0x10160)
 
#define MDP_FULL_BYPASS_WORD25   (0x10164)
 
#define MDP_FULL_BYPASS_WORD26   (0x10168)
 
#define MDP_FULL_BYPASS_WORD27   (0x1016c)
 
#define MDP_FULL_BYPASS_WORD29   (0x10174)
 
#define MDP_FULL_BYPASS_WORD30   (0x10178)
 
#define MDP_FULL_BYPASS_WORD31   (0x1017c)
 
#define MDP_FULL_BYPASS_WORD32   (0x10180)
 
#define MDP_DMA_CONFIG   (0x10180)
 
#define MDP_FULL_BYPASS_WORD33   (0x10184)
 
#define MDP_FULL_BYPASS_WORD34   (0x10188)
 
#define MDP_FULL_BYPASS_WORD35   (0x1018c)
 
#define MDP_FULL_BYPASS_WORD37   (0x10194)
 
#define MDP_FULL_BYPASS_WORD39   (0x1019c)
 
#define MDP_FULL_BYPASS_WORD40   (0x101a0)
 
#define MDP_FULL_BYPASS_WORD41   (0x101a4)
 
#define MDP_FULL_BYPASS_WORD43   (0x101ac)
 
#define MDP_FULL_BYPASS_WORD46   (0x101b8)
 
#define MDP_FULL_BYPASS_WORD47   (0x101bc)
 
#define MDP_FULL_BYPASS_WORD48   (0x101c0)
 
#define MDP_FULL_BYPASS_WORD49   (0x101c4)
 
#define MDP_FULL_BYPASS_WORD50   (0x101c8)
 
#define MDP_FULL_BYPASS_WORD51   (0x101cc)
 
#define MDP_FULL_BYPASS_WORD52   (0x101d0)
 
#define MDP_FULL_BYPASS_WORD53   (0x101d4)
 
#define MDP_FULL_BYPASS_WORD54   (0x101d8)
 
#define MDP_FULL_BYPASS_WORD55   (0x101dc)
 
#define MDP_FULL_BYPASS_WORD56   (0x101e0)
 
#define MDP_FULL_BYPASS_WORD57   (0x101e4)
 
#define MDP_FULL_BYPASS_WORD58   (0x101e8)
 
#define MDP_FULL_BYPASS_WORD59   (0x101ec)
 
#define MDP_FULL_BYPASS_WORD60   (0x101f0)
 
#define MDP_VSYNC_THRESHOLD   (0x101f0)
 
#define MDP_FULL_BYPASS_WORD61   (0x101f4)
 
#define MDP_FULL_BYPASS_WORD62   (0x101f8)
 
#define MDP_FULL_BYPASS_WORD63   (0x101fc)
 
#define MDP_TFETCH_TEST_MODE   (0x20004)
 
#define MDP_TFETCH_STATUS   (0x20008)
 
#define MDP_TFETCH_TILE_COUNT   (0x20010)
 
#define MDP_TFETCH_FETCH_COUNT   (0x20014)
 
#define MDP_TFETCH_CONSTANT_COLOR   (0x20040)
 
#define MDP_CSC_BYPASS   (0x40004)
 
#define MDP_SCALE_COEFF_LSB   (0x5fffc)
 
#define MDP_TV_OUT_CTL   (0xc0000)
 
#define MDP_TV_OUT_FIR_COEFF   (0xc0004)
 
#define MDP_TV_OUT_BUF_ADDR   (0xc0008)
 
#define MDP_TV_OUT_CC_DATA   (0xc000c)
 
#define MDP_TV_OUT_SOBEL   (0xc0010)
 
#define MDP_TV_OUT_Y_CLAMP   (0xc0018)
 
#define MDP_TV_OUT_CB_CLAMP   (0xc001c)
 
#define MDP_TV_OUT_CR_CLAMP   (0xc0020)
 
#define MDP_TEST_MODE_CLK   (0xd0000)
 
#define MDP_TEST_MISR_RESET_CLK   (0xd0004)
 
#define MDP_TEST_EXPORT_MISR_CLK   (0xd0008)
 
#define MDP_TEST_MISR_CURR_VAL_CLK   (0xd000c)
 
#define MDP_TEST_MODE_HCLK   (0xd0100)
 
#define MDP_TEST_MISR_RESET_HCLK   (0xd0104)
 
#define MDP_TEST_EXPORT_MISR_HCLK   (0xd0108)
 
#define MDP_TEST_MISR_CURR_VAL_HCLK   (0xd010c)
 
#define MDP_TEST_MODE_DCLK   (0xd0200)
 
#define MDP_TEST_MISR_RESET_DCLK   (0xd0204)
 
#define MDP_TEST_EXPORT_MISR_DCLK   (0xd0208)
 
#define MDP_TEST_MISR_CURR_VAL_DCLK   (0xd020c)
 
#define MDP_TEST_CAPTURED_DCLK   (0xd0210)
 
#define MDP_TEST_MISR_CAPT_VAL_DCLK   (0xd0214)
 
#define MDP_LCDC_CTL   (0xe0000)
 
#define MDP_LCDC_HSYNC_CTL   (0xe0004)
 
#define MDP_LCDC_VSYNC_CTL   (0xe0008)
 
#define MDP_LCDC_ACTIVE_HCTL   (0xe000c)
 
#define MDP_LCDC_ACTIVE_VCTL   (0xe0010)
 
#define MDP_LCDC_BORDER_CLR   (0xe0014)
 
#define MDP_LCDC_H_BLANK   (0xe0018)
 
#define MDP_LCDC_V_BLANK   (0xe001c)
 
#define MDP_LCDC_UNDERFLOW_CLR   (0xe0020)
 
#define MDP_LCDC_HSYNC_SKEW   (0xe0024)
 
#define MDP_LCDC_TEST_CTL   (0xe0028)
 
#define MDP_LCDC_LINE_IRQ   (0xe002c)
 
#define MDP_LCDC_CTL_POLARITY   (0xe0030)
 
#define MDP_LCDC_DMA_CONFIG   (0xe1000)
 
#define MDP_LCDC_DMA_SIZE   (0xe1004)
 
#define MDP_LCDC_DMA_IBUF_ADDR   (0xe1008)
 
#define MDP_LCDC_DMA_IBUF_Y_STRIDE   (0xe100c)
 
#define MDP_DMA2_TERM   0x1
 
#define MDP_DMA3_TERM   0x2
 
#define MDP_PPP_TERM   0x3
 
#define DL0_ROI_DONE   (1<<0)
 
#define DL1_ROI_DONE   (1<<1)
 
#define DL0_DMA2_TERM_DONE   (1<<2)
 
#define DL1_DMA2_TERM_DONE   (1<<3)
 
#define DL0_PPP_TERM_DONE   (1<<4)
 
#define DL1_PPP_TERM_DONE   (1<<5)
 
#define TV_OUT_DMA3_DONE   (1<<6)
 
#define TV_ENC_UNDERRUN   (1<<7)
 
#define DL0_FETCH_DONE   (1<<11)
 
#define DL1_FETCH_DONE   (1<<12)
 
#define MDP_PPP_BUSY_STATUS
 
#define MDP_ANY_INTR_MASK
 
#define MDP_TOP_LUMA   16
 
#define MDP_TOP_CHROMA   0
 
#define MDP_BOTTOM_LUMA   19
 
#define MDP_BOTTOM_CHROMA   3
 
#define MDP_LEFT_LUMA   22
 
#define MDP_LEFT_CHROMA   6
 
#define MDP_RIGHT_LUMA   25
 
#define MDP_RIGHT_CHROMA   9
 
#define CLR_G   0x0
 
#define CLR_B   0x1
 
#define CLR_R   0x2
 
#define CLR_ALPHA   0x3
 
#define CLR_Y   CLR_G
 
#define CLR_CB   CLR_B
 
#define CLR_CR   CLR_R
 
#define MDP_GET_PACK_PATTERN(a, x, y, z, bit)   (((a)<<(bit*3))|((x)<<(bit*2))|((y)<<bit)|(z))
 
#define MDP_SYNCFG_HGT_LOC   22
 
#define MDP_SYNCFG_VSYNC_EXT_EN   (1<<21)
 
#define MDP_SYNCFG_VSYNC_INT_EN   (1<<20)
 
#define MDP_PRIM_BELOW_LOC   0
 
#define MDP_PRIM_ABOVE_LOC   8
 
#define VSYNC_PULSE_EN   (1<<31)
 
#define VSYNC_PULSE_INV   (1<<30)
 
#define DISP0_VSYNC_MAP_VSYNC0   0
 
#define DISP0_VSYNC_MAP_VSYNC1   (1<<0)
 
#define DISP0_VSYNC_MAP_VSYNC2   ((1<<0)|(1<<1))
 
#define DISP1_VSYNC_MAP_VSYNC0   0
 
#define DISP1_VSYNC_MAP_VSYNC1   (1<<2)
 
#define DISP1_VSYNC_MAP_VSYNC2   ((1<<2)|(1<<3))
 
#define PRIMARY_LCD_SYNC_EN   (1<<4)
 
#define PRIMARY_LCD_SYNC_DISABLE   0
 
#define SECONDARY_LCD_SYNC_EN   (1<<5)
 
#define SECONDARY_LCD_SYNC_DISABLE   0
 
#define EXTERNAL_LCD_SYNC_EN   (1<<6)
 
#define EXTERNAL_LCD_SYNC_DISABLE   0
 
#define VSYNC_THRESHOLD_ABOVE_LOC   0
 
#define VSYNC_THRESHOLD_BELOW_LOC   16
 
#define VSYNC_ANTI_TEAR_EN   (1<<31)
 
#define MDP_CMD_DBGBUS_EN   (1<<0)
 
#define PPP_SRC_C0G_8BIT   ((1<<1)|(1<<0))
 
#define PPP_SRC_C1B_8BIT   ((1<<3)|(1<<2))
 
#define PPP_SRC_C2R_8BIT   ((1<<5)|(1<<4))
 
#define PPP_SRC_C3A_8BIT   ((1<<7)|(1<<6))
 
#define PPP_SRC_C0G_6BIT   (1<<1)
 
#define PPP_SRC_C1B_6BIT   (1<<3)
 
#define PPP_SRC_C2R_6BIT   (1<<5)
 
#define PPP_SRC_C0G_5BIT   (1<<0)
 
#define PPP_SRC_C1B_5BIT   (1<<2)
 
#define PPP_SRC_C2R_5BIT   (1<<4)
 
#define PPP_SRC_C3ALPHA_EN   (1<<8)
 
#define PPP_SRC_BPP_1BYTES   0
 
#define PPP_SRC_BPP_2BYTES   (1<<9)
 
#define PPP_SRC_BPP_3BYTES   (1<<10)
 
#define PPP_SRC_BPP_4BYTES   ((1<<10)|(1<<9))
 
#define PPP_SRC_BPP_ROI_ODD_X   (1<<11)
 
#define PPP_SRC_BPP_ROI_ODD_Y   (1<<12)
 
#define PPP_SRC_INTERLVD_2COMPONENTS   (1<<13)
 
#define PPP_SRC_INTERLVD_3COMPONENTS   (1<<14)
 
#define PPP_SRC_INTERLVD_4COMPONENTS   ((1<<14)|(1<<13))
 
#define PPP_SRC_PACK_TIGHT   (1<<17)
 
#define PPP_SRC_PACK_LOOSE   0
 
#define PPP_SRC_PACK_ALIGN_LSB   0
 
#define PPP_SRC_PACK_ALIGN_MSB   (1<<18)
 
#define PPP_SRC_PLANE_INTERLVD   0
 
#define PPP_SRC_PLANE_PSEUDOPLNR   (1<<20)
 
#define PPP_SRC_WMV9_MODE   (1<<21)
 
#define PPP_OP_SCALE_X_ON   (1<<0)
 
#define PPP_OP_SCALE_Y_ON   (1<<1)
 
#define PPP_OP_CONVERT_RGB2YCBCR   0
 
#define PPP_OP_CONVERT_YCBCR2RGB   (1<<2)
 
#define PPP_OP_CONVERT_ON   (1<<3)
 
#define PPP_OP_CONVERT_MATRIX_PRIMARY   0
 
#define PPP_OP_CONVERT_MATRIX_SECONDARY   (1<<4)
 
#define PPP_OP_LUT_C0_ON   (1<<5)
 
#define PPP_OP_LUT_C1_ON   (1<<6)
 
#define PPP_OP_LUT_C2_ON   (1<<7)
 
#define PPP_OP_ROT_ON   (1<<8)
 
#define PPP_OP_ROT_90   (1<<9)
 
#define PPP_OP_FLIP_LR   (1<<10)
 
#define PPP_OP_FLIP_UD   (1<<11)
 
#define PPP_OP_BLEND_ON   (1<<12)
 
#define PPP_OP_BLEND_SRCPIXEL_ALPHA   0
 
#define PPP_OP_BLEND_DSTPIXEL_ALPHA   (1<<13)
 
#define PPP_OP_BLEND_CONSTANT_ALPHA   (1<<14)
 
#define PPP_OP_BLEND_SRCPIXEL_TRANSP   ((1<<13)|(1<<14))
 
#define PPP_OP_BLEND_ALPHA_BLEND_NORMAL   0
 
#define PPP_OP_BLEND_ALPHA_BLEND_REVERSE   (1<<15)
 
#define PPP_OP_DITHER_EN   (1<<16)
 
#define PPP_OP_COLOR_SPACE_RGB   0
 
#define PPP_OP_COLOR_SPACE_YCBCR   (1<<17)
 
#define PPP_OP_SRC_CHROMA_RGB   0
 
#define PPP_OP_SRC_CHROMA_H2V1   (1<<18)
 
#define PPP_OP_SRC_CHROMA_H1V2   (1<<19)
 
#define PPP_OP_SRC_CHROMA_420   ((1<<18)|(1<<19))
 
#define PPP_OP_SRC_CHROMA_COSITE   0
 
#define PPP_OP_SRC_CHROMA_OFFSITE   (1<<20)
 
#define PPP_OP_DST_CHROMA_RGB   0
 
#define PPP_OP_DST_CHROMA_H2V1   (1<<21)
 
#define PPP_OP_DST_CHROMA_H1V2   (1<<22)
 
#define PPP_OP_DST_CHROMA_420   ((1<<21)|(1<<22))
 
#define PPP_OP_DST_CHROMA_COSITE   0
 
#define PPP_OP_DST_CHROMA_OFFSITE   (1<<23)
 
#define PPP_BLEND_ALPHA_TRANSP   (1<<24)
 
#define PPP_OP_BG_CHROMA_RGB   0
 
#define PPP_OP_BG_CHROMA_H2V1   (1<<25)
 
#define PPP_OP_BG_CHROMA_H1V2   (1<<26)
 
#define PPP_OP_BG_CHROMA_420   ((1<<25)|(1<<26))
 
#define PPP_OP_BG_CHROMA_SITE_COSITE   0
 
#define PPP_OP_BG_CHROMA_SITE_OFFSITE   (1<<27)
 
#define PPP_DST_C0G_8BIT   ((1<<0)|(1<<1))
 
#define PPP_DST_C1B_8BIT   ((1<<3)|(1<<2))
 
#define PPP_DST_C2R_8BIT   ((1<<5)|(1<<4))
 
#define PPP_DST_C3A_8BIT   ((1<<7)|(1<<6))
 
#define PPP_DST_C0G_6BIT   (1<<1)
 
#define PPP_DST_C1B_6BIT   (1<<3)
 
#define PPP_DST_C2R_6BIT   (1<<5)
 
#define PPP_DST_C0G_5BIT   (1<<0)
 
#define PPP_DST_C1B_5BIT   (1<<2)
 
#define PPP_DST_C2R_5BIT   (1<<4)
 
#define PPP_DST_C3A_8BIT   ((1<<7)|(1<<6))
 
#define PPP_DST_C3ALPHA_EN   (1<<8)
 
#define PPP_DST_INTERLVD_2COMPONENTS   (1<<9)
 
#define PPP_DST_INTERLVD_3COMPONENTS   (1<<10)
 
#define PPP_DST_INTERLVD_4COMPONENTS   ((1<<10)|(1<<9))
 
#define PPP_DST_INTERLVD_6COMPONENTS   ((1<<11)|(1<<9))
 
#define PPP_DST_PACK_LOOSE   0
 
#define PPP_DST_PACK_TIGHT   (1<<13)
 
#define PPP_DST_PACK_ALIGN_LSB   0
 
#define PPP_DST_PACK_ALIGN_MSB   (1<<14)
 
#define PPP_DST_OUT_SEL_AXI   0
 
#define PPP_DST_OUT_SEL_MDDI   (1<<15)
 
#define PPP_DST_BPP_2BYTES   (1<<16)
 
#define PPP_DST_BPP_3BYTES   (1<<17)
 
#define PPP_DST_BPP_4BYTES   ((1<<17)|(1<<16))
 
#define PPP_DST_PLANE_INTERLVD   0
 
#define PPP_DST_PLANE_PLANAR   (1<<18)
 
#define PPP_DST_PLANE_PSEUDOPLNR   (1<<19)
 
#define PPP_DST_TO_TV   (1<<20)
 
#define PPP_DST_MDDI_PRIMARY   0
 
#define PPP_DST_MDDI_SECONDARY   (1<<21)
 
#define PPP_DST_MDDI_EXTERNAL   (1<<22)
 
#define PPP_CFG_MDP_RGB_565(dir)
 
#define PPP_CFG_MDP_RGB_888(dir)
 
#define PPP_CFG_MDP_ARGB_8888(dir)
 
#define PPP_CFG_MDP_XRGB_8888(dir)   PPP_CFG_MDP_ARGB_8888(dir)
 
#define PPP_CFG_MDP_RGBA_8888(dir)   PPP_CFG_MDP_ARGB_8888(dir)
 
#define PPP_CFG_MDP_BGRA_8888(dir)   PPP_CFG_MDP_ARGB_8888(dir)
 
#define PPP_CFG_MDP_RGBX_8888(dir)   PPP_CFG_MDP_ARGB_8888(dir)
 
#define PPP_CFG_MDP_Y_CBCR_H2V2(dir)
 
#define PPP_CFG_MDP_Y_CRCB_H2V2(dir)   PPP_CFG_MDP_Y_CBCR_H2V2(dir)
 
#define PPP_CFG_MDP_YCRYCB_H2V1(dir)
 
#define PPP_CFG_MDP_Y_CBCR_H2V1(dir)
 
#define PPP_CFG_MDP_Y_CRCB_H2V1(dir)   PPP_CFG_MDP_Y_CBCR_H2V1(dir)
 
#define PPP_PACK_PATTERN_MDP_RGB_565   MDP_GET_PACK_PATTERN(0, CLR_R, CLR_G, CLR_B, 8)
 
#define PPP_PACK_PATTERN_MDP_RGB_888   PPP_PACK_PATTERN_MDP_RGB_565
 
#define PPP_PACK_PATTERN_MDP_XRGB_8888   MDP_GET_PACK_PATTERN(CLR_B, CLR_G, CLR_R, CLR_ALPHA, 8)
 
#define PPP_PACK_PATTERN_MDP_ARGB_8888   PPP_PACK_PATTERN_MDP_XRGB_8888
 
#define PPP_PACK_PATTERN_MDP_RGBA_8888   MDP_GET_PACK_PATTERN(CLR_ALPHA, CLR_B, CLR_G, CLR_R, 8)
 
#define PPP_PACK_PATTERN_MDP_BGRA_8888   MDP_GET_PACK_PATTERN(CLR_ALPHA, CLR_R, CLR_G, CLR_B, 8)
 
#define PPP_PACK_PATTERN_MDP_RGBX_8888   MDP_GET_PACK_PATTERN(CLR_ALPHA, CLR_B, CLR_G, CLR_R, 8)
 
#define PPP_PACK_PATTERN_MDP_Y_CBCR_H2V1   MDP_GET_PACK_PATTERN(0, 0, CLR_CB, CLR_CR, 8)
 
#define PPP_PACK_PATTERN_MDP_Y_CBCR_H2V2   PPP_PACK_PATTERN_MDP_Y_CBCR_H2V1
 
#define PPP_PACK_PATTERN_MDP_Y_CRCB_H2V1   MDP_GET_PACK_PATTERN(0, 0, CLR_CR, CLR_CB, 8)
 
#define PPP_PACK_PATTERN_MDP_Y_CRCB_H2V2   PPP_PACK_PATTERN_MDP_Y_CRCB_H2V1
 
#define PPP_PACK_PATTERN_MDP_YCRYCB_H2V1   MDP_GET_PACK_PATTERN(CLR_Y, CLR_R, CLR_Y, CLR_B, 8)
 
#define PPP_CHROMA_SAMP_MDP_RGB_565(dir)   PPP_OP_##dir##_CHROMA_RGB
 
#define PPP_CHROMA_SAMP_MDP_RGB_888(dir)   PPP_OP_##dir##_CHROMA_RGB
 
#define PPP_CHROMA_SAMP_MDP_XRGB_8888(dir)   PPP_OP_##dir##_CHROMA_RGB
 
#define PPP_CHROMA_SAMP_MDP_ARGB_8888(dir)   PPP_OP_##dir##_CHROMA_RGB
 
#define PPP_CHROMA_SAMP_MDP_RGBA_8888(dir)   PPP_OP_##dir##_CHROMA_RGB
 
#define PPP_CHROMA_SAMP_MDP_BGRA_8888(dir)   PPP_OP_##dir##_CHROMA_RGB
 
#define PPP_CHROMA_SAMP_MDP_RGBX_8888(dir)   PPP_OP_##dir##_CHROMA_RGB
 
#define PPP_CHROMA_SAMP_MDP_Y_CBCR_H2V1(dir)   PPP_OP_##dir##_CHROMA_H2V1
 
#define PPP_CHROMA_SAMP_MDP_Y_CBCR_H2V2(dir)   PPP_OP_##dir##_CHROMA_420
 
#define PPP_CHROMA_SAMP_MDP_Y_CRCB_H2V1(dir)   PPP_OP_##dir##_CHROMA_H2V1
 
#define PPP_CHROMA_SAMP_MDP_Y_CRCB_H2V2(dir)   PPP_OP_##dir##_CHROMA_420
 
#define PPP_CHROMA_SAMP_MDP_YCRYCB_H2V1(dir)   PPP_OP_##dir##_CHROMA_H2V1
 
#define PPP_ARRAY0(name)
 
#define PPP_ARRAY1(name, dir)
 
#define IS_YCRCB(img)
 
#define IS_RGB(img)
 
#define HAS_ALPHA(img)
 
#define IS_PSEUDOPLNR(img)
 
#define PPP_ADDR_SRC_ROI   MDP_FULL_BYPASS_WORD2
 
#define PPP_ADDR_SRC0   MDP_FULL_BYPASS_WORD3
 
#define PPP_ADDR_SRC1   MDP_FULL_BYPASS_WORD4
 
#define PPP_ADDR_SRC_YSTRIDE   MDP_FULL_BYPASS_WORD7
 
#define PPP_ADDR_SRC_CFG   MDP_FULL_BYPASS_WORD9
 
#define PPP_ADDR_SRC_PACK_PATTERN   MDP_FULL_BYPASS_WORD10
 
#define PPP_ADDR_OPERATION   MDP_FULL_BYPASS_WORD14
 
#define PPP_ADDR_PHASEX_INIT   MDP_FULL_BYPASS_WORD15
 
#define PPP_ADDR_PHASEY_INIT   MDP_FULL_BYPASS_WORD16
 
#define PPP_ADDR_PHASEX_STEP   MDP_FULL_BYPASS_WORD17
 
#define PPP_ADDR_PHASEY_STEP   MDP_FULL_BYPASS_WORD18
 
#define PPP_ADDR_ALPHA_TRANSP   MDP_FULL_BYPASS_WORD19
 
#define PPP_ADDR_DST_CFG   MDP_FULL_BYPASS_WORD20
 
#define PPP_ADDR_DST_PACK_PATTERN   MDP_FULL_BYPASS_WORD21
 
#define PPP_ADDR_DST_ROI   MDP_FULL_BYPASS_WORD25
 
#define PPP_ADDR_DST0   MDP_FULL_BYPASS_WORD26
 
#define PPP_ADDR_DST1   MDP_FULL_BYPASS_WORD27
 
#define PPP_ADDR_DST_YSTRIDE   MDP_FULL_BYPASS_WORD30
 
#define PPP_ADDR_EDGE   MDP_FULL_BYPASS_WORD46
 
#define PPP_ADDR_BG0   MDP_FULL_BYPASS_WORD48
 
#define PPP_ADDR_BG1   MDP_FULL_BYPASS_WORD49
 
#define PPP_ADDR_BG_YSTRIDE   MDP_FULL_BYPASS_WORD51
 
#define PPP_ADDR_BG_CFG   MDP_FULL_BYPASS_WORD53
 
#define PPP_ADDR_BG_PACK_PATTERN   MDP_FULL_BYPASS_WORD54
 
#define DMA_DSTC0G_6BITS   (1<<1)
 
#define DMA_DSTC1B_6BITS   (1<<3)
 
#define DMA_DSTC2R_6BITS   (1<<5)
 
#define DMA_DSTC0G_5BITS   (1<<0)
 
#define DMA_DSTC1B_5BITS   (1<<2)
 
#define DMA_DSTC2R_5BITS   (1<<4)
 
#define DMA_PACK_TIGHT   (1<<6)
 
#define DMA_PACK_LOOSE   0
 
#define DMA_PACK_ALIGN_LSB   0
 
#define DMA_PACK_ALIGN_MSB   (1<<7)
 
#define DMA_PACK_PATTERN_RGB   (MDP_GET_PACK_PATTERN(0, CLR_R, CLR_G, CLR_B, 2)<<8)
 
#define DMA_OUT_SEL_AHB   0
 
#define DMA_OUT_SEL_MDDI   (1<<14)
 
#define DMA_AHBM_LCD_SEL_PRIMARY   0
 
#define DMA_AHBM_LCD_SEL_SECONDARY   (1<<15)
 
#define DMA_IBUF_C3ALPHA_EN   (1<<16)
 
#define DMA_DITHER_EN   (1<<17)
 
#define DMA_MDDI_DMAOUT_LCD_SEL_PRIMARY   0
 
#define DMA_MDDI_DMAOUT_LCD_SEL_SECONDARY   (1<<18)
 
#define DMA_MDDI_DMAOUT_LCD_SEL_EXTERNAL   (1<<19)
 
#define DMA_IBUF_FORMAT_RGB565   (1<<20)
 
#define DMA_IBUF_FORMAT_RGB888_OR_ARGB8888   0
 
#define DMA_IBUF_NONCONTIGUOUS   (1<<21)
 
#define MDDI_VDO_PACKET_DESC   0x5666
 
#define MDDI_VDO_PACKET_PRIM   0xC3
 
#define MDDI_VDO_PACKET_SECD   0xC0
 

Functions

int mdp_ppp_blit (const struct mdp_info *mdp, struct mdp_blit_req *req, struct file *src_file, unsigned long src_start, unsigned long src_len, struct file *dst_file, unsigned long dst_start, unsigned long dst_len)
 

Macro Definition Documentation

#define CLR_ALPHA   0x3

Definition at line 222 of file mdp_hw.h.

#define CLR_B   0x1

Definition at line 220 of file mdp_hw.h.

#define CLR_CB   CLR_B

Definition at line 225 of file mdp_hw.h.

#define CLR_CR   CLR_R

Definition at line 226 of file mdp_hw.h.

#define CLR_G   0x0

Definition at line 219 of file mdp_hw.h.

#define CLR_R   0x2

Definition at line 221 of file mdp_hw.h.

#define CLR_Y   CLR_G

Definition at line 224 of file mdp_hw.h.

#define DISP0_VSYNC_MAP_VSYNC0   0

Definition at line 246 of file mdp_hw.h.

#define DISP0_VSYNC_MAP_VSYNC1   (1<<0)

Definition at line 247 of file mdp_hw.h.

#define DISP0_VSYNC_MAP_VSYNC2   ((1<<0)|(1<<1))

Definition at line 248 of file mdp_hw.h.

#define DISP1_VSYNC_MAP_VSYNC0   0

Definition at line 250 of file mdp_hw.h.

#define DISP1_VSYNC_MAP_VSYNC1   (1<<2)

Definition at line 251 of file mdp_hw.h.

#define DISP1_VSYNC_MAP_VSYNC2   ((1<<2)|(1<<3))

Definition at line 252 of file mdp_hw.h.

#define DL0_DMA2_TERM_DONE   (1<<2)

Definition at line 186 of file mdp_hw.h.

#define DL0_FETCH_DONE   (1<<11)

Definition at line 192 of file mdp_hw.h.

#define DL0_PPP_TERM_DONE   (1<<4)

Definition at line 188 of file mdp_hw.h.

#define DL0_ROI_DONE   (1<<0)

Definition at line 184 of file mdp_hw.h.

#define DL1_DMA2_TERM_DONE   (1<<3)

Definition at line 187 of file mdp_hw.h.

#define DL1_FETCH_DONE   (1<<12)

Definition at line 193 of file mdp_hw.h.

#define DL1_PPP_TERM_DONE   (1<<5)

Definition at line 189 of file mdp_hw.h.

#define DL1_ROI_DONE   (1<<1)

Definition at line 185 of file mdp_hw.h.

#define DMA_AHBM_LCD_SEL_PRIMARY   0

Definition at line 608 of file mdp_hw.h.

#define DMA_AHBM_LCD_SEL_SECONDARY   (1<<15)

Definition at line 609 of file mdp_hw.h.

#define DMA_DITHER_EN   (1<<17)

Definition at line 611 of file mdp_hw.h.

#define DMA_DSTC0G_5BITS   (1<<0)

Definition at line 595 of file mdp_hw.h.

#define DMA_DSTC0G_6BITS   (1<<1)

Definition at line 592 of file mdp_hw.h.

#define DMA_DSTC1B_5BITS   (1<<2)

Definition at line 596 of file mdp_hw.h.

#define DMA_DSTC1B_6BITS   (1<<3)

Definition at line 593 of file mdp_hw.h.

#define DMA_DSTC2R_5BITS   (1<<4)

Definition at line 597 of file mdp_hw.h.

#define DMA_DSTC2R_6BITS   (1<<5)

Definition at line 594 of file mdp_hw.h.

#define DMA_IBUF_C3ALPHA_EN   (1<<16)

Definition at line 610 of file mdp_hw.h.

#define DMA_IBUF_FORMAT_RGB565   (1<<20)

Definition at line 617 of file mdp_hw.h.

#define DMA_IBUF_FORMAT_RGB888_OR_ARGB8888   0

Definition at line 618 of file mdp_hw.h.

#define DMA_IBUF_NONCONTIGUOUS   (1<<21)

Definition at line 620 of file mdp_hw.h.

#define DMA_MDDI_DMAOUT_LCD_SEL_EXTERNAL   (1<<19)

Definition at line 615 of file mdp_hw.h.

#define DMA_MDDI_DMAOUT_LCD_SEL_PRIMARY   0

Definition at line 613 of file mdp_hw.h.

#define DMA_MDDI_DMAOUT_LCD_SEL_SECONDARY   (1<<18)

Definition at line 614 of file mdp_hw.h.

#define DMA_OUT_SEL_AHB   0

Definition at line 606 of file mdp_hw.h.

#define DMA_OUT_SEL_MDDI   (1<<14)

Definition at line 607 of file mdp_hw.h.

#define DMA_PACK_ALIGN_LSB   0

Definition at line 601 of file mdp_hw.h.

#define DMA_PACK_ALIGN_MSB   (1<<7)

Definition at line 602 of file mdp_hw.h.

#define DMA_PACK_LOOSE   0

Definition at line 600 of file mdp_hw.h.

#define DMA_PACK_PATTERN_RGB   (MDP_GET_PACK_PATTERN(0, CLR_R, CLR_G, CLR_B, 2)<<8)

Definition at line 603 of file mdp_hw.h.

#define DMA_PACK_TIGHT   (1<<6)

Definition at line 599 of file mdp_hw.h.

#define EXTERNAL_LCD_SYNC_DISABLE   0

Definition at line 261 of file mdp_hw.h.

#define EXTERNAL_LCD_SYNC_EN   (1<<6)

Definition at line 260 of file mdp_hw.h.

#define HAS_ALPHA (   img)
Value:
((img == MDP_ARGB_8888) | (img == MDP_RGBA_8888) | \
(img == MDP_BGRA_8888))

Definition at line 557 of file mdp_hw.h.

#define IS_PSEUDOPLNR (   img)
Value:
((img == MDP_Y_CRCB_H2V2) | \
(img == MDP_Y_CBCR_H2V2) | \
(img == MDP_Y_CRCB_H2V1) | \
(img == MDP_Y_CBCR_H2V1))

Definition at line 560 of file mdp_hw.h.

#define IS_RGB (   img)
Value:
((img == MDP_RGB_565) | (img == MDP_RGB_888) | \
(img == MDP_ARGB_8888) | (img == MDP_RGBA_8888) | \
(img == MDP_XRGB_8888) | (img == MDP_BGRA_8888) | \
(img == MDP_RGBX_8888))

Definition at line 553 of file mdp_hw.h.

#define IS_YCRCB (   img)
Value:
((img == MDP_Y_CRCB_H2V2) | (img == MDP_Y_CBCR_H2V2) | \
(img == MDP_Y_CRCB_H2V1) | (img == MDP_Y_CBCR_H2V1) | \
(img == MDP_YCRYCB_H2V1))

Definition at line 550 of file mdp_hw.h.

#define MDDI_VDO_PACKET_DESC   0x5666

Definition at line 623 of file mdp_hw.h.

#define MDDI_VDO_PACKET_PRIM   0xC3

Definition at line 624 of file mdp_hw.h.

#define MDDI_VDO_PACKET_SECD   0xC0

Definition at line 625 of file mdp_hw.h.

#define MDP_ANY_INTR_MASK
Value:
DL1_ROI_DONE| \
DL0_DMA2_TERM_DONE| \
DL1_DMA2_TERM_DONE| \
DL0_PPP_TERM_DONE| \
DL1_PPP_TERM_DONE| \
DL0_FETCH_DONE| \
DL1_FETCH_DONE| \
TV_ENC_UNDERRUN)

Definition at line 200 of file mdp_hw.h.

#define MDP_AXI_ERROR_MASTER_STOP   (0x00078)

Definition at line 57 of file mdp_hw.h.

#define MDP_BOTTOM_CHROMA   3

Definition at line 213 of file mdp_hw.h.

#define MDP_BOTTOM_LUMA   19

Definition at line 212 of file mdp_hw.h.

#define MDP_CGC_EN   (0x00100)

Definition at line 63 of file mdp_hw.h.

#define MDP_CMD_DBGBUS_EN   (1<<0)

Definition at line 269 of file mdp_hw.h.

#define MDP_CMD_STATUS   (0x10008)

Definition at line 64 of file mdp_hw.h.

#define MDP_COMMAND_CONFIG   (0x10104)

Definition at line 70 of file mdp_hw.h.

#define MDP_CSC_BYPASS   (0x40004)

Definition at line 136 of file mdp_hw.h.

#define MDP_DISPLAY0_ADDR   (0x00054)

Definition at line 50 of file mdp_hw.h.

#define MDP_DISPLAY0_START   (0x00030)

Definition at line 45 of file mdp_hw.h.

#define MDP_DISPLAY1_ADDR   (0x00058)

Definition at line 51 of file mdp_hw.h.

#define MDP_DISPLAY1_START   (0x00034)

Definition at line 46 of file mdp_hw.h.

#define MDP_DISPLAY_STATUS   (0x00038)

Definition at line 47 of file mdp_hw.h.

#define MDP_DMA2_TERM   0x1

Definition at line 179 of file mdp_hw.h.

#define MDP_DMA3_TERM   0x2

Definition at line 180 of file mdp_hw.h.

#define MDP_DMA_CONFIG   (0x10180)

Definition at line 103 of file mdp_hw.h.

#define MDP_DMA_START   (0x10044)

Definition at line 67 of file mdp_hw.h.

#define MDP_EBI2_LCD0   (0x0003c)

Definition at line 48 of file mdp_hw.h.

#define MDP_EBI2_LCD1   (0x00040)

Definition at line 49 of file mdp_hw.h.

#define MDP_EBI2_PORTMAP_MODE   (0x0005c)

Definition at line 52 of file mdp_hw.h.

#define MDP_EXTERNAL_VSYNC_OUT_CTRL   (0x00088)

Definition at line 61 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD0   (0x10100)

Definition at line 68 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD1   (0x10104)

Definition at line 69 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD10   (0x10128)

Definition at line 79 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD11   (0x1012c)

Definition at line 80 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD12   (0x10130)

Definition at line 81 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD13   (0x10134)

Definition at line 82 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD14   (0x10138)

Definition at line 83 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD15   (0x1013c)

Definition at line 85 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD16   (0x10140)

Definition at line 86 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD17   (0x10144)

Definition at line 87 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD18   (0x10148)

Definition at line 88 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD19   (0x1014c)

Definition at line 89 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD2   (0x10108)

Definition at line 71 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD20   (0x10150)

Definition at line 90 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD21   (0x10154)

Definition at line 92 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD22   (0x10158)

Definition at line 93 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD23   (0x1015c)

Definition at line 94 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD24   (0x10160)

Definition at line 95 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD25   (0x10164)

Definition at line 96 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD26   (0x10168)

Definition at line 97 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD27   (0x1016c)

Definition at line 98 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD29   (0x10174)

Definition at line 99 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD3   (0x1010c)

Definition at line 72 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD30   (0x10178)

Definition at line 100 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD31   (0x1017c)

Definition at line 101 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD32   (0x10180)

Definition at line 102 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD33   (0x10184)

Definition at line 104 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD34   (0x10188)

Definition at line 105 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD35   (0x1018c)

Definition at line 106 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD37   (0x10194)

Definition at line 107 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD39   (0x1019c)

Definition at line 108 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD4   (0x10110)

Definition at line 73 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD40   (0x101a0)

Definition at line 109 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD41   (0x101a4)

Definition at line 110 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD43   (0x101ac)

Definition at line 111 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD46   (0x101b8)

Definition at line 112 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD47   (0x101bc)

Definition at line 113 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD48   (0x101c0)

Definition at line 114 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD49   (0x101c4)

Definition at line 115 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD50   (0x101c8)

Definition at line 116 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD51   (0x101cc)

Definition at line 117 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD52   (0x101d0)

Definition at line 118 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD53   (0x101d4)

Definition at line 119 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD54   (0x101d8)

Definition at line 120 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD55   (0x101dc)

Definition at line 121 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD56   (0x101e0)

Definition at line 122 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD57   (0x101e4)

Definition at line 123 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD58   (0x101e8)

Definition at line 124 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD59   (0x101ec)

Definition at line 125 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD6   (0x10118)

Definition at line 74 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD60   (0x101f0)

Definition at line 126 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD61   (0x101f4)

Definition at line 128 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD62   (0x101f8)

Definition at line 129 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD63   (0x101fc)

Definition at line 130 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD7   (0x1011c)

Definition at line 75 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD8   (0x10120)

Definition at line 76 of file mdp_hw.h.

#define MDP_FULL_BYPASS_WORD9   (0x10124)

Definition at line 77 of file mdp_hw.h.

#define MDP_GET_PACK_PATTERN (   a,
  x,
  y,
  z,
  bit 
)    (((a)<<(bit*3))|((x)<<(bit*2))|((y)<<bit)|(z))

Definition at line 229 of file mdp_hw.h.

#define MDP_HW_VERSION   (0x00070)

Definition at line 55 of file mdp_hw.h.

#define MDP_INTR_CLEAR   (0x00028)

Definition at line 44 of file mdp_hw.h.

#define MDP_INTR_ENABLE   (0x00020)

Definition at line 42 of file mdp_hw.h.

#define MDP_INTR_STATUS   (0x00024)

Definition at line 43 of file mdp_hw.h.

#define MDP_LCDC_ACTIVE_HCTL   (0xe000c)

Definition at line 163 of file mdp_hw.h.

#define MDP_LCDC_ACTIVE_VCTL   (0xe0010)

Definition at line 164 of file mdp_hw.h.

#define MDP_LCDC_BORDER_CLR   (0xe0014)

Definition at line 165 of file mdp_hw.h.

#define MDP_LCDC_CTL   (0xe0000)

Definition at line 160 of file mdp_hw.h.

#define MDP_LCDC_CTL_POLARITY   (0xe0030)

Definition at line 172 of file mdp_hw.h.

#define MDP_LCDC_DMA_CONFIG   (0xe1000)

Definition at line 173 of file mdp_hw.h.

#define MDP_LCDC_DMA_IBUF_ADDR   (0xe1008)

Definition at line 175 of file mdp_hw.h.

#define MDP_LCDC_DMA_IBUF_Y_STRIDE   (0xe100c)

Definition at line 176 of file mdp_hw.h.

#define MDP_LCDC_DMA_SIZE   (0xe1004)

Definition at line 174 of file mdp_hw.h.

#define MDP_LCDC_H_BLANK   (0xe0018)

Definition at line 166 of file mdp_hw.h.

#define MDP_LCDC_HSYNC_CTL   (0xe0004)

Definition at line 161 of file mdp_hw.h.

#define MDP_LCDC_HSYNC_SKEW   (0xe0024)

Definition at line 169 of file mdp_hw.h.

#define MDP_LCDC_LINE_IRQ   (0xe002c)

Definition at line 171 of file mdp_hw.h.

#define MDP_LCDC_TEST_CTL   (0xe0028)

Definition at line 170 of file mdp_hw.h.

#define MDP_LCDC_UNDERFLOW_CLR   (0xe0020)

Definition at line 168 of file mdp_hw.h.

#define MDP_LCDC_V_BLANK   (0xe001c)

Definition at line 167 of file mdp_hw.h.

#define MDP_LCDC_VSYNC_CTL   (0xe0008)

Definition at line 162 of file mdp_hw.h.

#define MDP_LEFT_CHROMA   6

Definition at line 215 of file mdp_hw.h.

#define MDP_LEFT_LUMA   22

Definition at line 214 of file mdp_hw.h.

#define MDP_MODE   (0x00060)

Definition at line 53 of file mdp_hw.h.

#define MDP_PPP_BUSY_STATUS
Value:
DL1_ROI_DONE| \
DL0_PPP_TERM_DONE| \
DL1_PPP_TERM_DONE)

Definition at line 195 of file mdp_hw.h.

#define MDP_PPP_DESTINATION_CONFIG   (0x10150)

Definition at line 91 of file mdp_hw.h.

#define MDP_PPP_OPERATION_CONFIG   (0x10138)

Definition at line 84 of file mdp_hw.h.

#define MDP_PPP_SOURCE_CONFIG   (0x10124)

Definition at line 78 of file mdp_hw.h.

#define MDP_PPP_TERM   0x3

Definition at line 181 of file mdp_hw.h.

#define MDP_PRIM_ABOVE_LOC   8

Definition at line 239 of file mdp_hw.h.

#define MDP_PRIM_BELOW_LOC   0

Definition at line 238 of file mdp_hw.h.

#define MDP_PRIMARY_VSYNC_OUT_CTRL   (0x00080)

Definition at line 59 of file mdp_hw.h.

#define MDP_PROFILE_COUNT   (0x10014)

Definition at line 66 of file mdp_hw.h.

#define MDP_PROFILE_EN   (0x10010)

Definition at line 65 of file mdp_hw.h.

#define mdp_readl (   mdp,
  offset 
)    readl(mdp->base + offset)

Definition at line 32 of file mdp_hw.h.

#define MDP_RIGHT_CHROMA   9

Definition at line 217 of file mdp_hw.h.

#define MDP_RIGHT_LUMA   25

Definition at line 216 of file mdp_hw.h.

#define MDP_SCALE_COEFF_LSB   (0x5fffc)

Definition at line 137 of file mdp_hw.h.

#define MDP_SECONDARY_VSYNC_OUT_CTRL   (0x00084)

Definition at line 60 of file mdp_hw.h.

#define MDP_SEL_CLK_OR_HCLK_TEST_BUS   (0x0007c)

Definition at line 58 of file mdp_hw.h.

#define MDP_SW_RESET   (0x00074)

Definition at line 56 of file mdp_hw.h.

#define MDP_SYNC_CONFIG_0   (0x00000)

Definition at line 34 of file mdp_hw.h.

#define MDP_SYNC_CONFIG_1   (0x00004)

Definition at line 35 of file mdp_hw.h.

#define MDP_SYNC_CONFIG_2   (0x00008)

Definition at line 36 of file mdp_hw.h.

#define MDP_SYNC_STATUS_0   (0x0000c)

Definition at line 37 of file mdp_hw.h.

#define MDP_SYNC_STATUS_1   (0x00010)

Definition at line 38 of file mdp_hw.h.

#define MDP_SYNC_STATUS_2   (0x00014)

Definition at line 39 of file mdp_hw.h.

#define MDP_SYNC_THRESH_0   (0x00018)

Definition at line 40 of file mdp_hw.h.

#define MDP_SYNC_THRESH_1   (0x0001c)

Definition at line 41 of file mdp_hw.h.

#define MDP_SYNCFG_HGT_LOC   22

Definition at line 233 of file mdp_hw.h.

#define MDP_SYNCFG_VSYNC_EXT_EN   (1<<21)

Definition at line 234 of file mdp_hw.h.

#define MDP_SYNCFG_VSYNC_INT_EN   (1<<20)

Definition at line 235 of file mdp_hw.h.

#define MDP_TEST_CAPTURED_DCLK   (0xd0210)

Definition at line 158 of file mdp_hw.h.

#define MDP_TEST_EXPORT_MISR_CLK   (0xd0008)

Definition at line 148 of file mdp_hw.h.

#define MDP_TEST_EXPORT_MISR_DCLK   (0xd0208)

Definition at line 156 of file mdp_hw.h.

#define MDP_TEST_EXPORT_MISR_HCLK   (0xd0108)

Definition at line 152 of file mdp_hw.h.

#define MDP_TEST_MISR_CAPT_VAL_DCLK   (0xd0214)

Definition at line 159 of file mdp_hw.h.

#define MDP_TEST_MISR_CURR_VAL_CLK   (0xd000c)

Definition at line 149 of file mdp_hw.h.

#define MDP_TEST_MISR_CURR_VAL_DCLK   (0xd020c)

Definition at line 157 of file mdp_hw.h.

#define MDP_TEST_MISR_CURR_VAL_HCLK   (0xd010c)

Definition at line 153 of file mdp_hw.h.

#define MDP_TEST_MISR_RESET_CLK   (0xd0004)

Definition at line 147 of file mdp_hw.h.

#define MDP_TEST_MISR_RESET_DCLK   (0xd0204)

Definition at line 155 of file mdp_hw.h.

#define MDP_TEST_MISR_RESET_HCLK   (0xd0104)

Definition at line 151 of file mdp_hw.h.

#define MDP_TEST_MODE_CLK   (0xd0000)

Definition at line 146 of file mdp_hw.h.

#define MDP_TEST_MODE_DCLK   (0xd0200)

Definition at line 154 of file mdp_hw.h.

#define MDP_TEST_MODE_HCLK   (0xd0100)

Definition at line 150 of file mdp_hw.h.

#define MDP_TFETCH_CONSTANT_COLOR   (0x20040)

Definition at line 135 of file mdp_hw.h.

#define MDP_TFETCH_FETCH_COUNT   (0x20014)

Definition at line 134 of file mdp_hw.h.

#define MDP_TFETCH_STATUS   (0x20008)

Definition at line 132 of file mdp_hw.h.

#define MDP_TFETCH_TEST_MODE   (0x20004)

Definition at line 131 of file mdp_hw.h.

#define MDP_TFETCH_TILE_COUNT   (0x20010)

Definition at line 133 of file mdp_hw.h.

#define MDP_TOP_CHROMA   0

Definition at line 211 of file mdp_hw.h.

#define MDP_TOP_LUMA   16

Definition at line 210 of file mdp_hw.h.

#define MDP_TV_OUT_BUF_ADDR   (0xc0008)

Definition at line 140 of file mdp_hw.h.

#define MDP_TV_OUT_CB_CLAMP   (0xc001c)

Definition at line 144 of file mdp_hw.h.

#define MDP_TV_OUT_CC_DATA   (0xc000c)

Definition at line 141 of file mdp_hw.h.

#define MDP_TV_OUT_CR_CLAMP   (0xc0020)

Definition at line 145 of file mdp_hw.h.

#define MDP_TV_OUT_CTL   (0xc0000)

Definition at line 138 of file mdp_hw.h.

#define MDP_TV_OUT_FIR_COEFF   (0xc0004)

Definition at line 139 of file mdp_hw.h.

#define MDP_TV_OUT_SOBEL   (0xc0010)

Definition at line 142 of file mdp_hw.h.

#define MDP_TV_OUT_STATUS   (0x00064)

Definition at line 54 of file mdp_hw.h.

#define MDP_TV_OUT_Y_CLAMP   (0xc0018)

Definition at line 143 of file mdp_hw.h.

#define MDP_VSYNC_CTRL   (0x0008c)

Definition at line 62 of file mdp_hw.h.

#define MDP_VSYNC_THRESHOLD   (0x101f0)

Definition at line 127 of file mdp_hw.h.

#define mdp_writel (   mdp,
  value,
  offset 
)    writel(value, mdp->base + offset)

Definition at line 31 of file mdp_hw.h.

#define PPP_ADDR_ALPHA_TRANSP   MDP_FULL_BYPASS_WORD19

Definition at line 577 of file mdp_hw.h.

#define PPP_ADDR_BG0   MDP_FULL_BYPASS_WORD48

Definition at line 585 of file mdp_hw.h.

#define PPP_ADDR_BG1   MDP_FULL_BYPASS_WORD49

Definition at line 586 of file mdp_hw.h.

#define PPP_ADDR_BG_CFG   MDP_FULL_BYPASS_WORD53

Definition at line 588 of file mdp_hw.h.

#define PPP_ADDR_BG_PACK_PATTERN   MDP_FULL_BYPASS_WORD54

Definition at line 589 of file mdp_hw.h.

#define PPP_ADDR_BG_YSTRIDE   MDP_FULL_BYPASS_WORD51

Definition at line 587 of file mdp_hw.h.

#define PPP_ADDR_DST0   MDP_FULL_BYPASS_WORD26

Definition at line 581 of file mdp_hw.h.

#define PPP_ADDR_DST1   MDP_FULL_BYPASS_WORD27

Definition at line 582 of file mdp_hw.h.

#define PPP_ADDR_DST_CFG   MDP_FULL_BYPASS_WORD20

Definition at line 578 of file mdp_hw.h.

#define PPP_ADDR_DST_PACK_PATTERN   MDP_FULL_BYPASS_WORD21

Definition at line 579 of file mdp_hw.h.

#define PPP_ADDR_DST_ROI   MDP_FULL_BYPASS_WORD25

Definition at line 580 of file mdp_hw.h.

#define PPP_ADDR_DST_YSTRIDE   MDP_FULL_BYPASS_WORD30

Definition at line 583 of file mdp_hw.h.

#define PPP_ADDR_EDGE   MDP_FULL_BYPASS_WORD46

Definition at line 584 of file mdp_hw.h.

#define PPP_ADDR_OPERATION   MDP_FULL_BYPASS_WORD14

Definition at line 572 of file mdp_hw.h.

#define PPP_ADDR_PHASEX_INIT   MDP_FULL_BYPASS_WORD15

Definition at line 573 of file mdp_hw.h.

#define PPP_ADDR_PHASEX_STEP   MDP_FULL_BYPASS_WORD17

Definition at line 575 of file mdp_hw.h.

#define PPP_ADDR_PHASEY_INIT   MDP_FULL_BYPASS_WORD16

Definition at line 574 of file mdp_hw.h.

#define PPP_ADDR_PHASEY_STEP   MDP_FULL_BYPASS_WORD18

Definition at line 576 of file mdp_hw.h.

#define PPP_ADDR_SRC0   MDP_FULL_BYPASS_WORD3

Definition at line 567 of file mdp_hw.h.

#define PPP_ADDR_SRC1   MDP_FULL_BYPASS_WORD4

Definition at line 568 of file mdp_hw.h.

#define PPP_ADDR_SRC_CFG   MDP_FULL_BYPASS_WORD9

Definition at line 570 of file mdp_hw.h.

#define PPP_ADDR_SRC_PACK_PATTERN   MDP_FULL_BYPASS_WORD10

Definition at line 571 of file mdp_hw.h.

#define PPP_ADDR_SRC_ROI   MDP_FULL_BYPASS_WORD2

Definition at line 566 of file mdp_hw.h.

#define PPP_ADDR_SRC_YSTRIDE   MDP_FULL_BYPASS_WORD7

Definition at line 569 of file mdp_hw.h.

#define PPP_ARRAY0 (   name)
Value:
[MDP_RGB_565] = PPP_##name##_MDP_RGB_565,\
[MDP_RGB_888] = PPP_##name##_MDP_RGB_888,\
[MDP_XRGB_8888] = PPP_##name##_MDP_XRGB_8888,\
[MDP_ARGB_8888] = PPP_##name##_MDP_ARGB_8888,\
[MDP_RGBA_8888] = PPP_##name##_MDP_RGBA_8888,\
[MDP_BGRA_8888] = PPP_##name##_MDP_BGRA_8888,\
[MDP_RGBX_8888] = PPP_##name##_MDP_RGBX_8888,\
[MDP_Y_CBCR_H2V1] = PPP_##name##_MDP_Y_CBCR_H2V1,\
[MDP_Y_CBCR_H2V2] = PPP_##name##_MDP_Y_CBCR_H2V2,\
[MDP_Y_CRCB_H2V1] = PPP_##name##_MDP_Y_CRCB_H2V1,\
[MDP_Y_CRCB_H2V2] = PPP_##name##_MDP_Y_CRCB_H2V2,\
[MDP_YCRYCB_H2V1] = PPP_##name##_MDP_YCRYCB_H2V1

Definition at line 522 of file mdp_hw.h.

#define PPP_ARRAY1 (   name,
  dir 
)
Value:
[MDP_RGB_565] = PPP_##name##_MDP_RGB_565(dir),\
[MDP_RGB_888] = PPP_##name##_MDP_RGB_888(dir),\
[MDP_XRGB_8888] = PPP_##name##_MDP_XRGB_8888(dir),\
[MDP_ARGB_8888] = PPP_##name##_MDP_ARGB_8888(dir),\
[MDP_RGBA_8888] = PPP_##name##_MDP_RGBA_8888(dir),\
[MDP_BGRA_8888] = PPP_##name##_MDP_BGRA_8888(dir),\
[MDP_RGBX_8888] = PPP_##name##_MDP_RGBX_8888(dir),\
[MDP_Y_CBCR_H2V1] = PPP_##name##_MDP_Y_CBCR_H2V1(dir),\
[MDP_Y_CBCR_H2V2] = PPP_##name##_MDP_Y_CBCR_H2V2(dir),\
[MDP_Y_CRCB_H2V1] = PPP_##name##_MDP_Y_CRCB_H2V1(dir),\
[MDP_Y_CRCB_H2V2] = PPP_##name##_MDP_Y_CRCB_H2V2(dir),\
[MDP_YCRYCB_H2V1] = PPP_##name##_MDP_YCRYCB_H2V1(dir)

Definition at line 536 of file mdp_hw.h.

#define PPP_BLEND_ALPHA_TRANSP   (1<<24)

Definition at line 365 of file mdp_hw.h.

#define PPP_CFG_MDP_ARGB_8888 (   dir)
Value:
(PPP_##dir##_C2R_8BIT | \
PPP_##dir##_C0G_8BIT | \
PPP_##dir##_C1B_8BIT | \
PPP_##dir##_C3A_8BIT | \
PPP_##dir##_C3ALPHA_EN | \
PPP_##dir##_BPP_4BYTES | \
PPP_##dir##_INTERLVD_4COMPONENTS | \
PPP_##dir##_PACK_TIGHT | \
PPP_##dir##_PACK_ALIGN_LSB | \
PPP_##dir##_PLANE_INTERLVD)

Definition at line 437 of file mdp_hw.h.

#define PPP_CFG_MDP_BGRA_8888 (   dir)    PPP_CFG_MDP_ARGB_8888(dir)

Definition at line 450 of file mdp_hw.h.

#define PPP_CFG_MDP_RGB_565 (   dir)
Value:
(PPP_##dir##_C2R_5BIT | \
PPP_##dir##_C0G_6BIT | \
PPP_##dir##_C1B_5BIT | \
PPP_##dir##_BPP_2BYTES | \
PPP_##dir##_INTERLVD_3COMPONENTS | \
PPP_##dir##_PACK_TIGHT | \
PPP_##dir##_PACK_ALIGN_LSB | \
PPP_##dir##_PLANE_INTERLVD)

Definition at line 419 of file mdp_hw.h.

#define PPP_CFG_MDP_RGB_888 (   dir)
Value:
(PPP_##dir##_C2R_8BIT | \
PPP_##dir##_C0G_8BIT | \
PPP_##dir##_C1B_8BIT | \
PPP_##dir##_BPP_3BYTES | \
PPP_##dir##_INTERLVD_3COMPONENTS | \
PPP_##dir##_PACK_TIGHT | \
PPP_##dir##_PACK_ALIGN_LSB | \
PPP_##dir##_PLANE_INTERLVD)

Definition at line 428 of file mdp_hw.h.

#define PPP_CFG_MDP_RGBA_8888 (   dir)    PPP_CFG_MDP_ARGB_8888(dir)

Definition at line 449 of file mdp_hw.h.

#define PPP_CFG_MDP_RGBX_8888 (   dir)    PPP_CFG_MDP_ARGB_8888(dir)

Definition at line 451 of file mdp_hw.h.

#define PPP_CFG_MDP_XRGB_8888 (   dir)    PPP_CFG_MDP_ARGB_8888(dir)

Definition at line 448 of file mdp_hw.h.

#define PPP_CFG_MDP_Y_CBCR_H2V1 (   dir)
Value:
(PPP_##dir##_C2R_8BIT | \
PPP_##dir##_C0G_8BIT | \
PPP_##dir##_C1B_8BIT | \
PPP_##dir##_C3A_8BIT | \
PPP_##dir##_BPP_2BYTES | \
PPP_##dir##_INTERLVD_2COMPONENTS | \
PPP_##dir##_PACK_TIGHT | \
PPP_##dir##_PACK_ALIGN_LSB | \
PPP_##dir##_PLANE_PSEUDOPLNR)

Definition at line 475 of file mdp_hw.h.

#define PPP_CFG_MDP_Y_CBCR_H2V2 (   dir)
Value:
(PPP_##dir##_C2R_8BIT | \
PPP_##dir##_C0G_8BIT | \
PPP_##dir##_C1B_8BIT | \
PPP_##dir##_C3A_8BIT | \
PPP_##dir##_BPP_2BYTES | \
PPP_##dir##_INTERLVD_2COMPONENTS | \
PPP_##dir##_PACK_TIGHT | \
PPP_##dir##_PACK_ALIGN_LSB | \
PPP_##dir##_PLANE_PSEUDOPLNR)

Definition at line 453 of file mdp_hw.h.

#define PPP_CFG_MDP_Y_CRCB_H2V1 (   dir)    PPP_CFG_MDP_Y_CBCR_H2V1(dir)

Definition at line 485 of file mdp_hw.h.

#define PPP_CFG_MDP_Y_CRCB_H2V2 (   dir)    PPP_CFG_MDP_Y_CBCR_H2V2(dir)

Definition at line 463 of file mdp_hw.h.

#define PPP_CFG_MDP_YCRYCB_H2V1 (   dir)
Value:
(PPP_##dir##_C2R_8BIT | \
PPP_##dir##_C0G_8BIT | \
PPP_##dir##_C1B_8BIT | \
PPP_##dir##_C3A_8BIT | \
PPP_##dir##_BPP_2BYTES | \
PPP_##dir##_INTERLVD_4COMPONENTS | \
PPP_##dir##_PACK_TIGHT | \
PPP_##dir##_PACK_ALIGN_LSB |\
PPP_##dir##_PLANE_INTERLVD)

Definition at line 465 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_ARGB_8888 (   dir)    PPP_OP_##dir##_CHROMA_RGB

Definition at line 511 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_BGRA_8888 (   dir)    PPP_OP_##dir##_CHROMA_RGB

Definition at line 513 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_RGB_565 (   dir)    PPP_OP_##dir##_CHROMA_RGB

Definition at line 508 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_RGB_888 (   dir)    PPP_OP_##dir##_CHROMA_RGB

Definition at line 509 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_RGBA_8888 (   dir)    PPP_OP_##dir##_CHROMA_RGB

Definition at line 512 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_RGBX_8888 (   dir)    PPP_OP_##dir##_CHROMA_RGB

Definition at line 514 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_XRGB_8888 (   dir)    PPP_OP_##dir##_CHROMA_RGB

Definition at line 510 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_Y_CBCR_H2V1 (   dir)    PPP_OP_##dir##_CHROMA_H2V1

Definition at line 515 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_Y_CBCR_H2V2 (   dir)    PPP_OP_##dir##_CHROMA_420

Definition at line 516 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_Y_CRCB_H2V1 (   dir)    PPP_OP_##dir##_CHROMA_H2V1

Definition at line 517 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_Y_CRCB_H2V2 (   dir)    PPP_OP_##dir##_CHROMA_420

Definition at line 518 of file mdp_hw.h.

#define PPP_CHROMA_SAMP_MDP_YCRYCB_H2V1 (   dir)    PPP_OP_##dir##_CHROMA_H2V1

Definition at line 519 of file mdp_hw.h.

#define PPP_DST_BPP_2BYTES   (1<<16)

Definition at line 404 of file mdp_hw.h.

#define PPP_DST_BPP_3BYTES   (1<<17)

Definition at line 405 of file mdp_hw.h.

#define PPP_DST_BPP_4BYTES   ((1<<17)|(1<<16))

Definition at line 406 of file mdp_hw.h.

#define PPP_DST_C0G_5BIT   (1<<0)

Definition at line 384 of file mdp_hw.h.

#define PPP_DST_C0G_6BIT   (1<<1)

Definition at line 380 of file mdp_hw.h.

#define PPP_DST_C0G_8BIT   ((1<<0)|(1<<1))

Definition at line 375 of file mdp_hw.h.

#define PPP_DST_C1B_5BIT   (1<<2)

Definition at line 385 of file mdp_hw.h.

#define PPP_DST_C1B_6BIT   (1<<3)

Definition at line 381 of file mdp_hw.h.

#define PPP_DST_C1B_8BIT   ((1<<3)|(1<<2))

Definition at line 376 of file mdp_hw.h.

#define PPP_DST_C2R_5BIT   (1<<4)

Definition at line 386 of file mdp_hw.h.

#define PPP_DST_C2R_6BIT   (1<<5)

Definition at line 382 of file mdp_hw.h.

#define PPP_DST_C2R_8BIT   ((1<<5)|(1<<4))

Definition at line 377 of file mdp_hw.h.

#define PPP_DST_C3A_8BIT   ((1<<7)|(1<<6))

Definition at line 388 of file mdp_hw.h.

#define PPP_DST_C3A_8BIT   ((1<<7)|(1<<6))

Definition at line 388 of file mdp_hw.h.

#define PPP_DST_C3ALPHA_EN   (1<<8)

Definition at line 389 of file mdp_hw.h.

#define PPP_DST_INTERLVD_2COMPONENTS   (1<<9)

Definition at line 391 of file mdp_hw.h.

#define PPP_DST_INTERLVD_3COMPONENTS   (1<<10)

Definition at line 392 of file mdp_hw.h.

#define PPP_DST_INTERLVD_4COMPONENTS   ((1<<10)|(1<<9))

Definition at line 393 of file mdp_hw.h.

#define PPP_DST_INTERLVD_6COMPONENTS   ((1<<11)|(1<<9))

Definition at line 394 of file mdp_hw.h.

#define PPP_DST_MDDI_EXTERNAL   (1<<22)

Definition at line 416 of file mdp_hw.h.

#define PPP_DST_MDDI_PRIMARY   0

Definition at line 414 of file mdp_hw.h.

#define PPP_DST_MDDI_SECONDARY   (1<<21)

Definition at line 415 of file mdp_hw.h.

#define PPP_DST_OUT_SEL_AXI   0

Definition at line 401 of file mdp_hw.h.

#define PPP_DST_OUT_SEL_MDDI   (1<<15)

Definition at line 402 of file mdp_hw.h.

#define PPP_DST_PACK_ALIGN_LSB   0

Definition at line 398 of file mdp_hw.h.

#define PPP_DST_PACK_ALIGN_MSB   (1<<14)

Definition at line 399 of file mdp_hw.h.

#define PPP_DST_PACK_LOOSE   0

Definition at line 396 of file mdp_hw.h.

#define PPP_DST_PACK_TIGHT   (1<<13)

Definition at line 397 of file mdp_hw.h.

#define PPP_DST_PLANE_INTERLVD   0

Definition at line 408 of file mdp_hw.h.

#define PPP_DST_PLANE_PLANAR   (1<<18)

Definition at line 409 of file mdp_hw.h.

#define PPP_DST_PLANE_PSEUDOPLNR   (1<<19)

Definition at line 410 of file mdp_hw.h.

#define PPP_DST_TO_TV   (1<<20)

Definition at line 412 of file mdp_hw.h.

#define PPP_OP_BG_CHROMA_420   ((1<<25)|(1<<26))

Definition at line 370 of file mdp_hw.h.

#define PPP_OP_BG_CHROMA_H1V2   (1<<26)

Definition at line 369 of file mdp_hw.h.

#define PPP_OP_BG_CHROMA_H2V1   (1<<25)

Definition at line 368 of file mdp_hw.h.

#define PPP_OP_BG_CHROMA_RGB   0

Definition at line 367 of file mdp_hw.h.

#define PPP_OP_BG_CHROMA_SITE_COSITE   0

Definition at line 371 of file mdp_hw.h.

#define PPP_OP_BG_CHROMA_SITE_OFFSITE   (1<<27)

Definition at line 372 of file mdp_hw.h.

#define PPP_OP_BLEND_ALPHA_BLEND_NORMAL   0

Definition at line 343 of file mdp_hw.h.

#define PPP_OP_BLEND_ALPHA_BLEND_REVERSE   (1<<15)

Definition at line 344 of file mdp_hw.h.

#define PPP_OP_BLEND_CONSTANT_ALPHA   (1<<14)

Definition at line 340 of file mdp_hw.h.

#define PPP_OP_BLEND_DSTPIXEL_ALPHA   (1<<13)

Definition at line 339 of file mdp_hw.h.

#define PPP_OP_BLEND_ON   (1<<12)

Definition at line 336 of file mdp_hw.h.

#define PPP_OP_BLEND_SRCPIXEL_ALPHA   0

Definition at line 338 of file mdp_hw.h.

#define PPP_OP_BLEND_SRCPIXEL_TRANSP   ((1<<13)|(1<<14))

Definition at line 341 of file mdp_hw.h.

#define PPP_OP_COLOR_SPACE_RGB   0

Definition at line 348 of file mdp_hw.h.

#define PPP_OP_COLOR_SPACE_YCBCR   (1<<17)

Definition at line 349 of file mdp_hw.h.

#define PPP_OP_CONVERT_MATRIX_PRIMARY   0

Definition at line 322 of file mdp_hw.h.

#define PPP_OP_CONVERT_MATRIX_SECONDARY   (1<<4)

Definition at line 323 of file mdp_hw.h.

#define PPP_OP_CONVERT_ON   (1<<3)

Definition at line 320 of file mdp_hw.h.

#define PPP_OP_CONVERT_RGB2YCBCR   0

Definition at line 318 of file mdp_hw.h.

#define PPP_OP_CONVERT_YCBCR2RGB   (1<<2)

Definition at line 319 of file mdp_hw.h.

#define PPP_OP_DITHER_EN   (1<<16)

Definition at line 346 of file mdp_hw.h.

#define PPP_OP_DST_CHROMA_420   ((1<<21)|(1<<22))

Definition at line 361 of file mdp_hw.h.

#define PPP_OP_DST_CHROMA_COSITE   0

Definition at line 362 of file mdp_hw.h.

#define PPP_OP_DST_CHROMA_H1V2   (1<<22)

Definition at line 360 of file mdp_hw.h.

#define PPP_OP_DST_CHROMA_H2V1   (1<<21)

Definition at line 359 of file mdp_hw.h.

#define PPP_OP_DST_CHROMA_OFFSITE   (1<<23)

Definition at line 363 of file mdp_hw.h.

#define PPP_OP_DST_CHROMA_RGB   0

Definition at line 358 of file mdp_hw.h.

#define PPP_OP_FLIP_LR   (1<<10)

Definition at line 333 of file mdp_hw.h.

#define PPP_OP_FLIP_UD   (1<<11)

Definition at line 334 of file mdp_hw.h.

#define PPP_OP_LUT_C0_ON   (1<<5)

Definition at line 325 of file mdp_hw.h.

#define PPP_OP_LUT_C1_ON   (1<<6)

Definition at line 326 of file mdp_hw.h.

#define PPP_OP_LUT_C2_ON   (1<<7)

Definition at line 327 of file mdp_hw.h.

#define PPP_OP_ROT_90   (1<<9)

Definition at line 332 of file mdp_hw.h.

#define PPP_OP_ROT_ON   (1<<8)

Definition at line 330 of file mdp_hw.h.

#define PPP_OP_SCALE_X_ON   (1<<0)

Definition at line 315 of file mdp_hw.h.

#define PPP_OP_SCALE_Y_ON   (1<<1)

Definition at line 316 of file mdp_hw.h.

#define PPP_OP_SRC_CHROMA_420   ((1<<18)|(1<<19))

Definition at line 354 of file mdp_hw.h.

#define PPP_OP_SRC_CHROMA_COSITE   0

Definition at line 355 of file mdp_hw.h.

#define PPP_OP_SRC_CHROMA_H1V2   (1<<19)

Definition at line 353 of file mdp_hw.h.

#define PPP_OP_SRC_CHROMA_H2V1   (1<<18)

Definition at line 352 of file mdp_hw.h.

#define PPP_OP_SRC_CHROMA_OFFSITE   (1<<20)

Definition at line 356 of file mdp_hw.h.

#define PPP_OP_SRC_CHROMA_RGB   0

Definition at line 351 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_ARGB_8888   PPP_PACK_PATTERN_MDP_XRGB_8888

Definition at line 492 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_BGRA_8888   MDP_GET_PACK_PATTERN(CLR_ALPHA, CLR_R, CLR_G, CLR_B, 8)

Definition at line 495 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_RGB_565   MDP_GET_PACK_PATTERN(0, CLR_R, CLR_G, CLR_B, 8)

Definition at line 487 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_RGB_888   PPP_PACK_PATTERN_MDP_RGB_565

Definition at line 489 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_RGBA_8888   MDP_GET_PACK_PATTERN(CLR_ALPHA, CLR_B, CLR_G, CLR_R, 8)

Definition at line 493 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_RGBX_8888   MDP_GET_PACK_PATTERN(CLR_ALPHA, CLR_B, CLR_G, CLR_R, 8)

Definition at line 497 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_XRGB_8888   MDP_GET_PACK_PATTERN(CLR_B, CLR_G, CLR_R, CLR_ALPHA, 8)

Definition at line 490 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_Y_CBCR_H2V1   MDP_GET_PACK_PATTERN(0, 0, CLR_CB, CLR_CR, 8)

Definition at line 499 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_Y_CBCR_H2V2   PPP_PACK_PATTERN_MDP_Y_CBCR_H2V1

Definition at line 501 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_Y_CRCB_H2V1   MDP_GET_PACK_PATTERN(0, 0, CLR_CR, CLR_CB, 8)

Definition at line 502 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_Y_CRCB_H2V2   PPP_PACK_PATTERN_MDP_Y_CRCB_H2V1

Definition at line 504 of file mdp_hw.h.

#define PPP_PACK_PATTERN_MDP_YCRYCB_H2V1   MDP_GET_PACK_PATTERN(CLR_Y, CLR_R, CLR_Y, CLR_B, 8)

Definition at line 505 of file mdp_hw.h.

#define PPP_SRC_BPP_1BYTES   0

Definition at line 287 of file mdp_hw.h.

#define PPP_SRC_BPP_2BYTES   (1<<9)

Definition at line 288 of file mdp_hw.h.

#define PPP_SRC_BPP_3BYTES   (1<<10)

Definition at line 289 of file mdp_hw.h.

#define PPP_SRC_BPP_4BYTES   ((1<<10)|(1<<9))

Definition at line 290 of file mdp_hw.h.

#define PPP_SRC_BPP_ROI_ODD_X   (1<<11)

Definition at line 292 of file mdp_hw.h.

#define PPP_SRC_BPP_ROI_ODD_Y   (1<<12)

Definition at line 293 of file mdp_hw.h.

#define PPP_SRC_C0G_5BIT   (1<<0)

Definition at line 281 of file mdp_hw.h.

#define PPP_SRC_C0G_6BIT   (1<<1)

Definition at line 277 of file mdp_hw.h.

#define PPP_SRC_C0G_8BIT   ((1<<1)|(1<<0))

Definition at line 272 of file mdp_hw.h.

#define PPP_SRC_C1B_5BIT   (1<<2)

Definition at line 282 of file mdp_hw.h.

#define PPP_SRC_C1B_6BIT   (1<<3)

Definition at line 278 of file mdp_hw.h.

#define PPP_SRC_C1B_8BIT   ((1<<3)|(1<<2))

Definition at line 273 of file mdp_hw.h.

#define PPP_SRC_C2R_5BIT   (1<<4)

Definition at line 283 of file mdp_hw.h.

#define PPP_SRC_C2R_6BIT   (1<<5)

Definition at line 279 of file mdp_hw.h.

#define PPP_SRC_C2R_8BIT   ((1<<5)|(1<<4))

Definition at line 274 of file mdp_hw.h.

#define PPP_SRC_C3A_8BIT   ((1<<7)|(1<<6))

Definition at line 275 of file mdp_hw.h.

#define PPP_SRC_C3ALPHA_EN   (1<<8)

Definition at line 285 of file mdp_hw.h.

#define PPP_SRC_INTERLVD_2COMPONENTS   (1<<13)

Definition at line 294 of file mdp_hw.h.

#define PPP_SRC_INTERLVD_3COMPONENTS   (1<<14)

Definition at line 295 of file mdp_hw.h.

#define PPP_SRC_INTERLVD_4COMPONENTS   ((1<<14)|(1<<13))

Definition at line 296 of file mdp_hw.h.

#define PPP_SRC_PACK_ALIGN_LSB   0

Definition at line 306 of file mdp_hw.h.

#define PPP_SRC_PACK_ALIGN_MSB   (1<<18)

Definition at line 307 of file mdp_hw.h.

#define PPP_SRC_PACK_LOOSE   0

Definition at line 305 of file mdp_hw.h.

#define PPP_SRC_PACK_TIGHT   (1<<17)

Definition at line 304 of file mdp_hw.h.

#define PPP_SRC_PLANE_INTERLVD   0

Definition at line 309 of file mdp_hw.h.

#define PPP_SRC_PLANE_PSEUDOPLNR   (1<<20)

Definition at line 310 of file mdp_hw.h.

#define PPP_SRC_WMV9_MODE   (1<<21)

Definition at line 312 of file mdp_hw.h.

#define PRIMARY_LCD_SYNC_DISABLE   0

Definition at line 255 of file mdp_hw.h.

#define PRIMARY_LCD_SYNC_EN   (1<<4)

Definition at line 254 of file mdp_hw.h.

#define SECONDARY_LCD_SYNC_DISABLE   0

Definition at line 258 of file mdp_hw.h.

#define SECONDARY_LCD_SYNC_EN   (1<<5)

Definition at line 257 of file mdp_hw.h.

#define TV_ENC_UNDERRUN   (1<<7)

Definition at line 191 of file mdp_hw.h.

#define TV_OUT_DMA3_DONE   (1<<6)

Definition at line 190 of file mdp_hw.h.

#define VSYNC_ANTI_TEAR_EN   (1<<31)

Definition at line 266 of file mdp_hw.h.

#define VSYNC_PULSE_EN   (1<<31)

Definition at line 242 of file mdp_hw.h.

#define VSYNC_PULSE_INV   (1<<30)

Definition at line 243 of file mdp_hw.h.

#define VSYNC_THRESHOLD_ABOVE_LOC   0

Definition at line 264 of file mdp_hw.h.

#define VSYNC_THRESHOLD_BELOW_LOC   16

Definition at line 265 of file mdp_hw.h.

Function Documentation

int mdp_ppp_blit ( const struct mdp_info mdp,
struct mdp_blit_req req,
struct file src_file,
unsigned long  src_start,
unsigned long  src_len,
struct file dst_file,
unsigned long  dst_start,
unsigned long  dst_len 
)

Definition at line 646 of file mdp_ppp.c.