Lines Matching +full:- +full:16 +full:g
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
6 * Register definition file for Samsung G-Scaler driver
12 /* G-Scaler enable */
18 /* G-Scaler S/W reset */
22 /* G-Scaler IRQ */
25 #define GSC_IRQ_STATUS_FRM_DONE_IRQ (1 << 16)
29 /* G-Scaler input control */
31 #define GSC_IN_ROT_MASK (7 << 16)
32 #define GSC_IN_ROT_270 (7 << 16)
33 #define GSC_IN_ROT_90_YFLIP (6 << 16)
34 #define GSC_IN_ROT_90_XFLIP (5 << 16)
35 #define GSC_IN_ROT_90 (4 << 16)
36 #define GSC_IN_ROT_180 (3 << 16)
37 #define GSC_IN_ROT_YFLIP (2 << 16)
38 #define GSC_IN_ROT_XFLIP (1 << 16)
65 /* G-Scaler source image size */
67 #define GSC_SRCIMG_HEIGHT(x) ((x) << 16)
70 /* G-Scaler source image offset */
72 #define GSC_SRCIMG_OFFSET_Y(x) ((x) << 16)
75 /* G-Scaler cropped source image size */
77 #define GSC_CROPPED_HEIGHT(x) ((x) << 16)
80 /* G-Scaler output control */
110 /* G-Scaler scaled destination image size */
112 #define GSC_SCALED_HEIGHT(x) ((x) << 16)
115 /* G-Scaler pre scale ratio */
118 #define GSC_PRESC_V_RATIO(x) ((x) << 16)
121 /* G-Scaler main scale horizontal ratio */
125 /* G-Scaler main scale vertical ratio */
129 /* G-Scaler destination image size */
131 #define GSC_DSTIMG_HEIGHT(x) ((x) << 16)
134 /* G-Scaler destination image offset */
136 #define GSC_DSTIMG_OFFSET_Y(x) ((x) << 16)
139 /* G-Scaler input y address mask */
141 /* G-Scaler input y base address */
144 /* G-Scaler input cb address mask */
146 /* G-Scaler input cb base address */
149 /* G-Scaler input cr address mask */
151 /* G-Scaler input cr base address */
154 /* G-Scaler output y address mask */
156 /* G-Scaler output y base address */
159 /* G-Scaler output cb address mask */
161 /* G-Scaler output cb base address */
164 /* G-Scaler output cr address mask */
166 /* G-Scaler output cr base address */