Home
last modified time | relevance | path

Searched +full:deep +full:- +full:touch (Results 1 – 25 of 61) sorted by relevance

123

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Diqs269a.yaml1 # 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 …]
Diqs62x-keys.yaml1 # 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 …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dauo-pixcir-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for AUO in-cell touchscreens
7 * loosely based on auo_touch.c from Dell Streak vendor-kernel
23 #include <linux/input/auo-pixcir-ts.h>
77 * sleep: scan speed 10Hz can be auto-activated, wakeup on 1st touch
78 * deep sleep: scan speed 1Hz can only be entered or left manually.
127 struct i2c_client *client = ts->client; in auo_pixcir_collect_data()
128 const struct auo_pixcir_ts_platdata *pdata = ts->pdata; in auo_pixcir_collect_data()
133 /* touch coordinates */ in auo_pixcir_collect_data()
137 dev_err(&client->dev, "failed to read coordinate, %d\n", ret); in auo_pixcir_collect_data()
[all …]
Dcyttsp4_core.c1 // SPDX-License-Identifier: GPL-2.0-only
57 max = (CY_MAX_PRBUF_SIZE - 1) - sizeof(CY_PR_TRUNCATED); in cyttsp4_pr_buf()
63 dev_vdbg(dev, "%s: %s[0..%d]=%s%s\n", __func__, data_name, size - 1, in cyttsp4_pr_buf()
72 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs()
73 struct device *dev = cd->dev; in cyttsp4_load_status_regs()
76 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, in cyttsp4_load_status_regs()
77 si->xy_mode); in cyttsp4_load_status_regs()
82 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, in cyttsp4_load_status_regs()
83 si->si_ofs.mode_size, "xy_mode"); in cyttsp4_load_status_regs()
102 dev_err(cd->dev, "%s: bus write fail on handshake (ret=%d)\n", in cyttsp4_handshake()
[all …]
Datmel_mxt_ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2011-2014 Atmel Corporation
29 #include <media/v4l2-device.h>
30 #include <media/v4l2-ioctl.h>
31 #include <media/videobuf2-v4l2.h>
32 #include <media/videobuf2-vmalloc.h>
158 /* T100 Multiple Touch Touchscreen */
352 return obj->size_minus_one + 1; in mxt_obj_size()
357 return obj->instances_minus_one + 1; in mxt_obj_instances()
397 dev_dbg(&data->client->dev, "message: %*ph\n", in mxt_dump_message()
[all …]
/kernel/linux/linux-4.19/drivers/input/touchscreen/
Dauo-pixcir-ts.c2 * Driver for AUO in-cell touchscreens
6 * loosely based on auo_touch.c from Dell Streak vendor-kernel
33 #include <linux/input/auo-pixcir-ts.h>
87 * sleep: scan speed 10Hz can be auto-activated, wakeup on 1st touch
88 * deep sleep: scan speed 1Hz can only be entered or left manually.
137 struct i2c_client *client = ts->client; in auo_pixcir_collect_data()
138 const struct auo_pixcir_ts_platdata *pdata = ts->pdata; in auo_pixcir_collect_data()
143 /* touch coordinates */ in auo_pixcir_collect_data()
147 dev_err(&client->dev, "failed to read coordinate, %d\n", ret); in auo_pixcir_collect_data()
151 /* touch area */ in auo_pixcir_collect_data()
[all …]
Dcyttsp4_core.c67 max = (CY_MAX_PRBUF_SIZE - 1) - sizeof(CY_PR_TRUNCATED); in cyttsp4_pr_buf()
73 dev_vdbg(dev, "%s: %s[0..%d]=%s%s\n", __func__, data_name, size - 1, in cyttsp4_pr_buf()
82 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs()
83 struct device *dev = cd->dev; in cyttsp4_load_status_regs()
86 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, in cyttsp4_load_status_regs()
87 si->xy_mode); in cyttsp4_load_status_regs()
92 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, in cyttsp4_load_status_regs()
93 si->si_ofs.mode_size, "xy_mode"); in cyttsp4_load_status_regs()
112 dev_err(cd->dev, "%s: bus write fail on handshake (ret=%d)\n", in cyttsp4_handshake()
123 dev_err(cd->dev, "%s: FAILED to execute SOFT reset\n", in cyttsp4_hw_soft_reset()
[all …]
Datmel_mxt_ts.c5 * Copyright (C) 2011-2014 Atmel Corporation
34 #include <media/v4l2-device.h>
35 #include <media/v4l2-ioctl.h>
36 #include <media/videobuf2-v4l2.h>
37 #include <media/videobuf2-vmalloc.h>
162 /* T100 Multiple Touch Touchscreen */
364 return obj->size_minus_one + 1; in mxt_obj_size()
369 return obj->instances_minus_one + 1; in mxt_obj_instances()
409 dev_dbg(&data->client->dev, "message: %*ph\n", in mxt_dump_message()
410 data->T5_msg_size, message); in mxt_dump_message()
[all …]
/kernel/linux/linux-4.19/drivers/input/mouse/
Dcyapa_gen5.c6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
21 #include <linux/crc-itu-t.h>
33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \
141 * Bit 7 - 3: reserved
142 * Bit 2 - 0: touch type;
146 * 3 - 15 : reserved.
151 * Bit 7: indicates touch liftoff status.
152 * 0 : touch is currently on the panel.
153 * 1 : touch record indicates a liftoff.
154 * Bit 6 - 5: indicates an event associated with this touch instance
[all …]
Dcyapa.c9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc.
10 * Copyright (C) 2011-2012 Google, Inc.
46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode()
49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode()
57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode()
60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode()
71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode()
72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode()
73 cyapa->state <= CYAPA_STATE_BL_ACTIVE) in cyapa_is_bootloader_mode()
84 if (cyapa->gen == CYAPA_GEN3 && cyapa->state == CYAPA_STATE_OP) in cyapa_is_operational_mode()
[all …]
/kernel/linux/linux-5.10/drivers/input/mouse/
Dcyapa_gen5.c6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
21 #include <linux/crc-itu-t.h>
33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \
141 * Bit 7 - 3: reserved
142 * Bit 2 - 0: touch type;
146 * 3 - 15 : reserved.
151 * Bit 7: indicates touch liftoff status.
152 * 0 : touch is currently on the panel.
153 * 1 : touch record indicates a liftoff.
154 * Bit 6 - 5: indicates an event associated with this touch instance
[all …]
Dcyapa.c9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc.
10 * Copyright (C) 2011-2012 Google, Inc.
46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode()
49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode()
57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode()
60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode()
71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode()
72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode()
73 cyapa->state <= CYAPA_STATE_BL_ACTIVE) in cyapa_is_bootloader_mode()
84 if (cyapa->gen == CYAPA_GEN3 && cyapa->state == CYAPA_STATE_OP) in cyapa_is_operational_mode()
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-imx/
Dmach-kzm_arm11_01.c2 * KZM-ARM11-01 support
3 * Copyright (C) 2009 Yoichi Yuasa <yuasa@linux-mips.org>
6 * Copyright (C) 2000 Deep Blue Solutions Ltd
8 * Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved.
31 #include <asm/mach-types.h>
40 #include "devices-imx31.h"
42 #include "iomux-mx3.h"
50 * KZM-ARM11-01 Board Control Registers on FPGA
62 * External UART for touch panel on FPGA
68 * KZM-ARM11-01 has an external UART on FPGA
[all …]
/kernel/linux/linux-4.19/drivers/platform/chrome/
Dchromeos_laptop.c1 // SPDX-License-Identifier: GPL-2.0+
82 const unsigned short addr_list[] = { info->addr, I2C_CLIENT_END }; in chromes_laptop_instantiate_i2c_device()
93 I2C_BOARD_INFO("dummy", info->addr), in chromes_laptop_instantiate_i2c_device()
103 pr_debug("%d-%02x is probed at %02x\n", in chromes_laptop_instantiate_i2c_device()
104 adapter->nr, info->addr, dummy->addr); in chromes_laptop_instantiate_i2c_device()
111 pr_debug("failed to register device %d-%02x\n", in chromes_laptop_instantiate_i2c_device()
112 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device()
114 pr_debug("added i2c device %d-%02x\n", in chromes_laptop_instantiate_i2c_device()
115 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device()
128 return devid == PCI_DEVID(pdev->bus->number, pdev->devfn); in chromeos_laptop_match_adapter_devid()
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dchromeos_laptop.c1 // SPDX-License-Identifier: GPL-2.0+
82 const unsigned short addr_list[] = { info->addr, I2C_CLIENT_END }; in chromes_laptop_instantiate_i2c_device()
93 I2C_BOARD_INFO("dummy", info->addr), in chromes_laptop_instantiate_i2c_device()
103 pr_debug("%d-%02x is probed at %02x\n", in chromes_laptop_instantiate_i2c_device()
104 adapter->nr, info->addr, dummy->addr); in chromes_laptop_instantiate_i2c_device()
112 pr_debug("failed to register device %d-%02x\n", in chromes_laptop_instantiate_i2c_device()
113 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device()
115 pr_debug("added i2c device %d-%02x\n", in chromes_laptop_instantiate_i2c_device()
116 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device()
138 for (i = 0; i < cros_laptop->num_i2c_peripherals; i++) { in chromeos_laptop_check_adapter()
[all …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dcap11xx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Input driver for Microchip CAP11xx based capacitive touch sensors
185 ret = regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, 1, 0); in cap11xx_thread_func()
189 ret = regmap_read(priv->regmap, CAP11XX_REG_SENSOR_INPUT, &status); in cap11xx_thread_func()
193 for (i = 0; i < priv->idev->keycodemax; i++) in cap11xx_thread_func()
194 input_report_key(priv->idev, priv->keycodes[i], in cap11xx_thread_func()
197 input_sync(priv->idev); in cap11xx_thread_func()
208 if (IS_ENABLED(CONFIG_LEDS_CLASS) && priv->num_leds) in cap11xx_set_sleep()
211 return regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, in cap11xx_set_sleep()
235 struct cap11xx_priv *priv = led->priv; in cap11xx_led_set()
[all …]
/kernel/linux/linux-4.19/drivers/input/keyboard/
Dcap11xx.c2 * Input driver for Microchip CAP11xx based capacitive touch sensors
188 ret = regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, 1, 0); in cap11xx_thread_func()
192 ret = regmap_read(priv->regmap, CAP11XX_REG_SENSOR_INPUT, &status); in cap11xx_thread_func()
196 for (i = 0; i < priv->idev->keycodemax; i++) in cap11xx_thread_func()
197 input_report_key(priv->idev, priv->keycodes[i], in cap11xx_thread_func()
200 input_sync(priv->idev); in cap11xx_thread_func()
211 if (IS_ENABLED(CONFIG_LEDS_CLASS) && priv->num_leds) in cap11xx_set_sleep()
214 return regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, in cap11xx_set_sleep()
238 struct cap11xx_priv *priv = led->priv; in cap11xx_led_set()
245 return regmap_update_bits(priv->regmap, in cap11xx_led_set()
[all …]
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Dbugs.c1 // SPDX-License-Identifier: GPL-2.0
4 * bad alignment, bad loops, bad locking, bad scheduling, deep stacks, and
42 * - function marked noinline
43 * - stack variables are marked volatile
44 * - stack variables are written (memset()) and read (pr_info())
45 * - function has external effects (pr_info())
57 return recursive_loop(remaining - 1); in recursive_loop()
125 /* Same as above but will only get a canary with -fstack-protector-strong */
180 volatile unsigned int huge = INT_MAX - 2;
212 /* Intentionally using old-style flex array definition of 1 byte. */
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/
Dpxa3xx-regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
30 #define PWER __REG(0x40F50010) /* Power Manager Wake-up Enable Register */
31 #define PWSR __REG(0x40F50014) /* Power Manager Wake-up Status Register */
33 #define DCDCSR __REG(0x40F50080) /* DC-DC Controller Status Register */
42 #define AD3ER __REG(0x40f40008) /* Application Subsystem Wake-Up from D3 Enable */
43 #define AD3SR __REG(0x40f4000c) /* Application Subsystem Wake-Up from D3 Status */
44 #define AD2D0ER __REG(0x40f40010) /* Application Subsystem Wake-Up from D2 to D0 Enable */
45 #define AD2D0SR __REG(0x40f40014) /* Application Subsystem Wake-Up from D2 to D0 Status */
46 #define AD2D1ER __REG(0x40f40018) /* Application Subsystem Wake-Up from D2 to D1 Enable */
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-pxa/include/mach/
Dpxa3xx-regs.h2 * arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
33 #define PWER __REG(0x40F50010) /* Power Manager Wake-up Enable Register */
34 #define PWSR __REG(0x40F50014) /* Power Manager Wake-up Status Register */
36 #define DCDCSR __REG(0x40F50080) /* DC-DC Controller Status Register */
45 #define AD3ER __REG(0x40f40008) /* Application Subsystem Wake-Up from D3 Enable */
46 #define AD3SR __REG(0x40f4000c) /* Application Subsystem Wake-Up from D3 Status */
47 #define AD2D0ER __REG(0x40f40010) /* Application Subsystem Wake-Up from D2 to D0 Enable */
48 #define AD2D0SR __REG(0x40f40014) /* Application Subsystem Wake-Up from D2 to D0 Status */
49 #define AD2D1ER __REG(0x40f40018) /* Application Subsystem Wake-Up from D2 to D1 Enable */
50 #define AD2D1SR __REG(0x40f4001c) /* Application Subsystem Wake-Up from D2 to D1 Status */
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Diqs269a.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Azoteq IQS269A Capacitive Touch Controller
8 * inductive keys as well as Hall-effect switches, and one for each of the two
149 #define IQS269_ATI_POLL_SLEEP_US (iqs269->delay_mult * 10000)
150 #define IQS269_ATI_POLL_TIMEOUT_US (iqs269->delay_mult * 500000)
151 #define IQS269_ATI_STABLE_DELAY_MS (iqs269->delay_mult * 150)
201 .name = "event-prox",
207 .name = "event-prox-alt",
214 .name = "event-touch",
220 .name = "event-touch-alt",
[all …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dgdsc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2015, 2017-2018, The Linux Foundation. All rights reserved.
16 #include <linux/reset-controller.h>
60 if (sc->flags & POLL_CFG_GDSCR) in gdsc_check_status()
61 reg = sc->gdscr + CFG_GDSCR_OFFSET; in gdsc_check_status()
62 else if (sc->gds_hw_ctrl) in gdsc_check_status()
63 reg = sc->gds_hw_ctrl; in gdsc_check_status()
65 reg = sc->gdscr; in gdsc_check_status()
67 ret = regmap_read(sc->regmap, reg, &val); in gdsc_check_status()
71 if (sc->flags & POLL_CFG_GDSCR) { in gdsc_check_status()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dserial_core.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (C) 2000 Deep Blue Solutions Ltd.
24 ((port)->cons && (port)->cons->index == (port)->line)
36 * physical hardware. See Documentation/driver-api/serial/driver.rst for details.
149 #define UPIO_MEM (SERIAL_IO_MEM) /* driver-specific */
175 * The remaining bits are serial-core specific and not modifiable by
194 /* Port has hardware-assisted h/w flow control */
198 /* Port has hardware-assisted s/w flow control */
216 #error Change mask not equivalent to userspace-visible bit defines
232 int hw_stopped; /* sw-assisted CTS flow state */
[all …]
/kernel/linux/linux-4.19/include/linux/
Dserial_core.h4 * Copyright (C) 2000 Deep Blue Solutions Ltd.
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
36 ((port)->cons && (port)->cons->index == (port)->line)
158 #define UPIO_MEM (SERIAL_IO_MEM) /* driver-specific */
189 * The remaining bits are serial-core specific and not modifiable by
208 /* Port has hardware-assisted h/w flow control */
212 /* Port has hardware-assisted s/w flow control */
230 #error Change mask not equivalent to userspace-visible bit defines
246 int hw_stopped; /* sw-assisted CTS flow state */
248 unsigned int timeout; /* character-based timeout */
[all …]
/kernel/linux/linux-4.19/include/drm/
Ddrm_connector.h48 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */
52 * enum drm_connector_status - status for a &drm_connector
67 * nothing there. It is driver-dependent whether a connector with this
74 * flicker (like load-detection when the connector is in use), or when a
75 * hardware resource isn't available (like when load-detection needs a
109 * struct drm_scdc - Information about scdc capabilities of a HDMI 2.0 sink
131 * struct drm_hdmi_info - runtime information about the connected HDMI sink
134 * This information is available in CEA-861-F extension blocks (like HF-VSDB).
143 * 107 VICs defined by CEA-861-F spec, so the size is 128 bits to map
151 * VICs defined by CEA-861-F spec, so the size is 128 bits to map upto
[all …]

123