Lines Matching defs:consumer
25 #include <linux/pinctrl/consumer.h>
2671 * gpiochip_dup_line_label - Get a copy of the consumer label.
2676 * Pointer to a copy of the consumer label if the line is requested or NULL
2718 * can be used to specify consumer semantics such as open drain
4087 * gpiod_set_consumer_name() - set the consumer name for the descriptor
4088 * @desc: gpio to set the consumer name on
4089 * @name: the new consumer name
4647 * consumer be probed again or let the Deferred
4724 struct device *consumer,
4734 dev_dbg(consumer, "using DT '%pfw' for '%s' GPIO lookup\n", fwnode, name);
4737 dev_dbg(consumer, "using ACPI '%pfw' for '%s' GPIO lookup\n", fwnode, name);
4740 dev_dbg(consumer, "using swnode '%pfw' for '%s' GPIO lookup\n", fwnode, name);
4748 struct device *consumer,
4756 desc = gpiod_find_by_fwnode(fwnode, consumer, con_id, idx, flags, lookupflags);
4758 desc = gpiod_find_by_fwnode(fwnode->secondary, consumer, con_id,
4764 struct gpio_desc *gpiod_find_and_request(struct device *consumer,
4782 desc = gpiod_fwnode_lookup(fwnode, consumer, con_id, idx,
4790 * we only knew the consumer's fwnode.
4792 ret = gpio_shared_add_proxy_lookup(consumer, fwnode,
4809 dev_dbg(consumer,
4811 desc = gpiod_find(consumer, con_id, idx, &lookupflags);
4815 dev_dbg(consumer, "No GPIO consumer %s found\n", name);
4840 dev_info(consumer,
4849 dev_err(consumer, "setup of GPIO %s failed: %d\n", name, ret);
4861 * @con_id: function within the GPIO consumer
4862 * @index: index of the GPIO to obtain for the consumer
4891 * @dev: GPIO consumer, can be NULL for system-global GPIOs
4892 * @con_id: function within the GPIO consumer
4919 * @dev: GPIO consumer, can be NULL for system-global GPIOs
4920 * @con_id: function within the GPIO consumer
4937 * @dev: GPIO consumer, can be NULL for system-global GPIOs
4938 * @con_id: function within the GPIO consumer
4962 * @con_id: function within the GPIO consumer
4985 * This enforces open drain mode from the consumer side.
5035 * @dev: GPIO consumer, can be NULL for system-global GPIOs
5036 * @con_id: function within the GPIO consumer
5037 * @idx: index of the GPIO to obtain in the consumer
5064 * @dev: GPIO consumer, can be NULL for system-global GPIOs
5065 * @con_id: function within the GPIO consumer
5066 * @index: index of the GPIO to obtain in the consumer
5153 * @dev: GPIO consumer, can be NULL for system-global GPIOs
5154 * @con_id: function within the GPIO consumer
5285 * @dev: GPIO consumer, can be NULL for system-global GPIOs
5286 * @con_id: function within the GPIO consumer