Home
last modified time | relevance | path

Searched refs:VFIO_TYPE1_IOMMU (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/iommu/iommufd/
H A Dvfio_compat.c283 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 Dcontainer.c43 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 Dvfio-helpers.c321 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 Diommufd.c1480 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 Dvfio.h25 #define VFIO_TYPE1_IOMMU 1 macro
/openbmc/qemu/linux-headers/linux/
H A Dvfio.h25 #define VFIO_TYPE1_IOMMU 1 macro
/openbmc/linux/Documentation/driver-api/
H A Dvfio.rst182 if (!ioctl(container, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU))
198 ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU);
/openbmc/linux/drivers/vfio/
H A Dvfio_iommu_type1.c2555 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_open()
2652 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_check_extension()