Lines Matching refs:match_name
156 char *match_name; member
547 calibrator_create(struct display *display, const char *match_name) in calibrator_create() argument
555 cal->match_name = match_name ? strdup(match_name) : NULL; in calibrator_create()
758 free(cal->match_name); in calibrator_destroy()
771 if (!cal->match_name) { in touch_device_handler()
779 if (strcmp(cal->match_name, device) == 0 || in touch_device_handler()
780 strcmp(cal->match_name, head) == 0) in touch_device_handler()
902 char *match_name = NULL; in main() local
927 match_name = argv[optind++]; in main()
939 cal = calibrator_create(display, match_name); in main()
946 if (!match_name) in main()
959 } else if (match_name) { in main()
961 pr_err("\"%s\" was not found.\n", match_name); in main()