Searched refs:mtouch (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A 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 *mtouc argument 89 struct mtouch *mtouch = serio_get_drvdata(serio); mtouch_interrupt() local 109 struct mtouch *mtouch = serio_get_drvdata(serio); mtouch_disconnect() local 127 struct mtouch *mtouch; mtouch_connect() local [all...] |
H A D | Makefile | 62 obj-$(CONFIG_TOUCHSCREEN_MTOUCH) += mtouch.o
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A 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 *mtouc argument 89 struct mtouch *mtouch = serio_get_drvdata(serio); mtouch_interrupt() local 109 struct mtouch *mtouch = serio_get_drvdata(serio); mtouch_disconnect() local 127 struct mtouch *mtouch; mtouch_connect() local [all...] |
H A D | Makefile | 68 obj-$(CONFIG_TOUCHSCREEN_MTOUCH) += mtouch.o
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | xen-kbdfront.c | 38 struct input_dev *mtouch; member 114 struct xenkbd_mtouch *mtouch) in xenkbd_handle_mt_event() 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_ in xenkbd_handle_mt_event() 113 xenkbd_handle_mt_event(struct xenkbd_info *info, struct xenkbd_mtouch *mtouch) xenkbd_handle_mt_event() argument 206 struct input_dev *kbd, *ptr, *mtouch; xenkbd_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | xen-kbdfront.c | 38 struct input_dev *mtouch; member 114 struct xenkbd_mtouch *mtouch) in xenkbd_handle_mt_event() 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_ in xenkbd_handle_mt_event() 113 xenkbd_handle_mt_event(struct xenkbd_info *info, struct xenkbd_mtouch *mtouch) xenkbd_handle_mt_event() argument 206 struct input_dev *kbd, *ptr, *mtouch; xenkbd_probe() local [all...] |
/kernel/linux/linux-5.10/include/xen/interface/io/ |
H A D | kbdif.h | 504 struct xenkbd_mtouch mtouch; member
|
/kernel/linux/linux-6.6/include/xen/interface/io/ |
H A D | kbdif.h | 487 struct xenkbd_mtouch mtouch; member
|
Completed in 4 milliseconds