Lines Matching full:application
108 unsigned int application; member
155 struct mt_application *application; member
233 static int cypress_compute_slot(struct mt_application *application, in cypress_compute_slot() argument
236 if (*slot->contactid != 0 || application->num_received == 0) in cypress_compute_slot()
418 struct mt_application *application; in mt_set_quirks() local
427 list_for_each_entry(application, &td->applications, list) { in mt_set_quirks()
428 application->quirks = val; in mt_set_quirks()
429 if (!application->have_contact_count) in mt_set_quirks()
430 application->quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; in mt_set_quirks()
527 struct mt_application *application) in mt_allocate_usage() argument
549 list_add_tail(&usage->list, &application->mt_usages); in mt_allocate_usage()
557 unsigned int application = report->application; in mt_allocate_application() local
565 mt_application->application = application; in mt_allocate_application()
568 if (application == HID_DG_TOUCHSCREEN) in mt_allocate_application()
574 if (application == HID_DG_TOUCHPAD) { in mt_allocate_application()
592 unsigned int application = report->application; in mt_find_application() local
596 if (application == tmp->application) { in mt_find_application()
623 rdata->application = mt_find_application(td, report); in mt_allocate_report_data()
625 if (!rdata->application) { in mt_allocate_report_data()
670 struct mt_application *application, in mt_store_field() argument
677 if (list_empty(&application->mt_usages)) in mt_store_field()
678 usage = mt_allocate_usage(hdev, application); in mt_store_field()
680 usage = list_last_entry(&application->mt_usages, in mt_store_field()
700 usage = mt_allocate_usage(hdev, application); in mt_store_field()
727 if (field->application == HID_DG_TOUCHSCREEN && in mt_touch_input_mapping()
759 if (field->application == HID_GD_SYSTEM_MULTIAXIS) { in mt_touch_input_mapping()
798 (field->application == HID_DG_TOUCHPAD || in mt_touch_input_mapping()
799 field->application == HID_DG_TOUCHSCREEN)) in mt_touch_input_mapping()
811 if (field->application != HID_GD_SYSTEM_MULTIAXIS) in mt_touch_input_mapping()
887 field->application == HID_DG_TOUCHPAD && in mt_touch_input_mapping()
891 if (field->application == HID_GD_SYSTEM_MULTIAXIS) in mt_touch_input_mapping()
1059 if (app->application == HID_GD_SYSTEM_MULTIAXIS) in mt_process_slot()
1178 struct mt_application *app = rdata->application; in mt_touch_report()
1325 struct mt_application *application; in mt_input_mapping() local
1334 application = rdata->application; in mt_input_mapping()
1343 field->application != HID_DG_TOUCHSCREEN && in mt_input_mapping()
1344 field->application != HID_DG_PEN && in mt_input_mapping()
1345 field->application != HID_DG_TOUCHPAD && in mt_input_mapping()
1346 field->application != HID_GD_KEYBOARD && in mt_input_mapping()
1347 field->application != HID_GD_SYSTEM_CONTROL && in mt_input_mapping()
1348 field->application != HID_CP_CONSUMER_CONTROL && in mt_input_mapping()
1349 field->application != HID_GD_WIRELESS_RADIO_CTLS && in mt_input_mapping()
1350 field->application != HID_GD_SYSTEM_MULTIAXIS && in mt_input_mapping()
1351 !(field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && in mt_input_mapping()
1352 application->quirks & MT_QUIRK_ASUS_CUSTOM_UP)) in mt_input_mapping()
1360 if (field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && in mt_input_mapping()
1361 application->quirks & MT_QUIRK_ASUS_CUSTOM_UP && in mt_input_mapping()
1380 application); in mt_input_mapping()
1383 * some egalax touchscreens have "application == DG_TOUCHSCREEN" in mt_input_mapping()
1384 * for the stylus. Overwrite the hid_input application in mt_input_mapping()
1387 hi->application = HID_DG_STYLUS; in mt_input_mapping()
1589 mt_application = rdata->application; in mt_input_configured()
1599 switch (hi->application) { in mt_input_configured()
1670 struct mt_application *application; in mt_release_contacts() local
1688 list_for_each_entry(application, &td->applications, list) { in mt_release_contacts()
1689 application->num_received = 0; in mt_release_contacts()