Searched refs:iommu_type (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/vfio/lib/ |
| H A D | vfio_pci_device.c | 333 unsigned long iommu_type = iommu->mode->iommu_type; in vfio_container_set_iommu() local 336 ret = ioctl(iommu->container_fd, VFIO_CHECK_EXTENSION, iommu_type); in vfio_container_set_iommu() 337 VFIO_ASSERT_GT(ret, 0, "VFIO IOMMU type %lu not supported\n", iommu_type); in vfio_container_set_iommu() 344 (void)ioctl(iommu->container_fd, VFIO_SET_IOMMU, (void *)iommu_type); in vfio_container_set_iommu()
|
| H A D | iommu.c | 30 .iommu_type = VFIO_TYPE1_IOMMU, 35 .iommu_type = VFIO_TYPE1v2_IOMMU, 40 .iommu_type = VFIO_TYPE1_IOMMU, 45 .iommu_type = VFIO_TYPE1v2_IOMMU,
|
| /linux/tools/testing/selftests/vfio/lib/include/libvfio/ |
| H A D | iommu.h | 15 unsigned long iommu_type; member
|
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_dma_mapping_test.c | 164 if (self->iommu->mode->iommu_type == VFIO_TYPE1_IOMMU) in TEST_F()
|