Lines Matching refs:num_lines
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()
48 for (i = 0; i < num_lines; i++) in hammer_device()
56 for (i = 0; i < num_lines; i++) { in hammer_device()
58 if (i != (num_lines - 1)) in hammer_device()
62 for (i = 0; i < num_lines; i++) { in hammer_device()
64 if (i != (num_lines - 1)) in hammer_device()
73 for (i = 0; i < num_lines; i++) in hammer_device()
91 for (i = 0; i < num_lines; i++) { in hammer_device()
94 if (i != (num_lines - 1)) in hammer_device()
132 int num_lines; in main() local
169 num_lines = i; in main()
171 if (!device_name || !num_lines) { in main()
175 return hammer_device(device_name, lines, num_lines, loops); in main()