Lines Matching refs:intel_iommu

464 	void (*flush_context)(struct intel_iommu *iommu, u16 did, u16 sid,
466 void (*flush_iotlb)(struct intel_iommu *iommu, u16 did, u64 addr,
578 struct intel_iommu { struct
654 struct intel_iommu *iommu; /* IOMMU used by this device */
660 struct intel_iommu *iommu, void *addr, int size) in __iommu_flush_cache()
719 extern int dmar_enable_qi(struct intel_iommu *iommu);
720 extern void dmar_disable_qi(struct intel_iommu *iommu);
721 extern int dmar_reenable_qi(struct intel_iommu *iommu);
722 extern void qi_global_iec(struct intel_iommu *iommu);
724 extern void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid,
726 extern void qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr,
728 extern void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 pfsid,
731 void qi_flush_piotlb(struct intel_iommu *iommu, u16 did, u32 pasid, u64 addr,
734 void qi_flush_dev_iotlb_pasid(struct intel_iommu *iommu, u16 sid, u16 pfsid,
737 void qi_flush_pasid_cache(struct intel_iommu *iommu, u16 did, u64 granu,
740 int qi_submit_sync(struct intel_iommu *iommu, struct qi_desc *desc,
752 struct intel_iommu *domain_get_iommu(struct dmar_domain *domain);
755 void iommu_flush_write_buffer(struct intel_iommu *iommu);
756 int intel_iommu_enable_pasid(struct intel_iommu *iommu, struct device *dev);
759 struct intel_iommu *device_to_iommu(struct device *dev, u8 *bus, u8 *devfn);
762 extern void intel_svm_check(struct intel_iommu *iommu);
763 extern int intel_svm_enable_prq(struct intel_iommu *iommu);
764 extern int intel_svm_finish_prq(struct intel_iommu *iommu);
779 struct intel_iommu *iommu;
799 static inline void intel_svm_check(struct intel_iommu *iommu) {} in intel_svm_check()
810 struct context_entry *iommu_context_addr(struct intel_iommu *iommu, u8 bus,
814 extern int iommu_calculate_agaw(struct intel_iommu *iommu);
815 extern int iommu_calculate_max_sagaw(struct intel_iommu *iommu);
820 static inline int iommu_calculate_agaw(struct intel_iommu *iommu) in iommu_calculate_agaw()
824 static inline int iommu_calculate_max_sagaw(struct intel_iommu *iommu) in iommu_calculate_max_sagaw()