coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
vop.h File Reference
#include <stdint.h>
#include <edid.h>
Include dependency graph for vop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rockchip_vop_regs
 

Macros

#define M_FPGA_VERSION   (0xffff << 16)
 
#define M_RTL_VERSION   (0xffff)
 
#define M_AUTO_GATING_EN   (1 << 23)
 
#define M_STANDBY_EN   (1 << 22)
 
#define M_DMA_STOP   (1 << 21)
 
#define M_MMU_EN   (1 << 20)
 
#define M_DAM_BURST_LENGTH   (0x3 << 18)
 
#define M_MIPI_OUT_EN   (1 << 15)
 
#define M_EDP_OUT_EN   (1 << 14)
 
#define M_HDMI_OUT_EN   (1 << 13)
 
#define M_RGB_OUT_EN   (1 << 12)
 
#define M_DUAL_MIPI_OUT_EN   (1 << 3)
 
#define M_ALL_OUT_EN
 
#define M_EDPI_WMS_FS   (1 << 10)
 
#define M_EDPI_WMS_MODE   (1 << 9)
 
#define M_EDPI_HALT_EN   (1 << 8)
 
#define M_DOUB_CH_OVERLAP_NUM   (0xf << 4)
 
#define M_DOUB_CHANNEL_EN   (1 << 3)
 
#define M_DIRECT_PATH_LAYER_SEL   (0x3 << 1)
 
#define M_DIRECT_PATH_EN   (1)
 
#define V_AUTO_GATING_EN(x)   (((x) & 1) << 23)
 
#define V_STANDBY_EN(x)   (((x) & 1) << 22)
 
#define V_DMA_STOP(x)   (((x) & 1) << 21)
 
#define V_MMU_EN(x)   (((x) & 1) << 20)
 
#define V_DMA_BURST_LENGTH(x)   (((x) & 3) << 18)
 
#define V_MIPI_OUT_EN(x)   (((x) & 1) << 15)
 
#define V_DUAL_MIPI_EN(x)   (((x) & 1) << 3)
 
#define V_EDP_OUT_EN(x)   (((x) & 1) << 14)
 
#define V_HDMI_OUT_EN(x)   (((x) & 1) << 13)
 
#define V_RGB_OUT_EN(x)   (((x) & 1) << 12)
 
#define V_EDPI_WMS_FS(x)   (((x) & 1) << 10)
 
#define V_EDPI_WMS_MODE(x)   (((x) & 1) << 9)
 
#define V_EDPI_HALT_EN(x)   (((x)&1)<<8)
 
#define V_DOUB_CH_OVERLAP_NUM(x)   (((x) & 0xf) << 4)
 
#define V_DOUB_CHANNEL_EN(x)   (((x) & 1) << 3)
 
#define V_DIRECT_PATH_LAYER_SEL(x)   (((x) & 3) << 1)
 
#define V_DIRECT_PATH_EN(x)   ((x) & 1)
 
#define M_AXI_OUTSTANDING_MAX_NUM   (0x1f << 13)
 
#define M_AXI_MAX_OUTSTANDING_EN   (1 << 12)
 
#define M_NOC_WIN_QOS   (3 << 10)
 
#define M_NOC_QOS_EN   (1 << 9)
 
#define M_NOC_HURRY_THRESHOLD   (0x3f << 3)
 
#define M_NOC_HURRY_VALUE   (0x3 << 1)
 
#define M_NOC_HURRY_EN   (1)
 
#define V_AXI_OUTSTANDING_MAX_NUM(x)   (((x) & 0x1f) << 13)
 
#define V_AXI_MAX_OUTSTANDING_EN(x)   (((x) & 1) << 12)
 
#define V_NOC_WIN_QOS(x)   (((x) & 3) << 10)
 
#define V_NOC_QOS_EN(x)   (((x) & 1) << 9)
 
#define V_NOC_HURRY_THRESHOLD(x)   (((x) & 0x3f) << 3)
 
#define V_NOC_HURRY_VALUE(x)   (((x) & 3) << 1)
 
#define V_NOC_HURRY_EN(x)   ((x) & 1)
 
#define M_DSP_Y_MIR_EN   (1 << 23)
 
#define M_DSP_X_MIR_EN   (1 << 22)
 
#define M_DSP_YUV_CLIP   (1 << 21)
 
#define M_DSP_CCIR656_AVG   (1 << 20)
 
#define M_DSP_BLACK_EN   (1 << 19)
 
#define M_DSP_BLANK_EN   (1 << 18)
 
#define M_DSP_OUT_ZERO   (1 << 17)
 
#define M_DSP_DUMMY_SWAP   (1 << 16)
 
#define M_DSP_DELTA_SWAP   (1 << 15)
 
#define M_DSP_RG_SWAP   (1 << 14)
 
#define M_DSP_RB_SWAP   (1 << 13)
 
#define M_DSP_BG_SWAP   (1 << 12)
 
#define M_DSP_FIELD_POL   (1 << 11)
 
#define M_DSP_INTERLACE   (1 << 10)
 
#define M_DSP_DDR_PHASE   (1 << 9)
 
#define M_DSP_DCLK_DDR   (1 << 8)
 
#define M_DSP_DCLK_POL   (1 << 7)
 
#define M_DSP_DEN_POL   (1 << 6)
 
#define M_DSP_VSYNC_POL   (1 << 5)
 
#define M_DSP_HSYNC_POL   (1 << 4)
 
#define M_DSP_OUT_MODE   (0xf)
 
#define V_DSP_Y_MIR_EN(x)   (((x) & 1) << 23)
 
#define V_DSP_X_MIR_EN(x)   (((x) & 1) << 22)
 
#define V_DSP_YUV_CLIP(x)   (((x) & 1) << 21)
 
#define V_DSP_CCIR656_AVG(x)   (((x) & 1) << 20)
 
#define V_DSP_BLACK_EN(x)   (((x) & 1) << 19)
 
#define V_DSP_BLANK_EN(x)   (((x) & 1) << 18)
 
#define V_DSP_OUT_ZERO(x)   (((x) & 1) << 17)
 
#define V_DSP_DUMMY_SWAP(x)   (((x) & 1) << 16)
 
#define V_DSP_DELTA_SWAP(x)   (((x) & 1) << 15)
 
#define V_DSP_RG_SWAP(x)   (((x) & 1) << 14)
 
#define V_DSP_RB_SWAP(x)   (((x) & 1) << 13)
 
#define V_DSP_BG_SWAP(x)   (((x) & 1) << 12)
 
#define V_DSP_FIELD_POL(x)   (((x) & 1) << 11)
 
#define V_DSP_INTERLACE(x)   (((x) & 1) << 10)
 
#define V_DSP_DDR_PHASE(x)   (((x) & 1) << 9)
 
#define V_DSP_DCLK_DDR(x)   (((x) & 1) << 8)
 
#define V_DSP_DCLK_POL(x)   (((x) & 1) << 7)
 
#define V_DSP_DEN_POL(x)   (((x) & 1) << 6)
 
#define V_DSP_VSYNC_POL(x)   (((x) & 1) << 5)
 
#define V_DSP_HSYNC_POL(x)   (((x) & 1) << 4)
 
#define V_DSP_OUT_MODE(x)   ((x) & 0xf)
 
#define M_DSP_LAYER3_SEL   (3 << 14)
 
#define M_DSP_LAYER2_SEL   (3 << 12)
 
#define M_DSP_LAYER1_SEL   (3 << 10)
 
#define M_DSP_LAYER0_SEL   (3 << 8)
 
#define M_DITHER_UP_EN   (1 << 6)
 
#define M_DITHER_DOWN_SEL   (1 << 4)
 
#define M_DITHER_DOWN_MODE   (1 << 3)
 
#define M_DITHER_DOWN_EN   (1 << 2)
 
#define M_PRE_DITHER_DOWN_EN   (1 << 1)
 
#define M_DSP_LUT_EN   (1)
 
#define V_DSP_LAYER3_SEL(x)   (((x) & 3) << 14)
 
#define V_DSP_LAYER2_SEL(x)   (((x) & 3) << 12)
 
#define V_DSP_LAYER1_SEL(x)   (((x) & 3) << 10)
 
#define V_DSP_LAYER0_SEL(x)   (((x) & 3) << 8)
 
#define V_DITHER_UP_EN(x)   (((x) & 1) << 6)
 
#define V_DITHER_DOWN_SEL(x)   (((x) & 1) << 4)
 
#define V_DITHER_DOWN_MODE(x)   (((x) & 1) << 3)
 
#define V_DITHER_DOWN_EN(x)   (((x) & 1) << 2)
 
#define V_PRE_DITHER_DOWN_EN(x)   (((x) & 1) << 1)
 
#define V_DSP_LUT_EN(x)   ((x)&1)
 
#define M_DSP_BG_RED   (0x3f << 20)
 
#define M_DSP_BG_GREEN   (0x3f << 10)
 
#define M_DSP_BG_BLUE   (0x3f << 0)
 
#define V_DSP_BG_RED(x)   (((x) & 0x3f) << 20)
 
#define V_DSP_BG_GREEN(x)   (((x) & 0x3f) << 10)
 
#define V_DSP_BG_BLUE(x)   (((x) & 0x3f) << 0)
 
#define M_WIN0_YUV_CLIP   (1 << 20)
 
#define M_WIN0_CBR_DEFLICK   (1 << 19)
 
#define M_WIN0_YRGB_DEFLICK   (1 << 18)
 
#define M_WIN0_PPAS_ZERO_EN   (1 << 16)
 
#define M_WIN0_UV_SWAP   (1 << 15)
 
#define M_WIN0_MID_SWAP   (1 << 14)
 
#define M_WIN0_ALPHA_SWAP   (1 << 13)
 
#define M_WIN0_RB_SWAP   (1 << 12)
 
#define M_WIN0_CSC_MODE   (3 << 10)
 
#define M_WIN0_NO_OUTSTANDING   (1 << 9)
 
#define M_WIN0_INTERLACE_READ   (1 << 8)
 
#define M_WIN0_LB_MODE   (7 << 5)
 
#define M_WIN0_FMT_10   (1 << 4)
 
#define M_WIN0_DATA_FMT   (7 << 1)
 
#define M_WIN0_EN   (1 << 0)
 
#define V_WIN0_YUV_CLIP(x)   (((x) & 1) << 20)
 
#define V_WIN0_CBR_DEFLICK(x)   (((x) & 1) << 19)
 
#define V_WIN0_YRGB_DEFLICK(x)   (((x) & 1) << 18)
 
#define V_WIN0_PPAS_ZERO_EN(x)   (((x) & 1) << 16)
 
#define V_WIN0_UV_SWAP(x)   (((x) & 1) << 15)
 
#define V_WIN0_MID_SWAP(x)   (((x) & 1) << 14)
 
#define V_WIN0_ALPHA_SWAP(x)   (((x) & 1) << 13)
 
#define V_WIN0_RB_SWAP(x)   (((x) & 1) << 12)
 
#define V_WIN0_CSC_MODE(x)   (((x) & 3) << 10)
 
#define V_WIN0_NO_OUTSTANDING(x)   (((x) & 1) << 9)
 
#define V_WIN0_INTERLACE_READ(x)   (((x) & 1) << 8)
 
#define V_WIN0_LB_MODE(x)   (((x) & 7) << 5)
 
#define V_WIN0_FMT_10(x)   (((x) & 1) << 4)
 
#define V_WIN0_DATA_FMT(x)   (((x) & 7) << 1)
 
#define V_WIN0_EN(x)   ((x) & 1)
 
#define M_WIN0_CBR_VSD_MODE   (1 << 31)
 
#define M_WIN0_CBR_VSU_MODE   (1 << 30)
 
#define M_WIN0_CBR_HSD_MODE   (3 << 28)
 
#define M_WIN0_CBR_VER_SCL_MODE   (3 << 26)
 
#define M_WIN0_CBR_HOR_SCL_MODE   (3 << 24)
 
#define M_WIN0_YRGB_VSD_MODE   (1 << 23)
 
#define M_WIN0_YRGB_VSU_MODE   (1 << 22)
 
#define M_WIN0_YRGB_HSD_MODE   (3 << 20)
 
#define M_WIN0_YRGB_VER_SCL_MODE   (3 << 18)
 
#define M_WIN0_YRGB_HOR_SCL_MODE   (3 << 16)
 
#define M_WIN0_LINE_LOAD_MODE   (1 << 15)
 
#define M_WIN0_CBR_AXI_GATHER_NUM   (7 << 12)
 
#define M_WIN0_YRGB_AXI_GATHER_NUM   (0xf << 8)
 
#define M_WIN0_VSD_CBR_GT2   (1 << 7)
 
#define M_WIN0_VSD_CBR_GT4   (1 << 6)
 
#define M_WIN0_VSD_YRGB_GT2   (1 << 5)
 
#define M_WIN0_VSD_YRGB_GT4   (1 << 4)
 
#define M_WIN0_BIC_COE_SEL   (3 << 2)
 
#define M_WIN0_CBR_AXI_GATHER_EN   (1 << 1)
 
#define M_WIN0_YRGB_AXI_GATHER_EN   (1)
 
#define V_WIN0_CBR_VSD_MODE(x)   (((x) & 1) << 31)
 
#define V_WIN0_CBR_VSU_MODE(x)   (((x) & 1) << 30)
 
#define V_WIN0_CBR_HSD_MODE(x)   (((x) & 3) << 28)
 
#define V_WIN0_CBR_VER_SCL_MODE(x)   (((x) & 3) << 26)
 
#define V_WIN0_CBR_HOR_SCL_MODE(x)   (((x) & 3) << 24)
 
#define V_WIN0_YRGB_VSD_MODE(x)   (((x) & 1) << 23)
 
#define V_WIN0_YRGB_VSU_MODE(x)   (((x) & 1) << 22)
 
#define V_WIN0_YRGB_HSD_MODE(x)   (((x) & 3) << 20)
 
#define V_WIN0_YRGB_VER_SCL_MODE(x)   (((x) & 3) << 18)
 
#define V_WIN0_YRGB_HOR_SCL_MODE(x)   (((x) & 3) << 16)
 
#define V_WIN0_LINE_LOAD_MODE(x)   (((x) & 1) << 15)
 
#define V_WIN0_CBR_AXI_GATHER_NUM(x)   (((x) & 7) << 12)
 
#define V_WIN0_YRGB_AXI_GATHER_NUM(x)   (((x) & 0xf) << 8)
 
#define V_WIN0_VSD_CBR_GT2(x)   (((x) & 1) << 7)
 
#define V_WIN0_VSD_CBR_GT4(x)   (((x) & 1) << 6)
 
#define V_WIN0_VSD_YRGB_GT2(x)   (((x) & 1) << 5)
 
#define V_WIN0_VSD_YRGB_GT4(x)   (((x) & 1) << 4)
 
#define V_WIN0_BIC_COE_SEL(x)   (((x) & 3) << 2)
 
#define V_WIN0_CBR_AXI_GATHER_EN(x)   (((x) & 1) << 1)
 
#define V_WIN0_YRGB_AXI_GATHER_EN(x)   ((x) & 1)
 
#define M_WIN0_KEY_EN   (1 << 31)
 
#define M_WIN0_KEY_COLOR   (0x3fffffff)
 
#define V_WIN0_KEY_EN(x)   (((x) & 1) << 31)
 
#define V_WIN0_KEY_COLOR(x)   ((x) & 0x3fffffff)
 
#define V_ARGB888_VIRWIDTH(x)   (((x) & 0x3fff) << 0)
 
#define V_RGB888_VIRWIDTH(x)   (((((x * 3) >> 2)+((x) % 3)) & 0x3fff) << 0)
 
#define V_RGB565_VIRWIDTH(x)   (((x / 2) & 0x3fff) << 0)
 
#define YUV_VIRWIDTH(x)   (((x / 4) & 0x3fff) << 0)
 
#define V_ACT_HEIGHT(x)   (((x) & 0x1fff) << 16)
 
#define V_ACT_WIDTH(x)   ((x) & 0x1fff)
 
#define V_DSP_HEIGHT(x)   (((x) & 0xfff) << 16)
 
#define V_DSP_WIDTH(x)   ((x) & 0xfff)
 
#define V_DSP_YST(x)   (((x) & 0x1fff) << 16)
 
#define V_DSP_XST(x)   ((x) & 0x1fff)
 
#define V_WIN0_VS_OFFSET_CBR(x)   (((x) & 0xff) << 24)
 
#define V_WIN0_VS_OFFSET_YRGB(x)   (((x) & 0xff) << 16)
 
#define V_WIN0_HS_OFFSET_CBR(x)   (((x) & 0xff) << 8)
 
#define V_WIN0_HS_OFFSET_YRGB(x)   ((x) & 0xff)
 
#define V_HSYNC(x)   (((x)&0x1fff)<<0) /* hsync pulse width */
 
#define V_HORPRD(x)   (((x)&0x1fff)<<16) /* horizontal period */
 
#define V_VSYNC(x)   (((x)&0x1fff)<<0)
 
#define V_VERPRD(x)   (((x)&0x1fff)<<16)
 
#define V_HEAP(x)   (((x)&0x1fff)<<0)/* horizontal active end */
 
#define V_HASP(x)   (((x)&0x1fff)<<16)/* horizontal active start */
 
#define V_VAEP(x)   (((x)&0x1fff)<<0)
 
#define V_VASP(x)   (((x)&0x1fff)<<16)
 

Enumerations

enum  rockchip_fb_data_format_t { ARGB8888 = 0 , RGB888 = 1 , RGB565 = 2 }
 
enum  {
  LB_YUV_3840X5 = 0x0 , LB_YUV_2560X8 = 0x1 , LB_RGB_3840X2 = 0x2 , LB_RGB_2560X4 = 0x3 ,
  LB_RGB_1920X5 = 0x4 , LB_RGB_1280X8 = 0x5
}
 
enum  vop_modes {
  VOP_MODE_EDP = 0 , VOP_MODE_HDMI , VOP_MODE_MIPI , VOP_MODE_DUAL_MIPI ,
  VOP_MODE_NONE , VOP_MODE_AUTO_DETECT , VOP_MODE_UNKNOWN
}
 

Functions

 check_member (rockchip_vop_regs, dsp_vact_st_end_f1, 0x19c)
 
void rkvop_mode_set (u32 vop_id, const struct edid *edid, u32 mode)
 
void rkvop_prepare (u32 vop_id, const struct edid *edid)
 
void rkvop_enable (u32 vop_id, u32 fbbase)
 

Macro Definition Documentation

◆ M_ALL_OUT_EN

#define M_ALL_OUT_EN
Value:
M_RGB_OUT_EN | M_DUAL_MIPI_OUT_EN)
#define M_MIPI_OUT_EN
Definition: vop.h:126
#define M_EDP_OUT_EN
Definition: vop.h:127
#define M_HDMI_OUT_EN
Definition: vop.h:128
#define M_DUAL_MIPI_OUT_EN
Definition: vop.h:130

Definition at line 131 of file vop.h.

◆ M_AUTO_GATING_EN

#define M_AUTO_GATING_EN   (1 << 23)

Definition at line 121 of file vop.h.

◆ M_AXI_MAX_OUTSTANDING_EN

#define M_AXI_MAX_OUTSTANDING_EN   (1 << 12)

Definition at line 161 of file vop.h.

◆ M_AXI_OUTSTANDING_MAX_NUM

#define M_AXI_OUTSTANDING_MAX_NUM   (0x1f << 13)

Definition at line 160 of file vop.h.

◆ M_DAM_BURST_LENGTH

#define M_DAM_BURST_LENGTH   (0x3 << 18)

Definition at line 125 of file vop.h.

◆ M_DIRECT_PATH_EN

#define M_DIRECT_PATH_EN   (1)

Definition at line 139 of file vop.h.

◆ M_DIRECT_PATH_LAYER_SEL

#define M_DIRECT_PATH_LAYER_SEL   (0x3 << 1)

Definition at line 138 of file vop.h.

◆ M_DITHER_DOWN_EN

#define M_DITHER_DOWN_EN   (1 << 2)

Definition at line 229 of file vop.h.

◆ M_DITHER_DOWN_MODE

#define M_DITHER_DOWN_MODE   (1 << 3)

Definition at line 228 of file vop.h.

◆ M_DITHER_DOWN_SEL

#define M_DITHER_DOWN_SEL   (1 << 4)

Definition at line 227 of file vop.h.

◆ M_DITHER_UP_EN

#define M_DITHER_UP_EN   (1 << 6)

Definition at line 226 of file vop.h.

◆ M_DMA_STOP

#define M_DMA_STOP   (1 << 21)

Definition at line 123 of file vop.h.

◆ M_DOUB_CH_OVERLAP_NUM

#define M_DOUB_CH_OVERLAP_NUM   (0xf << 4)

Definition at line 136 of file vop.h.

◆ M_DOUB_CHANNEL_EN

#define M_DOUB_CHANNEL_EN   (1 << 3)

Definition at line 137 of file vop.h.

◆ M_DSP_BG_BLUE

#define M_DSP_BG_BLUE   (0x3f << 0)

Definition at line 247 of file vop.h.

◆ M_DSP_BG_GREEN

#define M_DSP_BG_GREEN   (0x3f << 10)

Definition at line 246 of file vop.h.

◆ M_DSP_BG_RED

#define M_DSP_BG_RED   (0x3f << 20)

Definition at line 245 of file vop.h.

◆ M_DSP_BG_SWAP

#define M_DSP_BG_SWAP   (1 << 12)

Definition at line 188 of file vop.h.

◆ M_DSP_BLACK_EN

#define M_DSP_BLACK_EN   (1 << 19)

Definition at line 181 of file vop.h.

◆ M_DSP_BLANK_EN

#define M_DSP_BLANK_EN   (1 << 18)

Definition at line 182 of file vop.h.

◆ M_DSP_CCIR656_AVG

#define M_DSP_CCIR656_AVG   (1 << 20)

Definition at line 180 of file vop.h.

◆ M_DSP_DCLK_DDR

#define M_DSP_DCLK_DDR   (1 << 8)

Definition at line 192 of file vop.h.

◆ M_DSP_DCLK_POL

#define M_DSP_DCLK_POL   (1 << 7)

Definition at line 193 of file vop.h.

◆ M_DSP_DDR_PHASE

#define M_DSP_DDR_PHASE   (1 << 9)

Definition at line 191 of file vop.h.

◆ M_DSP_DELTA_SWAP

#define M_DSP_DELTA_SWAP   (1 << 15)

Definition at line 185 of file vop.h.

◆ M_DSP_DEN_POL

#define M_DSP_DEN_POL   (1 << 6)

Definition at line 194 of file vop.h.

◆ M_DSP_DUMMY_SWAP

#define M_DSP_DUMMY_SWAP   (1 << 16)

Definition at line 184 of file vop.h.

◆ M_DSP_FIELD_POL

#define M_DSP_FIELD_POL   (1 << 11)

Definition at line 189 of file vop.h.

◆ M_DSP_HSYNC_POL

#define M_DSP_HSYNC_POL   (1 << 4)

Definition at line 196 of file vop.h.

◆ M_DSP_INTERLACE

#define M_DSP_INTERLACE   (1 << 10)

Definition at line 190 of file vop.h.

◆ M_DSP_LAYER0_SEL

#define M_DSP_LAYER0_SEL   (3 << 8)

Definition at line 225 of file vop.h.

◆ M_DSP_LAYER1_SEL

#define M_DSP_LAYER1_SEL   (3 << 10)

Definition at line 224 of file vop.h.

◆ M_DSP_LAYER2_SEL

#define M_DSP_LAYER2_SEL   (3 << 12)

Definition at line 223 of file vop.h.

◆ M_DSP_LAYER3_SEL

#define M_DSP_LAYER3_SEL   (3 << 14)

Definition at line 222 of file vop.h.

◆ M_DSP_LUT_EN

#define M_DSP_LUT_EN   (1)

Definition at line 231 of file vop.h.

◆ M_DSP_OUT_MODE

#define M_DSP_OUT_MODE   (0xf)

Definition at line 197 of file vop.h.

◆ M_DSP_OUT_ZERO

#define M_DSP_OUT_ZERO   (1 << 17)

Definition at line 183 of file vop.h.

◆ M_DSP_RB_SWAP

#define M_DSP_RB_SWAP   (1 << 13)

Definition at line 187 of file vop.h.

◆ M_DSP_RG_SWAP

#define M_DSP_RG_SWAP   (1 << 14)

Definition at line 186 of file vop.h.

◆ M_DSP_VSYNC_POL

#define M_DSP_VSYNC_POL   (1 << 5)

Definition at line 195 of file vop.h.

◆ M_DSP_X_MIR_EN

#define M_DSP_X_MIR_EN   (1 << 22)

Definition at line 178 of file vop.h.

◆ M_DSP_Y_MIR_EN

#define M_DSP_Y_MIR_EN   (1 << 23)

Definition at line 177 of file vop.h.

◆ M_DSP_YUV_CLIP

#define M_DSP_YUV_CLIP   (1 << 21)

Definition at line 179 of file vop.h.

◆ M_DUAL_MIPI_OUT_EN

#define M_DUAL_MIPI_OUT_EN   (1 << 3)

Definition at line 130 of file vop.h.

◆ M_EDP_OUT_EN

#define M_EDP_OUT_EN   (1 << 14)

Definition at line 127 of file vop.h.

◆ M_EDPI_HALT_EN

#define M_EDPI_HALT_EN   (1 << 8)

Definition at line 135 of file vop.h.

◆ M_EDPI_WMS_FS

#define M_EDPI_WMS_FS   (1 << 10)

Definition at line 133 of file vop.h.

◆ M_EDPI_WMS_MODE

#define M_EDPI_WMS_MODE   (1 << 9)

Definition at line 134 of file vop.h.

◆ M_FPGA_VERSION

#define M_FPGA_VERSION   (0xffff << 16)

Definition at line 117 of file vop.h.

◆ M_HDMI_OUT_EN

#define M_HDMI_OUT_EN   (1 << 13)

Definition at line 128 of file vop.h.

◆ M_MIPI_OUT_EN

#define M_MIPI_OUT_EN   (1 << 15)

Definition at line 126 of file vop.h.

◆ M_MMU_EN

#define M_MMU_EN   (1 << 20)

Definition at line 124 of file vop.h.

◆ M_NOC_HURRY_EN

#define M_NOC_HURRY_EN   (1)

Definition at line 166 of file vop.h.

◆ M_NOC_HURRY_THRESHOLD

#define M_NOC_HURRY_THRESHOLD   (0x3f << 3)

Definition at line 164 of file vop.h.

◆ M_NOC_HURRY_VALUE

#define M_NOC_HURRY_VALUE   (0x3 << 1)

Definition at line 165 of file vop.h.

◆ M_NOC_QOS_EN

#define M_NOC_QOS_EN   (1 << 9)

Definition at line 163 of file vop.h.

◆ M_NOC_WIN_QOS

#define M_NOC_WIN_QOS   (3 << 10)

Definition at line 162 of file vop.h.

◆ M_PRE_DITHER_DOWN_EN

#define M_PRE_DITHER_DOWN_EN   (1 << 1)

Definition at line 230 of file vop.h.

◆ M_RGB_OUT_EN

#define M_RGB_OUT_EN   (1 << 12)

Definition at line 129 of file vop.h.

◆ M_RTL_VERSION

#define M_RTL_VERSION   (0xffff)

Definition at line 118 of file vop.h.

◆ M_STANDBY_EN

#define M_STANDBY_EN   (1 << 22)

Definition at line 122 of file vop.h.

◆ M_WIN0_ALPHA_SWAP

#define M_WIN0_ALPHA_SWAP   (1 << 13)

Definition at line 260 of file vop.h.

◆ M_WIN0_BIC_COE_SEL

#define M_WIN0_BIC_COE_SEL   (3 << 2)

Definition at line 304 of file vop.h.

◆ M_WIN0_CBR_AXI_GATHER_EN

#define M_WIN0_CBR_AXI_GATHER_EN   (1 << 1)

Definition at line 305 of file vop.h.

◆ M_WIN0_CBR_AXI_GATHER_NUM

#define M_WIN0_CBR_AXI_GATHER_NUM   (7 << 12)

Definition at line 298 of file vop.h.

◆ M_WIN0_CBR_DEFLICK

#define M_WIN0_CBR_DEFLICK   (1 << 19)

Definition at line 255 of file vop.h.

◆ M_WIN0_CBR_HOR_SCL_MODE

#define M_WIN0_CBR_HOR_SCL_MODE   (3 << 24)

Definition at line 291 of file vop.h.

◆ M_WIN0_CBR_HSD_MODE

#define M_WIN0_CBR_HSD_MODE   (3 << 28)

Definition at line 289 of file vop.h.

◆ M_WIN0_CBR_VER_SCL_MODE

#define M_WIN0_CBR_VER_SCL_MODE   (3 << 26)

Definition at line 290 of file vop.h.

◆ M_WIN0_CBR_VSD_MODE

#define M_WIN0_CBR_VSD_MODE   (1 << 31)

Definition at line 287 of file vop.h.

◆ M_WIN0_CBR_VSU_MODE

#define M_WIN0_CBR_VSU_MODE   (1 << 30)

Definition at line 288 of file vop.h.

◆ M_WIN0_CSC_MODE

#define M_WIN0_CSC_MODE   (3 << 10)

Definition at line 262 of file vop.h.

◆ M_WIN0_DATA_FMT

#define M_WIN0_DATA_FMT   (7 << 1)

Definition at line 267 of file vop.h.

◆ M_WIN0_EN

#define M_WIN0_EN   (1 << 0)

Definition at line 268 of file vop.h.

◆ M_WIN0_FMT_10

#define M_WIN0_FMT_10   (1 << 4)

Definition at line 266 of file vop.h.

◆ M_WIN0_INTERLACE_READ

#define M_WIN0_INTERLACE_READ   (1 << 8)

Definition at line 264 of file vop.h.

◆ M_WIN0_KEY_COLOR

#define M_WIN0_KEY_COLOR   (0x3fffffff)

Definition at line 331 of file vop.h.

◆ M_WIN0_KEY_EN

#define M_WIN0_KEY_EN   (1 << 31)

Definition at line 330 of file vop.h.

◆ M_WIN0_LB_MODE

#define M_WIN0_LB_MODE   (7 << 5)

Definition at line 265 of file vop.h.

◆ M_WIN0_LINE_LOAD_MODE

#define M_WIN0_LINE_LOAD_MODE   (1 << 15)

Definition at line 297 of file vop.h.

◆ M_WIN0_MID_SWAP

#define M_WIN0_MID_SWAP   (1 << 14)

Definition at line 259 of file vop.h.

◆ M_WIN0_NO_OUTSTANDING

#define M_WIN0_NO_OUTSTANDING   (1 << 9)

Definition at line 263 of file vop.h.

◆ M_WIN0_PPAS_ZERO_EN

#define M_WIN0_PPAS_ZERO_EN   (1 << 16)

Definition at line 257 of file vop.h.

◆ M_WIN0_RB_SWAP

#define M_WIN0_RB_SWAP   (1 << 12)

Definition at line 261 of file vop.h.

◆ M_WIN0_UV_SWAP

#define M_WIN0_UV_SWAP   (1 << 15)

Definition at line 258 of file vop.h.

◆ M_WIN0_VSD_CBR_GT2

#define M_WIN0_VSD_CBR_GT2   (1 << 7)

Definition at line 300 of file vop.h.

◆ M_WIN0_VSD_CBR_GT4

#define M_WIN0_VSD_CBR_GT4   (1 << 6)

Definition at line 301 of file vop.h.

◆ M_WIN0_VSD_YRGB_GT2

#define M_WIN0_VSD_YRGB_GT2   (1 << 5)

Definition at line 302 of file vop.h.

◆ M_WIN0_VSD_YRGB_GT4

#define M_WIN0_VSD_YRGB_GT4   (1 << 4)

Definition at line 303 of file vop.h.

◆ M_WIN0_YRGB_AXI_GATHER_EN

#define M_WIN0_YRGB_AXI_GATHER_EN   (1)

Definition at line 306 of file vop.h.

◆ M_WIN0_YRGB_AXI_GATHER_NUM

#define M_WIN0_YRGB_AXI_GATHER_NUM   (0xf << 8)

Definition at line 299 of file vop.h.

◆ M_WIN0_YRGB_DEFLICK

#define M_WIN0_YRGB_DEFLICK   (1 << 18)

Definition at line 256 of file vop.h.

◆ M_WIN0_YRGB_HOR_SCL_MODE

#define M_WIN0_YRGB_HOR_SCL_MODE   (3 << 16)

Definition at line 296 of file vop.h.

◆ M_WIN0_YRGB_HSD_MODE

#define M_WIN0_YRGB_HSD_MODE   (3 << 20)

Definition at line 294 of file vop.h.

◆ M_WIN0_YRGB_VER_SCL_MODE

#define M_WIN0_YRGB_VER_SCL_MODE   (3 << 18)

Definition at line 295 of file vop.h.

◆ M_WIN0_YRGB_VSD_MODE

#define M_WIN0_YRGB_VSD_MODE   (1 << 23)

Definition at line 292 of file vop.h.

◆ M_WIN0_YRGB_VSU_MODE

#define M_WIN0_YRGB_VSU_MODE   (1 << 22)

Definition at line 293 of file vop.h.

◆ M_WIN0_YUV_CLIP

#define M_WIN0_YUV_CLIP   (1 << 20)

Definition at line 254 of file vop.h.

◆ V_ACT_HEIGHT

#define V_ACT_HEIGHT (   x)    (((x) & 0x1fff) << 16)

Definition at line 343 of file vop.h.

◆ V_ACT_WIDTH

#define V_ACT_WIDTH (   x)    ((x) & 0x1fff)

Definition at line 344 of file vop.h.

◆ V_ARGB888_VIRWIDTH

#define V_ARGB888_VIRWIDTH (   x)    (((x) & 0x3fff) << 0)

Definition at line 337 of file vop.h.

◆ V_AUTO_GATING_EN

#define V_AUTO_GATING_EN (   x)    (((x) & 1) << 23)

Definition at line 141 of file vop.h.

◆ V_AXI_MAX_OUTSTANDING_EN

#define V_AXI_MAX_OUTSTANDING_EN (   x)    (((x) & 1) << 12)

Definition at line 169 of file vop.h.

◆ V_AXI_OUTSTANDING_MAX_NUM

#define V_AXI_OUTSTANDING_MAX_NUM (   x)    (((x) & 0x1f) << 13)

Definition at line 168 of file vop.h.

◆ V_DIRECT_PATH_EN

#define V_DIRECT_PATH_EN (   x)    ((x) & 1)

Definition at line 157 of file vop.h.

◆ V_DIRECT_PATH_LAYER_SEL

#define V_DIRECT_PATH_LAYER_SEL (   x)    (((x) & 3) << 1)

Definition at line 156 of file vop.h.

◆ V_DITHER_DOWN_EN

#define V_DITHER_DOWN_EN (   x)    (((x) & 1) << 2)

Definition at line 240 of file vop.h.

◆ V_DITHER_DOWN_MODE

#define V_DITHER_DOWN_MODE (   x)    (((x) & 1) << 3)

Definition at line 239 of file vop.h.

◆ V_DITHER_DOWN_SEL

#define V_DITHER_DOWN_SEL (   x)    (((x) & 1) << 4)

Definition at line 238 of file vop.h.

◆ V_DITHER_UP_EN

#define V_DITHER_UP_EN (   x)    (((x) & 1) << 6)

Definition at line 237 of file vop.h.

◆ V_DMA_BURST_LENGTH

#define V_DMA_BURST_LENGTH (   x)    (((x) & 3) << 18)

Definition at line 145 of file vop.h.

◆ V_DMA_STOP

#define V_DMA_STOP (   x)    (((x) & 1) << 21)

Definition at line 143 of file vop.h.

◆ V_DOUB_CH_OVERLAP_NUM

#define V_DOUB_CH_OVERLAP_NUM (   x)    (((x) & 0xf) << 4)

Definition at line 154 of file vop.h.

◆ V_DOUB_CHANNEL_EN

#define V_DOUB_CHANNEL_EN (   x)    (((x) & 1) << 3)

Definition at line 155 of file vop.h.

◆ V_DSP_BG_BLUE

#define V_DSP_BG_BLUE (   x)    (((x) & 0x3f) << 0)

Definition at line 251 of file vop.h.

◆ V_DSP_BG_GREEN

#define V_DSP_BG_GREEN (   x)    (((x) & 0x3f) << 10)

Definition at line 250 of file vop.h.

◆ V_DSP_BG_RED

#define V_DSP_BG_RED (   x)    (((x) & 0x3f) << 20)

Definition at line 249 of file vop.h.

◆ V_DSP_BG_SWAP

#define V_DSP_BG_SWAP (   x)    (((x) & 1) << 12)

Definition at line 210 of file vop.h.

◆ V_DSP_BLACK_EN

#define V_DSP_BLACK_EN (   x)    (((x) & 1) << 19)

Definition at line 203 of file vop.h.

◆ V_DSP_BLANK_EN

#define V_DSP_BLANK_EN (   x)    (((x) & 1) << 18)

Definition at line 204 of file vop.h.

◆ V_DSP_CCIR656_AVG

#define V_DSP_CCIR656_AVG (   x)    (((x) & 1) << 20)

Definition at line 202 of file vop.h.

◆ V_DSP_DCLK_DDR

#define V_DSP_DCLK_DDR (   x)    (((x) & 1) << 8)

Definition at line 214 of file vop.h.

◆ V_DSP_DCLK_POL

#define V_DSP_DCLK_POL (   x)    (((x) & 1) << 7)

Definition at line 215 of file vop.h.

◆ V_DSP_DDR_PHASE

#define V_DSP_DDR_PHASE (   x)    (((x) & 1) << 9)

Definition at line 213 of file vop.h.

◆ V_DSP_DELTA_SWAP

#define V_DSP_DELTA_SWAP (   x)    (((x) & 1) << 15)

Definition at line 207 of file vop.h.

◆ V_DSP_DEN_POL

#define V_DSP_DEN_POL (   x)    (((x) & 1) << 6)

Definition at line 216 of file vop.h.

◆ V_DSP_DUMMY_SWAP

#define V_DSP_DUMMY_SWAP (   x)    (((x) & 1) << 16)

Definition at line 206 of file vop.h.

◆ V_DSP_FIELD_POL

#define V_DSP_FIELD_POL (   x)    (((x) & 1) << 11)

Definition at line 211 of file vop.h.

◆ V_DSP_HEIGHT

#define V_DSP_HEIGHT (   x)    (((x) & 0xfff) << 16)

Definition at line 347 of file vop.h.

◆ V_DSP_HSYNC_POL

#define V_DSP_HSYNC_POL (   x)    (((x) & 1) << 4)

Definition at line 218 of file vop.h.

◆ V_DSP_INTERLACE

#define V_DSP_INTERLACE (   x)    (((x) & 1) << 10)

Definition at line 212 of file vop.h.

◆ V_DSP_LAYER0_SEL

#define V_DSP_LAYER0_SEL (   x)    (((x) & 3) << 8)

Definition at line 236 of file vop.h.

◆ V_DSP_LAYER1_SEL

#define V_DSP_LAYER1_SEL (   x)    (((x) & 3) << 10)

Definition at line 235 of file vop.h.

◆ V_DSP_LAYER2_SEL

#define V_DSP_LAYER2_SEL (   x)    (((x) & 3) << 12)

Definition at line 234 of file vop.h.

◆ V_DSP_LAYER3_SEL

#define V_DSP_LAYER3_SEL (   x)    (((x) & 3) << 14)

Definition at line 233 of file vop.h.

◆ V_DSP_LUT_EN

#define V_DSP_LUT_EN (   x)    ((x)&1)

Definition at line 242 of file vop.h.

◆ V_DSP_OUT_MODE

#define V_DSP_OUT_MODE (   x)    ((x) & 0xf)

Definition at line 219 of file vop.h.

◆ V_DSP_OUT_ZERO

#define V_DSP_OUT_ZERO (   x)    (((x) & 1) << 17)

Definition at line 205 of file vop.h.

◆ V_DSP_RB_SWAP

#define V_DSP_RB_SWAP (   x)    (((x) & 1) << 13)

Definition at line 209 of file vop.h.

◆ V_DSP_RG_SWAP

#define V_DSP_RG_SWAP (   x)    (((x) & 1) << 14)

Definition at line 208 of file vop.h.

◆ V_DSP_VSYNC_POL

#define V_DSP_VSYNC_POL (   x)    (((x) & 1) << 5)

Definition at line 217 of file vop.h.

◆ V_DSP_WIDTH

#define V_DSP_WIDTH (   x)    ((x) & 0xfff)

Definition at line 348 of file vop.h.

◆ V_DSP_X_MIR_EN

#define V_DSP_X_MIR_EN (   x)    (((x) & 1) << 22)

Definition at line 200 of file vop.h.

◆ V_DSP_XST

#define V_DSP_XST (   x)    ((x) & 0x1fff)

Definition at line 352 of file vop.h.

◆ V_DSP_Y_MIR_EN

#define V_DSP_Y_MIR_EN (   x)    (((x) & 1) << 23)

Definition at line 199 of file vop.h.

◆ V_DSP_YST

#define V_DSP_YST (   x)    (((x) & 0x1fff) << 16)

Definition at line 351 of file vop.h.

◆ V_DSP_YUV_CLIP

#define V_DSP_YUV_CLIP (   x)    (((x) & 1) << 21)

Definition at line 201 of file vop.h.

◆ V_DUAL_MIPI_EN

#define V_DUAL_MIPI_EN (   x)    (((x) & 1) << 3)

Definition at line 147 of file vop.h.

◆ V_EDP_OUT_EN

#define V_EDP_OUT_EN (   x)    (((x) & 1) << 14)

Definition at line 148 of file vop.h.

◆ V_EDPI_HALT_EN

#define V_EDPI_HALT_EN (   x)    (((x)&1)<<8)

Definition at line 153 of file vop.h.

◆ V_EDPI_WMS_FS

#define V_EDPI_WMS_FS (   x)    (((x) & 1) << 10)

Definition at line 151 of file vop.h.

◆ V_EDPI_WMS_MODE

#define V_EDPI_WMS_MODE (   x)    (((x) & 1) << 9)

Definition at line 152 of file vop.h.

◆ V_HASP

#define V_HASP (   x)    (((x)&0x1fff)<<16)/* horizontal active start */

Definition at line 366 of file vop.h.

◆ V_HDMI_OUT_EN

#define V_HDMI_OUT_EN (   x)    (((x) & 1) << 13)

Definition at line 149 of file vop.h.

◆ V_HEAP

#define V_HEAP (   x)    (((x)&0x1fff)<<0)/* horizontal active end */

Definition at line 365 of file vop.h.

◆ V_HORPRD

#define V_HORPRD (   x)    (((x)&0x1fff)<<16) /* horizontal period */

Definition at line 361 of file vop.h.

◆ V_HSYNC

#define V_HSYNC (   x)    (((x)&0x1fff)<<0) /* hsync pulse width */

Definition at line 360 of file vop.h.

◆ V_MIPI_OUT_EN

#define V_MIPI_OUT_EN (   x)    (((x) & 1) << 15)

Definition at line 146 of file vop.h.

◆ V_MMU_EN

#define V_MMU_EN (   x)    (((x) & 1) << 20)

Definition at line 144 of file vop.h.

◆ V_NOC_HURRY_EN

#define V_NOC_HURRY_EN (   x)    ((x) & 1)

Definition at line 174 of file vop.h.

◆ V_NOC_HURRY_THRESHOLD

#define V_NOC_HURRY_THRESHOLD (   x)    (((x) & 0x3f) << 3)

Definition at line 172 of file vop.h.

◆ V_NOC_HURRY_VALUE

#define V_NOC_HURRY_VALUE (   x)    (((x) & 3) << 1)

Definition at line 173 of file vop.h.

◆ V_NOC_QOS_EN

#define V_NOC_QOS_EN (   x)    (((x) & 1) << 9)

Definition at line 171 of file vop.h.

◆ V_NOC_WIN_QOS

#define V_NOC_WIN_QOS (   x)    (((x) & 3) << 10)

Definition at line 170 of file vop.h.

◆ V_PRE_DITHER_DOWN_EN

#define V_PRE_DITHER_DOWN_EN (   x)    (((x) & 1) << 1)

Definition at line 241 of file vop.h.

◆ V_RGB565_VIRWIDTH

#define V_RGB565_VIRWIDTH (   x)    (((x / 2) & 0x3fff) << 0)

Definition at line 339 of file vop.h.

◆ V_RGB888_VIRWIDTH

#define V_RGB888_VIRWIDTH (   x)    (((((x * 3) >> 2)+((x) % 3)) & 0x3fff) << 0)

Definition at line 338 of file vop.h.

◆ V_RGB_OUT_EN

#define V_RGB_OUT_EN (   x)    (((x) & 1) << 12)

Definition at line 150 of file vop.h.

◆ V_STANDBY_EN

#define V_STANDBY_EN (   x)    (((x) & 1) << 22)

Definition at line 142 of file vop.h.

◆ V_VAEP

#define V_VAEP (   x)    (((x)&0x1fff)<<0)

Definition at line 367 of file vop.h.

◆ V_VASP

#define V_VASP (   x)    (((x)&0x1fff)<<16)

Definition at line 368 of file vop.h.

◆ V_VERPRD

#define V_VERPRD (   x)    (((x)&0x1fff)<<16)

Definition at line 363 of file vop.h.

◆ V_VSYNC

#define V_VSYNC (   x)    (((x)&0x1fff)<<0)

Definition at line 362 of file vop.h.

◆ V_WIN0_ALPHA_SWAP

#define V_WIN0_ALPHA_SWAP (   x)    (((x) & 1) << 13)

Definition at line 276 of file vop.h.

◆ V_WIN0_BIC_COE_SEL

#define V_WIN0_BIC_COE_SEL (   x)    (((x) & 3) << 2)

Definition at line 325 of file vop.h.

◆ V_WIN0_CBR_AXI_GATHER_EN

#define V_WIN0_CBR_AXI_GATHER_EN (   x)    (((x) & 1) << 1)

Definition at line 326 of file vop.h.

◆ V_WIN0_CBR_AXI_GATHER_NUM

#define V_WIN0_CBR_AXI_GATHER_NUM (   x)    (((x) & 7) << 12)

Definition at line 319 of file vop.h.

◆ V_WIN0_CBR_DEFLICK

#define V_WIN0_CBR_DEFLICK (   x)    (((x) & 1) << 19)

Definition at line 271 of file vop.h.

◆ V_WIN0_CBR_HOR_SCL_MODE

#define V_WIN0_CBR_HOR_SCL_MODE (   x)    (((x) & 3) << 24)

Definition at line 312 of file vop.h.

◆ V_WIN0_CBR_HSD_MODE

#define V_WIN0_CBR_HSD_MODE (   x)    (((x) & 3) << 28)

Definition at line 310 of file vop.h.

◆ V_WIN0_CBR_VER_SCL_MODE

#define V_WIN0_CBR_VER_SCL_MODE (   x)    (((x) & 3) << 26)

Definition at line 311 of file vop.h.

◆ V_WIN0_CBR_VSD_MODE

#define V_WIN0_CBR_VSD_MODE (   x)    (((x) & 1) << 31)

Definition at line 308 of file vop.h.

◆ V_WIN0_CBR_VSU_MODE

#define V_WIN0_CBR_VSU_MODE (   x)    (((x) & 1) << 30)

Definition at line 309 of file vop.h.

◆ V_WIN0_CSC_MODE

#define V_WIN0_CSC_MODE (   x)    (((x) & 3) << 10)

Definition at line 278 of file vop.h.

◆ V_WIN0_DATA_FMT

#define V_WIN0_DATA_FMT (   x)    (((x) & 7) << 1)

Definition at line 283 of file vop.h.

◆ V_WIN0_EN

#define V_WIN0_EN (   x)    ((x) & 1)

Definition at line 284 of file vop.h.

◆ V_WIN0_FMT_10

#define V_WIN0_FMT_10 (   x)    (((x) & 1) << 4)

Definition at line 282 of file vop.h.

◆ V_WIN0_HS_OFFSET_CBR

#define V_WIN0_HS_OFFSET_CBR (   x)    (((x) & 0xff) << 8)

Definition at line 357 of file vop.h.

◆ V_WIN0_HS_OFFSET_YRGB

#define V_WIN0_HS_OFFSET_YRGB (   x)    ((x) & 0xff)

Definition at line 358 of file vop.h.

◆ V_WIN0_INTERLACE_READ

#define V_WIN0_INTERLACE_READ (   x)    (((x) & 1) << 8)

Definition at line 280 of file vop.h.

◆ V_WIN0_KEY_COLOR

#define V_WIN0_KEY_COLOR (   x)    ((x) & 0x3fffffff)

Definition at line 334 of file vop.h.

◆ V_WIN0_KEY_EN

#define V_WIN0_KEY_EN (   x)    (((x) & 1) << 31)

Definition at line 333 of file vop.h.

◆ V_WIN0_LB_MODE

#define V_WIN0_LB_MODE (   x)    (((x) & 7) << 5)

Definition at line 281 of file vop.h.

◆ V_WIN0_LINE_LOAD_MODE

#define V_WIN0_LINE_LOAD_MODE (   x)    (((x) & 1) << 15)

Definition at line 318 of file vop.h.

◆ V_WIN0_MID_SWAP

#define V_WIN0_MID_SWAP (   x)    (((x) & 1) << 14)

Definition at line 275 of file vop.h.

◆ V_WIN0_NO_OUTSTANDING

#define V_WIN0_NO_OUTSTANDING (   x)    (((x) & 1) << 9)

Definition at line 279 of file vop.h.

◆ V_WIN0_PPAS_ZERO_EN

#define V_WIN0_PPAS_ZERO_EN (   x)    (((x) & 1) << 16)

Definition at line 273 of file vop.h.

◆ V_WIN0_RB_SWAP

#define V_WIN0_RB_SWAP (   x)    (((x) & 1) << 12)

Definition at line 277 of file vop.h.

◆ V_WIN0_UV_SWAP

#define V_WIN0_UV_SWAP (   x)    (((x) & 1) << 15)

Definition at line 274 of file vop.h.

◆ V_WIN0_VS_OFFSET_CBR

#define V_WIN0_VS_OFFSET_CBR (   x)    (((x) & 0xff) << 24)

Definition at line 355 of file vop.h.

◆ V_WIN0_VS_OFFSET_YRGB

#define V_WIN0_VS_OFFSET_YRGB (   x)    (((x) & 0xff) << 16)

Definition at line 356 of file vop.h.

◆ V_WIN0_VSD_CBR_GT2

#define V_WIN0_VSD_CBR_GT2 (   x)    (((x) & 1) << 7)

Definition at line 321 of file vop.h.

◆ V_WIN0_VSD_CBR_GT4

#define V_WIN0_VSD_CBR_GT4 (   x)    (((x) & 1) << 6)

Definition at line 322 of file vop.h.

◆ V_WIN0_VSD_YRGB_GT2

#define V_WIN0_VSD_YRGB_GT2 (   x)    (((x) & 1) << 5)

Definition at line 323 of file vop.h.

◆ V_WIN0_VSD_YRGB_GT4

#define V_WIN0_VSD_YRGB_GT4 (   x)    (((x) & 1) << 4)

Definition at line 324 of file vop.h.

◆ V_WIN0_YRGB_AXI_GATHER_EN

#define V_WIN0_YRGB_AXI_GATHER_EN (   x)    ((x) & 1)

Definition at line 327 of file vop.h.

◆ V_WIN0_YRGB_AXI_GATHER_NUM

#define V_WIN0_YRGB_AXI_GATHER_NUM (   x)    (((x) & 0xf) << 8)

Definition at line 320 of file vop.h.

◆ V_WIN0_YRGB_DEFLICK

#define V_WIN0_YRGB_DEFLICK (   x)    (((x) & 1) << 18)

Definition at line 272 of file vop.h.

◆ V_WIN0_YRGB_HOR_SCL_MODE

#define V_WIN0_YRGB_HOR_SCL_MODE (   x)    (((x) & 3) << 16)

Definition at line 317 of file vop.h.

◆ V_WIN0_YRGB_HSD_MODE

#define V_WIN0_YRGB_HSD_MODE (   x)    (((x) & 3) << 20)

Definition at line 315 of file vop.h.

◆ V_WIN0_YRGB_VER_SCL_MODE

#define V_WIN0_YRGB_VER_SCL_MODE (   x)    (((x) & 3) << 18)

Definition at line 316 of file vop.h.

◆ V_WIN0_YRGB_VSD_MODE

#define V_WIN0_YRGB_VSD_MODE (   x)    (((x) & 1) << 23)

Definition at line 313 of file vop.h.

◆ V_WIN0_YRGB_VSU_MODE

#define V_WIN0_YRGB_VSU_MODE (   x)    (((x) & 1) << 22)

Definition at line 314 of file vop.h.

◆ V_WIN0_YUV_CLIP

#define V_WIN0_YUV_CLIP (   x)    (((x) & 1) << 20)

Definition at line 270 of file vop.h.

◆ YUV_VIRWIDTH

#define YUV_VIRWIDTH (   x)    (((x / 4) & 0x3fff) << 0)

Definition at line 340 of file vop.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
LB_YUV_3840X5 
LB_YUV_2560X8 
LB_RGB_3840X2 
LB_RGB_2560X4 
LB_RGB_1920X5 
LB_RGB_1280X8 

Definition at line 93 of file vop.h.

◆ rockchip_fb_data_format_t

Enumerator
ARGB8888 
RGB888 
RGB565 

Definition at line 87 of file vop.h.

◆ vop_modes

enum vop_modes
Enumerator
VOP_MODE_EDP 
VOP_MODE_HDMI 
VOP_MODE_MIPI 
VOP_MODE_DUAL_MIPI 
VOP_MODE_NONE 
VOP_MODE_AUTO_DETECT 
VOP_MODE_UNKNOWN 

Definition at line 102 of file vop.h.

Function Documentation

◆ check_member()

check_member ( rockchip_vop_regs  ,
dsp_vact_st_end_f1  ,
0x19c   
)

◆ rkvop_enable()

void rkvop_enable ( u32  vop_id,
u32  fbbase 
)

Definition at line 14 of file vop.c.

References rockchip_vop_regs::reg_cfg_done, vop_regs, rockchip_vop_regs::win0_yrgb_mst, and write32().

Referenced by rk_display_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rkvop_mode_set()

◆ rkvop_prepare()