Lines Matching defs:cursor
80 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor);
764 * i810_enable_cursor - show or hide the hardware cursor
769 * Shows or hides the hardware cursor
843 * i810_init_cursor - initializes the cursor
847 * Initializes the cursor registers
1477 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
1485 if (cursor->image.width > 64 || cursor->image.height > 64)
1490 cursor->set |= FB_CUR_SETALL;
1495 if (cursor->set & FB_CUR_SETPOS) {
1498 tmp = (cursor->image.dx - info->var.xoffset) & 0xffff;
1499 tmp |= (cursor->image.dy - info->var.yoffset) << 16;
1503 if (cursor->set & FB_CUR_SETSIZE)
1506 if (cursor->set & FB_CUR_SETCMAP)
1507 i810_load_cursor_colors(cursor->image.fg_color,
1508 cursor->image.bg_color,
1511 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) {
1512 int size = ((cursor->image.width + 7) >> 3) *
1513 cursor->image.height;
1520 switch (cursor->rop) {
1523 data[i] = cursor->image.data[i] ^ cursor->mask[i];
1528 data[i] = cursor->image.data[i] & cursor->mask[i];
1532 i810_load_cursor_image(cursor->image.width,
1533 cursor->image.height, data,
1538 if (cursor->enable)
1694 "cursor memory\n");
1700 printk("i810fb_alloc_cursormem: cannot bind cursor memory\n");