Home
last modified time | relevance | path

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

/external/qemu/hw/
Dps2.c94 int scancode_set; /* 1=XT, 2=AT, 3=PS/2 */ member
147 if (!s->translate && keycode < 0xe0 && s->scancode_set == 2) in ps2_put_keycode()
187 s->scancode_set = 2; in ps2_reset_keyboard()
248 if (s->scancode_set == 1) in ps2_write_keyboard()
250 else if (s->scancode_set == 2) in ps2_write_keyboard()
252 else if (s->scancode_set == 3) in ps2_write_keyboard()
256 s->scancode_set = val; in ps2_write_keyboard()
528 qemu_put_be32(f, s->scancode_set); in ps2_kbd_save()
559 s->scancode_set=qemu_get_be32(f); in ps2_kbd_load()
561 s->scancode_set=2; in ps2_kbd_load()
[all …]