Lines Matching defs:gpio
14 #include <linux/gpio/consumer.h>
15 #include <linux/gpio/driver.h>
473 const u8 *map, unsigned int gpio,
479 if (map[hwirq] == gpio)
483 dev_warn_ratelimited(dev, "could not find the hwirq for gpio(%u)\n", gpio);
491 unsigned int irq, gpio = key_val - GPI_PIN_BASE, irq_type;
497 gpio, kpad->gc.ngpio);
534 /* gpio line used as IRQ source */
720 struct gpio_desc *gpio;
750 gpio = devm_gpiod_get_optional(&client->dev, "reset", GPIOD_OUT_HIGH);
751 if (IS_ERR(gpio))
752 return PTR_ERR(gpio);
754 if (gpio) {
756 gpiod_set_value_cansleep(gpio, 0);