Home
last modified time | relevance | path

Searched refs:sy (Results 1 – 25 of 63) sorted by relevance

123

/drivers/video/
Datafb.h4 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);
Datafb_mfb.c25 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()
Datafb_iplan2p2.c25 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()
Datafb_iplan2p4.c25 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()
Datafb_iplan2p8.c32 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()
Dtgafb.c1058 copyarea_line_8bpp(struct fb_info *info, u32 dy, u32 sy, argument
1072 if (sy < dy) {
1073 spos = (sy + height) * width;
1085 spos = sy * width;
1103 copyarea_line_32bpp(struct fb_info *info, u32 dy, u32 sy, argument
1120 if (sy < dy) {
1121 src = tga_fb + (sy + height) * width * 4;
1133 src = tga_fb + sy * width * 4;
1152 copyarea_foreward_8bpp(struct fb_info *info, u32 dx, u32 dy, u32 sx, u32 sy, argument
1165 if (dy > sy) {
[all …]
Dsyscopyarea.c318 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in sys_copyarea() local
330 if ((dy == sy && dx > sx) || (dy > sy)) { in sys_copyarea()
332 sy += height; in sys_copyarea()
343 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; in sys_copyarea()
Dhitfb.c79 static inline void hitfb_accel_bitblt(int truecolor, u16 sx, u16 sy, u16 dx, in hitfb_accel_bitblt() argument
89 if ((sy < dy) || ((sy == dy) && (sx <= dx))) { in hitfb_accel_bitblt()
90 saddr = WIDTH * (sy + height) + sx + width; in hitfb_accel_bitblt()
103 saddr = WIDTH * sy + sx; in hitfb_accel_bitblt()
156 hitfb_accel_bitblt(p->var.bits_per_pixel == 16, area->sx, area->sy, in hitfb_copyarea()
Dcfbcopyarea.c372 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in cfb_copyarea() local
385 if ((dy == sy && dx > sx) || (dy > sy)) { in cfb_copyarea()
387 sy += height; in cfb_copyarea()
397 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; in cfb_copyarea()
Dvga16fb.c974 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea()
977 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea()
993 (area->sy + height - 1) * info->fix.line_length; in vga_8planes_copyarea()
1014 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in vga16fb_copyarea() local
1024 area->sy > vyres) in vga16fb_copyarea()
1044 if (sx + dx < old_dx || sy + dy < old_dy) in vga16fb_copyarea()
1049 sy += (dy - old_dy); in vga16fb_copyarea()
1052 if (sx + width > vxres || sy + height > vyres) in vga16fb_copyarea()
1066 if (dy < sy || (dy == sy && dx < sx)) { in vga16fb_copyarea()
1068 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea()
[all …]
/drivers/video/matrox/
Dmatroxfb_accel.c198 static void matrox_accel_bmove(WPMINFO int vxres, int sy, int sx, int dy, int dx, int height, int w… in matrox_accel_bmove() argument
206 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove()
212 start = sy*vxres+sx+curr_ydstorg(MINFO); in matrox_accel_bmove()
220 end = (sy+height-1)*vxres+sx+curr_ydstorg(MINFO); in matrox_accel_bmove()
234 static void matrox_accel_bmove_lin(WPMINFO int vxres, int sy, int sx, int dy, int dx, int height, i… in matrox_accel_bmove_lin() argument
242 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove_lin()
248 start = sy*vxres+sx+curr_ydstorg(MINFO); in matrox_accel_bmove_lin()
256 end = (sy+height-1)*vxres+sx+curr_ydstorg(MINFO); in matrox_accel_bmove_lin()
277 …matrox_accel_bmove_lin(PMINFO ACCESS_FBINFO(fbcon.var.xres_virtual) >> 1, area->sy, area->sx >> 1,… in matroxfb_cfb4_copyarea()
283 …matrox_accel_bmove(PMINFO ACCESS_FBINFO(fbcon.var.xres_virtual), area->sy, area->sx, area->dy, are… in matroxfb_copyarea()
[all …]
/drivers/video/aty/
Dradeon_accel.c101 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()
Dmach64_accel.c194 u32 dy = area->dy, sy = area->sy, direction = DST_LAST_PEL; in atyfb_copyarea() local
214 if (area->sy < area->dy) { in atyfb_copyarea()
216 sy += area->height - 1; in atyfb_copyarea()
232 aty_st_le32(SRC_Y_X, (sx << 16) | sy, par); in atyfb_copyarea()
/drivers/video/console/
Dtileblit.c19 static void tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, in tile_bmove() argument
25 area.sy = sy; in tile_bmove()
34 static void tile_clear(struct vc_data *vc, struct fb_info *info, int sy, in tile_clear() argument
46 rect.sy = sy; in tile_clear()
63 blit.sy = yy; in tile_putcs()
89 cursor.sy = vc->vc_y; in tile_cursor()
Dpromcon.c337 promcon_clear(struct vc_data *conp, int sy, int sx, int height, int width) in promcon_clear() argument
349 if (!sy && height == ph + 1) { in promcon_clear()
355 } else if (sy + height == ph + 1) { in promcon_clear()
356 b += sprintf(b, "\033[%dH\033[J", sy + 1); in promcon_clear()
362 b += sprintf(b, "\033[%dH", sy + 1); in promcon_clear()
377 b += sprintf(b, "\033[%d;%dH", sy + 1, sx + 1); in promcon_clear()
391 for (i = sy + 1; i <= sy + height; i++) { in promcon_clear()
406 promcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, in promcon_bmove() argument
415 if (sy == dy && height == 1) { in promcon_bmove()
418 sy + 1, sx + 1, dx - sx, py + 1, px + 1); in promcon_bmove()
Dsticon.c185 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()
Dmdacon.c448 static void mdacon_bmove(struct vc_data *c, int sy, int sx, in mdacon_bmove() argument
457 scr_memmovew(MDA_ADDR(0,dy), MDA_ADDR(0,sy), height*width*2); in mdacon_bmove()
459 } else if (dy < sy || (dy == sy && dx < sx)) { in mdacon_bmove()
460 src = MDA_ADDR(sx, sy); in mdacon_bmove()
469 src = MDA_ADDR(sx, sy+height-1); in mdacon_bmove()
Dnewport_con.c351 static void newport_clear(struct vc_data *vc, int sy, int sx, int height, in newport_clear() argument
355 int ystart = ((sy << 4) + topscan) & 0x3ff; in newport_clear()
356 int yend = (((sy + height) << 4) + topscan - 1) & 0x3ff; in newport_clear()
688 static void newport_bmove(struct vc_data *vc, int sy, int sx, int dy, in newport_bmove() argument
699 ys = ((sy << 4) + topscan) & 0x3ff; in newport_bmove()
700 ye = (((sy + h) << 4) - 1 + topscan) & 0x3ff; in newport_bmove()
702 yoffs = (dy - sy) << 4; in newport_bmove()
/drivers/video/savage/
Dsavagefb_accel.c34 int sy = region->sy, dy = region->dy; in savagefb_copyarea() local
50 if (dy <= sy) { in savagefb_copyarea()
53 sy += region->height - 1; in savagefb_copyarea()
59 BCI_SEND(BCI_X_Y(sx, sy)); in savagefb_copyarea()
/drivers/video/sis/
Dsis_accel.c387 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/ieee1394/
Diso.h57 __u8 sy; member
180 u8 tag, u8 sy);
192 u8 sy);
Diso.c386 u8 tag, u8 sy) in hpsb_iso_xmit_queue_packet() argument
408 info->sy = sy; in hpsb_iso_xmit_queue_packet()
488 u8 sy) in hpsb_iso_packet_received() argument
506 info->sy = sy; in hpsb_iso_packet_received()
/drivers/video/i810/
Di810_accel.c329 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/rt2870/common/
Drtmp_wep.c338 UCHAR sx, sy; in ARCFOUR_BYTE() local
345 sy = state[y]; in ARCFOUR_BYTE()
349 state[x] = sy; in ARCFOUR_BYTE()
351 return(state[(sx + sy) & 0xff]); in ARCFOUR_BYTE()
/drivers/staging/rt2860/common/
Drtmp_wep.c329 UCHAR sx, sy; in ARCFOUR_BYTE() local
336 sy = state[y]; in ARCFOUR_BYTE()
340 state[x] = sy; in ARCFOUR_BYTE()
342 return(state[(sx + sy) & 0xff]); in ARCFOUR_BYTE()

123