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);
138 struct gpio_desc *devm_get_gpiod_from_child(struct device *dev,
143 static inline int gpiod_count(struct device *dev, const char *con_id) in gpiod_count()
148 static inline struct gpio_desc *__must_check __gpiod_get(struct device *dev, in __gpiod_get()
155 __gpiod_get_index(struct device *dev, in __gpiod_get_index()
164 __gpiod_get_optional(struct device *dev, const char *con_id, in __gpiod_get_optional()
171 __gpiod_get_index_optional(struct device *dev, const char *con_id, in __gpiod_get_index_optional()
178 gpiod_get_array(struct device *dev, const char *con_id, in gpiod_get_array()
185 gpiod_get_array_optional(struct device *dev, const char *con_id, in gpiod_get_array_optional()
208 __devm_gpiod_get(struct device *dev, in __devm_gpiod_get()
216 __devm_gpiod_get_index(struct device *dev, in __devm_gpiod_get_index()
225 __devm_gpiod_get_optional(struct device *dev, const char *con_id, in __devm_gpiod_get_optional()
232 __devm_gpiod_get_index_optional(struct device *dev, const char *con_id, in __devm_gpiod_get_index_optional()
239 devm_gpiod_get_array(struct device *dev, const char *con_id, in devm_gpiod_get_array()
246 devm_gpiod_get_array_optional(struct device *dev, const char *con_id, in devm_gpiod_get_array_optional()
252 static inline void devm_gpiod_put(struct device *dev, struct gpio_desc *desc) in devm_gpiod_put()
260 static inline void devm_gpiod_put_array(struct device *dev, in devm_gpiod_put_array()
419 struct device *dev, const char *con_id, struct fwnode_handle *child) in devm_get_gpiod_from_child()
465 int gpiod_export_link(struct device *dev, const char *name,
478 static inline int gpiod_export_link(struct device *dev, const char *name, in gpiod_export_link()