Lines Matching refs:gpio_desc
58 struct gpio_desc *descs;
98 struct gpio_desc *of_find_gpio(struct device *dev,
102 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np,
107 static inline struct gpio_desc *of_find_gpio(struct device *dev, in of_find_gpio()
114 static inline struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags()
133 struct gpio_desc *acpi_find_gpio(struct device *dev,
138 struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode,
161 static inline struct gpio_desc *
168 static inline struct gpio_desc *
186 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, u16 hwnum);
189 struct gpio_desc **desc_array,
193 struct gpio_desc **desc_array,
197 struct gpio_desc *gpiod_get_from_of_node(struct device_node *node,
205 struct gpio_desc { struct
226 int gpiod_request(struct gpio_desc *desc, const char *label); argument
227 void gpiod_free(struct gpio_desc *desc);
228 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id,
230 int gpiod_hog(struct gpio_desc *desc, const char *name,
236 static inline int gpio_chip_hwgpio(const struct gpio_desc *desc) in gpio_chip_hwgpio()