Lines Matching defs:desc
32 static int gpio_to_device(unsigned int gpio, struct gpio_desc *desc) in gpio_to_device()
55 int dm_gpio_lookup_name(const char *name, struct gpio_desc *desc) in dm_gpio_lookup_name()
97 struct gpio_desc desc; in gpio_lookup_name() local
119 int gpio_xlate_offs_flags(struct udevice *dev, struct gpio_desc *desc, in gpio_xlate_offs_flags()
136 static int gpio_find_and_xlate(struct gpio_desc *desc, in gpio_find_and_xlate()
239 int gpio_hog_lookup_name(const char *name, struct gpio_desc **desc) in gpio_hog_lookup_name()
264 int gpio_hog_lookup_name(const char *name, struct gpio_desc **desc) in gpio_hog_lookup_name()
270 int dm_gpio_request(struct gpio_desc *desc, const char *label) in dm_gpio_request()
295 static int dm_gpio_requestf(struct gpio_desc *desc, const char *fmt, ...) in dm_gpio_requestf()
324 struct gpio_desc desc; in gpio_request() local
389 struct gpio_desc desc; in gpio_free() local
399 static int check_reserved(const struct gpio_desc *desc, const char *func) in check_reserved()
428 struct gpio_desc desc; in gpio_direction_input() local
452 struct gpio_desc desc; in gpio_direction_output() local
466 int dm_gpio_get_value(const struct gpio_desc *desc) in dm_gpio_get_value()
480 int dm_gpio_set_value(const struct gpio_desc *desc, int value) in dm_gpio_set_value()
494 int dm_gpio_get_open_drain(struct gpio_desc *desc) in dm_gpio_get_open_drain()
509 int dm_gpio_set_open_drain(struct gpio_desc *desc, int value) in dm_gpio_set_open_drain()
526 int dm_gpio_set_dir_flags(struct gpio_desc *desc, ulong flags) in dm_gpio_set_dir_flags()
556 int dm_gpio_set_dir(struct gpio_desc *desc) in dm_gpio_set_dir()
574 struct gpio_desc desc; in gpio_get_value() local
593 struct gpio_desc desc; in gpio_set_value() local
804 struct gpio_desc *desc, int flags, in gpio_request_tail()
847 int index, struct gpio_desc *desc, in _gpio_request_by_name_nodev()
861 struct gpio_desc *desc, int flags) in gpio_request_by_name_nodev()
868 struct gpio_desc *desc, int flags) in gpio_request_by_name()
882 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name_nodev()
907 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name()
934 int dm_gpio_free(struct udevice *dev, struct gpio_desc *desc) in dm_gpio_free()
940 int gpio_free_list(struct udevice *dev, struct gpio_desc *desc, int count) in gpio_free_list()
951 int gpio_free_list_nodev(struct gpio_desc *desc, int count) in gpio_free_list_nodev()
982 int gpio_get_number(const struct gpio_desc *desc) in gpio_get_number()
1021 int dtflags, struct gpio_desc *desc) in gpio_dev_request_index()