Lines Matching refs:cls
636 struct mt_class *cls = &td->mtclass; in mt_allocate_report_data() local
664 (cls->quirks & MT_QUIRK_APPLE_TOUCHBAR && in mt_allocate_report_data()
747 struct mt_class *cls = &td->mtclass; in mt_touch_input_mapping() local
780 set_abs(hi->input, code, field, cls->sn_move); in mt_touch_input_mapping()
805 set_abs(hi->input, code, field, cls->sn_move); in mt_touch_input_mapping()
821 if ((cls->name == MT_CLS_WIN_8 || in mt_touch_input_mapping()
822 cls->name == MT_CLS_WIN_8_FORCE_MULTI_INPUT || in mt_touch_input_mapping()
823 cls->name == MT_CLS_WIN_8_FORCE_MULTI_INPUT_NSMU || in mt_touch_input_mapping()
824 cls->name == MT_CLS_WIN_8_DISABLE_WAKEUP) && in mt_touch_input_mapping()
845 if (!(cls->quirks & MT_QUIRK_APPLE_TOUCHBAR)) in mt_touch_input_mapping()
859 if (!(cls->quirks & MT_QUIRK_APPLE_TOUCHBAR)) in mt_touch_input_mapping()
869 cls->sn_width); in mt_touch_input_mapping()
875 cls->sn_height); in mt_touch_input_mapping()
890 cls->sn_pressure); in mt_touch_input_mapping()
911 cls->sn_move ? in mt_touch_input_mapping()
912 field->logical_maximum / cls->sn_move : 0, 0); in mt_touch_input_mapping()
1341 struct mt_class *cls = &td->mtclass; in mt_touch_input_configured() local
1349 if (cls->quirks & MT_QUIRK_APPLE_TOUCHBAR && cls->maxcontacts) in mt_touch_input_configured()
1350 td->maxcontacts = cls->maxcontacts; in mt_touch_input_configured()
1363 if (cls->quirks & MT_QUIRK_APPLE_TOUCHBAR) in mt_touch_input_configured()
1366 if (cls->is_indirect) in mt_touch_input_configured()
1549 struct mt_class *cls = &td->mtclass; in mt_need_to_apply_feature() local
1566 if (cls->quirks & MT_QUIRK_FORCE_GET_FEATURE) { in mt_need_to_apply_feature()
1585 if (cls->maxcontacts) { in mt_need_to_apply_feature()
1587 cls->maxcontacts); in mt_need_to_apply_feature()