Searched hist:"108 cb22e4837a36bc22959a612f8bb50471139f6" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/include/hw/input/ |
H A D | ps2.h | diff 108cb22e4837a36bc22959a612f8bb50471139f6 Fri Jun 24 08:40:23 CDT 2022 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> ps2: implement ps2_reset() for the PS2_DEVICE QOM type based upon ps2_common_reset()
The functionality of ps2_common_reset() can be moved into a new ps2_reset() function for the PS2_DEVICE QOM type. Update PS2DeviceClass to hold a reference to the parent reset function and update the PS2_KBD_DEVICE and PS2_MOUSE_DEVICE types to use device_class_set_parent_reset() accordingly.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Helge Deller <deller@gmx.de> Message-Id: <20220624134109.881989-9-mark.cave-ayland@ilande.co.uk>
|
/openbmc/qemu/hw/input/ |
H A D | ps2.c | diff 108cb22e4837a36bc22959a612f8bb50471139f6 Fri Jun 24 08:40:23 CDT 2022 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> ps2: implement ps2_reset() for the PS2_DEVICE QOM type based upon ps2_common_reset()
The functionality of ps2_common_reset() can be moved into a new ps2_reset() function for the PS2_DEVICE QOM type. Update PS2DeviceClass to hold a reference to the parent reset function and update the PS2_KBD_DEVICE and PS2_MOUSE_DEVICE types to use device_class_set_parent_reset() accordingly.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Helge Deller <deller@gmx.de> Message-Id: <20220624134109.881989-9-mark.cave-ayland@ilande.co.uk>
|