/illumos-gate/usr/src/common/font/ |
H A D | font.c | 394 uint32_t fg_color, in font_bit_to_pix4() argument 426 *dest++ = bg_color << 4 | fg_color; in font_bit_to_pix4() 429 *dest++ = fg_color << 4 | bg_color; in font_bit_to_pix4() 432 *dest++ = fg_color << 4 | fg_color; in font_bit_to_pix4() 455 uint32_t fg_color, in font_bit_to_pix8() argument 486 *dest++ = (data & mask ? fg_color: bg_color); in font_bit_to_pix8()
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_fb.c | 358 if (fb_info.fg_color < XLATE_NCOLORS) { in boot_get_color() 362 if (fb_info.fg_color == pc_white) in boot_get_color() 363 *bg = brt_xlate[fb_info.fg_color]; in boot_get_color() 365 *bg = dim_xlate[fb_info.fg_color]; in boot_get_color() 367 *bg = fb_info.fg_color; in boot_get_color() 379 if (fb_info.fg_color < XLATE_NCOLORS) { in boot_get_color() 380 if (fb_info.fg_color == pc_white) in boot_get_color() 381 *fg = brt_xlate[fb_info.fg_color]; in boot_get_color() 383 *fg = dim_xlate[fb_info.fg_color]; in boot_get_color() 385 *fg = fb_info.fg_color; in boot_get_color()
|
H A D | boot_console.c | 634 fb_info.fg_color = CONS_COLOR; in bcons_init_fb() 644 fb_info.fg_color = intval; in bcons_init_fb()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | visual_io.h | 250 color_t fg_color; /* Foreground color */ member 268 color_t fg_color; /* Foreground color */ member
|
H A D | tem_impl.h | 161 text_color_t fg_color; member
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_bitmap.c | 538 fg = ca->fg_color.eight; in bitmap_display_cursor() 553 fg = ca->fg_color.sixteen[0] << 8; in bitmap_display_cursor() 554 fg |= ca->fg_color.sixteen[1]; in bitmap_display_cursor() 572 fg = ca->fg_color.twentyfour[0] << 16; in bitmap_display_cursor() 573 fg |= ca->fg_color.twentyfour[1] << 8; in bitmap_display_cursor() 574 fg |= ca->fg_color.twentyfour[2]; in bitmap_display_cursor() 597 fg = *(uint32_t *)&ca->fg_color; in bitmap_display_cursor()
|
H A D | gfxp_vgatext.c | 620 | solaris_color_to_pc_color[da->fg_color.four & 0xf]; in vgatext_cons_display()
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | framebuffer.h | 71 uint8_t fg_color; /* ansi foreground */ member
|
/illumos-gate/usr/src/boot/common/ |
H A D | tem.c | 164 text_color_t fg_color, text_color_t bg_color); 894 pcolor->fg_color.n = fg; in tems_get_initial_color() 908 if (pcolor->fg_color.n == ANSI_COLOR_WHITE) in tems_get_initial_color() 915 if (pcolor->fg_color.n == ANSI_COLOR_BLACK) in tems_get_initial_color() 1254 tem->tvs_fg_color = tems.ts_init_color.fg_color; in tem_selgraph() 1374 tem->tvs_fg_color = tems.ts_init_color.fg_color; in tem_selgraph() 2319 tem_set_color(&fg, &da.fg_color); in tem_text_display() 2534 text_color_t fg_color; in tem_cls() local 2551 tem_get_color(tem, &fg_color, &bg_color, &c); in tem_cls() 2693 tem->tvs_fg_color = tems.ts_init_color.fg_color; in tem_reset_emulator() [all …]
|
H A D | gfx_fb.c | 1242 bcopy(&ca->fg_color, &fg.p32, sizeof (fg.p32)); in gfx_fb_display_cursor()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tem_safe.c | 171 text_color_t fg_color, text_color_t bg_color); 173 text_color_t fg_color, text_color_t bg_color); 175 text_color_t fg_color, text_color_t bg_color); 177 text_color_t fg_color, text_color_t bg_color); 179 text_color_t fg_color, text_color_t bg_color); 607 tem->tvs_fg_color = tems.ts_init_color.fg_color; in tem_safe_selgraph() 726 tem->tvs_fg_color = tems.ts_init_color.fg_color; in tem_safe_selgraph() 1805 tem_safe_set_color(&fg, &da.fg_color); in tem_safe_text_display() 2093 text_color_t fg_color; in tem_safe_pix_clear_entire_screen() local 2319 tem->tvs_fg_color = tems.ts_init_color.fg_color; in tem_safe_reset_emulator() [all …]
|
H A D | tem.c | 982 pcolor->fg_color.n = fg; in tems_get_initial_color() 1011 if (pcolor->fg_color.n == ANSI_COLOR_WHITE) in tems_get_initial_color() 1014 if (pcolor->fg_color.n == ANSI_COLOR_BLACK) in tems_get_initial_color()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | tem_impl.h | 145 text_color_t fg_color; member
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | consplat.c | 567 *fg = fb_info.fg_color; in plat_tem_get_colors()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | vidconsole.c | 475 solaris_color_to_pc_color[da->fg_color.four & 0xf]; in vidc_text_cons_display()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efi_console.c | 368 fg = solaris_color_to_efi_color[da->fg_color.four & 0xf]; in efi_text_cons_display()
|