Lines Matching defs:gpio
3 * devres.c - managed gpio resources
11 #include <linux/gpio.h>
12 #include <linux/gpio/consumer.h>
27 struct gpio_desc **this = res, **gpio = data;
29 return *this == *gpio;
278 * devm_gpiod_unhinge - Remove resource management from a gpio descriptor
325 unsigned *gpio = res;
327 gpio_free(*gpio);
333 * @gpio: GPIO to allocate
341 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label)
350 rc = gpio_request(gpio, label);
356 *dr = gpio;
366 * @gpio: the GPIO number
370 int devm_gpio_request_one(struct device *dev, unsigned gpio,
380 rc = gpio_request_one(gpio, flags, label);
386 *dr = gpio;
410 * The gpio chip automatically be released when the device is unbound.