Home
last modified time | relevance | path

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

/linux/drivers/iommu/intel/
H A Ddmar.c296 struct dmar_drhd_unit *dmaru; in dmar_pci_bus_add_dev() local
299 for_each_drhd_unit(dmaru) { in dmar_pci_bus_add_dev()
300 if (dmaru->include_all) in dmar_pci_bus_add_dev()
303 drhd = container_of(dmaru->hdr, in dmar_pci_bus_add_dev()
307 dmaru->segment, in dmar_pci_bus_add_dev()
308 dmaru->devices, dmaru->devices_cnt); in dmar_pci_bus_add_dev()
325 struct dmar_drhd_unit *dmaru; in dmar_pci_bus_del_dev() local
327 for_each_drhd_unit(dmaru) in dmar_pci_bus_del_dev()
328 if (dmar_remove_dev_scope(info, dmaru->segment, in dmar_pci_bus_del_dev()
329 dmaru->devices, dmaru->devices_cnt)) in dmar_pci_bus_del_dev()
[all …]
H A Dirq_remapping.c1532 static int dmar_ir_add(struct dmar_drhd_unit *dmaru, struct intel_iommu *iommu) in dmar_ir_add() argument
1547 if (ir_parse_ioapic_hpet_scope(dmaru->hdr, iommu)) { in dmar_ir_add()
1569 int dmar_ir_hotplug(struct dmar_drhd_unit *dmaru, bool insert) in dmar_ir_hotplug() argument
1572 struct intel_iommu *iommu = dmaru->iommu; in dmar_ir_hotplug()
1586 ret = dmar_ir_add(dmaru, iommu); in dmar_ir_hotplug()
H A Diommu.c2747 static int intel_iommu_add(struct dmar_drhd_unit *dmaru) in intel_iommu_add() argument
2750 struct intel_iommu *iommu = dmaru->iommu; in intel_iommu_add()
2777 if (dmaru->ignored) { in intel_iommu_add()
2813 int dmar_iommu_hotplug(struct dmar_drhd_unit *dmaru, bool insert) in dmar_iommu_hotplug() argument
2816 struct intel_iommu *iommu = dmaru->iommu; in dmar_iommu_hotplug()
2824 ret = intel_iommu_add(dmaru); in dmar_iommu_hotplug()
/linux/include/linux/
H A Ddmar.h146 extern int dmar_iommu_hotplug(struct dmar_drhd_unit *dmaru, bool insert);
163 static inline int dmar_iommu_hotplug(struct dmar_drhd_unit *dmaru, bool insert) in dmar_iommu_hotplug() argument
170 extern int dmar_ir_hotplug(struct dmar_drhd_unit *dmaru, bool insert);
172 static inline int dmar_ir_hotplug(struct dmar_drhd_unit *dmaru, bool insert) in dmar_ir_hotplug() argument