Lines Matching defs:desc

34 static void gpio_desc_init(struct gpio_desc *desc,  in gpio_desc_init()
54 static int gpio_to_device(unsigned int gpio, struct gpio_desc *desc) in gpio_to_device()
114 int dm_gpio_lookup_name(const char *name, struct gpio_desc *desc) in dm_gpio_lookup_name()
162 struct gpio_desc desc; in gpio_lookup_name() local
184 int gpio_xlate_offs_flags(struct udevice *dev, struct gpio_desc *desc, in gpio_xlate_offs_flags()
220 static int gpio_find_and_xlate(struct gpio_desc *desc, in gpio_find_and_xlate()
323 int gpio_hog_lookup_name(const char *name, struct gpio_desc **desc) in gpio_hog_lookup_name()
348 int gpio_hog_lookup_name(const char *name, struct gpio_desc **desc) in gpio_hog_lookup_name()
354 int dm_gpio_request(struct gpio_desc *desc, const char *label) in dm_gpio_request()
379 static int dm_gpio_requestf(struct gpio_desc *desc, const char *fmt, ...) in dm_gpio_requestf()
408 struct gpio_desc desc; in gpio_request() local
473 struct gpio_desc desc; in gpio_free() local
483 static int check_reserved(const struct gpio_desc *desc, const char *func) in check_reserved()
512 struct gpio_desc desc; in gpio_direction_input() local
536 struct gpio_desc desc; in gpio_direction_output() local
550 static int _gpio_get_value(const struct gpio_desc *desc) in _gpio_get_value()
559 int dm_gpio_get_value(const struct gpio_desc *desc) in dm_gpio_get_value()
570 int dm_gpio_set_value(const struct gpio_desc *desc, int value) in dm_gpio_set_value()
623 static int _dm_gpio_set_dir_flags(struct gpio_desc *desc, ulong flags) in _dm_gpio_set_dir_flags()
660 int dm_gpio_set_dir_flags(struct gpio_desc *desc, ulong flags) in dm_gpio_set_dir_flags()
675 int dm_gpio_set_dir(struct gpio_desc *desc) in dm_gpio_set_dir()
686 int dm_gpio_get_dir_flags(struct gpio_desc *desc, ulong *flags) in dm_gpio_get_dir_flags()
736 struct gpio_desc desc; in gpio_get_value() local
755 struct gpio_desc desc; in gpio_set_value() local
863 int gpio_get_acpi(const struct gpio_desc *desc, struct acpi_gpio *gpio) in gpio_get_acpi()
987 struct gpio_desc *desc, int flags, in gpio_request_tail()
1028 int index, struct gpio_desc *desc, in _gpio_request_by_name_nodev()
1042 struct gpio_desc *desc, int flags) in gpio_request_by_name_nodev()
1049 struct gpio_desc *desc, int flags) in gpio_request_by_name()
1063 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name_nodev()
1088 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name()
1114 int dm_gpio_free(struct udevice *dev, struct gpio_desc *desc) in dm_gpio_free()
1120 int gpio_free_list(struct udevice *dev, struct gpio_desc *desc, int count) in gpio_free_list()
1131 int gpio_free_list_nodev(struct gpio_desc *desc, int count) in gpio_free_list_nodev()
1162 int gpio_get_number(const struct gpio_desc *desc) in gpio_get_number()
1201 int dtflags, struct gpio_desc *desc) in gpio_dev_request_index()
1228 struct gpio_desc *desc; in devm_gpiod_get_index() local
1267 struct gpio_desc *desc = devm_gpiod_get_index(dev, id, index, flags); in devm_gpiod_get_index_optional() local
1275 void devm_gpiod_put(struct udevice *dev, struct gpio_desc *desc) in devm_gpiod_put()