Lines Matching defs:cursor
56 /* HW cursor parameters */
525 static int nvidiafb_cursor(struct fb_info *info, struct fb_cursor *cursor)
529 int i, set = cursor->set;
532 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
548 yy = cursor->image.dy - info->var.yoffset;
549 xx = cursor->image.dx - info->var.xoffset;
557 u32 bg_idx = cursor->image.bg_color;
558 u32 fg_idx = cursor->image.fg_color;
559 u32 s_pitch = (cursor->image.width + 7) >> 3;
561 u8 *dat = (u8 *) cursor->image.data;
562 u8 *msk = (u8 *) cursor->mask;
565 src = kmalloc_array(s_pitch, cursor->image.height, GFP_ATOMIC);
568 switch (cursor->rop) {
570 for (i = 0; i < s_pitch * cursor->image.height; i++)
575 for (i = 0; i < s_pitch * cursor->image.height; i++)
581 cursor->image.height);
594 cursor->image.width,
595 cursor->image.height);
600 if (cursor->enable)
1561 "Enables hardware cursor implementation. (0 or 1=enabled) "