Lines Matching refs:fprintf
55 fprintf(stdout, "Hammer lines ["); in hammer_device()
57 fprintf(stdout, "%u", lines[i]); in hammer_device()
59 fprintf(stdout, ", "); in hammer_device()
61 fprintf(stdout, "] on %s, initial states: [", device_name); in hammer_device()
63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i)); in hammer_device()
65 fprintf(stdout, ", "); in hammer_device()
67 fprintf(stdout, "]\n"); in hammer_device()
85 fprintf(stdout, "[%c] ", swirr[j]); in hammer_device()
90 fprintf(stdout, "["); in hammer_device()
92 fprintf(stdout, "%u: %d", lines[i], in hammer_device()
95 fprintf(stdout, ", "); in hammer_device()
97 fprintf(stdout, "]\r"); in hammer_device()
104 fprintf(stdout, "\n"); in hammer_device()
115 fprintf(stderr, "Usage: gpio-hammer [options]...\n" in print_usage()
163 fprintf(stderr, in main()