Home
last modified time | relevance | path

Searched refs:fg_color (Results 1 – 25 of 49) sorted by relevance

12

/openbmc/u-boot/common/
H A Dlcd_console_rotation.c13 int fg_color = lcd_getfgcolor(); in lcd_putc_xy90() local
25 *dst-- = (*(pfont + i) & msk) ? fg_color : bg_color; in lcd_putc_xy90()
66 int fg_color = lcd_getfgcolor(); in lcd_putc_xy180() local
79 *dst-- = (bits & 0x80) ? fg_color : bg_color; in lcd_putc_xy180()
115 int fg_color = lcd_getfgcolor(); in lcd_putc_xy270() local
127 *dst++ = (*(pfont + i) & msk) ? fg_color : bg_color; in lcd_putc_xy270()
H A Dlcd_console.c46 int fg_color = lcd_getfgcolor(); in lcd_putc_xy0() local
56 *dst++ = (bits & 0x80) ? fg_color : bg_color; in lcd_putc_xy0()
/openbmc/linux/drivers/video/fbdev/via/
H A Dviafbdev.c670 u32 fg_color; in viafb_fillrect() local
682 fg_color = ((u32 *)info->pseudo_palette)[rect->color]; in viafb_fillrect()
684 fg_color = rect->color; in viafb_fillrect()
695 NULL, 0, 0, 0, 0, fg_color, 0, rop)) in viafb_fillrect()
727 u32 fg_color = 0, bg_color = 0; in viafb_imageblit() local
739 fg_color = in viafb_imageblit()
740 ((u32 *)info->pseudo_palette)[image->fg_color]; in viafb_imageblit()
744 fg_color = image->fg_color; in viafb_imageblit()
754 (u32 *)image->data, 0, 0, 0, 0, fg_color, bg_color, 0)) in viafb_imageblit()
762 u32 temp, xx, yy, bg_color = 0, fg_color = 0, in viafb_cursor() local
[all …]
H A Daccel.c42 u32 fg_color, u32 bg_color, u8 fill_rop) in hw_bitblt_1() argument
111 writel(fg_color, engine + 0x18); in hw_bitblt_1()
175 u32 fg_color, u32 bg_color, u8 fill_rop) in hw_bitblt_2() argument
273 writel(fg_color, engine + 0x58); in hw_bitblt_2()
275 writel(fg_color, engine + 0x4C); in hw_bitblt_2()
H A Dviafbdev.h55 u32 fg_color, u32 bg_color, u8 fill_rop);
/openbmc/linux/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c108 fg = image->fg_color; in savagefb_imageblit()
111 fg = ((u32 *)info->pseudo_palette)[image->fg_color]; in savagefb_imageblit()
/openbmc/linux/drivers/video/fbdev/core/
H A Dbitblit.c157 image.fg_color = fg; in bit_putcs()
275 if (ops->cursor_state.image.fg_color != fg || in bit_cursor()
278 ops->cursor_state.image.fg_color = fg; in bit_cursor()
363 cursor.image.fg_color = ops->cursor_state.image.fg_color; in bit_cursor()
H A Dfbcon_cw.c133 image.fg_color = fg; in cw_putcs()
244 if (ops->cursor_state.image.fg_color != fg || in cw_cursor()
247 ops->cursor_state.image.fg_color = fg; in cw_cursor()
347 cursor.image.fg_color = ops->cursor_state.image.fg_color; in cw_cursor()
H A Dfbcon_ccw.c148 image.fg_color = fg; in ccw_putcs()
261 if (ops->cursor_state.image.fg_color != fg || in ccw_cursor()
264 ops->cursor_state.image.fg_color = fg; in ccw_cursor()
364 cursor.image.fg_color = ops->cursor_state.image.fg_color; in ccw_cursor()
H A Dfbcon_ud.c171 image.fg_color = fg; in ud_putcs()
292 if (ops->cursor_state.image.fg_color != fg || in ud_cursor()
295 ops->cursor_state.image.fg_color = fg; in ud_cursor()
387 cursor.image.fg_color = ops->cursor_state.image.fg_color; in ud_cursor()
H A Dsysimgblt.c313 fgcolor = ((u32*)(p->pseudo_palette))[image->fg_color]; in sys_imageblit()
316 fgcolor = image->fg_color; in sys_imageblit()
H A Dcfbimgblt.c343 fgcolor = ((u32*)(p->pseudo_palette))[image->fg_color]; in cfb_imageblit()
346 fgcolor = image->fg_color; in cfb_imageblit()
/openbmc/qemu/hw/display/
H A Dexynos4210_fimd.c681 uint32_t fg_color = ((p_fg.r & 0xFF) << 16) | ((p_fg.g & 0xFF) << 8) | in exynos4210_fimd_blend_pixel() local
709 (fg_color & ~(w->keycon[0] & FIMD_WKEYCON0_COMPKEY)) == colorkey) { in exynos4210_fimd_blend_pixel()
748 blend_param[i] = fg_color; in exynos4210_fimd_blend_pixel()
751 blend_param[i] = FIMD_1_MINUS_COLOR(fg_color); in exynos4210_fimd_blend_pixel()
765 fg_color = fimd_mult_and_sum_each_byte(bg_color, blend_param[B_COEF], in exynos4210_fimd_blend_pixel()
766 fg_color, blend_param[A_COEF]); in exynos4210_fimd_blend_pixel()
767 ret->b = fg_color & 0xFF; in exynos4210_fimd_blend_pixel()
768 fg_color >>= 8; in exynos4210_fimd_blend_pixel()
769 ret->g = fg_color & 0xFF; in exynos4210_fimd_blend_pixel()
770 fg_color >>= 8; in exynos4210_fimd_blend_pixel()
[all …]
H A Dartist.c55 uint32_t fg_color; member
261 return s->fg_color; in artist_get_color()
690 uint32_t color = (s->image_bitmap_op & 2) ? s->fg_color : s->bg_color; in font_write16()
836 size, data, s->fg_color, s->bg_color); in vram_bit_write()
922 combine_write_reg(addr, val, size, &s->fg_color); in artist_reg_write()
1442 VMSTATE_UINT32(fg_color, ARTISTState),
/openbmc/linux/include/video/
H A Dsticore.h262 u8 fg_color; /* foreground color of character */ member
293 u8 fg_color; /* foreground color after move */ member
/openbmc/linux/drivers/staging/sm750fb/
H A Dsm750.c136 fg = ((info->cmap.red[fbcursor->image.fg_color] & 0xf800)) | in lynxfb_ops_cursor()
137 ((info->cmap.green[fbcursor->image.fg_color] & 0xfc00) >> 5) | in lynxfb_ops_cursor()
138 ((info->cmap.blue[fbcursor->image.fg_color] & 0xf800) >> 11); in lynxfb_ops_cursor()
262 fgcol = ((u32 *)info->pseudo_palette)[image->fg_color]; in lynxfb_ops_imageblit()
265 fgcol = image->fg_color; in lynxfb_ops_imageblit()
/openbmc/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c213 ((u32 *) (info->pseudo_palette))[image->fg_color]; in mb86290fb_imageblit()
217 fgcolor = image->fg_color; in mb86290fb_imageblit()
/openbmc/linux/drivers/video/fbdev/i810/
H A Di810_accel.c380 fg = image->fg_color; in i810fb_imageblit()
385 fg = ((u32 *)(info->pseudo_palette))[image->fg_color]; in i810fb_imageblit()
/openbmc/u-boot/include/linux/
H A Dfb.h226 __u32 fg_color; /* Only used when a mono bitmap */ member
351 __u32 fg_color; /* Only used when a mono bitmap */ member
/openbmc/linux/drivers/video/fbdev/nvidia/
H A Dnv_accel.c364 fg = image->fg_color | mask; in nvidiafb_mono_color_expand()
367 fg = ((u32 *) info->pseudo_palette)[image->fg_color] | mask; in nvidiafb_mono_color_expand()
/openbmc/linux/drivers/video/fbdev/intelfb/
H A Dintelfbdrv.c1534 fgcolor = dinfo->pseudo_palette[image->fg_color]; in intelfb_imageblit()
1537 fgcolor = image->fg_color; in intelfb_imageblit()
1581 fg =dinfo->pseudo_palette[cursor->image.fg_color]; in intelfb_cursor()
1584 fg = cursor->image.fg_color; in intelfb_cursor()
1617 fg = dinfo->pseudo_palette[cursor->image.fg_color]; in intelfb_cursor()
1620 fg = cursor->image.fg_color; in intelfb_cursor()
/openbmc/linux/drivers/video/fbdev/aty/
H A Dmach64_accel.c359 fg = ((u32*)(info->pseudo_palette))[image->fg_color]; in atyfb_imageblit()
362 fg = image->fg_color; in atyfb_imageblit()
H A Dmach64_cursor.c128 fg_idx = cursor->image.fg_color; in atyfb_cursor()
/openbmc/linux/drivers/video/fbdev/
H A Dcirrusfb.c405 u32 fg_color, u32 bg_color,
1831 fg = image->fg_color; in cirrusfb_imageblit()
1834 fg = ((u32 *)(info->pseudo_palette))[image->fg_color]; in cirrusfb_imageblit()
2702 u32 fg_color, u32 bg_color, u_short line_length, in cirrusfb_RectFill() argument
2713 vga_wgfx(regbase, VGA_GFX_SR_ENABLE, fg_color); in cirrusfb_RectFill()
2718 vga_wgfx(regbase, CL_GR11, fg_color >> 8); in cirrusfb_RectFill()
2723 vga_wgfx(regbase, CL_GR13, fg_color >> 16); in cirrusfb_RectFill()
2728 vga_wgfx(regbase, CL_GR15, fg_color >> 24); in cirrusfb_RectFill()
H A Dtdfxfb.c972 tdfx_outl(par, COLORFORE, image->fg_color); in tdfxfb_imageblit()
978 par->palette[image->fg_color]); in tdfxfb_imageblit()
1072 u32 fg_idx = cursor->image.fg_color; in tdfxfb_cursor()
1073 unsigned long bg_color, fg_color; in tdfxfb_cursor() local
1075 fg_color = (((u32)cmap.red[fg_idx] & 0xff00) << 8) | in tdfxfb_cursor()
1083 tdfx_outl(par, HWCURC1, fg_color); in tdfxfb_cursor()

12