Searched refs:VIRTIO_IOMMU_MAP_F_READ (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | virtio-iommu-test.c | 214 VIRTIO_IOMMU_MAP_F_READ); in test_attach_detach() 217 VIRTIO_IOMMU_MAP_F_READ); in test_attach_detach() 236 ret = send_map(qts, v_iommu, 0, 0, 0xFFF, 0xa1000, VIRTIO_IOMMU_MAP_F_READ); in test_map_unmap() 240 ret = send_map(qts, v_iommu, 1, 0x0, 0xFFF, 0xa1000, VIRTIO_IOMMU_MAP_F_READ); in test_map_unmap() 244 ret = send_map(qts, v_iommu, 1, 0, 0xFFFF, 0xb1000, VIRTIO_IOMMU_MAP_F_READ); in test_map_unmap() 263 ret = send_map(qts, v_iommu, 1, 0, 9, 0xa1000, VIRTIO_IOMMU_MAP_F_READ); in test_map_unmap() 269 ret = send_map(qts, v_iommu, 1, 0, 4, 0xb1000, VIRTIO_IOMMU_MAP_F_READ); in test_map_unmap() 271 ret = send_map(qts, v_iommu, 1, 5, 9, 0xb2000, VIRTIO_IOMMU_MAP_F_READ); in test_map_unmap() 277 ret = send_map(qts, v_iommu, 1, 0, 9, 0xc1000, VIRTIO_IOMMU_MAP_F_READ); in test_map_unmap() 287 ret = send_map(qts, v_iommu, 1, 0, 4, 0xd1000, VIRTIO_IOMMU_MAP_F_READ); in test_map_unmap() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_iommu.h | 91 #define VIRTIO_IOMMU_MAP_F_READ (1 << 0) macro 95 #define VIRTIO_IOMMU_MAP_F_MASK (VIRTIO_IOMMU_MAP_F_READ | \
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_iommu.h | 91 #define VIRTIO_IOMMU_MAP_F_READ (1 << 0) macro 95 #define VIRTIO_IOMMU_MAP_F_MASK (VIRTIO_IOMMU_MAP_F_READ | \
|
/openbmc/linux/drivers/iommu/ |
H A D | virtio-iommu.c | 388 u32 flags = VIRTIO_IOMMU_MAP_F_READ | VIRTIO_IOMMU_MAP_F_WRITE; in viommu_domain_map_identity() 825 flags = (prot & IOMMU_READ ? VIRTIO_IOMMU_MAP_F_READ : 0) | in viommu_map_pages() 1136 viommu->map_flags = VIRTIO_IOMMU_MAP_F_READ | VIRTIO_IOMMU_MAP_F_WRITE; in viommu_probe()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-iommu.c | 241 IOMMUAccessFlags perm = IOMMU_ACCESS_FLAG(flags & VIRTIO_IOMMU_MAP_F_READ, in virtio_iommu_notify_map() 1239 !(mapping_value->flags & VIRTIO_IOMMU_MAP_F_READ); in virtio_iommu_translate()
|