Lines Matching defs:cursor
15 * Jindrich Makovicka: Accel code help, hw cursor, mtrr
94 /* HW cursor parameters */
479 * cursor stuff
484 * rivafb_load_cursor_image - load cursor image to hardware
487 * @w: width of cursor image in pixels
488 * @h: height of cursor image in scanlines
493 * Loads cursor image based on a monochrome source and mask bitmap. The
831 par->riva.LockUnlock(&par->riva, 0); /* important for HW cursor */
1584 * rivafb_cursor - hardware cursor function
1586 * @cursor: pointer to fbcursor structure
1589 * A cursor function that supports displaying a cursor image via hardware.
1596 static int rivafb_cursor(struct fb_info *info, struct fb_cursor *cursor)
1600 int i, set = cursor->set;
1603 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
1619 yy = cursor->image.dy - info->var.yoffset;
1620 xx = cursor->image.dx - info->var.xoffset;
1629 u32 bg_idx = cursor->image.bg_color;
1630 u32 fg_idx = cursor->image.fg_color;
1631 u32 s_pitch = (cursor->image.width+7) >> 3;
1633 u8 *dat = (u8 *) cursor->image.data;
1634 u8 *msk = (u8 *) cursor->mask;
1637 src = kmalloc(s_pitch * cursor->image.height, GFP_ATOMIC);
1640 switch (cursor->rop) {
1642 for (i = 0; i < s_pitch * cursor->image.height; i++)
1647 for (i = 0; i < s_pitch * cursor->image.height; i++)
1653 cursor->image.height);
1668 cursor->image.width,
1669 cursor->image.height);
1674 if (cursor->enable)