/linux/drivers/irqchip/ |
H A D | irq-riscv-aplic-direct.c | 29 struct irq_domain *irqdomain; member 140 struct irq_domain *irqdomain = idc->direct->irqdomain; in aplic_direct_handle_irq() local 149 irq = irq_find_mapping(irqdomain, hw_irq); in aplic_direct_handle_irq() 317 direct->irqdomain = irq_domain_create_linear(dev->fwnode, priv->nr_irqs + 1, in aplic_direct_setup() 319 if (!direct->irqdomain) { in aplic_direct_setup()
|
H A D | irq-sifive-plic.c | 70 struct irq_domain *irqdomain; member 386 int err = generic_handle_domain_irq(handler->priv->irqdomain, in plic_handle_irq() 642 priv->irqdomain = irq_domain_create_linear(fwnode, nr_irqs + 1, in plic_probe() 644 if (WARN_ON(!priv->irqdomain)) { in plic_probe()
|
/linux/drivers/mfd/ |
H A D | qcom-pm8xxx.c | 74 struct irq_domain *irqdomain; member 143 generic_handle_domain_irq(chip->irqdomain, pmirq); in pm8xxx_irq_block_handler() 216 generic_handle_domain_irq(chip->irqdomain, pmirq); in pm8821_irq_block_handler() 562 chip->irqdomain = irq_domain_add_linear(pdev->dev.of_node, in pm8xxx_probe() 566 if (!chip->irqdomain) in pm8xxx_probe() 577 irq_domain_remove(chip->irqdomain); in pm8xxx_probe() 593 irq_domain_remove(chip->irqdomain); in pm8xxx_remove()
|
/linux/drivers/gpio/ |
H A D | gpio-pxa.c | 82 struct irq_domain *irqdomain; member 228 irq_gpio0 = irq_find_mapping(pchip->irqdomain, 0); in pxa_irq_to_gpio() 252 return irq_find_mapping(pchip->irqdomain, offset); in pxa_gpio_to_irq() 452 generic_handle_domain_irq(pchip->irqdomain, in pxa_gpio_demux_handler() 467 generic_handle_domain_irq(pchip->irqdomain, 0); in pxa_gpio_direct_handler() 469 generic_handle_domain_irq(pchip->irqdomain, 1); in pxa_gpio_direct_handler() 639 pchip->irqdomain = irq_domain_add_legacy(pdev->dev.of_node, in pxa_gpio_probe() 642 if (!pchip->irqdomain) in pxa_gpio_probe()
|
H A D | gpio-reg.c | 27 struct irq_domain *irqdomain; member 112 if (irq >= 0 && r->irqdomain) in gpio_reg_to_irq() 113 irq = irq_find_mapping(r->irqdomain, irq); in gpio_reg_to_irq()
|
H A D | gpio-siox.c | 78 struct irq_domain *irqdomain = ddata->gchip.irq.domain; in gpio_siox_get_data() local 79 unsigned int irq = irq_find_mapping(irqdomain, offset); in gpio_siox_get_data()
|
H A D | gpio-zynq.c | 631 struct irq_domain *irqdomain = gpio->chip.irq.domain; in zynq_gpio_handle_bank_irq() local 638 generic_handle_domain_irq(irqdomain, offset + bank_offset); in zynq_gpio_handle_bank_irq()
|
/linux/arch/arm/common/ |
H A D | sa1111.c | 111 struct irq_domain *irqdomain; member 199 return irq_create_mapping(sachip->irqdomain, hwirq); in sa1111_map_irq() 211 struct irq_domain *irqdomain; in sa1111_irq_handler() local 228 irqdomain = sachip->irqdomain; in sa1111_irq_handler() 232 generic_handle_domain_irq(irqdomain, i); in sa1111_irq_handler() 236 generic_handle_domain_irq(irqdomain, i); in sa1111_irq_handler() 419 sachip->irqdomain = irq_domain_add_linear(NULL, SA1111_IRQ_NR, in sa1111_setup_irq() 422 if (!sachip->irqdomain) { in sa1111_setup_irq() 427 irq_domain_associate_many(sachip->irqdomain, in sa1111_setup_irq() 430 irq_domain_associate_many(sachip->irqdomain, in sa1111_setup_irq() [all …]
|
/linux/drivers/pci/controller/ |
H A D | pci-ftpci100.c | 117 struct irq_domain *irqdomain; member 303 generic_handle_domain_irq(p->irqdomain, i); in faraday_pci_irq_handler() 348 p->irqdomain = irq_domain_add_linear(intc, PCI_NUM_INTX, in faraday_pci_setup_cascaded_irq() 351 if (!p->irqdomain) { in faraday_pci_setup_cascaded_irq() 359 irq_create_mapping(p->irqdomain, i); in faraday_pci_setup_cascaded_irq()
|
/linux/drivers/net/dsa/qca/ |
H A D | ar9331.c | 242 struct irq_domain *irqdomain; member 724 child_irq = irq_find_mapping(priv->irqdomain, 0); in ar9331_sw_irq() 824 priv->irqdomain = irq_domain_add_linear(np, 1, &ar9331_sw_irqdomain_ops, in ar9331_sw_irq_init() 826 if (!priv->irqdomain) { in ar9331_sw_irq_init() 831 irq_set_parent(irq_create_mapping(priv->irqdomain, 0), irq); in ar9331_sw_irq_init() 1086 irq_domain_remove(priv->irqdomain); in ar9331_sw_probe() 1105 irq_domain_remove(priv->irqdomain); in ar9331_sw_remove()
|
/linux/drivers/pci/msi/ |
H A D | Makefile | 5 obj-$(CONFIG_PCI_MSI) += api.o msi.o irqdomain.o
|
/linux/drivers/net/dsa/realtek/ |
H A D | rtl8365mb.c | 1634 int child_irq = irq_find_mapping(priv->irqdomain, line); in rtl8365mb_irq() 1722 priv->irqdomain = irq_domain_add_linear(intc, priv->num_ports, in rtl8365mb_irq_setup() 1724 if (!priv->irqdomain) { in rtl8365mb_irq_setup() 1731 virq = irq_create_mapping(priv->irqdomain, i); in rtl8365mb_irq_setup() 1801 virq = irq_find_mapping(priv->irqdomain, i); in rtl8365mb_irq_setup() 1805 irq_domain_remove(priv->irqdomain); in rtl8365mb_irq_setup() 1806 priv->irqdomain = NULL; in rtl8365mb_irq_setup() 1825 if (priv->irqdomain) { in rtl8365mb_irq_teardown() 1827 virq = irq_find_mapping(priv->irqdomain, i); in rtl8365mb_irq_teardown() 1831 irq_domain_remove(priv->irqdomain); in rtl8365mb_irq_teardown() [all …]
|
H A D | realtek.h | 68 struct irq_domain *irqdomain; member
|
H A D | rtl8366rb.c | 535 child_irq = irq_find_mapping(priv->irqdomain, line); in rtl8366rb_irq() 630 priv->irqdomain = irq_domain_add_linear(intc, in rtl8366rb_setup_cascaded_irq() 634 if (!priv->irqdomain) { in rtl8366rb_setup_cascaded_irq() 640 irq_set_parent(irq_create_mapping(priv->irqdomain, i), irq); in rtl8366rb_setup_cascaded_irq()
|
/linux/drivers/sh/intc/ |
H A D | Makefile | 2 obj-y := access.o chip.o core.o handle.o irqdomain.o virq.o
|
/linux/arch/x86/hyperv/ |
H A D | Makefile | 2 obj-y := hv_init.o mmu.o nested.o irqdomain.o ivm.o
|
/linux/kernel/irq/ |
H A D | Makefile | 10 obj-$(CONFIG_IRQ_DOMAIN) += irqdomain.o
|
/linux/drivers/input/rmi4/ |
H A D | rmi_driver.c | 158 handle_nested_irq(irq_find_mapping(data->irqdomain, i)); in rmi_process_interrupt_requests() 984 irq_domain_remove(data->irqdomain); in rmi_driver_remove() 985 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()
|
H A D | rmi_bus.c | 183 fn->irq[i] = irq_create_mapping(drvdata->irqdomain, in rmi_create_function_irq()
|
/linux/arch/x86/kernel/apic/ |
H A D | io_apic.c | 117 struct irq_domain *irqdomain; member 157 return ioapics[ioapic].irqdomain; in mp_ioapic_irqdomain() 2246 ip->irqdomain = irq_domain_create_hierarchy(parent, 0, hwirqs, fn, cfg->ops, in mp_irqdomain_create() 2248 if (!ip->irqdomain) { in mp_irqdomain_create() 2264 struct fwnode_handle *fn = ioapics[idx].irqdomain->fwnode; in ioapic_destroy_irqdomain() 2266 if (ioapics[idx].irqdomain) { in ioapic_destroy_irqdomain() 2267 irq_domain_remove(ioapics[idx].irqdomain); in ioapic_destroy_irqdomain() 2270 ioapics[idx].irqdomain = NULL; in ioapic_destroy_irqdomain() 2731 ioapics[idx].irqdomain = NULL; in mp_register_ioapic()
|
/linux/include/linux/ |
H A D | rmi.h | 355 struct irq_domain *irqdomain; member
|
/linux/drivers/net/usb/ |
H A D | lan78xx.c | 404 struct irq_domain *irqdomain; member 2189 struct irq_domain *irqdomain; in lan78xx_setup_irq_domain() local 2204 irqdomain = irq_domain_add_simple(of_node, MAX_INT_EP, 0, in lan78xx_setup_irq_domain() 2206 if (irqdomain) { in lan78xx_setup_irq_domain() 2208 irqmap = irq_create_mapping(irqdomain, INT_EP_PHY); in lan78xx_setup_irq_domain() 2210 irq_domain_remove(irqdomain); in lan78xx_setup_irq_domain() 2212 irqdomain = NULL; in lan78xx_setup_irq_domain() 2219 dev->domain_data.irqdomain = irqdomain; in lan78xx_setup_irq_domain() 2230 if (dev->domain_data.irqdomain) in lan78xx_remove_irq_domain() 2231 irq_domain_remove(dev->domain_data.irqdomain); in lan78xx_remove_irq_domain() [all …]
|
/linux/drivers/pinctrl/nuvoton/ |
H A D | pinctrl-ma35.c | 502 struct irq_domain *irqdomain = bank->chip.irq.domain; in ma35_irq_demux_intgroup() local 512 generic_handle_irq(irq_find_mapping(irqdomain, offset)); in ma35_irq_demux_intgroup()
|
/linux/Documentation/core-api/ |
H A D | genericirq.rst | 413 .. kernel-doc:: include/linux/irqdomain.h
|
/linux/Documentation/driver-api/gpio/ |
H A D | driver.rst | 393 associated irqdomain and resource allocation callbacks. These are activated 643 the IRQ, instead a parent irqdomain, an fwnode for the hardware and
|