• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/video/

Lines Matching defs:image

1486 neo2200_imageblit(struct fb_info *info, const struct fb_image *image)
1489 int s_pitch = (image->width * image->depth + 7) >> 3;
1496 data_len = ((d_pitch * image->height) + buf_align) & ~buf_align;
1500 if (image->depth == 1) {
1501 if (info->var.bits_per_pixel == 24 && image->width < 16) {
1502 return cfb_imageblit(info, image);
1505 } else if (image->depth == info->var.bits_per_pixel) {
1508 /* We don't currently support hardware acceleration if image
1510 return cfb_imageblit(info, image);
1515 writel(image->fg_color, &par->neo2200->fgColor);
1516 writel(image->bg_color, &par->neo2200->bgColor);
1520 writel(((u32 *) (info->pseudo_palette))[image->fg_color],
1522 writel(((u32 *) (info->pseudo_palette))[image->bg_color],
1533 // par->neo2200->dstStart = (image->dy << 16) | (image->dx & 0xffff);
1534 writel(((image->dx & 0xffff) * (info->var.bits_per_pixel >> 3) +
1535 image->dy * info->fix.line_length), &par->neo2200->dstStart);
1536 writel((image->height << 16) | (image->width & 0xffff),
1539 memcpy_toio(par->mmio_vbase + 0x100000, image->data, data_len);
1575 neofb_imageblit(struct fb_info *info, const struct fb_image *image)
1582 neo2200_imageblit(info, image);
1585 cfb_imageblit(info, image);
1622 u32 x = cursor->image.dx;
1623 u32 y = cursor->image.dy;
1625 info->cursor.image.dx = x;
1626 info->cursor.image.dy = y;
1632 info->cursor.image.height = cursor->image.height;
1633 info->cursor.image.width = cursor->image.width;
1640 if (cursor->image.depth == 1) {
1641 u32 fg = cursor->image.fg_color;
1642 u32 bg = cursor->image.bg_color;
1644 info->cursor.image.fg_color = fg;
1645 info->cursor.image.bg_color = bg;