Lines Matching refs:cur
82 char *cur; in gpio_debugfs_get() local
96 cur = strstr(line, consumer); in gpio_debugfs_get()
97 if (cur == NULL) in gpio_debugfs_get()
100 cur = strchr(line, ')'); in gpio_debugfs_get()
101 if (!cur) in gpio_debugfs_get()
104 cur += 2; in gpio_debugfs_get()
105 if (!strncmp(cur, "out", 3)) { in gpio_debugfs_get()
107 cur += 4; in gpio_debugfs_get()
108 } else if (!strncmp(cur, "in", 2)) { in gpio_debugfs_get()
110 cur += 4; in gpio_debugfs_get()
113 if (!strncmp(cur, "hi", 2)) in gpio_debugfs_get()
115 else if (!strncmp(cur, "lo", 2)) in gpio_debugfs_get()