/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() 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/fbdev/ |
D | atafb.h | 4 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,
|
D | atafb_mfb.c | 25 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()
|
D | tgafb.c | 623 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local 633 dy = image->dy; 645 if (dx > vxres || dy > vyres) 649 if (dy + height > vyres) 650 height = vyres - dy; 676 pos = dy * line_length; 836 u32 color, dx, dy, width, height, vxres, vyres; local 843 dy = image->dy; 851 if (dx > vxres || dy > vyres) 855 if (dy + height > vyres) [all …]
|
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() 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()
|
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() 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()
|
D | vga16fb.c | 838 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 …]
|
D | hitfb.c | 60 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()
|
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() 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()
|
/drivers/video/fbdev/aty/ |
D | radeon_accel.c | 63 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 …]
|
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() 220 dy += area->height - 1; in atyfb_copyarea() 241 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea() 281 draw_rect(dx, rect->dy, width, rect->height, par); in atyfb_fillrect() 287 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local 380 draw_rect(dx, dy, width, image->height, par); in atyfb_imageblit()
|
/drivers/input/mouse/ |
D | amimouse.c | 42 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()
|
D | logibm.c | 79 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()
|
/drivers/video/fbdev/sis/ |
D | sis_accel.c | 335 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/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() 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/ |
D | fbcon_cw.c | 49 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() 189 region.dy = info->var.yoffset + rs; in cw_clear_margins() 197 region.dy = info->var.yoffset; in cw_clear_margins() 213 int err = 1, dx, dy; in cw_cursor() local 261 dy = vc->vc_x * vc->vc_font.width; in cw_cursor() [all …]
|
D | fbcon_ccw.c | 64 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() 206 region.dy = info->var.yoffset; in ccw_clear_margins() 214 region.dy = 0; in ccw_clear_margins() 230 int err = 1, dx, dy; in ccw_cursor() local 278 dy = vyres - ((vc->vc_x + 1) * vc->vc_font.width); in ccw_cursor() [all …]
|
D | fbcon_ud.c | 49 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() 235 region.dy = 0; in ud_clear_margins() 243 region.dy = info->var.yoffset; in ud_clear_margins() 260 int err = 1, dx, dy; in ud_cursor() local 308 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor() 312 ops->cursor_state.image.dy != dy || in ud_cursor() 315 ops->cursor_state.image.dy = dy; in ud_cursor() [all …]
|
D | bitblit.c | 47 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() 221 region.dy = 0; in bit_clear_margins() 229 region.dy = info->var.yoffset + bs; in bit_clear_margins() 281 (ops->cursor_state.image.dy != (vc->vc_font.height * y)) || in bit_cursor() 284 ops->cursor_state.image.dy = vc->vc_font.height * y; in bit_cursor() 363 cursor.image.dy = ops->cursor_state.image.dy; in bit_cursor()
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_accel.c | 208 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument 217 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove() 235 dy += height-1; in matrox_accel_bmove() 242 mga_ydstlen(dy, height); 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() 277 dy += height-1; in matrox_accel_bmove_lin() 284 mga_outl(M_YDST, dy*vxres >> 5); in matrox_accel_bmove_lin() 297 …(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area… 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/i810/ |
D | i810_accel.c | 301 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/video/fbdev/omap2/dss/ |
D | hdmi_phy.c | 48 int dx, dy; in hdmi_phy_parse_lanes() local 51 dy = lanes[i + 1]; in hdmi_phy_parse_lanes() 56 if (dy < 0 || dy >= 8) in hdmi_phy_parse_lanes() 60 if (dy != dx - 1) in hdmi_phy_parse_lanes() 64 if (dy != dx + 1) in hdmi_phy_parse_lanes()
|
/drivers/video/fbdev/core/ |
D | svgalib.c | 220 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()
|
/drivers/input/ |
D | mousedev.c | 55 int dx, dy, dz; member 92 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() 301 p->dy += packet->dy; in mousedev_notify_readers() 305 if (p->dx || p->dy || p->dz || in mousedev_notify_readers() 399 mousedev->packet.dx = mousedev->packet.dy = in mousedev_event() [all …]
|
/drivers/staging/sm750fb/ |
D | sm750_accel.c | 148 unsigned int dy, /* Starting coordinate of destination surface */ in hw_copyarea() argument 164 if (sy < dy) { in hw_copyarea() 175 } else if (sy > dy) { in hw_copyarea() 217 dy += height - 1; in hw_copyarea() 265 FIELD_VALUE(0, DE_DESTINATION, Y, dy)); /* dpr04 */ in hw_copyarea() 306 u32 dy, /* Starting coordinate of destination surface */ in hw_imageblit() argument 363 FIELD_VALUE(0, DE_DESTINATION, Y, dy)); /* dpr04 */ in hw_imageblit()
|