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_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_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_16_BURST (1 << 7) |
#define | MXR_STATUS_BURST_MASK (1 << 7) |
#define | MXR_STATUS_SYNC_ENABLE (1 << 2) |
#define | MXR_STATUS_REG_RUN (1 << 0) |
#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_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 37 of file regs-mixer.h.
#define MXR_BG_COLOR0 0x0064 |
Definition at line 38 of file regs-mixer.h.
#define MXR_BG_COLOR1 0x0068 |
Definition at line 39 of file regs-mixer.h.
#define MXR_BG_COLOR2 0x006C |
Definition at line 40 of file regs-mixer.h.
#define MXR_CFG 0x0004 |
Definition at line 18 of file regs-mixer.h.
#define MXR_CFG_DST_HDMI (1 << 7) |
Definition at line 72 of file regs-mixer.h.
#define MXR_CFG_DST_MASK (1 << 7) |
Definition at line 73 of file regs-mixer.h.
#define MXR_CFG_DST_SDO (0 << 7) |
Definition at line 71 of file regs-mixer.h.
#define MXR_CFG_GRP0_ENABLE (1 << 4) |
Definition at line 77 of file regs-mixer.h.
#define MXR_CFG_GRP1_ENABLE (1 << 5) |
Definition at line 76 of file regs-mixer.h.
#define MXR_CFG_OUT_MASK (1 << 8) |
Definition at line 70 of file regs-mixer.h.
#define MXR_CFG_OUT_RGB888 (1 << 8) |
Definition at line 69 of file regs-mixer.h.
#define MXR_CFG_OUT_YUV444 (0 << 8) |
Definition at line 68 of file regs-mixer.h.
#define MXR_CFG_SCAN_HD (1 << 0) |
Definition at line 84 of file regs-mixer.h.
#define MXR_CFG_SCAN_HD_1080 (1 << 6) |
Definition at line 75 of file regs-mixer.h.
#define MXR_CFG_SCAN_HD_720 (0 << 6) |
Definition at line 74 of file regs-mixer.h.
#define MXR_CFG_SCAN_INTERLACE (0 << 2) |
Definition at line 79 of file regs-mixer.h.
#define MXR_CFG_SCAN_MASK 0x47 |
Definition at line 85 of file regs-mixer.h.
#define MXR_CFG_SCAN_NTSC (0 << 1) |
Definition at line 81 of file regs-mixer.h.
#define MXR_CFG_SCAN_PAL (1 << 1) |
Definition at line 82 of file regs-mixer.h.
#define MXR_CFG_SCAN_PROGRASSIVE (1 << 2) |
Definition at line 80 of file regs-mixer.h.
#define MXR_CFG_SCAN_SD (0 << 0) |
Definition at line 83 of file regs-mixer.h.
#define MXR_CFG_VP_ENABLE (1 << 3) |
Definition at line 78 of file regs-mixer.h.
#define MXR_GRAPHIC0_BASE 0x0024 |
Definition at line 24 of file regs-mixer.h.
#define MXR_GRAPHIC0_BLANK 0x0038 |
Definition at line 29 of file regs-mixer.h.
#define MXR_GRAPHIC0_CFG 0x0020 |
Definition at line 23 of file regs-mixer.h.
#define MXR_GRAPHIC0_DXY 0x0034 |
Definition at line 28 of file regs-mixer.h.
#define MXR_GRAPHIC0_SPAN 0x0028 |
Definition at line 25 of file regs-mixer.h.
#define MXR_GRAPHIC0_SXY 0x002C |
Definition at line 26 of file regs-mixer.h.
#define MXR_GRAPHIC0_WH 0x0030 |
Definition at line 27 of file regs-mixer.h.
#define MXR_GRAPHIC1_BASE 0x0044 |
Definition at line 31 of file regs-mixer.h.
#define MXR_GRAPHIC1_BLANK 0x0058 |
Definition at line 36 of file regs-mixer.h.
#define MXR_GRAPHIC1_CFG 0x0040 |
Definition at line 30 of file regs-mixer.h.
#define MXR_GRAPHIC1_DXY 0x0054 |
Definition at line 35 of file regs-mixer.h.
#define MXR_GRAPHIC1_SPAN 0x0048 |
Definition at line 32 of file regs-mixer.h.
#define MXR_GRAPHIC1_SXY 0x004C |
Definition at line 33 of file regs-mixer.h.
#define MXR_GRAPHIC1_WH 0x0050 |
Definition at line 34 of file regs-mixer.h.
#define MXR_GRAPHIC_BASE | ( | i | ) | (0x0024 + (i) * 0x20) |
Definition at line 44 of file regs-mixer.h.
#define MXR_GRAPHIC_CFG | ( | i | ) | (0x0020 + (i) * 0x20) |
Definition at line 43 of file regs-mixer.h.
#define MXR_GRAPHIC_DXY | ( | i | ) | (0x0034 + (i) * 0x20) |
Definition at line 48 of file regs-mixer.h.
#define MXR_GRAPHIC_SPAN | ( | i | ) | (0x0028 + (i) * 0x20) |
Definition at line 45 of file regs-mixer.h.
#define MXR_GRAPHIC_SXY | ( | i | ) | (0x002C + (i) * 0x20) |
Definition at line 46 of file regs-mixer.h.
#define MXR_GRAPHIC_WH | ( | i | ) | (0x0030 + (i) * 0x20) |
Definition at line 47 of file regs-mixer.h.
#define MXR_GRP_CFG_ALPHA_VAL | ( | x | ) | MXR_MASK_VAL(x, 7, 0) |
Definition at line 92 of file regs-mixer.h.
#define MXR_GRP_CFG_BLEND_PRE_MUL (1 << 20) |
Definition at line 89 of file regs-mixer.h.
#define MXR_GRP_CFG_COLOR_KEY_DISABLE (1 << 21) |
Definition at line 88 of file regs-mixer.h.
#define MXR_GRP_CFG_FORMAT_MASK MXR_GRP_CFG_FORMAT_VAL(~0) |
Definition at line 91 of file regs-mixer.h.
#define MXR_GRP_CFG_FORMAT_VAL | ( | x | ) | MXR_MASK_VAL(x, 11, 8) |
Definition at line 90 of file regs-mixer.h.
#define MXR_GRP_DXY_DX | ( | x | ) | MXR_MASK_VAL(x, 26, 16) |
Definition at line 105 of file regs-mixer.h.
#define MXR_GRP_DXY_DY | ( | x | ) | MXR_MASK_VAL(x, 10, 0) |
Definition at line 106 of file regs-mixer.h.
#define MXR_GRP_SXY_SX | ( | x | ) | MXR_MASK_VAL(x, 26, 16) |
Definition at line 101 of file regs-mixer.h.
#define MXR_GRP_SXY_SY | ( | x | ) | MXR_MASK_VAL(x, 10, 0) |
Definition at line 102 of file regs-mixer.h.
#define MXR_GRP_WH_H_SCALE | ( | x | ) | MXR_MASK_VAL(x, 28, 28) |
Definition at line 95 of file regs-mixer.h.
#define MXR_GRP_WH_HEIGHT | ( | x | ) | MXR_MASK_VAL(x, 10, 0) |
Definition at line 98 of file regs-mixer.h.
#define MXR_GRP_WH_V_SCALE | ( | x | ) | MXR_MASK_VAL(x, 12, 12) |
Definition at line 96 of file regs-mixer.h.
#define MXR_GRP_WH_WIDTH | ( | x | ) | MXR_MASK_VAL(x, 26, 16) |
Definition at line 97 of file regs-mixer.h.
#define MXR_INT_CLEAR_VSYNC (1 << 11) |
Definition at line 113 of file regs-mixer.h.
#define MXR_INT_EN 0x0008 |
Definition at line 19 of file regs-mixer.h.
#define MXR_INT_EN_ALL (0x0f << 8) |
Definition at line 110 of file regs-mixer.h.
#define MXR_INT_EN_VSYNC (1 << 11) |
Definition at line 109 of file regs-mixer.h.
#define MXR_INT_STATUS 0x000C |
Definition at line 20 of file regs-mixer.h.
#define MXR_INT_STATUS_VSYNC (1 << 0) |
Definition at line 114 of file regs-mixer.h.
#define MXR_LAYER_CFG 0x0010 |
Definition at line 21 of file regs-mixer.h.
#define MXR_LAYER_CFG_GRP0_VAL | ( | x | ) | MXR_MASK_VAL(x, 7, 4) |
Definition at line 118 of file regs-mixer.h.
#define MXR_LAYER_CFG_GRP1_VAL | ( | x | ) | MXR_MASK_VAL(x, 11, 8) |
Definition at line 117 of file regs-mixer.h.
#define MXR_LAYER_CFG_VP_VAL | ( | x | ) | MXR_MASK_VAL(x, 3, 0) |
Definition at line 119 of file regs-mixer.h.
#define MXR_MASK | ( | high_bit, | |
low_bit | |||
) | (((2 << ((high_bit) - (low_bit))) - 1) << (low_bit)) |
Definition at line 55 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 58 of file regs-mixer.h.
#define MXR_STATUS 0x0000 |
Definition at line 17 of file regs-mixer.h.
#define MXR_STATUS_16_BURST (1 << 7) |
Definition at line 62 of file regs-mixer.h.
#define MXR_STATUS_BURST_MASK (1 << 7) |
Definition at line 63 of file regs-mixer.h.
#define MXR_STATUS_REG_RUN (1 << 0) |
Definition at line 65 of file regs-mixer.h.
#define MXR_STATUS_SYNC_ENABLE (1 << 2) |
Definition at line 64 of file regs-mixer.h.
#define MXR_VIDEO_CFG 0x0014 |
Definition at line 22 of file regs-mixer.h.