/linux/drivers/bus/fsl-mc/ |
A D | fsl-mc-msi.c | 185 struct irq_domain *msi_domain; in fsl_mc_find_msi_domain() local 200 if (!msi_domain) in fsl_mc_find_msi_domain() 202 msi_domain = of_msi_get_domain(bus_dev, in fsl_mc_find_msi_domain() 210 return msi_domain; in fsl_mc_find_msi_domain() 253 struct irq_domain *msi_domain; in fsl_mc_msi_domain_alloc_irqs() local 263 msi_domain = dev_get_msi_domain(dev); in fsl_mc_msi_domain_alloc_irqs() 264 if (!msi_domain) { in fsl_mc_msi_domain_alloc_irqs() 289 struct irq_domain *msi_domain; in fsl_mc_msi_domain_free_irqs() local 291 msi_domain = dev_get_msi_domain(dev); in fsl_mc_msi_domain_free_irqs() 292 if (!msi_domain) in fsl_mc_msi_domain_free_irqs() [all …]
|
/linux/drivers/soc/ti/ |
A D | ti_sci_inta_msi.c | 113 struct irq_domain *msi_domain; in ti_sci_inta_msi_domain_alloc_irqs() local 116 msi_domain = dev_get_msi_domain(dev); in ti_sci_inta_msi_domain_alloc_irqs() 117 if (!msi_domain) in ti_sci_inta_msi_domain_alloc_irqs() 127 ret = msi_domain_alloc_irqs(msi_domain, dev, nvec); in ti_sci_inta_msi_domain_alloc_irqs() 143 msi_domain_free_irqs(dev->msi_domain, dev); in ti_sci_inta_msi_domain_free_irqs()
|
/linux/drivers/irqchip/ |
A D | irq-gic-v3-its-fsl-mc-msi.c | 41 static int its_fsl_mc_msi_prepare(struct irq_domain *msi_domain, in its_fsl_mc_msi_prepare() argument 61 info->scratchpad[0].ul = fsl_mc_msi_domain_get_msi_id(msi_domain, in its_fsl_mc_msi_prepare() 63 msi_info = msi_get_domain_info(msi_domain->parent); in its_fsl_mc_msi_prepare() 67 return msi_info->ops->msi_prepare(msi_domain->parent, dev, nvec, info); in its_fsl_mc_msi_prepare()
|
A D | irq-loongson-pch-msi.c | 160 struct irq_domain *middle_domain, *msi_domain; in pch_msi_init_domains() local 174 msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(node), in pch_msi_init_domains() 177 if (!msi_domain) { in pch_msi_init_domains()
|
A D | irq-alpine-msi.c | 192 struct irq_domain *middle_domain, *msi_domain, *gic_domain; in alpine_msix_init_domains() local 217 msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(node), in alpine_msix_init_domains() 220 if (!msi_domain) { in alpine_msix_init_domains()
|
A D | irq-ls-scfg-msi.c | 49 struct irq_domain *msi_domain; member 227 msi_data->msi_domain = pci_msi_create_irq_domain( in ls_scfg_msi_domains_init() 231 if (!msi_data->msi_domain) { in ls_scfg_msi_domains_init() 412 irq_domain_remove(msi_data->msi_domain); in ls_scfg_msi_remove()
|
A D | irq-mvebu-icu.c | 317 dev->msi_domain = of_msi_get_domain(dev, dev->of_node, in mvebu_icu_subset_probe() 319 if (!dev->msi_domain) in mvebu_icu_subset_probe() 322 msi_parent_dn = irq_domain_get_of_node(dev->msi_domain); in mvebu_icu_subset_probe()
|
A D | irq-ti-sci-inta.c | 649 struct irq_domain *parent_domain, *domain, *msi_domain; in ti_sci_inta_irq_domain_probe() local 712 msi_domain = ti_sci_inta_msi_create_irq_domain(of_node_to_fwnode(node), in ti_sci_inta_irq_domain_probe() 715 if (!msi_domain) { in ti_sci_inta_irq_domain_probe()
|
/linux/drivers/base/ |
A D | platform-msi.c | 213 if (!dev->msi_domain || !write_msi_msg || !nvec || nvec > MAX_DEV_MSIS) in platform_msi_alloc_priv_data() 216 if (dev->msi_domain->bus_token != DOMAIN_BUS_PLATFORM_MSI) { in platform_msi_alloc_priv_data() 272 err = msi_domain_alloc_irqs(dev->msi_domain, dev, nvec); in platform_msi_domain_alloc_irqs() 285 msi_domain_free_irqs(dev->msi_domain, dev); in platform_msi_domain_alloc_irqs() 309 msi_domain_free_irqs(dev->msi_domain, dev); in platform_msi_domain_free_irqs() 357 domain = irq_domain_create_hierarchy(dev->msi_domain, 0, in __platform_msi_create_device_domain()
|
/linux/drivers/pci/controller/ |
A D | pcie-xilinx.c | 108 struct irq_domain *msi_domain; member 291 pcie->msi_domain = pci_msi_create_irq_domain(fwnode, &xilinx_msi_info, parent); in xilinx_allocate_msi_domains() 292 if (!pcie->msi_domain) { in xilinx_allocate_msi_domains() 303 struct irq_domain *parent = pcie->msi_domain->parent; in xilinx_free_msi_domains() 305 irq_domain_remove(pcie->msi_domain); in xilinx_free_msi_domains() 402 domain = port->msi_domain->parent; in xilinx_pcie_intr_handler()
|
A D | pcie-altera-msi.c | 32 struct irq_domain *msi_domain; member 183 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in altera_allocate_domains() 185 if (!msi->msi_domain) { in altera_allocate_domains() 196 irq_domain_remove(msi->msi_domain); in altera_free_domains()
|
A D | pci-xgene-msi.c | 35 struct irq_domain *msi_domain; member 250 msi->msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(msi->node), in xgene_allocate_domains() 254 if (!msi->msi_domain) { in xgene_allocate_domains() 264 if (msi->msi_domain) in xgene_free_domains() 265 irq_domain_remove(msi->msi_domain); in xgene_free_domains()
|
A D | pcie-iproc-msi.c | 104 struct irq_domain *msi_domain; member 454 msi->msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(node), in iproc_msi_alloc_domains() 457 if (!msi->msi_domain) { in iproc_msi_alloc_domains() 467 if (msi->msi_domain) in iproc_msi_free_domains() 468 irq_domain_remove(msi->msi_domain); in iproc_msi_free_domains()
|
A D | pcie-mediatek-gen3.c | 146 struct irq_domain *msi_domain; member 609 port->msi_domain = pci_msi_create_irq_domain(dev->fwnode, in mtk_pcie_init_irq_domains() 612 if (!port->msi_domain) { in mtk_pcie_init_irq_domains() 635 if (port->msi_domain) in mtk_pcie_irq_teardown() 636 irq_domain_remove(port->msi_domain); in mtk_pcie_irq_teardown()
|
A D | pcie-mediatek.c | 203 struct irq_domain *msi_domain; member 514 port->msi_domain = pci_msi_create_irq_domain(fwnode, &mtk_msi_domain_info, in mtk_pcie_allocate_msi_domains() 516 if (!port->msi_domain) { in mtk_pcie_allocate_msi_domains() 550 if (port->msi_domain) in mtk_pcie_irq_teardown() 551 irq_domain_remove(port->msi_domain); in mtk_pcie_irq_teardown() 1112 host->msi_domain = pcie->soc->no_msi; in mtk_pcie_probe()
|
A D | pci-host-common.c | 82 bridge->msi_domain = true; in pci_host_common_probe()
|
A D | pcie-xilinx-nwl.c | 148 struct irq_domain *msi_domain; member 517 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in nwl_pcie_init_msi_irq_domain() 520 if (!msi->msi_domain) { in nwl_pcie_init_msi_irq_domain()
|
A D | pcie-brcmstb.c | 264 struct irq_domain *msi_domain; member 592 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in brcm_allocate_domains() 595 if (!msi->msi_domain) { in brcm_allocate_domains() 606 irq_domain_remove(msi->msi_domain); in brcm_free_domains()
|
A D | pci-aardvark.c | 277 struct irq_domain *msi_domain; member 1314 pcie->msi_domain = in advk_pcie_init_msi_irq_domain() 1317 if (!pcie->msi_domain) { in advk_pcie_init_msi_irq_domain() 1327 irq_domain_remove(pcie->msi_domain); in advk_pcie_remove_msi_irq_domain()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | msi.c | 645 phb->msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(phb->dn), in __pseries_msi_allocate_domains() 648 if (!phb->msi_domain) { in __pseries_msi_allocate_domains() 674 if (phb->msi_domain) in pseries_msi_free_domains() 675 irq_domain_remove(phb->msi_domain); in pseries_msi_free_domains()
|
/linux/drivers/pci/controller/dwc/ |
A D | pcie-designware-host.c | 246 pp->msi_domain = pci_msi_create_irq_domain(fwnode, in dw_pcie_allocate_domains() 249 if (!pp->msi_domain) { in dw_pcie_allocate_domains() 263 irq_domain_remove(pp->msi_domain); in dw_pcie_free_msi()
|
/linux/include/linux/ |
A D | device.h | 505 struct irq_domain *msi_domain; member 671 return dev->msi_domain; in dev_get_msi_domain() 680 dev->msi_domain = d; in dev_set_msi_domain()
|
/linux/drivers/acpi/arm64/ |
A D | iort.c | 783 struct irq_domain *msi_domain; in acpi_configure_pmsi_domain() local 785 msi_domain = iort_get_platform_device_domain(dev); in acpi_configure_pmsi_domain() 786 if (msi_domain) in acpi_configure_pmsi_domain() 787 dev_set_msi_domain(dev, msi_domain); in acpi_configure_pmsi_domain()
|
/linux/drivers/pci/controller/mobiveil/ |
A D | pcie-mobiveil.h | 138 struct irq_domain *msi_domain; member
|
A D | pcie-mobiveil-host.c | 459 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in mobiveil_allocate_msi_domains() 462 if (!msi->msi_domain) { in mobiveil_allocate_msi_domains()
|