tag | line | file | source code |
dx | 573 | arch/m68k/atari/atakeyb.c | void ikbd_mouse_kbd_mode(int dx, int dy) |
dx | 575 | arch/m68k/atari/atakeyb.c | char cmd[3] = { 0x0A, dx, dy }; |
dx | 236 | arch/m68k/console/fbcon.c | static int fbcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, |
dx | 273 | arch/m68k/console/fbcon.c | static void fbcon_bmove_rec(struct display *p, int sy, int sx, int dy, int dx, |
dx | 282 | arch/m68k/console/fbcon.c | static void bmove_mono(struct display *p, int sy, int sx, int dy, int dx, |
dx | 299 | arch/m68k/console/fbcon.c | static void bmove_ilbm(struct display *p, int sy, int sx, int dy, int dx, |
dx | 316 | arch/m68k/console/fbcon.c | static void bmove_plan(struct display *p, int sy, int sx, int dy, int dx, |
dx | 333 | arch/m68k/console/fbcon.c | static void bmove_2_plane(struct display *p, int sy, int sx, int dy, int dx, |
dx | 350 | arch/m68k/console/fbcon.c | static void bmove_4_plane(struct display *p, int sy, int sx, int dy, int dx, |
dx | 367 | arch/m68k/console/fbcon.c | static void bmove_8_plane(struct display *p, int sy, int sx, int dy, int dx, |
dx | 384 | arch/m68k/console/fbcon.c | static void bmove_8_packed(struct display *p, int sy, int sx, int dy, int dx, |
dx | 401 | arch/m68k/console/fbcon.c | static void bmove_16_packed(struct display *p, int sy, int sx, int dy, int dx, |
dx | 418 | arch/m68k/console/fbcon.c | static void bmove_cyber(struct display *p, int sy, int sx, int dy, int dx, |
dx | 444 | arch/m68k/console/fbcon.c | void (*bmove)(struct display *p, int sy, int sx, int dy, int dx, int height, |
dx | 1620 | arch/m68k/console/fbcon.c | static int fbcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, |
dx | 1632 | arch/m68k/console/fbcon.c | (dx <= p->cursor_x) && (p->cursor_x < dx+width))) |
dx | 1642 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, height, width, p->vrows-p->yscroll); |
dx | 1648 | arch/m68k/console/fbcon.c | static void fbcon_bmove_rec(struct display *p, int sy, int sx, int dy, int dx, |
dx | 1656 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
dx | 1657 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
dx | 1659 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
dx | 1660 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
dx | 1668 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
dx | 1669 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
dx | 1671 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
dx | 1672 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
dx | 1676 | arch/m68k/console/fbcon.c | p->dispsw->bmove(p, real_y(p, sy), sx, real_y(p, dy), dx, height, width); |
dx | 1861 | arch/m68k/console/fbcon.c | static void bmove_mono(struct display *p, int sy, int sx, int dy, int dx, |
dx | 1873 | arch/m68k/console/fbcon.c | dest = p->screen_base+dy*p->fontheight*p->next_line+dx; |
dx | 1881 | arch/m68k/console/fbcon.c | dest = p->screen_base+((dy+height)*p->fontheight-1)*p->next_line+dx; |
dx | 1999 | arch/m68k/console/fbcon.c | static void bmove_ilbm(struct display *p, int sy, int sx, int dy, int dx, |
dx | 2011 | arch/m68k/console/fbcon.c | dest = p->screen_base+dy*p->fontheight*p->next_line+dx; |
dx | 2019 | arch/m68k/console/fbcon.c | dest = p->screen_base+(dy+height)*p->fontheight*p->next_line+dx; |
dx | 2218 | arch/m68k/console/fbcon.c | static void bmove_plan(struct display *p, int sy, int sx, int dy, int dx, |
dx | 2234 | arch/m68k/console/fbcon.c | dest0 = p->screen_base+dy*p->fontheight*p->next_line+dx; |
dx | 2248 | arch/m68k/console/fbcon.c | dest0 = p->screen_base+(dy+height)*p->fontheight*p->next_line+dx; |
dx | 2464 | arch/m68k/console/fbcon.c | static void bmove_2_plane(struct display *p, int sy, int sx, int dy, int dx, |
dx | 2479 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width == p->next_line/2) { |
dx | 2493 | arch/m68k/console/fbcon.c | u_int upwards = (dy < sy) || (dy == sy && dx < sx); |
dx | 2495 | arch/m68k/console/fbcon.c | if ((sx & 1) == (dx & 1)) { |
dx | 2501 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*4 + (dx & 1); |
dx | 2529 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*4; |
dx | 2535 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*4 + (dx & 1); |
dx | 2558 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*4 + (dx & 1); |
dx | 2567 | arch/m68k/console/fbcon.c | dx += width-1; |
dx | 2569 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*4 + (dx & 1); |
dx | 2728 | arch/m68k/console/fbcon.c | static void bmove_4_plane(struct display *p, int sy, int sx, int dy, int dx, |
dx | 2743 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width == p->next_line/4) { |
dx | 2757 | arch/m68k/console/fbcon.c | u_int upwards = (dy < sy) || (dy == sy && dx < sx); |
dx | 2759 | arch/m68k/console/fbcon.c | if ((sx & 1) == (dx & 1)) { |
dx | 2765 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*8 + (dx & 1); |
dx | 2793 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*8; |
dx | 2799 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*8 + (dx & 1); |
dx | 2822 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*8 + (dx & 1); |
dx | 2831 | arch/m68k/console/fbcon.c | dx += width-1; |
dx | 2833 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*8 + (dx & 1); |
dx | 3007 | arch/m68k/console/fbcon.c | static void bmove_8_plane(struct display *p, int sy, int sx, int dy, int dx, |
dx | 3022 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width == p->next_line/8) { |
dx | 3036 | arch/m68k/console/fbcon.c | u_int upwards = (dy < sy) || (dy == sy && dx < sx); |
dx | 3038 | arch/m68k/console/fbcon.c | if ((sx & 1) == (dx & 1)) { |
dx | 3044 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*16 + (dx & 1); |
dx | 3072 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*16; |
dx | 3078 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*16 + (dx & 1); |
dx | 3101 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*16 + (dx & 1); |
dx | 3110 | arch/m68k/console/fbcon.c | dx += width-1; |
dx | 3112 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + (dx>>1)*16 + (dx & 1); |
dx | 3294 | arch/m68k/console/fbcon.c | static void bmove_8_packed(struct display *p, int sy, int sx, int dy, int dx, |
dx | 3300 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width * 8 == bytes) { |
dx | 3306 | arch/m68k/console/fbcon.c | if (dy < sy || (dy == sy && dx < sx)) { |
dx | 3308 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + dx * 8; |
dx | 3318 | arch/m68k/console/fbcon.c | dst = p->screen_base + (dy+height) * linesize + dx * 8 |
dx | 3450 | arch/m68k/console/fbcon.c | static void bmove_16_packed(struct display *p, int sy, int sx, int dy, int dx, |
dx | 3456 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width * 16 == bytes) { |
dx | 3462 | arch/m68k/console/fbcon.c | if (dy < sy || (dy == sy && dx < sx)) { |
dx | 3464 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + dx * 16; |
dx | 3474 | arch/m68k/console/fbcon.c | dst = p->screen_base + (dy+height) * linesize + dx * 16 |
dx | 3616 | arch/m68k/console/fbcon.c | static void bmove_cyber(struct display *p, int sy, int sx, int dy, int dx, |
dx | 3619 | arch/m68k/console/fbcon.c | sx *= 8; dx *= 8; width *= 8; |
dx | 3620 | arch/m68k/console/fbcon.c | Cyber_BitBLT((u_short)sx, (u_short)(sy*p->fontheight), (u_short)dx, |
dx | 35 | arch/m68k/console/txtcon.c | static int txtcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, |
dx | 97 | arch/m68k/console/txtcon.c | static int txtcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, |
dx | 61 | drivers/char/amigamouse.c | int dx, dy; |
dx | 81 | drivers/char/amigamouse.c | dx = nx - lastx; |
dx | 82 | drivers/char/amigamouse.c | if (dx < - 127) |
dx | 83 | drivers/char/amigamouse.c | dx = (256 + nx) - lastx; |
dx | 85 | drivers/char/amigamouse.c | if (dx > 127) |
dx | 86 | drivers/char/amigamouse.c | dx = (nx - 256) - lastx; |
dx | 99 | drivers/char/amigamouse.c | dx = -lastdx; |
dx | 100 | drivers/char/amigamouse.c | dx += (lastdx = joy0dat & 0xff); |
dx | 101 | drivers/char/amigamouse.c | if (dx < -127) |
dx | 102 | drivers/char/amigamouse.c | dx = -255-dx; /* underrun */ |
dx | 104 | drivers/char/amigamouse.c | if (dx > 127) |
dx | 105 | drivers/char/amigamouse.c | dx = 255-dx; /* overflow */ |
dx | 125 | drivers/char/amigamouse.c | if (dx != 0 || dy != 0 || buttons != mouse.buttons) { |
dx | 126 | drivers/char/amigamouse.c | add_mouse_randomness((buttons << 16) + (dy << 8) + dx); |
dx | 128 | drivers/char/amigamouse.c | mouse.dx += dx; |
dx | 138 | drivers/char/amigamouse.c | if (mouse.dx < -2048) |
dx | 139 | drivers/char/amigamouse.c | mouse.dx = -2048; |
dx | 141 | drivers/char/amigamouse.c | if (mouse.dx > 2048) |
dx | 142 | drivers/char/amigamouse.c | mouse.dx = 2048; |
dx | 191 | drivers/char/amigamouse.c | mouse.dx = 0; |
dx | 216 | drivers/char/amigamouse.c | int dx; |
dx | 235 | drivers/char/amigamouse.c | dx = mouse.dx; |
dx | 237 | drivers/char/amigamouse.c | if (dx < -127) |
dx | 238 | drivers/char/amigamouse.c | dx = -127; |
dx | 240 | drivers/char/amigamouse.c | if (dx > 127) |
dx | 241 | drivers/char/amigamouse.c | dx = 127; |
dx | 248 | drivers/char/amigamouse.c | mouse.dx -= dx; |
dx | 254 | drivers/char/amigamouse.c | put_fs_byte((char)dx, buffer + 1); |
dx | 305 | drivers/char/amigamouse.c | mouse.dx = 0; |
dx | 263 | drivers/char/apm_bios.c | #define APM_GET_POWER_STATUS(bx, cx, dx, error) \ |
dx | 265 | drivers/char/apm_bios.c | : "=a" (error), "=b" (bx), "=c" (cx), "=d" (dx) \ |
dx | 954 | drivers/char/apm_bios.c | unsigned short dx; |
dx | 967 | drivers/char/apm_bios.c | if (!(error = apm_get_power_status(&bx, &cx, &dx))) { |
dx | 975 | drivers/char/apm_bios.c | if (dx != 0xffff) { |
dx | 976 | drivers/char/apm_bios.c | if ((dx & 0x8000) == 0x8000) { |
dx | 978 | drivers/char/apm_bios.c | time_units = dx & 0x7ffe; |
dx | 981 | drivers/char/apm_bios.c | time_units = dx & 0x7fff; |
dx | 1043 | drivers/char/apm_bios.c | unsigned short dx; |
dx | 1115 | drivers/char/apm_bios.c | error = apm_get_power_status(&bx, &cx, &dx); |
dx | 1141 | drivers/char/apm_bios.c | if (dx == 0xffff) |
dx | 1144 | drivers/char/apm_bios.c | if ((dx & 0x8000)) |
dx | 1145 | drivers/char/apm_bios.c | printk("%d minutes\n", dx & 0x7ffe ); |
dx | 1147 | drivers/char/apm_bios.c | printk("%d seconds\n", dx & 0x7fff ); |
dx | 44 | drivers/char/atarimouse.c | mouse.dx += buf[1]; |
dx | 80 | drivers/char/atarimouse.c | mouse.dx = mouse.dy = 0; |
dx | 97 | drivers/char/atarimouse.c | int dx, dy, buttons; |
dx | 107 | drivers/char/atarimouse.c | dx = mouse.dx; |
dx | 110 | drivers/char/atarimouse.c | if (dx > 127) |
dx | 111 | drivers/char/atarimouse.c | dx = 127; |
dx | 112 | drivers/char/atarimouse.c | else if (dx < -128) |
dx | 113 | drivers/char/atarimouse.c | dx = -128; |
dx | 118 | drivers/char/atarimouse.c | mouse.dx -= dx; |
dx | 120 | drivers/char/atarimouse.c | if (mouse.dx == 0 && mouse.dy == 0) |
dx | 124 | drivers/char/atarimouse.c | put_user((char) dx, buffer + 1); |
dx | 63 | drivers/char/atixlmouse.c | int dx; |
dx | 74 | drivers/char/atixlmouse.c | char dx, dy, buttons; |
dx | 78 | drivers/char/atixlmouse.c | dx = inb( ATIXL_MSE_DATA_PORT); |
dx | 83 | drivers/char/atixlmouse.c | if (dx != 0 || dy != 0 || buttons != mouse.latch_buttons) { |
dx | 84 | drivers/char/atixlmouse.c | add_mouse_randomness((buttons << 16) + (dy << 8) + dx); |
dx | 86 | drivers/char/atixlmouse.c | mouse.dx += dx; |
dx | 128 | drivers/char/atixlmouse.c | mouse.dx = 0; |
dx | 153 | drivers/char/atixlmouse.c | if (mouse.dx < -127) |
dx | 154 | drivers/char/atixlmouse.c | mouse.dx = -127; |
dx | 155 | drivers/char/atixlmouse.c | if (mouse.dx > 127) |
dx | 156 | drivers/char/atixlmouse.c | mouse.dx = 127; |
dx | 157 | drivers/char/atixlmouse.c | put_user((char)mouse.dx, buffer + 1); |
dx | 165 | drivers/char/atixlmouse.c | mouse.dx = 0; |
dx | 222 | drivers/char/atixlmouse.c | mouse.dx = mouse.dy = 0; |
dx | 65 | drivers/char/busmouse.c | char dx, dy; |
dx | 69 | drivers/char/busmouse.c | dx = (inb(MSE_DATA_PORT) & 0xf); |
dx | 71 | drivers/char/busmouse.c | dx |= (inb(MSE_DATA_PORT) & 0xf) << 4; |
dx | 78 | drivers/char/busmouse.c | if (dx != 0 || dy != 0 || buttons != mouse.buttons) { |
dx | 79 | drivers/char/busmouse.c | add_mouse_randomness((buttons << 16) + (dy << 8) + dx); |
dx | 81 | drivers/char/busmouse.c | mouse.dx += dx; |
dx | 91 | drivers/char/busmouse.c | if (mouse.dx < -2048) |
dx | 92 | drivers/char/busmouse.c | mouse.dx = -2048; |
dx | 93 | drivers/char/busmouse.c | if (mouse.dx > 2048) |
dx | 94 | drivers/char/busmouse.c | mouse.dx = 2048; |
dx | 146 | drivers/char/busmouse.c | mouse.dx = 0; |
dx | 170 | drivers/char/busmouse.c | int dx; |
dx | 191 | drivers/char/busmouse.c | dx = mouse.dx; |
dx | 193 | drivers/char/busmouse.c | if (dx < -127) |
dx | 194 | drivers/char/busmouse.c | dx = -127; |
dx | 195 | drivers/char/busmouse.c | if (dx > 127) |
dx | 196 | drivers/char/busmouse.c | dx = 127; |
dx | 202 | drivers/char/busmouse.c | mouse.dx -= dx; |
dx | 209 | drivers/char/busmouse.c | put_user((char)dx, buffer + 1); |
dx | 270 | drivers/char/busmouse.c | mouse.dx = 0; |
dx | 53 | drivers/char/msbusmouse.c | char dx, dy; |
dx | 60 | drivers/char/msbusmouse.c | dx = inb(MS_MSE_DATA_PORT); |
dx | 71 | drivers/char/msbusmouse.c | if (dx != 0 || dy != 0 || buttons != mouse.buttons || ((~buttons) & 0x07)) { |
dx | 72 | drivers/char/msbusmouse.c | add_mouse_randomness((buttons << 16) + (dy << 8) + dx); |
dx | 74 | drivers/char/msbusmouse.c | mouse.dx += dx; |
dx | 114 | drivers/char/msbusmouse.c | mouse.ready = mouse.dx = mouse.dy = 0; |
dx | 130 | drivers/char/msbusmouse.c | int i, dx, dy; |
dx | 137 | drivers/char/msbusmouse.c | dx = mouse.dx < -127 ? -127 : mouse.dx > 127 ? 127 : mouse.dx; |
dx | 139 | drivers/char/msbusmouse.c | put_user((char)dx, buffer + 1); |
dx | 143 | drivers/char/msbusmouse.c | mouse.dx -= dx; |
dx | 183 | drivers/char/msbusmouse.c | mouse.dx = mouse.dy = 0; |
dx | 17 | include/asm-m68k/amigamouse.h | int dx; |
dx | 12 | include/asm-m68k/atari_mouse.h | short dx; |
dx | 22 | include/asm-m68k/atarikb.h | void ikbd_mouse_kbd_mode(int dx, int dy); |
dx | 92 | include/linux/busmouse.h | int dx; |