Lines Matching defs:gpio
6 #include <linux/gpio/driver.h>
14 #define GPIO_DDR(gpio) (0x00 << (gpio)->reg_shift)
15 #define GPIO_PLR(gpio) (0x01 << (gpio)->reg_shift)
16 #define GPIO_IER(gpio) (0x02 << (gpio)->reg_shift)
17 #define GPIO_ISR(gpio) (0x03 << (gpio)->reg_shift)
18 #define GPIO_PTR(gpio) (0x04 << (gpio)->reg_shift)
22 struct gpio_chip gpio;
42 dev_err(adnp->gpio.parent, "%s failed: %d\n",
57 dev_err(adnp->gpio.parent, "%s failed: %d\n",
292 child_irq = irq_find_mapping(adnp->gpio.irq.domain,
375 .name = "gpio-adnp",
386 struct gpio_chip *chip = &adnp->gpio;
443 struct gpio_chip *chip = &adnp->gpio;
523 { "gpio-adnp" },
529 { .compatible = "ad,gpio-adnp", },
536 .name = "gpio-adnp",