| /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() 176 struct pm860x_touch *touch; in pm860x_touch_probe() local 237 if (!touch) in pm860x_touch_probe() 241 if (!touch->idev) { in pm860x_touch_probe() 252 touch->chip = chip; in pm860x_touch_probe() 253 touch->i2c = i2c; in pm860x_touch_probe() 254 touch->irq = irq; in pm860x_touch_probe() 255 touch->res_x = res_x; in pm860x_touch_probe() 256 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 | 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 | novatek-nvt-ts.c | 98 u8 *touch; in nvt_ts_irq() local 106 touch = &data->buf[i * NVT_TS_TOUCH_SIZE]; in nvt_ts_irq() 108 if (touch[0] == NVT_TS_TOUCH_INVALID) in nvt_ts_irq() 111 slot = touch[0] >> NVT_TS_TOUCH_SLOT_SHIFT; in nvt_ts_irq() 117 switch (touch[0] & NVT_TS_TOUCH_TYPE_MASK) { in nvt_ts_irq() 126 dev_warn(dev, "slot %d unknown state %d\n", slot, touch[0] & 7); in nvt_ts_irq() 131 x = (touch[1] << 4) | (touch[3] >> 4); in nvt_ts_irq() 132 y = (touch[2] << 4) | (touch[3] & 0x0f); in nvt_ts_irq()
|
| 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 | 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()
|
| 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 | ili210x.c | 51 bool (*continue_polling)(const u8 *data, bool touch); 121 static bool ili210x_check_continue_polling(const u8 *data, bool touch) in ili210x_check_continue_polling() argument 182 static bool ili211x_decline_polling(const u8 *data, bool touch) in ili211x_decline_polling() argument 215 return touch; in ili212x_check_continue_polling() 291 return touch; in ili251x_check_continue_polling() 309 bool contact = false, touch; in ili210x_report_events() local 313 touch = priv->chip->parse_touch_data(touchdata, i, &x, &y, &z); in ili210x_report_events() 316 if (input_mt_report_slot_state(input, MT_TOOL_FINGER, touch)) { in ili210x_report_events() 339 bool touch; in ili210x_irq() local 351 touch = ili210x_report_events(priv, touchdata); in ili210x_irq() [all …]
|
| A D | pixcir_i2c_ts.c | 99 u8 touch; in pixcir_ts_parse() local 127 touch = rdbuf[0] & 0x7; in pixcir_ts_parse() 128 if (touch > tsdata->chip->max_fingers) in pixcir_ts_parse() 129 touch = tsdata->chip->max_fingers; in pixcir_ts_parse() 131 report->num_touches = touch; in pixcir_ts_parse() 134 for (i = 0; i < touch; i++) { in pixcir_ts_parse()
|
| A D | chipone_icn8505.c | 342 struct icn8505_touch *touch = &touch_data.touches[i]; in icn8505_irq() local 343 bool act = icn8505_touch_active(touch->event); in icn8505_irq() 345 input_mt_slot(icn8505->input, touch->slot); in icn8505_irq() 351 get_unaligned_le16(touch->x), in icn8505_irq() 352 get_unaligned_le16(touch->y), in icn8505_irq()
|
| A D | Kconfig | 104 module will be called resistive-adc-touch.ko. 166 tristate "BU21013 based touch panel controllers" 178 tristate "Rohm BU21029 based touch panel controllers" 344 tristate "EETI eGalax multi-touch panel support" 348 eGalax multi-touch panels. 358 eGalax touch panels. 364 tristate "EETI EXC3000 multi-touch panel support" 368 EXC3000 multi-touch panels. 488 Say Y here if you have touchscreen with ILITEK touch IC, 497 tristate "IPROC touch panel driver support" [all …]
|
| /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() 259 priv->touch = false; in byd_clear_touch() 290 if (!priv->touch) { in byd_process_byte() 294 priv->touch = time_after(jiffies, tap_time); in byd_process_byte() 313 priv->touch = true; in byd_process_byte() 330 if (priv->touch) { in byd_process_byte()
|
| A D | vsxxxaa.c | 253 int left, middle, right, touch; in vsxxxaa_handle_ABS_packet() local 280 touch = buf[0] & 0x10; in vsxxxaa_handle_ABS_packet() 287 right ? "R" : "r", touch ? "T" : "t"); in vsxxxaa_handle_ABS_packet() 295 input_report_key(dev, BTN_TOUCH, touch); in vsxxxaa_handle_ABS_packet()
|
| A D | cyapa_gen3.c | 1154 const struct cyapa_touch *touch = &data->touches[i]; in cyapa_gen3_event_process() local 1156 int slot = touch->id - 1; in cyapa_gen3_event_process() 1161 ((touch->xy_hi & 0xf0) << 4) | touch->x_lo); in cyapa_gen3_event_process() 1163 ((touch->xy_hi & 0x0f) << 8) | touch->y_lo); in cyapa_gen3_event_process() 1164 input_report_abs(input, ABS_MT_PRESSURE, touch->pressure); in cyapa_gen3_event_process()
|
| A D | cyapa_gen5.c | 2710 const struct cyapa_pip_touch_record *touch) in cyapa_pip_report_slot_data() argument 2713 u8 event_id = PIP_GET_EVENT_ID(touch->touch_tip_event_id); in cyapa_pip_report_slot_data() 2714 int slot = PIP_GET_TOUCH_ID(touch->touch_tip_event_id); in cyapa_pip_report_slot_data() 2722 x = (touch->x_hi << 8) | touch->x_lo; in cyapa_pip_report_slot_data() 2725 y = (touch->y_hi << 8) | touch->y_lo; in cyapa_pip_report_slot_data() 2732 touch->z); in cyapa_pip_report_slot_data() 2734 touch->major_axis_len); in cyapa_pip_report_slot_data() 2736 touch->minor_axis_len); in cyapa_pip_report_slot_data() 2739 touch->major_tool_len); in cyapa_pip_report_slot_data() 2741 touch->minor_tool_len); in cyapa_pip_report_slot_data() [all …]
|
| /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 …]
|
| A D | Kconfig | 104 tristate "Accutouch touch device" 772 - 3M PCT touch screens 776 - Cando dual touch panels 785 - Hanvon dual touch panels 786 - Ilitek dual touch panels 790 - MosArt dual-touch panels 792 - PenMount dual touch panels 795 - Pixcir dual touch panels 803 - XAT optical touch panels 805 - Zytronic touch panels [all …]
|
| A D | wacom_wac.c | 1426 int x = get_unaligned_le16(&touch[2]); in wacom_intuos_pro2_bt_touch() 1427 int y = get_unaligned_le16(&touch[4]); in wacom_intuos_pro2_bt_touch() 1593 if (touch) { in wacom_24hdt_irq() 1658 if (touch) { in wacom_mt_touch() 1683 bool touch = p && report_touch_events(wacom); in wacom_tpc_mt_touch() local 1687 if (touch) { in wacom_tpc_mt_touch() 3065 bool touch = report_touch_events(wacom) in wacom_bpt_touch() local 3070 if (touch) { in wacom_bpt_touch() 3097 bool touch = data[1] & 0x80; in wacom_bpt3_touch_msg() local 3103 touch = touch && report_touch_events(wacom); in wacom_bpt3_touch_msg() [all …]
|
| A D | hid-magicmouse.c | 156 int touch = -1; in magicmouse_firm_touch() local 166 } else if (touch >= 0) { in magicmouse_firm_touch() 167 touch = -1; in magicmouse_firm_touch() 170 touch = idx; in magicmouse_firm_touch() 174 return touch; in magicmouse_firm_touch()
|
| /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 …]
|
| /drivers/media/test-drivers/vivid/ |
| A D | Makefile | 7 vivid-kthread-touch.o vivid-touch-cap.o
|
| /drivers/input/ |
| A D | mousedev.c | 76 unsigned long touch; member 134 if (mousedev->touch && mousedev->pkt_count >= 2) { in mousedev_touchpad_event() 150 if (mousedev->touch && mousedev->pkt_count >= 2) { in mousedev_touchpad_event() 322 if (mousedev->touch && in mousedev_touchpad_touch() 324 mousedev->touch + msecs_to_jiffies(tap_time))) { in mousedev_touchpad_touch() 338 mousedev->touch = mousedev->pkt_count = 0; in mousedev_touchpad_touch() 342 } else if (!mousedev->touch) in mousedev_touchpad_touch() 343 mousedev->touch = jiffies; in mousedev_touchpad_touch() 382 if (mousedev->touch) { in mousedev_event()
|
| /drivers/input/tablet/ |
| A D | acecad.c | 70 int touch = data[0] & 0x01; in usb_acecad_irq() local 76 input_report_key(dev, BTN_TOUCH, touch); in usb_acecad_irq()
|