Home
last modified time | relevance | path

Searched refs:HIDState (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/hw/input/
H A Dhid.h19 typedef struct HIDState HIDState; typedef
20 typedef void (*HIDEventFunc)(HIDState *s);
35 struct HIDState { struct
51 void hid_init(HIDState *hs, int kind, HIDEventFunc event); argument
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);
[all …]
/openbmc/qemu/hw/input/
H A Dhid.c75 bool hid_has_events(HIDState *hs) in hid_has_events()
82 HIDState *hs = opaque; in hid_idle_timer()
96 void hid_set_next_idle(HIDState *hs) in hid_set_next_idle()
120 HIDState *hs = (HIDState *)dev; in hid_pointer_event()
170 HIDState *hs = (HIDState *)dev; in hid_pointer_sync()
231 HIDState *hs = (HIDState *)dev; in hid_keyboard_event()
485 void hid_reset(HIDState *hs) in hid_reset()
507 void hid_free(HIDState *hs) in hid_free()
553 HIDState *s = opaque; in hid_post_load()
602 VMSTATE_UINT32(n, HIDState),
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-hid.c42 HIDState hid;
561 static void usb_hid_changed(HIDState *hs) in usb_hid_changed()
579 HIDState *hs = &us->hid; in usb_hid_handle_control()
658 HIDState *hs = &us->hid; in usb_hid_handle_data()