Lines Matching refs:mtclass

173 	struct mt_class mtclass;	/* our mt device class */  member
468 return sprintf(buf, "%u\n", td->mtclass.quirks); in mt_show_quirks()
484 td->mtclass.quirks = val; in mt_set_quirks()
558 if (td->mtclass.maxcontacts) in mt_feature_mapping()
560 td->maxcontacts = td->mtclass.maxcontacts; in mt_feature_mapping()
655 mt_application->quirks = td->mtclass.quirks; in mt_allocate_application()
671 if (!(td->mtclass.quirks & MT_QUIRK_SEPARATE_APP_REPORT) || in mt_find_application()
688 struct mt_class *cls = &td->mtclass; in mt_allocate_report_data()
799 struct mt_class *cls = &td->mtclass; in mt_touch_input_mapping()
1399 struct mt_class *cls = &td->mtclass; in mt_touch_input_configured()
1483 if (!td->mtclass.export_all_inputs && in mt_input_mapping()
1658 struct mt_class *cls = &td->mtclass; in mt_need_to_apply_feature()
1789 if (td->is_haptic_touchpad && (td->mtclass.name == MT_CLS_WIN_8 || in mt_input_configured()
1790 td->mtclass.name == MT_CLS_WIN_8_FORCE_MULTI_INPUT || in mt_input_configured()
1791 td->mtclass.name == MT_CLS_WIN_8_KEEP_LATENCY_ON_CLOSE)) { in mt_input_configured()
1844 if (hi->report && td->mtclass.quirks & MT_QUIRK_YOGABOOK9I) { in mt_input_configured()
1952 const struct mt_class *mtclass = mt_classes; /* MT_CLS_DEFAULT */ in mt_probe() local
1956 mtclass = &(mt_classes[i]); in mt_probe()
1972 td->mtclass = *mtclass; in mt_probe()
1989 td->mtclass.quirks = MT_QUIRK_ORIENTATION_INVERT; in mt_probe()
2006 if (mtclass->quirks & MT_QUIRK_FORCE_MULTI_INPUT) { in mt_probe()
2017 if (mtclass->name == MT_CLS_APPLE_TOUCHBAR && in mt_probe()
2022 if (mtclass->quirks & MT_QUIRK_FIX_CONST_CONTACT_ID) in mt_probe()
2058 if ((td->mtclass.quirks & MT_QUIRK_DISABLE_WAKEUP) || in mt_suspend()
2106 if (td->mtclass.quirks & MT_QUIRK_KEEP_LATENCY_ON_CLOSE) in mt_on_hid_hw_close()