Home
last modified time | relevance | path

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

12

/linux/drivers/bus/fsl-mc/
A Dfsl-mc-msi.c185 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 Dti_sci_inta_msi.c113 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 Dirq-gic-v3-its-fsl-mc-msi.c41 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 Dirq-loongson-pch-msi.c160 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 Dirq-alpine-msi.c192 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 Dirq-ls-scfg-msi.c49 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 Dirq-mvebu-icu.c317 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 Dirq-ti-sci-inta.c649 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 Dplatform-msi.c213 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 Dpcie-xilinx.c108 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 Dpcie-altera-msi.c32 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 Dpci-xgene-msi.c35 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 Dpcie-iproc-msi.c104 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 Dpcie-mediatek-gen3.c146 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 Dpcie-mediatek.c203 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 Dpci-host-common.c82 bridge->msi_domain = true; in pci_host_common_probe()
A Dpcie-xilinx-nwl.c148 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 Dpcie-brcmstb.c264 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 Dpci-aardvark.c277 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 Dmsi.c645 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 Dpcie-designware-host.c246 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 Ddevice.h505 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 Diort.c783 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 Dpcie-mobiveil.h138 struct irq_domain *msi_domain; member
A Dpcie-mobiveil-host.c459 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in mobiveil_allocate_msi_domains()
462 if (!msi->msi_domain) { in mobiveil_allocate_msi_domains()

Completed in 67 milliseconds

12