Lines Matching full:lines
3 * gpio-hammer - example swiss army knife to shake GPIO lines on a system
25 int hammer_device(const char *device_name, unsigned int *lines, int num_lines, in hammer_device() argument
39 ret = gpiotools_request_line(device_name, lines, num_lines, in hammer_device()
55 fprintf(stdout, "Hammer lines ["); in hammer_device()
57 fprintf(stdout, "%d", lines[i]); in hammer_device()
72 /* Invert all lines so we blink */ in hammer_device()
92 fprintf(stdout, "%d: %d", lines[i], in hammer_device()
116 "Hammer GPIO lines, 0->1->0->1...\n" in print_usage()
130 unsigned int lines[GPIOHANDLES_MAX]; in main() local
152 lines[i] = strtoul(optarg, NULL, 10); in main()
175 return hammer_device(device_name, lines, num_lines, loops); in main()