Lines Matching defs:cursor
758 static int viafb_cursor(struct fb_info *info, struct fb_cursor *cursor)
776 if (cursor->set & FB_CUR_SETHOT) {
777 temp = (cursor->hot.x << 16) + cursor->hot.y;
781 if (cursor->set & FB_CUR_SETPOS) {
782 yy = cursor->image.dy - info->var.yoffset;
783 xx = cursor->image.dx - info->var.xoffset;
789 if (cursor->image.width <= 32 && cursor->image.height <= 32)
791 else if (cursor->image.width <= 64 && cursor->image.height <= 64)
794 printk(KERN_WARNING "viafb_cursor: The cursor is too large "
795 "%dx%d", cursor->image.width, cursor->image.height);
799 if (cursor->set & FB_CUR_SETSIZE) {
809 if (cursor->set & FB_CUR_SETCMAP) {
810 fg_color = cursor->image.fg_color;
811 bg_color = cursor->image.bg_color;
839 if (cursor->set & FB_CUR_SETSHAPE) {
844 int size = ((cursor->image.width + 7) >> 3) *
845 cursor->image.height;
866 switch (cursor->rop) {
869 cr_data->data[i] = cursor->mask[i];
874 cr_data->data[i] = cursor->mask[i];
901 if (cursor->enable)