tag | line | file | source code |
dx | 224 | drivers/char/apm_bios.c | #define APM_GET_POWER_STATUS(bx, cx, dx, error) \ |
dx | 226 | drivers/char/apm_bios.c | : "=a" (error), "=b" (bx), "=c" (cx), "=d" (dx) \ |
dx | 889 | drivers/char/apm_bios.c | unsigned short dx; |
dx | 908 | drivers/char/apm_bios.c | error = apm_get_power_status(&bx, &cx, &dx); |
dx | 938 | drivers/char/apm_bios.c | if (dx == 0xffff) { |
dx | 943 | drivers/char/apm_bios.c | p += sprintf(p, "%d %s", dx & 0x7fff, |
dx | 944 | drivers/char/apm_bios.c | ((dx & 0x8000) == 0) |
dx | 955 | drivers/char/apm_bios.c | unsigned short dx; |
dx | 1022 | drivers/char/apm_bios.c | error = apm_get_power_status(&bx, &cx, &dx); |
dx | 1048 | drivers/char/apm_bios.c | if (dx == 0xffff) |
dx | 1051 | drivers/char/apm_bios.c | printk("%d %s\n", dx & 0x7fff, |
dx | 1052 | drivers/char/apm_bios.c | ((dx & 0x8000) == 0) |
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 | 70 | drivers/char/busmouse.c | dx = (inb(MSE_DATA_PORT) & 0xf); |
dx | 72 | drivers/char/busmouse.c | dx |= (inb(MSE_DATA_PORT) & 0xf) << 4; |
dx | 79 | drivers/char/busmouse.c | if (dx != 0 || dy != 0 || buttons != mouse.buttons) { |
dx | 80 | drivers/char/busmouse.c | add_mouse_randomness((buttons << 16) + (dy << 8) + dx); |
dx | 82 | drivers/char/busmouse.c | mouse.dx += dx; |
dx | 92 | drivers/char/busmouse.c | if (mouse.dx < -2048) |
dx | 93 | drivers/char/busmouse.c | mouse.dx = -2048; |
dx | 94 | drivers/char/busmouse.c | if (mouse.dx > 2048) |
dx | 95 | drivers/char/busmouse.c | mouse.dx = 2048; |
dx | 147 | drivers/char/busmouse.c | mouse.dx = 0; |
dx | 171 | drivers/char/busmouse.c | int dx; |
dx | 190 | drivers/char/busmouse.c | dx = mouse.dx; |
dx | 192 | drivers/char/busmouse.c | if (dx < -127) |
dx | 193 | drivers/char/busmouse.c | dx = -127; |
dx | 194 | drivers/char/busmouse.c | if (dx > 127) |
dx | 195 | drivers/char/busmouse.c | dx = 127; |
dx | 201 | drivers/char/busmouse.c | mouse.dx -= dx; |
dx | 207 | drivers/char/busmouse.c | put_user((char)dx, buffer + 1); |
dx | 268 | 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 | 92 | include/linux/busmouse.h | int dx; |