Lines Matching +full:- +full:2 +full:g
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* linux/drivers/gpu/drm/exynos/regs-gsc.h
7 * Register definition file for Samsung G-Scaler driver
13 /* G-Scaler enable */
29 #define GSC_ENABLE_OP_STATUS (1 << 2)
33 /* G-Scaler S/W reset */
37 /* G-Scaler IRQ */
41 #define GSC_IRQ_OR_MASK (1 << 2)
45 /* G-Scaler input control */
57 #define GSC_IN_ROT_YFLIP (2 << 16)
61 #define GSC_IN_RGB_HD_NARROW (2 << 14)
73 #define GSC_IN_YUV420_2P (2 << 8)
84 #define GSC_IN_LOCAL_FIMD_WB (2 << 1)
91 /* G-Scaler source image size */
98 /* G-Scaler source image offset */
105 /* G-Scaler cropped source image size */
112 /* G-Scaler output control */
122 #define GSC_OUT_RGB_HD_WIDE (2 << 10)
134 #define GSC_OUT_YUV420_2P (2 << 4)
140 #define GSC_OUT_TILE_TYPE_MASK (1 << 2)
141 #define GSC_OUT_TILE_C_16x8 (0 << 2)
142 #define GSC_OUT_TILE_C_16x16 (1 << 2)
148 /* G-Scaler scaled destination image size */
155 /* G-Scaler pre scale ratio */
164 /* G-Scaler main scale horizontal ratio */
169 /* G-Scaler main scale vertical ratio */
174 /* G-Scaler input chrominance stride */
179 /* G-Scaler destination image size */
186 /* G-Scaler destination image offset */
193 /* G-Scaler output chrominance stride */
198 /* G-Scaler input y address mask */
200 /* G-Scaler input y base address */
202 /* G-Scaler input y base current address */
205 /* G-Scaler input cb address mask */
207 /* G-Scaler input cb base address */
209 /* G-Scaler input cb base current address */
212 /* G-Scaler input cr address mask */
214 /* G-Scaler input cr base address */
216 /* G-Scaler input cr base current address */
219 /* G-Scaler input address mask */
225 /* G-Scaler output y address mask */
227 /* G-Scaler output y base address */
230 /* G-Scaler output cb address mask */
232 /* G-Scaler output cb base address */
235 /* G-Scaler output cr address mask */
237 /* G-Scaler output cr base address */
240 /* G-Scaler output address mask */
246 /* G-Scaler horizontal scaling filter */
249 /* G-Scaler vertical scaling filter */
252 /* G-Scaler BUS control */
260 /* G-Scaler V position */
265 /* G-Scaler clock initial count */
269 /* G-Scaler clock snoop count */
278 #define GSC_BLK_GSCL_WB_IN_SRC_SEL(x) (1 << (2 * x))