touch 596 arch/arm/mach-s3c64xx/mach-crag6410.c .touch = &touch_pdata, touch 134 drivers/hid/hid-magicmouse.c int touch = -1; touch 144 drivers/hid/hid-magicmouse.c } else if (touch >= 0) { touch 145 drivers/hid/hid-magicmouse.c touch = -1; touch 148 drivers/hid/hid-magicmouse.c touch = idx; touch 152 drivers/hid/hid-magicmouse.c return touch; touch 105 drivers/hid/hid-udraw-ps3.c int touch; touch 112 drivers/hid/hid-udraw-ps3.c touch = TOUCH_NONE; touch 114 drivers/hid/hid-udraw-ps3.c touch = TOUCH_PEN; touch 116 drivers/hid/hid-udraw-ps3.c touch = TOUCH_FINGER; touch 118 drivers/hid/hid-udraw-ps3.c touch = TOUCH_TWOFINGER; touch 171 drivers/hid/hid-udraw-ps3.c if (touch != TOUCH_NONE) { touch 178 drivers/hid/hid-udraw-ps3.c if (touch == TOUCH_FINGER) { touch 184 drivers/hid/hid-udraw-ps3.c } else if (touch == TOUCH_TWOFINGER) { touch 213 drivers/hid/hid-udraw-ps3.c if (touch == TOUCH_FINGER || touch == TOUCH_TWOFINGER) { touch 216 drivers/hid/hid-udraw-ps3.c touch == TOUCH_FINGER); touch 218 drivers/hid/hid-udraw-ps3.c touch == TOUCH_TWOFINGER); touch 230 drivers/hid/hid-udraw-ps3.c if (touch == TOUCH_PEN) { touch 861 drivers/hid/wacom_sys.c if (wacom_wac->shared->touch == wacom->hdev) touch 862 drivers/hid/wacom_sys.c wacom_wac->shared->touch = NULL; touch 903 drivers/hid/wacom_sys.c wacom_wac->shared->touch = hdev; touch 2672 drivers/hid/wacom_sys.c if (shared->touch) { touch 2673 drivers/hid/wacom_sys.c wacom2 = hid_get_drvdata(shared->touch); touch 1388 drivers/hid/wacom_wac.c unsigned char *touch = &frame[j*finger_touch_len + 1]; touch 1389 drivers/hid/wacom_wac.c int slot = input_mt_get_slot_by_key(touch_input, touch[0]); touch 1390 drivers/hid/wacom_wac.c int x = get_unaligned_le16(&touch[2]); touch 1391 drivers/hid/wacom_wac.c int y = get_unaligned_le16(&touch[4]); touch 1392 drivers/hid/wacom_wac.c int w = touch[6] * input_abs_get_res(touch_input, ABS_MT_POSITION_X); touch 1393 drivers/hid/wacom_wac.c int h = touch[7] * input_abs_get_res(touch_input, ABS_MT_POSITION_Y); touch 1399 drivers/hid/wacom_wac.c input_mt_report_slot_state(touch_input, MT_TOOL_FINGER, touch[1] & 0x01); touch 1552 drivers/hid/wacom_wac.c bool touch = (data[offset] & 0x1) && report_touch_events(wacom); touch 1558 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); touch 1560 drivers/hid/wacom_wac.c if (touch) { touch 1616 drivers/hid/wacom_wac.c bool touch = (data[offset] & 0x1) && report_touch_events(wacom); touch 1624 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); touch 1625 drivers/hid/wacom_wac.c if (touch) { touch 1650 drivers/hid/wacom_wac.c bool touch = p && report_touch_events(wacom); touch 1653 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); touch 1654 drivers/hid/wacom_wac.c if (touch) { touch 2849 drivers/hid/wacom_wac.c bool touch = report_touch_events(wacom) touch 2853 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); touch 2854 drivers/hid/wacom_wac.c if (touch) { touch 2881 drivers/hid/wacom_wac.c bool touch = data[1] & 0x80; touch 2887 drivers/hid/wacom_wac.c touch = touch && report_touch_events(wacom); touch 2890 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); touch 2892 drivers/hid/wacom_wac.c if (touch) { touch 3781 drivers/hid/wacom_wac.c if (wacom_wac->shared->touch->product == 0x361) { touch 3787 drivers/hid/wacom_wac.c else if (wacom_wac->shared->touch->product == 0x360) { touch 3793 drivers/hid/wacom_wac.c else if (wacom_wac->shared->touch->product == 0x393) { touch 3823 drivers/hid/wacom_wac.c if (wacom_wac->shared->touch->product == 0x32C || touch 3824 drivers/hid/wacom_wac.c wacom_wac->shared->touch->product == 0xF6) { touch 289 drivers/hid/wacom_wac.h struct hid_device *touch; touch 233 drivers/input/mouse/byd.c bool touch; touch 241 drivers/input/mouse/byd.c input_report_key(dev, BTN_TOUCH, priv->touch); touch 242 drivers/input/mouse/byd.c input_report_key(dev, BTN_TOOL_FINGER, priv->touch); touch 258 drivers/input/mouse/byd.c priv->touch = false; touch 291 drivers/input/mouse/byd.c if (!priv->touch) { touch 295 drivers/input/mouse/byd.c priv->touch = time_after(jiffies, tap_time); touch 314 drivers/input/mouse/byd.c priv->touch = true; touch 331 drivers/input/mouse/byd.c if (priv->touch) { touch 1153 drivers/input/mouse/cyapa_gen3.c const struct cyapa_touch *touch = &data->touches[i]; touch 1155 drivers/input/mouse/cyapa_gen3.c int slot = touch->id - 1; touch 1160 drivers/input/mouse/cyapa_gen3.c ((touch->xy_hi & 0xf0) << 4) | touch->x_lo); touch 1162 drivers/input/mouse/cyapa_gen3.c ((touch->xy_hi & 0x0f) << 8) | touch->y_lo); touch 1163 drivers/input/mouse/cyapa_gen3.c input_report_abs(input, ABS_MT_PRESSURE, touch->pressure); touch 2709 drivers/input/mouse/cyapa_gen5.c const struct cyapa_pip_touch_record *touch) touch 2712 drivers/input/mouse/cyapa_gen5.c u8 event_id = PIP_GET_EVENT_ID(touch->touch_tip_event_id); touch 2713 drivers/input/mouse/cyapa_gen5.c int slot = PIP_GET_TOUCH_ID(touch->touch_tip_event_id); touch 2721 drivers/input/mouse/cyapa_gen5.c x = (touch->x_hi << 8) | touch->x_lo; touch 2724 drivers/input/mouse/cyapa_gen5.c y = (touch->y_hi << 8) | touch->y_lo; touch 2731 drivers/input/mouse/cyapa_gen5.c touch->z); touch 2733 drivers/input/mouse/cyapa_gen5.c touch->major_axis_len); touch 2735 drivers/input/mouse/cyapa_gen5.c touch->minor_axis_len); touch 2738 drivers/input/mouse/cyapa_gen5.c touch->major_tool_len); touch 2740 drivers/input/mouse/cyapa_gen5.c touch->minor_tool_len); touch 2743 drivers/input/mouse/cyapa_gen5.c touch->orientation); touch 230 drivers/input/mouse/synaptics_i2c.c static inline void set_scan_rate(struct synaptics_i2c *touch, int scan_rate) touch 232 drivers/input/mouse/synaptics_i2c.c touch->scan_ms = MSEC_PER_SEC / scan_rate; touch 233 drivers/input/mouse/synaptics_i2c.c touch->scan_rate_param = scan_rate; touch 335 drivers/input/mouse/synaptics_i2c.c static bool synaptics_i2c_get_input(struct synaptics_i2c *touch) touch 337 drivers/input/mouse/synaptics_i2c.c struct input_dev *input = touch->input; touch 343 drivers/input/mouse/synaptics_i2c.c if (synaptics_i2c_check_error(touch->client)) touch 347 drivers/input/mouse/synaptics_i2c.c data = synaptics_i2c_reg_get(touch->client, DATA_REG0); touch 354 drivers/input/mouse/synaptics_i2c.c xy_delta = synaptics_i2c_word_get(touch->client, REL_X_REG) & 0xffff; touch 373 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch = dev_id; touch 375 drivers/input/mouse/synaptics_i2c.c mod_delayed_work(system_wq, &touch->dwork, 0); touch 380 drivers/input/mouse/synaptics_i2c.c static void synaptics_i2c_check_params(struct synaptics_i2c *touch) touch 384 drivers/input/mouse/synaptics_i2c.c if (scan_rate != touch->scan_rate_param) touch 385 drivers/input/mouse/synaptics_i2c.c set_scan_rate(touch, scan_rate); touch 387 drivers/input/mouse/synaptics_i2c.c if (no_decel != touch->no_decel_param) { touch 388 drivers/input/mouse/synaptics_i2c.c touch->no_decel_param = no_decel; touch 392 drivers/input/mouse/synaptics_i2c.c if (no_filter != touch->no_filter_param) { touch 393 drivers/input/mouse/synaptics_i2c.c touch->no_filter_param = no_filter; touch 397 drivers/input/mouse/synaptics_i2c.c if (reduce_report != touch->reduce_report_param) { touch 398 drivers/input/mouse/synaptics_i2c.c touch->reduce_report_param = reduce_report; touch 403 drivers/input/mouse/synaptics_i2c.c synaptics_i2c_reset_config(touch->client); touch 407 drivers/input/mouse/synaptics_i2c.c static unsigned long synaptics_i2c_adjust_delay(struct synaptics_i2c *touch, touch 413 drivers/input/mouse/synaptics_i2c.c delay = touch->scan_ms; touch 415 drivers/input/mouse/synaptics_i2c.c touch->no_data_count = 0; touch 417 drivers/input/mouse/synaptics_i2c.c nodata_count_thres = NO_DATA_THRES / touch->scan_ms; touch 418 drivers/input/mouse/synaptics_i2c.c if (touch->no_data_count < nodata_count_thres) touch 419 drivers/input/mouse/synaptics_i2c.c touch->no_data_count++; touch 434 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch = touch 438 drivers/input/mouse/synaptics_i2c.c synaptics_i2c_check_params(touch); touch 440 drivers/input/mouse/synaptics_i2c.c have_data = synaptics_i2c_get_input(touch); touch 441 drivers/input/mouse/synaptics_i2c.c delay = synaptics_i2c_adjust_delay(touch, have_data); touch 451 drivers/input/mouse/synaptics_i2c.c mod_delayed_work(system_wq, &touch->dwork, delay); touch 456 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch = input_get_drvdata(input); touch 459 drivers/input/mouse/synaptics_i2c.c ret = synaptics_i2c_reset_config(touch->client); touch 464 drivers/input/mouse/synaptics_i2c.c mod_delayed_work(system_wq, &touch->dwork, touch 472 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch = input_get_drvdata(input); touch 475 drivers/input/mouse/synaptics_i2c.c synaptics_i2c_reg_set(touch->client, INTERRUPT_EN_REG, 0); touch 477 drivers/input/mouse/synaptics_i2c.c cancel_delayed_work_sync(&touch->dwork); touch 480 drivers/input/mouse/synaptics_i2c.c synaptics_i2c_reg_set(touch->client, DEV_CONTROL_REG, DEEP_SLEEP); touch 483 drivers/input/mouse/synaptics_i2c.c static void synaptics_i2c_set_input_params(struct synaptics_i2c *touch) touch 485 drivers/input/mouse/synaptics_i2c.c struct input_dev *input = touch->input; touch 487 drivers/input/mouse/synaptics_i2c.c input->name = touch->client->name; touch 488 drivers/input/mouse/synaptics_i2c.c input->phys = touch->client->adapter->name; touch 490 drivers/input/mouse/synaptics_i2c.c input->id.version = synaptics_i2c_word_get(touch->client, touch 492 drivers/input/mouse/synaptics_i2c.c input->dev.parent = &touch->client->dev; touch 495 drivers/input/mouse/synaptics_i2c.c input_set_drvdata(input, touch); touch 509 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch; touch 511 drivers/input/mouse/synaptics_i2c.c touch = kzalloc(sizeof(struct synaptics_i2c), GFP_KERNEL); touch 512 drivers/input/mouse/synaptics_i2c.c if (!touch) touch 515 drivers/input/mouse/synaptics_i2c.c touch->client = client; touch 516 drivers/input/mouse/synaptics_i2c.c touch->no_decel_param = no_decel; touch 517 drivers/input/mouse/synaptics_i2c.c touch->scan_rate_param = scan_rate; touch 518 drivers/input/mouse/synaptics_i2c.c set_scan_rate(touch, scan_rate); touch 519 drivers/input/mouse/synaptics_i2c.c INIT_DELAYED_WORK(&touch->dwork, synaptics_i2c_work_handler); touch 521 drivers/input/mouse/synaptics_i2c.c return touch; touch 528 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch; touch 530 drivers/input/mouse/synaptics_i2c.c touch = synaptics_i2c_touch_create(client); touch 531 drivers/input/mouse/synaptics_i2c.c if (!touch) touch 541 drivers/input/mouse/synaptics_i2c.c touch->input = input_allocate_device(); touch 542 drivers/input/mouse/synaptics_i2c.c if (!touch->input) { touch 547 drivers/input/mouse/synaptics_i2c.c synaptics_i2c_set_input_params(touch); touch 550 drivers/input/mouse/synaptics_i2c.c dev_dbg(&touch->client->dev, touch 551 drivers/input/mouse/synaptics_i2c.c "Requesting IRQ: %d\n", touch->client->irq); touch 553 drivers/input/mouse/synaptics_i2c.c ret = request_irq(touch->client->irq, synaptics_i2c_irq, touch 555 drivers/input/mouse/synaptics_i2c.c DRIVER_NAME, touch); touch 557 drivers/input/mouse/synaptics_i2c.c dev_warn(&touch->client->dev, touch 561 drivers/input/mouse/synaptics_i2c.c synaptics_i2c_reg_set(touch->client, touch 567 drivers/input/mouse/synaptics_i2c.c dev_dbg(&touch->client->dev, touch 571 drivers/input/mouse/synaptics_i2c.c ret = input_register_device(touch->input); touch 578 drivers/input/mouse/synaptics_i2c.c i2c_set_clientdata(client, touch); touch 583 drivers/input/mouse/synaptics_i2c.c input_free_device(touch->input); touch 585 drivers/input/mouse/synaptics_i2c.c kfree(touch); touch 592 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch = i2c_get_clientdata(client); touch 595 drivers/input/mouse/synaptics_i2c.c free_irq(client->irq, touch); touch 597 drivers/input/mouse/synaptics_i2c.c input_unregister_device(touch->input); touch 598 drivers/input/mouse/synaptics_i2c.c kfree(touch); touch 606 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch = i2c_get_clientdata(client); touch 608 drivers/input/mouse/synaptics_i2c.c cancel_delayed_work_sync(&touch->dwork); touch 611 drivers/input/mouse/synaptics_i2c.c synaptics_i2c_reg_set(touch->client, DEV_CONTROL_REG, DEEP_SLEEP); touch 620 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch = i2c_get_clientdata(client); touch 626 drivers/input/mouse/synaptics_i2c.c mod_delayed_work(system_wq, &touch->dwork, touch 256 drivers/input/mouse/vsxxxaa.c int left, middle, right, touch; touch 283 drivers/input/mouse/vsxxxaa.c touch = buf[0] & 0x10; touch 290 drivers/input/mouse/vsxxxaa.c right ? "R" : "r", touch ? "T" : "t"); touch 298 drivers/input/mouse/vsxxxaa.c input_report_key(dev, BTN_TOUCH, touch); touch 76 drivers/input/mousedev.c unsigned long touch; touch 134 drivers/input/mousedev.c if (mousedev->touch && mousedev->pkt_count >= 2) { touch 150 drivers/input/mousedev.c if (mousedev->touch && mousedev->pkt_count >= 2) { touch 322 drivers/input/mousedev.c if (mousedev->touch && touch 324 drivers/input/mousedev.c mousedev->touch + msecs_to_jiffies(tap_time))) { touch 338 drivers/input/mousedev.c mousedev->touch = mousedev->pkt_count = 0; touch 342 drivers/input/mousedev.c } else if (!mousedev->touch) touch 343 drivers/input/mousedev.c mousedev->touch = jiffies; touch 382 drivers/input/mousedev.c if (mousedev->touch) { touch 73 drivers/input/tablet/acecad.c int touch = data[0] & 0x01; touch 79 drivers/input/tablet/acecad.c input_report_key(dev, BTN_TOUCH, touch); touch 50 drivers/input/touchscreen/88pm860x-ts.c struct pm860x_touch *touch = data; touch 51 drivers/input/touchscreen/88pm860x-ts.c struct pm860x_chip *chip = touch->chip; touch 57 drivers/input/touchscreen/88pm860x-ts.c ret = pm860x_bulk_read(touch->i2c, MEAS_TSIX_1, MEAS_LEN, buf); touch 68 drivers/input/touchscreen/88pm860x-ts.c if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { touch 70 drivers/input/touchscreen/88pm860x-ts.c rt = (rt * touch->res_x * x) >> ACCURATE_BIT; touch 74 drivers/input/touchscreen/88pm860x-ts.c input_report_abs(touch->idev, ABS_X, x); touch 75 drivers/input/touchscreen/88pm860x-ts.c input_report_abs(touch->idev, ABS_Y, y); touch 76 drivers/input/touchscreen/88pm860x-ts.c input_report_abs(touch->idev, ABS_PRESSURE, rt); touch 77 drivers/input/touchscreen/88pm860x-ts.c input_report_key(touch->idev, BTN_TOUCH, 1); touch 80 drivers/input/touchscreen/88pm860x-ts.c input_report_abs(touch->idev, ABS_PRESSURE, 0); touch 81 drivers/input/touchscreen/88pm860x-ts.c input_report_key(touch->idev, BTN_TOUCH, 0); touch 84 drivers/input/touchscreen/88pm860x-ts.c input_sync(touch->idev); touch 92 drivers/input/touchscreen/88pm860x-ts.c struct pm860x_touch *touch = input_get_drvdata(dev); touch 97 drivers/input/touchscreen/88pm860x-ts.c ret = pm860x_set_bits(touch->i2c, MEAS_EN3, data, data); touch 107 drivers/input/touchscreen/88pm860x-ts.c struct pm860x_touch *touch = input_get_drvdata(dev); touch 112 drivers/input/touchscreen/88pm860x-ts.c pm860x_set_bits(touch->i2c, MEAS_EN3, data, 0); touch 182 drivers/input/touchscreen/88pm860x-ts.c struct pm860x_touch *touch; touch 241 drivers/input/touchscreen/88pm860x-ts.c touch = devm_kzalloc(&pdev->dev, sizeof(struct pm860x_touch), touch 243 drivers/input/touchscreen/88pm860x-ts.c if (!touch) touch 246 drivers/input/touchscreen/88pm860x-ts.c touch->idev = devm_input_allocate_device(&pdev->dev); touch 247 drivers/input/touchscreen/88pm860x-ts.c if (!touch->idev) { touch 252 drivers/input/touchscreen/88pm860x-ts.c touch->idev->name = "88pm860x-touch"; touch 253 drivers/input/touchscreen/88pm860x-ts.c touch->idev->phys = "88pm860x/input0"; touch 254 drivers/input/touchscreen/88pm860x-ts.c touch->idev->id.bustype = BUS_I2C; touch 255 drivers/input/touchscreen/88pm860x-ts.c touch->idev->dev.parent = &pdev->dev; touch 256 drivers/input/touchscreen/88pm860x-ts.c touch->idev->open = pm860x_touch_open; touch 257 drivers/input/touchscreen/88pm860x-ts.c touch->idev->close = pm860x_touch_close; touch 258 drivers/input/touchscreen/88pm860x-ts.c touch->chip = chip; touch 259 drivers/input/touchscreen/88pm860x-ts.c touch->i2c = i2c; touch 260 drivers/input/touchscreen/88pm860x-ts.c touch->irq = irq; touch 261 drivers/input/touchscreen/88pm860x-ts.c touch->res_x = res_x; touch 262 drivers/input/touchscreen/88pm860x-ts.c input_set_drvdata(touch->idev, touch); touch 264 drivers/input/touchscreen/88pm860x-ts.c ret = devm_request_threaded_irq(&pdev->dev, touch->irq, NULL, touch 266 drivers/input/touchscreen/88pm860x-ts.c "touch", touch); touch 270 drivers/input/touchscreen/88pm860x-ts.c __set_bit(EV_ABS, touch->idev->evbit); touch 271 drivers/input/touchscreen/88pm860x-ts.c __set_bit(ABS_X, touch->idev->absbit); touch 272 drivers/input/touchscreen/88pm860x-ts.c __set_bit(ABS_Y, touch->idev->absbit); touch 273 drivers/input/touchscreen/88pm860x-ts.c __set_bit(ABS_PRESSURE, touch->idev->absbit); touch 274 drivers/input/touchscreen/88pm860x-ts.c __set_bit(EV_SYN, touch->idev->evbit); touch 275 drivers/input/touchscreen/88pm860x-ts.c __set_bit(EV_KEY, touch->idev->evbit); touch 276 drivers/input/touchscreen/88pm860x-ts.c __set_bit(BTN_TOUCH, touch->idev->keybit); touch 278 drivers/input/touchscreen/88pm860x-ts.c input_set_abs_params(touch->idev, ABS_X, 0, 1 << ACCURATE_BIT, 0, 0); touch 279 drivers/input/touchscreen/88pm860x-ts.c input_set_abs_params(touch->idev, ABS_Y, 0, 1 << ACCURATE_BIT, 0, 0); touch 280 drivers/input/touchscreen/88pm860x-ts.c input_set_abs_params(touch->idev, ABS_PRESSURE, 0, 1 << ACCURATE_BIT, touch 283 drivers/input/touchscreen/88pm860x-ts.c ret = input_register_device(touch->idev); touch 112 drivers/input/touchscreen/chipone_icn8318.c struct icn8318_touch *touch = &touch_data.touches[i]; touch 113 drivers/input/touchscreen/chipone_icn8318.c bool act = icn8318_touch_active(touch->event); touch 115 drivers/input/touchscreen/chipone_icn8318.c input_mt_slot(data->input, touch->slot); touch 121 drivers/input/touchscreen/chipone_icn8318.c be16_to_cpu(touch->x), touch 122 drivers/input/touchscreen/chipone_icn8318.c be16_to_cpu(touch->y), true); touch 343 drivers/input/touchscreen/chipone_icn8505.c struct icn8505_touch *touch = &touch_data.touches[i]; touch 344 drivers/input/touchscreen/chipone_icn8505.c bool act = icn8505_touch_active(touch->event); touch 346 drivers/input/touchscreen/chipone_icn8505.c input_mt_slot(icn8505->input, touch->slot); touch 352 drivers/input/touchscreen/chipone_icn8505.c get_unaligned_le16(touch->x), touch 353 drivers/input/touchscreen/chipone_icn8505.c get_unaligned_le16(touch->y), touch 791 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_touch *touch, u8 *xy_data) touch 799 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_get_touch_axis(md, &touch->abs[abs], touch 806 drivers/input/touchscreen/cyttsp4_core.c touch->abs[abs], touch->abs[abs]); touch 810 drivers/input/touchscreen/cyttsp4_core.c swap(touch->abs[CY_TCH_X], touch->abs[CY_TCH_Y]); touch 817 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X] = md->si->si_ofs.max_y - touch 818 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X]; touch 820 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X] = md->si->si_ofs.max_x - touch 821 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X]; touch 825 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y] = md->si->si_ofs.max_x - touch 826 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y]; touch 828 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y] = md->si->si_ofs.max_y - touch 829 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y]; touch 836 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X], touch->abs[CY_TCH_X], touch 837 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y], touch->abs[CY_TCH_Y]); touch 66 drivers/input/touchscreen/da9034-ts.c static inline int is_pen_down(struct da9034_touch *touch) touch 68 drivers/input/touchscreen/da9034-ts.c return da903x_query_status(touch->da9034_dev, DA9034_STATUS_PEN_DOWN); touch 71 drivers/input/touchscreen/da9034-ts.c static inline int detect_pen_down(struct da9034_touch *touch, int on) touch 74 drivers/input/touchscreen/da9034-ts.c return da903x_set_bits(touch->da9034_dev, touch 77 drivers/input/touchscreen/da9034-ts.c return da903x_clr_bits(touch->da9034_dev, touch 81 drivers/input/touchscreen/da9034-ts.c static int read_tsi(struct da9034_touch *touch) touch 86 drivers/input/touchscreen/da9034-ts.c ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); touch 90 drivers/input/touchscreen/da9034-ts.c ret = da903x_read(touch->da9034_dev, DA9034_TSI_Y_MSB, &_y); touch 94 drivers/input/touchscreen/da9034-ts.c ret = da903x_read(touch->da9034_dev, DA9034_TSI_XY_LSB, &_v); touch 98 drivers/input/touchscreen/da9034-ts.c touch->last_x = ((_x << 2) & 0x3fc) | (_v & 0x3); touch 99 drivers/input/touchscreen/da9034-ts.c touch->last_y = ((_y << 2) & 0x3fc) | ((_v & 0xc) >> 2); touch 104 drivers/input/touchscreen/da9034-ts.c static inline int start_tsi(struct da9034_touch *touch) touch 106 drivers/input/touchscreen/da9034-ts.c return da903x_set_bits(touch->da9034_dev, touch 110 drivers/input/touchscreen/da9034-ts.c static inline int stop_tsi(struct da9034_touch *touch) touch 112 drivers/input/touchscreen/da9034-ts.c return da903x_clr_bits(touch->da9034_dev, touch 116 drivers/input/touchscreen/da9034-ts.c static inline void report_pen_down(struct da9034_touch *touch) touch 118 drivers/input/touchscreen/da9034-ts.c int x = touch->last_x; touch 119 drivers/input/touchscreen/da9034-ts.c int y = touch->last_y; touch 122 drivers/input/touchscreen/da9034-ts.c if (touch->x_inverted) touch 125 drivers/input/touchscreen/da9034-ts.c if (touch->y_inverted) touch 128 drivers/input/touchscreen/da9034-ts.c input_report_abs(touch->input_dev, ABS_X, x); touch 129 drivers/input/touchscreen/da9034-ts.c input_report_abs(touch->input_dev, ABS_Y, y); touch 130 drivers/input/touchscreen/da9034-ts.c input_report_key(touch->input_dev, BTN_TOUCH, 1); touch 132 drivers/input/touchscreen/da9034-ts.c input_sync(touch->input_dev); touch 135 drivers/input/touchscreen/da9034-ts.c static inline void report_pen_up(struct da9034_touch *touch) touch 137 drivers/input/touchscreen/da9034-ts.c input_report_key(touch->input_dev, BTN_TOUCH, 0); touch 138 drivers/input/touchscreen/da9034-ts.c input_sync(touch->input_dev); touch 141 drivers/input/touchscreen/da9034-ts.c static void da9034_event_handler(struct da9034_touch *touch, int event) touch 145 drivers/input/touchscreen/da9034-ts.c switch (touch->state) { touch 153 drivers/input/touchscreen/da9034-ts.c err = start_tsi(touch); touch 157 drivers/input/touchscreen/da9034-ts.c touch->state = STATE_BUSY; touch 164 drivers/input/touchscreen/da9034-ts.c err = read_tsi(touch); touch 171 drivers/input/touchscreen/da9034-ts.c err = stop_tsi(touch); touch 175 drivers/input/touchscreen/da9034-ts.c touch->state = STATE_STOP; touch 183 drivers/input/touchscreen/da9034-ts.c da9034_event_handler(touch, touch 184 drivers/input/touchscreen/da9034-ts.c is_pen_down(touch) ? EVENT_PEN_DOWN : touch 190 drivers/input/touchscreen/da9034-ts.c report_pen_down(touch); touch 191 drivers/input/touchscreen/da9034-ts.c schedule_delayed_work(&touch->tsi_work, touch 192 drivers/input/touchscreen/da9034-ts.c msecs_to_jiffies(touch->interval_ms)); touch 193 drivers/input/touchscreen/da9034-ts.c touch->state = STATE_WAIT; touch 197 drivers/input/touchscreen/da9034-ts.c report_pen_up(touch); touch 198 drivers/input/touchscreen/da9034-ts.c touch->state = STATE_IDLE; touch 206 drivers/input/touchscreen/da9034-ts.c if (is_pen_down(touch)) { touch 207 drivers/input/touchscreen/da9034-ts.c start_tsi(touch); touch 208 drivers/input/touchscreen/da9034-ts.c touch->state = STATE_BUSY; touch 210 drivers/input/touchscreen/da9034-ts.c report_pen_up(touch); touch 211 drivers/input/touchscreen/da9034-ts.c touch->state = STATE_IDLE; touch 218 drivers/input/touchscreen/da9034-ts.c touch->state = STATE_IDLE; touch 219 drivers/input/touchscreen/da9034-ts.c stop_tsi(touch); touch 220 drivers/input/touchscreen/da9034-ts.c detect_pen_down(touch, 1); touch 225 drivers/input/touchscreen/da9034-ts.c struct da9034_touch *touch = touch 228 drivers/input/touchscreen/da9034-ts.c da9034_event_handler(touch, EVENT_TIMEDOUT); touch 234 drivers/input/touchscreen/da9034-ts.c struct da9034_touch *touch = touch 238 drivers/input/touchscreen/da9034-ts.c da9034_event_handler(touch, EVENT_TSI_READY); touch 240 drivers/input/touchscreen/da9034-ts.c if ((event & DA9034_EVENT_PEN_DOWN) && touch->state == STATE_IDLE) touch 241 drivers/input/touchscreen/da9034-ts.c da9034_event_handler(touch, EVENT_PEN_DOWN); touch 248 drivers/input/touchscreen/da9034-ts.c struct da9034_touch *touch = input_get_drvdata(dev); touch 251 drivers/input/touchscreen/da9034-ts.c ret = da903x_register_notifier(touch->da9034_dev, &touch->notifier, touch 257 drivers/input/touchscreen/da9034-ts.c ret = da903x_set_bits(touch->da9034_dev, touch 263 drivers/input/touchscreen/da9034-ts.c ret = da903x_write(touch->da9034_dev, DA9034_TSI_CTRL1, 0x1b); touch 267 drivers/input/touchscreen/da9034-ts.c ret = da903x_write(touch->da9034_dev, DA9034_TSI_CTRL2, 0x00); touch 271 drivers/input/touchscreen/da9034-ts.c touch->state = STATE_IDLE; touch 272 drivers/input/touchscreen/da9034-ts.c detect_pen_down(touch, 1); touch 279 drivers/input/touchscreen/da9034-ts.c struct da9034_touch *touch = input_get_drvdata(dev); touch 281 drivers/input/touchscreen/da9034-ts.c da903x_unregister_notifier(touch->da9034_dev, &touch->notifier, touch 284 drivers/input/touchscreen/da9034-ts.c cancel_delayed_work_sync(&touch->tsi_work); touch 286 drivers/input/touchscreen/da9034-ts.c touch->state = STATE_IDLE; touch 287 drivers/input/touchscreen/da9034-ts.c stop_tsi(touch); touch 288 drivers/input/touchscreen/da9034-ts.c detect_pen_down(touch, 0); touch 291 drivers/input/touchscreen/da9034-ts.c da903x_clr_bits(touch->da9034_dev, touch 299 drivers/input/touchscreen/da9034-ts.c struct da9034_touch *touch; touch 303 drivers/input/touchscreen/da9034-ts.c touch = devm_kzalloc(&pdev->dev, sizeof(struct da9034_touch), touch 305 drivers/input/touchscreen/da9034-ts.c if (!touch) { touch 310 drivers/input/touchscreen/da9034-ts.c touch->da9034_dev = pdev->dev.parent; touch 313 drivers/input/touchscreen/da9034-ts.c touch->interval_ms = pdata->interval_ms; touch 314 drivers/input/touchscreen/da9034-ts.c touch->x_inverted = pdata->x_inverted; touch 315 drivers/input/touchscreen/da9034-ts.c touch->y_inverted = pdata->y_inverted; touch 318 drivers/input/touchscreen/da9034-ts.c touch->interval_ms = 10; touch 321 drivers/input/touchscreen/da9034-ts.c INIT_DELAYED_WORK(&touch->tsi_work, da9034_tsi_work); touch 322 drivers/input/touchscreen/da9034-ts.c touch->notifier.notifier_call = da9034_touch_notifier; touch 344 drivers/input/touchscreen/da9034-ts.c touch->input_dev = input_dev; touch 345 drivers/input/touchscreen/da9034-ts.c input_set_drvdata(input_dev, touch); touch 142 drivers/input/touchscreen/ili210x.c bool contact = false, touch = false; touch 147 drivers/input/touchscreen/ili210x.c touch = ili210x_touchdata_to_coords(priv, touchdata, touch 150 drivers/input/touchscreen/ili210x.c touch = ili251x_touchdata_to_coords(priv, touchdata, touch 152 drivers/input/touchscreen/ili210x.c if (touch) touch 157 drivers/input/touchscreen/ili210x.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); touch 158 drivers/input/touchscreen/ili210x.c if (!touch) touch 179 drivers/input/touchscreen/ili210x.c bool touch; touch 198 drivers/input/touchscreen/ili210x.c touch = ili210x_report_events(priv, touchdata); touch 200 drivers/input/touchscreen/ili210x.c if (touch) touch 38 drivers/input/touchscreen/mc13783_ts.c struct mc13xxx_ts_platform_data *touch; touch 128 drivers/input/touchscreen/mc13783_ts.c priv->touch->ato, priv->touch->atox, touch 183 drivers/input/touchscreen/mc13783_ts.c priv->touch = dev_get_platdata(&pdev->dev); touch 184 drivers/input/touchscreen/mc13783_ts.c if (!priv->touch) { touch 153 drivers/input/touchscreen/mms114.c static void mms114_process_mt(struct mms114_data *data, struct mms114_touch *touch) touch 161 drivers/input/touchscreen/mms114.c if (touch->id > MMS114_MAX_TOUCH) { touch 162 drivers/input/touchscreen/mms114.c dev_err(&client->dev, "Wrong touch id (%d)\n", touch->id); touch 166 drivers/input/touchscreen/mms114.c if (touch->type != MMS114_TYPE_TOUCHSCREEN) { touch 167 drivers/input/touchscreen/mms114.c dev_err(&client->dev, "Wrong touch type (%d)\n", touch->type); touch 171 drivers/input/touchscreen/mms114.c id = touch->id - 1; touch 172 drivers/input/touchscreen/mms114.c x = touch->x_lo | touch->x_hi << 8; touch 173 drivers/input/touchscreen/mms114.c y = touch->y_lo | touch->y_hi << 8; touch 177 drivers/input/touchscreen/mms114.c id, touch->type, touch->pressed, touch 178 drivers/input/touchscreen/mms114.c x, y, touch->width, touch->strength); touch 181 drivers/input/touchscreen/mms114.c input_mt_report_slot_state(input_dev, MT_TOOL_FINGER, touch->pressed); touch 183 drivers/input/touchscreen/mms114.c if (touch->pressed) { touch 185 drivers/input/touchscreen/mms114.c input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, touch->width); touch 186 drivers/input/touchscreen/mms114.c input_report_abs(input_dev, ABS_MT_PRESSURE, touch->strength); touch 194 drivers/input/touchscreen/mms114.c struct mms114_touch touch[MMS114_MAX_TOUCH]; touch 214 drivers/input/touchscreen/mms114.c (u8 *)touch); touch 219 drivers/input/touchscreen/mms114.c mms114_process_mt(data, touch + index); touch 49 drivers/input/touchscreen/pixcir_i2c_ts.c u8 touch; touch 77 drivers/input/touchscreen/pixcir_i2c_ts.c touch = rdbuf[0] & 0x7; touch 78 drivers/input/touchscreen/pixcir_i2c_ts.c if (touch > tsdata->max_fingers) touch 79 drivers/input/touchscreen/pixcir_i2c_ts.c touch = tsdata->max_fingers; touch 81 drivers/input/touchscreen/pixcir_i2c_ts.c report->num_touches = touch; touch 84 drivers/input/touchscreen/pixcir_i2c_ts.c for (i = 0; i < touch; i++) { touch 105 drivers/input/touchscreen/usbtouchscreen.c int touch, press; touch 271 drivers/input/touchscreen/usbtouchscreen.c dev->touch = (tmp > 0); touch 339 drivers/input/touchscreen/usbtouchscreen.c dev->touch = pkt[0] & 0x01; touch 384 drivers/input/touchscreen/usbtouchscreen.c dev->touch = pkt[0] & 0x01; touch 415 drivers/input/touchscreen/usbtouchscreen.c dev->touch = pkt[0] & 0x01; touch 442 drivers/input/touchscreen/usbtouchscreen.c dev->touch = (pkt[2] & 0x40) ? 1 : 0; touch 584 drivers/input/touchscreen/usbtouchscreen.c int touch; touch 593 drivers/input/touchscreen/usbtouchscreen.c touch = ~pkt[7] & 0x20; touch 594 drivers/input/touchscreen/usbtouchscreen.c if (!touch) { touch 595 drivers/input/touchscreen/usbtouchscreen.c if (dev->touch) { touch 596 drivers/input/touchscreen/usbtouchscreen.c dev->touch = 0; touch 605 drivers/input/touchscreen/usbtouchscreen.c dev->touch = touch; touch 630 drivers/input/touchscreen/usbtouchscreen.c dev->touch = (pkt[0] & 0x10) ? 1 : 0; touch 657 drivers/input/touchscreen/usbtouchscreen.c dev->touch = pkt[0] & 0x20; touch 740 drivers/input/touchscreen/usbtouchscreen.c dev->touch = pkt[0] & 0x01; touch 755 drivers/input/touchscreen/usbtouchscreen.c dev->touch = (pkt[1] & 0x03) ? 1 : 0; touch 769 drivers/input/touchscreen/usbtouchscreen.c dev->touch = pkt[0] & 0x01; touch 798 drivers/input/touchscreen/usbtouchscreen.c dev->touch = (pkt[0] & 0x40) ? 1 : 0; touch 805 drivers/input/touchscreen/usbtouchscreen.c dev->touch = (pkt[0] & 0x40) ? 1 : 0; touch 823 drivers/input/touchscreen/usbtouchscreen.c dev->touch = pkt[0] & 0x01; touch 837 drivers/input/touchscreen/usbtouchscreen.c dev->touch = pkt[0] & 0x01; touch 851 drivers/input/touchscreen/usbtouchscreen.c dev->touch = (pkt[0] & 0x40) >> 6; touch 873 drivers/input/touchscreen/usbtouchscreen.c dev->touch = 1; touch 880 drivers/input/touchscreen/usbtouchscreen.c dev->touch = 0; touch 1116 drivers/input/touchscreen/usbtouchscreen.c usbtouch->touch = packet->flags & 0x01; touch 1140 drivers/input/touchscreen/usbtouchscreen.c dev->touch = pkt[6] > 0; touch 1393 drivers/input/touchscreen/usbtouchscreen.c input_report_key(usbtouch->input, BTN_TOUCH, usbtouch->touch); touch 157 drivers/input/touchscreen/wacom_w8001.c bool touch = data[0] & (1 << i); touch 160 drivers/input/touchscreen/wacom_w8001.c input_mt_report_slot_state(dev, MT_TOOL_FINGER, touch); touch 161 drivers/input/touchscreen/wacom_w8001.c if (touch) { touch 467 drivers/input/touchscreen/wacom_w8001.c struct w8001_touch_query touch; touch 487 drivers/input/touchscreen/wacom_w8001.c parse_touchquery(w8001->response, &touch); touch 488 drivers/input/touchscreen/wacom_w8001.c w8001->max_touch_x = touch.x; touch 489 drivers/input/touchscreen/wacom_w8001.c w8001->max_touch_y = touch.y; touch 493 drivers/input/touchscreen/wacom_w8001.c touch.x = w8001->max_pen_x; touch 494 drivers/input/touchscreen/wacom_w8001.c touch.y = w8001->max_pen_y; touch 495 drivers/input/touchscreen/wacom_w8001.c touch.panel_res = W8001_PEN_RESOLUTION; touch 498 drivers/input/touchscreen/wacom_w8001.c input_set_abs_params(dev, ABS_X, 0, touch.x, 0, 0); touch 499 drivers/input/touchscreen/wacom_w8001.c input_set_abs_params(dev, ABS_Y, 0, touch.y, 0, 0); touch 500 drivers/input/touchscreen/wacom_w8001.c input_abs_set_res(dev, ABS_X, touch.panel_res); touch 501 drivers/input/touchscreen/wacom_w8001.c input_abs_set_res(dev, ABS_Y, touch.panel_res); touch 503 drivers/input/touchscreen/wacom_w8001.c switch (touch.sensor_id) { touch 531 drivers/input/touchscreen/wacom_w8001.c 0, touch.x, 0, 0); touch 533 drivers/input/touchscreen/wacom_w8001.c 0, touch.y, 0, 0); touch 536 drivers/input/touchscreen/wacom_w8001.c input_abs_set_res(dev, ABS_MT_POSITION_X, touch.panel_res); touch 537 drivers/input/touchscreen/wacom_w8001.c input_abs_set_res(dev, ABS_MT_POSITION_Y, touch.panel_res); touch 241 drivers/input/touchscreen/wm831x-ts.c pdata = core_pdata->touch; touch 128 drivers/media/rc/imon.c struct input_dev *touch; /* input device for touchscreen */ touch 1068 drivers/media/rc/imon.c input_report_abs(ictx->touch, ABS_X, ictx->touch_x); touch 1069 drivers/media/rc/imon.c input_report_abs(ictx->touch, ABS_Y, ictx->touch_y); touch 1070 drivers/media/rc/imon.c input_report_key(ictx->touch, BTN_TOUCH, 0x00); touch 1071 drivers/media/rc/imon.c input_sync(ictx->touch); touch 1351 drivers/media/rc/imon.c input_report_abs(ictx->touch, ABS_X, ictx->touch_x); touch 1352 drivers/media/rc/imon.c input_report_abs(ictx->touch, ABS_Y, ictx->touch_y); touch 1353 drivers/media/rc/imon.c input_report_key(ictx->touch, BTN_TOUCH, 0x01); touch 1354 drivers/media/rc/imon.c input_sync(ictx->touch); touch 1601 drivers/media/rc/imon.c if (ictx->touch && len == 8 && buf[7] == 0x86) { touch 2031 drivers/media/rc/imon.c struct input_dev *touch; touch 2034 drivers/media/rc/imon.c touch = input_allocate_device(); touch 2035 drivers/media/rc/imon.c if (!touch) touch 2041 drivers/media/rc/imon.c touch->name = ictx->name_touch; touch 2046 drivers/media/rc/imon.c touch->phys = ictx->phys_touch; touch 2048 drivers/media/rc/imon.c touch->evbit[0] = touch 2050 drivers/media/rc/imon.c touch->keybit[BIT_WORD(BTN_TOUCH)] = touch 2052 drivers/media/rc/imon.c input_set_abs_params(touch, ABS_X, touch 2054 drivers/media/rc/imon.c input_set_abs_params(touch, ABS_Y, touch 2057 drivers/media/rc/imon.c input_set_drvdata(touch, ictx); touch 2059 drivers/media/rc/imon.c usb_to_input_id(ictx->usbdev_intf1, &touch->id); touch 2060 drivers/media/rc/imon.c touch->dev.parent = ictx->dev; touch 2061 drivers/media/rc/imon.c ret = input_register_device(touch); touch 2067 drivers/media/rc/imon.c return touch; touch 2070 drivers/media/rc/imon.c input_free_device(touch); touch 2292 drivers/media/rc/imon.c ictx->touch = imon_init_touch(ictx); touch 2293 drivers/media/rc/imon.c if (!ictx->touch) touch 2296 drivers/media/rc/imon.c ictx->touch = NULL; touch 2318 drivers/media/rc/imon.c if (ictx->touch) touch 2319 drivers/media/rc/imon.c input_unregister_device(ictx->touch); touch 2500 drivers/media/rc/imon.c input_unregister_device(ictx->touch); touch 897 drivers/mfd/88pm860x-core.c touch_devs[0].platform_data = pdata->touch; touch 840 drivers/mfd/max8925-core.c if (pdata && (pdata->power || pdata->touch)) { touch 894 drivers/mfd/max8925-core.c if (pdata && pdata->touch) { touch 478 drivers/mfd/mc13xxx-core.c &pdata->touch, sizeof(pdata->touch)); touch 1252 drivers/pinctrl/tegra/pinctrl-tegra210.c FUNCTION(touch), touch 865 fs/ceph/caps.c int __ceph_caps_issued_mask(struct ceph_inode_info *ci, int mask, int touch) touch 888 fs/ceph/caps.c if (touch) touch 900 fs/ceph/caps.c if (touch) { touch 649 fs/ceph/super.h int touch) touch 653 fs/ceph/super.h r = __ceph_caps_issued_mask(ci, mask, touch); touch 438 include/linux/mfd/88pm860x.h struct pm860x_touch_pdata *touch; touch 233 include/linux/mfd/max8925.h struct max8925_touch_pdata *touch; touch 231 include/linux/mfd/mc13xxx.h struct mc13xxx_ts_platform_data touch; touch 129 include/linux/mfd/wm831x/pdata.h struct wm831x_touch_pdata *touch; touch 24 tools/testing/selftests/ia64/aliasing-test.c static int map_mem(char *path, off_t offset, size_t length, int touch) touch 46 tools/testing/selftests/ia64/aliasing-test.c if (touch) { touch 62 tools/testing/selftests/ia64/aliasing-test.c static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch) touch 89 tools/testing/selftests/ia64/aliasing-test.c rc = map_mem(path2, offset, length, touch); touch 91 tools/testing/selftests/ia64/aliasing-test.c fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable" : "mappable"); touch 101 tools/testing/selftests/ia64/aliasing-test.c rc = scan_tree(path2, file, offset, length, touch); touch 178 tools/testing/selftests/powerpc/benchmarks/context_switch.c touch(); touch 181 tools/testing/selftests/powerpc/benchmarks/context_switch.c touch(); touch 193 tools/testing/selftests/powerpc/benchmarks/context_switch.c touch(); touch 196 tools/testing/selftests/powerpc/benchmarks/context_switch.c touch(); touch 223 tools/testing/selftests/powerpc/benchmarks/context_switch.c touch(); touch 235 tools/testing/selftests/powerpc/benchmarks/context_switch.c touch();