Home
last modified time | relevance | path

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

/linux/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.h770 struct iopf_queue *iopf_queue; member
/linux/drivers/iommu/intel/
H A Dprq.c274 iopf_queue_discard_partial(iommu->iopf_queue); in prq_event_thread()
289 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.h718 struct iopf_queue *iopf_queue; member
H A Diommu.c914 iopf_queue_remove_device(info->iommu->iopf_queue, info->dev); in iommu_disable_pci_pri()
3461 ret = iopf_queue_add_device(iommu->iopf_queue, dev); in intel_iommu_enable_iopf()
3482 iopf_queue_remove_device(iommu->iopf_queue, dev); in intel_iommu_disable_iopf()
/linux/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/include/linux/
H A Diommu.h151 struct iopf_queue { struct
822 struct iopf_queue *queue;
1665 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev);
1666 void iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev);
1668 struct iopf_queue *iopf_queue_alloc(const char *name);
1669 void iopf_queue_free(struct iopf_queue *queue);
1670 int iopf_queue_discard_partial(struct iopf_queue *queue);
1677 iopf_queue_add_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_add_device()
1683 iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_remove_device()
1692 static inline struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
[all …]
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.h653 struct iopf_queue *iopf;
/linux/drivers/iommu/iommufd/
H A Dselftest.c570 static struct iopf_queue *mock_iommu_iopf_queue;