Lines Matching refs:mt_application

107 struct mt_application {  struct
155 struct mt_application *application; argument
174 struct mt_application *app);
175 static void mt_post_parse(struct mt_device *td, struct mt_application *app);
228 static int cypress_compute_slot(struct mt_application *application, in cypress_compute_slot()
379 struct mt_application *application; in mt_set_quirks()
488 struct mt_application *application) in mt_allocate_usage()
515 static struct mt_application *mt_allocate_application(struct mt_device *td, in mt_allocate_application()
518 struct mt_application *mt_application; in mt_allocate_application() local
520 mt_application = devm_kzalloc(&td->hdev->dev, sizeof(*mt_application), in mt_allocate_application()
522 if (!mt_application) in mt_allocate_application()
525 mt_application->application = application; in mt_allocate_application()
526 INIT_LIST_HEAD(&mt_application->mt_usages); in mt_allocate_application()
529 mt_application->mt_flags |= INPUT_MT_DIRECT; in mt_allocate_application()
535 mt_application->mt_flags |= INPUT_MT_POINTER; in mt_allocate_application()
539 mt_application->scantime = DEFAULT_ZERO; in mt_allocate_application()
540 mt_application->raw_cc = DEFAULT_ZERO; in mt_allocate_application()
541 mt_application->quirks = td->mtclass.quirks; in mt_allocate_application()
543 list_add_tail(&mt_application->list, &td->applications); in mt_allocate_application()
545 return mt_application; in mt_allocate_application()
548 static struct mt_application *mt_find_application(struct mt_device *td, in mt_find_application()
551 struct mt_application *tmp, *mt_application = NULL; in mt_find_application() local
555 mt_application = tmp; in mt_find_application()
560 if (!mt_application) in mt_find_application()
561 mt_application = mt_allocate_application(td, application); in mt_find_application()
563 return mt_application; in mt_find_application()
621 struct mt_application *application, in mt_store_field()
661 unsigned long **bit, int *max, struct mt_application *app) in mt_touch_input_mapping()
848 static int mt_compute_slot(struct mt_device *td, struct mt_application *app, in mt_compute_slot()
870 struct mt_application *app, in mt_release_pending_palms()
895 static void mt_sync_frame(struct mt_device *td, struct mt_application *app, in mt_sync_frame()
917 static int mt_compute_timestamp(struct mt_application *app, __s32 value) in mt_compute_timestamp()
948 struct mt_application *app, in mt_process_slot()
1075 struct mt_application *app, in mt_process_mt_event()
1118 struct mt_application *app = rdata->application; in mt_touch_report()
1215 struct mt_application *app) in mt_touch_input_configured()
1265 struct mt_application *application; in mt_input_mapping()
1483 struct mt_application *app) in mt_post_parse_default_settings()
1499 static void mt_post_parse(struct mt_device *td, struct mt_application *app) in mt_post_parse()
1512 struct mt_application *mt_application = NULL; in mt_input_configured() local
1524 mt_application = rdata->application; in mt_input_configured()
1528 mt_application); in mt_input_configured()
1618 struct mt_application *application; in mt_release_contacts()