Lines Matching full:lines
2 * gpio-hammer - example swiss army knife to shake GPIO lines on a system
28 int hammer_device(const char *device_name, unsigned int *lines, int nlines, in hammer_device() argument
39 ret = gpiotools_request_linehandle(device_name, lines, nlines, in hammer_device()
51 fprintf(stdout, "Hammer lines ["); in hammer_device()
53 fprintf(stdout, "%d", lines[i]); in hammer_device()
68 /* Invert all lines so we blink */ in hammer_device()
88 fprintf(stdout, "%d: %d", lines[i], data.values[i]); in hammer_device()
111 "Hammer GPIO lines, 0->1->0->1...\n" in print_usage()
125 unsigned int lines[GPIOHANDLES_MAX]; in main() local
147 lines[i] = strtoul(optarg, NULL, 10); in main()
170 return hammer_device(device_name, lines, nlines, loops); in main()