| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | st,stmfts.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Microelectronics FingerTip touchscreen controller 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 13 The ST-Microelectronics FingerTip device provides a basic touchscreen 15 as a basic HOME and BACK key for phones. 18 - $ref: touchscreen.yaml# 27 avdd-supply: 33 ledvdd-supply: [all …]
|
| H A D | cypress,cy8ctma340.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 be connected to either I2C or SPI buses. 14 - Javier Martinez Canillas <javier@dowhile0.org> 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: touchscreen.yaml# 26 - const: cypress,cy8ctma340 27 - const: cypress,cy8ctst341 28 - const: cypress,cyttsp-spi [all …]
|
| /linux/drivers/input/misc/ |
| H A D | xen-kbdfront.c | 2 * Xen para-virtual input device 5 * Copyright (C) 2006-2008 Red Hat, Inc., Markus Armbruster <armbru@redhat.com> 66 if (unlikely(!info->ptr)) in xenkbd_handle_motion_event() 69 input_report_rel(info->ptr, REL_X, motion->rel_x); in xenkbd_handle_motion_event() 70 input_report_rel(info->ptr, REL_Y, motion->rel_y); in xenkbd_handle_motion_event() 71 if (motion->rel_z) in xenkbd_handle_motion_event() 72 input_report_rel(info->ptr, REL_WHEEL, -motion->rel_z); in xenkbd_handle_motion_event() 73 input_sync(info->ptr); in xenkbd_handle_motion_event() 79 if (unlikely(!info->ptr)) in xenkbd_handle_position_event() 82 input_report_abs(info->ptr, ABS_X, pos->abs_x); in xenkbd_handle_position_event() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-sony.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> 7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc 10 * Copyright (c) 2006-2013 Jiri Kosina 12 * Copyright (c) 2014-2016 Frank Praznik <frank.praznik@gmail.com> 14 * Copyright (c) 2020-2021 Pascal Giard <pascal.giard@etsmtl.ca> 24 * a Bluetooth host, the key combination Start+Enter has to be kept pressed 45 #include "hid-ids.h" 327 * Key Offset 328 * ------------------- [all …]
|
| H A D | hid-magicmouse.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 #include "hid-ids.h" 27 static int middle_button_start = -350; 39 return -EINVAL; in param_set_scroll_speed() 52 MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state field using a MSC_RAW … 66 * 0x03 seem to indicate the aspect ratio of the touch, bits 0x70 seem 67 * to be some kind of bit mask -- 0x20 may be a near-field reading, 76 /* Number of high-resolution events for each low-resolution detent. */ 82 /* Touch surface information. Dimension is in hundredths of a mm, min and max 85 #define MOUSE_MIN_X -1100 [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 most commonly used to refer to the USB-HID specification, but other 27 removed from the HID bus by the transport-layer drivers, such as 58 to work on raw hid events when they want to, and avoid using transport-specific 64 tristate "User-space I/O driver support for HID subsystem" 67 Say Y here if you want to provide HID I/O Drivers from user-space. 68 This allows to write I/O drivers in user-space and feed the data from 71 user-space device. 73 This driver cannot be used to parse HID-reports in user-space and write 74 special HID-drivers. You should use hidraw for that. [all …]
|
| H A D | wacom_wac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * USB Wacom tablet support - Wacom specific code 25 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo 43 struct input_dev *input = wacom_wac->pen_input; in wacom_force_proxout() 45 wacom_wac->shared->stylus_in_proximity = 0; in wacom_force_proxout() 51 input_report_key(input, wacom_wac->tool[0], 0); in wacom_force_proxout() 52 if (wacom_wac->serial[0]) { in wacom_force_proxout() 57 wacom_wac->tool[0] = 0; in wacom_force_proxout() 58 wacom_wac->id[0] = 0; in wacom_force_proxout() 59 wacom_wac->serial[0] = 0; in wacom_force_proxout() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mn-var-som-symphony.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2020 Variscite Ltd. 9 /dts-v1/; 11 #include <dt-bindings/usb/pd.h> 12 #include "imx8mn-var-som.dtsi" 15 model = "Variscite VAR-SOM-MX8MN Symphony evaluation board"; 16 compatible = "variscite,var-som-mx8mn-symphony", "variscite,var-som-mx8mn", "fsl,imx8mn"; 18 reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 19 compatible = "regulator-fixed"; 20 pinctrl-names = "default"; [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun5i-a13-pocketbook-touch-lux-3.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 /dts-v1/; 7 #include "sun5i-a13.dtsi" 8 #include "sunxi-common-regulators.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/pwm/pwm.h> 15 model = "PocketBook Touch Lux 3"; 16 compatible = "pocketbook,touch-lux-3", "allwinner,sun5i-a13"; [all …]
|
| /linux/arch/arm64/boot/dts/exynos/ |
| H A D | exynos5433-tm2e.dts | 1 // SPDX-License-Identifier: GPL-2.0 11 #include "exynos5433-tm2-common.dtsi" 16 chassis-type = "handset"; 25 assigned-clocks = <&cmu_disp CLK_FOUT_DISP_PLL>, 38 assigned-clock-parents = <0>, <0>, 50 assigned-clock-rates = <278000000>, <400000000>; 57 vdd3-supply = <&ldo27_reg>; 58 vci-supply = <&ldo28_reg>; 59 reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>; 60 enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 peripherals connected to SPI or I2C. 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 24 - st,stmpe801 25 - st,stmpe811 26 - st,stmpe1600 [all …]
|
| /linux/Documentation/leds/ |
| H A D | well-known-leds.txt | 1 -*- org -*- 17 Notice there's a list of functions in include/dt-bindings/leds/common.h . 22 used on game consoles in which multiple controllers can be connected to a system. 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. 31 Good: "input*:*:player-{1,2,3,4,5} 38 Legacy: "shift-key-light" (Motorola Droid 4, capslock) 47 Legacy: "button-backlight" (Motorola Droid 4) 49 Some phones have touch buttons below screen; it is different from main 62 Legacy: "status-led:{red,green,blue}" (Motorola Droid 4) [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | stmfts.c | 1 // SPDX-License-Identifier: GPL-2.0 54 /* multi touch related event masks */ 61 /* key related event masks */ 116 if (value != sdata->led_status && sdata->ledvdd) { in stmfts_brightness_set() 118 regulator_disable(sdata->ledvdd); in stmfts_brightness_set() 120 err = regulator_enable(sdata->ledvdd); in stmfts_brightness_set() 122 dev_warn(&sdata->client->dev, in stmfts_brightness_set() 128 sdata->led_status = value; in stmfts_brightness_set() 139 return !!regulator_is_enabled(sdata->ledvdd); in stmfts_brightness_get() 151 .addr = sdata->client->addr, in stmfts_read_events() [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS7222A/B/C/D Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 14 capacitive touch controllers that feature additional sensing capabilities. 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 transmitters, touch capture and a software defined radio receiver. In addition a 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present [all …]
|
| /linux/include/uapi/linux/ |
| H A D | input-event-codes.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 6 * This file is not only included from C-code but also from devicetree source 9 * Copyright (c) 1999-2002 Vojtech Pavlik 26 #define INPUT_PROP_SEMI_MT 0x03 /* touch rectangle only */ 71 * AC - Application Control 72 * AL - Application Launch Button 73 * SC - System Control 308 outputs (Monitor/LCD/TV-out/etc) */ 338 #define KEY_RFKILL 247 /* Key that controls all radios */ 513 #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */ [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | applespi.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2015-2018 Federico Lorenzi 6 * Copyright (c) 2017-2018 Ronald Tschalär 12 * pins are only connected on the MacBookAir6 and 7 and the MacBookPro12. 24 * UIEN and UIST are only provided on models where the USB pins are connected. 26 * SPI-based Protocol 27 * ------------------ 40 * fixed, 256-byte size). In that case it will be split over multiple, 85 ((KBD_BL_LEVEL_MAX - KBD_BL_LEVEL_MIN) * KBD_BL_LEVEL_SCALE / 255U) 98 MODULE_PARM_DESC(fnmode, "Mode of Fn key on Apple keyboards (0 = disabled, [1] = fkeyslast, 2 = fke… [all …]
|
| H A 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 22 #include <linux/input/vivaldi-fmap.h> 58 MODULE_PARM_DESC(scroll, "Enable scroll-wheel on MS Office and similar keyboards"); 66 MODULE_PARM_DESC(terminal, "Enable break codes on an IBM Terminal keyboard connected via AT/PS2"); 236 /* Serializes reconnect(), attr->set() and event work */ 243 * System-specific keymap fixup routine 309 return vivaldi_function_row_physmap_show(&atkbd->vdata, buf); in atkbd_show_function_row_physmap() 327 !atkbd->vdata.num_function_row_keys) in atkbd_attr_is_visible() [all …]
|
| /linux/arch/arm/mach-s3c/ |
| H A D | mach-crag6410.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/input-event-codes.h> 33 #include <linux/platform_data/s3c-hsotg.h> 43 #include <asm/mach-types.h> 47 #include "regs-gpio.h" 48 #include "gpio-samsung.h" 53 #include "gpio-cfg.h" 54 #include <linux/platform_data/spi-s3c64xx.h> 59 #include <linux/platform_data/i2c-s3c2410.h> 64 #include "regs-gpio-memport-s3c64xx.h" [all …]
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2019-2021 Marvell International Ltd. All rights reserved */ 28 struct prestera_kern_neigh_cache_key key; member 47 struct prestera_kern_fib_cache_key key; member 68 .key_offset = offsetof(struct prestera_kern_neigh_cache, key), 75 .key_offset = offsetof(struct prestera_kern_fib_cache, key), 94 struct prestera_kern_fib_cache_key *key) in prestera_util_fen_info2fib_cache_key() argument 99 memset(key, 0, sizeof(*key)); in prestera_util_fen_info2fib_cache_key() 100 key->addr.v = PRESTERA_IPV4; in prestera_util_fen_info2fib_cache_key() 101 key->addr.u.ipv4 = cpu_to_be32(fen_info->dst); in prestera_util_fen_info2fib_cache_key() [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-apq8060-dragonboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 7 #include "qcom-msm8660.dtsi" 12 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 19 stdout-path = "serial0:115200n8"; 23 vph: regulator-fixed { [all …]
|
| /linux/drivers/extcon/ |
| H A D | extcon-max77693.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // extcon-max77693.c - MAX77693 extcon driver to support MAX77693 MUIC 8 #include <linux/devm-helpers.h> 18 #include <linux/mfd/max77693-common.h> 19 #include <linux/mfd/max77693-private.h> 20 #include <linux/extcon-provider.h> 24 #define DEV_NAME "max77693-muic" 30 * extcon-max77693 driver use 'default_init_data' to bring up base operation 35 /* STATUS2 - [3]ChgDetRun */ 39 /* INTMASK1 - Unmask [3]ADC1KM,[0]ADCM */ [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8939-samsung-a7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra30-lg-x3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/mfd/max77620.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra30-cpu-opp.dtsi" 11 #include "tegra30-cpu-opp-microvolt.dtsi" 14 chassis-type = "handset"; 30 * pre-existing /chosen node to be available to insert the [all …]
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-clt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved. 6 * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved. 7 * Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved. 17 #include "rtrs-clt.h" 18 #include "rtrs-log.h" 19 #include "rtrs-clt-trace.h" 49 .name = "rtrs-client", 55 bool connected = false; in rtrs_clt_is_connected() local 58 list_for_each_entry_rcu(clt_path, &clt->paths_list, s.entry) in rtrs_clt_is_connected() [all …]
|