Lines Matching refs:index
51 const char *list_name, int index, enum of_gpio_flags *flags);
70 const char *list_name, int index, enum of_gpio_flags *flags)
117 * @index: index of the GPIO
124 static inline int of_get_gpio_flags(struct device_node *np, int index,
127 return of_get_named_gpio_flags(np, "gpios", index, flags);
134 * @index: index of the GPIO
140 const char *propname, int index)
142 return of_get_named_gpio_flags(np, propname, index, NULL);
148 * @index: index of the GPIO
153 static inline int of_get_gpio(struct device_node *np, int index)
155 return of_get_gpio_flags(np, index, NULL);