• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/intelfb/

Lines Matching defs:cursor

73 			   struct fb_cursor *cursor);
168 MODULE_PARM_DESC(hwcursor, "Enable HW cursor");
552 /* Allocate space for the ring buffer and HW cursor if enabled. */
558 dinfo->cursor.size = HW_CURSOR_SIZE;
584 dinfo->cursor.offset = offset +
589 + (dinfo->cursor.size >> 12);
638 agp_allocate_memory(bridge, dinfo->cursor.size >> 12,
640 ERR_MSG("cannot allocate cursor memory\n");
646 dinfo->cursor.offset)) {
647 ERR_MSG("cannot bind cursor memory\n");
653 dinfo->cursor.physical
656 dinfo->cursor.physical = dinfo->aperture.physical
657 + (dinfo->cursor.offset << 12);
658 dinfo->cursor.virtual = dinfo->aperture.virtual
659 + (dinfo->cursor.offset << 12);
700 DBG_MSG("HW cursor: 0x%x/0x%x (0x%p) (offset 0x%x) (phys 0x%x)\n",
701 dinfo->cursor.physical, dinfo->cursor.size,
702 dinfo->cursor.virtual, dinfo->cursor.offset,
703 dinfo->cursor.physical);
1493 static int intelfb_cursor(struct fb_info *info, struct fb_cursor *cursor)
1506 /* If XFree killed the cursor - restore it */
1507 physical = (dinfo->mobile || IS_I9XX(dinfo)) ? dinfo->cursor.physical :
1508 (dinfo->cursor.offset << 12);
1513 DBG_MSG("the cursor was killed - restore it !!\n");
1515 cursor->image.width, cursor->image.height,
1516 cursor->image.dx, cursor->image.dy);
1520 intelfbhw_cursor_setpos(dinfo, cursor->image.dx,
1521 cursor->image.dy);
1524 fg =dinfo->pseudo_palette[cursor->image.fg_color];
1525 bg =dinfo->pseudo_palette[cursor->image.bg_color];
1527 fg = cursor->image.fg_color;
1528 bg = cursor->image.bg_color;
1531 intelfbhw_cursor_load(dinfo, cursor->image.width,
1532 cursor->image.height,
1535 if (cursor->enable)
1540 if (cursor->set & FB_CUR_SETPOS) {
1543 dx = cursor->image.dx - info->var.xoffset;
1544 dy = cursor->image.dy - info->var.yoffset;
1549 if (cursor->set & FB_CUR_SETSIZE) {
1550 if (cursor->image.width > 64 || cursor->image.height > 64)
1556 if (cursor->set & FB_CUR_SETCMAP) {
1560 fg = dinfo->pseudo_palette[cursor->image.fg_color];
1561 bg = dinfo->pseudo_palette[cursor->image.bg_color];
1563 fg = cursor->image.fg_color;
1564 bg = cursor->image.bg_color;
1570 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) {
1571 u32 s_pitch = (ROUND_UP_TO(cursor->image.width, 8) / 8);
1572 u32 size = s_pitch * cursor->image.height;
1573 u8 *dat = (u8 *) cursor->image.data;
1574 u8 *msk = (u8 *) cursor->mask;
1578 if (cursor->image.depth != 1)
1581 switch (cursor->rop) {
1594 make the cursor dirty */
1597 intelfbhw_cursor_load(dinfo, cursor->image.width,
1598 cursor->image.height, src);
1601 if (cursor->enable)