Lines Matching refs:gpio_desc
29 static int gpio_to_device(unsigned int gpio, struct gpio_desc *desc) in gpio_to_device()
52 int dm_gpio_lookup_name(const char *name, struct gpio_desc *desc) in dm_gpio_lookup_name()
94 struct gpio_desc desc; in gpio_lookup_name()
116 int gpio_xlate_offs_flags(struct udevice *dev, struct gpio_desc *desc, in gpio_xlate_offs_flags()
133 static int gpio_find_and_xlate(struct gpio_desc *desc, in gpio_find_and_xlate()
144 int dm_gpio_request(struct gpio_desc *desc, const char *label) in dm_gpio_request()
169 static int dm_gpio_requestf(struct gpio_desc *desc, const char *fmt, ...) in dm_gpio_requestf()
198 struct gpio_desc desc; in gpio_request()
263 struct gpio_desc desc; in gpio_free()
273 static int check_reserved(const struct gpio_desc *desc, const char *func) in check_reserved()
302 struct gpio_desc desc; in gpio_direction_input()
326 struct gpio_desc desc; in gpio_direction_output()
340 int dm_gpio_get_value(const struct gpio_desc *desc) in dm_gpio_get_value()
354 int dm_gpio_set_value(const struct gpio_desc *desc, int value) in dm_gpio_set_value()
368 int dm_gpio_get_open_drain(struct gpio_desc *desc) in dm_gpio_get_open_drain()
383 int dm_gpio_set_open_drain(struct gpio_desc *desc, int value) in dm_gpio_set_open_drain()
400 int dm_gpio_set_dir_flags(struct gpio_desc *desc, ulong flags) in dm_gpio_set_dir_flags()
430 int dm_gpio_set_dir(struct gpio_desc *desc) in dm_gpio_set_dir()
448 struct gpio_desc desc; in gpio_get_value()
467 struct gpio_desc desc; in gpio_set_value()
625 int dm_gpio_get_values_as_int(const struct gpio_desc *desc_list, int count) in dm_gpio_get_values_as_int()
646 struct gpio_desc *desc, int flags, bool add_index) in gpio_request_tail()
686 int index, struct gpio_desc *desc, in _gpio_request_by_name_nodev()
700 struct gpio_desc *desc, int flags) in gpio_request_by_name_nodev()
707 struct gpio_desc *desc, int flags) in gpio_request_by_name()
720 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name_nodev()
745 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name()
772 int dm_gpio_free(struct udevice *dev, struct gpio_desc *desc) in dm_gpio_free()
778 int gpio_free_list(struct udevice *dev, struct gpio_desc *desc, int count) in gpio_free_list()
789 int gpio_free_list_nodev(struct gpio_desc *desc, int count) in gpio_free_list_nodev()
820 int gpio_get_number(const struct gpio_desc *desc) in gpio_get_number()