/qemu/hw/input/ |
H A D | hid.c | 75 bool hid_has_events(HIDState *hs) in hid_has_events() argument 77 return hs->n > 0 || hs->idle_pending; in hid_has_events() 82 HIDState *hs = opaque; in hid_idle_timer() local 84 hs->idle_pending = true; in hid_idle_timer() 85 hs->event(hs); in hid_idle_timer() 88 static void hid_del_idle_timer(HIDState *hs) in hid_del_idle_timer() argument 90 if (hs->idle_timer) { in hid_del_idle_timer() 91 timer_free(hs->idle_timer); in hid_del_idle_timer() 92 hs->idle_timer = NULL; in hid_del_idle_timer() 96 void hid_set_next_idle(HIDState *hs) in hid_set_next_idle() argument [all …]
|
H A D | virtio-input-hid.c | 188 vhid->hs = qemu_input_handler_register(dev, vhid->handler); in virtio_input_hid_realize() 189 if (vhid->display && vhid->hs) { in virtio_input_hid_realize() 190 qemu_input_handler_bind(vhid->hs, vhid->display, vhid->head, NULL); in virtio_input_hid_realize() 197 qemu_input_handler_unregister(vhid->hs); in virtio_input_hid_unrealize() 205 qemu_input_handler_activate(vhid->hs); in virtio_input_hid_change_active() 207 qemu_input_handler_deactivate(vhid->hs); in virtio_input_hid_change_active()
|
H A D | adb-mouse.c | 41 QemuInputHandlerState *hs; member 280 s->hs = qemu_input_handler_register(dev, &adb_mouse_handler); in adb_mouse_realizefn()
|
/qemu/include/hw/input/ |
H A D | hid.h | 51 void hid_init(HIDState *hs, int kind, HIDEventFunc event); 52 void hid_reset(HIDState *hs); 53 void hid_free(HIDState *hs); 55 bool hid_has_events(HIDState *hs); 56 void hid_set_next_idle(HIDState *hs); 57 void hid_pointer_activate(HIDState *hs); 58 int hid_pointer_poll(HIDState *hs, uint8_t *buf, int len); 59 int hid_keyboard_poll(HIDState *hs, uint8_t *buf, int len); 60 int hid_keyboard_write(HIDState *hs, uint8_t *buf, int len);
|
/qemu/hw/usb/ |
H A D | dev-hid.c | 561 static void usb_hid_changed(HIDState *hs) in usb_hid_changed() argument 563 USBHIDState *us = container_of(hs, USBHIDState, hid); in usb_hid_changed() 579 HIDState *hs = &us->hid; in usb_hid_handle_control() local 592 if (hs->kind == HID_MOUSE) { in usb_hid_handle_control() 596 } else if (hs->kind == HID_TABLET) { in usb_hid_handle_control() 600 } else if (hs->kind == HID_KEYBOARD) { in usb_hid_handle_control() 611 if (hs->kind == HID_MOUSE || hs->kind == HID_TABLET) { in usb_hid_handle_control() 612 p->actual_length = hid_pointer_poll(hs, data, length); in usb_hid_handle_control() 613 } else if (hs->kind == HID_KEYBOARD) { in usb_hid_handle_control() 614 p->actual_length = hid_keyboard_poll(hs, data, length); in usb_hid_handle_control() [all …]
|
H A D | hcd-dwc2.c | 554 /* tks = number of ns since SOF, divided by 83 (fs) or 10 (hs) */ in dwc2_get_frame_remaining()
|
/qemu/chardev/ |
H A D | msmouse.c | 60 QemuInputHandlerState *hs; member 250 if (mouse->hs) { in char_msmouse_finalize() 251 qemu_input_handler_unregister(mouse->hs); in char_msmouse_finalize() 264 mouse->hs = qemu_input_handler_register((DeviceState *)mouse, in msmouse_chr_open()
|
H A D | wctablet.c | 70 QemuInputHandlerState *hs; member 322 if (tablet->hs) { in wctablet_chr_finalize() 323 qemu_input_handler_unregister(tablet->hs); in wctablet_chr_finalize() 341 tablet->hs = qemu_input_handler_register((DeviceState *)tablet, in wctablet_chr_open()
|
/qemu/target/riscv/insn_trans/ |
H A D | trans_rvi.c.inc | 706 TCGv hs = tcg_temp_new(); 713 tcg_gen_andi_tl(hs, shamt, 64); 724 tcg_gen_movcond_tl(TCG_COND_NE, destl, hs, zero, zero, ll); 725 tcg_gen_movcond_tl(TCG_COND_NE, desth, hs, zero, ll, h1); 748 TCGv hs = tcg_temp_new(); 755 tcg_gen_andi_tl(hs, shamt, 64); 766 tcg_gen_movcond_tl(TCG_COND_NE, destl, hs, zero, h1, h0); 767 tcg_gen_movcond_tl(TCG_COND_NE, desth, hs, zero, zero, h1); 780 TCGv hs = tcg_temp_new(); 787 tcg_gen_andi_tl(hs, shamt, 64); [all …]
|
/qemu/target/i386/whpx/ |
H A D | whpx-all.c | 263 WHV_X64_SEGMENT_REGISTER hs; in whpx_seg_q2h() local 266 hs.Base = qs->base; in whpx_seg_q2h() 267 hs.Limit = qs->limit; in whpx_seg_q2h() 268 hs.Selector = qs->selector; in whpx_seg_q2h() 271 hs.Attributes = 0; in whpx_seg_q2h() 272 hs.SegmentType = 3; in whpx_seg_q2h() 273 hs.Present = 1; in whpx_seg_q2h() 274 hs.DescriptorPrivilegeLevel = 3; in whpx_seg_q2h() 275 hs.NonSystemSegment = 1; in whpx_seg_q2h() 278 hs.Attributes = (flags >> DESC_TYPE_SHIFT); in whpx_seg_q2h() [all …]
|
/qemu/hw/uefi/ |
H A D | var-service-siglist.c | 71 uefi_vars_hash *h, *hs; in uefi_vars_siglist_free() local 77 QTAILQ_FOREACH_SAFE(h, &siglist->sha256, next, hs) { in uefi_vars_siglist_free()
|
/qemu/include/hw/char/ |
H A D | escc.h | 47 QemuInputHandlerState *hs; member
|
/qemu/target/riscv/ |
H A D | cpu_helper.c | 238 * The HS-mode is allowed to configure priority only for the 423 * using hvip bits 13:63 from HS-mode. Those are returned in 514 /* Check HS-mode interrupts */ in riscv_cpu_local_irq_pending() 1145 * - Execute HLV/HLVX/HSV from HS-mode + hstatus.SPVP=0. in do_svukte_check() 1220 * forced a two stage translation to be on (in HS or M mode). in get_physical_address() 1500 * Setting MXR at HS-level overrides both VS-stage and G-stage in get_physical_address() 1834 * Guest physical address translation failed, this is a HS in riscv_cpu_tlb_fill() 2298 /* In VS or HS */ in riscv_cpu_do_interrupt() 2304 /* VS -> HS, use mstatus_hs */ in riscv_cpu_do_interrupt() 2326 * no if hypervisor has delegated one of hs mode's interrupt in riscv_cpu_do_interrupt() [all …]
|
H A D | op_helper.c | 309 /* Returning to VU from HS, vsstatus.sdt = 0 */ in helper_sret()
|
H A D | cpu.h | 379 /* HS Backup CSRs */
|
/qemu/include/hw/virtio/ |
H A D | virtio-input.h | 90 QemuInputHandlerState *hs; member
|
/qemu/target/arm/tcg/ |
H A D | sve_ldst_internal.h | 106 DO_ST_PRIM_2(hs, H1_4, uint32_t, uint16_t, stw)
|
H A D | vec_helper.c | 701 int64_t hs = int128_gethi(r); in do_sat128_d() local 703 if (unlikely(hs != (ls >> 63))) { in do_sat128_d() 704 return hs < 0 ? INT64_MIN : INT64_MAX; in do_sat128_d()
|
/qemu/hw/arm/ |
H A D | msf2-soc.c | 218 create_unimplemented_device("hs-dma", 0x40014000, 0x1000); in m2sxxx_soc_realize()
|
H A D | stm32f405_soc.c | 295 create_unimplemented_device("USB OTG HS", 0x40040000, 0x30000); in stm32f405_soc_realize()
|
H A D | exynos4210.c | 756 * we used the "HS-MMC Controller S3C2416X RISC Microprocessor" in exynos4210_realize()
|
/qemu/tests/image-fuzzer/ |
H A D | runner.py | 355 opts, args = getopt.gnu_getopt(sys.argv[1:], 'c:hs:kvd:',
|
/qemu/hw/char/ |
H A D | escc.c | 1083 s->chn[0].hs = qemu_input_handler_register((DeviceState *)(&s->chn[0]), in escc_realize() 1087 s->chn[1].hs = qemu_input_handler_register((DeviceState *)(&s->chn[1]), in escc_realize()
|
/qemu/hw/ide/ |
H A D | ide-internal.h | 23 #define ATA_DEV_HS 0x0F /* HS 3:0 */
|
/qemu/include/hw/usb/ |
H A D | dwc2-regs.h | 7 * hw.h - DesignWare HS OTG Controller hardware definitions
|