Lines Matching +full:1 +full:v
56 * 1 70 74 78 7c 150 154 158 15c
61 * 6 c0 c4 c8 cc 1a0 1a4 1a8 1ac
62 * 7 d0 d4 d8 dc 1b0 1b4 1b8 1bc
63 * 8 e0 e4 e8 ec 1c0 1c4 1c8 1cc
69 * 0 f0 f4 1d0 1d4
70 * 1 f8 fc 1d8 1dc
71 * 2 100 104 1e0 1e4
72 * 3 108 10c 1e8 1ec
73 * 4 110 114 1f0 1f4
74 * 5 118 11c 1f8 1fc
127 #define SCALER_MASK(hi_b, lo_b) ((1 << ((hi_b) - (lo_b) + 1)) - 1)
134 #define SCALER_STATUS_SCALER_RUNNING (1 << 1)
135 #define SCALER_STATUS_SCALER_READY_CLK_DOWN (1 << 0)
138 #define SCALER_CFG_FILL_EN (1 << 24)
139 #define SCALER_CFG_BLEND_COLOR_DIVIDE_ALPHA_EN (1 << 17)
140 #define SCALER_CFG_BLEND_EN (1 << 16)
141 #define SCALER_CFG_CSC_Y_OFFSET_SRC_EN (1 << 10)
142 #define SCALER_CFG_CSC_Y_OFFSET_DST_EN (1 << 9)
143 #define SCALER_CFG_16_BURST_MODE (1 << 8)
144 #define SCALER_CFG_SOFT_RESET (1 << 1)
145 #define SCALER_CFG_START_CMD (1 << 0)
148 #define SCALER_INT_EN_TIMEOUT (1 << 31)
149 #define SCALER_INT_EN_ILLEGAL_BLEND (1 << 24)
150 #define SCALER_INT_EN_ILLEGAL_RATIO (1 << 23)
151 #define SCALER_INT_EN_ILLEGAL_DST_HEIGHT (1 << 22)
152 #define SCALER_INT_EN_ILLEGAL_DST_WIDTH (1 << 21)
153 #define SCALER_INT_EN_ILLEGAL_DST_V_POS (1 << 20)
154 #define SCALER_INT_EN_ILLEGAL_DST_H_POS (1 << 19)
155 #define SCALER_INT_EN_ILLEGAL_DST_C_SPAN (1 << 18)
156 #define SCALER_INT_EN_ILLEGAL_DST_Y_SPAN (1 << 17)
157 #define SCALER_INT_EN_ILLEGAL_DST_CR_BASE (1 << 16)
158 #define SCALER_INT_EN_ILLEGAL_DST_CB_BASE (1 << 15)
159 #define SCALER_INT_EN_ILLEGAL_DST_Y_BASE (1 << 14)
160 #define SCALER_INT_EN_ILLEGAL_DST_COLOR (1 << 13)
161 #define SCALER_INT_EN_ILLEGAL_SRC_HEIGHT (1 << 12)
162 #define SCALER_INT_EN_ILLEGAL_SRC_WIDTH (1 << 11)
163 #define SCALER_INT_EN_ILLEGAL_SRC_CV_POS (1 << 10)
164 #define SCALER_INT_EN_ILLEGAL_SRC_CH_POS (1 << 9)
165 #define SCALER_INT_EN_ILLEGAL_SRC_YV_POS (1 << 8)
166 #define SCALER_INT_EN_ILLEGAL_SRC_YH_POS (1 << 7)
167 #define SCALER_INT_EN_ILLEGAL_DST_SPAN (1 << 6)
168 #define SCALER_INT_EN_ILLEGAL_SRC_Y_SPAN (1 << 5)
169 #define SCALER_INT_EN_ILLEGAL_SRC_CR_BASE (1 << 4)
170 #define SCALER_INT_EN_ILLEGAL_SRC_CB_BASE (1 << 3)
171 #define SCALER_INT_EN_ILLEGAL_SRC_Y_BASE (1 << 2)
172 #define SCALER_INT_EN_ILLEGAL_SRC_COLOR (1 << 1)
173 #define SCALER_INT_EN_FRAME_END (1 << 0)
176 #define SCALER_INT_STATUS_TIMEOUT (1 << 31)
177 #define SCALER_INT_STATUS_ILLEGAL_BLEND (1 << 24)
178 #define SCALER_INT_STATUS_ILLEGAL_RATIO (1 << 23)
179 #define SCALER_INT_STATUS_ILLEGAL_DST_HEIGHT (1 << 22)
180 #define SCALER_INT_STATUS_ILLEGAL_DST_WIDTH (1 << 21)
181 #define SCALER_INT_STATUS_ILLEGAL_DST_V_POS (1 << 20)
182 #define SCALER_INT_STATUS_ILLEGAL_DST_H_POS (1 << 19)
183 #define SCALER_INT_STATUS_ILLEGAL_DST_C_SPAN (1 << 18)
184 #define SCALER_INT_STATUS_ILLEGAL_DST_Y_SPAN (1 << 17)
185 #define SCALER_INT_STATUS_ILLEGAL_DST_CR_BASE (1 << 16)
186 #define SCALER_INT_STATUS_ILLEGAL_DST_CB_BASE (1 << 15)
187 #define SCALER_INT_STATUS_ILLEGAL_DST_Y_BASE (1 << 14)
188 #define SCALER_INT_STATUS_ILLEGAL_DST_COLOR (1 << 13)
189 #define SCALER_INT_STATUS_ILLEGAL_SRC_HEIGHT (1 << 12)
190 #define SCALER_INT_STATUS_ILLEGAL_SRC_WIDTH (1 << 11)
191 #define SCALER_INT_STATUS_ILLEGAL_SRC_CV_POS (1 << 10)
192 #define SCALER_INT_STATUS_ILLEGAL_SRC_CH_POS (1 << 9)
193 #define SCALER_INT_STATUS_ILLEGAL_SRC_YV_POS (1 << 8)
194 #define SCALER_INT_STATUS_ILLEGAL_SRC_YH_POS (1 << 7)
195 #define SCALER_INT_STATUS_ILLEGAL_DST_SPAN (1 << 6)
196 #define SCALER_INT_STATUS_ILLEGAL_SRC_Y_SPAN (1 << 5)
197 #define SCALER_INT_STATUS_ILLEGAL_SRC_CR_BASE (1 << 4)
198 #define SCALER_INT_STATUS_ILLEGAL_SRC_CB_BASE (1 << 3)
199 #define SCALER_INT_STATUS_ILLEGAL_SRC_Y_BASE (1 << 2)
200 #define SCALER_INT_STATUS_ILLEGAL_SRC_COLOR (1 << 1)
201 #define SCALER_INT_STATUS_FRAME_END (1 << 0)
204 #define SCALER_SRC_CFG_TILE_EN (1 << 10)
206 #define SCALER_SRC_CFG_SET_BYTE_SWAP(v) SCALER_SET(v, 6, 5) argument
208 #define SCALER_SRC_CFG_SET_COLOR_FORMAT(v) SCALER_SET(v, 4, 0) argument
232 #define SCALER_SRC_SPAN_SET_C_SPAN(v) SCALER_SET(v, 29, 16) argument
234 #define SCALER_SRC_SPAN_SET_Y_SPAN(v) SCALER_SET(v, 13, 0) argument
238 #define SCALER_SRC_Y_POS_SET_YH_POS(v) SCALER_SET(v, 31, 16) argument
240 #define SCALER_SRC_Y_POS_SET_YV_POS(v) SCALER_SET(v, 15, 0) argument
244 #define SCALER_SRC_WH_SET_WIDTH(v) SCALER_SET(v, 29, 16) argument
246 #define SCALER_SRC_WH_SET_HEIGHT(v) SCALER_SET(v, 13, 0) argument
250 #define SCALER_SRC_C_POS_SET_CH_POS(v) SCALER_SET(v, 31, 16) argument
252 #define SCALER_SRC_C_POS_SET_CV_POS(v) SCALER_SET(v, 15, 0) argument
256 #define SCALER_DST_CFG_SET_BYTE_SWAP(v) SCALER_SET(v, 6, 5) argument
258 #define SCALER_DST_CFG_SET_COLOR_FORMAT(v) SCALER_SET(v, 4, 0) argument
262 #define SCALER_DST_SPAN_SET_C_SPAN(v) SCALER_SET(v, 29, 16) argument
264 #define SCALER_DST_SPAN_SET_Y_SPAN(v) SCALER_SET(v, 13, 0) argument
268 #define SCALER_DST_WH_SET_WIDTH(v) SCALER_SET(v, 29, 16) argument
270 #define SCALER_DST_WH_SET_HEIGHT(v) SCALER_SET(v, 13, 0) argument
274 #define SCALER_DST_POS_SET_H_POS(v) SCALER_SET(v, 29, 16) argument
276 #define SCALER_DST_POS_SET_V_POS(v) SCALER_SET(v, 13, 0) argument
280 #define SCALER_H_RATIO_SET(v) SCALER_SET(v, 18, 0) argument
284 #define SCALER_V_RATIO_SET(v) SCALER_SET(v, 18, 0) argument
287 #define SCALER_ROT_CFG_FLIP_X_EN (1 << 3)
288 #define SCALER_ROT_CFG_FLIP_Y_EN (1 << 2)
289 #define SCALER_ROT_CFG_GET_ROTMODE(r) SCALER_GET(r, 1, 0)
290 #define SCALER_ROT_CFG_SET_ROTMODE(v) SCALER_SET(v, 1, 0) argument
291 #define SCALER_ROT_MODE_90 1
296 #define SCALER_COEF_SHIFT(i) (16 * (1 - (i) % 2))
299 #define SCALER_COEF_SET(v, i) \ argument
300 (((v) & 0x1ff) << SCALER_COEF_SHIFT(i))
304 #define SCALER_CSC_COEF_SET(v) SCALER_SET(v, 11, 0) argument
308 #define SCALER_DITH_CFG_SET_R_TYPE(v) SCALER_SET(v, 8, 6) argument
310 #define SCALER_DITH_CFG_SET_G_TYPE(v) SCALER_SET(v, 5, 3) argument
312 #define SCALER_DITH_CFG_SET_B_TYPE(v) SCALER_SET(v, 2, 0) argument
316 #define SCALER_TIMEOUT_CTRL_SET_TIMER_VALUE(v) SCALER_SET(v, 31, 16) argument
318 #define SCALER_TIMEOUT_CTRL_SET_TIMER_DIV(v) SCALER_SET(v, 7, 4) argument
319 #define SCALER_TIMEOUT_CTRL_TIMER_ENABLE (1 << 0)
325 #define SCALER_SRC_BLEND_COLOR_SEL_INV (1 << 31)
327 #define SCALER_SRC_BLEND_COLOR_SET_SEL(v) SCALER_SET(v, 30, 29) argument
328 #define SCALER_SRC_BLEND_COLOR_OP_SEL_INV (1 << 28)
330 #define SCALER_SRC_BLEND_COLOR_SET_OP_SEL(v) SCALER_SET(v, 27, 24) argument
332 #define SCALER_SRC_BLEND_COLOR_SET_COLOR0(v) SCALER_SET(v, 23, 16) argument
334 #define SCALER_SRC_BLEND_COLOR_SET_COLOR1(v) SCALER_SET(v, 15, 8) argument
336 #define SCALER_SRC_BLEND_COLOR_SET_COLOR2(v) SCALER_SET(v, 7, 0) argument
339 #define SCALER_SRC_BLEND_ALPHA_SEL_INV (1 << 31)
341 #define SCALER_SRC_BLEND_ALPHA_SET_SEL(v) SCALER_SET(v, 30, 29) argument
342 #define SCALER_SRC_BLEND_ALPHA_OP_SEL_INV (1 << 28)
344 #define SCALER_SRC_BLEND_ALPHA_SET_OP_SEL(v) SCALER_SET(v, 27, 24) argument
346 #define SCALER_SRC_BLEND_ALPHA_SET_ALPHA(v) SCALER_SET(v, 7, 0) argument
349 #define SCALER_DST_BLEND_COLOR_SEL_INV (1 << 31)
351 #define SCALER_DST_BLEND_COLOR_SET_SEL(v) SCALER_SET(v, 30, 29) argument
352 #define SCALER_DST_BLEND_COLOR_OP_SEL_INV (1 << 28)
354 #define SCALER_DST_BLEND_COLOR_SET_OP_SEL(v) SCALER_SET(v, 27, 24) argument
356 #define SCALER_DST_BLEND_COLOR_SET_COLOR0(v) SCALER_SET(v, 23, 16) argument
358 #define SCALER_DST_BLEND_COLOR_SET_COLOR1(v) SCALER_SET(v, 15, 8) argument
360 #define SCALER_DST_BLEND_COLOR_SET_COLOR2(v) SCALER_SET(v, 7, 0) argument
363 #define SCALER_DST_BLEND_ALPHA_SEL_INV (1 << 31)
365 #define SCALER_DST_BLEND_ALPHA_SET_SEL(v) SCALER_SET(v, 30, 29) argument
366 #define SCALER_DST_BLEND_ALPHA_OP_SEL_INV (1 << 28)
368 #define SCALER_DST_BLEND_ALPHA_SET_OP_SEL(v) SCALER_SET(v, 27, 24) argument
370 #define SCALER_DST_BLEND_ALPHA_SET_ALPHA(v) SCALER_SET(v, 7, 0) argument
374 #define SCALER_FILL_COLOR_SET_ALPHA(v) SCALER_SET(v, 31, 24) argument
376 #define SCALER_FILL_COLOR_SET_FILL_COLOR0(v) SCALER_SET(v, 23, 16) argument
378 #define SCALER_FILL_COLOR_SET_FILL_COLOR1(v) SCALER_SET(v, 15, 8) argument
380 #define SCALER_FILL_COLOR_SET_FILL_COLOR2(v) SCALER_SET(v, 7, 0) argument
383 #define SCALER_ADDR_Q_CONFIG_RST (1 << 0)
386 #define SCALER_SRC_ADDR_Q_STATUS_Y_FULL (1 << 23)
387 #define SCALER_SRC_ADDR_Q_STATUS_Y_EMPTY (1 << 22)
389 #define SCALER_SRC_ADDR_Q_STATUS_CB_FULL (1 << 15)
390 #define SCALER_SRC_ADDR_Q_STATUS_CB_EMPTY (1 << 14)
392 #define SCALER_SRC_ADDR_Q_STATUS_CR_FULL (1 << 7)
393 #define SCALER_SRC_ADDR_Q_STATUS_CR_EMPTY (1 << 6)
397 #define SCALER_DST_ADDR_Q_STATUS_Y_FULL (1 << 23)
398 #define SCALER_DST_ADDR_Q_STATUS_Y_EMPTY (1 << 22)
400 #define SCALER_DST_ADDR_Q_STATUS_CB_FULL (1 << 15)
401 #define SCALER_DST_ADDR_Q_STATUS_CB_EMPTY (1 << 14)
403 #define SCALER_DST_ADDR_Q_STATUS_CR_FULL (1 << 7)
404 #define SCALER_DST_ADDR_Q_STATUS_CR_EMPTY (1 << 6)