• Home
  • Raw
  • Download

Lines Matching refs:input_report_abs

99 			input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */  in wacom_penpartner_irq()
100 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq()
101 input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3])); in wacom_penpartner_irq()
102 input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127); in wacom_penpartner_irq()
107 input_report_abs(input, ABS_MISC, 0); /* report tool id */ in wacom_penpartner_irq()
108 input_report_abs(input, ABS_PRESSURE, -1); in wacom_penpartner_irq()
115 input_report_abs(input, ABS_MISC, STYLUS_DEVICE_ID); /* report tool id */ in wacom_penpartner_irq()
116 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq()
117 input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3])); in wacom_penpartner_irq()
118 input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127); in wacom_penpartner_irq()
164 input_report_abs(input, ABS_MISC, 0); in wacom_pl_irq()
176 input_report_abs(input, ABS_X, data[3] | (data[2] << 7) | ((data[1] & 0x03) << 14)); in wacom_pl_irq()
177 input_report_abs(input, ABS_Y, data[6] | (data[5] << 7) | ((data[4] & 0x03) << 14)); in wacom_pl_irq()
178 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_pl_irq()
189 input_report_abs(input, ABS_MISC, wacom->id[0]); in wacom_pl_irq()
213 input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ in wacom_ptu_irq()
214 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_ptu_irq()
215 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); in wacom_ptu_irq()
216 input_report_abs(input, ABS_PRESSURE, le16_to_cpup((__le16 *)&data[6])); in wacom_ptu_irq()
241 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_dtu_irq()
242 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); in wacom_dtu_irq()
243 input_report_abs(input, ABS_PRESSURE, ((data[7] & 0x01) << 8) | data[6]); in wacom_dtu_irq()
248 input_report_abs(input, ABS_MISC, wacom->id[0]); in wacom_dtu_irq()
268 input_report_abs(input, ABS_MISC, in wacom_dtus_irq()
289 input_report_abs(input, ABS_X, get_unaligned_be16(&data[3])); in wacom_dtus_irq()
290 input_report_abs(input, ABS_Y, get_unaligned_be16(&data[5])); in wacom_dtus_irq()
292 input_report_abs(input, ABS_PRESSURE, pressure); in wacom_dtus_irq()
298 input_report_abs(input, ABS_MISC, wacom->id[0]); in wacom_dtus_irq()
352 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_graphire_irq()
353 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); in wacom_graphire_irq()
356 input_report_abs(input, ABS_PRESSURE, data[6] | in wacom_graphire_irq()
359 input_report_abs(input, ABS_PRESSURE, data[6] | in wacom_graphire_irq()
369 input_report_abs(input, ABS_DISTANCE, data[6] & 0x3f); in wacom_graphire_irq()
375 input_report_abs(input, ABS_DISTANCE, rw); in wacom_graphire_irq()
386 input_report_abs(input, ABS_DISTANCE, data[7] & 0x3f); in wacom_graphire_irq()
394 input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ in wacom_graphire_irq()
411 input_report_abs(pad_input, ABS_MISC, wacom->id[1]); in wacom_graphire_irq()
424 input_report_abs(pad_input, ABS_WHEEL, (data[8] & 0x7f)); in wacom_graphire_irq()
427 input_report_abs(pad_input, ABS_MISC, wacom->id[1]); in wacom_graphire_irq()
439 input_report_abs(pad_input, ABS_MISC, wacom->id[1]); in wacom_graphire_irq()
543 input_report_abs(input, ABS_X, be16_to_cpup((__be16 *)&data[4])); in wacom_intuos_pad()
544 input_report_abs(input, ABS_Y, be16_to_cpup((__be16 *)&data[6])); in wacom_intuos_pad()
545 input_report_abs(input, ABS_Z, be16_to_cpup((__be16 *)&data[8])); in wacom_intuos_pad()
622 input_report_abs(input, ABS_RX, strip1); in wacom_intuos_pad()
623 input_report_abs(input, ABS_RY, strip2); in wacom_intuos_pad()
625 input_report_abs(input, ABS_WHEEL, (ring1 & 0x80) ? (ring1 & 0x7f) : 0); in wacom_intuos_pad()
626 input_report_abs(input, ABS_THROTTLE, (ring2 & 0x80) ? (ring2 & 0x7f) : 0); in wacom_intuos_pad()
629 input_report_abs(input, ABS_MISC, prox ? PAD_DEVICE_ID : 0); in wacom_intuos_pad()
740 input_report_abs(input, ABS_X, 0); in wacom_exit_report()
741 input_report_abs(input, ABS_Y, 0); in wacom_exit_report()
742 input_report_abs(input, ABS_DISTANCE, 0); in wacom_exit_report()
743 input_report_abs(input, ABS_TILT_X, 0); in wacom_exit_report()
744 input_report_abs(input, ABS_TILT_Y, 0); in wacom_exit_report()
751 input_report_abs(input, ABS_THROTTLE, 0); in wacom_exit_report()
752 input_report_abs(input, ABS_RZ, 0); in wacom_exit_report()
754 input_report_abs(input, ABS_PRESSURE, 0); in wacom_exit_report()
758 input_report_abs(input, ABS_WHEEL, 0); in wacom_exit_report()
760 input_report_abs(input, ABS_Z, 0); in wacom_exit_report()
763 input_report_abs(input, ABS_MISC, 0); /* reset tool id */ in wacom_exit_report()
804 input_report_abs(input, ABS_PRESSURE, 0); in wacom_intuos_inout()
805 input_report_abs(input, ABS_DISTANCE, wacom->features.distance_max); in wacom_intuos_inout()
890 input_report_abs(input, ABS_X, x); in wacom_intuos_general()
891 input_report_abs(input, ABS_Y, y); in wacom_intuos_general()
892 input_report_abs(input, ABS_DISTANCE, distance); in wacom_intuos_general()
903 input_report_abs(input, ABS_PRESSURE, t); in wacom_intuos_general()
905 input_report_abs(input, ABS_TILT_X, in wacom_intuos_general()
907 input_report_abs(input, ABS_TILT_Y, (data[8] & 0x7f) - 64); in wacom_intuos_general()
916 input_report_abs(input, ABS_WHEEL, in wacom_intuos_general()
918 input_report_abs(input, ABS_TILT_X, in wacom_intuos_general()
920 input_report_abs(input, ABS_TILT_Y, (data[8] & 0x7f) - 64); in wacom_intuos_general()
930 input_report_abs(input, ABS_Z, t); in wacom_intuos_general()
934 input_report_abs(input, ABS_RZ, (data[7] & 0x20) ? in wacom_intuos_general()
948 input_report_abs(input, ABS_THROTTLE, (data[8] & 0x08) ? -t : t); in wacom_intuos_general()
961 input_report_abs(input, ABS_TILT_X, in wacom_intuos_general()
963 input_report_abs(input, ABS_TILT_Y, (data[8] & 0x7f) - 64); in wacom_intuos_general()
1002 input_report_abs(input, ABS_MISC, in wacom_intuos_general()
1103 input_report_abs(input, ABS_WHEEL, (data[12] & 0x7f) - 1); in wacom_remote_irq()
1105 input_report_abs(input, ABS_WHEEL, 0); in wacom_remote_irq()
1111 input_report_abs(input, ABS_MISC, PAD_DEVICE_ID); in wacom_remote_irq()
1113 input_report_abs(input, ABS_MISC, 0); in wacom_remote_irq()
1310 input_report_abs(pen_input, ABS_X, get_unaligned_le16(&frame[1])); in wacom_intuos_pro2_bt_pen()
1311 input_report_abs(pen_input, ABS_Y, get_unaligned_le16(&frame[3])); in wacom_intuos_pro2_bt_pen()
1323 input_report_abs(pen_input, ABS_TILT_X, in wacom_intuos_pro2_bt_pen()
1325 input_report_abs(pen_input, ABS_TILT_Y, in wacom_intuos_pro2_bt_pen()
1327 input_report_abs(pen_input, ABS_Z, rotation); in wacom_intuos_pro2_bt_pen()
1328 input_report_abs(pen_input, ABS_WHEEL, in wacom_intuos_pro2_bt_pen()
1333 input_report_abs(pen_input, ABS_PRESSURE, get_unaligned_le16(&frame[5])); in wacom_intuos_pro2_bt_pen()
1336 input_report_abs(pen_input, ABS_DISTANCE, in wacom_intuos_pro2_bt_pen()
1339 input_report_abs(pen_input, ABS_DISTANCE, in wacom_intuos_pro2_bt_pen()
1349 input_report_abs(pen_input, ABS_MISC, in wacom_intuos_pro2_bt_pen()
1400 input_report_abs(touch_input, ABS_MT_POSITION_X, x); in wacom_intuos_pro2_bt_touch()
1401 input_report_abs(touch_input, ABS_MT_POSITION_Y, y); in wacom_intuos_pro2_bt_touch()
1402 input_report_abs(touch_input, ABS_MT_TOUCH_MAJOR, max(w, h)); in wacom_intuos_pro2_bt_touch()
1403 input_report_abs(touch_input, ABS_MT_TOUCH_MINOR, min(w, h)); in wacom_intuos_pro2_bt_touch()
1404 input_report_abs(touch_input, ABS_MT_ORIENTATION, w > h); in wacom_intuos_pro2_bt_touch()
1447 input_report_abs(pad_input, ABS_WHEEL, ringstatus ? ring : 0); in wacom_intuos_pro2_bt_pad()
1450 input_report_abs(pad_input, ABS_MISC, prox ? PAD_DEVICE_ID : 0); in wacom_intuos_pro2_bt_pad()
1477 input_report_abs(pad_input, ABS_MISC, buttons ? PAD_DEVICE_ID : 0); in wacom_intuos_gen3_bt_pad()
1564 input_report_abs(input, ABS_MT_POSITION_X, t_x); in wacom_24hdt_irq()
1565 input_report_abs(input, ABS_MT_POSITION_Y, t_y); in wacom_24hdt_irq()
1573 input_report_abs(input, ABS_MT_TOUCH_MAJOR, min(w,h)); in wacom_24hdt_irq()
1574 input_report_abs(input, ABS_MT_WIDTH_MAJOR, in wacom_24hdt_irq()
1576 input_report_abs(input, ABS_MT_WIDTH_MINOR, min(w, h)); in wacom_24hdt_irq()
1577 input_report_abs(input, ABS_MT_ORIENTATION, w > h); in wacom_24hdt_irq()
1628 input_report_abs(input, ABS_MT_POSITION_X, x); in wacom_mt_touch()
1629 input_report_abs(input, ABS_MT_POSITION_Y, y); in wacom_mt_touch()
1658 input_report_abs(input, ABS_MT_POSITION_X, x); in wacom_tpc_mt_touch()
1659 input_report_abs(input, ABS_MT_POSITION_Y, y); in wacom_tpc_mt_touch()
1695 input_report_abs(input, ABS_X, x); in wacom_tpc_single_touch()
1696 input_report_abs(input, ABS_Y, y); in wacom_tpc_single_touch()
1725 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_tpc_pen()
1726 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); in wacom_tpc_pen()
1727 input_report_abs(input, ABS_PRESSURE, ((data[7] & 0x07) << 8) | data[6]); in wacom_tpc_pen()
2458 input_report_abs(input, ABS_MISC, sense ? id : 0); in wacom_wac_pen_report()
2555 input_report_abs(input, mt ? ABS_MT_POSITION_X : ABS_X, in wacom_wac_finger_slot()
2557 input_report_abs(input, mt ? ABS_MT_POSITION_Y : ABS_Y, in wacom_wac_finger_slot()
2561 input_report_abs(input, ABS_MT_TOUCH_MAJOR, max(hid_data->width, hid_data->height)); in wacom_wac_finger_slot()
2562 input_report_abs(input, ABS_MT_TOUCH_MINOR, min(hid_data->width, hid_data->height)); in wacom_wac_finger_slot()
2564 input_report_abs(input, ABS_MT_ORIENTATION, hid_data->width <= hid_data->height ? 0 : 1); in wacom_wac_finger_slot()
2905 input_report_abs(input, ABS_MT_POSITION_X, x); in wacom_bpt_touch()
2906 input_report_abs(input, ABS_MT_POSITION_Y, y); in wacom_bpt_touch()
2957 input_report_abs(input, ABS_MT_POSITION_X, x); in wacom_bpt3_touch_msg()
2958 input_report_abs(input, ABS_MT_POSITION_Y, y); in wacom_bpt3_touch_msg()
2959 input_report_abs(input, ABS_MT_TOUCH_MAJOR, width); in wacom_bpt3_touch_msg()
2960 input_report_abs(input, ABS_MT_TOUCH_MINOR, height); in wacom_bpt3_touch_msg()
3069 input_report_abs(input, ABS_X, x); in wacom_bpt_pen()
3070 input_report_abs(input, ABS_Y, y); in wacom_bpt_pen()
3072 input_report_abs(input, ABS_PRESSURE, p); in wacom_bpt_pen()
3073 input_report_abs(input, ABS_DISTANCE, d); in wacom_bpt_pen()
3076 input_report_abs(input, ABS_MISC, wacom->id[0]); /* TOOL ID */ in wacom_bpt_pen()
3154 input_report_abs(input, ABS_MT_POSITION_X, x); in wacom_bamboo_pad_touch_event()
3155 input_report_abs(input, ABS_MT_POSITION_Y, y); in wacom_bamboo_pad_touch_event()