/drivers/video/console/ |
H A D | softcursor.c | 4 * Generic software cursor for frame buffer devices 22 int soft_cursor(struct fb_info *info, struct fb_cursor *cursor) argument 34 s_pitch = (cursor->image.width + 7) >> 3; 35 dsize = s_pitch * cursor->image.height; 51 *image = cursor->image; 58 if (cursor->enable) { 59 switch (cursor->rop) { 62 src[i] = image->data[i] ^ cursor->mask[i]; 67 src[i] = image->data[i] & cursor->mask[i]; 82 MODULE_DESCRIPTION("Generic software cursor"); [all...] |
H A D | tileblit.c | 85 struct fb_tilecursor cursor; local 88 cursor.sx = vc->vc_x; 89 cursor.sy = vc->vc_y; 90 cursor.mode = (mode == CM_ERASE || use_sw) ? 0 : 1; 91 cursor.fg = fg; 92 cursor.bg = bg; 96 cursor.shape = FB_TILE_CURSOR_NONE; 99 cursor.shape = FB_TILE_CURSOR_UNDERLINE; 102 cursor.shape = FB_TILE_CURSOR_LOWER_THIRD; 105 cursor [all...] |
H A D | bitblit.c | 240 struct fb_cursor cursor; local 249 cursor.set = 0; 267 cursor.set |= FB_CUR_SETIMAGE; 287 cursor.set |= FB_CUR_SETCMAP; 295 cursor.set |= FB_CUR_SETPOS; 303 cursor.set |= FB_CUR_SETSIZE; 308 ops->cursor_state.hot.x = cursor.hot.y = 0; 309 cursor.set |= FB_CUR_SETHOT; 312 if (cursor.set & FB_CUR_SETSIZE || 327 cursor [all...] |
H A D | fbcon_ccw.c | 225 struct fb_cursor cursor; local 238 cursor.set = 0; 256 cursor.set |= FB_CUR_SETIMAGE; 276 cursor.set |= FB_CUR_SETCMAP; 284 cursor.set |= FB_CUR_SETSIZE; 295 cursor.set |= FB_CUR_SETPOS; 300 ops->cursor_state.hot.x = cursor.hot.y = 0; 301 cursor.set |= FB_CUR_SETHOT; 304 if (cursor.set & FB_CUR_SETSIZE || 326 cursor [all...] |
H A D | fbcon_cw.c | 209 struct fb_cursor cursor; local 222 cursor.set = 0; 240 cursor.set |= FB_CUR_SETIMAGE; 260 cursor.set |= FB_CUR_SETCMAP; 268 cursor.set |= FB_CUR_SETSIZE; 279 cursor.set |= FB_CUR_SETPOS; 284 ops->cursor_state.hot.x = cursor.hot.y = 0; 285 cursor.set |= FB_CUR_SETHOT; 288 if (cursor.set & FB_CUR_SETSIZE || 310 cursor [all...] |
H A D | fbcon_ud.c | 255 struct fb_cursor cursor; local 269 cursor.set = 0; 287 cursor.set |= FB_CUR_SETIMAGE; 307 cursor.set |= FB_CUR_SETCMAP; 315 cursor.set |= FB_CUR_SETSIZE; 326 cursor.set |= FB_CUR_SETPOS; 331 ops->cursor_state.hot.x = cursor.hot.y = 0; 332 cursor.set |= FB_CUR_SETHOT; 335 if (cursor.set & FB_CUR_SETSIZE || 350 cursor [all...] |
H A D | fbcon.h | 64 void (*cursor)(struct vc_data *vc, struct fb_info *info, int mode, member in struct:fbcon_ops 220 extern int soft_cursor(struct fb_info *info, struct fb_cursor *cursor);
|
/drivers/video/aty/ |
H A D | mach64_cursor.c | 19 * The hardware cursor definition requires 2 bits per pixel. The 20 * Cursor size reguardless of the visible cursor size is 64 pixels 21 * by 64 lines. The total memory required to define the cursor is 23 * must be in a contigiuos format. The 2 bit cursor code values are 45 * cursor is specificed by CURS_HORZ_VERT_POSN. Care must be taken 46 * when the cursor hot spot is not the top left corner and the 47 * physical cursor position becomes negative. It will be be displayed 48 * if either the horizontal or vertical cursor position is negative 50 * If x becomes negative the cursor manager must adjust the CURS_HORZ_OFFSET 54 * CUR_OFFSET must be adjusted to a point to the appropriate line in the cursor 66 atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) argument [all...] |
/drivers/video/pnx4008/ |
H A D | pnxrgbfb.c | 64 static int no_cursor(struct fb_info *info, struct fb_cursor *cursor) argument
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_crtc.h | 60 } cursor; member in struct:nouveau_crtc
|
H A D | nv04_crtc.c | 153 nv_crtc->cursor.set_offset(nv_crtc, nv_crtc->cursor.offset); 725 nouveau_bo_unmap(nv_crtc->cursor.nvbo); 726 nouveau_bo_ref(NULL, &nv_crtc->cursor.nvbo); 959 struct nouveau_bo *cursor = NULL; local 964 nv_crtc->cursor.hide(nv_crtc, true); 974 cursor = nouveau_gem_object(gem); 976 ret = nouveau_bo_map(cursor); 981 nv11_cursor_upload(dev, cursor, nv_crtc->cursor [all...] |
H A D | nv50_crtc.c | 75 nv_crtc->cursor.hide(nv_crtc, false); 93 if (nv_crtc->cursor.visible) 94 nv_crtc->cursor.show(nv_crtc, false); 96 nv_crtc->cursor.hide(nv_crtc, false); 401 nouveau_bo_unmap(nv_crtc->cursor.nvbo); 402 nouveau_bo_ref(NULL, &nv_crtc->cursor.nvbo); 412 struct nouveau_bo *cursor = NULL; local 417 nv_crtc->cursor.hide(nv_crtc, true); 427 cursor = nouveau_gem_object(gem); 429 ret = nouveau_bo_map(cursor); [all...] |
/drivers/video/ |
H A D | cobalt_lcdfb.c | 248 static int cobalt_lcdfb_cursor(struct fb_info *info, struct fb_cursor *cursor) argument 253 switch (cursor->set) { 255 x = cursor->image.dx; 256 y = cursor->image.dy; 275 if (cursor->enable)
|
H A D | g364fb.c | 111 static int g364fb_cursor(struct fb_info *info, struct fb_cursor *cursor); 125 int g364fb_cursor(struct fb_info *info, struct fb_cursor *cursor) argument 128 switch (cursor->enable) { 216 /* setup cursor */ 222 * first set the whole cursor to transparent 228 * switch the last two lines to cursor palette 3
|
H A D | skeletonfb.c | 570 * for a cursor, leave this field NULL. 573 * @cursor: structure defining the cursor to draw. 576 * cursor. 580 int xxxfb_cursor(struct fb_info *info, struct fb_cursor *cursor) argument 584 * @enable: Disable or enable the cursor 586 * @mask: This is the cursor mask bitmap. 587 * @dest: A image of the area we are going to display the cursor. 590 * @image: The actual data for the cursor image. 592 * NOTES ON FLAGS (cursor [all...] |
H A D | bfin_adv7393fb.c | 681 int bfin_adv7393_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) argument 831 MODULE_PARM_DESC(nocursor, "cursor enable/disable");
|
H A D | bw2.c | 59 u32 cursor; member in struct:bt_regs
|
H A D | pmag-aa-fb.c | 23 * Hardware cursor support. 61 * Bt431 cursor generator offset (rel. to TC slot base address). 87 struct aafb_cursor cursor; member in struct:aafb_info 107 struct aafb_cursor *c = &info->cursor; 119 struct aafb_cursor *c = &info->cursor; 151 struct aafb_cursor *c = &info->cursor; 168 struct aafb_cursor *c = &info->cursor; 186 struct aafb_cursor *c = &info->cursor; 203 struct aafb_cursor *c = &info->cursor; 215 .cursor [all...] |
H A D | svgalib.c | 301 /* Set cursor in text (tileblit) mode */ 302 void svga_tilecursor(void __iomem *regbase, struct fb_info *info, struct fb_tilecursor *cursor) argument 306 u16 pos = cursor->sx + (info->var.xoffset / 8) 307 + (cursor->sy + (info->var.yoffset / 16)) 310 if (! cursor -> mode) 313 svga_wcrt_mask(regbase, 0x0A, 0x20, 0x20); /* disable cursor */ 315 if (cursor -> shape == FB_TILE_CURSOR_NONE) 318 switch (cursor -> shape) { 336 /* set cursor position */ 340 vga_wcrt(regbase, 0x0B, ce); /* set cursor en [all...] |
H A D | bf54x-lq043fb.c | 92 MODULE_PARM_DESC(nocursor, "cursor enable/disable"); 373 int bfin_bf54x_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) argument
|
H A D | bfin-lq035q1-fb.c | 116 MODULE_PARM_DESC(nocursor, "cursor enable/disable"); 483 int bfin_lq035q1_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) argument
|
H A D | bfin-t350mcqb-fb.c | 99 MODULE_PARM_DESC(nocursor, "cursor enable/disable"); 295 int bfin_t350mcqb_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) argument
|
H A D | cg3.c | 84 u32 cursor; member in struct:bt_regs
|
/drivers/char/ |
H A D | mem.c | 66 u64 cursor = from; local 68 while (cursor < to) { 75 cursor += PAGE_SIZE;
|
/drivers/net/wireless/libertas/ |
H A D | if_spi.c | 83 struct list_head *cursor, *next; local 86 list_for_each_safe(cursor, next, &card->cmd_packet_list) { 87 packet = container_of(cursor, struct if_spi_packet, list); 91 list_for_each_safe(cursor, next, &card->data_packet_list) { 92 packet = container_of(cursor, struct if_spi_packet, list);
|