Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Dfsl-mc-msi.c185 struct irq_domain *msi_domain; in fsl_mc_find_msi_domain() local
192 msi_domain = of_msi_map_get_device_domain(dev, in fsl_mc_find_msi_domain()
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()
206 msi_domain = iort_get_device_domain(dev, mc_dev->icid, 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()
273 error = msi_domain_alloc_irqs(msi_domain, dev, irq_count); in fsl_mc_msi_domain_alloc_irqs()
[all …]
/kernel/linux/linux-5.10/drivers/soc/ti/
Dti_sci_inta_msi.c101 struct irq_domain *msi_domain; in ti_sci_inta_msi_domain_alloc_irqs() local
104 msi_domain = dev_get_msi_domain(dev); in ti_sci_inta_msi_domain_alloc_irqs()
105 if (!msi_domain) in ti_sci_inta_msi_domain_alloc_irqs()
115 ret = msi_domain_alloc_irqs(msi_domain, dev, nvec); in ti_sci_inta_msi_domain_alloc_irqs()
131 msi_domain_free_irqs(dev->msi_domain, dev); in ti_sci_inta_msi_domain_free_irqs()
Dk3-ringacc.c1115 dev->msi_domain = of_msi_get_domain(dev, dev->of_node, in k3_ringacc_init()
1117 if (!dev->msi_domain) { in k3_ringacc_init()
/kernel/linux/linux-5.10/drivers/irqchip/
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()
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()
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-ls-scfg-msi.c49 struct irq_domain *msi_domain; member
229 msi_data->msi_domain = pci_msi_create_irq_domain( in ls_scfg_msi_domains_init()
233 if (!msi_data->msi_domain) { in ls_scfg_msi_domains_init()
417 irq_domain_remove(msi_data->msi_domain); in ls_scfg_msi_remove()
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()
Dirq-ti-sci-inta.c652 struct irq_domain *parent_domain, *domain, *msi_domain; in ti_sci_inta_irq_domain_probe() local
717 msi_domain = ti_sci_inta_msi_create_irq_domain(of_node_to_fwnode(node), in ti_sci_inta_irq_domain_probe()
720 if (!msi_domain) { in ti_sci_inta_irq_domain_probe()
/kernel/linux/linux-5.10/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()
340 domain = irq_domain_create_hierarchy(dev->msi_domain, 0, in __platform_msi_create_device_domain()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpcie-altera-msi.c32 struct irq_domain *msi_domain; member
185 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in altera_allocate_domains()
187 if (!msi->msi_domain) { in altera_allocate_domains()
198 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-xilinx.c111 struct irq_domain *msi_domain; member
278 irq = irq_create_mapping(port->msi_domain, hwirq); in xilinx_pcie_msi_setup_irq()
523 port->msi_domain = irq_domain_add_linear(node, in xilinx_pcie_init_irq_domain()
527 if (!port->msi_domain) { in xilinx_pcie_init_irq_domain()
Dpcie-iproc-msi.c104 struct irq_domain *msi_domain; member
456 msi->msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(node), in iproc_msi_alloc_domains()
459 if (!msi->msi_domain) { in iproc_msi_alloc_domains()
469 if (msi->msi_domain) in iproc_msi_free_domains()
470 irq_domain_remove(msi->msi_domain); in iproc_msi_free_domains()
Dpcie-mediatek.c199 struct irq_domain *msi_domain; member
508 port->msi_domain = pci_msi_create_irq_domain(fwnode, &mtk_msi_domain_info, in mtk_pcie_allocate_msi_domains()
510 if (!port->msi_domain) { in mtk_pcie_allocate_msi_domains()
544 if (port->msi_domain) in mtk_pcie_irq_teardown()
545 irq_domain_remove(port->msi_domain); in mtk_pcie_irq_teardown()
Dpcie-xilinx-nwl.c147 struct irq_domain *msi_domain; member
531 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in nwl_pcie_init_msi_irq_domain()
534 if (!msi->msi_domain) { in nwl_pcie_init_msi_irq_domain()
Dpcie-brcmstb.c257 struct irq_domain *msi_domain; member
585 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in brcm_allocate_domains()
588 if (!msi->msi_domain) { in brcm_allocate_domains()
599 irq_domain_remove(msi->msi_domain); in brcm_free_domains()
Dpci-aardvark.c285 struct irq_domain *msi_domain; member
1323 pcie->msi_domain = in advk_pcie_init_msi_irq_domain()
1326 if (!pcie->msi_domain) { in advk_pcie_init_msi_irq_domain()
1336 irq_domain_remove(pcie->msi_domain); in advk_pcie_remove_msi_irq_domain()
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpcie-designware-host.c247 pp->msi_domain = pci_msi_create_irq_domain(fwnode, in dw_pcie_allocate_domains()
250 if (!pp->msi_domain) { in dw_pcie_allocate_domains()
266 irq_domain_remove(pp->msi_domain); in dw_pcie_free_msi()
Dpcie-designware.h192 struct irq_domain *msi_domain; member
/kernel/linux/linux-5.10/include/linux/
Ddevice.h494 struct irq_domain *msi_domain; member
654 return dev->msi_domain; in dev_get_msi_domain()
663 dev->msi_domain = d; in dev_set_msi_domain()
/kernel/linux/linux-5.10/drivers/pci/controller/mobiveil/
Dpcie-mobiveil.h138 struct irq_domain *msi_domain; member
Dpcie-mobiveil-host.c466 msi->msi_domain = pci_msi_create_irq_domain(fwnode, in mobiveil_allocate_msi_domains()
469 if (!msi->msi_domain) { in mobiveil_allocate_msi_domains()
/kernel/linux/linux-5.10/drivers/acpi/arm64/
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()
/kernel/linux/linux-5.10/drivers/iommu/amd/
Damd_iommu_types.h604 struct irq_domain *msi_domain; member

12