Lines Matching refs:image
944 static void tdfxfb_imageblit(struct fb_info *info, const struct fb_image *image) in tdfxfb_imageblit() argument
947 int size = image->height * ((image->width * image->depth + 7) >> 3); in tdfxfb_imageblit()
952 u8 *chardata = (u8 *) image->data; in tdfxfb_imageblit()
954 u32 dx = image->dx; in tdfxfb_imageblit()
955 u32 dy = image->dy; in tdfxfb_imageblit()
958 if (image->depth != 1) { in tdfxfb_imageblit()
964 cfb_imageblit(info, image); in tdfxfb_imageblit()
971 tdfx_outl(par, COLORFORE, image->fg_color); in tdfxfb_imageblit()
972 tdfx_outl(par, COLORBACK, image->bg_color); in tdfxfb_imageblit()
977 par->palette[image->fg_color]); in tdfxfb_imageblit()
979 par->palette[image->bg_color]); in tdfxfb_imageblit()
987 if (dy + image->height > 4095) { in tdfxfb_imageblit()
992 if (dx + image->width > 4095) { in tdfxfb_imageblit()
1004 tdfx_outl(par, DSTSIZE, image->width | (image->height << 16)); in tdfxfb_imageblit()
1048 if (cursor->image.width > 64 || in tdfxfb_cursor()
1049 cursor->image.height > 64 || in tdfxfb_cursor()
1050 cursor->image.depth > 1) in tdfxfb_cursor()
1070 u32 bg_idx = cursor->image.bg_color; in tdfxfb_cursor()
1071 u32 fg_idx = cursor->image.fg_color; in tdfxfb_cursor()
1086 int x = cursor->image.dx; in tdfxfb_cursor()
1087 int y = cursor->image.dy - info->var.yoffset; in tdfxfb_cursor()
1114 u8 *bitmap = (u8 *)cursor->image.data; in tdfxfb_cursor()
1120 for (i = 0; i < cursor->image.height; i++) { in tdfxfb_cursor()
1122 int j = (cursor->image.width + 7) >> 3; in tdfxfb_cursor()