| /linux/drivers/input/touchscreen/ |
| A D | da9034-ts.c | 118 int x = touch->last_x; in report_pen_down() 119 int y = touch->last_y; in report_pen_down() 122 if (touch->x_inverted) in report_pen_down() 125 if (touch->y_inverted) in report_pen_down() 145 switch (touch->state) { in da9034_event_handler() 207 start_tsi(touch); in da9034_event_handler() 219 stop_tsi(touch); in da9034_event_handler() 251 ret = da903x_register_notifier(touch->da9034_dev, &touch->notifier, in da9034_touch_open() 281 da903x_unregister_notifier(touch->da9034_dev, &touch->notifier, in da9034_touch_close() 287 stop_tsi(touch); in da9034_touch_close() [all …]
|
| A D | 88pm860x-ts.c | 50 struct pm860x_touch *touch = data; in pm860x_touch_handler() local 84 input_sync(touch->idev); in pm860x_touch_handler() 182 struct pm860x_touch *touch; in pm860x_touch_probe() local 243 if (!touch) in pm860x_touch_probe() 247 if (!touch->idev) { in pm860x_touch_probe() 258 touch->chip = chip; in pm860x_touch_probe() 259 touch->i2c = i2c; in pm860x_touch_probe() 260 touch->irq = irq; in pm860x_touch_probe() 261 touch->res_x = res_x; in pm860x_touch_probe() 262 input_set_drvdata(touch->idev, touch); in pm860x_touch_probe() [all …]
|
| A D | mms114.c | 173 id = touch->id - 1; in mms114_process_mt() 174 x = touch->x_lo | touch->x_hi << 8; in mms114_process_mt() 175 y = touch->y_lo | touch->y_hi << 8; in mms114_process_mt() 179 id, touch->type, touch->pressed, in mms114_process_mt() 180 x, y, touch->width, touch->strength); in mms114_process_mt() 185 if (touch->pressed) { in mms114_process_mt() 199 if (touch->id == 0) in mms114_process_touchkey() 204 touch->id); in mms114_process_touchkey() 210 touch->pressed); in mms114_process_touchkey() 244 (u8 *)touch); in mms114_interrupt() [all …]
|
| A D | novatek-nvt-ts.c | 95 u8 *touch; in nvt_ts_irq() local 103 touch = &data->buf[i * NVT_TS_TOUCH_SIZE]; in nvt_ts_irq() 105 if (touch[0] == NVT_TS_TOUCH_INVALID) in nvt_ts_irq() 108 slot = touch[0] >> NVT_TS_TOUCH_SLOT_SHIFT; in nvt_ts_irq() 114 switch (touch[0] & NVT_TS_TOUCH_TYPE_MASK) { in nvt_ts_irq() 123 dev_warn(dev, "slot %d unknown state %d\n", slot, touch[0] & 7); in nvt_ts_irq() 128 x = (touch[1] << 4) | (touch[3] >> 4); in nvt_ts_irq() 129 y = (touch[2] << 4) | (touch[3] & 0x0f); in nvt_ts_irq()
|
| A D | wacom_w8001.c | 157 bool touch = data[0] & (1 << i); in parse_multi_touch() local 161 if (touch) { in parse_multi_touch() 465 struct w8001_touch_query touch; in w8001_setup_touch() local 486 w8001->max_touch_x = touch.x; in w8001_setup_touch() 487 w8001->max_touch_y = touch.y; in w8001_setup_touch() 491 touch.x = w8001->max_pen_x; in w8001_setup_touch() 492 touch.y = w8001->max_pen_y; in w8001_setup_touch() 493 touch.panel_res = W8001_PEN_RESOLUTION; in w8001_setup_touch() 501 switch (touch.sensor_id) { in w8001_setup_touch() 529 0, touch.x, 0, 0); in w8001_setup_touch() [all …]
|
| A D | usbtouchscreen.c | 103 int touch, press; member 136 dev->touch = (tmp > 0); in e2i_read_data() 492 int touch; in itm_read_data() local 501 touch = ~pkt[7] & 0x20; in itm_read_data() 502 if (!touch) { in itm_read_data() 503 if (dev->touch) { in itm_read_data() 504 dev->touch = 0; in itm_read_data() 513 dev->touch = touch; in itm_read_data() 877 dev->touch = 1; in zytronic_read_data() 884 dev->touch = 0; in zytronic_read_data() [all …]
|
| A D | mc13783_ts.c | 38 struct mc13xxx_ts_platform_data *touch; member 128 priv->touch->ato, priv->touch->atox, in mc13783_ts_work() 183 priv->touch = dev_get_platdata(&pdev->dev); in mc13783_ts_probe() 184 if (!priv->touch) { in mc13783_ts_probe()
|
| A D | chipone_icn8318.c | 112 struct icn8318_touch *touch = &touch_data.touches[i]; in icn8318_irq() local 113 bool act = icn8318_touch_active(touch->event); in icn8318_irq() 115 input_mt_slot(data->input, touch->slot); in icn8318_irq() 121 be16_to_cpu(touch->x), in icn8318_irq() 122 be16_to_cpu(touch->y), true); in icn8318_irq()
|
| /linux/drivers/input/mouse/ |
| A D | synaptics_i2c.c | 413 delay = touch->scan_ms; in synaptics_i2c_adjust_delay() 419 touch->no_data_count++; in synaptics_i2c_adjust_delay() 511 touch = kzalloc(sizeof(*touch), GFP_KERNEL); in synaptics_i2c_touch_create() 512 if (!touch) in synaptics_i2c_touch_create() 515 touch->client = client; in synaptics_i2c_touch_create() 521 return touch; in synaptics_i2c_touch_create() 530 if (!touch) in synaptics_i2c_probe() 541 if (!touch->input) { in synaptics_i2c_probe() 554 DRIVER_NAME, touch); in synaptics_i2c_probe() 584 kfree(touch); in synaptics_i2c_probe() [all …]
|
| A D | byd.c | 233 bool touch; member 241 input_report_key(dev, BTN_TOUCH, priv->touch); in byd_report_input() 242 input_report_key(dev, BTN_TOOL_FINGER, priv->touch); in byd_report_input() 258 priv->touch = false; in byd_clear_touch() 291 if (!priv->touch) { in byd_process_byte() 295 priv->touch = time_after(jiffies, tap_time); in byd_process_byte() 314 priv->touch = true; in byd_process_byte() 331 if (priv->touch) { in byd_process_byte()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| A D | dev-touch.rst | 16 Sensors may be Optical, or Projected Capacitive touch (PCT). 21 analogue front end device which delivers touch data at high rate, and any touch 24 For capacitive touch sensing, the touchscreen is composed of an array of 30 A touch input may be determined by comparing the raw capacitance measurement to 31 a no-touch reference (or "baseline") measurement: 36 the touch sensor matrix, for example manufacturing irregularities, 42 Devices supporting the touch interface set the ``V4L2_CAP_VIDEO_CAPTURE`` flag 50 The formats supported by touch devices are documented in 56 A touch device may support any I/O method.
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| A D | bu21013.txt | 11 - touch-gpios : GPIO pin registering a touch event 23 - rohm,touch-max-x : Maximum outward permitted limit in the X axis 24 - rohm,touch-max-y : Maximum outward permitted limit in the Y axis 25 - rohm,flip-x : Flip touch coordinates on the X axis 26 - rohm,flip-y : Flip touch coordinates on the Y axis 36 touch-gpio = <&gpio2 20 GPIO_ACTIVE_LOW>;
|
| A D | fsl,imx6ul-tsc.yaml | 20 - description: touch controller address 25 - description: touch controller address 40 low once the finger leave the touch screen (The last touch event 41 the touch controller capture). 55 The touch screen need some time to precharge.
|
| A D | resistive-adc-touch.yaml | 4 $id: http://devicetree.org/schemas/input/touchscreen/resistive-adc-touch.yaml# 22 const: resistive-adc-touch 68 compatible = "resistive-adc-touch"; 74 compatible = "resistive-adc-touch"; 81 compatible = "resistive-adc-touch";
|
| A D | azoteq,iqs7211.yaml | 66 azoteq,rate-touch-ms: 92 from active mode to idle or idle-touch modes. 94 azoteq,timeout-touch-ms: 100 from idle-touch mode to idle mode. 258 azoteq,touch-enter: 264 azoteq,touch-exit: 530 azoteq,touch-enter: 536 azoteq,touch-exit: 573 "^event-(prox|touch)$": 685 azoteq,touch-exit = <36>; [all …]
|
| /linux/drivers/hid/ |
| A D | hid-udraw-ps3.c | 105 int touch; in udraw_raw_event() local 112 touch = TOUCH_NONE; in udraw_raw_event() 114 touch = TOUCH_PEN; in udraw_raw_event() 116 touch = TOUCH_FINGER; in udraw_raw_event() 118 touch = TOUCH_TWOFINGER; in udraw_raw_event() 171 if (touch != TOUCH_NONE) { in udraw_raw_event() 178 if (touch == TOUCH_FINGER) { in udraw_raw_event() 213 if (touch == TOUCH_FINGER || touch == TOUCH_TWOFINGER) { in udraw_raw_event() 216 touch == TOUCH_FINGER); in udraw_raw_event() 218 touch == TOUCH_TWOFINGER); in udraw_raw_event() [all …]
|
| /linux/tools/testing/scatterlist/ |
| A D | Makefile | 28 @touch asm/io.h 29 @touch linux/highmem.h 30 @touch linux/kmemleak.h 31 @touch linux/slab.h
|
| /linux/Documentation/ABI/testing/ |
| A D | sysfs-driver-hid-ntrig | 7 start of activity (activating touch). 16 acknowledging the end of activity (deactivating touch). 34 start processing touch events. 37 start processing touch events. 49 min_width (RW) Minimum touch contact width to decide 52 min_height (RW) Minimum touch contact height to decide
|
| /linux/Documentation/devicetree/bindings/input/ |
| A D | microchip,cap11xx.yaml | 7 title: Microchip CAP11xx based capacitive touch sensors 11 touch controllers and LED drivers. The device communication via I2C only. 78 Controls the sensitivity multiplier of a touch detection. 81 capacitance corresponding to a "lighter" touch. 104 Specifies the delta threshold that is used to determine if a touch has 106 is required for a touch to be registered, making the touch sensor less 120 Gain is based on touch pad capacitance range 190 touch@28 {
|
| A D | atmel,captouch.yaml | 7 title: Atmel capacitive touch device 13 Atmel capacitive touch device, typically an Atmel touch sensor connected to 48 touch@51 {
|
| /linux/tools/testing/selftests/ia64/ |
| A D | aliasing-test.c | 24 static int map_mem(char *path, off_t offset, size_t length, int touch) in map_mem() argument 46 if (touch) { in map_mem() 62 static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch) in scan_tree() argument 89 rc = map_mem(path2, offset, length, touch); in scan_tree() 91 …fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree() 101 rc = scan_tree(path2, file, offset, length, touch); in scan_tree()
|
| /linux/arch/arm/boot/dts/st/ |
| A D | ste-href-stuib.dtsi | 109 rohm,touch-max-x = <384>; 110 rohm,touch-max-y = <704>; 121 rohm,touch-max-x = <384>; 122 rohm,touch-max-y = <704>; 177 touch { 180 * ROHM touch screen uses GPIO 143 for
|
| /linux/tools/testing/selftests/powerpc/benchmarks/ |
| A D | context_switch.c | 55 static void touch(void) in touch() function 189 touch(); in pipe_thread1() 192 touch(); in pipe_thread1() 204 touch(); in pipe_thread2() 207 touch(); in pipe_thread2() 234 touch(); in yield_thread1() 246 touch(); in yield_thread2()
|
| /linux/tools/perf/tests/shell/ |
| A D | test_arm_coresight.sh | 41 -- taskset -c $2 touch $file > /dev/null 2>&1 125 perf_script_branch_samples touch && 126 perf_report_branch_samples touch && 127 perf_report_instruction_samples touch
|
| /linux/drivers/media/rc/ |
| A D | imon.c | 1102 input_sync(ictx->touch); in imon_touch_display_timeout() 1384 input_sync(ictx->touch); in imon_touch_event() 2072 struct input_dev *touch; in imon_init_touch() local 2076 if (!touch) in imon_init_touch() 2089 touch->evbit[0] = in imon_init_touch() 2101 touch->dev.parent = ictx->dev; in imon_init_touch() 2108 return touch; in imon_init_touch() 2111 input_free_device(touch); in imon_init_touch() 2334 if (!ictx->touch) in imon_init_intf1() 2337 ictx->touch = NULL; in imon_init_intf1() [all …]
|