Lines Matching defs:cursor
62 /* HW cursor parameters */
537 static int nvidiafb_cursor(struct fb_info *info, struct fb_cursor *cursor)
541 int i, set = cursor->set;
544 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
560 yy = cursor->image.dy - info->var.yoffset;
561 xx = cursor->image.dx - info->var.xoffset;
569 u32 bg_idx = cursor->image.bg_color;
570 u32 fg_idx = cursor->image.fg_color;
571 u32 s_pitch = (cursor->image.width + 7) >> 3;
573 u8 *dat = (u8 *) cursor->image.data;
574 u8 *msk = (u8 *) cursor->mask;
577 src = kmalloc(s_pitch * cursor->image.height, GFP_ATOMIC);
580 switch (cursor->rop) {
582 for (i = 0; i < s_pitch * cursor->image.height; i++)
587 for (i = 0; i < s_pitch * cursor->image.height; i++)
593 cursor->image.height);
606 cursor->image.width,
607 cursor->image.height);
612 if (cursor->enable)
1571 "Enables hardware cursor implementation. (0 or 1=enabled) "