Home
last modified time | relevance | path

Searched refs:bgx (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c336 static void matroxfb_cfb4_clear(struct matrox_fb_info *minfo, u_int32_t bgx, in matroxfb_cfb4_clear() argument
362 mga_outl(M_FCOL, bgx); in matroxfb_cfb4_clear()
374 u_int8_t bgx2 = bgx & 0xF0; in matroxfb_cfb4_clear()
383 u_int8_t bgx2 = bgx & 0x0F; in matroxfb_cfb4_clear()
405 u_int32_t bgx, const u_int8_t *chardata, in matroxfb_1bpp_imageblit() argument
441 mga_outl(M_BCOL, bgx); in matroxfb_1bpp_imageblit()
504 u_int32_t fgx, bgx; in matroxfb_imageblit() local
507 bgx = ((u_int32_t*)info->pseudo_palette)[image->bg_color]; in matroxfb_imageblit()
508 …matroxfb_1bpp_imageblit(minfo, fgx, bgx, image->data, image->width, image->height, image->dy, imag… in matroxfb_imageblit()
/linux-4.1.27/drivers/video/fbdev/core/
Dsysimgblt.c189 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local
212 bgx <<= bpp; in fast_imageblit()
214 bgx |= bgcolor; in fast_imageblit()
218 eorx = fgx ^ bgx; in fast_imageblit()
229 *dst++ = (end_mask & eorx) ^ bgx; in fast_imageblit()
Dcfbimgblt.c219 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local
242 bgx <<= bpp; in fast_imageblit()
244 bgx |= bgcolor; in fast_imageblit()
248 eorx = fgx ^ bgx; in fast_imageblit()
257 FB_WRITEL((end_mask & eorx)^bgx, dst++); in fast_imageblit()
/linux-4.1.27/drivers/video/fbdev/
Dpm3fb.c522 u32 fgx, bgx; in pm3fb_imageblit() local
534 bgx = image->bg_color; in pm3fb_imageblit()
539 bgx = par->palette[image->bg_color]; in pm3fb_imageblit()
549 bgx |= bgx << 8; in pm3fb_imageblit()
553 bgx |= bgx << 16; in pm3fb_imageblit()
559 PM3_WRITE_REG(par, PM3BackgroundColor, bgx); in pm3fb_imageblit()
Dpm2fb.c1159 u32 fgx, bgx; in pm2fb_imageblit() local
1177 bgx = image->bg_color; in pm2fb_imageblit()
1182 bgx = par->palette[image->bg_color]; in pm2fb_imageblit()
1187 bgx |= bgx << 8; in pm2fb_imageblit()
1191 bgx |= bgx << 16; in pm2fb_imageblit()
1212 pm2_WR(par, PM2R_CONSTANT_COLOR, bgx); in pm2fb_imageblit()
1226 pm2_WR(par, PM2R_FB_BLOCK_COLOR, bgx); in pm2fb_imageblit()
/linux-4.1.27/drivers/video/fbdev/riva/
Dfbdev.c1500 u32 fgx = 0, bgx = 0, width, tmp; in rivafb_imageblit() local
1513 bgx = image->bg_color; in rivafb_imageblit()
1519 bgx = ((u32 *)info->pseudo_palette)[image->bg_color]; in rivafb_imageblit()
1522 bgx = par->palette[image->bg_color]; in rivafb_imageblit()
1525 convert_bgcolor_16(&bgx); in rivafb_imageblit()
1535 NV_WR32(&par->riva.Bitmap->Color0E, 0, bgx); in rivafb_imageblit()