Lines Matching defs:image

1428 neo2200_imageblit(struct fb_info *info, const struct fb_image *image)
1431 int s_pitch = (image->width * image->depth + 7) >> 3;
1438 data_len = ((d_pitch * image->height) + buf_align) & ~buf_align;
1442 if (image->depth == 1) {
1443 if (info->var.bits_per_pixel == 24 && image->width < 16) {
1445 * transfers in 24 bit mode if the image being transferred
1447 * padding when writing the image. We need to adjust
1449 cfb_imageblit(info, image);
1453 } else if (image->depth == info->var.bits_per_pixel) {
1456 /* We don't currently support hardware acceleration if image
1458 cfb_imageblit(info, image);
1464 writel(image->fg_color, &par->neo2200->fgColor);
1465 writel(image->bg_color, &par->neo2200->bgColor);
1469 writel(((u32 *) (info->pseudo_palette))[image->fg_color],
1471 writel(((u32 *) (info->pseudo_palette))[image->bg_color],
1482 // par->neo2200->dstStart = (image->dy << 16) | (image->dx & 0xffff);
1483 writel(((image->dx & 0xffff) * (info->var.bits_per_pixel >> 3) +
1484 image->dy * info->fix.line_length), &par->neo2200->dstStart);
1485 writel((image->height << 16) | (image->width & 0xffff),
1488 memcpy_toio(par->mmio_vbase + 0x100000, image->data, data_len);
1524 neofb_imageblit(struct fb_info *info, const struct fb_image *image)
1531 neo2200_imageblit(info, image);
1534 cfb_imageblit(info, image);
1571 u32 x = cursor->image.dx;
1572 u32 y = cursor->image.dy;
1574 info->cursor.image.dx = x;
1575 info->cursor.image.dy = y;
1581 info->cursor.image.height = cursor->image.height;
1582 info->cursor.image.width = cursor->image.width;
1589 if (cursor->image.depth == 1) {
1590 u32 fg = cursor->image.fg_color;
1591 u32 bg = cursor->image.bg_color;
1593 info->cursor.image.fg_color = fg;
1594 info->cursor.image.bg_color = bg;