Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpio/
A 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()
A 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()
457 generic_handle_domain_irq(pchip->irqdomain, in pxa_gpio_demux_handler()
472 generic_handle_domain_irq(pchip->irqdomain, 0); in pxa_gpio_direct_handler()
474 generic_handle_domain_irq(pchip->irqdomain, 1); in pxa_gpio_direct_handler()
644 pchip->irqdomain = irq_domain_add_legacy(pdev->dev.of_node, in pxa_gpio_probe()
647 if (!pchip->irqdomain) in pxa_gpio_probe()
A 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()
A 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()
A Dgpio-zynq.c625 struct irq_domain *irqdomain = gpio->chip.irq.domain; in zynq_gpio_handle_bank_irq() local
632 generic_handle_domain_irq(irqdomain, offset + bank_offset); in zynq_gpio_handle_bank_irq()
/linux-6.3-rc2/drivers/mfd/
A Dqcom-pm8xxx.c74 struct irq_domain *irqdomain; member
142 generic_handle_domain_irq(chip->irqdomain, pmirq); in pm8xxx_irq_block_handler()
215 generic_handle_domain_irq(chip->irqdomain, pmirq); in pm8821_irq_block_handler()
560 chip->irqdomain = irq_domain_add_linear(pdev->dev.of_node, in pm8xxx_probe()
564 if (!chip->irqdomain) in pm8xxx_probe()
575 irq_domain_remove(chip->irqdomain); in pm8xxx_probe()
591 irq_domain_remove(chip->irqdomain); in pm8xxx_remove()
/linux-6.3-rc2/drivers/pci/controller/
A Dpci-ftpci100.c118 struct irq_domain *irqdomain; member
304 generic_handle_domain_irq(p->irqdomain, i); in faraday_pci_irq_handler()
349 p->irqdomain = irq_domain_add_linear(intc, PCI_NUM_INTX, in faraday_pci_setup_cascaded_irq()
352 if (!p->irqdomain) { in faraday_pci_setup_cascaded_irq()
360 irq_create_mapping(p->irqdomain, i); in faraday_pci_setup_cascaded_irq()
/linux-6.3-rc2/arch/arm/common/
A 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.3-rc2/drivers/irqchip/
A Dirq-sifive-plic.c67 struct irq_domain *irqdomain; member
302 int err = generic_handle_domain_irq(handler->priv->irqdomain, in plic_handle_irq()
371 priv->irqdomain = irq_domain_add_linear(node, nr_irqs + 1, in __plic_init()
373 if (WARN_ON(!priv->irqdomain)) in __plic_init()
/linux-6.3-rc2/drivers/pci/msi/
A DMakefile5 obj-$(CONFIG_PCI_MSI) += api.o msi.o irqdomain.o
/linux-6.3-rc2/arch/x86/hyperv/
A DMakefile2 obj-y := hv_init.o mmu.o nested.o irqdomain.o ivm.o
/linux-6.3-rc2/drivers/sh/intc/
A DMakefile2 obj-y := access.o chip.o core.o handle.o irqdomain.o virq.o
/linux-6.3-rc2/drivers/net/dsa/qca/
A 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.3-rc2/drivers/net/dsa/realtek/
A Drtl8365mb.c1603 int child_irq = irq_find_mapping(priv->irqdomain, line); in rtl8365mb_irq()
1691 priv->irqdomain = irq_domain_add_linear(intc, priv->num_ports, in rtl8365mb_irq_setup()
1693 if (!priv->irqdomain) { in rtl8365mb_irq_setup()
1700 virq = irq_create_mapping(priv->irqdomain, i); in rtl8365mb_irq_setup()
1770 virq = irq_find_mapping(priv->irqdomain, i); in rtl8365mb_irq_setup()
1774 irq_domain_remove(priv->irqdomain); in rtl8365mb_irq_setup()
1775 priv->irqdomain = NULL; in rtl8365mb_irq_setup()
1794 if (priv->irqdomain) { in rtl8365mb_irq_teardown()
1796 virq = irq_find_mapping(priv->irqdomain, i); in rtl8365mb_irq_teardown()
1800 irq_domain_remove(priv->irqdomain); in rtl8365mb_irq_teardown()
[all …]
A Drealtek.h66 struct irq_domain *irqdomain; member
A 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.3-rc2/kernel/irq/
A DMakefile10 obj-$(CONFIG_IRQ_DOMAIN) += irqdomain.o
/linux-6.3-rc2/drivers/input/rmi4/
A 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()
A Drmi_bus.c183 fn->irq[i] = irq_create_mapping(drvdata->irqdomain, in rmi_create_function_irq()
/linux-6.3-rc2/drivers/net/usb/
A Dsmsc95xx.c71 struct irq_domain *irqdomain; member
621 generic_handle_domain_irq(pdata->irqdomain, PHY_HWIRQ); in smsc95xx_status()
1143 pdata->irqdomain = irq_domain_create_linear(pdata->irqfwnode, in smsc95xx_bind()
1147 if (!pdata->irqdomain) { in smsc95xx_bind()
1152 phy_irq = irq_create_mapping(pdata->irqdomain, PHY_HWIRQ); in smsc95xx_bind()
1247 irq_domain_remove(pdata->irqdomain); in smsc95xx_bind()
1264 irq_dispose_mapping(irq_find_mapping(pdata->irqdomain, PHY_HWIRQ)); in smsc95xx_unbind()
1265 irq_domain_remove(pdata->irqdomain); in smsc95xx_unbind()
A Dlan78xx.c409 struct irq_domain *irqdomain; member
2194 struct irq_domain *irqdomain; in lan78xx_setup_irq_domain() local
2209 irqdomain = irq_domain_add_simple(of_node, MAX_INT_EP, 0, in lan78xx_setup_irq_domain()
2211 if (irqdomain) { in lan78xx_setup_irq_domain()
2213 irqmap = irq_create_mapping(irqdomain, INT_EP_PHY); in lan78xx_setup_irq_domain()
2215 irq_domain_remove(irqdomain); in lan78xx_setup_irq_domain()
2217 irqdomain = NULL; in lan78xx_setup_irq_domain()
2224 dev->domain_data.irqdomain = irqdomain; in lan78xx_setup_irq_domain()
2235 if (dev->domain_data.irqdomain) in lan78xx_remove_irq_domain()
2236 irq_domain_remove(dev->domain_data.irqdomain); in lan78xx_remove_irq_domain()
[all …]
/linux-6.3-rc2/arch/x86/kernel/apic/
A Dio_apic.c120 struct irq_domain *irqdomain; member
160 return ioapics[ioapic].irqdomain; in mp_ioapic_irqdomain()
2367 ip->irqdomain = irq_domain_create_hierarchy(parent, 0, hwirqs, fn, cfg->ops, in mp_irqdomain_create()
2369 if (!ip->irqdomain) { in mp_irqdomain_create()
2387 struct fwnode_handle *fn = ioapics[idx].irqdomain->fwnode; in ioapic_destroy_irqdomain()
2389 if (ioapics[idx].irqdomain) { in ioapic_destroy_irqdomain()
2390 irq_domain_remove(ioapics[idx].irqdomain); in ioapic_destroy_irqdomain()
2393 ioapics[idx].irqdomain = NULL; in ioapic_destroy_irqdomain()
2884 ioapics[idx].irqdomain = NULL; in mp_register_ioapic()
/linux-6.3-rc2/include/linux/
A Drmi.h355 struct irq_domain *irqdomain; member
/linux-6.3-rc2/Documentation/driver-api/gpio/
A 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.3-rc2/
A DMAINTAINERS10835 F: include/linux/irqdomain.h
10836 F: kernel/irq/irqdomain.c

Completed in 98 milliseconds