tag | line | file | source code |
dy | 573 | arch/m68k/atari/atakeyb.c | void ikbd_mouse_kbd_mode(int dx, int dy) |
dy | 575 | arch/m68k/atari/atakeyb.c | char cmd[3] = { 0x0A, dx, dy }; |
dy | 236 | arch/m68k/console/fbcon.c | static int fbcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, |
dy | 273 | arch/m68k/console/fbcon.c | static void fbcon_bmove_rec(struct display *p, int sy, int sx, int dy, int dx, |
dy | 282 | arch/m68k/console/fbcon.c | static void bmove_mono(struct display *p, int sy, int sx, int dy, int dx, |
dy | 299 | arch/m68k/console/fbcon.c | static void bmove_ilbm(struct display *p, int sy, int sx, int dy, int dx, |
dy | 316 | arch/m68k/console/fbcon.c | static void bmove_plan(struct display *p, int sy, int sx, int dy, int dx, |
dy | 333 | arch/m68k/console/fbcon.c | static void bmove_2_plane(struct display *p, int sy, int sx, int dy, int dx, |
dy | 350 | arch/m68k/console/fbcon.c | static void bmove_4_plane(struct display *p, int sy, int sx, int dy, int dx, |
dy | 367 | arch/m68k/console/fbcon.c | static void bmove_8_plane(struct display *p, int sy, int sx, int dy, int dx, |
dy | 384 | arch/m68k/console/fbcon.c | static void bmove_8_packed(struct display *p, int sy, int sx, int dy, int dx, |
dy | 401 | arch/m68k/console/fbcon.c | static void bmove_16_packed(struct display *p, int sy, int sx, int dy, int dx, |
dy | 418 | arch/m68k/console/fbcon.c | static void bmove_cyber(struct display *p, int sy, int sx, int dy, int dx, |
dy | 444 | arch/m68k/console/fbcon.c | void (*bmove)(struct display *p, int sy, int sx, int dy, int dx, int height, |
dy | 1620 | arch/m68k/console/fbcon.c | static int fbcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, |
dy | 1631 | arch/m68k/console/fbcon.c | ((dy <= p->cursor_y) && (p->cursor_y < dy+height) && |
dy | 1642 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, height, width, p->vrows-p->yscroll); |
dy | 1648 | arch/m68k/console/fbcon.c | static void fbcon_bmove_rec(struct display *p, int sy, int sx, int dy, int dx, |
dy | 1655 | arch/m68k/console/fbcon.c | if (dy < sy) { /* Avoid trashing self */ |
dy | 1656 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
dy | 1657 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
dy | 1659 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
dy | 1660 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
dy | 1665 | arch/m68k/console/fbcon.c | if (dy < y_break && dy+height > y_break) { |
dy | 1666 | arch/m68k/console/fbcon.c | b = y_break-dy; |
dy | 1667 | arch/m68k/console/fbcon.c | if (dy < sy) { /* Avoid trashing self */ |
dy | 1668 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
dy | 1669 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
dy | 1671 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
dy | 1672 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
dy | 1676 | arch/m68k/console/fbcon.c | p->dispsw->bmove(p, real_y(p, sy), sx, real_y(p, dy), dx, height, width); |
dy | 1861 | arch/m68k/console/fbcon.c | static void bmove_mono(struct display *p, int sy, int sx, int dy, int dx, |
dy | 1869 | arch/m68k/console/fbcon.c | dest = p->screen_base+dy*p->fontheight*width; |
dy | 1871 | arch/m68k/console/fbcon.c | } else if (dy <= sy) { |
dy | 1873 | arch/m68k/console/fbcon.c | dest = p->screen_base+dy*p->fontheight*p->next_line+dx; |
dy | 1881 | arch/m68k/console/fbcon.c | dest = p->screen_base+((dy+height)*p->fontheight-1)*p->next_line+dx; |
dy | 1999 | arch/m68k/console/fbcon.c | static void bmove_ilbm(struct display *p, int sy, int sx, int dy, int dx, |
dy | 2003 | arch/m68k/console/fbcon.c | mymemmove(p->screen_base+dy*p->fontheight*p->next_line, p->screen_base, |
dy | 2009 | arch/m68k/console/fbcon.c | if (dy <= sy) { |
dy | 2011 | arch/m68k/console/fbcon.c | dest = p->screen_base+dy*p->fontheight*p->next_line+dx; |
dy | 2019 | arch/m68k/console/fbcon.c | dest = p->screen_base+(dy+height)*p->fontheight*p->next_line+dx; |
dy | 2218 | arch/m68k/console/fbcon.c | static void bmove_plan(struct display *p, int sy, int sx, int dy, int dx, |
dy | 2226 | arch/m68k/console/fbcon.c | dest = p->screen_base+dy*p->fontheight*width; |
dy | 2232 | arch/m68k/console/fbcon.c | } else if (dy <= sy) { |
dy | 2234 | arch/m68k/console/fbcon.c | dest0 = p->screen_base+dy*p->fontheight*p->next_line+dx; |
dy | 2248 | arch/m68k/console/fbcon.c | dest0 = p->screen_base+(dy+height)*p->fontheight*p->next_line+dx; |
dy | 2464 | arch/m68k/console/fbcon.c | static void bmove_2_plane(struct display *p, int sy, int sx, int dy, int dx, |
dy | 2483 | arch/m68k/console/fbcon.c | mymemmove(p->screen_base + dy * p->next_line * p->fontheight, |
dy | 2493 | arch/m68k/console/fbcon.c | u_int upwards = (dy < sy) || (dy == sy && dx < sx); |
dy | 2501 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*4 + (dx & 1); |
dy | 2529 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*4; |
dy | 2535 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*4 + (dx & 1); |
dy | 2558 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*4 + (dx & 1); |
dy | 2569 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*4 + (dx & 1); |
dy | 2728 | arch/m68k/console/fbcon.c | static void bmove_4_plane(struct display *p, int sy, int sx, int dy, int dx, |
dy | 2747 | arch/m68k/console/fbcon.c | mymemmove(p->screen_base + dy * p->next_line * p->fontheight, |
dy | 2757 | arch/m68k/console/fbcon.c | u_int upwards = (dy < sy) || (dy == sy && dx < sx); |
dy | 2765 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*8 + (dx & 1); |
dy | 2793 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*8; |
dy | 2799 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*8 + (dx & 1); |
dy | 2822 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*8 + (dx & 1); |
dy | 2833 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*8 + (dx & 1); |
dy | 3007 | arch/m68k/console/fbcon.c | static void bmove_8_plane(struct display *p, int sy, int sx, int dy, int dx, |
dy | 3026 | arch/m68k/console/fbcon.c | fast_memmove (p->screen_base + dy * p->next_line * p->fontheight, |
dy | 3036 | arch/m68k/console/fbcon.c | u_int upwards = (dy < sy) || (dy == sy && dx < sx); |
dy | 3044 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*16 + (dx & 1); |
dy | 3072 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*16; |
dy | 3078 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*16 + (dx & 1); |
dy | 3101 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*16 + (dx & 1); |
dy | 3112 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*16 + (dx & 1); |
dy | 3294 | arch/m68k/console/fbcon.c | static void bmove_8_packed(struct display *p, int sy, int sx, int dy, int dx, |
dy | 3301 | arch/m68k/console/fbcon.c | mymemmove(p->screen_base + dy * linesize, |
dy | 3306 | arch/m68k/console/fbcon.c | if (dy < sy || (dy == sy && dx < sx)) { |
dy | 3308 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + dx * 8; |
dy | 3318 | arch/m68k/console/fbcon.c | dst = p->screen_base + (dy+height) * linesize + dx * 8 |
dy | 3450 | arch/m68k/console/fbcon.c | static void bmove_16_packed(struct display *p, int sy, int sx, int dy, int dx, |
dy | 3457 | arch/m68k/console/fbcon.c | mymemmove(p->screen_base + dy * linesize, |
dy | 3462 | arch/m68k/console/fbcon.c | if (dy < sy || (dy == sy && dx < sx)) { |
dy | 3464 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + dx * 16; |
dy | 3474 | arch/m68k/console/fbcon.c | dst = p->screen_base + (dy+height) * linesize + dx * 16 |
dy | 3616 | arch/m68k/console/fbcon.c | static void bmove_cyber(struct display *p, int sy, int sx, int dy, int dx, |
dy | 3621 | arch/m68k/console/fbcon.c | (u_short)(dy*p->fontheight), (u_short)width, |
dy | 35 | arch/m68k/console/txtcon.c | static int txtcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, |
dy | 97 | arch/m68k/console/txtcon.c | static int txtcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, |
dy | 61 | drivers/char/amigamouse.c | int dx, dy; |
dy | 88 | drivers/char/amigamouse.c | dy = ny - lasty; |
dy | 89 | drivers/char/amigamouse.c | if (dy < - 127) |
dy | 90 | drivers/char/amigamouse.c | dy = (256 + ny) - lasty; |
dy | 92 | drivers/char/amigamouse.c | if (dy > 127) |
dy | 93 | drivers/char/amigamouse.c | dy = (ny - 256) - lasty; |
dy | 107 | drivers/char/amigamouse.c | dy = -lastdy; |
dy | 108 | drivers/char/amigamouse.c | dy += (lastdy = joy0dat >> 8); |
dy | 109 | drivers/char/amigamouse.c | if (dy < -127) |
dy | 110 | drivers/char/amigamouse.c | dy = -255-dy; |
dy | 112 | drivers/char/amigamouse.c | if (dy > 127) |
dy | 113 | drivers/char/amigamouse.c | dy = 255-dy; |
dy | 125 | drivers/char/amigamouse.c | if (dx != 0 || dy != 0 || buttons != mouse.buttons) { |
dy | 126 | drivers/char/amigamouse.c | add_mouse_randomness((buttons << 16) + (dy << 8) + dx); |
dy | 129 | drivers/char/amigamouse.c | mouse.dy -= dy; |
dy | 144 | drivers/char/amigamouse.c | if (mouse.dy < -2048) |
dy | 145 | drivers/char/amigamouse.c | mouse.dy = -2048; |
dy | 147 | drivers/char/amigamouse.c | if (mouse.dy > 2048) |
dy | 148 | drivers/char/amigamouse.c | mouse.dy = 2048; |
dy | 192 | drivers/char/amigamouse.c | mouse.dy = 0; |
dy | 217 | drivers/char/amigamouse.c | int dy; |
dy | 236 | drivers/char/amigamouse.c | dy = mouse.dy; |
dy | 242 | drivers/char/amigamouse.c | if (dy < -127) |
dy | 243 | drivers/char/amigamouse.c | dy = -127; |
dy | 245 | drivers/char/amigamouse.c | if (dy > 127) |
dy | 246 | drivers/char/amigamouse.c | dy = 127; |
dy | 249 | drivers/char/amigamouse.c | mouse.dy -= dy; |
dy | 255 | drivers/char/amigamouse.c | put_fs_byte((char)dy, buffer + 2); |
dy | 306 | drivers/char/amigamouse.c | mouse.dy = 0; |
dy | 45 | drivers/char/atarimouse.c | mouse.dy -= buf[2]; |
dy | 80 | drivers/char/atarimouse.c | mouse.dx = mouse.dy = 0; |
dy | 97 | drivers/char/atarimouse.c | int dx, dy, buttons; |
dy | 108 | drivers/char/atarimouse.c | dy = mouse.dy; |
dy | 114 | drivers/char/atarimouse.c | if (dy > 127) |
dy | 115 | drivers/char/atarimouse.c | dy = 127; |
dy | 116 | drivers/char/atarimouse.c | else if (dy < -128) |
dy | 117 | drivers/char/atarimouse.c | dy = -128; |
dy | 119 | drivers/char/atarimouse.c | mouse.dy -= dy; |
dy | 120 | drivers/char/atarimouse.c | if (mouse.dx == 0 && mouse.dy == 0) |
dy | 125 | drivers/char/atarimouse.c | put_user((char) dy, buffer + 2); |
dy | 64 | drivers/char/atixlmouse.c | int dy; |
dy | 74 | drivers/char/atixlmouse.c | char dx, dy, buttons; |
dy | 80 | drivers/char/atixlmouse.c | dy = inb( ATIXL_MSE_DATA_PORT); |
dy | 83 | drivers/char/atixlmouse.c | if (dx != 0 || dy != 0 || buttons != mouse.latch_buttons) { |
dy | 84 | drivers/char/atixlmouse.c | add_mouse_randomness((buttons << 16) + (dy << 8) + dx); |
dy | 87 | drivers/char/atixlmouse.c | mouse.dy += dy; |
dy | 129 | drivers/char/atixlmouse.c | mouse.dy = 0; |
dy | 158 | drivers/char/atixlmouse.c | if (mouse.dy < -127) |
dy | 159 | drivers/char/atixlmouse.c | mouse.dy = -127; |
dy | 160 | drivers/char/atixlmouse.c | if (mouse.dy > 127) |
dy | 161 | drivers/char/atixlmouse.c | mouse.dy = 127; |
dy | 162 | drivers/char/atixlmouse.c | put_user((char)-mouse.dy, buffer + 2); |
dy | 166 | drivers/char/atixlmouse.c | mouse.dy = 0; |
dy | 222 | drivers/char/atixlmouse.c | mouse.dx = mouse.dy = 0; |
dy | 65 | drivers/char/busmouse.c | char dx, dy; |
dy | 73 | drivers/char/busmouse.c | dy = (inb(MSE_DATA_PORT) & 0xf); |
dy | 76 | drivers/char/busmouse.c | dy |= (buttons & 0xf) << 4; |
dy | 78 | drivers/char/busmouse.c | if (dx != 0 || dy != 0 || buttons != mouse.buttons) { |
dy | 79 | drivers/char/busmouse.c | add_mouse_randomness((buttons << 16) + (dy << 8) + dx); |
dy | 82 | drivers/char/busmouse.c | mouse.dy -= dy; |
dy | 96 | drivers/char/busmouse.c | if (mouse.dy < -2048) |
dy | 97 | drivers/char/busmouse.c | mouse.dy = -2048; |
dy | 98 | drivers/char/busmouse.c | if (mouse.dy > 2048) |
dy | 99 | drivers/char/busmouse.c | mouse.dy = 2048; |
dy | 147 | drivers/char/busmouse.c | mouse.dy = 0; |
dy | 171 | drivers/char/busmouse.c | int dy; |
dy | 192 | drivers/char/busmouse.c | dy = mouse.dy; |
dy | 197 | drivers/char/busmouse.c | if (dy < -127) |
dy | 198 | drivers/char/busmouse.c | dy = -127; |
dy | 199 | drivers/char/busmouse.c | if (dy > 127) |
dy | 200 | drivers/char/busmouse.c | dy = 127; |
dy | 203 | drivers/char/busmouse.c | mouse.dy -= dy; |
dy | 210 | drivers/char/busmouse.c | put_user((char)dy, buffer + 2); |
dy | 271 | drivers/char/busmouse.c | mouse.dy = 0; |
dy | 53 | drivers/char/msbusmouse.c | char dx, dy; |
dy | 63 | drivers/char/msbusmouse.c | dy = inb(MS_MSE_DATA_PORT); |
dy | 71 | drivers/char/msbusmouse.c | if (dx != 0 || dy != 0 || buttons != mouse.buttons || ((~buttons) & 0x07)) { |
dy | 72 | drivers/char/msbusmouse.c | add_mouse_randomness((buttons << 16) + (dy << 8) + dx); |
dy | 75 | drivers/char/msbusmouse.c | mouse.dy += dy; |
dy | 114 | drivers/char/msbusmouse.c | mouse.ready = mouse.dx = mouse.dy = 0; |
dy | 130 | drivers/char/msbusmouse.c | int i, dx, dy; |
dy | 138 | drivers/char/msbusmouse.c | dy = mouse.dy < -127 ? 127 : mouse.dy > 127 ? -127 : -mouse.dy; |
dy | 140 | drivers/char/msbusmouse.c | put_user((char)dy, buffer + 2); |
dy | 144 | drivers/char/msbusmouse.c | mouse.dy += dy; |
dy | 183 | drivers/char/msbusmouse.c | mouse.dx = mouse.dy = 0; |
dy | 18 | include/asm-m68k/amigamouse.h | int dy; |
dy | 13 | include/asm-m68k/atari_mouse.h | short dy; |
dy | 22 | include/asm-m68k/atarikb.h | void ikbd_mouse_kbd_mode(int dx, int dy); |
dy | 93 | include/linux/busmouse.h | int dy; |