Home
last modified time | relevance | path

Searched refs:fgx (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/video/fbdev/core/
H A Dsysimgblt.c189 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local
217 fgx <<= bpp; in fast_imageblit()
219 fgx |= fgcolor; in fast_imageblit()
224 eorx = fgx ^ bgx; in fast_imageblit()
H A Dcfbimgblt.c219 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local
247 fgx <<= bpp; in fast_imageblit()
249 fgx |= fgcolor; in fast_imageblit()
254 eorx = fgx ^ bgx; in fast_imageblit()
/openbmc/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c405 static void matroxfb_1bpp_imageblit(struct matrox_fb_info *minfo, u_int32_t fgx, in matroxfb_1bpp_imageblit() argument
441 mga_outl(M_FCOL, fgx); in matroxfb_1bpp_imageblit()
505 u_int32_t fgx, bgx; in matroxfb_imageblit() local
507 fgx = ((u_int32_t*)info->pseudo_palette)[image->fg_color]; in matroxfb_imageblit()
509 …matroxfb_1bpp_imageblit(minfo, fgx, bgx, image->data, image->width, image->height, image->dy, imag… in matroxfb_imageblit()
/openbmc/u-boot/drivers/video/
H A Dcfb_console.c244 static u32 eorx, fgx, bgx; /* color pats */ variable
722 eorx = fgx; in console_swap_colors()
723 fgx = bgx; in console_swap_colors()
725 eorx = fgx ^ bgx; in console_swap_colors()
2038 fgx = 0x01010101; in cfg_video_init()
2045 fgx = (color8 << 24) | (color8 << 16) | (color8 << 8) | in cfg_video_init()
2054 fgx = (((CONFIG_SYS_CONSOLE_FG_COL >> 3) << 26) | in cfg_video_init()
2068 fgx = (((CONFIG_SYS_CONSOLE_FG_COL >> 3) << 27) | in cfg_video_init()
2082 fgx = (CONFIG_SYS_CONSOLE_FG_COL << 16) | in cfg_video_init()
2090 fgx = (CONFIG_SYS_CONSOLE_FG_COL << 24) | in cfg_video_init()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dpm3fb.c516 u32 fgx, bgx; in pm3fb_imageblit() local
527 fgx = image->fg_color; in pm3fb_imageblit()
532 fgx = par->palette[image->fg_color]; in pm3fb_imageblit()
542 fgx |= fgx << 8; in pm3fb_imageblit()
546 fgx |= fgx << 16; in pm3fb_imageblit()
552 PM3_WRITE_REG(par, PM3ForegroundColor, fgx); in pm3fb_imageblit()
H A Dpm2fb.c1161 u32 fgx, bgx; in pm2fb_imageblit() local
1178 fgx = image->fg_color; in pm2fb_imageblit()
1183 fgx = par->palette[image->fg_color]; in pm2fb_imageblit()
1188 fgx |= fgx << 8; in pm2fb_imageblit()
1192 fgx |= fgx << 16; in pm2fb_imageblit()
1220 pm2_WR(par, PM2R_CONSTANT_COLOR, fgx); in pm2fb_imageblit()
1234 pm2_WR(par, PM2R_FB_BLOCK_COLOR, fgx); in pm2fb_imageblit()
/openbmc/linux/drivers/video/fbdev/riva/
H A Dfbdev.c1488 u32 fgx = 0, bgx = 0, width, tmp; in rivafb_imageblit() local
1500 fgx = image->fg_color; in rivafb_imageblit()
1506 fgx = ((u32 *)info->pseudo_palette)[image->fg_color]; in rivafb_imageblit()
1509 fgx = par->palette[image->fg_color]; in rivafb_imageblit()
1524 NV_WR32(&par->riva.Bitmap->Color1E, 0, fgx); in rivafb_imageblit()