Lines Matching +full:- +full:15 +full:v

1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* drivers/gpu/drm/exynos/regs-scaler.h
56 * 1 70 74 78 7c 150 154 158 15c
127 #define SCALER_MASK(hi_b, lo_b) ((1 << ((hi_b) - (lo_b) + 1)) - 1)
158 #define SCALER_INT_EN_ILLEGAL_DST_CB_BASE (1 << 15)
186 #define SCALER_INT_STATUS_ILLEGAL_DST_CB_BASE (1 << 15)
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
222 #define SCALER_L8 15
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
239 #define SCALER_SRC_Y_POS_GET_YV_POS(r) SCALER_GET(r, 15, 0)
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
251 #define SCALER_SRC_C_POS_GET_CV_POS(r) SCALER_GET(r, 15, 0)
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
290 #define SCALER_ROT_CFG_SET_ROTMODE(v) SCALER_SET(v, 1, 0) argument
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
327 #define SCALER_SRC_BLEND_COLOR_SET_SEL(v) SCALER_SET(v, 30, 29) argument
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
333 #define SCALER_SRC_BLEND_COLOR_GET_COLOR1(r) SCALER_GET(r, 15, 8)
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
341 #define SCALER_SRC_BLEND_ALPHA_SET_SEL(v) SCALER_SET(v, 30, 29) argument
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
351 #define SCALER_DST_BLEND_COLOR_SET_SEL(v) SCALER_SET(v, 30, 29) argument
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
357 #define SCALER_DST_BLEND_COLOR_GET_COLOR1(r) SCALER_GET(r, 15, 8)
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
365 #define SCALER_DST_BLEND_ALPHA_SET_SEL(v) SCALER_SET(v, 30, 29) argument
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
377 #define SCALER_FILL_COLOR_GET_FILL_COLOR1(r) SCALER_GET(r, 15, 8)
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
389 #define SCALER_SRC_ADDR_Q_STATUS_CB_FULL (1 << 15)
400 #define SCALER_DST_ADDR_Q_STATUS_CB_FULL (1 << 15)
409 #define SCALER_CRC_COLOR00_10_GET_10(r) SCALER_GET(r, 15, 0)
413 #define SCALER_CRC_COLOR20_30_GET_30(r) SCALER_GET(r, 15, 0)
417 #define SCALER_CRC_COLOR01_11_GET_11(r) SCALER_GET(r, 15, 0)
421 #define SCALER_CRC_COLOR21_31_GET_31(r) SCALER_GET(r, 15, 0)