/drivers/input/mouse/ |
H A D | atarimouse.c | 70 int buttons, dx, dy; local 79 dx = buf[1]; 82 input_report_rel(atamouse_dev, REL_X, dx);
|
H A D | rpcmouse.c | 41 short x, y, dx, dy, b; local 47 dx = x - rpcmouse_lastx; 53 input_report_rel(dev, REL_X, dx);
|
H A D | amimouse.c | 42 int nx, ny, dx, dy; local 49 dx = nx - amimouse_lastx; 52 if (dx < -127) dx = (256 + nx) - amimouse_lastx; 53 if (dx > 127) dx = (nx - 256) - amimouse_lastx; 62 input_report_rel(dev, REL_X, dx);
|
H A D | logibm.c | 79 char dx, dy; local 83 dx = (inb(LOGIBM_DATA_PORT) & 0xf); 85 dx |= (inb(LOGIBM_DATA_PORT) & 0xf) << 4; 93 input_report_rel(logibm_dev, REL_X, dx);
|
H A D | vsxxxaa.c | 214 int dx, dy; local 221 * [1]: 0 dx dx dx dx dx dx dx 226 * Low 7 bit of byte 1 are abs(dx), bit 7 is 229 dx [all...] |
/drivers/video/ |
H A D | atafb_mfb.c | 25 int sy, int sx, int dy, int dx, 31 if (sx == 0 && dx == 0 && width == next_line) { 37 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); 45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); 78 int dy, int dx, u32 width, 84 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); 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 77 atafb_mfb_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument
|
H A D | c2p_iplan2.c | 76 * @dx: Horizontal destination offset (in pixels) 85 void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, argument 96 dst += dy*dst_nextline+(dx & ~15)*bpp; 97 dst_idx = dx % 16;
|
H A D | c2p_planar.c | 76 * @dx: Horizontal destination offset (in pixels) 86 void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, argument 98 dst += dy*dst_nextline+(dx & ~31); 99 dst_idx = dx % 32;
|
H A D | syscopyarea.c | 317 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; local 329 if ((dy == sy && dx > sx) || (dy > sy)) { 341 dst_idx += dy*bits_per_line + dx*p->var.bits_per_pixel;
|
H A D | cfbcopyarea.c | 371 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; local 384 if ((dy == sy && dx > sx) || (dy > sy)) { 395 dst_idx += dy*bits_per_line + dx*p->var.bits_per_pixel;
|
H A D | atafb_iplan2p2.c | 25 int sy, int sx, int dy, int dx, 44 u_int upwards = (dy < sy) || (dy == sy && dx < sx); 47 if (!((sx ^ dx) & 15)) { 52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 153 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 158 if ((dx + width) & 15) 240 int dy, int dx, u32 width, 248 dest = (u32 *)(info->screen_base + dy * next_line + (dx 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 239 atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument [all...] |
H A D | atafb_iplan2p4.c | 25 int sy, int sx, int dy, int dx, 44 u_int upwards = (dy < sy) || (dy == sy && dx < sx); 47 if (!((sx ^ dx) & 15)) { 52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 160 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 165 if ((dx + width) & 15) 254 int dy, int dx, u32 width, 262 dest = (u32 *)(info->screen_base + dy * next_line + (dx 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 253 atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument [all...] |
H A D | atafb_iplan2p8.c | 32 int sy, int sx, int dy, int dx, 51 u_int upwards = (dy < sy) || (dy == sy && dx < sx); 54 if (!((sx ^ dx) & 15)) { 59 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 84 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 118 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 181 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 186 if ((dx + width) & 15) 289 int dy, int dx, u32 width, 297 dest = (u32 *)(info->screen_base + dy * next_line + (dx 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 288 atafb_iplan2p8_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument [all...] |
H A D | cfbimgblt.c | 270 u32 dx = image->dx, dy = image->dy; local 276 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp);
|
H A D | hitfb.c | 60 static inline void hitfb_accel_set_dest(int truecolor, u16 dx, u16 dy, argument 63 u32 saddr = WIDTH * dy + dx; 75 static inline void hitfb_accel_bitblt(int truecolor, u16 sx, u16 sy, u16 dx, argument 85 if ((sy < dy) || ((sy == dy) && (sx <= dx))) { 87 daddr = WIDTH * (dy + height) + dx + width; 100 daddr = WIDTH * dy + dx; 137 hitfb_accel_set_dest(1, rect->dx, rect->dy, rect->width, 142 hitfb_accel_set_dest(0, rect->dx, rect->dy, rect->width, 153 area->dx, area->dy, area->width, area->height,
|
H A D | sysimgblt.c | 245 u32 dx = image->dx, dy = image->dy; local 251 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp);
|
/drivers/video/savage/ |
H A D | savagefb_accel.c | 34 int sx = region->sx, dx = region->dx; local 44 if (dx <= sx) { 48 dx += region->width - 1; 61 BCI_SEND(BCI_X_Y(dx, dy)); 88 BCI_SEND( BCI_X_Y(rect->dx, rect->dy) ); 128 BCI_SEND(BCI_CLIP_LR(image->dx, image->dx + image->width - 1)); 131 BCI_SEND(BCI_X_Y(image->dx, image->dy));
|
/drivers/media/video/ |
H A D | btcx-risc.c | 133 s32 nx,nw,dx; local 141 dx = nx - win->left; 145 printk(KERN_DEBUG "btcx: window align %dx%d+%d+%d [dx=%d]\n", 146 win->width, win->height, win->left, win->top, dx); 150 nx = (clips[i].c.left-dx) & ~mask; 152 if (nx + nw < clips[i].c.left-dx + clips[i].c.width) 157 printk(KERN_DEBUG "btcx: clip align %dx%d+%d+%d\n",
|
/drivers/video/aty/ |
H A D | radeon_accel.c | 63 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); 88 modded.dx >= vxres || modded.dy >= vyres) 91 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; 101 u32 sx, sy, dx, dy, w, h; local 104 dx = area->dx; dy = area->dy; 106 xdir = sx - dx; 109 if ( xdir < 0 ) { sx += w-1; dx += w-1; } 129 OUTREG(DST_Y_X, (dy << 16) | dx); [all...] |
H A D | mach64_accel.c | 26 static u32 rotation24bpp(u32 dx, u32 direction) argument 30 rotation = (dx / 4) % 6; 32 rotation = ((dx + 2) / 4) % 6; 199 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; local 214 dx *= 3; 224 if (sx < dx) { 225 dx += width - 1; 231 rotation = rotation24bpp(dx, direction); 239 draw_rect(dx, d 245 u32 color, dx = rect->dx, width = rect->width, rotation = 0; local 284 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; local [all...] |
/drivers/video/console/ |
H A D | tileblit.c | 20 int sx, int dy, int dx, int height, int width) 26 area.dx = dx; 19 tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument
|
H A D | bitblit.c | 47 int sx, int dy, int dx, int height, int width) 53 area.dx = dx * vc->vc_font.width; 68 region.dx = sx * vc->vc_font.width; 159 image.dx = xx * vc->vc_font.width; 192 image.dx += cnt * vc->vc_font.width; 221 region.dx = info->var.xoffset + rs; 229 region.dx = info->var.xoffset; 290 if ((ops->cursor_state.image.dx != (vc->vc_font.width * vc->vc_x)) || 293 ops->cursor_state.image.dx 46 bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument [all...] |
/drivers/video/mb862xx/ |
H A D | mb862xxfb_accel.c | 56 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) 66 cmd[4] = (area->dy << 16) | area->dx; 75 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, argument 102 cmd[7] = (dy << 16) | dx; 124 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, argument 135 cmd[1] = (dy << 16) | dx; 163 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, argument 178 cmd[1] = (dy << 16) | dx; 200 u16 dx = image->dx, dy = image->dy; local [all...] |
/drivers/video/i810/ |
H A D | i810_accel.c | 301 u32 dx, dy, width, height, dest, rop = 0, color = 0; local 316 dx = rect->dx * par->depth; 321 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; 329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; local 337 dx = region->dx * par->depth; 344 if (dx <= sx) { 350 dx += width - 1; 361 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; [all...] |
/drivers/video/matrox/ |
H A D | matroxfb_accel.c | 200 int sx, int dy, int dx, int height, int width) 209 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { 230 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); 238 int sy, int sx, int dy, int dx, int height, 248 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { 269 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); 280 if ((area->sx | area->dx | area->width) & 1) 283 matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 199 matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument 237 matrox_accel_bmove_lin(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument [all...] |