Home
last modified time | relevance | path

Searched refs:fgcolor (Results 1 – 12 of 12) sorted by relevance

/drivers/video/fbdev/core/
Dsysimgblt.c112 void *dst1, u32 fgcolor, u32 bgcolor, in slow_imageblit() argument
124 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
144 color = (*s & (1 << l)) ? fgcolor : bgcolor; in slow_imageblit()
187 void *dst1, u32 fgcolor, u32 bgcolor) in fast_imageblit() argument
189 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit()
213 fgx |= fgcolor; in fast_imageblit()
242 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in sys_imageblit() local
265 fgcolor = ((u32*)(p->pseudo_palette))[image->fg_color]; in sys_imageblit()
268 fgcolor = image->fg_color; in sys_imageblit()
275 fast_imageblit(image, p, dst1, fgcolor, bgcolor); in sys_imageblit()
[all …]
Dcfbimgblt.c138 u8 __iomem *dst1, u32 fgcolor, in slow_imageblit() argument
153 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
173 color = (*s & (1 << l)) ? fgcolor : bgcolor; in slow_imageblit()
216 u8 __iomem *dst1, u32 fgcolor, in fast_imageblit() argument
219 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit()
243 fgx |= fgcolor; in fast_imageblit()
267 u32 fgcolor, bgcolor, start_index, bitstart, pitch_index = 0; in cfb_imageblit() local
290 fgcolor = ((u32*)(p->pseudo_palette))[image->fg_color]; in cfb_imageblit()
293 fgcolor = image->fg_color; in cfb_imageblit()
300 fast_imageblit(image, p, dst1, fgcolor, bgcolor); in cfb_imageblit()
[all …]
/drivers/video/fbdev/
Datafb.h11 const u8 *data, u32 bgcolor, u32 fgcolor);
19 const u8 *data, u32 bgcolor, u32 fgcolor);
27 const u8 *data, u32 bgcolor, u32 fgcolor);
35 const u8 *data, u32 bgcolor, u32 fgcolor);
Datafb_iplan2p2.c241 const u8 *data, u32 bgcolor, u32 fgcolor) in atafb_iplan2p2_linefill() argument
250 fill8_2col((u8 *)dest + 1, fgcolor, bgcolor, *data++); in atafb_iplan2p2_linefill()
257 expand16_2col2mask(fgcolor, bgcolor, fgm, bgm); in atafb_iplan2p2_linefill()
270 fill8_2col((u8 *)dest, fgcolor, bgcolor, *data); in atafb_iplan2p2_linefill()
Datafb_iplan2p4.c255 const u8 *data, u32 bgcolor, u32 fgcolor) in atafb_iplan2p4_linefill() argument
264 fill8_2col((u8 *)dest + 1, fgcolor, bgcolor, *data++); in atafb_iplan2p4_linefill()
271 expand16_2col2mask(fgcolor, bgcolor, fgm, bgm); in atafb_iplan2p4_linefill()
285 fill8_2col((u8 *)dest, fgcolor, bgcolor, *data); in atafb_iplan2p4_linefill()
Datafb_iplan2p8.c290 const u8 *data, u32 bgcolor, u32 fgcolor) in atafb_iplan2p8_linefill() argument
299 fill8_2col((u8 *)dest + 1, fgcolor, bgcolor, *data++); in atafb_iplan2p8_linefill()
306 expand16_2col2mask(fgcolor, bgcolor, fgm, bgm); in atafb_iplan2p8_linefill()
322 fill8_2col((u8 *)dest, fgcolor, bgcolor, *data); in atafb_iplan2p8_linefill()
Dtgafb.c623 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local
658 fgcolor = image->fg_color;
661 fgcolor |= fgcolor << 8;
662 fgcolor |= fgcolor << 16;
666 if (fgcolor < 16)
667 fgcolor = ((u32 *)info->pseudo_palette)[fgcolor];
671 __raw_writel(fgcolor, regs_base + TGA_FOREGROUND_REG);
Datafb_mfb.c79 const u8 *data, u32 bgcolor, u32 fgcolor) in atafb_mfb_linefill() argument
Damifb.c3308 const u8 *data, u32 bgcolor, u32 fgcolor) in expand_one_line() argument
3316 if ((bgcolor ^ fgcolor) & 1) { in expand_one_line()
3320 if (fgcolor & 1) in expand_one_line()
3326 bitfill32(dst, dst_idx, fgcolor & 1 ? ~0 : 0, n); in expand_one_line()
3330 fgcolor >>= 1; in expand_one_line()
/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c76 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit1() argument
90 cmd[3] = fgcolor; in mb86290fb_imageblit1()
125 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit8() argument
164 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit16() argument
196 u32 fgcolor = 0, bgcolor = 0; in mb86290fb_imageblit() local
220 fgcolor = in mb86290fb_imageblit()
225 fgcolor = image->fg_color; in mb86290fb_imageblit()
251 cmdfn(cmd, step, dx, dy, width, height, fgcolor, bgcolor, image, info); in mb86290fb_imageblit()
/drivers/gpu/drm/qxl/
Dqxl_draw.c130 uint32_t fgcolor, bgcolor; in qxl_palette_create_1bit() local
141 fgcolor = pseudo_palette[fb_image->fg_color]; in qxl_palette_create_1bit()
144 fgcolor = fb_image->fg_color; in qxl_palette_create_1bit()
148 pal->ents[1] = fgcolor; in qxl_palette_create_1bit()
/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1512 u32 fgcolor, bgcolor; in intelfb_imageblit() local
1525 fgcolor = dinfo->pseudo_palette[image->fg_color]; in intelfb_imageblit()
1528 fgcolor = image->fg_color; in intelfb_imageblit()
1532 if (!intelfbhw_do_drawglyph(dinfo, fgcolor, bgcolor, image->width, in intelfb_imageblit()