Home
last modified time | relevance | path

Searched refs:dmaru (Results 1 – 3 of 3) sorted by relevance

/drivers/iommu/intel/
Ddmar.c298 struct dmar_drhd_unit *dmaru; in dmar_pci_bus_add_dev() local
301 for_each_drhd_unit(dmaru) { in dmar_pci_bus_add_dev()
302 if (dmaru->include_all) in dmar_pci_bus_add_dev()
305 drhd = container_of(dmaru->hdr, in dmar_pci_bus_add_dev()
309 dmaru->segment, in dmar_pci_bus_add_dev()
310 dmaru->devices, dmaru->devices_cnt); in dmar_pci_bus_add_dev()
327 struct dmar_drhd_unit *dmaru; in dmar_pci_bus_del_dev() local
329 for_each_drhd_unit(dmaru) in dmar_pci_bus_del_dev()
330 if (dmar_remove_dev_scope(info, dmaru->segment, in dmar_pci_bus_del_dev()
331 dmaru->devices, dmaru->devices_cnt)) in dmar_pci_bus_del_dev()
[all …]
Dirq_remapping.c1466 static int dmar_ir_add(struct dmar_drhd_unit *dmaru, struct intel_iommu *iommu) in dmar_ir_add() argument
1477 if (ir_parse_ioapic_hpet_scope(dmaru->hdr, iommu)) { in dmar_ir_add()
1499 int dmar_ir_hotplug(struct dmar_drhd_unit *dmaru, bool insert) in dmar_ir_hotplug() argument
1502 struct intel_iommu *iommu = dmaru->iommu; in dmar_ir_hotplug()
1516 ret = dmar_ir_add(dmaru, iommu); in dmar_ir_hotplug()
Diommu.c4493 static int intel_iommu_add(struct dmar_drhd_unit *dmaru) in intel_iommu_add() argument
4496 struct intel_iommu *iommu = dmaru->iommu; in intel_iommu_add()
4534 if (dmaru->ignored) { in intel_iommu_add()
4570 int dmar_iommu_hotplug(struct dmar_drhd_unit *dmaru, bool insert) in dmar_iommu_hotplug() argument
4573 struct intel_iommu *iommu = dmaru->iommu; in dmar_iommu_hotplug()
4581 ret = intel_iommu_add(dmaru); in dmar_iommu_hotplug()