Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | MXR_STATUS 0x0000 |
#define | MXR_CFG 0x0004 |
#define | MXR_INT_EN 0x0008 |
#define | MXR_INT_STATUS 0x000C |
#define | MXR_LAYER_CFG 0x0010 |
#define | MXR_VIDEO_CFG 0x0014 |
#define | MXR_GRAPHIC0_CFG 0x0020 |
#define | MXR_GRAPHIC0_BASE 0x0024 |
#define | MXR_GRAPHIC0_SPAN 0x0028 |
#define | MXR_GRAPHIC0_SXY 0x002C |
#define | MXR_GRAPHIC0_WH 0x0030 |
#define | MXR_GRAPHIC0_DXY 0x0034 |
#define | MXR_GRAPHIC0_BLANK 0x0038 |
#define | MXR_GRAPHIC1_CFG 0x0040 |
#define | MXR_GRAPHIC1_BASE 0x0044 |
#define | MXR_GRAPHIC1_SPAN 0x0048 |
#define | MXR_GRAPHIC1_SXY 0x004C |
#define | MXR_GRAPHIC1_WH 0x0050 |
#define | MXR_GRAPHIC1_DXY 0x0054 |
#define | MXR_GRAPHIC1_BLANK 0x0058 |
#define | MXR_BG_CFG 0x0060 |
#define | MXR_BG_COLOR0 0x0064 |
#define | MXR_BG_COLOR1 0x0068 |
#define | MXR_BG_COLOR2 0x006C |
#define | MXR_CM_COEFF_Y 0x0080 |
#define | MXR_CM_COEFF_CB 0x0084 |
#define | MXR_CM_COEFF_CR 0x0088 |
#define | MXR_GRAPHIC0_BASE_S 0x2024 |
#define | MXR_GRAPHIC1_BASE_S 0x2044 |
#define | MXR_GRAPHIC_CFG(i) (0x0020 + (i) * 0x20) |
#define | MXR_GRAPHIC_BASE(i) (0x0024 + (i) * 0x20) |
#define | MXR_GRAPHIC_SPAN(i) (0x0028 + (i) * 0x20) |
#define | MXR_GRAPHIC_SXY(i) (0x002C + (i) * 0x20) |
#define | MXR_GRAPHIC_WH(i) (0x0030 + (i) * 0x20) |
#define | MXR_GRAPHIC_DXY(i) (0x0034 + (i) * 0x20) |
#define | MXR_GRAPHIC_BLANK(i) (0x0038 + (i) * 0x20) |
#define | MXR_GRAPHIC_BASE_S(i) (0x2024 + (i) * 0x20) |
#define | MXR_MASK(high_bit, low_bit) (((2 << ((high_bit) - (low_bit))) - 1) << (low_bit)) |
#define | MXR_MASK_VAL(val, high_bit, low_bit) (((val) << (low_bit)) & MXR_MASK(high_bit, low_bit)) |
#define | MXR_STATUS_SOFT_RESET (1 << 8) |
#define | MXR_STATUS_16_BURST (1 << 7) |
#define | MXR_STATUS_BURST_MASK (1 << 7) |
#define | MXR_STATUS_BIG_ENDIAN (1 << 3) |
#define | MXR_STATUS_ENDIAN_MASK (1 << 3) |
#define | MXR_STATUS_SYNC_ENABLE (1 << 2) |
#define | MXR_STATUS_REG_RUN (1 << 0) |
#define | MXR_CFG_LAYER_UPDATE (1 << 31) |
#define | MXR_CFG_LAYER_UPDATE_COUNT_MASK (3 << 29) |
#define | MXR_CFG_RGB601_0_255 (0 << 9) |
#define | MXR_CFG_RGB601_16_235 (1 << 9) |
#define | MXR_CFG_RGB709_0_255 (2 << 9) |
#define | MXR_CFG_RGB709_16_235 (3 << 9) |
#define | MXR_CFG_RGB_FMT_MASK 0x600 |
#define | MXR_CFG_OUT_YUV444 (0 << 8) |
#define | MXR_CFG_OUT_RGB888 (1 << 8) |
#define | MXR_CFG_OUT_MASK (1 << 8) |
#define | MXR_CFG_DST_SDO (0 << 7) |
#define | MXR_CFG_DST_HDMI (1 << 7) |
#define | MXR_CFG_DST_MASK (1 << 7) |
#define | MXR_CFG_SCAN_HD_720 (0 << 6) |
#define | MXR_CFG_SCAN_HD_1080 (1 << 6) |
#define | MXR_CFG_GRP1_ENABLE (1 << 5) |
#define | MXR_CFG_GRP0_ENABLE (1 << 4) |
#define | MXR_CFG_VP_ENABLE (1 << 3) |
#define | MXR_CFG_SCAN_INTERLACE (0 << 2) |
#define | MXR_CFG_SCAN_PROGRASSIVE (1 << 2) |
#define | MXR_CFG_SCAN_NTSC (0 << 1) |
#define | MXR_CFG_SCAN_PAL (1 << 1) |
#define | MXR_CFG_SCAN_SD (0 << 0) |
#define | MXR_CFG_SCAN_HD (1 << 0) |
#define | MXR_CFG_SCAN_MASK 0x47 |
#define | MXR_GRP_CFG_COLOR_KEY_DISABLE (1 << 21) |
#define | MXR_GRP_CFG_BLEND_PRE_MUL (1 << 20) |
#define | MXR_GRP_CFG_WIN_BLEND_EN (1 << 17) |
#define | MXR_GRP_CFG_PIXEL_BLEND_EN (1 << 16) |
#define | MXR_GRP_CFG_FORMAT_VAL(x) MXR_MASK_VAL(x, 11, 8) |
#define | MXR_GRP_CFG_FORMAT_MASK MXR_GRP_CFG_FORMAT_VAL(~0) |
#define | MXR_GRP_CFG_ALPHA_VAL(x) MXR_MASK_VAL(x, 7, 0) |
#define | MXR_GRP_WH_H_SCALE(x) MXR_MASK_VAL(x, 28, 28) |
#define | MXR_GRP_WH_V_SCALE(x) MXR_MASK_VAL(x, 12, 12) |
#define | MXR_GRP_WH_WIDTH(x) MXR_MASK_VAL(x, 26, 16) |
#define | MXR_GRP_WH_HEIGHT(x) MXR_MASK_VAL(x, 10, 0) |
#define | MXR_GRP_SXY_SX(x) MXR_MASK_VAL(x, 26, 16) |
#define | MXR_GRP_SXY_SY(x) MXR_MASK_VAL(x, 10, 0) |
#define | MXR_GRP_DXY_DX(x) MXR_MASK_VAL(x, 26, 16) |
#define | MXR_GRP_DXY_DY(x) MXR_MASK_VAL(x, 10, 0) |
#define | MXR_INT_EN_VSYNC (1 << 11) |
#define | MXR_INT_EN_ALL (0x0f << 8) |
#define | MXR_INT_CLEAR_VSYNC (1 << 11) |
#define | MXR_INT_STATUS_VSYNC (1 << 0) |
#define | MXR_LAYER_CFG_GRP1_VAL(x) MXR_MASK_VAL(x, 11, 8) |
#define | MXR_LAYER_CFG_GRP0_VAL(x) MXR_MASK_VAL(x, 7, 4) |
#define | MXR_LAYER_CFG_VP_VAL(x) MXR_MASK_VAL(x, 3, 0) |
#define MXR_BG_CFG 0x0060 |
Definition at line 40 of file regs-mixer.h.
#define MXR_BG_COLOR0 0x0064 |
Definition at line 41 of file regs-mixer.h.
#define MXR_BG_COLOR1 0x0068 |
Definition at line 42 of file regs-mixer.h.
#define MXR_BG_COLOR2 0x006C |
Definition at line 43 of file regs-mixer.h.
#define MXR_CFG 0x0004 |
Definition at line 21 of file regs-mixer.h.
#define MXR_CFG_DST_HDMI (1 << 7) |
Definition at line 92 of file regs-mixer.h.
#define MXR_CFG_DST_MASK (1 << 7) |
Definition at line 93 of file regs-mixer.h.
#define MXR_CFG_DST_SDO (0 << 7) |
Definition at line 91 of file regs-mixer.h.
#define MXR_CFG_GRP0_ENABLE (1 << 4) |
Definition at line 97 of file regs-mixer.h.
#define MXR_CFG_GRP1_ENABLE (1 << 5) |
Definition at line 96 of file regs-mixer.h.
#define MXR_CFG_LAYER_UPDATE (1 << 31) |
Definition at line 81 of file regs-mixer.h.
#define MXR_CFG_LAYER_UPDATE_COUNT_MASK (3 << 29) |
Definition at line 82 of file regs-mixer.h.
#define MXR_CFG_OUT_MASK (1 << 8) |
Definition at line 90 of file regs-mixer.h.
#define MXR_CFG_OUT_RGB888 (1 << 8) |
Definition at line 89 of file regs-mixer.h.
#define MXR_CFG_OUT_YUV444 (0 << 8) |
Definition at line 88 of file regs-mixer.h.
#define MXR_CFG_RGB601_0_255 (0 << 9) |
Definition at line 83 of file regs-mixer.h.
#define MXR_CFG_RGB601_16_235 (1 << 9) |
Definition at line 84 of file regs-mixer.h.
#define MXR_CFG_RGB709_0_255 (2 << 9) |
Definition at line 85 of file regs-mixer.h.
#define MXR_CFG_RGB709_16_235 (3 << 9) |
Definition at line 86 of file regs-mixer.h.
#define MXR_CFG_RGB_FMT_MASK 0x600 |
Definition at line 87 of file regs-mixer.h.
#define MXR_CFG_SCAN_HD (1 << 0) |
Definition at line 104 of file regs-mixer.h.
#define MXR_CFG_SCAN_HD_1080 (1 << 6) |
Definition at line 95 of file regs-mixer.h.
#define MXR_CFG_SCAN_HD_720 (0 << 6) |
Definition at line 94 of file regs-mixer.h.
#define MXR_CFG_SCAN_INTERLACE (0 << 2) |
Definition at line 99 of file regs-mixer.h.
#define MXR_CFG_SCAN_MASK 0x47 |
Definition at line 105 of file regs-mixer.h.
#define MXR_CFG_SCAN_NTSC (0 << 1) |
Definition at line 101 of file regs-mixer.h.
#define MXR_CFG_SCAN_PAL (1 << 1) |
Definition at line 102 of file regs-mixer.h.
#define MXR_CFG_SCAN_PROGRASSIVE (1 << 2) |
Definition at line 100 of file regs-mixer.h.
#define MXR_CFG_SCAN_SD (0 << 0) |
Definition at line 103 of file regs-mixer.h.
#define MXR_CFG_VP_ENABLE (1 << 3) |
Definition at line 98 of file regs-mixer.h.
#define MXR_CM_COEFF_CB 0x0084 |
Definition at line 45 of file regs-mixer.h.
#define MXR_CM_COEFF_CR 0x0088 |
Definition at line 46 of file regs-mixer.h.
#define MXR_CM_COEFF_Y 0x0080 |
Definition at line 44 of file regs-mixer.h.
#define MXR_GRAPHIC0_BASE 0x0024 |
Definition at line 27 of file regs-mixer.h.
#define MXR_GRAPHIC0_BASE_S 0x2024 |
Definition at line 47 of file regs-mixer.h.
#define MXR_GRAPHIC0_BLANK 0x0038 |
Definition at line 32 of file regs-mixer.h.
#define MXR_GRAPHIC0_CFG 0x0020 |
Definition at line 26 of file regs-mixer.h.
#define MXR_GRAPHIC0_DXY 0x0034 |
Definition at line 31 of file regs-mixer.h.
#define MXR_GRAPHIC0_SPAN 0x0028 |
Definition at line 28 of file regs-mixer.h.
#define MXR_GRAPHIC0_SXY 0x002C |
Definition at line 29 of file regs-mixer.h.
#define MXR_GRAPHIC0_WH 0x0030 |
Definition at line 30 of file regs-mixer.h.
#define MXR_GRAPHIC1_BASE 0x0044 |
Definition at line 34 of file regs-mixer.h.
#define MXR_GRAPHIC1_BASE_S 0x2044 |
Definition at line 48 of file regs-mixer.h.
#define MXR_GRAPHIC1_BLANK 0x0058 |
Definition at line 39 of file regs-mixer.h.
#define MXR_GRAPHIC1_CFG 0x0040 |
Definition at line 33 of file regs-mixer.h.
#define MXR_GRAPHIC1_DXY 0x0054 |
Definition at line 38 of file regs-mixer.h.
#define MXR_GRAPHIC1_SPAN 0x0048 |
Definition at line 35 of file regs-mixer.h.
#define MXR_GRAPHIC1_SXY 0x004C |
Definition at line 36 of file regs-mixer.h.
#define MXR_GRAPHIC1_WH 0x0050 |
Definition at line 37 of file regs-mixer.h.
#define MXR_GRAPHIC_BASE | ( | i | ) | (0x0024 + (i) * 0x20) |
Definition at line 52 of file regs-mixer.h.
#define MXR_GRAPHIC_BASE_S | ( | i | ) | (0x2024 + (i) * 0x20) |
Definition at line 58 of file regs-mixer.h.
#define MXR_GRAPHIC_BLANK | ( | i | ) | (0x0038 + (i) * 0x20) |
Definition at line 57 of file regs-mixer.h.
#define MXR_GRAPHIC_CFG | ( | i | ) | (0x0020 + (i) * 0x20) |
Definition at line 51 of file regs-mixer.h.
#define MXR_GRAPHIC_DXY | ( | i | ) | (0x0034 + (i) * 0x20) |
Definition at line 56 of file regs-mixer.h.
#define MXR_GRAPHIC_SPAN | ( | i | ) | (0x0028 + (i) * 0x20) |
Definition at line 53 of file regs-mixer.h.
#define MXR_GRAPHIC_SXY | ( | i | ) | (0x002C + (i) * 0x20) |
Definition at line 54 of file regs-mixer.h.
#define MXR_GRAPHIC_WH | ( | i | ) | (0x0030 + (i) * 0x20) |
Definition at line 55 of file regs-mixer.h.
#define MXR_GRP_CFG_ALPHA_VAL | ( | x | ) | MXR_MASK_VAL(x, 7, 0) |
Definition at line 114 of file regs-mixer.h.
#define MXR_GRP_CFG_BLEND_PRE_MUL (1 << 20) |
Definition at line 109 of file regs-mixer.h.
#define MXR_GRP_CFG_COLOR_KEY_DISABLE (1 << 21) |
Definition at line 108 of file regs-mixer.h.
#define MXR_GRP_CFG_FORMAT_MASK MXR_GRP_CFG_FORMAT_VAL(~0) |
Definition at line 113 of file regs-mixer.h.
#define MXR_GRP_CFG_FORMAT_VAL | ( | x | ) | MXR_MASK_VAL(x, 11, 8) |
Definition at line 112 of file regs-mixer.h.
#define MXR_GRP_CFG_PIXEL_BLEND_EN (1 << 16) |
Definition at line 111 of file regs-mixer.h.
#define MXR_GRP_CFG_WIN_BLEND_EN (1 << 17) |
Definition at line 110 of file regs-mixer.h.
#define MXR_GRP_DXY_DX | ( | x | ) | MXR_MASK_VAL(x, 26, 16) |
Definition at line 127 of file regs-mixer.h.
#define MXR_GRP_DXY_DY | ( | x | ) | MXR_MASK_VAL(x, 10, 0) |
Definition at line 128 of file regs-mixer.h.
#define MXR_GRP_SXY_SX | ( | x | ) | MXR_MASK_VAL(x, 26, 16) |
Definition at line 123 of file regs-mixer.h.
#define MXR_GRP_SXY_SY | ( | x | ) | MXR_MASK_VAL(x, 10, 0) |
Definition at line 124 of file regs-mixer.h.
#define MXR_GRP_WH_H_SCALE | ( | x | ) | MXR_MASK_VAL(x, 28, 28) |
Definition at line 117 of file regs-mixer.h.
#define MXR_GRP_WH_HEIGHT | ( | x | ) | MXR_MASK_VAL(x, 10, 0) |
Definition at line 120 of file regs-mixer.h.
#define MXR_GRP_WH_V_SCALE | ( | x | ) | MXR_MASK_VAL(x, 12, 12) |
Definition at line 118 of file regs-mixer.h.
#define MXR_GRP_WH_WIDTH | ( | x | ) | MXR_MASK_VAL(x, 26, 16) |
Definition at line 119 of file regs-mixer.h.
#define MXR_INT_CLEAR_VSYNC (1 << 11) |
Definition at line 135 of file regs-mixer.h.
#define MXR_INT_EN 0x0008 |
Definition at line 22 of file regs-mixer.h.
#define MXR_INT_EN_ALL (0x0f << 8) |
Definition at line 132 of file regs-mixer.h.
#define MXR_INT_EN_VSYNC (1 << 11) |
Definition at line 131 of file regs-mixer.h.
#define MXR_INT_STATUS 0x000C |
Definition at line 23 of file regs-mixer.h.
#define MXR_INT_STATUS_VSYNC (1 << 0) |
Definition at line 136 of file regs-mixer.h.
#define MXR_LAYER_CFG 0x0010 |
Definition at line 24 of file regs-mixer.h.
#define MXR_LAYER_CFG_GRP0_VAL | ( | x | ) | MXR_MASK_VAL(x, 7, 4) |
Definition at line 140 of file regs-mixer.h.
#define MXR_LAYER_CFG_GRP1_VAL | ( | x | ) | MXR_MASK_VAL(x, 11, 8) |
Definition at line 139 of file regs-mixer.h.
#define MXR_LAYER_CFG_VP_VAL | ( | x | ) | MXR_MASK_VAL(x, 3, 0) |
Definition at line 141 of file regs-mixer.h.
#define MXR_MASK | ( | high_bit, | |
low_bit | |||
) | (((2 << ((high_bit) - (low_bit))) - 1) << (low_bit)) |
Definition at line 65 of file regs-mixer.h.
#define MXR_MASK_VAL | ( | val, | |
high_bit, | |||
low_bit | |||
) | (((val) << (low_bit)) & MXR_MASK(high_bit, low_bit)) |
Definition at line 68 of file regs-mixer.h.
#define MXR_STATUS 0x0000 |
Definition at line 20 of file regs-mixer.h.
#define MXR_STATUS_16_BURST (1 << 7) |
Definition at line 73 of file regs-mixer.h.
#define MXR_STATUS_BIG_ENDIAN (1 << 3) |
Definition at line 75 of file regs-mixer.h.
#define MXR_STATUS_BURST_MASK (1 << 7) |
Definition at line 74 of file regs-mixer.h.
#define MXR_STATUS_ENDIAN_MASK (1 << 3) |
Definition at line 76 of file regs-mixer.h.
#define MXR_STATUS_REG_RUN (1 << 0) |
Definition at line 78 of file regs-mixer.h.
#define MXR_STATUS_SOFT_RESET (1 << 8) |
Definition at line 72 of file regs-mixer.h.
#define MXR_STATUS_SYNC_ENABLE (1 << 2) |
Definition at line 77 of file regs-mixer.h.
#define MXR_VIDEO_CFG 0x0014 |
Definition at line 25 of file regs-mixer.h.