Home
last modified time | relevance | path

Searched refs:irqdomain (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dpxa_cplds_irqs.c31 struct irq_domain *irqdomain; member
43 generic_handle_irq(irq_find_mapping(fpga->irqdomain, in cplds_irq_handler()
150 fpga->irqdomain = irq_domain_add_linear(pdev->dev.of_node, in cplds_probe()
153 if (!fpga->irqdomain) in cplds_probe()
157 ret = irq_create_strict_mappings(fpga->irqdomain, base_irq, 0, in cplds_probe()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-altera.c189 struct irq_domain *irqdomain; in altera_gpio_irq_edge_handler() local
196 irqdomain = altera_gc->mmchip.gc.irq.domain; in altera_gpio_irq_edge_handler()
205 generic_handle_irq(irq_find_mapping(irqdomain, i)); in altera_gpio_irq_edge_handler()
217 struct irq_domain *irqdomain; in altera_gpio_irq_leveL_high_handler() local
224 irqdomain = altera_gc->mmchip.gc.irq.domain; in altera_gpio_irq_leveL_high_handler()
232 generic_handle_irq(irq_find_mapping(irqdomain, i)); in altera_gpio_irq_leveL_high_handler()
Dgpio-pxa.c83 struct irq_domain *irqdomain; member
234 irq_gpio0 = irq_find_mapping(pchip->irqdomain, 0); in pxa_irq_to_gpio()
257 return irq_find_mapping(pchip->irqdomain, offset); in pxa_gpio_to_irq()
459 irq_find_mapping(pchip->irqdomain, in pxa_gpio_demux_handler()
474 generic_handle_irq(irq_find_mapping(pchip->irqdomain, 0)); in pxa_gpio_direct_handler()
476 generic_handle_irq(irq_find_mapping(pchip->irqdomain, 1)); in pxa_gpio_direct_handler()
646 pchip->irqdomain = irq_domain_add_legacy(pdev->dev.of_node, in pxa_gpio_probe()
649 if (!pchip->irqdomain) in pxa_gpio_probe()
Dgpio-reg.c19 struct irq_domain *irqdomain; member
104 if (irq >= 0 && r->irqdomain) in gpio_reg_to_irq()
105 irq = irq_find_mapping(r->irqdomain, irq); in gpio_reg_to_irq()
Dgpio-siox.c79 struct irq_domain *irqdomain = ddata->gchip.irq.domain; in gpio_siox_get_data() local
80 unsigned int irq = irq_find_mapping(irqdomain, offset); in gpio_siox_get_data()
Dgpio-zynq.c625 struct irq_domain *irqdomain = gpio->chip.irq.domain; in zynq_gpio_handle_bank_irq() local
634 gpio_irq = irq_find_mapping(irqdomain, offset + bank_offset); in zynq_gpio_handle_bank_irq()
/kernel/linux/linux-5.10/arch/arm/common/
Dsa1111.c108 struct irq_domain *irqdomain; member
196 return irq_create_mapping(sachip->irqdomain, hwirq); in sa1111_map_irq()
199 static void sa1111_handle_irqdomain(struct irq_domain *irqdomain, int irq) in sa1111_handle_irqdomain() argument
201 struct irq_desc *d = irq_to_desc(irq_linear_revmap(irqdomain, irq)); in sa1111_handle_irqdomain()
216 struct irq_domain *irqdomain; in sa1111_irq_handler() local
233 irqdomain = sachip->irqdomain; in sa1111_irq_handler()
237 sa1111_handle_irqdomain(irqdomain, i); in sa1111_irq_handler()
241 sa1111_handle_irqdomain(irqdomain, i); in sa1111_irq_handler()
424 sachip->irqdomain = irq_domain_add_linear(NULL, SA1111_IRQ_NR, in sa1111_setup_irq()
427 if (!sachip->irqdomain) { in sa1111_setup_irq()
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dqcom-pm8xxx.c74 struct irq_domain *irqdomain; member
142 irq = irq_find_mapping(chip->irqdomain, pmirq); in pm8xxx_irq_block_handler()
219 irq = irq_find_mapping(chip->irqdomain, pmirq); in pm8821_irq_block_handler()
572 chip->irqdomain = irq_domain_add_linear(pdev->dev.of_node, in pm8xxx_probe()
576 if (!chip->irqdomain) in pm8xxx_probe()
585 irq_domain_remove(chip->irqdomain); in pm8xxx_probe()
604 irq_domain_remove(chip->irqdomain); in pm8xxx_remove()
/kernel/linux/linux-5.10/drivers/net/dsa/qca/
Dar9331.c161 struct irq_domain *irqdomain; member
509 child_irq = irq_find_mapping(priv->irqdomain, 0); in ar9331_sw_irq()
609 priv->irqdomain = irq_domain_add_linear(np, 1, &ar9331_sw_irqdomain_ops, in ar9331_sw_irq_init()
611 if (!priv->irqdomain) { in ar9331_sw_irq_init()
616 irq_set_parent(irq_create_mapping(priv->irqdomain, 0), irq); in ar9331_sw_irq_init()
849 irq_domain_remove(priv->irqdomain); in ar9331_sw_probe()
858 irq_domain_remove(priv->irqdomain); in ar9331_sw_remove()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-sifive-plic.c65 struct irq_domain *irqdomain; member
242 int irq = irq_find_mapping(handler->priv->irqdomain, hwirq); in plic_handle_irq()
310 priv->irqdomain = irq_domain_add_linear(node, nr_irqs + 1, in plic_init()
312 if (WARN_ON(!priv->irqdomain)) in plic_init()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-ftpci100.c125 struct irq_domain *irqdomain; member
317 generic_handle_irq(irq_find_mapping(p->irqdomain, i)); in faraday_pci_irq_handler()
362 p->irqdomain = irq_domain_add_linear(intc, PCI_NUM_INTX, in faraday_pci_setup_cascaded_irq()
365 if (!p->irqdomain) { in faraday_pci_setup_cascaded_irq()
373 irq_create_mapping(p->irqdomain, i); in faraday_pci_setup_cascaded_irq()
/kernel/linux/linux-5.10/drivers/sh/intc/
DMakefile2 obj-y := access.o chip.o core.o handle.o irqdomain.o virq.o
/kernel/linux/linux-5.10/kernel/irq/
DMakefile10 obj-$(CONFIG_IRQ_DOMAIN) += irqdomain.o
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_driver.c158 handle_nested_irq(irq_find_mapping(data->irqdomain, i)); in rmi_process_interrupt_requests()
981 irq_domain_remove(data->irqdomain); in rmi_driver_remove()
982 data->irqdomain = NULL; in rmi_driver_remove()
1039 data->irqdomain = irq_domain_create_linear(fwnode, irq_count, in rmi_probe_interrupts()
1042 if (!data->irqdomain) { in rmi_probe_interrupts()
Drmi_bus.c182 fn->irq[i] = irq_create_mapping(drvdata->irqdomain, in rmi_create_function_irq()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dio_apic.c119 struct irq_domain *irqdomain; member
159 return ioapics[ioapic].irqdomain; in mp_ioapic_irqdomain()
2329 ip->irqdomain = irq_domain_create_linear(fn, hwirqs, cfg->ops, in mp_irqdomain_create()
2332 if (!ip->irqdomain) { in mp_irqdomain_create()
2339 ip->irqdomain->parent = parent; in mp_irqdomain_create()
2352 struct fwnode_handle *fn = ioapics[idx].irqdomain->fwnode; in ioapic_destroy_irqdomain()
2354 if (ioapics[idx].irqdomain) { in ioapic_destroy_irqdomain()
2355 irq_domain_remove(ioapics[idx].irqdomain); in ioapic_destroy_irqdomain()
2358 ioapics[idx].irqdomain = NULL; in ioapic_destroy_irqdomain()
2860 ioapics[idx].irqdomain = NULL; in mp_register_ioapic()
/kernel/linux/linux-5.10/include/linux/
Drmi.h355 struct irq_domain *irqdomain; member
/kernel/linux/linux-5.10/drivers/net/dsa/
Drealtek-smi-core.h59 struct irq_domain *irqdomain; member
Drtl8366rb.c464 child_irq = irq_find_mapping(smi->irqdomain, line); in rtl8366rb_irq()
559 smi->irqdomain = irq_domain_add_linear(intc, in rtl8366rb_setup_cascaded_irq()
563 if (!smi->irqdomain) { in rtl8366rb_setup_cascaded_irq()
569 irq_set_parent(irq_create_mapping(smi->irqdomain, i), irq); in rtl8366rb_setup_cascaded_irq()
/kernel/linux/linux-5.10/drivers/net/usb/
Dlan78xx.c357 struct irq_domain *irqdomain; member
1953 struct irq_domain *irqdomain; in lan78xx_setup_irq_domain() local
1968 irqdomain = irq_domain_add_simple(of_node, MAX_INT_EP, 0, in lan78xx_setup_irq_domain()
1970 if (irqdomain) { in lan78xx_setup_irq_domain()
1972 irqmap = irq_create_mapping(irqdomain, INT_EP_PHY); in lan78xx_setup_irq_domain()
1974 irq_domain_remove(irqdomain); in lan78xx_setup_irq_domain()
1976 irqdomain = NULL; in lan78xx_setup_irq_domain()
1983 dev->domain_data.irqdomain = irqdomain; in lan78xx_setup_irq_domain()
1994 if (dev->domain_data.irqdomain) in lan78xx_remove_irq_domain()
1995 irq_domain_remove(dev->domain_data.irqdomain); in lan78xx_remove_irq_domain()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0025_linux_drivers_irqchip.patch398 #include <linux/irqdomain.h>
D0020_linux_drivers_gpu.patch29559 +#include <linux/irqdomain.h>
/kernel/linux/linux-5.10/Documentation/driver-api/gpio/
Ddriver.rst394 associated irqdomain and resource allocation callbacks. These are activated
490 the IRQ, instead a parent irqdomain, an fwnode for the hardware and
/kernel/linux/linux-5.10/
DMAINTAINERS9254 F: include/linux/irqdomain.h
9255 F: kernel/irq/irqdomain.c
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch50020 +#include <linux/irqdomain.h>

12