Lines Matching defs:image
1136 static void vga_8planes_imageblit(struct fb_info *info, const struct fb_image *image)
1143 const unsigned char *cdat = image->data;
1144 u32 dx = image->dx;
1149 where = info->screen_base + dx + image->dy * info->fix.line_length;
1152 writeb(image->bg_color, where);
1155 setmask(image->fg_color ^ image->bg_color);
1158 for (y = 0; y < image->height; y++, where += info->fix.line_length)
1167 static void vga_imageblit_expand(struct fb_info *info, const struct fb_image *image)
1169 char __iomem *where = info->screen_base + (image->dx/8) +
1170 image->dy * info->fix.line_length;
1172 char *cdat = (char *) image->data;
1183 setcolor(image->fg_color);
1187 writeb(image->bg_color, where);
1192 for (y = 0; y < image->height; y++) {
1194 for (x = image->width/8; x--;)
1203 setcolor(image->bg_color);
1207 for (y = 0; y < image->height; y++) {
1209 for (x=image->width/8; x--;){
1211 setcolor(image->fg_color);
1222 vga_8planes_imageblit(info, image);
1226 cfb_imageblit(info, image);
1231 static void vga_imageblit_color(struct fb_info *info, const struct fb_image *image)
1238 info->screen_base + image->dy * info->fix.line_length +
1239 image->dx/8;
1240 const char *cdat = image->data;
1252 for (y = 0; y < image->height; y++) {
1253 for (x = 0; x < image->width; x++) {
1269 cfb_imageblit(info, image);
1276 static void vga16fb_imageblit(struct fb_info *info, const struct fb_image *image)
1278 if (image->depth == 1)
1279 vga_imageblit_expand(info, image);
1281 vga_imageblit_color(info, image);