tag | line | file | source code |
mouse | 63 | kernel/chr_drv/atixlmouse.c | } mouse; |
mouse | 69 | kernel/chr_drv/atixlmouse.c | mouse.dx += inb( ATIXL_MSE_DATA_PORT); |
mouse | 71 | kernel/chr_drv/atixlmouse.c | mouse.dy += inb( ATIXL_MSE_DATA_PORT); |
mouse | 73 | kernel/chr_drv/atixlmouse.c | mouse.latch_buttons |= inb( ATIXL_MSE_DATA_PORT); |
mouse | 75 | kernel/chr_drv/atixlmouse.c | mouse.ready = 1; |
mouse | 76 | kernel/chr_drv/atixlmouse.c | wake_up_interruptible(&mouse.wait); |
mouse | 82 | kernel/chr_drv/atixlmouse.c | mouse.active = 0; |
mouse | 83 | kernel/chr_drv/atixlmouse.c | mouse.ready = 0; |
mouse | 90 | kernel/chr_drv/atixlmouse.c | if (!mouse.present) |
mouse | 92 | kernel/chr_drv/atixlmouse.c | if (mouse.active) |
mouse | 94 | kernel/chr_drv/atixlmouse.c | mouse.active = 1; |
mouse | 95 | kernel/chr_drv/atixlmouse.c | mouse.ready = 0; |
mouse | 96 | kernel/chr_drv/atixlmouse.c | mouse.dx = 0; |
mouse | 97 | kernel/chr_drv/atixlmouse.c | mouse.dy = 0; |
mouse | 98 | kernel/chr_drv/atixlmouse.c | mouse.buttons = mouse.latch_buttons = 0; |
mouse | 100 | kernel/chr_drv/atixlmouse.c | mouse.active = 0; |
mouse | 117 | kernel/chr_drv/atixlmouse.c | if (!mouse.ready) |
mouse | 121 | kernel/chr_drv/atixlmouse.c | put_fs_byte((char)(~mouse.latch_buttons&7) | 0x80 , buffer); |
mouse | 122 | kernel/chr_drv/atixlmouse.c | put_fs_byte((char)mouse.dx, buffer + 1); |
mouse | 123 | kernel/chr_drv/atixlmouse.c | put_fs_byte((char)-mouse.dy, buffer + 2); |
mouse | 124 | kernel/chr_drv/atixlmouse.c | mouse.dx = 0; |
mouse | 125 | kernel/chr_drv/atixlmouse.c | mouse.dy = 0; |
mouse | 126 | kernel/chr_drv/atixlmouse.c | mouse.latch_buttons = mouse.buttons; |
mouse | 127 | kernel/chr_drv/atixlmouse.c | mouse.ready = 0; |
mouse | 136 | kernel/chr_drv/atixlmouse.c | if (mouse.ready) |
mouse | 138 | kernel/chr_drv/atixlmouse.c | select_wait(&mouse.wait,wait); |
mouse | 164 | kernel/chr_drv/atixlmouse.c | mouse.present = 0; |
mouse | 170 | kernel/chr_drv/atixlmouse.c | mouse.present = 1; |
mouse | 171 | kernel/chr_drv/atixlmouse.c | mouse.active = 0; |
mouse | 172 | kernel/chr_drv/atixlmouse.c | mouse.ready = 0; |
mouse | 173 | kernel/chr_drv/atixlmouse.c | mouse.buttons = mouse.latch_buttons = 0; |
mouse | 174 | kernel/chr_drv/atixlmouse.c | mouse.dx = mouse.dy = 0; |
mouse | 175 | kernel/chr_drv/atixlmouse.c | mouse.wait = NULL; |
mouse | 34 | kernel/chr_drv/busmouse.c | static struct mouse_status mouse; |
mouse | 51 | kernel/chr_drv/busmouse.c | if (dx != 0 || dy != 0 || buttons != mouse.buttons) { |
mouse | 52 | kernel/chr_drv/busmouse.c | mouse.buttons = buttons; |
mouse | 53 | kernel/chr_drv/busmouse.c | mouse.dx += dx; |
mouse | 54 | kernel/chr_drv/busmouse.c | mouse.dy += dy; |
mouse | 55 | kernel/chr_drv/busmouse.c | mouse.ready = 1; |
mouse | 56 | kernel/chr_drv/busmouse.c | wake_up_interruptible(&mouse.wait); |
mouse | 64 | kernel/chr_drv/busmouse.c | mouse.active = 0; |
mouse | 65 | kernel/chr_drv/busmouse.c | mouse.ready = 0; |
mouse | 71 | kernel/chr_drv/busmouse.c | if (!mouse.present) |
mouse | 73 | kernel/chr_drv/busmouse.c | if (mouse.active) |
mouse | 75 | kernel/chr_drv/busmouse.c | mouse.active = 1; |
mouse | 76 | kernel/chr_drv/busmouse.c | mouse.ready = 0; |
mouse | 77 | kernel/chr_drv/busmouse.c | mouse.dx = 0; |
mouse | 78 | kernel/chr_drv/busmouse.c | mouse.dy = 0; |
mouse | 79 | kernel/chr_drv/busmouse.c | mouse.buttons = 0x87; |
mouse | 81 | kernel/chr_drv/busmouse.c | mouse.active = 0; |
mouse | 100 | kernel/chr_drv/busmouse.c | if (!mouse.ready) |
mouse | 103 | kernel/chr_drv/busmouse.c | put_fs_byte(mouse.buttons | 0x80, buffer); |
mouse | 104 | kernel/chr_drv/busmouse.c | if (mouse.dx < -127) |
mouse | 105 | kernel/chr_drv/busmouse.c | mouse.dx = -127; |
mouse | 106 | kernel/chr_drv/busmouse.c | if (mouse.dx > 127) |
mouse | 107 | kernel/chr_drv/busmouse.c | mouse.dx = 127; |
mouse | 108 | kernel/chr_drv/busmouse.c | put_fs_byte((char)mouse.dx, buffer + 1); |
mouse | 109 | kernel/chr_drv/busmouse.c | if (mouse.dy < -127) |
mouse | 110 | kernel/chr_drv/busmouse.c | mouse.dy = -127; |
mouse | 111 | kernel/chr_drv/busmouse.c | if (mouse.dy > 127) |
mouse | 112 | kernel/chr_drv/busmouse.c | mouse.dy = 127; |
mouse | 113 | kernel/chr_drv/busmouse.c | put_fs_byte((char) -mouse.dy, buffer + 2); |
mouse | 116 | kernel/chr_drv/busmouse.c | mouse.dx = 0; |
mouse | 117 | kernel/chr_drv/busmouse.c | mouse.dy = 0; |
mouse | 118 | kernel/chr_drv/busmouse.c | mouse.ready = 0; |
mouse | 127 | kernel/chr_drv/busmouse.c | if (mouse.ready) |
mouse | 129 | kernel/chr_drv/busmouse.c | select_wait(&mouse.wait, wait); |
mouse | 154 | kernel/chr_drv/busmouse.c | mouse.present = 0; |
mouse | 159 | kernel/chr_drv/busmouse.c | mouse.present = 1; |
mouse | 160 | kernel/chr_drv/busmouse.c | mouse.active = 0; |
mouse | 161 | kernel/chr_drv/busmouse.c | mouse.ready = 0; |
mouse | 162 | kernel/chr_drv/busmouse.c | mouse.buttons = 0x87; |
mouse | 163 | kernel/chr_drv/busmouse.c | mouse.dx = 0; |
mouse | 164 | kernel/chr_drv/busmouse.c | mouse.dy = 0; |
mouse | 165 | kernel/chr_drv/busmouse.c | mouse.wait = NULL; |
mouse | 37 | kernel/chr_drv/msbusmouse.c | static struct mouse_status mouse; |
mouse | 58 | kernel/chr_drv/msbusmouse.c | mouse.buttons = buttons; |
mouse | 59 | kernel/chr_drv/msbusmouse.c | mouse.latch_buttons |= buttons; |
mouse | 60 | kernel/chr_drv/msbusmouse.c | mouse.dx += dx; |
mouse | 61 | kernel/chr_drv/msbusmouse.c | mouse.dy += dy; |
mouse | 62 | kernel/chr_drv/msbusmouse.c | mouse.ready = 1; |
mouse | 63 | kernel/chr_drv/msbusmouse.c | wake_up_interruptible(&mouse.wait); |
mouse | 69 | kernel/chr_drv/msbusmouse.c | mouse.active = 0; |
mouse | 70 | kernel/chr_drv/msbusmouse.c | mouse.ready = 0; |
mouse | 76 | kernel/chr_drv/msbusmouse.c | if (!mouse.present) |
mouse | 78 | kernel/chr_drv/msbusmouse.c | if (mouse.active) |
mouse | 80 | kernel/chr_drv/msbusmouse.c | mouse.active = 1; |
mouse | 81 | kernel/chr_drv/msbusmouse.c | mouse.ready = 0; |
mouse | 82 | kernel/chr_drv/msbusmouse.c | mouse.dx = 0; |
mouse | 83 | kernel/chr_drv/msbusmouse.c | mouse.dy = 0; |
mouse | 84 | kernel/chr_drv/msbusmouse.c | mouse.buttons = mouse.latch_buttons = 0x80; |
mouse | 86 | kernel/chr_drv/msbusmouse.c | mouse.active = 0; |
mouse | 106 | kernel/chr_drv/msbusmouse.c | if (!mouse.ready) |
mouse | 108 | kernel/chr_drv/msbusmouse.c | put_fs_byte(mouse.latch_buttons | 0x80, buffer); |
mouse | 109 | kernel/chr_drv/msbusmouse.c | if (mouse.dx < -127) |
mouse | 110 | kernel/chr_drv/msbusmouse.c | mouse.dx = -127; |
mouse | 111 | kernel/chr_drv/msbusmouse.c | if (mouse.dx > 127) |
mouse | 112 | kernel/chr_drv/msbusmouse.c | mouse.dx = 127; |
mouse | 113 | kernel/chr_drv/msbusmouse.c | put_fs_byte((char)mouse.dx, buffer + 1); |
mouse | 114 | kernel/chr_drv/msbusmouse.c | if (mouse.dy < -127) |
mouse | 115 | kernel/chr_drv/msbusmouse.c | mouse.dy = -127; |
mouse | 116 | kernel/chr_drv/msbusmouse.c | if (mouse.dy > 127) |
mouse | 117 | kernel/chr_drv/msbusmouse.c | mouse.dy = 127; |
mouse | 118 | kernel/chr_drv/msbusmouse.c | put_fs_byte((char) -mouse.dy, buffer + 2); |
mouse | 121 | kernel/chr_drv/msbusmouse.c | mouse.dx = 0; |
mouse | 122 | kernel/chr_drv/msbusmouse.c | mouse.dy = 0; |
mouse | 123 | kernel/chr_drv/msbusmouse.c | mouse.latch_buttons = mouse.buttons; |
mouse | 124 | kernel/chr_drv/msbusmouse.c | mouse.ready = 0; |
mouse | 132 | kernel/chr_drv/msbusmouse.c | if (mouse.ready) |
mouse | 134 | kernel/chr_drv/msbusmouse.c | select_wait(&mouse.wait,wait); |
mouse | 157 | kernel/chr_drv/msbusmouse.c | mouse.present = 0; |
mouse | 158 | kernel/chr_drv/msbusmouse.c | mouse.active = mouse.ready = 0; |
mouse | 159 | kernel/chr_drv/msbusmouse.c | mouse.buttons = mouse.latch_buttons = 0x80; |
mouse | 160 | kernel/chr_drv/msbusmouse.c | mouse.dx = mouse.dy = 0; |
mouse | 161 | kernel/chr_drv/msbusmouse.c | mouse.wait = NULL; |
mouse | 188 | kernel/chr_drv/msbusmouse.c | mouse.present = 1; |