Lines Matching +full:0 +full:x168
9 #define RGA_BLIT_SYNC 0x5017
10 #define RGA_BLIT_ASYNC 0x5018
11 #define RGA_FLUSH 0x5019
12 #define RGA_GET_RESULT 0x501a
13 #define RGA_GET_VERSION 0x501b
16 #define RGA_REG_CTRL_LEN 0x8 /* 8 */
17 #define RGA_REG_CMD_LEN 0x20 /* 32 */
18 #define RGA_CMD_BUF_SIZE 0x700 /* 16*28*4 */
23 #define RGA_BUF_GEM_TYPE_MASK 0xC0
25 #define rgaIS_ERROR(status) (status < 0)
26 #define rgaNO_ERROR(status) (status >= 0)
27 #define rgaIS_SUCCESS(status) (status == 0)
34 bitblt_mode = 0x0,
35 color_palette_mode = 0x1,
36 color_fill_mode = 0x2,
37 line_point_drawing_mode = 0x3,
38 blur_sharp_filter_mode = 0x4,
39 pre_scaling_mode = 0x5,
40 update_palette_table_mode = 0x6,
41 update_patten_buff_mode = 0x7,
47 rop_enable_mask = 0x2,
48 dither_enable_mask = 0x8,
49 fading_enable_mask = 0x10,
50 PD_enbale_mask = 0x20,
55 yuv2rgb_mode0 = 0x0, /* BT.601 MPEG */
56 yuv2rgb_mode1 = 0x1, /* BT.601 JPEG */
57 yuv2rgb_mode2 = 0x2, /* BT.709 */
64 rotate_mode0 = 0x0, /* no rotate */
65 rotate_mode1 = 0x1, /* rotate */
66 rotate_mode2 = 0x2, /* x_mirror */
67 rotate_mode3 = 0x3, /* y_mirror */
72 color_palette_mode0 = 0x0, /* 1K */
73 color_palette_mode1 = 0x1, /* 2K */
74 color_palette_mode2 = 0x2, /* 4K */
75 color_palette_mode3 = 0x3, /* 8K */
82 { 4, 32, {{32,24, 8, 0, 16, 8, 24,16 }}, GGL_RGBA }, // RK_FORMAT_RGBA_8888
83 { 4, 24, {{ 0, 0, 8, 0, 16, 8, 24,16 }}, GGL_RGB }, // RK_FORMAT_RGBX_8888
84 { 3, 24, {{ 0, 0, 8, 0, 16, 8, 24,16 }}, GGL_RGB }, // RK_FORMAT_RGB_888
85 { 4, 32, {{32,24, 24,16, 16, 8, 8, 0 }}, GGL_BGRA }, // RK_FORMAT_BGRA_8888
86 { 2, 16, {{ 0, 0, 16,11, 11, 5, 5, 0 }}, GGL_RGB }, // RK_FORMAT_RGB_565
87 { 2, 16, {{ 1, 0, 16,11, 11, 6, 6, 1 }}, GGL_RGBA }, // RK_FORMAT_RGBA_5551
88 { 2, 16, {{ 4, 0, 16,12, 12, 8, 8, 4 }}, GGL_RGBA }, // RK_FORMAT_RGBA_4444
89 { 3, 24, {{ 0, 0, 24,16, 16, 8, 8, 0 }}, GGL_BGR }, // RK_FORMAT_BGB_888
94 RK_FORMAT_RGBA_8888 = 0x0,
95 RK_FORMAT_RGBX_8888 = 0x1,
96 RK_FORMAT_RGB_888 = 0x2,
97 RK_FORMAT_BGRA_8888 = 0x3,
98 RK_FORMAT_RGB_565 = 0x4,
99 RK_FORMAT_RGBA_5551 = 0x5,
100 RK_FORMAT_RGBA_4444 = 0x6,
101 RK_FORMAT_BGR_888 = 0x7,
103 RK_FORMAT_YCbCr_422_SP = 0x8,
104 RK_FORMAT_YCbCr_422_P = 0x9,
105 RK_FORMAT_YCbCr_420_SP = 0xa,
106 RK_FORMAT_YCbCr_420_P = 0xb,
108 RK_FORMAT_YCrCb_422_SP = 0xc,
109 RK_FORMAT_YCrCb_422_P = 0xd,
110 RK_FORMAT_YCrCb_420_SP = 0xe,
111 RK_FORMAT_YCrCb_420_P = 0xf,
113 RK_FORMAT_BPP1 = 0x10,
114 RK_FORMAT_BPP2 = 0x11,
115 RK_FORMAT_BPP4 = 0x12,
116 RK_FORMAT_BPP8 = 0x13,
117 RK_FORMAT_YCbCr_420_SP_10B = 0x20,
118 RK_FORMAT_YCrCb_420_SP_10B = 0x21,
243 /* value from [0, w-1] / [0, h-1]*/
245 int32_t sina; /* dst angle default value 0 16.16 scan from table */
246 int32_t cosa; /* dst angle default value 0 16.16 scan from table */
249 /* ([0] = 1 alpha_rop_enable) */
258 uint8_t scale_mode; /* 0 nearst / 1 bilnear / 2 bicubic */
278 uint8_t bsfilter_flag; /* [2] 0 blur 1 sharp / [1:0] filter_type*/
280 uint8_t palette_mode; /* (enum) color palatte 0/1bpp, 1/2bpp 2/4bpp 3/8bpp*/
284 uint8_t endian_mode; /* 0/big endian 1/little endian*/
287 /* 0x0, no rotate */
288 /* 0x1, rotate */
289 /* 0x2, x_mirror */
290 /* 0x3, y_mirror */
292 uint8_t color_fill_mode; /* 0 solid color / 1 patten color */
296 uint8_t alpha_rop_mode; /* ([0~1] alpha mode) */
317 int16_t dst_x_tmp; /* dst pos x = (xstart - xoff) default value 0 */
318 int16_t dst_y_tmp; /* dst pos y = (ystart - yoff) default value 0 */
407 atomic_t int_disable; /* 0 int enable 1 int disable */
423 #define RGA_BASE 0x1010c000
425 #define RGA_BASE 0x10114000
429 #define RGA_SYS_CTRL 0x000
430 #define RGA_CMD_CTRL 0x004
431 #define RGA_CMD_ADDR 0x008
432 #define RGA_STATUS 0x00c
433 #define RGA_INT 0x010
434 #define RGA_AXI_ID 0x014
435 #define RGA_MMU_STA_CTRL 0x018
436 #define RGA_MMU_STA 0x01c
437 #define RGA_VERSION 0x028
440 #define RGA_MODE_CTRL 0x100
443 #define RGA_SRC_Y_MST 0x104
444 #define RGA_SRC_CB_MST 0x108
445 #define RGA_MASK_READ_MST 0x108 //repeat
446 #define RGA_SRC_CR_MST 0x10c
447 #define RGA_SRC_VIR_INFO 0x110
448 #define RGA_SRC_ACT_INFO 0x114
449 #define RGA_SRC_X_PARA 0x118
450 #define RGA_SRC_Y_PARA 0x11c
451 #define RGA_SRC_TILE_XINFO 0x120
452 #define RGA_SRC_TILE_YINFO 0x124
453 #define RGA_SRC_TILE_H_INCR 0x128
454 #define RGA_SRC_TILE_V_INCR 0x12c
455 #define RGA_SRC_TILE_OFFSETX 0x130
456 #define RGA_SRC_TILE_OFFSETY 0x134
457 #define RGA_SRC_BG_COLOR 0x138
458 #define RGA_SRC_FG_COLOR 0x13c
459 #define RGA_LINE_DRAWING_COLOR 0x13c //repeat
460 #define RGA_SRC_TR_COLOR0 0x140
461 #define RGA_CP_GR_A 0x140 //repeat
462 #define RGA_SRC_TR_COLOR1 0x144
463 #define RGA_CP_GR_B 0x144 //repeat
465 #define RGA_LINE_DRAW 0x148
466 #define RGA_PAT_START_POINT 0x148 //repeat
469 #define RGA_DST_MST 0x14c
470 #define RGA_LUT_MST 0x14c //repeat
471 #define RGA_PAT_MST 0x14c //repeat
472 #define RGA_LINE_DRAWING_MST 0x14c //repeat
474 #define RGA_DST_VIR_INFO 0x150
476 #define RGA_DST_CTR_INFO 0x154
477 #define RGA_LINE_DRAW_XY_INFO 0x154 //repeat
480 #define RGA_ALPHA_CON 0x158
482 #define RGA_PAT_CON 0x15c
483 #define RGA_DST_VIR_WIDTH_PIX 0x15c //repeat
485 #define RGA_ROP_CON0 0x160
486 #define RGA_CP_GR_G 0x160 //repeat
487 #define RGA_PRESCL_CB_MST 0x160 //repeat
489 #define RGA_ROP_CON1 0x164
490 #define RGA_CP_GR_R 0x164 //repeat
491 #define RGA_PRESCL_CR_MST 0x164 //repeat
494 #define RGA_FADING_CON 0x168
495 #define RGA_MMU_CTRL 0x168 //repeat
497 #define RGA_MMU_TBL 0x16c //repeat
499 #define RGA_YUV_OUT_CFG 0x170
500 #define RGA_DST_UV_MST 0x174