Lines Matching refs:intel_iommu
522 void (*flush_context)(struct intel_iommu *iommu, u16 did, u16 sid,
524 void (*flush_iotlb)(struct intel_iommu *iommu, u16 did, u64 addr,
580 struct intel_iommu *iommu;
685 struct intel_iommu *iommu;
708 struct intel_iommu { struct
781 struct intel_iommu *iommu; /* IOMMU used by this device */ argument
801 struct intel_iommu *iommu, void *addr, int size) in __iommu_flush_cache()
815 domain_id_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) in domain_id_iommu()
1009 static inline bool context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) in context_copied()
1018 set_context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) in set_context_copied()
1024 clear_context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) in clear_context_copied()
1081 static inline void qi_desc_iotlb(struct intel_iommu *iommu, u16 did, u64 addr, in qi_desc_iotlb()
1195 int dmar_enable_qi(struct intel_iommu *iommu);
1196 void dmar_disable_qi(struct intel_iommu *iommu);
1197 int dmar_reenable_qi(struct intel_iommu *iommu);
1198 void qi_global_iec(struct intel_iommu *iommu);
1200 void qi_flush_context(struct intel_iommu *iommu, u16 did,
1202 void qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr,
1204 void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 pfsid,
1207 void qi_flush_piotlb(struct intel_iommu *iommu, u16 did, u32 pasid, u64 addr,
1210 void qi_flush_dev_iotlb_pasid(struct intel_iommu *iommu, u16 sid, u16 pfsid,
1216 void qi_flush_pasid_cache(struct intel_iommu *iommu, u16 did, u64 granu,
1219 int qi_submit_sync(struct intel_iommu *iommu, struct qi_desc *desc,
1222 void __iommu_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr,
1230 int domain_attach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu);
1231 void domain_detach_iommu(struct dmar_domain *domain, struct intel_iommu *iommu);
1239 void iommu_flush_write_buffer(struct intel_iommu *iommu);
1242 struct device *device_rbtree_find(struct intel_iommu *iommu, u16 rid);
1254 struct intel_iommu *iommu;
1282 void intel_svm_check(struct intel_iommu *iommu);
1283 int intel_svm_enable_prq(struct intel_iommu *iommu);
1284 int intel_svm_finish_prq(struct intel_iommu *iommu);
1291 static inline void intel_svm_check(struct intel_iommu *iommu) {} in intel_svm_check()
1315 struct context_entry *iommu_context_addr(struct intel_iommu *iommu, u8 bus,
1322 int iommu_calculate_agaw(struct intel_iommu *iommu);
1323 int iommu_calculate_max_sagaw(struct intel_iommu *iommu);
1324 int ecmd_submit_sync(struct intel_iommu *iommu, u8 ecmd, u64 oa, u64 ob);
1326 static inline bool ecmd_has_pmu_essential(struct intel_iommu *iommu) in ecmd_has_pmu_essential()
1335 static inline int iommu_calculate_agaw(struct intel_iommu *iommu) in iommu_calculate_agaw()
1339 static inline int iommu_calculate_max_sagaw(struct intel_iommu *iommu) in iommu_calculate_max_sagaw()