Home
last modified time | relevance | path

Searched refs:touch (Results 1 – 25 of 806) sorted by relevance

12345678910>>...33

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dda9034-ts.c66 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()
94 ret = da903x_read(touch->da9034_dev, DA9034_TSI_XY_LSB, &_v); in read_tsi()
98 touch->last_x = ((_x << 2) & 0x3fc) | (_v & 0x3); in read_tsi()
[all …]
H A D88pm860x-ts.c50 struct pm860x_touch *touch = data; in pm860x_touch_handler() local
51 struct pm860x_chip *chip = touch->chip; in pm860x_touch_handler()
57 ret = pm860x_bulk_read(touch->i2c, MEAS_TSIX_1, MEAS_LEN, buf); in pm860x_touch_handler()
68 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { in pm860x_touch_handler()
70 rt = (rt * touch->res_x * x) >> ACCURATE_BIT; in pm860x_touch_handler()
74 input_report_abs(touch->idev, ABS_X, x); in pm860x_touch_handler()
75 input_report_abs(touch->idev, ABS_Y, y); in pm860x_touch_handler()
76 input_report_abs(touch->idev, ABS_PRESSURE, rt); in pm860x_touch_handler()
77 input_report_key(touch->idev, BTN_TOUCH, 1); in pm860x_touch_handler()
80 input_report_abs(touch->idev, ABS_PRESSURE, 0); in pm860x_touch_handler()
[all …]
H A Dmms114.c154 static void mms114_process_mt(struct mms114_data *data, struct mms114_touch *touch) in mms114_process_mt() argument
162 if (touch->id > MMS114_MAX_TOUCH) { in mms114_process_mt()
163 dev_err(&client->dev, "Wrong touch id (%d)\n", touch->id); in mms114_process_mt()
167 if (touch->type != MMS114_TYPE_TOUCHSCREEN) { in mms114_process_mt()
168 dev_err(&client->dev, "Wrong touch type (%d)\n", touch->type); in mms114_process_mt()
172 id = touch->id - 1; in mms114_process_mt()
173 x = touch->x_lo | touch->x_hi << 8; in mms114_process_mt()
174 y = touch->y_lo | touch->y_hi << 8; in mms114_process_mt()
178 id, touch->type, touch->pressed, in mms114_process_mt()
179 x, y, touch->width, touch->strength); in mms114_process_mt()
[all …]
H A Dwacom_w8001.c157 bool touch = data[0] & (1 << i); in parse_multi_touch() local
160 input_mt_report_slot_state(dev, MT_TOOL_FINGER, touch); in parse_multi_touch()
161 if (touch) { in parse_multi_touch()
467 struct w8001_touch_query touch; in w8001_setup_touch() local
487 parse_touchquery(w8001->response, &touch); in w8001_setup_touch()
488 w8001->max_touch_x = touch.x; in w8001_setup_touch()
489 w8001->max_touch_y = touch.y; in w8001_setup_touch()
493 touch.x = w8001->max_pen_x; in w8001_setup_touch()
494 touch.y = w8001->max_pen_y; in w8001_setup_touch()
495 touch.panel_res = W8001_PEN_RESOLUTION; in w8001_setup_touch()
[all …]
H A Dili210x.c34 bool (*continue_polling)(const u8 *data, bool touch);
99 static bool ili210x_check_continue_polling(const u8 *data, bool touch) in ili210x_check_continue_polling() argument
160 static bool ili211x_decline_polling(const u8 *data, bool touch) in ili211x_decline_polling() argument
191 static bool ili212x_check_continue_polling(const u8 *data, bool touch) in ili212x_check_continue_polling() argument
193 return touch; in ili212x_check_continue_polling()
259 static bool ili251x_check_continue_polling(const u8 *data, bool touch) in ili251x_check_continue_polling() argument
261 return touch; in ili251x_check_continue_polling()
279 bool contact = false, touch; in ili210x_report_events() local
283 touch = priv->chip->parse_touch_data(touchdata, i, &x, &y, &z); in ili210x_report_events()
286 if (input_mt_report_slot_state(input, MT_TOOL_FINGER, touch)) { in ili210x_report_events()
[all …]
H A Dusbtouchscreen.c105 int touch, press; member
271 dev->touch = (tmp > 0); in e2i_read_data()
339 dev->touch = pkt[0] & 0x01; in egalax_read_data()
384 dev->touch = pkt[0] & 0x01; in etouch_read_data()
415 dev->touch = pkt[0] & 0x01; in panjit_read_data()
442 dev->touch = (pkt[2] & 0x40) ? 1 : 0; in mtouch_read_data()
584 int touch; in itm_read_data() local
593 touch = ~pkt[7] & 0x20; in itm_read_data()
594 if (!touch) { in itm_read_data()
595 if (dev->touch) { in itm_read_data()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A Dsynaptics_i2c.c230 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()
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()
373 struct synaptics_i2c *touch = dev_id; in synaptics_i2c_irq() local
375 mod_delayed_work(system_wq, &touch->dwork, 0); in synaptics_i2c_irq()
[all …]
H A Dbyd.c233 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()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_mt_common.c81 struct cyttsp5_touch *touch, u8 *xy_mode) in cyttsp5_get_touch_hdr() argument
90 cyttsp5_get_touch_axis(md, &touch->hdr[hdr], in cyttsp5_get_touch_hdr()
97 touch->hdr[hdr], touch->hdr[hdr]); in cyttsp5_get_touch_hdr()
103 touch->hdr[CY_TCH_TIME], in cyttsp5_get_touch_hdr()
104 touch->hdr[CY_TCH_NUM], in cyttsp5_get_touch_hdr()
105 touch->hdr[CY_TCH_LO], in cyttsp5_get_touch_hdr()
106 touch->hdr[CY_TCH_NOISE], in cyttsp5_get_touch_hdr()
107 touch->hdr[CY_TCH_COUNTER]); in cyttsp5_get_touch_hdr()
111 struct cyttsp5_touch *touch, u8 *xy_data) in cyttsp5_get_touch_record() argument
120 cyttsp5_get_touch_axis(md, &touch->abs[abs], in cyttsp5_get_touch_record()
[all …]
H A Dcyttsp5_proximity.c79 struct cyttsp5_touch *touch, u8 *xy_mode) in cyttsp5_get_touch_hdr() argument
88 cyttsp5_get_touch_axis(pd, &touch->hdr[hdr], in cyttsp5_get_touch_hdr()
95 touch->hdr[hdr], touch->hdr[hdr]); in cyttsp5_get_touch_hdr()
100 struct cyttsp5_touch *touch, u8 *xy_data) in cyttsp5_get_touch() argument
109 cyttsp5_get_touch_axis(pd, &touch->abs[abs], in cyttsp5_get_touch()
116 touch->abs[abs], touch->abs[abs]); in cyttsp5_get_touch()
120 __func__, touch->abs[CY_TCH_X], touch->abs[CY_TCH_X], in cyttsp5_get_touch()
121 touch->abs[CY_TCH_Y], touch->abs[CY_TCH_Y]); in cyttsp5_get_touch()
/OK3568_Linux_fs/external/xserver/test/
H A Dtouch.c40 TouchClassRec touch; in touch_grow_queue() local
49 dev.touch = &touch; in touch_grow_queue()
100 TouchClassRec touch; in touch_find_ddxid() local
109 dev.touch = &touch; in touch_find_ddxid()
168 TouchClassRec touch; in touch_begin_ddxtouch() local
178 touch.mode = XIDirectTouch; in touch_begin_ddxtouch()
179 dev.touch = &touch; in touch_begin_ddxtouch()
213 TouchClassRec touch; in touch_begin_touch() local
230 memset(&touch, 0, sizeof(touch)); in touch_begin_touch()
231 touch.num_touches = 0; in touch_begin_touch()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dimx6ul_tsc.txt5 - 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.
10 This xnur-gpio returns to low once the finger leave the touch screen (The
11 last touch event the touch controller capture).
17 This value depends on the touch screen.
18 - pre-charge-time: the touch screen need some time to precharge.
19 This value depends on the touch screen.
H A Dbu21013.txt11 - 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>;
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Ddev-touch.rst16 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.
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0034-touch-calibrator-Ignore-verify-errors.patch4 Subject: [PATCH 34/93] touch-calibrator: Ignore verify errors
10 clients/touch-calibrator.c | 3 ++-
13 diff --git a/clients/touch-calibrator.c b/clients/touch-calibrator.c
15 --- a/clients/touch-calibrator.c
16 +++ b/clients/touch-calibrator.c
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0031-touch-calibrator-Ignore-verify-errors.patch4 Subject: [PATCH 31/79] touch-calibrator: Ignore verify errors
10 clients/touch-calibrator.c | 3 ++-
13 diff --git a/clients/touch-calibrator.c b/clients/touch-calibrator.c
15 --- a/clients/touch-calibrator.c
16 +++ b/clients/touch-calibrator.c
/OK3568_Linux_fs/buildroot/package/weston/
H A D0034-touch-calibrator-Ignore-verify-errors.patch4 Subject: [PATCH 34/93] touch-calibrator: Ignore verify errors
10 clients/touch-calibrator.c | 3 ++-
13 diff --git a/clients/touch-calibrator.c b/clients/touch-calibrator.c
15 --- a/clients/touch-calibrator.c
16 +++ b/clients/touch-calibrator.c
/OK3568_Linux_fs/buildroot/dl/stressapptest/git/
H A Dmissing148 touch aclocal.m4
157 touch configure
176 touch $touch_files
187 while read f; do touch "$f"; done
201 touch $file
276 touch $file
310 touch $file
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-udraw-ps3.c105 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()
184 } else if (touch == TOUCH_TWOFINGER) { in udraw_raw_event()
213 if (touch == TOUCH_FINGER || touch == TOUCH_TWOFINGER) { in udraw_raw_event()
216 touch == TOUCH_FINGER); in udraw_raw_event()
[all …]
/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiquerydevice.c234 if (dev->touch) in SizeDeviceClasses()
448 ListTouchInfo(DeviceIntPtr dev, xXITouchInfo * touch) in ListTouchInfo() argument
450 touch->type = XITouchClass; in ListTouchInfo()
451 touch->length = sizeof(xXITouchInfo) >> 2; in ListTouchInfo()
452 touch->sourceid = dev->touch->sourceid; in ListTouchInfo()
453 touch->mode = dev->touch->mode; in ListTouchInfo()
454 touch->num_touches = dev->touch->num_touches; in ListTouchInfo()
456 return touch->length << 2; in ListTouchInfo()
460 SwapTouchInfo(DeviceIntPtr dev, xXITouchInfo * touch) in SwapTouchInfo() argument
462 swaps(&touch->type); in SwapTouchInfo()
[all …]
/OK3568_Linux_fs/yocto/poky/meta-selftest/recipes-test/postinst/
H A Dpostinst_1.0.bb18 # At rootfs time touch $TESTDIR/rootfs. Errors if the file already exists, or
34 touch $D${TESTDIR}/rootfs
47 touch ${TESTDIR}/delayed-a
60 touch ${TESTDIR}/delayed-b
67 touch $D${TESTDIR}/rootfs-before-failure
71 touch $D${TESTDIR}/rootfs-after-failure
/OK3568_Linux_fs/buildroot/package/libtool/
H A Dlibtool.mk43 find $(@D) -name aclocal.m4 -exec touch '{}' \;
44 find $(@D) -name config-h.in -exec touch '{}' \;
45 find $(@D) -name configure -exec touch '{}' \;
46 find $(@D) -name Makefile.in -exec touch '{}' \;
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-driver-hid-ntrig7 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
/OK3568_Linux_fs/kernel/tools/testing/scatterlist/
H A DMakefile28 @touch asm/io.h
29 @touch linux/highmem.h
30 @touch linux/kmemleak.h
31 @touch linux/slab.h
/OK3568_Linux_fs/buildroot/package/nfs-utils/
H A DS60nfs9 touch /run/nfs/rmtab
24 touch /var/lock/subsys/nfslock
37 touch /var/lock/subsys/nfs
76 touch /var/lock/subsys/nfs

12345678910>>...33