Home
last modified time | relevance | path

Searched full:ps2 (Results 1 – 25 of 115) sorted by relevance

12345

/openbmc/linux/Documentation/devicetree/bindings/serio/
H A Dallwinner,sun4i-a10-ps2.yaml4 $id: http://devicetree.org/schemas/serio/allwinner,sun4i-a10-ps2.yaml#
7 title: Allwinner A10 PS2 Host Controller
14 A20 PS2 is dual role controller (PS2 host and PS2 device). These
15 bindings for PS2 A10/A20 host controller. IBM compliant IBM PS2 and
20 const: allwinner,sun4i-a10-ps2
44 ps20: ps2@1c2a000 {
45 compatible = "allwinner,sun4i-a10-ps2";
H A Dps2-gpio.yaml4 $id: http://devicetree.org/schemas/serio/ps2-gpio.yaml#
14 const: ps2-gpio
57 ps2 {
58 compatible = "ps2-gpio";
H A Daltera_ps2.txt4 - compatible : should be "ALTR,ps2-1.0". <DEPRECATED>
5 - compatible : should be "altr,ps2-1.0".
H A Darm,pl050.yaml13 The Arm PrimeCell PS2 Keyboard/Mouse Interface (KMI) is an AMBA compliant
15 is IBM PS2 or AT compatible.
/openbmc/qemu/hw/input/
H A Dps2.c29 #include "hw/input/ps2.h"
422 "ps2: ignoring key with qcode %d\n", qcode); in ps2_keyboard_event()
520 "ps2: ignoring key with qcode %d\n", qcode); in ps2_keyboard_event()
535 "ps2: ignoring key with qcode %d\n", qcode); in ps2_keyboard_event()
587 PS2State *ps2 = PS2_DEVICE(s); in ps2_reset_keyboard() local
592 ps2_reset_queue(ps2); in ps2_reset_keyboard()
598 PS2State *ps2 = PS2_DEVICE(s); in ps2_write_keyboard() local
601 ps2_cqueue_reset(ps2); in ps2_write_keyboard()
602 switch (ps2->write_cmd) { in ps2_write_keyboard()
607 ps2_cqueue_1(ps2, KBD_REPLY_ACK); in ps2_write_keyboard()
[all …]
H A DKconfig6 select PS2
11 select PS2
13 config PS2 config
35 select PS2
H A Dpl050.c13 * + Named GPIO input "ps2-input-irq": set to 1 if the downstream PS2 device
21 #include "hw/input/ps2.h"
157 qdev_get_gpio_in_named(dev, "ps2-input-irq", 0)); in pl050_realize()
249 qdev_init_gpio_in_named(DEVICE(obj), pl050_set_irq, "ps2-input-irq", 1); in pl050_init()
H A Dpckbd.c33 #include "hw/input/ps2.h"
712 qdev_get_gpio_in_named(dev, "ps2-kbd-input-irq", in i8042_mmio_realize()
716 qdev_get_gpio_in_named(dev, "ps2-mouse-input-irq", in i8042_mmio_realize()
733 "ps2-kbd-input-irq", 1); in i8042_mmio_init()
735 "ps2-mouse-input-irq", 1); in i8042_mmio_init()
853 "ps2-kbd-input-irq", 1); in i8042_initfn()
855 "ps2-mouse-input-irq", 1); in i8042_initfn()
887 qdev_get_gpio_in_named(dev, "ps2-kbd-input-irq", in i8042_realizefn()
895 qdev_get_gpio_in_named(dev, "ps2-mouse-input-irq", in i8042_realizefn()
/openbmc/qemu/include/hw/input/
H A Di8042.h13 #include "hw/input/ps2.h"
45 * + Named GPIO input "ps2-kbd-input-irq": set to 1 if the downstream PS2
47 * + Named GPIO input "ps2-mouse-input-irq": set to 1 if the downstream PS2
70 * + Named GPIO input "ps2-kbd-input-irq": set to 1 if the downstream PS2
72 * + Named GPIO input "ps2-mouse-input-irq": set to 1 if the downstream PS2
H A Dlasips2.h10 * + sysbus MMIO region 0: MemoryRegion defining the LASI PS2 keyboard
12 * + sysbus MMIO region 1: MemoryRegion defining the LASI PS2 mouse
14 * + sysbus IRQ 0: LASI PS2 output irq
24 #include "hw/input/ps2.h"
H A Dps2.h64 #define TYPE_PS2_DEVICE "ps2-device"
78 #define TYPE_PS2_KBD_DEVICE "ps2-kbd"
88 uint8_t mouse_type; /* 0 = PS2, 3 = IMPS/2, 4 = IMEX */
97 #define TYPE_PS2_MOUSE_DEVICE "ps2-mouse"
100 /* ps2.c */
/openbmc/linux/drivers/input/serio/
H A Dsun4i-ps2.c3 * Driver for Allwinner A10 PS2 host controller
19 #define DRIVER_NAME "sun4i-ps2"
22 #define PS2_REG_GCTL 0x00 /* PS2 Module Global Control Reg */
23 #define PS2_REG_DATA 0x04 /* PS2 Module Data Reg */
24 #define PS2_REG_LCTL 0x08 /* PS2 Module Line Control Reg */
25 #define PS2_REG_LSTS 0x0C /* PS2 Module Line Status Reg */
26 #define PS2_REG_FCTL 0x10 /* PS2 Module FIFO Control Reg */
27 #define PS2_REG_FSTS 0x14 /* PS2 Module FIFO Status Reg */
28 #define PS2_REG_CLKDR 0x18 /* PS2 Module Clock Divider Reg*/
30 /* PS2 GLOBAL CONTROL REGISTER PS2_GCTL */
[all …]
H A Daltera_ps2.c3 * Altera University Program PS2 controller driver
28 * Read all bytes waiting in the PS2 port. There should be
46 * Write a byte to the PS2 port.
139 { .compatible = "ALTR,ps2-1.0", },
140 { .compatible = "altr,ps2-1.0", },
159 MODULE_DESCRIPTION("Altera University Program PS2 controller driver");
H A Dmaceps2.c3 * SGI O2 MACE PS2 controller driver for linux
25 MODULE_DESCRIPTION("SGI O2 MACE PS2 controller driver");
89 if (request_irq(data->irq, maceps2_interrupt, 0, "PS2 port", dev)) { in maceps2_open()
181 port_data[0].port = &mace->perif.ps2.keyb; in maceps2_init()
183 port_data[1].port = &mace->perif.ps2.mouse; in maceps2_init()
H A Dsa1111ps2.c57 * Read all bytes waiting in the PS2 port. There should be
88 * Completion of ps2 write
110 * Write a byte to the PS2 port. We have to wait for the
293 * Request the physical region for this PS2 port. in ps2_probe()
363 .name = "sa1111-ps2",
385 MODULE_DESCRIPTION("SA1111 PS2 controller driver");
H A Dxilinx_ps2.c80 * @drvdata: pointer to ps2 device private data structure
214 /* Disable the PS2 interrupts */ in sxps2_close()
290 * Reset the PS2 device and abort any current transaction, in xps2_of_probe()
291 * to make sure we have the PS2 in a good state. in xps2_of_probe()
295 dev_info(dev, "Xilinx PS2 at 0x%08llX mapped to 0x%p, irq=%d\n", in xps2_of_probe()
353 { .compatible = "xlnx,xps-ps2-1.00.a", },
H A DMakefile33 obj-$(CONFIG_SERIO_SUN4I_PS2) += sun4i-ps2.o
34 obj-$(CONFIG_SERIO_GPIO_PS2) += ps2-gpio.o
/openbmc/linux/drivers/input/
H A Dmousedev.c104 u8 ps2[6]; member
631 client->ps2[0] = 0xfa; /* ACK */ in mousedev_generate_response()
636 mousedev_packet(client, &client->ps2[1]); in mousedev_generate_response()
643 client->ps2[1] = 0; in mousedev_generate_response()
646 client->ps2[1] = 3; in mousedev_generate_response()
649 client->ps2[1] = 4; in mousedev_generate_response()
656 client->ps2[1] = 0x60; client->ps2[2] = 3; client->ps2[3] = 200; in mousedev_generate_response()
663 client->ps2[1] = 0xaa; client->ps2[2] = 0x00; in mousedev_generate_response()
721 u8 data[sizeof(client->ps2)]; in mousedev_read()
739 mousedev_packet(client, client->ps2); in mousedev_read()
[all …]
/openbmc/linux/arch/mips/txx9/rbtx4927/
H A Dirq.c31 * I8259A_IRQ_BASE+01 PS2/Keyboard
42 * I8259A_IRQ_BASE+12 PS2/Mouse (not supported at this time)
105 * SuperIO/PS2/Keyboard, using INTR via ISA IRQ1
106 * SuperIO/PS2/Mouse, using INTR via ISA IRQ12 (mouse not currently supported)
/openbmc/linux/arch/arc/boot/dts/
H A Dvdk_axs10x_mb.dtsi93 /* VDK has additional ps2 keyboard/mouse interface integrated in LCD screen model */
94 ps2: ps2@e0017400 { label
H A Dnsimosci.dts71 ps2: ps2@f9001000 { label
H A Dnsimosci_hs.dts71 ps2: ps2@f9001000 { label
/openbmc/linux/drivers/staging/nvec/
H A DKconfig24 tristate "PS2 on nVidia EC"
31 called serio-nvec-ps2
/openbmc/linux/drivers/input/mouse/
H A Dlogips2pp.c38 * Process a PS2++ or PS2T++ packet.
88 "Received PS2++ packet #%x, but don't know how to handle.\n", in ps2pp_process_byte()
107 * ps2pp_cmd() sends a PS2++ command, sliced into two bit
316 * Set name to "Mouse" only when using PS2++, in ps2pp_set_model_properties()
384 * Do Logitech PS2++ / PS2T++ magic init. in ps2pp_detect()
394 /* Enable PS2++ */ in ps2pp_detect()
/openbmc/linux/drivers/input/rmi4/
H A DKconfig47 bool "RMI4 Function 03 (PS2 Guest)"
52 Function 03 provides PS2 guest support for RMI4 devices. This

12345