Lines Matching refs:device
8 struct device;
47 int gpiod_count(struct device *dev, const char *con_id);
50 struct gpio_desc *__must_check gpiod_get(struct device *dev,
53 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
57 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
60 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev,
64 struct gpio_descs *__must_check gpiod_get_array(struct device *dev,
67 struct gpio_descs *__must_check gpiod_get_array_optional(struct device *dev,
73 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev,
76 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev,
80 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev,
84 devm_gpiod_get_index_optional(struct device *dev, const char *con_id,
86 struct gpio_descs *__must_check devm_gpiod_get_array(struct device *dev,
90 devm_gpiod_get_array_optional(struct device *dev, const char *con_id,
92 void devm_gpiod_put(struct device *dev, struct gpio_desc *desc);
93 void devm_gpiod_put_array(struct device *dev, struct gpio_descs *descs);
139 struct gpio_desc *devm_get_gpiod_from_child(struct device *dev,
144 static inline int gpiod_count(struct device *dev, const char *con_id) in gpiod_count()
149 static inline struct gpio_desc *__must_check gpiod_get(struct device *dev, in gpiod_get()
156 gpiod_get_index(struct device *dev, in gpiod_get_index()
165 gpiod_get_optional(struct device *dev, const char *con_id, in gpiod_get_optional()
172 gpiod_get_index_optional(struct device *dev, const char *con_id, in gpiod_get_index_optional()
179 gpiod_get_array(struct device *dev, const char *con_id, in gpiod_get_array()
186 gpiod_get_array_optional(struct device *dev, const char *con_id, in gpiod_get_array_optional()
209 devm_gpiod_get(struct device *dev, in devm_gpiod_get()
217 devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index()
226 devm_gpiod_get_optional(struct device *dev, const char *con_id, in devm_gpiod_get_optional()
233 devm_gpiod_get_index_optional(struct device *dev, const char *con_id, in devm_gpiod_get_index_optional()
240 devm_gpiod_get_array(struct device *dev, const char *con_id, in devm_gpiod_get_array()
247 devm_gpiod_get_array_optional(struct device *dev, const char *con_id, in devm_gpiod_get_array_optional()
253 static inline void devm_gpiod_put(struct device *dev, struct gpio_desc *desc) in devm_gpiod_put()
261 static inline void devm_gpiod_put_array(struct device *dev, in devm_gpiod_put_array()
421 struct device *dev, const char *con_id, struct fwnode_handle *child) in devm_get_gpiod_from_child()
431 int gpiod_export_link(struct device *dev, const char *name,
443 static inline int gpiod_export_link(struct device *dev, const char *name, in gpiod_export_link()