Searched refs:VFIO_TYPE1_IOMMU (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | vfio_compat.c | 283 case VFIO_TYPE1_IOMMU: in iommufd_vfio_check_extension() 333 if ((type != VFIO_TYPE1_IOMMU && type != VFIO_TYPE1v2_IOMMU) || in iommufd_vfio_set_iommu() 350 if (type == VFIO_TYPE1_IOMMU) in iommufd_vfio_set_iommu()
|
/openbmc/qemu/hw/vfio/ |
H A D | container.c | 43 case VFIO_TYPE1_IOMMU: in vfio_ram_block_discard_disable() 359 int iommu_types[] = { VFIO_TYPE1v2_IOMMU, VFIO_TYPE1_IOMMU, in vfio_get_iommu_type() 379 case VFIO_TYPE1_IOMMU: in vfio_get_iommu_class_name()
|
/openbmc/qemu/util/ |
H A D | vfio-helpers.c | 321 if (!ioctl(s->container, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU)) { in qemu_vfio_init_pci() 365 if (ioctl(s->container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)) { in qemu_vfio_init_pci()
|
/openbmc/linux/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 1480 EXPECT_ERRNO(ENODEV, ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)); in TEST_F() 1558 .version = VFIO_TYPE1_IOMMU, in FIXTURE_VARIANT_ADD() 1576 if (variant->version == VFIO_TYPE1_IOMMU) { in TEST_F() 1793 if (variant->version == VFIO_TYPE1_IOMMU) { in TEST_F()
|
/openbmc/linux/include/uapi/linux/ |
H A D | vfio.h | 25 #define VFIO_TYPE1_IOMMU 1 macro
|
/openbmc/qemu/linux-headers/linux/ |
H A D | vfio.h | 25 #define VFIO_TYPE1_IOMMU 1 macro
|
/openbmc/linux/Documentation/driver-api/ |
H A D | vfio.rst | 182 if (!ioctl(container, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU)) 198 ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU);
|
/openbmc/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 2555 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_open() 2652 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_check_extension()
|