| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | matrix-keymap.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/matrix-keymap.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common key matrices binding for matrix-connected key boards 10 - Olof Johansson <olof@lixom.net> 13 A simple common binding for matrix-connected key boards. Currently targeted at 18 cases where there is a modifier key such as a Fn key. Proposed names 19 for said properties are "linux,fn-keymap" or with another descriptive 20 word for the modifier other from "Fn". [all …]
|
| D | nvidia,tegra20-kbc.txt | 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. 17 See ../clocks/clock-bindings.txt for details. 18 - resets: Must contain an entry for each entry in reset-names. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/ |
| D | matrix-keymap.txt | 1 A simple common binding for matrix-connected key boards. Currently targeted at 6 - linux,keymap: an array of packed 1-cell entries containing the equivalent 7 of row, column and linux key-code. The 32-bit big endian cell is packed 9 row << 24 | column << 16 | key-code 14 - keypad,num-rows: Number of row lines connected to the keypad controller. 15 - keypad,num-columns: Number of column lines connected to the keypad 19 cases where there is a modifier key such as a Fn key. Proposed names 20 for said properties are "linux,fn-keymap" or with another descriptive 21 word for the modifier other from "Fn". 24 linux,keymap = < 0x00030012 [all …]
|
| D | nvidia,tegra20-kbc.txt | 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. 17 See ../clocks/clock-bindings.txt for details. 18 - resets: Must contain an entry for each entry in reset-names. [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | dell-wmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2014-2015 Pali Rohár <pali@kernel.org> 22 #include <linux/input/sparse-keymap.h> 28 #include "dell-smbios.h" 29 #include "dell-wmi-descriptor.h" 36 #define DELL_EVENT_GUID "9DBB5994-A997-11DA-B012-B622A1EF5492" 72 * Keymap for WMI events of type 0x0000 157 * Originally Matthew Garrett created this dell-wmi driver specially for 188 struct dell_bios_keymap_entry keymap[]; member 195 struct key_entry *keymap; member [all …]
|
| D | msi-wmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Most stuff taken over from hp-wmi 14 #include <linux/input/sparse-keymap.h> 25 #define DRV_NAME "msi-wmi" 27 #define MSIWMI_BIOS_GUID "551A1F84-FBDD-4125-91DB-3EA8F44F1D45" 28 #define MSIWMI_MSI_EVENT_GUID "B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2" 29 #define MSIWMI_WIND_EVENT_GUID "5B3CC38A-40D9-7245-8AE6-1145B751BE3F" 43 WIND_KEY_TOUCHPAD = 0x08, /* Fn+F3 touchpad toggle */ 44 WIND_KEY_BLUETOOTH = 0x56, /* Fn+F11 Bluetooth toggle */ 45 WIND_KEY_CAMERA, /* Fn+F6 webcam toggle */ [all …]
|
| D | fujitsu-laptop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /*-*-linux-c-*-*/ 10 Adrian Yee <brewt-fujitsu@brewt.org> 12 Templated from msi-laptop.c and thinkpad_acpi.c which is copyright 18 * fujitsu-laptop.c - Fujitsu laptop support, providing access to additional 22 * This driver implements a vendor-specific backlight control interface for 27 * P8010. It should work on most P-series and S-series Lifebooks, but 48 #include <linux/input/sparse-keymap.h> 68 /* FUNC interface - command values */ 74 /* FUNC interface - responses */ [all …]
|
| D | asus-nb-wmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/input/sparse-keymap.h> 19 #include "asus-wmi.h" 21 #define ASUS_NB_WMI_FILE "asus-nb-wmi" 27 #define ASUS_NB_WMI_EVENT_GUID "0B3CBB35-E3C2-45ED-91C2-4C5A6D195D1C" 32 * WAPF defines the behavior of the Fn+Fx wlan key 40 static int wapf = -1; 119 pr_info("Identified laptop model '%s'\n", dmi->ident); in dmi_matched() 120 quirks = dmi->driver_data; in dmi_matched() 144 * here acpi-video seems to work fine for backlight control. [all …]
|
| /kernel/linux/linux-4.19/drivers/platform/x86/ |
| D | dell-wmi.c | 5 * Copyright (C) 2014-2015 Pali Rohár <pali.rohar@gmail.com> 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 35 #include <linux/input/sparse-keymap.h> 41 #include "dell-smbios.h" 42 #include "dell-wmi-descriptor.h" 49 #define DELL_EVENT_GUID "9DBB5994-A997-11DA-B012-B622A1EF5492" 87 * Keymap for WMI events of type 0x0000 172 * Originally Matthew Garrett created this dell-wmi driver specially for 203 struct dell_bios_keymap_entry keymap[]; member 210 struct key_entry *keymap; member [all …]
|
| D | msi-wmi.c | 6 * Most stuff taken over from hp-wmi 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 #include <linux/input/sparse-keymap.h> 38 #define DRV_NAME "msi-wmi" 40 #define MSIWMI_BIOS_GUID "551A1F84-FBDD-4125-91DB-3EA8F44F1D45" 41 #define MSIWMI_MSI_EVENT_GUID "B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2" 42 #define MSIWMI_WIND_EVENT_GUID "5B3CC38A-40D9-7245-8AE6-1145B751BE3F" 56 WIND_KEY_TOUCHPAD = 0x08, /* Fn+F3 touchpad toggle */ 57 WIND_KEY_BLUETOOTH = 0x56, /* Fn+F11 Bluetooth toggle */ 58 WIND_KEY_CAMERA, /* Fn+F6 webcam toggle */ [all …]
|
| D | fujitsu-laptop.c | 1 /*-*-linux-c-*-*/ 9 Adrian Yee <brewt-fujitsu@brewt.org> 11 Templated from msi-laptop.c and thinkpad_acpi.c which is copyright 27 02110-1301, USA. 31 * fujitsu-laptop.c - Fujitsu laptop support, providing access to additional 35 * This driver implements a vendor-specific backlight control interface for 40 * P8010. It should work on most P-series and S-series Lifebooks, but 61 #include <linux/input/sparse-keymap.h> 81 /* FUNC interface - command values */ 87 /* FUNC interface - responses */ [all …]
|
| D | asus-nb-wmi.c | 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 #include <linux/input/sparse-keymap.h> 32 #include "asus-wmi.h" 34 #define ASUS_NB_WMI_FILE "asus-nb-wmi" 40 #define ASUS_NB_WMI_EVENT_GUID "0B3CBB35-E3C2-45ED-91C2-4C5A6D195D1C" 45 * WAPF defines the behavior of the Fn+Fx wlan key 53 static int wapf = -1; 128 pr_info("Identified laptop model '%s'\n", dmi->ident); in dmi_matched() 129 quirks = dmi->driver_data; in dmi_matched() 153 * here acpi-video seems to work fine for backlight control. [all …]
|
| D | intel-hid.c | 22 #include <linux/input/sparse-keymap.h> 38 /* 1: LSuper (Page 0x07, usage 0xE3) -- unclear what to do */ 39 /* 2: Toggle SW_ROTATE_LOCK -- easy to implement if seen in wild */ 48 /* 13 has two different meanings in the spec -- ignore it. */ 56 /* 27: wake -- needs special handling */ 106 #define HID_EVENT_FILTER_UUID "eeec56b3-4442-408f-a792-4edd4d758054" 165 acpi_handle_debug(handle, "Exec DSM Fn code: %d[%s] success\n", in intel_hid_execute_method() 200 *result = obj->integer.value; in intel_hid_evaluate_method() 202 "Eval DSM Fn code: %d[%s] results: 0x%llx\n", in intel_hid_evaluate_method() 225 intel_hid_dsm_fn_mask = *obj->buffer.pointer; in intel_hid_init_dsm() [all …]
|
| /kernel/linux/linux-4.19/drivers/input/misc/ |
| D | wistron_btns.c | 18 * 59 Temple Place Suite 330, Boston, MA 02111-1307, USA. 23 #include <linux/input-polldev.h> 24 #include <linux/input/sparse-keymap.h> 37 /* How often we poll keys - msecs */ 55 module_param_named(keymap, keymap_name, charp, 0); 56 MODULE_PARM_DESC(keymap, "Keymap name, if it can't be autodetected [generic, 1557/MS2141]"); 82 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) in call_bios() 83 : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), in call_bios() 101 return -1; in locate_wistron_bios() 115 return -ENODEV; in map_bios() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | wistron_btns.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/input/sparse-keymap.h> 25 /* How often we poll keys - msecs */ 43 module_param_named(keymap, keymap_name, charp, 0); 44 MODULE_PARM_DESC(keymap, "Keymap name, if it can't be autodetected [generic, 1557/MS2141]"); 70 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) in call_bios() 71 : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), in call_bios() 89 return -1; in locate_wistron_bios() 103 return -ENODEV; in map_bios() 136 return -ENOMEM; in map_bios() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | tegra-kbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 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() 166 /* If driver uses Fn map, do not report the Fn key. */ in tegra_kbc_report_keys() 167 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) 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() 190 * and the other is in the same column as the i-th key. in tegra_kbc_report_keys() 205 * If the platform uses Fn keymaps, translate keys on a Fn keypress. in tegra_kbc_report_keys() [all …]
|
| D | atkbd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 1999-2002 Vojtech Pavlik 12 * input-only controllers and AT keyboards connected over a one way RS232 57 MODULE_PARM_DESC(scroll, "Enable scroll-wheel on MS Office and similar keyboards"); 69 #define SCANCODE(keymap) ((keymap >> 16) & 0xFFFF) argument 70 #define KEYCODE(keymap) (keymap & 0xFFFF) argument 237 /* Serializes reconnect(), attr->set() and event work */ 245 * System-specific keymap fixup routine 314 if (!atkbd->num_function_row_keys) in atkbd_show_function_row_physmap() 317 for (i = 0; i < atkbd->num_function_row_keys; i++) in atkbd_show_function_row_physmap() [all …]
|
| /kernel/linux/linux-4.19/drivers/input/keyboard/ |
| D | tegra-kbc.c | 5 * Copyright (c) 2009-2011, NVIDIA Corporation. 19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 169 val = readl(kbc->mmio + KBC_KP_ENT0_0 + i); in tegra_kbc_report_keys() 178 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 179 /* If driver uses Fn map, do not report the Fn key. */ in tegra_kbc_report_keys() 180 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 191 * Ghosting occurs if there are 3 keys such that - in tegra_kbc_report_keys() 195 if (kbc->use_ghost_filter && num_down >= 3) { in tegra_kbc_report_keys() 203 * and the other is in the same column as the i-th key. in tegra_kbc_report_keys() 218 * If the platform uses Fn keymaps, translate keys on a Fn keypress. in tegra_kbc_report_keys() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/ |
| D | input.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 1999-2002 Vojtech Pavlik 26 #include "input-compat.h" 27 #include "input-poller.h" 59 if (value > (long)old_val - fuzz / 2 && in input_defuzz_abs_event() 63 if (value > (long)old_val - fuzz && in input_defuzz_abs_event() 67 if (value > (long)old_val - fuzz * 2 && in input_defuzz_abs_event() 77 if (test_bit(EV_REP, dev->evbit) && in input_start_autorepeat() 78 dev->rep[REP_PERIOD] && dev->rep[REP_DELAY] && in input_start_autorepeat() 79 dev->timer.function) { in input_start_autorepeat() [all …]
|
| /kernel/linux/linux-4.19/drivers/input/ |
| D | input.c | 4 * Copyright (c) 1999-2002 Vojtech Pavlik 30 #include "input-compat.h" 62 if (value > old_val - fuzz / 2 && value < old_val + fuzz / 2) in input_defuzz_abs_event() 65 if (value > old_val - fuzz && value < old_val + fuzz) in input_defuzz_abs_event() 68 if (value > old_val - fuzz * 2 && value < old_val + fuzz * 2) in input_defuzz_abs_event() 77 if (test_bit(EV_REP, dev->evbit) && in input_start_autorepeat() 78 dev->rep[REP_PERIOD] && dev->rep[REP_DELAY] && in input_start_autorepeat() 79 dev->timer.function) { in input_start_autorepeat() 80 dev->repeat_key = code; in input_start_autorepeat() 81 mod_timer(&dev->timer, in input_start_autorepeat() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/dts/ |
| D | ac14xx.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #address-cells = <1>; 15 #size-cells = <1>; 26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */ 27 bus-frequency = <160000000>; /* 160 MHz csb bus */ 28 clock-frequency = <400000000>; /* 400 MHz ppc core */ 49 compatible = "cfi-flash"; 51 #address-cells = <1>; 52 #size-cells = <1>; 53 bank-width = <2>; [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/boot/dts/ |
| D | ac14xx.dts | 18 #address-cells = <1>; 19 #size-cells = <1>; 30 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */ 31 bus-frequency = <160000000>; /* 160 MHz csb bus */ 32 clock-frequency = <400000000>; /* 400 MHz ppc core */ 53 compatible = "cfi-flash"; 55 #address-cells = <1>; 56 #size-cells = <1>; 57 bank-width = <2>; 58 device-width = <2>; [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | input.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 1999-2002 Vojtech Pavlik 16 * In-kernel definitions. 27 * struct input_value - input value representation 46 * struct input_dev - represents an input device 69 * @getkeycode: optional legacy method to retrieve current keymap. 70 * @setkeycode: optional method to alter current keymap, used to implement 109 * (such as keymap or absmin, absmax, absfuzz, etc.) after device 114 * to make sure that dev->open() is only called when the first 115 * user opens device and dev->close() is called when the very [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | input.h | 2 * Copyright (c) 1999-2002 Vojtech Pavlik 19 * In-kernel definitions. 28 * struct input_value - input value representation 40 * struct input_dev - represents an input device 63 * @getkeycode: optional legacy method to retrieve current keymap. 64 * @setkeycode: optional method to alter current keymap, used to implement 101 * (such as keymap or absmin, absmax, absfuzz, etc.) after device 106 * to make sure that dev->open() is only called when the first 107 * user opens device and dev->close() is called when the very 110 * causes input_open_device*() fail with -ENODEV. [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
| D | palmtreo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <linux/w1-gpio.h> 26 #include <asm/mach-types.h> 31 #include "pxa27x-udc.h" 34 #include <linux/platform_data/mmc-pxamci.h> 35 #include <linux/platform_data/video-pxafb.h> 36 #include <linux/platform_data/irda-pxaficp.h> 37 #include <linux/platform_data/keypad-pxa27x.h> 39 #include <linux/platform_data/usb-ohci-pxa27x.h> 40 #include <mach/pxa2xx-regs.h> [all …]
|