| /kernel/linux/linux-5.10/drivers/input/serio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 * standard AT keyboard and PS/2 mouse * 25 communicate with keyboard, mouse, etc. 30 tristate "i8042 PC Keyboard controller" 34 i8042 is the chip over which the standard AT keyboard and PS/2 59 tristate "ct82c710 Aux port controller" 72 tristate "Q40 keyboard controller" 76 tristate "Parallel port keyboard adapter" 80 an additional AT keyboard, XT keyboard or PS/2 mouse. 90 tristate "Acorn RiscPC keyboard controller" [all …]
|
| D | i8042.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * i8042 keyboard and mouse controller driver for Linux 5 * Copyright (c) 1999-2004 Vojtech Pavlik 29 MODULE_DESCRIPTION("i8042 keyboard and mouse controller driver"); 42 MODULE_PARM_DESC(nomux, "Do not check whether an active multiplexing controller is present."); 46 MODULE_PARM_DESC(unlock, "Ignore keyboard lock."); 61 enum i8042_controller_reset_mode *arg = kp->arg; in i8042_set_reset() 84 MODULE_PARM_DESC(reset, "Reset controller on resume, cleanup or both"); 88 MODULE_PARM_DESC(direct, "Put keyboard port into non-translated mode."); 92 MODULE_PARM_DESC(dumbkbd, "Pretend that controller can only read data from keyboard"); [all …]
|
| D | rpckbd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2000-2001 Vojtech Pavlik 8 * Acorn RiscPC PS/2 keyboard controller driver for Linux/ARM 26 MODULE_DESCRIPTION("Acorn RiscPC PS/2 keyboard controller driver"); 67 struct rpckbd_data *rpckbd = port->port_data; in rpckbd_open() 69 /* Reset the keyboard state machine. */ in rpckbd_open() 74 if (request_irq(rpckbd->rx_irq, rpckbd_rx, 0, "rpckbd", port) != 0) { in rpckbd_open() 75 printk(KERN_ERR "rpckbd.c: Could not allocate keyboard receive IRQ\n"); in rpckbd_open() 76 return -EBUSY; in rpckbd_open() 79 if (request_irq(rpckbd->tx_irq, rpckbd_tx, 0, "rpckbd", port) != 0) { in rpckbd_open() [all …]
|
| D | q40kbd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2000-2001 Vojtech Pavlik 6 * Richard Zidlicky <Richard.Zidlicky@stud.informatik.uni-erlangen.de> 10 * Q40 PS/2 keyboard controller driver for Linux/m68k 33 MODULE_DESCRIPTION("Q40 PS/2 keyboard controller driver"); 47 spin_lock_irqsave(&q40kbd->lock, flags); in q40kbd_interrupt() 50 serio_interrupt(q40kbd->port, master_inb(KEYCODE_REG), 0); in q40kbd_interrupt() 52 master_outb(-1, KEYBOARD_UNLOCK_REG); in q40kbd_interrupt() 54 spin_unlock_irqrestore(&q40kbd->lock, flags); in q40kbd_interrupt() 60 * q40kbd_flush() flushes all data that may be in the keyboard buffers [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 24 board-specific setup logic must also provide a configuration data 38 be called adp5520-keys. 48 module will be called adp5588-keys. 58 module will be called adp5589-keys. 61 tristate "Amiga keyboard" 64 Say Y here if you are running Linux on any AMIGA and have a keyboard 71 tristate "Apple SPI keyboard and trackpad" 89 tristate "Atari keyboard" 93 Say Y here if you are running Linux on any Atari and have a keyboard [all …]
|
| D | opencores-kbd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * OpenCores Keyboard Controller Driver 6 * Copyright 2007-2009 HV Sistemas S.L. 28 struct input_dev *input = opencores_kbd->input; in opencores_kbd_isr() 31 c = readb(opencores_kbd->addr); in opencores_kbd_isr() 47 dev_err(&pdev->dev, "missing board memory resource\n"); in opencores_kbd_probe() 48 return -EINVAL; in opencores_kbd_probe() 53 return -EINVAL; in opencores_kbd_probe() 55 opencores_kbd = devm_kzalloc(&pdev->dev, sizeof(*opencores_kbd), in opencores_kbd_probe() 58 return -ENOMEM; in opencores_kbd_probe() [all …]
|
| D | amikbd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2000-2001 Vojtech Pavlik 10 * Amiga keyboard driver for Linux/m68k 21 #include <linux/keyboard.h> 29 MODULE_DESCRIPTION("Amiga keyboard driver"); 159 [0] = KERN_ALERT "amikbd: Ctrl-Amiga-Amiga reset warning!!\n", 160 [1] = KERN_WARNING "amikbd: keyboard lost sync\n", 161 [2] = KERN_WARNING "amikbd: keyboard buffer overflow\n", 162 [3] = KERN_WARNING "amikbd: keyboard controller failure\n", 163 [4] = KERN_ERR "amikbd: keyboard selftest failure\n", [all …]
|
| D | tegra-kbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Keyboard class input driver for the NVIDIA Tegra SoC internal matrix 4 * keyboard controller 6 * Copyright (c) 2009-2011, NVIDIA Corporation. 156 val = readl(kbc->mmio + KBC_KP_ENT0_0 + i); in tegra_kbc_report_keys() 165 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 167 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 177 * Matrix keyboard designs are prone to keyboard ghosting. in tegra_kbc_report_keys() 178 * Ghosting occurs if there are 3 keys such that - in tegra_kbc_report_keys() 182 if (kbc->use_ghost_filter && num_down >= 3) { in tegra_kbc_report_keys() [all …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 most commonly used to refer to the USB-HID specification, but other 20 removed from the HID bus by the transport-layer drivers, such as 53 to work on raw hid events when they want to, and avoid using transport-specific 59 tristate "User-space I/O driver support for HID subsystem" 63 Say Y here if you want to provide HID I/O Drivers from user-space. 64 This allows to write I/O drivers in user-space and feed the data from 67 user-space device. 69 This driver cannot be used to parse HID-reports in user-space and write 70 special HID-drivers. You should use hidraw for that. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | nvidia,tegra20-kbc.txt | 1 * Tegra keyboard controller 2 The key controller has maximum 24 pins to make matrix keypad. Any pin 7 - compatible: "nvidia,tegra20-kbc" 8 - reg: Register base address of KBC. 9 - interrupts: Interrupt number for the KBC. 10 - nvidia,kbc-row-pins: The KBC pins which are configured as row. This is an 12 - nvidia,kbc-col-pins: The KBC pins which are configured as column. This is an 14 - linux,keymap: The keymap for keys as described in the binding document 15 devicetree/bindings/input/matrix-keymap.txt. 16 - clocks: Must contain one entry, for the module clock. [all …]
|
| D | spear-keyboard.txt | 1 * SPEAr keyboard controller 4 - compatible: "st,spear300-kbd" 7 matrix-keyboard bindings: 8 - autorepeat: bool: enables key autorepeat 9 - st,mode: keyboard mode: 0 - 9x9, 1 - 6x6, 2 - 2x2 14 compatible = "st,spear300-kbd";
|
| D | google,cros-ec-keyb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $id: http://devicetree.org/schemas/input/google,cros-ec-keyb.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: ChromeOS EC Keyboard 11 - Simon Glass <sjg@chromium.org> 12 - Benson Leung <bleung@chromium.org> 13 - Enric Balletbo i Serra <enric.balletbo@collabora.com> 16 Google's ChromeOS EC Keyboard is a simple matrix keyboard 17 implemented on a separate EC (Embedded Controller) device. It provides [all …]
|
| /kernel/linux/linux-5.10/Documentation/input/devices/ |
| D | atarikbd.rst | 2 Intelligent Keyboard (ikbd) Protocol 9 The Atari Corp. Intelligent Keyboard (ikbd) is a general purpose keyboard 10 controller that is flexible enough that it can be used in a variety of 11 products without modification. The keyboard, with its microcontroller, 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 20 different applications of the keyboard, joysticks, or mouse. Limited use of 21 the controller is possible in applications in which only a unidirectional 24 Keyboard chapter [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/nvec/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 tristate "NV Tegra Embedded Controller SMBus Interface" 8 controller. 11 called mfd-nvec 14 tristate "Keyboard on nVidia compliant EC" 17 Say Y here to enable support for a keyboard connected to 18 a nVidia compliant embedded controller. 21 called keyboard-nvec 28 to a nVidia compliant embedded controller. 31 called serio-nvec-ps2 [all …]
|
| D | nvec_kbd.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * nvec_kbd: keyboard driver for a NVIDIA compliant embedded controller 7 * Authors: Pierre-Hugues Husson <phhusson@free.fr> 17 #include "nvec-keytable.h" 95 return -1; in nvec_kbd_event() 98 return -1; in nvec_kbd_event() 108 struct nvec_chip *nvec = dev_get_drvdata(pdev->dev.parent); in nvec_kbd_probe() 125 idev = devm_input_allocate_device(&pdev->dev); in nvec_kbd_probe() 127 return -ENOMEM; in nvec_kbd_probe() 128 idev->name = "nvec keyboard"; in nvec_kbd_probe() [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/media/ |
| D | rc-core.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Remote Controller devices 4 ------------------------- 6 Remote Controller core 9 The remote controller core implements infrastructure to receive and send 10 remote controller keyboard keystrokes and mouse events. 12 Every time a key is pressed on a remote controller, a scan code is produced. 15 a normal keyboard or mouse is handled internally on Linux\ [#f1]_. So, the 16 remote controller core is implemented on the top of the linux input/evdev 21 The main difference is that, on keyboard events, the keyboard controller [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/wilco_ec/ |
| D | keyboard_leds.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Keyboard backlight LED driver for the Wilco Embedded Controller 14 #include <linux/platform_data/wilco-ec.h> 23 struct led_classdev keyboard; member 33 * struct wilco_keyboard_leds_msg - Message to/from EC for keyboard LED control. 40 * @percent: Brightness in 0-100. Only meaningful in PWM mode. 71 dev_err(ec->dev, in send_kbbl_msg() 72 "Failed sending keyboard LEDs command: %d\n", ret); in send_kbbl_msg() 96 dev_err(ec->dev, in set_kbbl() 97 "EC reported failure sending keyboard LEDs command: %d\n", in set_kbbl() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/sni/ |
| D | reset.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * This routine reboots the machine by asking the keyboard 15 * controller to pulse the reset-line low. We try that for a while, 32 /* This does a normal via the keyboard controller like a PC. in sni_machine_restart()
|
| /kernel/linux/linux-5.10/arch/mips/cobalt/ |
| D | setup.c | 8 * Copyright (C) 1996, 1997, 2004, 05 by Ralf Baechle (ralf@linux-mips.org) 45 * Cobalt doesn't have PS/2 keyboard/mouse interfaces, 46 * keyboard controller is never used. 47 * Also PCI-ISA bridge DMA controller is never used. 56 { /* keyboard */ 97 * Better boot loaders (CoLo) pass a command line too :-) 112 if (i < (argc - 1)) in prom_init()
|
| /kernel/linux/linux-5.10/kernel/debug/kdb/ |
| D | kdb_keyboard.c | 7 * Copyright (c) 1999-2006 Silicon Graphics, Inc. All Rights Reserved. 12 #include <linux/keyboard.h> 17 /* Keyboard Controller Registers on normal PCs. */ 20 #define KBD_DATA_REG 0x60 /* Keyboard data register (R/W) */ 24 #define KBD_STAT_OBF 0x01 /* Keyboard output buffer full */ 31 * Check if the keyboard controller has a keypress for us. 38 static int shift_lock; /* CAPS LOCK state (0-off, 1-on) */ in kdb_get_kbd_char() 46 return -1; in kdb_get_kbd_char() 51 return -1; in kdb_get_kbd_char() 63 return -1; in kdb_get_kbd_char() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/jazz/ |
| D | reset.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * stabbing at the keyboard controller ... 11 #define KBD_STAT_IBF 0x02 /* Keyboard input buffer full */ 18 status = jazz_kh->command; in jazz_write_output() 20 jazz_kh->data = val; in jazz_write_output() 28 status = jazz_kh->command; in jazz_write_command() 30 jazz_kh->command = val; in jazz_write_command() 35 return jazz_kh->command; in jazz_read_status()
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/ |
| D | rc-tables.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Remote controller tables 19 The modules register the remote as keyboard within the linux input 20 layer. This means that the IR key strokes will look like normal keyboard 30 .. flat-table:: IR default keymapping 31 :header-rows: 0 32 :stub-columns: 0 36 - .. row 1 38 - Key code 40 - Meaning [all …]
|
| /kernel/linux/linux-5.10/drivers/char/ipmi/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 tristate 'IPMI top-level message handler' 17 See <file:Documentation/driver-api/ipmi.rst> for more details on the driver. 82 Provides a driver for OPAL firmware-based IPMI interfaces. 93 the IPMI management controller is capable of this. 106 Provides a driver for the KCS (Keyboard Controller Style) IPMI 118 Provides a driver for the KCS (Keyboard Controller Style) IPMI
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | google,cros-ec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/google,cros-ec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ChromeOS Embedded Controller 10 - Benson Leung <bleung@chromium.org> 11 - Enric Balletbo i Serra <enric.balletbo@collabora.com> 12 - Guenter Roeck <groeck@chromium.org> 16 implements various functions such as keyboard and battery charging. 23 - description: [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 36 The range of memory used is 0xf00000-0x1000000, traditionally 37 the memory used to back VGA controller memory. 43 tristate "ChromeOS Tablet Switch Controller" 54 tristate "ChromeOS Embedded Controller" 59 Controller (EC) providing keyboard, battery and power services. 67 tristate "ChromeOS Embedded Controller (I2C)" 72 EC through an I2C bus. This uses a simple byte-level protocol with 77 tristate "ChromeOS Embedded Controller (rpmsg)" 81 through rpmsg. This uses a simple byte-level protocol with a [all …]
|