Lines Matching refs:bg

353 boot_get_color(uint32_t *fg, uint32_t *bg)  in boot_get_color()  argument
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()
390 *bg = brt_xlate[fb_info.bg_color]; in boot_get_color()
392 *bg = dim_xlate[fb_info.bg_color]; in boot_get_color()
394 *bg = fb_info.bg_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()
475 bg = boot_color_map(bg); in boot_fb_init()
481 boot_fb_fill(dest, bg, fb_info.pitch); in boot_fb_init()
524 uint32_t fg, bg; in bit_to_pix() local
526 boot_get_color(&fg, &bg); in bit_to_pix()
528 bg = boot_color_map(bg); 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()
557 bg = boot_color_map(bg); in boot_fb_eraseline_impl()
568 boot_fb_fill(dest, bg, size); in boot_fb_eraseline_impl()
573 boot_fb_fill(dest, bg, size); 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()
689 bg = boot_color_map(bg); 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()
726 (bg & 0xffff); in boot_fb_cursor()
732 (bg & 0xffff); in boot_fb_cursor()
743 ((bg >> 16) & 0xff); in boot_fb_cursor()
745 ((bg >> 8) & 0xff); in boot_fb_cursor()
747 (bg & 0xff); in boot_fb_cursor()
753 ((bg >> 16) & 0xff); in boot_fb_cursor()
755 ((bg >> 8) & 0xff); in boot_fb_cursor()
757 (bg & 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()