Lines Matching defs:image
945 static void tdfxfb_imageblit(struct fb_info *info, const struct fb_image *image)
948 int size = image->height * ((image->width * image->depth + 7) >> 3);
953 u8 *chardata = (u8 *) image->data;
955 u32 dx = image->dx;
956 u32 dy = image->dy;
959 if (image->depth != 1) {
965 cfb_imageblit(info, image);
972 tdfx_outl(par, COLORFORE, image->fg_color);
973 tdfx_outl(par, COLORBACK, image->bg_color);
978 par->palette[image->fg_color]);
980 par->palette[image->bg_color]);
987 /* assume always image->height < 4096 */
988 if (dy + image->height > 4095) {
992 /* assume always image->width < 4096 */
993 if (dx + image->width > 4095) {
1005 tdfx_outl(par, DSTSIZE, image->width | (image->height << 16));
1049 if (cursor->image.width > 64 ||
1050 cursor->image.height > 64 ||
1051 cursor->image.depth > 1)
1071 u32 bg_idx = cursor->image.bg_color;
1072 u32 fg_idx = cursor->image.fg_color;
1087 int x = cursor->image.dx;
1088 int y = cursor->image.dy - info->var.yoffset;
1107 * the cursor image the graphics card uses then from the
1115 u8 *bitmap = (u8 *)cursor->image.data;
1121 for (i = 0; i < cursor->image.height; i++) {
1123 int j = (cursor->image.width + 7) >> 3;