/Linux-v5.10/drivers/input/touchscreen/ |
D | da9034-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2006-2008 Marvell International Ltd. 66 static inline int is_pen_down(struct da9034_touch *touch) in is_pen_down() argument 68 return da903x_query_status(touch->da9034_dev, DA9034_STATUS_PEN_DOWN); in is_pen_down() 71 static inline int detect_pen_down(struct da9034_touch *touch, int on) in detect_pen_down() argument 74 return da903x_set_bits(touch->da9034_dev, in detect_pen_down() 77 return da903x_clr_bits(touch->da9034_dev, in detect_pen_down() 81 static int read_tsi(struct da9034_touch *touch) in read_tsi() argument 86 ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); in read_tsi() 90 ret = da903x_read(touch->da9034_dev, DA9034_TSI_Y_MSB, &_y); in read_tsi() [all …]
|
D | chipone_icn8318.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 __u8 event; member 61 .addr = client->addr, in icn8318_read_touch_data() 66 .addr = client->addr, in icn8318_read_touch_data() 73 return i2c_transfer(client->adapter, msg, 2); in icn8318_read_touch_data() 76 static inline bool icn8318_touch_active(u8 event) in icn8318_touch_active() argument 78 return (event == ICN8318_EVENT_UPDATE1) || in icn8318_touch_active() 79 (event == ICN8318_EVENT_UPDATE2); in icn8318_touch_active() 85 struct device *dev = &data->client->dev; in icn8318_irq() 89 ret = icn8318_read_touch_data(data->client, &touch_data); in icn8318_irq() [all …]
|
D | s6sy761.c | 1 // SPDX-License-Identifier: GPL-2.0 60 /* event id */ 64 /* event register masks */ 74 /* event touch state values */ 122 .addr = sdata->client->addr, in s6sy761_read_events() 127 .addr = sdata->client->addr, in s6sy761_read_events() 130 .buf = sdata->data + S6SY761_EVENT_SIZE, in s6sy761_read_events() 135 ret = i2c_transfer(sdata->client->adapter, msgs, ARRAY_SIZE(msgs)); in s6sy761_read_events() 139 return ret == ARRAY_SIZE(msgs) ? 0 : -EIO; in s6sy761_read_events() 143 u8 *event, u8 tid) in s6sy761_report_coordinates() argument [all …]
|
D | chipone_icn8505.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2015-2018 Red Hat Inc. 54 u8 event; member 97 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_read_xfer() 99 ret = i2c_transfer(client->adapter, msg, 2); in icn8505_read_xfer() 102 ret = -EIO; in icn8505_read_xfer() 104 dev_err(&client->dev, in icn8505_read_xfer() 117 u8 buf[3 + 32]; /* 3 bytes for 24 bit reg-addr + 32 bytes max len */ in icn8505_write_xfer() 126 return -EINVAL; in icn8505_write_xfer() 129 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_write_xfer() [all …]
|
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 …]
|
D | mainstone-wm97xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * mainstone-wm97xx.c -- Mainstone Continuous Touch screen driver for 12 * This is a wm97xx extended touch driver to capture touch 16 * - codecs supported:- WM9705, WM9712, WM9713 17 * - processors supported:- Intel XScale PXA25x, PXA26x, PXA27x 30 #include <mach/regs-ac97.h> 32 #include <asm/mach-types.h> 74 * event. If the irq request fails then it will fall back to polling mode. 90 * AC97 touch data slot. 92 * Touch screen readback data ac97 slot [all …]
|
D | mc13783_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. 20 #define MC13783_TS_NAME "mc13783-ts" 38 struct mc13xxx_ts_platform_data *touch; member 45 mc13xxx_irq_ack(priv->mc13xxx, irq); in mc13783_ts_handler() 53 schedule_delayed_work(&priv->work, 0); in mc13783_ts_handler() 69 struct input_dev *idev = priv->idev; in mc13783_ts_report_sample() 74 * the values are 10-bit wide only, but the two least significant in mc13783_ts_report_sample() 77 x0 = priv->sample[0] & 0xfff; in mc13783_ts_report_sample() 78 x1 = priv->sample[1] & 0xfff; in mc13783_ts_report_sample() [all …]
|
/Linux-v5.10/Documentation/input/ |
D | multi-touch-protocol.rst | 4 Multi-touch (MT) Protocol 7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se> 11 ------------ 13 In order to utilize the full power of the new multi-touch and multi-user 16 document describes the multi-touch (MT) protocol which allows kernel 23 describes how to send updates for individual contacts via event slots. 30 -------------- 34 packet. Since these events are ignored by current single-touch (ST) 40 event, which instructs the receiver to accept the data for the current 45 This generates an ABS_MT_SLOT event, which instructs the receiver to [all …]
|
D | event-codes.rst | 1 .. _input-event-codes: 4 Input event codes 12 A single hardware event generates multiple input events. Each input event 13 contains the new value of a single data item. A special event type, EV_SYN, is 15 the same moment in time. In the following, the term "event" refers to a single 16 input event encompassing a type, code, and value. 19 of event codes have changed. However, the state is maintained within the Linux 22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event 24 class/input/event*/device/capabilities/, and the properties of a device are 25 provided in class/input/event*/device/properties. [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS269A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: [all …]
|
D | iqs62x-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 20 further details and examples. Sensor hardware configuration (self-capacitive 21 vs. mutual-inductive, etc.) is selected based on the device's firmware. 26 - azoteq,iqs620a-keys [all …]
|
/Linux-v5.10/include/xen/interface/io/ |
D | kbdif.h | 2 * kbdif.h -- Xen virtual keyboard/mouse 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 * The two halves of a para-virtual driver utilize nodes within 48 *---------------------------- Features supported ---------------------------- 54 * feature-disable-keyboard 60 * feature-disable-pointer 66 * feature-abs-pointer 72 * feature-multi-touch 75 * Backends, which support reporting of multi-touch events 78 * feature-raw-pointer [all …]
|
D | pciif.h | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 52 #define XEN_PCI_ERR_dev_not_found (-1) 53 #define XEN_PCI_ERR_invalid_offset (-2) 54 #define XEN_PCI_ERR_access_denied (-3) 55 #define XEN_PCI_ERR_not_implemented (-4) 56 /* XEN_PCI_ERR_op_failed - backend failed to complete the operation */ 57 #define XEN_PCI_ERR_op_failed (-5) 60 * it should be PAGE_SIZE-sizeof(struct xen_pci_op))/sizeof(struct msix_entry)) 76 /* IN: which device to touch */ 81 /* IN: which configuration registers to touch */ [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/ |
D | imx6ul_tsc.txt | 1 * Freescale i.MX6UL Touch Controller 4 - compatible: must be "fsl,imx6ul-tsc". 5 - reg: this touch controller address and the ADC2 address. 6 - interrupts: the interrupt of this touch controller and ADC2. 7 - clocks: the root clock of touch controller and ADC2. 8 - clock-names; must be "tsc" and "adc". 9 - xnur-gpio: the X- gpio this controller connect to. 10 This xnur-gpio returns to low once the finger leave the touch screen (The 11 last touch event the touch controller capture). 14 - measure-delay-time: the value of measure delay time. [all …]
|
D | bu21013.txt | 1 * Rohm BU21013 Touch Screen 4 - compatible : "rohm,bu21013_tp" 5 - reg : I2C device address 6 - reset-gpios : GPIO pin enabling (selecting) chip (CS) 7 - interrupt-parent : the phandle for the gpio controller 8 - interrupts : (gpio) interrupt to which the chip is connected 11 - touch-gpios : GPIO pin registering a touch event 12 - <supply_name>-supply : Phandle to a regulator supply 13 - touchscreen-size-x : General touchscreen binding, see [1]. 14 - touchscreen-size-y : General touchscreen binding, see [1]. [all …]
|
D | st,stmfts.txt | 1 * ST-Microelectronics FingerTip touchscreen controller 3 The ST-Microelectronics FingerTip device provides a basic touchscreen 7 The driver supports also hovering as an absolute single touch event with x, y, z 11 - compatible : must be "st,stmfts" 12 - reg : I2C slave address, (e.g. 0x49) 13 - interrupts : interrupt specification 14 - avdd-supply : analogic power supply 15 - vdd-supply : power supply 16 - touchscreen-size-x : see touchscreen.txt 17 - touchscreen-size-y : see touchscreen.txt [all …]
|
D | ads7846.txt | 2 SPI driven touch screen controllers. 7 Documentation/devicetree/bindings/spi/spi-bus.txt 23 vcc-supply A regulator node for the supply voltage. 28 ti,vref-delay-usecs vref supply delay in usecs, 0 for 30 ti,vref-mv The VREF voltage, in millivolts (u16). 33 ti,keep-vref-on set to keep vref on for differential 35 ti,settle-delay-usec Settling time of the analog signals; 37 on the X/Y drivers. If set to non-zero, 41 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are 45 material used to build the touch layer [all …]
|
/Linux-v5.10/tools/perf/tests/shell/ |
D | test_arm_coresight.sh | 9 # SPDX-License-Identifier: GPL-2.0 16 perf list | grep -q 'cs_etm//' && return 0 18 # cs_etm event doesn't exist 26 rm -f ${perfdata} 27 rm -f ${file} 34 rm -f $file 35 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \ 36 -- taskset -c $2 touch $file 43 …# touch 6512 1 branches:u: ffffb220824c strcmp+0xc (/lib/aarch64-linux-gn… 44 …# touch 6512 1 branches:u: ffffb22082e0 strcmp+0xa0 (/lib/aarch64-linux-g… [all …]
|
/Linux-v5.10/drivers/input/mouse/ |
D | synaptics_i2c.c | 230 static inline void set_scan_rate(struct synaptics_i2c *touch, int scan_rate) in set_scan_rate() argument 232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate() 233 touch->scan_rate_param = scan_rate; in set_scan_rate() 311 dev_err(&client->dev, "Unable to reset device\n"); in synaptics_i2c_reset_config() 316 dev_err(&client->dev, "Unable to config device\n"); in synaptics_i2c_reset_config() 335 static bool synaptics_i2c_get_input(struct synaptics_i2c *touch) in synaptics_i2c_get_input() argument 337 struct input_dev *input = touch->input; in synaptics_i2c_get_input() 343 if (synaptics_i2c_check_error(touch->client)) in synaptics_i2c_get_input() 347 data = synaptics_i2c_reg_get(touch->client, DATA_REG0); in synaptics_i2c_get_input() 354 xy_delta = synaptics_i2c_word_get(touch->client, REL_X_REG) & 0xffff; in synaptics_i2c_get_input() [all …]
|
/Linux-v5.10/drivers/hid/ |
D | hid-magicmouse.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include "hid-ids.h" 26 static int middle_button_start = -350; 38 return -EINVAL; in param_set_scroll_speed() 51 …ARM_DESC(report_undeciphered, "Report undeciphered multi-touch state field using a MSC_RAW event"); 59 * 0x03 seem to indicate the aspect ratio of the touch, bits 0x70 seem 60 * to be some kind of bit mask -- 0x20 may be a near-field reading, 71 /* Touch surface information. Dimension is in hundredths of a mm, min and max 74 #define MOUSE_MIN_X -1100 76 #define MOUSE_RES_X ((MOUSE_MAX_X - MOUSE_MIN_X) / (MOUSE_DIMENSION_X / 100)) [all …]
|
D | hid-ntrig.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HID driver for N-Trig touchscreens 5 * Copyright (c) 2008-2010 Rafi Rubin 6 * Copyright (c) 2009-2010 Stephane Chatty 19 #include "hid-ids.h" 25 MODULE_PARM_DESC(min_width, "Minimum touch contact width to accept."); 29 MODULE_PARM_DESC(min_height, "Minimum touch contact height to accept."); 33 MODULE_PARM_DESC(activate_slack, "Number of touch frames to ignore at " 34 "the start of touch input."); 39 "deactivating touch."); [all …]
|
/Linux-v5.10/Documentation/input/devices/ |
D | bcm5974.rst | 3 ------------------------ 5 ------------------------ 7 :Copyright: |copy| 2008-2009 Henrik Rydberg <rydberg@euromail.se> 10 part of the touchd user-space driver project: 16 :Copyright: |copy| 2001-2004 Greg Kroah-Hartman (greg@kroah.com) 19 :Copyright: |copy| 2005 Frank Arnold (frank@scirocco-5v-turbo.de) 21 :Copyright: |copy| 2005 Michael Hanselmann (linux-kernel@hansmi.ch) 24 This driver adds support for the multi-touch trackpad on the new Apple 33 ----- 36 becomes available both as an event device (/dev/input/event*) and as a [all …]
|
/Linux-v5.10/Documentation/w1/ |
D | w1-netlink.rst | 21 [struct cn_msg] - connector header. 23 [struct w1_netlink_msg] - w1 netlink header. 24 __u8 type - message type. 36 (read/write/touch) 37 __u8 status - error indication from kernel 38 __u16 len - size of data attached to this header data 40 __u8 id[8]; - slave unique device id 42 __u32 id; - master's id 43 __u32 res; - reserved 47 [struct w1_netlink_cmd] - command for given master or slave device. [all …]
|
/Linux-v5.10/drivers/input/misc/ |
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-v5.10/scripts/selinux/ |
D | install_policy.sh | 2 # SPDX-License-Identifier: GPL-2.0 3 set -e 4 if [ `id -u` -ne 0 ]; then 10 if [ $? -eq 1 ]; then 17 if [ $? -eq 1 ]; then 22 VERS=`$CP -V | awk '{print $1}'` 25 if [ $? -eq 1 ]; then 27 echo "Do you have libselinux-utils installed?" 34 echo "Boot with selinux=0 on the kernel command-line or" 40 ./mdp -m policy.conf file_contexts [all …]
|