Home
last modified time | relevance | path

Searched refs:input_report_abs (Results 1 – 149 of 149) sorted by relevance

/linux-4.1.27/drivers/input/joystick/
Dgrip.c206 input_report_abs(dev, ABS_X, ((*data >> 15) & 1) - ((*data >> 16) & 1)); in grip_poll()
207 input_report_abs(dev, ABS_Y, ((*data >> 13) & 1) - ((*data >> 12) & 1)); in grip_poll()
222 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll()
223 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll()
224 input_report_abs(dev, ABS_THROTTLE, (data[2] >> 8) & 0x3f); in grip_poll()
226 input_report_abs(dev, ABS_HAT0X, ((data[2] >> 1) & 1) - ( data[2] & 1)); in grip_poll()
227 input_report_abs(dev, ABS_HAT0Y, ((data[2] >> 2) & 1) - ((data[2] >> 3) & 1)); in grip_poll()
241 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll()
242 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f)); in grip_poll()
243 input_report_abs(dev, ABS_BRAKE, (data[1] >> 2) & 0x3f); in grip_poll()
[all …]
Ddb9.c283 input_report_abs(dev, db9_abs[5], data[j + 6]); in db9_saturn_report()
285 input_report_abs(dev, db9_abs[3], data[j + 4]); in db9_saturn_report()
286 input_report_abs(dev, db9_abs[4], data[j + 5]); in db9_saturn_report()
288 input_report_abs(dev, db9_abs[2], data[j + 3]); in db9_saturn_report()
291 input_report_abs(dev, db9_abs[0], !(data[j + 1] & 128) - !(data[j + 1] & 64)); in db9_saturn_report()
292 input_report_abs(dev, db9_abs[1], !(data[j + 1] & 32) - !(data[j + 1] & 16)); in db9_saturn_report()
297 input_report_abs(dev, db9_abs[0], !(data[j + 1] & 128) - !(data[j + 1] & 64)); in db9_saturn_report()
298 input_report_abs(dev, db9_abs[1], !(data[j + 1] & 32) - !(data[j + 1] & 16)); in db9_saturn_report()
301 input_report_abs(dev, db9_abs[2], data[j + 3]); in db9_saturn_report()
302 input_report_abs(dev, db9_abs[3], data[j + 4]); in db9_saturn_report()
[all …]
Dmaplecontrol.c36 input_report_abs(dev, ABS_HAT0Y, in dc_pad_callback()
38 input_report_abs(dev, ABS_HAT0X, in dc_pad_callback()
40 input_report_abs(dev, ABS_HAT1Y, in dc_pad_callback()
42 input_report_abs(dev, ABS_HAT1X, in dc_pad_callback()
54 input_report_abs(dev, ABS_GAS, res[10]); in dc_pad_callback()
55 input_report_abs(dev, ABS_BRAKE, res[11]); in dc_pad_callback()
56 input_report_abs(dev, ABS_X, res[12]); in dc_pad_callback()
57 input_report_abs(dev, ABS_Y, res[13]); in dc_pad_callback()
58 input_report_abs(dev, ABS_RX, res[14]); in dc_pad_callback()
59 input_report_abs(dev, ABS_RY, res[15]); in dc_pad_callback()
Dsidewinder.c315 input_report_abs(dev, ABS_X, (GB( 3,3) << 7) | GB(16,7)); in sw_parse()
316 input_report_abs(dev, ABS_Y, (GB( 0,3) << 7) | GB(24,7)); in sw_parse()
317 input_report_abs(dev, ABS_RZ, (GB(35,2) << 7) | GB(40,7)); in sw_parse()
318 input_report_abs(dev, ABS_THROTTLE, (GB(32,3) << 7) | GB(48,7)); in sw_parse()
320 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); in sw_parse()
321 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); in sw_parse()
340 input_report_abs(sw->dev[i], ABS_X, GB(i*15+3,1) - GB(i*15+2,1)); in sw_parse()
341 input_report_abs(sw->dev[i], ABS_Y, GB(i*15+0,1) - GB(i*15+1,1)); in sw_parse()
358 input_report_abs(dev, ABS_X, GB( 9,10)); in sw_parse()
359 input_report_abs(dev, ABS_Y, GB(19,10)); in sw_parse()
[all …]
Dxpad.c365 input_report_abs(dev, ABS_X, in xpad_process_packet()
367 input_report_abs(dev, ABS_Y, in xpad_process_packet()
371 input_report_abs(dev, ABS_RX, in xpad_process_packet()
373 input_report_abs(dev, ABS_RY, in xpad_process_packet()
382 input_report_abs(dev, ABS_Z, data[10]); in xpad_process_packet()
383 input_report_abs(dev, ABS_RZ, data[11]); in xpad_process_packet()
394 input_report_abs(dev, ABS_HAT0X, in xpad_process_packet()
396 input_report_abs(dev, ABS_HAT0Y, in xpad_process_packet()
442 input_report_abs(dev, ABS_HAT0X, in xpad360_process_packet()
444 input_report_abs(dev, ABS_HAT0Y, in xpad360_process_packet()
[all …]
Dwarrior.c79 input_report_abs(dev, ABS_X, ((data[0] & 8) << 5) - (data[2] | ((data[0] & 4) << 5))); in warrior_process_packet()
80 input_report_abs(dev, ABS_Y, (data[1] | ((data[0] & 1) << 7)) - ((data[0] & 2) << 7)); in warrior_process_packet()
83 input_report_abs(dev, ABS_THROTTLE, (data[1] | ((data[0] & 1) << 7)) - ((data[0] & 2) << 7)); in warrior_process_packet()
84 input_report_abs(dev, ABS_HAT0X, (data[3] & 2 ? 1 : 0) - (data[3] & 1 ? 1 : 0)); in warrior_process_packet()
85 input_report_abs(dev, ABS_HAT0Y, (data[3] & 8 ? 1 : 0) - (data[3] & 4 ? 1 : 0)); in warrior_process_packet()
Dzhenhua.c95 input_report_abs(dev, ABS_Y, data[1]); in zhenhua_process_packet()
96 input_report_abs(dev, ABS_X, data[2]); in zhenhua_process_packet()
97 input_report_abs(dev, ABS_RZ, data[3]); in zhenhua_process_packet()
98 input_report_abs(dev, ABS_Z, data[4]); in zhenhua_process_packet()
Da3d.c152input_report_abs(dev, ABS_X, ((signed char)((data[15] << 6) | (data[16] << 3) | (data[17]))… in a3d_read()
153input_report_abs(dev, ABS_Y, ((signed char)((data[18] << 6) | (data[19] << 3) | (data[20]))… in a3d_read()
154input_report_abs(dev, ABS_RUDDER, ((signed char)((data[21] << 6) | (data[22] << 3) | (data[23]))… in a3d_read()
155input_report_abs(dev, ABS_THROTTLE, ((signed char)((data[24] << 6) | (data[25] << 3) | (data[26]))… in a3d_read()
157 input_report_abs(dev, ABS_HAT0X, ( data[5] & 1) - ((data[5] >> 2) & 1)); in a3d_read()
158 input_report_abs(dev, ABS_HAT0Y, ((data[5] >> 1) & 1) - ((data[6] >> 2) & 1)); in a3d_read()
159 input_report_abs(dev, ABS_HAT1X, ((data[4] >> 1) & 1) - ( data[3] & 1)); in a3d_read()
160 input_report_abs(dev, ABS_HAT1Y, ((data[4] >> 2) & 1) - ( data[4] & 1)); in a3d_read()
Dgamecon.c248 input_report_abs(dev, ABS_X, x); in gc_n64_process_packet()
249 input_report_abs(dev, ABS_Y, -y); in gc_n64_process_packet()
251 input_report_abs(dev, ABS_HAT0X, in gc_n64_process_packet()
253 input_report_abs(dev, ABS_HAT0Y, in gc_n64_process_packet()
396 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet()
397 input_report_abs(dev, ABS_Y, !(s & data[4]) - !(s & data[5])); in gc_nes_process_packet()
407 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet()
408 input_report_abs(dev, ABS_Y, !(s & data[4]) - !(s & data[5])); in gc_nes_process_packet()
506 input_report_abs(dev, ABS_X, in gc_multi_process_packet()
508 input_report_abs(dev, ABS_Y, in gc_multi_process_packet()
[all …]
Dwalkera0701.c112 input_report_abs(w->input_dev, ABS_X, val2); in walkera0701_parse_frame()
113 input_report_abs(w->input_dev, ABS_Y, val1); in walkera0701_parse_frame()
114 input_report_abs(w->input_dev, ABS_Z, val6); in walkera0701_parse_frame()
115 input_report_abs(w->input_dev, ABS_THROTTLE, val3); in walkera0701_parse_frame()
116 input_report_abs(w->input_dev, ABS_RUDDER, val4); in walkera0701_parse_frame()
117 input_report_abs(w->input_dev, ABS_MISC, val7); in walkera0701_parse_frame()
Dtmdc.c202 input_report_abs(port->dev, port->abs[i], data[tmdc_byte_a[i]]); in tmdc_parse_packet()
210 input_report_abs(port->dev, ABS_HAT0X, ((data[i] >> 3) & 1) - ((data[i] >> 1) & 1)); in tmdc_parse_packet()
211 input_report_abs(port->dev, ABS_HAT0Y, ((data[i] >> 2) & 1) - ( data[i] & 1)); in tmdc_parse_packet()
217 input_report_abs(port->dev, ABS_HAT0X, tmdc_hat_to_axis[(data[i] - 141) / 25].x); in tmdc_parse_packet()
218 input_report_abs(port->dev, ABS_HAT0Y, tmdc_hat_to_axis[(data[i] - 141) / 25].y); in tmdc_parse_packet()
Dadi.c227 input_report_abs(dev, *abs++, adi_get_bits(adi, 10)); in adi_decode()
230 input_report_abs(dev, *abs++, adi_get_bits(adi, 8)); in adi_decode()
235 input_report_abs(dev, *abs++, ((t >> 2) & 1) - ( t & 1)); in adi_decode()
236 input_report_abs(dev, *abs++, ((t >> 1) & 1) - ((t >> 3) & 1)); in adi_decode()
243 input_report_abs(dev, *abs++, adi_hat_to_axis[t].x); in adi_decode()
244 input_report_abs(dev, *abs++, adi_hat_to_axis[t].y); in adi_decode()
Dguillemot.c136 input_report_abs(dev, guillemot->type->abs[i], data[i + 5]); in guillemot_poll()
139 input_report_abs(dev, ABS_HAT0X, guillemot_hat_to_axis[data[4] >> 4].x); in guillemot_poll()
140 input_report_abs(dev, ABS_HAT0Y, guillemot_hat_to_axis[data[4] >> 4].y); in guillemot_poll()
Dinteract.c149 input_report_abs(dev, interact_abs_hhfx[i], (data[i & 1] >> ((i >> 1) << 3)) & 0xff); in interact_poll()
152 input_report_abs(dev, ABS_HAT0Y - i, in interact_poll()
166 input_report_abs(dev, interact_abs_pp8d[i], in interact_poll()
Damijoy.c68 input_report_abs(amijoy_dev[i], ABS_X, ((data >> 1) & 1) - ((data >> 9) & 1)); in amijoy_interrupt()
70 input_report_abs(amijoy_dev[i], ABS_Y, ((data >> 1) & 1) - ((data >> 9) & 1)); in amijoy_interrupt()
Dstinger.c82 input_report_abs(dev, ABS_X, (data[1] & 0x3F) - ((data[0] & 0x01) << 6)); in stinger_process_packet()
83 input_report_abs(dev, ABS_Y, ((data[0] & 0x02) << 5) - (data[2] & 0x3F)); in stinger_process_packet()
Dtwidjoy.c125 input_report_abs(dev, ABS_X, -abs_x); in twidjoy_process_packet()
126 input_report_abs(dev, ABS_Y, +abs_y); in twidjoy_process_packet()
Dgf2k.c180 input_report_abs(dev, gf2k_abs[i], GB(i<<3,8,0) | GB(i+46,1,8) | GB(i+50,1,9)); in gf2k_read()
183 input_report_abs(dev, gf2k_abs[i], GB(i*9+60,8,0) | GB(i+54,1,9)); in gf2k_read()
188 input_report_abs(dev, ABS_HAT0X + i, gf2k_hat_to_axis[t][i]); in gf2k_read()
Dcobra.c129 input_report_abs(dev, ABS_X, ((data[i] >> 4) & 1) - ((data[i] >> 3) & 1)); in cobra_poll()
130 input_report_abs(dev, ABS_Y, ((data[i] >> 2) & 1) - ((data[i] >> 1) & 1)); in cobra_poll()
Das5011.c152 input_report_abs(as5011->input_dev, ABS_X, x); in as5011_axis_interrupt()
153 input_report_abs(as5011->input_dev, ABS_Y, y); in as5011_axis_interrupt()
Dturbografx.c106 input_report_abs(dev, ABS_X, !!(data1 & TGFX_RIGHT) - !!(data1 & TGFX_LEFT)); in tgfx_timer()
107 input_report_abs(dev, ABS_Y, !!(data1 & TGFX_DOWN ) - !!(data1 & TGFX_UP )); in tgfx_timer()
Dmagellan.c96 input_report_abs(dev, magellan_axes[i], in magellan_process_packet()
Dgrip_mp.c521 input_report_abs(port->dev, ABS_X, port->xaxes); in report_slot()
522 input_report_abs(port->dev, ABS_Y, port->yaxes); in report_slot()
Dspaceorb.c105 input_report_abs(dev, spaceorb_axes[i], axes[i] - ((axes[i] & 0x200) ? 1024 : 0)); in spaceorb_process_packet()
Danalog.c233 input_report_abs(dev, analog_axes[j++], axes[i]); in analog_decode()
237 input_report_abs(dev, analog_hats[j++], in analog_decode()
239 input_report_abs(dev, analog_hats[j++], in analog_decode()
Dspaceball.c95 input_report_abs(dev, spaceball_axes[i], in spaceball_process_packet()
/linux-4.1.27/drivers/input/joystick/iforce/
Diforce-packets.c186 input_report_abs(dev, ABS_X, (__s16) (((__s16)data[1] << 8) | data[0])); in iforce_process_packet()
187 input_report_abs(dev, ABS_Y, (__s16) (((__s16)data[3] << 8) | data[2])); in iforce_process_packet()
188 input_report_abs(dev, ABS_THROTTLE, 255 - data[4]); in iforce_process_packet()
190 input_report_abs(dev, ABS_RUDDER, (__s8)data[7]); in iforce_process_packet()
192 input_report_abs(dev, ABS_WHEEL, (__s16) (((__s16)data[1] << 8) | data[0])); in iforce_process_packet()
193 input_report_abs(dev, ABS_GAS, 255 - data[2]); in iforce_process_packet()
194 input_report_abs(dev, ABS_BRAKE, 255 - data[3]); in iforce_process_packet()
197 input_report_abs(dev, ABS_HAT0X, iforce_hat_to_axis[data[6] >> 4].x); in iforce_process_packet()
198 input_report_abs(dev, ABS_HAT0Y, iforce_hat_to_axis[data[6] >> 4].y); in iforce_process_packet()
207 if (btns & 8) input_report_abs(dev, ABS_HAT1X, -1); in iforce_process_packet()
[all …]
/linux-4.1.27/drivers/hid/
Dwacom_wac.c80 input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ in wacom_penpartner_irq()
81 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq()
82 input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3])); in wacom_penpartner_irq()
83 input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127); in wacom_penpartner_irq()
88 input_report_abs(input, ABS_MISC, 0); /* report tool id */ in wacom_penpartner_irq()
89 input_report_abs(input, ABS_PRESSURE, -1); in wacom_penpartner_irq()
96 input_report_abs(input, ABS_MISC, STYLUS_DEVICE_ID); /* report tool id */ in wacom_penpartner_irq()
97 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq()
98 input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3])); in wacom_penpartner_irq()
99 input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127); in wacom_penpartner_irq()
[all …]
Dhid-wiimote-modules.c460 input_report_abs(wdata->accel, ABS_RX, x - 0x200); in wiimod_accel_in_accel()
461 input_report_abs(wdata->accel, ABS_RY, y - 0x200); in wiimod_accel_in_accel()
462 input_report_abs(wdata->accel, ABS_RZ, z - 0x200); in wiimod_accel_in_accel()
607 input_report_abs(wdata->ir, xid, x); in wiimod_ir_in_ir()
608 input_report_abs(wdata->ir, yid, y); in wiimod_ir_in_ir()
885 input_report_abs(wdata->extension.input, ABS_HAT0X, bx); in wiimod_nunchuk_in_ext()
886 input_report_abs(wdata->extension.input, ABS_HAT0Y, by); in wiimod_nunchuk_in_ext()
888 input_report_abs(wdata->extension.input, ABS_RX, x); in wiimod_nunchuk_in_ext()
889 input_report_abs(wdata->extension.input, ABS_RY, y); in wiimod_nunchuk_in_ext()
890 input_report_abs(wdata->extension.input, ABS_RZ, z); in wiimod_nunchuk_in_ext()
[all …]
Dhid-elo.c54 input_report_abs(input, ABS_X, (data[3] << 8) | data[2]); in elo_process_data()
55 input_report_abs(input, ABS_Y, (data[5] << 8) | data[4]); in elo_process_data()
60 input_report_abs(input, ABS_PRESSURE, press); in elo_process_data()
Dhid-magicmouse.c265 input_report_abs(input, ABS_MT_TOUCH_MAJOR, touch_major << 2); in magicmouse_emit_touch()
266 input_report_abs(input, ABS_MT_TOUCH_MINOR, touch_minor << 2); in magicmouse_emit_touch()
267 input_report_abs(input, ABS_MT_ORIENTATION, -orientation); in magicmouse_emit_touch()
268 input_report_abs(input, ABS_MT_POSITION_X, x); in magicmouse_emit_touch()
269 input_report_abs(input, ABS_MT_POSITION_Y, y); in magicmouse_emit_touch()
Dhid-sony.c1028 input_report_abs(input_dev, ABS_MT_POSITION_X, x); in dualshock4_parse_report()
1029 input_report_abs(input_dev, ABS_MT_POSITION_Y, y); in dualshock4_parse_report()
/linux-4.1.27/sound/usb/caiaq/
Dinput.c207 input_report_abs(cdev->input_dev, axis, in snd_caiaq_input_report_abs()
254 input_report_abs(input_dev, ABS_X, i); in snd_caiaq_input_read_erp()
260 input_report_abs(input_dev, ABS_HAT0X, i); in snd_caiaq_input_read_erp()
262 input_report_abs(input_dev, ABS_HAT0Y, i); in snd_caiaq_input_read_erp()
264 input_report_abs(input_dev, ABS_HAT1X, i); in snd_caiaq_input_read_erp()
266 input_report_abs(input_dev, ABS_HAT1Y, i); in snd_caiaq_input_read_erp()
268 input_report_abs(input_dev, ABS_HAT2X, i); in snd_caiaq_input_read_erp()
270 input_report_abs(input_dev, ABS_HAT2Y, i); in snd_caiaq_input_read_erp()
272 input_report_abs(input_dev, ABS_HAT3X, i); in snd_caiaq_input_read_erp()
274 input_report_abs(input_dev, ABS_HAT3Y, i); in snd_caiaq_input_read_erp()
[all …]
/linux-4.1.27/drivers/input/tablet/
Dhanwang.c198 input_report_abs(input_dev, ABS_X, in hanwang_parse_packet()
200 input_report_abs(input_dev, ABS_Y, in hanwang_parse_packet()
202 input_report_abs(input_dev, ABS_PRESSURE, p); in hanwang_parse_packet()
203 input_report_abs(input_dev, ABS_TILT_X, data[7] & 0x3f); in hanwang_parse_packet()
204 input_report_abs(input_dev, ABS_TILT_Y, data[8] & 0x7f); in hanwang_parse_packet()
216 input_report_abs(input_dev, ABS_MISC, hanwang->current_id); in hanwang_parse_packet()
229 input_report_abs(input_dev, ABS_WHEEL, data[1]); in hanwang_parse_packet()
240 input_report_abs(input_dev, ABS_RX, in hanwang_parse_packet()
242 input_report_abs(input_dev, ABS_RY, in hanwang_parse_packet()
258 input_report_abs(input_dev, ABS_MISC, hanwang->current_id); in hanwang_parse_packet()
Dgtco.c658 input_report_abs(inputdev, ABS_PRESSURE, in gtco_urb_callback()
667 input_report_abs(inputdev, ABS_TILT_X, in gtco_urb_callback()
670 input_report_abs(inputdev, ABS_TILT_Y, in gtco_urb_callback()
687 input_report_abs(inputdev, ABS_X, val); in gtco_urb_callback()
690 input_report_abs(inputdev, ABS_Y, val); in gtco_urb_callback()
694 input_report_abs(inputdev, ABS_DISTANCE, val); in gtco_urb_callback()
746 input_report_abs(inputdev, ABS_X, val); in gtco_urb_callback()
755 input_report_abs(inputdev, ABS_Y, val); in gtco_urb_callback()
765 input_report_abs(inputdev, ABS_X, val); in gtco_urb_callback()
768 input_report_abs(inputdev, ABS_Y, val); in gtco_urb_callback()
[all …]
Daiptek.c500 input_report_abs(inputdev, ABS_MISC, in aiptek_irq()
566 input_report_abs(inputdev, ABS_X, x); in aiptek_irq()
567 input_report_abs(inputdev, ABS_Y, y); in aiptek_irq()
568 input_report_abs(inputdev, ABS_PRESSURE, z); in aiptek_irq()
576 input_report_abs(inputdev, in aiptek_irq()
581 input_report_abs(inputdev, in aiptek_irq()
591 input_report_abs(inputdev, in aiptek_irq()
597 input_report_abs(inputdev, ABS_MISC, p | AIPTEK_REPORT_TOOL_STYLUS); in aiptek_irq()
643 input_report_abs(inputdev, ABS_X, x); in aiptek_irq()
644 input_report_abs(inputdev, ABS_Y, y); in aiptek_irq()
[all …]
Dkbtab.c70 input_report_abs(dev, ABS_X, get_unaligned_le16(&data[1])); in kbtab_irq()
71 input_report_abs(dev, ABS_Y, get_unaligned_le16(&data[3])); in kbtab_irq()
78 input_report_abs(dev, ABS_PRESSURE, pressure); in kbtab_irq()
Dacecad.c97 input_report_abs(dev, ABS_X, x); in usb_acecad_irq()
98 input_report_abs(dev, ABS_Y, y); in usb_acecad_irq()
99 input_report_abs(dev, ABS_PRESSURE, pressure); in usb_acecad_irq()
Dwacom_serial4.c347 input_report_abs(wacom->dev, ABS_MISC, in wacom_handle_packet()
349 input_report_abs(wacom->dev, ABS_X, x); in wacom_handle_packet()
350 input_report_abs(wacom->dev, ABS_Y, y); in wacom_handle_packet()
351 input_report_abs(wacom->dev, ABS_PRESSURE, z); in wacom_handle_packet()
/linux-4.1.27/drivers/input/touchscreen/
Delo.c101 input_report_abs(dev, ABS_X, (elo->data[4] << 8) | elo->data[3]); in elo_process_data_10()
102 input_report_abs(dev, ABS_Y, (elo->data[6] << 8) | elo->data[5]); in elo_process_data_10()
104 input_report_abs(dev, ABS_PRESSURE, in elo_process_data_10()
150 input_report_abs(dev, ABS_X, ((elo->data[0] & 0x3f) << 6) | (elo->data[1] & 0x3f)); in elo_process_data_6()
151 input_report_abs(dev, ABS_Y, ((elo->data[2] & 0x3f) << 6) | (elo->data[3] & 0x3f)); in elo_process_data_6()
170 input_report_abs(dev, ABS_PRESSURE, elo->data[5]); in elo_process_data_6()
193 input_report_abs(dev, ABS_X, elo->data[1]); in elo_process_data_3()
194 input_report_abs(dev, ABS_Y, elo->data[2]); in elo_process_data_3()
Dipaq-micro-ts.c35 input_report_abs(ts->input, ABS_X, in micro_ts_receive()
37 input_report_abs(ts->input, ABS_Y, in micro_ts_receive()
42 input_report_abs(ts->input, ABS_X, 0); in micro_ts_receive()
43 input_report_abs(ts->input, ABS_Y, 0); in micro_ts_receive()
Datmel-wm97xx.c176 input_report_abs(wm->input_dev, ABS_X, atmel_wm97xx->x); in atmel_wm97xx_channel_b_interrupt()
177 input_report_abs(wm->input_dev, ABS_Y, atmel_wm97xx->y); in atmel_wm97xx_channel_b_interrupt()
181 input_report_abs(wm->input_dev, ABS_X, atmel_wm97xx->x); in atmel_wm97xx_channel_b_interrupt()
182 input_report_abs(wm->input_dev, ABS_Y, atmel_wm97xx->y); in atmel_wm97xx_channel_b_interrupt()
183 input_report_abs(wm->input_dev, ABS_PRESSURE, value); in atmel_wm97xx_channel_b_interrupt()
205 input_report_abs(input_dev, ABS_PRESSURE, 0); in atmel_wm97xx_acc_pen_up()
Dwacom_w8001.c163 input_report_abs(dev, ABS_MT_POSITION_X, x); in parse_multi_touch()
164 input_report_abs(dev, ABS_MT_POSITION_Y, y); in parse_multi_touch()
225 input_report_abs(dev, ABS_PRESSURE, 0); in report_pen_events()
250 input_report_abs(dev, ABS_X, coord->x); in report_pen_events()
251 input_report_abs(dev, ABS_Y, coord->y); in report_pen_events()
252 input_report_abs(dev, ABS_PRESSURE, coord->pen_pressure); in report_pen_events()
271 input_report_abs(dev, ABS_X, x); in report_single_touch()
272 input_report_abs(dev, ABS_Y, y); in report_single_touch()
Dpcap_ts.c60 input_report_abs(pcap_ts->input, ABS_PRESSURE, 0); in pcap_ts_read_xy()
67 input_report_abs(pcap_ts->input, ABS_X, pcap_ts->x); in pcap_ts_read_xy()
68 input_report_abs(pcap_ts->input, ABS_Y, pcap_ts->y); in pcap_ts_read_xy()
70 input_report_abs(pcap_ts->input, ABS_PRESSURE, in pcap_ts_read_xy()
Dzylonite-wm97xx.c132 input_report_abs(wm->input_dev, ABS_X, x & 0xfff); in wm97xx_acc_pen_down()
133 input_report_abs(wm->input_dev, ABS_Y, y & 0xfff); in wm97xx_acc_pen_down()
134 input_report_abs(wm->input_dev, ABS_PRESSURE, p & 0xfff); in wm97xx_acc_pen_down()
Dauo-pixcir-ts.c216 input_report_abs(ts->input, ABS_MT_POSITION_X, in auo_pixcir_interrupt()
218 input_report_abs(ts->input, ABS_MT_POSITION_Y, in auo_pixcir_interrupt()
220 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, in auo_pixcir_interrupt()
222 input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, in auo_pixcir_interrupt()
224 input_report_abs(ts->input, ABS_MT_ORIENTATION, in auo_pixcir_interrupt()
242 input_report_abs(ts->input, ABS_X, point[abs].coord_x); in auo_pixcir_interrupt()
243 input_report_abs(ts->input, ABS_Y, point[abs].coord_y); in auo_pixcir_interrupt()
Dpenmount.c108 input_report_abs(dev, ABS_X, pm->data[1] * 128 + pm->data[2]); in pm_parse_9000()
109 input_report_abs(dev, ABS_Y, pm->data[3] * 128 + pm->data[4]); in pm_parse_9000()
122 input_report_abs(dev, ABS_X, in pm_parse_6000()
124 input_report_abs(dev, ABS_Y, in pm_parse_6000()
Dtps6507x-ts.c175 input_report_abs(input_dev, ABS_PRESSURE, 0); in tps6507x_ts_poll()
198 input_report_abs(input_dev, ABS_X, tsc->tc.x); in tps6507x_ts_poll()
199 input_report_abs(input_dev, ABS_Y, tsc->tc.y); in tps6507x_ts_poll()
200 input_report_abs(input_dev, ABS_PRESSURE, tsc->tc.pressure); in tps6507x_ts_poll()
Dda9052_tsi.c93 input_report_abs(input, ABS_X, x); in da9052_ts_read()
94 input_report_abs(input, ABS_Y, y); in da9052_ts_read()
95 input_report_abs(input, ABS_PRESSURE, z); in da9052_ts_read()
125 input_report_abs(input, ABS_PRESSURE, 0); in da9052_ts_pen_work()
Dmainstone-wm97xx.c166 input_report_abs(wm->input_dev, ABS_X, x & 0xfff); in wm97xx_acc_pen_down()
167 input_report_abs(wm->input_dev, ABS_Y, y & 0xfff); in wm97xx_acc_pen_down()
168 input_report_abs(wm->input_dev, ABS_PRESSURE, p & 0xfff); in wm97xx_acc_pen_down()
Degalax_ts.c111 input_report_abs(input_dev, ABS_MT_POSITION_X, x); in egalax_ts_interrupt()
112 input_report_abs(input_dev, ABS_MT_POSITION_Y, y); in egalax_ts_interrupt()
113 input_report_abs(input_dev, ABS_MT_PRESSURE, z); in egalax_ts_interrupt()
Dhp680_ts_input.c58 input_report_abs(hp680_ts_dev, ABS_X, absx); in do_softint()
59 input_report_abs(hp680_ts_dev, ABS_Y, absy); in do_softint()
D88pm860x-ts.c77 input_report_abs(touch->idev, ABS_X, x); in pm860x_touch_handler()
78 input_report_abs(touch->idev, ABS_Y, y); in pm860x_touch_handler()
79 input_report_abs(touch->idev, ABS_PRESSURE, rt); in pm860x_touch_handler()
83 input_report_abs(touch->idev, ABS_PRESSURE, 0); in pm860x_touch_handler()
Dgoodix.c131 input_report_abs(ts->input_dev, ABS_MT_POSITION_X, input_x); in goodix_ts_report_touch()
132 input_report_abs(ts->input_dev, ABS_MT_POSITION_Y, input_y); in goodix_ts_report_touch()
133 input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR, input_w); in goodix_ts_report_touch()
134 input_report_abs(ts->input_dev, ABS_MT_WIDTH_MAJOR, input_w); in goodix_ts_report_touch()
Djornada720_ts.c89 input_report_abs(input, ABS_X, x); in jornada720_ts_interrupt()
90 input_report_abs(input, ABS_Y, y); in jornada720_ts_interrupt()
Dsur40.c284 input_report_abs(input, ABS_MT_POSITION_X, pos_x); in sur40_report_blob()
285 input_report_abs(input, ABS_MT_POSITION_Y, pos_y); in sur40_report_blob()
286 input_report_abs(input, ABS_MT_TOOL_X, ctr_x); in sur40_report_blob()
287 input_report_abs(input, ABS_MT_TOOL_Y, ctr_y); in sur40_report_blob()
290 input_report_abs(input, ABS_MT_ORIENTATION, wide); in sur40_report_blob()
291 input_report_abs(input, ABS_MT_TOUCH_MAJOR, major); in sur40_report_blob()
292 input_report_abs(input, ABS_MT_TOUCH_MINOR, minor); in sur40_report_blob()
Dstmpe-ts.c121 input_report_abs(ts->idev, ABS_PRESSURE, 0); in stmpe_work()
153 input_report_abs(ts->idev, ABS_X, x); in stmpe_ts_handler()
154 input_report_abs(ts->idev, ABS_Y, y); in stmpe_ts_handler()
155 input_report_abs(ts->idev, ABS_PRESSURE, z); in stmpe_ts_handler()
Dmc13783_ts.c104 input_report_abs(idev, ABS_X, x1); in mc13783_ts_report_sample()
105 input_report_abs(idev, ABS_Y, y1); in mc13783_ts_report_sample()
113 input_report_abs(idev, ABS_PRESSURE, in mc13783_ts_report_sample()
Dfujitsu_ts.c67 input_report_abs(dev, ABS_X, in fujitsu_interrupt()
69 input_report_abs(dev, ABS_Y, in fujitsu_interrupt()
Dwacom_i2c.c126 input_report_abs(input, ABS_X, x); in wacom_i2c_irq()
127 input_report_abs(input, ABS_Y, y); in wacom_i2c_irq()
128 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_i2c_irq()
Deeti_ts.c106 input_report_abs(priv->input, ABS_PRESSURE, buf[5]); in eeti_ts_read()
108 input_report_abs(priv->input, ABS_X, x); in eeti_ts_read()
109 input_report_abs(priv->input, ABS_Y, y); in eeti_ts_read()
Dst1232.c120 input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, finger[i].t); in st1232_ts_irq_handler()
121 input_report_abs(input_dev, ABS_MT_POSITION_X, finger[i].x); in st1232_ts_irq_handler()
122 input_report_abs(input_dev, ABS_MT_POSITION_Y, finger[i].y); in st1232_ts_irq_handler()
Dtouchwin.c72 input_report_abs(dev, ABS_X, tw->data[0]); in tw_interrupt()
73 input_report_abs(dev, ABS_Y, tw->data[1]); in tw_interrupt()
Dgunze.c70 input_report_abs(dev, ABS_X, simple_strtoul(gunze->data + 1, NULL, 10)); in gunze_process_packet()
71 input_report_abs(dev, ABS_Y, 1024 - simple_strtoul(gunze->data + 6, NULL, 10)); in gunze_process_packet()
Dmk712.c110 input_report_abs(mk712_dev, ABS_X, last_x); in mk712_interrupt()
111 input_report_abs(mk712_dev, ABS_Y, last_y); in mk712_interrupt()
Dtouchright.c67 input_report_abs(dev, ABS_X, in tr_interrupt()
69 input_report_abs(dev, ABS_Y, in tr_interrupt()
Dtouchit213.c105 input_report_abs(dev, ABS_X, in touchit213_interrupt()
107 input_report_abs(dev, ABS_Y, in touchit213_interrupt()
Ducb1400_ts.c152 input_report_abs(idev, ABS_X, x); in ucb1400_ts_report_event()
153 input_report_abs(idev, ABS_Y, y); in ucb1400_ts_report_event()
154 input_report_abs(idev, ABS_PRESSURE, pressure); in ucb1400_ts_report_event()
161 input_report_abs(idev, ABS_PRESSURE, 0); in ucb1400_ts_event_release()
Dtsc2007.c202 input_report_abs(input, ABS_X, tc.x); in tsc2007_soft_irq()
203 input_report_abs(input, ABS_Y, tc.y); in tsc2007_soft_irq()
204 input_report_abs(input, ABS_PRESSURE, rt); in tsc2007_soft_irq()
223 input_report_abs(input, ABS_PRESSURE, 0); in tsc2007_soft_irq()
Dhampshire.c67 input_report_abs(dev, ABS_X, HAMPSHIRE_GET_XC(phampshire->data)); in hampshire_process_data()
68 input_report_abs(dev, ABS_Y, HAMPSHIRE_GET_YC(phampshire->data)); in hampshire_process_data()
Ddynapro.c68 input_report_abs(dev, ABS_X, DYNAPRO_GET_XC(pdynapro->data)); in dynapro_process_data()
69 input_report_abs(dev, ABS_Y, DYNAPRO_GET_YC(pdynapro->data)); in dynapro_process_data()
Dtsc40.c34 input_report_abs(dev, ABS_X, x); in tsc_process_data()
35 input_report_abs(dev, ABS_Y, y); in tsc_process_data()
Dar1021_i2c.c48 input_report_abs(input, ABS_X, x); in ar1021_i2c_irq()
49 input_report_abs(input, ABS_Y, y); in ar1021_i2c_irq()
Dinexio.c70 input_report_abs(dev, ABS_X, INEXIO_GET_XC(pinexio->data)); in inexio_process_data()
71 input_report_abs(dev, ABS_Y, INEXIO_GET_YC(pinexio->data)); in inexio_process_data()
Dusbtouchscreen.c1023 input_report_abs(usbtouch->input, in nexio_read_data()
1025 input_report_abs(usbtouch->input, in nexio_read_data()
1027 input_report_abs(usbtouch->input, in nexio_read_data()
1029 input_report_abs(usbtouch->input, in nexio_read_data()
1031 input_report_abs(usbtouch->input, in nexio_read_data()
1316 input_report_abs(usbtouch->input, ABS_X, usbtouch->y); in usbtouch_process_pkt()
1317 input_report_abs(usbtouch->input, ABS_Y, usbtouch->x); in usbtouch_process_pkt()
1319 input_report_abs(usbtouch->input, ABS_X, usbtouch->x); in usbtouch_process_pkt()
1320 input_report_abs(usbtouch->input, ABS_Y, usbtouch->y); in usbtouch_process_pkt()
1323 input_report_abs(usbtouch->input, ABS_PRESSURE, usbtouch->press); in usbtouch_process_pkt()
Dmtouch.c70 input_report_abs(dev, ABS_X, MTOUCH_GET_XC(mtouch->data)); in mtouch_process_format_tablet()
71 input_report_abs(dev, ABS_Y, MTOUCH_MAX_YC - MTOUCH_GET_YC(mtouch->data)); in mtouch_process_format_tablet()
Dhtcpen.c80 input_report_abs(htcpen_dev, ABS_X, x); in htcpen_interrupt()
81 input_report_abs(htcpen_dev, ABS_Y, y); in htcpen_interrupt()
Dmax11801_ts.c139 input_report_abs(data->input_dev, ABS_X, x); in max11801_ts_interrupt()
140 input_report_abs(data->input_dev, ABS_Y, y); in max11801_ts_interrupt()
Dti_am335x_tsc.c286 input_report_abs(input_dev, ABS_PRESSURE, 0); in titsc_irq()
318 input_report_abs(input_dev, ABS_X, x); in titsc_irq()
319 input_report_abs(input_dev, ABS_Y, y); in titsc_irq()
320 input_report_abs(input_dev, ABS_PRESSURE, z); in titsc_irq()
Dmigor_ts.c87 input_report_abs(priv->input, ABS_X, ypos); /*X-Y swap*/ in migor_ts_isr()
88 input_report_abs(priv->input, ABS_Y, xpos); in migor_ts_isr()
Dsx8654.c115 input_report_abs(sx8654->input, ABS_X, x); in sx8654_irq()
116 input_report_abs(sx8654->input, ABS_Y, y); in sx8654_irq()
Dmms114.c186 input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, touch->width); in mms114_process_mt()
187 input_report_abs(input_dev, ABS_MT_POSITION_X, x); in mms114_process_mt()
188 input_report_abs(input_dev, ABS_MT_POSITION_Y, y); in mms114_process_mt()
189 input_report_abs(input_dev, ABS_MT_PRESSURE, touch->strength); in mms114_process_mt()
Dmcs5000_ts.c137 input_report_abs(data->input_dev, ABS_X, x); in mcs5000_ts_interrupt()
138 input_report_abs(data->input_dev, ABS_Y, y); in mcs5000_ts_interrupt()
Dad7879.c201 input_report_abs(input_dev, ABS_X, ts->x); in ad7879_report()
202 input_report_abs(input_dev, ABS_Y, ts->y); in ad7879_report()
203 input_report_abs(input_dev, ABS_PRESSURE, ts->Rt); in ad7879_report()
221 input_report_abs(input_dev, ABS_PRESSURE, 0); in ad7879_ts_event_release()
Dzforce_ts.c390 input_report_abs(ts->input, ABS_MT_POSITION_X, in zforce_touch_event()
392 input_report_abs(ts->input, ABS_MT_POSITION_Y, in zforce_touch_event()
394 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, in zforce_touch_event()
396 input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, in zforce_touch_event()
398 input_report_abs(ts->input, ABS_MT_ORIENTATION, in zforce_touch_event()
Dintel-mid-touch.c392 input_report_abs(input, ABS_X, x); in mrstouch_report_event()
393 input_report_abs(input, ABS_Y, y); in mrstouch_report_event()
398 input_report_abs(input, ABS_PRESSURE, z); in mrstouch_report_event()
Dda9034-ts.c131 input_report_abs(touch->input_dev, ABS_X, x); in report_pen_down()
132 input_report_abs(touch->input_dev, ABS_Y, y); in report_pen_down()
Dcy8ctmg110_ts.c143 input_report_abs(input, ABS_X, x); in cy8ctmg110_touch_pos()
144 input_report_abs(input, ABS_Y, y); in cy8ctmg110_touch_pos()
Dtsc2005.c245 input_report_abs(ts->idev, ABS_X, x); in tsc2005_update_pen_state()
246 input_report_abs(ts->idev, ABS_Y, y); in tsc2005_update_pen_state()
247 input_report_abs(ts->idev, ABS_PRESSURE, pressure); in tsc2005_update_pen_state()
253 input_report_abs(ts->idev, ABS_PRESSURE, 0); in tsc2005_update_pen_state()
Dwm97xx-core.c422 input_report_abs(wm->input_dev, ABS_PRESSURE, 0); in wm97xx_read_samples()
455 input_report_abs(wm->input_dev, ABS_X, data.x & 0xfff); in wm97xx_read_samples()
456 input_report_abs(wm->input_dev, ABS_Y, data.y & 0xfff); in wm97xx_read_samples()
457 input_report_abs(wm->input_dev, ABS_PRESSURE, data.p & 0xfff); in wm97xx_read_samples()
Dw90p910_ts.c64 input_report_abs(dev, ABS_X, in w90p910_report_event()
66 input_report_abs(dev, ABS_Y, in w90p910_report_event()
Dcyttsp_core.c331 input_report_abs(input, ABS_MT_POSITION_X, be16_to_cpu(tch->x)); in cyttsp_report_tchdata()
332 input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y)); in cyttsp_report_tchdata()
333 input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); in cyttsp_report_tchdata()
Dwm831x-ts.c122 input_report_abs(wm831x_ts->input_dev, data_types[i], in wm831x_ts_data_irq()
144 input_report_abs(wm831x_ts->input_dev, in wm831x_ts_data_irq()
Dlpc32xx_ts.c123 input_report_abs(input, ABS_X, (xs[1] + xs[2]) / 2); in lpc32xx_ts_interrupt()
124 input_report_abs(input, ABS_Y, (ys[1] + ys[2]) / 2); in lpc32xx_ts_interrupt()
Ds3c2410_ts.c124 input_report_abs(ts.input, ABS_X, ts.xp); in touch_timer_fire()
125 input_report_abs(ts.input, ABS_Y, ts.yp); in touch_timer_fire()
Dili210x.c97 input_report_abs(input, ABS_MT_POSITION_X, x); in ili210x_report_events()
98 input_report_abs(input, ABS_MT_POSITION_Y, y); in ili210x_report_events()
Dad7877.c368 input_report_abs(input_dev, ABS_X, x); in ad7877_process_data()
369 input_report_abs(input_dev, ABS_Y, y); in ad7877_process_data()
370 input_report_abs(input_dev, ABS_PRESSURE, Rt); in ad7877_process_data()
383 input_report_abs(input_dev, ABS_PRESSURE, 0); in ad7877_ts_event_release()
Datmel_mxt_ts.c802 input_report_abs(input_dev, ABS_MT_POSITION_X, x); in mxt_proc_t9_message()
803 input_report_abs(input_dev, ABS_MT_POSITION_Y, y); in mxt_proc_t9_message()
804 input_report_abs(input_dev, ABS_MT_PRESSURE, amplitude); in mxt_proc_t9_message()
805 input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, area); in mxt_proc_t9_message()
906 input_report_abs(input_dev, ABS_MT_POSITION_X, x); in mxt_proc_t100_message()
907 input_report_abs(input_dev, ABS_MT_POSITION_Y, y); in mxt_proc_t100_message()
908 input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, major); in mxt_proc_t100_message()
909 input_report_abs(input_dev, ABS_MT_PRESSURE, pressure); in mxt_proc_t100_message()
910 input_report_abs(input_dev, ABS_MT_DISTANCE, distance); in mxt_proc_t100_message()
911 input_report_abs(input_dev, ABS_MT_ORIENTATION, orientation); in mxt_proc_t100_message()
Dsun4i-ts.c136 input_report_abs(ts->input, ABS_X, x); in sun4i_ts_irq_handle_input()
137 input_report_abs(ts->input, ABS_Y, y); in sun4i_ts_irq_handle_input()
Dbcm_iproc_tsc.c249 input_report_abs(priv->idev, ABS_X, x); in iproc_touchscreen_interrupt()
250 input_report_abs(priv->idev, ABS_Y, y); in iproc_touchscreen_interrupt()
Dbu21013_ts.c235 input_report_abs(data->in_dev, in bu21013_do_touch_report()
237 input_report_abs(data->in_dev, in bu21013_do_touch_report()
Dads7846.c836 input_report_abs(input, ABS_X, x); in ads7846_report_state()
837 input_report_abs(input, ABS_Y, y); in ads7846_report_state()
838 input_report_abs(input, ABS_PRESSURE, ts->pressure_max - Rt); in ads7846_report_state()
876 input_report_abs(input, ABS_PRESSURE, 0); in ads7846_irq()
Dedt-ft5x06.c246 input_report_abs(tsdata->input, ABS_MT_POSITION_X, x); in edt_ft5x06_ts_isr()
247 input_report_abs(tsdata->input, ABS_MT_POSITION_Y, y); in edt_ft5x06_ts_isr()
Dcyttsp4_core.c885 input_report_abs(md->input, sig, in cyttsp4_get_mt_touches()
904 input_report_abs(md->input, sig, in cyttsp4_get_mt_touches()
/linux-4.1.27/drivers/input/mouse/
Delantech.c277 input_report_abs(dev, ABS_X, in elantech_report_absolute_v1()
279 input_report_abs(dev, ABS_Y, in elantech_report_absolute_v1()
306 input_report_abs(dev, ABS_MT_POSITION_X, x); in elantech_set_slot()
307 input_report_abs(dev, ABS_MT_POSITION_Y, y); in elantech_set_slot()
389 input_report_abs(dev, ABS_X, x1); in elantech_report_absolute_v2()
390 input_report_abs(dev, ABS_Y, y1); in elantech_report_absolute_v2()
400 input_report_abs(dev, ABS_PRESSURE, pres); in elantech_report_absolute_v2()
401 input_report_abs(dev, ABS_TOOL_WIDTH, width); in elantech_report_absolute_v2()
524 input_report_abs(dev, ABS_X, x1); in elantech_report_absolute_v3()
525 input_report_abs(dev, ABS_Y, y1); in elantech_report_absolute_v3()
[all …]
Dlifebook.c176 input_report_abs(dev1, ABS_X, in lifebook_process_byte()
178 input_report_abs(dev1, ABS_Y, in lifebook_process_byte()
181 input_report_abs(dev1, ABS_X, in lifebook_process_byte()
183 input_report_abs(dev1, ABS_Y, in lifebook_process_byte()
Dtouchkit_ps2.c61 input_report_abs(dev, ABS_X, TOUCHKIT_GET_X(packet)); in touchkit_ps2_process_byte()
62 input_report_abs(dev, ABS_Y, TOUCHKIT_GET_Y(packet)); in touchkit_ps2_process_byte()
Dbcm5974.c511 input_report_abs(input, ABS_MT_TOUCH_MAJOR, in report_finger_data()
513 input_report_abs(input, ABS_MT_TOUCH_MINOR, in report_finger_data()
515 input_report_abs(input, ABS_MT_WIDTH_MAJOR, in report_finger_data()
517 input_report_abs(input, ABS_MT_WIDTH_MINOR, in report_finger_data()
519 input_report_abs(input, ABS_MT_ORIENTATION, in report_finger_data()
521 input_report_abs(input, ABS_MT_POSITION_X, pos->x); in report_finger_data()
522 input_report_abs(input, ABS_MT_POSITION_Y, pos->y); in report_finger_data()
540 input_report_abs(input, ABS_PRESSURE, abs_p); in report_synaptics_data()
541 input_report_abs(input, ABS_TOOL_WIDTH, abs_w); in report_synaptics_data()
Dpc110pad.c77 input_report_abs(pc110pad_dev, ABS_X, in pc110pad_interrupt()
79 input_report_abs(pc110pad_dev, ABS_Y, in pc110pad_interrupt()
Dappletouch.c630 input_report_abs(dev->input, ABS_X, x); in atp_complete_geyser_1_2()
631 input_report_abs(dev->input, ABS_Y, y); in atp_complete_geyser_1_2()
632 input_report_abs(dev->input, ABS_PRESSURE, in atp_complete_geyser_1_2()
644 input_report_abs(dev->input, ABS_PRESSURE, 0); in atp_complete_geyser_1_2()
750 input_report_abs(dev->input, ABS_X, x); in atp_complete_geyser_3_4()
751 input_report_abs(dev->input, ABS_Y, y); in atp_complete_geyser_3_4()
752 input_report_abs(dev->input, ABS_PRESSURE, in atp_complete_geyser_3_4()
764 input_report_abs(dev->input, ABS_PRESSURE, 0); in atp_complete_geyser_3_4()
Dsynaptics_usb.c118 input_report_abs(input_dev, ABS_PRESSURE, pressure); in synusb_report_stick()
169 input_report_abs(input_dev, ABS_X, x); in synusb_report_touchpad()
170 input_report_abs(input_dev, ABS_Y, in synusb_report_touchpad()
174 input_report_abs(input_dev, ABS_PRESSURE, pressure); in synusb_report_touchpad()
175 input_report_abs(input_dev, ABS_TOOL_WIDTH, tool_width); in synusb_report_touchpad()
Dnavpoint.c100 input_report_abs(navpoint->input, ABS_X, x); in navpoint_packet()
101 input_report_abs(navpoint->input, ABS_Y, y); in navpoint_packet()
102 input_report_abs(navpoint->input, ABS_PRESSURE, z); in navpoint_packet()
Dsynaptics.c829 input_report_abs(dev, ABS_MT_POSITION_X, x); in synaptics_report_semi_mt_slot()
830 input_report_abs(dev, ABS_MT_POSITION_Y, synaptics_invert_y(y)); in synaptics_report_semi_mt_slot()
939 input_report_abs(dev, ABS_MT_POSITION_X, pos[i].x); in synaptics_report_mt_data()
940 input_report_abs(dev, ABS_MT_POSITION_Y, pos[i].y); in synaptics_report_mt_data()
941 input_report_abs(dev, ABS_MT_PRESSURE, hw[i]->z); in synaptics_report_mt_data()
1061 input_report_abs(dev, ABS_X, hw.x); in synaptics_process_packet()
1062 input_report_abs(dev, ABS_Y, synaptics_invert_y(hw.y)); in synaptics_process_packet()
1064 input_report_abs(dev, ABS_PRESSURE, hw.z); in synaptics_process_packet()
1067 input_report_abs(dev, ABS_TOOL_WIDTH, finger_width); in synaptics_process_packet()
Delan_i2c_core.c771 input_report_abs(input, ABS_MT_POSITION_X, pos_x); in elan_report_contact()
772 input_report_abs(input, ABS_MT_POSITION_Y, data->max_y - pos_y); in elan_report_contact()
773 input_report_abs(input, ABS_MT_DISTANCE, hover_event); in elan_report_contact()
774 input_report_abs(input, ABS_MT_PRESSURE, in elan_report_contact()
776 input_report_abs(input, ABS_TOOL_WIDTH, mk_x); in elan_report_contact()
777 input_report_abs(input, ABS_MT_TOUCH_MAJOR, major); in elan_report_contact()
778 input_report_abs(input, ABS_MT_TOUCH_MINOR, minor); in elan_report_contact()
Dalps.c312 input_report_abs(dev, ABS_X, x); in alps_process_packet_v1_v2()
313 input_report_abs(dev, ABS_Y, y); in alps_process_packet_v1_v2()
314 input_report_abs(dev, ABS_PRESSURE, 0); in alps_process_packet_v1_v2()
326 input_report_abs(dev, ABS_X, x); in alps_process_packet_v1_v2()
327 input_report_abs(dev, ABS_Y, y); in alps_process_packet_v1_v2()
330 input_report_abs(dev, ABS_PRESSURE, z); in alps_process_packet_v1_v2()
497 input_report_abs(dev, ABS_MT_POSITION_X, x); in alps_set_slot()
498 input_report_abs(dev, ABS_MT_POSITION_Y, y); in alps_set_slot()
536 input_report_abs(dev, ABS_PRESSURE, f->pressure); in alps_report_semi_mt_data()
868 input_report_abs(dev, ABS_X, x); in alps_process_packet_v6()
[all …]
Dfocaltech.c137 input_report_abs(dev, ABS_MT_POSITION_X, clamped_x); in focaltech_report_state()
138 input_report_abs(dev, ABS_MT_POSITION_Y, in focaltech_report_state()
Dvmmouse.c193 input_report_abs(abs_dev, ABS_X, x); in vmmouse_report_events()
194 input_report_abs(abs_dev, ABS_Y, y); in vmmouse_report_events()
Dsentelic.c699 input_report_abs(dev, ABS_MT_POSITION_X, x); in fsp_set_slot()
700 input_report_abs(dev, ABS_MT_POSITION_Y, y); in fsp_set_slot()
795 input_report_abs(dev, ABS_X, abs_x); in fsp_process_byte()
796 input_report_abs(dev, ABS_Y, abs_y); in fsp_process_byte()
Dvsxxxaa.c311 input_report_abs(dev, ABS_X, x); in vsxxxaa_handle_ABS_packet()
312 input_report_abs(dev, ABS_Y, y); in vsxxxaa_handle_ABS_packet()
Dcypress_ps2.c547 input_report_abs(input, ABS_MT_POSITION_X, contact->x); in cypress_process_packet()
548 input_report_abs(input, ABS_MT_POSITION_Y, contact->y); in cypress_process_packet()
549 input_report_abs(input, ABS_MT_PRESSURE, contact->z); in cypress_process_packet()
Dhgpk.c359 input_report_abs(idev, ABS_PRESSURE, z); in hgpk_process_advanced_packet()
419 input_report_abs(idev, ABS_X, x); in hgpk_process_advanced_packet()
420 input_report_abs(idev, ABS_Y, y); in hgpk_process_advanced_packet()
Dcyapa_gen5.c2629 input_report_abs(input, ABS_MT_POSITION_X, x); in cyapa_gen5_report_slot_data()
2633 input_report_abs(input, ABS_MT_POSITION_Y, y); in cyapa_gen5_report_slot_data()
2634 input_report_abs(input, ABS_MT_PRESSURE, in cyapa_gen5_report_slot_data()
2636 input_report_abs(input, ABS_MT_TOUCH_MAJOR, in cyapa_gen5_report_slot_data()
2638 input_report_abs(input, ABS_MT_TOUCH_MINOR, in cyapa_gen5_report_slot_data()
2641 input_report_abs(input, ABS_MT_WIDTH_MAJOR, in cyapa_gen5_report_slot_data()
2643 input_report_abs(input, ABS_MT_WIDTH_MINOR, in cyapa_gen5_report_slot_data()
2646 input_report_abs(input, ABS_MT_ORIENTATION, in cyapa_gen5_report_slot_data()
Dcyapa_gen3.c1198 input_report_abs(input, ABS_MT_POSITION_X, in cyapa_gen3_irq_handler()
1200 input_report_abs(input, ABS_MT_POSITION_Y, in cyapa_gen3_irq_handler()
1202 input_report_abs(input, ABS_MT_PRESSURE, touch->pressure); in cyapa_gen3_irq_handler()
/linux-4.1.27/drivers/macintosh/ams/
Dams-input.c45 input_report_abs(idev, ABS_X, invert ? -x : x); in ams_idev_poll()
46 input_report_abs(idev, ABS_Y, invert ? -y : y); in ams_idev_poll()
47 input_report_abs(idev, ABS_Z, z); in ams_idev_poll()
/linux-4.1.27/drivers/input/misc/
Dcma3000_d0x.c127 input_report_abs(data->input_dev, ABS_MISC, 1); in cma3000_thread_irq()
130 input_report_abs(data->input_dev, ABS_MISC, 0); in cma3000_thread_irq()
150 input_report_abs(data->input_dev, ABS_X, datax); in cma3000_thread_irq()
151 input_report_abs(data->input_dev, ABS_Y, datay); in cma3000_thread_irq()
152 input_report_abs(data->input_dev, ABS_Z, dataz); in cma3000_thread_irq()
Dmma8450.c130 input_report_abs(dev->input, ABS_X, x); in mma8450_poll()
131 input_report_abs(dev->input, ABS_Y, y); in mma8450_poll()
132 input_report_abs(dev->input, ABS_Z, z); in mma8450_poll()
Dmpu3050.c245 input_report_abs(sensor->idev, ABS_X, axis.x); in mpu3050_interrupt_thread()
246 input_report_abs(sensor->idev, ABS_Y, axis.y); in mpu3050_interrupt_thread()
247 input_report_abs(sensor->idev, ABS_Z, axis.z); in mpu3050_interrupt_thread()
Dbma150.c341 input_report_abs(bma150->input, ABS_X, x); in bma150_report_xyz()
342 input_report_abs(bma150->input, ABS_Y, y); in bma150_report_xyz()
343 input_report_abs(bma150->input, ABS_Z, z); in bma150_report_xyz()
Dkxtj9.c135 input_report_abs(tj9->input_dev, ABS_X, tj9->pdata.negate_x ? -x : x); in kxtj9_report_acceleration_data()
136 input_report_abs(tj9->input_dev, ABS_Y, tj9->pdata.negate_y ? -y : y); in kxtj9_report_acceleration_data()
137 input_report_abs(tj9->input_dev, ABS_Z, tj9->pdata.negate_z ? -z : z); in kxtj9_report_acceleration_data()
Dxen-kbdfront.c91 input_report_abs(dev, ABS_X, event->pos.abs_x); in input_handler()
92 input_report_abs(dev, ABS_Y, event->pos.abs_y); in input_handler()
Dideapad_slidebar.c168 input_report_abs(slidebar_input_dev, ABS_X, slidebar_pos_get()); in slidebar_i8042_filter()
Dgpio_tilt_polled.c62 input_report_abs(input, in gpio_tilt_polled_poll()
Dad714x.c380 input_report_abs(sw->input, ABS_X, sw->flt_pos); in ad714x_slider_state_machine()
552 input_report_abs(sw->input, ABS_WHEEL, in ad714x_wheel_state_machine()
845 input_report_abs(sw->input, ABS_X, in ad714x_touchpad_state_machine()
847 input_report_abs(sw->input, ABS_Y, in ad714x_touchpad_state_machine()
Drotary_encoder.c85 input_report_abs(encoder->input, pdata->axis, encoder->pos); in rotary_encoder_report_event()
Dims-pcu.c276 input_report_abs(input, ABS_X, x); in ims_pcu_gamepad_report()
277 input_report_abs(input, ABS_Y, y); in ims_pcu_gamepad_report()
/linux-4.1.27/drivers/mfd/
Ducb1x00-ts.c61 input_report_abs(idev, ABS_X, x); in ucb1x00_ts_evt_add()
62 input_report_abs(idev, ABS_Y, y); in ucb1x00_ts_evt_add()
63 input_report_abs(idev, ABS_PRESSURE, pressure); in ucb1x00_ts_evt_add()
72 input_report_abs(idev, ABS_PRESSURE, 0); in ucb1x00_ts_event_release()
/linux-4.1.27/drivers/platform/x86/
Dclassmate-laptop.c206 input_report_abs(inputdev, ABS_X, x); in cmpc_accel_handler_v4()
207 input_report_abs(inputdev, ABS_Y, y); in cmpc_accel_handler_v4()
208 input_report_abs(inputdev, ABS_Z, z); in cmpc_accel_handler_v4()
555 input_report_abs(inputdev, ABS_X, x); in cmpc_accel_handler()
556 input_report_abs(inputdev, ABS_Y, y); in cmpc_accel_handler()
557 input_report_abs(inputdev, ABS_Z, z); in cmpc_accel_handler()
Dhdaps.c343 input_report_abs(input_dev, ABS_X, x - rest_x); in hdaps_mousedev_poll()
344 input_report_abs(input_dev, ABS_Y, y - rest_y); in hdaps_mousedev_poll()
Dasus-laptop.c473 input_report_abs(ipd->input, ABS_X, 0); in pega_accel_poll()
474 input_report_abs(ipd->input, ABS_Y, 0); in pega_accel_poll()
475 input_report_abs(ipd->input, ABS_Z, 0); in pega_accel_poll()
487 input_report_abs(ipd->input, ABS_X, -asus->pega_acc_x); in pega_accel_poll()
488 input_report_abs(ipd->input, ABS_Y, -asus->pega_acc_y); in pega_accel_poll()
489 input_report_abs(ipd->input, ABS_Z, asus->pega_acc_z); in pega_accel_poll()
Dacer-wmi.c1493 input_report_abs(acer_wmi_accel_dev, ABS_X, in acer_gsensor_event()
1495 input_report_abs(acer_wmi_accel_dev, ABS_Y, in acer_gsensor_event()
1497 input_report_abs(acer_wmi_accel_dev, ABS_Z, in acer_gsensor_event()
/linux-4.1.27/drivers/misc/ibmasm/
Dremote.c162 input_report_abs(dev, ABS_X, input->data.mouse.x); in send_mouse_event()
163 input_report_abs(dev, ABS_Y, input->data.mouse.y); in send_mouse_event()
/linux-4.1.27/drivers/iio/adc/
Dat91_adc.c335 input_report_abs(st->ts_input, ABS_X, x); in at91_ts_sample()
336 input_report_abs(st->ts_input, ABS_Y, y); in at91_ts_sample()
337 input_report_abs(st->ts_input, ABS_PRESSURE, pres); in at91_ts_sample()
392 input_report_abs(st->ts_input, ABS_X, st->ts_prev_absx); in at91_adc_rl_interrupt()
393 input_report_abs(st->ts_input, ABS_Y, st->ts_prev_absy); in at91_adc_rl_interrupt()
/linux-4.1.27/drivers/staging/ste_rmi4/
Dsynaptics_i2c_rmi4.c388 input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, in synpatics_rmi4_touchpad_report()
390 input_report_abs(input_dev, ABS_MT_POSITION_X, x); in synpatics_rmi4_touchpad_report()
391 input_report_abs(input_dev, ABS_MT_POSITION_Y, y); in synpatics_rmi4_touchpad_report()
/linux-4.1.27/include/linux/
Dinput.h397 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value) in input_report_abs() function
/linux-4.1.27/drivers/staging/iio/adc/
Dmxs-lradc.c710 input_report_abs(lradc->ts_input, ABS_X, lradc->ts_x_pos); in mxs_lradc_report_ts_event()
711 input_report_abs(lradc->ts_input, ABS_Y, lradc->ts_y_pos); in mxs_lradc_report_ts_event()
712 input_report_abs(lradc->ts_input, ABS_PRESSURE, lradc->ts_pressure); in mxs_lradc_report_ts_event()
/linux-4.1.27/drivers/misc/lis3lv02d/
Dlis3lv02d.c456 input_report_abs(pidev->input, ABS_X, x); in lis3lv02d_joystick_poll()
457 input_report_abs(pidev->input, ABS_Y, y); in lis3lv02d_joystick_poll()
458 input_report_abs(pidev->input, ABS_Z, z); in lis3lv02d_joystick_poll()
/linux-4.1.27/drivers/media/rc/
Dimon.c1088 input_report_abs(ictx->touch, ABS_X, ictx->touch_x); in imon_touch_display_timeout()
1089 input_report_abs(ictx->touch, ABS_Y, ictx->touch_y); in imon_touch_display_timeout()
1396 input_report_abs(ictx->touch, ABS_X, ictx->touch_x); in imon_touch_event()
1397 input_report_abs(ictx->touch, ABS_Y, ictx->touch_y); in imon_touch_event()
/linux-4.1.27/drivers/hwmon/
Dapplesmc.c705 input_report_abs(idev, ABS_X, x - rest_x); in applesmc_idev_poll()
706 input_report_abs(idev, ABS_Y, y - rest_y); in applesmc_idev_poll()
/linux-4.1.27/drivers/input/keyboard/
Dhil_kbd.c241 input_report_abs(dev, ABS_X + i, val); in hil_dev_handle_ptr_events()