Searched refs:viommu (Results 1 – 2 of 2) sorted by relevance
64 struct viommu_dev *viommu; member78 struct viommu_dev *viommu; member136 static off_t viommu_get_write_desc_offset(struct viommu_dev *viommu, in viommu_get_write_desc_offset() argument143 return len - viommu->probe_size - tail_size; in viommu_get_write_desc_offset()154 static int __viommu_sync_req(struct viommu_dev *viommu) in __viommu_sync_req() argument159 struct virtqueue *vq = viommu->vqs[VIOMMU_REQUEST_VQ]; in __viommu_sync_req()161 assert_spin_locked(&viommu->request_lock); in __viommu_sync_req()165 while (!list_empty(&viommu->requests)) { in __viommu_sync_req()187 static int viommu_sync_req(struct viommu_dev *viommu) in viommu_sync_req() argument192 spin_lock_irqsave(&viommu->request_lock, flags); in viommu_sync_req()[all …]
48 struct viot_iommu *viommu; member77 static int __init viot_get_pci_iommu_fwnode(struct viot_iommu *viommu, in viot_get_pci_iommu_fwnode() argument103 viommu->fwnode = dev_fwnode(&pdev->dev); in viot_get_pci_iommu_fwnode()108 static int __init viot_get_mmio_iommu_fwnode(struct viot_iommu *viommu, in viot_get_mmio_iommu_fwnode() argument123 viommu->fwnode = &adev->fwnode; in viot_get_mmio_iommu_fwnode()130 struct viot_iommu *viommu; in viot_get_iommu() local138 list_for_each_entry(viommu, &viot_iommus, list) in viot_get_iommu()139 if (viommu->offset == offset) in viot_get_iommu()140 return viommu; in viot_get_iommu()145 viommu = kzalloc(sizeof(*viommu), GFP_KERNEL); in viot_get_iommu()[all …]