Lines Matching refs:line
76 char *line = NULL; in gpio_debugfs_get() local
91 while (getline(&line, &len, f) != -1) { in gpio_debugfs_get()
92 cur = strstr(line, consumer); in gpio_debugfs_get()
96 cur = strchr(line, ')'); in gpio_debugfs_get()
119 free(line); in gpio_debugfs_get()
196 int gpio_pin_test(struct gpiochip_info *cinfo, int line, int flag, int value) in gpio_pin_test() argument
199 unsigned int lines[] = {line}; in gpio_pin_test()
237 cinfo->name, line, flag, value); in gpio_pin_test()
242 void gpio_pin_tests(struct gpiochip_info *cinfo, unsigned int line) in gpio_pin_tests() argument
244 printf("line<%d>", line); in gpio_pin_tests()
245 gpio_pin_test(cinfo, line, GPIOHANDLE_REQUEST_OUTPUT, 0); in gpio_pin_tests()
247 gpio_pin_test(cinfo, line, GPIOHANDLE_REQUEST_OUTPUT, 1); in gpio_pin_tests()
249 gpio_pin_test(cinfo, line, in gpio_pin_tests()
253 gpio_pin_test(cinfo, line, in gpio_pin_tests()
257 gpio_pin_test(cinfo, line, GPIOHANDLE_REQUEST_INPUT, 0); in gpio_pin_tests()