tag | line | file | source code |
dx | 247 | drivers/char/apm_bios.c | #define APM_GET_POWER_STATUS(bx, cx, dx, error) \ |
dx | 249 | drivers/char/apm_bios.c | : "=a" (error), "=b" (bx), "=c" (cx), "=d" (dx) \ |
dx | 922 | drivers/char/apm_bios.c | unsigned short dx; |
dx | 936 | drivers/char/apm_bios.c | if (!(error = apm_get_power_status(&bx, &cx, &dx))) { |
dx | 944 | drivers/char/apm_bios.c | if (dx != 0xffff) { |
dx | 945 | drivers/char/apm_bios.c | if ((dx & 0x8000) == 0x8000) { |
dx | 947 | drivers/char/apm_bios.c | time_units = dx & 0x7ffe; |
dx | 950 | drivers/char/apm_bios.c | time_units = dx & 0x7fff; |
dx | 1012 | drivers/char/apm_bios.c | unsigned short dx; |
dx | 1084 | drivers/char/apm_bios.c | error = apm_get_power_status(&bx, &cx, &dx); |
dx | 1110 | drivers/char/apm_bios.c | if (dx == 0xffff) |
dx | 1113 | drivers/char/apm_bios.c | if ((dx & 0x8000)) |
dx | 1114 | drivers/char/apm_bios.c | printk("%d minutes\n", dx & 0x7ffe ); |
dx | 1116 | drivers/char/apm_bios.c | printk("%d seconds\n", dx & 0x7fff ); |
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 | 92 | include/linux/busmouse.h | int dx; |