/drivers/video/fbdev/ |
D | atafb.h | 4 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 7 int sy, int sx, int height, int width); 12 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 15 int sy, int sx, int height, int width); 20 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 23 int sy, int sx, int height, int width); 28 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 31 int sy, int sx, int height, int width);
|
D | atafb_mfb.c | 25 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument 32 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea() 35 } else if (dy <= sy) { in atafb_mfb_copyarea() 36 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_copyarea() 44 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea() 55 int sy, int sx, int height, int width) in atafb_mfb_fillrect() argument 60 dest = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_fillrect()
|
D | atafb_iplan2p2.c | 25 int sy, int sx, int dy, int dx, in atafb_iplan2p2_copyarea() argument 44 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p2_copyarea() 51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 152 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 194 int sy, int sx, int height, int width) in atafb_iplan2p2_fillrect() argument 200 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p2_fillrect()
|
D | atafb_iplan2p4.c | 25 int sy, int sx, int dy, int dx, in atafb_iplan2p4_copyarea() argument 44 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p4_copyarea() 51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 159 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 208 int sy, int sx, int height, int width) in atafb_iplan2p4_fillrect() argument 214 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p4_fillrect()
|
D | atafb_iplan2p8.c | 32 int sy, int sx, int dy, int dx, in atafb_iplan2p8_copyarea() argument 51 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p8_copyarea() 58 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 83 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 117 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 180 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 243 int sy, int sx, int height, int width) in atafb_iplan2p8_fillrect() argument 249 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p8_fillrect()
|
D | tgafb.c | 1050 copyarea_line_8bpp(struct fb_info *info, u32 dy, u32 sy, argument 1064 if (sy < dy) { 1065 spos = (sy + height) * width; 1077 spos = sy * width; 1095 copyarea_line_32bpp(struct fb_info *info, u32 dy, u32 sy, argument 1112 if (sy < dy) { 1113 src = tga_fb + (sy + height) * width * 4; 1125 src = tga_fb + sy * width * 4; 1144 copyarea_8bpp(struct fb_info *info, u32 dx, u32 dy, u32 sx, u32 sy, argument 1163 if (dy > sy) { [all …]
|
D | hitfb.c | 75 static inline void hitfb_accel_bitblt(int truecolor, u16 sx, u16 sy, u16 dx, in hitfb_accel_bitblt() argument 85 if ((sy < dy) || ((sy == dy) && (sx <= dx))) { in hitfb_accel_bitblt() 86 saddr = WIDTH * (sy + height) + sx + width; in hitfb_accel_bitblt() 99 saddr = WIDTH * sy + sx; in hitfb_accel_bitblt() 152 hitfb_accel_bitblt(p->var.bits_per_pixel == 16, area->sx, area->sy, in hitfb_copyarea()
|
D | vga16fb.c | 973 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea() 976 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea() 992 (area->sy + height - 1) * info->fix.line_length; in vga_8planes_copyarea() 1013 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in vga16fb_copyarea() local 1023 area->sy > vyres) in vga16fb_copyarea() 1043 if (sx + dx < old_dx || sy + dy < old_dy) in vga16fb_copyarea() 1048 sy += (dy - old_dy); in vga16fb_copyarea() 1051 if (sx + width > vxres || sy + height > vyres) in vga16fb_copyarea() 1065 if (dy < sy || (dy == sy && dx < sx)) { in vga16fb_copyarea() 1067 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_accel.c | 207 static void matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, in matrox_accel_bmove() argument 217 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove() 224 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove() 233 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove() 249 int sy, int sx, int dy, int dx, int height, in matrox_accel_bmove_lin() argument 259 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove_lin() 266 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() 275 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() 297 …matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->d… in matroxfb_cfb4_copyarea() 303 …matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, a… in matroxfb_copyarea() [all …]
|
/drivers/video/fbdev/aty/ |
D | radeon_accel.c | 101 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local 105 sx = area->sx; sy = area->sy; in radeonfb_prim_copyarea() 107 ydir = sy - dy; in radeonfb_prim_copyarea() 110 if ( ydir < 0 ) { sy += h-1; dy += h-1; } in radeonfb_prim_copyarea() 128 OUTREG(SRC_Y_X, (sy << 16) | sx); in radeonfb_prim_copyarea() 140 modded.sy = area->sy; in radeonfb_copyarea() 159 modded.sx >= vxres || modded.sy >= vyres || in radeonfb_copyarea() 165 if(modded.sy + modded.height > vyres) modded.height = vyres - modded.sy; in radeonfb_copyarea()
|
D | mach64_accel.c | 199 u32 dy = area->dy, sy = area->sy, direction = DST_LAST_PEL; in atyfb_copyarea() local 219 if (area->sy < area->dy) { in atyfb_copyarea() 221 sy += area->height - 1; in atyfb_copyarea() 238 aty_st_le32(SRC_Y_X, (sx << 16) | sy, par); in atyfb_copyarea()
|
/drivers/video/console/ |
D | tileblit.c | 20 static void tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, in tile_bmove() argument 26 area.sy = sy; in tile_bmove() 35 static void tile_clear(struct vc_data *vc, struct fb_info *info, int sy, in tile_clear() argument 47 rect.sy = sy; in tile_clear() 64 blit.sy = yy; in tile_putcs() 90 cursor.sy = vc->vc_y; in tile_cursor()
|
D | sticon.c | 185 static void sticon_bmove(struct vc_data *conp, int sy, int sx, in sticon_bmove() argument 191 if (((sy <= p->cursor_y) && (p->cursor_y < sy+height) && in sticon_bmove() 198 sti_bmove(sticon_sti, sy, sx, dy, dx, height, width); in sticon_bmove() 226 static void sticon_clear(struct vc_data *conp, int sy, int sx, int height, in sticon_clear() argument 232 sti_clear(sticon_sti, sy, sx, height, width, conp->vc_video_erase_char); in sticon_clear()
|
D | mdacon.c | 447 static void mdacon_bmove(struct vc_data *c, int sy, int sx, in mdacon_bmove() argument 456 scr_memmovew(MDA_ADDR(0,dy), MDA_ADDR(0,sy), height*width*2); in mdacon_bmove() 458 } else if (dy < sy || (dy == sy && dx < sx)) { in mdacon_bmove() 459 src = MDA_ADDR(sx, sy); in mdacon_bmove() 468 src = MDA_ADDR(sx, sy+height-1); in mdacon_bmove()
|
D | newport_con.c | 347 static void newport_clear(struct vc_data *vc, int sy, int sx, int height, in newport_clear() argument 351 int ystart = ((sy << 4) + topscan) & 0x3ff; in newport_clear() 352 int yend = (((sy + height) << 4) + topscan - 1) & 0x3ff; in newport_clear() 685 static void newport_bmove(struct vc_data *vc, int sy, int sx, int dy, in newport_bmove() argument 696 ys = ((sy << 4) + topscan) & 0x3ff; in newport_bmove() 697 ye = (((sy + h) << 4) - 1 + topscan) & 0x3ff; in newport_bmove() 699 yoffs = (dy - sy) << 4; in newport_bmove()
|
D | fbcon.c | 152 static void fbcon_clear(struct vc_data *vc, int sy, int sx, int height, 161 static void fbcon_bmove(struct vc_data *vc, int sy, int sx, int dy, int dx, 174 static void fbcon_bmove_rec(struct vc_data *vc, struct display *p, int sy, int sx, 1187 static void fbcon_clear(struct vc_data *vc, int sy, int sx, int height, in fbcon_clear() argument 1202 if (sy < vc->vc_top && vc->vc_top == logo_lines) { in fbcon_clear() 1216 if (sy < y_break && sy + height - 1 >= y_break) { in fbcon_clear() 1217 u_int b = y_break - sy; in fbcon_clear() 1218 ops->clear(vc, info, real_y(p, sy), sx, b, width); in fbcon_clear() 1219 ops->clear(vc, info, real_y(p, sy + b), sx, height - b, in fbcon_clear() 1222 ops->clear(vc, info, real_y(p, sy), sx, height, width); in fbcon_clear() [all …]
|
/drivers/video/fbdev/savage/ |
D | savagefb_accel.c | 35 int sy = region->sy, dy = region->dy; in savagefb_copyarea() local 51 if (dy <= sy) { in savagefb_copyarea() 54 sy += region->height - 1; in savagefb_copyarea() 60 BCI_SEND(BCI_X_Y(sx, sy)); in savagefb_copyarea()
|
/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 72 int sx, int sy, int ex, int ey, int scale) in solo_win_setup() argument 85 SOLO_VI_WIN_SY(sy) | in solo_win_setup() 124 int sy, ysize, hsize, i; in solo_v4l2_ch_ext_16up() local 138 for (sy = 0, i = 0; i < 4; i++, sy += ysize) { in solo_v4l2_ch_ext_16up() 139 solo_win_setup(solo_dev, i * 4, 0, sy, hsize, in solo_v4l2_ch_ext_16up() 140 sy + ysize, 5); in solo_v4l2_ch_ext_16up() 141 solo_win_setup(solo_dev, (i * 4) + 1, hsize, sy, in solo_v4l2_ch_ext_16up() 142 hsize * 2, sy + ysize, 5); in solo_v4l2_ch_ext_16up() 143 solo_win_setup(solo_dev, (i * 4) + 2, hsize * 2, sy, in solo_v4l2_ch_ext_16up() 144 hsize * 3, sy + ysize, 5); in solo_v4l2_ch_ext_16up() [all …]
|
/drivers/video/fbdev/core/ |
D | syscopyarea.c | 317 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in sys_copyarea() local 329 if ((dy == sy && dx > sx) || (dy > sy)) { in sys_copyarea() 331 sy += height; in sys_copyarea() 341 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; in sys_copyarea()
|
D | cfbcopyarea.c | 383 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in cfb_copyarea() local 396 if ((dy == sy && dx > sx) || (dy > sy)) { in cfb_copyarea() 398 sy += height; in cfb_copyarea() 408 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; in cfb_copyarea()
|
D | svgalib.c | 227 if ((area->sy > area->dy) || in svga_tilecopy() 228 ((area->sy == area->dy) && (area->sx > area->dx))) { in svga_tilecopy() 229 src = fb + area->sx * colstride + area->sy * rowstride; in svga_tilecopy() 233 + (area->sy + area->height - 1) * rowstride; in svga_tilecopy() 263 fb += rect->sx * colstride + rect->sy * rowstride; in svga_tilefill() 284 fb += blit->sx * colstride + blit->sy * rowstride; in svga_tileblit() 307 + (cursor->sy + (info->var.yoffset / 16)) in svga_tilecursor()
|
/drivers/video/fbdev/sis/ |
D | sis_accel.c | 387 area->sx >= vxres || area->sy >= vyres || in fbcon_sis_copyarea() 394 if((area->sy + height) > vyres) height = vyres - area->sy; in fbcon_sis_copyarea() 403 if(area->sy < area->dy) ydir = 0; in fbcon_sis_copyarea() 408 SiS300SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy, in fbcon_sis_copyarea() 416 SiS310SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy, in fbcon_sis_copyarea()
|
/drivers/video/fbdev/i810/ |
D | i810_accel.c | 329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local 340 sy = region->sy; in i810fb_copyarea() 352 if (dy <= sy) { in i810fb_copyarea() 357 sy += height - 1; in i810fb_copyarea() 360 src = info->fix.smem_start + (sy * info->fix.line_length) + sx; in i810fb_copyarea()
|
/drivers/staging/sm750fb/ |
D | sm750_accel.c | 143 unsigned int sy, /* Starting coordinate of source surface */ in hw_copyarea() argument 164 if (sy < dy) { in hw_copyarea() 175 } else if (sy > dy) { in hw_copyarea() 215 sy += height - 1; in hw_copyarea() 261 FIELD_VALUE(0, DE_SOURCE, Y_K2, sy)); /* dpr0 */ in hw_copyarea()
|
/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb_accel.c | 56 if (area->sx >= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 58 else if (area->sx >= area->dx && area->sy <= area->dy) in mb86290fb_copyarea() 60 else if (area->sx <= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 65 cmd[3] = (area->sy << 16) | area->sx; in mb86290fb_copyarea()
|