Home
last modified time | relevance | path

Searched refs:iopf_queue (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/iommu/
H A Diommu-sva.h13 struct iopf_queue;
18 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev);
19 int iopf_queue_remove_device(struct iopf_queue *queue,
22 struct iopf_queue *iopf_queue_alloc(const char *name);
23 void iopf_queue_free(struct iopf_queue *queue);
24 int iopf_queue_discard_partial(struct iopf_queue *queue);
34 static inline int iopf_queue_add_device(struct iopf_queue *queue, in iopf_queue_add_device()
40 static inline int iopf_queue_remove_device(struct iopf_queue *queue, in iopf_queue_remove_device()
51 static inline struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
56 static inline void iopf_queue_free(struct iopf_queue *queue) in iopf_queue_free()
[all …]
H A Dio-pgfault.c22 struct iopf_queue { struct
38 struct iopf_queue *queue; argument
261 int iopf_queue_discard_partial(struct iopf_queue *queue) in iopf_queue_discard_partial()
289 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_add_device()
332 int iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_remove_device()
371 struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
373 struct iopf_queue *queue; in iopf_queue_alloc()
405 void iopf_queue_free(struct iopf_queue *queue) in iopf_queue_free()
/openbmc/linux/drivers/iommu/intel/
H A Dsvm.c66 struct iopf_queue *iopfq; in intel_svm_enable_prq()
95 iommu->iopf_queue = iopfq; in intel_svm_enable_prq()
115 iopf_queue_free(iommu->iopf_queue); in intel_svm_enable_prq()
116 iommu->iopf_queue = NULL; in intel_svm_enable_prq()
139 if (iommu->iopf_queue) { in intel_svm_finish_prq()
140 iopf_queue_free(iommu->iopf_queue); in intel_svm_finish_prq()
141 iommu->iopf_queue = NULL; in intel_svm_finish_prq()
736 iopf_queue_discard_partial(iommu->iopf_queue); in prq_event_thread()
H A Diommu.h684 struct iopf_queue *iopf_queue; member
H A Diommu.c4562 ret = iopf_queue_add_device(iommu->iopf_queue, dev); in intel_iommu_enable_iopf()
4580 iopf_queue_remove_device(iommu->iopf_queue, dev); in intel_iommu_enable_iopf()
4610 WARN_ON(iopf_queue_remove_device(iommu->iopf_queue, dev)); in intel_iommu_disable_iopf()
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.h562 struct iopf_queue *iopf;