Home
last modified time | relevance | path

Searched +full:needs +full:- +full:ghost +full:- +full:filter (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Dgoogle,cros-ec-keyb.yaml1 # 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#
11 - Simon Glass <sjg@chromium.org>
12 - Benson Leung <bleung@chromium.org>
24 - description: ChromeOS EC with only buttons/switches
25 const: google,cros-ec-keyb-switches
26 - description: ChromeOS EC with keyboard and possibly buttons/switches
27 const: google,cros-ec-keyb
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dgoogle,cros-ec-keyb.yaml1 # 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#
11 - Simon Glass <sjg@chromium.org>
12 - Benson Leung <bleung@chromium.org>
13 - Enric Balletbo i Serra <enric.balletbo@collabora.com>
22 - $ref: "/schemas/input/matrix-keymap.yaml#"
26 const: google,cros-ec-keyb
28 google,needs-ghost-filter:
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/
Dcros-ec-keyboard.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Keyboard dts fragment for devices that use cros-ec-keyboard
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/input/cros-ec-keyboard.h>
12 keyboard_controller: keyboard-controller {
13 compatible = "google,cros-ec-keyb";
14 keypad,num-rows = <8>;
15 keypad,num-columns = <13>;
16 google,needs-ghost-filter;
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dcros-ec-keyboard.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Keyboard dts fragment for devices that use cros-ec-keyboard
8 #include <dt-bindings/input/input.h>
11 keyboard-controller {
12 compatible = "google,cros-ec-keyb";
13 keypad,num-rows = <8>;
14 keypad,num-columns = <13>;
15 google,needs-ghost-filter;
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dcros_ec_keyb.c1 // SPDX-License-Identifier: GPL-2.0
6 // This driver uses the ChromeOS EC byte-level message-based protocol for
35 * @ghost_filter: true to enable the matrix key-ghosting filter
41 * @bs_idev: The input device for non-matrix buttons and switches (or NULL).
63 * cros_ec_bs_map - Struct mapping Linux keycodes to EC button/switch bitmap
79 /* cros_ec_keyb_bs - Map EC button/switch #defines into kernel ones */
119 struct device *dev = ckdev->dev; in cros_ec_keyb_has_ghosting()
120 uint8_t *valid_keys = ckdev->valid_keys; in cros_ec_keyb_has_ghosting()
135 for (col1 = 0; col1 < ckdev->cols; col1++) { in cros_ec_keyb_has_ghosting()
137 for (col2 = col1 + 1; col2 < ckdev->cols; col2++) { in cros_ec_keyb_has_ghosting()
[all …]
Dtegra-kbc.c1 // 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()
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()
210 scancodes[i] += kbc->max_keys; in tegra_kbc_report_keys()
211 keycodes[i] = kbc->keycode[scancodes[i]]; in tegra_kbc_report_keys()
[all …]
/kernel/linux/linux-6.6/drivers/input/keyboard/
Dcros_ec_keyb.c1 // SPDX-License-Identifier: GPL-2.0
6 // This driver uses the ChromeOS EC byte-level message-based protocol for
19 #include <linux/input/vivaldi-fmap.h>
33 * struct cros_ec_keyb - Structure representing EC keyboard device
39 * @ghost_filter: true to enable the matrix key-ghosting filter
45 * @bs_idev: The input device for non-matrix buttons and switches (or NULL).
69 * struct cros_ec_bs_map - Mapping between Linux keycodes and EC button/switch
85 /* cros_ec_keyb_bs - Map EC button/switch #defines into kernel ones */
140 struct device *dev = ckdev->dev; in cros_ec_keyb_has_ghosting()
141 uint8_t *valid_keys = ckdev->valid_keys; in cros_ec_keyb_has_ghosting()
[all …]
Dtegra-kbc.c1 // 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()
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()
210 scancodes[i] += kbc->max_keys; in tegra_kbc_report_keys()
211 keycodes[i] = kbc->keycode[scancodes[i]]; in tegra_kbc_report_keys()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/
Dtegra132-norrin.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
18 stdout-path = "serial0:115200n8";
30 vdd-supply = <&vdd_3v3_hdmi>;
31 pll-supply = <&vdd_hdmi_pll>;
32 hdmi-supply = <&vdd_5v0_hdmi>;
34 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
35 nvidia,hpd-gpio =
42 avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra132-norrin.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
18 stdout-path = "serial0:115200n8";
30 vdd-supply = <&vdd_3v3_hdmi>;
31 pll-supply = <&vdd_hdmi_pll>;
32 hdmi-supply = <&vdd_5v0_hdmi>;
34 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
35 nvidia,hpd-gpio =
42 avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>;
[all …]
/kernel/linux/linux-6.6/drivers/pci/
Dquirks.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file contains work-arounds for many known PCI hardware bugs.
5 * should be handled in arch-specific code.
20 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */
91 int ret = -ENOTTY; in pcie_failed_link_retrain()
94 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain()
103 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain()
170 if ((f->class == (u32) (dev->class >> f->class_shift) || in pci_do_fixups()
171 f->class == (u32) PCI_ANY_ID) && in pci_do_fixups()
172 (f->vendor == dev->vendor || in pci_do_fixups()
[all …]
/kernel/linux/linux-5.10/drivers/pci/
Dquirks.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file contains work-arounds for many known PCI hardware bugs.
5 * should be handled in arch-specific code.
64 if ((f->class == (u32) (dev->class >> f->class_shift) || in pci_do_fixups()
65 f->class == (u32) PCI_ANY_ID) && in pci_do_fixups()
66 (f->vendor == dev->vendor || in pci_do_fixups()
67 f->vendor == (u16) PCI_ANY_ID) && in pci_do_fixups()
68 (f->device == dev->device || in pci_do_fixups()
69 f->device == (u16) PCI_ANY_ID)) { in pci_do_fixups()
72 hook = offset_to_ptr(&f->hook_offset); in pci_do_fixups()
[all …]