Searched +full:32434 +full:- +full:gpio (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/gpio/idt,32434-gpio.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: IDT 79RC32434 GPIO controller10 - Thomas Bogendoerfer <tsbogend@alpha.franken.de>14 const: idt,32434-gpio19 reg-names:21 - const: gpio22 - const: pic[all …]
1 // SPDX-License-Identifier: GPL-2.05 #include <linux/gpio/driver.h>23 void __iomem *gpio; member37 pending = readl(ctrl->pic + IDT_PIC_IRQ_PEND); in idt_gpio_dispatch()38 pending &= ~ctrl->mask_cache; in idt_gpio_dispatch()39 for_each_set_bit(bit, &pending, gc->ngpio) { in idt_gpio_dispatch()40 virq = irq_linear_revmap(gc->irq.domain, bit); in idt_gpio_dispatch()58 return -EINVAL; in idt_gpio_irq_set_type()60 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in idt_gpio_irq_set_type()62 ilevel = readl(ctrl->gpio + IDT_GPIO_ILEVEL); in idt_gpio_irq_set_type()[all …]