Searched refs:IOMMUDevice (Results 1 – 2 of 2) sorted by relevance
36 typedef struct IOMMUDevice { struct46 } IOMMUDevice; argument50 IOMMUDevice *pbdev[]; /* Parent array is sparse, so dynamically alloc */
77 static inline uint16_t virtio_iommu_get_bdf(IOMMUDevice *dev) in virtio_iommu_get_bdf()82 static bool virtio_iommu_device_bypassed(IOMMUDevice *sdev) in virtio_iommu_device_bypassed()111 static bool virtio_iommu_switch_address_space(IOMMUDevice *sdev) in virtio_iommu_switch_address_space()182 IOMMUDevice *dev; in virtio_iommu_mr()306 IOMMUDevice *sdev = container_of(ep->iommu_mr, IOMMUDevice, iommu_mr); in virtio_iommu_detach_endpoint_from_domain()391 static void add_prop_resv_regions(IOMMUDevice *sdev) in add_prop_resv_regions()410 IOMMUDevice *sdev; in virtio_iommu_find_add_as()414 sizeof(IOMMUDevice *) * PCI_DEVFN_MAX); in virtio_iommu_find_add_as()424 sdev = sbus->pbdev[devfn] = g_new0(IOMMUDevice, 1); in virtio_iommu_find_add_as()506 static int rebuild_resv_regions(IOMMUDevice *sdev) in rebuild_resv_regions()[all …]