Home
last modified time | relevance | path

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

/linux-6.15/drivers/iommu/amd/
H A Dppr.c222 if (iommu->iopf_queue) in amd_iommu_iopf_init()
228 iommu->iopf_queue = iopf_queue_alloc(iommu->iopfq_name); in amd_iommu_iopf_init()
229 if (!iommu->iopf_queue) in amd_iommu_iopf_init()
238 iopf_queue_free(iommu->iopf_queue); in amd_iommu_iopf_uninit()
239 iommu->iopf_queue = NULL; in amd_iommu_iopf_uninit()
256 if (!iommu->iopf_queue) in amd_iommu_iopf_add_device()
259 ret = iopf_queue_add_device(iommu->iopf_queue, dev_data->dev); in amd_iommu_iopf_add_device()
271 iopf_queue_remove_device(iommu->iopf_queue, dev_data->dev); in amd_iommu_iopf_remove_device()
H A Damd_iommu_types.h802 struct iopf_queue *iopf_queue; member
/linux-6.15/drivers/iommu/intel/
H A Dprq.c275 iopf_queue_discard_partial(iommu->iopf_queue); in prq_event_thread()
290 struct iopf_queue *iopfq; in intel_iommu_enable_prq()
317 iommu->iopf_queue = iopfq; in intel_iommu_enable_prq()
337 iopf_queue_free(iommu->iopf_queue); in intel_iommu_enable_prq()
338 iommu->iopf_queue = NULL; in intel_iommu_enable_prq()
361 if (iommu->iopf_queue) { in intel_iommu_finish_prq()
362 iopf_queue_free(iommu->iopf_queue); in intel_iommu_finish_prq()
363 iommu->iopf_queue = NULL; in intel_iommu_finish_prq()
H A Diommu.h736 struct iopf_queue *iopf_queue; member
H A Diommu.c1225 iopf_queue_remove_device(info->iommu->iopf_queue, info->dev); in iommu_disable_pci_pri()
3926 ret = iopf_queue_add_device(iommu->iopf_queue, dev); in intel_iommu_enable_iopf()
3946 iopf_queue_remove_device(iommu->iopf_queue, dev); in intel_iommu_disable_iopf()
/linux-6.15/drivers/iommu/
H A Dio-pgfault.c355 int iopf_queue_discard_partial(struct iopf_queue *queue) in iopf_queue_discard_partial()
385 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_add_device()
450 void iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_remove_device()
502 struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
504 struct iopf_queue *queue; in iopf_queue_alloc()
536 void iopf_queue_free(struct iopf_queue *queue) in iopf_queue_free()
/linux-6.15/include/linux/
H A Diommu.h150 struct iopf_queue { struct
781 struct iopf_queue *queue;
1616 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev);
1619 struct iopf_queue *iopf_queue_alloc(const char *name);
1620 void iopf_queue_free(struct iopf_queue *queue);
1621 int iopf_queue_discard_partial(struct iopf_queue *queue);
1628 iopf_queue_add_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_add_device()
1634 iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_remove_device()
1643 static inline struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
1648 static inline void iopf_queue_free(struct iopf_queue *queue) in iopf_queue_free()
[all …]
/linux-6.15/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.h652 struct iopf_queue *iopf;
/linux-6.15/drivers/iommu/iommufd/
H A Dselftest.c593 static struct iopf_queue *mock_iommu_iopf_queue;