/drivers/video/ |
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() 47 if (!((sx ^ dx) & 15)) { in atafb_iplan2p2_copyarea() 51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 53 if (sx & 15) { in atafb_iplan2p2_copyarea() 76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 79 if ((sx + width) & 15) { in atafb_iplan2p2_copyarea() 98 if (sx & 15) in atafb_iplan2p2_copyarea() 110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 116 if (sx & 15) { in atafb_iplan2p2_copyarea() [all …]
|
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() 47 if (!((sx ^ dx) & 15)) { in atafb_iplan2p4_copyarea() 51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 53 if (sx & 15) { in atafb_iplan2p4_copyarea() 76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 79 if ((sx + width) & 15) { in atafb_iplan2p4_copyarea() 98 if (sx & 15) in atafb_iplan2p4_copyarea() 110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 116 if (sx & 15) { in atafb_iplan2p4_copyarea() [all …]
|
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_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() 54 if (!((sx ^ dx) & 15)) { in atafb_iplan2p8_copyarea() 58 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 60 if (sx & 15) { in atafb_iplan2p8_copyarea() 83 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 86 if ((sx + width) & 15) { in atafb_iplan2p8_copyarea() 105 if (sx & 15) in atafb_iplan2p8_copyarea() 117 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 123 if (sx & 15) { in atafb_iplan2p8_copyarea() [all …]
|
D | atafb_mfb.c | 25 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument 31 if (sx == 0 && dx == 0 && width == next_line) { 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() 62 if (sx == 0 && width == next_line) { in atafb_mfb_fillrect()
|
D | dnfb.c | 159 (area->sx >> 4)); in dnfb_copyarea() 163 y_delta = (info->fix.line_length * 8) - area->sx - area->width; in dnfb_copyarea() 169 (((area->dx & 0xf) - (area->sx & 0xf)) % 16) | (0x4 << 5)); in dnfb_copyarea() 170 if ((area->dx & 0xf) < (area->sx & 0xf)) in dnfb_copyarea() 173 y_delta = -((info->fix.line_length * 8) - area->sx - area->width); in dnfb_copyarea() 179 ((-((area->sx & 0xf) - (area->dx & 0xf))) % 16) | in dnfb_copyarea() 181 if ((area->dx & 0xf) > (area->sx & 0xf)) in dnfb_copyarea()
|
D | vga16fb.c | 963 u32 sx, dx, width; in vga_8planes_copyarea() local 969 sx = area->sx / 4; in vga_8planes_copyarea() 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() 991 src = info->screen_base + sx + width + in vga_8planes_copyarea() 1013 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in vga16fb_copyarea() local 1022 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea() 1043 if (sx + dx < old_dx || sy + dy < old_dy) in vga16fb_copyarea() 1047 sx += (dx - old_dx); in vga16fb_copyarea() 1051 if (sx + width > vxres || sy + height > vyres) in vga16fb_copyarea() [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 | 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() 342 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; in sys_copyarea()
|
D | tgafb.c | 1147 copyarea_foreward_8bpp(struct fb_info *info, u32 dx, u32 dy, u32 sx, u32 sy, argument 1169 spos = sy * line_length + sx; 1308 copyarea_backward_8bpp(struct fb_info *info, u32 dx, u32 dy, u32 sx, u32 sy, argument 1330 sepos = sy * line_length + sx + width; 1413 unsigned long dx, dy, width, height, sx, sy, vxres, vyres; local 1420 sx = area->sx; 1427 if (dx > vxres || sx > vxres || dy > vyres || sy > vyres) 1437 if (sx + width > vxres || sy + height > vyres) 1458 else if (dy == sy && dx > sx && dx < sx + width) 1459 copyarea_backward_8bpp(info, dx, dy, sx, sy, height, [all …]
|
D | svgalib.c | 228 ((area->sy == area->dy) && (area->sx > area->dx))) { in svga_tilecopy() 229 src = fb + area->sx * colstride + area->sy * rowstride; in svga_tilecopy() 232 src = fb + (area->sx + area->width - 1) * colstride 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() 306 u16 pos = cursor->sx + (info->var.xoffset / 8) in svga_tilecursor()
|
/drivers/video/matrox/ |
D | matroxfb_accel.c | 200 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument 209 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove() 215 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove() 223 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove() 238 int sy, int sx, int dy, int dx, int height, in matrox_accel_bmove_lin() argument 248 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove_lin() 254 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() 262 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() 280 if ((area->sx | area->dx | area->width) & 1) in matroxfb_cfb4_copyarea() 283 …matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->d… in matroxfb_cfb4_copyarea() [all …]
|
/drivers/video/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() 106 xdir = sx - dx; in radeonfb_prim_copyarea() 109 if ( xdir < 0 ) { sx += w-1; dx += w-1; } in radeonfb_prim_copyarea() 128 OUTREG(SRC_Y_X, (sy << 16) | sx); in radeonfb_prim_copyarea() 139 modded.sx = area->sx; in radeonfb_copyarea() 159 modded.sx >= vxres || modded.sy >= vyres || in radeonfb_copyarea() 163 if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx; in radeonfb_copyarea()
|
D | mach64_accel.c | 199 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local 213 sx *= 3; in atyfb_copyarea() 224 if (sx < dx) { in atyfb_copyarea() 226 sx += width - 1; in atyfb_copyarea() 236 aty_st_le32(SRC_Y_X, (sx << 16) | sy, par); in atyfb_copyarea()
|
/drivers/video/console/ |
D | tileblit.c | 20 int sx, int dy, int dx, int height, int width) in tile_bmove() argument 24 area.sx = sx; in tile_bmove() 35 int sx, int height, int width) in tile_clear() argument 45 rect.sx = sx; in tile_clear() 62 blit.sx = xx; in tile_putcs() 88 cursor.sx = vc->vc_x; in tile_cursor()
|
D | sticon.c | 185 static void sticon_bmove(struct vc_data *conp, int sy, int sx, in sticon_bmove() argument 192 (sx <= p->cursor_x) && (p->cursor_x < sx+width)) || 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 | newport_con.c | 350 static void newport_clear(struct vc_data *vc, int sy, int sx, int height, in newport_clear() argument 353 int xend = ((sx + width) << 3) - 1; in newport_clear() 361 newport_clear_screen(sx << 3, ystart, xend, yend, in newport_clear() 364 newport_clear_screen(sx << 3, ystart, xend, 1023, in newport_clear() 366 newport_clear_screen(sx << 3, 0, xend, yend, in newport_clear() 687 static void newport_bmove(struct vc_data *vc, int sy, int sx, int dy, in newport_bmove() argument 692 xs = sx << 3; in newport_bmove() 693 xe = ((sx + w) << 3) - 1; in newport_bmove() 700 xoffs = (dx - sx) << 3; in newport_bmove()
|
D | mdacon.c | 447 static void mdacon_bmove(struct vc_data *c, int sy, int sx, in mdacon_bmove() argument 455 if (sx==0 && dx==0 && width==mda_num_columns) { 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 | bitblit.c | 47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument 51 area.sx = sx * vc->vc_font.width; in bit_bmove() 62 int sx, int height, int width) in bit_clear() argument 68 region.dx = sx * vc->vc_font.width; in bit_clear()
|
D | fbcon_cw.c | 49 int sx, int dy, int dx, int height, int width) in cw_bmove() argument 55 area.sx = vxres - ((sy + height) * vc->vc_font.height); in cw_bmove() 56 area.sy = sx * vc->vc_font.width; in cw_bmove() 66 int sx, int height, int width) in cw_clear() argument 75 region.dy = sx * vc->vc_font.width; in cw_clear()
|
/drivers/video/savage/ |
D | savagefb_accel.c | 34 int sx = region->sx, dx = region->dx; in savagefb_copyarea() local 44 if (dx <= sx) { in savagefb_copyarea() 47 sx += region->width - 1; in savagefb_copyarea() 60 BCI_SEND(BCI_X_Y(sx, sy)); in savagefb_copyarea()
|
/drivers/video/sis/ |
D | sis_accel.c | 387 area->sx >= vxres || area->sy >= vyres || in fbcon_sis_copyarea() 392 if((area->sx + width) > vxres) width = vxres - area->sx; in fbcon_sis_copyarea() 401 if(area->sx < area->dx) xdir = 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/i810/ |
D | i810_accel.c | 329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local 338 sx = region->sx * par->depth; in i810fb_copyarea() 344 if (dx <= sx) { in i810fb_copyarea() 349 sx += width - 1; in i810fb_copyarea() 360 src = info->fix.smem_start + (sy * info->fix.line_length) + sx; in i810fb_copyarea()
|
/drivers/video/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()
|
/drivers/media/platform/exynos4-is/ |
D | fimc-core.c | 267 int tx, ty, sx, sy; in fimc_set_scaler_info() local 282 sx = s_frame->width; in fimc_set_scaler_info() 284 if (sx <= 0 || sy <= 0) { in fimc_set_scaler_info() 285 dev_err(dev, "Invalid source size: %dx%d\n", sx, sy); in fimc_set_scaler_info() 288 sc->real_width = sx; in fimc_set_scaler_info() 291 ret = fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor); in fimc_set_scaler_info() 299 sc->pre_dst_width = sx / sc->pre_hratio; in fimc_set_scaler_info() 303 sc->main_hratio = (sx << 14) / (tx << sc->hfactor); in fimc_set_scaler_info() 306 sc->main_hratio = (sx << 8) / (tx << sc->hfactor); in fimc_set_scaler_info() 311 sc->scaleup_h = (tx >= sx) ? 1 : 0; in fimc_set_scaler_info()
|