Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/bus/fsl-mc/
Dfsl-mc-msi.c183 struct irq_domain *msi_domain; in fsl_mc_find_msi_domain() local
186 msi_domain = of_msi_get_domain(mc_platform_dev, mc_of_node, in fsl_mc_find_msi_domain()
188 if (!msi_domain) { in fsl_mc_find_msi_domain()
195 *mc_msi_domain = msi_domain; in fsl_mc_find_msi_domain()
239 struct irq_domain *msi_domain; in fsl_mc_msi_domain_alloc_irqs() local
249 msi_domain = dev_get_msi_domain(dev); in fsl_mc_msi_domain_alloc_irqs()
250 if (!msi_domain) { in fsl_mc_msi_domain_alloc_irqs()
259 error = msi_domain_alloc_irqs(msi_domain, dev, irq_count); in fsl_mc_msi_domain_alloc_irqs()
275 struct irq_domain *msi_domain; in fsl_mc_msi_domain_free_irqs() local
277 msi_domain = dev_get_msi_domain(dev); in fsl_mc_msi_domain_free_irqs()
[all …]
/linux-4.19.296/drivers/irqchip/
Dirq-gic-v3-its-fsl-mc-msi.c26 static int its_fsl_mc_msi_prepare(struct irq_domain *msi_domain, in its_fsl_mc_msi_prepare() argument
47 msi_info = msi_get_domain_info(msi_domain->parent); in its_fsl_mc_msi_prepare()
51 return msi_info->ops->msi_prepare(msi_domain->parent, dev, nvec, info); in its_fsl_mc_msi_prepare()
Dirq-alpine-msi.c192 struct irq_domain *middle_domain, *msi_domain, *gic_domain; in alpine_msix_init_domains() local
218 msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(node), in alpine_msix_init_domains()
221 if (!msi_domain) { in alpine_msix_init_domains()
Dirq-mvebu-icu.c247 pdev->dev.msi_domain = of_msi_get_domain(&pdev->dev, node, in mvebu_icu_probe()
249 if (!pdev->dev.msi_domain) in mvebu_icu_probe()
252 gicp_dn = irq_domain_get_of_node(pdev->dev.msi_domain); in mvebu_icu_probe()
Dirq-ls-scfg-msi.c52 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()
415 irq_domain_remove(msi_data->msi_domain); in ls_scfg_msi_remove()
/linux-4.19.296/drivers/base/
Dplatform-msi.c206 if (!dev->msi_domain || !write_msi_msg || !nvec || nvec > MAX_DEV_MSIS) in platform_msi_alloc_priv_data()
209 if (dev->msi_domain->bus_token != DOMAIN_BUS_PLATFORM_MSI) { in platform_msi_alloc_priv_data()
265 err = msi_domain_alloc_irqs(dev->msi_domain, dev, nvec); in platform_msi_domain_alloc_irqs()
293 msi_domain_free_irqs(dev->msi_domain, dev); in platform_msi_domain_free_irqs()
339 domain = irq_domain_create_hierarchy(dev->msi_domain, 0, nvec, in platform_msi_create_device_domain()
/linux-4.19.296/drivers/pci/controller/
Dpcie-altera-msi.c31 struct irq_domain *msi_domain; member
184 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in altera_allocate_domains()
186 if (!msi->msi_domain) { in altera_allocate_domains()
197 irq_domain_remove(msi->msi_domain); in altera_free_domains()
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()
Dpcie-iproc-msi.c104 struct irq_domain *msi_domain; member
455 msi->msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(node), in iproc_msi_alloc_domains()
458 if (!msi->msi_domain) { in iproc_msi_alloc_domains()
468 if (msi->msi_domain) in iproc_msi_free_domains()
469 irq_domain_remove(msi->msi_domain); in iproc_msi_free_domains()
Dpcie-xilinx.c113 struct irq_domain *msi_domain; member
281 irq = irq_create_mapping(port->msi_domain, hwirq); in xilinx_pcie_msi_setup_irq()
526 port->msi_domain = irq_domain_add_linear(node, in xilinx_pcie_init_irq_domain()
530 if (!port->msi_domain) { in xilinx_pcie_init_irq_domain()
Dpcie-xilinx-nwl.c147 struct irq_domain *msi_domain; member
535 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in nwl_pcie_init_msi_irq_domain()
538 if (!msi->msi_domain) { in nwl_pcie_init_msi_irq_domain()
Dpcie-mobiveil.c122 struct irq_domain *msi_domain; member
738 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in mobiveil_allocate_msi_domains()
740 if (!msi->msi_domain) { in mobiveil_allocate_msi_domains()
Dpci-aardvark.c269 struct irq_domain *msi_domain; member
970 pcie->msi_domain = in advk_pcie_init_msi_irq_domain()
973 if (!pcie->msi_domain) { in advk_pcie_init_msi_irq_domain()
983 irq_domain_remove(pcie->msi_domain); in advk_pcie_remove_msi_irq_domain()
Dpcie-mediatek.c192 struct irq_domain *msi_domain; member
515 port->msi_domain = pci_msi_create_irq_domain(fwnode, &mtk_msi_domain_info, in mtk_pcie_allocate_msi_domains()
517 if (!port->msi_domain) { in mtk_pcie_allocate_msi_domains()
/linux-4.19.296/drivers/pci/controller/dwc/
Dpcie-designware-host.c290 pp->msi_domain = pci_msi_create_irq_domain(fwnode, in dw_pcie_allocate_domains()
293 if (!pp->msi_domain) { in dw_pcie_allocate_domains()
307 irq_domain_remove(pp->msi_domain); in dw_pcie_free_msi()
Dpcie-designware.h165 struct irq_domain *msi_domain; member
/linux-4.19.296/include/linux/
Ddevice.h995 struct irq_domain *msi_domain; member
1095 return dev->msi_domain; in dev_get_msi_domain()
1104 dev->msi_domain = d; in dev_set_msi_domain()