• Home
  • Raw
  • Download

Lines Matching +full:data +full:- +full:width

2  *  linux/drivers/video/mfb.c -- Low level frame buffer operations for
25 int height, int width) in atafb_mfb_copyarea() argument
30 if (sx == 0 && dx == 0 && width == next_line) { in atafb_mfb_copyarea()
31 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea()
32 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea()
33 fb_memmove(dest, src, height * (width >> 3)); in atafb_mfb_copyarea()
35 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_copyarea()
36 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea()
37 for (rows = height; rows--;) { in atafb_mfb_copyarea()
38 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea()
43 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea()
44 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea()
45 for (rows = height; rows--;) { in atafb_mfb_copyarea()
46 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea()
47 src -= next_line; in atafb_mfb_copyarea()
48 dest -= next_line; in atafb_mfb_copyarea()
54 int sy, int sx, int height, int width) in atafb_mfb_fillrect() argument
59 dest = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_fillrect()
61 if (sx == 0 && width == next_line) { in atafb_mfb_fillrect()
63 fb_memset255(dest, height * (width >> 3)); in atafb_mfb_fillrect()
65 fb_memclear(dest, height * (width >> 3)); in atafb_mfb_fillrect()
67 for (rows = height; rows--; dest += next_line) { in atafb_mfb_fillrect()
69 fb_memset255(dest, width >> 3); in atafb_mfb_fillrect()
71 fb_memclear_small(dest, width >> 3); in atafb_mfb_fillrect()
77 int dy, int dx, u32 width, in atafb_mfb_linefill() argument
78 const u8 *data, u32 bgcolor, u32 fgcolor) in atafb_mfb_linefill() argument
83 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
85 for (rows = width / 8; rows--; /* check margins */ ) { in atafb_mfb_linefill()
87 *dest++ = *data++; in atafb_mfb_linefill()