Home
last modified time | relevance | path

Searched +full:32434 +full:- +full:gpio (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/gpio/
H A Didt,32434-gpio.yaml1 # 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 controller
10 - Thomas Bogendoerfer <tsbogend@alpha.franken.de>
14 const: idt,32434-gpio
19 reg-names:
21 - const: gpio
22 - const: pic
[all …]
/linux/drivers/gpio/
H A Dgpio-idt3243x.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/gpio/driver.h>
23 void __iomem *gpio; member
37 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 …]