Lines Matching refs:mtclass

102 	struct mt_class mtclass;	/* our mt device class */  member
278 return sprintf(buf, "%u\n", td->mtclass.quirks); in mt_show_quirks()
293 td->mtclass.quirks = val; in mt_set_quirks()
296 td->mtclass.quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; in mt_set_quirks()
325 if (td->mtclass.name != MT_CLS_WIN_8) in mt_get_feature()
383 if (td->mtclass.maxcontacts) in mt_feature_mapping()
385 td->maxcontacts = td->mtclass.maxcontacts; in mt_feature_mapping()
433 struct mt_class *cls = &td->mtclass; in mt_touch_input_mapping()
589 __s32 quirks = td->mtclass.quirks; in mt_compute_slot()
612 if ((td->mtclass.quirks & MT_QUIRK_CONTACT_CNT_ACCURATE) && in mt_complete_slot()
616 if (td->curvalid || (td->mtclass.quirks & MT_QUIRK_ALWAYS_VALID)) { in mt_complete_slot()
624 if ((td->mtclass.quirks & MT_QUIRK_IGNORE_DUPLICATES) && mt) { in mt_complete_slot()
682 __s32 quirks = td->mtclass.quirks; in mt_process_mt_event()
786 struct mt_class *cls = &td->mtclass; in mt_touch_input_configured()
830 if (!td->mtclass.export_all_inputs && in mt_input_mapping()
908 struct mt_class *cls = &td->mtclass; in mt_set_input_mode()
945 if (!td->mtclass.maxcontacts) in mt_set_maxcontacts()
951 max = td->mtclass.maxcontacts; in mt_set_maxcontacts()
963 __s32 quirks = td->mtclass.quirks; in mt_post_parse_default_settings()
974 td->mtclass.quirks = quirks; in mt_post_parse_default_settings()
980 struct mt_class *cls = &td->mtclass; in mt_post_parse()
1065 struct mt_class *mtclass = mt_classes; /* MT_CLS_DEFAULT */ in mt_probe() local
1069 mtclass = &(mt_classes[i]); in mt_probe()
1109 td->mtclass = *mtclass; in mt_probe()