Lines Matching +full:0 +full:x850
24 #define SUN4I_BACKEND_MODCTL_REG 0x800
28 #define SUN4I_BACKEND_MODCTL_OUT_LCD0 (0 << 20)
38 #define SUN4I_BACKEND_MODCTL_DEBE_EN BIT(0)
40 #define SUN4I_BACKEND_BACKCOLOR_REG 0x804
43 #define SUN4I_BACKEND_DISSIZE_REG 0x808
44 #define SUN4I_BACKEND_DISSIZE(w, h) (((((h) - 1) & 0xffff) << 16) | \
45 (((w) - 1) & 0xffff))
47 #define SUN4I_BACKEND_LAYSIZE_REG(l) (0x810 + (0x4 * (l)))
48 #define SUN4I_BACKEND_LAYSIZE(w, h) (((((h) - 1) & 0x1fff) << 16) | \
49 (((w) - 1) & 0x1fff))
51 #define SUN4I_BACKEND_LAYCOOR_REG(l) (0x820 + (0x4 * (l)))
52 #define SUN4I_BACKEND_LAYCOOR(x, y) ((((u32)(y) & 0xffff) << 16) | \
53 ((u32)(x) & 0xffff))
55 #define SUN4I_BACKEND_LAYLINEWIDTH_REG(l) (0x840 + (0x4 * (l)))
57 #define SUN4I_BACKEND_LAYFB_L32ADD_REG(l) (0x850 + (0x4 * (l)))
59 #define SUN4I_BACKEND_LAYFB_H4ADD_REG 0x860
63 #define SUN4I_BACKEND_REGBUFFCTL_REG 0x870
65 #define SUN4I_BACKEND_REGBUFFCTL_LOADCTL BIT(0)
67 #define SUN4I_BACKEND_CKMAX_REG 0x880
68 #define SUN4I_BACKEND_CKMIN_REG 0x884
69 #define SUN4I_BACKEND_CKCFG_REG 0x888
70 #define SUN4I_BACKEND_ATTCTL_REG0(l) (0x890 + (0x4 * (l)))
79 #define SUN4I_BACKEND_ATTCTL_REG0_LAY_GLBALPHA_EN BIT(0)
81 #define SUN4I_BACKEND_ATTCTL_REG1(l) (0x8a0 + (0x4 * (l)))
85 #define SUN4I_BACKEND_LAY_FBFMT_1BPP (0 << 8)
100 #define SUN4I_BACKEND_DLCDPCTL_REG 0x8b0
101 #define SUN4I_BACKEND_DLCDPFRMBUF_ADDRCTL_REG 0x8b4
102 #define SUN4I_BACKEND_DLCDPCOOR_REG0 0x8b8
103 #define SUN4I_BACKEND_DLCDPCOOR_REG1 0x8bc
105 #define SUN4I_BACKEND_INT_EN_REG 0x8c0
106 #define SUN4I_BACKEND_INT_FLAG_REG 0x8c4
109 #define SUN4I_BACKEND_HWCCTL_REG 0x8d8
110 #define SUN4I_BACKEND_HWCFBCTL_REG 0x8e0
111 #define SUN4I_BACKEND_WBCTL_REG 0x8f0
112 #define SUN4I_BACKEND_WBADD_REG 0x8f4
113 #define SUN4I_BACKEND_WBLINEWIDTH_REG 0x8f8
114 #define SUN4I_BACKEND_SPREN_REG 0x900
115 #define SUN4I_BACKEND_SPRFMTCTL_REG 0x908
116 #define SUN4I_BACKEND_SPRALPHACTL_REG 0x90c
118 #define SUN4I_BACKEND_IYUVCTL_REG 0x920
124 #define SUN4I_BACKEND_IYUVCTL_FBFMT_PLANAR_YUV111 (0 << 12)
129 #define SUN4I_BACKEND_IYUVCTL_FBPS_UYVY (0 << 8)
131 #define SUN4I_BACKEND_IYUVCTL_FBPS_AYUV (0 << 8)
132 #define SUN4I_BACKEND_IYUVCTL_EN BIT(0)
134 #define SUN4I_BACKEND_IYUVADD_REG(c) (0x930 + (0x4 * (c)))
136 #define SUN4I_BACKEND_IYUVLINEWIDTH_REG(c) (0x940 + (0x4 * (c)))
138 #define SUN4I_BACKEND_YGCOEF_REG(c) (0x950 + (0x4 * (c)))
139 #define SUN4I_BACKEND_YGCONS_REG 0x95c
140 #define SUN4I_BACKEND_URCOEF_REG(c) (0x960 + (0x4 * (c)))
141 #define SUN4I_BACKEND_URCONS_REG 0x96c
142 #define SUN4I_BACKEND_VBCOEF_REG(c) (0x970 + (0x4 * (c)))
143 #define SUN4I_BACKEND_VBCONS_REG 0x97c
144 #define SUN4I_BACKEND_KSCTL_REG 0x980
145 #define SUN4I_BACKEND_KSBKCOLOR_REG 0x984
146 #define SUN4I_BACKEND_KSFSTLINEWIDTH_REG 0x988
147 #define SUN4I_BACKEND_KSVSCAFCT_REG 0x98c
148 #define SUN4I_BACKEND_KSHSCACOEF_REG(x) (0x9a0 + (0x4 * (x)))
149 #define SUN4I_BACKEND_OCCTL_REG 0x9c0
150 #define SUN4I_BACKEND_OCCTL_ENABLE BIT(0)
152 #define SUN4I_BACKEND_OCRCOEF_REG(x) (0x9d0 + (0x4 * (x)))
153 #define SUN4I_BACKEND_OCRCONS_REG 0x9dc
154 #define SUN4I_BACKEND_OCGCOEF_REG(x) (0x9e0 + (0x4 * (x)))
155 #define SUN4I_BACKEND_OCGCONS_REG 0x9ec
156 #define SUN4I_BACKEND_OCBCOEF_REG(x) (0x9f0 + (0x4 * (x)))
157 #define SUN4I_BACKEND_OCBCONS_REG 0x9fc
158 #define SUN4I_BACKEND_SPRCOORCTL_REG(s) (0xa00 + (0x4 * (s)))
159 #define SUN4I_BACKEND_SPRATTCTL_REG(s) (0xb00 + (0x4 * (s)))
160 #define SUN4I_BACKEND_SPRADD_REG(s) (0xc00 + (0x4 * (s)))
161 #define SUN4I_BACKEND_SPRLINEWIDTH_REG(s) (0xd00 + (0x4 * (s)))
163 #define SUN4I_BACKEND_SPRPALTAB_OFF 0x4000
164 #define SUN4I_BACKEND_GAMMATAB_OFF 0x4400
165 #define SUN4I_BACKEND_HWCPATTERN_OFF 0x4800
166 #define SUN4I_BACKEND_HWCCOLORTAB_OFF 0x4c00
167 #define SUN4I_BACKEND_PIPE_OFF(p) (0x5000 + (0x400 * (p)))