Lines Matching +full:0 +full:xd8000

19 #define SUN8I_MIXER_GLOBAL_CTL			0x0
20 #define SUN8I_MIXER_GLOBAL_STATUS 0x4
21 #define SUN8I_MIXER_GLOBAL_DBUFF 0x8
22 #define SUN8I_MIXER_GLOBAL_SIZE 0xc
24 #define SUN50I_MIXER_GLOBAL_SIZE 0x8
25 #define SUN50I_MIXER_GLOBAL_CLK 0xc
27 #define SUN8I_MIXER_GLOBAL_CTL_RT_EN BIT(0)
29 #define SUN8I_MIXER_GLOBAL_DBUFF_ENABLE BIT(0)
31 #define DE2_MIXER_UNIT_SIZE 0x6000
32 #define DE3_MIXER_UNIT_SIZE 0x3000
34 #define DE2_BLD_BASE 0x1000
35 #define DE2_CH_BASE 0x2000
36 #define DE2_CH_SIZE 0x1000
38 #define DE3_BLD_BASE 0x0800
39 #define DE3_CH_BASE 0x1000
40 #define DE3_CH_SIZE 0x0800
42 #define SUN8I_MIXER_BLEND_PIPE_CTL(base) ((base) + 0)
43 #define SUN8I_MIXER_BLEND_ATTR_FCOLOR(base, x) ((base) + 0x4 + 0x10 * (x))
44 #define SUN8I_MIXER_BLEND_ATTR_INSIZE(base, x) ((base) + 0x8 + 0x10 * (x))
45 #define SUN8I_MIXER_BLEND_ATTR_COORD(base, x) ((base) + 0xc + 0x10 * (x))
46 #define SUN8I_MIXER_BLEND_ROUTE(base) ((base) + 0x80)
47 #define SUN8I_MIXER_BLEND_PREMULTIPLY(base) ((base) + 0x84)
48 #define SUN8I_MIXER_BLEND_BKCOLOR(base) ((base) + 0x88)
49 #define SUN8I_MIXER_BLEND_OUTSIZE(base) ((base) + 0x8c)
50 #define SUN8I_MIXER_BLEND_MODE(base, x) ((base) + 0x90 + 0x04 * (x))
51 #define SUN8I_MIXER_BLEND_CK_CTL(base) ((base) + 0xb0)
52 #define SUN8I_MIXER_BLEND_CK_CFG(base) ((base) + 0xb4)
53 #define SUN8I_MIXER_BLEND_CK_MAX(base, x) ((base) + 0xc0 + 0x04 * (x))
54 #define SUN8I_MIXER_BLEND_CK_MIN(base, x) ((base) + 0xe0 + 0x04 * (x))
55 #define SUN8I_MIXER_BLEND_OUTCTL(base) ((base) + 0xfc)
56 #define SUN50I_MIXER_BLEND_CSC_CTL(base) ((base) + 0x100)
58 ((base) + 0x110 + (layer) * 0x30 + (x) * 4)
65 #define SUN8I_MIXER_BLEND_COLOR_BLACK 0xff000000
67 #define SUN8I_MIXER_BLEND_MODE_DEF 0x03010301
69 #define SUN8I_MIXER_BLEND_ROUTE_PIPE_MSK(n) (0xf << ((n) << 2))
75 #define SUN50I_MIXER_BLEND_CSC_CONST_VAL(d, c) (((d) << 16) | ((c) & 0xffff))
77 #define SUN8I_MIXER_FBFMT_ARGB8888 0
102 #define SUN8I_MIXER_FBFMT_YUYV 0
129 #define SUN8I_MIXER_FCE_EN 0xa0000
130 #define SUN8I_MIXER_BWS_EN 0xa2000
131 #define SUN8I_MIXER_LTI_EN 0xa4000
132 #define SUN8I_MIXER_PEAK_EN 0xa6000
133 #define SUN8I_MIXER_ASE_EN 0xa8000
134 #define SUN8I_MIXER_FCC_EN 0xaa000
135 #define SUN8I_MIXER_DCSC_EN 0xb0000
137 #define SUN50I_MIXER_FCE_EN 0x70000
138 #define SUN50I_MIXER_PEAK_EN 0x70800
139 #define SUN50I_MIXER_LCTI_EN 0x71000
140 #define SUN50I_MIXER_BLS_EN 0x71800
141 #define SUN50I_MIXER_FCC_EN 0x72000
142 #define SUN50I_MIXER_DNS_EN 0x80000
143 #define SUN50I_MIXER_DRC_EN 0xa0000
144 #define SUN50I_MIXER_FMT_EN 0xa8000
145 #define SUN50I_MIXER_CDC0_EN 0xd0000
146 #define SUN50I_MIXER_CDC1_EN 0xd8000
170 * scaler and 2 UI channels with scaler, bitmask would be 0xC.
245 return mixer->cfg->map[channel] * 0x20000 + DE2_CH_SIZE;