Lines Matching refs:gpio_desc
63 struct gpio_desc *descs;
107 struct gpio_desc **desc;
115 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
128 struct gpio_desc **desc_array,
133 struct gpio_desc **desc_array,
140 void gpiod_line_state_notify(struct gpio_desc *desc, unsigned long action);
143 * struct gpio_desc - Opaque descriptor for a GPIO
155 * Contrary to integers, a pointer to a &struct gpio_desc is guaranteed to be
158 struct gpio_desc {
196 int gpiod_request(struct gpio_desc *desc, const char *label);
197 void gpiod_free(struct gpio_desc *desc);
199 static inline int gpiod_request_user(struct gpio_desc *desc, const char *label)
210 struct gpio_desc *gpiod_find_and_request(struct device *consumer,
218 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id,
220 int gpio_set_debounce_timeout(struct gpio_desc *desc, unsigned int debounce);
221 int gpiod_hog(struct gpio_desc *desc, const char *name,
228 static inline int gpio_chip_hwgpio(const struct gpio_desc *desc)