Lines Matching refs:cursor
104 static int aafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in aafb_cursor() argument
108 if (cursor->image.height > BT431_CURSOR_SIZE || in aafb_cursor()
109 cursor->image.width > BT431_CURSOR_SIZE) { in aafb_cursor()
114 if (!cursor->enable) in aafb_cursor()
117 if (cursor->set & FB_CUR_SETPOS) in aafb_cursor()
119 cursor->image.dx, cursor->image.dy); in aafb_cursor()
120 if (cursor->set & FB_CUR_SETCMAP) { in aafb_cursor()
121 u8 fg = cursor->image.fg_color ? 0xf : 0x0; in aafb_cursor()
122 u8 bg = cursor->image.bg_color ? 0xf : 0x0; in aafb_cursor()
128 if (cursor->set & (FB_CUR_SETSIZE | FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) in aafb_cursor()
130 cursor->image.data, cursor->mask, cursor->rop, in aafb_cursor()
131 cursor->image.width, cursor->image.height); in aafb_cursor()
133 if (cursor->enable) in aafb_cursor()