Lines Matching defs:image
946 static void tdfxfb_imageblit(struct fb_info *info, const struct fb_image *image)
949 int size = image->height * ((image->width * image->depth + 7) >> 3);
954 u8 *chardata = (u8 *) image->data;
956 u32 dx = image->dx;
957 u32 dy = image->dy;
960 if (image->depth != 1) {
966 cfb_imageblit(info, image);
973 tdfx_outl(par, COLORFORE, image->fg_color);
974 tdfx_outl(par, COLORBACK, image->bg_color);
979 par->palette[image->fg_color]);
981 par->palette[image->bg_color]);
988 /* assume always image->height < 4096 */
989 if (dy + image->height > 4095) {
993 /* assume always image->width < 4096 */
994 if (dx + image->width > 4095) {
1006 tdfx_outl(par, DSTSIZE, image->width | (image->height << 16));
1050 if (cursor->image.width > 64 ||
1051 cursor->image.height > 64 ||
1052 cursor->image.depth > 1)
1072 u32 bg_idx = cursor->image.bg_color;
1073 u32 fg_idx = cursor->image.fg_color;
1088 int x = cursor->image.dx;
1089 int y = cursor->image.dy - info->var.yoffset;
1108 * the cursor image the graphics card uses then from the
1116 u8 *bitmap = (u8 *)cursor->image.data;
1122 for (i = 0; i < cursor->image.height; i++) {
1124 int j = (cursor->image.width + 7) >> 3;