Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/qemu/hw/input/
H A Dadb-mouse.c43 int dx, dy, dz; member
75 s->dy += 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()
124 dy = s->dy; in adb_mouse_poll()
125 if (dy < -63) { in adb_mouse_poll()
126 dy = -63; in adb_mouse_poll()
127 } else if (dy > 63) { in adb_mouse_poll()
128 dy = 63; in adb_mouse_poll()
132 s->dy -= dy; in adb_mouse_poll()
[all …]
H A Dhid.c360 int dx, dy, dz, l; in hid_pointer_poll() local
375 dy = int_clamp(e->ydy, -127, 127); in hid_pointer_poll()
377 e->ydy -= dy; in hid_pointer_poll()
380 dy = e->ydy; in hid_pointer_poll()
405 buf[l++] = dy; in hid_pointer_poll()
423 buf[l++] = dy & 0xff; in hid_pointer_poll()
426 buf[l++] = dy >> 8; in hid_pointer_poll()
/openbmc/u-boot/lib/efi_loader/
H A Defi_gop.c89 efi_uintn_t dy, in gop_blt_int() argument
134 dy + height > gopobj->info.height) in gop_blt_int()
173 dlineoff = dwidth * dy; in gop_blt_int()
258 efi_uintn_t dy, efi_uintn_t width, in gop_blt_video_fill() argument
263 dy, width, height, delta, vid_bpp); in gop_blt_video_fill()
270 efi_uintn_t dy, efi_uintn_t width, in gop_blt_buf_to_vid16() argument
274 dy, width, height, delta, 16); in gop_blt_buf_to_vid16()
281 efi_uintn_t dy, efi_uintn_t width, in gop_blt_buf_to_vid32() argument
285 dy, width, height, delta, 32); in gop_blt_buf_to_vid32()
292 efi_uintn_t dy, efi_uintn_t width, in gop_blt_vid_to_vid() argument
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-wacom.c46 int dx, dy, dz, buttons_state; member
197 s->dy += dy1; in usb_mouse_event()
230 int dx, dy, dz, b, l; in usb_mouse_poll() local
240 dy = int_clamp(s->dy, -128, 127); in usb_mouse_poll()
244 s->dy -= dy; in usb_mouse_poll()
257 buf[2] = dy; in usb_mouse_poll()
308 s->dy = 0; in usb_wacom_handle_reset()
/openbmc/qemu/ui/
H A Dvnc-enc-tight.c687 int dx, dy; in check_solid_tile32() local
696 for (dy = 0; dy < h; dy++) { in check_solid_tile32()
720 int dx, dy, dw, dh; in find_best_solid_area() local
726 for (dy = y; dy < y + h; dy += VNC_TIGHT_MAX_SPLIT_TILE_SIZE) { in find_best_solid_area()
728 dh = MIN(VNC_TIGHT_MAX_SPLIT_TILE_SIZE, y + h - dy); in find_best_solid_area()
731 if (!check_solid_tile(vs, x, dy, dw, dh, &color, true)) { in find_best_solid_area()
738 if (!check_solid_tile(vs, dx, dy, dw, dh, &color, true)) { in find_best_solid_area()
745 if (w_prev * (dy + dh - y) > w_best * h_best) { in find_best_solid_area()
747 h_best = dy + dh - y; in find_best_solid_area()
1208 int dy; in send_jpeg_rect() local
[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
333 dy = y; in sdl_send_mouse_event()
336 qemu_input_queue_rel(scon->dcl.con, INPUT_AXIS_Y, dy); in sdl_send_mouse_event()
491 int scr_w, scr_h, surf_w, surf_h, x, y, dx, dy; in handle_mousemotion() local
517 dy = (int64_t)ev->motion.yrel * surf_h / scr_h; 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
149 qemu_input_queue_rel(NULL, INPUT_AXIS_Y, dy); in mouse_motion()
H A Dui-hmp-cmds.c33 int dx, dy, dz, button; in hmp_mouse_move() local
39 dy = strtol(dy_str, NULL, 0); in hmp_mouse_move()
41 qemu_input_queue_rel(NULL, INPUT_AXIS_Y, dy); 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()
394 qemu_input_queue_rel(ddc->dcl.con, INPUT_AXIS_Y, dy); in dbus_mouse_rel_motion()
H A Dtrace-events171 dbus_mouse_rel_motion(int dx, int dy) "dx=%d, dy=%d"
/openbmc/qemu/include/ui/
H A Drect.h26 int16_t dx, int16_t dy) in qemu_rect_translate() argument
29 rect->y += dy; in qemu_rect_translate()
H A Dconsole.h67 typedef void QEMUPutMouseEvent(void *opaque, int dx, int dy, int dz, int buttons_state);
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_bitblt.c40 efi_uintn_t dy = y1 - y0 + 1; in ellipse() local
42 if (dy * dy * (2 * x - xm) * (2 * x - xm) + in ellipse()
43 dx * dx * (2 * y - ym) * (2 * y - ym) <= dx * dx * dy * dy) in ellipse()
/openbmc/openbmc-tools/dbus-vis/
H A Dtimeline_view.js884 const dy = (dy0+dy1) / 2;
897 ctx.fillRect(0, dy-LINE_HEIGHT/2, x0, LINE_HEIGHT);
916 ctx.fillText(title_text, LEFT_MARGIN - LINE_HEIGHT, dy);
924 ctx.fillRect(0, dy-LINE_HEIGHT/2, x0, LINE_HEIGHT);
929 ctx.lineTo(x0 + LINE_HEIGHT/2, dy);
945 ctx.fillText(title_text, LEFT_MARGIN - LINE_HEIGHT, dy);
1089 let dy = YBEGIN + LINE_SPACING * this.MouseState.hoveredVisibleLineIndex -
1091 ctx.fillRect(0, dy, RIGHT_MARGIN, LINE_SPACING);
1764 let dy = this.MouseState.y + DELTA_Y;
1765 if (dy + h > height) {
[all …]
/openbmc/qemu/chardev/
H A Dmsmouse.c94 int dx, dy, count = 3; in msmouse_queue_event() local
99 dy = mouse->axis[INPUT_AXIS_Y]; in msmouse_queue_event()
103 bytes[0] |= (MSMOUSE_HI2(dy) << 2) | MSMOUSE_HI2(dx); in msmouse_queue_event()
105 bytes[2] |= MSMOUSE_LO6(dy); in msmouse_queue_event()
/openbmc/u-boot/include/linux/
H A Dfb.h205 __u32 dy; member
214 __u32 dy; member
223 __u32 dy; member
348 __u32 dy; member
/openbmc/qemu/hw/display/
H A Dg364fb.c192 int dy; in g364fb_draw_graphic8() local
202 dy = x / s->width; in g364fb_draw_graphic8()
204 y += dy; in g364fb_draw_graphic8()
206 data_display += dy * surface_stride(surface); in g364fb_draw_graphic8()
H A Dartist.c498 int dx, dy, t, e, x, y, incy, diago, horiz; in draw_line() local
518 dy = y2 - y1; in draw_line()
520 dy = y1 - y2; in draw_line()
524 if (dy > dx) { in draw_line()
534 dx = dy; in draw_line()
535 dy = t; in draw_line()
550 horiz = dy << 1; in draw_line()
551 diago = (dy - dx) << 1; in draw_line()
552 e = (dy << 1) - dx; in draw_line()
H A Dcirrus_vga.c733 int dx = 0, dy = 0; in cirrus_do_copy() local
753 dy = (dst / ABS(s->cirrus_blt_dstpitch)); in cirrus_do_copy()
765 dy -= s->cirrus_blt_height - 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 Dvmware_vga.c620 int x, y, dx, dy, width, height; in vmsvga_fifo_run() local
672 dy = 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()
/openbmc/bmcweb/redfish-core/include/utils/extern/
H A Ddate.h573 CONSTCD14 year_month& operator+=(const years& dy) NOEXCEPT;
574 CONSTCD14 year_month& operator-=(const years& dy) NOEXCEPT;
594 CONSTCD11 year_month operator+(const year_month& ym, const years& dy) NOEXCEPT;
595 CONSTCD11 year_month operator+(const years& dy, const year_month& ym) NOEXCEPT;
596 CONSTCD11 year_month operator-(const year_month& ym, const years& dy) NOEXCEPT;
753 CONSTCD11 year_month_day operator+(const year_month_day& ymd, const years& dy) NOEXCEPT;
754 CONSTCD11 year_month_day operator+(const years& dy, const year_month_day& ymd) NOEXCEPT;
755 CONSTCD11 year_month_day operator-(const year_month_day& ymd, const years& dy) NOEXCEPT;
814 operator+(const year_month_day_last& ymdl, const years& dy) NOEXCEPT;
818 operator+(const years& dy, const year_month_day_last& ymdl) NOEXCEPT;
[all …]
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h1318 stbtt_int16 dy = *points++; in stbtt_GetGlyphShape() local
1319 y += (flags & 32) ? dy : -dy; // ??? in stbtt_GetGlyphShape()
1928 float dy = e->fdy; in stbtt__fill_active_edges_new() local
1972 dy = -dy; in stbtt__fill_active_edges_new()
1979 y_crossing = (x1+1 - x0) * dy + y_top; in stbtt__fill_active_edges_new()
1987 step = sign * dy; in stbtt__fill_active_edges_new()
1992 y_crossing += dy * (x2 - (x1+1)); in stbtt__fill_active_edges_new()
2320 float dy = (y0+y2)/2 - my; in stbtt__tesselate_curve() local
2323 …if (dx*dx+dy*dy > objspace_flatness_squared) { // half-pixel error allowed... need to be smaller i… in stbtt__tesselate_curve()
/openbmc/u-boot/arch/arm/dts/
H A Dsun8i-a33-sinlinx-sina33.dts65 compatible = "netron-dy,e231732";
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/
H A D0002-wayland-Add-support-for-the-Wayland-winsys.patch1458 + int dy;
1491 + int dx, int dy)
1496 + egl_window->dy == dy)
1502 + egl_window->dy = dy;
/openbmc/u-boot/include/
H A Defi_api.h1169 efi_uintn_t dy, efi_uintn_t width,

12