Home
last modified time | relevance | path

Searched +full:keyboard +full:- +full:controller (Results 1 – 25 of 274) sorted by relevance

1234567891011

/OK3568_Linux_fs/kernel/drivers/input/serio/
H A DKconfig1 # 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 …]
H A Di8042.c1 // 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 …]
H A Drpckbd.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A DKconfig1 # 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 …]
H A Dopencores-kbd.c1 // 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 …]
/OK3568_Linux_fs/u-boot/include/
H A Dpc_keyb.h4 * PC Keyboard And Keyboard Controller
12 #undef KBD_REPORT_ERR /* Report keyboard errors */
14 #define KBD_REPORT_TIMEOUTS /* Report keyboard timeouts */
15 #undef KBD_IS_FOCUS_9000 /* We have the brain-damaged FOCUS-9000 keyboard */
18 #define KBD_INIT_TIMEOUT 1000 /* Timeout in ms for initializing the keyboard */
19 #define KBC_TIMEOUT 250 /* Timeout in ms for sending to keyboard controller */
20 #define KBD_TIMEOUT 1000 /* Timeout in ms for keyboard command acknowledge */
29 * Keyboard Controller Registers on normal PCs.
32 #define KBD_CNTL_REG 0x64 /* Controller command register (W) */
33 #define KBD_DATA_REG 0x60 /* Keyboard data register (R/W) */
[all …]
H A Di8042.h5 * SPDX-License-Identifier: GPL-2.0+
8 /* i8042.h - Intel 8042 keyboard driver header */
15 #define I8042_DATA_REG 0x60 /* keyboard i/o buffer */
16 #define I8042_STS_REG 0x64 /* keyboard status read */
17 #define I8042_CMD_REG 0x64 /* keyboard ctrl write */
34 #define CMD_SELF_TEST 0xaa /* controller self-test */
35 #define CMD_KBD_DIS 0xad /* keyboard disable */
36 #define CMD_KBD_EN 0xae /* keyboard enable */
37 #define CMD_SET_KBD_LED 0xed /* set keyboard led */
39 #define CMD_RESET_KBD 0xff /* reset keyboard */
[all …]
H A Dsmsc_lpc47m.h4 * SPDX-License-Identifier: GPL-2.0+
18 #define LPC47M_KBC 7 /* Keyboard & Mouse */
32 * Configure the specified keyboard controller device and enable the keyboard
33 * controller device.
36 * @irq0: processor IRQ number to assign to keyboard
/OK3568_Linux_fs/u-boot/drivers/input/
H A DKconfig15 bool "Enable driver model keyboard support"
18 This adds a uclass for keyboards and implements keyboard support
19 using driver model. The API is implemented by keyboard.h and
21 input and update LEDs if the keyboard has them.
30 bool "Enable driver model Remote Controller support"
41 This adds a driver for the rockchip IR controller.
44 bool "Enable driver model keyboard support"
47 This adds a uclass for keyboards and implements keyboard support
48 using driver model. The API is implemented by keyboard.h and
50 input and update LEDs if the keyboard has them.
[all …]
H A Dpc_keyb.c7 * PS/2 keyboard driver
15 #include <keyboard.h>
28 * This reads the keyboard status port, and does the
37 while ((--work > 0) && (status & KBD_STAT_OBF)) { in handle_kbd_event()
54 PRINTF("pc_keyb: controller jammed (0x%02X).\n", status); in handle_kbd_event()
64 val = -1; in kbd_read_data()
69 val = -2; in kbd_read_data()
82 if(timeout--==0) in kbd_wait_for_input()
83 return -1; in kbd_wait_for_input()
100 timeout--; in kb_wait()
[all …]
H A Dtegra-kbc.c5 * SPDX-License-Identifier: GPL-2.0+
12 #include <keyboard.h>
15 #include <tegra-kbc.h>
19 #include <asm/arch-tegra/timer.h>
41 KBC_CLOCK_KHZ = 32, /* Keyboard uses a 32KHz clock */
44 /* keyboard controller config and state */
49 struct kbc_tegra *kbc; /* tegra keyboard controller */
50 unsigned char inited; /* 1 if keyboard has been inited */
54 * After init we must wait a short time before polling the keyboard.
55 * This gives the tegra keyboard controller time to react after reset
[all …]
H A Di8042.c5 * SPDX-License-Identifier: GPL-2.0+
8 /* i8042.c - Intel 8042 keyboard driver routines */
15 #include <keyboard.h>
58 while ((in8(I8042_STS_REG) & STATUS_IBF) && kbd_timeout--) in kbd_input_empty()
61 return kbd_timeout != -1; in kbd_input_empty()
68 while (((in8(I8042_STS_REG) & STATUS_OBF) == 0) && kbd_timeout--) in kbd_output_full()
71 return kbd_timeout != -1; in kbd_output_full()
75 * check_leds() - Check the keyboard LEDs and update them it needed
93 return -1; in kbd_write()
102 return -1; in kbd_read()
[all …]
/OK3568_Linux_fs/kernel/drivers/hid/
H A DKconfig1 # 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 …]
/OK3568_Linux_fs/external/xserver/hw/xwayland/
H A DMakefile.am4 -I$(top_srcdir)/glamor \
5 -I$(top_srcdir)/dri3 \
6 -DHAVE_DIX_CONFIG_H \
14 xwayland-input.c \
15 xwayland-cursor.c \
16 xwayland-shm.c \
17 xwayland-output.c \
18 xwayland-cvt.c \
19 xwayland-vidmode.c \
37 xwayland-glamor.c \
[all …]
H A DMakefile.in4 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
19 if test -z '$(MAKELEVEL)'; then \
21 elif test -n '$(MAKE_HOST)'; then \
23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
30 case $${target_option-} in \
33 "target option '$${target_option-}' specified" >&2; \
56 *=*|--*) continue;; \
57 -*I) strip_trailopt 'I'; skip_next=yes;; \
58 -*I?*) strip_trailopt 'I';; \
59 -*O) strip_trailopt 'O'; skip_next=yes;; \
[all …]
/OK3568_Linux_fs/kernel/Documentation/input/devices/
H A Datarikbd.rst2 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dnvidia,tegra20-kbc.txt1 * 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 …]
H A Dspear-keyboard.txt1 * 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";
/OK3568_Linux_fs/kernel/Documentation/driver-api/media/
H A Drc-core.rst1 .. 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/nvec/
H A DKconfig1 # 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 …]
/OK3568_Linux_fs/u-boot/drivers/usb/
H A DKconfig3 ---help---
17 dual-role.
20 Host Controller Driver (HCD) options below. Choose a USB 1.1
21 controller, such as "UHCI HCD support" or "OHCI HCD support",
26 If your system has a device-side USB port, used in the peripheral
32 <file:Documentation/usb/usb-help.txt>.
75 source "drivers/usb/musb-new/Kconfig"
86 ---help---
91 bool "USB Keyboard support"
93 ---help---
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/input/
H A Di8042.txt1 i8042 Keyboard
3 The Intel i8042 is a keyboard controller used on many x86 PCs.
6 - compatible: "intel,i8042-keyboard"
9 - intel,duplicate-por: Indicates that a keyboard reset may result in a
/OK3568_Linux_fs/kernel/Documentation/leds/
H A Dwell-known-leds.txt1 -*- org -*-
17 Notice there's a list of functions in include/dt-bindings/leds/common.h .
24 player. For example, a game controller with 4 LEDs, may be programmed with "x---"
25 to indicate player 1, "-x--" to indicate player 2 etcetera where "x" means on.
27 of a game controller using the function "player".
31 Good: "input*:*:player-{1,2,3,4,5}
38 Legacy: "shift-key-light" (Motorola Droid 4, capslock)
40 Set of common keyboard LEDs, going back to PC AT or so.
45 Frontlight/backlight of main keyboard.
47 Legacy: "button-backlight" (Motorola Droid 4)
[all …]
/OK3568_Linux_fs/kernel/drivers/platform/chrome/wilco_ec/
H A Dkeyboard_leds.c1 // 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 …]
/OK3568_Linux_fs/kernel/arch/mips/cobalt/
H A Dsetup.c8 * 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()

1234567891011