Home
last modified time | relevance | path

Searched +full:32434 +full:- +full:pic (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/
Didt,32434-pic.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/idt,32434-pic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thomas Bogendoerfer <tsbogend@alpha.franken.de>
13 - $ref: /schemas/interrupt-controller.yaml#
16 "#interrupt-cells":
20 const: idt,32434-pic
28 interrupt-controller: true
31 - "#interrupt-cells"
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/gpio/
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#
10 - Thomas Bogendoerfer <tsbogend@alpha.franken.de>
14 const: idt,32434-gpio
19 reg-names:
21 - const: gpio
22 - const: pic
24 gpio-controller: true
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-idt3243x.c1 // SPDX-License-Identifier: GPL-2.0
22 void __iomem *pic; 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()
64 ilevel |= BIT(d->hwirq); in idt_gpio_irq_set_type()
[all …]
/linux-6.12.1/drivers/irqchip/
Dirq-idt3243x.c1 // SPDX-License-Identifier: GPL-2.0
35 pending = irq_reg_readl(idtpic->gc, IDT_PIC_IRQ_PEND); in idt_irq_dispatch()
36 pending &= ~idtpic->gc->mask_cache; in idt_irq_dispatch()
39 generic_handle_domain_irq(idtpic->irq_domain, hwirq); in idt_irq_dispatch()
57 ret = -ENOMEM; in idt_pic_init()
64 ret = -EINVAL; in idt_pic_init()
68 idtpic->base = of_iomap(of_node, 0); in idt_pic_init()
69 if (!idtpic->base) { in idt_pic_init()
71 ret = -ENOMEM; in idt_pic_init()
79 ret = -ENOMEM; in idt_pic_init()
[all …]