Lines Matching refs:trig_num
349 int dev_num = -1, trig_num = -1; in main() local
424 trig_num = strtoul(optarg, &dummy, 10); in main()
483 } else if (trig_num >= 0) { in main()
485 ret = asprintf(&trig_dev_name, "%strigger%d", iio_dir, trig_num); in main()
493 fprintf(stderr, "Failed to read trigger%d name from\n", trig_num); in main()
496 printf("iio trigger number being used is %d\n", trig_num); in main()
513 trig_num = find_type_by_name(trigger_name, "trigger"); in main()
514 if (trig_num < 0) { in main()
525 trig_num = find_type_by_name(trigger_name, "trigger"); in main()
526 if (trig_num < 0) { in main()
529 ret = trig_num; in main()
533 printf("iio trigger number being used is %d\n", trig_num); in main()