Lines Matching defs:cursor
55 /* HW cursor parameters */
524 static int nvidiafb_cursor(struct fb_info *info, struct fb_cursor *cursor)
528 int i, set = cursor->set;
531 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
547 yy = cursor->image.dy - info->var.yoffset;
548 xx = cursor->image.dx - info->var.xoffset;
556 u32 bg_idx = cursor->image.bg_color;
557 u32 fg_idx = cursor->image.fg_color;
558 u32 s_pitch = (cursor->image.width + 7) >> 3;
560 u8 *dat = (u8 *) cursor->image.data;
561 u8 *msk = (u8 *) cursor->mask;
564 src = kmalloc_array(s_pitch, cursor->image.height, GFP_ATOMIC);
567 switch (cursor->rop) {
569 for (i = 0; i < s_pitch * cursor->image.height; i++)
574 for (i = 0; i < s_pitch * cursor->image.height; i++)
580 cursor->image.height);
593 cursor->image.width,
594 cursor->image.height);
599 if (cursor->enable)
1548 "Enables hardware cursor implementation. (0 or 1=enabled) "