Searched refs:touch (Results 1 - 25 of 85) sorted by relevance

1234

/linux-master/drivers/input/touchscreen/
H A Dda9034-ts.c66 static inline int is_pen_down(struct da9034_touch *touch) argument
68 return da903x_query_status(touch->da9034_dev, DA9034_STATUS_PEN_DOWN);
71 static inline int detect_pen_down(struct da9034_touch *touch, int on) argument
74 return da903x_set_bits(touch->da9034_dev,
77 return da903x_clr_bits(touch->da9034_dev,
81 static int read_tsi(struct da9034_touch *touch) argument
86 ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x);
90 ret = da903x_read(touch->da9034_dev, DA9034_TSI_Y_MSB, &_y);
94 ret = da903x_read(touch->da9034_dev, DA9034_TSI_XY_LSB, &_v);
98 touch
104 start_tsi(struct da9034_touch *touch) argument
110 stop_tsi(struct da9034_touch *touch) argument
116 report_pen_down(struct da9034_touch *touch) argument
135 report_pen_up(struct da9034_touch *touch) argument
141 da9034_event_handler(struct da9034_touch *touch, int event) argument
225 struct da9034_touch *touch = local
234 struct da9034_touch *touch = local
248 struct da9034_touch *touch = input_get_drvdata(dev); local
279 struct da9034_touch *touch = input_get_drvdata(dev); local
299 struct da9034_touch *touch; local
[all...]
H A D88pm860x-ts.c21 /* touch register */
33 /* bit definitions of touch */
50 struct pm860x_touch *touch = data; local
51 struct pm860x_chip *chip = touch->chip;
57 ret = pm860x_bulk_read(touch->i2c, MEAS_TSIX_1, MEAS_LEN, buf);
68 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) {
70 rt = (rt * touch->res_x * x) >> ACCURATE_BIT;
74 input_report_abs(touch->idev, ABS_X, x);
75 input_report_abs(touch->idev, ABS_Y, y);
76 input_report_abs(touch
92 struct pm860x_touch *touch = input_get_drvdata(dev); local
107 struct pm860x_touch *touch = input_get_drvdata(dev); local
182 struct pm860x_touch *touch; local
[all...]
H A Dmms114.c160 static void mms114_process_mt(struct mms114_data *data, struct mms114_touch *touch) argument
168 if (touch->id > MMS114_MAX_TOUCH) {
169 dev_err(&client->dev, "Wrong touch id (%d)\n", touch->id);
173 id = touch->id - 1;
174 x = touch->x_lo | touch->x_hi << 8;
175 y = touch->y_lo | touch->y_hi << 8;
179 id, touch
192 mms114_process_touchkey(struct mms114_data *data, struct mms114_touch *touch) argument
220 struct mms114_touch touch[MMS114_MAX_TOUCH]; local
[all...]
H A Dnovatek-nvt-ts.c95 u8 *touch; local
103 touch = &data->buf[i * NVT_TS_TOUCH_SIZE];
105 if (touch[0] == NVT_TS_TOUCH_INVALID)
108 slot = touch[0] >> NVT_TS_TOUCH_SLOT_SHIFT;
114 switch (touch[0] & NVT_TS_TOUCH_TYPE_MASK) {
123 dev_warn(dev, "slot %d unknown state %d\n", slot, touch[0] & 7);
128 x = (touch[1] << 4) | (touch[3] >> 4);
129 y = (touch[2] << 4) | (touch[
[all...]
H A Dwacom_w8001.c37 /* set in first byte of touch data packets */
71 /* touch query reply packet */
157 bool touch = data[0] & (1 << i); local
160 input_mt_report_slot_state(dev, MT_TOOL_FINGER, touch);
161 if (touch) {
175 /* emulate single touch events when stylus is out of proximity.
176 * This is to make single touch backward support consistent
177 * across all Wacom single touch devices.
204 /* Early days' single-finger touch models need the following defaults */
340 /* 2 finger touch packe
467 struct w8001_touch_query touch; local
[all...]
H A Dchipone_icn8318.c91 dev_err(dev, "Error reading touch data: %d\n", ret);
112 struct icn8318_touch *touch = &touch_data.touches[i]; local
113 bool act = icn8318_touch_active(touch->event);
115 input_mt_slot(data->input, touch->slot);
121 be16_to_cpu(touch->x),
122 be16_to_cpu(touch->y), true);
H A Dmc13783_ts.c38 struct mc13xxx_ts_platform_data *touch; member in struct:mc13783_ts_priv
128 priv->touch->ato, priv->touch->atox,
183 priv->touch = dev_get_platdata(&pdev->dev);
184 if (!priv->touch) {
H A Dusbtouchscreen.c17 * - JASTEC USB touch controller/DigiTech DTR-02U
21 * - EasyTouch USB Dual/Multi touch controller from Data Modul
105 int touch, press; member in struct:usbtouch_usb
271 dev->touch = (tmp > 0);
339 dev->touch = pkt[0] & 0x01;
384 dev->touch = pkt[0] & 0x01;
415 dev->touch = pkt[0] & 0x01;
442 dev->touch = (pkt[2] & 0x40) ? 1 : 0;
584 int touch; local
588 * report touch a
[all...]
/linux-master/drivers/input/mouse/
H A Dsynaptics_i2c.c230 static inline void set_scan_rate(struct synaptics_i2c *touch, int scan_rate) argument
232 touch->scan_ms = MSEC_PER_SEC / scan_rate;
233 touch->scan_rate_param = scan_rate;
335 static bool synaptics_i2c_get_input(struct synaptics_i2c *touch) argument
337 struct input_dev *input = touch->input;
343 if (synaptics_i2c_check_error(touch->client))
347 data = synaptics_i2c_reg_get(touch->client, DATA_REG0);
354 xy_delta = synaptics_i2c_word_get(touch->client, REL_X_REG) & 0xffff;
373 struct synaptics_i2c *touch = dev_id; local
375 mod_delayed_work(system_wq, &touch
380 synaptics_i2c_check_params(struct synaptics_i2c *touch) argument
407 synaptics_i2c_adjust_delay(struct synaptics_i2c *touch, bool have_data) argument
434 struct synaptics_i2c *touch = local
456 struct synaptics_i2c *touch = input_get_drvdata(input); local
472 struct synaptics_i2c *touch = input_get_drvdata(input); local
483 synaptics_i2c_set_input_params(struct synaptics_i2c *touch) argument
509 struct synaptics_i2c *touch; local
527 struct synaptics_i2c *touch; local
591 struct synaptics_i2c *touch = i2c_get_clientdata(client); local
603 struct synaptics_i2c *touch = i2c_get_clientdata(client); local
617 struct synaptics_i2c *touch = i2c_get_clientdata(client); local
[all...]
H A Dbyd.c53 /* Time in jiffies used to timeout various touch events (64 ms) */
233 bool touch; member in struct:byd_data
241 input_report_key(dev, BTN_TOUCH, priv->touch);
242 input_report_key(dev, BTN_TOOL_FINGER, priv->touch);
258 priv->touch = false;
265 * Move cursor back to center of pad when we lose touch - this
291 if (!priv->touch) {
295 priv->touch = time_after(jiffies, tap_time);
314 priv->touch = true;
330 /* Reset time since last touch
[all...]
/linux-master/tools/testing/selftests/pstore/
H A Dpstore_crash_test24 touch $REBOOT_FLAG
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dkvm-remote-noreap.sh28 find "$pathname" -type f -exec touch -c {} \; > /dev/null 2>&1
H A Djitterstart.sh33 touch ${jittering_dir}/jittering
/linux-master/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
/linux-master/tools/perf/tests/shell/
H A Drecord+script_probe_vfs_getname.sh5 # then use it with 'perf record' using 'touch' to write to a temp file, then
25 perf record -o ${perfdata} -e probe:vfs_getname\* touch $file
31 grep -E " +touch +[0-9]+ +\[[0-9]+\] +[0-9]+\.[0-9]+: +probe:vfs_getname[_0-9]*: +\([[:xdigit:]]+\) +pathname=\"${file}\""
H A Dtrace+probe_vfs_getname.sh5 # then use it with 'perf trace' using 'touch' to write to a temp file, then
23 perf trace -e $evts touch $file 2>&1 | \
24 grep -E " +[0-9]+\.[0-9]+ +\( +[0-9]+\.[0-9]+ ms\): +touch/[0-9]+ open(at)?\((dfd: +CWD, +)?filename: +\"?${file}\"?, +flags: CREAT\|NOCTTY\|NONBLOCK\|WRONLY, +mode: +IRUGO\|IWUGO\) += +[0-9]+$"
H A Dtest_arm_coresight.sh41 -- taskset -c $2 touch $file > /dev/null 2>&1
48 # touch 6512 1 branches:u: ffffb220824c strcmp+0xc (/lib/aarch64-linux-gnu/ld-2.27.so)
49 # touch 6512 1 branches:u: ffffb22082e0 strcmp+0xa0 (/lib/aarch64-linux-gnu/ld-2.27.so)
50 # touch 6512 1 branches:u: ffffb2208320 strcmp+0xe0 (/lib/aarch64-linux-gnu/ld-2.27.so)
59 # 73.04% 73.04% touch libc-2.27.so [.] _dl_addr
60 # 7.71% 7.71% touch libc-2.27.so [.] getenv
61 # 2.59% 2.59% touch ld-2.27.so [.] strcmp
70 # 68.12% touch libc-2.27.so [.] _dl_addr
71 # 5.80% touch libc-2.27.so [.] getenv
72 # 4.35% touch l
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H A DMakefile7 vivid-kthread-touch.o vivid-touch-cap.o
/linux-master/tools/testing/selftests/mm/
H A Dhugetlb_fault_after_madv.c18 void *touch(void *unused) function
65 pthread_create(&thread2, NULL, touch, NULL);
H A Dhugetlb_madv_vs_map.c36 void *touch(void *unused) function
107 pthread_create(&thread2, NULL, touch, NULL);
/linux-master/drivers/hid/
H A Dhid-udraw-ps3.c26 * - the touch area which works as a touchpad
77 * the device could report a single touch when the two fingers
81 * We'll make do without it, and try to report the first touch
105 int touch; local
112 touch = TOUCH_NONE;
114 touch = TOUCH_PEN;
116 touch = TOUCH_FINGER;
118 touch = TOUCH_TWOFINGER;
171 if (touch != TOUCH_NONE) {
178 if (touch
[all...]
/linux-master/tools/testing/selftests/ia64/
H A Daliasing-test.c24 static int map_mem(char *path, off_t offset, size_t length, int touch) argument
46 if (touch) {
62 static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch) argument
89 rc = map_mem(path2, offset, length, touch);
91 fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable" : "mappable");
101 rc = scan_tree(path2, file, offset, length, touch);
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c55 static void touch(void) function
189 touch();
192 touch();
204 touch();
207 touch();
234 touch();
246 touch();
408 fprintf(stderr, "\t\t--no-fp\t\tDon't touch FP\n");
410 fprintf(stderr, "\t\t--no-altivec\tDon't touch altivec\n");
412 fprintf(stderr, "\t\t--no-vector\tDon't touch vecto
[all...]
/linux-master/include/linux/mfd/wm831x/
H A Dpdata.h128 struct wm831x_touch_pdata *touch; member in struct:wm831x_pdata
/linux-master/scripts/selinux/
H A Dinstall_policy.sh55 touch /etc/selinux/dummy/contexts/virtual_domain_context
56 touch /etc/selinux/dummy/contexts/virtual_image_context

Completed in 264 milliseconds

1234