Lines Matching +full:0 +full:x00ffffff

146 #define CURSOR_OFF console_cursor(0)
163 #define LINUX_LOGO_LUT_OFFSET 0x20
174 #define VIDEO_LOGO_WIDTH 0
175 #define VIDEO_LOGO_HEIGHT 0
206 #define SWAP16(x) ((((x) & 0x00ff) << 8) | \
209 #define SWAP32(x) ((((x) & 0x000000ff) << 24) | \
210 (((x) & 0x0000ff00) << 8) | \
211 (((x) & 0x00ff0000) >> 8) | \
212 (((x) & 0xff000000) >> 24) \
214 #define SHORTSWAP32(x) ((((x) & 0x000000ff) << 8) | \
215 (((x) & 0x0000ff00) >> 8) | \
216 (((x) & 0x00ff0000) << 8) | \
217 (((x) & 0xff000000) >> 8) \
258 0x00000000, 0x000000ff, 0x0000ff00, 0x0000ffff,
259 0x00ff0000, 0x00ff00ff, 0x00ffff00, 0x00ffffff,
260 0xff000000, 0xff0000ff, 0xff00ff00, 0xff00ffff,
261 0xffff0000, 0xffff00ff, 0xffffff00, 0xffffffff
265 0x00000000, 0x00007fff, 0x7fff0000, 0x7fff7fff
269 0x00000000, 0x0000ffff, 0xffff0000, 0xffffffff
273 {0x00000000, 0x00000000, 0x00000000},
274 {0x00000000, 0x00000000, 0x00ffffff},
275 {0x00000000, 0x0000ffff, 0xff000000},
276 {0x00000000, 0x0000ffff, 0xffffffff},
277 {0x000000ff, 0xffff0000, 0x00000000},
278 {0x000000ff, 0xffff0000, 0x00ffffff},
279 {0x000000ff, 0xffffffff, 0xff000000},
280 {0x000000ff, 0xffffffff, 0xffffffff},
281 {0xffffff00, 0x00000000, 0x00000000},
282 {0xffffff00, 0x00000000, 0x00ffffff},
283 {0xffffff00, 0x0000ffff, 0xff000000},
284 {0xffffff00, 0x0000ffff, 0xffffffff},
285 {0xffffffff, 0xffff0000, 0x00000000},
286 {0xffffffff, 0xffff0000, 0x00ffffff},
287 {0xffffffff, 0xffffffff, 0xff000000},
288 {0xffffffff, 0xffffffff, 0xffffffff}
292 {0x00000000, 0x00000000, 0x00000000, 0x00000000},
293 {0x00000000, 0x00000000, 0x00000000, 0x00ffffff},
294 {0x00000000, 0x00000000, 0x00ffffff, 0x00000000},
295 {0x00000000, 0x00000000, 0x00ffffff, 0x00ffffff},
296 {0x00000000, 0x00ffffff, 0x00000000, 0x00000000},
297 {0x00000000, 0x00ffffff, 0x00000000, 0x00ffffff},
298 {0x00000000, 0x00ffffff, 0x00ffffff, 0x00000000},
299 {0x00000000, 0x00ffffff, 0x00ffffff, 0x00ffffff},
300 {0x00ffffff, 0x00000000, 0x00000000, 0x00000000},
301 {0x00ffffff, 0x00000000, 0x00000000, 0x00ffffff},
302 {0x00ffffff, 0x00000000, 0x00ffffff, 0x00000000},
303 {0x00ffffff, 0x00000000, 0x00ffffff, 0x00ffffff},
304 {0x00ffffff, 0x00ffffff, 0x00000000, 0x00000000},
305 {0x00ffffff, 0x00ffffff, 0x00000000, 0x00ffffff},
306 {0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00000000},
307 {0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff}
317 return 0; in board_cfb_skip()
338 ((u32 *) dest)[0] = in video_drawchars()
362 ((u32 *) dest)[0] = in video_drawchars()
396 ((u32 *) dest)[0] = in video_drawchars()
430 ((u32 *) dest)[0] = in video_drawchars()
432 [bits >> 4][0] & eorx) ^ bgx); in video_drawchars()
449 [bits & 15][0] & eorx) ^ bgx); in video_drawchars()
473 ((u32 *) dest)[0] = in video_drawchars()
474 (video_font_draw_table24[bits >> 4][0] in video_drawchars()
487 (video_font_draw_table24[bits & 15][0] in video_drawchars()
517 console_cursor(0); in video_set_cursor()
587 if (begin == 0 && (end + 1) == CONSOLE_COLS) { in console_clear_line()
604 for (i = 0; i < VIDEO_FONT_HEIGHT; i++) in console_clear_line()
619 0, /* source pos x */ in console_scrollup()
622 0, /* dest pos x */ in console_scrollup()
635 console_clear_line(CONSOLE_ROWS - i, 0, CONSOLE_COLS - 1); in console_scrollup()
645 if (console_col < 0) { in console_back()
648 if (console_row < 0) in console_back()
649 console_row = 0; in console_back()
659 0, /* dest pos x */ in console_clear()
672 if (console_row < 0) in console_cursor_fix()
673 console_row = 0; in console_cursor_fix()
676 if (console_col < 0) in console_cursor_fix()
677 console_col = 0; in console_cursor_fix()
744 console_col = 0; in console_newline()
755 console_col = 0; in console_cr()
777 console_col |= 0x0008; in parse_putc()
778 console_col &= ~0x0007; in parse_putc()
799 nl = 0; in parse_putc()
813 for (i = 0; i < ansi_buf_size; ++i) in cfb_video_putc()
815 ansi_buf[0] = 27; in cfb_video_putc()
820 if (ansi_buf_size > 0) { in cfb_video_putc()
822 * 0 - ESC in cfb_video_putc()
831 int next = 0; in cfb_video_putc()
833 int flush = 0; in cfb_video_putc()
834 int fail = 0; in cfb_video_putc()
836 int num1 = 0; in cfb_video_putc()
837 int num2 = 0; in cfb_video_putc()
838 int cchar = 0; in cfb_video_putc()
845 for (i = 0; i < ansi_buf_size; ++i) { in cfb_video_putc()
850 case 0: in cfb_video_putc()
865 if (ansi_buf[i] >= '0' && ansi_buf[i] <= '9') { in cfb_video_putc()
866 num1 = ansi_buf[i]-'0'; in cfb_video_putc()
876 if (ansi_buf[i] >= '0' && ansi_buf[i] <= '9') { in cfb_video_putc()
878 num1 += ansi_buf[i]-'0'; in cfb_video_putc()
894 if (ansi_buf[i] >= '0' && ansi_buf[i] <= '9') { in cfb_video_putc()
895 num2 = ansi_buf[i]-'0'; in cfb_video_putc()
902 if (ansi_buf[i] >= '0' && ansi_buf[i] <= '9') { in cfb_video_putc()
904 num2 += ansi_buf[i]-'0'; in cfb_video_putc()
927 for (i = 0; i < ansi_buf_size; ++i) in cfb_video_putc()
929 ansi_buf_size = 0; in cfb_video_putc()
936 ansi_buf_size = 0; in cfb_video_putc()
971 /* clear console and move cursor to 0, 0 */ in cfb_video_putc()
973 console_cursor_set_position(0, 0); in cfb_video_putc()
977 if (num1 == 0) in cfb_video_putc()
983 0, console_col); in cfb_video_putc()
986 0, CONSOLE_COLS-1); in cfb_video_putc()
989 ansi_cursor_hidden = 0; in cfb_video_putc()
995 if (num1 == 0) { /* reset swapped colors */ in cfb_video_putc()
998 ansi_colors_need_revert = 0; in cfb_video_putc()
1027 cfb_do_flush_cache = 0; in cfb_video_puts()
1081 fb[0] = b; \
1088 fb[0] = r; \
1141 for (i = 0; i < cnt; i++) in draw_bitmap()
1147 for (i = 0; i < cnt; i++) { in draw_bitmap()
1153 for (i = 0; i < cnt; i++) { in draw_bitmap()
1174 int pixels = 0; in display_rle8_bitmap()
1176 x = 0; in display_rle8_bitmap()
1189 for (i = 0; i < ncolors; i++) { in display_rle8_bitmap()
1203 for (i = 0; i < ncolors; i++) { in display_rle8_bitmap()
1212 for (i = 0; i < ncolors; i++) { in display_rle8_bitmap()
1220 printf("RLE Bitmap unsupported in video mode 0x%x\n", in display_rle8_bitmap()
1226 switch (bm[0]) { in display_rle8_bitmap()
1227 case 0: in display_rle8_bitmap()
1229 case 0: in display_rle8_bitmap()
1232 x = 0; in display_rle8_bitmap()
1241 decode = 0; in display_rle8_bitmap()
1269 draw_bitmap(&fbp, bm, p, cnt, 0); in display_rle8_bitmap()
1275 bm++; /* 0 padding if length is odd */ in display_rle8_bitmap()
1280 cnt = bm[0]; in display_rle8_bitmap()
1301 return 0; in display_rle8_bitmap()
1330 if (!((bmp->header.signature[0] == 'B') && in video_display_bitmap()
1349 &len) != 0) { in video_display_bitmap()
1365 if (!((bmp->header.signature[0] == 'B') && in video_display_bitmap()
1401 padded_line = (((width * bpp + 7) / 8) + 3) & ~0x3; in video_display_bitmap()
1405 x = max(0, (int)(VIDEO_VISIBLE_COLS - width) / 2); in video_display_bitmap()
1406 else if (x < 0) in video_display_bitmap()
1407 x = max(0, (int)(VIDEO_VISIBLE_COLS - width + x + 1)); in video_display_bitmap()
1410 y = max(0, (int)(VIDEO_VISIBLE_ROWS - height) / 2); in video_display_bitmap()
1411 else if (y < 0) in video_display_bitmap()
1412 y = max(0, (int)(VIDEO_VISIBLE_ROWS - height + y + 1)); in video_display_bitmap()
1420 return 0; in video_display_bitmap()
1452 for (xcount = 0; xcount < width; xcount++) { in video_display_bitmap()
1456 idx = *bmap & 0xF; in video_display_bitmap()
1480 for (xcount = 0; xcount < colors; ++xcount) { in video_display_bitmap()
1592 bmap[0]); in video_display_bitmap()
1610 bmap[1], bmap[0]); in video_display_bitmap()
1614 bmap[0]); in video_display_bitmap()
1629 bmap[0]); in video_display_bitmap()
1643 bmap[0]); in video_display_bitmap()
1657 bmap[0]); in video_display_bitmap()
1685 return (0); in video_display_bitmap()
1698 plot_logo_or_black(screen, x, y, 0); in logo_plot()
1713 return 0; in do_clrlogo()
1717 clrlogo, 1, 0, do_clrlogo,
1734 x = max(0, (int)(VIDEO_VISIBLE_COLS - VIDEO_LOGO_WIDTH) / 2); in plot_logo_or_black()
1735 else if (x < 0) in plot_logo_or_black()
1736 x = max(0, (int)(VIDEO_VISIBLE_COLS - VIDEO_LOGO_WIDTH + x + 1)); in plot_logo_or_black()
1739 y = max(0, (int)(VIDEO_VISIBLE_ROWS - VIDEO_LOGO_HEIGHT) / 2); in plot_logo_or_black()
1740 else if (y < 0) in plot_logo_or_black()
1741 y = max(0, (int)(VIDEO_VISIBLE_ROWS - VIDEO_LOGO_HEIGHT + y + 1)); in plot_logo_or_black()
1754 for (i = 0; i < VIDEO_LOGO_COLORS; i++) { in plot_logo_or_black()
1755 logo_red[i] = (bmp_logo_palette[i] & 0x0f00) >> 4; in plot_logo_or_black()
1756 logo_green[i] = (bmp_logo_palette[i] & 0x00f0); in plot_logo_or_black()
1757 logo_blue[i] = (bmp_logo_palette[i] & 0x000f) << 4; in plot_logo_or_black()
1767 for (i = 0; i < VIDEO_LOGO_COLORS; i++) { in plot_logo_or_black()
1781 r = 0x00; in plot_logo_or_black()
1782 g = 0x00; in plot_logo_or_black()
1783 b = 0x00; in plot_logo_or_black()
1826 dest[0] = b; in plot_logo_or_black()
1830 dest[0] = r; in plot_logo_or_black()
1851 __maybe_unused int y_off = 0; in video_logo()
1862 if (ret < 0) in video_logo()
1868 video_logo_ypos) == 0) { in video_logo()
1869 video_logo_height = 0; in video_logo()
1880 * output on video console if the logo is not at 0,0 in video_logo()
1889 video_logo_height += max(0, (int)(VIDEO_VISIBLE_ROWS - in video_logo()
1891 else if (video_logo_ypos > 0) in video_logo()
1898 return 0; in video_logo()
1966 for (i = 0; i < CONFIG_NR_DRAM_BANKS; ++i) { in cfb_fb_is_in_dram()
1978 return 0; in cfb_fb_is_in_dram()
1987 0, /* dest pos x */ in video_clear()
1988 0, /* dest pos y */ in video_clear()
2014 video_set_lut(0x01, CONFIG_SYS_CONSOLE_FG_COL, in cfg_video_init()
2017 video_set_lut(0x00, CONFIG_SYS_CONSOLE_BG_COL, in cfg_video_init()
2020 fgx = 0x01010101; in cfg_video_init()
2021 bgx = 0x00000000; in cfg_video_init()
2024 color8 = ((CONFIG_SYS_CONSOLE_FG_COL & 0xe0) | in cfg_video_init()
2025 ((CONFIG_SYS_CONSOLE_FG_COL >> 3) & 0x1c) | in cfg_video_init()
2029 color8 = ((CONFIG_SYS_CONSOLE_BG_COL & 0xe0) | in cfg_video_init()
2030 ((CONFIG_SYS_CONSOLE_BG_COL >> 3) & 0x1c) | in cfg_video_init()
2095 console_col = 0; in cfg_video_init()
2096 console_row = 0; in cfg_video_init()
2101 return 0; in cfg_video_init()
2111 return 0; in board_video_skip()
2122 return 0; in drv_video_init()
2126 return 0; in drv_video_init()
2129 return 0; in drv_video_init()
2147 memset(&console_dev, 0, sizeof(console_dev)); in drv_video_init()
2162 if (stdio_register(&console_dev) != 0) in drv_video_init()
2163 return 0; in drv_video_init()