Lines Matching refs:cursor
24 * Hardware cursor support.
54 * Bt431 cursor generator offset (rel. to TC slot base address).
104 static int aafb_cursor(struct fb_info *info, struct fb_cursor *cursor)
108 if (cursor->image.height > BT431_CURSOR_SIZE ||
109 cursor->image.width > BT431_CURSOR_SIZE) {
114 if (!cursor->enable)
117 if (cursor->set & FB_CUR_SETPOS)
119 cursor->image.dx, cursor->image.dy);
120 if (cursor->set & FB_CUR_SETCMAP) {
121 u8 fg = cursor->image.fg_color ? 0xf : 0x0;
122 u8 bg = cursor->image.bg_color ? 0xf : 0x0;
128 if (cursor->set & (FB_CUR_SETSIZE | FB_CUR_SETSHAPE | FB_CUR_SETIMAGE))
130 cursor->image.data, cursor->mask, cursor->rop,
131 cursor->image.width, cursor->image.height);
133 if (cursor->enable)
212 /* Init hardware cursor. */