Searched refs:mtouch (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/input/touchscreen/ |
D | mtouch.c | 53 struct mtouch { struct 61 static void mtouch_process_format_tablet(struct mtouch *mtouch) in mtouch_process_format_tablet() argument 63 struct input_dev *dev = mtouch->dev; in mtouch_process_format_tablet() 65 if (MTOUCH_FORMAT_TABLET_LENGTH == ++mtouch->idx) { in mtouch_process_format_tablet() 66 input_report_abs(dev, ABS_X, MTOUCH_GET_XC(mtouch->data)); in mtouch_process_format_tablet() 67 input_report_abs(dev, ABS_Y, MTOUCH_MAX_YC - MTOUCH_GET_YC(mtouch->data)); in mtouch_process_format_tablet() 68 input_report_key(dev, BTN_TOUCH, MTOUCH_GET_TOUCHED(mtouch->data)); in mtouch_process_format_tablet() 71 mtouch->idx = 0; in mtouch_process_format_tablet() 75 static void mtouch_process_response(struct mtouch *mtouch) in mtouch_process_response() argument 77 if (MTOUCH_RESPONSE_END_BYTE == mtouch->data[mtouch->idx++]) { in mtouch_process_response() [all …]
|
D | Makefile | 62 obj-$(CONFIG_TOUCHSCREEN_MTOUCH) += mtouch.o
|
D | Kconfig | 607 module will be called mtouch.
|
/Linux-v5.10/drivers/input/misc/ |
D | xen-kbdfront.c | 38 struct input_dev *mtouch; member 114 struct xenkbd_mtouch *mtouch) in xenkbd_handle_mt_event() argument 116 if (unlikely(!info->mtouch)) in xenkbd_handle_mt_event() 119 if (mtouch->contact_id != info->mtouch_cur_contact_id) { in xenkbd_handle_mt_event() 120 info->mtouch_cur_contact_id = mtouch->contact_id; in xenkbd_handle_mt_event() 121 input_mt_slot(info->mtouch, mtouch->contact_id); in xenkbd_handle_mt_event() 124 switch (mtouch->event_type) { in xenkbd_handle_mt_event() 126 input_mt_report_slot_state(info->mtouch, MT_TOOL_FINGER, true); in xenkbd_handle_mt_event() 130 input_report_abs(info->mtouch, ABS_MT_POSITION_X, in xenkbd_handle_mt_event() 131 mtouch->u.pos.abs_x); in xenkbd_handle_mt_event() [all …]
|
/Linux-v5.10/include/xen/interface/io/ |
D | kbdif.h | 504 struct xenkbd_mtouch mtouch; member
|