Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 25 of 110) sorted by relevance

12345

/drivers/video/mb862xx/
Dmb862xxfb_accel.c56 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()
66 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea()
75 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument
102 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1()
124 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument
135 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8()
163 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit16() argument
178 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16()
[all …]
/drivers/video/
Datafb.h4 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
9 int dy, int dx, u32 width,
12 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
17 int dy, int dx, u32 width,
20 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
25 int dy, int dx, u32 width,
28 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
33 int dy, int dx, u32 width,
Dtgafb.c626 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local
636 dy = image->dy;
648 if (dx > vxres || dy > vyres)
652 if (dy + height > vyres)
653 height = vyres - dy;
679 pos = dy * line_length;
839 u32 color, dx, dy, width, height, vxres, vyres; local
846 dy = image->dy;
854 if (dx > vxres || dy > vyres)
858 if (dy + height > vyres)
[all …]
Datafb_mfb.c25 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument
33 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea()
35 } else if (dy <= sy) { in atafb_mfb_copyarea()
37 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea()
45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea()
78 int dy, int dx, u32 width, in atafb_mfb_linefill() argument
84 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
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()
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
153 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
240 int dy, int dx, u32 width, in atafb_iplan2p2_linefill() argument
248 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill()
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()
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
160 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
254 int dy, int dx, u32 width, in atafb_iplan2p4_linefill() argument
262 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill()
Dvga16fb.c838 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
889 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect()
896 y2 = rect->dy + rect->height; in vga16fb_fillrect()
905 height = y2 - rect->dy; in vga16fb_fillrect()
909 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
973 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea()
975 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea()
990 (area->dy + 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
1022 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea()
[all …]
Dsvgalib.c220 int dx, dy; in svga_tilecopy() local
227 if ((area->sy > area->dy) || in svga_tilecopy()
228 ((area->sy == area->dy) && (area->sx > area->dx))) { in svga_tilecopy()
230 dst = fb + area->dx * colstride + area->dy * rowstride; in svga_tilecopy()
235 + (area->dy + area->height - 1) * rowstride; in svga_tilecopy()
241 for (dy = 0; dy < area->height; dy++) { in svga_tilecopy()
258 int dx, dy; in svga_tilefill() local
265 for (dy = 0; dy < rect->height; dy++) { in svga_tilefill()
279 int dx, dy, i; in svga_tileblit() local
287 for (dy=0; dy < blit->height; dy ++) { in svga_tileblit()
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()
59 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
84 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
118 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
181 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
289 int dy, int dx, u32 width, in atafb_iplan2p8_linefill() argument
297 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill()
Dhitfb.c60 static inline void hitfb_accel_set_dest(int truecolor, u16 dx, u16 dy, in hitfb_accel_set_dest() argument
63 u32 saddr = WIDTH * dy + dx; in hitfb_accel_set_dest()
76 u16 dy, u16 width, u16 height, u16 rop, in hitfb_accel_bitblt() argument
85 if ((sy < dy) || ((sy == dy) && (sx <= dx))) { in hitfb_accel_bitblt()
87 daddr = WIDTH * (dy + height) + dx + width; in hitfb_accel_bitblt()
100 daddr = WIDTH * dy + dx; in hitfb_accel_bitblt()
137 hitfb_accel_set_dest(1, rect->dx, rect->dy, rect->width, in hitfb_fillrect()
142 hitfb_accel_set_dest(0, rect->dx, rect->dy, rect->width, in hitfb_fillrect()
153 area->dx, area->dy, area->width, area->height, in hitfb_copyarea()
Datafb.c2519 y2 = rect->dy + rect->height; in atafb_fillrect()
2523 height = y2 - rect->dy; in atafb_fillrect()
2527 rect->dy, rect->dx, height, width); in atafb_fillrect()
2530 rect->dy, rect->dx, height, width); in atafb_fillrect()
2533 rect->dy, rect->dx, height, width); in atafb_fillrect()
2536 rect->dy, rect->dx, height, width); in atafb_fillrect()
2545 u32 dx, dy, sx, sy, width, height; in atafb_copyarea() local
2557 y2 = area->dy + area->height; in atafb_copyarea()
2559 dy = area->dy > 0 ? area->dy : 0; in atafb_copyarea()
2563 height = y2 - dy; in atafb_copyarea()
[all …]
/drivers/video/aty/
Dradeon_accel.c63 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); in radeonfb_prim_fillrect()
88 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect()
92 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_fillrect()
101 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local
104 dx = area->dx; dy = area->dy; 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()
129 OUTREG(DST_Y_X, (dy << 16) | dx); in radeonfb_prim_copyarea()
142 modded.dy = area->dy; in radeonfb_copyarea()
160 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea()
[all …]
Dmach64_accel.c198 u32 dy = area->dy, sy = area->sy, direction = DST_LAST_PEL; in atyfb_copyarea() local
218 if (area->sy < area->dy) { in atyfb_copyarea()
219 dy += area->height - 1; in atyfb_copyarea()
239 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea()
278 draw_rect(dx, rect->dy, width, rect->height, par); in atyfb_fillrect()
284 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local
379 draw_rect(dx, dy, width, image->height, par); in atyfb_imageblit()
/drivers/input/mouse/
Damimouse.c42 int nx, ny, dx, dy; in amimouse_interrupt() local
50 dy = ny - amimouse_lasty; in amimouse_interrupt()
54 if (dy < -127) dy = (256 + ny) - amimouse_lasty; in amimouse_interrupt()
55 if (dy > 127) dy = (ny - 256) - amimouse_lasty; in amimouse_interrupt()
63 input_report_rel(dev, REL_Y, dy); in amimouse_interrupt()
Dlogibm.c79 char dx, dy; in logibm_interrupt() local
87 dy = (inb(LOGIBM_DATA_PORT) & 0xf); in logibm_interrupt()
90 dy |= (buttons & 0xf) << 4; in logibm_interrupt()
94 input_report_rel(logibm_dev, REL_Y, dy); in logibm_interrupt()
Datarimouse.c70 int buttons, dx, dy; in atamouse_interrupt() local
80 dy = buf[2]; in atamouse_interrupt()
83 input_report_rel(atamouse_dev, REL_Y, dy); in atamouse_interrupt()
/drivers/video/sis/
Dsis_accel.c335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect()
340 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect()
354 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect()
361 SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect()
388 area->dx >= vxres || area->dy >= vyres) in fbcon_sis_copyarea()
395 if((area->dy + height) > vyres) height = vyres - area->dy; in fbcon_sis_copyarea()
403 if(area->sy < area->dy) ydir = 0; in fbcon_sis_copyarea()
409 area->dx, area->dy, width, height); in fbcon_sis_copyarea()
417 area->dx, area->dy, width, height); in fbcon_sis_copyarea()
/drivers/video/matrox/
Dmatroxfb_accel.c200 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()
225 dy += height-1; in matrox_accel_bmove()
231 mga_ydstlen(dy, height); 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()
264 dy += height-1; in matrox_accel_bmove_lin()
270 mga_outl(M_YDST, dy*vxres >> 5); in matrox_accel_bmove_lin()
283 …(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area… in matroxfb_cfb4_copyarea()
289 …matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, a… in matroxfb_copyarea()
[all …]
/drivers/video/savage/
Dsavagefb_accel.c35 int sy = region->sy, dy = region->dy; in savagefb_copyarea() local
51 if (dy <= sy) { in savagefb_copyarea()
55 dy += region->height - 1; in savagefb_copyarea()
61 BCI_SEND(BCI_X_Y(dx, dy)); in savagefb_copyarea()
88 BCI_SEND( BCI_X_Y(rect->dx, rect->dy) ); in savagefb_fillrect()
131 BCI_SEND(BCI_X_Y(image->dx, image->dy)); in savagefb_imageblit()
/drivers/video/console/
Dfbcon_cw.c49 int sx, int dy, int dx, int height, int width) in cw_bmove() argument
57 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove()
58 area.dy = dx * vc->vc_font.width; in cw_bmove()
75 region.dy = sx * vc->vc_font.width; in cw_clear()
136 image.dy = xx * vc->vc_font.width; in cw_putcs()
161 image.dy += image.height; in cw_putcs()
190 region.dy = info->var.yoffset + rs; in cw_clear_margins()
198 region.dy = info->var.yoffset; in cw_clear_margins()
214 int err = 1, dx, dy; in cw_cursor() local
271 dy = vc->vc_x * vc->vc_font.width; in cw_cursor()
[all …]
Dfbcon_ccw.c64 int sx, int dy, int dx, int height, int width) in ccw_bmove() argument
72 area.dx = dy * vc->vc_font.height; in ccw_bmove()
73 area.dy = vyres - ((dx + width) * vc->vc_font.width); in ccw_bmove()
90 region.dy = vyres - ((sx + width) * vc->vc_font.width); in ccw_clear()
151 image.dy = vyres - ((xx + count) * vc->vc_font.width); in ccw_putcs()
178 image.dy += image.height; in ccw_putcs()
207 region.dy = info->var.yoffset; in ccw_clear_margins()
215 region.dy = 0; in ccw_clear_margins()
231 int err = 1, dx, dy; in ccw_cursor() local
288 dy = vyres - ((vc->vc_x + 1) * vc->vc_font.width); in ccw_cursor()
[all …]
Dfbcon_ud.c49 int sx, int dy, int dx, int height, int width) in ud_bmove() argument
58 area.dy = vyres - ((dy + height) * vc->vc_font.height); in ud_bmove()
76 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear()
173 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs()
236 region.dy = 0; in ud_clear_margins()
244 region.dy = info->var.yoffset; in ud_clear_margins()
261 int err = 1, dx, dy; in ud_cursor() local
318 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor()
322 ops->cursor_state.image.dy != dy || in ud_cursor()
325 ops->cursor_state.image.dy = dy; in ud_cursor()
[all …]
Dbitblit.c47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument
54 area.dy = dy * vc->vc_font.height; in bit_bmove()
69 region.dy = sy * vc->vc_font.height; in bit_clear()
160 image.dy = yy * vc->vc_font.height; in bit_putcs()
222 region.dy = 0; in bit_clear_margins()
230 region.dy = info->var.yoffset + bs; in bit_clear_margins()
291 (ops->cursor_state.image.dy != (vc->vc_font.height * y)) || in bit_cursor()
294 ops->cursor_state.image.dy = vc->vc_font.height * y; in bit_cursor()
373 cursor.image.dy = ops->cursor_state.image.dy; in bit_cursor()
/drivers/video/i810/
Di810_accel.c301 u32 dx, dy, width, height, dest, rop = 0, color = 0; in i810fb_fillrect() local
318 dy = rect->dy; in i810fb_fillrect()
321 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_fillrect()
329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local
341 dy = region->dy; in i810fb_copyarea()
352 if (dy <= sy) { in i810fb_copyarea()
358 dy += height - 1; in i810fb_copyarea()
361 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_copyarea()
390 dst = info->fix.smem_start + (image->dy * info->fix.line_length) + in i810fb_imageblit()
/drivers/input/
Dmousedev.c54 int dx, dy, dz; member
89 int dx, dy, dz; member
162 mousedev->packet.dy = tmp / FRACTION_DENOM; in mousedev_touchpad_event()
164 mousedev->packet.dy * FRACTION_DENOM; in mousedev_touchpad_event()
216 mousedev->packet.dy -= value; in mousedev_rel_event()
289 p->dy += packet->y - client->pos_y; in mousedev_notify_readers()
297 client->pos_y += packet->dy; in mousedev_notify_readers()
302 p->dy += packet->dy; in mousedev_notify_readers()
306 if (p->dx || p->dy || p->dz || in mousedev_notify_readers()
400 mousedev->packet.dx = mousedev->packet.dy = in mousedev_event()
[all …]

12345