Lines Matching defs:image
1429 neo2200_imageblit(struct fb_info *info, const struct fb_image *image)
1432 int s_pitch = (image->width * image->depth + 7) >> 3;
1439 data_len = ((d_pitch * image->height) + buf_align) & ~buf_align;
1443 if (image->depth == 1) {
1444 if (info->var.bits_per_pixel == 24 && image->width < 16) {
1446 * transfers in 24 bit mode if the image being transferred
1448 * padding when writing the image. We need to adjust
1450 cfb_imageblit(info, image);
1454 } else if (image->depth == info->var.bits_per_pixel) {
1457 /* We don't currently support hardware acceleration if image
1459 cfb_imageblit(info, image);
1465 writel(image->fg_color, &par->neo2200->fgColor);
1466 writel(image->bg_color, &par->neo2200->bgColor);
1470 writel(((u32 *) (info->pseudo_palette))[image->fg_color],
1472 writel(((u32 *) (info->pseudo_palette))[image->bg_color],
1483 // par->neo2200->dstStart = (image->dy << 16) | (image->dx & 0xffff);
1484 writel(((image->dx & 0xffff) * (info->var.bits_per_pixel >> 3) +
1485 image->dy * info->fix.line_length), &par->neo2200->dstStart);
1486 writel((image->height << 16) | (image->width & 0xffff),
1489 memcpy_toio(par->mmio_vbase + 0x100000, image->data, data_len);
1525 neofb_imageblit(struct fb_info *info, const struct fb_image *image)
1532 neo2200_imageblit(info, image);
1535 cfb_imageblit(info, image);
1572 u32 x = cursor->image.dx;
1573 u32 y = cursor->image.dy;
1575 info->cursor.image.dx = x;
1576 info->cursor.image.dy = y;
1582 info->cursor.image.height = cursor->image.height;
1583 info->cursor.image.width = cursor->image.width;
1590 if (cursor->image.depth == 1) {
1591 u32 fg = cursor->image.fg_color;
1592 u32 bg = cursor->image.bg_color;
1594 info->cursor.image.fg_color = fg;
1595 info->cursor.image.bg_color = bg;