Searched refs:device_iommu_capable (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/iommu/iommufd/ |
| H A D | device.c | 236 if (!device_iommu_capable(dev, IOMMU_CAP_CACHE_COHERENCY)) in iommufd_bind_iommu() 270 device_iommu_capable(dev, IOMMU_CAP_ENFORCE_CACHE_COHERENCY); in iommufd_bind_iommu() 1706 if (device_iommu_capable(idev->dev, IOMMU_CAP_DIRTY_TRACKING)) in iommufd_get_hw_info() 1710 if (!device_iommu_capable(idev->dev, IOMMU_CAP_PCI_ATS_SUPPORTED)) in iommufd_get_hw_info()
|
| /linux/include/linux/ |
| H A D | iommu.h | 932 extern bool device_iommu_capable(struct device *dev, enum iommu_cap cap); 1239 static inline bool device_iommu_capable(struct device *dev, enum iommu_cap cap) in device_iommu_capable() function
|
| /linux/drivers/vfio/ |
| H A D | vfio_main.c | 381 !device_iommu_capable(device->dev, IOMMU_CAP_CACHE_COHERENCY)) { in __vfio_register_dev() 1540 return device_iommu_capable(device->dev, in vfio_file_enforced_coherent()
|
| /linux/drivers/vhost/ |
| H A D | vdpa.c | 1345 if (!device_iommu_capable(dma_dev, IOMMU_CAP_CACHE_COHERENCY)) { in vhost_vdpa_alloc_domain()
|
| /linux/drivers/iommu/ |
| H A D | dma-iommu.c | 658 return device_iommu_capable(dev, IOMMU_CAP_DEFERRED_FLUSH); in iommu_domain_supports_fq()
|