Lines Matching refs:PS2MouseState
695 static int ps2_mouse_send_packet(PS2MouseState *s) in ps2_mouse_send_packet()
799 PS2MouseState *s = (PS2MouseState *)dev; in ps2_mouse_event()
846 PS2MouseState *s = (PS2MouseState *)dev; in ps2_mouse_sync()
870 void ps2_mouse_fake_event(PS2MouseState *s) in ps2_mouse_fake_event()
877 void ps2_write_mouse(PS2MouseState *s, int val) in ps2_write_mouse()
1071 PS2MouseState *s = PS2_MOUSE_DEVICE(obj); in ps2_mouse_reset_hold()
1204 PS2MouseState *s = (PS2MouseState *)opaque; in ps2_mouse_post_load()
1218 VMSTATE_STRUCT(parent_obj, PS2MouseState, 0, vmstate_ps2_common,
1220 VMSTATE_UINT8(mouse_status, PS2MouseState),
1221 VMSTATE_UINT8(mouse_resolution, PS2MouseState),
1222 VMSTATE_UINT8(mouse_sample_rate, PS2MouseState),
1223 VMSTATE_UINT8(mouse_wrap, PS2MouseState),
1224 VMSTATE_UINT8(mouse_type, PS2MouseState),
1225 VMSTATE_UINT8(mouse_detect_state, PS2MouseState),
1226 VMSTATE_INT32(mouse_dx, PS2MouseState),
1227 VMSTATE_INT32(mouse_dy, PS2MouseState),
1228 VMSTATE_INT32(mouse_dz, PS2MouseState),
1229 VMSTATE_UINT8(mouse_buttons, PS2MouseState),
1291 .instance_size = sizeof(PS2MouseState),