Home
last modified time | relevance | path

Searched refs:ir_domain (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/iommu/intel/
Dirq_remapping.c230 return drhd ? drhd->iommu->ir_domain : NULL; in map_dev_to_ir()
560 iommu->ir_domain = in intel_setup_irq_remapping()
565 if (!iommu->ir_domain) { in intel_setup_irq_remapping()
570 irq_domain_update_bus_token(iommu->ir_domain, DOMAIN_BUS_DMAR); in intel_setup_irq_remapping()
571 iommu->ir_domain->flags |= IRQ_DOMAIN_FLAG_MSI_PARENT | in intel_setup_irq_remapping()
573 iommu->ir_domain->msi_parent_ops = &dmar_msi_parent_ops; in intel_setup_irq_remapping()
617 irq_domain_remove(iommu->ir_domain); in intel_setup_irq_remapping()
618 iommu->ir_domain = NULL; in intel_setup_irq_remapping()
638 if (iommu->ir_domain) { in intel_teardown_irq_remapping()
639 fn = iommu->ir_domain->fwnode; in intel_teardown_irq_remapping()
[all …]
Diommu.h753 struct irq_domain *ir_domain; member
/linux-6.12.1/drivers/iommu/amd/
Diommu.c894 dev_set_msi_domain(dev, iommu->ir_domain); in amd_iommu_set_pci_msi_domain()
3586 return iommu && iommu->ir_domain == d; in irq_remapping_select()
3781 iommu->ir_domain = irq_domain_create_hierarchy(arch_get_ir_parent_domain(), 0, 0, in amd_iommu_create_irq_domain()
3783 if (!iommu->ir_domain) { in amd_iommu_create_irq_domain()
3788 irq_domain_update_bus_token(iommu->ir_domain, DOMAIN_BUS_AMDVI); in amd_iommu_create_irq_domain()
3789 iommu->ir_domain->flags |= IRQ_DOMAIN_FLAG_MSI_PARENT | in amd_iommu_create_irq_domain()
3791 iommu->ir_domain->msi_parent_ops = &amdvi_msi_parent_ops; in amd_iommu_create_irq_domain()
Damd_iommu_types.h775 struct irq_domain *ir_domain; member