Lines Matching refs:fg
353 boot_get_color(uint32_t *fg, uint32_t *bg) in boot_get_color() argument
372 *fg = brt_xlate[fb_info.bg_color]; in boot_get_color()
374 *fg = dim_xlate[fb_info.bg_color]; in boot_get_color()
376 *fg = fb_info.bg_color; 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()
471 uint32_t fg, bg, toffset; in boot_fb_init() local
474 boot_get_color(&fg, &bg); in boot_fb_init()
524 uint32_t fg, bg; in bit_to_pix() local
526 boot_get_color(&fg, &bg); in bit_to_pix()
527 fg = boot_color_map(fg); in bit_to_pix()
532 font_bit_to_pix8(&boot_fb_font, (uint8_t *)glyph, c, fg, bg); in bit_to_pix()
537 (uint16_t)fg, (uint16_t)bg); in bit_to_pix()
540 font_bit_to_pix24(&boot_fb_font, (uint8_t *)glyph, c, fg, bg); in bit_to_pix()
543 font_bit_to_pix32(&boot_fb_font, (uint32_t *)glyph, c, fg, bg); in bit_to_pix()
552 uint32_t fg, bg; in boot_fb_eraseline_impl() local
556 boot_get_color(&fg, &bg); in boot_fb_eraseline_impl()
679 uint32_t fg, bg; in boot_fb_cursor() local
687 boot_get_color(&fg, &bg); in boot_fb_cursor()
688 fg = boot_color_map(fg); in boot_fb_cursor()
708 fb8[j] = (fb8[j] ^ (fg & 0xff)) ^ (bg & 0xff); in boot_fb_cursor()
713 sfb8[j] = (sfb8[j] ^ (fg & 0xff)) ^ (bg & 0xff); in boot_fb_cursor()
725 fb16[j] = (fb16[j] ^ (fg & 0xffff)) ^ in boot_fb_cursor()
731 sfb16[j] = (sfb16[j] ^ (fg & 0xffff)) ^ in boot_fb_cursor()
742 fb8[j] = (fb8[j] ^ ((fg >> 16) & 0xff)) ^ in boot_fb_cursor()
744 fb8[j+1] = (fb8[j+1] ^ ((fg >> 8) & 0xff)) ^ in boot_fb_cursor()
746 fb8[j+2] = (fb8[j+2] ^ (fg & 0xff)) ^ in boot_fb_cursor()
752 sfb8[j] = (sfb8[j] ^ ((fg >> 16) & 0xff)) ^ in boot_fb_cursor()
754 sfb8[j+1] = (sfb8[j+1] ^ ((fg >> 8) & 0xff)) ^ in boot_fb_cursor()
756 sfb8[j+2] = (sfb8[j+2] ^ (fg & 0xff)) ^ in boot_fb_cursor()
769 fb32[j] = (fb32[j] ^ fg) ^ bg; in boot_fb_cursor()
774 sfb32[j] = (sfb32[j] ^ fg) ^ bg; in boot_fb_cursor()