Lines Matching defs:cursor
81 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor);
765 * i810_enable_cursor - show or hide the hardware cursor
770 * Shows or hides the hardware cursor
844 * i810_init_cursor - initializes the cursor
848 * Initializes the cursor registers
1478 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
1486 if (cursor->image.width > 64 || cursor->image.height > 64)
1491 cursor->set |= FB_CUR_SETALL;
1496 if (cursor->set & FB_CUR_SETPOS) {
1499 tmp = (cursor->image.dx - info->var.xoffset) & 0xffff;
1500 tmp |= (cursor->image.dy - info->var.yoffset) << 16;
1504 if (cursor->set & FB_CUR_SETSIZE)
1507 if (cursor->set & FB_CUR_SETCMAP)
1508 i810_load_cursor_colors(cursor->image.fg_color,
1509 cursor->image.bg_color,
1512 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) {
1513 int size = ((cursor->image.width + 7) >> 3) *
1514 cursor->image.height;
1521 switch (cursor->rop) {
1524 data[i] = cursor->image.data[i] ^ cursor->mask[i];
1529 data[i] = cursor->image.data[i] & cursor->mask[i];
1533 i810_load_cursor_image(cursor->image.width,
1534 cursor->image.height, data,
1539 if (cursor->enable)
1695 "cursor memory\n");
1701 printk("i810fb_alloc_cursormem: cannot bind cursor memory\n");