Lines Matching full:application

107 	unsigned int application;  member
154 struct mt_application *application; member
229 static int cypress_compute_slot(struct mt_application *application, in cypress_compute_slot() argument
232 if (*slot->contactid != 0 || application->num_received == 0) in cypress_compute_slot()
389 struct mt_application *application; in mt_set_quirks() local
398 list_for_each_entry(application, &td->applications, list) { in mt_set_quirks()
399 application->quirks = val; in mt_set_quirks()
400 if (!application->have_contact_count) in mt_set_quirks()
401 application->quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; in mt_set_quirks()
498 struct mt_application *application) in mt_allocate_usage() argument
520 list_add_tail(&usage->list, &application->mt_usages); in mt_allocate_usage()
528 unsigned int application = report->application; in mt_allocate_application() local
536 mt_application->application = application; in mt_allocate_application()
539 if (application == HID_DG_TOUCHSCREEN) in mt_allocate_application()
545 if (application == HID_DG_TOUCHPAD) { in mt_allocate_application()
563 unsigned int application = report->application; in mt_find_application() local
567 if (application == tmp->application) { in mt_find_application()
594 rdata->application = mt_find_application(td, report); in mt_allocate_report_data()
596 if (!rdata->application) { in mt_allocate_report_data()
637 struct mt_application *application, in mt_store_field() argument
644 if (list_empty(&application->mt_usages)) in mt_store_field()
645 usage = mt_allocate_usage(hdev, application); in mt_store_field()
647 usage = list_last_entry(&application->mt_usages, in mt_store_field()
667 usage = mt_allocate_usage(hdev, application); in mt_store_field()
694 if (field->application == HID_DG_TOUCHSCREEN && in mt_touch_input_mapping()
726 if (field->application == HID_GD_SYSTEM_MULTIAXIS) { in mt_touch_input_mapping()
762 (field->application == HID_DG_TOUCHPAD || in mt_touch_input_mapping()
763 field->application == HID_DG_TOUCHSCREEN)) in mt_touch_input_mapping()
775 if (field->application != HID_GD_SYSTEM_MULTIAXIS) in mt_touch_input_mapping()
851 field->application == HID_DG_TOUCHPAD && in mt_touch_input_mapping()
855 if (field->application == HID_GD_SYSTEM_MULTIAXIS) in mt_touch_input_mapping()
1023 if (app->application == HID_GD_SYSTEM_MULTIAXIS) in mt_process_slot()
1142 struct mt_application *app = rdata->application; in mt_touch_report()
1289 struct mt_application *application; in mt_input_mapping() local
1298 application = rdata->application; in mt_input_mapping()
1307 field->application != HID_DG_TOUCHSCREEN && in mt_input_mapping()
1308 field->application != HID_DG_PEN && in mt_input_mapping()
1309 field->application != HID_DG_TOUCHPAD && in mt_input_mapping()
1310 field->application != HID_GD_KEYBOARD && in mt_input_mapping()
1311 field->application != HID_GD_SYSTEM_CONTROL && in mt_input_mapping()
1312 field->application != HID_CP_CONSUMER_CONTROL && in mt_input_mapping()
1313 field->application != HID_GD_WIRELESS_RADIO_CTLS && in mt_input_mapping()
1314 field->application != HID_GD_SYSTEM_MULTIAXIS && in mt_input_mapping()
1315 !(field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && in mt_input_mapping()
1316 application->quirks & MT_QUIRK_ASUS_CUSTOM_UP)) in mt_input_mapping()
1324 if (field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && in mt_input_mapping()
1325 application->quirks & MT_QUIRK_ASUS_CUSTOM_UP && in mt_input_mapping()
1344 application); in mt_input_mapping()
1347 * some egalax touchscreens have "application == DG_TOUCHSCREEN" in mt_input_mapping()
1348 * for the stylus. Overwrite the hid_input application in mt_input_mapping()
1351 hi->application = HID_DG_STYLUS; in mt_input_mapping()
1553 mt_application = rdata->application; in mt_input_configured()
1563 switch (hi->application) { in mt_input_configured()
1637 struct mt_application *application; in mt_release_contacts() local
1655 list_for_each_entry(application, &td->applications, list) { in mt_release_contacts()
1656 application->num_received = 0; in mt_release_contacts()