Lines Matching refs:quirks
112 __s32 quirks; member
142 __s32 quirks; member
244 .quirks = MT_QUIRK_ALWAYS_VALID |
247 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP },
249 .quirks = MT_QUIRK_ALWAYS_VALID},
251 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE },
253 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
256 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
259 .quirks = MT_QUIRK_VALID_IS_INRANGE |
263 .quirks = MT_QUIRK_VALID_IS_INRANGE |
267 .quirks = MT_QUIRK_VALID_IS_INRANGE |
270 .quirks = MT_QUIRK_ALWAYS_VALID |
278 .quirks = MT_QUIRK_ALWAYS_VALID |
282 .quirks = MT_QUIRK_ALWAYS_VALID |
291 .quirks = MT_QUIRK_IGNORE_DUPLICATES |
300 .quirks = MT_QUIRK_ALWAYS_VALID |
309 .quirks = MT_QUIRK_ALWAYS_VALID |
320 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
329 .quirks = MT_QUIRK_SLOT_IS_CONTACTID |
335 .quirks = MT_QUIRK_SLOT_IS_CONTACTID |
341 .quirks = MT_QUIRK_ALWAYS_VALID,
346 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP,
349 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP |
355 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP |
360 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP |
366 .quirks = MT_QUIRK_ALWAYS_VALID |
372 .quirks = MT_QUIRK_ALWAYS_VALID |
376 .quirks = MT_QUIRK_ALWAYS_VALID |
381 .quirks = MT_QUIRK_ALWAYS_VALID |
387 .quirks = MT_QUIRK_ALWAYS_VALID |
394 .quirks = MT_QUIRK_ALWAYS_VALID |
409 return sprintf(buf, "%u\n", td->mtclass.quirks); in mt_show_quirks()
425 td->mtclass.quirks = val; in mt_set_quirks()
428 application->quirks = val; in mt_set_quirks()
430 application->quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; in mt_set_quirks()
436 static DEVICE_ATTR(quirks, S_IWUSR | S_IRUGO, mt_show_quirks, mt_set_quirks);
457 if (hdev->quirks & HID_QUIRK_NO_INIT_REPORTS) in mt_get_feature()
581 mt_application->quirks = td->mtclass.quirks; in mt_allocate_application()
597 if (!(td->mtclass.quirks & MT_QUIRK_SEPARATE_APP_REPORT) || in mt_find_application()
787 if (app->quirks & MT_QUIRK_HOVERING) { in mt_touch_input_mapping()
800 app->quirks |= MT_QUIRK_CONFIDENCE; in mt_touch_input_mapping()
802 if (app->quirks & MT_QUIRK_CONFIDENCE) in mt_touch_input_mapping()
821 if (!(app->quirks & MT_QUIRK_NO_AREA)) in mt_touch_input_mapping()
827 if (!(app->quirks & MT_QUIRK_NO_AREA)) { in mt_touch_input_mapping()
886 if ((app->quirks & MT_QUIRK_WIN8_PTP_BUTTONS) && in mt_touch_input_mapping()
912 __s32 quirks = app->quirks; in mt_compute_slot() local
914 if (quirks & MT_QUIRK_SLOT_IS_CONTACTID) in mt_compute_slot()
917 if (quirks & MT_QUIRK_CYPRESS) in mt_compute_slot()
920 if (quirks & MT_QUIRK_SLOT_IS_CONTACTNUMBER) in mt_compute_slot()
923 if (quirks & MT_QUIRK_SLOT_IS_CONTACTID_MINUS_ONE) in mt_compute_slot()
958 if (app->quirks & MT_QUIRK_WIN8_PTP_BUTTONS) in mt_sync_frame()
1012 __s32 quirks = app->quirks; in mt_process_slot() local
1023 if ((quirks & MT_QUIRK_CONTACT_CNT_ACCURATE) && in mt_process_slot()
1027 if (!(quirks & MT_QUIRK_ALWAYS_VALID)) { in mt_process_slot()
1028 if (quirks & MT_QUIRK_VALID_IS_INRANGE) in mt_process_slot()
1030 if (quirks & MT_QUIRK_NOT_SEEN_MEANS_UP) in mt_process_slot()
1032 if (quirks & MT_QUIRK_VALID_IS_CONFIDENCE) in mt_process_slot()
1043 if ((quirks & MT_QUIRK_IGNORE_DUPLICATES) && mt) { in mt_process_slot()
1051 if (quirks & MT_QUIRK_CONFIDENCE) in mt_process_slot()
1054 if (quirks & MT_QUIRK_HOVERING) in mt_process_slot()
1109 if (quirks & MT_QUIRK_TOUCH_SIZE_SCALING) { in mt_process_slot()
1141 __s32 quirks = app->quirks; in mt_process_mt_event() local
1147 if (quirks & MT_QUIRK_WIN8_PTP_BUTTONS) { in mt_process_mt_event()
1209 if ((app->quirks & MT_QUIRK_WIN8_PTP_BUTTONS) && in mt_touch_report()
1262 if (app->quirks & MT_QUIRK_STICKY_FINGERS) { in mt_touch_report()
1292 if (app->quirks & MT_QUIRK_NOT_SEEN_MEANS_UP) in mt_touch_input_configured()
1352 application->quirks & MT_QUIRK_ASUS_CUSTOM_UP)) in mt_input_mapping()
1361 application->quirks & MT_QUIRK_ASUS_CUSTOM_UP && in mt_input_mapping()
1466 if (cls->quirks & MT_QUIRK_FORCE_GET_FEATURE) { in mt_need_to_apply_feature()
1552 __s32 quirks = app->quirks; in mt_post_parse_default_settings() local
1556 quirks |= MT_QUIRK_ALWAYS_VALID; in mt_post_parse_default_settings()
1557 quirks &= ~MT_QUIRK_NOT_SEEN_MEANS_UP; in mt_post_parse_default_settings()
1558 quirks &= ~MT_QUIRK_VALID_IS_INRANGE; in mt_post_parse_default_settings()
1559 quirks &= ~MT_QUIRK_VALID_IS_CONFIDENCE; in mt_post_parse_default_settings()
1560 quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; in mt_post_parse_default_settings()
1563 app->quirks = quirks; in mt_post_parse_default_settings()
1569 app->quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; in mt_post_parse()
1741 hdev->quirks |= HID_QUIRK_NO_INPUT_SYNC; in mt_probe()
1748 hdev->quirks |= HID_QUIRK_INPUT_PER_APP; in mt_probe()
1751 hdev->quirks |= HID_QUIRK_MULTI_INPUT; in mt_probe()
1753 if (mtclass->quirks & MT_QUIRK_FORCE_MULTI_INPUT) { in mt_probe()
1754 hdev->quirks &= ~HID_QUIRK_INPUT_PER_APP; in mt_probe()
1755 hdev->quirks |= HID_QUIRK_MULTI_INPUT; in mt_probe()
1764 if (mtclass->quirks & MT_QUIRK_FIX_CONST_CONTACT_ID) in mt_probe()
1787 if ((td->mtclass.quirks & MT_QUIRK_DISABLE_WAKEUP) || in mt_suspend()