Lines Matching refs:num_lines
30 unsigned int num_lines, in monitor_device() argument
51 ret = gpiotools_request_line(device_name, lines, num_lines, config, in monitor_device()
61 for (i = 0; i < num_lines; i++) in monitor_device()
71 if (num_lines == 1) { in monitor_device()
77 for (i = 1; i < num_lines - 1; i++) in monitor_device()
82 for (i = 1; i < num_lines - 1; i++) in monitor_device()
171 unsigned int num_lines = 0; in main() local
188 if (num_lines >= GPIO_V2_LINES_MAX) { in main()
192 lines[num_lines] = strtoul(optarg, NULL, 10); in main()
193 num_lines++; in main()
225 for (i = 0; i < num_lines; i++) in main()
231 if (!device_name || num_lines == 0) { in main()
240 return monitor_device(device_name, lines, num_lines, &config, loops); in main()