Lines Matching refs:intel_iommu
521 void (*flush_context)(struct intel_iommu *iommu, u16 did, u16 sid,
523 void (*flush_iotlb)(struct intel_iommu *iommu, u16 did, u64 addr,
575 struct intel_iommu *iommu;
625 struct intel_iommu *iommu;
650 struct intel_iommu { struct
716 struct intel_iommu *iommu; /* IOMMU used by this device */ argument
728 struct intel_iommu *iommu, void *addr, int size) in __iommu_flush_cache()
742 domain_id_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) in domain_id_iommu()
807 int dmar_enable_qi(struct intel_iommu *iommu);
808 void dmar_disable_qi(struct intel_iommu *iommu);
809 int dmar_reenable_qi(struct intel_iommu *iommu);
810 void qi_global_iec(struct intel_iommu *iommu);
812 void qi_flush_context(struct intel_iommu *iommu, u16 did,
814 void qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr,
816 void qi_flush_dev_iotlb(struct intel_iommu *iommu, u16 sid, u16 pfsid,
819 void qi_flush_piotlb(struct intel_iommu *iommu, u16 did, u32 pasid, u64 addr,
822 void qi_flush_dev_iotlb_pasid(struct intel_iommu *iommu, u16 sid, u16 pfsid,
828 void qi_flush_pasid_cache(struct intel_iommu *iommu, u16 did, u64 granu,
831 int qi_submit_sync(struct intel_iommu *iommu, struct qi_desc *desc,
843 void iommu_flush_write_buffer(struct intel_iommu *iommu);
844 struct intel_iommu *device_to_iommu(struct device *dev, u8 *bus, u8 *devfn);
847 void intel_svm_check(struct intel_iommu *iommu);
848 int intel_svm_enable_prq(struct intel_iommu *iommu);
849 int intel_svm_finish_prq(struct intel_iommu *iommu);
860 struct intel_iommu *iommu;
872 static inline void intel_svm_check(struct intel_iommu *iommu) {} in intel_svm_check()
891 struct context_entry *iommu_context_addr(struct intel_iommu *iommu, u8 bus,
898 int iommu_calculate_agaw(struct intel_iommu *iommu);
899 int iommu_calculate_max_sagaw(struct intel_iommu *iommu);
900 int ecmd_submit_sync(struct intel_iommu *iommu, u8 ecmd, u64 oa, u64 ob);
902 static inline bool ecmd_has_pmu_essential(struct intel_iommu *iommu) in ecmd_has_pmu_essential()
911 static inline int iommu_calculate_agaw(struct intel_iommu *iommu) in iommu_calculate_agaw()
915 static inline int iommu_calculate_max_sagaw(struct intel_iommu *iommu) in iommu_calculate_max_sagaw()