Lines Matching refs:trig_num
360 int dev_num = -1, trig_num = -1; in main() local
435 trig_num = strtoul(optarg, &dummy, 10); in main()
494 } else if (trig_num >= 0) { in main()
496 ret = asprintf(&trig_dev_name, "%strigger%d", iio_dir, trig_num); in main()
508 fprintf(stderr, "Failed to read trigger%d name from\n", trig_num); in main()
511 printf("iio trigger number being used is %d\n", trig_num); in main()
528 trig_num = find_type_by_name(trigger_name, "trigger"); in main()
529 if (trig_num < 0) { in main()
540 trig_num = find_type_by_name(trigger_name, "trigger"); in main()
541 if (trig_num < 0) { in main()
544 ret = trig_num; in main()
548 printf("iio trigger number being used is %d\n", trig_num); in main()