Lines Matching defs:cursor
15 * Jindrich Makovicka: Accel code help, hw cursor, mtrr
88 /* HW cursor parameters */
456 * cursor stuff
461 * rivafb_load_cursor_image - load cursor image to hardware
464 * @w: width of cursor image in pixels
465 * @h: height of cursor image in scanlines
470 * Loads cursor image based on a monochrome source and mask bitmap. The
808 par->riva.LockUnlock(&par->riva, 0); /* important for HW cursor */
1558 * rivafb_cursor - hardware cursor function
1560 * @cursor: pointer to fbcursor structure
1563 * A cursor function that supports displaying a cursor image via hardware.
1570 static int rivafb_cursor(struct fb_info *info, struct fb_cursor *cursor)
1574 int i, set = cursor->set;
1577 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
1593 yy = cursor->image.dy - info->var.yoffset;
1594 xx = cursor->image.dx - info->var.xoffset;
1603 u32 bg_idx = cursor->image.bg_color;
1604 u32 fg_idx = cursor->image.fg_color;
1605 u32 s_pitch = (cursor->image.width+7) >> 3;
1607 u8 *dat = (u8 *) cursor->image.data;
1608 u8 *msk = (u8 *) cursor->mask;
1611 src = kmalloc_array(s_pitch, cursor->image.height, GFP_ATOMIC);
1614 switch (cursor->rop) {
1616 for (i = 0; i < s_pitch * cursor->image.height; i++)
1621 for (i = 0; i < s_pitch * cursor->image.height; i++)
1627 cursor->image.height);
1642 cursor->image.width,
1643 cursor->image.height);
1648 if (cursor->enable)