/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb_accel.c | 52 if (area->sx >= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 54 else if (area->sx >= area->dx && area->sy <= area->dy) in mb86290fb_copyarea() 56 else if (area->sx <= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 62 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea() 71 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 98 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1() 120 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 131 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8() 159 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit16() argument 174 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16() [all …]
|
/drivers/video/fbdev/ |
D | atafb.h | 5 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 10 int dy, int dx, u32 width, 13 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 18 int dy, int dx, u32 width, 21 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 26 int dy, int dx, u32 width, 29 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 34 int dy, int dx, u32 width,
|
D | atafb_mfb.c | 24 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument 32 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea() 34 } else if (dy <= sy) { in atafb_mfb_copyarea() 36 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea() 44 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea() 77 int dy, int dx, u32 width, in atafb_mfb_linefill() argument 83 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
|
D | tgafb.c | 626 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 …]
|
D | atafb_iplan2p2.c | 24 int sy, int sx, int dy, int dx, in atafb_iplan2p2_copyarea() argument 43 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p2_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 152 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 239 int dy, int dx, u32 width, in atafb_iplan2p2_linefill() argument 247 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill()
|
D | atafb_iplan2p4.c | 24 int sy, int sx, int dy, int dx, in atafb_iplan2p4_copyarea() argument 43 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p4_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 159 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 253 int dy, int dx, u32 width, in atafb_iplan2p4_linefill() argument 261 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill()
|
D | vga16fb.c | 857 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect() 908 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect() 915 y2 = rect->dy + rect->height; in vga16fb_fillrect() 924 height = y2 - rect->dy; in vga16fb_fillrect() 928 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect() 992 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea() 994 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea() 1009 (area->dy + height - 1) * info->fix.line_length; in vga_8planes_copyarea() 1032 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in vga16fb_copyarea() local 1041 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea() [all …]
|
D | atafb_iplan2p8.c | 31 int sy, int sx, int dy, int dx, in atafb_iplan2p8_copyarea() argument 50 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p8_copyarea() 58 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 83 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 117 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 180 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 288 int dy, int dx, u32 width, in atafb_iplan2p8_linefill() argument 296 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill()
|
D | hitfb.c | 59 static inline void hitfb_accel_set_dest(int truecolor, u16 dx, u16 dy, in hitfb_accel_set_dest() argument 62 u32 saddr = WIDTH * dy + dx; in hitfb_accel_set_dest() 75 u16 dy, u16 width, u16 height, u16 rop, in hitfb_accel_bitblt() argument 84 if ((sy < dy) || ((sy == dy) && (sx <= dx))) { in hitfb_accel_bitblt() 86 daddr = WIDTH * (dy + height) + dx + width; in hitfb_accel_bitblt() 99 daddr = WIDTH * dy + dx; in hitfb_accel_bitblt() 136 hitfb_accel_set_dest(1, rect->dx, rect->dy, rect->width, in hitfb_fillrect() 141 hitfb_accel_set_dest(0, rect->dx, rect->dy, rect->width, in hitfb_fillrect() 152 area->dx, area->dy, area->width, area->height, in hitfb_copyarea()
|
/drivers/video/fbdev/aty/ |
D | radeon_accel.c | 64 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); in radeonfb_prim_fillrect() 89 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect() 93 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_fillrect() 102 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local 105 dx = area->dx; dy = area->dy; in radeonfb_prim_copyarea() 108 ydir = sy - dy; in radeonfb_prim_copyarea() 111 if ( ydir < 0 ) { sy += h-1; dy += h-1; } in radeonfb_prim_copyarea() 130 OUTREG(DST_Y_X, (dy << 16) | dx); in radeonfb_prim_copyarea() 143 modded.dy = area->dy; in radeonfb_copyarea() 161 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea() [all …]
|
/drivers/input/mouse/ |
D | amimouse.c | 38 int nx, ny, dx, dy; in amimouse_interrupt() local 46 dy = ny - amimouse_lasty; in amimouse_interrupt() 50 if (dy < -127) dy = (256 + ny) - amimouse_lasty; in amimouse_interrupt() 51 if (dy > 127) dy = (ny - 256) - amimouse_lasty; in amimouse_interrupt() 59 input_report_rel(dev, REL_Y, dy); in amimouse_interrupt()
|
/drivers/video/fbdev/sis/ |
D | sis_accel.c | 322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect() 327 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect() 341 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect() 348 SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect() 375 area->dx >= vxres || area->dy >= vyres) in fbcon_sis_copyarea() 382 if((area->dy + height) > vyres) height = vyres - area->dy; in fbcon_sis_copyarea() 390 if(area->sy < area->dy) ydir = 0; in fbcon_sis_copyarea() 396 area->dx, area->dy, width, height); in fbcon_sis_copyarea() 404 area->dx, area->dy, width, height); in fbcon_sis_copyarea()
|
/drivers/gpu/drm/vboxvideo/ |
D | vbox_irq.c | 80 hintsi->dy >= 0xffff || in validate_or_set_position_hints() 82 hintsj->dy >= 0xffff || in validate_or_set_position_hints() 87 (hintsi->dy < in validate_or_set_position_hints() 88 hintsj->dy + (hintsj->cy & 0x8fff) && in validate_or_set_position_hints() 89 hintsi->dy + (hintsi->cy & 0x8fff) > in validate_or_set_position_hints() 90 hintsj->dy)) in validate_or_set_position_hints() 99 vbox->last_mode_hints[i].dy = 0; in validate_or_set_position_hints() 142 vbox_conn->vbox_crtc->y_hint = hints->dy; in vbox_update_mode_hints()
|
/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/fbdev/core/ |
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->state.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->state.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 | 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/video/fbdev/matrox/ |
D | matroxfb_accel.c | 209 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument 218 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove() 236 dy += height-1; in matrox_accel_bmove() 243 mga_ydstlen(dy, height); in matrox_accel_bmove() 250 int sy, int sx, int dy, int dx, int height, in matrox_accel_bmove_lin() argument 260 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove_lin() 278 dy += height-1; in matrox_accel_bmove_lin() 285 mga_outl(M_YDST, dy*vxres >> 5); in matrox_accel_bmove_lin() 298 …(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area… in matroxfb_cfb4_copyarea() 304 …matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, a… in matroxfb_copyarea() [all …]
|
/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi_phy.c | 38 int dx, dy; in hdmi_phy_parse_lanes() local 41 dy = lanes[i + 1]; in hdmi_phy_parse_lanes() 46 if (dy < 0 || dy >= 8) in hdmi_phy_parse_lanes() 50 if (dy != dx - 1) in hdmi_phy_parse_lanes() 54 if (dy != dx + 1) in hdmi_phy_parse_lanes()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi_phy.c | 47 int dx, dy; in hdmi_phy_parse_lanes() local 50 dy = lanes[i + 1]; in hdmi_phy_parse_lanes() 55 if (dy < 0 || dy >= 8) in hdmi_phy_parse_lanes() 59 if (dy != dx - 1) in hdmi_phy_parse_lanes() 63 if (dy != dx + 1) in hdmi_phy_parse_lanes()
|
/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/platform/chrome/ |
D | cros_ec_sensorhub_trace.h | 81 TP_PROTO(struct cros_ec_sensors_ts_filter_state *state, s64 dx, s64 dy), 82 TP_ARGS(state, dx, dy), 85 __field(s64, dy) 94 __entry->dy = dy; 103 __entry->dy,
|
/drivers/input/ |
D | mousedev.c | 52 int dx, dy, dz; member 89 int dx, dy, dz; member 159 mousedev->packet.dy = tmp / FRACTION_DENOM; in mousedev_touchpad_event() 161 mousedev->packet.dy * FRACTION_DENOM; in mousedev_touchpad_event() 213 mousedev->packet.dy -= value; in mousedev_rel_event() 286 p->dy += packet->y - client->pos_y; in mousedev_notify_readers() 294 client->pos_y += packet->dy; in mousedev_notify_readers() 298 p->dy += packet->dy; in mousedev_notify_readers() 302 if (p->dx || p->dy || p->dz || in mousedev_notify_readers() 396 mousedev->packet.dx = mousedev->packet.dy = in mousedev_event() [all …]
|
/drivers/staging/sm750fb/ |
D | sm750_accel.c | 153 unsigned int Bpp, unsigned int dx, unsigned int dy, in sm750_hw_copyarea() argument 166 if (sy < dy) { in sm750_hw_copyarea() 178 } else if (sy > dy) { in sm750_hw_copyarea() 223 dy += height - 1; in sm750_hw_copyarea() 275 (dy & DE_DESTINATION_Y_MASK)); /* dpr04 */ in sm750_hw_copyarea() 321 u32 bytePerPixel, u32 dx, u32 dy, u32 width, in sm750_hw_imageblit() argument 382 (dy & DE_DESTINATION_Y_MASK)); /* dpr04 */ in sm750_hw_imageblit()
|