/openbmc/qemu/hw/display/ |
H A D | vga-helpers.h | 26 uint32_t xorcol, uint32_t bgcol) in vga_draw_glyph_line() argument 28 ((uint32_t *)d)[0] = (-((font_data >> 7)) & xorcol) ^ bgcol; in vga_draw_glyph_line() 29 ((uint32_t *)d)[1] = (-((font_data >> 6) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 30 ((uint32_t *)d)[2] = (-((font_data >> 5) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 31 ((uint32_t *)d)[3] = (-((font_data >> 4) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 32 ((uint32_t *)d)[4] = (-((font_data >> 3) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 33 ((uint32_t *)d)[5] = (-((font_data >> 2) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 34 ((uint32_t *)d)[6] = (-((font_data >> 1) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 35 ((uint32_t *)d)[7] = (-((font_data >> 0) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 40 uint32_t fgcol, uint32_t bgcol) in vga_draw_glyph8() argument [all …]
|
H A D | vga.c | 1199 uint32_t offset, fgcol, bgcol, v, cursor_offset; in vga_draw_text() local 1319 bgcol = palette[cattr >> 4]; in vga_draw_text() 1323 font_ptr, cheight, fgcol, bgcol); in vga_draw_text() 1326 font_ptr, cheight, fgcol, bgcol); in vga_draw_text() 1334 font_ptr, cheight, fgcol, bgcol, dup9); in vga_draw_text() 1351 cursor_glyph, h, fgcol, bgcol); in vga_draw_text() 1354 cursor_glyph, h, fgcol, bgcol); in vga_draw_text() 1357 cursor_glyph, h, fgcol, bgcol, 1); in vga_draw_text()
|
/openbmc/qemu/ui/ |
H A D | console-vc.c | 21 uint8_t bgcol:4; member 31 .bgcol = QEMU_COLOR_BLACK \ 157 pixman_color_t fgcol, bgcol; in vga_putcharxy() local 161 bgcol = color_table_rgb[t_attrib->bold][t_attrib->fgcol]; in vga_putcharxy() 162 fgcol = color_table_rgb[t_attrib->bold][t_attrib->bgcol]; in vga_putcharxy() 165 bgcol = color_table_rgb[t_attrib->bold][t_attrib->bgcol]; in vga_putcharxy() 172 &fgcol, &bgcol, x, y, FONT_WIDTH, FONT_HEIGHT); in vga_putcharxy() 361 s->cells[src].t_attrib.bgcol, in text_console_update() 452 color_table_rgb[0][TEXT_ATTRIBUTES_DEFAULT.bgcol]); in vc_put_lf() 531 vc->t_attrib.bgcol = QEMU_COLOR_BLACK; in vc_handle_escape() [all …]
|
H A D | qemu-pixman.c | 254 pixman_color_t *bgcol, in qemu_pixman_glyph_render() argument 258 pixman_image_t *ibg = pixman_image_create_solid_fill(bgcol); in qemu_pixman_glyph_render()
|
/openbmc/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_display.c | 498 u32 bgcol; in mcde_configure_channel() local 506 bgcol = MCDE_CHNL0BCKGNDCOL; in mcde_configure_channel() 513 bgcol = MCDE_CHNL1BCKGNDCOL; in mcde_configure_channel() 520 bgcol = MCDE_CHNL2BCKGNDCOL; in mcde_configure_channel() 527 bgcol = MCDE_CHNL3BCKGNDCOL; in mcde_configure_channel() 590 writel(0, mcde->regs + bgcol); in mcde_configure_channel()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | tridentfb.c | 643 int col, bgcol; in tridentfb_imageblit() local 653 bgcol = img->bg_color; in tridentfb_imageblit() 654 bgcol |= bgcol << 8; in tridentfb_imageblit() 655 bgcol |= bgcol << 16; in tridentfb_imageblit() 658 bgcol = ((u32 *)(info->pseudo_palette))[img->bg_color]; in tridentfb_imageblit() 664 img->width, img->height, col, bgcol); in tridentfb_imageblit()
|
/openbmc/qemu/include/ui/ |
H A D | qemu-pixman.h | 96 pixman_color_t *bgcol,
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | sm750.c | 240 unsigned int fgcol, bgcol; in lynxfb_ops_imageblit() local 263 bgcol = ((u32 *)info->pseudo_palette)[image->bg_color]; in lynxfb_ops_imageblit() 266 bgcol = image->bg_color; in lynxfb_ops_imageblit() 282 fgcol, bgcol, HW_ROP2_COPY); in lynxfb_ops_imageblit()
|