Lines Matching defs:image
1162 static void vga_8planes_imageblit(struct fb_info *info, const struct fb_image *image)
1169 const char *cdat = image->data;
1170 u32 dx = image->dx;
1175 where = info->screen_base + dx + image->dy * info->fix.line_length;
1178 writeb(image->bg_color, where);
1181 setmask(image->fg_color ^ image->bg_color);
1184 for (y = 0; y < image->height; y++, where += info->fix.line_length)
1193 static void vga_imageblit_expand(struct fb_info *info, const struct fb_image *image)
1195 char __iomem *where = info->screen_base + (image->dx/8) +
1196 image->dy * info->fix.line_length;
1198 char *cdat = (char *) image->data;
1209 setcolor(image->fg_color);
1213 writeb(image->bg_color, where);
1218 for (y = 0; y < image->height; y++) {
1220 for (x = image->width/8; x--;)
1229 setcolor(image->bg_color);
1233 for (y = 0; y < image->height; y++) {
1235 for (x=image->width/8; x--;){
1237 setcolor(image->fg_color);
1248 vga_8planes_imageblit(info, image);
1252 cfb_imageblit(info, image);
1257 static void vga_imageblit_color(struct fb_info *info, const struct fb_image *image)
1264 info->screen_base + image->dy * info->fix.line_length +
1265 image->dx/8;
1266 const char *cdat = image->data;
1278 for (y = 0; y < image->height; y++) {
1279 for (x = 0; x < image->width; x++) {
1295 cfb_imageblit(info, image);
1302 static void vga16fb_imageblit(struct fb_info *info, const struct fb_image *image)
1304 if (image->depth == 1)
1305 vga_imageblit_expand(info, image);
1307 vga_imageblit_color(info, image);