Lines Matching +full:1 +full:g

7  * Register definition file for Samsung G-Scaler driver
13 /* G-Scaler enable */
15 #define GSC_ENABLE_PP_UPDATE_TIME_MASK (1 << 9)
17 #define GSC_ENABLE_PP_UPDATE_TIME_EOPAS (1 << 9)
18 #define GSC_ENABLE_CLK_GATE_MODE_MASK (1 << 8)
19 #define GSC_ENABLE_CLK_GATE_MODE_FREE (1 << 8)
20 #define GSC_ENABLE_IPC_MODE_MASK (1 << 7)
22 #define GSC_ENABLE_IPC_MODE (1 << 7)
23 #define GSC_ENABLE_PP_UPDATE_MODE_MASK (1 << 6)
24 #define GSC_ENABLE_PP_UPDATE_FIRE_MODE (1 << 6)
25 #define GSC_ENABLE_IN_PP_UPDATE (1 << 5)
26 #define GSC_ENABLE_ON_CLEAR_MASK (1 << 4)
27 #define GSC_ENABLE_ON_CLEAR_ONESHOT (1 << 4)
28 #define GSC_ENABLE_QOS_ENABLE (1 << 3)
29 #define GSC_ENABLE_OP_STATUS (1 << 2)
30 #define GSC_ENABLE_SFR_UPDATE (1 << 1)
31 #define GSC_ENABLE_ON (1 << 0)
33 /* G-Scaler S/W reset */
35 #define GSC_SW_RESET_SRESET (1 << 0)
37 /* G-Scaler IRQ */
39 #define GSC_IRQ_STATUS_OR_IRQ (1 << 17)
40 #define GSC_IRQ_STATUS_OR_FRM_DONE (1 << 16)
41 #define GSC_IRQ_OR_MASK (1 << 2)
42 #define GSC_IRQ_FRMDONE_MASK (1 << 1)
43 #define GSC_IRQ_ENABLE (1 << 0)
45 /* G-Scaler input control */
47 #define GSC_IN_CHROM_STRIDE_SEL_MASK (1 << 20)
48 #define GSC_IN_CHROM_STRIDE_SEPAR (1 << 20)
49 #define GSC_IN_RB_SWAP_MASK (1 << 19)
50 #define GSC_IN_RB_SWAP (1 << 19)
58 #define GSC_IN_ROT_XFLIP (1 << 16)
62 #define GSC_IN_RGB_SD_WIDE (1 << 14)
64 #define GSC_IN_YUV422_1P_ORDER_MASK (1 << 13)
66 #define GSC_IN_YUV422_1P_OEDER_LSB_C (1 << 13)
67 #define GSC_IN_CHROMA_ORDER_MASK (1 << 12)
69 #define GSC_IN_CHROMA_ORDER_CRCB (1 << 12)
72 #define GSC_IN_RGB565 (1 << 8)
78 #define GSC_IN_TILE_TYPE_MASK (1 << 4)
80 #define GSC_IN_TILE_C_16x16 (1 << 4)
81 #define GSC_IN_TILE_MODE (1 << 3)
82 #define GSC_IN_LOCAL_SEL_MASK (3 << 1)
83 #define GSC_IN_LOCAL_CAM3 (3 << 1)
84 #define GSC_IN_LOCAL_FIMD_WB (2 << 1)
85 #define GSC_IN_LOCAL_CAM1 (1 << 1)
86 #define GSC_IN_LOCAL_CAM0 (0 << 1)
87 #define GSC_IN_PATH_MASK (1 << 0)
88 #define GSC_IN_PATH_LOCAL (1 << 0)
91 /* G-Scaler source image size */
98 /* G-Scaler source image offset */
105 /* G-Scaler cropped source image size */
112 /* G-Scaler output control */
116 #define GSC_OUT_CHROM_STRIDE_SEL_MASK (1 << 13)
117 #define GSC_OUT_CHROM_STRIDE_SEPAR (1 << 13)
118 #define GSC_OUT_RB_SWAP_MASK (1 << 12)
119 #define GSC_OUT_RB_SWAP (1 << 12)
123 #define GSC_OUT_RGB_SD_NARROW (1 << 10)
125 #define GSC_OUT_YUV422_1P_ORDER_MASK (1 << 9)
127 #define GSC_OUT_YUV422_1P_OEDER_LSB_C (1 << 9)
128 #define GSC_OUT_CHROMA_ORDER_MASK (1 << 8)
130 #define GSC_OUT_CHROMA_ORDER_CRCB (1 << 8)
133 #define GSC_OUT_RGB565 (1 << 4)
140 #define GSC_OUT_TILE_TYPE_MASK (1 << 2)
142 #define GSC_OUT_TILE_C_16x16 (1 << 2)
143 #define GSC_OUT_TILE_MODE (1 << 1)
144 #define GSC_OUT_PATH_MASK (1 << 0)
145 #define GSC_OUT_PATH_LOCAL (1 << 0)
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 */
254 #define GSC_BUSCON_INT_TIME_MASK (1 << 8)
256 #define GSC_BUSCON_INT_AXI_RESPONSE (1 << 8)
260 /* G-Scaler V position */
265 /* G-Scaler clock initial count */
269 /* G-Scaler clock snoop count */
276 #define GSC_BLK_SW_RESET_WB_DEST(x) (1 << (18 + x))
278 #define GSC_BLK_GSCL_WB_IN_SRC_SEL(x) (1 << (2 * x))
280 #define PXLASYNC_LO_MASK_CAMIF_GSCL(x) (1 << (x))