Home
last modified time | relevance | path

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

/linux-6.6.21/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_domain_irq(irqdomain, i); in altera_gpio_irq_edge_handler()
216 struct irq_domain *irqdomain; in altera_gpio_irq_leveL_high_handler() local
223 irqdomain = altera_gc->mmchip.gc.irq.domain; in altera_gpio_irq_leveL_high_handler()
231 generic_handle_domain_irq(irqdomain, i); in altera_gpio_irq_leveL_high_handler()
Dgpio-pxa.c82 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()
Dgpio-reg.c27 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()
Dgpio-siox.c78 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()
Dgpio-zynq.c631 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-6.6.21/drivers/mfd/
Dqcom-pm8xxx.c74 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-6.6.21/drivers/pci/controller/
Dpci-ftpci100.c117 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-6.6.21/arch/arm/common/
Dsa1111.c111 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-6.6.21/drivers/pci/msi/
DMakefile5 obj-$(CONFIG_PCI_MSI) += api.o msi.o irqdomain.o
/linux-6.6.21/drivers/sh/intc/
DMakefile2 obj-y := access.o chip.o core.o handle.o irqdomain.o virq.o
/linux-6.6.21/arch/x86/hyperv/
DMakefile2 obj-y := hv_init.o mmu.o nested.o irqdomain.o ivm.o
/linux-6.6.21/drivers/net/dsa/qca/
Dar9331.c242 struct irq_domain *irqdomain; member
718 child_irq = irq_find_mapping(priv->irqdomain, 0); in ar9331_sw_irq()
818 priv->irqdomain = irq_domain_add_linear(np, 1, &ar9331_sw_irqdomain_ops, in ar9331_sw_irq_init()
820 if (!priv->irqdomain) { in ar9331_sw_irq_init()
825 irq_set_parent(irq_create_mapping(priv->irqdomain, 0), irq); in ar9331_sw_irq_init()
1079 irq_domain_remove(priv->irqdomain); in ar9331_sw_probe()
1098 irq_domain_remove(priv->irqdomain); in ar9331_sw_remove()
/linux-6.6.21/drivers/irqchip/
Dirq-sifive-plic.c68 struct irq_domain *irqdomain; member
377 int err = generic_handle_domain_irq(handler->priv->irqdomain, in plic_handle_irq()
453 priv->irqdomain = irq_domain_add_linear(node, nr_irqs + 1, in __plic_init()
455 if (WARN_ON(!priv->irqdomain)) in __plic_init()
/linux-6.6.21/drivers/net/dsa/realtek/
Drtl8365mb.c1634 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 …]
Drealtek.h66 struct irq_domain *irqdomain; member
Drtl8366rb.c505 child_irq = irq_find_mapping(priv->irqdomain, line); in rtl8366rb_irq()
600 priv->irqdomain = irq_domain_add_linear(intc, in rtl8366rb_setup_cascaded_irq()
604 if (!priv->irqdomain) { in rtl8366rb_setup_cascaded_irq()
610 irq_set_parent(irq_create_mapping(priv->irqdomain, i), irq); in rtl8366rb_setup_cascaded_irq()
/linux-6.6.21/kernel/irq/
DMakefile10 obj-$(CONFIG_IRQ_DOMAIN) += irqdomain.o
/linux-6.6.21/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.c183 fn->irq[i] = irq_create_mapping(drvdata->irqdomain, in rmi_create_function_irq()
/linux-6.6.21/drivers/net/usb/
Dsmsc95xx.c71 struct irq_domain *irqdomain; member
623 generic_handle_domain_irq(pdata->irqdomain, PHY_HWIRQ); in smsc95xx_status()
1145 pdata->irqdomain = irq_domain_create_linear(pdata->irqfwnode, in smsc95xx_bind()
1149 if (!pdata->irqdomain) { in smsc95xx_bind()
1154 phy_irq = irq_create_mapping(pdata->irqdomain, PHY_HWIRQ); in smsc95xx_bind()
1249 irq_domain_remove(pdata->irqdomain); in smsc95xx_bind()
1266 irq_dispose_mapping(irq_find_mapping(pdata->irqdomain, PHY_HWIRQ)); in smsc95xx_unbind()
1267 irq_domain_remove(pdata->irqdomain); in smsc95xx_unbind()
Dlan78xx.c409 struct irq_domain *irqdomain; member
2196 struct irq_domain *irqdomain; in lan78xx_setup_irq_domain() local
2211 irqdomain = irq_domain_add_simple(of_node, MAX_INT_EP, 0, in lan78xx_setup_irq_domain()
2213 if (irqdomain) { in lan78xx_setup_irq_domain()
2215 irqmap = irq_create_mapping(irqdomain, INT_EP_PHY); in lan78xx_setup_irq_domain()
2217 irq_domain_remove(irqdomain); in lan78xx_setup_irq_domain()
2219 irqdomain = NULL; in lan78xx_setup_irq_domain()
2226 dev->domain_data.irqdomain = irqdomain; in lan78xx_setup_irq_domain()
2237 if (dev->domain_data.irqdomain) in lan78xx_remove_irq_domain()
2238 irq_domain_remove(dev->domain_data.irqdomain); in lan78xx_remove_irq_domain()
[all …]
/linux-6.6.21/arch/x86/kernel/apic/
Dio_apic.c121 struct irq_domain *irqdomain; member
161 return ioapics[ioapic].irqdomain; in mp_ioapic_irqdomain()
2364 ip->irqdomain = irq_domain_create_hierarchy(parent, 0, hwirqs, fn, cfg->ops, in mp_irqdomain_create()
2366 if (!ip->irqdomain) { in mp_irqdomain_create()
2384 struct fwnode_handle *fn = ioapics[idx].irqdomain->fwnode; in ioapic_destroy_irqdomain()
2386 if (ioapics[idx].irqdomain) { in ioapic_destroy_irqdomain()
2387 irq_domain_remove(ioapics[idx].irqdomain); in ioapic_destroy_irqdomain()
2390 ioapics[idx].irqdomain = NULL; in ioapic_destroy_irqdomain()
2890 ioapics[idx].irqdomain = NULL; in mp_register_ioapic()
/linux-6.6.21/include/linux/
Drmi.h355 struct irq_domain *irqdomain; member
/linux-6.6.21/Documentation/driver-api/gpio/
Ddriver.rst394 associated irqdomain and resource allocation callbacks. These are activated
644 the IRQ, instead a parent irqdomain, an fwnode for the hardware and
/linux-6.6.21/
DMAINTAINERS11070 F: include/linux/irqdomain.h
11071 F: kernel/irq/irqdomain.c