Home
last modified time | relevance | path

Searched refs:iopf_queue (Results 1 – 6 of 6) 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.h724 struct iopf_queue *iopf_queue; member
/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;
1650 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev);
1651 void iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev);
1653 struct iopf_queue *iopf_queue_alloc(const char *name);
1654 void iopf_queue_free(struct iopf_queue *queue);
1655 int iopf_queue_discard_partial(struct iopf_queue *queue);
1662 iopf_queue_add_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_add_device()
1668 iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_remove_device()
1677 static inline struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
[all …]
/linux/drivers/iommu/intel/
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()
3464 ret = iopf_queue_add_device(iommu->iopf_queue, dev); in intel_iommu_enable_iopf()
3485 iopf_queue_remove_device(iommu->iopf_queue, dev); in intel_iommu_disable_iopf()