Searched refs:sx (Results 1 - 25 of 73) sorted by relevance

123

/drivers/video/fbdev/
H A 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);
H A Datafb_mfb.c25 int sy, int sx, int dy, int dx,
31 if (sx == 0 && dx == 0 && width == next_line) {
36 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3);
44 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3);
55 int sy, int sx, int height, int width)
60 dest = (u8 *)info->screen_base + sy * next_line + (sx >> 3);
62 if (sx == 0 && width == next_line) {
24 atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument
54 atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color, int sy, int sx, int height, int width) argument
H A Datafb_iplan2p2.c25 int sy, int sx, int dy, int dx,
44 u_int upwards = (dy < sy) || (dy == sy && dx < sx);
47 if (!((sx ^ dx) & 15)) {
51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL);
53 if (sx & 15) {
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL);
79 if ((sx + width) & 15) {
98 if (sx & 15)
110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL);
116 if (sx
24 atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument
193 atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color, int sy, int sx, int height, int width) argument
[all...]
H A Datafb_iplan2p4.c25 int sy, int sx, int dy, int dx,
44 u_int upwards = (dy < sy) || (dy == sy && dx < sx);
47 if (!((sx ^ dx) & 15)) {
51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL);
53 if (sx & 15) {
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL);
79 if ((sx + width) & 15) {
98 if (sx & 15)
110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL);
116 if (sx
24 atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument
207 atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color, int sy, int sx, int height, int width) argument
[all...]
H A Datafb_iplan2p8.c32 int sy, int sx, int dy, int dx,
51 u_int upwards = (dy < sy) || (dy == sy && dx < sx);
54 if (!((sx ^ dx) & 15)) {
58 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL);
60 if (sx & 15) {
83 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL);
86 if ((sx + width) & 15) {
105 if (sx & 15)
117 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL);
123 if (sx
31 atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument
242 atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color, int sy, int sx, int height, int width) argument
[all...]
H A Ddnfb.c159 (area->sx >> 4));
163 y_delta = (info->fix.line_length * 8) - area->sx - area->width;
169 (((area->dx & 0xf) - (area->sx & 0xf)) % 16) | (0x4 << 5));
170 if ((area->dx & 0xf) < (area->sx & 0xf))
173 y_delta = -((info->fix.line_length * 8) - area->sx - area->width);
179 ((-((area->sx & 0xf) - (area->dx & 0xf))) % 16) |
181 if ((area->dx & 0xf) > (area->sx & 0xf))
H A Dvga16fb.c963 u32 sx, dx, width; local
969 sx = area->sx / 4;
973 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) {
976 src = info->screen_base + sx + area->sy * info->fix.line_length;
991 src = info->screen_base + sx + width +
1013 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; local
1022 if (area->dx > vxres || area->sx > vxres || area->dy > vyres ||
1043 if (sx
[all...]
H A Dhitfb.c75 static inline void hitfb_accel_bitblt(int truecolor, u16 sx, u16 sy, u16 dx, argument
85 if ((sy < dy) || ((sy == dy) && (sx <= dx))) {
86 saddr = WIDTH * (sy + height) + sx + width;
99 saddr = WIDTH * sy + sx;
152 hitfb_accel_bitblt(p->var.bits_per_pixel == 16, area->sx, area->sy,
/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c208 int sx, int dy, int dx, int height, int width)
217 if ((dy < sy) || ((dy == sy) && (dx <= sx))) {
224 start = sy*vxres+sx+curr_ydstorg(minfo);
233 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo);
249 int sy, int sx, int dy, int dx, int height,
259 if ((dy < sy) || ((dy == sy) && (dx <= sx))) {
266 start = sy*vxres+sx+curr_ydstorg(minfo);
275 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo);
294 if ((area->sx | area->dx | area->width) & 1)
297 matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >>
207 matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument
248 matrox_accel_bmove_lin(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument
306 matroxfb_accel_clear(struct matrox_fb_info *minfo, u_int32_t color, int sy, int sx, int height, int width) argument
336 matroxfb_cfb4_clear(struct matrox_fb_info *minfo, u_int32_t bgx, int sy, int sx, int height, int width) argument
[all...]
/drivers/video/fbdev/aty/
H A Dradeon_accel.c101 u32 sx, sy, dx, dy, w, h; local
105 sx = area->sx; sy = area->sy;
106 xdir = sx - dx;
109 if ( xdir < 0 ) { sx += w-1; dx += w-1; }
128 OUTREG(SRC_Y_X, (sy << 16) | sx);
139 modded.sx = area->sx;
159 modded.sx >= vxres || modded.sy >= vyres ||
163 if(modded.sx
[all...]
H A Dmach64_accel.c200 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; local
214 sx *= 3;
225 if (sx < dx) {
227 sx += width - 1;
237 aty_st_le32(SRC_Y_X, (sx << 16) | sy, par);
/drivers/video/console/
H A Dtileblit.c20 int sx, int dy, int dx, int height, int width)
24 area.sx = sx;
35 int sx, int height, int width)
45 rect.sx = sx;
62 blit.sx = xx;
88 cursor.sx = vc->vc_x;
19 tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument
34 tile_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
H A Dsticon.c185 static void sticon_bmove(struct vc_data *conp, int sy, int sx, argument
192 (sx <= p->cursor_x) && (p->cursor_x < sx+width)) ||
198 sti_bmove(sticon_sti, sy, sx, dy, dx, height, width);
226 static void sticon_clear(struct vc_data *conp, int sy, int sx, int height, argument
232 sti_clear(sticon_sti, sy, sx, height, width, conp->vc_video_erase_char);
H A Dmdacon.c447 static void mdacon_bmove(struct vc_data *c, int sy, int sx, argument
455 if (sx==0 && dx==0 && width==mda_num_columns) {
458 } else if (dy < sy || (dy == sy && dx < sx)) {
459 src = MDA_ADDR(sx, sy);
468 src = MDA_ADDR(sx, sy+height-1);
H A Dnewport_con.c350 static void newport_clear(struct vc_data *vc, int sy, int sx, int height, argument
353 int xend = ((sx + width) << 3) - 1;
361 newport_clear_screen(sx << 3, ystart, xend, yend,
364 newport_clear_screen(sx << 3, ystart, xend, 1023,
366 newport_clear_screen(sx << 3, 0, xend, yend,
687 static void newport_bmove(struct vc_data *vc, int sy, int sx, int dy, argument
692 xs = sx << 3;
693 xe = ((sx + w) << 3) - 1;
700 xoffs = (dx - sx) << 3;
H A Dfbcon.h56 int sx, int dy, int dx, int height, int width);
58 int sx, int height, int width);
H A Dbitblit.c47 int sx, int dy, int dx, int height, int width)
51 area.sx = sx * vc->vc_font.width;
62 int sx, int height, int width)
68 region.dx = sx * vc->vc_font.width;
46 bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument
61 bit_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
H A Dfbcon_ccw.c64 int sx, int dy, int dx, int height, int width)
70 area.sx = sy * vc->vc_font.height;
71 area.sy = vyres - ((sx + width) * vc->vc_font.width);
81 int sx, int height, int width)
90 region.dy = vyres - ((sx + width) * vc->vc_font.width);
63 ccw_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument
80 ccw_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c34 int sx = region->sx, dx = region->dx; local
44 if (dx <= sx) {
47 sx += region->width - 1;
60 BCI_SEND(BCI_X_Y(sx, sy));
/drivers/video/fbdev/sis/
H A Dsis_accel.c387 area->sx >= vxres || area->sy >= vyres ||
392 if((area->sx + width) > vxres) width = vxres - area->sx;
401 if(area->sx < area->dx) xdir = 0;
408 SiS300SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy,
416 SiS310SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy,
/drivers/video/fbdev/i810/
H A Di810_accel.c329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; local
338 sx = region->sx * par->depth;
344 if (dx <= sx) {
349 sx += width - 1;
360 src = info->fix.smem_start + (sy * info->fix.line_length) + sx;
/drivers/video/fbdev/core/
H A Dsyscopyarea.c317 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; local
329 if ((dy == sy && dx > sx) || (dy > sy)) {
342 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel;
H A Dcfbcopyarea.c383 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; local
396 if ((dy == sy && dx > sx) || (dy > sy)) {
408 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel;
/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb.h5 unsigned short sx; member in struct:mb862xx_l1_cfg
H A Dmb862xxfb_accel.c56 if (area->sx >= area->dx && area->sy >= area->dy)
58 else if (area->sx >= area->dx && area->sy <= area->dy)
60 else if (area->sx <= area->dx && area->sy >= area->dy)
65 cmd[3] = (area->sy << 16) | area->sx;

Completed in 399 milliseconds

123