Lines Matching full:application
109 unsigned int application; member
155 struct mt_application *application; member
234 static int cypress_compute_slot(struct mt_application *application, in cypress_compute_slot() argument
237 if (*slot->contactid != 0 || application->num_received == 0) in cypress_compute_slot()
424 struct mt_application *application; in mt_set_quirks() local
433 list_for_each_entry(application, &td->applications, list) { in mt_set_quirks()
434 application->quirks = val; in mt_set_quirks()
435 if (!application->have_contact_count) in mt_set_quirks()
436 application->quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; in mt_set_quirks()
533 struct mt_application *application) in mt_allocate_usage() argument
555 list_add_tail(&usage->list, &application->mt_usages); in mt_allocate_usage()
563 unsigned int application = report->application; in mt_allocate_application() local
571 mt_application->application = application; in mt_allocate_application()
574 if (application == HID_DG_TOUCHSCREEN) in mt_allocate_application()
580 if (application == HID_DG_TOUCHPAD) { in mt_allocate_application()
598 unsigned int application = report->application; in mt_find_application() local
602 if (application == tmp->application) { in mt_find_application()
629 rdata->application = mt_find_application(td, report); in mt_allocate_report_data()
631 if (!rdata->application) { in mt_allocate_report_data()
676 struct mt_application *application, in mt_store_field() argument
683 if (list_empty(&application->mt_usages)) in mt_store_field()
684 usage = mt_allocate_usage(hdev, application); in mt_store_field()
686 usage = list_last_entry(&application->mt_usages, in mt_store_field()
706 usage = mt_allocate_usage(hdev, application); in mt_store_field()
733 if (field->application == HID_DG_TOUCHSCREEN && in mt_touch_input_mapping()
765 if (field->application == HID_GD_SYSTEM_MULTIAXIS) { in mt_touch_input_mapping()
804 (field->application == HID_DG_TOUCHPAD || in mt_touch_input_mapping()
805 field->application == HID_DG_TOUCHSCREEN)) in mt_touch_input_mapping()
817 if (field->application != HID_GD_SYSTEM_MULTIAXIS) in mt_touch_input_mapping()
893 field->application == HID_DG_TOUCHPAD && in mt_touch_input_mapping()
897 if (field->application == HID_GD_SYSTEM_MULTIAXIS) in mt_touch_input_mapping()
1066 if (app->application == HID_GD_SYSTEM_MULTIAXIS) in mt_process_slot()
1205 struct mt_application *app = rdata->application; in mt_touch_report()
1352 struct mt_application *application; in mt_input_mapping() local
1361 application = rdata->application; in mt_input_mapping()
1370 field->application != HID_DG_TOUCHSCREEN && in mt_input_mapping()
1371 field->application != HID_DG_PEN && in mt_input_mapping()
1372 field->application != HID_DG_TOUCHPAD && in mt_input_mapping()
1373 field->application != HID_GD_KEYBOARD && in mt_input_mapping()
1374 field->application != HID_GD_SYSTEM_CONTROL && in mt_input_mapping()
1375 field->application != HID_CP_CONSUMER_CONTROL && in mt_input_mapping()
1376 field->application != HID_GD_WIRELESS_RADIO_CTLS && in mt_input_mapping()
1377 field->application != HID_GD_SYSTEM_MULTIAXIS && in mt_input_mapping()
1378 !(field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && in mt_input_mapping()
1379 application->quirks & MT_QUIRK_ASUS_CUSTOM_UP)) in mt_input_mapping()
1387 if (field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && in mt_input_mapping()
1388 application->quirks & MT_QUIRK_ASUS_CUSTOM_UP && in mt_input_mapping()
1407 application); in mt_input_mapping()
1410 * some egalax touchscreens have "application == DG_TOUCHSCREEN" in mt_input_mapping()
1411 * for the stylus. Overwrite the hid_input application in mt_input_mapping()
1414 hi->application = HID_DG_STYLUS; in mt_input_mapping()
1640 mt_application = rdata->application; in mt_input_configured()
1650 switch (hi->application) { in mt_input_configured()
1715 struct mt_application *application; in mt_release_contacts() local
1733 list_for_each_entry(application, &td->applications, list) { in mt_release_contacts()
1734 application->num_received = 0; in mt_release_contacts()