Lines Matching defs:gpio
10 #include <linux/gpio/driver.h>
39 * struct at91_gpio_chip: at91 gpio chip
40 * @chip: gpio chip
41 * @range: gpio range
50 * @id: gpio chip identifier
138 * @mux: the mux mode : gpio or periph_x of the pin i.e. alternate function.
783 dev_dbg(dev, "pio%c%d configured as gpio with conf = 0x%lx\n",
1145 static const char *gpio_compat = "atmel,at91rm9200-gpio";
1510 seq_printf(s, "[gpio] ");
1560 unsigned gpio = irqd_to_hwirq(d);
1562 gpiochip_disable_irq(&at91_gpio->chip, gpio);
1573 unsigned gpio = irqd_to_hwirq(d);
1575 gpiochip_enable_irq(&at91_gpio->chip, gpio);
1813 { .compatible = "atmel,at91sam9x5-gpio", .data = &at91sam9x5_ops, },
1814 { .compatible = "atmel,at91rm9200-gpio", .data = &at91rm9200_ops },
1815 { .compatible = "microchip,sam9x60-gpio", .data = &sam9x60_ops },
1828 int alias_idx = of_alias_get_id(np, "gpio");
1864 if (!of_property_read_u32(np, "#gpio-lines", &ngpio)) {
1866 dev_err(dev, "at91_gpio.%d, gpio-nb >= %d failback to %d\n",
1910 .name = "gpio-at91",