Lines Matching defs:cursor
82 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor);
766 * i810_enable_cursor - show or hide the hardware cursor
771 * Shows or hides the hardware cursor
845 * i810_init_cursor - initializes the cursor
849 * Initializes the cursor registers
1479 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
1487 if (cursor->image.width > 64 || cursor->image.height > 64)
1492 cursor->set |= FB_CUR_SETALL;
1497 if (cursor->set & FB_CUR_SETPOS) {
1500 tmp = (cursor->image.dx - info->var.xoffset) & 0xffff;
1501 tmp |= (cursor->image.dy - info->var.yoffset) << 16;
1505 if (cursor->set & FB_CUR_SETSIZE)
1508 if (cursor->set & FB_CUR_SETCMAP)
1509 i810_load_cursor_colors(cursor->image.fg_color,
1510 cursor->image.bg_color,
1513 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) {
1514 int size = ((cursor->image.width + 7) >> 3) *
1515 cursor->image.height;
1522 switch (cursor->rop) {
1525 data[i] = cursor->image.data[i] ^ cursor->mask[i];
1530 data[i] = cursor->image.data[i] & cursor->mask[i];
1534 i810_load_cursor_image(cursor->image.width,
1535 cursor->image.height, data,
1540 if (cursor->enable)
1696 "cursor memory\n");
1702 printk("i810fb_alloc_cursormem: cannot bind cursor memory\n");