Searched refs:ioasid_t (Results 1 – 14 of 14) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | ioasid.h | 8 #define INVALID_IOASID ((ioasid_t)-1) 9 typedef unsigned int ioasid_t; typedef 10 typedef ioasid_t (*ioasid_alloc_fn_t)(ioasid_t min, ioasid_t max, void *data); 35 ioasid_t ioasid_alloc(struct ioasid_set *set, ioasid_t min, ioasid_t max, 37 void ioasid_free(ioasid_t ioasid); 42 int ioasid_set_data(ioasid_t ioasid, void *data); 43 static inline bool pasid_valid(ioasid_t ioasid) in pasid_valid() 49 static inline ioasid_t ioasid_alloc(struct ioasid_set *set, ioasid_t min, in ioasid_alloc() 50 ioasid_t max, void *private) in ioasid_alloc() 55 static inline void ioasid_free(ioasid_t ioasid) { } in ioasid_free() [all …]
|
A D | iommu.h | 279 void (*remove_dev_pasid)(struct device *dev, ioasid_t pasid); 322 ioasid_t pasid); 470 struct device *dev, ioasid_t pasid); 720 struct device *dev, ioasid_t pasid); 722 struct device *dev, ioasid_t pasid); 724 iommu_get_domain_for_dev_pasid(struct device *dev, ioasid_t pasid, 1076 struct device *dev, ioasid_t pasid) in iommu_attach_device_pasid() 1082 struct device *dev, ioasid_t pasid) in iommu_detach_device_pasid() 1087 iommu_get_domain_for_dev_pasid(struct device *dev, ioasid_t pasid, in iommu_get_domain_for_dev_pasid()
|
/linux-6.3-rc2/drivers/iommu/ |
A D | ioasid.c | 14 ioasid_t id; 61 static ioasid_t default_alloc(ioasid_t min, ioasid_t max, void *opaque); 62 static void default_free(ioasid_t ioasid, void *opaque); 77 static ioasid_t default_alloc(ioasid_t min, ioasid_t max, void *opaque) in default_alloc() 79 ioasid_t id; in default_alloc() 89 static void default_free(ioasid_t ioasid, void *opaque) in default_free() 268 int ioasid_set_data(ioasid_t ioasid, void *data) in ioasid_set_data() 304 ioasid_t ioasid_alloc(struct ioasid_set *set, ioasid_t min, ioasid_t max, in ioasid_alloc() 309 ioasid_t id; in ioasid_alloc() 352 void ioasid_free(ioasid_t ioasid) in ioasid_free() [all …]
|
A D | iommu-sva.c | 26 int iommu_sva_alloc_pasid(struct mm_struct *mm, ioasid_t min, ioasid_t max) in iommu_sva_alloc_pasid() 29 ioasid_t pasid; in iommu_sva_alloc_pasid() 68 struct mm_struct *iommu_sva_find(ioasid_t pasid) in iommu_sva_find() 94 ioasid_t max_pasids; in iommu_sva_bind_device() 163 ioasid_t pasid = domain->mm->pasid; in iommu_sva_unbind_device()
|
A D | iommu-sva.h | 11 int iommu_sva_alloc_pasid(struct mm_struct *mm, ioasid_t min, ioasid_t max); 12 struct mm_struct *iommu_sva_find(ioasid_t pasid);
|
A D | iommu.c | 3308 struct iommu_group *group, ioasid_t pasid) in __iommu_set_group_pasid() 3323 ioasid_t pasid) in __iommu_remove_group_pasid() 3343 struct device *dev, ioasid_t pasid) in iommu_attach_device_pasid() 3386 ioasid_t pasid) in iommu_detach_device_pasid() 3414 ioasid_t pasid, in iommu_get_domain_for_dev_pasid()
|
/linux-6.3-rc2/drivers/iommu/intel/ |
A D | svm.c | 34 static int pasid_private_add(ioasid_t pasid, void *priv) in pasid_private_add() 40 static void pasid_private_remove(ioasid_t pasid) in pasid_private_remove() 45 static void *pasid_private_find(ioasid_t pasid) in pasid_private_find() 831 void intel_svm_remove_dev_pasid(struct device *dev, ioasid_t pasid) in intel_svm_remove_dev_pasid() 839 struct device *dev, ioasid_t pasid) in intel_svm_set_dev_pasid()
|
A D | iommu.h | 847 void intel_svm_remove_dev_pasid(struct device *dev, ioasid_t pasid); 871 static inline void intel_svm_remove_dev_pasid(struct device *dev, ioasid_t pasid) in intel_svm_remove_dev_pasid()
|
A D | iommu.c | 2801 static ioasid_t intel_vcmd_ioasid_alloc(ioasid_t min, ioasid_t max, void *data) in intel_vcmd_ioasid_alloc() 2804 ioasid_t ioasid; in intel_vcmd_ioasid_alloc() 2822 static void intel_vcmd_ioasid_free(ioasid_t ioasid, void *data) in intel_vcmd_ioasid_free() 4761 static void intel_iommu_remove_dev_pasid(struct device *dev, ioasid_t pasid) in intel_iommu_remove_dev_pasid()
|
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu-v3/ |
A D | arm-smmu-v3-sva.c | 514 struct device *dev, ioasid_t id) in arm_smmu_sva_remove_dev_pasid() 537 struct device *dev, ioasid_t id) in arm_smmu_sva_set_dev_pasid()
|
A D | arm-smmu-v3.h | 760 struct device *dev, ioasid_t id); 801 ioasid_t id) in arm_smmu_sva_remove_dev_pasid()
|
A D | arm-smmu-v3.c | 2835 static void arm_smmu_remove_dev_pasid(struct device *dev, ioasid_t pasid) in arm_smmu_remove_dev_pasid()
|
/linux-6.3-rc2/drivers/dma/idxd/ |
A D | idxd.h | 84 ioasid_t pasid;
|
/linux-6.3-rc2/Documentation/userspace-api/ |
A D | iommu.rst | 209 struct device *dev, ioasid_t ioasid);
|
Completed in 47 milliseconds