Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 25 of 28) sorted by relevance

12

/qemu/hw/input/
H A Dadb-mouse.c43 int dx, dy, dz; member
73 s->dx += move->value; in adb_mouse_handle_event()
110 int dx, dy; in adb_mouse_poll() local
113 s->dx == 0 && s->dy == 0) { in adb_mouse_poll()
117 dx = s->dx; in adb_mouse_poll()
118 if (dx < -63) { in adb_mouse_poll()
119 dx = -63; in adb_mouse_poll()
120 } else if (dx > 63) { in adb_mouse_poll()
121 dx = 63; in adb_mouse_poll()
131 s->dx -= dx; in adb_mouse_poll()
[all …]
H A Dhid.c360 int dx, dy, dz, l; in hid_pointer_poll() local
374 dx = int_clamp(e->xdx, -127, 127); in hid_pointer_poll()
376 e->xdx -= dx; in hid_pointer_poll()
379 dx = e->xdx; in hid_pointer_poll()
402 buf[l++] = dx; in hid_pointer_poll()
417 buf[l++] = dx & 0xff; in hid_pointer_poll()
420 buf[l++] = dx >> 8; in hid_pointer_poll()
/qemu/pc-bios/optionrom/
H A Doptionrom.h63 mov $BIOS_CFG_IOPORT_CFG, %dx
64 outw %ax, (%dx)
65 mov $BIOS_CFG_IOPORT_DATA, %dx
66 inb (%dx), %al
68 inb (%dx), %al
70 inb (%dx), %al
72 inb (%dx), %al
89 mov $BIOS_CFG_DMA_ADDR_HIGH, %dx
90 outl %eax, (%dx)
103 mov $BIOS_CFG_DMA_ADDR_LOW, %dx
[all …]
H A Dlinuxboot.S106 xor %dx, %dx
112 or %dx, %dx
115 mov %bx, %dx
118 or %dx, %dx
126 addw $16777216 >> 16, %dx /* add 16 MB */
127 movzwl %dx, %edi
H A Dlinuxboot_dma.c100 uint16_t ax, bx, cx, dx; in get_e801_addr() local
104 : "=a"(ax), "=b"(bx), "=c"(cx), "=d"(dx) in get_e801_addr()
110 if (cx == 0 && dx == 0) { in get_e801_addr()
112 dx = bx; in get_e801_addr()
115 if (dx) { in get_e801_addr()
119 ret = ((uint32_t)dx + 256 /* 16M in 64K units */) << 16; in get_e801_addr()
/qemu/tests/tcg/i386/
H A Dtest-i386-vm86.S8 movw $GET_OFFSET(hello_world), %dx
23 movw $GET_OFFSET(IF_msg), %dx
28 popw %dx
34 popw %dx
45 movw $GET_OFFSET(IF_msg1), %dx
58 popw %dx
77 pop %dx
82 movw 4(%bx), %dx
86 movw $GET_OFFSET(int90_msg), %dx
/qemu/hw/usb/
H A Ddev-wacom.c46 int dx, dy, dz, buttons_state; member
196 s->dx += dx1; in usb_mouse_event()
230 int dx, dy, dz, b, l; in usb_mouse_poll() local
239 dx = int_clamp(s->dx, -128, 127); in usb_mouse_poll()
243 s->dx -= dx; in usb_mouse_poll()
256 buf[1] = dx; in usb_mouse_poll()
307 s->dx = 0; in usb_wacom_handle_reset()
/qemu/tests/qtest/migration/i386/
H A Da-b-bootblock.S59 mov $0x3f8,%dx
60 outb %al,%dx
86 mov $0x3f8,%dx
87 outb %al,%dx
108 mov $(ACPI_PM_BASE + PM1A_CNT_OFFSET),%dx
109 outw %ax,%dx
/qemu/ui/
H A Dtrace-events9 console_txt_new(int w, int h) "%dx%d"
12 displaysurface_create(int w, int h) "%dx%d"
13 displaysurface_create_from(void *display_surface, int w, int h, uint32_t format) "surface=%p, %dx%d…
46 …id *state, void *ioc, int width, int height) "VNC server msg ext resize state=%p ioc=%p size=%dx%d"
47 …int width, int height, int reason) "VNC server msg ext resize state=%p ioc=%p size=%dx%d reason=%d"
51 …, int height, int screens) "VNC client msg set desktop size state=%p ioc=%p size=%dx%d screens=%d"
65 vnc_server_dpy_pageflip(void *dpy, int w, int h, int fmt) "VNC server dpy pageflip dpy=%p size=%dx%…
66 vnc_server_dpy_recreate(void *dpy, int w, int h, int fmt) "VNC server dpy recreate dpy=%p size=%dx%…
67 …tate, void *job, int x, int y, int w, int h) "VNC add rect state=%p job=%p offset=%d,%d size=%dx%d"
68 …id *job, int x, int y, int w, int h) "VNC job discard rect state=%p job=%p offset=%d,%d size=%dx%d"
[all …]
H A Dvnc-enc-tight.c141 int x, y, d, dx; in tight_detect_smooth_image24() local
163 for (dx = 1; dx <= VNC_TIGHT_DETECT_SUBROW_WIDTH; dx++) { in tight_detect_smooth_image24()
165 pix = buf[((y+d)*w+x+d+dx)*4+off+c] & 0xFF; in tight_detect_smooth_image24()
212 int x, y, d, dx; \
243 for (dx = 1; dx <= VNC_TIGHT_DETECT_SUBROW_WIDTH; \
244 dx++) { \
245 pix = ((uint##bpp##_t *)buf)[(y+d)*w+x+d+dx]; \
682 int dx, dy; in check_solid_tile32() local
692 for (dx = 0; dx < w; dx++) { in check_solid_tile32()
693 if (c != fbptr[dx]) { in check_solid_tile32()
[all …]
H A Dsdl2.c304 static void sdl_send_mouse_event(struct sdl2_console *scon, int dx, int dy, in sdl_send_mouse_event() argument
332 dx = x; in sdl_send_mouse_event()
335 qemu_input_queue_rel(scon->dcl.con, INPUT_AXIS_X, dx); in sdl_send_mouse_event()
491 int scr_w, scr_h, surf_w, surf_h, x, y, dx, dy; in handle_mousemotion() local
516 dx = (int64_t)ev->motion.xrel * surf_w / scr_w; in handle_mousemotion()
519 sdl_send_mouse_event(scon, dx, dy, x, y, ev->motion.state); in handle_mousemotion()
H A Dspice-input.c143 static void mouse_motion(SpiceMouseInstance *sin, int dx, int dy, int dz, in mouse_motion() argument
148 qemu_input_queue_rel(NULL, INPUT_AXIS_X, dx); in mouse_motion()
H A Dui-hmp-cmds.c33 int dx, dy, dz, button; in hmp_mouse_move() local
38 dx = strtol(dx_str, NULL, 0); in hmp_mouse_move()
40 qemu_input_queue_rel(NULL, INPUT_AXIS_X, dx); in hmp_mouse_move()
H A Ddbus-console.c381 int dx, int dy) in dbus_mouse_rel_motion() argument
383 trace_dbus_mouse_rel_motion(dx, dy); in dbus_mouse_rel_motion()
393 qemu_input_queue_rel(ddc->dcl.con, INPUT_AXIS_X, dx); in dbus_mouse_rel_motion()
/qemu/chardev/
H A Dmsmouse.c94 int dx, dy, count = 3; in msmouse_queue_event() local
96 dx = mouse->axis[INPUT_AXIS_X]; in msmouse_queue_event()
103 bytes[0] |= (MSMOUSE_HI2(dy) << 2) | MSMOUSE_HI2(dx); in msmouse_queue_event()
104 bytes[1] |= MSMOUSE_LO6(dx); in msmouse_queue_event()
/qemu/include/ui/
H A Drect.h26 int16_t dx, int16_t dy) in qemu_rect_translate() argument
28 rect->x += dx; in qemu_rect_translate()
/qemu/hw/display/
H A Dartist.c497 int dx, dy, t, e, x, y, incy, diago, horiz; in draw_line() local
512 dx = x2 - x1; in draw_line()
514 dx = x1 - x2; in draw_line()
523 if (dy > dx) { in draw_line()
532 t = dx; in draw_line()
533 dx = dy; in draw_line()
550 diago = (dy - dx) << 1; in draw_line()
551 e = (dy << 1) - dx; in draw_line()
H A Dcirrus_vga.c733 int dx = 0, dy = 0; in cirrus_do_copy() local
752 dx = (dst % ABS(s->cirrus_blt_dstpitch)) / depth; in cirrus_do_copy()
763 dx -= (s->cirrus_blt_width / depth) - 1; in cirrus_do_copy()
769 if (sx >= 0 && sy >= 0 && dx >= 0 && dy >= 0 && in cirrus_do_copy()
771 (dx + w) <= width && (dy + h) <= height) { in cirrus_do_copy()
782 dpy_gfx_update(s->vga.con, dx, dy, in cirrus_do_copy()
H A Dtrace-events8 xenfb_mouse_event(void *opaque, int dx, int dy, int dz, int button_state, int abs_pointer_wanted) "…
23 vmware_setmode(uint32_t w, uint32_t h, uint32_t bpp) "%dx%d @ %d bpp"
123 …idth, int32_t height, int32_t stride, int32_t bytes_pp, int32_t bits_pp) "%dx%d, stride %d, bpp %d…
H A Dvmware_vga.c620 int x, y, dx, dy, width, height; in vmsvga_fifo_run() local
671 dx = vmsvga_fifo_read(s); in vmsvga_fifo_run()
676 if (vmsvga_copy_rect(s, x, y, dx, dy, width, height) == 0) { in vmsvga_fifo_run()
/qemu/tests/tcg/i386/system/
H A Dboot.S87 out %ax,%dx
/qemu/tests/tcg/x86_64/system/
H A Dboot.S135 out %ax,%dx
/qemu/hw/arm/
H A Dmusicpal.c143 int dx, dy; in set_lcd_pixel32() local
149 for (dx = 0; dx < 3; dx++, pixel++) { in set_lcd_pixel32()
/qemu/hw/char/
H A Dtrace-events53 escc_sunmouse_event(int dx, int dy, int buttons_state) "dx=%d dy=%d buttons=0x%01x"
/qemu/target/i386/emulate/
H A Dx86.h58 uint16_t dx; member

12